Most cited
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 6,985 posts.
Revisiting the principles of data-oriented programming
Principles of Data-Oriented Programming. Benefits and costs of Data-Oriented Programming. DOP vs OOP. DOP vs FP.
The two cultures of mathematics and biology
I’m a (50%) professor of mathematics and (50%) professor of molecular & cell biology at UC Berkeley. There have been plenty of days when I have spent the working hours with biologists and…
C++ Has Become More Pythonic (2014)
C++ has changed a lot in recent years. The last two revisions, C++11 and C++14, introduce so many new features that, in the words of Bjarne Stroustrup, “It feels like a new …
Render Multimedia in Pure C
In a previous article I demonstrated video filtering with C and a unix pipeline . Thanks to the ubiquitous support for the ridiculously simple Netpbm formats — specifically the “Portable PixMap” ( .ppm , P6 ) binary format — it’s trivial to parse and produce image data in any language without image libraries. Video…
The Scientific Case for P≠NP
Out there in the wider world—OK, OK, among Luboš Motl, and a few others who comment on this blog—there appears to be a widespread opinion that P≠NP is just “a fashionable dogma of…
The Queen’s Latin or Who Were the Romans? Part I: Beginnings and Legends
Who were the Romans? How did they understand themselves as a people and ‘Roman’ as an identity? And what were the implications of that understanding – and perhaps more importantly…
Beyond Markdown (2018)
John MacFarlane
Google Wave's Scrollbars
In spite of some of the reaction to it , I find Google Wave to be surprisingly useful. One thing I don't really understand, though, is its scrollbars. They behave quite differently from regular scrollbars, and I can't discern any overwhelming advantages of Google's implementation. It seems I'm not alone. The…
How to Write with Style (1985)
Newspaper reporters and technical writers are trained to reveal almost nothing about themselves in their writings. This makes them freaks in the world of writers, since almost all of the other ink-stained wretches in that world reveal a lot about themselves to readers. We call these revelations, accidental and…
A Visitor's Guide to Silicon Valley
If you’re a visiting dignitary whose country has a Gross National Product equal to or greater than the State of California, your visit to Silicon Valley consists of a lunch/dinner with some combina…
Fast high-level programming languages
Python and R are slow when they can’t rely on functionality or libraries backed by C/C++. They are inefficient not only for certain algorithm development but also for common tasks such as FASTQ parsing. Using these languages limits the reach of biologists. Sometimes you may have a brilliant idea but can’t deliver a…
Raspberry Pi 400 teardown and review
Today Raspberry Pi Trading announced the Raspberry Pi 400, the latest in the series of small education-focused computers that started with the original Raspberry Pi in 2012. For years, people have come up with creative ways to hack a Pi into keyboards, like the Original Pi in an old Mitsumi keyboard, or the Pi 3 A+ in…
A tail calling interpreter for Python (already landed in CPython)
It’s been nearly four years since I published Parsing Protobuf at 2+GB/s: HowI Learned To Love Tail Calls inC.In that article, I presented a technique I co-d...
Hacker Who Sent Me Heroin Faces Charges in U.S
A Ukrainian hacker who once hatched a plot to have heroin sent to my Virginia home and then alert police when the drugs arrived had his first appearance in a U.S. court today, after being extradited to the United States to face multiple cybercrime charges.
A Random Walk Through Ada (2014)
So the C programming language has been getting a lot of bad press recently; a really stupid bug in some C code has compromised some of the core security infrastructure on the internet. The fix is easy, but the knock-on effects are going to go on for years and will cost serious amounts of money. As a result, people…
Don't fall in love with your technology
It's not about technology for its own sake. It's about being able to implement your ideas.
Insecurities in the Linux /dev/random
New paper: “Security Analysis of Pseudo-Random Number Generators with Input: /dev/random is not Robust, by Yevgeniy Dodis, David Pointcheval, Sylvain Ruhault, Damien Vergnaud, and Daniel Wichs. Abstract: A pseudo-random number generator (PRNG) is a deterministic algorithm that produces numbers whose distribution is…
Running GUI apps with Docker
I've been doing all of my real (paid) work on VMs / containers for a while now but when it comes to writing Java code...
NSPM-7 labels common beliefs as terrorism 'indicators'
New directive targets “anti-Christian,” “anti-American,” and “anti-capitalism” opinions
Step-By-Step Landing Page Copywriting
Let me start by warning you: This is a long post. I want to take you through the process of writing and designing the ConvertKit sales page. As you’ll see, I had a huge amount of help from Amy Hoy. Throughout the process she gave great advice on copywriting that I’d like to share here. […]
A polyglot's guide to multiple dispatch
This is the first article in a series dedicated to multiple dispatch - an advanced abstraction technique available to programmers out-of-the-box in some languages, and implementable in others. This first post in the series presents the technique and explains the problem it intends to solve. It uses C++ as the…
First 26 pages of Neal Stephenson's new novel Seveneves
The personal website of author Neal Stephenson, unless it's been hacked.
Requiem for GitHub
Kind people already sent donations that will make my childrens' lives easier, when I'm not there any more. Thank you enormously! :-)