whysthatso125070 has quit [Read error: Connection reset by peer]
whysthatso125070 has joined #ruby
konsolebox has joined #ruby
shokohsc510 has joined #ruby
Furai has quit [Quit: WeeChat 4.0.1]
shokohsc51 has quit [Ping timeout: 260 seconds]
shokohsc510 is now known as shokohsc51
MarvelousWololo has quit [Read error: Connection reset by peer]
Furai has joined #ruby
konsolebox has quit [Quit: Leaving]
Castan has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
Castan has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
perrierjouet has quit [Quit: WeeChat 4.0.2]
perrierjouet has joined #ruby
grenierm has quit [Ping timeout: 246 seconds]
victori has quit [Ping timeout: 260 seconds]
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino1 is now known as desnudopenguino
c10l6 has quit [Quit: See ya! o/]
c10l6 has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 260 seconds]
desnudopenguino1 is now known as desnudopenguino
jess has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 244 seconds]
desnudopenguino1 is now known as desnudopenguino
user23 has joined #ruby
drainpipe has joined #ruby
drainpipe is now known as bdb
bdb is now known as be1m0nt
be1m0nt has joined #ruby
be1m0nt has quit [Changing host]
be1m0nt is now known as b3lm0nt
nkm has joined #ruby
b3lm0nt has quit [Quit: WeeChat 3.8]
b3lm0nt has joined #ruby
Lowly_Drainpipe has quit [Quit: WeeChat 3.8]
infinityfye has quit [Ping timeout: 245 seconds]
TomyWork has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 260 seconds]
desnudopenguino1 is now known as desnudopenguino
churib has joined #ruby
<churib>
Hi, I am migrating from ruby 2.6 to 3.2 and have following "keyword arg deprecation" problem: [{foo:1, bar:2},{foo:10,bar:11},...].each do {|foo:,bar:| yaddayadda(foo,bar)}
<churib>
Is there an easy/short/clever trick to use this pattern with a newer ruby version?
infinityfye has joined #ruby
drainpipe has joined #ruby
drainpipe is now known as be1m0nt
be1m0nt has joined #ruby
be1m0nt has quit [Changing host]
nkm has quit [Ping timeout: 246 seconds]
b3lm0nt has quit [Quit: WeeChat 3.8]
b3lm0nt has joined #ruby
b3lm0nt has quit [Client Quit]
be1m0nt has quit [Quit: WeeChat 3.8]
drainpipe has joined #ruby
drainpipe has joined #ruby
drainpipe has quit [Changing host]
drainpipe is now known as be1m0nt
be1m0nt is now known as b3lm0nt
b3lm0nt has quit [Client Quit]
b3lm0nt has joined #ruby
b3lm0nt has quit [Client Quit]
b3lm0nt has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 246 seconds]
desnudopenguino1 is now known as desnudopenguino
churib has quit [Quit: Client closed]
user23 has quit [Remote host closed the connection]
<leftylink>
therefore, first instance is guaranteed
<leftylink>
although, philosoraptor
caedmon has quit [Ping timeout: 240 seconds]
<ox1eef_>
I think that's a stable behavior you can rely on. Ruby won't randomly replacing the 2nd, 3rd, etc occurrance. That would be too bizarre.
<ox1eef_>
Although, personally, I would stick with number indexes.
<leftylink>
"since it's been in my house my life has descended into pure chaos"
<johnjaye>
I probably shouldn't compare ruby to C. but it's on my brain. in the land of C nothing is guaranteed and anything can be a trap-door at any time.
<johnjaye>
so i ask silly questions like this.
<ox1eef_>
Indeed.
<ox1eef_>
Indeed to the dangerous nature of C that is.
<johnjaye>
"Oh you wanted to use ++ twice in the same expression? UNDEFINED!"
<johnjaye>
whereas ruby always seems like it just knows what i want before i even ask
<ox1eef_>
Ruby is a safe language. You have to work hard to shoot yourself in the foot, where as with C you have to work hard to not shoot yourself in the foot.
<ox1eef_>
Kind of changes a bit in the context of the web, but even then, it is relatively safe.
<johnjaye>
what is a "dangerous" web language
<johnjaye>
php?
<ox1eef_>
CGI + C
<johnjaye>
fair enough
goldfish has quit [Read error: Connection reset by peer]
goldfish_ has joined #ruby
goldfish_ has quit [Remote host closed the connection]