apeiros_ changed the topic of #ruby-lang to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
adam12 has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 256 seconds]
symm- has quit [Ping timeout: 260 seconds]
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mbj has joined #ruby-lang
mistym has quit [Remote host closed the connection]
chessguy_ has joined #ruby-lang
chessguy has quit [Ping timeout: 252 seconds]
marr has quit [Ping timeout: 256 seconds]
idkazuma has joined #ruby-lang
adam12 has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
mwjcomputing has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 256 seconds]
madb055 has quit [Read error: Connection reset by peer]
madb055 has joined #ruby-lang
srbaker has joined #ruby-lang
srbaker has quit [Client Quit]
GeissT has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
plurt has joined #ruby-lang
wyhaines has quit [Remote host closed the connection]
plurt has quit [Quit: Computer has gone to sleep.]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
mbj has quit [Ping timeout: 264 seconds]
lguardiola has quit [Ping timeout: 258 seconds]
chessguy_ has quit [Remote host closed the connection]
toretore has quit [Quit: Leaving]
idkazuma has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
kain has quit [Quit: exit]
idkazuma has joined #ruby-lang
chessguy has joined #ruby-lang
chessguy has quit [Remote host closed the connection]
Nisstyre-laptop has quit [Remote host closed the connection]
r0bby has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 256 seconds]
mwjcomputing has quit [Quit: Leaving]
wallerdev has joined #ruby-lang
Wardrop has quit [Quit: Wardrop]
erpuds has quit [Quit: erpuds]
erpuds has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
Wardrop has joined #ruby-lang
Wardrop has quit [Client Quit]
tylersmith has joined #ruby-lang
MartynKeigher has joined #ruby-lang
tylersmith has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Ping timeout: 264 seconds]
megha has quit [Ping timeout: 240 seconds]
security has joined #ruby-lang
erpuds has quit [Quit: erpuds]
r0bby is now known as robbyoconnor
ahs3- has quit [Remote host closed the connection]
ahs3- has joined #ruby-lang
r0bby has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 258 seconds]
dhruvasagar has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
heftig has joined #ruby-lang
security is now known as megha
Wardrop has joined #ruby-lang
Wardrop has left #ruby-lang [#ruby-lang]
cirenyc has joined #ruby-lang
cirenyc has quit [Client Quit]
r0bby is now known as robbyoconnor
arubin has joined #ruby-lang
r0bby has joined #ruby-lang
cirenyc has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 245 seconds]
cirenyc has quit [Client Quit]
postmodern has joined #ruby-lang
retro|cz has quit [Ping timeout: 240 seconds]
cirenyc has joined #ruby-lang
jovy88 has joined #ruby-lang
r0bby_ has joined #ruby-lang
cirenyc has quit [Ping timeout: 252 seconds]
r0bby has quit [Ping timeout: 252 seconds]
Aria has quit [Remote host closed the connection]
retro|cz has joined #ruby-lang
r0bby_ is now known as robbyoconnor
cordax has joined #ruby-lang
TheNotary has quit [Ping timeout: 248 seconds]
schroedinbug has quit [Quit: WeeChat 0.4.0]
celinedior has joined #ruby-lang
TheNotary has joined #ruby-lang
agarie has joined #ruby-lang
nertzy has joined #ruby-lang
nertzy2 has quit [Ping timeout: 245 seconds]
cordax has quit [Quit: Computer has gone to sleep.]
guiambros has joined #ruby-lang
kain has joined #ruby-lang
thone has joined #ruby-lang
r0bby has joined #ruby-lang
thone_ has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
r0bby_ has joined #ruby-lang
r0bby_ is now known as robbyoconnor
r0bby has quit [Ping timeout: 252 seconds]
cirenyc has joined #ruby-lang
r0bby has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 258 seconds]
sunseb has joined #ruby-lang
cirenyc has quit [Ping timeout: 248 seconds]
ironcame1 is now known as ironcamel
charliesome has joined #ruby-lang
sunseb has quit [Quit: Konversation terminated!]
swav has quit [Remote host closed the connection]
agarie has quit [Ping timeout: 276 seconds]
agarie has joined #ruby-lang
brianpWins has joined #ruby-lang
firefux has quit [Ping timeout: 264 seconds]
firefux has joined #ruby-lang
kgrz has joined #ruby-lang
swav has joined #ruby-lang
mistym has quit [Remote host closed the connection]
agarie_ has joined #ruby-lang
agarie_ has quit [Client Quit]
agarie has quit [Ping timeout: 276 seconds]
havenwood has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 264 seconds]
cirenyc has joined #ruby-lang
erpuds has joined #ruby-lang
happydude has joined #ruby-lang
happydude has quit [Client Quit]
happydude has joined #ruby-lang
idkazuma has joined #ruby-lang
cirenyc has quit [Ping timeout: 264 seconds]
jxie has quit [Quit: leaving]
swygue has quit [Quit: Konversation terminated!]
swygue has joined #ruby-lang
happydude has quit [Quit: Leaving]
workmad3 has joined #ruby-lang
sush24 has joined #ruby-lang
dc5ala has joined #ruby-lang
celinedior has quit [Quit: celinedior]
<TTilus> yxhuvud: "they" being ... jruby folks?
madb055 has quit [Ping timeout: 256 seconds]
kgrz has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has joined #ruby-lang
ryanf has quit [Quit: leaving]
swav has quit [Remote host closed the connection]
solars has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
havenwood has quit [Remote host closed the connection]
ryanf has joined #ruby-lang
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
kgrz has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
sepp2k has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 255 seconds]
<yxhuvud> ttilus: no, them being people that package stuff for redhat/fedora. If jruby does it too, then it may be that bundler knows how to manage that with the support for different environments it does have.
erpuds has quit [Quit: erpuds]
jxie has joined #ruby-lang
erpuds has joined #ruby-lang
erpuds has quit [Client Quit]
marr has joined #ruby-lang
cirenyc has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
cirenyc has quit [Ping timeout: 256 seconds]
kgrz has quit [Quit: Computer has gone to sleep.]
MaddinXx_ has joined #ruby-lang
mytrile has joined #ruby-lang
mrfelix has joined #ruby-lang
dr_bob has joined #ruby-lang
idkazuma has joined #ruby-lang
alex-quiterio has joined #ruby-lang
r0bgleeson has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
jastix has joined #ruby-lang
benanne has joined #ruby-lang
toretore has joined #ruby-lang
ubersapiens has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
dr_bob has quit [Quit: Leaving.]
alessio_rocco has joined #ruby-lang
symm- has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
symm- has quit [Ping timeout: 258 seconds]
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 255 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
liudelong has joined #ruby-lang
sush24 has joined #ruby-lang
security has joined #ruby-lang
megha has quit [Ping timeout: 264 seconds]
jastix has quit [Remote host closed the connection]
mbj has joined #ruby-lang
happydude has joined #ruby-lang
swav has joined #ruby-lang
workmad3 has joined #ruby-lang
swav has quit [Ping timeout: 246 seconds]
ubersapiens has quit [Ping timeout: 245 seconds]
mytrile has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
gix has quit [Ping timeout: 248 seconds]
judofyr has joined #ruby-lang
gix has joined #ruby-lang
ruby-lang579 has joined #ruby-lang
ruby-lang579 has quit [Client Quit]
idkazuma has quit [Remote host closed the connection]
idkazuma has joined #ruby-lang
GeissT has quit [Read error: Connection reset by peer]
GeissT has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
thone has quit [Ping timeout: 252 seconds]
thone has joined #ruby-lang
oddmunds has quit [Ping timeout: 245 seconds]
oddmunds has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
jastix has joined #ruby-lang
thone has quit [Ping timeout: 245 seconds]
thone has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
jastix has quit [Remote host closed the connection]
sush24 has quit [Quit: Leaving]
dhruvasagar has joined #ruby-lang
thone has quit [Ping timeout: 256 seconds]
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
idkazuma has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
heftig has joined #ruby-lang
thone has joined #ruby-lang
waxjar_ has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
waxjar has joined #ruby-lang
dhruvasagar has quit [Read error: Operation timed out]
dhruvasagar has joined #ruby-lang
<charliesome> "how good is autotools" - said no one ever
srbaker has joined #ruby-lang
vlad_starkov has joined #ruby-lang
happydude has quit [Remote host closed the connection]
srbaker has quit [Quit: Computer has gone to sleep.]
erikh has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
mrfelix has quit [Quit: Computer has gone to sleep.]
<erikh> hi friends -- anyone seeing some weirdness under 2.0.0-p0 where killing a rake process with multiple threads keeps the other threads alive while killing the main thread?
mrfelix has joined #ruby-lang
<erikh> it's a minitest suite, seen this in a few places but I'm not sure it's minitest.
<erikh> wow, no ryan? that is rather surprising
thone has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
kgrz has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
mytrile has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 264 seconds]
divout has joined #ruby-lang
waxjar has quit [Ping timeout: 258 seconds]
thone has joined #ruby-lang
waxjar has joined #ruby-lang
thone has quit [Ping timeout: 276 seconds]
thone has joined #ruby-lang
postmodern has quit [Quit: Leaving]
thone has quit [Ping timeout: 252 seconds]
marr has quit [Ping timeout: 256 seconds]
thone has joined #ruby-lang
thone has quit [Ping timeout: 256 seconds]
mytrile has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
<charliesome> has anyone ever put in a feature request to remove :: method calls?
vlad_sta_ has joined #ruby-lang
thone has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
mbj_ has joined #ruby-lang
sepp2k has joined #ruby-lang
sepp2k1 has quit [Ping timeout: 256 seconds]
thone has quit [Ping timeout: 256 seconds]
thone has joined #ruby-lang
vlad_sta_ has quit [Ping timeout: 258 seconds]
mbj has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
slacko23896 has joined #ruby-lang
srbaker has joined #ruby-lang
slacko23896 has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
mbj has joined #ruby-lang
pskosinski has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mbj_ has quit [Ping timeout: 252 seconds]
srbaker has quit [Client Quit]
retro|cz has quit [Ping timeout: 256 seconds]
jxie has quit [Quit: leaving]
vlad_starkov has quit [Ping timeout: 252 seconds]
liudelong has quit [Quit: ~ Trillian - www.trillian.im ~]
mbj_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
guiambros has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
mbj has quit [Ping timeout: 258 seconds]
vlad_starkov has joined #ruby-lang
<whitequark> charliesome: I don't think anything was ever removed from Ruby, except maybe lambda { |@a| }
<charliesome> whitequark: $=
mbj_ is now known as mbj
guiambros has joined #ruby-lang
<whitequark> charliesome: oh right
<charliesome> i think actually quite a few things have been removed
rippa has quit [Ping timeout: 240 seconds]
srbaker has joined #ruby-lang
havenwood has joined #ruby-lang
security is now known as megha
yfeldblum has joined #ruby-lang
weeb1e has quit [Read error: Operation timed out]
tockitj has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
mhenrixon has quit [Quit: Textual IRC Client: www.textualapp.com]
megha has quit [Quit: WeeChat 0.4.0]
baba has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 256 seconds]
srbaker has joined #ruby-lang
rippa has joined #ruby-lang
vlad_starkov has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
vlad_sta_ has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
adambeynon has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sush24 has joined #ruby-lang
vlad_sta_ has quit [Ping timeout: 272 seconds]
baba has quit [Ping timeout: 240 seconds]
srbaker has joined #ruby-lang
baba has joined #ruby-lang
srbaker has quit [Client Quit]
xcombelle has joined #ruby-lang
thone has quit [Read error: Operation timed out]
wallerdev has joined #ruby-lang
adambeynon has quit [Quit: Computer has gone to sleep.]
srbaker has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
srbaker has quit [Client Quit]
<mbj> whitequark: There is only one metadata key? :source_map, cant we just skip the hash, and se source_map as a 3rd argument to AST::Node constructor?
<mbj> whitequark: Could also default to nil.
wallerdev has quit [Quit: wallerdev]
<whitequark> mbj: yes
cordax has joined #ruby-lang
guiambros has quit [Quit: Leaving]
srbaker has joined #ruby-lang
mytrile has joined #ruby-lang
<mbj> whitequark: okay
r0bgleeson has joined #ruby-lang
guiambros has joined #ruby-lang
<TTilus> yxhuvud: afaik jruby does not do it
sush24 has quit [Quit: This computer has gone to sleep]
vlad_sta_ has joined #ruby-lang
bothra has quit [Read error: Connection reset by peer]
bothra has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
TheNotary has quit [Quit: Leaving]
thone has joined #ruby-lang
guiambros has quit [Quit: Leaving]
thone has quit [Read error: Operation timed out]
thone has joined #ruby-lang
guiambros has joined #ruby-lang
wallerdev has joined #ruby-lang
cordax has quit [Quit: Computer has gone to sleep.]
sush24 has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
vlad_sta_ has quit [Ping timeout: 252 seconds]
GeissT has quit [Quit: MillBroChat AdIRC User]
marr has joined #ruby-lang
tomzx_mac has joined #ruby-lang
sepp2k has quit [Ping timeout: 240 seconds]
kristofferrr has joined #ruby-lang
xcombelle has quit [Ping timeout: 256 seconds]
slowhands has joined #ruby-lang
unstable has joined #ruby-lang
sepp2k has joined #ruby-lang
arubin has joined #ruby-lang
unstable has left #ruby-lang [#ruby-lang]
Mon_Ouie has joined #ruby-lang
xcombelle has joined #ruby-lang
plurt has joined #ruby-lang
jxie has joined #ruby-lang
plurt has quit [Client Quit]
marr has quit [Ping timeout: 264 seconds]
<whitequark> mbj: ok... only case/when and rescue/ensure maps left!
vlad_starkov has joined #ruby-lang
blacktulip has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
TheNotary has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
slowhands has quit [Read error: Connection reset by peer]
slowhands has joined #ruby-lang
spuk has quit [Ping timeout: 252 seconds]
spuk has joined #ruby-lang
divout has quit [Quit: Leaving.]
mwjcomputing has joined #ruby-lang
thone has quit [Ping timeout: 246 seconds]
thone has joined #ruby-lang
sush24 has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
psyanid3 has joined #ruby-lang
psyanid3 has quit [Client Quit]
jovy88 has quit [Ping timeout: 258 seconds]
achiu has quit [Quit: WeeChat 0.4.0]
brianpWins has joined #ruby-lang
kristofferrr has quit [Quit: ❤]
<TheNotary> Does logger.rb have a setting for "trim the first 500 lines of the log file if log_file.size >= max_log_file_size"?
achiu has joined #ruby-lang
achiu has quit [Client Quit]
<TheNotary> i'm not very experienced with log files (and I'm not a UNIX pro yet) but that above algo is my expected log file size handling algo
<TheNotary> maybe i'm odd in this respect?
achiu has joined #ruby-lang
<TheNotary> I'm about to do a quick gem for logger-tidy that adds this feature unless it's a dumb feature
symm- has joined #ruby-lang
t_ has joined #ruby-lang
marr has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
dhruvasagar has joined #ruby-lang
srbaker has joined #ruby-lang
mistym has joined #ruby-lang
mistym has joined #ruby-lang
pskosinski has joined #ruby-lang
srbaker has quit [Client Quit]
amerine has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 252 seconds]
zmike has joined #ruby-lang
zmike has quit [Read error: Connection reset by peer]
sush24 has quit [Ping timeout: 246 seconds]
sush24 has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
weeb1e has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
sush24 has quit [Quit: This computer has gone to sleep]
erpuds has joined #ruby-lang
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby-lang
guiambros has quit [Ping timeout: 252 seconds]
guiambros has joined #ruby-lang
Nisstyre-laptop has quit [Quit: Leaving]
jovy88 has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
xcombelle has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC.]
bnagy has quit [Ping timeout: 245 seconds]
brianpWins has joined #ruby-lang
mytrile has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
blacktulip has joined #ruby-lang
mytrile has quit [Ping timeout: 256 seconds]
<r0bgleeson> is it possible to make a subprocess aware of new FDs created in the parent after the spawn of a subprocess?
mwjcomputing has quit [Quit: Leaving]
adambeynon has joined #ruby-lang
tylersmith has joined #ruby-lang
MartynKeigher has quit [Excess Flood]
workmad3 has joined #ruby-lang
<rue> r0bgleeson: Yes. With IPC
bnagy has joined #ruby-lang
AJA_ has joined #ruby-lang
<rue> There’s actually a trick to /transport/ an FD into a different process, but kinda eugh. Rather maybe use the shared accept socket or something.
erpuds has quit [Quit: erpuds]
tylersmith has quit [Quit: tylersmith]
AJA_ has quit [Client Quit]
<whitequark> hi yorickpeterse
workmad3 has quit [Ping timeout: 255 seconds]
<r0bgleeson> rue: do you have an example/more information?
<r0bgleeson> rue: the issue right now is that the new FDs are created after the child, the child uses for_fd(…) to get at the new FDs(which the child can not load)
<r0bgleeson> ah actully, after writing that, maybe it is a time issue
<rue> What are the FDs /for/?
<rue> Can you create them up front?
<r0bgleeson> a pair of UNIXSockets
<r0bgleeson> I could, but it is more of an API question for me, whether or not the user will be forced to create them upfront
<rue> If it’s accept()able sockets, it’s easy to solve. Can’t the children create the sockets just as well, if not?
<r0bgleeson> the problem is sort of complex, but the whole idea is for the parent to create the sockets so that the child can write to them & the parent can pick up whatever was written later on.
<r0bgleeson> works fine if the socket is created before the fork, blows up otherwise
guiambros has quit [Ping timeout: 252 seconds]
AJA has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
retro|cz has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 255 seconds]
Mon_Ouie has joined #ruby-lang
weeb1e has quit [Remote host closed the connection]
<whitequark> r0bgleeson: you can create a pipe
<whitequark> and pass fds through it
weeb1e has joined #ruby-lang
<whitequark> to my knowledge, there isn't any other way to share fd's, except opening them without O_CLOEXEC and forking, or passing through pipes.
jovy88 has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby-lang
<r0bgleeson> whitequark: already using a named pipe to transport the FDs
<r0bgleeson> whitequark: the problem is they cannot be re-initialized with the FDs since they were created after the fork
brianpWins has joined #ruby-lang
<r0bgleeson> whitequark: maybe its just a limitation i have to work within
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
<whitequark> r0bgleeson: re-initialized?
<r0bgleeson> whitequark: in the child I say, UNIXSocket.for_fd fd_created_after_fork, thats what I meant by 're-initialize'.
Caius has joined #ruby-lang
<r0bgleeson> whitequark: the error I get back is Bad File Descriptor (forget the Errno for that)
havenwood has quit [Ping timeout: 276 seconds]
<whitequark> -EBADF
<whitequark> (why the hell do i know that)
<whitequark> r0bgleeson: hm. how do you transport the fds via pipe?
<r0bgleeson> whitequark: the most minimal case I can show you is clouded in my gems. basically, i have a process pool that uses a named pipe(UNIXSocket) to send over the FDs after they've been created, and those FDs are passed to UNIXSOcket.for_fd
<r0bgleeson> UNIXSocket.for_fd*
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby-lang
<whitequark> r0bgleeson: so... do you use Socket::AncillaryData and friends?
<r0bgleeson> whitequark: nope.. here is the object im sending to the child: https://github.com/robgleeson/ichannel/blob/master/lib/ichannel/unix_socket.rb#L162-L173
<r0bgleeson> it has been created before the fork
<r0bgleeson> marshal_load is called in the child
plurt has joined #ruby-lang
<r0bgleeson> it blows up wit Ernno::EBADF.
canton7 has quit [Remote host closed the connection]
canton7 has joined #ruby-lang
<whitequark> ah
<whitequark> of course.
<whitequark> ruby's exec closes all non-stdio file descriptors by default
plurt has quit [Client Quit]
benanne has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
TheNotary has quit [Quit: Leaving]
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby-lang
wmoxam has quit [Ping timeout: 246 seconds]
bougyman has quit [Ping timeout: 245 seconds]
<r0bgleeson> whitequark: should I look into #fcntl?
<r0bgleeson> whitequark: also, it has been created after the fork**]
mytrile has joined #ruby-lang
<whitequark> r0bgleeson: then you need a completely different API
<whitequark> if the fd was created after the fork
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
<whitequark> fd namespaces are per-process. forked processes inherit all non-O_CLOEXEC fds
weeb1e has joined #ruby-lang
<r0bgleeson> whitequark: yeah, FD is created after the work. so it may be a limitation that the FD needs to be created before the pool.
<r0bgleeson> s/work/fork/
Caius has quit [Quit: ""]
<r0bgleeson> wow this is awesome
<r0bgleeson> thanks whitequark !!
Caius has joined #ruby-lang
<r0bgleeson> too bad this method isnt documented at all
<whitequark> r0bgleeson: it is
<whitequark> I just linked you to the docs
weeb1e_ has joined #ruby-lang
<r0bgleeson> whitequark: ah okay, pry doesn't pick it up
<r0bgleeson> i probably need to build the C docs
weeb1e has quit [Ping timeout: 252 seconds]
glebm has joined #ruby-lang
<r0bgleeson> whitequark: ah, pry fails because source_location returns nil.
srbaker has joined #ruby-lang
<whitequark> yep it's a C method
jacktrick has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
srbaker has quit [Quit: Computer has gone to sleep.]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
havenwood has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
<erikh> sorry to be so persistent, but has anyone seen an issue with rake swallowing Interrupt in something it's forking on (e.g., test run) and aborting, but the child process stays around?
<erikh> almost like it was setsid or something.
Xuerian has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
tockitj has joined #ruby-lang
skinny_much has joined #ruby-lang
<akahn> I'm testing a sinatra application with rack test. is there a way, when the application returns a 500, to see the ruby exception that the app raised? I'd like something easier than scanning through the HTML output of `puts last_response.body`
<whitequark> erikh: hello again!
<erikh> hi
havenwood has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Ping timeout: 272 seconds]
tbuehlmann has quit [Ping timeout: 260 seconds]
benanne has joined #ruby-lang
Bosox20051 has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
mbj_ has joined #ruby-lang
cored has joined #ruby-lang
mbj has quit [Ping timeout: 260 seconds]
alessio_rocco has quit [Ping timeout: 264 seconds]
mytrile has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
guiambros has joined #ruby-lang
skinny_much is now known as zz_skinny_much
vlad_starkov has quit [Ping timeout: 256 seconds]
guiambros has quit [Ping timeout: 276 seconds]
banisterfiend has joined #ruby-lang
fosky has joined #ruby-lang
alessio_rocco has joined #ruby-lang
havenwood has joined #ruby-lang
zz_skinny_much is now known as skinny_much
weeb1e_ has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby-lang
sailias has joined #ruby-lang
mrfelix has quit [Quit: Textual IRC Client: www.textualapp.com]
AJA has quit [Quit: AJA]
shirokuro11 has joined #ruby-lang
shirokuro11 has quit [Remote host closed the connection]
shirokuro11 has joined #ruby-lang
oneirophren has joined #ruby-lang
srbaker has joined #ruby-lang
srbaker has quit [Client Quit]
rippa has quit [Ping timeout: 240 seconds]
<yorickpeterse> whitequark: sup
banisterfiend has quit [Remote host closed the connection]
tockitj has quit [Changing host]
tockitj has joined #ruby-lang
workmad3 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<manveru> akahn: remove the ShowExceptions middleware?
srbaker has joined #ruby-lang
<akahn> manveru: here's the solution I came up with https://gist.github.com/akahn/5431181
sailias has quit [Quit: Leaving.]
mbj_ has quit [Ping timeout: 255 seconds]
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
weeb1e has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Remote host closed the connection]
oneirophren has quit [Ping timeout: 256 seconds]
srbaker has joined #ruby-lang
srbaker has quit [Client Quit]
srbaker has joined #ruby-lang
<whitequark> yorickpeterse: did you do anything with parser yet?
<whitequark> I'm almost done with precise source maps
vlad_starkov has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 245 seconds]
<whitequark> though I feel that I'll uncomment the switch and hundreds of tests will fail :|
workmad3 has quit [Ping timeout: 248 seconds]
AJA has joined #ruby-lang
AJA has quit [Client Quit]
weeb1e has quit [Ping timeout: 272 seconds]
Squarepy has joined #ruby-lang
alessio_rocco has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 245 seconds]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
Bosox20051 has quit [Ping timeout: 245 seconds]
ridget has joined #ruby-lang
workmad3 has joined #ruby-lang
knu has quit [Ping timeout: 264 seconds]
bougyman has joined #ruby-lang
bougyman has quit [Changing host]
bougyman has joined #ruby-lang
solars has quit [Ping timeout: 264 seconds]
erpuds has joined #ruby-lang
dbussink has quit [Ping timeout: 272 seconds]
dbussink has joined #ruby-lang
setmeaway has quit [Quit: Leaving]
setmeaway has joined #ruby-lang
chimkan has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
jacktrick has quit [Quit: Leaving]
srbaker has quit [Quit: Computer has gone to sleep.]
dvorak has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
idkazuma has joined #ruby-lang
srbaker has joined #ruby-lang
vlad_starkov has joined #ruby-lang
megha has joined #ruby-lang
idkazuma has quit [Ping timeout: 260 seconds]
baba has quit [Ping timeout: 264 seconds]
srbaker has quit [Client Quit]
idkazuma has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
benanne has quit [Quit: kbai]
Nisstyre-laptop has quit [Quit: Leaving]
Squarepy has quit [Quit: Leaving]
erpuds has quit [Quit: erpuds]
skinny_much is now known as zz_skinny_much
KINGSABRI has joined #ruby-lang
<KINGSABRI> hello guys
srbaker has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
kain has quit [Quit: exit]
<KINGSABRI> I need to GET url with sql query
agarie has joined #ruby-lang
<KINGSABRI> something link http://site.com/cat.php?cat=1 and 1=if(LENGTH((select email from users)) = 15,sleep(5),2) -- -
tallship has quit [Ping timeout: 246 seconds]
<KINGSABRI> but this is not acceptable by URI
<KINGSABRI> any idea?
srbaker has quit [Client Quit]
sepp2k has quit [Remote host closed the connection]
pskosinski has quit [Quit: pskosinski]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
Xuerian has quit [Read error: Connection reset by peer]
Xuerian has joined #ruby-lang
tylersmith has joined #ruby-lang
erpuds has joined #ruby-lang
Xuerian has quit [Read error: Connection reset by peer]
Xuerian has joined #ruby-lang
tallship has joined #ruby-lang
symm- has quit [Read error: Operation timed out]
erikh has left #ruby-lang ["WeeChat 0.4.0"]
retro|cz has quit [Ping timeout: 252 seconds]
mjio has joined #ruby-lang
erpuds has quit [Quit: erpuds]
rlqualls_ has joined #ruby-lang
charliesome has joined #ruby-lang
retro|cz has joined #ruby-lang
lacrosse has quit [Ping timeout: 258 seconds]
glebm has quit [Ping timeout: 252 seconds]
tenderlove has joined #ruby-lang
matthewd has quit [Ping timeout: 256 seconds]
r0bgleeson has quit [Ping timeout: 272 seconds]
madb055 has joined #ruby-lang
rlqualls_ has quit [Client Quit]
glebm has joined #ruby-lang
idkazuma has joined #ruby-lang
r0bby has quit [Ping timeout: 258 seconds]