Camelia, the Perl 6 bug

IRC log for #parrot, 2010-07-28

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:02 snarkyboojum joined #parrot
00:16 NotFound Confirmed that the build problems on Windows is that \ are not escaped since r48179
00:17 NotFound Someone more skilled with perl re than me should look at it.
00:18 chromatic Go ahead and revert it.  I think it's the wrong approach altogether.
00:18 NotFound Too late for me today, going to bed.
00:49 zostay joined #parrot
01:19 rurban_ joined #parrot
01:26 dduncan joined #parrot
01:32 Coke do we have any winders folks that could help pmichaud with fixing 'ufo' for windows?
01:35 kthakore ufo?
01:35 purl ufo is a major influence on chip's 'future' imagery or a great 70s hard rock band from England that didn't get nearly enough acclaim.
01:36 sorear ufo is also the Perl 6 MakeMaker prototype
01:36 purl okay, sorear.
01:37 kthakore sorear: ufo? weird name though
01:37 sorear the perl 6 people love wierd names
01:53 dalek rakudo: 2808a52 | (Solomon Foster)++ | src/core/Int.pm:
01:53 dalek rakudo: Add Int versions of infix:�==�, infix:�!=�, and infix:�<� which go
01:53 dalek rakudo: directly into PIR.
01:53 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/2​808a5253485e8ac75fbbf2bb3bd95c45ad4b361
01:53 cotto ~~
01:54 chromatic Takers welcome for incoming....
02:02 PerlJam chromatic: incoming what?
02:02 purl duck!
02:04 dalek tracwiki: v2 | chromatic++ | FixingPIRVtableOverrides
02:04 dalek tracwiki: added task list
02:04 dalek tracwiki: http://trac.parrot.org/parrot/wiki/FixingPI​RVtableOverrides?version=2&amp;action=diff
02:08 snarkyboojum joined #parrot
02:18 bubaflub dukeleto: i just pushed some more stuff to the repo, all the tests in t/configure now pass
02:19 dukeleto bubaflub++ # nice work!
02:19 dukeleto bubaflub: have you tried a "make coretest" ?
02:19 bubaflub dukeleto: i'm running it now
02:20 dalek tracwiki: v2 | Util++ | splint
02:20 dalek tracwiki: Add formatting to Splint Wiki page
02:20 dalek tracwiki: http://trac.parrot.org/parrot/wiki​/splint?version=2&amp;action=diff
02:22 dukeleto bubaflub: sweet. gist the results when you get them
02:27 bubaflub dukeleto: bahahahahhaa
02:27 bubaflub All tests successful.
02:27 purl Time for a well deserved vacation, bubaflub!
02:27 bubaflub Files=215, Tests=6554, 76 wallclock secs ( 1.90 usr  1.04 sys + 30.40 cusr 21.00 csys = 54.34 CPU)
02:27 bubaflub Result: PASS
02:34 dalek website: gerd++ | Documentation and information collection
02:34 dalek website: http://www.parrot.org/scratch/docum​entation-and-information-collection
02:36 janus joined #parrot
02:41 * cotto crosses one thing off his todo list
02:42 cotto literal All tests successful.
02:42 purl cotto: all tests successful =is= <reply>Time to write more tests!|<reply>Time for a well deserved vacation, $who!|<reply>$who: that's because you wrote only one test, slacker!|<reply>That's great, $who! Now the only bugs that remain are the ones you haven't tested for yet!|<reply>pass(); ok(1); is(1,1); done_testing();|<reply>Are you feeling lucky?
02:42 Util_ gerd++ # Good job on the doc cluster
02:43 dalek parrot: r48193 | cotto++ | trunk/docs/project/support_policy.pod:
02:43 dalek parrot: update support policy with deprecation notifications
02:43 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48193/
02:43 bubaflub joined #parrot
02:46 LoganLK joined #parrot
02:50 ttbot Parrot trunk/ r48193 MSWin32-x86-multi-thread make error http://tt.taptinder.org/file/cmdout/359928.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
02:50 cotto that'd better not be my fault
02:55 pmichaud joined #parrot
02:56 bubaflub cotto: i don't think so, those windows errors have been popping up all day
02:56 cotto My change didn't touch any code.
02:56 cotto If that change broke the build, ...
02:59 bubaflub cotto: NotFound says it's r48179 (http://irclog.perlgeek.de/p​arrot/2010-07-28#i_2621088)
02:59 bubaflub that broke the build
03:10 cotto Time for some yak shaving.
03:12 fred joined #parrot
03:14 bubaflub dukeleto: so i think i should refactor all of my uses of FindBin into a separate module so we get something a bit more beautiful than the current patch
03:17 chromatic Feel free to revert r48179.
03:21 tcurtis joined #parrot
03:22 dukeleto bubaflub: that sounds good
03:22 bubaflub dukeleto: yeah, i'll think about how to best do that.  it needs to be a singleton that works similar to FindBin but has a few more features
03:51 plobsing joined #parrot
03:54 snarkyboojum joined #parrot
04:05 dalek parrot: r48194 | tcurtis++ | branches/fixing_pir_vtable_overrides:
04:05 dalek parrot: Create a branch for implementing chromatic's task list from FixingPIRVtableOverrides on wiki.
04:05 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48194/
04:14 somebody_ joined #parrot
04:34 dalek tracwiki: v14 | chromatic++ | LoritoDesignQuestions
04:34 dalek tracwiki: filled out lots of little details
04:34 dalek tracwiki: http://trac.parrot.org/parrot/wiki/LoritoD​esignQuestions?version=14&amp;action=diff
04:41 cotto Yay.  Some who's not me is editing that page!
04:42 cotto chromatic++
04:42 chromatic I added a short section at the top to explain the ultimate power.
04:48 cotto "supported" should be defined more carefully there.  It sounds like the VM should support those things (CPS, mmd, gc, etc) directly.
05:04 bubaflub joined #parrot
05:19 bubaflub joined #parrot
05:24 dalek tracwiki: v15 | chromatic++ | LoritoDesignQuestions
05:24 dalek tracwiki: cotto said "Wait, what supports what?"
05:24 dalek tracwiki: http://trac.parrot.org/parrot/wiki/LoritoD​esignQuestions?version=15&amp;action=diff
05:29 cotto yes, I did
05:30 cotto chromatic, what'd be a better fix than this:
05:30 nopaste "cotto" at 192.168.1.3 pasted "avoid prematurely collecting some pf-related strings" (52 lines) at http://nopaste.snit.ch/22362
05:31 cotto Without that, the names of the pf segments get collected and end up being printed as garbage (or better) by the time control flow reaches the debug segment.
05:32 chromatic Will look in a moment.
05:33 cotto thanks
05:40 bacek_really_at_wor joined #parrot
05:40 bacek_really_at_wor aloha, humans
05:40 cotto aloha, bacek_really_at_work_but_slightly_truncated
05:41 bacek_really_at_wor cotto, :)
05:42 chromatic cotto, are those strings really PMCs?
05:42 chromatic also, why do they get collected prematurely?
05:42 cotto they're not PMCs but that function only pretends to care
05:43 cotto I guess because nothing's marking them.
05:43 chromatic Right, I figured out the first question after I asked.
05:44 chromatic Fixing the marking seems better to me.
05:45 another_bacek migrating to Packfile PMCs is even better
05:46 cotto I knew you were going to say that.
05:46 cotto I'd prefer to get something fixed tonight though.
05:46 chromatic Why don't they get GCd prematurely when run through parrot, not pbc_dump?
05:46 chromatic Or does nothing in parrot use them?
05:47 sorear I suppose that's better than bacek_at_war
05:47 another_bacek chromatic: maybe -t4 use them. But unlikely.
05:47 cotto who says they don't?
05:47 chromatic bacek_destroy_all_humans
05:47 cotto I doubt anything normally looks at them
05:47 chromatic coke does occasionally complain that -tn doesn't work.
05:48 chromatic afk, loud television
05:48 cotto I CAN SHOUT SO YOU CAN STILL HEAR ME IF IT HELPS
05:55 cotto much better fix now
05:56 cotto and I broke the build
05:57 cotto after committing
06:00 cotto all unbroked
06:00 ttbot Parrot trunk/ r48195 i386-linux-thread-multi make error http://tt.taptinder.org/file/cmdout/359979.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
06:01 cotto stupid bird
06:01 dalek parrot: r48195 | cotto++ | trunk (2 files):
06:01 dalek parrot: keep packfile segment names from being GC'd until the segment has been destroyed
06:01 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48195/
06:01 dalek parrot: r48196 | cotto++ | trunk (2 files):
06:01 dalek parrot: partially revert previous commit, unbreak the build
06:01 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48196/
06:04 baest joined #parrot
06:05 cotto How nice that a GCable is created before the gc registry is initialized.
06:14 ttbot Parrot trunk/ r48196 MSWin32-x86-multi-thread make error http://tt.taptinder.org/file/cmdout/360025.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
06:16 uniejo joined #parrot
06:18 Casan joined #parrot
06:21 dukeleto (unbreaking the build)++
06:21 slavorgn joined #parrot
06:23 cotto I'm starting to think that bacek's approach is actually the faster and more straightforward one.
06:26 chromatic I don't see why they need registering.
06:26 chromatic Does nothing else in packfiles need marking?
06:27 cotto The GC gets hungry and I guess they look sufficiently delicious after a while.
06:28 another_bacek joined #parrot
06:28 cotto I had a similar problem with the profiling runcore
06:29 AndyA joined #parrot
06:31 chromatic How about marking names in find_const_iter()?
06:32 dduncan left #parrot
06:33 chromatic Do you have example code which shows the segfault?
06:33 another_bacek thawed constant strings allocated from constant pool
06:35 cotto That test I added shows the strings getting collected.
06:36 * dukeleto hopes that now that there is another bacek, stuff gets done twice as fast
06:36 * dukeleto spoke too soon
06:37 GeJ joined #parrot
06:37 chromatic cotto, I think I have it.  Testing now.
06:38 cotto I have a lta fix that doesn't break anything, but I'd love to see something better.
06:38 chromatic t/tools/pbc_dump.t (Wstat: 0 Tests: 7 Failed: 0)
06:38 chromatic TODO passed:   7
06:38 cotto good sign
06:39 cotto that's the one I just added
06:39 chromatic Is there a TT for this?
06:39 cotto nope
06:39 cotto It's related to 1127 indirectly.
06:41 cotto I just decided to dig into it today.
06:41 chromatic Incoming.
06:41 purl duck!
06:42 cotto thanks!
06:43 chromatic That gave me a chance to remove some ugly from that file anyway -- not much, but some.
06:47 chromatic Now truly afk for the night.
06:50 cotto g'night
06:51 dalek parrot: r48197 | chromatic++ | trunk (2 files):
06:51 dalek parrot: [pf] Added mark for packfile names.
06:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48197/
06:51 dalek parrot: r48198 | chromatic++ | trunk/src/packfile.c:
06:51 dalek parrot: [pf] Tidied code; no functional changes.
06:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48198/
06:51 ttbot Parrot trunk/ r48198 MSWin32-x86-multi-thread make error http://tt.taptinder.org/file/cmdout/360100.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
06:52 fperrad joined #parrot
06:56 dukeleto i would like to check that Devel::Cover exists at the beginning of "make cover", anybody have an idea for the best way to do that?
06:57 dukeleto i am thinking just do perl -MDevel::Cover and check $?
07:13 dukeleto some tests fail under "make cover" but not "make test". This is disconcerning.
07:14 dukeleto ah, i see. the profiler messes up some of the output occasionally
07:21 somebody__ joined #parrot
07:24 dalek parrot: r48199 | dukeleto++ | trunk/t/pmc/capture.t:
07:24 dalek parrot: [cage] Fix a coding standard test
07:24 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48199/
07:32 ttbot Parrot trunk/ r48199 MSWin32-x86-multi-thread make error http://tt.taptinder.org/file/cmdout/360196.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
07:32 somebody_ joined #parrot
07:58 cotto partcl?
07:58 purl partcl is tcl on parrot or http://code.google.com/p/partcl or git://github.com/partcl/partcl.git
08:01 dukeleto i keep getting "PackFile_unpack: This Parrot cannot read bytecode files with version 8.0" with PL/Parrot and it is driving me insane
08:03 * dukeleto deletes a bunch of stuff and tries again
08:05 moritz dukeleto: git clean -xdf # and rm -rf $parrot_install_location has helped me
08:05 moritz beware, it deletes all untracked files
08:06 dukeleto moritz: i just realized that my parrot_install_location had a bunch of crud I didn't expect, and blew it away
08:06 dukeleto moritz++ for the support
08:07 dukeleto moritz: yep, removing the install directory worked! good to know.
08:08 theory joined #parrot
08:08 moritz I just wonder why that happens. I thought the .pbc files were all in directories that contained the version
08:09 dukeleto moritz: the odd thing was, i would get that error on the first call to Parrot_new(), i wasn't even loading bytecode yet
08:10 dukeleto moritz: somehow, Parrot_new does something wrong and triggers that unpack error
08:10 moritz dukeleto: funny thing
08:10 purl funny thing is probably that the spam doesn't even link to real porn
08:11 dukeleto moritz: it may be the whole "fake a packfile" thing, but I barely understand how that works
08:16 dukeleto moritz: do you know of a way to programmatically figure out the location of perl6.pbc ?
08:17 dukeleto moritz: currently i have to specify it as an environment variable to PL/Parrot, but it would be nice if that didn't need to be the case
08:17 moritz dukeleto: it has a fixed relative path to the installed parrot... lemme check
08:18 moritz dukeleto: it's in $parrot_prefix/lib/$parrot_ver​sion/languages/perl6/perl6.pbc
08:18 moritz if it's installed (we need to educate our users to install it anyway
08:18 moritz )
08:20 dukeleto moritz: yes, i guess that is programmatic enough
08:21 * dukeleto runs the PL/Perl6 test suite for the first time in a few weeks and finds a new error message
08:21 dukeleto ==SORRY==
08:21 dukeleto Unable to find Perl 6 low-level runtime files
08:22 moritz dukeleto: did you run 'make install' in rakudo?
08:22 moritz you should :-)
08:22 dukeleto hmmml. rakudo tells me to install it first, but I am using the installed perl6.pbc
08:22 dukeleto moritz: yes, i am definitely using the installed perl6.pbc
08:22 moritz huh
08:23 * dukeleto learned that lesson enough times
08:26 dukeleto moritz: i think i have some LD_LIBRARY_PATH monkey business
08:27 moritz ugh
08:29 * dukeleto needs to remember to restart Postgres whenever he changes LD_LIBRARY_PATH but fails at doing that
08:34 dukeleto moritz: i fixed it. i was compiling against a different Parrot than --gen-parrot created, because my $PATH was incorrect
08:34 * dukeleto is now grateful for that error, instead of a coredump or having his hair burst into flames
08:35 moritz IMHO rakudo should always use the generated parrot (when configured with --gen-parrot), and not the one from PATH
08:35 dukeleto moritz: yes, but my PL/Parrot runs parrot_config to figure stuff out, and I didn't have the (correct) path to Rakudo's parrot_config first
08:36 moritz ah
08:36 moritz so not rakudo's fault
08:36 dukeleto moritz: so I was compiling with the wrong parrot_config info
08:37 dukeleto yay! PL/Perl6 still has 6 passing tests. I am excited to hack on PL/Parrot against Rakudo*
08:37 lucian joined #parrot
08:37 moritz dukeleto: Rakudo compiler freeze for R* is in about 9+1/2 hours
08:38 moritz wait, two hours more
08:38 * moritz is time-zone confused
08:41 * dukeleto is excited. After I go to sleep in a few minutes and then wake up, R* will almost be out the door ;)
08:41 moritz a well, compiler freeze != relase
08:41 moritz *release
08:42 moritz but still, release is tomorrow, fsvo tomorrow
08:42 * moritz is pretty excited about it
08:43 dukeleto moritz:  yes, i think many people are very excited, especially Parrot people
08:43 moritz especially Rakudo people :-)
08:49 dukeleto moritz: how do I turn a ResizablePMCArray into a Perl 6 Array, in PIR ?
08:49 dukeleto moritz: is that possible, or a fools errand?
08:50 moritz dukeleto: $P0 = '&infix:<,>'($P1, :flat)
08:51 moritz dukeleto: (from within the perl6 HLL - you might to obtain with with get_root or get_hll_global or so first if your namespace is something else)
08:51 dukeleto moritz: ooooh, shiny!
08:52 dukeleto moritz: i have the general issue of calling Perl 6 from PIR, and wanting to pass arguments to Perl 6 functions, but I have Parrot datatypes
08:52 moritz dukeleto: and for hashes tehre is '&CREATE_HASH_FROM_LOW_LEVEL"'(parrot_hash)
08:52 moritz that's nasty, yes
08:52 moritz we need to improve our HLL Interop somehow
08:53 dukeleto moritz: what about the basic data types like int, float and string?
08:53 dukeleto moritz: do those need any data marshalling?
08:53 moritz dukeleto: yes, otherwise some built-in methods fail to work
08:53 moritz &prefix:<~> for strings
08:53 moritz don't know about int/float
08:55 dukeleto moritz: the info you just told me about gives me enought to be dangerous :) thanks!
08:56 moritz :-)
08:59 dukeleto moritz: i am getting error:imcc:syntax error, unexpected ADV_FLAT (':flat')
08:59 AndyA joined #parrot
08:59 dukeleto moritz: i will try without it
08:59 moritz dukeleto: no, just omit the comma before it
09:01 dukeleto moritz: ah, after doing that, it finally tells me it can't find &infix:<,>, because I didn't get_* it
09:01 moritz dukeleto: from HLL then
09:03 dukeleto moritz: something like get_hll_global '&infix:<,>' ?
09:05 dukeleto moritz: that doesn't seem to work. i am not grabbing it from the correct namespace
09:06 moritz dukeleto: $P0 = get_root_global ['perl6'], '&infix:<,>' or so
09:08 dukeleto moritz: that did something! but now I am getting Parcel objects, does that sound about right ?
09:09 moritz yes
09:09 moritz parcel is a bit like an array, but read-only
09:09 moritz rakudo: say Parcel ~~ Positional
09:09 p6eval rakudo 2808a5: OUTPUT«1␤»
09:14 dukeleto moritz: i am closer, but @_ is still not being populated
09:15 dukeleto moritz: thanks very much for your guidance, i now have new shiny things to hit my head on, instead of old boring things :)
09:15 moritz try
09:15 moritz sub f(@a) { say @a.perl };
09:16 moritz and then call '&f'($your_Parcel)
09:19 dukeleto moritz: i will try something like that. my issue is that I am building up a string of Perl 6 from PIR, then executing it, but I am sure my wrapper code is wrong
09:19 dukeleto moritz: it was just the first thing that kinda worked
09:19 rurban_ joined #parrot
09:20 dukeleto moritz: i am doing : my $r = eval q<<< sub { ... } >>>; $r.()
09:20 dukeleto moritz: where ... is the perl 6 code that gets inserted
09:20 dukeleto moritz: my issue is that i am not passing anything into $r.()
09:24 dukeleto moritz: http://github.com/leto/plparrot/commit/d​80522c8d93f3c7d44409395c8aa8d28d3c98864
09:27 moritz dukeleto: you should really obtain the return value from eval, and invoke that with arguments
09:28 moritz dukeleto: or look into Perl6::Compiler, maybe that's easier to use from the outside
09:31 dukeleto moritz: i am getting the return value from eval, but i guess i don't know how to pass the arguments in, yet
09:31 dukeleto moritz: Perl6::Compiler may be a nicer solution to this
09:31 moritz if you just put the sub { ... } into the eval, the return value is the sub
09:31 moritz which you can invoke
09:32 dukeleto moritz: yes, that is what I am doing, but my parcel is a PIR variable. how do I reference it in a bit of Perl 6 code that is a PIR string?
09:33 moritz in the perl 6 code, you write a parameter into the sub
09:34 moritz p6code - 'sub f($x) { say $x.perl } '
09:34 moritz s/-/=/
09:34 moritz $P0 = eval(p6code)
09:34 moritz $P0($parcel)
09:37 dukeleto moritz: i think i am doing that, but obviously not correctly. $P0($parcel) does not seem to work
09:37 dukeleto moritz: i have to invoke the sub in the p6code, or else it just defines the sub but never runs it
09:38 moritz unless you return the sub from the eval, and invoke it from the outside
09:38 dukeleto moritz: and that is where i run into the issue of not having access to the PIR variable in the p6 codestring
09:38 dukeleto moritz: yes, that is what I should do
09:40 dukeleto moritz: i am doing $P1 = $P0.'compile'(code), and then $P2 = $P1(parcel), is that what you mean?
09:40 moritz yes
09:41 moritz oh wait
09:41 moritz maybe you need
09:41 moritz $P2 = $P1()
09:41 moritz $P2(parcel)
09:42 dukeleto moritz: i think that may be right, because I was getting a Perl6Sub returned
09:44 dukeleto moritz: WOOOHOO! It worked. I just passed variable from Postgres -> Parrot -> Perl 6 -> Parrot -> Postgres !!!!!
09:46 moritz \o/
09:48 dukeleto moritz: very very exciting. Just in time for R* !
09:50 dukeleto moritz: i just gave you a commit bit to PL/Parrot, just in case :)
09:51 moritz "he was helpful, let's suck him into our code base" :-)
09:51 * dukeleto is so excited that he goes to bed
09:51 dukeleto moritz: indeed!
09:52 moritz good night
09:52 dukeleto moritz: a great night indeed. see ya on the flip side
09:52 dalek plparrot: 704050d | dukeleto++ | t/sql/plperl6.sql:
09:52 dalek plparrot: Add a test for returning a function argument in PL/Perl6
09:52 dalek plparrot: review: http://github.com/leto/plparrot/commit/7​04050dfe491c783ce82fbbc9a0356da34959ec8
09:52 dalek plparrot: e018636 | dukeleto++ | plparrot.c:
09:52 dalek plparrot: Create a PMC_ISA macro
09:52 dalek plparrot: review: http://github.com/leto/plparrot/commit/e​018636ccbae3fcb0c57f1a146015753d4bb3156
09:52 dalek plparrot: 2985ab3 | dukeleto++ | plparrot.c:
09:52 dalek plparrot: Return 0 for Proxy or Any objects
09:52 dalek plparrot: review: http://github.com/leto/plparrot/commit/2​985ab39da5021e237b8392d057035df1bdb6f42
09:52 dalek plparrot: 731c74f | dukeleto++ | t/sql/plperl6.sql:
09:52 dalek plparrot: Refactor t/sql/plperl6.sql and add a test for multiple arguments
09:52 dalek plparrot: review: http://github.com/leto/plparrot/commit/7​31c74f152177a4f6a0b72a9a42b4770767a0cc6
09:52 dalek plparrot: 690db53 | dukeleto++ | t/sql/plperl6.sql:
09:52 dalek plparrot: Add another test to PL/Perl6 about argument handling
09:52 dalek plparrot: review: http://github.com/leto/plparrot/commit/6​90db531948a42b50ec89c3bf55aa6cc3d896145
09:52 dalek plparrot: 44a985f | dukeleto++ | plp (2 files):
09:52 dalek plparrot: Attempt to pass arguments in Rakudo
09:52 dalek plparrot: review: http://github.com/leto/plparrot/commit/4​4a985f123309783b43304bc4268cde93aba1ef3
09:52 dalek plparrot: 29a86df | (Jonathan "Duke" Leto)++ |  (2 files):
09:52 dalek plparrot: Merge branch 'master' into perl6_args
09:52 dalek plparrot: Conflicts:
09:52 dalek plparrot:   plparrot.c
09:52 dalek plparrot: review: http://github.com/leto/plparrot/commit/2​9a86df900225864d88f92bc60840e222c21d7df
09:52 dalek plparrot: d80522c | (Jonathan "Duke" Leto)++ |  (2 files):
09:52 dalek plparrot: Convert Parrot arrays to Perl 6 arrays, moritz++
09:52 dalek plparrot: review: http://github.com/leto/plparrot/commit/d​80522c8d93f3c7d44409395c8aa8d28d3c98864
09:52 dalek plparrot: bc5452c | (Jonathan "Duke" Leto)++ |  (2 files):
09:53 dalek plparrot: Marshall data into Perl 6 from Parrot, moritz++
09:53 dalek plparrot: We can now pass values into Perl 6 routines! This was accomplished by
09:53 dalek plparrot: defining a subroutine in Perl 6, and then executing and passing
09:53 dalek plparrot: arguments into it from PIR, instead of attempting to do that from Perl
09:53 dalek plparrot: 6.
09:53 dalek plparrot: review: http://github.com/leto/plparrot/commit/b​c5452c1b380c8350af18ed9f92eec4c57aa99fa
11:08 mj41_ joined #parrot
11:23 mj41_ joined #parrot
11:23 ttbot joined #parrot
11:32 preflex joined #parrot
11:33 mj41_ joined #parrot
11:53 Austin_Hastings joined #parrot
11:59 whiteknight joined #parrot
12:19 ruoso joined #parrot
12:28 bluescreen joined #parrot
12:46 Coke hey, IRC spam in parrotsketch.
12:46 Coke Can someone who understands IRC permissions whitelist people for that channel ?
12:46 Coke msg chromatic - not only do I occasionally complain about -tn, I occasionally fix it, too!
12:46 purl Message for chromatic stored.
12:48 Coke partcl is also http://github.com/partcl/partcl-nqp
12:48 purl okay, Coke.
12:59 Essobi Morning.
12:59 Coke guten morgen.
13:06 bacek joined #parrot
13:08 aloha joined #parrot
13:11 whiteknight_ joined #parrot
13:24 atrodo cotto> (about no one else editing the lorito document) I almost edited it, but then I realized I'd only be able to answer on how I would implement it
13:55 jjore_ joined #parrot
14:01 NOTevil joined #parrot
14:03 bubaflub joined #parrot
14:03 bubaflub left #parrot
14:06 jan joined #parrot
14:12 plobsing joined #parrot
14:17 dalek parrot: r48200 | NotFound++ | trunk/src/pmc/capture.pmc:
14:17 dalek parrot: mininal refactor of Capture.mark, no functional changes
14:17 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48200/
14:20 patspam joined #parrot
14:20 bubaflub joined #parrot
14:27 NotFound left #parrot
14:27 NotFound joined #parrot
14:27 ttbot Parrot trunk/ r48200 MSWin32-x86-multi-thread make error http://tt.taptinder.org/file/cmdout/360257.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
14:29 NotFound Coverity of string/api.c
14:29 NotFound /* ZZZZZ workaround for something not setting up encodings right */
14:29 NotFound 6954
14:29 NotFound A lot of a times for such workaround.
15:08 dalek parrot: r48201 | NotFound++ | trunk/src/string/api.c:
15:08 dalek parrot: use charset compute hash function when encoding has no its own, instead of blindly working around
15:08 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48201/
15:10 ttbot Parrot trunk/ r48201 MSWin32-x86-multi-thread make error http://tt.taptinder.org/file/cmdout/360314.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
15:21 dalek rakudo: 8049d92 | Coke++ | README:
15:21 dalek rakudo: Apply spirit of RT #70642, Courtesy Scott Penrose
15:21 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/8​049d92de151a63ffeba3cae8e7dc4d478a955af
15:27 dalek rakudo: 3fbd628 | (Tadeusz Sośnierz)++ |  (3 files):
15:27 dalek rakudo: Added IO::Stat, and a .stat method for IO
15:27 dalek rakudo: Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
15:27 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/3​fbd62810a27f6b5d64e7f7128892315600118c9
15:27 dalek rakudo: 7e8134c | moritz++ | tools/contributors.pl:
15:27 dalek rakudo: [tools/contributors.pl] avoid infinite recursion, general cleanup
15:27 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/7​e8134c58359af840a10317a32008d4f47184d70
15:32 Austin_Hastings joined #parrot
15:34 Austin_Hastings_ joined #parrot
15:36 dalek winxed: r583 | NotFound++ | trunk/examples/fly.winxed:
15:36 dalek winxed: make sure point of view is set before first draw in example fly
15:36 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=583
16:03 chromatic joined #parrot
16:07 cotto ~~
16:08 JaphMalik joined #parrot
16:10 Coke ~~
16:15 dalek parrot: r48202 | NotFound++ | trunk/t/pmc/exceptionhandler.t:
16:15 dalek parrot: test ExceptionHandler get severity values
16:15 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48202/
16:19 davidfetter joined #parrot
16:24 ttbot Parrot trunk/ r48202 MSWin32-x86-multi-thread make error http://tt.taptinder.org/file/cmdout/360365.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
16:27 theory joined #parrot
16:35 dalek plparrot: 66d9f9c | (Jonathan "Duke" Leto)++ | t/sql/plperl6.sql:
16:35 dalek plparrot: Make the fibonacci test take an input argument
16:35 dalek plparrot: review: http://github.com/leto/plparrot/commit/6​6d9f9c3f9d39a8941e17b2cde0dc40dbaba2d40
16:37 darbelo joined #parrot
16:50 dalek parrot: r48203 | darbelo++ | branches/gsoc_nfg (24 files):
16:50 dalek parrot: Sync with trunk
16:50 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48203/
16:55 nopaste joined #parrot
16:55 robin-gvx joined #parrot
16:58 cotto_work ~~
17:06 atrodo hey cotto_work
17:06 purl cotto_work is always at work
17:06 cotto_work you might think that.
17:06 cotto_work You'd be correct.
17:06 kthakore hehe
17:06 atrodo i had always wondered
17:06 kthakore cotto_work: what do you do?
17:06 atrodo "is he really at work, or is he just messing with everyone?"
17:07 NotFound Maybe his job is mess everyone.
17:07 kthakore atrodo: messing while at work
17:07 kthakore NotFound++ beat me to it
17:09 dalek rakudo: fe29cde | Coke++ | README:
17:09 dalek rakudo: README should be in text, not POD.
17:09 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/f​e29cde77e63c798bc7cf2a8c764d9ed012f2d27
17:18 rurban_ joined #parrot
17:19 hercynium joined #parrot
17:27 macroron joined #parrot
17:28 dalek plparrot: d70f086 | (David Fetter)++ |  (4 files):
17:28 dalek plparrot: s/CREATE FUNCTION/CREATE OR REPLACE FUNCTION/
17:28 dalek plparrot: review: http://github.com/leto/plparrot/commit/d​70f086dc012767988001beb6cd1fb78d4cddbf9
17:31 bluescreen joined #parrot
17:36 tcurtis joined #parrot
17:40 dalek parrot: r48204 | fperrad++ | trunk/config/gen/config_pm.pm:
17:40 dalek parrot: [win32] fix build (after r48179), handle backslash in string
17:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48204/
17:41 ash_ joined #parrot
17:45 [1]Casan joined #parrot
17:46 dalek plparrot: 73373be | (David Fetter)++ |  (3 files):
17:46 dalek plparrot: Drop languages before creating them.
17:46 dalek plparrot: review: http://github.com/leto/plparrot/commit/7​3373bed06db5db89a790d107820df0abe2eec3a
17:47 jnthn .oO( And throw mugs before creating languages. )
17:47 davidfetter heh
17:48 Coke I have a cache of nice mugs in my laundry room I could donate to the cause.
17:48 davidfetter what's shakin', jnthn ?
17:48 Coke s/nice/lame/
17:48 jnthn davidfetter: Earthquakes? :-)
17:48 purl UTC.  ,  ().  Magnitude , Depth  km.
17:48 * davidfetter in earthquake country
18:03 chromatic NotFound, where are you seeing new Coverity results?
18:04 NotFound chromatic: http://tapir2.ro.vutbr.cz/cover/cover-results/
18:05 chromatic Oh, coverage.  I thought you meant Coverity Scan.
18:05 NotFound Haven't gone that far,ç
18:06 NotFound coverage gives enough places to work
18:06 chromatic Their scans haven't resumed yet sadly.
18:12 PerlJam chromatic: Are you going to make your one article a week on perl.com?
18:13 chromatic I have some Rakudo interviews to publish
18:13 jnthn \o/
18:13 jnthn chromatic: I did actually get around to sending you mind, didn't I?
18:13 chromatic I believe so.
18:13 chromatic confirmed, jnthn.
18:13 jnthn OK, great.
18:14 jjore joined #parrot
18:14 jnthn I remember starting it clearly, then leaving it for a while, and couldn't quite remember if I'd got back to finishing it up and sending it. :-)
18:16 PerlJam chromatic: Will there be an article conincident-ish with the release of R* tomorrow?
18:17 chromatic I don't have anything ready for it, but I'd take something if someone or someones could make one.
18:18 PerlJam Whenever pmichaud finishes with the tarball, I may write something about obtaining and installing R* with an overview of what it comes with.
18:18 chromatic I'll work up a few paragraphs on what to expect and why it matters.
18:19 PerlJam chromatic++
18:47 cotto_work I suspect that TT #1127 is due to compilers/imcc/pbc.c +2266
18:47 dalek parrot: r48205 | NotFound++ | trunk/config/gen/config_pm.pm:
18:47 dalek parrot: set binary charset when build directory contains non ascii chars, first step to TT #1717
18:47 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48205/
18:50 hercynium joined #parrot
19:07 NotFound I wish this game for chistmas: http://www.nds9.com/nds_games/TC​G/4238___My_Pet_Parrot_4238.html
19:09 cotto_work chromatic: does replacing IMCC_INFO(interp)->ins_line with oldsize on that line look like a legitimate fix?
19:10 chromatic cotto_work, I don't understand the function well enough to say.
19:10 chromatic I can convince myself it's plausible.
19:10 cotto_work me too, but I'm gullible.
19:14 chromatic If all tests pass....
19:14 cotto_work I'll play with it some when I get home tonight.
19:14 cotto_work if nothing else, the debug segments look significantly less wrong
19:15 chromatic Less wrong is good.
19:15 chromatic We should rethink the debug mapping at some point; that'll speed up the profiling core substantially.
19:17 mtk joined #parrot
19:18 cotto_work all tests pass
19:18 purl Time to write more tests!
19:19 cotto_work At the very least, I want to write a test case for this.
19:29 cognominal joined #parrot
19:30 dukeleto is there a ticket for many tests failing under "make cover" yet, or should I make one?
19:31 dukeleto the coverage tools fiddle with the output and cause some test failures
19:33 AndyA joined #parrot
19:35 darbelo Ship it!
19:35 eternaleye joined #parrot
19:35 darbelo Gah. Wrong window.
19:41 whiteknight purl Ship it! is <reply>Ship this piece of garbage? Better idea is to go back and write a lot more tests
19:41 purl OK, whiteknight.
19:44 NotFound "Returns -1. It makes no sense to try and search for a substring in raw binary data" What?
19:48 darbelo NotFound: binary is the non-charset. It just holds data.
19:49 NotFound darbelo: for me it makes sense to search for data in data.
19:49 chromatic Certainly for magic (5)
19:50 darbelo Well, yeah. But AFAICT binary tries to discourage it's own usage.
19:51 darbelo "Hi, I'm the binary charset. Don't use me!"
19:51 NotFound darbelo: is near to reach that purpose with me, but I'm trying to resist.
19:51 NotFound I think I'm going to setup a stupid workaround.
19:51 dalek plparrot: e8d44d9 | (David Fetter)++ | html/index.html:
19:52 dalek plparrot: Updates for Rakudo Perl 6
19:52 dalek plparrot: review: http://github.com/leto/plparrot/commit/e​8d44d9a1fd0cfaf3b6e7f1052df760d21b7017c
19:52 darbelo Or we could implement searching in binary strings.
19:54 NotFound Let me know when it's done ;)
19:54 darbelo I'll put it on my GSoC TODO.
19:55 NotFound In the meantime I will try some workaround for TT #1717
19:57 dalek plparrot: 4b9ccb4 | (David Fetter)++ | html/template.html:
19:57 dalek plparrot: Added template.html
19:57 dalek plparrot: review: http://github.com/leto/plparrot/commit/4​b9ccb42955973b5b72f7541877db32b5888bef7
19:58 snarkyboojum joined #parrot
20:01 rurban_ joined #parrot
20:03 dalek plparrot: e9db30b | (David Fetter)++ | html/index.html:
20:03 dalek plparrot: Divided PLs out into their own pages
20:03 dalek plparrot: review: http://github.com/leto/plparrot/commit/e​9db30b24817d9b87375bb1fb911a6f7c5670811
20:05 pmichaud phone
20:05 bubaflub joined #parrot
20:05 Coke call.
20:05 Coke mmheheh.
20:06 Coke yay, someone submitted a patch to Modern::Perl instead of just complaining!
20:09 dalek plparrot: 8c87e64 | (David Fetter)++ | html/ (2 files):
20:09 dalek plparrot: Broke out language-specific files
20:09 dalek plparrot: review: http://github.com/leto/plparrot/commit/8​c87e64f5184a7ab610a779fa10df6c1d77b040a
20:18 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#35144), fulltest) at r48205 - Ubuntu 10.04 amd64 (g++ with --optimize)
20:27 darbelo NotFound: Amusingly enough, the ascii rindex (reused by iso-8859-1) looks suitable for use in binary :)
20:27 darbelo If the other functions in that class are the same you'll have a patch real soon.
20:27 NotFound darbelo: several ascii functions are suitable for moving to "common" or something alike.
20:30 darbelo It's a thin wrapper around Parrot_byte_[r]index() in src/utils.c really.
20:30 darbelo Easy enough to share for now.
20:45 darbelo Hah! tests fail if I make binary dtrt.
20:45 dukeleto PL/Parrot now has irc logs: http://irclog.perlgeek.de/plparrot/today moritz++
20:46 wagle joined #parrot
20:47 moritz btw if you want other channels logged too, just ask me
20:47 moritz it's very little effort to add one (especially if it's on magnet or freenode)
20:50 nopaste "darbelo" at 192.168.1.3 pasted "Make binary string [r]indexable." (101 lines) at http://nopaste.snit.ch/22401
20:51 darbelo NotFound: Does http://nopaste.snit.ch/22401 do what you need?
20:52 NotFound darbelo: I think so, but I doubt such a change will be accepted without a deprecation cycle.
20:53 darbelo That's why I nopasted instead of committing.
20:54 darbelo This wa related to a ticket, right?
20:55 darbelo I can attach it there.
20:55 NotFound TT #1717 but is not trivial to see the relation
20:58 darbelo Oh, we started treating treat non-ascii $PATH data as binary for config purposes so we could fix building on widows with CJK paths.
21:00 cotto_work That seems to make partcls
21:00 NotFound darbelo: that was just the first step. Working on the second I found this problem.
21:00 cotto_work 's profile less broken.
21:02 darbelo I can open a RFC ticket for the binary changes.
21:03 darbelo Other than that, I can't think of any real solutions.
21:04 NotFound darbelo: I think I've found a good workaround using Parrot_byte_rindex, thanks for the idea.
21:06 hercynium joined #parrot
21:07 NotFound This is a mess anyway, we need a better way to deal with file and directory names.
21:11 darbelo If Configure could find out what charset/encoding it's getting path data in half of this problem would go away.
21:12 chromatic Interpolating raw strings into a template for config_lib.pir is half of the problem.
21:12 NotFound darbelo: I can easily create a path than makes any guess fail.
21:13 darbelo NotFound: That's my point. Guessing isn't the solution.
21:14 NotFound And using binary isn't the solution, because people expect to able use filenames as strings, and parrot binary string have strong limitations.
21:15 darbelo Configure is the one writing that string down. It should also write down what the encoding/charset that string is in.
21:15 chromatic Should Configure look at Perl 5's locale settings?
21:16 NotFound darbelo: And what is?
21:16 NotFound I can write a path with some directories in latin-1 and some in utf8.
21:17 NotFound In fact, I have several like that at my job.
21:18 NotFound I have a workaround that builds parrot and pass tests except several from pct_complete_workflow
21:18 NotFound Checking now if it passes with ascii build path
21:19 NotFound The ones that fail gives "Malformed string" at some point, as one can expect.
21:25 NotFound All test pass with ascii path
21:28 pmichaud anyone who is interested in seeing (and commenting on)  early drafts of the R* announcement:  http://pmichaud.com/sandbox/2010.07.txt   (and join freenode/#perl6 if you have comments or suggestions)
21:30 cotto_work I appreciate the double meaning of ... in the feature list
21:32 cotto_work probably unintentional given that it's in both lists
21:33 NotFound nopaste?
21:33 purl nopaste is http://nopaste.snit.ch (works with the script in $_PARROT/tools/dev/nopaste.pl) or http://paste.scsys.co.uk or http://www.extpaste.com or http://gist.github.com or App::Nopaste or http://codepeek.com/paste/ or (: pastebot)
21:34 nopaste "NotFound" at 192.168.1.3 pasted "Workaround for TT #1717" (27 lines) at http://nopaste.snit.ch/22402
21:35 NotFound Opinions?
21:35 purl Opinions are like assholes. Everyone has one and it's usually full of shit.
21:36 chromatic I don't understand it.
21:37 NotFound CHARSET_RINDEX does not work with binary charset, so it short-circuits it.
21:37 chromatic It's just looking for a dot?
21:38 NotFound chromatic: yes
21:38 chromatic I was overthinking it then.
21:38 chromatic As a workaround it's not awful.
21:38 chromatic It'd be nice to avoid that strcmp if possible, but it's probably not.
21:38 NotFound A dot after the last slash
21:39 NotFound chromatic: no easy way unless accessing string internals.
21:39 NotFound And library.c already does that too much.
21:39 chromatic Can we make CHARSET_RINDEX work with binary charsets?
21:40 NotFound chromatic: that was last nopaste from darbelo
21:40 chromatic Fixing CHARSET_RINDEX seems cleanest.
21:41 NotFound chromatic: yes, but maybe pople want a deprecation notice for that.
21:42 bacek_ joined #parrot
21:42 chromatic For adding a feature?  Crazy talk.
21:43 aloha joined #parrot
21:43 NotFound chromatic: look at charset/binary.c, it does not work on purpose.
21:44 chromatic Right, but that's not a deprecation event as I see it.
21:45 NotFound I fear the deprecation policy chainsaw X-)
21:47 cotto_work My chainsaw seems to have backfired on me.
21:47 cotto_work ow
21:48 * darbelo decides to risk amputation.
21:49 cotto_work Is it likely to break anything?
21:49 darbelo AFAICT, no.
21:50 darbelo Except code like the last hunk of my nopaste.
21:51 GeJ Bonjour everyone.
21:51 cotto_work I'm inclined to go with chromatic.  If we're making code work that didn't work before (as opposed to ripping something out), that doesn't sound like a deprecation.
21:51 chromatic ca va, GeJ?
21:51 cotto_work How do normal humans even keep up with #perl6?
21:52 darbelo The Chainsaw has spoken!
21:52 * darbelo JFDIs
21:52 cotto_work I guess it's a big day for them though.
21:52 Tene cotto_work: I've never had a problem with it... just check in and catch up occasionally.
21:53 chromatic Laundry day.  See you there.  Rakudo Star... tum-b-ling.
21:53 darbelo There. r48206. Revert if anything breaks.
21:53 GeJ Hi chromatic. I've been better. Still in convalescence at home.
21:54 chromatic You can type, right?  We saved a pile of tickets for you....
21:55 NotFound darbelo: building it
21:55 purl building it is alright...if you do it only once a day
21:55 GeJ I could say that staying sitted for a while brings the pain back, but I'm so bored that I might eventually do something useful. :)
21:56 chromatic Boredom is the worst part of recovery.
21:56 GeJ I'd put it second, right after recurring pain.
21:57 chromatic For me it's boredom, killer bees, and pain.
21:57 NotFound There are drugs for the pain, but not for the boredom.... Legals drugs, ar least.
21:58 * darbelo sings 'Lucy in the Sky with Diamonds'
21:58 GeJ I fail to find a logical link between recovery and killer bees. But that may be because of the fuzzy warmth induced by the pills I took earlier.
21:59 darbelo GeJ: It depends on the type of recovery.
22:00 NotFound With r48206 all test pass bulding in a utf8 path except t/compilers/pct/complete_workflow.t Failed tests:  9, 18, 27, 36, 45, 54
22:03 darbelo NotFound: Is that better, worse or the same as your workaround?
22:03 NotFound darbelo: same
22:07 dalek parrot: r48206 | darbelo++ | trunk (2 files):
22:07 dalek parrot: Make index and rindex operations work for the 'binary' charset.
22:07 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48206/
22:08 darbelo Nothing strikes me as obviously wrong in that test. But there could be somethin subtly wrong I'm overlooking.
22:09 NotFound darbelo: probably concatenation of binary with other encoding strings.
22:10 darbelo I thought I had fixed the concatenation stuff already.
22:14 NotFound No, it comes from unescape
22:17 NotFound This is the problem: push args, "$TEST_DIR/complete_workflow_sample_input.txt"
22:17 NotFound my $TEST_DIR      = "$BUILD_DIR/t/compilers/pct";
22:19 NotFound This fixes it: push args, binary:"$TEST_DIR/complete_​workflow_sample_input.txt"
22:21 darbelo Yep. That does it.
22:22 NotFound I don't like to set that inconditionaly... working on a check.
22:24 darbelo NotFound++
22:26 NotFound my $BD_CHARSET    = $BUILD_DIR =~ /[^[:ascii:]]/ ? "binary:" : q{};
22:26 NotFound Is that idiomatic perl?
22:27 darbelo NotFound++
22:28 chromatic Idiomatic enough.
22:28 darbelo Say, how old a perl are we supporting nowadays?
22:29 darbelo 5.8 ?
22:29 purl rumour has it 5.8 is fine. or http://www.catalystframework.org/calendar/2008/16
22:30 NotFound Done, r48207
22:33 lucian joined #parrot
22:34 dukeleto darbelo: i think it is 5.8.0, but i don't know for sure
22:34 chromatic I thought somewhere in the 5.8.6 myself.
22:35 dukeleto 5.8.0 introduced qr//, which Parrot uses, so it is definitely >= 5.8.0
22:40 dalek parrot: r48207 | NotFound++ | trunk/t/compilers/pct/complete_workflow.t:
22:40 dalek parrot: fix pct workflow test for non ascii build path
22:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48207/
22:48 whiteknight joined #parrot
22:57 dalek parrot: r48208 | darbelo++ | branches/gsoc_nfg/src/string/api.c:
22:57 dalek parrot: Remove a reference to charset hashing functions that got imported from trunk.
22:57 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48208/
22:57 dalek parrot: r48209 | darbelo++ | branches/gsoc_nfg/src/string/encoding (3 files):
22:57 dalek parrot: Add utf hashing. We can't fallback to the charset anymore.
22:57 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48209/
22:57 dalek parrot: r48210 | darbelo++ | branches/gsoc_nfg/t/native_pbc (4 files):
22:57 dalek parrot: Regenerate native pbcs.
22:57 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48210/
23:35 [1]Casan joined #parrot
23:58 Psyche^ joined #parrot

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

Parrot | source cross referenced