Camelia, the Perl 6 bug

IRC log for #parrot, 2010-11-21

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 nwellnhof left #parrot
00:06 dukeleto cotto: what for?
00:06 dukeleto cotto: did you sign up as a mentor for GCI?
00:07 dalek parrot: 8eb855b | NotFound++ | t/ (7 files):
00:07 dalek parrot: change more deprecated usages of set_addr to set_label in tests
00:07 dalek parrot: review: https://github.com/parrot/parrot/commit/​8eb855b8dde2b95cd550daf4f23479ac2d4d9f62
00:08 cotto dukeleto, I was referring to that workshop invite that just hit parrot-dev
00:08 cotto dukeleto, where do I sign up for that?
00:12 dukeleto cotto: http://socghop.appspot.com/gci/​org/apply_mentor/google/gci2010
00:12 allison dukeleto: (re: LLVM JIT) same principle applies, the JIT should be completely hidden
00:13 dukeleto allison: yes, i agree
00:14 cotto dukeleto, done
00:15 dukeleto cotto: can you see stuff here? http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129029823318
00:16 cotto It says the page is inactive.
00:16 gbacon left #parrot
00:17 dukeleto cotto: lame.
00:17 dukeleto cotto: are you logged into melange?
00:18 cotto yes
00:19 cotto do you need to accept my request for mentorship?
00:19 dukeleto cotto: probably
00:20 dukeleto cotto: done
00:21 dukeleto cotto: fill out your profile please. I can't assign stuff to you until you do :)
00:22 kid51 dukeleto:  I signed up today.  I can serve as the Anglo backup to NotFound on Spanish translations.
00:23 cotto done
00:26 dukeleto kid51: thanks. please fill out a profile so I can assign stuff to you
00:27 kid51 profile?
00:29 cotto kid51, it'll ask you to do so after you accept dukeleto's invitation to mentor
00:32 kid51 Got it.  But that was quite a lengthy form.
00:36 cotto yeah, and annoying
00:37 cotto fortunately much of it can be safely ignored
00:38 TiMBuS left #parrot
00:40 TiMBuS joined #parrot
00:43 dukeleto Yeah, just fill in random junk. It doesn't matter
00:43 dukeleto Dumb hurdles.
00:44 dukeleto i see cotto, jkeenan, rafl and tadzik as valid mentors right now. Thanks guys!
00:44 dukeleto We have 4 tasks in the system so far.
00:45 tadzik dukeleto: I can mentor Create User Examples for NumMatrix2D for example, or/and parrot.github.com
00:45 tadzik the only interesting thing in that form is a T-shirt size
00:46 dukeleto Indeed. You will get a kickass T-Shirt :)
00:46 tadzik \o/
00:46 tadzik (I'd prefer this Parrot one created by a student, but cool anyway)
00:48 theory joined #parrot
00:49 tadzik . o O ( results in Google for Google Codein are... less than awesome )
00:49 dukeleto ?
00:50 tadzik the top results are google groups for the drug codein
00:52 dukeleto lulz
00:52 dukeleto Code-In, with the hyphen :)
00:52 tadzik yeah, I know :)
00:53 tadzik but I can rarely resist saying/writing "Google Codein"
00:54 dukeleto aloha, msg whiteknight you need to fill out your GCI profile so i can assign you tasks
00:54 aloha dukeleto: OK. I'll deliver the message.
00:54 dukeleto aloha, msg particle you need to fill out your GCI profile so i can assign you as a task mentor
00:54 aloha dukeleto: OK. I'll deliver the message.
00:56 tadzik sleepytime for me, see you Parrots :)
01:05 * kid51 must reboot so that Safari can recolonize vast amounts of space on this old iBook
01:06 kid51 left #parrot
01:13 kid51 joined #parrot
01:27 tojek left #parrot
01:41 theory left #parrot
02:27 dalek parrot/tt532_headerizer_refactor: 75b36d5 | jkeenan++ | / (5 files):
02:27 dalek parrot/tt532_headerizer_refactor: Extract some code from tools/dev/headerizer.pl and place it
02:27 dalek parrot/tt532_headerizer_refactor: into Parrot::Headerizer::Functi​ons::qualify_sourcefile().
02:27 dalek parrot/tt532_headerizer_refactor: Start to test that function.  Provide more documentation for
02:27 dalek parrot/tt532_headerizer_refactor: functions in Parrot::Headerizer::Functions.  Add a new test
02:27 dalek parrot/tt532_headerizer_refactor: file to test Parrot::Headerizer methods.  Update MANIFEST.
02:27 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/​75b36d5c4d538fd81463fcb886f3c2cf53c88bd5
02:36 rurban_ joined #parrot
02:39 rurban left #parrot
02:39 rurban_ is now known as rurban
02:39 kid51 msg dukeleto Did you take TT #1859 for a particular reason?
02:39 aloha OK. I'll deliver the message.
03:25 kid51 left #parrot
04:39 theory joined #parrot
04:48 Kulag left #parrot
04:52 Kulag joined #parrot
05:26 Kulag left #parrot
05:27 Kulag joined #parrot
05:29 dngor left #parrot
05:36 Kulag left #parrot
05:36 Kulag joined #parrot
05:47 Kulag left #parrot
05:50 Kulag joined #parrot
06:19 davidfetter joined #parrot
06:26 cotto seen whiteknight
06:26 aloha whiteknight was last seen in #parrot 11 hours 32 mins ago saying "it shouldn't be too hard to convert that to the new NQP-RX".
06:31 dngor joined #parrot
07:05 Kulag left #parrot
07:09 Kulag joined #parrot
07:13 Kulag left #parrot
07:13 Kulag joined #parrot
07:37 chromatic left #parrot
08:15 whiteknight joined #parrot
08:18 fperrad joined #parrot
08:23 whiteknight good morning, #parrot
08:23 whiteknight very, very early morning
08:27 tadzik good morning whiteknight
08:31 dalek parrot/codestring-deprecation-prep: ed339aa | plobsing++ | compilers/pge/PGE/Perl6Regex.pir:
08:31 dalek parrot/codestring-deprecation-prep: eliminate use of CodeString in PGE::Perl6Regex
08:31 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​ed339aa1b618221d6df225bb80e0bec4cc957716
08:32 dalek parrot/codestring-deprecation-prep: 3761b73 | plobsing++ | compilers/data_json/data_json/pge2pir.tg:
08:32 dalek parrot/codestring-deprecation-prep: simplify booleans in data_json
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​3761b73a571aad27c2a37fad684d8da9f2f177f9
08:32 dalek parrot/codestring-deprecation-prep: 0200022 | plobsing++ | compilers/data_json/data_json.pir:
08:32 dalek parrot/codestring-deprecation-prep: add target option to data_json to allow PIR output
08:32 dalek parrot/codestring-deprecation-prep:
08:32 dalek parrot/codestring-deprecation-prep: this makes debug easier
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​02000222eebf2474176d3f82df42c0076a6dc2b9
08:32 dalek parrot/codestring-deprecation-prep: 596dca8 | plobsing++ | / (3 files):
08:32 dalek parrot/codestring-deprecation-prep: avoid using CodeString for register uid generation
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​596dca86ec62ba640e07b185afa7cfff8fb3fc18
08:32 dalek parrot/codestring-deprecation-prep: f9dfe25 | plobsing++ | compilers/data_json/data_json (2 files):
08:32 dalek parrot/codestring-deprecation-prep: use StringBuilder to replace CodeString append functionality
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​f9dfe257783eb4c43e6c6d88685be42e548fe09d
08:32 dalek parrot/codestring-deprecation-prep: c94cbd6 | plobsing++ | compilers/data_json/data_json/pge2pir.tg:
08:32 dalek parrot/codestring-deprecation-prep: fix a few errors
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​c94cbd6e19418a128698e68c509a79c84567828c
08:32 dalek parrot/codestring-deprecation-prep: 4c9f5e9 | plobsing++ | / (2 files):
08:32 dalek parrot/codestring-deprecation-prep: avoid using CodeString for PIR string generation
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​4c9f5e93b401e4f011ced20cbfb656ec589910ec
08:32 dalek parrot/codestring-deprecation-prep: 0d07d63 | plobsing++ | compilers/pge/PGE/Match.pir:
08:32 dalek parrot/codestring-deprecation-prep: eliminate use of CodeString in PGE;Match
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​0d07d638d36507dcf9f742273068b340add40af1
08:32 dalek parrot/codestring-deprecation-prep: ecd4b0d | plobsing++ | compilers/tge/TGE/Compiler.pir:
08:32 dalek parrot/codestring-deprecation-prep: use StringBuilder in place of CodeString in TGE
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​ecd4b0d962f03ebd8e859ad137b9ca9cd7bbde75
08:32 dalek parrot/codestring-deprecation-prep: 6151cf0 | plobsing++ | compilers/pge/PGE/Exp.pir:
08:32 dalek parrot/codestring-deprecation-prep: eliminate CodeString in PGE;Expr;gencapture
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​6151cf08d4550ccca95ade4239aa6162f7f4201c
08:32 dalek parrot/codestring-deprecation-prep: 27cc8b5 | plobsing++ | compilers/pge/PGE/Exp.pir:
08:32 dalek parrot/codestring-deprecation-prep: eliminate uses of CodeString.escape in PGE;Expr
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​27cc8b5cbacc71976748e39505b56e05bcc70966
08:32 dalek parrot/codestring-deprecation-prep: 74f7516 | plobsing++ | / (2 files):
08:32 dalek parrot/codestring-deprecation-prep: add pir_key_escape to PGE;Util to replace CodeString.key
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​74f7516500227ee6d15dfce9d480213fc165320a
08:32 dalek parrot/codestring-deprecation-prep: 3b5d654 | plobsing++ | / (2 files):
08:32 dalek parrot/codestring-deprecation-prep: remove .key and .escape methods from CodeString
08:32 dalek parrot/codestring-deprecation-prep:
08:32 dalek parrot/codestring-deprecation-prep: these aren't used anywhere in core anymore
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​3b5d654ff09ac57a1e2545ebaae93a4b85dfec97
08:32 dalek parrot/codestring-deprecation-prep: 29eade0 | plobsing++ | / (2 files):
08:32 dalek parrot/codestring-deprecation-prep: remove lineof and charname_to_ord methods from CodeString
08:32 dalek parrot/codestring-deprecation-prep:
08:32 dalek parrot/codestring-deprecation-prep: these are no longer being used
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​29eade09cfa5cf0a1bb862cc58d19805fe99b6f3
08:32 dalek parrot/codestring-deprecation-prep: cf1a70a | plobsing++ | / (5 files):
08:32 dalek parrot/codestring-deprecation-prep: eliminate CodeString.unique
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​cf1a70aaa57832d41f95a90e8d5c62b96dccc189
08:32 dalek parrot/codestring-deprecation-prep: 7aa4af3 | plobsing++ | compilers/pge/PGE/Exp.pir:
08:32 dalek parrot/codestring-deprecation-prep: use StringBuilder to replace CodeString in PGE;Expr
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​7aa4af3ee70b712834c97dfaa4cf6d8e71b5842b
08:32 dalek parrot/codestring-deprecation-prep: cb236c2 | plobsing++ | runtime/parrot/library/PGE/Perl6Grammar.pir:
08:32 dalek parrot/codestring-deprecation-prep: replace CodeString with StringBuilder in PGE;Perl6Regex
08:32 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​cb236c2d39bf141494ab06d6372baeb229365eda
08:34 plobsing core (including PGE) can now easily ditch CodeString
08:34 plobsing insomnia has its advantages
08:44 whiteknight plobsing++
08:44 whiteknight you've been on a roll the last few days
08:44 whiteknight tadzik: good morning
08:55 dalek parrot: 243e113 | fperrad++ | runtime/parrot/library/distutils.pir:
08:55 dalek parrot: [disutils] SVN is gone
08:55 dalek parrot: review: https://github.com/parrot/parrot/commit/​243e1139c507db56f61ae831fa35d8b175d3cb30
09:09 theory left #parrot
09:12 dalek tracwiki: v7 | plobsing++ | ParrotDeprecationsFor3.0
09:12 dalek tracwiki: add deprecation information for CodeString
09:12 dalek tracwiki: http://trac.parrot.org/parrot/wiki/ParrotDe​precationsFor3.0?version=7&action=diff
09:13 dalek tracwiki: v23 | plobsing++ | ParrotDeprecations
09:13 dalek tracwiki: add removal notice for CodeString
09:13 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Parro​tDeprecations?version=23&action=diff
09:24 whiteknight fperrad: +1 to git_describe as smolder revision
09:28 moritz note that git_describe is empty if built without git
10:10 bacek joined #parrot
10:19 bacek left #parrot
10:30 bacek joined #parrot
10:37 rurban_ joined #parrot
10:39 rurban left #parrot
10:39 rurban_ is now known as rurban
11:11 muixirt joined #parrot
11:30 lucian joined #parrot
11:45 bacek_ joined #parrot
11:48 bacek left #parrot
12:14 contingencyplan left #parrot
13:18 kid51 joined #parrot
13:24 Patterner left #parrot
13:34 Psyche^ joined #parrot
13:34 Psyche^ is now known as Patterner
14:05 dalek parrot/tt532_headerizer_refactor: eabb0e8 | jkeenan++ | t/tools/dev/headerizer/ (3 files):
14:05 dalek parrot/tt532_headerizer_refactor: Test additional branches and conditions in
14:05 dalek parrot/tt532_headerizer_refactor: Parrot::Headerizer::Functi​ons::qualify_sourcefile().
14:05 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/​eabb0e871c8c8eeaa754ae9a0e0f9677e118e153
14:14 dngor_ joined #parrot
14:17 dngor left #parrot
14:33 jan left #parrot
14:38 muixirt left #parrot
14:57 cognominal left #parrot
14:57 cognominal_ joined #parrot
15:02 dalek parrot/tt532_headerizer_refactor: a8c428d | jkeenan++ | t/tools/dev/headerizer/ (2 files):
15:02 dalek parrot/tt532_headerizer_refactor: Test additional branches and conditions in
15:02 dalek parrot/tt532_headerizer_refactor: Parrot::Headerizer::Functi​ons::qualify_sourcefile().
15:02 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/​a8c428da9527c93040ee10c45b9458c02c94381f
15:02 dalek parrot/tt532_headerizer_refactor: ed0a745 | jkeenan++ | t/tools/dev/headerizer/01_functions.t:
15:02 dalek parrot/tt532_headerizer_refactor: Test additional branches and conditions in
15:02 dalek parrot/tt532_headerizer_refactor: Parrot::Headerizer::Functi​ons::qualify_sourcefile().
15:02 dalek parrot/tt532_headerizer_refactor: review: https://github.com/parrot/parrot/commit/​ed0a74524b05b081d2a61608d781b896fcccf03c
15:07 Drossel joined #parrot
15:07 Kulag left #parrot
15:11 Drossel left #parrot
15:11 Kulag joined #parrot
15:35 zby_home joined #parrot
15:36 whiteknight I think that we should move code for the various front-ends out of src/
15:36 whiteknight or, move into subfolders
15:36 whiteknight src/frontends/pbc_disassemble/, src/frontends/pbc_dump/, src/frontends/parrot/,
15:36 whiteknight etc
15:42 dalek TT #1860 created by whiteknight++: Move pbc subsystem to src/packfile
15:42 dalek TT #1860: http://trac.parrot.org/parrot/ticket/1860
15:43 jan joined #parrot
15:44 mikehh left #parrot
15:57 kid51 left #parrot
16:00 mikehh joined #parrot
16:14 TimToady left #parrot
16:19 cognominal_ left #parrot
16:20 cognominal joined #parrot
16:56 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#1239) fulltest) at 243e113 - Ubuntu 10.10 i386 (g++-4.5)
17:14 dalek parrot/get_user_id: d70345a | Whiteknight++ | src/dynpmc/os.pmc:
17:14 dalek parrot/get_user_id: access() returns 0 on success and -1 on failure. Add 1 to the return value to turn it into a usable boolean
17:14 dalek parrot/get_user_id: review: https://github.com/parrot/parrot/commit/​d70345a82d27ee0aedab27f45b3fd18d0d78badb
17:14 dalek parrot: 6c3990d | Whiteknight++ | t/pmc/object-meths.t:
17:14 dalek parrot: apply patch from ronaldws++ for TT #467. This should resolve ticket
17:14 dalek parrot: review: https://github.com/parrot/parrot/commit/​6c3990d6e9f89359c87c2af60ad0a73264de0b8a
17:20 dalek TT #467 closed by whiteknight++: find_method op should get sub pmc for pmclass method
17:20 dalek TT #467: http://trac.parrot.org/parrot/ticket/467
17:20 dalek TT #827 closed by whiteknight++: command line arg to specify maximum memory allocation
17:20 dalek TT #827: http://trac.parrot.org/parrot/ticket/827
17:21 whiteknight msg NotFound can you take another look at #760? You mentioned it should be easy to close. I would like to get it closed by 2.11 if possible.
17:21 aloha OK. I'll deliver the message.
17:28 theory joined #parrot
17:36 whiteknight left #parrot
17:36 dalek TT #909 closed by whiteknight++: Difficulty subclassing through P6metaclass when subclass and parent have ...
17:36 dalek TT #909: http://trac.parrot.org/parrot/ticket/909
17:37 TimToady joined #parrot
17:52 dukeleto 'ello
17:52 tadzik hey
17:53 dukeleto tadzik: how goes it?
17:55 tadzik dukeleto: cool. Quite tired, as I'm working on today's election, but still managed to make some Perl 6 coding and a blag toast
17:56 dukeleto tadzik: link to your blag toast?
17:56 tadzik dukeleto: http://ttjjss.wordpress.com/2010/11/21/perl​-6-grammars-%E2%80%93-not-only-for-parsing/
17:56 tadzik oh, just found a typo
18:00 dukeleto tadzik: you have 2 kinds of hyphens in your URL. Looks a bit funky :)
18:00 dukeleto tadzik: but the blog post looks very useful
18:01 tadzik dukeleto: I like using the hypen (–) rather than a minus sign (-), and it sometimes looks funny :)
18:01 dukeleto tadzik: that is a great post decribing a cool use of Perl 6 grammars
18:02 tadzik thanks
18:02 tadzik wasn't my idea actually, I just wrote it while others were discussion the hard things about it
18:07 dukeleto tadzik++ # writing up good ideas
18:37 rurban_ joined #parrot
18:39 rurban left #parrot
18:39 rurban_ is now known as rurban
19:05 fperrad left #parrot
19:15 cotto ಠ_ಠ
19:16 contingencyplan joined #parrot
20:05 cotto plobsing++ for the CodeString work
20:05 whiteknight joined #parrot
20:06 dalek parrot/tt1798_ipv6: 0573c50 | dukeleto++ | / (7 files):
20:06 dalek parrot/tt1798_ipv6: [TT#1798] Patch for IPv6 support by mstapelberg++
20:06 dalek parrot/tt1798_ipv6:
20:06 dalek parrot/tt1798_ipv6: Starting a branch for this patch, because it needs more tests
20:06 dalek parrot/tt1798_ipv6: and documentation before being merged to master.
20:06 dalek parrot/tt1798_ipv6:
20:06 dalek parrot/tt1798_ipv6: Original commit message:
20:06 dalek parrot/tt1798_ipv6:
20:06 dalek parrot/tt1798_ipv6: connect() and bind() use an Addrinfo PMC (contains multiple socket
20:06 dalek parrot/tt1798_ipv6: addresses in the right order [RFC 3484]) instead of a Sockaddr PMC.
20:06 dalek parrot/tt1798_ipv6: It is no longer necessary to create the socket before calling bind()
20:06 dalek parrot/tt1798_ipv6: or connect() as both need to create sockets with the appropriate
20:06 dalek parrot/tt1798_ipv6: address family on their own.
20:06 dalek parrot/tt1798_ipv6:
20:06 dalek parrot/tt1798_ipv6: Also, the Sockaddr PMC internally uses a struct sockaddr_storage
20:06 dalek parrot/tt1798_ipv6: in combination with a length field instead of an struct sockaddr_in.
20:06 dalek parrot/tt1798_ipv6:
20:06 dalek parrot/tt1798_ipv6: This commit also implements the local_address and remote_address
20:06 dalek parrot/tt1798_ipv6: methods for the Socket PMC. The Sockaddr PMC can now be converted
20:06 dalek parrot/tt1798_ipv6: to string.
20:06 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/​0573c501f624783f1d1d005012ff60cc314dbed6
20:08 dukeleto I think we need a patch status of "branch created"
20:09 whiteknight +1
20:09 whiteknight We really need to go through trac eventually and get all the ticket metadata items the way we want them
20:10 cotto I'd add one but apparently I don't get to.
20:13 dukeleto ./src/pmc/sockaddr.pmc:127: warning: request for implicit conversion from ‘void *’ to ‘struct sockaddr_storage *’ not permitted in C++
20:13 dukeleto that is an interesting warning. What could go wrong?
20:15 whiteknight the sun could go out
20:16 whiteknight C++ is everywhere
20:26 dukeleto looks like our ipv6 config step has bugs.
20:27 whiteknight that stinks
20:27 dukeleto cotto,whiteknight : can y'all run " ./parrot_config --dump|grep HAS_IPV6 " and tell me what you see?
20:27 dukeleto it looks like it always detects no ipv6
20:27 whiteknight HAS_IPV6 => '0'
20:30 dukeleto yep, we have syntax errors in our ipv6 detection cdoe
20:30 dukeleto code, even
20:30 whiteknight great
20:30 whiteknight dukeleto: I added a bunch of GCI tasks this morning
20:31 dukeleto whiteknight: awesome!
20:31 dukeleto EADDRINUSE : Where is that defined ?
20:31 cotto dukeleto, 0
20:32 whiteknight TT #443 ended up providing several project ideas. We don't have to make them all public at once
20:33 dalek TT #993 closed by whiteknight++: attempt to access code outside of current code segment in vtable init ...
20:33 dalek TT #993: http://trac.parrot.org/parrot/ticket/993
20:33 dalek TT #1151 closed by whiteknight++: Exception thrown from constructor leads to oddness
20:33 dalek TT #1151: http://trac.parrot.org/parrot/ticket/1151
20:37 cotto dukeleto, errno.h
20:37 cotto (very circuitously)
20:38 cotto /usr/include/asm-generic/errno.h on my system
20:40 dalek parrot: 889d96d | dukeleto++ | config/auto/ipv6/test.in:
20:40 dalek parrot: Make ipv6 detection actually work, at least on Linux
20:40 dalek parrot: review: https://github.com/parrot/parrot/commit/​889d96d6085d0480f0f34916b8c9a5ba2e251f93
20:44 whiteknight blarg. There are so many tickets affecting HLLs that have to deal with bullshit in the NameSpace PMC
20:44 whiteknight that PMC does too much work, stores too many different types of things in too many different class fields, and has too few VTABLE interfaces to work with
20:46 jnthn whiteknight: And curiously, https://github.com/jnthn/6model/blob/​master/common/NQP/NQPSetting.pm#L782 seems to be the majority of what Perl 6 actually needs... :)
20:46 whiteknight jnthn: what do you mean?
20:48 jnthn whiteknight: That's the 6model implementation of what nqp-rx uses Parrot's NameSpace PMC for, pretty much.
20:48 jnthn whiteknight: Was just pointing at it as a "this is an example of how little may be sufficient".
20:48 whiteknight ah, okay. That's very similar to an idea that I had a while back that was mostly ignored. Instead of the NameSpace storing lots of crap directly, it should contain a series of specialized cache objects to store things
20:49 whiteknight thanks jnthn++
20:50 whiteknight NameSpaces store a hash of child NameSpaces, a Hash of Subs in that namespace, and also a list of global variables in that NameSpace
20:50 whiteknight all using the set_pmc_keyed_str VTABLE
20:50 jnthn Eww.
20:51 whiteknight so you can't store a NameSpace as a global variable reference in another NameSpace, because it is always treated as being a child in the hierarchy
20:51 whiteknight likewise with Subs
20:51 whiteknight Eww: exactly
20:51 jnthn Yeah, I just did get_namespace for looking up / vivifying nested namespaces and at_key/bind_key are always about values.
20:52 whiteknight yeah
20:52 plobsing how easy is it for HLLs to provide their own namespace PMC to avoid dealing with this garbage?
20:53 jnthn plobsing: That is one piece of Parrot that I didn't actully try replacing in a HLL yet... :)
20:53 whiteknight I have no idea, but needing to provide your own to avoid obvious design problems in our default version is not a solution
20:53 whiteknight ours should suck less
20:54 whiteknight and even if you do supply a custom NameSpace type, Parrot is still going to interact with it through calls to get/set_pmc_keyed_str
20:54 whiteknight and even get/set_pointer_keyed_str, for some weird behaviors
20:55 dalek parrot/tt1798_ipv6: 6786d2d | dukeleto++ | src/pmc/sockaddr.pmc:
20:55 dalek parrot/tt1798_ipv6: Make the Sockaddr PMC code valid C89
20:55 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/​6786d2d9c80d30a5657fdc5ddf72e1eb04e4d6f9
20:55 dalek parrot/tt1798_ipv6: 2bca96e | dukeleto++ | config/auto/ipv6/test.in:
20:55 dalek parrot/tt1798_ipv6: Make ipv6 detection actually work, at least on Linux
20:55 whiteknight actually it may not be subclassable for exactly that reason. I don't think you can override get_pointer_keyed_str in PIR
20:55 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/​2bca96e95c9d87a6eb06b3a74fe10c42e64a4c76
20:55 dalek parrot/tt1798_ipv6: f83d884 | dukeleto++ | / (2 files):
20:55 dalek parrot/tt1798_ipv6: Add a get_bool vtable for the Sockaddr PMC
20:55 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/​f83d88469983f036d3da4fd2f6948e8f3a811406
20:56 whiteknight ...and if you can I guarantee it's probably frought with bugs
20:56 plobsing whiteknight: that wouldn't be too hard to change. It's not straightforward like the other overrides because of a void* argument, but it should be doable.
20:57 whiteknight probably not. But again, I think that's the wrong solution to the problem
20:57 whiteknight real solution is to have the NameSpace PMC interface be less insane
20:58 whiteknight if NameSpace were a hash of caches we avoid all this. Each cache holds a single type of object: child NameSpaces, Subs/Methods, and global variables
20:58 plobsing agreed. that'll probably take a deprecation cycle. better get the notice in soon.
20:58 jnthn methods?!
20:58 plobsing whiteknight: why are subs/globals separats?
20:59 jnthn Oh, I guess if they were installed in there explicitly...
20:59 whiteknight because globals don't have to be subs
21:00 plobsing but subs in namespaces are globally visible. code is just data.
21:00 jnthn NQPStash that I linked to doesn't distinguish.
21:00 jnthn Just has nested namespaces hash and entries hash.
21:00 whiteknight just because the one implementation doesn't distinguish doesn't mean others won't want to
21:01 whiteknight and if I provide three caches, the HLL can choose to ignore one of them
21:01 whiteknight I could come up with a trivial example in C# for instance where Func objects stored as class fields are treatd very differently from methods in the class
21:02 whiteknight not that C# is high on our list of languages to support, just an example I am very familiar with
21:02 plobsing common lisp works that way too. but I see it as HLL-specific quirks, not a global requirement.
21:02 jnthn whiteknight: The biggest problem here is expecting methods and packages to have much to do with each other...
21:03 whiteknight well, forget a hard-coded number of caches. If NameSpace were a hash, we can add as many named caches to it as we want
21:15 zby_home left #parrot
21:32 perlite_ joined #parrot
21:35 perlite left #parrot
21:36 perlite_ is now known as perlite
21:40 lucian left #parrot
21:50 bluescreen joined #parrot
22:01 autark_ left #parrot
22:05 autark joined #parrot
22:20 autark left #parrot
22:20 bacek_ left #parrot
22:28 dngor_ is now known as dngor
22:35 chromatic joined #parrot
22:36 whiteknight msg bluescreen I deleted my fork and re-created it. The embed stuff is in the embed_api branch now, not on master. If you have troubles, you may need to delete your local copy and do a new pull
22:36 aloha OK. I'll deliver the message.
22:36 whiteknight ...and now I am getting offline for a little while. Later
22:36 whiteknight left #parrot
22:43 chromatic msg whiteknight +1 to your idea of frontend subfolders
22:43 aloha OK. I'll deliver the message.
22:46 dukeleto chromatic: enjoying the fine weather we are having today?
22:46 chromatic Snow's sticking here; glad I have no errands to run until tomorrow.
22:49 * dukeleto just walked through some sleet-rain
23:00 * bacek_at_work just returned from very good weekend at ocean. With sunburns all over the body :)
23:05 autark joined #parrot
23:17 autark left #parrot
23:25 autark joined #parrot
23:33 dalek parrot/codestring-deprecation-prep: 243e113 | fperrad++ | runtime/parrot/library/distutils.pir:
23:33 dalek parrot/codestring-deprecation-prep: [disutils] SVN is gone
23:33 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​243e1139c507db56f61ae831fa35d8b175d3cb30
23:33 dalek parrot/codestring-deprecation-prep: 6c3990d | Whiteknight++ | t/pmc/object-meths.t:
23:33 dalek parrot/codestring-deprecation-prep: apply patch from ronaldws++ for TT #467. This should resolve ticket
23:33 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​6c3990d6e9f89359c87c2af60ad0a73264de0b8a
23:33 dalek parrot/codestring-deprecation-prep: 889d96d | dukeleto++ | config/auto/ipv6/test.in:
23:33 dalek parrot/codestring-deprecation-prep: Make ipv6 detection actually work, at least on Linux
23:33 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​889d96d6085d0480f0f34916b8c9a5ba2e251f93
23:33 dalek parrot/codestring-deprecation-prep: e42a893 | plobsing++ | / (3 files):
23:33 dalek parrot/codestring-deprecation-prep: remove CodeString
23:33 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​e42a8937cde171041c626d3657e20efcfb665443
23:33 dalek parrot/codestring-deprecation-prep: f21ee86 | plobsing++ | MANIFEST:
23:33 dalek parrot/codestring-deprecation-prep: mk_manifest_and_skip
23:33 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​f21ee8650d8d65453fa8ba1b3fe56cda728e33bd
23:33 dalek parrot/codestring-deprecation-prep: 0d20527 | plobsing++ | PBC_COMPAT:
23:33 dalek parrot/codestring-deprecation-prep: bump PBC_COMPAT for codestring removal
23:33 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​0d20527e9eb75aa53f27ec632a9c6293ce5dbfb4
23:33 dalek parrot/codestring-deprecation-prep: 38a16d6 | plobsing++ | / (17 files):
23:33 dalek parrot/codestring-deprecation-prep: Merge branch 'master' into codestring-deprecation-prep
23:33 dalek parrot/codestring-deprecation-prep: review: https://github.com/parrot/parrot/commit/​38a16d6a54b3c49bf3685f2a7656c44db293ea63
23:35 whiteknight joined #parrot
23:37 whiteknight plobsing++
23:38 kid51 joined #parrot
23:38 NotFound CodeString-- plobsing++
23:41 NotFound whiteknight: ping-pong
23:41 whiteknight NotFound: pong
23:42 NotFound whiteknight: I think that the better way to handle TT #760 now is to add a new method with sane semantic and deprecate readline
23:43 whiteknight what would the new method and new semantic be?
23:43 NotFound For a start, always return a STRING*
23:44 NotFound The name, I dunno. It needs a new name, I don't think we can multi by return type.
23:45 dalek parrot/tt1798_ipv6: 0f68c45 | dukeleto++ | t/pmc/sockaddr.t:
23:45 dalek parrot/tt1798_ipv6: Add failing test for Sockaddr PMC stringification
23:45 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/​0f68c45926a587ab32d70847ae00d2a0ea570883
23:45 dalek parrot/tt1798_ipv6: 9705896 | dukeleto++ | t/pmc/socket.t:
23:45 dalek parrot/tt1798_ipv6: Add some useful information to the POD of the Socket PMC tests
23:45 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/​97058966ff6cae8c129acee804e921479939b086
23:45 dalek parrot/tt1798_ipv6: c10647e | dukeleto++ | / (3 files):
23:45 dalek parrot/tt1798_ipv6: Create a new test file for tests that require IPv6
23:45 dalek parrot/tt1798_ipv6: review: https://github.com/parrot/parrot/commit/​c10647eaf2e84482832e5f36616972721940920d
23:47 marcio_ferreira joined #parrot
23:48 whiteknight so a new method readline_string?
23:51 NotFound Ugly, but clear.
23:51 NotFound When the current readline finishes a deprecation cycle, its name can be recycled.
23:52 sorear and then we need a dep cycle for the rename ?
23:53 NotFound sorear: to finalize it, yes. To reuse the old name, no.
23:55 NotFound If we really want to avoid breaking people's code, we should do that kind ot things.
23:56 NotFound (provided that we don't want to keep old things indefinitely, that is)
23:57 davidfetter hello
23:58 davidfetter so i'm kinda baffled by PL/Perl6
23:58 davidfetter ...which is part of the PL/Parrot tree
23:59 kid51 Didn't you have something to do with ... writing that?
23:59 davidfetter i had a lot to do with getting others to do so
23:59 * davidfetter realizes his hair has gotten all pointy
23:59 kid51 Ah!  Delegation
23:59 kid51 much better than Inheritance

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

Parrot | source cross referenced