New
The latest blog posts to take off on Hacker News. 2,330 posts.
Towards fearless SIMD
SIMD is a powerful performance technique, and is especially valuable in signal and image processing applications. I will be using it very extensively in my synthesizer, and also it’s increasingly used in xi-editor to optimize string comparisons and similar primitives.
Better Genderless Pronouns in English
Writing or speaking English, we always face a conundrum when we need a pronoun to refer to a person without specifying gender. Previously we needed a way to cover both male and female; nowadays some people state that they don't want to be considered either of those, and I believe in respecting their wishes.
Why did the golden age of the Simpsons end?
Around this time last year, I wrote a post dissecting the decline of The Simpsons from its peak in the mid 90s finding that the golden age of the show spanned an incredible 214 episodes. As a comparison, Friends, which seemed to have been on TV forever, managed 236 episodes...
Advanced techniques to implement fast hash tables
Array and hash table are probably the most important data structures. Some programming languages such as Perl, Lua and Javascript, almost build the language core on top of the two data structures. …
iPhones are hard to use
I once wrote a user manual for a handheld engine-diagnostics module for Daewoo cars. I know “hard to use” when I see it. iPhones are hard to use.
Writing an OS in Rust: Hardware Interrupts
In this post, we set up the programmable interrupt controller to correctly forward hardware interrupts to the CPU. To handle these interrupts, we add …
What does Stack Overflow want to be when it grows up?
I sometimes get asked by regular people in the actual real world what it is that I do for a living, and here’s my 15 second answer: We built a sort of Wikipedia website for computer programmers to post questions and answers. It’s called Stack Overflow. As of
The State of Agile Software in 2018
Agile Software Development may be mainstream, but much of what's done is faux-agile, and we need to push back.
Pushback against Saudi funding endangers Silicon Valley valuations
Shifting common knowledge on Saudi Arabia has infected the narrative around SoftBank's Vision Fund, which in turn places unicorn valuations at risk.
Who Are My Investors?
I got an email from the CEO of one of our portfolio companies last week. It asked a very basic question, but one that I don’t recall being asked before: I need to know if any of your LPs include ………. entities/interests. The CEO asked his VCs because questions were coming up internally and he […]
Generate ASCII RFC-like header diagrams for your own custom protocols
Protocol is a command-line tool to display ASCII RFC-like protocol header diagrams for both existing network protocols or user-defined ones (using a very simple syntax). Protocol is written in Python and it's open-source software.
How I Became a Knife Steel Metallurgist
Thanks to Jon Broida of Japanese Knife Imports and Anton Kudris for becoming Knife Steel Nerds Patreon supporters! When I was 16 I went with my father to the Las Vegas Custom Knife show. My interest in custom knives up to that point had been pretty limited. My father, Devin, has run a Damascus steel… Continue reading…
Massachusetts gas fires: Another technological tragedy
One Thursday afternoon last month, dozens of fires and explosions rocked three towns along the Merrimack River in Massachusetts. By the end of the day 131 buildings were damaged or destroyed, one person was killed, and more than 20 were injured. Suspicion focused immediately on the natural gas system. It looked like a…
Understanding Quaternions
Quaternions are used to represent an orientation in 3D space. This article attempts to demystify the complexities of quaternions.
Validating UTF-8 bytes using only 0.45 cycles per byte (AVX edition)
When receiving bytes from the network, we often assume that they are unicode strings, encoded using something called UTF-8. Sadly, not all streams of bytes are valid UTF-8. So we need to check the strings. It is probably a good idea to optimize this problem as much as possible. In earlier work, we showed that ……
Transferring GitHub stars
Aftermath of how I moved stars to a great project from an simple project with undeserved stars
The Chamber of Guf
[I briefly had a different piece up tonight discussing a conference, but the organizers asked me to hold off on writing about it until they’ve put up their own synopsis. It will be back up ev…
Let’s talk about PAKE
The first rule of PAKE is: nobody ever wants to talk about PAKE. The second rule of PAKE is that this is a shame, because PAKE — which stands for Password Authenticated Key Exchange — is actually o…
The City of Seattle Accidentally Gave Me 32M Emails for $40
In my last post, I wrote about my adventure of requesting metadata for both phone calls and emails from the City of Chicago Office of the Mayor. The work there - and its associated frustration - sent me down a path of sending requests throughout the US to both learn whether these sorts of problems are systemic…
Slack on a SNES
I recently learned that in the mid 90s in Japan, the Super Nintendo had a peripheral called a Satellaview, which was a satellite modem that would receive data broadcasts from Nintendo.