Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,236 posts.
Are two heads better than one?
A look at the surprising probabilities behind a simple coin flipping game
Cython is 20
Cython celebrates its 20th anniversary
On Rendering Diffs
A technical deep dive into how we built the @pierre/diffs package and CodeView component for zero-blanking diff rendering.
Your wifi shows me where you live, work and travel
Many people may already know that all your devices try to broadcast your previous connections. I expect that many more have no idea that’s happening. There have been articles published about it before, but without specific examples.
Cheating on a string theory exam
You and your friend have watches which are synchronized to the second, and the proctors are used to him often finishing exams quickly and won't be suspicious if he leaves early. What is the largest value N such that you can guarantee that you answer at least N out of the 23 questions correctly?
The Four Desires Driving All Human Behavior
“Nothing in the world is more exciting than a moment of sudden discovery or invention, and many more people are capable of experiencing such moments than is sometimes thought.”
Game of Thrones CGI
This is a very interesting little video showing off how the Game of Thrones locations are built up using Computer Graphics, substituting effectively for matte painting in traditional film. In my ex…
My favorite 1980's Canadian TV show: Bits and Bytes
Reflections on whatever I'm thinking about that week (the web, culture, computer graphics, math etc)
The Only Type of API Services I'll Use
I'll only use API services with usage-based pricing and automatic volume discounts. Why that model works, and why bucket and enterprise pricing don't.
Demystifying GPU compute architectures
Getting 'low level' with Nvidia and AMD GPUs
What mathematicians should know about the Lean Theorem Prover: reliability & AI
[This is a guest post by Thomas Hales. This blog post was initially written in a different file format and converted using AI. — T.] Mathematicians have been weighing in on what they value ab…
Exploring the Supply Chain of the Pfizer/BioNTech and Moderna Covid-19 Vaccines
Sections of this post were co-authored by Cornelia Scheitz. Noah Leidinger created a German translation. Piotr Kwapin created a Polish translation. Last updated on February 7, 2021. Bert Hubert’s excellent and widely shared article about Reverse Engineering the source code of the Pfizer-BioNTech SARS-CoV-2 Vaccine is…
Score matching with Langevin Sampling: a new contender to GANs
Last year, Yang Song, a graduate student at Stanford, showed an entirely new way of generating data based on denoising score matching with Annealed Langevin sampling (DSM-ALS). The paper showed tha…
Why Tarsnap doesn't use Glacier
On the surface, Tarsnap sounds like the perfect use case for Glacier. Out of every TB of data stored on Tarsnap, in any given month approximately 100 GB of data will be deleted, while only 33 GB of data will be downloaded; in other words, Tarsnap is very much a "write once, read maybe " storage system. Tarsnap's…
The LMAX Architecture - 100K TPS at Less than 1ms Latency
LMAX is a retail financial trading system that can handle that can 6 million orders per second on a single JVM thread. The business logic runs in-memory surrounded by disruptors using event sourcing.
SimpleDB: A Basic RDBMS Built from Scratch
My databases class at UCLA wasn’t very challenging so I never truly understood the internals of databases. This always bothered me so I vowed to build a simple database from scratch to learn the fundamentals. MIT's Database Systems course has their students implement a simple database from scratch and it provided me…
Everything you wanted to know about SQL injection (but were afraid to ask)
This content is now available in the Pluralsight course "Ethical Hacking: SQL Injection" [http://www.pluralsight.com/courses/ethical-hacking-sql-injection]Put on your black hats folks, it’s time to learn some genuinely interesting things about SQL injection. Now remember – y’all play nice with the bits and
The Value of In-House Expertise
An alternate title for this post might be, "Twitter has a kernel team!?". At this point, I've heard that surprised exclamation enough that I've lost count of the number times that's been said to me (I'd guess that it's more than ten but less than a hundred). If we look at trendy companies that are within a couple…
Scripting with Elixir
I was a Python developer for some time and one great joy of Python is that you have an expressive language that you can use for your serious apps as well as for your hacky little one-off script or bespoke pieces of automation. By expressive I mean that typing very little can give you a lot of progress towards your…
Analysis of PS4's security and the state of hacking
Since there haven't been any major public announcements regarding PS4 hacking for a long time now, I wanted to explain a bit about how far PS4 hacking has come, and what is preventing further progression.
Feynman’s Maze-Running Story
Richard Feynman recounts an amazing anecdote about philosophy of science; we trace it to a forgotten University of Michigan research programme into ‘floor cues’.
Data is the only moat
How different adoption models drive better applications
Deep Learning 101
Deep learning has become something of a buzzword in recent years with the explosion of 'big data', 'data science', and their derivatives mentioned in the media. Justifiably, deep learning approaches have recently blown other state-of-the-art machine learning methods out of the water for standardized problems such as…