Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-08-26

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:03 pro21ms4 joined #perl6
00:19 mark_ joined #perl6
00:20 mark_ changed the nick to markst_
00:22 perlmonkey2 joined #perl6
00:25 justatheory joined #perl6
00:29 markst_ changed the nick to markstos_
00:43 weinig changed the nick to weinig|away
01:06 sunnavy joined #perl6
01:11 BinGOs joined #perl6
01:25 BinGOs_ joined #perl6
01:36 weinig|away changed the nick to weinig
02:46 dolmen joined #perl6
03:34 amnesiac joined #perl6
03:37 buetow joined #perl6
04:07 gnuvince_ joined #perl6
04:13 jisom joined #perl6
04:40 perlmonkey2 left #perl6
04:49 pugs_svnbot r17450 | gnuvince++ | - Added examples by solving problems from Projet Euler.
04:49 pugs_svnbot diff: http://dev.pugscode.org/changeset/17450
04:49 lambdabot Title: Changeset 17450 - Pugs - Trac
05:04 weinig joined #perl6
06:13 justatheory joined #perl6
06:33 BinGOs_ changed the nick to BinGOs
06:47 diotalevi joined #perl6
06:50 elmex joined #perl6
06:59 Southen joined #perl6
07:00 kanru joined #perl6
07:48 thoughtpolice joined #perl6
08:22 Aankhen`` joined #perl6
08:38 snearch joined #perl6
08:43 jedai joined #perl6
08:47 jedai joined #perl6
08:52 franck___ joined #perl6
08:54 masak joined #perl6
09:01 moritz_ @tell TimToady as per S29 @list.join($sep) is not allowed
09:01 lambdabot Consider it noted.
09:04 franck___ joined #perl6
09:05 ubajas joined #perl6
09:24 demq joined #perl6
09:25 perlMa joined #perl6
09:28 larsen_ joined #perl6
09:35 rindolf joined #perl6
09:49 ubajas3 joined #perl6
10:07 iblechbot joined #perl6
10:14 bloonix hello together
10:19 masak ?eval -> { "hello $^someone" }.('together')
10:20 moritz_ #pugs say -> { "hello $^someone" }.('together')
10:20 exp_evalbot OUTPUT[<SubPointy(<anon>)>␤*** Cannot cast from VBool True to Pugs.AST.Internals.VCode (VCode)␤    at /tmp/FAwmIqKCY3 line 1, column 1 - line 2, column 1␤]
10:20 masak moritz_: thx
10:20 masak moritz_: it should work, though, right?
10:20 moritz_ #pugs say { "hello $^someone" }.('together')
10:20 exp_evalbot OUTPUT[<SubBlock(<anon>)>␤*** Cannot cast from VBool True to Pugs.AST.Internals.VCode (VCode)␤    at /tmp/4oIuc06ElZ line 1, column 1 - line 2, column 1␤]
10:21 moritz_ I don't know if -> { pointy block}.(call) should work
10:21 masak it felt like it could work
10:22 masak it's just "create anon sub and then call it"
10:22 moritz_ and ?eval should work as well ;-)
10:23 barney joined #perl6
10:23 masak yes, but kudos for building new infrastructure while the old one takes a rest :)
10:24 moritz_ actually I did it to have a #kp6 eval ;-)
10:24 masak still
10:24 nipra joined #perl6
10:25 moritz_ ;)
10:27 masak left #perl6
10:27 riffraff joined #perl6
10:28 |Jedai| joined #perl6
10:34 ubajas joined #perl6
10:38 TimToady hi, we got to Vienna okay
10:38 lambdabot TimToady: You have 2 new messages. '/msg lambdabot @messages' to read them.
10:43 drrho joined #perl6
10:43 drrho joined #perl6
10:47 moritz_ welcome to the German speaking countries ;)
10:53 Patterner For interesting values of german.
10:55 cognominal_ joined #perl6
10:55 moritz_ aye
10:58 falseep joined #perl6
10:59 nothingmuch clkao: ping?
11:05 moritz_ is there a point in implementing Array.sort in pure Perl 6? or are we assuming that all backends will have sort()ing capability?
11:06 clkao nothingmuch: hey
11:07 clkao nothingmuch: my flight is tomorrow, not today
11:07 iblechbot_ joined #perl6
11:08 nothingmuch oh
11:08 nothingmuch blech
11:08 nothingmuch then tomorrow we'll have a later dinner
11:08 nothingmuch dopplr lied and said today
11:09 clkao yikes
11:09 nothingmuch gimme your phone number anymoose
11:09 clkao just msg'ed you
11:09 nothingmuch no see
11:09 nothingmuch msg on magnet?
11:16 bsb joined #perl6
11:20 ubajas3 joined #perl6
11:40 buetow joined #perl6
11:54 ubajas joined #perl6
12:05 agentzh joined #perl6
12:09 xinming_ joined #perl6
12:18 ofer joined #perl6
12:27 ubajas3 joined #perl6
12:30 masak joined #perl6
12:37 cls_bsd joined #perl6
13:04 fridim joined #perl6
13:07 nothingmuch http://scsys.co.uk:8001/9186
13:07 lambdabot Title: perl_web paste from "nothingmuch" at 217.168.144.84...
13:07 nothingmuch comments welcome
13:07 nothingmuch outline for yapc talk
13:08 ubajas joined #perl6
13:09 sunnavy joined #perl6
13:17 nipra joined #perl6
13:19 pugs_svnbot r17451 | moritz++ | [kp6] more verbose 'not implemented' error messages
13:19 pugs_svnbot diff: http://dev.pugscode.org/changeset/17451
13:19 lambdabot Title: Changeset 17451 - Pugs - Trac
13:29 rindolf nothingmuch: I read it.
13:29 nothingmuch any thoughts
13:29 nothingmuch ?
13:30 stevan_ joined #perl6
13:31 rindolf nothingmuch: I got the general idea.
13:31 rindolf nothingmuch: but not the details.
13:31 rindolf nothingmuch: and I'm not sure I understood what it is good for.
13:32 nothingmuch it's a talk, it gives info
13:32 nothingmuch this is a general outline of the talk
13:33 rindolf nothingmuch: no, I meant that I'm not sure I understood what meta-object programming was good for.
13:33 rindolf I understood what the document itself was good for.
13:33 nothingmuch structure
13:33 nothingmuch that's discussed in more detail in the talk
13:33 nothingmuch i suppose the intended audience for this outline is those that don't need the talk ;-)
13:33 nothingmuch so they can comment on things I may have missed, etc
13:39 cognominal__ joined #perl6
13:43 ubajas3 joined #perl6
13:51 fridim joined #perl6
13:53 justatheory joined #perl6
13:57 bsb left #perl6
13:57 blindfish joined #perl6
14:01 DarkWolf84 joined #perl6
14:09 bloonix syn/Differences.html
14:09 bloonix a great documentation
14:09 masak yes
14:11 bloonix this is what I ever looking for
14:11 agentzh makstos++
14:12 agentzh bloonix: feel free to tweak Differences.pod in the pugs repos. it'll be automatically sync'd every 1 hour.
14:14 marmic joined #perl6
14:15 moritz_ is there a particular reason that there are no comparision infix ops in kp6?
14:15 moritz_ I mean there is == and !=, but no < or >
14:17 agentzh moritz_: just hack them in! ;)
14:17 chris2 joined #perl6
14:18 agentzh moritz_: just as fglock like to say, kp6 is mostly demand-driven...
14:18 agentzh moritz_: personally i'd rather it be test-driven, like pugs...
14:18 moritz_ agentzh: I know how to hack them into the grammar, but the implementation is the problem
14:18 agentzh hehe
14:18 bloonix how can I use variables between p5 and p6 ?
14:18 bloonix example:
14:18 * agentzh is still reading kp6's source...
14:18 pasteling "bloonix" at 87.79.195.119 pasted "my $uid; { use v5; $uid = getp" (9 lines, 110B) at http://sial.org/pbot/27080
14:19 agentzh bloonix: man, you're crazy ;)
14:19 bloonix :)
14:19 moritz_ bloonix: I think it _should_ work this way
14:20 moritz_ man, compiling Grammar.pm is slow
14:20 bloonix agentzh: sorry but getpwuid isnt implemented yet and I need a way :)
14:20 * agentzh is not a kp6 hacker yet.
14:20 moritz_ but not as slow as pugs ;)
14:21 bloonix I got it
14:22 bloonix my $uid = do { use v5; getpwuid(1) }
14:22 * agentzh has to run out of the $office and catch a bus &
14:22 bloonix works very well :)
14:22 masak bloonix: wow
14:22 moritz_ cool
14:23 masak bloonix++ # brave p6 user
14:23 bloonix masak: unfortunately its p5 code in the do block :)
14:24 agentzh left #perl6
14:24 bloonix but I think its a fine workaround until its implemented
14:24 masak bloonix: yes
14:24 ubajas joined #perl6
14:24 masak it's the effort that counts
14:24 masak if more did like you, p6 would be ready sooner
14:29 bloonix moritz_: where do you compiling Grammar.pm?
14:30 moritz_ v6/v6-KindaPerl6/lib/KindaPerl6/Grammar.pm
14:31 bloonix on which machine? :) not on our, or?
14:31 moritz_ no
14:31 bloonix selbst schuld :)
14:32 moritz_ it's not _that_ slow
14:32 moritz_ ;-)
14:41 bloonix Im confused!
14:41 bloonix "unhandled support type: DESTROY at (eval 1) line 129."
14:42 bloonix does anyone know why this message happends?
14:44 masak in which situation?
14:44 bloonix I dont know. line 129 is a comment
14:44 masak it says "(eval 1) line 129", so it's probably not line 129 of your file
14:45 bloonix yes, but I dont know where to search the line
14:45 masak I understand. that's why I asked "in which situation?"
14:45 masak because there must be some other part that broke
14:46 masak what is it that you are running when it happens?
14:46 xinming_ changed the nick to xinming
14:57 ubajas3 joined #perl6
15:00 stevan_ joined #perl6
15:01 rindolf joined #perl6
15:07 bloonix masak: here is a snippet of the module:
15:07 pasteling "bloonix" at 87.79.195.119 pasted "#!/usr/bin/pugs class Sys::Sta" (49 lines, 1.1K) at http://sial.org/pbot/27081
15:08 bloonix if I comment out the part "my $usr = do { }" the message doesnt comes
15:10 bloonix if I execute only the do block nothing happends
15:11 bloonix if I think in p5 DESTROY will be executed if a object is destroyed
15:11 bloonix maybe this way to search
15:17 bloonix but:
15:17 bloonix my $usr = (~$0).getpwuid2;
15:17 bloonix sub getpwuid2 { use v5; return getpwuid("@_");
15:17 bloonix }
15:17 bloonix works nice
15:30 devogon joined #perl6
15:35 pugs_svnbot r17452 | bloonix++ | Add Processes.pm and Processes.t to Sys::Statistics::Linux
15:35 pugs_svnbot diff: http://dev.pugscode.org/changeset/17452
15:35 lambdabot Title: Changeset 17452 - Pugs - Trac
15:38 pugs_svnbot r17453 | bloonix++ | Add Processes.pm
15:38 pugs_svnbot diff: http://dev.pugscode.org/changeset/17453
15:38 lambdabot Title: Changeset 17453 - Pugs - Trac
15:38 ubajas joined #perl6
15:39 cognominal_ joined #perl6
15:47 pugs_svnbot r17454 | bloonix++ | Replaced "while ( 1 )" with "loop" in all modules.
15:47 pugs_svnbot diff: http://dev.pugscode.org/changeset/17454
15:47 lambdabot Title: Changeset 17454 - Pugs - Trac
15:50 tcliou joined #perl6
15:58 bloonix sorry, 3 updates in short time. as next I will bundle it
15:59 ubajas3 joined #perl6
16:02 pugs_svnbot r17455 | gnuvince++ | - Added new problems
16:02 pugs_svnbot r17455 | gnuvince++ | - Added problem description and benchmarks to all examples
16:02 pugs_svnbot r17455 | gnuvince++ | - Changed is_prime() function to use junctions.  It is slower,
16:02 pugs_svnbot r17455 | gnuvince++ |   but more succint ;-)
16:02 pugs_svnbot diff: http://dev.pugscode.org/changeset/17455
16:02 lambdabot Title: Changeset 17455 - Pugs - Trac
16:07 perlmonkey2 joined #perl6
16:20 masak bloonix: if you ask me, that case you found with DESTROY is worthy of a test
16:20 masak to make sure the bug is documented somehow
16:24 masak left #perl6
16:35 pugs_svnbot r17456 | sartak++ |  r37404@onn:  sartak | 2007-08-26 12:32:26 -0400
16:35 pugs_svnbot r17456 | sartak++ |  Add an alternate implementation of Euler 5, which runs blazingly fast :)
16:35 pugs_svnbot diff: http://dev.pugscode.org/changeset/17456
16:35 lambdabot Title: Changeset 17456 - Pugs - Trac
16:43 gnuvince_ joined #perl6
16:53 ubajas joined #perl6
16:58 fglock joined #perl6
16:59 fglock moritz_: re times, please note that KindaPerl6 supports precompilation
16:59 fglock one sec, i'll paste a command line
17:01 pasteling "fglock" at 87.103.66.94 pasted "kp6 precompiled" (9 lines, 169B) at http://sial.org/pbot/27082
17:02 fglock hmm - i'll paste in the blog
17:13 Psyche^ joined #perl6
17:13 Psyche^ changed the nick to Patterner
17:29 amnesiac joined #perl6
17:29 snearch joined #perl6
17:35 Eidolos gnuvince_: ping
17:38 pugs_svnbot r17457 | sartak++ |  r37410@onn:  sartak | 2007-08-26 13:34:40 -0400
17:38 pugs_svnbot r17457 | sartak++ |  Three more Euler problems (9, 20, 29)
17:38 pugs_svnbot diff: http://dev.pugscode.org/changeset/17457
17:38 lambdabot Title: Changeset 17457 - Pugs - Trac
17:39 ubajas3 joined #perl6
17:56 hkb_zz_ changed the nick to hkb_zz
18:14 ubajas joined #perl6
18:16 Eidolos defining a postfix ! seems to screw up the ?? !! op a lot :)
18:16 * Eidolos adds a test
18:16 cognominal_ joined #perl6
18:24 pugs_svnbot r17458 | sartak++ |  r37412@onn:  sartak | 2007-08-26 14:19:57 -0400
18:24 pugs_svnbot r17458 | sartak++ |  Add failing test for interaction between postfix:<!> and ?? !!
18:24 pugs_svnbot r17459 | sartak++ |  r37413@onn:  sartak | 2007-08-26 14:23:11 -0400
18:24 pugs_svnbot r17459 | sartak++ |  Two more Euler problems (11, 15)
18:24 pugs_svnbot diff: http://dev.pugscode.org/changeset/17459
18:24 lambdabot Title: Changeset 17459 - Pugs - Trac
18:28 cognominal_ joined #perl6
18:43 weinig joined #perl6
18:45 renormalist joined #perl6
18:47 ubajas3 joined #perl6
18:48 pjcj joined #perl6
18:59 ubajas joined #perl6
18:59 cognominal__ joined #perl6
19:09 ubajas3 joined #perl6
19:23 Dfa-Dom joined #perl6
19:26 jisom joined #perl6
19:32 stevan_ joined #perl6
19:39 moritz_ is the last element of an array @array[-1] or @array[*-1]?
19:41 Gothmog_ The latter, iirc.
19:41 moritz_ I think so as well, but I can't remeber why
19:42 Eidolos it's the latter according to the Synopses
19:42 Eidolos but I'm pretty sure Pugs still uses [-1]
19:42 moritz_ I thought * in array subscripts was 'whatever', so I'd read @foo[*-1] as "everything up to the last item"
19:43 Eidolos whatever is very contextual :) in subscripts it means the last item + 1
19:43 Eidolos the reason for the change from Perl 5 is (at least partly) because of subtle bugs with unexpected negative subscripts
19:44 moritz_ good point
19:47 cognominal_ joined #perl6
19:47 pugs_svnbot r17460 | gnuvince++ | - Added problems 25 and 48 from Project Euler
19:47 pugs_svnbot diff: http://dev.pugscode.org/changeset/17460
19:47 lambdabot Title: Changeset 17460 - Pugs - Trac
19:49 Eidolos gnuvince_: I think we should refactor out common functions, like the prime number generator
19:50 pugs_svnbot r17461 | moritz++ | a few tweaks to docs/Perl6/Perl5/Differences.pod
19:50 pugs_svnbot diff: http://dev.pugscode.org/changeset/17461
19:50 lambdabot Title: Changeset 17461 - Pugs - Trac
19:52 cognominal_ joined #perl6
20:20 pugs_svnbot r17462 | sartak++ |  r37416@onn:  sartak | 2007-08-26 16:18:15 -0400
20:20 pugs_svnbot r17462 | sartak++ |  Euler problems 17, 18, 67
20:20 pugs_svnbot diff: http://dev.pugscode.org/changeset/17462
20:20 lambdabot Title: Changeset 17462 - Pugs - Trac
20:34 ubajas joined #perl6
20:56 pugs_svnbot r17463 | fglock++ | [v6.pm] 0.020 - fixed warnings when compiling from a pipe
20:56 pugs_svnbot diff: http://dev.pugscode.org/changeset/17463
20:56 lambdabot Title: Changeset 17463 - Pugs - Trac
20:59 fglock joined #perl6
21:20 ubajas3 joined #perl6
22:06 ubajas joined #perl6
22:18 gnuvince_ Eidolos: yes
22:23 pugs_svnbot r17464 | sartak++ |  r37421@onn:  sartak | 2007-08-26 18:20:44 -0400
22:23 pugs_svnbot r17464 | sartak++ |  One last Euler problem, 21 (amicable pairs)
22:23 pugs_svnbot diff: http://dev.pugscode.org/changeset/17464
22:23 lambdabot Title: Changeset 17464 - Pugs - Trac
22:24 cognominal_ joined #perl6
22:59 ubajas3 joined #perl6
23:05 mj41_ joined #perl6
23:28 renormalist left #perl6
23:38 ubajas joined #perl6
23:38 bsb joined #perl6
23:59 theorbtwo joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo