Parrot 0.9.0 "From Outer Space" Released | parrot.org/
Set by moderator on 21 January 2009.
00:09 AndyA joined 00:29 contingencyplan joined 00:30 skv joined
dalek r35979 | Whiteknight++ | branches: 00:42
: branch hasn't been used yet, and is getting stale. We'll create a different branch for this later when we're ready
review: www.parrotvm.org/svn/parrot/revision?rev=35979
00:59 Whiteknight joined
Coke You can't ping an http url. 01:03
Whiteknight: do you have a sample using the interpreter .hll_map method similar to my original posting using .hll_map ? 01:05
Whiteknight oh yeah, let me post it to the ticket
ETRACTOOSLOW 01:07
Coke no joke.
back now.
Whiteknight ping trac.parrot.org 01:08
purl 10 packets transmitted, 10 received, 0% packet loss, time 8998ms, rtt min/avg/max/mdev = 78.817/80.015/88.549/2.861 ms
Whiteknight ...goood
NotFound Coke: I nopasted it some hours ago
Coke: nopaste.snit.ch/15412 01:09
Coke NotFound: thanks.
NotFound Uh, no...
Ah, yes.
Coke =-)
Whiteknight: please still add it to the ticket. =-)
NotFound Is late night in CET 01:10
Whiteknight I just did add it to the ticket 01:11
NotFound++
karma whiteknight
purl whiteknight has karma of 614
Whiteknight karma NotFound
purl notfound has karma of 64
NotFound karma numbers are also always even? ;) 01:12
purl numbers are also always even? ;) has neutral karma
Whiteknight (my wife wanted me to explain what karma was, so I showed her)
purl, you're retarded
purl Whiteknight: i'm not following you...
Whiteknight purl, whiteknight?
purl whiteknight is really looking forward to redoiing all the calling conventions nonsense or not bot savvy
NotFound purl: do you use twitter?
purl notfound: i don't know
Whiteknight purl forget whiteknight
purl Whiteknight: I forgot whiteknight
Whiteknight purl whiteknight is mailto:wknight8111@gmail.com 01:13
purl OK, Whiteknight.
Whiteknight purl, whiteknight is also the grand master funk
purl okay, Whiteknight.
Whiteknight :)
NotFound karma julianalbo
purl julianalbo has karma of 314
NotFound I'm jealous of myself X-)
Whiteknight karma wknight8111 01:14
purl wknight8111 has karma of 13
Whiteknight whiteknight?
purl whiteknight is mailto:wknight8111@gmail.com or the grand master funk
NotFound julianalbo?
Whiteknight NotFound?
purl well, NotFound is julian albo
Whiteknight very nice purl, very helpful 01:15
NotFound purl: julianalbo is NotFound
purl OK, NotFound.
NotFound purl: forget NotFound
purl NotFound: I forgot notfound
NotFound purl: NotFound is Julián Albo <julian.notfound@gmail.com>
purl OK, NotFound.
NotFound Good bot, take a cookie 01:16
purl :)
Whiteknight botsnack
purl :)
Coke is failing to make the small sample from notfound work for tcl. 01:28
NotFound Coke: it fails, or just not work as expected? 01:32
Coke it seems to have no effect. 01:34
of course, I've got load_bytecode, and .includes before getting to this bit.
Coke is trying to complicate the example to figure out where it's failing. 01:35
GeJ Good morning everyone
Coke NotFound: found it. 01:37
... no i didn't. still checking 01:38
NotFound: probably something stupid on my end. will try again in a bit. 01:39
NotFound How can I call the parent vtable from an vtable override? 01:42
Coke NotFound: moment. 01:43
NotFound: code.google.com/p/partcl/source/bro...st.pir#250 01:44
shorten Coke's url is at xrl.us/bea6et
Coke but it doesn't work for all vtable entries.
NotFound Thanks. The example wroks with a more complex RPA class, 01:47
An overrided get_pmc_keyed_int is called from joe 01:49
02:03 kid51 joined
NotFound Coke: that's funny, the keyed getattribute does the same as not keyed. Both class and pmcproxy use default vtable get_attr_keyed 02:11
dalek r35980 | allison++ | trunk/docs/resources: 02:14
: [doc] Clean up line spacing in generated HTML docs.
review: www.parrotvm.org/svn/parrot/revision?rev=35980
NotFound Ummm... no, the object pmc is the implied, but the result is the same :? 02:17
Too late, going to sleep
02:51 ask_ joined 03:17 skv joined 03:32 skv joined
dalek r35981 | allison++ | trunk/lib/Parrot/Docs (2 files): 03:40
: [doc] Remove links to page top from generated HTML docs.
review: www.parrotvm.org/svn/parrot/revision?rev=35981
03:59 ask_ joined
dalek r35982 | cotto++ | trunk/t/tools/pmc2cutils: 04:04
: [t] force some pmc2c tests generate .dump files (TT #219)
review: www.parrotvm.org/svn/parrot/revision?rev=35982
r35983 | allison++ | trunk/docs: 04:27
: [doc] Cleaning up Parrot release history.
review: www.parrotvm.org/svn/parrot/revision?rev=35983
Coke NotFound: found the problem; it's getting the tcllist, but it's not got any of the vtable overrides I've defined. 05:04
almost like it took a snapshot of the class when I registered it. 05:05
... which is probably because chromatic just fixed parrot to distinguish between classes created in different HLLs. 05:09
which makes doing the mapping much harder now. 05:12
I want TclList to be in the HLL_map; I don't want to expose the TclList namespace to the user.
(with it exposed, though, I'm finally passing tests again. NotFound++) 05:15
(not all the tests, though. ah well.) 05:17
whee, segfaults. 05:31
purl No whammies!
05:32 skv joined
Coke message chromatic regarding converting a tcl PMC to a PIR subclass; the primary test file for procesing this PMC runs in 3.3s before the conversion. 3.4s after; so, no speedup (again). I can't believe I let myself try to optimize for speed again without a profiler. 05:35
purl Message for chromatic stored.
06:12 ask_ joined
coke_reboot 06:13
06:17 DietCoke joined 06:35 HG` joined 07:22 ChrisDavaz joined
dalek r35984 | cotto++ | trunk/t/tools/pmc2cutils: 07:31
: [t] fix the remaining failing tests caused by implementing ATTR inheritance
: This closes TT #219.
review: www.parrotvm.org/svn/parrot/revision?rev=35984
cotto alright. Now to get back to work changing important code. 07:34
dalek r35985 | cotto++ | trunk/t/tools/pmc2cutils: 07:40
: [t] undo some accidentally committed code
review: www.parrotvm.org/svn/parrot/revision?rev=35985
cotto or maybe now 07:41
purl maybe now is a good time to tap into their phone line.
cotto purl++ #leaving much to the imagination
What's be a good name for the place where an array stores its elements? 08:08
s be/d be/ 08:09
08:12 alvar joined
cotto items? 08:25
purl rumour has it items is around, regardless of what the class was named
cotto meh
09:08 clunker3 joined 09:13 ChrisDavaz joined 09:16 skv joined
cotto (VTABLE functions)++ 09:20
09:37 Zaba joined 09:55 barney joined 10:08 iblechbot joined 10:11 bacek joined 10:19 Gerd joined 10:23 Gerd left
dalek r35986 | bernhard++ | trunk/src: 10:36
: [codingstd] c_parens.t and linelength.t
review: www.parrotvm.org/svn/parrot/revision?rev=35986
r35987 | bernhard++ | trunk (3 files): 10:38
: [lazy-k] Add a Configure.pl
review: www.parrotvm.org/svn/parrot/revision?rev=35987
r35988 | bernhard++ | trunk/languages/unlambda/config/makefiles: 10:52
: [unlambda] update 'help' target
review: www.parrotvm.org/svn/parrot/revision?rev=35988
10:52 skv joined
dalek r35989 | bernhard++ | trunk (5 files): 10:53
: [lazy-k] Generate lazy.pbc and use it for testing
review: www.parrotvm.org/svn/parrot/revision?rev=35989
cotto I love the smell of segfaults in the morning. 10:59
dalek r35990 | bernhard++ | trunk/languages (4 files): 11:34
: [lazy-k] give up on unified languages testing for lazy-k, run tests in hll dir
review: www.parrotvm.org/svn/parrot/revision?rev=35990
11:34 alvar joined
dalek r35991 | cotto++ | trunk/src/pmc (2 files): 11:37
: [pmc] get rid of UnionVal in *FloatArray
review: www.parrotvm.org/svn/parrot/revision?rev=35991
r35992 | bernhard++ | trunk (10 files): 11:38
: [lazy-k] Put the example scripts into the new dir 'examples'
review: www.parrotvm.org/svn/parrot/revision?rev=35992
r35993 | bernhard++ | trunk (2 files): 11:40
: [lazy-k] test.sh is not needed
review: www.parrotvm.org/svn/parrot/revision?rev=35993
11:51 masak joined 11:56 skv joined 12:00 Zaba joined
dalek r35994 | bernhard++ | trunk (5 files): 12:01
: [lazy-k] Merge t/calc.t and t/cat.t into t/examples.t.
: Bring lazy-k back into unified languages testing.
review: www.parrotvm.org/svn/parrot/revision?rev=35994
12:09 namenlos joined
masak pmichaud: [perl #62704] and [perl #62730] are showstoppers for me right now. 13:24
13:32 jan joined, skv joined 14:16 Whiteknight joined
dalek r35995 | julianalbo++ | trunk/examples/pir: 14:21
: pirric: change internal method name conventions, add NEW instruction
review: www.parrotvm.org/svn/parrot/revision?rev=35995
14:23 Zaba joined 14:54 kid51 joined 14:56 bkuhn joined, skv joined
Whiteknight rakudo: my Int $x = 5; $x.perl.say; 15:06
polyglotbot OUTPUT[5␤] 15:07
Whiteknight rakudo: my @x = (1,2,3); @x.perl.say;
polyglotbot OUTPUT[[1, 2, 3]␤]
Whiteknight rakudo: my @x = [1,2,3]; @x.perl.say;
polyglotbot OUTPUT[[[1, 2, 3]]␤]
Whiteknight rakudo: my @x = {1,2,3}; @x.perl.say;
polyglotbot OUTPUT[[{ ... }]␤]
Whiteknight rakudo: my %x = {:first(1),:second(2),:third(3)}; %x.perl.say;
polyglotbot OUTPUT[{"first" => 1, "second" => 2, "third" => 3}␤]
Whiteknight rakudo: my %x = (:first(1),:second(2),:third(3)); %x.perl.say; 15:08
polyglotbot OUTPUT[{"first" => 1, "second" => 2, "third" => 3}␤]
Whiteknight rakudo: my %x = [:first(1),:second(2),:third(3)]; %x.perl.say;
polyglotbot OUTPUT[Odd number of elements found where hash expected␤current instr.: 'parrot;Perl6Hash;!STORE' pc 7488 (src/classes/Hash.pir:154)␤called from Sub '_block14' pc 141 (EVAL_15:51)␤called from Sub '!UNIT_START' pc 18152 (src/builtins/guts.pir:321)␤called from Sub 'parrot;PCT;HLLCompiler;eval' pc 950
..(src/PCT/HLLCompiler.pir:527)␤called from Sub '...
15:10 gravity joined
Whiteknight rakudo: my %x = ["first" => 1, "second" => 2, "third" => 3]; %x.perl.say; 15:11
masak Whiteknight: you might know this already, but @x = [1,2,3] and %x = { :first(1) } both create one layer of container too many.
polyglotbot OUTPUT[Odd number of elements found where hash expected␤current instr.: 'parrot;Perl6Hash;!STORE' pc 7488 (src/classes/Hash.pir:154)␤called from Sub '_block14' pc 159 (EVAL_15:57)␤called from Sub '!UNIT_START' pc 18152 (src/builtins/guts.pir:321)␤called from Sub 'parrot;PCT;HLLCompiler;eval' pc 950
..(src/PCT/HLLCompiler.pir:527)␤called from Sub '...
Whiteknight rakudo: my %x = ("first" => 1, "second" => 2, "third" => 3); %x.perl.say;
polyglotbot OUTPUT[{"first" => 1, "second" => 2, "third" => 3}␤]
masak Whiteknight: even the parens are optional.
Whiteknight masak: yeah, I'm just experimenting with them all to see current behavior
masak oki. 15:12
Whiteknight [] creates an array ref object, and {} creates a hash ref, right?
Or is that me thinking about Perl 5?
my %x; %x<first> = 1; %x.perl.say; 15:13
rakudo: my %x; %x<first> = 1; %x.perl.say;
polyglotbot OUTPUT[{"first" => 1}␤]
masak Whiteknight: {} creates a hash ref under certain circumstances. and we don't usually use the bad word "ref" in the Perl 6 world. 15:14
we just call it a hash.
Whiteknight yeah, that's what I was thinking
rakudo: my $x = (1, 2, 3); 15:15
polyglotbot RESULT[[1, 2, 3]]
Whiteknight oh right, I should produce some kind of output with that
masak otherwise the Perl 6 bot will default to printing the value of the last statement. 15:18
15:33 jimk joined 15:50 Hunger joined, skv joined
dalek r35996 | julianalbo++ | trunk/examples/pir: 15:54
: [pirric] added GETPARROTINTERP function and -p command line option
review: www.parrotvm.org/svn/parrot/revision?rev=35996
15:58 tetragon joined 16:08 gryphon joined
Coke_z ponders writing a summary of trying to convert the tcl list PMC into a PIR subclass, and suspect it would just come off all ranty. :| 16:17
Coke *suspects
NotFound Coke: Did you already solved all problems? 16:19
Coke NotFound: no. 16:20
IMO, both a pir class and a PMC should work the same; they don't, in many respects. and as it turns out, it was a complete waste of time for me to do the switch, as the resulting class is slower than the PMC.
(which is one of 2 main reasons I attempted the switch in the first place.) 16:21
(the other being to simplify the code; for these PMCs, the resulting PIR is often much easier to read.)
once I saw the speed comparison, I lost much of my incentive to fix the remaining PIR subclass issues. 16:22
jimk Coke: Am working on trac.parrot.org/parrot/ticket/223
jimk is really kid51; need to change identity 16:23
jimk nods at #parrot and gives him a small kipper
Coke jimk: danke.
16:24 kid51 joined
kid51 is back 16:24
Coke: Can I pose you some questions that may be relevant to TT 223?
NotFound Coke: if you write the summary, we can take a look at the things that doesn't work the same and see if they can be fixed. 16:25
kid51 Coke (or anyone): Do we still have any source files known as const*.pmc? Such as: src/pmc/constexception.pmc ? 16:32
NotFound kid51: I don't see any 16:33
kid51 At the point in time when I began to write tests for the configuration system, we did have such pmcs.
And there is one statement in config/auto/pmc.pm which depends on whether a particular pmc is a ^const pmc or not. 16:34
const pmcs seem to be something Leo worked on back in the mists of time.
But if don't have them any more -- and aren't going to have them -- then that statement in auto::pmc can be excised, which would in turn eliminate some of the code in t/steps/auto_pmc-01.t to which Coke objects. 16:35
That's question #1. 16:36
16:46 Tene joined
Coke kid51: all core pmcs are in src/pmc/*.pmc 16:46
if there's no const stuff, then when it was ripped out, no one knew enough to rip out the tests for it. 16:47
kid51 There is one oblique reference to constant PMCs in docs/pdds/pdd17_pmc.pod
Coke NotFound: there are tickets opened for 2 of the big ones already. 16:48
kid51 =item singleton
The PMC is a singleton, created in the constant PMC pool.
Coke constant there refers to the pool.
not a particular type of PMC. 16:49
(at least, that's my understanding)
kid51 okay, then that will enable us to eliminate one of the two long lists in t/steps/auto_pmc-01.t 16:50
Now, the second question. The other list of dummy PMCs in t/steps/auto_pmc-01.t exists so as as to test the --pmc option to Configure.pl.
dalek r35997 | rurban++ | trunk/config/gen/makefiles: 16:51
: Fix TT #225, make perl6 installable
: - add make installable_perl6 to make installable target
review: www.parrotvm.org/svn/parrot/revision?rev=35997
kid51 i.e., if an option to Configure.pl exists, it ought to be tested. Where test it? In the configuration step that uses that option.
NotFound Kill the option 16:52
kid51 So we need to demonstrate, at least in a formal sense, that config/auto/pmc.pm DTRT when the user provides her own list of PMCs to Configure.pl. 16:53
NotFound: Well, that's one possible approach.
NotFound Testing and maintaining options that no one use nor plan to use is a waste of tim
time 16:54
kid51 My philosophy when writing those tests was: Assume that our Parrot ancestors knew what they were doing re configuration functionality. Hence, preserve such functionality but make sure all nooks and crannies are exercised during testing.
16:54 gryphon joined
kid51 But I don't know/understand under what circumstances someone would use the --pmc option. 16:54
NotFound And I don't see why one might want to build without some core pmc. They are core for some reason, isn't it? 16:55
kid51 True, but that option would not have been put there if at some point in time, someone somewhere felt there was a good reason to build with a user-selected list of PMCs. 16:56
So eliminating the --pmc option would, at bare minimum, require an RFC-type TT and a deprecation cycle if accepted. 16:57
NotFound kid51: if that people does not remember or is no longer involved in parrot development, maybe his reasons were not good enough ;) 16:58
kid51 All of which is beyond the scope of TT 223.
17:13 rurban joined
dalek r35998 | jkeenan++ | trunk/config/auto: 17:13
: Population of $pmc_list is better handled as a branch (using ternary op) rather than as a condition (using || op).
review: www.parrotvm.org/svn/parrot/revision?rev=35998
17:14 skv joined
dalek r35999 | jkeenan++ | trunk/config/auto: 17:14
: For consistency with other config step classes, move runstep() to sit immediately after _init().
review: www.parrotvm.org/svn/parrot/revision?rev=35999
rurban stm_start FATAL: not in ops.num nor ops.skip 17:15
sorry, make realclean fixed it. 17:17
NotFound installed parrot_config is linked with build tree libparrot, not with installed libparrot 17:21
rurban which platform? 17:22
purl I'm running on OS/2 on an Atari, can you help?
NotFound Linux i386
rurban is it the install_parrot_config binary or the installed parrot_config binary?
NotFound The installed one 17:23
rurban because the install perl script often has problems with wrong MANIFEST files.
it could be that the ./parrot_config was wrongly copied
the logic is first copy all binaries, and then if found the installables 17:24
if the installable is missing the wrong one is installed
without warning or error
Are you sure you did make installable before make install? 17:27
NotFound Oh, nice, yet ahother important thing no one cares to document? 17:28
Looks like the Makefile take care of that
rurban I would really fix install_files.pl not copying any [main]bin without installable prefix 17:29
The makefile has that dependency, right. But you might forget it calling it standalone. 17:30
perl6 is another candidate friend. I just fixed that in trunk 17:31
rpath is also not yet right for the installables, see tt#208 17:42
purl okay, rurban.
17:42 Vetinari joined
NotFound Looks like libparrot_ldflags from config is used to build it, and it has the value for the build tree 17:42
17:43 barney joined
rurban yes 17:43
I just wanted to fix that but got distracted 17:44
NotFound Maybe will be easier and more consistent to compile and link the installable from the Makefile, letting pbc_to_exe just to generate the .c file 17:45
rurban hmm
why not 17:46
17:50 Theory joined, skv joined 17:54 skv joined
Whiteknight Would it make sense for every non-method subroutine to have "self" reference the subroutines Sub PMC? 18:05
actually, I take that back. That would get confusing I think 18:07
dalek r36000 | jkeenan++ | trunk (2 files): 18:11
: Per discussion in trac.parrot.org/parrot/ticket/223, in
: config/auto/pmc.pm eliminate test
: for PMC files with names beginning 'const' -- we don't have them any more --
: and eliminate tests in auto_pmc-01.t testing for such files.
review: www.parrotvm.org/svn/parrot/revision?rev=36000
18:14 skv joined
dalek r36001 | jkeenan++ | trunk/t/steps: 18:16
: Provide explanatory inline comment.
review: www.parrotvm.org/svn/parrot/revision?rev=36001
kid51 Whiteknight: Agreed that that would be confusing. 18:22
18:36 Hunger joined
moritz I have a passing TODO test, t/pmc/os.t test 15 18:40
erm, 17
am I the only one?
NotFound moritz: same here 18:42
moritz let's ask the other way round - are there any platforms on which it doesn't pass? 18:43
NotFound moritz: that thing makes no sense. How can it unlink a link that it has been unable to create? 18:50
moritz with magic? ;-)
18:50 skv joined
barney Looks like smolder, smolder.plusthree.com/app/public_pr...reports/8, doesn't answer that easily 18:50
shorten barney's url is at xrl.us/beaqvk
NotFound moritz: by lack of logic. The 'tools' directory actually has 8 links 18:51
No wonder that check for more than 3 gets true
18:52 skv joined
NotFound Uh, no, lack of perl knowledge from me %-) 18:53
Even better, greater than 1 18:54
But, what is the point of testing a thing that will never work? 18:55
moritz it seems pretty pointless to have a test that usually don't work on most platforms
right
on my machine even root can't create directory hard links 18:56
NotFound moritz: i think that there is no unix filesystem that allow that.
Rahly or linux 18:58
NotFound And don't even talk about FAT systems X-)
moritz they don't even support soft links ;) 18:59
Rahly they don't even have support for proper filenames 19:03
NotFound We must write a new filesystem, in order to be able to test that feature X-) 19:04
Someone wants to open a ticket for that X-) 19:05
dalek r36002 | bernhard++ | trunk/src/pmc (2 files): 19:06
: [codingstd] trailing_space.t
review: www.parrotvm.org/svn/parrot/revision?rev=36002
NotFound www.usenix.org/events/hotdep06/tech...node8.html --> According to this, there must be some Unix that allows it 19:07
shorten NotFound's url is at xrl.us/bedq6a
NotFound lists.apple.com/archives/darwin-dev...00029.html --> And this says that apple OS X has it 19:09
shorten NotFound's url is at xrl.us/bedq6i
dalek r36003 | bernhard++ | trunk (8 files): 19:14
: [unlambda] Moved to github.com/bschmalhofer/unlambda/
review: www.parrotvm.org/svn/parrot/revision?rev=36003
r36004 | julianalbo++ | trunk (5 files): 19:21
: fix count_eh opcode and add test for it, TT #212 rg++
review: www.parrotvm.org/svn/parrot/revision?rev=36004
19:23 geof joined 19:25 Whiteknight joined
dalek r36005 | bernhard++ | trunk (6 files): 19:32
: [lazy-k] Moved to git://github.com/bschmalhofer/lazy-k.git
review: www.parrotvm.org/svn/parrot/revision?rev=36005
r36006 | bernhard++ | trunk (2 files): 19:36
: [codingstd] regenerate MANIFEST and MANIFEST.SKIP
review: www.parrotvm.org/svn/parrot/revision?rev=36006
r36007 | julianalbo++ | trunk/t/pmc:
: fix fake positive in t/pmc/os.t
review: www.parrotvm.org/svn/parrot/revision?rev=36007
19:38 ask_ joined 19:59 Whiteknight joined 20:12 skv joined
dalek r36008 | julianalbo++ | trunk/languages/ecmascript/src/builtin: 20:20
: [ecmasript] make the print builtin behave as in SpiderMonkey js shell
review: www.parrotvm.org/svn/parrot/revision?rev=36008
20:21 Zaba joined 20:24 kj joined 20:42 Theory joined 20:48 alvar joined 20:49 Zaba_ joined
moritz if anybody is interested, I have a complete read-only git mirror of parrot here: git://timtowtdi.org/parrot 20:49
the mirror is updated every 20 minutes 20:50
(but I don't know if you can easily git-svn dcommit because it uses a mirror of the parrot svn repo, not the original) 20:51
... and it seems the update isn't working. Ignore me... 20:57
21:00 Vetinari left 21:01 Zaba joined
dalek r36009 | julianalbo++ | trunk/languages/ecmascript/src/builtin: 21:08
: [ecmascript] add 'quit' builtin like SpiderMonkey js shell
review: www.parrotvm.org/svn/parrot/revision?rev=36009
21:17 Zaba joined 21:18 chromatic joined
dalek r36010 | julianalbo++ | trunk/languages/ecmascript/src/builtin: 21:24
: [ecmascript] add 'readline' builtin like SpiderMonkey js shell
review: www.parrotvm.org/svn/parrot/revision?rev=36010
GeJ Good morning everyone
Whiteknight Good morning GeJ 21:34
21:34 skv joined
GeJ hello Whiteknight. 21:37
Whiteknight I haven't heard anything about your CLA, have you?
Any of the P6 people around? 21:44
moritz I know Perl 6, but I don't really hack rakudo 21:45
do I qualify? ;-)
Whiteknight I'm trying to figure out what's going on in src/classes/Object.pir 21:46
Like what's the difference between .hash and .Hash, for instance (or is there not any difference)?
moritz I can't comment on that 21:48
kj it seems that there's a method tailcall going on over there. I thought they were broken.. 21:49
hi , btw :-)
GeJ Whiteknight: not yet either. But living on a small island in the middle of nowhere, I wouldn't be surprised if the CLA didn't make it to WA yet.
Whiteknight GeJ, where do you live? 21:55
I'm also trying to figure out where .HOW is defined 22:00
rakudo: my $x = 5; $x.HOW.say 22:03
polyglotbot OUTPUT[Could not locate a method 'say' to invoke on class 'P6metaclass'.␤current instr.: 'die' pc 16767 (src/builtins/control.pir:204)␤called from Sub 'parrot;P6metaclass;dispatch' pc 311 (src/classes/ClassHOW.pir:149)␤called from Sub '_block14' pc 117 (EVAL_16:49)␤called from Sub '!UNIT_START' pc
..18152 (src/builtins/guts.pir:321)␤called from Su...
Whiteknight rakudo: my $x = 5; $x.HOW.perl.say;
polyglotbot OUTPUT[Could not locate a method 'perl' to invoke on class 'P6metaclass'.␤current instr.: 'die' pc 16767 (src/builtins/control.pir:204)␤called from Sub 'parrot;P6metaclass;dispatch' pc 311 (src/classes/ClassHOW.pir:149)␤called from Sub '_block14' pc 117 (EVAL_15:49)␤called from Sub '!UNIT_START' pc
..18152 (src/builtins/guts.pir:321)␤called from S...
GeJ Whiteknight: New Caledonia, a tiny set of islands lost somewhere on the north-east of Australia. 22:04
And I would be suprised if mail to the US would be carried by sea turtles.
Whiteknight GeJ: Wow! That's quite out of the way.
Have you ever been to the isle of pines? 22:06
I've always wanted to go myself, seems to be the source of some amazing photography 22:07
GeJ Went there the first time I came here. "amazing" is correct. if only I hadn't left my bag (with my camera in it) on the beach while I went snorkling I may have had pictures of the trip :/ 22:10
Whiteknight So what brought you all the way out to New Caledonia? Job? Family?
GeJ A fair trade with my girlfriend. I brought her with me for 2 years in Germany. For some reason, she didn't quite enjoy winters with 10 inches of snow. So I decided to follow her back to her place. 22:12
moritz wow. Fair trade indeed ;) 22:14
GeJ we've been here 2 years and a half already. And for sonme reason I don't miss winters with 10 inches of snow so much. :) 22:17
moritz how did your first Christmas in the Summer feel? 22:18
Whiteknight Urg, tell me about it. We're having a terrible winter here in PA. Freezing damn cold
GeJ but I confess that I miss a Schneeballschlacht from now and then with my former boss.
bacek good morning 22:23
GeJ heya bacek 22:24
bacek hi GeJ
moritz bacek: if you commit tests to pugs repo that die on rakudo, please #?rakudo skip them, not just todo them 22:28
bacek moritz: oh. Sorry. It actually passed on my Rakudo :)
moritz: around? 22:41
moritz bacek: yes
bacek moritz: will you mind to apply my patch from #61610? One element List.redure
reduce
bacek needs more coffee
22:42 kid51 joined
bacek rakudo: say "foo" ~~ ["foo", "bar"] 22:43
polyglotbot OUTPUT[Non-dwimmy hyperoperator cannot be used on arrays of different sizes or dimensions.␤current instr.: 'die' pc 16767 (src/builtins/control.pir:204)␤called from Sub '!HYPEROP' pc 15914 (src/builtins/assign.pir:373)␤called from Sub 'parrot;List;ACCEPTS' pc 5539 (src/classes/List.pir:103)␤called
..from Sub '_block14' pc 102 (EVAL_16:46)␤called f...
moritz bacek: looking at it right now...
bacek moritz: ok
there is another patch coming to #62742. I even added tests in spectest :) 22:44
kid51 GeJ: Do you have any patches currently in need of review? 22:45
moritz bacek: so with the patch one-item lists warn with .reduce, and without it they don't?
bacek moritz: not actually. Without it doesn't work correctly 22:46
GeJ kid51: nope. not currently. I have been forced to put my Parrot activity on the side for now. $life got in the way.
bacek but yes, it produces warn about uninitialised vars
rakudo: say (1).reduce: { $^a * $^b }
kid51 Note apropos earlier discussion of t/pmc/os.t: I, took, was getting the passing TODOed test in t/pmc/ost.
polyglotbot OUTPUT[1␤]
kid51 ... err, t/pmc/os.t. But it's not yet passing on Darwin. 22:47
GeJ kid51: and the fact that I answer on IRC is just because it happens that I have 3 vim opened in the same desktop as my irssi.
but otherwise, I'm busy... for real. :)
GeJ &
chromatic Anyone online right now want a Coverity account who doesn't have one? 22:48
kid51 Coverity? 22:49
purl somebody said Coverity was a commercial tool for Automated Error Prevention and Source Code analysis, See, www.coverity.com/main.html or it has been used to measure the quality of the LAMP stack and other major source projects
kj chromatic: would it be useful if you're on windows? 22:50
moritz bacek: now I see the difference... but is the new behaviour actually specced? it seems counter-intuitive, and perl5's List::Util::reduce does it the "old" way 22:51
bacek thinking...
purl Oooh he is soooo fine!!!
chromatic Yes, they run the scans on their computers; we just use a web application to read the reports. 22:52
kj chromatic: ok, cool. Can you help me with that?
chromatic Sure thing.
kj great, thanks 22:53
bacek rakudo: say 1*undef
polyglotbot OUTPUT[Use of uninitialized value␤0␤]
bacek rakudo: my @a=(1); say @a.shift * @a.shift
polyglotbot OUTPUT[Undefined value shifted from empty array␤0␤]
kid51 looks at Coverity site
chromatic: Which aspects of Coverity do we use, or might we use? 22:54
chromatic We read the report and figure out if they've indentified real errors. 22:55
22:56 hudnix joined, skv joined
kid51 which particular report? 22:57
bacek moritz: heh. Patch is actually wrong... 23:00
NotFound kid51: the passed todo was a failure on the test. 23:02
bacek rakudo: say (1..2).reduce: { "$^a-$^b-$^c" } 23:08
polyglotbot OUTPUT[Use of uninitialized value␤1-2-␤]
dalek r36011 | Whiteknight++ | trunk/docs/book: 23:09
: [Book] Added some stuff about hll mapping
review: www.parrotvm.org/svn/parrot/revision?rev=36011
Whiteknight rakudo: say (1..9).reduce: { "$^a-$^b-$^c" } 23:10
polyglotbot OUTPUT[1-2-3-4-5-6-7-8-9␤]
Whiteknight rakudo: say (1..9).reduce: { "$^a-$^b }
polyglotbot OUTPUT[Unable to parse block; couldn't find final '}' at line 1, near "\\"$^a-$^b }"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤called from Sub 'parrot;Perl6;Grammar;block' pc 29774 (src/gen_grammar.pir:2481)␤called from Sub 'parrot;Perl6;Grammar;pblock'
..pc 29094 (src/gen_grammar.pir:2219)␤called from S...
Whiteknight rakudo: say (1..9).reduce: { "$^a-$^b" } 23:11
polyglotbot OUTPUT[1-2-3-4-5-6-7-8-9␤]
moritz rakudo: say (1..9).reduce: { "$^a-$^b|$^c" }
polyglotbot OUTPUT[1-2|3-4|5-6|7-8|9␤]
chromatic kid51, there's just one Coverity report, on their web site.
Whiteknight rakudo: say (1..9).reduce: { $^a + $^b }
polyglotbot OUTPUT[45␤]
Whiteknight so reduce just keeps applying the trasformation until there is a single scalar left? 23:12
moritz rakudo: say (1..9).reduce: { $^a + $^b, $a^*2 }
polyglotbot OUTPUT[Statement not terminated properly at line 1, near "2 }"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤called from Sub 'parrot;Perl6;Grammar;eat_terminator' pc 32087 (src/gen_grammar.pir:3388)␤called from Sub 'parrot;Perl6;Grammar;statementlist' pc
..30735 (src/gen_grammar.pir:2855)␤called from Sub 'p...
bacek moritz: I can shut 'Use of uninitalised' warnings in List.reduce. But I'm not sure is it kosher way.
moritz rakudo: say (1..9).reduce: { $^a + $^b, $a*2 } 23:13
polyglotbot OUTPUT[114␤]
moritz bacek: I don't think it's a very important feature atm
bacek moritz: Just replace "elem = 'undef'()" with "elem = new 'String'" on line 506 in any-list.pir
moritz: just cage cleanup :)
moritz but why a String?
bacek empty String can be casted to any type 23:14
without warnings
rakudo: my Str $a; say +$a
polyglotbot OUTPUT[Use of protoobject as value␤0␤]
bacek rakudo: my Str $a; say $a
polyglotbot OUTPUT[Str␤]
bacek rakudo: my Str $a = Str.new; say $a; 23:15
polyglotbot OUTPUT[␤]
bacek rakudo: my Str $a = Str.new; say +$a;
polyglotbot OUTPUT[0␤]
moritz rakudo: my @a = ""; say @a.perl
polyglotbot OUTPUT[[""]␤]
bacek rakudo: my Str $a = Str.new; say $a.perl; 23:16
polyglotbot OUTPUT[""␤]
bacek rakudo: say [1..4].elems 23:20
polyglotbot OUTPUT[4␤]
23:25 sjn joined 23:32 skv joined
kj chromatic: does Coverity also analyze sources of compilers/pirc? 23:41
chromatic kj, not currently, but if we included it in the build it might. 23:43
We wouldn't have to link it into libparrot.
kj right
it would be very useful for me, as I'm running into very nasty exceptions these days
Whiteknight exceptions are the worst 23:44
kj access exceptions :-(
Tene exceptions are fun 23:51
kj when running the code, the debugger will point to code in the ops file, in libparrot. 23:52
I'm not sure if that implies that the problem is in libparrot..