Yet another Math Library

2004-07-01 Thread Robert Spier
This might be useful... (thanks planetlisp!) Chris Double Wed Jun 30 17:22:09 2004 http://radio.weblogs.com/0102385/2004/07/01.html#a625 I came across a free portable arbitary precision integer and rational arithmentic library called [1]IMath that looks useful. It is

Re: GMP's license looks Parrot-compatible

2004-07-01 Thread Leopold Toetsch
Ion Alexandru Morega [EMAIL PROTECTED] wrote: It would certainly work that way, but there are advantages in including the source code: - We could trim down all the functionality we don't use (if there is any) No. Please not another library (like ICU), which we have to update in our tree

Re: This week's Summary

2004-07-01 Thread Leopold Toetsch
The Perl 6 Summarizer [EMAIL PROTECTED] wrote: Congratulations Ion, don't forget to send in a patch to the CREDITS file. $ grep -1 Ion CREDITS N: Ion Alexandru Morega D: string.pmc Thanks again for your summary, leo

Re: our own decimal math lib

2004-07-01 Thread Leopold Toetsch
Dan Sugalski [EMAIL PROTECTED] wrote: Nope. Nor, if the freeze/thaw system is representation-neutral, as a plugin option for parrot itself. There are just some license issues (or I'm reading it wrong, which is an issue itself :) that make shipping GMP with parrot problematic. Isn't it

Re: Some tasks for the interested

2004-07-01 Thread Leopold Toetsch
Dan Sugalski [EMAIL PROTECTED] wrote: And I'm now thinking that we want to do mmd for assignment. Dammit. :( Don't think so. We need, ehem, probably, set_complex, get_complex and so on vtables. Complex is a basic type like integer, number, or bignum. def main(): i = complex(2 + 1j)

Re: [perl #30534] [PATCH] Complex numbers PMC

2004-07-01 Thread Leopold Toetsch
Ion Alexandru Morega [EMAIL PROTECTED] wrote: This is the new classes/complex.pmc, tests included. It supports string parsing (in the form a + bi, see the docs for more), string-keyed access to real and imag and simple numerical operations. Whee, great, thaks - applied. ... However, the

Re: undo()?

2004-07-01 Thread David Storrs
On Tue, Jun 29, 2004 at 05:31:29PM -0600, Luke Palmer wrote: Oh no! Someone doesn't understand continuations! How could this happen?! :-) You need two things to bring the state of the process back to an earlier state: undo and continuations. People say continuations are like time

Re: The .bytes/.codepoints/.graphemes methods

2004-07-01 Thread Matt Diephouse
Larry Wall wrote: On Sat, Jun 26, 2004 at 12:27:38PM -0700, Brent 'Dax' Royal-Gordon wrote: : Issues: : * Limits lvalue substr (doesn't allow it to be a different size) : unless splice is used (or a substr method is also provided). That all has to be looked at anyway. What does 5 mean when

Re: undo()?

2004-07-01 Thread Michele Dondi
On Tue, 29 Jun 2004, Jonadab the Unsightly One wrote: If we have $foo.undo(), then we will want a multi-step undo to go with it, probably $foo.undo($n), with $n able to be negative for redo. Are Definitely! I didn't add that to the point that it wuld have been obvious, and I wanted to keep

Re: undo()?

2004-07-01 Thread Brent 'Dax' Royal-Gordon
David Storrs wrote: Well, at least that's a nice simple explanation. Why couldn't anyone have explained it to me that way before? Unfortunately, it means that continuations are a lot less useful than I thought they were. : Actually, I think you're underestimating the little guys. After all, if

Re: Yet another Math Library

2004-07-01 Thread Leopold Toetsch
Robert Spier [EMAIL PROTECTED] wrote: This might be useful... (thanks planetlisp!) I came across a free portable arbitary precision integer and rational arithmentic library called [1]IMath that looks useful. It is under a BSD style license and it looks like it might be

Re: The .bytes/.codepoints/.graphemes methods

2004-07-01 Thread Juerd
Matt Diephouse skribis 2004-06-30 20:51 (-0400): my $string = Hello, World!; say $string[0..4]; # prints Hello\n $string[7...] = Larry!; say $string; # prints Hello, Larry!\n And that array is one of bytes? graphemes? In general, I like the idea. In [EMAIL PROTECTED], almost the same was

Re: The .bytes/.codepoints/.graphemes methods

2004-07-01 Thread Matt Diephouse
Juerd wrote: Matt Diephouse skribis 2004-06-30 20:51 (-0400): my $string = Hello, World!; say $string[0..4]; # prints Hello\n $string[7...] = Larry!; say $string; # prints Hello, Larry!\n And that array is one of bytes? graphemes? I'm not really up on my unicode, but I think .chars is what I have

Re: GMP's license looks Parrot-compatible

2004-07-01 Thread Andy Dougherty
On Thu, 1 Jul 2004, Leopold Toetsch wrote: No. Please not another library (like ICU), which we have to update in our tree as well. I'd like to just link against it, *if* the library is selected with Configure. Agreed. This reminds me of the situation we faced in perl5 with database libraries.

Re: WWW::Mechanize and ASP.NET

2004-07-01 Thread _brian_d_foy
In article [EMAIL PROTECTED], Andy Lester [EMAIL PROTECTED] wrote: On Fri, Jun 25, 2004 at 03:35:38PM -0400, Potozniak, Andrew ([EMAIL PROTECTED]) wrote: Has anyone encountered some really odd errors, namely status 500 errors when surfing to ASP.Net files only through means of

New version of Test::Builder::Tester on The CPAN

2004-07-01 Thread Mark Fowler
The uploaded file Test-Builder-Tester-1.00.tar.gz has entered CPAN as file: $CPAN/authors/id/M/MA/MARKF/Test-Builder-Tester-1.00.tar.gz size: 9686 bytes md5: 016f8e3cf364090bd4e0aef5ee4cbbb1 I just released a new version of the test suite module testing module Test::Builder::Tester.

Re: undo()?

2004-07-01 Thread Rod Adams
Brent 'Dax' Royal-Gordon wrote: David Storrs wrote: Well, at least that's a nice simple explanation. Why couldn't anyone have explained it to me that way before? Unfortunately, it means that continuations are a lot less useful than I thought they were. : Actually, I think you're

Re: undo()?

2004-07-01 Thread Austin Hastings
--- Rod Adams [EMAIL PROTECTED] wrote: A guess from my current understanding: You're wanting to play with a database. You take a continuation. You see if have a database handle open and good to go, if so you do your thing. (can you then dismiss the continuation? do uninvoked

Re: if not C, then what?

2004-07-01 Thread Aaron Sherman
On Wed, 2004-06-30 at 21:33, chromatic wrote: On Wed, 2004-06-30 at 18:18, Alexey Trofimenko wrote: P.P.S. do we have a way to imply void context on function inside expression, something like Cscalar, C+, C~, C? do? Sort of a 'meh' operator? I wonder (idly) in which circumstances

Re: undo()?

2004-07-01 Thread JOSEPH RYAN
- Original Message - From: Luke Palmer [EMAIL PROTECTED] Date: Tuesday, June 29, 2004 7:31 pm Subject: Re: undo()? Oh no! Someone doesn't understand continuations! How could this happen?! :-) You need two things to bring the state of the process back to an earlierstate: undo

Re: if not C, then what?

2004-07-01 Thread Scott Bronson
On Wed, 2004-06-30 at 18:41, Luke Palmer wrote: Larry didn't go for it. Note, we already have an operator that puts its left side in void context and evaluates it before its right one: we call it C;. But C; requires a surrounding do block, as you noted. I'm disappointed that Larry didn't go

Re: if not C, then what?

2004-07-01 Thread Juerd
Scott Bronson skribis 2004-07-01 12:42 (-0700): But C; requires a surrounding do block, as you noted. Then invent a horizontal ; operator that does not :) pray_to $_ then sacrifice $virgin for @evil_gods pray_to $_ ., then sacrifice $virgin for @evil_gods; Juerd

Re: if not C, then what?

2004-07-01 Thread Alexey Trofimenko
On Wed, 30 Jun 2004 19:41:24 -0600, Luke Palmer [EMAIL PROTECTED] wrote: Alexey Trofimenko writes: if we really about to lose C-style comma, would we have something new instead? new C,,( as I've been told here by wise ones), doesn't guarantee order in which its operands will be evaluated, and even

Re: The .bytes/.codepoints/.graphemes methods

2004-07-01 Thread John Williams
On Thu, 1 Jul 2004, Juerd wrote: Matt Diephouse skribis 2004-06-30 20:51 (-0400): my $string = Hello, World!; say $string[0..4]; # prints Hello\n $string[7...] = Larry!; say $string; # prints Hello, Larry!\n And that array is one of bytes? graphemes? In general, I like the idea.

Re: if not C, then what?

2004-07-01 Thread Scott Bronson
On Thu, 2004-07-01 at 12:45, Juerd wrote: Scott Bronson skribis 2004-07-01 12:42 (-0700): But C; requires a surrounding do block, as you noted. Then invent a horizontal ; operator that does not :) Cthen? That's the topic of discussion... pray_to $_ then sacrifice $virgin for

Re: if not C, then what?

2004-07-01 Thread Juerd
Scott Bronson skribis 2004-07-01 13:31 (-0700): Then invent a horizontal ; operator that does not :) pray_to $_ then sacrifice $virgin for @evil_gods pray_to $_ ., then sacrifice $virgin for @evil_gods; Sure. But what is .,? Cthen could work alone, couldn't it? It is a horizontal ;.

Re: if not C, then what?

2004-07-01 Thread Jonathan Lang
Scott Bronson wrote: On Wed, 2004-06-30 at 18:41, Luke Palmer wrote: Larry didn't go for it. Note, we already have an operator that puts its left side in void context and evaluates it before its right one: we call it C;. But C; requires a surrounding do block, as you noted. I'm

Re: if not C, then what?

2004-07-01 Thread Scott Bronson
On Thu, 2004-07-01 at 13:35, Juerd wrote: pray_to $_ ., then sacrifice $virgin for @evil_gods; Sure. But what is .,? Cthen could work alone, couldn't it? It is a horizontal ;. Ha! I love it. Good source code should look happy.

Re: if not C, then what?

2004-07-01 Thread Juerd
Scott Bronson skribis 2004-07-01 14:11 (-0700): On Thu, 2004-07-01 at 13:35, Juerd wrote: pray_to $_ ., then sacrifice $virgin for @evil_gods; I meant it without then, but apparently forgot to remove it. pray to $_ ., sacrifice $virgin for @evil_gods; Ha! I love it. Good source code

[perl #30557] [BUG] Re: cvs commit: parrot/config/init data.pl

2004-07-01 Thread via RT
# New Ticket Created by Dennis Rieks # Please include the string: [perl #30557] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=30557 On Saturday 26 June 2004 16:44, Nicholas Clark wrote: cvsuser 04/06/26

[perl #30560] [PATCH] classes/complex.pmc: void function can't return a value

2004-07-01 Thread via RT
# New Ticket Created by Andy Dougherty # Please include the string: [perl #30560] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=30560 The Solaris compiler complained when classes/complex.c tried to return a value

DB_File

2004-07-01 Thread H.Merijn Brand
Sorry I already deleted the mail from Andy that triggered my attention He was summarizing the different DB options as of the perl5 perspective There is also a rather new version available: QDBM It got me confused because the HP porting center has put a prcompiled version for HP-UX on their

Re: undo()?

2004-07-01 Thread Rod Adams
Austin Hastings wrote: --- Rod Adams [EMAIL PROTECTED] wrote: A guess from my current understanding: You're wanting to play with a database. You take a continuation. You see if have a database handle open and good to go, if so you do your thing. (can you then dismiss the continuation? do

Re: if not C, then what?

2004-07-01 Thread Jonathan Lang
Juerd wrote: Scott Bronson skribis 2004-07-01 14:11 (-0700): Juerd wrote: pray_to $_ ., then sacrifice $virgin for @evil_gods; I meant it without then, but apparently forgot to remove it. pray to $_ ., sacrifice $virgin for @evil_gods; Strictly from a grammatical perspective,

Regexp::Parser v0.02 on CPAN (and Perl 6 regex question)

2004-07-01 Thread Jeff 'japhy' Pinyan
It'll appear shortly at your local mirror. You can get it from my web site as well. I'll be writing an extension module tomorrow, and starting next week, I'll get started on Regexp::Perl6. Which leads me to a question about Perl 6 regexes. I'm writing an article on (?{ ... }) and (??{ ... })

Re: Regexp::Parser v0.02 on CPAN (and Perl 6 regex question)

2004-07-01 Thread Luke Palmer
Jeff 'japhy' Pinyan writes: It'll appear shortly at your local mirror. You can get it from my web site as well. I'll be writing an extension module tomorrow, and starting next week, I'll get started on Regexp::Perl6. Cool. Which leads me to a question about Perl 6 regexes. I'm writing

Re: Regexp::Parser v0.02 on CPAN (and Perl 6 regex question)

2004-07-01 Thread Brent 'Dax' Royal-Gordon
Jeff 'japhy' Pinyan wrote: ...I have a question about the backtrack control assertions : :: and :::. Do any of them cause the regex to fail entirely? That is, not fail and try again from a different position in the string, but fail utterly? My understanding is they don't, which is why there's