You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.
iMessage, explained: When you learn what com.apple.madrid does on your machine, and all the other goodies Apple put into their APNs.
A good explanation of how Shazam work in practice, and an implementation in Python.
A Very Subtle Bug, or how to re-enable SIGPIPE in the subprocess child. #python
My general advice for maximizing the battery is only use your battery as much as you need, i.e. charge it as often as possible, and as little as possible. If you need a rule of thumb, stay within 30%-80%. Wouldn’t charging a lithium battery to 80% only defeat the purpose of putting the battery into longer use in the first place?
Poor man “fd(find)” command:
#!/bin/sh
find . -iname "*$1*" 2>/dev/null
♪ New Order · Sub-Culture
TIL that Spotify originally relied on Fisher-Yates algorithm to shuffle their playlists.
A computer game taking the shape of instant messaging software. The inherently paradoxical goal of the game requires no small amount of strategy, wit and cunning: The main objective is gaining as large a following of people as possible while simultaneously getting as many people as possible banned from the game. — Explaining the Internet in 2020
Environment variables for Wayland hackers.
Note to myself:
$MOZ_ENABLE_WAYLAND
Enables Wayland for Mozilla products (notably Firefox) if set to 1. Firefox uses GTK so setting GTK_BACKEND=wayland will force it to run on Wayland regardless of if MOZ_ENABLE_WAYLAND. However, it will default to X on GDK_BACKEND=wayland,x11 unless MOZ_ENABLE_WAYLAND=1 is set.