user23 has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 260 seconds]
Sampersand has quit [Quit: Client closed]
STASIdownunder has joined #ruby
STASIdownunder has quit [Remote host closed the connection]
Sampersand has joined #ruby
STASIdownunder has joined #ruby
newton_ is now known as newton
STASIdownunder has quit [Remote host closed the connection]
Sampersand has quit [Ping timeout: 240 seconds]
CRISPR has quit [Ping timeout: 245 seconds]
CRISPR has joined #ruby
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
CRISPR has quit [Quit: WeeChat 3.8]
donofrio has joined #ruby
gr33n7007h has quit [Ping timeout: 260 seconds]
gr33n7007h has joined #ruby
donofrio has quit [Ping timeout: 244 seconds]
grenierm has joined #ruby
donofrio has joined #ruby
STASIdownunder has joined #ruby
donofrio has quit [Ping timeout: 276 seconds]
schn31d3r has joined #ruby
donofrio has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
donofrio has joined #ruby
Neg127 has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
fantazo has joined #ruby
donofrio has joined #ruby
donofrio has quit [Ping timeout: 245 seconds]
otisolsen70 has joined #ruby
otisolsen70 has quit [Remote host closed the connection]
otisolsen70 has joined #ruby
jmcantrell has quit [Quit: WeeChat 4.6.1]
jmcantrell_ is now known as jmcantrell
donofrio has joined #ruby
hwpplayer1 has joined #ruby
donofrio has quit [Ping timeout: 248 seconds]
donofrio has joined #ruby
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
donofrio has quit [Ping timeout: 276 seconds]
STASIdownunder has quit [Ping timeout: 260 seconds]
hwpplayer1 has quit [Remote host closed the connection]
donofrio has joined #ruby
sarna has joined #ruby
donofrio has quit [Ping timeout: 272 seconds]
cappy has quit [Quit: Leaving]
hwpplayer1 has joined #ruby
andy-turner has joined #ruby
sarna has quit [Remote host closed the connection]
sarna has joined #ruby
<nakilon>
I wish there was such profiler https://i.imgur.com/5i7N09z.png so I could see the way the program was executed, and with the variables assigments, so I could run the program in two ways and then diff it to localize the issue
<nakilon>
for now I have to do it via adding File.open("temp.temp", "a"){ |_| _.puts "#{Time.now} |#{" " * caller.size}| try_link0 false" } all over the place
donofrio has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
hwpplayer1 has quit [Ping timeout: 244 seconds]
rvalue has quit [Read error: Connection reset by peer]
<isene>
I have a problem that's driving me nuts here. My gem rcurses is pushed to rubygems.org as version 3.5.1. I have all the time updated my gem back locally shortly after I pushed it. While rubygems.org is indeed reporting the latest version (see https://rubygems.org/gems/rcurses), when I do `gem update rcurses` I get "Gems already up-to-date: rcurses" - since yesterday (after pushing 3.5). And `gem
<isene>
search rcurses -r --all` reports all versions only up to 3.4.3. No luck with ChatGPT. This is sanity breaking stuff. And so I turn to this place. What the heck is going on here?
STASIdownunder has quit [Read error: Connection reset by peer]
<o0x1eef>
How long ago did you update ? Looks like today. It can take a while for the index to update. Usually no longer than 10 minutes though.
<isene>
...when I did `source = Gem.sources.first`
<isene>
o0x1eef: Now, do you get to install the latest rcurses (3.5.1) or is it just me?
<isene>
Anyone else in here want to try `gem search rcurses -r --all` and see if you get versions 3.5 and 3.5.1 as part of the result?
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
<o0x1eef>
isene: gem info -r rcurses still 3.4.3 for me
<o0x1eef>
No 3.5, etc.
STASIdownunder has joined #ruby
user71 has joined #ruby
<isene>
But you see it on the web. Crazy. But why?
<o0x1eef>
The index and web database are not the same.
<isene>
So, something is hanging or is crashed/corrupted over at rubygems.org?
<o0x1eef>
I don't recall the filename exactly, but there is something like specs.4.2.gz that is downloaded by rubygems client, that's the index, and it is what gem install, gem info etc would query. It appears to not include your recent versions for one reason or the other.
hwpplayer1 has joined #ruby
fantazo has quit [Quit: Lost terminal]
<havenwood>
isene: The status page says "Service Under Maintenance" but they haven't given any other details.
dixan has left #ruby [#ruby]
dviola has quit [Quit: WeeChat 4.6.1]
blacknova has quit [Quit: Connection closed for inactivity]
Vonter has quit [Quit: WeeChat 4.5.2]
Vonter has joined #ruby
wbooze has joined #ruby
cappy has joined #ruby
Sheilong has joined #ruby
otisolsen70 has quit [Quit: Leaving]
Linux_Kerio has joined #ruby
weaksauce_ has joined #ruby
weaksauce has quit [Read error: Connection reset by peer]
___nick___ has joined #ruby
cappy has quit [Quit: Leaving]
brw has quit [Read error: Connection reset by peer]
jmcantrell has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
jmcantrell_ has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
jmcantrell has quit [Quit: WeeChat 4.6.1]
jmcantrell_ is now known as jmcantrell
___nick___ has quit [Ping timeout: 252 seconds]
___nick___ has joined #ruby
__jmcantrell__ has joined #ruby
jmcantrell is now known as Guest8428
Guest8428 has quit [Killed (silver.libera.chat (Nickname regained by services))]
__jmcantrell__ is now known as jmcantrell
jmcantrell_ has joined #ruby
rvalue- has joined #ruby
rvalue has quit [Ping timeout: 265 seconds]
___nick___ has quit [Ping timeout: 260 seconds]
rvalue- is now known as rvalue
levitating_ has joined #ruby
levitating_ has quit [Remote host closed the connection]
seisatsu has joined #ruby
user71 has quit [Quit: Leaving]
<havenwood>
isene: Should be good to go.
weaksauce_ has quit [Ping timeout: 244 seconds]
weaksauce has joined #ruby
<nakilon>
I believe there is a bug in mkmf that stores $have_devel falsely stating that the "dev (tools?)" are missing but they aren't, it's just a misleadingly cached global var from those cyclic insane recursions
<adam12>
nakilon: It has other flaws too.
<nakilon>
(also thelounge is glitching and I have to reload the page to send the message)
<nakilon>
I mean, if I call the pkg_config, then assign something to $LIBS, then call again the same pkg_config, everything is fine
<nakilon>
but if I skip the first pkg_config call and first assign the $LIBS and then call the pkg_config it does not work anymore, it's erroring
<adam12>
If you install a gem on a mount with noexec, it fails about devtools
<adam12>
I looked at source and decided I don't have time to unravel to submit a PR.
<nakilon>
I'm trying to fix the gem I don't need, lol
<adam12>
But that's true for a lot of ruby-core. Written in 2000 for 1.6 and never touched again.
<isene>
It solved itself now
<nakilon>
the whole build system would be cool if it was functional, not procedural with all those global vars, but okay, just... man, those cyclic recursions are something
<nakilon>
git blames nobu, in 2010; gonna skip this investigation and just make "rake compile" work
<o0x1eef>
I usually use rake-compiler fwiw, seems okay but I don't do anything complicated
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
llua has quit [Quit: <Rudolph> shell code is what greycat reads to kids when he tucks them in]
<nakilon>
had to consult with deepseek for two evenings lol
schne1der has quit [Ping timeout: 252 seconds]
<o0x1eef>
Congrats :)
entropie has quit [Quit: ""]
entropie has joined #ruby
nmollerup has quit [Quit: Leaving]
entropie has quit [Client Quit]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
<havenwood>
nakilon: Just a oneline to fit here, but I wonder about a style like: %w[libjpeg libpng].each { |lib| pkg_config(lib)&.each { |flag| $CFLAGS << ' ' << flag.strip } }
<havenwood>
In the inner each, you could `config = pkg_config lib` and: abort "Cannot find #{lib} via pkg-config" unless config
<nakilon>
havenwood I left them separatable; once you get one excluded you would have loops for no reason
<havenwood>
No biggie. I might switch yours to `pkg_config("libpng").to_a.join(" ")` if you want to go that route, just since it's a bit simpler to read.
<nakilon>
it is sad that it got two times slower compared to BDIGITS
<nakilon>
why do the changelos always claim ruby gets faster?...
<nakilon>
at least, that's the only way dude figured out
<nakilon>
and I've no idea why I used the an and bn to go from that side of the array; from the other one it would go through &, not |, no it should be more zeros; so I'm gonna try to tweak it a bit