»ö« | 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. |
|||
00:00
vamped left
00:01
ihrd1 left
|
|||
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. | |||
00:12
vamped joined
|
|||
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 & | |||
00:39
colomon joined
00:43
lestrrat is now known as lest_away
00:52
eternaleye left
00:55
eternaleye joined
01:01
ashizawa joined
01:15
vamped left
01:20
lest_away is now known as lestrrat
|
|||
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. | ||
01:34
jferrero left
|
|||
colomon | ng: say (1...11).grep({$^a % 3 == 1}).perl | 01:34 | |
p6eval | ng 78e422: (1, 4, 7, 10) | ||
01:36
JimmyZ joined
01:39
agentzh joined
|
|||
JimmyZ | Merry Christmas, #perl6 | 01:52 | |
02:00
pointme left,
mubot left,
zaslon left,
pointme joined,
mubot joined,
zaslon joined
02:01
wolf2k_ubuntu joined
02:04
Baggio_ joined
|
|||
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) expectedcurrent 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) expectedcurrent 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 | ||
02:37
wolf2k_ubuntu left
02:38
Baggio_ left
02:48
jaldhar_ joined
02:53
wolf2k_ubuntu joined
03:02
xomas left
03:03
_jaldhar left
03:05
xomas_ joined
|
|||
JimmyZ | only master | 03:14 | |
03:16
cls_bsd joined
03:29
Baggio_ joined
03:33
drbean_ left
03:37
LostProphet joined
|
|||
LostProphet | gday | 03:38 | |
03:39
LostProphet left
03:58
Baggio__ joined,
Baggio_ left
04:09
partisan joined
04:10
colomon left
04:11
eternaleye left
04:12
youwin left,
matsuzine joined
04:17
partisan left,
youwin joined
04:18
partisan joined
04:32
lestrrat is now known as lest_away,
JimmyZ left
04:44
lest_away is now known as lestrrat
04:50
AndChat- joined
04:54
ComWT joined
04:55
ComWT left
05:03
Baggio__ left,
Baggio_ joined
05:05
AndChat- left
05:06
AndChat- joined
05:12
Baggio_ left
|
|||
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 | |
05:26
AndChat- left
05:27
[particle]1 left
05:37
JimmyZ joined
|
|||
JimmyZ | xinming: 2012 kan de tai duo le a? | 05:37 | |
05:53
matsuzine left
|
|||
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 | |
06:02
patspam1 left
|
|||
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 | ||
06:06
Baggio_ joined
|
|||
diakopter | JimmyZ: :/ | 06:08 | |
06:11
partisan left
06:12
partisan joined
06:18
Baggio_ left,
Baggio_ joined,
agentzh left,
agentzh joined
06:20
partisan left,
Baggio_ left,
Baggio__ joined,
partisan joined
06:24
partisan left
06:25
partisan joined
06:27
Baggio__ left
06:28
partisan left,
partisan joined,
partisan left
06:35
LostProphet joined
|
|||
LostProphet | say 3 | 06:36 | |
perl6: say 3 | |||
lolwut | |||
06:36
LostProphet left,
partisan joined
|
|||
p6eval | elf 29395, pugs, rakudo 8dc189: 3 | 06:36 | |
diakopter | perl6: say 3 | 06:40 | |
p6eval | elf 29395, pugs, rakudo 8dc189: 3 | ||
06:41
justatheory left,
partisan left
06:46
meppl joined
06:52
nihiliad left
06:55
wolf2k_ubuntu left
06:56
tempire left,
Baggio_ joined
07:02
fridim joined
07:11
Baggio_ left
07:14
Baggio_ joined
08:03
gfx joined
08:28
JimmyZ left
08:29
partisan joined
08:30
JimmyZ joined
|
|||
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 | ||
08:35
partisan left
08:38
partisan joined
08:42
JimmyZ left
08:43
unobe joined
08:44
unobe left,
unobe joined
|
|||
unobe | rakudo: my $x = [1,2,3]; for 0 .. $x.elems { say $x.[$_] } | 08:45 | |
p6eval | rakudo 8dc189: 123Use of uninitialized value | ||
unobe | rakudo: my $x = [1,2,3]; for 1 .. $x.elems { say $x.[$_] } | ||
p6eval | rakudo 8dc189: 23Use 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: 123Use of uninitialized value | ||
unobe | ng: say 3; | 08:47 | |
p6eval | ng 78e422: sh: ./perl6: No such file or directory | ||
08:47
unobe left
08:53
mikehh joined
08:54
gfx left
|
|||
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 | ||
09:12
Baggio_ left
|
|||
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 | |
09:13
Baggio_ joined
|
|||
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 :) | |||
09:19
iblechbot joined
|
|||
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 | ||
09:33
ejs joined
|
|||
masak | hm, the one I was thinking of as well. I must've found the wrong one. | 09:50 | |
09:51
ejs left
|
|||
masak | here it is: www.outpost9.com/reference/jargon/j...html#SEC13 | 09:51 | |
09:51
ejs joined
|
|||
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" :) | |||
10:01
Su-Shee joined
|
|||
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 | ||
10:19
ejs left
|
|||
moritz_ | and backtrack if necessary | 10:22 | |
and participate in LTM :-) | |||
10:29
_jaldhar_ joined,
agentzh left
|
|||
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 | :) | ||
10:41
ejs joined
|
|||
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 | ||
10:42
jaldhar_ left
|
|||
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 wsFAILED 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 | ||
10:44
FalseVinylShrub joined
|
|||
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 | ||
10:48
ejs left,
Chillance joined
10:51
ejs joined
11:09
|Jedai| left
11:12
|Jedai| joined
11:18
FalseVinylShrub left,
FalseVinylShrub joined
11:21
mberends joined
|
|||
mberends | Happy Christmas, #perl6 | 11:22 | |
11:24
FalseVinylShrub left
|
|||
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 | ||
11:32
kaare joined,
kaare is now known as Guest33913
11:34
lestrrat is now known as lest_away
|
|||
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! | ||
11:38
FalseVinylShrub joined
|
|||
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 | |
11:54
kidd joined
11:57
Baggio_ left
11:59
Baggio_ joined
|
|||
mberends | masak: happy to see your happy news about TreeSpider leaping, bounding and maybe even backtracking :) | 12:05 | |
12:07
iblechbot left
|
|||
mberends | my spider doesn't even crawl properly yet, but there is hope | 12:09 | |
12:16
arthur-_ joined,
arthur-_ left
12:18
arthur-_ joined,
arthur-_ left
|
|||
mberends | afk # a big meal | 12:21 | |
12:27
trondham joined,
partisan left
12:28
Beetny left,
arthur-_ joined
12:32
Baggio_ left
12:35
Baggio_ joined
12:39
arthur-_ left
12:49
arthur-_ joined
13:07
PacoLinux left
13:08
fridim is now known as Guest37728
13:11
arthur-_ left
13:12
arthur-_ joined
13:16
arthur-_ left
13:20
arthur-_ joined
13:30
FalseVinylShrub left
13:33
pmurias joined
13:36
arthur-_ left
13:42
arthur-_ joined
13:45
araujo left
13:47
FalseVinylShrub joined
13:53
orafu left,
orafu joined
13:56
Baggio_ left
13:57
Baggio_ joined
14:02
IllvilJa left
14:04
partisan joined
14:07
PacoLinux joined
14:10
FalseVinylShrub left
14:13
partisan left
14:14
PacoLinux left,
IllvilJa joined
14:15
arthur-_ left,
partisan joined
14:16
arthur-_ joined
|
|||
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 | |
14:24
hicx174 is now known as `hicx174`
14:26
PacoLinux joined
14:27
FalseVinylShrub joined
14:30
partisan left,
`hicx174` is now known as hicx174````
14:32
hicx174```` is now known as ^^^
14:35
^^^ is now known as ^^
14:36
^^ is now known as hicx174
14:38
arthur-_ left
14:39
arthur-_ joined
14:41
iblechbot joined
14:42
patspam joined
14:47
JimmyZ joined
14:49
wolf2k_ubuntu joined
14:53
ejs1 joined,
JimmyZ left
14:55
arthur-_ left
14:57
partisan joined
15:00
wolf2k_ubuntu left
15:02
Psyche^ joined
15:03
colomon joined,
Patterner left,
Psyche^ is now known as Patterner
15:04
ejs1 left
15:05
ejs left
15:08
wolf2k_ubuntu joined
15:16
soupdragon joined
15:19
arthur-_ joined
15:20
arthur-_ left
15:21
wolf2k_ubuntu left,
wolf2k_ubuntu joined
15:23
JimmyZ joined
15:25
cls_bsd left
|
|||
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 | ||
15:26
frettled sets mode: +o masak
|
|||
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 | ||
15:29
FalseVinylShrub left
|
|||
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 ) | ||
15:52
nihiliad joined
16:03
avar left,
avar joined
16:05
aindilis left
|
|||
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" | ||
16:17
cls_bsd joined,
JimmyZ left
16:18
Baggio_ left
|
|||
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. :) | |||
16:31
nihiliad left
|
|||
colomon | ^H3qa1\\\\ | 16:31 | |
"+^H | |||
That's Merry Christmas! from my boy. | 16:32 | ||
16:32
SmokeMachine left
|
|||
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 | ||
16:52
payload joined
16:53
Baggio_ joined
16:57
ejs joined
|
|||
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 | |
17:20
FullMetalHarlot joined
|
|||
mberends | where's KatrinaTheLamia today? | 17:21 | |
17:25
payload left
17:26
payload joined,
araujo joined
17:29
FullMetalHarlot left
|
|||
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 | ||
? | |||
17:34
payload left
|
|||
mberends | no, but there is a m0ld directory | 17:35 | |
pmurias | make in v6/smop should create m0ld_exe | ||
17:36
am0c left
|
|||
mberends | ok, must get ghc going first | 17:36 | |
17:38
payload1 joined
17:51
soupdragon left
17:55
nihiliad joined
17:59
payload joined,
payload1 left
|
|||
mberends | pmurias: m0ld_exe built, 1754456 bytes on amd64 debian stable | 17:59 | |
18:00
ejs left
|
|||
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? | ||
18:24
partisan left
|
|||
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 | |
18:26
Baggio_ left
|
|||
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 | |
18:33
payload left
|
|||
mberends | pmurias: ok, I can try a 32 bit Ubuntu 9.10 instead in a few mins | 18:33 | |
18:33
payload joined
|
|||
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 | |
18:46
youwin left
18:47
mberends_ joined
18:48
mberends_ is now known as mberends32
|
|||
mberends32 | perl mildew -Cdesugar CORE/int.pm # works | 18:51 | |
18:51
mberends is now known as mberends64
|
|||
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 | ||
19:06
payload left
19:09
SmokeMachine joined
|
|||
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 | |
19:29
SmokeMachine left
|
|||
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! | ||
19:52
colomon left
|
|||
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 | |
20:34
wolf2k_ubuntu left
|
|||
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 | ||
20:42
colomon joined
|
|||
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 | ||
20:49
colomon left
|
|||
arnsholt | Methinks there are a couple of wrinkles in zaslon that could be ironed out =) | 20:49 | |
21:05
constant left
21:09
justatheory joined
21:15
justatheory left
21:17
xinming_ joined
|
|||
masak | arnsholt: youthinks correctly. maybe I'll have a look at it -- I'm getting curious. | 21:18 | |
21:23
xinming left
21:31
patspam left
21:32
colomon joined,
colomon left
|
|||
zaslon | lolperl6adventhazblogged! perl6advent++ 'Merry Christmas!': perl6advent.wordpress.com/2009/12/2...christmas/ | 21:34 | |
21:35
colomon joined
|
|||
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 | |
21:48
nihiliad left
|
|||
zaslon | lolperl6adventhazblogged! perl6advent++ 'Day 24: The Perl 6 standard grammar': perl6advent.wordpress.com/2009/12/2...d-grammar/ | 21:48 | |
21:48
nihiliad joined
21:49
nihiliad left
|
|||
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. | ||
21:54
zaslon was kicked by masak (masak))
|
|||
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. | ||
22:08
vamped joined
|
|||
vamped | Merry Christmas Perl 6 | 22:08 | |
22:08
mberends32 left,
mberends64 left
|
|||
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 | ||
22:13
youwin joined
|
|||
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? | ||
22:17
kidd is now known as rgrau
|
|||
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. | |||
22:23
REPLeffect_ left
22:25
REPLeffect_ joined
22:28
ashizawa left,
Chillance left
|
|||
vamped | rakudo: $_ = 5; my $func = sub { .print if $^a eq $^b }; $func(3,3) | 22:35 | |
p6eval | rakudo 8dc189: Use of uninitialized value | ||
22:36
Guest33913 left
|
|||
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 | |
22:40
colomon left
|
|||
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 | ||
22:45
ashizawa joined
22:52
soupdragon joined
22:58
colomon joined,
xinming joined
|
|||
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 | ||
23:05
xinming_ left
|
|||
vamped | ci ? | 23:07 | |
23:09
meteorjay joined
|
|||
Khisanth | hmm it hasn't moved over to git yet? | 23:09 | |
23:10
meppl left
|
|||
vamped | diakopter: did you get my email? | 23:12 | |
23:12
lest_away is now known as lestrrat
|
|||
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 | |
23:25
trondham left
23:27
ejs joined
23:29
iblechbot left
23:30
Guest37728 left
23:46
vamped left
23:49
colomon left
23:57
trondham joined
|