TIL

Dec
07
Ruby Matrix

Ruby Matrix

Using the Matrix class in place of 2d arrays
1 min read
Dec
05
TSort: Ruby's built-in topological sort algorithm

TSort: Ruby's built-in topological sort algorithm

Sorting directed graphs
1 min read
Jul
26
Non-Blocking Methods Ruby

Non-Blocking Methods Ruby

Writing Ruby methods that return immediately on blocking operations
3 min read
Mar
06
Ruby, Async and HTTP

Ruby, Async and HTTP

Using async-http with HTTP/2
1 min read
Dec
08
Ruby's Anonymous Parameter Forwarding

Ruby's Anonymous Parameter Forwarding

Summarising argument forwarding
2 min read
Jun
12
Fully loaded features: Ruby knows the files it has required

Fully loaded features: Ruby knows the files it has required

I keep stumbling on Ruby globals, there's one that remembers which files have been required
1 min read
May
18
Ruby Globals that are not Global

Ruby Globals that are not Global

Not all $-variables are globals in Ruby
1 min read
Apr
25
TIL: Private Ruby Constants

TIL: Private Ruby Constants

Ruby's private constants
1 min read
Nov
22
TIL: Ruby slice_when

TIL: Ruby slice_when

Slicing arrays cleverly
Nov
07
TIL: English Ruby

TIL: English Ruby

Banishing cryptic constant names