pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by diakopter on 11 July 2007.
00:01 Auzon joined 00:04 amoore joined, amoore is now known as acmoore 00:08 ruoso left 00:16 skids joined 00:19 skids left 00:24 REPLeffect left 00:33 araujo joined 00:44 justatheory left, justatheory joined 00:47 ebassi left 00:53 Southen_ joined 00:54 Southen_ left, Southen left, cookys_ left, Southen_ joined, cookys_ joined, Southen joined 00:55 AndyAway is now known as alester 00:57 jjore-m joined
TimToady ruoso_: see new text at S09:1161 regarding autovivification 01:00
I don't think \% should be treated different from \(%)
araujo hello 01:06
Auzon Hi
01:12 Treeform joined, go|dfish joined
Treeform ah more! 01:12
01:12 iblechbot left
alester oh whoops 01:12
not here, Treeform. go to irc.perl.org and the #parrot room
buu Is this a treasure hunt?
Is there a prize at the end?
"I'm sorry Treeform, but the princess is in another irc channel"
Treeform alester, why there? 01:13
01:13 Southen left
alester Because they're discussing a pastebot using Mechanize in ther.e :-) 01:13
01:13 Treeform left 01:19 lyokato_ joined 01:30 cnhackTNT joined, devogon left 01:37 Schwern joined
meppel-san good night 01:49
01:58 Schwern left 02:00 Schwern joined 02:01 meppel-san left 02:18 jrm_ joined 02:19 Squern joined 02:24 jrm_ left, jiing joined 02:29 Squern left 02:30 Squern joined, dmq left, dmq joined 02:35 tobeya left 02:36 jjore-m left 02:38 bwisti left 02:39 Schwern left, Squern left 02:40 Schwern joined 03:04 Limbic_Region left 03:05 jhorwitz left 03:16 BinGOs left, BinGOs joined 03:21 BinGOs left 03:22 BinGOs joined 03:38 thoughtp1lice is now known as thoughtpolice 03:55 jjore-m joined 04:02 kanru joined 04:09 c9s joined 04:13 araujo left 04:18 jferrero left 04:53 BinGOs left 04:55 Schwern left 05:11 rhr joined 05:30 Andy_ joined 05:38 Aankhen`` joined 05:47 alc joined 06:00 luqui joined 06:22 Southen_ left, cookys_ left 06:23 Southen_ joined, cookys_ joined 06:24 cookys_ left, cookys joined 06:26 Alias_ joined 06:31 dlocaus left, Southen_ left 06:50 alc left 07:04 iblechbot joined 07:05 SCalimlim left 07:11 Auzon left 07:13 Southen_ joined 07:18 justatheory left 07:30 kupopo joined 07:35 kupopo left 07:36 cognominal_ left 07:58 iblechbot left 08:15 Andy_ left 08:20 devogon joined 08:24 BinGOs joined, franck___ joined 08:29 Southen_ left, Southen_ joined 08:30 kanru left 08:34 xinming_ joined 08:41 Southen_ left 08:42 Southen_ joined 08:47 xinming left 08:48 pochi joined
gaal Hi, folks. Has anyone been trying to build Pugs itself recently with a HEAD GHC? 09:01
avar Probably not, pugs is pretty much abandonware now ;/ 09:03
need more lambdacamels
gaal I'm trying to treat bitrot. The compilation is failing very early with bad package paths etc., and I don't really remember how our wrapped ghc-pkg was supposed to work 09:05
Does it build OK with a release GHC? What version? 09:06
avar I haven't built it in over a year 09:17
gaal One problem is that we use ghc-pkg-wrapper in configuration, but that uses the third-party/installed/packages.conf, which is initially empty 09:22
So base GHC packages aren't seen, and configuration fails. 09:23
Now, I don't remember if there was some way to say "use this packags.conf to read, and that packages.conf to write/install to" 09:24
Okay, I have a one-character patch to do that 09:30
09:30 penk joined
gaal But now I get inconsistencies with hidden base packages :/ 09:30
09:33 masak joined 09:38 jisom joined 09:43 ebassi joined 09:45 njbartlett__ left
ruoso_ TimToady, nice... It's simpler now... it's always on the binding :) 09:49
09:55 cnhackTNT left 09:56 Southen_ left 09:57 Southen_ joined
luqui gaal, yeah, it's going to suck kindof. there was a big library package shift for 6.8. some of the breakage falls back on the package authors... 10:00
gaal luqui: (hi!) I don't understand how what we have now _could_ have worked 10:09
i.e. Setup --with-hc="wrapper that does ghc-pkg -f empty-file" 10:10
10:11 Alias_ left
luqui I have no idea what we're doing now :-) 10:11
nor how to use ghc-pkg...
it was just an ill-informed tidbit. 10:12
gaal what we have now == what we've had for a year or so, presumably
luqui i never knew
10:17 njbartlett_ joined 10:23 asprillia joined 10:31 meppuru joined 11:05 penk left 11:11 franck____ joined, franck____ left 11:12 franck____ joined, franck___ left 11:20 rindolf joined 11:22 franck___ joined 11:25 lyokato_ left 11:31 jisom left 11:37 franck____ left 11:50 cognominal_ joined 11:59 meppuru left 12:01 masak left 12:06 marmic left 12:10 thoughtpolice left 12:21 jan__ joined 12:27 jan__ left, drrho joined 12:28 jan__ joined
ruoso_ hmmm... 12:29
12:29 ruoso_ is now known as ruoso
ruoso kp6: my %a; my $b := %a{'b'}{'c'}; say exists %a{'b'}{'c'}; 12:30
exp_evalbot r19326: OUTPUT[no method 'LOOKUP' in Class 'Bit'ā¤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345ā¤ KindaPerl6::Runtime::Perl5::MOP::__ANON__('HASH(0x8e777f4)', 'LOOKUP', 'HASH(0x8e77c38)') called at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 169ā¤
..main::DISPATCH('HASH(0x8e777f4)', 'LOOKUP', 'HASH(0x8e77c38)') c...
ruoso kp6: my %a; my $b := %a{'b'}{'c'}; say exists %a{'b'}; 12:31
exp_evalbot r19326: OUTPUT[0ā¤]
ruoso kp6: my %a; my $b := %a{'b'}{'c'}; say %a{'b'}.keys;
exp_evalbot r19326: OUTPUT[no method 'keys' in Class 'Bit'ā¤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345ā¤ KindaPerl6::Runtime::Perl5::MOP::__ANON__('HASH(0x8e7cd44)', 'keys') called at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 169ā¤
..main::DISPATCH('HASH(0x8e7cd44)', 'keys') called at - line 53ā¤ā¤]
ruoso kp6: my %a; my $b := %a{'b'}{'c'}; say %a.keys;
exp_evalbot r19326: OUTPUT[ā¤]
ruoso it seems that the autovivification is broken in kp6 now... it used to work...
kp6: my %a; my $b := %a{'b'}{'c'}; $b{'d'} = 1; 12:39
exp_evalbot r19326: RESULT[error in Block at compiled/perl5-kp6-mp6/lib/KindaPerl6/Grammar/Sub.pm line 753, <> line 1.ā¤*** Syntax Error in Block: missing closing curly bracket ā¤]
ruoso kp6: my %a; my %b := %a{'b'}{'c'}; %b{'d'} = 1; 12:40
exp_evalbot r19326: RESULT[error in Block at compiled/perl5-kp6-mp6/lib/KindaPerl6/Grammar/Sub.pm line 753, <> line 1.ā¤*** Syntax Error in Block: missing closing curly bracket ā¤]
ruoso kp6: my %a; my %b := %a{'b'}{'c'};
exp_evalbot r19326: RESULT[error in Block at compiled/perl5-kp6-mp6/lib/KindaPerl6/Grammar/Sub.pm line 753, <> line 1.ā¤*** Syntax Error in Block: missing closing curly bracket ā¤]
ruoso kp6: my %a; my $b := %a{'b'}{'c'}; say %a.keys;
exp_evalbot r19326: OUTPUT[ā¤]
ruoso kp6: my %a; my $b := %a{'b'}{'c'}; $b{'d'} = 1;
exp_evalbot r19326: RESULT[error in Block at compiled/perl5-kp6-mp6/lib/KindaPerl6/Grammar/Sub.pm line 753, <> line 1.ā¤*** Syntax Error in Block: missing closing curly bracket ā¤]
ruoso kp6: my %a; my $b := %a{'b'}{'c'}; $b = 1;
exp_evalbot r19326: RESULT[error in Block at compiled/perl5-kp6-mp6/lib/KindaPerl6/Grammar/Sub.pm line 753, <> line 1.ā¤*** Syntax Error in Block: missing closing curly bracket ā¤]
gaal Okay, good, pugs still builds with 6.6.1. 12:59
13:05 jan__ left 13:06 jan__ joined 13:07 Alias_ joined 13:17 cmarcelo joined 13:20 masak joined 13:21 jferrero joined 13:25 rindolf left 13:34 ispy_ joined 13:37 araujo joined 13:58 jhorwitz joined 14:05 TJCRI joined 14:09 acmoore left 14:19 polettix left 14:24 marmic joined 14:31 cognominal_ left 14:33 rindolf joined 15:00 acmoore joined, drrho left 15:03 polettix joined 15:16 blindfish_ joined 15:19 Caelum left 15:31 skids joined
skids my @w; 15:36
map { @w[$^i] = coro { "a".say; yield; "b".say; return; } }, (0,1,2);
map { @w[$^i]($i) }, (0,1,2,0,1,2);
... that does what I want to happen...
but I can't figure out how to get the coro code into a neater place. 15:37
calling a sub that yields --> "cannot yield from routine" 15:38
calling a ref to a block that yields --> "cannot yield from prim"
calling a ref to a coro --> calls the same coro six times, not three coros 2 times.
Is there some way to "copy a closure"? 15:40
15:46 pochi_ joined 15:50 Limbic_Region joined 15:59 pochi left 16:02 jedai joined 16:07 jferrero left 16:13 rdice joined 16:19 |Jedai| joined 16:23 asprillia left 16:36 jedai left 16:41 barney joined 16:43 lorn left 16:53 Psyche^ joined 16:59 thoughtpolice joined 17:10 Patterner left, Psyche^ is now known as Patterner 17:15 Andrew__ joined 17:16 Andrew__ left, Andrew__ joined 17:17 jjore-m left 17:20 jedai joined, rindolf left 17:21 Aankh|Clone joined 17:22 Aankh|Clone left 17:25 Aankh|Clone joined 17:26 dlocaus joined
dlocaus . 17:27
17:27 dlocaus left, franck___ left 17:30 _Jedai_ joined 17:33 thoughtpolice left 17:38 |Jedai| left 17:39 Aankhen`` left
pugs_svn r19327 | ruoso++ | [yap6] The autovivification schema requires a full bootstrapped object system after all. So I decided to work a little more in the YAP6 bootstrap concept, take a look at NOTES_BOOTSTRAP.txt to understand how YAP6 will bootstrap itself and support any object system. 17:42
ruoso @tell fglock please take a look at svn.pugscode.org/pugs/v6/yap6/NOTES...TSTRAP.txt 17:43
lambdabot Consider it noted.
ruoso I really would like considerations on the NOTES_BOOTSTRAP.txt file I've just written. This may be the last architectural sketch of YAP6 before having it completely planned. 17:44
TimToady, if you have some time, could you please take a look at this last notes I wrote? 17:48
17:50 jedai left 17:51 masak left 17:52 _Jedai_ left 17:56 hexmode` joined, hexmode` left 17:58 hexmode joined 18:01 pbuetow left 18:03 thoughtpolice joined 18:04 rindolf joined 18:06 pbuetow joined 18:07 kupopo joined 18:08 nothingmuch left, luqui left, nothingmuch joined, blindfish_ left
mncharity Has anyone created a full table of contents for the sNN? Ie, something which scrapes the sNN for title and section headers, and combines them into a single document, linking to the assorted docs? 18:14
[particle] i've only seen that per synopsis
mncharity There's feather.perl6.nl/syn/ , but that's not it.
lambdabot Title: Official Perl 6 Documentation
18:15 ludan left
mncharity hmm 18:15
PerlJam mncharity: I don't think so. (at least I haven't seen anything close other than the link you just mentioned)
[particle] pod::perldoc::totoc could help 18:16
18:17 meppuru joined
mncharity re totoc, ah, so it doesn't need to be a kludge. ;) 18:21
[particle] bdfoy++
mncharity Looks like the german Perl6Tutorial is gone wiki.perl-community.de/bin/view/Wis...l6Tutorial . 18:25
lambdabot Title: PerlCommunityWiki ōæ½xBB Wissensbasis ōæ½xBB Perl6Tutorial
mncharity no, just mislinked wiki.perl-community.de/bin/view/Wis.../PerlTafel
lambdabot Title: PerlCommunityWiki ōæ½xBB Wissensbasis ōæ½xBB PerlTafel
18:26 Limbic_Region left
mncharity www.perlfoundation.org/perl6/index....perl_table "my german, nicely linked Perl 6 Overview" is the mislink 18:26
lambdabot Title: Perl Table / Perl 6
mncharity wasn't there a copy of the sNN with line numbers? I don't see it listed in www.perlfoundation.org/perl6/index....umentation 18:27
lambdabot Title: Documentation / Perl 6
[particle] i don't know of one, i always used svn+gvim to get line numbers 18:29
mncharity perlcabal.org/syn/ is it. 18:36
lambdabot Title: Official Perl 6 Documentation
mncharity eg perlcabal.org/syn/S09.html#line_1161
lambdabot Title: S09
[particle] ah, i see. they don't display, though 18:37
mncharity good point. having some sort of mouseover "this is line N" might be a nice enhancement. 18:38
18:42 polettix left
mncharity [particle]: PerlJam: thanks 18:45
18:45 Andrew__ left 18:47 pmurias joined
pmurias mncharity: i use grep '=head' for a table of content 18:47
mncharity right. in this case, I'd like to create a combined table of contents, html/pod, linking into the sNN. use case is 18:53
I seem to frequently end up wandering around the sNN, trying to re-find information I know I've seen before.
maybe it's just me? :) 18:54
19:02 Schnueff joined
pmurias mncharity: i just ack around 19:04
[particle] creating an index would be super helpful 19:05
X<>++
pmurias [particle]: yes
it would be very nice 19:06
mncharity an index? rather than just the google sitesearch at the top of feather.perl6.nl/syn/ ? 19:10
lambdabot Title: Official Perl 6 Documentation
[particle] we do need to build a book out of it 19:11
19:11 iblechbot joined
mncharity Hmm. I don't really know what the state of automated book index generation is. But quality index creation by an professional index writer has been a very time intensive and ai-complete process. 19:16
19:37 jisom joined
wolverian it seems to be relatively hard to add showing line numbers on the page on hover into smartlinks.pl ... easiest way to me looks parsing the html as an extra pass to gather the line numbers from the html that way 19:38
wolverian investigates more 19:39
pugs_svn r19328 | ruoso++ | [yap6] Entering a very extensive deep refactoring. After studying more 19:44
r19328 | ruoso++ | the specs and ellaborating NOTES_BOOTSTRAP.txt, the mechanism was very
r19328 | ruoso++ | simplified and we have now a implementation independent API that the
r19328 | ruoso++ | implementations will bind to. The first implementation will be the
r19328 | ruoso++ | YAP6__LOWL__... objects which will comply to the new API. The
r19328 | ruoso++ | structure didn't change much, but now I understood that I should start
r19328 | ruoso++ | by the metaclass object even for the lowlevel objects that will be
r19328 | ruoso++ | implemented in C. After that, the higher level objects will be
r19328 | ruoso++ | implemented in a stage1 language that knows how to use this lowlevel 19:45
r19328 | ruoso++ | objects.
pbuetow wow! 19:47
ruoso pmurias, please take a look at the new NOTES_BOOTSTRAP.txt and the new yap6.h 19:48
mncharity my first experience using socialtext. first impression: it's very much weaker than mediawiki. eg,
ruoso I'm in despair for reviews
mncharity eg, I changed a line or two of someone else's text. there was no way to comment on intent (no change log message, no associated talk/discussion page). the mediawiki social context and conventions were missing. it felt like using a usemod. 19:50
do we *really* want to use this instead of perl.net.au/ ? 19:52
TimToady ruoso: the thing I get from it is that the protoobject is basically caching the responder interface that is computed by the metaclass
ruoso TimToady, not only caching, but holding the prototype information in itself 19:53
TimToady using "responder interface" as defined by nothingmuch
ruoso the metaclass doesnt hold the class composition
the prototype *is* the responder interface
TimToady right, metaclass is generic
ruoso the metaclass is the object layout
in nothingmuch's terms
TimToady well, I think it's more than just layout 19:54
but we can split hairs later
ruoso yeah... the metaclass and the prototype are quite coupled
but that's hidden for each metaclass
so we can decouple later 19:55
TimToady nevertheless, your analysis comforts me that I did something right to invent protoobjects
ruoso :)
I need reviews, but it seems that this model can implement all of the specs
because it doesn't implement anything
TimToady because we want Dog to think it's a dog, even when it isn't. :)
ruoso :)
19:56 chruck joined
ruoso in fact, I could even host PMCs and SV*s 19:56
inside the objects
TimToady indeed, we trying to keep layout indirection in mind for that reason 19:57
s:2nd/<ws>/ are /
19:57 TJCRI left 19:58 JarJarBinks joined
TimToady of course, if you're gonna mix p5 and p6 runloops, you have other problems... 19:58
I mean p5 and parrot runloops 19:59
ruoso hmm
I see p5 integration as using perlembed
19:59 Alias_ left
TimToady hard to maintain stackless when multiple runloops 19:59
s/when/with/
mncharity wolverian: just for myself, I would find a combined table of contents much more useful than the line numbers. though line numbers might be nice too.
TimToady and as soon as you blow stackless, you make continuations very much harder. 20:00
ruoso hmm... sure... but I wouldn't expect p5 interaction to be stackless
I mean
I wouldn't expect to make p5 continuations from p6
I can only do what p5 supports (by p5 I really mean libperl) 20:01
mncharity wolverian: the search.cpan.org/~bdfoy/Pod-Perldoc-ToToc-1.07/ code is quite small, and could be a good foundation. perhaps a multi-pod combined toc module?
TimToady sure, but if we can fiddle both p5 and parrot to use an alternate runloop, we might find a way to shim both into one level. just something to bear in mind 20:02
ruoso I see.. maybe using different interpreter instances instead of stacking them 20:03
for p5
20:03 cognominal_ joined
ruoso s/them/in it/ 20:03
TimToady hmm, that would make a rather heavy continuation, I suppose 20:04
ruoso hmmm
or using the trick kp6 does
which is holding closures
and running everything inside that closure
TimToady trick is to get p5 regex engine to cough up a continuation closure for you...
wolverian mncharity, yeah. unfortunately, the code is rather obtuse. :(
ruoso TimToady, fglock was dealing with it in kp6 p5rx 20:05
I'm not sure how it ended
wolverian hmm
20:05 devogon left
wolverian actually, it could be separate from smartlinks.pl 20:05
TimToady well, I think he basically did his own matching with closures 20:06
at least, until the ratchet came
ruoso that's the procedural version
kp6 has a p5rx based version
TimToady but ratchet merely reduces the need for continuation
I don't profess to know how kp6 does it 20:07
ruoso I'm not sure... but I think kp6-p5rx was supporting gather-take inside tokens using continuations
or corountines
hmm
not sure
TimToady iirc it was coro
ruoso yeah... probably
anyway 20:08
TimToady but coro is in some ways not as powerful as gather/take, since you have to tie it to a sub
I suspect gather/take in kp6 is limited for that reason
ruoso this is to when we'll be implementing yap6-p5 integration...
TimToady can you gather in one dynamic scope and take in a lower dynamic scope?
ruoso yap6 needs to exist first ;)
TimToady, I'm not sure, but I think you can 20:09
mncharity wolverian: ok
anyone: perhaps remove -noindex from whatever generates the sNN html? Then at least one would have tables of contents in the individual sNN. 20:10
TimToady well, just bear in mind that storing anything in the C stack is just going to bite you later
20:10 ebassi left, DaGo joined
ruoso kp6: sub a { take 10 }; my $a = gather for ( 1 .. 10 ) { a() }; say $a[1]; 20:10
exp_evalbot r19328: OUTPUT[no method 'APPLY' in Class 'Undef'ā¤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345ā¤ KindaPerl6::Runtime::Perl5::MOP::__ANON__('HASH(0x824c874)', 'APPLY', 'HASH(0x8e7cb88)') called at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 169ā¤
..main::DISPATCH('HASH(0x824c874)', 'APPLY', 'HASH(0x8e7cb88)') ca...
mncharity perhaps a bit less pretty. but more usable.
20:10 ebassi joined
ruoso TimToady, that's why yap6 will need a full interpreter 20:11
and I'm still hoping KP6 evolves to one
TimToady well, one way or another, we'll get there 20:12
might have to discover 999 ways not to invent a lightbulb first, of course
20:12 lorn_ joined
ruoso heh.. but that's the problem of saying that your lightbulb must support an interface to any lamp 20:13
PerlJam TimToady: I just started paying attention to this window and already you're depressing me :)
TimToady or maybe by the time we're done they'll have added continuations to C :)
PerlJam: take it from me, it doesn't matter if you're depressed as long as you're also persistent. :) 20:14
PerlJam indeed. 20:15
That's sometimes a hard lesson to learn though
wolverian mncharity, hm? the individual SNNs do have ToCs.
PerlJam wolverian: He wanted an all-inclusive ToC 20:16
wolverian oh. what's that, compared to what we have now? 20:17
re: "22:08 mncharity : anyone: perhaps remove -noindex from whatever generates the sNN html? Then at least one would have tables of contents in the individual sNN."
is he talking about the dev.perl files?
pmurias ruoso: the newest kp6 is bits of regex inside subs
PerlJam oh, I'm not sure what the end goal was beyond that.
pmurias s/kp5/kp6p5rx/ 20:18
wolverian mncharity, do you mean spec.pugscode.org or dev.perl.org/perl6/doc/synopsis.html ?
lambdabot Title: Official Perl 6 Documentation
20:21 TJCRI joined
mncharity the feather.perl6.nl/syn/ google search box form isn't quite right, so the search always fails (eg, search for "perl"). 20:21
lambdabot Title: Official Perl 6 Documentation 20:22
ruoso going home 20:23
pmurias ruoso: isn't a prototype just a undefined object?
ruoso pmurias, no, a prototype is a wanabe object, 20:24
that happens to answer false to defined()
pmurias ruoso: yes
why is there a special YAP6__Prototype type? 20:25
ruoso because prototype is the one that have a reference to the metaclass
20:25 jisom left, devogon joined
mncharity re ToC, dev.perl.org/perl6/doc/design/syn/S02.html , for example, does -not- have ToC at the top. I suggest it should. Perhaps less pretty, but more usable. Whatever is generating it is likely being told not to create one, as at least for pod2html, it defaults on. 20:26
lambdabot Title: Synopsis 2: Bits and Pieces - perl6
pmurias ruoso: i'll think about it
20:26 jjore-m joined
ruoso TimToady, re c stack: I've been thinking about it for some time already... and in fact there are ways to implement continuations in C 20:26
wolverian mncharity, I think everyone uses spec.pugscode.org nowadays 20:27
mncharity further re ToC, it would be nice to have an html page with a combined table of contents for all the synopses.
ruoso but I really need to go home
jjore-m skids, do you still care about copying closures?
wolverian mncharity, good job spotting the google search. I don't know how to fix it, unfortunately. site:feather.perl6.nl doesn't help.
mncharity goes to look at spec.pugscode.org ...
wolverian it's the same as feather.perl6.nl/syn
mncharity ah, a ToC. happiness. :) 20:28
wolverian yeah. the index page could use some love though
e.g. instead of "Packages <a...>Synopsis</a> ...rest..." it could just be "<a href="syn...">Packages</a> ...rest..." 20:29
or do we want to keep the term synopsis on the index page?
mncharity and dev.perl.org/perl6/doc/synopsis.html a link to perlcabal.org/syn/ (/me wonders how many aliases feather has...)
lambdabot Title: Synopses - perl6
wolverian a few :) 20:30
pugs_svn r19329 | szabgab++ | remove unused code 20:31
r19330 | szabgab++ | fix smartlinks
mncharity re link, I always suggest going for simplicity and clarity. having a column of boldface repetitions of the word "Synopsis" is just wasted ink and distraction. 20:33
wolverian I agree.
mncharity re google search, let's see... 20:34
Juerd_ mncharity: Too many
There are too few canonical URLs for all of Perl.
5 and 6
wolverian I agree. :)
Juerd_ There's a gazillion websites about Perl, gazillion minus a dozen of them are outdated
perl.org is said to be canonical, but is also a lot of outdated crap 20:35
Then there's the commercially controlled perl.com, which is even worse
The owner of perl6.org has "bigger plans" for it: a migration site 20:36
But it does have perl6 documents right now, probably to gain some google points for it. 20:37
Those are synced, but that has been broken before
skids jjore-m: figured out sub { return coro {}}. But always like to hear about funky voodoo.
20:37 barney left
jjore-m Oh, I don't know how coro interacts with magic. I was just going to say that Data::Dump::Streamer serializes closures to perl that can be evaled to duplicate them. 20:40
mncharity googling for -"FAIL Perl6-Doc" "However, these Synopses also contain updates to reflect the" suggests of the sNN sites, only dev.perl.org/perl6/doc/design/syn/ is being indexed? 20:41
gaal Hi there! 20:42
mncharity hi gaal :)
wolverian yes, it seems to be google doesn't index feather.perl6.nl/syn
I don't know why. Juerd?
gaal long
time
no
?eval [~] <m oo se>
mncharity lol
wolverian heh
gaal pugs: [~] <m oo se> 20:43
exp_evalbot RESULT["moose"]
[particle] gaal++ 20:44
gaal pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
what? I didn't do anything :)
oh er
how does one sudo /topic on irc? 20:45
[particle] and if you continue to do nothing, we'll always love you
gaal that sounds pretty tempting
20:46 ruoso left
rindolf gaal! 20:47
gaal: hi.
gaal: you didn't attend the Israeli Perl Workshop, right?
gaal I did not. 20:48
rindolf gaal: ah. Why?
gaal I was busy being loved!
rindolf gaal: long time. 20:49
gaal: what's up?
gaal everything is just peachy 20:50
mncharity Juerd_: sigh. 20:52
20:58 lorn_ left, rindolf left 20:59 ebassi left 21:11 ispy_ left
Juerd_ mncharity: ? 21:11
wolverian Juerd_, do you know why google doesn't index feather.perl6.nl/syn? 21:12
21:17 ruoso joined 21:23 alester left
mncharity Juerd_: sigh re scattered broken state of perl web sites. especially having two wikis. 21:27
I suppose it isn't the two-ness of the wikis which is the problem. Python had that for a while. It's that the one which is "official", is also rather crippled. So instead of two healthy competing wikis, both lose. 21:33
21:35 szabgab joined
szabgab evening 21:35
it seems to me that util/prove6 loads the perl5 version of Test.pm .. 21:36
I tried ./util/prove6 t/02-test-pm/3-script.pl
and got t/02-test-pm/3-script.......pugs: user error (*** user error (*** 21:37
Unexpected "(@"
...
can anyone point me what am I doing wrong?
pasteling "szabgab" at 192.117.127.193 pasted "prove6 failure" (19 lines, 808B) at sial.org/pbot/29590 21:41
21:42 alester joined, hexmode` joined
pugs_svn r19331 | szabgab++ | set executable bit on pastebot 21:42
mncharity szabgab: no idea - sorry. 21:45
"Currently all of the builtins for perl6 are written in PIR. However, it would make more sense if some builtins were written in Perl 6." - Patrick R . Michaud Ā - Dec 28 2007 on p6c 21:46
[particle] mncharity: what about it? 21:49
21:49 skids left
mncharity [particle]: no comment. 21:51
perl.net.au/wiki/Perl_6#External_Links now has links to synopses, irc, and p6l archives, and links to google them. these seem a minimum requirement to get spec work done. additional suggestions would be most welcome. 21:52
lambdabot Title: Perl 6 - PerlNet
21:53 TJCRI left 21:54 Auzon joined, REPLeffect joined 21:57 hexmode left 22:01 alester left
meppuru good night 22:01
22:03 meppuru left
szabgab ?eval 1 === "1" 22:03
Auzon pugs: eval 1 === "1" 22:04
exp_evalbot RESULT[undef]
Auzon kp6: 1 === "1"
exp_evalbot r19331: OUTPUT[syntax error at position 2, line 1 column 2:ā¤1 === "1ā¤ ^ HEREā¤]
Auzon pugs: 1 === "1"
exp_evalbot RESULT[Bool::False]
Auzon The topic is kind of misleading ;)
szabgab pugs: 1 !== "1"
exp_evalbot RESULT[Bool::False]
szabgab Auzon: thanks
22:05 jhorwitz left, rdice left
szabgab so 1 and "1" are both not equal and non not equal 22:05
Auzon No problem ;)
Hm. You're right, that doesn't make sense
diakopter wolverian: the search engines were bringing (the original) feather to its knees.... so I told robots.txt to block all... until the performance issues could be resolved. if it could be set to allow indexing of everything but the trac pages, then I think indexing should be reallowed 22:06
Auzon pugs: not(1 === "1")
exp_evalbot RESULT[Bool::True]
22:06 diakopter sets mode: -o diakopter
Auzon pugs: 1 !=== "1" 22:06
exp_evalbot RESULT[Bool::True]
Auzon pugs: 1 !== "1"
exp_evalbot RESULT[Bool::False]
wolverian diakopter, who can do that?
Auzon pugs: 1 != "1"
exp_evalbot RESULT[Bool::False]
diakopter Juerd_: see above
mncharity It doesn't look like svn.perl.org/perl6/pugs/trunk/ is currently in google. Though curiously, svn.perl.org/perl6/pugs/trunk/docs...rview.html is.
Auzon It appears as though "!==" means "!=" :-/ 22:07
szabgab ah, the negation of === is !=== or !== ?
mncharity Has anyone asked google code search to include it? www.google.com/codesearch/addcode?hl=en
lambdabot Title: Google Code Search
Auzon szabgab: I'll have to look at the synopses
szabgab I see !=== mentioned in S03 22:08
under Negated relational operators
"Any infix relational operator may be transformed into its negative by prefixing with !"
so it should be !=== I guess 22:09
gaal szabgab: do you maybe have some cruft in your environment? prove6 worksforme
22:09 cmarcelo left
Auzon So the negation of "==" is both "!=" and "!==" 22:09
szabgab gaal: cruft, always but I don't know what
mncharity google code does seem to have old 2006 cvs snapshots though. sigh.
szabgab I used to have PERL6LIB set but removed it now , either way it did not work. 22:10
gaal env | grep PERL == ?
HARNESS_PERL might be wrong
and I think pugs respects PERLLIB also :) 22:11
szabgab PERL5LIB is set to lots of private dirs, nothing else
gaal (yet another env var nobody uses....)
mncharity I'm about to ask google code to index svn.perl.org/perl6/pugs/trunk/ . Any cries of "NOOOOOOO!!" before I push the button? 22:12
lambdabot Title: Revision 14480: /pugs/trunk
Auzon Hm... I don't think it matters if Google can see an open source repo.
gaal szabgab: maybe try rm blib6/lib/*yml* and "make" again? 22:13
mncharity Auzon: huh?
Auzon I wasn't objecting.
mncharity ok - i just didn't understand your comment... 22:14
szabgab removing PERL5LIB solved the problem...
gaal szabgab: that's... interesting
gaal drifts off to sleep 22:16
z&
wolverian tries to wrap his head around parallel polymorphic dispatch
mncharity g'night gaal
button pushed. svn.perl.org/perl6/pugs/trunk/ heads for google code search. 22:18
lambdabot Title: Revision 14480: /pugs/trunk
22:18 IllvilJa left, LiberX joined
pugs_svn r19332 | szabgab++ | some more value identity tests 22:18
LiberX Hello, I am having trouble parsing server commands with Net::IRC. Can anyone help? 22:19
szabgab that's it, night&
Auzon LiberX: Are you running Perl 6? 22:20
LiberX Yes. I am.
Auzon Woah, I didn't know you could do that
wolverian TimToady, will perl 6 define different parallelism modes, that is, distributed vs local, or an api to plug in such things and change the parallelism implementation? not sure how that works with stm though... just thinking about parallel feeds in your post
LiberX I'm running the latest version of PERL. Whatever it is.
wolverian LiberX, try freenode #perl 22:21
Auzon Yeah. Perl 6 is in development. You're probably running 5.10
or 5.8.8
LiberX Okay.
22:21 LiberX left 22:30 ispy_ joined
TimToady wolverian: at the moment we'll just let the various implementations duke it out and see if they agree on a low-level approach to parallelism. I'm trying to keep the language agnostic for now. 22:32
wolverian sounds like a good plan 22:33
mncharity feather.perl6.nl/syn/S03.html#Item_...precedence says "$signature OP $capture" for OP of := and ::= , but not for = . Is that irregularity meaningful, or just noise? 22:34
lambdabot Title: S03
22:37 hexmode` is now known as hexmode
TimToady = can have either item assignment precedence or list prefix precedence depending on whether the left side looks singular or plural. 22:38
$a = 1, $b = 2
but
@a = 1,2
lambdabot Maybe you meant: activity activity-full admin all-dicts arr ask . ? @ v
TimToady and maybe I didn't 22:39
mncharity lol
wolverian @arr
lambdabot Ahoy mateys
TimToady @arr = 1,2
lambdabot Swab the deck!
wolverian good thing sailors don't say "hash" instead 22:40
TimToady if you say "hash" they just think you sneezed
mncharity exploring the connection between Signatures, Captures, and code. 22:41
TimToady exploring the connection between Signatures, Captures, and naps. 22:42
wolverian heh
nap();
mncharity /me wonders if "$a = $b" the same as "foo(:($a),\($b))" for "sub foo($sig,$cap) { notsurewhatgoeshere($sig,$cap) }"? 22:45
Auzon arr! 22:47
@arr
lambdabot Aye Aye Cap'n
mncharity no, it can't be. perhaps a foo(<something which captures the lexical and package environment>,:($a),\($b)) 22:48
22:48 Aankh|Clone left
mncharity or maybe, :($a) does that? /me goes back to groveling over spec... 22:49
22:56 thorat joined 23:02 acmoore left
mncharity "If a signature is assigned to (whether declared or colon form), the signature is converted to a list of lvalue variables and the ordinary rules of assignment apply, except" S03 23:02
It seems to be referring to compile-time. Perhaps Signature has some Env -> "list of lvalue variables" typed method. 23:05
23:13 pmurias left 23:14 thorat left 23:20 jjore-m left
mncharity so foo(:($a).in_current_env(),\($b).in_current_env()) where sub foo($vars,$vals){ $vars = $vals (not quite right) } . 23:21
.in(current_env())
23:29 iblechbot left 23:33 Schnueff left 23:48 Caelum joined 23:50 Andrew__ joined