apeiros changed the topic of #ruby to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<zenspider> I have a repo w/ a subdir that I want to keep in sync (one way) with another repo and a different subdir name
<zenspider> zenspider/schemers/little-schemer -> searbsg/little-schemer/zenspider
<jamo_> maybe submodule is more what you want to use?
<zenspider> maybe?
conniemj has joined #ruby
<zenspider> I've never really heard or seen a good thing about submods tho
<jamo_> I'v used submodules a lot
vyorkin has joined #ruby
jonr2219 has joined #ruby
x1337807x has quit [Ping timeout: 240 seconds]
benzrf|offline is now known as benzrf
charliesome has joined #ruby
drewvanstone has joined #ruby
iaj has quit [Ping timeout: 255 seconds]
divi has joined #ruby
graydot has quit [Quit: graydot]
melik_ has joined #ruby
<diegoviola> https://pbs.twimg.com/media/A3VzSuICQAAsqGC.jpg <-- this recruiter said I don't have enough rails experience even though I've been working with it since 2008
<diegoviola> *sigh*
airstream66 has joined #ruby
<diegoviola> really saddened my day
mikepack has joined #ruby
hiyosi has joined #ruby
<diegoviola> :(
x1337807x has joined #ruby
krisquigley has joined #ruby
<shevy> diegoviola perhaps this was the default reply
vyorkin has quit [Ping timeout: 264 seconds]
<benzrf> that's positively rediculis
konsolebox has joined #ruby
jonr22 has quit [Remote host closed the connection]
sinequanon has joined #ruby
melik has quit [Ping timeout: 264 seconds]
jonr2219 has quit [Ping timeout: 265 seconds]
<benzrf> diegoviola: y'd you link a pic of her
<zenspider> diegoviola: recruiters are idiots.
nkumari has joined #ruby
divi has quit [Ping timeout: 264 seconds]
<zenspider> diegoviola: don't let them affect you. and make sure you sign up to recruiterspam.com and forward her mail to it
mikeg has quit [Remote host closed the connection]
pen has joined #ruby
tus has joined #ruby
Kricir has joined #ruby
<rpag> agreed, recruiters are totally useless
<rpag> they can't assess your work
snath has quit [Ping timeout: 240 seconds]
krisquigley has quit [Ping timeout: 240 seconds]
hiyosi has quit [Ping timeout: 240 seconds]
divi has joined #ruby
<diegoviola> benzrf: sorry about that
galeido has quit [Quit: galeido]
<rpag> diegoviola, try talk directly with developers
<rpag> and ignore recruiters
<diegoviola> ok
<diegoviola> zenspider: ok
drewvanstone has quit [Read error: Connection reset by peer]
NoNMaDDeN has joined #ruby
airstream66 has quit [Remote host closed the connection]
djbkd has quit [Quit: My people need me...]
sinequanon has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
<diegoviola> done
NoNMaDDeN has quit [Remote host closed the connection]
graydot has joined #ruby
nateberkopec has quit [Quit: Leaving...]
Hijiri has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
jackjackdrpr has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 265 seconds]
jimms has joined #ruby
tokik has joined #ruby
razieliyo has quit [Quit: Saliendo]
kireevco has quit [Read error: Connection reset by peer]
HACKING-FACEBOOK has quit [Ping timeout: 256 seconds]
<zenspider> diegoviola: you have more rails experience than I do.
Mothore has joined #ruby
jaequery has joined #ruby
zacstewart has quit [Ping timeout: 255 seconds]
<diegoviola> zenspider: thanks, I think you are a great developer also
drewvanstone has joined #ruby
johnsseed has quit [Quit: Page closed]
kireevco has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
j_mcnally has quit [Ping timeout: 265 seconds]
s00pcan has quit [Ping timeout: 258 seconds]
silkfox has joined #ruby
tomato_omelette has joined #ruby
Spami has joined #ruby
GPH|work has quit [Ping timeout: 265 seconds]
snath has joined #ruby
siso has quit [Read error: Connection reset by peer]
<diegoviola> minitest is awesome
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
boombadaroomba has quit [Remote host closed the connection]
butblack has quit [Quit: butblack]
hiyosi has joined #ruby
reinaldob has joined #ruby
<tomato_omelette> I have to check a bunch of boolean values to see if any are true. Is there a better way to do it than this? https://gist.github.com/TomatoOmelette/fa35f944152f2bea4297
HACKING-FACEBOOK has joined #ruby
oo_ has joined #ruby
siso has joined #ruby
perturbation has left #ruby ["Leaving"]
magler has joined #ruby
timonv_ has joined #ruby
<jhass> for starters you can drop the return true if and false
doodlehaus has joined #ruby
davasaurous has quit [Remote host closed the connection]
<tomato_omelette> ok - thanks
Takle_ has quit [Remote host closed the connection]
davasaurous has joined #ruby
<zenspider> diegoviola: thanks
startupality has quit [Quit: startupality]
<zenspider> yup. return true if a || b ; false is entirely equivalent to: a || b
oo_ has quit [Remote host closed the connection]
<tomato_omelette> that's a bad habit of mine
<tomato_omelette> thanks
lucyinthesky has joined #ruby
<diegoviola> it does not sadden me at all if someone thinks I need more experience, all the contrary... I just need to find a job asap to be able to help my family, and this recruiter was a bit rude, so that's what bothered me
<diegoviola> but I'm hoping to find something soon
<tomato_omelette> dear god, I love Ruby
<benzrf> dear god ruby is kind of awful
renderful has quit [Remote host closed the connection]
<zenspider> AMENITIES = %w[dishwasher disposal microwave ...]; ... AMENITIES.any? { |msg| u.send msg }
<zenspider> diegoviola: they're all rude. don't use them. network.
<diegoviola> zenspider: ok
<zenspider> find your own job through people and resources you know
<tomato_omelette> interesting - thanks zenspider
timonv_ has quit [Ping timeout: 264 seconds]
<zenspider> tomato_omelette: not the best in the world... yours is more direct
<jhass> tomato_omelette: assuming unit is an AR model: http://paste.mrzyx.de/pvqrjdgwy
<jhass> but yeah, not sure if that approach is really much better
<tomato_omelette> oooo Ruby 2.0
<jhass> should work with %w likewise
jlast has joined #ruby
<tomato_omelette> interesting - I haven't seen %i before
dseitz has quit [Quit: later]
oo_ has joined #ruby
<jhass> it's symbols
<tomato_omelette> thanks folks -- that should do it, I was just feeling like that was an ugly method, I appreciate your feedback.
<jhass> on the meta level this should probably just delegate to the unit model
<jhass> I feel like listing knows a bit too much about it there
<zenspider> tomato_omelette: sometimes code is ugly
o0oo0o has quit [Remote host closed the connection]
HACKING-FACEBOOK has quit [Ping timeout: 272 seconds]
drewvanstone has quit [Read error: Connection reset by peer]
<tomato_omelette> I'll take your advice
<zenspider> I'd go with jhass' code since it is one hash lookup and not a send to (presumably) a hash lookup
<zenspider> you don't need the %i tho, I don't think
<jhass> zenspider: can I also drag you into replacing all uses of #send with #public_send please? :P
<tomato_omelette> will do, I like it.
<zenspider> jhass: meh
<zenspider> private is stupid. so... no.
<jhass> :(
<jhass> why is private stupid?
jenrzzz has joined #ruby
butblack has joined #ruby
devoldmx33 has quit [Remote host closed the connection]
<zenspider> doesn't actually provide any value but a false sense of security
davasaurous has quit [Remote host closed the connection]
<jhass> maybe to the ruby beginner
<jhass> I see it declarative, "this is not intended for you, you loose my support if you're going to call this"
<zenspider> so does :nodoc:
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo_ has joined #ruby
<jhass> and since I tend to try write short methods that keep one level of abstraction I do quite like to have quite a few of them
<jhass> not for tools like pry
beneggett has joined #ruby
<jhass> or even .methods
<jhass> also declared in code > declared in comments
sevenseacat has joined #ruby
<jhass> but it's all opinion at this point
drewvanstone has joined #ruby
<zenspider> yeah. well... I prefer to have all my methods public. Who knows how they're gonna get used? maybe it'll help someone
<banisterfiend> zenspider do u have any public rails projects? i'm curious how you write rails code
lucyinthesky has left #ruby ["Leaving"]
<banisterfiend> ibet it's really idiosyncratic ;)
Kricir has joined #ruby
MattB2 has quit []
<zenspider> banisterfiend: that's the only place I have to use private is in the controllers
Joufflu has joined #ruby
<zenspider> seattle.rb has a couple rails apps, but none that I was primary on
<zenspider> and they're all fairly standard afaict
doodlehaus has quit [Remote host closed the connection]
<banisterfiend> zenspider yeah, but i wasn't actually implying that, i was just curious how you write rails code, are you following the whole DCI thing?
<banisterfiend> where you Repository objects and so on..
<jhass> anyway, real point about #send/#public_send comes into play if you call foreign code, you might call private API without noticing
drewvanstone has quit [Read error: Connection reset by peer]
Synthead has quit [Remote host closed the connection]
nkumari has quit [Remote host closed the connection]
yetanotherdave has quit [Ping timeout: 255 seconds]
aspires has quit []
jaequery has joined #ruby
drewvanstone has joined #ruby
lucyinthesky has joined #ruby
mloveless has quit [Remote host closed the connection]
<zenspider> banisterfiend: no, I never really grokked DCI. seems like needless complexity
<zenspider> I prefer sinatra if I'm really forced to do webby stuff
<zenspider> but that's rarely the case anyways
x1337807x has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<banisterfiend> zenspider so what do you work on mostly and in which language?
russt has quit [Quit: russt]
galeido has joined #ruby
<zenspider> open source. ruby.
tomeara has joined #ruby
gsd has joined #ruby
<zenspider> tho I'm currently writing scheme / racket
aspires has joined #ruby
<banisterfiend> zenspider you get paid to work on open source?
phutchins has joined #ruby
charliesome has quit [Ping timeout: 256 seconds]
Tricon has joined #ruby
anaeem1 has joined #ruby
charliesome has joined #ruby
baweaver has quit [Remote host closed the connection]
anaeem1 has quit [Read error: Connection reset by peer]
anaeem1 has joined #ruby
reinaldob has quit [Remote host closed the connection]
yetanotherdave has joined #ruby
conniemj has quit [Quit: (null)]
sinequanon has joined #ruby
kl has quit [Ping timeout: 250 seconds]
Shazaum has quit [Quit: Leaving]
Arnie25 has joined #ruby
arooni-mobile has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1 has quit [Ping timeout: 250 seconds]
josephndenton has joined #ruby
stunder has quit [Quit: Screw you guys I'm going home]
phutchins has quit [Ping timeout: 258 seconds]
divi has quit [Ping timeout: 240 seconds]
Tricon has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
karmatr0n has quit [Remote host closed the connection]
checkit has quit [Ping timeout: 258 seconds]
Kricir has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
sinequanon has quit [Ping timeout: 265 seconds]
mrgrieves has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
ghr has joined #ruby
echooo1 has joined #ruby
lampd1 has joined #ruby
melik__ has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
bmichelsen has joined #ruby
echooo has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
mrgrieves has joined #ruby
tvw has quit []
melik_ has quit [Ping timeout: 258 seconds]
robustus has joined #ruby
zacstewart has joined #ruby
disKounted has joined #ruby
aspires has quit []
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has quit [Ping timeout: 264 seconds]
fgo_ has quit [Ping timeout: 244 seconds]
dandaman has joined #ruby
kireevco has quit [Read error: Connection reset by peer]
<dandaman> i have a switch statement, how do i do when 5..<infinity>?
doritostains has quit [Quit: doritostains]
<waxjar> Float::INFINITY
silkfox has quit [Ping timeout: 240 seconds]
kireevco has joined #ruby
<waxjar> dunno if that'd work in a Range with an Integer as the start, though
<waxjar> seems to work fine :)
<dandaman> waxjar: you get what im trying to do though? is using Float::INFINITY the best option here?
<dandaman> my switch is for when it is 2, 3-4, or 5+
<dandaman> im a ruby newb so i wanna learn the best way to do it instead of a way that just works :\\
<jhass> dandaman: look at your input, what are the possible values
<jhass> then think about it, if it's not 2, if it's not 3-4, what can it still be?
robbyoconnor has joined #ruby
<dandaman> jhass: it's based on the number of seats on a plane, so i suppose we wont have a plane with 1000000 passengers anytime in the near future...
<jhass> we also probably won't have one with 0 seats
<jhass> open question is what about 1
Sirupsen has joined #ruby
<waxjar> case statements can have an else clause :)
<dandaman> jhass: that's covered before we get into the switch
<dandaman> waxjar: yeah im just doing 5..1000 and my else breaks it
<jhass> waxjar: that's what I'm getting at ;)
marr has quit [Ping timeout: 264 seconds]
<jhass> dandaman: so when would it ever reach the else
jasooon has joined #ruby
<waxjar> if none of the when clauses match
<waxjar> sorry, i thought that was a question. lol
<dandaman> jhass: when a user accidentally puts in the wrong input
ghostmoth has quit [Quit: ghostmoth]
davasaurous has joined #ruby
<jhass> like?
melik___ has joined #ruby
sea_local has quit [Remote host closed the connection]
rshetty has joined #ruby
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Remote host closed the connection]
quimrstorres has joined #ruby
melik__ has quit [Ping timeout: 264 seconds]
sea_local has joined #ruby
Akagi201 has quit []
divi has joined #ruby
segfalt has quit [Quit: Connection closed for inactivity]
xymbol has joined #ruby
quimrstorres has quit [Ping timeout: 244 seconds]
TheLastExile has joined #ruby
sargas has joined #ruby
eind has joined #ruby
<ohaibbq> dandaman case statements can use conditionals for the "when"
<ohaibbq> so you could do seats > 5
kireevco has quit [Quit: Leaving.]
<dandaman> jhass: as in they mean to put in 100 seats but accidentally put in 1000(slip of the finger)
<jhass> dandaman: but that just would fall into your when 5..Float::Infinity
oleo has quit [Read error: Connection reset by peer]
<dandaman> jhass: right, i was just asking if 5..float::infinity is best practice
<dandaman> or if there was some other syntax i should use
<waxjar> dandaman: what jhass means is that if you handle the case for 0 and 1, else can be your 5 to infinity clause :)
doritostains has joined #ruby
<waxjar> because that'd be the only option left
oleo has joined #ruby
<sevenseacat> 5..float::infinity sounds like a bad idea
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
mikepack has quit [Remote host closed the connection]
b3itz has joined #ruby
JCii8 has joined #ruby
<b3itz> help! line 95, i'm never reaching it: https://gist.github.com/anonymous/2310cc061098ec52afb0
<jhass> not if you only use it for bound checking
wsmoak has quit [Ping timeout: 244 seconds]
<jhass> b3itz: fix your indentation
<b3itz> >.<
doodlehaus has joined #ruby
<jhass> else if -> you probably meant elsif
<b3itz> but for real, i never reach that else
JCii8_ has quit [Ping timeout: 244 seconds]
<b3itz> yes i did
<jhass> expr == false -> !expr
o0oo0o has joined #ruby
lucyinthesky has left #ruby ["Leaving"]
aligo has joined #ruby
<b3itz> even if you remove it and just make it an else, you never reach it
<jhass> if expr; elsif !expr; end -> if expr; else; end
georgedrummond has quit [Remote host closed the connection]
<ohaibbq> b3itz: does ARGV[0] start with "-"?
<b3itz> no, argv0 is 'folder'
SpikeMaster has joined #ruby
georgedrummond has joined #ruby
<ohaibbq> can you paste the updated code, that isn't using the else if
<SpikeMaster> what language is on fire right now? is ruby still on fire?
<shevy> SpikeMaster javascript
dc_ has quit [Remote host closed the connection]
robbyoconnor has quit [Quit: Konversation terminated!]
jonr22 has joined #ruby
hamakn has quit [Remote host closed the connection]
jamescarr has quit [Remote host closed the connection]
fgo_ has joined #ruby
melik____ has joined #ruby
<SpikeMaster> good. I'll focus on javascript
tkuchiki has joined #ruby
<jhass> SpikeMaster: Crystal. It's on hacker news frontpage. Must be the next thing
georgedrummond has quit [Ping timeout: 258 seconds]
dvg-laptop has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
krisquigley has joined #ruby
<jhass> b3itz: it's most likely going into the else clause
melik___ has quit [Ping timeout: 265 seconds]
dcunit3d has quit [Ping timeout: 264 seconds]
<jhass> none of the if clauses inside will ever match though
fandi has quit [Ping timeout: 264 seconds]
fgo_ has quit [Ping timeout: 255 seconds]
jonr22 has quit [Ping timeout: 264 seconds]
Mothore has quit [Ping timeout: 240 seconds]
georgedrummond has joined #ruby
georgedrummond has quit [Remote host closed the connection]
<b3itz> jhass: why
Mothore has joined #ruby
<jhass> if ARGV[0].start_with?('-'); ...; else; # ARGV[0] can't start with - here; if ARGV[0] == '-h' # this can't be true end
bricker`work has quit [Quit: leaving]
Kricir has joined #ruby
tkuchiki has quit [Ping timeout: 258 seconds]
amclain has joined #ruby
<b3itz> ohhhhhhh
<b3itz> hmmm
<ohaibbq> i think you might want to reference [1] instead?
<ohaibbq> if intention is foo.rb dir -d
<b3itz> youre right ohaibbq
<b3itz> i changed that while stumbling with this problem
<ohaibbq> then that breaks the unless args == 1
krisquigley has quit [Ping timeout: 258 seconds]
mloveless has joined #ruby
georgedr_ has joined #ruby
pietr0 has quit [Quit: pietr0]
ReRixo has quit [Ping timeout: 256 seconds]
econerd4ever has quit [Remote host closed the connection]
<b3itz> ok i fixed the args1 and unless statements
<b3itz> still cant reach the else
<b3itz> i understand the logic im using is wrong, but im stuck
davedev24_ has quit []
<b3itz> i need to negate the logic above with start_with?
sargas has quit [Ping timeout: 264 seconds]
<ohaibbq> i need to run, sorry
ohaibbq has quit [Quit: Leaving...]
SpikeMaster has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<jhass> b3itz: unless ARGV.size == 1; else; end
<jhass> when will which branch get run
arescorpio has joined #ruby
atomical has joined #ruby
<b3itz> i changed that to == 5 since we will never get to 5 args
<jhass> for foo.rb foo; foo.rb -l; and foo.rb foo -l
reinaldob has joined #ruby
<b3itz> what??
hamakn has joined #ruby
<jhass> try to formulate positive assertions while possible
iaj has joined #ruby
melik_____ has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<jhass> unless ARGV.size == 5; a; else; b; end; -> if ARGV.size < 5 || ARGV.size > 5; b; else; a; end;
hmsimha has quit [Read error: Connection reset by peer]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hmsimha has joined #ruby
VBlizzard has joined #ruby
Spami has joined #ruby
reinaldob has quit [Ping timeout: 244 seconds]
melik____ has quit [Ping timeout: 244 seconds]
davedev24_ has joined #ruby
Channel6 has joined #ruby
sargas has joined #ruby
Blizzy has quit [Ping timeout: 255 seconds]
VBlizzard has quit [Ping timeout: 255 seconds]
ghr has joined #ruby
echooo has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
echooo1 has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rylee has quit [Max SendQ exceeded]
Rylee has joined #ruby
benweint has quit [Quit: Computer has gone to sleep.]
ghr has quit [Ping timeout: 258 seconds]
dh64 has joined #ruby
wsmoak has joined #ruby
wsmoak has joined #ruby
troyready has quit [Ping timeout: 272 seconds]
butblack has quit [Quit: butblack]
timonv_ has joined #ruby
georgedr_ has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 264 seconds]
georgedrummond has joined #ruby
dc_ has joined #ruby
arup_r has joined #ruby
econerd4ever has joined #ruby
konsolebox has quit [Quit: Leaving]
melik_____ has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
mary5030 has joined #ruby
boombadaroomba has joined #ruby
triple_b has joined #ruby
claptor has joined #ruby
<b3itz> thanks jhass i got it
<b3itz> you were right
georgedrummond has quit [Ping timeout: 255 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
dcunit3d has joined #ruby
melik_____ has joined #ruby
doritostains has quit [Quit: doritostains]
drewvanstone has quit [Quit: Lost terminal]
deric_skibotn has quit [Ping timeout: 265 seconds]
arooni-mobile has quit [Ping timeout: 240 seconds]
mary5030_ has joined #ruby
boombadaroomba has quit [Ping timeout: 255 seconds]
mary5030 has quit [Ping timeout: 258 seconds]
jimbach_ has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
lidaaa has quit [Ping timeout: 265 seconds]
AmBienCeD has quit [Read error: Connection reset by peer]
duncannz has quit [Quit: Leaving]
jackjackdrpr has quit [Quit: Leaving.]
duncannz has joined #ruby
renderful has joined #ruby
karmatr0n has joined #ruby
renderful has quit [Ping timeout: 258 seconds]
jimbach has joined #ruby
tkuchiki has joined #ruby
arooni-mobile has joined #ruby
baweaver has joined #ruby
oo_ has quit [Remote host closed the connection]
perturbation has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sargas has quit [Quit: This computer has gone to sleep]
hiyosi has quit [Ping timeout: 264 seconds]
avrc has joined #ruby
baweaver has quit [Remote host closed the connection]
echooo1 has joined #ruby
oo_ has joined #ruby
echooo has quit [Ping timeout: 240 seconds]
tus has quit [Ping timeout: 265 seconds]
sargas has joined #ruby
b3itz has quit [Quit: Page closed]
dts has quit [Read error: Connection reset by peer]
fgo_ has joined #ruby
dvg-laptop has quit [Quit: dvg-laptop]
dts has joined #ruby
fgo_ has quit [Ping timeout: 258 seconds]
mary5030_ has quit [Remote host closed the connection]
sargas has quit [Ping timeout: 255 seconds]
mary5030 has joined #ruby
triple_b has joined #ruby
jenrzzz_ has joined #ruby
echooo has joined #ruby
triple_b has quit [Client Quit]
tyll_ has joined #ruby
sargas has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
triple_b has joined #ruby
echooo1 has quit [Ping timeout: 255 seconds]
echooo2 has joined #ruby
mary5030 has quit [Ping timeout: 258 seconds]
mary5030_ has joined #ruby
disKounted has quit [Ping timeout: 264 seconds]
psy has quit [Ping timeout: 255 seconds]
tyll has quit [Ping timeout: 244 seconds]
echooo has quit [Ping timeout: 240 seconds]
psy has joined #ruby
jasooon has quit [Ping timeout: 244 seconds]
echooo has joined #ruby
dts has quit [Ping timeout: 240 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! ( www.adiirc.com]
jenrzzz_ has quit [Ping timeout: 265 seconds]
echooo2 has quit [Ping timeout: 255 seconds]
lidaaa has joined #ruby
krz has joined #ruby
psy has quit [Ping timeout: 240 seconds]
graydot has quit [Quit: graydot]
arquebus has joined #ruby
rshetty has quit [Remote host closed the connection]
NoNMaDDeN has joined #ruby
oo_ has quit [Remote host closed the connection]
karmatr0n has quit [Remote host closed the connection]
ghr has joined #ruby
xcesariox has joined #ruby
tastycode has quit [Quit: tastycode]
arooni-mobile has quit [Ping timeout: 265 seconds]
tus has joined #ruby
dts has joined #ruby
oo_ has joined #ruby
echooo1 has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
echooo has quit [Ping timeout: 272 seconds]
mikepack has joined #ruby
skysploit has joined #ruby
skysploit has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 250 seconds]
ChoiKyuSang has joined #ruby
ajaiswal has joined #ruby
Kricir has quit [Remote host closed the connection]
skysploit has joined #ruby
perturbation has quit [Quit: Leaving]
psy has joined #ruby
fuhgeddaboudit has joined #ruby
v0n has quit [Ping timeout: 272 seconds]
mary5030_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
Kricir has joined #ruby
mary5030_ has joined #ruby
Ulrike_Rayne has quit [Quit: asche zu asche und staub zu staub.]
kurstin has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
Kricir has quit [Ping timeout: 255 seconds]
escapement has joined #ruby
rumitte has joined #ruby
kireevco has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
kireevco has quit [Client Quit]
kireevco has joined #ruby
psy has quit [Ping timeout: 244 seconds]
dts has quit [Read error: Connection reset by peer]
hiyosi has joined #ruby
krisquigley has joined #ruby
<sevenseacat> so ive just found this `taxon ||= taxon` in code, which seems to define taxon if its not defined... somehow
oo_ has joined #ruby
bwilson has joined #ruby
dts has joined #ruby
bwilson is now known as Disorganized
<sevenseacat> can someone help me understand that?
bluOxigen has joined #ruby
jaequery has joined #ruby
radic has quit [Ping timeout: 240 seconds]
<mozzarella> it creates the variable if it doesn't exist
<sevenseacat> yes, but how
<sevenseacat> if it doesnt exist, why doesnt it error out
krisquigley has quit [Ping timeout: 240 seconds]
hiyosi has quit [Ping timeout: 240 seconds]
karmatr0n has joined #ruby
econerd4ever has quit [Remote host closed the connection]
echevemaster has joined #ruby
econerd4ever has joined #ruby
radic has joined #ruby
rshetty has joined #ruby
jimbach has quit [Remote host closed the connection]
sargas has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
jimbach has joined #ruby
rshetty has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
fgo_ has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
Mothore_ has joined #ruby
<Areessell> perhaps taxon is also a method name?
diegoviola has quit [Remote host closed the connection]
<benzrf> >> x ||= x; x
<eval-in__> benzrf => nil (https://eval.in/226502)
<mozzarella> no
dc_ has quit [Remote host closed the connection]
<sevenseacat> it returns either the existing value or nil
<sevenseacat> but either way, it defines the variable
<Areessell> lol right so it's redundant
econerd4ever has quit [Ping timeout: 256 seconds]
<benzrf> when you say `var = expr', var gets set to nil while expr is being evaluated
<benzrf> (if var doesnt already exist)
<benzrf> >> a = a; a
<eval-in__> benzrf => nil (https://eval.in/226503)
pmarreck is now known as lectrick
<mozzarella> I'm pretty sure ||= is special
lectrick has quit [Changing host]
lectrick has joined #ruby
jimbach has quit [Ping timeout: 258 seconds]
Ulrike_Rayne has joined #ruby
Mothore has quit [Ping timeout: 258 seconds]
jimbach has joined #ruby
dcunit3d has quit [Ping timeout: 250 seconds]
tobago has joined #ruby
sargas has quit [Ping timeout: 245 seconds]
wsmoak has quit [Quit: wsmoak]
tacit7 has joined #ruby
<eam> >> if true; a = 1; else b = 1; end; [a, b]
<eval-in__> eam => [1, nil] (https://eval.in/226504)
<mozzarella> indeed, special case for ||=
<eam> mozzarella: why do you say that?
dh64 has quit [Excess Flood]
<mozzarella> eam: why not?
sargas has joined #ruby
<eam> why not what?
dh64 has joined #ruby
Arnie25 has quit [Changing host]
Arnie25 has joined #ruby
<mozzarella> why not say that?
tkuchiki has quit [Remote host closed the connection]
<eam> because you haven't suggested why it would be true?
oo_ has joined #ruby
tkuchiki has joined #ruby
dandaman has quit [Quit: Leaving.]
tomeara has quit [Ping timeout: 240 seconds]
<mozzarella> what are you trying to say
<eam> I'll repeat myself: Why do you say that it's special?
<mozzarella> that ruby gives a default value of nil right when it sees the name?
cleopatra has quit [Remote host closed the connection]
<eam> mozzarella: yes, that's how ruby works, unrelated to the =|| operator
<eam> it is not a special case
<mozzarella> I guess it makes sense
jenrzzz has joined #ruby
xenomorph is now known as {xenomorph}
jenrzzz has quit [Signing in (jenrzzz)]
jenrzzz has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
braincrash has quit [Quit: bye bye]
echooo1 has quit [Read error: Connection reset by peer]
<eam> did I type =|| instead of ||=
<mozzarella> >> a = a
<eval-in__> mozzarella => nil (https://eval.in/226505)
<eam> mozzarella: see also the if/else above
<eam> >> if true; a = 1; else b = 1; end; [a, b]
<eval-in__> eam => [1, nil] (https://eval.in/226506)
<eam> b is never set to nil!
oo_ has quit [Ping timeout: 258 seconds]
{xenomorph} is now known as xenomorph
<mozzarella> neither is a in "a = a"
preyalone has joined #ruby
sargas has quit [Quit: Leaving]
dh64 has quit [Ping timeout: 264 seconds]
butblack has joined #ruby
<eam> right, but it is because all names start out nil when they are created
tkuchiki has quit [Ping timeout: 255 seconds]
<eam> and sometimes they're created by codepaths which are never executed, or in nonintuitive ordering (a = a)
<eam> >> z = 1 if false; z
<eval-in__> eam => nil (https://eval.in/226507)
<eam> pretty oddball
<mozzarella> >> a >> a
<eval-in__> mozzarella => undefined local variable or method `a' for main:Object (NameError) ... (https://eval.in/226508)
<mozzarella> only seems to work with assignments
braincrash has joined #ruby
<eam> only assignments can create local variables
timonv_ has joined #ruby
chrishough has joined #ruby
<eam> >> is just a method call on an object, doesn't create anything
<eval-in__> eam => /tmp/execpad-082a36db1c22/source-082a36db1c22:2: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' ... (https://eval.in/226509)
<eam> whoops
<mozzarella> lel
Cache_Money has joined #ruby
<eam> if ruby had explicit declaration this would be more clear imo
<eam> and real blocks around things like conditionals
arquebus has quit [Quit: Konversation terminated!]
dts has quit [Read error: Connection reset by peer]
Dopagod has joined #ruby
michael_mbp has quit [Excess Flood]
timonv_ has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
michael_mbp has joined #ruby
jimbach has quit [Remote host closed the connection]
skysploit has quit []
ghr has quit [Ping timeout: 255 seconds]
mary5030_ has quit [Remote host closed the connection]
mjwhitta has joined #ruby
mary5030 has joined #ruby
JCii8_ has joined #ruby
mjwhitta has quit [Client Quit]
mary5030_ has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
echooo has joined #ruby
klmlfl has quit [Remote host closed the connection]
JCii8 has quit [Ping timeout: 244 seconds]
arup_r has joined #ruby
gsd has joined #ruby
rubie has quit [Quit: Page closed]
Photism has joined #ruby
marcdel_ has joined #ruby
divi has joined #ruby
aligo has quit [Remote host closed the connection]
mary5030_ has quit [Remote host closed the connection]
mary5030 has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
aspires has joined #ruby
mary5030 has joined #ruby
tkuchiki has joined #ruby
melik_____ has quit [Quit: (null)]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
arup_r has quit [Quit: Leaving.]
kyb3r_ has joined #ruby
n_blownapart has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gsd has joined #ruby
aspires has quit []
tacit7 has quit [Quit: Leaving.]
renderful has joined #ruby
siso has quit [Quit: siso]
arescorpio has quit [Remote host closed the connection]
renderful has quit [Ping timeout: 258 seconds]
<n_blownapart> evening. kindly critique this section of a ruby koan. it should be getting a score of 1050 but I can't find the problem. . thanks: http://pastie.org/9743952
keen___________8 has quit [Quit: Tiarra 0.1+svn-39209: SIGTERM received; exit]
Lilian has quit [Ping timeout: 250 seconds]
dandaman has joined #ruby
psy has joined #ruby
keen_ has joined #ruby
<n_blownapart> I realize it's basic. I don't understand how to put the conditional statements within the block. ^
<sevenseacat> fix you indentation
<sevenseacat> becuase all your ends are in the wrong place
dandaman has left #ruby [#ruby]
krz has quit [Quit: WeeChat 1.0.1]
rshetty has quit [Remote host closed the connection]
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
escapement has quit [Quit: Textual IRC Client: www.textualapp.com]
Lilian has joined #ruby
lemur has joined #ruby
coderhs has joined #ruby
coderhs has quit [Client Quit]
<n_blownapart> sevenseacat, you came through again. really appreciate it. I still have a poor handle on scope.
patrick99e99 has quit [Ping timeout: 272 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
<n_blownapart> working on it ^^
tlarevo has joined #ruby
kyb3r_ has joined #ruby
rshetty has joined #ruby
St_Marx has quit [Ping timeout: 250 seconds]
devoldmx33 has joined #ruby
fabrice31 has joined #ruby
greenbagels_ has joined #ruby
hmsimha has quit [Ping timeout: 255 seconds]
rshetty has quit [Remote host closed the connection]
greenbagels has quit [Ping timeout: 258 seconds]
tacit7 has joined #ruby
St_Marx has joined #ruby
greenbagels_ has quit [Read error: Connection reset by peer]
devoldmx33 has quit [Ping timeout: 255 seconds]
kyb3r_ has quit [Quit: Leaving]
fabrice31 has quit [Ping timeout: 255 seconds]
maestrojed has joined #ruby
Morkel has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
Megtastique has joined #ruby
blackgoat has quit [Quit: reboot]
anaeem1_ has joined #ruby
rshetty has joined #ruby
bjornar has quit [Ping timeout: 250 seconds]
tlarevo has quit [Ping timeout: 250 seconds]
rshetty_ has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 244 seconds]
anaeem1_ has quit [Ping timeout: 240 seconds]
uber_hulk has joined #ruby
rumitte has quit [K-Lined]
jusmyth has joined #ruby
ta__ has quit [Ping timeout: 245 seconds]
zacstewart has joined #ruby
x1337807x has joined #ruby
bjornar has joined #ruby
devoldmx33 has joined #ruby
ta has joined #ruby
fumk has quit [Ping timeout: 255 seconds]
tus has quit []
robbyoconnor has joined #ruby
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
fedexo has joined #ruby
fgo_ has quit [Ping timeout: 256 seconds]
quazimodo has joined #ruby
<quazimodo> hulla
hmsimha has joined #ruby
kiyote23 has quit [Ping timeout: 272 seconds]
agjacome has quit [Quit: leaving]
blackgoat has joined #ruby
davasaurous has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 255 seconds]
davasaurous has joined #ruby
devoldmx33 has quit [Ping timeout: 244 seconds]
robbyoconnor has joined #ruby
devoldmx has joined #ruby
cmckee has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fuhgeddaboudit has quit [Ping timeout: 272 seconds]
gr33n7007h has quit [Ping timeout: 250 seconds]
ecksit has joined #ruby
Megtastique has quit []
cmckee has left #ruby [#ruby]
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tobago has quit [Remote host closed the connection]
tobago has joined #ruby
kiyote23 has joined #ruby
xymbol has quit [Quit: Be back later ...]
samsquanch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spastorino has quit [Quit: Connection closed for inactivity]
jonr22 has joined #ruby
jimbach has joined #ruby
kobain has quit [Ping timeout: 240 seconds]
ItSANgo has quit [Quit: Leaving...]
hiyosi has joined #ruby
krisquigley has joined #ruby
jonr22 has quit [Ping timeout: 255 seconds]
cleopatra has joined #ruby
dc_ has joined #ruby
dcunit3d has joined #ruby
jimbach has quit [Ping timeout: 258 seconds]
oo_ has quit [Remote host closed the connection]
sinequanon has joined #ruby
randomize____ has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
JasonSW has joined #ruby
Scripore has quit [Ping timeout: 258 seconds]
<JasonSW> !balance
krisquigley has quit [Ping timeout: 255 seconds]
freerobby has quit [Quit: Leaving.]
JasonSW has left #ruby [#ruby]
randomize____ has left #ruby [#ruby]
arup_r has joined #ruby
msmith has joined #ruby
timonv_ has joined #ruby
kh019267 has joined #ruby
kiyote23 has quit [Ping timeout: 264 seconds]
timonv_ has quit [Ping timeout: 240 seconds]
zacstewart has quit [Ping timeout: 258 seconds]
econerd4ever has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
tacit7 has quit [Quit: Leaving.]
benweint has joined #ruby
Trynemjoel has joined #ruby
oo_ has joined #ruby
tacit7 has joined #ruby
tacit7 has quit [Client Quit]
jenrzzz has joined #ruby
tacit7 has joined #ruby
chu has joined #ruby
fgo_ has joined #ruby
hmsimha has quit [Ping timeout: 255 seconds]
lxsameer has joined #ruby
Kricir has joined #ruby
ItSANgo has joined #ruby
tastycode has joined #ruby
kiyote23 has joined #ruby
blueOxigen has joined #ruby
<Areessell> >> class Formatter; class Mine < Formatter; end; end; Formatter::Mine::Mine::Mine::Mine::Mine
<eval-in__> Areessell => Formatter::Mine (https://eval.in/226527)
<Areessell> Any way to prevent that behaviour?
<Areessell> I usually throw end up with Formatter (in this case) being a module, then having a Formatter::Base and Formatter::Mine < Formatter::Base but that's getting tiring
bluOxigen has quit [Ping timeout: 244 seconds]
tlarevo has joined #ruby
karmatr0n has quit [Remote host closed the connection]
gsd has joined #ruby
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
lolmaus has joined #ruby
melik_____ has joined #ruby
gsd has quit [Client Quit]
jlast has quit [Ping timeout: 258 seconds]
josephndenton has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
Abhijit has joined #ruby
fumk has joined #ruby
niftylettuce has quit [Quit: Connection closed for inactivity]
<n_blownapart> I've been trying to get my end statements right. what is wrong here? where does the accumulator (accum) go? thanks pastie.org/9744030
thomas has quit [Quit: Reconnecting]
dts has joined #ruby
oleo has quit [Quit: Verlassend]
thomas has joined #ruby
vyorkin has joined #ruby
echooo1 has joined #ruby
<eam> n_blownapart: accum is scoped to the h.each do - end block
<eam> it goes away each loop
echooo has quit [Ping timeout: 264 seconds]
mbytes has joined #ruby
<eam> n_blownapart: initialize it up where you initialize count
sinequanon has quit [Remote host closed the connection]
echooo has joined #ruby
<n_blownapart> eam I tried that thanks. something else is up..
<eam> >> 5.times do x = 5 end; x
<eval-in__> eam => undefined local variable or method `x' for main:Object (NameError) ... (https://eval.in/226530)
<eam> >> x = nil; 5.times do x = 5 end; x
<eval-in__> eam => 5 (https://eval.in/226531)
krz has joined #ruby
<eam> n_blownapart: saying you tried that without explaining the results isn't going to bring you closer to a solution
<eam> try explaining what you did specifically and what you observed
patrick99e99 has joined #ruby
mbytes has quit [Client Quit]
<n_blownapart> eam thanks one sec
echooo1 has quit [Read error: Connection reset by peer]
sinequanon has joined #ruby
benweint has quit [Read error: Connection reset by peer]
felipedvorak341 has joined #ruby
ferr has joined #ruby
msmith has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
vyorkin has quit [Ping timeout: 240 seconds]
felipedvorak has quit [Ping timeout: 245 seconds]
kiyote23 has quit [Ping timeout: 265 seconds]
kp666 has joined #ruby
mary5030 has joined #ruby
hmsimha has joined #ruby
sinequanon has quit [Remote host closed the connection]
sinequanon has joined #ruby
kiyote23 has joined #ruby
<quazimodo> does gets use stdin or tty??
<quazimodo> it's a tty thing isn't it
xymbol has joined #ruby
<eam> quazimodo: it uses stdin, which is generally a tty if your program runs in a terminal
<eam> it will work just fine when stdin isn't a tty, however
<eam> quazimodo: I should say, that would be STDIN.gets
<eam> gets will work on any IO
<n_blownapart> eam please critique before I attempt to place the 'puts accum' statement
<n_blownapart> http://pastie.org/9744049 ^
mary5030 has quit [Ping timeout: 258 seconds]
<quazimodo> eam: I'm having trouble. aruba is being weird
<quazimodo> when i spawn my program using PTY I can interactively read and write to it
<quazimodo> i switched to aruba to make testing easier, now it's not allowing that
sinequanon has quit [Remote host closed the connection]
butblack has left #ruby [#ruby]
dts has quit [Read error: Connection reset by peer]
<eam> n_blownapart: you probably want accum = count.reduce :+ after you put data in count
sinequanon has joined #ruby
<eam> quazimodo: what's aruba?
ebbflowgo has joined #ruby
<quazimodo> eam: the binary just prints "hi", then does a loop and foo = gets; puts "you said #{foo}"
<eam> oh
<ebbflowgo> hi
<quazimodo> aruba is an rspec/cucumber test helper for cli programs
<eam> quazimodo: yes, the terminal interaction is important in that context
<quazimodo> eam how so?
echooo1 has joined #ruby
<eam> not because gets depends on a tty, but because when you type in a terminal and hit "enter", the "enter" which sends data is a terminal operation
<quazimodo> so my stdin needs to send enter?
echooo has quit [Ping timeout: 240 seconds]
<n_blownapart> eam I put it everywhere after the four if statements possible. everything else is correct?
<quazimodo> that's not the problem
<quazimodo> first thing it does is puts
<quazimodo> I cant even get that from the stdout till aruba terminates the process
<quazimodo> i dno... something weirds going oon
framling has joined #ruby
xymbol has quit [Ping timeout: 264 seconds]
sinequanon has quit [Remote host closed the connection]
<eam> quazimodo: you haven't describe what you're doing different when it doesn't work, but it's probably the case that it's either not connected to your terminal, or your terminal settings are changed such that the line isn't being sent
apeiros_ has quit [Ping timeout: 255 seconds]
Arnie25 has quit [Ping timeout: 265 seconds]
boombadaroomba has joined #ruby
amclain has quit [Quit: Leaving]
echevemaster has quit [Quit: WeeChat 1.0.1]
<quazimodo> eam: it's hard to describe to you. I'm too ignorant of the features to be able to even articulate the scenario
<quazimodo> long story short
hmsimha has quit [Ping timeout: 255 seconds]
<eam> is this linux
<pontiki> THIS IS SPARTA
<quazimodo> my binary does a puts "hi" first, and the spawned process's stdout *doesn't* have that in it till I terminate it, at which point something called @output_cache on the aruba spawend object holds the "hi"
* eam kicks ruby into the well
<quazimodo> weird eh
<quazimodo> am i supposed to flush things?
<eam> quazimodo: perhaps aruba (whatever that is?) is connected to both the process's stdin and stdout
<eam> you can use "lsof" to look at that
bigmac has quit [Ping timeout: 255 seconds]
<pontiki> aruba does connect up around the stdin/stdout/stderr of the process under test
<eam> pontiki: wtf is aruba
<pontiki> i haven't explored the innards, but it's testing is based on that
<pontiki> it's a cucumber extension for testing command line programs
<eam> cucumber extension sounds filthy
<n_blownapart> !!
boombadaroomba has quit [Ping timeout: 245 seconds]
<pontiki> it came built in to methadone, and i used it a bit there
<pontiki> now i don't bother, don't bother much with cucumber unless i have to
<quazimodo> eam: so what if it is?
<quazimodo> eam: you can't have connected to both and be ok??
davasaurous has quit [Remote host closed the connection]
neoxquick has quit [Read error: Connection reset by peer]
<eam> well, you'll need aruba to send the data to gets
kurstin has quit [K-Lined]
<quazimodo> jee i wish i knew linux pipes/io better
renderful has joined #ruby
jlast has joined #ruby
<quazimodo> boxing... bbl
tagrudev has joined #ruby
<n_blownapart> eam so that accum is in the wrong place on the fourth line?
chu has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
lampd1 has quit []
<n_blownapart> http://pastie.org/9744061 ^
<eam> n_blownapart: yes, you probably want it after line 30
<eam> just before the last end
<eam> BUT
Mothore_ has quit [Quit: Be back later ...]
<eam> well, no but, try that
<n_blownapart> eam gives error: group_by.rb:7:in `score': undefined local variable or method `h' for main:Object (NameError)
renderful has quit [Ping timeout: 258 seconds]
fabrice31 has joined #ruby
<n_blownapart> oh scratch that. I made a typo eam
aspires has joined #ruby
echooo1 has quit [Ping timeout: 255 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
jenrzzz has quit [Ping timeout: 264 seconds]
Soda has joined #ruby
bluOxigen has joined #ruby
Channel6 has quit [Quit: Leaving]
last_staff has joined #ruby
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
fgo_ has quit [Ping timeout: 240 seconds]
excoin-arturo has joined #ruby
kiyote23 has quit [Ping timeout: 258 seconds]
anaeem1_ has joined #ruby
<excoin-arturo> hello
fabrice31 has quit [Ping timeout: 244 seconds]
blueOxigen has quit [Ping timeout: 258 seconds]
<n_blownapart> http://pastie.org/9744071 << this is what I have eam. thanks for the tolerance
<n_blownapart> I
<n_blownapart> I
preyalone has quit [Quit: Connection closed for inactivity]
econerd4ever has quit [Remote host closed the connection]
<n_blownapart> I'm getting a blank space in the output 4;1; . ^
nagaraj has joined #ruby
mikepack has quit [Remote host closed the connection]
jenrzzz has joined #ruby
bmichelsen has quit [Quit: ZZZzzz…]
SCHAAP137 has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
blueOxigen has joined #ruby
charliesome has quit [Quit: zzz]
devoldmx has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 240 seconds]
fandi has joined #ruby
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has quit [Max SendQ exceeded]
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has quit [Max SendQ exceeded]
jonr22 has joined #ruby
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has quit [Max SendQ exceeded]
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has quit [Client Quit]
sski has joined #ruby
jonr2219 has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
codecop has joined #ruby
crdpink has quit [Ping timeout: 258 seconds]
sinkensabe has joined #ruby
Kricir has quit [Remote host closed the connection]
<n_blownapart> hi last shot at this tonight. anyone see why I am not seeing a score from this accum = score.reduce(:+) statement? thank you : http://pastie.org/9744079
jonr22 has joined #ruby
noop has joined #ruby
nrsk has joined #ruby
jonr2219 has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
bal1 has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
<n_blownapart> the puts statement is present pastie.org/9744095 but there is no output.
econerd4ever has joined #ruby
nfk has joined #ruby
reinaldob has joined #ruby
crdpink has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
jonr2219 has joined #ruby
fgo_ has joined #ruby
ta has quit [Remote host closed the connection]
Xiti has quit [Quit: Xiti]
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has quit [Max SendQ exceeded]
puppeh has left #ruby ["Leaving..."]
jonr2219 has quit [Read error: Connection reset by peer]
josephndenton has quit [Ping timeout: 265 seconds]
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has quit [Max SendQ exceeded]
jonr22 has joined #ruby
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has quit [Max SendQ exceeded]
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has quit [Max SendQ exceeded]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AliRezaTaleghani has joined #ruby
disKounted has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
AliRezaTaleghani has quit [Max SendQ exceeded]
jonr22 has joined #ruby
AliRezaTaleghani has joined #ruby
reinaldob has quit [Ping timeout: 240 seconds]
AliRezaTaleghani has quit [Max SendQ exceeded]
andikr has joined #ruby
AliRezaTaleghani has joined #ruby
AliRezaTaleghani has quit [Max SendQ exceeded]
aspires has quit []
excoin-arturo has left #ruby [#ruby]
<BraddPitt> well, are the 3 conditions being satisfied?
<BraddPitt> line 10, 11 and 14 need to be true, and 15 needs to be not true
<BraddPitt> I would suggest putting a `puts` statement after each of those points to see where you are and are not getting
crdpink has quit [Excess Flood]
timonv_ has joined #ruby
crdpink has joined #ruby
<n_blownapart> BraddPitt, thanks very much . please stand by if you have time
<BraddPitt> sure thing
clauswitt has joined #ruby
jonr22 has quit [Remote host closed the connection]
<n_blownapart> BraddPitt, 15 should be not true?
jonr22 has joined #ruby
dseitz has joined #ruby
adriancb has quit [Remote host closed the connection]
<BraddPitt> if 15 is true, then like 19 is skipped
<BraddPitt> s/like/line
<BraddPitt> so conversely, if you want line 19 to execute, line 15 HAS to be false
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
timonv_ has quit [Remote host closed the connection]
hiyosi has joined #ruby
<n_blownapart> BraddPitt, I'm expecting a score of 1050, since there is one 5 thrown with the dice.
krisquigley has joined #ruby
timonv_ has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
jonr22 has joined #ruby
Hijiri has quit [Ping timeout: 265 seconds]
econerd4ever has quit [Remote host closed the connection]
Hijiri_ has joined #ruby
jonr22 has quit [Remote host closed the connection]
econerd4ever has joined #ruby
jonr22 has joined #ruby
anarang has joined #ruby
crdpink has quit [Ping timeout: 258 seconds]
<BraddPitt> it seems v.size never increases beyond 1
Hijiri_ is now known as Hijiri
hiyosi has quit [Ping timeout: 244 seconds]
rshetty_ has quit [Remote host closed the connection]
ItSANgo has quit [Quit: Leaving...]
krisquigley has quit [Ping timeout: 245 seconds]
<BraddPitt> excuse, I'm wrong there
jonr2219 has joined #ruby
jonr22 has quit [Remote host closed the connection]
xymbol has joined #ruby
<BraddPitt> run this, n_blownapart http://pastie.org/9744125
<BraddPitt> hopefully the puts statement will point you in the right direction
<n_blownapart> thanks very much BraddPitt I'm on it
ht__th has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
jonr2219 has quit [Read error: Connection reset by peer]
econerd4ever has quit [Ping timeout: 272 seconds]
fgo_ has quit [Ping timeout: 244 seconds]
cmckee has joined #ruby
Hijiri has quit [Ping timeout: 240 seconds]
JCii8_ has quit [Ping timeout: 244 seconds]
jonr2219 has joined #ruby
oo_ has joined #ruby
xymbol has quit [Ping timeout: 255 seconds]
fantazo has joined #ruby
<n_blownapart> so the thing is BraddPitt . throwing 3 ones ( first if statements) wins you 1000 points. so I'm expecting line 24 accum variable to do the math: 1050. Is it out of the proper scope ?
i5um41ru has joined #ruby
<i5um41ru> please help on how to install dbi on ruby
jonr2219 has quit [Read error: Connection reset by peer]
jonr22_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
ajaiswal has quit [Quit: Leaving]
ajaiswal has joined #ruby
relampago has joined #ruby
jonr22_ has quit [Read error: Connection reset by peer]
<n_blownapart> by the way, there is a puts statement on line 24 'puts accum = count.reduce(:+)' ^^
jonr22 has joined #ruby
rumitte has joined #ruby
rumitte is now known as Guest1882
relampago has quit [Client Quit]
jonr22 has quit [Read error: Connection reset by peer]
aganov has joined #ruby
jonr2219 has joined #ruby
<BraddPitt> right n_blownapart, but in order for the `count << 1000` to execute, h[k] must be 1 AND v.size must be >= 3
Takle has joined #ruby
<BraddPitt> that condition is never met with the current input
<BraddPitt> we get v.size 1 and h[k] value 1, or we get v.size 4 and h[k] value 4
despai has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
jonr22 has joined #ruby
davasaurous has joined #ruby
<n_blownapart> BraddPitt, one sec new pastie coming with some added lines.
jonr2219 has quit [Read error: Connection reset by peer]
<BraddPitt> sure thing
Takle has quit [Client Quit]
despai has quit [Client Quit]
quarcu has quit [Quit: ZNC - http://znc.in]
Takle has joined #ruby
<i5um41ru> anyone can help me? i want use ruby to connect to mysql server
jlast has quit [Ping timeout: 258 seconds]
jonr2219 has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
kwd has joined #ruby
Hijiri has joined #ruby
Mothore_ has joined #ruby
davasaurous has quit [Ping timeout: 255 seconds]
<BraddPitt> and a more in-depth tutorial: http://zetcode.com/db/mysqlrubytutorial/
<n_blownapart> BraddPitt, line 5 and particularly line 9 make me think that the "thrown dice" should result in 1050
jonr2219 has quit [Remote host closed the connection]
<n_blownapart> http://pastie.org/9744158 ^^
ecksit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonr22 has joined #ruby
Abhijit has quit [Ping timeout: 250 seconds]
<BraddPitt> why do you think that?
jonr2219 has joined #ruby
Blizzy has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
<n_blownapart> k[1] = 4, k[5] = 1 << the output amounts to this {1=>4, 5=>1} BraddPitt
Mothore_ has quit [Ping timeout: 255 seconds]
hmsimha has joined #ruby
<n_blownapart> because the rules of the game are that three ones win you 1000 points, and a five wins you 50 points.
Macaveli has joined #ruby
<n_blownapart> this is a partial solution to a dice game from the ruby koans. BraddPitt
benzrf is now known as benzrf|offline
fabrice31 has joined #ruby
jonr22 has joined #ruby
jonr2219 has quit [Read error: Connection reset by peer]
<BraddPitt> yes, but in a nested `if` statement, you need to satisfy ALL outer layers in order for the inner statement to execute
rothman has joined #ruby
rothman has left #ruby [#ruby]
bigkevmcd has joined #ruby
arup_r has quit [Remote host closed the connection]
<n_blownapart> the score arg is score([1,1,1,5,1]) , the first 'throw' , so are not all the if statements satisfied?
<n_blownapart> BraddPitt, ^
<pontiki> how would line 17 ever be executed if line 13 is true?
Trynemjoel has quit [Ping timeout: 265 seconds]
arup_r has joined #ruby
<BraddPitt> h[k] cannot be both == 1 and == to 5
jonr2219 has joined #ruby
xcesariox has quit [Read error: Connection reset by peer]
<n_blownapart> pontiki, thanks for that, should I use case statements here?
<pontiki> i don't know, i don't know what this is supposed to do
LekeFly has joined #ruby
jonr2219 has quit [Remote host closed the connection]
jonr2219 has joined #ruby
michael_mbp has quit [Excess Flood]
ta has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
ghostlines has joined #ruby
HayesHimself has joined #ruby
yetanotherdave has quit [Quit: Lost terminal]
jonr22 has joined #ruby
jonr2219 has quit [Read error: Connection reset by peer]
michael_mbp has joined #ruby
<n_blownapart> the blocks and group_by give us this: {1=>4, 5=>1}, which groups the die throws. with the first throw, there are 4 one's thrown, and 1 five. according to the rules, a minimum of 3 ones thrown scores 1000, and every 5 thrown scores only 50.
Hijiri has quit [Ping timeout: 272 seconds]
jonr22 has quit [Remote host closed the connection]
lidaaa has quit [Ping timeout: 244 seconds]
jonr22 has joined #ruby
<BraddPitt> besides that, do combinations matter?
<BraddPitt> or ordering?
econerd4ever has joined #ruby
dumdedum has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
Trynemjoel has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
<n_blownapart> no. there are a bunch of rules based just on numbers thrown of certain numbers. i.e. 3 thrown of a 2,3 or 4 score 100 times that number. BraddPitt
Hijiri has joined #ruby
jonr22 has joined #ruby
arup_r has quit [Remote host closed the connection]
<BraddPitt> then I think a case statement is most appropriate
sinkensabe has quit []
<n_blownapart> 3 3's scores 300
<BraddPitt> ah
<BraddPitt> yeah, this is a bit more advanced
<BraddPitt> with so many combinations in games like dice or poker, a decision tree is the best bet
<n_blownapart> BraddPitt, ok, thanks so much. I'm going to slog through it tomorrow. much appreciated
Takle_ has joined #ruby
<BraddPitt> sure thing
tastycode has quit [Quit: tastycode]
<n_blownapart> pax
jonr22 has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
Takle has quit [Ping timeout: 272 seconds]
jonr22 has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
tacit7 has quit [Quit: Leaving.]
josephndenton has joined #ruby
Takle_ has quit [Read error: Connection reset by peer]
echooo has joined #ruby
bmichelsen has joined #ruby
Takle has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
jlast has joined #ruby
jonr22 has joined #ruby
n_blownapart has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 258 seconds]
jonr2219 has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
josephndenton has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
jonr22 has joined #ruby
jonr2219 has quit [Read error: Connection reset by peer]
nitrocell has joined #ruby
sski has quit [Remote host closed the connection]
robbyoconnor has quit [Remote host closed the connection]
sski has joined #ruby
xcesariox has joined #ruby
jonr2219 has joined #ruby
uber_hulk has quit [Ping timeout: 272 seconds]
ta has quit [Remote host closed the connection]
<xcesariox> can someone help me out with my rspec errors? https://gist.github.com/shaunstanislaus/6d22509d66890ff0f4c0
x1337807x has quit [Ping timeout: 255 seconds]
<sevenseacat> xcesariox: you're parsing nothing
Alina-malina has quit [Ping timeout: 256 seconds]
<sevenseacat> what part of the error dont you understand
jonr22_ has joined #ruby
jonr2219 has quit [Read error: Connection reset by peer]
jonr22 has quit [Ping timeout: 240 seconds]
robbyoconnor has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
sski has quit [Ping timeout: 240 seconds]
dumdedum has quit [Ping timeout: 255 seconds]
<xcesariox> sevenseacat: see this https://gist.github.com/shaunstanislaus/5c77166fc574ebcd697c how am i not parsing anything
jonr22_ has quit [Read error: Connection reset by peer]
<sevenseacat> because you are not passing any arguments to JSON.parse
jonr22 has joined #ruby
<xcesariox> sevenseacat: how to fix it
Takle_ has joined #ruby
Jackneill has joined #ruby
Alina-malina has joined #ruby
<sevenseacat> pass whatever you want to parse to JSON.parse
Spami has quit [Quit: This computer has gone to sleep]
<sevenseacat> this isnt rocket science
livathinos has joined #ruby
robbyoconnor has quit [Read error: No route to host]
Trynemjoel has joined #ruby
timonv_ has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
<xcesariox> sevenseacat: here are the related files, tell me where did i go wrong https://gist.github.com/shaunstanislaus/a3f76c4856b55fad1c32
jonr22 has joined #ruby
<sevenseacat> on the line of code that the error pointed at.
hiyosi has joined #ruby
fgo_ has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
<xcesariox> sevenseacat: Failure/Error: bookmarks = JSON.parse?
<sevenseacat> yes.
oo_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
<xcesariox> sevenseacat: you're not telling me how to fix it
<xcesariox> sevenseacat: i don't know how to fix it
<sevenseacat> pass whatever you want to parse to JSON.parse
robbyoconnor has joined #ruby
<sevenseacat> you're trying to parse something. you're not parsing it.
jonr22 has quit [Remote host closed the connection]
<sevenseacat> what are you trying to parse?
jonr22 has joined #ruby
mloveless has quit [Remote host closed the connection]
Xeago has joined #ruby
sk87 has joined #ruby
elico has joined #ruby
econerd4ever has quit [Remote host closed the connection]
<xcesariox> sevenseacat: parse this (last_response.body)
econerd4ever has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
jonr2219 has joined #ruby
<sevenseacat> great, so call JSON.parse with last_response.body as an argument
Xeago_ has joined #ruby
oo_ has joined #ruby
<xcesariox> didn't i already did that
<sevenseacat> no
<xcesariox> bookmarks = JSON.parse(last_response.body)
bayed has joined #ruby
<sevenseacat> thats not what your code says
<xcesariox> sevenseacat: can you type the answer out
<sevenseacat> no i cannot
disKounted has quit []
hiyosi has quit [Ping timeout: 255 seconds]
fgo_ has quit [Ping timeout: 264 seconds]
jonr22 has joined #ruby
jonr2219 has quit [Read error: Connection reset by peer]
xymbol has joined #ruby
<xcesariox> sevenseacat: but i backspace and join them together already bookmarks = JSON.parse(last_response.body)
doev has joined #ruby
<sevenseacat> not in the code you posted, you didnt
<sevenseacat> so do that, and run your test again
sski has joined #ruby
nitrocell has left #ruby [#ruby]
<xcesariox> yup but in my own sublime text editor i did that
<xcesariox> and ran the test
nitrocell has joined #ruby
timonv_ has quit [Remote host closed the connection]
<sevenseacat> did you fix all of the times you did that?
<xcesariox> same error
<sevenseacat> you did it more than once.
econerd4ever has quit [Ping timeout: 240 seconds]
<sevenseacat> no its not.
Xeago has quit [Ping timeout: 244 seconds]
jonr2219 has joined #ruby
<xcesariox> what do you mean
jonr22 has quit [Read error: Connection reset by peer]
mloveless has joined #ruby
<xcesariox> sevenseacat: i still getting same error, so you are not solving my problem with my code
redjack1964_ has joined #ruby
<sevenseacat> you fixed one instance where you had a line break in between JSON.parse and response.body
<sevenseacat> now fix the rest of them
<xcesariox> sevenseacat: where are the other erroes
rshetty has joined #ruby
<xcesariox> sevenseacat: errors"
<sevenseacat> on the line the test error points to.
yfeldblum has quit [Ping timeout: 258 seconds]
<sevenseacat> thats why you have a test error.
jonr2219 has quit [Remote host closed the connection]
<xcesariox> sevenseacat: jesus
<xcesariox> sevenseacat: thanks for waking me up
<sevenseacat> i am not here to solve your problem with your code. im here to help you solve it.
<xcesariox> sevenseacat: solved.
<sevenseacat> :)
<xcesariox> sevenseacat: i had 2 lines the same format hahaha
ta has joined #ruby
<sevenseacat> yes, you did.
jonr22 has joined #ruby
<xcesariox> sevenseacat: the rspec didn't mention which line it was, but keep saying that, so i look top and bottom, and like OH the bottom was the same stupid format.
xymbol has quit [Ping timeout: 250 seconds]
redjack1964 has quit [Ping timeout: 258 seconds]
ta has quit [Read error: Connection reset by peer]
<sevenseacat> yes it did mention it.
ta has joined #ruby
<xcesariox> sevenseacat: <3
<xcesariox> sevenseacat: i have a question
siso has joined #ruby
einarj has joined #ruby
<xcesariox> sevenseacat: this first sinatra test that i am doing, i setup the datamapper but i don't understand how the test can run successful if the database hasn't been created
jonr2219 has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
<xcesariox> sevenseacat: is it just running the ruby file by itself to see if the code is correct and it doesn't need to connect to the database?
<sevenseacat> that creates the database.
<zenspider> sevenseacat: SURPRISE! Today is International Funny Identation Day!
<sevenseacat> \o/
dumdedum has joined #ruby
<zenspider> everybody wins!
Abhijit has joined #ruby
<sevenseacat> sur\t\t\t\t\tprise!!
jonr22 has joined #ruby
<zenspider> hahaha
jonr2219 has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 258 seconds]
terlar has quit [Quit: WeeChat 1.0.1]
jonr22 has quit [Remote host closed the connection]
kamilc__ has joined #ruby
nitrocell has left #ruby [#ruby]
jonr22 has joined #ruby
georgedrummond has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
kl has joined #ruby
jonr2219 has joined #ruby
renderful has joined #ruby
mikepack has joined #ruby
timonv_ has joined #ruby
jonr22 has joined #ruby
jonr2219 has quit [Read error: Connection reset by peer]
elico has quit [Quit: Leaving.]
jonr22 has quit [Remote host closed the connection]
fedexo has quit [Ping timeout: 244 seconds]
jonr22 has joined #ruby
kevinxu has joined #ruby
maasha has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
renderful has quit [Ping timeout: 240 seconds]
kl has quit [Ping timeout: 264 seconds]
kevinxu is now known as Guest82670
<shevy> that part was the coolest:
<shevy> <xcesariox> sevenseacat: can you type the answer out
<shevy> <sevenseacat> no i cannot
ayaz has joined #ruby
jonr22 has quit [Remote host closed the connection]
Takle_ has quit [Remote host closed the connection]
<maasha> is there a "class variables best practices"
terlar has joined #ruby
<maasha> !op
<maasha> can someone ban Guest1882
jonr22 has joined #ruby
<maasha> -> spambot
kl has joined #ruby
kireevco has quit [Quit: Leaving.]
<xcesariox> shevy: haha why was it the coolest
jonr22 has quit [Remote host closed the connection]
dc_ has quit [Remote host closed the connection]
<shevy> xcesariox the cat just said no
<shevy> xcesariox I think you need to style those inquiries with more cat style
jonr22 has joined #ruby
<xcesariox> shevy: has he even ever said yes
<shevy> xcesariox like tell a story about cat and mice before asking
<xcesariox> shevy: like how? meow...
<shevy> xcesariox it's a lordly cat, not a peon cat
<xcesariox> shevy: ah, maybe aPersian cat
Soda has quit [Read error: Connection reset by peer]
S0da has joined #ruby
<shevy> yeah!
<sevenseacat> he isnt even a he
<shevy> or do you know those giant cats? mancoon or something...
fgo_ has joined #ruby
jonr22 has quit [Remote host closed the connection]
<shevy> a neighbour has those things near a holiday home, they are like dog sized. and fat
jonr22 has joined #ruby
uber_hulk has joined #ruby
psy has quit [Read error: No route to host]
AlexRussia has quit [Quit: WeeChat 1.1-dev]
dcunit3d has quit [Ping timeout: 250 seconds]
psy has joined #ruby
<maasha> racoon
<maasha> only distantly related to cats
jonr2219 has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
Takle has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
<zenspider> haha
<maasha> but you may still fashion yourself a David Crockett hat from sevenseacat
kireevco has joined #ruby
fgo_ has quit [Ping timeout: 240 seconds]
<shevy> cool. I'm gonna wait until X-mas for that hat
nagaraj1 has joined #ruby
jonr22 has joined #ruby
melik_____ has quit [Quit: (null)]
jonr2219 has quit [Read error: Connection reset by peer]
tyll_ is now known as tyll
nagaraj has quit [Ping timeout: 272 seconds]
gry has joined #ruby
<Blizzy> could anyone explain http://pastebin.com/VcgApTB4 line 13 and line 14? What exactly is happening?
bobg has joined #ruby
<shevy> Blizzy ok you add to two variables yes?
sski has quit [Ping timeout: 256 seconds]
<shevy> obviously both variables start with a value of 0
<zenspider> pos/neg are arrays of words.
<Blizzy> ok.
<zenspider> words are a commend split by word
<zenspider> & is the array intersection
jonr2219 has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
<zenspider> so, count the words in common, add them to good/bad
georgedr_ has joined #ruby
arup_r has joined #ruby
<Blizzy> so [1,2,3] & [1,2] would return [1,2]?
nw has joined #ruby
<zenspider> fire up irb and ask
<Blizzy> ok it does, lol.
Alina-malina has quit [Ping timeout: 244 seconds]
arup_r has quit [Remote host closed the connection]
georgedrummond has quit [Ping timeout: 240 seconds]
jonr22 has joined #ruby
Guest82 has joined #ruby
<Blizzy> now since Googling this won't work, could anyone explain line 17?
sevenseacat has quit [Remote host closed the connection]
<Blizzy> mainly the <=> operator.
<BraddPitt> the spaceship operator!
jlast has joined #ruby
<bobg> hi
dts has joined #ruby
<Blizzy> oh, thanks for the help, zenspider, BraddPitt, and shevy.
<zenspider> `ri Comparable`
tesuji has joined #ruby
t7y9r has quit [Ping timeout: 255 seconds]
jonr22_ has joined #ruby
WormDr1nk has joined #ruby
WormDr1nk has quit [Changing host]
WormDr1nk has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
georgedr_ has quit [Ping timeout: 264 seconds]
Alina-malina has joined #ruby
jonr2219 has quit [Ping timeout: 264 seconds]
Mothore_ has joined #ruby
bjornar has quit [Remote host closed the connection]
georgedr_ has joined #ruby
<Blizzy> thxs everyone with the help.
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iwishiwerearobot has quit [Quit: Be back later ...]
kl has quit [Ping timeout: 256 seconds]
marr has joined #ruby
jonr22 has joined #ruby
iwishiwerearobot has joined #ruby
blackmesa has joined #ruby
NoNMaDDeN has quit [Remote host closed the connection]
jonr22_ has quit [Read error: Connection reset by peer]
Mothore_ has quit [Ping timeout: 258 seconds]
relix has joined #ruby
jonr2219 has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
32NAAJMSV has joined #ruby
ghr has joined #ruby
kireevco has quit [Quit: Leaving.]
vyorkin has joined #ruby
jonr2219 has quit [Remote host closed the connection]
jonr22 has joined #ruby
kireevco has joined #ruby
32NAAJMSV has quit [Remote host closed the connection]
NoNMaDDeN has joined #ruby
xiq has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
Tab__ has joined #ruby
jonr22 has joined #ruby
krisquigley has quit [Ping timeout: 264 seconds]
jonr22 has quit [Read error: Connection reset by peer]
xrlabs has quit [Ping timeout: 258 seconds]
jonr22 has joined #ruby
Spami has joined #ruby
MrSamuel has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
jimbach has joined #ruby
lolmaus has joined #ruby
roolo has joined #ruby
rdark has joined #ruby
jonr2219 has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
Takle has joined #ruby
msgodf has joined #ruby
Alina-malina has quit [Quit: http://www.twitter.com/aleenamaleena]
bjornar has joined #ruby
kireevco has quit [Quit: Leaving.]
jonr2219 has quit [Read error: Connection reset by peer]
posixpascal has joined #ruby
jonr22 has joined #ruby
redjack1964 has joined #ruby
fantazo has quit [Quit: Verlassend]
georgedr_ has quit [Remote host closed the connection]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
jimbach has quit [Ping timeout: 258 seconds]
jonr22 has quit [Read error: Connection reset by peer]
posixpascal has quit [Client Quit]
jonr22 has joined #ruby
spect0r has joined #ruby
redjack1964_ has quit [Ping timeout: 255 seconds]
jlast has quit [Ping timeout: 258 seconds]
elaptics`away is now known as elaptics
arup_r has joined #ruby
spect0r has quit [Client Quit]
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
arup_r has quit [Remote host closed the connection]
xymbol has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
jonr22 has quit [Remote host closed the connection]
<quazimodo> eam: back mang
timonv_ has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
uber_hulk has quit [Quit: leaving]
Tab__ has quit [Quit: This computer has gone to sleep]
posixpascal has joined #ruby
xymbol has quit [Ping timeout: 272 seconds]
reinaldob has joined #ruby
dcarmich has joined #ruby
codecop has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 255 seconds]
olivier_bK has joined #ruby
papal has quit [Ping timeout: 250 seconds]
reinaldob has quit [Remote host closed the connection]
kamilc__ has quit [Quit: Leaving...]
dc_ has joined #ruby
kamilc__ has joined #ruby
dcunit3d has joined #ruby
kamilc__ has quit [Client Quit]
startupality has joined #ruby
tokik has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
vyorkin has quit [Read error: Connection reset by peer]
dcunit3d has quit [Ping timeout: 240 seconds]
dc_ has quit [Ping timeout: 255 seconds]
Trynemjoel has joined #ruby
Tab__ has joined #ruby
bobg has quit [Quit: you're all wonderful]
maestrojed has quit [Quit: Computer has gone to sleep.]
gaussblurinc1 has joined #ruby
crazydiamond has joined #ruby
Aswebb has joined #ruby
rodfersou has joined #ruby
georgedr_ has joined #ruby
fgo_ has joined #ruby
joonty has joined #ruby
georged__ has joined #ruby
ItSANgo has joined #ruby
jlast has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
georgedrummond has joined #ruby
georgedr_ has quit [Ping timeout: 255 seconds]
fgo_ has quit [Ping timeout: 256 seconds]
Takle_ has joined #ruby
josephndenton has joined #ruby
quazimodo has quit [Quit: leaving]
georged__ has quit [Ping timeout: 258 seconds]
vyorkin has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
lolmaus has quit [Quit: Konversation terminated!]
lolmaus has joined #ruby
Trynemjoel has joined #ruby
jusmyth has left #ruby [#ruby]
davidhq has joined #ruby
AndChat| has joined #ruby
georgedr_ has joined #ruby
georgedrummond has quit [Ping timeout: 245 seconds]
lkba has quit [Ping timeout: 240 seconds]
josephndenton has quit [Ping timeout: 264 seconds]
vyorkin has quit [Ping timeout: 256 seconds]
AndChat| has quit [Ping timeout: 245 seconds]
arup_r has joined #ruby
jheg has joined #ruby
georgedr_ has quit [Ping timeout: 264 seconds]
AlSquire has joined #ruby
shredding has joined #ruby
s00pcan has joined #ruby
Takle_ has quit [Remote host closed the connection]
Tab__ has quit [Quit: This computer has gone to sleep]
Mateon1 has quit [Read error: Connection reset by peer]
Areessell has quit [Ping timeout: 240 seconds]
vyorkin has joined #ruby
hiyosi has joined #ruby
ReRixo has joined #ruby
Takle has joined #ruby
workmad3 has joined #ruby
maroloccio has joined #ruby
maroloccio has quit [Client Quit]
Areessell has joined #ruby
vyorkin has quit [Ping timeout: 240 seconds]
hiyosi has quit [Ping timeout: 240 seconds]
ikaros has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
crazydiamond has quit [Read error: Connection reset by peer]
bal1 has quit [Ping timeout: 250 seconds]
bal1 has joined #ruby
maroloccio has joined #ruby
mloveless has quit [Remote host closed the connection]
tejas-manohar has joined #ruby
moritzs has joined #ruby
Mateon1 has joined #ruby
<tejas-manohar> hey in ruby, what's the easiest way to calculate the 3rd thursday of the month for example
<tejas-manohar> or if today is that
adriancb has joined #ruby
<tejas-manohar> **last thursday
gry has left #ruby ["до свидания"]
Guest82670 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ducklobster has quit [Ping timeout: 240 seconds]
Jackneill has quit [Remote host closed the connection]
fabrice31 has quit [Remote host closed the connection]
wolf4ood has joined #ruby
i5um41ru has quit [Ping timeout: 240 seconds]
i5um41ru has joined #ruby
fabrice31 has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
adriancb has quit [Ping timeout: 244 seconds]
certaint1 has joined #ruby
duncannz has quit [Remote host closed the connection]
Takle_ has joined #ruby
Takle has quit [Ping timeout: 272 seconds]
vyorkin has joined #ruby
sk87 has joined #ruby
xymbol has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
sinanislekdemir has joined #ruby
vyorkin has quit [Remote host closed the connection]
thrawtle has joined #ruby
koderok has joined #ruby
sk87 has quit [Client Quit]
koderok has quit [Client Quit]
nrsk has quit [Remote host closed the connection]
xymbol has quit [Ping timeout: 240 seconds]
zenspider has quit [Quit: bye]
boombadaroomba has joined #ruby
ldnunes has joined #ruby
georgedrummond has joined #ruby
nrsk has joined #ruby
SOLDIERz has joined #ruby
Trynemjoel has joined #ruby
quimrstorres has joined #ruby
boombadaroomba has quit [Ping timeout: 255 seconds]
reinaldob has joined #ruby
zenspider has joined #ruby
daxroc has quit [Changing host]
daxroc has joined #ruby
n1lo has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
reinaldob has quit [Ping timeout: 244 seconds]
Macaveli has joined #ruby
Hobogrammer has quit [Ping timeout: 258 seconds]
arup_r has quit [Remote host closed the connection]
wsmoak has joined #ruby
fgo_ has joined #ruby
moritzs has quit [Ping timeout: 265 seconds]
Spami has quit [Quit: Leaving]
chu has joined #ruby
arup_r has joined #ruby
vyorkin has joined #ruby
Mothore_ has joined #ruby
tejas-manohar has quit [Quit: Page closed]
Aswebb has quit [Remote host closed the connection]
fgo_ has quit [Ping timeout: 258 seconds]
timonv_ has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
n1lo has joined #ruby
Mothore_ has quit [Ping timeout: 258 seconds]
unshadow has joined #ruby
krisquigley has joined #ruby
anaeem___ has joined #ruby
unshadow has quit [Client Quit]
s00pcan has quit [Remote host closed the connection]
Aswebb has joined #ruby
s00pcan has joined #ruby
timonv_ has quit [Remote host closed the connection]
anaeem1_ has quit [Ping timeout: 258 seconds]
krisquigley has quit [Ping timeout: 255 seconds]
giuseppesolinas has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
AFKGeek has joined #ruby
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle_ has quit [Read error: Connection reset by peer]
Takle has joined #ruby
AFKGeek has quit [Client Quit]
AFKGeek has joined #ruby
xymbol has joined #ruby
jamo_ has quit [Remote host closed the connection]
jimbach has joined #ruby
AlexRussia has joined #ruby
jamo_ has joined #ruby
hiyosi has joined #ruby
JCii8_ has joined #ruby
xymbol has quit [Ping timeout: 256 seconds]
jimbach has quit [Ping timeout: 258 seconds]
hiyosi has quit [Ping timeout: 245 seconds]
uber_hulk has joined #ruby
framling has quit [Ping timeout: 258 seconds]
nrsk has quit [Remote host closed the connection]
chu has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
bigkevmcd has quit [Ping timeout: 245 seconds]
mloveless has joined #ruby
jonr22 has joined #ruby
fabrice31 has quit [Remote host closed the connection]
jimms has joined #ruby
qba73 has joined #ruby
kevinxu has joined #ruby
kevinxu is now known as Guest22614
Guest22614 has quit [Client Quit]
mloveless has quit [Ping timeout: 244 seconds]
mkaesz has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
kaspertidemann has joined #ruby
browndawg has joined #ruby
Guest82 has quit [Quit: Textual IRC Client: www.textualapp.com]
<browndawg> Is there a way to say `x = my_function` in ruby? So that x's value becomes equal to the function(not it's return value) and I can do stuff like x(params) later?
bigkevmcd has joined #ruby
dangerousdave has joined #ruby
cleopatra has quit [Ping timeout: 264 seconds]
thrawtle has quit [Quit: Leaving]
larissa has joined #ruby
certainty has quit [Ping timeout: 256 seconds]
arup_r_ has joined #ruby
arup_r has quit [Ping timeout: 264 seconds]
<sinanislekdemir> browndawg: I suppose you mean how a "lambda" is written in Ruby?
Guest1882 has quit [K-Lined]
<sinanislekdemir> from a little blog, i can give this example;
<sinanislekdemir> twice = -> (x) { 2 * x }
<sinanislekdemir> twice.call(5) # => 10
<sinanislekdemir> for the details, you may make a little search about "Lambdas in Ruby". FYI, Writing a lambda syntax is shortened beginning from version 1.9
Morkel_ has joined #ruby
<tobiasvl> I think browndawg means something like Object#method maybe http://ruby-doc.org/core-2.1.5/Object.html#method-i-method
oo_ has quit [Remote host closed the connection]
<tobiasvl> but not sure
mikecmpbll has joined #ruby
ajaiswal has quit [Quit: Leaving]
fabrice31 has joined #ruby
Morkel has quit [Ping timeout: 272 seconds]
Morkel_ is now known as Morkel
timonv_ has joined #ruby
sevenseacat has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<sinanislekdemir> it may also be a closure, who knows :) But thanks for the update tobiasvl, i think yours also fits for the answer
jlast has joined #ruby
timonv_ has quit [Remote host closed the connection]
dcunit3d has joined #ruby
dc_ has joined #ruby
quimrstorres has quit [Remote host closed the connection]
doodlehaus has joined #ruby
<shevy> browndawg has become all silent :(
<shevy> we'll never find out now
<browndawg> shevy: oh sorry :(
<shevy> HE IS BACK!
<shevy> GRAB HIS LEG!!!
<browndawg> no
<browndawg> no
<shevy> lol
<sinanislekdemir> ahahaha :D
<browndawg> wait
<browndawg> let me pastebin
<browndawg> a snippet
<browndawg> (sorry again)
<shevy> ewww
<shevy> pastebin
bal1 has quit [Ping timeout: 264 seconds]
<browndawg> as in a pastebin that isn't pastebin.com
<sinanislekdemir> what about a gist or sth? :)
<shevy> I remember how it once played loud flash advertizement
<shevy> I hate that - it always shakes me up
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
<browndawg> something like this?
<tobiasvl> that looks like an alias
<browndawg> yes
<tobiasvl> not a lambda, not a closure
<browndawg> yes!
dc_ has quit [Ping timeout: 240 seconds]
<browndawg> I mean even if it copies the function, it's fine
josephndenton has joined #ruby
<shevy> an alias is just a pointer
dcunit3d has quit [Ping timeout: 255 seconds]
<shevy> what is the main method doing?
<browndawg> and I would declare that how?
<tobiasvl> browndawg: if an alias is all you need: alias_method :greet, :sayHi
<browndawg> ^ so no syntactic sugar for it?
clauswitt has joined #ruby
fandi has quit [Read error: Connection reset by peer]
<sinanislekdemir> well actually, as far as i know, alias_method can be redefined, its just a pointer as shevy already mentioned, so the main point is, why to use a "copy" method? what is the benefit or scenario of this usage. Maybe from that point of view, we may find some different approach. Or else, here is where my knowledge ends and i will be looking for the right answer :)
josephndenton has quit [Ping timeout: 255 seconds]
fgo_ has joined #ruby
<browndawg> no benefit
<browndawg> python programmer asked how I'd do it in ruby
decoponio has joined #ruby
<gregf_> >> class Foo; def bar; puts "Barred!";end;end; baz= Foo.new.method("bar"); baz.call();
<eval-in__> gregf_ => Barred! ... (https://eval.in/226633)
<gregf_> well its prolly a coderef
arya_ching has joined #ruby
<gregf_> in php for ex: $func = function($var){ echo "Hello $var"; }; $func("shevy");
<gregf_> or perl: $func = sub { print "hello " . shift || "shevy"; }; $func->("shevy");
doev has quit [Ping timeout: 255 seconds]
<gregf_> its assigning a coderef to a variable and calling it, so a proc/lambda or what tobiasvl said with aliasing :/
<tobiasvl> I also mentioned method() so!
<tobiasvl> I win
<gregf_> yeah, programming is hard as it is :/
kamilc__ has joined #ruby
giuseppesolinas has joined #ruby
SOLDIERz has joined #ruby
nastri has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
quimrstorres has joined #ruby
rshetty has quit [Remote host closed the connection]
georgedrummond has quit [Remote host closed the connection]
bmichelsen has quit [Quit: ZZZzzz…]
SOLDIERz has quit [Ping timeout: 240 seconds]
Brando753 has quit [Ping timeout: 250 seconds]
nagaraj1 has quit [Ping timeout: 244 seconds]
fandi has joined #ruby
LekeFly has quit [Remote host closed the connection]
xymbol has joined #ruby
nagaraj has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
msgodf has quit [Ping timeout: 250 seconds]
<ddv> whut rubygems.org is redesigned
Takle has quit [Read error: No route to host]
pandaant has joined #ruby
Takle has joined #ruby
Abhijit_ has joined #ruby
Abhijit_ has quit [Changing host]
Abhijit_ has joined #ruby
charliesome has joined #ruby
rkalfane has joined #ruby
Abhijit has quit [Ping timeout: 272 seconds]
<sinanislekdemir> ddv: i just realised that :) and it hurts my eyes
bmichelsen has joined #ruby
<maasha> tru dat - invasive color
jaequery has joined #ruby
ReRixo has quit [Ping timeout: 258 seconds]
mkaesz has quit [Ping timeout: 240 seconds]
siso has quit [Read error: Connection reset by peer]
<jheg> is it possible to iterate over [1..x] and create variables for each one
<jheg> ?
<gregf_> or file in `svn diff --summarize -rr259459:r260366 | grep -e ^M -e ^A | awk '{print $2}'` ; do echo "$(pwd)/$file"; done
<gregf_> bah :/ wrong chat sorry
<jheg> like [1..10].each do |num|; var_name = ‘’; end
<tobiasvl> gregf_: svn?!?!
<gregf_> yeah :/
<gregf_> multiple with git and svn. svn is a pain :/
<jheg> but create new vars each time so var1, var2, … and so on
phutchins has joined #ruby
postmodern has quit [Quit: Leaving]
<tobiasvl> jheg: what version of ruby are you on?
<jheg> 2.1.1
<sinanislekdemir> jheg: you may use instance_variable_set
<maasha> jheg: sounds nasty. You can do parallel assignment though: x, y = [1, 2]
jaequery has quit [Ping timeout: 240 seconds]
<sinanislekdemir> like instance_variable_set('@variable_'+i.to_s, 12312)
<tobiasvl> or local_variable_set
<tobiasvl> in > 2.1
<maasha> ><
<jheg> ah perfect sinanislekdemir
kevinxu has joined #ruby
<jheg> thanks thats just what io was trying to do with a counter for each player
<jheg> thanks
<jheg> thanks tobiasvl
kevinxu is now known as Guest5945
<sinanislekdemir> i need to read more about the changes after 2.1 :) thanks for the update tobiasvl :)
_JamieD_ has joined #ruby
Guest5945 has quit [Max SendQ exceeded]
fgo_ has quit [Ping timeout: 244 seconds]
<jheg> maasha: Its so I can ask the user how many players want to play and then iterate through [1..num_of_players] and create a Player object for each one
freerobby has joined #ruby
<sinanislekdemir> jheg, why not use a list?
<jheg> so I can target each one directly rather than accessing each object from an array
<tobiasvl> jheg: array of player objects?
<jheg> yea
codecop has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
rshetty has joined #ruby
<jheg> sinanislekdemir: a list?
<tobiasvl> an array
<sinanislekdemir> i meant array :) i was writing python here :D
<jheg> thats what i currently have but it means I have to access each object from the array rather than simply calling a var
<tobiasvl> jheg: why is that a problem? var1 vs var[1]
<jheg> because my program iterates each player object to take a turn which is fine but
krz has joined #ruby
<sinanislekdemir> or better using a class as a collection and writing an iterator
arooni-mobile has joined #ruby
<jheg> if a player wanted to sit out a round then i thought it would be easier if I could just leave out a var
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
<jheg> rather than finding the player in an array and removing it then adding it back in for the next round
<tobiasvl> you can just leave out the array entry too… which seems easier to do than leaving out a var dynamically
Macaveli has joined #ruby
<jheg> biab thanks need to give it some more thought it seems
<jheg> cheers for the help
<sinanislekdemir> yeah, also if you want to make things more "meaningful", you can use hashes
SOLDIERz has joined #ruby
<sinanislekdemir> like users['nickname']
<maasha> jheg: ok
kaspertidemann has quit []
<maasha> jheg: why not an array of players
<jheg> right sorry gotta go but yeah that’s what I currently have and from the sounds of things its the best way :)
jheg has quit [Quit: jheg]
uber_hulk has quit [Quit: leaving]
mkaesz has joined #ruby
hiyosi has joined #ruby
arooni-mobile has quit [Ping timeout: 264 seconds]
wsmoak_ has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
georgedrummond has joined #ruby
wsmoak has quit [Ping timeout: 245 seconds]
wsmoak_ is now known as wsmoak
apeiros_ has joined #ruby
Takle_ has joined #ruby
robbyoconnor has quit [Ping timeout: 272 seconds]
hiyosi has quit [Ping timeout: 264 seconds]
arup_r_ has quit [Remote host closed the connection]
Aswebb has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 272 seconds]
shredding has quit [Quit: shredding]
arooni-mobile has joined #ruby
arup_r has joined #ruby
tvw has joined #ruby
Aswebb has joined #ruby
Aswebb has quit [Remote host closed the connection]
Aswebb has joined #ruby
hmsimha has quit [Ping timeout: 255 seconds]
jlast has joined #ruby
Aswebb has quit [Remote host closed the connection]
gsd has joined #ruby
browndawg has quit [Quit: Leaving.]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Trieste has quit [Ping timeout: 272 seconds]
Mothore_ has joined #ruby
krisquigley has joined #ruby
kiyote23 has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
giuseppesolinas has joined #ruby
doodlehaus has quit [Remote host closed the connection]
gccostabr has joined #ruby
Aswebb has joined #ruby
Mothore_ has quit [Ping timeout: 258 seconds]
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
keen__ has joined #ruby
fgo_ has joined #ruby
rshetty has quit [Remote host closed the connection]
reinaldob has joined #ruby
keen_ has quit [Ping timeout: 245 seconds]
hiyosi has joined #ruby
Abhijit__ has joined #ruby
fgo_ has quit [Ping timeout: 256 seconds]
<Macaveli> Can I ask activerecord questions here? Or is that more rails
<maasha> I am impressed: tokyocabinet
Abhijit_ has quit [Ping timeout: 272 seconds]
Abhijit__ is now known as Abhijit
<mostlybadfly> <3 pry
spider-mario has joined #ruby
<mostlybadfly> Helped me figure out what an old method did hehe
bmichelsen has quit [Quit: ZZZzzz…]
jimbach has joined #ruby
Techguy305|2 has quit [Read error: Connection reset by peer]
Techguy305|2 has joined #ruby
AFKGeek has quit [Quit: Fades into the shadows]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
BaconOverflow has joined #ruby
<Macaveli> i would be lost with pry
workmad3 is now known as wm3|away
atomical has joined #ruby
dkphenom has joined #ruby
giuseppesolinas has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
jimbach has quit [Ping timeout: 258 seconds]
Abhijit has quit [Ping timeout: 264 seconds]
Abhijit has joined #ruby
kl has joined #ruby
<kl> hey, i'm looking at ruby web frameworks - is it (easily) possible to only use, say, the routing module from sinatra, without loading up all its other functionality?
bjornar has quit [Remote host closed the connection]
mloveless has joined #ruby
startupality has quit [Quit: startupality]
Techguy305 has joined #ruby
Techguy305|2 has quit [Ping timeout: 255 seconds]
michael_mbp has quit [Excess Flood]
jonr22 has joined #ruby
michael_mbp has joined #ruby
doev has joined #ruby
arup_r has quit [Remote host closed the connection]
Trieste has joined #ruby
fgo_ has joined #ruby
mloveless has quit [Ping timeout: 244 seconds]
SOLDIERz has quit [Quit: Be back later ...]
SOLDIERz has joined #ruby
Aswebb has quit [Remote host closed the connection]
<apeiros_> kl: there are separate router gems. extracting functionality from frameworks might be quite difficult.
paulfm has joined #ruby
certaint1 is now known as certainty
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chu has joined #ruby
abuzze has quit [Ping timeout: 255 seconds]
jonr22 has quit [Ping timeout: 264 seconds]
avrc has quit [Quit: this channel is bakas]
startupality has joined #ruby
SOLDIERz has quit [Ping timeout: 250 seconds]
ghostlines has quit [Quit: Textual IRC Client: www.textualapp.com]
fgo_ has quit [Ping timeout: 245 seconds]
pika_pika has joined #ruby
Brando753 has joined #ruby
oo_ has joined #ruby
quimrstorres has quit [Remote host closed the connection]
moritzs has joined #ruby
quimrstorres has joined #ruby
abuzze has joined #ruby
adriancb has joined #ruby
Aswebb has joined #ruby
quimrsto_ has joined #ruby
rkalfane has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
claudiuinberlin has joined #ruby
Xeago has joined #ruby
kl has quit [Ping timeout: 244 seconds]
roolo has quit [Ping timeout: 244 seconds]
<canton7> kl, there honestly isn't much to sinatra that isn't routing :P and templating...
quimrstorres has quit [Ping timeout: 264 seconds]
Xeago_ has quit [Ping timeout: 264 seconds]
kallisti5 has joined #ruby
HayesHimself has quit [Ping timeout: 256 seconds]
Xeago__ has joined #ruby
kallisti5 has left #ruby [#ruby]
snath has quit [Ping timeout: 245 seconds]
felipedvorak341 has quit [Read error: Connection reset by peer]
ponga has joined #ruby
ponga has joined #ruby
kamilc__ has quit [Quit: Leaving...]
antgel has joined #ruby
felipedvorak341 has joined #ruby
arooni-mobile has quit [Ping timeout: 244 seconds]
ybit has joined #ruby
msgodf has joined #ruby
ybit has quit [Read error: Connection reset by peer]
Xeago has quit [Ping timeout: 240 seconds]
galeido has quit [Quit: galeido]
kratop has joined #ruby
claptor has quit [Quit: this channel is bakas]
ybit3 has quit [Ping timeout: 240 seconds]
<kratop> quit
kratop has left #ruby [#ruby]
Xeago has joined #ruby
shredding has joined #ruby
adriancb has quit [Remote host closed the connection]
ybit3 has joined #ruby
doodlehaus has joined #ruby
hmsimha has joined #ruby
nrsk has joined #ruby
doodlehaus has quit [Remote host closed the connection]
roolo_ has joined #ruby
fandi has quit [Remote host closed the connection]
Xeago__ has quit [Ping timeout: 256 seconds]
Xeago_ has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
i5um41ru has quit [Ping timeout: 255 seconds]
josephndenton has joined #ruby
uber_hulk has joined #ruby
uber_hulk has quit [Client Quit]
adriancb has joined #ruby
s00pcan has quit [Ping timeout: 264 seconds]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago has quit [Ping timeout: 264 seconds]
karmatr0n has joined #ruby
rshetty has joined #ruby
aclearman037 has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
kh019267 has quit [Ping timeout: 256 seconds]
fella6s has quit [Ping timeout: 264 seconds]
nerdman_ has quit [Ping timeout: 255 seconds]
rshetty has quit [Remote host closed the connection]
jlast has joined #ruby
nerdman has joined #ruby
i5um41ru has joined #ruby
roolo_ has quit [Ping timeout: 256 seconds]
ybit3 has quit [Ping timeout: 258 seconds]
ps_R has joined #ruby
<ps_R> hi
dcunit3d has joined #ruby
triple_b has joined #ruby
<ps_R> how can I have a string with binary data. How can I print the hex values of that string, in a format like "\x00\xca..."
ybit3 has joined #ruby
bal1 has joined #ruby
jds has joined #ruby
cassianoleal has joined #ruby
adriancb has quit [Remote host closed the connection]
rshetty has joined #ruby
nerdman has quit [Remote host closed the connection]
Abhijit has quit [Quit: Leaving]
<apeiros_> ps_R: inspect does that for non-printables.
<apeiros_> >> "\x00"
<eval-in__> apeiros_ => "\u0000" (https://eval.in/226662)
<apeiros_> >> "\x00".b
<eval-in__> apeiros_ => "\x00" (https://eval.in/226663)
<apeiros_> \u for unicode strings, \x for binary
samsquanch has joined #ruby
jheg has joined #ruby
dcunit3d has quit [Ping timeout: 264 seconds]
felipedvorak2552 has joined #ruby
<apeiros_> if you want to get all characters like that, even printables, look at unpack("H*")
oo_ has quit [Remote host closed the connection]
<ps_R> apeiros_: so If I do something like print myvar I get nonprintable characteres
<ps_R> I would like to see those characteres in hex
<ps_R> I'm gonna try unpack
<Takumo> In pry is it possible to specify a module to pry within a projects .pryrc?
<Takumo> for example, my project is all contained in a module MyApp, so I'd ideally like to MyApp.pry when you run pry
<Takumo> but if you do that in pryrc, you get errors because you're prying in pry
felipedvorak341 has quit [Ping timeout: 244 seconds]
sk87 has joined #ruby
fgo_ has joined #ruby
lxsameer has quit [Quit: Leaving]
evanjs_ has joined #ruby
nagaraj has quit [Remote host closed the connection]
goshdarnyou has quit [Ping timeout: 258 seconds]
quimrsto_ has quit [Remote host closed the connection]
<evanjs_> Blake where are you?!?
Seich has quit [Ping timeout: 258 seconds]
1JTAA15OU has quit [Ping timeout: 258 seconds]
jimbach has joined #ruby
heftig has quit [Ping timeout: 258 seconds]
suy|BNC has joined #ruby
goshdarnyou has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
roolo has joined #ruby
<ddv> take your meds, evanjs_
<evanjs_> wait my meds or these other ones?
giuseppesolinas has quit [Quit: This computer has gone to sleep]
rshetty has joined #ruby
<evanjs_> they are all just in a pile
giuseppesolinas has joined #ruby
<evanjs_> ;)
bmichelsen has joined #ruby
ybit has joined #ruby
Trieste has quit [Ping timeout: 258 seconds]
giuseppesolinas has quit [Client Quit]
blackmesa has quit [Quit: WeeChat 1.0.1]
mjc_ has quit [Ping timeout: 258 seconds]
gaussblurinc1 has quit [Read error: Connection reset by peer]
Seich has joined #ruby
felipedvorak2552 has quit [Quit: Leaving]
gaussblurinc1 has joined #ruby
rotor has quit [Ping timeout: 258 seconds]
fgo_ has quit [Ping timeout: 240 seconds]
dANO has joined #ruby
moritzs has quit [Remote host closed the connection]
BaconOverflow has quit [Ping timeout: 258 seconds]
heftig has joined #ruby
Trieste has joined #ruby
mjc_ has joined #ruby
casual_ has quit [Ping timeout: 258 seconds]
chrisseaton has quit [Ping timeout: 258 seconds]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
ybit3 has quit [Ping timeout: 255 seconds]
alol has quit [Ping timeout: 258 seconds]
tylersmith has quit [Ping timeout: 258 seconds]
SOLDIERz has joined #ruby
BaconOverflow has joined #ruby
LBRapid has quit [Ping timeout: 258 seconds]
casual_ has joined #ruby
shtirlic has quit [Ping timeout: 258 seconds]
chrisseaton has joined #ruby
alol has joined #ruby
dumdedum has quit [Quit: foo]
wm3|away is now known as workmad3
jlast has quit [Ping timeout: 258 seconds]
LBRapid has joined #ruby
tylersmith has joined #ruby
shtirlic has joined #ruby
ponga has quit [Quit: Leaving...]
SOLDIERz has quit [Ping timeout: 250 seconds]
nerdman has joined #ruby
redjack1964 has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
roolo has quit [Ping timeout: 250 seconds]
roolo_ has joined #ruby
arya_ching has quit []
kiyote23 has quit [Read error: Connection reset by peer]
St_Marx has quit [Remote host closed the connection]
kiyote23 has joined #ruby
Macaveli has joined #ruby
jimms has quit []
St_Marx has joined #ruby
davidhq has joined #ruby
bmichelsen has quit [Quit: ZZZzzz…]
tylersmith has quit [Ping timeout: 258 seconds]
Areessell has quit [Ping timeout: 240 seconds]
fella5s has joined #ruby
livathinos has quit []
hamakn has quit [Remote host closed the connection]
brendenb has quit [Ping timeout: 258 seconds]
atomical has quit [Read error: Connection reset by peer]
livathinos has joined #ruby
LBRapid has quit [Ping timeout: 258 seconds]
tylersmith has joined #ruby
v0n has joined #ruby
brendenb has joined #ruby
freerobby has joined #ruby
juni0r has quit [Ping timeout: 260 seconds]
Aswebb has quit []
doodlehaus has joined #ruby
TDJACR has quit [Ping timeout: 258 seconds]
roolo_ has quit [Ping timeout: 264 seconds]
giuseppesolinas has joined #ruby
TDJACR has joined #ruby
freerobby has quit [Client Quit]
LBRapid has joined #ruby
kh019267 has joined #ruby
freerobby has joined #ruby
roolo has joined #ruby
ponga has joined #ruby
amitchellbullard has quit [Ping timeout: 258 seconds]
evanjs_ has quit [Remote host closed the connection]
kl has joined #ruby
zacstewart has joined #ruby
yfeldblum has quit [Remote host closed the connection]
moritzs has joined #ruby
jerius has joined #ruby
amitchellbullard has joined #ruby
TDJACR has quit [Max SendQ exceeded]
sailias has joined #ruby
TDJACR has joined #ruby
yeticry has quit [Ping timeout: 272 seconds]
yeticry has joined #ruby
nkumari has joined #ruby
nkumari has quit [Remote host closed the connection]
silkfox has joined #ruby
TDJACR has quit [Excess Flood]
nkumari has joined #ruby
TDJACR has joined #ruby
zacstewart has quit [Ping timeout: 245 seconds]
TDJACR has quit [Excess Flood]
ltd has quit [Ping timeout: 255 seconds]
TDJACR has joined #ruby
roolo_ has joined #ruby
ltd has joined #ruby
msmith_ has joined #ruby
LBRapid has quit [Ping timeout: 258 seconds]
larissa has quit [Ping timeout: 255 seconds]
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
tkuchiki has quit [Remote host closed the connection]
LBRapid has joined #ruby
tkuchiki has joined #ruby
roolo has quit [Ping timeout: 250 seconds]
karmatr0n has quit [Remote host closed the connection]
AFKGeek has joined #ruby
kobain has joined #ruby
ybit has quit [Ping timeout: 265 seconds]
kobain has quit [Max SendQ exceeded]
Mothore_ has joined #ruby
moritzs has quit [Remote host closed the connection]
kobain has joined #ruby
tkuchiki has quit [Ping timeout: 258 seconds]
kobain has quit [Max SendQ exceeded]
samuel02 has joined #ruby
TDJACR has quit [Max SendQ exceeded]
livathinos has quit [Remote host closed the connection]
livathinos has joined #ruby
boombadaroomba has joined #ruby
livathinos has quit [Client Quit]
Mothore_ has quit [Ping timeout: 258 seconds]
brendenb has quit [Ping timeout: 258 seconds]
spastorino has joined #ruby
TDJACR has joined #ruby
msmith_ has quit [Remote host closed the connection]
jusmyth has joined #ruby
francisfish has quit [Remote host closed the connection]
jusmyth has left #ruby [#ruby]
hiyosi has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
brendenb has joined #ruby
hamakn has joined #ruby
krz has joined #ruby
hiyosi has joined #ruby
jlast has joined #ruby
kobain has joined #ruby
TDJACR has quit [Max SendQ exceeded]
freerobby has quit [Quit: Leaving.]
kobain has quit [Max SendQ exceeded]
boombadaroomba has quit [Ping timeout: 258 seconds]
pl1ght has joined #ruby
TDJACR has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
timonv_ has quit [Remote host closed the connection]
ptrrr has joined #ruby
SOLDIERz has joined #ruby
livathinos has joined #ruby
renderful has joined #ruby
msmith_ has joined #ruby
TDJACR has quit [Excess Flood]
peckermanzzz has quit [Ping timeout: 260 seconds]
tacit7 has joined #ruby
freerobby has quit [Client Quit]
jlast has quit [Remote host closed the connection]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
jlast has joined #ruby
Seich has quit [Ping timeout: 258 seconds]
artmann has quit [Ping timeout: 258 seconds]
ta has quit [Remote host closed the connection]
Seich has joined #ruby
kobain has joined #ruby
freerobby has joined #ruby
brendenb has quit [Ping timeout: 258 seconds]
kobain has quit [Max SendQ exceeded]
oleo has joined #ruby
renderful has quit [Ping timeout: 258 seconds]
artmann has joined #ruby
nkumari has quit [Remote host closed the connection]
kobain has joined #ruby
Seich has quit [Max SendQ exceeded]
brendenb has joined #ruby
kiyote23 has quit [Read error: Connection reset by peer]
kobain has quit [Max SendQ exceeded]
freerobby has quit [Client Quit]
kobain has joined #ruby
tylersmith has quit [Ping timeout: 258 seconds]
sprihodko has joined #ruby
<shevy> canton7 what about the girls - don't tell me sinatra has to exist without them
<canton7> ><
kobain has quit [Max SendQ exceeded]
Seich has joined #ruby
kobain has joined #ruby
tylersmith has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
valeriansaliou has joined #ruby
moritzs has joined #ruby
anaeem___ has quit [Remote host closed the connection]
fgo_ has joined #ruby
kiyote23 has joined #ruby
dangerousdave has joined #ruby
failshell has joined #ruby
GPH|work has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
quimrstorres has joined #ruby
brendenb has quit [Ping timeout: 258 seconds]
peckermanzzz has joined #ruby
Nightmare has quit [Ping timeout: 258 seconds]
nastri has quit [Remote host closed the connection]
mloveless has joined #ruby
tesaf has joined #ruby
Seich has quit [Ping timeout: 258 seconds]
tylersmith has quit [Ping timeout: 258 seconds]
maximski has joined #ruby
moritzs has quit [Remote host closed the connection]
LBRapid has quit [Ping timeout: 258 seconds]
Seich has joined #ruby
failshell has quit [Client Quit]
S0da has quit [Read error: Connection reset by peer]
fgo_ has quit [Ping timeout: 250 seconds]
brendenb has joined #ruby
Nightmare has joined #ruby
Channel6 has joined #ruby
SpaceKookie has quit [Ping timeout: 258 seconds]
tylersmith has joined #ruby
freerobby has joined #ruby
freerobby has quit [Client Quit]
jonr22 has joined #ruby
freerobby has joined #ruby
uber_hulk has joined #ruby
mloveless has quit [Ping timeout: 258 seconds]
tacit7 has quit [Quit: Leaving.]
fella6s has joined #ruby
SpaceKookie has joined #ruby
LBRapid has joined #ruby
fella5s has quit [Ping timeout: 255 seconds]
Seich has quit [Ping timeout: 258 seconds]
freerobby has quit [Client Quit]
fgo_ has joined #ruby
valeriansaliou has quit [Quit: Be back later ...]
Seich has joined #ruby
tvon has quit [Remote host closed the connection]
failshell has joined #ruby
s00pcan has joined #ruby
clauswitt has quit [Ping timeout: 250 seconds]
karmatr0n has joined #ruby
kiyote23 has quit [Read error: Connection reset by peer]
jonr22 has quit [Ping timeout: 245 seconds]
SOLDIERz has quit [Quit: Be back later ...]
antgel has quit [Ping timeout: 264 seconds]
anarang has quit [Quit: Leaving]
ikaros has quit [Quit: Ex-Chat]
SOLDIERz has joined #ruby
kiyote23 has joined #ruby
fgo_ has quit [Ping timeout: 264 seconds]
jonr22 has joined #ruby
certaint1 has joined #ruby
antgel has joined #ruby
matchaw has quit [Ping timeout: 245 seconds]
doev has quit [Ping timeout: 272 seconds]
georgedrummond has quit [Remote host closed the connection]
yfeldblum has joined #ruby
georgedrummond has joined #ruby
zarubin has joined #ruby
nastri has joined #ruby
SOLDIERz has quit [Ping timeout: 264 seconds]
chu has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
moritzs has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
j2p2 has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
parabolize has joined #ruby
tesuji has joined #ruby
ponga has quit [Remote host closed the connection]
tesuji has quit [Read error: Connection reset by peer]
obscured has joined #ruby
giuseppesolinas has joined #ruby
ponga has joined #ruby
SOLDIERz has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
sevenseacat has quit [Remote host closed the connection]
abuzze has joined #ruby
byprdct has joined #ruby
Nightmare has quit [Ping timeout: 258 seconds]
rblackwe has quit [Remote host closed the connection]
Nightmare has joined #ruby
timonv_ has joined #ruby
kamilc__ has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
SOLDIERz has quit [Ping timeout: 244 seconds]
andikr has quit [Remote host closed the connection]
divi has joined #ruby
eind has quit [Remote host closed the connection]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
galeido has joined #ruby
noop has quit [Ping timeout: 255 seconds]
dANO__ has joined #ruby
mary5030 has joined #ruby
razieliyo has joined #ruby
ponga has joined #ruby
eind has joined #ruby
jonr22 has quit [Remote host closed the connection]
freerobby has joined #ruby
freerobby has quit [Client Quit]
troyready has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dANO has quit [Ping timeout: 250 seconds]
divi has quit [Ping timeout: 240 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
sambao21 has joined #ruby
ferr has quit [Quit: Lost terminal]
tacit7 has joined #ruby
failshell has quit []
sinanislekdemir has quit [Remote host closed the connection]
ferr has joined #ruby
Jake232 has joined #ruby
divi has joined #ruby
rshetty has quit [Remote host closed the connection]
tagrudev has quit [Remote host closed the connection]
nkumari has joined #ruby
Nightmare has quit [Ping timeout: 258 seconds]
ps_R has quit [Quit: leaving]
dANO__ has quit [Remote host closed the connection]
Seich has quit [Ping timeout: 258 seconds]
Nightmare has joined #ruby
dANO has joined #ruby
moritzs has quit [Remote host closed the connection]
Seich has joined #ruby
ptrrr has quit [Quit: ptrrr]
echooo has quit [Remote host closed the connection]
Ankhers has joined #ruby
TheLastExile has quit [Ping timeout: 258 seconds]
eind has quit [Remote host closed the connection]
livathin_ has joined #ruby
aclearma_ has joined #ruby
psy has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
sinkensabe has joined #ruby
j2p2 has quit []
tvw has quit []
eind has joined #ruby
arup_r has joined #ruby
livathinos has quit [Ping timeout: 256 seconds]
mleone has joined #ruby
aclearman037 has quit [Ping timeout: 272 seconds]
brendenb has quit [Ping timeout: 258 seconds]
adriancb has joined #ruby
nkumari has quit [Remote host closed the connection]
eind has quit [Ping timeout: 255 seconds]
vyorkin has quit [Ping timeout: 265 seconds]
brendenb has joined #ruby
kiyote23 has quit [Read error: Connection reset by peer]
SOLDIERz has joined #ruby
ptrrr has joined #ruby
kiyote23 has joined #ruby
rippa has joined #ruby
troyready has quit [Ping timeout: 256 seconds]
hmsimha has quit [Ping timeout: 255 seconds]
klmlfl has joined #ruby
bracky has joined #ruby
<bracky> Is there an HTTP library with session support for Ruby?
nkumari has joined #ruby
<bracky> Kind of like Python's Requests library.
aboudreault has quit [Ping timeout: 255 seconds]
drkyro has joined #ruby
AmBienCeD has joined #ruby
AmBienCeD has joined #ruby
jaequery has joined #ruby
Mothore_ has joined #ruby
livathin_ has quit []
Channel6 has quit [Quit: Leaving]
eguneys has joined #ruby
dcunit3d has joined #ruby
greenbagels has joined #ruby
freerobby has joined #ruby
livathinos has joined #ruby
<eguneys> hello I want to use the latest version of gem grape-swagger, it says 0.8 but I can't get it on my Gemfile why?
devoldmx has joined #ruby
<thomasfedb> bracky, sure. In fact Net::HTTP support sessions, http://ruby-doc.org/stdlib-2.1.5/libdoc/net/http/rdoc/Net/HTTP.html#method-c-start
xcesariox has joined #ruby
chu has joined #ruby
whoisjake has joined #ruby
nkumari has quit [Read error: Connection reset by peer]
greenbagels has quit [Remote host closed the connection]
<bracky> Thanks, thomasfedb.
<workmad3> eguneys: what have you tried?
<workmad3> eguneys: and what error are you getting?
ionelmc has left #ruby [#ruby]
<eguneys> I have gem "grape-swagger" but it's version 0.6, i need 0.8
Fire-Dragon-DoL has joined #ruby
greenbagels has joined #ruby
nkumari has joined #ruby
Kricir has joined #ruby
i5um41ru has quit [Ping timeout: 264 seconds]
<thomasfedb> bracky, although you might find that something like http://docs.seattlerb.org/mechanize/ is more suited to your purposes.
robert45 has joined #ruby
Seich has quit [Ping timeout: 258 seconds]
tylersmith has quit [Ping timeout: 258 seconds]
<eguneys> when I run bundle for my Gemfile, it downloads 0.6, how do I force the latest version always?
klmlfl_ has joined #ruby
atomical has joined #ruby
<thomasfedb> eguneys, "bundle update"
lkba has joined #ruby
tylersmith has joined #ruby
francisfish has joined #ruby
<thomasfedb> eguneys, although that will update everything in your gemfile.
i5um41ru has joined #ruby
<thomasfedb> workmad3, hello.
<robert45> hi guys, when trying to run webrick I get "Rails 2.3.2 application starting on http://0.0.0.0:3000" but nothing is listening to that port, no process is launched, any advice how to troubleshoot this? Im very new to ror
josephndenton has joined #ruby
<eguneys> woaw that worked thomasfedb: o.O
<thomasfedb> robert45, perhaps try #rubyonrails, and provide more info
<thomasfedb> eguneys, *shocked*
<thomasfedb> eguneys, happy to help
<robert45> thanks
<workmad3> eguneys: bundler records all the versions it initially installed in 'Gemfile.lock' so that you always install the intended versions
gaussblurinc1 has quit [Quit: Leaving.]
<eguneys> ok ok
<workmad3> eguneys: to change a version, you need to explicitly update... you can do a bulk update as thomasfedb said, or update a specific gem with 'bundle update <gem_name>'
<havenwood> robert45: 2.3.2 is tooo old
vyorkin has joined #ruby
<workmad3> thomasfedb: hi :)
Seich has joined #ruby
dcunit3d has quit [Ping timeout: 265 seconds]
<havenwood> robert45: but yeah, #rubyonrails is a better place to ask ;)
<thomasfedb> workmad3, it's been a while. all well i trust?
fgo_ has joined #ruby
sprihodko has quit [Quit: (null)]
lmickh has joined #ruby
<workmad3> thomasfedb: can't complain too much, I guess :)
aboudreault has joined #ruby
<thomasfedb> workmad3, same here, still have legs, etc.
antgel has quit [Ping timeout: 258 seconds]
eguneys has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
<robert45> thomasfedb tx
klmlfl has quit [Ping timeout: 258 seconds]
ebbflowgo has joined #ruby
aclearma_ has quit [Quit: I'm out!]
antgel has joined #ruby
eind has joined #ruby
Spami has joined #ruby
moritzs has joined #ruby
livathinos has quit []
Shazaum has joined #ruby
last_staff has quit [Quit: last_staff]
freerobby has quit [Quit: Leaving.]
tvon has joined #ruby
zacstewart has joined #ruby
bal1 has quit [Quit: bal1]
SOLDIERz has quit [Quit: Be back later ...]
snath has joined #ruby
SOLDIERz has joined #ruby
larissa has joined #ruby
fgo_ has quit [Ping timeout: 255 seconds]
rotor has joined #ruby
Xiti has joined #ruby
robert45 has quit [Quit: • IRcap • 8.6 •]
kwd has quit [Quit: kwd]
kp666 has quit [Quit: Leaving]
DrShoggoth has joined #ruby
nkumari has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
SOLDIERz has quit [Ping timeout: 240 seconds]
doev has joined #ruby
quimrstorres has joined #ruby
BTRE has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
evanjs has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
Photism has quit [Quit: Leaving]
AFKGeek has quit [Quit: Fades into the shadows]
aclearman037 has joined #ruby
dumdedum has joined #ruby
fabrice31 has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 245 seconds]
charlenopires has joined #ruby
maestrojed has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
Mothore_ has quit [Quit: Lingo: www.lingoirc.com]
ptrrr has quit [Quit: ptrrr]
charlenopires has left #ruby [#ruby]
BTRE has joined #ruby
Trynemjoel has quit [Ping timeout: 265 seconds]
Techguy305 has quit [Ping timeout: 255 seconds]
bMalum has joined #ruby
<maasha> I think I am beginning to like Set
<bMalum> How can i run (for development testing) a ruby gem without gem build?
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #ruby
renderful has joined #ruby
fantazo has joined #ruby
Trynemjoel has joined #ruby
stunder has joined #ruby
maroloccio has quit [Quit: WeeChat 1.0]
sinkensabe has quit [Ping timeout: 240 seconds]
<bMalum> shazaum - awesome :D why wasn’t i able to find it with duckduckgo …
quimrstorres has quit [Remote host closed the connection]
dangerousdave has joined #ruby
jobewan has joined #ruby
abuzze has quit [Remote host closed the connection]
dangerousdave has quit [Client Quit]
kl has quit [Ping timeout: 258 seconds]
it0a has joined #ruby
phutchin1 has joined #ruby
beneggett has quit [Ping timeout: 264 seconds]
banister has joined #ruby
beneggett has joined #ruby
josephnd1nton has joined #ruby
tacit71 has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Shazaum> bMalum, hehehehe'
phutchins has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
whoisjake has quit []
whoisjake has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tacit7 has quit [Ping timeout: 255 seconds]
ixti has quit [Ping timeout: 250 seconds]
quimrstorres has joined #ruby
abuzze has joined #ruby
chrishough has joined #ruby
aganov has quit [Quit: Leaving]
sinkensabe has joined #ruby
cloaked1 has joined #ruby
cloaked1 has joined #ruby
kiyote23 has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
kiyote23 has joined #ruby
gsd has joined #ruby
graft has quit [Ping timeout: 256 seconds]
dangerousdave has joined #ruby
tvon has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
posixpascal has quit [Ping timeout: 256 seconds]
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
karmatr0n has quit []
kl has joined #ruby
Ilof has joined #ruby
<Ilof> ree
sinkensa_ has joined #ruby
silkfox has quit [Ping timeout: 258 seconds]
neoxquick has joined #ruby
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ilof> Hi, I have a variable with fixnum and I would like to get hex string in network byte order. For example a=4444. I would like to get "\x11\x5c". Any ideas?
georgedrummond has quit [Remote host closed the connection]
mrsolo has joined #ruby
doev has quit [Ping timeout: 258 seconds]
einarj has quit [Remote host closed the connection]
o0oo0o has quit [Quit: WeeChat 0.4.3]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
giuseppesolinas has joined #ruby
jheg has quit [Quit: jheg]
abuzze has quit [Remote host closed the connection]
mloveless has joined #ruby
sinkensa_ has quit [Remote host closed the connection]
payne has joined #ruby
<apeiros_> Ilof: take a look at Array#pack
<Ilof> apeiros_: I'm on it :p
payne has quit [Read error: Connection reset by peer]
<Ilof> making some test and learning and the same time
sinkensabe has joined #ruby
<Ilof> :)
ixti has joined #ruby
aspires has joined #ruby
dANO has quit []
georgedrummond has joined #ruby
<Ilof> apeiros_: um the problem is that the output always has to be 2 bytes
<Ilof> even if the numer is small
<apeiros_> that's usually the case with pack
o0oo0o has joined #ruby
<apeiros_> there's only a very few variable length encoders
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BTRE has quit [Ping timeout: 255 seconds]
maletor has joined #ruby
mloveless has quit [Ping timeout: 258 seconds]
sinkensabe has quit [Ping timeout: 255 seconds]
jonr22 has joined #ruby
ringarin has joined #ruby
<Ilof> apeiros_: not easy :p
drewvanstone has joined #ruby
<apeiros_> ?
<apeiros_> very easy
<apeiros_> >> [4444].pack("n")
<eval-in__> apeiros_ => "\x11\\" (https://eval.in/226745)
<apeiros_> >> [1].pack("n")
<eval-in__> apeiros_ => "\x00\x01" (https://eval.in/226747)
WormDr1nk has quit [Ping timeout: 244 seconds]
<apeiros_> `ri pack` then search for "network". first hit.
ebbflowgo has quit [Quit: ebbflowgo]
<Ilof> but 4444 is 115c in hex
CorySimmons has joined #ruby
BaconOverflow has quit [Quit: Connection closed for inactivity]
tobago has quit [Remote host closed the connection]
Megtastique has joined #ruby
fgo_ has joined #ruby
Takle_ has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
<apeiros_> Ilof: strings are not hex
jonr22 has quit [Ping timeout: 244 seconds]
Morkel has quit [Quit: Morkel]
ryao has quit [Ping timeout: 255 seconds]
<apeiros_> >> "\\" == "\x5c"
<eval-in__> apeiros_ => true (https://eval.in/226759)
arup_r has quit [Quit: Leaving.]
georgedrummond has quit [Remote host closed the connection]
<Ilof> you are right
<Ilof> thank you so much
georgedrummond has joined #ruby
ryao has joined #ruby
ringarin has quit [Read error: Connection reset by peer]
tlarevo has quit [Remote host closed the connection]
Takle has joined #ruby
echevemaster has joined #ruby
tlarevo has joined #ruby
pen has quit []
Hijiri has joined #ruby
renderful has quit [Remote host closed the connection]
yfeldblum has joined #ruby
fgo_ has quit [Ping timeout: 264 seconds]
BTRE has joined #ruby
ptrrr has joined #ruby
ryao has quit [Ping timeout: 255 seconds]
ryao has joined #ruby
troyready has joined #ruby
ponga has quit [Quit: Leaving...]
TDJACR has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
stunder has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 244 seconds]
deric_skibotn has joined #ruby
diegoviola has joined #ruby
freerobby has quit [Quit: Leaving.]
renderful has joined #ruby
karmatr0n has joined #ruby
silkfox has joined #ruby
georgedrummond has quit [Remote host closed the connection]
Takle_ has joined #ruby
ghostmoth has joined #ruby
atmosx has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sailias has quit [Quit: Leaving.]
sailias1 has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
georgedrummond has joined #ruby
tastycode has joined #ruby
quimrstorres has quit [Remote host closed the connection]
tvon has joined #ruby
tacit71 has quit [Quit: Leaving.]
gsd has joined #ruby
timonv_ has quit [Remote host closed the connection]
jaequery has joined #ruby
msgodf has quit [Ping timeout: 250 seconds]
georgedrummond has quit [Remote host closed the connection]
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ericwood> who is ready 2 rite some rooby 2day
<ericwood> i am
stunder has joined #ruby
bricker`work has joined #ruby
roolo_ has quit [Remote host closed the connection]
quimrstorres has joined #ruby
roolo has joined #ruby
marcdel_ has quit []
ghr has quit [Ping timeout: 255 seconds]
georgedr_ has joined #ruby
georgedr_ has quit [Remote host closed the connection]
mkaesz has quit [Remote host closed the connection]
vyorkin has quit [Ping timeout: 255 seconds]
checkit has joined #ruby
tastycode has quit [Quit: tastycode]
roolo has quit [Ping timeout: 250 seconds]
avsej has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j2p2 has joined #ruby
avsej has left #ruby [#ruby]
webgen has joined #ruby
zB0hs has joined #ruby
georgedrummond has joined #ruby
webgen has quit [Client Quit]
econerd4ever has joined #ruby
rkalfane has joined #ruby
roolo has joined #ruby
roolo has quit [Remote host closed the connection]
joonty has quit [Ping timeout: 272 seconds]
tacit7 has joined #ruby
freerobby has joined #ruby
tacit71 has joined #ruby
valeriansaliou has joined #ruby
eind has quit [Remote host closed the connection]
kl has quit [Ping timeout: 240 seconds]
ctp has joined #ruby
crazydiamond has joined #ruby
ta has joined #ruby
swistak35 has left #ruby [#ruby]
mikecmpbll has quit [Quit: ciao.]
drkyro has quit [Ping timeout: 240 seconds]
jxf has joined #ruby
tacit7 has quit [Ping timeout: 255 seconds]
Hanmac has quit [Ping timeout: 272 seconds]
tacit71 has quit [Client Quit]
pauly_oc has joined #ruby
mloveless has joined #ruby
jonr22 has joined #ruby
moritzs has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
weemsledeux has joined #ruby
kl has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
eind has joined #ruby
tastycode has joined #ruby
mloveless has quit [Remote host closed the connection]
elico has joined #ruby
tacit7 has joined #ruby
eind has quit [Remote host closed the connection]
Xaitec has joined #ruby
apeiros_ has quit [Remote host closed the connection]
Xaitec has quit [Remote host closed the connection]
tacit7 has quit [Client Quit]
BTRE has quit [Ping timeout: 250 seconds]
timonv_ has joined #ruby
shazaum_ has joined #ruby
tlarevo has quit [Ping timeout: 272 seconds]
tastycode has quit [Client Quit]
echevemaster has quit [Quit: WeeChat 1.0.1]
ringarin has joined #ruby
Shazaum has quit [Ping timeout: 244 seconds]
adriancb has quit [Remote host closed the connection]
triple_b has joined #ruby
konsolebox has joined #ruby
klmlfl_ has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
olivier_bK has quit [Ping timeout: 264 seconds]
Hanmac has joined #ruby
ghr has joined #ruby
shredding has quit [Quit: shredding]
Xeago_ has quit [Remote host closed the connection]
<epitron> Integer#times implemented as *
qba73 has quit []
ReRixo has joined #ruby
atmosx has quit [Ping timeout: 244 seconds]
klmlfl has joined #ruby
prasselpikachu has quit [Ping timeout: 258 seconds]
dcunit3d has joined #ruby
boombadaroomba has joined #ruby
dc_ has joined #ruby
mrsolo has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
boombadaroomba has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 264 seconds]
tacit7 has joined #ruby
yfeldblum has joined #ruby
tacit71 has joined #ruby
ph8 has quit [Changing host]
ph8 has joined #ruby
abuzze has joined #ruby
lampd1 has joined #ruby
fgo_ has joined #ruby
dcunit3d has quit [Ping timeout: 245 seconds]
xaxisx has joined #ruby
dc_ has quit [Ping timeout: 255 seconds]
boombadaroomba has joined #ruby
kireevco has joined #ruby
c_nick has joined #ruby
fabrice31 has joined #ruby
tacit71 has quit [Client Quit]
prasselpikachu has joined #ruby
<c_nick> As we dont have multiple inheritance .. suppose i want to use a variable defined in one class in another how will i do that
kaspertidemann has joined #ruby
krisquigley has quit [Remote host closed the connection]
<jhass> c_nick: please elaborate
adriancb has joined #ruby
tacit7 has quit [Ping timeout: 255 seconds]
krisquigley has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
abuzze has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 258 seconds]
ruber has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<pipework> c_nick: Probably by using modules? I'm not that big a fan of inheritance, but you can use a combination of both for that.
Aswebb has joined #ruby
banister has joined #ruby
<ruber> When I run `pry ./mymodule.rb` I get an error: when_started hook failed: NoMethodError: undefined method `last' for nil:NilClass
moritzs has joined #ruby
<pipework> ruber: Probably because something is nil and shouldn't be.
klmlfl_ has joined #ruby
valeriansaliou has quit [Quit: Be back later ...]
fgo_ has quit [Ping timeout: 264 seconds]
<ruber> pipework: Nil in my module?
patrick99e99 has joined #ruby
<pipework> ruber: Did you read the exception?
Hijiri has quit [Ping timeout: 256 seconds]
fabrice31 has quit [Ping timeout: 264 seconds]
valeriansaliou has joined #ruby
<ruber> pipework: I'm not calling `last` anywhere, though.
c_nick has quit [Ping timeout: 272 seconds]
whoisjake has quit []
<pipework> ruber: Look at the backtrace then. It tells you where the method was called.
krisquigley has quit [Ping timeout: 250 seconds]
sinanislekdemir has joined #ruby
c_nick has joined #ruby
<ruber> pipework: How do I access _pry_.hooks.errors? Is it a file?
<pipework> ruber: You'd have to share the backtrace.
<ruber> pipework: What backtrace?
klmlfl has quit [Ping timeout: 265 seconds]
<pipework> When the exception gets raised, it probably prints the backtrace.
<c_nick> hmm can u give me an example pipework ..
<ruber> pipework: So do I exec: `pry _pry_.hooks.errors` or something?
jonr22 has quit [Remote host closed the connection]
<jhass> c_nick: how about you describe your problem/current design and we make suggestions
sailias has quit [Read error: Connection reset by peer]
<pipework> c_nick: You'll probably want to describe your problem more first. My suggestion is just a vague notion about what you want.
larissa has quit [Quit: Leaving]
<ruber> pipework: Here's the output from the command `pry planets.rb`
<ruber> pipework: when_started hook failed: NoMethodError: undefined method `last' for nil:NilClass
<ruber> pipework: "/Users/gmac/.gem/gems/pry-stack_explorer-0.4.9.1/lib/pry-stack_explorer/when_started_hook.rb:49:in `remove_internal_frames'"
<pipework> ruber: Just one line? Does it happen when you run `pry` on its own?
perturbation has joined #ruby
<ruber> pipework: (see _pry_.hooks.errors to debug)
<ruber> pipework: Error: Cannot find local context. Did you use `binding.pry`?
<ruber> pipework: That's it.
<ruber> pipework: No pry alone works.
<epitron> ruber: you should ask in #pry
<pipework> ruber: You'll want to try `pry` on its own and gist the contents of that file
<perturbation> hi all! Anyone know what the difference is between a = %w(foo bar baz) and a = *%w(foo bar baz) (if any)?
<pipework> You can most definitely also do what epitron says.
shanlar- has quit [Ping timeout: 240 seconds]
ylluminate has joined #ruby
<pipework> When in doubt, doubt everything but epitron.
<ruber> pipework: What I can't understand is why there are no line references to the loaded file.
<epitron> lolol
<epitron> yes, epitron doubts himself for you
dumdedum has quit [Quit: foo]
<pipework> perturbation: Have you tried using both as arguments to a method?
maasha has quit [Ping timeout: 246 seconds]
<ruber> There's just nothing to debug with.
<pipework> ruber: You'll want to gist the source of that file. The problem might be that you need to update your pry gem, maybe.
chu has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<epitron> I just discovered something crazy
<pipework> See if the problem persists with `pry -r my_file.rb`
<ruber> pipework: pry gem up to date
razieliyo has quit [Ping timeout: 265 seconds]
<pipework> epitron: call me maybe?
<jhass> perturbation: the later wastes a few cycles
georgedrummond has quit [Remote host closed the connection]
<pipework> jhass: lol :D
<epitron> you can swipe with two hands on android
<rpag> ruber, the error is happening in pry-stack_explorer
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ruber> pipework: pry -r worked. Thanks.
<epitron> in sideways mode it's great
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
<pipework> epitron: You gotta flip it turnways.
<epitron> yes!
<perturbation> I'm trying to follow what's going on with someone else's source (which is where I saw that. irb says that a and b are equal after something like 'a = %2(1 2 3); b = *%w(1 2 3)'
<pipework> Also, yeah I accidentally discovered that recently. I started trying to do that with two hands, but it was hard to not fuck up.
<epitron> rotate the edge side topwise
ctp has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pipework> perturbation: Oh, yeah with the assignment, that's just like destructuring.
<jhass> perturbation: how about you actually post the code you have doubts about
<ruber> pipework: However I still get NoMethodError: undefined method errors when calling methods which are clearly defined in the module.
claymore has joined #ruby
<pipework> perturbation: a = :lol, :wat
<jhass> perturbation: that's a method call
<pipework> When you splat the array out, you're passing each element of the array in as the value of the assignment to the variable, and ruby takes that splatted array of args and turns it back into an array
<jhass> perturbation: there's no = in there
moritzs has quit [Ping timeout: 272 seconds]
nkumari has joined #ruby
<jhass> perturbation: and in this case it turns the items into individual arguments of the method
<perturbation> I could have sworn it was... gah. So that's just 'call with this array that can have optional args' then?
<perturbation> oh
<perturbation> thanks jhass
BTRE has joined #ruby
<epitron> perturbation: what's %2 do?
lolmaus has quit [Quit: Konversation terminated!]
<perturbation> typo of '%w' :/
<jhass> epitron: look on your keyboard ;)
<epitron> ahh
<epitron> jhass: my keyboard is virtual - look at the scrollback!
<jhass> lame excuses!
fantazo has quit [Quit: Verlassend]
freerobby has joined #ruby
despai has joined #ruby
nkumari has quit [Remote host closed the connection]
airdeluxe has quit [Quit: Leaving]
claudiuinberlin has quit [Quit: Leaving.]
josephnd1nton has quit [Ping timeout: 244 seconds]
nkumari has joined #ruby
timonv_ has quit [Remote host closed the connection]
wolf4ood has quit [Quit: (null)]
<c_nick> sorry was away.. Well lets say module1 has class1 which has a public variable C .. i have assigned it somewhere.. now i want to access this variable in another File
tacit7 has joined #ruby
tacit71 has joined #ruby
<jhass> c_nick: remove any abstractions, they hide your problem
<jhass> preferably show code
AlexRussia has quit [Changing host]
AlexRussia has joined #ruby
tacit71 has quit [Client Quit]
Aswebb has quit []
quimrstorres has quit [Remote host closed the connection]
Shaded has joined #ruby
<Shaded> Hey
<Shaded> I have a heroku app, that has a rb script
airdeluxe has joined #ruby
airdeluxe has quit [Client Quit]
<Shaded> It's supposed to update a json file, but it doesn't seem like it writes to the server
<Shaded> I'm doing this from heroku's cli
airdeluxe has joined #ruby
<Shaded> and I feel like I'm not doing it right
sailias has joined #ruby
<Shaded> the command I'm doing is heroku run -a appname ruby create create_json.rb
tacit7 has quit [Ping timeout: 255 seconds]
<Shaded> and it reacts and puts updating text into the command line, no errors, but just doesn't write it to the server
<jhass> #heroku
valeriansaliou has quit [Quit: Be back later ...]
t7y9r has joined #ruby
econerd4ever has quit [Remote host closed the connection]
chrishough has joined #ruby
econerd4ever has joined #ruby
<pipework> Shaded: I don't think you have write access to anything but a temp directory.
konsolebox has quit [Ping timeout: 272 seconds]
moritzs has joined #ruby
<Shaded> That seems like it'll be the case
<Shaded> How can I make the rb script run and write on the main server
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
<Shaded> Must be some other way to 'sudo' it or whatever
<Shaded> Heroku is weird
ctp has joined #ruby
<workmad3> Shaded: no, there's not a way to write out to the filesystem arbitrarily on heroku
<workmad3> Shaded: the only thing you have access to is a tmp directory, and that's not shared between dynos
kapott has joined #ruby
<pipework> Shaded: You can't. Just put it somewhere else.
<pipework> Like write the file and push it to S3 or something.
<Shaded> Oh hm
<Shaded> That's incredibly weird
renderful has quit [Remote host closed the connection]
<workmad3> Shaded: that's heroku
<pipework> Not really. It's a shared host, they all suck, but it's not weird for them to be that controlling.
<workmad3> Shaded: they basically went "Setting up a filesystem that is shared between multiple app servers is hard to do... lets not let people write to the file system!"
FooMunki has joined #ruby
Aswebb has joined #ruby
mloveless has joined #ruby
<Shaded> Anyone have a "Fuck Heroku" tshirt I can buy?
konsolebox has joined #ruby
<Shaded> >_>
quimrstorres has joined #ruby
ringarin has quit [Quit: Leaving]
sinanislekdemir has quit [Read error: Connection reset by peer]
Takle_ has quit [Read error: No route to host]
<workmad3> anyway, time for me to run away for the day
Takle has joined #ruby
<pipework> Shaded: I own lolroku.com
econerd4ever has quit [Ping timeout: 255 seconds]
<pipework> workmad3: Run away from the day.
IotaSpencer has joined #ruby
IotaSpencer is now known as Guest79829
<workmad3> pipework: that's option 2
Crazy_Atheist has quit [Quit: ZNC - http://znc.in]
econerd4ever has joined #ruby
quimrstorres has quit [Remote host closed the connection]
KC9YDN has quit [Remote host closed the connection]
jgrevich has joined #ruby
Guest79829 is now known as Crazy_Atheist
Crazy_Atheist has quit [Changing host]
Crazy_Atheist has joined #ruby
Hobogrammer has joined #ruby
freerobby has quit [Quit: Leaving.]
x1337807x has joined #ruby
xaxisx has quit [Quit: xaxisx]
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
boombadaroomba has quit [Remote host closed the connection]
Takle_ has joined #ruby
xaxisx has joined #ruby
Synthead has joined #ruby
i5um41ru has quit [Quit: Lost terminal]
valeriansaliou has joined #ruby
blahwoop has joined #ruby
<blahwoop> let it go
<pipework> let it glow
<blahwoop> the cold never bother me anyway!
quimrstorres has joined #ruby
redjack1964 has joined #ruby
valeriansaliou has quit [Client Quit]
Takle has quit [Ping timeout: 272 seconds]
<blahwoop> what's the best way to utilize a constant that can be in more than one class?
<blahwoop> put it outside of the class?
<blahwoop> or just have them inside each class
workmad3 has quit [Ping timeout: 255 seconds]
bMalum_ has joined #ruby
cmckee has quit [Quit: cmckee]
jonr22 has joined #ruby
bMalum has quit [Ping timeout: 255 seconds]
bMalum_ is now known as bMalum
VBlizzard has joined #ruby
x1337807_ has joined #ruby
atmosx has joined #ruby
pietr0 has joined #ruby
<c_nick> 2014-11-27 00:04:65536 This is the value
<c_nick> 2014-11-27 00:04
<c_nick> str = time2.to_s + " This is the value"
<c_nick> reg_exp = /(\d{4})-(\d{2})-(\d{2})\s(\d{2}):(\d{2})/
<c_nick> m = str.match(reg_exp)
<c_nick> I want to get the This is the value too without 65536
_honning_ has joined #ruby
ruber has quit [Quit: Killed (KrON (Requested by panasync))]
x1337807x has quit [Ping timeout: 272 seconds]
<atmosx> c_nick: seems to work your regexp.
<atmosx> c_nick: as expected
dkphenom has joined #ruby
abuzze has joined #ruby
<c_nick> i want the trailing bit too
<atmosx> the numbers?
<atmosx> I don't understand what's your expected value
<c_nick> no .. This > 2014-11-27 00:04 This is the value
jonr22 has quit [Ping timeout: 255 seconds]
renderful has joined #ruby
AlSquirrel has joined #ruby
ebbflowgo has joined #ruby
<eam> c_nick: /(\d{4})-(\d{2})-(\d{2})\s(\d{2}):(\d{2})(.*)/
<eam> the (.*) matches all the rest of the string into another capture argument
<eam> or if you want to avoid the 65536: /(\d{4})-(\d{2})-(\d{2})\s(\d{2}):(\d{2}):\d+(.*)/
yfeldblum has joined #ruby
ghr has joined #ruby
last_staff has joined #ruby
AlSquire has quit [Ping timeout: 264 seconds]
<jhass> .sub(/\d{4,}/, '')
<atmosx> yeah that's what I was thinking too .sub
<c_nick> atmosx: your suggestion wont work .. it will take those numbers
<atmosx> with (:\d\d\d+) which is way more ugly then \d{4,}
<c_nick> i dont understand the later advancements
ylluminate has quit [Quit: Bye!]
nkumari has quit [Remote host closed the connection]
last_staff has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
kireevco1 has joined #ruby
<jhass> we tried to infer your actual problem (yet again)
kireevco1 has quit [Max SendQ exceeded]
ghr has quit [Ping timeout: 240 seconds]
kireevco1 has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
<c_nick> its simple all i want is the string without the 65536
kireevco2 has joined #ruby
kireevco2 has quit [Max SendQ exceeded]
<jhass> .sub(/\d{4,}/, '')
kireevco1 has quit [Read error: No route to host]
kireevco1 has joined #ruby
<atmosx> c_nick: that's going to work, but a better way would be to convert that string into a time object without miliseconds or whatever that is. using strftime("")
agjacome has joined #ruby
CorySimmons has quit [Quit: Bye!]
melik_____ has joined #ruby
kireevco has quit [Ping timeout: 255 seconds]
fgo_ has joined #ruby
kireevco has joined #ruby
kireevco1 has quit [Read error: Connection reset by peer]
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
quimrstorres has quit [Remote host closed the connection]
<atmosx> c_nick: actually working on jhass's example a more readable regex would be str.sub(/\:\d{5,}/, '')
<atmosx> hm I think we lost him. lol
zzz_Ridley has joined #ruby
<jhass> no need to escape the : there
<atmosx> jhass: you do, otherwise you end with it
vyorkin has joined #ruby
<atmosx> looks ugly
zzz_Ridley is now known as Ridley5
Ridley5 has quit [Changing host]
Ridley5 has joined #ruby
<jhass> I said escape, not match
<c_nick> (/(:\d\d\d+)/, i did not understand this
<c_nick> why the braces
<atmosx> jhass: oh k.
<atmosx> c_nick: try http://rubular.com
<atmosx> paste the text and read the comments down bellow, should be fairly simple. Also note the 2nd regexp it's way better imho.
<c_nick> why the comman after d{5,}
fgo_ has quit [Ping timeout: 255 seconds]
<c_nick> i mean comma in the d{5}
kirun has joined #ruby
SOLDIERz has joined #ruby
abuzze has quit [Remote host closed the connection]
<jhass> pure assumption
<jhass> you gave a single example, no description of the format
kamilc__ has quit [Quit: Leaving...]
abuzze has joined #ruby
xaxisx has quit [Quit: xaxisx]
<atmosx> :\d{5} will work too but what if the numbers become 6?
<atmosx> the miliseconds.
TDJACR has quit [Max SendQ exceeded]
<atmosx> anyway this approach is incredibly ugly IMHO. You'd better turn that time object into a format you like and then to a string.
<jhass> you don't even know if it's miliseconds
tacit7 has joined #ruby
<jhass> besides 1000ms = 1s
<jhass> that's four, not five
madhatter has quit [Quit: leaving]
<jhass> and
madhatter has joined #ruby
<jhass> >> Time.now.to_s
<eval-in__> jhass => "2014-11-26 18:59:13 +0000" (https://eval.in/226789)
<jhass> doesn't resemble his example
<jhass> so it's not generated by his next example
econerd4ever has quit [Remote host closed the connection]
<c_nick> Time.now.strftime("%Y-%m-%d %H:%M:%S")
<atmosx> c_nick: exactly
<atmosx> Time.now.strftime("%Y-%m-%d %H:%S").to_s
<c_nick> So its 4
<jhass> why to_s?
econerd4ever has joined #ruby
uber_hulk has quit [Quit: nini]
<atmosx> ah yeah it's already a string
<c_nick> d{4} should do .. comma meaning 4 or more .. but how many more
freerobby has joined #ruby
jheg has joined #ruby
SOLDIERz has quit [Ping timeout: 264 seconds]
tylersmith has quit [Ping timeout: 258 seconds]
<eam> worth noting that fractional representation of miliseconds aren't accurate
adriancb has quit [Remote host closed the connection]
<c_nick> puts str.sub(/(:\d\d\d+)/, '') # 2014-11-27 00:04 This is the value << how did this work
boombadaroomba has joined #ruby
<c_nick> eam: the reason to exclude it
brendenb has quit [Ping timeout: 258 seconds]
az7ar has joined #ruby
<c_nick> unfortunately they are getting generated from one of the functions in my library (where i have no control on)
tylersmith has joined #ruby
St_Marx has quit [Quit: WeeChat 1.0.1]
brendenb has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TDJACR_ has joined #ruby
weemsledeux has joined #ruby
prasselpikachu has quit [Ping timeout: 250 seconds]
econerd4ever has quit [Ping timeout: 255 seconds]
nastri has quit [Ping timeout: 244 seconds]
krisquigley has joined #ruby
<c_nick> rmv_exp = /:d{2}\s/ k = str.sub(rmv_exp, '') puts k doesn't work
<jhass> because it's more than 2 digits?!
russt has joined #ruby
<c_nick> oh i forgot i did a %H:%M:%S
<c_nick> thats 2 now
Megtastique has quit []
<c_nick> Got it .. i was missing the backslash rmv_exp = /:\d{2,4}\s/ k = str.sub(rmv_exp, ' ') puts k
Jackneill has joined #ruby
chrisja has joined #ruby
<c_nick> Thanks Guys
krisquigley has quit [Ping timeout: 258 seconds]
nkumari has joined #ruby
prasselpikachu has joined #ruby
FooMunki has quit [Quit: FooMunki]
_honning_ has quit [Remote host closed the connection]
magikid has joined #ruby
noop has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
despai has quit [Quit: This computer has gone to sleep]
zacstewart has quit [Ping timeout: 256 seconds]
xaxisx has joined #ruby
econerd4ever has joined #ruby
kiyote23 has joined #ruby
kl has quit [Ping timeout: 245 seconds]
ohaibbq has joined #ruby
tacit71 has joined #ruby
tacit7 has quit [Ping timeout: 255 seconds]
xaxisx has quit [Client Quit]
ctp has joined #ruby
bracky_ has joined #ruby
c_nick has left #ruby [#ruby]
josephnd1nton has joined #ruby
baweaver has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
silkfox has quit [Ping timeout: 272 seconds]
magikid has left #ruby ["Leaving"]
brendenb has quit [Ping timeout: 258 seconds]
tacit71 has quit [Ping timeout: 255 seconds]
bracky has quit [Ping timeout: 244 seconds]
magikid has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
brendenb has joined #ruby
lolmaus has joined #ruby
adriancb has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
georgedr_ has joined #ruby
ramfjord has joined #ruby
twistedpixels is now known as zz_twistedpixels
kaspertidemann has quit []
codecop has joined #ruby
ta_ has joined #ruby
freerobby has quit [Quit: Leaving.]
ta has quit [Read error: Connection reset by peer]
georgedrummond has joined #ruby
TDJACR_ has quit [Excess Flood]
freerobby has joined #ruby
vyorkin has quit [Quit: WeeChat 1.0.1]
despai has joined #ruby
TDJACR_ has joined #ruby
Takle_ has quit [Read error: No route to host]
despai has quit [Client Quit]
Takle has joined #ruby
samuel02 has quit [Remote host closed the connection]
GPH|work has quit [Ping timeout: 244 seconds]
georgedr_ has quit [Ping timeout: 265 seconds]
divi has quit [Ping timeout: 265 seconds]
despai has joined #ruby
TDJACR_ has quit [Excess Flood]
roolo has joined #ruby
gugabra has joined #ruby
Cyberheb has joined #ruby
andikr has joined #ruby
Ankhers has quit [Remote host closed the connection]
<magikid> I'm looking to get involved with a ruby project. Any favorites that you'd recommend?
msgodf has joined #ruby
<ericwood> pretty much anything I've ever written
pika_pika has quit [Quit: Leaving]
Ankhers has joined #ruby
sk87 has joined #ruby
mengu has joined #ruby
atmosx has quit [Ping timeout: 250 seconds]
testcore has quit [Ping timeout: 250 seconds]
Dopagod has quit [Read error: Connection reset by peer]
TDJACR_ has joined #ruby
TDJACR_ has quit [Max SendQ exceeded]
roolo has quit [Ping timeout: 250 seconds]
atmosx has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
testcore has joined #ruby
TDJACR_ has joined #ruby
TDJACR_ has quit [Max SendQ exceeded]
drewvanstone has quit [Quit: Lost terminal]
xaxisx has joined #ruby
prasselpikachu has quit [Ping timeout: 272 seconds]
o0oo0o has quit [Ping timeout: 250 seconds]
tomato_omelette has quit [Ping timeout: 244 seconds]
TDJACR_ has joined #ruby
xaxisx has quit [Client Quit]
o0oo0o has joined #ruby
msmith_ has quit [Remote host closed the connection]
xaxisx has joined #ruby
Asher has quit [Quit: Leaving.]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Takle_ has joined #ruby
TDJACR_ has quit [Excess Flood]
gugabra has quit [Quit: Page closed]
msmith_ has joined #ruby
msmith_ has quit [Remote host closed the connection]
msmith_ has joined #ruby
msmith_ has quit [Remote host closed the connection]
baweaver has joined #ruby
msmith_ has joined #ruby
TDJACR_ has joined #ruby
prasselpikachu has joined #ruby
eka has joined #ruby
fdelacruz has joined #ruby
nkumari has quit [Remote host closed the connection]
<eka> hi, any clue why when using pry-byebug binding.pry in a sinatra app all that is typed is echoed? it wasn't happening some time ago, can't tell what changed though
zacstewart has joined #ruby
Takle has quit [Ping timeout: 272 seconds]
georgedr_ has joined #ruby
blahwoop has quit [Remote host closed the connection]
despai has joined #ruby
despai has quit [Client Quit]
rdark has quit [Quit: leaving]
georgedrummond has quit [Ping timeout: 245 seconds]
ceej is now known as ceej_irccloud
georgedrummond has joined #ruby
sinkensabe has joined #ruby
fabrice31 has joined #ruby
anaeem1 has joined #ruby
georgedr_ has quit [Ping timeout: 258 seconds]
georged__ has joined #ruby
nkumari has joined #ruby
bracky_ has quit [Ping timeout: 265 seconds]
dcunit3d has joined #ruby
rylev has joined #ruby
georgedrummond has quit [Ping timeout: 245 seconds]
graydot has joined #ruby
ghr has joined #ruby
magikid has quit [Quit: Leaving]
sinkensabe has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
zacstewart has quit [Ping timeout: 240 seconds]
queequeg1 has quit [Ping timeout: 240 seconds]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
georged__ has quit [Ping timeout: 250 seconds]
Hijiri has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 258 seconds]
havenwood has quit [Remote host closed the connection]
econerd4ever has quit [Remote host closed the connection]
havenwood has joined #ruby
Prawnzy has quit [Remote host closed the connection]
econerd4ever has joined #ruby
xaxisx has quit [Quit: xaxisx]
georgedr_ has joined #ruby
Seich has quit [Ping timeout: 258 seconds]
fgo_ has joined #ruby
LBRapid has quit [Ping timeout: 258 seconds]
havenwood has quit [Client Quit]
TDJACR_ has quit [Ping timeout: 258 seconds]
LBRapid has joined #ruby
anaeem1 has quit [Ping timeout: 258 seconds]
BTRE has quit [Ping timeout: 258 seconds]
Seich has joined #ruby
yfeldblum has joined #ruby
startupality has quit [Quit: startupality]
arescorpio has joined #ruby
econerd4ever has quit [Ping timeout: 255 seconds]
lidaaa has joined #ruby
abuzze_ has joined #ruby
jackjackdrpr has joined #ruby
fgo_ has quit [Ping timeout: 240 seconds]
eka has left #ruby ["Textual IRC Client: www.textualapp.com"]
drkyro has joined #ruby
marr has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
blueOxigen has quit [Ping timeout: 240 seconds]
wedgeV has quit [Quit: wedgeV]
byprdct has quit [Quit: sleeping]
abuzze has quit [Ping timeout: 255 seconds]
jheg has quit [Quit: jheg]
econerd4ever has joined #ruby
rodfersou has quit [Quit: leaving]
agjacome has quit [Ping timeout: 250 seconds]
TDJACR has joined #ruby
TDJACR has quit [Max SendQ exceeded]
zz_twistedpixels is now known as twistedpixels
ramfjord has quit [Ping timeout: 264 seconds]
zacstewart has joined #ruby
TDJACR has joined #ruby
tacit7 has joined #ruby
Seich has quit [Ping timeout: 258 seconds]
Synthead has quit [Ping timeout: 272 seconds]
abuzze_ has quit [Remote host closed the connection]
agjacome has joined #ruby
abuzze has joined #ruby
Seich has joined #ruby
josephndenton has joined #ruby
prasselpikachu has quit [Ping timeout: 240 seconds]
klmlfl has joined #ruby
tacit7 has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
Photism has joined #ruby
klmlfl_ has quit [Ping timeout: 240 seconds]
prasselpikachu has joined #ruby
brendenb has quit [Ping timeout: 258 seconds]
TDJACR has quit [Ping timeout: 258 seconds]
rkalfane has joined #ruby
Seich has quit [Ping timeout: 258 seconds]
sski has joined #ruby
Seich has joined #ruby
TDJACR has joined #ruby
brendenb has joined #ruby
mary5030 has quit [Remote host closed the connection]
BTRE has joined #ruby
kamilc__ has joined #ruby
Scripore has joined #ruby
Synthead has joined #ruby
ybit3 has joined #ruby
noop has quit [Ping timeout: 255 seconds]
ldnunes has quit [Quit: Leaving]
konsolebox has quit [Ping timeout: 265 seconds]
Aswebb has quit [Remote host closed the connection]
dogetime has joined #ruby
apeiros_ has joined #ruby
pricees_ has joined #ruby
atomi has quit [Quit: leaving]
s00pcan has quit [Ping timeout: 258 seconds]
TDJACR has quit [Max SendQ exceeded]
gmas has joined #ruby
Aswebb has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jxf has quit [Read error: Connection reset by peer]
mclee has quit [Ping timeout: 255 seconds]
zacstewart has quit [Ping timeout: 258 seconds]
atomi has joined #ruby
rpag has quit [Ping timeout: 240 seconds]
jheg has joined #ruby
TDJACR has joined #ruby
shazaum_ has quit [Quit: This computer has gone to sleep]
TDJACR has quit [Max SendQ exceeded]
georgedr_ has quit [Remote host closed the connection]
neoxquick has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
pricees_ has quit [Remote host closed the connection]
georgedrummond has joined #ruby
TDJACR has joined #ruby
pricees_ has joined #ruby
LBRapid has quit [Ping timeout: 258 seconds]
quimrstorres has joined #ruby
chabier has joined #ruby
mclee has joined #ruby
valeriansaliou has joined #ruby
georgschlenkhoff has joined #ruby
az7ar is now known as az7ar_away
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
georgschlenkhoff has left #ruby ["Textual IRC Client: www.textualapp.com"]
prasselpikachu has quit [Ping timeout: 256 seconds]
nkumari has quit [Remote host closed the connection]
LBRapid has joined #ruby
Xeago has joined #ruby
matchaw has joined #ruby
it0a has quit [Ping timeout: 258 seconds]
jonr22 has joined #ruby
samuel02 has joined #ruby
konsolebox has joined #ruby
bigkevmcd has joined #ruby
pricees_ has quit [Remote host closed the connection]
pricees_ has joined #ruby
einarj has joined #ruby
pricees_ has quit [Client Quit]
einarj_ has joined #ruby
digital-ghost has joined #ruby
ybit3 has quit [Remote host closed the connection]
maximski has quit []
prasselpikachu has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
valeriansaliou has quit [Ping timeout: 245 seconds]
dcarmich has joined #ruby
jonr22 has quit [Ping timeout: 258 seconds]
digital-ghost has quit [Client Quit]
digital-ghost has joined #ruby
henesy has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 250 seconds]
digital-ghost has quit [Client Quit]
ferr has quit [Ping timeout: 255 seconds]
ferr has joined #ruby
quimrstorres has quit [Remote host closed the connection]
t7y9r has quit [Ping timeout: 240 seconds]
benzrf|offline is now known as benzrf
chrishough has joined #ruby
henesy has joined #ruby
t7y9r has joined #ruby
quimrstorres has joined #ruby
einarj_ has quit [Remote host closed the connection]
jonr22 has joined #ruby
quimrstorres has quit [Remote host closed the connection]
georgedrummond has quit [Remote host closed the connection]
fdelacruz has quit [Quit: EPIC5-1.1.10[1781] - amnesiac : Press [ESC] to detonate or any other key to explode]
axisys has joined #ruby
axisys has quit [Changing host]
axisys has joined #ruby
jheg has quit [Quit: jheg]
mary5030 has joined #ruby
paulfm_ has joined #ruby
kl_ has joined #ruby
georgedrummond has joined #ruby
dts is now known as WillBot
blahwoop has joined #ruby
paulfm has quit [Ping timeout: 245 seconds]
decoponio has quit [Quit: Leaving...]
<blahwoop> webdestroya are uhere
quimrstorres has joined #ruby
ghr has joined #ruby
ebbflowgo has left #ruby [#ruby]
paulfm_ is now known as paulfm
nkumari has joined #ruby
WillBot is now known as dts
troyready has quit [Ping timeout: 256 seconds]
rylev has quit [Remote host closed the connection]
mjuszczak has joined #ruby
mkyurche_ has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
theotherstupidgu has joined #ruby
fgo_ has joined #ruby
jonr22 has quit [Remote host closed the connection]
chabier has quit [Remote host closed the connection]
sinkensabe has joined #ruby
nkumari has quit [Remote host closed the connection]
samuel02 has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
georgedr_ has joined #ruby
georgedrummond has quit [Ping timeout: 258 seconds]
AlSquirrel has quit [Quit: This computer has gone to sleep]
krisquigley has joined #ruby
nkumari has joined #ruby
robbyoconnor has joined #ruby
andikr has quit [Remote host closed the connection]
ricengel has joined #ruby
chabier has joined #ruby
robbyoconnor has quit [Client Quit]
fgo_ has quit [Ping timeout: 264 seconds]
ricengel has quit [Client Quit]
Megtastique has joined #ruby
airdeluxe has quit [Ping timeout: 250 seconds]
mkyurche_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kireevco has quit [Quit: Leaving.]
kireevco has joined #ruby
cleopatra has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
kireevco has quit [Client Quit]
queequeg1 has joined #ruby
stunder has quit [Remote host closed the connection]
mleung has joined #ruby
kireevco has joined #ruby
kireevco has quit [Remote host closed the connection]
Areessell has joined #ruby
abuzze_ has joined #ruby
jasooon has joined #ruby
siso has joined #ruby
<mary5030> had a quick question, so if i have array [a,b,c,d] how can i create a subarray of the ones that returns true
davidhq has joined #ruby
<mary5030> for ex a.exist? == true and b.exist == true
quimrstorres has quit [Remote host closed the connection]
<apeiros_> mary5030: check Array#select
<pontiki> mary5030: take a look at Array#select
sinkensabe has quit [Remote host closed the connection]
<mary5030> right so i used select like this: [a,b,c,d].select { |e| s.exist == true} so this only returns the true ones but i want to check in the same line if that number of elements is great or == to 2
queequeg1 has quit [Ping timeout: 255 seconds]
abuzze has quit [Ping timeout: 255 seconds]
<pontiki> err. what is s, and what is s.exist ?
<mary5030> sorry that is the part i left off of my question, so yes how can i check if the size of this sub array is 2 or greater
<mary5030> yes
<mary5030> i meant e.exist
<mary5030> sorry
einarj has joined #ruby
evanjs has quit [Remote host closed the connection]
ramfjord has joined #ruby
<pontiki> ok, what does e.exist do?
anaeem1_ has joined #ruby
<mary5030> return true or false
nkumari has quit [Remote host closed the connection]
<pontiki> under what circumstance?
<mary5030> [a,b,c,d].select { |e| e.exist == true} >= 2
<mary5030> is this good or i can do something better
<mary5030> ?
Jackneill has quit [Remote host closed the connection]
<apeiros_> mary5030: select returns an array
einarj has quit [Remote host closed the connection]
<pontiki> you can leave off the '== true' part
<apeiros_> use .length to get that array's length
devoldmx has quit [Ping timeout: 272 seconds]
livingstn has joined #ruby
mjuszczak has quit []
<pontiki> [a,b,c,d].select{|x| x.exist}.length
<mary5030> [a,b,c,d].select { |e| e.exist == true}.length/size >= 2
<mary5030> is there another better way i can achieve this ?
<pontiki> leave off the == true bit
<waxjar> you can use count: [a,b,c,d].count { |value| value.exists } > 2
<mary5030> oh right
subtwo has joined #ruby
<mary5030> sweet
<pontiki> ah, yeah, i keep forgetting you can pass a block to count
greenbagels has quit [Read error: Connection reset by peer]
mkyurchev has joined #ruby
Synthead has quit [Ping timeout: 272 seconds]
zB0hs has quit [Quit: Textual IRC Client: www.textualapp.com]
matchaw has quit [Ping timeout: 240 seconds]
C0deMaver1ck has joined #ruby
giuseppesolinas has joined #ruby
Shaded has quit [Read error: Connection reset by peer]
Cyberheb has quit [Quit: Textual IRC Client: www.textualapp.com]
eat_multi has joined #ruby
queequeg1 has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
kaspertidemann has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
nkumari has joined #ruby
despai has joined #ruby
mr_foobar_baz has joined #ruby
samsquanch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SCHAAP137 has quit [Quit: Leaving]
SCHAAP137 has joined #ruby
mengu__ has joined #ruby
samsquanch has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
t_mmyv has joined #ruby
silkfox has joined #ruby
jasooon has quit [Ping timeout: 264 seconds]
AlexRussia has quit [Ping timeout: 245 seconds]
klmlfl has quit [Ping timeout: 272 seconds]
mengu has quit [Ping timeout: 250 seconds]
kiyote23 has quit [Ping timeout: 244 seconds]
snath has quit [Ping timeout: 250 seconds]
kl_ has quit [Ping timeout: 258 seconds]
despai has quit [Client Quit]
kiyote23 has joined #ruby
patrick99e99 has quit [Ping timeout: 244 seconds]
einarj has joined #ruby
silkfox has quit [Ping timeout: 272 seconds]
dts has quit [Read error: Connection reset by peer]
ricengel has joined #ruby
sinkensabe has joined #ruby
einarj has quit [Remote host closed the connection]
ricengel has quit [Client Quit]
jheg has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jasooon has joined #ruby
xymbol has quit [Quit: Be back later ...]
Araknus has joined #ruby
baweaver has joined #ruby
snath has joined #ruby
perturbation has quit [Quit: Leaving]
momomomomo has joined #ruby
timonv_ has joined #ruby
mr_foobar_baz has quit [Remote host closed the connection]
gsd has joined #ruby
mr_foobar_baz has joined #ruby
jasooon has quit [Ping timeout: 264 seconds]
moritzs has quit [Ping timeout: 245 seconds]
mattmcclure has joined #ruby
mleung has quit [Quit: mleung]
msgodf has quit [Ping timeout: 255 seconds]
despai has joined #ruby
fabrice31 has joined #ruby
patrick99e99 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
josephnd1nton has quit [Ping timeout: 250 seconds]
_JamieD__ has joined #ruby
machete has quit [Ping timeout: 256 seconds]
echevemaster has joined #ruby
kiyote23 has quit [Read error: Connection reset by peer]
_JamieD_ has quit [Ping timeout: 272 seconds]
_JamieD__ is now known as _JamieD_
jimbach has quit [Remote host closed the connection]
AlexRussia has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
ebbflowgo has joined #ruby
nkumari has quit [Remote host closed the connection]
kiyote23 has joined #ruby
nkumari has joined #ruby
Takle_ has quit [Read error: No route to host]
machete has joined #ruby
fabrice31 has quit [Ping timeout: 258 seconds]
Takle has joined #ruby
_JamieD_ has quit [Client Quit]
Scripore has quit [Ping timeout: 245 seconds]
livingstn has quit []
kamilc__ has quit [Quit: Linkinus - http://linkinus.com]
tylersmith has quit [Ping timeout: 258 seconds]
tylersmith has joined #ruby
jerius has quit [Remote host closed the connection]
bricker`work has quit [Ping timeout: 250 seconds]
momomomomo has quit [Quit: momomomomo]
nkumari has quit [Ping timeout: 255 seconds]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
jerius has joined #ruby
nkumari has joined #ruby
quimrstorres has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
silkfox has joined #ruby
tus has joined #ruby
rkalfane has joined #ruby
einarj has joined #ruby
<twistedpixels> I have a question if anyone has time to look at it for me: I have some code here (http://pastebin.com/UKtQh0f5) and for some reason it never enters that if statement even though I know the key is "song"
<twistedpixels> anyone know why?
<twistedpixels> inb4 something easy
dcunit3d has joined #ruby
CpuID has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
CpuID has quit [Changing host]
CpuID has joined #ruby
maletor has joined #ruby
einarj has quit [Remote host closed the connection]
ghr has joined #ruby
paulfm has quit []
sinkensabe has quit [Remote host closed the connection]
<pontiki> is it because of the next guard?
<pontiki> i mean, you don't exactly clue us in to what's in status and old_status
<jhass> yeah, that's the only possibilities, either the next hits or the key is not "song"
<pontiki> what do you tests show?
<twistedpixels> the next doesn't hit because it gets output
davasaurous has joined #ruby
<twistedpixels> and the "puts key" outputs "song"
<pontiki> great, so show us input, desired output, and actual output
<twistedpixels> ok, one sex
<jhass> do a puts inside the if
<twistedpixels> sec*
<twistedpixels> haha
<jhass> maybe val is just not what you think it is
davasaurous has quit [Remote host closed the connection]
davasaurous has joined #ruby
dcunit3d has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 240 seconds]
fgo_ has joined #ruby
<twistedpixels> this is what status is: http://pastebin.com/zgscZZTg
<twistedpixels> and old_status is just a copy to check if anything changed
<jhass> uhm, that are symbol keys
<jhass> not strings
marr has joined #ruby
<jhass> which brings me to: use p, not puts for debug printing
aclearman037 has quit [Quit: I'm out!]
fandi has joined #ruby
<twistedpixels> I'm not gonna lie here, I'm pretty new to ruby
<jhass> >> :song == "song"
<eval-in__> jhass => false (https://eval.in/226878)
<twistedpixels> if you hadn't noticed lol
j2p2 has quit [Ping timeout: 255 seconds]
matchaw has joined #ruby
<jhass> :song and "song" are entirely different things
<twistedpixels> ahhh okay
LBRapid has quit [Ping timeout: 258 seconds]
fgo_ has quit [Ping timeout: 240 seconds]
<jhass> :song is what we call a Symbol, "song" is what we call a String
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
LBRapid has joined #ruby
ramfjord has joined #ruby
Scripore has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
<twistedpixels> well that would be the problem
<twistedpixels> thank you so much
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
nfk has quit [Quit: yawn]
kl_ has joined #ruby
LBRapid has quit [Ping timeout: 258 seconds]
mr_foobar_baz has quit [Quit: WeeChat 1.0.1]
brendenb has quit [Ping timeout: 258 seconds]
jgrevich_ has joined #ruby
LBRapid has joined #ruby
jgrevich has quit [Ping timeout: 264 seconds]
jgrevich_ is now known as jgrevich
jlast has quit [Remote host closed the connection]
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brendenb has joined #ruby
frog0909 has quit []
jonr22 has joined #ruby
obscured has quit [Quit: leaving]
SCHAAP137 has quit [Read error: Connection reset by peer]
pandaant has quit [Remote host closed the connection]
St_Marx has joined #ruby
SCHAAP137 has joined #ruby
claymore has quit [Quit: Leaving]
tesaf has quit [Quit: Lost terminal]
<ebbflowgo> what is this format? "2014-11-26T05:45:32Z"
<ebbflowgo> it's a string I want to extract the date
<ebbflowgo> no time
brendenb has quit [Ping timeout: 258 seconds]
xymbol has joined #ruby
valeriansaliou has joined #ruby
<jhass> ebbflowgo: where do you get it from?
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ebbflowgo> ah nv
<ebbflowgo> nvm
<ebbflowgo> the date module can handle it
georgedr_ has quit [Remote host closed the connection]
C0deMaver1ck has quit [Ping timeout: 258 seconds]
tylersmith has quit [Ping timeout: 258 seconds]
C0deMaver1ck has joined #ruby
TDJACR has quit [Ping timeout: 258 seconds]
mleung has joined #ruby
econerd4ever has quit [Remote host closed the connection]
brendenb has joined #ruby
Araknus has quit [Quit: WeeChat 1.0.1]
anaeem1_ has quit [Remote host closed the connection]
tylersmith has joined #ruby
econerd4ever has joined #ruby
peterhu has quit [Quit: kernel update]
russt has quit [Ping timeout: 264 seconds]
TDJACR has joined #ruby
valeriansaliou has quit [Ping timeout: 256 seconds]
txdv has quit [Ping timeout: 256 seconds]
siso has quit [Ping timeout: 272 seconds]
ht__th has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 240 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
simon_ has joined #ruby
<simon_> Aloha!
econerd4ever has quit [Ping timeout: 265 seconds]
evanjs has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
r4do has joined #ruby
<simon_> Im processing a stream of events that come in as a hash. It looks something like {:a => {:b => "val"}}. Im interesting in [:a
<simon_> ][:b]
<simon_> But somethimes the hash that comes in is [:a]["b"]
<simon_> How to deal with this in a neat way?
<simon_> (im not a ruby dev, and I cannot change the code that gives me the stream..)
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework> simon_: Can you control the value to make it always a hash?
<terrellt> That's weird.
baweaver has quit [Remote host closed the connection]
lidaaa has quit [Ping timeout: 258 seconds]
valeriansaliou has joined #ruby
<pipework> Ah, then you can consider using activesupport's HashWithIndifferentAccess if you like.
econerd4ever has joined #ruby
<terrellt> Eh, you'd have to go deep, no?
<pipework> terrellt: Yeah, but you could make a HWIA then merge! the old hash into it.
<simon_> Nice, perfect. Thanks pipework !
<pipework> HWIA.new.merge(old_hash) # I think that'll do the trick.
<simon_> Do I need all of RoR for this?
Kricir has quit [Remote host closed the connection]
ptrrr has quit [Quit: ptrrr]
adriancb has quit [Remote host closed the connection]
s00pcan has joined #ruby
<simon_> Never mind. :P
adriancb has joined #ruby
<terrellt> simon_: bad_hash[:a][:b] || bad_hash[:a]["b"]
<pipework> simon_: Nope, just active_support
<pipework> or is it activesupport
eind has joined #ruby
<terrellt> pipework: Both
<simon_> terrellt: thats neat aswell. Ill go with that one :)
<terrellt> Gem is named differently than the require. =(
<simon_> Thanks for the help guys/gals
baweaver has joined #ruby
peterhu has joined #ruby
eind has quit [Ping timeout: 255 seconds]
blahwoop has quit [Remote host closed the connection]
fgo_ has joined #ruby
aspires has quit []
codecop has quit [Remote host closed the connection]
dkphenom has joined #ruby
NoNMaDDeN has quit [Remote host closed the connection]
aspires has joined #ruby
siso has joined #ruby
samuel02 has joined #ruby
nkumari has quit [Remote host closed the connection]
jerius has quit [Ping timeout: 255 seconds]
charlenopires has joined #ruby
charlenopires has left #ruby [#ruby]
melik_____ has quit [Ping timeout: 272 seconds]
Takle has quit [Read error: Connection reset by peer]
xymbol has quit [Read error: Connection reset by peer]
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
melik_____ has joined #ruby
Takle has joined #ruby
r4do has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
samuel02 has quit [Ping timeout: 255 seconds]
xymbol has joined #ruby
josephndenton has quit [Ping timeout: 258 seconds]
baweaver has quit [Remote host closed the connection]
simon_ has quit [Quit: Lost terminal]
n1lo has quit [Ping timeout: 264 seconds]
chabier has quit [Remote host closed the connection]
chabier_ has joined #ruby
dseitz has joined #ruby
dts has joined #ruby
txdv has joined #ruby
ghr has joined #ruby
ramfjord_ has joined #ruby
ramfjord has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
airdeluxe has joined #ruby
davasaurous has quit [Remote host closed the connection]
nkumari has joined #ruby
renderful has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 258 seconds]
renderful has joined #ruby
ReRixo has quit []
georgedrummond has joined #ruby
evanjs has quit [Remote host closed the connection]
Jake232 has joined #ruby
kl_ has quit [Ping timeout: 245 seconds]
t7y9r has quit [Ping timeout: 250 seconds]
jheg has quit [Quit: jheg]
gugaBR has joined #ruby
kl_ has joined #ruby
Takle_ has joined #ruby
Takle has quit [Ping timeout: 258 seconds]
Channel6 has joined #ruby
sailias has quit [Quit: Leaving.]
bafbomb has joined #ruby
mary5030 has quit [Remote host closed the connection]
ebbflowgo has quit [Quit: ebbflowgo]
mengu__ has quit []
mary5030 has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
n1lo has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
St1gma has quit [Read error: Connection reset by peer]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
st1gma1 has joined #ruby
mary5030 has quit [Ping timeout: 240 seconds]
davidhq has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fgo_ has quit [Ping timeout: 244 seconds]
sski has quit [Ping timeout: 264 seconds]
WillAmes has quit [Remote host closed the connection]
airdeluxe has quit [Ping timeout: 255 seconds]
matchaw has quit [Remote host closed the connection]
davidhq has quit [Client Quit]
ixti has quit [Ping timeout: 255 seconds]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
magler has quit [Ping timeout: 244 seconds]
rylev has joined #ruby
honey has joined #ruby
honey has left #ruby [#ruby]
michael_mbp has quit [Excess Flood]
jonr22 has quit [Remote host closed the connection]
razieliyo has joined #ruby
razieliyo has quit [Changing host]
razieliyo has joined #ruby
michael_mbp has joined #ruby
georgedr_ has joined #ruby
kaspertidemann has quit []
georgedrummond has quit [Ping timeout: 250 seconds]
bogeyd6 has quit [Quit: Leaving]
bogeyd6 has joined #ruby
sski has joined #ruby
quimrstorres has joined #ruby
ixti has joined #ruby
quimrstorres has quit [Remote host closed the connection]
aspires has quit []
quimrstorres has joined #ruby
russt has joined #ruby
n1lo has quit [Ping timeout: 272 seconds]
suffice has quit [Ping timeout: 250 seconds]
cloaked1 has quit [Quit: Happy Thanksgiving all]
kireevco has quit [Quit: Leaving.]
airdeluxe has joined #ruby
spider-mario has quit [Remote host closed the connection]
marahin has joined #ruby
Takle_ has quit [Read error: Connection reset by peer]
DrShoggoth has quit [Quit: Leaving]
marahin is now known as Guest62694
quimrstorres has quit [Ping timeout: 244 seconds]
tjbiddle has joined #ruby
Takle has joined #ruby
quimrstorres has joined #ruby
fabrice31 has joined #ruby
gsd has joined #ruby
graydot has quit [Quit: graydot]
kirun has quit [Quit: Client exiting]
Spami has joined #ruby
twistedpixels has quit [Quit: ZNC - http://znc.in]
duncannz has joined #ruby
twistedpixels has joined #ruby
Takle has quit [Read error: No route to host]
Takle has joined #ruby
Tab_ has joined #ruby
bMalum has quit [Quit: bMalum]
blaines has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
Guest62694 is now known as marahin
marahin has quit [Changing host]
marahin has joined #ruby
georgedrummond has joined #ruby
Scripore has quit [Ping timeout: 265 seconds]
jonr22 has joined #ruby
suffice has joined #ruby
georgedr_ has quit [Ping timeout: 240 seconds]
Photism has quit [Quit: Leaving]
chrisja has quit [Quit: leaving]
blaines has quit [Ping timeout: 255 seconds]
Tab_ has quit [Read error: Connection reset by peer]
jidar has joined #ruby
kh019267 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo_ has joined #ruby
maletor has joined #ruby
gmas has quit [Ping timeout: 265 seconds]
timonv_ has quit [Remote host closed the connection]
<jidar> having one hell of a time getting the windows gem to install on windows, get the following error: http://pastebin.com/r4jPZxs3 I've done the required DevKit stuff via `ruby dk.rb init` `ruby dk.rb install` any ideas?
mkyurchev has quit [Remote host closed the connection]
jonr22 has quit [Remote host closed the connection]
timonv_ has joined #ruby
Joufflu has joined #ruby
jonr22 has joined #ruby
Takle_ has joined #ruby
NoNMaDDeN has joined #ruby
jimbach has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
segfalt has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Kricir has joined #ruby
rrva has quit [Quit: leaving]
timonv_ has quit [Ping timeout: 240 seconds]
Takle_ has quit [Read error: Connection reset by peer]
davasaurous has joined #ruby
mleung has quit [Quit: mleung]
Takle has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
ramfjord_ has quit [Read error: Connection reset by peer]
moritzs has joined #ruby
mary5030 has joined #ruby
fandi has quit [Ping timeout: 258 seconds]
jimbach has quit [Ping timeout: 256 seconds]
byprdct has joined #ruby
NoNMaDDeN has quit [Ping timeout: 244 seconds]
Kricir has quit [Ping timeout: 256 seconds]
Notte has joined #ruby
eind has joined #ruby
Notte has quit [Client Quit]
agjacome has quit [Quit: leaving]
mloveless has quit [Remote host closed the connection]
quimrstorres has joined #ruby
jonr22 has quit [Remote host closed the connection]
triple_b has joined #ruby
lidaaa has joined #ruby
dcunit3d has joined #ruby
dc has joined #ruby
ghr has joined #ruby
georgedr_ has joined #ruby
georgedr_ has quit [Remote host closed the connection]
reinaldob has quit [Ping timeout: 250 seconds]
renderful has quit [Remote host closed the connection]
Obfuscate has joined #ruby
Aswebb has quit []
lidaaa has quit [Client Quit]
georgedrummond has quit [Ping timeout: 272 seconds]
aspires has joined #ruby
dcunit3d has quit [Ping timeout: 255 seconds]
Obfuscate has left #ruby [#ruby]
nkumari has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
Obfuscate has joined #ruby
dc has quit [Ping timeout: 272 seconds]
ghr has quit [Ping timeout: 264 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eind has quit [Remote host closed the connection]
jimbach has joined #ruby
jimbach has quit [Remote host closed the connection]
livingstn has joined #ruby
jimbach has joined #ruby
<zenspider> jidar: C:/Ruby200/lib/ruby/gems/2.0.0/gems/pkg-config-1.1.6/lib/pkg-config.rb:265:in `parse_pc': .pc for glib-2.0 doesn't exist. (RuntimeError)
<zenspider> seems pretty clear what's up. have you addressed that?
drkyro has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<zenspider> I'd also look at the mkmf.log like it recommends
quimrstorres has quit [Remote host closed the connection]
boombadaroomba has quit [Remote host closed the connection]
rylev has quit [Remote host closed the connection]
rylev has joined #ruby