Camelia, the Perl 6 bug

IRC log for #parrot, 2009-11-13

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 japhb #perl6++ # Yet again with the sane discussion of contentious topics
00:02 darbelo karma #perl6
00:02 purl #perl6 has karma of 1
00:02 darbelo karma perl6
00:02 purl perl6 has karma of 21
00:02 darbelo karma perl5
00:02 purl perl5 has karma of 8
00:02 darbelo karma #perl5
00:02 purl #perl5 has neutral karma
00:02 darbelo karma #perl
00:02 purl #perl's karma is greater that the sum of its participants'
00:16 Whiteknight darbelo: just added a CharMatrix2D type
00:17 dalek parrot-linear-algebra: bb83303 | Whiteknight++ | .gitignore:
00:17 dalek parrot-linear-algebra: add a .gitignore file to clean things up a little bit
00:17 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/bb833038b8b48a5641441e60f6006ddcb5506431
00:17 dalek parrot-linear-algebra: 6e7f275 | Whiteknight++ | config/Makefile.in:
00:17 dalek parrot-linear-algebra: fix makefile to generate proper install paths
00:17 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/6e7f27569080e0b902944c8fcb3413afb53a4613
00:17 dalek parrot-linear-algebra: 6c97c90 | Whiteknight++ | src/pmc/nummatrix2d.pmc:
00:17 dalek parrot-linear-algebra: NumMatrix2D now does matrix
00:17 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/6c97c90d23015d51e3aa8f0c06fc0024ee7e4168
00:17 dalek parrot-linear-algebra: f0a8920 | Whiteknight++ |  (2 files):
00:17 dalek parrot-linear-algebra: pmcmatrix2d now does matrix
00:17 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/f0a89209ffb0a28414e0092fe5c72f06f8ed9fce
00:17 dalek parrot-linear-algebra: 6b96bac | Whiteknight++ |  (3 files):
00:17 dalek parrot-linear-algebra: add a new CharMatrix2D type. It's a bare-bones copy+paste from NumMatrix2D right now
00:17 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/6b96bac991554542ec70cf85f1cb0dd9175c7c33
00:18 darbelo Whiteknight++
00:18 darbelo does it eat kittens?
00:19 Whiteknight not yet
00:19 Whiteknight it doesn't do much of anything
00:19 darbelo http://nopaste.snit.ch/18665
00:19 darbelo pmc2c--
00:22 cotto_work darbelo++ for making a compelling case for getting back to work on opsc/pmcc
00:23 Infinoid diakopter: What was the dalek breakage?  If I break it now, will it get in your way? :)
00:23 mikehh joined #parrot
00:23 diakopter Infinoid: it seemed to fix itself
00:23 Infinoid when?
00:24 Infinoid I installed some stuff from cpan to make it happy, yesterday.
00:24 Infinoid (and just now I installed one more thing to make the test suite happy)
00:25 darbelo cotto_work: Last I looked at pmcc it looked like it could be mostly coerced to perform pmc2c's current job, even if no syntax for lorito solidyfies.
00:26 cotto_work That's step 1 of the plan.
00:26 dalek joined #parrot
00:30 dalek joined #parrot
00:30 darbelo So, all that needs to be done is copy the contents of compilers/pmcc to a new branch, plug it into the makefile and start hacking?
00:31 cotto_work darbelo, yes.  I'd recommend starting with ops2c, though, since that project is expected to be smaller.
00:33 Infinoid msg moritz I pulled from your dalek-plugins fork, but I'm not sure it's all quite happy.  Botnix doesn't seem to like it... gets confused over the package name.  You wouldn't happen to have a test case, would you?
00:33 purl Message for moritz stored.
00:33 cotto_work but work on either would be great
00:42 Infinoid msg moritz Perhaps we should pass in a list of secondary branches, and handle all of the branches from one timer?
00:42 purl Message for moritz stored.
00:42 dalek parrot: r42468 | jkeenan++ | branches/configtests (3 files):
00:42 dalek parrot: Convert one Parrot::Configure attribute from get_p5 to get(x_provisional).
00:42 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42468/
00:49 chromatic Non-portable exit(): http://perl5.git.perl.org/p​erl.git/commitdiff/81693ff9
00:49 dalek parrot: r42469 | jkeenan++ | branches/configtests/config (3 files):
00:49 dalek parrot: Convert P::C attribute 'scriptdirexp' from get_p5 to _provisional.
00:49 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42469/
00:52 dalek parrot: r42470 | jkeenan++ | branches/configtests/config (2 files):
00:52 dalek parrot: Convert P::C attribute 'sig_name' from get_p5 to _provisional.
00:52 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42470/
00:56 nopaste "plobsing" at 76.67.61.178 pasted "yet another libjit x64 fix attempt" (20 lines) at http://nopaste.snit.ch/18666
00:56 plobsing hi btw
00:57 plobsing anyone on x86_64 want to try it out?
00:57 cotto_work why not.  It'll be fun.
00:57 dalek parrot-plumage: bb5d225 | japhb++ | :
00:57 dalek parrot-plumage: [CORE,TESTS] Work around platform-specific spawnw differences (improve d...
00:57 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/bb5d22590818cf76bf93f720e1b8be120db7214d
00:57 abqar joined #parrot
00:59 dalek parrot-linear-algebra: 16b0f1d | Whiteknight++ | src/pmc/charmatrix2d.pmc:
00:59 dalek parrot-linear-algebra: fix indexing on CharMatrix2D so it now does what I think it should do
00:59 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/16b0f1dbb28e1f224cdf851af400c92de8c57225
00:59 dalek parrot-linear-algebra: 707396b | Whiteknight++ | src/pmc/charmatrix2d.pmc:
00:59 dalek parrot-linear-algebra: add a set_string_keyed_int method so we can set a row at a time
00:59 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/707396b32c252db21d2658bede189abf50c3fb00
01:00 cotto_work plobsing, it looks like that worked.  I'm double-checking.
01:02 japhb plobsing++  # perseverance
01:02 plobsing (horrible hacky workaround)--
01:04 cotto_work yup.  it works
01:04 cotto_work plobsing++
01:04 plobsing woohoo!
01:04 plobsing can someone commit that patch to the libjit_framebuilder branch?
01:05 patspam joined #parrot
01:13 kid51 plobsing:  I applied it to branch (though I haven't tested it.)
01:14 plobsing kid51++
01:15 dalek parrot: r42471 | jkeenan++ | branches/libjit_framebuilder/config/g​en/libjit/frame_builder_libjit_c.in:
01:15 dalek parrot: applying patch by plobsing++
01:15 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42471/
01:22 dalek parrot: r42472 | jkeenan++ | branches/configtests/config (2 files):
01:22 dalek parrot: Convert P::C attribute 'd_socklen_t' from get_p5 to _provisional.
01:22 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42472/
01:30 dalek parrot-plumage: 1ce4085 | japhb++ | :
01:30 dalek parrot-plumage: [plumage] call_flattened() -> new | operator
01:30 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/1ce4085741196891fcdd2a4a2eb065e6219cf011
01:30 dalek parrot-plumage: ed3d54b | japhb++ | :
01:30 dalek parrot-plumage: [CORE] Glue.pir: call_flattened() is no longer needed; remove it
01:30 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/ed3d54bb46d8a5ed345577335ffc2ca7a335dcb8
01:35 mikehh joined #parrot
01:35 cotto_work pmichaud, does nqp-rx support mmd without diving down into pir?
01:36 cotto_work alternately, s/does/will/
01:42 japhb I'm ready to make use of PerlJam's new statement modifier snytax for NQP in Plumage ... can someone do the honors of updating the parrot copy?
01:42 cotto_work chromatic, an interesting extension to your realias script might be to use $PROMPT_COMMAND in bash to reread ~/.aliases every time you run something from the bash prompt.
01:42 * cotto_work predicts that this will become a common dance
01:43 japhb cotto_work: If so, that will indicate much progress in NQP features.  I for one welcome my dancing overlords.
01:44 chromatic That seems like a lot of extra work, cotto_work.  I don't add new aliases that often.
01:44 cotto_work It's not much work.  just put PROMPT_COMMAND='source ~/.aliases' in your .bashrc
01:49 chromatic I meant for every command to run.
01:49 japhb cotto_work, I'm guessing he means making bash (even) slower
01:49 cotto_work technically yes, but I wouldn't expect it to be perceptible
01:52 mj41_ joined #parrot
01:52 chromatic I don't change aliases frequently enough that that's a problem.
01:53 cotto_work I usually have a couple dozen shells open in various screen sessions, so for me it's worthwhile.   To each his own.
01:54 japhb Yeah, it's the pain of updating every open shell when you *do* change aliases that's the killer.
01:54 cotto_work exactly
01:58 dalek parrot-linear-algebra: 472bfdd | Whiteknight++ | src/pmc/charmatrix2d.pmc:
01:58 dalek parrot-linear-algebra: add a new method to initialize a row in CharMatrix2D from a grabbag of types
01:58 dalek parrot-linear-algebra: review: http://github.com/Whiteknight/parrot-linear-algebr​a/commit/472bfdd35b3bb0b1ffefcc42b8f66a1c4e112c38
01:58 dalek parrot: r42473 | jkeenan++ | branches/configtests (13 files):
01:58 dalek parrot: Convert more P::C attributes away from get_p5. t/steps/auto/alignptrs-02.t still has failures.
01:58 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42473/
02:03 mikehh joined #parrot
02:09 petdance joined #parrot
02:13 eternaleye joined #parrot
02:15 eternaleye joined #parrot
02:42 japhb pmichaud, would you mind refreshing parrot's nqp-rx, please?  Thanks!
02:49 tetragon joined #parrot
02:56 jsut_ joined #parrot
03:35 dalek parrot: r42474 | jkeenan++ | branches/configtests/t/steps/auto/alignptrs-02.t:
03:35 dalek parrot: Fix test so that difficult-to-reach branch is tested.
03:35 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42474/
03:38 kid51 plobsing:  You've got hard tabs around line 529 of config/gen/libjit/frame_builder_libjit_c.in, causing codingstd errors in branch.
03:40 kid51 Otherwise libjit_framebuilder passes make fulltest on Linux/i386.
03:41 dalek parrot: r42475 | jkeenan++ | branches/libjit_framebuilder/config/g​en/libjit/frame_builder_libjit_c.in:
03:41 dalek parrot: Eliminate leading hard tabs, which broke both tabs and c_indent codingstd tests.
03:41 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42475/
03:45 hercynium joined #parrot
03:45 dalek parrot: r42476 | jkeenan++ | branches/configtests/t/steps/auto/arch-01.t:
03:45 dalek parrot: Eliminate one superseded test.
03:45 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42476/
03:48 janus joined #parrot
04:29 pmichaud cotto_work: yes, I expect that nqp will support mmd w/o pir.  I'm still figuring out how I want to do that.
04:29 pmichaud japhb: will refresh nqp-rx, yes.
04:45 japhb Thanks!
05:36 theory joined #parrot
05:43 dukeleto 'ello
05:43 diakopter 'i
05:44 diakopter dukeleto: sry. I nearly resisted.
05:44 diakopter echo 'sub a(:$x,:$y) { $x - $y }; say(a(1,6))' |./nqp --target=past | v8 past.js
05:45 diakopter I'm actually not sure how/why that is working.
05:45 diakopter 5
05:46 diakopter oh. now I see why (not). :)
05:47 diakopter (because say(a(y:(1),x:(1))) produces the same result, so it's a fluke; whew.)
05:47 dukeleto diakopter: what have i missed in the nqp-rx world?
05:47 dukeleto nqp-rx is in parrot core, i hear
05:48 diakopter SUB([stuff]) dtrt, now... duff/perlpilot added trailing if/unless
05:48 diakopter I'm working on a new backend for its --target=past output, obviously
05:50 * diakopter watches http://github.com/perl6/nqp-rx/commits/master/
05:56 dukeleto diakopter: i just do git pull :)
05:56 diakopter pmichaud: typo in 12-logical.t     logicl     # I haz lurnd git; I can haz commitbit plz?
05:57 diakopter I do pull, except when it won't merge over my changes even when I've committed them. :/
05:57 diakopter still learning.
05:57 purl hmmm... learning is not wasting time
05:57 diakopter learning.
05:57 purl learning is, like, not wasting time
05:57 diakopter purl: die in a flood of your own blood
05:57 purl diakopter: i'm not following you...
05:58 * diakopter needs to remember not to feed the troll bot
05:59 * diakopter chokes purl with a cookie
05:59 * diakopter implementes pirop def_or
06:11 dukeleto left #parrot
06:11 dukeleto joined #parrot
06:11 dukeleto 'ello
06:49 dalek parrot: r42477 | dukeleto++ | trunk/NEWS:
06:49 dalek parrot: [cage] Update NEWS for the upcoming release
06:49 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42477/
07:05 zak_ joined #parrot
07:07 dukeleto i will ask again: i want to document RTEMS work in the parrot repo. where should i put this document?
07:18 cotto docs/dev might be a good place
07:18 dalek parrot: r42478 | dukeleto++ | trunk/t/op/bitwise.t:
07:18 dalek parrot: [t][TT #1119] Convert t/op/bitwise.t to PIR
07:18 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42478/
07:20 cotto putting it in the wrong place makes it easy to move it to the right place
07:26 moritz good morning
07:27 uniejo joined #parrot
07:35 fperrad joined #parrot
07:53 davidfetter joined #parrot
07:54 fperrad ping japhb
07:54 purl I can't find japhb in the DNS.
08:12 mikehh joined #parrot
08:18 iblechbot joined #parrot
08:28 dalek parrot: r42479 | mikehh++ | trunk/MANIFEST.SKIP:
08:28 dalek parrot: regenerate MANIFEST.SKIP
08:28 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42479/
08:51 dalek parrot: r42480 | mikehh++ | trunk/ext/nqp-rx/src/stage0 (2 files):
08:51 dalek parrot: fix codetest failures - Pod syntax
08:51 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42480/
09:20 dukeleto 'ello
09:20 dukeleto mgrimes++ for t/op/bitwise.t conversion
09:23 dukeleto a patch status of "partially applied" would be REALLY useful on trac.parrot.org
09:26 moritz Infinoid: sorry, I don't have a test case, I don't even know how to run dalek locally. And while I agree that a list of branches to try_link is cleaner, I don't understand the setup well enough to do that change
09:34 dalek parrot: r42481 | dukeleto++ | trunk/t/op/sprintf2.t:
09:34 dalek parrot: [t][TT #1122] Convert t/op/sprintf2.t to PIR, mgrimes++
09:34 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42481/
09:34 payload joined #parrot
09:35 dukeleto darn, i put the wrong tt in the commit msg
09:35 dukeleto o well
09:35 moritz dukeleto: the best you can do is to reply to the commit mail (to parrot-dev)
09:37 payload1 joined #parrot
09:37 dukeleto moritz: thanks, that is a good idea
09:39 moritz not my own; I think Coke++ once told me after I wrote a wrong commit message :-)
09:39 payload joined #parrot
09:40 dalek TT #1119 closed by dukeleto++: [PATCH] Converted tests from perl to pir
09:44 dalek parrot: r42482 | dukeleto++ | trunk/t/op/number.t:
09:44 dalek parrot: [t][TT #1122] Convert t/op/numbert.t to PIR, mgrimes++
09:44 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42482/
09:48 payload joined #parrot
09:58 payload joined #parrot
10:20 dalek TT #1122 closed by dukeleto++: [PATCH] Convert more tests from perl to pir
10:20 dalek parrot: r42483 | dukeleto++ | trunk (2 files):
10:20 dalek parrot: [t][TT #1122] Convert t/op/literal.t to PIR and keep old PASM tests in t/op/literal-old.t, mgrimes++
10:20 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42483/
10:24 Infinoid moritz: I don't run dalek locally, either.  I have a fake dalek module that gets run for "make test"
10:24 Infinoid moritz: I'll try to find some tuits for secondary branches, but no guarantees
10:26 moritz Infinoid: I have another patch attempt coming up, but so far I didn't have the tuits to set up all the dependencies for testing
10:27 Infinoid testing should (hopefully) be standalone
10:27 Infinoid I think it needs a couple of XML modules from CPAN, and probably Perl6::Export::Attrs from CPAN too.  Otherwise it should Just Work.
10:29 Infinoid I can help with that if you're running into any issues with it
10:30 payload joined #parrot
10:31 moritz http://github.com/moritz/dalek-plugins/comm​it/560365051c8c5d00ffbb25f01ce06e127473948c
10:32 moritz my attempt to handle multiple branches per github repo gracefully
10:32 moritz not yet tested
10:33 Infinoid I think I want to tweak that a bit to pass in the branch name so it can adjust the output prefix, but yeah, that's what I was thinking of
10:33 moritz feel free to steal from it whatever you like
10:34 Infinoid thanks!
10:34 Infinoid I think it would be nice for the bot to output "rakudo: blah blah" for master commits, and "rakudo ng: blah blah" for ng branch commits
10:37 moritz Infinoid: after installing the required modules all tests fail like this:
10:37 moritz t/gitorious.t ........ Can't locate object method "fetch_url" via package "modules::local::karmalog" at /scratch/mlenz/dalek-plugin​s/modules/local/karmalog.pm line 63.
10:37 moritz I tried an older versions (without modifications by me), still the same
10:38 * Infinoid checks whether he's hacking PERL5LIB somehow, or something like that
10:38 Infinoid I think it's relying on "use lib getcwd();" to add /scratch/mlenz/dalek-plugins to your lib path
10:40 moritz +        urls       => \@@rss_links,
10:40 moritz that should just be one @, of course
10:46 Infinoid Ok, I mis-read your error message.  It's obviously finding the module, but somehow it's running one method in the package and failing to find another method in the same package?
10:46 Infinoid What rev of perl5?
10:46 moritz 5.10
10:47 Infinoid ok, that's what I'm testing on
10:53 nopaste "Infinoid" at 173.75.243.182 pasted "moritz: Does simple module loading work in your checkout?" (4 lines) at http://nopaste.snit.ch/18669
10:54 moritz Infinoid: nope, dies with the same error message
10:54 Infinoid ok.  I'm hoping to find out why :)
10:57 Infinoid perl -e 'use lib "."; use YAML; do "modules/local/karmalog.pm"; print(Dump(\*modules::local::karmalog::))'
10:59 nopaste "moritz" at 132.187.31.74 pasted "dumping for Infinoid++" (13 lines) at http://nopaste.snit.ch/18670
11:00 moritz anyway, off to lunch now, bbiaw
11:00 Infinoid moritz: When you get back, I think it will work if you remove "use YAML::Syck;" from the beginning of emit_ticket_karma()
11:00 * Infinoid is once again reminded of how "do" is evil
11:03 * Infinoid pushes that
11:31 payload1 joined #parrot
11:33 payload1 joined #parrot
12:43 joeri joined #parrot
12:47 bluescreen joined #parrot
12:58 mariano__ joined #parrot
12:59 payload joined #parrot
13:06 plobsing joined #parrot
13:06 plobsing hi #parrot!
13:13 whiteknight joined #parrot
13:15 whiteknight hello #parrot
13:16 plobsing hi whiteknight
13:18 szabgab joined #parrot
13:19 bacek joined #parrot
13:24 sothil joined #parrot
13:33 Zak joined #parrot
13:49 Austin_away joined #parrot
13:59 davidfetter joined #parrot
14:11 davidfetter joined #parrot
14:19 mj41 TapTinder - build status is fast now ... http://tt.ro.vutbr.cz/buil​dstatus/pr-Parrot/rp-trunk
14:44 mikehh joined #parrot
15:17 Psyche^ joined #parrot
15:23 iblechbot joined #parrot
15:26 patspam joined #parrot
15:39 sothil_ joined #parrot
16:02 japhb fperrad, I have to run, but I'll be back in half an hour or so ... was there anything other than your two Plumage-related emails last night that I need to know about?
16:03 Andy_ joined #parrot
16:25 dalek nqp-rx: 9555dc3 | pmichaud++ | src/cheats/ (2 files):
16:25 dalek nqp-rx: Move <ternary> subrule into HLL::Grammar.
16:25 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/9​555dc3be27cacd037bddd6c32e26109fb119959
16:25 dalek nqp-rx: b6a6b03 | pmichaud++ | src/cheats/hll-grammar.pir:
16:25 dalek nqp-rx: Fix bug in preclim handling of EXPR() subrule.
16:25 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/b​6a6b03036b395f3d9e0550cb19261d6c394b7e1
16:25 dalek nqp-rx: cf48f55 | pmichaud++ | src/Regex/Cursor.pir:
16:25 dalek nqp-rx: Allow Grammar.parse() to take the name of a subrule as well as a rule.
16:25 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/c​f48f5558016341ada63ea5e1dde2b2ec9fea21b
16:25 dalek nqp-rx: 130a2bb | pmichaud++ | src/Regex/Cursor.pir:
16:25 dalek nqp-rx: Change rule argument in Cursor.parse to be a named argument.
16:25 purl dalek: that doesn't look right
16:25 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/1​30a2bb2112285bfc346628e504df83f45746c73
16:25 dalek nqp-rx: 344775f | pmichaud++ | src/stage0/ (4 files):
16:25 dalek nqp-rx: Update bootstrap versions.
16:25 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/3​44775f4249642c4707adf2125da182fda3b543a
16:25 theory joined #parrot
16:25 cotto_work < purl-- >
16:25 cotto_work also, good morning
16:28 darbelo joined #parrot
16:29 whiteknight good morning cotto_work
16:33 dalek parrot: r42484 | pmichaud++ | failed to fetch changeset:
16:33 dalek parrot: [nqp]:  Update NQP to have statement modifiers, bugfixes.
16:33 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42484/
16:36 pmichaud I'm getting failures in trunk... known?
16:37 whiteknight not that I am aware of
16:37 whiteknight building now (will take a long time, am on windows)
16:38 pmichaud t/op/bitwise.t                            (Wstat: 0 Tests: 67 Failed: 0) Parse errors: Bad plan.  You planned 68 tests but ran 67.
16:38 pmichaud t/op/number.t                             (Wstat: 0 Tests: 173 Failed: 1) Failed test:  172
16:38 whiteknight urg
16:38 mikehh I don't get any on Ubuntu 9.10 amd64
16:39 pmichaud I'm on Kubuntu 9.04 x86
16:39 pmichaud I'm guessing someone might not have updated a test properly.
16:41 pmichaud looks like those tests were converted to PIR in r42482 and r42478
16:42 pmichaud uh oh
16:42 pmichaud oh, nm
16:42 cotto_work those can be tricky to verify
16:42 pmichaud it might be related to availability of libgmp
16:43 NotFound I've found a problem that may be the cause of some random failures... wait a few moments...
16:43 mikehh joined #parrot
16:46 nopaste "cotto_work" at 131.107.0.74 pasted "Configure.pl failures on win7/mingw_gcc" (97 lines) at http://nopaste.snit.ch/18672
16:49 whiteknight t/op/number.t:131 failed on Win32/strawberry
16:50 whiteknight a couple other TODO tests are passing
16:50 whiteknight 131 is a stupid -0 test
16:51 whiteknight it appears that we want -0, but windows is giving us regular 0 instead. Any word on whether this is right or not? Seems wrong to me
16:51 darbelo Everyone else gives -0, windows has it wrong.
16:52 whiteknight so we *want* -0?
16:52 particle whitenight: msvc? what version?
16:52 whiteknight that seems absolutely absurd to me
16:52 particle iirc msvc 7 had a bug
16:52 whiteknight particle: not msvc. Strawberry on Windows
16:52 particle ah
16:53 whiteknight I need to try to remember the incantation to build here with msvc
16:53 whiteknight I used to know it
16:53 particle ITS NOT WINDOWS, IT'S THE COMPILER
16:53 whiteknight whatever
16:53 whiteknight I'm on windows. Have test failure
16:53 dalek parrot: r42485 | NotFound++ | trunk/src/pmc/object.pmc:
16:53 dalek parrot: [pmc] call to overrided object.invoke lacked a check for 0 positional arguments
16:53 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42485/
16:53 darbelo particle: Actually the math library, but yes.
16:53 particle yeah, the math lib that ships with the compiler
16:54 particle msvc7 had different behavior than all other msvc's. i can't tell you about strawberry, though
16:55 particle i suggest you hop over to #win32 and ask
17:08 jan joined #parrot
17:26 Ingmar joined #parrot
17:31 whiteknight I'm still flabbergasted that -0 is a behavior that we want and encourage
17:36 particle it's ieee-specified
17:37 particle falls out naturally from the storage format for floats, and it's used in some limited cases (weather, physics)
17:37 japhb I actually had as a prof one of the guys that defined that behavior. (And also wrote the microcode for the 8087 and 80387, for that matter)
17:38 japhb He explained at length why -0 matters.
17:39 japhb The shortest version of it is: If you don't have -0, your fluid dynamics simulations are wrong, and you design crappy wings, and your planes don't fly right.
17:41 cotto_work Getting my planes to fly will take a lot more than -0.
17:44 whiteknight I know plenty about IEEE754, I've done work on floating-point hardware before. So I know *why* -0 exists in the technical sense
17:44 whiteknight I'm also not swayed by the vague "I know a guy who knew a guy who claimed it mattered once"
17:46 japhb whiteknight, I can (if I dig hard enough in my brain) actually explain the details.  But it's been nearly two decades, so a summary is a tad easier.  :-)
17:46 whiteknight but I have never seen a concrete case where a correct solution to a problem required the use of -0, or the rule "0 != -0" was important
17:47 japhb And W. Kahan is the kind of guy that after several years of classes with him, even skeptics begin to just trust him.  He spends all of his free time proving why slight incompatibilities with the spec result in horribly wrong answers.  ;-)
17:47 bubaflub joined #parrot
17:48 PerlJam whiteknight: it matters when you need to propagate the correct sign to the result of a modulus
17:48 dalek TT #1267 created by jkeenan++: t/op/bitwise.t:  Test failure subsequent to skip BigInt
17:48 whiteknight PerlJam: how so? Example?
17:48 PerlJam (okay, okay, I just made that up :)
17:48 whiteknight ok
17:49 PerlJam I've never seen a case where -0 matters either.
17:49 whiteknight I've seen plenty of cases where -0 causes unexpected problems, and plenty of places where people have to check for and correct that value to "normal zero" to prevent problems
17:52 whiteknight Even wikipedia doesn't have more then vague explanations for why it might be useful in some strange cases to a very limited number of people
17:52 japhb whiteknight, here's one example, related to the summary I said above.  Generally, airfoil fluid dynamics simulations (at least during that time period, I'm not up on the latest algorithms) would follow a discrete number of individual flow surfaces.  When a flow hit a surface perfectly perpendicularly, the code would split the flow into two new flows, flowing "up" and "down".  When -0 gets folded to 0, that would result in both flows contri
17:52 japhb buting to "up", and none contributing "down".  After that point, all of the calculations go to hell.
17:54 whiteknight japhb: well that's just a case of using a very lazy numerical algorithm to compute the lift contributions
17:54 japhb It's related to why we "round to even" ... if we don't, there's a tiny bias across bazillions of random roundings, and in fact this becomes terribly obvious on the scale of the NYSE or a major national chain like Target or Walmart.
17:55 darbelo lazy numerical algorithms are faster than the hard-working kind.
17:55 darbelo japhb: goolgle "telco benchmark" for related numerical fun.
17:55 darbelo Eh, google.
17:56 PerlJam japhb: cite a whitepaper that explains this  :)
17:58 japhb Kahan was endlessly bitter about people optimizing their chip to do something faster than the strict IEEE spec allowed, because they didn't understand the edge cases.  Similar to the infamous Pentium and Excel math bugs, *most of the time* the error doesn't matter.  When it does, though, your answer is completely wrong.
17:58 darbelo PerlJam: We don't need any whitepapers. We can just refer to the standard, the standard is perfect, that's why it's the standard.
17:58 japhb PerlJam, I've got binders of the stuff on dead trees.  I don't know how much actually made it onto the internet.
17:58 japhb darbelo, :=P
17:58 japhb Will look, however.
17:59 PerlJam then I shall continue to blithely assume that people smarter than me have figured it all out and made sensible decisions regarding numbers on computers until then  :)
18:00 japhb PerlJam, http://www.cs.berkeley.edu/~wkahan/
18:00 japhb Prepare to have your eyes cross.
18:02 darbelo "Much Ado About Nothing's Sign Bit"
18:02 darbelo :)
18:02 japhb http://www.cs.berkeley.edu/~wkahan/ieee754status/ and http://www.cs.berkeley.edu/~wk​ahan/ieee754status/ieee754.ps for IEEE spec specific discussion, if I'm skimming this right.
18:03 japhb darbelo, and there you have it.  :-)
18:03 japhb Like I said, a fair portion of this is still on dead trees.  He was constantly posting papers printed on reams of dot matrix printout outside his office.
18:08 japhb "How JAVA's Floating-Point Hurts Everyone Everywhere"
18:08 japhb Not much for pulling punches, either.
18:09 bubaflub not to interrupt the discussion, but make -j is broken on trunk
18:10 darbelo Didi'n I fix that already this week?
18:11 japhb I had another professor nicknamed "Trivial" Hilfinger, because he thought everything was trivial and couldn't understand why his students didn't just know everything off the top of their heads.  Kahan was the only person I've ever seen leave Trivial looking dumbfounded.  Best day of my college career.
18:12 darbelo Heh, I know people like that.
18:13 darbelo "If I found that trivial, I wouldn't be on this classroom, okay?"
18:13 japhb YUP
18:14 dukeleto 'ello
18:15 dukeleto japhb: mathematicians use the word trivial to be lazy
18:15 japhb Ooh, Superghost!  Uh, I pick 'h' ... oh DAMN!
18:15 dukeleto japhb: and or: there are only two types of problems in the world: trivial and unsolved.
18:16 dukeleto whoa, you guys studied fluid dynamics as well? scary.
18:16 * dukeleto attempts to backlog
18:17 dukeleto if you read ieee754-2008, they have a lot to say about -0 :)
18:17 dukeleto CLA?
18:17 purl CLA is Contributor License Agreement or http://www.perlfoundation.org/​contributor_license_agreement or http://www.parrot.org/foundation/legal or http://www.parrot.org/files/parrot_cla.pdf or http://www.lowcarbfriends.com/bbs/mai​n-lowcarb-lobby/223884-cla-acne.html
18:17 japhb dukeleto, Trivial really thought so.  Our final exams were supposed to be three hours.  His always had to be the last ones of the day, because it generally took people twice that long -- the first person to finish in my huge class was done at like the 3.5 hour mark (and I wasn't anywhere close, sigh).  When pushed on this, he said "I did the test myself in 20 minutes!" and seemed to honestly believe that meant the test should have taken th
18:17 japhb e students not much longer.
18:18 dukeleto japhb: i had the same experience in grad skool
18:18 dukeleto japhb: most people took 5-6 hours to finish the "party"
18:18 japhb heh
18:19 dukeleto japhb: i had a professor that would *only* refer to tests as "parties" and homework as "treats"
18:19 dukeleto exclusively
18:19 dukeleto he was a turbulence plasma physicist
18:19 dukeleto and i think he gave some of the hardest/trickiest problems i have ever had the pleasure to bash my head against
18:20 japhb :-)
18:28 bubaflub_ joined #parrot
18:28 whiteknight I had a reputation in college as a fast test-taker. I don't think there was a single final exam in my entire undergraduate career that I didn't walk out of first
18:29 whiteknight I knew two things really well: First, I always knew which problems I was and was not able to solve, and I also knew where the curve was going to be
18:29 dukeleto bubaflub_: salutations
18:30 dukeleto why doesn't Configure.pl --ask ask about wanting GMP or not?
18:30 japhb whiteknight, nice technique
18:32 whiteknight a lot of our tests were open-notes, so many students would spend lots of valuable minutes digging through old paperwork. I wouldn't bring notes, because I knew I wouldn't be able to find anything useful in a reasonable amount of time
18:36 darbelo I do a similar thing, except I don't really take notes.
18:36 whiteknight haha, I rocked that strategy in a few classes too :)
18:37 whiteknight "english literature", "art and aesthetics", "the history of europe", etc
18:37 * particle yawns
18:38 japhb particle, damn you!
18:38 darbelo "the history of europe"? I thought you had a tech degree.
18:38 japhb Not like I'm not already tired
18:38 particle :)
18:38 whiteknight darbelo: Yeah, EE. But I had to take a bunch of "general education" classes
18:38 bubaflub joined #parrot
18:39 whiteknight all the tech classes were interesting, and I took notes
18:39 dukeleto open notes tests are way harder
18:40 dukeleto that is the kick in the pants
18:40 AndyA joined #parrot
18:40 dukeleto who broke -j again?
18:40 * dukeleto needs a good punishment for breaking -j
18:40 japhb Open notes tests were the professor's way of saying "It doesn't matter how many facts you know.  These problems will still kill you."
18:41 japhb dukeleto, use 1 core for standard make.  Use the other N-1 for loading dozens of tabs from a Firefox folder while you wait for the build to finish.
18:42 darbelo dukeleto: Works for me, -j5 just passed here. If you nopaste the error I'll see about fixing it.
18:42 darbelo Could be a BSD vs GNU make difference.
18:43 dukeleto darbelo: me and bubaflub++ are both seeing -j as broke on OS X
18:44 dukeleto bubaflub: can you nopaste the opengl -j build error?
18:44 bubaflub yep, i reported that about 40 minutes ago
18:44 bubaflub sure, one sec
18:45 dukeleto i am going to put the parrot testing hackathon on http://calagator.org/
18:45 * japhb wakes up slightly ... opengl fail?
18:45 dukeleto japhb: opengl and -j don't like each other in the build
18:45 dukeleto japhb: at least on OS X
18:46 japhb Hmmm.  It looks like OpenGL is just generally unhappy ...
18:46 japhb $ parrot examples/opengl/triangle.pir
18:46 japhb invalid signature string element v!
18:46 japhb Oy.  I may need to take a nap before facing this morning.
18:48 dukeleto japhb: opengl examples have never worked for me on OS X
18:48 japhb As a matter of fact, I'm going to.  dukeleto, just configure --without-opengl for now (IIRC)
18:48 dukeleto japhb: thanks, that is a reasonable workaround for now
18:48 japhb dukeleto, sigh.  Things to look at later.  :-(
18:48 dukeleto japhb: delegation! learn to love it.
18:49 japhb dukeleto, I seem to be the only one who cares to expend any energy on it.  :-/
18:49 dalek nqp-rx: 8d6dfe2 | duff++ |  (4 files):
18:49 dalek nqp-rx: [nqp] Naive while/until loop modifiers
18:49 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/8​d6dfe2d2bd75c98402a1526375ce15ad8db66e3
18:50 dukeleto japhb: bubaflub++ seems interested in opengl, we might be able to get him to throw some tuits at it
18:50 japhb bubaflub, you are more than welcome to do so.  ;-)
18:51 bubaflub righteous.
18:51 purl stick it to the man!
18:51 bubaflub i'm about to nopaste it
18:52 japhb bubaflub, sorry to walk away, but I've really got to stop this headache.  I'll take a look later if no one beats me to it.
18:52 bubaflub hey, no problem japhb feel free to email me or whatever
18:53 bubaflub i.e. to get me to help on OpenGL stuff
18:53 dukeleto bubaflub: japhb is the man to talk to about opengl issues, but we really need more people hacking on our opengl bindings
18:53 dukeleto bubaflub: if you can just verify that the opengl examples work/don't on your box, that is a start
18:53 dukeleto bubaflub: but don't hope for much :)
18:54 bubaflub *sigh*
18:54 dukeleto and why don't the tests for the examples fail?
18:54 dukeleto maybe the opengl examples have no tests?
18:56 darbelo dukeleto: "does this triangle look right to you?" is hard to put into a test :)
18:57 bubaflub unless it's missing a vertex
18:57 dukeleto darbelo: "does this triangle segfault" is easy to test, though :)
19:02 dalek tracwiki: v7 | dukeleto++ | AllHackathons
19:02 dalek tracwiki: https://trac.parrot.org/parrot/wiki/Al​lHackathons?version=7&amp;action=diff
19:02 dalek tracwiki: v8 | dukeleto++ | AllHackathons
19:02 dalek tracwiki: https://trac.parrot.org/parrot/wiki/Al​lHackathons?version=8&amp;action=diff
19:03 dukeleto why can't a make a link to a new freakin' page on the wiki?
19:03 dukeleto i write SomeJunkLikeThis and i don't get a link to make a page
19:03 dukeleto it's like, the one sole purpose of a flippin' wiki, to do that, right?
19:04 dukeleto i hate our wiki
19:04 whiteknight yeah, the trac wiki is far from full-featured
19:05 chromatic joined #parrot
19:06 dukeleto whiteknight: what about just having one feature? i would like that, right now
19:06 whiteknight yeah, that would be nice too
19:07 dukeleto why doesn't SomeWikiJunk make a page link?
19:07 whiteknight the ability to use a little bit of HTML would be killer
19:07 dukeleto what do I have to do to make a new page? this has been blocking me for a while and now it is making me angy
19:07 dukeleto angry, even
19:07 bubaflub japhb: got some logs for ya, going to nopaste em in the channel
19:07 dukeleto whiteknight: we should use something like http://ikiwiki.info/
19:08 nopaste "bubaflub" at 76.199.4.75 pasted "mac os x configure with opengl warnings" (97 lines) at http://nopaste.snit.ch/18673
19:08 nopaste "bubaflub" at 76.199.4.75 pasted "mac os x make -j 4 with opengl failure" (190 lines) at http://nopaste.snit.ch/18674
19:09 bubaflub japhb: line 152 is the relevant line in the make failure, line 72 in the configure warnings
19:10 mikehh joined #parrot
19:13 dukeleto http://calagator.org/events/1250458003 <-- testing hackathon
19:14 joeri joined #parrot
19:14 dukeleto http://www.parrotcode.org/docs/tests.html is all wrong
19:15 darbelo parrotcode.org is obsolete.
19:15 whiteknight kill it with fire
19:15 darbelo It should be made into a redirect to the right place.
19:16 darbelo dukeleto: If you want to create a page, just navigate to the nonexistant page. There'll be a "Create this page" button there.
19:26 whiteknight redirect++
19:26 dukeleto darbelo: that is just all kinds of wrong in the wiki world
19:26 mokurai joined #parrot
19:27 dukeleto darbelo: parrotcode.org comes up before anything else in google searches
19:27 dukeleto why is it there?
19:27 dukeleto who controls it?
19:27 darbelo dukeleto: Yes. On both counts.
19:28 darbelo It's there becouse nobody removed it, don't know who owns it. Somebody on the PaFo board shouold know.
19:29 soxet joined #parrot
19:33 dukeleto so if i yell PLEASE FREAKIN' DELETE PARROTCODE.ORG in this channel, someone should hear me?
19:33 darbelo Only if they backlog, so yell it often ;)
19:34 darbelo ... or DDoS the domain or something.
19:39 dalek tracwiki: v1 | dukeleto++ | OpcodeTestingHackathon
19:39 dalek tracwiki: https://trac.parrot.org/parrot/wiki/Opcode​TestingHackathon?version=1&amp;action=diff
19:45 cotto_work dukeleto, it looks like it points at parrot.org now
19:45 cotto_work s/points at/redirects to/
19:46 dalek tracwiki: v2 | dukeleto++ | OpcodeTestingHackathon
19:46 dalek tracwiki: https://trac.parrot.org/parrot/wiki/Opcode​TestingHackathon?version=2&amp;action=diff
19:46 soxet joined #parrot
19:46 dukeleto cotto_work: only the index page redirects. direct links do not
19:49 dalek tracwiki: v3 | dukeleto++ | OpcodeTestingHackathon
19:49 dalek tracwiki: https://trac.parrot.org/parrot/wiki/Opcode​TestingHackathon?version=3&amp;action=diff
19:49 dalek tracwiki: v4 | dukeleto++ | OpcodeTestingHackathon
19:50 dalek tracwiki: https://trac.parrot.org/parrot/wiki/Opcode​TestingHackathon?version=4&amp;action=diff
19:52 Topic for #parrotis now Parrot 1.7.0 "African Grey" is out! | Testing hackathon November 14 and 15 -- https://trac.parrot.org/parro​t/wiki/OpcodeTestingHackathon | find out what's up with the slice  opcode | Latest modified TT's: http://icanhaz.com/parrotbugs
19:56 darbelo "find out what's up with the slice  opcode"?
19:58 chromatic We talked about that in a #ps some two or three weeks ago.  That's all I remember.
19:59 Austin joined #parrot
19:59 Austin effing chatzilla
19:59 Austin purl++
20:00 Austin Should there be a has_attribute vtable function?
20:01 Austin Wow. I've been chosen to receive a UN grant of $1,000,000.
20:01 Austin I can stop wasting my time on this open source stuff, and concentrate exclusively on cocaine and strippers!
20:01 Austin Woo-hoo.
20:01 dukeleto darbelo: i don't know what is up with the slice opcode. but we should probably add more tests to it
20:02 Austin Slice is dead, I think.
20:02 Austin Removed a while back, with just some leftover references to confuse everyone.
20:02 Austin (per Chromatic)
20:02 dukeleto then someone update the frickin' /topic!
20:02 Austin (or was it allison?)
20:03 dukeleto i think allison and chromatic both try to confuse us in the appropriate ways ;)
20:03 Austin Good idea, Duke. There's never a committer around when you need one.
20:03 Austin Maybe I should say "donuts"
20:03 Austin See if one shows up.
20:04 chromatic A donut or a committer?
20:04 Austin Works every time.
20:04 dukeleto does the slice opcode still exist?
20:04 dukeleto is there something "up" with it?
20:04 dukeleto or can we change the /topic ?
20:04 Austin Was it you, chromatic, that pronounced the death knell of the slice opcode?
20:05 Austin *death knell = doom
20:05 Austin *(or, pronounced = pealed, your choice.)
20:09 chromatic I don't think I did.
20:10 chromatic There's no slice opcode, but there is a slice VTABLE entry.
20:12 chromatic It's unused.
20:12 chromatic slicey slice
20:13 dukeleto so our topic is just totally nonsense?
20:13 theory joined #parrot
20:15 pmichaud slice has not really worked for at least a couple of years
20:15 chromatic Let's yank the VTABLE then.
20:15 Austin So what does one do with a vtable entry that lacks a corresponding opcode?
20:15 pmichaud +1
20:15 purl 1
20:15 Austin Other than call it from C, I guess?
20:16 pmichaud imo, slice makes far more sense as a method call than a vtable
20:22 dalek parrot: r42486 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
20:22 dalek parrot: [distutils] add get_nqp()
20:22 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42486/
20:23 whiteknight remove the slice VTABLE. if nobody is using it, it's dead code
20:25 cotto_work slice it out
20:27 dukeleto SLICE OUT, DAWG
20:35 dalek parrot: r42487 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
20:35 dalek parrot: [distutils] add options pir_pge_flags & pir_nqp_flags
20:35 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42487/
20:40 cotto_work dukeleto, don't you have a commit bit?
20:42 chromatic I can slice them out now.
20:45 dukeleto cotto_work: yes, i do. that doesn't mean i know what i am doing.
20:46 whiteknight yo dawn, i herd you liek slice. So I put some slice in yo slice so you can slice while you rip it out
20:47 whiteknight s/dawn/dawg/
20:59 * japhb is bak, reinforced with: short nap resulting in dream of beating a frat boy with a brick of cheese; breakfast for lunch (mmm, meusli), and chocolate.
21:00 japhb awww, looks like I missed bubaflub.
21:00 particle don't worry, he'll be back when you leave
21:01 bacek joined #parrot
21:01 dukeleto japhb: bubaflub was my gsoc student this year, i can relay a msg if you need
21:01 japhb msg bubaflub the make failure looks like someone goofed while changing headers around.
21:01 purl Message for bubaflub stored.
21:02 dukeleto japhb: he is up for hacking on all kinds of stuff
21:02 japhb dukeleto, excellent
21:03 japhb msg bubaflub I can fix the configure problems, but I need a tarball of your gl/glu/glut headers
21:03 purl Message for bubaflub stored.
21:06 chromatic Realclean necessary.
21:07 japhb chromatic, from a new push, or in relation to the problems that bubaflub posted?
21:08 dalek parrot: r42488 | chromatic++ | trunk (8 files):
21:08 dalek parrot: [PMC] Removed slice VTABLE and related detritus.  All tests pass.
21:08 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42488/
21:08 dalek parrot: r42489 | chromatic++ | trunk (3 files):
21:08 dalek parrot: [include] Removed now unnecessary parrot/slice.h header.
21:08 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42489/
21:08 chromatic ^
21:08 japhb fair enough
21:09 darbelo You mean it isn't necessary all the time?
21:09 japhb darbelo, make reconfig FTW
21:09 chromatic I rarely realclean.
21:09 mariano__ joined #parrot
21:12 darbelo FTW?
21:12 purl i think FTW is a unix file-finding library or Fuck The World or for teh win or for the win or FONDLE TEH WINNAR or lame
21:14 dukeleto darbelo: for the win!
21:15 masak joined #parrot
21:15 dukeleto masak: salutations
21:15 masak good evenin'.
21:16 dukeleto masak: what are you hacking on these days?
21:16 japhb dukeleto, our culture
21:16 masak dukeleto: just about to wrap up the Web.pm grant. trying to get proto floating again. diddling with November.
21:17 masak oh, and the culture thing. :)
21:17 Tene masak: did you get parrot-mysql working with squerl?
21:18 dalek parrot: r42490 | japhb++ | trunk/config/gen/opengl.pm:
21:18 dalek parrot: [OpenGL] Should improve bubaflub++'s OpenGL configure, but not a complete fix
21:18 masak Tene: still haven't tried.
21:18 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42490/
21:18 Tene masak: you can install it with plumage. ;)
21:18 japhb msg bubaflub see parrot r42490 for some minor relief of configure dispepsia
21:18 purl Message for bubaflub stored.
21:18 dukeleto hmmmmm, configure dispepsia
21:19 masak Tene: cool! :)
21:20 japhb Can someone who knows what's been going on with moving headers around fix http://nopaste.snit.ch/18674 please
21:20 * japhb has not been paying attention to any of that.  :-/
21:20 Tene svn mv include/* /tmp
21:21 dalek parrot: r42491 | jkeenan++ | trunk/t/op/bitwise.t:
21:21 dalek parrot: Applying bitwise_t.patch submitted by bubaflub++ in https://trac.parrot.org/parrot/ticket/1267.
21:21 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42491/
21:22 japhb Tene, the problem appears to be in a header several levels of include below anything I directly touch, so likely to have side effects if I go mucking around down there
21:26 * dukeleto *always* does a realclean
21:27 Tene japhb: I have no idea what's been going on lately. :)
21:35 TiMBuS joined #parrot
21:36 darbelo japhb: adding the missing include file to the src/glut_callbacks.c deps should fix that.
21:38 bubaflub joined #parrot
21:38 dukeleto i just love 90 line stack traces, how did you know that was exactly what I wanted?
21:41 chromatic You *were* using Java, a language with an emesis fetish.
21:41 darbelo japhb: The pmc/pmc_context.h header is a generated file, there should be an explicit makefile dep on every file that includes it.
21:42 darbelo japhb: same with all other pmc_*.h files you #include.
21:42 japhb darbelo, But I'm confused here: why do the direct dependencies of src/glut_callbacks.c have anything to do with it?  The file that's breaking is way below the one that I do include, which is just parrot/parrot.h.  Or are you saying that parrot/parrot.h needs to be listed as an explicit dependency now?
21:43 dukeleto 90 line stack trace + deep multiple inheritance + abstract methods = fail
21:43 japhb darbelo: I only include parrot/parrot.h, and a glut header, nothing else.
21:44 darbelo japhb: Ugh. That is some bitter header soup.
21:45 japhb Yeah.
21:46 darbelo The actual 'splode is in context.h, which pokes into the context PMC's internals via that header.
21:47 darbelo The confusing part is that opengl is getting built before the PMCs, which is not very same at all.
21:47 japhb agreed
21:47 bubaflub i'm hacking on some t/op/*.t stuff
21:48 bubaflub is there a list to see what people are already working on?
21:48 bubaflub or should i just claim a test and convert it PIR and throw the patch in the ticketing system
21:48 darbelo Maybe you should add a dep on some late-built file, to make sure it gets built after the generated headers are there.
21:49 japhb bubaflub, purl probably already assaulted you, but ... don't forget to send me a tarball of your GL/GLU/GLUT headers
21:49 bubaflub ah, that's what it was.  ok.
21:49 bubaflub the stuff that parrot generates?
21:50 MoC joined #parrot
21:50 japhb bubaflub, no, I need your system headers.
21:50 bubaflub ah
21:50 bubaflub hmmm
21:50 japhb So I can update the master typemap
21:51 darbelo japhb: That goes beyond ugly.
21:51 japhb darbelo, can you think of a reliably "late-built" file to depend on?
21:51 japhb darbelo, what, the typemap?
21:51 chromatic libparrot
21:51 purl i heard libparrot was not included in the link for libnci_test.dll
21:51 darbelo japhb: what chromatic said.
21:52 dalek tracwiki: v5 | chromatic++ | OpcodeTestingHackathon
21:52 dalek tracwiki: added notes about improving op coverage
21:52 dalek tracwiki: https://trac.parrot.org/parrot/wiki/Opcode​TestingHackathon?version=5&amp;action=diff
21:52 japhb ./config/gen/makefiles/root.in:$(LIBGLUTCB_SO): $(LIBPARROT) $(SRC_DIR)/glut_callbacks$(O)
21:52 japhb So clearly I just need to move that requirement "earlier"
21:55 theory joined #parrot
21:55 darbelo japhb: $(SRC_DIR)/glut_callbacks$(O): $(LIBPARROT)
21:55 japhb darbelo, Actually, it may work to just depend on $(GENERAL_H_FILES)
21:56 japhb Which includes $(GEN_HEADERS)
21:56 darbelo That can work too.
21:56 darbelo And is actually less inaccurate
21:57 japhb Ok, hacking that fix in
22:02 bubaflub japhb: which headers specifically do you need?
22:02 bubaflub (from me, that is)
22:04 bubaflub just gl.h / glu.h / glut.h ?
22:06 japhb bubaflub, easiest just to tar up the directories those are in.
22:07 japhb (because every platform includes different files there, and some of them are nothing but "compatibility names" that just include some other private .h, etc.)
22:07 bubaflub japhb: k, i'll tar / bzip em to you the headers from /System/Library/Frameworks/GLUT.framework/Headers and /System/Library/Frameworks​/OpenGL.framework/Headers
22:08 japhb perfect
22:11 dalek parrot: r42492 | japhb++ | trunk/config/gen/makefiles/root.in:
22:11 dalek parrot: [OpenGL] make -j users, try this.  Makes sure generated H files exist before building libglutcb.
22:11 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42492/
22:15 bubaflub japhb: i got a bzip for ya... where should i send it?
22:17 darbelo purl: japhb?
22:17 purl japhb is probably Geoffrey Broadwell, mailto:geoff@broadwell.org
22:18 Tene purl: tene?
22:18 purl you are Stephen Weeks or a madman or http://blogs.gurulabs.com/stephen/
22:18 * darbelo guesses the mail stored in purl's factoid.
22:19 Tene purl: darbelo?
22:19 purl darbelo is Daniel Arbelo Arrocha <mailto:arbelo@gmail.com> or Daniel "The Wrecking Ball" Arbelo Arrocha
22:20 bubaflub japhb: sent.
22:20 japhb bubaflub, thanks
22:20 darbelo purl: bubaflub?
22:20 purl bubaflub is, like, mailto:bobjkuo@gmail.com
22:20 japhb bubaflub, is your configure/make better (if not perfect) as of r42492?
22:21 bubaflub lemme make realclean real quick
22:21 bubaflub one sec
22:21 * darbelo tries make realquick
22:22 japhb WANT
22:23 darbelo AOL
22:23 bubaflub japhb: Configure works, i'll try make -j now
22:24 japhb bubaflub, you should still have this warning in configure:
22:24 japhb In OpenGL header '/System/Library/Frameworks/OpenGL.​framework/Headers/CGLIOSurface.h', prototype 'CGLTexImageIOSurface2D', can't handle type 'IOSurfaceRef'; original prototype:
22:24 japhb extern CGLError CGLTexImageIOSurface2D(CGLContextObj ctx, GLenum target, GLenum internal_format, GLsizei width, GLsizei height, GLenum format, GLenum type, IOSurfaceRef ioSurface, GLuint plane);
22:24 japhb correct?
22:25 bubaflub yep
22:25 bubaflub still there
22:25 bubaflub but -j works again.  and there was much rejoicing
22:26 darbelo japhb: You *really* wanted to stress NCI when you started OpenGL.
22:28 japhb darbelo, yup, guilty as charged.  :-)
22:28 japhb I believe that if you really want a subsystem to be production grade, you need to really push it hard.
22:28 darbelo japhb++
22:30 bubaflub japhb++ for fixing -j as well.
22:33 japhb Auuggh!  I want to shake someone in Cupertino, violently.
22:34 * darbelo doen't know where Cupertino is, but aproves of violent shaking.
22:34 bubaflub shaken cupertino syndrome
22:35 japhb darbelo, Cupertino is home of '1 infinite loop'
22:35 darbelo I prefer the Induced Combustion Syndrome, for cases such as those.
22:37 PacoLinux joined #parrot
22:41 japhb bubaflub, try 42493.
22:42 masak Tene: I might get to parrot-mysql/Squerl in the weekend.
22:43 bubaflub japhb++: nice.  configure didn't barf at all
22:43 bubaflub make is fine
22:43 japhb wheee
22:43 bubaflub i'm hacking on some stuff now, but will make realclean soon
22:43 japhb And now I get to figure out how/when someone broke the actual implementation.  SIGH.
22:44 dalek parrot: r42493 | japhb++ | trunk/config/gen/opengl.pm:
22:44 dalek parrot: [OpenGL] IOSurfaceRef, you just earned yourself a trip to 'void*', Little Missy.
22:44 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42493/
22:44 whiteknight joined #parrot
22:45 whiteknight good evening, #parrot
22:45 japhb That should be done in a Vincent Price voice, I think.
22:45 cotto_work good evening whiteknight
22:46 whiteknight hello cotto_work
22:52 * whiteknight logged on to his windows vista partition tonight, for the first time in months
22:52 whiteknight *lots* of things to be updated
22:52 bubaflub whiteknight: you should consider updating to windows 7. from what i hear it's much better
22:53 bubaflub as being shot only once is much better than being shot twice
22:53 whiteknight yeah, let me just scrape together the money for the upgrade
22:53 bubaflub ah, if you have a .edu email address you can get it for $30
22:53 whiteknight nope, haven't had one of those since I graduated
22:53 bubaflub bummer.
22:53 whiteknight More likely, I'm going to log out of Vista later tonight and never, ever use windows again
22:53 whiteknight :)
22:54 japhb whiteknight, perhaps you can get it via the MS open source lab guys, if you tell them you're using it to keep Parrot working on Win 7?
22:54 japhb oh, well, then.
22:54 whiteknight I'vebeen having troubles getting my webcam working on Ubuntu (though I think I figured out the problem now), and I have a video conference tonight
22:54 whiteknight so that's the only reason I'm here
22:55 darbelo I tried the 7 RTM that was available via the ACM subscription I got from SoC. The installer didn't boot on my computer.
22:56 whiteknight oh, that stinks
22:56 darbelo I've come to think of that as a feature.
22:56 whiteknight what computer do you have that's such a problem?
22:57 darbelo I tried it on a Asus 4-core AMD box IIRC, nothing nonstadard about it.
22:57 nopaste "japhb" at 76.191.190.8 pasted "void -> void NCI call broken by PCC? How do I fix this?" (20 lines) at http://nopaste.snit.ch/18679
22:58 whiteknight urg
22:58 darbelo It actually booted, to be fair, displayed a nice wavy background and let me move the mouse pointer.
22:59 darbelo But want more from an OS installer than a mouse pointer and a pastel background.
22:59 darbelo Mybe I'm picky, but I want it to, at least, install the OS.
23:00 whiteknight see? you're just being needy
23:00 japhb That's only what you *thought* you wanted.
23:00 whiteknight like all those people who want parrot not to segfault. That's just an absurd, unreasonable demand
23:00 japhb Anyone got an idea on my nopaste above?  chromatic, allison, bacek, ...?
23:01 whiteknight japhb: looking at it. Can you get a backtrace?
23:01 plobsing joined #parrot
23:01 darbelo Actually, my favourite installer has neither a pastel background nor a mouse pointer.
23:01 whiteknight I suspect an NCI signature is being fed into the PCC mechanism
23:01 * darbelo is a console freak.
23:01 japhb whiteknight, yeah, I'd believe that analysis
23:01 japhb I'm a little rusty, but I'll give the bt a try
23:02 whiteknight w00t.
23:02 jan joined #parrot
23:03 kiwichris joined #parrot
23:03 whiteknight gdb --args parrot examples/opengl/triangle.pir
23:08 nopaste "japhb" at 76.191.190.8 pasted "BT for whiteknight++" (23 lines) at http://nopaste.snit.ch/18680
23:09 japhb Oooh, looks like a callback fail!
23:10 bubaflub just a heads up, t/codingstd/pod_syntax.t is failing
23:11 plobsing you are calling Parrot_pcc_invoke_sub_from_c_args wrong
23:13 whiteknight oh great, a callback
23:13 whiteknight messy backtrace
23:13 plobsing the bug is at src/glut_callbacks.c:251
23:13 whiteknight plobsing++
23:13 plobsing s/"v"/"->"/
23:13 japhb plobsing, to be fair, I don't think it was me.  svn blame shows that the section of config/gen/opengl.pm that generates src/glut_callbacks.c hasn't been touched by me in like 15 thousand revs.
23:13 plobsing should fix
23:14 plobsing sorry for first person. unintended accusation.
23:15 dalek TT #1268 created by bubaflub++: [PATCH] convert t/op/time.t to PIR
23:15 whiteknight bubaflub++
23:15 japhb plobsing, ... but I'm happy to try to fix it, if someone can point me at the docs mapping the old NCI signatures to the new ones.
23:15 whiteknight getting started on the hackathon early
23:15 bubaflub haha, it's the weekend for me
23:15 bubaflub i work part time 9 - 2 on Fridays
23:15 plobsing japhb: there are no new nci signatures yet
23:15 bubaflub my girlfriend works 5 p.m. to 3 a.m.
23:15 bubaflub so i'm good to hack
23:15 whiteknight japhb: old sigs are <return(1char)><args>
23:15 whiteknight new sigs are <args>-><returns>
23:15 plobsing japhb: but that call takes a pcc signature
23:16 japhb whiteknight, plobsing: so ... is the call being done with the wrong function, or is the signature in need of fix?  And if the latter, into what format, (if NCI sigs != PCC sigs)
23:17 whiteknight the signature string is wrong
23:17 japhb OK.
23:17 whiteknight is "v", should be "->"
23:17 japhb whiteknight, so no longer a need to list a return value even if there isn't one?  Good!
23:17 * japhb braces for epic hackery
23:18 whiteknight EPIC!
23:22 * whiteknight has basically no hacking time tonight
23:25 ascent joined #parrot
23:34 japhb Sigh, shell quoting is going to ruin the joke in my commit message.  :-(
23:35 plobsing you've fixed it already?
23:35 plobsing thats fast
23:36 cotto_work That's what you get for committing with -m
23:37 dalek parrot: r42494 | japhb++ | trunk/config/gen/opengl.pm:
23:37 dalek parrot: [OpenGL] Fixing one line of code: .  Knowing which line to fix: ,999.
23:37 dalek parrot: review: https://trac.parrot.org/parrot/changeset/42494/
23:47 dalek TT #1269 created by bubaflub++: [PATCH] convert t/op/comp.t to PIR
23:49 japhb Sigh, shell quoting is going to ruin the joke in my commit message.  :-(
23:49 purl i already had it that way, japhb.
23:49 japhb BAH
23:49 japhb Sigh, it looks like more than just order of return and arguments changed with new sigs.
23:50 japhb Where is the doc?   Searching for '->' and '-E<gt>' in docs/ finds nothing relevant to PCC call signatures.
23:50 plobsing japhb: tools/build/nativecall.pl converts NCI sigs to PCC sigs
23:51 plobsing that might be a useful resource
23:51 japhb plobsing, thank you.
23:51 japhb But there should be a doc.
23:51 japhb If something humongous like PCC landed *without documentation*, I will be miffed.  MIFFED, I SAY.
23:52 darbelo japhb: In theory, as we have not passed a deprecation boundary. That should still work.
23:52 japhb darbelo, "that"?
23:53 darbelo Old style signatures.
23:53 japhb (honest question ... I'm not sure which antecedent you are referring to.)
23:53 japhb Oh.  I expect they wouldn't work on the _pcc_ routines, which is what someone changed all the glut_callbacks code to use.
23:54 japhb I'm happy to try to get it working using the _pcc_ calls, but since I didn't make the change, I'd like a doc to how to properly fix it.  :-)
23:54 japhb The fix I committed above works for simple cases, and gets the spinning triangle example working, but nothing advanced.
23:54 darbelo We are taking a 2x slowdown in acount of PCC 'compatibility' code. It bloody better be *compatible* dammit.
23:55 japhb darbelo, if the _pcc_ routines are supposed to accept old signatures ... they don't.  Pretty much definitively.  ;-)
23:56 darbelo Hmm. I might be thinking of a different set of functions.
23:58 bubaflub left #parrot
23:59 darbelo japhb: Does https://trac.parrot.org/par​rot/wiki/PCCMigrationNotes refer to your particular case at all?

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

Parrot | source cross referenced