Awesome! How did the 1/2 marathon go? I’m almost up to 30 min without walking 😊
Posts by Dennis Paagman
I've also made a small pre-push git hook to prevent myself from deploying broken things to Heroku, i've shared it on my website: paagman.dev/rails-local-...
All in all it's a great experience and I highly recommend giving it a try, especially for smaller projects!
I've been using local CI with Rails 8.1 the last weeks. It works well and really is faster, as all those slow set up steps are no longer required.
I ran into a small bug that I fixed and added a `--fail-fast` option. Both got merged into Rails main already!
After listening to about a dozen first-hand accounts, I’ve published what I know about the RubyGems takeover.
Hotwire Native is extremely future proof and the release of iOS 26 shows why → paagman.dev/hotwire-nati...
Tired of 'No route matches [GET] "/.well-known/appspecific/com.chrome.devtools.json"'? No more with this middleware 👉 paagman.dev/handling-chr...
No I never upload to their cloud, just copy and paste the files where I need them.
the baby is in sudo mode all the time, so it's appropriate 😂
Flameshot is pretty good, not as good though!
A solution in Ruby that really showcases some of the nice enumerable methods it has: gist.github.com/dennispaagma...
Awesome :) will add it to my apps soon
Can you also make it give an error or warning on the implicit boolean values? That's a yml footgun that would be great to avoid!
So you are not entertained?
Awesome! Can't bring my espresso machine, but hopefully I can still get some good coffee ☕
do you keep away from STI because it does not work with foreign key constraints?
@marcoroth.dev I have some files for you on which Herb sometimes crashes (either segfaults, crashes with a bug (try to mark T_NONE object) or a full hang where I have to `kill -9` the process), are you interested in them? I think I can share them with you, but rather not publically on Github!
Wrote up a small article on something I've implemented in my Hotwire Native app that I think is useful for everyone!
This opens universal links directly in their own app, but still opens the rest in a modal.
paagman.dev/deep-link-ho...
oh yeah of course, crazy how my mind just ignores it because it has no 's' behind it like the others.
in an other, smaller app:
> Finished in 0.03202 seconds (files took 1.02 seconds to load)
> bin/rspec spec/bla.rb 0.86s user 0.37s system 96% cpu 1.275 total
with rspec, interestingly the "seconds to load" is higher than what `time` outputs.
> Finished in 0.1374 seconds (files took 2.51 seconds to load)
1 example, 0 failures
> bin/rspec spec/bla.rb 1.90s user 0.86s system 95% cpu 2.891 total
Same for me!
I’m available for hire.
I’m an experienced Ruby, TypeScript and CSS engineer looking for a new full-time position.
I can help you with performance, concurrency, testing, architecture and API design problems on tooling or product teams.
I’d really appreciate any personal introductions. DMs open. 🙏
I asked them and we need to wait a little while longer:
> I reached out to our Engineers to know when are we going to release Postgres 17. Looks like we don’t have the ETA as of now. As a very rough timeline, between Feb and April.
Postgres 17 has made some improvements that can speed up Rails apps a lot (see: benoittgt.github.io/blog/postgre... by @benoittgt.bsky.social).
But it's not available on Heroku yet!
I wrote up another small post about Hotwire Native! How to make 'delete' menu items stand out in the menu component. Hopefully it's useful for someone as I really like them this way 🙂 paagman.dev/make-delete-...
I wrote up a little post about how to get native sharing working with Hotwire Native → paagman.dev/hotwire-nati...
Did you know you can bundle gems directly from a GitHub gist? I didn't, and I'm wondering if anyone ever uses that 🤔
bundler.io/v2.5/man/gem...
Hahah I did the same over the last weeks. Painful but great when it’s done!
And:
* Upgraded to Turbo 8.
* Enabled some of the newer Turbo features like morphing and link prefetching. Feels really smooth and fast.
Now onto Rails 8!
Also:
* got rid of some old jQuery based libraries, like selectize and a datepicker. Now on hotwire_combobox and the regular browser native datepicker.
* introduced Phlex and Tailwind in a few places.
* migrated from Font Awesome to Phlex icons.