% bacek_ has joined #parrot hi again oh, you're back! % Zaba_ has joined #parrot % Auzon has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % Zaba has joined #parrot % luca_ has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % luca_ has left luca_!~lucax@78.13.109.216 % mire has joined #parrot % mire has left mire!~Frodo@111-173-222-85.adsl.verat.net % tetragon has left tetragon!~seneca@216.126.67.44 % avar has left avar!avar@u.nix.is % bacek_ has left bacek_!~bacek@mcas-151.usr.optusnet.com.au % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au % bacek has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % bacek has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au % Zaba has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % bacek has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % Whiteknight has joined #parrot % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % iblechbot has left iblechbot!~iblechbot@ppp-62-216-197-167.dynamic.mnet-online.de % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % rdice has joined #parrot % masak has joined #parrot pong d'oh, S29-str/comb.t only passes because all tests are fudged pmichaud: Did you think mutables were enabled in trunk, or disabled? As the value at the top of actions.pm is set to what the comment says it should be to use them. But in reality, they weren't actually being used. I haven't had a chance to update the comment why are they not actually being used? Because MMD was dispatching infix:= to Object.pir's one, which did copy. I'm not using MMD, I'm using method calls. I discovered then when implementing ro, rw, and copy for parameters... Hmm it's $target.infix=($source) instead of infix:=($target, $source) jonathan: how come `./perl6 -e '$_'` gives the error "too few arguments passed (0) - 1 params expected"? Somehow, we were ending up calling Object.pir's infix:= when it looked like it was a Perl6Scalar invocant. well, keep in mind that Object.infix:= can be called in some situations, such as values held in arrays Sure It was something in parameter passing though, I think. Or maybe I was confused. I was hunting an GC bug at the time too. ;-) Which I have a patch to fix. parameter passing doesn't go through infix:= yet -- although it will need to. That is high on my hit list OK. I will put in my is rw, is ro, is copy stuff for parameters. Got it working nicely here. % tetragon has joined #parrot excellent Well, on the laptop. on the laptop is fine. OK, I need to eat lunch. purl: forget on the laptop masak: I forgot on the laptop masak: Please submit a ticket about that. jonathan: oki I'm not sure why you'd usefully want to do what you just suggested. :) But I doubt that you're gettign the error you should be. $_ = 1; $_ # gives the same error jonathan: what I did was the minimal test case I produced I got the error in a larger script > $_ = 1; say $_ even that is errornous I think it's that $_ is causing the outer sub to have a parameter how sinister yes, it's a rakudo bug purl: parrotbug well, parrotbug is mailto:parrotbug@parrotcode.org or http://svn.perl.org/parrot/trunk/docs/submissions.pod or see also "rakudobug" purl: raukobug masak: i'm not following you... ehm purl: rakudobug rumour has it rakudobug is mailto:rakudobug@perl.org rumor has it right summon pmichaud pong pmichaud, hi there. You broke 'List.map' :) mmd cant dispatch __add to Failure I did? Or perhaps it was already broken and we just exposed the bug :-) No :) We discussed it few days before (using Undef vs Failure in map) is map using Failure? yes... 67199850 (pmichaud 2008-05-29 16:23:40 +0000 379) elem = new 'Failure' I thought that was used only in the case where we had an insufficient number of arguments which isn't (shouldn't be) the case in 06:02 is ~(1,2,3,4).map({ $^a + $^b + $^c + $^d }), "10", "map() works with 4-ary functions"; exactly. But MMD can't add 1 and Failure. But it can add 1 and Undef I ran across this the other day % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru more subtle my @a = 1,2,3; my $total; for @a -> { $total += $_ } ok, really eating now :-) yes, I know about that one. I'm not sure what to do about Parrot's opcode mmd I also get similar things with can't concat Perl6Str, Str % jhorwitz has joined #parrot I'm currently deep in mmd dispatcher trying to fix it. But it's not-so-easy-to-fix :) correct -- I'm not sure I understand the intent of Parrot's design there. % Zaba has joined #parrot % DietCoke has joined #parrot * DietCoke ~~ $ ../../parrot perl6.pbc > say Failure + 1; Segmentation fault (Core dumped) ouch... bacek: same with most any class I could come up with masak, yes... I see... mmd-- karma mmd mmd has karma of -3 mmd-- :) hmmmmm perhaps we need to be using 'add' instead of n_add still doesn't solve the Failure + 1 problem, though. "pmichaud" at 76.183.97.54 pasted "Failure + 1, small case" (12 lines) at http://nopaste.snit.ch/13144 jonathan: is there a particular reason why $IN, $ERR, $OUT, etc. are created as part of 'main' and not 'onload' in perl6.pbc ? "bacek" at 202.7.166.175 pasted "workaroung for 'Failure + 1'" (11 lines) at http://nopaste.snit.ch/13145 r28022 | jonathan++ | trunk: : [core] Fix a GC bug. A sub did not cause its current context to be marked, meaning that in turn the outer context wasn't marked. This caused LexPad instances to get collected and the memory re-used, leading to all manner of weird errors in find_name. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28022 (r28022) wow. nice catch. jonathan++ r28023 | jonathan++ | trunk: : [rakudo] Implement smart matching on junctions. Additionally, do some fixes to make say (1|2).WHAT work. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28023 r28024 | jonathan++ | trunk: : [rakudo] Fix name-o. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28024 pmichaud, btw, about last changes in Test.pm. Should lines 81-82 be actually skip(1, ...) instead of proclaim(1,...)? % tetragon has left tetragon!~seneca@216.126.67.44 r28025 | jonathan++ | trunk: : [rakudo] Make Mutable PMC aware of ro property. Also fix GC and memory leak in it. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28025 bacek: yes. pmichaud, fix it please :) and I think it should really be skip($reason, 1) instead of skip(1, $reason) .... but I need to check with particle for that. r28026 | jonathan++ | trunk: : [rakudo] Make is ro, is rw and is copy work on subroutine parameters. The default is now is ro, so trying to assign to a parameter not declared is rw or is copy will be an error. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28026 pmichaud: ($*IN and friends) Not that I can think of, though it must happen after the IO type has been created. maybe it should be part of IO initialization then? OK, that's all my airport patches checked in. :-) i.e., 'onload' in IO.pir ? Yes, that would work too. segfault with r28026 in /00-parrot/04-op-cmp.t bacek: r28027 r28027 | pmichaud++ | trunk: : [rakudo]: : * Fix optional argument forms of skip() in Test.pm. (bacek++) diff: http://www.parrotvm.org/svn/parrot/revision?rev=28027 % rdice has left rdice!~richarddi@CPE001ff33cb98b-CM00159a01d44c.cpe.net.cable.rogers.com jonathan: (junction .ACCEPTS) why isn't foo ~~ (2|3) simply the same as (foo ~~ 2) | (foo ~~ 3) ? btw, I noticed that 'grammars' was both in the ROADMAP (as things yet to be done) and STATUS (as things implemented by the compiler). if someone provides a clarifying statement about what is implemented and what isn't, I can turn it into a patch for ROADMAP I think we need some way of marking progress for each of the items on the roadmap i.e., perhaps ROADMAP and STATUS should be combined to show both. yes. pmichaud: It should be your patch seems to booleanify it Oh? Smart-match doesn't return a boolean? no. OK, that's news to me. What should it return? smart match may be used in boolean context, but it's not always a boolean return value (I think) OK jonathan: have you built parrot lately? % avar has joined #parrot I think the trunk I just checked in a patch against was from Saturday. Had no connection yesterday, and been doing other stuff so far today. ..\..\parrot.exe ..\..\runtime\parrot\library\PGE\Perl6Grammar.pir --output=PGE\builtins_gen.pir PGE\builtins.pg Null PMC access in invoke() current instr.: 'parrot;PGE::Perl6Grammar::Compiler;compile' pc 200 (..\..\runtime\parrot\library\PGE\Perl6Grammar.pir:157) i can't build with HEAD since about saturday sometime Ouch. gotta start work now, so can't look for a bit On Win32? yep OK, ouch indeed. I can't look right now either - need to do a bit of $DAYJOB before heading off to the Vienna.pm meeting. ok, i'll look as soon as i have time jonathan: you may be right about smartmatch returning a boolean (just looking at the table) pmichaud: BTW, any votes for what day I do my Rakudo day this week? all my days are open at the moment. OK I can't do tomorrow, other than that Wed/Thu/Fri are all fine. although wed-fri may be less desirable because kids will be home (school ends wednesday noon) :-) r28028 | allison++ | pdd25cx: : [pdd25cx] Move PGE off of bsr/ret. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28028 but I think wed-fri will work fine. Maybe Friday? The novelty of the kids not being at school maybe wears off by then? ;-) % Auzon has left Auzon!~ak9@24-171-76-148.dhcp.mtvr.il.charter.com pmichaud: that commit message from allison: did she coordinate that with you? DietCoke: no, but it's in a branch, and I'm looking at it now. it looks pretty innocuous. I would start to be concerned about the pdd25 branch diverging from trunk... but that's allison's problem at the moment :-) I also hope that taking continuations isn't much slower than the existing bsr/ret the whole reason for using bsr/ret was speed. well, luckily, it's a drop-in replacemnet even when spelled correctly r28029 | allison++ | pdd25cx: : [pdd25cx] Fix vtable call in branchcc op. so it should be easy to bounce back and forth and benchmark diff: http://www.parrotvm.org/svn/parrot/revision?rev=28029 % jan has left jan!~chatzilla@bdv75-4-82-226-115-243.fbx.proxad.net it may all end up being re-done in C anyway. hm, t/00-parrot/05-var-array and t/00-parrot/05-var hang for me repeated calls to mark_context() at src/sub.c:65, then dies at pobject_lives() Oh, ouch. Hmm. jonathan: x86_64, will paste backtrace nopaste? nopaste is at http://nopaste.snit.ch/ (ask TonyC for new channels) or http://rafb.net/paste or http://paste.husk.org/ or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ or don't bother me while I'm eating or App::Nopaste or tools/dev/nopaste.pl http://pasta.test-smoke.org/ or http://paste.husk.org/ or http://nopaste.snit.ch:8001/ or http://rafb.net/paste or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ Thanks. pmichaud: have a minute to replicate my pge build bug? particle: I can try, yes. "jhorwitz" at 96.245.16.45 pasted "jonathan: test backtrace" (16 lines) at http://nopaste.snit.ch/13146 cd compilers/pge rm PGE/builtins_gen.pir (diverge) she's been keeping it relatively updated to trunk. moreso than I have with the type_ids branch. =-) ../../parrot --runcore=gcdebug ../../runtime/parrot/library/PGE/Perl6Grammar.pir --output=PGE/builtins_gen.pir PGE/builtins.pg particle: okay, finished. no Null PMC access in invoke() ?? particle: no aargh! % gryphon has joined #parrot do I need to svn up or something? Although I did that this morning (but not after jonathan's latest patches) no, it's been happening for a few days maybe you need to have less of parrot built? iunno i'm booting ubuntu to check jonathan: if (!PMC_IS_NULL(ro) && VTABLE_get_integer(INTERP, ro) != 0) perhaps the second part should be VTABLE_get_bool ? get_bool++ % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % iblechbot has joined #parrot pmichaud: Yes, probably. Really? Probably? Are you Certain it's not certain? Are you sure it's unsure? I think you need to look harder. purl, forget probably masak, I didn't have anything matching probably purl, forget yes, probably masak, I didn't have anything matching yes, probably jhorwitz: Looks related to the GC fix I did, but that issue didn't show up here. Will have a closer look later. k % Whiteknight has joined #parrot % ank has left ank!~ank@ppp121-44-210-24.lns1.hba1.internode.on.net % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru jonathan: seems to me that this code in mark_context(): "if (ctx->caller_ctx) mark_context(interp, ctx->caller_ctx);" would recurse infinitely r28030 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] updating to trunk r28029 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28030 I'm getting infinite loop in make spectest_regression, also. and I'm getting segfaults before that % Zaba has joined #parrot t/spec/S02-literals/autoref has been running for over a minute now. * bacek getting segfaults too... pmichaud: based on the backtrace i guess my stack is getting smashed after X iterations (X being very large) I'm suspect r28026 OK, rip it out. I'll work out something better that doens't loop. The real work was in figuring out why we had the GC problem, not the patch... which one should be reverted? r28026 seems to be the ro/rw/copy patch, so I don't think that's it. i believe it's r28022 yeah, that seems likely. I'll try that. pmichaud: The GC one. the GC bug in sub? (as opposed to GC in mutable?) Yes r28022 is there a way to test if the context has been marked already? okay, reverted, building, testing, then committing. jhorwitz: No...they're not GC'able objects. crap why is nothing easy? ;-) * jonathan hopes this isn't going to be the start of a very nasty discovery about context handling. don't make me wake chromatic ...please! particle: I'll have another look when I get time. I understand the GC bug part of the problem, if not the context part yet. it *might* end up being a non-issue in allison's pdd25 branch since a lot of that stuff is being reworked/re-examined. ooh, allison is up, bet we could summon her after reverting r28022, I get a ton of "cannot morph Perl6Scalar" errors in spectest_regression pmichaud: That's a result of some copy rather than assign operations, though I didn't think I'd checked in the patch that actually caused this to show. looks like it did. what should i do? s/copy/assign/ in a few places, like the undefine sub for one. It may be the new paramter handling that caused this to show. unfortunately, I have to take a break in a few minutes. (a break from rakudo, that is.) OK, I have to leave for Vienna.pm meeting in like 5 mins. grph. * jonathan didn't expect his patches to break *this* much. :-( % Zaba_ has joined #parrot r28031 | pmichaud++ | trunk: : [core]: : * Revert r28022 from jonathan, which was causing rakudo to get caught : in infinite loops. We'll need to revisit this patch later. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28031 well, I need to skip out for a bit, but can probably look at it again in 30-45 minutes from now. jonathan, fortunately there is many people that can blame you in couple of minutes after commit :) % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru jonathan, did the rest of your trip back went well? cognominal: Not really...there were delays, meaning I missed last bus back from the airport...and nobody around to suggest what to do. Note it was the bus by the company who did the flight. So they had to know there were people arriving late. So ended up having to get a taxi back. Which was...none-cheap. ouch Next time, I'll just take the train. % avar has left avar!avar@u.nix.is % avar has joined #parrot OK, time to go to Vienna.pm meeting... well, I got to spend more time with you and learning more about rakudo Yes, true. And I got to write some patches...that have broken lots. :-( OK, best go...don't want to miss the train! good luck good luck is all I can say. % avar has left avar!avar@u.nix.is % IllvilJa has joined #parrot % avar has joined #parrot % Zaba has joined #parrot * DietCoke grumbles at the build system. % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru what don't you like about the build system? at the moment, that I am unable to merge in changes from trunk to a branch. =-) (it breaks the build.) (this is regarding generating the ops.num file) I think I found a dance that lets me continue. whee. % Zaba_ has joined #parrot hurm. I bet the pure PIR tests we have are never being tested in any core other than the default. % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % uniejo has left uniejo!~uniejo@langebro.adapt.dk Yes, I've discovered that merging from trunk to a branch is a total pain I tend to not do it. but I'm in a situation where I don't have to :-) I didn't get to write about this in the email, but what I'll sometimes do is svn co trunk cd languages/perl6 svn switch branches/mybranch/languages/perl6 well, the problem isn't the merging, perse, it's that I did one thing in the branch, something else in the trunk, and the tools that regenerate the generated file don't seem to cope with doing both. that way languages/perl6 is coming from the branch, while the rest of my working copy is from parrot trunk In general, I don't find merging painful at all. but the fact that we keep generated files checked in confuses things, and the fact that we don't have an easy, consistent way to regen them all exacerbates it. pmichaud, that's actually a very novel solution! Since most of my work is happening in include/Parrot/ and src/gc/, that would save me a lot of hassle (which is why I want --maintainer to update *all* generated files that are checked in) especially since most of my merge conflicts occur in the overly-active languages/perl6 the problem with that approach is that no one else can easily work on your branch. (unless they follow the same convention) at that point, why not just make your branch be the languages/perl6 dir? % davidfetter has joined #parrot Whiteknight: yes, in your case you could do a checkout of your branch, and then svn switch trunk/languages overly-active? maybe we need to rate-limit pmichaud? ;) % rdice has joined #parrot but yes, that does mean that languages/ in the branch is not up-to-date, if anyone else tries to work in the branch. For most branches there are only 1 or 2 people working in the branch so coordination isn't always an issue. hey, I'm not the only committer to languages/perl6 ! r28032 | coke++ | type_ids: : svn merge -r26989:27250 : from trunk into the type_ids branch diff: http://www.parrotvm.org/svn/parrot/revision?rev=28032 ... that commit hasn't finished yet. annoying. (from my perspective) % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au * DietCoke starts up the next merge chunk. (sorry to do that in two chunks, but I needed to resolve my ops.skip problem and i wanted to do it with a smaller merge.) commits are cheap. % Zaba has joined #parrot DO NOT rate limit pmichaud!!! :) i don't understand why you have any merge conflicts in languages, Whiteknight, unless you're making changes there in your branch you cannot stop pmichaud's commits. you can only hope to contain them. r28033 | pmichaud++ | trunk: : [rakudo]: : * Temporarily revert r28026 so that trunk works while I refactor : parameter handling in a branch. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28033 % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru pmichaud: in runtime/parrot/library/PGE/Perl6Grammar.pir ~line 157: .local pmc stmtrule stmtrule = get_hll_global ['PGE::Perl6Grammar'], 'statement' stmt_loop: match = stmtrule(match) Null PMC access in invoke why would stmtrule be null? Those comments are out there. They can't be bargained with! They can't be reasoned with! They doesn't feel pity, or remorse, or fear. And they absolutely will not stop, ever... stmtrule would be null if ['PGE::Perl6Grammar'], 'statement' doesn't exist. yes, obviously. that's the question i should have asked i'd like to have a sensible error message for the case when statement doesn't exist i'm compiling TGE/builtins.pg here but that shouldn't happen. so, something's funky. right have you tried with -G? yes, no effect windows or linux? and it doesn't fail for you even with gcdebug windows a much better platform for finding gc and null bugs ...don't ask me why... Why? i'll do the svn update -r dance now * jhorwitz loves/hates x86_64 for finding all his bugs % Andy has joined #parrot x86_64 sucks/rocks particle: Perl6Grammar.pir:119 is the one that establishes the 'statement' rule and symbol. % bacek has joined #parrot that's part of the 'onload' sub. so, either that call is not working, or 'onload' isn't onloading, or something else is clearing out the 'statement' rule by the time the other code executes unless null $P0 goto not_null say "WTF!?!?!?!? 'statement' is NULL" not_null: doesn't trigger that line so, $P0 isn't null after the call to p6regex ...$P0 ? $P0 = p6regex($S0, 'grammar'=>'PGE::Perl6Grammar', 'name'=>'statement', 'w'=>1) oh, you could still be getting a value back for $P0 ah. hrm try testing ['PGE::Perl6Grammar'], 'statement' at that point. % Theory has joined #parrot % Zaba_ has joined #parrot yep, it's null r28034 | pmichaud++ | trunk: : [rakudo]: : * Temporarily switch off of using Perl6Scalar until we figure out : the assign/morph issue. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28034 okay, if it's null there, that means that p6regex isn't doing its job try adding 'target'=>'pir' to the set of options, and then say $P0 so $P0 = p6regex($S0, 'grammar'=>'PGE::Perl6Grammar', 'name'=>'statement', 'w'=>1, 'target'=>'pir') say $P0 blank line blank line is one that containt nothing but s try displaying $S0 before the call $S0 contains the heredoc text ...beforehand, and $P0 blank after so.... for some reason p6regex isn't compiling the regex properly but it's still returning non-null $P0 that seems fishy to me normally p6regex compiles all the way down to bytecode i.e., it compiles to PIR, then runs the PIR compiler on that the 'target'=>'pir' _should_ have caused it to stop at the PIR step, and then displayed the PIR that was generated i can try parse to display the parse you'll need to call _dumper($P0) instead of say % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru gotta load_bytecode, too what should i load, PGE/Dumper.pbc? yes, and dumper.pbc parse exists, moving on to PAST "VAR1" => PMC 'Eval' { ... } does that mean it worked? that means that 'target=parse' didn't. oh, sorry, missed "parse exists" PGE doesn't compile to PAST try target=exp ah, right exp, okay "VAR1" => PMC 'Eval' { ... } checking. checking is not the hard part here. ;-) target='pge::exp' (I'll be glad when I can refactor PGE to be more hllcompiler-like) * particle too ok, i get a tree back for pge::exp next step? next step is PROFIT. sorry, couldn't resist :) target='pir', but leave it as _dumper "VAR1" => "" that is seriously bogus. can i give you any nopasted output to help? how about turn on tracing just before the call to p6regex? might be a big long, though. s/big/bit/ 'tis will do seems likely to overflow my buffer (9999 lines) maybe email it to me, or post it somewhere? yo want the whole trace? I'm thinking is this particular error blocking your build (because it won't build TGE?) yes i can't work on rakudo or mk_language_shell unless i revert to saturday's build you're realcleaned and up-to-date on everything? ayep so, something broke on saturday i'm looking at the logs do we know which .... right. It would help to know which item broke the build. I'll look too for candidates. svn log -r {20080530}:HEAD --verbose | gvim - try r27970 config/building now % davidfetter has left davidfetter!~chatzilla@start.fetter.org that should pass. If it doesn't, that's a huge clue. fwiw, nothing has changed in PGE itself since 20080530 yeah, i know :( my next guess would be chromatic's changes on early sunday --- so try r27988 (er, that would be "late Saturday" for your timezone) ("early Sunday" in mine :-) 27970 failed okay, that's a huge clue. do you know what revision number succeeds? no, i'm gonna try 33 now if that doesn't work, i'll go back to friday not a lot happened on friday, either. I mean, -r '{20080530}:head' includes any commits that were made on Friday ah well, 33 is from friday, thoun er. then. correct. r27933 | pmichaud | 2008-05-29 23:35:34 -0500 (Thu, 29 May 2008) | 3 lines seems to still fail 33 fails? i didn't do a realclean you almost _have_ to do a realclean for this Some of that changes are patches from me. yeah, am doing now % jan has joined #parrot I'm going to need lunch soon :-( hear hear! here here! :) particle: are you doing realclean on 33 or 70? Did you do realclean on 70 before? r28035 | pmichaud++ | rakudoparam: : [rakudo]: : * New branch for refactoring parameter variables. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28035 i did realclean 70 okay, so my "big clue" stands. just realcleaned 33 and got failure "VAR1" => "" WTF!?!?!?!? 'statement' is NULL Null PMC access in invoke()NMAKE : fatal error U1077: ' you didn't revert the P6Grammar stuff? no, should i? statement is still null does 'svn status' show that as the only modified file? (in all of trunk?) yes except languages/perl6/t/harness okay, that should be safe. but that's totally unrelated so, how far back should we go? i'll try 27900 that only changes the class and object pmcs that could be it, though. (scanning log) you did a commit on r27921, so presumably it was working for you then also r27932 er, r279*23* but nothing of significance changed from r27923 to r27930 er, but nothing of significance changed from r27923 to r27933 well, I had better get some lunch -- haven't eaten since early yesterday ~~ bbiaw has someone changed imcc recently? I changed it a while back with the ".namespace []" thing. nevermind, another merge related issue with generated files. =-) (had to delete imclexer.c to get it to regen.) ... worse, had to re-touch the .l and .y files to insure those changes were more fresh than the other changes brought in from the merger. % masak has left masak!~user@130.238.45.242 % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot r28036 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] updating to trunk r28035. A number of merge conflicts that I wanted to tackle today and not leave until tomorrow. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28036 yeah, i had to do the same when I regenerated those files, had to touch them to ensure they were newer, so make would operate on them one of the reasons I'd like --maintainer to just regen _everything_ when we use it. =-) that imcc problem is very old, if not well-known I'll be happy if we can remove them as build dependencies. =-) create a replacement for imcc that doesn't use .l and .y files, and we can do that % jjore is now known as zz_jjore % zz_jjore is now known as jjore r28037 | coke++ | type_ids: : svn merge -r27251:28031 : Merge from trunk to the type_ids branch diff: http://www.parrotvm.org/svn/parrot/revision?rev=28037 % cjfields has joined #parrot pmichaud: regarding Str and trans(), I have noticed in PDD28 that trans() may be deprecated http://www.parrotcode.org/docs/pdd/pdd28_strings.html#Methods % ambs has joined #parrot cjfields: no problem, we can always roll our own if we need it actually that's one of the things that could easily be implemented in perl 6 so I'll wait until that's possible, then I'll have a go at it That's what I'm thinking. Probably will be ... d'oh moritz beat me to it cjfields: or you do it then, and I'll try to implement currying instead cjfields: I don't think we'll have a shortage of things to be implemented in pure perl ;) Okay. I have toyed with adding it in PIR (via Str.pir). Where would we add it in perl6? * moritz starts a list of things that can easily be implemented in Perl 6 I don't have that worked out yet but I'm getting very close. cjfields: it's not yet possible to write runtime/prelude in perl 6 I just need MD5 or some sort of uuid generator that PCT can use. I might break down and use Digest::MD5 as it is now rather than wait for a cleaner version. could always clean it up or fix it later. I have already started a simple p6 version of trans() so it wouldn't be too hard to add it in I'd say go with the p6 version if we have one % AndyA has left AndyA!~andy@82.152.157.85 we might want to implement the 'yada' soon. agree, the 'yada' would be nice whee. pdd25cx is now dying with a segfault building PGE. % AndyA has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net % barney has joined #parrot * DietCoke rants about the metadata failures in the merges in the type_ids branch in languages/perl6 There's a good reason to do them as one commit. :P purl, literal probably. spinclad: probably. =is= Really? Probably? Are you Certain it's not certain? Are you sure it's unsure? I think you need to look harder. purl, literal probably. spinclad: probably. =is= Really? Probably? Are you Certain it's not certain? Are you sure it's unsure? I think you need to look harder. purl, forget probably. spinclad: I forgot probably. * DietCoke imagines all the other purl users on this server are quite unhappy with our mods. no more snarks! no more character! even better, the property failure I'm getting isn't a result of the last few merges. which means i missed a merge somewhere. % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru * DietCoke grumbles. % Zaba has joined #parrot i could reinstate probably. ... seen allison allison was last seen on #parrot 12 days and 21 hours ago, saying: I've seen that, Infinoid++, [May 20 13:48:40 2008] surely that would help with merge problems... ....sigh... big pct addition coming up * pmichaud takes a short walk first. % slightlyoff has joined #parrot % autarch has joined #parrot % autarch has left #parrot % slightlyoff has left #parrot % sjansen has joined #parrot % TimToady has left TimToady!~larry@209.9.237.164 % TimToady has joined #parrot * DietCoke wonders if TimToady is a poisonous toad. .oO(ribbit) * particle tapes a "lick me" sign on TimToady's back DietCoke, done :-P ambs, thanks. =-) Coke is also a pest. okay, DietCoke. particle: ewwwwwwwwwwww DietCoke: must be a west coast sort of thing. :-) DietCoke, a big pest! :-P pmichaud: a fresh co of parrot builds. go figure. % Theory has joined #parrot something was out of whack then :-) i wish i knew what. coke: what do you think about a script that generates MANIFEST from svn?? could we use it to remove MANIFEST? don't we already have one? isn't that what mk_manifest_and_skip does? yes. particle has a good point then -- why not just do that at release time instead of in every ci? I think particle might mean as a post-commit hook. not post-commit hook don't ask me. I already opened the MANIFEST must die ticket years ago. svn del MANIFEST * barney never understood what MANIFEST in the repos is used for I think we do a MANIFEST check only if DEVELOPING doesn't exist. (in configure) no, the manifest check is done all the time. it's VERY noticable on windows, for example. =-) right, I think we *should* do a MANIFEST check only if DEVELOPING doesn't exist. otoh, having a manifest check is nice to make sure you got a complete svn checkout how about a makefile target to generate MANIFEST if it doesn't exist particle: still skipping the configure check? because at the time Configure.pl runs, Makefile doesn't exist. yes, but reconfigure could check it how about if Configure generates a MANIFEST, and makefile checks it or Configure generates a MANIFEST if it doesn't exist and then does a normal manicheck or.... if perl Configure.pl --release generated MANIFEST, and make release checked it, that'd be great particle: there have been sometimes where MANIFEST has let me know that some needed file is missing from my repository pmichaud: I'm happy with 'svn status', showing the state of the checkout s/repository/working copy barney: sure, but if I'm doing make realclean; perl Configure.pl; make and some file is missing from the repo, I might not notice it. pmichaud: there have been times when MANIFEST has let me know that somebody has added a file to his working copy but hasn't checked it in yet after they regenerated MANIFEST otoh, something probably wouldn't build, either, so... there are false positives and false negatives particle: in other words, you're saying that someone added a file to working copy, regenerated MANIFEST, and checked in MANIFEST but not the other file yes i'm working on two changes yes, I have that situation too. one, i'm ready to commit yep what can't "make release" generate MANIFEST ;-)? i.e., why would perl Configure.pl --release have to do it? in order to do the config checking * pmichaud checks 'make release' but, heck, make release can run reconfigure --step=manicheck or whatever it's called some tests do rely on MANIFEST being around, iirc so there will be breakage, but it should be fixable okay, I suggest a different approach simply have the Configure.pl step make a MANIFEST if DEVELOPING exists but leave MANIFEST in the repo huh? the only time that MANIFEST is a really a problem is when using Configure.pl we need manifest when developing *doesn't* exist *make* a manifest not check it you just said that some tests do rely on MANIFEST being around so, let Configure.pl create it if we're in an svn checkout MANIFEST is used for a ton of things, yes. that way it'll be up-to-date and it'll get committed at the next ci (distro tests, coding standard tests...) (if there are any changes) well, it means that you can't do 'make test' reliably without Configure.pl but it won't carp if someone is working from an SVN repo and the current MANIFEST is incorrect because MANIFEST will be out out- aargh we also have to consider whether or not we're supporting dev outside of svn. *out of date http://rt.perl.org/rt3/Ticket/Display.html?id=41386 * ambs . o O ( spammers ) % cjfields has left cjfields!~cjfields@newrad.igb.uiuc.edu so if you want to resurrect this thread, actually resurrect *this thread*. =-) % sjansen has left sjansen!~sjansen@64.207.31.107 the following tests appear to depend or use manifest 6 tests in t/configure/ doc/pod.t native_pbc/number.t all of the tests in t/manifest/ t/codingstd/gmt_utc.t t/codingstd/pod_todo.t t/codingstd/linelength.t t/codingstd/perlcritic.t codingstd/filenames.t t/distro/manifest.t t/distro/file_metadata.t a couple of tests in t/steps/ that's all. google++ google++ # units conversion "barney" at 84.58.148.48 pasted "weird difference between say and print" (17 lines) at http://nopaste.snit.ch/13147 does one have a newline? yup. given the completely different code paths there, that's not entirely surprising. i'd open a ticket on it, though, because it still seems wrong. % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % braceta has joined #parrot % davidfetter has joined #parrot * barney created ticket RT#55196 % smash has joined #parrot hello everyone oi, smash % davidfetter has left davidfetter!~chatzilla@start.fetter.org wasn't Configure.pl suposed to pick up and create Makefiles for new languages added via tools/dev/mk_language_shell.pl ? it creates the root.in; you might have to rerun the config step to gen the actual makefile. mebbe. "should" "should" is, like, maybe putting it a little strongly, but who cares correct i did all that, still no makefile no, Configure.pl doesn't do that mk_language_shell.pl doesn't do anything to modify the Configure.pl system configure.pl doesn't create a makefile? when did that change? Configure.pl only creates makefiles for the languages it's told to create makefiles for as given by config/gen/makefiles/languages.in, I think mk_languages_shell doesn't modify that list. last time i used mk_language_shell.pl i only had to rerun Configure.pl and make on the new language oh. the shell is deficient and doesn't update the global lgnaugaes target? well, I could be wrong about that, then. I don't think the shell should update the global languages target. pmichaud: i'm not 100% sure either not unless we know that the newly created language is also going to be committed into the repo the last step in mk_language_shell is system("$reconfigure --step=gen::languages --languages=$lclang"); that cause the Makefile to be automatically created but it doesn't cause Configure.pl to do it if re-run again. (I don't think it does that.) similarly, using mk_language_shell to create a language and then executing "make realclean" from Parrot root doesn't realclean the language shell, because Parrot's Makefile doesn't know about it. this all comes from a philosophy that there should be less coupling between Parrot's build system and the languages, not more. yes, but fixing it in pieces is confusing. the coupling is already there, and we're not hooking into it. because the hooks are very fragile/poor mk_language_shell just gets you a directory and gets you started it does not add the directory to the repo it does not add files to MANIFEST it does not update the Configure.pl targets (because then we'd want an equivalent abandon_language_script) (and we don't want a "svn commit" to accidentally check in Configure.pl that contains targets for a language that is not in the repo) % sjansen has joined #parrot bah if you specify the language path it *won't* create you the makefile that system line is under an unless ($ARGV[1]) { right, because the gen::languages step is useless unless the directory is languages/something r28038 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] added some basics for a dod run function. Mostly comments explaining what I would like to do and what I don't know how to do. gen:languages doesn't know how to do anything else. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28038 putting all the steps necessary to add it to the repo seems like a good idea, even if we disagree about when it should be run. yes, but you can alwasy specify languages/something *always you're welcome to improve the script. Just don't break it. :-) hehe better way to run it is plain: $ perl tools/dev/mk_language_shell.pl Foo that way you get the makefile and are good to go if I don't make it back for PS tomorrow, one of the usual suspects please stand in for me. % DietCoke has left DietCoke!~coke@cpe-72-228-52-192.nycap.res.rr.com % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167934907.dsl.bell.ca "After populating the language directory, the script attempts to run tools/dev/reconfigure.pl " I won't make it to PS tomorrow, Frankfurt.pm meeting, Nothing to report. _only_ if you don't specify the 2nd argument !! % cjfields has joined #parrot r28039 | bernhard++ | trunk: : #54148: [NEW] Add tools/util/dump-pbc.pl (weave PIR source and PBC disassembly) : Add testscript tools/util/dump_pbc.pl with a sanity test. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28039 r28040 | smash++ | trunk: : [dev/tools] : * don't wonder why makefiles are not created no more diff: http://www.parrotvm.org/svn/parrot/revision?rev=28040 % barney has left barney!~bernhard@dslb-084-058-148-048.pools.arcor-ip.net * smash & % jan has left jan!~chatzilla@bdv75-4-82-226-115-243.fbx.proxad.net % cjfields_ has joined #parrot % jan has joined #parrot % braceta has left braceta!~Braceta@adsl-b3-196-185.telepac.pt % cjfields has left cjfields!~cjfields@newrad.igb.uiuc.edu % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % Auzon has joined #parrot % cjfields_ has left cjfields_!~cjfields@cjfields.igb.uiuc.edu % rdice has joined #parrot % jhorwitz has left jhorwitz!~chatzilla@96.245.16.45 % japhb has left japhb!~geoff@76-191-190-8.dsl.static.sonic.net % davidfetter has joined #parrot % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % japhb has joined #parrot % paco has left paco!~chatzilla@139.Red-80-36-122.staticIP.rima-tde.net % Theory has left Theory!~Theory@207.173.77.239 % cjfields has joined #parrot % iblechbot has left iblechbot!~iblechbot@ppp-62-216-201-161.dynamic.mnet-online.de % Andy has left Andy!~AndyL@host3130.follett.com % kid51 has joined #parrot % Limbic_Region has joined #parrot * jonathan is back from Vienna % cjfields has left cjfields!~cjfields@cjfields.igb.uiuc.edu jonathan: Do you sometimes wake up and wonder which country you're in? kid51: Yes. However, Vienna is only 1 hour from here...I live very near to the Austrain border. ... and where do you live, so to speak? Bratislava, capital of Slovakia. Ah, but IIRC you're from the UK? Yes. Well, then you're the first Slovak I've ever met First person living in Slovakia. ;-) % teknomunk has joined #parrot But yeah, it's a less usual place to go and live. Did you originally move there for work? * kid51 has reached the point in life where he's beginning to regret having worked in only one country. ... and, for the most part, in one city. But we don't have EU passports here. I work from home, so I can live pretty much wherever, though being outside of Europe would be tricky for time-zone reasons. well, I have lived and worked in various places in the US - but only lived/worked outside the US in S. Korea (1.5 years) Here is well located for getting to a lot of the rest of Europe. I've generally been quite fond of central/east europe, fancied trying to learn a Slavic language and was pretty taken by Bratislava when I visited, so I figured I'd come hre for six months and see how it goes. If I get to like it, I'll likely stay for a while. And yes, EU makes it very easy to do things like this. :-) what is the work visa situation - do you have to pay local taxes? * Limbic_Region should have waited jonathan: Yes, particularly since the east-to-west span of what is thought of as 'Europe' has expanded so much since 1989 that is definitely cool There's no work visa, since it's all EU. although alas you are the *second* person living in slovakia I know of Taxes - gets fun, but the countries are all in tax agreements such that if the UK and Slovakia thought they should tax me, then I can count the smaller tax bill paid in one country as a write-off against the other. Anyone on channel now who was a Mac with 10.5 on intel? pmichaud: ping % Zaba has joined #parrot % mire has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % mire has left mire!~Frodo@19-169-222-85.adsl.verat.net % sjansen has left sjansen!~sjansen@64.207.31.107 % tetragon has joined #parrot % scrottie has joined #parrot pmichaud, if you don't mind, /msg me or find me on #moose if you wake up and see this. % rdice has joined #parrot % davidfetter has left davidfetter!~chatzilla@start.fetter.org % Theory has joined #parrot % ank has joined #parrot % mj41 has left mj41!chatzilla@pc-jurosz.ro.vutbr.cz % ank has left ank!~ank@ppp121-44-210-24.lns1.hba1.internode.on.net % ank has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % bacek_ has joined #parrot % workbench has left workbench!~workbench@adsl-068-213-211-142.sip.bct.bellsouth.net % workbench has joined #parrot % bacek_ has left bacek_!~bacek@mcas-151.usr.optusnet.com.au % bacek_ has joined #parrot morning everyone % japhb has left japhb!~geoff@208.201.228.107 % kid51 has left kid51!~jkeen@pool-70-107-11-27.ny325.east.verizon.net % japhb has joined #parrot % smash has left smash!~smash@gil.di.uminho.pt pmichaud++ for the P6object post pmichaud-- # for being an idle-butt % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % rdice has left rdice!~richarddi@CPE001ff33cb98b-CM00159a01d44c.cpe.net.cable.rogers.com % TiMBuS has joined #parrot % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au r28041 | coke++ | trunk: : [codingstd] : make t\codingstd\trailing_space pass. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28041 karma pmichaud pmichaud has karma of 1324 seen scrottie scrottie was last seen on #parrot 1 hour and 50 minutes ago, saying: pmichaud-- # for being an idle-butt karma pmichaud pmichaud has karma of 1324 karma police Arrest this man! (karma police)++ % cjfields has joined #parrot % cjfields has left #parrot % niteice has joined #parrot % tetragon has left tetragon!~seneca@69-196-141-26.dsl.teksavvy.com % tetragon has joined #parrot karma chameleon It comes and goes. instant karma? Auzon++ woah JIT karma % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net test #9 in t/examples/tutorial.t is failing r28042 | coke++ | trunk: : [docs] point more accurately at LWN diff: http://www.parrotvm.org/svn/parrot/revision?rev=28042 % nopaste has left nopaste!~opaste@202-154-105-237.people.net.au % TonyC has left TonyC!~tony@202-154-105-237.people.net.au % TonyC has joined #parrot % nopaste has joined #parrot "bacek" at 211.29.157.151 pasted "Fix of List.reduce for pmichaud to commit" (35 lines) at http://nopaste.snit.ch/13148 % tetragon has left tetragon!~seneca@gw-312-705.somanetworks.com % jan has left jan!~chatzilla@bdv75-4-82-226-115-243.fbx.proxad.net % uniejo has joined #parrot "bacek" at 211.29.157.151 pasted "Refactored version List.reduce for pmichaud to review." (103 lines) at http://nopaste.snit.ch/13149 % scrottie has left #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net % UltraDM has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot