New
The latest blog posts to take off on Hacker News. 49,267 posts.
My Top 100 Programming, Computer and Science Books: Part One
I was recently interviewed by Fog Creek and one of the questions was about my favorite programming, coding and development books. I got very excited by this question as I'm a huge book nerd. I love books about computers, programming, and science. Every few months I spend a day or two researching the latest…
Data Science from Scratch: First Principles with Python
I am super-excited to announce that the book I've been working on for more than the last year, Data Science from Scratch: First Principles with Python is finally available! (buy from O'Reilly, use...
FizzBuzz in Too Much Detail
I know. FizzBuzz has been done to death. But I want to use it as a familiar base upon which we can explore some of the common tradeoffs involved in writing and maintaining software. In this article, I’ll show multiple implementations of FizzBuzz, all designed to achieve different goals, and discuss the implications of…
High Frequency Trading on the Coinbase Exchange
by Andrew Barisser
Everyone has JavaScript, right?
These are by no means all the reasons why your JavaScript might fail to run even when you expected it to. Andy Bell has a great list over at piccalil.li of a handful of very realistic reasons JavaScript won’t be available . Check ’em out, and be prepared.
Coding for SSDs
Translations: This article was translated to Simplified Chinese by Xiong Duo and to Korean by Matt Lee (이 성욱). Introduction I want to make solid-state drives (SSDs) the optimal storage solution for my key-value store project. For that reason, I had to make sure I fully understood how SSDs work, so that I can optimize
Dirt in Medieval Books
When you use something for a thousand years, it is bound to get dirty. Medieval books often show stains and marks on their pages, usually from readers who did not always take very good care of the …
What happens if you remove randomness from Doom?
For some reason, recently I have been thinking about Doom. This evening I was wanting to explore some behaviour in an old version of Doom and to do so, I hex-edited the binary and replaced the random number lookup table with static values.
Why we are leaving Dropbox
I have been using Dropbox almost since its incubation back in 2007, ultimately ending up using 320+ GB for business and 375+ GB of personal…
Elixir vs. Erlang: a question of momentum
I fiddled around with Erlang the first time a number of years ago, and have come back to it off and on ever since. I’m currently using it professionally, and enjoying the experience a lot. …
Branchless code sequences
David Thomas's website.
DIY FPGA-based HDMI ambient lighting
Ambient lighting is a technique that creates light effects around the television that correspond to the video content. It has been pioneered...
The Time Needed to Write “Effective Modern C++”
Initial cover design. Nobody asked me about the writing of Effective Modern C++ (EMC++), but I wanted to talk about it a little, so ...
“Hello World” in assembly language on Linux
One of my side-projects this summer is to become minimally literate in assembly language. So I began by reading up a tutorial on the x86-64 and the Linux ABI .
Postmortem of Venture-Backed Startup, Sonar
Lessons Learned from the rise and fall of @Sonar
NHL goal celebration hack: real-time machine learning and hue light show
This post does a deep dive on the **epic goal celebration hack**. In a single sentence, I trained a machine learning model to detect in real-time that a goal was just scored by the Habs based on the live audio feed of a game and to trigger a light show using Philips hues in my living room.
Four days of Go
Part of my work involves the mild reverse-engineering of binary file formats. I say “mild” because usually other people do all of the actual work; I just have to figure out what an extra flag field or two means, and I then take as much credit as possible for the discovery on my blog.
The sad state of sysadmin in the age of containers
System administration is in a sad state. It in a mess.
Call Me Maybe: MongoDB Stale Reads
Please note: our followup analysis of 3.4.0-rc3 revealed additional faults in MongoDB’s replication algorithms which could lead to the loss of acknowledged documents–even with Majority Write Concern, journaling, and fsynced writes.
GitWikXiv: Toward a successor to the academic paper
[Other posts in this series: 2,3,4.] I had the chance to have dinner tonight with Paul Ginsparg of arXiv fame, and he graciously gave me some feedback on a very speculative idea that I’ve been kicking around: augmenting — or even replacing — the current academic article model with collaborative d
If 1+x is 1, how much is 1-x?
► Versión en Español (The title should be "if (= (+ 1 x) 1), how much is (- 1 x)?", but ...) Toy floating point Mathematically, if we...