Persuasive Business Writing Workshop, SZ & SH,Oct 2016 (by John Sturtevant, Former Harvard Business School Lecturer)

2016-08-30 Thread Chris Wang
=-http--www.sis-conf.com/uploads/soft/160829/1-160R9150914.pdf Yours Sincerely Chris Wang SiS Conference Consulting Tel: 86 21 51600280-800 Email: chris.w...@sis-conf.om _ SIS Conference operate a strict policy not to send unwanted emails to any of its past clients

Re: Suggested magic for "a" .. "b"

2010-07-28 Thread Chris Fields
t an Amen? Amen! > -- > Mark J. Reed +1. I'm agnostic ;> chris

Re: Suggested magic for "a" .. "b"

2010-07-28 Thread Chris Fields
On Jul 28, 2010, at 1:37 PM, Mark J. Reed wrote: > On Wed, Jul 28, 2010 at 2:30 PM, Chris Fields wrote: >> On Jul 28, 2010, at 1:27 PM, Mark J. Reed wrote: >>> Can I get an Amen? Amen! >>> -- >>> Mark J. Reed >> >> +1. I'm agnosti

Re: Counting characters

2010-01-28 Thread Chris Fields
Would you want to use something else for that, maybe .comb? From the spec: 'The comb function looks through a string for the interesting bits, ignoring the parts that don't match. In other words, it's a version of split where you specify what you want, not what you don't w

Re: Module naming conventions

2009-06-03 Thread Chris Fields
about snippiness and 'tensegrity', so I'm not the only one sensing it. chris

Re: Dallas.p6m

2009-04-05 Thread Chris Dolan
t rehash the release announcements. I've found that the Perl 5 users are quite interested (and occasionally amazed). Chris

Re: $?OS change

2009-03-02 Thread Chris Dolan
: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 i386 Chris

Re: Comparing inexact values (was "Re: Temporal changes")

2009-02-23 Thread Chris Dolan
psilon, $y+$epsilon)" than to a range. Chris

$*DEFOUT vs. $*OUT

2009-02-22 Thread Chris Dolan
hould be using $*DEFOUT because the former is shorter and more obvious. Perhaps instead the default handles should be $*OUT, $*IN and $*ERR while the standard handles should be $*STDOUT, $*STDIN and $*STDERR? Chris

Re: Perl's internal time (was: Re: r25445 - docs/Perl6/Spec/S32-setting-library)

2009-02-22 Thread Chris Dolan
On Feb 22, 2009, at 12:39 AM, Brandon S. Allbery KF8NH wrote: On 2009 Feb 20, at 14:36, Chris Dolan wrote: UTC: TAI with an offset, as corrected for the actual revolution of the Earth: usually 60 seconds in a minute, but occasionally 59 or 61. 60 minutes in every hour (so 3599, 3600, or

Re: Perl's internal time (was: Re: r25445 - docs/Perl6/Spec/S32-setting-library)

2009-02-20 Thread Chris Dolan
chs. But my point remains: from the user's point of view it doesn't matter which epoch you choose to use behind the scenes, so you might as well pick the one that's easiest on the software (time_t) and leave the transformations to the libraries. Chris

Re: Perl's internal time (was: Re: r25445 - docs/Perl6/Spec/S32-setting-library)

2009-02-19 Thread Chris Dolan
today. http://krugle.org/kse/entfiles/jdk/sun.com/jdk-1.5/j2se/src/share/ classes/java/lang/Thread.java#246 Maybe Perl 6 should be really forward looking and include a time dilation factor so it can be the first language designed from the ground up for interstellar travelers who want to use a non-inertial reference. Or GPS? :-) Chris

Re: r25325 - docs/Perl6/Spec

2009-02-13 Thread Chris Dolan
On Feb 13, 2009, at 11:50 PM, Larry Wall wrote: On Fri, Feb 13, 2009 at 11:34:03PM -0600, Chris Dolan wrote: Argh! I submitted a patch implementing $?PROGRAM in Rakudo literally 5 minutes before you sent this... http://rt.perl.org/rt3/Ticket/Display.html?id=63228 Indeed, why do you

Re: r25325 - docs/Perl6/Spec

2009-02-13 Thread Chris Dolan
Argh! I submitted a patch implementing $?PROGRAM in Rakudo literally 5 minutes before you sent this... http://rt.perl.org/rt3/Ticket/Display.html?id=63228 Chris On Feb 13, 2009, at 11:21 PM, pugs-comm...@feather.perl6.nl wrote: Author: lwall Date: 2009-02-14 06:21:13 +0100 (Sat, 14 Feb

Re: References to parts of declared packages

2009-02-12 Thread Chris Fields
f type A::B are declared before the corresponding A package is, for perfectly legitimate reasons. Agree completely. Bio::* currently has the same issue. * A should be treated as a post-declared package. Whatever this means, it sounds preferable. :) // Carl Agree again. The latter is definitely preferred. chris

{*} and actions

2009-02-10 Thread Chris Dolan
I use the following deprecated hack: my $method := &My::Grammar::TOP; my $match := $str.$method(:action(My::Grammar::Actions.new)); but I'd greatly prefer something more like my $grammar = My::Grammar.new(:action(My::Grammar::Actions.new)); my $match = $str ~~ $grammar; Chris

Re: Split with negative limits, and other weirdnesses

2008-09-28 Thread Chris Davaz
ing > through the discussion once more, I don't find anyone saying anything > contradicting the above summary. > > Chris, I'm not in a position to provide a final word, but it seems > very possible already to use what has already been said here as a > basis for an implementation. > > // Carl >

Re: Split with negative limits, and other weirdnesses

2008-09-25 Thread Chris Davaz
If someone wants to make the final word on what the behavior should be I can go ahead and implement it. On Tue, Sep 23, 2008 at 11:41 PM, Jonathan Scott Duff <[EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 9:38 AM, TSa <[EMAIL PROTECTED]> wrote: > >> HaloO, >> Moritz Lenz wrote: >> >>> In Per

Re: S05 and S29 may conflict on behavior of $string.match(/pat/)

2008-09-18 Thread Chris Davaz
this correct? I ask because in the current Rakudo implementation it returns the Match object (what I would expect from the "one low-level run of the regex engine"). Best Regards, -Chris On Thu, Sep 18, 2008 at 11:52 PM, Larry Wall <[EMAIL PROTECTED]> wrote: > On Thu, Sep 18, 2008

S05 and S29 may conflict on behavior of $string.match(/pat/)

2008-09-18 Thread Chris Davaz
roups/) should return a List of Match. I expected the S29 definition when first approaching $string.match I feel it is more intuitive than what happens with S05. Could someone clarify what the behavior should be? Best Regards, -Chris Davaz

spaces and transliteration

2008-07-07 Thread Chris Fields
paces as important, so (using parrot perl6.pbc with my patch): > say "Whfg nabgure Crey unpxre".trans(' a .. z' => '_n .. za .. m', 'A .. Z' => 'N .. ZA .. M') Just_another_Perl_hacker chris

spaces and transliteration

2008-07-07 Thread Chris Fields
paces as important, so (using parrot perl6.pbc with my patch): > say "Whfg nabgure Crey unpxre".trans(' a .. z' => '_n .. za .. m', 'A .. Z' => 'N .. ZA .. M') Just_another_Perl_hacker chris

"hyper variables/references?

2004-05-23 Thread Chris
I may have missed an obvious answer to this question, but has any thought been given to allowing for variables which behave as though ever operation on them is the hyper version of that operation? Sort of an automagical way of redefining a LOT of operators. --- Outgoing mail is certified Virus Fre

RE: backticks

2004-04-14 Thread Chris
Perhaps this is naive, but couldn't something like this be achieved in a manner similar to how I just implemented it in Ruby? Surely Perl will have similar capabilities to handle unknown methods. class Hash def method_missing(method_name) str = method.id2name if str =~ /^\w+$/ then

Roles and Mix-ins?

2003-12-13 Thread Chris Shawmail (E-mail)
I'm still digesting the vocabulary thread, but while I do, let me ask a question that's probably crystal clear to everyone else. Do roles act as a form of mix-in, as Ruby modules may, and Objective-C protocols do? Would the following two snippets be at all equivalent? # Perl6 role Talk { meth

Re: A6 questions

2003-03-16 Thread Chris Dutton
On Sunday, March 16, 2003, at 05:09 PM, David Storrs wrote: ==QUESTION - Page 8 says "In some languages, all methods are multimethods." I believe that Java is one of these. Is that right and what are some others? (This is really just curiousity.) ==/ Doesn't C++ work this way? Also I believe P

Re: a thought on multiple properties

2003-03-13 Thread Chris Dutton
On Thursday, March 13, 2003, at 02:13 PM, Jonathan Scott Duff wrote: I don't think that junctions make sense here. Besides, the "is" is optional: class Foo { method bar is public rw const frob knob { ... } } Ah yes, I'd forgotten about this. Thanks. Still I wond

a thought on multiple properties

2003-03-13 Thread Chris Dutton
This may have been asked before, and I apologize if I somehow missed it, but can junctions be used for multiple properties? I can see it possibly being useful in a situation like the following(which may be completely off, as I'm still digging my way through A6): class Foo { method bar is p

Re: Pike 7.4

2003-01-09 Thread Chris Dutton
On Thursday, January 9, 2003, at 05:36 AM, Damian Conway wrote: Chris Dutton wrote: @ages[*] = $today - %date_of_birth{@names}.values[*] Well done. Thanks for working that out, Chris. And, in the process, confirming my sense that vector ops are a better solution here. ;-) Glad I could

Re: Array Questions

2003-01-08 Thread Chris Dutton
On Wednesday, January 8, 2003, at 01:32 PM, Michael Lazzaro wrote: On Wednesday, January 8, 2003, at 02:13 AM, Damian Conway wrote: Michael Lazzaro wrote: The remaining big question, then, is whether you can truly subclass Array to achieve C-like behavior: class MyArray is Array { ... };

Re: Pike 7.4

2003-01-08 Thread Chris Dutton
On Tuesday, January 7, 2003, at 11:20 PM, Damian Conway wrote: Chris Dutton wrote: Given discussions about "hyper" operators in the past, I found this rather interesting in the release notes. http://pike.idonex.com/download/notes/7.4.10.xml Interesting, but I still feel that

Re: "my int( 1..31 ) $var" ?

2003-01-03 Thread Chris Dutton
On Friday, January 3, 2003, at 12:00 PM, Chris Dutton wrote: print "date" if 1..31 given $var; Except that this would always be true. Nevermind, I'm an idiot.

Re: "my int( 1..31 ) $var" ?

2003-01-03 Thread Chris Dutton
On Friday, January 3, 2003, at 08:55 AM, Smylers wrote: Murat Ünalan wrote: print "date" if $var is int( 1..31 ); I don't think that the type needs to be specified here, especially if the variable has already been declared to be of the required type, so a junction should be sufficient: pri

Pike 7.4

2002-12-31 Thread Chris Dutton
Given discussions about "hyper" operators in the past, I found this rather interesting in the release notes. http://pike.idonex.com/download/notes/7.4.10.xml Automap To perform per-element operations on arrays, there is now a convenience syntax for map(), that can make code more readable in som

Re: Everything is an object.

2002-12-12 Thread Chris Dutton
On Thursday, December 12, 2002, at 01:11 PM, Michael Lazzaro wrote: We can make that @out = @in.grep({...}).map({...}).sort;# [2] if we want to grind our OO axe, but I find that syntax disappointing. I like that the idea is important enough in Perl to have it's own grammar, but I rea

Re: Stringification of references and objects.

2002-12-06 Thread Chris Dutton
On Friday, December 6, 2002, at 04:28 AM, Joseph F. Ryan wrote: Brent Dax wrote To tell you the truth, I don't consider arrayrefs references anymore. They're just Array objects that don't happen to be in @whatever symbols. I don't know if this is the official view, but that fits my brain bette

Re: plaintive whine about 'for' syntax

2002-11-01 Thread Chris Dutton
On Thursday, October 31, 2002, at 10:03 PM, John Siracusa wrote: On 10/31/02 5:33 PM, [EMAIL PROTECTED] wrote: Damian Conway writes: BTW, Both Larry and I do understand the appeal of interleaving sources and iterators. We did consider it at some length back in January, when we spent a week thr

Re: Perl6 Operator List

2002-10-25 Thread Chris Dutton
So many operators... It's now clear what we need. Unicode operators. That should buy us at least another week to hash out the rest of the necessary operators. ;-) It'd also silence the legions of critics who complain about Perl being too easy to read if we, for instance, used the Kanji charac

Re: perl6 operator precedence table

2002-10-24 Thread Chris Dutton
Or we could go with Valspeak: $a is like $b and stuff At the moment I like "like" the best, actually... Hmmm... I could actually see "like" in a more active role. Along the lines of: my str $string; my $other_string is like $string; Analogous to saying: my str $other_string Except th

Re: Private contracts?

2002-10-13 Thread Chris Dutton
On Saturday, October 12, 2002, at 01:10 PM, Luke Palmer wrote: >> Date: Sat, 12 Oct 2002 08:43:46 -0700 (PDT) >> From: Larry Wall <[EMAIL PROTECTED]> >> >> If we use | and & as sugar for any() and all(), then their precedence >> should probably be the same as || and &&. > > Should they? I had i

Re: Fw: perl6 operator precedence table

2002-10-11 Thread Chris Dutton
On Wednesday, October 9, 2002, at 05:03 PM, Trey Harris wrote: > In a message dated Wed, 9 Oct 2002, Michael Lazzaro writes: > >> >> Uh-oh: my life is gonna suck. I've spent days hunting obscure bugs >> that were caused by a single mistyped character. Now I'll be spending >> days hunting obsc

Re: [ANNOUNCE] Perl6 OO Cookbook, v0.1

2002-10-10 Thread Chris Dutton
One first thing I notice while I'm supposed to be doing homework. :-) Wasn't "class MyClass;" supposed to work along the line of Perl5's "package MyClass;" and make everything following that statement the definition of MyClass?

Re: Draft Proposal: Attributes: "public" vs. "private"

2002-10-07 Thread Chris Dutton
On Sunday, October 6, 2002, at 12:57 AM, Noah White wrote: >> >>> Note that an alternate definition of "private" is often used, as >>> follows: >>> >>> A "private" attribute is an attribute whose scope is restricted >>> such that >>> it may be accessed only within the class in which it

Re: Private contracts?

2002-10-05 Thread Chris Dutton
On Friday, October 4, 2002, at 06:23 PM, [EMAIL PROTECTED] wrote: > On Fri, Oct 04, 2002 at 09:13:45AM -0400, Chris Dutton wrote: >>> How exactly does one "weaken" a precondition? >> >> At least in Eiffel, if you redefine a method, you may not give it

Re: Private contracts?

2002-10-04 Thread Chris Dutton
On Thursday, October 3, 2002, at 05:19 PM, Michael G Schwern wrote: > On Thu, Oct 03, 2002 at 03:59:08PM -0400, Mike Lambert wrote: >> With pre/post conditions, a subclass is allowed to weaken the >> preconditions or strengthen the postconditions. > > How exactly does one "weaken" a precondition

Re: Interfaces

2002-10-01 Thread Chris Dutton
On Monday, September 30, 2002, at 11:19 PM, Michael G Schwern wrote: > On Mon, Sep 30, 2002 at 06:04:28PM -0700, David Whipp wrote: >> On a slightly different note, if we have interfaces then I'd really >> like to follow the Eiffel model: features such as renaming methods >> in the derived class

A few thoughts on inheritance

2002-08-25 Thread Chris Dutton
We are supposedly going to be able to set a class to be "uninheritable". Will we be able to set a single method or attribute to be uniherited by any subclasses? Please forgive me if this is one of the seven deadly OO sins. I haven't yet had any formal education with regards to programming(a

Ok, Pike is... (was: Perl 6 Summary for week ending 2002-08-18)

2002-08-20 Thread Chris Dutton
Explained far more throughly at http://pike.ida.liu.se/ than I can in an e-mail. It really looks like an intriguing language, with a (supposedly) very fast runtime, (again, supposedly) beating Perl, Python, Tcl, and Java in execution times. Unfortunately I've been unable to get it to compile

Just reading up on Pike...

2002-08-16 Thread Chris Dutton
and this just jumped out at me: class Foo { private string|int bar; static create(string|int newBar) { bar = newBar; } } In other words, as I understand it, you can type the variable bar as either an int or a string. Aside from simply, "my $bar;", w

Re: A Perl 6 class question

2002-08-12 Thread Chris Dutton
On Monday, August 12, 2002, at 01:27 PM, Allison Randal wrote: > On Sat, Aug 10, 2002 at 07:30:19PM -0400, Chris Dutton wrote: >> >> The only problem I could see, and I wanted to wait for at least one >> other opinion before mentioning this, is rewriting the above as

Re: A Perl 6 class question

2002-08-10 Thread Chris Dutton
On Saturday, August 10, 2002, at 06:25 PM, Piers Cawley wrote: > Chris Dutton <[EMAIL PROTECTED]> writes: > >> Since Adam Lopesto asked a non-regex question, I don't feel quite as >> out of place for doing the same. >> >> This one actually came

A Perl 6 class question

2002-08-10 Thread Chris Dutton
Since Adam Lopesto asked a non-regex question, I don't feel quite as out of place for doing the same. This one actually came to me just the other night. Would it be possible in Perl 6 to create "anonymous classes"? Something like: my $foo_class = class { method new {

Idea

2002-05-22 Thread Chris Angell
thing other than a decimal number"; A friend came up with this: sub myint { return if $_[0] =~ /\A\d+\z/; $_[0] =~ /^(\d+)/ ? $1 : 0 } What do you guys think? Thanks, Chris Angell

Re: Selective exporting of properties/methods

2002-05-15 Thread Chris Dutton
On Wednesday, May 15, 2002, at 10:17 AM, Aaron Sherman wrote: > On Sat, 2002-05-11 at 13:58, Chris Dutton wrote: > >> method world is public_to(Bar) { > > Might as well make that: > > method world is private(Bar) > > I tend to take any opportunity to recy

Re: Selective exporting of properties/methods

2002-05-12 Thread Chris Dutton
On Sunday, May 12, 2002, at 02:18 PM, Miko O'Sullivan wrote: >> While thinking Eiffel-ish thoughts the other day, I began to wonder if >> Perl6's classes could go beyond the simple private/public/protected >> scheme by optionally allowing for a property or method to only be >> accessed by a cert

Selective exporting of properties/methods

2002-05-11 Thread Chris Dutton
While thinking Eiffel-ish thoughts the other day, I began to wonder if Perl6's classes could go beyond the simple private/public/protected scheme by optionally allowing for a property or method to only be accessed by a certain set of classes. For instance(as I understand Perl6 syntax): class

Re: Accessor methods ?

2002-05-10 Thread Chris Dutton
On Friday, May 10, 2002, at 09:54 PM, Damian Conway wrote: > That's getting a little ugly, so maybe we'd "lift" the syntax from > Eiffel instead: > > method set_baz($newbaz is like($.baz)) { $.baz = $newbaz } This is exactly what went through my mind about a half second after I posted

Re: Accessor methods ?

2002-05-10 Thread Chris Dutton
On Thursday, May 9, 2002, at 03:16 PM, Aaron Sherman wrote: > Then you can declare them as such: > > sub get_bar() { .bar } > sub get_baz() { .baz } > sub set_baz($newbaz) { .baz = $newbaz } Seeing this, an idea mildly Eiffel-ish comes to mind. Could we get away with somethin

Re: Loop controls

2002-04-30 Thread Chris Dutton
On Tuesday, April 30, 2002, at 01:22 PM, Dan Sugalski wrote: > At 1:07 PM -0400 4/30/02, Miko O'Sullivan wrote: >> > Damian, now having terrible visions of someone suggesting >> C ;-) >> >> Then may I also give you nightmares on: elsdo, elsdont, elsgrep, >> elstry ... > > Has anyone brought

Apoc4: Block scoping

2002-01-23 Thread Chris Dale
Does the alias operator, C<< -> >>, work for C blocks too? if $a * $b / $c + $d -> $abcd { ... } Where $abcd would be lexically scoped to the if block and else block, if defined. I expect it could be used with any block statement, since Apoc 4 demonstrates it with for, g

(proto)typing, return types, polymorphism, ... ?

2001-07-04 Thread Chris Hostetter
without requiring the class to do it's own type checking) -- --- "Oh, you're a tricky one."Chris M Hostetter -- Trisha Weir[EMAIL PROTECTED]

Re: suggested properties of operator results

2001-06-11 Thread Chris Hostetter
I disagree, I think that this... if (1 <= $x <= 10 and 1 <= $y <= 10) { # inside grid? is much less obfuscated then this... if (1 <= $x and $x <= 10 and 1 <= $y and $y <= 10) { # inside grid? --

suggested properties of operator results

2001-06-08 Thread Chris Hostetter
ore interesting)) -- ------- "Oh, you're a tricky one."Chris M Hostetter -- Trisha Weir[EMAIL PROTECTED]

Re: RFC 107 (v1) lvalue subs should receive the rvalue as anargument

2000-08-16 Thread Chris Nandor
Can we please cut down on the traffic to perl-announce, maybe make it moderated? Thanks, -- Chris Nandor | [EMAIL PROTECTED] | http://pudge.net/ Andover.Net| [EMAIL PROTECTED] | http://slashcode.com/