adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.3, 2.7.5, 2.6.9: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
ur5us has joined #ruby
dohtem has joined #ruby
<nakilon> havenwood nils can be inside and should be untouched
Deknos has quit [Quit: Deknos]
krishnac has joined #ruby
lunarkitty has joined #ruby
krishnac has quit [Ping timeout: 252 seconds]
Al2O3 has quit [Ping timeout: 252 seconds]
Al2O3 has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
hololeap has joined #ruby
hololeap has quit [Ping timeout: 276 seconds]
hololeap has joined #ruby
Oxfuxxx has joined #ruby
sagax has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
gr33n7007h has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 252 seconds]
jpw has joined #ruby
jpw has quit [*.net *.split]
Al2O3 has quit [*.net *.split]
justSleigh has quit [*.net *.split]
easbarbosa has quit [*.net *.split]
donofrio has quit [*.net *.split]
vigumnov has quit [*.net *.split]
ollysmith has quit [*.net *.split]
cAMP has quit [*.net *.split]
dviola has quit [*.net *.split]
Milos has quit [*.net *.split]
hwrd has quit [*.net *.split]
belak has quit [*.net *.split]
nullheroes has quit [*.net *.split]
slothby has quit [*.net *.split]
g_sg has quit [*.net *.split]
Furai has quit [*.net *.split]
oz has quit [*.net *.split]
JSharp has quit [*.net *.split]
JayDoubleu_ has quit [*.net *.split]
pusewic|away_ has quit [*.net *.split]
siasmj has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
leftylink has quit [*.net *.split]
adam12 has quit [*.net *.split]
ferr_ has quit [*.net *.split]
swaggboi has quit [*.net *.split]
rhe has quit [*.net *.split]
havenwood has quit [*.net *.split]
libsys has quit [*.net *.split]
Rounin has quit [*.net *.split]
whysthatso12 has quit [*.net *.split]
jmcgnh has quit [*.net *.split]
markmarkmark has quit [*.net *.split]
ccooke has quit [*.net *.split]
dka has quit [*.net *.split]
Cork has quit [*.net *.split]
greyrat_ has quit [*.net *.split]
kinduff has quit [*.net *.split]
kapil has quit [*.net *.split]
aindilis has quit [*.net *.split]
ule has quit [*.net *.split]
nemesit has quit [*.net *.split]
finsternis has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
Byteflux has quit [*.net *.split]
georgemp has quit [*.net *.split]
sagax has quit [*.net *.split]
Oxfuxxx has quit [*.net *.split]
Pixi_ has quit [*.net *.split]
xyhuvud has quit [*.net *.split]
Hess has quit [*.net *.split]
unyu has quit [*.net *.split]
srushe has quit [*.net *.split]
jtperreault has quit [*.net *.split]
ralu has quit [*.net *.split]
tv- has quit [*.net *.split]
dorian has quit [*.net *.split]
psb_ has quit [*.net *.split]
bougyman has quit [*.net *.split]
r3my has quit [*.net *.split]
darkstardevx has quit [*.net *.split]
cnsvc has quit [*.net *.split]
foxxx0 has quit [*.net *.split]
leah2 has quit [*.net *.split]
tweaks has quit [*.net *.split]
DEac- has quit [*.net *.split]
bjonnh has quit [*.net *.split]
Ca1us has quit [*.net *.split]
wnd has quit [*.net *.split]
bastelfreak has quit [*.net *.split]
olspookishmagus has quit [*.net *.split]
Tempesta has quit [*.net *.split]
mbarbar has quit [*.net *.split]
unyu has joined #ruby
dhruvasagar has joined #ruby
jpw has joined #ruby
sagax has joined #ruby
Oxfuxxx has joined #ruby
Al2O3 has joined #ruby
justSleigh has joined #ruby
Pixi_ has joined #ruby
leftylink has joined #ruby
easbarbosa has joined #ruby
adam12 has joined #ruby
ferr_ has joined #ruby
donofrio has joined #ruby
belak has joined #ruby
nullheroes has joined #ruby
whysthatso12 has joined #ruby
slothby has joined #ruby
Hess has joined #ruby
g_sg has joined #ruby
Furai has joined #ruby
jmcgnh has joined #ruby
markmarkmark has joined #ruby
srushe has joined #ruby
ccooke has joined #ruby
bjonnh has joined #ruby
ralu has joined #ruby
aindilis has joined #ruby
tweaks has joined #ruby
Tempesta has joined #ruby
Cork has joined #ruby
greyrat_ has joined #ruby
kinduff has joined #ruby
kapil has joined #ruby
Fridtjof has joined #ruby
siasmj has joined #ruby
pusewic|away_ has joined #ruby
JayDoubleu_ has joined #ruby
oz has joined #ruby
JSharp has joined #ruby
tv- has joined #ruby
dorian has joined #ruby
psb_ has joined #ruby
r3my has joined #ruby
bougyman has joined #ruby
ule has joined #ruby
nemesit has joined #ruby
finsternis has joined #ruby
NightMonkey has joined #ruby
darkstardevx has joined #ruby
cnsvc has joined #ruby
Byteflux has joined #ruby
ollysmith has joined #ruby
Rounin has joined #ruby
xyhuvud has joined #ruby
cAMP has joined #ruby
dviola has joined #ruby
Milos has joined #ruby
hwrd has joined #ruby
rhe has joined #ruby
swaggboi has joined #ruby
havenwood has joined #ruby
libsys has joined #ruby
vigumnov has joined #ruby
foxxx0 has joined #ruby
georgemp has joined #ruby
leah2 has joined #ruby
jtperreault has joined #ruby
DEac- has joined #ruby
Ca1us has joined #ruby
wnd has joined #ruby
dka has joined #ruby
bastelfreak has joined #ruby
olspookishmagus has joined #ruby
mbarbar has joined #ruby
AndrewYu has quit [Max SendQ exceeded]
Exa has quit [Max SendQ exceeded]
Exa has joined #ruby
jmcgnh has quit [Max SendQ exceeded]
AndrewYu has joined #ruby
glider has quit [Ping timeout: 256 seconds]
glider has joined #ruby
moldorcoder7_ has joined #ruby
moldorcoder7 has quit [Ping timeout: 256 seconds]
easbarbosa has quit [Remote host closed the connection]
jpw_ has joined #ruby
weyhmueller has quit [*.net *.split]
In0perable has quit [*.net *.split]
phenom has quit [*.net *.split]
Artea has quit [*.net *.split]
eam has quit [*.net *.split]
Nowaker has quit [*.net *.split]
ox1eef has quit [*.net *.split]
Nowaker has joined #ruby
eam has joined #ruby
Artea has joined #ruby
jmcgnh has joined #ruby
ox1eef has joined #ruby
weyhmueller has joined #ruby
jpw has quit [Ping timeout: 252 seconds]
phenom has joined #ruby
Inoperable has joined #ruby
_whitelogger has joined #ruby
balo has joined #ruby
dviola has quit [Ping timeout: 252 seconds]
fef has joined #ruby
dviola has joined #ruby
jpw_ is now known as jpw
_ht has joined #ruby
fef has quit [Ping timeout: 276 seconds]
dohtem has quit [Quit: Connection closed for inactivity]
_ht has quit [Remote host closed the connection]
TomyWork has joined #ruby
riffraff has joined #ruby
Bounga has joined #ruby
nmollerup has joined #ruby
fercell has joined #ruby
ferr_ has quit [Ping timeout: 256 seconds]
reset has joined #ruby
ur5us has joined #ruby
reset has quit [Quit: reset]
reset has joined #ruby
AAAAA_DRAGON is now known as A_Dragon
ur5us has quit [Ping timeout: 252 seconds]
teclator has joined #ruby
cognemo has quit [Quit: ZNC 1.8.2 - https://znc.in]
cognemo has joined #ruby
cornduck has quit [Remote host closed the connection]
cornduck has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Bounga has quit [Ping timeout: 240 seconds]
riffraff has quit [Quit: Client closed]
riffraff has joined #ruby
gr33n7007h has joined #ruby
riffraff has quit [Quit: Client closed]
riffraff has joined #ruby
riffraff has quit [Ping timeout: 256 seconds]
BSaboia has joined #ruby
riffraff has joined #ruby
lunarkitty has joined #ruby
Al2O3 has quit [Ping timeout: 252 seconds]
<rapha> hi all
BSaboia has quit [Quit: This computer has gone to sleep]
<rapha> no question, just coming to hang out
<rapha> how is everybody?
BSaboia has joined #ruby
unyu has quit [Quit: brb]
unyu has joined #ruby
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
Bounga has joined #ruby
conicalformation has joined #ruby
<conicalformation> What’s the right way to load a gem on the command line from GitHub with a branch
<conicalformation> I have a Gemfile that specifies one branch and I want to load a different one and I can’t figure out how to do that
<conicalformation> /msg NickServ HELP
conicalformation has quit [Remote host closed the connection]
BSaboia has joined #ruby
pwnd_sfw has quit [Read error: Connection reset by peer]
pwnd_sfw has joined #ruby
conicalformation has joined #ruby
conicalformation has quit [Client Quit]
conicalformation has joined #ruby
conicalformation has quit [Remote host closed the connection]
BSaboia has quit [Quit: This computer has gone to sleep]
Al2O3 has joined #ruby
Al2O3 has quit [Read error: Connection reset by peer]
lunarkitty has quit [Quit: Connection closed for inactivity]
<adam12> rapha: doing good. Hbu?
<rapha> adam12: quite alright :)
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
riffraff has quit [Quit: Client closed]
riffraff has joined #ruby
riffraff has quit [Quit: Client closed]
riffraff has joined #ruby
riffraff has quit [Ping timeout: 256 seconds]
Al2O3 has joined #ruby
Milos has quit [Quit: ZNC 1.8.2 - https://znc.in]
Milos has joined #ruby
dohtem has joined #ruby
riffraff has joined #ruby
Bounga has quit [Ping timeout: 240 seconds]
constxd has joined #ruby
_ht has joined #ruby
goepsilongo has joined #ruby
riffraff has quit [Quit: Client closed]
riffraff has joined #ruby
hacker101 has joined #ruby
<hacker101> hi
<hacker101> hiiii
hacker101 has quit [Read error: Connection reset by peer]
Al2O3 has quit [Ping timeout: 240 seconds]
riffraff has quit [Quit: Client closed]
riffraff has joined #ruby
goepsilongo has quit [Quit: Textual IRC Client: www.textualapp.com]
Oxfuxxx has quit [Ping timeout: 268 seconds]
Rounin has quit [Ping timeout: 256 seconds]
Oxfuxxx has joined #ruby
gr33n7007h has quit [Ping timeout: 256 seconds]
gr33n7007h has joined #ruby
<g_sg> when does [] behave differently from #each?
TomyWork has quit [Remote host closed the connection]
<g_sg> i'm running into what seems like a bizarre contradiction here, where a class that contains a 2-dimensional array as an attribute fails to iterate over it using []
<g_sg> both @lines[line_no] and @lines[line_no][col_no] all return the same as @lines (that is, the entire 2-dimensional array)
___nick___ has joined #ruby
<g_sg> i'm doing AoC in ruby in an attempt to pick up the language, this is the one from Sat ^
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
Oxfuxxx has quit [Ping timeout: 252 seconds]
<g_sg> ah, i was using the wrong syntax for range
<g_sg> the correct is (0...SIZE).any? # ...
<Hess> quack
<g_sg> what a rollercoaster that was, haha. it's been a while since i picked up a new language
<adam12> g_sgg: Why (0..SIZE).any?
<adam12> Oh nm.
<adam12> I think I follow, now that I looked closer.
<g_sg> the board is a winner if there is any row for which all the cells are marked
<g_sg> not exactly pretty, i guess. stylistic feedback welcome btw
<adam12> g_sg: So, Enumerable can be chained, and is included in lots of stuff (like a Range)
<adam12> g_sg: To make it more intent revealing, I think I might do something like: 0.upto(SIZE).any?
<adam12> Actually, that won't work either
<g_sg> in that case it would have to be 0.upto(SIZE - 1)
<adam12> Because it includes 1 too many.
<adam12> Yeah. I'm just gonna stop now; I'm multitasking and it's not working.
<adam12> Technically SIZE.times woudl work
<adam12> Which surprises me, since I thought it would of been 1 indexed.
<g_sg> huh, that sounds better. would have avoided much frustration :P
<g_sg> hmm, but then i don't get to use #any?
<g_sg> ah, no i do becaue it returns an Enumerator in the absence of a block
phenom has quit [Ping timeout: 240 seconds]
phenom has joined #ruby
riffraff has quit [Quit: Client closed]
riffraff has joined #ruby
riffraff has quit [Client Quit]
riffraff has joined #ruby
hacker has joined #ruby
<hacker> hello
hacker is now known as Guest8906
<Guest8906> hiiiii
<Guest8906> hi
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> ..
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> ..
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> ..
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> ..
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906> .
<Guest8906>
<Guest8906>
<Guest8906>
<Guest8906>
<Guest8906>
Guest8906 has quit [Ping timeout: 252 seconds]
constxd has quit [Ping timeout: 265 seconds]
ged has joined #ruby
ur5us has joined #ruby
duds- has quit [Ping timeout: 276 seconds]
Oxfuxxx has joined #ruby
goldfish has joined #ruby
___nick___ has quit [Ping timeout: 252 seconds]
sagax has quit [Remote host closed the connection]
_ht has quit [Remote host closed the connection]
lunarkitty has joined #ruby
donofrio has quit [Quit: Leaving]
goldfish has quit [Ping timeout: 240 seconds]
sagax has joined #ruby
coffeejunk has quit [Ping timeout: 245 seconds]
coffeejunk has joined #ruby
riffraff has quit [Quit: Client closed]
riffraff has joined #ruby
riffraff has quit [Ping timeout: 256 seconds]
riffraff has joined #ruby
riffraff has quit [Ping timeout: 256 seconds]
riffraff has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
riffraff has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 240 seconds]
riffraff has joined #ruby
riffraff has quit [Ping timeout: 256 seconds]