apeiros changed the topic of #ruby-lang to: RIP Jim || Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com
Onixs has joined #ruby-lang
fezziwig has quit [Remote host closed the connection]
seanlinsley has joined #ruby-lang
Cakey has quit [Ping timeout: 268 seconds]
tylersm__ has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 245 seconds]
tylersmith has joined #ruby-lang
code1n has quit [Remote host closed the connection]
nisstyre has quit [Ping timeout: 268 seconds]
dstynchula has quit []
chouhoul_ has joined #ruby-lang
chouhoulis has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
code1n_ has joined #ruby-lang
tylersmith has quit [Ping timeout: 240 seconds]
elliotec has quit [Remote host closed the connection]
<Insentience> So I have a parent class A, with children classes B and C
willmarshall has joined #ruby-lang
<Insentience> parent class has a function that does something, children classes have their own versions of said function
mineiro has joined #ruby-lang
<Insentience> i create an instance of A, set it to equal B.new
<Insentience> then call that function. Will it run B's version of A's
<Insentience> I expect B's version
symm- has quit [Ping timeout: 265 seconds]
lolmaus has quit [Ping timeout: 240 seconds]
lcdhoffman has joined #ruby-lang
nanno77 has quit [Quit: Computer has gone to sleep.]
jsutt has quit [Ping timeout: 245 seconds]
nanno77 has joined #ruby-lang
code1n_ has quit [Remote host closed the connection]
ikrima has quit [Ping timeout: 252 seconds]
arubin has joined #ruby-lang
cnivolle has joined #ruby-lang
francisfish has quit [Ping timeout: 264 seconds]
nanno77 has quit [Ping timeout: 252 seconds]
francisfish has joined #ruby-lang
code1n has joined #ruby-lang
<wallerdev> Insentience: that question doesnt make much sense haha
<Insentience> It's alright, I figured it out
<wallerdev> are you saying you do x = A.new; x = B.new
<Insentience> I usually end up figuring stuff out when I try to explain it
<Insentience> No, don't worry about it >.>
<Insentience> I didn't make much sense haha
<wallerdev> :p
nisstyre has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhoul_ has quit [Read error: Connection reset by peer]
JEG2 has quit [Quit: Connection closed for inactivity]
CaptainJet has quit [Ping timeout: 240 seconds]
mistym has quit [Remote host closed the connection]
CaptainJet has joined #ruby-lang
Barrin6 has joined #ruby-lang
lolmaus has joined #ruby-lang
rh1n0 has joined #ruby-lang
kitak has joined #ruby-lang
zenojis has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
cnivolle has quit []
dik_dak has quit [Quit: Leaving]
brettweavnet has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
vlad_starkov has quit [Remote host closed the connection]
mistym has joined #ruby-lang
Fushi has quit [Quit: Connection closed for inactivity]
lguardiola_ has joined #ruby-lang
toastyne_ has quit [Remote host closed the connection]
yalue has quit [*.net *.split]
lguardiola has quit [*.net *.split]
aarellano_ has quit [*.net *.split]
yfeldblu_ has quit [*.net *.split]
code1n has quit [*.net *.split]
zenojis has quit [*.net *.split]
1JTAAWJ07 has quit [*.net *.split]
seanlinsley has quit [*.net *.split]
tharindu has quit [*.net *.split]
bzalasky has quit [*.net *.split]
RobertBirnie has quit [*.net *.split]
cored has quit [*.net *.split]
devgiant has quit [*.net *.split]
face has quit [*.net *.split]
gix has quit [*.net *.split]
priodev has quit [*.net *.split]
cschneid has quit [*.net *.split]
styped____ has quit [*.net *.split]
MindfulMonk has quit [*.net *.split]
nopc0de has quit [*.net *.split]
amerine has quit [*.net *.split]
ConstantineXVI has quit [*.net *.split]
nifoc has quit [*.net *.split]
Paradox has quit [*.net *.split]
DarkBushido has quit [*.net *.split]
GitNick has quit [*.net *.split]
soraher_ has quit [*.net *.split]
jperry has quit [*.net *.split]
cschneid has joined #ruby-lang
havenwood has quit []
frank_o has joined #ruby-lang
<frank_o> Howdy! At this dummy data file (seeds.rb): https://gist.github.com/frankie-loves-jesus/9797757 -- is there a nice and easy way to make sure the succession of topicN is chronological?
<frank_o> Right now they're jumping ie. from topic19 to topic110 etc.
jsutt has joined #ruby-lang
<wallerdev> order by created_at or something?
<frank_o> I found https://github.com/dahu/Nexus for Vim but it looks kinda heavy.
<centrx> Why are you creating 350 variables of that?
<wallerdev> oh i see
<frank_o> wallerdev: Just for the text file
<wallerdev> ordering numbers alphabetically
<frank_o> centrx: Gonna test this pg_search thing
yalue has joined #ruby-lang
<frank_o> wallerdev: Well sorta. There are also a lot of gaps between the numbers ie. 19 => 110 etc.
<wallerdev> well yeah because 20 comes alphabetically after 110 ?
<frank_o> wallerdev: chronologically yeah
<frank_o> wait 20 after 110 now im confused
<wallerdev> haha nevermind, i didnt really look closely
jsutt has quit [Read error: Connection reset by peer]
jsutt has joined #ruby-lang
<frank_o> :P no probs
<frank_o> this topic numbering doesnt really matter as long as there are no dupes.. im just a bit OCD like that, i want everything to be perfect hehe
brettweavnet has joined #ruby-lang
<frank_o> f the haters calling OCD a weakness this is one of my greatest strengths i cherish it and take pride in it
yfeldblum has joined #ruby-lang
<wallerdev> o.o
<wallerdev> isnt the definition of OCD something that gets in the way of you living your life
<frank_o> it is?
<frank_o> oh well then i dont have OCD :S
<frank_o> i thought it was like obsessive attention to detail (for some things)
<frank_o> (the ability to give a complete f about other things otherwise you'll go crazy :P)
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
<whitequark> that's OCPD
yfeldblum has quit [Read error: Connection reset by peer]
mr-foobar has joined #ruby-lang
<frank_o> whitequark: yeah possibly
<frank_o> whitequark: says here "at the expense of flexibility, openness, and efficiency", i dont like the sound of that though
tylersmith has joined #ruby-lang
<wallerdev> yeah OCD can be really scary
code1n has joined #ruby-lang
<wallerdev> like a friend of mine thinks that their family will get hurt or die if they dont do specific things a specific way
vlad_starkov has joined #ruby-lang
<frank_o> damn
code1n has quit [Read error: Connection reset by peer]
code1n has joined #ruby-lang
<frank_o> reminds me of religion
<wallerdev> haha
brettweavnet has quit [Ping timeout: 240 seconds]
marcostoledo has quit [Quit: Leaving...]
mr-foobar has quit [Ping timeout: 264 seconds]
Barrin6 has quit [Quit: Leaving]
mineiro has quit []
vlad_starkov has quit [Ping timeout: 252 seconds]
bzalasky has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
D9 has joined #ruby-lang
yfeldblum has joined #ruby-lang
1JTAAWLWX has joined #ruby-lang
gix has joined #ruby-lang
1JTAAWJ07 has joined #ruby-lang
cored has joined #ruby-lang
seanlinsley has joined #ruby-lang
face has joined #ruby-lang
priodev has joined #ruby-lang
Paradox has joined #ruby-lang
amerine has joined #ruby-lang
GitNick has joined #ruby-lang
tharindu has joined #ruby-lang
DarkBushido has joined #ruby-lang
soraher_ has joined #ruby-lang
ConstantineXVI has joined #ruby-lang
styped____ has joined #ruby-lang
nifoc has joined #ruby-lang
nopc0de has joined #ruby-lang
tkuchiki has joined #ruby-lang
jperry has joined #ruby-lang
zenojis has joined #ruby-lang
zenojis has quit [Max SendQ exceeded]
MindfulMonk has joined #ruby-lang
zenojis has joined #ruby-lang
ledestin has quit [Quit: ledestin]
insidious has joined #ruby-lang
ledestin has joined #ruby-lang
rofel has joined #ruby-lang
frank_o has quit [Quit: leaving]
mr-foobar has joined #ruby-lang
chouhoulis has joined #ruby-lang
esad has joined #ruby-lang
seanlinsley has quit [Ping timeout: 265 seconds]
wallerdev has quit [Quit: wallerdev]
toastynerd has joined #ruby-lang
knu has joined #ruby-lang
<centrx> Reminds me of modern medicine
insidious has quit []
elliotec has joined #ruby-lang
nathanstitt has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
seanlinsley has joined #ruby-lang
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
mr-foobar has quit [Ping timeout: 240 seconds]
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
mr-foobar has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
elliotec has quit [Ping timeout: 252 seconds]
elliotec has joined #ruby-lang
wallerdev has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
DouweM has quit [Ping timeout: 264 seconds]
woollyams has quit [Ping timeout: 252 seconds]
tharindu has quit [Ping timeout: 265 seconds]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 252 seconds]
rh1n0 has quit [Quit: Hopefully you don't see this...]
knu has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby-lang
marcdel has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
marcdel_ has joined #ruby-lang
marcdel has quit [Ping timeout: 240 seconds]
sepp2k has quit [Quit: Leaving.]
Onixs_ has joined #ruby-lang
Onixs has quit [Ping timeout: 268 seconds]
Onixs has joined #ruby-lang
<whitequark> reminds me of life in general
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Onixs_ has quit [Ping timeout: 268 seconds]
Onixs_ has joined #ruby-lang
rickhull has joined #ruby-lang
Onixs has quit [Ping timeout: 268 seconds]
toastynerd has joined #ruby-lang
jackhammer2022 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
rahul_j has joined #ruby-lang
woollyams has joined #ruby-lang
wallerdev has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
insidious has joined #ruby-lang
chouhoulis has joined #ruby-lang
jeer has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby-lang
D9 has quit [Quit: Leaving]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
nanno77 has joined #ruby-lang
code1n has quit [Remote host closed the connection]
code1n has joined #ruby-lang
havenwood has joined #ruby-lang
code1n has quit [Ping timeout: 240 seconds]
insidious has quit []
bzalasky has joined #ruby-lang
elliotec has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
Onixs_ has quit [Read error: Connection reset by peer]
Cakey has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
Onixs has joined #ruby-lang
elliotec has quit [Ping timeout: 268 seconds]
rahul_j has joined #ruby-lang
Onixs_ has joined #ruby-lang
Onixs has quit [Ping timeout: 265 seconds]
Onixs has joined #ruby-lang
bahar has quit [Ping timeout: 268 seconds]
toastynerd has quit [Remote host closed the connection]
charlies_ has joined #ruby-lang
Onixs_ has quit [Ping timeout: 264 seconds]
charliesome has quit [Read error: Connection reset by peer]
bahar has joined #ruby-lang
unsymbol has quit [Ping timeout: 240 seconds]
Insentience has quit [Quit: Leaving]
nathanstitt has quit [Quit: I growing sleepy]
unsymbol has joined #ruby-lang
unsymbol has quit [Changing host]
unsymbol has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
nanno77 has quit [Quit: Computer has gone to sleep.]
nanno77 has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
bahar has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
MartynKeigher has quit [Quit: Bye for now!]
bahar has joined #ruby-lang
nanno77 has quit [Ping timeout: 252 seconds]
vivekrai has joined #ruby-lang
yatish27 has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
woollyams has quit [Ping timeout: 252 seconds]
lsegal has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
hakunin_ has joined #ruby-lang
bzalasky_ has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
bzalasky has quit [Ping timeout: 240 seconds]
hakunin has quit [Ping timeout: 246 seconds]
robbyoconnor has joined #ruby-lang
nanno77 has joined #ruby-lang
mykoweb has joined #ruby-lang
jsutt has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby-lang
tectonic has joined #ruby-lang
tectonic has quit [Client Quit]
ledestin has quit [Ping timeout: 245 seconds]
tectonic has joined #ruby-lang
bzalasky_ has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
nanno77 has quit [Quit: Computer has gone to sleep.]
yatish27 has joined #ruby-lang
nanno77 has joined #ruby-lang
alexju has joined #ruby-lang
nanno77 has quit [Ping timeout: 252 seconds]
cored has quit [Ping timeout: 265 seconds]
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iliketurtles has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
knu has joined #ruby-lang
viscera has joined #ruby-lang
vlad_starkov has joined #ruby-lang
agent_white has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
mykoweb has quit [Remote host closed the connection]
anoldhacker has joined #ruby-lang
mykoweb has joined #ruby-lang
<anoldhacker> I've posted a question to https://www.ruby-forum.com/topic/4484730.  I would really appreciate it if someone familiar with ruby internals would answer.
vlad_starkov has quit [Ping timeout: 245 seconds]
woollyams has joined #ruby-lang
gix has quit [Ping timeout: 265 seconds]
nanno77 has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
chichou has joined #ruby-lang
gix has joined #ruby-lang
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
mr-foobar has quit [Read error: Connection reset by peer]
mr-foobar has joined #ruby-lang
mykoweb has joined #ruby-lang
boombadaroomba has joined #ruby-lang
ItS______ has quit [Quit: Leaving...]
Lewix has joined #ruby-lang
soahccc has joined #ruby-lang
viscera has quit [Quit: viscera]
slawrence has joined #ruby-lang
diegoviola has joined #ruby-lang
1JTAAWJ07 has quit [Ping timeout: 265 seconds]
ur5us has quit [Remote host closed the connection]
Onixs has quit [Read error: Connection reset by peer]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
Onixs has joined #ruby-lang
RobertBirnie has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
Onixs_ has joined #ruby-lang
mykoweb has quit [Ping timeout: 265 seconds]
Onixs has quit [Ping timeout: 264 seconds]
Burgestrand has joined #ruby-lang
havenwood has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
Onixs has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mistym_ has joined #ruby-lang
Onixs_ has quit [Ping timeout: 240 seconds]
rickhull has left #ruby-lang [#ruby-lang]
yfeldblum has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
bahar has quit [Ping timeout: 265 seconds]
amerine has joined #ruby-lang
bahar has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Onixs has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
Cakey has quit [Read error: Connection reset by peer]
nanno77 has quit [Quit: Computer has gone to sleep.]
Cakey has joined #ruby-lang
nanno77 has joined #ruby-lang
havenwood has quit [Ping timeout: 252 seconds]
Onixs has joined #ruby-lang
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
lcdhoffman has quit [Quit: lcdhoffman]
nanno77 has quit [Ping timeout: 264 seconds]
Onixs_ has joined #ruby-lang
Onixs has quit [Ping timeout: 245 seconds]
charlies_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby-lang
charliesome has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
jackhammer2022 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
rahul_j has joined #ruby-lang
knu has quit [Ping timeout: 264 seconds]
rsl has quit [Ping timeout: 245 seconds]
knu has joined #ruby-lang
elliotec has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 268 seconds]
brettweavnet has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
jeffreyio has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Onixs_ has quit [Read error: Connection reset by peer]
tylersmith has quit [Ping timeout: 252 seconds]
rahul_j has quit [Quit: rahul_j]
nanno77 has joined #ruby-lang
Onixs has joined #ruby-lang
nanno77 has quit [Client Quit]
nanno77 has joined #ruby-lang
Onixs_ has joined #ruby-lang
Cakey has quit [Ping timeout: 265 seconds]
Cakey has joined #ruby-lang
Onixs has quit [Ping timeout: 240 seconds]
nanno77 has quit [Ping timeout: 252 seconds]
rahul_j has joined #ruby-lang
_ht has joined #ruby-lang
toastynerd has joined #ruby-lang
skade has joined #ruby-lang
Onixs_ has quit [Read error: Connection reset by peer]
Onixs has joined #ruby-lang
havenwood has joined #ruby-lang
agent_white has quit [Read error: Connection reset by peer]
Onixs_ has joined #ruby-lang
kitak has quit [Remote host closed the connection]
Onixs has quit [Read error: Connection reset by peer]
Onixs_ has quit [Read error: Connection reset by peer]
yatish27 has joined #ruby-lang
knu has quit [Ping timeout: 264 seconds]
havenwood has quit [Ping timeout: 268 seconds]
Onixs has joined #ruby-lang
kitak has joined #ruby-lang
agent_white has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
vivekrai has quit [Quit: Connection closed for inactivity]
rofel has quit [Quit: Leaving...]
tylersmi_ has joined #ruby-lang
tylersmith has quit [Ping timeout: 268 seconds]
heftig has quit [Quit: Quitting]
tylersmi_ has quit [Ping timeout: 252 seconds]
toretore has joined #ruby-lang
ItSANgo_ has joined #ruby-lang
<pipework> anoldhacker: I've built a form of DCI that's similar to what you describe. Data is wrapped with contextual wrappers which only exist within a certain scope, and then they're lost when the context is finished. I don't foresee anything, but I'm not as intimate with internals.
brettweavnet has quit [Ping timeout: 265 seconds]
MindfulMonk has quit [Ping timeout: 265 seconds]
toastynerd has joined #ruby-lang
Onixs has quit [Read error: Connection reset by peer]
toastynerd has quit [Ping timeout: 268 seconds]
x0f_ has joined #ruby-lang
Onixs has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
phansch has joined #ruby-lang
x0f has quit [Ping timeout: 252 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
Cakey has quit [Read error: Connection reset by peer]
Onixs_ has joined #ruby-lang
slawrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Onixs has quit [Ping timeout: 265 seconds]
toastynerd has joined #ruby-lang
Cakey has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
brettweavnet has joined #ruby-lang
skade has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brettwea_ has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
apeiros has quit [Remote host closed the connection]
kitak has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby-lang
brettweavnet has quit [Ping timeout: 252 seconds]
kitak has joined #ruby-lang
|jemc| has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ikrima has joined #ruby-lang
[spoiler] has joined #ruby-lang
brettwea_ has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Quit: zzzzz…..]
apeiros has quit [Ping timeout: 268 seconds]
skade has quit [Quit: Computer has gone to sleep.]
michaeldeol has joined #ruby-lang
mistym_ is now known as mistym
symm- has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 268 seconds]
havenwood has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
Onixs_ has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
workmad3 has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Onixs has joined #ruby-lang
Onixs_ has joined #ruby-lang
Onixs has quit [Ping timeout: 265 seconds]
Onixs has joined #ruby-lang
nisstyre has quit [Quit: WeeChat 0.4.3]
michaeldeol has joined #ruby-lang
Onixs_ has quit [Ping timeout: 245 seconds]
workmad3 has quit [Read error: Operation timed out]
apeiros has joined #ruby-lang
relix has joined #ruby-lang
solars has joined #ruby-lang
ledestin has joined #ruby-lang
dagobah has joined #ruby-lang
agent_white has quit [Quit: night]
skammer has joined #ruby-lang
mehlah has joined #ruby-lang
brettweavnet has joined #ruby-lang
mistym has quit [Remote host closed the connection]
viscera has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brettweavnet has quit [Ping timeout: 240 seconds]
tbuehlmann has joined #ruby-lang
rahul_j has quit [Ping timeout: 264 seconds]
arBmind1 has quit [Ping timeout: 240 seconds]
lolmaus has quit [Ping timeout: 245 seconds]
michd is now known as MichD
vlad_starkov has joined #ruby-lang
lolmaus has joined #ruby-lang
rahul_j has joined #ruby-lang
tectonic has quit []
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
lolmaus_ has joined #ruby-lang
skade has joined #ruby-lang
lolmaus has quit [Ping timeout: 240 seconds]
lolmaus has joined #ruby-lang
lolmaus_ has quit [Read error: Operation timed out]
yann_ck has joined #ruby-lang
rahul_j has quit [Read error: Connection reset by peer]
futilegames has joined #ruby-lang
jeffreyio has quit [Read error: Connection reset by peer]
rahul_j has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
arBmind has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
rahul_j has quit [Client Quit]
knu has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
phansch has quit [Quit: WeeChat 0.4.2]
havenwood has joined #ruby-lang
wallerdev has joined #ruby-lang
yann_ck has quit [Ping timeout: 245 seconds]
Ygg_ has joined #ruby-lang
knu has quit [Ping timeout: 264 seconds]
havenwood has quit [Ping timeout: 264 seconds]
rahul_j has joined #ruby-lang
mbj has joined #ruby-lang
Ygg_ has left #ruby-lang [#ruby-lang]
aarellano has joined #ruby-lang
Onixs has quit [Ping timeout: 268 seconds]
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
lolmaus has joined #ruby-lang
Onixs has joined #ruby-lang
phansch has joined #ruby-lang
centrx has quit [Quit: All this computer hacking is making me thirsty]
Onixs_ has joined #ruby-lang
Onixs has quit [Ping timeout: 240 seconds]
brettweavnet has joined #ruby-lang
havenwood has joined #ruby-lang
lolmaus has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brettweavnet has quit [Ping timeout: 240 seconds]
lolmaus has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
jeffreyio has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
jsrn has joined #ruby-lang
mikecmpbll has joined #ruby-lang
<yorickpeterse> morning
jsrn_ has joined #ruby-lang
ikrima has quit [Ping timeout: 264 seconds]
elliotec has quit [Remote host closed the connection]
jsrn has quit [Ping timeout: 268 seconds]
yann_ck has joined #ruby-lang
Pupeno has joined #ruby-lang
canton7 has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
heftig has joined #ruby-lang
kitak has joined #ruby-lang
elia has joined #ruby-lang
Cakey has quit [Ping timeout: 240 seconds]
jsrn_ has quit [Ping timeout: 252 seconds]
brettweavnet has joined #ruby-lang
CaptainJet has quit []
1JTAAWLWX has quit [Remote host closed the connection]
jason__ has joined #ruby-lang
jason__ has quit [Remote host closed the connection]
jason__ has joined #ruby-lang
brettweavnet has quit [Ping timeout: 265 seconds]
jsrn_ has joined #ruby-lang
DouweM has joined #ruby-lang
faces has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
face has quit [Ping timeout: 265 seconds]
devgiant has joined #ruby-lang
skammer has joined #ruby-lang
relix has joined #ruby-lang
bin7me has joined #ruby-lang
canton7 has joined #ruby-lang
jason__ has quit [Remote host closed the connection]
jason_ has joined #ruby-lang
lolmaus_ has joined #ruby-lang
lolmaus has quit [Ping timeout: 252 seconds]
jason_ has quit [Ping timeout: 264 seconds]
Fushi has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
DouweM has quit [Quit: Leaving...]
knu has joined #ruby-lang
robmiller has joined #ruby-lang
esad has joined #ruby-lang
lolmaus_ has quit [Quit: No Ping reply in 180 seconds.]
lolmaus has joined #ruby-lang
MindfulMonk has joined #ruby-lang
brettweavnet has joined #ruby-lang
brettweavnet has quit [Ping timeout: 252 seconds]
DouweM has joined #ruby-lang
jsrn__ has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
Speed has joined #ruby-lang
jsrn_ has quit [Ping timeout: 240 seconds]
skammer_ has joined #ruby-lang
skammer has quit [Ping timeout: 268 seconds]
jsrn__ has quit [Ping timeout: 264 seconds]
mehlah has joined #ruby-lang
willmarshall has joined #ruby-lang
chichou has quit [Remote host closed the connection]
DouweM has quit [Quit: Leaving...]
momomomomo has joined #ruby-lang
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DouweM has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
tbuehlmann has quit [Quit: Leaving]
alexju has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
viscera has quit [Quit: viscera]
jason_ has joined #ruby-lang
brettweavnet has joined #ruby-lang
jason_ has quit [Ping timeout: 255 seconds]
brettweavnet has quit [Ping timeout: 265 seconds]
cbreeze has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
tkuchiki_ has joined #ruby-lang
skammer_ is now known as skammer|afk
skammer|afk is now known as skammer_
fbernier has joined #ruby-lang
tkuchiki has quit [Ping timeout: 265 seconds]
tkuchiki_ has quit [Ping timeout: 265 seconds]
momomomomo has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
francisfish has quit []
cbreeze has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #ruby-lang
yfeldblum has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
robbyoconnor has quit [Read error: Operation timed out]
robbyoconnor has joined #ruby-lang
chouhoulis has joined #ruby-lang
DouweM has quit [Quit: Leaving...]
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has joined #ruby-lang
jonathanmarvens has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
tbuehlmann has joined #ruby-lang
victorbjelkholm has joined #ruby-lang
jgpawletko has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
lcdhoffman has joined #ruby-lang
workmad3 has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
brettweavnet has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
esad has joined #ruby-lang
pabs has quit [Quit: brb]
flori has quit [Ping timeout: 240 seconds]
brettweavnet has quit [Ping timeout: 264 seconds]
|jemc| has joined #ruby-lang
flori has joined #ruby-lang
luiz_lha has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
DouweM has joined #ruby-lang
kitak has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
<yorickpeterse> woop woop, Swagger docs based on YARD
<yorickpeterse> plus Markdown support
<yorickpeterse> that only took 1,5 days
DouweM has quit [Remote host closed the connection]
phansch has quit [Ping timeout: 252 seconds]
<yorickpeterse> "To document controllers using Swagger you have to use the @swagger tag" hihi
<yorickpeterse> DAMN IT, I should've used @swag instead
phansch has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
yfeldblum has joined #ruby-lang
lolmaus has quit [Ping timeout: 265 seconds]
retro|cz has joined #ruby-lang
simono has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 265 seconds]
dik_dak has joined #ruby-lang
johnny_rugger has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
alexju has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
simono has quit [Ping timeout: 255 seconds]
pabs has joined #ruby-lang
pabs has quit [Client Quit]
pabs has joined #ruby-lang
AncientAmateur has joined #ruby-lang
brettweavnet has joined #ruby-lang
lcdhoffman has joined #ruby-lang
pabs has quit [Ping timeout: 268 seconds]
simono has joined #ruby-lang
nathanstitt has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
phansch has joined #ruby-lang
enebo has joined #ruby-lang
momomomomo has left #ruby-lang [#ruby-lang]
ruurd has joined #ruby-lang
ruurd has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
melter has quit [Remote host closed the connection]
cored has quit [Ping timeout: 265 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
brettweavnet has quit [Quit: Textual IRC Client: www.textualapp.com]
brettweavnet has joined #ruby-lang
johnny_rugger has joined #ruby-lang
chouhoulis has joined #ruby-lang
rofel has joined #ruby-lang
skade has joined #ruby-lang
negatendo has joined #ruby-lang
rahul_j has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
charliesome has joined #ruby-lang
anoldhacker has quit [Quit: Leaving.]
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
|jemc| has quit [Quit: WeeChat 0.4.3]
yfeldblum has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cored has quit [Ping timeout: 240 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
yfeldblum has quit [Ping timeout: 265 seconds]
loincloth has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
seanlinsley has quit [Quit: …]
jxpx777_ has quit [Quit: Leaving...]
<sluukkonen> j
workmad3 has quit [Ping timeout: 255 seconds]
toastynerd has joined #ruby-lang
simono has quit [Ping timeout: 264 seconds]
hrs has joined #ruby-lang
vlad_starkov has joined #ruby-lang
simono has joined #ruby-lang
fragamus has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
brettweavnet has quit [Ping timeout: 255 seconds]
brettweavnet has joined #ruby-lang
hrs has quit [Client Quit]
toastynerd has quit [Remote host closed the connection]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simono_ has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
lolmaus has joined #ruby-lang
simono has quit [Ping timeout: 265 seconds]
|jemc| has joined #ruby-lang
mistym has joined #ruby-lang
freqn has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 240 seconds]
davidae has joined #ruby-lang
mistym has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
jsullivandigs has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
<yorickpeterse> k
bgant has joined #ruby-lang
bgant has left #ruby-lang [#ruby-lang]
lcdhoffman has joined #ruby-lang
skammer_ is now known as skammer|afk
jonathanmarvens has quit [Ping timeout: 252 seconds]
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
nanno77 has joined #ruby-lang
skammer|afk is now known as skammer_
johnny_rugger has joined #ruby-lang
lolmaus_ has joined #ruby-lang
freqn has quit []
freqn has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
mistym has joined #ruby-lang
lolmaus has quit [Ping timeout: 268 seconds]
alexju has quit [Remote host closed the connection]
robmiller has joined #ruby-lang
lolmaus_ has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby-lang
jxie has joined #ruby-lang
bin7me has quit [Quit: Leaving]
cnivolle has joined #ruby-lang
bjh13 has joined #ruby-lang
mikecmpbll has quit [Read error: Operation timed out]
vlad_starkov has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
<whitequark> @yolo
jsutt has joined #ruby-lang
jsutt has quit [Remote host closed the connection]
seanlinsley has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
jsutt has joined #ruby-lang
mikecmpbll has joined #ruby-lang
cnivolle has joined #ruby-lang
mehlah has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
dmwuw has joined #ruby-lang
bzalasky has joined #ruby-lang
* yorickpeterse slaps whitequark a few times
slawrence has joined #ruby-lang
dmwuw is now known as ocdmw
mehlah has joined #ruby-lang
victorbjelkholm_ has joined #ruby-lang
brettweavnet has quit [Ping timeout: 240 seconds]
jkprg has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
victorbjelkholm_ has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 265 seconds]
victorbjelkholm_ has joined #ruby-lang
jsutt has quit [Ping timeout: 265 seconds]
anoldhacker has joined #ruby-lang
lolmaus_ has joined #ruby-lang
lolmaus has quit [Ping timeout: 240 seconds]
lolmaus_ has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby-lang
<anoldhacker> I have a question for someone familiar with ruby internals @ https://www.ruby-forum.com/topic/4484730.  I would really appreciate a response.
<yorickpeterse> Yes shit could potentially break
<yorickpeterse> don't fucking redefine operators on global level
<yorickpeterse> Plus in MRI half of the time it will bypass your code anyway
<anoldhacker> This is not global. I'm only talking about redefining for Role-type objects.
<yorickpeterse> Even then I would stay away from re-defining operators such as == and =
<yorickpeterse> * =~
<anoldhacker> Wat? Redefining == is extremely common, and not just in the ruby core.
<yorickpeterse> define "extremely common"
jkprg has quit [Quit: jkprg]
<yorickpeterse> It being "common" also doesn't instantly make it a good idea
<anoldhacker> String, Hash, Array, in the core.
alexju has joined #ruby-lang
rippa has joined #ruby-lang
jkprg has joined #ruby-lang
<yorickpeterse> Those are the root definitions, not patches that overwrite existing behaviour
bzalasky has quit [Remote host closed the connection]
<yorickpeterse> That is
<yorickpeterse> String#== is defined once, not hijacked later on by something else
<yorickpeterse> Personally I find that overwriting #==() is meh
<whitequark> yorickpeterse: you are deeply confused about #==
<whitequark> anyway
<whitequark> anoldhacker: no, nothing in ruby *MRI* *core* will break. but:
<whitequark> 1) other implementations, notably Rubinius, may depend on those methods
<whitequark> 2) debugging tools like pry, even on MRI, will break if you redefine those methods.
<whitequark> so don't do that.
<yorickpeterse> whitequark: oh yeah totally
<anoldhacker> I hadn't thought about the debuggers.
<yorickpeterse> because disagreeing with something means super confused right?
code1n has joined #ruby-lang
tonni_ has quit [Quit: Leaving...]
<anoldhacker> The docs encourage overwriting #==.
lolmaus has quit [Read error: Connection reset by peer]
<whitequark> yorickpeterse: sometimes.
<yorickpeterse> whitequark: explain to me how in the above I am deeply confused about #==
<darix> anoldhacker: why do you want to do it in first place?
lolmaus has joined #ruby-lang
<anoldhacker> brb
<whitequark> yorickpeterse: #== by default compares objects by identity. not all domains define comparison as comparison by identity, e.g. if your objects present a functional interface, that's simply pointless.
<whitequark> and, at the end, Ruby has three comparison methods for a reason: they're intended for different use cases. if you decide to not ever override #== (and I guess #eql?), you're going against that intent.
<yorickpeterse> That does nothing to state that I'm confused about what #== does. I merely stated that it's dirty (in my opinion) and that MRI would bypass it anyway
<yorickpeterse> s/state/show
<yorickpeterse> well, bypass it in most cases
<whitequark> no, it won't
brettweavnet has joined #ruby-lang
<whitequark> #equal?, yes, it will effectively bypass. but #== and #eql? will be called by MRI appropriately.
workmad3 has joined #ruby-lang
<yorickpeterse> It will when it starts comparing things in C land and calls the underlying C functions directly
loinclot_ has joined #ruby-lang
<whitequark> such as in which case?
<yorickpeterse> e.g. if it were to call rb_str_equal() directly instead of going through Ruby
<yorickpeterse> There's nothing that prevents any C code from doing that
<whitequark> there's also nothing that prevents any C code from doing rm / -rf. this argument is moot.
<yorickpeterse> Either way, if you have some custom object then I suppose there's no real harm
<yorickpeterse> whitequark: haha get out
<whitequark> by the way, rb_str_equal fallbacks to #==: http://rxr.whitequark.org/mri/source/string.c#2407
<whitequark> yorickpeterse: don't spread disinformation.
tylersmith has joined #ruby-lang
shinnya has joined #ruby-lang
<yorickpeterse> it falls back only if the other value is not a string
<yorickpeterse> at least if I'm grokking the C correctly
esad has joined #ruby-lang
enkristoffer has joined #ruby-lang
<whitequark> exactly, and no one talked about overriding String#==
<whitequark> moreover, String#== *does* override Object#==
<whitequark> er, redefining String#==.
<yorickpeterse> Said person posted a snippet, not specifying what to overwrite, merely showing a bunch of common operators that were overwritten
<anoldhacker> You know, in the old days, we didn't have to interrupt chat to get off the bus...
<yorickpeterse> So initially I assumed they were going for global patches
<yorickpeterse> anoldhacker: welcome to #ruby-lang
<anoldhacker> :)
<whitequark> yorickpeterse: they did: "wrapper objects"
<darix> anoldhacker: mosh+tmux|screen+irssi|weechat ;)
<whitequark> quite explicit in my view
loincloth has quit [Ping timeout: 265 seconds]
<anoldhacker> darix: I'm working on an implementation of DCI.
<anoldhacker> In this model, objects assume roles in a specific context for the duration of an interaction.
<yorickpeterse> whitequark: depends on where one would use wrappers
<whitequark> tl;dr: using DCI in Ruby potentially has a huge performance hit
<anoldhacker> I have read some of them.
<anoldhacker> The 2.1 GC will address a chunk of the problem.
cnivolle_ has joined #ruby-lang
<anoldhacker> Using 2.1 GC & wrapper objects will make it much, much more reasonable.
<whitequark> GC... I don't think GC has anything to do with method cache flushing?
freqn has quit [Read error: Connection reset by peer]
<whitequark> (but I think charliesome did some work on method cache flushing in 2.1, too)
<yorickpeterse> #extend no longer flushes everything I believe
freqn has joined #ruby-lang
<yorickpeterse> instead only flushing the class'/module's cache
skammer_ is now known as skammer|afk
skammer|afk is now known as skammer_
<yorickpeterse> That was added a while ago already though
Speed has quit [Ping timeout: 264 seconds]
<yorickpeterse> unless it hasn't been merged in yet
freqn has quit [Read error: Connection reset by peer]
phansch has quit [Quit: WeeChat 0.4.2]
<anoldhacker> I'm sorry, yes, I mean the method cache.
lolmaus has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 264 seconds]
freqn has joined #ruby-lang
<anoldhacker> The 2.1 method cache only clears the affected class.
<yorickpeterse> It's still going to have an impact though
<whitequark> anoldhacker: anyway, bottom line: redefining anything on builtin classes is fraught with error. redefining anything present in Object except #equal? #object_id #__send__ is fine.
phansch has joined #ruby-lang
yfeldblum has joined #ruby-lang
ocdmw has quit []
lolmaus has joined #ruby-lang
<anoldhacker> Nope, not looking to redefine on the core classes.
ocdmw has joined #ruby-lang
<anoldhacker> Apparently, I miscommunicated that.
cnivolle has quit [Ping timeout: 268 seconds]
<anoldhacker> I'm overriding for Role, which will be inherited by my wrapper object classes.
<whitequark> also #__id__, I think. anyway.
<anoldhacker> Role descends from BasicObject, so __object_id__ is either going to raise or delegate anyway.
scampbell has joined #ruby-lang
havenwood has joined #ruby-lang
<whitequark> no, don't do that. this will break introspection by debugging tools.
<whitequark> (fyi: it's called #__id__ on BasicObject.)
<anoldhacker> DCI is definitely going to be slower. I believe that the tradeoff is acceptable until a good native implementation is available.
<anoldhacker> Okay. One of those things that didn't quite make the docs…
<yorickpeterse> why would Ruby come with native DCI?
<anoldhacker> I'm saying that that is the only way to eliminate the speed penalty.
<whitequark> don't expect that to happen
freqn has quit [Remote host closed the connection]
<anoldhacker> Nope.
<anoldhacker> But who knows? If we can get an implementation that has acceptable performance and is not completely broken, it might create demand.
robmiller has quit [Quit: Leaving.]
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby-lang
loinclot_ has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robmiller has joined #ruby-lang
<anoldhacker> darix: The challenge for DCI in most OO languages (including Ruby) is that either you have role confusion or an identity crisis. My approach is to attack the identity crisis by redefining the identity operators on my Role objects.
jonathanmarvens has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
agarie has joined #ruby-lang
wallerdev has joined #ruby-lang
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby-lang
lolmaus has quit [Read error: Connection reset by peer]
jonathanmarvens has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
lolmaus has joined #ruby-lang
lolmaus has joined #ruby-lang
alexju has quit [Remote host closed the connection]
lolmaus_ has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
lolmaus has quit [Ping timeout: 268 seconds]
CaptainJet has joined #ruby-lang
vondruch has quit [Quit: Ex-Chat]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robmiller has quit [Quit: Leaving.]
<anoldhacker> Those performance metrics are talking about how bad method extension performs. My problem with method extension is that it suffers from role confusion.
cnivolle_ has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
CaptainJet has quit [Read error: Connection reset by peer]
robmiller has joined #ruby-lang
cnivolle has joined #ruby-lang
anoldhacker1 has joined #ruby-lang
CaptainJet has joined #ruby-lang
anoldhacker has quit [Ping timeout: 240 seconds]
mistym has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
jds has quit [Quit: Connection closed for inactivity]
lolmaus_ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
lolmaus has joined #ruby-lang
CaptainJet has quit [Ping timeout: 265 seconds]
CaptainJet has joined #ruby-lang
RobertBirnie has joined #ruby-lang
RobertBirnie has quit [Client Quit]
apeiros has quit [Ping timeout: 255 seconds]
RobertBirnie has joined #ruby-lang
lolmaus has quit [Read error: Connection reset by peer]
saarinen has joined #ruby-lang
jkprg has quit [Quit: jkprg]
anoldhacker1 has left #ruby-lang [#ruby-lang]
lolmaus has joined #ruby-lang
saarinen has quit [Client Quit]
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby-lang
dRbiG has quit [Ping timeout: 264 seconds]
jsutt has joined #ruby-lang
jsutt has quit [Max SendQ exceeded]
jsutt has joined #ruby-lang
marcdel_ has quit []
Squarepy has joined #ruby-lang
dRbiG has joined #ruby-lang
saarinen has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
mistym has joined #ruby-lang
yatish27 has joined #ruby-lang
rh1n0 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
lolmaus has quit [Read error: Connection reset by peer]
skammer has joined #ruby-lang
skammer_ has quit [Ping timeout: 268 seconds]
lolmaus has joined #ruby-lang
lolmaus has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby-lang
rofel has quit [Remote host closed the connection]
loincloth has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
iliketurtles has joined #ruby-lang
johnny_rugger has joined #ruby-lang
lolmaus has quit [Read error: Connection reset by peer]
shinnya has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Client Quit]
alexju has joined #ruby-lang
lolmaus has joined #ruby-lang
Jeticus has joined #ruby-lang
kitak has joined #ruby-lang
solars has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby-lang
CaptainJet has quit [Ping timeout: 268 seconds]
Speed has joined #ruby-lang
bgant has joined #ruby-lang
bgant has left #ruby-lang [#ruby-lang]
lolmaus has quit [Read error: Connection reset by peer]
dagobah has quit [Quit: Leaving...]
marcosto_ has joined #ruby-lang
kitak has quit [Ping timeout: 260 seconds]
iliketurtles has joined #ruby-lang
apeiros has joined #ruby-lang
chouhoulis has joined #ruby-lang
leandrosnunes has joined #ruby-lang
Fushi has quit [Quit: Connection closed for inactivity]
AncientAmateur has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
spinny128 has joined #ruby-lang
hahuang65 has joined #ruby-lang
centrx has joined #ruby-lang
<spinny128> Howdy folks. Is there a reason why 'gem list' would say a package is installed, but Gem.bin_path says it's not?
mbj has joined #ruby-lang
<apeiros> maybe if the gem doesn't have a bin?
<apeiros> just a shot in the blue…
<spinny128> apeiros: unfortunately passenger does
enkristoffer has quit [Quit: ❤]
rh1n0 has quit [Quit: im out!]
jsutt has quit [Ping timeout: 255 seconds]
skade has quit [Quit: Computer has gone to sleep.]
ikrima has joined #ruby-lang
marcosto_ has quit [Quit: Leaving...]
jsutt has joined #ruby-lang
<apeiros> spinny128: well, I guess you'll have to provide more details.
rofel has joined #ruby-lang
<spinny128> `gem list | grep passenger ` = 'passenger (4.0.40)'
<spinny128> /usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'passenger' (>= 0) among 0 total gem(s) (Gem::LoadError)
mikecmpbll has quit [Quit: i've nodded off.]
<havenwood> spinny128: What do you get for?: which gem
ascarter has joined #ruby-lang
<spinny128> /usr/bin/gem -> /etc/alternatives/gem -> /usr/bin/gem2.1
enebo has joined #ruby-lang
LanceHai- has joined #ruby-lang
dstynchula has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
certaint1 has joined #ruby-lang
Pupeno has quit [Ping timeout: 240 seconds]
<havenwood> spinny128: what os/distro are you on?
<spinny128> havenwood: Ubuntu 12.04
centrx has quit [Quit: All this computer hacking is making me thirsty]
<havenwood> spinny128: update-alternatives --config gem
<spinny128> havenwood: * 2 /usr/bin/gem2.1 180 manual mode
<havenwood> spinny128: my suspicion is that `update-alternatives --config ruby` is set to one version and `update-alternatives --config gem` another
<havenwood> spinny128: so you're installing gems for a different ruby than you're using
<spinny128> havenwood: * 2 /usr/bin/ruby2.1 50 manual mode
LanceHaig has quit [Ping timeout: 245 seconds]
certainty has quit [Ping timeout: 245 seconds]
LanceHai- is now known as LanceHaig
vlad_starkov has joined #ruby-lang
<spinny128> havenwood: I had to switch to ruby2.1 to install rake (iirc) but I could have installed rack with ruby1.8
<spinny128> Let me try this again from the top
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
ascarter has quit [Quit: Textual IRC Client: www.textualapp.com]
loincloth has joined #ruby-lang
ascarter has joined #ruby-lang
face has joined #ruby-lang
Burgestrand has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
Jeticus has quit [Read error: Connection reset by peer]
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby-lang
CaptainJet has joined #ruby-lang
rh1n0 has joined #ruby-lang
faces has quit [Ping timeout: 245 seconds]
symm- has joined #ruby-lang
tharindu has joined #ruby-lang
elia has quit [Ping timeout: 264 seconds]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
CaptainJet has quit [Ping timeout: 255 seconds]
mikecmpbll has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
certaint1 is now known as certainty
jsutt has quit [Ping timeout: 265 seconds]
CaptainJet has joined #ruby-lang
cnivolle_ has joined #ruby-lang
marcostoledo has joined #ruby-lang
heftig has quit [Quit: Quitting]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jhass|off is now known as jhass
lcdhoffman has joined #ruby-lang
cnivolle has quit [Ping timeout: 246 seconds]
code1n_ has joined #ruby-lang
michaeldeol has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
mbj has joined #ruby-lang
code1n has quit [Ping timeout: 255 seconds]
toastynerd has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
cnivolle_ has quit [Remote host closed the connection]
dwknoxy has joined #ruby-lang
cnivolle has joined #ruby-lang
toastynerd has joined #ruby-lang
skade has joined #ruby-lang
marcostoledo has quit [Quit: Leaving...]
code1n has joined #ruby-lang
VTLob has joined #ruby-lang
sepp2k has joined #ruby-lang
cnivolle has quit [Ping timeout: 240 seconds]
cnivolle has joined #ruby-lang
<spinny128> havenwood: Thanks for the suggestion but it didn't fix the issue. I think I know the problem now, it's GEM_PATH. 'gem' respects /etc/gemrc but ruby doesn't and so they have different GEM_PATHS. If I set GEM_PATH in my shell passenger appears to work.
code1n_ has quit [Ping timeout: 265 seconds]
brianpWins has joined #ruby-lang
brianpWins has quit [Client Quit]
workmad3 has quit [Ping timeout: 255 seconds]
<havenwood> spinny128: aha. a nice tool for setting all the env vars correctly to easily switch Rubies is chruby: https://github.com/postmodern/chruby#readme
wallerdev has joined #ruby-lang
brianpWins has joined #ruby-lang
mbj has quit [Quit: leaving]
momomomomo has joined #ruby-lang
simono_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ikrima has quit [Ping timeout: 265 seconds]
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 255 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
code1n has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
cnivolle has quit [Ping timeout: 246 seconds]
code1n has joined #ruby-lang
lcdhoffman has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
fragamus has joined #ruby-lang
robbyoconnor has quit [Excess Flood]
elia has joined #ruby-lang
robbyoconnor has joined #ruby-lang
diegoviola has joined #ruby-lang
cnivolle has joined #ruby-lang
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sepp2k1 has joined #ruby-lang
jsutt has joined #ruby-lang
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sepp2k has quit [Ping timeout: 265 seconds]
jonathanmarvens has joined #ruby-lang
nisstyre has joined #ruby-lang
johnny_rugger has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
loincloth has quit [Remote host closed the connection]
elia has quit [Ping timeout: 265 seconds]
toastynerd has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
loincloth has joined #ruby-lang
jsutt has quit [Remote host closed the connection]
yatish27 has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
jsutt has joined #ruby-lang
alexju has quit [Ping timeout: 240 seconds]
code1n_ has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
code1n has quit [Ping timeout: 264 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
melter has joined #ruby-lang
victorbjelkholm_ has quit [Quit: Leaving]
nertzy has joined #ruby-lang
rofel has quit [Quit: Leaving...]
inkblots has joined #ruby-lang
alexju has joined #ruby-lang
victorbjelkholm has quit [Ping timeout: 265 seconds]
Atw has joined #ruby-lang
michaeldeol has joined #ruby-lang
jds has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.3]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
|jemc| has joined #ruby-lang
|jemc| has quit [Client Quit]
|jemc| has joined #ruby-lang
lcdhoffman has joined #ruby-lang
hybrid_alex has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
hybrid_alex has left #ruby-lang [#ruby-lang]
cnivolle has joined #ruby-lang
ikrima has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
nertzy has quit [Quit: This computer has gone to sleep]
cnivolle has quit [Ping timeout: 246 seconds]
kirkh has joined #ruby-lang
<kirkh> Hello
<kirkh> Is anyone using ruby on windows? I need some help.
<Burgestrand> kirkh: I don’t, but the first step to getting help is elaborating on your problem.
<Burgestrand> kirkh: without a problem, you are unlikely to get a resolution.
jonathanmarvens has quit [Remote host closed the connection]
<kirkh> Right, the problem i have when trying to install a gem I get an error, ERROR: Could not find a valid gem 'sass' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect retur ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed ( https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)
<kirkh> and this happens to any gem
<Burgestrand> kirkh: it’s a certificate problem, and happens on other platforms too. Upgrading rubygems, or reinstalling ruby, tend to help in some cases.
michaeldeol has joined #ruby-lang
<kirkh> i just installed ruby....
ur5us has joined #ruby-lang
<kirkh> so what do you recommend
<kirkh> make sure it's a fresh install?
<Burgestrand> kirkh: I’d try upgrading rubygems, gem update --system I believe is the command
havenwood has quit []
<Burgestrand> kirkh: actually, you could also try using "http" instead of "https", which ought to help temporarily if you are looking for a quick (but dirty, and bad for security)
andrewvos has joined #ruby-lang
<andrewvos> yorickpeterse: #plesentdebate
andrewvos has left #ruby-lang ["WeeChat 0.4.0"]
jonathanmarvens has joined #ruby-lang
esad has joined #ruby-lang
<kirkh> how would i configure to make it work with http instead of gttps?
<kirkh> https*
<Burgestrand> kirkh: not sure, gaming atm so don’t have enough time to look :)
arBmind has quit [Quit: Leaving.]
<kirkh> Nice
<kirkh> I'm guessing TitanFall :P
<toretore> --clear-sources --source http://something.rubygems.org perhaps
<kirkh> ill give that a go
fragamus has quit [Quit: Computer has gone to sleep.]
mpgarate has joined #ruby-lang
ikrima has quit [Ping timeout: 265 seconds]
grayWolf has joined #ruby-lang
<kirkh> I found out my error
<kirkh> :)
<kirkh> had to reinstall Ruby
ur5us has quit [Remote host closed the connection]
<kirkh> first time i forgot to delete previous ruby folder
<mpgarate> I'm troubleshooting some slow code and am looking for a tool to help figure out what actions are taking the most time. Any suggestions would be greatly appreciated.
Speed has quit [Ping timeout: 240 seconds]
grayWolf is now known as Speed
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ledestin has quit [Quit: ledestin]
Squarepy has quit [Quit: Leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Burgestrand> mpgarate: perftools.rb
faces has joined #ruby-lang
<mpgarate> Burgestrand: Checking it out now. Thank you for your help.
LMity has joined #ruby-lang
Authenticator has joined #ruby-lang
kirkh has quit [Ping timeout: 245 seconds]
face has quit [Ping timeout: 240 seconds]
<toretore> also just -rprofile
esad has joined #ruby-lang
yfeldblum has quit [Ping timeout: 268 seconds]
mpgarate has quit [Ping timeout: 245 seconds]
Silicon|Don has joined #ruby-lang
Silicon|Don has quit [Remote host closed the connection]
yann_ck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
centrx has joined #ruby-lang
toastynerd has joined #ruby-lang
yfeldblum has joined #ruby-lang
vsorlov has joined #ruby-lang
fragamus has joined #ruby-lang
tharindu_ has joined #ruby-lang
tharindu has quit [Ping timeout: 268 seconds]
<spinny128> havenwood: Thanks again for the help. chruby don't quite work for my situtation, but a symbolic link does. I think I'm set. :)
<spinny128> Ya'all keep your hash rocket pointed the right way
spinny128 has quit [Quit: leaving]
rsl has joined #ruby-lang
hahuang61 has joined #ruby-lang
nisstyre has quit [Quit: bai]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
leandros1 has joined #ruby-lang
leandrosnunes has quit [Ping timeout: 252 seconds]
Coincidental has joined #ruby-lang
johnny_rugger has joined #ruby-lang
certainty is now known as certainty|vacati
tbuehlmann has quit [Remote host closed the connection]
rh1n0 has quit [Ping timeout: 264 seconds]
yalue has quit [Quit: Leaving]
robbyoconnor has quit [Read error: Operation timed out]
LMity has quit [Ping timeout: 255 seconds]
benanne has joined #ruby-lang
chichou has joined #ruby-lang
<Authenticator> Is there a .stop option for SimpleCov? It's recording coverage for a forked process and I'd like to turn it off in the sub-processes.
mistym is now known as mistym_lunch
ur5us has joined #ruby-lang
rsl has quit [Ping timeout: 255 seconds]
rsl has joined #ruby-lang
seanlinsley has quit [Ping timeout: 252 seconds]
Xzyx987X has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
Xzyx987X has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
rahul_j has quit [Ping timeout: 255 seconds]
rahul_j has joined #ruby-lang
seanlinsley has joined #ruby-lang
skammer has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
vsorlov has quit [Ping timeout: 264 seconds]
michaeldeol has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
tharindu_ has quit [Ping timeout: 255 seconds]
wallerdev has joined #ruby-lang
Sigloo has joined #ruby-lang
Burgestrand has quit [Quit: Burgestrand]
skammer has quit [Ping timeout: 265 seconds]
skammer has joined #ruby-lang
ikrima has joined #ruby-lang
agarie has quit [Ping timeout: 255 seconds]
Speed has quit [Ping timeout: 240 seconds]
futilegames has quit [Quit: futilegames]
inkblots has quit [Read error: Connection reset by peer]
Coincidental has quit [Remote host closed the connection]
<drbrain> Authenticator: I'm not seeing such a thing in Coverage which SimpleCov uses
code1n has joined #ruby-lang
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rahul_j has quit [Quit: rahul_j]
code1n_ has quit [Ping timeout: 255 seconds]
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has quit [Quit: zzzzz…..]
ikrima has quit [Ping timeout: 255 seconds]
guns has joined #ruby-lang
<Sigloo> Anyone know of a gem/have any good resources on how to convert the start and end times in an .ical file to the local timezone? I've examined emails from multiple mail clients and there appears to be very little standardization.
leandros1 has quit [Quit: WeeChat 0.4.3]
elia has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
iliketurtles has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
elliotec has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
viscera has joined #ruby-lang
scampbell has quit [Remote host closed the connection]
jsullivandigs has quit [Quit: Leaving...]
mistym_lunch is now known as mistym
jgpawletko has quit [Quit: jgpawletko]
elliotec has quit [Ping timeout: 264 seconds]
ledestin has joined #ruby-lang
_ht has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
chichou has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.2]
alexju has quit [Remote host closed the connection]
Sigloo has quit [Ping timeout: 245 seconds]
alexju has joined #ruby-lang
alexju has quit [Remote host closed the connection]
fowl has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
Lewix has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
Lewix has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
esad has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
LMity has joined #ruby-lang
Coincidental has joined #ruby-lang
havenwood has joined #ruby-lang
Speed has joined #ruby-lang
Olipro has quit [Ping timeout: 246 seconds]
goodgame has joined #ruby-lang
<goodgame> hi
<goodgame> a part from websites , what is interesting to do with ruby?
chichou has joined #ruby-lang
ikrima has joined #ruby-lang
tonni has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
<havenwood> goodgame: Dev ops, supercomputing, aerospace, data analysis, machine learning and anything else interesting to do in a general purpose programming language.
<fowl> you could try writing a game in it, but in the end the gc will make you choose a more sensible solution
LMity has quit [Ping timeout: 255 seconds]
code1n has quit [Ping timeout: 255 seconds]
toastynerd has quit [Remote host closed the connection]
<goodgame> i mean, for desktop apps we should prefare compiled languages right?
code1n has joined #ruby-lang
wallerdev has joined #ruby-lang
<havenwood> goodgame: admittedly Ruby doesn't have the best gui bindings
macmartine has joined #ruby-lang
<fowl> gtk is much nicer in ruby
marcosto_ has joined #ruby-lang
mehlah has joined #ruby-lang
marcosto_ has quit [Client Quit]
Olipro has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
nisstyre has joined #ruby-lang
toastynerd has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
jeer has quit []
cnivolle has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
cnivolle has quit [Client Quit]
iliketurtles has joined #ruby-lang
goodgame has quit [Remote host closed the connection]
MichD is now known as michd
skade has quit [Quit: Computer has gone to sleep.]
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
wallerdev has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
wallerdev has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
charliesome has joined #ruby-lang
bjh13 has quit [Quit: leaving]
jason__ has joined #ruby-lang
jonathanmarvens has quit [Ping timeout: 268 seconds]
brianpWins has quit [Quit: brianpWins]
workmad3 has quit [Ping timeout: 265 seconds]
jason__ has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
jason__ has joined #ruby-lang
pabs has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
jason__ has quit [Ping timeout: 255 seconds]
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
toastynerd has joined #ruby-lang
jason__ has joined #ruby-lang
nathanstitt has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
freqn has joined #ruby-lang
Insentience has joined #ruby-lang
code1n_ has joined #ruby-lang
brettweavnet has quit [Quit: Textual IRC Client: www.textualapp.com]
brianpWins has quit [Quit: brianpWins]
code1n has quit [Ping timeout: 255 seconds]
<Insentience> Why is it saying my class variable is uninitialized?
jhass is now known as jhass|off
<canton7> where does it say that?
<Insentience> insert
<canton7> and where did you instantiate TreeStuff? ;)
<Insentience> instantiate?
<Insentience> It's a module, i included it
<canton7> call TreeStuff.new
<canton7> so initialize gets run
<Insentience> sorry, new to ruby
<Insentience> Ohhh
<Insentience> that has to happen?
<canton7> well it aint gonna call itself
<Insentience> undefined method treestuff.new
<Insentience> Are you sure I need to call new on a module?
<canton7> are you sure want code in a module's initialize method
<Insentience> Yeah, probably
<canton7> (also, in ruby, it's 'to_s', not 'toString')
<canton7> and the answer to my last question is "no, since you can't instantiate modules
<Insentience> I know about 'to_s', I do no intend to use that function
<Insentience> Also can you not answer in riddles please? I'm new to ruby so I won't get the jokes you are making
<canton7> I'm trying to ask questions to make you think
<havenwood> Insentience: My advise would be to never ever use @@class_variables, just pretend they don't exist.
<canton7> there's that, as well
<Insentience> Ok, I won't use class variables. Should I just call it @top?
<canton7> much better
<canton7> but still, you need to assign a value to it somewhere
<canton7> where are you going to do that?
<Insentience> Which is what i'm doing in the module
<canton7> in a method which you *never call*
<Insentience> oh right, i'm redefining it
<Insentience> whoops
<canton7> the initialize method is called when you run 'SomeType.new'. the 'new' method calls the 'initialize' method
<Insentience> I see
<Insentience> alright, anotehr thing taht has boggled my mind
<Insentience> line 14
VTLob has quit [Quit: VTLob]
<Insentience> Nil::nilclass or something like that
<Insentience> I don't understand
<apeiros> >> nil.call_a_method_on_nil
<eval-in> apeiros => undefined method `call_a_method_on_nil' for nil:NilClass (NoMethodError) ... (https://eval.in/127858)
nisstyre has quit [Quit: WeeChat 0.4.3]
AncientAmateur has quit [Remote host closed the connection]
<apeiros> you tried to call a method on nil, and nil doesn't respond to that method you're calling.
cored has quit [Ping timeout: 240 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
<Insentience> Oh
<Insentience> Wait, I don't see how I'm doing that
<havenwood> Insentience: `@rootNode.treeItem` is the `nil` not `@rootNode` (and snake_case not headlessCamelCase)
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Insentience> How is treeItem nil?
<Insentience> It is initialized properly
<apeiros> Insentience: I can't read your mind.
<Insentience> Sorry, I'll post code
<havenwood> Insentience: maybe try a `p @rootNode` and `p @rootNode.treeItem` in the code and see which is `nil`.
<apeiros> havenwood: well, the exception names the method
<Insentience> I mean, I'm already testing if rootNode is nill
<apeiros> so it can easily be deducted which one is nil
<Insentience> nil
<apeiros> also that
<havenwood> well, yeah, i know which it is, i said
<Insentience> undefined method '<'
<Insentience> what
<Insentience> wait
<Insentience> I'm using the spaceship operator somewhere
<Insentience> does that mean anything
<havenwood> just trying to help lead him to the answer >.>
<apeiros> Insentience: "somewhere", "anything"
<apeiros> yes, it certainly means something
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
macmartine has quit [Remote host closed the connection]
dfr|raleigh has joined #ruby-lang
<havenwood> him/her*
<apeiros> sounds like your compareTo returned nil
<apeiros> and <=> generally returns nil if you try to compare incomparable values
<havenwood> aha
<apeiros> >> "hi" <=> 2
<eval-in> apeiros => nil (https://eval.in/127865)
<Insentience> >> "abc" <=> "bcd"
<eval-in> Insentience => -1 (https://eval.in/127866)
<apeiros> havenwood: ok. sorry.
<Insentience> Well they are strings
<Insentience> correction
<Insentience> They are not strings, but I want them to be strings
<Insentience> for example
* apeiros goes to bed
<Insentience> the object can be created with an int stored, but I want to compare them like strings
<havenwood> apeiros: naw, my socratic method was fail anyways cause looks like i guessed wrong anyways :O
<Insentience> >> "hi" <=> "2"
<eval-in> Insentience => 1 (https://eval.in/127868)
<Insentience> like that
<apeiros> havenwood: well, I usually try to lead people to the answer too. I guess I was just too tired.
<Insentience> do i have to 'cast' the int to a string when i call .new(int) ?
<apeiros> s/was/am/
<apeiros> Insentience: Integer#to_s
<apeiros> ruby doesn't have casting
<apeiros> but many objects know how to return a representation of a different class.
tectonic has joined #ruby-lang
michaeldeol has joined #ruby-lang
<apeiros> hm, that said, I guess the term 'casting' isn't defined strictly at all, so maybe one can even use that
<apeiros> anyway, off to bed now
seanlinsley has quit [Quit: …]
<havenwood> apeiros: g'night!
<Insentience> thank you fore the help apeiros
<apeiros> n8
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
brianpWins has joined #ruby-lang
willmarshall has joined #ruby-lang
|jemc| has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby-lang
dnajd has joined #ruby-lang
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dnajd> Using Daemon.call, but it's blocking. even though docs say "will return immediately after spawning the daemon"
<dnajd> I want to thread off a daemon and keep it running in the background.. detached from the terminal
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freqn has quit [Read error: Connection reset by peer]
freqn has joined #ruby-lang
code1n has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
code1n_ has quit [Ping timeout: 255 seconds]
<soahccc> dnajd: I have done a daemon once and used the daemonds gem which has Daemons.call, would that be a solution? http://daemons.rubyforge.org/
mame0 has quit [Remote host closed the connection]
dfr|raleigh has quit [Ping timeout: 240 seconds]
code1n_ has joined #ruby-lang
<drbrain> soahccc: Process.daemon (it's built-in now)
code1n has quit [Ping timeout: 265 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nertzy has joined #ruby-lang
<soahccc> cool, I should keep up with the changelog
slawrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Ping timeout: 255 seconds]
kitak has joined #ruby-lang
<drbrain> soahccc: ah, daemons gem does more than Process.daemon
<drbrain> confusing
havenwood has quit [Remote host closed the connection]
<soahccc> yeah I needed the wrapper stuff, it does more or less everything
linc01n has quit [Ping timeout: 252 seconds]
linc01n has joined #ruby-lang
<dnajd> soahcc: I am using Daemons.call (hoping it would create the pid and carry on), but it's blocking
nertzy has quit [Quit: Leaving]
guns has quit [Quit: guns]
simono has joined #ruby-lang
Cakey has joined #ruby-lang
stnly has quit [Ping timeout: 252 seconds]
jsutt has quit [Remote host closed the connection]
stnly has joined #ruby-lang
jsutt has joined #ruby-lang
jsutt has quit [Changing host]
jsutt has joined #ruby-lang
Reen has quit [Ping timeout: 252 seconds]
nathanstitt has quit [Quit: I growing sleepy]
jlpeters__ is now known as jlpeters
dstynchula has quit []
benlovell has joined #ruby-lang
Reen has joined #ruby-lang
victorbjelkholm has joined #ruby-lang