What happens when you touch a pickle to an AM radio tower
A few months ago, our AM radio hot dog experiment went mildly viral. That was a result of me asking my Dad 'what would happen if you ground a hot dog to one of your AM radio towers?' He didn't know, so one night on the way to my son's volleyball practice, we tested it. And it was awesome. There's a video and some…
Continuous reinvention: A brief history of block storage at AWS
Marc Olson, a long-time Amazonian, discusses the evolution of EBS, highlighting hard-won lessons in queueing theory, the importance of comprehensive instrumentation, and the value of incrementalism versus radical changes. It's an insightful look at how one of AWS’s foundational services has evolved to meet the needs…
Next-level frosted glass with backdrop-filter
Glassy headers have become a core part of the “slick startup” UI toolkit, but they’re all missing that final 10% that really makes it shine. In this tutorial, you’ll learn how to create the most realistic lush frosted glass anywhere on the internet.
Mental health in software engineering
I was pacing around my apartment at 2 a.m., palms sweaty, convinced the production database had already gone up in flames. It hadn’t, of course, but my
HTML Form Validation is underused
HTML Forms have powerful validation mechanisms, but they are heavily underused. In fact, not many people even know much about them. Is this because of some flaw in their design? Let’s explore.
MVCC – the part of PostgreSQL we hate the most (2023)
As much as Andy loves PostgreSQL, there is one part that is terrible and causes many headaches for people. Learn what it is and why it sucks.
1/25-scale Cray C90 wristwatch
Welcome to the latest edition of my on-going series in Cray-related computational necromancy. This was another just-for-fun project. Over the many years Andras and I have been working on our Cray revival efforts, there has always been a big lag between our available software (and Andras’ amazing simulator ) and my…
We outsmarted CSGO cheaters with IdentityLogger
Learn how IdentityLogger used fingerprinting to combat ban evasion, protecting our CSGO community from relentless cheaters.
Writing secure Go code
Security testing starts with understanding vulnerabilities. The CVE website lists known software flaws. The OWASP Top Ten highlights common weaknesses. With this knowledge, we can improve our Go development. This article shows how to put in place robust practices. They are fuzz inputs, verify dependencies, and use…
Calculus with Julia
This is a set of notes for learning calculus using the Julia language. Julia is an open-source programming language with an easy to learn syntax that is well suited for this task.
Abusing Go's Infrastructure
I apologize if this information is already known, but I couldn’t find any references about it and I wanted to understand what was going on and share with you because I think there is some value doing it. In case this wasn’t known, I apologize to the Go team for not talking to them first and jumping the full disclosure…
I Like Makefiles
Fancy new build tools come and go, but I think I will stick with using makefiles to orchestrate everyday tasks in my projects.
You've just inherited a legacy C++ codebase, now what?
Discussions: Hacker News , Lobster.rs , /r/programming . I've got great suggestions from the comments, see the addendum at the end!
Dear sir, you have built a compiler (2022)
I am afraid to inform you that you have built a compiler. I know you wanted a “simple prototype” that would just add that one feature to your programming model. You said that “SSA is an overkill” and “it’s just way too much infrastructure to maintain for a simple task” and yet, six months later, you have pile of…
Finding a new software developer job
For the first time ever, I was laid off, and had to find a new software developer job. I managed to find a new one, but it took longer than I thought, and it was a lot of work. I was in contact wit…
Use Prolog to improve LLM's reasoning
On one side, LLMs show unseen capabilities in reasoning, but on the other - reasoning in LLMs is not ideal.
Diffusion models from scratch, from a new theoretical perspective
This tutorial aims to give a gentle introduction to diffusion models, with a running example to illustrate how to build, train and sample from a simple diffusion model from scratch.
The deterioration of Google
Writing at the end of the world, from Hveragerði, Iceland
High-speed 10Gbps full-mesh network based on USB4 for just $47.98
Fang-Pen Lin's blog about programming
New Aztec Codices Discovered: The Codices of San Andrés Tetepilco
The recent announcement of the discovery of three new Aztec codices is covered here for the English-speaking public.
Intel's $475M error: the silicon behind the Pentium division bug
In 1993, Intel released the high-performance Pentium processor, the start of the long-running Pentium line. The Pentium had many improvement...
Two open source projects with great architecture documentation
esbuild and Redis1 are two examples of codebases with exceptional documentation. Through their READMEs, changelogs, architecture documents, and code comments, both projects explain their design in such a way that someone new to the codebase can understand where things are, how things are done, and why they are done…
Web scraping with GPT-4o: powerful but expensive
tl;dr; show me the demo and source code!
Intel Honesty
The best way to both save Intel and have leading edge manufacturing in the U.S. is to split the company, and for the U.S. government to pick up the bill via purchase guarantees.
Simplicity is an advantage but sadly complexity sells better (2022)
Pushing back on the cult of complexity.
RCE Vulnerability in QBittorrent
[…] Security has unveiled a critical vulnerability that has lingered in the popular torrent client qBittorrent for over 14 […]
A solution to The Onion problem of J. Kenji Lopez-Alt (2021)
Kenji López-Alt posed a mathematical problem on his YouTube channel about how to best cut an onion. I present a detailed solution.