c.im is one of the many independent Mastodon servers you can use to participate in the fediverse.
C.IM is a general, mainly English-speaking Mastodon instance.

Server stats:

2.9K
active users

#ruby

151 posts113 participants13 posts today

Excited to share a bit more of what I'm working on at #trmnl (usetrmnl.com) where I'm in charge of the Open Source aspects of the company. Specifically, I'm focused on the Build Your Own Server (BYOS) side of the stack.

So I'm quite happy to share more about the BYOS server I've been working which is completely written in #ruby and #hanami. 🎉 Source: github.com/usetrmnl/byos_hanami

Super easy to spin up and render whatever you want on your own e-ink devices. Enjoy!

usetrmnl.comTRMNL | E-ink dashboard to stay focusedClarity, at a glance.

Contributed a #ruby #Ractor variant to the programming languages benchmark game: salsa.debian.org/benchmarksgam

(was an example where Ruby was slower than Python, so got interested :))

Might not be published anytime soon (as the benchark game isn't updated as often anymore, and was only recently updated), and it will also not be the fastest version, but was fun to experiment with Ractors in ruby, a way to have true parallelism is ruby.

(btw the reason ruby is slow in this test is that instantiating an object for a single character is much overhead that can't be reasoned away by the JIT-compiler I guess...

GitLabRuby k-nucleotide using by Maarten Brouwers (using Ractor) (#559) · Issues · The Computer Language Benchmarks Game / benchmarksgame · GitLab Source code Parallelism using Ractor (current fastest ruby variant is using process forking). I'd say pretty idiomatic ruby code, albeit...

Are you a Nonbinary or Women Rubyist attending @tropicalonrails ? Come join some WNB.rb members for an after conference dinner!

Venue: Baccio del Nonno
Address: R. Júlio Diniz, 158 - Vila Olímpia, São Paulo - SP, 04547-090, Brazil
Directions: maps.app.goo.gl/PxJdizE5opiyYR

Dinner will start around 7:30pm (April 3rd) All attendees will need to adhere to WNB.rb’s Code of Conduct: tinyurl.com/wnb-rb-coc
RSVP: forms.gle/TRwP3niFfRKofgQz6

After writing last week about creating value objects in #Ruby with Data class, here are some real examples of some cases where I use it and one example from TheOdinProject.

There are other cases and probably better ways to use it but I just wanted to provide some real examples: