00:00
brixen has joined #ruby-core
00:00
kosaki2 has quit [Read error: No route to host]
00:01
kosaki2 has joined #ruby-core
00:26
rafaelfranca has joined #ruby-core
00:33
rafaelfranca has quit [Remote host closed the connection]
00:36
nagachika has joined #ruby-core
00:36
<
_ko1 >
zzak: sorry, i want to use "skip" method.
00:36
nagachika has quit [Remote host closed the connection]
00:37
<
_ko1 >
and at last i found that `it' method without block means skipping tests.
00:37
nagachika has joined #ruby-core
00:37
<
drbrain >
oh good, $? is thread-local
00:37
<
drbrain >
GET_THREAD()->last_status … right?
00:39
<
_ko1 >
VALUE last_status; /* $? */
00:40
<
zzak >
you didnt mention "rake compile" before :(
00:40
<
zzak >
does it compile C ext?
00:40
<
zzak >
but you removed them?
00:41
<
_ko1 >
dependency into C internal source code
00:41
<
_ko1 >
removed dependency into C internal source code
00:41
<
_ko1 >
s.add_dependency "debugger-ruby_core_source", '~> 1.2.0'
00:43
<
_ko1 >
> However, I feel that most of pieces can be replaced using Ruby.
00:43
<
_ko1 >
Now, debugger (most of parts comes from ruby-debug) is faster than lib/debug.rb
00:43
<
_ko1 >
but enough slow.
00:44
<
_ko1 >
debug.rb is x100 slow,
00:44
<
_ko1 >
and debugger is x10 slow
00:44
<
zzak >
sorry i missed this ticket
00:44
<
_ko1 >
debugger2 is also x10 slow
00:44
<
zzak >
why is debug.rb so slow?
00:44
<
_ko1 >
zzak: you can't track my all comments :)
00:44
<
_ko1 >
debug.rb using set_trace_func naively
00:45
<
_ko1 >
it generates many many bindings
00:45
<
_ko1 >
ruby-debug (c-ext) doesn't make binding, but insert set_trace_func function naively
00:46
<
_ko1 >
so x100 (debug.rb) x10 (ruby-debug/debugger) slow.
00:46
<
zzak >
would TracePoint be faster?
00:46
<
_ko1 >
i feel i can boost using more sophisticated way
00:46
<
zzak >
for debug.rb
00:47
<
_ko1 >
but i think i can re-design more sophisticated/fast version.
00:47
<
zzak >
debug.rb needs maintainer also
00:47
<
zzak >
and rename the class
00:48
<
zzak >
DEBUGGER__ :(
00:48
<
_ko1 >
current porting is direct.
00:48
<
_ko1 >
no desgin change.
00:48
<
_ko1 >
i want to try it later
00:48
<
zzak >
yeah, one step at a time
00:52
davidbalber|away is now known as davidbalbert
00:56
davidbalbert is now known as davidbalber|away
00:57
davidbalber|away is now known as davidbalbert
00:57
<
_ko1 >
result of rake compile?
00:58
<
zzak >
i had to change Rakefile to point to debugger2.gemspec too
00:59
<
_ko1 >
$ rake compile
00:59
<
_ko1 >
rake aborted!
00:59
<
_ko1 >
No such file or directory - debugger.gemspec
00:59
<
_ko1 >
/home/ko1/src/ruby/trunk/debugger/Rakefile:36:in `read'
00:59
<
_ko1 >
/home/ko1/src/ruby/trunk/debugger/Rakefile:36:in `<top (required)>'
00:59
<
_ko1 >
(See full trace by running task with --trace)
01:00
<
_ko1 >
I can make it.
01:01
<
_ko1 >
what's wrong?
01:01
<
zzak >
Makefile exists
01:02
<
_ko1 >
and ruby_debug.so?
01:02
davidbalbert is now known as davidbalber|away
01:03
<
zzak >
zzak@lian:~/projects/debugger2/tmp/x86_64-linux/ruby_debug/2.0.0 (master)$ make
01:03
<
zzak >
make: Nothing to be done for `all'.
01:03
<
_ko1 >
what's wrong :(
01:03
<
zzak >
zzak@lian:~/projects/debugger2/tmp/x86_64-linux/ruby_debug/2.0.0 (master)$ install Makefile
01:03
<
zzak >
install: missing destination file operand after `Makefile'
01:03
<
zzak >
Try `install --help' for more information.
01:05
<
zzak >
$ install -c Makefile -T ruby_debug.so
01:05
<
zzak >
zzak@lian:~/projects/debugger2/tmp/x86_64-linux/ruby_debug/2.0.0 (master)$ ls
01:05
<
zzak >
Makefile ruby_debug.so
01:05
<
zzak >
zzak@lian:~/projects/debugger2/tmp/x86_64-linux/ruby_debug/2.0.0 (master
01:05
<
zzak >
invalid ELF header now when require
01:06
<
_ko1 >
reproduced!!
01:06
<
_ko1 >
i clone it and rake compile abort!
01:06
<
zzak >
require 'debugger' #=> LoadError: /home/zzak/projects/debugger2/lib/ruby_debug.so: invalid ELF header - /home/zzak/projects/debugger2/lib/ruby_debug.so
01:06
davidbalber|away is now known as davidbalbert
01:07
<
_ko1 >
i didn't add *.c files !!!
01:08
<
_ko1 >
no *.c files
01:08
<
_ko1 >
git status doesn't show any warnings!!
01:08
<
zzak >
this is why i was confused
01:08
<
zzak >
because i saw the commit and was like: "ok so theres no more c exts"
01:08
<
_ko1 >
The following paths are ignored by one of your .gitignore files:
01:09
<
_ko1 >
ext/ruby_debug/breakpoint.c
01:09
<
_ko1 >
ext/ruby_debug/ruby_debug.c
01:09
<
_ko1 >
ext/ruby_debug/ruby_debug.h
01:09
<
_ko1 >
Use -f if you really want to add them.
01:09
<
_ko1 >
.gitignore!!!
01:09
davidbalbert is now known as davidbalber|away
01:09
<
zzak >
probably because he imports them?
01:10
<
_ko1 >
nobody can't try them :(
01:10
<
_ko1 >
ruby-debug put *.c files
01:11
<
_ko1 >
and deubgger separate them
01:11
<
_ko1 >
ext/ruby-debug/192, 193
01:11
davidbalber|away is now known as davidbalbert
01:11
<
_ko1 >
so debugger guys prohibits ext/ruby-deubg/*.c *.h
01:12
davidbalbert is now known as davidbalber|away
01:12
<
_ko1 >
now, i can do it
01:12
<
_ko1 >
sorry for inconvinience
01:14
davidbalber|away is now known as davidbalbert
01:16
davidbalbert is now known as davidbalber|away
01:18
davidbalber|away is now known as davidbalbert
01:19
<
zzak >
still get invalid elf
01:19
<
zzak >
and have to install Makefile myself
01:19
<
zzak >
i must be stupid :(
01:21
<
zzak >
_ko1: got it!
01:21
<
_ko1 >
invalid elf ??
01:22
<
zzak >
i think rvm switched me back to 1.9.3 when i wasnt looking
01:23
<
zzak >
so it will work with bundler
01:24
<
_ko1 >
I add you as Manage Collaborators
01:24
<
_ko1 >
ah, sorry, collaborators
01:28
davidbalbert is now known as davidbalber|away
01:30
<
_ko1 >
can you pull yourself?
01:31
<
zzak >
yup! thanks!
01:31
<
_ko1 >
please do anything you want :)
01:32
<
_ko1 >
i'm not sure about gem and github culture
01:32
<
_ko1 >
should I remain original authors in gemspec?
01:33
<
_ko1 >
> s.authors = ['Koichi Sasada']
01:33
<
_ko1 >
now, only my name
01:33
<
zzak >
i think if you want to release it
01:33
<
zzak >
if you want to merge it back upstream, to cldwalker, then no
01:34
<
zzak >
keep original author, but i think its ok to add your name
01:35
<
zzak >
he kept original ruby-debug author
01:35
davidbalber|away is now known as davidbalbert
01:36
<
_ko1 >
i added them.
01:36
<
zzak >
i dont know how much help i will be, but hopefully help people learn it and use your fork to get some feedback
01:36
<
_ko1 >
how about your name? :)
01:37
<
zzak >
_ko1: do you plan to release debugger2 gem? or merge it upstream to debugger gem?
01:37
<
_ko1 >
difficult question.
01:38
<
_ko1 >
merge them is good idea, i think
01:38
<
zzak >
yeh, it will need to build on other rubies then
01:38
<
zzak >
sorry if im ahead of myself, lets wait and see what kind of feedback it gets :)
01:39
<
_ko1 >
my purpose is to remove all dependencies to ruby_core_source
01:40
<
_ko1 >
i feel separating UI and cores is good idea.
01:40
<
_ko1 >
and cores can be merged into ruby 2.1 or later
01:42
<
zzak >
"open to pulls" means, he is open to pull requests for patches
01:42
Domon has joined #ruby-core
01:43
<
zzak >
_ko1: agree on separation
01:43
<
_ko1 >
ah, pull request from debugger2 to debugger (2.0 support)
01:44
<
zzak >
debugger could depend on different sources depending on ruby version and platform
01:45
<
zzak >
so whole gem doesn't depend on linecache1.9 1.8, etc
01:46
<
zzak >
just a thought
01:48
davidbalbert is now known as davidbalber|away
01:52
kosaki2 has quit [Remote host closed the connection]
01:55
<
zzak >
drbrain: if anyone only saw your twitter media, they would think you're a construction worker
01:56
<
zzak >
did they fix the battery?
01:56
<
drbrain >
I don't think so
01:56
<
drbrain >
if you're stealing a battery, probably best to bring heavy-duty wire cutters
01:57
<
drbrain >
faster that way
01:57
<
drbrain >
if you bring a wrench you could be there for minutes and might get caught
01:59
<
zzak >
i was reading about them
02:00
<
zzak >
"Hitachi's ZX850LC-3 models feature twin, 12-volt batteries and are fitted with a standard 29,321-lb. counterweight
02:00
<
zzak >
15 ton counterweight?
02:01
Beakr has joined #ruby-core
02:01
<
drbrain >
I imagine with the arm you'll need a 10 or 15 to 1 advantage to avoid tipping
02:02
<
drbrain >
when they were trying to pull out a root ball for a tree they were pulling the excavator along the concrete carport pad
02:02
<
zzak >
but when i read this i thought the battery needed the counterweight haha
02:04
<
zzak >
what time do they start in the morning?
02:05
<
drbrain >
no earlier than 7:30
02:05
<
drbrain >
I have good windows though, and will sleep through "usual" noises, which they are now
02:05
<
zzak >
are they low-e?
02:05
<
zzak >
7:30 isnt too bad
02:06
<
drbrain >
likely whatever was standard for 2009
02:07
<
zzak >
are they vinyl?
02:08
<
zzak >
sorry, my family runs a glass shop, its been a family business for a long time
02:08
<
drbrain >
some kind of plasticy stuff with double-pane sealed glass inserts
02:09
<
zzak >
cant find any hoe-* gems for rdoc dev
02:10
<
zzak >
rake newb: ERROR: Could not find a valid gem 'hoe-rdoc_tags' (>= 0) in any repository
02:10
<
drbrain >
I think it tries several names
02:11
<
zzak >
i installed rdoc-tags manually
02:11
<
zzak >
just 'rake' works
02:11
<
zzak >
but 'rake newb' makes a mess of my terminal
02:12
<
zzak >
and cant find valid 'hoe-kpeg'
02:12
<
drbrain >
maybe it's being too loud
02:16
Beakr has quit [Quit: Beakr]
02:16
<
drbrain >
odd that it skipped running the tests
02:16
<
zzak >
how come it sticks in my terminal?
02:18
davidbalber|away is now known as davidbalbert
02:18
<
zzak >
but im on how 3.5.1
02:18
kosaki2 has joined #ruby-core
02:19
<
drbrain >
I removed the hoe_tags plugin which should help
02:19
Beakr has joined #ruby-core
02:20
<
drbrain >
rm -r ~/tmp/gems; gem install hoe -i ~/tmp/gems; rake newb appears to be working for me
02:20
nari has joined #ruby-core
02:20
<
drbrain >
oops, should be GEM_HOME=~/tmp/gems GEM_PATH=~/tmp/gems rake newb
02:22
<
zzak >
$ rm -r ~/tmp/gems; gem install hoe -i ~/tmp/gems; GEM_HOME=~/tmp/gems GEM_PATH=~/tmp/gems rake newb
02:22
<
zzak >
/home/zzak/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'rubygems-bundler' (>= 0) among 0 total gem(s) (Gem::LoadError)
02:23
<
drbrain >
rubygems-bundler?
02:23
<
drbrain >
what does GEM_HOME=~/tmp/gems GEM_PATH=~/tmp/gems gem list say?
02:24
<
zzak >
maybe because im on rvm stable, with gems 2.0.0.rc.2
02:24
<
drbrain >
oh, that might do it
02:24
<
zzak >
gem update --system ?
02:26
<
zzak >
crazy, still get it
02:27
<
zzak >
GEM_HOME=~/tmp/gems GEM_PATH=~/tmp/gems gem list
02:28
<
drbrain >
I have no idea what is going on then
02:31
<
drbrain >
it should at least show the default gems
02:31
<
zzak >
GEM_HOME=~/tmp/gems GEM_PATH=~/tmp/gems gem install hoe
02:31
<
zzak >
then try list there and it shows hoe and rake
02:32
<
drbrain >
is `gem` ruby2.0.0's gem?
02:33
<
zzak >
i did update --system on 2.0.0
02:34
kosaki2 has quit [Remote host closed the connection]
02:34
kosaki2 has joined #ruby-core
02:36
<
drbrain >
I wonder if it is an rvm issue then
02:37
<
zzak >
i can get rid of "cant find hoe-kpeg" by installing kpeg
02:38
<
drbrain >
I don't even see that message, but kpeg ends up in the right spot
02:39
<
zzak >
it could be rvm
02:39
kosaki2 has quit [Ping timeout: 256 seconds]
02:39
<
drbrain >
I wonder if it has something to do with ruby_noexec_wrapper
02:39
<
zzak >
looks like james is using rvm too
02:45
<
zzak >
bout ready to give up on rvm :(
02:47
<
drbrain >
I left some notes
02:49
<
drbrain >
maybe mpapis will see it and have some clue
02:51
<
zzak >
in the meantime im trying chruby
02:57
kosaki2 has joined #ruby-core
03:11
kosaki2 has quit [Remote host closed the connection]
03:24
Beakr has quit [Quit: Beakr]
03:38
headius has quit [Quit: headius]
03:39
hasimo has quit [Remote host closed the connection]
03:50
hasimo has joined #ruby-core
04:25
davidbalbert is now known as davidbalber|away
04:32
marcandre has quit [Remote host closed the connection]
04:55
Domon has quit [Remote host closed the connection]
05:09
xibbar has quit [Remote host closed the connection]
05:40
Domon has joined #ruby-core
05:53
xibbar has joined #ruby-core
06:31
headius has joined #ruby-core
06:32
xibbar has quit [Ping timeout: 272 seconds]
06:57
headius has quit [Quit: headius]
07:19
charliesome has joined #ruby-core
07:35
hasimo has quit [Remote host closed the connection]
07:46
nari has quit [Ping timeout: 245 seconds]
07:54
hasimo has joined #ruby-core
07:58
nari has joined #ruby-core
08:02
xibbar_ie has quit [Read error: Connection reset by peer]
08:53
hasimo has quit [Remote host closed the connection]
08:58
hasimo has joined #ruby-core
09:00
judofyr has joined #ruby-core
09:14
hasimo has quit [Remote host closed the connection]
09:25
xibbar_ie has joined #ruby-core
09:26
nari has quit [Ping timeout: 264 seconds]
10:22
nari has joined #ruby-core
10:25
hasimo has joined #ruby-core
10:29
hasimo has quit [Ping timeout: 256 seconds]
10:50
Domon has quit [Remote host closed the connection]
11:08
kosaki2 has joined #ruby-core
11:19
kosaki2 has quit [Remote host closed the connection]
11:30
Beakr has joined #ruby-core
11:37
nagachika has quit [Remote host closed the connection]
11:41
charliesome has joined #ruby-core
11:49
nagachika has joined #ruby-core
11:50
nagachika has quit [Remote host closed the connection]
11:50
nagachika has joined #ruby-core
11:59
_whitelogger has joined #ruby-core
12:46
nagachika has joined #ruby-core
12:50
nagachika has quit [Ping timeout: 256 seconds]
13:06
charliesome has quit [Ping timeout: 252 seconds]
13:20
nagachika has joined #ruby-core
13:22
hsbt has quit [Ping timeout: 248 seconds]
13:30
hsbt has joined #ruby-core
13:33
nari has quit [Ping timeout: 264 seconds]
13:40
Beakr has quit [Quit: Beakr]
13:55
hsbt has quit [Ping timeout: 272 seconds]
13:56
hsbt has joined #ruby-core
13:58
davidbalber|away is now known as davidbalbert
14:00
hsbt has quit [Ping timeout: 245 seconds]
14:03
hsbt has joined #ruby-core
14:04
hsbt has quit [Client Quit]
14:05
hsbt has joined #ruby-core
14:06
davidbalbert is now known as davidbalber|away
14:22
__Big0__ has joined #ruby-core
14:24
davidbalber|away is now known as davidbalbert
14:34
davidbalbert is now known as davidbalber|away
14:34
davidbalber|away is now known as davidbalbert
14:35
davidbalbert is now known as davidbalber|away
14:36
Beakr has joined #ruby-core
14:45
marcandre has joined #ruby-core
15:00
Beakr has quit [Quit: Beakr]
15:07
Beakr has joined #ruby-core
15:14
Guest85414 has quit [Read error: Operation timed out]
15:20
Beakr has quit [Quit: Beakr]
15:22
davidbalber|away is now known as davidbalbert
15:26
Beakr has joined #ruby-core
15:43
Beakr has quit [Quit: Beakr]
16:02
judofyr has quit [Remote host closed the connection]
16:42
nagachika has quit [Remote host closed the connection]
17:07
headius has joined #ruby-core
17:23
Guest85414 has joined #ruby-core
17:27
vondruch has quit [Quit: Ex-Chat]
17:35
Beakr has joined #ruby-core
18:19
tenderlove has joined #ruby-core
18:23
davidbalbert is now known as davidbalber|away
18:52
davidbalber|away is now known as davidbalbert
19:05
Beakr has quit [Quit: Beakr]
19:05
ZachBeta has joined #ruby-core
19:15
tenderlove has quit [Remote host closed the connection]
19:47
Beakr has joined #ruby-core
20:25
tenderlove has joined #ruby-core
21:18
tenderlo_ has joined #ruby-core
21:20
Beakr has quit [Quit: Beakr]
21:20
tenderlove has quit [Ping timeout: 252 seconds]
21:48
tenderlo_ has quit [Ping timeout: 264 seconds]
21:54
__Big0__ has quit [Remote host closed the connection]
22:00
tenderlove has joined #ruby-core
22:14
ZachBeta has quit [Quit: Computer has gone to sleep.]
22:54
hasimo has joined #ruby-core
22:56
davidbalbert is now known as davidbalber|away
23:09
nari has joined #ruby-core
23:21
xibbar has joined #ruby-core
23:33
headius has quit [Quit: headius]
23:49
hasimo has quit [Remote host closed the connection]