TLDR: you should add the frozen_string_literal comment for performance reasons
I was recently reminded that not everyone fully understand what the frozen string literal magic comment is about. So I figured it was the occasion for another deep dive. byroot.github.io/ruby/perfor…
3
4
43
Trying out the new Chatgpt browser. Why does every app I install want network & bluetooth access???
4
18
I'm trying HERB/ReActionView right now. ✅ UI for displaying HTML errors ✅ UI for debugging views ✅ HTML error warnings in IDE (with Code extension) Really looking forward to auto-lint.
Got an early version of the Herb Formatter wired up to the Herb Language Server to support the built-in format-on-save.
1
3
48
when adding RubyLLM to a Rails app, first of all I add: - optional polymorphic relationship (Chat belongs to Post, User, Team) - optional topic (Chat belongs to Post.title) - status (check if the job is running)
5
8
110
If you're using friendly_id in Rails with Postgres, you should assign a slug_limit. Otherwise sooner or later a long slug will create a PG::ProgramLimitExceeded: ERROR error
2
1
52
I have a very elegant Hotwire solution to this exact problem: superails.com/posts/ruby-on-…
Simple interaction: one select changes the options of a second with a remote data source How would you build it? How do you deal with race conditions?
2
2
49
Did Youtube thumbnail A/B testing for the first time. A tiny difference in copy driving a large difference in performance.
1
5
I've recently implemented vector search in a Rails app. It's great for searching by meaning, not keywords. See 🖼️ how I search: - "retreat", and the 1st (closest) result is a weekend trip - "tshirt" -> tee - "coach" -> "training sessions" Super easy to implement! You need: - gem pgvector-ruby to enable vectors - gem neighbor to search vectors - gem rubyllm to encode texts and search queries Full implementation guide: blog.superails.com/ai-vector…
Look what arrived today! 🎉🎉🎉 This book would not have been possible without so many people, and to just name a few: @HowDevelop @brianking Kevin Lewis @AishaBlake @tanay1337 The entire editorial team at @pragprog, particularly Susannah Davidson A deep thank you for the reviews from: @techgirl1908 @liran_tal @SantoshYadavDev @ldoguin A year of work and it’s finally here!
5
10
99
spent 4+ hours yesterday vibe coding some oauth stuff. felt like my brain was rotting in this constant code review mode. ended up rejecting everything & built the thing on my own in an hour. feeling much better now.
9
1
2
56
Commercial open source sounds like an amazing win-win for everyone! - Learners can study production code. - Freelancers can make some side $. - Organizations get goodwill, free code sanity review, and cheap contributions
Paying bug bounties is even better than AI for getting things done.
7
My blog traffic died all of a sudden
8
1
9
calm down. everything is ok.
Ruby Central is making the right moves to ensure the Ruby supply chain is beyond reproach both technically and organizationally. rubycentral.org/news/strengt…
2
42
Slot machines vs vibe coding
2
8
1
52
find me at the @rorvswild booth! 😁
Just landed in Porto for #Euruko. If you're coming, come see us to talk about your application's performances. rorvswild.com/blog/2025/pers…
1
12
perfect view over the city
8
so far I am very positive surprised by everything!
4