tostca.bsky.social
tostca.bsky.social
@tostca.bsky.social
Reposted by tostca.bsky.social
The Etc module — part of Ruby's standard library — provides access to all sorts of system data: user, groups, architecture, and a bunch more.

No need to run commands like `uname` in your #Ruby code!

docs.ruby-lang.org/en/3.4/Etc.h...
April 18, 2025 at 12:46 PM
Reposted by tostca.bsky.social
Need to serve some files in a pinch? #Ruby gives us a one-liner to do just that!

ruby -run -e httpd

It's included in the Ruby standard library as part of `un`, which offers alternatives to common Unix commands.

github.com/ruby/un
April 15, 2025 at 7:10 PM
Reposted by tostca.bsky.social
Here's my performance-related feedback on the recently-open-sourced Hackclub codebase.

1: Run rack-mini-profiler in production (it was designed for this!)
2: Keep Sidekiq concurrency at the default (10), don't tune it down to 4
3: Avoid `where` in AR model methods
April 1, 2025 at 5:04 PM
Reposted by tostca.bsky.social
If you're creating a reasonably complex Thor CLI, you'll likely want to reuse common method options. Here's a simple way to do that.

#ruby #rubyonrails
April 3, 2025 at 1:28 PM
Reposted by tostca.bsky.social
Active Agent 0.2.6 release candidate – Better streaming, less config, and more power in your Rails AI app! Check it out... 👇🧵
Active Agent 0.2.6: Better Streaming, Less Config, More Power in Your Rails AI App
Build AI agent apps in Rails with Active Agent. New release includes improvements to streaming, less config, and bug fixes.
www.activeagents.ai
March 13, 2025 at 1:55 AM
Reposted by tostca.bsky.social
We said we will focus on interoperability for 2025 and we are ready to share the first results. Embedding Python in Elixir, it's Fine: dashbit.co/blog/running...

More updates likely at ElixirConf EU 2025 :)
Embedding Python in Elixir, it's Fine - Dashbit Blog
Introducing Python interpreter embedded in Elixir and a Fine way to write your NIFs.
dashbit.co
February 25, 2025 at 11:34 AM
Reposted by tostca.bsky.social
The cat's out of the bag! This May I'm talking about the Soul of Erlang and Elixir at DORS/CLUC in Zagreb 🎉 It's been almost 6 years since I've last given a talk at my home town (shame, shame), so I'm extremely excited for this.

www.dorscluc.org/2025/02/talk...
Talk Announcement - "The Soul of Erlang and Elixir" by Saša Jurić - DORS/CLUC
Join us for an insightful talk by Saša Jurić, an expert in server-side systems and concurrency, as they dive into the powerful world of Erlang and Elixir. Explore the unique concurrency model of Erlan...
www.dorscluc.org
February 25, 2025 at 2:29 PM
Reposted by tostca.bsky.social
I've been working on the new Rails Getting Started guide and it's now ready for review! 🎉

github.com/rails/rails/...
Getting Started guide for Rails 8 by excid3 · Pull Request #53846 · rails/rails
This is the new Rails 8 Getting Started guide. It showcases Rails and provides many introductory points to learn more about all the various features Rails includes like caching, I18n, deploying wit...
github.com
December 5, 2024 at 4:55 PM
Reposted by tostca.bsky.social
New gem for data engineering: Delta Lake is now available for Ruby 🎉 github.com/ankane/delta...
November 22, 2024 at 6:46 PM
Reposted by tostca.bsky.social
Neighbor now has experimental support for MariaDB 11.7 🎉 github.com/ankane/neigh...
December 3, 2024 at 6:54 PM
Reposted by tostca.bsky.social
🎂 for all during our 40% off Half Birthday sale through December 13 midnight MST. The sale includes the Python version of 99 Bottles of OOP and the new POOD-I Virtual course. sandimetz.com
December 4, 2024 at 5:07 PM
Reposted by tostca.bsky.social
Packing @terminalwire.com into a self-contained binary has been really interesting.

I have two approaches in the works:

github.com/tamatebako/t... and a branch of traveling Ruby at github.com/YOU54F/trave...

There’s trade-offs between the two…

🧵👇
December 7, 2024 at 6:23 PM
Reposted by tostca.bsky.social
This week's PragProg Best Sellers:
1. Agile Web Development with Rails 8 by @intertwingly.net
2. Network Programming in Elixir and Erlang by @whatyouhi.de
3. Real-World Event Sourcing by @kevinhoffman.bsky.social

https://pragprog.com/best_sellers/
December 8, 2024 at 10:41 AM
Reposted by tostca.bsky.social
Rails continues to expand its lead as the single best platform for building web applications backed by SQLite! You can now load extensions directly from the database.yml file. This now means you have quick and easy access to the full range of SQLite extensions

🧵
December 8, 2024 at 3:07 PM