<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]
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
<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
<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
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
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
<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