nari has quit [Ping timeout: 256 seconds]
carlosan_ has joined #ruby-core
carlosantonio has quit [Ping timeout: 260 seconds]
<drbrain> nurse: ping
<nurse> drbrain: pong
idkazuma has quit [Remote host closed the connection]
<drbrain> nurse: can you check out http://bugs.ruby-lang.org/issues/7831
<nurse> ah, #7831
<drbrain> yes :D
<drbrain> sorry I didn't test it with mechanize sooner
<drbrain> I'm not particularly fond of Net::HTTPGenericResponse#[]=, but I think it is least-intrusive way to be compatible
yopp has quit [Quit: yopp]
<nurse> ok, commit it
<drbrain> nurse: ok!
<drbrain> nurse: do I need mame1's approval to backport too?
<nurse> yeah, you should confirm the backport policy
<drbrain> ok, I will
<drbrain> thank you for your review!
<nurse> welcome ;)
_ko1 has quit [Quit: Quit Nadoka 0.7.5-trunk (rev: 228) - http://www.atdot.net/nadoka/]
_ko1 has joined #ruby-core
<nurse> hi
<_ko1> hi nurse
<drbrain> nurse: do you think I should propose handling of broken servers for Accept-Encoding/Content-Encoding
<drbrain> (in the future)
<drbrain> nurse: some servers send deflate data with Content-Encoding: gzip, for example
<drbrain> browsers say "OK" and process it :/
<nurse> First, such handling process should be standardized in HTML5/WHATWG.
<nurse> After specified, net/http implement it.
<drbrain> ok
<drbrain> mechanize has this code, so I will leave it there
<drbrain> I do want to bring in HTTP authentication support from mechanize
<nurse> Of course, if users strongly want it, you can add it ;)
<drbrain> since HTTP auth is standard, it seems easier to import :D
<znz_v> biff: [ruby-changes:27180] drbrain:r39232 (trunk): * lib/net/http: Do not handle Content-Encoding when the user sets - http://mla.n-z.jp/?ruby-changes=27180
<znz_v> biff: [ruby-changes:27181] drbrain:r39233 (trunk): * lib/net/http: Do not handle Content-Encoding when the user sets - http://mla.n-z.jp/?ruby-changes=27181
<drbrain> crap, I am no good at committing today, I used same commit message instead of "commit miss"
<nurse> It sounds good. Current ruby has BASIC auth as a part of open-uri, but doesn't have digest auth. it is not a good situation.
<drbrain> I wrote digest auth a long time ago, but to do auth properly you need to track Realm
<drbrain> also, Digest auth works best with persistent data across connections
<drbrain> so it hasn't been a good fit with Net::HTTP in the past
davidbalbert is now known as davidbalber|away
nari has joined #ruby-core
charliesome has joined #ruby-core
<znz_v> biff: [ruby-changes:27182] nobu:r39234 (trunk): vm_method.c: fix method_removed - http://mla.n-z.jp/?ruby-changes=27182
<znz_v> biff: [ruby-changes:27183] nobu:r39235 (trunk): vm_method.c: fix method_removed - http://mla.n-z.jp/?ruby-changes=27183
kosaki2 has joined #ruby-core
kosaki2 has quit [Remote host closed the connection]
agarie has quit [Remote host closed the connection]
agarie has joined #ruby-core
<znz_v> biff: [ruby-changes:27184] nobu:r39236 (trunk): class.c: cyclic prepend - http://mla.n-z.jp/?ruby-changes=27184
Hanmac1 has joined #ruby-core
Hanmac has quit [Ping timeout: 276 seconds]
carlosan_ has quit [Remote host closed the connection]
davidbalber|away is now known as davidbalbert
kosaki8 has joined #ruby-core
Hanmac1 has quit [Ping timeout: 255 seconds]
Hanmac has joined #ruby-core
marcandre has quit [Remote host closed the connection]
xibbar has quit [Remote host closed the connection]
xibbar has joined #ruby-core
marcandre has joined #ruby-core
agarie_ has joined #ruby-core
agarie has quit [Read error: No route to host]
<znz_v> biff: [ruby-changes:27185] zzak:r39237 (ruby_2_0_0): * Backport r39168 Warning about TracePoint events to 2.0.0 - http://mla.n-z.jp/?ruby-changes=27185
<zzak> i did it :D
<_ko1> Thank you!
<zzak> _ko1: おやすみなさい!
<_ko1> おやすみ!
marcandre has quit [Remote host closed the connection]
<_ko1> drbrain: http://www.atdot.net/sp/view/rf17im I got these failure on mswin32
<_ko1> failures
<_ko1> this environment, there is no zlib, no open-ssl.
<drbrain> _ko1: do you have ZLIB?
<drbrain> ah, OK
<drbrain> I will fix it
<_ko1> thanks
<drbrain> last week under 1/5 of users downloading gems from rubygems.org used ruby 1.8.x
<_ko1> I add info to ticket
<_ko1> :) -> 1.8
<drbrain> last year around this time ½ of users downloading gems from rubygems.org used ruby 1.8.x
<drbrain> _ko1: I'm not sure how to fix TestNetHTTP_v1_2 test failures
<_ko1> naruse-san, are you here?
<nurse> ?
<drbrain> _ko1: but for the other two, can you try https://gist.github.com/drbrain/4950704
<_ko1> nurse: could you check the last two?
<drbrain> nurse: we are looking at http://www.atdot.net/sp/view/rf17im
<drbrain> my patch above fixes the first two
<_ko1> drbrain: i try it now
<drbrain> but we do rescue … OpenSSL::SSL::SSLError
<drbrain> so net/http has a dependency on OpenSSL now
<drbrain> we can fix it by placing the exceptions in a constant and conditionally adding OpenSSL
<drbrain> it seems to be too big of a change for me to make without approval
<_ko1> drbrain: solved!
<drbrain> _ko1: ok, I will commit it
<drbrain> nurse: if you do not mind ↑
<nurse> begin;raise IOError;rescue IOError, defined?(OpenSSL) ? OpenSSL::SSL::SSLError : IOError;end
<drbrain> nurse: nice trick! should I commit it?
<nurse> ok
<drbrain> ok, I will commit both together
<drbrain> nurse: hrm, I don't think it will work
<drbrain> ruby -e 'autoload :X, "x"; p defined?(X)' #=> "constant"
<drbrain> I have no x.rb
<drbrain> OpenSSL is autoloaded, so maybe begin; require 'openssl; rescue LoadError; end
<nurse> hmm
<nurse> use defined?(OpenSSL::SSL)
<drbrain> _ko1: can you test it ↑
<drbrain> only the first patch is changed
<_ko1> sure
<drbrain> oops, I need to revert the first chunk
<drbrain> I fixed the net/http.rb patch: https://gist.github.com/drbrain/4950704
<_ko1> only second chun?
<drbrain> only second chunk, but I updated ↑
<_ko1> ok
<_ko1> doesn't fixed
<drbrain> oh good, now I can fix the ZLIB dependency in the test
<_ko1> May I check it?
<drbrain> please
<_ko1> sure
<_ko1> fixed!
<_ko1> all passed
<drbrain> ok, I will commit
<_ko1> thank you!
<znz_v> biff: [ruby-changes:27186] drbrain:r39238 (trunk): * lib/net/http.rb: Removed OpenSSL dependency from Net::HTTP. - http://mla.n-z.jp/?ruby-changes=27186
agarie_ has quit [Remote host closed the connection]
davidbalbert is now known as davidbalber|away
agarie has joined #ruby-core
<drbrain> I filed http://bugs.ruby-lang.org/issues/7852 for mame1
<_ko1> drbrain: i'm not sure about gems in ruby 2.0
<_ko1> any big changes?
agarie has quit [Remote host closed the connection]
charliesome_ has joined #ruby-core
charliesome has quit [Disconnected by services]
charliesome_ is now known as charliesome
xibbar has quit [Ping timeout: 256 seconds]
judofyr has joined #ruby-core
yopp has joined #ruby-core
nari has quit [Ping timeout: 276 seconds]
guilleiguaran has quit [Ping timeout: 276 seconds]
guilleiguaran has joined #ruby-core
carlosantonio has joined #ruby-core
nokada_ has joined #ruby-core
nokada_ has quit [Read error: Connection reset by peer]
nokada_ has joined #ruby-core
nokada has quit [Read error: Connection reset by peer]
carlosantonio has quit [Remote host closed the connection]
marcandre has joined #ruby-core
marcandre has quit [Remote host closed the connection]
yopp_ has joined #ruby-core
<znz_v> biff: [ruby-changes:27187] akr:r39239 (trunk): * ext/socket: always operate length of socket addess companion with - http://mla.n-z.jp/?ruby-changes=27187
yopp has quit [Ping timeout: 256 seconds]
yopp_ is now known as yopp
carlosantonio has joined #ruby-core
ncultures has joined #ruby-core
ncultures has left #ruby-core [#ruby-core]
nari has joined #ruby-core
marcandre has joined #ruby-core
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<znz_v> biff: [ruby-changes:27188] akr:r39240 (trunk): * ext/socket/socket.c (sockaddr_len): extracted from sockaddr_obj. - http://mla.n-z.jp/?ruby-changes=27188
nokada has joined #ruby-core
nokada_ has quit [Read error: Connection reset by peer]
<yopp> guys, is there any way to get info about what references blocking object from being GC'ed?
<zzak> yopp: I think you can try ObjectSpace.reachable_objects_from
<judofyr> yopp: yeah, have a look at the ObjectSpace-module
<mame1> (I didn't realize that feature!)
<yopp> hum
<yopp> can't find this stuff in my 1.9.3-p194
<mame1> maybe 2.0.0 new feature?
<yopp> yup
<yopp> found this in trunk
<mame1> oh Japanese
<zzak> aaron also translated: https://gist.github.com/tenderlove/4357176
<mame1> awesome
<zzak> :D
<mame1> it seems to have a slightly different motivation?
<yopp> okay. Is there anything special about GC'ing strings?
<zzak> possibly, i need to read more into it when i have time
<mame1> that feature tells us what objects are referred by the object in question
<mame1> but we need to know what objects refer to the object in question
<zzak> ahh
<zzak> yah we need the other way
<zzak> my mistake
<mame1> no prob for me
<mame1> thank you for telling me a new feature that i didn't realize :-)
<yopp> I'm trying to figure out why strings are leaking. We have like +250k strings in app for each DB import iteration, and they never GC'ed.
<zzak> that koichi-san has been hard at work
nari has quit [Ping timeout: 255 seconds]
__BigO__ has joined #ruby-core
davidbalber|away is now known as davidbalbert
<znz_v> biff: [ruby-changes:27189] kazu:r39241 (trunk): remove trailing spaces - http://mla.n-z.jp/?ruby-changes=27189
<yopp> okay. Is there any tools for getting places of string allocations?
<yopp> Like it was in memprof for 1.8
<znz_v> biff: [ruby-changes:27190] akr:r39242 (trunk): * ext/socket/sockport.h (VALIDATE_SOCKLEN): new macro to validate - http://mla.n-z.jp/?ruby-changes=27190
<znz_v> biff: [ruby-changes:27191] svn:r39243 (trunk): * 2013-02-15 - http://mla.n-z.jp/?ruby-changes=27191
<znz_v> biff: [ruby-changes:27192] naruse:r39244 (ruby_2_0_0): merge revision(s) 39232,39233,39238: [Backport #7831][Backport #7852] - http://mla.n-z.jp/?ruby-changes=27192
<zzak> mame1: nagachika++
davidbalbert is now known as davidbalber|away
davidbalber|away is now known as davidbalbert
judofyr has quit [Remote host closed the connection]
davidbalbert is now known as davidbalber|away
kosaki8 has quit [Ping timeout: 256 seconds]
davidbalber|away is now known as davidbalbert
davidbalbert is now known as davidbalber|away
kosaki2 has joined #ruby-core
kosaki2 has quit [Remote host closed the connection]
kosaki2 has joined #ruby-core
halogenandtoast has joined #ruby-core
kosaki2 has quit [Remote host closed the connection]
davidbalber|away is now known as davidbalbert
kosaki2 has joined #ruby-core
davidbalbert is now known as davidbalber|away
davidbalber|away is now known as davidbalbert
<znz_v> biff: [ruby-changes:27193] kosaki:r39245 (trunk): * test/ruby/test_process.rb (test_setsid): Added a workaround for - http://mla.n-z.jp/?ruby-changes=27193
judofyr has joined #ruby-core
ex9t has quit [Read error: Connection reset by peer]
ex9t has joined #ruby-core
carlosantonio has quit [Remote host closed the connection]
davidbalbert is now known as davidbalber|away
davidbalber|away is now known as davidbalbert
judofyr has quit [Remote host closed the connection]
kosaki2 has quit [Remote host closed the connection]
davidbalbert is now known as davidbalber|away
kosaki2 has joined #ruby-core
halogenandtoast has quit [Quit: halogenandtoast]
kosaki2 has quit [Remote host closed the connection]
_br_ has quit [Excess Flood]
_br_ has joined #ruby-core
idkazuma has joined #ruby-core
_br_ has quit [Excess Flood]
_br_ has joined #ruby-core
idkazuma has quit [Remote host closed the connection]
xibbar has joined #ruby-core
xibbar has quit [Remote host closed the connection]
<znz_v> biff: [ruby-changes:27194] akr:r39246 (trunk): * ext/socket/sockport.h (SA_LEN): removed because unused now. - http://mla.n-z.jp/?ruby-changes=27194
kosaki2 has joined #ruby-core
kosaki2 has quit [Remote host closed the connection]
xibbar has joined #ruby-core
xibbar has quit [Remote host closed the connection]
xibbar has joined #ruby-core
xibbar has quit [Remote host closed the connection]
idkazuma has joined #ruby-core
davidbalber|away is now known as davidbalbert
__BigO__ has quit [Remote host closed the connection]
<znz_v> biff: [ruby-changes:27195] drbrain:r39247 (trunk): * lib/rdoc.rb: Update to release version of 4.0.0 - http://mla.n-z.jp/?ruby-changes=27195
xibbar has joined #ruby-core
wudofyr_ has quit [Ping timeout: 276 seconds]
xibbar has quit [Remote host closed the connection]
wudofyr_ has joined #ruby-core
charliesome has joined #ruby-core
<znz_v> biff: [ruby-changes:27196] akr:r39248 (trunk): * ext/socket/sockport.h (SET_SS_LEN): removed. - http://mla.n-z.jp/?ruby-changes=27196
yopp has left #ruby-core [#ruby-core]
xibbar has joined #ruby-core
xibbar has quit [Remote host closed the connection]
xibbar has joined #ruby-core
nari has joined #ruby-core
xibbar has quit [Ping timeout: 252 seconds]
xibbar has joined #ruby-core
kosaki8 has joined #ruby-core
kosaki8 has quit [Client Quit]
_br_ has quit [Excess Flood]
_br_ has joined #ruby-core
xibbar has quit [Ping timeout: 256 seconds]
_br_ has quit [Excess Flood]
_br_ has joined #ruby-core
idkazuma has quit [Remote host closed the connection]