Re: [perl-python] 20050116 defining a function

2005-01-17 Thread Chris Mattern
Xah Lee wrote:

> errata:
> 
> * the variables in the perl section should be declared inside the
> subroutine.
> * the @_[0] should've been $_[0]
> 
> thanks for Dave Cross for pointing them out.
> 
> * the Mathematica Apply should be Select...
> Xah
>  [EMAIL PROTECTED]
>  http://xahlee.org/PageTwo_dir/more.html

Here's a thought: don't post code you haven't tested!
-- 
 Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: how to write a tutorial

2005-01-23 Thread Chris Mattern
alex23 wrote:

> Having read your comments on women, 

I hadn't looked at that part of his site until now.  I can only say:
gah.  Haven't seen something like that since Dave Sim's infamous
"Tangent" essay.

-- 
 Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [perl-python] 20050124 classes & objects

2005-01-24 Thread Chris Mattern
Xah Lee wrote:

> Perl does not support classes or
> objects in the so-called "Object
> Oriented" programing. 

Boy, the ignorance never stops, does it?

> However, a 
> complete set of emulations of OO
> style of programing have been done,
> resulting in modules and books and
> many documentations and tutorials.
> 

It doesn't have OO, but it emulates in software!
Better go with python, which has hardware OO. :-)
-- 
 Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [perl-python] 20050127 traverse a dir

2005-01-27 Thread Chris Mattern
Xah Lee wrote:


> 
> # the above showcases a quick hack.
> # File::Find is one of the worst module
> # there is in Perl. One cannot use it
> # with a recursive (so-called) "filter"
> # function. And because the way it is
> # written, one cannot make the filter
> # function purely functional. (it relies
> # on the $_) And the filter function
> # must come in certain order. (for
> # example, the above program won't work
> # if g is moved to the bottom.)  ...
> 
> # the quality of modules in Perl are
> # all like that.

Is it just me, or is the disappointing lack of flamewars
slowly ratcheting up the level of vitriol in his posts?

-- 
 Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [perl-python] daily tip website

2005-01-28 Thread Chris Mattern
Xah Lee wrote:

> daily tips. The url is:
> http://xahlee.org/perl-python/python.html
> 
> Thanks to those who have made useful comments. They will be
> assimilated.
> 
Resistance is futile.

-- 
 Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [perl-python] sending email

2005-01-30 Thread Chris Mattern
YYusenet wrote:

> Xah Lee wrote:
>   [snip]
>> 
>> The first two has glaring problems. I'm sorry i forgot what they
>^   ^^
>> are.
>  
>   [snip]
> 
> How can you complain about *Mail::Mailer* and *Mail::Send* when you
> don't even know what they are?
> 
You know, I started to make fun of that, but then decided there was
nothing I could say that it doesn't say for itself.

-- 
 Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [perl-python] get web page programatically

2005-02-04 Thread Chris Mattern
Xah Lee wrote:



Just the standard warnings for any novices unfamiliar with Mr. Lee.
Mr. Lee's posts are regularly riddled with severe errors (I found
the assertion that LWP::Simple and LWP::UserAgent aren't part of
the standard base perl install a particularly amusing one in this 
particular post).  Please be advised that you should get your
perl information from accurate sources.  http://learn.perl.org
is an excellent place to start, with pointers to excellent Perl
books and even some readable for free online (notably Beginning
Perl).
-- 
 Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [perl-python] generate all possible pairings

2005-02-26 Thread Chris Mattern
Mike Meyer wrote:

> "Xah Lee" <[EMAIL PROTECTED]> writes:
> 
>> This is brought to you by the perl-python community. To subscribe, see
>> http://xahlee.org/perl-python/python.html
> 
> assert len(perl-python community) == 1
> 
>http://mail.python.org/mailman/listinfo/python-list


Re: Battlefield Weapon Popularity Trend (was: Computer Language Popularity Trend)

2006-09-27 Thread Chris Mattern
In article <[EMAIL PROTECTED]>, Mirco Wahab wrote:
>
>When the Samurai of medieval Japan were confronted
>with new 'battlefield language', e.g. early Shotguns,

"early Shotguns" :D.  Your mastery of the history of
firearms overwhelms me.

-- 
 Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Battlefield Weapon Popularity Trend

2006-09-28 Thread Chris Mattern
In article <[EMAIL PROTECTED]>, Mirco Wahab wrote:
>Thus spoke Chris Mattern (on 2006-09-27 19:09):
>> In article <[EMAIL PROTECTED]>, Mirco Wahab wrote:
>>>
>>>When the Samurai of medieval Japan were confronted
>>>with new 'battlefield language', e.g. early Shotguns,
>> 
>> "early Shotguns" :D.  Your mastery of the history of
>> firearms overwhelms me.
>
>You want a fight? With a muzzle-loaded gun?
>Three shots for everybody -- 5 minutes time?
>
>BTW: (http://en.wikipedia.org/wiki/Musket)
>The date of the origin of muskets remains
>unknown, but they are mentioned as early as
>the late 15th century, and they were primarily
>designed for use by infantry. Muskets became
>obsolete by the middle of the 19th century,
>as rifles superseded them.
>

Muskets are not shotguns.

-- 
 Christopher Mattern

"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
-- 
http://mail.python.org/mailman/listinfo/python-list