Weeknotes 2022 W12:
Flour shortage

March 21​–​27, 2022
← previous weeknotes
next weeknotes →

I made two loaves of bread this week, one for me and one for Esther. I like how I’m continuously improving, and I’m thankful to the YouTube guides and the #bread channel at work!

There’s a wheat supply problem. People in Germany are panic-buying flour, which I believe is because Ukraine and Russia together supply 25–30% of the world’s wheat. As a result, it’s been weeks since I found the kind of wheat flour I use (German type 550) in supermarkets in Berlin. Lately, the supermarkets here — I checked multiple — are entirely out of all types of flour. The shelves are empty.

Fortunately, I managed to snatch 3kg off Amazon Fresh, so I guess I have now joined the group of people who are panic buying.

I’ve finally started making illustrations for the article on implementing equality in Ruby — an article on which I’ve now been working for months. Creating illustrations is a healthy challenge, from becoming proficient with Affinity Designer to figuring out how to embed the SVG figures in HTML.

I’m happy with what I’ve achieved so far. The fonts and colors of these figures are controlled by the CSS stylesheet, which means the colors are an exact match, and the figures adapt nicely to dark mode, too. It’s rather fancy!

I’ve become better at writing, though I still have a lot of room to grow when it comes to visually illustrating ideas.

I wrote an article! Using a modal lexer for parsing sub-languages. If you’ve ever wondered how to write a lexer for interpolated strings and nested comments, this article is for you.

It’s interesting that I initially considered this article as rather short, despite the reading time estimate being over 20 minutes. The article on equality (which is still work in progress) has a reading time estimate of close to 45 minutes — by far the longest one yet.

I rewrote the lexer of my implementation of Lox (the language from Crafting Interpreters) with this technique, and it’s a lot shorter, too.

I saw that GitHub’s documentation is no longer powered by Nanoc. Aww. It had a good run, but now it’s powered by Node.js, which is probably the right choice for a long-lived project.

Node.js did not exist when Nanoc came out. Heck, when I created Nanoc, Ruby was absolutely winning as the web development platform. Times sure have changed.

I’m still using Nanoc and I don’t see myself switching to anything else anytime soon. It’s still the best at what it does. You’ll not be able to convince me otherwise.

My gaming PC is due for an upgrade. Last year, I upgraded the graphics card (thanks Tiago), which was a huge improvement. Still, recent games don’t run well (20–30fps), and turning the graphics quality down doesn’t help. The graphics card is not the bottleneck anymore!

I’ve identified three parts that probably need upgrading:

I’d also like to replace my hard drive from 2017, as it seems to be unable to keep up with my network download speed. A 1 TB SSD should speed up my gaming PC as well; the PC has a bit of a problem with textures loading in very slowly.

Speaking of entertainment:

Here are some links to noteworthy articles and videos:

There is no shortage of material on the topic of blockchains: