464: Modelling the stars with Rémy Hannequin
Episode
42 min
Read time
2 min
Topics
Design & UX, Software Development, Psychology & Behavior
AI-Generated Summary
Key Takeaways
- ✓Value Objects for Units: Wrap raw numbers in objects to prevent unit conversion errors (meters vs miles) and enable natural operations like distance addition while automatically handling conversions, similar to Rails' ActiveSupport Duration with five.days syntax.
- ✓Domain-Driven Design Translation: Use terminology from scientific literature when naming code objects and methods to enable direct collaboration between domain experts and developers, eliminating translation overhead and making contributions more accessible to astronomers reviewing code.
- ✓Light Time Correction: Astronomical positioning requires correcting for light travel time since observed celestial bodies appear where they were in the past—moon one second ago, sun eight minutes ago, planets thirty to forty minutes ago—creating difference between geometric and apparent positions.
- ✓Performance Trade-offs: Value objects improve safety and readability but hurt performance in high-iteration calculations. Switch to raw numbers (like radians) when instantiating and converting objects repeatedly becomes a bottleneck, prioritizing practical results over architectural purity.
What It Covers
Rémy Hannequin discusses building Astronomy, a Ruby gem for celestial body positioning calculations, covering domain-driven design patterns, value objects, and translating complex astronomical mathematics into developer-friendly Ruby code for telescope positioning.
Key Questions Answered
- •Value Objects for Units: Wrap raw numbers in objects to prevent unit conversion errors (meters vs miles) and enable natural operations like distance addition while automatically handling conversions, similar to Rails' ActiveSupport Duration with five.days syntax.
- •Domain-Driven Design Translation: Use terminology from scientific literature when naming code objects and methods to enable direct collaboration between domain experts and developers, eliminating translation overhead and making contributions more accessible to astronomers reviewing code.
- •Light Time Correction: Astronomical positioning requires correcting for light travel time since observed celestial bodies appear where they were in the past—moon one second ago, sun eight minutes ago, planets thirty to forty minutes ago—creating difference between geometric and apparent positions.
- •Performance Trade-offs: Value objects improve safety and readability but hurt performance in high-iteration calculations. Switch to raw numbers (like radians) when instantiating and converting objects repeatedly becomes a bottleneck, prioritizing practical results over architectural purity.
Notable Moment
Hannequin's homemade blueberry wine fermentation created so much carbonation that when his wife opened the bottle without caution, the pressurized liquid exploded throughout their kitchen, painting walls and ceiling blue-purple with stains still visible today.
You just read a 3-minute summary of a 39-minute episode.
Get The Bike Shed summarized like this every Monday — plus up to 2 more podcasts, free.
Pick Your Podcasts — FreeKeep Reading
More from The Bike Shed
506: The Muppet Software Team
Jul 14 · 38 min
David Senra
David Heinemeier Hansson (DHH), Co-founder of 37signals
Jul 26
More from The Bike Shed
505: What is a “principal” or “staff” engineer?
Jul 7 · 34 min
The Mel Robbins Podcast
How to Build a Better Future: 2 Simple Questions That Uplevel Your Life Immediately
Jul 11
Books, tools, and gear mentioned in this episode
SignalCast may earn commission on purchases via these links.
Tools
“Wrap raw numbers in objects to prevent unit conversion errors (meters vs miles) and enable natural operations like distance addition while automatically handling conversions, similar to Rails' ActiveSupport Duration with five.days syntax.”
“Rémy Hannequin discusses building Astronomy, a Ruby gem for celestial body positioning calculations, covering domain-driven design patterns, value objects, and translating complex astronomical mathematics into developer-friendly Ruby code for telescope positioning.”
More from The Bike Shed
We summarize every new episode. Want them in your inbox?
Similar Episodes
Related episodes from other podcasts
David Senra
Jul 26
David Heinemeier Hansson (DHH), Co-founder of 37signals
The Mel Robbins Podcast
Jul 11
How to Build a Better Future: 2 Simple Questions That Uplevel Your Life Immediately
How I Built This
Jun 11
Advice Line with Christina Tosi of Milk Bar
The Diary of a CEO
May 29
Most Replayed Moment: The Hidden Organ That Controls Exactly How You Age!
The Founders Podcast
Apr 19
#417 Arnold Schwarzenegger
Explore Related Topics
This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.
Read this week's Software Engineering Podcast Insights — cross-podcast analysis updated weekly.
You're clearly into The Bike Shed.
Every Monday, we deliver AI summaries of the latest episodes from The Bike Shed and 192+ other podcasts. Free for one show.
Start My Monday DigestNo credit card · Unsubscribe anytime