havenwood changed the topic of #ruby to: Ruby 3.3.5 (3.4.0-preview2) https://www.ruby-lang.org | Logs https://libera.irclog.whitequark.org/ruby
dhruvasagar has joined #ruby
szkl has joined #ruby
dhruvasagar has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
lunarkitty has quit [Ping timeout: 264 seconds]
entropie has quit [Ping timeout: 244 seconds]
dhruvasagar has joined #ruby
entropy has joined #ruby
mange has joined #ruby
lunarkitty has joined #ruby
entropie has joined #ruby
entropy has quit [Ping timeout: 255 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby
Obsdark has quit [Quit: Nettalk6 - www.ntalk.de]
dhruvasagar has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby
brokkoli_origin has quit [Ping timeout: 276 seconds]
brokkoli_origin has joined #ruby
dhruvasagar has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
konsolebox has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
cappy has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
cappy has quit [Quit: Leaving]
grenierm has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
gaussianblue has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
ua_ has quit [Ping timeout: 276 seconds]
ua_ has joined #ruby
sarna has quit [Ping timeout: 252 seconds]
sarna has joined #ruby
Vonter has quit [Ping timeout: 252 seconds]
Vonter has joined #ruby
Vonter has quit [Client Quit]
Vonter has joined #ruby
Vonter has quit [Read error: Connection reset by peer]
Vonter_ has joined #ruby
<isene> Damn autocorrect, but you could probably decifer the above ;/
Hammdist has quit [Quit: leaving]
Perflosopher has quit [Read error: Connection reset by peer]
Perflosopher has joined #ruby
grenierm has quit [Ping timeout: 256 seconds]
graywolf has joined #ruby
lunarkitty has quit [Remote host closed the connection]
cappy has joined #ruby
kiwi_36 has joined #ruby
cappy_ has joined #ruby
cappy is now known as Guest8765
Guest8765 has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
cappy_ is now known as cappy
cappy_ has joined #ruby
cappy has quit [Killed (osmium.libera.chat (Nickname regained by services))]
cappy_ is now known as cappy
hwpplayer1 has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
Vonter_ has quit [Read error: Connection reset by peer]
Vonter has joined #ruby
mange has quit [Quit: Zzz...]
Aminda has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
hwpplayer1 has joined #ruby
Vonter has quit [Ping timeout: 265 seconds]
Linux_Kerio has joined #ruby
hightower2 has joined #ruby
mbug__ has quit [Ping timeout: 265 seconds]
mbug_ has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
Vonter has joined #ruby
user71 has joined #ruby
Aminda has quit [Quit: Default quit message is difficult to set. If you don't see me returning, ask me? You will find me, if you want to]
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
oneeyedalien has joined #ruby
oneeyedalien has quit [Ping timeout: 246 seconds]
hightower2 has quit [Remote host closed the connection]
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 248 seconds]
desnudopenguino1 is now known as desnudopenguino
Gestahlt has joined #ruby
<Gestahlt> Hiho - Im struggling with - Ractors! Yay! Well - I managed to build a fairly nice scheduler and stuff, and it does work with some little edges...
<Gestahlt> Well - One of the edges that hurts pretty badly is the inability to kill a Ractor - yea - well things like "Timeouts" and such - So it is possible to block your whole system by just having unkillable Ractors
<Gestahlt> The only info i saw was a rejected proposal for killing ractors, and i start to think i used the wrong "Tool" for running jobs in parallel within Ruby.. so - Before i start refactoring (AGAIN) - Any idea how to solve that issue?
mweckbecker has quit [Ping timeout: 260 seconds]
mweckbecker has joined #ruby
hwpplayer1 has joined #ruby
gaussianblue has quit [Quit: leaving]
<johnjaye> is a block basically just a way for a function to take a lambda?
hwpplayer1 has quit [Remote host closed the connection]
konsolebox has quit [Quit: .]
lunarkitty has joined #ruby
oneeyedalien has joined #ruby
<adam12> johnjaye: You could look at it that way I guess. An implicit lambda.
oneeyedalien has quit [Quit: Leaving]
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
crespire1 has joined #ruby
crespire has joined #ruby
crespire1 has quit [Ping timeout: 252 seconds]
<havenwood> johnjaye: I'd say "yes, without instantiating an object."
<havenwood> Functions are first class citizens and we can just pass a lambda, which looks nearly identical to a block in stabby format.
<havenwood> Blocks exist to avoid the object associated with a proc.
araujo has joined #ruby
<havenwood> It's a common enough case you only need to pass a single function that the "block" idea works pretty well for that case.
<havenwood> The block can also now be passed on without instantiating the proc. So you can pass `&` alone or `&block` to a subsequent method, and it'll pass as a block without creating a Proc object.
<havenwood> Not creating an object saves a ton of overhead.
<havenwood> Gestahlt: I don't think Ractors are useable in their current form.
<havenwood> Making a scheduler and stuff with it sounds fun, but I'd worry about the moving target and rough edge cases being bruising.
<havenwood> Gestahlt: I'd recommend being free with feedback on the bug tracker. The Ractor folk need to hear from more builders.
donofrio has joined #ruby
neuroevolutus has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
neuroevolutus has quit [Quit: Client closed]
neuroevolutus has joined #ruby
Linux_Kerio has quit [Ping timeout: 255 seconds]
neuroevolutus has quit [Quit: Client closed]
<johnjaye> ok. I was looking at Signal module and I noticed the trap function literally just has 2 forms. one takes a command, the other takes a block
<johnjaye> that sounds like something super specific to ruby internals!
neuroevolutus has joined #ruby
user71 has quit [Quit: Leaving]
donofrio has joined #ruby
donofrio has quit [Remote host closed the connection]
graywolf has quit [Ping timeout: 252 seconds]
___nick___ has quit [Ping timeout: 265 seconds]
lunarkitty has quit [Ping timeout: 255 seconds]
donofrio has joined #ruby
graywolf has joined #ruby
graywolf has quit [Remote host closed the connection]
donofrio has quit [Ping timeout: 265 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
mange has joined #ruby
Guest25 has joined #ruby
Guest25 has quit [Client Quit]
lucerne has quit [Ping timeout: 252 seconds]
neuroevolutus has quit [Ping timeout: 256 seconds]
araujo has quit [Ping timeout: 248 seconds]
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #ruby
cappy has quit [Quit: Leaving]
araujo has joined #ruby