Camelia, the Perl 6 bug

IRC log for #parrot, 2012-07-24

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:15 kid51 joined #parrot
02:12 kid51 joined #parrot
02:36 Psyche^ joined #parrot
05:38 fperrad joined #parrot
06:33 awwaiid joined #parrot
10:48 dalek rakudo/toqast: 633f401 | jnthn++ | src/ (2 files):
10:48 dalek rakudo/toqast: Fix up handling of failed symbol lookups, thus eliminating a couple of reamining NPMCAs and fixing a couple more tests.
10:48 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/633f4015e3
11:00 JimmyZ joined #parrot
11:10 dalek nqp/toqast: c21542a | jnthn++ | src/QAST/ (2 files):
11:10 dalek nqp/toqast: Restore line number annotation emission. Fixes callframe.t.
11:10 dalek nqp/toqast: review: https://github.com/perl6/nqp/commit/c21542ac36
11:11 brrt joined #parrot
11:16 dalek rakudo/toqast: d0dc2d3 | moritz++ | src/core/IO/Socket/INET.pm:
11:16 dalek rakudo/toqast: explicitly set encoding on sockets
11:16 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/d0dc2d33d0
11:16 dalek rakudo/toqast: e09fbe6 | moritz++ | src/core/IO/Socket/INET.pm:
11:16 dalek rakudo/toqast: Merge remote branch 'remotes/origin/parrot-iocleanup1' into nom
11:16 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/e09fbe6870
11:16 dalek rakudo/toqast: cd31947 | moritz++ | src/core/List.pm:
11:16 dalek rakudo/toqast: fix List.tree
11:16 dalek rakudo/toqast:
11:16 dalek rakudo/toqast: it got broken by the last API change of MapIter.new
11:16 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/cd31947243
11:16 dalek rakudo/toqast: 6db12d6 | moritz++ | src/core/IO/Socket/INET.pm:
11:16 dalek rakudo/toqast: Revert "Merge remote branch 'remotes/origin/parrot-iocleanup1' into nom"
11:16 dalek rakudo/toqast:
11:16 dalek rakudo/toqast: This reverts commit e09fbe68707707004d1111dba7b0b6fb9e100541, reversing
11:16 dalek rakudo/toqast: changes made to 5b56cfcf9286e70b9a77a73369b80ad98ad10786.
11:16 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/6db12d6e97
11:16 dalek rakudo/toqast: 3ac8c77 | moritz++ | src/core/List.pm:
11:16 dalek rakudo/toqast: fix another misuse of MapIter.new, felher++
11:16 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/3ac8c77fd7
11:16 dalek rakudo/toqast: acf9778 | jnthn++ | src/core/List.pm:
11:16 dalek rakudo/toqast: Merge branch 'nom' into toqast
11:16 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/acf9778869
11:33 dalek rakudo/toqast: 7f3a7b2 | jnthn++ | src/Perl6/Actions.pm:
11:33 dalek rakudo/toqast: Fix detection of existing CATCH in a try, fixing one of the broken tests in catch.t.
11:33 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/7f3a7b297d
11:34 kid51 joined #parrot
11:38 JimmyZ_ joined #parrot
12:08 kid51 joined #parrot
12:20 dalek rakudo/toqast: e084b07 | jnthn++ | src/Perl6/Actions.pm:
12:20 dalek rakudo/toqast: Fix last remaining failures in catch.t.
12:20 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/e084b07190
12:54 PacoAir joined #parrot
12:54 moritz oh hai
12:55 moritz spawnw returns an int that you have to bit-shift 8 bits to get to the return value of the program
12:55 JimmyZ hi
12:55 moritz what's in those shifted-away bits?
12:55 moritz and can they used to get more information about the error?
12:55 moritz like, distinguishing a failed spawn from a command with non-zero return value?
13:33 Coke moritz: I suspect it's using the same model as perl5.
13:35 moritz Coke: I suspect so too, but I don't want to base my code on suspicions
13:50 Coke the opcode just says "system dependant".
13:51 Coke the generic version seems to return the status value from waitpid
13:53 Coke ... or the return value of execlp
13:54 * Coke stops reading half the source and just points to "platform/generic/exec.c"
13:56 bluescreen joined #parrot
14:04 moritz ok, if forking worked, the result of waitpid is returned
14:30 JimmyZ_ joined #parrot
14:44 dmalcolm joined #parrot
15:53 lucian joined #parrot
16:00 darbelo joined #parrot
16:00 jashwanth joined #parrot
16:48 whiteknight joined #parrot
16:48 whiteknight good afternoon, #parrot
16:48 benabik o/ whiteknight
16:48 rurban hi #parrot
16:48 benabik o/ rurban, #parrot
16:48 whiteknight hello benabik, rurban
16:58 dalek nqp/toqast: f5d0884 | jnthn++ | src/QAST/Compiler.nqp:
16:58 dalek nqp/toqast: Don't emit variable lookup code when the variable is in void context. Cuts down on code generated for declarations, but also fixes implicit %_ handling.
16:58 dalek nqp/toqast: review: https://github.com/perl6/nqp/commit/f5d08849e4
16:59 benabik I love it when I look at a failing test and go "how did this code ever work"?
17:00 benabik Even better is when I can make it work somewhere else.
17:06 benabik Hm.  Editing commit messages in vim with subjects of "vim: did stuff" leads to interesting errors.
17:07 benabik Oh!  I know why this wasn't triggered by my manual testing.  I had dead code at the beginning of the PBC.
17:09 dalek PACT: 24ba6e9 | benabik++ | t/ (2 files):
17:09 dalek PACT: t/common: Load Decompile
17:09 dalek PACT:
17:09 dalek PACT: For maximum DRY (or is that minimum RY?)
17:09 dalek PACT: review: https://github.com/parrot/PACT/commit/24ba6e9fc2
17:09 dalek PACT: c3d555e | benabik++ | src/PACT/Packfile/Decompile.winxed:
17:09 dalek PACT: Packfile.Decompile: use $load directive
17:09 dalek PACT:
17:09 dalek PACT: It's clearer than writing my own init function, and matches the
17:09 dalek PACT: style I'm using for tests.
17:09 dalek PACT: review: https://github.com/parrot/PACT/commit/c3d555e960
17:09 dalek PACT: c725ca9 | benabik++ | t/ (2 files):
17:09 dalek PACT: t/common: Central compile function
17:09 dalek PACT:
17:09 dalek PACT: Takes in PIR, outputs a Packfile.  Going to be doing this a lot so
17:09 dalek PACT: would rather not write those three lines over and over again.
17:09 dalek PACT: review: https://github.com/parrot/PACT/commit/c725ca9ad1
17:09 dalek PACT: d05e70f | benabik++ | src/disasm.winxed:
17:09 dalek PACT: disasm: Use Winxed $directives
17:09 dalek PACT: review: https://github.com/parrot/PACT/commit/d05e70fb5f
17:10 dalek PACT: 5377db3 | benabik++ | src/PACT/Packfile/Decompile.winxed:
17:10 dalek PACT: Decompile: Don't try to pop things off a null sub
17:10 dalek PACT:
17:10 dalek PACT: It doesn't work very well.  Managed to avoid this one in manual
17:10 dalek PACT: testing by having an :immediate sub in there so there was dead code
17:10 dalek PACT: before the first sub.
17:10 dalek PACT:
17:10 dalek PACT: First bug caught by writing tests.  How exciting.
17:10 dalek PACT: review: https://github.com/parrot/PACT/commit/5377db381a
17:11 whiteknight wowsers!
17:11 benabik ?
17:11 whiteknight lots of commits
17:11 whiteknight I like commits
17:11 whiteknight I CRAVE THEM
17:11 whiteknight our preciouses
17:12 benabik whiteknight: I've been updating the vim highlighting for winxed too, don't know if you saw that one.  (It seems not to be connected to dalek)
17:12 whiteknight I haven't seen that. I wonder how we can connect it to dalek
17:14 benabik Huh.  The most basic PIR file has 4 strings and 2 PMCs
17:16 kjs joined #parrot
17:20 whiteknight that few?
17:21 benabik I'm not sure why there's an empty string, although I follow the other three.
17:22 dalek rakudo/toqast: eb13c5a | jnthn++ | src/Perl6/Actions.pm:
17:22 dalek rakudo/toqast: Fix an accidental violation of the QAST::Stmt usage rules when a block becomes a hash.
17:22 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/eb13c5a50f
17:29 benabik Huh.  Not empty string, null string?
17:34 whiteknight whatev
17:38 benabik Oh.  Maybe that's the UUID.
17:39 whiteknight the UUID shoudl be part of the header, I think
17:39 whiteknight not one of the string constants
17:39 benabik Oh.
17:42 whiteknight although, we don't really use it anyway
17:42 benabik Yeah.
17:42 whiteknight That's something we're definitely going to want at some point, I think
17:44 whiteknight but, low on the priority list until we get security
17:44 benabik huh.  There's no way to get the name of an oplib out of its PMC?
17:45 whiteknight there isn
17:45 whiteknight 't?
17:45 whiteknight add it
17:46 benabik Oh.  I get a hash, not an RPA of them.
17:46 whiteknight okay
17:49 benabik Yay tests exposing bad planning.
18:21 benabik alvis++
18:22 whiteknight alvis++ indeed! (but wait, why are you giving him karma, specifically?)
18:22 whiteknight not like we need a reason, of course :(
18:22 whiteknight ...:)
18:23 benabik Reporting on #ps.  Remembering that today is #ps.  Doing useful things to report on #ps.  :-D
18:23 whiteknight ....damnit!
18:23 whiteknight thanks for the reminder
18:23 benabik #ps in 67m
18:24 whiteknight I used to have some sort of calendar reminder set up for #ps, but that went away and I can never remember it on my own
18:29 Coke there's a google calendar, "comp.lang.parrot"
18:42 dalek PACT: a74de0c | benabik++ | src/PACT/Packfile.winxed:
18:42 dalek PACT: Packfile: dump oplibs
18:42 dalek PACT: review: https://github.com/parrot/PACT/commit/a74de0c599
18:42 dalek PACT: 048e1d2 | benabik++ | src/PACT/Packfile.winxed:
18:42 dalek PACT: Packfile: oplibs are stored in hashes, not RPAs
18:42 dalek PACT: review: https://github.com/parrot/PACT/commit/048e1d2880
18:42 dalek PACT: acc68f9 | benabik++ | t/ (2 files):
18:42 dalek PACT: t/common: Add decompile function
18:42 dalek PACT: review: https://github.com/parrot/PACT/commit/acc68f95a0
18:42 dalek PACT: 7d6e739 | benabik++ | t/common.winxed:
18:42 dalek PACT: t/common: PACT uses call_bits frequently
18:42 dalek PACT: review: https://github.com/parrot/PACT/commit/7d6e7395f4
18:42 dalek PACT: c1f27b1 | benabik++ | / (2 files):
18:42 dalek PACT: Test Decompiling a (basically) empty sub
18:42 dalek PACT:
18:42 dalek PACT: This is in t/02-decompile because I realized I probably want some
18:42 dalek PACT: tests for the basic packfile data structures in 01-packfile/
18:42 dalek PACT: review: https://github.com/parrot/PACT/commit/c1f27b1532
18:56 schmooster joined #parrot
18:59 benabik msg whiteknight Oh.  My winxed highlighting has been in my own fork.  Sending pull request..
18:59 aloha OK. I'll deliver the message.
19:14 dalek rakudo/nom: a4eacdf | moritz++ | t/spectest.data:
19:14 dalek rakudo/nom: remove ucfirst/lcfirst tests
19:14 dalek rakudo/nom:
19:14 dalek rakudo/nom: they are gone or going
19:14 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a4eacdf961
19:15 benabik #ps in 15?
19:22 cotto yup
19:22 benabik o/ Coke
19:23 benabik Errrr...
19:23 benabik cotto too
19:25 cotto I get myself confused with him all the time.
20:04 Coke Just the other year I worked for Microsoft.
20:05 benabik Coke: That sounds like the setup to a joke, but I don't know the straight line.
20:07 Coke just that cotto used to work there.
20:07 Coke I myself am now a GE drone.
20:12 Coke rurban: asn?
20:13 Coke er, asan?
20:13 rurban address sanitizer: http://code.google.com/p/address-sanitizer/
20:14 Coke aaaaah, thanks.
20:15 rurban perldoc perlhacktips
20:21 tobym joined #parrot
20:22 sivoais joined #parrot
20:39 dalek nqp: cff22c2 | moritz++ | src/PAST/NQP.pir:
20:39 dalek nqp: add nqp::tclc op
20:39 dalek nqp: review: https://github.com/perl6/nqp/commit/cff22c2098
20:40 dalek rakudo/nom: 4fe23e7 | moritz++ | / (5 files):
20:40 dalek rakudo/nom: implement tclc
20:40 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4fe23e7590
20:51 dalek rakudo/toqast: a9af262 | jnthn++ | src/ops/perl6.ops:
20:51 dalek rakudo/toqast: A couple of native type handling tweaks.
20:51 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/a9af2623ae
20:51 dalek rakudo/toqast: 3cc9d76 | jnthn++ | src/Perl6/Optimizer.pm:
20:51 dalek rakudo/toqast: Re-instate compile time resolution of multiple dispatches, where we have sufficient type info.
20:51 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/3cc9d765b2
20:51 dalek nqp/toqast: 0555208 | jnthn++ | src/QAST/Operations.nqp:
20:51 dalek nqp/toqast: Be sure that invocants are boxed objects.
20:51 dalek nqp/toqast: review: https://github.com/perl6/nqp/commit/05552082cc
21:00 dalek rakudo/toqast: 03dfa84 | jnthn++ | src/Perl6/Optimizer.pm:
21:00 dalek rakudo/toqast: Unbust line number reporting in errors generated by l'optimizer.
21:00 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/03dfa841f0
21:30 dalek rakudo/toqast: ee26e27 | jnthn++ | src/Perl6/Actions.pm:
21:30 dalek rakudo/toqast: Fix the busted macro stuff. Long story short. :lexical(0) has gone away, and this is how its replaced.
21:30 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/ee26e27c96
21:30 dalek rakudo/toqast: 5a3d1f9 | jnthn++ | src/Perl6/World.pm:
21:30 dalek rakudo/toqast: This is probably needed for serializing macro stuff (though maybe not sufficient); adding it since I spotted it.
21:30 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/5a3d1f9fed
21:47 dalek Heuristic branch merge: pushed 21 commits to nqp/toqast by jnthn
22:04 dalek rakudo/toqast: a4eacdf | moritz++ | t/spectest.data:
22:04 dalek rakudo/toqast: remove ucfirst/lcfirst tests
22:04 dalek rakudo/toqast:
22:04 dalek rakudo/toqast: they are gone or going
22:04 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/a4eacdf961
22:04 dalek rakudo/toqast: 4fe23e7 | moritz++ | / (5 files):
22:04 dalek rakudo/toqast: implement tclc
22:04 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/4fe23e7590
22:04 dalek rakudo/toqast: c23523d | jnthn++ | / (4 files):
22:04 dalek rakudo/toqast: Merge branch 'nom' into toqast
22:04 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/c23523d15b
22:04 dalek rakudo/toqast: a9dbdef | jnthn++ | src/Perl6/Ops.pm:
22:04 dalek rakudo/toqast: Add tclc op (could go in NQP also; feel free to move).
22:04 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/a9dbdeff50
22:05 dalek nqp/toqast: 8a9b631 | jnthn++ | src/QAST/Block.nqp:
22:05 dalek nqp/toqast: Toss unsued attribute on QAST::Block.
22:05 dalek nqp/toqast: review: https://github.com/perl6/nqp/commit/8a9b6317aa

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

Parrot | source cross referenced