Re: merits of Lisp vs Python

2006-12-15 Thread David Steuber
Ken Tilton <[EMAIL PROTECTED]> writes:

> Steven D'Aprano wrote:
> > If that's the best example of what macros can be used for, frankly I'm
> > unimpressed.
> 
> We're shocked.

Don't anyone tell him about LOOP.

-- 
This post uses 100% post consumer electrons and 100% virgin photons.

At 2.6 miles per minute, you don't really have time to get bored.
   --- Pete Roehling on rec.motorcycles

I bump into a lot of veteran riders in my travels.
  --- David Hough: Proficient Motorcycling
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: merits of Lisp vs Python

2006-12-15 Thread David Steuber
"Wolfram Fenske" <[EMAIL PROTECTED]> writes:

> Paul Rubin  writes:
> 
> > "Wolfram Fenske" <[EMAIL PROTECTED]> writes:
> >> Yes, I wrote about it in another post.  It was introduced in Python
> >> 2.5. And if it hadn't been I'd still have to write code like this.
> >
> > You could do something with decorators that's not too bad.  You'd end
> > up writing:
> >
> >@withConnection
> >def some_func():
> >   do_whatever_stuff ()
> 
> Yes, now I can.  But I had to wait until Python 2.4 to be able to
> that.  What I like so much about Lisp macros is that they allow me to
> make these changes myself.

Besides, who wants to write production code in a language that keeps
changing?  It's enough work just keeping up with new libraries.

-- 
This post uses 100% post consumer electrons and 100% virgin photons.

At 2.6 miles per minute, you don't really have time to get bored.
   --- Pete Roehling on rec.motorcycles

I bump into a lot of veteran riders in my travels.
  --- David Hough: Proficient Motorcycling
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: merits of Lisp vs Python

2006-12-15 Thread David Steuber
Steven D'Aprano <[EMAIL PROTECTED]> writes:

> How am I being silly? Do you not believe that people write case blocks
> with fifty tests? Okay, how about twenty? Ten? Eight?

You should check out generic functions in CLOS.  Rather than writing a
ridiculously long case block, you can use EQL specialized functions.
It's a great way to do dispatch.

-- 
This post uses 100% post consumer electrons and 100% virgin photons.

At 2.6 miles per minute, you don't really have time to get bored.
   --- Pete Roehling on rec.motorcycles

I bump into a lot of veteran riders in my travels.
  --- David Hough: Proficient Motorcycling
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread David Steuber
"Xah Lee" <[EMAIL PROTECTED]> writes:

> In this post, i'd like to deconstruct one of Guido's recent blog about
> lambda in Python.

Why couldn't you keep this to comp.lang.python where it would almost
be relevant?  Before I pulled down the headers, I thought maybe
something interesting was posted to comp.lang.lisp.

Followups set.

-- 
http://www.david-steuber.com/
1998 Subaru Impreza Outback Sport
2006 Honda 599 Hornet (CB600F) x 2 Crash & Slider
It's OK.  You only broke your leg in three places.  Walk it off.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Tabs versus Spaces in Source Code

2006-05-14 Thread David Steuber
Spaces work better.  Hitting the TAB key in my Emacs will auto-indent
the current line.  Only spaces will be used for fill.  The worst thing
you can do is mix the two regardless of how you feel about tab vs
space.

The next step in evil is to give tab actual significance like in
make.

Xah Lee is getting better at trolling.  He might fill up Google's
storage.

-- 
http://www.david-steuber.com/
1998 Subaru Impreza Outback Sport
2006 Honda 599 Hornet (CB600F) x 2 Crash & Slider
The lithobraker.  Zero distance stops at any speed.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Software Needs Less Idiots

2006-05-21 Thread David Steuber
"PofN" <[EMAIL PROTECTED]> writes:

> Xah Lee wrote:
> > Software needs philosophers.
> 
> No, software neds less idiots. So please take your medication and
> change profession.

Perhaps fewer would do.

-- 
http://www.david-steuber.com/
1998 Subaru Impreza Outback Sport
2006 Honda 599 Hornet (CB600F) x 2 Crash & Slider
The lithobraker.  Zero distance stops at any speed.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: John Bokma harassment

2006-05-24 Thread David Steuber
I'm loath to crosspost this but I don't know which (if any) news group
Xah actually reads.  I also don't want to make just a private response
to Xah's email to a public post.  Anyway, the TOS of dreamhost.com is
here:

  http://www.dreamhost.com/tos.html

Two important sections I'll quote:



INTERNET ETIQUETTE

Electronic forums such as mail distribution lists and Usenet news
groups all have expectations regarding subject area and appropriate
etiquette for posting. Users of these forums should be considerate of
the expectations and sensitivities of others on the network when
posting material for electronic distribution. The network resources of
DreamHost Webhosting may not be used to impersonate another person or
misrepresent authorization to act on behalf of others or DreamHost
Webhosting. All messages transmitted via DreamHost Webhosting should
correctly identify the sender; users may not alter the attribution of
origin in electronic mail messages or posting.
Users must not attempt to undermine the security or integrity of
computing systems or networks and must not attempt to gain
unauthorized access. This includes (but is not limited to) such things
as port scanning of either DreamHost or external computers and Denial
Of Service attacks of any kind.

TERMINATION

This contract may be terminated by either party, without cause, by
giving the other party 30 days written notice. DreamHost Webhosting
will accept termination by electronic mail. Notwithstanding the above,
DreamHost Webhosting may terminate service under this contract at any
time, without penalty, if the Customer fails to comply with the terms
of this contract, including non-payment. DreamHost Webhosting reserves
the right to charge a reinstatement fee.



IANAL, but it looks like you can have your account canceled, Xah.
Although to tell the truth, even though I find your crossposting
excessive and your rants uninteresting I don't think it is frequent
enough to bitch about.  I do hope that no refund policy doesn't apply
when they terminate your account.

You would probably stand a good chance of keeping your account if you
stop crossposting so much.  Dreamhosting has defined internet
etiquette for you.  Stick within those bounds and you can defend
yourself against people who complain.

Good luck

-- 
http://www.david-steuber.com/
1998 Subaru Impreza Outback Sport
2006 Honda 599 Hornet (CB600F) x 2 Crash & Slider
The lithobraker.  Zero distance stops at any speed.
-- 
http://mail.python.org/mailman/listinfo/python-list