apeiros_ changed the topic of #ruby-lang to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
chadwtaylor has quit [Read error: Connection reset by peer]
DynamicMetaFlow has joined #ruby-lang
chadwtaylor has joined #ruby-lang
djbkd has joined #ruby-lang
lytol has joined #ruby-lang
arBmind has joined #ruby-lang
setanta_ has quit [Quit: Leaving]
meschi has quit [Quit: Leaving]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
wolves_cs has joined #ruby-lang
symm- has quit [Ping timeout: 252 seconds]
dorei has quit []
Mon_Ouie has joined #ruby-lang
symm- has joined #ruby-lang
nathanstitt has joined #ruby-lang
enebo has joined #ruby-lang
enebo has quit [Client Quit]
|jemc| has quit [Ping timeout: 265 seconds]
arooni-mobile has quit [Read error: Connection reset by peer]
lytol has quit [Remote host closed the connection]
nathanstitt has quit [Ping timeout: 256 seconds]
lytol has joined #ruby-lang
auzty has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
nathanstitt has joined #ruby-lang
rbowlby_ has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
lytol has quit [Remote host closed the connection]
rbowlby has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
rbowlby has quit [Ping timeout: 265 seconds]
tunaCanBruh has quit [Ping timeout: 265 seconds]
chadwtaylor has quit [Read error: Connection reset by peer]
chadwtaylor has joined #ruby-lang
symm- has quit [Ping timeout: 256 seconds]
symm- has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
oleo has quit [Ping timeout: 255 seconds]
matp has quit [Ping timeout: 240 seconds]
|jemc| has joined #ruby-lang
arooni-mobile has joined #ruby-lang
matp has joined #ruby-lang
symm- has quit [Ping timeout: 255 seconds]
marr has quit [Ping timeout: 256 seconds]
chadwtaylor has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
deol has joined #ruby-lang
tkuchiki has joined #ruby-lang
rbowlby has joined #ruby-lang
j0n3 has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
deol_ has joined #ruby-lang
deol has quit [Ping timeout: 245 seconds]
hendranata_ has joined #ruby-lang
dik_dak_ has joined #ruby-lang
dik_dak has quit [Ping timeout: 252 seconds]
deol_ has quit [Ping timeout: 255 seconds]
hahuang61 has quit [Quit: WeeChat 1.1.1]
hahuang61 has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dik_dak_ has quit [Quit: Textual IRC Client: www.textualapp.com]
sideshowcoder has quit [Ping timeout: 246 seconds]
shinnya has quit [Ping timeout: 265 seconds]
wolves_cs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arBmind has quit [Quit: Leaving.]
yfeldblum has joined #ruby-lang
Miphix has joined #ruby-lang
spuk has quit [Ping timeout: 245 seconds]
sideshowcoder has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
houhoulis has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 265 seconds]
amsi has quit [Quit: Leaving]
sideshowcoder has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby-lang
WhiskeyWinter has joined #ruby-lang
mcclurmc_ has quit [Remote host closed the connection]
taylorrf_ has quit [Remote host closed the connection]
mcclurmc has joined #ruby-lang
lele has quit [Ping timeout: 252 seconds]
taylorrf has joined #ruby-lang
deol has joined #ruby-lang
Antivan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deol has quit [Client Quit]
bzalasky has joined #ruby-lang
lsegal has joined #ruby-lang
duderonomy has quit [Read error: Connection reset by peer]
ender|dkm has joined #ruby-lang
eam has quit [Ping timeout: 246 seconds]
ghostpl_ has quit [Remote host closed the connection]
fuhgeddaboudit has joined #ruby-lang
wallerdev has joined #ruby-lang
duderonomy has joined #ruby-lang
shazaum has quit [Quit: Leaving]
eam has joined #ruby-lang
Antivan has joined #ruby-lang
dziemid has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
j4cknewt has quit [Remote host closed the connection]
taylorrf has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
amclain has joined #ruby-lang
dziemid has joined #ruby-lang
hahuang61 has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
ledestin has joined #ruby-lang
<DynamicMetaFlow> Does anyone recommend any books regarding programming and Philosophy?
ascarter has joined #ruby-lang
<DynamicMetaFlow> Right now I'm reading a PDF called "An Aristotelian Understanding of Object-Oriented Programming" and liking it so far
<ledestin> DynamicMetaFlow: Confident Ruby
<ledestin> but it’s not about philosophy
<jdecuirm> Good night guys!
<DynamicMetaFlow> Thanks I'll check it out!
<DynamicMetaFlow> Buenas noches!
<jdecuirm> buenas noches jajaja
<jdecuirm> In order to test a function returning an object from a custom class, do i have to override a method or something?
<jdecuirm> because, the string result is the same, but, of course not the object!
<jdecuirm> so, i guess is that the failure i'm getting
<jdecuirm> this is the mistake
<jdecuirm> sorry this is the failure lol
<jdecuirm> <#<Sentence:0x0000000192ad00 @obj="sandwich", @subject="jorge", @verb="eats">> expected but was
<jdecuirm> <#<Sentence:0x0000000192ac38 @obj="a", @subject="o", @verb="a">>
<jdecuirm> and, this is the assertion
<jdecuirm> assert_equal(parse_sentence([['noun','jorge'],['verb','eats'],['stop','a'],['noun','sandwich']]),Sentence.new('jorge','eats','sandwich'))
roamingdog has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bzalasky has quit [Remote host closed the connection]
<jdecuirm> is == function used in assert_equal unit tests?
<apeiros_> yes
|jemc| has quit [Quit: WeeChat 1.0.1]
oleo has joined #ruby-lang
<jdecuirm> thanks apeiros
ruby-lang696 has joined #ruby-lang
<ruby-lang696> looking for some paired programming
<jdecuirm> in order to override == do i have to re open a class? sorry for asking!
matrisking has joined #ruby-lang
saramic has quit [Remote host closed the connection]
dziemid has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
<jhass> jdecuirm: override for what?
<jdecuirm> i'm doing unit testing
<DynamicMetaFlow> Hi jhass
spuk has joined #ruby-lang
<jdecuirm> a function returns an object from a class
<jdecuirm> with three attributes
<jdecuirm> i need that assert_equal pass with two objects from a custom class
<jdecuirm> jhass :P
dziemid_ has joined #ruby-lang
<jhass> jdecuirm: implement == in your class then
<jhass> do it in the general code, not just for the test
<jdecuirm> yeah i did it, but erm, still no luck lol
<jdecuirm> i did it at the class being tested
<jhass> minitest?
<ledestin> ruby-lang696: did you see my pm
<jdecuirm> i'm using unit test is that minitest? lol
<jhass> dunno, I lost track, let
<jhass> 's assume so
<jdecuirm> lol
<jdecuirm> it's funny because it's like
<jhass> jdecuirm: gist your class (or at least the ==)
<jdecuirm> ok jhass thanks
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> and maybe add your test
havenwood has joined #ruby-lang
<jdecuirm> this is the gist jhass
<ruby-lang696> ledestin: no i didn't
duderonomy has joined #ruby-lang
duderonomy has quit [Client Quit]
matrisking has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Remote host closed the connection]
iamninja has joined #ruby-lang
<jhass> jdecuirm: more a style thing but you should return false from it, so just drop the if around it, the condition itself will already return true/false
<jhass> maybe your parser just doesn't work? :P
<jdecuirm> lol
<apeiros_> jdecuirm: I'm not quite sure why you think <#<Sentence:0x0000000192ad00 @obj="sandwich", @subject="jorge", @verb="eats">> and <#<Sentence:0x0000000192ac38 @obj="a", @subject="o", @verb="a">> should be equal
<jdecuirm> it parses i swear
<apeiros_> jdecuirm: they seem to be different in every regard
<jdecuirm> the result is the expected if i run the parser
<jdecuirm> this is the result
<jdecuirm> #<Sentence:0x000000018369d0 @subject="jorge", @verb="eats", @obj="sandwich">
<jdecuirm> running the parser
<jdecuirm> i don't know why it's a o a result
<apeiros_> I think you're messing up arg order of assert_equal
<apeiros_> it's assert_equal *expected*, *actual*
<jhass> ah, I see it
j4cknewt has joined #ruby-lang
<jhass> Sentence.new('jorge','eats','sandwich')
<jdecuirm> i hate life
<jhass> and then you do @subject = subject[1]
<jdecuirm> thanks guys
<jdecuirm> ooooooh right
<jdecuirm> i'm just getting the second letter
<jdecuirm> damn
<apeiros_> you tried to fix the test case when your code was wrong :-p
<jdecuirm> in fact the test case is the wrong one!
<jdecuirm> it should go like ['noun','jorge']
<jhass> dunno, I'd extract the [1] into parse_sentence
<jdecuirm> lol, thanks a lot
<apeiros_> same as jhass
<apeiros_> you don't do anything with the 'noun' part in Sentence. makes no sense to pass it in.
<apeiros_> at least not in .new.
<jdecuirm> now it's running
<jdecuirm> thanks guys!!
<apeiros_> if constructing from tuples is a common case, make a normalizing constructor. don't use new for that.
<jdecuirm> normalizing constructor... that is a new concept for me
<jdecuirm> could you give me an example? sorry!
<apeiros_> def self.from_tuples(*your_tuples); new(extract_subject(your_tuples), extract_verb(your_tuples, …
<apeiros_> probably what your parse_sentence does. might make more sense to have that as a class method.
<apeiros_> especially if it returns a Sentence.
* apeiros_ off for the second round of sleep
apeiros_ has quit [Remote host closed the connection]
<jdecuirm> thanks apeiros will check that out!
<jdecuirm> nites!
apeiros_ has joined #ruby-lang
djbkd has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mcclurmc has quit [Remote host closed the connection]
<jdecuirm> is assert_raise similar to assert_equal?
<jdecuirm> meaning the structure
ruby-lang696 has quit [Quit: Page closed]
riotjones has joined #ruby-lang
yfeldblum has joined #ruby-lang
jhass has quit [Quit: Bye]
jhass has joined #ruby-lang
postmodern has joined #ruby-lang
riotjones has quit [Ping timeout: 245 seconds]
DynamicMetaFlow has quit [Ping timeout: 265 seconds]
dziemid_ has quit []
dellavg_ has joined #ruby-lang
kyb3r_ has joined #ruby-lang
<jdecuirm> something more beginner oriented jhass lol
slawrence00 has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
ascarter has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 255 seconds]
fuhgeddaboudit has quit [Ping timeout: 246 seconds]
dellavg_ has quit [Ping timeout: 264 seconds]
nathanstitt has quit [Quit: I growing sleepy]
ur5us has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
AKASkip has joined #ruby-lang
gix has quit [Ping timeout: 255 seconds]
wolves_cs has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gix has joined #ruby-lang
spuk has quit [Ping timeout: 252 seconds]
roamingdog has quit [Read error: No route to host]
ascarter has joined #ruby-lang
roamingdog has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
charliesome has quit [Quit: zzz]
postmodern has quit [Quit: Leaving]
duderonomy has joined #ruby-lang
charliesome has joined #ruby-lang
hahuang65_ has joined #ruby-lang
sideshowcoder has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
ghostpl_ has quit [Ping timeout: 250 seconds]
houhoulis has joined #ruby-lang
auzty has quit [Ping timeout: 245 seconds]
ledestin has quit [Quit: ledestin]
roamingdog has joined #ruby-lang
wolves_cs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
auzty has joined #ruby-lang
riotjones has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
Thecrazylumberja has quit [Quit: Leaving]
Thecrazylumberja has joined #ruby-lang
yfeldblum has joined #ruby-lang
riotjones has quit [Ping timeout: 264 seconds]
mnilsson has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
charliesome has quit [Quit: zzz]
mnilsson_ has joined #ruby-lang
mnilsson has quit [Read error: Connection reset by peer]
Averna has quit [Quit: Leaving.]
ender|dkm has quit [Ping timeout: 255 seconds]
AKASkip has quit [Ping timeout: 265 seconds]
webhat has quit [Ping timeout: 256 seconds]
kr3ssh has joined #ruby-lang
sideshowcoder has quit [Ping timeout: 246 seconds]
skade has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
cryo28 has joined #ruby-lang
kr3ssh has quit [Ping timeout: 250 seconds]
webhat has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
djellemah has joined #ruby-lang
riotjones has joined #ruby-lang
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
|jemc| has joined #ruby-lang
riffraff has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 250 seconds]
sideshowcoder has joined #ruby-lang
enkristoffer has joined #ruby-lang
TTilus has quit [Quit: leaving]
|jemc| has quit [Ping timeout: 256 seconds]
enkristoffer has quit [Ping timeout: 246 seconds]
AKASkip has joined #ruby-lang
sideshowcoder has quit [Ping timeout: 246 seconds]
Antivan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
kr3ssh has joined #ruby-lang
hhatch has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
yfeldblu_ has quit [Ping timeout: 250 seconds]
allomov has joined #ruby-lang
wallerdev has joined #ruby-lang
vondruch has joined #ruby-lang
cryo28 has quit [Ping timeout: 255 seconds]
cryo28 has joined #ruby-lang
mnilsson_ has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mnilsson has joined #ruby-lang
strixd has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
cryo28 has quit [Quit: leaving]
cryo28 has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
hahuang65_ has quit [Quit: Connection closed for inactivity]
mnilsson has quit [Ping timeout: 244 seconds]
futilegames has quit [Ping timeout: 245 seconds]
futilegames has joined #ruby-lang
AlexAltea has quit [Ping timeout: 252 seconds]
elia has joined #ruby-lang
ledestin has joined #ruby-lang
j4cknewt has joined #ruby-lang
mnilsson has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
ghostpl_ has joined #ruby-lang
Iskarlar has joined #ruby-lang
marr has joined #ruby-lang
allomov has quit [Remote host closed the connection]
allomov has joined #ruby-lang
skade has joined #ruby-lang
<yorickpeterse> morning
TTilus has joined #ruby-lang
prabeshshrestha has joined #ruby-lang
mnilsson has quit [Ping timeout: 255 seconds]
mnilsson has joined #ruby-lang
mikecmpbll has joined #ruby-lang
rbowlby_ has joined #ruby-lang
nathanstitt has quit [Ping timeout: 245 seconds]
rbowlby__ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
chouhoulis has joined #ruby-lang
nathanstitt has joined #ruby-lang
rbowlby has quit [Ping timeout: 255 seconds]
rbowlby_ has quit [Ping timeout: 265 seconds]
allomov has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 244 seconds]
riffraff has quit [Quit: Leaving]
arBmind has joined #ruby-lang
yfeldblum has joined #ruby-lang
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 256 seconds]
rbowlby__ has quit []
Thylacinelol has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
hendranata_ has quit [Ping timeout: 252 seconds]
lapide_viridi has joined #ruby-lang
allomov has joined #ruby-lang
arBmind1 has joined #ruby-lang
kr3ssh has quit [Ping timeout: 252 seconds]
arBmind has quit [Ping timeout: 250 seconds]
AKASkip1 has joined #ruby-lang
kr3ssh has joined #ruby-lang
AKASkip has quit [Ping timeout: 246 seconds]
kyb3r_ has quit [Quit: Leaving]
intinig has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
mnilsson has quit [Ping timeout: 264 seconds]
intinig has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 252 seconds]
intinig has joined #ruby-lang
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
ottlikg has joined #ruby-lang
Antivan has joined #ruby-lang
auzty has quit [Quit: Leaving]
mnilsson has joined #ruby-lang
ldnunes has joined #ruby-lang
cryo28 has quit [Quit: leaving]
sarkyniin has joined #ruby-lang
WhiskeyWinter has quit [Quit: Nettalk6 - www.ntalk.de]
Xzanron has joined #ruby-lang
Xzanron has quit [Read error: Connection reset by peer]
lele has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
skarn has quit [Ping timeout: 250 seconds]
prabeshshrestha has quit [Remote host closed the connection]
skarn has joined #ruby-lang
maso has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 264 seconds]
skade has joined #ruby-lang
skade has quit [Remote host closed the connection]
skade has joined #ruby-lang
shennyg_ has joined #ruby-lang
lacrosse___ has joined #ruby-lang
adambeynon_ has joined #ruby-lang
daguar_ has joined #ruby-lang
pskosinski_ has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
Miphix has quit [Quit: Leaving]
djellemah_ has joined #ruby-lang
adambeynon has quit [*.net *.split]
lacrosse__ has quit [*.net *.split]
daguar has quit [*.net *.split]
shennyg has quit [*.net *.split]
pskosinski has quit [*.net *.split]
adambeynon_ is now known as adambeynon
daguar_ is now known as daguar
pskosinski_ is now known as pskosinski
lacrosse___ is now known as lacrosse__
shennyg_ is now known as shennyg
djellemah has quit [Ping timeout: 250 seconds]
ddd has quit [Ping timeout: 246 seconds]
intinig has quit [Remote host closed the connection]
Miphix has joined #ruby-lang
intinig has joined #ruby-lang
ddd has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
meschi has joined #ruby-lang
AKASkip1 has quit [Ping timeout: 252 seconds]
sankaber has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 256 seconds]
intinig has quit [Ping timeout: 246 seconds]
Obfuscate has quit [Ping timeout: 245 seconds]
mnilsson has quit [Ping timeout: 252 seconds]
Obfuscate has joined #ruby-lang
jxie has joined #ruby-lang
havenwood has joined #ruby-lang
jxie is now known as Guest86360
Guest86360 has quit [Client Quit]
mnilsson has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
strixd has quit [Quit: 500]
aadam21 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
aadam21 has quit [Client Quit]
iamninja has joined #ruby-lang
jxie_ has joined #ruby-lang
vondruch has quit [Quit: Ex-Chat]
vondruch has joined #ruby-lang
aadam21 has joined #ruby-lang
jds has joined #ruby-lang
aadam21 has left #ruby-lang [#ruby-lang]
rippa has joined #ruby-lang
shinnya has joined #ruby-lang
cryo28 has joined #ruby-lang
ruskie has quit [Excess Flood]
skade has joined #ruby-lang
intinig has joined #ruby-lang
strixd has joined #ruby-lang
ledestin has quit [Quit: ledestin]
yfeldblu_ has quit [Remote host closed the connection]
ruskie has joined #ruby-lang
wallerdev has joined #ruby-lang
mnilsson_ has joined #ruby-lang
mnilsson has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
stef204 has joined #ruby-lang
taylorrf has joined #ruby-lang
centrx has joined #ruby-lang
cryo28 has quit [Quit: leaving]
wallerdev has quit [Quit: wallerdev]
<yorickpeterse> :O I got this one Rails 3.2 app to boot on Rails 4
<yorickpeterse> (after changing a dozen things)
<yorickpeterse> probably all the tests fail though
roamingdog has joined #ruby-lang
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sarkyniin has quit [Ping timeout: 245 seconds]
mnilsson_ has quit [Ping timeout: 240 seconds]
wolves_cs has joined #ruby-lang
terpo has joined #ruby-lang
pepperbreath has quit [Quit: Leaving.]
deryl has joined #ruby-lang
yfeldblum has joined #ruby-lang
havenwood has quit []
ddd has quit [Ping timeout: 244 seconds]
deryl is now known as ddd
yfeldblum has quit [Ping timeout: 250 seconds]
malconis has joined #ruby-lang
sgambino has joined #ruby-lang
havenwood has joined #ruby-lang
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
kr3ssh has quit [Ping timeout: 246 seconds]
mnilsson has joined #ruby-lang
kr3ssh has joined #ruby-lang
havenwood has quit []
robbyoconnor has quit [Quit: Konversation terminated!]
poikon has quit [Ping timeout: 265 seconds]
<banister> yorickpeterse nice, make that the cat wise!
robbyoconnor has joined #ruby-lang
<[spoiler]> Hiya folk
JohnBat26 has joined #ruby-lang
chouhoulis has joined #ruby-lang
bb010g has quit [Ping timeout: 252 seconds]
apeiros_ has quit [Remote host closed the connection]
avdi has quit [Ping timeout: 256 seconds]
dRbiG has quit [Ping timeout: 264 seconds]
matrisking has joined #ruby-lang
sarkyniin has joined #ruby-lang
dRbiG has joined #ruby-lang
fujimura has joined #ruby-lang
hobbes has joined #ruby-lang
<hobbes> Hello
fusillicode has quit [Ping timeout: 250 seconds]
poikon has joined #ruby-lang
fusillicode has joined #ruby-lang
arooni-mobile has joined #ruby-lang
mnilsson has quit [Ping timeout: 250 seconds]
intinig has quit [Remote host closed the connection]
avdi has joined #ruby-lang
bb010g has joined #ruby-lang
intinig has joined #ruby-lang
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
Voker57 has quit [Remote host closed the connection]
<hobbes> Anyone here?
b_hoffman has joined #ruby-lang
<centrx> no
<hobbes> awesome
<hobbes> at least i know now
<hobbes> lol
<canton7> 323 of us
<centrx> There is also #ruby and #rubyonrails
<centrx> No one is there either
<DefV> none of is are here
<hobbes> hahaha
<canton7> but we tend to respond best to questions
<hobbes> finally
<hobbes> lol
<hobbes> that makes sense
<hobbes> i've searched google for this but couldn't get an answer for a noob like me.
havenwood has joined #ruby-lang
<hobbes> can i use the .include? method to search for uppercase and lowercase letters in a string?
<hobbes> user_input.include? "s" searches the user_input string for lowercase s's
nathanstitt has quit [Quit: I growing sleepy]
<centrx> Hobbes, include? is case-sensitive
<hobbes> ohhh
<hobbes> that would explain a lot of things
<hobbes> some of the answers are google were using more "advanced" methods
<centrx> Everything in programming is case-sensitive unless it's not
<canton7> or PHP
<canton7> or HFS+
<hobbes> i'm doing codeacademy's ruby track and i was trying to edit the code for one of the problems
solars has joined #ruby-lang
<hobbes> to search for both.
<hobbes> thanks
Deckon has joined #ruby-lang
<hobbes> thank you for your asssistance
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<centrx> We were never here
<centrx> You did it all yourself
<Deckon> hello
<Deckon> someone has done and a.i. in ruby?
<Deckon> or and expert system or finite automaton?
<Deckon> j/ #ruby
kr3ssh has quit [Ping timeout: 252 seconds]
mcclurmc has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
Donovan has joined #ruby-lang
Fooster has joined #ruby-lang
jxie_ is now known as jxie
kr3ssh has joined #ruby-lang
Deckon has quit [Quit: Leaving]
b_hoffman has quit [Quit: b_hoffman]
Antivan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ldnunes has quit [Ping timeout: 244 seconds]
tcopeland has quit [Quit: Leaving.]
tunaCanBruh has joined #ruby-lang
arBmind1 has quit [Ping timeout: 252 seconds]
oleo is now known as Guest1639
oleo__ has joined #ruby-lang
b_hoffman has joined #ruby-lang
arBmind has joined #ruby-lang
taylorrf has quit [Remote host closed the connection]
riotjones has quit [Remote host closed the connection]
Guest1639 has quit [Ping timeout: 255 seconds]
taylorrf has joined #ruby-lang
setanta_ has joined #ruby-lang
hobbes has quit [Quit: Page closed]
havenwood is now known as evil-in
solars has quit [Ping timeout: 246 seconds]
sighminvd has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
oleo__ has quit [Quit: Verlassend]
evil-in is now known as havenwood
whippythellama has joined #ruby-lang
arBmind has quit [Ping timeout: 252 seconds]
symm- has joined #ruby-lang
oleo__ has joined #ruby-lang
oleo__ is now known as oleo
GBrawl has joined #ruby-lang
aadam21 has joined #ruby-lang
sighminvd has quit [Quit: Page closed]
arBmind has joined #ruby-lang
chadwtaylor has joined #ruby-lang
kr3ssh has quit [Ping timeout: 252 seconds]
GBrawl has quit [Quit: (null)]
kr3ssh has joined #ruby-lang
j4cknewt has joined #ruby-lang
nathanstitt has joined #ruby-lang
iamninja has joined #ruby-lang
solars has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
jxie has quit [Ping timeout: 255 seconds]
jxie has joined #ruby-lang
kr3ssh has quit [Ping timeout: 264 seconds]
skyrocker has quit [Read error: Connection reset by peer]
allomov has quit [Remote host closed the connection]
allomov has joined #ruby-lang
kapil___ has quit [Quit: Connection closed for inactivity]
terpo has quit []
aadam21 has quit []
allomov has quit [Ping timeout: 246 seconds]
aadam21 has joined #ruby-lang
avdi has quit [Remote host closed the connection]
manveru has quit [Remote host closed the connection]
bb010g has quit [Remote host closed the connection]
adambeynon has quit [Remote host closed the connection]
poikon has quit [Remote host closed the connection]
chrisseaton has quit [Remote host closed the connection]
bryancp has quit [Remote host closed the connection]
ritek has quit [Remote host closed the connection]
arooni-mobile has quit [Ping timeout: 246 seconds]
ottlikg has quit [Ping timeout: 256 seconds]
kr3ssh has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
aadam21 has left #ruby-lang [#ruby-lang]
djbkd has joined #ruby-lang
aadam21 has joined #ruby-lang
slawrence00 has joined #ruby-lang
Miphix has quit [Quit: Leaving]
riotjones has joined #ruby-lang
avdi has joined #ruby-lang
allomov has joined #ruby-lang
bruno- has joined #ruby-lang
adambeynon has joined #ruby-lang
riotjones has quit [Ping timeout: 244 seconds]
jkad1 has joined #ruby-lang
Thylacinelol has quit [Quit: Lost terminal]
solars has quit [Ping timeout: 246 seconds]
bb010g has joined #ruby-lang
AlexAltea has joined #ruby-lang
ritek has joined #ruby-lang
bryancp has joined #ruby-lang
jkad1 has quit [Quit: leaving]
manveru has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
hhatch_ has joined #ruby-lang
hhatch has quit [Ping timeout: 244 seconds]
chrisseaton has joined #ruby-lang
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
chouhoulis has joined #ruby-lang
arooni-mobile has joined #ruby-lang
symm- has quit [Ping timeout: 245 seconds]
enebo has joined #ruby-lang
poikon has joined #ruby-lang
chinmay_dd has joined #ruby-lang
intinig has quit [Ping timeout: 255 seconds]
micmus has joined #ruby-lang
skyrocker has joined #ruby-lang
futilegames has quit [Quit: futilegames]
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby-lang
Asher is now known as Guest39055
intinig has joined #ruby-lang
Guest39055 has quit [Client Quit]
__butch__ has joined #ruby-lang
eta8 has joined #ruby-lang
<eta8> I can't remember how I got a filename from Tk.getOpenFile yesterday. I had a TkVariable but I can remember how I assigned to the value of the filename to it.
DynamicMetaFlow has joined #ruby-lang
<eta8> it's driving me nuts because i did it yesterday afternoon and now im trying to remember it while working on a script at work.
wolves_cs has quit [Ping timeout: 246 seconds]
<eta8> welp, i figured it out
ascarter has joined #ruby-lang
<eta8> I needed to assign it to Tk.getOpenFile inside my Proc
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
Deckon has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 264 seconds]
nathanstitt has quit [Quit: I growing sleepy]
strixd has quit [Quit: 500]
arooni-mobile has quit [Ping timeout: 245 seconds]
momomomomo has joined #ruby-lang
eta8 has quit [Quit: leaving]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
b_hoffman has quit [Quit: b_hoffman]
kr3ssh has quit [Ping timeout: 240 seconds]
|jemc| has joined #ruby-lang
amsi has joined #ruby-lang
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fujimura has quit [Read error: Connection reset by peer]
fujimura has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duderonomy has quit [Ping timeout: 255 seconds]
tunaCanBruh has quit [Read error: Connection reset by peer]
lapide_viridi has quit [Quit: Leaving]
skade has joined #ruby-lang
wallerdev has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
tunaCanBruh has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
djbkd has quit [Remote host closed the connection]
momomomomo_ has joined #ruby-lang
momomomomo has quit [Ping timeout: 265 seconds]
momomomomo_ is now known as momomomomo
ascarter has joined #ruby-lang
ascarter has quit [Read error: Connection reset by peer]
ghostpl_ has quit [Remote host closed the connection]
mnilsson has joined #ruby-lang
theta88 has joined #ruby-lang
Fooster has quit [Ping timeout: 256 seconds]
mnilsson has quit [Ping timeout: 264 seconds]
momomomomo has quit [Ping timeout: 255 seconds]
rkowalick has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
momomomomo has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
Fooster has joined #ruby-lang
fujimura has quit [Ping timeout: 246 seconds]
futilegames has joined #ruby-lang
theta88 has quit [Quit: leaving]
b_hoffman has joined #ruby-lang
Asher has joined #ruby-lang
enebo has quit [Quit: enebo]
riotjones has joined #ruby-lang
dorei has joined #ruby-lang
mikecmpbll has joined #ruby-lang
riotjones has quit [Ping timeout: 240 seconds]
Fooster has quit [Ping timeout: 250 seconds]
tunaCanBruh has quit [Ping timeout: 255 seconds]
Deckon has quit [Quit: Leaving]
wallerdev has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
roamingdog has joined #ruby-lang
roamingdog has quit [Ping timeout: 245 seconds]
gix has quit [Ping timeout: 245 seconds]
nathanstitt has joined #ruby-lang
ldnunes has joined #ruby-lang
intinig has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
gix has joined #ruby-lang
hahuang61 has quit [Ping timeout: 252 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
ender|dkm has joined #ruby-lang
AKASkip has joined #ruby-lang
apt-get_ has joined #ruby-lang
lytol has joined #ruby-lang
Fooster has joined #ruby-lang
sarkyniin has quit [Ping timeout: 246 seconds]
chadwtaylor has quit [Remote host closed the connection]
hahuang61 has joined #ruby-lang
hahuang61 has quit [Client Quit]
hahuang61 has joined #ruby-lang
Iskarlar has joined #ruby-lang
duderonomy has joined #ruby-lang
Iskarlar_ has joined #ruby-lang
enebo has joined #ruby-lang
Iskarlar has quit [Ping timeout: 264 seconds]
tunaCanBruh has joined #ruby-lang
Iskarlar has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
Iskarlar_ has quit [Ping timeout: 264 seconds]
solars has joined #ruby-lang
workmad3 has joined #ruby-lang
enebo has quit [Quit: enebo]
roamingdog has joined #ruby-lang
aadam21 has quit [Remote host closed the connection]
stamina has joined #ruby-lang
djellemah_ has quit [Quit: Leaving]
rushed has joined #ruby-lang
futilegames has quit [Quit: futilegames]
yfeldblum has joined #ruby-lang
aadam21 has joined #ruby-lang
enders has joined #ruby-lang
Iskarlar_ has joined #ruby-lang
<enders> Hi! I'm currently trying to move some ruby code into a C extension for performance, and I have some questions... is this a proper place to ask? Thanks!
fujimura has joined #ruby-lang
<|jemc|> enders: sure, you can ask here, although depending on what you're doing, you might want to try ruby-ffi instead of a C ext
Iskarla__ has joined #ruby-lang
<|jemc|> you'll have an easier time with implementations other than MRI (like Rubinius and JRuby), and you may have a cleaner solution
yfeldblum has quit [Ping timeout: 252 seconds]
<rkowalick> I should read up on ruby-ffi
<rkowalick> lol
Iskarlar has quit [Ping timeout: 256 seconds]
<enders> I see. Rubinius and JRuby are certainly an option, but the last time I tried rbx, I ended up pulling my hair getting our Rails app to run. I will give it another try someday.
<Senjai> ffi ftw
<|jemc|> enders: you're free to do whatever you like, and there are many viable C exts, but I just wanted to give you a taste of some of the tradeoffs
Iskarlar_ has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby-lang
Iskarlar has joined #ruby-lang
<enders> I am currently trying to figure out what's the expected approach to share data between C land and Ruby land. For instance, I have an array of structs I want to work with in C-land, am I supposed to keep calling rb_ary_entry to access elements of the array, and then rb_funcall to access values in the structs?
Iskarla__ has quit [Ping timeout: 256 seconds]
<enders> My gut feeling is that this way, I won't get much of the performance improvements I'm looking for, because I assume MRI is already doing that when running my ruby code.
Fooster has quit [Remote host closed the connection]
<|jemc|> enders: if you're trying to develop a strategy to increase performance, can you talk a little about your problem space and how you're trying to solve it?
<|jemc|> also, if you haven't already, be sure to profile your code to start identifying the bottlenecks
<enders> Sure, I'm working with direct graphs and in this specific instance, I'm focusing on the part of the code that is looking for cycles. I have ended up implementing one of the optimal algorithm for this, Tarjan's strongly connected component detection, and there isn't much I can do to improve the code, it's not slow per say, it's just one of the slow part of the overall app.
Iskarlar_ has joined #ruby-lang
<Senjai> enders: We've done some things that dont even involve an extension. We've actually just compiled a seperate program that ruby shells out to with arguments for certain computationally intensive tasks
<Senjai> That may or may not help you
<Senjai> enders: Also, code would help :P
Iskarlar has quit [Ping timeout: 245 seconds]
micmus has quit [Ping timeout: 245 seconds]
<enders> https://gist.github.com/Enders/2409cc6164a3f69c4478, this can give you an idea of the code I'm trying to convert to C, of course, it's a bit lacking in context, 'checkpoints' is a method that return the array of checkpoint (AR classes here, Struct in the gem I'm extracting), children/parents returns simple arrays of the same instances of checkpoints, I assume the rest is pretty straightforward
kr3ssh has joined #ruby-lang
kyb3r_ has joined #ruby-lang
Sirupsen has joined #ruby-lang
solars has quit [Ping timeout: 256 seconds]
momomomomo has joined #ruby-lang
<weaksauce> enders how big is the graph?
<weaksauce> or a typical one
<enders> ~50 nodes, nodes have usually 2-3 children
bruno- has quit [Ping timeout: 245 seconds]
<weaksauce> how many times is this called?
<Senjai> enders: You're doing somethings twice
<weaksauce> can you cache the results of it or is it happening many times and changing quickly?
<Senjai> check_for_cycles os O(2) when it can be O(1)
<weaksauce> Senjai you don't want to check until all the nodes are reset and O(2) is still O(1)
<enders> Hmm, it can be called thousands of times per second or a single time a day depending on the webserver activity, we have many customers and they have a very distateful habit to use our API to update their workflows in very silly ways :) (Users, lol, amirite)
kr3ssh has quit [Ping timeout: 256 seconds]
<weaksauce> ah I see.
<Senjai> weaksauce: Bleh, right. I cant type today for some reason
<Senjai> enders: thousands? Ruby is not the ideal solution here.
<enders> I agree, but I have been looking around for free money to rewrite the codebase and our kickstarter has failed for some reason ;)
b_hoffman has joined #ruby-lang
<enders> More seriously, this is why I'm looking at a C extension
<enders> Because this algorithm is just one of the 3 that are currently killing our performances for what is otherwise a simple "project management webapp" like many others
<enders> The other one is in similar vein, calculating critical path in the graph, and the last one is a beast that calculates dates based on the constraints defined in the graph
<hagabaka> why do you need to use this so often?
<weaksauce> interesting. what's the use case for strongly connected components in a project management app?
<Senjai> enders: Eww, kickstarters
<enders> Senjai, it was a joke, sorry if it wasn't clear :)
<Senjai> enders: xD
ledestin has joined #ruby-lang
<Senjai> havenwood hahahahaa, to the rescue
kr3ssh has joined #ruby-lang
<enders> Cool! Thank you for that. I'll have to check the performance because it's not necessarily better, in the sense that 1) I need to convert to an adequate structure for TSort, 2) This calculates the SCC, we actually don't need that, we need to find the first SCC that contains more than one node (itself), which indicates a loop, so there is some wasted calculation
<weaksauce> written in ruby though by the looks of it
<enders> But if it's well implemented, it can probably outperform our potato version
<enders> Unfortunately, that won't help me much because I still need to improve the perf on the main algorithm, and unless there is also a GANTT with backward constraints (X must happen Z days before Y) in the stdlib, I'm back to square 1 :(
toretore has joined #ruby-lang
<enders> (on a sidenote, I haven't been on IRC in like 10 years, this is so much fun :))
tvon has joined #ruby-lang
<weaksauce> on another side note... first time I have seen big oh notation in the ruby channels in a long time
roamingdog has quit [Remote host closed the connection]
<rkowalick> This is an awesome discussion
<Senjai> weaksauce: We dont normally care about performance
<rkowalick> I've just been listening
<Senjai> THIS IS RUBY
<weaksauce> ^
lytol has quit [Remote host closed the connection]
<enders> Do you usually see direct performance improvements translation ruby code to "ruby.h" based C code?
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<enders> That would settle the debate if that's not the case :)
<pipework> enders: Only if the c code performs better.
<Senjai> C is many many times faster. but you can write C code that is shitty so..
wolves_cs has joined #ruby-lang
<hagabaka> if you just translate Ruby into Ruby C API calls, I don't think it will improve much
<Senjai> Aye
<enders> Many times faster sounds like what I'm looking for. The C code that will be produced will be on par with the ruby code in terms of shittiness :)
<Senjai> You want to use the least amount of ruby possible
<enders> I see
<Senjai> enders: Someone should have already implimented this in C, just look for it before attempting it yourself
<Senjai> rkowalick: Lurkerlevel++
<hagabaka> but converting data from "pure C" to Ruby will take time too so it might not be worth it
cryo28 has joined #ruby-lang
<enders> Senjai, if they already have implemented it, then our company has other issues than performances :)
<Senjai> enders: The algorithm
<Senjai> not the way you're using it
<enders> The cycle detection and critical path are common concepts, so they probably do exist, but I'm only doing those as POC that the conversion is worth it
<|jemc|> enders: yeah, if you want to go the C route and get the benefits you're looking for, it sounds like you want to construct a pure C graph and traverse it in C
<|jemc|> with ruby only querying the traversal functions and using the result
<enders> I see. So am I supposed to first make a function that converts the array of ruby structs to a pure C array by calling repeateadly rb_funcall and rb_ary_ref as a first step of the algorithm?
<enders> That sounds actionnable
<havenwood> enders: Is JRuby an option?
<|jemc|> alternatively, you might try running your app on rbx to see - the JIT (and concurrency, if you have parallel code) may help you out more than you think - if you run into incompatibilities, I can help you out with them
<Senjai> enders: Ideally, you only have two interactions with the ruby api. Converting it from ruby, to do things, and converting the result back toruby
<Senjai> enders: Dont do jruby :(
<havenwood> enders: You usually see performance improvements in JRuby. If you don't need the 7% of the language that JRuby+Truffle has still to implement, you're really in luck.
<havenwood> Senjai: Why do you say?
<Senjai> havenwood: If I need to use jruby, I dont need to use ruby, I need to use something better aimed at that type of problem
<enders> Isn't JRuby still stick in 1.9.x land until JRuby9000?
<Senjai> I also dont want to worry about gem compatability, and language features being missing
<havenwood> enders: jruby-9.0.0.0-pre1 is out, *soon*
<|jemc|> enders: rbx-2.x implements ruby 2.1 currently
<|jemc|> (except refinements)
<enders> Last time I tried jruby stable, the server didn't boot, I fixed some of the issues, but after a day, I just called it, and went back to MRI. Same story with rbx, with different issues, I should have kept note of the specifics and asked for help, but for what was working, I didn't see much performance improvement so I just threw away the baby with the water.
<havenwood> Senjai: I've found the gem situation to be quite good. I guess that depends on the gems you're using.
<weaksauce> enders one low hanging fruit is the include? call to the array... that's O(n) you could add the node to a different structure as well, say a hash, and query that but still have your stack be in the right order
<pipework> enders: 9000 is in a pre release.
<pipework> Yeah, inexperience with jruby often leads to people thinking jruby sucks.
<Senjai> havenwood: I'm just a fan of solidarity. Ruby solves the problems its designed to perfectly
<enders> I'm not confident putting production in something in pre-release, we have enough issues as it is :)
riotjones has joined #ruby-lang
<Senjai> havenwood: Instead, we now have all of this talent, diverged from ruby proper
<Senjai> for little to no extra value
<pipework> enders: Having used pre-9000 a lot, it's pretty great.
<Senjai> because the reason they've diverged, is to solve problems, other solutions are better geared tosolve
enebo has joined #ruby-lang
<pipework> Do what makes you happy though. Jruby makes me pretty happy.
<|jemc|> Senjai: a lot of interesting work comes out of the competition/collaboration of multiple implementations
<enders> Hmm. I like JRuby 9000 approach, I have seen some of their talks on confreaks. I guess it can't hurt to give it another try. I mean, except hurt my free time.
<Senjai> |jemc|: I'd rather compete with actual competitors. Like Python
<|jemc|> Senjai: for example, JRuby's Truffle uses a large part of the Rubinius kernel
<enders> @weaksauce, thank you for the suggestion
<|jemc|> Senjai: diversity is strength - the freedom to work toward goals outside of a single project will lead to better solutions
<pipework> Mmm, new jruby stuff.
<pipework> And the jruby team are some of the nicest and most approachable language implementors for ruby I've talked to. Not that cruby isn't, but I've not enjoyed some other implementors.
<|jemc|> where the MRI team's leadership misses the mark, one of the other projects may find good solutions, and vice versa
<|jemc|> we learn and grow by trying out new ways to do the same thing and comparing notes
<pipework> JRuby's method cache > ruby's until 2.1 or 2.2
<Senjai> |jemc|: I'm not saying no value comes out of it. But it adds an immense amount of work to make things work on several thousand implimentations, and support all the different nuances
stamina has quit [Ping timeout: 250 seconds]
<pipework> Senjai: There's like 3 that matter today, and a few less important ones.
<enders> (we are currently sporting ruby 2.2 in production, getting ready for Rails 5)
riotjones has quit [Ping timeout: 256 seconds]
kr3ssh has quit [Ping timeout: 256 seconds]
<pipework> Besides the non-canonical implementations try their best to support the interface the canonical one uses.
<pipework> cruby tends to just do its thing, but I hear that they're getting better at collaborating last I talked with anyone about that.
<pipework> rbx might depart a bit more often though.
enders has quit [Quit: Page closed]
enders has joined #ruby-lang
<Senjai> pipework: Leave my hyperboles alone!
<hagabaka> are you sure this algorithm is the slow part, not the rest of the app or rails?
<Senjai> cruby does its own thing because it is the original ruby. I get what you two are saying and they're valid points.
<Senjai> But there is benefit in solidarity too
<Senjai> That's all I'm asking yall to acknowledge
<Senjai> Lies, comcast is never happy
<havenwood> Senjai: touche
<|jemc|> Senjai: if you want greater solidarity within a group, it's up to the leadership to find ways to encourage solidarity and encourage talent and ideas to stay within the group
<pipework> I like the shinies from alternative implementations too much to feel much dedication to cruby.
<pipework> Where's hbase's company's logo?
<|jemc|> Senjai: if individuals in the group feel their ideas and talent are better spent elsewhere (less resistance) they will always do so
<pipework> Is it Oracle?
<enders> hagabaka: the SCC algorithm isn't the slow part, it's slow, but it's very fast compared to the one part that is killing our performance, the constraint solver. The reason I picked this as a POC is that it's still slow (for some complex WF, it can take up to 20% of the complete request time) and it uses the same data as the main algorithm so I think it's a good case study. Sorry if that was confusing.
<havenwood> enders: Then in JRuby use a Clojure Treeducer just for fun times. :P
<pipework> Mmm JVM interop
aadam21 has quit [Remote host closed the connection]
<enders> I've got to go, I'll be back later. Thanks for the ideas! I'll put JRuby, stdlib TSort and converting the Array of Ruby structs to pure C in the list of things to try.
enders has quit [Remote host closed the connection]
aadam21 has joined #ruby-lang
bruno- has joined #ruby-lang
chinmay_dd has quit [Quit: Connection closed for inactivity]
deol has joined #ruby-lang
Antivan has joined #ruby-lang
apt-get__ has joined #ruby-lang
cryo28 has quit [Quit: leaving]
momomomomo has quit [Quit: momomomomo]
Antivan has quit [Client Quit]
rushed has quit [Quit: rushed]
apt-get_ has quit [Ping timeout: 245 seconds]
Iskarlar has joined #ruby-lang
lytol has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
Iskarlar_ has quit [Ping timeout: 256 seconds]
Iskarlar_ has joined #ruby-lang
tvon has quit [Quit: leaving]
djbkd has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
Iskarlar has quit [Ping timeout: 246 seconds]
djbkd has joined #ruby-lang
ghostpl_ has joined #ruby-lang
hahuang61 has quit [Ping timeout: 250 seconds]
roamingdog has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rushed has joined #ruby-lang
kr3ssh has joined #ruby-lang
skade has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
[H]unt3r has joined #ruby-lang
momomomomo has joined #ruby-lang
bb010g has joined #ruby-lang
postmodern has joined #ruby-lang
workmad3 has quit [Quit: leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yfeldblum has joined #ruby-lang
Iskarlar has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
Iskarlar_ has quit [Ping timeout: 244 seconds]
Iskarlar has quit [Ping timeout: 245 seconds]
stef204 has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
yalue has quit [Quit: return 0;]
roamingdog has joined #ruby-lang
wolves_cs has quit [Max SendQ exceeded]
yfeldblum has joined #ruby-lang
wallerdev has joined #ruby-lang
hahuang61 has joined #ruby-lang
kr3ssh has quit [Ping timeout: 250 seconds]
taylorrf has quit [Remote host closed the connection]
taylorrf has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
jds has quit [Quit: Connection closed for inactivity]
whippythellama has quit [Quit: whippythellama]
whippythellama has joined #ruby-lang
tenderlove has quit [Quit: Leaving...]
symm- has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 244 seconds]
AKASkip has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
stamina has joined #ruby-lang
michael_mbp has quit [Excess Flood]
allomov has quit [Remote host closed the connection]
ledestin has quit [Quit: ledestin]
allomov has joined #ruby-lang
michael_mbp has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
centrx has quit [Quit: Shutting down, Please wait...]
allomov has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
Donovan has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 246 seconds]
andrew has joined #ruby-lang
andrew is now known as acl777
roamingdog has joined #ruby-lang
riotjones has joined #ruby-lang
taylorrf has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 244 seconds]
taylorrf has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
joast has quit [Ping timeout: 245 seconds]
bruno- has joined #ruby-lang
sgambino has quit [Read error: Connection reset by peer]
sgambino has joined #ruby-lang
<DynamicMetaFlow> Can anyone explain to me how I can get the list of boards from this method
<DynamicMetaFlow> I do print Trello::Board.all I get the whole list in terminal but comes out in a way where I can't see it properly
<DynamicMetaFlow> I want to get a list of board and then put it in a hash or something similar so the user can press the respective key (1) - Main Board (2) - Calendar and choose the board
kyb3r_ has quit [Quit: Leaving]
lapide_viridi has joined #ruby-lang
<DynamicMetaFlow> or do something lie " -b Main " where -b stands for board
<Senjai> DynamicMetaFlow: You asked this yesterday
<Senjai> When you print things out in console, you get the .inspected version. I would read the docs on what methods a "board" exposed to you
deol has quit [Max SendQ exceeded]
deol has joined #ruby-lang
<DynamicMetaFlow> I apologize for asking again, I just wanted to take a short break from learning about Ruby and work on my project for a bit. I'll do what you said
bruno- has quit [Quit: Lost terminal]
skade has joined #ruby-lang
roamingdog has joined #ruby-lang
apeiros_ has joined #ruby-lang
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
fuhgeddaboudit has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Ping timeout: 250 seconds]
taylorrf_ has joined #ruby-lang
diablerie has joined #ruby-lang
diablerie has left #ruby-lang [#ruby-lang]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tunaCanBruh has joined #ruby-lang
maso has joined #ruby-lang
roamingdog has joined #ruby-lang
taylorrf has quit [Ping timeout: 256 seconds]
taylorrf has joined #ruby-lang
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crdpink has joined #ruby-lang
taylorrf_ has quit [Ping timeout: 252 seconds]
fujimura has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
cornerman has joined #ruby-lang
Antivan has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
cornerma1 has quit [Ping timeout: 246 seconds]
fujimura has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 256 seconds]
maso has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
jo__ has quit [Quit: Connection closed for inactivity]
enders has joined #ruby-lang
jo__ has joined #ruby-lang
enebo has quit [Quit: enebo]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
Musashi007 has joined #ruby-lang
setanta_ has quit [Quit: Leaving]
djbkd has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
malconis has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
malconis has quit [Client Quit]
djbkd has joined #ruby-lang
joast has joined #ruby-lang
aadam21 has quit [Remote host closed the connection]
whippythellama has quit [Quit: whippythellama]
roamingdog has joined #ruby-lang
[H]unt3r has quit [Quit: Leaving]
lapide_viridi has quit [Quit: Leaving]
apt-get__ has quit [Remote host closed the connection]
trajing|Mobile has joined #ruby-lang
centrx has joined #ruby-lang
trajing|Mobile has quit [Read error: Connection reset by peer]
trajing|Mobile has joined #ruby-lang
trajing|Mobile has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
Antivan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has joined #ruby-lang
bruno- has quit [Client Quit]
arBmind has joined #ruby-lang
banister has joined #ruby-lang
maso has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
hhatch_ has quit [Ping timeout: 264 seconds]
ddd has quit [Quit: leaving]
roamingdog has quit [Remote host closed the connection]
ddd has joined #ruby-lang
lytol has quit [Remote host closed the connection]
matrisking has quit [Ping timeout: 252 seconds]
nathanstitt has quit [Quit: I growing sleepy]
stamina has quit [Remote host closed the connection]
saramic has joined #ruby-lang
rkowalick has quit [Quit: leaving]
arBmind has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
Antivan has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
tunaCanBruh has quit [Ping timeout: 250 seconds]
centrx has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
sgambino has quit [Remote host closed the connection]
centrx has joined #ruby-lang
sideshowcoder has joined #ruby-lang
dorei has quit []
__butch__ has quit [Quit: Leaving.]
roamingdog has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby-lang
gix has quit [Ping timeout: 244 seconds]
fujimura has quit [Remote host closed the connection]
hahuang65_ has joined #ruby-lang
fujimura has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 264 seconds]
roamingdog has joined #ruby-lang
arBmind has joined #ruby-lang