Weeknotes 31
30th January, 2022
“Super Fly culture”
-
In last week’s weeknote entry I had some code examples with long lines, so I needed to make them more legible. Some
overflow: hidden
and a bit of padding did the job, but whilst in a CSS mood I had a think about quotations, and specifically<blockquote>
. “Can I add quotation marks automatically?”, I thought.The venerable CSS Tricks comes to the rescue, as usual. And, yes. Yes you can. In Safari you can even have fancy hanging quotes with the
hanging-punctuation
property. -
I upgraded an Elixir Phoenix app to 1.6 this week. No matter the language, or framework, dependencies are always a problem. And this was no different. After following the upgrade guide and failing, I decided to generate a new fresh app and compare the
mix.exs
of old and new. That got me moving in the end, and the rest was a simple undertaking. -
Continuing my interest in the work of Patrick Radden Keefe led me to the Wind of Change podcast series, which I’ve now finished. It was a fun ride. Recommended.
-
🚨 GITHUB TIP! 🚨 When putting a GitHub PR together I usually pre-review it myself adding notes for reviewers and explaining decisions which couldn’t be expressed in the code itself. If the PR is long I tend to use the “Viewed” checkbox in the GitHub interface to methodically go through each file. It helps me keep track.
That’s all well and good until you want to see contents of all the files again. Unchecking the “Viewed” checkbox next to each file is not a fun experience.
Well, turns out if you alt + click on the downwards facing chevron next to each file it OPENS ALL THE FILES IN ONE GO! I’m would never have found this out if it weren’t for this issue.
-
Everyone should get CleanShot X. What. A. Great. App. The ability to take a screenshot, easily annotate it, and share, cannot be overstated.
-
Fly’s “Docker without Docker” blog post is a very interesting read about how their “Docker” architecture works. TLDR; they don’t run your Docker image, they transmogrify it into a Firecracker VM which runs natively.
This made me laugh:
You’re likely of one of two mindsets about this: (1) that it’s extremely Unixy and thus excellent, or (2) that it’s extremely Unixy and thus horrifying.
-
I’ve been enjoying the My Year in Mensa by podcast series by Jamie Loftus.