Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,258 posts.
What is Windows doing while hogging that lock?
Earlier this month I wrote about how Windows 10 holds a lock during too much of process destruction, which both serializes this task and causes mouse-cursor hitches and UI hangs (because the same l…
MicroPython on the BBC micro:bit
A summary of the work done so far on getting MicroPython to work on the BBC micro:bit device for children.
Zngur: A C++/Rust interop tool
Zngur (/zængɑr/) is a C++/Rust interop tool. It tries to expose arbitrary Rust types, methods, and functions while preserving their semantics and ergonomics as much as possible. Using Zngur, you can use arbitrary Rust crates in your C++ code as easily as using them in normal Rust code, and you can write idiomatic…
A look at Chang’e 5 telemetry
Chang’e 5 is a Chinese lunar sample return mission. It was launched a few days ago on 2020-11-23 from Wenchang and is estimated to perform lunar orbit injection on Saturday. Since then, a number of Amateurs such as USA Satcom , Paul Marsh M0EYT , Scott Tilley VE7TIL , Fer IW1DTU and others have been receiving the…
Counting bytes faster than you'd think possible
“Summing ASCII Encoded Integers on Haswell at the Speed of memcpy” turned out more popular than I expected, which inspired me to take on another challenge on HighLoad: Counting uint8s . I’m currently only #13 on the leaderboard, ~7% behind #1, but I have already learned some interesting things. In this post I’ll…
A quick start guide to Commodore 64 assembly programming on Windows (2011)
Update: All needed files for this tutorial can be found in the GitHub repo linked in the bottom of this page. I noticed that a lot of people are creating graphical programs to the Commodore 64 agai…
Learn you Galois fields for great good (2023)
This is the introduction to a series on Abstract Algebra. In particular, our focus will be on Galois Fields (also known as Finite Fields) and their applications in Computer Science. This is a project I've been excited about for many years now, but have been too busy to dedicate the adequate effort to meet my…
Sourcehut account takeover via build logs (XSS in ansi2html)
A wormable vulnerability allowed anyone able to inject text in a build log on builds.sr.ht (or other instances) to take over accounts who viewed them
The Essence of Datalog (2018)
Mistral Contrastin's thought bubble, blog, and personal revelations.
Good Code Design from Linux
Learn how Linux/FFmpeg C partial codebase is organized to be extensible and act as if it were meant to have “polymorphism”. Specifically, we’re going to briefly explore how Linux …
Event-Driven Architecture
Using events to design applications is a practice that seems to be around since the late 1980s. We can use events anywhere in the frontend or backend. When a button is pressed, when some data chang…
Foursquare Open Source Places: A new foundational dataset
I did not expect this! [...] we are announcing today the general availability of a foundational open data set, Foursquare Open Source Places ("FSQ OS Places"). This base layer of …
The Old-School Fire Effect and Bare-Metal Programming
Many years ago, sometime in the nineties, my family was having dinner at the neighbours', and their son showed me some cool DOS programs on the computer. One of the programs was a demo that drew animated flames on the screen. I was amazed! Asking what language it was written in, I was told it was Pascal.
Beautiful Abelian Sandpiles
I can't remember where I first saw them, but ever since, I have been unable to forget them: abelian sandpiles. I'm far from the only one . They're remarkably simple, yet produce lovely symmetric patterns. I loved them so much that I adorned the title banner of this blog with an animation of an abelian sandpile. But…
Cigarette smoke effect using shaders
Notes about creative coding on the Web.
CERN at Home: Building a Particle Detector
What do you do when you’re stuck at home with a 16-year-old son during a pandemic lockdown? Well, the first answer is that you build a gaming PC. That was a good project with a lot of incentives to complete, but that also meant it was soon over. So, what next? I spotted a post about an outreach project from CERN to…
Quantum Computing for the Curious
Presented in an experimental mnemonic medium that makes it almost effortless to remember what you read
Safe from what?
What does it mean for a baby monitor to be safe? Some things are clearly essential: It should not explode; it should not release significant quantities of dangerous gasses; if it's designed to be placed within reach of a baby, it should not pose an electrocution or choking hazard. Less obviously, if it has data or…
A Guide to Rust Graphics Libraries as of 2019
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.
Faster, Better, Cheaper – The Art of Making Software
Nobody wants to deliver late, over-budget software. I don’t know a single software developer who wakes up in the morning and thinks “I’d like to do a rubbish job today. How can I cost my employer more money?” And yet, so many software projects don’t go well. And with every new project, there seems to be more and more…
Google Earth Fractals
The following is a "photographic" gallery of fractal patterns found while exploring the planet with Google Earth. Each is provided with a KMZ file so the reader can explore the region for themselves. Readers are encouraged to submit their own discoveries for inclusion, credits will be included. Besides being examples…
Notes on Paxos
These are my notes after learning the Paxos algorithm. The primary goal here is to sharpen my own understanding of the algorithm, but maybe someone will find this explanation of Paxos useful! This post assumes fluency with mathematical notation.
Predicting the tide with an analog computer made from Lego
Didn't you ever wish your<br>computer understood you?
Awesome Visualisations of Choose Your Own Adventure books
An infographical analysis of the structure of the Choose Your Own Adventure books series