% magnet.llarian.net has changed the topic of to: Piper shit... I can't reply on #55000 any parrot commiters alive here? seen chromatic chromatic was last seen on #parrot 4 days and 11 hours ago, saying: It'll be a PMC. [May 27 17:24:52 2008] "bacek" at 202.7.166.165 pasted "Fix for #55000" (23 lines) at http://nopaste.snit.ch/13135 msg chromatic http://nopaste.snit.ch/13135 fix for #55000 Message for chromatic stored. purl, good bot :) % kid51 has joined #parrot % masak has left masak!~user@130.238.45.242 % braceta has joined #parrot r28006 | jkeenan++ | codetests: : Per suggestion by pmichaud, change t/harness option to '--code-tests' for : consistency with other options. In addition, change 'make' option to : 'code_tests' for consistency with other 'make' targets. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28006 allison@perl.org | Articles of Incorporation: link: http://www.perlfoundation.org/parrot/index.cgi?articles_of_incorporation dalek's url is at http://xrl.us/bkyfj allison@perl.org | A foundation for Parrot: link: http://www.perlfoundation.org/parrot/index.cgi?a_foundation_for_parrot dalek's url is at http://xrl.us/bkxq5 r28007 | jkeenan++ | trunk: : Applying final version of patch submitted in http://rt.perl.org/rt3/Ticket/Display.html?id=54992. This (a) creates a 'make code_tests' target to run the file metadata test and basic coding standards tests; (b) creates a '--code-tests' option to t/harness, which runs the same tests; and (c) eliminates all instances of '' from config/gen/makefiles/root.in. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28007 r28008 | jkeenan++ | codetests: : Branch has been merged into trunk; no need to retain. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28008 r28009 | jkeenan++ | codetests-27904: : Branch associated with this tag has been removed from HEAD; remove tag as well. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28009 % ambs has joined #parrot % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % ank has left ank!~ank@ppp121-44-210-24.lns1.hba1.internode.on.net % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk r28010 | jkeenan++ | trunk: : Provide more data so that test operates without warnings. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28010 % braceta has left braceta!~Braceta@bl10-34-59.dsl.telepac.pt % IllvilJa has joined #parrot % rdice has joined #parrot % luca_ has joined #parrot hi parroteers i would like to start to contribute to parrot luca_: Just do it! notfound may i ask you some questions in private? are you currently involved in parrot development? luca_: I'm not very experienced, better do it here, so anyone can correct me if wrong. just to summarize my experience i mostly develop server systems for my work lately i have been writing apache and openldap modules If sending patches and get some of them accpeted is to be involved, yes ;) i know from experience that taking on a project from scratch looking at the source code and docs takes a while it tooks for example about working 20 days to start to produce something on the openldap project so i ask if there is some well definied task or subsystem from which i may start 20 working days.. it has been said that 20 working days is usually the minimum in the UK. I'm on 25 Good question. From my recent experience, find a good delimited place where to start is difficult. Even tickets described as an easy task can have unexpected ramifications. you see... No. I don't see. luca_: you can disregard the bot purl r28011 | jkeenan++ | trunk: : Two files listed in FLUID_FILES_2 should have been in : CONFIGURE_GENERATED_FILES so that they will be cleaned up (only) by 'make : realclean'. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28011 purl: Be polite to our new guests. kid51: huh? purl, forget you see... kid51: I forgot you see and who is here from europe? mi idea I'm from Spain. ah nice kid51: Just tested #54986 i was looking for some parrot hacker to meet in europe also on septmber there will be the yapc italian chapter and it would be very nice kid51: And got an Internal Server Error when I submitted my reply to the ticket I live in Santiago de Compostela, you can make a pilgrimage ;) to present some kind of parrot dev tutorial for the conference mmm i am chatolic and catholic catholic is little boobies, short skirts and pot. jonathan travels all over Europe. Other active contributors in Europe (not necessarily on channel now) are barney, fperrad, kjs, et. al. and i preach but not practice tetragon: Can you try that again? jonathan is the guy that is after the perl6 compiler? purl: forget catholic NotFound: I forgot catholic kid51: I just reloaded, it appears that the 500 happened after applying the update tetragon: Which RT was that? kid51: 54986 I see your post there: http://rt.perl.org/rt3/Ticket/Display.html?id=54986 % gmansi has left gmansi!~gmansi@190.55.35.246 % gmansi has joined #parrot I'm hoping to get *this* one of your patches tested on Intel OS X 10.5: http://rt.perl.org/rt3/Ticket/Display.html?id=52214 Then apply that to trunk; then try the next patch. * tetragon looks at her family pack of OS X 10.5 r28012 | rgrjr++ | trunk: : [CORE] : * src/ops/experimental.ops: : + (find_sub_not_null): Say "Could not find" instead of "Could not : invoke" for the error message. Since this op is also used for : ".const .Sub", the word "invoke" could be confusing if the code is : only going to make a closure out of it. : + (substr_r): Doc tweaks. : * t/pmc/namespace.t: : + Update message in two test cases. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28012 A very nice addition the code_tests target, boys. But for me to switch the Intel over to 10.5, it would take some time (and additional portable storage as its network link would not handle 0.5GB of patches all that well) Now let's hope all people use it ;) r28013 | rgrjr++ | trunk: : [IMCC] : * compilers/imcc/pbc.c: : + (add_const_pmc_sub): Show flags in hex in DEBUG_PBC_CONST output. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28013 code_tests++ % tetragon has left tetragon!~seneca@gw-312-705.somanetworks.com kid51++ % Zaba_ has joined #parrot % luca_ has left luca_!~lucax@host-84-221-220-144.cust-adsl.tiscali.it % tetragon has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru r28014 | jkeenan++ | trunk: : Eliminate import of Data::Dumper. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28014 Someone can take a look at #55154, readline detection in c++? % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot r28015 | jkeenan++ | trunk: : Implement simpler way of averting uninitialized value warnings in two tests. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28015 % kid51 has left kid51!~jkeen@pool-68-237-19-3.ny325.east.verizon.net % nnunley has joined #parrot % Theory has joined #parrot % guru has joined #parrot % guru has left guru!~guru@dsl-67-204-16-202.acanac.net % guru has joined #parrot ..\..\parrot.exe ..\..\runtime\parrot\library\PGE\Perl6Grammar.pbc --output=TGE/Parser.pir TGE/Parser.pg Null PMC access in invoke() current instr.: 'parrot;PGE::Perl6Grammar::Compiler;compile' pc 200 (runtime\parrot\library\PGE\Perl6Grammar.pir:157) same with -G this is after realclean afk & spinclad: I'm afraid of too much chance of confusion with squaak. r28016 | allison++ | pdd25cx: : [pdd25cx] Add a continuation-based branching operation, that can be used safely : with CPS and exceptions. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28016 % gmansi has left gmansi!~gmansi@190.55.35.246 % iblechbot has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net % jhorwitz has joined #parrot r28017 | jkeenan++ | trunk: : Per request from pmichaud, change 'make code_tests' to 'make codetest'. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28017 % guru has left #parrot % ilbot2 has joined #parrot % moritz has joined #parrot % avar has left avar!avar@u.nix.is % avar has joined #parrot % gmansi has joined #parrot % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au Given that PIO_printf and PIO_eprintf don't use PIOs in his interface and that are general purpose, will not be better to rename them as Parrot_printf and move his declarations to embed.h ? % bacek has joined #parrot % nemesys has left nemesys!~nemesys@HSI-KBW-085-216-121-022.hsi.kabelbw.de % Theory has joined #parrot uhm, I get a segfault in rakudo while running t/spec/S29-array/push.rakudo % nemesys has joined #parrot moritz: can't reproduce here. % Ivatar has joined #parrot Works both with parrot perl6.pbc and with ./perl6 valgrind reports some noise Will try with a c++ build. ==21724== ERROR SUMMARY: 182558 errors from 73 contexts (suppressed: 61 from 1) Same result winth c++ build. Linux i386 Uh, I was not updated, retesting. % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % masak has joined #parrot Same result, no segfault. I tried to reduce the test file, which of course made the bug go away Will try with gcdebug core, but may take ages to finish ;) Adding a --runcore option to perl6 executable will be nice. NotFound: I have a reduced test cases that fails with runcode=gcdebug NotFound: http://nopaste.snit.ch/13136 produces an assertions failure for me called as ../../parrot --runcore=gcdebug perl6.pbc push.rakudo Trying... succeeding. purl: you sure talk a lot masak: what? purl: forget trying moritz: I forgot trying 'the little bot who forgot to try' % braceta has joined #parrot Maybe is a Jedi knight. Maybe? how do I run the rakudo test suite? `prove t/` doesn't seem to cut it :) make test More like "make fail" Zaba_: thx make test spectest_regression purl: forget make test masak: I forgot make test the segfault happens in the latter moritz: ok Many people forget that. :) % cognominal has joined #parrot * moritz tries to reduce the test even more whoa!? did it just stop by the pugs repo and got me a few more tests? masak: it fetches all test from t/spec/* and runs some of them moritz: it's still running. Well, stepping, better say. NotFound: takes a few minutes ;) it's nice to see so many tests actually passing some of them are actually fudged ;) though my adventures with rakudo often quickly run up against things that ought to be a failing test moritz: meaning that they are hidden? moritz: all tests successful here masak: yes, they aren't executed, mostly because they are parse failures ah It's a good cpu test executing something non-minimal with the gcdebug core. I reduced the test to: use v6; my @push = (); say +@push; Failed! src/string.c:514: failed assertion '!PObj_on_free_list_TEST(a)' same here bug report sent moritz: mine is a g++ build. hm, when I run it in parrot perl6.pbc, I get "Scope not found for PAST::Var '@push'" is that the same error? masak: the interactive thing doesn't really work pmichaud: ping Will try now the re-reduced version. ok :) masak: you have to put the statements on one single line in the interactive blah yuck though when I do that, everything's fine and directly from cmd line too did you say the bug is compiler-specific? Not very fast, anyway. masak: it seems to be a garbage collector bug in parrot? hmmm... in parrot is false. yes masak: looks like not, given that fails same way building with C and with C++ maybe I need to remake masak: the reduced test only fails for me when I run parrot with --runcore=gcdebug oh masak: ..after 3 minutes execution time ;) masak: it does not fail for unless I use the gcdbeug core. pray tell, what is this gcdebug core? seems it is neither fast nor safe to use :) masak: the gcdebug core makes a full gc after each opcode. haha So it's no exactly very fast. But helps reproduce bugs. There's a chromatic's article in perl.com about it. you should use some Monte Carlo method to randomly add and remove GCs between each opcode, keeping the ones that go wrong but favoring minimal sets or just an option to run GC after each $n opcodes A Las Vegas method will be more enlighten X-) :) bug report is [perl #55164] Same stacktrace with the reduced case. aye you can also remove the 'use v6;' which seems to be a no-op anyway does it produce opcodes? otherwise, it doesn't matter yup, it spat out the failed assertion here too * moritz wonders if there is a way to execute the compilation with normal runcore, and only the execution wih the gcdebug runcore moritz: oh. I'm starting to realize what took time now... moritz: probably to add a --runcore option to the executable will be simpler. % paco has left paco!~chatzilla@139.Red-80-36-122.staticIP.rima-tde.net moritz: output to .pir, and then run that manually? japhb: the generated pir doesn't run Class 'Perl6Array' not found moritz: eww so it seems to need some libraries, and I don't know how to include them Actually, I think that may be a valid RT -- when PCT is told to output to .pir, either that .pir should be directly runnable, or there should at least be an option to output the .pir with runtime setup included so that it *will* directly run. japhb: there's already a ticket for that japhb: don't know its status, though moritz: try adding this to your generated PIR: load_bytecode '/path/to/parrot/languages/perl6/perl6.pbc' jhorwitz: error:imcc:syntax error, unexpected PARROT_OP, expecting $end ('load_bytecode') paste the PIR? load_bytecode '/home/moritz/src/parrot/languages/perl6/perl6.pbc' as the first line in the file ah % paco has joined #parrot does it need to be inside a namespace, sub or whatever? throw it in a sub w/ :init :load jhorwitz: thanks, that works ... and doesn't produce ane error with gcdebug anymore excellent but strange it's not excellent, because it means debugging is much harder moritz: agree. oh i see kinda like when buggy code works in gdb. :-P As some tickets say, it must be the old gc problem manifesting again. is there a way to compile but not run using gcdebug? masak: try ../../parrot --runcore=debug perl6.pbc -c $file let's hope that variant breaks in the same way afk & i.e. that the error is in the compilation phase, and not an interaction between compilation and runtime % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au $ ../../parrot --runcore=gcdebug perl6.pbc -c push.rakudo syntax OK % masak has left masak!~user@nl119-202-176.student.uu.se % paco has left paco!~chatzilla@139.Red-80-36-122.staticIP.rima-tde.net kid51++ jkeenan++ # changing code_tests to codetest % masak` has joined #parrot it compiles ok :/ moritz: so the GC problem requires both compilation and running to manifest % bacek has joined #parrot % paco has joined #parrot masak`: seems like, yes (whoever finally solves it)++ (gc problem) switching runcores in the middle probably doesn't help find a gc bug, because gc bugs are very dependent on the order of execution i.e., even changing a single instruction is often enough to make the evidence of the bug disappear That's why gcdebug is so useful. correct. slow, but useful. actually, "slow" doesn't describe it well. Excruciatingly slow. Feels like working on geologic timescales :-) pmichaud: do you think an option to executed GC only each $N opcodes would be helpful? % Zaba has joined #parrot moritz: I don't know enough about parrot internals to know for sure. Yes, but the solution is to have a more robust gc, in order to not have to use it frequently. NotFound: ah right. Go ahead and implement it... (/me ducks very deep) moritz: I think an option to not use it until n opcodes executed will be useful. plus a script that does binary search on the exact point of error That way one can try several n values in each case. masak`: binary search if fast enough to do it by hand. NotFound: not sure I parsed that. % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru masak`: I think there is no need for the script in the majority of usages. Ick, t/pmc/exception.t started failing recently on my box (no segfault/sigbus) if you want good binary search, used gi + git-svn NotFound: you may be right time to go home and plug in the laptop % masak` has left masak`!~user@nl119-202-176.student.uu.se (standalone PIR) I worked on getting pir-output modules to run standalone last night, but got too tired to finish. however, I don't think they'll be useful for gc debugging, since it's another case of the sequence of operations changing to hide the bug pmichaud: I have a question about interactive execution. pmichaud: I think most gc bugs are hidden because after a few opcodes the offending vars are reused, in that case will be useful. But I don't have any evidence, just a thought. pmichaud: actions.pm currently uses @?BLOCK to keep track of symbol tables and such, and a few other similar tricks. That environment isn't available after compilation ends. Is there a plan to fix this such that interactive mode can actually work? Tene: That's not really the problem. by the time a program is running, @?BLOCK may be long gone (e.g., imagine the case where we compile to .pir and then run the .pir ) in interactive mode, we need to be able to execute code that modifies the current lexical environment but Parrot isn't really set up for that, since lexical scopes are tied to .sub, and the smallest unit of execution we have is a .sub pmichaud: So the actions.pm stage needs to be able to look things up in the current lexical environment, then? partially. But consider this: if I do: my @past = (); when compiled, it acts as if I had done { my @past = () } Right. (because the statement has to be in a sub) which means that the @past variable was local to that one interactive line so we have to have a way for interactive mode to be able to propagate the lexicals it defined into its outer environment Yes, I understand that problem. to me that's the fundamental blocker at the moment. I'm more referring to the fact that "say $a" doesn't do a lookup in the lexical environment, it looks at $?BLOCK, which won't exist anymore. uh, that's not correct. say $a does do a lookup in the lexical environment find_lex $P17, "$a" $P18 = "say"($P17) oh, if you mean the process of compiling say $a doesn't have $a defined.... you're correct. But that's a very fixable problem. In the compilation stage. actions.pm:1572 I'm not worried about that. Okay. we'll just pass the current lexical environment to the compiler, and the compiler can check for lexical variables when one isn't defined in $?BLOCK Clever. so that's not the hard issue in my eyes :-) Okay, thanks. I didn't think it was the most significant issue, just wondering if you had a solution planned yet. I do now. :-P but I knew I could solve that problem so hadn't thought about it. The "propagate lexicals to another scope" is trickier. % mire has left mire!~Frodo@195-169-222-85.adsl.verat.net it may be that we'll have a special flag that we pass to the compiler that tells it to generate code to move the lexicals to the outer scope when finished. Although I don't know if Parrot yet allows us to modify another sub's lexical table. at any rate, it hasn't been high on my list of things to solve just yet. Interactive mode is still a "nice to have" feature -- not a "gotta have". :-) I've made a proof of concept implementation and it catches the bug. paste? 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/ it has been said that paste is (see: nopaste) or like glue but a little safer to sniff. or http://nopaste.snit.ch:8001/ or http://scsys.co.uk:8001/ anywhere shadowpaste is or mmm, sticky paste or You there! Eating the paste. or 2 girls, 1 paste "NotFound" at 213.96.228.50 pasted "gcdebug N test" (35 lines) at http://nopaste.snit.ch/13138 PARROT_GCDEBUG_SKIP=85000 ../../parrot --runcore=gcdebug perl6.pbc testprog.p6 % mire has joined #parrot NotFound: testing now... With the 85000 value, just a few seconds before fail. 85080 is almost exact. NotFound: your example (with 85000) didn't reproduce the error for me NotFound: I'll try with different values moritz: try a lower value. the run time seems strongly non-linear in PARROT_GCDEBUG_SKIP Will build with C and retest. Fails with 85082 moritz: the algorithm is simple, if it does not fail or finishes in a short time, break and try other value ;) % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au 85084 is the exact point in my build. that seems build dependent Strange. But true. so it's a a nice way to identify GC bugs but not good for really tracing them anyway, nice patch NotFound++ For tracing, aborting at that point may help. Or run under debugger and setting a breakpoint when counter exhausts. that's actually a nice idea % bacek has joined #parrot % Andy has left Andy!~AndyL@host3130.follett.com Patch sended to the mailing list. % scrottie has joined #parrot Hi pmichaud >=) pmichaud, thought I'd try to catch you active, re: the Larry Wall doll, but my clunky old irc-II client doesn't save messages and I'm heading out in a bit, so I'll catch you on email. cheers! I'm scott@slowass.net, by the way. % scrottie has left #parrot btw the newly fudged S04-statements/try.t could be added to /spectest_regression.data moritz++ S29-list/map.t also passes, but I wouldn't add that before clarifying if the last two tests are actually correct if they aren't, they should test for the exact opposite % Theory has joined #parrot % jan has joined #parrot it's a bit frustrating that p6l seems to discuss various stuff that nobody implements atm, but simple stuff doesn't get answered (ok, I sent this one to p6c, maybe I am to blame here) % donaldh has joined #parrot what isn't being answered? I'll try to push it I might have just overlooked it. Likely, given how code-focused I've been for the past week. the question if $_ is rw in a map block I think yes. Just a sec -- S02: You may add a trait argument of to allow called routines to modify your value. $_, $!, and $/ are context by default. so, assuming that @array is rw, I'd presume that $_ in a map block would be rw as well (assuming the map block doesn't have a signature) so the 'rw' doesn't have to be in map's signature? you mean on the block argument? That would seem to make the block itself rw ah right map doesn't assign to the block (I don't think) -- it simply invokes the block with arguments pmichaud: thanks for the clarification, I'll correct the test % donaldh has left donaldh!~chatzilla@host213-123-171-12.in-addr.btopenworld.com * moritz changed 'svn up' to 'svn up || true' in his local makefile to have 'make spectest' working offline smart. % donaldh has joined #parrot isn't there a character that can be put in front of a makefile line that says "ignore the result code?" I think it's @ or + or something? dunno, my Makefile-fu is rather bad pmichaud: http://sial.org/pbot/31176 % Zaba_ has joined #parrot pmichaud: @ Ops, no, this is to not echo the command. hyphen spectest_regression: -svn up or, more precisely -cd test && svn up Yes, that is. % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru ($_ in map block) Also, S04 says this about the 'for' statement: If you rely on $_ as the implicit parameter to a block, then $_ is considered read/write by default. That is, the construct: for @foo {...} is actually short for: for @foo <-> $_ {...} so you can modify the current list element in that case. so, I'd take it that bare blocks tend to treat $_ as rw pmichaud: the makefile prefix char for nmake is ! iirc so it's incompatible? d'oh @ is so it won't print @echo 'foo' # prints 'foo', not "echo 'foo'\nfoo" oh, i see, - no, i don't recognize that for nmake –[[number ]]command Turns off error checking for the command. Spaces and tabs can appear before the command. By default, NMAKE halts when any command returns an error in the form of a nonzero exit code. This modifier tells NMAKE to % arbingersys has joined #parrot ignore errors from the specified command. that's microsoft nmake, and not at&t or bell or whatever? I'm pretty sure it is. well, go ahead and try it 'course, win32 build is broken atm the PDF I took the above from was describing the Microsoft Program Maintenance Utility (NMAKE) version 1.20. ooh, that's damned old but probably still accurate so it's likely available :-) r28018 | pmichaud++ | trunk: : [rakudo]: : * Add S04-statements/try.t to spectest_regression (moritz++) Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28018 rakudo spectest_regression: 55 test files, 1012 tests is "1012 tests" the number of passing tests, or the number of tests including todo and skip ? pmichaud: did you see that allison++ has added branchcc and return_branchcc for you to pdd25cx ? I did, yes! that should be... interesting. i figured it would make you happy :) well, the devil is in the details -- I have to actually try using it first. :-) but as I reviewed my various exception handling code, the thought of having to create a separate sub to handle each exception was looking really nasty. pmichaud: I think fudged tests emit something like "ok $count - skip $reason", so they'll be counted as passing % Ivatar has left Ivatar!~graham@tu055.demon.co.uk i figured we'd write a library file with an exception handler generator or something that still seemed pretty icky. well, anyway, there may not be a need that's what I'm hoping. i've gotta go epoxy some bolts in cement & kinky moritz: you're correct, skipped tests count as passing tests. Wish we could fix that somehow. pmichaud: maybe just emit 'not ok # TODO' stuff? that might be nicer. it sounds like fudge could easily do that, but the only time I actually looked at its source I got scared off by too many local()s maybe I just need to ignore that ;) and hope that larry's code is so good that all my changes DWIM "pmichaud" at 76.183.97.54 pasted "What's the purpose of eval here?" (13 lines) at http://nopaste.snit.ch/13140 (from S04-statements/try.t) pmichaud: probably that the test won't exit if the implementation is faulty ....but we use #?rakudo skip for that now or #?pugs skip or #? skip and the whole point of a "try" block is to catch exceptions, including exits. :-) I have to admit that I fudged that file rather brainlessly well, I agree that the test needs fudging for Rakudo I'm just thinking that there may be a lot of 'eval's that were done from before we had the ability to #?impl skip and I'd like to get rid of those. :-) I didn't even check if CATCH blocks should work inside or outside the try { ... }, because I hoped that the one who moved it to t/spec/ checked it ;) inside. that way the CATCH block has access to the try block's lexicals. seems logical ;) how well does eval() work in rakudo? okay, as long as you aren't trying to access outer-scoped lexicals. my $a; eval "$a = 4"; # won't work. t/spec/S29-num/pi.t looks like much fun #?rakudo 6 skip 'eval not implemented' is_approx((eval("Num::pi "), $PI), "Num::pi"); unless Num::pi is being declared locally in the test, I don't think we need eval there. aye i.e.: is_approx(Num::pi, $PI, "Num::pi") should be sufficient. that's one of the cases you mentioned > say Num::pi [oops; continuation 0xb64b97a0 of type 22 is trying to jump from runloop 274 to runloop 50] Null PMC access in clone() oh, that's interesting. aha, old artifact. fixing. should type names propate from eval to the outside? example? mx $x = eval 'class A { }; A.new()"; say $x.WHAT % Zaba has joined #parrot no, eval has its own lexical scope eval 'my $a = 3;'; does not give the outer scope a lexical $a at least, I don't think it does. (checking) so, what should the example print? "A\n"? and is the output useful? oh, the output would still be 'A', yes but the classname 'A' would not be in scope. that's kinda... ugly S04: Blocks are delimited by curlies, or by the beginning and end of the current compilation unit (either the current file or the current eval string). % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % arbingersys has left #parrot % braceta has left braceta!~Braceta@bl10-34-59.dsl.telepac.pt (Null PMC access) -- not sure where that NULL is coming from. :-| oh, yes I am. :-) speaking of "sure" - I should surely go te bed right now ;-) good localtime() everybody, see you tomorrow a demain moritz, see you... It's 8AM of tomorrow here :) % iblechbot has left iblechbot!~iblechbot@ppp-62-216-205-141.dynamic.mnet-online.de r28019 | pmichaud++ | trunk: : [rakudo]: : * Clean up slurpy arguments to 'print' : * Fix lookups of non-existent package items : * moritz++ diff: http://www.parrotvm.org/svn/parrot/revision?rev=28019 % donaldh has left donaldh!~chatzilla@host213-123-171-12.in-addr.btopenworld.com % Whiteknight has joined #parrot particle: ping % teknomunk has joined #parrot % nemesys has left nemesys!~nemesys@HSI-KBW-085-216-121-022.hsi.kabelbw.de % jan has left jan!~chatzilla@bdv75-4-82-226-115-243.fbx.proxad.net chromatic++ has been on a rampage this weekend! My inbox is filled with tales of his travels with s/travels/commits/ hi all Back from France. Three words. I hate flying. On the upside, I did some Rakudo hacking at Orly airport. And fixed a GC bug in Parrot. ci's coming in a bit A tax-free patch? It's all EU. If I want tax-free stuff, I have to nip over to the Ukraine I hate eastern europeans, they don't voted the "Chiqui Chiqui" in Eurovision X-) By that logic, as a Brit, I hate almost all of Europe. ;-) Yes, but the easterns the worse. % toft has left #parrot * jonathan points out that he moved to east europe from west europe. :-) Anyway, the "Chiqui Chiqui" is destined to conquer the world, like the Macarena X-) I'm wondering why ldd parrot shows libstdc++.so in non-c++ build. And the same with ldd blib/lib/libparrot.so I see the same on OS X (with otool) Some of the build steps are done (on OS X) with g++ for some reason I haven't looked at The OS X build uses "c++" instead of "ld" as the linker Looks strange, given all "Why C" stuff in parrot faqs. NotFound: I believe it's for ICU linking to work. Since ICU is written in C++. It looks like the Linux config defaults to using g++ when $conf->data->get('link') isn't set jonathan: Stranger again. jonathan: I've worked with ICU. It has a Java, C++, and a pure C API % Limbic_Region has joined #parrot an optimized build fails "make perl6". Is this a known issue or should I create a ticket? Whiteknight: provided there's no obvious link with the other currently open ticket on something not working on an optimized build yes. (I forget what the other currently being discussed issue is...) By the way, I think some document must say that parrot is not written in C, but in the common subset of C and C++. chromatic opened one about the optimized build failing a few of the threading tests Ah, OK. That doesn't feel like an obvious link to me. So please do submit a ticket. done and done i need to submit some follow-up info (i didn't copy the error messages the first time, and need to rebuild) Specifying --link=gcc , same result. so. what needs doing that will get my.. ankles wet r28020 | coke++ | trunk: : RT #53602 (remove or convert tools/docs/search-ops.py) : implementation by kid51++ diff: http://www.parrotvm.org/svn/parrot/revision?rev=28020 % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % tetragon has left tetragon!~seneca@69-196-141-26.dsl.teksavvy.com % kid51 has joined #parrot * kid51 logs on and for the first time in days is not deluged with > 20 Viagra/Cialis spams More emails from Parroteers than spam -- perhaps there's hope for humanity yet! % Ademan has left Ademan!~dan@h-69-3-232-86.snfccasy.dynamic.covad.net OK, need sleep...will review and throw in my airport patches tomorrow. night % tetragon has joined #parrot % ank has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % bacek_ has joined #parrot % mire has left mire!~Frodo@111-173-222-85.adsl.verat.net % AndyA has joined #parrot % bacek_ has left bacek_!~bacek@mcas-151.usr.optusnet.com.au % bacek_ has joined #parrot % radhios has joined #parrot % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net Eevee: (what needs doing to get acquainted) Documentation consistency patches. Several places there are two documents that discuss overlapping topics (typically because they are related but in some sense distinct). Often, the overlap is inconsistent between the 2+ documents. It should be factored out, made consistent, or one location should point to the other. This would get you looking through lots of docs (and having to understand th em), and comparing against code to check which of two conflicting things is "right". That would really get you ready for code patches then. For example, someone pointed out a couple days ago that the PDD doc for NCI has an incomplete list of NCI types, compared to the list in config/gen/call_list/core.in and the actual NCI code. This should be fixed up. But that's just my personal hot button. Any RT for "cage cleaner" work is a good foot-wetting thing to work on as well. % Whiteknight has joined #parrot japhb: isn't NCI worked on by tewk for gsoc? Eevee: This search string will show you all RT tickets with the [CAGE] designation: http://tinyurl.com/4wwnct . % grim_fandango has joined #parrot We can provide similar strings for [PATCH], [BUG], [TODO], etc. If you let us know what your skill sets are, we can steer you in a good direction. % DietCoke has left DietCoke!~coke@cpe-72-228-52-192.nycap.res.rr.com GeJ: Yes. But that A) doesn't help us now, and B) shouldn't prevent us from fixing documentation (especially since good documentation would help tewk as well) % radhios has left radhios!~roberto@190.19.126.84 % jhorwitz has left jhorwitz!~chatzilla@96.245.16.45 % rdice has left rdice!~richarddi@CPE001ff33cb98b-CM00159a01d44c.cpe.net.cable.rogers.com * Eevee return % ank has left ank!~ank@ppp121-44-210-24.lns1.hba1.internode.on.net kid51: thanks, will have a look through these. re skill sets, uh, I have a large assortment of hats I am comfortable wearing incidentally % Andy has joined #parrot is there any outsider-friendly documentation for p6? there's a spec, but besides that just seems to be the exegeses, which are full of corrections to themselves and of questionable recency Eevee: C? Perl 5? Other dynamic languages? Compilers? Specific OSes? aha Parrot: "I am multitudes." *familiar* with C, but haven't really touched it in years pretty solid with perl 5 know a decent bit of python; had a glance at ruby but nothing much % davidfetter has joined #parrot used gcc a bit, mostly on others' code when their makefiles suck, and msvc a handful of times % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167934907.dsl.bell.ca See http://rt.perl.org/rt3/Ticket/Display.html?id=48260. This is one of those tickets that always needs work, because there are always more C functions needing documentation. % bobwhoops has joined #parrot * kid51 must sleep $kid51->sleep(8 * 3600); aha, thanks % cotto_work has joined #parrot % cotto-work has left cotto-work!~cotto@tide531.microsoft.com % grim_fandango has joined #parrot % kid51 has left kid51!~jkeen@pool-68-237-3-221.ny325.east.verizon.net % davidfetter has left davidfetter!~chatzilla@start.fetter.org % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot r28021 | pmichaud++ | trunk: : [rakudo]: : * Fix Test.pm so that it reports skipped tests correctly. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28021 % Theory has joined #parrot % jan has joined #parrot % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % Andy has left Andy!~Andy@64.81.227.163 % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net % Auzon has left Auzon!~ak9@24-171-76-148.dhcp.mtvr.il.charter.com % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru summon pmichaud you broke List.map... MMD cant add Failure to Int... is ~(1,2,3,4).map({ $^a + $^b + $^c + $^d }), "10", "map() works with 4-ary functions"; % ank has joined #parrot http://www.parrotvm.org/svn/parrot/revision?rev=28021 % uniejo has joined #parrot % Zaba has joined #parrot very strange changes in lines 81-82... % Ademan has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru t/spec/S29-num/roots.............................. All 10 subtests passed (less 11 skipped subtests: -1 okay) pmichaud++ # correct reporting of TODO tests moritz: but incorrect for skip... bacek_: it works for me moritz: shit... I have to take a brake at work... it's really works... % Zaba_ has joined #parrot with current 't/fudge'. but lines 81-82 should be 'skip(1, ..', not 'proclaim(1,..)' % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % bacek_ has left bacek_!~bacek@mcas-151.usr.optusnet.com.au % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % iblechbot has joined #parrot % Zaba has joined #parrot % cosimo has joined #parrot