ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
Jake232 has joined #ruby-lang
twittard has joined #ruby-lang
twittard has quit [#ruby-lang]
methods has joined #ruby-lang
<methods> is `delegate` some kind of ruby 1.9 thing ?
Wardrop has joined #ruby-lang
shevy has joined #ruby-lang
imperator has joined #ruby-lang
Stalkr_ has joined #ruby-lang
wubino has joined #ruby-lang
brownies has joined #ruby-lang
Slackwise has joined #ruby-lang
twittard has joined #ruby-lang
QoQOoO has joined #ruby-lang
QoQOoO has quit [#ruby-lang]
<rue> methods: No
<methods> yea idk i was just playing around with this wolfram alpha module from github that was complaining about method `delegate` not found.. so i resorted to just writing my own code
ronankde has joined #ruby-lang
<ronankde> gem server not found the documentation
<rue> ronankde: Maybe you need to install the docs?
methods has quit [#ruby-lang]
<ronankde> yes
<ronankde> `/doc_root/zip-2.0.2/rdoc/index.html' not found.
Joeysomo has joined #ruby-lang
qpingu has joined #ruby-lang
tomzx has joined #ruby-lang
twittard has quit [#ruby-lang]
aef has joined #ruby-lang
gregf has joined #ruby-lang
virunga has joined #ruby-lang
phaedrix has joined #ruby-lang
Mchl has joined #ruby-lang
zz_skinny_much has joined #ruby-lang
Progster has joined #ruby-lang
twittard has joined #ruby-lang
twittard has quit [#ruby-lang]
Karmaon has joined #ruby-lang
QoQOoO has joined #ruby-lang
RomyRomy has joined #ruby-lang
shtirlic_ has joined #ruby-lang
igotnolegs has joined #ruby-lang
bglusman has joined #ruby-lang
Tearan_ has joined #ruby-lang
AndChat| has joined #ruby-lang
lsegal has joined #ruby-lang
QoQOoO has quit [#ruby-lang]
imperator has quit ["Leaving"]
andrewhl has joined #ruby-lang
looopy has joined #ruby-lang
ericmuyser has joined #ruby-lang
KillerFox has joined #ruby-lang
andrewhl has quit [#ruby-lang]
andrewhl has joined #ruby-lang
dr0id has joined #ruby-lang
slyphon has joined #ruby-lang
jenrzzz has joined #ruby-lang
jenrzzz has joined #ruby-lang
<Guest___> anyone know a good way to list the defined subclasses of a class? using ri? other?
jenrzzz has joined #ruby-lang
jenrzzz has joined #ruby-lang
jenrzzz has joined #ruby-lang
twittard has joined #ruby-lang
jenrzzz has joined #ruby-lang
dhruvasagar has joined #ruby-lang
jenrzzz has joined #ruby-lang
jenrzzz has joined #ruby-lang
cdnz has joined #ruby-lang
imperator has joined #ruby-lang
Tearan has joined #ruby-lang
<imperator> erikh, ping
<erikh> pong
<imperator> any news on rdbi?
<erikh> oh it's dead.
<erikh> sorry :(
RomyRomy has joined #ruby-lang
<erikh> if someone else wants to take the helm, I'll be happy to assist them, but I just don't have time for that fight.
arooni-mobile has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
<erikh> irony: I'm working on a sequel project atm
<erikh> gist is still broken for me at the CLI as well
<erikh> bummer.
<erikh> so, folks, I have this:
reeze_xia has joined #ruby-lang
<erikh> what I'd like to know is if/how I can coerce those relationships out of Sequel automatically.
<erikh> they let me do that.
<imperator> speaking of sql-y things, eh?
* imperator has no idea, btw
Nisstyre has joined #ruby-lang
<erikh> np, I just don't need to write a meta-programming framework to solve this, but C&P isn't how I want to roll either
takaokouji has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has joined #ruby-lang
rking has joined #ruby-lang
brownies has joined #ruby-lang
<rking> Hey fellas. Soo.. I used to program all the time, but I've been out of the game for a while (in the U.S. Army for 5 yrs). In a while I'll be getting back to it, and would like to use the Only Best Language There Is. What kind of tools should I focus on to be marketable?
<rue> Being able to program is pretty useful
<rking> I figure I'll continue the web direction I used to do, but it was old-generation stuff (I used Javascript, CSS, SQL, etc., but not the latest crop of libs and standards versions)
<rking> rue: Yeah, actually I've never stopped using it completely. I only need to figure out how to best position myself so I can get a Ruby job if possible.
arooni-mobile has joined #ruby-lang
<rking> I'll settle for Python or Perl if I have to, but I don't want to.
<rue> Rails + JS (i.e. JQuery/Ember/Backbone)
<imperator> ^ there's your money maker
<rking> rue: Gotcha. I was thinking Rails + JQuery, but Ember & Backbone are completely new to me.
<rking> rue/imperator: Thanks.
<imperator> i dunno about ember or backbone, never even heard of them
<rking> imperator: But you can confirm that a guy could find a Rails project if they looked for it?
brownies has joined #ruby-lang
<imperator> rking, just search for "rails" on dice.com, or whatever your favorite job search site is
<imperator> you'll see
<rking> Kk. Good to hear.
<rking> imperator: 6 years ago the only way I knew to get paid for Ruby work was to beat everyone in the team up verbally until they let me use it for something.
<imperator> that's my preferred method
brownies has joined #ruby-lang
<rking> =D
srbaker has joined #ruby-lang
gabeanze1ini has joined #ruby-lang
phlipper has joined #ruby-lang
<shevy> or slow, dangerous breathing
<imperator> combined with a force choke
<brownies> dice.com ? really?
<imperator> brownies, please enlighten us
<brownies> uh.. hmm...
<dr0id> uhuho
<brownies> The job that can be posted is not the ultimate job
<brownies> The salary that can be named is not the ultimate salary
<brownies> The networkable is the eternally real
<brownies> ...how's that?
<shevy> lol
<imperator> wait a minute, i need to take some serious drugs before continuing
<shevy> The Eternally Real.
<shevy> imperator, just choke yourself for a while until oxygen deprived, that should kick in sufficiently to make one feel happy!
<imperator> hm, force choking one's self....never thought of that
* imperator finds his lack of oxygen....fun!
<imperator> but seriously folks
<imperator> brownies, what do YOU use?
<brownies> to get jobs? LinkedIn
<rking> brownies: My problem is that I don't know any existing Ruby professionals.
<brownies> also, i occasionally go to events and tell people they can't afford me
<rking> Hehe
<brownies> rking: ah, were you looking to learn, or to get hired? (or both?)
rippa has joined #ruby-lang
<imperator> rking, been to a conference? good way to meet other ruby folks
<brownies> people are hiring like mad right now; you probably could get an offer where they agree to let you learn Ruby on the job
<rking> brownies: Both, yep. I know Ruby decently well, but I don't know the recent tools.
<rking> imperator: I'll try to finagle that. Good idea.
<brownies> eh just come to SF and cold email some companies
<imperator> rking, where you at?
<rking> imperator: I'm currently in El Paso, TX, but once I'm out of the Army I'll be highly location-agnostic.
<imperator> sf, pssh, if you want to live in a closet for $2000/month
<rking> In fact I'd work beneath the surface of the earth, if there was such a thing.
<brownies> yea, don't try to get a ruby job in el paso
fayimora has joined #ruby-lang
<imperator> probably could if he wanted to
fayimora has joined #ruby-lang
<imperator> but i would say Seattle, Portland, San Diego, Boulder, Austin, NYC, DC are the big tech hubs
<rking> Any of those would be fine, yep.
<imperator> rking, got a clearance?
<rking> imperator: Secret.
<imperator> rking, ooh, DC area would be more money then
<rking> Good thinking. It's embarassing, but I actually wasn't thinking about the clearance at all. I got it when I joined and only used it for minor stuff.
<imperator> <- used to work at ft. meade while in the usaf
<imperator> oh, it's valuable
<brownies> and... SF
<brownies> not sure how that missed your list -_-
<imperator> yep, SF, too
<imperator> but SF is crazy expensive
<rking> I worked in Fremont for a while. I don't hate the area.
<imperator> rking, got a linkenin profile? could start there
<rking> imperator: I do have one, yes. I completely neglected it, but I'll give it a shot.
<imperator> might need TS for some stuff, but if you've already got secret, then you should be clearable
<rking> Cool.. doesn't expire for 10 years.
<rking> I was thinking 7.
hagabaka has joined #ruby-lang
pgpkeys has joined #ruby-lang
gix has joined #ruby-lang
gabeanze1ini has joined #ruby-lang
gabeanzelini has joined #ruby-lang
twittard has joined #ruby-lang
z3r00ld has joined #ruby-lang
rdavila has joined #ruby-lang
imperator has quit ["Leaving"]
reeze_xia has joined #ruby-lang
Karmaon has joined #ruby-lang
havenn has joined #ruby-lang
hagabaka has joined #ruby-lang
hagabaka has joined #ruby-lang
x0F__ has joined #ruby-lang
hagabaka has joined #ruby-lang
hagabaka has joined #ruby-lang
ericmuyser has joined #ruby-lang
slyphon has joined #ruby-lang
paul0 has joined #ruby-lang
gianlucadv has joined #ruby-lang
<shevy> dumdedum
selvakumaran has joined #ruby-lang
<selvakumaran> Hi there, i am using Ruby 1.8 on opensuse, i need a help on this script http://susepaste.org/74636907
sora_h has joined #ruby-lang
jimbob has joined #ruby-lang
selvakumaran has joined #ruby-lang
<jimbob> I'm reading some json content from a file, and trying to convert it using JSON.parse, however instead of returning a hash, I get an array with array[1] being the string i entered.. any suggestions?
twelvechairs has joined #ruby-lang
Fullmoon has joined #ruby-lang
JohnBat26 has joined #ruby-lang
JohnBat26 has joined #ruby-lang
QoQOoO has joined #ruby-lang
yxhuvud has joined #ruby-lang
gokul has joined #ruby-lang
shtirlic has joined #ruby-lang
bsacke_ has joined #ruby-lang
sepp2k has joined #ruby-lang
Torrieri has joined #ruby-lang
francisfish has joined #ruby-lang
olesu has joined #ruby-lang
solars has joined #ruby-lang
mssola has joined #ruby-lang
apeiros_ has joined #ruby-lang
tjadc has joined #ruby-lang
srbartlett has joined #ruby-lang
kitallis has joined #ruby-lang
benanne has joined #ruby-lang
z3r00ld has joined #ruby-lang
burgestrand has joined #ruby-lang
pemeon has joined #ruby-lang
toretore has joined #ruby-lang
adambeynon has joined #ruby-lang
dhruvasagar has joined #ruby-lang
rue has joined #ruby-lang
tbuehlmann has joined #ruby-lang
Stalkr_ has joined #ruby-lang
fayimora has joined #ruby-lang
olesu has joined #ruby-lang
JohnBat26|2 has joined #ruby-lang
Joeysomo has joined #ruby-lang
robwilliamsukio has joined #ruby-lang
uniqanomaly has joined #ruby-lang
dr_bob has joined #ruby-lang
solars has joined #ruby-lang
workmad3 has joined #ruby-lang
celebritarian has joined #ruby-lang
reeze_xia has joined #ruby-lang
rue has joined #ruby-lang
Sailias has joined #ruby-lang
shtirlic has joined #ruby-lang
takaokouji has joined #ruby-lang
Jake232 has joined #ruby-lang
olesu has joined #ruby-lang
workmad3 has joined #ruby-lang
Dreamer3 has joined #ruby-lang
IPGlider has joined #ruby-lang
thrcka has joined #ruby-lang
sdeobald has joined #ruby-lang
fowl has joined #ruby-lang
codewrangler has joined #ruby-lang
dcorbin has joined #ruby-lang
dcorbin has joined #ruby-lang
rolfb has joined #ruby-lang
<rolfb> any tips on verifying the contents of a table specified in cucumber on the webpage with capybara?
<burgestrand> rolfb: we’ve got an rspec matcher for it that we use at work, https://github.com/elabs/elabs_matchers/blob/master/lib/elabs_matchers/matchers/capybara/common.rb#L36
<burgestrand> Now that I look it that could also be cleaned up a little bit…
<fowl> anybody know how to remedy this: http://pastebin.com/Hshgd56y
<rolfb> burgestrand: great, thanks
<rolfb> appreciated
<burgestrand> rolfb: :)
andremaha has joined #ruby-lang
therod has joined #ruby-lang
andremaha_ has joined #ruby-lang
dhruvasagar has joined #ruby-lang
reeze_xia has joined #ruby-lang
Indian has joined #ruby-lang
<rolfb> burgestrand: tried using it now, but it tells me "undefined method `configure' for RSpec:Module (NoMethodError)"
<burgestrand> rolfb: hm, peculiar, which version of rspec are you using?
<rolfb> burgestrand: using rspec 2.8.0
<burgestrand> rolfb: not sure what might be causing the issue, sounds like a breaking change in rspec to me, I know I use RSpec.configure myself a lot
<burgestrand> but that cannot be right :x
<burgestrand> Updated rspec to 2.9 though and got some other errors
jxie has joined #ruby-lang
rking has quit ["Leaving"]
<burgestrand> rolfb: just created a new project with rspec 2.8.0 and it works fine here
* apeiros_ always reads roflb
<rolfb> hmm
<rolfb> burgestrand: could be cucumber messing things up, cucumber has been messing up a lot of things for me lately
<rolfb> apeiros_: feel free :)
<rolfb> i'm often rolling on the floor barfing
<burgestrand> rolfb: perhaps you haven’t required rspec properly, and cucumber just monkeypatches something in it to create the RSpec module?
<rolfb> laughing and *
<rolfb> burgestrand: might be
<shevy> apeiros_ same here, at least he has a nick that makes people happy though :)
<rue> fowl: Wild guess, add it to your PATH?
<fowl> rue, that was just a warning
<rolfb> apeiros_, shevy: (my first name is ROLF)
<rolfb> ;)
<rolfb> burgestrand: you were right
<burgestrand> rolfb: \o/
<apeiros_> rolfb: I know, or at least assumed
<rolfb> burgestrand: now i'm just confused by the fact that all steps are passing with no tables :P
<shevy> rolfb damn... I read that as ROFL
<fowl> rue, i did gem install --no-user-install rubygems-update then update --system to fix
<burgestrand> rolfb: D: odd, I know the matcher is using page.find (which ought to raise an error on missing elements)
<rolfb> burgestrand: i through it into a block which might not get executed, just ignore :)
<rolfb> threw
<rolfb> even
<rue> fowl: Hooray
<rolfb> burgestrand: i was right
<rolfb> burgestrand: surprised it needed a table name
<burgestrand> rolfb: it’s supposed to work if you have multiple tables :)
pemeon has joined #ruby-lang
<rolfb> burgestrand: what happens if i pass it "" ?
<rolfb> :)
<burgestrand> rolfb: it’ll try to find the rows on the first table that matches this xpath: .//table[(./@id = '' or contains(.//caption, ''))] :p
<rolfb> oh, it takes an ID as well as checking the caption
<rolfb> by first look it looked like it just looked for the caption :)
<rolfb> three look in one sentence
<rolfb> nice
<rolfb> sunshine is making my screen useless, so I'll take a break
<rolfb> thanks for the help
<shevy> lol
solars has joined #ruby-lang
sdeobald has joined #ruby-lang
imperator2 has joined #ruby-lang
<imperator> pssh, some people
gregf has joined #ruby-lang
workmad3 has joined #ruby-lang
<rue> Pssh, windows
dominikh has joined #ruby-lang
tesmar has joined #ruby-lang
Mchl has joined #ruby-lang
<imperator> hm?
<rue> Sunshine
<imperator> good movie
mark-_ has joined #ruby-lang
mark-_ has joined #ruby-lang
andrewhl has joined #ruby-lang
srbaker has joined #ruby-lang
<rue> 'Tis
SkramX has joined #ruby-lang
mark-_ has joined #ruby-lang
<erikh> hello internet
<rue> HI THERE
<erikh> what are you up to these days?
<shevy> STILL TRYING TO LEARN HOW TO DOWNCASE THINGS
<erikh> NAH, HE'S JUST POSSESSED BY BILLY MAYS
<rue> shevy: That elicited an actual smile, awesome
<rue> erikh: Vacationing
<erikh> excellent! I took a week next week
<erikh> well, the week after this one.
<rue> Been off 2 months, might make it a third before looking for a gig
<erikh> oh wow
<erikh> I'd kill for that kind of time off.
<imperator> rue, got ya beat :)
<rue> imperator: Sabbatical?
<imperator> pretty much amounted to one
<fowl> lol shevy
<imperator> did a 6 week road trip across the country last summer, that was great
therod has joined #ruby-lang
<rue> Nice
<erikh> 80 and 84?
<imperator> hm?
<erikh> interstates
<erikh> I took 84 to 80 from portland to philadelphia
<erikh> awesome trip.
<imperator> i don't remember now, sorry
<rue> erikh: Yeah. I hadn't really had real non-computer/-programming vacation for some years so I figured I'd take the opportunity.
<rue> Or, well, I've still been on the computer obviously :)
<erikh> yeah, I think I'm about due.
<rue> US is so strapped for time off, it's ridiculous
<erikh> the last real vacation I had was shortly after I got married, and we just celebrated our 10 year anniversary
jxie has joined #ruby-lang
<imperator> congrats!
<erikh> thanks
<rue> Yeah! 9 years on 1.1. here… reminds me should probably plan something for next one
<rue> But I consider 6 weeks + sick days an absolute minimum vacation amount per year
<erikh> yeah, I get 2 + unlimited sick time
<erikh> and I never take it. always get paid out when I leave a job.
<rue> Though over here you get 4 weeks if you work at Mickey Dee's
<rue> It's fortunately not considered just the privilege of the white-collars
<fowl> where is that
<fowl> sounds like paradise
<erikh> I could totally live in spain or portugal. the rest of the places can have their weather
<rue> fowl: .fi, but it's the same all over the north
<fowl> i've only ever worked fast food, and i've never had any "vacation days"
<imperator> spain would be nice, been there
<erikh> moving to california is the best thing I have done for my general mood in a long time
<imperator> but then there's that whole spanish thing, what a hassle
<erikh> aye
apeiros has joined #ruby-lang
<erikh> my wife speaks proper spanish, but I don't.
<rue> erikh: Definitely, until it all goes in the sea
<erikh> rue: yeah, well, given how much I smoke per day I doubt I'll be around to see that :P
<rue> My long-term plan is Barcelona, which is basically NorCal but on a stable continental plate :)
<erikh> heh.
<imperator> maybe i'd move to castille, so i can have the best accent
<erikh> I guess the company's sending me to london at the end of april. never left the continental US, so I'm expecting a pretty big shock
<imperator> was in barcelona in 92, very nice
<tobiasvl> erikh: never left the US :o have fun abroad!
<erikh> well that's not true. my last vacation was in hawaii.
<imperator> erikh, be prepared for people with funny accents!
<erikh> hehe
<erikh> that reminds me
<imperator> well, it's britain, shouldn't be too much of a shock
<erikh> injekt: we need to do something when I'm there
<imperator> things that may surprise you are the small roads, and small hotel rooms
<erikh> yeah, I've heard about the latter.
<tobiasvl> and the fact that people drive on the wrong side of the road
<imperator> and you can forget about trying to navigate via street names
<erikh> well they did invent the imperial system after all
<erikh> can't expect them to be logical
<rue> The UK is pretty similar to the US culturally (and economically)
<imperator> you may need a translator for scottish cab drivers
<erikh> ah. we have a london office now, and due to the TSA flying everyone over here is pretty much impossible
<rue> Yeah, I'm really reluctant to fly to the US, sadly.
<erikh> oh man
<erikh> my boss's wife is native chinese
<erikh> that poor girl, they get no end of hel
<erikh> hell
<imperator> rue, why's that?
<tobiasvl> rue: i've been to the US several times. it's not all bad :)
<erikh> imperator: it is supposedly a huge pain in the ass @ customs
<rue> It's not too bad on a visa waiver
<erikh> one of our guys just flat-out refuses to come
<imperator> wow
<rue> It's certainly not welcoming, but not terrible. The way they treat non-citizen residents is atrocious though.
<rue> imperator: And it's pretty much just ICE/Customs
fayimora has joined #ruby-lang
<rue> erikh: Do I know anyone at your London?
<rue> (I'm outsourcing memory, it's the new hotness)
phaedrix has joined #ruby-lang
Sailias has joined #ruby-lang
<imperator> i put my memory in the cloud
rippa has joined #ruby-lang
<erikh> not afaik
bsacke has joined #ruby-lang
<rue> I should try to hit up the LRUG next time I'm over there, I didn't last time
<erikh> I need to go to more user groups, period
gsav has joined #ruby-lang
<erikh> finding people to hack on things at work can be very trying
<erikh> err, work employees hacking off hours
imperator has quit ["Leaving"]
Tukeke has joined #ruby-lang
<rue> I imagine you can't swing a cat in the valley without hitting a group
<rue> Or someone complaining about swinging cats anayway
havenn has joined #ruby-lang
slyphon has joined #ruby-lang
robwilliamsukio has joined #ruby-lang
io_syl has joined #ruby-lang
darkf has joined #ruby-lang
darkf_ has joined #ruby-lang
curtism has joined #ruby-lang
curtism has joined #ruby-lang
Fullmoon has joined #ruby-lang
olesu has joined #ruby-lang
morozovm has joined #ruby-lang
morozovm has joined #ruby-lang
<telemachus> One of the many expressions I can't see ever being said for the first time.
<telemachus> "you can't swing a cat without..."
<telemachus> Someone's very colorful aunt, probably.
morozovm has joined #ruby-lang
<rue> Etymology is fun
morozovm has joined #ruby-lang
<shevy> you can't swing a cat with a book
<shevy> ohhhh
<shevy> without hmmm
morozovm has joined #ruby-lang
Luxx_ has joined #ruby-lang
olesu has joined #ruby-lang
publicvoid has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sodani has quit [#ruby-lang]
<Harzilein> hmm
<Harzilein> what can i do to make variables available from a module in the irb shell when using -r?
<Harzilein> (irb1.8)
<Harzilein> i tried
<Harzilein> doc = open("http://epicsol.org/epic4-help")
<Harzilein> dom = Nokogiri(doc)
<Harzilein> but the variables do not show up
<andrewvos> find]
<andrewvos> garg
<andrewvos> sorry wrong window obviously
<rue> Harzilein: They're local variables
<Harzilein> rue: well? i did not start a module
<rue> Just use a method instead
<Harzilein> class variables worked, nice :)
publicvoid has joined #ruby-lang
<shevy> hmm
<shevy> I am often glad that ruby code is local and does not spread like a virus
[[thufir]] has joined #ruby-lang
A124 has joined #ruby-lang
<[[thufir]]> how can I automate telnet? I'm trying to use net/telnet but the script just hangs: https://gist.github.com/2198265
fayimora has joined #ruby-lang
A124 has joined #ruby-lang
shtirlic has joined #ruby-lang
phaedrix has joined #ruby-lang
olesu has joined #ruby-lang
burns180_ has joined #ruby-lang
workmad3 has joined #ruby-lang
havenn has joined #ruby-lang
havenn_ has joined #ruby-lang
Tukeke has joined #ruby-lang
fayimora has joined #ruby-lang
morozovm has quit [#ruby-lang]
sepp2k has joined #ruby-lang
morozovm has joined #ruby-lang
imrohit has joined #ruby-lang
havenn has joined #ruby-lang
slyphon has joined #ruby-lang
chimkan_ has quit [#ruby-lang]
brownies has joined #ruby-lang
francisfish has joined #ruby-lang
gryfft2 has joined #ruby-lang
therod has joined #ruby-lang
<gryfft2> Hi! New guy with dumb questions. Should I show myself out?
<canton7> No harm in asking. If someone wants to answer, they will
achiu has joined #ruby-lang
t has joined #ruby-lang
dejongge has joined #ruby-lang
<rue> corundum: ask?
<corundum> don't ask me
<rue> corundum: ask is Just ask, someone'll answer sooner or later. If you have a problem, include as much info as possible. If you have code (always good), paste it up on http://gist.github.com or another paste site and link to it.
<corundum> can do!
<erikh> rue: yeah, there's plenty of groups
<erikh> just gotta, you know, go outside and be social and stuff.
arooni-mobile has joined #ruby-lang
<rue> There's that
<rue> I tried to actively work on that
<ddfreyne> what does corundum know?
<ddfreyne> & who runs it?
Indian has joined #ruby-lang
S2kx has joined #ruby-lang
<erikh> ddfreyne: talk to drbrain
havenn_ has joined #ruby-lang
morozovm has quit [#ruby-lang]
kyrylo has joined #ruby-lang
kyrylo has joined #ruby-lang
<injekt> erikh: you're coming here?
olesu has joined #ruby-lang
<erikh> injekt: yeah to london
<erikh> for like a week.
<injekt> erikh: nice, when's that?
darkf_ has joined #ruby-lang
darkf has joined #ruby-lang
<andrewvos> Some classy responses here! http://youreyoureyoure.heroku.com/
shtirlic has joined #ruby-lang
morozovm has joined #ruby-lang
Guest_ has joined #ruby-lang
<Boohbah> andrewvos: hilarious!
futurechimp has joined #ruby-lang
achiu has joined #ruby-lang
SkramX has joined #ruby-lang
jxie_ has joined #ruby-lang
tonesfrommars has joined #ruby-lang
<rue> Oh, is that your bot?
<andrewvos> rue: yeah
olesu has joined #ruby-lang
<rue> andrewvos: What if it corrects someone's tweet that says something like “Your all going to be sorry to hear your friend Bob has died”
<rue> That'd be pretty dickish
Jessicayang2 has joined #ruby-lang
setmeaway has joined #ruby-lang
<Jessicayang2> I'm doing something like this str=JSON.parse(File.open("names.json","r").readlines.to_s) but instead of returning a hash, I'm being returned an array. if I try to force it using :object_class, I get a message about not converting a symbol to a hash.. what am I missing? I've verified the string read from the file is valid json too
<apeiros> File.open("names.json","r").readlines.to_s --> File.read("names.json")
robgleeson|mba has joined #ruby-lang
<apeiros> (why so many people insist on using overly complex constructs, just to read a file?!?)
<apeiros> Jessicayang2: if you get back an array, the file contains a json array.
<robgleeson|mba> hey, looking for some mkmf help, I've got: create_makefile("io_memory/ext") but now Ruby expects Init_ext (but I want it to look for Init_io_memory)
<robgleeson|mba> any tips?
<injekt> robgleeson|mba: (target, prefix)
<injekt> robgleeson|mba: create_makefile('io_memory/ext', 'io_memory') should work
<Jessicayang2> apeiros, that seems to return correctly now and Ican reference keys by name.
<fowl> Jessicayang2, try this in irb: ['hi', 'there'].to_s
<robgleeson|mba> I don't think so, injekt :(
<robgleeson|mba> injekt: it appears 'prefix' is if you want to point your Makefile at source outside the CWD.
<injekt> ow
tomzx has joined #ruby-lang
igotnolegs has joined #ruby-lang
Jarred has joined #ruby-lang
<andrewvos> rue: Don't be such a pessimist.
morozovm has quit [#ruby-lang]
pxjorge has joined #ruby-lang
<andrewvos> rue: And also, if that guy said "you're" wrong, then he deserved to lose his friend Bob.
arooni-mobile has joined #ruby-lang
<Boohbah> andrewvos += 1
workmad3 has joined #ruby-lang
Defusal has joined #ruby-lang
Defusal has joined #ruby-lang
lsegal has joined #ruby-lang
Transformer has joined #ruby-lang
chimkan_ has joined #ruby-lang
Defusal has joined #ruby-lang
havenn has joined #ruby-lang
wallerdev has joined #ruby-lang
Sailias has joined #ruby-lang
thone has joined #ruby-lang
gregf has joined #ruby-lang
tekin has joined #ruby-lang
mrb_bk has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
abuiles has joined #ruby-lang
mccraig has joined #ruby-lang
agib has joined #ruby-lang
cldwalker has joined #ruby-lang
mrchrisadams has joined #ruby-lang
virunga has joined #ruby-lang
abuiles has joined #ruby-lang
akahn has joined #ruby-lang
andrewhl has joined #ruby-lang
shtirlic_ has joined #ruby-lang
jacktrick has joined #ruby-lang
mrb_bk has joined #ruby-lang
John_____ has joined #ruby-lang
mrchrisadams has joined #ruby-lang
mrb_bk has joined #ruby-lang
davesq has joined #ruby-lang
mrchrisadams has joined #ruby-lang
cesario has joined #ruby-lang
fowl has joined #ruby-lang
fowl has joined #ruby-lang
JEG2 has joined #ruby-lang
mccraig has joined #ruby-lang
Filuren has joined #ruby-lang
nguerin has joined #ruby-lang
fgomez has joined #ruby-lang
kvs has joined #ruby-lang
woollyams has joined #ruby-lang
solars has joined #ruby-lang
lordzero has joined #ruby-lang
<lordzero> evening all
jacktrick has joined #ruby-lang
publicvoid has joined #ruby-lang
srbaker has joined #ruby-lang
setmeaway has joined #ruby-lang
<rue> Hello one
fayimora has joined #ruby-lang
srbaker has joined #ruby-lang
akahn has joined #ruby-lang
brushbox has joined #ruby-lang
MopMopperton14 has joined #ruby-lang
fayimora has joined #ruby-lang
Wardrop has joined #ruby-lang
hagabaka has joined #ruby-lang
hagabaka has joined #ruby-lang
<lordzero> How quaint rue ;)
brushbox has joined #ruby-lang
Swimming_Bird has joined #ruby-lang
Joeysomo has joined #ruby-lang
abuiles has joined #ruby-lang
agib has joined #ruby-lang
fayimora has joined #ruby-lang
mrb_bk has joined #ruby-lang
cesario has joined #ruby-lang
akahn has joined #ruby-lang
achiu has joined #ruby-lang
chimkan_ has quit [#ruby-lang]
phlipper has joined #ruby-lang
<erikh> injekt: end of april
tjadc has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
mccraig has joined #ruby-lang