Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,317 posts.
Even God Couldn't Beat Dollar-Cost Averaging
A market timing strategy rarely outperforms dollar cost averaging even when that strategy knows exactly when to buy.
jQuery file size
Note: The gzipped and Zopflinated file sizes refer to the total byte size of the file after compressing it using gzip or Zopfli with the default settings . For gzip, this boils down to gzip -6 file.js — the default compression level is 6 on a scale from 1 (fastest, but less compression) to 9 (slowest, but best…
Ghostty 👻 – Mitchell Hashimoto
My writings about Ghostty, the terminal emulator I work on.
New Programming Jargon
Stack Overflow – like most online communities I’ve studied – naturally trends toward increased strictness over time. It’s primarily a defense mechanism, an immune system of the sort a child develops after first entering school or daycare and being exposed to the wide, wide world of everyday sneezes and coughs
Ra
Magic is real. Discovered in the 1970s, magic is now a bona fide field of engineering. There's magic in heavy industry and magic in your home. It's what's next after electricity. Student mage Laura Ferno has designs on the future: her mother died trying to reach space using m...
LOOP for Black Belts
In Chapter 7 I briefly discussed the extended LOOP macro. As I mentioned then, LOOP provides what is essentially a special-purpose language just for writing iteration constructs.
Partmaps.org
All hotels in Mallorca. The best selection of Mallorca hotels with reviews and maps. Book in advance and save.
Wolves, sheep, and gypsies
In 2012, the first Danish wolf in nearly two hundred years was discovered in the northwestern part of the country. Their numbers increased slowly in the years that followed, and by 2020, fewer than ten wolves were still being tracked. But then the population began to rise sharply: around 14 in 2021, 30 in 2022, as…
The Guerrilla Guide to Interviewing (version 3.0)
A motley gang of anarchists, free-love advocates, and banana-rights agitators have hijacked The Love Boat out of Puerto Vallarta and are threatening to sink it in 7 days with all 616 passengers and…
Why I Am Not An Integrated Information Theorist (or, The Unconscious Expander)
Happy birthday to me! Recently, lots of people have been asking me what I think about IIT—no, not the Indian Institutes of Technology, but Integrated Information Theory, a widely-discussed &#…
Adventures in Depression
Some people have a legitimate reason to feel depressed, but not me. I just woke up one day feeling sad and helpless for absolutely no reason...
Ketamine: Now By Prescription
Last week the FDA approved esketamine for treatment-resistant depression. Let’s review how the pharmaceutical industry works: a company discovers and patents a potentially exciting new drug. …
What if You Only Invested at Market Peaks?
What happens when you only invest at the peaks of the market by being the world's worst market timer.
The Cathedral and the Bazaar
My third book
Undergraduation
March 2005 (Parts of this essay began as replies to students who wrote to me with questions.) Recently I've had several emails from computer science undergrads asking what to do in college. I might not be the best source of advice, because I was a philosophy major in college. But I took so many CS classes that most CS…
The Last Psychiatrist: Luxury Branding The Future Leaders Of The World
This is a brilliant campaign, for technical and artistic reasons. What is the brand that it conveys? Heirloom quality .
[REPOST] The Non-Libertarian FAQ
[This is a repost of the Non-Libertarian FAQ (aka “Why I Hate Your Freedom”), which I wrote about five years ago and which used to be hosted on my website. It no longer completely refle…
1. The Great Ptolemaic Smackdown
TOF once wrote an article entitled "The Great Ptolemaic Smackdown and Down 'n Dirty Mud-Wrassle" which described the century-long progress f...
US Rail Construction Costs
Update 2017/7/1: this is the most linked-to post of mine about construction costs, even though the dataset here is relatively small. You can see links to more posts, with more datapoints, on my sta…
Things that amuse me
I think the only serious gripe is what you call your biggest gripe, and I must say that I envy this in Haskell. As you know, in the eager world we tend to write out our own recursive functions, rather than use combinators. You give part of the reason; the other part is that deforestation and related transformations…
The PHP Singularity
Look at this incredible thing Ian Baker created. Look at it! What you’re seeing is not Photoshopped. This is an actual photo of a real world, honest to God double-clawed hammer. Such a thing exists. Isn’t that amazing? And also, perhaps, a little disturbing? That wondrous hammer
Raycasting
deltaDistX = sqrt(1 + (rayDirY * rayDirY) / (rayDirX * rayDirX)) deltaDistY = sqrt(1 + (rayDirX * rayDirX) / (rayDirY * rayDirY))
Removing the PowerShell curl alias?
PowerShell is a spiced up command line shell made by Microsoft. According to some people, it is a really useful and good shell alternative. Already a long time ago, we got bug reports from confused users who couldn't use curl from their PowerShell prompts and it didn't take long until we figured out that Microsoft ……
JavaScript’s internal character encoding: UCS-2 or UTF-16?
Does JavaScript use UCS-2 or UTF-16 encoding? Since I couldn’t find a definitive answer to this question anywhere, I decided to look into it. The answer depends on what you’re referring to: the JavaScript engine, or JavaScript at the language level.
Write Down Your Password
Microsoft’s Jesper Johansson urged people to write down their passwords. This is good advice, and I’ve been saying it for years. Simply, people can no longer remember passwords good enough to reliably defend against dictionary attacks, and are much more secure if they choose a password too complicated to remember and…