Camelia, the Perl 6 bug

IRC log for #parrot, 2010-04-05

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:00 dalek blizkost: 44dc7ad | sorear++ | t/spec/base/term.t:
00:00 dalek blizkost: It doesn't make sense to test $^X in an embedding application
00:00 dalek blizkost: review: http://github.com/jnthn/blizkost/commit/​44dc7aded0f9ed19143bb9fb4bd9be89c56db30e
00:03 sorear hello dukeleto
00:03 darbelo aloha
00:05 dukeleto darbelo: your gsoc app looks pretty nice
00:07 darbelo Thanks. I tried to keep in mind the tip you gave me last year.
00:07 darbelo *tips
00:09 darbelo In fact I reused the googedoc as a template.
00:10 lucian joined #parrot
00:27 snarkyboojum joined #parrot
00:31 Mokurai joined #parrot
00:34 dngor joined #parrot
00:54 tcurtis Is there any particular reason why all of the tests and all of the runtime library seem to be written in PIR as opposed to NQP? Would NQP not be fast enough? Or is it that NQP can't do some of the things the library needs to do?
00:58 dukeleto tcurtis: NQP is relatively new
01:02 dukeleto tcurtis: there are many tests written in Perl 5, as well. those are mostly being converted to PIR
01:02 dukeleto tcurtis: there are some tests written in PASM as well.
01:09 tcurtis Forget the portion about tests, then. I had forgotten that not all the tests were PIR. Would it be useful, perhaps, to have the runtime library implemented in NQP(at least, the parts that aren't necessary for NQP)?
01:09 purl tcurtis, I didn't have anything matching portion about tests, then. i had forgotten that not all the tests were pir. would it be useful, perhaps, to have the runtime library implemented in nqp(at least, the parts that aren't necessary for nqp)
01:15 Mokurai joined #parrot
01:21 dukeleto purl, go play in traffic
01:21 * purl wanders off to dent some cars.
01:22 dukeleto tcurtis: yes, i think there would be some interest parts of the runtime being in NQP
01:22 eternaleye joined #parrot
01:29 Mokurai2 joined #parrot
01:34 Mokurai joined #parrot
01:39 Mokurai joined #parrot
01:40 dalek rakudo: c638c55 | (Solomon Foster)++ | src/core/Real.pm:
01:40 dalek rakudo: Start adding operators for Real and Num.
01:40 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​638c5576207884111370f2cab3004f553b15d56
01:40 dalek rakudo: 6ce9873 | (Solomon Foster)++ | t/spectest.data:
01:40 dalek rakudo: Add real-bridge.t to the tests.
01:40 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/6​ce9873b620613fc5b5da3ede7e2c490cafec6c3
01:42 Mokurai joined #parrot
01:43 Mokurai1 joined #parrot
01:45 Andy joined #parrot
01:45 mib_ador74 joined #parrot
01:49 sorear tcurtis: NQP is also not quite low-level enough for some purposes
01:49 purl okay, sorear.
01:49 sorear e.g. NQP cannot process named and slurpy return values
01:50 sorear no tailcalls, no :flat :named argument support, no non-pmc locals
01:50 sorear you can of course work around these restrictions with Q:PIR, but if your entire file winds up being a Q:PIR block, why bother?
01:54 dalek parrot: r45401 | petdance++ | trunk/src/pmc/callcontext.pmc:
01:54 dalek parrot: consting aplenty
01:54 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45401/
01:55 Psyche^ joined #parrot
01:59 Coke no, parrotlog is <reply>http://irclog.perlgeek.de/parrot/ or prolog on parrot by arnsholt++
02:00 Coke msg moritz (when re-educating purl, don't say purl: no, just start with no,)
02:00 purl Message for moritz stored.
02:03 Coke no, parrotlog is http://irclog.perlgeek.de/parrot/ or prolog on parrot by arnsholt++
02:10 dalek rakudo: cb2a2d8 | jonathan++ | src/ops/perl6.ops:
02:10 dalek rakudo: Fix throwing of exceptions when binding fails so we don't end up treating hash parameters as formats.
02:10 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​b2a2d83ee82ea292b3125d7c783b57676705667
02:10 dalek rakudo: 4d1b1c7 | jonathan++ | src/binder/bind.c:
02:10 dalek rakudo: Awesomize errors for sub-signatures, to mention that the binding error was in a sub-signature and also, if it has one, the name of the variable that captured the entire thing that sub-signature is being bound against.
02:10 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/4​d1b1c76b18d4f32e80b7329b883fe091fdbebd4
02:16 sorear purl: parrotlog?
02:16 purl hmmm... parrotlog is http://irclog.perlgeek.de/parrot/
02:16 sorear purl: forget parrotlog
02:16 purl sorear: I forgot parrotlog
02:16 sorear purl: parrotlog?
02:16 purl i haven't a clue, sorear
02:16 sorear purl: parrotlog is prolog on parrot by arnsholt++ or http://irclog.perlgeek.de/parror/
02:16 sorear purl: forget parrotlog
02:16 purl sorear, I didn't have anything matching parrotlog
02:17 sorear parrotlog is prolog on parrot by arnsholt++ or http://irclog.perlgeek.de/parrot/
02:17 tcurtis parrotlog?
02:18 tcurtis purl: parrotlog?
02:18 purl tcurtis: i don't know
02:18 sorear well, I half succeeded!
02:22 Mokurai2 joined #parrot
02:29 tcurtis parrotlog is prolog on parrot by arnsholt++ || http://irclog.perlgeek.de/parrot/
02:29 tcurtis purl: parrotlog?
02:29 purl no idea, tcurtis
02:30 tcurtis purl: parrotlog is prolog on parrot by arnsholt++ || http://irclog.perlgeek.de/parrot/
02:30 tcurtis purl: parrotlog?
02:30 purl i haven't a clue, tcurtis
02:33 Coke || isn't valid.
02:34 Coke no, parrotlog is prolog on parrot by arnsholt++ with source at http://irclog.perlgeek.de/parrot/
02:34 Coke parrotlog?
02:34 Coke purl, parrotlog?
02:34 purl coke: i haven't a clue
02:34 Coke argh.
02:35 Coke (fixed)
02:35 janus joined #parrot
02:35 tcurtis I don't think that url is the source of arnsholt's prolog implementation.
02:36 tcurtis Unless it is hidden extremely cleverly.
02:37 Coke ah.
02:38 Coke re-refixed.
02:38 Coke "Parent isn't a Class."
02:38 Coke %5~6~&8~*
02:39 sorear Coke: is that related to #1542
02:40 Coke I'm trying to convert the subclasses partcl-nqp is using into pure-NQP subclasses.
02:40 Coke I think I have a definition ordering problem, or a .HLL directive problem.
02:44 sorear sounds possibly related to #1542
02:46 lucian joined #parrot
02:46 dalek partcl-nqp: e45903a | Coke++ | src/ (2 files):
02:46 dalek partcl-nqp: convert vtable overrides for TclString to be like TclList
02:46 purl I don't know how to convert vtable overrides for TclString to be like TclList.
02:46 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/e45903a571775428e696e37961626b2386db3d5e
02:52 abqar joined #parrot
02:55 Coke oh, that's fun. on OS X, if you do a "vi WrongCase.Txt" on wrongcase.txt, it saves the file with the new case mangled name.
02:57 sorear I bet this is because vi does saves using rename(2)
03:00 sorear see :help 'writebackup and :help 'backupcopy
03:01 sorear the default vim save protocol is rename(F, F~); open(F); write; close; unlink(F~)
03:02 Mokurai joined #parrot
03:03 dalek partcl-nqp: 16f0b3d | Coke++ | src/class/tcllist.pir:
03:03 dalek partcl-nqp: remove now superfluous namespace directive.
03:03 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/16f0b3db7a4f3f593c4d5145363a9e88d84700dd
03:03 dalek partcl-nqp: 6a4abcd | Coke++ |  (6 files):
03:03 dalek partcl-nqp: Replace 2 trivial PIR files with one liners in NQP.
03:03 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/6a4abcd866896d08cd59e0484100d49702d55898
03:06 leprevost joined #parrot
03:10 nopaste "coke" at 72.228.52.192 pasted "ok, why does this fail with "parent is not class" ?" (14 lines) at http://nopaste.snit.ch/20175
03:10 Coke (NQP question in the nopaste)
03:11 Coke blizkost?
03:11 purl blizkost is http://github.com/jnthn/blizkost/tree/master or the last Jonathan's project, an embedding of Perl 5 in Perl 6
03:23 Coke seen Austin?
03:23 purl Austin was last seen on #parrot 19 hours, 30 minutes and 26 seconds ago, saying: dwim();
03:46 Mokurai1 joined #parrot
03:49 Coke bah. "class TclList is Hash { pir::noop }" works.
03:49 Coke s/ResizablePMCArray// , boom.
03:49 Coke er, s/Hash/ResizablePMCArray//
04:06 dalek parrot: r45402 | petdance++ | trunk (2 files):
04:06 dalek parrot: consting
04:06 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45402/
04:18 JimmyZ joined #parrot
04:22 Mokurai joined #parrot
04:25 chromatic joined #parrot
04:36 dngor joined #parrot
04:52 Mokurai1 joined #parrot
04:55 dalek parrot: r45403 | petdance++ | trunk (2 files):
04:55 dalek parrot: fixing function annotations
04:55 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45403/
04:56 Mokurai2 joined #parrot
05:02 Mokurai joined #parrot
05:11 dalek parrot: r45404 | petdance++ | trunk/src/string/encoding.c:
05:11 dalek parrot: adding more function annotations
05:11 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45404/
05:20 dalek TT #660 closed by bubaflub++: Tidy failure cases for PIR implementation of t/pmc/ro.t
05:20 dalek TT #660: http://trac.parrot.org/parrot/ticket/660
05:28 dalek parrot: r45405 | bubaflub++ | trunk/t/pmc/ro.t:
05:28 dalek parrot: [TT #660] tidy failure cases of t/pmc/ro.t, patch courtesy of bobw++
05:28 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45405/
05:32 bubaflub joined #parrot
05:38 bubaflub bacek_at_work: i'm looking at TT #1478 and i can handle it if you can describe what needs to be moved where
06:00 Mokurai joined #parrot
06:19 Mokurai1 joined #parrot
06:40 Mokurai joined #parrot
06:44 Mokurai joined #parrot
07:05 dalek parrot: r45406 | petdance++ | trunk (5 files):
07:05 dalek parrot: annotatig more functions
07:05 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45406/
07:33 snarkyboojum_ joined #parrot
07:34 snarkyboojum joined #parrot
07:35 sorear Why are there so many different _keyed_ vtable functions?
07:39 chromatic msg andy Is it worthwhile to consider the use of hot/cold GCC function annotations?
07:39 purl Message for andy stored.
07:45 abqar_ joined #parrot
07:52 fperrad joined #parrot
07:55 fperrad_ joined #parrot
08:14 moritz chromatic: in http://use.perl.org/~chroma​tic/journal/40296?from=rss "just like always calls a method" should probably "justlike <.foo> always calls a method" or so
08:19 dalek blizkost: fde0149 | sorear++ |  (10 files):
08:19 dalek blizkost: Relicense to Artistic 2.0 (same as Parrot)
08:19 dalek blizkost: Previously Blizkost had no license at all, not a nice condition for an
08:19 dalek blizkost: open-source project to be in.  I have e-mails and IRC approval from all
08:19 dalek blizkost: committers in 'CREDITS' and 'git log'.  The Parrot license was chosen
08:19 dalek blizkost: because Blizkost's integration with Parrot is far deeper than its
08:19 dalek blizkost: integration with Perl 5.
08:20 dalek blizkost: review: http://github.com/jnthn/blizkost/commit/​fde014957e64ebb8069a2aaa03346303e5c8c45b
08:35 sorear this whole OP_FOO_keyed_BAR combinatorial explosion is vaguely daunting
08:36 chromatic Ever read the source of pp codes in Perl 5?
08:36 sorear yes
08:37 chromatic Complexity gets swept under someone's rug.
08:38 sorear alternatively it can be replaced by inefficiency, c.f. Java 1.1 collections framework "la la la, we have 1 kind of keyed access operation and all containers are boxed"
08:43 sorear Is there something I can use like a --target=pasm ?
08:43 sorear I'm trying to see what vtable stuff is being used by NQP and I'd like to see something lower level than $I13 = $P9[7]
08:47 chromatic ./parrot -o foo.pasm foo.pir
08:54 dalek blizkost: cec4700 | moritz++ |  (2 files):
08:54 dalek blizkost: add a "nt" make target that runs tests written in NQP
08:54 dalek blizkost: review: http://github.com/jnthn/blizkost/commit/​cec470016e66b462ddeb2601fc6e6f44e0f2737e
09:00 * sorear stands back
09:34 mikehh joined #parrot
09:43 fperrad joined #parrot
10:06 payload joined #parrot
10:09 walter joined #parrot
11:02 lucian joined #parrot
11:03 clinton joined #parrot
11:40 whiteknight joined #parrot
11:42 whiteknight good morning #parrot
11:42 whiteknight Chandon's latest GSoC email is very impressive
11:43 moritz which one? about threads?
11:48 darbelo Hybrid Threads, yeah.
11:51 mikehh definately excellent
11:54 mikehh I like the bit saying - will put Parrot a step ahead of pretty much any other open source dynamic language runtime in this area
11:55 whiteknight I worry that this project may be a little bit too ambitious, however
11:55 whiteknight I'm definitely going to read over the proposal closely to make sure there are suitable checkpoints.
11:56 mikehh reading his bio - this is the area he is focussing on - and with mentor help this sould work
11:56 darbelo If he had said '... portably.' it would be too ambitious for sure.
11:57 darbelo Restricted to Linux pthreads, it might be doable.
11:57 whiteknight purl msg tewk: We got a great GSoC proposal focusing on threads. I know you had done some design work in this area. It would be really great if we could get some input from you about it
11:57 purl Message for tewk stored.
11:57 whiteknight darbelo: With a proper abstraction layer, porting to other systems wouldn't be too too hard
11:57 whiteknight but yes, I would definitely suggest he focus on a Linuxish environment and pthreads to start
12:15 khairul joined #parrot
12:15 tcurtis joined #parrot
12:19 tetragon joined #parrot
12:21 ruoso joined #parrot
12:40 dalek rakudo: ebb9f47 | moritz++ | src/builtins/Iterator.pir:
12:40 dalek rakudo: implement Iterator.Bool, so that "if @things.grep($tester)" works properly. Fixes RT #74056
12:40 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/e​bb9f475c10a137ac0dc86b020db78cb402f6b00
12:40 dalek rakudo: 7348b9a | moritz++ | src/c (2 files):
12:40 dalek rakudo: List.grep should take a Mu, so that Junction matchers DWYM
12:40 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/7​348b9ab234a5c88eea1df6b906b1564a69ecfef
12:55 Coke (parrot has an RT instance) one wonders where the RT instance is still documented.
12:58 snarkyboojum joined #parrot
13:11 TiMBuS joined #parrot
13:13 atrodo joined #parrot
13:14 particle joined #parrot
13:22 dalek rakudo: eaac605 | jonathan++ | src/Perl6/Actions.pm:
13:22 dalek rakudo: Make anonymous named parameters (yes, I know...masak told me to) work.
13:22 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/e​aac605e9a30460228e19112d99df7e6cbca3912
13:22 dalek rakudo: 1795a2e | jonathan++ | src/core/Signature.pm:
13:22 dalek rakudo: Show sub-signatures in .signature.perl.
13:22 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/1​795a2e32035f62487cde308451d8de55d0bc71e
13:27 Coke seen Austin?
13:27 purl Austin was last seen on #parrot 1 days, 5 hours, 34 minutes and 27 seconds ago, saying: dwim();  [Apr  4 07:53:23 2010]
13:39 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#33014), fulltest) at r45406 - Ubuntu 10.04 beta amd64 (gcc with --optimize)
13:42 dngor_ joined #parrot
13:42 particle joined #parrot
13:44 * Coke tries to not think about his NQP problem will at $DYAJOB.
13:47 particle /set finger-mode = slow
13:47 particle /set brain-mode += caffeine
13:55 PacoLinux joined #parrot
14:16 jan joined #parrot
14:17 bubaflub joined #parrot
14:24 whiteknight joined #parrot
14:30 jsut joined #parrot
14:37 Andy joined #parrot
14:41 theory joined #parrot
14:45 patspam joined #parrot
14:58 ash_ joined #parrot
15:17 dalek rakudo: 2464ddb | moritz++ | src/glue/run.pir:
15:17 dalek rakudo: bring back %*VM, though currently it is a parrot Hash, not a Rakudo Hash (no idea how to fix that :/ )
15:17 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/2​464ddb1fc4b5a562d8ea889bc4be9ae600b58d0
15:46 dalek rakudo: c1b6e23 | jonathan++ | src/Perl6/ (2 files):
15:46 dalek rakudo: Implement signature literals.
15:46 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​1b6e23ba46209b7241a244e2eda09820f708a86
15:46 dalek rakudo: c6c7754 | jonathan++ | src/core/operators.pm:
15:46 dalek rakudo: prefix:<|> on anything other than the things we already define it on should not give an error, but instead give a Capture with just that thing in it; TimToady++.
15:46 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​6c7754274a681b879ba34e6dc7419d8eea98830
15:46 dalek rakudo: 1529fa0 | jonathan++ | src/builtins/Capture.pir:
15:46 dalek rakudo: Capture.Capture should be identity.
15:46 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/1​529fa05d43518453c6a0f12374094286e0a3be8
15:46 dalek rakudo: b737dff | jonathan++ | src/core/Signature.pm:
15:46 dalek rakudo: Implement smart-matching against a signature for the Capture and Any cases (and throw exceptions on the two we don't yet implement).
15:46 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/b​737dff80ffa8a774242eddf27db4feff1b0330b
15:46 dalek rakudo: 38db52b | jonathan++ | src/glue/run.pir:
15:46 dalek rakudo: Merge branch 'master' of github.com:rakudo/rakudo
15:46 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/3​8db52ba5f7be2343f459c6c82610ad5642b653c
16:07 cotto_work good morning
16:07 purl Good Morning Mr Rogers
16:08 bubaflub morning cotto_work
16:30 khairul hi cotto_work
16:40 Austin joined #parrot
16:43 Coke Austin: *POUNCE*
16:43 Austin Is that a Tigger-like pounce, or a Kzin-like pounce?
16:44 whiteknight Shhh. Here we see the wild Coke, stalking it's prey in it's natural habitat
16:44 Coke Speaker To NQP.
16:45 * Austin puts on his cheesy Australian accent...
16:45 Austin Now, watch me stick my thumb up its arse..
16:45 Austin What's new, oh master of Tcling?
16:47 Coke Austin: I am trying to use nqp's 'class' to create my class, and failing.
16:47 Austin Heh
16:47 Coke check out http://github.com/partcl/partcl​-nqp/blob/master/src/TclList.pm
16:48 Austin Does that work or not-work?
16:48 Coke if I try to eliminate the pir:: subclassing there and go with a class TclList is ResizablePMCArray, I get various failures.
16:48 Coke the code as is works.
16:48 Austin Okay.
16:48 Coke (I just moved the separate PIR files that used to do that into the nqp one liner.
16:48 Coke but now I want to make the pir:: go away.
16:49 Austin What kind of errors?
16:49 Austin (And at some point, you're going to turn to Whiteknight and say, "You know that idea that Austin had for getting rid of PMCProxy...?")
16:50 whiteknight Austin: it's probably a good idea
16:50 arnsholt Coke: Thanks for pasting that. I've been wondering how add vtable overrides to my NQP classes =)
16:51 Austin (Coke: Would you commit your Makefile.in, too?)
16:52 nopaste "coke" at 72.228.52.192 pasted "here's the error - error doesn't happen if we use 'Hash' as the parent, presumably because NQP has its own Hash." (30 lines) at http://nopaste.snit.ch/20177
16:52 Coke Austin: everything is committed.
16:52 Coke (that works)
16:53 Coke (you might need a reconfig)
16:53 Coke arnsholt: someone here gave it to me a few days ago =-
16:54 Austin Had to blow away makefile..
16:54 Coke Austin: whenever makefile.in changes, perl Configure.pl again. (just like parrot)
16:54 Austin Yeah, but makefile is supposed to do that for me... :)
16:59 Coke Austin: done.
17:02 khairul cotto: does this constitute a dynloadable runcore? http://github.com/khairulsyamil/Parrot-dynruncore
17:02 Coke Austin: note that without the pir::noop there, the class definition doesn't generate any PIR. but with it, the p6 meta model doesn't seem to like using RPA as the base class.
17:03 Austin Yeah.
17:03 Austin It wants it to be registered. I'm trying to get that to work
17:04 dalek partcl-nqp: 42a925a | Coke++ | build/Makefile.in:
17:04 dalek partcl-nqp: Allow makefile to auto-gen itself.
17:04 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/42a925a48a444452ce5ad6e992aab77b9ac90d5d
17:05 Coke in the meantime, pir::* is better than *.pir, so I'm down to just the one .pir file in the distro.
17:06 cotto_work khairul: you shouldn't have to do that much work, though actual dynruncores haven't been implemented.
17:07 cotto_work but I think you have the idea.
17:12 cotto_w0rk joined #parrot
17:12 cotto_w0rk If you like, we can set you up with a svn branch.
17:13 dalek rakudo: 08e1886 | jonathan++ | t/spectest.data:
17:13 dalek rakudo: Add S03-smartmatch/capture-signature.t to spectest.data.
17:13 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/0​8e188645d2fc153e92db4e342955a29b6fef126
17:14 cotto_w0rk Then once runcores become dynamically loadable, you can move it into its own project (or whatever your long-term plan is).
17:14 khairul cotto_work: hrm, alrights. i was experimenting around in my free time. i find that it helps in learning the internals.
17:16 cotto_w0rk Sure.  It'd also help to submit a patch to something runcore-related.  Even just adding documentation to a function can force you to get a better understanding of how a chunk of code works.
17:18 khairul that's true too.
17:24 preflex joined #parrot
17:31 Austin Coke: test cases?
17:31 purl test cases are such a pain
17:32 Coke Austin: ?
17:32 Austin Do you have a particular test file in mind that exercises TclList?
17:32 Austin I'm getting some weird failures in tcl_list.t
17:34 Austin Okay, nm, they're all todo
17:34 Coke (yes, that's the one.)
17:35 Austin Off by 4 error in plan of string tests..
17:36 dalek rakudo: 3611f1b | masak++ | src/core/Temporal.pm:
17:36 dalek rakudo: [Temporal.pm] initial commit
17:36 dalek rakudo: According to the new, not-yet-published Temporal spec.
17:36 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/3​611f1baeaafd8c27d1d282e6c1435176792d3c5
17:38 dalek partcl-nqp: 8fae447 | Coke++ | build/Makefile.in:
17:38 dalek partcl-nqp: move makefile regen so it it's not the default.
17:38 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/8fae447a7668c04e025a75e4419b1fb3bfd337c2
17:38 Austin Pushed
17:39 Austin push it!
17:39 purl Oh!
17:41 Mokurai1 joined #parrot
17:41 Coke hurm. now getting Unrecognized backslash sequence: '\v' at line 142, near "\", \"\\\\v\");"
17:42 Austin 8O
17:42 Austin From what?
17:44 dalek partcl-nqp: 3186529 | Austin_Hastings++ | src/ (2 files):
17:44 dalek partcl-nqp: Got TclList "more NQP based"
17:44 dalek partcl-nqp: Signed-off-by: Austin Hastings <Austin_Hastings@Yahoo.com>
17:44 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/31865295d63baef6a7f1d25b04486ba19fc08839
17:44 dalek partcl-nqp: 49c066d | Austin_Hastings++ | build/Makefile.in:
17:44 dalek partcl-nqp: Merge branch 'master' of github.com:partcl/partcl-nqp
17:44 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/49c066de2f42a77f68ccd26e31966269c0a622dc
17:46 Coke Austin: as part of the build.
17:46 Coke predates your change.
17:46 Coke think it's realte dto an updated parrot.
17:46 Austin Whew
17:47 Austin I didn't think I was using any \v's...
17:47 Austin but sometimes they just slip in there when I'm not looking..
17:48 Coke Austin: ... that really doesn't look much cleaner than my version. =-)
17:48 darbelo joined #parrot
17:49 Austin Maybe, but it's "class" based, and you won't have to copy some of that stuff to any other types.
17:55 dalek partcl-nqp: 5c7ba11 | Coke++ | src/TclList.pm:
17:55 dalek partcl-nqp: Use explicit hex code for nonstandard (?) \v.
17:55 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/5c7ba11ec1651e4e1844eaca671e21c3b0d4b778
17:55 dalek partcl-nqp: f5190df | Coke++ | src/TclList.pm:
17:55 dalek partcl-nqp: whitespace cleanup;
17:55 dalek partcl-nqp: remove diagnostic/commented out code.
17:55 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/f5190df2c4be1b20c77f6b23a62f7f10eea41c4a
17:58 lucian joined #parrot
18:01 Mokurai1 joined #parrot
18:02 Coke Austin++: moved the infrastructure bit into src/init.pm, minor cleanup on TclList, switched over TclString.
18:03 Austin W00t
18:03 Coke how on earth did you know you had to use .register() ?
18:04 Coke (and why is .register not needed for Hash or String?)
18:06 dalek partcl-nqp: 46dc23b | Coke++ | src/ (2 files):
18:06 dalek partcl-nqp: Move setup code into init.
18:06 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/46dc23b1731335899a23457ba1527c16b2b809ce
18:07 dalek partcl-nqp: 6731036 | Coke++ | src/TclString.pm:
18:07 dalek partcl-nqp: create TclString type with 'class' instead of PIR
18:07 dalek partcl-nqp: also, minor whitespace fixup.
18:07 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/673103614ef8f8498d38a6e1d4a85f3e0358f242
18:14 jan joined #parrot
18:21 Mokurai joined #parrot
18:39 chromatic joined #parrot
18:39 ash_ joined #parrot
18:53 kthakore hi chromatic
18:53 kthakore chromatic: redesigned SDL_perl 2.4 is comming out in a few minutes \o/
19:00 chromatic Excellent.
19:02 kthakore chromatic: yup
19:02 kthakore chromatic: I am stoked
19:02 kthakore chromatic: 8 months of work
19:05 bubaflub kthakore++
19:06 kthakore bubaflub: oh thanks
19:14 Coke ... anyone here see google's news archive (searches through old newspapers?)
19:15 ash_ you can even set the date parameters on that search, kinda nifty
19:16 dalek rakudo: c41cf3f | (Martin Berends)++ | src/core/Temporal.pm:
19:16 dalek rakudo: [core/Temporal.pm] bring day-of-week, month-name and day-name from alpha
19:16 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/c​41cf3ffcb4cead4e2eb26658a0e32b3b50f4430
19:18 bubaflub Coke: i think i have a fix for TT #1036 - readonly should be shallow
19:19 bubaflub really, it's just a fix for un-todo-ing a test
19:29 bubaflub http://gist.github.com/356754 is the diff (also contains some codingstd stuff for the labels)
19:33 brooksbp joined #parrot
19:34 brooksbp joined #parrot
19:38 brooksbp Can someone here help me with a search?  I'm trying to find interesting research related to abstract machines (like the SECD machine); particularly using abstract machines to understand memory usage of programs.  Does anyone have suggestions, directions, or links?
19:42 eternaleye joined #parrot
19:57 Andy trac?
19:57 purl trac is a web-based software project management and bug/issue tracking system emphasizing ease of use and low ceremony. It provides an interface to the Subversion revision control systems, integrated Wiki and convenient report facilities.  http://projects.edgewall.com/trac/ or Python, SQLite and ClearSilver or killing killtrac or a bug-tracking tool or at https://trac.parrot.org/parrot/ or slow or REALLY slow
19:59 Mokurai joined #parrot
19:59 Coke brooksbp: might be better off hitting the list.
19:59 Coke parrot-dev?
19:59 purl well, parrot-dev is mailto:parrot-dev@lists.parrot.org or http://lists.parrot.org/ma​ilman/listinfo/parrot-dev
20:00 Coke bubaflub: ok. I was just the guy that copied the ticket.
20:00 bubaflub Coke: okey dokey.  i read the RT thread and this fixes it; i'll apply the patch.
20:00 Andy I'm creating a new Trac ticket per chromatic
20:01 Coke bubaflub: labels:s are usually outdented a bit.
20:01 bubaflub Coke: i thought the coding standard said two spaces
20:02 Coke sounds right. your gist looks like they line up with code now.
20:02 bubaflub i've always indented 4 for PIR and then 2 outdented for the label
20:02 bubaflub ah, yeah
20:02 bubaflub that's just a gisting formatting thingy
20:03 Andy http://trac.parrot.org/parrot/ticket/1543
20:03 bubaflub cause the + is pushing it over one space
20:03 Andy chromatic: Notes welcomed
20:08 bubaflub Coke: another ticket bites the dust.  thanks for the review.
20:09 Coke thanks for doing the actual work.
20:09 bubaflub np, just hitting some low-hanging fruit to clean out the ticketing system
20:09 bubaflub i'm off to class; catch ya'll later
20:14 dalek TT #1543 created by petdance++: Create PARROT_HOT and PARROT_COLD function annotations
20:14 dalek TT #1543: http://trac.parrot.org/parrot/ticket/1543
20:14 dalek TT #1036 closed by bubaflub++: readonly should be shallow
20:14 dalek TT #1036: http://trac.parrot.org/parrot/ticket/1036
20:20 wagle_ joined #parrot
20:21 dalek parrot: r45407 | bubaflub++ | trunk/t/pmc/ro.t:
20:21 dalek parrot: [TT #1036] readonly should be shallow
20:21 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45407/
20:52 Coke http://rt.perl.org/rt3/Tic​ket/Display.html?id=57294 - how does one sleep forever in parrot?
20:58 wagle joined #parrot
21:01 tewk brooksbp, http://matt.might.net/
21:10 Coke $N1 = "Inf"; sleep $N1 doesn't do it. =-)
21:12 tewk Is there anyway to get a complete stack trace from mzscheme?  This is one of the things that frustrates me about mzscheme.
21:12 tewk oops wrong channel
22:09 tcurtis joined #parrot
22:10 bacek joined #parrot
22:11 * bacek back online
22:11 bacek ~~
22:11 darbelo o/
22:11 GeJ G'Day Bacek!
22:12 GeJ Good morning everyone.
22:12 bacek G'Day GeJ, howizgoin'?
22:14 Austin Okay, I'm pretty well convinced that interfaces are a better idea than roles right now.
22:14 GeJ bacek: busy, busy, busy... you?
22:14 Whiteknight joined #parrot
22:15 bacek GeJ, spent long weekend offline. Feel myself terribly awesome :)
22:15 chromatic Interfaces are a better idea than roles?
22:15 chromatic On what planet?
22:15 bacek Hello Mr. Whitworth
22:15 tewk Whiteknight, threads proposal url?
22:15 bacek seen chandon
22:15 purl chandon was last seen on #parrot 3 days, 2 hours, 12 minutes and 40 seconds ago, saying: It really depends on the application and the algorithm. For some things, nothing, for others, everything.  [Apr  2 20:03:14 2010]
22:16 bacek tewk, http://pandion.ferrus.net/gso​c/proposal-hybrid_threads.txt
22:17 darbelo Pale green threads?
22:17 bacek darbelo, you prefer "Light Pink" one? :)
22:17 Austin chromatic: On a duck typing planet where the implementation is different, but I want to enforce the promise that behavior is there.
22:18 Austin (In this case, delegation.)
22:18 chromatic Roles can do that too.
22:18 Austin How so?
22:19 bacek Austin, if ($obj.does("Role")) ?
22:19 chromatic Don't compose in any behavior from the role, either when you define the role (it requires but does not provide implementations of state and behavior) or within the class into which you compose the role (it excludes the composition of behavior and state).
22:21 Austin Could you say that again in en-us ?
22:22 chromatic You have a role which requires a handful of methods.
22:22 chromatic You have a class which has-a thingie which does that role.
22:22 chromatic You want to delegate from instances of that class to the contained thingie.
22:23 Austin Fair enough.
22:23 chromatic You don't want anything outside of the class to know that the class uses delegation.
22:23 bacek .oO( yada-yada-yada )
22:23 Whiteknight tewk: bacek had the link
22:23 chromatic Thus the class can compose the role, but because it provides the methods of the role (which delegate to the containee), it doesn't compose in default implementations from the role.
22:23 bacek role Foo { method bar { ... } }
22:25 Austin interface Foo { method bar {...} }
22:26 Austin Equally functional in nqp...
22:26 chromatic Except that interfaces (as understood in the Java sense) don't provide implementations of behavior/state.
22:26 chromatic If NQP makes role/interface synonyms, then use the shorter one.
22:26 Austin Heh. And neither does a role from which I compose no behavior.
22:27 chromatic Right, but at least with roles you have the option at the point of composition.
22:27 Austin Sure.
22:28 Austin Right now I'm doing pretty much that, using "die" instead of yadda.
22:29 Austin And I'd prefer compiler support.
22:29 Austin One more reason for me to work on P6metarole, which I really don't want to do...
22:39 dalek plparrot: 2eeaf9c | dukeleto++ | plparrot.c:
22:39 dalek plparrot: Grab the argument type for each argument, not just the first
22:39 dalek plparrot: review: http://github.com/leto/plparrot/commit/2​eeaf9c90b36889a7c7eee9cba8c8d756c92ac9a
22:39 dalek plparrot: d5d8992 | dukeleto++ | plparrot.c:
22:39 dalek plparrot: Add Oid validation check back in the correct spot
22:39 dalek plparrot: review: http://github.com/leto/plparrot/commit/d​5d8992dad122cfa827f7d23adf61fdc082cc327
22:39 dalek plparrot: 80e26d6 | dukeleto++ | plparrot.c:
22:39 dalek plparrot: Allow some other int/float types to be passed into stored procedures
22:39 dalek plparrot: review: http://github.com/leto/plparrot/commit/8​0e26d6a5157f515937d05a85aa95fbb638162bd
22:44 ruoso joined #parrot
22:59 tetragon joined #parrot
23:05 davidfetter joined #parrot
23:31 dalek rakudo: 3b1d348 | (Martin Berends)++ | src/core/Temporal.pm:
23:31 dalek rakudo: [core/Temporal.pm] minor changes to pass all 17 existing tests - more required
23:31 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/3​b1d348364a4c0b0717eda180c9573f61285e779
23:36 dukeleto 'ello
23:38 Whiteknight hello duke
23:46 hercynium joined #parrot

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

Parrot | source cross referenced