Skip to content

Instantly share code, notes, and snippets.

@ryan-williams
ryan-williams / parquet2json-install-error.md
Created October 22, 2023 19:33
`cargo install parquet2json` error

From jupiter/parquet2json#19:

  Installing parquet2json v2.0.2 (/home/ubuntu/c/parquet2json)
    Updating crates.io index
   Compiling libc v0.2.149
   Compiling proc-macro2 v1.0.69
   Compiling unicode-ident v1.0.12
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling version_check v0.9.4
@ryan-williams
ryan-williams / office-supplies.md
Last active January 23, 2022 18:04
Desk/office/computer equipment I like+use

Some desk/office/computer equipment I like:

Basic laptop + large external monitor setup

@ryan-williams
ryan-williams / brompton-nitto-rack-install.md
Last active September 30, 2021 16:10
Brompton Electric / Nitto rack install

I hit some issues installing a Nitto BM-5R rack (1, 2) on my Brompton Electric:

Brompton Nitto rack partial install

Having fastened 3 of the 4 rack/stay mount points (as well as 2 stay-frame points and the rack/fender/frame and rack/fender points), the 4th rack/stay mount is misaligned beyond my ability to force it into place.

I'm not sure if I've installed it incorrectly, or what. The light cable is also ≈½" too short to reach the light-mount points on the back of the rack.

Here are some close-ups:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ryan-williams
ryan-williams / chain-example.ipynb
Last active March 30, 2020 04:55
A couple example notebooks associated with https://github.com/dask/dask/pull/6038 (`to_sql` support for Dask DataFrames)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ryan-williams
ryan-williams / monad-monoid.md
Last active March 14, 2020 19:51
Attempt to articulate an intuitive understanding about why "a monad is a monoid in the category of endofunctors"™️

a monad is just a monoid in the category of endofunctors

Monoid

A monoid has two components:

id (or empty)

"make an instance from nothing"

  • 0 (Unit => Int)
  • "" (Unit => String)
  • Nil (Unit => List[_])