Camelia, the Perl 6 bug

IRC log for #parrot, 2010-08-23

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:01 Psyche^ joined #parrot
00:06 bacek_at_work Good morning, humans
00:06 Patterner left #parrot
00:06 Psyche^ is now known as Patterner
00:06 mj41_ joined #parrot
00:09 mj41 left #parrot
00:09 mj41_ is now known as mj41
00:10 Paul_the_Greek Hey Bacek.
00:11 whiteknight hello bacek
00:12 dalek parrot-linear-algebra: 4e23a2f | Whiteknight++ | s (10 files):
00:12 dalek parrot-linear-algebra: add in the machinery to include some random .c files into the dynpmc build. Exercise this mechanism by moving some of the routines I have into separate files where they can (hopefully) be shared among multiple types
00:12 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/4e23a2f7854e32641b6aba606976c01220eddc0b
00:12 dalek parrot-linear-algebra: c20761a | Whiteknight++ | setup.nqp:
00:12 dalek parrot-linear-algebra: add logic to detect one version of lapack at one location, and nclude it in the build. No calls to it yet
00:12 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/c20761a553d3ee88e9b913c23f6df6c7eadfaa9e
00:24 Paul_the_Greek What determines whether a PMC should extend the scalar PMC?
00:27 sorear There are no rules.  Sorry.
00:29 dalek parrot: r48599 | jkeenan++ | trunk/config/auto/pmc.pm:
00:29 dalek parrot: Delete commented-out code.
00:29 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48599/
00:29 dalek parrot: r48600 | jkeenan++ | trunk/t/steps/auto/pmc-01.t:
00:29 dalek parrot: Test previously uncovered condition.
00:29 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48600/
00:29 dalek parrot: r48601 | jkeenan++ | trunk/examples/languages/squaa​k/doc/tutorial_episode_1.pod:
00:29 dalek parrot: [codingstd] Correct excessive linelength.
00:29 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48601/
00:29 dngor left #parrot
00:30 Paul_the_Greek Why does Integer extend scalar but BigInt doesn't?
00:31 brooksbp left #parrot
00:32 sorear I'd be very suprised if there was a reason
00:34 Paul_the_Greek Hmm. So if scalar has a useful method or two, I might inherit from it. If not, I wouldn't.
00:34 hudnix left #parrot
00:35 Paul_the_Greek That's confusing.
00:36 dngor joined #parrot
00:37 kid51 msg chromatic Can you look at include/parrot/hash.h with respect to codingstd requirements, e.g., c_macro_args ? Thanks.
00:37 purl Message for chromatic stored.
00:37 whiteknight Paul_the_Greek: As far as I am concerned nothing should inherit from Scalar, and Scalar should be deleted
00:38 Paul_the_Greek The docs say that only Foo provides Scalar, which is also a lie.
00:38 Paul_the_Greek whiteknight:  Sounds reasonable to me.
00:39 whiteknight probably requires a deprecation notice for some reason, but I can't imagine that Scalar PMC provides anything
00:40 Paul_the_Greek It's 970 lines of nothing, then.
00:40 Paul_the_Greek Let me check for tickets ...
00:43 Paul_the_Greek There is one ticket that says that scalar is the only PMC providing logical_not.
00:45 dalek parrot: r48602 | jkeenan++ | trunk/config/auto/pmc.pm:
00:45 dalek parrot: [codingstd] Eliminate trailing whitespace.
00:45 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48602/
00:45 dalek parrot: r48603 | jkeenan++ | trunk/t/op/gc-leaky-call.t:
00:45 dalek parrot: Set file metadata properties.
00:45 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48603/
00:45 dalek parrot: r48604 | jkeenan++ | trunk/src (4 files):
00:45 dalek parrot: [codingstd] Enforce c_parens rule.
00:45 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48604/
00:46 darbelo left #parrot
00:46 Paul_the_Greek Seems like it should go away or else be refactored into something useful.
00:47 darbelo joined #parrot
00:47 Paul_the_Greek Maybe some things should be moved in the default PMC.
00:49 whiteknight it's a throwback to back when Parrot was more Perl-oriented
00:51 Paul_the_Greek Perhaps I'll add a ticket and undertake a little research project at some point.
00:51 whiteknight There really hasn't been too much discussion about it. I would like to see it removed but I haven't pursued it. I do wonder what other developers think about it
00:52 Paul_the_Greek I'll add a ticket.
00:54 dalek parrot-linear-algebra: b530931 | Whiteknight++ | src/ (4 files):
00:54 dalek parrot-linear-algebra: a few small cleanups
00:54 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/b530931f806c753f5011b27c78751f169334f2c5
00:59 whiteknight left #parrot
01:00 Paul_the_Greek left #parrot
01:00 dalek TT #1754 created by Paul_the_Greek++: The Scalar PMC
01:00 dalek TT #1754: http://trac.parrot.org/parrot/ticket/1754
01:02 dalek parrot: r48605 | jkeenan++ | trunk/tools/dev/as2c.pl:
01:02 dalek parrot: Correct POD formatting error detected by t/codingstd/perlcritic.t.
01:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48605/
01:11 contingencyplan left #parrot
01:11 contingencyplan joined #parrot
01:35 dalek parrot: r48606 | jkeenan++ | trunk/include/parrot/hash.h:
01:35 dalek parrot: Correct spelling error in inline comment.
01:35 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48606/
01:35 dalek parrot: r48607 | jkeenan++ | trunk/t/codingstd/c_operator.t:
01:35 dalek parrot: [codingstd] Make test output more useful by indicating line in file at which standard was
01:36 dalek parrot: violated.
01:36 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48607/
01:39 kid51 Unfortunately, even with that improvement in c_operator.t, I can' identify why include/parrot/hash.h is failing the test.
02:08 Coke Ugh. what is putting "EXPORT" in my HLL namespace?
02:09 davidfetter joined #parrot
02:10 hudnix joined #parrot
02:12 kid51 left #parrot
02:35 janus left #parrot
02:41 janus joined #parrot
02:56 antivigilante joined #parrot
02:57 antivigilante how do I get squaak - i'm on debian
03:01 GeJ squaak?
03:01 purl i think squaak is languages/squaak or the language in kj's tutorial at parrotblog.org or http://svn.perl.org/parrot/trunk/languages/squaak/
03:03 Coke i don't think there's a separate install, antivigilante - it's just a demo language included in the tarball (or svn repo, if you prefer)
03:04 GeJ antivigilante: It looks like squaak a left the nest. http://github.com/ekiru/squaak-tutorial.
03:05 tcurtis It's in examples/languages/squaak in the Parrot repository.
03:06 tcurtis antivigilante: GeJ: don't go to that github repo. I just had that there for a while when I was updating it. The version in Parrot's subversion repository is the most up-to-date version.
03:08 GeJ tcurtis: thanks for the update.
03:08 GeJ purl: no, squaak is examples/languages/squaak
03:08 purl okay, GeJ.
03:09 GeJ squaak?
03:09 purl squaak is, like, examples/languages/squaak
03:09 tcurtis squaak?
03:09 purl squaak is examples/languages/squaak
03:09 GeJ purl squaak is also the language in kj's tutorial at parrotblog.org
03:09 purl okay, GeJ.
03:09 GeJ botsnack
03:09 purl :)
03:11 antivigilante the tute sez make install-dev, would it be in parrot-dev on debian?
03:12 Coke the tute?
03:12 antivigilante tutorial
03:12 purl somebody said tutorial was the Parrot interpreter tutorial at  http://en.wikibooks.org/wiki/Parrot_Virt​ual_Machine/Squaak_Tutorial/Introduction
03:12 Coke I have no idea how debian is packaging things, but "install dev" is really old.
03:12 Coke it's just "install" these days.
03:12 Coke does debian have a "parrot-dev" and a parrot? (I can't imagine you'd not want parrot-dev if they split it up.)
03:14 antivigilante parrot-devel and libparrot-dev
03:14 antivigilante one sec
03:14 GeJ I'm no debian expert, but I think that in debian lingo, -dev means header files and such.
03:15 GeJ All you need when you want to compile additional software on your own against external libs.
03:15 GeJ But again, I'm no expert.
03:15 antivigilante left #parrot
03:36 antivigilante joined #parrot
03:42 Coke left #parrot
03:42 Coke joined #parrot
03:47 khairul left #parrot
03:56 Coke left #parrot
04:02 Coke joined #parrot
04:02 khairul joined #parrot
04:08 cotto hio khairul
04:21 khairul hio cotto. i'm slowly moving the code over to here, http://github.com/khairulsyamil/parrot-instrument
04:31 cotto cool
04:47 khairul left #parrot
05:23 antivigilante the ekiru link is the only one that works for me'
05:41 davidfetter left #parrot
05:48 cotto python--
05:49 cotto "multiple repeat" is not a valid way to tell me a regex has a syntax error
05:49 tcurtis antivigilante: http://docs.parrot.org/parrot/​latest/html/PCT_Tutorial.html
05:52 antivigilante left #parrot
06:02 uniejo joined #parrot
06:40 fperrad joined #parrot
06:42 cotto msg dafrito Could you make map-svn also grab commit messages?
06:42 purl Message for dafrito stored.
06:51 dalek github-trac: c2fcc54 | ++ | github/github.py:
06:51 dalek github-trac: fix code to force rereading of the revmap
06:51 dalek github-trac: review: http://github.com/cotto/github-trac/commit​/c2fcc545df623e2ed0612be74f35c0162b6c58da
06:51 dalek github-trac: 3c9a116 | ++ | github/github.py:
06:51 dalek github-trac: Nuke code to force rereading of the revmap.   This is infrequent enough that deleting the table will be fine.
06:51 dalek github-trac: review: http://github.com/cotto/github-trac/commit​/3c9a1168ed0be55f4ba0ab577c42e6b100d16abd
06:51 dalek github-trac: e65f5d0 | ++ | github/github.py:
06:51 dalek github-trac: initial somewhat working version of wiki links
06:51 dalek github-trac: review: http://github.com/cotto/github-trac/commit​/e65f5d0562259140ad94e4d481932259e9821e5e
06:51 dalek github-trac: 09f1817 | ++ | github/github.py:
06:51 dalek github-trac: remove some debugging code
06:51 dalek github-trac: review: http://github.com/cotto/github-trac/commit​/09f181717119fb627d8997acfdc5ca0e7cf1f9f0
06:51 dalek github-trac: b15d52d | ++ | github/github.py:
06:51 dalek github-trac: add stub tooltip support
06:51 dalek github-trac: review: http://github.com/cotto/github-trac/commit​/b15d52dd1aa689f07e4588921ef6143c51d0f456
06:54 dalek parrot: r48608 | NotFound++ | trunk/t/pmc/exception.t:
06:54 dalek parrot: test Exception is_equal
06:54 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48608/
06:58 tcurtis left #parrot
07:27 dalek parrot: r48609 | NotFound++ | trunk/t/pmc (7 files):
07:27 dalek parrot: update run instructions in packfile test files, TT #1750 TT #1712
07:27 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48609/
07:35 tadzik joined #parrot
08:24 tadzik left #parrot
08:25 ttbot Parrot trunk/ r48610 i386-linux-thread-multi make error http://tt.taptinder.org/file/cmdout/373738.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
08:34 dalek parrot: r48610 | mikehh++ | trunk/include/parrot/hash.h:
08:34 dalek parrot: fix codetest failures - unwrapped macro arguments and
08:34 dalek parrot:  there should be one space or a newline after a comma
08:34 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48610/
08:51 dalek parrot: r48611 | mikehh++ | trunk/include/parrot/hash.h:
08:51 dalek parrot: does not seem to like wrapping _code
08:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48611/
09:36 ruoso left #parrot
09:59 tadzik joined #parrot
10:07 khairul joined #parrot
11:45 whiteknight joined #parrot
11:57 lucian joined #parrot
12:03 whiteknight good morning, #parrot
12:03 nwellnhof joined #parrot
12:04 particle left #parrot
12:07 particle1 joined #parrot
12:15 ruoso joined #parrot
12:16 Paul_the_Greek joined #parrot
12:16 Paul_the_Greek Good morning, folks.
12:27 lucian left #parrot
12:27 lucian joined #parrot
12:28 lucian left #parrot
12:29 lucian joined #parrot
12:29 Coke hio.
12:29 nwellnhof Is anyone knowledgeable about src/call/args.c around?
12:30 moritz I can't offer knowledge, only ops :-)
12:30 Coke ugh. I have 17 namespaces in .HLL 'tcl' that shouldn't (eventually) be there.
12:31 Paul_the_Greek nwellnhof:  I'm not knowledgeable, but I am looking at it. Yikes.
12:32 Coke we've hit our goal of closing N tickets, yes?
12:32 Paul_the_Greek I think we're certainly close.
12:32 moritz I think bacek_at_work and whiteknight did some hacking on the calling conventions, no?
12:33 Paul_the_Greek I didn't help by opening two new ones. :D
12:33 nwellnhof I think we can close TT#945 and TT#1465.
12:35 Paul_the_Greek Is there a test for #1465, nwellnhof?
12:36 nwellnhof Yeah, I added tests for both tickets last week.
12:36 nwellnhof t/op/gc-leaky-call.t and t/op/gc-leaky-box.t
12:37 Paul_the_Greek Let me look at those just to see how you tested a leak.
12:39 moritz it would be even more robust to compare memory usage before and after the loop
12:40 moritz instead of using a hard limit
12:41 nwellnhof Currently, the memory usage of all smaller programs will be between 1MB and 2MB.
12:41 Coke TT: 662 active tickets.
12:42 Coke we have closed 10 tickets in the past 6 days.
12:42 Coke 3 tickets left to meet the goal.
12:42 nwellnhof Did you count TT#1121?
12:43 nwellnhof I closed it last week as invalid.
12:43 Paul_the_Greek Coke:  I have a patch that is ready to commit. If you want to do it, you can close the ticket.
12:45 Coke I counted everything that was closed in the past six days according to: http://trac.parrot.org/parrot/timeline?​from=08/23/10&daysback=6&change​set=on&ticket=on&update=Update
12:45 Coke Paul_the_Greek: ... don't you have commit privs?
12:46 Paul_the_Greek I do, but I'm on vacation and will wait to start committing until I return home.
12:46 Paul_the_Greek Here is the ticket: http://trac.parrot.org/parrot/ticket/481; cotto has tested it.
12:46 NotFound Paul_the_Greek: I've just read your last comment in TT #1753. If the fixed size allocator has a problem is the fixed size allocator who needs a fix, no the attr struct size.
12:47 Coke looks like #17222 is closable.
12:47 Coke looks like #1722 is closable.
12:47 Paul_the_Greek NotFound:  Agreed. The PMC attributes allocator has to deal with the issue.
12:48 Paul_the_Greek I'm going to look at that allocator to possibly speed it up, so I'll deal with the alignment issue too.
12:48 NotFound Paul_the_Greek: ok
12:49 nwellnhof Paul_the_Greek: The allocation is pretty fast already. The garbage collection is where most time is spent.
12:49 moritz rakudo leaks on simple loops (again) :(
12:50 NotFound Coke: I think we can close it, 3 weeks without answers is more than enough
12:50 Paul_the_Greek One source of ticket closure are the ones with pending patches. Some of them are quite old and possibly irrelevant now.
12:50 nwellnhof moritz: Which parrot revision?
12:51 moritz nwellnhof: r48587 - but I fear it's a rakudo bug, not parrot
12:51 Paul_the_Greek For example: http://trac.parrot.org/parrot/ticket/951
12:51 NotFound Coke: closed
12:52 Coke if a patch no longer applies, the ticket is rejectable, yes, along with a nice note that we're sorry it took so long and please rebase and resubmit if this is still an issue."
12:52 Coke NotFound++
12:52 Coke 2 to go to meet our target.
12:52 nwellnhof moritz: r48587 contains my leak fixes
12:54 dalek parrot-linear-algebra: 020f27c | Whiteknight++ | setup.nqp:
12:54 dalek parrot-linear-algebra: add shebang to setup.nqp. I think I also gave it +x
12:54 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/020f27c318efd07c408e032c222a6f4b6581df5f
12:54 dalek parrot-linear-algebra: d4ef78b | Whiteknight++ | setup.pir:
12:54 dalek parrot-linear-algebra: remove the old setup.pir. Everything should be done with the new setup.nqp now
12:54 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/d4ef78b72eb381b39399753cd982a4f203c8f375
12:54 dalek parrot-linear-algebra: 1277e1c | Whiteknight++ | ROADMAP.pod:
12:54 dalek parrot-linear-algebra: delete ROADMAP.pod. The items discussed there are already completed or in current progress. Additional issues and TODO items will be tracked in the github issue tracker at http://github.com/Whiteknig​ht/parot-linear-algebra.git
12:54 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/1277e1c328945cf4aefeb6f046861fdb7cf0af59
12:54 dalek parrot-linear-algebra: c3fe221 | Whiteknight++ | PLATFORMS:
12:54 dalek parrot-linear-algebra: Update PLATFORMS with inforation about Ubuntu10.04 with clang1.1. Some of these older records need to be updated/deleted as well. In the future I will probably only discuss recent LTS versions of Ubuntu and the current development version I am using, unless I find a testing champion for other systems.
12:54 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/c3fe221a29dffb64bd32c74b977cea75c063275e
12:54 nwellnhof Coke: I can close #945 and #1465. Both have a test case now. I just wanted to wait a little in case there's something wrong with my patch.
12:54 Paul_the_Greek nwellnhof:  I'll benchmark any allocation speed-ups that I make. You may be right that I can't make much of a dent.
12:54 nwellnhof Paul_the_Greek: Every little helps.
12:55 nwellnhof But, of course, there's Amdahl's law.
12:55 Paul_the_Greek nwellnhof:  Which benchmark do you think I should use that is PMC allocation/free heavy?
12:55 NotFound Loose pressusre on the gc or the allocators is good, even if simple benchmarks don't show clear improvements.
12:56 moritz compiling rakudo is a pretty good GC benchmark :-)
12:57 nwellnhof Paul_the_Greek: Basically, everything that isn't pure integer and number benchmarks.
12:58 Paul_the_Greek I also have to invent a custom PMC to demonstrate the attribute alignment problem.
12:58 NotFound Compiling winxed is a simple benchmark, and a lot short than compiling rakudo ;)
12:58 Paul_the_Greek Is it legitimate to add an experimental PMC to the system and then remove it later?
12:59 Paul_the_Greek What is winxed?
12:59 purl hmmm... winxed is not javascript, just uses a familiar syntax. or http://code.google.com/p/winxed/ or http://winxed.org/
12:59 nwellnhof Paul_the_Greek: You should that in an own branch.
12:59 nwellnhof s/should/should do/
12:59 NotFound Paul_the_Greek: yes, but you need to bump PBC_COMPAT in both steps.
13:00 NotFound Better in a branch, yes
13:00 moritz and each time you break my rakudo setup, and that damn error message from parrot doesn't even tell me which PBC it failed to read
13:00 Paul_the_Greek Okay, I'll make a branch. Good to learn how to do that.
13:01 nwellnhof Back to my src/call/args.c issue: The code starting at line 491 uses a really baroque way to iterate over a hash.
13:02 nwellnhof I think it could be replaced by the new hash iteration macro. But maybe I'm missing something.
13:03 moritz it was probably written to avoid calls
13:03 nwellnhof That code is also the only user of parrot_hash_get_idx which could go away then.
13:03 moritz which would have made it recurse
13:03 dalek TT #1722 closed by NotFound++: osx build failed caused by errant '\c'
13:03 dalek TT #1722: http://trac.parrot.org/parrot/ticket/1722
13:05 nwellnhof It looks like remnants from a strange past.
13:05 moritz just replace it, and if all tests pass, commit it
13:06 dalek parrot-linear-algebra: bd96745 | Whiteknight++ | README:
13:06 dalek parrot-linear-algebra: Updates to README
13:06 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/bd9674563f002faa65ae155a7d172548d43ada83
13:06 Paul_the_Greek NotFound:  I have a pending patch that adds opcodes. Do I need to deal with PBC_COMPAT?
13:09 NotFound Paul_the_Greek: yes
13:10 NotFound With experimental opcodes it may not have effect, but better to be on the safe side.
13:10 Paul_the_Greek NotFound:  So I see the PBC_COMPAT history file that needs to be edited. Is there something else to do?
13:12 NotFound Paul_the_Greek: I hope not, the problems with the native_pbc test files should be out of the way right now.
13:12 Paul_the_Greek NotFound:  What about ops.num?
13:13 NotFound Paul_the_Greek: experimental ops have its own numbering, not affected.
13:13 Paul_the_Greek Sorry, talking about adding permanent opcodes.
13:14 NotFound Paul_the_Greek: what opcodes?
13:14 purl opcodes are Good!
13:14 Paul_the_Greek NotFound:  Here's the ticket: http://trac.parrot.org/parrot/ticket/481
13:15 Paul_the_Greek Two native integer opcodes and two Float PMC opcodes.
13:15 NotFound Fine then. But I don't know what's the current state on ops numering policy and tools.
13:17 Paul_the_Greek I'll ask cotto, since he reviewed the patch. At least I have to edit PBC_COMPAT.
13:18 Paul_the_Greek msg cotto Regarding ticket #481, I need to edit PBC_COMPAT. Anything else regarding opcode compatibility or numbering?
13:18 purl Message for cotto stored.
13:20 dalek TT #945 closed by nwellnhof++: Sub invocation consumes all memory. (needs testing)
13:20 dalek TT #945: http://trac.parrot.org/parrot/ticket/945
13:20 dalek TT #1465 closed by nwellnhof++: Parrot GC leaks memory for basic programs
13:20 dalek TT #1465: http://trac.parrot.org/parrot/ticket/1465
13:25 Paul_the_Greek Can I tell online whether I have commit privilege?
13:26 moritz if you can commit to parrot with your trac username and password, you have commit privs
13:26 moritz but I would be suprised if somebody gave you commit privs without telling you :-)
13:26 moritz so if you don't know, the answer is likely "no"
13:27 Paul_the_Greek I was supposed to get commit privilege, but I'm not at home so I haven't tried one yet.
13:34 Paul_the_Greek left #parrot
13:35 dalek parrot: r48612 | nwellnhof++ | trunk (3 files):
13:35 dalek parrot: Use hash iteration macro in dissect_aggregate_arg
13:35 dalek parrot: This was the only user of parrot_hash_get_idx, so it can go away, too.
13:35 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48612/
13:55 uniejo left #parrot
14:20 Andy joined #parrot
14:43 whiteknight ping ash_, plobsing
14:45 Coke msg paul_the_greek - the typical way to check is to add yourself to AUTHORS.
14:45 purl Message for paul_the_greek stored.
14:50 whiteknight Does anybody know if ash_'s GSoC project completed successfully? I haven't heard from him in a while
14:58 Coke Hit the mentor?
14:59 dalek parrot: r48613 | nwellnhof++ | trunk/src/hash.c:
14:59 dalek parrot: Fast path for hash get/put with string keys
14:59 dalek parrot: Inline get_hash_val and STRING_compare in hash_get_bucket and hash_put.
14:59 dalek parrot: Also remove the COW test from STRING_compare. It was wrong (should have
14:59 dalek parrot: used strstart instead of bufstart) and didn't give a speedup.
14:59 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48613/
15:00 moritz seen plobsing
15:00 purl plobsing was last seen on #parrot 6 days, 9 hours, 22 minutes and 4 seconds ago, saying: remind me never to give you patches on release day  [Aug 17 05:38:47 2010]
15:08 theory joined #parrot
15:13 Coke partcl-nqp: puts [namespace children]
15:13 p6eval partcl-nqp: OUTPUT«␤»
15:14 Coke moritz: what was your suggestion for tracking version information in partcl in the evalbot?
15:14 moritz Coke: make the default 'make' target write a revision file
15:14 moritz which p6eval then can read
15:15 moritz Coke: have you fixed --gen-parrot in partcl-nqp?
15:15 Coke ".revision"?
15:15 moritz wfm
15:15 Coke moritz: no, I never use it. how is it broken?
15:15 moritz partcl-nqp: puts [namespace children]
15:15 p6eval partcl-nqp: OUTPUT«::Partcl ::String ::ResizablePMCArray ::Hash ::Info ::Array ::FileGlob ::StringGlob ::_tcl ::Dict ::Regex ::PCT ::ARE ::PAST ::HLL ::Namespace ::EXPORT␤»
15:16 Coke (none of those should be there. =-)
15:16 moritz Coke: last time I tried it didn't execute make or make install or so
15:16 moritz Coke: point is, if I want to install a cron job for updating partcl-nqp, I need a reliable way to get the correct parrot revision
15:17 moritz and automatic
15:17 purl automatic is probably http://youtube.com/watch?v=tIRCzbBB99E
15:17 Coke ok. I just stole gen-parrot from rakudo at some point. I'll open a ticket so i don't forget this time.
15:18 theory left #parrot
15:20 Coke moritz++ #tickets opened. I'll cc you when they get closed. (http://code.google.com/p/partcl/issues/list)
15:23 * Coke finds an old ticket pondering something like pir::say hi ;# in partcl.
15:27 moritz that's mostly valuable if you want to write the built-ins in TCL
15:27 moritz if not, why bother?
15:28 Coke it's mainly helpful for developer diagnostics.
15:28 Coke old partcl let you do: [inline PIR {trace 1}] , etc.
15:28 Coke this is actually less useful with PCT, I suppose.
15:29 * Coke ponders just killing all the old partcl tickets.
15:30 Coke ugh, partcl is failing tests again.
15:31 cotto_work joined #parrot
15:32 cotto_work ~~
15:34 brianwisti joined #parrot
15:42 dalek partcl: 22bda21 | coke++ | runtime/tcllib.pir:
15:42 dalek partcl: These are now dyn-PMCs, load them.
15:42 pyrimidine joined #parrot
15:42 dalek partcl: review: http://github.com/partcl/partcl/commit/2​2bda2139e7867ecf55824e4e509f6c2cb8506c2
15:45 mikehh_ is now known as mikehh
15:45 mikehh opbots, names
15:57 ruoso left #parrot
16:01 Paul_the_Greek joined #parrot
16:01 Paul_the_Greek purl,messages
16:06 Paul_the_Greek ping Coke
16:09 Paul_the_Greek Where is the file called AUTHORS?
16:11 tcurtis joined #parrot
16:12 cotto_work What makes the assumption that we have such a file?
16:13 nwellnhof left #parrot
16:13 Paul_the_Greek Coke mentioned it in a msg to me. Did he mean CREDITS, I wonder?
16:13 cotto_work probably
16:14 Paul_the_Greek cotto_work:  For my patch that adds the math opcodes, I also need to edit PBC_COMPAT, right?
16:14 tadzik left #parrot
16:14 cotto_work which tt was it?
16:14 Paul_the_Greek Getting ...
16:15 cotto_work found it
16:15 Paul_the_Greek Ticket: http://trac.parrot.org/parrot/ticket/481
16:16 Paul_the_Greek Is there a way to tell, online, whether I now have commit privilege?
16:16 cotto_work You don't need to bump PBC_COMPAT because just adding dynops.
16:17 cotto_work Adding core ops (src/ops/*.ops) requires a PBC_COMPAT bump.
16:17 Paul_the_Greek Right, that makes sense.
16:18 cotto_work Hmmm.  Coke can tell online but I don't think trac tells you if you have an active commit bit.
16:18 cotto_work (Coke has Trac admin privileges.)
16:19 Paul_the_Greek When I asked him about it, he said "the typical way to check is to add yourself to AUTHORS."
16:19 Paul_the_Greek What do you suppose he meant?
16:19 cotto_work Ah.  He definitely meant CREDITS.
16:20 Paul_the_Greek Oh, so he meant I should try to commit a change to CREDITS.
16:20 cotto_work Yup.
16:21 Paul_the_Greek It'll wait until I get home.
16:22 cotto_work ok
16:23 Paul_the_Greek Are you the one who suggested a benchmark for PMC allocation/free timing?
16:23 cotto_work I don't think so.
16:24 bubaflub joined #parrot
16:32 Paul_the_Greek primes2 looks like a good choice.
16:32 ambs joined #parrot
16:34 ambs left #parrot
16:46 ruoso joined #parrot
16:52 khairul left #parrot
16:55 theory joined #parrot
16:57 Paul_the_Greek left #parrot
16:58 icarroll left #parrot
17:14 Coke yes, I said the wrong file.
17:14 Coke That's why I suggested that one; seemed like a very low risk commit. =-)
17:19 cotto_work though reverts are cheap
17:22 brianwisti left #parrot
17:23 nwellnhof joined #parrot
17:36 Paul_the_Greek joined #parrot
17:37 Coke msg chromatic Parrot::Embed failure: http://rt.perl.org/rt3/Tic​ket/Display.html?id=64124
17:37 purl Message for chromatic stored.
17:37 Coke msg chromatic (though i did no diligence other than asking Gabor if he was sure. =-)
17:37 purl Message for chromatic stored.
17:40 Paul_the_Greek Which file has all the ASSERT macro definitions?
17:41 Coke they are spread out.
17:42 cotto_work They're generated by headerizer.
17:42 Coke if you're in a .c file, look in the corresponding .h (listed near some HEADERIZER comment)
17:42 Paul_the_Greek But the base ones such as ASSERT and ASSERT_ARG?
17:43 Coke or: vi -t ASSERT_ARGS_PackFile_Constant_pack
17:43 Paul_the_Greek No source tree here at the beach; no decent editor.
17:44 Coke if you have no source tree, I'm wondering why you're asking these questions. =-)
17:44 particle1 he's reading parrot fanfic
17:45 Paul_the_Greek No source tree on this laptop that I can search with a decent editor.
17:46 Coke where do you see a bare ASSERT?
17:47 Coke PARROT_ASSERT_ARG is defined in include/parrot/exceptions.h
17:47 theory left #parrot
17:49 Paul_the_Greek There it is. Thanks. And, oh look, PARROT_ASSERT.
17:49 Coke ah. so you didn't mean "ASSERT".
17:49 Coke if you have network access, you might want to request an account on feather.perl6.nl from Juerd. Then you can have whatever you want available, if you have a network cxn.
17:50 Coke (as long as it's linux-colored)
17:50 moritz or has putty
17:50 Coke moritz: ... I mean to say that feather is a linux box.
17:51 Paul_the_Greek Right, didn't see plain ASSERT. The 'PARROT_' prefixes kind of fade into the background.
17:58 tcurtis left #parrot
17:59 cotto_work msg dafrito Here's a good test case: make a page with ~1000 md5sums and see how the github plugin handles it.
17:59 purl Message for dafrito stored.
18:00 TimToady left #parrot
18:01 dalek rakudo: 689bb75 | moritz++ | src/builtins/Parcel.pir:
18:01 dalek rakudo: fix %() segfault. Patch courtesy of TiMBuS++
18:01 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/6​89bb75f29b004c28c934380676c2c22fb7e195e
18:02 cotto_work 53 seconds
18:02 cotto_work with plenty of room for optimization
18:02 Paul_the_Greek What takes 53 seconds?
18:03 cotto_work a trac wiki page with >1000 md5sums rendered with the github plugin's wiki syntax extension
18:04 cotto_work (add a link and tooltip to any mentions of svn revisions or git changesets)
18:04 cotto_work vs .7 seconds with the plugin disabled
18:20 Paul_the_Greek left #parrot
18:20 dalek parrot: r48614 | nwellnhof++ | trunk/src/hash.c:
18:20 dalek parrot: Optimize expand_hash
18:20 dalek parrot: Merge pointer relocation and rehashing into a single loop. Optimize
18:20 dalek parrot: update of free list. Also don't assume that new_size = 2 * old_size.
18:20 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48614/
18:20 dalek parrot: r48615 | nwellnhof++ | trunk/src (2 files):
18:20 dalek parrot: Don't recompute hash value of strings in expand_hash
18:20 dalek parrot: Fix some warnings from the previous commit
18:21 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48615/
18:29 whiteknight cotto_work: is the plugin written in Parrot?
18:30 cotto_work Mu
18:31 tcurtis joined #parrot
18:32 * cotto_work hopes he wasn't supposed to take that question seriously
18:48 sorear left #parrot
18:59 sorear joined #parrot
19:11 tcurtis left #parrot
19:11 dukeleto 'ello
19:26 whiteknight hello dukeleto
19:30 bubaflub left #parrot
19:31 whiteknight dukeleto: Can you add people to the parrot organization?
19:31 whiteknight and by "people", I mean "me"?
19:35 cotto_work me too
19:36 atrodo And update the org icon to the parrot head?
19:39 dukeleto whiteknight: i don't know if I can add people, i will check.
19:43 dalek nqp-rx: 705f966 | moritz++ | t/p6regex/ (8 files):
19:43 dalek nqp-rx: [p6regex-test] fudge it to be clean; fix a few tests along the way
19:43 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/7​05f9664a49786a521bf6653499afffd4ddf0adc
19:44 dukeleto has anyone played around with the new github mirror?
19:45 whiteknight what new mirror?
19:46 moritz github.com/parrot/parrot/
19:46 whiteknight oh, I haven't "played" with it at all, no
19:52 darbelo left #parrot
19:55 dalek nqp-rx: dfbe437 | moritz++ | build/Makefile.in:
19:55 dalek nqp-rx: include p6regex-test in "test" target
19:55 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/d​fbe437e25d9d20f79ab32c2d202e4531ac38701
20:00 whiteknight left #parrot
20:01 lucian_ joined #parrot
20:04 lucian left #parrot
20:05 nwellnhof left #parrot
20:08 GeJ Bonjour everyone.
20:09 moritz bon soir
20:13 dukeleto it looks like only pmichaud can add people to the parrot team on github
20:14 * dukeleto just updated the github mirror as well
20:15 moritz that would be an unfortunate case of low bus number
20:16 * dukeleto is very close to having it know when branches are rm'ed from svn and do the same on github, but is busy with work
20:16 GeJ servus moritz.
20:21 icarroll joined #parrot
20:22 icarroll Where can I find a list of built-in rules or named character classes for nqp-rx?
20:22 Paul_the_Greek joined #parrot
20:23 Paul_the_Greek purl,messages
20:23 moritz icarroll: there's a list in the test suite, in the nqp-rx repo in t/p6regex/rx_subrules
20:23 icarroll moritz: thank you
20:24 moritz there's also http://perlcabal.org/syn/S0​5.html#Predefined_Subrules but I'm not sure if nqp-rx implements them
20:24 icarroll k
20:25 Paul_the_Greek left #parrot
20:42 dalek rakudo: 819e2ce | colomon++ | src/core/List.pm:
20:42 dalek rakudo: Remove List.batch method, as it is obsolete.
20:42 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/8​19e2ce4ede6b020d69480e8e1a23bc59e1049d2
20:53 icarroll I'm trying to define an adjacency operator (two terms with only whitespace between them), but I must be doing something wrong
20:54 icarroll token infix:sym<apply> { <.ws> <O('%apply, :pasttype<asplode>')> }
20:54 icarroll doesn't work
20:54 purl Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Is it making faces at you? Does it want more money? Is it sleeping with your girlfriend? Please be specific!
20:55 icarroll meaning it gives a syntax error when I try to parse "say 5"
20:55 icarroll any suggestions?
20:55 purl "I suggest you don't smoke cigarettes ... and don't touch yourself when you're chillin' at the bus stop."
20:55 moritz icarroll: what about  token infix:sym<appl> { <.ws> <term> }  ?
20:55 icarroll I'll try that
20:56 moritz note that in Perl,  'say 5' parses the 'say' as listop, and expects a term after that anyway
20:56 icarroll Null PMC access in get_string_keyed()
20:57 moritz if the programming language you try to parse doesn't follow the term - op - term pattern, then maybe it's easier if you override the operator precedence parser
20:57 icarroll that sounds rough
20:57 icarroll mostly it does follow term op term
20:57 icarroll but function application is adjacency
20:58 icarroll if the existing operator parser doesn't like that though, I guess I'll have to roll my own
20:58 kj joined #parrot
21:00 moritz rakudo: say 5
21:00 p6eval rakudo 689bb7: OUTPUT«5␤»
21:01 bubaflub joined #parrot
21:01 moritz icarroll: it sounds more like you should parse differently after a function name, not like you want a general two-terms-in-a-row rule
21:02 icarroll well, the first item doesn't have to be a name. it could be an expression that returns a function
21:02 moritz ugh
21:02 icarroll heh
21:02 moritz what is this programming language?
21:02 icarroll made up
21:02 moritz ok
21:02 icarroll this piece of the grammar is similar to haskell though
21:03 moritz if you allow two terms in a row, think about whether you'll still get decent parse error messages out of it
21:03 icarroll hadn't thought about error messages
21:04 moritz anyway, it might be worth investigating where that null PMC access comes from
21:05 moritz maybe the concept of calling <.ws> <term> in an infix operator isn't flawed, there might just be an inconvenient bug
21:05 moritz anyway, TTFN
21:05 icarroll thanks
21:05 icarroll laters
21:07 contingencyplan left #parrot
21:10 pyrimidine left #parrot
21:14 kj left #parrot
21:18 theory joined #parrot
21:21 lucian_ left #parrot
21:21 ruoso left #parrot
21:24 kj joined #parrot
21:35 cotto_work seen dafrito
21:35 purl dafrito was last seen on #parrot 2 days, 19 hours, 56 minutes and 29 seconds ago, saying: Yeah, he seems to have forgotten your name  [Aug 21 01:38:59 2010]
21:42 perlite left #parrot
21:42 perlite joined #parrot
21:52 Paul_the_Greek joined #parrot
21:54 tcurtis joined #parrot
22:01 tadzik joined #parrot
22:03 Andy left #parrot
22:04 fperrad left #parrot
22:20 kj left #parrot
22:22 kid51 joined #parrot
22:24 davidfetter joined #parrot
22:24 icarroll left #parrot
22:25 bubaflub left #parrot
22:31 jsut joined #parrot
22:32 whiteknight joined #parrot
22:32 jsut_ left #parrot
22:35 tcurtis left #parrot
22:45 senf_statt_oel joined #parrot
22:48 Paul_the_Greek left #parrot
22:54 dngor_ joined #parrot
22:55 dngor left #parrot
22:59 davidfetter left #parrot
23:13 dalek parrot: r48616 | jkeenan++ | trunk/tools/util/ncidef2pasm.pl:
23:13 dalek parrot: Improve documentation.
23:13 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48616/
23:14 dngor_ is now known as dngor
23:42 TonyC left #parrot
23:42 nopaste left #parrot
23:43 dalek parrot-linear-algebra: 2233f07 | Whiteknight++ | .gitignore:
23:43 dalek parrot-linear-algebra: update .gitignore to stop messing with my library files
23:43 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/2233f079e8475eee6873197f108772b14a33ec46
23:43 dalek parrot-linear-algebra: c596ed3 | Whiteknight++ | src/lib/mat (2 files):
23:43 dalek parrot-linear-algebra: add the two library files that I thought I added last time
23:43 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/c596ed399f7ca4c04334886cd2967ac2e2dcb12b
23:49 ruoso joined #parrot
23:54 cotto_work quiet day today
23:57 kid51 is now known as kid51_at_dinner

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

Parrot | source cross referenced