»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by sorear on 4 February 2011.
00:03 Circlepuller joined 00:06 Circlepuller_ left 00:07 pmurias left 00:13 leont left 00:20 whiteknight joined 00:22 tokuhiro_ joined 00:27 Guest29702 left 00:31 thou joined 00:47 thou left 01:20 Exodist left 01:22 tokuhiro_ left 01:39 sctt joined 01:42 whiteknight left 01:52 Circlepuller_ joined 01:53 Circlepuller left 02:04 raiph left 02:07 xdbr left 02:17 thou joined 02:32 kid51 left 03:13 _jaldhar left 03:14 c1sung left 03:17 Circlepuller joined 03:19 wamba joined 03:20 Circlepuller_ left, c1sung joined 03:43 wamba left, wamba joined 03:48 ServerSage left 03:53 ServerSage joined 03:54 yarp joined 04:10 sctt left 04:21 telex left 04:26 Colby` joined 04:28 daniel-s_ joined, Pleiades` left 04:29 Colby` is now known as Pleiades`, telex joined 04:32 daniel-s left 04:34 Circlepuller_ joined 04:37 Circlepuller left 04:48 wamba left
moritz good morning 04:49
04:53 kurahaupo joined 04:57 wamba joined
sorear good morning moritz 05:01
05:03 yarp left, kaare_ joined 05:21 Chillance left 05:45 tokuhiro_ joined 05:47 kaare_ left 05:51 kaare_ joined
dalek ecza: b344401 | sorear++ | lib/ (2 files):
ThawBuffer knows its setting
06:46
ecza: d8852de | sorear++ | lib/ (2 files):
Fix over-eager caching of method handlers, colomon++
sorear phenny: tell colomon the bug you found while trying to enhance "cmp" is fixed now
phenny sorear: I'll pass that on when colomon is around.
06:52 lestrrat left, Ulti left, jrockway joined, ranguard left 06:54 ranguard joined 06:56 mikemol joined 07:03 mucker joined 07:10 Ulti joined, lestrrat joined, ChoHag joined, frettled joined, charsbar_____ joined, `patch` joined 07:15 cognominal joined 07:16 sirrobert left 07:29 cognominal_ joined
dalek rlito: bd673d3 | (Flavio S. Glock)++ | / (15 files):
Perlito5 - add "Javascript3" backend (containers are objects)
07:30
07:32 cognominal left 07:33 Psyche^ joined 07:36 cognominal__ joined 07:37 Patterner left, Psyche^ is now known as Patterner, cognominal__ left, cognominal joined 07:39 cognominal left, cognominal_ left
dalek rlito: ad58fdb | (Flavio S. Glock)++ | / (2 files):
Perlito5 - Javascript3 - fix method names
07:40
07:44 cognominal_ joined 07:52 cognominal joined 07:55 cognominal_ left 07:56 mucker left 08:06 GlitchMr joined 08:07 PacoAir joined
masak morning, #perl6 08:12
sorear o/ 08:15
dalek rlito: bb527ad | (Flavio S. Glock)++ | / (4 files):
Perlito5 - js3 - add make build-5js3
08:17
08:18 c1sung left 08:19 c1sung joined 08:31 Circlepuller joined 08:33 lumi_ joined, Circlepuller_ left 08:37 cognominal left 08:38 thou__ joined 08:39 thou left, flightrecorder joined, FROGGS joined 08:42 thou joined 08:44 thou__ left 08:59 cognominal joined 09:04 cognominal left, wamba left 09:05 cognominal joined
cognominal nqp: say(?$/) 09:13
p6eval nqp: OUTPUT«(signal SEGV)»
cognominal keeping at breaking things
FROGGS morning
cognominal morning
masak nqp: ?$/ 09:28
p6eval nqp: OUTPUT«(signal SEGV)»
masak nqp: $/ 09:29
p6eval nqp: ( no output )
masak nqp: say $/.WHAT
p6eval nqp: OUTPUT«Confused at line 2, near "say $/.WHA"␤current instr.: 'panic' pc 19999 (src/stage2/gen/NQPHLL.pir:7315) (src/stage2/gen/NQPHLL.pm:324)␤»
masak hm :)
09:29 kurahaupo left
dalek rlito: 9e72206 | (Flavio S. Glock)++ | / (2 files):
Perlito5 - js3 - fix list interpolation
09:30
09:31 cognominal_ joined, MayDaniel joined 09:32 cognominal left 09:36 cognominal_ left 09:42 yarp joined, kurahaupo joined 09:46 cognominal joined 09:48 sctt joined 09:51 cognominal left
dalek rlito: 5640877 | (Flavio S. Glock)++ | / (3 files):
Perlito5 - js3 - fix "our" variables
09:55
09:58 whiteknight joined
dalek rlito: 7f2e5dc | (Flavio S. Glock)++ | / (2 files):
Perlito5 - js3 - fix die()
10:02
10:05 xinming left 10:07 xinming joined 10:16 spider-mario joined
felher I guess I am just blind, but where is specified what happens if you C<use> a file that is just a normal file, not a module, not a package? 10:16
tadzik nqp: say($/.WHAT) 10:20
p6eval nqp: OUTPUT«(signal SEGV)»
tadzik nqp: say($/)
p6eval nqp: OUTPUT«Null PMC access in get_string()␤current instr.: '' pc 791 (src/stage2/gen/NQPCORE.setting.pir:363) (src/stage2/NQPCORE.setting:321)␤»
10:21 thou left
jnthn felher: S11 notes that EXPORT is a lexical installed in UNIT. Thus exports working out is orthogonal to what module/class is actually declared inside the file. 10:23
It's just convention (though a good one) to match file name and path with having a module of that name declared inside the file.
felher jnthn: ah, a UNIT is a compilation unit. And files are compilation units, so they get their EXPORT automatically. 10:25
10:25 bbkr left
felher jnthn: thnx a lot :) 10:25
jnthn np :) 10:26
10:27 tokuhiro_ left 10:28 kurahaupo left 10:30 leont joined 10:33 xdbr joined
Ulti this is a good talk www.youtube.com/watch?v=tCel6lpDTZI 10:36
felher yeah, the rakudo speekup is really great :) 10:42
Ulti yeah its very noticable, even if I haven't done much p6 programming I've built each release of star for the last couple of years and its gotten a lot better 10:43
10:43 Guest29702 joined
felher indeed :) 10:46
leont Last question of this interview is interesting for us too: www.codeguru.com/cpp/article.php/c1...ustrup.htm 10:50
jnthn Time to head to the airport. Back in ~20 hours, in a timezone far, far away. &
leont jnthn: YAPC::Asia? 10:51
doy leont: that seems about equally relevant to perl 5 and perl 6 10:52
(:
11:00 kaare_ left 11:04 tgt joined 11:05 Su-Shee_ joined 11:09 Su-Shee left 11:10 flightrecorder left, FROGGS left 11:12 birdwindupbird joined
dalek rlito: 283f52b | (Flavio S. Glock)++ | / (2 files):
Perlito5 - js3 - fix container stringification
11:21
rlito: 5ff149c | (Flavio S. Glock)++ | / (2 files):
Perlito5 - js3 - fix warn()
11:32
11:32 wamba joined 11:43 _jaldhar joined
dalek rlito: aa057ce | (Flavio S. Glock)++ | t5/01-perlito/19-local.t:
Perlito5 - more tests
11:49
12:11 wamba left 12:13 PacoAir left
dalek rlito: 469a34f | (Flavio S. Glock)++ | / (4 files):
Perlito5 - js3 - fix local(), more tests
12:20
12:33 tgt left 12:37 fgomez left 12:44 benabik left 12:47 benabik joined 12:49 tokuhiro_ joined 12:50 colomon_ joined 12:59 tgt joined 13:19 Circlepuller left 13:20 Circlepuller joined 13:21 birdwind1pbird joined 13:23 Tanktalus left 13:27 tokuhiro_ left 13:33 PacoAir joined 13:34 Targen joined 13:37 Tanktalus joined 13:38 mucker joined 13:51 fgomez joined
dalek rlito: df13543 | (Flavio S. Glock)++ | / (3 files):
Perlito5 - js3 - add @_ aliasing
13:51
14:26 birdwind1pbird left 14:33 spider-mario left
dalek rlito: 62131aa | (Flavio S. Glock)++ | / (3 files):
Perlito5 - js3 - increment/decrement
14:36
14:46 marmay joined, whiteknight left 14:51 JimmyZ joined, JimmyZ left 14:53 kaare_ joined
masak obviously, the NP-oracle looks at prime candidates and says "sorry kid, but you're not the one". 14:55
14:55 sctt left
arnsholt =D 14:55
masak <moritz> öööööööööööööööööl 5~ 14:57
luckily, that means "oil" in German, not "beer" as in Swedish. 14:58
I'm all for bringing up Ronja in the Linux hacker tradition, but beer can probably wait a few more years... :P 14:59
15:04 Guest29702 left 15:05 wamba joined, yarp left 15:11 yarp joined 15:21 whiteknight joined 15:26 cognominal joined 15:28 kst left 15:42 yarp left 16:00 cognominal left 16:08 cognominal joined
dalek rlito: fdcaf07 | (Flavio S. Glock)++ | / (4 files):
Perlito5 - js3 - impl PUSH - this will be used by tied arrays someday
16:18
16:26 mucker left 16:28 cognominal left, Chillance joined 16:30 Guest29702 joined 16:33 fgomez left 16:34 cognominal joined 16:35 birdwindupbird left, fgomez joined 16:39 cognominal left
diakopter TimToady: I let it run through base 22 - bases 19-22 aren't anywhere close to as big as 18 16:39
16:42 cognominal joined
dalek rlito: 6b80f2a | (Flavio S. Glock)++ | / (3 files):
Perlito5 - js3 - more tied methods
16:42
diakopter bases 3-22: Execution time: 36531.603 s 16:45
so around 10 hours
9.5 of that being base 18 I'm sure 16:46
[Coke] blahs at the partcl nqp conversion effort.
16:58 cognominal left 17:04 cognominal joined
[Coke] tries to figure out the QAST syntax for calling a sub and passing it arguments 17:12
if I want to see what PIR is generated with some QAST, is there a way to do that? 17:17
(in lieu of more docs on QAST)
17:21 cognominal left 17:22 skids joined, thou joined
[Coke] phenny: ask jnthn how one is supposed to invoke a named sub from QAST. QAST::Op.new( :op<call>, :name<invoke> ); complains that it cannot find a sub called "invoke" (There's one at program top level, and one in the actions class, since I don't know where it's looking) 17:26
phenny [Coke]: I'll pass that on when jnthn is around.
GlitchMr github.com/sorear/niecza/commits/master 17:36
this commit history starts to annoy me
Why commit made 5 days ago would be before commit made a day ago? 17:37
[Coke] I'll bite, why does that commit history annoy you?
... because you can commit things whenever you like locally, reorder them, and then push them.
GlitchMr Fix over-eager caching of method handlers, colomon++: sorear authored 11 hours ago
ThawBuffer knows its setting: sorear authored 5 days ago
[Coke] Sure.
GlitchMr Add BigInteger handling in ln: colomon authored a day ago
[Coke] the order the commits are in in history isn't necessarily the order commits are in when you committed them. 17:38
GlitchMr 5 days is shorter period than 1 day or what
[Coke] GlitchMr: stop typing and read what I wrote.
GlitchMr This is... confusing 17:39
[Coke] this is... git
dalek href="https://glitchmr.github.com/perl6-changes:">glitchmr.github.com/perl6-changes: a5ffc5d | GlitchMr++ | _posts/2012-09-23-perl-6-changes-2012W38.md:
Actually, it's fourth Thursday, not third.
17:41
href="https://glitchmr.github.com/perl6-changes:">glitchmr.github.com/perl6-changes: d3761af | GlitchMr++ | _posts/2012-09-23-perl-6-changes-2012W38.md:
Upload Perl 6 changes for 2012W38
[Coke] you don't even have to reorder - I do a commit locally. I sit on it for a week. you do a commit and push it today, all at once. I am reminded to push my commit - I rebase, and push. your commit is in first, but mine is older.
dalek href="https://glitchmr.github.com:">glitchmr.github.com: d721657 | GlitchMr++ | _posts/2012-09-23-perl-6-changes-2012W38.md:
Placeholder Perl 6 changes for 2012W38 page

Currently, not much was mentioned on this page, but I've made this branch so you can read it and report any bugs with this list if you will find any (like spelling errors or factual errors).
17:42
href="https://glitchmr.github.com:">glitchmr.github.com: 8179af9 | GlitchMr++ | _posts/2012-09-23-perl-6-changes-2012W38.md:
Add more Perl 6 changes to blog article.

Currently, the changes aren't too exciting compared to previous week, but we still have three days - who knows what will happen then... Besides, isn't Rakudo Star release awesome enough - I mean, it brings newest changes to useful and usable distribution of Perl 6 - you know, without installing Panda :-).
href="https://glitchmr.github.com:">glitchmr.github.com: a5ffc5d | GlitchMr++ | _posts/2012-09-23-perl-6-changes-2012W38.md:
Actually, it's fourth Thursday, not third.
href="https://glitchmr.github.com:">glitchmr.github.com: d3761af | GlitchMr++ | _posts/2012-09-23-perl-6-changes-2012W38.md:
Upload Perl 6 changes for 2012W38
href="https://glitchmr.github.com:">glitchmr.github.com: 9aca3c1 | GlitchMr++ | _posts/2012-09-23-perl-6-changes-2012W38.md:
Merge branch 'perl6-changes'
GlitchMr wow, I think merging is really spammy
17:43 thou left 17:49 thou joined 17:54 cognominal joined
moritz backlogs the summary 17:56
sorear good * #perl6
moritz \o sorear
17:57 FROGGS joined
sorear [Coke]: and that's exactly what happened, I forgot to push my second-to-last commit until after colomon++ started doing the only functional changes of the release cycle 17:57
17:57 sweet_kid is now known as xrosnight
sorear o/ moritz 17:58
17:58 xrosnight is now known as sweet_kid, flightrecorder joined 18:00 cognominal left
colomon sorear: release is tomorrow? 18:05
phenny colomon: 06:46Z <sorear> tell colomon the bug you found while trying to enhance "cmp" is fixed now
18:07 thou left
colomon afk # but still interested in the answer... 18:09
18:20 thou joined 18:23 s1n joined 18:24 stepnem joined 18:39 Tanktalus left 18:42 birdwindupbird joined 18:52 Tanktalus joined, tgt left 19:00 thou left 19:04 rhr left 19:16 rhr joined 19:17 Guest29702 left 19:32 whiteknight left 19:34 pmurias joined
pmurias [Coke]: re seeing PIR for QAST, I wrote a Perl6 -> QAST dumper which can show you how a bit of Perl 6 code is represented as QAST 19:37
for getting PIR from QAST I would try using QAST::Compiler to get PIRT 19:40
and then maybe the .pir method to get pir from that
[Coke]: also take a look at nqp/t/qast 19:41
moritz pmurias: where's that dumper? 19:42
pmurias moritz: github.com/pmurias/rakudo-js/blob/...dumper.nqp 19:45
it's a bit rough
moritz pmurias: thanks 19:47
19:50 Tanktalus left
GlitchMr perl6: for 1 .. 10 { .say; next + next + next + next } 20:01
p6eval rakudo 7d6aa0, niecza v21-23-gd8852de: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤»
20:02 pmurias left 20:03 Tanktalus joined 20:04 pmurias joined 20:06 GlitchMr left
colomon rn: say 1 cmp 5 20:12
p6eval rakudo 7d6aa0, niecza v21-23-gd8852de: OUTPUT«Increase␤»
colomon rn: say { foo => 1, bar => 2 } cmp { bar => 2, foo => 5 }
p6eval niecza v21-23-gd8852de: OUTPUT«Same␤»
..rakudo 7d6aa0: OUTPUT«Decrease␤»
colomon So... I've reworked niecza's infix:<cmp> to masak++'s suggestion for ordering hashes, and if I'm not mistaken, rakudo is doing it wrong. (assuming, of course, masak's method is correct.) 20:13
20:14 MikeFair joined
colomon (that is, go through the keys in order and compare their values.) 20:15
sorear colomon: hi. release is tomorrow 20:25
colomon sorear: okay. will try to have more useful stuff checked in by then.
20:30 mtk left
sorear ++colomon 20:39
so I have plans for the next month that involve some moderately serious (ab)use of the CLR assembly naming/resolution system and I'm concerned I might hit a Microsoft/Mono incompatibility 20:46
colomon is ablaze with curiosity.... 20:48
[Coke] pmurias: that test file does have lots of great examples of QAST, but not the nqp they would correspond to, which makes it slightly less useful. I'll see if I can tease out what I need from it, though. 20:51
20:57 marmay left 21:01 Tanktalus left 21:05 birdwindupbird left
felher 'night, #perl6 :) 21:13
21:15 Tanktalus joined 21:16 kaare_ left 21:17 sivoais left 21:23 sivoais joined, kst joined 21:28 kurahaupo joined 21:40 cognominal joined
leont libuv is a bit disappointing 21:40
They don't seem to know the rule #1 of callbacks in C: always include a void pointer for extra state 21:41
21:43 pmurias left 21:44 spider-mario joined
sorear how does node work around that? 21:44
21:44 stepnem left 21:50 telex left 21:52 telex joined
leont Ah, I think I found it, there's a public data field in all request objects (that do get passed) 21:52
masak colomon: might well be that rakudo is wrong. 21:54
colomon: I'm still mulling over whether't's a good idea to compare hashes that way.
I'd be much more hesitant to do it with sets, for example. but hashes are not that different. 21:55
sorear o/ masak 21:56
masak \o
<GlitchMr> Why commit made 5 days ago would be before commit made a day ago? 21:59
because... that's what "before" means...?
but yeah, what [Coke] said. if you want your commits ordered *temporally*, you can do that. but that's not the interesting order. 22:00
'night, #perl6 22:01
22:02 Guest29702 joined
leont Also, libuv's habit of not declaring variables in examples is profoundly annoying 22:10
22:44 PacoAir left 22:50 whiteknight joined 23:07 Guest29702 left
MikeFair o/ whiteknight 23:11
n: 2.ln()
p6eval niecza v21-23-gd8852de: ( no output )
MikeFair n: say 2.ln()
p6eval niecza v21-23-gd8852de: OUTPUT«0.69314718055994529␤»
MikeFair sorear: I'm not seeing the problem there... google's answer is: 0.69314718056 23:12
23:13 spider-mario left 23:22 daniel-s_ is now known as daniel-s 23:32 MayDaniel left 23:34 cognominal_ joined, cognominal left