00:00
<
nokada >
does rubygems pass any options to extconf.rb?
00:01
kosaki2_ has joined #ruby-core
00:01
kosaki2 has quit [Read error: Connection reset by peer]
00:06
znz_jp has quit [Quit: kill -QUIT $$]
00:07
znz_jp has joined #ruby-core
00:10
kosaki8 has quit [Ping timeout: 248 seconds]
00:19
<
_ko1 >
who's ticket?
00:19
<
_ko1 >
i can't catch up discussion
00:20
<
nokada >
extconf.rb created in test_build_extensions_with_build_args doesn't call create_makefile, so the directory can't be made
00:21
<
nokada >
drbrain: what do you expect in this test?
00:28
<
drbrain >
nokada: in 1.9.3, it seems `make install` creates lib/msgpack.bundle
00:29
<
drbrain >
even though lib/ does not exist
00:29
<
drbrain >
but in 2.0.0, `make install` creates lib when lib/ does not exist
00:30
znz_v has quit [Quit: kill -QUIT $$]
00:31
znz_v has joined #ruby-core
00:31
<
drbrain >
nokada: it is compounded by rubygems editing Makefile
00:34
<
drbrain >
nokada: perhaps RubyGems is wrong and mkrn's patch is correct, but I want to be sure
00:34
<
nokada >
at least, the test seems testing nothing
00:35
<
nokada >
dumped Makefile just after @installer.build_extensions, but it contains just 4 lines
00:35
<
nokada >
it does nothing
00:42
nari has quit [Ping timeout: 252 seconds]
00:48
nokada has quit [Ping timeout: 255 seconds]
00:50
nokada has joined #ruby-core
00:50
n0kada has quit [Remote host closed the connection]
00:50
n0kada has joined #ruby-core
00:56
<
nokada >
install-so line has no timestamp_file in the dependency list
01:04
kosaki2_ has quit [Remote host closed the connection]
01:05
nari has joined #ruby-core
01:17
<
nokada >
mf = mf.gsub(/\s*\S+\.time$/, "")
01:17
<
nokada >
this is the reason
01:18
<
nokada >
to fix parallel make issue, mkmf now uses dependency to mkdir destdir
01:23
nari has quit [Quit: Ex-Chat]
01:25
davidbalbert is now known as davidbalber|away
01:26
nari has joined #ruby-core
02:03
<
drbrain >
nokada: sorry, I had to fix my ceiling leak, I think due to mf = mf.gsub(/\s*\S+\.time$/, "") it is a rubygems bug, then
02:04
<
drbrain >
nokada: the test for mkrn's patch is only for rubygems using a dummy makefile, I don't want to depend on mkmf.rb behavior
02:07
<
zzak >
can you use gsub on your ceiling?
02:10
<
drbrain >
it's more a matter of gsub! on the tub overflow connection
02:48
<
nokada >
トムソーヤは今日もトムソーヤだな
02:49
<
nokada >
PPC64とかどうやってチェックするんだよ
02:50
<
drbrain >
nokada: ?
02:50
<
nurse >
Could you speak English?
02:50
<
drbrain >
google translate is not very useful
02:51
<
nurse >
I guess he missed a channel
02:52
<
nokada >
I said "how I can check PPC64"
02:53
<
drbrain >
I don't know anyone who has PPC64 :(
02:59
<
nokada >
Don't mind, it's probably a mistake in the test
03:01
xibbar_ has joined #ruby-core
03:03
xibbar has quit [Ping timeout: 252 seconds]
05:18
xibbar has joined #ruby-core
05:20
xibbar has quit [Read error: Connection reset by peer]
05:20
xibbar has joined #ruby-core
05:21
xibbar_ has quit [Ping timeout: 255 seconds]
06:30
xibbar has quit [Remote host closed the connection]
06:31
xibbar has joined #ruby-core
07:32
marcandre has quit [Remote host closed the connection]
07:38
schaerli has joined #ruby-core
08:19
xibbar_ has joined #ruby-core
08:24
xibbar has quit [Ping timeout: 276 seconds]
08:24
xibbar_ has quit [Ping timeout: 276 seconds]
08:53
schaerli has quit [Remote host closed the connection]
09:25
nari has quit [Ping timeout: 245 seconds]
09:53
nari has joined #ruby-core
10:05
injekt has joined #ruby-core
10:20
schaerli has joined #ruby-core
11:23
kosaki8 has joined #ruby-core
11:58
kosaki8 has quit [Ping timeout: 264 seconds]
12:28
nari has quit [Ping timeout: 244 seconds]
13:11
judofyr has joined #ruby-core
13:14
schaerli has quit [Remote host closed the connection]
13:42
indirect_ has joined #ruby-core
13:42
drbrain has quit [Ping timeout: 248 seconds]
13:42
indirect has quit [Ping timeout: 248 seconds]
13:43
indirect_ is now known as indirect
13:43
drbrain has joined #ruby-core
14:45
enebo has joined #ruby-core
15:02
marcandre has joined #ruby-core
15:16
kosaki2 has joined #ruby-core
15:36
schaerli has joined #ruby-core
15:57
__BigO__ has joined #ruby-core
16:01
vondruch has quit [Quit: Ex-Chat]
16:12
schaerli has quit [Remote host closed the connection]
16:44
<
zzak >
but i think they were using rdoc 3.x on trunk, which doesn't work
16:48
<
zzak >
3.x probably doesn't know about %i
17:01
judofyr has quit [Remote host closed the connection]
17:09
<
marcandre >
zzak: Hi! Do you have the time to review the doc for Thread.pending_interrupt (before 2.0.0 release)?
17:10
<
marcandre >
I think it could use some help. There's a least a typo (defferred).
17:10
<
zzak >
marcandre: i'd love to
17:10
<
marcandre >
I'll add them to the NEWS file...
17:12
<
zzak >
marcandre: do you know which tickets i should look for?
17:13
<
zzak >
looks like r38046?
17:15
<
marcandre >
There's also a new Thread.handle_interrupt
17:15
<
marcandre >
also lacking from the NEWS.
17:15
vondruch has joined #ruby-core
17:17
<
_ko1 >
marcandre: no pending interrupt?
17:17
<
zzak >
where was handle_interrupt introduced?
17:18
<
marcandre >
I'm adding these two methods to the NEWS, and zzak will improve the language
17:18
<
zzak >
i dont see it i must be blind :(
17:18
<
_ko1 >
i'm so sorry...
17:18
<
marcandre >
thread.c:1741
17:20
<
marcandre >
zzak: handle_interrupt is also in r38046. Are you looking for the code itself?
17:21
<
marcandre >
_ko1: No problem, I'm just glad I noticed it was missing.
17:21
davidbalber|away is now known as davidbalbert
17:21
<
zzak >
marcandre: yeah, i was looking at the diff
17:21
<
zzak >
i found it in thread.c though
17:26
<
zzak >
ive got to work on Thread#backtrace_locations too, so i can kill 2 birds
17:31
xibbar has joined #ruby-core
17:31
xibbar has quit [Remote host closed the connection]
17:31
xibbar has joined #ruby-core
17:34
<
marcandre >
with pending_interrupt?, that's more like 3 :-)
17:36
<
zzak >
3 birds, probably 2 commits
17:48
<
zzak >
marcandre: thanks for the push btw
17:49
<
marcandre >
zzak: which push?
17:49
xibbar has quit [Remote host closed the connection]
17:52
xibbar has joined #ruby-core
17:54
<
zzak >
marcandre: a push in the right direction, and giving me something to do tonight :)
17:55
<
zzak >
it was this or Rake's man page haha
18:02
kosaki2 has quit [Remote host closed the connection]
18:52
davidbalbert is now known as davidbalber|away
19:13
<
marcandre >
zzak: There's actually both the instance method and the singleton method pending_interrupt? that was added
19:15
<
zzak >
isn't there #to_h now?
19:19
<
marcandre >
There is no Array#to_h...
19:21
<
marcandre >
Mmm, WeakMap is not in the NEWS either...
19:22
<
marcandre >
Nor are the new goodies for InstructionSequence
19:22
davidbalber|away is now known as davidbalbert
19:24
<
zzak >
what about ObjectSpace::reachable_objects_from ?
19:27
<
marcandre >
Mmm, need to modify my script to check Modules, not just Classes.
19:29
<
marcandre >
I get a strange unnamed exception class in 2.0.0... Anyone knows where it comes from?
19:35
<
_ko1 >
* new method:
19:35
<
_ko1 >
* ObjectSpace.reachable_objects_from(obj)
19:36
<
_ko1 >
ah, InstructionSequence...
19:38
<
_ko1 >
InstructionSequence.of is secret,but powerful feature
19:41
<
marcandre >
_ko1: secret? It won't be after I put it in the NEWS :-)
19:41
<
_ko1 >
maybe this is not a Ruby's feature
19:41
<
_ko1 >
VM dependent feature :)
19:42
davidbalbert is now known as davidbalber|away
19:42
<
marcandre >
RubyVM are implementation dependant by definition. Still they should be in NEWS
19:42
davidbalber|away is now known as davidbalbert
19:42
<
_ko1 >
it's joking -> secret
19:43
<
marcandre >
Can anyone explain how come `rubydev -e "p Exception.public_instance_methods(false).include? :respond_to?"` prints true?
19:43
<
_ko1 >
ruby 2.0.0dev (2012-12-21 trunk 38515) [i386-mswin32_100]
19:43
<
marcandre >
Same with :method_missing, and :respond_to_missing?
19:44
<
_ko1 >
ruby 2.0.0dev (2013-02-22 trunk 39382) [i686-linux]
19:44
<
_ko1 >
$ ./miniruby -ve 'p Exception.public_instance_methods(false).include? :method_missing'
19:44
<
_ko1 >
ruby 2.0.0dev (2013-02-22 trunk 39382) [i686-linux]
19:44
<
_ko1 >
d$ ./miniruby -ve 'p Exception.public_instance_methods(false).include? :respond_to_missing?'
19:44
<
_ko1 >
ruby 2.0.0dev (2013-02-22 trunk 39382) [i686-linux]
19:47
<
vondruch >
can somebody check, that rubygems stub's shebangs are wrongly expanded? it seems to be related to exec_prefix and rev39320
19:47
<
marcandre >
That's when I wish `source_location` worked on C files too...
19:49
<
zzak >
marcandre: i think rdoc does something where it reports undocumented methods and their source line and location
19:52
<
marcandre >
I must confess never using rdoc/ri. Let me see
19:53
<
zzak >
in the coverage report, ie: rdoc -C vm_thread.c
19:54
<
marcandre >
can you figure out where these methods come from?
19:56
<
marcandre >
Exception#respond_to?, respond_to_missing? and method_missing
19:57
<
marcandre >
Looks like the doc for ObjectSpace::WeakMap also needs to be reviewed. Good thing you didn't have too many plans for today! ;-)
19:58
<
zzak >
i worked on WeakMap
19:59
<
marcandre >
"but those objects can get be garbage collected"... mmm ;-)
19:59
<
_ko1 >
the reason why I misses to add to NEWS is,
20:00
<
_ko1 >
i had planed to add to NEWS after the feature fixed.
20:00
<
_ko1 >
but forgotten
20:01
<
zzak >
i will have to dig around for the Exception methods
20:02
<
marcandre >
_ko1: You want to commit, or I do?
20:02
marcandr_ has quit [Remote host closed the connection]
20:02
<
_ko1 >
marcandre: please do, with additonal English comments
20:03
<
_ko1 >
i'm sleepy to think correct English..
20:04
<
zzak >
idk where they are defined on Exception class, but defind on Object in vm_method.c
20:04
<
zzak >
around line 1560
20:05
<
marcandre >
Ok, but that's Kernel#respond_to?
20:07
<
marcandre >
But it looks like it is specialized by Exception. It's listed in public_instance_method(false) (note the false flag), and also Exception.instance_method(:respond_to?).inspect doesn't say #<UnboundMethod: Exception(Kernel)#respond_to?>
20:09
<
zzak >
i'd hate to say it, but maybe pry would help in this situation
20:10
marc_online_ has joined #ruby-core
20:13
<
zzak >
try the pry-doc gem
20:14
<
zzak >
for show-doc Some#method
20:14
<
zzak >
or show-method Some::method
20:15
<
zzak >
it says eval.c
20:16
<
zzak >
hmm, but thats obj
20:17
<
marcandre >
_ko1: Do you know the difference between IS#label and IS#base_label?
20:17
<
marcandre >
The examples don't help in understanding the difference...
20:17
<
_ko1 >
same as Backtrace::Location#label and base_label
20:18
<
marcandre >
(...checking Backtrace...)
20:18
<
_ko1 >
ah, i see. this example doesn't help ^^;
20:20
<
zzak >
i couldnt come up with any good examples for those
20:21
<
_ko1 >
label #=> "block (2 levels) in foo"
20:21
<
_ko1 >
base_label #=> "foo"
20:21
<
marcandre >
Great. zzak: more work for you, but I can help if you don't have the time!
20:23
<
zzak >
i suck at coming up with arbitrary examples
20:23
<
zzak >
marcandre: its ok, i can work on them tonight
20:23
<
marcandre >
It's hard to understand a new feature without using it, also... The backtrace's doc needs work too.
20:24
<
marcandre >
BTW, loc.label #=> a is incorrect... it should be loc.label #=> "a"
20:26
<
zzak >
i really appreciate all the feedback
20:26
<
zzak >
giving me plenty to work on :D
20:26
<
marcandre >
I'll have some time tomorrow, so I can review the new doc then.
20:27
<
_ko1 >
* Kernel#inspect does not call #to_s anymore
20:27
<
_ko1 >
(it used to call redefined #to_s).
20:27
<
_ko1 >
is significant incompatibility?
20:27
<
drbrain >
I don't think so
20:27
<
_ko1 >
should be written "=== Compatibility issues (excluding feature bug fixes)"
20:28
<
drbrain >
yes, that sounds appropriate
20:31
<
_ko1 >
no need to think English sentence!
20:34
<
_ko1 >
marcandre: do you update ruby_2_0_0/NEWS directly?
20:34
<
_ko1 >
maybe trunk/NEWS also updated
20:34
<
marcandre >
Actually, trunk/NEWS should be cleared
20:34
<
_ko1 >
will be copied
20:35
<
marcandre >
Isn't trunk for next minor?
20:35
<
_ko1 >
copied to doc/NEWS-2.0.0
20:35
<
_ko1 >
marcandre: ah, i'm not sure.
20:35
<
_ko1 >
i'm afraid that we may conflict changes
20:35
<
_ko1 >
someone update trunk/NEWS
20:36
<
_ko1 >
(just now, me!)
20:36
<
_ko1 >
you update 200/NEWS
20:36
<
marcandre >
Yes, I update 2_0_0/NEWS
20:37
<
drbrain >
marcandre: should be see doc/NEWS-2.0.0
20:37
<
drbrain >
marcandre: that's where NEWS-1.9.3, etc live
20:37
<
marcandre >
Argh, didn't realize we copied those over.
20:37
<
_ko1 >
at least, we need to make agreement
20:38
<
_ko1 >
current protocol is trunk -> 200.
20:39
<
_ko1 >
i think your update 200 directly is reasonable. (after release 200, copy it to trunk/doc/NEWS-200)
20:39
<
_ko1 >
but before it, we need to make consensus
20:39
<
marcandre >
I'd say let's edit 2_0_0/NEWS for now, when we release it can be copied in doc/NEWS-2.0.0
20:39
<
marcandre >
right, so I think we agree :-)
20:39
<
_ko1 >
only i and you :(
20:39
<
_ko1 >
please ask mame-san.
20:40
<
_ko1 >
on ruby-core.
20:40
<
marcandre >
mame0: are you around?
20:41
<
_ko1 >
5:41am JST :(
20:41
<
zzak >
i think _ko1 has cloned himself, or he never sleeps
20:41
<
zzak >
did you wake up early?
20:41
<
zzak >
or not sleep yet
20:43
__BigO__ has quit [Remote host closed the connection]
20:43
<
zzak >
when they do roll call, you will have your head on the desk
20:44
__BigO__ has joined #ruby-core
21:18
agarie has joined #ruby-core
21:35
xibbar has quit [Remote host closed the connection]
22:11
davidbalbert is now known as davidbalber|away
22:48
kosaki2 has joined #ruby-core
22:51
nokada has quit [Read error: Connection reset by peer]
22:51
nokada_ has joined #ruby-core
22:57
__BigO__ has quit [Remote host closed the connection]
23:02
<
marcandre >
Uh uh. Looks like the new Module.used is... unused.
23:02
<
marcandre >
I imagine it was meant to be called for both prepended and included cases...
23:05
<
marcandre >
Nope, it was meant to be used with `using`.
23:17
<
marcandre >
zzak: I added the doc for Module.prepended (hope you won't mind ;-) ), but just checking: "something prepended to something else". The "to" is correct, right?
23:19
kosaki2 has quit [Remote host closed the connection]
23:21
kosaki8 has joined #ruby-core
23:22
davidbalber|away is now known as davidbalbert
23:25
nokada_ has quit [Remote host closed the connection]
23:25
davidbalbert is now known as davidbalber|away
23:26
<
drbrain >
marcandre: it sounds right, can you link to it?
23:27
<
drbrain >
I would probably use "onto"
23:28
<
drbrain >
but "to" is fine
23:28
<
marcandre >
So, not worth changing?
23:28
<
drbrain >
not worth changing
23:29
<
drbrain >
I would use "onto" because it gives me the picture of placing something on the top of something else
23:36
enebo has quit [Quit: enebo]
23:40
nokada has joined #ruby-core
23:48
davidbalber|away is now known as davidbalbert
23:51
davidbalbert is now known as davidbalber|away
23:58
kosaki8 has quit [Ping timeout: 260 seconds]