|
»ö« 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:12
rurban left
00:13
Pleiades` left
00:14
_jaldhar left
00:16
_jaldhar joined
00:17
_jaldhar left
00:18
_jaldhar joined
00:20
Pleiades` joined
00:29
pecastro_ joined
00:31
tokuhiro_ left,
tokuhiro_ joined,
pecastro left
|
|||
| colomon | n: given 1 {when 1 {say "1";} default { say "not 1";}}given 1 {when 1 {say "1";} default { say "not 1";}} | 00:34 | |
| p6eval | niecza v22-44-g0247fe5: OUTPUT«===SORRY!===Strange text after block (missing comma, semicolon, comment marker?) at /tmp/aOjK_FPw4N line 4:------> }⏏ default {Parse failed» | ||
| colomon | n: given 1 {when 1 {say "1";} default { say "not 1";}} | ||
| p6eval | niecza v22-44-g0247fe5: OUTPUT«===SORRY!===Strange text after block (missing comma, semicolon, comment marker?) at /tmp/6D2KJZMteb line 4:------> }⏏ default {Parse failed» | ||
| lue | .oO(day 18 looks to be interesting) |
00:35 | |
| colomon | n: given 1 {when 1 {say "1";} default { say "not 1";}} | 00:36 | |
| p6eval | niecza v22-44-g0247fe5: OUTPUT«1» | ||
| colomon | r: given 1 {when 1 {say "1";} default { say "not 1";}} | ||
| p6eval | rakudo da6569: OUTPUT«1» | ||
| colomon | there's your problem: missing newline | ||
| lue | colomon: I know. I'm saying it shouldn't be an error, esp. considering the lack-of-a-newline works when using another when block instead of a default block. | 00:37 | |
| rn: given 1 {when 1 {say "1";} when 2 { say "not 1";}} | 00:38 | ||
| p6eval | rakudo da6569: OUTPUT«1» | ||
| ..niecza v22-44-g0247fe5: OUTPUT«===SORRY!===Strange text after block (missing comma, semicolon, comment marker?) at /tmp/xgVDjUA1gM line 4:------> }⏏ when 2 {Parse failed» | |||
| lue | (I personally like putting the first line of the next when/elsif/* block on the same line of the closing brace of the last one) | 00:39 | |
| sorear | lue: the fact that it works with two whens is a bg | 00:40 | |
| std: when 1 {} when 2 { } | |||
| p6eval | std a8bc48f: OUTPUT«===SORRY!===Strange text after block (missing comma, semicolon, comment marker?) at /tmp/e_0QEKLmbU line 1:------> when 1 {}⏏ when 2 { } expecting horizontal whitespaceParse failedFAILED 00:00 42m» | ||
| lue | std: if 1 { } elsif 2 { } | ||
| p6eval | std a8bc48f: OUTPUT«ok 00:00 42m» | ||
| lue | ? why the inconsistency? | 00:41 | |
| sorear | if...elsif is a single statement | ||
| when...when is two statements | |||
| separating two statements always requires either a ; or a }\n | |||
| lue | Aw. I think I prefer } when 2 { for similar reasons to why I don't like sub declaration() \n { (I don't like the look of a brace on its own line, it seems) | 00:45 | |
| sorear | }; when 2 { then | ||
| lue | :/ (/me goes to read up on the details of given/when to find a rationale for the "they're separate statements" decision) | 00:48 | |
| r: given 1 {when 1 {say "1";} when * { say "not 1";}} | 00:52 | ||
| p6eval | rakudo da6569: OUTPUT«1» | ||
|
00:53
wamba left
00:58
popl left,
zby_home_ left
01:15
pmurias left
01:37
ircmouser left
01:49
gfldex left
01:51
gfldex joined
01:52
skids joined
01:58
rindolf left,
tokuhiro_ left
01:59
tokuhiro_ joined
02:14
araujo left
|
|||
| sorear | phenny: tell japhb I have a theory... how does $acc ~= ($x ~ $y); do in rakudo, where $x and $y are loop-invariant but not "constant"s? | 02:17 | |
| phenny | sorear: I'll pass that on when japhb is around. | ||
|
02:19
dayangkun joined
02:24
grondilu joined
|
|||
| grondilu | r: role Foo {}; my $x = Int but Foo; say Int($x) ~~ Foo; | 02:25 | |
| p6eval | rakudo da6569: OUTPUT«True» | ||
| grondilu | n: role Foo {}; my $x = Int but Foo; say Int($x) ~~ Foo; | ||
| p6eval | niecza v22-44-g0247fe5: OUTPUT«Unhandled exception: Unable to resolve method postcircumfix:<( )> in type Int at /tmp/BZhgrg1TWY line 1 (mainline @ 6)  at /home/p6eval/niecza/lib/CORE.setting line 4211 (ANON @ 3)  at /home/p6eval/niecza/lib/CORE.setting line 4212 (module-CORE @ 578… | ||
| grondilu | r: role Foo {}; my $x = Int but Foo; say Int.bless($x) ~~ Foo; | 02:26 | |
| p6eval | rakudo da6569: OUTPUT«True» | ||
| grondilu | How do I "un-role" an object? | ||
| For instance, how do I make a vanilla Int from Foo-enroled Int? | 02:32 | ||
| sorear | 0 + $enrolled-int | ||
| in the general case, though, there's no way | 02:33 | ||
| role application is a one-way street | |||
| jnthn will probably have more to say about this.. | 02:34 | ||
| grondilu | r: role Foo {}; my $x = 13 but Foo; say (0+$x) ~~ Foo; | 02:41 | |
| p6eval | rakudo da6569: OUTPUT«False» | ||
| dalek | ecza: 2ad9ba8 | sorear++ | lib/ (3 files): A bit of optimization to ~double the speed of ~; make .join non-quadratic |
02:48 | |
| grondilu | In perl5 I could use the 'import' function to send a parameter when using a package. Like 'package Foo { our $param; sub import { $param = shift } }' and then 'use Foo qw(bar);' What's the equivalent of that in Perl 6? | 02:50 | |
|
03:07
popl joined
03:16
am0c joined
03:28
am0c left
|
|||
| lue | rn: say ?$~MAIN.defined | 03:34 | |
| p6eval | rakudo da6569: OUTPUT«===SORRY!===Non-declarative sigil is missing its nameat /tmp/ugGZgbcO0G:1» | ||
| ..niecza v24-1-g2ad9ba8: OUTPUT«===SORRY!===Unhandled reference twigil ~ at /tmp/PrCDhhkBlV line 1:------> say ?$~MAIN⏏.definedUnhandled exception: Check failed at /home/p6eval/niecza/boot/lib/CORE.setting line 1443 (die @ 5)  at /home/p6eval… | |||
|
03:35
orafu left
03:36
orafu joined
03:38
grondilu left
|
|||
| lue | rn: gist.github.com/4186848 | 03:39 | |
| p6eval | niecza v24-1-g2ad9ba8: OUTPUT«===SORRY!===GLOBAL::MAIN does not name any package at /tmp/5FsBGNYNFn line 5:------> augment slang MAIN⏏ {Augment requires a target at /tmp/5FsBGNYNFn line 5:------> augment slang MAIN ⏏{Illega… | ||
| ..rakudo da6569: OUTPUT«===SORRY!===You tried to augment slang MAIN, but it does not existat /tmp/deaNnr5nXo:5» | |||
|
03:44
rurban joined
03:47
rom1504 joined
03:51
sjohnson left,
sjohnson joined
|
|||
| lue | do the terms in src/core/terms.pm get turned into dynamic variables (e.g. the %ENV in that file is %*ENV everywhere else)? | 04:06 | |
|
04:10
replore joined
|
|||
| sorear | lue: yes, per spec even | 04:15 | |
|
04:18
replore left
04:21
PacoAir left
04:34
fgomez left
04:36
Psyche^ joined
04:40
Patterner left,
Psyche^ is now known as Patterner
|
|||
| dalek | : 2930b01 | colomon++ | misc/perl6advent-2012/schedule: Update misc/perl6advent-2012/schedule Claim a couple of days. |
04:49 | |
|
04:51
fgomez joined
|
|||
| lue | where should I put tests for the $~ variables in S02? | 04:52 | |
|
04:53
tokuhiro_ left
04:54
tokuhiro_ joined
|
|||
| sorear | o/ colomon | 04:55 | |
| colomon | \o | ||
| dalek | ecza: 71a8938 | sorear++ | lib/CORE.setting: Specialize Range iteration for Numeric to avoid polymorphic cmp |
04:56 | |
| colomon | about to sleep | ||
| sorear++ | |||
| sorear | lue: I'd put them under S26, personally. | ||
| colomon | sorear: I ran spectest today on niecza and got ~10 failing files. Haven't had a chance to investigate them yet. | ||
| lue | you mean S28, right? | 04:57 | |
|
04:59
rurban left
|
|||
| dalek | ast: 05ff1e5 | lue++ | S28-named-variables/slangs.t: Added tests for $~ slang variables. Specifically the particular ones provided by Perl 6 by default. |
05:24 | |
| ast: a5c9497 | lue++ | S28-named-variables/slangs.t: Fudge tests for $~ for rakudo. |
|||
| sorear | lue: I mean whichever one talks about pod | 05:38 | |
| lue | the $~ variables have nothing to do with Pod, though. | ||
| sorear | oh I thought you were talking about $= | 05:41 | |
| my bad | |||
|
06:16
robins left
06:30
wamba joined
06:31
SamuraiJack joined
06:57
bapa left
|
|||
| moritz | r: say 42 gcd 58 | 06:58 | |
| p6eval | rakudo da6569: OUTPUT«2» | ||
|
06:58
bapa joined
07:04
_jaldhar left,
_jaldhar joined
07:17
azawawi joined
|
|||
| azawawi | hi | 07:17 | |
| phenny | azawawi: 28 Nov 20:25Z <japhb> tell azawawi I'll add your any(@array) benchmark to perl6-bench. Any other micro-benchmarks you'd like to see added, or particular performance gotchas you've found? | ||
| sorear | hello azawawi | ||
| azawawi | hmm good | 07:18 | |
| sorear++ # for faster junctions... :) | |||
| azawawi takes a look @ perl6-bench | |||
| sorear: how can i embed a niecza REPL? any examples? | 07:21 | ||
| sorear: any API for that? | |||
| sorear | I think you are looking for some kind of open3 | 07:22 | |
| dalek | ecza: 1d0c020 | sorear++ | lib/ (2 files): Forward compatibility for extending the set of kernel-defined types |
07:35 | |
| ecza: c85099a | sorear++ | lib/ (3 files): Some C# love for the numeric range hot path |
|||
| moritz | phenny: ask masak if his advent calendar post is ready for publishing | ||
| phenny | moritz: I'll pass that on when masak is around. | ||
|
07:42
kaare__ joined
|
|||
| azawawi | sorear: ok thx... | 07:43 | |
| dalek | ecza: 599cbcb | sorear++ | lib/Kernel.cs: Unroll the range iterator for further wins (I think this idea was from an old blog of colomon++ 's) |
07:46 | |
| sorear | phenny: tell japhb 'for 1..20 { }' before: 757.56 ± 26.546 µs now: 53.345 ± 1.8765 µs | 07:47 | |
| phenny | sorear: I'll pass that on when japhb is around. | ||
|
07:50
wamba left
|
|||
| sorear | phenny: tell japhb I'm shelving this for now but there's still much work to be done. [ loop (my $i = 1; $i <= 20; $i++) { } ] = 10.730 ± 0.0305 µs; [ my $i = -20; Nil while ++$i ] = 4.1028 ± 0.1603 µs | 07:51 | |
| phenny | sorear: I'll pass that on when japhb is around. | ||
| skids | gist.github.com/4187527 # more bitops fixes, will post an RT tomorrow unless someone can find one it should belong to. | 07:55 | |
| azawawi | phenny: tell japhb i'll send pull requests with any performance bottlenecks I encounter. Thanks for making and pointing out your cool perl6-bench project. I will check it out later today. | 07:58 | |
| phenny | azawawi: I'll pass that on when japhb is around. | ||
|
08:05
azawawi left
08:07
cedrvint joined
|
|||
| cedrvint | moritz: I think masak's post can be published: irclog.perlgeek.de/perl6/2012-12-01#i_6203594 | 08:07 | |
|
08:13
Chillance left
08:22
am0c joined
|
|||
| lue | phenny: ask jnthn how would someone go about turning %*LANG<MAIN> in Perl6/Compiler.pm into $~MAIN, along with the other $~ variables? | 08:23 | |
| phenny | lue: I'll pass that on when jnthn is around. | ||
| lue | goodnight o/ | ||
| cedrvint | phenny: tell masak it seems auto-publishing has failed. The post is 8 hours late now, I publish it (and hope i'm not wrong) | 08:24 | |
| phenny | cedrvint: I'll pass that on when masak is around. | ||
|
08:25
araujo joined
08:26
Kharec joined
08:27
wamba joined
08:29
cedrvint left
08:35
GlitchMr joined,
betterworld joined
09:04
FROGGS joined
|
|||
| FROGGS | morning | 09:04 | |
| sorear | o/ | 09:06 | |
| GlitchMr | Just wondering, can I get editor access on Perl 6 advent to put article for 12th day which I've already done? | 09:15 | |
|
09:17
RandalSchwartz left
09:22
kst` joined,
kst` left
09:32
popl left
09:33
tokuhiro_ left
09:34
tokuhiro_ joined
|
|||
| jnthn | morning, #perl6 | 09:35 | |
| phenny | jnthn: 08:23Z <lue> ask jnthn how would someone go about turning %*LANG<MAIN> in Perl6/Compiler.pm into $~MAIN, along with the other $~ variables? | ||
| sorear | morning jnthn | 09:38 | |
| jnthn | phenny: tell lue Well, they are installed in some %?LANG but they will suffer the "not under Mu" issue. And I need to do some MOP stuff before turning to that. | 09:39 | |
| phenny | jnthn: I'll pass that on when lue is around. | ||
| jnthn | phenny: tell lue but I think at a first guess $~MAIN would desugar to %?LANG<MAIN> | 09:40 | |
| phenny | jnthn: I'll pass that on when lue is around. | ||
| jnthn | o/ sorear | ||
| jnthn will be back to having regular-ish Perl 6 tuits again from tomorrow o/ | 09:42 | ||
| GlitchMr | 240 updates available... this gonna be fun | 09:46 | |
| It appears I've to update every KDE app I've | 09:47 | ||
|
09:52
cognominal joined
|
|||
| dalek | href="https://perl6.org:">perl6.org: 997054d | GlitchMr++ | source/documentation/index.html: Add Perl 6 Advent Calendar 2012 link. |
09:54 | |
|
09:58
am0c left
|
|||
| dalek | href="https://perl6.org:">perl6.org: e6eccff | GlitchMr++ | source/documentation/index.html: Revert "[documentation] warn about perl6-examples outdatedness, sbp++" It was updated lately by gerdr++. This reverts commit fc4bcf057b5fe916479f97984c2a3668dcb336b1. Conflicts: source/documentation/index.html |
09:58 | |
| href="https://perl6.org:">perl6.org: 705305f | GlitchMr++ | source/about/index.html: Update Carl Mäsak website link. |
10:04 | ||
| GlitchMr | -Ofun | 10:07 | |
|
10:12
spider-mario joined
|
|||
| GlitchMr | ok, now let's make something -Ofun :-) | 10:16 | |
| glitchmr@feather ~> panda install Bailador | 10:17 | ||
| Mu() | |||
| resolve stage failed for Bailador: Bailador depends on HTTP::Easy, which was not found in the ecosystem | |||
| What? | |||
|
10:23
rindolf joined
|
|||
| sorear | sleep& | 10:24 | |
|
10:29
Bzek left
10:32
fgomez left
10:38
grondilu joined
|
|||
| grondilu | Is panda supposed to be compliant with rakudo 2012.11? | 10:39 | |
|
10:39
spider-mario_ joined
|
|||
| grondilu | Caus' it's not. Probably since the disappearance of %*ENV{HOME}/.perl6/lib and all | 10:40 | |
|
10:41
tokuhiro_ left
|
|||
| GlitchMr | It hasn't disapperead | 10:41 | |
| It will disappear in 2012.12 | |||
| disappeared* | |||
|
10:41
spider-mario left
|
|||
| GlitchMr | Besides, it's compatible with it | 10:41 | |
|
10:41
tokuhiro_ joined
|
|||
| GlitchMr | It saves to path shown by %*CUSTOM_LIB | 10:41 | |
| grondilu | I don't understand. I ran ./rebootstrap.pl once again, and now it seems to work fine. I don't know what happened. | 10:42 | |
| Please ignore my previous rant anyway. | 10:43 | ||
|
10:43
birdwindupbird joined
|
|||
| grondilu | Ah, hang on. There is indeed an error. It just appeared a bit later than I thought: ===SORRY!=== | 10:44 | |
| Could not find File::Find in any of: / | |||
| (+long list of directories) | |||
| jnthn knows there was a branch to update it to the custom lib stuff, but ain't sure if it was merged | |||
| guess I should go do a little sightseeing while there's sun... :) | 10:45 | ||
| bbl | |||
| GlitchMr | I've weird problem with Bailador | 10:46 | |
| Any header other than Content-Type doesn't work | |||
| Weird... | |||
| I wonder why it happens | |||
|
10:48
FROGGS_ joined
|
|||
| GlitchMr | This is so confusing | 10:50 | |
| What's so special about Content-Type that it works... | |||
| (hmmm... perhaps Perl 6 debugger will help me) | 10:51 | ||
|
10:51
FROGGS_ left,
FROGGS_ joined
|
|||
| GlitchMr | oh | 11:01 | |
| I found a stupid problem | |||
| HTTP::Easy::PSGI supports only one HTTP header | |||
| WHAT? | |||
| | for @($result[1]) -> $header | 11:02 | ||
| > $result | |||
| [303, "Content-Type" => "text/plain", "Nothing-Lol" => "nowhere"] | |||
| That... doesn't feel rite | |||
|
11:05
Su-Shee_ joined
11:08
Su-Shee left
|
|||
| GlitchMr | www.perlcabal.org:1337/ -ofun | 11:16 | |
| s/-o/-O/ | |||
|
11:25
Su-Shee_ is now known as Su-Shee
11:31
MayDaniel joined
11:34
wamba left
|
|||
| GlitchMr | *** glibc detected *** perl6: double free or corruption (out): 0x0b1fe0a0 *** | 11:35 | |
| What... the... hell? | |||
| That shouldn't happen, should it? | |||
| gist.github.com/4188309 | |||
| There is the log, but not sure how useful it is | |||
|
11:36
FROGGS_ left
|
|||
| dalek | pan style="color: #395be5">perl6-examples: 4ed4ade | (Gerhard R)++ | euler/prob047-gerdr. (2 files): [euler/prob047] add version using NativeCall |
12:06 | |
| pan style="color: #395be5">perl6-examples: 8b1cc51 | (Gerhard R)++ | euler/prob053-gerdr.pl: [euler/prob053] bikeshedding to align with coming advent post |
|||
| pan style="color: #395be5">perl6-examples: 50cd5aa | (Gerhard R)++ | euler/prob002-gerdr.pl: [euler/prob002] respect proper bound |
|||
| pan style="color: #395be5">perl6-examples: ea70e6e | (Gerhard R)++ | euler/prob029-gerdr.pl: [euler/prob029] replace loop with bulk hash assignment |
|||
|
12:07
pecastro_ is now known as pecastro
|
|||
| felher | masak++ #blog post (haven't read it yet. But will after lunch) | 12:17 | |
|
12:28
dayangkun left
|
|||
| moritz | nqp: nqp::findmethod(1, 'foo') | 12:36 | |
| p6eval | nqp: OUTPUT«Method 'foo' not found for invocant of class 'Integer'current instr.: '' pc 43 ((file unknown):38) (/tmp/AColaPrHet:1)» | ||
| grondilu | rn: role Foo { has $.x; method succ { self.new: :x($.x eq "foo" ?? "bar" !! "foo") } }; my $f = "foo" but Foo; say $f++; say $f++; | 12:40 | |
| p6eval | niecza v24-5-g599cbcb: OUTPUT«Use of uninitialized value in string context at /home/p6eval/niecza/lib/CORE.setting line 1287 (warn @ 5)  at /home/p6eval/niecza/lib/CORE.setting line 266 (Mu.Str @ 15)  at <unknown> line 0 (ExitRunloop @ 0)  at /tmp/svWveTRh9O line 1 (Foo.succ @ 4… | ||
| ..rakudo da6569: OUTPUT«use of uninitialized value of type Any in string context in method succ at /tmp/GbDMwdJboV:1foo» | |||
| grondilu | rn: role Foo { has $.x; method succ { self.new: :x($.x eq "foo" ?? "bar" !! "foo") } }; my $f = "foo" but Foo; $f.x = "foo"; say $f.x; $f++; say $f.x; | 12:41 | |
| p6eval | rakudo da6569: OUTPUT«Cannot assign to a readonly variable or a value in block at /tmp/0TQMwkCkum:1» | ||
| ..niecza v24-5-g599cbcb: OUTPUT«fooUnhandled exception: Excess arguments to Str.new, unused named x at <unknown> line 0 (ExitRunloop @ 0)  at /tmp/F58EYLv3ny line 1 (Foo.succ @ 5)  at <unknown> line 0 (ExitRunloop @ 0)  at /tmp/F58EYLv3ny line 1 (mainline @ 10)  at /home/p6eval… | |||
| moritz | aaaarrrgh | 12:45 | |
| parrot has a VTABLE_find_method, and an op called find_method | |||
| and guess what, the vtable returns PMCNULL when it can't find the method being looked for | |||
| and the op throws an exception | |||
| fun, innit? | |||
| bonsaikitten | lol | 12:47 | |
|
12:49
Khisanth left
|
|||
| grondilu | rn: role Foo {}; multi infix:<+>(Foo $, Foo $) { !!! "nyi" }; say (1 but Foo) + (2 but Foo); | 12:51 | |
| p6eval | niecza v24-5-g599cbcb: OUTPUT«Unhandled exception: >>>Stub code executed at /tmp/a4uxlfMiGU line 1 (infix:<+> @ 4)  at /tmp/a4uxlfMiGU line 1 (mainline @ 7)  at /home/p6eval/niecza/lib/CORE.setting line 4208 (ANON @ 3)  at /home/p6eval/niecza/lib/CORE.setting line 4209 (module-C… | ||
| ..rakudo da6569: OUTPUT«Ambiguous call to 'infix:<+>'; these signatures all match::(Int:D \a, Int:D \b):(Foo , Foo ) in block at /tmp/Lp87STYsnE:1» | |||
| GlitchMr | www.perlcabal.org:1337/ | 12:58 | |
| I've made a wiki in Perl 6 | |||
| I know, lame | |||
| moritz | \o/ Decemeber | 12:59 | |
| GlitchMr | I actually like that name :-) | ||
| I will use December as name, ok? | 13:00 | ||
| moritz | I have no objections :-) | ||
| GlitchMr | It's just quick experiment with Perl 6 | 13:01 | |
| grondilu | GlitchMr: can we see the code? | ||
| GlitchMr | Yeah, sure. It's in /home/glitchmr/WorstWikiEver on feather | ||
| I can upload it if somebody doesn't have access to feather | |||
|
13:01
japhb left
|
|||
| moritz | not everybody has :-) | 13:02 | |
|
13:02
Khisanth joined
|
|||
| GlitchMr | gist.github.com/4188536 | 13:02 | |
| I know, it looks bad. | |||
| grondilu | Oh you actually use git for the versionning system. | 13:03 | |
| GlitchMr | Is there anything wrong with it? It just works. | 13:04 | |
| grondilu | No, it actually makes sense to do so. I wouldn't have thought about it. | ||
|
13:05
pmurias joined
|
|||
| GlitchMr | Now, how can I read the file from revision without actually checkouting that revision. | 13:05 | |
| pmurias | jnthn: ping | ||
| GlitchMr | git show perhaps | 13:06 | |
| dalek | kudo/nom: 5481c6e | moritz++ | src/Perl6/Metamodel/MethodDelegation.pm: fix find_method for types with delegation |
||
| moritz | GlitchMr: git show $revision:$filename | ||
| GlitchMr | Thanks :-) | ||
|
13:10
Moukeddar joined
13:12
tokuhiro_ left
13:13
tokuhiro_ joined
13:17
bowtie joined
13:19
not_gerd joined
|
|||
| not_gerd | hello, #perl6 | 13:19 | |
| FROGGS | hi not_gerd | 13:20 | |
| not_gerd | I believe I'm done with my advent post: gist.github.com/73e4f265c2c0b500b568 | ||
| FROGGS | the problem you posted yesterday is in an older version of Inline::C, right? | ||
| the current versions shouldn't work at, without changes to NativeCall btw | 13:21 | ||
| so there is no working version yet | |||
| not_gerd | FROGGS: I believe Inline::C was a fresh checkout, but I don't remember if I updated Rakudo/NativeCall | 13:22 | |
| moritz | not_gerd: "However, no one forces you to go crazy with operators - there's nothing wrong with vanilla imperative code:" | ||
| not_gerd: either that colon should be a dot, or there should be imperative code after it | |||
| oh, you're talking about the next problem | |||
| dalek | Heuristic branch merge: pushed 31 commits to rakudo/qast-sink-1 by moritz | 13:23 | |
| jnthn | moritz: There's a find_method_null_ok op in perl6.ops, if that helps | 13:24 | |
| pmurias: pong | 13:25 | ||
| GlitchMr | www.perlcabal.org:1337/Main%20page/...dd/378a2d0 | 13:26 | |
| moritz | jnthn: then I guess 5481c6e should have used that, right? | 13:28 | |
| jnthn | moritz: It'd be more efficient. | ||
| moritz | jnthn: is there an nqp:: op for that? | 13:29 | |
| jnthn | moritz: not yet | 13:31 | |
| moritz | gist.github.com/4109216 # updated qast-sink-1 spectest summary | 13:32 | |
| jnthn: can you outline how I could fix nqp::can(role { }, 'sink') ? | 13:33 | ||
| jnthn | Hm, did I get to the bottom of what was going on there? | 13:34 | |
| oh...I think I remember. | |||
| Once you get the pun | |||
| Check if it can do the method | 13:35 | ||
| If yes return the closure we currently do | |||
| If not return nqp::null() or some type object | |||
| Should just need a those relatively small changes in rolepuning.pm | 13:36 | ||
| moritz | I see | ||
| r: say (role { }).HOW.^name | 13:38 | ||
| p6eval | rakudo 5481c6: OUTPUT«Perl6::Metamodel::ParametricRoleHOW» | ||
| moritz tests a patch | 13:40 | ||
| grondilu | is ':$.foo' a valid syntax for ':foo($.foo)' ? | ||
| moritz | yes | 13:41 | |
| grondilu | ok | ||
| moritz | r: class A { method x() { 42 }; method y { :$.x } }; say A.y.perl | 13:42 | |
| p6eval | rakudo 5481c6: OUTPUT«"x" => 42» | ||
| moritz | r: class A { method y { :$.^name } }; say A.y.perl | ||
| grondilu | thanks | ||
| p6eval | rakudo 5481c6: OUTPUT«===SORRY!===Unable to parse expression in block; couldn't find final '}' at line 2, near ":$.^name }"» | ||
| moritz | std: class A { method y { :$.^name } }; say A.y.perl | 13:43 | |
| p6eval | std a8bc48f: OUTPUT«===SORRY!===Bogus statement at /tmp/gZ9uKVpr7I line 1:------> class A { method y { ⏏:$.^name } }; say A.y.perlParse failedFAILED 00:00 43m» | ||
| moritz | std: class A { method x { $.^foo } } | ||
| p6eval | std a8bc48f: OUTPUT«===SORRY!===Unsupported use of $. variable; in Perl 6 please use the filehandle's .line method at /tmp/l9yTEWBzYY line 1:------> class A { method x { $.⏏^foo } }Parse failedFAILED 00:00 42m» | ||
| moritz | jnthn: the fix for nqp::can seems to work; spectesting now | 13:47 | |
| or not :( | 13:49 | ||
| it works for ParametricRoleHOW, but not for ParametricRoleGroupHOW | |||
| because the latter doesn't do MethodContainer | 13:51 | ||
| not_gerd | the advent posts miss the Day XX prefix - should that be fixed (with or without breaking the URL?) | ||
| moritz | without breaking the URLs please :-) | ||
| not_gerd | will do | 13:53 | |
| masak | g'day, #perl6 | 14:08 | |
| phenny | masak: 07:35Z <moritz> ask masak if his advent calendar post is ready for publishing | ||
| masak: 08:24Z <cedrvint> tell masak it seems auto-publishing has failed. The post is 8 hours late now, I publish it (and hope i'm not wrong) | |||
| masak | oh, you did the right thing. | ||
|
14:08
birdwindupbird left
|
|||
| masak | huh, I probably should've taken it from "draft" to "to be published" status or something. | 14:08 | |
| the GUI made it seem to me everything was in order. :/ | 14:09 | ||
| pmurias | jnthn: would it be ok if I commited small expansions to the nqp test suit (which nqp-parrot passes without change) directly to the nqp repo? as updating an nqp fork is a bit annoying | 14:10 | |
| masak | lol, "December". :) | 14:12 | |
| GlitchMr: | |||
| GlitchMr++ # gist.github.com/4188536 | |||
| GlitchMr | It's very simple wiki :-) | 14:14 | |
| But hey, it already "sorta" works | |||
| www.perlcabal.org:1337/ | |||
| masak | GlitchMr: have you considered what happens on line 60, when a revert results in a conflict? | 14:15 | |
| GlitchMr | That was old code | ||
| It was already fixed... sorta | |||
| pmurias | jnthn: is it correct if in QAST a variable is first declared as 'contextual' and then accessed as 'lexical'? | 14:16 | |
| GlitchMr | gist.github.com/4188536 | ||
|
14:16
cedrvint joined
|
|||
| masak | GlitchMr: that looks identical to me. what changed? | 14:16 | |
| GlitchMr | huh? | ||
| I'm confused too | 14:17 | ||
| oh, right | |||
| That paste was newer | |||
| Nothing | |||
| if $content ~~ /'<<<<<<< HEAD'/ { | |||
| masak | o.O | ||
| GlitchMr | I know, it's lame hack | ||
| masak | surely there's a better way... | ||
| GlitchMr | For now I wanted it to work. | 14:18 | |
| masak | *nod* | ||
| GlitchMr | Before doing more complex stuff | ||
| masak | well, been there, done that. | ||
| good luck, sur. | |||
| sir* | |||
| cedrvint | hello #perl6, the post for day 3 needs proof-reading. Any volunteers? | 14:19 | |
| masak | I'll gladly have a look. | ||
| url? | |||
| cedrvint | masak: in wordpress, so you can make changes directly if you wish | 14:20 | |
| masak | ah, ok. | 14:21 | |
| masak looks | |||
| not_gerd | same for day 4. btw | 14:23 | |
|
14:26
Moukeddar left
|
|||
| masak | cedrvint: nice post. | 14:27 | |
| cedrvint++ | |||
| cedrvint | thanks :) | 14:28 | |
| dalek | rl6-roast-data: ca91a62 | coke++ | / (3 files): today (automated commit) |
14:34 | |
| rl6-roast-data: b8554ca | coke++ | / (4 files): today (automated commit) |
|||
| jnthn | pmurias: If the tests pass with nqp-parrot, go right ahead | 14:35 | |
| pmurias: Not sure if you can declare a contextual. But anyway, they are ordinary lexicals storage wise, it's just that we look them up dynamically. So no problems there. | 14:36 | ||
| pmurias | jnthn: may I have a nqp commit bit? | 14:39 | |
|
14:40
smallfish joined,
smallfish left
|
|||
| jnthn | pmurias: done | 14:41 | |
| pmurias | jnthn: in perl6 lexicals must be declared with is dynamic to be looked up with OUTER:: | ||
| jnthn | pmurias: Is it "is context" these days? | ||
| pmurias: is it true for OUTER:: as well as CALLER:: and DYNAMIC::? | 14:42 | ||
| Rakudo doesn't enforce this just yet. | |||
|
14:47
am0c joined
|
|||
| pmurias | jnthn: is dynamic | 14:49 | |
| jnthn: I think it's not required for OUTER:: | 14:50 | ||
| jnthn | ok | 14:51 | |
| pmurias | jnthn: the reason I'm concerned with that is that contextuals carry a performance hit on javascript | ||
| as I don't have direct control over the native lexical pads | |||
|
14:52
geekosaur left
14:54
xilo_ joined
|
|||
| not_gerd | bye, #perl6 | 14:57 | |
|
14:57
not_gerd left,
geekosaur joined
|
|||
| felher | Is there a way to test perl6.org on my machine? | 15:02 | |
| moritz | felher: cpanm App::mowyw; cd perl6.org; mowyw | ||
| felher | moritz: thanks :) | ||
| moritz | and then x-www-browser online/index.html | 15:03 | |
| or set up a local apache installation with perl6.org/online as a separate virtual host | |||
| thre's also an app.psgi which I suppose also serves the files | 15:04 | ||
|
15:08
arlinius left
15:09
PacoAir joined
|
|||
| GlitchMr | moritz: perl6.org uses URLs with / at beginning | 15:12 | |
| I usually use php -S localhost:8080 to test perl6.org | |||
| felher | moritz: works, thnx | 15:14 | |
| GlitchMr | Surprisingly, PHP builtin server works well when testing static websites. | 15:15 | |
| I think that httpd in busybox is fine to, but not sure | 15:16 | ||
| Like "busybox httpd -p 8080", but it doesn't have nice debugging info :-( | |||
| I think I've once used httpd in Busybox to serve webpages from Android | 15:18 | ||
| pmurias | jnthn: does the order in which we intermix named and flat named arguments matter? | 15:26 | |
| jnthn: as in foo(:a(1),|%b,:c(3),|%d)? | |||
| timotimo | enjoying the prel6advent so far :) | 15:30 | |
| masak | \o/ | ||
| GlitchMr | Just wondering, there is no difference between List.roll and List.pick when called without arguments. | 15:33 | |
|
15:36
wamba joined,
rurban joined
15:38
fgomez joined
|
|||
| felher | I find the Advent Calendar to be a really nice thing for people just starting with perl6. Maybe it's special enough to promote it on the main perl6.org site while it is running? (Something like fasel.nerd2nerd.org/perl6.png maybe?) | 15:45 | |
| GlitchMr: as far as i know, yes | 15:46 | ||
| GlitchMr | felher: I was considering putting it in "Documentation" section during Perl 6 Advent Calendar | 15:48 | |
| But it's already full of things | |||
| But perhaps | |||
| felher: I like it, but for me it looks like a banner, so not sure, really. | 15:49 | ||
| felher | GlitchMr: yeah, i though about putting in doc, too. But as you said: it's already full of thinks and may to easily overlooked there. | ||
| GlitchMr: yeah. I really suck at designing :) It's mainly an attempt to get someone to do it right ;) | 15:50 | ||
| jnthn | pmurias: Certainly shouldn't in NQP | ||
| pmurias: oh, wait...if there's duplicate ones...guess that gets interesting. | 15:51 | ||
|
15:51
cedrvint left
|
|||
| jnthn | In the absence of dupes...no difference. | 15:51 | |
| GlitchMr | That's the problem with current Perl 6 design | ||
| masak | GlitchMr: there's no difference between .roll(1) or .pick(1), no. (or between the argumentless forms which default to this) | ||
| GlitchMr | It's full of links | ||
| But really, I don't think I could think of anything else, as I suck at designing | |||
| masak | GlitchMr: pick is "selection without replacement", roll is "selection with replacement". but with only one trial, the difference isn't noticeable. | 15:52 | |
| GlitchMr | felher: also, you have really wide screen :-). | ||
| felher | GlitchMr: right :) | 15:53 | |
| GlitchMr | Perhaps I could redesign the Perl 6 page, but that could be difficult. | 15:54 | |
| felher | I have no problem with the design of Perl6.org. I just wanted to place the Advent Calendar prominently :) | 15:56 | |
| GlitchMr | Except if I would redesign the site, it would look as bad as dl.dropbox.com/u/63913412/perl6lol.png | 15:57 | |
|
15:57
SamuraiJack left
|
|||
| GlitchMr | So I don't know | 15:57 | |
| I'm not designer. | |||
|
15:57
Kharec left
|
|||
| felher | :D | 15:58 | |
|
15:58
SamuraiJack joined
|
|||
| GlitchMr | But perhaps I could try to come with some design | 15:58 | |
| It looks ugly for Poincare from GitHub | 15:59 | ||
| But I don't like the design Poincare proposed - ge.tt/4ich05L/v/0 | |||
| Camelia will stay in my design, that's for sure. But as for other things... | 16:00 | ||
| (I know that my design would have 0% chances of accepting it without Camelia) | |||
| SHODAN | just use sharper corners for the boxes, use less colors, make information and action boxes look the same and so on | 16:03 | |
| that's the new thing | |||
| felher | Well, I won't get involved in any design issues. First of all my taste is quite different from most people and perl6.org should look like what most people like. Second of all I have dyschromatopsia, which makes me very bad at choosing colors :) | 16:04 | |
|
16:19
cognominal left
16:24
rurban left
16:28
rurban joined,
cognominal joined
|
|||
| moritz | jnthn: gist.github.com/4189639 that's my attempt to fix nqp::can + role | 16:35 | |
| (backtrace further down the page) | |||
| it seems to work fine with normal roles | 16:36 | ||
| but with CachedCompiledRegex I run into bootstrappy issues | 16:38 | ||
| currently it fails in dispatch:<.^> | |||
| and I can change infix:<does> not to use that, then it runs into some other problem (.attributes not being there, or something) | 16:39 | ||
| jnthn: is there a good way to apply the bootstrap chainsaw somewhere? | 16:40 | ||
| Ulti | has anyone tried Rakudo* under Windows 8 yet? I'm unfortunate enough to be in a position to | 16:42 | |
| heh well first up the .msi isnt signed so you have to click some tiny "more info" text in Windows8 to force the install :( | 16:43 | ||
| cool it runs ok though | 16:44 | ||
| GlitchMr | Ok, so I've put perl6lol.png picture of "how bad this website would look if I would design it". | 16:45 | |
| Now time for serious "how bad this website would look if I would design it" screenshot. | 16:46 | ||
| dl.dropbox.com/u/63913412/perl6lol2.png | |||
| I know, it looks bad | |||
| perl6lol.png was close enough ;-) | 16:47 | ||
| Ulti | GlitchMr: are you making a new site? | 16:48 | |
| GlitchMr | I'm currently experimenting with trying to redesign it | ||
| But probably old website will stay | |||
| Ulti | is it heresy to say that I like Sebastian Reidel's Perl6 logo? blog.kraih.com/a-logo-for-perl | 16:50 | |
| dalek | kudo-js: 96abb65 | (Paweł Murias)++ | / (3 files): [nqp] pass test 41 |
16:51 | |
| GlitchMr | I like it too | ||
| But well, Larry Wall really wants Camelia | |||
| At least for now, Camelia has to stay. | 16:52 | ||
| Ulti | even if you put Camelia ontop of the 6 I like the idea of the flight path being the 6 | ||
| masak | me too. | 16:54 | |
| and sri's design looks more polished, indeed. | |||
| GlitchMr | I really would like Sebastian Reidel's Perl 6 logo | ||
| masak | though anyone who aims to improve on Camelia has to take into account that Camelia is explicitly *meant* not to look polished. | ||
| it's meant to look like it's made by a young person. | 16:55 | ||
| GlitchMr | And I think it's used as cover of "Using Perl 6" book. | ||
| Ulti | well I didnt want to trample on camelia ;) but yeah amelia looks a bit more hipster-cool | ||
| GlitchMr | But, I think that Camelia is there to stay. | ||
| Ulti | rather than fisher price bold | ||
| camelia will certainly get children into I guess | |||
| *in too | 16:56 | ||
| GlitchMr | I really would like to use Riedel's logo. | 16:57 | |
| masak | GlitchMr: by all means, use it all you like. | ||
| you may want to ask sri, but apart from that... go right ahead. | |||
| GlitchMr | But I think it isn't negotable. | ||
| masak | *you* using it doesn't have to be negotiable. | 16:58 | |
| replacing Camelia as official mascot... is possible, but you'd have to fulfill a rather long list of criteria. | |||
| see the end of raw.github.com/perl6/mu/master/misc/camelia.txt | |||
| GlitchMr | I think that Riedel's logo fits all of those. | 16:59 | |
| And it's already used as unofficial logo, even in the cover of "Using Perl 6" book | |||
| __sri | you can use the png version of amelia that has been released under CC-SA | 17:00 | |
| i never actually released a svg version since the interest was so low | 17:01 | ||
| moritz | __sri: I think you provided me the SVG for the book cover | ||
| (though that's not the same as a public release) | |||
| __sri doesn't remember | |||
| masak | __sri: I dunno about low interest. people have been pretty receptive wrt your redesign. | ||
| __sri | but yea, i guess the book cover version should have a good license too | 17:02 | |
| masak | all I ever hear are good things about it. | ||
| you might be confusing "low interest" with "small community" :) | |||
| __sri | perhaps :) | ||
|
17:02
edsiper joined
|
|||
| edsiper | what means if($if =~ "something") ? | 17:03 | |
| timotimo | call the function "if" with a match result, no? | ||
| edsiper | whats the difference between == and =~ ? | ||
| timotimo | hold on, isn't =~ like "use a regular expression to transform the name on the left"? | 17:04 | |
| masak | edsiper: =~ is not valid in Perl 6. | ||
|
17:04
hash_table joined
|
|||
| timotimo | r: my $a = "hello world"; $a =~ s/world/blob/; say $a; | 17:04 | |
| p6eval | rakudo 5481c6: OUTPUT«===SORRY!===Unsupported use of =~ to do pattern matching; in Perl 6 please use ~~at /tmp/rb7Ryqwb0l:1» | ||
| masak | std: 2 =~ 2 | ||
| p6eval | std a8bc48f: OUTPUT«===SORRY!===Unsupported use of =~ to do pattern matching; in Perl 6 please use ~~ at /tmp/xT70gXtI60 line 1:------> 2 =~⏏ 2Parse failedFAILED 00:00 41m» | ||
| timotimo | r: my $a = "hello world"; $a ~~ s/world/blob/; say $a; | ||
| p6eval | rakudo 5481c6: OUTPUT«hello blob» | ||
| __sri | moritz: did i really give you an svg? i don't remember fixing the image for vector export :o | ||
| masak | edsiper: the channel is #perl6. note the '6' at the end. | ||
| edsiper | thanks timotimo | 17:06 | |
| timotimo | r: sub if($a, &blk) { &blk() if $a }; if("hello" ~~ /ll/, { say "whoa!" }); | ||
| p6eval | rakudo 5481c6: OUTPUT«whoa!» | ||
|
17:06
spider-mario_ left
|
|||
| GlitchMr | dl.dropbox.com/u/63913412/itsactuallygood.png | 17:06 | |
| __sri | eeeeep | 17:07 | |
| GlitchMr | I've replaced (as a test) Larry's Camelia with Riedel's logo. It's good :-). | ||
|
17:07
spider-mario joined
|
|||
| __sri hates the purple one | 17:07 | ||
| timotimo | i think the page looks not minimal enough to be minimal-goodlooking, but not fleshed out enough to look good otherwise | ||
| GlitchMr | I'm still working on it | 17:08 | |
| timotimo | that would explain it :) | ||
| __sri | page needs good typography | ||
| GlitchMr | Yeah | ||
| timotimo | the current perl6 page looks a bit strange with the out-of-place looking download button i find | ||
| GlitchMr | Perl 6 is sans-serif, so rest of page should be sans-serif too | ||
| au | Source Sans Pro ? | ||
| timotimo | is the page you're working on going to replace that page? | ||
| au | # typekit.com/fonts/source-sans-pro | ||
| __sri | Helvetica Neue imo | ||
| Source Sans Pro is not bad either | 17:09 | ||
| masak | "Brawny gods just flocked up to quiz and vex him" :) | 17:10 | |
|
17:10
rindolf left
|
|||
| GlitchMr | dl.dropbox.com/u/63913412/sansserif.png | 17:12 | |
| au | "The five boxing wizards jump quickly. --More--" #nethack | ||
| GlitchMr | It looks nicer with sans-serif font. | ||
| au | that's Ubuntu? | ||
| GlitchMr | Well, yes | ||
| I haven't yet specified what font exactly | |||
| oh wait, not | 17:13 | ||
| no* | |||
| It's DejaVu Sans. | |||
| au | aha. | ||
| moritz | __sri: I have a usingperl6.svg, which is the whole cover including title and amelia | 17:14 | |
| flussence suggests Oxygen Sans, just to be different | |||
| au | oxygen++ # just two weight-levels, but looks nice | 17:16 | |
| GlitchMr | Well, actually I'm not designer. I just wanted to see how nicely perl6.org would look if I would "design" it. | 17:17 | |
| masak | keep up the good work. | 17:18 | |
| jnthn | moritz: I didn't mean to write a declares_method | 17:19 | |
| GlitchMr | But i start to like my design | ||
| __sri | think i'll kill the deep purple version from the blog post... seeing the unfinished image used over and over makes me feel bad | ||
| jnthn | moritz: I meant to nqp::can($!pun, $name) | ||
| moritz: The reason you get the error is because the role's method list doesn't have dispatch:<.^> | 17:20 | ||
| moritz: It comes from Mu via Any, the default base class for the role. | |||
| If you do the check in $!pun then you (a) have less code, and (b) it should work | |||
| moritz: Sorry for unclear explanation of what to do. | |||
| GlitchMr | Still, I think that my project for perl6.org is better than www.djangoproject.com/... | 17:22 | |
| But I think that djangoproject.com is one of ugliest webpages on the internet | |||
| (not counting Larry Wall's webpage) | |||
|
17:24
birdwindupbird joined
|
|||
| masak | GlitchMr: I see honesty is not one of the issues you're struggling with. :) | 17:28 | |
| s/one of the issues/an issue/ | |||
|
17:31
rurban_ joined
17:33
rurban left,
rurban_ is now known as rurban
|
|||
| GlitchMr | dl.dropbox.com/u/63913412/community.png | 17:34 | |
| masak | GlitchMr: the page feels much less "alive" than the one we have now. if you see what I mean. | 17:37 | |
| GlitchMr | hmmm, yeah | 17:38 | |
| masak | it feels almost one-dimensional compared to the boxes on the current perl6.org page. | ||
| GlitchMr | that's good argument :-) | ||
| masak | I think there is some wisdom in presenting options to people in big noticeable boxes. | ||
| you're presenting them as headings. might as well send them a Word document. | 17:39 | ||
| GlitchMr | Also dl.dropbox.com/u/63913412/mobile1.png and dl.dropbox.com/u/63913412/mobile2.png | ||
| But well, it doesn't matter much | 17:40 | ||
| (well, most of users will use desktop computer) | |||
| s) | |||
| masak | GlitchMr: compare, for example, github.com when you're signed out. big blue "Plans, Pricing and Signup" button front and center. below that, four nice *areas* side-by-side about good things about GitHub. | ||
| or take 37signals.com/ as an example. also very two-dimensional, with things side-by-side. | 17:41 | ||
| that just seems to be good use of space on a page, and makes the page more interesting. | |||
| GlitchMr | Designing is difficult, I know | ||
| masak | yes, but that was not my point. :) | ||
| I don't know how these two examples look on a mobile browser. would be interesting to find out. | 17:42 | ||
|
17:42
cognominal left
|
|||
| GlitchMr | Well, my mobile phone has very small screen size | 17:43 | |
| __sri | blog.kraih.com/a-logo-for-perl # the deep purple butterfly has been replaced | 17:45 | |
| GlitchMr: please use the orange one :) | |||
| GlitchMr | Thanks | ||
| Going to change it now | |||
| au | for small mobile screens, starting from foundation.zurb.com/ or twitter.github.com/bootstrap/ could be easier than hand-coding responsive styles | 17:46 | |
| birdwindupbird | pwd | ||
| GlitchMr | dl.dropbox.com/u/63913412/yellow.png | 17:48 | |
| I'll start a new branch when every page will be ported to this layout | 17:49 | ||
| masak | birdwindupbird: /home/birdwindupbird | 17:51 | |
| moritz agrees | 17:55 | ||
| erm, replying to stale chat :( | 17:56 | ||
| masak | :) | ||
| irssi should be more conspicuous about that scenario. | 17:57 | ||
| FROGGS | does somebody know a tutorial about grammars or so? I'd like to parse the module strings: gist.github.com/4190173 | 17:59 | |
| moritz | FROGGS: the Using Perl 6 book has a chapter on regexes and one on grammars | ||
| FROGGS | moritz: thanks, will read now ;o) | 18:01 | |
|
18:02
japhb joined
|
|||
| japhb | Uggh. | 18:02 | |
| phenny | japhb: 02:17Z <sorear> tell japhb I have a theory... how does $acc ~= ($x ~ $y); do in rakudo, where $x and $y are loop-invariant but not "constant"s? | ||
| japhb: 07:47Z <sorear> tell japhb 'for 1..20 { }' before: 757.56 ± 26.546 µs now: 53.345 ± 1.8765 µs | |||
| masak submitted a bug report to Github about a corner case when editing gists :) | |||
| phenny | japhb: 07:51Z <sorear> tell japhb I'm shelving this for now but there's still much work to be done. [ loop (my $i = 1; $i <= 20; $i++) { } ] = 10.730 ± 0.0305 µs; [ my $i = -20; Nil while ++$i ] = 4.1028 ± 0.1603 µs | ||
| japhb: 07:58Z <azawawi> tell japhb i'll send pull requests with any performance bottlenecks I encounter. Thanks for making and pointing out your cool perl6-bench project. I will check it out later today. | |||
| japhb | Woah, clearly I have some backlogging to do. | 18:03 | |
| japhb is digging out of home network unhappiness because of power outage that outlasted UPS. | |||
| FROGGS | japhb: welcome back then | 18:04 | |
| japhb | Hi FROGGS! How are things in your part of the world? | 18:05 | |
| FROGGS | japhb: well, good actually | ||
| japhb | That's good to hear. | ||
| FROGGS | japhb: have two weeks off now, trying to parse the examples in S11/versioning | ||
| japhb | Ah nice! | 18:06 | |
| FROGGS | after that, I want to provide a "test suite" which somebody can test her/his implementation | ||
| japhb | Any big ideas since I disappeared? | ||
| FROGGS | (and I want to start my own implementation) | ||
| japhb | Good ideas, both. | ||
| FROGGS | some rumor, but nothing concrete | 18:07 | |
| it is always the same back and forth | |||
| japhb | Do tell ... | ||
.oO( Judging by my repo pulls, it's been an active 2-3 days. Especially Perlito5, wow. ) |
18:08 | ||
| dalek | kudo/nom: e2f2dc4 | moritz++ | src/Perl6/Metamodel/RolePunning.pm: fix nqp::can(role { }, "anything"). jnthn++ |
18:09 | |
| FROGGS | I've forgotten who was it last night, but it was almost the same viewpoint like yours, but he didnt cared <auth>, just <ver>, IIRC | 18:11 | |
| and there is another thing we have to care: there if a from:<> tag that allows one to import Perl 5 stuff for example | 18:12 | ||
| don't know how this could work, I guess we just care about auth+ver and storage right now | 18:13 | ||
| japhb | Yeah, but then I'm not sure any of the other stuff matters. With :from<> I think we essentially have to pass a name string and a capture to the proxy for the foreign module system | ||
| FROGGS | well, Perl 5 modules have a version, but as long as you use Perl 5's cpan clients to install these modules, you dont have an auth | 18:15 | |
| IMO you would have to use panda for this stuff too, so that these modules get installed in a nown path | 18:16 | ||
| japhb | Well, Perl 5 module version handling is done with magic; you would generally have to just pass that through to the proxy loader. | ||
| FROGGS | and that XS modules are compiled the "right way" | ||
| japhb | (not technically magic in the perl5 guts sense, I mean magic as in "funky logic involving prestidigitation and gnomes") | 18:17 | |
| Perl 5 modules should be treated as Perl 5 modules; not Perl 5 modules that got eaten by the Perl 6 beast. | 18:18 | ||
| tadzik | good evening #perl6 | 18:27 | |
| masak | tadzik! \o/ | 18:28 | |
| tadzik | \o/ | ||
| FROGGS | hi tadzik | 18:30 | |
| japhb | tadzik, masak, hi! | 18:32 | |
|
18:39
rindolf joined
|
|||
| japhb | phenny, ask azawawi Would you mind using a different pastebin than the one at paste.debian.net (or configuring it to keep the pastes for longer), because they are expiring quite quickly (sometimes faster than I can backlog if I've been AFK for a couple days)? | 18:44 | |
| phenny | japhb: I'll pass that on when azawawi is around. | ||
|
18:47
ifim joined
|
|||
| GlitchMr | I've done an experiment about parsing archives: dl.dropbox.com/u/63913412/parsearchives.png | 18:48 | |
| Currently, they aren't feeling like part of the website. | |||
| masak | gists are so superior as a pastebin, I don't see why more aren't using them. | 18:49 | |
| GlitchMr | Perhaps s/This file/This page/... | 18:50 | |
| "file" is implementation detail. | |||
| japhb | masak, I very much agree | ||
| GlitchMr | masak: I agree too | ||
| tadzik | GlitchMr: this is very nice | 18:52 | |
|
18:52
wooden joined,
wooden left,
wooden joined
18:53
wooden_ left
|
|||
| GlitchMr | ok, soon I will upload the new design branch | 18:57 | |
| moritz | 32 test files failing in the qast-sink-1 branch | 19:12 | |
| of 717 files in total | |||
| sorear | good * #perl6 | 19:13 | |
| moritz | \o sorear | ||
| sorear | au! | ||
| o/ moritz | 19:14 | ||
| GlitchMr | ok... here goes | 19:15 | |
| dalek | href="https://perl6.org/new-design:">perl6.org/new-design: 173c755 | GlitchMr++ | / (613 files): New Perl 6 layout |
||
| href="https://perl6.org/new-design:">perl6.org/new-design: 7d2139d | GlitchMr++ | source/style.css: Add updated styles I forgot previous time. |
19:22 | ||
| au | o/ sorear | ||
| masak | sorear! \o/ | 19:23 | |
| GlitchMr | hi, sorear | ||
| sorear | japhb: ping | 19:25 | |
| o/ masak, GlitchMr | |||
| japhb: when you have the tuits, I'd appreciate an update on standing now that for 1..20 {} is 15 times faster; also smaller gains for ~ | 19:26 | ||
| moritz | r: my $x := 1; say do while $x { $x-- } | 19:28 | |
| p6eval | rakudo e2f2dc: OUTPUT«Cannot assign to a non-container in sub postfix:<--> at src/gen/CORE.setting:3082 in code at /tmp/G6qMBsShlJ:1 in block at /tmp/G6qMBsShlJ:1» | ||
| moritz | r: my $x = 1; say do while $x { $x-- } | ||
| p6eval | rakudo e2f2dc: OUTPUT«0» | ||
| GlitchMr | dl.dropbox.com/u/63913412/randomcode.png | 19:31 | |
| Now main page has random example code | 19:32 | ||
| moritz | I hope it doesn't rely on javascript | ||
| GlitchMr | Nope | ||
| Actually it already exists | |||
| moritz | \o/ | ||
| GlitchMr | But | ||
| It was unused | |||
| moritz | i know | ||
| I implemented it, and masak promised to incorporate it | |||
| GlitchMr | perl6.org/TEMP-example.html | ||
| dalek | href="https://perl6.org/new-design:">perl6.org/new-design: 0df6ae4 | GlitchMr++ | source/ (3 files): Random code |
19:34 | |
|
19:37
RandalSchwartz joined,
RandalSchwartz left,
RandalSchwartz joined
|
|||
| [Coke] | GlitchMr: is your new design checked out somewhere we can poke at? | 19:46 | |
| GlitchMr | Not really | 19:47 | |
| If you want, download new-design branch | |||
| But I haven't set site (aside of localhost) to check it | |||
| But, ok, I will put it on my feather account if you want | |||
| or not | 19:48 | ||
| it depends on being on root of the website :-(... | |||
| [Coke] | eh. I'm lazy. easy to click on a URL. | ||
| ah. no worries, then. I'm actually working for $DAYJOB atm anyway. :P | |||
| dalek | href="https://perl6.org/new-design:">perl6.org/new-design: 555c1b7 | GlitchMr++ | source/archive/ (78 files): Fix Unicode |
19:50 | |
| [Coke] | GlitchMr: looks to me like you broke unicode. | 19:51 | |
| (clicking on that link and looking on github. | |||
| GlitchMr | It's because GitHub assumes ISO-8859-1 by default | 19:52 | |
| (or something) | |||
| Or rather, the diff doesn't contain valid UTF-8 (because it contains removed ISO-8859-1), so GitHub assumes ISO-8859-1. | 19:53 | ||
| [Coke] | hokay. | ||
| GlitchMr | If you will view any of those files directly, everything will be correct | ||
| dalek | href="https://perl6.org/new-design:">perl6.org/new-design: 88851a9 | GlitchMr++ | / (2 files): Restore online directory |
19:58 | |
|
20:00
rurban left
20:10
SamuraiJack left
|
|||
| moritz | r: say (1, 2).map(*+1).WHAT | 20:11 | |
| p6eval | rakudo e2f2dc: OUTPUT«List()» | ||
| pmurias | re redesign of perl6 wouldn't just replacing the ugly download button make it look much better? | 20:12 | |
| masak | "...is not delivering the quantity of hedons per second I have come to expect..." -- today's measurement unit: hedons per second. hpmor.com/notes/progress-12-12-0/ | ||
| pmurias: that may help a lot, yes. | 20:13 | ||
| dalek | href="https://perl6.org/new-design:">perl6.org/new-design: da496c9 | GlitchMr++ | source/archive/ (18 files): More cleaning |
||
| masak | though I must say that reading Charles Stross's work tends to be fun in the way lesswrong feels he's missing. | 20:14 | |
| ditto Neal Stephenson. | 20:15 | ||
|
20:22
kaare_ joined
|
|||
| [Coke] | I would be happy with this button: twitter.github.com/bootstrap/base-c...ml#buttons | 20:22 | |
| dalek | href="https://perl6.org/new-design:">perl6.org/new-design: 43b14a4 | GlitchMr++ | source/archive/rfc/183.html: Fix RFC 183 title |
||
| href="https://perl6.org/new-design:">perl6.org/new-design: f400a18 | GlitchMr++ | source/archive/rfc/183.html: Fix RFC 183 title again |
20:23 | ||
| moritz | phenny: de en "lispeln"? | ||
| phenny | moritz: "lisp" (de to en, translate.google.com) | ||
| moritz | somehow that meaning of "lisp" was never obvious to me :-) | 20:24 | |
|
20:24
kaare__ left
|
|||
| diakopter | GlitchMr: I think we need to keep the spokesbug as TimToady rendered it | 20:24 | |
| moritz | I don't think so | 20:26 | |
| TimToady has mentioned that it was intended to decolorize a bit | 20:27 | ||
| diakopter | I'm pretty sure he meant on pages other than perl6.org | ||
| moritz | let's just ask him, shall we? | 20:28 | |
| diakopter | :) | ||
| GlitchMr | Well, I can restore Camelia if Larry Wall won't agree. | ||
| It is just a branch currently. | 20:29 | ||
| It's not actual perl6.org, just a design I'm making. | |||
| Personally, I would like to see Riedel's logo. Larry Wall's logo may be cute, but I think it could hurt "first-impression". | 20:32 | ||
| People even think it's a bee - en.wikipedia.org/wiki/Talk:Perl_6#Camelia.3F | 20:33 | ||
|
20:37
Chillance joined
|
|||
| masak | "people even think it's a bee" seems a tame argument next to the things detractors usually say about Camelia. | 20:39 | |
| dalek | href="https://perl6.org/new-design:">perl6.org/new-design: 8089137 | GlitchMr++ | source/favicon.ico: New favicon |
||
| moritz | it's a "somebody is WRONG on the internet" kind of argument :-) | ||
| tadzik | (: | 20:40 | |
| GlitchMr | xkcd.com/386/ | ||
| diakopter | masak: follow the bee link (if you haven't); it's not just about "bee" | ||
| masak | diakopter: url? | 20:41 | |
| diakopter | the one GlitchMr mentioned on wikipedia | ||
| masak | or do you simply mean the talk page? I'm reading it. | ||
| "If you worry that Perl isn't wearing a tie, you're not the person Perl is trying to impress." -- from that talk page. | |||
|
20:41
rurban joined
20:43
rurban left
|
|||
| diakopter | masak: yes, the Camelia section of the talk page | 20:47 | |
| masak | it seems evenly divided between people for and people against. | 20:48 | |
| much like most of the Camelia discourse in other places. | |||
|
20:56
Chillance left
20:57
birdwindupbird left,
Chillance joined
|
|||
| moritz | more fun from them sink department: | 20:59 | |
| %a = 1, 2; | |||
| compiles to %a.STORE(1, 2) | |||
| GlitchMr | Please don't merge my new layout yet as main page isn't ready yet ;-). Also, bye. | ||
| moritz | so that's a methodcall, and thus currently we call .sink on the result | 21:00 | |
| erm, not a problem for hashes | |||
| but a problem for lists | |||
|
21:02
GlitchMr left
21:10
kcwu left
21:12
snearch joined
|
|||
| jnthn | moritz: Hm, ouch... | 21:13 | |
| moritz: Special-casing the name STORE is one option... :0 | |||
| *:) | |||
| japhb | sorear, sorry, I've got a lot going on today. As soon as I can spare a few minutes, I'll toss them in the direction of perl6-bench. :-) | ||
| afk again & | |||
| moritz | jnthn: yes, I'm just introducing $past<nosink> | 21:14 | |
| dalek | kudo/qast-sink-1: 1c84805 | moritz++ | src/Perl6/Metamodel/RolePunning.pm: fix nqp::can(role { }, "anything"). jnthn++ |
||
| kudo/qast-sink-1: 17bcd96 | moritz++ | src/core/Parameter.pm: switch to real constants in Parameter.pm |
|||
| kudo/qast-sink-1: 36e4477 | moritz++ | src/Perl6/Actions.pm: do not sink list assignment |
|||
| moritz | ... and now everything segfaults | 21:17 | |
| that is, ./perl6 -e '' segfaults | |||
| moritz calls it a day | 21:18 | ||
| jnthn | moritz++ # sink hacking | ||
| moritz: I should have tuits to help out with it a bit this week, if you like. | |||
|
21:19
snearch left
|
|||
| moritz | jnthn: that would be greatly appeciated | 21:19 | |
| rindolf | Hi all. | 21:32 | |
|
21:34
colomon left
|
|||
| lue | hello o/ | 21:36 | |
| phenny | lue: 09:39Z <jnthn> tell lue Well, they are installed in some %?LANG but they will suffer the "not under Mu" issue. And I need to do some MOP stuff before turning to that. | ||
| lue: 09:40Z <jnthn> tell lue but I think at a first guess $~MAIN would desugar to %?LANG<MAIN> | |||
| lue | Ah. I had a feeling it was more complicated than "Oh, just return the hash value from Actions.pm" or something like that :) . | 21:37 | |
|
21:38
skids left
21:40
Kharec joined
21:42
kaare_ left
|
|||
| lue | the logo on kraih.com (linked from the talk page) feels too corporate for me :P | 21:43 | |
|
21:43
sevin joined
|
|||
| __sri starts working on a version of the amelia logo with suit and briefcase | 21:46 | ||
| lue | .oO(It's a terrific logo, but it just doesn't feel right for P6.) |
21:48 | |
|
21:56
bruges_ joined
21:57
skids joined,
bruges left
21:59
kurahaupo joined
22:01
cognominal joined
22:23
Kharec left
|
|||
| __sri | amelia with pinstripe wings flying out of a big briefcase is actually not a bad logo for a perl 6 enterprise edition :) | 22:34 | |
|
22:35
spider-mario left
22:38
colomon joined
22:45
rurban joined
22:46
rurban left
22:56
rindolf left
23:05
MayDaniel left
23:11
Targen left
23:20
cognominal left,
cognominal_ joined
23:26
sevin left
23:33
cognominal_ left
23:34
cognominal_ joined
23:38
sevin joined
|
|||
| dalek | kudo-js: cbdb432 | (Paweł Murias)++ | / (3 files): [nqp] pass test 34 |
23:46 | |
|
23:52
popl joined
23:55
lue left
|
|||