New
The latest blog posts to take off on Hacker News. 49,258 posts.
Learning Rust via Advent of Code
How I used Advent of Code to learn about the programming language Rust.
Browser diversity starts with us
Developers, designers, and strategists, here’s something you can do for the health of the web:
The Art of PNG Glitch (2015)
A documentation for all about glitching PNG.
Bye, Bye, Google
I spent this past weekend de-Google-ifying my life and, despite my expectations, it wasn't too hard to do.
Making SetInterval Declarative with React Hooks
How I learned to stop worrying and love refs.
Event Sourcing is Hard
Despite it being sold as the one true path, event sourcing comes with some pain points when you try to put its ideas into production.
The Over-Engaged Knowledge Worker
I recently listened to a discussion of knowledge work in the browser. Along the way people imagined idealized workflows and the tools that could enable them. This result felt familiar from concept videos since forever (such as this old Mozilla concept video ):
Obfuscated JavaScript, scam emails, and American Express
Reverse-engineering an obfuscated American Express phishing campaign from email to exfiltration endpoint.
Everything You Never Wanted to Know About CMake
Just hearing the word CMake is typically enough to make a shiver run down my spine. I’ve been deep in the muck of its behavior and tooling the last few weeks as I finish up a CMake library titled IXM. While the various minutiae of how IXM works, why I wrote it, and all the nice little usage details are definitely for…
Debugging Emacs, or How I Learned to Stop Worrying and Love DTrace (2018)
For some time Elfeed was experiencing a strange, spurious failure. Every so often users were seeing an error (spoiler warning) when updating feeds: “error in process sentinel: Search failed.” If you use Elfeed, you might have even seen this yourself. From the surface it appeared that curl, tasked with the…
The Soviet license plate game and Kolmogorov complexity
Physicist Lev Landau used to play a mental game with Soviet license plates [1]. The plates had the form of two digits, a dash, two more digits, and some letters. Rules of the game His game was to apply high school math operators to the numbers on both side of the dash so that the
React as a UI Runtime
An in-depth description of the React programming model.
Dotfile madness
My own home directory contains 25 ordinary files and 144 hidden files. The dotfiles contain data that doesn't belong to me: it belongs to the programmers whose programs decided to hijack the primary location designed as a storage for my personal files. I can't place those dotfiles anywhere else and they will appear…
Cargo's next few years
The Cargo team have been thinking about and discussing long-term plans for Cargo. In this post I'll talk about what we hope Cargo will look like around the time of the next edition (assuming there is another edition and that it happens in about three years, neither of which is
Tiny PWAs and why I keep building them
The search for useful tiny apps is hard, but progressive web apps and the growing api surface on the web platform are starting to fill the gap.
Full-system dynamic tracing on Linux using eBPF and bpftrace
How do you debug an application, library or an entire system with multiple processes? One answer: tracing. An introduction into bpftrace, and an overview of the Linux tracing ecosystem (DTrace, eBPF, uprobes, etc).
Aztec Political Thought (2013)
(A footnote on Inga Clendinnen’s extraordinary “ Aztecs: An Interpretation .” If there’s a better book on the Aztecs than this, I want to r...
Google Play Store Now Open for Progressive Web Apps
Chrome 72 for Android shipped the long-awaited Trusted Web Activity feature, which means we can now distribute PWAs in the Google Play…
Life Off the Grid, Part 2: Playing Ultima Underworld
I rarely play or even see current games; the demands of this historical project of mine simply don’t allow for it. Thankfully, though, being a virtual time traveler does have its advantages. Just when I’m starting to feel a little sorry for myself, having heard about some cool new release I just don’t have time for, I…
Einsum Is All You Need – Einstein Summation in Deep Learning (2018)
Tim Rocktäschel — Co-Founder and Chief Scientist of Recursive; Professor of AI at UCL. Artificial General Intelligence, Open-Endedness, and Recursive Self-Improvement.
Forget privacy: you're terrible at targeting anyway
I don't mind letting your programs see my private data as long as I get something useful in exchange. But that's not what happens. A forme...