Camelia, the Perl 6 bug

IRC log for #parrot, 2010-07-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:02 dalek winxed: r584 | NotFound++ | trunk/examples/fly.winxed:
00:02 dalek winxed: smooth movement in manual mode in example fly
00:02 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=584
00:10 NineCross joined #parrot
00:13 NineCross please advice me a good manual for basic perl6 syntax, something like "Learn perl 6 in 24 hours". i tried to read http://perlgeek.de/blog-en/perl-5-to-6/ . But those examples to complicate for me
00:14 tcurtis NineCross: have you tried the Perl 6 book included as docs/UsingPerl6-draft.pdf in Rakudo Star?
00:14 tcurtis NineCross: I'm about to go, but I recommend asking in #perl6 on freenode.
00:15 NineCross thanks, I'll try
00:25 ruoso joined #parrot
00:31 cotto_work seen whiteknight
00:31 purl whiteknight was last seen on #parrot 11 hours, 15 minutes and 0 seconds ago, saying: 1) Install Linux ...
00:32 cotto_work sounds like good advice
00:40 snarkyboojum joined #parrot
01:00 tommyd joined #parrot
01:01 tommyd evening all! I'm currently in the process of re-viving the macports parrot package
01:02 tommyd one particular issue I stumbled upon so far is that the soname is wrongly hardcoded to the intermediate DESTDIR path instead of the correct (later available) PREFIX path
01:03 tommyd this is easily fixable through the install_name tool afterwards, but since parrot_config echoes the wrong configuration still, dependent software like rakudo picks up the wrong default as well and isn't runnable without the install_name fix either
01:04 mikehh_ joined #parrot
01:06 tommyd so in line 90 of config/init/hints/darwin.pm the libparrot_soname is apparently set up with $lib_dir - has anybody a deeper understanding of the code there how this place can be safely tweaked to build the correct path?
01:19 rurban_ joined #parrot
01:32 cotto ~~
01:42 mikehh opbots, names
02:11 tcurtis joined #parrot
02:28 wtgee joined #parrot
02:42 atrodo evening, #parrot
02:44 cotto hi atrodo
02:45 atrodo smell that cotto?  that the smell of hacking!
02:45 cotto ooc, how much background in cs do you have, especially the low-level stuff that Lorito deals with?
02:46 atrodo i've been playing mmo's too much.  all I could read was "out of character"
02:46 atrodo i'd say i got experience.  I enjoy the asm challenge
02:47 atrodo most of it in x86, and had my start hacking dos nasm
02:49 sorear does "background in CS" imply formal training?
02:49 wtgee left #parrot
02:49 cotto formal or informal
02:50 atrodo luckily, i got both
02:52 atrodo well, if by formal you mean a degree and some computer architecture and compiler courses
02:56 cotto I'm realizing that there are a few things I need to brush up on.
02:56 atrodo like?
03:03 cotto general CPU architecture
03:05 atrodo Ah.  Yep, cpu architecture and compilers have always fascinated me.  that's why I'm more interested in parrot then perl6
03:06 dalek TT #1722 created by LaVolta++: osx build failed caused by errant '\c'
03:06 dalek TT #1722: http://trac.parrot.org/parrot/ticket/1722
03:17 atrodo p&w?
03:17 purl it has been said that p&w is http://tinyurl.com/23dfwut
03:19 janus joined #parrot
03:24 cotto that's a proposed object model, though allison has some reservations about it
03:27 atrodo i'm curious what her reservations are.  seems like a good base
03:27 cotto me too
03:27 cotto she didn't say what they were at the time
03:28 atrodo okay.  I'll see if I can try and catch her sometime and ask
03:29 cotto me too, though it's tricky
03:29 atrodo yea.  I'm trying to read through it again.  I get the basic idea, but the exactness of it hasn't been fully revealed
03:30 atrodo and reading this late at night probably doesn't help
03:41 atrodo Okay, now it makes sense.  But it's time to call it a night
03:41 atrodo goodnight, #parrot
03:45 cotto 'night
03:46 cotto have nice dreams about metaobject protocols
03:57 petdance joined #parrot
04:52 darbelo msg mikehh r48223 tries to pacify splint by annotating function arguments in generated code. That might be a good place to start cutting down on the noise.
04:52 purl Message for mikehh stored.
04:53 dalek parrot: r48223 | darbelo++ | trunk/lib/Parrot/Pmc2c/PMCEmitter.pm:
04:53 dalek parrot: Add ARGIN_NULLOK() markers to parameters in generated functions.  It makes splint a bit less cranky.
04:53 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48223/
05:01 plobsing joined #parrot
05:09 dalek parrot: r48224 | darbelo++ | trunk/lib/Parrot/Pmc2c/PMCEmitter.pm:
05:09 dalek parrot: Add ARGIN_NULLOK() markers to parameters in generated functions.  It makes splint a bit less cranky.
05:09 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48224/
05:15 LoganLK joined #parrot
05:17 jsut joined #parrot
05:38 dalek nqp-rx: a3386d1 | pmichaud++ |  (2 files):
05:38 dalek nqp-rx: Fix general quantifier in regexes with charclasses (RT #76792).
05:38 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/a​3386d1d4c25bd5ac8fc22322b48034b94d01c1b
05:38 dalek nqp-rx: a9afc70 | pmichaud++ | src/stage0/ (4 files):
05:38 dalek nqp-rx: Update bootstrap.
05:38 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/a​9afc708cac0685bf834af2382e09c772b10a64b
05:42 dalek parrot: r48225 | pmichaud++ | trunk/ext/nqp-rx/src/stage0 (4 files):
05:42 dalek parrot: [nqp-rx]: Update with fixes for RT #76792.
05:42 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48225/
05:52 uniejo joined #parrot
05:57 cotto FPA is bigger than I'd expect.
05:58 sorear FPA?
05:58 purl i heard FPA was empty.
05:58 sorear oh fixedpmcarray
05:59 cotto no, fpa is FixedPMCArray
05:59 purl okay, cotto.
05:59 cotto FPa?
05:59 purl i heard FPa was FixedPMCArray
06:00 cotto hey purl
06:13 cotto lorito?
06:13 purl lorito is "little parrot" in spanish or http://xkcd.org/707/ or http://github.com/atrodo/lorito or http://trac.parrot.org/parrot/wiki/Lorito
06:13 cotto someone else was working on another Lorito prototype
06:15 cotto lorito is also http://github.com/ekiru/yalp-asm
06:15 purl okay, cotto.
06:16 dalek rakudo: 50e0e7e | pmichaud++ | build/PARROT_REVISION:
06:16 dalek rakudo: Bump PARROT_REVISION to get fix for RT #76792.
06:16 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/5​0e0e7ee7263b401ffe95aa7585ee07ee7188d6d
06:19 * cotto sees very quickly how FPA or RPA is a good feasibility test for any aspiring Lorito implementation.
06:32 dalek parrot: r48226 | NotFound++ | trunk/src/pmc/oplib.pmc:
06:32 dalek parrot: fix off-by-one error in OpLib
06:32 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48226/
06:44 dalek plparrot: 7b9d02d | (Jonathan "Duke" Leto)++ | html/community.html:
06:44 dalek plparrot: [html] Add a link to the new IRC logs
06:44 dalek plparrot: review: http://github.com/leto/plparrot/commit/7​b9d02d131e011bdfe4743f79d15ed56bda01297
06:44 dalek plparrot: 193bf38 | (Jonathan "Duke" Leto)++ | plp (2 files):
06:44 dalek plparrot: Refactor PL/Perl6 wrapper code
06:44 dalek plparrot: review: http://github.com/leto/plparrot/commit/1​93bf38b3eb6c1f4d5dc10dbf604a8aad37bffac
06:50 jsut_ joined #parrot
06:56 Casan joined #parrot
07:01 fperrad joined #parrot
07:08 baest joined #parrot
07:16 nopaste "cotto" at 192.168.1.3 pasted "concept for fpa init and init_int in Lorito" (41 lines) at http://nopaste.snit.ch/22459
07:17 cotto almost certainly half-baked and unworkable
07:17 cotto flames appreciated
07:19 sorear I find your ambition lacking.
07:19 NotFound cotto: size * 4?
07:19 sorear Why are you copying the flags system?  BURN BURN BURN
07:20 sorear Current PMCs have a 4 or 5 word overhead
07:20 sorear GHC boxed objects have 1 word, Mono boxed objects 2
07:21 cotto NotFound, 4-byte ints
07:21 cotto oh.  nm.  I got confused and thought I was working on fia.
07:21 cotto Mmmm.  GHC
07:22 dalek parrot: r48227 | NotFound++ | trunk/config/auto/icu.pm:
07:22 dalek parrot: update workaround for spurious \c in icu config, TT #1722 LaVolta++
07:22 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48227/
07:22 NotFound cotto: We don't hardcode int size
07:22 * sorear has a half-baked replacement storage layer for P5 in /home with a 0 word object header
07:22 cotto If there's a decent vtable structure, those flags won't be needed
07:23 sorear unfortunately I maxed out my ambition quota and the code can't seem to be finished
07:23 cotto I guess figuring out the object system would make this easier to figure out
07:23 sorear You do need a little bit more than the vtable.  Like say, a mark bit.
07:23 * cotto wishes allison wouldn't say she has misgivings about p&w without being more specific.
07:24 sorear Fortunately the bottom two bits of the vtable pointer are always 0 and can be reused during nonstandard execution phases.
07:24 cotto sure.  Those are free.
07:26 * cotto goes to bed
07:31 dalek plparrot: f7b08d1 | (Jonathan "Duke" Leto)++ | plparrot.c:
07:31 dalek plparrot: Use PMC_ISA, and make the lack of sausage an ERROR
07:31 dalek plparrot: review: http://github.com/leto/plparrot/commit/f​7b08d16330afa78658f6039527c2e56660f418c
07:31 dalek plparrot: f06bf9b | (Jonathan "Duke" Leto)++ | html/plperl6.html:
07:31 dalek plparrot: Update the PL/Perl6 page and give and example with explanation
07:31 dalek plparrot: review: http://github.com/leto/plparrot/commit/f​06bf9b3707519fd1008ce600ae471d450fa711b
08:03 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#35171), fulltest) at r48227 - Ubuntu 10.04 amd64 (gcc)
09:04 LaVolta joined #parrot
09:12 jan joined #parrot
09:16 AndyA joined #parrot
09:19 rurban_ joined #parrot
09:27 another_bacek joined #parrot
09:28 another_bacek aloha, humans
09:39 snarkyboojum joined #parrot
09:56 LoganLK joined #parrot
10:09 tommyd joined #parrot
10:20 moritz we have two baceks? \o/
10:24 sorear I think one of them is on a telephone or something
10:36 snarkyboojum joined #parrot
10:50 another_bacek joined #parrot
10:50 another_bacek this one in SIngapore on corporate laptop :)
10:58 another_bacek moritz: ping
11:02 kurahaupo joined #parrot
11:12 kid51 joined #parrot
11:17 mikehh_ joined #parrot
11:30 robin-gvx joined #parrot
11:32 moritz atrodo: pong
11:33 moritz sorry, meant to pong another_bacek
11:33 moritz moritz + tab fail
11:44 kurahaupo joined #parrot
12:30 bluescreen joined #parrot
12:35 mj41 joined #parrot
12:40 ruoso joined #parrot
13:02 atrodo moritz> :(  I thought i was somebody!
13:03 moritz atrodo: yes, but you didn't ping me :-)
13:04 atrodo moritz> minor detail
13:11 lucian joined #parrot
13:24 Coke cotto: http://nopaste.snit.ch/22459 - you can save an assignment by putting the new FPA in p0 to start with.
13:27 tommyd joined #parrot
13:35 Coke wow, the folks in #perl are discussing lorito.
13:35 Coke s/are/were/, perhaprs (in backscroll)
13:36 mj41 joined #parrot
13:38 szbalint Coke: when? this network?
13:38 Coke yes. hours ago.
13:39 Coke it was surprisingly positive. ;)
13:39 atrodo Any logs?
13:40 Coke none of which I am aware.
13:40 Coke it was the idea of lorito, not necessarily your implementation, sorry.
13:40 atrodo I figured, but i wanted to see what they said
13:41 atrodo Looks like my boss may have a log of it
13:52 whiteknight joined #parrot
14:01 atrodo Coke> Yep, quick and positive.  It's nice to see
14:02 szbalint I have it in my scrollback buffer :)
14:17 ter joined #parrot
14:19 plobsing joined #parrot
14:20 kthakore hi
14:20 kthakore something keeps killing my rakudo compile ...
14:21 atrodo kthakore> finally decided to awake?
14:21 ter left #parrot
14:22 kthakore atrodo: awake?
14:23 atrodo no, not really.  Still rather sleepy.  I could use a nap
14:23 kthakore aahahah ok
14:23 kthakore brb
14:23 kthakore $work
14:24 bubaflub joined #parrot
14:24 kthakore btw jnthn did we get a perl6 windows installer?
14:27 bubaflub kthakore: i saw something about a perl6 windows installer (.MSI) via twitter, i'll find a link for ya
14:27 jnthn kthakore: Yes
14:27 jnthn kthakore: Same download page as the tarball
14:28 Coke rt cli?
14:28 purl rt cli is probably http://www.perlfoundation.org/parrot/inde​x.cgi?how_to_use_rt_from_the_command_line
14:29 Coke purl, forget rt cli
14:29 purl Coke: I forgot rt cli
14:29 Coke (sadly that url is defunct)
14:31 dalek parrot: r48228 | NotFound++ | trunk/src/pmc/capture.pmc:
14:31 dalek parrot: optimize and clarify Capture setter vtable functions
14:31 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48228/
14:33 atrodo p&w?
14:33 purl it has been said that p&w is http://tinyurl.com/23dfwut
14:39 Coke unshorten that?
14:39 Coke lazy purl
14:43 bubaflub joined #parrot
14:48 jdv79 how come blizkost can't use 5.8?
14:48 jdv79 i don't know if $work will ever upgrade:(
14:49 Coke jdv79: if you're worried about work upgrading, how on earth are you going to get six in there?
14:50 jdv79 well, it'll be harder:)
14:51 jdv79 6 is differnt - that'd be all new stuff.  5 is a legacy/risk issue.
14:52 jdv79 i was just wondering why not 5.8
14:53 moritz because it was somehow harder to do
14:54 jdv79 i could of guessed that:)  thanks.
14:55 kthakore jnthn: hmm ... can't seem to find it
14:55 PerlJam 5.8 is a legacy/risk issue  :)
14:56 jnthn kthakore: http://github.com/rakudo/star/downloads
14:56 jnthn kthakore: Look for the link to the .msi file
14:56 NotFound Being alive is a legacy/risk issue
14:57 kthakore jnthn++
15:01 Coke jdv79: ... just install another perl5.
15:01 Coke no reason not to have 5.8 and 5.14, if you must have 5.8
15:02 kthakore oooh!
15:02 kthakore new logo in perl6 book
15:02 kthakore jnthn: um ...
15:02 kthakore perl6 died
15:02 kthakore jnthn: "load_bytecode" couldn't find file 'P6Regex.pbc'
15:03 Coke kthakore: you may get faster help in #perl6. =-)
15:03 kthakore oh right
15:03 kthakore DOH!
15:03 kthakore Coke++ for being so deliciously awesome!
15:03 * kthakore hugs Coke
15:17 Coke You sir, have a problem. =-)
15:18 mbp joined #parrot
15:21 dalek parrot: r48229 | NotFound++ | trunk/t/pmc/oplib.t:
15:21 dalek parrot: some more OpLib tests
15:21 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48229/
15:27 bubaflub joined #parrot
15:54 cotto_work ~~~
15:56 theory joined #parrot
15:58 mikehh opbots, names
15:58 jdv79 Coke: except all the XS modules.  i'll try it.
16:07 davidfetter joined #parrot
16:26 jan joined #parrot
16:28 bubaflub joined #parrot
16:32 bubaflub_ joined #parrot
16:52 darbelo bacek: ping
16:59 patspam joined #parrot
17:11 eternaleye joined #parrot
17:13 hercynium joined #parrot
17:18 rurban_ joined #parrot
17:19 dukeleto does PIR have an equivalent to Rakudo's .WHAT ? I want the string representation of the PMC type
17:23 sorear typeof__sp
17:23 cotto_work2 joined #parrot
17:23 cotto_work2 dukeleto: typeof looks like what you want
17:24 dukeleto cotto_work2, sorear: oh yeah, forgot about that. thanks!
17:38 jnthn (.WHAT returning isn't a string...)
17:49 dalek parrot: r48230 | darbelo++ | branches/gsoc_nfg (31 files):
17:49 dalek parrot: Sync with trunk
17:49 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48230/
18:01 chromatic joined #parrot
18:02 chromatic Did someone suggest putting GC flags in PMC headers in Lorito?  I'd like to avoid that.
18:03 Coke http://nopaste.snit.ch/22472
18:05 cotto_work Coke++
18:05 atrodo Coke++
18:05 sorear see: 10h 40m ago in this channel logs
18:06 cotto_work chromatic, that was just a late-night prototype to get the discussion started.
18:06 cotto_work s.prototype.concept.
18:06 sorear And I already brought up the flags.
18:07 cotto_work It'd probably be a good idea to get the object model nailed down first.
18:07 tcurtis joined #parrot
18:07 chromatic Okay good.  I want to avoid the current memory thrash problem our GC has.
18:07 cotto_work chromatic: do you happen to know what allison's objections to p&w were?
18:07 chromatic Nothing in specific.
18:08 atrodo i would think that ideally, GC details should be transparent to the pmc author
18:08 chromatic I know one of her concerns is a model flexible enough to allow Python style ("Hi, I don't know how object systems work!") and Perl 6 style ("Alan Kay was right!") and JavaScript ("I'm obsessed with my Self!") object systems.
18:08 chromatic atrodo, agreed.
18:09 chromatic Ultimately our GC should *not* write to memory pages strewn throughout the system just to note those objects which are alive.
18:11 kthakore Is there a *handle.pmc for sockets?
18:12 jsut joined #parrot
18:17 NotFound kthakore socket.pmc
18:20 kthakore NotFound: ok thanks
18:20 kthakore :p
18:44 dalek rakudo: cf9997a | moritz++ | src/Perl6/Actions.pm:
18:44 dalek rakudo: refacor adverb application and checking into a separate method - it will be
18:44 dalek rakudo: reused for m//, hopefully
18:44 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​f9997af6df68aa5af98979ededd3e5800bbc137
18:44 dalek rakudo: c9c98fa | moritz++ | t/spectest.data:
18:44 dalek rakudo: [t/spec] run new tests for attributive params
18:44 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​9c98fa7af9b81f5e7c2b3bcbfc7a516251f5aa1
18:50 lucian joined #parrot
18:51 Coke Hey, still have failing smolder tests.
18:51 Coke Be nice if someone fixed those
18:51 Coke (TODO, SKIP for those platforms.)
18:53 mikehh Coke: which platforms?
18:53 purl which platforms are 8.3 an issue on, anyway?
18:55 Coke aix, win32.
18:56 mikehh don't have access to test them
18:56 Coke http://smolder.plusthree.com/app​/public_projects/smoke_reports/8
18:56 Coke mikehh: don't need to run the tests. just need to check the output and insure that the failing tests are todo'd for the specific platforms.
18:56 Coke then our smolder server will be green except for new failures.
18:57 dalek parrot: r48231 | NotFound++ | trunk (3 files):
18:57 dalek parrot: kill Parrot_PCCINVOKE
18:57 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48231/
18:57 Coke NotFound++ # WITH FIRE
18:57 chromatic Yeah!
18:57 mikehh MSWin32/amd64 seems to be failing but not MSWin32/i386
18:58 Coke so I figured the pprof2cg.pl script is slow. Guess what I'm going to do!
18:58 Coke mikehh: ayup.
18:58 NotFound Deleting code is the better way to improve coverage.
18:59 Coke chromatic, cotto_work : any objections if I make pprof2cg.pl use the same # in the filename as for the original pprof output? so that they are paired up?
19:00 mikehh Coke: 'k will see what I can do about that
19:00 atrodo NotFound++ # Preaching to the choir
19:01 Coke mikehh++ # I knew if I complained enough someone would try to shut me up! =-)
19:02 chromatic Makes sense.
19:09 mikehh Coke: BTW any progress on html_cleanup branch?
19:09 Coke mikehh: *hang head*
19:09 Coke Got distracted this week.
19:09 mikehh Coke: going to look at it a bit later today/tomorrow
19:09 Coke ok, will hack on that before profiling.
19:09 Coke ooh, even better.
19:11 NotFound =item B<new>(out STR, in INT) - Allocate a new empty string of length $2
19:11 NotFound Does this make some sense in a immutable strings world?
19:12 chromatic Can't see how.
19:12 mikehh NotFound: not to me
19:13 Coke OOOH, what if you want to leak memory?
19:13 NotFound Coke: let's create a Leak pmc
19:13 Coke that probably should have been ripped out with the bacek chagnes.
19:14 Coke I wonder if this falls under cotto's demonstrably broken criteria.
19:14 dalek rakudo: dfefdd2 | (Solomon Foster)++ | src/core/Range.pm:
19:14 dalek rakudo: Add much faster range iterator for infinite Int ranges.
19:14 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/d​fefdd2f43288a5d6913d3ea6aa0945318004768
19:14 dalek rakudo: c7ad36f | (Solomon Foster)++ | t/spectest.data:
19:14 dalek rakudo: Turn on new S03-operators/range-int.t test file (as stress test).
19:14 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​7ad36f52a45ff022154b35fdeb8bac93c5c4f75
19:14 Coke I vote yes. recommend new usage: create a stringbuilder and just get a string from it when you're done.
19:15 darbelo Anyone who uses that, is doing it wrong.  Let's help them make it better :)
19:19 mikehh darbelo: btw ran make splint again earlier - a few lines less - still far too many
19:22 mtk joined #parrot
19:29 mtk joined #parrot
19:39 darbelo mikehh: Yeah, I know. But you have to admit, 180+ warnings killed by a 2-line diff isn't too bad :)
19:41 darbelo What I was suggesting is tryinto identify the warings that stem from mis- or un-annotated generated code.  Big bang for very few bucks.
19:44 LoganLK joined #parrot
19:48 mikehh darbelo: one of the worrying items is double compare == - ok for == 0.0 but others BAD
19:49 darbelo Hmm. I didn't see that one. What file was it in?
19:49 mikehh let me look
19:52 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#35183), fulltest) at r48231 - Ubuntu 10.04 amd64 (g++)
19:56 mikehh darbelo: quite a few in src/ops/core_ops.c
19:57 * Coke wonders if fixing these splint warnings does anything other than... quiet splint down.
19:58 darbelo Heh, that's generated code :)
19:59 darbelo Coke: A big part of the churn is missing ARGWHATEVER_COWSOK() in our code, which I would argue are good to have anyway.
20:00 darbelo Then there's the bugs that we aren't seeing because they hide in the churn.
20:01 darbelo splint claims that somewhere in the *big* pile of warings it's handing us are 15 actual bugs.
20:01 mikehh darbelo: src/debug.c:1954:50: Dangerous equality comparison involving double types: k == l and next line k != l (that's lc L)
20:01 Coke darbelo: seems like we could ask splint to just tell us about the errors, neh?
20:02 Coke I mean, I like clean code and all, but I don't want to focus on the wrong end of the camel here.
20:02 chromatic onion, please
20:02 purl onion is a joke magazine, fyi. or good for health
20:03 mikehh Coke: one of the biggest mistakes ever made in the C compiler world was separating lint from the c compiler
20:03 chromatic One of the other biggest mistakes ever made in the C compiler world was not adapting to machines that aren't PDPs.
20:04 mikehh keeping are the kruft from that yes
20:05 mikehh backward compatability and all
20:06 NotFound You can always switch to freepascal ;)
20:06 mikehh or go
20:07 NotFound Go where?
20:07 purl i heard Go was http://gobase.org/ http://www.gokgs.com http://www.samarkand.net/ http://games.yahoo.com/ or called "igo" in Japanese (U56F2 U7881) http://members.lycos.co.uk/xuy/a2z/weiqi.htm http://www.dragongoserver.net or a programming language from Google http://golang.org or use #weiqi to speak about go on twitter
20:07 mikehh golang.org - even got built in gc and coroutinesbuilt in gc
20:08 GodFather joined #parrot
20:08 mikehh don't know how that happened
20:08 NotFound http://code.google.com/p/go/issues/detail?id=9
20:11 mikehh saw that, but is that really an issue :-}
20:12 NotFound I just refuse to talk about that thinh because of that.
20:13 NotFound They don't aknowledge the issue, I don't acknowledge the project.
20:14 mikehh saw an article saying that they were going to integrate into chrome as NativeClient - NaCl - maybe should be 'Salt@
20:14 NotFound Yeah, and they can even put wave in the standard library X-)
20:34 darbelo bacek_at_work: ping
20:40 AndyA joined #parrot
20:54 mikehh darbelo: <another_bacek> this one in SIngapore on corporate laptop :) (about 10 hours ago)
20:55 whiteknight joined #parrot
20:56 macroron joined #parrot
20:59 cotto_work NotFound: is that deprecation removal properly documented?
21:01 * darbelo hears chainsaws in the background.
21:02 NotFound cotto_work: long time ago
21:02 cotto_work I mean on the wiki
21:02 NotFound cotto_work: mmm... maybe unnecessary, but will be nice to add a note, yes.
21:03 particle joined #parrot
21:04 NotFound "The following functions will be deprecated in the future" What does tha mean?
21:04 NotFound http://trac.parrot.org/par​rot/wiki/PCCMigrationNotes
21:05 NotFound I read that as "will be removed", because they are already deprecated.
21:05 cotto_work ParrotDeprecationsFor2.9
21:06 NotFound TT #443: All API function names that don't conform to this standard are deprecated and will be renamed (or removed) before 1.4 or 2.0.
21:06 cotto_work (currently doesn't exist, use ParrotDeprecationsFor2.6 as a template)
21:07 NotFound I think I'm going to delete also Parrot_pcc_invoke_sub_from_c_args, then.
21:08 cotto_work You can summarize on ParrotDeprecationsFor2.9 and link to the other page.  My concern is that people looking at that page will see that something's changed and will know where to look to get enough information to update their code.
21:08 NotFound cotto_work: Were are these pages linked form?
21:08 NotFound from
21:08 cotto_work ParrotDeprecations is the main page
21:10 NotFound I sense some chaos in our wiki
21:10 cotto_work your sense is accurate
21:10 darbelo NotFound: Parrot_pcc_whatever *does* conform to the standard :)
21:11 NotFound darbelo: yes, but is grouped together with PCCINVOKE in http://trac.parrot.org/par​rot/wiki/PCCMigrationNotes
21:13 darbelo Oh, missed that. Axe away!
21:30 NotFound Uh... Parrot_pcc_invoke_sub_from_c_args is used a lot.
21:31 donaldh_ joined #parrot
21:32 dalek tracwiki: v1 | NotFound++ | ParrotDeprecationsFor2.9
21:32 dalek tracwiki: http://trac.parrot.org/parrot/wiki/ParrotDe​precationsFor2.9?version=1&amp;action=diff
21:32 dalek tracwiki: v7 | NotFound++ | ParrotDeprecations
21:32 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Parro​tDeprecations?version=7&amp;action=diff
21:33 cotto_work NotFound: thanks
21:34 NotFound cotto_work: Fear the chainsaw ;)
21:35 cotto_work I'm glad I can put it back in its case.
21:36 donaldh joined #parrot
21:37 AndyA joined #parrot
21:39 Austin seen tene?
21:39 purl tene was last seen on #parrot 1 days, 23 hours, 46 minutes and 21 seconds ago, saying: cotto_work: I've never had a problem with it... just check in and catch up occasionally.  [Jul 28 21:52:54 2010]
21:39 cotto_work NotFound: is Parrot_pcc_invoke_method_from_sig_args a drop-in replacement for Parrot_PCCINVOKE?
21:39 Austin msg tene Got a wierd packfile error trying to use current nqprx. I'll try rolling back to your commit, see if that works.
21:39 purl Message for tene stored.
21:40 Austin msg Tene (^^ this is re: "our method")
21:40 purl Message for tene stored.
21:40 cotto_work i.e. is s/Parrot_PCCINVOKE/Parrot_pcc_​invoke_method_from_sig_args/g sufficient to update code?
21:41 dalek blizkost: 38e5ef7 | AZawawi++ | Configure.pl:
21:41 dalek blizkost: Configure.pl now displays the correct parrot_config "make" name
21:41 dalek blizkost: review: http://github.com/jnthn/blizkost/commit/​38e5ef7bf77d1e1ed1580d14acc7d792578e56a4
21:41 dalek blizkost: e215f09 | AZawawi++ | src/pmc/p5interpreter.pmc:
21:41 dalek blizkost: Newx should be called after perl construction. This fixes the silent exit before
21:41 dalek blizkost: evaluation on strawberry 5.10.x
21:41 dalek blizkost: review: http://github.com/jnthn/blizkost/commit/​e215f0992cccd26af72ea0e794ba46d54fbf534e
21:41 dalek blizkost: a221ca8 | AZawawi++ | README:
21:41 dalek blizkost: Added Debian libperl-dev installation note
21:41 dalek blizkost: review: http://github.com/jnthn/blizkost/commit/​a221ca8abf7e574f1c1ad8cd5c0659090e2403d9
21:42 NotFound cotto_work: can't prove that, don't have any use case.
21:42 Tene Austin_away: pong
21:42 NotFound cotto_work: the PCCMigrationNotes page says so.
21:43 cotto_work wfm
21:46 davidfetter joined #parrot
21:47 darbelo 'Parrot_pcc_invoke_sub_from_c_args' is exactly the same as 'Parrot_ext_call', but with a worse name, so use 'Parrot_ext_call' instead.
21:47 dalek parrot: r48232 | NotFound++ | trunk (3 files):
21:47 dalek parrot: replace Parrot_pcc_invoke_sub_from_c_args with Parrot_ext_call in PMC usages
21:47 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48232/
21:48 dalek tracwiki: v8 | cotto++ | ParrotDeprecations
21:48 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Parro​tDeprecations?version=8&amp;action=diff
21:50 AndyA joined #parrot
21:51 cognominal joined #parrot
21:56 tommyd joined #parrot
21:58 contingencyplan joined #parrot
22:03 dalek parrot: r48233 | NotFound++ | trunk/src (6 files):
22:03 dalek parrot: replace Parrot_pcc_invoke_sub_from_c_args with Parrot_ext_call in several places
22:03 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48233/
22:05 dalek tracwiki: v2 | cotto++ | ParrotDeprecationsFor2.9
22:05 dalek tracwiki: elaborate a bit and add examples
22:05 dalek tracwiki: http://trac.parrot.org/parrot/wiki/ParrotDe​precationsFor2.9?version=2&amp;action=diff
22:05 dalek tracwiki: v3 | darbelo++ | ParrotDeprecationsFor2.9
22:05 dalek tracwiki: Typo police.
22:05 dalek tracwiki: http://trac.parrot.org/parrot/wiki/ParrotDe​precationsFor2.9?version=3&amp;action=diff
22:06 Austin tene ?
22:06 purl tene is, like, Stephen Weeks or a madman or http://blogs.gurulabs.com/stephen/
22:06 Tene 15:39 <@Austin> seen tene?
22:07 Tene I replied before reading the rest of what you had to say.
22:07 Austin ok
22:08 Tene where are you seeing packfile errors, exactly?
22:08 cotto_work darbelo: thnaks
22:08 nopaste "Austin" at 192.168.1.3 pasted "nqprx packfile errors for Tene" (4 lines) at http://nopaste.snit.ch/22480
22:09 * cotto_work wonders, if goto is Lorito's primary control flow primitive, does a Lorito-level call op make sense (apart from calling into C functions)?
22:10 Tene Austin: you need to realclean parrot and rebuild.  There was some kind of problem with bytecode versioning around the time of the last release.
22:11 hercynium joined #parrot
22:11 Austin It's not a release built parrot - I can't get the last few released versions to build. (oom error) That said, is there a particular revision that fixes this, or what?
22:12 Tene Austin: you're trying to load bytecode somewhere that's too much older than the version of parrot you're using.
22:12 Tene There was a bump in the bytecode compatibility version number mumble.
22:12 Austin Is that me loading the bytecode, or you?
22:13 Tene I wish it would *say* which pbc it was trying to read, though
22:13 Tene you could probably strace it.
22:13 Austin It's not me.
22:14 cotto_work It's not you, it's me.
22:15 Austin strace: command not found
22:15 Tene Austin: Somewhere, parrot is trying to load a .pbc that was compiled with an older version of parrot, so has an incompatible bytecode version.
22:15 Tene It's a build issue.
22:16 Austin okay, so I'll make realclean, make install, see what happens...
22:16 Tene Ah, you haven't used strace before?
22:17 Tene Yeah, pretty much do that.
22:24 chromatic cotto_work, probably not
22:25 bacek joined #parrot
22:42 donaldh joined #parrot
22:42 dalek website: darbelo++ | The extra pointer has to go
22:42 dalek website: http://www.parrot.org/content/extra-pointer-has-go
22:52 simcop2387 joined #parrot
23:00 whiteknight good evening, Parrot
23:00 ruoso joined #parrot
23:02 cotto_work hio, whiteknight
23:04 sorear NotFound: I personally recommend *against* writing Parrot 3 in Free Pascal
23:05 whiteknight helo cotto_work
23:06 darbelo But pascal is, like, totally better than C!
23:07 darbelo Nothing can go wrong if you write pascal.
23:08 simcop238 joined #parrot
23:09 kid51 joined #parrot
23:15 dduncan joined #parrot
23:20 dduncan left #parrot
23:21 NotFound sorear: What about Modula or Ada? ;)
23:22 snarkyboojum joined #parrot
23:22 chromatic ML would be okay.
23:23 sorear darbelo: Try feeding (x > y) ? (x + y / 2) : (y + x / 2) to both gcc and fpc with the optimizer set to max in both cases
23:23 sorear gcc generates about 8 instructions, using integer shifts and cmov
23:24 sorear fpc generates about 50 instructions, including FPU instructions to do the division
23:24 sorear NotFound: Dunno, I've never had occasion to trawl through Modula or Ada compiler output
23:25 darbelo sorear: Fine, fine. Wel'' use the gcc pascal frontend. Geez.
23:26 NotFound I've a half written pascal compiler that outputs C++
23:27 chromatic You should see someone about that.
23:28 NotFound http://kimba.euler.es/ -- In spanish
23:28 purl In spanish is, like, nicer :P
23:42 darbelo msg japhb I looked at moving plumage's Configure.nqp to use nqp-setting.nqp but the subst() in that lib doesn't handle a sub as 'replacement', which kinda complicates things.
23:42 purl Message for japhb stored.
23:43 darbelo msg japhb Should I go with that or is it better to try convince pmichaud to augment the nqp-setting subst() ?
23:43 purl Message for japhb stored.
23:43 * darbelo goes afk for while.
23:50 japhb msg darbelo IMHO the nqp setting should support sub replacement for subst().  It's easy and makes a MASSIVE difference to utility.
23:50 purl Message for darbelo stored.
23:51 cognominal joined #parrot
23:58 Psyche^ joined #parrot

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

Parrot | source cross referenced