David Heinemeier Hansson says he got an Amiga 500 around 1987 and still considers the Amiga perhaps his favorite computer.
“I got the Amiga 500, I think in 87.”
Person
David Heinemeier Hansson, known as DHH, is a programmer and business owner who spoke with Lex Fridman on a podcast episode that aired on 12 July 2025. The conversation covered the Ruby on Rails programming framework, his career, and his decision to move 37signals off the cloud.
Hansson told Fridman that 37signals moved seven major applications onto its own servers in just over six months, starting in 2023. He also said Shopify ran about 1 million dynamic requests per second on Rails on Black Friday. Beyond software, he talked about racing at the 24 Hours of Le Mans, which he first entered in 2012.
1 episodes · 25 quoted claims
David Heinemeier Hansson says he got an Amiga 500 around 1987 and still considers the Amiga perhaps his favorite computer.
“I got the Amiga 500, I think in 87.”
Hansson says he started a bulletin board system at age 14 in his bedroom in Copenhagen, serving the demo scene and trading pirated software.
“And I ended up starting one of those when I was 14 years old in my tiny little bedroom in Copenhagen.”
Hansson was first hired as a professional programmer by Jason Fried in 2001, after about 18 months of building gaming websites in PHP.
“All the way back in 2001, I had been working on these gaming websites in PHP for essentially 18 months at that point.”
Hansson says he built a proof-of-concept database-to-HTML page in Ruby in about one weekend, after giving himself two weeks.
“It took about one weekend, and I was completely mesmerized.”
Hansson says Shopify handled about 1 million dynamic requests per second on Black Friday, running on Ruby on Rails.
“On Black Friday, I think Shopify did 1 million requests per second.”
Hansson estimates the Shopify Rails monolith is about 5 million lines of code.
“the Shopify monolith is about 5 million lines of code”
Shopify CEO Tobias Lütke was on the Rails core team in the mid-2000s and wrote Active Merchant and the Liquid templating language, which Shopify still uses.
“Toby himself wrote Active Merchant, which is one of the frameworks for creating shops.”
Hansson says his invoice for the first version of Basecamp in 2004 was 400 hours of work.
“I know that the invoice for the first version of Basecamp was 400 hours.”
Hansson says Gmail ships about 28 MB of uncompressed JavaScript while Hey shipped about 40 KB at launch.
“Hey, which is a Gmail competitor, Gmail ships, I think, 28 megabytes of uncompressed JavaScript.”
Hansson says 37signals had not collected sales tax in several US states, and fixing it took about two years and $5 million in settlements and cleanups.
“And it took us about two years and $5 million in settlements and cleanups to get out of that mess.”
Jeff Bezos bought an ownership stake in Basecamp from its two owners directly, so all proceeds went to Hansson and Jason Fried personally and none to the company.
“He bought a ownership stake directly from Jason and I, and 100 % of the proceeds of that purchase went into my and Jason's bank account.”
Hansson says 37signals' AWS spending peaked at about $3.2 to $3.4 million.
“Our total cloud bill for Basecamp, our total spend with AWS was I think 3.2 million or 3.4 million at its peak.”
Starting from a realization in early 2023, 37signals moved seven major applications off the cloud onto its own servers in just over six months.
“And in just over six months, we moved seven major applications out of the cloud”
37signals signed a four-year contract with AWS to store its customer files in S3 and later cut infrastructure spending by half to two-thirds.
“We signed a four-year contract to store our petabytes of customer files in the cloud”
Hansson says Amazon Web Services operates at almost 40 percent margin.
“AWS, by the way, operates at almost 40 % margin.”
Hansson says his top speed was around 340 km/h, just over 200 mph, at Le Mans in an LMP2 car.
“I was probably at Le Mans. I think when the LMP2s were at their maximum power and had 600 horsepower and really sticky tires, we were going 340 kilometers an hour”
Hansson began real competitive racing in 2009 and first started the 24 Hours of Le Mans in 2012.
“And I started racing in real competition 2009. And three years later in 2012, I was at the grid of Le Mans for the first”
Hansson says the 24 Hours of Le Mans has been run since the 1920s, and that Tom Kristensen won it nine times.
“The race has been going since the 20s.”
Hansson says Hey launched one week before Apple's WWDC, which helped 37signals publicize its dispute over Apple's 30 percent in-app payment cut.
“We were blessed by the fact that we launched Hay one week before the WWDC”
Hansson says Epic Games CEO Tim Sweeney revealed that Epic's legal fight with Apple cost well over $100 million in legal fees.
“Tim recently revealed that it has cost well over $100 million in legal fees to carry on this battle against Apple.”
Hansson says he did not get a driver's license until age 25, because car taxes in Copenhagen are very high, and then moved to the US.
“I did not get my driver's license until I was 25.”
Hansson says he has about a thousand hours logged in Fortnite, all played with his children.
“I have a thousand hours logged in Fortnite since 19, I think All of it with my kids”
Hansson cites one estimate that over a million applications have been built with Ruby on Rails, including Shopify and GitHub.
“Over a million applications have been made with Ruby on Rails by one estimate that I've seen.”
Hansson says Shopify CEO Tobi Lütke circulated a memo asking staff to consider whether a task could be done by AI before hiring someone.
“Toby actually put out a memo inside of Shopify, asking everyone who's considering hiring someone to ask the question, could this be done by AI?”
Hansson says he switched from Mac to Linux about a year before the interview, and built an Ubuntu-based setup called Omakub.
“I switched to a little over a year ago after I finally got fed up with Apple enough that I couldn't do that anymore.”