Trending

#RubyLang

Latest posts tagged with #RubyLang on Bluesky

Latest Top
Trending

Posts tagged #RubyLang

Marco on the Ruby Community Conference stage

Marco on the Ruby Community Conference stage

Well folks,

@marcoroth dropped a new #herb release on #RuCoCo and he packed some really nice goodies in it.
Don't claim later that nobody told you πŸ˜‰

https://ruby.social/@marcoroth/116223917202960418

#Ruby #Rails #RubyOnRails #ActionView #ReActionView […]

[Original post on ruby.social]

0 0 0 0

Is #RubyLang really cool? Or it's just the #TameImpala effect? πŸ§‘β€πŸ’»πŸŽ§

0 0 0 0
Screenshot of a page of conference speakers, featuring Kuba Suder with the talk Building on Bluesky's AT Protocol with Ruby

Screenshot of a page of conference speakers, featuring Kuba Suder with the talk Building on Bluesky's AT Protocol with Ruby

Uh… what is this guy doing here, on the list of *speakers*?! πŸ™ˆ wrocloverb.com

I was invited to speak about ATProto + Ruby in WrocΕ‚aw, hope to get some more Rubyists atproto-pilled 😏 #ruby #rubylang

87 3 3 0
0.7.0 - 2026-02-13

The main change in this version is that inline YARD documentation has been added. This was also a good opportunity to review some APIs and tweak some things in order to get Skyfall a bit closer to 1.0.

New APIs:

the Skyfall::Firehose initializer now allows skipping :subscribe_repos, i.e. .new(host) or .new(host, cursor)
added Skyfall::Jetstream::CommitMessage#operation (aliased as op) which returns the (always single) operation in the operations array
added #kind as alias for #type in both Message classes
added a base class for error types, Skyfall::Error
added #blocks to Skyfall::Firehose::SyncMessage
added #rev, #since and #prev_data to Skyfall::Firehose::CommitMessage
Deprecated & removed APIs:

removed deprecated HandleMessage and TombstoneMessage message classes
removed deprecated CommitMessage#prev
deprecated #path in both Operation classes
Optimizations:

much faster Skyfall::Firehose::Message#time parsing on Ruby 3.2+
lazy decoding of sections in CarArchive – saves quite a lot of work if sections are only accessed through Operation#raw_record
added frozen_string_literal: true in all files to reduce garbage collection
Access level changes:

restricted Stream#start_heartbeat_timer & Stream#stop_heartbeat_timer methods' access to private
restricted Stream#handle_message method access to protected
restricted Stream#last_update to read-only access
restricted #inspectable_variables access to either private or protected
relaxed Stream#build_websocket_url & Stream#build_websocket_client access from private to protected
fixed private class method Skyfall::Firehose::Message.decode_cbor_objects which wasn't actually private
Additional validations and other changes:

Stream#connect throws an error if neither on_message nor on_raw_message handlers have been configured
Message subclasses do additional checks if the fields they require to not be nil aren't nil

0.7.0 - 2026-02-13 The main change in this version is that inline YARD documentation has been added. This was also a good opportunity to review some APIs and tweak some things in order to get Skyfall a bit closer to 1.0. New APIs: the Skyfall::Firehose initializer now allows skipping :subscribe_repos, i.e. .new(host) or .new(host, cursor) added Skyfall::Jetstream::CommitMessage#operation (aliased as op) which returns the (always single) operation in the operations array added #kind as alias for #type in both Message classes added a base class for error types, Skyfall::Error added #blocks to Skyfall::Firehose::SyncMessage added #rev, #since and #prev_data to Skyfall::Firehose::CommitMessage Deprecated & removed APIs: removed deprecated HandleMessage and TombstoneMessage message classes removed deprecated CommitMessage#prev deprecated #path in both Operation classes Optimizations: much faster Skyfall::Firehose::Message#time parsing on Ruby 3.2+ lazy decoding of sections in CarArchive – saves quite a lot of work if sections are only accessed through Operation#raw_record added frozen_string_literal: true in all files to reduce garbage collection Access level changes: restricted Stream#start_heartbeat_timer & Stream#stop_heartbeat_timer methods' access to private restricted Stream#handle_message method access to protected restricted Stream#last_update to read-only access restricted #inspectable_variables access to either private or protected relaxed Stream#build_websocket_url & Stream#build_websocket_client access from private to protected fixed private class method Skyfall::Firehose::Message.decode_cbor_objects which wasn't actually private Additional validations and other changes: Stream#connect throws an error if neither on_message nor on_raw_message handlers have been configured Message subclasses do additional checks if the fields they require to not be nil aren't nil

I just made a pretty big release of Skyfall, 0.7.0: #ruby #rubylang ♦️

4 2 0 0
Preview
Add optional setting to `SchemaDumper` to disable sorting of table columns by mackuba Β· Pull Request #55414 Β· rails/rails Motivation / Background Pull request #53281, merged in January, has changed the behavior of ActiveRecord::SchemaDumper to print table columns inside a create_table block in schema.db sorted alphabe...

I don't know if anyone from the Rails team is here, but in the off chance someone is, could I get someone to look at this PR again? Looks like I'm not the only one who would love this option… (68 likes!)

#ruby #rails #rubylang

3 1 0 0

I didn't think those hashtags through. #RubyLang #ElixirLang.

0 0 0 0

The last few weeks I've been working on adding inline documentation and tests to all my #rubylang gems, plus while doing it also doing some tweaks like making some methods private, adding various validations, etc. Making a lot of progress, with some help from Codex :]

1 0 1 0
Ruby 4.0.1 Released

Posted by k0kubun on 13 Jan 2026

Ruby 4.0.1 has been released.

This release includes a bugfix for spurious wakeup from Kernel#sleep when subprocess exits in another thread, along with other bugfixes. Please see the GitHub releases for further details.

Release Schedule

We intend to release the latest stable Ruby version (currently Ruby 4.0) every two months following the most recent release. Ruby 4.0.2 will be released in March, 4.0.3 in May, 4.0.4 in July, 4.0.5 in September, and 4.0.6 in November.

Ruby 4.0.1 Released Posted by k0kubun on 13 Jan 2026 Ruby 4.0.1 has been released. This release includes a bugfix for spurious wakeup from Kernel#sleep when subprocess exits in another thread, along with other bugfixes. Please see the GitHub releases for further details. Release Schedule We intend to release the latest stable Ruby version (currently Ruby 4.0) every two months following the most recent release. Ruby 4.0.2 will be released in March, 4.0.3 in May, 4.0.4 in July, 4.0.5 in September, and 4.0.6 in November.

Heh, I just missed the window to get the fix in the release 🫠 #rubylang

2 0 1 0
Terminal logs:
on 3.4.2 - processing a script in around 4.55 s
on 4.0.0 - in 7.58 s
on master - in 3.90 s

Terminal logs: on 3.4.2 - processing a script in around 4.55 s on 4.0.0 - in 7.58 s on master - in 3.90 s

Yay, looks like the regexp performance regression in Ruby 4.0 is fixed! πŸŽ‰ #ruby #rubylang

Issue: bugs.ruby-lang.org/issues/21824...

10 1 1 0
API documentation for Skyfall:


Top Level Namespace
Skyfall
CID < Object
CarArchive < Object
Collection
DecodeError < Error
Error < StandardError
Firehose < Stream
Jetstream < Stream
Label < Object
ReactorActiveError < Error
Stream < Object
SubscriptionError < Error
UnsupportedError < Error

Instance Method Summary
collapse
#build_websocket_url β‡’ String protected abstract
Returns the full URL of the websocket endpoint to connect to, with path and query parameters if needed.
#connect β‡’ nil
Opens a connection to the configured websocket.
#default_user_agent β‡’ String
Default user agent sent when connecting to the service.
#disconnect β‡’ nil (also: #close)
Closes the connection and stops the EventMachine reactor thread.
#handle_message(msg) β‡’ nil protected abstract
Processes a single message received from the websocket.
#initialize(server) β‡’ Stream constructor
A new instance of Stream.
#inspect β‡’ String
Returns a string with a representation of the object for debugging purposes.
#inspectable_variables β‡’ Array<Symbol> protected
List of instance variables to be printed in the #inspect output.
#on_connect(block) β‡’ nil
Defines a callback to be run after a connection to the websocket is opened.
#on_connecting(block) {|url| ... } β‡’ nil
Defines a callback to be run when the client tries to open a connection to the websocket.
#on_message(block) β‡’ nil
Defines a callback to be run when a message is received, passing the message as a parsed object of an appropriate message class.
#on_raw_message(block) β‡’ nil
Defines a callback to be run when a message is received, passing a raw data packet as received from the websocket (plain text or binary).

API documentation for Skyfall: Top Level Namespace Skyfall CID < Object CarArchive < Object Collection DecodeError < Error Error < StandardError Firehose < Stream Jetstream < Stream Label < Object ReactorActiveError < Error Stream < Object SubscriptionError < Error UnsupportedError < Error Instance Method Summary collapse #build_websocket_url β‡’ String protected abstract Returns the full URL of the websocket endpoint to connect to, with path and query parameters if needed. #connect β‡’ nil Opens a connection to the configured websocket. #default_user_agent β‡’ String Default user agent sent when connecting to the service. #disconnect β‡’ nil (also: #close) Closes the connection and stops the EventMachine reactor thread. #handle_message(msg) β‡’ nil protected abstract Processes a single message received from the websocket. #initialize(server) β‡’ Stream constructor A new instance of Stream. #inspect β‡’ String Returns a string with a representation of the object for debugging purposes. #inspectable_variables β‡’ Array<Symbol> protected List of instance variables to be printed in the #inspect output. #on_connect(block) β‡’ nil Defines a callback to be run after a connection to the websocket is opened. #on_connecting(block) {|url| ... } β‡’ nil Defines a callback to be run when the client tries to open a connection to the websocket. #on_message(block) β‡’ nil Defines a callback to be run when a message is received, passing the message as a parsed object of an appropriate message class. #on_raw_message(block) β‡’ nil Defines a callback to be run when a message is received, passing a raw data packet as received from the websocket (plain text or binary).

Man, this is a bit of work… third day spent on this I think πŸ˜… #ruby #rubylang

6 1 0 0
Preview
Private class methods in Ruby (the right way) Unfortunately, defining class methods as private is a bit more involved than simply defining them...

TIL #ruby #rubylang

2 1 1 0

Reported here: bugs.ruby-lang.org/issues/21824 #ruby #rubylang

1 1 0 0
Post image

Ruby 4 rocks! Thanks @matz.bsky.social ! #rubylang

1 0 0 0
Ruby 2.6.10: 	5901.9 events per second,		
Ruby 2.7.8: 	5580.9 events per second,		
Ruby 3.0.7: 	6154.4 events per second,		
Ruby 3.1.7: 	6089.7 events per second,		
Ruby 3.2.9: 	6390.6 events per second,	7484.2 with YJIT	
Ruby 3.3.10: 	6205.4 events per second,	7786.6 with YJIT	
Ruby 3.4.8: 	6054.3 events per second,	7557.5 with YJIT	
Ruby 4.0.0: 	5721.0 events per second,	7095.4 with YJIT,	6286.2 with ZJIT

Ruby 2.6.10: 5901.9 events per second, Ruby 2.7.8: 5580.9 events per second, Ruby 3.0.7: 6154.4 events per second, Ruby 3.1.7: 6089.7 events per second, Ruby 3.2.9: 6390.6 events per second, 7484.2 with YJIT Ruby 3.3.10: 6205.4 events per second, 7786.6 with YJIT Ruby 3.4.8: 6054.3 events per second, 7557.5 with YJIT Ruby 4.0.0: 5721.0 events per second, 7095.4 with YJIT, 6286.2 with ZJIT

Hmm, I've done a little benchmark for different Rubies, with my standard test of processing firehose events (from a saved file) in my feeds app, and… 4.0 doesn't look great so far 🀨 #rubylang

4 1 1 0
Preview
Ruby 4.0.0 Released | Ruby We are pleased to announce the release of Ruby 4.0.0.Ruby 4.0 introduces β€œRuby Box” and β€œZJIT”, and adds many improvements.

New Ruby for Christmas, as is the tradition πŸ˜„ #rubylang

"ZJIT is a new just-in-time (JIT) compiler, which is developed as the next generation of YJIT" (not as fast just yet)

"Ractor was first introduced in Ruby 3.0 as an experimental feature. We aim to remove its β€œexperimental” status next year" πŸ‘€

7 0 1 0
Preview
Ruby 4.0.0 Released | Ruby We are pleased to announce the release of Ruby 4.0.0.Ruby 4.0 introduces β€œRuby Box” and β€œZJIT”, and adds many improvements.

#RubyLang 4.0.0 Released www.ruby-lang.org/en/news/2025...

1 0 0 0
Preview
Ruby 4.0.0 Released | Ruby We are pleased to announce the release of Ruby 4.0.0.Ruby 4.0 introduces β€œRuby Box” and β€œZJIT”, and adds many improvements.

Ruby 4.0.0 released. Thanks Matz & co.! #rubylang #ruby

www.ruby-lang.org/en/news/2025...

0 0 0 0
Preview
Ruby Programming Language A Programmer's Best Friend

Ohhh, new website? ♦️ www.ruby-lang.org/en/ #rubylang

10 1 3 0
Post image

Ruby 4.0 is here! New ZJIT compiler, Ruby::Box namespaces, redesigned Ractor API, and Set is now a core class. Check out what's new #Ruby #Ruby4 #RubyLang #Programming #WebDev #OpenSource
blog.saeloun.com/2025/12/24/w...

1 0 0 0
Preview
Everyday Rails Testing with RSpec Real-world advice for adding reliable tests to your Rails apps with RSpec. Learn to test with confidence!

πŸ₯³ Happy 30th birthday to #RubyLang, still my favorite programming language! Here's a coupon for my #RSpec book for just $9, with practice #TDD advice. Free updates for Rails 8.1 and Ruby 4 coming early next year! Boosts appreciated! πŸ₯³

0 0 0 0
Preview
GitHub - ruby-go-gem/go-gem-wrapper: go-gem-wrapper is a wrapper for creating Ruby native extension in Go go-gem-wrapper is a wrapper for creating Ruby native extension in Go - ruby-go-gem/go-gem-wrapper

Huh, apparently you can write Ruby native modules in Go πŸ€” they're adding some built-in support for this to rubygems now github.com/ruby-go-gem/... #ruby #rubylang

6 2 0 0
Post image

Be #stinky

#musk #stinky #stimky #paws #sizesky #indiedev #gamedev #gamedevelopment #rustlang #rubylang #computerscience

8 4 0 0
Post image

Twitch is so heavy that I quit using it. Aside from it being toxic and too much of an escapist waste of time. We stream on youube and youtube is better. Expect a stream link soon.

#youtube #streaming #music #drawing #art #artist #compsci #gamedev #indiedev #indiegamedev #rustlang #rubylang #rust

13 3 0 0
Como Leer Una API con Ruby.

Como Leer Una API con Ruby.

How to Read an API with Ruby.

Como Leer Una API con Ruby.

πŸ‘‰ nubecolectiva.com/blog/como-le...

#programming #coding #programaciΓ³n #code #webdevelopment #devs #softwaredevelopment #rubylang #api

2 0 0 0
Preview
Replace Ruby 3.5 with Ruby 4.0 by yahonda Β· Pull Request #94 Β· ruby/erb This commit updates the Ruby version to follow the commit in Ruby master branch. ruby/ruby@6d81969

Hmmmmβ€¦Β πŸ€”πŸ‘€ #ruby #rubylang

0 1 1 0

The saddest thing about the decline of #RubyLang is my jokes about partying hard when I must #HTTParty get crickets 😭

0 0 0 0
Original post on ruby.social

:ruby: #Ruby's #Float contains a bunch of 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 […]

0 0 0 0

Btw, does anyone know which of those are usable without Rails (e.g. Sinatra)? πŸ€” #rails #rubylang

0 0 1 0