Re: Should @x be defined after only my @x? (RT #64968)

2009-08-12 Thread Uri Guttman
and then some do undef @bar and then think defined @bar makes sense. so maybe there is a new reason to support defined on arrays and hashes but i think it should be disallowed. uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture

Re: Amazing Perl 6

2009-05-28 Thread Uri Guttman
this amazing feature and be assured that the audience will be amazed. :) thanx, uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Free Perl Training --- http://perlhunter.com

Re: The game of life

2009-05-28 Thread Uri Guttman
a quine (typo - should be It's - uri) * Turns other programs into quines * Plays Conway's Game of Life * Animates a marquee banner It does so without importing any modules, and without using a single if, unless, while, until, for, foreach, goto, next, last, redo, map, or grep. uri -- Uri

Re: Which brackets should @a.perl use?

2009-01-04 Thread Uri Guttman
serializing a tree, you must get the ref version so that is the common and default usage. your version isn't DWIMmy there at all. uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support

Re: Which brackets should @a.perl use?

2009-01-04 Thread Uri Guttman
do it without a \() which is longer (and uglier IMO than []). uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Free Perl Training --- http://perlhunter.com/college.html

Re: Working with files wish list

2008-12-15 Thread Uri Guttman
issue of portable paths is another problem but i can't address that. thanx, uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Free Perl Training --- http://perlhunter.com

Re: r24325 - docs/Perl6/Spec

2008-12-15 Thread Uri Guttman
built in different modules. there is plenty to steal from there so don't go reinventing this wheel just yet. :) thanx, uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Free

Re: What does a Pair numify to?

2008-12-15 Thread Uri Guttman
in-place sorting which is wanted. so you could default to sorting pairs by keys and not bother too many. uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Free Perl

Re: r24325 - docs/Perl6/Spec

2008-12-13 Thread Uri Guttman
that may be of some interest. and it only won a technical award because damian withdrew as he was the winner the previous two years in a row! :) thanx, uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training

Re: Better sort spec?

2008-12-12 Thread Uri Guttman
not discovered something new in perl or perl6 regarding sorting. it has been covered and in depth but never properly integrated into the p6 docs. thanx, uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training

Re: Rakudo test miscellanea

2008-06-26 Thread Uri Guttman
/subtract working and the designs for * and / are there. just needs more coding in c. i don't have the time, focus and incentive to work on it. a fun and smallish project for anyone with the right interest. thanx, uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.sysarch.com

Re: Perl 6 fundraising and related topics.

2008-03-25 Thread Uri Guttman
to: http://perlhunter.com/college.html thanx, uri, dean of the perl college. -- Uri Guttman -- [EMAIL PROTECTED] http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Free Perl Training --- http://perlhunter.com

Re: Perl 6 fundraising and related topics.

2008-03-25 Thread Uri Guttman
community. thanx, uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Free Perl Training --- http://perlhunter.com/college.html - - Gourmet Hot Cocoa Mix http

Re: Perl 6 fundraising and related topics.

2008-02-23 Thread Uri Guttman
. in fact we can probably find a free stray or extra kitten somewhere near him. will this make perl 6 happen before christmas? :-) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.sysarch.com -- - Perl Architecture, Development, Training, Support, Code Review

Re: [svn:perl6-synopsis] r14376 - doc/trunk/design/syn

2007-04-17 Thread Uri Guttman
; $.something = UsefulData.new; i don't like unnecessary blocks and indents if i can help it. unless with else is very confusing and i never used that. i try to keep my unless clauses to be very simple. anything complex and i revert to if. uri -- Uri Guttman -- [EMAIL PROTECTED] http

Re: Should a dirhandle be a filehandle-like iterator?

2007-04-13 Thread Uri Guttman
been mapped that way long ago in the OS. in 30+ years that hasn't happened afaik. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

Re: Should a dirhandle be a filehandle-like iterator?

2007-04-13 Thread Uri Guttman
like that are just overkill IMO. enough from me on this. as with the rest of p6 i will work with whatever is decided by @larry. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search

Re: request new Mapping|Hash operators

2007-03-18 Thread Uri Guttman
rename as a function to rename a file so there is no ambiguity. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http

Re: Y not

2007-02-21 Thread Uri Guttman
to protect us all! :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Docathon (was Re: State of Perl 6 Backends)

2006-06-23 Thread Uri Guttman
://yapcchicago.org/wiki/index.cgi?SynopsisEdit (i should have called it DocAthon. maybe i will rename it) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

YAPC::NA Synopsis Hackathon

2006-06-11 Thread Uri Guttman
I have proposed a synopsis edit hackathon subproject at YAPC::NA. read my ideas at: http://yapcchicago.org/wiki/index.cgi?SynopsisEdit feel free to edit and add your own comments. thanx, uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl

Re: [svn:perl6-synopsis] r9310 - doc/trunk/design/syn

2006-05-26 Thread Uri Guttman
? :) congrats, grandpa! uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: A rule by any other name...

2006-05-10 Thread Uri Guttman
in most cases you won't see many explicit skip or ws as they will be implied by the whitespace in the rule/term/whatever that has skipping enabled. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design

Re: [svn:perl6-synopsis] r8899 - doc/trunk/design/syn

2006-04-21 Thread Uri Guttman
-- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: [svn:perl6-synopsis] r8899 - doc/trunk/design/syn

2006-04-21 Thread Uri Guttman
for clarification. but the way p6 uses $_ in some places is much better than p5 so that rule may need changing too. oy! the habits to be broken and relearned! uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems

Re: Another dotty idea

2006-04-07 Thread Uri Guttman
! :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: [svn:perl6-synopsis] r8572 - doc/trunk/design/syn

2006-04-06 Thread Uri Guttman
on the h dangling 'h'. a +hash object to reset the iterator explicitly.) uri, the very punishing grammar nazi. -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

Re: [svn:perl6-synopsis] r8569 - doc/trunk/design/syn

2006-04-05 Thread Uri Guttman
. hell, she has to have SOME flaws! :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: [svn:perl6-synopsis] r8570 - doc/trunk/design/syn

2006-04-05 Thread Uri Guttman
CCANDO. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: [svn:perl6-synopsis] r8532 - doc/trunk/design/syn

2006-04-02 Thread Uri Guttman
AT == Audrey Tang [EMAIL PROTECTED] writes: AT Uri Guttman wrote: one of these days when i have tuits of large circumference, i will do a nit pass over as much of the A/E/S as i can handle before my brain explodes. having done tech editing for perl books is good training

Re: [svn:perl6-synopsis] r8520 - doc/trunk/design/syn

2006-04-01 Thread Uri Guttman
. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: [svn:perl6-synopsis] r8532 - doc/trunk/design/syn

2006-04-01 Thread Uri Guttman
many and are bleeding edge that the wording used has to be extra clean of nits and such stuff as dangling pronouns and other common flaws of technical writing. speaking of bleeding edge? what do you call the opposite of that? spoiler space the coagulated edge. uri -- Uri

Re: handling undef better

2005-12-21 Thread Uri Guttman
RLS == Randal L Schwartz merlyn@stonehenge.com writes: Uri == Uri Guttman [EMAIL PROTECTED] writes: Uri sorting in p6 is not at all like in p5. instead of coding up an explicit Uri comparison code block and duplicating all the key access code (for $a Uri and $b), you will specify how

Re: handling undef better

2005-12-21 Thread Uri Guttman
RLS == Randal L Schwartz merlyn@stonehenge.com writes: Uri == Uri Guttman [EMAIL PROTECTED] writes: Uri i will let damian handle this one (if he sees it). but an idea would be Uri to allow some form ofkey extraction via a closure with lazy evaluation Uri of the secondary (and slower) key

Re: handling undef - second draft

2005-12-18 Thread Uri Guttman
-- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: handling undef better

2005-12-17 Thread Uri Guttman
which don't even use regular strict. perl's ability to dwim undef and not carp or croak is a good default. just use pragmas to make it stricter in larger programs. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems

Re: handling undef better

2005-12-17 Thread Uri Guttman
on the side of leaving undef's default behavior alone and using a stricture to get your desirec behavior. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

Re: Perl grammar for Perl5 - Perl6

2005-12-08 Thread Uri Guttman
LW == Larry Wall [EMAIL PROTECTED] writes: LW And if I were Jewish I'd've said Oy vey many times over. :-) or if you were a lazy jewish perl6 hacker you would code: say Oy Vey! for 1 .. ; :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Uri Guttman
hurt anyone. you just need to know some computer history. :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: Hyphens vs. Underscores

2005-11-17 Thread Uri Guttman
and that it _ for word separation. the evil studly caps is used for module names only (where it does seem to work better than _ would. or maybe we are just so used to it by now). trying to change that in a scoped way will only cause pain somewhere else. uri -- Uri Guttman -- [EMAIL PROTECTED

Re: Why submethods

2005-10-30 Thread Uri Guttman
inheritance). so what is the external sub interface for? we can see the need for private worker methods and even p5 has a convention of marking such subs with a leading _. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development

Re: Ways to add behavior

2005-10-26 Thread Uri Guttman
mental help. please step back from the keyboard before you commit such a sin again. the next time, i will ask gloria to stick you with a knitting needle. is the smiley :) or (: ? uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development

Re: Fwd: top 5 list needed

2005-10-19 Thread Uri Guttman
returning macro would run and the compiler will replace the text of the parsed macro call and start reparsing with the returned text. there may be some juggling of the main parse tree to deal with this but it can be done without going too insane. :) uri -- Uri Guttman -- [EMAIL PROTECTED

top 5 list needed

2005-10-18 Thread Uri Guttman
. thanx, uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: top 5 list needed

2005-10-18 Thread Uri Guttman
To further expand on this, they will be AST-manipulating macros (LISP SL style) rather than text-replacing macros (C style). my impression is that both styles are supported as you can return either text or an AST (compiled code) from a macro. uri -- Uri Guttman -- [EMAIL PROTECTED

Re: Sane (less insane) pair semantics

2005-10-10 Thread Uri Guttman
. and if i get it right, *hash( @args ) is what is needed to convert an array of pairs to be used as named params. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

Re: Sane (less insane) pair semantics

2005-10-09 Thread Uri Guttman
) } foo( bar() )# i would expect $a == ( a = 1 ) since there is # no * foo( *bar() ) # i would expect $a == 1 i think i covered most/all of the variations. but this needs to be hammered down for all of them. thanx, uri -- Uri Guttman -- [EMAIL

Re: Sane (less insane) pair semantics

2005-10-09 Thread Uri Guttman
LP == Luke Palmer [EMAIL PROTECTED] writes: LP On 10/9/05, Uri Guttman [EMAIL PROTECTED] wrote: IB == Ingo Blechschmidt [EMAIL PROTECTED] writes: IB sub foo ($a) {...} works for me. but what about lists and arrays? my @z = ( 'a', 1 ) ; foo( @z ) # $a = [ 'a', 1

Re: Sane (less insane) pair semantics

2005-10-09 Thread Uri Guttman
the result as a SC hash, and splat that where is the hash? wouldn't you want %{} in your system? and %{} derefs a hash and doesn't convert a list to a hash. that is what hash() does. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem

Re: k, v

2005-09-24 Thread Uri Guttman
is clunky and too long. i wouldn't have minded .pairs or .each instead of kv. but alias methods are easy to add. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl

Re: Who is @Larry?

2005-08-25 Thread Uri Guttman
think i am getting the syntax right. also i think it should be %Larry since there is no inherent order in the members and all of them are randomly located. but @Larry is easier to say out loud. :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting

Re: Hoping that Params::Validate is not needed in Perl6

2005-08-17 Thread Uri Guttman
IMO. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: execution platform object? gestalt?

2005-07-27 Thread Uri Guttman
the (reasonably) known external things about this perl. OS seems too specific as does VM. they should just be subparts of the full env. this is also more like an intelligent Config.pm it seems. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting

Re: execution platform object? gestalt?

2005-07-27 Thread Uri Guttman
LW == Larry Wall [EMAIL PROTECTED] writes: LW On Wed, Jul 27, 2005 at 04:27:15PM -0400, Uri Guttman wrote: LW : then why not name it something like *?ENV (not to be confused with the LW : shell/exec env which is still %ENV i assume)? LW Of course, the fact that you have to say

Re: method calls on $self

2005-07-07 Thread Uri Guttman
self. LW use self this. LW Did I leave anyone out? use self that. use self over_there. use self where_am_i. use self dis. use self dat. use self you. :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting

Re: What the heck is... wrong with Parrot development?

2005-06-06 Thread Uri Guttman
for Dan! hear! hear!! uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: (1,(2,3),4)[2]

2005-05-25 Thread Uri Guttman
often. and they are at equal huffman levels as the =() is matched in length by ==. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

Re: (1,(2,3),4)[2]

2005-05-25 Thread Uri Guttman
w == wolverian [EMAIL PROTECTED] writes: w On Wed, May 25, 2005 at 07:07:02PM -0400, Uri Guttman wrote: please don't use == for simple assignments as it will confuse too many newbies and auch. it (and its sister ==) are for pipelining ops like map/grep and for forcing assignment

Re: hyperoperators and multi-dimensional datastructures

2005-05-19 Thread Uri Guttman
I think we're beginning to re-invent PDL. Poorly. but is there a p6 pdl yet? they may not need much with multi-dim ops, slices, hyper and reduce all built in! also with type int (patform ints), they can get the dense storage needed (but losing any dimensional flexibility). uri -- Uri Guttman

Re: Plethora of operators

2005-05-14 Thread Uri Guttman
/reduce, it should be well commented. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: split /(..)*/, 1234567890

2005-05-12 Thread Uri Guttman
. tree results are more for real parsing (which split is not intended to do) so use a parsing rule for that. also note the coding style rule (i think randal created it) which is to use split when you want to throw things away (the delimiters) and m// when you want to keep thinks. uri -- Uri Guttman

Re: C:: in rules

2005-05-12 Thread Uri Guttman
backspace? PRM For as long as I can remember \b has meant word boundary in PRM regular expressions. :-) :-) except in char classes where it gets its backspace meaning back. :-) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem

Re: Nested captures

2005-05-11 Thread Uri Guttman
DC == Damian Conway [EMAIL PROTECTED] writes: DC Uri Guttman wrote: DC Sure. Just as $42 is a shorthand for $/[42], so too $whatever is a DC shorthand for $/whatever. but then what about the different index bases for $42 and $/[42]? i don't think that has been resolved (nor has

Re: Nested captures

2005-05-10 Thread Uri Guttman
for $42 and $/[42]? i don't think that has been resolved (nor has mixing the $1.1 and $1[1] syntaxes). uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

Re: Nested captures

2005-05-09 Thread Uri Guttman
. :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: Nested captures

2005-05-09 Thread Uri Guttman
and it is 1 based. you can use any expressions with the latter and it is 0 based. by allowing $1[$j].1 you save only 1 char over $1[$j][0] and would cause major confusion IMO. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development

Re: Nested captures

2005-05-09 Thread Uri Guttman
be $/files and $/dir? uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: Open and pipe

2005-05-04 Thread Uri Guttman
AS == Aaron Sherman [EMAIL PROTECTED] writes: AS On Mon, 2005-05-02 at 22:51, Uri Guttman wrote: LW == Larry Wall [EMAIL PROTECTED] writes: LW multi sub opensocket ( LW Str +$mode = 'rw', LW Str +$encoding = 'auto', LW Str [EMAIL PROTECTED]) returns IO; and how

Re: reduce metaoperator

2005-05-04 Thread Uri Guttman
var names you choose matters but i think it would be clearer if used as a real example in some future docs. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

Re: reduce metaoperator

2005-05-04 Thread Uri Guttman
@xyzzy you are brainfucking me! stop it now!! :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http

Re: Open and pipe

2005-05-04 Thread Uri Guttman
of i/o in a consistant manner. it is much more than just a polymorphic open or io::all. they only address one aspect of i/o (initiating an i/o request) and that skips read/write/fcntl/event loops and more. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl

Re: Open and pipe

2005-05-02 Thread Uri Guttman
prefer if opensocket's signature were fully fleshed out with named args (with some defaults). just passing in an extra list is a poor api as there are so many socket options. just read PBP (when it comes out) for damian's take on long arg lists. :) uri -- Uri Guttman -- [EMAIL PROTECTED

Re: Open and pipe

2005-05-02 Thread Uri Guttman
MF == Matt Fowles [EMAIL PROTECTED] writes: MF All~ MF On 5/2/05, Uri Guttman [EMAIL PROTECTED] wrote: LW == Larry Wall [EMAIL PROTECTED] writes: LW multi sub opensocket ( LW Str +$mode = 'rw', LW Str +$encoding = 'auto', LW Str [EMAIL PROTECTED]) returns IO; and how

Re: Threading in Parrot vs Perl

2005-04-28 Thread Uri Guttman
that autothreading could be parallel underneath if that is supported. maybe choosing the desired implementation would be a pragma. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search

Re: alarm() and later()

2005-04-20 Thread Uri Guttman
and continuations/coroutines instead of callbacks. this means a yield type of func is needed (return is yeild in typical event loops). uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search

Re: Unknown level of hash

2005-03-28 Thread Uri Guttman
a way to do this. there is a dim operator to set dimensions. so it would be something like this: %hash{ dim @a } or is $hash has a hash ref: $hash{ dim @a } i cc'ed p6l so i can/will be corrected. uri -- Uri Guttman -- [EMAIL PROTECTED] http

Re: Parameter and trait questions - just how 'only' _is_ 'read-only'?

2005-03-26 Thread Uri Guttman
is needed). in my world undef is a scalar value and nothing else. how do you see it in p6? uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

Re: Parameter and trait questions - just how 'only' _is_ 'read-only'?

2005-03-26 Thread Uri Guttman
? how do you see the error in @a? i just don't like seeing undef used for error handling as it has too many other uses (even if i did it in stem). just make undef a scalar value and not a function nor a error marker. uri -- Uri Guttman -- [EMAIL PROTECTED] http

Re: Parameter and trait questions - just how 'only' _is_ 'read-only'?

2005-03-26 Thread Uri Guttman
: in my world undef is a scalar value and nothing else. how do you see it LW : in p6? LW undef is not a scalar value, it is the explicit *absence* of a value LW where you expected one. In Perl 6, undef is the Bearer of Bad News. oy! i feel the pain of the late night phone call. :) uri -- Uri

Re: New S29 draft up

2005-03-18 Thread Uri Guttman
MD == Matt Diephouse [EMAIL PROTECTED] writes: MD Uri Guttman [EMAIL PROTECTED] wrote: LW == Larry Wall [EMAIL PROTECTED] writes: LW oct and hex are arguably misnamed, since most functions are named by LW what they produce, not by what they take as input. I don't know what LW

Re: New S29 draft up

2005-03-17 Thread Uri Guttman
what they do? or a more general from_base( 16, $hex )? and that could be curried into from_hex(). uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

Re: reset() and S29 -- obsoleted?

2005-03-15 Thread Uri Guttman
. Can we remove the vagueness and deprcate it completely? LW Yes, please. i have seen p5 newbies ask about using it. oy!! uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search

Re: The fate of reduce() in Python 3000

2005-03-13 Thread Uri Guttman
that guido doesn't like to think more than he has too :). uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: The S29 Functions Project

2005-03-13 Thread Uri Guttman
where it resides, in a module (best bet IMO) or core language. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: Junctions - feedback and desires

2005-03-10 Thread Uri Guttman
it's okay to have lazy junctions, I won't argue with them. lazy only when you can actually cheat IMO. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs

Re: finding the name of $SUB ?

2005-03-07 Thread Uri Guttman
explicitly. why not leave it as $?SUB but it is an object and you use the .name method? this way you won't clutter the namespace and you can add more methods like .signature, .returns, etc. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem

Re: finding the name of $SUB ?

2005-03-07 Thread Uri Guttman
LW == Larry Wall [EMAIL PROTECTED] writes: LW On Tue, Mar 08, 2005 at 01:55:07AM -0500, Uri Guttman wrote: LW : why not leave it as $?SUB but it is an object and you use the .name LW : method? LW Uh, yeah. Obviously, 11 pm is still to early in the day for me

Re: S06: Pairs as lvalues

2005-02-26 Thread Uri Guttman
(a = 13) or IB # the Int 13? $x is 13 now as you assigned it. to assign the value of the pair as an lvalue i think you would do: $x.value = 13 ; uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem

Re: scoping functions as list operators?

2005-02-24 Thread Uri Guttman
off suggesting -, then. LP Well, there's half the problem. Now we just need to determine if LP 'my' can leave its post as a unary declarator. that fixes Stéphane's problem with my yall proposal. and yall solves the unary my problem. :) uri -- Uri Guttman -- [EMAIL PROTECTED

Re: scoping functions as list operators?

2005-02-24 Thread Uri Guttman
RA == Rod Adams [EMAIL PROTECTED] writes: RA Uri Guttman wrote: that fixes Stéphane's problem with my yall proposal. and yall solves the unary my problem. :) RA Stop misusing y'all before this Texan has to hurt you. RA And y'all wonder why we hate you damn yankees. Can't even

Re: Octals

2005-02-22 Thread Uri Guttman
there. so if you have no valid value chars or are out of range (as with \777), then i would want to know as i made a mistake. leading pad 0's can be skipped if some legal value is found. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem

Re: Junctions, Sets, and Threading.

2005-02-22 Thread Uri Guttman
be away for the rest of the week, but will happily continue to DC argue when I return. ;-) so where do you go for an argument when you are away? uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture

Re: Junction Values

2005-02-20 Thread Uri Guttman
# set(none(2));-) NC I don't understand this last line, even given the context of the NC preceding three. Why is it none of 2, rather than none of NC something else? my guess is a typo and $x should be $n. uri -- Uri Guttman -- [EMAIL PROTECTED] http

Re: Fun with junctions

2005-02-15 Thread Uri Guttman
. :-) DW To quote Noah, what's a qubit? RGGTTT :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http

Re: Closure trait for loop entry

2005-02-12 Thread Uri Guttman
up. it is symmetrical to LAST in that way. it should print the former text each time the sub is called. but i could be wrong. :) uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding

Re: Closure trait for loop entry

2005-02-12 Thread Uri Guttman
) -. for() is called immediately but with a different signature as you said. the void context would help the optimizer since you don't save the code block for later reuse, no cloning should be done. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem

Re: Perl 6 Summary for 2005-01-31 through 2004-02-8

2005-02-10 Thread Uri Guttman
(or even designed by conway :) MP = ?? uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: Junctive puzzles.

2005-02-05 Thread Uri Guttman
as 'a | b' in that there is no guarantee of order in junctions. but there is no guarantee of evaluating all of the elements in a junction, it can short curcuit as soon as it can determine a correct boolean result (assuming a boolean result is wanted). uri -- Uri Guttman -- [EMAIL PROTECTED

Re: Perl 6 How Do I?

2005-01-18 Thread Uri Guttman
parsing grammars as in Grammar::Perl. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

Re: pull put

2004-12-05 Thread Uri Guttman
them on queues. uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org

  1   2   3   4   >