Camelia, the Perl 6 bug

IRC log for #parrot, 2008-09-16

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:09 AndyA joined #parrot
00:18 Tene johtest.rb is a test library.
00:18 Tene It contains functions to use in the test suite
00:18 Tene ... oh, he left.
00:18 Tene It's the same thing as rakudo's Test.pm
00:22 dalek r31167 | Whiteknight++ | trunk:
00:22 dalek : [Book] Added some sections about PGE, stubs for sections on NQP and HLLCompiler
00:22 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31167
00:31 bacek joined #parrot
00:40 rblackwe_ hello
00:40 purl hi, rblackwe_.
00:41 rblackwe_ Anyone here interested in coming to a hack-a-thon at the Pittsburgh Perl Workshop?
00:41 pmichaud me!!!!!
00:41 pmichaud :-)
00:41 rblackwe_ well yeah ...
00:41 purl well, yeah ... is nice
00:41 rblackwe_ I was looking for someone besides you :)
00:42 rblackwe_ Just went to CMU today to see the space options.
00:42 rblackwe_ and found out Jon Orwant is coming to do a talk for the CS dept :)
00:42 Whiteknight I am interested, but I probably can't make it
00:42 rblackwe_ Did not know he was working for Google now.
00:43 pmichaud rblackwe_: did you get the mail I sent last Friday?
00:43 rblackwe_ yep I am working on it right now
00:44 rblackwe_ I am a little backed up on things.
00:44 pmichaud okay great.  I forgot to get the text to you -- will do that asap
00:44 rblackwe_ no proglem
00:44 pmichaud yes, I know the feeling.  let me know if/when you need anything from my end
00:44 rblackwe_ can you just submit it in the form of talks if it is not too much trouble
00:44 pmichaud sure, no problem at all
00:44 rblackwe_ they way it will all just be in Act and eay ot schedule
00:44 pmichaud will do that a bit later tonight
00:45 rblackwe_ ok
00:45 pmichaud I'll submit the various items I have and you all can decide what you want to accept/reject/schedule :-)
00:45 rblackwe_ I think you suggest an into talk an two 50 minutes talks
00:45 pmichaud yes
00:45 rblackwe_ I think that works well.
00:46 pmichaud (based on your suggestion from last fall)
00:46 pmichaud okay, that's what I'll submit
00:46 pmichaud works very well for me
00:46 rblackwe_ great I will post something to use.perl and such but anywhere we can get the word out is great.
00:47 rblackwe_ I know already Jim K can not make it
00:48 rblackwe_ oh and Allison can not make it.
00:48 Whiteknight When is it?
00:48 pmichaud I was curious about that, too -- that's helpful to know.
00:48 rblackwe_ Oct 11 - 12
00:49 Whiteknight Oh, that's no good. I'm getting married in October, and I might get murdered if I skip town then for any reason :)
00:49 rblackwe_ Jim has some other conference and Allison is out of the country I think.
00:49 rblackwe_ heh my 2nd child was due the day before the 1st PPW.
00:50 rblackwe_ that was crazy
00:55 Zaba_ joined #parrot
00:56 TiMBuS joined #parrot
01:29 dalek r31168 | Whiteknight++ | pdd27mmd:
01:29 dalek : [Core] factor out the signature element counting routine into a separate function
01:29 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31168
01:30 Whiteknight "Error while performing action: Commit failed: 200 OK" Anybody else seeing an error like this?
01:30 Whiteknight or is my shitty SVN client just being shitty?
01:31 tetragon joined #parrot
01:31 Whiteknight because "200 OK" doesn't sound like an error message that I've ever heard of
01:31 Whiteknight in fact, it sounds like exactly the opposite of that
01:34 pmichaud Whiteknight: it's some sort of problem with the svn server, I think.  This happens from time to time on svn.perl.org
01:35 pmichaud it's just some sort of acknowledgement/handshaking problem with svn back to the client
01:40 Whiteknight okay, then I wont send an angry email to the people who make RapidSVN
01:40 Whiteknight at least, not *that* angry email :)
01:47 particle just svn up, and it merges ok
01:48 particle it's annoying, but not fatal
01:59 grim_fandango joined #parrot
02:00 Debolaz joined #parrot
02:21 dalek r31169 | jkeenan++ | trunk:
02:21 dalek : Make file conform to no trailing whitespace coding standard.
02:21 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31169
02:23 dalek r31170 | jkeenan++ | trunk:
02:23 dalek : docs/book/ch08_pct.pod:  Set SVN properties.  Add 2 files to MANIFEST.
02:23 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31170
02:25 Whiteknight damnit, I always forget that kind of stuff
02:25 dalek r31171 | jkeenan++ | nosmartlink:
02:25 dalek : Creating nosmartlink in https://svn.perl.org/parrot/branches
02:25 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31171
02:25 * Whiteknight needs to become more detail-oriented
02:31 dalek r31172 | jkeenan++ | nosmartlink:
02:31 dalek : First pass at removing smartlinks-related code.
02:31 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31172
02:31 kid51 joined #parrot
02:32 kid51 svn.perl.org is misbehaving again.  Failing to send proper completion message on 'svn ci' even though commit actually succeeded.
02:33 kid51 Have to do 'svn up' to bring sandbox into proper alignment.
02:36 Whiteknight yeah, I was complaining about that earlier :)
02:46 tetragon joined #parrot
02:48 cotto_home pmichaud, is the release safe from any future commits, or should I hold off until later Tues?
02:48 Whiteknight I have one coming in right ... now
02:48 dalek r31173 | Whiteknight++ | pdd27mmd:
02:48 dalek : [Core] more factoring of count_signature_elements function, improved code reuse. Not the prettiest code ever, I'll work on it.
02:48 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31173
02:49 cotto_home it's a past commit now
02:50 pmichaud release will be Tuesday afternoon/evening, most likely
02:51 cotto_home I'll hold off anything that might cause breakage until then.
02:52 Tene Whiteknight: I haven't seen any work on the GC in a while.  Are you giving up?
02:54 clunker9__ joined #parrot
03:06 s1n pmichaud: why the cold shoulder?
03:16 Zaba joined #parrot
03:58 pmichaud s1n: no cold shoulder intended -- didn't see the pm in the other window :-(
04:09 s1n well, i was about to head to bed, but if we can be quick about it...
04:10 s1n check your email
04:10 pmichaud (also had other family things going on that took me out of the office for quite a while)
04:11 s1n sok
04:11 pmichaud you didn't send a diff or the code you're trying to use
04:11 s1n cause it's not really ready for it yet
04:12 s1n i just need to know how to add a function that's not used by PAST stuff
04:12 pmichaud you want me to debug code without looking at it?  ;-)
04:12 pmichaud ...PAST stuff?
04:12 s1n i added a function to perl6str
04:12 s1n only called by get_number, nothing else
04:12 s1n it's not being exported to the generated C code
04:13 pmichaud well, it ought to be 'static' anyway, then.
04:13 pmichaud there are probably lots of examples in src/pmc in the Parrot root
04:13 pmichaud I'd look at src/pmc/string.pmc as an example
04:14 s1n these all look like vtable functions
04:14 s1n hmmm METHOD?
04:14 purl METHOD is a good start
04:14 pmichaud no, not METHOD
04:14 s1n hmm
04:14 pmichaud there's some examples in integer.pmc
04:15 s1n you mean overflow()?
04:15 pmichaud sure
04:16 s1n ahh, okay, that may take some working then, my functions were a great deal simpler
04:16 pmichaud no, it should work like normal
04:16 pmichaud you shouldn't need lots of special stuff
04:16 pmichaud it would be a lot easier to suggest things that are wrong if I could actually see the code, though.
04:16 s1n PARROT_INTERP?
04:16 purl PARROT_INTERP is just a pointer to an unkown type
04:16 pmichaud unless your function is making use of PARROT_INTERP, you don't need it.
04:17 s1n okay, how about i email you a patch of perl6str.c
04:17 pmichaud perl6str.c ??
04:17 pmichaud that's probably the problem then -- the code has to go into perl6str.pmc
04:17 s1n err pm
04:17 s1n pmc
04:17 s1n heh
04:17 pmichaud sure, mail me a patch of perl6str.pmc .  or nopaste it.
04:19 s1n see PM for link
04:19 s1n so those 2 new functions aren't making it to the generated C code, which is causing linker errors
04:28 Casan joined #parrot
04:28 tetragon joined #parrot
05:40 cotto_home joined #parrot
05:56 mberends joined #parrot
05:59 cotto_home is there a way to prevent attachments from appearing inline in rt?
06:07 johbar joined #parrot
06:09 cotto_home DietCoke, ping
06:12 cognominal joined #parrot
06:21 uniejo joined #parrot
06:36 dalek r31174 | cotto++ | trunk:
06:36 dalek : [prop] ignore Xlib.pbc and some make cover leavings
06:36 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31174
06:37 cotto_home hmmm.  That commit doesn't appear to have completed locally.
06:38 cotto_home blarg
06:38 cotto_home svn is indeed being stupid today
06:56 iblechbot joined #parrot
07:15 dalek r31175 | allison++ | pdd27mmd:
07:15 dalek : [cage] Clean up trailing space for coding standards test.
07:15 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31175
07:19 particle1 joined #parrot
08:24 isop joined #parrot
08:28 isop hi everyone
08:28 purl Howdy, isop, you fantastic person you.
08:30 johbar joined #parrot
08:31 braceta joined #parrot
08:32 johbar joined #parrot
08:33 barney joined #parrot
08:44 dalek r31176 | kjs++ | trunk:
08:44 dalek : [pirc/new] refactor a bit and do some optimization.
08:44 dalek : + start of implementing string reuse
08:44 dalek : + reusing invocation object, preventing allocation during runtime.
08:44 dalek : + added memory freeing functions.
08:44 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31176
08:46 isop pmichaud: ping
09:11 kj joined #parrot
09:46 isop I'm playing around with pct (specifially with pynie), anyone around to help?
09:47 kj isop: what do you want to know?
09:47 isop hrm
09:49 isop well, I'm sort of trying to figure out how it all works
09:50 isop I mean, how to use it
09:50 kj did you have a look at the PCT tutorial?
09:50 isop I'm looking at it, but I didn't actually go through it
09:51 kj well, the only way to learn about it is using it :-)
09:51 isop sort of what I'm trying to do now, though I admit doing the tutorial would probably be a good idea
09:52 kj the tutorial is updated slightly and can be found in languages/squaak/doc
09:52 kj in the parrot repository
09:53 isop ooh thanks, I was looking at your blog
09:54 moritz (that's something that I quite like in perl land - you ask something in IRC, and the author of the book or blog or the implementor answer, sometimes ;)
09:56 kj :-)
10:00 iblechbot joined #parrot
10:02 kj isop: the original tutorial was posted on parrotblog.org, and there's a quire recent post on how/why to use 'register' scope for variables.
10:02 kj anyway, for the tutorial, it's best to check out languages/squaak, as you'll have the full implementation (so you can see what it looks like. It would be cheating, though ;-)
10:17 bacek joined #parrot
10:29 bacek evening everyone.
10:33 kj hi bacek. only morning here ;-)
10:33 bacek kj: world is just not fast enough ;)
10:34 kj i have deadlines, it's going too fast already :-P
10:35 bacek heh. Deadline for my current project was just pushed forward for two month... I feel myself foolish, to work so hard for last couple of month
10:47 * bacek just filled best personal bug: #58916
10:53 * jonathan wonders who will do best personal fix
10:56 kj joined #parrot
11:02 bacek jonathan: I doesn't have commit bit. So it will be definitely not me ;)
11:03 dalek r31177 | bernhard++ | trunk:
11:03 dalek : [build] clean up languages/markdown/Makefile
11:03 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31177
11:04 moritz bacek: I'll surely apply a patch from you if it fixes the lexical issues in rakudo
11:05 bacek moritz: heh. I'm digging this atm... But this is most complicated part of parrot that I touched ever...
11:09 dalek r31178 | allison++ | pdd27mmd:
11:09 dalek : [pdd27mmd] Alter the signature for 'find_multi' and 'add_multi' so it locates
11:09 dalek : the correct candidates.
11:09 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31178
11:09 Whiteknight joined #parrot
11:51 tetragon joined #parrot
12:01 UltraDM joined #parrot
12:04 kid51 joined #parrot
12:14 kj joined #parrot
12:26 braceta joined #parrot
12:47 isop joined #parrot
13:21 gryphon joined #parrot
13:21 Zaba joined #parrot
13:28 Ontolog joined #parrot
13:32 davidfetter joined #parrot
13:33 AndyA joined #parrot
13:53 cosimo joined #parrot
14:20 xiaoyafeng joined #parrot
14:20 cognominal perl6: op::fun();
14:20 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "::fun();"␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 25225 (src/gen_grammar.pir:3009)␤called from Sub
14:20 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 23881 (src/gen_grammar.pir:2476)␤called fro...
14:21 cognominal perl6: fun()
14:21 polyglotbot OUTPUT[Could not find non-existent sub fun␤current instr.: '_block11' pc 11 (EVAL_12:11)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:481)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1078 (src/PCT/HLLCompiler.pir:610)␤called from Sub
14:21 polyglotbot ..'parrot;PCT::HLLCompiler;command_line' pc 1257 (src/PCT/HLLCompiler....
14:21 cognominal the second error makes sense, I can't make sense of the first.
14:22 pmichaud rakudo doesn't recognize lowercase namespaces yet
14:22 cognominal ok, I was using op for the namespace of wrapper to pir opcodes
14:23 pmichaud PIR:: might make more sense.
14:24 cognominal and indeed you are right, I don't need to write pir adaptor to deal with boxed types. I don't konow why I thought it was necessary
14:24 cognominal s/are/were/
14:24 cognominal adaptator?
14:24 cognominal no, adaptateur -> french,  adaptor -> english
14:25 PacoLinux adaptador -> spanish
14:41 cognominal perl6:  PIR::foo 1, 2
14:41 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "1, 2"␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 25225 (src/gen_grammar.pir:3009)␤called from Sub 'parrot;Perl6::Grammar;statementlist' pc
14:41 polyglotbot ..23881 (src/gen_grammar.pir:2476)␤called from Su...
14:42 cognominal perl6:  PIR::foo( 1, 2)
14:42 polyglotbot OUTPUT[invoke() not implemented in class 'Undef'␤current instr.: '_block11' pc 38 (EVAL_12:19)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:481)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1078 (src/PCT/HLLCompiler.pir:610)␤called from Sub
14:42 polyglotbot ..'parrot;PCT::HLLCompiler;command_line' pc 1257 (src/PCT/HLLCom...
14:42 cognominal perl6:  sub PIR::foo($a,$b) {} PIR::foo 1, 2
14:42 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "{} PIR::fo"␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 25225 (src/gen_grammar.pir:3009)␤called from Sub
14:42 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 23881 (src/gen_grammar.pir:2476)␤called f...
14:43 particle1 forgot a semicolon
14:43 cognominal particle, you talk to me?
14:43 particle perl6: sub PIR::foo($a, $b) {}; PIR::foo( 1, 2 )
14:43 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "{}; PIR::f"␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 25225 (src/gen_grammar.pir:3009)␤called from Sub
14:43 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 23881 (src/gen_grammar.pir:2476)␤called f...
14:44 particle hrmm
14:44 particle perl6: sub PIR::foo($a, $b) {1}; PIR::foo( 1, 2 )
14:44 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "{1}; PIR::"␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 25225 (src/gen_grammar.pir:3009)␤called from Sub
14:44 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 23881 (src/gen_grammar.pir:2476)␤called f...
14:44 jonathan Are you allowed a long name there?
14:44 jonathan (after sub)
14:44 particle ah, maybe not, gotta check the grammar
14:44 cognominal it seems that when I use :: in a function call identifier, I need to parenthesize.
14:44 pmichaud I don't think we support longnames yet.
14:46 particle right
14:47 cognominal with parenthesis, longname function calls work.
14:47 cognominal without it does not.
14:47 cognominal good enough for me.
14:47 particle but function definitions don't work
14:47 cognominal I don't need it.
14:49 cognominal but I am stuck with my stuff with the Scheduler I sent to jonathan. I probably clean that code and file a bug.
14:50 jonathan cognominal: Just not had time to look yet.
14:50 cognominal too bad because with I could prouve that Perl6 and Parrot  are better then POE
14:51 jonathan Things are messy here...a week before I was due to fly to Far East Perl, the airline canceled my flight...
14:51 particle eek
14:51 cognominal jonathan, walking the stack trace send me in interesting places: mutable, pmcproxy
14:51 cognominal I have yet to make sense of it.
14:52 cognominal apparently the combination of mutable and pmcproxy loose the share_ro method.
14:52 cognominal but I have yet to understand this combination.
14:52 pmichaud eek, indeed
14:53 pmichaud jonathan: it looks as though arrays and hashes will have to have Scalar (or some other Mutable) PMC elements for the containers
14:53 jonathan pmichaud: Ouch. :-(
14:53 jonathan Always?
14:53 purl it has been said that Always is good
14:54 jonathan Or can we do that lazily?
14:54 pmichaud well, for those that have been realized
14:54 pmichaud i.e., we can wait to create them until we need them
14:54 jonathan Right, so only if a reference is taken, for example?
14:54 moritz rakudo: my @a = (1, 2, 3); my $x := @a; $x = 4; say @a
14:54 cognominal indeed, I push a task on the scheduler, Task and Scheduler being Perl 6 classes I  derived from the eponym parrot pmcs.
14:54 polyglotbot OUTPUT[4␤]
14:54 pmichaud but, on the plus side, it will mean we can get rid of a lot of cloning in assignment
14:55 moritz rakudo: my @a = (1, 2, 3); my $x := @a[0]; $x = 4; say @a
14:55 polyglotbot OUTPUT[423␤]
14:55 jonathan Hmm. This could get really funky when we do compact arrays (S09)...
14:55 cognominal so if that makes sense to you, I will be happy to give you a web server à la POE.
14:56 cognominal if my code does not trigger more stuff to be done.
14:56 cognominal I am a pesky customer :)
14:56 pmichaud I'm still working out the details
14:57 jonathan OK.
14:57 pmichaud but I'm guessing that creating the container pmcs in the aggregates might be more than offset by the lack of needing to create clones for scalar assignments
14:57 pmichaud (as well as leaving us with a slightly cleaner overall model)
14:58 cognominal I will be happy that jonathan or you write a post about  mutable and Perl 6 classes derived from PMC.
14:58 cognominal the code I sent to jonathan is pure cargo cult
14:58 jonathan pmichaud: You thinking we create them as soon as an array element is assigned to?
14:58 pmichaud it also means that typed arrays become much easier, because each (container) element of the aggregate can be linked to a common type information item
14:59 jonathan Well, that wasn't going to be hard anyway - I just planned to do a check in set_pmc_keyed_int.
14:59 cognominal speaking of assignment, I have trouble making sense of the thread "How to define a new value type?" in p6l
14:59 moritz cognominal: you're not the only one
15:00 cognominal this is a kind of subject where it is very easy to start with different hidden assumptions.
15:01 pmichaud that's what my original post was intended to determine -- what are some of the assumptions?
15:02 cognominal what I don't understand is that the general agreement is to define = as the equivalent of := which bothers me
15:02 pmichaud (check in set_pmc_keyed_int)   that wouldn't be good enough.
15:02 pmichaud cognominal: that came up in an earlier thread
15:02 jonathan (that wouldn't be good enough) why?
15:03 cognominal ho, I should read more closely p6l
15:03 pmichaud sub foo($x is rw) { $x = 3; };    my Str @a = <a b c>;    foo(@a[1]);
15:03 cognominal I thought that = was copying object and not reference in Perl5. Probably because I have read too much C++ lately.
15:03 pmichaud don't forget,    set_pmc_keyed_int is a *binding* operation, not an assignment.
15:06 pmichaud cognominal: the meaning of assignment as copy reference is discussed at http://groups.google.com/group/perl.perl6.la​nguage/browse_thread/thread/4ab459051d7c381b#
15:07 pmichaud Larry's answer at http://groups.google.com/group/perl.​perl6.language/msg/3f8efc31e4830f42  is the definitive word on the subject for the moment
15:07 isop pmichaud: I'm playing around with pynie, trying to get augmented assignments working
15:08 pmichaud isop: cool.  pynie's been a bit neglected lately
15:08 isop pmichaud: does nqp have a given statement?
15:08 isop pmichaud: how should I get the right pirop for each augmented assignment op?
15:09 pmichaud isop: what do you mean by "augmented assignment"?
15:09 isop +=
15:09 isop etc
15:11 pmichaud ah.  If you want to translate those directly into pirops, then you probably need to include the signature as part of the pirop
15:11 isop what signature?
15:11 purl signature is probably invalid
15:11 pmichaud for example, 'n_add Pn'   is the two-argument form
15:11 pmichaud er, probably   'n_add P+'   there
15:11 pmichaud although perhaps it needs to be 'n_add 0P+' -- and I don't think I've implemented that form yet
15:11 pmichaud (yes, this is all undocumented)
15:12 isop yes, I've totally lost you :)
15:12 pmichaud here's an example
15:12 moritz purl, forget signature
15:12 purl moritz: I forgot signature
15:12 pmichaud if we just do :pirop('iseq'), then we get a PIR instruction that looks like    $I0 = iseq $Px, $Py
15:13 pmichaud but sometimes we want to force things into a string comparison -- i.e., what we really want is the  $I0 = iseq $Sx, $Sy instruction
15:13 pmichaud so, PAST allows the :pirop value to be augmented with a "signature" that says what sorts of arguments should be used by the opcode
15:13 isop but I do want the PMC op anyway, don't I?
15:13 pmichaud what if I want to do a string comparison of two numbers?
15:14 isop I mean in my case
15:14 pmichaud I'm explaining signatures, then I can look at your case
15:14 isop ah ok
15:14 pmichaud so, if we want to force a string comparison, we set   :pirop('iseq IS~')
15:15 pmichaud the IS~ is the "signature", saying that the return value is an I register, the first argument has to be an S register, and the next argument is anything that evaluates to a string register or a string constant
15:15 pmichaud and so PAST correctly generates an   $I0 = iseq $Sx, $Sy    instruction (converting the operands to string registers or constants as appropriate)
15:15 pmichaud so, in your case, where you're wanting to do an inplace add
15:16 pmichaud the PIR instruction for that is    add $Px, $Py
15:16 isop I think I've solved my problem
15:17 pmichaud so, we need to force PAST to generate an instruction like that by using   :pirop('add 0P+')
15:17 pmichaud the '0' means that the first argument is the result in this instruction
15:17 pmichaud the 'P' means the first argument has to be a pmc register
15:18 pmichaud the '+' means that the second argument can be any numeric value or type
15:18 pmichaud (and the '0' is unimplemented at the moment.)
15:18 isop wouldn't 'add' just work?
15:19 pmichaud PAST's default model for any instruction is to create a new register to hold the results of the operation
15:19 pmichaud since in this case you want to re-use an existing register, no.
15:20 pmichaud i.e., if we just do 'add', and the two operands are $Px, and $Py, then we'd end up with an instruction that looks like   add $Pz, $Px, $Py    where $Pz is some unique register
15:20 pmichaud so, we have to have some way to tell PAST not to generate a new register for the result, but to re-use an existing register
15:21 isop it actually looked like I had 'add' working earlier, though I have no idea what PIR it generated
15:22 pmichaud we can get close-to-that by using the 'v' return type, as in  :pirop('add vP+'), which would generate add $Px, $Py, but the result of the add instruction wouldn't be available for use  (e.g., as would be the case for    b = ( a += 3 ) ;
15:22 pmichaud yes, this is complex, but it's because PIR doesn't have a very regularized set of opcodes.
15:22 pmichaud so we have to do lots of weird mappings to make things work.
15:24 isop I don't think the result's available... I tried that in python 2.5 now and it's a syntax error
15:25 pmichaud okay, then it may not be an issue for python
15:32 cognominal my $a = Int.new; $a=666; say "$a, {$a.WHAT}"; my %a; %a{$a}= $a ; %a<i> = '0'; say "{+%a} keys";  say $_ ~ ' ' ~  .WHAT for keys %a;  say "{%a.keys}, {%a{$a}}";
15:32 cognominal 666, Int
15:32 cognominal 2 keys
15:32 cognominal 0 Int
15:32 cognominal MMD function __concatenate not found for types (97, 80)
15:32 cognominal I am not sure I am making sense of that :)
15:33 cognominal the two first result  lines are ok
15:35 isop pmichaud: this is what I tried: http://paste2.org/p/74757  of course, it doesn't work...
15:36 isop pmichaud: I'm sure I'm missing something silly...
15:36 PerlJam good morning #parrot
15:40 moritz good evening (or localtime()) PerlJam ;)
15:42 PerlJam If people are awake it's morning.  If they're asleep, it's evening.  (and since they're asleep, they're not talking, so it's never "good evening" unless you're talking to the people that won't respond on purpose)
15:44 PacoLinux joined #parrot
15:48 szbalint I sleep at night, evening is for socialization.
15:48 szbalint =)
16:03 Zaba joined #parrot
16:06 Theory joined #parrot
16:10 Wknight8111 joined #parrot
16:18 contingencyplan joined #parrot
16:24 iblechbot joined #parrot
16:24 * PerlJam just realized that it's #ps day today
16:27 * jonathan had forgotten then
16:32 Theory joined #parrot
16:37 barney joined #parrot
16:39 moritz in src/classes/Str.pir, lines 68+69
16:39 moritz tmps = new 'Perl6Str'
16:39 moritz tmps = pieces[i]
16:39 moritz that looks pretty non-sensical to me
16:40 moritz does the first line serve any purpose?
16:40 moritz rakudo: my @a = "abc".split(b): say @a[0].WHAT
16:40 polyglotbot OUTPUT[Statement not terminated properly at line 1, near ": say @a[0"␤␤current instr.: 'parrot;PGE::Util;die' pc 119 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 25225 (src/gen_grammar.pir:3009)␤called from Sub
16:40 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 23881 (src/gen_grammar.pir:2476)␤called f...
16:40 moritz rakudo: my @a = "abc".split(b); say @a[0].WHAT
16:40 polyglotbot OUTPUT[Could not find non-existent sub b␤current instr.: '_block11' pc 20 (EVAL_12:15)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:481)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1078 (src/PCT/HLLCompiler.pir:610)␤called from Sub
16:40 polyglotbot ..'parrot;PCT::HLLCompiler;command_line' pc 1257 (src/PCT/HLLCompiler.pi...
16:41 moritz rakudo: my @a = "abc".split("b"); say @a[0].WHAT
16:41 polyglotbot OUTPUT[Str␤]
16:42 isop moritz: I think the first line sets the variable, and the second line assigns it
16:43 moritz then it's weird that '=' is used in both cases
16:48 moritz removing the first line doesn't produce any test failures
16:50 PerlJam moritz: the first = is ordinary assignment, the second = is assignment via Perl6Str's assignment method
16:50 PerlJam (or something like that)
16:51 moritz PerlJam: ok, thanks
16:51 moritz (it means that currently something is severly undertested)
17:00 gryphon joined #parrot
17:16 jonathan ps is in 15 or 75 mins?
17:16 cotto_work 75
17:17 Theory joined #parrot
17:18 jonathan thanks
17:19 moritz (date -utc)++
17:19 moritz erm, --utc
17:19 cotto_work There are a bunch of bugs related to the ParrotIO PMC.  Should these wait until the IO milestone is reached?
17:19 cotto_work http://rt.perl.org/rt3/Sea​rch/Simple.html?q=parrotio
17:20 particle yes
17:20 cotto_work thanks
17:20 particle (said without looking)
17:24 moritz codetests warns "svn: 'docs/book/ch08_reference.pod' is not under version control"
17:24 moritz I think that should either be added or ignored
17:26 moritz uhm, my working copy is out of date, it seems
17:27 particle ch08 was moved to ch09 iirc
17:27 particle airport &
17:27 purl That doesn't look right. Try 'airport code for CITY' or 'airport name for CODE' instead.
17:27 particle metar ksea
17:27 purl KSEA 161653Z 36005KT 10SM CLR 18/12 A2999 RMK AO2 SLP160 T01830117
17:28 particle cool.
17:28 dalek r31179 | moritz++ | trunk:
17:28 dalek : [rakudo] first shot at Str.comb
17:28 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31179
17:30 moritz how do I compile a Perl 6 regex from within PIR?
17:31 jonathan airport name for BTS
17:31 purl I can't find an airport for KBTS.
17:32 jonathan Where'd teh K come from? :-)
17:35 moritz from KTHXBY
17:37 moritz if somebody really wants to save my day - rakudo spits out these "too few arguments passed" errors - it would be *so* nice to know on which sub or method call
17:39 jhorwitz joined #parrot
17:44 pmichaud (Str.pir)  the code is an error -- moritz is correct that the first line doesn't serve any purpose
17:46 pmichaud compile a perl 6 regex from within PIR -- for .comb you shouldn't need to
17:46 moritz pmichaud: not even for the default matcher?
17:47 pmichaud it would be better to have one pre-compiled than to (re-)compile it on each invocation :-)
17:47 moritz right
17:47 moritz but I don't know how to do that
17:47 pmichaud just do    parrot perl6.pbc --target=pir -e '/\S+/'   and grab it from there :-)
17:48 moritz is there a singleton thingy in parrot?
17:48 pmichaud and eventually I expect that most of the builtins will be written in Perl 6 with inline PIR components
17:48 pmichaud even better would be to do
17:48 pmichaud parrot perl6.pbc --target=pir -e 'token wordmatcher { \S+ }'
17:49 pmichaud that'll make it easier to find the correct sub ("wordmatcher"), and it'll be non-backtracking to boot
17:49 moritz but isn't a  token anchored?
17:49 pmichaud it won't be in this case
17:49 pmichaud PGE and Perl 6 don't yet do automatic anchoring
17:50 pmichaud besides, it's really more like being called as a subrule
17:50 moritz in which case it should even more be anchored ;)
17:50 moritz I think I'll leave the default matcher for now
17:50 pmichaud right, but the anchoring is done by the caller
17:50 moritz that can trivially be done in Perl 6 once we have Perl 6 builtins
17:50 pmichaud correct.
17:51 moritz right now I coerce the match objects to strings
17:51 moritz I should annotate that with the correspondiing RT number
18:11 dalek r31180 | pmichaud++ | trunk:
18:11 dalek : [p6object]:  Add deprecation note to DEPRECATED.pod for RT #58932.
18:11 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31180
18:15 chromatic joined #parrot
18:16 peepsalot joined #parrot
18:18 dalek r31181 | moritz++ | trunk:
18:18 dalek : [rakudo] added comment about string coercion to Str.comb
18:18 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31181
18:22 Tene I'll probably be about 5 - 10 minutes late for #ps. I'm picking up my lunch right now.
18:26 dalek r31182 | pmichaud++ | trunk:
18:26 dalek : [rakudo]: spectest-progress.csv update: 163 files, 3370 passing tests
18:26 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31182
18:26 Ivatar joined #parrot
18:27 jonathan pmichaud: I can probably fit in a Rakudo day this week. How would Thursday be?
18:27 dalek r31183 | moritz++ | trunk:
18:27 dalek : [rakudo] add tests for Str.comb to spectest_regression
18:27 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31183
18:29 rurban joined #parrot
18:30 chromatic #ps time
18:31 rurban I have a very bad WLAN connection here
18:35 smash joined #parrot
18:35 smash hello everyone
18:35 cotto_work hi, smash
18:44 chromatic Tene, your EH proposal made sense to me on initial glance.
18:45 Tene Thanks.
18:46 chromatic There may be further implications, but it looked like a useful change.
18:48 Tene Any comments on passing exception,continuation instead of exception,message to EHs?
18:49 dalek r31184 | julianalbo++ | trunk:
18:49 dalek : NEWS updated
18:49 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31184
18:50 chromatic That made sense to me too.
18:50 chromatic The message is easy to get, if you need it.
18:50 Tene Right.
18:59 particle pmichaud: the sprintf opcode was quite reliable, last time i looked. chip and i worked hard to make it so. it's well tested and fairly well documented.
18:59 Tene When we talk in here, pmichaud can't see!
18:59 * Tene gossips.
18:59 chromatic Nor can allison!
19:03 Tene So, I saw mention on the list of some parrot developer conference, hosted by google?  What's likely to happen there?  Is there any vague plan, or just throw a bunch of parrot devs together and see what happens?
19:04 particle great question to ask in #ps
19:05 cotto_work Tene: http://www.parrot.org/content/parr​ot-developer-summit-november-15-16 (no details of the agenda, though)
19:08 rurban joined #parrot
19:12 johbar joined #parrot
19:20 rurban_ joined #parrot
19:21 rurban__ joined #parrot
19:28 Zaba joined #parrot
19:29 particle rurban: you can release parrot 0.7.1 for cygwin "with patches"
19:34 slightlyoff joined #parrot
19:35 slightlyoff left #parrot
19:35 pmichaud particle:  (sprintf)  it's not a question of reliability -- I know it works.  My question is, what specification format should I use?
19:36 moritz %magic ;)
19:36 particle "should i use" -- i need more context. to meet the perl 6 spec? to get the result you know you want?
19:37 pmichaud assume that "value" is a Float PMC.   I want to convert that into a string that when compiled as a float literal in PIR will give me the same value.
19:37 rurban particle: sure. even with my branch
19:38 particle rurban: your branch should be multiple branches, especially if you're going to release from it
19:38 pmichaud i.e., I'm talking about PIR code generation here.
19:38 NotFound pmichaud: Maybe a way to define pir float values in hex will be a better solution?
19:38 particle rurban: you have many changes there unrelated to cygwin fixes
19:38 rurban particle: explain
19:38 particle ah, pir codegen. that helps.
19:38 rurban 90% is not platform stuff. it's needed for make install
19:39 rurban without make install no package
19:39 particle rurban: and languages/jvm?
19:39 purl languages/jvm is a good name
19:40 rurban (it should really be renamed to pdd30 branch)
19:40 barney renaming++
19:41 nopaste "pmichaud" at 76.183.97.54 pasted "trying to create PIR float literals from a Float PMC" (29 lines) at http://nopaste.snit.ch/14071
19:41 rurban particle: ok, that could go to trunk also
19:45 cognominal literal be thedude
19:45 purl cognominal: be thedude =is= <reply> Man, you're fucking Polish Catholic...  |<reply>Well, they finally did it. They killed my fucking car. |<reply>That rug really tied the room together. |<reply>Fuckin' Quintana... that creep can roll, man. |<reply>Nobody calls me Lebowski. You got the wrong guy. I'm the Dude, man.|<reply>He fixes the cable? |<reply>Well, I still jerk off manually.|<reply> Mr. Treehorn treats objects like women, man!
19:45 cognominal oops
19:51 rurban particle: I'll release of course without jvm
19:52 Wknight8111 be thedude
19:52 purl Mr. Treehorn treats objects like women, man!
19:53 rurban like women is a new way of saying multi-method dispatch?
19:54 moritz like women?
19:54 purl rumour has it like women is a new way of saying multi-method dispatch
19:54 rurban no we need some more AI to do the logic here
19:58 NotFound Don't let Allison see such definitions
19:59 dalek r31185 | moritz++ | trunk:
19:59 dalek : [rakudo] implement and test Str.match, cjfields++
19:59 dalek : Patch courtesy by Chris Fields. Also added him to CREDITS
19:59 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31185
19:59 rurban__ joined #parrot
19:59 jonathan f**k austrian airlines... *sigh*
20:00 chromatic It's not Austrian.  It's German.
20:00 jonathan Heh.
20:00 moritz I share your dislike for them ;)
20:00 jonathan To be fair, it's a Russian airline canceling a flight that started all of this off.
20:01 jonathan But since I booked with Austrian, and they are still selling the same route but with another Russian carrier now, you'd think they'd be interested in sorting things out.
20:01 jonathan Alas, it appears cheaper to give me a refund.
20:01 jonathan That's the only possible logic I can see in it, anyway.
20:02 moritz Don't try to mix business with logic
20:02 rurban how do I set a gdb watch+break together? break at xx:nn only when s->x == 0
20:04 cotto_work Don't go to Austria for the kangaroos.
20:05 jonathan I actually have a (bright yellow) t-shirt, with "No kangaroos in Austria" on it.
20:06 cotto_work with the kangaroo holding an Edelweiss flower?
20:09 mberends left #parrot
20:09 rurban condition is it: break src/string.c:2241 condition !s->encoding
20:11 cognominal what is the perl6 equivalent of -X  (like -d "/")  ?
20:11 rurban found the lost encoding bug: dynext.c:384 lib_pmc = Parrot_init_lib(interp, load_func, init_func)
20:12 jonathan $fh.:X
20:13 moritz or $fh ~~ :X
20:13 jonathan Isn't :X a pair there?!
20:13 jonathan That is...sick and wrong. :-)
20:13 dalek r31186 | allison++ | trunk:
20:13 dalek : [pdd] Clarifying the description of the 'throw' opcode, and the necessary
20:13 dalek : interface of thrown exceptions.
20:13 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31186
20:13 moritz jonathan: and it's less wrong to call it as a method, then?
20:16 chromatic rurban, break file:line if s->x == 0
20:17 rurban already found it, thanks
20:17 rurban it's in CONST_STRING_GEN(interp, "ROTest")
20:17 pmichaud yes, :X is a pair there.   It's just .ACCEPTS on the Pair object ;-)
20:19 jonathan pmichaud: I figured. It's just sick. :-)
20:19 jonathan In a "oh, that's beautiful" kinda way.
20:19 pmichaud Welcome to Perl 6.  :-)
20:21 pmichaud moritz:  I don't think we should change REJECTS in Code.pir to use .match
20:21 pmichaud (r31185)
20:21 cognominal you mean I need to open the file to know?
20:21 jonathan I'm slowly coming to terms with it. :-)
20:22 pmichaud :X also works on string objects
20:22 cognominal perl6: say "/".:d
20:22 polyglotbot OUTPUT[MMD function __concatenate not found for types (161, -98)␤current instr.: 'parrot;Perl6;Grammar;Actions;dotty' pc 113493 (src/gen_actions.pir:5138)␤called from Sub 'parrot;Perl6::Grammar;dotty' pc 63213 (src/gen_grammar.pir:17557)␤called from Sub 'parrot;Perl6::Grammar;postfix' pc 62414
20:22 polyglotbot ..(src/gen_grammar.pir:17253)␤called from Sub 'parrot;...
20:22 pmichaud (well, it doesn't work *yet)
20:23 pmichaud but it's defined to work on string objects
20:23 jonathan cognominal: If you need it, file an RT and someone might implement it. ;-)
20:24 cognominal my real question is different. I want to fix  http://rt.perl.org/rt3/Tic​ket/Display.html?id=57776
20:24 moritz pmichaud: looking
20:24 cognominal PIO_buf_read  needs to test in a portable way if the file is a dir and die in this case.
20:25 cognominal I don't know the portable way.
20:25 moritz pmichaud: because Code can be a sub instead of a regex?
20:25 pmichaud moritz:  yes.
20:25 cognominal I just thought that I could find it by looking at the code called by "/".:d
20:25 pmichaud cognominal: we don't implement the file test operators yet
20:26 chromatic rurban, I wonder if we don't support your default encoding.
20:26 pmichaud your better bet is to look in the parrot tests :-)
20:26 Tene pmichaud: so I can merge exceptions back into trunk after the release?
20:26 moritz pmichaud: d'oh, that was a fuzzily applied patch that should actually work on .sub 'ACCEPTS' (where it's also wrong)
20:26 cognominal I am speaking of internals here,  file test operators was just a way I thought to find the internals.
20:26 moritz pmichaud: it mostly tells us that we need more tests...
20:26 pmichaud moritz: that too.  :-)
20:27 jhorwitz pmichaud: been in my own world for a few weeks.  any word on interpolated namespaces?
20:27 * moritz tries to fix the builtin first
20:28 pmichaud jhorwitz: not yet.  It shouldn't be hard to do, once I get the tuits
20:28 pmichaud I kinda want to fix P6object's namespaces stuff
20:28 * jhorwitz looks around his office for tuits
20:28 jhorwitz ok.  reaching a milestone with mod_parrot and i'd like for the next release to not require any patches at all.  but i can wait.  :)
20:29 pmichaud I'll bump it up a bit on my queue again.
20:29 Tene jhorwitz: what milestone?
20:29 pmichaud but lexicals and scalars are really starting to get annoying.
20:30 moritz pmichaud: re scalars, you could talk to audreyt, I'm sure she has some interesting thoughts (and in contrast to the other p6l posters she actually implemented some of it)
20:30 jhorwitz Tene: each HLL is now its own apache module, letting it manage its own configuration data and hooks.
20:30 Tene Nice.
20:30 jhorwitz interpolated subroutines are what i need most.
20:31 Tene You have mod_cardinal set up yet?  Or is that available for me to try?
20:31 jhorwitz shouldn't be hard.
20:31 Theory joined #parrot
20:31 jhorwitz in fact, i can write it in 5 minutes!  LOL
20:31 Tene :)
20:31 jonathan LOL was the first line of it. He's actually going to write it in LOLCODE. ;-)
20:32 jhorwitz mod_cardinal written in LOLCODE running on mod_lolcode running on mod_parrot embedded in apache
20:32 jhorwitz i think my stack just overflowed
20:32 Tene You're a sick man, jhorwitz.
20:33 jhorwitz Tene: namespaces and objects in cardinal?
20:33 nopaste "rurban" at 88.69.9.10 pasted "src/string.c:2241: failed assertion '(s)->encoding' gdb backtrace" (49 lines) at http://nopaste.snit.ch/14072
20:33 Tene jhorwitz: what about them?
20:33 jhorwitz er, sorry.  they are supported now?
20:34 Tene Objects have been for quite a while.  I have no idea how to do namespaces in ruby.
20:34 dalek r31187 | julianalbo++ | trunk:
20:34 dalek : add method get to Row object in Mysql module
20:34 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31187
20:34 dalek r31188 | moritz++ | trunk:
20:34 dalek : [rakudo] revert parts of r31185, it broke smart matching against "normal" code
20:34 dalek : objects (ie not regexes)
20:34 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31188
20:34 jhorwitz i would hope any ruby implementation would support objects.  :)
20:34 Tene ;)
20:34 jhorwitz anyway, it shouldn't be hard.
20:34 Tene What is it that you need to do with namespaces?
20:34 rurban this deserves a ticket now
20:36 jhorwitz mod_parrot requires each HLL to define apache hooks, etc. in its own namespace
20:36 Whiteknight joined #parrot
20:36 jhorwitz ModParrot;HLL;name-of-hll
20:37 jhorwitz if you can't do it in ruby, you can do it in PIR.  just a little more work.
20:37 Tene Oh, looks like it's the "module" keyword.
20:37 jhorwitz ya
20:37 Tene I should be able to add support for that tonight, if someone harasses me about it.
20:38 Tene Also, anyone know if there are any ncigen examples yet?
20:39 jhorwitz i'm planning on trying it out once i merge this branch back in
20:42 rurban my string->encosing bug was caused by loading the wrong shared libparrot, of course. so not a blocker for the release
20:46 moritz pmichaud: I now added smart match tests of the form $iten ~~ &unary_sub to smartmatch.t, which rakudo fails (with reverted changes to Code.REJECTS)
20:56 jonathan pmichaud: Don't know if you missed my message earlier or I missed your reply - how is Thursday as a day for my Rakudo day this week?
20:57 pmichaud moritz: okay, thanks -- maybe file a ticket on it.
20:57 moritz pmichaud: will do
20:57 pmichaud jonathan: I missed your earlier message, I think.  Thursday is great.
20:58 pmichaud I'm working on documenting the various approaches to scalar/item/array/container storage that I can think of and the instances where they fail.
20:58 pmichaud so we'll come up with something by process of elimination :-)
21:00 rurban I have an idea: check the libparrot.dll at dllinit for the major.minor.patch and assert if wrong
21:00 rurban good idea?
21:00 purl rurban: Good Idea: Taking a deep breath before jumping into a swimming pool. Bad Idea: Taking a deep breath after jumping into a swimming pool.
21:00 moritz rurban: is "patch" the svn revision number? or a sub-minor release number?
21:00 pmichaud purl:  Good Idea:  Bots that are silent unless addressed.  Bad Idea:  Bots that speak up out of turn.
21:00 purl OK, pmichaud.
21:02 rurban patch is the revision number from config as I remember.
21:02 jonathan pmichaud: OK. I'm too tied up with Stuff at the moment to think straight on it. If you've got stuff written by Thursday, I'll read over it.
21:03 moritz rurban: I think it's a good scheme then
21:03 pmichaud okay.  it'll be at http://www.pmichaud.com/perl6/references.txt as it evolves
21:04 jonathan ok
21:14 cjfields joined #parrot
21:19 cjfields moritz: thanks for adding the patch (and sorry about the  .REJECTS snafu)
21:20 moritz cjfields: thanks for the patch, and no problem ;)
21:21 cjfields joined #parrot
21:23 Zaba_ joined #parrot
21:23 cjfields perl6: say '1234'.match(/\d+/)
21:23 polyglotbot OUTPUT[1234␤]
21:23 Theory joined #parrot
21:23 cjfields perl6:  '1234'.match(/\d+/).WHAT
21:23 polyglotbot OUTPUT[Null PMC access in get_integer()␤current instr.: 'parrot;PGE::Match;get_bool' pc 508 (compilers/pge/PGE/Match.pir:336)␤called from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1301 (src/PCT/HLLCompiler.pir:711)␤called from Sub 'parrot;Perl6::Compiler;main' pc 16414 (perl6.pir:172)␤]
21:25 cjfields perl6:  my $x = '1234'.match(/\d+/); say $x.WHAT;
21:25 polyglotbot OUTPUT[Str␤]
21:25 cjfields Okay, RT# 57094 still needs some work.  It's a start!
21:28 dmknopp joined #parrot
21:31 dalek r31189 | julianalbo++ | trunk:
21:31 dalek : return Undef instead of PMC NULL when no more rows in Mysql module
21:31 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31189
21:37 dmknopp joined #parrot
21:44 Khisanth joined #parrot
21:58 Infinoid cotto_work: the mingw version of "patch" is getting an assertion failure on the RT #53536 patch, and I'm not really sure how to work around that.
21:58 Infinoid so I'm having trouble testing it
21:58 Infinoid anyway, the patch was intended to work better on non-threaded unix platforms... one of my main problems at the time was finding an example of such an architecture to test on
21:58 Infinoid I'm not sure mingw's it.
21:59 particle compile a non-threading kernel?
21:59 particle i'm sure you have the time.
21:59 particle :P
22:00 Infinoid I don't think there's an option for that, at least not in linux
22:00 cotto_work can you nopaste?
22:01 nopaste "Infinoid" at 96.238.213.50 pasted "patch failure" (8 lines) at http://nopaste.snit.ch/14073
22:02 cotto_work although it looks like Andy has made some suggestions, so the patch may need to be rewritten and retested anyway.
22:02 Infinoid the message isn't terribly useful
22:02 cotto_work wow.  I broke patch.
22:02 cotto_work you might try http://rt.perl.org/rt3/Ticket/Attachmen​t/471814/219416/parrot_strerror_3.patch
22:04 cotto_work bah.  looks like there will have to be more hunting and patching before something useful emerges.
22:04 Infinoid that one crashes in the same way
22:04 Infinoid that's the paste that ships with today's version of strawberry perl... I think I just need to track down a more useful build of patch.
22:04 Infinoid s/paste/patch/
22:05 cotto_work what happens if you touch config/gen/platform/generic/strerror.c and try again?
22:06 Infinoid no touch command in mingw
22:06 cotto_work (everything except my platform)--
22:06 cotto_work (works for me)++
22:07 cotto_work I'll play with this some more later.  Thanks for helping, Infinoid++
22:07 Infinoid no problem.  strawberry perl has gotten quite easy to install, that and sliksvn were all I needed
22:14 * pmichaud does a test build for a release
22:20 dalek r31190 | Whiteknight++ | pdd27mmd:
22:20 dalek : [pdd27mmd] a few small fixes and cleanups to Parrot_PCCINVOKE and count_signature_elements
22:20 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31190
22:21 cotto_work pmichaud, got a name?
22:26 kid51 joined #parrot
22:34 teknomunk joined #parrot
22:38 Limbic_Region joined #parrot
22:39 pmichaud I'm looking at "Manu aloha"
22:39 pmichaud there's also "Psittacosaurus", although I'm not sure I want to imply that we have a dinosaur on our hands :-)
22:41 moritz but we have, haven't we? parrot is fascinating, dangerous and nearly extinct (only one parrot floating in open source space)
22:42 jonathan Plus we keep digging old bits of it up. ;-)
22:44 Whiteknight Can the release manager pick any name they want?
22:45 pmichaud I think so :-)
22:45 Whiteknight because I'm slated for december, and I have an imagination like a 4 year old
22:45 pmichaud can always ask around on the list :-)
22:45 jonathan The one time I did release, I threatened a really bad name, and Larry picked a better one. ;-)
22:45 jonathan (OK, it didn't *quite* happen like that...)
22:46 pmichaud I just picked up those two from my various travels over the summer
22:46 Whiteknight what really bad name did you threaten?
22:46 jonathan It was the release on Perl's birthday (thus why Larry chose the name)
22:46 jonathan I threatened "Happy Birdday"
22:46 * jonathan looks ashamed
22:46 Whiteknight haha
22:46 kid51 jonathan:  As well you should be ;-)
22:47 pmichaud psittacosaurus I saw at a dinosaur park (and got pictures of the dinosaur, which does look a lot like a parrot).  "Manu aloha" is a Hawaiian term for a parrot
22:47 Whiteknight both of those are very classy
22:48 moritz what about "screwed lexicals" as a release name? /me ducks deep
22:48 dalek r31191 | pmichaud++ | trunk:
22:48 dalek : Some NEWS updates.
22:48 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31191
22:49 jonathan It'd be accurate...
22:50 * Limbic_Region once named a parrot release despite not being the release manager
22:50 jonathan ...but it's not exactly specific to this release. ;-)
22:50 moritz aye
22:50 Limbic_Region or more accurately, my suggestion was the chosen one
22:50 Whiteknight or "No the garbage collector isn't fixed yet" Parrot
22:50 pmichaud 0.7.1:  "Garbage accumulation"
22:50 * moritz likes that
22:50 pmichaud 0.7.1:  "Garbage in, garbage in"
22:51 dalek r31192 | Whiteknight++ | trunk:
22:51 dalek : [Book] Add section about avoiding nasty left-recursion to the book.
22:51 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=31192
22:51 chromatic I named one release after a syphilitic ex-pirate.
22:51 Whiteknight which one?
22:51 purl THAT ONE!
22:51 Whiteknight damnit purl!
22:51 purl damnit i am a bot!!!
22:51 pmichaud I did like "Of the Carribean"  :-)
22:51 chromatic Just wait for Parrot 0.9.0
22:51 tetragon joined #parrot
22:51 Whiteknight you have a good name lined up for that release?
22:52 chromatic "From Outer Space"
22:52 Whiteknight chromatic, I wanted to talk to you, allison said you were in charge of the perl 6 book in the pugs repo
22:52 pmichaud ouch.
22:52 chromatic I think she said "He talked to someone in books at O'Reilly about Perl 6 publishing".
22:53 Whiteknight Well, that puts you in charge
22:53 moritz lol
22:53 Whiteknight because it's more then I know anybody else has talked about it
22:53 moritz I think "the community is in charge"
22:54 Whiteknight In december, maybe I'll name it "Not this christmas"
22:54 chromatic There are no concrete plans at the moment.  When we can point to a potential release data in six or eight months, we'll make a concrete plan.
22:54 moritz it was open sourced in the hope that somebody felt responsible (or just inclined)
22:54 chromatic "It's Christmas Somewhere"
22:54 Whiteknight Okay, 'cause I'm just going to jump in to working on it unless somebody has a grand plan for me to follow
22:55 Whiteknight I've got more energy then brains sometimes, remember that!
22:55 chromatic Zombie Syndrome
22:55 chromatic Web 2.0 Inflammation
22:55 chromatic Wikimediaitis
22:56 TimToady some of us would be happy to get more of either energy or brains
22:56 pmichaud ....b.r.a.i.n.s.... </zombie>
22:56 Whiteknight Maybe you have some guidance on the book, TimToady?
22:56 kid51 BTW:  Are we in a code freeze, or can I do commits to trunk?
22:56 Whiteknight I always feel like it's your department :)
22:56 TimToady "the book"?
22:56 Whiteknight the one and only
22:56 chromatic ex libris
22:57 TimToady I think I threw the book at someone
22:57 Khisanth joined #parrot
22:57 pmichaud I thought it was a coffee cup.  :-P
22:58 TimToady that's a spectator sport
22:58 chromatic The coffee cup had a book in its mouth, and when it barked, it shot bees at you.
22:58 Whiteknight Because I'm not kidding, I'm going to run off with the book and work on it like a gremlin in the dark
22:58 TimToady if you're speaking of 'essentials
22:58 Whiteknight yes, in the pugs repo
22:58 TimToady I hacked on the first chapter of the copy in the pugs repo
22:58 TimToady but feel free to hack s'more
22:58 chromatic I'd hate to get left at the altar for a book.
22:58 cognominal I think a Perl 6 book will be a massive destruction weapon that will put Mac OSX internals to shame.
22:59 chromatic Sort of like Mac OS X's POSIX compliance in that sense?
23:00 TimToady when I write a Perl 6 book, it'll be about the platonic Perl 6, not the aristotelian.  :)
23:00 cognominal especially if it integrates interfaces to various software platforms...
23:00 * moritz would like to write another Perl 6 book, but lacks competence and English skillz
23:00 cognominal good night
23:00 purl sleep well too
23:01 Whiteknight goodnight
23:01 chromatic Perl 6: your platonic programming friend
23:01 kid51 There are many (native)? English speakers here who can polish what you write.
23:01 Whiteknight me me me!!!
23:01 TimToady if you polish it it will end up with an extension of .pl
23:01 TimToady or .lp if you reverse polish it
23:02 kid51 I hear LPs are coming back
23:02 Whiteknight i dont think i can deal with that
23:02 TimToady they always come round again
23:02 chromatic honk forth love you polish
23:03 TimToady the nice thing about japanese is they don't confuse polish with polish
23:04 chromatic The nasty thing about Japanese is that they do confuse Polish with Irish, French, German, Swiss...
23:05 TimToady they're all 外人 to me
23:06 Whiteknight I only speak two languages: english and bad english
23:06 moritz U CAN HAZ SPEEK LOLSPEEK?
23:07 moritz (scnr)
23:07 Whiteknight I CAN HAZ IT GUD
23:07 TimToady it is my theory that foreigners gravitate to roppongi in tokyo because 六本木 is the only subway stop they can recognize
23:10 chromatic Or possibly it has the steepest bend in space/time at that point, at least for foreigners.
23:15 Whiteknight I had heard somewhere that the intention was for future versions of Perl5 to eventually be ported to Parrot
23:15 chromatic That'd have many advantages.
23:26 TiMBuS joined #parrot
23:39 teknomunk joined #parrot

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

Parrot | source cross referenced