Yeah. I should have used these definitions for clarity:
empty? → truthy/falsey check
sort! → danger ahead (mutates, raises, etc.)
Yeah. I should have used these definitions for clarity:
empty? → truthy/falsey check
sort! → danger ahead (mutates, raises, etc.)
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.
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.
Cloudflare's AI offerings for the Worker suite are top notch.
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.
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.
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.
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.
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.
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...
Asciidoc is such a great document format. Wish the software community had standardized on it instead of Markdown.
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.
The Ruby/Rails ecosystem is unmatched for full stack development. So many great and mature tools.
I'm curious. Did you get packaging with traveling ruby working? @bradgessler.com
Terminalwire looks really slick. Looking forward to giving it a spin.
Current Status: Yak shaving a migration from Docker to Podman.
Hoping to fold that agent stuff into a gem. Only need more time in the day. 😜
New version of LocalBus (v0.3.1) - minor updates and cleanup. github.com/hopsoft/loca...
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.
Still kind of sad that ActiveResource didn’t see wider adoption.
Just shipped LocalBus v0.3.0 🚀
- Message priority
- Several other small enhancements
New version of LocalBus shipping soon. Message priority and several other enhancements. github.com/hopsoft/loca...
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.
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...
The more I dig into the Socketry suite of Ruby gems, the more impressed I am. Some really great work in these libs.
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.
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...
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.”