havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.1, 3.0.3, 2.7.5: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
seydar has quit [Ping timeout: 268 seconds]
goepsilongo has quit [*.net *.split]
factor has quit [*.net *.split]
moldorcoder7_ has quit [*.net *.split]
Pixi has quit [*.net *.split]
Coop has quit [*.net *.split]
reset has quit [*.net *.split]
unyu has quit [*.net *.split]
gr33n7007h has quit [*.net *.split]
Liothen has quit [*.net *.split]
A_Dragon has quit [*.net *.split]
moo has quit [*.net *.split]
r3m has quit [*.net *.split]
apotheon has quit [*.net *.split]
cout has quit [*.net *.split]
bhaak has quit [*.net *.split]
sam113101 has quit [*.net *.split]
kaivai has quit [*.net *.split]
cout_ has joined #ruby
moo- has joined #ruby
bhaak has joined #ruby
unyu has joined #ruby
gr33n7007h has joined #ruby
sam113101 has joined #ruby
Liothen has joined #ruby
unyu is now known as Guest2187
Pixi has joined #ruby
Coop has joined #ruby
r3m has joined #ruby
moldorcoder7 has joined #ruby
factor has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h has quit [Changing host]
kaivai has joined #ruby
A_Dragon has joined #ruby
gr33n7007h has quit [Client Quit]
apotheon has joined #ruby
gr33n7007h has joined #ruby
markong has quit [Ping timeout: 256 seconds]
seydar has joined #ruby
guest_nakilon has quit [Remote host closed the connection]
ur5us has joined #ruby
Guest2187 has quit [Changing host]
unyu has joined #ruby
axisys has quit [Remote host closed the connection]
seydar has quit [Ping timeout: 256 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 272 seconds]
justErkel has quit [Read error: Connection reset by peer]
justErkel has joined #ruby
seydar has joined #ruby
justErkel is now known as justache
seydar has quit [Ping timeout: 246 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 250 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
chirukodati has joined #ruby
favadi has joined #ruby
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
favadi has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 272 seconds]
wmoxam has joined #ruby
wmoxam has quit [Client Quit]
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
comet23 has joined #ruby
<comet23> hello i am having trouble figuring out why my conditions are comparing to nil: https://bpa.st/A4YA
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
favadi has joined #ruby
<leftylink> well. how about printing out what idx is during each iteration?
<leftylink> there is a value that idx will never be.
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
chirukodati has quit [Quit: Client closed]
seydar has joined #ruby
comet23 has quit [Ping timeout: 250 seconds]
seydar has quit [Ping timeout: 246 seconds]
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
victori has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 250 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
seydar has joined #ruby
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seydar has quit [Ping timeout: 250 seconds]
ur5us has quit [Ping timeout: 240 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
seydar has joined #ruby
_whitelogger has joined #ruby
ringo__ has joined #ruby
seydar has quit [Ping timeout: 272 seconds]
akochi[m] has quit [*.net *.split]
jimeh has quit [*.net *.split]
jposer has quit [*.net *.split]
keyvan has quit [*.net *.split]
ivanf has quit [*.net *.split]
Henry151 has quit [*.net *.split]
scottg489 has quit [*.net *.split]
legahc has quit [*.net *.split]
forvelin has quit [*.net *.split]
legahc has joined #ruby
jposer has joined #ruby
forvelin has joined #ruby
jimeh has joined #ruby
keyvan has joined #ruby
scottg489 has joined #ruby
Henry151 has joined #ruby
akochi[m] has joined #ruby
ivanf has joined #ruby
seydar has joined #ruby
idiocrash has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
roadie has joined #ruby
favadi has joined #ruby
seydar has joined #ruby
moo- is now known as moo
John_Ivan has quit [Remote host closed the connection]
John_Ivan has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
___nick___ has joined #ruby
ivanf has quit [Ping timeout: 260 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
ivanf has joined #ruby
seydar has joined #ruby
favadi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seydar has quit [Ping timeout: 272 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 272 seconds]
seydar has joined #ruby
teclator has joined #ruby
seydar has quit [Ping timeout: 240 seconds]
favadi has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 240 seconds]
favadi has quit [Ping timeout: 248 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 250 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 240 seconds]
John_Ivan_ has joined #ruby
John_Ivan has quit [Ping timeout: 250 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
idiocrash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
taupiqueur has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 250 seconds]
taupiqueur has quit [Ping timeout: 240 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 248 seconds]
Ziyan has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 240 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
hololeap has joined #ruby
Ziyan has quit [Ping timeout: 240 seconds]
seydar has joined #ruby
Ziyan has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
Ziyan has quit [Ping timeout: 248 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 248 seconds]
gr33n7007h has quit [Quit: WeeChat 3.5]
seydar has joined #ruby
seydar has quit [Ping timeout: 240 seconds]
Ziyan has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
seydar has joined #ruby
taupiqueur has joined #ruby
seydar has quit [Ping timeout: 240 seconds]
seydar has joined #ruby
taupiqueur has quit [Ping timeout: 240 seconds]
taupiqueur has joined #ruby
seydar has quit [Ping timeout: 250 seconds]
John_Ivan__ has joined #ruby
seydar has joined #ruby
John_Ivan_ has quit [Ping timeout: 240 seconds]
roadie has joined #ruby
seydar has quit [Ping timeout: 250 seconds]
seydar has joined #ruby
stefanos82 has joined #ruby
<stefanos82> greetings everyone. I wanted to ask if I may; what kind of topics do you usually discuss around Ruby in general in this channel?
taupiqueur has quit [Ping timeout: 250 seconds]
seydar has quit [Ping timeout: 240 seconds]
<leftylink> well sometimees it's questions like "how do I do X in Ruby" or "why does my Ruby code have X error"
taupiqueur has joined #ruby
<stefanos82> thank you leftylink
seydar has joined #ruby
taupiqueur has quit [Ping timeout: 248 seconds]
seydar has quit [Ping timeout: 248 seconds]
<mooff> { |acc, num| num > acc ? num : acc } ✨
<stefanos82> leftylink: coming from other programming languages, I have been trying to understand a number of things comparing it with other concepts already being used
<stefanos82> for example, does Ruby has something like Perl's XS?
Ziyan has quit [Ping timeout: 250 seconds]
<mooff> i guess they've left, but there's a neat solution to comet23's homework using Enumerable#each_cons(3)
<stefanos82> another question would be, when a project hits a performance bottleneck and you need to improve its performance significantly, do you write a module in C as an extension to the language or are there any other useful techniques I should know about?
<mooff> stefanos82: i don't know about XS, but there is a good, ubiquitous FFI library: https://github.com/ffi/ffi/wiki
<stefanos82> hmm...
seydar has joined #ruby
taupiqueur has joined #ruby
<stefanos82> mooff: one interesting behavior that I have observed with `--jit` flag enabled is that on re-execution of an unedited code, it insists on regenerating the C file in `/tmp/` which makes no sense. Isn't there a mechanism that checks Ruby code for changes and if there aren't any to use previously built generated extension module?
seydar has quit [Ping timeout: 240 seconds]
taupiqueur has quit [Ping timeout: 248 seconds]
stefanos82 has left #ruby [Leaving]
John_Ivan_ has joined #ruby
<mooff> you'd have to take that one up with the JIT folks ;-)
seydar has joined #ruby
John_Ivan__ has quit [Ping timeout: 256 seconds]
seydar has quit [Ping timeout: 246 seconds]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
seydar has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
seydar has quit [Ping timeout: 256 seconds]
sylario has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 250 seconds]
jimeh has quit [Remote host closed the connection]
jimeh has joined #ruby
dionysus69 has joined #ruby
seydar has joined #ruby
markong has joined #ruby
jimeh has quit [Remote host closed the connection]
jimeh has joined #ruby
seydar has quit [Ping timeout: 272 seconds]
seydar has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
taupiqueur has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
o|||||o has joined #ruby
taupiqueur has quit [Ping timeout: 240 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 240 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
Tempesta has joined #ruby
taupiqueur has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 272 seconds]
RougeR has joined #ruby
John_Ivan__ has joined #ruby
dionysus69 has quit [Quit: dionysus69]
John_Ivan_ has quit [Ping timeout: 256 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 240 seconds]
nirvdrum has joined #ruby
seydar has joined #ruby
sagax has joined #ruby
dka has quit [Quit: My Ex-Girlfriend once told me: I'm not a slut, I'm just popular]
dka has joined #ruby
seydar has quit [Ping timeout: 250 seconds]
TCZ has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
seydar has joined #ruby
seydar has quit [Ping timeout: 250 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
seydar has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seydar has quit [Ping timeout: 240 seconds]
seydar has joined #ruby
TCZ has quit [Quit: Leaving]
seydar has quit [Ping timeout: 248 seconds]
Tempesta has joined #ruby
taupiqueur has quit [Ping timeout: 246 seconds]
seydar has joined #ruby
taupiqueur has joined #ruby
seydar has quit [Ping timeout: 248 seconds]
nirvdrum has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 250 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 248 seconds]
seydar has joined #ruby
roadie has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 256 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
Tempesta has quit [Read error: Connection reset by peer]
TCZ has joined #ruby
seydar has joined #ruby
axisys has joined #ruby
seydar has quit [Ping timeout: 272 seconds]
Tempesta has joined #ruby
seydar has joined #ruby
seydar has quit [Ping timeout: 272 seconds]
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nirvdrum has joined #ruby
bit4bit has joined #ruby
CrazyEddy has quit [Ping timeout: 240 seconds]
szkl has joined #ruby
ssh0736 has joined #ruby
ssh073 has quit [Ping timeout: 240 seconds]
ssh0736 is now known as ssh073
bit4bit has quit [Ping timeout: 256 seconds]
aindilis_ has joined #ruby
aindilis has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
roadie has quit [Ping timeout: 260 seconds]
roadie has joined #ruby
TCZ has quit [Remote host closed the connection]
TCZ has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
taupiqueur has quit [Quit: taupiqueur]
impermanence has quit [Quit: Connection closed]
TCZ has quit [Ping timeout: 272 seconds]
TCZ has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Guest7418 has joined #ruby
Guest7418 has quit [Client Quit]
Thanzex has quit [Remote host closed the connection]
Thanzex has joined #ruby
Thanzex has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
Thanzex has joined #ruby
Thanzex has quit [Remote host closed the connection]
Thanzex has joined #ruby
Thanzex has quit [Remote host closed the connection]
Thanzex has joined #ruby
Thanzex has quit [Remote host closed the connection]
Rounin has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TomyWork has joined #ruby
<TomyWork> https://ideone.com/mUwCIE can anyone explain this "invalid pattern in look-behind" error to me?
<TomyWork> the pattern is /(?<=(?:aa|a)a)/ which should be perfectly legal, since it's not a capturing pattern
<TomyWork> strangely enough, the error goes away if I remove any of the "a"s except for the 3rd
<TomyWork> or if i add another "a" after the 3rd
orbyt has joined #ruby
<mooff> TomyWork: i had the same trouble. before, i assumed i had to use a fixed string in look behinds. but trying your pattern in Python, it gives a clearer error: look-behind requires fixed-width pattern
<mooff> apparently that's the case in Python, Perl, and C++ Boost, at least
<TomyWork> really? did not know that
<TomyWork> I can't find that in the docs
duderonomy has joined #ruby
nirvdrum has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oxfuxxx has joined #ruby
oxfuxxx has quit [Client Quit]
bit4bit has joined #ruby
sagax has quit [Ping timeout: 250 seconds]
markong has quit [Ping timeout: 272 seconds]
nirvdrum has joined #ruby
comet23 has joined #ruby
comet2355 has joined #ruby
comet23 has quit [Killed (NickServ (GHOST command used by comet2355))]
comet2355 is now known as comet23
howdoi has joined #ruby
oxfuxxx has joined #ruby
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
victori has joined #ruby
comet23 has quit [Ping timeout: 250 seconds]
jpn_ has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
oxfuxxx has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
oxfuxxx has joined #ruby
ssh073 has quit [Quit: Ping timeout (120 seconds)]
ssh073 has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
TomyWork has quit [Remote host closed the connection]
roadie has joined #ruby
sagax has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
oxfuxxx has quit [Quit: [H]EAT ROX FUCK R0X SHIT BRIX.]
roadie has joined #ruby
rawley has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has quit [Remote host closed the connection]
roadie has joined #ruby
nirvdrum has joined #ruby
Thanzex has joined #ruby
Thanzex has quit [Remote host closed the connection]
Thanzex has joined #ruby
Thanzex has quit [Remote host closed the connection]
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
Thanzex has joined #ruby
Thanzex has quit [Remote host closed the connection]
Thanzex has joined #ruby
Thanzex has quit [Remote host closed the connection]
Thanzex has joined #ruby
Thanzex has quit [Remote host closed the connection]
___nick___ has quit [Ping timeout: 240 seconds]
victori has joined #ruby
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 248 seconds]
oxfuxxx has joined #ruby
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smp has quit [Quit: ZNC 1.8.2 - https://znc.in]
smp has joined #ruby
jpn_ has quit [Ping timeout: 250 seconds]
nirvdrum has joined #ruby
markong has joined #ruby
orbyt has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
bm5k has joined #ruby
ssh0733 has joined #ruby
some14u has joined #ruby
ssh073 has quit [Remote host closed the connection]
ssh0733 is now known as ssh073
some14u has quit [Client Quit]
jpn has joined #ruby
John_Ivan_ has joined #ruby
John_Ivan__ has quit [Ping timeout: 248 seconds]
roadie has joined #ruby
rawley has quit [Remote host closed the connection]
ur5us has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
nirvdrum has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
roadie has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
seydar has joined #ruby
some14u has quit [Client Quit]
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
roadie has joined #ruby
bm5k has quit [Quit: WeeChat 3.4.1]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has quit [Ping timeout: 248 seconds]
seydar has quit [Ping timeout: 248 seconds]
roadie has joined #ruby
some14u has joined #ruby
roadie has quit [Ping timeout: 248 seconds]
hololeap has quit [Ping timeout: 240 seconds]
sylario has quit [Quit: Connection closed for inactivity]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hololeap has joined #ruby
bit4bit has quit [Ping timeout: 248 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
seydar has joined #ruby
seydar has quit [Ping timeout: 246 seconds]
seydar has joined #ruby
gr33n7007h has joined #ruby
seydar has quit [Read error: Connection reset by peer]
szkl has quit [Quit: Connection closed for inactivity]
seydar has joined #ruby
seydar has quit [Ping timeout: 248 seconds]
shokohsc has quit [Read error: Connection reset by peer]
shokohsc has joined #ruby
markong has quit [Ping timeout: 240 seconds]