Software Eng @SweepThePlanet | Rubyists | Host of GemRuby Show

Saint-Joseph/Reunion Island
Joined May 2021
Lucas 💾 retweeted
🎅💎 Advent of Prism: Part 2 - Data structures Today we'll look at the trees related to the three literal data structures in Ruby: arrays, hashes, and ranges. We'll finally get to see some actual trees, and discuss where else these nodes can appear. kddnewton.com/2023/12/02/adv…
2
7
1
30
3,061
Lucas 💾 retweeted
Hurry up! #BlackFriday is ending soon! 🖤🖤🖤 Get the best price on #RubyOnRails monitoring now!
1
1
1
303
Lucas 💾 retweeted
Shameless plug: I am writing a small book about all this, covering constants in depth. Tentative title is "Ruby in Depth: Constants", because if the book works, I'd like to do a series that covers niche Ruby stuff exhaustively.
3
2
16
529
Lucas 💾 retweeted
Yesterday I published the 67 edition of Short Ruby News:
2
4
32
2,388
Lucas 💾 retweeted
I am flirting with the idea of writing a little book about constants in Ruby. There's already something bootstrapped, and want a clean slate for each test case 100% free of global side-effects. Test harness could not be more simple. There's ONE frickin helper: def assert(bool) raise unless bool end and a loop that executes each test case: for test in test/**/*_test.rb; do if ruby -Itest -rtest_preamble "$test"; then echo "$test" else exit 1 fi done When something fails, there is a backtrace. You open the file and investigate why the assertion failed, the backtrace tells you which one it was.
1
3
48
5,414
Lucas 💾 retweeted
Yesterday I published the 66 edition of @shortrubynews
1
5
27
1,858
Lucas 💾 retweeted
I made a small documentation website that includes both the Ruby and C references for prism. Much more to come on that as we build it out, but it's a start! ruby.github.io/prism/
1
2
21
2,611
Lucas 💾 retweeted
Did you know that Ruby supports Python's triple quotes? 😂
7
7
2
63
7,203
Lucas 💾 retweeted
I wrote an article on the practical implications of object shapes in Ruby 3.2 and their consequence on performance, notably on the performance of the very common "memoization" pattern: railsatscale.com/2023-10-24-…
5
26
5
124
15,674
Lucas 💾 retweeted
Just sent the 64 edition of @shortrubynews Here are some highlights 🚀 New Products - Georgie Boy's Phlex UI component library launch. - Updated Ruby Science book for Rails 7 and Ruby 3.2.2 by Thoughtbot. - Keshav Biswa's new programming language Confuscript. - Launch announcement of RubyCademy. 📅 Events - Rubyfuza & Friends 2024 conference announcement. - First Ruby Romania meetup on Nov 22, 2023. 👉 All about Code and Ruby - Benchmark comparison: Struct.new vs Data.define. - Rails config for starting the console in sandbox mode. - High-level overview of Ruby workings by Dhaval Singh. - Dockerfiles generation for Rails using the dockerfile-rails gem. And you fill find more inside the newsletter at newsletter.shortruby.com/p/e… #Ruby #Rails #Newsletter #Whatsnew
9
1
40
2,892
Lucas 💾 retweeted
📣 The latest Ruby for All episode is now available! Plants, Zombies, and Pull Requests 🔗 share.transistor.fm/s/813c19…
5
11
988
Stage is set for GemRuby Show
1
32
2,365
Lucas 💾 retweeted
Recently started a newsletter for @_maintainable so that I can share my thoughts on past episodes (and announce new ones) with subscribers. Can you help spread the word? 👇 maintainable.fm/newsletter/
1
6
11
1,572
As promised, I am releasing a new gem today to add to the enhancements to the Rails 7.1 SQLite adapter. By simply installing the gem into your Rails 7.1 app, you get auto-populating columns, custom primary keys, virtual columns, and deferred foreign keys: fractaledmind.github.io/2023…
5
22
1
92
9,551
Lucas 💾 retweeted
rubypodcatcher.com update: Added @therubyonrails to the search index database of rubypodcatcher.com Podcast list has now grown to 1180 episodes. New podcast episodes will automatically be added to the database.
1
2
9
295
I updated my original article about Basecamp's Kamal (ex MRSK): jetrockets.com/blog/how-to-u…. It includes all changes in 1.0 Kamal release since MRSK 0.14 and my experience running about 20 different applications with Kamal. #ruby #rails #kamal
1
12
2
68
6,731