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