Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 81,059 posts.
How do Ruby and Python profilers work?
How do Ruby & Python profilers work?
Let's Write Some x86-64
…"‘Our speech interposes itself between apprehension and truth like a dusty pane or warped mirror. The tongue of Eden was like a flawless glass; a light of total understanding streamed through it. Thus Babel was a second Fall.’ And Isaac the Blind, an early Kabbalist, said that, to quote Gershom Scholem’s translation…
A Git Horror Story: Repository Integrity With Signed Commits
(Note: This article was written at the end of 2012 and is out of date. I will update it at some point, but until then, please keep that in perspective.)
Delete an inline function, save 794 kB
In the previous episode of “Simple Changes to Shrink Chrome” I discussed how deleting ‘const’ from a few key locations could lead to dramatic size savings, due to a VC++ com…
Putting a dumb weather station on the internet
After all, why not? Why shouldn't I put a dumb Temu weather station on the Internet?
Predicting Stack Overflow Tags with Google’s Cloud AI
Check out a cool project that leverages Stack Overflow Data and Google's Cloud AI to predict what tags would work best on Stack Overflow questions.
One-pass Compiler
A one-pass compiler emits assembly (or binary code) right during parsing, without creating an intermediate representation, such as an AST. This is a rare technique that was used back in the days when computer memory was scarce. This limited both the language features that were possible and the quality of the produced…
Why I Love the Khan Academy
Salman Khan, the principal behind the Khan Academy material, understands something very important that emanates throughout all of his lectures whether they be on calculus, projectile motion, or thermodynamics: There is a difference between knowing the name of something and knowing something.
Password reuse and credential stuffing
The short version: I'm loading over 1 billion breached accounts into HIBP. These are from 2 different "combo lists", collections of email addresses and passwords from all sorts of different locations. I've verified their accuracy (including my own record in one of them) and many hundreds of millions
Vulkan 1.2
The Khronos Group announces the release of the Vulkan 1.2…
Galois field instructions on 2021 CPUs
CPUs like to operate on data types such as uint8_t , uint16_t , uint32_t , and uint64_t . These data types can be viewed as integers modulo 2 8 , 2 16 , 2 32 , and 2 64 respectively. Addition and multiplication can be defined on these integers modulo 2 N in a way which is familiar to most people; for example, in…
Say hello to x64 Assembly, part 1
Introduction There are many developers between us. We write a tons of code every day. Sometime, it is even not a bad code :) Every of us ...
Hidden Costs That Engineers Ignore
“It’ll only take me a few hours to implement the feature,” we sometimes say. But after finishing, we find that every few weeks, we’re either fixing a bug with the feature, explaining it to another eng
Wasmer JavaScript SDK
Dive into a world where running any WASI and WASIX package in your browser is a breeze. Whether it's Python, Bash, FFmpeg, or [any package published](<h...
Jamming XKeyScore
Back in the day there was talk about "jamming echelon" by adding keywords to email that the echelon system was supposedly looking for. We ca...
Spectre Mitigations in Microsoft's C/C++ Compiler
This form of Spectre can be used to attack a broad range of software -- operating systems, device drivers, web APIs, database systems, and almost anything else that receives untrusted input and may run on the same computer as untrusted code. Because large programs can contain literally millions of conditional branches…
Student Surveillance Vendor Proctorio Files SLAPP Lawsuit to Silence a Critic
During the pandemic, a dangerous business has prospered: invading students’ privacy with proctoring software and apps. In the last year, we’ve seen universities compel students to download apps that collect their face images, driver’s license data, and network information. Students who want to move...
Hello world in C inline assembly (2018)
A C program that writes "hello, world!" to the console using inline assembly instead of standard library functions, demonstrating direct system call invocation.
Indirection Is Not Abstraction
The concept of abstraction in software development is frequently misunderstood and confused with indirection. This is partially because of the keywords abstract and interface in statically-typed la...
Free SSL on Github Pages with a custom domain: Part 2 – Let's Encrypt
GitHub Pages has just become even more awesome. Since yesterday1, GitHub Pages supports HTTPS for custom domains. And yes, it is still free!
Parsing integers quickly with AVX-512
If I give a programmer a string such as "9223372036854775808" and I ask them to convert it to an integer, they might do the following in C++: std::string s = .... uint64_t val; auto [ptr, ec] = std::from_chars(s.data(), s.data() + s.size(), val); if (ec != std::errc()) {} // I have an error ! // val … Continue reading…
Court Rules That EFF's Stupid Patent of the Month Post Is Protected Speech
A federal judge has ruled that EFF need not obey an Australian injunction ordering EFF to take down a “Stupid Patent of the Month” blog post and never speak of the patent owner’s intellectual property again. It all started when Global Equity Management (SA) Pty Ltd (GEMSA)’s patent was featured as...
Experimenting with Post-Quantum Cryptography
Posted by Matt Braithwaite, Software Engineer Quantum computers are a fundamentally different sort of computer that take advantage of aspec...
Figma: The product design team’s process
A look at the meetings, rituals, and exercises our product design team relies on to stay connected and efficient.
MirageOS 4.0 – Self-managed internet infrastructure with unikernels
Read the post on "Announcing MirageOS 4.0.0" from our blog.