Camelia, the Perl 6 bug

IRC log for #parrot, 2010-06-30

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:23 Coke GAHHHHHHHHH. I am going to go svn blame this code and make whoever it was fix it.
00:24 Coke mikescott?
00:24 Coke this pod2html stuff was added by mikescott in the 5500s.
00:24 chromatic I think it came from another project.
00:25 chromatic Don't quote me, but it has that feel.
00:26 darbelo Coke: "Look, you imported a whole lot of ugly code that got broken over the years you haven't been around.  I demand you fix it." ?
00:26 GeJ It's worth trying.
00:27 darbelo I'm willing to be proven wrong, but I doubt that'll be met with a lot of exitement...
00:29 darbelo I, for one, do not look forward to the day where all of the crappy code I've left behind will catch up with me ;)
00:29 chromatic I solve that by not writing bad code!  Heh.  Right.
00:30 GeJ That's where PAFO is a good thing, now that you have signed a paper, they will find you. Always.
00:30 darbelo OMG. I'm screwed.
00:31 GeJ It's a good thing that the New Caledonian postal service lost my CLA.
00:32 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#34644), fulltest) at r47918 - Ubuntu 10.04 amd64 (g++ with --optimize)
00:33 whiteknight darbelo: ?
00:33 darbelo whiteknight: ?
00:35 darbelo GeJ: Heh. I emailed a pdf.  Argentinian mail can't reliably convey mail over distances larger than five kilometers.
00:41 GeJ darbelo: I've heard that they're using sea turtles over here. I bet they're far less reliable than any kind of camelid the Argentinian mail service is using to move mail to Portland.
00:44 darbelo We use llamas and guanacos.  Great for crossing arid land. They don't deal gracefully with oceans, however.
00:49 dalek tracwiki: v7 | mikehh++ | CFunctionDocs
00:49 dalek tracwiki: http://trac.parrot.org/parrot/wiki/CF​unctionDocs?version=7&action=diff
00:49 dalek parrot: r47919 | tcurtis++ | branches/gsoc_past_optimization/runt​ime/parrot/library/Tree/Pattern.nqp:
00:50 dalek parrot: Add support for options in Tree::Pattern.transform.
00:50 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47919/
00:50 dalek parrot: r47920 | tcurtis++ | branches/gsoc_past_optimization/runtime/pa​rrot/library/Tree/Pattern/Transformer.nqp:
00:50 dalek parrot: Add *%adverbs to the signature of Tree::Pattern::Transformer.new.
00:50 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47920/
00:50 dalek parrot: r47921 | darbelo++ | branches/gsoc_nfg (8 files):
00:50 dalek parrot: Redo the packfile dance.
00:50 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47921/
00:50 dalek parrot: r47922 | darbelo++ | branches/gsoc_nfg/src/packfile/pf_items.c:
00:50 dalek parrot: Fix the non-ICU build.
00:50 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47922/
00:51 * darbelo goes off to ingest some dead cow.
00:51 GeJ we tried with jellyfish(es?) first, problem is that they only go where the current sends them. Then we tried sharks, same problem only they're tricky to tame and only go where they want to go. Then tuna, and we found out that all our mail ended up in sushi bars in Japan. Now sea turtles... looks better, but not 100% sure.
00:54 bluescreen joined #parrot
00:55 * GeJ leaves to eat dead bird.
00:59 abqar_ joined #parrot
01:05 dalek tracwiki: v5 | mikehh++ | MissingCFunctionDocs
01:05 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Missin​gCFunctionDocs?version=5&action=diff
01:06 plobsing joined #parrot
01:06 dalek parrot: r47923 | tcurtis++ | branches/gsoc_past_optimization/runtime/pa​rrot/library/Tree/Pattern/Transformer.nqp:
01:06 dalek parrot: Add .depth;
01:06 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47923/
01:06 dalek parrot: r47924 | tcurtis++ | branches/gsoc_past_optimization/runtime/pa​rrot/library/Tree/Pattern/Transformer.nqp:
01:06 dalek parrot: Add Tree::Pattern::Transformer.min_depth and thus Tree::Pattern.transform(..., min_depth(...)).
01:06 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47924/
01:10 dalek left #parrot
01:10 dalek joined #parrot
01:10 Coke YAY. progress.
01:15 mikehh kid51: everything seems ok with the merge, I've modified the Trac:wiki docs, you might want to review that
01:23 dalek parrot: r47925 | coke++ | branches/html_cleanup (1 files):
01:23 dalek parrot: Actually generate some HTML output again.
01:23 dalek parrot: Begin to decouple our pod2html converter from Distribution.pm; Leave it in
01:23 dalek parrot: a very ugly state for now.
01:23 dalek parrot: if you run tools/docs/make_html_docs.l you can see we have several dynpmcs
01:23 dalek parrot: that have no POD documentation. This should probably be fixed in trunk.
01:23 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47925/
01:23 dalek parrot: r47926 | Chandon++ | branches/gsoc_threads (13 files):
01:23 dalek parrot: Progress on alarms / timers.
01:23 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47926/
01:23 dalek tracwiki: v3 | mikehh++ | BoilerplateOnlyDocs
01:23 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Boile​rplateOnlyDocs?version=3&action=diff
01:32 kid51 mikehh:  Thanks.  Will do that in next few days.
01:45 contingencyplan joined #parrot
01:49 tcurtis joined #parrot
02:04 Chandon joined #parrot
02:09 bluescreen joined #parrot
02:29 dalek parrot: r47927 | Chandon++ | failed to fetch changeset:
02:29 dalek parrot: [gsoc_threads] Merge from trunk.
02:29 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47927/
02:46 dalek parrot: r47928 | tcurtis++ | branches/gsoc_past_optimizat​ion/t/library/pastpattern.t:
02:46 dalek parrot: Add some tests for :min_depth.
02:46 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47928/
02:46 dalek parrot: r47929 | plobsing++ | branches/dynop_mapping/src (2 files):
02:46 dalek parrot: satisfy c_function_docs.t
02:46 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47929/
02:52 kid51 joined #parrot
02:53 kid51 mikehh ping
02:58 mikehh kid51: pong
02:58 kid51 Mike:  I looked at those two wiki pages.
02:58 kid51 I'm puzzled about this:  "Bear in mind we are dealing with POD and that it expects a maximum line length of 80."
02:59 kid51 To the best of my knowledge, POD has no expectation of its own re maximum line length.
02:59 cotto ~~
02:59 kid51 AFAICT, the '80' simply comes from a setting coded by Coke in lib/Parrot/Headerizer.pm.
03:00 kid51 An *appropriate* setting, IMO, but nonetheless not connected to anything in POD.
03:00 janus joined #parrot
03:00 mikehh kid51: I changed that - used to be 78, because that was defined, but Headerizer formats it to 80 characters, the =item line that is, and it fails if it is different
03:02 kid51 Okay.  While I think it's okay to say "80 characters" for these particular POD items, I don't think it's correct to imply that this is a requirement of POD itself.
03:03 kid51 In any case, after tonight's merge we should no longer have any files needing listing here:  http://trac.parrot.org/parro​t/wiki/MissingCFunctionDocs
03:03 kid51 ... even though there probably should be files listed here:  http://trac.parrot.org/parr​ot/wiki/BoilerplateOnlyDocs
03:03 mikehh I got that from somewhere, I don't remember now, but I found it somewhere, maybe Pod::Simple or podchecker or something
03:03 kid51 k
03:03 chromatic pod2man seems to prefer some 78 characters.
03:04 kid51 chromatic:  True, that may be its default setting.  But we can adjust it however we want.
03:04 kid51 I don't see any need to change anything here.
03:05 kid51 that is, anything in the code
03:05 * kid51 must sleep
03:05 purl $kid51->sleep(8 * 3600);
03:05 mikehh I'll think about re-wording that
03:06 mikehh I think I need some sleep, just had the 4am news
03:13 mikehh chromatic: btw I did find 1 error in control_flow.pod - line 427 - C(<$_>) instead of C<($_)>
03:13 mikehh I am going cross-eyed, will continue later
03:14 chromatic Thanks!
03:29 bacek_at_work ~~
03:29 bacek_at_work cotto, http://www.thinkgeek.com/homeoffice/mugs/78fb/ :)
03:42 mikehh_ joined #parrot
03:53 cotto apropos
04:01 cotto pmichaud, ping
04:06 Chandon The headerizer is a big jerk. If I format function headers wrong it just ignores them and doesn't even tell me it's doing so.
04:10 plobsing Chandon: that's not so bad. I'm pretty sure it inserted syntax errors on me once.
04:12 Chandon That's a pretty sweet feature.
04:13 cotto one of many things that are nice when they work
04:15 chromatic Like garbage collection or register allocation!
04:28 dalek parrot: r47930 | tcurtis++ | branches/gsoc_past_optimization/runtime/pa​rrot/library/Tree/Pattern/Transformer.nqp:
04:28 dalek parrot: Implement :descend_until attribute and option. Not yet tested.
04:28 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47930/
04:54 LoganLK joined #parrot
05:29 fperrad joined #parrot
05:50 dalek parrot: r47931 | petdance++ | trunk (2 files):
05:50 dalek parrot: function annotations
05:50 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47931/
06:07 dalek parrot: r47932 | plobsing++ | trunk/src/packfile.c:
06:07 dalek parrot: document what fixup_packed_size does
06:07 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47932/
06:07 dalek parrot: r47933 | tcurtis++ | branches/gsoc_past_optimization (2 files):
06:07 dalek parrot: Make :descend_until actually work and write tests for it.
06:07 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47933/
06:09 uniejo joined #parrot
06:23 dalek parrot: r47934 | petdance++ | trunk/src/pmc/fixedintegerarray.pmc:
06:23 dalek parrot: consting and annotating
06:23 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47934/
06:27 mmcleric joined #parrot
06:44 AndyA joined #parrot
07:05 TiMBuS joined #parrot
07:12 dalek parrot: r47935 | tcurtis++ | branches/gsoc_past_optimizat​ion/t/library/pastpattern.t:
07:12 dalek parrot: Add failing test for :descend_until with :min_depth.
07:12 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47935/
07:12 dalek parrot: r47936 | tcurtis++ | branches/gsoc_past_optimization/runtime/pa​rrot/library/Tree/Pattern/Transformer.nqp:
07:12 dalek parrot: Make :descend_until and :min_depth work together.
07:12 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47936/
08:49 AndyA joined #parrot
08:50 mikehh_ joined #parrot
08:52 mikehh_ joined #parrot
09:32 mmcleric_ joined #parrot
09:37 lucian joined #parrot
10:03 dalek rakudo: 261eb2a | moritz++ | README:
10:03 dalek rakudo: README: emphasize that installing Rakudo is really necessary
10:03 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/2​61eb2ae08fee75a0a0e3935ef64c516e8bc2b98
10:19 moritz purl: msg tcurtis please checkout the 'optimizations' branch of rakudo. I currently only run the assign_type_check stage - which returns $/.orig in fold, so it should do nothing... still it blows up when trying to build Test.pm
10:19 purl Message for tcurtis stored.
10:20 moritz purl: msg tcurtis http://github.com/rakudo/rakudo/blob/op​timizations/src/Perl6/Optimizer.pm#L69 contains the code... any idea what's going wrong?
10:20 purl Message for tcurtis stored.
10:33 mmcleric joined #parrot
10:36 bacek ~~
10:38 dalek rakudo: aa015ad | moritz++ | src/Perl6/Compiler.pir:
10:38 dalek rakudo: more awesome error message when running a non-installed Rakudo outside of the
10:38 dalek rakudo: build directory
10:38 dalek rakudo: masak++ for complaining, jnthn++ for telling me where to steal the code
10:38 dalek rakudo: (alpha's perl6.pirg)
10:38 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/a​a015ad043fc11ca10aecaf866b4158bea8edd47
10:55 kthakore joined #parrot
10:56 kthakore bacek_at_work: I hear you had more tickets for me?
10:56 bacek kthakore, I did msg you with them.
10:56 kthakore oh ok
10:56 kthakore bacek: how do I see those again/
10:56 bacek /msg purl messages
10:56 bacek purl, messages?
10:56 purl To access purl's messages, msg me with the word "messages".
10:56 kthakore thanks
11:29 nopaste "bacek" at 192.168.1.3 pasted "Interesting... Somehow PIRATE generate _faster_ PBC already... Absence of PackfileDebug?" (8 lines) at http://nopaste.snit.ch/21701
11:30 dalek pir: 4d1e009 | bacek++ | src/POST/Compiler.pm:
11:30 dalek pir: Factor out POST::Compiler %context creation function.
11:30 dalek pir: review: http://github.com/bacek/pir/commit/4d1​e009d04180bfe200a39f93d7962602947aca9
11:30 dalek pir: d5ef3ea | bacek++ | src/POST/Sub.pm:
11:30 dalek pir: Add POST::Sub.constant_index
11:30 dalek pir: review: http://github.com/bacek/pir/commit/d5e​f3ea56d32c6805775189979a24d2fed051a1b
11:30 dalek pir: 1c28474 | bacek++ | src/POST/Compiler.pm:
11:30 dalek pir: First attempt to implement constant Subs. Require major polish and proper
11:30 dalek pir: handling of namespaces.
11:30 dalek pir: review: http://github.com/bacek/pir/commit/1c2​847411e4d4d7cbc3e3c323c81ad3eb8fe9a59
11:39 GodFather joined #parrot
12:04 TiMBuS|Away joined #parrot
12:17 ruoso joined #parrot
12:20 whiteknight joined #parrot
12:30 szbalint joined #parrot
12:33 whiteknight good morning, #parrot
12:33 bacek aloha, whiteknight
12:33 dalek pir: 05f14b1 | bacek++ | src/POST/Sub.pm:
12:33 dalek pir: Add Sub modifiers.
12:33 dalek pir: review: http://github.com/bacek/pir/commit/05f​14b1d7d61e5868618305527e342103edcff2d
12:50 dalek pir: 63b457e | bacek++ | src/PIR/Actions.pm:
12:50 dalek pir: Handle .sub modifiers. Not tested.
12:50 dalek pir: review: http://github.com/bacek/pir/commit/63b​457e26a979bcbeba38832eea378dc91bb06e8
13:00 leprevost joined #parrot
13:04 whiteknight hello bacek, how are you doing todaY?
13:05 mmcleric_ joined #parrot
13:18 gbacon joined #parrot
13:31 Coke do we have lib/Pod/* just to avoid people having to install something via cpan?
13:33 * Coke will fix that as well.
13:34 Coke looks like lib/Pod/* is used only for 2 codingstd tests and 'make html'. anyone see anything else?
13:35 particle sounds about right to me
13:36 * Coke will kill that, make it conditional in the tests, make the html script die nicely without it.
13:36 Coke (and add it to Task::Parrot)
13:36 Coke ... but after work. =-)
13:42 atrodo But working on stuff like this is more fun when you're at work
13:42 atrodo (sure glad my boss doesn't hang out in this channel)
13:43 Coke atrodo: this channel is logged, btw. =-)
13:43 atrodo Hmmmm, I did forget about that detail.  Best never mention it again then
13:49 bubaflub joined #parrot
14:01 plobsing joined #parrot
14:12 ash_ joined #parrot
14:14 dalek rakudo: 806efc8 | pmichaud++ | src/ (2 files):
14:14 dalek rakudo: Disable IO::ArgFiles for the time being, it's got bugs and is forcing people to
14:14 dalek rakudo: write incorrect workarounds.
14:14 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/8​06efc89d42a5458b488856eabf2acce96f36a41
14:18 mikehh joined #parrot
14:20 kthakore left #parrot
14:27 khairul joined #parrot
14:28 szbalint joined #parrot
14:37 he joined #parrot
14:38 mj41 joined #parrot
14:45 jdv79 joined #parrot
14:45 jdv79 I've forgotten.  can I and how do I call perl5 DBI from rakudo?
14:45 jdv79 there was a p5 pmc or something, right?
14:46 whiteknight jdv79: There is a Perl5 interop project
14:46 whiteknight I can't remember the name, it's one of jnthn's on github. "zavolaj" or something
14:46 jdv79 ah, thanks
14:47 jdv79 one of the first things i would need to play with rakudo at work would probably be db access for tools and such.  just wondering...
14:47 whiteknight some people are working on other db tools in Perl6 or even in raw Parrot. I don't know how mature any of them are yet
14:47 whiteknight there is a group embedding a Parrot interpreter into Postgres, for instance
14:48 janus there was a post about postgres use recently
14:48 jdv79 yeah, in terms of stability i thought p5 DBI is pretty stable and its probably less of an issue if p5 wasn't so stable...
14:48 jdv79 don't need to be corrupting data or anything like that:)
14:48 jdv79 the p5 integration, that is.
14:49 jdv79 mysql here
14:49 janus jdv79: here's what i ment: http://blogs.perl.org/users/kaare​/2010/06/my-first-perl6-code.html
14:50 janus jdv79: http://blogs.perl.org/users/martin_berends/20​10/06/rakudo-perl-6-gets-into-databases.html might also be worth a read
14:51 jdv79 thanks
14:52 clinton joined #parrot
14:52 jnthn jdv79: The Perl 5 interop project is Blizkost. However, you may also be interested in FakeDBI.
14:54 jdv79 nice
14:55 whiteknight ah right, blizkost
14:55 whiteknight I'm bad with names. Especially non-english ones
14:55 whiteknight but *ESPECIALLY* english ones
14:58 JimmyZ joined #parrot
15:00 dalek tracwiki: v8 | mikehh++ | CFunctionDocs
15:00 dalek tracwiki: http://trac.parrot.org/parrot/wiki/CF​unctionDocs?version=8&amp;action=diff
15:06 ash_ joined #parrot
15:17 ambs joined #parrot
15:34 dalek tracwiki: v6 | mikehh++ | MissingCFunctionDocs
15:34 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Missin​gCFunctionDocs?version=6&amp;action=diff
15:34 dalek tracwiki: v4 | mikehh++ | BoilerplateOnlyDocs
15:34 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Boile​rplateOnlyDocs?version=4&amp;action=diff
15:35 theory joined #parrot
15:43 patspam joined #parrot
15:44 cotto "The Liveness" would make a good name for a band.
15:47 ash_ i bet they would do a lot of live shows
16:00 dalek parrot: r47937 | khairul++ | branches/gsoc_instrument (5 files):
16:00 dalek parrot: Refactored EventDispatcher + added GC events.
16:00 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47937/
16:05 patspam1 joined #parrot
16:06 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#34658), fulltest) at r47936 - Ubuntu 10.04 amd64 (g++ with --optimize)
16:19 mikehh pir/PITATE (63b457e ) - build ok / test PASS - parrot at r47936 - Ubuntu 10.04 amd64 (g++ with --optimize)
16:19 mikehh s/PITATE/PIRATE/
16:24 mikehh partcl-nqp (f9c3d4a) - make ok / make test PASS - on parrot at r47936 - Ubuntu 10.04 amd64 (g++ with --optimize)
16:34 whiteknight joined #parrot
16:39 dalek rakudo: 8e7bf30 | pmichaud++ | src/core/IO.pm:
16:39 dalek rakudo: Add IO.open to allow attaching an existing IO object to a file.  Also now
16:39 dalek rakudo: understands "-" as a filename meaning "standard input".
16:39 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/8​e7bf30c109b8ee58dd52f37943865584cfb3bda
16:39 dalek rakudo: 7df2c27 | pmichaud++ | src/ (2 files):
16:39 dalek rakudo: Refactor IO::ArgFiles.
16:39 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/7​df2c274aff5633f30ecb8c216aeb8793d47e900
16:57 jdv79 is make install DESTDIR=/some/local/path supposed to work?
16:57 moritz jdv79: no, perl Configure.pl --prefix=/some/local/path
16:57 jdv79 ok
17:00 jdv79 Unknown option: prefix
17:00 jdv79 sorry, i was talking about rakudo
17:02 moritz rakudo always installs into the parrot location
17:02 mikehh rakudo (806efc8) builds on parrot r47936 - make test PASS, spectest_smolder -> #34660 (pugs r31517) FAIL - Ubuntu 10.04 amd64 (g++ with --optimize)
17:02 mikehh t/spec/S03-metaops/reduce.rakudo - Failed tests:  89-92 - Parse errors: Bad plan.  You planned 88 tests but ran 92
17:02 mikehh t/spec/S32-num/rat.rakudo - Failed test:  798
17:02 mikehh 19 TODO PASSes in 5 files
17:02 jdv79 cool
17:06 patspam joined #parrot
17:25 Coke past question - I want to pastify this pirop: "exists $P1[$P2]" - any pointers on how to do the keyed syntax in a pirop?
17:25 Coke er, PAST question.
17:26 darbelo pastify?
17:29 Coke write it using PAST instead of PIR.
17:30 Coke currently, my code unconditionally assumes $P2 exists, which returns PMCNULL sometimes, which goes boom later.
17:30 Coke er, assumes $P1[$P2] exists, that is.
17:31 Coke so I'm trying to turn the keyed lookup into an Op (:type<if>, (check for exists), Var(keyed lookup), Op(throw error))'
17:31 Coke I guess I could just do an explicit null check on the keyed lookup.
17:32 particle use pirate to generate past?
17:33 darbelo Didn't we add opcodes that did magic things on keyed lookup for rakudo some time ago?
17:33 darbelo One of those might do what you need.
17:33 particle vivify?
17:33 purl i think vivify is "get a pmc, if it doesn't exist, create one of this type and put it in the aggregate I just tried to fetch from"
17:34 * particle pets purl
17:34 * purl pets particle back, harder
17:34 darbelo I had fetch in mind, which was added at the same time.
17:35 darbelo =item B<fetch>(out PMC, in PMC, in PMC, in PMC)
17:35 darbelo Fetches a value from $2, keyed by $3 into $1.  If the resulting PMC is PMCNULL,
17:35 darbelo uses the type in $4 to create and return a new PMC.
17:35 * NotFound thinks about a DWIM op
17:39 atrodo Everything needs more DWIM
17:48 Coke particle: I don't /want/ it to vivify. i want to throw an error if I can't find the variable in the lexpad.
17:48 Coke the <<lexpad>>, sorry, as we're faking it.
17:48 Coke NotFound: you laugh, but we pulled that op about six years ago.
17:48 particle ah
17:49 Coke particle - but I want it to be /my/ error, not *VOMIT NULL ACCESS*
17:49 particle so you want if null $P2 goto MYERROR
17:51 atrodo Everything needs more *VOMIT* exceptions
17:51 Coke particle: yah. I was hoping for "exists", but I can get the keyed access and check that for null, I guess.
17:51 Coke since it doesn't require keyed access, that'll do, I guess.
17:51 NotFound Coke: I think exists exists
17:52 particle INTVAL exists_keyed
17:52 particle it's a vtable function
17:52 Coke NotFound: not that I see in compilers/pct/src/PAST
17:52 davidfetter joined #parrot
17:52 NotFound =item B<exists>(out INT, invar PMC, in KEY)
17:52 Coke *FACEPALM*
17:53 Coke yes. my original question is how to write a KEY in PAST.
17:53 Coke and pass it to an Op ( :type<pirop>)
17:53 Coke so I could use that very opcode. =-)
17:54 particle oh.
17:57 * Coke tries the isnull approach.
17:58 theory joined #parrot
17:58 * Coke wishes there was a more compact syntax for PAST in NQP.
17:58 Coke (but only a little)
18:04 * Coke needs to update the docs on PAST nodes.
18:05 Coke (the difference between a call and a pirop is jarring based on an initial read of the docs.)
18:19 Coke \o/
18:21 Coke pmichaud++
18:26 mikehh joined #parrot
18:30 clinton joined #parrot
18:31 cotto_work pmichaud: you around?
18:34 cotto_work msg pmichaud How do you feel about my pull request to add ... to nqp-rx?
18:34 purl Message for pmichaud stored.
19:03 AndyA joined #parrot
19:13 dalek winxed: r526 | NotFound++ | trunk/examples/Mysql.winxed:
19:13 dalek winxed: fix --host option in example Mysql
19:13 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=526
19:16 LoganLK joined #parrot
19:21 joeri joined #parrot
19:39 theory joined #parrot
19:41 theory joined #parrot
20:03 cotto_work I decided to start working on the linear scan allocator in PIRATE's master but later decided that it'd be better to put it into a branch.  Given that I haven't pushed anything, is there an easy way to move some commits to a branch?
20:04 Hunger joined #parrot
20:04 darbelo A merge?
20:04 purl a merge is the default in'it
20:04 atrodo cotto_work> git I assume?
20:05 cotto_work yes, git
20:05 cotto_work I could get a clean clone and apply all the diffs by hand to a branch, but it strikes me that there'd be a better way.
20:06 atrodo There is
20:06 whiteknight cotto_work: I'm leaving now, but I've had that same exact question many times before
20:06 theory joined #parrot
20:06 whiteknight so if you get a good answer, msg me?
20:07 cotto_work will do
20:07 whiteknight cotto++
20:07 cotto_work I can't work on it right now, but a pointer to a solution for when I get home would be fine.
20:07 cotto_work I'm sure our friendly neighborhood magical coding robot knows a thing or two.
20:08 darbelo cotto_work: How about "git branch newbranch; git reset --hard HEAD~<number of commits to bo back>; git checkout newbranch;" ?
20:09 atrodo That's what I was about to post
20:09 darbelo I haven't tried it, but I think it'll do what you want.
20:09 atrodo minus, I would do "git reset --mixed origin/master"
20:09 cotto_work I've run git pull since I started work, so some intervening commits are from bacek.
20:10 jdv79 FakeDBI segfaults for me
20:11 jdv79 in Parrot_gc_mark_PMC_alive_fun
20:11 jdv79 :(
20:11 cotto_work jdv79: do you have a repro?
20:12 jdv79 probabl not - i just copied from the test and ran it
20:12 jdv79 i can reproduce it here...
20:12 cotto_work I mean a reproduction of the problem
20:12 cotto_work my ambiguity
20:13 pmichaud phone
20:14 jdv79 its all over the place - gdb says Parrot_Exception_mark and Parrot_CallContext_mark too on subsequent runs
20:14 jdv79 fun stuff
20:14 purl it has been said that fun stuff is rarely the stuff people want to pay you for.
20:15 jdv79 guess its not that stable
20:15 cotto_work I guess not.
20:15 Hunger joined #parrot
20:15 lucian joined #parrot
20:15 cotto_work If you can find a stable bug, we should be able to fix it.
20:22 ambs joined #parrot
20:22 pjcj joined #parrot
20:36 GeJ Bonjour everyone.
20:36 cotto_work hi GeJ
20:37 GeJ Servus cotto.
20:40 dalek winxed: r527 | NotFound++ | trunk/ (3 files):
20:40 dalek winxed: experimental syntax for heredocs
20:40 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=527
21:08 GeJ Ok, that's going to be a tricky one : under gcdebug runcore, I have a one line failing test (namely t/compilers/imcc/syn/regressions_18.pir) on FreeBSD 7. However, I seem to remember it passing on FreeBSD 8.
21:09 cotto_work you mentioned something about that
21:10 GeJ Since it seems to be a typical case of "Oh great, the GeJ box again" bug, I'd appreciate any hint on how I could narrow the problem so you brainiacs can eventually fix it. ;)
21:11 cotto_work It's more like "Excellent.  GeJ has managed to find a new and creative way to expose something broken in Parrot."
21:11 GeJ It doesn't seem to coredump, I tried the step-by-step GC bug with gdb tutorial on Trac, it just fails and returns 1.
21:13 Coke how old is freebsd 7?
21:13 nopaste "GeJ" at 192.168.1.3 pasted "(gdb) t/compilers/imcc/syn/regressions_18.pir with gcdebug on FreeBSD 7 amd64" (18 lines) at http://nopaste.snit.ch/21722
21:14 Coke ohh, that smells.
21:15 GeJ Mine is from last august. Since it's my workstation and FreeBSD 3rd party software is mostly build-from-source, I didn't upgrade it yet.
21:16 GeJ FreeBSD kate.scsi.local 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Aug 18 10:31:03 NCT 2009
21:16 NotFound GeJ: a backtrace will be helpful
21:16 Coke if the problem really is with the max key len, that controls how big a literal key you can make.
21:17 Coke (and I think that's currently hardcoded)
21:17 NotFound Coke: looks like this test is deliberately using a key too long.
21:17 cotto_work what NotFound said
21:17 GeJ so 'bt' ?
21:17 NotFound # more than MAX_KEY_LEN.
21:17 cotto_work It just tests that imcc doesn't segfault in that case
21:17 NotFound And is doing it well.
21:18 Coke ... so what's the problem then? =-)
21:18 GeJ I have 0 experience when it comes to gdb, I'm probably going to need some guiding. Sorry.
21:18 Coke his gdb run doesnt' show a segfault, does it?
21:18 NotFound Coke: it test tha parrot doesn't segfaults, but it segfaults.
21:18 GeJ (gdb) bt
21:18 GeJ No stack.
21:19 cotto_work I don't see it segfaulting in gej's no paste.
21:20 cotto_work It's just showing imcc's error message.
21:21 NotFound Then I fail to understand what's the problem.
21:21 cotto_work Me too.
21:22 NotFound returning 1 isn't a problem, the test checks error output
21:22 cotto_work GeJ: can you nopaste the output of perl t/harness -G t/compilers/imcc/syn/regressions.t
21:22 Coke did we see the test failure?
21:22 Coke cotto_work++
21:27 GeJ # perl t/harness -G t/compilers/imcc/syn/regressions.t
21:27 GeJ t/compilers/imcc/syn/regressions.t .. ok
21:27 GeJ All tests successful.
21:27 GeJ Files=1, Tests=21,  1 wallclock secs ( 0.02 usr  0.02 sys +  0.28 cusr  0.23 csys =  0.55 CPU)
21:27 purl Are you feeling lucky?
21:27 GeJ Result: PASS
21:28 GeJ Sorry, should have nopaste'd it.
21:28 cotto_work It appears that nothing's wrong.  Is that the box where make testgcd failed?
21:29 GeJ yes
21:30 NotFound nqp isn't installed as language?
21:30 cotto_work Does the same thing happen with perl t/harness --gc-debug -G  t/compilers/imcc/syn/regressions.t
21:32 nopaste "GeJ" at 192.168.1.3 pasted "Relevant excerpt from `gmake fulltest` exposing the failure of regressions.t" (28 lines) at http://nopaste.snit.ch/21723
21:33 cotto_work Now we're getting somewhere.  That's definitely odd.
21:37 NotFound load_bytecode 'nqp-rx.pbc' .... compreg 'NQP-rx'.... Are you guys making it difficult on purpose?
21:39 cotto_work GeJ: what happens when you run t/compilers/imcc/syn/regressions_18.pir with either --runcore=gcdebug or --gc-debug ?
21:40 cotto_work i.e. what's the exit status?
21:41 atrodo NotFound> Yea.  I've had to manually move the nqp directory to a nqp-rx directory to make load_library work
21:41 NotFound atrodo: And the funny cases has some rason?
21:44 atrodo NotFound> No idea why it's that way, but I agree.  load_library and compreg should both work and take the same string
21:44 NotFound Don't even talk about load_language
21:45 atrodo Oh, I did
21:45 tcurtis joined #parrot
21:48 nopaste "GeJ" at 192.168.1.3 pasted "Command line invokation of regressions_18.pir and Exit status (per cotto's request)" (12 lines) at http://nopaste.snit.ch/21724
21:49 cotto_work If it's easier, you can just tell me the exit code.
21:49 hercynium joined #parrot
21:49 GeJ NotFound: no nqp here except for the one bundled with Parrot.
21:50 cotto_work What about when you use both options, and both plus -D40 ?
21:51 GeJ same output, same exit code.
21:51 darbelo cotto_work: Looks to me like the harness isn't correctly matching his output.
21:51 cotto_work The test harness complains that the exit code is 0.
21:51 cotto_work GeJ: thanks.
21:51 kid51 joined #parrot
21:51 NotFound $status? What shell is that?
21:52 kid51 Live .. from Bowling Green ... where there's pretty decent wireless in the park ...
21:53 GeJ NotFound: "$?" under C-shells... don't ask ;)
21:57 ash_ anyway here know libffi at all?
21:57 ash_ or want to see a fun segfault
21:57 darbelo ash_: nopaste it and see if anyone laughs?
21:58 darbelo That's my usual metric for fun ;)
21:58 * kid51 is posting Smolders of trunk, gsoc_past_optimization and gsoc_nfg (Linux/i386).
21:59 ash_ darbelo: the segmentation fault is just Segmentation fault (when used with an NCI callback)
22:00 darbelo kid51++ # Even if I doubt gsoc_nfg isn't in a very smolderable state :)
22:02 kid51 darbelo:  It passed 'make test' ... but you'll need to run 'make codetest' and fix several files.
22:03 darbelo Yeah, I know about those. I'll tackle them once the API is stable enough to be worth documenting.
22:04 darbelo I also haven't annotated most function params for the same reason. I change my mind about what shoud and shouldn't be NULL quite often in some places.
22:06 ash_ i don't like when gdb backtraces say: #0  0x000000010161fa20 in ?? ()
22:06 kid51 gsoc_past_optimization passes 'make test' and 'make codetest'
22:09 whiteknight joined #parrot
22:09 bacek Good morning, humans
22:10 cotto_work hey bacek
22:10 bacek aloha, cotto
22:11 cotto_work I have a git question that you may be able to answer.
22:11 cotto_work I decided to start working on the linear scan allocator in PIRATE's master but later decided that it'd be better to put it into a branch.  Given that I haven't pushed anything, is there an easy way to move some commits to a branch?
22:13 bacek git rebase origin master
22:13 bacek giti checkout -b the_branch
22:13 bacek git checkout master
22:13 bacek git reset --hard HEAD~<number of your commits>
22:13 bacek something like this
22:14 cotto_work Will that work if I've run git pull since I started work on the branch?
22:14 darbelo That's what the rebase is for.
22:14 bacek hm. Are you on branch now?
22:15 cotto_work no
22:15 bacek then what darbelo said :)
22:15 cotto_work Great.  I'll take a shot at that when I get home.
22:15 cotto_work bacek++
22:15 bacek git++ :)
22:15 cotto_work and darbelo++ just because
22:15 cotto_work yeah.  git++
22:15 cotto_work and svn--
22:15 darbelo svn-- #out of habit
22:19 dalek parrot: r47938 | jkeenan++ | branches/gsoc_nfg/src/packfile/pf_items.c:
22:19 dalek parrot: [codingstd] No trailing whitespace.
22:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47938/
22:22 GeJ G'Day bacek
22:23 bacek G'Day GeJ
22:24 darbelo Ugh. I hate whitespace conflicts.
22:30 cotto_work lame they are
22:33 hercynium joined #parrot
22:37 hercynium_ joined #parrot
22:55 ash_ yes, i found my bug, now i can get callbacks working and all of the nci old stuff should be working fine
23:22 plobsing_work joined #parrot
23:28 whiteknight ash_: nice!
23:32 plobsing_work ping ash_
23:41 darbelo Boy am I going to meet my 'hate packfiles' goal this week.
23:42 cotto_work Just think how much easier it'll be to refactor them when PIRATE takes over the world.
23:43 cotto_work "somewhat"
23:44 darbelo To be fair. Any code that tries to replace them, will be of similar complexity, having amd64 execute vax bytecode is just messy.
23:45 cotto_work The PIRATE pbc code is fairly self-contained though.  You just have to mess with one file.
23:46 darbelo Heh. I've stayed in one file. src/packfile/pf_items.c
23:47 darbelo I had to change the way we store strings in pbc.
23:48 jsut joined #parrot
23:48 cotto_work That code makes my eyes glaze over after about 3 seconds.
23:50 darbelo You'll want to skip review on my next few commits then :)
23:52 cotto_work Are you using git-svn?
23:53 darbelo Yep.
23:53 cotto_work How is it?
23:53 darbelo Not as good as git.
23:54 Psyche^ joined #parrot
23:54 darbelo But offline operation is a big win for me.
23:54 sorear darbelo: What's the most hateful thing about pack files?
23:55 darbelo The api. Hands down.
23:55 darbelo Use the PMCs if you can.
23:57 tcurtis How fun. --trace=1 segfaults on the code I'm debugging.
23:58 darbelo sorear: I also have some gripes about the code and the conventions it uses, but those are linked to the API.
23:59 darbelo OTOH, as I mentioned to cotto, any code that tries to do everything that our packfiles try to do is going to be of that same complexity, so there isn't too much that can be done on that area.
23:59 darbelo Unless you want to move to a less featureful packfile format, that is.

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

Parrot | source cross referenced