apeiros changed the topic of #ruby-lang to: Ruby 2.1.0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || RubyConf 2013 at http://www.justin.tv/confreaks
ecnalyr has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
vlad_starkov has joined #ruby-lang
michaeldeol has quit [Quit: Computer has gone to sleep.]
woollyams has joined #ruby-lang
michaeldeol has joined #ruby-lang
seanlinsley has quit [Quit: …]
vlad_starkov has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
shinnya has joined #ruby-lang
michaeldeol has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby-lang
ikrima has quit [Ping timeout: 272 seconds]
micalexander has quit [Ping timeout: 265 seconds]
ecnalyr has quit [Remote host closed the connection]
hrs has joined #ruby-lang
ikrima has joined #ruby-lang
ecnalyr has joined #ruby-lang
manveru has quit [Ping timeout: 252 seconds]
KU0N has quit [Quit: Leaving...]
hrs has quit [Client Quit]
ecnalyr has quit [Ping timeout: 240 seconds]
pr0ton has quit [Quit: pr0ton]
manveru has joined #ruby-lang
houhoulis has joined #ruby-lang
teleological has joined #ruby-lang
teleological has left #ruby-lang [#ruby-lang]
havenwood has quit [Remote host closed the connection]
DannyC has joined #ruby-lang
DannyC has quit [Client Quit]
michaeldeol has joined #ruby-lang
pyk has left #ruby-lang [#ruby-lang]
workmad3 has quit [Ping timeout: 260 seconds]
dik_dak has quit [Quit: Leaving]
pr0ton has joined #ruby-lang
Coincidental has joined #ruby-lang
cored has quit [Ping timeout: 245 seconds]
JoshuaPaling has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
Guest72658 has quit [Ping timeout: 240 seconds]
marcel has joined #ruby-lang
pr0ton has joined #ruby-lang
VTLob has quit [Quit: VTLob]
jtw has quit []
michaeldeol has quit [Quit: Lingo - http://www.lingoirc.com]
seanlinsley has joined #ruby-lang
tylersmith has joined #ruby-lang
lun_ has joined #ruby-lang
michaeldeol has joined #ruby-lang
Elico has quit [Ping timeout: 256 seconds]
znz_jp has quit [Ping timeout: 264 seconds]
tylersmith has quit [Ping timeout: 250 seconds]
lun_ has quit [Ping timeout: 260 seconds]
cnivolle has quit [Remote host closed the connection]
RobertBirnie has quit [Ping timeout: 260 seconds]
_dumfries has quit [Ping timeout: 252 seconds]
znz_jp has joined #ruby-lang
Elico has joined #ruby-lang
specialblend has joined #ruby-lang
styped has joined #ruby-lang
_dumfries has joined #ruby-lang
jaimef has quit [Excess Flood]
tylersmith has joined #ruby-lang
jaimef has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
seanlinsley has quit [Read error: Connection reset by peer]
nisstyre has quit [Ping timeout: 260 seconds]
seanlinsley has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
sent-hil has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
<sent-hil> I'm having trouble making elastic queries from em-http-request: https://gist.github.com/sent-hil/8927699
<sent-hil> the example from ES is using -d option with curl
<sent-hil> not sure what i'm doing wrong
Coincidental has joined #ruby-lang
whitequark has quit [Ping timeout: 264 seconds]
sebastianb has quit [Ping timeout: 264 seconds]
whitequark has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
nichtdiebohne has quit [Quit: Leaving...]
|jemc| has joined #ruby-lang
sebastianb has joined #ruby-lang
badeball has quit [Ping timeout: 252 seconds]
badeball has joined #ruby-lang
micalexander has joined #ruby-lang
nszceta has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
ledestin has quit [Read error: Connection reset by peer]
ledestin has joined #ruby-lang
swills has quit [Read error: Connection reset by peer]
nathanst_ has joined #ruby-lang
nathanstitt has quit [Read error: Connection reset by peer]
swills has joined #ruby-lang
FlyingLeap has quit [Remote host closed the connection]
swills has quit [Changing host]
swills has joined #ruby-lang
FlyingLeap has joined #ruby-lang
Coincidental has joined #ruby-lang
Coincide_ has joined #ruby-lang
kalehv has quit [Read error: Connection reset by peer]
SteveBen_ has joined #ruby-lang
kalehv has joined #ruby-lang
SteveBenner09 has quit [Read error: Connection reset by peer]
styped has quit [Ping timeout: 265 seconds]
Coincidental has quit [Ping timeout: 250 seconds]
specialblend has quit [Quit: specialblend]
spacecloud is now known as pipework
elliotec has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
mistym has joined #ruby-lang
michaeldeol has quit [Quit: Computer has gone to sleep.]
michaeldeol has joined #ruby-lang
nathanst_ has quit [Quit: I growing sleepy]
michaeldeol has quit [Ping timeout: 250 seconds]
RoxasShadowRS has quit [Read error: Connection reset by peer]
jsullivandigs has quit [Remote host closed the connection]
Sirupsen has joined #ruby-lang
heavyhorse has joined #ruby-lang
saarinen has quit [Quit: saarinen]
Coincide_ has quit [Remote host closed the connection]
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
bzalasky has joined #ruby-lang
styped has joined #ruby-lang
vlad_starkov has joined #ruby-lang
nisstyre has joined #ruby-lang
silverruby has joined #ruby-lang
<Paradox> if i were to be writing an api client for something, what is the best way to deal with rate limits. Not looking for a gem or anything, just advice
mehlah has quit [Quit: Leaving...]
lcdhoffman has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
symm- has quit [Ping timeout: 248 seconds]
<pipework> Paradox: Receiving them?
<pipework> You could build your gem on queues and use that as a backlog and way to prevent the same request being sent too much in too short a time. You could implement a cache of responses that minds http cache headers as well.
robbyoconnor has joined #ruby-lang
lsegal has joined #ruby-lang
charliesome has quit [Ping timeout: 252 seconds]
kalehv_ has joined #ruby-lang
kalehv has quit [Read error: Connection reset by peer]
<Paradox> i think i figured out a way
<Paradox> log the last request, and if its within 2 seconds block
crankharder has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby-lang
charliesome has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 260 seconds]
<pipework> borin
<pipework> g
yfeldblum has quit [Remote host closed the connection]
kwando_ has joined #ruby-lang
nvll has quit [Ping timeout: 245 seconds]
meizaps has quit [Ping timeout: 245 seconds]
linc01n has quit [Ping timeout: 245 seconds]
zz_gianlucadv has quit [Ping timeout: 250 seconds]
jamo has quit [Ping timeout: 250 seconds]
yellow5 has quit [Quit: time to go!]
yellow5 has joined #ruby-lang
gix has quit [Ping timeout: 250 seconds]
kwando has quit [Ping timeout: 250 seconds]
jamo____ has quit [Ping timeout: 250 seconds]
michael_mbp has quit [Quit: ZNC - http://znc.sourceforge.net]
gix has joined #ruby-lang
MartynKeigher2 has quit [Quit: Bye for now!]
michaeldeol has joined #ruby-lang
jtw has joined #ruby-lang
meizaps has joined #ruby-lang
jamo has joined #ruby-lang
lun_ has joined #ruby-lang
linc01n has joined #ruby-lang
zz_gianlucadv has joined #ruby-lang
michael_mbp has joined #ruby-lang
nvll has joined #ruby-lang
jamo___ has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
postmodern has quit [Quit: Leaving]
ledestin has quit [Ping timeout: 260 seconds]
michaeldeol has quit [Ping timeout: 245 seconds]
MartynKeigher has joined #ruby-lang
lun_ has quit [Ping timeout: 272 seconds]
meizaps has quit [Ping timeout: 248 seconds]
vpretzel_ has joined #ruby-lang
bzb has joined #ruby-lang
marr has quit [Ping timeout: 245 seconds]
Coincidental has joined #ruby-lang
MartynKeigher has quit [Max SendQ exceeded]
vpretzel has quit [Ping timeout: 245 seconds]
ledestin has joined #ruby-lang
dik_dak has joined #ruby-lang
vpretzel_ is now known as vpretzel
sepp2k has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
MartynKeigher2 has joined #ruby-lang
Asher has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
SteveBen_ has quit []
Coincidental has quit [Remote host closed the connection]
bzb has quit [Quit: I hate to quit but my bladder's full. :-(]
Asher has joined #ruby-lang
bradcliffe has joined #ruby-lang
yfeldblum has joined #ruby-lang
norder has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
nathanstitt has joined #ruby-lang
dik_dak has quit [Ping timeout: 272 seconds]
michaeldeol has joined #ruby-lang
MartynKeigher2 has quit [Quit: Bye for now!]
agrinb has joined #ruby-lang
crankharder has joined #ruby-lang
eoinkelly has joined #ruby-lang
mistym has quit [Remote host closed the connection]
MartynKeigher2 has joined #ruby-lang
alekst has quit [Quit: Computer has gone to sleep.]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
michaeldeol has quit [Quit: Computer has gone to sleep.]
michaeldeol has joined #ruby-lang
kitak has joined #ruby-lang
michaeldeol has quit [Ping timeout: 265 seconds]
woollyams has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
mistym has joined #ruby-lang
Coincidental has joined #ruby-lang
eoinkelly has quit [Ping timeout: 272 seconds]
mistym has quit [Remote host closed the connection]
dik_dak has joined #ruby-lang
kitak has quit [Remote host closed the connection]
_mh_ has quit [Ping timeout: 252 seconds]
Coincidental has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
kalehv_ has quit [Read error: Connection reset by peer]
_mh_ has joined #ruby-lang
dik_dak has quit [Quit: Leaving]
ggherdov has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby-lang
norder has left #ruby-lang [#ruby-lang]
yfeldblum has joined #ruby-lang
rahul_j has joined #ruby-lang
michaeldeol_ has joined #ruby-lang
ggherdov has joined #ruby-lang
michaeldeol has quit [Ping timeout: 260 seconds]
kitak has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
michaeldeol_ has quit [Ping timeout: 272 seconds]
nichtdiebohne has joined #ruby-lang
jtw has quit []
havenwood has quit [Ping timeout: 245 seconds]
mykoweb has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
zenspider_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
agrinb has quit [Quit: Computer has gone to sleep.]
zenspider has quit [Ping timeout: 264 seconds]
houhoulis has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
kalehv_ has joined #ruby-lang
kalehv has quit [Read error: Connection reset by peer]
nisstyre has quit [Ping timeout: 260 seconds]
rahul_j has joined #ruby-lang
mistym has joined #ruby-lang
eoinkelly has joined #ruby-lang
styped has quit [Ping timeout: 260 seconds]
styped has joined #ruby-lang
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JohnBat26 has joined #ruby-lang
lun_ has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
mdub has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
lun_ has quit [Ping timeout: 260 seconds]
bzalasky has quit [Remote host closed the connection]
iliketurtles has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
heavyhorse has quit [Quit: Computer has gone to sleep]
yfeldblum has joined #ruby-lang
heavyhorse has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 250 seconds]
mistym has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
fuhgeddaboudit has quit [Read error: Operation timed out]
heavyhorse has quit [Ping timeout: 250 seconds]
mistym has joined #ruby-lang
norder has joined #ruby-lang
shinnya has quit [Ping timeout: 247 seconds]
michaeldeol_ has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
phansch has joined #ruby-lang
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
michaeldeol_ has quit [Ping timeout: 260 seconds]
jsullivandigs has joined #ruby-lang
|jemc| has quit [Ping timeout: 252 seconds]
jsullivandigs has quit [Remote host closed the connection]
kalehv_ has quit [Remote host closed the connection]
h0lyalg0rithm has joined #ruby-lang
h0lyalg0rithm has quit [Client Quit]
mistym_ has joined #ruby-lang
mistym has quit [Ping timeout: 246 seconds]
norder has quit [Ping timeout: 260 seconds]
dingus_khan has joined #ruby-lang
<dingus_khan> does rspec have a problem with methods from included modules, or am i just retarded and don't know how to write a module inclusion?
mucker has quit [Remote host closed the connection]
agrinb has joined #ruby-lang
mucker has joined #ruby-lang
bzalasky has joined #ruby-lang
agrinb has quit [Ping timeout: 252 seconds]
mucker has quit [Ping timeout: 246 seconds]
Barrin6 has joined #ruby-lang
styped has left #ruby-lang [#ruby-lang]
lun_ has joined #ruby-lang
kith has quit [Quit: kith]
kith has joined #ruby-lang
kitak has quit [Remote host closed the connection]
nichtdiebohne has quit [Quit: Linkinus - http://linkinus.com]
pr0ton has quit [Quit: pr0ton]
lcdhoffman has quit [Quit: lcdhoffman]
Coincidental has joined #ruby-lang
marcofernandez has quit [Ping timeout: 246 seconds]
mdub has quit [Ping timeout: 252 seconds]
marcofernandez has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jclrb has joined #ruby-lang
seanlinsley has quit [Ping timeout: 246 seconds]
michaeldeol_ has joined #ruby-lang
relix has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
michaeldeol_ has quit [Ping timeout: 260 seconds]
skade has joined #ruby-lang
ssb123 has quit [Ping timeout: 240 seconds]
h0lyalg0rithm has joined #ruby-lang
mixtr has joined #ruby-lang
kitak has joined #ruby-lang
h0lyalg0_ has joined #ruby-lang
eoinkelly has quit [Ping timeout: 245 seconds]
eoinkelly has joined #ruby-lang
phansch_ has joined #ruby-lang
heftig has quit [Quit: Quitting]
arBmind has joined #ruby-lang
phansch has quit [Ping timeout: 252 seconds]
h0lyalg0rithm has quit [Ping timeout: 265 seconds]
skade has quit [Quit: Computer has gone to sleep.]
kalehv has joined #ruby-lang
tonni has joined #ruby-lang
kalehv has quit [Ping timeout: 260 seconds]
Coincidental has quit [Remote host closed the connection]
dbussink has joined #ruby-lang
Coincidental has joined #ruby-lang
woollyams has joined #ruby-lang
Barrin6 has quit [Quit: Leaving]
AKASkip has joined #ruby-lang
AKASkip has quit [Max SendQ exceeded]
rahul_j has quit [Quit: rahul_j]
AKASkip has joined #ruby-lang
Cakey has joined #ruby-lang
madb055 has quit [Read error: Connection reset by peer]
madb055 has joined #ruby-lang
solars has joined #ruby-lang
lun_ has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
lun_ has joined #ruby-lang
ssb123 has quit [Read error: Connection reset by peer]
ssb123 has joined #ruby-lang
yfeldblum has joined #ruby-lang
h0lyalg0rithm has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
tylersmith has quit [Remote host closed the connection]
h0lyalg0_ has quit [Ping timeout: 248 seconds]
mixtr has quit [Quit: WeeChat 0.4.3]
lun_ has quit [Ping timeout: 248 seconds]
tylersmith has joined #ruby-lang
ssb123 has quit [Ping timeout: 240 seconds]
kitak has quit [Remote host closed the connection]
tylersmith has quit [Ping timeout: 252 seconds]
<dingus_khan> wow, such dead
<centrx> It is night in both America and Europe
<centrx> Also try #ruby
<dingus_khan> ah, thanks for the tip, doing so now
ecnalyr has joined #ruby-lang
michaeldeol_ has joined #ruby-lang
havenwood is now known as havenwrathofkhan
rahul_j has joined #ruby-lang
dagobah has joined #ruby-lang
michaeldeol_ has quit [Ping timeout: 260 seconds]
havenwrathofkhan is now known as havenwood
tonni has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
<certainty> dingus_khan: how did you try it?
<dingus_khan> ah, so i'm in the #ruby channel, and i shared this paste: http://codepad.org/eVWLPmcC
centrx has quit [Quit: Merry Christmas! And to all a Good Night!]
mistym_ has quit [Remote host closed the connection]
tonni has joined #ruby-lang
jclrb has quit [Quit: jclrb]
<certainty> dingus_khan: load_hotels will be an instance_method (a private one) in Hotel
Lewix has quit [Remote host closed the connection]
<dingus_khan> certainty: so you're saying i should just make load_hotels a private instance method of Hotels? or that's what the module inclusion is really doing in that class?
<certainty> dingus_khan: that's what's happeing if you include the module yeah.
silverruby has quit [Ping timeout: 245 seconds]
nXqd has joined #ruby-lang
<dingus_khan> certainty: ok, thank you, that does explain a lot, lol. can you maybe point me in the right direction for what i'm trying to accomplish? i'm trying to design a collection of methods that can be separate from the Hotel and Customer classes, for the purposes of reading in from csv's, but that could some day be upgraded to work with an ORM like Active Record--does that even make sense?
<certainty> dingus_khan: you might want to extend Reader in Hotels
<dingus_khan> ok, i'll try that now
<dingus_khan> so that invokes the private method error, but i think i can work around that, right? can't remember if you can force something to be public in ruby...
<certainty> dingus_khan: please show again what you're doing
arBmind has quit [Quit: Leaving.]
<dingus_khan> certainty: so here's everything so far: http://codepad.org/3fWzBxJJ
hahuang65 has quit [Ping timeout: 245 seconds]
<havenwood> dingus_khan: looks like you're using Ruby 1.8, which is past end-of-life and doesn't have `require_relative`.
<dingus_khan> the goal is to have the Reader module perform all file reading functions and import data from a CSV to be used in instantiating Hotel objects. the reason i wanted to separate it out into a module was so that i could some day modify it to instead access a database like Sqlite or PostgreSQL
<certainty> dingus_khan: i don't see a "private method"-error. I see a nomethoderror
elliotec has quit [Remote host closed the connection]
<certainty> dingus_khan: i understand
<dingus_khan> oh right sorry, i think i posted the wrong version somehow? crap
elliotec has joined #ruby-lang
<dingus_khan> no that's right, i'd just changed it back, shit, but i'm using 1.9.3 for my version
ssb123 has joined #ruby-lang
JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michd is now known as MichD
tonni has quit [Remote host closed the connection]
<dingus_khan> when i run rspec (i just run 'rspec' without a target since it's the only test in there), i get a private method error still
JoshuaPaling has joined #ruby-lang
JoshuaPaling has quit [Client Quit]
<dingus_khan> i switched to extend like you suggested, did not know that's how it worked, so thanks for that since i learned that bit right there!
<dingus_khan> i think i may be approaching this the wrong way though
ssb123 has quit [Read error: Connection reset by peer]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
ssb123 has joined #ruby-lang
<certainty> dingus_khan: that's because you declared your load_hotels method to be a module_function
<certainty> dingus_khan: do you know what module_function does?
<dingus_khan> yeah i just tried removing that, nilClass error
prognostikos has joined #ruby-lang
<dingus_khan> i assumed it was a way of making it a method that the module can use on instances?
<dingus_khan> i've been reading everything really too fast (in a massive hurry, bad, i know), but i thought that's what i'd read
<dingus_khan> yep, that doesn't make sense. sigh, i knew i shouldn't have let the ruby slide so far...
<certainty> dingus_khan: it allows you to send that method to the module it was defined in. It also makes sure that classes that include it get its methods mixed in as private instance methods
<dingus_khan> so would i then create a means of accessing that private method through the class for the purposes of using it during instantiation, or does the fact that i'm trying to use this for the purpose of instantiation not permit for that?
<certainty> it's intended for cases where the module shall be usable on its own and be mixed into a classes
ssb123 has quit [Ping timeout: 240 seconds]
heftig has joined #ruby-lang
<dingus_khan> ok, so that IS what i'm going for, i think, but the problem is that i'm depending on it to even just create the objects which would theoretically use them. i think
<dingus_khan> so by removing the module_function line, the test runs, but now the test method "empty?" is failing because it's returning a nil:NilClass
<certainty> dingus_khan: simplified example https://gist.github.com/certainty/8931150
<dingus_khan> when you were learning this stuff, was there a favorite resource you had that was pretty concise on designing with modules?
<certainty> dingus_khan: ok let me see
io_syl has quit []
<certainty> dingus_khan: that is because load_hotels doesn't return a collection of hotels
<dingus_khan> oh shit, i changed that as well--i originally had it pushing a new Hotel object into an array
<dingus_khan> i am bad at development practices
tylersmith has joined #ruby-lang
<dingus_khan> but that raises the question, would i create an instance variable in the load_hotels method? i guess i thought it wouldn't have scope within the Hotel class, but since i'm extending the module, then it might?
<certainty> load_hotels is a class-method for Hotel.
<certainty> remember that we used extend rather than include
<dingus_khan> ok, so the initializer should work then, right?
<certainty> yes looks ok
<dingus_khan> right, that makes a big difference, was not aware of that--i've hardly ever worked with modules in the past, i think i've written all of two or three in a year's time, still learning :(
<dingus_khan> so load_hotels with @hotels = Hotel.new(row) for the csv.foreach is still returning a nil:NilClass, i think now the test isn't quite right?
michaeldeol_ has joined #ruby-lang
tylersmith has quit [Ping timeout: 265 seconds]
<dingus_khan> same with creating empty array of same name and pushing to it in csv loop
chris2 has quit [Ping timeout: 264 seconds]
<certainty> dingus_khan: show the code please. Also i've updated my gist to show the usage inside rspec
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
<certainty> of course expected_number_of_hotels should by replaced by the actual amount
<dingus_khan> so this is what i've changed so far, just trying different things: http://codepad.org/VN2V12ij
michaeldeol_ has quit [Ping timeout: 265 seconds]
<dingus_khan> ah, but i was trying to make it agnostic as far as knowing how many hotels there should be, in case i added more in the future
<certainty> dingus_khan: again you're not returning the array of hotels. The last expression in that method is the invocation of your CSV.foreach{ ... } which will return nil
arBmind has joined #ruby-lang
<certainty> dingus_khan: fair enough, then testing for non-emptyness is fine
<dingus_khan> oh man, i might need to stop for the night, that's embarrassing, groan. i'm retarded
phansch_ has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
Lewix has joined #ruby-lang
<dingus_khan> certainty: that totally worked. do you work in ruby development as a career?
<certainty> dingus_khan: yeah unfortunatelly
<dingus_khan> why unfortunately? that's what i'm currently working towards...
<certainty> ruby is fine, but i'd love to do more lisp at work.
<dingus_khan> certainty: also, what would you call someone like me, "junior" or something else?
<dingus_khan> ah i gotcha, language in particular
<certainty> dingus_khan: i don't know you. Currently i'd call you a person that seeked help in #ruby-lang
<dingus_khan> like "not ready to be a junior still"
tonni has joined #ruby-lang
<dingus_khan> right, but this sort of bumbling approach, these mistakes, am i way off or is there hope? lol sorry, i'm crazy-talking now, exhaustion
<certainty> dingus_khan: i can not judge by what i've seen.
<certainty> dingus_khan: be aware though that even seniours with years of experience sometimes make these kinds of mistakes
rsl has quit [Read error: Connection reset by peer]
<certainty> developing software is hard. It's easy to introduce bugs.
<dingus_khan> ok, that's fair, thanks for the insight and the neutral stance, i can understand that. i appreciate your help with this, but i think i gotta sleep before i anything else stupid, hah
<dingus_khan> yeah, that makes sense, at least from my perspective!
<certainty> then sleep well
rsl has joined #ruby-lang
<dingus_khan> thank you, much appreciated again, i will return here and possibly bug you again, or maybe just ask for a reference or resource on the matter
<dingus_khan> cheers!
dingus_khan has quit []
benlovell has joined #ruby-lang
shinnya has joined #ruby-lang
h0lyalg0rithm has quit [Quit: Textual IRC Client: www.textualapp.com]
marr has joined #ruby-lang
jsrn has joined #ruby-lang
KU0N has joined #ruby-lang
mucker has joined #ruby-lang
<yorickpeterse> morning
ConstantineXVI has quit [Ping timeout: 265 seconds]
woollyams has quit [Ping timeout: 252 seconds]
mdub has joined #ruby-lang
relix has quit [Read error: Connection reset by peer]
lun_ has joined #ruby-lang
relix has joined #ruby-lang
ssb123 has joined #ruby-lang
elliotec_ has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
ConstantineXVI has joined #ruby-lang
elliotec has quit [Read error: Operation timed out]
workmad3 has joined #ruby-lang
mdub has quit [Ping timeout: 252 seconds]
elliotec_ has quit [Ping timeout: 245 seconds]
lun_ has quit [Ping timeout: 248 seconds]
<ljarvis> moin
bin7me has joined #ruby-lang
<certainty> \o
ssb123 has quit [Ping timeout: 240 seconds]
yorickpeterse is now known as not-yorickpeters
<not-yorickpeters> I fucking hate Tripadvisor
not-yorickpeters is now known as yorickpeterse
<yorickpeterse> There, now I should be safe
eoinkelly has quit [Ping timeout: 245 seconds]
<yorickpeterse> sadly I can't really rage more about this or I might actually for once end up in trouble :<
yfeldblum has quit [Ping timeout: 265 seconds]
elia has joined #ruby-lang
rahul_j has joined #ruby-lang
marcofernandez has quit [Ping timeout: 250 seconds]
rue_XIW has joined #ruby-lang
d4rkr4i has joined #ruby-lang
chris2 has joined #ruby-lang
RoxasShadowRS has joined #ruby-lang
AKASkip has quit [Read error: Operation timed out]
Cakey has quit [Ping timeout: 265 seconds]
Coincidental has quit [Remote host closed the connection]
phansch has joined #ruby-lang
bin7me has quit [Ping timeout: 260 seconds]
michaeldeol_ has joined #ruby-lang
bin7me has joined #ruby-lang
Pupeno has quit [Remote host closed the connection]
michaeldeol_ has quit [Ping timeout: 250 seconds]
marcofernandez has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
fragamus has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
skade_ has joined #ruby-lang
d4rkr4i has quit [Quit: Leaving.]
skade has quit [Ping timeout: 260 seconds]
<Silex> what is the way to say "if this file is ran like "ruby file.rb" then execute some func" ?
yfeldblum has joined #ruby-lang
<Silex> I can't remember.. something like if __FILE__ == @00voodoo
<Silex> this is surprisingly hard to google :)
xxaM has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
<Silex> "if __FILE__ == $0"
<Silex> and just when I ask I find it
<Silex> nevermind
<yorickpeterse> yeah about to say that :P
<yorickpeterse> https://github.com/search?l=ruby&q=if+__FILE__&type=Code Github search is your friend
<Silex> yorickpeterse: yeah, it's just that when asking here __FILE__ poped into my head
<Silex> until now I didn't remember there was __FILE__ as part of it, try googling it without it it's very hard :)
mnngfltg has joined #ruby-lang
<Silex> "ruby run method when file is ran directly" doens't yield a lot of results
imcookie has joined #ruby-lang
<yorickpeterse> well, time to commence shaving yaks for the rest of the day
yellow5 has quit [Quit: time to go!]
<Silex> what is this I don't even
yfeldblum has quit [Ping timeout: 265 seconds]
yellow5 has joined #ruby-lang
cnivolle has joined #ruby-lang
<yorickpeterse> In order to unfuck our scrapers I literally have to first do 9 other tasks
<yorickpeterse> all of them more or less depend on each other
mehlah has joined #ruby-lang
chris2 has quit [Ping timeout: 260 seconds]
matled has quit [Read error: Connection reset by peer]
mucker_ has joined #ruby-lang
chris2 has joined #ruby-lang
mucker has quit [Ping timeout: 246 seconds]
rahul_j has joined #ruby-lang
matled has joined #ruby-lang
chris2 has quit [Ping timeout: 248 seconds]
skade has joined #ruby-lang
chris2 has joined #ruby-lang
skade_ has quit [Ping timeout: 272 seconds]
Pupeno has joined #ruby-lang
woollyams has joined #ruby-lang
chris2 has quit [Ping timeout: 265 seconds]
hahuang65 has joined #ruby-lang
chris2 has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
tbuehlmann has joined #ruby-lang
ssb123 has joined #ruby-lang
naps62 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby-lang
rahul_j has joined #ruby-lang
ssb123 has quit [Ping timeout: 240 seconds]
chris2 has quit [Ping timeout: 250 seconds]
chris2 has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
tris has joined #ruby-lang
benlovell has quit [Ping timeout: 246 seconds]
benlovell has joined #ruby-lang
chris2 has quit [Ping timeout: 260 seconds]
michaeldeol_ has joined #ruby-lang
michaeldeol_ has quit [Ping timeout: 248 seconds]
mehlah has quit [Quit: Leaving...]
chris2 has joined #ruby-lang
danijoo_ has joined #ruby-lang
ItSANgo__ has quit [Read error: Connection reset by peer]
danijoo has quit [Ping timeout: 252 seconds]
fragamus has quit [Quit: Computer has gone to sleep.]
mucker_ has quit [Read error: Connection reset by peer]
mucker has joined #ruby-lang
Johz has joined #ruby-lang
ItSANgo__ has joined #ruby-lang
cnivolle has joined #ruby-lang
mucker_ has joined #ruby-lang
kwando has joined #ruby-lang
mucker has quit [Ping timeout: 260 seconds]
h0lyalg0rithm has joined #ruby-lang
chris2 has quit [Ping timeout: 272 seconds]
AKASkip has joined #ruby-lang
AKASkip has quit [Max SendQ exceeded]
AKASkip has joined #ruby-lang
AKASkip has quit [Max SendQ exceeded]
kwando_ has quit [Ping timeout: 260 seconds]
AKASkip has joined #ruby-lang
AKASkip has quit [Max SendQ exceeded]
maloik has quit [Ping timeout: 252 seconds]
AKASkip has joined #ruby-lang
AKASkip has quit [Max SendQ exceeded]
AKASkip has joined #ruby-lang
AKASkip has quit [Max SendQ exceeded]
maloik has joined #ruby-lang
AKASkip has joined #ruby-lang
AKASkip has quit [Max SendQ exceeded]
tbuehlmann has quit [Ping timeout: 252 seconds]
chris2 has joined #ruby-lang
tbuehlmann has joined #ruby-lang
chris2 has quit [Ping timeout: 272 seconds]
xxaM has quit [Quit: :D]
ssb123 has joined #ruby-lang
lun_ has joined #ruby-lang
<Silex> yorickpeterse: sounds like fun! :)
nXqd has quit [Remote host closed the connection]
danijoo_ has quit [Ping timeout: 252 seconds]
ssb123 has quit [Ping timeout: 240 seconds]
lun_ has quit [Ping timeout: 265 seconds]
dRbiG has quit [Ping timeout: 252 seconds]
hahuang65 has joined #ruby-lang
mucker_ has quit [Remote host closed the connection]
tbuehlmann has quit [Ping timeout: 252 seconds]
danijoo has joined #ruby-lang
mucker has joined #ruby-lang
chris2 has joined #ruby-lang
chris2 has quit [Ping timeout: 260 seconds]
hahuang65 has quit [Ping timeout: 246 seconds]
tbuehlmann has joined #ruby-lang
dRbiG has joined #ruby-lang
mucker has quit [Ping timeout: 245 seconds]
d4rkr4i has joined #ruby-lang
chris2 has joined #ruby-lang
ohsix has quit [Read error: Operation timed out]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
<yorickpeterse> So I just found this bit of code:
<yorickpeterse> >> [194, 160].pack('c*').force_encoding('UTF-8')
<eval-in> yorickpeterse => " " (https://eval.in/100382)
<yorickpeterse> why the fuck is that there
<yorickpeterse> why not use ' ' directly?
<yorickpeterse> WRRYY
<yorickpeterse> or better, /\s*/
<yorickpeterse> it's not even used, even better
michaeldeol_ has joined #ruby-lang
tedstriker has joined #ruby-lang
relix has quit [Client Quit]
chris2 has quit [Ping timeout: 245 seconds]
heavyhorse has joined #ruby-lang
chris2 has joined #ruby-lang
elia has quit [Ping timeout: 260 seconds]
michaeldeol_ has quit [Ping timeout: 250 seconds]
mdub has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
chris2 has quit [Ping timeout: 245 seconds]
heavyhorse has quit [Ping timeout: 260 seconds]
chris2 has joined #ruby-lang
rh1n0 has joined #ruby-lang
mdub has quit [Ping timeout: 252 seconds]
<matti> Hi yorickpeterse
woollyams has joined #ruby-lang
yfeldblum has joined #ruby-lang
mehlah has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
VTLob has joined #ruby-lang
woollyams has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
symm- has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
Mon_Ouie has joined #ruby-lang
h0lyalg0rithm has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> hai
ssb123 has joined #ruby-lang
AKASkip has joined #ruby-lang
AKASkip has quit [Max SendQ exceeded]
Cakey has joined #ruby-lang
tedstriker has quit [Remote host closed the connection]
ssb123 has quit [Ping timeout: 240 seconds]
chris2 has quit [Ping timeout: 260 seconds]
chris2 has joined #ruby-lang
naps62 has quit [Remote host closed the connection]
chris2 has quit [Ping timeout: 260 seconds]
chris2 has joined #ruby-lang
prc has joined #ruby-lang
<Silex> that doens't look like a plain space
<Silex> given it's two bytes?
Johz has quit [Ping timeout: 260 seconds]
Cakey has quit [Ping timeout: 250 seconds]
michaeldeol_ has joined #ruby-lang
Cakey has joined #ruby-lang
michaeldeol_ has quit [Ping timeout: 260 seconds]
wallerdev has joined #ruby-lang
elia has joined #ruby-lang
chris2 has quit [Read error: Operation timed out]
lun_ has joined #ruby-lang
vermele has joined #ruby-lang
yfeldblum has joined #ruby-lang
relix has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
chris2 has joined #ruby-lang
cnivolle has joined #ruby-lang
rh1n0 has quit [Quit: Hopefully you don't see this...]
yfeldblum has quit [Ping timeout: 265 seconds]
chris2 has quit [Ping timeout: 245 seconds]
chris2 has joined #ruby-lang
alekst has joined #ruby-lang
bin7me has quit [Read error: Operation timed out]
bin7me has joined #ruby-lang
toretore has joined #ruby-lang
arBmind has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<yorickpeterse> >> [194, 160].pack('c*').force_encoding('UTF-8').bytesize
<yorickpeterse> ...
<eval-in> yorickpeterse => 2 (https://eval.in/100442)
<yorickpeterse> ah
<yorickpeterse> hmm
<yorickpeterse> that makes it even weirder
chris2 has quit [Ping timeout: 260 seconds]
rahul_j has quit [Quit: rahul_j]
chris2 has joined #ruby-lang
ssb123 has joined #ruby-lang
<yorickpeterse> uggg, 29 files to go
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
smashwilson has joined #ruby-lang
rh1n0 has joined #ruby-lang
<Silex> yorickpeterse: the clue for "two bytes" was in [194, 160]
chris2 has quit [Ping timeout: 248 seconds]
<yorickpeterse> Fuckit, time for some Ruby regexp magic because ugh
ssb123 has quit [Ping timeout: 240 seconds]
chris2 has joined #ruby-lang
VTLob has quit [Quit: VTLob]
chris2 has quit [Read error: Operation timed out]
chris2 has joined #ruby-lang
lcdhoffman has joined #ruby-lang
<yorickpeterse> boom, 27 files at once
<yorickpeterse> <3 Ruby
micalexander has quit [Remote host closed the connection]
nszceta has joined #ruby-lang
micalexander has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
michaeldeol_ has joined #ruby-lang
sferik has joined #ruby-lang
jgpawletko has joined #ruby-lang
ikrima has quit [Ping timeout: 250 seconds]
Mon_Ouie has quit [Ping timeout: 248 seconds]
chris2 has quit [Ping timeout: 245 seconds]
micalexander has quit [Ping timeout: 250 seconds]
Thanatermesis has quit [Read error: Connection reset by peer]
michaeldeol_ has quit [Ping timeout: 250 seconds]
chris2 has joined #ruby-lang
tedstriker has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby-lang
chris2 has quit [Ping timeout: 260 seconds]
<yorickpeterse> and then spend 15 minutes cleaning shit up
thmzlt has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
woollyams has joined #ruby-lang
wallerdev has joined #ruby-lang
dorei has joined #ruby-lang
Lewix has quit [Quit: Leaving...]
atmosx has joined #ruby-lang
chris2 has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
jsilver_ has quit [Read error: Connection reset by peer]
ikrima has joined #ruby-lang
jsilver has joined #ruby-lang
skade has joined #ruby-lang
ItSANgo__ has quit [Quit: Leaving...]
tedstriker has quit [Read error: Connection reset by peer]
hybrid_alex has joined #ruby-lang
ItSANgo has joined #ruby-lang
VTLob has joined #ruby-lang
sferik has joined #ruby-lang
ssb123 has joined #ruby-lang
sferik_ has joined #ruby-lang
DEac- has quit [Read error: Connection reset by peer]
sferik has quit [Read error: Connection reset by peer]
DEac- has joined #ruby-lang
Voker57 has joined #ruby-lang
ssb123 has quit [Ping timeout: 240 seconds]
sferik_ has quit [Client Quit]
mrevd has joined #ruby-lang
mrevd has quit [Read error: Connection reset by peer]
mrevd has joined #ruby-lang
mrevd has quit [Changing host]
mrevd has joined #ruby-lang
dik_dak has joined #ruby-lang
tonni has quit [Remote host closed the connection]
tonni has joined #ruby-lang
mrevd1 has joined #ruby-lang
mrevd has quit [Read error: Operation timed out]
mrevd has joined #ruby-lang
mrevd has quit [Read error: Connection reset by peer]
mrevd has joined #ruby-lang
mrevd has quit [Read error: Connection reset by peer]
jovon has joined #ruby-lang
mrevd has joined #ruby-lang
mrevd2 has joined #ruby-lang
mrevd2 has quit [Read error: Connection reset by peer]
Cakey has quit [Ping timeout: 245 seconds]
tonni has quit [Ping timeout: 248 seconds]
mrevd2 has joined #ruby-lang
mrevd2 has quit [Read error: Connection reset by peer]
mrevd1 has quit [Ping timeout: 272 seconds]
mrevd1 has joined #ruby-lang
mrevd1 has quit [Read error: Connection reset by peer]
mrevd1 has joined #ruby-lang
mrevd2 has joined #ruby-lang
mrevd2 has quit [Read error: Connection reset by peer]
mrevd2 has joined #ruby-lang
mrevd2 has quit [Read error: Connection reset by peer]
mrevd has quit [Ping timeout: 248 seconds]
mrevd2 has joined #ruby-lang
mrevd2 has quit [Read error: Connection reset by peer]
mrevd has joined #ruby-lang
mrevd has quit [Read error: Connection reset by peer]
Thanatermesis has joined #ruby-lang
Squarepy has joined #ruby-lang
Thanatermesis has quit [Changing host]
Thanatermesis has joined #ruby-lang
mrevd has joined #ruby-lang
mucker has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrevd1 has quit [Ping timeout: 248 seconds]
relix has joined #ruby-lang
michaeldeol_ has joined #ruby-lang
cnivolle_ has joined #ruby-lang
atmosx has quit [Quit: Lost in trance]
Squarepy has quit [Read error: Connection reset by peer]
cnivoll__ has joined #ruby-lang
cnivolle has quit [Ping timeout: 246 seconds]
michaeldeol_ has quit [Ping timeout: 248 seconds]
leandrosnunes has joined #ruby-lang
tonni has joined #ruby-lang
cnivolle_ has quit [Ping timeout: 246 seconds]
agrinb has joined #ruby-lang
ssb123 has joined #ruby-lang
micalexander has joined #ruby-lang
momomomomo has joined #ruby-lang
leandrosnunes has quit [Remote host closed the connection]
joonty has quit [Quit: WeeChat 0.4.2]
dik_dak has quit [Remote host closed the connection]
ssb123 has quit [Ping timeout: 240 seconds]
micalexander has quit [Ping timeout: 260 seconds]
tbuehlmann has quit [Quit: Leaving]
Thanatermesis is now known as Thana[work]
micalexander has joined #ruby-lang
yfeldblum has joined #ruby-lang
thmzlt has quit [Remote host closed the connection]
thmzlt has joined #ruby-lang
Cakey has joined #ruby-lang
jtw has joined #ruby-lang
tonni has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
thmzlt has quit [Ping timeout: 272 seconds]
thmzlt has joined #ruby-lang
blowmage has quit [Ping timeout: 245 seconds]
yellow5 has quit [Quit: time to go!]
Cakey has quit [Ping timeout: 248 seconds]
cnivoll__ has quit [Remote host closed the connection]
thmzlt_ has joined #ruby-lang
cnivolle has joined #ruby-lang
thmzlt_ has quit [Remote host closed the connection]
arooni-mobile has quit [Ping timeout: 272 seconds]
tonni has joined #ruby-lang
thmzlt has quit [Read error: Connection reset by peer]
Rylee has quit [Ping timeout: 265 seconds]
yalue has quit [Ping timeout: 260 seconds]
Rylee has joined #ruby-lang
tylersmith has joined #ruby-lang
mykoweb has joined #ruby-lang
rahul_j has joined #ruby-lang
ikrima has quit [Ping timeout: 260 seconds]
blowmage has joined #ruby-lang
yellow5 has joined #ruby-lang
Kabaka has quit [Ping timeout: 252 seconds]
Rylee has quit [Ping timeout: 260 seconds]
d4rkr4i has quit [Ping timeout: 265 seconds]
cnivolle has quit [Read error: Connection reset by peer]
cnivolle has joined #ruby-lang
toroidalcode has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
yalue has joined #ruby-lang
toroidalcode has quit [Client Quit]
micalexander has joined #ruby-lang
coca_rails has joined #ruby-lang
rh1n0 has quit [Quit: im out!]
prc has quit [Ping timeout: 248 seconds]
hahuang65 has joined #ruby-lang
Cakey has joined #ruby-lang
micalexander has quit [Ping timeout: 245 seconds]
serroft has joined #ruby-lang
deception has joined #ruby-lang
cnivolle_ has joined #ruby-lang
Cakey has quit [Ping timeout: 260 seconds]
hahuang65 has quit [Ping timeout: 265 seconds]
nathanstitt has joined #ruby-lang
cnivoll__ has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
cnivolle has quit [Ping timeout: 246 seconds]
ssb123 has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
cnivolle_ has quit [Ping timeout: 250 seconds]
arooni-mobile has joined #ruby-lang
micalexander has joined #ruby-lang
h0lyalg0rithm has joined #ruby-lang
h0lyalg0rithm has quit [Client Quit]
woollyams has joined #ruby-lang
michaeldeol_ has joined #ruby-lang
h0lyalg0rithm has joined #ruby-lang
tonni has joined #ruby-lang
coca_rails has quit [Remote host closed the connection]
micalexander has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
micalexander has joined #ruby-lang
h0lyalg0rithm has quit [Client Quit]
michaeldeol_ has quit [Ping timeout: 250 seconds]
woollyams has quit [Ping timeout: 252 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
alekst has quit [Quit: Computer has gone to sleep.]
micalexander has quit [Ping timeout: 245 seconds]
rahul_j has quit [Quit: rahul_j]
vlad_starkov has joined #ruby-lang
jonahR has joined #ruby-lang
yfeldblum has joined #ruby-lang
clamstar has quit [Quit: ZNC - http://znc.in]
vlad_starkov has quit [Remote host closed the connection]
Saurabh7 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Oak has joined #ruby-lang
Oak has left #ruby-lang [#ruby-lang]
<Saurabh7> what does this mean left = [:*]*size ??
tbuehlmann has joined #ruby-lang
<yorickpeterse> >> [:*] * 10
<eval-in> yorickpeterse => [:*, :*, :*, :*, :*, :*, :*, :*, :*, :*] (https://eval.in/100528)
<yorickpeterse> :* is just a symbol
<yorickpeterse> Array#* is a method that multiplies the values by the number on the right
<yorickpeterse> e.g.
yfeldblum has quit [Ping timeout: 265 seconds]
<yorickpeterse> >> [1] * 10
<eval-in> yorickpeterse => [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] (https://eval.in/100529)
<darix> >> [1,2,3] * 10
<eval-in> darix => [1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3] (https://eval.in/100530)
<Saurabh7> ok just a symbol
<Saurabh7> huh
tedstriker has joined #ruby-lang
bin7me has quit [Quit: Leaving]
<Saurabh7> thanks then
symm- has quit [Ping timeout: 260 seconds]
bzalasky has quit [Remote host closed the connection]
fragamus has joined #ruby-lang
tonni has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
d4rkr4i has joined #ruby-lang
styped__ has quit [Ping timeout: 264 seconds]
io_syl has joined #ruby-lang
henrikhodne has quit [Ping timeout: 246 seconds]
styped__ has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mistym has joined #ruby-lang
henrikhodne has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alekst has joined #ruby-lang
jsullivandigs has joined #ruby-lang
coca_rails has joined #ruby-lang
<Saurabh7> and what would this mean t[*left] =self [*right]??
<Saurabh7> i knw bracket s realted to hash value or something
<Saurabh7> ?
mistym has quit [Remote host closed the connection]
joonty has joined #ruby-lang
micalexander has joined #ruby-lang
rahul_j has joined #ruby-lang
Rylee has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
coca_rails has quit [Ping timeout: 240 seconds]
havenwood has quit []
ssb123 has quit [Ping timeout: 240 seconds]
h0lyalg0rithm has joined #ruby-lang
shinnya has quit [Ping timeout: 245 seconds]
h0lyalg0rithm has quit [Client Quit]
rippa has joined #ruby-lang
nisstyre has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
Kabaka has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
mistym has joined #ruby-lang
bzalasky has joined #ruby-lang
micalexander has quit [Ping timeout: 265 seconds]
serroft has quit [Quit: Leaving.]
serroft has joined #ruby-lang
rue_XIW has quit [Remote host closed the connection]
clamstar has joined #ruby-lang
jhass|off is now known as jhass
heftig has quit [Quit: Quitting]
retro|cz has joined #ruby-lang
mbj has joined #ruby-lang
serroft has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
mbj has quit [Client Quit]
DevDoo has joined #ruby-lang
Cakey has joined #ruby-lang
h0lyalg0rithm has joined #ruby-lang
brettweavnet has joined #ruby-lang
h0lyalg0rithm has quit [Client Quit]
ssb123 has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
Coincidental has joined #ruby-lang
hfp`away is now known as hfp
skade_ has joined #ruby-lang
Cakey has quit [Ping timeout: 250 seconds]
Cakey has joined #ruby-lang
skade has quit [Ping timeout: 250 seconds]
arooni-mobile has quit [Ping timeout: 260 seconds]
retro|cz has quit [Ping timeout: 248 seconds]
DevDoo has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby-lang
symm- has joined #ruby-lang
<ljarvis> :/
yellow5 has quit [Ping timeout: 260 seconds]
elliotec has joined #ruby-lang
dagobah has quit [Quit: Leaving...]
blowmage has quit [Ping timeout: 248 seconds]
jsrn has quit [Ping timeout: 260 seconds]
rahul_j has quit [Quit: rahul_j]
skade has joined #ruby-lang
<yorickpeterse> that sentence makes no sense
<ljarvis> you're just not reading it right
<ljarvis> you're just not reading it =self [*right] **
yfeldblum has quit [Ping timeout: 265 seconds]
skade_ has quit [Ping timeout: 260 seconds]
<yorickpeterse> my life would be so much easier of Nokogiri was actually written in Ruby
<yorickpeterse> but then it wouldn't scale though
* yorickpeterse runs
<ljarvis> heh
<ljarvis> I spent about 2 hours on an issue a couple of weeks ago
<ljarvis> then gave up
<ljarvis> because it's bullshit
<yorickpeterse> I'm debugging threading race conditions
<yorickpeterse> yay me
<ljarvis> (a nokogiri issue, to clarify)
phansch has quit [Quit: Leaving]
<yorickpeterse> but I'm not sure yet if it's Nonogiri or Rbx
<yorickpeterse> it at least happens when Nonogiri is partying hard
<ljarvis> go build a libxml2 replacement
<ljarvis> and a driver
elliotec has quit [Remote host closed the connection]
cnivoll__ has quit [Remote host closed the connection]
<yorickpeterse> did you just tell me to go cut myself with a brick?
elliotec has joined #ruby-lang
havenwood has joined #ruby-lang
cnivolle has joined #ruby-lang
<yorickpeterse> https://github.com/xml4r/libxml-ruby also there's this, no idea if it actually works though
vermele has quit [Read error: Connection reset by peer]
<ljarvis> oh my
vermele has joined #ruby-lang
yellow5 has joined #ruby-lang
blowmage has joined #ruby-lang
michaeldeol_ has joined #ruby-lang
Cakey has quit [Ping timeout: 265 seconds]
<yorickpeterse> The prospect of potentially having to replace nokogiri with that doesn't look too promising though
<yorickpeterse> another 2 days of yak shaving
michaeldeol_ has quit [Ping timeout: 260 seconds]
io_syl has quit []
hybrid_alex has quit []
coca_rails has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 245 seconds]
__butch__ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
hahuang65 has joined #ruby-lang
imperator has joined #ruby-lang
mnngfltg has quit [Remote host closed the connection]
coca_rails has quit [Ping timeout: 240 seconds]
michaeldeol_ has joined #ruby-lang
ebetancourt has joined #ruby-lang
ebetancourt has quit [Max SendQ exceeded]
ebetancourt has joined #ruby-lang
ebetancourt has quit [Max SendQ exceeded]
ebetancourt has joined #ruby-lang
ebetancourt has quit [Max SendQ exceeded]
ebetancourt has joined #ruby-lang
ebetancourt has quit [Max SendQ exceeded]
jsrn has joined #ruby-lang
ebetancourt has joined #ruby-lang
ebetancourt has quit [Max SendQ exceeded]
<ljarvis> only to find more race conditions and memory leaks
vermele has quit [Read error: No route to host]
michaeldeol_ is now known as michaeldeol
vermele has joined #ruby-lang
imcookie has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
ebetancourt has joined #ruby-lang
<darix> what tells you that the problems are not in libxml itself?
woollyams has joined #ruby-lang
tylersmith has joined #ruby-lang
momomomomo has joined #ruby-lang
yfeldblum has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 245 seconds]
woollyams has quit [Ping timeout: 252 seconds]
mistym has joined #ruby-lang
micalexander has joined #ruby-lang
jtw has quit []
yfeldblum has quit [Ping timeout: 265 seconds]
rh1n0 has joined #ruby-lang
benlovell has quit [Ping timeout: 248 seconds]
aarellano has quit [Quit: Hasta la vista, baby]
arooni-mobile has joined #ruby-lang
micalexander has quit [Ping timeout: 250 seconds]
rue_XIW has joined #ruby-lang
elia has quit [Ping timeout: 260 seconds]
Authenticator has quit [Remote host closed the connection]
MichD is now known as michd
rahul_j has joined #ruby-lang
rue_XIW has quit [Ping timeout: 265 seconds]
centrx has joined #ruby-lang
<yorickpeterse> darix: nothing, when I refer to Nokogiri I refer to the entire chain
<yorickpeterse> I just know that it occurs when Nokogiri is partying hard
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
jsullivandigs has quit [Quit: Leaving...]
heftig has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
|jemc| has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
bantic has joined #ruby-lang
michd is now known as MichD
phansch has joined #ruby-lang
tedstriker has quit [Quit: Anti-Fraping status set.]
h0lyalg0rithm has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
kwando has quit [Ping timeout: 248 seconds]
retro|cz has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
h0lyalg0rithm has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 260 seconds]
elliotec has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
retro|cz has quit [Ping timeout: 260 seconds]
tbuehlmann has quit [Quit: Leaving]
mucker has quit [Ping timeout: 260 seconds]
__butch__ has quit [Quit: Leaving.]
yfeldblum has joined #ruby-lang
coca_rails has joined #ruby-lang
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Client Quit]
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
rahul_j has quit [Quit: rahul_j]
micalexander has joined #ruby-lang
coca_rails has quit [Ping timeout: 240 seconds]
gfarfl has quit [Ping timeout: 250 seconds]
micalexander has quit [Ping timeout: 260 seconds]
kwando has joined #ruby-lang
hfp is now known as hfp`away
imperator has quit [Ping timeout: 248 seconds]
someperson has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
<someperson> dumb question, how do i call an instance method from a class method (i.e. def somemethod; end; def self.foobar; somemethod; end;)
<centrx> someperson, Create an instance...
<cout> someperson: to call an instance method, you need an object (an instance of your class)
<someperson> er right
<centrx> someperson, If you are calling an instance method from a class method, it may mean the class method should be an instance method or the instance method should be a class method
altrim has joined #ruby-lang
<someperson> brain fart, just made the methods class methods
<toretore> if you want to "share" implementation between an instance method and a class method, call the class method from the instance
altrim has left #ruby-lang [#ruby-lang]
<mrevd> when writing a gem, what's the best way to "undo" what was done by the extensions, so that when a user uninstalls it cleans up
momomomomo has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
coca_rails has joined #ruby-lang
madb055 has quit [Read error: Connection reset by peer]
Coincidental has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
madb055 has joined #ruby-lang
coca_rails has quit [Ping timeout: 240 seconds]
machuga is now known as machdaylechuga
machdaylechuga is now known as machuga
eoinkelly has joined #ruby-lang
saarinen has joined #ruby-lang
madb055 has quit [Ping timeout: 260 seconds]
imperator has joined #ruby-lang
mehlah has joined #ruby-lang
bantic has quit [Quit: bantic]
cored has quit [Quit: leaving]
<imperator> yorickpeterse, netherlands seems to be doing well in the olympics :)
cnivolle_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
__butch__ has joined #ruby-lang
cnivolle has quit [Ping timeout: 246 seconds]
<yorickpeterse> Beyond the ice skating I haven't really paid attention to it, too angry about Russia's gay rights policies to watch it
madb055 has joined #ruby-lang
Coincidental has joined #ruby-lang
<yorickpeterse> sort of a passive boycot I suppose
brettweavnet has quit [Quit: Bye]
mehlah has quit [Read error: Connection reset by peer]
retro|cz has joined #ruby-lang
cnivolle_ has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 260 seconds]
cnivolle has joined #ruby-lang
mikekellyio_ is now known as mikekellyio
<centrx> Oh dear, a country that is sixty years behind in the economy is twenty years behind in the social revolution! *Gasp*
<yorickpeterse> You mean the US?
momomomomo has quit [Quit: momomomomo]
<yorickpeterse> I think Russia is a bit further behind than that
mikecmpbll has joined #ruby-lang
coca_rails has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
brettweavnet has joined #ruby-lang
<centrx> Lucky for you to be living in the future. You must be very wise.
momomomomo has joined #ruby-lang
<whitequark> meh
<yorickpeterse> centrx: HAHA
<yorickpeterse> the future....nl...sure
nisstyre has quit [Ping timeout: 260 seconds]
<yorickpeterse> we may have decent internet but our government still wipes its own arse using our human rights and tax money
<yorickpeterse> Though I can at least makes jokes about it without being arrested by the Orange Gestapo
<whitequark> yorickpeterse: first world problems
<whitequark> I mean really, .nl is a fucking paradise
<yorickpeterse> relatively to .ru, yes
<whitequark> so stop whining
<yorickpeterse> we have different problems
<whitequark> not enough weed?
<yorickpeterse> nah we have too much
<whitequark> rimshot
<yorickpeterse> Our problems are mostly due to people being fucking cowards
<yorickpeterse> e.g. government not daring to accept Snowden, or not telling the US to shove their JSFs up their ass
<yorickpeterse> Minister of intelligence (or w/e it was) backpeddling on surveillance 3 times
<yorickpeterse> now finally admits we may or may not have intercepted 1.5M phone calls per months
<yorickpeterse> times were a lot better when we could bring people to the town square and throw tomatoes at them
<yorickpeterse> or iphones in modern terms
<centrx> You know Netherlands is a vassal of USG
micalexander has joined #ruby-lang
<yorickpeterse> Yes
<yorickpeterse> I'm well aware of .nl being the butt buddies of the US
<yorickpeterse> which is part of the problem
<yorickpeterse> Funny enough a lot of the benfits work from US -> NL
micalexander has quit [Read error: Connection reset by peer]
<yorickpeterse> the other way around it's still next to impossible to get visas, etc
<yorickpeterse> But yes, it definitely is better than a lot of other countries
tbuehlmann has joined #ruby-lang
<yorickpeterse> Though I can't help but wonder why our government is not ashamed by Russia taking Snowden in, regardless of the hidden agenda behind it
<yorickpeterse> Only Iceland had the guts to offer him a place
<yorickpeterse> grrrr, I need tea
nichtdiebohne has joined #ruby-lang
<xybre> The sand thing is that the US is goign to keep stepping all over everyone's toes and eventually everyone will get sick of it all at once and it'll be game over. And that sucks.
<gnufied> the sand thing?
<gnufied> well I agree
<xybre> Yes. Sand. No, I meant sad.
micalexander has joined #ruby-lang
<whitequark> yorickpeterse: perhaps because .ru doesn't care about snowden as he is?
<yorickpeterse> whitequark: I find it hard to believe they just accepted him to piss off the US
nichtdiebohne has quit [Client Quit]
<whitequark> a) we don't extradite people b) this is a nice "fuck you" to us
<imperator> you're talking about a guy who stole a super bowl ring from bob kraft
<imperator> so it's not implausible
<yorickpeterse> haha
<whitequark> yorickpeterse: there is no extradition treaty. hence, nothing to gain.
<yorickpeterse> whitequark: a) wrong, you just don't extradite them to foreign countries
<xybre> Seriously, I figured it was just because it amused him.
<yorickpeterse> you send them to the gulags instead
nichtdiebohne has joined #ruby-lang
<whitequark> *facepalm*
<yorickpeterse> whitequark: either way, you still need to visit .nl once so you can see that I'm not *that* annoying in person
<yorickpeterse> and no I won't get you weed
<imperator> been there!
<gnufied> I might have flew threw .nl, couldn't spot yorickpeterse though
<gnufied> your ego is not big enough yet
<imperator> i think i saw his house, though
<yorickpeterse> oh snap?
<xybre> I think there's only like 3 houses and a bunch of hobbit holes in nl.
<yorickpeterse> we actually have more chickens than people in this country
<yorickpeterse> at least we used to
elliotec has quit [Remote host closed the connection]
<yorickpeterse> lemme verify that
snk has quit [Ping timeout: 265 seconds]
<whitequark> yorickpeterse: why I'd need to buy weed from you, there's silkroad
<gnufied> while you are at it, can you check if they are organic?
<whitequark> and weed is overrated anyway so meh
<yorickpeterse> apparently we had 92 million chickens in 2007
<yorickpeterse> we have 17 million ugly bags of water
<whitequark> so .nl is slightly smaller than Moscow
<whitequark> let that sink in
<yorickpeterse> whitequark: why the fuck do you need the silkroad if you can just walk outside and get it at a coffeeshop? Minus the spiked crap
<gnufied> yorickpeterse: lol
<imperator> i'm in colorado, i can get all the weed i want!
* imperator doesn't want any
snk has joined #ruby-lang
<whitequark> yorickpeterse: I dunno, heavy paranoia?
woollyams has joined #ruby-lang
<yorickpeterse> I think I'd rather trust a coffeeshop than the Silkroad
<yorickpeterse> The former doesn't come with two KGB agents at my doorstep
<yorickpeterse> or the Orange Gestapo, or any other agency
micalexa_ has joined #ruby-lang
micalexa_ has quit [Read error: Connection reset by peer]
<yorickpeterse> Hm, I quite like the ring to "Orange Gestapo". I imagine a secret agency arresting people for not wearing orange t-shirts
<whitequark> you're definitely on some kind of drugs
* imperator votes for Orange Crush
<yorickpeterse> whitequark: no that's just the acid
RobertBirnie has joined #ruby-lang
micalexander has quit [Ping timeout: 265 seconds]
<yorickpeterse> But no, I just have an...interest vocabulary
ohsix has joined #ruby-lang
elliotec has joined #ruby-lang
<yorickpeterse> Though I am trying to cut down on the amount of "fuck" whenever I speak to people (mostly about code)
bantic has joined #ruby-lang
* whitequark simply swears more until it kinda overflows. you know, like 2's complement
<imperator> whitequark, nice one, hadn't seen that one
woollyams has quit [Ping timeout: 252 seconds]
<yorickpeterse> I prefer the more "subtle" word combinations
<whitequark> like "I wish whoever wrote this code was attacked by spiders while on fire" ?
<gnufied> my 3 year old pronounces cup as "fuck"
<gnufied> it has unfortunate side effects
<gnufied> :(
<yorickpeterse> whitequark: No, that whoever wrote X deserves 10 stick smacks
<yorickpeterse> or whatever the proper translation would be
<whitequark> yorickpeterse: you're boring
<yorickpeterse> haha
michaeldeol has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> The benefit is that I can for the most part continue swearing this way without people going all "OOOOH WHAT DID YOU SAY?"
<yorickpeterse> especially when serious internet business is going on between co-workers and clients and such
michaeldeol has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<whitequark> really, each time someone shows me legacy code here, people are expecting to hear something about fire, burning and so on
xenoMaster has joined #ruby-lang
<yorickpeterse> For whatever reason if you say "This code is so fucking shit" it's worse than "I'm going to beat the creator with a shovel"
<xenoMaster> I mean seriously, ruby is ugly.
lun_ has quit [Ping timeout: 260 seconds]
<yorickpeterse> I once said the latter to my boss, lets not do that agian
<yorickpeterse> * again
<whitequark> to the point where I can just stare at them sorrowfully and they imagine things and it is so much better than if I'd said that out loudly
<xenoMaster> If you want a real elegant language then learn python.
yellow5 has quit [Quit: time to go!]
<yorickpeterse> ok
<yorickpeterse> I prefer
<yorickpeterse> ruby
<whitequark> yorickpeterse: the latter? but it's "better" ?
<whitequark> also I'm so going to use that
<xenoMaster> LISP. Rocks.
jtw has joined #ruby-lang
phansch_ has joined #ruby-lang
<yorickpeterse> whitequark: maybe it's because people around the office are more used to me using slightly more descriptive means
phansch has quit [Ping timeout: 252 seconds]
<yorickpeterse> but yeah, I try to keep it in check lately
Pupeno has quit [Ping timeout: 260 seconds]
diegoviola has joined #ruby-lang
<yorickpeterse> which is pretty hard, especially in traffic
lun_ has joined #ruby-lang
<whitequark> talking about shovels and such
yellow5 has joined #ruby-lang
<yorickpeterse> weeaboo
blowmage has quit [Ping timeout: 260 seconds]
<whitequark> no, it's not the one with the shovel
<yorickpeterse> also why is there always one wearing an eye patch
<whitequark> let me rewatch the whole series again to find that 20-second fragment I need
<yorickpeterse> it's as if half the anime population keeps getting punched in the eye
michaeldeol has quit [Ping timeout: 260 seconds]
<whitequark> yorickpeterse: it's something between "animals maim her when she pulls their tails", "she has a fetish" and "she has a possessed eye"
<whitequark> ah, you mean in general. no idea, never noticed such
bovi has joined #ruby-lang
Asher has quit [Quit: Leaving.]
eoinkelly has quit [Ping timeout: 272 seconds]
<yorickpeterse> ok that clip was kinda funny
<whitequark> it was also the same chiri-chan i had a dream about
<whitequark> now go and watch all three seasons :p
<yorickpeterse> meh
<yorickpeterse> Not a huge fan of anime, or watching series in general
<whitequark> I know
bovi has quit [Client Quit]
micalexander has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
<whitequark> yorickpeterse: also I probably will have schengen in ~a month so may as well come visit .nl
<whitequark> I could then tell everyone you're just as annoying in person while having full evidence of that :p
<yorickpeterse> oooh, you decided to go to "the shithole" after all?
<yorickpeterse> haha
<yorickpeterse> fuk you
<whitequark> um
<whitequark> the shithole?
<yorickpeterse> You said something about having to go to a shithole to get the visa
<whitequark> aahhhh
<whitequark> yeah I went to, uhm, shithole.
<whitequark> that sounds awkward
<yorickpeterse> giggity
<imperator> strange conversation
michaeldeol has joined #ruby-lang
micalexander has quit [Client Quit]
<yorickpeterse> welcome to #ruby-lang
retro|cz has quit [Read error: Operation timed out]
<whitequark> *#yorickpeterse-raging
mzr has joined #ruby-lang
<whitequark> we really need to get zenspider to finally rename this channel or something
yfeldblum has joined #ruby-lang
pasties has joined #ruby-lang
<xenoMaster> Guys where can I find the Ruby reference.
<xenoMaster> Sort of like the dennis ritchie book for C.
<xenoMaster> I wanna go to the source.
<yorickpeterse> "the Ruby reference"?
rivaler has quit [Quit: rivaler]
<imperator> you mean the pickaxe?
<xenoMaster> What's the pickaxe.
<xenoMaster> Hehe.
<imperator> "Programming Ruby", from pragmaticprogrammers.com
<xenoMaster> thansk
<centrx> xenoMaster, The Ruby doc has the source code alongside the method documentation
<imperator> dunno if i would call it "The Ruby Reference" but it's a pretty good book
<centrx> That is the source
<xenoMaster> thans
cored has joined #ruby-lang
xenoMaster has quit [Ping timeout: 245 seconds]
yellow5 has quit [Ping timeout: 260 seconds]
benanne has joined #ruby-lang
rivaler has joined #ruby-lang
sepp2k has joined #ruby-lang
zz_dlu has quit [Read error: Connection reset by peer]
yellow5 has joined #ruby-lang
woollyams has joined #ruby-lang
vlad_starkov has joined #ruby-lang
GaelanAintAround has quit [Ping timeout: 260 seconds]
michaeldeol has quit [Quit: Lingo - http://www.lingoirc.com]
michaeldeol has joined #ruby-lang
hfp`away is now known as hfp
GaelanAintAround has joined #ruby-lang
coca_rails has quit []
elliotec has quit [Remote host closed the connection]
zz_dlu has joined #ruby-lang
hfp has left #ruby-lang [#ruby-lang]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
someperson has quit [Ping timeout: 272 seconds]
ratmav has joined #ruby-lang
Asher has joined #ruby-lang
blowmage has joined #ruby-lang
someperson has joined #ruby-lang
mbj has joined #ruby-lang
Cakey has joined #ruby-lang
panpainter has joined #ruby-lang
mbj has quit [Client Quit]
Asher has quit [Client Quit]
Coincidental has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 260 seconds]
Lewix has joined #ruby-lang
yalue has quit [Quit: Leaving]
cnivolle has quit [Remote host closed the connection]
yalue has joined #ruby-lang
mistym_ has joined #ruby-lang
michaeldeol has quit [Quit: Lingo - http://www.lingoirc.com]
michaeldeol has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
gfarfl has joined #ruby-lang
mistym has quit [Ping timeout: 248 seconds]
mzr has quit [Quit: ~ Trillian - www.trillian.im ~]
jsullivandigs has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
vermele has quit [Quit: Leaving]
eoinkelly has joined #ruby-lang
mbj has joined #ruby-lang
mbj has quit [Client Quit]
michaeldeol has quit [Quit: Lingo - http://www.lingoirc.com]
michaeldeol has joined #ruby-lang
gfarfl has quit [Ping timeout: 250 seconds]
mykoweb has quit [Remote host closed the connection]
mistym has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 265 seconds]
ssb123_ has joined #ruby-lang
eoinkelly has left #ruby-lang [#ruby-lang]
ssb123 has quit [Ping timeout: 240 seconds]
ssb123_ has quit [Ping timeout: 240 seconds]
ssb123 has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
skade has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
centrx has quit [Quit: Leaving]
lpvn has quit [Read error: Operation timed out]
havenwood has quit [Ping timeout: 260 seconds]
imperator has quit [Ping timeout: 260 seconds]
lcdhoffman has joined #ruby-lang
ratmav has quit [Quit: Leaving]
relix has joined #ruby-lang
lpvn has joined #ruby-lang
bantic has quit [Quit: bantic]
bantic has joined #ruby-lang
<ljarvis> derp
yfeldblum has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
d4rkr4i has quit [Quit: Leaving.]
arooni-mobile__ has joined #ruby-lang
marr has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 248 seconds]
jsullivandigs has quit [Remote host closed the connection]
aleatorik has joined #ruby-lang
Asher has joined #ruby-lang
mistym has quit [Remote host closed the connection]
elliotec has quit [Remote host closed the connection]
yalue has quit [Quit: Leaving]
someperson has quit [Ping timeout: 248 seconds]
centrx has joined #ruby-lang
phansch_ is now known as phansch
benanne has quit [Quit: kbai]
elliotec has joined #ruby-lang
<yorickpeterse> reverse recruiting question: anybody in the Glasgow area looking for Ruby junior devs? I have a newbie who'll end up on the street within a month or so.
<yorickpeterse> Talking about a newbie newbie here when it comes to Rubby
jclrb has joined #ruby-lang
<centrx> yorickpeterse, You must be a great salesman
<yorickpeterse> I worked in a Mac store for 3 months when I was in need of money so I'm quite experienced in this
jonahR has quit [Quit: jonahR]
<yorickpeterse> LOOKING TO SELL: RUBY NEWBIE, SECOND HAND
<yorickpeterse> But in all seriousness, holler because I don't like newbies landing on the streets
vpretzel has quit [Quit: Adios!]
x0f_ has joined #ruby-lang
mistym has joined #ruby-lang
yfeldblum has joined #ruby-lang
x0f has quit [Ping timeout: 248 seconds]
centrx has quit [Quit: Leaving]
tbuehlmann has quit [Remote host closed the connection]
rh1n0 has quit [Quit: im out!]
elia has joined #ruby-lang
jsullivandigs has joined #ruby-lang
rivaler has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
jovon has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0/20140130133743]]
hinbody has joined #ruby-lang
ssb123 has quit []
havenwood has joined #ruby-lang
postmodern has joined #ruby-lang
postmodern has quit [Changing host]
postmodern has joined #ruby-lang
tonni has joined #ruby-lang
mykoweb has joined #ruby-lang
MichD is now known as michd
panpainter has quit [Quit: panpainter]
bantic has quit [Quit: bantic]
jgpawletko is now known as jgpawletko_
someperson has joined #ruby-lang
nszceta has quit [Read error: Connection reset by peer]
heftig has quit [Quit: Quitting]
yfeldblum has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
heftig has joined #ruby-lang
dorei has quit [Read error: Connection reset by peer]
<ledestin> yorickpeterse: just out of curiosity, how much years of rails do you consider junior?
momomomomo has joined #ruby-lang
yfeldblum has joined #ruby-lang
<ledestin> oh, it's Ruby, not Rails
bantic has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
rivaler has joined #ruby-lang
danijoo has joined #ruby-lang
danijoo_ has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
alekst has quit [Quit: Leaving...]
jsilver has quit []
jsilver has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
michaeldeol has quit [Quit: Computer has gone to sleep.]
Lewix has quit [Remote host closed the connection]
michaeldeol has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
nisstyre has joined #ruby-lang
gfarfl has joined #ruby-lang
michaeldeol has quit [Ping timeout: 250 seconds]
elliotec has joined #ruby-lang
michaeldeol has joined #ruby-lang
mehlah has joined #ruby-lang
michaeldeol has quit [Client Quit]
michaeldeol has joined #ruby-lang
ratmav has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
skade has quit [Client Quit]
elliotec has joined #ruby-lang
anjen has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 248 seconds]
__butch__ has quit [Read error: Connection reset by peer]
elliotec has joined #ruby-lang
__butch__ has joined #ruby-lang
ikrima has joined #ruby-lang
deception has quit [Quit: Goodbye]
smashwilson has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
ratmav has quit [Quit: Leaving]
diegoviola has quit [Quit: WeeChat 0.4.3]
VTLob has quit [Quit: VTLob]
jsrn has quit [Quit: Leaving]
nathanstitt has quit [Quit: I growing sleepy]
specialblend has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
anjen has quit [Quit: anjen]
elliotec has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jtw has quit []
<yorickpeterse> ledestin: junior in general, little experience with Ruby
<yorickpeterse> so < 1 year
aleatorik has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> basically at the level of "I want to learn but no fucking idea how to get in the club"
elliotec has joined #ruby-lang
<ledestin> ok. we have job ads saying junior requiring 2 years of Rails
<yorickpeterse> wat
<yorickpeterse> that's intermediate if you'd ask me
<yorickpeterse> what the fuck
<yorickpeterse> darn kiwis
<ledestin> can't find a job here with my 1 year of Rails
chouhoulis has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
<yorickpeterse> If you ever want to work for me basically the only two requirements would be 1) dislike MongoDB 2) be able to deal with me :P
<ledestin> I would do remote
<ledestin> never worked with Mongo
<yorickpeterse> Be happy you haven't
jhass is now known as jhass|off
<ledestin> I'm flying to Australia, to see how's life there. Much more Ruby jobs there.
<ledestin> err, going to fly
<yorickpeterse> Never been to nz but I can imagine not that much going on there
vlad_starkov has quit [Ping timeout: 250 seconds]
<ledestin> it's all Java and C# and PHP
<yorickpeterse> Then again it's bigger than .nl by the looks of it
<ledestin> 4 million people
nXqd has joined #ruby-lang
dingus_khan has joined #ruby-lang
Wardrop has quit [Quit: Wardrop]
<ledestin> but, it's just that Ruby isn't popular in NZ. Just one AU city has more rails jobs than whole NZ.
ikrima has quit [Ping timeout: 265 seconds]
pr0ton has joined #ruby-lang
phansch has quit [Quit: Leaving]
<zenspider_> looks like kiwirail has lots of applicable jobs :P
sfroehler has quit [Ping timeout: 245 seconds]
sfroehler has joined #ruby-lang
jgpawletko_ has quit [Quit: jgpawletko_]
momomomomo has quit [Quit: momomomomo]
elia has quit [Read error: Connection reset by peer]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has joined #ruby-lang
ebetancourt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brettweavnet has quit [Quit: Bye]
Asher has joined #ruby-lang
retro|cz has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
pr0ton has quit [Quit: pr0ton]
<dingus_khan> am i missing something with the CSV class? it's returning the last value on a row as nil...
<drbrain> dingus_khan: maybe it has a trailing newline?
ikrima has joined #ruby-lang
<drbrain> (I've never used CSV so its just a guess)
<dingus_khan> isn't supposed to have a newline to delimit?
__butch__ has quit [Quit: Leaving.]
<drbrain> for rows, yes, but if your file is "foo|bar\n" one interpretation is that the last row has no entries
<drbrain> I'm not sure if that is CSV's interpretation, though
mbj has joined #ruby-lang
mbj has quit [Client Quit]
<dingus_khan> the file is name,rating,number,number,number,number <= the last "number" on a given row is returning nil, but i've tried it with a trailing comma instead; as far as i know, newlines are needed to delimit rows
<dingus_khan> it's strange because i've used the same method previously without this happening
diegoviola has joined #ruby-lang
nathanstitt has joined #ruby-lang
<dingus_khan> here's what i'm talking about: http://codepad.org/h7rTvAtJ