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
juanfra has joined #ruby
sixecho has joined #ruby
CrazyEddy has quit [Ping timeout: 245 seconds]
jtdowney has quit [Quit: Bye]
jtdowney has joined #ruby
jtdowney has quit [Quit: Bye]
jtdowney has joined #ruby
CrazyEddy has joined #ruby
jtdowney has quit [Quit: Bye]
Rounin has quit [Ping timeout: 265 seconds]
jtdowney has joined #ruby
ur5us has joined #ruby
fredlinhares has joined #ruby
fredlinhares has quit [Quit: WeeChat 2.8]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
gggpkm has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 245 seconds]
darkstardevx has joined #ruby
gggpkm has joined #ruby
gggpkm has quit [Remote host closed the connection]
_ht has joined #ruby
gggpkm has joined #ruby
pwnd_sfw has quit [Quit: Ping timeout (120 seconds)]
pwnd_sfw has joined #ruby
Deknos has quit [Quit: Deknos]
tbaeder has joined #ruby
teclator has joined #ruby
Furai has quit [Quit: WeeChat 3.3]
Furai has joined #ruby
jpw has joined #ruby
jpw_ has joined #ruby
jpw has quit [Ping timeout: 245 seconds]
_ht has quit [Remote host closed the connection]
CalimeroTeknik has quit [Changing host]
CalimeroTeknik has joined #ruby
jpw_ has quit [Ping timeout: 245 seconds]
reset has quit [Quit: reset]
jpw has joined #ruby
Rounin has joined #ruby
weyhmueller has quit [Quit: ZNC 1.8.2 - https://znc.in]
weyhmueller has joined #ruby
Oxfuxxx has quit [Ping timeout: 265 seconds]
menace has joined #ruby
menace has quit [Changing host]
menace has joined #ruby
menace is now known as Deknos
ur5us has joined #ruby
jmcgnh has quit [Excess Flood]
Oxfuxxx has joined #ruby
Oxfuxxx has quit [Client Quit]
sharkee has joined #ruby
jmcgnh has joined #ruby
shark_SGE has joined #ruby
sharkee has quit [Ping timeout: 252 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
shark_SGE has quit [Read error: Connection reset by peer]
sharkee has joined #ruby
Oxfuxxx has joined #ruby
sharkee has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 245 seconds]
Rounin has quit [Remote host closed the connection]
postmodern has quit [Read error: Connection reset by peer]
Oxfuxxx has quit [Quit: Never underestimate the power of the butt.[]OX/...ON. (Playst...i mean.. Pir@tA$$)]
jpw has quit [Ping timeout: 252 seconds]
menace has joined #ruby
Deknos has quit [Ping timeout: 260 seconds]
postmodern has joined #ruby
Qchmqs has joined #ruby
menace_ has joined #ruby
<Qchmqs> hello
menace has quit [Ping timeout: 245 seconds]
menace_ has quit [Remote host closed the connection]
<adam12> Qchmqs: hello
<tbaeder> Is compiling Ruby with clang (and running the test suite like this) a suported setup? The JIT test cases fail for us because it's trying to jit via clang, which doesn't support the same setup of command line parameters
<Qchmqs> adam12: what's up ?
<adam12> Qchmqs: Not much. HBU?
<Qchmqs> tbaeder: wouldn't be easier to use one of the available setups for a pre-compiled ruby ?
<adam12> tbaeder: I'd presume so? Since clang is default on FreeBSD, no?
<Qchmqs> not officially supported, but at least backed by tinkerers
<Qchmqs> adam12: at work, writing ruby
<adam12> tbaeder: This might be a bug. Can you paste the error somewhere?
<adam12> Qchmqs: living the dream I see.
<tbaeder> adam12: Does it also use clang for JITing ruby code, or just for building ruby itself?
<tbaeder> This is the first failing test case, but they all fail with the same error message
<adam12> tbaeder: I think it remembers setting of CC and then re-uses it.
<adam12> tbaeder: OS? Distro (if linux?)
<adam12> That clang-13 looks odd. I thought 12 was the last major release.
<tbaeder> adam12: This is on Fedora, I'm using the current 13rc
<adam12> My guess is that clang-13 has a breaking change and it's not detected by Ruby right now. It might be worth reporting to bugs.ruby-lang.org or just wait and see if someone else picks up on it.
<adam12> If you can force clang-12 and then provide CC= it might work.
<tbaeder> adam12: I don't have the exact command that Ruby runs when JITing code, but clang 12 has the same behavior: https://paste.centos.org/view/67ed6218
<adam12> tbaeder: Hmm interesting.
<adam12> tbaeder: Do you have gcc installed?
<tbaeder> adam12: Yes, swapping clang and gcc in that example prints "gcc: fatal error: cannot specify ‘-o’ with ‘-c’, ‘-S’ or ‘-E’ with multiple files" though
<tbaeder> Do you maybe know where the JIT code is in Ruby?
<adam12> tbaeder: mjit_*.c
<tbaeder> adam12: Thanks, that looks useful. I'll investigate what's going wrong
<adam12> tbaeder: You're compiling from ruby-3.0.2 src? distributed from ruby-lang.org?
<tbaeder> Do you also know how I can just run that one test case from above in the ruby test suite?
<tbaeder> adam12: Looks like it, yes
<adam12> tbaeder: Not off the top of my head, but I'd start with `ruby test/test_jit.rb -n test_attr_reader` and if that doesnt' work, I'd do `ruby -Ilib test/test_jit.rb -n test_attr_reader`
Tuor has left #ruby [https://quassel-irc.org - Chat comfortably. Anywhere.]
bit4bit has joined #ruby
Oxfuxxx has joined #ruby
sharkee has joined #ruby
jtperreault has joined #ruby
sharkee has quit [Remote host closed the connection]
eddof13 has joined #ruby
jmcgnh has quit [Ping timeout: 245 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #ruby
jmcgnh has joined #ruby
postmodern has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
keinbock has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Toledo has joined #ruby
postmodern has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
justache has quit [Read error: Connection reset by peer]
eddof13 has joined #ruby
justache has joined #ruby
<rapha> huh, wait
<rapha> ruby has no built-in something to return an array of substrings of strings a and b which changed from a to b?
Oxfuxxx has quit [Ping timeout: 264 seconds]
<rapha> as in a="Peter and Mary"; a="Paul and Margot"; diffs(a,b) => [['Peter', 'Paul'], ['Mary', 'Margot']]
<rapha> sorry, b= for the second, obvi
Oxfuxxx has joined #ruby
<adam12> rapha: That's something you'd expect to be built-in?
Oxfuxxx__ has joined #ruby
Oxfuxxx has quit [Ping timeout: 246 seconds]
Qchmqs has quit [Ping timeout: 252 seconds]
gggpkm has quit [Ping timeout: 252 seconds]
tbaeder has quit [Ping timeout: 252 seconds]
RougeR has joined #ruby
FriendofPatchyth has joined #ruby
<rapha> adam12: after having now fiddled with this for 30 minutes, not anymore. i think i was just stressed. should have kept my mouth shut, sorry :-(
jpw has joined #ruby
<rapha> i was also stupid to believe this would be universally useful. it is of course not, because for my purposes, some context needs to be preserved (ideally, one word before and one after, if present).
jpw_ has joined #ruby
<rapha> (the difference could be as minute as a semicolon instead of a comma ... and you wouldn
FriendofPatchyth is now known as FriendOfPatchy
<rapha> 't want to end up replacing _all_ semicolons with commas)
<rapha> (my problem is a huge, very old, replacement table with full sentences for both original and replacement strings, but outside of the changes it makes, large parts of the original strings don't fit anymore)
<FriendOfPatchy> yarr
<FriendOfPatchy> Where is my friend Patchy the Pirate
jpw has quit [Ping timeout: 250 seconds]
jpw_ has quit [Ping timeout: 246 seconds]
Guest35 has joined #ruby
jpw has joined #ruby
jpw has quit [Ping timeout: 250 seconds]
postmodern has quit [Read error: Connection reset by peer]
Guest35 has quit [Quit: Client closed]
FriendOfPatchy has quit [Ping timeout: 256 seconds]
bit4bit has quit [Ping timeout: 264 seconds]
Oxfuxxx__ has quit [Ping timeout: 246 seconds]
FriendofPatchyth has joined #ruby
orbyt has joined #ruby
darkstardevx has quit [Read error: Connection reset by peer]
reset has joined #ruby
bit4bit has joined #ruby
darkstardevx has joined #ruby
Oxfuxxx has joined #ruby
walez has joined #ruby
<havenwood> One eye dark mode.
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Oxfuxxx has quit [Quit: leaving]
ollysmith has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
ollysmith has joined #ruby
Oxfuxxx has joined #ruby
ur5us has joined #ruby
Oxfuxxx has quit [Quit: leaving]
Oxfuxxx has joined #ruby
RougeR has quit [Ping timeout: 268 seconds]
walez has quit [Ping timeout: 250 seconds]
bit4bit has quit [Remote host closed the connection]
bit4bit has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Oxfuxxx has quit [Ping timeout: 246 seconds]
Oxfuxxx has joined #ruby
bit4bit has quit [Quit: Leaving]
FriendofPatchyth has quit [Quit: Client closed]
gaegelys has joined #ruby
postmodern has joined #ruby
orbyt has quit [Quit: Textual IRC Client: www.textualapp.com]
zph1nx has joined #ruby
zph1nx has left #ruby [#ruby]
zph1nx has joined #ruby
<zph1nx> Hello, im trying to set up an sssd delegation fact within puppet with ruby but seem to be unable to concat a variable inside of a function, a variable i defined at the start of the script. i get undefined method `+' for nil:NilClass
aesthetikx has joined #ruby
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
<weaksauce> zph1nx perhaps share some code?
<weaksauce> something is not being set
havenwood has joined #ruby
Oxfuxxx has quit [Quit: leaving]
gaegelys has quit [Ping timeout: 268 seconds]
ur5us has quit [Ping timeout: 245 seconds]