% Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com % Alias_ has left Alias_!adam@CPE-124-188-112-79.nsw.bigpond.net.au % Alias has joined #parrot % iblechbot has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % gabriel has left gabriel!~gabriel@c-76-126-210-9.hsd1.ca.comcast.net % AndyA has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.wa.comcast.net % particle has joined #parrot % cognominal has left cognominal!~cognomina@82.67.232.89 % particl1 has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net % kj has joined #parrot % wknight8111 has joined #parrot r26358 | fperrad++ | trunk: : [WMLScript] : wmls.ops : remove typeof(out PMC, invar PMC), since ppd15oo in pmc.ops : wmls*.pmc : add PMC* get_class() diff: http://parrotvm.org/svn/parrot/revision/?rev=26358 r26359 | fperrad++ | trunk: : [digest] : - add a wrapper of libcrypto : MD2, MD4, MD5, RIPEMD160, SHA, SHA1, SHA256 & SHA512 r26360 | fperrad++ | trunk: % iblechbot has left iblechbot!~iblechbot@ppp-62-216-205-60.dynamic.mnet-online.de % ruoso has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % AndyA has left AndyA!~andy@82.152.157.85 r26361 | fperrad++ | trunk: : [digest] : some codingstd diff: http://parrotvm.org/svn/parrot/revision/?rev=26361 % AndyA has joined #parrot % cognominal has joined #parrot % Coke has joined #parrot % iblechbot has joined #parrot % gryphon has joined #parrot % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se % marmic has joined #parrot r26362 | petergibbs++ | trunk: : Reduce valgrind noise. diff: http://parrotvm.org/svn/parrot/revision/?rev=26362 % wknight8111 has joined #parrot % davidfetter has joined #parrot The new ack pleases me greatly. % AndyAway is now known as Andy ooh, a midnight prerelease % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net anyone with windows want to grab 51732 ? % c9s has joined #parrot % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se % marmic has joined #parrot % c9s_ has left c9s_!~c9s@163.26.225.208 % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se r26363 | kjs++ | trunk: : [docs] add a note on :pasttype('callmethod') nodes. diff: http://parrotvm.org/svn/parrot/revision/?rev=26363 % marmic has joined #parrot Andy: new ack? What's new ... I was just thinking of a feature I'd like to have :-) PerlJam: Are you not on ack-users? no, I'm not. We have a feature freeze. but what is the feature i heard the feature was older than detaching. Andy: I'd just like a way to say give me all lines that match pattern A but exclude lines that match pattern B yeah, multiple regexes are on my wish list ack this --and that ack this --not that etc but that's a ways off. It would be swell if you could test 1.77_04 and make sure it works for you. and join the ack-users list. ;-) ETOOMANYLISTS but I may join anyway because I use ack so much. the bang/buck ratio will probably be good yeah, check the latest change log soooo much added since 1.76 I'm going to release the next as 2.0 Hmm. pobox seems to be timewarping my mail again. PerlJam: what do you mean? confound: eh, there just appears to be a longer-than-normal delay in my mail showing up. paste me some Received headers? Whenever I receive the email I'm expecting :) % jjore is now known as zz_jjore % zz_jjore is now known as jjore PerlJam: I don't see any mail waiting for you. though we successfully sent you mail 15 minutes ago. no one else cares about this, I can stop talking about it in #parrot oh, well maybe it's something else then. confound: thanks for checking though :) * PerlJam wanders off to get food. % Theory has joined #parrot % barney has joined #parrot % jrt4 has left jrt4!~bojangles@c-24-18-106-126.hsd1.mn.comcast.net % japhb has joined #parrot r26364 | coke++ | trunk: : [tcl] : Target 8.5.1, not 8.5.0 diff: http://parrotvm.org/svn/parrot/revision/?rev=26364 Congratulations to the "Patrick" getting married today (according to the P6 design meeting minutes). I'm assuming that's pmichaud? jaja % Khisanth has left Khisanth!~Khisanth@pool-151-205-119-118.ny325.east.verizon.net % Khisanth has joined #parrot Happy Wedsday pmichaud! * Coke wonders who he can bug about PCT in patrick's absence. ^_^ coke, what do you want to know? Let me read your article first. :) I am pondering converting tcl to use it, but have some concerns. oh good :-) Let me know if you have suggestions to improve writing style (not the least of which is not having touched it yet.) r26365 | kjs++ | trunk: : [NEWS] update some news items fromthe top of my head. diff: http://parrotvm.org/svn/parrot/revision/?rev=26365 you mean, a concern is that you haven't touched PCT? yes. oh, well that's easy then :-) other concerns include that tcl is not like other languages that are targeting parrot. barney++ (tcl) I need to be able to parse the program one command at a time (unlike how it's done currently); Also would like to have a nice way to deal with something like [if] which is a *command* in tcl, not syntax. be nice to treat it like syntax for as long as possible. not sure, but you can change/override the 'if' command no? yes. I guess the way to do that is to implement it as a built-in. For instance, if "if" is a command implemented as a sub, then you could bind the default implementation to the identifier "if", so you can rebind a new implementation later at runtime? yah, that's how it works now. I'm thinking at compile time. the runtime is pretty complex, be nice to move that complexity to PCT if possible. too bad I don't know Tcl that well. kjs++, thanks for updating NEWS kj: You're welcome to dive right in! barney: np, hope it helps a bit. I tried to do more but it takes quite a while to analyze what has been done. (seriously. I'd love to have someone other than me and mdiep to hack on tcl, even though I should probably be steering people towards rakudo) I'm reading a tutorial right now ;-) * Coke does a little dance of joy. oh, rakudo is too complex for me... kj: I'll do a bit of diff and mailing list reading tomorrow r26366 | coke++ | trunk: : [tcl] : remove extraneous includes r26367 | coke++ | trunk: : [tcl] crap. I didn't remove them, I just commented them out. * Coke finds some more to remove as penance. coke: i see you already implemented the grammar in expression.pg... is that thing just there for archive, or is it actually being used? r26368 | coke++ | trunk: : [tcl] : (really) remove some unnecessary .includes diff: http://parrotvm.org/svn/parrot/revision/?rev=26368 % mire has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net it's being used. It's old school PAST, though. i see % Theory has joined #parrot as far as i can tell, the command syntax is just a series of terms, the first evaluates to the command, the rest is then passed as arguments % Psyche^ has joined #parrot % particl1 is now known as particle % Patterner has left Patterner!~Psyche@e177113023.adsl.alicedsl.de % Psyche^ is now known as Patterner % parrot-poke has joined #parrot % ruoso has left ruoso!~ruoso@195.23.92.2 * particle heads offline catch you later & % particle has left particle!~particle@c-24-19-3-148.hsd1.wa.comcast.net % jrt4 has joined #parrot % rdice has joined #parrot r26369 | bernhard++ | trunk: : [Eclectus] : Support for Pairs seems to be broken. Disable tests for now. diff: http://parrotvm.org/svn/parrot/revision/?rev=26369 % davidfetter has left davidfetter!~davidfett@start.fetter.org % davidfetter has joined #parrot % davidfetter has left davidfetter!~davidfett@start.fetter.org % davidfetter has joined #parrot kj: that's pretty much it. some items we try to inline with our homegrown methods (see the .tmt files under src/) somewhere... but it would be nice if we could be more like other languages. I started a very basic implementation with the mk_language_shell script but there are many many little details to be considered. it's the little details that kill ya. :| yeah happy to answer any questions I can about tcl or partcl as you poke. Have fun. =-) speaking of mk_language_shell... , , and should probably be tokens, not rules. Coke: I'll have another look later.Have been looking at this screen for too long already today :-| But it can't be *that* hard, I should hope. Tene: you're right. I usually change them manually myself kj: (can't be that hard). That's what I told myself ... what, 7 years ago now? =-) heh :-) % barney has left barney!~bernhard@dslb-084-058-160-221.pools.arcor-ip.net % peeps[work] has joined #parrot % slightlyoff has joined #parrot oooh. I got a bus error in yy_switch_to_buffer can't easily duplicate the bus error sans tcl. % liona29 has joined #parrot % liona29 has left liona29!~liona29@d033.dhcp212-198-248.noos.fr coke: yy_switch_to_buffer error is probably caused by the macro stuff in tcl (you got it with tcl right?) % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl % japhb has left japhb!~geoff@76-191-190-8.dsl.static.sonic.net % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com japhb, spinclad: thanks for the wedding wishes (yes, it's today, in about 75 mins) happy wedding and better health thanks coke: you can bug me about PCT stuff -- I don't know how "absent" I'll be this week Paula was even talking about taking two laptops :-) afk % IllvilJa has joined #parrot % kid51 has joined #parrot % peeps[work] has left peeps[work]!~peepsalot@bwext.kpimdp.com % Ademan has joined #parrot % Ademan has left Ademan!~dan@h-67-101-40-175.snfccasy.dynamic.covad.net % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % Psyche^ has joined #parrot % Ademan has joined #parrot % Patterner has left Patterner!~Psyche@d122019.adsl.hansenet.de % Psyche^ is now known as Patterner r26370 | rgrjr++ | trunk: : * src/embed.c: : + (Parrot_readbc): fread returns size_t, so change the decalaration : of read_result to match. diff: http://parrotvm.org/svn/parrot/revision/?rev=26370 % iblechbot has left iblechbot!~iblechbot@113.18-dial.augustakom.net kid51: hey, while we're on the subject of codingstd tests... last Wednesday, I added perl_language_files to the list of stuff trailing_space.t checks, and fixed up 32 .pm and .pl files that were failing the test (in r26349) there was some mention here of adding .pir files to the list, too, and there are a couple hundred of those which fail. but that'll wait until after the release it's probably worth a review at some point to see if there's any other codingstd coverage tweaks we can do hmm, s/last Wednesday/yesterday/ Infinoid: I'm not really the expert on t/codingstd tests; ptc wrote most of them, I think. So I mostly just do little fixes on them. I don't know enough about the coding standards to be able to say how we should measure their "coverage". I don't think it's as "simple" as applying Devel::Cover or gcov. heh it has to be handled on a test-by-test basis, I think for c_header_guards.t, 100% would be each and every *.h file for trailing_space.t, probably everything in text format applies (except for test .output files) anyway, just thinking out loud I suppose As I understand them, the "test" fails if >=1 particular file fails the standard; and then those files are identified. And that's the sum total of the design. yep So getting good "coverage" means (a) identifying all the source files which ought to pass a particular test, then (b) ensuring that each file passes that test. Hence, it's not measured by %age of lines exercised by test suite; it's more file-focused than statement-focused. the question is whether the list of files tested by each test is comprehensive anyway, I'll start making noise about this next week * kid51 examines http://parrotvm.org/svn/parrot/revision/?rev=26349 % mire has left mire!~Frodo@183-175-222-85.adsl.verat.net Infinoid: Was it actually the case that perl language files were *not* covered by the no-trailing-whitespace standard until your patch? IIRC, I've been nailed repeatedly by that standard -- and everything I write is Perl 5. yes. actually, after I fussed with line numbering in that test, Coke nopasted a patch to add perl-language files, and also pir files there were quite a lot of pir files which failed it. I'm of the opinion that pretty much everything should pass it, unless it has a good reason not to. hell, Makefiles, yaml files, the whole bit anyway, r26349 is the first stage result of Coke's patch :) if you've been bit by it before, could it be that perl language files were recently removed from the test? Hmm, I see. I haven't paid too much attention to these tests because ptc was on top of them and because I've been focused elsewhere (configuration and build tools tests). Infinoid: Dunno. I'd have to do a checkout of that test from 3-6 months ago to see. Oh wait, let's see what svn log tells us. Well, I guess my memory was wrong. r21509 2007-09-24 only has my @files = @ARGV ? @ARGV : $DIST->get_c_language_files(); versions previous to r15477 had broken it out a bit more (pmc, yacc, lex, etc) but it was still pretty focused on C anyway, we'll soon fix that along similar lines, pdd07 says cuddled elses are forbidden, but we're only checking C sources for that. So, let me see if I understand this: the patch you're proposing in 51718 is consistent with the approach these files take, i.e., every file must pass the coding standard for the test to pass -- correct? yes, and it boils it all down to one test at the end and provides some nifty diagnostics (which are now *consistent*) if the test did fail the goal is reduced code duplication and consistent output, the behavior is otherwise unchanged. per mjd: Repeated Code Is A Mistake r26371 | chromatic++ | trunk: : [t] Avoid false negatives when checking for isxxx() functions. (The mention : here was previously a test failure, even though it's obviously not a C function : call. The C compiler will tell us if someone accidentally passes no arguments : to these functions. We only care if someone passes one, and that without a : cast). r26372 | chromatic++ | trunk: : [Rakudo] Cleaned up the use if isxxx() functions in Perl6Str PMC to pass the : coding standards tests. diff: http://parrotvm.org/svn/parrot/revision/?rev=26372 interesting % teknomunk has left teknomunk!~teknomunk@ubuntubob.residential.okstate.edu I think I remember now what was happening with those trailing spaces. ptc would run perltidy over the entire distribution, catching some trailing space in my files. When I would 'svn up', I'd be surprised to see that files I had written had changed. Inevitably, it was ptc catching me on trailing whitespace, cuddled elses, etc. ptc++ Ah, looks like c has fixed that file. I will re-test. % svnbotl has left svnbotl!diakopter@feather.perl6.nl % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com Infinoid: ping kid51: hi! Can you take a look at how chromatic patched t/codingstd/check_isxxx.t? After I did svn up with his commit, and then tried to apply your patch, the section of your patch pertaining to that file didn't apply cleanly. yeah, I saw he had changed it. I'll reissue the patch Cool. er, what killed svnbotl What always kills svnbotl. A big movement. In this case, my refreshing the tcif branch from trunk. This is the same problem it's had for months; nothing new. % svnbotl has joined #parrot poor pugs it can't keep up :D And that was basically just a big 'svn copy'. Watch, it will go out again when I do a big 'svn commit'. hrm. at one point I thought it died when its call to SVN::Web timed out (and SVN::Web failures would sort of explain the correlation with "large" commits). but I guess that's not it. diakopter: Would we get any better results if we re-implemented it in Perl 5? (I doubt Audrey's going to be available to revise the Pugs.) that sounds like a fun project. Hey, Infinoid. I like the trailing space test. It just caught two files of mine in the 'tcif' branch. # Trailing space or tab char found in 2 files:# /home/jimk/work/tcif/lib/Parrot/Configure/Options/Test.pm: 78 168# # /home/jimk/work/tcif/lib/Parrot/Configure/Parallel/Trace.pm: 63 100 132 134 145 166 188 210 236 260 284 316 357 Very useful output. awesome! hmmm... awesome is a plug for chicken broth rice. if svnbotl had proper child process handling so it wasn't blocked waiting for svn, it wouldn't time out like that, right? purl, forget awesome cotto_home: I forgot awesome I don't know enough perl6 to do that. but I can write it in perl5, if it would help Now, watch me make svnbotl disappear ... % lola22 has joined #parrot % lola22 has left lola22!~lola22@d033.dhcp212-198-248.noos.fr purl svnbotl svnbotl is a bit labil today, it committed suicide twice today ;) % svnbotl has left svnbotl!diakopter@feather.perl6.nl It will be back. kid51: actually all it needs to do is parse this: http://www.parrotvm.org/svn/parrot/log er, I mean, http://www.parrotvm.org/svn/parrot/rss if you wanted to reimplement it, I mean Infinoid: you too * kid51 has avoided learning rss ... for years awesome kid51: I'm sure we can find something on CPAN for that :) yep, looks like SVN::Web's timing out on r26377 don't anyone (additional) try it, please * diakopter waits while feather crawls Is the problem that it has to parse HTML? If so, couldn't it parse a plaintext version of the log instead? no; it's rss or atom; I dunno * kid51 wonders whether feather is just a Dell box sitting under somebody's desk all you need to do is write an HTML::Template-style template for its output for SVN::Web's output and I can add it as a theme or something like that if you wanted yaml or something well, I can't think about it anymore tonight, because ... * kid51 must sleep $kid51->sleep(8 * 3600); sleep well kid51 * Infinoid tosses something together to find out how hard polling rss really is % kid51 has left kid51!~jkeen@pool-70-107-6-222.ny325.east.verizon.net % Coke has joined #parrot Infinoid: good luck ooh, foreboding I wasn't being sarcastic :) % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com XML::RAI looks pretty simple, so I'm trying that % svnbotl has joined #parrot http://www.parrotvm.org/svn/parrot/revision?rev=26377 is finally ready/cached % svnbotl has left svnbotl!diakopter@feather.perl6.nl I didn't do it! % svnbotl has joined #parrot I have a 50 line perl5 script that seems to poll and parse http://www.parrotvm.org/svn/parrot/rss just fine waiting for someone to check something in, tho, to see whether it outputs a line for new checkins well, I'll implement it as a plugin to this (cool) perl irc bot framework I found whose coolness I can explain at some later time dalek: ping dalek: you're still alive :) "Infinoid" at 75.31.90.47 pasted "diakopter: here's what I got" (52 lines) at http://nopaste.snit.ch/12513 obviously, you're going to want to handle the polling loop in a different way. and replace print("new item: $last_top_id\n"); with something nifty and irc-ish :) the framework has its own timer/callback system yeah, I figured the rss object is $item, and its an XML::RAI::Item, so you'll want $item->contributor, $item->title, $item->link hope it helps. cool ->contributor gives the 'creator' attribute? oh, you're right. $item->creator ah http://search.cpan.org/~tima/XML-RAI-1.3022/lib/XML/RAI/Item.pm has a list of methods and the rss tags it pulls that data from (in order of precedence) this module seems to be a catchall to handle all the various flavors of rss-ish things. seems neat * diakopter also waits for someone to commit something * Infinoid looks around for something trivial to fix :) here we go looks like it worked here! r26378 | infinoid++ | trunk: : [tools] fix the following t/codingstd/perlcritic.t errors in tools/dev/vtablize.pl: : * TestingAndDebugging::RequireUseStrict : * TestingAndDebugging::RequireUseWarnings diff: http://parrotvm.org/svn/parrot/revision/?rev=26378 'i have a lot of lines with just a single C<}> on them. does this count as repeated code?' % Andy has left Andy!~AndyL@host3130.follett.com heh yes, we should add a #define PARROT_NAKED_RIGHT_CURLY_BRACE and replace them all mmm, curly braces % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com no, that would still count as repeated code. we need PARROT_NAKED_RIGHT_CURLY_BRACE_ to distinguish them. heh nono, see, we should just remove them entirely, and then write a special preprocessor to guess where to reinsert them before passing off to the compiler actually, it's the whitespace that is redundant, so you should just remove all of that. that'll certainly make the guessing more interesting :) % natacha29 has joined #parrot % natacha29 has left natacha29!~natacha29@d033.dhcp212-198-248.noos.fr % Ademan has left Ademan!~dan@h-67-101-40-175.snfccasy.dynamic.covad.net r26379 | chromatic++ | trunk: : [GC] Minor speed improvements and consolidations. diff: http://parrotvm.org/svn/parrot/revision/?rev=26379 % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net what's tcif? Thank Cthulhu it's Friday? % kid51 has joined #parrot