Sign in

Nate Hopkins

@hopsoft.bsky.social
955 followers 451 following 59 posts

Software writer, maker. Creator of several Ruby and JavaScript libraries.

PostsRepliesMedia
Nate Hopkins @hopsoft.bsky.social · 28/01/2025
Yeah. I should have used these definitions for clarity: empty? → truthy/falsey check sort! → danger ahead (mutates, raises, etc.)
030 0
Nate Hopkins @hopsoft.bsky.social · 24/01/2025
I guess truthy works given the intent is a boolean-like conditional check. I prefer coercing to boolean for predicate methods, but it's not a hill I'd die on.
240 0
Nate Hopkins @hopsoft.bsky.social · 24/01/2025
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.
4254 0
Nate Hopkins @hopsoft.bsky.social · 18/01/2025
Cloudflare's AI offerings for the Worker suite are top notch.
030 0
Nate Hopkins @hopsoft.bsky.social · 18/01/2025
Then you need to keep following up to ensure that the analysis is correct. I use follow up prompts like, "Are you sure? Perform more research and verify that your last response was accurate and comprehensive." It takes a few iterations to dial it in.
100 0
Nate Hopkins @hopsoft.bsky.social · 18/01/2025
Yeah. I've had to fork the conversations several times due to weird AI behavior like that. It's also good to check against multiple LLMs and with different web search tools.
100 0
Nate Hopkins @hopsoft.bsky.social · 17/01/2025
It takes iteration. Start with a product idea & have AI perform competitor analysis to establish an initial pricing model. Then pick ad platforms that you intend to use, enter budgets, & calculate metrics like CPM, CPC, CR, CAC, LTV, etc. You'll learn quick whether or not it's feasible.
120 0
Nate Hopkins @hopsoft.bsky.social · 17/01/2025
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.
130 0
Nate Hopkins @hopsoft.bsky.social · 31/12/2024
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.
040 0
Nate Hopkins @hopsoft.bsky.social · 31/12/2024
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...
031 0
Nate Hopkins @hopsoft.bsky.social · 30/12/2024
Asciidoc is such a great document format. Wish the software community had standardized on it instead of Markdown.
110 0
Nate Hopkins @hopsoft.bsky.social · 22/12/2024
How about defining and removing constants and changing behavior of other classes/modules via patching? Still technically message passing but the side effects are bigger. Another possibility is throw/catch.
120 0
Nate Hopkins @hopsoft.bsky.social · 17/12/2024
The Ruby/Rails ecosystem is unmatched for full stack development. So many great and mature tools.
3260 0
Nate Hopkins @hopsoft.bsky.social · 17/12/2024
Have you looked into Tebako? www.tebako.org
tebako.org
Tebako
Official website for Tebako, the executable packager.
110 0
Nate Hopkins @hopsoft.bsky.social · 17/12/2024
I'm curious. Did you get packaging with traveling ruby working? @bradgessler.com
100 0
Nate Hopkins @hopsoft.bsky.social · 17/12/2024
Terminalwire looks really slick. Looking forward to giving it a spin.
210 0
Nate Hopkins @hopsoft.bsky.social · 12/12/2024
Current Status: Yak shaving a migration from Docker to Podman.
010 0
Nate Hopkins @hopsoft.bsky.social · 12/12/2024
Hoping to fold that agent stuff into a gem. Only need more time in the day. 😜
000 0
Nate Hopkins @hopsoft.bsky.social · 11/12/2024
New version of LocalBus (v0.3.1) - minor updates and cleanup. github.com/hopsoft/loca...
github.com
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
030 0
Nate Hopkins @hopsoft.bsky.social · 10/12/2024
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.
031 0
Nate Hopkins @hopsoft.bsky.social · 06/12/2024
Still kind of sad that ActiveResource didn’t see wider adoption.
040 0
Nate Hopkins @hopsoft.bsky.social · 03/12/2024
github.com/hopsoft/loca...
github.com
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
021 0
Nate Hopkins @hopsoft.bsky.social · 03/12/2024
Just shipped LocalBus v0.3.0 🚀 - Message priority - Several other small enhancements
140 0
Nate Hopkins @hopsoft.bsky.social · 02/12/2024
New version of LocalBus shipping soon. Message priority and several other enhancements. github.com/hopsoft/loca...
github.com
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.
010 0
Nate Hopkins @hopsoft.bsky.social · 01/12/2024
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.
220 0
Nate Hopkins @hopsoft.bsky.social · 30/11/2024
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...
github.com
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.
040 0
Nate Hopkins @hopsoft.bsky.social · 30/11/2024
The more I dig into the Socketry suite of Ruby gems, the more impressed I am. Some really great work in these libs.
0120 0
Nate Hopkins @hopsoft.bsky.social · 28/11/2024
With open data, anyone can subscribe to the firehose, detect toxicity metrics, and publish those account names or phrases-words to mute etc. I’m certain we’ll see such things soon if they don’t already exist.
020 0
Nate Hopkins @hopsoft.bsky.social · 28/11/2024
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...
youtu.be
Strapi CMS sandbox demo
YouTube video by Hopsoft
030 0
Nate Hopkins @hopsoft.bsky.social · 25/11/2024
I wonder about this too. I get sad if I think too much on it mostly because art lasts much longer than software. You can flex those creative instincts with software, but most of your work will fade or be replaced within 5 years. Reminds me of one of my art professors that said, “Art is destruction.”
020 0
Nate Hopkins @hopsoft.bsky.social · 22/11/2024
It’s a used MacBook Pro M1 with 32G ram. Had an M1 air with half the ram before.
010 0
Nate Hopkins @hopsoft.bsky.social · 22/11/2024
This is cool. What did you use to create the visualization?
110 0
Nate Hopkins @hopsoft.bsky.social · 22/11/2024
Setting up a new Mac and trying a transfer from the old machine. 😬🤞
130 0
Nate Hopkins @hopsoft.bsky.social · 21/11/2024
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
buildwithfern.com
Fern | SDKs and Docs for your API
Generate SDKs and Docs for your API. Compatible with OpenAPI, Swagger, and AsyncAPI.
000 0
Nate Hopkins @hopsoft.bsky.social · 21/11/2024
010 0
Nate Hopkins @hopsoft.bsky.social · 19/11/2024
I’m wrapping up some work on TurboBoost that addresses several challenges when using Shoelace/WebAwesome/Web components with Rails and SSR. Excited to share soon.
120 0
Nate Hopkins @hopsoft.bsky.social · 17/11/2024
A for me.
010 0
Nate Hopkins @hopsoft.bsky.social · 16/11/2024
Quick follow up that demonstrates how to register pipeline macros with Fmt. youtu.be/6sVc7Z_WQRc
youtu.be
How to register macros with the Fmt gem.
YouTube video by Hopsoft
011 0
Nate Hopkins @hopsoft.bsky.social · 16/11/2024
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
youtu.be
Intro demo of the Fmt Ruby gem
YouTube video by Hopsoft
182 0
Nate Hopkins @hopsoft.bsky.social · 14/11/2024
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.
050 0
Nate Hopkins @hopsoft.bsky.social · 14/11/2024
Finally turning my attention back to TurboBoost libraries. 🙌
040 0
Nate Hopkins @hopsoft.bsky.social · 13/11/2024
New release of the Fmt Ruby GEM with improved handling of string encodings. github.com/hopsoft/fmt
github.com
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.
010 0
Nate Hopkins @hopsoft.bsky.social · 13/11/2024
Makes sense given that AI is predicated on natural language. I love Ruby more than anything and would prefer a world where I can easily mix and match my code and thinking style with machine generated code.
110 0
Nate Hopkins @hopsoft.bsky.social · 12/11/2024
Programming languages optimized for humans may not be the best fit for scenarios where machines write most of the code.
230 0
Nate Hopkins @hopsoft.bsky.social · 11/11/2024
Looks like the drain plug.
020 0
Nate Hopkins @hopsoft.bsky.social · 11/11/2024
Just released LocalBus v0.2.0! 🎉 Constructor signatures for `bus` and `station` are more consistent. Internals remain the same. github.com/hopsoft/loca...
github.com
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
031 0
Nate Hopkins @hopsoft.bsky.social · 11/11/2024
GoogleLM Notebook is quite good. They've hidden so much of the underlying complexity and makes it approachable. Great job on the UX.
000 0
Nate Hopkins @hopsoft.bsky.social · 05/11/2024
Here's the LocalBus follow up demo of an agent system built atop the Gem. youtu.be/CKymFDe2nFA
youtu.be
Ruby Agent System built on LocalBus
YouTube video by Hopsoft
161 0
Nate Hopkins @hopsoft.bsky.social · 05/11/2024
Simple demo of the new LocalBus Ruby Gem. youtu.be/l7Iy-HDyOoc?...
youtu.be
LocalBus Ruby Gem Demo
YouTube video by Hopsoft
041 0