The topic for #perl6 is: pugscode.org/ planetsix.perl.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, elf: etc.) (or perl6: for all) | irclog: irc.pugscode.org/
Set by TimToady on 25 November 2008.
00:03 iblechbot left 00:13 apeiron left, tewk left 00:14 spx2 left, tewk joined, apeiron joined, spx2 joined 00:32 eternaleye joined 00:39 bacek joined 00:50 smg joined
bacek pugs: token CommentContent { .* }; token Comment { '(:' <CommentContent>? ':)' }; say "(: Hi :)" ~~ / <Comment> /; say ~$/ 00:53
p6eval pugs: OUTPUT[Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) {␤ unshift @INC, '/home/evalenv/pugs/perl5/Pugs-Compiler-Rule/lib';␤ unshift @INC, '/home/evalenv/pugs/third-party/Parse-Yapp/lib';␤ eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;␤}␤'Pugs::Runti...
bacek perl6: token CommentContent { .* }; token Comment { '(:' <CommentContent>? ':)' }; say "(: Hi :)" ~~ / <Comment> /; say ~$/
p6eval rakudo 33527: OUTPUT[␤␤]
..pugs: OUTPUT[Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) {␤ unshift @INC, '/home/evalenv/pugs/perl5/Pugs-Compiler-Rule/lib';␤ unshift @INC, '/home/evalenv/pugs/third-party/Parse-Yapp/lib';␤ eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;␤}␤'Pugs::Runti...
..elf 24166: OUTPUT[Can't locate object method "cb__RegexDef" via package "EmitSimpleP5" at ./elf_f line 1612.␤]
slavik rakudo is better at grammars and such ;) 00:55
bacek slavik: but I expect different result... 00:57
perl6: token CommentContent { \.* }; token Comment { '(:' <CommentContent>? ':)' }; say "(: Hi :)" ~~ / <Comment> /; say ~$/
p6eval rakudo 33527: OUTPUT[␤␤]
..pugs: OUTPUT[Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) {␤ unshift @INC, '/home/evalenv/pugs/perl5/Pugs-Compiler-Rule/lib';␤ unshift @INC, '/home/evalenv/pugs/third-party/Parse-Yapp/lib';␤ eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;␤}␤'Pugs::Runti...
..elf 24166: OUTPUT[Can't locate object method "cb__RegexDef" via package "EmitSimpleP5" at ./elf_f line 1612.␤]
01:01 kane_ left 01:06 ryanc left
thei0s weird.. afaik this should work, i've written far more complexer working things in rakudo 01:07
01:08 eternaleye left 01:11 eternaleye joined
bacek rakudo: token CommentContent { <- [ '(:' | ':)']>* }; token Comment { '(:' <CommentContent>? ':)' }; say "(: Hi :)" ~~ / <Comment> /; say ~$/ 01:12
p6eval rakudo 33527: OUTPUT[(: Hi :)␤(: Hi :)␤]
bacek this better :)
01:12 JohnDrago joined
thei0s oh, i see where the problem lies... tokens are not backtracking 01:13
(by definition)
bacek rakudo: token CommentContent { <- [ '(:' | ':)']>* }; token Comment { '(:' <CommentContent>? ':)' }; say "(: Hi: There :)" ~~ / <Comment> /;
p6eval rakudo 33527: OUTPUT[␤]
bacek thei0s: indeed
thei0s token CommentContent { .* <before ':)'> }; token Comment { '(:' <CommentContent>? ':)' }; say "(: Hi :)" ~~ / <Comment> /; say ~$/; 01:14
rakudo: token CommentContent { .* <before ':)'> }; token Comment { '(:' <CommentContent>? ':)' }; say "(: Hi :)" ~~ / <Comment> /; say ~$/;
p6eval rakudo 33527: OUTPUT[␤␤]
thei0s rakudo: token CommentContent { .*? <before ':)'> }; token Comment { '(:' <CommentContent>? ':)' }; say "(: Hi :)" ~~ / <Comment> /; say ~$/; 01:16
p6eval rakudo 33527: OUTPUT[(: Hi :)␤(: Hi :)␤]
thei0s here it is
imho thats the way to do it if you dont want to use regex 01:17
bacek thei0s: yeah. Much cleaner 01:18
01:22 thei0s left 01:29 JohnDrago left 01:46 zamolxes joined, DemoFreak left 01:49 eternaleye_ joined 02:05 hercynium_ joined 02:12 eternaleye left 02:16 Limbic_Region left 02:27 slavik left 02:45 slavik joined 02:46 eternaleye_ left 02:48 jfredett left 02:51 jfredett joined 02:54 stephens left 03:03 zamolxes left 03:05 jferrero left 03:11 Psyche^ joined 03:13 Patterner left, Psyche^ is now known as Patterner
rakudo_svn r33533 | pmichaud++ | [rakudo]: Convert an :init vtable to run at :load :init instead. 03:20
03:32 jhorwitz left 04:01 elmex left 04:02 elmex joined
slavik how do I get a length of a list? 04:23
04:29 hercynium_ left
rakudo_svn r33537 | coke++ | [perl6] add a Configure.pl for perl6; use this to regenerate the Makefile. 04:40
r33537 | coke++ | - also, regen MANIFEST.
slavik perl6: say ?{0 == 1} 04:41
p6eval pugs, rakudo 33535: OUTPUT[1␤]
..elf 24166: OUTPUT[0␤]
slavik perl6: say ?{0 === 1}
p6eval pugs, rakudo 33535: OUTPUT[1␤]
..elf 24166: OUTPUT[0␤]
slavik perl6: say ?{0 =:= 1}
p6eval pugs, rakudo 33535: OUTPUT[1␤]
..elf 24166: OUTPUT[0␤]
slavik perl6: say ?{1 == 1}
p6eval elf 24166, pugs, rakudo 33535: OUTPUT[1␤]
slavik elf: say "yay" if ("abcabcabc" ~~ /abc/); 04:42
p6eval elf 24166: OUTPUT[yay␤]
04:56 [particle]1 joined, [particle] left 05:32 apeiron left 05:35 apeiron joined
rakudo_svn r33538 | coke++ | [perl6] - ignore more generated files (OS X) 05:40
05:46 eternaleye_ joined 05:52 araujo left 05:56 eternaleye_ left
rakudo_svn r33539 | coke++ | [perl6] Convert src/gen_builtins.pir to be .include instead of inline copies. 06:00
r33539 | coke++ | (This makes IMCC report line numbers you can fix instead of lines in a copy of a file you shouldn't edit.)
r33539 | coke++ |
r33539 | coke++ | Only issue preventing this was a missing =cut tag in one of the builtins.
r33539 | coke++ |
r33539 | coke++ | Also fixup manifest.
06:07 rhr_ left, rhr joined
rakudo_svn r33540 | coke++ | [CAGE] pass t/distro/*meta* 06:10
06:19 justatheory joined
rakudo_svn r33541 | infinoid++ | [CAGE] Remove trailing whitespace from 5 source files. 06:50
pugs_svn r24167 | hinrik++ | [util/perl6.vim] more keywords, improvements to operator and variable highlighting 06:52
rakudo_svn r33543 | infinoid++ | [CAGE] Fix a linelength.t failure in perl6multisub.pmc 07:00
07:12 eternaleye_ joined
f00li5h meow 07:17
07:18 eternaleye joined 07:19 eternaleye left
rakudo_svn r33546 | duff++ | [rakudo] Add :nth() and :x() flags to .subst($str,$repl) and .subst($regex,$repl) 07:40
07:45 c1sung left, tcliou|A1ay joined, c1sung joined, LCamel_ joined, tcliou|Away left, LCamel left 08:24 araujo joined 08:42 eternaleye_ left, iblechbot joined 08:43 eternaleye joined, eternaleye left 08:45 eternaleye joined 08:47 eternaleye left
slavik moritz_: are you around? 08:47
08:47 eternaleye joined 09:16 xinming left 09:23 slavik left 09:25 ejs joined 09:55 ihrd joined
ihrd hi 09:55
09:55 ejs left, ejs joined
ihrd I have sent bugreport rt.perl.org/rt3/Public/Bug/Display.html?id=61078 09:55
but do not see it in the list, and addons to it (I have sent it letter) do not attached to it in RT 09:56
mail-list I mean
that is lost debug 09:57
./perl6/src/builtins/any-list.pir:68:say "in join"
./perl6/src/builtins/any-list.pir:76:say "in join2"
./perl6/src/gen_builtins.pir:5394:say "in join"
./perl6/src/gen_builtins.pir:5402:say "in join2"
10:12 thei0s joined
ihrd so. that fixed in 33546 10:21
thank you some one
moritz_ ihrd: RT takes very long sometimes to forward the mails 10:22
ihrd hai 10:23
yes
and look like that some one is I am
bug still there in any-list.pir
I just remove it in my repo and forgot 10:24
svn do not croak when I pull, as git 10:25
moritz_ I've removed these lines, and now I'm running spectest
if all is good, i'll commit the fix
10:27 meppl joined
ihrd thank you very much 10:28
10:35 kane_ joined 10:37 riffraff joined
riffraff hi everyone 10:39
rakudo_svn r33548 | moritz++ | [rakudo] remove debugging output. Closes RT #61078. ihrd++ 10:40
riffraff I think I found a problem in the parser generated from parrot/tools/dev/mk_language_shell 10:42
admittedly, it is a stub so it should not be feature complete
but I guess that the rules to match integers and string literals should be "token" 10:43
otherwise, by default, say "ok", " ", "foo" swallows the whitespace declaration
if someone can confirm I'm not dumb I'll submit a patch :) 10:46
10:47 pmurias joined
moritz_ riffraff: confirmed 10:58
riffraff to parrotbug@ ? 11:00
moritz_ @parrotcode.org, or trac.parrot.org/parrot/newticket 11:01
lambdabot Unknown command, try @list
riffraff oh thrre is a trac? 11:14
11:15 DemoFreak joined
riffraff argh, the subject got cut 11:16
I'm too stupid. 11:17
thei0s it is always good to click preview :)
riffraff but gmail does not have preview :) 11:19
I hope they'll soon implement something that reads your subject and tells you if it makes sense or not and warn you "oh, i guessyou missed something". It may require sufficiently advanced magic, but it would be really useful
thei0s hm, not magic, sufficiently complex grammar :) 11:21
riffraff I thought it as the same thing 11:22
;)
(it seems impossible to change the ticket's subject once posted via email.. I'll live with it it seems) 11:23
btw: parrot's default REPL routine lacks, well, the "P" part?
11:25 zamolxes joined
riffraff the 'interactive' sub in HLLCompiler.pir seems to call '_dumper'($P0, target) if target is defined 11:26
but, I do not understand what target is , nor dumper. Or anyway, why it's not set to some default so that for example if I run perl6 in ineractive mode i can see that 1+1 = 2 withouth prefixing everything with "say" 11:28
11:35 ejs left, IRSeekBot joined 11:49 justatheory left 12:01 justatheory joined 12:18 drbean left 12:21 dmq joined
moritz_ riffraff: maybe target is an IO pmc? 12:28
anyway, if you ask such questions on #parrot your chances are better to get answer
riffraff you'r right I should ask there thanks, it's just that I started at the perl6 repl and drifted off :) 12:29
12:35 dmq left
pugs_svn r24168 | hinrik++ | [util/perl6.vim] complete Pod support, highlights S26-documentation.pod very nicely 12:44
12:47 [particle] joined
rakudo_svn r33550 | moritz++ | [cage] trailing whitespaces 12:50
12:51 bacek left 12:52 [particle]1 left 12:56 masak joined 12:58 kane_ left 12:59 [particle]1 joined
rakudo_svn r33554 | moritz++ | [cage] clean up two Configure.pl's (svn id, copyright) 13:00
ihrd hai 13:01
can I get dir files list in Rakudo today somehow?
mb using inline pir? 13:02
moritz_ maybe :-)
13:03 drbean joined
ihrd I use ugly workaround for list all pages in November wiki, just put it name in another one file. And just hope I can do that another way. 13:04
Where I can find something about how to do that in PIR? 13:05
pugs_svn r24169 | hinrik++ | [util/perl6.vim] reclassify one keyword, update timestamp 13:06
moritz_ ihrd: maybe ask in #parrot?
ihrd ok 13:07
masak ihrd: greetings, compatriot.
ihrd mortiz_: only two person on #parrot. my and lu_zero :( 13:11
masak: hi! I wright some question to you on #november-wiki 13:12
masak ah, missed that.
replying.
13:13 vixey joined
riffraff ihrd, I guess you want #parrot@irc.perl.org ? 13:17
actually, I know that from the source files, but I think it's not advertised on the parrotcode.org website
13:17 ruoso joined
ruoso Hello! 13:20
ihrd riffraff: oh, thank you, I just miss server :)
13:20 bacek joined
riffraff pleased to be helpful 13:21
13:24 [particle] left
pmurias ruoso: hi 13:28
pugs_svn r24170 | hinrik++ | [util/perl6.vim] support embedded comments (e.g. #[ ]) 13:30
broquaint masak++ # A month of November. 13:37
masak broquaint: humble thanks. 13:38
jnthn masak: I often read them too, was nice. :-)
masak woot
jnthn isn't sure he could keep up with blogging every day
masak it was a bit stressful, yes. 13:39
but I'll try to do it again next year.
jnthn In November? ;-) 13:40
13:42 [particle]1 left
masak jnthn: of course. :) 13:43
ruoso hi pmurias 13:46
13:47 [particle] joined
moritz_ masak: in case you haven't noticed, your use.perl.org is now on planetsix 13:47
13:48 justatheory left
masak moritz_: I hadn't noticed. that's good to know, thank you. 13:48
moritz_ (pmichaud++ took care of that, I think)
ruoso wonder if TimToady had some time to review S07... 13:49
moritz_ iirc he's traveling these days
ruoso hmm
pmurias, have you seen Map.pm? 13:50
pmurias vaguely, looking again
ruoso pmurias, I'm considering moving it to src-s1p as "smop official prelude' 13:51
just rework it a little to look more like actual code 13:52
13:54 rindolf joined
pmurias ruoso: being able to have the things in the Prelude loaded would be nice 13:54
ruoso we need to have it compilable first ;) 13:55
pugs_svn r24171 | ruoso++ | [mildew][smop] Moving Map.pm to src-s1p, generic item iterator, lazy list and array iterator moved to their own files... 14:02
pmurias ruoso: btw. you have any ideas what smop-related thing i could implement which would count as a project for my C class? 14:03
ruoso well the PCL thing should worth you a A++ 14:04
(or, in Brazillian terms, a 10)
pugs_svn r24172 | ruoso++ | [smop] "use" statements in src-s1p will be used to find out dependencies between the files... 14:06
rindolf Does Rakudo have line numbers in run-time errors already? 14:07
pmurias a course is propably the better term as i'm at university now
s/the/a/
ruoso the PCL thing will probably be able to cause a good impression to any teacher 14:08
pmurias is really getting round to implementing it now... ;) 14:10
ruoso ;)
riffraff rindolf, it seems so
rindolf riffraff: let me see. 14:11
ruoso is there a standard way of naming failures/
?
I've just realized I had used the Java idiom on that...
OutOfItemsException
riffraff nothingmuch, I retreat, I was wrong 14:12
s/nothingmuch/rindolf
rindolf riffraff: OK.
14:13 iblechbot left
pmurias ruoso: is requiring a SMOP_CALLBACK_END() in functions passed to SMOP__S1P__PCLCoro_create ok? 14:20
ruoso well... don't you have a wrapper function already? 14:22
it could be done in that, after the actual function returns
ruoso bbiab& 14:23
pmurias ruoso: i don't have a wrapper function yet, i'm considering makeing the wrapper optional 14:25
pugs_svn r24173 | hinrik++ | [util/perl6.vim] a few more keywords 14:27
ruoso pmurias, if that makes SMOP_CALLBACK_END a requirement, I'd rather make the wrapper a requirement 14:32
pmurias, remember... the most important use case for that is the XS modules 14:33
s/is/are/
better if we could use them without modifications
14:37 simcop2387 left, zamolxes left, meteorjay left, kanru left, dalek left, TimToady left, lizsac left, p6eval left, zostay left
pmurias i can always layer a wrapper providing function on top of the more general one 14:37
14:38 TimToady joined, zamolxes joined, meteorjay joined, kanru joined, dalek joined, lizsac joined, simcop2387 joined, p6eval joined, zostay joined, irc.freenode.net sets mode: +o TimToady
pugs_svn r24174 | hinrik++ | [util/perl6.vim] more keyword stuff 14:39
literal will Perl 6 have anything like carp/croak? 14:41
masak literal: that seems likely. 14:42
literal or will warn/die automagically act like that inside methods? 14:44
masak: which part? :)
pmurias literal: doesn't carp/croak report errors from the perspective of the caller 14:45
?
literal yeah
14:45 simcop2387 left, lizsac left, meteorjay left, p6eval left, zostay left, zamolxes left, TimToady left, kanru left, dalek left
masak literal: I don't think warn/die will act like that automagically. sometimes you want the default Perl 5 behaviour. 14:46
14:47 TimToady joined, zamolxes joined, meteorjay joined, kanru joined, dalek joined, lizsac joined, simcop2387 joined, p6eval joined, zostay joined, irc.freenode.net sets mode: +o TimToady
literal true 14:47
pugs_svn r24175 | pmurias++ | [smop] 14:50
r24175 | pmurias++ | calling a simple c function which doesn't call back as a c routine works
r24175 | pmurias++ | added test 39
pmurias literal: error reports are a bit implementation specific opening up the debugger would be a valid behaviour under some circumstances 14:52
14:53 iblechbot joined 14:55 adc_penner joined 14:59 DemoFreak left
pugs_svn r24176 | pmurias++ | [smop] switching between mold and pcl works 15:08
pmurias ruoso: the PCL is GPL'ed 15:11
ruoso that's ok... Perl is usually dual-licensed 15:13
but we should probably make it optional later
pmurias where should the PCL-smop syntax sugar live in? 15:16
smop_pcl.h? 15:19
15:27 justatheory joined 15:28 [particle] left
pugs_svn r24177 | pmurias++ | [smop] added a skeleton smop_pcl 15:28
15:29 [particle] joined 15:30 ft left 15:33 ft joined 15:36 [particle]1 joined 15:39 [particle] left 15:42 [particle] joined 15:46 [particle]1 left 15:50 smg left, justatheory left, masak left 15:59 [particle]1 joined, rindolf left 16:06 jhorwitz joined 16:08 [particle] left 16:13 kisu joined 16:18 justatheory joined 16:19 ihrd left 16:25 mberends joined, riffraff left
rakudo_svn r33568 | pmichaud++ | [rakudo]: spectest-progress.csv update: 228 files, 4708 passing 16:40
16:50 DemoFreak joined
pugs_svn r24178 | moritz++ | [t] move blocks/sub_arg_errors.t to spec/, with some corrections 16:51
16:57 kisu left 16:59 riffraff joined
pugs_svn r24179 | moritz++ | [t/spec] fudge S06-signature/errors.t for rakudo 17:08
r24180 | moritz++ | [t] move blocks/defaults.t to spec/, add one test 17:19
rakudo_svn r33571 | moritz++ | [rakudo] add regression tests for errors in signatures 17:20
17:20 smg joined
pugs_svn r24181 | moritz++ | [t] move blocks/closure.t to spec/ 17:28
r24182 | moritz++ | [t/spec] fudge binding-closure.t for rakudo 17:30
rakudo_svn r33573 | moritz++ | [rakudo] add test file to spectest.data (binding of closures to &variables) 17:40
17:58 jferrero joined 18:06 mberends left 18:11 vixey left 18:12 mberends joined 18:16 vixey joined 18:19 spx2 left, spx2 joined 18:38 adc_penner2 joined 18:53 adc_penner left 19:06 justatheory left 19:22 [particle]1 left 19:23 [particle] joined 19:28 Chillance joined
thei0s hm, what is the difference between $bar1 and $bar2 in this case? : class foo { has $!bar1; my $bar2; } 19:44
19:45 riffraff left
thei0s oh, I remember.. my shares between instances 19:49
pmurias my $bar2 declares a normal lexical 19:50
20:12 mj41 joined 20:21 aindilis` joined 20:36 aindilis left 20:38 ejs joined 20:51 jferrero left 20:52 masak joined 21:22 slavik joined
slavik moritz_: u der? 21:22
21:31 ruoso left 21:33 adc_penner2 left
moritz_ re 21:34
masak 're' is Latin for 'thing, affair' 21:35
that's why reply-mails are prefixed "Re: "
slavik I thought re meant regarding
masak slavik: many people think that. 21:36
slavik moritz_: how do I do web dev with perl6?
masak slavik: is there anything I can help you with?
slavik is it done with here-docs like with perl5?
masak: I want to setup mod_perl6 and a test page in perl6 :)
masak slavik: well, heredocs aren't implemented in Rakudo yet. 21:37
slavik: have you taken a look at November wiki?
slavik masak: I've seen the wiki itself, but not the code
masak it's not using mod_perl6 yet, but soon
slavik oh
masak: what does it use? fastcgi?
masak slavik: well, in the code is the answer to how you _can_ do web dev in Perl 6, at least. :)
slavik: right now, nothing. 21:38
slavik masak: so, how does november work?
masak slavik: read from input, write to output.
slavik masak: but how does apache know to call rakudo for perl6 pages?
masak you have to set that up manually right now with apache.
it calls a script in the p6w/ dir 21:39
and the script executes Rakudo
a shell script
slavik I see
brb, but keep typing info :)
masak mod_perl6 will improve on that state of affairs
slavik: well, check out github.com/viklund/november/tree/ma...wiki.sh.in 21:40
that's basically it.
pmurias masak: i thought a bare re refered to the re- prefix 21:45
masak pmurias: I have not seen such a case. 21:46
in emails, it does mean the Latin word.
slavik err, perl6.pbc? is that rakudo?
masak slavik: it is.
slavik masak: so if I have /usr/local/bin/perl6, I can just make a handler for p6 to call perl6 on it, right? 21:47
like, in terminal I can do: perl6 code.p6
pmurias masak: i meant a bare re in irc
masak pmurias: that might be. I'm not very down with IRC lingo.
slavik: sure, I guess. we chose this method to be as general as possible. 21:48
pmurias neither am i
slavik k
now, I need to figure out how to make apache do it :)
masak I wish I knew more about that part. :) viklund++ did that. 21:50
jhorwitz slavik: very easy to do with mod_perl6 21:55
masak yay! slavik, jhorwitz++ can help you.
slavik jhorwitz: how do I set up apache to run perl6 code? 21:58
and where can I get mod_perl6?
and how well does it work?
and such
jhorwitz LOL
first, install parrot and mod_parrot (trac.parrot.org/parrot/wiki/ModParrot) 22:00
fyi, i will likely release mod_parrot 0.5 next week
slavik k
jhorwitz if mod_parrot's test all pass, mod_perl6 is easy.
slavik k 22:01
jhorwitz i'll have more detailed docs in the release, but i'm happy to help you along until then.
slavik k, well, I have parrot and perl6 installed
so, we got that :)
jhorwitz and apache and the apache dev environment (includes, apxs, etc.) 22:02
22:02 Aisling left 22:03 Aisling joined
slavik jhorwitz: the dev packages? 22:03
jhorwitz yes 22:04
slavik k
looks like I'll be leaving soon, jhorwitz, I got a text editor open, let's run down the most basic stuff 22:05
so: indstalled apache and the dev packages. working parrot/perl6
next?
checkout mod_parrot? 22:06
jhorwitz check out mod_parrot from subversion
slavik compile it and such?
jhorwitz read the README
yes
if make test passes all tests, you should be good to go and we can work on mod_perl6
btw, what OS?
slavik Linux, of course
Ubuntu to be specific
8.10 22:07
jhorwitz then you should have no problem
my development platform is debian
slavik awesome
the sane apache defaults ;)
jhorwitz well, i build my own... ;-)
slavik apache?
jhorwitz trusts no one
yeah
slavik heh
ok
jhorwitz: should use gentoo then, but anycase
jhorwitz heh
slavik so, build mod_parrot ... then what? 22:08
jhorwitz make test
if ANY tests fail, there's a big problem
slavik make test && make; ??
jhorwitz make install
then make modperl6, which will precompile the mod_perl6 modules
slavik next 22:09
masak @ask TimToady I'm reading S12, where it is specced that dispatch can take place on arrays containing code objects. can the array also contain arrays, and have structural recursion happen?
lambdabot Consider it noted.
slavik k
next
jhorwitz that's it -- need to configure it. there's no installation process for mod_perl6 yet. i'm ripping it out of mod_parrot after 0.5.
slavik k
wait, make modperl6, where will it place mod_perl6? 22:10
or you have to move it manually?
jhorwitz nowhere -- it's just compiling the .pm files to parrot bytecode
slavik k
jhorwitz you can configure apache to load it in place
jhorwitz digs up a config
slavik awesome
jhorwitz: also, sample page? ^^
jhorwitz actually, look in eg/perl6 in mod_parrot 22:11
masak rakudo: my $locator = method { .<here> }; my %h = { here => "foo" }; say %h.$locator
p6eval rakudo 33575: OUTPUT[get_pmc_keyed() not implemented in class 'Undef'␤current instr.: '_block18' pc 191 (EVAL_15:73)␤]
slavik ty 22:12
jhorwitz: I'll pm my e-mail to you for the config, ok?
jhorwitz sounds good
slavik ty :)
also, there is a DBI module in perl6 right? 22:13
jhorwitz no
slavik :(
so, connecting to a DB is not doable?
jhorwitz lathos hacked up a DBDI module last week, but nothing official
masak slavik: there was some NCI work earlier this fall with SQL.
jhorwitz it's doable, just not via an official interface yet... 22:14
masak slavik: it's somewhere in the Parrot repo.
very early work, IAUI
AIUI
slavik I see postgres
masak: how does november do DB lookups and such?
masak slavik: we're using files right now. 22:15
slavik ok
jhorwitz slavik: some mod_perl6 configs are in eg/perl6
slavik k
hmm, what if there was an external tool thaqt would connect to DB and such?
could be like: `mysql --runquery "select blah from blah, etc."`
or something
masak thinks mysql does that 22:16
it even outputs XML.
slavik k
masak slavik: may I be so bold as to ask what it is you're building? :)
slavik masak: Wordpress that doesn't suck :P 22:17
masak slavik: ah, a blog engine.
slavik masak: no
masak: "article" engine
masak slavik: and the difference?
slavik where you don't have "posts and pages" that are different yet stored in the same tables
basically, something closer to what slashdot is 22:18
masak I see.
slavik: best of luck to you, sir.
slavik: you might want to talk to ihrd eventually. he's planning to do a blog engine.
slavik masak: on my blog, it is close to what I want, but I want the homepage to display the latest published stuff, like a feed basically
22:19 pmurias left
slavik also, articles can be children of other articles and such 22:20
so that you can have like howtos and such
anyway, I'll be back ...
masak slavik: what would the child-parent relationship imply for articles?
slavik masak: just hierarchy
masak ah.
slavik so you can markup on the current page: print this articles children 22:21
and such
so you get like a book type thing, where there is a page for a chapter and it includes the sections of that chapter
masak: look on my "blog" now, it's the Dive into Perl6 tab
bcacm.org/~slavik
soemthing like that
actually, exactly that
masak bcacm.org/~slavik # so I can click on it from the IRC window :) 22:22
slavik heh
sorry
masak np
still loading very slowly over here.
I can't see it.
slavik masak: I even put up my grammar for URLs there :)
yeah, it does, my college network :(
masak sounds interesting.
slavik see if there is a google cache or something
masak slavik: um. ok. 22:23
slavik: you really should consider switching server. I can reach most every other page on the web.
slavik k
22:23 slavik left 22:32 jferrero joined 22:36 simcop2387 left 22:39 Limbic_Region joined
jnthn masak: If you didn't already, please rakudobug the anonymous method failure. 22:40
masak jnthn: I already did. 22:41
jnthn I haven't done anything to explicitly make it work, but I can't think of any reasons why it wouldn't either...
Ah, great. You are efficient. :-)
masak jnthn: hai!
jnthn OH HAI
masak (instead of sleeping last night like I should, I typed a lot of things from S12 into Rakudo, trying to find holes. so you have five incoming rakudobugs right now.) 22:42
jnthn Great. 22:43
jnthn is trying to get as much of S12 done as possible
masak also great.
jnthn There's a LOT in that synopsis.
masak mhm.
jnthn So far I've been working on it for the last year. ;-)
masak 哈哈 22:44
jnthn It was about a year ago when I first started hacking on Rakudo.
And it wasn't long before I dug into S12 things.
Of course, it's not been a solid year of working on it. But more weeks than not. 22:45
masak aye.
jnthn (As in, more weeks I've hacked on Rakudo than not...)
It's kinda crazy thinking how much has been done, and realizing how much there is left to do...
masak :)
I must say that it feels amazing to be part of this project, though. 22:46
so many things are falling in place these days.
just think when we'll have macros! :O
jnthn Oh yes, I'm really happy I got involved. 22:47
masak I should hit the sack now, and maybe read some more S12. 22:48
jnthn Reading S12 is one thing I haven't done in bed. 22:49
masak I have serious sleep rythm deviations right now.
so I get a lot of reading in bed done. :/ 22:50
jnthn :-|
Yeah, I'm not sleeping exactly normal hours.
Getting up at 8:30am tomorrow is going to suck.
masak yes, I'll try to make it to church tomorrow. don't know if I'll succeed. 22:51
jnthn I didn't make it last week, and really want to see my friends there.
(Didn't make it last week through having a weekend in the UK)
masak :/
well, good luck tomorrow then. 22:52
jnthn Thanks! Hopefully I make it. :-)
masak how does one say "good bye" or "good night" in Slovak?
22:52 ab5tract joined
jnthn dobru noc 22:52
masak that's good night.
jnthn The c is pronounced as you'd say "ts" in English
Yes.
masak jnthn: yes, I figured :) 22:53
jnthn Slovak pronunciation, the soft sounds aside, is not so bad.
masak Japan fans:Japanese::masak:slavic languages
jnthn The morphology and grammar, OTOH, is rather tricky. 22:54
masak jnthn: no dualis, as in Slovenian? :)
jnthn No, thankfully not those!
masak :) 22:55
jnthn And no vocative case, as in Czech and Ukrainian.
masak enough cases to go around anyway, I guess.
22:55 pbuetow joined
jnthn Yes, six is enough. 22:55
masak which ones? nominative, ack, dat, loc, instr...?
jnthn Especially when you multiply them out with three genders, with masculine divided into animate and inanimate.
genitive too 22:56
masak right, forgot that one.
jnthn That's the six.
Maps closely to Russian.
masak same as Latin then, except for s/instr/abl/
but those are similar.
jnthn Apart from no loc, it's called the prepositional, IIRC.
masak aha 22:57
jnthn Ah, I never did look closely at Latin.
masak anyhoo, dobru noc.
jnthn dobru noc :-)
22:57 masak left 22:59 pbuetow left 23:02 ejs left 23:08 ruoso joined 23:14 simcop2387 joined 23:30 LimbicRegion joined, Limbic_Region left, LimbicRegion is now known as Limbic_Region 23:33 calin joined 23:38 calin left 23:40 iblechbot left 23:55 mberends left 23:56 vixey left 23:59 preflex left