% mdiep has joined #parrotsketch tewk: i suspect File::Spec->canonpath will work in addition to your way for the FindBin patch ww % chromatic has joined #parrotsketch % allison has joined #parrotsketch Hi, gang yo hi all oi hi @all * tewk present hello wow. so well trained you all are ;) % pmichaud has joined #parrotsketch Hey patrick. (I've also pinged chip) here today, on phone with calls -- available in 10 min (I hope) ok. we'll go in order of "hi" then: allison, mdiep, particle, leo_, tewk,chromatic, pmichaud , stragglers ah, damned by my own quick typing :) heh I've been working on the Threads PDD. Most of it is checked in now. Just a bit more discussion I want to summarize and include. I'll finish that off this week. (I was going to finish it last week, life has been... lifelike.) EOR mdiep - Fought with svk for a couple hours... and gave up - Patched ResizableStringArray to allow $S0 = array[-1] - Made a lot of progress on forth; the only challenge left is variable access * Forth variables are essentially C pointers * Any "pointers" on how to handle them would be appreciated * Thinking about writing a PMC that allocates a stack of memory to use for variables ^D particle: your turn. ~ first commit of smartlinks.pl, linking tests to specs. so far, i'm still constructing objects. soon, i hope to implement the clever bits. ...as an aside, Moose is a fun object framework, which i've just started to explore... ~ emptied the code cleanup patch queue, which has allowed ptc++ to fill it up again :) ~ committed some pge glob tests, including some failing which pmichaud++ fixed ~ some more tests and info for the (still incomplete) calling convention state table -- i'm hoping for feedback from chip ~ the usual patches, fixes and #parrot presence .end leo_: * was discussing a lot of sprintf format chars * fixed totally b0rked %c conversion * and a lot more * discovered actually a (likely) perl5 bug converting "%03.2d" and such - we've either to follow susv3/posix/gcc or perl5 here for now ^D tewk: I've been digging into parrot intenals searching for my HLL method dispatch bug. I'm getting more comfortable with the internals. I've been learning a lot about packfiles and have some C coding sytle suggestions that will hit the list today. I'm going to send some C cage cleaning diffs to Chip and the list. EOR chromatic: Fixed up Parrot::Embed -- now have Parrot::Interpreter and Parrot::PMC objects that should behave nicely with regards to garbage collection on both sides. This needs documentation, but otherwise it's fairly complete for what it does. That's it. Damn. six minutes. we need 4 more minutes. Ok. so. noow, same order. name me the thing that's frustrating you most about development right now. allison: you're first <-- off phone first at? 14:12 Ok. so. noow, same order. name me the thing that's frustrating you most about development right now. 14:12 allison: you're first I'm designing things that aren't getting implemented. <-- ready to report It's like a dead feedback loop. pmichaud: as soon as we've done this round of this thing ;) fair enough svk isn't working particle: large lag time synchronizing ideas with design team leo_: no feedback re various design questions on p6i tewk: Hll method dispatch bug is blocking cardinal devel chromatic: Too many open projects and avenues of exploration blocking on various things. pmichaud: (frustration, then report) frustration: real life keeps hitting me in unfortunate ways Thanks for that everbody. pmichaud: what's new dev-wise for you? (brief rl summary: Paula ended up in ER weekend before last; we're still dealing with tests to try to figure out what's wrong) dev report: * cleaned up the sprintf test suite a bit, to eliminate the failing tests or mark them as todo as appropriate (rl: is she basically ok?) * worked on fixing PGE namespaces -- expect to have that this afternoon. * PGE namespaces will require some changes to various languages, but I think I can minimize the impact next plan is updated PAST implementation, will start that immediately after ns stuff * particle is on hand to provide pge migration assistance for languages in answer to allison's frustration, the PGE ns stuff will quickly let us know if the NS pdd is going to be workable end of dev report cool ok. question time? (rl: yes, paula seems to be basically okay now, but we're getting conflicting diagnoses. None of them are life threatening.) * tewk will be meeting with Matz (creater of Ruby wednesday and thursday) and attending RubyConf Fri-Sun, does the parrot group have any questions for Ruby people? pmichaud: please send her our best. obra: thanks, will do. * pmichaud has one question. pmichaud: go for it tewk, it might be nice to see a sample of bytecode from Ruby 2.0 and perhaps diagrams of their AST. question: has anything like the :init pragma for subs been implemented yet? earlier in the summer we discussed the possibility of :init -- I don't know where that ended up chromatic: noted is there any reason to have :load? everywhere I've used :load or seen it used, it's been used like :init or can :load be made into :init? I can conceive that there might be situations where loading a .pbc (:load) would be different from running it (:main/:init) what's the planned difference again? the planned difference: subs marked :init are executed before :main :init runs before :main in addition to running on load_bytecode we might want :init to be orthogonal to :load thus :load --- run on load_bytecode :init -- run before :main and :init :load does both exactly hrmm... now :load runs *unless* :main is defined hmmm... that doesn't sound quite right, but now I can't find the relevant messages particle: I don't think that's exactly right :load runs only in response to load_bytecode I don't think :load is affected by :main what I'm wanting to avoid is having to write the separate code in :main that causes all of the :load subroutines to be called Run this subroutine during the load_library opcode. :load is ignored, if another subroutine in that file is marked with :main. If multiple subs have the :load pragma, the subs are run in source code order. % smash has joined #parrotsketch ...from http://www.parrotcode.org/docs/imcc/calling_conventions.html I think you can always rearrange your code such that you can get desired order with current :flags (especially when the .pbc is being formed by merging multiple .pbc's or via combining separate generated files via .include) is it true that :load is ignored if there's another sub marked :main? hmmmmm yes i've tested it is there a _reason_ for that behavior? ask dan? specced by dan it's so you can have some behaviour when running as a script and some when running as a module yep but we can already do that if we simply say that :load means "execute only when loaded as module" that's what it should be well, else :main or the first sub is run aye, it's not what it is, but it's what it was intended to be also, the calling_conventions.html says C opcode -- shouldn't that be C what's the significance of C here? I think that was the old name C is loading .dll / .so / .dylib ah, right right, I suspect the spec wasn't clearly thought out when written Same as C loads .pbc / .pir / .pasm. yes, but there is no :main/:load with C, is there? I can't find :init in google/my parrot email archive or searching through the repository pmichaud: no sorry C that is allison: i know it was discussed previously on #parrotsketch but, IIRC, :init is supposed to act more or less like Perl 6 INIT there isn't any load_library op okay, so calling_conventions.html is at least wrong with respect to the name of the op :-) anyway ok. waht's next? I want to have some sort of pragma that says "automatically run this sub when the module is invoked via parrot" er. sorry. didn't mean to cut you off obra: np (it was dicussed on p2 also, I just can't find it) * mdiep is with pmichaud. this is a very common usage what does "invoked via parrot" mean? and I'd like for the :load pragma to mean "automatically run this sub when the module is loaded via load_bytecode" email from august 3 [perl #39926] :init attribute (was Re: Implement .loadlib pragma in IMCC) leo: "invoked via parrot" means parrot perl6.pbc this one is called :main ;) but you can only have one :main blast, thunderbird has the worst search capabilities of any email client :( leo: no! I don't want just one sub, I want multiple it's the entry point :main is the entry point call them from a dummy :main Yes, but then he has to call all of the init() subs from that :main again, which is exactly what he doesn't want to do. leo: that's the thing I'm trying to avoid -- I don't want to have to write a :main that knows all of the init subs no, main is for execution, not for loading I see especially when the perl6.pbc file has been automatically generated from a lot of other specifications, which may or may not need some form of initialization to take place prior to main I'd love to be able to declare all of my classes and attributes in :init subs, yes we should have :init Yes chromatic ++ does someone want to volunteer to write up a paragraph or two about it? I'll write the paragraph immediately following #parrotsketch, as it's an annoyance post it to the list, and then lets get it into the documentation so we can find it next time this comes up? if I had enough parrot-fu I'd implement it (it's that big of an itch to scratch) excellent thanks :) I'll be sure to reference #39926, or add the message to that ticket okay, obra, I'm off my box now :-) question... are there milestones we should be working toward? ref the parrotsketches too. tewk++ particle: That's a good question. The problem with the current milestones is "design up front" the big unfinished subsystems or, are you looking for something smaller pm's milestones: pge ns, past, perl6 compiler fixups, tge obra: not true, exceptions could be being developed now One problem is, we don't really have anyone turning PDDs into (failing) tests. exhaustive testing of newly implemented subsystems is way behind allison: I'd like to take the current milestones doc and create a matrix of it on its side, broken up by subsystem. obra++ which subsystems need testing next? I _will_ have that by next week and chromatic++ . I might grab the features from the pdds that I think I'm likely to want soon and turn those into failing tests obra: cool CAGE could do a lot of work on writing tests. chromatic: did you get any takers on your request for a surrogate cage-wrangler? calling conventions still need testing (there are known bugs.) namespaces, exceptions.... Hash anyone approached Bob Rogers about doing exceptions? He has been doing a lot of continuation and corroutine work. chromatic: would it work if I simply identified for CAGE the pdd features I'm wanting tested soon? chromatic: and then let them write the tests? pmichaud: that would certainly _help_ tickets without direction probably isn't enough so a wrangler is important okay, I'll spend an hour today with the latest pdds and identify the specific items I'd like to have tests for let's start with a couple of messages to the list before tickets get created particle: yeah, we've reached ticket overload :) tickets are useless without a higher-level wrangler. Hal Wigoda responded; I think he's interested in wrangling. (and I have a bit of experience there ;) we're getting plenty of code cleanup patches, which is *great*, but i'd really like to see tests for functionality particle: could you (Easily) create TODO stub test files? yes yes, I'll see if I can provide some feed for a wrangler to pass along to CAGE cleaners particle: that'd be great done for all pmc files already... ok shouldn't take long, and it would help with the feedback loop that allison mentioned yep it'd make it easy for people to make a one-line addition to help well, probably more like ten-line additions. :-) having a cohesive strategy for community involvement would be a great goal for chicago hackathon (live bodies) I'd rather hack software there, actually. Ew. pmichaud: :) ...before hackathon, i mean how possible would it be to get CLAs and commit bits sorted out on the spot for contributors? at the hackathon ooh, that would be fantastic, if possible. it's looking very unlikely that I'll make it to chicago. However, I can dedicate myself fully to IRC for the hackathon days except saturday allison: would you be comfortable with that? pmichaud++ assuming a gatekeeper delegate you approve of so, I won't be physically present, but I'll at least be around to answer questions and work on hacking and we've got your number if fingertips are slow I can manage CLAs at the event. yes. Saturday is the one sticky day where I'm fully committed to be elsewhere (and thus can't make it to Chicago) chromatic: thanks. but other than that I can make myself available. CLAs and commit bits on site depends on the person right: that's why I was asking about an approved gatekeeper . O { Chip will be there, right? } yes, chip is planning to be there if he approves someone I'm comfortable with that ok chromatic: come with a stack of CLAs? (er, go) what else do we have for today? (still following the general policy of only accepting committers after they've put in a quantity of sane patches) are current committers supposed to sign CLAs? yes Anyone with a commit bit should have signed a CLA. i think paul cochrane should be on the short list for a bit... his patches are quite good now * mdiep hasn't signed one yet, but will hopefully make the hackathon allison: i'll probably recommend him after applying his currently submitted patches particle: great other topics? failing that, I'll catch y'all next week thanks jesse! cya - thanks jesse % chromatic has left #parrotsketch until next week! % pmichaud has left #parrotsketch % smash has left #parrotsketch % allison has left allison!~chatzilla@sub17-30.member.dsl-only.net % mdiep has left mdiep!~matt@c-71-205-39-103.hsd1.mi.comcast.net