Camelia, the Perl 6 bug

IRC log for #parrot, 2008-12-26

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:05 TiMBuS joined #parrot
00:05 alvar joined #parrot
00:09 AndyA joined #parrot
00:18 Andy joined #parrot
00:19 * Coke wonders if it would be handy if parrot had an :idempotent flag.
00:24 dtg joined #parrot
00:26 dalek r34361 | allison++ | branches/pdd22io_part3/src (2 files):
00:26 dalek : [pdd22io] Invert the invocation path for 'open' to allow subclassing and
00:26 dalek : polymorphism: the public API function calls the method, instead of the method
00:26 dalek : calling the public API.
00:26 dalek review: http://xrl.us/bd9amy
00:31 * Coke needs to make partcl faster.
00:42 * Coke tries to add a cache that doesn't help.
01:15 dalek r34362 | util++ | trunk/docs/pdds/draft:
01:15 dalek : Typo in pdd14_numbers.pod - s/( not) accessibly (directly)/$1 accessible $2/
01:15 dalek review: http://xrl.us/beanxq
01:24 Andy joined #parrot
02:35 raiph joined #parrot
02:46 raiph tewk: build fail for r34361 -- languages/ecmascript/t/03-boolean.t missing
02:54 flw joined #parrot
03:25 raiph_ joined #parrot
04:02 elmex_ joined #parrot
04:15 cotto anyone in Portland, Oregon know how the roads are?
04:29 Tene The roads in SLC, UT are pretty horrible right now.
05:11 Andy ok i'm back
05:22 Tene Hi, Andy!
05:22 Andy howdy
05:24 Andy foooey, MANIFEST is wrong
05:41 dalek r34363 | petdance++ | trunk:
05:41 dalek : this t/03-boolean.t does not exist
05:41 dalek review: http://xrl.us/beaote
05:50 dalek r34364 | petdance++ | trunk/config/auto:
05:50 dalek : taming down the warning flags
05:50 dalek review: http://xrl.us/beaotr
06:03 dalek r34365 | petdance++ | trunk (2 files):
06:03 dalek : SHIMmed an argument
06:03 dalek review: http://xrl.us/beaoub
06:04 dalek r34366 | petdance++ | trunk/src/ops:
06:04 dalek : little bit of consting
06:04 dalek review: http://xrl.us/beaouf
06:05 Theory joined #parrot
06:08 dalek r34367 | petdance++ | trunk/src:
06:08 dalek : removed an unused variable
06:08 dalek review: http://xrl.us/beaoum
06:48 dalek r34368 | petdance++ | trunk/config/auto:
06:48 dalek : quieting some cage noise
06:48 dalek review: http://xrl.us/beaovk
06:55 dalek r34369 | petdance++ | trunk/src:
06:55 dalek : localizing j loop variable
06:55 dalek review: http://xrl.us/beaov9
07:15 Andy joined #parrot
08:12 pedr joined #parrot
08:12 pedr left #parrot
08:17 mberends_ joined #parrot
08:26 szabgab good morning,
08:27 szabgab I am looking for the source code of dalek or some other irc bot to give us svn commit messages on #padre
08:33 cotto szabgab, talk to diakopter
08:33 cotto at gmail.com
08:33 szabgab cotto: thanks
08:33 cotto np
08:50 iblechbot joined #parrot
08:54 barney joined #parrot
09:04 Ademan joined #parrot
09:10 GeJ Is the version of Pod::Simple bundled with parrot a modified version of Pod::Simple 2.05 adapted to our needs?
09:13 GeJ FYI, it looks like the version in parrot segfaults when trying to parse parrot/compilers/imcc/instructions.o
09:14 GeJ while the 3.
09:14 GeJ while the 3.07 version I have installed seems to work fine.
09:15 GeJ I'm experiencing the segfault while trying to `make html`
09:15 GeJ Should I file a ticket in Trac?
09:15 dalek r34370 | allison++ | branches/remove_pic/src:
09:15 dalek : [remove_pic] The call to 'parrot_PIC_prederef' was deleted in the refactor to
09:15 dalek : remove PIC, but that function contained some needed functionality.
09:15 dalek : Reintegrating the two critical lines of code inline. (Refer to RT #60048 for
09:15 dalek : more discussion.) After this fix t/run/options.t passes all tests.
09:15 dalek review: http://xrl.us/beaoze
09:23 dalek r34371 | allison++ | trunk/src/io:
09:23 dalek : [cage] Remove unnecessary and nasty 'goto' from buffering code.
09:23 dalek review: http://xrl.us/beaozr
09:24 dalek r34372 | allison++ | trunk/config/gen/makefiles:
09:24 dalek : [cage] Clean up makefile dependencies for deleted and added files.
09:24 dalek review: http://xrl.us/beaozt
09:43 cotto GeJ, make html works fine for me as is
09:44 GeJ dammit...
09:44 purl janet!
09:45 cotto also, it's curious that it'd be looking at a .o file
09:49 GeJ Well, if I `make realclean`, then configure, then `make html` it works.
09:49 GeJ But if Parrot is already built and I try to generate the docs, it segfaults.
09:51 cotto so perl Configure.pl && make && make html fails for you?
09:52 cotto (after make realclean or make clean)
10:03 dalek r34373 | cotto++ | trunk/editor:
10:03 dalek : [editor] imcc->PIR, jimmy++ for noticing
10:03 dalek review: http://xrl.us/beao2f
10:05 cotto that xrl business is annoying
10:09 dalek r34374 | cotto++ | trunk/src/io:
10:09 dalek : [io] remove unnecessary code noticed by jimmy++
10:09 dalek review: http://xrl.us/beao2q
10:15 pedr joined #parrot
10:15 pedr left #parrot
10:17 GeJ if I do make realclean && perl Configure.pl && make html it works.
10:18 GeJ but if I build parrot between the configure and the `make html` steps, Pod::Simple chokes and segfaults on the instructions.o file
10:19 cotto so perl Configure.pl && make && make html ->'splode?
10:19 cotto testing that now...
10:19 GeJ yup
10:20 GeJ simple test case, with instructions.o existing :
10:20 GeJ perl -MPod::Simple::Checker -e '$c = Pod::Simple::Checker->new; $c->parse_file("/home/geraud/code/par​rot/compilers/imcc/instructions.o"); print $c->content_seen;'  <-- that works, since it uses the one I have installed from CPAN
10:21 GeJ perl -I./lib -MPod::Simple::Checker -e '$c = Pod::Simple::Checker->new; $c->parse_file("/home/geraud/code/par​rot/compilers/imcc/instructions.o"); print $c->content_seen;'  <-- that borks, it looks like it's using the one bundled in parrot
10:24 cotto I guess you should file a tt.  I'm still confused why Pod::Simple::Checker is looking at a object file, but I'm easily confused.
10:25 cotto I can't reproduce it.
10:28 GeJ I wish I wouldn't be the only one to find some weird bugs like that once in a while...
10:29 cotto Your finicky FreeBSD box is an asset.
10:30 cotto as is sleep
10:30 cotto which I'm doing now
10:30 cotto ngiht
10:31 GeJ I fear that at some point people think that I'm part of a Python conspiracy and make up those bugs just to delay Christmas :)
10:31 GeJ 'night cotto.
10:31 GeJ Merry Christmas.
10:31 purl o/` I brought these gifts for you, they're up in xantus_'s bum o/`
11:21 masak joined #parrot
11:29 masak Rakudo has a tendency to segfault when exiting >10k Perl 6 applications.
11:34 masak http://github.com/masak/druid/ does, for example. both when aborting the game with Ctrl+D and when playing a game to its conclusion.
11:35 flh joined #parrot
11:38 flh hi everyone, merry christmas!
11:38 masak flh: merry christmas!
11:38 purl o/` I brought these gifts for you, they're up in xantus_'s bum o/`
11:39 masak purl: behave.
11:39 purl be what? :)
11:40 flh a few days ago, thanks to pmichaud, I managed to do currying for my subs in pir
11:40 flh now i have another question :)
11:41 flh is there a way to replace the builtin Sub PMC with my curried-sub class?
11:43 flh actually, i'm wondering for the moment if I can first write a subclass of Sub in PIR which does currying
11:44 masak sounds doable.
11:51 dalek r34375 | fperrad++ | trunk (7 files):
11:51 dalek : [Lua] bit
11:51 dalek : - some fix
11:51 dalek : - add official test suite
11:51 dalek review: http://xrl.us/beao5g
11:59 pedr joined #parrot
11:59 pedr left #parrot
12:05 jimmy joined #parrot
12:10 dalek r34376 | fperrad++ | trunk/languages/lua (2 files):
12:10 dalek : [Lua]
12:10 dalek : - fix lexical generation
12:10 dalek : - unTODO some test
12:11 dalek review: http://xrl.us/beao59
12:23 Andy joined #parrot
12:33 masak fperrad: http://gist.github.com/40057
12:38 tuxdna joined #parrot
12:59 Ademan_ joined #parrot
13:14 masak `make lua` should probably have `make` as a dep.
13:32 dalek r34377 | Whiteknight++ | trunk/docs/book:
13:32 dalek : [Book] Some updates and fixes to the runcore section
13:32 dalek review: http://xrl.us/beao84
13:32 Wknight8111 joined #parrot
13:36 dalek r34378 | Whiteknight++ | branches/jit_h_files (3 files):
13:36 dalek : [jit_h_files] small fix to makefile to account for more dependencies
13:36 dalek review: http://xrl.us/beao9a
14:03 dalek r34379 | Whiteknight++ | branches/jit_h_files/src/jit/i386 (2 files):
14:03 dalek : [jit_h_files] move a few more function definitions to the .c file with no build or test failures.
14:03 dalek review: http://xrl.us/beapaf
14:29 Theory joined #parrot
14:29 PacoLinux joined #parrot
14:31 tetragon joined #parrot
14:33 pedr joined #parrot
14:33 pedr left #parrot
14:50 dalek r34380 | Whiteknight++ | branches/jit_h_files/src/jit/i386 (2 files):
14:50 dalek : [jit_h_files] a few more functions moved over, builds and passes all tests
14:51 dalek review: http://xrl.us/beapb5
15:08 dngor joined #parrot
15:09 workbench joined #parrot
15:39 dalek r34381 | fperrad++ | trunk/languages/lua/src/lib:
15:39 dalek : [Lua] complex
15:39 dalek : - remove .tailcall in metamethod
15:39 dalek review: http://xrl.us/beapdi
15:56 tetragon joined #parrot
15:57 Theory_ joined #parrot
15:59 * Coke joins comp.lant.tcl. coke is drowned in spam.
16:00 Coke *lang
16:01 mberends_ spam--
16:01 tetragon joined #parrot
16:04 masak fperrad isn't actually on this channel, is he?
16:07 mberends_ hey masak, as testking, would you be able to add a test for the file slurp() function?
16:07 masak mberends_: there's a possibility you're confusing me with moritz++ :)
16:08 masak not that I mind. I can be your test king for the night.
16:08 mberends_ yes, partly, but you cackle a lot too!
16:08 masak mberends_: I cackle when things break. :)
16:08 masak not when test coverage increases.
16:09 pmichaud I cackle when things unbreak.  :-)
16:09 mberends_ slurp('filename') seems to append a "\n" that does not exist in the file.
16:09 masak my function in the Rakudo exosystem is to prevent pmichaud++ and jonathan++ from feeling secure about the level of RT tickets. :)
16:10 masak mberends_: sounds worthy of a test, yes.
16:10 pmichaud yeah, 179 is getting a bit high, again.  Although I'm working on a patch that might cut down 2 or 3 more :-P
16:13 mberends_ S29 has no definition for slurp(), but a fair assumption is that exactly the contents of a file becomes a string. I hit this after $text.split("\n") gave an extra blank at the end.
16:17 masak mberends_: I'll see what I can do about S29 too.
16:17 mberends_ masak++
16:18 pmichaud I think .slurp might go into S16, fwiw.
16:18 Coke rakudo: 1=1
16:18 masak pmichaud: yes, it probably should, as well.
16:19 polyglotbot OUTPUT[Unable to set lvalue on PAST::Val node␤current instr.: 'parrot;PAST;Val;lvalue' pc 556 (src/PAST/Node.pir:161)␤called from Sub 'parrot;PAST;Compiler;as_post' pc 3939 (src/PAST/Compiler.pir:987)␤called from Sub 'parrot;PAST;Compiler;post_children' pc 2008 (src/PAST/Compiler.pir:411)␤called
16:19 polyglotbot ..from Sub 'parrot;PAST;Compiler;as_post' pc 2423 (s...
16:21 Coke rt #61692, I wouldn't expect === to treat junctions differently.
16:22 pmichaud until we have a new function dispatcher in place for Rakudo, we have to write specific "Junction-aware" versions of every operator
16:22 pmichaud === isn't one of those yet.
16:25 pmichaud as soon as I finish my current pointy block test I can add it, though.
16:30 dalek r34382 | pmichaud++ | trunk/languages/perl6/docs:
16:30 dalek : [rakudo]: spectest-progress.csv update: 264 files, 5880 passing, 1 failing
16:30 dalek : Failure summary:
16:30 dalek :     S29-array/kv.t 9 - (42).kv works
16:30 dalek review: http://xrl.us/beapf3
16:30 dalek r34383 | bernhard++ | trunk/languages/pipp (6 files):
16:30 dalek : RT #61696: [PATCH] implement array() and '=>' within pipp
16:30 dalek : Courtesy of Daniel Keane.
16:30 dalek review: http://xrl.us/beapf7
16:35 barney joined #parrot
16:39 * Coke wondes if he can hack up partcl to run faster. :|
16:39 Coke *wonders
16:40 chromatic joined #parrot
16:42 * Coke wonders if he can hack up partcl to run faster. :| (repeat for chromatic.)
16:43 chromatic I sped up PGE and NQP the other day; did that help?
16:44 Coke I need to roll back my local tcl version and rerun the spec test.
16:44 Coke but running the spec test takes 2+ hours and kills the machine its on, so I don't do it lightly.
16:45 chromatic PGE should be about a third faster now.
16:45 Coke hurm.
16:46 PacoLinux joined #parrot
16:46 Infinoid is it safe to check in the changes made by "make headerizer", or should they be reviewed first?
16:47 chromatic It should also use less memory.
16:47 chromatic Infinoid, there's one change in IMCC (_is_ins_static declared but not used) that's not good.  Otherwise, they should be safe.
16:47 chromatic NotFound fixed that a while back, but it keeps coming back.
16:47 Infinoid great, thanks
16:48 Coke chromatic: running now.
16:49 dalek r34384 | bernhard++ | trunk/languages/pipp/src/pct (2 files):
16:49 dalek : [Pipp] add 'simple_var' as a subrule of 'var'
16:49 dalek review: http://xrl.us/beaphg
17:01 tetragon joined #parrot
17:04 PacoLinux joined #parrot
17:04 PacoLinux left #parrot
17:04 PacoLinux joined #parrot
17:32 dalek r34385 | bernhard++ | trunk/languages/pipp/src/pct (2 files):
17:32 dalek : [Pipp] Move the action of 'VAR_NAME' to the enclosing rules,
17:32 dalek : in order to be more flexible.
17:32 dalek review: http://xrl.us/beapjt
17:41 dalek r34386 | pmichaud++ | trunk/compilers/pge/PGE:
17:41 dalek : [pge]: Add 'skipkey' trait to OPTable tokens to suppress KEY skipping
17:41 dalek : for tokens with parsed() traits.
17:41 dalek review: http://xrl.us/beapkj
17:41 dalek r34387 | pmichaud++ | trunk/t/compilers/pge:
17:42 dalek : [pge]:  Tests for skipkey trait.
17:42 dalek review: http://xrl.us/beapkm
17:43 masak joined #parrot
17:48 dalek r34388 | pmichaud++ | trunk/languages/perl6/src/parser:
17:48 dalek : [rakudo]:  Enable -> pointy blocks to be parsed as a term.  (RT #61672)
17:48 dalek review: http://xrl.us/beapk4
17:59 dalek r34389 | chromatic++ | trunk/t/pmc:
17:59 dalek : [t] Replaced an implicit vtable declaration with leading double-underscores
17:59 dalek : with the modern :vtable attribute.
17:59 dalek review: http://xrl.us/beapmv
17:59 dalek r34390 | pmichaud++ | trunk/languages/perl6 (2 files):
17:59 dalek : [rakudo]:  Make more comparison infixes "junction aware" (RT #61692)
17:59 dalek review: http://xrl.us/beapmx
18:00 dalek r34391 | chromatic++ | trunk/src/io:
18:00 dalek : [IO] Made peeking on an unbuffered IO PMC promote the PMC to a buffered PMC.
18:00 dalek : See RT #61290 (Fran�ois Perrad).
18:00 dalek review: http://xrl.us/beapmz
18:02 dalek r34392 | chromatic++ | trunk/src (2 files):
18:02 dalek : [IO] Tidied some code and added missing documentation; no functional changes.
18:02 dalek review: http://xrl.us/beapm3
18:18 Andy joined #parrot
18:21 davidfetter joined #parrot
18:22 masak this thing about xrl.us URLs being a finite resource, and the "long" URLs not being so bad... who sits on dalek?
18:24 Tene I don't get why it uses xrl.us.
18:24 masak no, it's a bit wasteful.
18:30 Infinoid I can easily remove that.  only reason I added it was to reduce spam from shorten doing it anyway (it didn't filter out the svn.perl.org URLs dalek was using)
18:30 masak ah.
18:30 masak maybe find a way to silence shorten instead?
18:31 Infinoid that would have helped.  but the links switched back to parrotvm.org, and shorten is apparently blacklisting those so it should be fine
18:31 Infinoid this is all temporary until we switch svn to trac.
18:32 masak aye.
18:32 Infinoid done.
18:32 dalek joined #parrot
18:32 masak Infinoid++
18:32 ruoso_ joined #parrot
18:34 Tene ... huh.  this is a regression.  this worked just a few revisions ago:
18:35 Tene rakudo: for (1..10).reverse { .say }
18:35 polyglotbot OUTPUT[01 9 8 7 6 5 4 3 2 1␤]
18:35 Tene I remember someone asking in here about rakudo's reverse...
18:36 Tene pmichaud apparently did something in r34321...
18:36 Tene I think it worked after that, though.
18:37 pmichaud heh.  that's a regression, yes.
18:38 Tene Yes, it works before r34321
18:39 masak it is. it affected my druid game two days ago.
18:39 dalek r34393 | pmichaud++ | trunk/languages/perl6/src/classes:
18:39 dalek : [rakudo]:  Fix regression on Range.reverse, reported by Tene++ .
18:39 dalek review: http://www.parrotvm.org/svn​/parrot/revision?rev=34393
18:39 pmichaud should work now.
18:39 masak \o/
18:40 masak I reported it as [perl #61644]
18:40 masak hasn't the === vs junctions question been discussed on p6l quite recently?
18:41 dalek r34394 | pmichaud++ | trunk/languages/perl6/build:
18:41 dalek : [rakudo]:  Undo autothreading of infix:<===>, reopening RT #61692.
18:41 dalek : Autothreading infix:<===> causes Junction creation to fail,
18:41 dalek : and we should check if it indeed should autothread at all.
18:41 leto joined #parrot
18:41 dalek review: http://www.parrotvm.org/svn​/parrot/revision?rev=34394
18:41 dalek r34395 | pmichaud++ | trunk/languages/perl6/src/parser:
18:41 dalek : [rakudo]:  Improve parsing of -> pointy blocks to be full terms.
18:41 dalek review: http://www.parrotvm.org/svn​/parrot/revision?rev=34395
18:42 pmichaud rakudo: for (1..10).reverse { .say }
18:42 polyglotbot OUTPUT[01 9 8 7 6 5 4 3 2 1␤]
18:42 pmichaud (hasn't updated yet.)
18:43 Tene It's fixed.
18:47 dalek r34396 | fperrad++ | trunk/languages/lua/t:
18:47 dalek : [Lua] io
18:47 dalek : - RT #61290 fixed in r34391
18:47 dalek review: http://www.parrotvm.org/svn​/parrot/revision?rev=34396
18:56 TimToady pmichaud: an exact === can always be emulated by comparing .WHICH, and I think .WHICH (being a macro) can probably return the junction's id rather than a superposition of ids
18:56 TimToady so === should probably autothread, but junctional logic shouldn't be written in terms of it, except where recursion is desirable
18:59 pmichaud TimToady: makes sense, thanks.
18:59 pmichaud the place where infix:<===> was being used was to collapse duplicate values in any,all,none junctions.
18:59 pmichaud (that can of course be fixed.)
19:00 pmichaud afk for a while, kids are opening their gifts
19:00 TimToady have fun
19:17 mberends_ TimToady, re: pugs commit bit, could you invite me please?
19:24 gryphon joined #parrot
19:29 dalek r34397 | bernhard++ | trunk/languages/pipp (3 files):
19:29 dalek : [Pipp] scalars and arrays are now always 'lexical'.
19:29 dalek : TODO some OO tests, as some lexicals end up in the wrong block.
19:29 dalek review: http://www.parrotvm.org/svn​/parrot/revision?rev=34397
19:29 Khisanth joined #parrot
19:41 dalek r34398 | bernhard++ | trunk/languages/ecmascript (7 files):
19:41 dalek : [codingstd] svn properties
19:41 dalek review: http://www.parrotvm.org/svn​/parrot/revision?rev=34398
20:03 gmansi joined #parrot
20:15 dalek r34399 | chromatic++ | trunk/src:
20:15 dalek : [IO] When extending a STRING's buffer in Parrot_io_make_string(), use
20:15 dalek : Parrot_reallocate_string() instead of Parrot_allocate_string(), so as not to
20:15 dalek : lose existing contents of the buffer.  See TT #52, filed by Bob Rogers.
20:15 dalek review: http://www.parrotvm.org/svn​/parrot/revision?rev=34399
20:16 * chromatic hates on our Trac instance; where's the e-mail interface?  What's my password?  What's my e-mail address?
20:17 lu_zero trac =P
20:18 chromatic At least it's faster than our RT instance.
20:21 Tene chromatic: To recover your account, just have it send your password to tene at allalone dot org.
20:43 jhorwitz joined #parrot
20:45 Andy joined #parrot
20:47 Zaba joined #parrot
20:54 chromatic No luck there either.
21:10 Zaba joined #parrot
21:35 TiMBuS joined #parrot
21:40 Limbic_Region joined #parrot
21:59 Coke chromatic: no noticable speedup on the tcl spec test.
22:17 mberends_ joined #parrot
22:22 geof joined #parrot
22:43 masak joined #parrot
22:43 dalek r34400 | pmichaud++ | trunk/languages/perl6/src (2 files):
22:43 dalek : [rakudo]:  Autothread junctions on lhs of infix:<~~>.
22:43 dalek review: http://www.parrotvm.org/svn​/parrot/revision?rev=34400
23:02 register joined #parrot
23:21 cotto cool, someone reverted the xrl URLs in dalek
23:21 cotto someone++
23:21 cotto Infinoid++ apparently
23:25 Infinoid heh, I get more karma from commenting code out than I do from writing it.  maybe one day I'll learn to leave well enough alone.
23:32 masak good night.
23:36 dalek r34401 | allison++ | branches/remove_pic/t/pmc:
23:36 dalek : [remove_pic] Update test that's no longer accurate, because 'pic_index' has
23:36 dalek : been removed, so there are fewer elements in the directory.
23:36 dalek review: http://www.parrotvm.org/svn​/parrot/revision?rev=34401

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

Parrot | source cross referenced