HNHacker News
TopNewBestAskShowJobs

julianrubisch

18 karma · joined April 23, 2020

https://www.railsreviews.com
submissionscomments
julianrubisch··on Show HN: Free AI Coding Skills for Rails
It is co-created, yes. I test everything I publish, even the publishing skills

If you doubt it that’s your right of course. These days you should doubt everything.

julianrubisch··on [dead]
I needed a personal CRM for my consulting work — just contacts, deals, and follow-ups. Built it with Rails 8 and Avo, backed entirely by SQLite (Solid Cache, Solid Queue, Solid Cable).

The interesting part is where it runs. Rails 8's Solid stack makes the whole app a single process with one database file, which means it fits on a Synology NAS. Docker container, Tailscale for access, HyperBackup and Btrfs snapshots for backups.

The post covers the non-obvious parts: Synology's SSH PATH problem with non-interactive sessions, Docker UID/permission gotchas, how Thruster's port mapping works in a non-root container, and running a local Docker registry so images stay on your network.

julianrubisch··on An Introduction to LiteStack for Ruby on Rails
They will
julianrubisch··on StimulusReflex, or LiveView for Rails
I’m really excited for Ractors in this content and how/if they could improve the Ruby side
julianrubisch··on StimulusReflex, or LiveView for Rails
It‘s called „money“
julianrubisch··on StimulusReflex, or LiveView for Rails
There are a lot of wonderful upsides to this approach, yes.

It’s just... people think those technologies are congruent but the overlaps are actually minimal.

For any rather sophisticated UI you can (and will want) to use both.

For example: repaint a data visualization. With Hotwire you can only replace it and start fresh, with SR you can just surgically morph data attributes without disconnecting your stimulus controllers

julianrubisch··on StimulusReflex, or LiveView for Rails
For sure! It just doesn’t really overlap.
julianrubisch··on StimulusReflex, or LiveView for Rails
in one word: morphdom (https://github.com/patrick-steele-idem/morphdom)

also, StimulusReflex predates Hotwire for 1 year and is already pretty hardened :-)

julianrubisch··on StimulusReflex, or LiveView for Rails
https://pypi.org/project/django-sockpuppet/

It's a SR clone, the maintainers are actually very active in our community :-)

julianrubisch··on Moving my serverless project to Ruby on Rails
Yep, turbolinks. We’re all waiting for TL6 though to revive the android adapter.
julianrubisch··on Two Patterns for StimulusReflex Form Submissions
I wasn’t aware of LiveComponent, thanks for that!

Frankly, patterns around SR are just materializing but there’s for example https://github.com/joshleblanc/view_component_reflex that’s maybe comparable.

CableReady is the Swiss Army knife, there’s a whole ecosystem forming around it, e.g. https://github.com/julianrubisch/futurism, a lazy loading gem by me or https://optimism.leastbad.com/, a remote form validation gem (presumably superseded by Rails 6.1/TL6, but who knows)

You might want to follow me on twitter, I‘ll be posting my explorations there!