havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.2, 3.1.4, 3.0.6, 3.3.0-preview1: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://t.ly/9ua4 | Logs: https://libera.irclog.whitequark.org/ruby/
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
Thanzex3268 has quit [Server closed connection]
Thanzex3268 has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 265 seconds]
dhruvasagar has joined #ruby
Synthead has joined #ruby
<Synthead> Is there a way to require a rubygems version?
<Synthead> For example, Gem::VERSION on one system is 3.4.8, and another is 3.2.33
<Synthead> It'd be nice if I could add something to Gemfile or .ruby-version if possible
dhruvasagar has quit [Ping timeout: 268 seconds]
dhruvasagar has joined #ruby
caedmon has quit [Ping timeout: 255 seconds]
dhruvasagar has quit [Ping timeout: 255 seconds]
<weaksauce> Synthead doesn't it get versioned with the ruby version
dhruvasagar has joined #ruby
<Synthead> you can install rubygems-updates and get a more recent version
markong has quit [Ping timeout: 240 seconds]
<weaksauce> i don't think there is a way
<weaksauce> Synthead i guess you could write a shim
<weaksauce> read from .gem-version
caedmon has joined #ruby
caedmon has quit [Remote host closed the connection]
caedmon has joined #ruby
moldorcoder7 has joined #ruby
introom has quit [Server closed connection]
<Synthead> yeah, seems possible
introom has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
Synthead has quit [Quit: Leaving]
ap4y has joined #ruby
dhruvasagar has quit [Ping timeout: 268 seconds]
caedmon has quit [Ping timeout: 250 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
moldorcoder7 has quit [Ping timeout: 255 seconds]
dhruvasagar has quit [Ping timeout: 255 seconds]
yassernasc has quit [Remote host closed the connection]
yassernasc has joined #ruby
yassernasc has quit [Remote host closed the connection]
reset has quit [Quit: reset]
shokohsc51 has joined #ruby
shokohsc5 has quit [Ping timeout: 250 seconds]
shokohsc51 is now known as shokohsc5
dhruvasagar has joined #ruby
Cache_Money has quit [Quit: Client closed]
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
jhass has quit [Ping timeout: 255 seconds]
_whitelogger has joined #ruby
pounce has quit [Ping timeout: 248 seconds]
heartburn has joined #ruby
egality has joined #ruby
pounce has joined #ruby
duderonomy has joined #ruby
hansolo has joined #ruby
dhruvasagar has quit [Ping timeout: 250 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
bambanxx has joined #ruby
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
bambanxx has joined #ruby
dviola has quit [Quit: WeeChat 3.8]
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
dhruvasagar has joined #ruby
eddof13 has joined #ruby
bambanxx has joined #ruby
_ht has joined #ruby
jhass has quit [Ping timeout: 265 seconds]
jhass has joined #ruby
donofrio has quit [Ping timeout: 268 seconds]
ap4y has quit [Remote host closed the connection]
acosta has quit [Server closed connection]
acosta has joined #ruby
sphex has quit [Ping timeout: 250 seconds]
sphex has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gonix has joined #ruby
eddof13 has joined #ruby
rhe has quit [Server closed connection]
rhe has joined #ruby
soknte5 has joined #ruby
gonix has quit [Ping timeout: 240 seconds]
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
soknte5 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
_ht has quit [Quit: _ht]
hays has joined #ruby
roadie has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MacBri has joined #ruby
keypresser86 has quit []
keypresser86 has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MalusVulgaris has joined #ruby
mexen has joined #ruby
jprokop has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
teclator has joined #ruby
Sankalp has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Sankalp has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 240 seconds]
Sankalp- is now known as Sankalp
roshanavand_ has joined #ruby
FabioPort has joined #ruby
TomyWork has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
MacBri has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
BazzaBazaa has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
infinityfye has joined #ruby
roshanavand_ has quit [Ping timeout: 240 seconds]
infinity_fye has joined #ruby
infinityfye has quit [Killed (NickServ (GHOST command used by infinity_fye!~infinityf@196.159.7.8))]
infinity_fye is now known as infinityfye
roshanavand_ has joined #ruby
rovanion has quit [Server closed connection]
rovanion has joined #ruby
finsternis has quit [Read error: Connection reset by peer]
BazzaBazaa has quit [Remote host closed the connection]
BazzaBazaa has joined #ruby
wallfl83 has joined #ruby
Sankalp has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Sankalp has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
teclator has joined #ruby
desnudopenguino has quit [Read error: Connection reset by peer]
BazzaBazaa has quit [Remote host closed the connection]
desnudopenguino has joined #ruby
peder has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
FabioPort has quit [Quit: Client closed]
peder has joined #ruby
BazzaBazaa has joined #ruby
desnudopenguino has quit [Ping timeout: 240 seconds]
mexen has quit [Ping timeout: 240 seconds]
desnudopenguino has joined #ruby
hays has quit [Ping timeout: 240 seconds]
mexen has joined #ruby
roadie has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.91)]
BazzaBazaa has quit [Ping timeout: 245 seconds]
reset has joined #ruby
desnudopenguino has quit [Ping timeout: 240 seconds]
BazzaBazaa has joined #ruby
desnudopenguino has joined #ruby
bambanxx has joined #ruby
wallfl83 has quit [Ping timeout: 240 seconds]
bambanxx has quit [Client Quit]
TomyLobo2 has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
markong has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
BazzaBazaa has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
yassernasc has joined #ruby
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
otisolsen70 has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
BazzaBazaa has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
yassernasc has quit [Remote host closed the connection]
yassernasc has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
roadie has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby
BazzaBazaa has quit [Remote host closed the connection]
mexen has quit [Ping timeout: 240 seconds]
mexen has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
FabioPort has joined #ruby
dhruvasagar has joined #ruby
BazzaBazaa has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
FabioPort has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
dhruvasagar has joined #ruby
VaniaPy has joined #ruby
FabioPort has joined #ruby
fercell has joined #ruby
interp has joined #ruby
VaniaPy has left #ruby [#ruby]
interp has quit [Ping timeout: 255 seconds]
roadie has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.91)]
TomyLobo2 has quit [Quit: Leaving]
BazzaBazaa has quit [Remote host closed the connection]
shokohsc55 has joined #ruby
shokohsc5 has quit [Ping timeout: 255 seconds]
shokohsc55 is now known as shokohsc5
BazzaBazaa has joined #ruby
CrazyEddy has quit [Ping timeout: 248 seconds]
CrazyEddy has joined #ruby
FabioPort has quit [Quit: Client closed]
ruby-eval has quit [Server closed connection]
ruby-eval has joined #ruby
FabioPort has joined #ruby
eddof13 has joined #ruby
MalusVulgaris has quit [Ping timeout: 240 seconds]
yassernasc has quit [Remote host closed the connection]
yassernasc has joined #ruby
zephyr_ has joined #ruby
<leah2> > The last reason to switch to hand-written recursive descent actually comes from Matz himself. In version 0.95 of Ruby — released in 1995 — a small ToDo file was included in the repository. One of very few items in that file was: Hand written parser(recursive decent)
<leah2> lmao
BazzaBazaa has quit [Remote host closed the connection]
moldorcoder7 has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
yassernasc has quit [Remote host closed the connection]
FabioPort has quit [Quit: Client closed]
moldorcoder7 has quit [Ping timeout: 240 seconds]
_ht has joined #ruby
lucartc has joined #ruby
MalusVulgaris has joined #ruby
MalusVulgaris has quit [Remote host closed the connection]
moldorcoder7 has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 240 seconds]
desnudopenguino1 is now known as desnudopenguino
roadie has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #ruby
lucartc has quit [Ping timeout: 255 seconds]
pgib has joined #ruby
aindilis has quit [Server closed connection]
aindilis has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 240 seconds]
desnudopenguino1 is now known as desnudopenguino
<adam12> leah2: I saw that too. Coding really is timeless. LOL.
<adam12> Tho it makes me curious what else was in that TODO
<leah2> hehe
markong has quit [Ping timeout: 255 seconds]
pjb has quit [Ping timeout: 248 seconds]
yassernasc has joined #ruby
lucartc has joined #ruby
zephyr_ has quit [Quit: leaving]
roshanavand_ has quit [Ping timeout: 255 seconds]
Ascell28 has joined #ruby
jidar has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neshpion has joined #ruby
eddof13 has joined #ruby
caedmon has joined #ruby
yassernasc has quit [Remote host closed the connection]
caedmon has quit [Ping timeout: 255 seconds]
yassernasc has joined #ruby
glider has quit [Server closed connection]
lena64t has joined #ruby
glider has joined #ruby
Ascell28 has quit [Ping timeout: 240 seconds]
lena64t1 has joined #ruby
lena64t has quit [Remote host closed the connection]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
dza has quit [Ping timeout: 246 seconds]
weaksauce has joined #ruby
eddof13 has quit [Quit: Textual IRC Client: www.textualapp.com]
eddof13 has joined #ruby
twopoint718 has joined #ruby
brokkoli_origin has quit [Quit: (Leaving)]
John_Ivan_ has quit [Quit: Disrupting the dragon's slumber one time too often shall eventually bestow upon all an empirical and indiscriminate conflagration that will last for all goddamn eternity.]
_ht has quit [Remote host closed the connection]
rapha has quit [Quit: 'night]
brokkoli_origin has joined #ruby
yassernasc has quit [Remote host closed the connection]
infinityfye has quit [Read error: Connection reset by peer]
yassernasc has joined #ruby
eddof13 has quit [Remote host closed the connection]
<leah2> hm, why doesnt lambda { |a,b,&block| yield a } work anymore?
<leah2> block.call works, hrm
<leftylink> hmm, I was about to ask whether it worked at some point in the past, but I realised I have no way to use past ruby versions so even if it worked in the past that information can't help me, so never mind
<leah2> iirc there was a difference between lambda and Proc.new
eddof13 has joined #ruby
markong has joined #ruby
John_Ivan has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has quit [Ping timeout: 240 seconds]
<leah2> hmm, how can i wait from a function that a callback is executed and ship a value back?
<leah2> like a blocking queue of size 0
<lucartc> leftylink coudn't you just install a previous ruby version and test it?
<leah2> i'll just use generic Queue
yassernasc has quit [Remote host closed the connection]
<ox1eef_> lambda has the semantics of a method: 'return' will return for that lambda, where as with proc {} / Proc.new {} it would return for the method from which theyre called. And argument handling is the same. lambda will treat arguments the same way a method would, proc's don't care.
<leah2> ah return, not yield
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 240 seconds]
desnudopenguino1 is now known as desnudopenguino
cek has joined #ruby
roadie has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
tomtmym has quit [Quit: Gone.]
roadie has quit [Ping timeout: 240 seconds]
dza has joined #ruby
<mooff> "next foo" works like "return foo" in regular blocks
otisolsen70 has quit [Quit: Leaving]
ap4y has joined #ruby
<jprokop> BTW do check out the Ruby spec, where the behavior is described (and I assume tested), it seems that using top level yield on a lambda is not supported since 3.0: https://github.com/ruby/ruby/blob/master/spec/ruby/language/yield_spec.rb#L204
<jprokop> and also on procs judging by the #times example below
llua has quit [Server closed connection]
roadie has joined #ruby
llua has joined #ruby
gr33n7007h has quit [Ping timeout: 240 seconds]
gr33n7007h has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
gr33n7007h has quit [Ping timeout: 255 seconds]
gr33n7007h has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
roadie has joined #ruby
jprokop has quit [Quit: Leaving.]
roadie has quit [Ping timeout: 240 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 240 seconds]