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:05
tylersmith has joined #ruby-core
00:21
kosaki2 has joined #ruby-core
00:21
DanKnox is now known as DanKnox_away
00:29
DanKnox_away is now known as DanKnox
00:30
nagachika has joined #ruby-core
00:30
nagachika has quit [Read error: Connection reset by peer]
00:30
nagachika has joined #ruby-core
00:31
nagachika has quit [Remote host closed the connection]
00:31
nagachika has joined #ruby-core
00:31
znz_v has quit [Quit: kill -QUIT $$]
00:32
znz_v has joined #ruby-core
00:34
idkazuma has quit [Remote host closed the connection]
01:03
hsbt_ has quit [Ping timeout: 245 seconds]
01:03
hsbt has joined #ruby-core
01:04
DanKnox is now known as DanKnox_away
01:18
Ortuna has joined #ruby-core
01:21
kosaki2 has quit [Remote host closed the connection]
01:24
Domon has joined #ruby-core
01:28
shiba___ has joined #ruby-core
01:50
Ortuna has quit [Quit: Computer has gone to sleep.]
01:50
shiba___ has quit [Ping timeout: 256 seconds]
01:51
Ortuna has joined #ruby-core
01:54
igaiga has joined #ruby-core
01:59
kosaki2 has joined #ruby-core
02:18
tenderlove has joined #ruby-core
02:27
tenderlove has quit [Remote host closed the connection]
02:29
igaiga has quit [Remote host closed the connection]
02:33
kosaki2 has quit [Remote host closed the connection]
02:41
shiba___ has joined #ruby-core
02:52
marcandr_ has quit [Remote host closed the connection]
02:53
marcandre has joined #ruby-core
03:04
marcandre has quit [Remote host closed the connection]
03:04
marcandre has joined #ruby-core
03:09
marcandre has quit [Remote host closed the connection]
03:09
marcandre has joined #ruby-core
03:10
Ortuna has quit [Quit: Computer has gone to sleep.]
03:12
kosaki2 has joined #ruby-core
03:12
marcandre has quit [Remote host closed the connection]
03:14
marcandre has joined #ruby-core
03:18
shiba_____ has joined #ruby-core
03:20
shiba___ has quit [Ping timeout: 248 seconds]
03:22
shiba_____ has quit [Ping timeout: 256 seconds]
04:09
krombr has joined #ruby-core
04:13
kosaki2 has quit [Remote host closed the connection]
05:00
eban has quit [*.net *.split]
05:00
Tomohiro_ has quit [*.net *.split]
05:00
kbsa has quit [*.net *.split]
05:00
nurse has quit [*.net *.split]
05:02
nokada has quit [Remote host closed the connection]
05:03
eban has joined #ruby-core
05:03
Tomohiro_ has joined #ruby-core
05:03
kbsa has joined #ruby-core
05:03
nurse has joined #ruby-core
05:08
marcandre has quit [Remote host closed the connection]
05:10
nokada has joined #ruby-core
05:17
krombr has quit [Remote host closed the connection]
05:51
DanKnox_away is now known as DanKnox
06:00
tylersmith has quit [Remote host closed the connection]
06:16
DanKnox is now known as DanKnox_away
06:23
DanKnox_away is now known as DanKnox
07:03
DanKnox is now known as DanKnox_away
07:10
tylersmith has joined #ruby-core
07:14
schaerli has joined #ruby-core
07:16
tylersmith has quit [Ping timeout: 248 seconds]
07:25
nagachik_ has joined #ruby-core
07:25
nagachik_ has quit [Remote host closed the connection]
07:25
nagachika has quit [Read error: Connection reset by peer]
07:26
nagachika has joined #ruby-core
08:04
travis-ci has joined #ruby-core
08:04
travis-ci has left #ruby-core [#ruby-core]
08:04
xibbar has quit [Ping timeout: 256 seconds]
08:06
travis-ci has joined #ruby-core
08:06
travis-ci has left #ruby-core [#ruby-core]
08:09
judofyr has joined #ruby-core
08:09
eLobato has joined #ruby-core
08:10
nokada has quit [Remote host closed the connection]
08:13
travis-ci has joined #ruby-core
08:13
travis-ci has left #ruby-core [#ruby-core]
08:33
nokada has joined #ruby-core
08:37
r0bglees0n has joined #ruby-core
08:48
yugui_ is now known as yugui_zzz
09:13
travis-ci has joined #ruby-core
09:13
travis-ci has left #ruby-core [#ruby-core]
09:18
schaerli has quit [Remote host closed the connection]
10:05
nokada has quit [Remote host closed the connection]
10:18
nokada has joined #ruby-core
10:45
schaerli has joined #ruby-core
10:57
nokada has quit [Remote host closed the connection]
11:00
r0bglees0n has quit [Ping timeout: 260 seconds]
11:00
Domon has quit [Remote host closed the connection]
11:35
nagachika has quit [Remote host closed the connection]
11:49
Ortuna has joined #ruby-core
11:50
nokada has joined #ruby-core
12:03
nagachika has joined #ruby-core
12:41
charliesome has joined #ruby-core
13:05
marcandre has joined #ruby-core
13:07
Ortuna has quit [Quit: Computer has gone to sleep.]
13:12
schaerli has quit [Remote host closed the connection]
13:24
eLobato has quit [Ping timeout: 252 seconds]
13:30
eLobato has joined #ruby-core
13:35
schaerli has joined #ruby-core
13:38
schaerli has quit [Remote host closed the connection]
13:42
schaerli has joined #ruby-core
13:43
eLobato has quit [Quit: WeeChat 0.4.0]
13:47
enebo has joined #ruby-core
13:54
krombr has joined #ruby-core
14:13
nari has joined #ruby-core
14:16
krombr has quit [Remote host closed the connection]
14:18
eLobato has joined #ruby-core
14:21
krombr has joined #ruby-core
14:24
ged has joined #ruby-core
14:31
headius has joined #ruby-core
14:46
shiba has joined #ruby-core
14:57
kosaki2 has joined #ruby-core
15:02
shiba has quit [Ping timeout: 256 seconds]
15:15
kosaki2 has quit [Remote host closed the connection]
15:16
schaerli has quit [Remote host closed the connection]
15:16
shiba has joined #ruby-core
15:20
nari has quit [Ping timeout: 246 seconds]
15:24
r0bglees0n has joined #ruby-core
15:29
DanKnox_away is now known as DanKnox
15:30
eLobato has quit [Quit: WeeChat 0.4.0]
15:39
DanKnox is now known as DanKnox_away
15:59
kosaki2 has joined #ruby-core
16:00
headius has quit [Ping timeout: 246 seconds]
16:15
headius has joined #ruby-core
16:20
tenderlove has joined #ruby-core
16:22
headius has quit [Ping timeout: 256 seconds]
16:23
schaerli has joined #ruby-core
16:26
eLobato has joined #ruby-core
16:27
judofyr has quit [Remote host closed the connection]
16:36
travis-ci has joined #ruby-core
16:36
travis-ci has left #ruby-core [#ruby-core]
16:41
dbussink has quit [Ping timeout: 264 seconds]
16:42
brixen has quit [Ping timeout: 264 seconds]
16:49
nagachika has quit [Remote host closed the connection]
16:49
kosaki2 has quit [Read error: Connection reset by peer]
16:49
kosaki2 has joined #ruby-core
16:50
nagachika has joined #ruby-core
16:51
travis-ci has joined #ruby-core
16:51
travis-ci has left #ruby-core [#ruby-core]
16:54
nagachika has quit [Remote host closed the connection]
16:57
headius has joined #ruby-core
16:57
brixen has joined #ruby-core
16:58
dbussink has joined #ruby-core
17:03
tylersmith has joined #ruby-core
17:03
nagachika has joined #ruby-core
17:05
schaerli has quit [Remote host closed the connection]
17:07
shiba has quit [Ping timeout: 245 seconds]
17:22
kosaki2 has quit [Remote host closed the connection]
17:22
krombr has quit [Quit: krombr]
17:24
DanKnox_away is now known as DanKnox
17:43
kosaki2 has joined #ruby-core
17:46
DanKnox is now known as DanKnox_away
17:52
nagachika has quit [Remote host closed the connection]
17:55
headius has quit [Ping timeout: 252 seconds]
18:01
DanKnox_away is now known as DanKnox
18:05
eLobato has quit [Quit: WeeChat 0.4.0]
18:06
headius has joined #ruby-core
18:06
kosaki2 has quit [Remote host closed the connection]
18:09
krombr has joined #ruby-core
18:10
eLobato has joined #ruby-core
18:10
kosaki2 has joined #ruby-core
18:12
<
eLobato >
zzak: did you have a chance to look at the BigDecimal docs?
18:13
<
eLobato >
I'm working on core Math right now
18:13
tarui has quit [Quit: Quit Nadoka 0.8.2-trunk (-)]
18:14
<
zzak >
eLobato: not yet, i will try to review them tonight
18:15
<
eLobato >
zzak: I have a question, I see very often that method definitions are documented as method(x,y)
18:15
tarui has joined #ruby-core
18:15
<
eLobato >
I personally think it's best to define them as for instance, method(numeric, float)
18:16
<
eLobato >
zzak: didn't find any standard or anything for that, how should I move on?
18:17
<
zzak >
there isn't really a standard per-se
18:17
<
zzak >
but more descriptive parameter names are always welcome
18:17
<
eLobato >
how about
18:17
<
eLobato >
maybe a variable name : type
18:18
<
eLobato >
BigMath.sqrt(number : BigDecimal, precision : Numeric)
18:18
<
zzak >
oh, no just use sqrt(number, float) or something
18:19
<
zzak >
take a look at Array
18:19
<
eLobato >
the thing is sometimes the descriptions go like "computes the sqrt of number"
18:19
<
zzak >
it uses things like (obj) or (object) and (ary), (array), (other_ary), etc
18:19
<
zzak >
yeah, you can reference the parameters in the description
18:20
<
zzak >
if you dont want to edit the function, use call-seq
18:20
<
eLobato >
oh yeah i always meant to do that
18:20
<
zzak >
best to use call-seq
18:21
<
eLobato >
other_ary -> cool, i understand its an array because i've been working with ruby for a while, but something like
18:21
<
eLobato >
(other_ary : Array)
18:22
<
eLobato >
sounds more understandable to me, maybe its im used of reading static typed languages docs
18:22
<
zzak >
yeh probably
18:22
<
zzak >
its been debated a few times, but theres nothing set in stone
18:22
<
zzak >
mostly because rdoc is so linient
18:23
<
eLobato >
i see how people write things like each → Enumerator
18:23
<
zzak >
that is also fine, for return
18:23
<
zzak >
that's also a mixed bag
18:24
headius has quit [Ping timeout: 248 seconds]
18:24
<
eLobato >
i'll follow with the way i wrote bigdecimal then :/
18:24
<
zzak >
but ive seen both
18:24
<
eLobato >
function(type) -> return_type
18:24
<
eLobato >
class not type :p
18:25
<
eLobato >
last question , sorry for bugging you
18:26
<
eLobato >
somehow rdoc doesn't pick up classes from C docs? I write things like "Float" and I see it in italics, but no link to the Float class
18:30
krombr has quit [Quit: krombr]
18:36
<
zzak >
you have to include float.c when generating the rdoc
18:37
kosaki2 has quit [Remote host closed the connection]
18:46
kosaki2 has joined #ruby-core
18:49
<
eLobato >
zzak: that didn't do it, but i guess its something wrong with my rdoc, i dont get any links
18:51
<
zzak >
whats the command you're using?
18:52
<
eLobato >
rdoc *.c -o tmpdoc
18:53
<
zzak >
from what directory?
18:53
<
zzak >
what file are you documenting?
18:53
<
zzak >
and version of rdoc?
18:53
<
zzak >
try using 4.0.0
18:54
<
zzak >
and use: rdoc -o tmpdoc math.c numeric.c
18:58
kosaki2 has quit [Remote host closed the connection]
19:02
<
eLobato >
much better, thanks
19:14
tenderlove has quit [Remote host closed the connection]
19:14
<
eLobato >
it doesn't link the call-seq method definition though
19:15
kosaki2 has joined #ruby-core
19:15
enebo has quit [Quit: enebo]
19:22
headius has joined #ruby-core
19:27
DanKnox is now known as DanKnox_away
19:27
<
eLobato >
zzak: i'm down to fix it :) cool
19:50
kosaki2 has quit [Remote host closed the connection]
20:02
enebo has joined #ruby-core
20:39
tenderlove has joined #ruby-core
20:57
headius has quit [Ping timeout: 276 seconds]
21:19
tenderlo_ has joined #ruby-core
21:20
DanKnox_away is now known as DanKnox
21:22
tenderlove has quit [Ping timeout: 252 seconds]
21:22
headius has joined #ruby-core
21:55
tmahoney has joined #ruby-core
22:02
DanKnox is now known as DanKnox_away
22:04
enebo has quit [Quit: enebo]
22:05
nokada has quit [Read error: Connection reset by peer]
22:06
nokada has joined #ruby-core
22:11
DanKnox_away is now known as DanKnox
22:13
tenderlo_ has quit [Ping timeout: 245 seconds]
22:14
tenderlove has joined #ruby-core
22:21
headius has quit [Quit: headius]
22:23
headius has joined #ruby-core
22:31
eLobato has quit [Quit: WeeChat 0.4.0]
22:54
xibbar has joined #ruby-core
22:57
headius has quit [Quit: headius]
23:00
tmahoney has quit [Remote host closed the connection]
23:05
DanKnox is now known as DanKnox_away
23:07
DanKnox_away is now known as DanKnox
23:31
idkazuma has joined #ruby-core
23:55
DanKnox is now known as DanKnox_away