home.social

#rubylang — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #rubylang, aggregated by home.social.

  1. Wait lol this was my bug report 😃

    Glad to see it was finally released, I can now test my app on 4.0 again 😄 I had to poke them a bit because they didn't backport this fix to 4.0.1 or .2… #rubylang

  2. Wait lol this was my bug report @[email protected] 😃 Glad to see it was finally released, I can now test my app on 4.0 again 😄 I had to poke them a bit because they didn't backport this fix to 4.0.1 or .2… #rubylang

  3. Last Survival Kit before Rubycon: food.
    Piadina with squacquerone for lunch. Adriatic seafood for dinner. Friday night: Toga Party on the beach. Saturday: walking tour through Rimini.

    #Ruby #RubyLang #Rubycon2026 #Rimini #Italy

  4. What if Ruby could run at the center of an event-driven system?
    Maciej Mensfeld built Karafka. His deployment handles 500M messages a day. He's also on the RubyGems security team, hunting malicious packages.

    #Rubycon2026 #Ruby #RubyLang #Karafka #Kafka #RubyGems

  5. What if Ruby could run at the center of an event-driven system?
    Maciej Mensfeld built Karafka. His deployment handles 500M messages a day. He's also on the RubyGems security team, hunting malicious packages.

    #Rubycon2026 #Ruby #RubyLang #Karafka #Kafka #RubyGems

  6. Which Ruby frontier makes you most curious in 2026?
    Ruby keeps landing in places nobody expected a few years ago. Music, microcontrollers, AI products, edge computing. Where do you think the most interesting work is happening? If we missed one, tell us.

    #Ruby #RubyLang #Rubycon2026

  7. Packing for Rubycon? May in Rimini: 15-25°C, mild and pre-tourist season. Pack a light jacket and a swimsuit.
    Event in English. Cards accepted almost everywhere. Questions? Ask in the replies.

    #Ruby #RubyLang #Rubycon2026 #Rimini #Italy

  8. Holy fuck Ruby are you kidding me… ಠ_ಠ

    I'd have never figured this out myself…

    Those damned Germans… 😛

    #ruby #rubylang

  9. Top liked open PR in the repo by far:

    They also said they would prefer a PR that instead just reverts that change, so they can discuss that, so one guy opened such second PR (github.com/rails/rails/pull/56), also no reaction

    #ruby #rails #rubylang

  10. I can't believe the #Rails team is still basically ignoring this after so many people joined in, apart from a few comments complaining that they don't want to be tagged… 😑 #ruby #rubylang

    github.com/rails/rails/pull/55

  11. I can't believe the #Rails team is still basically ignoring this after so many people joined in, apart from a few comments complaining that they don't want to be tagged… 😑 #ruby #rubylang github.com/rails/rails/...

  12. What if Ruby rewrote its own engine in Rust?
    That's YJIT, built inside CRuby at Shopify. Railsbench runs 65% faster on Ruby 3.3.

    #Rubycon2026 #Ruby #RubyLang #YJIT #Rust

  13. The gem that made you fall in love with Ruby was…
    We all have one. That moment when Ruby stopped being a language and became a way of thinking about code. Which gem unlocked it for you? If it's not in the list, tell us in the comments.

    #Ruby #RubyLang #RubyGems #Rubycon2026

  14. The Ruby Triathlon is back. Rubycon in Rimini (May 8), Balkan Ruby in Sofia, RubyConf AT in Vienna. Three stops, three weeks across Europe. Code TRIATHLON26 = 15% off each ticket.

    #RubyTriathlon #Rubycon2026 #RubyLang #RubyCommunity #Ruby

  15. That's it: @matz is giving the final keynote on @rubykaigi 2026.

    It was great to meet so many amazing like-minded #ruby and #rails people here at #rubykaigi.

    #rubylang #rubykaigi2026 #rubykaigi_2026

  16. Want to attend Rubycon but haven't sorted the logistics yet?
    Fly to Rimini (15 min taxi) or Bologna (1.5h train). Partner hotels with discounts at rubycon.it/logistics

    #Ruby #RubyLang #Rubycon2026 #Rimini

  17. What if your computer was a musical instrument?
    Sam Aaron built one. In Ruby. It's been played at the Royal Albert Hall and from the ISS.

    #Rubycon2026 #Ruby #RubyLang #SonicPi #LiveCoding

  18. You and Ruby: where are you in the relationship?
    Some of us landed in Ruby last month. Others have been shipping Rails apps since version 2. Where do you sit today? If you've been around a while, tell us what kept you here.
    Full programme: rubycon.it
    #Ruby #RubyLang #Rubycon2026

  19. The first Ruby code that drove a browser was called cliec, 2001. Watir followed in 2004, Capybara by the late 2000s. Their DSL ideas live on today in Playwright and Cypress.
    Rubycon 2026, Rimini, May 8. Get your ticket!

    #Rubycon2026 #Ruby #rubylang #testing #webdev

  20. The Ruby Triathlon is back. Rubycon in Rimini (May 8), Balkan Ruby in Sofia, RubyConf AT in Vienna. Three stops, three weeks across Europe. Code TRIATHLON26 = 15% off each ticket.

    #RubyTriathlon #Rubycon2026 #RubyLang #RubyCommunity #Ruby

  21. Lol, someone here got a bit too carried away with operator overloading 🫠

    date << n = n months ago

    #ruby #rubylang

  22. Today I needed to write a passphrase generator and I was looking around for a good word list for this. The EFF publishes a list of words that are a good fit for passphrases for reasons they explain. Very nice!

    https://www.eff.org/dice

    Dead-simple Ruby code to generate some passphrases that are 3 words long, include a digit, capital letters, and dashes.

    words = 3.times.map { word_list.sample.capitalize }
    ix = rand(words.count)
    words[ix] = format("%s%i", words[ix], rand(9))
    words.join("-")
    

    #Ruby #RubyLang

  23. Probably the most useful piece of code I've written to make my life easier is an Enum generator for Ruby.

    https://mroach.com/2026/03/enum-types-in-ruby/

    #ruby #rubylang

  24. In this article, I explore the modern Ruby CLI stack — Thor, TTY Toolkit, and more — and show how to move from simple scripts to polished terminal applications.

    👉 If you build developer tools, automation, DevOps utilities, or internal platforms, this ecosystem is worth knowing.

    Ruby on Terminal is real — and it’s powerful.

    🔗 Read the article: rubystacknews.com/2026/03/01/%

    #Ruby #CLI #DevTools #Terminal #SoftwareEngineering #RubyLang #OpenSource

  25. Is there a good sql query builder library for #ruby for chainable wheres?

    I've got a ~1000 line toy project that I spurted out this week as an exercise in building a web application with minimal dependencies, and right now it's just #rack, #puma, and #sqlite3...

    I've spent too much time database wrangling, and I don't _mind_ that but would like something light-and-tight that is small enough I can read most of the code in an afternoon...

    Mostly what I really want is something to make chainable where statements 😅

    I started looking at both #ROM and #Sequel both do A Lot.

    #RubyLang #Programming #AskFedi

  26. @postmodern I don’t think it’s well maintained, but the TTY Toolkit was trying to fill that niche for a long time. Ruby dropped meaningful support for Tk a long time ago, and it’s often easier to throw a Sinatra front end up than wrestle with ncurses or glue UI systems together.

    I prefer CLI & TUI tools, but I might be a product of the #DESQview era. I don’t even know any #programmers who still prefer byobu, vim, ctags, ack, awk/sed, direnv, and guard for a basic #RubyLang stack anymore.

  27. @postmodern I don’t think it’s well maintained, but the TTY Toolkit was trying to fill that niche for a long time. Ruby dropped meaningful support for Tk a long time ago, and it’s often easier to throw a Sinatra front end up than wrestle with ncurses or glue UI systems together.

    I prefer CLI & TUI tools, but I might be a product of the #DESQview era. I don’t even know any #programmers who still prefer byobu, vim, ctags, ack, awk/sed, direnv, and guard for a basic #RubyLang stack anymore.

  28. @postmodern I don’t think it’s well maintained, but the TTY Toolkit was trying to fill that niche for a long time. Ruby dropped meaningful support for Tk a long time ago, and it’s often easier to throw a Sinatra front end up than wrestle with ncurses or glue UI systems together.

    I prefer CLI & TUI tools, but I might be a product of the #DESQview era. I don’t even know any #programmers who still prefer byobu, vim, ctags, ack, awk/sed, direnv, and guard for a basic #RubyLang stack anymore.

  29. @postmodern I don’t think it’s well maintained, but the TTY Toolkit was trying to fill that niche for a long time. Ruby dropped meaningful support for Tk a long time ago, and it’s often easier to throw a Sinatra front end up than wrestle with ncurses or glue UI systems together.

    I prefer CLI & TUI tools, but I might be a product of the #DESQview era. I don’t even know any #programmers who still prefer byobu, vim, ctags, ack, awk/sed, direnv, and guard for a basic #RubyLang stack anymore.

  30. @postmodern I don’t think it’s well maintained, but the TTY Toolkit was trying to fill that niche for a long time. Ruby dropped meaningful support for Tk a long time ago, and it’s often easier to throw a Sinatra front end up than wrestle with ncurses or glue UI systems together.

    I prefer CLI & TUI tools, but I might be a product of the #DESQview era. I don’t even know any #programmers who still prefer byobu, vim, ctags, ack, awk/sed, direnv, and guard for a basic #RubyLang stack anymore.

  31. :ruby: #Ruby's #Float contains interesting constants.

    Like EPSILON, which is the

    > difference between 1 and the smallest double-precision floating point number greater than 1.

    What is it useful for, you ask?

    Well, Floats are kinda difficult for computers and if you want to compare them for equality without using `round` or alike, you can check whether its difference is within EPSILON range.

    So it is kinda close to how Math uses it (ε).

    docs.ruby-lang.org/en/master/F

    #RubyLang #RubyProgramming

  32. :ruby: #Ruby's #Float contains interesting constants.

    Like EPSILON, which is the

    > difference between 1 and the smallest double-precision floating point number greater than 1.

    What is it useful for, you ask?

    Well, Floats are kinda difficult for computers and if you want to compare them for equality without using `round` or alike, you can check whether its difference is within EPSILON range.

    So it is kinda close to how Math uses it (ε).

    docs.ruby-lang.org/en/master/F

    #RubyLang #RubyProgramming

  33. :ruby: #Ruby's #Float contains interesting constants.

    Like EPSILON, which is the

    > difference between 1 and the smallest double-precision floating point number greater than 1.

    What is it useful for, you ask?

    Well, Floats are kinda difficult for computers and if you want to compare them for equality without using `round` or alike, you can check whether its difference is within EPSILON range.

    So it is kinda close to how Math uses it (ε).

    docs.ruby-lang.org/en/master/F

    #RubyLang #RubyProgramming

  34. :ruby: #Ruby's #Float contains interesting constants.

    Like EPSILON, which is the

    > difference between 1 and the smallest double-precision floating point number greater than 1.

    What is it useful for, you ask?

    Well, Floats are kinda difficult for computers and if you want to compare them for equality without using `round` or alike, you can check whether its difference is within EPSILON range.

    So it is kinda close to how Math uses it (ε).

    docs.ruby-lang.org/en/master/F

    #RubyLang #RubyProgramming

  35. :ruby: #Ruby's #Float contains interesting constants.

    Like EPSILON, which is the

    > difference between 1 and the smallest double-precision floating point number greater than 1.

    What is it useful for, you ask?

    Well, Floats are kinda difficult for computers and if you want to compare them for equality without using `round` or alike, you can check whether its difference is within EPSILON range.

    So it is kinda close to how Math uses it (ε).

    docs.ruby-lang.org/en/master/F

    #RubyLang #RubyProgramming

  36. #RubyLang is an extremely capable programming language. I've always wondered why 99% of the code for #LLM and #AI / #ML is done in #PythonLang and (for no obvious good reason) #JavaScript, #TypeScript, or #ECMAscript.

    The on-ramp for Python may be easier, but it's overall less consistent and IMHO more obscure and less capable for introspection, DSLs, and for metaprogramming, so why is its ecosystem bigger for AI/ML? I wish someone would explain that in a non hand-wavey way.

  37. #RubyLang is an extremely capable programming language. I've always wondered why 99% of the code for #LLM and #AI / #ML is done in #PythonLang and (for no obvious good reason) #JavaScript, #TypeScript, or #ECMAscript.

    The on-ramp for Python may be easier, but it's overall less consistent and IMHO more obscure and less capable for introspection, DSLs, and for metaprogramming, so why is its ecosystem bigger for AI/ML? I wish someone would explain that in a non hand-wavey way.

  38. #RubyLang is an extremely capable programming language. I've always wondered why 99% of the code for #LLM and #AI / #ML is done in #PythonLang and (for no obvious good reason) #JavaScript, #TypeScript, or #ECMAscript.

    The on-ramp for Python may be easier, but it's overall less consistent and IMHO more obscure and less capable for introspection, DSLs, and for metaprogramming, so why is its ecosystem bigger for AI/ML? I wish someone would explain that in a non hand-wavey way.

  39. #RubyLang is an extremely capable programming language. I've always wondered why 99% of the code for #LLM and #AI / #ML is done in #PythonLang and (for no obvious good reason) #JavaScript, #TypeScript, or #ECMAscript.

    The on-ramp for Python may be easier, but it's overall less consistent and IMHO more obscure and less capable for introspection, DSLs, and for metaprogramming, so why is its ecosystem bigger for AI/ML? I wish someone would explain that in a non hand-wavey way.

  40. #RubyLang is an extremely capable programming language. I've always wondered why 99% of the code for #LLM and #AI / #ML is done in #PythonLang and (for no obvious good reason) #JavaScript, #TypeScript, or #ECMAscript.

    The on-ramp for Python may be easier, but it's overall less consistent and IMHO more obscure and less capable for introspection, DSLs, and for metaprogramming, so why is its ecosystem bigger for AI/ML? I wish someone would explain that in a non hand-wavey way.