Profile avatar
allan.social
Tech, startups, video production & livestreaming. Ruby on Rails dev since '05, also work w/ Lua, JavaScript, DaVinci Resolve, ATEMs, Bitfocus Companion & Lumix. 📹 @livetoair.uk 🔗 https://allan.social
84 posts 694 followers 631 following
Prolific Poster
Conversation Starter
comment in response to post
As a conclusion to this megathread I'll finish with the :Distilled feed by @skillstopractice.com Rather than a list of accounts to follow, this gives you a tailored feed for Ruby you can pin to your home screen: bsky.app/profile/did:...
comment in response to post
As a conclusion to this megathread I'll finish with the :Distilled feed by @skillstopractice.com Rather than a list of accounts to follow, this gives you a tailored feed for Ruby you can pin to your home screen: bsky.app/profile/did:...
comment in response to post
This is a really fabulous writeup, thank you!
comment in response to post
Out of the box with SQLite - this is so good. I know there are ever more gem dependencies in Rails and that's one thing to consider, but a lot of upgrades are going to involve stripping out so much complexity and dependencies around features like this, not to mention build steps and deployment.
comment in response to post
Lua and Tcl. Fond memories of writing Tcl for Eggdrop bots
comment in response to post
Hmm, still suspect it might be something else on the same usb bus if not the cable itself. It could be due to a device that's internally connected.
comment in response to post
Have you tried connecting it directly to a different USB port?
comment in response to post
I seem to remember that there was even a bit of a backlash against using the other HTTP verbs. It wasn't an obvious thing to do at the time.
comment in response to post
Recall that having a silly loud AF motor but maybe mine was gnarly. Crunch beep snap.
comment in response to post
WNB.rb Rubyists by @christine-seeman.com go.bsky.app/QjDx8PT
comment in response to post
5) Worth explaining this in deploy.yml: volumes: - "appname_storage:/rails/storage" Your application's root directory when running in the container is /rails & "storage/production.sqlite3" in your database.yml is @ /var/lib/docker/volumes/appname_storage/_data/production.sqlite3 on your server.
comment in response to post
Good shout!
comment in response to post
4) The image setting in deploy.yml - if this repository doesn't exist it will be created (<username>/<service>) You only get one private one on Docker Hub by default - so be careful that you don't publish a public image by mistake because the name doesn't match.
comment in response to post
1) This might be blindingly obvious, but you need to check your code into git. 2) WSL requires the Docker Desktop WSL 2 backend. Get this set up first. docs.docker.com/desktop/feat... 3) I needed to add the default user on my vps to the docker group: sudo usermod -aG docker ${USER}
comment in response to post
Rails SaaS by @onurozer.me go.bsky.app/GjEBCij
comment in response to post
Anecdotally for me, I've had better results for Ruby than Lua or JavaScript - but I'm curious if there have been any benchmarks (if that's the word) done around this. Claude itself suggests minimal boilerplate, readable syntax, high semantic density & static typing may be best.
comment in response to post
I was wondering just this! bsky.app/profile/alla...
comment in response to post
'"most readable" language in era of AI-generated code' Hadn't considered this before - I guess it's partly in the eye of the beholder, but is there anything definitive we can say about this? e.g. are some languages provably less prone to errors and better structured via AI generation?