00:17
nari has quit [Ping timeout: 256 seconds]
00:30
carlosan_ has joined #ruby-core
00:32
carlosantonio has quit [Ping timeout: 260 seconds]
00:38
<
drbrain >
nurse: ping
00:42
<
nurse >
drbrain: pong
00:42
idkazuma has quit [Remote host closed the connection]
00:42
<
drbrain >
sorry I didn't test it with mechanize sooner
00:43
<
drbrain >
I'm not particularly fond of Net::HTTPGenericResponse#[]=, but I think it is least-intrusive way to be compatible
00:49
yopp has quit [Quit: yopp]
00:54
<
nurse >
ok, commit it
00:58
<
drbrain >
nurse: ok!
00:59
<
drbrain >
nurse: do I need mame1's approval to backport too?
01:00
<
nurse >
yeah, you should confirm the backport policy
01:00
<
drbrain >
ok, I will
01:00
<
drbrain >
thank you for your review!
01:03
_ko1 has joined #ruby-core
01:04
<
drbrain >
nurse: do you think I should propose handling of broken servers for Accept-Encoding/Content-Encoding
01:04
<
drbrain >
(in the future)
01:05
<
drbrain >
nurse: some servers send deflate data with Content-Encoding: gzip, for example
01:05
<
drbrain >
browsers say "OK" and process it :/
01:06
<
nurse >
First, such handling process should be standardized in HTML5/WHATWG.
01:06
<
nurse >
After specified, net/http implement it.
01:06
<
drbrain >
mechanize has this code, so I will leave it there
01:07
<
drbrain >
I do want to bring in HTTP authentication support from mechanize
01:07
<
nurse >
Of course, if users strongly want it, you can add it ;)
01:07
<
drbrain >
since HTTP auth is standard, it seems easier to import :D
01:10
<
drbrain >
crap, I am no good at committing today, I used same commit message instead of "commit miss"
01:10
<
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.
01:10
<
drbrain >
I wrote digest auth a long time ago, but to do auth properly you need to track Realm
01:11
<
drbrain >
also, Digest auth works best with persistent data across connections
01:11
<
drbrain >
so it hasn't been a good fit with Net::HTTP in the past
01:18
davidbalbert is now known as davidbalber|away
01:20
nari has joined #ruby-core
01:24
charliesome has joined #ruby-core
01:48
kosaki2 has joined #ruby-core
01:50
kosaki2 has quit [Remote host closed the connection]
01:53
agarie has quit [Remote host closed the connection]
01:57
agarie has joined #ruby-core
02:11
Hanmac1 has joined #ruby-core
02:14
Hanmac has quit [Ping timeout: 276 seconds]
02:51
carlosan_ has quit [Remote host closed the connection]
03:00
davidbalber|away is now known as davidbalbert
03:01
kosaki8 has joined #ruby-core
03:06
Hanmac1 has quit [Ping timeout: 255 seconds]
03:07
Hanmac has joined #ruby-core
03:27
marcandre has quit [Remote host closed the connection]
03:27
xibbar has quit [Remote host closed the connection]
03:27
xibbar has joined #ruby-core
03:55
marcandre has joined #ruby-core
03:56
agarie_ has joined #ruby-core
03:57
agarie has quit [Read error: No route to host]
04:19
<
zzak >
_ko1: おやすみなさい!
04:28
marcandre has quit [Remote host closed the connection]
04:52
<
_ko1 >
this environment, there is no zlib, no open-ssl.
04:52
<
drbrain >
_ko1: do you have ZLIB?
04:52
<
drbrain >
I will fix it
04:53
<
drbrain >
last week under 1/5 of users downloading gems from rubygems.org used ruby 1.8.x
04:53
<
_ko1 >
I add info to ticket
04:57
<
drbrain >
last year around this time ½ of users downloading gems from rubygems.org used ruby 1.8.x
05:06
<
drbrain >
_ko1: I'm not sure how to fix TestNetHTTP_v1_2 test failures
05:07
<
_ko1 >
naruse-san, are you here?
05:08
<
_ko1 >
nurse: could you check the last two?
05:08
<
drbrain >
my patch above fixes the first two
05:08
<
_ko1 >
drbrain: i try it now
05:08
<
drbrain >
but we do rescue … OpenSSL::SSL::SSLError
05:08
<
drbrain >
so net/http has a dependency on OpenSSL now
05:09
<
drbrain >
we can fix it by placing the exceptions in a constant and conditionally adding OpenSSL
05:09
<
drbrain >
it seems to be too big of a change for me to make without approval
05:10
<
_ko1 >
drbrain: solved!
05:11
<
drbrain >
_ko1: ok, I will commit it
05:11
<
drbrain >
nurse: if you do not mind ↑
05:13
<
nurse >
begin;raise IOError;rescue IOError, defined?(OpenSSL) ? OpenSSL::SSL::SSLError : IOError;end
05:13
<
drbrain >
nurse: nice trick! should I commit it?
05:13
<
drbrain >
ok, I will commit both together
05:16
<
drbrain >
nurse: hrm, I don't think it will work
05:16
<
drbrain >
ruby -e 'autoload :X, "x"; p defined?(X)' #=> "constant"
05:16
<
drbrain >
I have no x.rb
05:16
<
drbrain >
OpenSSL is autoloaded, so maybe begin; require 'openssl; rescue LoadError; end
05:18
<
nurse >
use defined?(OpenSSL::SSL)
05:19
<
drbrain >
_ko1: can you test it ↑
05:19
<
drbrain >
only the first patch is changed
05:20
<
drbrain >
oops, I need to revert the first chunk
05:21
<
_ko1 >
only second chun?
05:21
<
drbrain >
only second chunk, but I updated ↑
05:23
<
_ko1 >
doesn't fixed
05:24
<
drbrain >
oh good, now I can fix the ZLIB dependency in the test
05:28
<
_ko1 >
May I check it?
05:30
<
drbrain >
ok, I will commit
05:35
agarie_ has quit [Remote host closed the connection]
05:40
davidbalbert is now known as davidbalber|away
05:43
agarie has joined #ruby-core
05:56
<
_ko1 >
drbrain: i'm not sure about gems in ruby 2.0
05:56
<
_ko1 >
any big changes?
06:08
agarie has quit [Remote host closed the connection]
06:59
charliesome_ has joined #ruby-core
07:00
charliesome has quit [Disconnected by services]
07:00
charliesome_ is now known as charliesome
08:34
xibbar has quit [Ping timeout: 256 seconds]
09:10
judofyr has joined #ruby-core
09:16
yopp has joined #ruby-core
09:19
nari has quit [Ping timeout: 276 seconds]
09:46
guilleiguaran has quit [Ping timeout: 276 seconds]
09:47
guilleiguaran has joined #ruby-core
09:59
carlosantonio has joined #ruby-core
10:00
nokada_ has joined #ruby-core
10:01
nokada_ has quit [Read error: Connection reset by peer]
10:01
nokada_ has joined #ruby-core
10:02
nokada has quit [Read error: Connection reset by peer]
10:02
carlosantonio has quit [Remote host closed the connection]
11:23
marcandre has joined #ruby-core
11:23
marcandre has quit [Remote host closed the connection]
11:30
yopp_ has joined #ruby-core
11:32
yopp has quit [Ping timeout: 256 seconds]
11:32
yopp_ is now known as yopp
11:42
carlosantonio has joined #ruby-core
11:48
ncultures has joined #ruby-core
11:48
ncultures has left #ruby-core [#ruby-core]
12:12
nari has joined #ruby-core
12:45
marcandre has joined #ruby-core
13:37
nokada has joined #ruby-core
13:37
nokada_ has quit [Read error: Connection reset by peer]
13:47
<
yopp >
guys, is there any way to get info about what references blocking object from being GC'ed?
13:48
<
zzak >
yopp: I think you can try ObjectSpace.reachable_objects_from
13:49
<
judofyr >
yopp: yeah, have a look at the ObjectSpace-module
13:52
<
mame1 >
(I didn't realize that feature!)
13:52
<
yopp >
can't find this stuff in my 1.9.3-p194
13:54
<
mame1 >
maybe 2.0.0 new feature?
13:54
<
yopp >
found this in trunk
13:56
<
mame1 >
oh Japanese
13:57
<
mame1 >
it seems to have a slightly different motivation?
13:57
<
yopp >
okay. Is there anything special about GC'ing strings?
13:57
<
zzak >
possibly, i need to read more into it when i have time
13:58
<
mame1 >
that feature tells us what objects are referred by the object in question
13:58
<
mame1 >
but we need to know what objects refer to the object in question
13:58
<
zzak >
yah we need the other way
13:59
<
mame1 >
no prob for me
14:00
<
mame1 >
thank you for telling me a new feature that i didn't realize :-)
14:00
<
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.
14:00
<
zzak >
that koichi-san has been hard at work
14:20
nari has quit [Ping timeout: 255 seconds]
14:41
__BigO__ has joined #ruby-core
14:43
davidbalber|away is now known as davidbalbert
14:53
<
yopp >
okay. Is there any tools for getting places of string allocations?
14:53
<
yopp >
Like it was in memprof for 1.8
15:59
<
zzak >
mame1: nagachika++
16:02
davidbalbert is now known as davidbalber|away
16:03
davidbalber|away is now known as davidbalbert
16:18
judofyr has quit [Remote host closed the connection]
16:49
davidbalbert is now known as davidbalber|away
17:05
kosaki8 has quit [Ping timeout: 256 seconds]
17:18
davidbalber|away is now known as davidbalbert
17:23
davidbalbert is now known as davidbalber|away
17:34
kosaki2 has joined #ruby-core
17:58
kosaki2 has quit [Remote host closed the connection]
18:00
kosaki2 has joined #ruby-core
18:38
halogenandtoast has joined #ruby-core
18:38
kosaki2 has quit [Remote host closed the connection]
18:52
davidbalber|away is now known as davidbalbert
19:07
kosaki2 has joined #ruby-core
19:29
davidbalbert is now known as davidbalber|away
19:30
davidbalber|away is now known as davidbalbert
20:28
judofyr has joined #ruby-core
20:41
ex9t has quit [Read error: Connection reset by peer]
20:43
ex9t has joined #ruby-core
20:43
carlosantonio has quit [Remote host closed the connection]
20:50
davidbalbert is now known as davidbalber|away
20:58
davidbalber|away is now known as davidbalbert
21:02
judofyr has quit [Remote host closed the connection]
21:03
kosaki2 has quit [Remote host closed the connection]
21:16
davidbalbert is now known as davidbalber|away
21:26
kosaki2 has joined #ruby-core
21:49
halogenandtoast has quit [Quit: halogenandtoast]
21:50
kosaki2 has quit [Remote host closed the connection]
22:00
_br_ has quit [Excess Flood]
22:02
_br_ has joined #ruby-core
22:04
idkazuma has joined #ruby-core
22:04
_br_ has quit [Excess Flood]
22:08
_br_ has joined #ruby-core
22:09
idkazuma has quit [Remote host closed the connection]
22:11
xibbar has joined #ruby-core
22:12
xibbar has quit [Remote host closed the connection]
22:16
kosaki2 has joined #ruby-core
22:17
kosaki2 has quit [Remote host closed the connection]
22:18
xibbar has joined #ruby-core
22:19
xibbar has quit [Remote host closed the connection]
22:19
xibbar has joined #ruby-core
22:20
xibbar has quit [Remote host closed the connection]
22:25
idkazuma has joined #ruby-core
22:41
davidbalber|away is now known as davidbalbert
22:54
__BigO__ has quit [Remote host closed the connection]
23:04
xibbar has joined #ruby-core
23:04
wudofyr_ has quit [Ping timeout: 276 seconds]
23:12
xibbar has quit [Remote host closed the connection]
23:15
wudofyr_ has joined #ruby-core
23:16
charliesome has joined #ruby-core
23:19
yopp has left #ruby-core [#ruby-core]
23:22
xibbar has joined #ruby-core
23:24
xibbar has quit [Remote host closed the connection]
23:25
xibbar has joined #ruby-core
23:32
nari has joined #ruby-core
23:34
xibbar has quit [Ping timeout: 252 seconds]
23:37
xibbar has joined #ruby-core
23:38
kosaki8 has joined #ruby-core
23:40
kosaki8 has quit [Client Quit]
23:47
_br_ has quit [Excess Flood]
23:48
_br_ has joined #ruby-core
23:52
xibbar has quit [Ping timeout: 256 seconds]
23:53
_br_ has quit [Excess Flood]
23:54
_br_ has joined #ruby-core
23:54
idkazuma has quit [Remote host closed the connection]