2013-03-25 00:43
hsbt_away changed the topic of #ruby-core to: check the latest release candidate for 1.9.1 release ftp.ruby-lang.org:/home/yugui/ruby-1.9.1-r26021+1.tar.bz2
00:00
kosaki2_ has joined #ruby-core
00:00
petercooper has joined #ruby-core
00:00
kosaki2 has quit [Read error: No route to host]
00:01
r0bgleeson has quit [Quit: WeeChat 0.4.1]
00:05
petercooper has quit [Ping timeout: 245 seconds]
00:07
tenderlove has joined #ruby-core
00:11
charliesome has joined #ruby-core
00:18
nari has quit [Ping timeout: 260 seconds]
00:21
freakcult has joined #ruby-core
00:23
nagachika has joined #ruby-core
00:24
freakcult has quit [Client Quit]
00:27
travis-ci has joined #ruby-core
00:27
travis-ci has left #ruby-core [#ruby-core]
00:28
marcandre has quit [Read error: Connection reset by peer]
00:28
marcandre has joined #ruby-core
00:42
r0bgleeson has joined #ruby-core
00:54
nari has joined #ruby-core
01:01
petercooper has joined #ruby-core
01:06
petercooper has quit [Ping timeout: 272 seconds]
01:27
tenderlove has quit [Remote host closed the connection]
01:53
shinnya has quit [Ping timeout: 260 seconds]
01:58
Domon has joined #ruby-core
02:01
petercooper has joined #ruby-core
02:04
ItSAN____ has joined #ruby-core
02:06
petercooper has quit [Ping timeout: 260 seconds]
02:06
3JTAAHLI1 has joined #ruby-core
02:07
ItSANgo has quit [Ping timeout: 268 seconds]
02:09
3JTAAHLI1 has quit [Client Quit]
02:10
ItSAN____ has quit [Ping timeout: 248 seconds]
02:38
soba has joined #ruby-core
02:39
soba_ has joined #ruby-core
02:42
soba has quit [Ping timeout: 246 seconds]
02:45
soba_ has quit [Read error: Connection reset by peer]
03:02
petercooper has joined #ruby-core
03:07
petercooper has quit [Ping timeout: 252 seconds]
03:09
soba has joined #ruby-core
03:21
DanKnox is now known as DanKnox_away
04:02
petercooper has joined #ruby-core
04:07
petercooper has quit [Ping timeout: 245 seconds]
04:19
kosaki2 has joined #ruby-core
04:22
DanKnox_away is now known as DanKnox
04:22
kosaki2_ has quit [Ping timeout: 272 seconds]
04:23
kosaki2 has quit [Ping timeout: 265 seconds]
04:24
soba has quit [Ping timeout: 252 seconds]
04:28
soba has joined #ruby-core
04:42
ItSANgo has joined #ruby-core
05:03
petercooper has joined #ruby-core
05:07
petercooper has quit [Ping timeout: 265 seconds]
05:19
marcandre has quit [Remote host closed the connection]
05:39
<
_ko1 >
drbrain: are you here?
05:39
<
drbrain >
_ko1: hello
05:39
<
_ko1 >
i got such error
05:40
<
_ko1 >
sdoc seems having trouble
05:40
<
_ko1 >
should i simply uninstall sdoc?
05:41
<
drbrain >
that would be easiest :D
05:42
<
drbrain >
Gem::Ext should exist right above that
05:43
<
drbrain >
I will try to reproduce this, I think I know how
05:43
<
drbrain >
maybe I can add a workaround in rdoc for it
05:43
<
drbrain >
rdoc probably should not load sdoc's plugin
05:43
<
_ko1 >
uninstall, and success to install
05:43
<
drbrain >
at least, not when building documentation in ruby
05:44
<
drbrain >
I will try to reproduce it tomorrow, it is too late to fix tonight
05:44
<
_ko1 >
sure. thank you!
05:45
<
drbrain >
ah, I think I see the problem
05:46
<
drbrain >
_ko1: can you reinstall sdoc and delete line 7 (require 'rubygems') from lib/rubygems/ext.rb ?
05:46
<
_ko1 >
sure. wait a moment
05:50
<
drbrain >
you can commit it, I will make the same commit in rubygems
05:51
<
_ko1 >
I can't write ChangeLog :(
05:51
<
drbrain >
then I will commit it now :D
06:00
<
drbrain >
I committed at r43300
06:01
<
drbrain >
the problem was (roughly):
06:02
<
drbrain >
rubygems would need to load rubygems/ext while inside its overridden Kernel#require
06:02
<
drbrain >
but rubygems/ext would load rubygems before defining Gem::Ext
06:02
<
drbrain >
so instead of the constant appearing, it would go back to looking for files it could load inside a gem
06:02
<
drbrain >
it would try to load rubygems/ext again, but loading was in-progress, so it would skip it
06:03
<
drbrain >
then it would reference Gem::Ext which didn't exist yet, because it hadn't finished the require of rubygems/ext
06:04
<
drbrain >
so NameError
06:10
<
drbrain >
once I read the whole backtrace it was easier to see
06:11
<
drbrain >
this new feature is so rvm, rbenv, etc can share one gem directory with multiple ruby versions
06:11
<
drbrain >
extensions get installed into a special directory now, so there will not be API conflicts
06:17
kosaki8 has joined #ruby-core
06:25
nagachik_ has joined #ruby-core
06:27
nagachik_ has quit [Read error: Connection reset by peer]
06:45
schaerli has joined #ruby-core
07:16
DanKnox is now known as DanKnox_away
07:22
DanKnox_away is now known as DanKnox
07:36
DanKnox is now known as DanKnox_away
07:41
tylersmith has quit [Remote host closed the connection]
07:42
tylersmith has joined #ruby-core
07:46
tylersmith has quit [Ping timeout: 240 seconds]
07:50
kosaki8 has quit [Ping timeout: 256 seconds]
08:13
petercooper has joined #ruby-core
08:14
judofyr has joined #ruby-core
08:26
petercooper has quit [Remote host closed the connection]
08:27
petercooper has joined #ruby-core
08:31
petercooper has quit [Ping timeout: 246 seconds]
08:52
eLobato has joined #ruby-core
08:53
tylersmith has joined #ruby-core
08:57
tylersmith has quit [Ping timeout: 252 seconds]
09:04
nari has quit [Ping timeout: 245 seconds]
09:28
nari has joined #ruby-core
09:51
judofyr has quit [Remote host closed the connection]
10:28
judofyr has joined #ruby-core
11:15
Domon has quit [Remote host closed the connection]
11:15
Domon has joined #ruby-core
11:18
Domon has quit [Remote host closed the connection]
11:24
kosaki8 has joined #ruby-core
11:28
nagachika has quit [Remote host closed the connection]
11:28
dostoyevsky has left #ruby-core [#ruby-core]
11:29
nagachika has joined #ruby-core
11:29
redgetan has joined #ruby-core
11:33
nagachika has quit [Ping timeout: 245 seconds]
11:38
nari has quit [Ping timeout: 252 seconds]
11:56
kosaki8 has quit [Ping timeout: 248 seconds]
12:06
eLobato has quit [Ping timeout: 252 seconds]
12:53
<
zzak >
n0kada0: ping!
12:59
kosaki8 has joined #ruby-core
13:00
nagachika has joined #ruby-core
13:01
<
judofyr >
zzak: pong!
13:01
<
judofyr >
or isn't that allowed?
13:01
<
zzak >
judofyr: lol hi
13:02
marcandre has joined #ruby-core
13:02
<
judofyr >
zzak: what's up?
13:02
<
zzak >
judofyr: hacking on the rubies :D you?
13:03
<
judofyr >
zzak: nice. trying to do some work.
13:03
<
zzak >
judofyr: i have work in 30 minutes :(
13:03
<
judofyr >
also contemplating how small grammar you could get if you simplify some of the syntax
13:03
<
judofyr >
(for Ruby)
13:03
enebo has joined #ruby-core
13:04
<
judofyr >
zzak: I'm kinda working on a parser generator tool. thinking about testing it with Ruby syntax/grammar
13:05
<
zzak >
judofyr: sounds neat :D
13:05
<
judofyr >
probably need to implement operator precedence first…
13:05
<
zzak >
is it like yacc/racc?
13:06
<
judofyr >
kinda. but the grammar file is not C-specific
13:06
<
judofyr >
so (potentially) you can use the same grammar file for both a Ruby and a C backend
13:06
<
judofyr >
it's also a full context-free parser
13:07
<
judofyr >
so it handles ambiguous grammars as well
13:07
<
zzak >
you had me at operator precedence
13:08
<
zzak >
i wish i could speed up make test :(
13:08
<
judofyr >
why is it taking so long?
13:08
nokada_ is now known as n0kada
13:08
<
zzak >
compiling stuffs
13:08
<
n0kada >
zzak: for what?
13:09
<
zzak >
n0kada: to teach RDoc about these methods
13:10
<
zzak >
rdoc doesn't track the local VALUE's
13:10
<
zzak >
it only knows rb_cIO is IO class... somehow
13:10
<
judofyr >
or probably just regexp for /rb_c(.*?)$/
13:11
<
zzak >
judofyr: its not convention
13:13
<
zzak >
or maybe convention just not consistent ;)
13:14
<
n0kada >
rdoc has built-in classes/modules mapping
13:14
<
n0kada >
zzak: I see
13:14
<
n0kada >
it would be hard to track
13:15
<
zzak >
make test-all TESTS=io/nonblock/test_flush.rb
13:15
<
zzak >
gives me "0 tests, 0 assertions, 0 failures, 0 errors, 0 skips"
13:16
<
zzak >
n0kada: i tried that from $builddir
13:17
<
zzak >
patch is probably benign but i want to run the tests anyways :(
13:20
<
n0kada >
Finished tests in 0.004311s, 231.9647 tests/s, 927.8590 assertions/s.
13:20
<
n0kada >
1 tests, 4 assertions, 0 failures, 0 errors, 0 skips
13:20
<
n0kada >
what platform?
13:20
jdenen has joined #ruby-core
13:20
<
zzak >
uby 2.1.0dev (2013-09-26 trunk 43057) [x86_64-darwin12.4.0]
13:22
<
n0kada >
very old...
13:23
<
zzak >
n0kada: i am on r43305
13:24
<
n0kada >
has io/nonblock been built?
13:25
<
zzak >
i guess make test-all doesn't pre-build $srcdir/ext?
13:25
soba has quit [Ping timeout: 248 seconds]
13:26
<
zzak >
it built everything else
13:28
<
zzak >
`make distclean` :(
13:31
<
zzak >
travis passed before i could compile lol
13:31
rafaelfranca has joined #ruby-core
13:32
<
n0kada >
it doesn't
13:33
<
zzak >
error loading "/Users/zzak/.gem/ruby/2.1.0/gems/sdoc-0.3.20/lib/rdoc/discover.rb": uninitialized constant Gem::Ext::Builder (NameError)
13:35
<
zzak >
Finished tests in 0.005327s, 187.7229 tests/s, 750.8917 assertions/s.
13:35
<
zzak >
1 tests, 4 assertions, 0 failures, 0 errors, 0 skips
13:36
enebo has quit [Quit: enebo]
13:37
<
zzak >
n0kada: thank you, i will bug you again soon <3
13:37
<
zzak >
time for work :(
13:56
enebo has joined #ruby-core
14:00
ZachBeta has joined #ruby-core
14:14
eLobato has joined #ruby-core
14:21
rafaelfr_ has joined #ruby-core
14:22
ZachBeta has quit [Quit: Computer has gone to sleep.]
14:23
tylersmith has joined #ruby-core
14:25
rafaelfranca has quit [Ping timeout: 245 seconds]
14:28
ZachBeta has joined #ruby-core
14:57
kosaki2 has joined #ruby-core
15:10
schaerli has quit [Remote host closed the connection]
15:10
schaerli has joined #ruby-core
15:14
eLobato has quit [Quit: WeeChat 0.4.0]
15:15
schaerli has quit [Ping timeout: 252 seconds]
15:20
kosaki2 has quit [Remote host closed the connection]
15:21
kosaki2 has joined #ruby-core
15:33
schaerli has joined #ruby-core
15:34
kosaki8 has quit [Ping timeout: 248 seconds]
15:49
anveo has joined #ruby-core
16:08
petercooper has joined #ruby-core
16:08
tylersmith has quit [Remote host closed the connection]
16:09
shinnya has joined #ruby-core
16:40
enebo has quit [Ping timeout: 240 seconds]
16:43
schaerli has quit [Remote host closed the connection]
16:43
schaerli has joined #ruby-core
16:46
ZachBeta has quit [Quit: Computer has gone to sleep.]
16:48
schaerli has quit [Ping timeout: 272 seconds]
16:59
judofyr has quit [Remote host closed the connection]
17:02
tylersmith has joined #ruby-core
17:15
nagachika has quit [Remote host closed the connection]
17:19
marcandre has quit [Remote host closed the connection]
17:26
ZachBeta has joined #ruby-core
17:41
enebo has joined #ruby-core
17:43
petercooper has quit [Remote host closed the connection]
17:44
petercooper has joined #ruby-core
17:48
petercooper has quit [Ping timeout: 260 seconds]
17:49
charliesome has joined #ruby-core
17:57
DanKnox_away is now known as DanKnox
18:00
tenderlove has joined #ruby-core
18:00
marcandre has joined #ruby-core
18:03
shinnya has quit [Ping timeout: 272 seconds]
18:11
judofyr has joined #ruby-core
18:14
petercooper has joined #ruby-core
18:22
petercooper has quit [Ping timeout: 245 seconds]
18:23
anveo has quit [Quit: Computer has gone to sleep.]
18:24
petercooper has joined #ruby-core
18:25
judofyr__ has joined #ruby-core
18:26
judofyr has quit [Ping timeout: 268 seconds]
18:50
petercooper has quit [Remote host closed the connection]
18:50
petercooper has joined #ruby-core
18:54
petercoo_ has joined #ruby-core
18:55
petercooper has quit [Ping timeout: 245 seconds]
19:41
judofyr__ has quit [Read error: Connection reset by peer]
20:14
anveo has joined #ruby-core
20:19
ZachBeta_ has joined #ruby-core
20:21
ZachBeta has quit [Ping timeout: 272 seconds]
20:34
tenderlove has quit [Remote host closed the connection]
20:34
tenderlove has joined #ruby-core
20:36
kosaki2_ has joined #ruby-core
20:37
kosaki8 has joined #ruby-core
20:39
kosaki2 has quit [Read error: Operation timed out]
20:39
tenderlove has quit [Ping timeout: 245 seconds]
20:46
kosaki2_ has quit [Remote host closed the connection]
20:46
kosaki2 has joined #ruby-core
20:48
<
drbrain >
zzak: I thought I fixed the Gem::Ext::Builder NameError with r43300
20:51
kosaki2 has quit [Ping timeout: 260 seconds]
20:55
<
zzak >
drbrain: i think its related to sdoc :(
20:56
<
drbrain >
zzak: backtrace?
20:56
<
zzak >
i will try to test it downstream later
20:56
<
drbrain >
zzak: the way require works has subtly changed
20:56
<
drbrain >
so I may need to fix some things up
20:56
<
drbrain >
give me a minute
20:57
<
zzak >
so the gem was installed on trunk before, when recompiling it must have tried to RDoc the old gem, so i just did `rm -rf ~/.gem/ruby/2.1.0/
20:57
<
zzak >
it's definitely not a normal usecase
20:59
<
zzak >
i already fixed it by deleting my old gem cache :(
20:59
<
zzak >
i'll try to reproduce it again later
20:59
<
drbrain >
I'll work on it now
20:59
<
zzak >
maybe just `gem install sdoc --document`
21:00
<
drbrain >
I created a dependency loading loop
21:02
ex9t_ has joined #ruby-core
21:04
ex9t has quit [Ping timeout: 272 seconds]
21:15
jdenen has quit [Ping timeout: 252 seconds]
21:18
<
zzak >
drbrain: if it helps, i was on `ruby 2.1.0dev (2013-09-26 trunk 43057) [x86_64-darwin12.4.0]` when last installed the gem
21:18
<
zzak >
so maybe a regression in gems for that version
21:19
<
zzak >
before last import
21:21
<
drbrain >
I'm going to need to figure out how to reproduce this myself to fix it properly
21:23
<
drbrain >
zzak: if you can reproduce it, can you give me `gem list` ?
21:23
<
drbrain >
that will help
21:23
<
zzak >
drbrain: will do!
21:23
<
drbrain >
I think I need sdoc + some gem with C extensions
21:24
<
zzak >
well, sdoc depends on rdoc 3.x
21:24
<
zzak >
so theres that
21:24
<
drbrain >
json is built-in, too
21:27
<
zzak >
so maybe repro is: gems (2.2.0.preview.1) -> install sdoc -> gem update --system -> gem install sdoc --document
21:28
<
drbrain >
you'll need my rubygems updates from yesterday, too
21:32
enebo has quit [Quit: enebo]
21:32
<
drbrain >
ok, got it
21:32
<
drbrain >
I needed gem install json sdoc
21:38
<
zzak >
kosaki8: did you go to the conference last weekend?
21:39
ZachBeta_ has quit [Quit: Computer has gone to sleep.]
21:43
<
drbrain >
zzak: ugh, this will be annoying to fix
21:49
n0kada has quit [Remote host closed the connection]
21:50
rafaelfranca has joined #ruby-core
21:53
n0kada has joined #ruby-core
21:54
rafaelfr_ has quit [Ping timeout: 272 seconds]
21:55
ZachBeta has joined #ruby-core
21:56
petercoo_ has quit [Remote host closed the connection]
21:56
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:56
<
drbrain >
I have progressed to "deadlock; recursive locking" LLLOOOLLL
21:57
<
zzak >
call the locksmith
21:58
<
drbrain >
at least the recursive locking protects me from an infinite loop
22:01
<
zzak >
my patch queue needs a recursive lock
22:01
<
zzak >
respond_with :vacation_reminder if :queue.size > 5
22:02
<
drbrain >
zzak: that always returns false
22:02
<
drbrain >
:queue.size #=> 5
22:03
<
zzak >
TIL Symbol#size
22:04
<
drbrain >
no vacation for you
22:06
<
zzak >
so it seems :(
22:06
marcandre has quit [Remote host closed the connection]
22:08
ZachBeta has quit [Quit: Computer has gone to sleep.]
22:11
<
drbrain >
OMG FIXED
22:11
lopex has quit [Ping timeout: 245 seconds]
22:13
ZachBeta has joined #ruby-core
22:22
<
zzak >
dinner time!
22:26
tylersmith has quit [Read error: Connection reset by peer]
22:27
tylersmith has joined #ruby-core
22:37
<
drbrain >
zzak: try r43317 ↑
22:41
ZachBeta has quit [Quit: Computer has gone to sleep.]
22:50
tylersmith has quit [Remote host closed the connection]
22:55
rafaelfranca has quit [Remote host closed the connection]
22:55
rafaelfranca has joined #ruby-core
23:00
rafaelfranca has quit [Ping timeout: 272 seconds]
23:07
kosaki2 has joined #ruby-core
23:17
kosaki2 has quit [Remote host closed the connection]
23:17
kosaki2 has joined #ruby-core
23:22
kosaki2 has quit [Ping timeout: 245 seconds]
23:28
kosaki2 has joined #ruby-core
23:38
kosaki2 has quit [Remote host closed the connection]
23:38
shinnya has joined #ruby-core
23:39
kosaki2 has joined #ruby-core
23:40
charliesome has joined #ruby-core
23:43
kosaki2 has quit [Ping timeout: 245 seconds]
23:43
lopex has joined #ruby-core
23:45
charliesome has quit [Ping timeout: 248 seconds]
23:50
ItSANgo has quit [Ping timeout: 244 seconds]
23:54
kosaki2 has joined #ruby-core