#parrot Parrot 0.6.4 "St. Vincent Amazon" Released | parrotcode.org/ | 15 new, 648 open, 80 stalled tix | logged in irclog.perlgeek.de/parrot/today
Set by moderator on 28 July 2008.
00:05 teknomunk__ joined 00:09 AndyA joined
wknight8111 2**5 00:32
purl 32
wknight8111 1**6
purl 1
wknight8111 0**7
purl 0
wknight8111 0**(-1)
0**-1
0**1
purl 0
wknight8111 5**-1
purl 0.2
wknight8111 purl doesn't like being segfaulted
purl wknight8111: sorry...
Infinoid -1**256 01:13
purl -1
02:03 bacek joined 02:08 tetragon joined
tetragon So, I've had a bit of a platform change happen over the past month 02:08
I'm now on Intel OS X 10.5 (64-bit) 02:09
02:11 Lorn joined
Infinoid nice! 02:23
02:25 Theory joined
tetragon I'm still waiting for some of my backups to transfer over, and I have quite a bit to recompile 02:26
02:27 jdv79 joined
tetragon The Apple techs who worked on my iBook were unable to put my box back together again without snapping something in the process 02:27
jdv79 kid51: around?
tetragon And this happened multiple times in the month
kid51 jdv79 wazzup? 02:29
jdv79 kid51: what ever happened to that school idea? OT. you mentioned it a year ago at a semny thing... 02:30
kid51 school idea? 02:31
Infinoid tetragon: so they gave you an extra 32 bits instead? :)
tetragon Infinoid: Yep, although I went and paid a bit to go to a MacBook Pro instead of a MacBook. I can hardly stop playing with the auto-dimming screen and the illuminated keyboard 02:33
Infinoid hehe 02:34
kid51 must restart computer for software update; bye 02:38
Infinoid I must say, I'm quite impressed with the "mylyn" extension to eclipse 02:42
one of the biggest problems I've had so far with PDD13 is the fact that there are a *lot* of PMCs in src/pmc/, and a *lot* of tests in t/pmc/
I end up spending a lot of time paging through the list to find the file I want 02:43
mylyn hides the stuff I'm not interested in, quite nicely.
03:22 coumbes joined 03:23 Andy joined 03:50 teknomunk__ joined 04:27 rurban_ joined
Infinoid jonathan: PDD13's definition of the PackfileDirectory PMC has methods to list and fetch segments, and a method that inserts/updates segments, but no way to remove one. is that intentional? 04:28
04:45 seneca joined 05:15 Theory joined
dalek r29918 | infinoid++ | pdd13pbc: 05:17
: [PDD13]
: * Add a get_pmc_keyed() function to PackfileDirectory, which dispatches to
: .get_pmc_keyed_str().
: * Fix some erroneous test descriptions.
: * Add a couple of TODO tests for the things in PackfileDirectory I haven't
: implemented yet.
diff: www.parrotvm.org/svn/parrot/revision?rev=29918
05:42 iblechbot joined 05:43 seneca joined 05:45 Psyche^ joined 05:54 Ademan joined 06:29 uniejo joined 06:52 silug joined 06:58 jan joined 07:03 Ademan joined 07:40 cosimo joined 07:50 bacek joined
moritz wonders why autounfudge is b0rked 07:54
07:56 nopaste joined 08:02 alvar joined 08:09 masak joined 08:31 TonyC joined 09:37 barney joined
dalek r29919 | kjs++ | trunk: 09:45
: [pirc/new] small refactorings and add a few comments.
diff: www.parrotvm.org/svn/parrot/revision?rev=29919
09:50 kj joined 11:00 ambs joined 11:16 bacek joined
moritz any rakudo hacker or tester around? 11:25
(except me, that is ;)
masak I don't have commit access, but I consider myself a tester. do I count?
moritz yes ;)
masak woot
anyway, I'm around :) 11:26
moritz for me 'make spectest_regression' works nearly fine (just 3 failed tests)
masak checking...
moritz whereas both tools/autounfudge.pl and tools/test_summary.pl have problems
for example test_summary:
t/spec/S02-builtin_data_types/num.rakudo............... 47Statement not terminated properly at line 5, near ".8;\\n\\n#if s"
masak: is that the same on your box?
masak hold on 11:27
moritz holds on 11:28
masak makes
moritz finally releases his breath 11:30
masak good. makes you live longer.
my spectest_regression has now passed S02-builtin_data_types/ 11:32
moritz yes, it was an EOL problem
masak EDL?
btw, what is num.rakudo?
moritz jonathan++ for finding that
masak ah, EOL
moritz the fudged version of num.t 11:33
masak I don't get that output, I just get num
moritz did you try tools/test_summary.pl?
masak uh... no 11:34
still spectest_regressing
moritz that's where my error message came from
masak I see.
will try
moritz spectest_regression has only a failure in S03-operators/arith
masak I was just going to say that :) 11:35
moritz which I guess was over-agressive unfudging or something ;)
masak 3 failing tests
moritz aye
Failed tests: 130-132
11:39 kid51 joined
masak moritz: maybe it's no longer an issue, but I didn't get a 'statement not terminated properly' error running num.rakudo in tools/test_summary.pl 11:46
moritz masak: so did it run (mostly) fine? 11:47
masak aye 11:49
moritz which means that I probably have a local fuckup. Bad.
masak (local fuckups)++
eh, (local fuckups)-- 11:50
moritz (local fuckups)-- # at least in terms of karma
masak I've been ++ing to much lately
it's a reflex
moritz masak++ # karma reflexes ;) 11:51
masak :)
moritz karma masak
purl masak has karma of 14
masak it's a start. :)
karma moritz
purl moritz has karma of 119
masak whoa.
moritz half of it is for commiting other people's patches ;) 11:52
the other half is for adding files to spectest_regression that Auzon++ fudged
masak ...both halves deservedly, I'd add.
moritz and the third half is actually earned ;)
masak hehe.
it's all earned
karma never lies
purl never lies has neutral karma
moritz lol
masak purl: you are very stupid
purl ...but purl is a tool or a good source of vitamin ass or marnanel's mom or the state of western Transylvania on a thursday or the death of me....
masak it won't be long until racism against IRC bots becomes rampant. and no-one will speak in their favor. 11:53
moritz except themselves, of course 11:54
masak they could flood the channels, nobody in power will care
actually, it'd probably be a good deed to put together by-laws for bot writers. I opine that purl breaks a few such unwritten laws by being too aggressively helpful at times. 11:55
"a bot should not speak unless spoken to" 11:58
moritz which outlaws our nice svn bots 12:00
masak uh, yes...
that's not what I meant :)
moritz I know ;) 12:01
masak good point, though
there's discussion-speech, such as that of purl, and info-speech such as that of our nice svn bots
moritz I quite like it to show people when what they say differs from what they mean ;)
(but people don't always love me for that ,) 12:02
masak moritz: in that respect, you have much in common with a compiler :)
moritz perhaps that's why they fascinate me ;)
masak me too :) 12:03
esp. GHC, which actually has very informative and readable errors 12:04
moritz loves spin (a promela interpreter/compiler/verification tool) which actually gives you counter examples that violate your assertions 12:07
otoh, promela (being just a regular language, not turing complete) sucks 12:08
12:17 ruoso joined 12:28 rurban_ joined
Infinoid msg jonathan PDD13's definition of the PackfileDirectory PMC has methods to list and fetch segments, and a method that inserts/updates segments, but no way to remove one. is that intentional? 12:39
purl Message for jonathan stored.
13:01 seneca joined 13:29 jhorwitz joined 13:48 gmansi joined 13:57 gryphon__ joined 14:05 Andy joined 14:06 barney joined 14:12 Lorn joined 14:37 jdv79_ joined
ambs seen coke 14:57
purl coke was last seen on #parrot 19 days, 9 hours, 53 minutes and 11 seconds ago, saying: yes? [Jul 13 05:04:35 2008]
ambs seen dietcoke
purl dietcoke was last seen on #parrot 1 days, 1 hours, 5 minutes and 28 seconds ago, saying: later. =-) [Jul 31 13:52:24 2008]
15:00 DietCoke joined
DietCoke ambs: yes? 15:00
ambs DietCoke, I was just preparing to call you 'Spammer' :) 15:01
but now, I feel I should call you, something like 'omnipresent'
:D
DietCoke I figured you'd appreciate having all the coke-interactions be front-loaded this quarter. 15:04
15:13 davidfetter joined 15:16 rhr joined 15:32 ambs_ joined 15:34 Whiteknight joined 15:47 DietCoke left
tewk x86_64 jit status? 15:49
16:04 alvar joined 16:05 Theory joined 16:17 iblechbot joined 16:52 jan joined 17:06 Ivatar joined
dalek r29920 | chromatic++ | trunk: 17:14
: [t] Ensured cleanup of temporary directories created during testing.
diff: www.parrotvm.org/svn/parrot/revision?rev=29920
17:14 tewk joined
dalek r29921 | chromatic++ | trunk: 17:16
: [t] Ensured that temporary files created during testing get cleaned up.
diff: www.parrotvm.org/svn/parrot/revision?rev=29921
18:21 peepsalot joined 18:37 gryphon__ joined 19:29 Senak1 joined 19:35 apeiron joined 19:36 Senak1 left 19:52 jhorwitz joined
jhorwitz hm. if i have Foo::bar, is there any way in rakudo to tell if it's a method or a sub? 20:05
Whiteknight try { $foo() } catch { say "not a sub!"; } 20:10
:)
I don't even remember P6's exception handling syntax 20:11
jhorwitz i obviously didn't specify the rules of the game. :)
no calling the sub. but i think i have a workaround anyway.
Tene sub foo { die "fail in a sub" } 20:12
jhorwitz fyi, i'm trying to implement method handlers in mod_perl6. i have to know if i'm calling a method or regular sub at runtime. 20:13
my workaround is to call .WHAT() on the handler name, which will reveal if it's a class. unfortunately rakudo bombs out when the handler name is a regular namespace. i'll open a ticket. 20:14
Tene Yeah, Parrot's core classes don't implement WHAT, HOW, etc. 20:17
Rather a pain at times.
jhorwitz indeed
but if you do, RANDOMSTRING.WHAT(), it runs fine.
as long as it's not a namespace. :-P
Tene Or a ResizablePMCArray. 20:18
purl a resizablepmcarray is probably what we use nowadays
particle um... so check for a namespace first?
jhorwitz can i do that in rakudo?
Tene purl: forget resizablepmcarray
purl Tene: I forgot resizablepmcarray
jonathan (half paying attention) .WHAT will end up being a compiler macro rather than a real method anyway, so we'll be able to make it do the Right Thing on non-Perl 6 things later. 20:19
Tene jhorwitz: you could .HLL_map Namespace.
jhorwitz Tene: can't use PIR here.
Tene jhorwitz: do it in rakudo first.
jhorwitz jonathan: i trust that it will all work right later. :) 20:20
particle should rakudo see parrot namespaces as packages?
* perl 6 packages
jhorwitz ignore parrot namespaces. run this....
nopaste?
purl rumour has it nopaste is at nopaste.snit.ch/ (ask TonyC for new channels) or rafb.net/paste or poundperl.pastebin.com/ or paste.scsys.co.uk/ or App::Nopaste or tools/dev/nopaste.pl
jonathan Probably...
Wowz, I haz two messages 20:21
nopaste "jhorwitz" at 96.245.16.64 pasted "namespace & WHAT" (3 lines) at nopaste.snit.ch/13718
jonathan jhorwitz: I'm not sure we've really paid a load of attention to namespaces yet. 20:22
erm
to modules
jhorwitz i just traced it -- akin to what Tene said, parrot tries to call typeof on a namespace, which returns PMCNULL
jonathan They're in the ROADMAP.
particle Foo is a module 20:23
it perl6land
jonathan Ano.
*yes!
particle it should implement .WHAT
jonathan shold speak the correct language
particle: I agree it *should*, I'm just saying I don't think anyone has worked on modules to make sure they do work yet.
particle right
does grammar implement .WHAT? 20:24
jonathan particle: No - we parse it as a normal method call and have it just as a normal method at the moment.
But S12 says it should be a macro.
As for .HOW and so forth.
particle i see
jonathan So we're kinda cheating at the moment. 20:25
particle src/classes/Code.pir has a WHAT method
jonathan jhorwitz: Let me read backscroll and see if I can work out what you're needoing to do.
particle jonathan: he needs module Foo; print Foo.WHAT(); to work 20:26
jhorwitz jonathan: particle hit the nail on the head. after tracing, i see the root cause is that typeof is returning PMCNULL for a namespace.
jonathan OK.
jhorwitz and getprop on the PMCNULL, well, you know what happens. 20:27
particle an earth-shattering kaboom.
jhorwitz big badaboom
jonathan OK
un momentito...
jhorwitz so many languages.... 20:28
jonathan I'll try and fix that for you now.
jhorwitz: Well, I live in Slovakia now, and lived in Spain for 6 months.
20:28 rurban_ joined
jonathan So I speak ok Spanish (enough to get by and do the day to day trips to the bank, buying train tickets, food, beer, etc) and basic Slovak. 20:28
jhorwitz Na zdravie! 20:29
jonathan :-) 20:30
jhorwitz speaking of that, i have a happy hour in 30...
jonathan Wow. It's been a quiet day for Parrot commits today...
jhorwitz LOL when i put it in a try block, it bombs out with "Lexical '$!' not found" 20:32
jhorwitz can't win today 20:33
Tene nice
jhorwitz Tene: OBTW, mod_lolcode was a hit at OSCON, at least in the lightning talks
Tene Yeah? Wish I could have been there. 20:34
What sort of response?
particle clapping and laughter
and a few people threw kittens 20:35
Tene nice
jhorwitz better than the response at the talk. *crickets* 20:38
jonathan Argh. Even with a patch that is meant to do the Right Thing, it's because get_class in NameSpace is overridden. 20:40
jhorwitz jonathan: headed out for some beers. msg me if you get that working and i'll owe YOU a few. :)
20:40 teknomunk joined
jonathan HA! Win. 20:41
module Foo;
say Foo.WHAT
Module
jhorwitz jonathan++ 20:42
jonathan jhorwitz: Running tests, then will ci. 20:43
Hope this helps. :-)
jhorwitz thanks!
jonathan jhorwitz: Does mod_parrot run on Win32 yet? 20:44
jhorwitz particle needs to finish up the configure branch, and i need to test on a threaded MPM on unix first.
jonathan OK.
jhorwitz then we close our eyes, hold our breath, and try win32. 20:45
jonathan I don't even have an Apache install here, but it would be fun to play with at some point.
Anyways, enjoy the beers! 20:46
jonathan is able to drink beer again today, after a couple of weeks without thanks to medication.
jhorwitz :) 20:47
ambs :) 20:48
20:57 Whiteknight joined
dalek r29922 | jonathan++ | trunk: 21:07
: [rakudo] Make .WHAT called on a NameSpace return a Module proto-object. Added to unblock mod_perl; probably will want a re-visit when we look at modules more comprehensively.
diff: www.parrotvm.org/svn/parrot/revision?rev=29922
jonathan purl message Infinoid Do you have a use case for removing a segment? 21:08
purl Message for infinoid stored.
Infinoid jonathan: I know nothing about .pbc file usage, but I figure if you can replace it, why not. it seems like a hole in an otherwise complete CRUD style interface 21:09
jonathan Infinoid: I do know a bit about PBC file usage, and couldn't think of a use case. OTOH, it's probably not hard to implement, and someone may think of a usage. 21:10
So, for completeness sake, let's have it. 21:11
Infinoid heh, here's a use case. binutils has a "strip" command for removing debugging sections... seems like that would be useful here too
jonathan Aha.
Yes, that would certainly be a use case.
OK, it's in.
If you would, please update the PDD too.
Infinoid you want to modify the pdd, or should I? (I'd have to look up the right vtable name and all of that first)
ok, will do. 21:12
thanks!
jonathan If you're not sure how to update it, just mail me...I'll also review the commit when it gets sent to p2 anyway. 21:13
jonathan afk for the evening...relaxing 21:17
Infinoid happy weekend, jonathan :) 21:18
jonathan Thanks, you too. :) 21:19
21:26 davidfetter joined 22:13 kid51 joined 22:20 teknomunk_ joined 22:24 gmansi joined 22:26 teknomunk__ joined 22:47 justin joined 22:48 Andy joined 23:09 dngor joined, workbench joined 23:11 Casan joined, davidfetter joined, Casan left, Casan joined 23:12 Andy joined 23:27 seneca joined 23:30 Limbic_Region joined
cotto_work is there any reason why GET_ATTR_globals is rewritten to GETATTR_Exporter_globals instead of GET_ATTR_Exporter_globals? 23:44
23:46 Ademan joined
cotto_work and if there isn't, could my alter ego submit a patch preserving the underscore now, before most of the PMCs have been converted? 23:46
Infinoid svn blame? 23:47
purl i heard svn blame was just like p4 annotate, only better
Infinoid has no idea, sorry
cotto_work you're in good company, then ;) 23:48
I'll probably just submit a patch and see what happens.
Infinoid cool.
cotto_work looks forward to being able to submit a patch from work 23:49
Infinoid++ #I hadn't seen svn blame before. Nice tool, that. 23:55
Infinoid oh, cool