Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,254 posts.
Modern CMake short tutorial and best practice
The end of semester is here and, as I grade our students semestral works, I get to use CMakeLists of dubious quality. After seeing the same errors repeat over and over again, I decided to write a short tutorial towards writing simple CMakeLists.
Running an Open Source Home Area Network
Insights on running a Home Area Network (HAN) nearly completely on open source software, including configurations and metrics.
Choosing an op-amp for your project
Just say no to LM741 and LM324 / LM358.
CSS solves auto-expanding textareas (probably, eventually)
I’ll cut to the chase before I type too many more words: textarea { field-sizing: content; /* used to be `form-sizing` but changed to this */ } I came across it via an Amit Merchant blog post…
MCP: An (Accidentally) Universal Plugin System
Or: The Day My Toaster Started Taking Phone Calls
Avery’s laws of Wi-Fi reliability
Hello everyone! After many years of using a massively hacked-up version of dcoombs's NITLog page generator to host these pages, I've become,...
Patina and Intimacy
“Each one of us has, somewhere in his heart, the dream to make a living world, a universe.”
What’s the difference between an integer and a pointer?
The Standard does not require that implementations define intptr_t nor uintptr_t. It also does not require that implementations define integer-to-pointer conversions in any meaningful fashion unless they define those types. Conforming implementations are certainly allowed to document some integer-to-pointer…
Migration from Postgres to Datomic
Recently, I migrated my Clojure-driven pet project from PostgreSQL to Datomic. This is Queryfeed , a web application to fetch data from social networks. I’ve been running it for several years considering it as a playground for some experiments. Long ago, it was written in Python, then I ported it to Clojure.
Seven Minutes in Ubuntu: A Mac user's first impressions
For a while now, I've been using my home machine with MAMP to develop a research prototype. But last week, I got my hands on a PC to use as a web server. Before I could get started on it though, I needed an operating system to install — ideally one that would get the
Adaptive PDFs
An idea for PDFs that render normally for humans while exposing clean markdown structure to extractors and LLMs in the same file.
On Error Handling in Rust
My thoughts about error handling in APIs after writing a Redis library in Rust.
Why I left Academia: Part I
Two months before defending my dissertation, I found out that a professor had published my own work ahead of me. My story caught the attention of academics all over the world, going viral in 2017. This post is about why I left academia, and what I discovered when Post-PhD the blog went viral: that I
A shell exclamation mark is not for yelling. Be lazy
Event designators have been hiding in not-so-plain-sight since the late 1970s — so powerful that forgetting might be part of a massive conspiracy to wear out developer keyboards faster than otherwise.
Happy 23rd Birthday, DOOM
It's that time of year again, where we say Happy Birthday to one of my most favorite games, DOOM! Every year I try to reveal something about the game's development that hasn't been documented to death. Believe me, DOOM has been documented more than most games. But never fear, I have so much stuff th
A SQL Heuristic: ORs Are Expensive
But this is slow! With 1,000,000 applications and 1000 users uniformly distributed on both columns, it takes over 100ms. 1
From web dev to 3D: Learning 3D modeling
A few months ago I set myself the challenge to recreate this photo (shot by Masashi Wakui) By modeling it in 3d! At the end I had this (I promise no IRL cats w…
Digital Gardening
A website is a lot like a garden.
Event Sourcing (2017)
I recently became intrigued by the concept of event sourcing as applied to back-end architecture, specifically a microservice-oriented approach. I have spent the last few years working predominantly on the front-end, and became enamored by the simplicity and elegance of this pattern as the backbone of front-end…
Computers Can Be Understood
Computers and computer systems are build up from deterministic, comprehensible, building blocks. Their operations and behaviors can be understood and reasoned about. I relate my personal beliefs and mindset on this point, and explore some manifestations and ramifications of this philosophy.
UK telecom EE blocks archive.org
Well at first that looks weird. It pings and all so I jump to incognito mode, and…
What happens when you load a URL? (2015)
I've been hearing this question a lot lately, and when I do, it reminds me how much I don't know. Here are some questions this question brings to mind.
A mathematical formalization of dimensional analysis (2012)
Mathematicians study a variety of different mathematical structures, but perhaps the structures that are most commonly associated with mathematics are the number systems, such as the integers $late…
Writing Is Hard
Writing is hard. Especially if you start thinking. Never stop to think about what to write (unless you must), it will ruin the flow. Never stop to correct yourself, to judge or run a spellcheck. Don’t do that; that’s what editing is for. I’ve read the same tips again and again: Write first, edit later. […]