What is a control system anyway?
Hopefully some signal in the noise.
Hopefully some signal in the noise.
This is a follow-up to Allan Odgaard's excellent article macOS 10.15: Slow by Design . I want to talk specifically about the first section "Spawning a new Process", because there has been widespread misunderstanding of this. Odgaard provides a simple test to show that the first run of an executable is delayed while…
Stories about my nerd projects
Executables have been fascinating to me ever since I discovered, as a kid, that they were just files. If you renamed a .exe to something else, you could open it in notepad! And if you renamed somet...
TL;DR Awk crunches massive data; a High Performance Computing (HPC) script calls hundreds of Awk concurrently. Fast and scalable in-memory solution on a fat machine.
Returning all results for a given query could be a challenge for an API, especially if there are thousands of results. It puts a load on a server, on a [...]
An introduction to shell productivity features: autocompletion, keyboard shortcuts, history navigation and shell expansions.
I have changed my mind about some topics big and small so far in my life. Today: the value of types for programming.
Serverless is like a black hole. It promised exciting adventures, but the gravity sucked me in and I spent most of my efforts dealing with its complexity, in...
I’ve come to the conclusion that, for me, ORMs are more detriment than benefit. In short, they can be used to nicely augment working with SQL in a program, but they should not replace it.
You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites . This can and does cause downtime for the websites, which makes their resources inaccessible for everyone.
Never use a dependency that you could replace with an afternoon of programming.
Understanding Flask, Celery, and Redis through Mcdonalds
Yesterday I pleaded, Bug #915: please help! It got posted to Hacker News, where Robert Xiao (nneonneo) did some impressive debugging and found the answer.
I've been using zig for ~4 months worth of side projects, including a toy text editor and an interpreter for a relational language . I've written ~10kloc.
In this course we explain how category theory—a branch of mathematics known for its ability to organize the key abstractions that structure much of the mathematical universe—has become useful for writing elegant and maintainable code. In particular, we'll use examples from the Haskell programming language to motivate…
So in my post Is this evil? I covered a way of tracking users with CSS. While thinking about those weird ways of using the web I also started thinking about pushing live data to clients without JS. Or at least maintaining a connection. So WebSockets requires JS. WebRTC requires JS. Even HLS (video streaming), which…
Learn how to create simple Geolocation service without 3rd-party APIs
Video links for this article: Short trailer Walkthrough and technical details Update 31th May 2021: The source code for SuperRT has now been released. I’m pleased to finally have some results to show for a project I’ve been working on in my spare time for the last year or so. The idea originated when I was trying to…
Create multiline git commits by using -m multiple times when using git commit
An introduction to back pressure in systems and why it matters.
Before we get into Horcruxing, here's a quick prologue on online security hygiene. You can skip to the Horcruxing section if it seems redundant. 1. Longer…
Exploring JVM specification and trying to write a little code to interpret a Java class like a real JVM.
I started thinking about ball juggling machines in the year 2014. I wrote about my first few attempts at creating them in this blog post from the year 2017. In 2018 I wrote another post about my then newest build. We’re now in the year 2020. And finally, the quest to get a machine to … Continue reading The Octo-Bouncer
Realtime rendering and videogame programming mostly, but I love computer science and visuals in all their forms. This is a notepad of my ideas.