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
b1rkh0ff has quit [Ping timeout: 245 seconds]
Guest15841 has quit [Read error: Operation timed out]
Hakon|mbp has quit [Read error: Connection reset by peer]
steez has joined #ruby-lang
Asher1 has joined #ruby-lang
steez is now known as Guest53444
andrew__ has quit [Remote host closed the connection]
Asher has quit [Ping timeout: 250 seconds]
tomzx has joined #ruby-lang
peppyheppy has quit [Quit: peppyheppy]
Swimming_Bird has joined #ruby-lang
arooni-mobile has joined #ruby-lang
tomb_ has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
stardiviner has joined #ruby-lang
ilyam_ has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
ilyam has quit [Ping timeout: 245 seconds]
ilyam_ is now known as ilyam
Guest92523 has quit [Quit: /quit]
alindeman has joined #ruby-lang
stayarrr has quit [Quit: Linkinus - http://linkinus.com]
bruno_coelho has joined #ruby-lang
postmodern has quit [Ping timeout: 244 seconds]
postmodern has joined #ruby-lang
ilyam has quit [Quit: ilyam]
<zenspider> rawr
<seanstickle> miao!
flip_digits has joined #ruby-lang
ryez_ has quit [Quit: Page closed]
tomb_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bruno_coelho is now known as brunocoelho
jtoy has quit [Quit: jtoy]
<whitequark> did you know that google (apparently) hired yugui to work on nacl port?
<drbrain> whitequark: it's Yugui's 20% project
<whitequark> oh.
<whitequark> I remember now. I read about Google on her blog
<drbrain> actually, I may be wrong on that
<drbrain> I thought Yugui said it was her 20% project, but the comment was from KOSAKI Motohiro
<whitequark> yeah, I see :http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/45083
<erikh> drbrain: oh hey, I think I found a rubygems bug, but I'm not 100%
headius has quit [Quit: headius]
<erikh> so we're using bundler for a rails app, it uses a very standard gem binstub
<erikh> (we haven't edited it, at least)
<zenspider> about to go to nerd dinner. file a tix and we'll catch up with you
<erikh> ah ok
<zenspider> we'll be back in an hour
<erikh> ok, well, I'll file the ticket -- I just didn't want to spam you guys too hard
tenderlove has quit [Remote host closed the connection]
dv310p3r has joined #ruby-lang
bojicas_ has joined #ruby-lang
bryancp has joined #ruby-lang
bojicas has quit [Read error: Connection reset by peer]
bfreeman has quit [Quit: bfreeman]
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
jarib has quit [Ping timeout: 265 seconds]
flip_digits has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
savage- has quit [Ping timeout: 260 seconds]
Cykey has quit [Quit: Computer has gone to sleep.]
tonesfrommars has joined #ruby-lang
Z33K|Lux has joined #ruby-lang
seanstickle has quit [Quit: Nihil sub sole novum]
levicole has joined #ruby-lang
jarib has joined #ruby-lang
cantonic has quit [Remote host closed the connection]
Fezzler has joined #ruby-lang
cdt has joined #ruby-lang
voker57 has quit [Ping timeout: 246 seconds]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
Weems has joined #ruby-lang
Weems2 has quit [Ping timeout: 256 seconds]
voker57 has quit [Ping timeout: 240 seconds]
whitequark has quit [Ping timeout: 260 seconds]
peppyheppy has joined #ruby-lang
awwaiid has joined #ruby-lang
neoesque has joined #ruby-lang
tenderlove has joined #ruby-lang
peppyheppy has quit [Client Quit]
cantonic has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
whitequark has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
dv310p3r has quit [Ping timeout: 246 seconds]
peppyheppy has joined #ruby-lang
cored has quit [Quit: leaving]
tRAS has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
VGoff is now known as VGoff_afk
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
VGoff_afk is now known as VGoff
krohrbaugh has joined #ruby-lang
voker57 has quit [Read error: Operation timed out]
dv310p3r has joined #ruby-lang
Fezzler has quit [Quit: Ex-Chat]
kain has joined #ruby-lang
Karmaon is now known as doesUbuntuHateAw
Asher1 has quit [Quit: Leaving.]
doesUbuntuHateAw is now known as AwayNickAwayNick
Asher has joined #ruby-lang
AwayNickAwayNick is now known as Karmaon
Zyclops has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
dv310p3r has quit [Ping timeout: 246 seconds]
schroedinbug has joined #ruby-lang
voker57 has quit [Ping timeout: 252 seconds]
seanstickle has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
peppyheppy has quit [Quit: peppyheppy]
gnufied has joined #ruby-lang
A124 has quit [Quit: Leaving.]
voker57 has quit [Ping timeout: 246 seconds]
voker57 has joined #ruby-lang
ryanf has joined #ruby-lang
voker57 has quit [Ping timeout: 244 seconds]
dalekurt has joined #ruby-lang
andrew_ has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
slimfit has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
bojicas_ has quit [Ping timeout: 245 seconds]
sora_h is now known as s0ra_h
s0ra_h is now known as sora_h
<Zyclops> i've got some unit tests with a UDPSocket client that keeps hanging.. do i need to hang up the connection? there's nothing in the docs about it http://www.ruby-doc.org/stdlib-1.9.3/libdoc/socket/rdoc/UDPSocket.html
savage- has joined #ruby-lang
sepp2k has joined #ruby-lang
gix has quit [Ping timeout: 248 seconds]
seanstickle has quit [Quit: Nihil sub sole novum]
gix has joined #ruby-lang
jlawler has joined #ruby-lang
wallerdev has joined #ruby-lang
jtoy has joined #ruby-lang
bfreeman has joined #ruby-lang
jtoy has quit [Quit: jtoy]
jtoy has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
jtoy has quit [Client Quit]
igotnolegs has joined #ruby-lang
younker has joined #ruby-lang
KU0N has joined #ruby-lang
A124 has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
MrOrdinaire has joined #ruby-lang
mistym has quit [Remote host closed the connection]
brunocoelho has quit [Remote host closed the connection]
younker has quit [Ping timeout: 244 seconds]
rippa has joined #ruby-lang
igaiga has joined #ruby-lang
flebel has joined #ruby-lang
igaiga_ has joined #ruby-lang
MrOrdinaire has left #ruby-lang [#ruby-lang]
tenderlove has quit [Ping timeout: 265 seconds]
tRAS has joined #ruby-lang
sush24 has joined #ruby-lang
igaiga has quit [Ping timeout: 250 seconds]
ilyam has joined #ruby-lang
ilyam has quit [Client Quit]
tenderlove has joined #ruby-lang
acyed has quit [Read error: Connection reset by peer]
singpolyma has quit [Remote host closed the connection]
singpolyma has joined #ruby-lang
acyed has joined #ruby-lang
brianpWins has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
srbaker has joined #ruby-lang
WillMarshall has joined #ruby-lang
yxhuvud has joined #ruby-lang
<epitron> UDPSocket shouldn't hang unless you do something that blocks waiting for a packet, right?
<epitron> UDP is usually less hangy since it has a lot less state
<epitron> datagrams \o/
A124 has quit [Quit: Leaving.]
ruby has joined #ruby-lang
ruby has quit [Client Quit]
peppyheppy has joined #ruby-lang
ruby has joined #ruby-lang
srbaker has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
arooni-mobile has quit [Ping timeout: 245 seconds]
fgomez has quit [Remote host closed the connection]
graspee has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
heftig has quit [Quit: leaving]
butchanton has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
ruby has quit [Remote host closed the connection]
dalekurt has quit [Quit: Zzz...]
yannis has quit [Quit: yannis]
savage- has quit [Remote host closed the connection]
sush24 has quit [Quit: This computer has gone to sleep]
robbyoconnor has quit [Read error: Connection reset by peer]
savage- has joined #ruby-lang
robbyoconnor has joined #ruby-lang
|Vargas| has joined #ruby-lang
|Vargas| has quit [Changing host]
|Vargas| has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
TheHunter_1039 has quit [Quit: TheHunter_1039]
vesan has joined #ruby-lang
tRAS has joined #ruby-lang
butchanton has quit [Quit: Leaving.]
srbaker has joined #ruby-lang
krz has quit [Quit: krz]
vesan has quit [Read error: Connection reset by peer]
vesan has joined #ruby-lang
ryanf has quit [Quit: leaving]
zmack has joined #ruby-lang
zmack has quit [Remote host closed the connection]
kuon has joined #ruby-lang
kuon has quit [Remote host closed the connection]
cmaxw has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
wasnotrice is now known as zz_wasnotrice
postmodern has quit [Ping timeout: 246 seconds]
JohnBat26 has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
harukomoto has quit [Ping timeout: 240 seconds]
woollyams has quit [Ping timeout: 251 seconds]
ryanf has joined #ruby-lang
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
igaiga has joined #ruby-lang
vmoravec has joined #ruby-lang
igaiga_ has quit [Ping timeout: 244 seconds]
vesan has quit [Ping timeout: 248 seconds]
solars has joined #ruby-lang
dc5ala has joined #ruby-lang
workmad3 has joined #ruby-lang
dmwuw has joined #ruby-lang
<dmwuw> Hmm - what is this about? : (in IRB) q.rights[0].class -> AbstractRight BUT q.rights[0].class == AbstractRight -> false !!??
<dmwuw> I must be missing something!
<dmwuw> (Perhaps my brain?)
msaffitz has joined #ruby-lang
<Zyclops> how do you sort a hash in ruby 1.8.7?
<Zyclops> convert it to another structure?
workmad3 has quit [Read error: Operation timed out]
<dmwuw> IIRC, in pre-1.9, key ordering in hashes is not guaranteed anyway.
<ryanf> Zyclops: yeah, the enumerable methods on hashes generally return an array of two-element arrays
<ryanf> but I believe sort and sort_by are defined on hashes in 1.8
<ryanf> oh, just sort, not sort_by
<Zyclops> has an ordered hash class i can use
WillMarshall has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Banistergalaxy has joined #ruby-lang
dhruvasagar has joined #ruby-lang
srbartlett has joined #ruby-lang
<Zyclops> hmm
<Zyclops> that didn't work
<Zyclops> array.map {|hash| hash.keys.map(&:to_s).sort.map {|key| [key, hash[key]]} } << this does though
solars has quit [Read error: Operation timed out]
solars has joined #ruby-lang
lopin has joined #ruby-lang
seoaqua has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
tomzx has quit [Ping timeout: 252 seconds]
symm- has joined #ruby-lang
tRAS has quit [Ping timeout: 244 seconds]
msaffitz has quit [Quit: Computer has gone to sleep.]
postmodern has joined #ruby-lang
tRAS has joined #ruby-lang
bojicas has joined #ruby-lang
gamafranco has joined #ruby-lang
vesan has joined #ruby-lang
igotnolegs has quit [Quit: Computer has gone to sleep.]
andrew_ has quit [Remote host closed the connection]
nofxxxx has left #ruby-lang [#ruby-lang]
solars has quit [Read error: Operation timed out]
heftig has joined #ruby-lang
solars has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
Banistergalaxy has quit [Ping timeout: 246 seconds]
francisfish has joined #ruby-lang
heftig has quit [Ping timeout: 260 seconds]
heftig has joined #ruby-lang
igaiga has quit [Remote host closed the connection]
ryanf has quit [Quit: leaving]
sush24 has joined #ruby-lang
d3vic3 has quit [Quit: leaving]
Banistergalaxy has joined #ruby-lang
heftig has quit [Quit: leaving]
d3vic3 has joined #ruby-lang
sush24 has quit [Ping timeout: 244 seconds]
igaiga has joined #ruby-lang
<Zyclops> are udp packets using the ruby server usually split up into 512 byte packages?
tekin has joined #ruby-lang
Zyclops has left #ruby-lang [#ruby-lang]
peppyheppy has quit [Quit: peppyheppy]
igaiga_ has joined #ruby-lang
igaiga has quit [Ping timeout: 244 seconds]
heftig has joined #ruby-lang
hakunin has quit [Remote host closed the connection]
fserb has joined #ruby-lang
Z33K|Lux has quit [Ping timeout: 252 seconds]
adambeynon has joined #ruby-lang
MrOrdinaire has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
futurechimp has joined #ruby-lang
voker57 has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has left #ruby-lang [#ruby-lang]
kaiwren has joined #ruby-lang
MrOrdinaire has left #ruby-lang [#ruby-lang]
mssola has joined #ruby-lang
cdt has quit [Ping timeout: 246 seconds]
jxie has quit [Ping timeout: 245 seconds]
jxie has joined #ruby-lang
d3vic3 has quit [Ping timeout: 245 seconds]
toretore has joined #ruby-lang
d3vic3 has joined #ruby-lang
jarib has quit [Excess Flood]
jarib has joined #ruby-lang
banisterfiend has joined #ruby-lang
<banisterfiend> hi
woollyams has joined #ruby-lang
workmad3 has joined #ruby-lang
kain has quit [Quit: Sto andando via]
bojicas_ has joined #ruby-lang
bojicas has quit [Read error: Connection reset by peer]
krz has joined #ruby-lang
krz has quit [Client Quit]
krz has joined #ruby-lang
Kuukunen has quit [Remote host closed the connection]
mytrile has quit [Remote host closed the connection]
iosctr has quit [Quit: ...]
sora_h is now known as s0ra_h
nevynxxx has joined #ruby-lang
Kuukunen has joined #ruby-lang
cdt has joined #ruby-lang
fserb has quit [Quit: ttyl]
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
<andrewvos> hi!
diegoviola has joined #ruby-lang
diegovio1a has joined #ruby-lang
diegoviola has quit [Ping timeout: 244 seconds]
tbuehlmann has joined #ruby-lang
Eising has joined #ruby-lang
<Eising> Hey there. I have trouble spawning processes from Ruby. I'm spawning a shellscript with IO.popen, and that shell script has a "nohup command &" so should exit rather fast (it does so when I start it from shell). However, when I launch it from within my script, I can see from the ps output that the shellscript goes defunct and the ruby proccess goes into the wait loop with the actual thing being called from within the shell script that was supp
<andrewvos> Eising: Maybe send an enter press or something
Criztian has joined #ruby-lang
<andrewvos> send a \n?
<Eising> andrewvos: ugh, you think that is necessary?
<andrewvos> Eising: Well, yes I do.
<andrewvos> Eising: Just a guess though.
<heftig> Eising: see IO#close
<heftig> do you need to read output from whatever that shellscript forks?
diegovio1a is now known as diegoviola
<heftig> why are you using popen and not system?
<Eising> heftig: I'm reading the output from it, yes, but not from what the shellscript forks
<Eising> It's basically a quick wrapper that does a few checks, forks, then writes something along the lines of "process started succesfully" if it did
<Eising> I guess I /could/ actually just fork the ruby process, but I was unsure how that would work with Sinatra, phusion and all that jazz
<heftig> can you do those checks in ruby?
<Eising> easily
<heftig> checks;...; system("process &")
<heftig> popen is primarily for piping data from/to another process (or talking with an interactive process)
<Eising> right
<heftig> it won't do a wait() and will keep the pipes open until you close the object
<heftig> which is why you end up with a defunct process (zombie)
<Eising> ah, makes sense
dhruvasagar has quit [Ping timeout: 246 seconds]
<Eising> lemme do a quick test
igaiga_ has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
<heftig> system("process &") will do a double fork, so the process gets reparented to pid1
<heftig> so it's fire-and-forget
<Eising> for now, it will have to do. If I had unlimited time, I have sinatra serve the output line by line to the client, but I need this stuff done by Friday. Hooray for deadlines ;)
igaiga has joined #ruby-lang
igaiga has quit [Remote host closed the connection]
b1rkh0ff has joined #ruby-lang
srbaker has quit [Ping timeout: 256 seconds]
srbaker has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
vesan has joined #ruby-lang
<Eising> heftig: it doesn't seem to respect my & here. I'm going to try with a real fork
<Eising> and to be honest, I think it would work in general ruby. The problem here is that I run it through sinatra
nevynxxx has quit [Quit: Lost terminal]
krz has quit [Quit: krz]
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
neoesque has quit [Quit: Bye!]
musl has quit [Quit: WeeChat 0.3.8-rc2]
musl has joined #ruby-lang
mytrile has joined #ruby-lang
s0ra_h is now known as sora_h
hebz0rl has joined #ruby-lang
hebz0rl has quit [Read error: Connection reset by peer]
iosctr has joined #ruby-lang
<heftig> Eising: is this on windows?
<Eising> nope
<Eising> linux. But it's old ruby 1.8.7
rushed has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby-lang
TvL2386 has joined #ruby-lang
seoaqua has quit [Quit: Leaving]
bojicas_ has quit [Remote host closed the connection]
<Mon_Ouie> You can also fork { exec(…) }
<Mon_Ouie> (Plus you get the PID if needed)
gamafranco has left #ruby-lang [#ruby-lang]
<Eising> Mon_Ouie: thing is, since this is being served to a webserver, it needs to daemonize to work, I think
sush24 has joined #ruby-lang
ramonmaruko has quit [Remote host closed the connection]
<Eising> actually, I need to switch to ruby1.9 and see if Process.spawn does the trick... :/
<Mon_Ouie> I don't really get your point. fork creates a new process, exec replaces the current process with a new one by executing a command.
<Mon_Ouie> But you should switch to 1.9 anyway
futurechimp has quit [Read error: Operation timed out]
ramonmaruko has joined #ruby-lang
<Eising> Mon_Ouie: well, I figured the problem comes from Sinatra, since it waits for the child process to finish before it actually serves me anything
<Eising> does that make sense?
<Mon_Ouie> How would Sinatra even know you created a new process?
<Eising> well, it doesn't, of course
<Eising> hmm
<Eising> I'm confused
fgomez has joined #ruby-lang
<Mon_Ouie> If Sinatra doesn't know you created a process, it can't wait for it to end
sora_h is now known as s0ra_h
futurechimp has joined #ruby-lang
<Mon_Ouie> require 'sinatra'; get("/") { system("sleep 10 &"); "Hello world!" }
<Mon_Ouie> Doesn't wait 10 seconds before serving the page here
<Eising> hmm
<Eising> Mon_Ouie: allow me to hit myself with something hard then
<Eising> the problem was never sinatra, and it works just as it is supposed to do
<Eising> problem was I was running it through shotgun, that reloads ruby with every request, which is, to my understanding, impossible if a subprocess runs
fgomez has quit [Client Quit]
fgomez has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 265 seconds]
<Eising> or it may be because shotgun forks
dhruvasagar has joined #ruby-lang
<Eising> heftig, Mon_Ouie, thank you for your help.
futurechimp has quit [Ping timeout: 246 seconds]
futurechimp has joined #ruby-lang
cantonic has quit [Remote host closed the connection]
s0ra_h is now known as sora_h
igaiga has joined #ruby-lang
youngin has quit [Read error: No route to host]
ChloeD_ has left #ruby-lang [#ruby-lang]
tomb_ has joined #ruby-lang
youngin has joined #ruby-lang
bryancp has joined #ruby-lang
rohit has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
Axsuul has quit [Ping timeout: 265 seconds]
jlawler has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
jlawler has joined #ruby-lang
tomb_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
rohit has quit [Read error: Connection reset by peer]
cyndis has quit [Ping timeout: 250 seconds]
cyndis has joined #ruby-lang
flujan has joined #ruby-lang
<flujan> hi guys. I am using mail to send mail messages in ruby
<flujan> I need to connect to a Exchange server, and it is not working.
<flujan> How can I proceed? Do you know if mail support tis?
bryancp has joined #ruby-lang
<Tasser> flujan, you could use the exchange server as forwarder
graspee has left #ruby-lang [#ruby-lang]
tRAS has quit [Ping timeout: 265 seconds]
cyndis has quit [Ping timeout: 250 seconds]
<awwaiid> flujan, the exchange server at my work had to have smtp explicitly enabled to easily integrate
TvL2386 has quit [Quit: Ex-Chat]
<flujan> awwaiid: how so? I need to pass the need to the network admin.
<awwaiid> flujan: I don't know the specifics, unfortunately, as my own network admin set it up for us
ukwiz has joined #ruby-lang
cyndis has joined #ruby-lang
tRAS has joined #ruby-lang
postmodern has quit [Quit: Leaving]
<ukwiz> What is the difference between this channel and the ruby channel?
<rue> This is the Ruby channel.
<kalleth> The other ruby channel is also the Ruby channel, though.
<Mon_Ouie> This is the official one
<kalleth> and also has x2 of the users :P
willdrew has joined #ruby-lang
<kalleth> i'm sensing internet politics
<kalleth> honestly
<ukwiz> I suppose the question should really ask is: which is the better channel for a long time programmer to use when learning ruby
woollyams has joined #ruby-lang
<Mon_Ouie> You don't have to choose
<kalleth> ukwiz: just idle in both
<kalleth> like me
<kalleth> i'm oen of the cool kids
<flujan> awwaiid: I am stuck… The guy is demanding which configuration it need to perform…
gouthamvel has joined #ruby-lang
replore has joined #ruby-lang
mark_locklear has joined #ruby-lang
<awwaiid> flujan: google says..... that I don't know. But it sounds like it might be a 'send connector'. But I could be leading you astray for all I know... maybe the problem is elsewhere for you
<chris2> anyone familiar with amsterdam?
<rue> It’s a city in the Netherlands
<chris2> oh really? :P
<ddfreyne> chris2: a bit, yeah
<ddfreyne> why are you asking?
<chris2> how long does it take from the airport to the city?
<ddfreyne> it's very close. can't say for sure, but maybe 15 minutes by train?
<chris2> oh, great
<chris2> thats fine
<chris2> i arrive by 7pm and should be on the boat by 8pm
<ddfreyne> says 20 min here
<chris2> 20min train?
<ddfreyne> boat, the ferry?
<chris2> so a cab would be faster
<chris2> yes
<chris2> well, this github thing
<ddfreyne> i think that should work
LarryLv has joined #ruby-lang
<chris2> the last boat LEAVES at 8:30pm
<chris2> ok
<ddfreyne> where do you need to go specifically?
<ddfreyne> where's the github thing?
<chris2> good question :D
<ddfreyne> there are multiple ferries
<chris2> http://maps.google.nl/maps?q=52.367238,4.899859&ll=52.367303,4.899916&spn=0.001363,0.002296&num=1&t=m&z=19
<chris2> very central
<ddfreyne> you don't need a ferry to get there
<chris2> no, the boat starts there
<chris2> its a boat party
<ddfreyne> ah!
<ddfreyne> I was thinking you needed to catch the ferry near the station
<ddfreyne> a cab would be faster then
<chris2> yeah
gouthamvel has left #ruby-lang [#ruby-lang]
<ddfreyne> what is this github thing you're talking about?
<chris2> the boat party
<chris2> they sponsor it or something
<ddfreyne> ah, euruko
* ddfreyne won't be there :(
<chris2> too bda
<chris2> oh wow
<chris2> its only 2min from the hotel
<chris2> and 0.5min from the conference place :D
mytrile has quit [Remote host closed the connection]
<chris2> cab is apparently very expensive there
ryez has joined #ruby-lang
vesan has quit [Ping timeout: 248 seconds]
<ddfreyne> not sure how expensive. public transportation sure is a lot cheaper
<ddfreyne> I have taken the cab only once
<chris2> says 30-40€ on the web
<chris2> and the bus shuttle is 10.50€
<ddfreyne> wher edoes the bus shuttle take you?
<chris2> "to 10 big hotels in the city"
<ddfreyne> does it do the 10 hotels sequentially or are there parallel busses? :)
vesan has joined #ruby-lang
<chris2> The bus ride to Amsterdam takes about 25-40 minutes.
<chris2> hmhmh
<chris2> The train ride itself takes 15-20 minutes and costs €3.80.
<chris2> ill do that
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mistym has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
lele|2 has joined #ruby-lang
jxie has quit [Quit: leaving]
mistym has quit [Remote host closed the connection]
Codif has joined #ruby-lang
TheHunter_1039 has joined #ruby-lang
Codif has quit [Remote host closed the connection]
dasibre_ has quit [Remote host closed the connection]
Hakon|mbp has joined #ruby-lang
kaiwren has quit [Quit: kaiwren]
tekin has quit [Remote host closed the connection]
kaiwren has joined #ruby-lang
tekin has joined #ruby-lang
tekin has quit [Remote host closed the connection]
tekin has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
fromhet has joined #ruby-lang
fromhet has quit [Client Quit]
dalekurt has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
bglusman has joined #ruby-lang
mistym has joined #ruby-lang
woollyams has joined #ruby-lang
tomzx has joined #ruby-lang
apeiros_ has joined #ruby-lang
jperry2 has joined #ruby-lang
outoftime has joined #ruby-lang
bryancp has joined #ruby-lang
A124 has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
vesan has joined #ruby-lang
scampbell has joined #ruby-lang
Takia has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
Zeddy911 has joined #ruby-lang
hynkle has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
CodeBlock has quit [Quit: 2b||!2b]
<Zeddy911> Hi! Anyone used capybara-webkit? I am getting strange errors with it while selenium driver works well, but very slow
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
bryancp has quit [Remote host closed the connection]
tbuehlmann has quit []
<Zeddy911> anybody?
<andrewvos> Zeddy911: yes
rippa has quit [Quit: derp herp]
<andrewvos> Zeddy911: Error messages in a gist please
carloslopes has joined #ruby-lang
mdstunthamster has joined #ruby-lang
msaffitz has joined #ruby-lang
spuk has quit [Ping timeout: 260 seconds]
Asher has quit [Quit: Leaving.]
spuk has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
Takia has quit [Ping timeout: 245 seconds]
dv310p3r has joined #ruby-lang
<andrewvos> Zeddy911: lets see the step definition code
flujan has left #ruby-lang [#ruby-lang]
mistym has quit [Remote host closed the connection]
jnimety has joined #ruby-lang
jnimety has quit [Client Quit]
<Zeddy911> selenium works fine with that
tomzx has quit [Read error: Operation timed out]
<andrewvos> Zeddy911: Haven't seen this before
<andrewvos> Zeddy911: Are you doing this on windows?
<Zeddy911> nope, ubuntu 11.04
fgomez has quit [Ping timeout: 244 seconds]
doitdist_ has joined #ruby-lang
<andrewvos> Zeddy911: It should be setup for javascript_driver only I think
<andrewvos> Zeddy911: And also, label your features with @javascript if you need to
<andrewvos> Oh, you did.
<andrewvos> Not sure this will fix the issue though.
<Zeddy911> I might miss some ubuntu libs, but I've installed libqt4-dev
<Zeddy911> via apt-get
sockmonk has joined #ruby-lang
Defusal_ has quit [Quit: Quit message goes here]
Defusal has joined #ruby-lang
<chris2> echo "a=5" | ruby -e "eval(gets, binding); puts eval('a', binding)"
<chris2> how does one do this in 1.9?
fgomez has joined #ruby-lang
<Mon_Ouie> Keep the same binding object
<chris2> yes
<chris2> thanks
<chris2> kinda silly :P
stamina has joined #ruby-lang
mistym has joined #ruby-lang
yannis has joined #ruby-lang
igaiga has quit [Remote host closed the connection]
doitdist_ has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 244 seconds]
Nowaker has quit [Quit: ru]
tomb__ has joined #ruby-lang
krohrbaugh has joined #ruby-lang
replore has quit [Remote host closed the connection]
gsav has joined #ruby-lang
Zeddy911 has quit []
injekt has joined #ruby-lang
kyrylo has quit [Read error: No route to host]
Sqr has joined #ruby-lang
perryh is now known as perryh_away
heftig has quit [Quit: leaving]
tcopp has joined #ruby-lang
kyrylo has joined #ruby-lang
fjfish has joined #ruby-lang
francisfish has quit [Read error: Connection reset by peer]
<chris2> anyone use yard-doc-core? it produces only empty output here
soahccc is now known as soahccc`
bryancp has joined #ruby-lang
tomb__ has quit [Quit: Computer has gone to sleep.]
diegoviola has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
sush24 has joined #ruby-lang
headius has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
fgomez has quit [Ping timeout: 250 seconds]
rippa has joined #ruby-lang
injekt has quit [Quit: Lost terminal]
sush24 has joined #ruby-lang
d3vic3 has quit [Ping timeout: 245 seconds]
pabloh has joined #ruby-lang
banisterfiend has quit [Ping timeout: 245 seconds]
Sqr has quit [Ping timeout: 245 seconds]
drollwit has joined #ruby-lang
d3vic3 has joined #ruby-lang
sspiff has joined #ruby-lang
sspiff has joined #ruby-lang
|Vargas| has quit [Quit: ...]
sush24 has quit [Ping timeout: 265 seconds]
enebo has joined #ruby-lang
KU0N has quit [Quit: Linkinus - http://linkinus.com]
arooni-mobile has joined #ruby-lang
jxie has joined #ruby-lang
d3vic3 has quit [Ping timeout: 244 seconds]
sush24 has joined #ruby-lang
d3vic3 has joined #ruby-lang
tomb__ has joined #ruby-lang
gouthamvel has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
gouthamvel has left #ruby-lang [#ruby-lang]
<zzak> whats with the spam on ruby-core?
ryez_ has joined #ruby-lang
vmoravec has quit [Quit: Leaving]
<andrewvos> spam?
andrew_ has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 244 seconds]
JohnBat26 has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
zz_chrismcg is now known as chrismcg
tomb__ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
headius has quit [Quit: headius]
kaiwren has quit [Quit: kaiwren]
imajes has quit [Excess Flood]
hakunin has quit [Remote host closed the connection]
tRAS has quit [Ping timeout: 252 seconds]
imajes has joined #ruby-lang
elux has joined #ruby-lang
savage- has quit [Remote host closed the connection]
tRAS has joined #ruby-lang
flebel has quit [Ping timeout: 250 seconds]
flebel has joined #ruby-lang
bglusman has quit [Remote host closed the connection]
msaffitz has quit [Quit: Computer has gone to sleep.]
tRAS has quit [Client Quit]
solars has quit [Ping timeout: 240 seconds]
Guest53444 has quit [Read error: Operation timed out]
spectra has quit [Ping timeout: 245 seconds]
rubznOOb has joined #ruby-lang
yellow5 has quit [Ping timeout: 248 seconds]
rubznOOb has quit [Client Quit]
levicole has quit [Ping timeout: 272 seconds]
blowmage has quit [Ping timeout: 252 seconds]
snk has quit [Ping timeout: 244 seconds]
freedrull has quit [Ping timeout: 244 seconds]
adgar_ has quit [Ping timeout: 244 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
andrew_ has quit [Remote host closed the connection]
andrew_ has joined #ruby-lang
cmaxw has quit [Quit: cmaxw]
jlawler has quit [Quit: Leaving.]
Banistergalaxy has quit [Ping timeout: 248 seconds]
bglusman has joined #ruby-lang
msaffitz has joined #ruby-lang
bglusman has quit [Remote host closed the connection]
headius has joined #ruby-lang
fgomez has joined #ruby-lang
drollwit has quit [Remote host closed the connection]
peppyheppy has joined #ruby-lang
soahccc` is now known as soahccc
msaffitz has quit [Client Quit]
wasnotrice is now known as zz_wasnotrice
thone has joined #ruby-lang
thone_ has quit [Read error: Operation timed out]
ryez_ has quit [Ping timeout: 245 seconds]
mdstunthamster has quit [Quit: Linkinus - http://linkinus.com]
drollwit has joined #ruby-lang
mr_edgecase has joined #ruby-lang
<mr_edgecase> I don't need to send mail or receive mail, but I need to parse it... What Class?
<mr_edgecase> Ruby 1.9.3
<erikh> you probably want the mail gem.
savage- has joined #ruby-lang
solars has joined #ruby-lang
wallerdev has joined #ruby-lang
<erikh> Mail::Message is a pretty decent mail parser if I remember correctly
<mr_edgecase> is Mail::Message provided by the mail gem?
<mr_edgecase> oka..thanks
mr_edgecase has left #ruby-lang [#ruby-lang]
drollwit has quit [Remote host closed the connection]
fjfish has quit [Remote host closed the connection]
scampbell has quit [Quit: Ex-Chat]
brianpWins has quit [Quit: brianpWins]
rushed has quit [Quit: rushed]
rushed has joined #ruby-lang
apeiros_ has joined #ruby-lang
jtoy has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
segy has quit [Ping timeout: 252 seconds]
tonesfrommars has quit [Quit: KVIrc 4.0.1 Insomnia http://www.kvirc.net/]
andrew_ has quit [Remote host closed the connection]
segy has joined #ruby-lang
LarryLv has quit [Ping timeout: 244 seconds]
tr-808 has quit [Ping timeout: 244 seconds]
chrismcg is now known as zz_chrismcg
heftig has joined #ruby-lang
bglusman has joined #ruby-lang
butchanton has joined #ruby-lang
AlHafoudh has joined #ruby-lang
AlHafoudh has quit [Client Quit]
lopin has quit []
scampbell has joined #ruby-lang
symm- has quit [Ping timeout: 252 seconds]
bfreeman has quit [Quit: bfreeman]
AlHafoudh has joined #ruby-lang
bglusman has quit [Remote host closed the connection]
dr_bob has joined #ruby-lang
singpolyma has quit [Quit: Lost terminal]
cyndis has quit [Ping timeout: 251 seconds]
lsegal has joined #ruby-lang
AlHafoudh has quit [Client Quit]
cyndis has joined #ruby-lang
<crankharder> why does 2.385.round(2) == 2.38 ? and not 2.39?
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
<bnagy> nfi, floats are retarded
<apeiros_> crankharder: you should look what number you really have
<apeiros_> hint, it's not 2.38500000000…
<yxhuvud> Hmm. do IO#each_line read the whole thing into memory?
<erikh> use BigDecimal.
<apeiros_> yxhuvud: I don't think so. you'd have to check the source, though
havenn has joined #ruby-lang
<erikh> or rational.
<erikh> (which is what BigDecimal uses underneath the hood)
<bnagy> yxhuvud: (no)
<yxhuvud> good
kaiwren has joined #ruby-lang
<bnagy> yxhuvud: unless you have no linebreaks :)
headius has quit [Quit: headius]
bglusman has joined #ruby-lang
<erikh> heh
<erikh> "long string is looooooooooooooong"
tr-808 has joined #ruby-lang
mrsolo has joined #ruby-lang
<Defusal> hmm
<Defusal> what is the correct way to redirect some data to the stdin of a fork { }
brianpWins has joined #ruby-lang
<erikh> hrm
<erikh> you might want to strace it and see if CLOEXEC is set on stdin
<erikh> I'm not 100% sure, but if that's the case, you'll need to dup the file descriptor before you fork, otherwise it won't be opened
<erikh> although to be honest, you should use a named pipe
scampbell has quit [Remote host closed the connection]
singpolyma has joined #ruby-lang
<Defusal> erikh, a named pipe? is there no way to use a standard IO.pipe like i do to redirect stdout and stderr from fork { }
tr-808 has quit [Ping timeout: 265 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
<crankharder> apeiros_: how do I see what number I really have?
<Defusal> i tried creating a pipe, writing to it and then setting $stdin = read_side_of_pipe in the forked block, but that does not work
dtang_ has quit [Quit: dtang_]
<apeiros_> crankharder: "%.50f" % 2.385 # => "2.38499999999999978683717927196994423866271972656250"
<crankharder> computers are stoopid
sora_h is now known as s0ra_h
dtang has joined #ruby-lang
<Defusal> ah i see, looks like i need to set the redirections on the exec() call inside the forked block
<Defusal> exec probably overrides the streams
x0F_ has joined #ruby-lang
x0F_ has joined #ruby-lang
x0F_ has quit [Changing host]
x0F has quit [Disconnected by services]
x0F_ is now known as x0F
flak has joined #ruby-lang
rippa has quit [Ping timeout: 246 seconds]
arooni-mobile has joined #ruby-lang
flak is now known as Guest48874
ridders24 has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 246 seconds]
zmack has joined #ruby-lang
hynkle has quit [Read error: Connection reset by peer]
riffraff has joined #ruby-lang
cyndis has quit [Ping timeout: 250 seconds]
Slackwise__ has left #ruby-lang [#ruby-lang]
ruby has joined #ruby-lang
msaffitz has joined #ruby-lang
soahccc is now known as soahccc`
tomb__ has joined #ruby-lang
benanne has joined #ruby-lang
<whitequark> Defusal: also
krz has joined #ruby-lang
crackity_jones has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<erikh> you could solve 99% of your problems before you ever come in here if you'd learn to use strace
<whitequark> you can use IO.dup2
<whitequark> just as you can in plain C
TheDracle has quit [Ping timeout: 244 seconds]
ruby has quit [Client Quit]
Joeysface has joined #ruby-lang
<erikh> yep
hynkle has joined #ruby-lang
cyndis has joined #ruby-lang
cdt has quit [Quit: Ex-Chat]
crackity_jones has joined #ruby-lang
TheDracle has joined #ruby-lang
crackity_jones has quit [Client Quit]
<Defusal> whitequark, im not sure how that would help
<Defusal> but its working fine now, so theres no issue
<Defusal> erikh, also, not quite that much, but im sure certain issues
<Defusal> i do use strace, but not to try figure out how to go about doing something, as i fail to see how it would be able to help me in that case
<Defusal> maybe you partially misunderstood what i was trying to do
cyndis has quit [Ping timeout: 250 seconds]
cyndis has joined #ruby-lang
Joeysface has quit [Ping timeout: 248 seconds]
crackity_jones has joined #ruby-lang
ukwiz has quit [Quit: Leaving]
FiXato has quit [Read error: Connection reset by peer]
FiXato has joined #ruby-lang
rushed has quit [Quit: rushed]
peppyheppy has quit [Quit: peppyheppy]
ConstantineXVI has joined #ruby-lang
ryez_ has joined #ruby-lang
tr-808 has joined #ruby-lang
zmack has quit [Remote host closed the connection]
kaiwren has quit [Quit: kaiwren]
cmaxw has joined #ruby-lang
drollwit has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
tr-808 has quit [Ping timeout: 250 seconds]
Taranis has quit [Quit: brb]
drollwit has quit [Ping timeout: 244 seconds]
Taranis has joined #ruby-lang
drollwit has joined #ruby-lang
peppyheppy has joined #ruby-lang
imperator has joined #ruby-lang
srbaker has joined #ruby-lang
bfreeman has joined #ruby-lang
Guest48874 has quit [Quit: Changing server...]
drollwit has quit [Remote host closed the connection]
achiu has joined #ruby-lang
rippa has joined #ruby-lang
singpolyma has quit [Ping timeout: 260 seconds]
tr-808 has joined #ruby-lang
msaffitz has quit [Ping timeout: 244 seconds]
macmartine has joined #ruby-lang
wmoxam has joined #ruby-lang
workmad3 has joined #ruby-lang
IPGlider has joined #ruby-lang
tbuehlmann has joined #ruby-lang
msaffitz has joined #ruby-lang
blowmage has joined #ruby-lang
spectra has joined #ruby-lang
adgar has joined #ruby-lang
tr-808 has quit [Ping timeout: 260 seconds]
rmascarenhas has joined #ruby-lang
levicole has joined #ruby-lang
yellow5 has joined #ruby-lang
gouthamvel has joined #ruby-lang
tr-808 has joined #ruby-lang
Axsuul has joined #ruby-lang
freedrull has joined #ruby-lang
steez has joined #ruby-lang
snk_ has joined #ruby-lang
steez is now known as Guest62484
bryancp has quit [Remote host closed the connection]
tr-808 has quit [Ping timeout: 250 seconds]
snk_ is now known as snk
ridders24 has quit [Read error: Connection reset by peer]
bryancp has joined #ruby-lang
futurechimp has quit [Quit: Leaving]
arooni-mobile has joined #ruby-lang
singpolyma has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
tomb__ has quit [Quit: Computer has gone to sleep.]
zz_wasnotrice is now known as wasnotrice
tr-808 has joined #ruby-lang
peppyheppy has quit [Quit: peppyheppy]
tr-808 has quit [Ping timeout: 252 seconds]
tr-808 has joined #ruby-lang
banisterfiend has joined #ruby-lang
<banisterfiend> drbrain: pinig
<banisterfiend> ping*
harukomoto has joined #ruby-lang
gregf has quit [Quit: WeeChat 0.3.7]
replore has joined #ruby-lang
<sockmonk> agh. Why did ruby 1.9.3 have to change the api for Net::HTTP and URI??
srbaker has quit [Quit: Computer has gone to sleep.]
elux has quit [Quit: Bye!]
<deryl> its called 'evolution'
tomb__ has joined #ruby-lang
tomb__ has quit [Client Quit]
* apeiros_ suppresses a religious joke
imperator has quit [Quit: Leaving]
<deryl> hah
peppyheppy has joined #ruby-lang
Criztian has quit [Ping timeout: 246 seconds]
<sockmonk> ah yes. why wouldn't I want to learn a new api to rewrite working code just to take advantage of a minor point upgrade?
jmontross has joined #ruby-lang
tjadc has joined #ruby-lang
<apeiros_> ruby doesn't do semantic versioning
<apeiros_> the thing that you'd consider a point-upgrade are actually patch-levels
Criztian has joined #ruby-lang
dv310p3r has quit [Ping timeout: 245 seconds]
<apeiros_> having said that, I think ruby should also just drop the 1 in front. we're now at ruby 9.3!
<sockmonk> it worked for solaris!
dv310p3r has joined #ruby-lang
<apeiros_> and java
<sockmonk> is there a 1.9.3 changelog? I thought I had read a summary somewhere that at least hinted there weren't any big changes from 1.9.2
<apeiros_> iirc there's NEWS and CHANGELOG in the source
akahn_ has joined #ruby-lang
kaiwren has joined #ruby-lang
kaiwren has quit [Client Quit]
tekin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
akahn has quit []
akahn_ has left #ruby-lang [#ruby-lang]
dalekurt has quit [Quit: Zzz...]
stayarrr has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
benanne has quit [Quit: kbai]
fserb has joined #ruby-lang
dhruvasagar has joined #ruby-lang
fserb has quit [Client Quit]
cmaxw has quit [Quit: cmaxw]
ridders24 has joined #ruby-lang
replore has quit [Remote host closed the connection]
workmad3_ has joined #ruby-lang
Codif has joined #ruby-lang
<erikh> sockmonk: the big changes were a slightly cleaner source tree, performance and threading
<erikh> to be 10k ft view
macmartine has quit [Quit: macmartine]
<sockmonk> TBH, most of my grumpiness is about having my sort-of manager decide now's a great time to upgrade, in the middle of a code release, because "nothing major changed"
<sockmonk> that and still smarting from the pain of 1.8.7 -> 1.9.2
<erikh> we're doing it because we're aggressively hitting limits with 1.9.2
fayimora has joined #ruby-lang
<erikh> you'll see nothing of note with 1.9.3 changes other than it's a fuckton faster
<erikh> it's a good move.
<sockmonk> in the long run, sure. but it does require updating code to keep up with api changes
<sockmonk> and we aren't seeing actual performance problems with 1.9.2, just the possibility of performance problems someday
<erikh> there are no high level API changes that I know of
<erikh> C extensions? yes.
workmad3 has quit [Ping timeout: 246 seconds]
<erikh> ruby-debug, for example, will probably not work with 1.9.3
workmad3_ has quit [Ping timeout: 252 seconds]
<erikh> but ruby-debug gets its hooks very deep
TheDracle has quit [Read error: Operation timed out]
dhruvasagar has quit [Quit: Lost terminal]
<apeiros_> sockmonk: hm, the move from 1.8 to 1.9 was mostly painless. only hurt was encodings.
<erikh> he's talking about 1.9.2 -> 1.9.3
<erikh> basically an interpreter upgrade.
<sockmonk> net/http seems to have changed.
<erikh> well certain packages have been upgraded
<apeiros_> erikh: not just - I was refering to his "still smarting from the pain of 1.8.7 -> 1.9.2"
TheDracle has joined #ruby-lang
<erikh> aye.
<erikh> 1.9.3 is worth it
<erikh> really.
<erikh> IMO it's the best release of ruby I've ever used.
<sockmonk> for some still unknown value of "it"
wasnotrice is now known as zz_wasnotrice
akahn has joined #ruby-lang
Codif has quit [Remote host closed the connection]
<mistergibson> in 1.9.3 : does it deallocate heaps with only free slots in them?
JohnBat26 has joined #ruby-lang
peppyheppy has quit [Quit: peppyheppy]
Asher has joined #ruby-lang
harukomoto has quit [Ping timeout: 256 seconds]
alindeman has quit [Ping timeout: 240 seconds]
Guest62484 has left #ruby-lang [#ruby-lang]
steez has joined #ruby-lang
arooni-mobile__ has quit [Quit: Leaving]
arooni-mobile has quit [Quit: Leaving]
fayimora has quit [Ping timeout: 264 seconds]
Cykey has joined #ruby-lang
arooni-mobile has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
boringusername has joined #ruby-lang
cmaxw has joined #ruby-lang
riffraff has quit [Quit: Leaving]
gouthamvel has quit [Ping timeout: 246 seconds]
zmack has joined #ruby-lang
drollwit has joined #ruby-lang
bojicas has joined #ruby-lang
freedrull has left #ruby-lang [#ruby-lang]
freedrull has joined #ruby-lang
<freedrull> is there something like NUM2INT for c extensions that will convert the value to NULL if it is nil? or i guess i could just do that myself...
anjen has joined #ruby-lang
drollwit has quit [Ping timeout: 252 seconds]
Swimming_Bird has quit [Ping timeout: 244 seconds]
bryancp has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
freedrull has left #ruby-lang [#ruby-lang]
dv310p3r has quit [Ping timeout: 246 seconds]
sspiff has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby-lang
anjen has quit [Quit: anjen]
tenderlove has joined #ruby-lang
dalekurt has joined #ruby-lang
stamina has quit [Quit: Lost terminal]
mark_locklear has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
sspiff has joined #ruby-lang
enebo has quit [Quit: enebo]
cmaxw has quit [Quit: cmaxw]
bojicas_ has joined #ruby-lang
drollwit has joined #ruby-lang
fserb has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
bojicas__ has joined #ruby-lang
bojicas has quit [Remote host closed the connection]
JohnBat26 has quit [Ping timeout: 246 seconds]
fserb has quit [Client Quit]
francisfish has joined #ruby-lang
jmartirano has joined #ruby-lang
sspiff has quit [Ping timeout: 252 seconds]
<jmartirano> Anyone have experience restoring the system ruby on osx?
<jmartirano> I've tried an upgrade of xcode which restored Ruby.framework however there are some problems with it
<jmartirano> for example: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -e 'p require "ostruct"'
<jmartirano> from -e:1
<jmartirano> -e:1:in `require': no such file to load -- ostruct (LoadError)
bojicas_ has quit [Ping timeout: 252 seconds]
fayimora has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
francisfish has quit [Remote host closed the connection]
tomb__ has joined #ruby-lang
<drbrain> jmartirano: sounds like you didn't restore the standard library
<jmartirano> stdlib is there but not all of it apparently
<jmartirano> should an xcode installation include a full install of the standard lib?
arooni-mobile has joined #ruby-lang
<Tasser> jmartirano, #mac probably
<jmartirano> ok im going to uninstall xcode and reinstall, but seems like a desperate move
cdt has joined #ruby-lang
willdrew has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
dv310p3r has joined #ruby-lang
cdt has quit [Ping timeout: 246 seconds]
cirwin has joined #ruby-lang
fserb has joined #ruby-lang
<arooni-mobile> if i try to pass a @instance_var that hasnt been set yet... will its value just be nil?
<cirwin> arooni-mobile: yup
<arooni-mobile> cirwin, but ruby will allow me to pass that var that hasnt been declared or initialized before?
<cirwin> arooni-mobile: yup
<arooni-mobile> thanks
tenderlo_ has joined #ruby-lang
<cirwin> doesn't work for @@class_vars, but you never want to use them anyway, so that's fine
bojicas__ has quit [Remote host closed the connection]
S1kx has quit [Ping timeout: 250 seconds]
tenderlove has quit [Ping timeout: 272 seconds]
hakunin has quit [Read error: Connection reset by peer]
S1kx has joined #ruby-lang
S1kx has joined #ruby-lang
S1kx has quit [Changing host]
hakunin has joined #ruby-lang
horseman has joined #ruby-lang
rmascarenhas has quit [Quit: leaving]
dejongge has joined #ruby-lang
horseman has left #ruby-lang [#ruby-lang]
banisterfiend is now known as asdfasdfas
banisterfiend has joined #ruby-lang
<banisterfiend> phew
asdfasdfas has quit [Quit: Page closed]
yxhuvud has quit [Ping timeout: 244 seconds]
jperry2 has quit [Ping timeout: 244 seconds]
krz has quit [Read error: Connection reset by peer]
krz has joined #ruby-lang
Swimming_Bird has joined #ruby-lang
freedrull has joined #ruby-lang
msaffitz has joined #ruby-lang
<andrewvos> Someone play Diablo 3 with me!
<banisterfiend> andrewvos: you playing on mac or pc?
<apeiros_> andrewvos: damit!
<apeiros_> if I had packed already, I would
<apeiros_> but still gotta pack my stuff for euruko :(
<apeiros_> reminds me that I should probably start doing that… 23.00 already :)
woollyams has joined #ruby-lang
<andrewvos> banisterfiend: mac air
<banisterfiend> andrewvos: cool and it works ok? im thinking about getting it
<banisterfiend> but i only have the 2 gig ram model air so it's probably not going to work so well
<andrewvos> banisterfiend: Yeah it does! Also, the cool thing is that it turns my Macbook Air into a heater. So, that's good too.
<lianj> in the summer?
<banisterfiend> andrewvos: are the settings on low though? or you can have the settings fairly high?
<andrewvos> banisterfiend: All settings on the lowest
<andrewvos> ok Diablo 3 time
peppyheppy has joined #ruby-lang
<banisterfiend> cya
cmaxw has joined #ruby-lang
carloslopes has quit [Quit: Leaving]
bryancp has quit [Remote host closed the connection]
hakunin has quit [Read error: Connection reset by peer]
stamina has joined #ruby-lang
<wmoxam> ugh, I want Diablo 3 but only have a Linux box to play it on
<wmoxam> and while playable it's not installable on Linux :(
dv310p3r has quit [Ping timeout: 246 seconds]
hynkle has quit [Quit: hynkle]
dv310p3r has joined #ruby-lang
<lianj> wine appdb says there are patches
dr_bob has quit [Read error: Connection reset by peer]
peppyheppy has quit [Quit: peppyheppy]
tcopp has left #ruby-lang [#ruby-lang]
<wmoxam> lianj: yeah, you can patch and do a custom Wine compile
<wmoxam> :/
gregf has joined #ruby-lang
<lianj> funny though that its the installer and not the game which isnt working :D
<wmoxam> yeah
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
<wmoxam> Blizzard stuff tends to work well under Wine
<wmoxam> Sc2 works perfectly
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby-lang
peppyheppy has joined #ruby-lang
erics has joined #ruby-lang
kyrylo has quit [Ping timeout: 246 seconds]
<drbrain> talking about playing games on Wine makes me want to try to get MOO2 to work again
<wmoxam> drbrain: winehq reports that it is platnum (ie: works perfectly)
krohrbaugh has quit [Read error: Connection reset by peer]
<drbrain> wmoxam: last time I tried (some many years ago) it did not work
<wmoxam> drbrain: they actually recommend to play on dosbox instead
bglusman has quit [Remote host closed the connection]
macmartine has joined #ruby-lang
Skif has quit [Ping timeout: 240 seconds]
bglusman has joined #ruby-lang
<drbrain> wmoxam: I wish the comment was dated
rhodee has joined #ruby-lang
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
<wmoxam> "With wine 1.3.30 this game works considerably well for the first time"
arooni-mobile has quit [Ping timeout: 256 seconds]
<drbrain> wmoxam: thanks
sockmonk has quit [Ping timeout: 260 seconds]
<drbrain> homebrew has wine 1.4
<wmoxam> yeah
<mistym> drbrain: brew versions if you want to downgrade
<wmoxam> that's the most recent stable version
<wmoxam> I think 1.3 was the dev version for 1.4
<wmoxam> as 1.5 is now the dev version
<mistym> Yeah, it follows the classic even/odd stable/unstable branch pattern
<mistym> wine seems like it's getting pretty impressive these days. I was looking into Guild Wars 2 since I'm not going to be at my Windows box over part of the beta event, and apparently it runs flawlessly.
<wmoxam> mistym: yeah, it's gotten really good since I last looked at it
<wmoxam> It runs TF2 reasonably well, and HL and Portal are pretty much perfect
bglusman has quit [Ping timeout: 246 seconds]
<wmoxam> AFAICT the settings I run at are slightly lower then what they would be on a Windows box
Hakon|mbp has quit [Quit: Leaving...]
solars has quit [Ping timeout: 256 seconds]
b1rkh0ff has quit [Ping timeout: 260 seconds]
Criztian has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby-lang
arooni-mobile has joined #ruby-lang
toretore has quit [Quit: Leaving]
tomb__ has quit [Read error: Connection reset by peer]
tomb__ has joined #ruby-lang
<drbrain> I've been playing some Civ V, and while it's nice, it's no MOO2
wmoxam has quit [Quit: leaving]
Criztian has joined #ruby-lang
b1rkh0ff has joined #ruby-lang
<drbrain> in MOO2 you can capture an enemy planet then … replace its citizens with your own
rhodee has left #ruby-lang [#ruby-lang]
mistym has quit [Remote host closed the connection]
<drbrain> in Civ V you can only raze the city, which means you can't reuse the conquered infrastructure ☹
mssola has quit [Quit: Konversation terminated!]
ridders24 has quit [Ping timeout: 240 seconds]
dejongge has quit [Quit: Leaving.]
stayarrr has quit [Quit: Linkinus - http://linkinus.com]
<whitequark> anyone could suggest a better way of building a Hash from an array of k/v pairs like this: [k1,v1, k2,v2]
<whitequark> erm, I mean [[k1,v1], [k2,v2]]
<whitequark> e.g. as a result of #map or similar stuff
<whitequark> I've been doing Hash[*arr.flatten] for ages, but this just feels wrong
<bougyman> what's wrong with it?
<whitequark> simple
<bougyman> simple is right, not wrong.
<whitequark> 1.9.3p194 :001 > p(*[1]*8000000)
<whitequark> SystemStackError: stack level too deep
<whitequark> it's dependent on system stack depth
<bougyman> oh you can break it, sure.
<whitequark> I did break it accidentally when I wasn't expecting that
<whitequark> so, yes, I think it's generally wrong
<whitequark> such a simple transformation shouldn't fail randomly
<whitequark> (dependent on stack depth = random)
<bougyman> Hash[[[:k1, :v1], [:k2, :v2]]]
<bougyman> => {:k1=>:v1, :k2=>:v2}
<cirwin> whitequark: each_with_object({}) do |(k,v),h| h[k] =v; end
<bougyman> isn't that what you want?
<whitequark> bougyman: exactly. thanks a lot.
dv310p3r has quit [Ping timeout: 252 seconds]
<whitequark> cirwin: your suggestion can come in handy in other circumstances, thanks
<whitequark> that's a generalized form of #reduce, right?
<cirwin> I'd say specialized, but yes
woollyams has quit [Quit: Computer has gone to sleep.]
peppyheppy has quit [Quit: peppyheppy]
tomb__ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
arooni-mobile has quit [Ping timeout: 246 seconds]
tyfighter has joined #ruby-lang
zmack has quit [Remote host closed the connection]
Muz has joined #ruby-lang
Axsuul has quit [Ping timeout: 252 seconds]
Defusal has quit [Quit: brb]
arooni-mobile has joined #ruby-lang
fayimora_ has joined #ruby-lang
Axsuul has joined #ruby-lang
Defusal has joined #ruby-lang
Defusal has quit [Changing host]
Defusal has joined #ruby-lang
fayimora has quit [Ping timeout: 264 seconds]
fayimora_ is now known as fayimora
mrc has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
achiu has quit [Quit: WeeChat 0.3.7]
mistym has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
drollwit has quit [Remote host closed the connection]
mrc has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mrck has joined #ruby-lang
mrck has quit [Remote host closed the connection]
mrck has joined #ruby-lang
apeiros_ has quit [Ping timeout: 256 seconds]
tomb__ has joined #ruby-lang
drollwit has joined #ruby-lang
benanne has joined #ruby-lang
drollwit has quit [Remote host closed the connection]
mtmcfarl has joined #ruby-lang
postmodern has joined #ruby-lang
benanne has quit [Quit: kbai]
tomb__ has quit [Quit: Computer has gone to sleep.]
mrsolo has left #ruby-lang ["Leaving"]
chendo_ has quit [Ping timeout: 265 seconds]
mrck has quit [Remote host closed the connection]
heftig has quit [Ping timeout: 260 seconds]
woollyams has joined #ruby-lang
dv310p3r has joined #ruby-lang
mtmcfarl has quit [Quit: Page closed]
srbartlett has joined #ruby-lang
<cirwin> anyone know why TCPSocket.gethostbyname() would take just over exactly 5 seconds for some hosts? (neither 'dig' nor 'host' take a significant length of time)
<drbrain> cirwin: what OS?
<whitequark> cirwin: strace
<whitequark> and it's something with your DNS settings (obviously) which causes the request to time out
<drbrain> cirwin: on OS X, I'd blame dnssd
<cirwin> this is ubuntu
tomb__ has joined #ruby-lang
<drbrain> AFAIK, neither dig nor host use resolv()
<cirwin> whitequark: I don't know why ruby would use different DNS to 'host' or 'dig' though
<cirwin> ah ok
<whitequark> cirwin: use strace+wireshark/tcpdump
<whitequark> that'll make it clear
<whitequark> wireshark may be easier
<whitequark> I'd start with it
cmaxw has quit [Quit: cmaxw]
<erikh> drbrain: hello friend. do the binstubs fork?
<erikh> trying to debug an upstart issue
<drbrain> erikh: no, they load
<erikh> ok, that's what I thought.
<erikh> thanks!
<erikh> chef-client in -d is being very pissy with upstart's double-fork detection
IPGlider has quit []
cmaxw has joined #ruby-lang
heftig has joined #ruby-lang
macmartine has quit [Quit: macmartine]
heftig_ has joined #ruby-lang
heftig_ has quit [Client Quit]
dv310p3r has quit [Ping timeout: 246 seconds]
peppyheppy has joined #ruby-lang
dv310p3r has joined #ruby-lang
igaiga has joined #ruby-lang
tomzx has joined #ruby-lang
Axsuul has quit [Ping timeout: 248 seconds]
<cirwin> whitequark: so, interestingly nothing really shows up in strace; but in wireshark it's obvious that something is wrong: http://jelzo.com/stuff/wtf-dns.png. For some reason it ignores the first DNS response (I guess because the in-addr.arpa lookup fails). I've also got no idea what the MDNS calls are...
warreng has joined #ruby-lang
<warreng> i'm using a gem that creates a global module called Twitter... that module is conflicting with a LinkedAccount::Twitter class I already have... is there a way to sorta wrap a gem in a module? so that gem thinks it's creating Twitter but really it's already inside a Foo namespace so it's really creating Foo::Twitter ?
rmascarenhas has joined #ruby-lang
<cirwin> warreng: you can manually edit the gem files... but no
<warreng> module Foo; gem 'twitter'; end <-- wouldn't work ?
<cirwin> nope
<warreng> hm, can i use some ruby magic to move the module after load time? meta-programming-style?
workmad3 has quit [Ping timeout: 246 seconds]
Axsuul has joined #ruby-lang
<cirwin> warreng: yes, though it's not very reliable
<drbrain> cirwin: MDNS == Multicast DNS == bonjour == dnssd and is probably why you see the 5s delay
<cirwin> you can refer to the toplevel Twitter as ::Twitter if you need
erics has quit [Remote host closed the connection]
Skif has joined #ruby-lang
<warreng> that doesn't work
* cirwin tries killing the avahi-daemon
dv310p3r has quit [Ping timeout: 246 seconds]
<warreng> it's actually the other class that's the problem... when i refer to LinkedAccount::Twitter, it gives a warning about "toplevel constant" and gives the wrong module
<warreng> even as i explicitly specify the LinkedAccount:: prefix
<cirwin> warreng: that normally means that you haven't loaded the file that defines LinkedAccount::Twitter properly
<warreng> right, except i have...
<cirwin> are you using rails autoloader or something?
<warreng> well yes... but i also explicilty added a require before a bunch of other stuff
<cirwin> ok
<warreng> is the part that blows me away
<cirwin> drbrain: ok, so that does resolve it
* cirwin wonders what is using the avahi stuff; and why ruby is trying to use it too
<drbrain> cirwin: resolv(3) uses avahi stuff
dv310p3r has joined #ruby-lang
<drbrain> cirwin: and ruby uses resolve(3)
<drbrain> -e
<cirwin> fair enough
<cirwin> that seems like a net negative though :p
<drbrain> cirwin: it's odd that avahi is performing that type of PTR query
<drbrain> I didn't think that ordinarily happened for MDNS
<drbrain> maybe I'm wrong, though
* cirwin shrugs
<drbrain> I would think that non-local addresses wouldn't go through MDNS at all
<drbrain> cirwin: Socket.do_not_reverse_lookup = true might help you here
<cirwin> sudo apt-get remove avahi-daemon also helped a lot :)
<cirwin> I'll play with that too
ryez_ has quit [Quit: Page closed]
msaffitz has quit [Quit: Computer has gone to sleep.]
tyfighter has quit [Quit: tyfighter]
peppyheppy has quit [Quit: peppyheppy]
S2kx has joined #ruby-lang