Weeknotes 2024 W08: Back in Berlin

February 19​–​25, 2024
1200 words

Quick bits:


I am back from my trip to London. A few random thoughts:


Coming back from London to Berlin, one thing that stood out as a difference is the quality in signage in public transit stations. London is so much better at this.

I’ve lived in Berlin for more than a decade, and I still get lost at Hauptbahnhof and Alexanderplatz.

The signage in London is better, in part because there is more of it, but also because it distinguishes between north/southbound and east/westbound: knowing the general direction is, in my opinion, much more useful than knowing the destination.

At least the Berlin U-Bahn has dark mode for its screens now. That’s fancy.


My tired brain is weird:

Kiddie brain.


I gave parallelizing Nanoc some more thought. I’d love to make it use multiple cores/CPUs, as doing so would give a nice speed boost, but alas, the options in Ruby are quite limited.

Ruby has a global VM lock (“GVL”) which prevents multiple threads from running in parallel. You can get some benefit of using more than one thread for IO-bound operations, but Nanoc is quite CPU-bound.

I looked into using Ractor for the first time, but alas — it is still experimental. Running any Ractor code prints the following warning:

Ractor is experimental, and the behavior may change in future versions of Ruby!
Also there are many implementation issues.

Koichi Sasada ’s “Ractor reconsidered” talk at RubyKaigi 2023goes into more detail about the current Ractor implementation, but it seems like it might take a while before it is ready to be usable in Nanoc. That is unfortunate.

An alternative would be to use JRuby, which does not have a GVL, but JRuby isn’t great for short-running processes like Nanoc, and it doesn’t solve the problem for the primary Ruby implementation (CRuby).

Blah. I guess parallelizing Nanoc is still a long way away.


I set up sponsorship on the Nanoc repository on GitHub. It looks like this now:

For a long time, I felt unsure about opening up sponsorship/donations, because I (usually) have a well-paying job already. But you know what? I have worked a lot on Nanoc, and it is absolutely fine to open up ways to financial support the project.

So yeah, you can leave me a tip on Ko-fi!


Entertainment:


Links:

Tech links:


  1. Departure, Initiation, and Return are also the titles of the manuscripts in Alan Wake and its sequel. ↩︎

  2. Poor Things, directed by Yorgos Lanthimos, written by Tony McNamara and Alasdair Gray (Element Pictures, Film4, Fruit Tree, 2024). ↩︎

  3. The Lobster, directed by Yorgos Lanthimos, written by Yorgos Lanthimos and Efthimis Filippou (Film4, Bord Scannán na hÉireann / The Irish Film Board, Eurimages, 2015). ↩︎

  4. Stephen King, Doctor Sleep (New York: Scribner, 2013). ↩︎

  5. Baldur’s Gate 3 (Larian Studios, 2023), published by Larian Studios. ↩︎

You can reply to this weeknotes entry by email. I’d love to hear your thoughts!
If you like what I write, stick your email address below and subscribe. I send out my weeknotes every Sunday morning. Alternatively, you can subscribe to the web feed.