adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
<nakilon> rub 3.0.1 is 15% slower than 2.3.8 for my app _--
<nakilon> and no help from --jit
SystemFFan has quit [Remote host closed the connection]
<nakilon> hah, truffleruby works funny -- it's really slower in the start and at the 6 seconds time it reaches the ruby 2.3
ur5us has joined #ruby
Oxfuxxx has joined #ruby
georgemp has quit [Ping timeout: 252 seconds]
georgemp has joined #ruby
<nakilon> btw a week ago when I said I want to make my program think that it operates usual numbers but in fact it was an object with one more attribute and that I used the DelegateClass it all have resulted in that the program became 10 times slower
shokohsc8 has joined #ruby
shokohsc has quit [Ping timeout: 252 seconds]
shokohsc8 is now known as shokohsc
<nakilon> $ ruby -e "p STDOUT.pos"
<nakilon> 17800074
<nakilon> $ ruby -ropen3 -e "p Open3.capture2e 'ruby -e \"p STDOUT.pos\"'"
<nakilon> ["-e:1:in `pos': Illegal seek @ rb_io_tell - <STDOUT> (Errno::ESPIPE)\n\tfrom -e:1:in `<main>'\n", #<Process::Status: pid 83602 exit 1>]
<nakilon> the only google result for '"open3" "Illegal seek @ rb_io_tell"' is https://github.com/ruby/reline/issues/66
<nakilon> and it's the same error in 2.3.8 and 3.0.1
<nakilon> (and I suppose in everything in between)
najatac has joined #ruby
najatac has left #ruby [Leaving]
mrkz_c has joined #ruby
hololeap_ has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
hololeap_ is now known as hololeap
jpw has joined #ruby
kiki_lamb has joined #ruby
neshpion has quit [Ping timeout: 276 seconds]
ur5us has quit [Ping timeout: 240 seconds]
<rapha> adam12: actually, 100% sure they _can_. question is will they, and for what reason and for whom.
factor has quit [Read error: Connection reset by peer]
factor has joined #ruby
<rapha> nakilon: wow, you were on a debugging spree. everythig working now after a good amount of sleep? :)
TomyWork has joined #ruby
mrkz_c has quit [Quit: Connection closed for inactivity]
teclator has joined #ruby
hololeap_ has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
kiki_lamb has quit [Ping timeout: 252 seconds]
flooose has joined #ruby
noa has joined #ruby
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 256 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 244 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 244 seconds]
elf_fortrez has joined #ruby
kinduff4 is now known as kinduff
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
Oxfuxxx has quit [Ping timeout: 252 seconds]
kiki_lamb has joined #ruby
noa has quit [Quit: Konversation terminated!]
kiki_lamb has quit [Ping timeout: 244 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
elf_fortrez has quit [Ping timeout: 256 seconds]
AndrewYu is now known as Andrew
reset has joined #ruby
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 245 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 244 seconds]
roadie has quit [Ping timeout: 252 seconds]
roadie has joined #ruby
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
nopcOde has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
nopc0de_ has quit [Ping timeout: 244 seconds]
kiki_lamb has joined #ruby
roadie has joined #ruby
kiki_lamb has quit [Ping timeout: 256 seconds]
roadie has quit [Ping timeout: 252 seconds]
noa has joined #ruby
noa has quit [Client Quit]
noa has joined #ruby
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 245 seconds]
roadie has joined #ruby
kiki_lamb has joined #ruby
noa has quit [Quit: Konversation terminated!]
noa has joined #ruby
noa has quit [Client Quit]
dachi__ has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
roadie has quit [Ping timeout: 240 seconds]
dachi_ has quit [Ping timeout: 252 seconds]
dachi_ has joined #ruby
dachi__ has quit [Ping timeout: 252 seconds]
Skyfire has quit [Ping timeout: 240 seconds]
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 244 seconds]
roadie has joined #ruby
kiki_lamb has joined #ruby
kiki_lamb has quit [Ping timeout: 252 seconds]
roadie has quit [Ping timeout: 252 seconds]
darkxploit has joined #ruby
kiki_lamb has joined #ruby
hololeap_ has quit [Ping timeout: 276 seconds]
<nakilon> nope ( my github comment on similar issue just made someone do a fix in ruby 6 hours ago https://github.com/ruby/ruby/pull/4796 and close the issue but I don't really understand it
jetchisel has quit [Ping timeout: 248 seconds]
jetchisel has joined #ruby
<nakilon> is there any tool to see how gem was changing the supported ruby version? because wtf is this https://github.com/ruby/io-console/blob/679a941d05d869f5e575730f6581c027203b7b26/io-console.gemspec#L2
<adam12> nakilon: Maybe try getting the Gem path? and use that instead of `__dir__`
<nakilon> looks like the 0.5.3 was < 2.4 https://github.com/ruby/io-console/commit/73e7b6318a9f5440c36d23154f816c7573705857 but why then gem install reline demands io-console-0.5.9 if it's ~0.5 ? why doesn't bundler use 0.5.3 to conform my ruby version? it can't?
<nakilon> ah anyway 0.5.3 fails to build with some compilation error...
<adam12> nakilon: Gem.datadir("your-gem-name") # .../gems/your-gem-name-0.0.0/data/your-gem-name
<nakilon> adam12 thanks I guess in the link above I've figured the thing out -- the github says: master v0.5.9 v0.5.7 v0.5.6 v0.5.5 v0.5.4
<adam12> nakilon: I think we might be having different convos going. THis is about your sinatra assets.
<nakilon> woah
<nakilon> I see
<nakilon> so I copypasted this https://github.com/ruby/ruby/blob/491ab2820aada99f53c328f83f0345acc517fc37/test/readline/helper.rb#L17 into the ruby -ropen3 -e command but it still fails with the same error
Oddmonger has left #ruby [WeeChat 3.2]
roadie has joined #ruby
<nakilon> the use_ext_readlinedidn't help either
bit4bit has joined #ruby
goldfish has joined #ruby
nik has joined #ruby
_ht has joined #ruby
SystemFFan has joined #ruby
keir has joined #ruby
mrkz_c has joined #ruby
TomyWork has quit [Remote host closed the connection]
_aeris_ has joined #ruby
aeris has quit [Remote host closed the connection]
_aeris_ is now known as aeris
jhawthorn has quit [Quit: ZNC 1.8.2 - https://znc.in]
jhawthorn has joined #ruby
pgib has quit [Ping timeout: 252 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
techsurvivor has joined #ruby
keir has quit [Quit: keir]
keir has joined #ruby
benjaminoakes has quit [Quit: Client closed]
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
techsurvivor has quit [Ping timeout: 240 seconds]
mjh has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mjh has joined #ruby
tstirrat has joined #ruby
<tstirrat> do all mutative methods in the core libs have an alias with a bang? e.g. `pop` vs `pop!`
<tstirrat> oh huh nvm
<tstirrat> it's that there are two versions and one mutates and the other doesn't
<tstirrat> that's nifty
<weaksauce> generally the ! denotes risky
Oxfuxxx has joined #ruby
<weaksauce> in rails it means throw exception instead of return false
<tstirrat> ah gotcha
tstirrat has quit [Quit: WeeChat 3.0.1]
mjh has quit [Ping timeout: 256 seconds]
lunarkitty has joined #ruby
keir has quit [Quit: keir]
elf_fortrez has joined #ruby
elf_fortrez has quit [Client Quit]
legahc has quit [Ping timeout: 276 seconds]
legahc has joined #ruby
jpw has quit [Remote host closed the connection]
keir has joined #ruby
_ht has quit [Remote host closed the connection]
mikrosis has joined #ruby
SystemFFan has quit [Remote host closed the connection]
SystemFFan has joined #ruby
keir has quit [Quit: keir]
flooose has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
nik has quit [Quit: Leaving]
shokohsc has quit [Quit: The Lounge - https://thelounge.chat]
shokohsc8 has joined #ruby
kiki_lamb has quit [Remote host closed the connection]
darkxploit has quit [Quit: darkxploit]
mange has joined #ruby
lad has joined #ruby
goldfish has quit [Ping timeout: 245 seconds]
mrkz_c has quit [Quit: Connection closed for inactivity]