How to self-publish a programming book
Ayush Newatia shares his journey of making the Rails and Hotwire Codex

Today I'm excited to share a conversation with Ayush Newatia, author of the Rails and Hotwire Codex. He describes the project as “the most challenging and rewarding professional work I’ve ever done.”
I bought his book a couple of years ago to help me learn more about building full-stack applications with the Ruby on Rails and Hotwire frameworks. It bridges the gap between beginner-level tutorials and building Rails applications in a professional setting.
Ayush and I met in London last week to collaborate on some work with Find AI, so I thought it would be fun to record a chat about how and why he published this tome about full-stack development with Ruby and Rails.
We cover:
- How he came from the iOS + Android mobile apps to Ruby on Rails
- Why he decided to write a book unifying Rails + mobile apps
- How he had never made a mobile app with Rails before starting a book on this topic
- How he motivated himself to finish the book and get it shipped
- Why writing is a superpower for programmers
- The value of doing hard things without taking shortcuts
- How doing hard things is the best way to stand out as a modern knowledge worker
Watch on Youtube. Listen to a recording of this conversation on Apple Podcasts, Spotify, or other podcast players.
Links from the episode
- Ayush's sites: Radioactive Toy (consulting), Binary Solo (blog)
- Picante recipe (Philip's favorite cocktail we're drinking)
- David Heinemeier Hansson, creator of Ruby on Rails Rails, and his essays Provide Sharp Knives + The One Person Framework
- Ayush's talk Use Turbo Native to make hybrid apps that don't suck
- HEY email
- Ruby on Rails Tutorial by Michael Hartl
- Bridgetown
Keep reading

Outage, tacit knowledge, and a new project
Hello from Boulder, Colorado - where we've been dealing with power outages due to high wind. Alas, as I lost power in Boulder, my apartment in San Francisco also lost power. I knew because my Mac Mini...

Software is bread, not burgers
I was reading the book Richard Hart Bread last night when I came across this paragraph: > Absolute devotion to consistent methods and exact recipes is useful when you’re running a fast-food franchise ...

Talking shop with Aaron Cohn from realnice
Today I'm publishing an conversation I had with Aaron Cohn for the Contraption Company podcast. Aaron is the co-founder of realnice, a simple personal website builder. realnice competes with my produc...