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
s0ra_h is now known as sora_h
dRbiG has quit [Read error: Operation timed out]
ilyam has joined #ruby-lang
KINGSABRI has quit [Ping timeout: 250 seconds]
andrewhl has joined #ruby-lang
<zenspider> I need a nap. my brain is offline today
<erikh> it's friday
<erikh> I keep trying to throw mine offline but coworkers keep plugging it back in
<zenspider> also... why is there a chdir for the windows compile?
ilyam has quit [Quit: ilyam]
r0bby is now known as robbyoconnor
tbuehlmann has quit []
<imperator> ok, i think the issue may be the tests then
msaffitz has quit [Quit: Computer has gone to sleep.]
<imperator> because otherwise it compiles in the current directory
dRbiG has joined #ruby-lang
<imperator> but maybe the addition of /OUT made that unnecessary, let me double check
sora_h is now known as s0ra_h
* imperator jumps to his laptop
ilyam has joined #ruby-lang
imperator2 has joined #ruby-lang
QaDeS_ has joined #ruby-lang
macmartine has joined #ruby-lang
tenderlove has joined #ruby-lang
<imperator2> zenspider, yeah, need the chdir for now; but let me check the command line options
<imperator2> i mean, if this reall bugs you
QaDeS has quit [Ping timeout: 245 seconds]
<zenspider> I guess we're doing a chdir for the mt call already... so.
<zenspider> why the hell do windows dev tools suck so much?
<seanstickle> That's like asking why nerf swords don't hold an edge
<seanstickle> It's sort of built into the design
<zenspider> touche
florentg2 has quit [Quit: florentg2]
havenn has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 260 seconds]
<imperator2> i'll ask heesob if there's a command line switch, i don't see one
brunocoelho has joined #ruby-lang
<imperator2> well, i see them for individual files, i don't see one for "everything"
<imperator2> ok, caller[1] is (for example) "test.rb:6:in `block in <class:Array>'"
<imperator2> i think the problem is the tests, you do an expand_path in there iirc
matled has quit [Remote host closed the connection]
matled has joined #ruby-lang
<imperator2> so, here's an example failure: https://gist.github.com/2975974
brunocoelho has quit [Remote host closed the connection]
yugui_zzz is now known as yugui
<zenspider> yeah. clearly the split needs to be done differently... prolly just a regexp match instead :/
macmartine has quit [Quit: macmartine]
igaiga has quit [Remote host closed the connection]
yugui is now known as yugui_zzz
scientes has quit [Remote host closed the connection]
<imperator2> (.*?):(\d+)
<zenspider> sure. that'll prolly work
<imperator2> and now....i can't remember how to automatically assign the captures to variables
arooni-mobile has joined #ruby-lang
<imperator2> without using a regex object + captures method or something - i just mean a one liner
perryh_away is now known as perryh
<bougyman> imperator2: you have to use named captures for that, no?
<imperator2> file, line = /(.*?):(\d+)/.match(s).captures
<zenspider> no named captures
<zenspider> file, line = $1, $2 is fine
<bougyman> that's what i'd do.
<bougyman> i'm into the shorties.
krz has joined #ruby-lang
<bougyman> with lots of =~, even.
postmodern has joined #ruby-lang
perryh is now known as perry
coryf has joined #ruby-lang
<imperator2> that's a 2 liner then
<imperator2> or am i being thick?
<bougyman> irb(main):015:0> matches = /(?<username>.*?):(?<group>.*:?)/.match("bougyman:users")
<bougyman> => #<MatchData "bougyman:users" username:"bougyman" group:"users">
<bougyman> irb(main):016:0> matches["username"]
<bougyman> => "bougyman"
<bougyman> i don't care about how many lines, readable makes a difference.
<bougyman> you're already being slow by using regex anyway.
florentg2 has joined #ruby-lang
florentg2 has quit [Client Quit]
<imperator2> bougyman, was that supposed to be better than what i did?
<imperator2> and i really doubt speed is an issue here
gix has quit [Ping timeout: 264 seconds]
yugui_zzz is now known as yugui
s0ra_h is now known as sora_h
<imperator2> well, anyway, i'll let zenspider decide which approach he wishes to use :)
QaDeS_ has quit [Quit: Ex-Chat]
gix has joined #ruby-lang
<imperator2> time for WoT
imperator2 has quit [Quit: Leaving]
imperator has left #ruby-lang ["Leaving"]
sora_h is now known as s0ra_h
savage- has quit [Remote host closed the connection]
Z33K|Lux has joined #ruby-lang
igotnolegs has joined #ruby-lang
gouthamvel has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
yugui is now known as yugui_zzz
coryf has quit [Remote host closed the connection]
neocoin has joined #ruby-lang
M4g1c5t0rM has quit [Ping timeout: 260 seconds]
benjammin891 has quit [Read error: Operation timed out]
havenn has joined #ruby-lang
mrsolo has quit [Quit: Leaving]
dvorak has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
havenn has quit [Remote host closed the connection]
sailias has joined #ruby-lang
msaffitz has joined #ruby-lang
msaffitz has quit [Client Quit]
coryf has joined #ruby-lang
s0ra_h is now known as sora_h
tenderlove has quit [Remote host closed the connection]
havenn has joined #ruby-lang
macmartine has joined #ruby-lang
dvorak has quit [Remote host closed the connection]
havenn has quit [Ping timeout: 245 seconds]
dfr|mac has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
igaiga has joined #ruby-lang
perry is now known as perryh_away
sailias has quit [Quit: Leaving.]
sora_h is now known as s0ra_h
igaiga_ has joined #ruby-lang
s0ra_h is now known as sora_h
macmartine has quit [Read error: Connection reset by peer]
igaiga has quit [Ping timeout: 250 seconds]
macmartine has joined #ruby-lang
ilyam has quit [Quit: ilyam]
Nisstyre has joined #ruby-lang
igaiga has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
igaiga_ has quit [Ping timeout: 250 seconds]
msaffitz has joined #ruby-lang
igaiga has quit [Ping timeout: 244 seconds]
igaiga has joined #ruby-lang
qpingu has left #ruby-lang [#ruby-lang]
iamlacroix has quit [Remote host closed the connection]
macmartine has quit [Read error: Connection reset by peer]
coryf has quit [Remote host closed the connection]
macmartine has joined #ruby-lang
wpaulson has joined #ruby-lang
jbsan has quit [Read error: Connection reset by peer]
jbsan has joined #ruby-lang
sora_h is now known as s0ra_h
s0ra_h is now known as sora_h
cout has quit [Ping timeout: 276 seconds]
ben_m has quit [Quit: Leaving]
sora_h is now known as s0ra_h
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
dalekurt has quit [Quit: Zzz...]
seanstickle has quit [Quit: Nihil sub sole novum]
dalekurt has joined #ruby-lang
igaiga has quit [Remote host closed the connection]
dfr|mac has quit [Remote host closed the connection]
coryf has joined #ruby-lang
wallerdev has joined #ruby-lang
igaiga has joined #ruby-lang
SiliconDon has quit [Quit: SiliconDon]
s0ra_h is now known as sora_h
sora_h is now known as s0ra_h
s0ra_h is now known as sora_h
igaiga has quit [Ping timeout: 244 seconds]
sora_h is now known as s0ra_h
perryh_away is now known as perryh
bfreeman has quit [Quit: bfreeman]
coryf has quit [Remote host closed the connection]
s0ra_h is now known as sora_h
dfr|mac has joined #ruby-lang
macmartine has quit [Read error: Connection reset by peer]
igaiga has joined #ruby-lang
macmartine has joined #ruby-lang
stardiviner has joined #ruby-lang
igaiga has quit [Remote host closed the connection]
perryh is now known as perry
macmartine_ has joined #ruby-lang
macmartine_ has quit [Read error: Connection reset by peer]
macmartine has quit [Ping timeout: 250 seconds]
perry is now known as perryh_away
wpaulson has joined #ruby-lang
macmartine has joined #ruby-lang
t has joined #ruby-lang
t is now known as Guest52679
macmartine has quit [Read error: Connection reset by peer]
coryf has joined #ruby-lang
macmartine has joined #ruby-lang
krz has quit [Read error: Operation timed out]
macmartine has quit [Read error: Connection reset by peer]
joast has quit [Quit: Leaving.]
krz has joined #ruby-lang
macmartine has joined #ruby-lang
macmartine has quit [Remote host closed the connection]
macmartine has joined #ruby-lang
macmartine_ has joined #ruby-lang
yannis has quit [Read error: Connection reset by peer]
yannis has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
macmartine has quit [Ping timeout: 245 seconds]
macmartine_ is now known as macmartine
yannis has quit [Read error: Connection reset by peer]
yannis has joined #ruby-lang
yannis has quit [Read error: Connection reset by peer]
woollyams has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
yannis has joined #ruby-lang
yannis has quit [Remote host closed the connection]
vshan has joined #ruby-lang
wpaulson has quit [Ping timeout: 245 seconds]
sora_h is now known as s0ra_h
yugui_zzz is now known as yugui
wpaulson has joined #ruby-lang
ruskie has quit [Excess Flood]
crankharder has quit [Ping timeout: 252 seconds]
akira989 has quit [Remote host closed the connection]
perryh_away is now known as perryh
banisterfiend` has joined #ruby-lang
lele|w has quit [Ping timeout: 272 seconds]
umttumt has joined #ruby-lang
igaiga has joined #ruby-lang
fsg has joined #ruby-lang
xtagon has joined #ruby-lang
banisterfiend has quit [Ping timeout: 245 seconds]
fsg has left #ruby-lang [#ruby-lang]
cesario has quit [Quit: Connection closed for inactivity]
wpaulson has quit [Ping timeout: 245 seconds]
ruskie has joined #ruby-lang
lele|w has joined #ruby-lang
macmartine has quit [Read error: Connection reset by peer]
macmartine_ has joined #ruby-lang
perryh is now known as perry
bfreeman has joined #ruby-lang
s0ra_h is now known as sora_h
imperator has joined #ruby-lang
ilyam has joined #ruby-lang
ilyam has quit [Client Quit]
yugui is now known as yugui_zzz
cout has joined #ruby-lang
Boohbah has quit [Remote host closed the connection]
banisterfiend` has quit [Ping timeout: 255 seconds]
ryanf has joined #ruby-lang
Boohbah has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
tomb_ has joined #ruby-lang
brianpWins has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
benjammin891 has joined #ruby-lang
crankharder has joined #ruby-lang
xtagon has quit [Quit: leaving]
yannis has joined #ruby-lang
xtagon has joined #ruby-lang
vshan has quit [Quit: Page closed]
imperator has quit [Quit: Leaving]
coryf has quit [Remote host closed the connection]
benjammin891 has quit [Ping timeout: 255 seconds]
savage- has joined #ruby-lang
banisterfiend has joined #ruby-lang
write has joined #ruby-lang
<write> HELLO ?
<write> Is there any core ruby developer/maintainer? I have a difficult question, that's my friend's question. Should i ask it here?
<whitequark> just ask
<write> Only core developer can answer, i'm waiting for a core dev's reply.
kain has quit [Quit: Sto andando via]
* whitequark shrugs
<whitequark> most certainly, the answer to your question will be "no"
<whitequark> but try asking on the ruby-talk or ruby-core mailing lists
<banisterfiend> write: there are core developers here, ask your question, and if they find it interesting, they will reply :)
TheHunter_1039 has quit [Quit: TheHunter_1039]
kain has joined #ruby-lang
macmartine_ has quit [Quit: macmartine_]
macmartine has joined #ruby-lang
<write> I'm going to use mailing list core, bye.
write has quit [Quit: write]
joast has joined #ruby-lang
macmartine has quit [Read error: Connection reset by peer]
macmartine has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
yannis has quit [Quit: yannis]
wasnotrice is now known as zz_wasnotrice
chendo_ has joined #ruby-lang
xtagon has quit [Quit: leaving]
<dominikh> dafuq
andrewhl has quit [Remote host closed the connection]
savage- has quit [Remote host closed the connection]
rippa has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
flak has joined #ruby-lang
flak is now known as Guest83218
rippa has quit [Ping timeout: 272 seconds]
perry is now known as perryh_away
macmartine has left #ruby-lang [#ruby-lang]
outsmartin has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
Guest52679 has quit [Remote host closed the connection]
cesario has joined #ruby-lang
cantonic has quit [Quit: cantonic]
yugui_zzz is now known as yugui
tofaffy has joined #ruby-lang
QaDeS has joined #ruby-lang
cantonic has joined #ruby-lang
<rue> Super Serious Question
ryanf has quit [Quit: leaving]
* whitequark counts hours until he gets banned there
Tick-Tock has quit [Ping timeout: 248 seconds]
<bnagy> whitequark: s/until/since/
solars has joined #ruby-lang
<rue> I don’t even…
igotnolegs has quit [Quit: Computer has gone to sleep.]
Z33K|Lux has quit []
<zenspider> oh god. the moron is back
<zenspider> oh god. and he uses html email
deryl has quit [Quit: deryl]
Tick-Tock has joined #ruby-lang
toretore has joined #ruby-lang
workmad3 has joined #ruby-lang
sora_h is now known as s0ra_h
tbuehlmann has joined #ruby-lang
wpaulson_ has joined #ruby-lang
jxie has joined #ruby-lang
ryez has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
Tick-Tock has quit [K-Lined]
<zenspider> hrm
<zenspider> how about
qwerxy has joined #ruby-lang
<zenspider> ruby 1.9 has jumped the shark
<zenspider> or
<zenspider> occupy ruby - why we need to overthrow the 1%
<zenspider> or
<zenspider> what we should remove from 1.9 to make 2.0
<zenspider> or... I dunno
<zenspider> ooh how about:
<zenspider> gem _everything_
krz has quit [Quit: krz]
<banisterfiend> zenspider: if we gem everything isn't there the possibility of people then getting version conflicts on the stdlib, i imagine could be really frustrating
<banisterfiend> one gem depends on openstruct version 1.1 and the other has a hard dependency on 1.0 or something
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
<zenspider> meh. who cares. we already have those problems
<zenspider> I have the 'ruby' gem name squatted, so we can have a meta-gem with hard deps per release
krz has joined #ruby-lang
<zenspider> banisterfiend: which talk would you prefer to watch?
<zenspider> or... which would you hate to watch? and why?
<banisterfiend> zenspider: what ar the options
<zenspider> see above
<banisterfiend> "what we should remove from 1.9 to make 2.0"
<banisterfiend> it's the least inflammatory and most constructive and it's a pretty interesting topic
fgomez has joined #ruby-lang
<banisterfiend> zenspider: what would u remove?
fgomez has quit [Client Quit]
fgomez has joined #ruby-lang
<zenspider> haven't written the talk yet
apeiros_ has joined #ruby-lang
Fullmoon has quit [Quit: Fullmoon]
rippa has joined #ruby-lang
yugui is now known as yugui_zzz
<banisterfiend> zenspider: remove @@class_vars :)
Guest83218 has quit [Ping timeout: 265 seconds]
<zenspider> i like class vars
<banisterfiend> zenspider: that's more a 3.0 thing though
<banisterfiend> zenspider: anyway hasn't matz already committed to 2.0 being back compat with 1.9.3 ?
<zenspider> meh
igaiga has quit [Remote host closed the connection]
<zenspider> considering 1.8 isn't backwards compatible with 1.9... I don't see why 2.0 should be.. ESP 2.0
qwerxy has quit [Quit: offski]
<banisterfiend> zenspider: i think he witnessed the mess of python 2 -> python 3 and probably wants to avoid it
<banisterfiend> not sure
qwerxy has joined #ruby-lang
qwerxy has quit [Client Quit]
Tick-Tock has joined #ruby-lang
* zenspider goes to bed
<banisterfiend> zenspider: sleep well, pup :*
TheHunter_1039 has joined #ruby-lang
fayimora has quit [Read error: Connection reset by peer]
fayimora has joined #ruby-lang
cantonic has quit [Quit: cantonic]
cantonic has joined #ruby-lang
kaspernj has joined #ruby-lang
brushbox has joined #ruby-lang
s0ra_h is now known as sora_h
fayimora_ has joined #ruby-lang
workmad3 has joined #ruby-lang
fayimora__ has joined #ruby-lang
fayimora has quit [Ping timeout: 264 seconds]
fayimora__ is now known as fayimora
rippa has quit [Ping timeout: 240 seconds]
fayimora_ has quit [Ping timeout: 264 seconds]
gnufied has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
kyrylo has quit [Ping timeout: 246 seconds]
benanne has joined #ruby-lang
igaiga has joined #ruby-lang
<whitequark> banisterfiend: sounds disturbingly close to "rest in piece"...
fayimora has quit [Quit: Busy…..zzzzz]
sora_h is now known as s0ra_h
s0ra_h is now known as sora_h
sora_h is now known as s0ra_h
Fullmoon has joined #ruby-lang
KINGSABRI has joined #ruby-lang
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
augustl has joined #ruby-lang
<augustl> Net::HTTP is completely synchronous and single threaded, right?
<augustl> getting some weird issues when I run a http server via the same process as some unit tests, by using Open3.popen3. Works fine if I run the server manually.
<augustl> actual response code is 422, but Net::HTTP gets 200
s0ra_h is now known as sora_h
<augustl> but not if I comment out some of the tests :)
<augustl> and all that jazz
zmack has joined #ruby-lang
yugui_zzz is now known as yugui
banisterfiend has quit [Ping timeout: 244 seconds]
<augustl> with a http.set_debug_output($stdout) it also says the server returns a 200 OK.. So I have a feeling the issue is in the server.
banisterfiend has joined #ruby-lang
kristofferrr has joined #ruby-lang
dfr|mac has joined #ruby-lang
yugui has quit [Ping timeout: 245 seconds]
<augustl> are there ways to spawn a new process and get access to its stdio other than Open3.popen3?
QaDeS has quit [Quit: Ex-Chat]
<rue> IO.spawn
<augustl> looking it up, thanks
<augustl> hmm, what kind of IO objects can I use to access stdout and stderr of the process I spawn? Seems StringIO isn't supported.
<rue> It’s not an IO
yugui has joined #ruby-lang
iamlacroix has joined #ruby-lang
sora_h is now known as s0ra_h
brushbox has quit [Quit: Leaving.]
<youngin> sup
Nekka has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
dfr|mac has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
A124 has joined #ruby-lang
s0ra_h is now known as sora_h
write has joined #ruby-lang
<write> HELLO? What does block mean? How does ruby maintain block?
<write> Why is ruby known for block?
write has quit [Quit: write]
cjs226 has joined #ruby-lang
<Tasser> blockhead?
zmack has quit [Remote host closed the connection]
ammar_ has quit [Quit: leaving]
ammar has joined #ruby-lang
<matled> augustl: typically you'd use IO.pipe to communicate to a child process. remember to close the unused sides of the pipe after forking in parent/child
<apeiros_> and he leaves like less than a minute later… wtf?
<banisterfiend> apeiros_: he's tintin
<banisterfiend> he's trying to hide
<apeiros_> how do you figure?
fgomez has quit [Read error: Connection reset by peer]
umttumt has quit [Remote host closed the connection]
bastilian has joined #ruby-lang
francisfish has joined #ruby-lang
stardiviner has joined #ruby-lang
ryez has quit [Ping timeout: 245 seconds]
<erikh> his speech is very similar.
piyush has joined #ruby-lang
gsav has joined #ruby-lang
<banisterfiend> can someone name a gem with a c extension?
<banisterfiend> aside from nokogiri
<banisterfiend> something quite obscure would be good, but with lots of c
<erikh> sqlite
<erikh> not sure about obscure
<erikh> any of the database gems are chock full of C
<banisterfiend> erikh: cool, but i guess i need a bunch of external libs installed too?
<erikh> yes
<erikh> banisterfiend: eventmachine has no deps IIRC
<erikh> but that's mostly C++ I think
<erikh> never rooted around in there.
<banisterfiend> cool
<erikh> anyhow, it's 5am here and I'm supposed to be quitting smoking tomorrow
<banisterfiend> ill check it
<erikh> I should probably get some rest.
gsav has quit [Ping timeout: 244 seconds]
<augustl> matled: ah, I'll investigate, thanks
<banisterfiend> anyone got some nice code for going from BindingOfCaller to binding_of_caller ?
gnufied has quit [Quit: Leaving.]
jxie has quit [Quit: leaving]
wpaulson_ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
KINGSABRI has quit [Read error: Connection reset by peer]
fgomez has joined #ruby-lang
KINGSABRI has joined #ruby-lang
KINGSABRI has quit [Read error: Connection reset by peer]
gsav has joined #ruby-lang
KINGSABRI has joined #ruby-lang
zmack has joined #ruby-lang
postmodern has quit [Quit: Leaving]
KINGSABRI has quit [Read error: Connection reset by peer]
<kyrylo> banisterfiend, ray?
KINGSABRI has joined #ruby-lang
KINGSABRI has quit [Read error: Connection reset by peer]
<augustl> is there any particular reason for why `IO.popen(["rails", "server", "-p", "0", "-e", "production", :err => [:child, :out]])` causes different behaviour from "rails server -p 0 -e production" in a separate shell?
KINGSABRI has joined #ruby-lang
saLOUt has joined #ruby-lang
<augustl> I do the IO.popen in a thread, then when the server is ready I start running the tests on another thread. This causes weird ass behaviour when doing requests against the server. This does not happen if I just start the server by hand and have my tests call that server
fayimora has joined #ruby-lang
voker57 has quit [Remote host closed the connection]
<augustl> where weird ass behaviour = the Rails logs (I'm starting a rails server) says it responded with 422, but the actual Net::HTTP call gets 200.
<augustl> asking just in case I'm missing something obvious :)
kaspernj_ has joined #ruby-lang
KINGSABRI has quit [Read error: Connection reset by peer]
fayimora_ has joined #ruby-lang
fayimora has quit [Read error: Connection reset by peer]
<banisterfiend> kyrylo: cool
fayimora_ is now known as fayimora
<banisterfiend> kyrylo: trying dat now
KINGSABRI has joined #ruby-lang
gnufied has joined #ruby-lang
kaspernj has quit [Ping timeout: 245 seconds]
<banisterfiend> kyrylo: how long did ray take to compile on your system?
<banisterfiend> it's taking forever
tris has quit [Ping timeout: 252 seconds]
kaspernj_ has quit [Ping timeout: 246 seconds]
wpaulson has joined #ruby-lang
KINGSABRI has quit [Read error: Connection reset by peer]
KINGSABRI has joined #ruby-lang
Jake232 has joined #ruby-lang
<augustl> weird stuff. Tried replacing the child process stuff with a Node.js script, that also works just fine. I wonder what the IO.popen does that causes these differences..
<augustl> it might also be caused by my threading of course, but it's just two threads so I can't imagine what that should be
dalekurt has quit [Quit: Zzz...]
solars has quit [Ping timeout: 245 seconds]
wpaulson_ has joined #ruby-lang
cantonic has quit [Quit: cantonic]
wpaulson has quit [Ping timeout: 264 seconds]
wpaulson_ is now known as wpaulson
retro|cz has joined #ruby-lang
KINGSABRI has quit [Read error: Connection reset by peer]
KINGSABRI has joined #ruby-lang
chessguy has joined #ruby-lang
qwerxy has joined #ruby-lang
wpaulson has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
sailias has joined #ruby-lang
ryez has joined #ruby-lang
piyush has quit [Ping timeout: 245 seconds]
fayimora_ has joined #ruby-lang
KINGSABRI has quit [Read error: Connection reset by peer]
KINGSABRI has joined #ruby-lang
KINGSABRI has quit [Read error: Connection reset by peer]
fayimora has quit [Ping timeout: 264 seconds]
fayimora_ is now known as fayimora
workmad3 has quit [Ping timeout: 260 seconds]
<kyrylo> banisterfiend, pretty long. I don't remember. Ask Monnie :)
robwilliamsukio has joined #ruby-lang
robwilliamsukio has quit [Client Quit]
<banisterfiend> kyrylo: hey, can u fix cd - :D
piyush has joined #ruby-lang
fayimora has quit [Ping timeout: 264 seconds]
benjammin891 has joined #ruby-lang
<zzak> erikh: good luck!
gnufied has quit [Quit: Leaving.]
charliesome has joined #ruby-lang
ben_m has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
fayimora has joined #ruby-lang
imperator has joined #ruby-lang
asahi has joined #ruby-lang
qwerxy has quit [Quit: offski]
qwerxy has joined #ruby-lang
bryancp has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
krz has quit [Read error: Connection reset by peer]
jperry2 has joined #ruby-lang
tbuehlmann has quit []
yugui is now known as yugui_zzz
dalekurt has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
retro_ has joined #ruby-lang
chessguy has quit [Remote host closed the connection]
retro|cz has quit [Ping timeout: 265 seconds]
deanh has joined #ruby-lang
retro_ has quit [Ping timeout: 265 seconds]
benjammin891 has quit [Remote host closed the connection]
qwerxy has quit [Quit: offski]
tockitj has joined #ruby-lang
<tockitj> how to init state of rails application ?
qwerxy has joined #ruby-lang
seanstickle has joined #ruby-lang
chessguy has joined #ruby-lang
<apeiros_> tockitj: #rubyonrails
<tockitj> yes sir :)
fayimora has quit [Quit: Busy…..zzzzz]
<apeiros_> also don't cross post like that. it's rude. *at the very least* disclose that you cross-post.
<tockitj> i didn't know where to ask.. sry..
<tockitj> btw, how to disclose cross-post ?
<apeiros_> you say "I'm also asking in xxx"
<tockitj> that would triple the length of message
<tockitj> and i'm not sure if anyone is rly interested in that ? :S
<apeiros_> oooh poor you
<apeiros_> let me shed a tear
jperry2 has quit [Quit: jperry2]
<tockitj> poor reader :)
tockitj was kicked from #ruby-lang by apeiros_ [cross posting usual means kick, so here you go]
<asahi> hello, is there a way to shorten x != y || x != z ?
<apeiros_> asahi: assuming that y != z, you can simply write 'true'
<asahi> haha
<asahi> I guess I can just do something like [1,2,3].includes?(x)
<apeiros_> that's doing something different, though. that's x== y || x == z, not != (but probably that's what you wanted anyway…)
bastilian has quit [Quit: Leaving...]
bglusman has joined #ruby-lang
bglusman has quit [Remote host closed the connection]
qwerxy has quit [Quit: offski]
krz has joined #ruby-lang
crackity_jones has quit [Ping timeout: 245 seconds]
deanh has quit [Quit: deanh]
piyush has quit [Ping timeout: 250 seconds]
steven has quit [Ping timeout: 272 seconds]
regularfry has joined #ruby-lang
andrewhl has joined #ruby-lang
workmad3 has joined #ruby-lang
bastilian has joined #ruby-lang
jperry2 has joined #ruby-lang
yannis has joined #ruby-lang
deanh has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
outsmartin has quit [Quit: Leaving.]
imperator has quit [Quit: This computer has gone to sleep]
thone has joined #ruby-lang
igaiga has quit [Remote host closed the connection]
hinbody has quit [Ping timeout: 260 seconds]
gregf has quit [Quit: WeeChat 0.3.8]
thone_ has quit [Ping timeout: 260 seconds]
mrgreenfur has joined #ruby-lang
saLOUt has quit [Quit: Konversation terminated!]
lsegal has joined #ruby-lang
krz has quit [Read error: Connection reset by peer]
jperry2 has quit [Quit: jperry2]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<andrewvos> ooh banage
jxie has joined #ruby-lang
deryl has joined #ruby-lang
deryl has quit [Read error: Connection reset by peer]
msaffitz has joined #ruby-lang
deryl has joined #ruby-lang
jxie has quit [Quit: leaving]
dalekurt has quit [Quit: Zzz...]
jxie has joined #ruby-lang
naz has quit [Read error: Connection reset by peer]
zmack has quit [Remote host closed the connection]
imperator has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
deanh has quit [Quit: deanh]
workmad3 has joined #ruby-lang
QaDeS has joined #ruby-lang
ryez has quit [Ping timeout: 245 seconds]
t has joined #ruby-lang
t is now known as Guest57835
deanh has joined #ruby-lang
deanh has quit [Client Quit]
CoverSlide has quit [Ping timeout: 244 seconds]
KINGSABRI has joined #ruby-lang
mrgreenfur has quit [Quit: mrgreenfur]
<KINGSABRI> is there an easy way to send method (contains TCPserver listening ) to background process ?
<KINGSABRI> I tried "backgrounded" gem but I got Error "undefined method `server' for {}:Hash (NoMethodError) "
fayimora has joined #ruby-lang
wallerdev has joined #ruby-lang
umttumt has joined #ruby-lang
kristofferrr has quit [Quit: ❤]
wallerdev has quit [Client Quit]
fayimora has quit [Quit: Be back in a gifii]
seanstickle has quit [Quit: Nihil sub sole novum]
<KINGSABRI> any idea please ?
<rue> DRb? Dunno what you’re doing.
enebo has quit [Quit: enebo]
<KINGSABRI> I've an application have some feautres , one of its is run server listening on a port ,, I need application send lesting to backroung and keep working normally
macmartine has joined #ruby-lang
<rue> What do you mean send listening? Why don’t you just start the listener in the other process?
yannis has quit [Quit: Bye!]
prsimp has joined #ruby-lang
<KINGSABRI> rue, I'v no problem about starting it in another sub process of new process
<KINGSABRI> but how to do that :)
<KINGSABRI> if found many thing but the simple ways like (backgrounded) is giving error
hinbody has joined #ruby-lang
<KINGSABRI> also I need some way working on "ruby 1.8.7 "
<rue> .fork it?
macmartine has left #ruby-lang [#ruby-lang]
selvakumaran has joined #ruby-lang
<KINGSABRI> rue, I'll test fork now ..
workmad3 has quit [Ping timeout: 248 seconds]
rippa has joined #ruby-lang
<KINGSABRI> can I get the process ID of forked methods ?
<KINGSABRI> rue, can I get the process ID of forked methods ?
<rue> You can get the PID of the process you fork, yes
<rue> It’s the return value of the .fork call in the parent
workmad3 has joined #ruby-lang
msaffitz has joined #ruby-lang
msaffitz has quit [Client Quit]
CoverSlide has joined #ruby-lang
KINGSABRI has quit [Read error: Connection reset by peer]
r0bby has joined #ruby-lang
daym0n has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 260 seconds]
CoverSlide has quit [Ping timeout: 255 seconds]
wallerdev has joined #ruby-lang
sora_h is now known as s0ra_h
Jake232 has quit [Quit: Computer has gone to sleep.]
imperator has quit [Quit: This computer has gone to sleep]
bastilian has quit [Quit: Leaving...]
gregf has joined #ruby-lang
mistym has joined #ruby-lang
<Defusal> hmmm
<Defusal> EventMachine::WebSocket::MaskedString#getbytes appears to be very slow
prsimp has quit [Quit: prsimp]
daym0n has quit [Ping timeout: 244 seconds]
<Defusal> a quick google found the following, but being over a year old, surely EM::WebSocket would have been patched with it by now... https://gist.github.com/1004242
CoverSlide has joined #ruby-lang
selvakumaran has quit [Ping timeout: 250 seconds]
crackity_jones has joined #ruby-lang
dejongge has joined #ruby-lang
KINGSABRI has joined #ruby-lang
CoverSlide has quit [Ping timeout: 245 seconds]
retro_ has joined #ruby-lang
Z33K|Lux has joined #ruby-lang
msaffitz has joined #ruby-lang
msaffitz has quit [Client Quit]
chessguy has quit [Remote host closed the connection]
msaffitz has joined #ruby-lang
imperator has joined #ruby-lang
CoverSlide has joined #ruby-lang
<Defusal> so anyway, although the em-websocket gems unmasking code was updated, its still terribly inefficient and slow
<Defusal> but that gists implementation depends on "require 'xor'"
wallerdev has quit [Quit: wallerdev]
selvakumaran has joined #ruby-lang
<Defusal> does anyone have any idea what (gem?) "xor" is, it provides a String#xor! method
savage- has joined #ruby-lang
gnufied has joined #ruby-lang
<Defusal> it's the fast_xor gem :)
dalekurt has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
savage- has quit [Remote host closed the connection]
CoverSlide has quit [Ping timeout: 260 seconds]
sailias has quit [Quit: Leaving.]
slyphon has joined #ruby-lang
dalekurt has quit [Quit: Zzz...]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
wallerdev has joined #ruby-lang
deanh has joined #ruby-lang
havenn has joined #ruby-lang
CoverSlide has joined #ruby-lang
xtagon has joined #ruby-lang
prsimp has joined #ruby-lang
imperator has quit [Quit: This computer has gone to sleep]
qwerxy has joined #ruby-lang
piyush has joined #ruby-lang
havenn has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
burgestrand has joined #ruby-lang
imperator has joined #ruby-lang
outsmartin has joined #ruby-lang
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
macmartine has joined #ruby-lang
Guest57835 has quit [Remote host closed the connection]
bjensen has joined #ruby-lang
<bjensen> I need to compare strings but accept equality within a specific range. Like "John Doe is the same as "John Foe" but "Johnny Cash" is not the same as "John Doe"….do any of you guys have an idea how to approach this?
t has joined #ruby-lang
<bjensen> I assume you would assign each character a numerical value and then sum each string and then decide equality within the accepted range
t is now known as Guest28994
CoverSlide has quit [Ping timeout: 245 seconds]
<workmad3> bjensen: look at edit distances or soundex maybe
<workmad3> bjensen: or any other fuzzy matcher
<bjensen> workmad3: those are libraries or ruby api?
<burgestrand> there’s also levenshtein and… forgot the other name
<workmad3> bjensen: they are algorithms
<bjensen> ah ok :)
<a3li> burgestrand: hamming?
<burgestrand> Ah, yes
<bjensen> ah seams like someone has already put down the ground work for this: http://flori.github.com/amatch/ :)
<bjensen> thanks guys
<workmad3> bjensen: you should look up the algorithms so you know the tradeoffs and differences between them though
<bjensen> yeah I intend to
<workmad3> bjensen: interpretting the results of a fuzzy match can be fun :)
Guest28994 has quit [Remote host closed the connection]
lele has quit [Ping timeout: 272 seconds]
<asahi> if I have the array [[1,a,b][2,c,d]], how can I see if 1 is included as the first element of one of the child arrays?
t_ has joined #ruby-lang
<lianj> [[1],[2]].any?{|i| i.first == 1 }
<asahi> lianj: thanks. i'll try it out
ruurd has joined #ruby-lang
qwerxy has quit [Quit: offski]
selvakumaran has quit [Quit: Leaving]
martinBauer has joined #ruby-lang
setmeaway2 has quit [Read error: Connection reset by peer]
msaffitz has joined #ruby-lang
asahi has quit [Quit: Leaving.]
t_ has quit [Remote host closed the connection]
martinBauer has quit [Quit: Leaving]
andrewhl has quit [Remote host closed the connection]
macmartine has quit [Quit: macmartine]
t_ has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby-lang
CoverSlide has joined #ruby-lang
umttumt has quit [Remote host closed the connection]
perryh_away is now known as perryh
banisterfiend has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
s0ra_h is now known as sora_h
gsav has quit [Ping timeout: 272 seconds]
banisterfiend has joined #ruby-lang
rmascarenhas has quit [Ping timeout: 255 seconds]
dalekurt has joined #ruby-lang
rmascarenhas has joined #ruby-lang
irmbrady has joined #ruby-lang
CoverSlide has quit [Ping timeout: 248 seconds]
CoverSlide has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
S2kx has joined #ruby-lang
t_ has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
S1kx has quit [Ping timeout: 240 seconds]
setmeaway has joined #ruby-lang
andrewhl has joined #ruby-lang
sailias has joined #ruby-lang
sora_h is now known as s0ra_h
_br_ has quit [Read error: Connection reset by peer]
sailias has quit [Ping timeout: 246 seconds]
outoftime has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
retro_ has quit [Ping timeout: 265 seconds]
deanh has quit [Remote host closed the connection]
deanh has joined #ruby-lang
deanh_ has joined #ruby-lang
havenn has quit [Remote host closed the connection]
brunocoelho has joined #ruby-lang
havenn has joined #ruby-lang
deanh has quit [Read error: Operation timed out]
S2kx has quit [Quit: Leaving]
S1kx has joined #ruby-lang
S1kx has joined #ruby-lang
qwerxy has joined #ruby-lang
prsimp has left #ruby-lang [#ruby-lang]
r0bby is now known as robbyoconnor
Nekka has quit [Quit: WeeChat 0.3.8]
bearlulz has joined #ruby-lang
msaffitz has joined #ruby-lang
brunocoelho has quit [Remote host closed the connection]
yugui_zzz is now known as yugui
publicvoid_ has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
publicvoid__ has quit [Ping timeout: 246 seconds]
andrewhl has joined #ruby-lang
chendo_ has quit [Remote host closed the connection]
pcboy_ has quit [Ping timeout: 240 seconds]
gnufied has quit [Quit: Leaving.]
Jake232 has joined #ruby-lang
bearlulz has quit [Quit: Computer has gone to sleep.]
tofaffy has quit [Ping timeout: 260 seconds]
Weems has quit [Ping timeout: 265 seconds]
havenn has quit [Remote host closed the connection]
msaffitz has quit [Quit: Computer has gone to sleep.]
lowg has joined #ruby-lang
KINGSABRI has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 246 seconds]
havenn has joined #ruby-lang
dfr|mac has joined #ruby-lang
mytrile has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
qwerxy has quit [Quit: offski]
andrewhl has quit [Remote host closed the connection]
outsmartin has quit [Quit: Leaving.]
havenn has quit [Remote host closed the connection]
countdigi has quit [Quit: leaving]
dfr|mac has quit [Remote host closed the connection]
countdigi has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
seanstickle has joined #ruby-lang
yugui is now known as yugui_zzz
dalekurt has quit [Quit: Zzz...]
lele has joined #ruby-lang
TylerGillies is now known as MichaelMalachi
deanh_ has quit [Quit: deanh_]
deanh has joined #ruby-lang
Fullmoon has quit [Quit: Fullmoon]
deanh has quit [Ping timeout: 260 seconds]
deanh has joined #ruby-lang
gsav has joined #ruby-lang
retro_ has joined #ruby-lang
Jake232 has quit [Ping timeout: 255 seconds]
msaffitz has joined #ruby-lang
andrewhl has joined #ruby-lang
dalekurt has joined #ruby-lang
Defusal has quit [Quit: brb]
bastilian has joined #ruby-lang
Jake232 has joined #ruby-lang
cjs226 has quit []
Defusal has joined #ruby-lang
cjs226 has joined #ruby-lang
sebastian has joined #ruby-lang
tofaffy has joined #ruby-lang
bastilian has quit [Ping timeout: 272 seconds]
mortice has quit [Quit: leaving]
mortice has joined #ruby-lang
Weems has joined #ruby-lang
sebastian has quit [Quit: Leaving...]
mortice has quit [Client Quit]
mortice has joined #ruby-lang
Boohbah has quit [Ping timeout: 276 seconds]
dalekurt has quit [Quit: Zzz...]
Boohbah has joined #ruby-lang
diegoviola has joined #ruby-lang
andrewhl has quit [Remote host closed the connection]
A124 has quit [Read error: Connection reset by peer]
tofaffy has quit [Ping timeout: 252 seconds]
Weems has quit [Ping timeout: 248 seconds]
andrewhl has joined #ruby-lang
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
dvorak has joined #ruby-lang
Torrieri has quit [Client Quit]
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
Torrieri has quit [Client Quit]
Torrieri has joined #ruby-lang
Torrieri has quit [Changing host]
Torrieri has joined #ruby-lang
Weems has joined #ruby-lang
Weems has joined #ruby-lang
Weems has quit [Changing host]
justinmcp has quit [Ping timeout: 245 seconds]
ryanf has joined #ruby-lang
justinmcp has joined #ruby-lang
tofaffy has joined #ruby-lang
znz_jp has quit [Ping timeout: 245 seconds]
postmodern has joined #ruby-lang
crackity_jones has quit [Ping timeout: 246 seconds]
havenn has joined #ruby-lang
kke has quit [Remote host closed the connection]
havenn has quit [Ping timeout: 260 seconds]
<postmodern> people who write bindings to C libraries, what do you prefer
<postmodern> a version variable, or a version function?
banisterfiend has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
t has joined #ruby-lang
t is now known as Guest18502
<whitequark> postmodern: a version constant
<whitequark> if you're talking about ruby side
<postmodern> whitequark, talking about C
<whitequark> otherwise it doesn't really matter, be it a variable, a function or a macro
QaDeS has quit [Quit: Ex-Chat]
zmack has joined #ruby-lang
deanh has quit [Quit: deanh]
ttilley_off is now known as ttilley
sailias has joined #ruby-lang
yannis has joined #ruby-lang
gsav has quit [Ping timeout: 246 seconds]
mistym has joined #ruby-lang
s0ra_h is now known as sora_h
Tearan has joined #ruby-lang
musl has quit [Remote host closed the connection]
yannis has quit [Ping timeout: 246 seconds]
retro_ has quit [Ping timeout: 265 seconds]
yannis has joined #ruby-lang
youngin has quit [Quit: leaving]
dejongge has quit [Ping timeout: 248 seconds]
andrewhl has quit [Remote host closed the connection]
sora_h is now known as s0ra_h
andrewhl has joined #ruby-lang
tr-808 has quit [Quit: leaving]
tr-808 has joined #ruby-lang
ryanf has quit [Ping timeout: 260 seconds]
andrewhl has quit [Ping timeout: 244 seconds]
ryanf has joined #ruby-lang
ryez has joined #ruby-lang
tofaffy has quit [Changing host]
tofaffy has joined #ruby-lang
msaffitz has quit [Quit: Computer has gone to sleep.]
andrewhl has joined #ruby-lang
luzeo has joined #ruby-lang
yannis has quit [Quit: yannis]
igotnolegs has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang
Jake232 has quit [Quit: Computer has gone to sleep.]
yannis has joined #ruby-lang
dalekurt has joined #ruby-lang
zmack has quit [Remote host closed the connection]
pcboy_ has joined #ruby-lang
luzeo has quit [Quit: luzeo]
imperator has left #ruby-lang ["Leaving"]
havenn has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
sailias has quit [Ping timeout: 260 seconds]
iamlacroix has quit [Remote host closed the connection]
havenn has quit [Ping timeout: 244 seconds]