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 quit [Read error: Connection reset by peer]
00:01
kosaki2 has joined #ruby-core
00:14
tylersmi_ has quit [Remote host closed the connection]
00:14
tylersmith has joined #ruby-core
00:19
tylersmith has quit [Ping timeout: 264 seconds]
00:26
travis-ci has joined #ruby-core
00:26
travis-ci has left #ruby-core [#ruby-core]
00:27
kosaki2 has quit [Remote host closed the connection]
00:33
kosaki2 has joined #ruby-core
00:53
nari has quit [Ping timeout: 264 seconds]
00:58
schaerli has joined #ruby-core
01:00
charliesome has joined #ruby-core
01:03
schaerli has quit [Ping timeout: 240 seconds]
01:13
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:22
nari has joined #ruby-core
01:41
nari has quit [Ping timeout: 245 seconds]
01:42
DanKnox is now known as DanKnox_away
01:58
nari has joined #ruby-core
02:15
kosaki2 has quit [Remote host closed the connection]
02:25
headius has joined #ruby-core
02:30
schaerli has joined #ruby-core
02:35
schaerli has quit [Ping timeout: 245 seconds]
02:36
shinnya has quit [Read error: Operation timed out]
02:57
headius has quit [Quit: headius]
03:27
charliesome has joined #ruby-core
03:43
headius has joined #ruby-core
04:20
nokada_ has joined #ruby-core
04:20
nokada has quit [Read error: Connection reset by peer]
04:41
ged has quit [Read error: Connection reset by peer]
04:42
ged has joined #ruby-core
04:43
<
charliesome >
cc headius
04:43
<
headius >
I feel kinda silly now :-)
04:43
<
charliesome >
we could extend this sort of thing to work on array/hash literals too
04:44
<
charliesome >
without requiring changes to the user visible language
04:44
<
headius >
there would be a call site invalidation check for String#freeze, but it will still be way faster than a new object
04:44
<
headius >
yeah easily
04:44
<
headius >
your fstring code would stay in place
04:47
<
charliesome >
i'm totally in favour of going with this and killing f-suffix syntax
06:30
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:57
headius has quit [Quit: headius]
06:58
DanKnox_away has quit [Ping timeout: 248 seconds]
07:00
DanKnox_away has joined #ruby-core
07:00
DanKnox_away is now known as DanKnox
07:13
shinnya has joined #ruby-core
07:25
Guest90232 has joined #ruby-core
07:26
Guest90232 is now known as soba
07:38
schaerli has joined #ruby-core
08:01
schaerli has quit [Remote host closed the connection]
08:39
charliesome has joined #ruby-core
08:41
schaerli has joined #ruby-core
08:49
schaerli has quit [Remote host closed the connection]
08:50
schaerli has joined #ruby-core
08:54
schaerli has quit [Ping timeout: 245 seconds]
08:59
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:25
nari has quit [Ping timeout: 264 seconds]
10:02
charliesome has joined #ruby-core
10:02
charliesome has quit [Client Quit]
10:03
nokada_ has quit [Read error: Connection reset by peer]
10:04
nokada has joined #ruby-core
10:05
nokada_ has joined #ruby-core
10:05
nokada has quit [Read error: Connection reset by peer]
10:56
charliesome has joined #ruby-core
11:18
nagachika has joined #ruby-core
11:27
soba has quit [Ping timeout: 256 seconds]
11:32
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:53
schaerli has joined #ruby-core
12:05
nari has joined #ruby-core
12:12
schaerli has quit [Remote host closed the connection]
12:13
schaerli has joined #ruby-core
12:17
schaerli has quit [Ping timeout: 256 seconds]
12:40
zeusmns has quit [Ping timeout: 240 seconds]
12:43
zeusmns has joined #ruby-core
12:47
soba has joined #ruby-core
13:25
schaerli has joined #ruby-core
14:17
ex9t has quit [Remote host closed the connection]
14:17
ex9t has joined #ruby-core
15:48
_whitelogger has joined #ruby-core
16:27
r0bgleeson has quit [Ping timeout: 264 seconds]
16:41
tylersmith has joined #ruby-core
16:55
r0bgleeson has joined #ruby-core
17:01
shinnya has quit [Ping timeout: 245 seconds]
17:23
nagachika has quit [Remote host closed the connection]
17:26
schaerli has quit [Remote host closed the connection]
17:27
schaerli has joined #ruby-core
17:27
schaerli has quit [Read error: Connection reset by peer]
17:28
schaerli has joined #ruby-core
17:42
schaerli has quit [Remote host closed the connection]
17:43
schaerli has joined #ruby-core
17:47
schaerli has quit [Ping timeout: 252 seconds]
17:55
enebo has joined #ruby-core
17:57
enebo has quit [Client Quit]
19:33
soba has quit [Ping timeout: 240 seconds]
19:59
DanKnox is now known as DanKnox_away
20:37
schaerli has joined #ruby-core
20:48
schaerli has quit [Remote host closed the connection]
20:49
schaerli has joined #ruby-core
20:51
schaerli has quit [Read error: Operation timed out]
21:10
felipec has joined #ruby-core
21:10
<
felipec >
any developers around can explain why the patch to fix strptime() is not applied?
21:13
MrZYX has joined #ruby-core
21:14
eam has joined #ruby-core
21:36
MrZYX has left #ruby-core [#ruby-core]
22:07
DanKnox_away is now known as DanKnox
22:52
<
r0bgleeson >
felipec: is 1377283786 seconds since EPOCH?
22:53
<
r0bgleeson >
%s seems to be documented as "seconds within the minute"
22:53
<
felipec >
r0bgleeson: yes, that's what '%s' means in strptime(3)
22:53
<
felipec >
r0bgleeson: no, that's %S
22:54
<
r0bgleeson >
ah youre right
22:54
<
r0bgleeson >
my bad
22:54
<
r0bgleeson >
i use cmd+f and didnt figure out the case, sorry
22:54
<
felipec >
r0bgleeson: the fix is very simple, and doesn't affect anybody negatively
22:54
<
felipec >
I don't see what the problem is
22:55
<
r0bgleeson >
i'm not a great person to ask, i idle here, no background on the ticket.
22:58
DanKnox is now known as DanKnox_away
23:00
<
r0bgleeson >
felipec: seems to make a lot of sense to me.
23:01
schaerli has joined #ruby-core
23:02
schaerli has quit [Remote host closed the connection]
23:02
<
r0bgleeson >
felipec: what does that return for Time.strptime "0 -07:00", "%s %z" ?
23:03
schaerli has joined #ruby-core
23:04
<
felipec >
r0bgleeson: it seems Time is not affected
23:04
<
felipec >
r0bgleeson: but in DateTime it's 1969-12-31T17:00:00-07:00
23:06
<
felipec >
r0bgleeson: or maybe it is affected, I'm testing with rubysl right now
23:06
<
r0bgleeson >
felipec: ah, i didnt even know Time.at took a negative index
23:06
<
felipec >
r0bgleeson: yes
23:06
<
r0bgleeson >
it makes sense just wondered about that case
23:07
schaerli has quit [Ping timeout: 240 seconds]
23:17
<
r0bgleeson >
felipec: Time.strptime() doesn't seem to be aware of the timezone at all here for me on rbx2.0.0
23:17
<
r0bgleeson >
it returns UTC+1 for -07:00
23:18
DanKnox_away is now known as DanKnox
23:18
<
felipec >
r0bgleeson: yeah, UTC+1 is probably your localtime
23:18
<
r0bgleeson >
its not
23:18
<
r0bgleeson >
im UTC+2
23:18
<
r0bgleeson >
Time.now returns UTC+2
23:19
<
felipec >
r0bgleeson: what does Time.strptime("0 -07:00", "%s %z") return?
23:19
<
r0bgleeson >
irb(main):009:0> Time.strptime "0 -07:00", "%s %z"
23:19
<
r0bgleeson >
=> 1970-01-01 01:00:00 +0100
23:20
<
felipec >
r0bgleeson: and Time.at(0)?
23:20
<
r0bgleeson >
irb(main):011:0> Time.at(0)
23:20
<
r0bgleeson >
=> 1970-01-01 01:00:00 +0100
23:21
<
r0bgleeson >
it doesnt use UTC for you?
23:21
<
r0bgleeson >
im on the official release of 2
23:22
<
r0bgleeson >
i think the +1 is for DST
23:24
<
felipec >
r0bgleeson: actually Time.at(0) returns -6, Time.now returns -5
23:24
<
r0bgleeson >
thats local time then
23:25
<
felipec >
smells like a bug
23:26
DanKnox is now known as DanKnox_away
23:28
<
r0bgleeson >
felipec: it looks like the offset is screwed
23:28
<
r0bgleeson >
for DST
23:28
<
r0bgleeson >
thatd be my guess
23:30
<
r0bgleeson >
looks like Time.now has the right offset for my local time and at() doesn't
23:45
<
zzak >
i sent tweet + updated ticket