"Parrot 0.6.4 "St. Vincent Amazon" Released | parrotcode.org/ | 15/648/80 new/open/stalled tix | logged in irclog.perlgeek.de/parrot/today".
Set by moderator on 15 July 2008.
Whiteknight chromatic++ 00:02
chromatic It's been that kind of day.
Whiteknight chromatic, your comments last night were dead-on, i found and fixed the problem
chromatic Excellent! Which commit? 00:03
Whiteknight ...I might not have committed it yet
here it comes 00:04
chromatic The way to think about this is: there is a finite upper bound on the number of segfaults possible with our code. 00:05
Every commit which fixes one (without adding another) is progress.
Unfortunately, that parenthetical note makes the theory less practical in practice.
dalek r29537 | Whiteknight++ | gsoc_pdd09:
: [gsoc_pdd09] Fixed a problem with premature short-circuiting in pobject_lives as per a suggestion from chromatic++
diff: www.parrotvm.org/svn/parrot/revision?rev=29537
Whiteknight the code now isn't segfaulting, it's failing a null pointer assertion 00:06
which is really just a segfault in disguise
chromatic A segfault in a wig.
00:07 Zaba joined
Whiteknight a segfault that makes it's own handy backtrace 00:07
chromatic It makes its own gravy. 00:08
Whiteknight you're a freaking genius
chromatic Was it the if (card_mark == GC_IT_CARD_BLACK || hdr->next != NULL) ? 00:09
cotto_work mmmmmm. segfault gravy.
tastes kinda nully
Whiteknight yes, that was it exactly
i can't believe I never noticed that before
chromatic It's a lot easier to figure out the problem by reading it in a diff.
00:10 AndyA joined
Whiteknight I so owe you those cookies 00:10
you got a favorite type?
chromatic Not oatmeal, no raisin.
It's a disjoint set. 00:11
Whiteknight oh great, I have to do set logic on my recipe book
chromatic I recommend lazy evaluation.
Have kids and try parallelism.
Whiteknight my fiancee is already talking about having kids, I don't need you to jump on the bandwagon too 00:12
the failed assertion now is on a null pointer in a string, string->encoding 00:17
these strings are the worst
chromatic It's probably Not A String. 00:26
Whiteknight i'm on a roll now, I've got finalization back in, and it's almost working perfectly 00:27
chromatic See if new_string_header returns that pointer and figure out what wants it.
Whiteknight well, "perfectly" is loosely defined here
chromatic Meanwhile I'm ordering loot for my minions.
Whiteknight loot? minions?
I CAN B MINION? I CAN HAZ LOOT? 00:28
chromatic You have to have lots of meetings to get minions. 00:30
Whiteknight meetings are the worst 00:32
dalek r29538 | allison++ | pdd25cx:
: [pdd25cx] Override 'invoke' vtable function for ExceptionHandler PMC. Like the
: Sub PMC, and unlike the Continuation PMC, 'invoke' should never process args 00:33
: for the exception handler, those are handled elsewhere. This removes some nasty
: special-case code too.
diff: www.parrotvm.org/svn/parrot/revision?rev=29538
chromatic Aha, so that's what it was.
00:34 nq joined
Whiteknight "get_pmc_keyed_string() not implemented in class 'String'" 00:36
chromatic That's what you get when you accidentally reuse a live PMC header. 00:37
dalek r29539 | Whiteknight++ | gsoc_pdd09: 00:38
: [gsoc_pdd09] More fixes to the finalization loop bounds-checking. Fixed one error, exposed another
diff: www.parrotvm.org/svn/parrot/revision?rev=29539
Whiteknight this gc is going to drive me back to the drink
chromatic Wine... and cookies?
Whiteknight i wasn't so sophisticated back in college
but all this talk of cookies is making me majorly hungry 00:39
chromatic I had ice cream. 00:40
For once, my presence in the office coincided with snacks.
Whiteknight lucky bastard
I dont get icecream. Hell, I barely get medical 00:41
Auzon "Job benefits include dental and ice cream."
chromatic I get the messages about "Hey, there's ice cream in the kitchen!" but usually that kitchen is a thousand miles away.
Okay, 662 miles away. 00:42
Whiteknight you still at the office? it should be almost 6 out there, right?
chromatic Yes. 00:43
O'Reilly time doesn't start early in the morning.
Whiteknight oh. 00:44
I like to go in early and get out early
chromatic That means waking up early, which has never worked for me in a hotel. 00:45
00:45 Khisanth joined
Whiteknight why are you in a hotel anyway? 00:46
I know OSCON is coming up, but you live in portland, don't you?
chromatic I'm working at the Sebastopol office this week. 00:47
Whiteknight oh, okay 00:48
chromatic I go home tomorrow, and then OSCON starts Mondayish. 00:49
Whiteknight yeah, I wish I could make it to that. 00:50
but, I can only afford to go to Portland once per year 00:51
00:51 Zaba joined
chromatic If gas prices go up much more, I'll say the same thing. 00:52
Whiteknight tell me about it
chromatic And it's only ten miles.
Okay, hotel time.
Whiteknight It's like my personal quest to get the deepest stacktrace 00:59
my personal best is 46 frames
dalek r29540 | Whiteknight++ | gsoc_pdd09: 01:01
: [gsoc_pdd09] stop ignoring the problem, and add in a failing assertion.
diff: www.parrotvm.org/svn/parrot/revision?rev=29540
01:14 chromatic joined
dalek r29541 | Whiteknight++ | gsoc_pdd09: 01:14
: [gsoc_pdd09] fixed one problem with null pointers being marked alive. Back to another problem I was having with strings.
diff: www.parrotvm.org/svn/parrot/revision?rev=29541
Limbic_Region Whiteknight - you do know that chromatic is pretty anal about his name never being capitalized right? 01:18
Whiteknight did I capitalize it? 01:24
I try not to
Limbic_Region your use.perl entry
Whiteknight oh, those are always filled with typos 01:25
but I'm happy that somebody is reading it!
Limbic_Region I always read them
but before you get too flattered, I read almost every posting 01:26
well, at least I used to
01:27 davidfetter joined 01:34 Zaba_ joined
dalek r29542 | Whiteknight++ | gsoc_pdd09: 01:37
: [gsoc_pdd09] A few fixes:
: * Add lists back into managed code
: * Remove cruft from gc_it.c
: * Update gc_it.readme file to reflect some changes I've made
diff: www.parrotvm.org/svn/parrot/revision?rev=29542
Whiteknight t/op/gc.t is going to cause problems because I dont think I faithfully reproduce the interface 01:42
not yet, anyway
purl well volunteered!
Whiteknight how do you mark a test as being a TODO? 01:44
because I have a whole bunch of tests that I want to make disappear
kid51 For tests in Perl 5: perldoc Test::More. For tests in PIR, I grep the t/ directory for todo/TODO. 01:56
kid51 cheats when it comes to tests in PIR 01:57
Whiteknight just renamed the test file
kid51 That's *really* cheating!
But as uri once said at YAPC auction, "This is Perl; it's okay to cheat."
Whiteknight my branch appears to be passing almost all tests 01:58
the ones it fails are mostly because PGE won't build
cotto_work who needs it.
kid51 Then, yes, those are good candidates for TODO
Whiteknight a few segfaults, but far fewer then I used to have 01:59
okay, i'm out for the night. Talk to youse guys later 02:00
02:47 teknomunk_ joined
cotto_home are there plans to deprecate get_repr in favor of get_string? 02:58
pdds/pdd17_pmc.pod mentions it as a potential candidate for deprecation, but nothing seems to have been done about it 02:59
davidfetter waves to cotto_home 03:00
cotto_home hi 03:01
how many people working on postgres know how to do either of the things you asked about (LINQ or building with MS tools)? 03:02
the oss lab has mostly been helping enable existing developers by providing MSDN subscriptions or access to hosted machines 03:03
davidfetter hrm. what kind of access? 03:04
cotto_home full access, but with no guarantees of backups, etc
Alias and Ingy were on campus earlier today talking about that with a pm from the lab. 03:05
davidfetter hrm 03:07
s1n any admins of the pugscode repo in here? (i need my password reset) 03:09
dalek r29543 | coke++ | trunk: 03:25
: [tcl] add some javadoc. Er, some function docs. Er, -one- function doc.
diff: www.parrotvm.org/svn/parrot/revision?rev=29543
03:45 Zaba joined 03:50 Andy joined
dalek r29544 | allison++ | pdd25cx: 04:36
: [pdd25cx] Bringing the pdd25cx branch up-to-date with trunk r29543.
diff: www.parrotvm.org/svn/parrot/revision?rev=29544
04:39 rurban_ joined 04:47 Zaba_ joined
dalek r29545 | allison++ | pdd25cx: 05:32
: [pdd25cx] Skipping a TODO test that causes an infinite loop in the new
: exception implementation.
diff: www.parrotvm.org/svn/parrot/revision?rev=29545
r29546 | allison++ | pdd25cx:
: [pdd25cx] Renumbering ops after merge.
diff: www.parrotvm.org/svn/parrot/revision?rev=29546
r29547 | allison++ | pdd25cx: 05:33
: [pdd25cx] Updating new exception code from merge to the new exception implementation.
diff: www.parrotvm.org/svn/parrot/revision?rev=29547
05:44 Psyche^ joined 05:48 Zaba joined 06:04 Zaba_ joined 06:15 uniejo joined 06:22 Zaba joined 06:34 Zaba_ joined 06:40 masak joined 06:49 britneypire joined, justin joined
justin hello :-) 06:49
moritz good morning
(or whatever your localtime() is ;-)
justin it's morning, so you're spot on ;-) 06:50
06:54 Zaba joined
cotto_home it's almost morning 06:59
which means... sleep &
moritz ;-)
07:00 verve joined
dalek r29548 | allison++ | pdd25cx: 07:35
: [pdd25cx] Disabling the graph coloring register allocator, which is incorrectly
: ignoring 'local_branch' and 'local_return'. See RT #57028.
diff: www.parrotvm.org/svn/parrot/revision?rev=29548
r29549 | cotto++ | trunk:
: [pmc] strerror strings don't need to be freed; remove comment questioning this
: as part of RT#46679
diff: www.parrotvm.org/svn/parrot/revision?rev=29549
07:38 iblechbot joined
dalek r29550 | chromatic++ | pdd25cx: 07:45
: [src] Ported merged code to use new exception throwing functions.
diff: www.parrotvm.org/svn/parrot/revision?rev=29550
cotto_home what's the syntax to concatenate strings in pir? 07:51
bacek cotto_home: $S0 = concat $S1, $S2 07:52
cotto_home thanks. 07:54
08:05 lafille joined
dalek r29551 | cotto++ | trunk: 08:11
: [pmc] add error condition tests to t/pmc/file.t to increase code coverage
: and make testing #46681 more reliable
diff: www.parrotvm.org/svn/parrot/revision?rev=29551
08:16 tuxdna joined 08:21 lauanana joined
dalek r29552 | allison++ | pdd25cx: 08:22
: [pdd25cx] Skipping two tests instead of TODOing them.
diff: www.parrotvm.org/svn/parrot/revision?rev=29552
08:36 barney joined 08:48 Whiteknight joined 09:03 Debolaz joined 09:28 Zaba joined 09:37 uniejo joined 10:16 TiMBuS joined 10:29 kid51 joined
dalek r29553 | jkeenan++ | trunk: 10:30
: When subs complete successfully, explicitly return 1. Change documentation to
: reflect this. Cf.: RT 57026.
diff: www.parrotvm.org/svn/parrot/revision?rev=29553
barney kid51++ 10:32
10:38 TiMBuS joined 10:56 tewk joined 10:59 ruoso joined 11:05 Whiteknight joined 11:13 iblechbot joined 11:16 s1n joined 11:48 bacek joined
bacek g'localtime 11:49
moritz good bacek-time ;-) 11:50
bacek moritz: It's always a good time for a beer in Australia :) 11:52
moritz what should I say? I'm in Bavaria ;-)
bacek ho-ho-ho! :) 11:54
pmichaud: around?
perl6.pir: multi sub log ( $x, :$base ) { log($x) / log($base); }; 1; 11:56
nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 pir paste" (115 lines) at nopaste.snit.ch/13599
bacek message pmichaud I resurrected patch from #49173, but it doesn't help to because of :immediate block after compiling .pm to .pir (as in nopaste.snit.ch/13599). I've got something like 'Cant find List' during compilation to PBC 11:59
purl Sorry, I've never seen pmichaud before.
bacek stupid bot...
purl Stupid human.
bacek WOW
12:11 kj joined 12:41 rurban_ joined 13:11 barney joined 13:14 gryphon__ joined 13:19 gmansi joined
pmichaud generic pong 13:24
jonathan role Pong[::T] { ... }
masak :) 13:25
pmichaud jonathan: bacek brings up a good point -- using :immediate may be difficult if the types aren't defined yet
in fact, as it stands now, I think I'll be completely blocked on getting precompiled modules to work if we have to use :immediate 13:26
(unless we can make sure that :immediate doesn't require the p6 types.) 13:27
NotFound ack 13:30
dalek r29554 | bernhard++ | trunk:
: [docs] news about removal of opcode 'getfd'
diff: www.parrotvm.org/svn/parrot/revision?rev=29554
jonathan pmichaud: I think we just need to make sure that perl6.pbc is loaded at the time we try to run the :immediate's. 13:31
pmichaud so everything we produce has an ":immediate" to load perl6.pbc if needed?
jonathan Which means doing the load_bytecode in a :immediate rather than a :load :init?
pmichaud I *still* feel like this is the wrong approach. 13:32
jonathan We must load it somewhere when we spit out PIR to compile, I think?
I'm busy with other stuff. We'll talk tomorrow, when I can focus on Rakudo.
pmichaud we must load it somewhere, yes, but loading it as part of :immediate is a far different beastie to me than loading it at runtime
yes, we can talk tomorrow
jonathan FWIW, the :immediate's can become :load :init. 13:33
Once the :outer with :load :init is fixed
pmichaud okay, then I don't have an issue with that. (Except I was hoping to have precompiled modules before OSCON.)
jonathan (as in, pdd25cx is merged)
Ah, hmm.
pmichaud could I disable :immediate until after the pdd25cx merge? 13:34
precompiled modules is _way_ important
jonathan Basically what's in the :immediate just needs to get hold of the sub that it is to apply the props to, and it does that now by finding it as it's :outer
We don't have to have it that way.
pmichaud okay. I won't be doing anything much on it until tomorrow anyway, so let's wait until tomorrow 13:35
I'll even get up a bit early if I can
jonathan If we can re-work it to attach the properties to the correct sub in any other way, that will work too.
ok, sounds good :-)
13:36 nq joined
pmichaud moritz: ping 13:39
13:42 MaW joined
dalek r29555 | coke++ | trunk: 13:43
: use more 'vague'; # release number not entirely certain yet.
diff: www.parrotvm.org/svn/parrot/revision?rev=29555
14:03 jhorwitz joined 14:11 Andy joined 14:13 gmansi joined
MaW Is it possible to use threads in Parrot yet? 14:17
pmichaud I think that's part of the concurrency implementation, about to be merged into trunk. (Or perhaps the thing to be merged is just prerequisite for that.) 14:23
14:23 parrot-poke joined
MaW I'll keep an eye on that then, I've got a potential use for Parrot in mind but it's going to need threads. 14:25
cotto_home How are malloc'd strings used in exceptions free'd? 14:27
Or are they? 14:28
14:28 Limbic_Region joined
pmichaud they aren't part of the normal gc? 14:29
cotto_home c strings, not Parrot STRINGs.
Limbic_Region pmichaud - mail received?
pmichaud I don't know then.
particle cotto_home: re #46681: ENOPATCH
pmichaud l_r: I wasn't here yesterday so I haven't seen yesterday's mail. I expect it will likely come in today's mail.
cotto_home particle, I was referring to the earlier patch in that thread 14:30
my mistake for not making that clear
rt.perl.org/rt3/Ticket/Attachment/3...or_3.patch
pmichaud But our regional post office can be very slow at times. I've tracked packages that came in from Oregon to the regional post office in 12 hours, and then sat in that post office for twelve days before finally being delivered to me.
Limbic_Region pmichaud - please let me know - I get paranoid - like people who can't go to sleep without making sure they shut off the stove, I always think somehow that I forgot to put stamps on letters or something 14:31
dalek r29556 | julianalbo++ | trunk:
: rename make target installable_pdb to installable_parrot_debugger
diff: www.parrotvm.org/svn/parrot/revision?rev=29556
pmichaud l_r: as soon as it arrives I'll send email.
Limbic_Region thanks
oh, and remind me not to send you cookies
pmichaud of course, if it doesn't arrive today or tomorrow then I won't get it until next friday.
Limbic_Region 12 day old cookies would be bad 14:32
pmichaud most things do get here in a reasonable time frame, though :-)
Limbic_Region a letter from here to there should day 2 or 3 days - no more
pmichaud correct.
I expect it today or tomorrow.
moritz pmichaud: pong 14:35
NotFound 2.5 weeks from Spain to Oregon was not that bad after all, then.
pmichaud moritz: I wasn't quite ready to apply the Str.trans patch yet -- I wanted to review it a bit more. (more) 14:36
moritz: but in that particular case it had been sitting for a while in the queue, so it's probably okay to have applied it
moritz pmichaud: ok; next time maybe just add a note "will review later" to the ticket 14:37
pmichaud okay 14:38
in the case of patches that add new significant features, it might be better to wait until I approve/review the patch (more) 14:39
it's okay to ping me frequently to make sure I do that
moritz allright
pmichaud in the longer term it'll be less important for me to review, but we're still getting basics in place in a few areas
moritz speaking of which, there's a patch from bacek in the queue that refactors duplicate codo out (junction stuff) 14:40
cotto_home is real_exception smart enough to deal with Parrot strings?
moritz pmichaud: have you had a chance yet to look at it?
pmichaud yes. I don't know why we have those in the code in the first place.
the functions that are there should be automatically handled by the dispatch mechanism -- we shouldn't have to write them again separately. 14:41
(perhaps we chose to implement them for now until autothreading is implemented)
but in truth they really should all be going away 14:42
moritz looks like it was cargo-culted from kp6, which handled junctions that way
cotto_home meh. It looks like not. 14:44
pmichaud I'll reply to the ticket
particle cotto_home: no, real_exception is not smart :( 14:50
purl okay, particle.
dalek r29557 | bernhard++ | trunk:
: [Pipp] Clarify string docs on top of quote_expression.pir.
: Add three tests for octal and hex escapes, including a todo test for "ABC \\501\\502\\503"
diff: www.parrotvm.org/svn/parrot/revision?rev=29557
particle purl: i'm not talking to you
purl particle: sorry...
pmichaud reply to ticket #56630 sent. I left it open in case there are further replies, though. 14:56
moritz ok 14:59
15:04 MaW left
dalek r29558 | bernhard++ | trunk: 15:06
: [Pipp] Add two TODO tests, where octal and hex escapes are followed by digits.
diff: www.parrotvm.org/svn/parrot/revision?rev=29558
cotto_home I'm not becoming a fan of strerror_r. 15:07
time to do what I do best and put it off until later 15:10
particle can i help you with that?
i'm good at it, too
pmichaud I'd help but I don't feel like doing it now.
cotto_work particle, sure. Everyone can put it off! 15:27
Infinoid procrastination is highly parallelizable 15:29
particle noop -j 15:31
15:33 wknight8111 joined
dalek r29559 | coke++ | pdd25cx: 15:48
: [tcl] - update implementation of tcl ops in this branch to be more like 'die'
diff: www.parrotvm.org/svn/parrot/revision?rev=29559
15:56 braceta joined 15:59 gryphon__ joined 16:07 wknight8111 joined 16:24 Nebster joined
Nebster Hey, I have a question about pir. I couldn't find the answer in the docs 16:24
I've got a .sub which I wish to return multiple values 16:25
how do I go about it?
16:26 Theory joined
Nebster would it be .return($return1, $return2, $return3)? 16:26
And how would I get it from bit calling the sub?
Sorry, it was in the docs, I found it! 16:27
rurban How?
.return($return1, $return2, $return3) ? 16:28
Nebster ($I0, $I1, $I99) = foo(7, 8, "nine")
.sub foo
masak I just emailed the bug system about it, but I'll say it here too: the error+segfault thing I found yesterday is because of the move from Bool.pir to enums.pir
Nebster .return( 10, 11, 12 )
.end
rurban ah, of course
Nebster didn't see the subs folder!
masak bug #57014, that is
moritz masak++ # bisecting 16:29
Nebster btw, the win32 package doesn't work properly. It quits with Can't read 'D:/fperrad/Parrot/trunk/runtime/parrot/include/config.fpmc': Is a directory 16:30
for the pbc_to_exe.exe that is 16:31
And it doesn't automatically load the runtimes
error:imcc:No such file or directory 16:32
in file 'C:\\Parrot\\share\\doc\\parrot\\httpd.pir' line 94
NotFound Āædoc?
Nebster That was part of the examples but I moved it there because I compiled the html docs and placed them there. It didn't work in the original location either 16:33
cotto_work davidfetter, sent
davidfetter cotto_work, thanks :) 16:34
rurban Who is supposeed to update the parrotcode.org website for 0.6.4?
NotFound Nebster: I think that the problem may be that handling windows absolute paths is not working yet.
cotto_work you're welcome. It only took three false starts. 16:35
Nebster one other thing though, I compiled it myself and it works fine 16:36
Just the one on the website doesn't work
And where did that D:\\... path come from? 16:37
Also, is there a way to convert from Perl5 to Perl6? 16:38
NotFound Looks like the package need some revision.
rurban Nebster: Sure
Nebster Cos my code comes up with a few errors, some I fix with adding to brackets to stuff like shift; 16:39
Is there an easy way?
one thing that I couldn't figure out how to fix was:
my $listener = IO::Socket::INET->new(LocalAddr => DEFAULT_PROXYADDR,
LocalPort => DEFAULT_PROXYPORT,
Listen => 200,
Proto => "tcp",
Those black boxes are tabs 16:40
rurban Nebster; I've documented the P5-6 ways at www.perlfoundation.org/perl5/index....ts#example
Nebster Thanks 16:41
rurban I'd need some legal advise about www.perlfoundation.org/contributor_..._agreement 16:43
My employer does not let me work during work hours for perl, so I do it enterily afterwards. So I won't get my emplyoyers agreement, which is not needed. 16:45
moritz which country do you live in? 16:46
rurban Austria, Graz
I do it with my own private equipment.
Maybe I should add this to this document somewhere. 16:47
moritz perhaps send your question to the list first, because the people that ar good with these questions (chromatic, allison iirc) aren't on IRC all that often 16:48
but I doubt that they know very much about austrian IP laws
rurban My last employer was an open source house. There I got all the papers. Now I'm working in a Windows-only house... 16:49
Ok, I'll ask the list
cotto_work rurban, you can also ask at the next #parrotsketch, although it won't be until a week from next Tuesday because of OSCON 16:51
Nebster Do you know what this will convert to? print LOG sprintf("%s%s", @_, CRLF); 16:53
perl5 to perl6?
purl rumour has it perl5 to perl6 is not
Nebster is not?
purl Is too.
particle rurban: if your employer owns your IP for every moment of your employment, it may be a problem
moritz Nebster: ignore that stupid bot ;-)
Nebster ok, lol 16:54
particle if they don't care what you do during your off hours as long as it doesn't compete with their business, then you're ok
moritz what's CRLF in perl5?
purl: forget perl5 to perl6
purl moritz: I forgot perl5 to perl6
Nebster CRLF is a constant
My constant
use constant
{
DEFAULT_LOGFILE => "&STDOUT",
DEFAULT_LOGLEVEL => 2,
DEFAULT_PROXYADDR => "localhost",
purl use constant is, like, my friend
moritz your sprintf looks like you'd actually need join() or something similar 16:55
or simple string concatenation 16:56
but there's also an sprintf() in Perl 6 (iirc)
Nebster I thought that was the point of sprintf? Join strings and convert integers to string/etc
particle dietcoke or chromatic or allison have the ability to update parrotcode.org to point to the new release
16:56 rurban joined
moritz Nebster: $a . $b (in Perl 5) and $a ~ $b (in Perl 6) also join string, and automatically convert them to strings first if they aren't yet 16:57
Nebster so like: print LOG @_ ~ CRLF; 16:58
That doesn't work either 16:59
Statement not terminated properly at line 69, near "@_ ~ CRLF;"
moritz you're mixing Perl 5 and Perl 6
Nebster Am I? What with? 17:00
moritz print LOG @_, CRLF; # perl 5
$LOG.print: @_, CRLF; # perl 6
Nebster Oh, thanks
Would it be: LOG.print: @_, CRLF; or have a $ there? 17:01
Tene With the $
Nebster It's opened like: open LOG, ">".DEFAULT_LOGFILE or printf("Couldn't open log%s", CRLF); 17:02
moritz in perl 6 you wouldn't use a bareword file handle
Nebster Oooh, a lot more for me to change then
But it seems to work like I put it?
moritz but you can also use file handles with sigils in perl 5 (and it's recommend, in fact)
particle it may parse, but it shouldn't run
moritz afk
Nebster Ok, how do I declare it cos it's global 17:03
Ok, sorry, knew how to do that 17:08
Are threads implemented?
particle in parrot? 17:09
purl i guess in parrot is false.
Nebster yeah, perl6 bit
I've got: threads->new(\\&HandleClient, $client)->detach; 17:10
particle not yet
threads will work in parrot this weekend
Nebster Ok, changed to single-threaded
That's great :)
particle but perl 6 thinks about concurrency a little differently that perl 5 17:11
Nebster concurrency?
purl i guess concurrency is a bitch
Nebster If +purl is a bot, why is he still here and not been banned?
How come shift; needs to be shift();? 17:12
17:12 jan joined
particle purl is a pet 17:13
cotto_work botsnack
purl thanks cotto_work :)
Infinoid pats purl
purl don't mess with me
Nebster haha, lol 17:14
So how come shift; needs to be shift();?
17:15 sjansen joined
Nebster This line causes an error too: select((select($Client), $| = 1)[0]); # Disable Buffering 17:18
at the ,
17:20 rurban joined 17:21 rurban joined
Nebster Has $| changed between versions? 17:23
particle yes, there is no $| in perl 6 17:24
17:25 cjfields joined
Nebster What do you use instead to disable buffering? 17:26
particle i want to point you to the perl 6 synopses, but the site i use is down
Nebster Where woud that be for future reference?
particle ah, this is up, though: dev.perl.org/perl6/doc/synopsis.html 17:27
spec.pugscode.org
17:29 rurban joined
parrot-poke concurrency, Nebster, to answer your question comes in various flavors other than threads and perl6 is designed to have the capacity to be used for most known forms of concurrency, though all that seems a bit soft at the moment (disclaimer: I'm just an observer of all this) 17:30
particle Nebster: you'll get better answers to perl 6 language questions on irc.freenode.net#perl6 17:32
Nebster Ok, thanks 17:33
parrot-poke parrot-0.6.4 is released, but the web page link is still at 0.6.3 ... is there direct way to get it?
17:34 Zaba joined
cotto_work parrot-poke, search.cpan.org/~bschmal/parrot-0.6.4/ 17:35
17:36 Andy joined 17:43 DietCoke joined
DietCoke web site updated. I was getting false negatives on the CPAN download which is why I'd held off. Once I figured out the issue, whee. 17:43
particle: thanks for the irc ping reminder. 17:44
DietCoke vanishes again.
18:06 cjfields joined 18:14 iblechbot joined 18:16 Khisanth joined 18:19 Zaba_ joined 18:53 slightlyoff joined, slightlyoff left
Nebster Hey again, how would I go about converting .Net to PIR 19:02
Tene There's been a project to run .Net bytecode on parrot, but I haven't seen it maintained in quite a while.
wknight8111 I believe that converter went from .Net bytecode to Parrot Bytecode, I dont think it translated to PIR 19:03
Nebster Translates .Net bytecode to PIR. 19:06
SHown in:
www.parrotcode.org/languages/
purl www.parrotcode.org/languages/ is empty
Tene purl: forget www.parrotcode.org/languages/ 19:07
purl Tene: I forgot www.parrotcode.org/languages/
Tene 0.4.15? does it even still run?
Nebster Dunno, how do I test?
NotFound ambigious is correct english? 19:08
Tene I'm gonna build it and run 'make test'
Yay, lots of test failures!
a few test successes, though!
failed 24/43 19:09
Nebster haha, guess it's very old then
I would love it if it works cos most my code is in .net languages and I'd love to change the language
Oh well, guess it won't work :P 19:10
Did you just run make dotnet?
Tene nope 19:13
Nebster How did you do it?
Tene cd languages/dotnet ; perl Configure.pl ; make
Nebster oh, much simpler :) 19:14
19:14 rlb3 joined
Nebster sort of :S 19:14
Tene or 19:15
cd languages ; dotnet
erm
cd languages ; make dotnet
Nebster ok, thanks
19:18 Zaba joined 19:19 Theory joined
Nebster Is it better to get the latest SVN version than the releases for personal use? 19:21
Not dev
Tene Nebster: depends on what you plan to use it for and how active you want to be about following the changes.
Nebster If I notice a bug that affects me, I will update instantly otherwise every 1 or 2 weeks 19:22
Usage, whenever I need to code something :P
Tene Nebster: also, depending on what you're working with, there might be updates that would affect you. Look at the NEWS for the past few releases to see the amount of changes in a month. 19:23
Nebster Yeah, I've seen, lots
Whenever I update, do I have to do a make clean; svn update; make 19:24
cjfields 'make realclean' is your friend 19:27
Nebster thanks 19:28
So would I run "perl Configure.pl --without-icu --profile=gcc" or is there a better one to use? 19:30
moritz with icu is better if you have icu installed ;-) 19:31
IMHO
perl6: say uc("Ƅ")
polyglotbot OUTPUT[Malformed UTF-8 string␤current instr.: 'parrot;PCT::HLLCompiler;evalfiles' pc -6078 ((unknown file):-1)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1070 (src/PCT/HLLCompiler.pir:605)␤called from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1267
..(src/PCT/HLLCompiler.pir:699)␤called from Sub 'parrot;Perl6::Compiler;main' pc 1345...
moritz ok, the bot screws up the utf-8 19:32
Nebster Hehe, is icu just for unicode? 19:33
is there any more args that I should append the the Configure command? 19:35
moritz "just for unicode" suggests that you're a native English speaker ;-) 19:37
Nebster yeah, lol 19:38
moritz nearly every other language isn't transcribed in pure ASCII, so you'd care 19:39
Nebster So I should get it? Where from?
And which version? 19:42
purl which version are you running, and how does it fail?
moritz what OS do you use?
Nebster Windows XP 19:43
moritz www.icu-project.org/download/
Nebster Yeah, I was there, is there no precompiled binaries for mingw? 19:44
And is it ICU 4.0 I want? 19:45
moritz dunno. I have 3.6 installed, and no problems with it
Nebster I've just been reading perl6.cz/wiki/Build_Parrot_with_MinGW and it says that I can just get the MSVC binaries even though I'm using mingw, is this true? 19:48
brb
cotto_home anyone on OSX or Windows mind trying a patch? 19:52
19:54 Andy joined
nopaste "cotto_home" at 96.26.202.243 pasted "use strerror_r in file.pmc" (113 lines) at nopaste.snit.ch/13604 19:55
cotto_home apply that, make and run perl t/pmc/file.t 19:56
let me know if all tests pass 19:57
dalek r29560 | coke++ | pdd25cx: 20:12
: [tcl] Remove the opcodes tcl_error_p and tcl_error_s ; with the addition
: of standard flow control exceptions to parrot, these are now equivalent to
: die; So just use die in their place.
: Sadly, don't pass any more tests in the branch.
diff: www.parrotvm.org/svn/parrot/revision?rev=29560
r29561 | julianalbo++ | trunk:
: [pdb] catch exceptions while tracing
diff: www.parrotvm.org/svn/parrot/revision?rev=29561
r29562 | coke++ | pdd25cx:
: [codingstd] remove trailing whitespace
diff: www.parrotvm.org/svn/parrot/revision?rev=29562
r29563 | coke++ | pdd25cx:
: [tcl] remove an apparently unused tcl op.
diff: www.parrotvm.org/svn/parrot/revision?rev=29563
20:25 cjfields_ joined 20:32 gmansi joined 20:34 Whiteknight joined
dalek r29564 | moritz++ | trunk: 20:36
: [rakudo] added S04-statements/for.t to spectest_regression, Auzon++
: +23 pass, +19 todo/skip tests
diff: www.parrotvm.org/svn/parrot/revision?rev=29564
20:46 Zaba_ joined 20:58 joelnackman joined 21:04 rlb3 joined 21:05 nq joined 21:08 purl joined 21:10 Theory joined 21:11 joelnackman left
dalek r29565 | Whiteknight++ | gsoc_pdd09: 21:17
: [gsoc_pdd09] Temporarily remove the t/op/gc.t file. It's messing up like crazy and I dont know that my GC properly implements the interface yet.
diff: www.parrotvm.org/svn/parrot/revision?rev=29565
Nebster Hey, is there regex in PIR? 21:18
Whiteknight natively, I don't think so
moritz PGE is written in PIR 21:19
which is a regex compiler
Whiteknight right, but that's a P6 regex compiler, and I dont think it's full-featured yet
moritz aye. It doesn't do many modifiers, for example 21:20
Nebster I'm writing a beatnik interpreter
NotFound There is a pcreg pmc or something, it isn't?
Nebster I basically want to use: /[^A-Za-z]+/
Basically split on the spaces and get rid of everything that isn't A-Z or a-z 21:21
NotFound pcre, I mean.
Look for this in configure output: Determining if your platform supports pcre 21:22
21:22 donaldh joined
Nebster I just got C:/Dev/parrot\\src\\parrot_config.o(.text+0xc):parrot_config.c: undefined reference to `mcount' 21:23
When compiling
Whiteknight I dont see a pcre pmc or dynpmc 21:25
NotFound Is a pir library 21:26
See examples/library/pcre.pir 21:27
Whiteknight oh, okay. i see that now
21:31 teknomunk joined
Nebster Yes, thanks, I'll try that in a moment 21:31
Is there a simpler way?
cos there's stuff like: func= find_global 'PCRE', 'compile' 21:32
Whiteknight It would be better with a nice OO interface, that's for sure 21:36
.local pmc regex = new 'PCRE'
regex.compile(...)
moritz PIR is assembly - don't expect too much nice syntax from it ;-) 21:37
Nebster Ok, how's the easiest way to split a string where there's spaces and remove all non-alphabetic characters? 21:42
Whiteknight There is a split opcode on strings 21:43
so split " ", mystring
$P0 = split " ", mystring 21:44
Nebster And getting rid of the extra characters?
Whiteknight what do you mean "remove"? cut them out of the string entirely?
Nebster Well, out of the result
Whiteknight is this for the beatnik grammar? 21:45
Nebster string is basically disacarded
Yeah
21:45 Limbic_Region joined
Whiteknight Use PGE instead, it parses out whitespace automatically using the <.ws> rule 21:45
Nebster How?
Whiteknight It uses recursive descent parsing. <.ws> is a default rule for whitespace 21:46
you can redefine it to include non-alphabetic characters too, although I dont know the best way to do that offhand
probably use an inverted character class. I dont know the exact syntax, but the equivalent of the P5 [^a-zA-Z] would do the trick 21:47
Nebster Sorry, I meant, how do I use pge? 21:48
It says run all.pir 21:49
There isn't one in the folder so I can't see how it works
nopaste "Whiteknight" at 71.230.33.251 pasted "example beatnik grammar" (9 lines) at nopaste.snit.ch/13605 21:52
Whiteknight check out that link 21:53
and
www.parrotblog.org/2008/03/targetin...ot-vm.html
it's a lot of reading, but it will be well worth it for you! 21:55
you'll have the compiler up and running in no time
Nebster THanks, I'll read through it 21:57
Parrot won't compile for me though
Whiteknight oh, that's a bigger problem! 21:58
what platform are you on?
21:58 nq joined
Nebster C:/Dev/parrot\\src\\parrot_config.o(.text+0xc):parrot_config.c: undefined reference to `mcount' 21:58
Windows
xp
I'm trying with mingw and using ICU 21:59
Are you on windows?
21:59 bacek joined
Nebster Cos I need a copy of mingw ICU libraries. I think it's cos of the ones I'm using that it isn't working 22:00
Whiteknight I'm not on windows anymore, I used to be 22:01
Do me a favor, can you write up the errors your getting, along with a note about what platform you are using to parrotbug@perl.org? 22:02
That will open a ticket so people can work on it
Limbic_Region Nebster - first confirm that you can compile without ICU using just MinGW 22:03
here are some steps you want to follow
1. ensure that msys is NOWHERE in your path
Whiteknight does ICU cause problems on MinGW?
Limbic_Region Whiteknight - I am not sure, but I would like to rule it out or in 22:04
Limbic_Region builds Parrot on Win32 using both MinGW and Cygwin regularly without problems
but I stopped using ICU aeons ago
moritz feels guilty for imposing that idea on Nebster 22:05
Limbic_Region Nebster - are you still there or am I chatting with dead air?
moritz - ICU provides Win32 binaries which should work fine except the probing to automatically find them in Configure.PL is broken
moritz - my guess is you just have to explicitly point to the libraries/directories 22:06
Whiteknight we have such a complex build system!
Nebster I'm here :P
Limbic_Region but I would like to confirm that Nebster can build a vanilla parrot
Nebster I haven't got msys
Whiteknight msys? 22:07
purl i think msys is www.mingw.org/msys.shtml
Limbic_Region Nebster - ok, most people download msys and MinGW together
dalek r29566 | Whiteknight++ | gsoc_pdd09:
: [gsoc_pdd09] update to trunk r29564
diff: www.parrotvm.org/svn/parrot/revision?rev=29566
Limbic_Region Whiteknight - minimal system
Nebster I haven't got it
Whiteknight ...neither does that link
Limbic_Region ok - do a mingw32-make realclean && svn up && perl Configure.PL && mingw32-make
Nebster That's why I haven't replied though, I'm trying to build a vanilla
Limbic_Region then if it doesn't compile, paste the entire output
purl paste 22:08
purl paste is (see: nopaste) or like glue but a little safer to sniff. or nopaste.snit.ch:8001/ or scsys.co.uk:8001/ anywhere shadowpaste is or mmm, sticky paste or You there! Eating the paste. or <see> 2 girls, 1 paste
Nebster I've just done a make svnclobber to make sure
moritz heads off to bed
Limbic_Region sleep well moritz
moritz thanks L~R, and happy hacking ;)
Limbic_Region is building now to ensure the problem is just you :P
Whiteknight ditto
Nebster I've just done a perl Configure.pl --cc=gcc --profile=gcc --without-icu 22:09
Running make now 22:10
Limbic_Region doesn't pass any options to Configure.pl fwiw
Nebster Christ, it's slow on a laptop :S 22:11
Limbic_Region define slow - I am using a dual core laptop with 1 GB of memory without too much trouble 22:12
though Configure.PL always seems to take a long time
Nebster Pentium 4 3.4Ghz with 2GB, lol
My Configure takes about 5-10 secs
Might be cos I specify those things
22:13 Zaba joined, japhb joined
Whiteknight has a PIII with 512Mb RAM 22:13
22:15 gryphon__ joined
Limbic_Region yep, parrot builds fine on Win32/MinGW when ICU is not being considered (nor other arguments to Configure.pl) 22:16
donaldh Mmm, I have a Core Quad 2.4 GHz and parrot builds in a couple of mins.
make -j 8 is good. 22:17
Nebster Oops, forgot I could make it run on multiple cores
donaldh On a laptop the disk will be the problem.
Limbic_Region Nebster - if this build fails, paste the output so I can compare it with mine
Nebster Oooh, error 22:18
22:18 kid51 joined
Nebster g++ -o pbc_to_exe.exe "pbc_to_exe.o" C:/Dev/parrot/libparrot.dll -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 22:18
-lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion C:/Dev/parrot\\src\\parrot_config.o
C:/Dev/parrot\\src\\parrot_config.o(.text+0xc):parrot_config.c: undefined reference to `mcount'
collect2: ld returned 1 exit status
linking failed
I haven't got the whole output cos of cmd chopping off all but the last 300 lines 22:19
Limbic_Region Cygwin builds too 22:20
Nebster I built the 0.6.3 one earlier and it worked fine
Limbic_Region -lmsvcrt looks wrong
donaldh Yep. just got there on cygwin too.
Limbic_Region of course, I was an idiot and closed the window I built parrot in
Nebster - can you paste the entire output 22:21
I will rebuild
Infinoid odd that it's be looking for mcount. that's a gprof function, and I don't see -pg on your g++ command line
s/ be//
Nebster Do you want me to rebuild or just post the last 300 or so lines?
purl paste 22:22
purl hmmm... paste is (see: nopaste) or like glue but a little safer to sniff. or nopaste.snit.ch:8001/ or scsys.co.uk:8001/ anywhere shadowpaste is or mmm, sticky paste or You there! Eating the paste. or <see> 2 girls, 1 paste
Limbic_Region iwould like from the output of connfigure
afk for a few 22:23
Nebster Just in case:
nopaste "Nebster" at 88.108.157.112 pasted "make output" (298 lines) at nopaste.snit.ch/13606
"Nebster" at 88.108.157.112 pasted "configure output" (88 lines) at nopaste.snit.ch/13607 22:25
Nebster There
Tene Parrot compiles for me in 18.2 seconds. 22:28
23s for rakudo
kid51 Tene has some fast machines! 22:29
Nebster Is that from a make svnclobber?
Limbic_Region Nebster - the only difference I can see on the line that fails for you from mine is -lgmp 22:32
22:32 teknomunk_ joined
Tene 8-way opteron 22:34
shame I can't do a parallel spectest.
dalek r29567 | jkeenan++ | revisionpm: 22:35
: Creating revisionpm in svn.perl.org/parrot/branches
diff: www.parrotvm.org/svn/parrot/revision?rev=29567
r29568 | jkeenan++ | revisionpm-29566:
: Tagging trunk at r29566 so that the revisionpm can later be synched to it.
diff: www.parrotvm.org/svn/parrot/revision?rev=29568
Nebster So how come it's not there on mine?
nopaste "Limbic_Region" at 68.49.236.220 pasted "Output of working Win32/MinGW build configure + make" (491 lines) at nopaste.snit.ch/13608
Limbic_Region Nebster - that's why I wanted to see the output of Configure
I have GMP libraries and you don't 22:36
but that shouldn't be causing this problem
oh duh
you pasted that
sorry
was dealing with 7 month old
Nebster It's fine, but other than that, only difference is I'm using 3.4.2 not 3.4.5 22:37
Limbic_Region right 22:38
did you remember to hold your tongue right?
Nebster ? 22:39
22:39 Zaba_ joined
Limbic_Region an expression my mother uses 22:40
Nebster Meaning...
purl meaning is in the individual, whether a definition of a word, connotation of a symbol, or impression of a painting.
Limbic_Region people make a screwed up face - often with their tongue sticking out to one side of their face, when working on something requiring great dexterity
if it doesn't work, it is because you didn't hold your tongue right 22:41
Nebster lol
Limbic_Region I am doing a realclean;configure;make again now
I want to check why you have output in your paste that I don't on mine
dalek r29569 | jkeenan++ | revisionpm: 22:42
: Commence work on refactoring Parrot::Revision.
diff: www.parrotvm.org/svn/parrot/revision?rev=29569
Nebster Oh, I didn't do a realclean 22:43
I did a make svnclobber so I only have the base 22:44
then svn up
Limbic_Region is an svn neophyte and has no idea what svnclobber would or wouldn't do that is accomplished with a realclean 22:45
but I can tell you this - periodically we get problems that can only be fixed with a fresh checkout because realclean doesn't cut the mustard
ok, finished 22:46
going to compare output again
Nebster make svnclobber erases all files that are in the parrot folder that aren't in the svn
"Cleaning:" 22:47
" clean: Basic cleaning up."
" archclean: Remove any platform dependent files."
" realclean: Removes also files generated by 'Configure.pl'"
" distclean: Removes also anything built, in theory."
Limbic_Region ok, well, I give up 22:50
file a ticket
Nebster hehe, lol
How long does the paste stuff stay there for? 22:52
Or should I just copy and paste that into the message?
NotFound Limbic_Region: the problem is that fixing that way is not fixing at all. 22:55
Limbic_Region Nebster - probably want to use a txt attachment 22:57
NotFound - I counter with, with enough eyes, all problems are shallow
filing a ticket will let lots of folks look at it, and a man needs to know when family time is more important 22:58
;-)
22:58 bacek joined
NotFound Limbic_Region: but the only eyes available are those from the people that have that problem. 22:58
Nebster hehe, I'll file that report in the morning, I gotta go for now. I'll try the latest version of mingw too 22:59
My pc is seriously buggered though, virtual registry got accidentally merged with my real registry so I got a hell of a lot of things wrong! Took ages to figure out what I had to change to get all my favourites and stuff back 23:00
It was trying to create my user profile in C:\\WINDOWS\\systm32
23:05 daxelrod joined
dalek r29570 | jkeenan++ | revisionpm: 23:09
: Simplify control flow inside _get_revision().
diff: www.parrotvm.org/svn/parrot/revision?rev=29570
Whiteknight "failed manicheck(), missing files: <<<<<<<< ======== >>>>>>>>" 23:18
so... I've got a bad merge in my manifest apparently
kid51 perl tools/dev/mk_manifest_and_skip.pl 23:20
... which i do so often that I use a shell alias: mkms
23:28 bacek joined 23:44 Zaba joined