drbrain changed the topic of #ruby-lang to: this channel will redirect to #ruby the morning of June 1, Pacific Time
Fooster has quit [Remote host closed the connection]
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
<BanzaiJoe> if I wanted to know the number of differences of two arrays, I would think I would subtract them, so I did...
<VinnyBoy> and now you broke everything?
<BanzaiJoe> (c-d).count but what happens instead is the count of the c and the count of d are subtracted and I get 0 no matter what
<BanzaiJoe> what's wrong with my thinking
<BanzaiJoe> c and d have the same amount in each array
<VinnyBoy> k, i dont know ruby
<VinnyBoy> but heeeh
<VinnyBoy> id do "c.count - d.count"
<VinnyBoy> no?
<pipework> BanzaiJoe: What do you want to see?
<BanzaiJoe> I don't want the differences in the count, I want to know how many things in the array are different
wallerdev_ has joined #ruby-lang
baweaver has joined #ruby-lang
<BanzaiJoe> if c = [1,3,4] and d= [2,3,4], I would hope for a difference count of 1, but I get zero
<pipework> BanzaiJoe: You could get a union and then remove that.
zendrix has quit [Ping timeout: 276 seconds]
<BanzaiJoe> so my thinking isn't borked, it's just my Ruby?
<VinnyBoy> well
<VinnyBoy> theres 3 items in C and 3 items in D
<VinnyBoy> 3-3=0
<BanzaiJoe> it's subtracting n-n instead of
jgpawletko has joined #ruby-lang
<pipework> VinnyBoy: What if there's 3 in each, but all the items are different?
<nofxx> >> c = [1,3,4] and d= [2,3,4]; (c-d).count
<eval-in> nofxx => 1 (https://eval.in/371510)
<BanzaiJoe> but the difference of the array *should* happen before the method appleis to it, correct?
<pipework> He wants to know which items across both arrays are different.
<VinnyBoy> in c++, count only determine how many items in an array
<BanzaiJoe> not so concern about which as the count
<VinnyBoy> it doesnt matter WHAT the items are
<nofxx> BanzaiJoe, it works as you want
bantic has joined #ruby-lang
<BanzaiJoe> nofxx yea, it's my code... thanks
<BanzaiJoe> time to hit the traffic anyways
<VinnyBoy> but then again, i know nothing of ruby so i shouldnt talk much
<pipework> >> a = %|1 2 3|; b = %|1 4 5|; a + b - (a & b)
<eval-in> pipework => undefined method `&' for "1 2 3":String (NoMethodError) ... (https://eval.in/371511)
<pipework> Oh right array lul
<BanzaiJoe> and that might be my problem I'm doing a genky c = a.split "" to cast the string to array
<pipework> >> a = %w|1 2 3|; b = %w|1 4 5|; a + b - (a & b)
<eval-in> pipework => ["2", "3", "4", "5"] (https://eval.in/371512)
<pipework> Those are the unique elements across both arrays.
<nofxx> pipework, haha pipes looks somewhat good for that ;)
<nofxx> pipework, no, just substract
wallerdev_ has quit [Ping timeout: 255 seconds]
jwaldrip_ has quit [Quit: Be back later ...]
<BanzaiJoe> catch ya later, thanks for the help
<nofxx> BanzaiJoe, to cast something use &: helper
<pipework> nofxx: Just subtract what?
<pipework> nofxx: It's called Symbol#to_proc
<nofxx> like: ary(&:to_s)
chouhoulis has joined #ruby-lang
<nofxx> to cast collections*
<nofxx> pipework, to get the unique between 2 arrays, just substract
<BanzaiJoe> errrr, I want to subtract arrays not strings
<BanzaiJoe> catch y'all later
<pipework> nofxx: We didn't want the unique between the two.
<pipework> We wanted the things that aren't unique between the two.
<nofxx> duh! I see, sorry.
aaeron has joined #ruby-lang
BanzaiJoe has quit [Ping timeout: 265 seconds]
Petruchio has joined #ruby-lang
chouhoulis has quit []
skammer|afk is now known as skammer
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlovell has joined #ruby-lang
chouhoulis has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
codelurker has joined #ruby-lang
dorei has quit []
JEG2 has quit [Quit: Connection closed for inactivity]
benlovell has quit [Ping timeout: 258 seconds]
fujimura has joined #ruby-lang
marr has quit []
charliesome has joined #ruby-lang
gambl0re has quit [Ping timeout: 245 seconds]
fujimura has quit [Ping timeout: 272 seconds]
mkosaki has quit [Ping timeout: 256 seconds]
scottschecter has joined #ruby-lang
mkosaki has joined #ruby-lang
michael_mbp has quit [Excess Flood]
mikecmpbll has quit [Quit: i've nodded off.]
pragmatism has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
codelurker has quit [Quit: codelurker]
michael_mbp has joined #ruby-lang
sankaber has joined #ruby-lang
lampshades has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
b_hoffman has joined #ruby-lang
prereflect has joined #ruby-lang
jacor has joined #ruby-lang
jacor has quit [Client Quit]
prereflect has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
b_hoffman has quit [Ping timeout: 256 seconds]
Petruchio has quit [Ping timeout: 264 seconds]
wallerdev_ has joined #ruby-lang
mkosaki has quit [Ping timeout: 264 seconds]
j4cknewt has joined #ruby-lang
Petruchio has joined #ruby-lang
wallerdev_ has quit [Ping timeout: 240 seconds]
caseypatrickdris has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 256 seconds]
amclain has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tkuchiki has joined #ruby-lang
fujimura_ has joined #ruby-lang
symm- has quit [Ping timeout: 255 seconds]
shtirlic has quit [K-Lined]
shtirlic has joined #ruby-lang
fujimura_ has quit [Ping timeout: 265 seconds]
drefined has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
joaomdmoura has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
duderonomy has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
Respek has joined #ruby-lang
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 265 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
charliesome has joined #ruby-lang
mkosaki has joined #ruby-lang
wallerdev has joined #ruby-lang
wallerdev has quit [Ping timeout: 252 seconds]
fujimura has joined #ruby-lang
bantic has quit [Quit: bantic]
lampshades has quit [Quit: lampshades]
caseypatrickdris has quit [Remote host closed the connection]
duderonomy has joined #ruby-lang
shreeve has joined #ruby-lang
<shreeve> ruby has a debugging api that isn't exposed... can I use ffi to access it?
aaeron has quit [Quit: aaeron]
jwaldrip_ has joined #ruby-lang
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ruby-lang
mcclurmc_ has joined #ruby-lang
mcclurmc has quit [Read error: Connection reset by peer]
GPrime has joined #ruby-lang
drefined has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drefined has joined #ruby-lang
drefined has quit [Client Quit]
gambl0re has joined #ruby-lang
StephenOTT has joined #ruby-lang
bantic has joined #ruby-lang
crdpink has joined #ruby-lang
crdpink2 has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby-lang
benlovell has joined #ruby-lang
wallerdev has quit [Ping timeout: 240 seconds]
iamninja has quit [Ping timeout: 250 seconds]
benlovell has quit [Ping timeout: 265 seconds]
crankharder has quit [Ping timeout: 246 seconds]
bantic has quit [Quit: bantic]
crankharder has joined #ruby-lang
gianlucadv has joined #ruby-lang
djbkd has quit [Quit: My people need me...]
iamninja has joined #ruby-lang
aaeron has joined #ruby-lang
baweaver has joined #ruby-lang
shtirlic has quit [K-Lined]
shtirlic has joined #ruby-lang
gix has quit [Ping timeout: 246 seconds]
aaeron has quit [Quit: aaeron]
gix has joined #ruby-lang
kreas has quit [Quit: Textual IRC Client: www.textualapp.com]
StephenOTT has quit [Quit: StephenOTT]
gianlucadv has quit [Ping timeout: 264 seconds]
ledestin has joined #ruby-lang
jwaldrip_ has quit [Quit: Be back later ...]
wallerdev has joined #ruby-lang
michael_mbp has quit [Excess Flood]
wallerdev has quit [Ping timeout: 256 seconds]
michael_mbp has joined #ruby-lang
revath has joined #ruby-lang
nofxx_ has joined #ruby-lang
charliesome has quit [Quit: zzz]
Respek has quit [Read error: Connection reset by peer]
nofxx has quit [Ping timeout: 256 seconds]
mcclurmc_ has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
charliesome has joined #ruby-lang
riotjones has joined #ruby-lang
revath has quit [Ping timeout: 256 seconds]
stevednd has quit [Ping timeout: 256 seconds]
riotjones has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
stevednd has joined #ruby-lang
arBmind has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
djbkd has joined #ruby-lang
gambl0re has quit [Ping timeout: 258 seconds]
chouhoulis has quit [Remote host closed the connection]
erichmenge has quit [Quit: Arrivederci!]
revath has joined #ruby-lang
hahuang61 has joined #ruby-lang
hahuang61 has quit [Remote host closed the connection]
hahuang61 has joined #ruby-lang
rbowlby has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
hahuang61 has quit [Client Quit]
chinmay_dd has joined #ruby-lang
GPrime has quit [Quit: Textual IRC Client: www.textualapp.com]
benlovell has joined #ruby-lang
hahuang65 has quit [Ping timeout: 244 seconds]
benlovell has quit [Ping timeout: 245 seconds]
David_H__ has joined #ruby-lang
David_H_Smith has quit [Ping timeout: 244 seconds]
revath has quit [Quit: Leaving.]
revath has joined #ruby-lang
riotjones has joined #ruby-lang
cornerma1 has joined #ruby-lang
fusillicode has quit [Quit: Leaving.]
fusillicode has joined #ruby-lang
hahuang65 has joined #ruby-lang
hahuang65 has quit [Remote host closed the connection]
cornerman has quit [Ping timeout: 264 seconds]
hahuang65 has joined #ruby-lang
cornerma1 is now known as cornerman
revath has quit [Ping timeout: 276 seconds]
hahuang65 has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
hahuang65 has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 256 seconds]
iamninja has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby-lang
revath has joined #ruby-lang
hahuang65 has quit [Client Quit]
wallerdev has joined #ruby-lang
skade has joined #ruby-lang
j4cknewt has joined #ruby-lang
skade has quit [Client Quit]
iamninja has joined #ruby-lang
kerunaru has joined #ruby-lang
crdpink2 has joined #ruby-lang
crdpink has quit [Ping timeout: 256 seconds]
TvL2386 has joined #ruby-lang
chinmay__ has joined #ruby-lang
chinmay_dd has quit [Ping timeout: 264 seconds]
sandelius has joined #ruby-lang
workmad3 has joined #ruby-lang
ta has joined #ruby-lang
ta has quit [Remote host closed the connection]
_ht has joined #ruby-lang
revath has quit [Read error: No route to host]
workmad3 has quit [Ping timeout: 265 seconds]
revath has joined #ruby-lang
micmus has joined #ruby-lang
pyo_ has joined #ruby-lang
ruby-lang075 has joined #ruby-lang
ruby-lang075 has quit [Client Quit]
<shreeve> can 'ffi' be used with static libraries?
amclain has quit [Quit: Leaving]
charliesome has joined #ruby-lang
allomov has joined #ruby-lang
kerunaru has quit [Ping timeout: 265 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
chinmay__ is now known as chinmay_dd
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
scottschecter has quit [Ping timeout: 244 seconds]
dzejrou has joined #ruby-lang
skade has joined #ruby-lang
solars has joined #ruby-lang
micmus has quit [Ping timeout: 276 seconds]
dhjondoh has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
benlovell has joined #ruby-lang
wallerdev has joined #ruby-lang
Ilyes512 has joined #ruby-lang
ruurd has joined #ruby-lang
Iskarlar has joined #ruby-lang
vassy has joined #ruby-lang
revath has quit [Ping timeout: 265 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<vassy> Hi...I have a question about ruby gem Koala...Is this the right forum to ask?
dzejrou has quit [Read error: Connection reset by peer]
<maloik> we won't know until you ask ;-)
<vassy> Ok...I am using Koala gem for reading facebook posts on my wall
<vassy> I am trying to get all the posts on my facebook profile using Koala. I am using the following method - feed = graph.get_connections("me", "feed")
<vassy> feed = graph.get_connections("me", "feed")
<vassy> ut this method returns an array of hash whose element is -
djbkd has quit [Quit: Leaving...]
<vassy> *But
<vassy> {"updated_time"=>"some time", "is_hidden"=>false, "story"=>"someone and 10 others wrote on your timeline.", "from"=>{"id"=>"some id", "name"=>"some name"}, "id"=>"some id", "privacy"=>{"deny"=>"", "value"=>"", "friends"=>"", "description"=>"", "allow"=>""}, "type"=>"status", "created_time"=>"some time", "status_type"=>"wall_post"}
<vassy> The problem in this case is I am not able to retrieve individual posts on timeline.
<vassy> There is "story" present in the hash but no "Message". I expected that there would be 11 elements in the array as 11 friends posted on timeline.
<maloik> you should probably gist your code and show the proper output
<vassy> ok...
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<vassy> Following is my code
<vassy> Koala.config.api_version = "v2.3"
<vassy> @graph = Koala::Facebook::API.new("access token")
Musashi007 has joined #ruby-lang
<maloik> gist it... https://gist.github.com
baweaver has quit [Remote host closed the connection]
Iskarlar has joined #ruby-lang
<maloik> it's a lot easier to read and less spam in the channel
wallerdev has quit [Quit: wallerdev]
<maloik> now add the output in there and give the file a name ending in .rb so syntax highlighting is active ;)
<maloik> bit tedious but you'll thank me in the long run, it helps people to help you
Iskarlar has quit [Client Quit]
joaomdmoura has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
<vassy> If you look at the output has
<vassy> *hash
<vassy> there is "story" present in there
<vassy> "story" => "someone and 10 others wrote on your timeline"
Iskarlar has joined #ruby-lang
<vassy> how do I get all the individual 11 posts?
<vassy> If I retrieve just one post there is "message" present in the hash
skade has quit [Quit: Computer has gone to sleep.]
skammer has joined #ruby-lang
rippa has joined #ruby-lang
<maloik> did you try the second one?
<maloik> that sentence sounds like a notification at the top of the page, it sounds familiar
<vassy> yes...these posts are at the top of the page
<vassy> the second element in the hash is something else
<vassy> not related to these 11 posts
<vassy> it skips them
shreeve has quit [Ping timeout: 246 seconds]
revath has joined #ruby-lang
elia has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
kerunaru has joined #ruby-lang
<maloik> not sure what you mean by that
<vassy> ok...
<maloik> don't really have time to try it out myself right now, I need to get some actual work done :/
<vassy> I expected the output to array to have 11 elements
<maloik> I'd dig into their wiki, maybe install their sample application to see if they display the posts somehow and then find the relevant piece of code to see how it's done
<vassy> each element correspoding to something posted by a friend
<vassy> instead it contains only one element
<vassy> and the key "story" is present in the hash
ta has joined #ruby-lang
<vassy> whereas if 11 elements had been present in the hash the key "message" would be present with the particular message
<vassy> anyways thanks a lot!
charliesome has joined #ruby-lang
<maloik> I spotted a kind of filter in the api docs just earlier
<maloik> where you could say which fields you want returned
<maloik> maybe that's the problem with the object only having one attribute
<vassy> oh...
rbowlby has quit [Remote host closed the connection]
rbowlby has joined #ruby-lang
<vassy> can you explain a bit more?
skammer is now known as skammer|afk
skammer|afk is now known as skammer
rbowlby has quit [Remote host closed the connection]
<maloik> search the page for "fields"
<maloik> only one result
dudedudeman has quit [Ping timeout: 272 seconds]
VinnyBoy has quit [Read error: Connection reset by peer]
langlands has joined #ruby-lang
iamninja has quit [Read error: Connection reset by peer]
ta has quit [Remote host closed the connection]
chinmay_dd has quit []
iamninja has joined #ruby-lang
<vassy> ok...cool
<vassy> will try it out...thanks a lot!
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbowlby has joined #ruby-lang
Iskarlar has joined #ruby-lang
langlands has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dudedudeman has joined #ruby-lang
mikecmpbll has joined #ruby-lang
<vassy> nope...it is still returning as one message
dudedudeman has quit [Ping timeout: 264 seconds]
<maloik> I don't quite understand "returning as one message"
<vassy> I mean those 11 message are returned only in one element
<vassy> without the key "message"
skammer is now known as skammer|afk
<maloik> the hash you show there
<maloik> that's only one line of output in your terminal, right?
<maloik> the feed.each { } should display something 11 times if there are 11 elements present
<vassy> yes...
<vassy> feed.each should display 11 times
<vassy> but it actually displays those first 11 messages in one
dudedudeman has joined #ruby-lang
<vassy> with the output shown
<maloik> okay hang on this isn't working, let me try it out myself then
<vassy> these posts are related thats its clubbing them
<vassy> *thats why its clubbing them into one
<vassy> if the posts are unrelated it retrieves the 11 messages
<vassy> for e.g. the posts can be birthday messages
workmad3 has joined #ruby-lang
skammer|afk is now known as skammer
<maloik> I don't see the problem
<maloik> each object in the feed array represents one of my posts
workmad3 has quit [Ping timeout: 264 seconds]
<vassy> yeah...but in your case the posts may not be related
<vassy> for e.g. if the posts are birthday messages
<vassy> facebook clubs them...I think so...
<maloik> if they do, then the related messages can be found as part of that first message
<maloik> for instance through feed[0]['comments']
<vassy> nope...for me feed[0]['message'] is nil
<maloik> that's not what I said
<maloik> also, we won't be able to help you unless our timeline happens to be the same as yours
<maloik> you'll just need to dig into the object and find what you need
<vassy> yeah...its my timeline
<vassy> I am trying to make a program to automatically reply to birthday posts
<vassy> so I tried my program with just one post and it worked fine
rikkipitt has joined #ruby-lang
dudedudeman has quit [Ping timeout: 256 seconds]
<maloik> I've found an example I think
<maloik> brb tho
<vassy> oh...great!
chinmay_dd has joined #ruby-lang
dudedudeman has joined #ruby-lang
ArchRogem has joined #ruby-lang
ur5us has joined #ruby-lang
banister has joined #ruby-lang
dudedudeman has quit [Ping timeout: 250 seconds]
<maloik> 95% certain /feed is simply not what you need
<maloik> feed is what your profile displays to others... so "XXX and Y others posted to your_name's wall" is something "you" would post to your friends
<maloik> hence why it shows up in /feed
<maloik> to find whatever messages that contains you'll need another api endpoint, and possibly your friends' permission to read said posts using the api
<maloik> can't help you anymore im afraid, this has taken up too much time already :)
<maloik> if you use /posts you'll see your own posts, so the one I described above won't even be included
<vassy> oh...ok ok...
<vassy> np...
<vassy> thanks a lot though!
nofxx_ has quit [Ping timeout: 264 seconds]
ledestin has joined #ruby-lang
workmad3 has joined #ruby-lang
chussenot has joined #ruby-lang
skammer is now known as skammer|afk
mkosaki_ has joined #ruby-lang
dudedudeman has joined #ruby-lang
mkosaki has quit [Ping timeout: 265 seconds]
skammer|afk is now known as skammer
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
revath has quit [Ping timeout: 252 seconds]
stan has joined #ruby-lang
Musashi007 has joined #ruby-lang
fu2ristiq has joined #ruby-lang
<fu2ristiq> hello everybody
<fu2ristiq> I hope you're having a nice day
skade has joined #ruby-lang
revath has joined #ruby-lang
fu2ristiq has left #ruby-lang [#ruby-lang]
rbowlby has quit [Remote host closed the connection]
marr has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
maxshelley has joined #ruby-lang
langlands has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
intinig has joined #ruby-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandelius has joined #ruby-lang
stamina has joined #ruby-lang
centrx has joined #ruby-lang
rikkipitt has quit [Remote host closed the connection]
rikkipitt has joined #ruby-lang
ta has joined #ruby-lang
skade has joined #ruby-lang
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamninja has quit [Read error: Connection reset by peer]
benlovell has quit [Ping timeout: 256 seconds]
skade has quit [Quit: Computer has gone to sleep.]
jack_ has joined #ruby-lang
jack_ has quit [Client Quit]
jack_ has joined #ruby-lang
iamninja has joined #ruby-lang
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
skammer has joined #ruby-lang
benlovell has joined #ruby-lang
cazku has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Musashi007 has joined #ruby-lang
rbowlby has joined #ruby-lang
Iskarlar has joined #ruby-lang
cazku has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0/20150511103818]]
Iskarlar has quit [Client Quit]
Iskarlar has joined #ruby-lang
rikkipitt has quit [Quit: Leaving...]
iamninja has quit [Read error: Connection reset by peer]
rbowlby has quit [Ping timeout: 252 seconds]
Paradox has quit [Ping timeout: 256 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dudedudeman has quit [Ping timeout: 264 seconds]
Iskarlar has joined #ruby-lang
skammer has quit [Quit: Textual IRC Client: www.textualapp.com]
symm- has joined #ruby-lang
vassy has quit [Ping timeout: 246 seconds]
Paradox has joined #ruby-lang
dudedudeman has joined #ruby-lang
Ilyes512 has joined #ruby-lang
Ilyes512 has quit [Max SendQ exceeded]
k3asd` has joined #ruby-lang
Ilyes512 has joined #ruby-lang
nux443 has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
jack_ has quit [Quit: Leaving...]
fujimura has quit [Remote host closed the connection]
marr has quit []
j4cknewt has quit [Remote host closed the connection]
iamninja has joined #ruby-lang
Paradox has quit [Ping timeout: 265 seconds]
jeeves555 has joined #ruby-lang
thebastl has joined #ruby-lang
k3asd` has quit [Ping timeout: 246 seconds]
ur5us has quit [Remote host closed the connection]
dorei has joined #ruby-lang
djinni` has quit [Ping timeout: 246 seconds]
k3asd` has joined #ruby-lang
dudedudeman has quit [Ping timeout: 256 seconds]
Paradox has joined #ruby-lang
kerunaru has quit [Quit: Textual IRC Client: www.textualapp.com]
djinni` has joined #ruby-lang
maxshelley has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dudedudeman has joined #ruby-lang
kerunaru has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bertg has joined #ruby-lang
Bertg has quit [Client Quit]
ldnunes has joined #ruby-lang
k3asd` has quit [Ping timeout: 272 seconds]
skade has joined #ruby-lang
dudedudeman has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Ping timeout: 264 seconds]
djinni` has quit [Ping timeout: 248 seconds]
dudedudeman has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
maxshelley has joined #ruby-lang
djinni` has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
djinni` has quit [Excess Flood]
benlovell has joined #ruby-lang
djinni` has joined #ruby-lang
sgambino has joined #ruby-lang
charliesome has quit [Quit: zzz]
arBmind has joined #ruby-lang
benlovell has quit [Ping timeout: 265 seconds]
tomaz_b has joined #ruby-lang
Guest29816 has joined #ruby-lang
jack_ has joined #ruby-lang
micmus has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
sepp2k has joined #ruby-lang
ta has quit [Read error: Connection reset by peer]
ta has joined #ruby-lang
benlovell has joined #ruby-lang
allomov has quit [Read error: Connection reset by peer]
allomov has joined #ruby-lang
k3asd` has joined #ruby-lang
jeeves555 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
langlands has quit [Read error: Connection reset by peer]
sluukkonen has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
mehdi1 has left #ruby-lang [#ruby-lang]
k3asd` has quit [Ping timeout: 244 seconds]
chinmay_dd has quit []
thebastl has joined #ruby-lang
langlands has joined #ruby-lang
chouhoulis has joined #ruby-lang
banister is now known as banisterfiend
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lapide_viridi has joined #ruby-lang
hinbody has joined #ruby-lang
Guest29816 has quit [Quit: Leaving]
mike has joined #ruby-lang
mike is now known as Guest8804
Ilyes512 has joined #ruby-lang
thebastl has quit [Quit: Leaving...]
kerunaru has quit [Read error: Connection reset by peer]
SalexW has joined #ruby-lang
banisterfiend has quit [Ping timeout: 255 seconds]
imperator has joined #ruby-lang
langlands has quit [Ping timeout: 245 seconds]
benlovell has quit [Ping timeout: 252 seconds]
jwaldrip_ has joined #ruby-lang
langlands has joined #ruby-lang
Guest8804 has quit [Quit: Leaving]
mike___1234 has joined #ruby-lang
ajnabi has joined #ruby-lang
ajnabi has quit [Client Quit]
gambl0re has joined #ruby-lang
banister has joined #ruby-lang
benlovell has joined #ruby-lang
haraoka has joined #ruby-lang
revath1 has joined #ruby-lang
benlovell has quit [Ping timeout: 258 seconds]
revath has quit [Ping timeout: 245 seconds]
[k- has joined #ruby-lang
benlovell has joined #ruby-lang
ruby-lang541 has joined #ruby-lang
<ruby-lang541> Hi, I've been using Ruby in Rails form two months now but there are some things I'm not sure to understand, about forms mainly, can anyone help me please ?
k3asd` has joined #ruby-lang
<jhass> ruby-lang541: check #RubyOnRails
<ruby-lang541> thanks
ruby-lang541 has quit [Client Quit]
dudedudeman has quit [Ping timeout: 276 seconds]
banister is now known as banisterfiend
centrx has quit [Quit: Shutting down, Please wait...]
dudedudeman has joined #ruby-lang
jack_ has quit [Quit: Leaving...]
michael_mbp has quit [Excess Flood]
dudedudeman has quit [Ping timeout: 256 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
michael_mbp has joined #ruby-lang
michael_mbp has quit [Excess Flood]
Voker57 has quit [Read error: Connection reset by peer]
gambl0re has quit [Ping timeout: 250 seconds]
dudedudeman has joined #ruby-lang
michael_mbp has joined #ruby-lang
malconis has joined #ruby-lang
lapide_viridi has quit [Quit: Leaving]
skade has joined #ruby-lang
atomical_ has joined #ruby-lang
Iskarlar has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
atomical has quit [Ping timeout: 248 seconds]
sankaber has joined #ruby-lang
michael_mbp has quit [Excess Flood]
agarie has joined #ruby-lang
malconis has quit [Remote host closed the connection]
malconis has joined #ruby-lang
dudedudeman has quit [Ping timeout: 256 seconds]
maxshelley has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michael_mbp has joined #ruby-lang
baweaver has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
TvL2386 has quit [Quit: Ex-Chat]
dudedudeman has joined #ruby-lang
jwaldrip_ has quit [Quit: Lingo: www.lingoirc.com]
imperator2 has joined #ruby-lang
mike___1234 has left #ruby-lang ["Leaving"]
maxshelley has joined #ruby-lang
chussenot has quit [Ping timeout: 272 seconds]
skade has quit [Quit: Computer has gone to sleep.]
langlands has quit [Quit: Textual IRC Client: www.textualapp.com]
langlands has joined #ruby-lang
k3asd` has quit [Ping timeout: 265 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
skade has joined #ruby-lang
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby-lang
michael_mbp has quit [Excess Flood]
atomical_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomaz_b has quit [Ping timeout: 250 seconds]
dudedudeman has quit [Ping timeout: 256 seconds]
michael_mbp has joined #ruby-lang
Ropeney has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
riotjones has quit [Remote host closed the connection]
yalue has joined #ruby-lang
b_hoffman has joined #ruby-lang
atomical has joined #ruby-lang
mcclurmc has joined #ruby-lang
yfeldblum has joined #ruby-lang
dudedudeman has joined #ruby-lang
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kreas has joined #ruby-lang
futilegames has joined #ruby-lang
rbowlby has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
benlovell has quit [Ping timeout: 272 seconds]
michael_mbp has joined #ruby-lang
bantic has joined #ruby-lang
benlovell has joined #ruby-lang
Ilyes512 has joined #ruby-lang
rbowlby has quit [Ping timeout: 265 seconds]
banisterfiend has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby-lang
jack_ has joined #ruby-lang
joast has quit [Quit: Leaving.]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
gambl0re has joined #ruby-lang
joast has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
gamename has joined #ruby-lang
bruno- has joined #ruby-lang
joaomdmoura has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
dudedudeman has left #ruby-lang [#ruby-lang]
gamename has quit [Remote host closed the connection]
ddv has joined #ruby-lang
ddv has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
gamename has joined #ruby-lang
benlovell has quit [Ping timeout: 256 seconds]
gamename has quit [Remote host closed the connection]
enebo has joined #ruby-lang
gamename has joined #ruby-lang
gamename has quit [Remote host closed the connection]
gamename has joined #ruby-lang
riffraff has joined #ruby-lang
benlovell has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
jack_ has quit [Quit: Leaving...]
benlovell has quit [Ping timeout: 272 seconds]
jack_ has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crankharder has quit [Read error: Connection reset by peer]
shinnya has joined #ruby-lang
tubbo has joined #ruby-lang
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
j4cknewt has joined #ruby-lang
Iskarlar has joined #ruby-lang
pyo_ has quit []
gix has quit [Ping timeout: 265 seconds]
ta has quit [Remote host closed the connection]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
grekko has joined #ruby-lang
jack_ has quit [Quit: Leaving...]
whippythellama has joined #ruby-lang
gix has joined #ruby-lang
mehdi1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 264 seconds]
maxshelley has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
revath1 has quit [Ping timeout: 272 seconds]
riotjones has joined #ruby-lang
jack- has joined #ruby-lang
riotjones has quit [Ping timeout: 256 seconds]
k3asd` has joined #ruby-lang
allomov has quit [Remote host closed the connection]
elia has quit [Read error: No route to host]
elia_ has joined #ruby-lang
maxshelley has joined #ruby-lang
Ilyes512 has quit [Ping timeout: 272 seconds]
hotpancakes has joined #ruby-lang
futilegames has quit [Quit: futilegames]
postmodern has joined #ruby-lang
Voker57 has joined #ruby-lang
<hotpancakes> Does anyone know of a good walkthrough of the mechanics of a real ruby gem? I'm at the stage where I understand ruby pretty well, but I'm overwhelmed when I try to read through a real, live project of someone else's code...
slawrence00 has joined #ruby-lang
<jhass> pick a smaller example then
<hotpancakes> Any good examples?
<ljarvis> hotpancakes: pry is useful for this, pick a small project and start digging
<hotpancakes> ljarvis: care to elaborate the benefits of using pry vs just reading code on github?
skade has quit [Quit: Computer has gone to sleep.]
<ljarvis> hotpancakes: both are useful and unrelated. Pry lets you dig around with the functionality rather than just reading
<jhass> what do you try to read atm, and using what approach?
<hotpancakes> jhass: I guess I don't really have an approach, but I was browsing ActiveMerchant code on github.
<hotpancakes> ljarvis: any favorite pry features that are useful for this?
<jhass> I'd say pick a project you want to do, use a gem that you haven't used yet and use it by reading its code, not its docs
dhjondoh has quit [Quit: dhjondoh]
<hotpancakes> jhass: seems like a good plan
<hotpancakes> jhass: thanks for the help
<jhass> yw
grekko has quit [Quit: Textual IRC Client: www.textualapp.com]
allomov has joined #ruby-lang
haraoka has quit [Ping timeout: 255 seconds]
BanzaiJoe has joined #ruby-lang
rcvalle has joined #ruby-lang
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alestuber has joined #ruby-lang
fusillicode has joined #ruby-lang
mikecmpb_ has joined #ruby-lang
hotpancakes has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 276 seconds]
fusillicode has quit [Ping timeout: 245 seconds]
baweaver has joined #ruby-lang
fusillicode has joined #ruby-lang
<BanzaiJoe> Good day
<ljarvis> *tips fedora*
fusillicode has quit [Client Quit]
fusillicode1 has joined #ruby-lang
<imperator> *tips solaris*
fusillicode1 has quit [Read error: No route to host]
fusillicode has joined #ruby-lang
revath has joined #ruby-lang
* apeiros doesn't tip
<apeiros> (not true, not true, I usually tip generously :D)
joaomdmoura has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
<jhass> too late
dfockler has joined #ruby-lang
fusillicode has quit [Ping timeout: 258 seconds]
zendrix has joined #ruby-lang
marr has joined #ruby-lang
hahuang65 has joined #ruby-lang
chussenot has joined #ruby-lang
jack- has quit [Quit: Leaving...]
micmus has quit [Ping timeout: 246 seconds]
chussenot has quit [Client Quit]
chussenot has joined #ruby-lang
hahuang65 has quit [Ping timeout: 252 seconds]
rbowlby has joined #ruby-lang
darix has quit [Quit: may the packets be with you...]
rbowlby has quit [Ping timeout: 265 seconds]
skade has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alestuber has joined #ruby-lang
darix has joined #ruby-lang
intinig has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
baweaver has joined #ruby-lang
micmus has joined #ruby-lang
havenwood has joined #ruby-lang
nofxx_ has joined #ruby-lang
nofxx_ has joined #ruby-lang
sarkyniin has joined #ruby-lang
riffraff has quit [Quit: Leaving]
* baweaver tips the scales
<baweaver> Ah, bit late, and that's SSB
* baweaver wanders back off
VinnyBoy has joined #ruby-lang
allomov has quit [Remote host closed the connection]
toretore has quit [Ping timeout: 265 seconds]
hotpancakes has joined #ruby-lang
chussenot has joined #ruby-lang
shinnya has quit [Ping timeout: 255 seconds]
nofxx_ has quit [Ping timeout: 272 seconds]
caseypatrickdris has quit [Remote host closed the connection]
drewo has joined #ruby-lang
ecc_ has joined #ruby-lang
ecc_ has left #ruby-lang [#ruby-lang]
mikecmpb_ has quit [Quit: i've nodded off.]
<BanzaiJoe> hmmm....
<BanzaiJoe> I'm at http://ruby-doc.org/core-2.1.2/Array.html#method-i-2D trying to solve a array comparison
<BanzaiJoe> given two arrays , I want to compare if each entry at the same index are the ssame or not
<apeiros> ary1 == ary2
<BanzaiJoe> can I do an each or each_with_object and interate through two arrays by index
<apeiros> baweaver: wait, *the same* (object identity) or *equal* (==)?
<jhass> >> ["a", "b"] == ["a", "b"]
<eval-in> jhass => true (https://eval.in/372017)
<jhass> >> ["a", "b"] == ["b", "a"]
<eval-in> jhass => false (https://eval.in/372018)
<havenwood> BanzaiJoe: Do you just want to know if they differ or how they differ?
<BanzaiJoe> if they differ and a count, but by at index position
k3asd` has quit [Ping timeout: 256 seconds]
<baweaver> apeiros: This is not the nerd you're looking for *waves hands*
<BanzaiJoe> for example a = [1,2,3,4,5] b=[1,3,3,4,6] returns 2
<apeiros> baweaver: ¿que?
<apeiros> oh
<apeiros> lol
<baweaver> you tagged me above instead of BanzaiJoe
toretore has joined #ruby-lang
<apeiros> yeah, noticed. silly limechat. bad tab completion.
<apeiros> BanzaiJoe: wait, *the same* (object identity) or *equal* (==)?
<apeiros> baweaver: sorry
<jhass> it's confusing here too, same nick color, same starting letters, about same length
<baweaver> Not a problem
<BanzaiJoe> apeiros , at index 1 and 4, the entries are different so returns 2
<baweaver> >> class Array; def eql?(o) (self - o).size.zero? end end; ['a', 'b'].eql? ['b', 'a']
<eval-in> baweaver => true (https://eval.in/372019)
<BanzaiJoe> I was thinking of iterating through the arrays and checking and counting
<baweaver> scratch that
<jhass> >> a = [1, 2, 3, 4]; b = [1, 0, 3, 0]; a.each_with_index.count {|a, i| a != b[i] }
<eval-in> jhass => 2 (https://eval.in/372020)
<BanzaiJoe> I went that route and realized that the equality and subtraction are no go
<baweaver> >> class Array; def eql?(o) [(self - o).size, (o - self).size].all?(&:zero?) end end; ['a', 'b'].eql? ['b', 'a']
<eval-in> baweaver => true (https://eval.in/372021)
<jhass> baweaver: why do you redefine eql? :(
<BanzaiJoe> jhass w00t, there's an each_with_index, that's awesome
<baweaver> quick hack
<baweaver> not paying attention to overrides at the moment
<jhass> you should give good examples :/
<havenwood> BanzaiJoe: a.zip(b).select { |x, y| x != y }.size
<BanzaiJoe> havenwood does that do that by indexed position?
<havenwood> BanzaiJoe: or rather: a.zip(b).count { |x, y| x != y }
<havenwood> BanzaiJoe: yes
<havenwood> BanzaiJoe: Index 0 from a zips with index 0 from b, etc. Zip!
<BanzaiJoe> hmmm... thinking about if the arrays have a different quantities of entries..
<apeiros> 18:36 BanzaiJoe: apeiros , at index 1 and 4, the entries are different so returns 2
<apeiros> what?
jack- has joined #ruby-lang
<baweaver> or just: a.sort == b.sort
<apeiros> Array#== returns true/false. it never returns 2
<baweaver> count number of differences
<apeiros> or was that meant "I'd like <my method> to return 2"?
<apeiros> if so - what should it return if ary1 and ary2 differ in length?
<BanzaiJoe> each additional index should return an additional count because they are different
<BanzaiJoe> for ones that are not the same
[k- has quit [Quit: Lingo: www.lingoirc.com]
* BanzaiJoe wanders off to irb
<havenwood> BanzaiJoe: Is `nil` a possible value in the Array?
<apeiros> well, ary1, ary2 = ary2, ary1 if ary1.length < ary2.length; ary1.zip(ary2).inject(ary2.length - ary1.length) { |count, (a,b)| count + (a == b ? 0 : 1) }
<apeiros> BanzaiJoe: ^
<BanzaiJoe> havenwood nil is acceptable but it would not be in these arrays
<BanzaiJoe> apeiros that's slick, thanks
<jhass> mmh, I think I'd ponder count and +'ing the diff
<apeiros> probably easier to read
<apeiros> I'm slightly intoxicated. code might suffer :D
elia_ has quit [Quit: Computer has gone to sleep.]
<BanzaiJoe> apeiros you're tipsy code is infinitely better than my code :)
benlovell has joined #ruby-lang
jack- has quit [Quit: Leaving...]
alestuber has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 245 seconds]
gwendall has joined #ruby-lang
benlovell has joined #ruby-lang
<ljarvis> on a thursday.. hat tip to you, sir
stamina has quit [Remote host closed the connection]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
benlovell has quit [Ping timeout: 252 seconds]
tenderlove has joined #ruby-lang
zendrix has quit [Remote host closed the connection]
zendrix has joined #ruby-lang
anjen has joined #ruby-lang
sarkyniin has left #ruby-lang ["Left"]
zendrix has quit [Remote host closed the connection]
zendrix has joined #ruby-lang
stan has quit [Ping timeout: 256 seconds]
alestuber has joined #ruby-lang
tibig has joined #ruby-lang
wallerdev has joined #ruby-lang
shinnya has joined #ruby-lang
mattyohe has joined #ruby-lang
<bnagy> s=[a,b].sort_by(&:size);s.last.zip(s.first).group_by {|x,y| x==y}[false].size
chouhoulis has quit [Remote host closed the connection]
alestuber has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby-lang
tibig has quit [Ping timeout: 265 seconds]
tibig has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
Ilyes512 has joined #ruby-lang
alestuber has joined #ruby-lang
hotpancakes has quit [Remote host closed the connection]
malconis has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
malconis has joined #ruby-lang
SalexW has quit [Remote host closed the connection]
banister has joined #ruby-lang
tenderlove has quit [Quit: Leaving...]
banister has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
alestuber has quit [Ping timeout: 240 seconds]
tenderlove has joined #ruby-lang
hotpancakes has joined #ruby-lang
alestuber has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
mikecmpbll has joined #ruby-lang
benlovell has joined #ruby-lang
rbowlby has joined #ruby-lang
hahuang65 has joined #ruby-lang
hahuang65 has quit [Client Quit]
matled has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 256 seconds]
hahuang65 has joined #ruby-lang
chadwtaylor has joined #ruby-lang
symm- has joined #ruby-lang
alestuber has joined #ruby-lang
rbowlby has quit [Ping timeout: 265 seconds]
marr has quit [Ping timeout: 258 seconds]
hotpancakes has quit []
ta has joined #ruby-lang
banister has joined #ruby-lang
tubbo has quit [Ping timeout: 264 seconds]
matled has joined #ruby-lang
tubbo has joined #ruby-lang
DLSteve has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
chinmay_dd has joined #ruby-lang
zendrix has quit [Remote host closed the connection]
chinmay_dd has quit [Client Quit]
b_hoffman has joined #ruby-lang
workmad3 has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby-lang
atomical has quit [Write error: Connection reset by peer]
atomical has joined #ruby-lang
cornerma1 has joined #ruby-lang
cornerman has quit [Read error: Connection reset by peer]
cornerma1 is now known as cornerman
ledestin has joined #ruby-lang
symm- has quit [Ping timeout: 272 seconds]
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
maxshelley has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arBmind has quit [Quit: Leaving.]
benlovell has joined #ruby-lang
rbowlby has joined #ruby-lang
benlovell has quit [Ping timeout: 256 seconds]
toretore has quit [Quit: This computer has gone to sleep]
revath has quit [Ping timeout: 272 seconds]
symm- has joined #ruby-lang
zendrix has joined #ruby-lang
bertocode has joined #ruby-lang
arBmind has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arBmind1 has joined #ruby-lang
elia has joined #ruby-lang
maxshelley has joined #ruby-lang
dzejrou has joined #ruby-lang
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
b_hoffman has quit [Quit: b_hoffman]
baweaver has quit [Remote host closed the connection]
arBmind has quit [Ping timeout: 276 seconds]
langlands has quit [Ping timeout: 276 seconds]
alestuber has joined #ruby-lang
zendrix has quit [Remote host closed the connection]
gwendall_ has joined #ruby-lang
robbyoconnor has quit [Quit: Konversation terminated!]
chinmay_dd has joined #ruby-lang
allomov has joined #ruby-lang
gwendal__ has joined #ruby-lang
gwendall_ has quit [Read error: No route to host]
gwendall has quit [Read error: No route to host]
sandelius has joined #ruby-lang
havenwood has joined #ruby-lang
benlovell has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
elia has quit [Quit: Computer has gone to sleep.]
marr has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alestuber has quit [Ping timeout: 252 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
zendrix has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
myork80 has joined #ruby-lang
tibig has quit [Read error: Connection reset by peer]
alestuber has joined #ruby-lang
tibig has joined #ruby-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandelius has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
joaomdmoura has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
wallerdev has joined #ruby-lang
banister has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
tenderlove has quit [Ping timeout: 265 seconds]
chinmay_dd has quit []
fastsyrup has joined #ruby-lang
<fastsyrup> hi guys
dfockler has quit [Remote host closed the connection]
<fastsyrup> short question about syntax
<fastsyrup> def has_chosen?(option) self.choices.include?(option) end
<fastsyrup> now choices is nil
fusillicode has joined #ruby-lang
<fastsyrup> how do I stylishly check choices and only then call choices.include?
ryba has joined #ruby-lang
ryba is now known as simi
Musashi007 has joined #ruby-lang
tenderlove has joined #ruby-lang
fastsyrup has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 265 seconds]
scottschecter has joined #ruby-lang
joaomdmoura has joined #ruby-lang
chussenot has quit [Quit: chussenot]
anjen has quit [Quit: anjen]
Ilyes512 has quit [Quit: Textual IRC Client: www.textualapp.com]
dzejrou has quit [Read error: Connection reset by peer]
__butch__ has joined #ruby-lang
__butch__ has quit [Remote host closed the connection]
myork80 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joaomdmoura has quit []
Guest98 has joined #ruby-lang
Guest98 has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
seank_ has quit [Remote host closed the connection]
b_hoffman has joined #ruby-lang
seank_ has joined #ruby-lang
drewo has quit [Read error: Connection reset by peer]
kadoppe has quit [Ping timeout: 252 seconds]
zendrix has quit [Remote host closed the connection]
kadoppe has joined #ruby-lang
zendrix has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
jgpawletko has joined #ruby-lang
t_ has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
hinbody has quit [Ping timeout: 250 seconds]
RobertBirnie has joined #ruby-lang
_ht has quit [Quit: Konversation terminated!]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
caseypat_ has joined #ruby-lang
caseypatrickdris has quit [Read error: Connection reset by peer]
chussenot has joined #ruby-lang
__butch__ has joined #ruby-lang
caseypat_ has quit [Ping timeout: 265 seconds]
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gambl0re has quit [Ping timeout: 258 seconds]
wallerdev has joined #ruby-lang
chadwtaylor has quit [Quit: Leaving...]
myork80 has joined #ruby-lang
myork80 has quit [Client Quit]
allomov has quit [Remote host closed the connection]
elia has joined #ruby-lang
micmus has quit [Ping timeout: 252 seconds]
bertocode has quit [Quit: Nettalk6 - www.ntalk.de]
djbkd has quit [Remote host closed the connection]
maxshelley has quit [Quit: Textual IRC Client: www.textualapp.com]
drewo has joined #ruby-lang
stardiviner has joined #ruby-lang
zendrix has quit [Remote host closed the connection]
micmus has joined #ruby-lang
djbkd has joined #ruby-lang
djbkd has quit [Read error: Connection reset by peer]
ur5us has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
chungshirley has joined #ruby-lang
djbkd has joined #ruby-lang
chungshirley has quit [Client Quit]
ledestin has joined #ruby-lang
duderonomy has joined #ruby-lang
mberk has joined #ruby-lang
mberk has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
zendrix has joined #ruby-lang
dfockler has joined #ruby-lang
phizzbuzz has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
gamename has quit [Remote host closed the connection]
gamename has joined #ruby-lang
gwendal__ has quit [Remote host closed the connection]
gambl0re has joined #ruby-lang
micmus has quit [Quit: Leaving]
joaomdmoura has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gamename has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
alestuber has quit [Ping timeout: 255 seconds]
tubbo has quit [Ping timeout: 250 seconds]
alestuber has joined #ruby-lang
tubbo has joined #ruby-lang
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has joined #ruby-lang
workmad3 has joined #ruby-lang
alestuber has quit [Ping timeout: 244 seconds]
Musashi007 has joined #ruby-lang
egypt has left #ruby-lang [#ruby-lang]
alestuber has joined #ruby-lang
jgpawletko has joined #ruby-lang
bantic has quit [Quit: bantic]
agarie has quit []
workmad3 has quit [Ping timeout: 272 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zendrix has quit [Remote host closed the connection]
skade has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
jgpawletko has quit [Client Quit]
tubbo has quit [Ping timeout: 276 seconds]
alestuber has quit [Read error: Connection reset by peer]
zendrix has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
alestuber has joined #ruby-lang
workmad3 has joined #ruby-lang
solars has quit [Ping timeout: 255 seconds]
hinbody has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
elia has joined #ruby-lang
enebo has quit [Quit: enebo]
Ox0dea has joined #ruby-lang
Ox0dea has left #ruby-lang [#ruby-lang]
hinbody has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
enebo has joined #ruby-lang
zendrix has quit [Remote host closed the connection]
j4cknewt has quit [Remote host closed the connection]
zendrix has joined #ruby-lang
postmodern has quit [Quit: Leaving]
Mon_Ouie has joined #ruby-lang
imperator has quit [Quit: Leaving]
imperator2 has quit [Quit: Valete!]
mikecmpbll has quit [Quit: i've nodded off.]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enebo has quit [Quit: enebo]
baweaver has quit [Remote host closed the connection]
arBmind1 has quit [Ping timeout: 264 seconds]
tibig has quit [Ping timeout: 256 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arBmind has joined #ruby-lang
GPrime has joined #ruby-lang
baweaver has joined #ruby-lang
Mon_Ouie has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
Mon_Ouie has quit [Client Quit]
Mon_Ouie has joined #ruby-lang
wallerdev has joined #ruby-lang
GPrime has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gwendall has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
matp has quit [Excess Flood]
whippythellama has quit [Quit: whippythellama]
whippythellama has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 240 seconds]
matp has joined #ruby-lang
duderonomy has quit [Ping timeout: 256 seconds]
Musashi007 has quit [Quit: Musashi007]
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
whippythellama has quit [Quit: whippythellama]
workmad3 has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
gwendall has joined #ruby-lang
Musashi007 has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
atomical has joined #ruby-lang
Ropeney has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
b_hoffman has joined #ruby-lang
Musashi007 has quit [Ping timeout: 272 seconds]
premera has quit [Ping timeout: 272 seconds]
gamename has joined #ruby-lang
premera has joined #ruby-lang
gamename has quit [Remote host closed the connection]
centrx has quit [Quit: Shutting down, Please wait...]
hahuang65 has quit [Ping timeout: 255 seconds]
wallerdev has quit [Ping timeout: 265 seconds]
__butch__ has quit [Quit: Leaving.]
<xybre> That shouldn't make `choices` nil, so some other code must be interfering.
djbkd has quit [Remote host closed the connection]
<xybre> Unless you mean choices is just sometimes nil.
iamse7en has joined #ruby-lang
<jhass> uh, they left like 3 hours ago
Musashi007 has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
elia has quit [Read error: Connection reset by peer]
djbkd has joined #ruby-lang
elia has joined #ruby-lang
<womble> IRC is very laggy today.
<xybre> apparently
<xybre> I kidna wish Weechat's "smart" join/part hiding was smarter.
<xybre> Also I should probably set it up to display times in my time zone instead of the timezone of the server I run it on.
GPrime has joined #ruby-lang
<jhass> xybre: set it to 10 minutes, much better IME
<jhass> oh, I have it on 15 actually
chussenot has quit [Quit: chussenot]
<xybre> Sure, it just seems silly that it would hide the part message from the last person who spoke though
<xybre> Even though it'd been 3 hours
<jhass> they quit after 9 minutes
t_ has quit [Read error: Connection reset by peer]
t_ has joined #ruby-lang
duderonomy has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 256 seconds]
dfockler has quit [Remote host closed the connection]