Re: RFC 288 (v2) First-Class CGI Support

2000-09-27 Thread James Mastros
can run freely in the end-user's account. Think cgi_wrapper without spawning a new interpreter. -=- James Mastros -- -BEGIN GEEK CODE BLOCK- Version: 3.1 GU>CS d->-- s-:- a20 C++ UL+++@ P+++>+ L++@ E-() N o? K? w@ M-- !V PS++ PE Y+ PGP(-) t++@ 5+ X+++ R+ tv+ b+++ DI+ D+ G e>++ h! r- y? --END GEEK CODE BLOCK--

Re: RFC 292 (v1) Extensions to the perl debugger

2000-09-25 Thread James Mastros
ly get the location of the AUTOLOADER sub and not where the sub being autoloaded was acatualy written. Most of the rest would require siginificant overhead on all programs that might get debugged (the debugger is a module; you don't necessarly have to start it from the commandline). Us

Re: Perl 5's "non-greedy" matching can be TOO greedy!

2000-12-15 Thread James Mastros
nd non-greedy, lazy assertations. If you came up with a good way to specify along both axes, I think we'd have a winner. -=- James Mastros -- midendian: She never sleeps. mousetrout: But I do. I just regret it after I wake up. AIM: theorbtwo homepage: http://www.rtweb.net/theorb/ ICBM: 40:04:15.100 N, 76:18:53.165 W

Re: Exposing regexp engine & compiled regexp's

2001-01-08 Thread James Mastros
lowing here. It seems that in the vast majority of all cases, you'd need to compile (or at the very least, parse) the entire regex. Also, you can get /vast/ efficency gains by compiling a regex, so you can check the easy things first. -=- James Mastros -- midendian: She never sleep

Re: Why shouldn't sleep(0.5) DWIM?

2001-01-30 Thread James Mastros
ns. I personaly would prefer to see units of seconds, a basepoint of 1/1/1970, and resolution and accuracy best-reasonably-available.) If you really want time() to do what it did before, you can always say: sub time {int (CORE::time()) + }; Indeed, a perl5::time module that does exactly that mi

Re: Why shouldn't sleep(0.5) DWIM?

2001-01-31 Thread James Mastros
change the meaning of time() slightly without changing to a different function name? Yes, it will silently break some existing code, but that's OK -- remember, 90% with traslation, 75% without. being in that middle 15% isn't a bad thing. -=- James Mastros -- "My country

Re: Why shouldn't sleep(0.5) DWIM?

2001-02-01 Thread James Mastros
s result slightly differently is not "not keeping perl perl", nor is it not keeping time time; changing time() such that it did somthing radicly different (like returning time-of-day instead) would be changing it's soul. And I don't think we should be keeping code-level compatablit

Re: assign to magic name-of-function variable instead of "return"

2001-02-01 Thread James Mastros
't modify it. And if you try, you don't error, you recruse. And perl will happily recruse until you run out of memory, and VB will give a stack overflow, and take down the IDE and your code unless you're careful. -=- James Mastros -- "My country 'tis of thee, of y&#x

Re: Really auto autoloaded modules

2001-02-02 Thread James Mastros
AC address of the network card, and some other random stuff). I think the current method is probably best for us. -=- James Mastros -- "My country 'tis of thee, of y'all i'm rappin'! Lan where my brothers fought, land where our King was shot -- from every buildi

Re: Really auto autoloaded modules

2001-02-02 Thread James Mastros
#x27;s SysV IPC scheme into perl. (And I don't even know what XPG4 is.) Speaking of contract names, is Damien about? -=- James Mastros -- "My country 'tis of thee, of y'all i'm rappin'! Lan where my brothers fought, land where our King was shot -- from eve

Re: Really auto autoloaded modules

2001-02-02 Thread James Mastros
contain two consecutive colons. (or "'"s, but that's going to be thrown out, I assume). -=- James Mastros -- "My country 'tis of thee, of y'all i'm rappin'! Lan where my brothers fought, land where our King was shot -- from every building

Re: assign to magic name-of-function variable instead of "return"

2001-02-02 Thread James Mastros
he difference between an alias and an automagicly dereferenced ref? If nothing, why do we claim to never autoderef?) Is assigning to @__ the same as assigning to @{$__}? Nope. Does @$__ have any meaning if $__ is an alias, not a reference? Nope. I'm quickly getting more confused here t

Re: assign to magic name-of-function variable instead of "return"

2001-02-04 Thread James Mastros
On Sun, Feb 04, 2001 at 05:30:59PM +0100, Johan Vromans wrote: > James Mastros <[EMAIL PROTECTED]> writes: > > And I always hated that about VB and Pascal -- you can assign to the magic > > variable, but can't modify it. > > That was before the invention of a

Re: assign to magic name-of-function variable instead of "return"

2001-02-05 Thread James Mastros
it's independent of the sub's name. I wish this could be > extended to doing recursive calls without having to say the subs own > name, again. I agree, making the magic variable be the name of the sub is a bad idea. Your idea for a name for the currently executing sub is interesting, I thin

Re: assign to magic name-of-function variable instead of "return"

2001-02-05 Thread James Mastros
ffer is two magic values, $^R and @^R. And, as sombodyoranother pointed out, @^R can't be a real array, only a list. (I don't think that will be a problem, though.) > [stuff about manual vs. automatic return-stack elminition] Yeah, you're probably right. But return-as-assignment

Re: assign to magic name-of-function variable instead of "return"

2001-02-05 Thread James Mastros
ormation on scopes that caller doesn't (IE any scope not a do, require, eval, or sub-call.) -=- James Mastros -- "My country 'tis of thee, of y'all i'm rappin'! Lan where my brothers fought, land where our King was shot -- from every building top, le

Re: assign to magic name-of-function variable instead of "return"

2001-02-05 Thread James Mastros
On Mon, Feb 05, 2001 at 08:43:02PM +0100, [EMAIL PROTECTED] wrote: > On Mon, Feb 05, 2001 at 11:46:48AM -0500, James Mastros wrote: > > By the time you get to the last line, you've already forgoten WTF you named > > the return variable. > Eh, I don't think that b

Re: Auto-install (was autoloaded...)

2001-02-11 Thread James Mastros
No | Yes | No. (Source packages are signed, though.) (At present, feature is planned for future, and shouldn't be all that hard.) -=- James Mastros -- "All I really want is somebody to curl up with and pretend the world is a safe place." AIM: theorbtwo homepage: http://www.rtweb.net/theorb/

Re: Auto-install (was autoloaded...)

2001-02-12 Thread James Mastros
sumers, assumedly) licenced code from RSA. However, it shouldn't be a problem, since RSA's pattent (in the US, anyway, and I don't think they pattented anywhere else) has timed out. -=- James Mastros -- "All I really want is somebody to curl up with and pretend the world

Re: Auto-install (was autoloaded...)

2001-02-12 Thread James Mastros
them that knows how to do special things with files in that directory (like set up symlinks from the normal man dirs). BTW, this plan would make it painful to do with perl5 setups, since they commonly have odd dir structures. -=- James Mastros -- "All I really want is somebody to cur

Re: Auto-install (was autoloaded...)

2001-02-12 Thread James Mastros
On Mon, Feb 12, 2001 at 06:56:47PM -0300, Branden wrote: > James Mastros wrote: > > magical "install" script in them that knows how to do special things with > > files in that directory (like set up symlinks from the normal man dirs). > > That probably should be

Re: Garbage collection (was Re: JWZ on s/Java/Perl/)

2001-02-12 Thread James Mastros
uctor) Fiat? It's pretty hard (for me) to think of when you'd want an AUTOLOADed DESTROY, since if you create /any/ objects of the class, DESTROY will be called. "It isn't possible to AUTOLOAD DESTROY." --perlmem(6) -=- James Mastros -- "All I really want is so

Re: End-of-scope actions: POST blocks.

2001-02-12 Thread James Mastros
(cond) { somthing } }. CATCH is just shorthand. > - What's the return value? With RFC 88 you can say: The return value is undef (or empty-list) until you hit a return statement. If the code dies before returning, then it stays undef/() unless somthing run after that (IE a CATCH/POS

Re: Garbage collection (was Re: JWZ on s/Java/Perl/)

2001-02-13 Thread James Mastros
On Tue, Feb 13, 2001 at 01:09:11PM -0500, John Porter wrote: > > James Mastros wrote: > > >"It isn't possible to AUTOLOAD DESTROY." --perlmem(6) [Note: that's a hypothetical quote.] > I'm not sure what that means. Certainly AUTOLOAD gets > called

Re: Garbage collection (was Re: JWZ on s/Java/Perl/)

2001-02-14 Thread James Mastros
with a message about ``This object was already > DESTROYed.''. I think an ordinary "attempt to dereference undef" will work. -=- James Mastros -- "All I really want is somebody to curl up with and pretend the world is a safe place." AIM: theorbtwo homepage: http://www.rtweb.net/theorb/

Re: Garbage collection (was Re: JWZ on s/Java/Perl/)

2001-02-14 Thread James Mastros
On Wed, Feb 14, 2001 at 09:59:31AM -0500, John Porter wrote: > James Mastros wrote: > > I'd think that an extension to delete is in order here. Basicly, delete > > should DESTROY the arg, change it's value to undef,... > Huh? What delete are you thinking of? This is

Re: Garbage collection (was Re: JWZ on s/Java/Perl/)

2001-02-14 Thread James Mastros
tly GC. 3) Automatic -- Certian runtime events, not directly (or obviously) related to the flow of execution, like when the number of SVs created or the amount of memory allocated since the last GC run exced a certian critical value. (I /think/ a dictionary would agree with me, but I'm not about to get pissy and look them up.) I was saying that we should do 1 and 3, but not 2. -=- James Mastros

Re: Garbage collection (was Re: JWZ on s/Java/Perl/)

2001-02-14 Thread James Mastros
hat there would be a "invalid" marker of some sort. It's neccessary (I think) for a pool, which I assumed. Bad James, bad. -=- James Mastros -- "All I really want is somebody to curl up with and pretend the world is a safe place." AIM: theorbtwo homepage: http://www.rtweb.net/theorb/

Re: End-of-scope actions: Toward a hybrid approach.

2001-02-14 Thread James Mastros
t; is immediate). I'm fond of post, myself. Simply means "subsequent to", literaly (m-w.com, post-, 2a. Yes, I'm anal sometimes.) "Always" makes me say "but when", and "later" seems like the wrong part-of-speech to me. -=- James Mastros --

Re: Schwartzian Transform

2001-03-20 Thread James Mastros
t;sub {}"s.) Indeed, map $_->[0], sort {&$sort($a->[1], $b->[1])} map [$_, &$attrib($_)], @list; does what I intendeded. (Where ex $sort = sub {$_[0] cmp $_[1]}, and $attrib = sub {lc $_}.) (Of course, this doesn't always use the optimal form.) -=- James Mastr

Re: Schwartzian Transform

2001-03-23 Thread James Mastros
] elem, and extract the ->[1] elem. Thus, it might not be as effecent as a hand-crafted schwartzian, but will be at least as efficent as a naieve straight sort (except in pathalogical cases, like tsort((^_), (^_<=>^_), @list)). -=- James Mastros -- The most beautiful thing we c

Re: Schwartzian Transform

2001-03-26 Thread James Mastros
g out of his head > and hiding behind the bookcase) That's a really wierd image. Twisted, even. -=- James Mastros -- The most beautiful thing we can experience is the mysterious. It is the source of all true art and science. He to whom this emotion is a stranger, who can no longer pa

Re: Perl culture, perl readabillity

2001-03-26 Thread James Mastros
Then again, if you think of objects (in the OO sense) as doing things, then they normaly are the subject, and _not_ the indirect-object (in the english sense). (Note, BTW, that both my german and my lingustics aren't so hot.) -=- James Mastros -- The most beautiful thing we can experi

Re: Schwartzian Transform

2001-03-26 Thread James Mastros
n indicator that you should be using that schwartz thang. -=- James Mastros -- The most beautiful thing we can experience is the mysterious. It is the source of all true art and science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand wrapt in awe, is as

Re: Schwartzian Transform

2001-03-26 Thread James Mastros
On Mon, Mar 26, 2001 at 06:31:22PM -0500, Dan Sugalski wrote: > At 04:04 PM 3/26/2001 -0500, James Mastros wrote: > >The only way f(a) can not be stable and f(a) <=> f(b) can be is somthing of > >a corner case. In fact, it's a lot of a corner case. > You're ig

Re: Schwartzian Transform

2001-03-27 Thread James Mastros
")=123456 f(f("+123,456))=123456 The functon is not idempotent. Even if you checked f(x)==x (function is the identity), an input of "123456" would work. -=- James Mastros -- The most beautiful thing we can experience is the mysterious. It is the source of all true

Re: Schwartzian Transform

2001-03-28 Thread James Mastros
>my_compare(b,c) < 0, then it should also be the case that > >my_compare(a,c) < 0 I can't define it better then that. (Though there's more to it then that). Note that only the sign of the answer is gaurnteed, so it doesn't even have to be interna

Re: Schwartzian transforms

2001-03-28 Thread James Mastros
that increment a counter every time they are accessed, for example.) I think that the difference between 4&3 dosn't matter. We only have things in 4 and not 3 that vary in abs(), but not sign. We're left with 1&2, and for 1, the sort won't work anyway. So long as we consid

Re: What can we optimize (was Re: Schwartzian transforms)

2001-03-28 Thread James Mastros
te such as :simple or :stateless. So let it be spoken, so let it be done. This isn't any more preverse then the "you can't assign to constants" rule. -=- James Mastros -- The most beautiful thing we can experience is the mysterious. It is the source of all true art and

Re: What can we optimize (was Re: Schwartzian transforms)

2001-03-28 Thread James Mastros
On Wed, Mar 28, 2001 at 05:57:30PM -0500, James Mastros wrote: > [A bunch of stuff] Oh, and I agree with sombody else on this thread that unless otherwise stated, the sort should always assume statelessness (and thus the ability to cache at will). If it's trivial to see that the sort

Re: What can we optimize (was Re: Schwartzian transforms)

2001-03-29 Thread James Mastros
dvanced garbage collector, just like > Scheme or Strongtalk compiler? We want to make it as fast as reasonably possible. Writing a native compiler might not be _reasonably_ possible. And an advanced GC will almost certianly be part of perl6; they're orthogonal issues. -=-

Re: What can we optimize (was Re: Schwartzian transforms)

2001-03-29 Thread James Mastros
arison for the same > arguments. Ahh, bingo. That's what a number of people (inculding me) are suggesting -- a :functional / :pure / :stateless / :somthingelseIdontrecall attribute attachable to a sub. -=- James Mastros -- The most beautiful thing we can experience is the myster

Re: Perl culture, perl readabillity

2001-03-29 Thread James Mastros
o english as a command form, telling the Cow to speak. (If you translate both -> and ' ' into a comma.) Anyway, I'm trying to argue lingustics in a perl ML, with zero training. Is there a linguist in the house? (Hm, didn't Larry go to Japan to learn a language with wierd

Re: Perl 5 compatibility (Re: Larry's Apocalypse 1)

2001-04-05 Thread James Mastros
a better system, use a site-policy file, or bite the bullet and change the #! lines. -=- James Mastros -- The most beautiful thing we can experience is the mysterious. It is the source of all true art and science. He to whom this emotion is a stranger, who can no longer pause to wond

Re: Larry's Apocalypse 1

2001-04-05 Thread James Mastros
't symlink bunzip -> bunzip2 and bzip -> bzip2 and have it do the Right Thing. On the gripping hand, when combined with other mesures, not so bad. -=- James Mastros -- The most beautiful thing we can experience is the mysterious. It is the source of all true art and science. H

Re: Larry's Apocalypse 1

2001-04-06 Thread James Mastros
you really want to be able to read from a URL in one line, let yourself do . But make opening a URL an explicit act. > But I really mustn't spill too many half-digested beans here. :-) If you have to, at least do it in the toilet. > P.S. Larry's Second Law of Language Rede

Re: YA string concat proposal

2001-04-24 Thread James Mastros
ewhere on these threads: What does changing to "." from -> buy us? I can see that "." is shorter to type then ->, but, say, \ would be just as good. I can't really say changing because "." is more standard. It isn't standard to C or perl5. It's possible to misparse "." as concat with "." as a sepperator on version-strings, but that's more of a problem with using it for method-call. -=- James Mastros

Re: Tying & Overloading

2001-04-25 Thread James Mastros
If you want that, you could go with `, which could produce some ambiguity, both with qx and with ', which looks very similar in many fonts. BTW, I think that considering no-whitespace cases of indirect object is quite silly -- does anybody acatualy use that? This is the first I thought it wasn't a syntax error. -=- James Mastros

Re: Apoc2 - concerns

2001-05-04 Thread James Mastros
and I think the use of := agrees with what is planned. It also avoids the use of a verbose .next (and the dot, which I still don't like ). -=- James Mastros

Re: Apoc2 - concerns

2001-05-04 Thread James Mastros
ive), so I'd rather we stay with: >$a = <$b>; # same as next $b or $b.next > Hey, maybe we can convince Larry... ;-) I'd tend to agree. Especialy that we don't need a qw() alternative. However, I don't think Larry's in a convincable mood -- coughdotcough. -=- James Mastros

Re: Please make "last" work in "grep"

2001-05-03 Thread James Mastros
9 !097!0!9080"; would stop looking after it had found and returned 0!0 and 9, and never even glance at the 98. Basicly, if you assign to a list of lvalues, @returnlist, it will stop looking after it has found scalar(@returnlist) matches or end-of-input. -=- James Mastros

Re: Apoc2 - concerns

2001-05-08 Thread James Mastros
). That lets us keep for somthing iteratorish, which saves special-caseing (I do occasionaly use a qw list with one element), and lets us keep continuity. Anyway, I'm fairly certian that I'll use iterators more then qw lists. -=- James Mastros

Re: Perl5 Compatibility, take 2 (Re: Perl, the new generation)

2001-05-11 Thread James Mastros
ers) within one file, and having perl5 being another parser. Put them together, and you get exactly this. -=- James Mastros

Re: slices

2001-05-24 Thread James Mastros
sing the comma operator. (Or did we get rid of the comma operator when I wasn't paying attention?) If we do have @foo[(stuff)] make stuff be in list context, then that'd be a special case (I think). -=- James Mastros

Re: Properties and stricture and capabilities

2001-06-09 Thread James Mastros
it would be a plain hash, with funny- character included in the key. -=- James Mastros

Re: suggested properties of operator results

2001-06-14 Thread James Mastros
intended for, it seems like a very concise, > expressive way to do multiple relationship tests without needing all those > "&&"s and such. Indeed. (Though, as defined above, this won't work on the string operations, only the numerics.) -=- James Mastros

Re: ~ for concat / negation (Re: The Perl 6 Emulator)

2001-06-22 Thread James Mastros
ly real benifit I see is typing ease, and -> isn't that hard to type. That's what editor macros are for. It's rather unfornate that we've run out of characters to use for operators, but we've got to deal with it better then flipping around operators willy-nilly. -=- James Mastros

Re: using the newer collection types - Interval

2006-05-06 Thread James Mastros
ements, but it compares as a range. 1.1 should ~~ 1..2; pugs thinking that's false is a bug, not a feature. Of course, that doesn't mean implementing range in a subset of perl6 without it isn't interesting, and possibly useful for bootstrapping. -=- James Mastros

Re: A rule by any other name...

2006-05-09 Thread James Mastros
name than 'regex'. [...] > Maybe 'match' is a better keyword. Can I suggest we keep match meaning thing you get when you run a thingy against a string, and make "matcher" be the thingy that gets run? 100% agree with you, Allison; thanks for putting words to "doesn't feel right". -=- James Mastros

Re: Synchronized / Thread syntax in Perl 6

2006-05-31 Thread James Mastros
ould have a s/z/s/ version, for those who speak a z-impared dialect of English.) -=- James Mastros

Re: Roll Call

2002-11-26 Thread James Mastros
. So far, it looks like a very nice list -- high signal, low noize, and it's possible to keep it all straight in your head. -=- James Mastros

Re: Glossary?

2002-11-26 Thread James Mastros
e a list returns it's last element whereas an array returns it's size, because it simply ain't so, and causes confusion. (I'd write an RFC suggesting that the scalar comma op dies, but it's too late, and I'm sure somebody already did. Anyway, that's a p6l thing too.) -=- James Mastros

Re: Numeric literals, take 1

2002-11-26 Thread James Mastros
hat last point.) This whole paragraph might properly be pushed off to the discussion of Num in Bool context later.) -=- James Mastros

Re: Numeric literals, take 1

2002-11-26 Thread James Mastros
On 11/26/2002 8:02 AM, James Mastros wrote: Guys, can we please not argue over just how arithmetic and such works for NaN and Inf, and defer to IEEE specs (IEEE-754, AKA IEEE floating point)? It'll save much argument, and that's how it'll almost certianly be implemente

Re: single element lists

2005-05-13 Thread James Mastros
role into some > class or other to determine the behavior if they care. Why is this a role, rather then just implementing postcircumfix:«[ ]»(Whatever $self: Int $index) ? (I'd hope the error message is a bit more newbie-friendly, but that's the only special-casing I see it needing...) -=- James Mastros

Re: Idea for making @, %, $ optional

2005-06-03 Thread James Mastros
should be looking into how to make it a pragmata, rather then pushing the idea on perl6-language. It shouldn't be too hard -- a matter of using the equivalent of perl5's UNIVERSAL::AUTOLOAD, and the OUTER:: scope. -=- James Mastros, theorbtwo

Re: backtick units (Was: File.seek() interface)

2005-07-09 Thread James Mastros
infix .new. > > (args)`Class; The problem with it is that somehow we have to get 5`m / 30`s to work, even though m is an operator, which AFAIK means it needs to be a macro, or the moral equivalent (is parsed). Also, having every unit be a like-named class would very muc

Re: Adding new function signatures to parrot's NCI call list

2002-11-27 Thread James Mastros
probably never really complete. For now, I'm just reading along and occasionaly kabitzing.) -=- James Mastros

Re: Adding new function signatures to parrot's NCI call list

2002-11-27 Thread James Mastros
On 11/27/2002 3:09 AM, Dan Sugalski wrote: At 1:02 AM -0500 11/27/02, James Mastros wrote: On 11/25/2002 9:02 PM, Dan Sugalski wrote: Pretty straightforward. Edit call_types.txt. First parameter's the return type, the rest are the parameter types. Use "p" for any generic

Re: Numeric literals, take 3

2002-11-28 Thread James Mastros
need to create typed C numbers without risking to lose precision, you should write them as a string literals: I think Larry has mandated the oppisite -- that we Do The Right Thing with bigints automaticly -- IE that BigInt is a subclass of Int, with full automatic promotion. (I think this isn't going to be true of little-i int, though.) -=- James Mastros

Re: Numeric literals, take 3

2002-11-29 Thread James Mastros
t, IE 22#11 is 1*22**1+1, 22#0:11 is 0*22**1+11.) Another possiblity is to simply consider base>36 numbers with no colons to be in error, which might be best. -=- James Mastros

Re: String Literals, take 1

2002-11-30 Thread James Mastros
h aren't neccessarly the same -- zero-width non-breaking space is nonprinting, and doesn't wordbreak, but is whitespace! =head2 Gory Details of parsing quoted constructs I think this section is going to be very much different -- since the perl6 parser is going to be defined in perl6 regexes, it may just say "see anydelimiter.pl and quoted.pl". -=- James Mastros

Re: String Literals, take 2

2002-12-02 Thread James Mastros
tion to text which they enclose; they can be embedded within interpolated strings. \L{}Lowercase all characters within brackets \U{}Uppercase all characters within brackets \Q{}Escape all characters that need escaping within brackets (except "}")

Re: String Literals, take 2

2002-12-04 Thread James Mastros
-- 0101 \101 p5/C compatable Unintutive 0o101 \o101 ConsistentHard to read 0c101 \o101 keeps \c for Inconsistent control-char 0c101 unsupported Consistentoctal string chars unsupported 0t101 \t101 Consistentwhat's tab? Or somthing else? All choices are bad, which one is best? -=- James Mastros

Re: Usage of \[oxdb] (was Re: String Literals, take 2)

2002-12-05 Thread James Mastros
ndows and several other OSes (I think, I like to play with Unicode but have little actual use for it), ALT-0nnn is spelt in decimal only. Decimal Unicode ordnals are fundimently flawed (since blocks are always on nice even hex numbers, but ugly decimal ones), but useful anyway). -=- James Mastros

Re: Usage of \[oxdb] (was Re: String Literals, take 2)

2002-12-06 Thread James Mastros
On 12/05/2002 12:18 PM, Michael Lazzaro wrote: On Thursday, December 5, 2002, at 02:11 AM, James Mastros wrote: On 12/04/2002 3:21 PM, Larry Wall wrote: \x and \o are then just shortcuts. Can we please also have \0 as a shortcut for \0x0? \0 in addition to \x, meaning the same thing? I

Re: how to code a lazy pipeline?

2002-12-10 Thread James Mastros
omthing_here($_); die "Bye-bye universe!" if ($_=42); } Will never compute anything after the first 41 element in @foo occours. (I'm assuming map, grep, and any other list-oriented function that can get away with it will act lazily when given a lazy-list argument.) -=- James Mastros

Re: Partially Memoized Functions

2002-12-12 Thread James Mastros
esentation slides on this at http://perl.plover.com/yak/memoize-quant/ -- "Quantitative Analysis of Memoization". -=- James Mastros PS -- This is getting offtopic, even for p6l.

Re: Comparing Object Identity (was: Re: Stringification of references (Decision, Please?))

2002-12-12 Thread James Mastros
neccessarly have the same reprensentation in PBC -- to whit, a constant float in different compilation units will get different slots in the constant table, but are really identical. The same is true of constant strings. (Constant integers are inlined, and thus this doesn't apply t

Re: Comparing Object Identity (was: Re: Stringification of references (Decision, Please?))

2002-12-12 Thread James Mastros
(This is a reply to a mail accidently sent to me personaly instead of the list. Buddha, care to resend your other mail? I havn't quoted it in total.) On 12/12/2002 9:43 AM, Buddha Buck wrote: James Mastros wrote: Here's my basic defintion of ID: Two things should have the same

Re: Comparing Object Identity (was: Re: Stringification of refere nces (Decision, Please?)) [x-adr][x-bayes]

2002-12-12 Thread James Mastros
s, unless someone can think of something useful for it to mean. It would, logicaly, mean that the class Module has a method "foo" if true -- applying can on an object tells you if the class of that object can do somthing, and Main is an object of class Module... right? (%Main:: is a hash,

Exists and hypotheticals (Was: Re: Comparing Object Identity)

2002-12-12 Thread James Mastros
the option of committing later. Sort of what a "try" block would like to be when it grows up... Or hypothetical variables in a non-regex context... -=- James Mastros

Re: Comparing Object Identity

2002-12-12 Thread James Mastros
should be unique across a process over all time.) If that'd require that an object's ID be a combination of the header address and a generation counter, that's OK. It means a serilization point in the allocator, but I think we'd need one no matter what (Dan?). -=- James Mastros

Re: benchmarking - it's now all(-1,0,1,5,6)% faster

2003-01-14 Thread James Mastros
even that infesable, no?) (BTW, I removed p5p from the CC list, since I don't think this makes sense for non-JIT targets... and since p5 doesn't JIT...) -=- James Mastros

Re: [perl #18056] [PATCH] Extending the Packfile (Part 1.)

2003-01-22 Thread James Mastros
ther major sections located dynamicly. (Then again, making me happy shouldn't be anybody's priority.) -=- James Mastros

Re: Bytecode metadata

2003-01-26 Thread James Mastros
now what's actualy going on that we have to be wary of. (Even authenticating the host is potentialy useful... though I can't think of a good use.) -=- James Mastros

Re: Bytecode metadata

2003-01-26 Thread James Mastros
eads) this shouldn't be an issue. Might I suggest that we make sure we can deal sanely with either mmaping or reading PBC files, and then worry about this later, like when somebody actualy finds it being a problem in real use? -=- James Mastros

Re: A6: Signature zones and such

2003-03-15 Thread James Mastros
mod_perl get funded could give to the first, and people who wanted to see Larry, you (Dan), Damian, and the gang get funded (or, unfornatly, some subset thereof, depending on how much money comes in) could give to the second... and everybody gets their way. -=- James Mastros

Re: anonimity

2004-11-11 Thread James Mastros
d seem, then, that the answer is "there's some property of thingies that gives the name that error messages will use to refer to them". (I want to thank the man who made "thingy" the proper technical term, BTW.) So what's it called? -=- James Mastros

Re: RT Ticket Summary

2004-11-18 Thread James Mastros
ave a pair of keywords or a data item for "has been made into a test", and we should provide a list of bugs that have not been marked that way, and also have not been marked as "can't make into a test". -=- James Mastros

Re: EcmaScript

2004-11-28 Thread James Mastros
tstrap yourself into PIR, for example. (Either with yourself, or compiling whatever other language you're written in into PBC.) -=- James Mastros, theorbtwo

Re: Auto My?

2004-12-19 Thread James Mastros
's a syntax error. It'd certainly make many constructs easier. -=- James Mastros

Re: Auto My?

2004-12-20 Thread James Mastros
Luke Palmer wrote: James Mastros writes: Does this imply that it's now possible to type C, and declare @foo? In the current perl, this doesn't work -- it's a syntax error. It'd certainly make many constructs easier. That looks weird to me. But as Rod points out, it can b

PUGS: show correct version automagically

2005-02-23 Thread James Mastros
See attached diff. Index: src/Help.hs === --- src/Help.hs (revision 216) +++ src/Help.hs (working copy) @@ -2,6 +2,7 @@ #define VERSION "6" #define DATE "" #include "config.h" +#include "Version.h" {- Online help and banner

Codification of the defintion of time()

2005-03-11 Thread James Mastros
t it stuck into the approps Syn? (This, of course, might be a bit of a problem; the best solution I can think of is to start on Syn 29). -=- James Mastros

Codification of the defintion of time()

2005-03-11 Thread James Mastros
t it stuck into the approps Syn? (This, of course, might be a bit of a problem; the best solution I can think of is to start on Syn 29). -=- James Mastros

Re: int("0x123") == int(0x123) ?

2005-03-16 Thread James Mastros
got to get to bed, though. Goodnight, -=- James Mastros, theorbtwo

Re: eval (was Re: New S29 draft up)

2005-03-18 Thread James Mastros
hogonality strikes again. ...unless read returns a Str but source("foo"). -=- James Mastros

Re: Units on numbers [was Re: S28ish]

2005-03-29 Thread James Mastros
rom DEM to FRF, you /must/ convert to EUR in the middle, or you will get the wrong result. Of course, neither the DEM nor the FRF have existed in several years, so it probably isn't that important...) -=- James Mastros, Who certainly looks forward to this.

Re: identity tests and comparing two references

2005-04-01 Thread James Mastros
don't like CGI.pm's HTML generation, for example -- it makes you feel like you don't need to know HTML, when you do.) -=- James Mastros

  1   2   >