havenwood changed the topic of #ruby to: Ruby 3.4.2, 3.3.7 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
wbooze has joined #ruby
Inline has joined #ruby
Inline has quit [Ping timeout: 252 seconds]
wbooze has quit [Ping timeout: 260 seconds]
infinityfye has quit [Read error: Connection reset by peer]
testone has quit [Remote host closed the connection]
testone has joined #ruby
testone has quit [Remote host closed the connection]
testone has joined #ruby
toretore has quit [Ping timeout: 252 seconds]
toretore has joined #ruby
polishdub has quit [Remote host closed the connection]
mange has joined #ruby
xokna has quit [Quit: WeeChat 4.4.3]
xokna has joined #ruby
cappy has quit [Quit: Leaving]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
toretore has quit [Ping timeout: 248 seconds]
gemmaro has quit [Ping timeout: 245 seconds]
gemmaro_ has joined #ruby
victori has quit [Quit: ZNC 1.9.1 - https://znc.in]
victori has joined #ruby
Inline has joined #ruby
wbooze has joined #ruby
hwpplayer1 has joined #ruby
wbooze has quit [Ping timeout: 245 seconds]
Inline has quit [Ping timeout: 252 seconds]
grenierm has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
grenierm has quit [Quit: Client closed]
grenierm has joined #ruby
xokna has quit [Ping timeout: 252 seconds]
testone has quit [Remote host closed the connection]
testone has joined #ruby
msv has quit [Read error: Connection reset by peer]
svm has joined #ruby
jmcantrell has quit [Quit: WeeChat 4.5.2]
xokna has joined #ruby
grenierm has quit [Quit: Client closed]
grenierm has joined #ruby
carlomonte has joined #ruby
hwpplayer1 has joined #ruby
carlomonte has quit [Client Quit]
hwpplayer1 has quit [Remote host closed the connection]
axsuul has quit [Quit: 👋]
axsuul has joined #ruby
xokna has quit [Read error: Connection reset by peer]
hwpplayer1 has joined #ruby
fantazo has joined #ruby
mange has quit [Quit: Quittin' time!]
royo25 has joined #ruby
royo25 has quit [Quit: Goodbye cruel world]
xokna has joined #ruby
xokna has quit [Read error: Connection reset by peer]
toretore has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
xokna has joined #ruby
xokna has quit [Read error: Connection reset by peer]
testone has quit [Remote host closed the connection]
testone has joined #ruby
Inline has joined #ruby
wbooze has joined #ruby
Inline has quit [Ping timeout: 244 seconds]
wbooze has quit [Ping timeout: 268 seconds]
MyNetAz has quit [Remote host closed the connection]
xokna has joined #ruby
xokna has quit [Read error: Connection reset by peer]
grenierm has quit [Quit: Client closed]
MyNetAz has joined #ruby
<nakilon> modern irb is so glitchy
<nakilon> not only ubuntu can't always handle, but here https://irb-wasm.vercel.app/ it got stuck too https://i.imgur.com/zAIL9XC.png
<nakilon> I just wanted to quickly experiment/demo on the machine with no ruby -- where do I go?
<nakilon> wtf, replit does not even allow to edit anything without paying
<o0ox1eef> We have a bot here, otherwise not sure
<o0ox1eef> >> 123
<ruby[bot]> o0ox1eef: # => 123 (https://carc.in/#/r/hs43)
<o0ox1eef> Looks like https://carc.in/#/rb lets you write more freely
mange has joined #ruby
Inline has joined #ruby
wbooze has joined #ruby
<nakilon> yeah, nice, https://carc.in/#/r/hs44 (my sublime defaulted to stupid [tab]s)
Munto has quit [Quit: Leaving]
Inline has quit [Ping timeout: 268 seconds]
wbooze has quit [Ping timeout: 244 seconds]
mange has quit [Quit: Zzz...]
Inline has joined #ruby
wbooze has joined #ruby
Munto has joined #ruby
_whitelogger has quit [Remote host closed the connection]
_whitelogger_ has joined #ruby
Inline has quit [Ping timeout: 245 seconds]
Inline has joined #ruby
wbooze_ has joined #ruby
wbooze has quit [Ping timeout: 268 seconds]
Inline has quit [Ping timeout: 265 seconds]
wbooze_ has quit [Ping timeout: 252 seconds]
wbooze has joined #ruby
Inline has joined #ruby
donofrio_ has quit [Remote host closed the connection]
GreenResponse has joined #ruby
wbooze has quit [Ping timeout: 244 seconds]
Inline has quit [Ping timeout: 260 seconds]
user71 has joined #ruby
Inline has joined #ruby
wbooze has joined #ruby
wbooze has quit [Remote host closed the connection]
wbooze has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
eddof13 has joined #ruby
wbooze has quit [Ping timeout: 260 seconds]
Inline has quit [Ping timeout: 260 seconds]
jmcantrell has joined #ruby
fantazo has quit [Quit: leaving]
toretore has quit [Ping timeout: 244 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
xokna has joined #ruby
eddof13 has quit [Quit: eddof13]
toretore has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Quit: eddof13]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
peder has quit [Ping timeout: 276 seconds]
peder has joined #ruby
eddof13 has joined #ruby
cappy has joined #ruby
Obsdark has joined #ruby
Obsdark has quit [Changing host]
Obsdark has joined #ruby
testone has quit [Remote host closed the connection]
testone has joined #ruby
peder has quit [Ping timeout: 245 seconds]
peder has joined #ruby
swee has quit [Excess Flood]
swee has joined #ruby
swee has quit [Excess Flood]
swee has joined #ruby
swee has quit [Excess Flood]
swee has joined #ruby
swee has quit [Excess Flood]
swee has joined #ruby
Inline has joined #ruby
wbooze has joined #ruby
cappy has quit [Quit: Leaving]
Inline_ has joined #ruby
wbooze_ has joined #ruby
wbooze has quit [Ping timeout: 276 seconds]
Inline has quit [Ping timeout: 276 seconds]
inline__ has joined #ruby
Levent has joined #ruby
TomyWork has joined #ruby
wbooze_ has quit [Ping timeout: 244 seconds]
Inline_ has quit [Ping timeout: 260 seconds]
wbooze has joined #ruby
Inline has joined #ruby
wbooze has quit [Remote host closed the connection]
inline__ has quit [Ping timeout: 244 seconds]
Levent has quit [Ping timeout: 245 seconds]
cahoots_ has joined #ruby
Inline_ has joined #ruby
wbooze has joined #ruby
Inline has quit [Ping timeout: 252 seconds]
Inline_ has quit [Quit: Leaving]
Inline has joined #ruby
<cahoots_> hi, i have an odd ruby/linux question. i have a script that runs "LD_PRELOAD=libjemalloc.so MALLOC_CONF=thp:always my_script". when run in a bash shell, the thp:always part successfully forces it to use THP (transparent huge pages). but when i run that same command in backticks in a ruby repl, it runs it without THP
cahoots_ has quit [Quit: Client closed]
<weaksauce> you're right that is odd
cahoots_ has joined #ruby
<cahoots_> (sorry if this is a repeat message) hi, i have an odd ruby/linux question. i have a script that runs "LD_PRELOAD=libjemalloc.so MALLOC_CONF=thp:always my_script". when run in a bash shell, the thp:always part successfully forces it to use THP (transparent huge pages). but when i run that same command in backticks in a ruby repl, it runs it without
<cahoots_> THP. what might be the difference?
<weaksauce> how are you seeing that it is not using THP
<cahoots_> by measuring the performance repeatedly
<cahoots_> (it's a thp stress test program)
swee has quit [Quit: Swee the gentlegoob will be back soon (updates probably)]
<weaksauce> have you tried another way to shell out like popen?
<weaksauce> the shell is opened like port = pipe_open_s(str, "r", FMODE_READABLE|DEFAULT_TEXTMODE, NULL);
swee has joined #ruby
<weaksauce> via `
cahoots_ has quit [Quit: Client closed]
cahoots_ has joined #ruby
<cahoots_> got disconnected, if anyone replied, feel free to re-send
<weaksauce> have you tried another way to shell out like popen?
<weaksauce> the shell is opened like port = pipe_open_s(str, "r", FMODE_READABLE|DEFAULT_TEXTMODE, NULL); using `
<cahoots_> i've tried Open3.popen3
patrick has quit [Ping timeout: 260 seconds]
patrick_ is now known as patrick
<cahoots_> i.e., not using a subshell, just running the program directly, with the env var overridden with the vars mentioned
R2robot has quit [Ping timeout: 260 seconds]
patrick_ has joined #ruby
patrick has joined #ruby
patrick has quit [Changing host]
patrick_ is now known as patrick
patrick_ has joined #ruby
cahoots_ has quit [Quit: Client closed]
szkl has quit [Quit: Connection closed for inactivity]
Sampersand has joined #ruby
cahoots_ has joined #ruby
<cahoots_> sorry, idk why i keep getting disconnected
<Sampersand> are you on a web client?
<cahoots_> the really odd thing is, it turns out to be using THP under the hood in all cases (or trying to). so it's calling madvise with the THP param (my OS is set to "madvise" mode for huge pages), but in one case it's successful, and in the other it's not
<cahoots_> yeah, web.libera.chat
<Sampersand> same haha; ive noticed turning off vpns and/or packet blockets usually keep it around longer
<cahoots_> hehe nice
jmcantrell has quit [Ping timeout: 252 seconds]
jmcantrell has joined #ruby
Sampersand has quit [Quit: Client closed]
Sampersand has joined #ruby
<Sampersand> aand it kicked me haha
eddof13 has quit [Quit: eddof13]
wbooze has quit [Ping timeout: 268 seconds]
Inline has quit [Ping timeout: 260 seconds]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
cahoots_12 has joined #ruby
TomyWork has quit [Quit: Leaving]
cahoots_ has quit [Ping timeout: 240 seconds]
Guest47 has joined #ruby
Guest47 has quit [Write error: Broken pipe]
Guest95 has joined #ruby
Guest95 has quit [Write error: Broken pipe]
Guest47 has joined #ruby
Inline has joined #ruby
wbooze has joined #ruby
TomyLobo has joined #ruby
Guest47 has quit [Write error: Connection reset by peer]
eddof13 has joined #ruby
Inline has quit [Ping timeout: 252 seconds]
wbooze has quit [Ping timeout: 260 seconds]
Inline has joined #ruby
wbooze has joined #ruby
toretore has quit [Remote host closed the connection]
toretore has joined #ruby
Inline has quit [Ping timeout: 248 seconds]
wbooze has quit [Ping timeout: 244 seconds]
wbooze has joined #ruby
Inline has joined #ruby
eddof13 has quit [Quit: eddof13]
Inline has quit [Read error: Connection reset by peer]
wbooze has quit [Remote host closed the connection]
cahoots_12 has quit [Ping timeout: 240 seconds]
Inline has joined #ruby
wbooze has joined #ruby
user71 has quit [Quit: Leaving]
svm is now known as msv
testone has quit [Remote host closed the connection]
testone has joined #ruby
cahoots_ has joined #ruby
testone has quit [Remote host closed the connection]
testone has joined #ruby
xokna has quit [Ping timeout: 248 seconds]
eddof13 has joined #ruby
testone has quit [Remote host closed the connection]
testone has joined #ruby
eddof13 has quit [Quit: eddof13]
mange has joined #ruby
Sampersand has quit [Quit: Client closed]
wbooze has quit [Ping timeout: 265 seconds]
Inline has quit [Ping timeout: 265 seconds]
testone has quit [Remote host closed the connection]
testone has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
cahoots_ has quit [Ping timeout: 240 seconds]
toretore has quit [Ping timeout: 244 seconds]
GreenResponse has quit [Quit: Leaving]
R2robot has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
testone has quit [Ping timeout: 240 seconds]
testone has joined #ruby