In short
Podcast Notes: Developing with Docker (the right way) - The Changelog
Podcast Title: The Changelog: Software Development, Open Source Episode Title: Developing with Docker (the right way) (News) Episode Description: Insights on Docker from Daniel Quinn, updates on Ghost TTY, learning efficiency by Kevin Li, developments at The Browser Company, and React Native's new architecture.
---
Summary
This episode of *The Changelog* features discussions around best practices for using Docker, the upcoming release of Ghost TTY, insights on efficient learning, and significant updates from The Browser Company and React Native.
---
Key Discussions
- Developing with Docker
- Speaker: Daniel Quinn
- Main Argument:
- There's a need for a standardized approach to Docker usage across software projects.
- Docker should not be project-specific but a common practice.
- Key Quote: "If you're using Docker, you aren't writing software anymore. Instead, you're building immutable images."
- Emphasizes that images should be identical across development, testing, and production stages to ensure reliability.
- Advocates for the 12-Factor app methodology as beneficial for Docker-based systems.
- Ghost TTY Announcement
- Speaker: Mitchell Hashimoto
- Details:
- Ghost TTY 1.0 is set to be publicly released in December.
- Described as a "drop-in replacement" for current terminal emulators on macOS and Linux.
- Key Features:
- Fast and feature-rich.
- Platform-native GUI.
- Open source under the MIT license.
- Hashimoto aims for Ghost TTY to merge speed, features, and usability without compromise.
- Learning to Learn
- Speaker: Kevin Li
- Concept:
- Focuses on the importance of learning how to learn effectively.
- Claims that enhancing learning strategies can yield significant efficiency.
- Key Efficiency Insight:
- 40 hours at 25% efficiency equals 12.5 hours at 80% efficiency.
- Suggested Optimal Learning Flow:
- Identify foundational knowledge quickly.
- Develop a personal curriculum to become an expert.
- Sprint hard for the initial learning phase, then slow down for retention.
- Sponsored Segment: AI GPU Clusters
- Highlight:
- Overview of Livebook, Flame, and the NX stack showcased at ElixirConf 2024.
- Announced that Livebook can leverage Fly.io's cloud for GPU clusters, allowing advanced computational tasks from local setups.
- The Browser Company Updates
- ARC Browser:
- Identified as "a dead browser walking."
- CEO Josh Miller noted that while ARC has a loyal user base, it has failed to achieve mainstream adoption due to its complexity.
- Future efforts will focus on creating a new browser aimed at broader audiences.
- React Native Architecture Update
- New Architecture Details:
- A complete rewrite of core systems in React Native.
- Includes improvements in:
- Component rendering.
- Communication between JavaScript and native abstractions.
- Work scheduling across threads.
- Production Use:
- The new architecture has been tested by companies like Expensify, Kraken, and Blue Sky.
---
Key Takeaways
- Docker Usage: Aim for uniformity in Docker practices to enhance reliability and reduce discrepancies in development to production processes.
- Ghost TTY Launch: A new terminal emulator is on the horizon, promising a balance of speed, features, and usability, leveraging open-source principles.
- Learning Strategies: Focus on learning how to learn by identifying core concepts quickly and maintaining efficient learning rates.
- Browser Market Challenges: The complexities of modern browsers can hinder mainstream adoption, indicating a need for simpler, more accessible solutions.
- Future of React Native: The new architecture positions React Native for improved performance and capability, addressing past limitations effectively.
---
Upcoming Episodes
- A discussion with DHH on Rails 8 scheduled for Wednesday.
- A recap of all things open source on Friday.
---
For more stories and insights, check the companion newsletter at [changelog.com/news](https://changelog.com/news).
Written by AI. May contain mistakes. Listen to the episode to check what was said.
Transcript
Automatic transcript. May contain errors.0:28What up nerds? He used Docker differently at every job he started in the past 10 plus years. It's time for some consensus, he thinks, on how to do it right. Quote, The argument here is that the use of Docker and various tooling shouldn't be unique to any particular project, that this sort of thing should be so standard it's both common and boring to even think about. My experience tells me that we are not there yet though, so this is just me making the case for what I think constitutes a good setup. End quote. Daniel's major argument is that if you're using Docker, you aren't writing software anymore.
1:06Instead, you're building immutable images. Quote, images that are developed locally, tested in CI, and deployed to production, but importantly, the image at each of these stages is exactly the same, reproducible at every turn. There's little value in developing and testing one thing if what you roll out to production is something else entirely. End quote. Check out his article, link in the newsletter, for why he thinks the 12-Factor app is uniquely suited to Docker-based systems. Ghost TTY 1.0 is coming. Mitchell Hashimoto says his new terminal emulator will be publicly released this coming December.
1:48Quote, in short, Ghost TTY 1.0 aims to be the best drop-in replacement for your current terminal emulator on macOS and Linux. Ghost TTY will be fast, feature-rich, and have a platform-native GUI while being the most standards-compliant terminal emulator available. End quote. Why Ghost TTY? Mitchell felt that the existing terminal emulators pushed an unnecessary choice between speed, features, and platform-native GUIs. With Ghost TTY, Mitchell says pick any three. And since Mitchell previously built a publicly traded company around his open source work, this note on finances is worth highlighting.
2:31Quote, Ghost TTY is a passion project for me and I have no plans to pursue any sort of commercialization of the project. Ghost DTY will be released as an open source project under the MIT license. Learning to learn. Maybe we spend too much time learning and not enough time learning how to learn better. Here's Kevin Lee. Quote, learning to learn is extremely high leverage. 40 hours at 25 % efficiency is the same as 12.5 hours at 80 % efficiency. And it turns out that being productively honest is one of the most effective and kindest things you can do for yourself. End quote. If you want to take your learning process more seriously, maybe try this suggested optimal learning flow.
3:19One, very quickly identify what the foundational knowledge is. Two, build a personal curriculum to become an expert and avoid the trap of the expert beginner. 3. Sprint hard the first 15-20 hours to impress initial memory, then decelerate to a more regular pace. It's now time for sponsored news. AI GPU clusters from your laptop with Livebook. There's an excellent post on Fly.io's blog that recaps Chris McCord and Chris Granger's ElixirConf keynote. It starts with this, quote, Livebook, Flame, and the NX stack three Elixir components that are easy to describe, more powerful than they look, and intricately threaded into the Elixir ecosystem.
4:04A few weeks ago, Chris McCord and Chris Granger showed them off at ElixirConf 2024. We thought the talk was worth a recap. End quote. Did you know that any Livebook, including the one running on your laptop, can start a runtime running on a Fly machine in Fly.io's public cloud? That's pretty cool. That Elixir machine lives in your default Fly.io organization, giving it networked access to all the other apps that might live there. But that's just the start. Check out the post to see how the Chris's used Flame to generate a cluster of 64 GPU fly machines, each running L40s GPUs to do hyperparameter tuning on a laptop.
4:42Link to that post is in your newsletter, and thank you to Fly.io for sponsoring Changelog News. ARC is a dead browser walking. I verbalized my concern with the otherwise exciting ARK browser being venture-backed on a couple occasions. Concerns realized. Quote, ARK has gained a loyal user base but ultimately hasn't achieved mainstream adoption, which the browser company wants. CEO Josh Miller spoke on a YouTube video about the company's realization that ARK, due to its complexity and unique features, caters more to power users and might not reach the wider audience that the company wants. End quote.
5:21They are now working on a new browser that they hope will go mainstream. That's a hard pass from this guy. Fool me once, shame on you. Fool me twice? React Native's new architecture is here. Congrats to the React Native team for shipping a major rewrite that sets the project up for the future. Quote, the new architecture is a complete rewrite of the major systems that underpin React Native, including how components are rendered, how JavaScript abstractions communicate with native abstractions, and how work is scheduled across different threads. Although most users should not have to think about how these systems work, these changes bring improvements and new capabilities.
6:01End quote. The old architecture was holding the team back, making it difficult, if not impossible, to properly support React's concurrent features. To solve these problems, the new architecture includes four main parts, the new native module system, the new renderer, the event loop, and removing the bridge. The new architecture is now ready for prime time. In fact, it's been in production use for months at shops like Expensify, Kraken, and Blue Sky. That is the news for now, but do scan the companion changelog newsletter for even more stories worth your attention. Like slash temp is usually a bad idea.
6:38Embeddings are underrated, and Stephen O 'Grady's freshest take on the open source AI definition, spoiler alert, he does not believe the term open source can or should be extended into the AI world. You can find the newsletter link in your show notes or at changelog.com slash news. We have some great episodes coming up this week. DHH talks Rails 8 with us on Wednesday and on Friday, we'll bring you the best of our all things open conversations that we're probably having right now while you listen to this. Have a great week. Tell your friends about changelog news if you think they'll dig it. And I'll talk to you again real soon.
From the publisher
Daniel Quinn weighs in on how to develop with Docker The Right Way, Mitchell Hashimoto says Ghostty will be publicly released this coming December, Kevin Li writes about the value of learning how to learn, The Browser Company moves on from Arc & the React Native team ships its new architecture.

