pugscode.org/ planetsix.perl.org/ | nopaste: sial.org/pbot/perl6 | evalbot: perl6: say 3; (or rakudo:, pugs:, elf:, etc) | irclog: irc.pugscode.org/ | ~315 days 'til Xmas
Set by mncharity on 8 February 2009.
00:02 araujo left 00:10 araujo joined 00:18 Limbic_Region left 00:27 hanekomu left 00:28 zamolxes left 00:30 alc joined 00:33 justatheory joined 00:57 FurnaceBoy joined 00:59 bacek joined 01:02 kate21de1 left 01:15 alanhaggai_ left 01:23 DemoFreak left 01:52 alanhaggai__ joined 01:53 alanhaggai__ left 01:59 hercynium joined 02:13 Tene_ joined 02:27 Tene left 02:28 spooneybarger left 02:31 shinobi-cl joined 02:32 alester joined 02:46 chid joined 02:52 FurnaceBoy left 02:56 bacek_ left 02:57 aindilis joined, shinobi-cl left 03:02 mberends left
pugs_svn r25347 | putter++ | [elfparse] token and rule regexen now ratchet. 03:02
03:06 shinobi-cl joined 03:07 meppl joined 03:12 alanhaggai__ joined
shinobi-cl rakudo: say 1,2,3..sqrt(99),1000; 03:13
p6eval rakudo a0a390: OUTPUT«Class 'Perl6MultiSub' not found␤current instr.: 'parrot;Perl6Role;!add_variant' pc 2691 (src/classes/Role.pir:42)␤»
shinobi-cl rakudo: say (1,2,3..sqrt(99),1000);
p6eval rakudo a0a390: OUTPUT«Class 'Perl6MultiSub' not found␤current instr.: 'parrot;Perl6Role;!add_variant' pc 2691 (src/classes/Role.pir:42)␤»
shinobi-cl rakudo: say (1,2,3..sqrt(99));
p6eval rakudo a0a390: OUTPUT«Class 'Perl6MultiSub' not found␤current instr.: 'parrot;Perl6Role;!add_variant' pc 2691 (src/classes/Role.pir:42)␤»
shinobi-cl pugs: say (1,2,3..sqrt(99));
p6eval pugs: OUTPUT«12345678910␤»
03:13 alanhaggai__ left
shinobi-cl pugs: say (1,2,3..sqrt(999)); 03:14
p6eval pugs: OUTPUT«1234567891011121314151617181920212223242526272829303132␤»
shinobi-cl pugs: say (1.1,2,3..sqrt(999));
p6eval pugs: OUTPUT«1.1234567891011121314151617181920212223242526272829303132␤»
03:14 alanhaggai_ joined, alanhaggai_ is now known as alanhaggai
shinobi-cl pugs: say (1.1,1.3....100); 03:14
p6eval pugs: OUTPUT«*** ␤ Unexpected "...."␤ expecting fraction, exponent, term postfix, operator or ")"␤ at /tmp/sr58EFwQ36 line 1, column 13␤»
shinobi-cl pugs: say (1.1,1.3..100);
p6eval pugs: OUTPUT«1.11.32.33.34.35.36.37.38.39.310.311.312.313.314.315.316.317.318.319.320.321.322.323.324.325.326.327.328.329.330.331.332.333.334.335.336.337.338.339.340.341.342.343.344.345.346.347.348.349.350.351.352.353.354.355.356.357.358.359.360.361.362.363.364.365.366.367.368.369.370.371.372...
03:15 bacek left 03:16 meppuru joined
shinobi-cl pugs: say (1,'a'..100); 03:21
p6eval pugs: OUTPUT«1abcdefghijklmnopqrstuvwxyzaaabacadaeafagahaiajakalamanaoapaqarasatauavawaxayazbabbbcbdbebfbgbhbibjbkblbmbnbobpbqbrbsbtbubvbwbxbybzcacbcccdcecfcgchcicjckclcmcncocpcqcrcsctcucvcwcxcyczdadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzeaebecedeeefegeheiejekelemeneoepeqereseteueve...
shinobi-cl pugs: say (1,'a'..10);
p6eval pugs: OUTPUT«1abcdefghijklmnopqrstuvwxyz␤»
shinobi-cl pugs: say (1,'aA'..10);
p6eval pugs: OUTPUT«1␤»
shinobi-cl pugs: say (1..'g');
p6eval pugs: OUTPUT«␤»
shinobi-cl pugs: say ('a'..'g');
p6eval pugs: OUTPUT«abcdefg␤»
shinobi-cl pugs: say ('􏿽xE1'..'g'); 03:22
p6eval pugs: OUTPUT«␤»
shinobi-cl pugs: say (9..0);
p6eval pugs: OUTPUT«␤»
shinobi-cl pugs: say (0..9).reverse;
p6eval pugs: OUTPUT«9876543210␤»
shinobi-cl pugs: say ('a'..10); 03:23
p6eval pugs: OUTPUT«abcdefghijklmnopqrstuvwxyz␤»
shinobi-cl pugs: say ('a'..40
p6eval pugs: OUTPUT«*** ␤ Unexpected end of input␤ expecting operator or ")"␤ at /tmp/mj47MaqG0g line 2, column 1␤»
shinobi-cl pugs: say ('a'..40);
p6eval pugs: OUTPUT«abcdefghijklmnopqrstuvwxyz␤»
shinobi-cl pugs: say ('aa'..'af'); 03:24
p6eval pugs: OUTPUT«aaabacadaeaf␤»
shinobi-cl pugs: say ('aa'..'af') X (1..6); 03:25
p6eval pugs: OUTPUT«aaabacadaeaf␤»
shinobi-cl pugs: say ('aa'..'af') x (1..6);
p6eval pugs: OUTPUT«aa ab ac ad ae afaa ab ac ad ae afaa ab ac ad ae afaa ab ac ad ae afaa ab ac ad ae afaa ab ac ad ae af␤»
shinobi-cl pugs: say ('aa'..'af') x (1..2);
p6eval pugs: OUTPUT«aa ab ac ad ae afaa ab ac ad ae af␤»
shinobi-cl pugs: say ('aa'..'af') X (1..2);
p6eval pugs: OUTPUT«aaabacadaeaf␤»
03:26 wayland joined 03:27 alester left
wayland If I'm making a role, and I want a specific function to be called when the role is instantiated as part of a class, how do I do that. Do I give the function a special name? Is it named CREATE or BUILD or something? 03:28
03:31 meppl left 03:42 shinobi-cl left
pugs_svn r25348 | wayland++ | S16: Changed my $| stupidity to select() 03:50
03:58 alester joined 04:00 hercynium left 04:14 gravity left
alester is anyone runnin' "make test" successfully on rakuddo? 04:20
04:26 xinming left 04:32 aindilis` joined
meppuru good night 04:33
04:34 meppuru left
frew anyone here? 04:38
04:48 aindilis left 04:52 bacek joined
bacek perl6: say "a".does(Positional) 05:01
p6eval rakudo a0a390: OUTPUT«./parrot: error while loading shared libraries: libparrot.so.0.9.0: cannot open shared object file: No such file or directory␤»
..pugs: OUTPUT«*** No such subroutine: "&Positional"␤ at /tmp/WR0EDmqPvS line 1, column 14-24␤»
..elf 25348: OUTPUT«␤»
bacek perl6: my $a="a"; $a++; say $a; $a+=1; say $a 05:05
p6eval pugs: OUTPUT«b␤1␤»
..rakudo a0a390: OUTPUT«Class 'Perl6MultiSub' not found␤current instr.: 'parrot;Perl6Role;!add_variant' pc 2691 (src/classes/Role.pir:42)␤»
..elf 25348: OUTPUT«Unknown rule: infix_postfix_meta_operator:=␤It needs to be added to ast_handlers.␤ at ./elf_h line 2042␤»
bacek This output in counterintuitive...
SamB perl6: my $a="a"; $a++; say $a; 05:07
p6eval elf 25348, pugs: OUTPUT«b␤»
..rakudo a0a390: OUTPUT«Class 'Perl6MultiSub' not found␤current instr.: 'parrot;Perl6Role;!add_variant' pc 2691 (src/classes/Role.pir:42)␤»
SamB std: my $a="a"; $a++; say $a; $a+=1; say $a 05:08
p6eval std 25348: OUTPUT«ok 00:04 34m␤»
wayland frew: I'm here, but not all here :)
frew haha 05:15
I was just curious if anyone knew if there is going to be anything like attributes in perl6?
05:18 kate21de joined
frew pugs: my @a=[1,2,3]; @a; 05:19
p6eval pugs: RESULT«\(\(1, 2, 3),)»
frew pugs: my @a=[1,2,3]; @a, *;
p6eval pugs: RESULT«(\(\(1, 2, 3),), Inf)»
frew rakudo: my @a=[1,2,3]; @a, *;
p6eval rakudo a0a390: RESULT«[[1, 2, 3], *]»
frew rakudo: my @a=[1,2,3]; (@a, *)[0]; 05:20
p6eval rakudo a0a390: RESULT«[[1, 2, 3]]»
frew rakudo: my @a=[1,2,3]; (@a, *)[1];
p6eval rakudo a0a390: RESULT«*»
05:21 kate21de left
frew rakudo: my @a=[1,2,3]; my @b = (@a, *); @b; 05:23
p6eval rakudo a0a390: RESULT«[[1, 2, 3], *]»
frew rakudo: my @a=(1,2,3); my @b = (@a, *); @b;
p6eval rakudo a0a390: RESULT«[1, 2, 3, *]»
frew There *is* a difference between arrays and array refs in perl6!
wayland Not sure I understand the question about attributes. Do you mean like attributes on an object? 05:26
frew no, like attributes of a function in perl5
they kinda let you tag sub's with arbitrary strings
wayland I'm the wrong person to ask then :) 05:38
frew that's fine :-) 05:39
pugs: my @a[5;5;5];
p6eval pugs: OUTPUT«*** ␤ Unexpected ";"␤ expecting "_", fraction, exponent, term postfix, operator or "]"␤ at /tmp/2ByLqmXn7U line 1, column 8␤» 05:40
05:40 simcop2387 left 05:51 aindilis` left 05:58 mj41 joined 05:59 Grrrr left, Grrrr joined 06:00 simcop2387 joined 06:05 frew left
pugs_svn r25349 | putter++ | [elfparse] Enabled sigspace-ness for rule regexen. Tweaked IRx1::RxASpace to use delegation instead of become(). 06:05
06:08 alanhaggai_ joined, alanhaggai left 06:09 mtnviewmark joined
mtnviewmark good evening, all 06:10
it's done: www.ozonehouse.com/mark/periodic/
06:15 mj41_ left
wayland mtnviewmark: Oh, cool :) 06:28
mtnviewmark enjoy! 06:29
wayland (oh, and in case you care, you spelt "parsing" as "parsring" in one place, not on the table, but at the link you just pasted) 06:30
mtnviewmark eek
I did go over the table with a fine tooth comb
though with so many Larry-isms, stuff can fall through the process! 06:31
wayland Yeah, everyone makes typos, but some people want the chance to fix them, and others couldn't care less :)
mtnviewmark fixed 06:35
06:45 xinming joined 06:47 alanhaggai_ is now known as alanhaggai 06:50 ashizawa joined 06:57 maerzhase joined 07:01 mtnviewmark left, namenlos joined 07:08 maerzhase left 07:09 mtnviewmark joined 07:12 namenlos left, namenlos joined
bacek perl6: say (1..2) Z (5..7) 07:16
p6eval rakudo a0a390: OUTPUT«1526␤»
..pugs: OUTPUT«12␤»
..elf 25349: OUTPUT«Undefined subroutine &GLOBAL::infix_Z called at (eval 124) line 3.␤ at ./elf_h line 4346␤»
bacek perl6: say (5..7) Z (1..2)
p6eval rakudo a0a390: OUTPUT«5162␤» 07:17
..pugs: OUTPUT«567␤»
..elf 25349: OUTPUT«Undefined subroutine &GLOBAL::infix_Z called at (eval 124) line 3.␤ at ./elf_h line 4346␤»
bacek perl6: say (1..2) Z (42, 5..7)
p6eval rakudo a0a390: OUTPUT«1422567␤»
..pugs: OUTPUT«12␤»
..elf 25349: OUTPUT«Undefined subroutine &GLOBAL::infix_Z called at (eval 124) line 3.␤ at ./elf_h line 4346␤»
mtnviewmark hmmm... I'm wondering why rakudo is showing those as strings -- or perhaps they are just malformed lists 07:19
pugs is clearly out to lunch
rakudo: [1, 2] Z [42, 3]
p6eval rakudo a0a390: RESULT«[1, 42, 2, 3]»
mtnviewmark rakudo: @@([1, 2] Z [42, 3]) 07:20
p6eval rakudo a0a390: OUTPUT«Syntax error at line 1, near "@@([1, 2] "␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤»
mtnviewmark rakudo: @@ [1, 2] Z [42, 3] 07:21
p6eval rakudo a0a390: OUTPUT«Syntax error at line 1, near "@@ [1, 2] "␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤»
mtnviewmark rakudo: slice [1, 2] Z [42, 3]
p6eval rakudo a0a390: OUTPUT«Could not find non-existent sub slice␤current instr.: '_block14' pc 136 (EVAL_16:51)␤»
mtnviewmark well - that explains all of that - no slice contextualizer!
07:23 integral left, integral joined 07:30 mtnviewmark left
bacek perl6: say ((1..2) Z (42, 5..7)).perl 07:48
p6eval elf 25349: OUTPUT«Undefined subroutine &GLOBAL::infix_Z called at (eval 125) line 3.␤ at ./elf_h line 4346␤»
..rakudo a0a390: OUTPUT«[1, 42, 2, 5, 6, 7]␤»
..pugs: OUTPUT«((1, 42), (2, 5))␤»
bacek perl6:say ("a".."c" Z "?", "a".."b").perl 07:51
07:56 dalek left 07:57 dalek joined
pugs_svn r25350 | moritz++ | [t/spec] Small fixes, and ignore all *.rakudo files 08:06
08:06 alanhaggai_ joined 08:07 sri_kraih joined 08:08 iblechbot joined 08:09 DemoFreak joined
pugs_svn r25351 | moritz++ | [t/spec] a bit of unfudging, and added tests for Junction.eigenstates 08:09
r25352 | moritz++ | [S29] document Junction.eigenstates, which has been discussed on IRC recently 08:10
r25353 | moritz++ | [smop] ignore build/ directory 08:19
08:21 alanhaggai left
moritz_ good morning everybody 08:23
pmichaud, jnthn: I've documented Junction.eigenstates in S29, and pushed a branch called 'expose-eigenstates' to github that makes that method public... I would appreciate it if you could look over it, and merge it (or tell me to merge it) 08:25
08:29 bacek_ joined, alexn_org joined 08:32 bacek left 08:33 justatheory left, alester left
pugs_svn r25354 | moritz++ | [t/spec] fudge :exists tests 08:34
08:34 alanhaggai_ is now known as alanhaggai 08:38 alester joined, alester left 08:41 alc left
Matt-W Good morning 08:49
moritz_ hi Matt-W 08:50
08:53 ejs joined, avar left 08:56 wayland left, avar joined 09:00 mikehh left 09:06 namenlos left 09:08 mikehh joined 09:16 alc joined 09:41 masak joined, kane__ joined 09:44 ejs left
Matt-W masak: is it a good idea to mention eigenvalues in the glossary entry on autothreading? 09:45
At least, without explaining what eigenvalues are
masak Matt-W: there should probably be an explanation somewhere, possibly right there.
and a separate entry for eigenvalues. 09:46
moritz_ eigenstates please
masak to be honest, I haven't more than skimmed moritz_++' contributions yet. :/
moritz_ oh, and I added Junction.eigenstates to S29 09:47
masak excellent. moritz_++
Matt-W Ah did moritz_ write that bit
moritz_ and there's S03-junctions/eigenstates.t, and the eigenstate-expose branch on githup
*github 09:48
masak Matt-W: moritz_ is the only one who's written any actual documentation in u4x so far. 09:49
my attention has been elsewhere the past few weeks.
moritz_ and pmichaud already improved it
Matt-W I've been thinking about doing it, but not sure how to start (and having trouble finding the time), so I'm just making pathetic excuses instead :) 09:50
masak since I plan to expand that project in phases, I'd be most appreciative if people wrote one entry of each "type". 09:51
i.e. one for a class, one for a method, and so on
09:51 mikehh left
masak perhaps also noting somewhere their thoughts about the linking and meta information required for psi to work. 09:52
09:53 pmurias joined
Matt-W mmm 09:56
09:56 kane__ left
Matt-W so you envisage an entry for a class, and then a separate entry for each of that class' methods? 09:56
with enough metadata that they can be linked together easily
moritz_ perlgeek.de/blog-en/perl-6/tidings-2009-02.html btw 09:59
09:59 ejs joined
Matt-W moritz_: saw it, nicely done 09:59
moritz_ thanks 10:00
Matt-W meeting &
moritz_ I've also added a link the periodic table now
masak Matt-W: I'm not sure where things'll end up. there's something to be said for putting the methods in the same file as the class/role where they're defined. that's a kind of linking, too. :) 10:01
10:02 mj41 left
masak the point is that I don't know how the structure should look, and I think that prototyping a few entries might bring out some sane first-generation ideas about it. 10:02
moritz_: I like how S29 is almost catching up to reality, not to mention the other synopses. I hope I'll have the time to tick some more entries in the laundry list. 10:04
bacek_: aye, after backlogging I see the bug. reporting. 10:06
10:09 alc left, PZt joined
masak moritz_: in tidings: s/populate/populated/ 10:10
otherwise, great post as usual. 10:11
moritz_ masak: fixed, thanks 10:14
I don't have internet access at home these days (changing ISP, and they fucked it up), so I really appreciate git's offline workflow 10:15
and I'm tentatively considering moving the test suite to git 10:16
masak moritz_: have you tried git-svn? 10:17
10:17 ejs1 joined
moritz_ masak: no 10:18
10:18 cognominal_ left
masak if what you want is the offline thing, I can recommend it. 10:18
I should really check out the synopses and u4x with git-svn too. in fact, I'll do that now. it'll make me more productive when I'm offline. 10:19
10:21 cognominal joined
moritz_ uhm, the pugs repo doesn't have the standard layout (trunk/, branches/, tags/) - how do I use 'git-svn init' then? 10:22
or more to the point, it doesn't have a branches dir at all 10:23
masak moritz_: I don't think that layout is a requirement.
I just checked out u4x, and it worked.
git svn clone svn.pugscode.org/pugs/docs/u4x
no 'init' required.
moritz_ ah
I did git-svn init svn.pugscode.org/pugs/docs/t/ 10:24
git-svn clone
that wasn't good
but a 'git-svn fetch' instead is all good'
masak moritz_: aye, I'd guess that 'init' and 'clone' shouldn't be used in the same workflow.
10:26 ejs left
moritz_ fetched 5k revisions, only 20k to remain ;-) 10:28
masak I've come to appreciate that somewhat lengthy process. it's git-svn turning an svn repo into something beautiful. :P 10:29
anyone ever tried to make Parrot and Rakudo on feather, only to be greeted by this message when making Rakudo? 10:41
Can't create /home/duff/parrot/tools/build/../../src/pmc/default.dump: Permission denied at /home/duff/parrot/tools/build/../../lib/Parrot/Pmc2c/PMC.pm line 68
I would like to add that my account name on feather is not 'duff'. 10:42
moritz_ masak: parrot uses hardcoded paths to where it was build, which is why it screws up p6eval so bad 10:43
masak: maybe it followed some symlink, or so?
masak I don't see how. I downloaded both Parrot and Rakudo from their respective repos.
oh, an ack search does turn up something interesting! 10:44
the BUILD_DIR in Rakudo's Makefile is set to /home/duff/parrot 10:45
must be something Configure.pl is doing, then. 10:46
masak heads over to #parrot to ask
pugs_svn r25355 | moritz++ | [t/TASKS] add task as git-svn dcommit test
Matt-W So the problem with having a company with quite a few intelligent and passionate software developers is that when you put them all in a room and get them to discuss policy, they end up being passionate about that too... from different directions 10:53
masak aye, that follows logically. 10:54
Matt-W It's very hard not to jump on the table and scream at them that all our problems would be much alleviated if we could do our source control with git 10:57
masak write a petition instead of screaming at them. 10:58
Matt-W We're working on it through many channels
That group don't have the power to decide anyway 10:59
We'd have to get our lawyers to approve it, because it's the evil open source
11:03 PantheraPardus joined 11:04 ludan joined
chid RE: my problem trac.parrot.org/parrot/ticket/167 11:05
masak chid: yeees? 11:08
chid masak, no I'm getting the same error
masak chid: that makes sense, because the bug isn't fixed. 11:09
chid which is completely retarde 11:10
+d
masak patches welcome.
chid :/
masak, any easy fix? 11:12
masak I have absolutely no idea.
I suggest you ask pmichaud.
pugs_svn r25356 | ruoso++ | [spec/S16] move IFS/OFS/IRS/ORS to the more specific roles. 11:13
r25356 | ruoso++ | [spec/S16] async should not be an argument to a method, but it is an attribute of the IO object.
r25356 | ruoso++ | (there need to be more work in S16 to sanitize all the roles. Some references to IO::POSIX are reversed. It is IO::POSIX that should do some generic roles (like IO::Streamable) not the other way around.)
chid ok..
masak my guess is that if there were an easy fix, it'd be fixed already.
chid I mean from my end
moritz_ not rename the directory
chid perhaps a config file
I didn't
the installer isbroken :p
as written: This might be highly related to the need to create an installable parrot/rakudo. 11:14
moritz_ aye
maybe the #parrot folks should bothered
chid lol
where are parrot config files on win32 11:15
are those .h files included in compliation 11:16
bin\parrot_config.exe: config-key 11:17
moritz_ chid: on #parrot (on irc.perl.org) your chances of getting a good answer are much better
chid nah 11:19
ok, fine
masak though I asked a question there half an hour ago, and no-one reacted.
moritz_ it seems that the US is still asleep 11:20
masak US: wake up! 11:22
chid failed ;p 11:23
nah
doesn't matter
11:31 meppl joined 11:32 kane__ joined
masak rakudo: say 0 ?? 'broken' !! 'not broken' 11:35
p6eval rakudo c4f0f9: OUTPUT«not broken␤»
masak \o/
Matt-W :)
moritz_ I'd rephrase it as 'not obviously broken' ;-) 11:36
masak "less broken day by day" 11:37
moritz_ nice motto ;-)
masak is reminded of the nice gruk by Piet Hein 11:38
'you err/and err/and err/but less/and less/and less'
um, I almost got that right: www.chat.carleton.ca/~tcstewar/groo...rooks.html 11:39
moritz_ tries Rakudo on an optimized parrot build 11:44
pugs_svn r25357 | ruoso++ | [spec/S16] read and write are always "raw". You should use "print" or "getc" if you want encodings applied
11:47 ashizawa left 11:50 ashizawa joined 12:02 ashizawa left
literal that "Periodic Table of Operators" chart is really neat 12:03
masak indeed.
mtnviewmark++ 12:04
12:08 PantheraPardus left 12:16 ruoso joined
ruoso Hello! 12:17
12:23 kane__ left
ruoso trying to sanitize S16 a bit more 12:23
Nom- ugh. I still hate solaris :P 12:31
Actually, no I just hate Ericsson's software on solaris
bloody X driven software...couldn't wait for it to finish before leaving work todya, so gotta start another process and leave it overnight (it takes *that* long) 12:32
I mean ... you'd think that schema changes on a table with 90,000 rows wouldn' take that long, right? 12:33
12:40 nihiliad left 12:46 kane__ joined 12:51 PantheraPardus joined 12:52 iblechbot left 12:54 chid left
moritz_ rakudo on unoptimized parrot: 9m for the spectests. On optimized parrot: 5m40 13:09
13:10 WootKit joined
PantheraPardus How can you use libraries from parrot runtime with rakudo? 13:11
moritz_ PantheraPardus: I don't know, but I think it's done in examples/nci/ in the parrot repo 13:14
masak @tell mberends github.com/masak/proto/commit/e4f41...6230d59647
lambdabot Consider it noted.
13:14 renormalist joined 13:15 smtms left 13:17 yves joined
moritz_ ./proto update 13:17
./proto: line 47: test: too many arguments
masak :/
masak checks line 47
maybe I'm not quoing my shell args enough. 13:18
moritz_: do you have a space in your parrot dir path?
moritz_ masak: nope
masak hm.
works here. 13:19
13:20 WootKit left
moritz_ why does proto always says "Downloading Parrot...", even when parrot is already downloaded and built? 13:21
masak moritz_: probably because you don't have PARROT_DIR set. 13:22
I'm walking a fine balance between being intrusive and detecting things automatically.
suggestions welcome.
moritz_: re the 'too many arguments' error. try it now. 13:23
moritz_ masak: works, thanks 13:24
13:24 WootKit joined
moritz_ notices that druid comes with no tests at all... 13:25
masak moritz_: it's like this:
until two weeks ago, Druid was one single script and untestable.
Matt-W tsk 13:26
masak I was very happy about the refactor, and I want to blog about it.
one of many things it suddenly enables is tests.
Matt-W Ooh do blog about it
I'd find that interesting
13:26 skids left
Matt-W Also, more Perl 6 visibility == good 13:26
masak Matt-W: I will, I will.
Matt-W hurrah! 13:27
masak it's the next blog post in my queue.
"A Perl 6 script blows apart" :)
Matt-W :) 13:29
13:30 WootKit left 13:31 WootKit joined, nihiliad joined
masak in the meantime, those interested are welcome to review the commits to Druid between 2009-01-28 and 2009-02-04. 13:31
Matt-W is druid on github? 13:32
13:32 mberends joined
masak Matt-W: github.com/masak/druid 13:33
13:36 WootKit left
mberends masak: hi, my laptop died early this morning and is in for repair. I've switched to a Linux eee PC for the interim. I lost about 4 hours work on proto, but it will take less time to re-do. It may take a little time to get this xandros distro equipped with the toolchain, not sure yet. 'apt-get install git-core' says Couldn't find package git-core. Hmm. 13:40
lambdabot mberends: You have 1 new message. '/msg lambdabot @messages' to read it.
13:40 WootKit joined
masak mberends: sorry about your laptop. looking forward to seeing the fruits of your work. hope my commit didn't interfere too much. 13:43
I'm still not sure the addition of the 'showdeps' subcommand is worth the trouble. maybe it would be if there was a way to observe the contents of the deps.proto file without downloading the whole repo. but sadly, I don't know enough about github's API to know if that's possible. 13:44
mberends lambdabot is not giving me a message. we can wget deps.proto from github via http. 13:45
ruoso notices that no-one commented about the $.output_record_separator in IO::Encoded (besides one argument that it should be in IO::Writeable::Encoded)... 13:47
masak mberends: cool.
ruoso I wonder if that mean that they are ok, even if some piece of the spec suggested that wouldn't be supported
masak mberends: but then we'll need to split up the installcmd key into several keys.
13:48 zamolxes joined
mberends I don't mind splitting installcmd into sub-elements 13:49
masak mberends: can I do that now? :) I'll be quick.
what's a good common description of github, google code and other central storage... things containing repositories? 13:50
s/description of/name for/
mberends go for it! I'm infinitely slow until this PC runs Rakudo ;) 13:51
Nom- masak: project hosting ?
mberends I like too toss a few names around before deciding on one...
masak Nom-: I'm looking for something more one-wordy :) 13:52
"hoster"?
"landlord"? 13:53
"patron"?
gfldex you are asking for a word you want to put into a context without providing that context
13:53 WootKit left
gfldex quite a good game tho 13:53
masak "provider"? I think that is the best so far.
Nom- project-ware
13:53 WootKit joined, WootKit left
Nom- you know... like groupware... but not 13:54
masak Nom-: I almost like it :)
it's still too general.
mberends is not thrilled yet
masak the word should convey "the storage/hosting solution that this particular project elected for itself"
mberends site? 13:55
masak a bit too general, but yes.
I've written 'hub', but it's too github-specific.
gfldex homeland?
masak gfldex: nice.
but this has nothing to do with countries.
"home"?
quite a coze one. 13:56
s/coze/cozy/
mberends metarepository? a bit long
gfldex nest? but i think that's taken by parrot
masak mberends: and a bit too clinical for me.
gfldex: you're getting the idea, at least. :)
"haven"? 13:57
gfldex not sure if english got the word you are looking for
you are looking for the german word Heimat
mberends is beginning to like "home"
masak gfldex: you'd be surprized :) 13:58
mberends: then "home" it is, at least for now.
mberends yes, it's good
masak so I have 'home', 'owner', and 'name', with the last one defaulting to the name of the (proto) project.
seems sane, no? 13:59
mberends yes, three short words. nice.
this eee PC is vigorously updating itself in the background, I wonder when the dreaded reboot demand will appear. The keyboard is quite erratic, sometimes misses a press and sometimes ddoubles it. 14:02
14:06 PantheraPardus left 14:07 WootKit joined, WootKit left
masak rakudo: say 4 ?? sprintf 2, !! 5 14:09
p6eval rakudo c4f0f9: OUTPUT«Class 'Perl6MultiSub' not found␤current instr.: 'parrot;Perl6Role;!add_variant' pc 2691 (src/classes/Role.pir:42)␤»
masak dives in to recompile 14:10
ruoso hmm... warn doesn't seem to fit in S16...
masak ruoso: S29, maybe? 14:11
ruoso probably... where is "return"? 14:12
moritz_ probably S04 or S06 14:14
masak mberends: pushed.
ruoso I'm going to take it out of S16... could someone place it somewhere else ? 14:15
moritz_ ruoso: please move it instead of throwing it out 14:16
ruoso where to?
moritz_ if in doubt use S29
ruoso ok
mberends masak: cannot pull, but thanks. rebooting...
masak mberends: another thing I'm thinking of fixing before it's too late, is putting all the donwloaded projects (including parrot) into a single gitignored directory inside proto. the soiled git status is starting to annoy me.
bah, fixing that now.
14:17 xinming left
ruoso moritz_, return isn't referenced in S29 also 14:17
maybe the explanation in S04 suffices for now...
mberends masak: good idea. but better would be to install thee other projects as siblings of proto instead of children, ie one level up. I was planning to suggest that. 14:18
moritz_ ruoso: isn't warn() more similar to die() or fail() than to return()?
ruoso moritz_, no
warn raises a control exception
masak mberends: dare we do that? it feels on the verge of being intrusive...
ruoso die and fail raises a failure
mberends yeah, go on! 14:19
moritz_ ruoso: I was more thinking of a user point-of-view
ruoso maybe...
mberends it's actually more respectful of the other packages
masak mberends: it makes sense in my particular file hierarchy, at least for the git projects.
ruoso moritz_, It's just that I'm working on S16 and warn was in the way... I'm not really thinking about it now... 14:20
masak but not for the non-git projects, and not for parrot.
mberends and when proto+1 comes along proto can retire without incident
masak mberends: I keep my git projects in a separate dir, see.
mberends it's a tough call, evidently
masak no, your suggestion is very tempting, but I think I'll veto it for now.
better to be able to set such a think in a settings file somewhere. 14:21
and for the default to be all-inside the proto dir.
14:21 alanhaggai left
mberends ok, or an option. I had proto -v working last night. 14:21
masak heh. 14:23
mberends must reboot a few times
14:23 mberends left 14:25 kane__ left 14:38 skids joined
masak gist.github.com/65193 14:39
moritz_ never had a Debian upgrade that required more than one reboot 14:41
masak proto: your one-stop solution to Perl 6 projects.
moritz_ speaking of which, I have to upgrade to Lenny soon, now that it's stable... 14:42
masak we currently have approximately 0 end users, but that's OK. :)
avar never had a DP act like this 14:44
Nom- hmm is tehre a section in the perl 6 doco on exception handling? 15:00
moritz_ yes
S04 I think
perlcabal.org/syn/S04.html#Exception_handlers 15:01
Nom- Ok, i'm guessing we didn't go so far as to be able to define an exception which can be returned by a method / sub ... I presume you can throw a specific exception class though? 15:08
moritz_ rakudo: class A { }; try { die A.new() }; say $!, $!.WHAT 15:10
p6eval rakudo c4f0f9: OUTPUT«Class 'Perl6MultiSub' not found␤current instr.: 'parrot;Perl6Role;!add_variant' pc 2691 (src/classes/Role.pir:42)␤»
moritz_ meh
I think that CATCH blocks aren't implemented 15:11
masak I think they are. 15:12
at least partially.
15:13 riffraff joined
masak rakudo: sub a { die "OH!" }; a; CATCH { say "BAH!" } 15:13
p6eval rakudo c4f0f9: OUTPUT«Parrot VM: Can't stat languages/rakudo/perl6.pbc, code 2.␤main: Packfile loading failed␤»
moritz_ masak: I think I have to revert the two-layer setup for parrot build on timtowtdi.org
masak moritz_: ok.
moritz_ masak: it screws up things even more badly than it was before
masak too bad.
sounded like a sane idea.
15:13 alanhaggai_ joined
moritz_ it's parrot that is insane 15:13
rakudo: class A { }; try { die A.new() }; say $!, $!.WHAT 15:14
p6eval rakudo c4f0f9: OUTPUT«A<0xb5f6e560>Exception␤»
moritz_ rakudo: class A { }; try { die A.new() }; say $($!), $($!).WHAT
p6eval rakudo c4f0f9: OUTPUT«Method 'item' not found for invocant of class 'Exception'␤current instr.: '_block14' pc 94 (EVAL_22:54)␤»
Nom- rakudo: class A{}; try { die A.new(); }; say $!.WHAT;
p6eval rakudo c4f0f9: OUTPUT«Exception␤»
Nom- doesn't seem to help much :/
ok... there is a fail keyword 15:15
Which seems to return exceptions too
moritz_ evalbot control restart 15:16
15:16 p6eval left
pugs_svn r25358 | moritz++ | [evalbot] give up separation of parrot build and working dir 15:16
moritz_ evalbot control restart
15:16 p6eval joined, alanhaggai_ is now known as alanhaggai 15:21 alester joined, iblechbot joined
Nom- ok looking at the source, it seems die can be passed an exception... 15:21
.sub 'die' :multi('Exception')
15:37 kane__ joined
masak @tell mberends here's how to avoid cycles: during the download-and-check phase, keep an array @downloaded and an array @to_download. push new deps on the latter when discovering them, but abort plaintively if they already appear in the former. 15:43
lambdabot Consider it noted.
masak also, gist.github.com/65215 15:47
pmurias ruoso: hi 15:57
15:58 mtnviewmark joined 16:00 kane__ left 16:08 pathetic joined 16:11 mtnviewmark left 16:26 meppl left 16:28 AzureStone joined 16:29 mtnviewmark joined, mtnviewmark left 16:31 Tene joined 16:32 alester left, AzureStone_ left 16:38 alanhaggai_ joined 16:39 ejs1 left 16:45 alanhaggai left, alanhaggai_ is now known as alanhaggai 16:48 Tene_ left
ruoso hi pmurias 16:52
16:56 agentzh left 16:57 ejs joined, agentzh joined
pugs_svn r25359 | ruoso++ | [spec/S16] reorganizing the roles a bit, to make it less confusing. Now we should discuss IO::Socket, IO::Pipe and other very OS-specific matters 16:57
16:57 ludan left
pmurias ruoso: is your smop report avalible somewhere? 16:57
ruoso it should be in a very short time 16:58
I already authorized jhorwitz to publish it
17:11 justatheory joined
dalek kudo: cf98887 | pmichaud++ | Configure.pl:
Check for ../../parrot_config in preference to installed parrot.
17:13
17:18 masak left
dalek kudo: 924f2ba | pmichaud++ | perl6.pir:
Silently exit if passed '-le' argument from Test::Harness.
17:26
[particle] @tell mtnviewmark excellent work on the optable! i made a shortcut url at tinyurl.com/perl6op 17:38
lambdabot Consider it noted.
17:45 pmurias left
dalek kudo: 3da1733 | pmichaud++ | build/Makefile.in:
Remove commented-out "make Makefile" target
17:48
kudo: 1f9086b | pmichaud++ | config/makefiles/ (2 files):
Remove obsolete config/ directory.
kudo: a6f4926 | pmichaud++ | Configure.pl:
Remove commented-out and obsolete calls to Parrot's 'reconfigure.pl' step.
17:49
17:55 [particle] left 17:58 ejs left 18:03 mikehh joined 18:08 ejs joined 18:10 [particle] joined 18:11 icwiener joined, maerzhase joined 18:21 justatheory left 18:23 meppl joined 18:30 pathetic left 18:31 meppl left, meppl joined 18:33 Psyche^ joined 18:36 zamolxes left
ruoso wonders if there is an API equivalent to select and poll for win32 18:38
18:44 maerzhase1 joined, maerzhase left 18:46 Patterner left, Psyche^ is now known as Patterner 18:48 schmalbe joined
dalek kudo: 10909da | pmichaud++ | build/Makefile.in:
Make the fakecutable the default target.
18:50
18:58 mberends joined 18:59 `alpha joined
`alpha hello 18:59
PerlJam hello
`alpha will perl6 compile in elf?
18:59 jeremiah left
`alpha or exe? 18:59
bacek_ good morning 19:00
`alpha (meaning not some might-be-working perlcc hack but an real compiler)
bacek_ `alpha: depends on implementation.
`alpha bacek_ could you please elaborate 19:01
19:01 dusty joined
bacek_ Perl6 is language. Just spec. 19:01
There is few implementations available.
`alpha okay
bacek_ Some of them can compile to "exe" 19:02
`alpha does any of them "support" elf compiling ?
okay
bacek_ perl6: say "Hi"
`alpha which one ?
p6eval rakudo c4f0f9: OUTPUT«./parrot: error while loading shared libraries: libparrot.so.0.9.0: cannot open shared object file: No such file or directory␤»
..elf 25359, pugs: OUTPUT«Hi␤»
bacek_ probably Rakudo can.
`alpha okay
thank you bacek_
bacek_ `alpha: you welcome 19:03
summon pmichaud
19:04 jrockway left 19:05 jrockway joined 19:08 bacek_ is now known as bacek 19:11 mberends left 19:15 `alpha left, justatheory joined
bacek std: class A {}; my $c = class is A {}; 19:18
p6eval std 25359: OUTPUT«############# PARSE FAILED #############␤Malformed "class" declaration␤Unable to parse class definition at /tmp/we8jgLrwAj line 1:␤------> class A {}; my $c = class is A {};␤ expecting trait␤FAILED 00:02 33m␤» 19:19
bacek std: class A {}; my $c = class :: is A {};
p6eval std 25359: OUTPUT«ok 00:02 33m␤»
jnthn tHAT LOOS'S...WRONG.
oops
*That looks...wrong.
bacek jnthn: what? 19:20
'::' as anonymous class was added few days ago
rakudo: say something 19:25
p6eval rakudo c4f0f9: OUTPUT«Could not find non-existent sub something␤current instr.: '_block14' pc 53 (EVAL_16:38)␤»
bacek rakudo: say "I'm alive!"
p6eval rakudo c4f0f9: OUTPUT«I'm alive!␤»
bacek rakudo: sub foo { 1;; }; say foo; 19:26
p6eval rakudo c4f0f9: OUTPUT«Null PMC access in isa()␤current instr.: 'parrot;List;!flatten' pc 5976 (src/classes/List.pir:283)␤»
19:30 tourett_ joined
tourett_ change.pennergame.de/change_please/2520711/ 19:30
19:30 tourett_ left
[particle] wonder if we can strike that advert from the logs 19:30
bacek ... or this spammer in life. 19:33
19:37 eric257 joined
jnthn bacek: Oh? I didn't see that happen. 19:40
bacek: In that case, fine. :-)
I'll make it work in the next few days and I can resolve an RT. :-)
bacek jnthn: good-good.
jnthn: btw, can you take a look on few my patches?
jnthn bacek: Thing is, they ain't patches...they're git forks...and I don't know yet how to handle those! ;-) 19:43
But will try and work that out. :-)
bacek git fetch git://github.com/bacek/rakudo.git 19:44
git cherry-pick <id>
jnthn Or maybe pmichaud can review some too - he's often better at that than I.
bacek jnthn: I failed to summon pmichaud :)
jnthn bacek: I think he's got his hands quite full with @OTHER at the moment. 19:45
bacek r25323 Allow use of :: as anonymous package name
[particle] jnthn: chrisdolan posted an entry on githob about patching with git
bacek jnthn: yeah...
jnthn [particle]: githob? 19:46
Or github?
[particle] the latter
jnthn I'll try dig it up, thanks.
19:46 sri_kraih left, riffraff left
bacek jnthn: looks like you can't fetch without adding remote in git... 19:51
jnthn: so, correct sequence is "git remote add bacek-rakudo git://github.com/bacek/rakudo.git; git fetch bacek-rakudo;" 19:53
then cherry-pick or "git show <id> | patch -p1"
19:57 jeremiah joined
jeremiah seen masak 19:57
20:00 dwhipp joined
dwhipp perl6: my $x = (8,9).pick; say $x 20:01
p6eval pugs: OUTPUT«8␤»
..rakudo c4f0f9: OUTPUT«./parrot: error while loading shared libraries: libparrot.so.0.9.0: cannot open shared object file: No such file or directory␤»
..elf 25359: OUTPUT«Useless use of a constant in void context at (eval 120) line 3.␤Can't call method "pick" without a package or object reference at (eval 120) line 3.␤ at ./elf_h line 4346␤»
20:01 pyrimidine joined
dwhipp rakudo: my @a=8,9; my $x = @a.pick(1); say $x 20:02
p6eval rakudo c4f0f9: OUTPUT«./parrot: error while loading shared libraries: libparrot.so.0.9.0: cannot open shared object file: No such file or directory␤»
dwhipp rakudo: say "hello" 20:03
p6eval rakudo c4f0f9: OUTPUT«./parrot: error while loading shared libraries: libparrot.so.0.9.0: cannot open shared object file: No such file or directory␤»
pyrimidine rakudo: my subset Strand of Int where {$_ == 0 | 1 | -1}; my Strand $x; say $x; 20:05
p6eval rakudo c4f0f9: OUTPUT«Class 'Perl6MultiSub' not found␤current instr.: 'parrot;Perl6Role;!add_variant' pc 2691 (src/classes/Role.pir:42)␤» 20:06
pyrimidine meh
dwhipp rakudo: my @a=8,9; my $x = @a.pick(1); say $x 20:08
p6eval rakudo c4f0f9: OUTPUT«Class 'Perl6MultiSub' not found␤current instr.: 'parrot;Perl6Role;!add_variant' pc 2691 (src/classes/Role.pir:42)␤»
pyrimidine pugs: my subset Strand of Int where {$_ == 0 | 1 | -1}; my Strand $x; say $x; 20:09
p6eval pugs: OUTPUT«Strand␤»
dwhipp rakudo: my @a=8,9; my $x = @a.pick(1); say $x 20:10
p6eval rakudo c4f0f9: OUTPUT«Class 'Perl6MultiSub' not found␤current instr.: 'parrot;Perl6Role;!add_variant' pc 2691 (src/classes/Role.pir:42)␤»
dwhipp pugs: my @a=8,9; my $x = @a.pick(1); say $x 20:11
p6eval pugs: OUTPUT«9␤»
20:12 hanekomu joined, justatheory left 20:13 frew joined 20:15 schmalbe left 20:16 kane__ joined 20:20 ruoso left
pyrimidine perl6: my subset Strand of Int where {$_ == 0 | 1 | -1}; my Strand $x; say $x; 20:28
p6eval pugs: OUTPUT«Strand␤»
..rakudo c4f0f9: OUTPUT«0␤»
..elf 25359: OUTPUT«Unknown rule: type_declarator:expect_term␤It needs to be added to ast_handlers.␤ at ./elf_h line 2042␤»
pyrimidine Shouldn't that be undef?
20:29 frew left
bacek perl6: my subset Strand of Int where {$_ == 0 | 1 | -1}; my Strand $x; say $x.defined; 20:30
p6eval rakudo c4f0f9: OUTPUT«1␤»
..elf 25359: OUTPUT«Unknown rule: type_declarator:expect_term␤It needs to be added to ast_handlers.␤ at ./elf_h line 2042␤»
..pugs: OUTPUT«␤»
bacek looks like a bug
perl6: say $*PROG 20:31
p6eval rakudo c4f0f9: OUTPUT«Use of uninitialized value␤␤»
..elf 25359, pugs: OUTPUT«␤»
jnthn perl6: subset Strand of Int where {$_ == 0 | 1 | -1}; say Strand.defined
p6eval rakudo c4f0f9: RESULT«1␤1»
..pugs: OUTPUT«*** No such subroutine: "&Strand"␤ at /tmp/JFNtHvoCCP line 1, column 52 - line 2, column 1␤»
..elf 25359: OUTPUT«Unknown rule: type_declarator:expect_term␤It needs to be added to ast_handlers.␤ at ./elf_h line 2042␤»
20:31 frew joined
jnthn perl6: subset Strand where {$_ == 0 | 1 | -1}; say Strand.defined 20:32
p6eval rakudo c4f0f9: OUTPUT«1␤»
..pugs: OUTPUT«*** No such subroutine: "&Strand"␤ at /tmp/pcgGPYlTDi line 1, column 45 - line 2, column 1␤»
..elf 25359: OUTPUT«Unknown rule: type_declarator:expect_term␤It needs to be added to ast_handlers.␤ at ./elf_h line 2042␤»
jnthn rakudo: say Int.defined
p6eval rakudo c4f0f9: OUTPUT«0␤»
jnthn OK, just sub-types, it seems...
bacek jnthn: there is masak's ticket for it already.
pyrimidine RT#?
dwhipp rakudo: my @a=8,9; my $x = @a.pick(1); say $x 20:34
p6eval rakudo c4f0f9: OUTPUT«9␤»
bacek can't find it...
#62894, but jnthn++ already fixed it. So it can be different issue. 20:35
jnthn bacek: Yes, I fixed the general proto-objects issue.
Thus why I was checking what Int.defined said. 20:36
This looks subtype specific.
bacek indeed
jnthn ticket welcome 20:39
20:39 dwhipp left
jnthn afk for a bit 20:39
20:40 kane__ left 20:42 pmurias joined
bacek gets masak's hat 20:44
20:45 exodist_ joined
bacek #63264 20:47
20:48 frew left, alexn_org left 20:50 pyrimidine left
jeremiah seen masak 20:51
20:54 idemal left 20:59 Exodist left, exodist_ is now known as Exodist 21:01 FurnaceBoy joined 21:02 icwiener left 21:08 idemal joined 21:10 idemal left 21:12 jferrero joined
dalek kudo: 2ff60d5 | pmichaud++ | build/gen_parrot.pl:
First draft of script to automatically download and build
21:12
21:13 idemal joined 21:14 idemal left 21:15 idemal joined
dalek kudo: 12b2b39 | pmichaud++ | build/Makefile.in:
Add a draft "make parrot" target.
21:30
21:36 luqui joined
luqui TimToady, ping 21:36
lambdabot luqui: You have 1 new message. '/msg lambdabot @messages' to read it.
21:49 pyrimidine joined
pyrimidine rakudobug? 21:51
21:51 wknight8111 joined 21:54 FurnaceBoy left 22:03 ejs left 22:06 [particle]1 joined 22:08 maerzhase1 left 22:19 alester joined 22:21 nihiliad left 22:24 [particle] left, zamolxes joined
pyrimidine bacek: do you have RT perms to delete a bug report? I dup'ed #63264 as #63268. 22:27
dalek kudo: a8647e3 | pmichaud++ | Configure.pl:
Add "--gen-parrot" option to automatically download/maintain Parrot.
22:28
kudo: 8695e4b | pmichaud++ | build/PARROT_REVISION:
Bump PARROT_REVISION to r36802.
22:30 ejs joined 22:37 pyrimidine left 22:41 hanekomu left 22:45 skids left, dusty left 22:54 justatheory joined 22:58 Limbic_Region joined 23:04 Tene_ joined 23:17 eric257 left, Tene left 23:26 iblechbot left 23:27 alester left 23:31 shinobi-cl joined 23:40 ejs left 23:45 skids joined 23:51 gravity joined, jferrero left 23:58 kane__ joined 23:59 DemoFreak left