»ö« | perl6.org/ | nopaste: paste.lisp.org/new/perl6 | evalbot usage: 'perl6: say 3;' or rakudo: / pugs: / std: , or /msg p6eval perl6: ... | irclog: irc.pugscode.org/ | UTF-8 is our friend!
Set by wolfe.freenode.net on 30 October 2009.
masak s1n: you're welcome to the Druid guts. it's under Artistic 2.0, so be my guest. :) let me know if you have any questions. 00:07
there's an Observer pattern in there, for example.
vamped does anyone know if anyone is working on the documenation, as in $ perldoc -f split 00:14
or when it will be best to start that
masak vamped: I hope to make some headway with my u4x project early in 2010, which would be what you describe. 00:21
vamped I've read your intro to that project 00:22
masak I just need to find a way to stay motivated for long enough to make something that can be built upon.
it's probably much more than a month of half-hour bursts of activity that's required. so it's bigger than my November blogging sprees.
maybe if I keep at it for a while, it'll attract collaborators. documentation is more collaborator-friendly than a code project. 00:23
vamped I appreciated your Nov blogging sprees -- missed them when they were gone.
masak thanks. 00:24
I've also toyed with the idea of having monthly u4x releases.
vamped What skill level is required to help with the u4x project?
masak u4-January, u4-February... u4Xmas 2010. 00:25
vamped: you need to be able to write English sentences.
vamped: and then, to some extent, to accept constructive criticism and dictatorial changes in the name of consistency. :)
vamped incrimental projects seem to help not overwhelm people
masak aye. 00:26
vamped well, I can write english (er um, at least write american, lol)
masak :) 00:27
American English will probably be the English chosen. that seems to be the default for software.
vamped well, let me know if I can help when you get to that point.
masak I can't post to blogs.perl.org. I'm getting "Your comment submission failed for the following reasons: Text entered was wrong. Try again." what does that mean? 00:28
vamped: thank you. knowing this motivates me. I'll stay in touch.
zzz &
wayland76 phenny: I recommend using the Wikipedia standard for English; basically, whichever language the page is already in, stick to that, and whoever starts the page gets to choose 01:31
phenny: tell masak I recommend using the Wikipedia standard for English; basically, whichever language the page is already in, stick to that, and whoever starts the page gets to choose 01:32
phenny wayland76: I'll pass that on when masak is around.
colomon ng: say (1...11).grep({$^a % 3 == 1}).perl 01:34
p6eval ng 78e422: (1, 4, 7, 10)␤
JimmyZ Merry Christmas, #perl6 01:52
JimmyZ ng: sub infix:< +-*/ >($a, $b) { (({$a*$b},{$a+$b}, {$a-$b}, {$a/$b}).pick())()}; say 2 +-*/ 5 02:28
p6eval ng 78e422: too few positional arguments: 3 passed, 4 (or more) expected␤current instr.: 'perl6;Code;new' pc 11669 (src/builtins/Positional.pir:125)␤
wolf2k_ubuntu ng: sub infix:<+-*/>($a, $b) { ($a+$b, $a-$b, $a*$b, $a/$b).pick(); }; say 2+-*/ 5; 02:30
p6eval ng 78e422: too few positional arguments: 3 passed, 4 (or more) expected␤current instr.: 'perl6;Code;new' pc 11669 (src/builtins/Positional.pir:125)␤
wolf2k_ubuntu ...you'd think it's simple 02:31
colomon don't think you can create new operators in ng yet.... 02:32
wolf2k_ubuntu rakudo: sub infix:<+-*/>($a, $b) { ($a+$b, $a-$b, $a*$b, $a/$b).pick(); }; say 2+-*/ 5; 02:34
p6eval rakudo 8dc189: 0.4␤
wolf2k_ubuntu rakudo: sub infix:<+-*/>($a, $b) { ($a+$b, $a-$b, $a*$b, $a/$b).pick(); }; say 2+-*/ 5;
p6eval rakudo 8dc189: 7␤
wolf2k_ubuntu it works in rakudo
JimmyZ only master 03:14
LostProphet gday 03:38
xinming Perl 6 is not released this christmas. :-) 05:19
carlin xinming: next Christmas maybe :-) 05:21
xinming carlin: I believe in 2014. <<2012>> told us larry will be on the boat to implement the perl 6, and release perl 6 on year 0001. :-P 05:22
JimmyZ xinming: 2012 kan de tai duo le a? 05:37
wayland76 Might be generally usable by next Christmas, and with a few good of libraries in 2011. But CPAN-level of libraries? Maybe 2015? :) 05:55
diakopter wayland76: well, the spec says Perl 6 will be able to *be* Perl 5, so that includes CPAN 06:05
JimmyZ use v5;
so write a v5.pm 06:06
diakopter JimmyZ: :/ 06:08
LostProphet say 3 06:36
perl6: say 3
lolwut
p6eval elf 29395, pugs, rakudo 8dc189: 3␤ 06:36
diakopter perl6: say 3 06:40
p6eval elf 29395, pugs, rakudo 8dc189: 3␤
JimmyZ ng: say 9999 ** 8 08:30
p6eval ng 78e422: 9.99200279944007e+31␤
JimmyZ ng: say (9999 ** 8).PARROT 08:31
p6eval ng 78e422: Num␤
JimmyZ ng: say (9999 ** 8).perl
p6eval ng 78e422: Method 'perl' not found for invocant of class 'Num'␤current instr.: '_block14' pc 29 (EVAL_1:0)␤
JimmyZ rakudo: say (9999 ** 8).perl
p6eval rakudo 8dc189: 9.99200279944007e+31␤
JimmyZ rakudo: say (9999 ** 8).PARROT 08:32
p6eval rakudo 8dc189: Num␤
JimmyZ rakudo: say (9999 ** 8).Int
p6eval rakudo 8dc189: -9223372036854775808␤
unobe rakudo: my $x = [1,2,3]; for 0 .. $x.elems { say $x.[$_] } 08:45
p6eval rakudo 8dc189: 1␤2␤3␤Use of uninitialized value␤␤
unobe rakudo: my $x = [1,2,3]; for 1 .. $x.elems { say $x.[$_] }
p6eval rakudo 8dc189: 2␤3␤Use of uninitialized value␤␤
unobe ng: my $x = [1,2,3]; for 0 .. $x.elems { say $x.[$_] }
p6eval ng 78e422: sh: ./perl6: No such file or directory␤
unobe ng: my $x = [1,2,3]; for 0 .. $x.elems { say $x.[$_] }
p6eval ng 78e422: sh: ./perl6: No such file or directory␤
unobe rakudo: my $x = [1,2,3]; for 0 .. $x.elems { say $x.[$_] } 08:46
p6eval rakudo 8dc189: 1␤2␤3␤Use of uninitialized value␤␤
unobe ng: say 3; 08:47
p6eval ng 78e422: sh: ./perl6: No such file or directory␤
masak wayland76: why is the "whoever starts an article chooses the language" preferable to having the same language throughout the project? besides, I thought English Wikipedia was written in US English, as a rule. 09:03
phenny masak: 01:32Z <wayland76> tell masak I recommend using the Wikipedia standard for English; basically, whichever language the page is already in, stick to that, and whoever starts the page gets to choose
carlin masak: Wikipedia uses US English for US topics, UK English for UK/EU topics and whatever the main-contributor to the article used where that's not applicable 09:13
carlin masak: en.wikipedia.org/wiki/Wikipedia:ENGVAR 09:13
wayland76 Yes, that's right; I deliberately over-simplified things. The basic reason is to be inclusive. I mean, if people didn't care about these things, they'd all just agree on a standard and use it :) 09:18
carlin++ for citation :)
wayland76 masak: Just a note that most other English variants (Australian, Canadian, etc) are tend to be a mix of British and American. For example, my English, as a dual-citizen Australian/American who grew up in Australia with American parents, is much closer to British than American, I think. 09:24
s/are//
Whatever we do, though, I think we should use programmer quotation
masak oh, agreed. 09:25
wayland76: the points about different varieties of English are starting to make sense. it's good to be inclusive and not reject an article just because it's written in some non-US variety of English. 09:26
that said, I fear that any such irregularity may give a generally unpolished impression, make comprehensive searches more difficult, etc. 09:27
wayland76 (For those who aren't familiar with it, there was an article that I'm unable to locate at the moment that talked about how programmers use quotation marks differently than others; normally there are rules about which order quotation marks go in, but programmers generally put the puncuation inside the quotes if it was in the original, and outside if it wasn't)
masak wayland76: there's mention of it in The Hacker's Dictionary, IIRC. 09:28
www.outpost9.com/reference/jargon/j...html#SEC14
wayland76 Hmm. Well, you have some good points. I prefer the Wikipedia answer myself, but since my role in things is generally small-problem-fixer rather than creator, it may not be relevant. 09:29
masak: Yeah, that's the one. masak++ :)
Oh, wait, maybe not 09:30
No, not that one
The one I'm thinking of is mostly really about whether the ? goes inside the "" or not. 09:31
masak hm, the one I was thinking of as well. I must've found the wrong one. 09:50
masak here it is: www.outpost9.com/reference/jargon/j...html#SEC13 09:51
moritz_ good morning 09:58
masak moritz_: good morning! frohe Weihnachten! 10:00
moritz_ masak: ebenso! 10:01
masak guesses that means "likewise", and not "even so" :)
moritz_ masak guesses correctly 10:01
masak Su-Shee: frohe Weinachten! 10:02
if I keep up this, I'll be German myself before I know it.
s/up this/this up/
Su-Shee good morning. ;)
masak: with the release of rakudo star, you'll have to know "froehliche ostern!" ;) 10:03
masak Merry Ostrich!
moritz_ masak: you'd have to learn a lot about bureaucracy first :-)
masak moritz_: I'd say being a Swede gives me at least partial knowledge :)
happy news from local, disconnected GGE-land: the TreeSpider refactor is complete and merged into master. I'm now making progress by leaps and bounds again. 10:04
it delighted me that the infix:<&> implementation, which seemed insurmountable before, now only was a couple of lines of class definition.
(that one is tricky because it has to match its RHS, then reset the matching position, and then match its LHS) 10:05
er, tr/RL/LR/ 10:06
moritz_ and backtrack if necessary 10:22
and participate in LTM :-)
masak moritz_: since GGE doesn't do LTM, I don't have to, either. but infix:<&> doesn't do its own backtracking -- the tree spider handles that. only infix:<|> and the quantifiers need to participate in the backtracking so far. 10:35
s/GGE/PGE/
moritz_ masak: so in GGE, does 'aab' ~~ / ^ [ .* & a* ] $ / match? 10:37
masak moritz_: hm. :)
moritz_ is "hm. :)" a "no"? 10:38
:-)
masak it would, if those two happened to be of the same length...
moritz_ oh wait
forget the trailing $
masak do you have an example target string as well?
does it contain anything but 'a's? :) 10:39
moritz_ 'aab' ~~ / ^ [ .* & a* ] /
masak ah.
no, that wouldn't match at present.
I think I've implemented that wrongly.
it needs to backtrack on both its operands, doesn't it? 10:40
moritz_ yes
masak gotcha. then I know what to do.
strangely, all the tests in rx_metachar pass. maybe there are backtracking tests somewhere else.
moritz_ I wouldn't bet on it 10:41
masak :)
masak this is why a port is good. it improves the test suite. :) 10:41
mind you, the test suite is generally very good. that's one thing that makes the porting work enjoyable.
pmichaud++
moritz_ I thought that PGE didn't do & at all
masak well, most of the tests aren't marked TODO, so I think it does. 10:42
moritz_ rakudo: say 'a' ~~ / a & . /
masak there's one interesting test, looking like this: /a&|b/
p6eval rakudo 8dc189: a␤
masak it's supposed to yield a parse error. but it doesn't.
moritz_ std: / a &| b / 10:43
p6eval std 29395: ===SORRY!===␤Null pattern not allowed at /tmp/FOZtZOZLGf line 1:␤------> / a &⏏| b /␤ expecting any of:␤ regex_infix␤ termish␤ ws␤FAILED 00:01 106m␤
masak that's because PGE has a prefix:<|> to allow for /|a|b|c/.
so /|b/ is legal in PGE, which makes /a&|b/ legal. 10:44
masak there's a TODO on that one; so it's an unsolved riddle. 10:44
I'm pondering how best to handle it.
moritz_ look at how STD.pm does it?
masak good idea. 10:45
I'll do that.
masak downloads Moose to read its test suite over the holidays 10:46
mberends Happy Christmas, #perl6 11:22
mberends is getting into mildew installation as promised. The docs are going to be called README initially, despite recent comments not being much in favour. There is no better alternative yet. 11:25
moritz_ hugme: add unobe to perl6-examples 11:34
hugme hugs unobe. Welcome to perl6-examples!
mberends perl6: "Bah Humbug!".subst(/Hum/,"De").say 11:37
p6eval rakudo 8dc189: Bah Debug!␤
..pugs: Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) {␤ unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.14/blib6/pugs/perl5/lib';␤ eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;␤}␤'Pugs::Runtime::Match::HsBridge'␤"␤*** '<HANDLE>' trapped by operation mas…
..elf 29395: Can't locate object method "subst" via package "Bah Humbug!" (perhaps you forgot to load "Bah Humbug!"?) at (eval 125) line 3.␤ at ./elf_h line 5881␤
mberends Rakudo FTW!
masak :) 11:39
mberends: merry Winter Solstice.
mberends thanks masak, insgelijks 11:40
masak Gelukkig Kerstfeest!
2009 has been a wonderful year for Perl 6. 2010 promises to be even wonderfuller. 11:41
mberends :) God jul! 11:42
IllvilJa God Jul you too mberends!
And everyone else!
carlin Happy Boxing day everyone :-) 11:43
mberends masak: happy to see your happy news about TreeSpider leaping, bounding and maybe even backtracking :) 12:05
mberends my spider doesn't even crawl properly yet, but there is hope 12:09
mberends afk # a big meal 12:21
masak mberends: oh, it does backtracking alright. but to get moritz_++'s use case to work, I need to cheat a bit less than I've done so far. a regex node needs to be able to host multiple savepoints, as will the infix:<&> in the regex /a* & .*/ -- one from each quantifier. 14:23
masak .oO( the holidays reduce even #perl6 to the crackling static of joins and quits ) 15:25
hi, I'm new to Perl 6. could someone explain to me how LTM works, and why I should care? 15:26
frettled But it's never too quiet for a christmas kanelbulle! 15:26
masak :) 15:27
you and your kanelbulle :)
frettled ;) 15:28
I see that the calendar was brought to a nice conclusion by pmichaud++. 15:29
masak it was indeed. 15:29
wolf2k_ubuntu masak: Sorry for not messing with the pastebin much. Still focused on getting my own pages up before the end of the year...or at least, something similar to the old version.
Getting support in these rooms...is not as easy as it is in this paticular room. 15:30
masak wolf2k_ubuntu: no problemo. I've been similarly distracted from Web.pm lately, too.
wolf2k_ubuntu I do have good news though
I got all As in my classes this semester.
masak \o/
frettled congrats! 15:31
wolf2k_ubuntu I'm one step closer to having a new career opportunity
masak wolf2k_ubuntu: that sounds like great news!
frettled you may now upgrade your nick to wolf2.1k!
wolf2k_ubuntu frettled++: hah. the 2000 is stuck with me.
masak wolf_gogool 15:32
wolf2k_ubuntu That's just egotistical
masak especially if you write out all the zeroes.
JimmyZ Merry Christmas! 15:33
to Maigao 15:35
frettled God jul! :D 15:36
JimmyZ rakudo: sub foo($a) { take $a; } foo('a'); 15:38
p6eval rakudo 8dc189: Confused at line 2, near "foo('a');"␤in Main (file <unknown>, line <unknown>)␤
JimmyZ rakudo: sub foo($a) { take $a; }; foo('a');
p6eval rakudo 8dc189: take without gather␤
JimmyZ rakudo: sub foo($a) { take $a; }; gather foo('a'); 15:39
p6eval rakudo 8dc189: ( no output )
JimmyZ rakudo: sub foo(*@a) { take @a; }; say [~] gather foo('foo','bar'); 16:15
p6eval rakudo 8dc189: foobar␤
JimmyZ rakudo: sub foo(*@a) { take @a; }; say [~] gather foo('foo','bar','2000'); 16:16
p6eval rakudo 8dc189: foobar2000␤
JimmyZ rakudo: sub foo(*@a) { take @a; }; say gather foo('foo','bar','2000');
p6eval rakudo 8dc189: foobar2000␤
JimmyZ rakudo: sub foo(*@a) { take @a; }; say (gather foo('foo','bar','2000')).perl;
p6eval rakudo 8dc189: ["foo", "bar", "2000"]␤
JimmyZ rakudo: sub foo(*@a) { take @a; }; say ([~] gather foo('foo','bar','2000')).perl;
p6eval rakudo 8dc189: "foobar2000"␤
masak JimmyZ: merry Christmas! 16:26
dalek kudo/ng: c9b8720 | (David Romano)++ | src/core/List.pm:
* Allow for .perl to output nested arrays and empty arrays
colomon I think we actually need a better version of that patch. 16:27
But I'm not even sure how to test it... I've not messed around with Lists of Arrays yet. :)
colomon ^H3qa1\\\\ 16:31
"+^H
That's Merry Christmas! from my boy. 16:32
mberends parses perfectly here :) 16:33
colomon ng: say (1, 2, 3).WHAT 16:35
p6eval ng 78e422: List()␤
colomon ng: say (1, 2, 3).Array 16:36
p6eval ng 78e422: Method 'Array' not found for invocant of class 'List'␤current instr.: '_block14' pc 29 (EVAL_1:0)␤
colomon ng: say [1, 2, 3].WHAT
p6eval ng 78e422: Array()␤
colomon ooooo
mberends pmurias: is successfully running scons in pugs/v6/smop a prerequisite for setting up mildew? That is giving an error in build/p5/src/p5interpreter.c:186: expected expression before ‘;’ token, and indeed line 186 contains " mold_run_coro = ;" but its source is generated by tools/ri. 17:03
zaslon lolperl6adventhazblogged! perl6advent++ 'Merry Christmas!': perl6advent.wordpress.com/2009/12/2...christmas/ 17:11
dalek kudo/ng: 2cab482 | (Solomon Foster)++ | src/core/ (2 files):
Move unobe++'s Array ".perl" code to an actual Array.perl function.
17:12
mberends where's KatrinaTheLamia today? 17:21
zaslon lolperl6adventhazblogged! perl6advent++ 'Day 24: The Perl 6 standard grammar': perl6advent.wordpress.com/2009/12/2...d-grammar/ 17:29
mberends zaslon: learn about FIFO versus LIFO please 17:31
zaslon Sorry, I don't understand that command
pmurias mberends: you can use the mildew js backend 17:32
mberends: but it seems a missing m0ld error 17:33
mberends pmurias: thanks :) indeed, something about m0ld is probably an empty string 17:34
pmurias do you have v6/smop/m0ld_exe
?
mberends no, but there is a m0ld directory 17:35
pmurias make in v6/smop should create m0ld_exe
mberends ok, must get ghc going first 17:36
mberends pmurias: m0ld_exe built, 1754456 bytes on amd64 debian stable 17:59
pmurias mberends: so make test works in smop? 18:02
mberends running... 18:03
<green>All tests successful</green> 18:04
but 'make' in v6/mildew/ segfaulted :(
make clean; make CORE segfaults too 18:06
pmurias segfaulted? :( nopaste the output please 18:07
mberends only 2 lines: perl mildew -Cso --yeast --empty-setting -o CORE/int.mildew.so CORE/int.pm 18:08
make: *** [CORE/int.mildew.so] Segmentation fault
it could be that there are partial builds hanging over from previous error. I think a fresh checkout of the v6 subtree might help 18:09
there were 2 parsec library options, I installed libghc6-parsec3-dev 18:11
pmurias haskell isn't supposed to segfault 18:12
perl mildew -Cso --yeast --empty-setting -o CORE/int.mildew.so CORE/int.pm segfaults? 18:13
mberends it may not have been haskell. svn up'ing v6 atm... 18:14
pmurias uses git clean to remove trash from previous builds 18:15
mberends smop 'make test' passed again. shall I go straight for the perl line in mildew/ ? 18:17
well, that segfaulted :( no diagnotic messages at all 18:19
pmurias you could try using gdb or valgrind to get an error messag
e
mberends ok
pmurias or you could just try using the js backend first 18:20
mberends valgrind = Conditional jump or move depends on uninitialised value(s) (in /usr/lib/libperl.so.5.10.0) three times 18:22
masak mberends: re FIFO and LIFO. some day I'm going to blog about the amazing LILO data structure. 18:23
mberends lazy form of FIFO?
mberends another segfault from perl mildew -Bjs -Cso --yeast --empty-setting -o CORE/int.mildew.so CORE/int.pm 18:24
masak mberends: no, it works exactly the same as a FIFO queue. it's more of a 'glass half empty' thing. 18:26
mberends masak: makes sense, just wanted the L to mean something ;) 18:27
btw, the opposite of LTM should be STM, but it isn't :P 18:28
pmurias mberends: 64 bitness might be causing the problem 18:31
mberends pmurias: ok, I can try a 32 bit Ubuntu 9.10 instead in a few mins 18:33
pmurias mberends: what's the -Bjs doing in that line? 18:42
mberends: you could try if perl mildew -Cdesugar CORE/int.pm, that invocation should only involve perl stuff 18:43
mberends pmurias: it was to follow your suggestion of trying the js backend
pmurias s/,/segfaults,/
-CX compiles using X -BX executes using X 18:45
mberends pmurias: that also segfaults, building 32 bit smop on another machine
pmurias mberends: it's not a smop issue
mberends ok
pmurias perl mildew -Cdesugar doesn't use smop or m0ld 18:46
mberends32 perl mildew -Cdesugar CORE/int.pm # works 18:51
mberends64 there may be a deeper problem on the amd64 installation 18:52
nothing else segfaults on it though 18:54
pmurias perl mildw -Cdesugar works only on 32bit? 18:56
perl mildew -Cdesugar 18:57
mberends32 yes, but 2 computers is not much proof of a problem
pmurias and make test segfaults on 32bit? 18:58
mberends32 no, I have skipped the smop make until now, so we don't know
pmurias does STD work on the 62bit machine 18:59
? 19:00
mberends32 I'll build and make smop, but that requires ghc6 and parsec download, will take a few minutes
STD (viv) has worked until today on both systems (under vill) 19:06
mberends32 ./tryfile STD.pm and smop 'make test' pass in 32 and 64 bits 19:13
pmurias: success with perl mildew -Cso --yeast --empty-setting -o CORE/int.mildew.so CORE/int.pm 19:18
pmurias on 32bit? 19:20
mberends32 yes
therefore you could well be right about a 64 bit problem
mberends64 what 64 bit problem? 19:21
mberends32 mberends64: stay out of this! 19:22
mberends64 mberends32: are you disrespectin' me? 19:24
mberends32 mberends64: no, just mentioning that there are no segfaults here. can you say the same? 19:28
mberends64 mberends32: look, occasional segfaulting is understandable when developing advanced software. are you saying you *never* segfault, because if you do you are either lying through you teeth of you never really push the boundaries of development. 19:31
*or 19:32
*your teeth, ok 19:33
masak I go away for a few moments, and when I come back, mberends has cloned himself... 19:34
Su-Shee and doubled his capacity. ;) 19:35
masak I'd need a masak64 sometimes, for sure. 19:37
with or without the kanelbulle.
rakudo: say "Zreel Puevfgznf!".trans("A..Za..z" => "N..ZA..Mn..za..m") 19:46
p6eval rakudo 8dc189: Merry Christmas!␤
pmurias mberends32: so make test in mildew passes on 32bit? 19:59
mberends32 testing... 20:13
failed :( nopasting.. 20:16
zaslon lolperl6adventhazblogged! perl6advent++ 'Merry Christmas!': perl6advent.wordpress.com/2009/12/2...christmas/
mberends32 now read the LILO entry ;) 20:17
pmurias LILO? 20:18
mberends32 pmurias: irclog.perlgeek.de/perl6/2009-12-25#i_1869206 ;)
zaslon lolperl6adventhazblogged! perl6advent++ 'Day 24: The Perl 6 standard grammar': perl6advent.wordpress.com/2009/12/2...d-grammar/
pmurias mberends32: did you nopaste? 20:21
lisppaste3 mberends32 pasted "mildew 32 bit 'make test' errors" at paste.lisp.org/display/92640
mberends32 svn r29395 and STD freshly made 20:23
pmurias mberends32: seems there is something wrong with my STD
it handles self differently than it should 20:24
mberends32 pmurias: the central STD is probably not important because you take a snapshot
pmurias no i don't
mberends32 oh, ok 20:25
pmurias it's an empty leftover dir
mberends32 ok, I'll delete the leftover 20:26
pmurias: just to be certain, ok to delete mildew/perl6-snapshot/* ? 20:27
zaslon lolperl6adventhazblogged! perl6advent++ 'Merry Christmas!': perl6advent.wordpress.com/2009/12/2...christmas/
pmurias mberends32: yes 20:28
pugs_svn r29396 | mberends++ | [mildew] remove the empty leftover perl6-snapshot directory 20:30
zaslon lolperl6adventhazblogged! perl6advent++ 'Day 24: The Perl 6 standard grammar': perl6advent.wordpress.com/2009/12/2...d-grammar/
pmurias mberends32: it's better to ask for forgivness than permission, particularly with version controled things ;)
mberends32 :) I'm slowly getting used to that 20:31
pmurias mberends32: what's your perl version? 20:37
mberends32 5.10.0 from Ubuntu 9.10 fully updated 20:38
pmurias STD seems to match self differently (incorrectly) here 20:39
mberends32 that is deeply worrying, you would not expect a discrepancy there 20:41
zaslon lolperl6adventhazblogged! perl6advent++ 'Merry Christmas!': perl6advent.wordpress.com/2009/12/2...christmas/ 20:42
pmurias mberends32: i'll try with a perl5.11 build from source
pmurias got to build it first... 20:45
zaslon lolperl6adventhazblogged! perl6advent++ 'Day 24: The Perl 6 standard grammar': perl6advent.wordpress.com/2009/12/2...d-grammar/
diakopter zaslon: orly
zaslon Sorry, I don't understand that command
arnsholt Methinks there are a couple of wrinkles in zaslon that could be ironed out =) 20:49
masak arnsholt: youthinks correctly. maybe I'll have a look at it -- I'm getting curious. 21:18
zaslon lolperl6adventhazblogged! perl6advent++ 'Merry Christmas!': perl6advent.wordpress.com/2009/12/2...christmas/ 21:34
zaslon lolperl6adventhazblogged! perl6advent++ 'Day 24: The Perl 6 standard grammar': perl6advent.wordpress.com/2009/12/2...d-grammar/ 21:40
Wolfman2000 where's the mute button for zaslon?
Gothmog_ /silence zaslon would probably help 21:42
Wolfman2000 I don't like to /silence or /ignore anyone/thing in general 21:44
zaslon lolperl6adventhazblogged! perl6advent++ 'Merry Christmas!': perl6advent.wordpress.com/2009/12/2...christmas/ 21:46
zaslon lolperl6adventhazblogged! perl6advent++ 'Day 24: The Perl 6 standard grammar': perl6advent.wordpress.com/2009/12/2...d-grammar/ 21:48
colomon someone /kick zaslon already.... 21:54
masak phenny: tell carlin re github.com/carlins/rssbot/blob/mast...lon.pm#L45 -- there's a string form of &slurp, so you can cut the number of statements to a third there.
phenny masak: I'll pass that on when carlin is around.
masak phenny: tell carlin that I was looking for the reason zaslon keeps posting duplicates, but it strikes me that maybe you already know. 21:55
phenny masak: I'll pass that on when carlin is around.
vamped Merry Christmas Perl 6 22:08
vamped *echo* ? 22:09
diakopter vamped: Perl 6 thanks you
vamped thanks diakopter 22:10
where do I submit suspected spec bugs? also [email@hidden.address] ?
diakopter you can say them here
TimToady will read them in the irclogs
and others will comment here
vamped ok. and how do I determine what line number I'm referring to if I'm viewing html spec? 22:11
diakopter ah
vamped anyway: S04 says "$func = sub ($a, $b) { .print if $a eq $b };"
i'm confused. ".print" refers to $_, but there is no $_ is this context ? 22:12
diakopter the html source has anchor tags that indicate the original line numbers
vamped line_102 22:13
diakopter I think $_ gets aliased to the first slot
vamped rakudo: my $func = { .print if $^a eq $^b }; $func(2,3); 22:14
p6eval rakudo 8dc189: ( no output )
vamped rakudo: my $func = { .print if $^a eq $^b }; $func(4,4);
p6eval rakudo 8dc189: Use of uninitialized value␤
arnsholt diakopter/vamped: Wouldn't $_ create a closure over the enclosing scope's $_? 22:15
vamped arnsholt. yes, if I understand you correctly. I'll try this: 22:16
rakudo: $_ = 6; my $func = { .print if $^a eq $^b }; $func(4,4); 22:17
p6eval rakudo 8dc189: 6
vamped like that?
diakopter arnsholt: I mean, in Perl 6, I think $_ gets aliased to the first slot... that doesn't necessarily mean rakudo has implemented that yet 22:19
vamped afk - baking bread can't wait 22:20
diakopter arnsholt: oops, I meant, to vamped 22:21
however, sub { } is different from { }, I'm fairly certain.
vamped rakudo: $_ = 5; my $func = sub { .print if $^a eq $^b }; $func(3,3) 22:35
p6eval rakudo 8dc189: Use of uninitialized value␤
vamped so if diakopter is correct, the 3 examples at S04#line_102 do what is intended. Otherwise they do not do what is intended (printing one of the values passed to the block) 22:37
vamped looking at the tests following, i believe diakopter is correct! (although the tests are a bit over my head right now) 22:40
it states: # { } has implicit signature ($_ is rw = $OUTER::_)
ok. well I have referred it to people who understand better than I. I am happy to leave it at that. 22:42
diakopter vamped: do you have an svn commit bit? you can correct typos in the spec and add/edit tests if you did.. 23:02
vamped I do not 23:03
diakopter privmsg me your email address and desired username if you want one
(and add/edit Perl 6 implementations) :) 23:04
customary first ci is to append yourself to AUTHORS 23:05
vamped ci ? 23:07
Khisanth hmm it hasn't moved over to git yet? 23:09
vamped diakopter: did you get my email? 23:12
diakopter vamped: I got your privmsg 23:13
and replied
and had commitbit invite you
Khisanth: "it" meaning the Perl 6 Synopses and spec tests and Larry's grammar specification/implementation? 23:14
no
Khisanth: I don't know of any plans to move those to git
vamped: ci=checkin
carlin masak: It's Wordpress, refresh the feed and it shows the post from the 25th as the latest, refresh a while later and the 25th is gone and it shows the 24th as the latest, refresh a while later and it's showing the 25th again... my guess is some weird caching. Zaslon compares the lastest post it seen with the latest post in the feed and if they differ it thinks there's an update. 23:22
phenny carlin: 21:54Z <masak> tell carlin re github.com/carlins/rssbot/blob/mast...lon.pm#L45 -- there's a string form of &slurp, so you can cut the number of statements to a third there.
carlin: 21:55Z <masak> tell carlin that I was looking for the reason zaslon keeps posting duplicates, but it strikes me that maybe you already know.
diakopter carlin: maybe have it cache the urls of posts it's already reported 23:25