Tip: quicker cable recognition
If you have various nests of cables around the place you’re not unusual (USB anyone?). Organising your cable types, and keeping them organised, feels like a classic Sisyphean task.
One way to make things easier is to make your most important cables easier to recognise. Here’s a handy system I use.
Interview home coding tasks: my policy
In recent years there seems to have been a shift in interviews: less pairing exercises and more home coding tasks / projects.
After recent experience of home coding projects pre-interview, I’ve set a policy for my engagement in these tasks. I’m detailing it below, partly to avoid repeating myself to recruiters. Further down I give some reasons and discussion.
Functional Swift: Currying
Currying. It’s one of the stalwarts of functional programming.
Is Currying something you need to know about to be a developer?
Nope.
Is it handy to know about?
Yes. Think of it as a pattern for your toolbox. It can allow some elegant solutions and less code.
Is it weird and esoteric?
No; there’s a certain ‘shape’ to currying code but once you recognise it, there’s no mystery.
How’s your greenfield project game?
Here’s something a lot of devs would like to hear:
I’d say that anyone at senior level (and definitely above1) should have some justified2 thoughts on the greenfield question:
jdupes: file de-duplication tool
This simple guide to jdupes is split into traffic light sections 🚦 based on the danger of the commands.
If you want some file de-duplication test data, there’s a simple repo at https://github.com/alexhunsley/file-duplication-test-data.
Orthogonal flight path intersection: my own solution
After seeing my post on ChatGPT dazzle, a friend asked what the code for that exact problem would look like if I rewrote it in a better way.
I did criticise the original code, so it’s fair that I should show my own version.
Beware of ChatGPT dazzle
I’ve long known about the power of computer visualisation to dazzle and distract, to give cover to bad or poorly supported ideas. The case study I saw at university was about a famous computer animation of the single-bullet theory in the JFK assassination.
This general idea of dazzle pops up in different contexts over the years. Most recently we can see ChatGPT and other AI tools being used in some very low-effort dazzle attempts.
Here’s a recent example in a post from Twitter:
How this site is built and published
Meta-content time!
As the site develops, this post will be updated.
Artisan bread and pizza iOS app: details
I’m a big fan of Flour Water Salt Yeast, Ken Forkish’s epic book on fancy bread1.
Hence I’m writing a recipe app for fancy artisanal bread and pizza. For these loaves the ingredient calculations go a bit beyond bog standard bread2.
The Lost Clock Emporium: details
Here’s a few details about the weird clocks in the previous post The Lost Clock Emporium.
The clocks are all regular analogue clocks (rotation aside), with the exception of Hades’ Timepiece, which has numbers and hands going counter-clockwise (so a mirror image of a normal clock).
The entire clocks are rotating clockwise at these rates (per day):