00:03
ortuna has joined #ruby-core
00:14
davidbalbert is now known as davidbalber|away
00:42
nari has quit [Ping timeout: 255 seconds]
00:43
xibbar_ has joined #ruby-core
00:47
xibbar has quit [Ping timeout: 272 seconds]
00:52
davidbalber|away is now known as davidbalbert
01:18
nari has joined #ruby-core
01:36
xibbar_ has quit [Remote host closed the connection]
01:37
xibbar has joined #ruby-core
01:53
shirokuro11 has joined #ruby-core
01:54
Domon has joined #ruby-core
02:12
enebo has joined #ruby-core
02:20
kosaki2 has quit [Remote host closed the connection]
02:33
ortuna has quit [Ping timeout: 252 seconds]
02:50
davidbalbert is now known as davidbalber|away
03:03
kosaki8 has joined #ruby-core
03:25
enebo has quit [Quit: enebo]
03:25
xibbar has quit [Remote host closed the connection]
03:51
nari has quit [Remote host closed the connection]
03:52
nari has joined #ruby-core
03:58
xibbar has joined #ruby-core
04:28
xibbar_ has joined #ruby-core
04:29
<
zzak >
drbrain: ping
04:30
xibbar_ has quit [Remote host closed the connection]
04:31
xibbar_ has joined #ruby-core
04:31
xibbar has quit [Read error: Connection reset by peer]
04:33
<
zzak >
would you accept a similar patch for #[] and #[]= ?
04:51
Domon has quit [Remote host closed the connection]
05:03
kosaki2 has joined #ruby-core
05:14
<
zzak >
opened a ticket
05:17
<
zzak >
i have question
05:17
<
zzak >
what is the difference between "fiber-local" and "thread-local": ie: thr = Thread.new { sleep }; thr[:foo] = "bar"; thr.keys #=> [:foo]; thr.thread_variables #=> []
05:22
<
_ko1 >
Thread#[] is fiber local
05:23
takeru_ has joined #ruby-core
05:24
xibbar_ has quit [Remote host closed the connection]
05:25
<
zzak >
meaning they not shared?
05:27
<
_ko1 >
each fiber has Thread#[] storage
05:28
takeru_ has quit [Ping timeout: 244 seconds]
05:31
<
zzak >
i understand now, thank you koichi your example helped a lot
05:33
<
_ko1 >
we introduced Fiber. and the first time, Thread#[] is not fiber local
05:34
<
_ko1 >
however most of use-case, Thread#[] is expected as Fiber local
05:34
<
_ko1 >
for example, store recursive-check
05:46
zmike123 has joined #ruby-core
05:46
zmike123 has quit [Client Quit]
05:49
<
zzak >
so true thread-locals are shared among all fibers within a thread?
05:49
<
zzak >
like in your example
06:03
<
zzak >
_ko1: thank you!
06:04
<
zzak >
my new thread guide is almost complete
06:04
<
zzak >
i should be able to finish it tomorrow, time for sleep
07:18
kosaki8 has quit [Ping timeout: 272 seconds]
07:27
kosaki2 has quit [Remote host closed the connection]
07:39
vondruch has quit [*.net *.split]
07:39
hsbt has quit [*.net *.split]
07:51
vondruch has joined #ruby-core
07:51
hsbt has joined #ruby-core
07:52
xibbar has joined #ruby-core
07:56
kosaki2 has joined #ruby-core
08:21
vondruch has quit [Quit: Ex-Chat]
08:23
vondruch has joined #ruby-core
08:41
xibbar has quit [Remote host closed the connection]
09:01
kosaki2 has quit [Remote host closed the connection]
09:02
judofyr has joined #ruby-core
09:18
nari has quit [Ping timeout: 276 seconds]
09:30
nari has joined #ruby-core
09:36
shirokuro11 has quit [Remote host closed the connection]
09:37
schaerli has joined #ruby-core
09:38
charliesome_ has joined #ruby-core
09:41
charliesome has quit [Disconnected by services]
09:41
charliesome_ is now known as charliesome
09:58
nari has quit [Ping timeout: 276 seconds]
10:06
shirokuro11 has joined #ruby-core
10:09
nari has joined #ruby-core
10:15
shirokuro11 has quit [Ping timeout: 272 seconds]
10:33
shirokuro11 has joined #ruby-core
10:40
judofyr has quit [Ping timeout: 246 seconds]
10:44
schaerli has quit [Remote host closed the connection]
10:45
judofyr has joined #ruby-core
10:47
shirokuro11 has quit [Remote host closed the connection]
10:48
hsbt is now known as hsbt_away
10:49
shirokuro11 has joined #ruby-core
10:55
hsbt_away is now known as hsbt
11:19
nari has quit [Ping timeout: 276 seconds]
11:23
kosaki8 has joined #ruby-core
11:24
takeru_ has joined #ruby-core
11:29
takeru_ has quit [Ping timeout: 255 seconds]
11:30
schaerli has joined #ruby-core
11:33
xibbar has joined #ruby-core
11:33
xibbar has quit [Read error: Connection reset by peer]
11:54
nari has joined #ruby-core
12:04
peterc has joined #ruby-core
12:26
kosaki8 has quit [Ping timeout: 272 seconds]
12:31
nari has quit [Ping timeout: 256 seconds]
12:33
nari has joined #ruby-core
13:02
schaerli has quit [Remote host closed the connection]
13:10
hsbt is now known as hsbt_away
13:10
hsbt_away is now known as hsbt
13:16
hsbt is now known as hsbt_away
13:16
hsbt_away is now known as hsbt
13:21
hsbt has quit [Ping timeout: 256 seconds]
13:22
hsbt_away has joined #ruby-core
13:22
hsbt_away is now known as hsbt
13:25
hsbt is now known as hsbt_away
13:26
hsbt_away is now known as hsbt
13:33
hsbt has quit [Ping timeout: 248 seconds]
13:35
hsbt_away has joined #ruby-core
13:35
hsbt_away is now known as hsbt
13:35
hsbt is now known as hsbt_away
13:36
hsbt_away is now known as hsbt
13:36
hsbt is now known as hsbt_away
13:37
hsbt_away is now known as hsbt
13:42
hsbt has quit [Ping timeout: 246 seconds]
13:45
hsbt has joined #ruby-core
13:59
hsbt is now known as hsbt_away
13:59
hsbt_away is now known as hsbt
14:04
vondruch has quit [Ping timeout: 246 seconds]
14:12
shirokuro11 has quit [Remote host closed the connection]
14:16
hsbt is now known as hsbt_away
14:16
hsbt_away is now known as hsbt
14:21
nari has quit [Ping timeout: 255 seconds]
14:26
hsbt has quit [Ping timeout: 252 seconds]
14:28
hsbt_away has joined #ruby-core
14:28
hsbt_away is now known as hsbt
14:36
hsbt is now known as hsbt_away
14:36
hsbt_away is now known as hsbt
14:36
hsbt is now known as hsbt_away
14:37
hsbt_away is now known as hsbt
14:42
hsbt is now known as hsbt_away
14:42
kosaki2 has joined #ruby-core
14:43
hsbt_away is now known as hsbt
14:49
hsbt is now known as hsbt_away
14:50
hsbt_away is now known as hsbt
14:50
hsbt is now known as hsbt_away
14:50
hsbt_away is now known as hsbt
14:56
hsbt is now known as hsbt_away
14:56
hsbt_away is now known as hsbt
15:06
hsbt has quit [Ping timeout: 248 seconds]
15:06
shirokuro11 has joined #ruby-core
15:09
enebo has joined #ruby-core
15:10
xibbar has joined #ruby-core
15:10
xibbar has quit [Read error: Connection reset by peer]
15:15
davidbalber|away is now known as davidbalbert
15:21
peterc has quit [Ping timeout: 248 seconds]
15:24
hsbt_away has joined #ruby-core
15:24
hsbt_away is now known as hsbt
15:25
takeru has joined #ruby-core
15:30
takeru has quit [Ping timeout: 255 seconds]
15:30
hsbt is now known as hsbt_away
15:33
hsbt_away is now known as hsbt
15:34
shirokuro11 has quit [Remote host closed the connection]
15:37
kosaki2 has quit [Remote host closed the connection]
15:39
hsbt has quit [Ping timeout: 255 seconds]
15:39
hsbt_away has joined #ruby-core
15:39
hsbt_away is now known as hsbt
15:41
hsbt is now known as hsbt_away
15:41
hsbt_away is now known as hsbt
15:54
schaerli has joined #ruby-core
16:02
kosaki2 has joined #ruby-core
16:03
hsbt is now known as hsbt_away
16:03
hsbt_away is now known as hsbt
16:08
hsbt is now known as hsbt_away
16:09
hsbt_away is now known as hsbt
16:09
schaerli has quit [Remote host closed the connection]
16:24
davidbalbert is now known as davidbalber|away
16:25
davidbalber|away is now known as davidbalbert
16:42
judofyr has quit [Remote host closed the connection]
16:43
hsbt is now known as hsbt_away
16:43
hsbt_away is now known as hsbt
16:47
__BigO__ has joined #ruby-core
16:53
hsbt is now known as hsbt_away
16:53
hsbt_away is now known as hsbt
16:58
kosaki2 has quit [Remote host closed the connection]
16:58
davidbalbert is now known as davidbalber|away
16:59
xibbar has joined #ruby-core
16:59
hsbt is now known as hsbt_away
17:00
hsbt_away is now known as hsbt
17:03
xibbar has quit [Ping timeout: 248 seconds]
17:08
kosaki2 has joined #ruby-core
17:09
hsbt has quit [Ping timeout: 264 seconds]
17:10
hsbt has joined #ruby-core
17:25
takeru has joined #ruby-core
17:30
takeru has quit [Ping timeout: 252 seconds]
17:52
hsbt is now known as hsbt_away
17:52
hsbt_away is now known as hsbt
18:01
hsbt has quit [Ping timeout: 252 seconds]
18:02
hsbt has joined #ruby-core
18:03
kosaki2 has quit [Remote host closed the connection]
18:13
hsbt is now known as hsbt_away
18:13
hsbt_away is now known as hsbt
18:18
hsbt has quit [Ping timeout: 256 seconds]
18:18
hsbt has joined #ruby-core
18:20
_protagoras271_ has quit [Remote host closed the connection]
19:11
schaerli has joined #ruby-core
19:26
takeru has joined #ruby-core
19:30
takeru has quit [Ping timeout: 252 seconds]
19:51
<
injekt >
zzak: zomg thread guide
19:52
peterc has joined #ruby-core
19:59
<
zzak >
i still need to write about exception handling, and scheduling threads
20:07
<
_ko1 >
i need an advice.
20:07
<
_ko1 >
[ruby-core:52877] Any documentation about debugging in Ruby 2.0.0
20:07
<
_ko1 >
I completely misunderstood that
20:07
<
_ko1 >
his question is 'how to make debugger'
20:08
<
_ko1 >
of course, his question is 'how to use debugger on 2.0'
20:08
<
zzak >
he is asking how to use debugger
20:08
<
_ko1 >
debug.rb helps him?
20:10
<
zzak >
maybe? i think he wants to use new debugger api
20:10
<
zzak >
debug.rb uses Tracer, which implements new api, correct?
20:10
<
_ko1 >
tracer uses set_trace_func
20:11
<
zzak >
ahh, i thought it was using tracepoint now
20:11
<
zzak >
but i am wrong
20:12
<
zzak >
i think profiler was switched to use tracepoint
20:12
<
_ko1 >
> I use this to debug my
20:12
<
_ko1 >
> applications... How do I set a breakpoint for instance?
20:12
<
_ko1 >
his comment.
20:12
peterc has quit [Ping timeout: 248 seconds]
20:12
<
_ko1 >
i think he uses the word "debug api" as "debugger"
20:13
<
zzak >
yeh i think so
20:13
<
_ko1 >
ah, his first mail also say that.
20:13
<
zzak >
ie: def hello; require 'debug'; end
20:14
<
zzak >
with debugger gem: require 'debugger'; def hello; debugger; end
20:14
<
zzak >
that sets up breakpoint
20:15
<
_ko1 >
but debugger gem doesn't work now.
20:15
<
zzak >
new api is complex, i dont think debug_inspector has "breakpoint" like he requested
20:16
<
_ko1 >
debug_inspector is used
*after* breakpoint
20:16
peterc has joined #ruby-core
20:17
<
zzak >
he only implemented your code
20:17
<
_ko1 >
Yes, I know. please see author :)
20:19
peterc_ has joined #ruby-core
20:21
ex9t has quit [Read error: Connection reset by peer]
20:21
peterc__ has joined #ruby-core
20:22
peterc has quit [Ping timeout: 248 seconds]
20:23
ex9t has joined #ruby-core
20:24
peterc_ has quit [Ping timeout: 248 seconds]
20:24
<
_ko1 >
redmine is nice
20:24
<
_ko1 >
sorry, rubymine
20:24
peterc has joined #ruby-core
20:26
peterc_ has joined #ruby-core
20:26
<
zzak >
it seems like a good IDE
20:26
<
zzak >
but i still prefer vim
20:27
peterc__ has quit [Ping timeout: 248 seconds]
20:28
peterc has quit [Ping timeout: 248 seconds]
20:31
peterc has joined #ruby-core
20:32
peterc_ has quit [Ping timeout: 248 seconds]
20:33
peterc_ has joined #ruby-core
20:34
<
_ko1 >
now i start port debugger gem to 2.0.0
20:35
peterc__ has joined #ruby-core
20:35
xibbar has joined #ruby-core
20:36
peterc has quit [Ping timeout: 248 seconds]
20:36
xibbar has quit [Read error: Connection reset by peer]
20:37
peterc has joined #ruby-core
20:38
peterc_ has quit [Ping timeout: 264 seconds]
20:40
peterc__ has quit [Ping timeout: 248 seconds]
20:42
peterc has quit [Ping timeout: 248 seconds]
20:43
peterc has joined #ruby-core
20:45
peterc_ has joined #ruby-core
20:46
<
zzak >
i think lib/debug.rb should be improved
20:46
<
zzak >
debugger gem is nice, but we already have one in stdlib
20:47
peterc__ has joined #ruby-core
20:48
<
zzak >
i agree with #6586
20:48
peterc has quit [Ping timeout: 264 seconds]
20:49
<
_ko1 >
we need a bot to show URL
20:49
peterc_ has quit [Ping timeout: 248 seconds]
20:52
peterc__ has quit [Ping timeout: 264 seconds]
20:53
peterc_ has joined #ruby-core
20:53
<
_ko1 >
debugger user interface should be gem
20:54
<
_ko1 >
debugger core (used by interface) should be in core.
20:55
<
zzak >
but we already have debug.rb
20:56
<
_ko1 >
default gem?
20:56
<
zzak >
yes, and it has no maintainer
20:59
<
zzak >
ruby-core:45635
21:01
<
_ko1 >
please notice if it is noisy
21:04
headius has joined #ruby-core
21:08
headius has quit [Client Quit]
21:08
headius has joined #ruby-core
21:15
<
zzak >
ruby-core:45635
21:26
takeru has joined #ruby-core
21:30
takeru has quit [Ping timeout: 252 seconds]
21:48
tenderlove has joined #ruby-core
21:59
peterc has joined #ruby-core
22:02
peterc_ has quit [Ping timeout: 248 seconds]
22:14
davidbalber|away is now known as davidbalbert
22:24
xibbar has joined #ruby-core
22:29
xibbar has quit [Ping timeout: 252 seconds]
22:33
peterc_ has joined #ruby-core
22:34
peterc_ has quit [Remote host closed the connection]
22:35
peterc has quit [Ping timeout: 248 seconds]
22:53
__BigO__ has quit [Remote host closed the connection]
23:16
schaerli has quit [Read error: Connection reset by peer]
23:16
schaerli_ has joined #ruby-core
23:19
schaerli_ has quit [Remote host closed the connection]
23:27
takeru has joined #ruby-core
23:31
takeru has quit [Ping timeout: 252 seconds]
23:39
charliesome has joined #ruby-core
23:43
enebo has quit [Quit: enebo]
23:48
xibbar has joined #ruby-core
23:49
xibbar has quit [Remote host closed the connection]
23:50
xibbar has joined #ruby-core
23:57
nari has joined #ruby-core
23:58
__BigO__ has joined #ruby-core