Camelia, the Perl 6 bug

IRC log for #parrot, 2010-09-04

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:11 Paul_the_Greek left #parrot
00:11 davidfetter left #parrot
00:26 senf_statt_oel left #parrot
00:26 theory left #parrot
00:31 dngor_ joined #parrot
00:33 dngor left #parrot
00:35 dngor_ is now known as dngor
00:49 whiteknight left #parrot
00:53 Psyche^ joined #parrot
00:57 mikehh left #parrot
00:58 hercynium left #parrot
00:59 Patterner left #parrot
00:59 Psyche^ is now known as Patterner
01:44 kid51 joined #parrot
01:51 nopaste "mariano" at 192.168.1.3 pasted "Why I'm getting "get_integer() not implemented in class 'Object2'" ? ( parrot 2.4.0 )" (23 lines) at http://nopaste.snit.ch/23230
01:56 mariano I'm toying with morph
01:56 mariano and got that funky error.. i'm doing something wrong there
01:57 dalek TT #1679 closed by jkeenan++: examples/compilers/japhc.c:  Misleading documentation
01:57 dalek TT #1679: http://trac.parrot.org/parrot/ticket/1679
01:57 dalek TT #1075 closed by jkeenan++: Add Configure probes for LLVM
01:57 dalek TT #1075: http://trac.parrot.org/parrot/ticket/1075
01:57 dalek TT #1257 closed by jkeenan++: src/io/utf8.c:  Does the amount read in Parrot_io_read_utf8() need to be ...
01:57 dalek TT #1257: http://trac.parrot.org/parrot/ticket/1257
01:59 cotto That's a curious bug.
01:59 cotto You don't even need the extra namespaces to trigger it.
02:00 mariano i first thought that main was expecting an integer from the tailcall just like C's main
02:01 dalek parrot: r48776 | jkeenan++ | trunk (3 files):
02:02 dalek parrot: Per discussion in �http://trac.parrot.org/parrot/ticket/1679, removing examples of JAPHs written in PASM and corresponding test.
02:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48776/
02:02 dalek parrot: r48777 | jkeenan++ | trunk/src/io/utf8.c:
02:02 dalek parrot: Eliminating useless TODO comment per �http://trac.parrot.org/parrot/ticket/1257.
02:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48777/
02:02 cotto Ah.  Default's morph calls VTABLE_get_integer for some reason.
02:03 mariano mmm.... I guess nobody is using morph ?
02:03 cotto I'm wondering how that can be right.
02:04 cotto Yeah. It appears to be severely undertested.
02:04 cotto ack morph t/|wc -l says 20
02:04 mariano should I submit a bug then ?
02:04 cotto definitely
02:05 cotto mariano++
02:05 kid51 At the risk of seeming ridiculous ... what is morph?
02:05 sorear rebless for PMCs
02:05 cotto less evil but more broken
02:06 sorear it changes the type of an existing PMC
02:06 sorear it is the reason PMCs are allocated in two memory blocks and causes a lot of the gc's complexity
02:06 cotto I could attempt a fix, but the tests are so anemic I wouldn't have much confidence in the results.
02:07 kid51 It's interesting that 'morph' does not appear in the name of any file in the Parrot distro.
02:07 sorear seen darbelo
02:07 purl darbelo was last seen on #parrot 5 days, 2 hours, 15 minutes and 24 seconds ago, saying: whiteknight: Is svn tied to Trac or drupal's auth?  [Aug 29 23:52:30 2010]
02:07 aloha Sorry, I haven't seen darbelo.
02:08 cotto and indicative
02:09 cotto istr that partcl relies on it
02:11 mariano sorear: is it exactly a rebless ?
02:14 dalek TT #1769 created by bluescreen++: Getting get_integer() not implemented in class 'XXXXX' when using "morph"
02:14 dalek TT #1769: http://trac.parrot.org/parrot/ticket/1769
02:15 mariano and just out of curiosity, what the hell are the ++ and --
02:15 mariano is that an XP system like perlmonks?
02:18 sorear we call it karma here, but yes
02:19 tcurtis karma sorear
02:19 purl sorear has karma of 151
02:19 aloha sorear has karma of 6.
02:19 tcurtis aloha, explain sorear
02:19 aloha tcurtis: positive: so basically, I can write anything I want here, and it'll show up in 'explain'? (masak), foo (Tene), for another reason (nwellnhof); negative: nothing; overall: 6.
02:20 sorear (aloha is new here)
02:21 mariano that's cool
02:21 mariano now I'm wondering how many people here is a bot
02:21 sorear count the +s in your IRC client
02:22 sorear preflex: xseen sorear
02:22 preflex sorear was last seen on magnet/#parrot 42 seconds ago, saying: count the +s in your IRC client
02:22 sorear opbots beleive preflex
02:22 sorear opbots believe preflex
02:22 slavorg Ok
02:22 slavorgn Ok
02:23 mariano wow.. i guess the is nothing but a big turing test env
02:24 sorear "the is"?
02:24 mariano this is
02:25 mariano that's the proof I'm not one of them :P
02:25 sorear :p
02:25 sorear none of the bots is designed to pass
02:25 sorear only purl even tries to parse natural language
02:26 sorear (and is hated for this; aloha is being developed to replace purl's actually useful features)
02:29 mariano do you keep boot for different version of parrot/rakudo?
02:29 mariano or just whatever is in the trunk?
02:29 sorear "boot"?
02:29 sorear we keep all versions ever
02:30 mariano I mean, lets say you want to evaluate something in a previous version of rakudo can you do that?
02:30 sorear *you* can do that
02:31 mariano sweeet
02:31 sorear git checkout VERSION
02:31 mariano oh, gotcha!
02:31 sorear the rakudo build will automatically pick the correct contemporary Parrot
02:35 janus left #parrot
02:48 mikehh joined #parrot
03:00 janus joined #parrot
03:14 cotto We also suspect that bacek is actually a robot, but if so he's a very sophisticated model.
03:20 kid51 left #parrot
03:29 tcurtis left #parrot
03:30 kthakore joined #parrot
03:30 kthakore hola
04:04 JimmyZ joined #parrot
04:28 theory joined #parrot
05:30 cotto According to FedEx's tracking, a pair of hdmi cables I ordered from Woot weigh about 32 pounds.
05:31 cotto I must have gotten the 600' versions instead of the 6'.
05:32 Andy joined #parrot
05:36 integral left #parrot
05:37 integral joined #parrot
05:56 JimmyZ left #parrot
05:56 cotto left #parrot
06:08 Andy left #parrot
06:17 particle left #parrot
06:19 particle joined #parrot
06:37 mikehh left #parrot
07:55 theory left #parrot
08:23 perlite left #parrot
08:23 perlite joined #parrot
09:01 aloha left #parrot
09:04 bacek left #parrot
09:23 M_o_C joined #parrot
09:23 bacek joined #parrot
09:24 M_o_C left #parrot
09:24 M_o_C joined #parrot
09:29 aloha joined #parrot
09:32 M_o_C left #parrot
09:33 M_o_C joined #parrot
09:33 mikehh joined #parrot
09:38 jan left #parrot
10:23 jan joined #parrot
10:25 fperrad joined #parrot
10:28 smash morning' everyone
10:29 M_o_C left #parrot
10:29 M_o_C joined #parrot
10:52 contingencyplan left #parrot
10:59 M_o_C left #parrot
11:23 smash left #parrot
11:50 nwellnhof joined #parrot
11:55 dalek TT #1769 closed by nwellnhof++: Getting get_integer() not implemented in class 'XXXXX' when using "morph"
11:55 dalek TT #1769: http://trac.parrot.org/parrot/ticket/1769
11:56 dalek parrot: r48778 | nwellnhof++ | trunk/src/ops/pmc.ops:
11:56 dalek parrot: [doc] Amend documentation of morph opcode
11:57 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48778/
12:11 NotFound left #parrot
12:13 whiteknight joined #parrot
13:13 Paul_the_Greek joined #parrot
14:24 Coke msg nwellnhof why does morph's $2 have to be a class PMC?
14:24 purl Message for nwellnhof stored.
14:24 aloha OK. I'll deliver the message.
14:25 _shockwave joined #parrot
14:25 _shockwave left #parrot
14:26 shockwave Howdy
14:28 shockwave I've been wresting with caching registers returned by getattribute, which represent fields, so that getattribute doesn't have to called everytime a field is accessed.
14:29 shockwave One of the things that has giving me most trouble is the use of setattribute, which sets the value to a new PMC. But, now, I was staring at some code, I thought of something, which I'm hoping will work. Question,
14:31 shockwave For now, I've been using setattribute every time I want to set a value that represents a HLL field. Is the value is a scalar, I've been using 'box val' to box it into a PMC prior to setting it as the new value. But, I just though,
14:32 Coke while I appreciate the caching - is there specific performance issue you're trying to overcome by the caching?
14:32 shockwave do I even need to call setattribute. I mean, is there any reason why I shouldn't just set the value using the attribute's register. i.e., $P001 = 5; instead of: setattribute self, 'foo', boxed5
14:33 Coke box will create a new PMC for you. $PFOO = 5 will not.
14:34 shockwave @Coke: I can't justify myself NOT doing that catching. It's such a long hanging fruit of an optimization. It can eliminate may getattribute calls, register allocation, and (hopefully) many setattribute calls.
14:35 shockwave @Coke: But, if the attribute has previously been setattribute'd, then that value was fetched into, say, register $P1; is it value to just $P1 = x for any value?
14:35 shockwave ^^^s/long hanging/low hanging
14:36 Coke that's probably fine, depending on what type the P1 was.
14:36 Coke if you get back a array and say $P1 = 5, that might not do what you want.
14:36 shockwave oh
14:37 shockwave @Coke: I know I'm asking you to guess here: If the value at $P1 is a scalar (int, float, string), would that be fine?
14:38 Coke yah, probably. it really does depend on the individual PMC on how to respond to = <int>, but it'll probably work.
14:38 Coke ->
14:39 shockwave @Coke: Sweet. Thanks. I'll give this a try.
14:42 dmalcolm joined #parrot
14:43 kid51 joined #parrot
14:43 whiteknight left #parrot
14:51 mikehh left #parrot
14:57 Paul_the_Greek Say, what about PMC properties?
14:57 Paul_the_Greek They don't seem to be used too much.
14:58 theory joined #parrot
15:01 Paul_the_Greek left #parrot
15:01 Paul_the_Greek joined #parrot
15:19 dalek parrot: r48779 | chromatic++ | trunk (2 files):
15:19 dalek parrot: [PMC] Added init_pmc() to StringBuilder PMC.
15:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48779/
15:19 dalek parrot: r48780 | chromatic++ | trunk/src/string/api.c:
15:19 dalek parrot: [str] Ported Parrot_str_join() to StringBuilder.
15:19 dalek parrot: If there's no STRING on which to join the array elements, SB's init_pmc() works
15:19 dalek parrot: just fine.
15:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48780/
15:19 dalek parrot: r48781 | chromatic++ | trunk/src/string/api.c:
15:19 dalek parrot: [str] Rearranged Parrot_str_join() for efficiency.
15:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48781/
15:19 dalek parrot: r48782 | chromatic++ | trunk/src/string/api.c:
15:19 dalek parrot: [str] Ported Parrot_str_join() to StringBuilder.
15:19 dalek parrot: This ports the rest of the function.  It could be slightly more efficient, but
15:19 dalek parrot: it's cleaner for now.
15:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48782/
15:22 Paul_the_Greek ping chromatic
15:23 Paul_the_Greek Folks: What's the easiest way to check the pod documentation in a C file?
15:27 dukeleto Paul_the_Greek: perldoc foo.c
15:28 dukeleto Paul_the_Greek: what do you mean, "check" ?
15:28 dukeleto Paul_the_Greek: test for correctness, or just read it?
15:28 Paul_the_Greek I'd like to generate html and look at it. I know how to convert pod to html, but didn't know about perldoc.
15:32 dukeleto Paul_the_Greek: you can run perldoc on any file and it will look for POD in it
15:33 dukeleto Paul_the_Greek: try : perldoc perldoc :)
15:34 Paul_the_Greek Working like a charm, thanks.
15:36 dukeleto did some peeps forget to update the closed ticket count in the /topic ? I thought I saw more closed tickets happen
15:36 dalek parrot: r48783 | chromatic++ | trunk/src/namespace.c:
15:36 dalek parrot: [src] Removed GC blocking when installing subs.
15:36 dalek parrot: There's some risk in this patch, but blocking the GC is a big deal, and we
15:36 dalek parrot: should use it as sparingly as possible.
15:36 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48783/
15:36 dalek parrot: r48784 | chromatic++ | trunk/src/dynext.c:
15:36 dalek parrot: [src] Removed GC blocking from run_init_lib().
15:36 dalek parrot: Again, this blocking should be unnecessary, but in case of trouble with dynamic
15:36 dalek parrot: library loading, this commit may be the culprit.
15:36 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48784/
15:44 kid51 Paul_the_Greek: there's a utility that comes with Perl called 'pod2html' that will do that translation  ... and if you're really ambitious, I have a CPAN module called Pod::Multi that translates pod into man, text and html simultaneously.
15:44 kid51 dukeleto:  I closed some tickets, but was unaware of the count in the topic
15:44 kid51 So we may be in better shape than that indicates.
15:45 dmalcolm left #parrot
15:45 Paul_the_Greek I've found pod2html, but it's saying "no title for temp.pod." and producing an html file with no text.
15:47 Paul_the_Greek I bet I'm using perldoc incorrectly.
15:48 dukeleto kid51: yes, it is nice to know the current count in the topic. I think I saw 3-4 more tickets gets closed. we can figure it out from the timeline
15:51 Paul_the_Greek That's better. Gotta use -u on perldoc.
15:51 kid51 pod2html expects a file as input, whereas perldoc by default prints to STDOUT.  So you may need to do some file redirection
16:09 Paul_the_Greek Yes, I did. And you need the -u option or you just get plain text in the output pod file.
16:10 Paul_the_Greek So the new Boolean PMC is about 20% faster than the old one.
16:11 Paul_the_Greek Almost all of the improvement is in allocation, since there is no attribute block.
16:13 kid51 left #parrot
16:13 dukeleto Paul_the_Greek++ # that sounds awesome
16:14 Paul_the_Greek If the typical program was all boolean operations, it would be quite awesome.
16:14 Paul_the_Greek But it's good not to allocate memory when we don't need to.
16:14 Paul_the_Greek Thanks to chromatic for pointing out that we could use a PObj flag for the boolean value.
16:17 * dukeleto attempts to figure out how to make a debian package
16:17 moritz dukeleto: of parrot?
16:18 moritz there's a guide for that somewhere in doc/
16:19 dukeleto moritz: OH RLY?
16:19 purl ya rly!
16:19 moritz erm, docs/ :-)
16:20 moritz $ find docs/ -name '*debian*'
16:20 moritz docs/project/debian_packaging_guide.pod
16:20 dukeleto moritz: i want to make a package for PL/Parrot, but that doc will help
16:21 ruoso joined #parrot
16:28 mikehh joined #parrot
16:28 kid51 joined #parrot
16:33 dukeleto wow. setting up a chroot environment is non-trivial
16:36 * moritz found it quite easy
16:37 moritz debootstrap stable /location # and then wait a bit
16:38 dukeleto moritz: maybe I am reading old instructions
16:38 moritz dukeleto: are you on debian?
16:38 dukeleto moritz: yep
16:39 moritz then it should be that simple
16:39 moritz maybe with s/stable/testing/
16:48 ruoso left #parrot
16:52 Paul_the_Greek ping shockwave
16:55 dukeleto moritz: this makes it look complicated: http://trac.parrot.org/parrot/wiki/ChrootSetup
17:00 dalek parrot: r48785 | chromatic++ | trunk (2 files):
17:00 dalek parrot: [OO] Removed PIR overriding of Object's get_class.
17:00 ruoso joined #parrot
17:00 dalek parrot: You're asking for strange and wonderful and bad behavior if you do this, so
17:00 dalek parrot: nothing does it, so why pay the NQP-rx penalty for it?  When we get a more
17:00 dalek parrot: flexible metaobject system, people can do the kinds of things they need here in
17:00 dalek parrot: a different (better and safer) way.
17:00 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48785/
17:00 dalek parrot: r48786 | chromatic++ | trunk/src/pmc/object.pmc:
17:00 dalek parrot: [oo] Optimized Object's get/set attr_str VTABLEs.
17:00 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48786/
17:04 dukeleto moritz: should I be using quilt? Do you have any experience with it?
17:06 Paul_the_Greek ping coke
17:14 kid51 left #parrot
17:15 moritz dukeleto: none at all
17:18 dalek plparrot: f759d4b | leto++ | ports/debian/ (30 files):
17:18 dalek plparrot: Add a skeleton of files necessary for making a debian pacakge
17:18 dalek plparrot: review: http://github.com/leto/plparrot/commit/f​759d4b46a8e4d5fed9154451969b6dadf64e3ea
17:35 tcurtis joined #parrot
17:46 tetragon joined #parrot
17:50 dalek rakudo: 29fcf8e | chromatic++ | src/ (4 files):
17:50 dalek rakudo: [src] Updated deprecated string_from_literal calls.
17:50 dalek rakudo:
17:50 dalek rakudo: Parrot's (not all that) new approach is to use Parrot_str_new().
17:50 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/2​9fcf8e7d323336a1e03c59a3ab7204106c2c2a2
17:50 dalek rakudo: 6b1b030 | chromatic++ | src/binder/bind.c:
17:50 dalek rakudo: [binder] Hoisted several constant Parrot STRINGs.
17:50 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/6​b1b0302d0e5942cc6b7c49227da5191d695ca4c
17:50 dalek rakudo: e36452e | chromatic++ | src/ops/perl6.ops:
17:50 dalek rakudo: [ops] Hoisted constant Parrot STRINGs.
17:50 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/e​36452e26d6083c88b2103dba0a93f159f7c21e2
17:51 cotto joined #parrot
17:53 cotto ~~
17:59 contingencyplan joined #parrot
17:59 dukeleto contingencyplan: hello
18:05 Paul_the_Greek ping chromatic
18:05 cotto left #parrot
18:08 contingencyplan dukeleto, howdy
18:08 dukeleto contingencyplan: welcome to our comfy corner of the internets
18:22 tcurtis Looks like http://trac.parrot.org/parrot/timeline?fr​om=09/04/10&amp;daysback=3&amp;ticket=on we've closed at least 11 tickets. Five more were closed on Tuesday, but I'm not sure whether they were before or after #ps.
18:25 dalek parrot: r48787 | chromatic++ | trunk/src/pmc/undef.pmc:
18:25 dalek parrot: [PMC] Optimized Undef's get_string VTABLE.
18:25 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48787/
18:25 dalek parrot: r48788 | chromatic++ | trunk/src/pmc/stringhandle.pmc:
18:25 dalek parrot: [PMC] Used more CONST_STRING in StringHandle.
18:25 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48788/
18:41 dalek parrot: r48789 | chromatic++ | trunk/src (3 files):
18:41 dalek parrot: [ops] Gutted addattribute thanks to polymorphism.
18:42 dalek parrot: The default PMC now throws an exception for invalid use of addattribute
18:42 dalek parrot: because, truly, it's the invocant PMC's responsibility to do something sane or
18:42 dalek parrot: explain why it won't.
18:42 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48789/
18:49 dalek rakudo: ff5b4c0 | moritz++ | / (2 files):
18:49 dalek rakudo: partially update build system to deal with spectests in git
18:49 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/f​f5b4c0d076d609483fcccf558b9d113ce9a4ab6
18:55 plobsing joined #parrot
18:59 dalek TT #1769 reopened by bluescreen++: Getting get_integer() not implemented in class 'XXXXX' when using "morph"
18:59 dalek TT #1769: http://trac.parrot.org/parrot/ticket/1769
19:14 fperrad left #parrot
19:28 smash joined #parrot
19:28 smash hello everyone
19:52 mariano left #parrot
20:05 perlite left #parrot
20:05 pjcj left #parrot
20:06 dalek parrot: r48790 | plobsing++ | trunk (8 files):
20:06 dalek parrot: [TT #1549] add NativePCCMethod PMC to replace raw NCI
20:06 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48790/
20:07 perlite joined #parrot
20:14 bluescreen joined #parrot
20:25 dukeleto moritz++ # spectests in git!
20:40 dalek parrot: r48791 | plobsing++ | trunk/MANIFEST:
20:40 dalek parrot: mk_manifest_and_skip
20:40 purl mk_manifest_and_skip is the canonical mechanism for (re)generating MANIFEST
20:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48791/
20:40 dalek parrot: r48792 | plobsing++ | trunk/src/pmc/nativepccmethod.pmc:
20:40 dalek parrot: [codetest] svn properties
20:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48792/
20:44 bluescreen left #parrot
20:57 dalek parrot: r48793 | plobsing++ | trunk/src/pmc/nci.pmc:
20:57 dalek parrot: [TT #1549] eliminate raw NCI functionality
20:57 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48793/
21:18 bluescreen joined #parrot
21:23 dafrito left #parrot
21:31 dalek parrot: r48794 | plobsing++ | trunk/DEPRECATED.pod:
21:31 dalek parrot: [TT #1549] deprecation item complete
21:31 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48794/
21:32 dalek TT #1549 closed by plobsing++: [DEPRECTION] NCI for "raw" pointers
21:32 dalek TT #1549: http://trac.parrot.org/parrot/ticket/1549
21:38 hercynium joined #parrot
21:40 dafrito joined #parrot
21:40 Paul_the_Greek left #parrot
22:24 aloha left #parrot
22:24 M_o_C joined #parrot
22:24 bacek left #parrot
22:35 kid51 joined #parrot
22:36 bacek joined #parrot
22:43 aloha joined #parrot
22:45 hercynium left #parrot
22:56 kthakore Hi
22:56 kthakore Are the lorito tickets seperate on trac?
23:04 kid51 kthakore:  It appears that as yet there are no specific tickets for Lorito in Trac.
23:04 kthakore oh ok
23:04 kid51 But if you enter Lorito in the search box, you'll find links to the wiki pages where this is being scoped out.
23:05 kthakore ok
23:05 kid51 My perhaps erroneous impression is that lorito has not progressed beyond the scoping phase --  but I would love to see evidence to the contrary.
23:21 contingencyplan left #parrot
23:23 contingencyplan joined #parrot
23:31 M_o_C left #parrot
23:37 cotto joined #parrot
23:37 cotto ~~
23:59 Coke .

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

Parrot | source cross referenced