Skip to content

Instantly share code, notes, and snippets.

View ryan-williams's full-sized avatar
🚆

Ryan Williams ryan-williams

🚆
View GitHub Profile
@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:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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[_])
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.