13,000 regular expressions seems like a great solution to this particular problem - how the Guardian built an automated style guide checker

Adventures in code: PHP unit testing

If you want to make a PHP package available that works on versions of PHP from 5.3 to 8.0, testing is a giant pain. There are versions of phpunit that work for each, but none that works for all. Additionally, the basic class names changed at some point in the past. Getting all of this to run on Travis, including running code coverage (but only once for each build!) was a complex series of trials, but I finally figured out the correct .travis.yml incantation, along with a magic test wrapper for aliasing classes

A blast from the past - Achievement Unlocked is a fun parody of achievements in modern games. The link for hints is broken, but the solutions can still be found here

I've updated my 2020 reading list. In contrast to 2019, where I finished 116 books, I only completed 72 in 2020. This is largely due to the pandemic, no longer having a daily commute, but also not traveling around the world.

My favorites of the year:

  • Agency - Drones, Book 3, by William Gibson - Excellent finale to his latest trilogy and set in San Francisco.
    • Edit: Simon Wistow points out that it's really book 2, and that Archangel is 'book 1.5'. A third book might still happen
  • Billion Dollar Whale, by Bradley Hope - Incredible story of the man who stole billions of dollars from the Malaysian government and has evaded justice

I created a couple of google maps helpers when I was working on personal projects a few years ago, but this tutorial on adding custom tooltips to overlay shapes was super useful.

I can't remember who linked me to blocks, but it's pretty fun. The sound effects are... something else. Unfortunately it seems to sometimes lose your progress.

The finger

Bert was getting tired of tapping his yubikey, so rigged up a system to do it for him:

I showed this to someone and they said, “So.. you built a button that you press that will press a button? Why not just press the button?” which was a bit infuriating because they clearly missed the whole point. “Don’t you get it? This button BAD, but this button GOOD. Me want to press GOOD button.”

This is a really fun write up of what you can do with someone's airline boarding card information, and a long journey to ensure responsible disclosure.

A few months after I imported the crazy Japanese toaster, the Balmuda finally went on sale on the US. I've only tried the Mitsubishi TO-ST1-T, but I can definitely confirm it makes some amazing toast.

If you're missing the soothing sounds of being in an office with coworkers, sound of colleagues is a good fill-in

« Newer posts | Older posts »

About

This is the personal website of Cal Henderson, Slack co-founder & CTO.

I give occasional talks, write code and sometimes articles.

» About Cal

Archives

2021: Jan Feb Mar Apr May Jun
2020: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2019: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2018: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2017: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2016: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2015: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2014: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2013: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2012: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2011: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2010: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2009: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2008: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2007: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2006: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2005: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2004: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2003: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2002: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2001: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2000: Jun Jul Aug Sep Oct Nov Dec

Recent Tags

aws books charts code development drivers evil food games google javascript js lego methodologies mysql php programming s1300 scanners snapscan software toys underground windows

Popular Tags

apple awesome bacon code coding comics design flickr food games javascript lego maps movie music perl php programming software tech tv video visualization web