Product-minded Software Developer and Consultant.
Building and maintaining apps using Ruby on Rails and Hotwire.
Supercharging Shopify stores with custom apps.
@coorasse@igor_alexandrov Gotta second this. Just migrated a React app which was built Emotion/Material-UI and various React-libs to Turbo/Stimulus. By far the largest lift was replacing the above.
💡 Rails isn’t just surviving; it’s thriving in 2024. Discover how startups are leveraging Rails for faster product development and smoother migrations from other frameworks. #Rails https://t.co/BqlYakRcUz
Very important to understand this.
This is why you can't just think about problems. Plan to solve problems. Or put together the steps ahead of time to solve problems.
You have to start working on the thing itself to fully understand. You learn as you go, and you learn the most by making progress.
@kirill_shevch Mostly workarounds based on the [disabled] selector on forms or aria-busy for a frame. data-turbo-submits-with if you just want to change a button caption. Best to just hook into https://t.co/Br2WFMjP4H and other relevant events
The key insight with Shape Up was to give up on software estimates entirely. Flip the script. Pick a budget but leave the scope flexible. Then ship the very best you can do within that budget. Works like magic. Great software shipped every 6 weeks. https://t.co/q5VJVnZhoB
Business that used to pay your invoices upon receipt starts paying you net-30. Only 2 things can be happening:
1. They're growing like crazy and got a real CFO
2. They're about to go under
TIL `rails db:migrate:redo` which will roll back your latest migration and run it again. Often I would create a new migration, migrate, and then realize I needed another column added. Roll back, add the column, and migrate again. `db:migrate:redo` does that for you :) ..I wish I could say it was recently added, but nope - has been there forever 😅
DO NOT DELETE FROZEN STRING LITERALS COMMENTS IN 3.4.
3.4 targets files that do not have the comment. Those get warnings if they mutate, so can be fixed before a future full switch (Ruby 4?).
You still want the comment in 3.4 for freezes and to avoid extra allocations.
@nateberkopec This is exactly why I switched to working on a monthly pre-paid retainer basis with optional addendum for extra hours - at least with small-ish startups.
Just reading the 60/90 days late makes my blood boil.
Godspeed, give 'em hell
If you're unable to create a majestic monolith with basic programming tools like encapsulation and namespaces, you don't have what it takes to improve upon the situation with a distributed swarm of microservices. Your spaghetti code will just be on five different plates.
@TweetsOfSumit Keep going for now, your streams are great. If there is a need for this/people complain about it, you can still hire that editor. If you have to edit each little piece out, especially when you're not used to editing, this will just eat up a shitload of time