Camelia, the Perl 6 bug

IRC log for #parrot, 2010-01-29

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:04 abqar joined #parrot
00:10 Limbic_Region joined #parrot
00:16 plobsing joined #parrot
00:35 Whiteknight is a bill from 1928 even a federal reserve note?
00:44 chromatic It's a Treasury note anyhow.
00:52 cconstantine joined #parrot
01:07 eternaleye joined #parrot
01:13 lichtkind joined #parrot
01:13 lichtkind ping
01:15 lichtkind i just want to show a text about parrot if there is any thing uncorrect
01:15 cotto_work link?
01:15 purl or "Link is ... like ... this pointy eared goblin that walks around in midi-music land with a letter opener attacking circles and things and wooing princesses but not bannon, you know?" or preaction is Error.
01:15 cotto_work or nopaste?
01:15 purl nopaste is at http://nopaste.snit.ch/ (ask TonyC for new channels)  or http://paste.scsys.co.uk/ or App::Nopaste or tools/dev/nopaste.pl or at http://www.extpaste.com/ or http://paste.scsys.co.uk (for #catalyst, #dbix-class, #moose  and others) or http://gist.github.com/ or paste or gtfo or tools/dev/nopaste.pl or https://trac.parrot.org/parrot/br​owser/trunk/tools/dev/nopaste.pl
01:16 lichtkind solarion: http://november-wiki.org/view/Parrot
01:16 cconstantine joined #parrot
01:16 lichtkind i mean cotto_work
01:17 * cotto_work boggles for a moment and goes to check the page
01:17 lichtkind cotto_work: thanks
01:18 lichtkind cotto_work: why boggle?
01:19 plobsing lichtkind: I've never heard of the "Parrto Compiler Tools" before
01:19 cotto_work wondering how solarion and cotto_work got confused.  At any rate, do I bug masak to get a login?
01:19 lichtkind shiit
01:19 lichtkind cotto_work: i misttyped instead co so and pressed tab so computer found that name
01:20 lichtkind plobsing: thanks fixed now
01:22 lichtkind any other mistakes?
01:26 cotto_work how do I get a login there?
01:27 lichtkind cotto_work: ask masak or viklund
01:27 cotto_work neither of whom are on atm.  ok
01:27 cotto_work thnaks
01:27 cotto_work or thanks
01:27 lichtkind cotto_work: there is a channel on   irc://irc.freenode.org/november-wiki
01:28 lichtkind but the conent is currently written by me even if the initial texts where by masak himself
01:30 lichtkind good night
01:31 cotto_work night
01:34 kid51 joined #parrot
01:39 dukeleto theory: make installcheck fails for me on a brand new database: http://gist.github.com/289369
01:40 theory dukeleto: make installcheck PGUSER=postgres PGDATABASE=test
01:40 theory dukeleto: Be sure to read the README. :-)
01:41 theory You can do the same thing for make test
01:41 dukeleto theory: i am looking at the readme
01:41 theory good man
01:42 dukeleto theory: that command does not appear
01:42 theory * `$PGDATABASE`
01:42 theory * `$PGHOST`
01:42 theory * `$PGPORT`
01:42 theory * `$PGUSER`
01:42 theory PGHOST and PGPORT are useless though, come to think of it.
01:42 dukeleto theory: i can read. YOUR COMMAND NEVER EXACTLY APPEARS
01:43 theory dukeleto: Well, no, because I don't know what username your going to use or what database you might have created.
01:43 dukeleto i created a db called 'leto' so I wouldn't have to set PGDATABASE
01:43 theory It could be added as an example, though.
01:43 theory yeah, cool
01:43 dukeleto it was confusing for me, so I am sure it will be to others
01:44 dukeleto sudo make installcheck PGUSER=postgres PGDATABASE=test still fails for the same reason
01:44 dukeleto using postmaster on Unix socket, default port)
01:44 dukeleto ============== dropping database "pl_regression"      ==============
01:44 dukeleto psql: FATAL:  role "postgres" does not exist
01:44 dukeleto command failed: "/opt/local/lib/postgresql83/bin/psql" -X -c "DROP DATABASE IF EXISTS \"pl_regression\"" "postgres"
01:44 theory you don't need the `sudo`
01:44 theory oh, you have no postres user
01:44 theory so
01:44 dukeleto pg_regress: could not open file "./regression.out" for writing: Permission denied
01:44 dukeleto so, yes, I *do* need the sudo
01:44 theory make installcheck PGUSER=leto
01:45 theory well, if you don't own the current directory
01:45 theory I noticed your first error said "no user named root", so you didn't run it as leto.
01:45 dukeleto (kadath)(~/git/plparrot master )$ ls -lad .
01:45 dukeleto drwxr-xr-x  30 leto  staff  1020 Jan 28 17:37 .
01:45 dukeleto i am the user leto
01:45 theory hrm
01:45 dukeleto so I am going to have to differ with you
01:45 chromatic You *are* the brute squad.
01:45 theory I don't know why pg_regress would bitch, then.
01:46 theory but you also don't have a "postgres" user
01:46 dukeleto all i did was install postgres 8.3.8 from darwin ports. it didn't do that
01:47 dukeleto sudo make installcheck PGUSER=leto runs but fails
01:47 dukeleto and failing is what it should do
01:47 dukeleto with the current code
01:47 dukeleto so we need more instructions about the names of databases and usernames
01:48 theory dukeleto: Sure. Go ahead and put them in however you'd like.
01:48 theory But clearly darwin parts has a non-standard install, as "postgres" is nearly always the name of the default super user for PostgreSQL
01:48 theory no idea what darwinports decided to call it.
01:49 dukeleto probably ipad or something else useless
01:49 dukeleto i am headed to the OSB town hall soon
01:49 dukeleto what are you up to tonight?
01:49 dukeleto i will do my best to drop by the hackathon afterwards
01:49 theory date night with my woman
01:50 dukeleto sounds good. much more fun ;)
01:50 theory see ya later
01:51 kid51 Is darwinports still active?  I thought it had been superseded by macports.
01:52 LaVolta joined #parrot
01:53 japhb joined #parrot
02:36 Whiteknight bacek_at_work: ping
02:39 Whiteknight purl msg bacek I think I know the problem in gc_encapsulate. List_chunk* is a GCable object, but in the branch you're allocating it with Parrot_gc_allocate_fixed_size_storage. List_chunk needs to be traced and collected like a PMC or STRING
02:39 purl Message for bacek stored.
02:41 chromatic Oh, List_chunk.  How you are not my friend.
02:42 Whiteknight Where the hell is it even used for?
02:42 Whiteknight "used at"?
02:42 Whiteknight my grammar-foo is weak tonight
02:43 chromatic I run into it every now and then.
02:43 Whiteknight It's not used for any of the array PMCs, so what other purpose does it serve?
02:44 Whiteknight ..and why couldn't it be replaced by ResizablePMCArray?
02:45 chromatic Could very well be.
02:50 Whiteknight not a task for this branch, but definitely something I would like to look into
02:52 chromatic I'm happy to see us get rid of old code that we barely use.
02:55 Whiteknight okay, it looks like this code is only used in the Array PMC
02:55 Whiteknight and that PMC is deprecated
02:56 Whiteknight ...and I think it can disappear nowish.
02:56 * Whiteknight does a small happy-dance without getting up off the couch
02:57 Whiteknight maybe I'll start a branch for the purpose tomorrow
02:58 Whiteknight ...though that doesn't help the gc_encapsulate branch quite yet
03:00 * Whiteknight goes to bed now. Goodnight
03:35 * plobsing reads backscroll
03:37 plobsing ah! Array PMC is useful!
03:38 dalek plparrot: 39f589f | dukeleto++ | README.plparrot:
03:38 dalek plparrot: Update README for 'make test'
03:38 dalek plparrot: review: http://github.com/leto/plparrot/commit/3​9f589f9e281705724df26f8a7224ad71af9bca6
03:40 plobsing msg Whiteknight Array PMC beats RPA hands down running 'array_unshift_test.pir' on TT #1399 for values less than ~20000 (before Array starts segfaulting)
03:40 purl Message for whiteknight stored.
03:46 plobsing msg Whiteknight a suitable replacement for Array should have a similar order of performance
03:46 purl Message for whiteknight stored.
03:47 plobsing msg Whiteknight Array behaves ~O(n) on that, RPA is more like O(n**2) (in my crude benchmarks)
03:47 purl Message for whiteknight stored.
03:49 dalek plparrot: 0a73291 | dukeleto++ | .gitignore:
03:49 dalek plparrot: Add regression files to .gitignore
03:49 dalek plparrot: review: http://github.com/leto/plparrot/commit/0​a73291ec886f72dff1fcb4d620d6085ada34824
04:23 chromatic plobsing, let's fix RPA instead.
04:26 plobsing chromatic: we can do that by using struct List under the hood! ;-)
04:29 plobsing actually, I'd settle for not having to copy n elements for every shift/unshift
04:31 chromatic Right.
04:31 chromatic I remember a patch to Perl 5 several years ago that fixed similar behavior.
04:32 chromatic http://perlmonks.org/index.pl?node_id=17890
04:33 chromatic http://perlmonks.org/index.pl?node_id=42912
05:54 dalek plparrot: f960f20 | dukeleto++ |  (2 files):
05:54 dalek plparrot: Fix 'make test' and add a _PG_init
05:54 dalek plparrot: review: http://github.com/leto/plparrot/commit/f​960f209f49a513ddfc752f7d0cf153393945775
05:55 jsut joined #parrot
05:55 eternaleye joined #parrot
06:00 dalek plparrot: 0f2cc95 | dukeleto++ | src/handler/plparrot.c:
06:00 dalek plparrot: Be friendly to pre-8.2 pg's, in case it matters
06:00 dalek plparrot: review: http://github.com/leto/plparrot/commit/0​f2cc9513a0c242817bd29aa3f889bda768ed2be
07:37 cotto joined #parrot
07:57 fperrad joined #parrot
08:09 iblechbot joined #parrot
08:29 particle1 joined #parrot
09:11 jan joined #parrot
10:36 leto joined #parrot
11:09 jan joined #parrot
11:17 jan joined #parrot
11:29 pdcawley_ joined #parrot
11:38 LaVolta joined #parrot
12:00 bepi joined #parrot
12:01 bepi left #parrot
12:10 cconstantine joined #parrot
12:36 payload joined #parrot
12:48 cotto joined #parrot
12:48 bluescreen joined #parrot
12:53 payload joined #parrot
13:15 iblechbot joined #parrot
13:20 whiteknight joined #parrot
13:22 cotto joined #parrot
13:24 whiteknight good morning #parrot
13:24 cognominal joined #parrot
13:26 whiteknight purl msg plobsing: that's a motivation to improve performance of ResizablePMCArray, not to keep Array. If RPA added "start of buffer" and "start of data" pointers, we could get similarly good performance. Would only need a way eventually to recycle the unused allocated storage at the beginning of the buffer after a while
13:26 purl Message for plobsing stored.
13:34 whiteknight purl msg plobsing: Array is also mostly unused in most production code, so even if it has better performance in some benchmarks it is unused. Part of this could be a naming problem. If it were called "SparsePMCArray", maybe that might garner more attention. But, it would still need major cleanup.
13:34 purl Message for plobsing stored.
13:57 ruoso joined #parrot
13:59 dalek parrot: r43635 | whiteknight++ | branches/kill_array_pmc:
13:59 dalek parrot: creating a branch to remove deprecated Array PMC
13:59 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43635/
14:19 mikehh joined #parrot
14:22 payload joined #parrot
14:29 mikehh joined #parrot
14:29 lichtkind joined #parrot
14:35 plobsing joined #parrot
14:41 davidfetter joined #parrot
14:48 lichtkind http://november-wiki.org/edit/Parrot any complaines?
15:01 hudnix joined #parrot
15:04 dalek parrot: r43636 | whiteknight++ | branches/kill_array_pmc (10 files):
15:04 dalek parrot: remove array.pmc, list.c and list.h. Cleanup all resulting code problems (not many). Miniparrot compiles but fails with message 'ResizablePMCArray: Cant shift from an empty array!
15:04 dalek parrot: '
15:04 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43636/
15:08 bubaflub joined #parrot
15:19 tewk are there docs for creating a closure?
15:21 tewk maybe docs/compiler_faq.pod:140:Then
15:21 dalek parrot: r43637 | whiteknight++ | branches/kill_array_pmc/src/pmc_freeze.c:
15:21 dalek parrot: fix last problem in pmc_freeze.c. Build completes without errors
15:21 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43637/
15:37 Psyche^ joined #parrot
15:40 cognominal joined #parrot
15:50 mikehh joined #parrot
15:55 dalek parrot: r43638 | whiteknight++ | branches/kill_array_pmc/t/pmc (2 files):
15:55 dalek parrot: fix failure on t/pmc/exception-old.t that caused test to hang. While I was at it, converted the test from Perl/PASM to PIR and moved to exception.t
15:55 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43638/
16:04 cotto_work whiteknight++
16:04 whiteknight this deprecation is straight-forward. Really a testament to how unused Array was
16:05 whiteknight I'm having to dig into some very obscure, old PASM tests to find references to it.
16:06 cotto_work looks like http://trac.parrot.org/parrot/ticket/1399 can be closed when you merge that branch
16:08 whiteknight and #1270
16:11 dalek parrot: r43639 | whiteknight++ | branches/kill_array_pmc (3 files):
16:11 dalek parrot: delete t/pmc/array.t, because the pmc is gone. Update a test in resizablepmcarray.t to use FixedStringArray instead of Array. The test was for the splice opcode between multiple array types, so the updated test should satisfy the letter of the test. More tests might be needed if we want a comprehensive set of tests for splicing together all types of array PMCs
16:11 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43639/
16:11 dalek parrot: r43640 | whiteknight++ | branches/kill_array_pmc (2 files):
16:11 dalek parrot: the decodetime op now returns an HLL-overridable FixedIntegerArray PMC instead of an Array. Update tests in t/op/time.t to reflect that (with TODO note about how we should test the HLL-override portion
16:11 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43640/
16:28 dalek parrot: r43641 | whiteknight++ | branches/kill_array_pmc/t (4 files):
16:28 dalek parrot: update a few more tests. All as easy as converting 'Array' to 'resizablePMCArray'. A more thoughtful reading could maybe pick types slightly better suited for each case
16:28 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43641/
16:53 theory joined #parrot
16:54 fperrad joined #parrot
17:01 dalek parrot: r43642 | fperrad++ | trunk/config/gen/makefiles/root.in:
17:01 dalek parrot: [build] install_config.o is needed when using pbc_to_exe --install
17:01 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43642/
17:18 theory joined #parrot
17:33 cghene joined #parrot
17:34 plobsing joined #parrot
17:49 jan joined #parrot
18:55 chromatic joined #parrot
19:14 dalek tracwiki: v14 | cotto++ | CottoTasklist
19:14 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Cot​toTasklist?version=14&action=diff
19:19 cotto_work What code is responsible for creating a sub constant?
19:21 cotto_work probably related to the Sub PMC's init
19:28 * cotto_work breaks out the yak razor
19:29 darbelo cotto_work: Storing of constant subs (in the bytecode) is broken IIRC. plobsing had ideas about that.
19:30 darbelo it was half-related to the freeze-thaw mess.
19:30 darbelo There was a ticket about that that I can't find right now.
19:31 cotto_work I see that there's an extra possibly-unused string const after each sub that contains its name.
19:31 cotto_work hexeditinh the bytecode to change that constant doesn't cause any test failures.
19:31 cotto_work s/inh/ing/
19:36 iblechbot joined #parrot
19:36 ash_ joined #parrot
19:38 darbelo TT #1359 isn't the one I'm thinking about. But is related.
19:44 cotto_work and the rabbit hole gets deeper
19:45 plobsing joined #parrot
19:46 cotto_work speak of the plobsing
19:47 plobsing eh?
19:48 cotto_work darbelo just pointed at one of your tickets
19:48 darbelo TT #1359, cotto_work was shaving a related yak.
19:49 cotto_work which one?  we have many
19:50 plobsing yeah, that's on my TODO list, unfortunately the list keeps getting longer
19:50 darbelo cotto_work: Subs in bytecode. It's mentioned in the ticket.
19:50 cotto_work dropping that would make pbc_merge substantially simpler
19:51 plobsing dropping how?
19:54 cotto_work Am I misreading or is the proposal to have a sub's opcodes live with it in pbc?
19:54 cotto_work *part of the proposal
19:54 plobsing cotto_work: very much so. I want the freezer/thawer to manage mapping bytecode storage for the subs
19:55 plobsing right now Eval PMC stores its bytecode as a string in the image. AFAIC, thats a fail.
19:55 chromatic Yuck.
19:55 darbelo Indeed.
19:56 chromatic I wonder if that hides otherwise difficult packfile initialization bugs though.
19:56 chromatic :init and :load are right tricky to implement effectively.
19:58 plobsing I'm not very knowledgable about bytecode, just freeze/thaw, but how we do it now seems wrong (and leads to bugs - see TT #1142)
20:03 whiteknight I'm getting lots of failures in the new kill_array_pmc branch related to freeze/thaw, and It's a mess picking through it all
20:03 whiteknight I would really like to see a comprehensive refactor of that system
20:03 darbelo whiteknight: Ehm, we did one.
20:04 whiteknight darbelo: think bigger, more comprehensive
20:04 whiteknight there are still some fundamental problems with the design
20:04 darbelo There's some more work that was blocking on passing a deprecation boundary.
20:07 cotto_work So it's clobbering time?
20:07 darbelo Yep.
20:08 darbelo pmc_freeze_with_pmcs is the first step forward.
20:09 cotto_work What's the plan?
20:09 purl well, the plan is to use fastcgi
20:09 cotto_work go play in traffic
20:09 * purl wanders off to dent some cars.
20:09 cotto_work What's the overall plan?
20:09 purl the overall plan is to abstract POE::Kernel's back-end modules (Loop::*, Resource::*, etc.) into a native C library.  Thin XS shims will expose the libraries with Perl interfaces that match the existing Perl modules.
20:09 * cotto_work kicks purl with a botsnack
20:10 darbelo Get rid of image_io, replacing it with a PMC.
20:10 plobsing plan or 'shiny ideal I'll probably never get to'?
20:10 cotto_work yeah.  That one.
20:10 purl yeah. that one is probably horrible
20:10 * cotto_work kicks purl
20:10 * purl kicks cotto_work
20:10 cotto_work You should start a wiki page.
20:11 plobsing will do
20:14 darbelo plobsing: Has any work gone into pmc_freeze_with_pmcs?
20:15 darbelo I0m thinking we should erase and rebranch to take advantage of one_make and the other landed branches.
20:16 cotto_work looks like not
20:16 cotto_work http://trac.parrot.org/parrot/lo​g/branches/pmc_freeze_with_pmcs
20:16 plobsing darbelo: not really
20:16 cotto_work you can sync with trunk
20:17 darbelo I don't trust svn that much.
20:17 cotto_work I don't like it, but I haven't had a bad time syncing.
20:19 darbelo I'll give it a go
20:20 dalek tracwiki: v150 | plobsing++ | WikiStart
20:20 dalek tracwiki: http://trac.parrot.org/parrot/wiki/W​ikiStart?version=150&action=diff
20:21 plobsing blast the branch away
20:22 chromatic Or find someone with git-fu to rebase for you and avoid that throwaway.
20:31 darbelo Damm are svn merges slow.
20:32 darbelo Not that this machine is screamingly fast either, but still.
20:32 cotto_work yeah
20:34 plobsing I've put my ideas up at: "sigs" => ResizablePMCArray (size:0) [
20:34 plobsing ]
20:34 plobsing oops
20:35 plobsing ideas are at: http://trac.parrot.org/parr​ot/wiki/FreezeThawTasklist
20:36 plobsing note that I'm currently more interested in NCI, so I may not act on them for a while.
20:36 cotto_work That's fine.
20:36 dalek tracwiki: v1 | plobsing++ | FreezeThawTasklist
20:36 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Freez​eThawTasklist?version=1&action=diff
20:36 cotto_work Thanks.
20:39 darbelo PMCs that use ATTRs other that INTVAL, FLOATVAL and PMC * can't be subclassed from PIR right?
20:40 darbelo Oh and STRING *.
20:42 whiteknight darbelo: basically, yes
20:42 whiteknight we should come up with a way to make them extendable by autoboxing other types in an UnmanagedStruct PMC
20:42 whiteknight or a CPointer PMC,
20:43 Andy joined #parrot
20:43 mikehh joined #parrot
20:55 darbelo no, Q < 30
20:55 darbelo Eh. Wrong window.
20:55 brooksbp joined #parrot
20:56 cotto_work joined #parrot
21:02 cotto_w0rk joined #parrot
21:03 darbelo Honestly, svn. You are the most compelling argument I've seen to use other VCSs.
21:04 bubaflub whiteknight: i saw on your blog your post about Strings and NFG
21:04 bubaflub whiteknight: i'd love to be able to help out
21:04 whiteknight bubaflub: do you happen to be a student?
21:04 bubaflub whiteknight: yep.  dukeleto was my mentor for last years' GSOC
21:04 * darbelo thinks that NFG would make an excelent GSoC project
21:05 whiteknight bubaflub: awesome! Any help in the area of strings is welcome
21:05 whiteknight and if you can get Google to pay you to do it, all the better
21:06 bubaflub whiteknight: cool. i'd love to get a leg up now. besides reading PDD28, is there anything else i should start with?
21:07 whiteknight bubaflub: I'll see if I can dig up some resources. Ther has been plenty of discussion about this in the past
21:07 whiteknight you might want to chat with Allison too about it
21:07 bubaflub sounds good.
21:07 purl sounds good. is probably there a good way for me to find out when branches are merged, other than read every svn commit?
21:07 bubaflub purl, forget sounds good
21:07 purl bubaflub: I forgot sounds good
21:08 darbelo Coke: ping
21:09 dalek tracwiki: v4 | plobsing++ | NCITasklist
21:09 dalek tracwiki: http://trac.parrot.org/parrot/wiki/N​CITasklist?version=4&amp;action=diff
21:09 dalek tracwiki: v151 | plobsing++ | WikiStart
21:09 dalek tracwiki: http://trac.parrot.org/parrot/wiki/W​ikiStart?version=151&amp;action=diff
21:10 chromatic seen lathos
21:10 purl lathos was last seen on purl 340 days, 5 hours, 50 minutes and 30 seconds ago, saying: <private message>  [Feb 23 15:16:16 2009]
21:10 whiteknight bubaflub: I'm signing out for a while. We'll chat later
21:10 bubaflub whiteknight: cool.  talk to you later.
21:11 dukeleto nfg?
21:11 purl nfg is No Fscking Good! or grapheme normalization form (see docs/pdds/draft/pdd28_character_sets.pod)
21:14 bubaflub dukeleto: the later one
21:14 purl i heard the later one was sleeker
21:17 joeri joined #parrot
21:21 dalek parrot: r43643 | darbelo++ | failed to fetch changeset:
21:21 dalek parrot: Sync branch with trunk.
21:21 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43643/
21:23 mikehh joined #parrot
21:31 cotto_work If TT #1359 got implemented, would pbc have no separate bytecode segment?
21:34 cotto_work If that's the idea, it certainly has some charm.
21:35 cotto_work (i.e. all the bytecode would be stored in the subs' data)
21:36 darbelo cotto_work: pretty much, yeah.
21:37 darbelo The :init :load :eatkittens magic would still be there though.
21:37 cotto_work yeah
21:38 darbelo So it's not *completely* straightforward, but it's simpler than what we do now.
21:40 plobsing hmmm
21:40 darbelo I'm not sure how it interacts with the nebulous some-day-in-the-future "mmap() the bytecode" thing, however.
21:40 plobsing I was thinking about it the other way. provide a way to index into the bytecode segment from the freeze/thaw code
21:41 plobsing I can see advantages to each
21:42 darbelo plobsing: Do you have a better name than ImageIO for the image_io replacement PMC?
21:42 dalek tracwiki: v123 | fperrad++ | Languages
21:42 dalek tracwiki: add link <span class="icon">�</span>http://www.factorcode.org/</a>
21:42 dalek tracwiki: http://trac.parrot.org/parrot/wiki/L​anguages?version=123&amp;action=diff
21:43 plobsing lol no. AFAIK the format it writes doesn't really have a name ATM
21:43 plobsing FPMC = Frozen PMC. but if we allow multiple types of serializers, that becomes ambiguous
21:44 plobsing maybe something alluding to its use in PBC?
21:44 darbelo freezer.pmc ?
21:44 darbelo well freezer_thawer.pmc
21:46 plobsing pbc_binary_freezer? maybe?
21:46 plobsing I don't like reserving freezer because I would like to have a text serialization at some point
21:47 darbelo I'll start building the bikeshed. We can paint it later ;)
21:47 plobsing blue no green!
21:48 * darbelo goes with imageio.pmc for now.
21:51 cotto_work BinaryBytecodeFreezer?
21:51 plobsing +1
21:51 purl 1
21:52 cotto_work +purl
21:54 brooksbp joined #parrot
21:57 * darbelo wonders if the BinaryBytecodeFreezer PMC should have a freeze() VTABLE
21:59 eternaleye joined #parrot
21:59 dalek tracwiki: v2 | plobsing++ | FreezeThawTasklist
21:59 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Freez​eThawTasklist?version=2&amp;action=diff
21:59 dalek tracwiki: v3 | plobsing++ | FreezeThawTasklist
21:59 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Freez​eThawTasklist?version=3&amp;action=diff
22:03 cotto_work joined #parrot
22:07 rurban joined #parrot
22:08 rurban left #parrot
22:20 Whiteknight joined #parrot
22:27 darbelo Hmm. At the cost of some efficiency we *could* make ImageIO subclassable from PIR.
22:27 Whiteknight to what benefit?
22:28 darbelo Custom serialization.
22:28 Whiteknight how would the user even get access to the ImageIO PMC in the first place/
22:28 Whiteknight ?
22:29 darbelo I'll add a variant to the freeze opcode.
22:30 darbelo It gives back a string now, which I intend to keep, but it could also return the PMC.
22:30 chromatic I'd rather consider that a possibility for future expansion than jump into it now.
22:31 darbelo Oh, sure. Just noting the fact. First I want to get this working, and then do a few passes of cleanup before considering that.
22:31 cotto_work +1 to chromatic
22:31 Whiteknight that's a good idea. I guess I never understood why freeze returned a string
22:32 Whiteknight darbelo: where you doing this, a branch?
22:32 darbelo Whiteknight: Because the PMC never got implemented?
22:32 darbelo Whiteknight: Yep. pmc_freeze_with_pmcs
22:34 darbelo I've just created a ImageIO PMC and I'm moving stuff from pmc_freeze.c into it.
22:36 cotto_work darbelo, commit early and often
22:37 Austin joined #parrot
22:37 cotto_work hi Austin
22:38 Austin hello, cotto_work
22:38 Whiteknight darbelo++
22:38 Austin Frustratingly, my enormous TV has arrived, but I must wait for my wall-mounting bracket. :(
22:39 Austin On the plus side, I think I'm getting skin cancer from playing Wii Sports Resort.
22:39 Whiteknight maybe a PMC should serialize to normal bytecode
22:39 Whiteknight hello Austin
22:39 Austin Hello, Whiteknight.
22:39 darbelo I've half a mind to make the freeze format a packfile.
22:40 darbelo But that means extending the packfile format a bit.
22:40 Austin That won't work, since the pf format changes every couple of weeks.
22:41 darbelo It shouldn't explode too badly if we stick to the manipulation API.
22:41 darbelo 'sedes we're already using packfile primitives for this stuff.
22:41 Whiteknight darbelo: couldn't we just stick a frozen PMC into the constants table of the PBC?
22:41 cotto_work There'd be some nice isomorphism there.
22:42 ruoso joined #parrot
22:42 Whiteknight yeah, and some nice festizio
22:42 Whiteknight see, I can make up words too
22:43 cotto_work Your wartnak is showing.
22:47 chromatic You send him to school, you get him an engineering degree, you make Google pay him money, then his fork()ed child process writes all over his memory.
22:49 darbelo I don't have an engineering degree yet ;)
22:49 chromatic I meant Whiteknight.
22:49 darbelo But I can make the whole fork()ed child process thing happen all the same ;)
22:49 darbelo It's not a prereq.
22:50 Whiteknight my fork()ed child process is preventing me from going to sleep() because he keeps raising SIGCRY
22:50 chromatic ENOWHINING
22:51 Whiteknight not whining, just making my day open source
22:52 NotFound Austin_away: you need a TV to sustain your wall?
22:53 Austin_away NotFound: Yeah. The TV's bigger.
22:53 chromatic It's a load-bearing TV.
22:53 NotFound Is an interesting idea. Instead of paying home repairs, buy big TV.
22:54 Austin_away Sure. A large enough TV will cover all kinds of home-decorating problems.
22:56 NotFound And use the wall mounting to reforce the walls.
22:56 plobsing joined #parrot
22:57 * NotFound thinks about photo retouching, TimToady and "Wall mounted TV"...
22:58 mikehh joined #parrot
23:02 mikehh joined #parrot
23:03 patspam joined #parrot
23:04 brrant joined #parrot
23:47 mikehh joined #parrot

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

Parrot | source cross referenced