Nate Hopkins
banner
hopsoft.bsky.social
Nate Hopkins
@hopsoft.bsky.social
Software writer, maker. Creator of several Ruby and JavaScript libraries.
Ruby's predicate (?) and bang (!) methods make code speak for itself:

empty? → returns boolean
sort! → mutates, danger ahead

vs:

isEmpty() → less expressive
sortInPlace() → verbose

Language design choices like this make Ruby a joy to write.
January 24, 2025 at 7:26 PM
Cloudflare's AI offerings for the Worker suite are top notch.
January 18, 2025 at 5:39 PM
I'm blown away by how AI has revolutionized market research - what used to take weeks can now be done in minutes with incredible accuracy.
January 17, 2025 at 9:34 PM
Protip: If you have a robot vacuum that won't charge, take a fine grit sand paper and sand/polish the connection points on both the vacuum and charger. You'll be back in business.
December 31, 2024 at 4:48 AM
If anyone would like to try the "Screenshot to Code" app which converts screenshots to HTML styled with TailwindCSS, I have a branch with everything Dockerized. All you need is your OpenAI API key. github.com/hopsoft/tail...
December 31, 2024 at 2:48 AM
Asciidoc is such a great document format. Wish the software community had standardized on it instead of Markdown.
December 30, 2024 at 3:31 AM
The Ruby/Rails ecosystem is unmatched for full stack development. So many great and mature tools.
December 17, 2024 at 8:52 PM
Current Status: Yak shaving a migration from Docker to Podman.
December 12, 2024 at 8:52 PM
New version of LocalBus (v0.3.1) - minor updates and cleanup. github.com/hopsoft/loca...
GitHub - hopsoft/local_bus: A lightweight pub/sub system for decoupled intra-process communication in Ruby applications
A lightweight pub/sub system for decoupled intra-process communication in Ruby applications - hopsoft/local_bus
github.com
December 11, 2024 at 2:16 PM
Who's working on RBS type support for editors like VSCode, Cursor, Neovim, etc? Looking for non-AI code hints based on RBS type signatures.
December 10, 2024 at 3:59 PM
Still kind of sad that ActiveResource didn’t see wider adoption.
December 6, 2024 at 11:48 PM
Just shipped LocalBus v0.3.0 🚀
- Message priority
- Several other small enhancements
December 3, 2024 at 10:27 PM
New version of LocalBus shipping soon. Message priority and several other enhancements. github.com/hopsoft/loca...
Add priority for Station#publish by hopsoft · Pull Request #5 · hopsoft/local_bus
Leans more heavily into Socketry and removes the dependency on concurrent-ruby.
github.com
December 2, 2024 at 4:04 PM
Are you leveraging AI effectively? Using it to crank out more code misses the point; instead, focus on AI-driven features.

Less code == fewer bugs & better security.

Use AI for smarter solutions, not just to pad your codebase.
December 1, 2024 at 5:42 PM
Started efforts to add message priority to LocalBus. I'm also working to simplify the implementation by leaning more heavily into Socketry. github.com/hopsoft/loca...
Add priority for Station#publish by hopsoft · Pull Request #5 · hopsoft/local_bus
Leans more heavily into Socketry and removes the dependency on concurrent-ruby.
github.com
November 30, 2024 at 6:52 PM
The more I dig into the Socketry suite of Ruby gems, the more impressed I am. Some really great work in these libs.
November 30, 2024 at 4:17 PM
Here's a little demo of a sandbox environment for Strapi the headless CMS. It provides a safe place to experiment with Strapi features and its CLI. youtu.be/x4IiO7I8pLQ?...

repo: github.com/hopsoft/stra...
Strapi CMS sandbox demo
YouTube video by Hopsoft
youtu.be
November 28, 2024 at 3:36 AM
Setting up a new Mac and trying a transfer from the old machine. 😬🤞
November 22, 2024 at 6:55 PM
Fern looks pretty slick. I'm curious if any of my Ruby friends out there are using it? Curious to hear about experiences with it... even with other langs. buildwithfern.com
Fern | SDKs and Docs for your API
Generate SDKs and Docs for your API. Compatible with OpenAPI, Swagger, and AsyncAPI.
buildwithfern.com
November 21, 2024 at 4:03 PM
Here's a short demo that illustrates how I'm using the Fmt gem in the new TurboBoost monorepo. github.com/hopsoft/fmt
youtu.be/zuT60emqmrE
Intro demo of the Fmt Ruby gem
YouTube video by Hopsoft
youtu.be
November 16, 2024 at 6:27 PM
Creating something is highly rewarding and an end unto itself. Humans will never stop creating even if/when AI outpaces human capability. In fact, the possibilities expand dramatically when humans leverage AI.
November 14, 2024 at 6:51 PM
Finally turning my attention back to TurboBoost libraries. 🙌
November 14, 2024 at 6:23 PM
New release of the Fmt Ruby GEM with improved handling of string encodings. github.com/hopsoft/fmt
GitHub - hopsoft/fmt: CLI Templating System and String Formatter
CLI Templating System and String Formatter. Contribute to hopsoft/fmt development by creating an account on GitHub.
github.com
November 13, 2024 at 4:33 PM
Programming languages optimized for humans may not be the best fit for scenarios where machines write most of the code.
November 12, 2024 at 11:37 PM
Just released LocalBus v0.2.0! 🎉 Constructor signatures for `bus` and `station` are more consistent. Internals remain the same. github.com/hopsoft/loca...
GitHub - hopsoft/local_bus: A lightweight pub/sub system for decoupled intra-process communication in Ruby applications
A lightweight pub/sub system for decoupled intra-process communication in Ruby applications - hopsoft/local_bus
github.com
November 11, 2024 at 6:31 PM