havenwood changed the topic of #ruby to: Ruby 3.2.2, 3.1.4, 3.3.0-preview2: https://www.ruby-lang.org | Rules: https://ruby-community.com | Logs: https://libera.irclog.whitequark.org/ruby
alphacentauri has quit [Quit: WeeChat 4.0.5]
weaksauc_ has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
caedmon has joined #ruby
mags has quit [Quit: leaving]
mags has joined #ruby
gr33n7007h has quit [Ping timeout: 248 seconds]
gr33n7007h has joined #ruby
gr33n7007h has quit [Ping timeout: 260 seconds]
gr33n7007h has joined #ruby
caedmon has quit [Ping timeout: 272 seconds]
razetime has joined #ruby
caedmon has joined #ruby
cata has joined #ruby
cata has quit [Changing host]
cata has joined #ruby
cata has quit [Quit: WeeChat 4.0.5]
splud has quit [Ping timeout: 240 seconds]
caedmon has quit [Ping timeout: 240 seconds]
u0_a1152 has joined #ruby
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
u0_a1152 has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby
johnjaye has joined #ruby
Vonter has quit [Ping timeout: 258 seconds]
Vonter has joined #ruby
jas-maelstrom has quit [Quit: Leaving]
jas-maelstrom has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 272 seconds]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 255 seconds]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 255 seconds]
Furry has joined #ruby
_ht has joined #ruby
u0_a1152 has joined #ruby
caedmon has joined #ruby
splud has joined #ruby
caedmon has quit [Read error: Connection reset by peer]
caedmon has joined #ruby
u0_a1152 has quit [Ping timeout: 272 seconds]
u0_a1152 has joined #ruby
caedmon has quit [Ping timeout: 255 seconds]
u0_a1152 has quit [Ping timeout: 272 seconds]
u0_a1152 has joined #ruby
caedmon has joined #ruby
johnjaye has quit [Ping timeout: 255 seconds]
caedmon has quit [Ping timeout: 240 seconds]
FetidToot has quit [Ping timeout: 255 seconds]
u0_a1152 has quit [Ping timeout: 255 seconds]
u0_a1153 has joined #ruby
Furry has quit [Quit: Leaving]
u0_a1153 has quit [Ping timeout: 255 seconds]
u0_a1153 has joined #ruby
u0_a1153 has quit [Read error: Connection reset by peer]
razetime has quit [Ping timeout: 255 seconds]
u0_a1153 has joined #ruby
u0_a1153 has quit [Read error: Connection reset by peer]
u0_a1153 has joined #ruby
_ht has quit [Quit: _ht]
u0_a1153 has quit [Ping timeout: 255 seconds]
grenierm has joined #ruby
razetime has joined #ruby
u0_a1153 has joined #ruby
u0_a1153 has quit [Ping timeout: 258 seconds]
u0_a1154 has joined #ruby
andydude has joined #ruby
u0_a1154 has quit [Ping timeout: 240 seconds]
andydude has left #ruby [#ruby]
willfish has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
Guest84 has quit [Quit: Connection closed]
Guest84 has joined #ruby
TomyWork has joined #ruby
alphacentauri has joined #ruby
clemens3 has quit [Changing host]
clemens3 has joined #ruby
Vonter has quit [Ping timeout: 248 seconds]
Vonter has joined #ruby
Linux_Kerio has joined #ruby
grenierm has quit [Ping timeout: 245 seconds]
u0_a1154 has joined #ruby
konsolebox has joined #ruby
razetime has quit [Ping timeout: 264 seconds]
Guest84 has quit [Quit: Connection closed]
u0_a1154 has quit [Ping timeout: 246 seconds]
u0_a1154 has joined #ruby
u0_a115 has joined #ruby
Quiet-Oil9262 has joined #ruby
u0_a1154 has quit [Ping timeout: 272 seconds]
Quiet-Oil9262 has quit [Client Quit]
Quiet-Oil9262 has joined #ruby
FetidToot has joined #ruby
u0_a115 has quit [Ping timeout: 240 seconds]
reset has joined #ruby
u0_a115 has joined #ruby
rnkn has joined #ruby
<rnkn> hello
<rnkn> does anyone know why installing ruby with documentation (via macports) would require rust?
u0_a115 has quit [Ping timeout: 272 seconds]
<Guest808> because those people won't stop until they've infected everything
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
<rnkn> rust is listed as a build dependency on macports, but not on pkgsrc...
u0_a115 has joined #ruby
u0_a1151 has joined #ruby
u0_a115 has quit [Ping timeout: 258 seconds]
razetime has joined #ruby
u0_a1151 has quit [Read error: Connection reset by peer]
u0_a1151 has joined #ruby
Condition_Boy has joined #ruby
ConditionBoy has quit [Read error: Connection reset by peer]
Condition_Boy has quit [Read error: Connection reset by peer]
ConditionBoy has joined #ruby
Condition_Boy has joined #ruby
ConditionBoy has quit [Read error: Connection reset by peer]
Condition_Boy has quit [Read error: Connection reset by peer]
ConditionBoy has joined #ruby
Condition_Boy has joined #ruby
ConditionBoy has quit [Read error: Connection reset by peer]
Condition_Boy has quit [Read error: Connection reset by peer]
ConditionBoy has joined #ruby
u0_a1151 has quit [Ping timeout: 260 seconds]
Condition_Boy has joined #ruby
ConditionBoy has quit [Ping timeout: 240 seconds]
<rnkn> but then I guess everyone here is using homebrew... my bad
f516a557 has joined #ruby
Condition_Boy has quit [Read error: Connection reset by peer]
Quiet-Oil92624 has joined #ruby
ConditionBoy has joined #ruby
markong has joined #ruby
u0_a1151 has joined #ruby
u0_a1151 has quit [Ping timeout: 255 seconds]
u0_a1151 has joined #ruby
u0_a1152 has joined #ruby
u0_a1151 has quit [Ping timeout: 258 seconds]
<adam12> rnkn: Rust is an optional dependency if you want yjit. I notice homebrew doesn't list rust as a dependency either, so I presume you get a ruby without +yjit as a flag via homebrew.
u0_a1152 has quit [Ping timeout: 258 seconds]
u0_a1152 has joined #ruby
u0_a1152 has quit [Read error: Connection reset by peer]
u0_a1153 has joined #ruby
<Rovanion> Anyone want to code golf fabric_routers.values.map{ |r| r['main_hostname']}.zip(fabric_routers.values.map { |r| r['slow_ethernet']['hostname']} ).each do |std, eth| ? It picks out two paths in a Hash and loops over the pairs.
f516a557 has quit [Quit: f516a557]
<Rovanion> An analogue of Clojure's select-keys function would be helpful: https://clojuredocs.org/clojure.core/select-keys
<adam12> Rovanion: Not sure much can be improved from your current solution.
Quiet-Oil9262 has quit [Quit: The Lounge - https://thelounge.chat]
Quiet-Oil92624 is now known as Quiet-Oil9262
hightower3 has quit [Ping timeout: 264 seconds]
<gr33n7007h> Rovanion: Hash#slice might be equivalent
<Rovanion> gr33n7007h: Yes, thank you!
u0_a1153 has quit [Ping timeout: 264 seconds]
<gr33n7007h> np 👍
u0_a1153 has joined #ruby
markong has quit [Ping timeout: 272 seconds]
<Rovanion> If a function f takes a hash as its first argument, is it possible to pick out a key and assign it to a symbol/name in the function declaration? Instead of writing `def f(hash) key = hash[:key]; key end` perhaps there is a syntax `def f({key :key}) key end`?
u0_a1153 has quit [Ping timeout: 240 seconds]
teclator has quit [Ping timeout: 272 seconds]
teclator has joined #ruby
u0_a1153 has joined #ruby
graywolf has joined #ruby
<gr33n7007h> Rovanion: I suppose you can do: `def foo(hash, key = hash[:key]) = key` for whatever reason.
<leftylink> ;w
<leftylink> I was thinking, too bad the question restircts it to first argument, because if it were the last argument the answer would be obvious
weaksauc_ has joined #ruby
Pixi` has joined #ruby
<leftylink> oh except I guess you can't do that in 3.0 anymore, you'd have to use **. fine, fine, not as good then
weaksauce has quit [Read error: Connection reset by peer]
Guest808 has quit [Remote host closed the connection]
Guest808 has joined #ruby
Pixi has quit [Ping timeout: 272 seconds]
u0_a1153 has quit [Ping timeout: 240 seconds]
d88ab5e9 has joined #ruby
graywolf_ has joined #ruby
graywolf has quit [Ping timeout: 258 seconds]
Vonter has quit [Ping timeout: 258 seconds]
Vonter has joined #ruby
johnjaye has joined #ruby
Vonter has quit [Ping timeout: 252 seconds]
Vonter has joined #ruby
hiyori has joined #ruby
Linux_Kerio has quit [Ping timeout: 260 seconds]
hiyori has quit [Quit: Client closed]
willfish has quit [Ping timeout: 272 seconds]
graywolf_ has quit [Quit: WeeChat 4.0.4]
graywolf has joined #ruby
ConditionBoy has quit [Read error: Connection reset by peer]
ConditionBoy has joined #ruby
ConditionBoy has quit [Read error: Connection reset by peer]
ConditionBoy has joined #ruby
markong has joined #ruby
ox1eef_ has quit [Quit: Leaving]
ox1eef_ has joined #ruby
_ht has joined #ruby
TomyWork has quit [Remote host closed the connection]
jmjl- is now known as jmjl
razetime has quit [Quit: Go back to your cringe 9 to 5. I'll be gaming.]
u0_a1153 has joined #ruby
u0_a1153 has quit [Ping timeout: 255 seconds]
u0_a1153 has joined #ruby
u0_a1153 has quit [Ping timeout: 248 seconds]
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 272 seconds]
desnudopenguino1 is now known as desnudopenguino
ConditionBoy has quit [Ping timeout: 272 seconds]
ConditionBoy has joined #ruby
d88ab5e9 has quit [Ping timeout: 248 seconds]
goldfish has joined #ruby
goldfish has quit [Read error: Connection reset by peer]
goldfish has joined #ruby
Linux_Kerio has joined #ruby
egality has joined #ruby
libsys has joined #ruby
markong has quit [Ping timeout: 264 seconds]
eddof13 has quit [Quit: eddof13]
goldfish has quit [Read error: Connection reset by peer]
u0_a1153 has joined #ruby
goldfish has joined #ruby
konsolebox has quit [Remote host closed the connection]
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
desnudopenguino1 is now known as desnudopenguino
u0_a1153 has quit [Ping timeout: 255 seconds]
smp has quit [Ping timeout: 255 seconds]
smp has joined #ruby
u0_a1153 has joined #ruby
Linux_Kerio has quit [Ping timeout: 255 seconds]
vvn has joined #ruby
<vvn> any of you guys pushing asciidoctor docs from a bitbucket repo to confluence?
_ht has quit [Quit: _ht]
u0_a1153 has quit [Ping timeout: 255 seconds]
Linux_Kerio has joined #ruby
hightower2 has joined #ruby
u0_a1153 has joined #ruby
eddof13 has joined #ruby
tomtmym has quit [Quit: Gone.]
<havenwood> rnkn: FWIW, you can uninstall Rust after installing Ruby. As mentioned, YJIT needs Rust to compile but is optional.
u0_a1153 has quit [Ping timeout: 248 seconds]
u0_a1153 has joined #ruby
graywolf has quit [Quit: WeeChat 4.0.4]
Linux_Kerio has quit [Ping timeout: 240 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
u0_a1153 has quit [Ping timeout: 248 seconds]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
markong has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
teclator has quit [Ping timeout: 258 seconds]
alphacentauri has quit [Quit: WeeChat 4.0.5]
alphacentauri has joined #ruby
justache is now known as justHaunting
alphacentauri has quit [Quit: WeeChat 4.0.5]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
<adam12> gr33n7007h: Nice solution with Hash#slice. I didn't even realize they were the same hashes :| Early mornings....
eddof13 has joined #ruby
alphacentauri has joined #ruby
razetime has joined #ruby
eddof13 has quit [Quit: eddof13]
Condition_Boy has joined #ruby
ConditionBoy has quit [Read error: Connection reset by peer]
Condition_Boy has quit [Read error: Connection reset by peer]
ConditionBoy has joined #ruby
<gr33n7007h> adam12: not to worry, easily done without some morning ☕ 👍
razetime has quit [Quit: Go back to your cringe 9 to 5. I'll be gaming.]