Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,296 posts.
Bloat reduction in LibreOffice 3.4.0
Older items: 2023 : ( J F M A M J ), 2022 : ( J F M A M J J A S O N D ), 2021 , 2019 , 2018 , 2017 , 2016 , 2015 , 2014 , 2013 , 2012 , 2011 , 2010 , 2009 , 2009 , 2008 , 2007 , 2006 , 2005 , 2004 , 2003 , 2002 , 2001 , 2000 , 1999 , legacy html
Increase HTTP performance by fitting in the initial TCP slow start window
Did you know that if your site’s under ~12kb the first page will load significantly faster? Servers only send a few packets (typically 10) in the initial round-trip while TCP is warming up (referred to as TCP slow start). After sending the first set of packets, it needs to wait for the client to acknowledge it…
Why Bigger Isn’t Always Better with GANs and AI Art
AI art using GANs (generative adversarial networks) is new enough that the art world does not understand it well enough to evaluate it. We saw this unfold last month when the French artists’ collective Obvious stumbled into selling their very first AI artwork for $450K at Christie’s . Many in th
Flipping until you are lost
Start with any triangulation of a convex polygon, and then repeatedly choose a random diagonal and flip it, replacing the two triangles it borders with two d...
The speed of BGP network propagation
At the end of March 2019 I did a talk at the INEX’s (Ireland’s biggest internet exchange point) Annual General Meeting. I was supposed to record it, however in a brief panic due to HDMI not working on my laptop I forgot to start a recording of it. Since people found it interesting I figured I would turn it into a blog…
Revisiting Linux CPU Scheduling
Disclaimer: This is to the best of my knowledge. It's a complicated topic, there are tons of options, and this only covers a tiny fraction of this topic anyway. If you spot mistakes, please tell me.
A whirlwind introduction to dataflow graphs
While in the middle of writing “Reading bits in far too many ways, part 3”, I realized that I had written a lot of background material that had absolutely nothing to do with bit I/O and…
An intutive counterexample to the axiom of choice
Time for some hard-core geeking-out. This comment on HN by /u/jiggawatts struck me as a brilliant idea: it's an intuitive counter-example t...
NFT misconception: JPEG aren't stored on the Blockchain
Today’s biggest misconception about NFTs is that they’re “jpeg” images stored on the Ethereum blockchain, it’s not. Probably because that digital art can be easy to visualize, and famous artists attempt today to sell their digital art as an NFT on a platform such as Opensea, it has gained lot of attention these past…
Undefined Behavior in C and C++ (2024)
In some ways, that's because C is a lower-level language, closer to assembly; it just gives you what the underlying machine gives you.
Eating Fruit Skins
This summer, I learned that one can eat a whole apple. Every part of the apple is edible 1 . Before learning this, I would just eat the flesh and throw away the core. The core seemed hard and jagged and inedible. Turns out, you can eat the whole thing. I suppose I’ve always known that deer eat the whole apple. Why…
Admitting That Functional Programming Can Be Awkward (2007)
It's not about technology for its own sake. It's about being able to implement your ideas.
Dear Programming Job Applicants (2010)
This article is written with considerable snark–put on your flameproof suit if needed. I’m not actually a jerk when interviewing people, but I do get frustrated when candidates fail to do basic preparation. If you’re unsure about how to prepare for a programming interview, read on… I know this might come as a shock to…
Nuclear power is too safe
If you don't pursue safety in a way that is cost effective, you are killing people.[David Okrent]
Myths about Hash Tables
A hash table is data structure that is used to search for exact matches to a search key. For searching, they work like this: Take a search key (example: the word “cat”) Hash the search …
AI has torched the market for junior programmers
Junior programmers are getting destroyed by AI — down 19%, while devs over 40 thrive. Meanwhile, millions of non-developers are shipping real software without the job title. The credential market collapsed; the activity exploded. The problem: nobody's building the next generation of senior engineers.
Interstellar Flight: Perspectives and Patience
Transit time of 6,600 years; that long ago, around 4,600 BCE, the state of human civilization was devoid of technology. Hard to imagine what would happen back home on Earth during a journey of that length.
Objective-C's niche: why it survives in a world of alternatives
Objective-C remains an impediment for many programmers coming to the Mac or iPhone platforms — few programmers have ever experienced it before learning Cocoa, forcing two learning curves at once for new Cocoa developers. How did Apple end up with such a weird language? And for a company known to replace CPU…
Why Rust helps even if you have to use a lot of `unsafe`
I semi-regularly hear developers who claim that using Rust would not gain them anything because they would have to use `unsafe`. But this is not true. Local reasoning matters.
The web runs on tolerance
If you've ever tried to write a computer program, you'll know the dread of a syntax error. An errant space and your code won't compile. Miss a semi-colon and the world collapses. Don't close your brackets and watch how the computer recoils in distress. The modern web isn't like that. You can make your HTML as…
Interviewing programmers: coding test example explained
In Part 2 article I'll describe how I personally would write the code specified in Part 1. I'm not claiming this is in any sense objectively the best, and I'm certainly not suggesting it's the only.
What use is mental math in 2022?
The ability to quick estimates is still valuable, maybe more valuable than it used to be.