Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-04-08

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:02 Limbic_Region heh, just the other day I wrote some code for someone in #perl and they complained it didn't work - use warnings; was throwing an error # guess how old the perl he had to use was
00:03 dmq 5.006
00:03 dmq er.
00:03 dmq 5.005
00:03 moritz that's beyond my scope ;-)
00:03 Limbic_Region I think it was 5.003 or 5.004
00:03 Limbic_Region but no later than that
00:03 sili ;/
00:04 moritz Limbic_Region: so did you tell him he was a bit.. behind?
00:04 Limbic_Region yeah
00:04 avar warnings came in 5.6
00:05 Limbic_Region 5.6 came out last century
00:05 moritz millenium even ;-)
00:05 Limbic_Region yeah
00:21 svnbot6 r15843 | Darren_Duncan++ | ext/QDRDBMS/ : more s///ing of Perl 5 code to Perl 6 code
00:34 lichtkind g night
00:36 moritz happy easter anybody to anybody in GMT or middle europe!
00:36 moritz 'night ;-)
00:37 moritz ... and everwhere else where they celebrate it, and the calendar already says 2007-04-08 ;-)
00:53 pbuetow joined perl6
01:06 dolmans joined perl6
01:08 dolmans in t/operators/precedence.t, how can ``is(0 - 3 / 3, -1, "/ bind tighter than binary -");'' be used to check the precedence?
01:28 svnbot6 r15844 | Darren_Duncan++ | ext/QDRDBMS/ : tweak AST.pm further until it compiles without errors ... note that some Perl 6 features it wanted to use don't seem implemented in Pugs, such as ':foo(Sbar)' in routine signatures, and 'has Foo|Bar ' in class defs
01:35 perlmonkey2 joined perl6
01:54 nperez joined perl6
02:01 masak moritz: thank you, and a happy easter to you too!
02:02 masak dolmans: good question. that test should most probably be rewritten
02:02 masak dolmans: do you have a commit bit?
02:07 jisom joined perl6
02:11 dolmans masak: I did some last year, but for some reason I left for a time, but sure I want back. :-P
02:18 masak dolmans: let's see what we can do about that then
02:20 dolmans masak: i wanna commit a patch, but now i must first re-introduce myself to Pugs.
02:20 dolmans especially the Pugs' respository.
02:23 masak dolmans: workin' on it
02:23 masak my browser is a little slow, but I'm getting there
02:25 masak dolmans: there. re-invite sent
02:25 masak welcome aboard
02:25 masak please add yourself to the AUTHORS file
02:25 masak :)
02:26 dolmans masak: got it
02:28 masak dolmans: wonderful.
02:28 masak & # riding home to make sure my alarm isn't going off in twenty minutes
02:46 dmpk2k|z joined perl6
03:09 imperator joined perl6
03:09 svnbot6 r15845 | Darren_Duncan++ | ext/QDRDBMS/ : tweaked QDRDBMS.pm and Validator.pm so they compile
03:36 nipotaway is now known as nipotan
03:36 miyagawa joined perl6
03:42 jrieks joined perl6
03:44 jrieks hi, i found an (small) error in S09...
03:44 jrieks    my @calendar[12;*;24];          # day-of-month dimension unlimited/ragged
03:44 jrieks    @calendar[1;42;8] = 'meeting'   # See you on January 42nd
03:45 jrieks i think this should either be February 42th, or the first index needs to be 13 instead of 12....?
03:54 RHainsworth joined perl6
04:15 svnbot6 r15846 | Darren_Duncan++ | ext/QDRDBMS/ : (subject to PhysType.pm being excluded) tweaked Example.pm so it compiles, and tweaked (QDRDBMS|Validator|Example).pm so that the existing test suite runs and all passes
04:25 dmpk2k joined perl6
04:29 Aankhen`` ?eval &?CALLER_CONTINUATION
04:29 evalbot_r15831 \{Prim ([Pugs.AST.Internals.Val] -> Pugs.AST.Eval.Eval Pugs.AST.Internals.Val)}
04:57 kanru joined perl6
05:03 rashakil_ joined perl6
05:05 [particle] joined perl6
05:09 svnbot6 r15847 | dolmans++ | make - & / precedence check more sense
05:10 snoop0x7b joined perl6
05:14 devogon joined perl6
06:11 dolmans joined perl6
06:12 nipotan is now known as nipotaway
06:14 RHainsworth left perl6
06:25 svnbot6 r15848 | Darren_Duncan++ | ext/QDRDBMS/ : the main package of an Engine must be, and the main package of the core API is, a module rather than a class or generic package
06:42 ashelyb_ joined perl6
06:55 svnbot6 r15849 | dolmans++ | add expr if modifiers cases
07:01 Aankh|Clone joined perl6
07:22 nipotaway is now known as nipotan
07:25 svnbot6 r15850 | dolmans++ | when if dose not execute any branch, return undef
07:42 xinming_ joined perl6
07:57 rashakil__ joined perl6
08:09 devogon joined perl6
08:13 svnbot6 r15851 | Darren_Duncan++ | ext/QDRDBMS/ : added explicit param lists to wrapper routines in AST.pm, PhysType.pm; commented-out most of PhysType.pm, as it isn't worth p6-ifying much of it due to its nature (will revisit later); meanwhile, the existing QDRDBMS test suite now all passes
08:15 polettix is now known as poletti
08:15 poletti is now known as polettix
08:27 Aankh|Clone is now known as Aankhen``
08:33 sunnavy joined perl6
08:33 nekokak_ joined perl6
08:37 svnbot6 r15852 | Darren_Duncan++ | deleted project ext/Rosetta/ which was rewritten to become ext/QDRDBMS/; note that the files in ext/Rosetta/ never changed since the last Pugs release (6.2.13), so you can still see them there
08:40 lichtkind joined perl6
08:47 rissy joined perl6
09:02 ZSystem joined perl6
09:04 svnbot6 r15853 | Darren_Duncan++ | updated ChangeLog to reflect the 4 added and 1 deleted ext/ projects since 6.2.13 (and a bit of trailing whitespace removal)
09:14 avar joined perl6
09:33 elmex joined perl6
09:36 nipotan is now known as nipotaway
09:36 Southen joined perl6
09:41 iblechbot joined perl6
10:01 fridim joined perl6
10:05 dduncan left perl6
10:09 SubStack joined perl6
10:48 elmex joined perl6
10:51 obra seen fglock
10:51 obra @seen fglock
10:51 lambdabot I saw fglock leaving #perl6 3d 13h 15m 1s ago, and .
11:06 yO joined perl6
11:13 Coweater joined perl6
11:18 Coweater left perl6
11:24 TimToady joined perl6
11:24 dolmans joined perl6
11:36 ayrnieu joined perl6
11:40 wilx joined perl6
12:01 toppai joined perl6
12:03 pbuetow joined perl6
12:09 nekokak joined perl6
12:16 lichtkind @karma fglock
12:16 lambdabot fglock has a karma of 118
12:16 lichtkind @karma lichtkind
12:16 lambdabot You have a karma of 2
12:16 lichtkind @karma audreyt
12:16 lambdabot audreyt has a karma of 630
12:17 lichtkind @karma TimToady
12:17 lambdabot TimToady has a karma of 25
12:17 lichtkind @karma obra, avar
12:17 lambdabot obra, has a karma of 0
12:17 lichtkind @karma obra , avar
12:17 lambdabot obra has a karma of 3
12:18 xinming_ @karma perl
12:18 lambdabot perl has a karma of 0
12:18 xinming_ @karma perl 6
12:18 lambdabot perl has a karma of 0
12:18 xinming_ @karma perl6
12:18 lambdabot perl6 has a karma of 5
12:18 lichtkind haha bad news
12:18 avar argh!
12:18 xinming_ @karma perl6
12:18 lambdabot perl6 has a karma of 5
12:18 xinming_ oops
12:18 moritz @karma karma
12:18 lambdabot karma has a karma of 4
12:19 xinming_ @karma xinming
12:19 lambdabot xinming has a karma of 2
12:23 moritz @karma lambdabot
12:23 lambdabot lambdabot has a karma of 41
12:23 moritz wow ;-)
12:26 lichtkind @karma moritz
12:26 lambdabot moritz has a karma of 20
12:26 lichtkind nich übel
12:26 moritz wie hab ich das geschafft? ;-)
12:26 moritz @karma lichtkind
12:26 lambdabot lichtkind has a karma of 2
12:33 devogon_ joined perl6
13:02 moritz Debian Etch is stable!
13:03 moritz dance in the streets and sing with joy
13:09 agentzh joined perl6
13:10 agentzh seen obra
13:13 obra hey
13:16 agentzh obra: i see you were looking for me half a month ago
13:16 agentzh ;)
13:21 * agentzh thinks he needs a better way to test smartlinks.pl in a neat way.
13:22 agentzh particle: do you have more tests for smartlinking scripts? i'm aware of you're working on smartlinks on moose :)
13:27 obra agentzh: hm. I have no idea why :) I hope all is well
13:27 svnbot6 r15854 | agentz++ |  r401@agentz:  agentz | 2007-04-08 21:23:46 +0800
13:27 svnbot6 r15854 | agentz++ |  smartlinks.pl - minor cleanup
13:27 agentzh obra: hehe
13:28 agentzh obra: i'm currently talking to a company in the New York city for a perl job :)
13:28 obra nice.
13:29 agentzh maybe i'll work as a blog engineer there.
13:29 agentzh not sure if i'll be able to use Jifty at $work
13:30 obra *nod*
13:30 agentzh :)
13:30 agentzh more companies are using catalyst and plain CGI.
13:33 agentzh sigh
13:34 wapiserv100 joined perl6
13:35 agentzh audreyt: it's so wonderful to see the smartlinking stuff in your YAPC::Asia slides. :)
13:36 agentzh and it's also nice to see 0 broken links in the pugs test suite for months.
13:37 moritz agentzh: there is one commented out in t/closure_traits/pre_post.t that I couldn't get working
13:37 agentzh mortiz: i'll look into that. thanks for the info :)
13:38 agentzh *moritz, sorry
13:38 moritz agentzh: thanks for looking ;-)
13:38 agentzh my pleasure
13:39 bernhard joined perl6
13:42 miyagawa joined perl6
13:44 agentzh moritz: fixed
13:44 agentzh it should be L<S06/Subroutine traits/"Mark blocks that are to be unconditionally executed">
13:45 agentzh the section part after the first slash is not "Properties and traits" but "Subroutine traits".
13:47 agentzh up'ing
13:47 svnbot6 r15855 | agentz++ |  r403@agentz:  agentz | 2007-04-08 21:47:30 +0800
13:47 svnbot6 r15855 | agentz++ |  pre_post.t - fixed and uncommented a broken smartlink (moritz++)
13:47 moritz agentzh: ok
13:48 * agentzh admits the section part could be confusing.
13:49 agentzh according to the current POD parser implementation in smartlinks.pl, sections are not supposed to be nested. alas.
13:53 svnbot6 r15856 | agentz++ |  r405@agentz:  agentz | 2007-04-08 21:52:19 +0800
13:53 svnbot6 r15856 | agentz++ |  pre_post.t - forgot to remove some more
13:55 agentzh is there a clean way to eliminate the svk log header like "r405@agentz:  agentz | ..." ? i know i can modify the svk source code, but...
13:56 agentzh clkao?
13:56 agentzh audreyt?
13:58 gaal agentzh: --verbatim
13:58 lambdabot gaal: You have 1 new message. '/msg lambdabot @messages' to read it.
13:58 gaal @massages
13:58 lambdabot szabgab said 1d 7h 26m 47s ago: thanks, now Pugs builds
13:58 gaal yay.
13:59 Jedai joined perl6
14:00 agentzh gaal: thanks :)
14:04 agentzh gaal: "Unknown option: verbatim"
14:04 Limbic_Region joined perl6
14:04 agentzh gaal: does ' svk ci --verbatim -m "..." ' look right?
14:05 prly_ joined perl6
14:06 * agentzh wonders how to use the --verbatim option on the commandline
14:07 VanilleBert joined perl6
14:11 prly__ joined perl6
14:11 agentzh gaal: okay, got the answer from google. never mind
14:14 svnbot6 r15857 | agentz++ | smartlinks.pl - clarified that sections are not supposed to be in a nested structure in the POD
14:15 agentzh yay, it works!
14:16 agentzh unobe++ # for updating legacy smartlink syntax
14:16 moritz agentzh++ #smartlinks are cool ;-)
14:17 agentzh thanks, but the original smart linking idea is from nothingmuch, gaal, and others. i just implemented it in an elegant way :)
14:18 moritz agentzh: an unimplemented idea is far less worth than an implemented one ;-)
14:19 agentzh well, there *is* an old implementation. it's util/catalog_tests.pl. hehe.
14:21 prly___ joined perl6
14:21 agentzh but i don't feel quite comfortable with the outputs of catalog_tests.pl and hence a thorough rewrite :)
14:22 blackman joined perl6
14:22 blackman hello girlssssssss........ come pm...........;)
14:25 blackman is now known as blackman___
14:25 blackman___ hello girlssssssss........ come pm...........;)
14:29 prly joined perl6
14:32 blackman___ left perl6
14:34 agentzh @seen audreyt
14:34 lambdabot audreyt is in #perl6 and #haskell. I last heard audreyt speak 4h 11m 11s ago.
14:34 prly_ joined perl6
14:36 agentzh oh no! the synopses on the smoke server are completely corrupted.
14:37 marmic joined perl6
14:39 agentzh gaal: sorry, i haven't got the tuits to implement the hand tags for failing TODO tests in the smoked synopses.
14:40 prly__ joined perl6
14:43 nipotaway is now known as nipotan
14:44 VanilleBert left perl6
14:45 prly___ joined perl6
14:52 * agentzh thinks it'd be cool if smartlinks.pl supports Perl6 POD.
14:53 * agentzh begs Damian to replease his pod6 parser...
14:55 prly joined perl6
14:58 forsaken joined perl6
14:58 chris2 joined perl6
15:00 prly_ joined perl6
15:05 prly__ joined perl6
15:06 agentzh Hmm, in order to do full regression testing for smartlinks.pl, it seems that i'll have to "freeze" both the Pugs test suite and the Synopses...which will inevitably take up a lot of room...any thoughts?
15:07 [particle] agentzh: i'm not really here, but i'm thinking about # todo :platform<reason> in test files... we could have # spec :doc<section>, too
15:08 agentzh Hmm
15:09 agentzh ":platform" are referred to something like Win32 and Linux?
15:10 [particle] no, # todo :parrot<not yet implemented>
15:10 agentzh gotcha
15:10 agentzh they're smart comments :)
15:10 prly___ joined perl6
15:11 [particle] see this: http://svn.perl.org/parrot/trunk/t/compilers/pge/perl6regex/rx_captures
15:11 lambdabot http://tinyurl.com/2dcclo
15:11 agentzh [particle]: looking now
15:11 [particle] there are pugs and pge todo's here
15:11 [particle] the parrot test harness processes these correctly... pugs does not yet
15:12 [particle] (i think)
15:12 [particle] once pugs does process it, then this file can be shared between implementations freely
15:12 [particle] pugs tests must be converted over to this style of todo so parrot can share them, too
15:12 agentzh [particle]: i like the idea :)
15:13 [particle] great! i'll have to get approval from larry... i'll likely write something up tomorrow
15:13 agentzh comments will put no burden on the perl 6 implementation under testing.
15:13 agentzh *onto
15:13 [particle] yep, just can't have line-based tests
15:14 [particle] need to use test descriptions
15:14 * [particle] runs off
15:15 prly joined perl6
15:21 prly_ joined perl6
15:22 cognominal joined perl6
15:32 cognominal left perl6
15:34 cognominal joined perl6
15:49 prly joined perl6
15:51 toshinori joined perl6
15:51 svnbot6 r15858 | agentz++ | smartlinks.pl - only prints hint when broken links are found
15:54 prly__ joined perl6
15:57 FurnaceBoy joined perl6
16:03 prly___ joined perl6
16:08 prly_ joined perl6
16:12 ashleyb joined perl6
16:14 lichtkind does anybody know when is the damian born?
16:28 nipotan is now known as nipotaway
16:54 agentzh is there a way to mock the system time?
16:56 Belaf joined perl6
17:02 lichtkind on wich os?
17:02 lichtkind or on pugs?
17:08 lumi agentzh: There's something called datefudge, apparently
17:16 amnesiac joined perl6
17:18 forsaken joined perl6
17:26 agentzh lichtkind: i need that to test the outputs from smartlinks.pl. i hope it can be portable.
17:27 agentzh lumi: thanks for the info. i'll do some googling.
17:28 agentzh ah, datefudge is a UNIX tool, it seems :)
17:32 gaal agentzh: do you need to just mock the gmtime at 494?
17:33 agentzh 494?
17:33 gaal line
17:33 gaal my ($sec, $min, $hour, $mday, $mon, $year) = gmtime;
17:33 agentzh right
17:34 agentzh or i just should mock that call.
17:34 agentzh what i really want to do is comparing HTML diffs.
17:34 agentzh the changing dates make diff'ing much more difficult.
17:34 moritz comparing diffs? second derivatives?
17:35 agentzh moritz: i mean text diff.
17:35 gaal is it? you could just preprocess them and elide the dates.
17:35 agentzh gaal: *nod*
17:36 gaal alternatively, since smartlinks already has a main() if ! caller, use a preloaded mocker that replaces gmtime...
17:36 agentzh gaal: sounds like a good idea :)
17:37 gaal sub gmtime { 1..6 } do 'util/smartlinks.pl'; main()
17:37 agentzh cool
17:38 agentzh i'll try this trick. thanks :)
17:40 lumi gaal: You sure? Replacing gmtime doesn't seem to do anything here
17:41 gaal CORE::gmtime maybe. no, I didn't test it.
17:41 lumi Still nuffin..
17:41 gaal huh.
17:42 agentzh lumi: you're right.
17:43 gaal interesting.
17:44 agentzh i'd better play with the diff outputs instead.
17:44 Psyche^ joined perl6
17:44 lumi gaal: Ran mentioned something about unoverloadable primitives, I guess this is one of them
17:45 * agentzh looks for a diff format parser on CPAN.
17:45 gaal ah ok:
17:45 gaal CORE::GLOBAL::gmtime
17:45 Psyche^ is now known as Patterner
17:46 gaal perl -le 'BEGIN { *{CORE::GLOBAL::gmtime} = sub { 1..6 }; } print gmtime()'
17:46 gaal ==> 123456
17:46 agentzh aha
17:46 lumi Hooray!
17:46 gaal you do need the begin here, though perhaps with 'do' you don't.
17:47 gaal (Perl 5)++, heh heh.
17:47 agentzh indeed :)
17:47 lumi Anything is possible, if you throw enough curly braces at it
17:47 esstone joined perl6
17:47 gaal what, CURLY is turing complete?
17:48 gaal getting something to drink, brb
17:48 gaal <- avoids dehydration
17:48 agentzh hehe
17:50 gaal "Eschew dehydration" is excellent advice for the working programmer
17:52 lumi Do Rehydrate Yourself
18:00 FurnaceBoy joined perl6
18:08 agentzh heh, preprocessing diff outputs seems to be much easier than mocking gmtime ;)
18:12 svnbot6 r15859 | agentz++ | added util/t/smartlinks2.t which serves as a regression test suite for util/smartlinks.pl
18:15 svnbot6 r15860 | agentz++ | util/t/smartlinks2.t - fixed the last failing tests
18:16 agentzh feedback on the passing rate of util/t/smartlinks2.t on your platform will be very appreciated :)
18:17 agentzh i've only tested it on ubuntu feisty, but it should pass on other OSes like Win32 as well.
18:19 agentzh In order to save room in the pugs repos, smartlinks2.t downloads the tarball containing the "freezed" pugs test suite, perl 6 synopses, and reference HTML outputs from feather itself.
18:20 moritz agentzh: which "freezed" test suite?
18:20 agentzh r15859
18:21 agentzh or r15858
18:21 moritz what's special about them?
18:22 agentzh well, they're not really special.
18:22 agentzh they've been frozen because i need to do regression.
18:24 agentzh smartlinks.pl lies on too many changing things and i have to freeze them somehow.
18:24 agentzh *relies
18:24 moritz agentzh: maybe you should explain that in the comments of the test file...
18:25 agentzh moritz: good idea
18:25 agentzh :)
18:25 moritz agentzh: and if it depends on a package that's not used anywhere else you should also mention that...
18:25 agentzh will do
18:25 moritz and perhaps add a hint to /INSTALL that they are needed for testing
18:26 moritz ok
18:38 dmpk2k joined perl6
18:43 svnbot6 r15861 | agentz++ | [util/t/smartlinks2.t]
18:43 svnbot6 r15861 | agentz++ | - added comments to clarify the indention and strategy for the regression
18:43 svnbot6 r15861 | agentz++ | test suite, suggested by moritz++
18:43 svnbot6 r15861 | agentz++ | - added comments for the extra non-core module dependencies
18:43 svnbot6 r15861 | agentz++ | - gives informative error messages when the non-core modules are not installed
18:46 svnbot6 r15862 | agentz++ | mentioned smartlinks2.t in smartlinks.pl
18:49 agentzh once Pod::Simple::HTML changes its output template, my test suite will break horribly :(
18:49 svnbot6 r15863 | agentz++ | util/t/smartlinks2.t - fixed the path problem
18:50 agentzh maybe i should "freeze" Pod::Simple::HTML too? like Module::Install bundles related packages?
18:51 agentzh (yes, either way is a pain)
18:57 agentzh 3:00 AM here. have to run for bed...
18:57 svnbot6 r15864 | agentz++ | INSTALL - removed trailing spaces on each line
18:58 agentzh &
18:58 agentzh /leave #perl6
18:58 agentzh left perl6
19:31 the_dormant joined perl6
19:36 nusgnaf joined perl6
19:50 mr_ank joined perl6
20:20 the_dormant joined perl6
20:30 eden_c joined perl6
20:33 Aankhen`` joined perl6
21:07 cognominal left perl6
21:07 cognominal joined perl6
21:33 ozo joined perl6
21:39 justatheory joined perl6
21:41 buetow joined perl6
21:51 SubStack joined perl6
22:24 drupek12178125 joined perl6
22:54 esstone joined perl6
23:00 ortmage_ joined perl6
23:04 zamolxes joined perl6
23:14 explorer joined perl6
23:16 rhr joined perl6
23:36 qmole joined perl6
23:37 qmole joined perl6
23:55 lisppaste3 joined perl6

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

Perl 6 | Reference Documentation | Rakudo