New
The latest blog posts to take off on Hacker News. 49,267 posts.
Class Breaks
There’s a concept from computer security known as a class break. It’s a particular security vulnerability that breaks not just one system, but an entire class of systems. Examples might be a vulnerability in a particular operating system that allows an attacker to take remote control of every computer that runs on…
Writing a Faster Sorting Algorithm
These days it’s a pretty bold claim if you say that you invented a sorting algorithm that’s 30% faster than state of the art. Unfortunately I have to make a far bolder claim: I wrote a …
Basic Economy Fares Don't Lower Ticket Prices, They Increase Ticket Prices
When Delta started testing 'Basic Economy' fares in 2012 the idea was to compete with the ultra low cost carriers -- they already had to match price, so they wanted to be able to offer a product that was closer to the limited service Spirit provided, in hopes that customers would buy up to more expensive fares for…
Finding an Alternative to Mac OS X
This is the first in a series on finding a replacement for Mac OS X.
Why recursive data structures?
In this essay, we are going to look at recursive algorithms, and how sometimes, we can organize an algorithm so that it resembles the data structure it manipulates, and organize a data structure so that it resembles the algorithms that manipulate it.
Cheap and Painless eGPU Thrills on a 2013 MacBook Pro
Alexei's pile o'stuff, featuring writing on software development, travel, photography, and more.
Lenovo ThinkPad T460 – A Good Linux Laptop for Development
After several years with my Dell Latitude E6400 I was searching for a new, more powerful Linux machine for my coding and performance tweaking tasks. And although the Dell XPS line sounded interesti…
Five Year Mission
Behind the scenes - how I'm making redblobgames.com - interactive explanations of game development algorithms and math
How I Write Tests
The longer I spend as a software engineer, the more obsessive I get about testing. I fully subscribe to the definition of legacy code as “code without an automated test suite.” I’m convinced that the best thing you can do to encourage fast progress in a test suite is to design for testing and have a fast, reliable…
2017 is not just another prime number
Good bye year 2016. Hello year 2017. We all know that 2017 is a prime number, but it is more than just another prime number. 2017π (roun...
How (Not?) to Use Python’s List Comprehensions
Lesser known is that you can have nested list comprehensions, that handle nested for loops:
33C3 talk on dissecting cellular modems
Yesterday, together with Holger 'zecke' Freyther, I co-presented at 33C3 about Dissectiong modern (3G/4G) cellular modems. This presentation covers some of our recent explorations into a specific type
The Memory Models That Underlie Programming Languages
There are about six major conceptualizations of memory, which I’m calling “memory models”, that dominate today’s programming.
Be Careful with Python's New-Style String Format
Some general warnings about the use of str.format in Python.
In 2017, I’m going to stop watching the news
I've stopped watching the news a few months ago and it's definitely a trend I'm planning to continue in 2017. We live in a world of information. Open Facebook …
Critiques of the DHS and FBI’s Grizzly Steppe Report
On December 29 th , 2016 the White House released a statement from the President of the United States (POTUS) that formally accused Russia of interfering with the US elections, amongst other activities. This statement laid out the beginning of the US’ response including sanctions against Russian military and…
Working remotely, coworking spaces, and mental health
This should be a hard blog post to write–after all, it’s the one where I openly admit I had an emotional breakdown and saw a mental health professional–but it’s actually easy. And it’s easy because it has a good ending: facing long odds and a frustrating situation, I ended up turning everything around and getting a…