Re: Microsoft Hatred FAQ

2005-10-22 Thread Tim Tyler
Mike Meyer [EMAIL PROTECTED] wrote or quoted:

 Wrong. The only obligation Microsoft has is to their shareholders.
 That obligation has nothing to do with computing - it's to make a
 profit. It's MS's habit of doing things in pursuit of profit that,
 while short of force, are borderline fraud, and are illegal, immoral,
 unethical, bad for their business partners, bad for their customers,
 bad for the industry and bad for society that causes people to
 characterize them as evil.

Microsoft still comes in at number 2 - on:

http://dmoz.org/Society/Issues/Business/Allegedly_Unethical_Firms/

Few companies are more despised than Microsoft.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-18 Thread Tim Tyler
In comp.lang.java.programmer Paul Rubin http://[EMAIL PROTECTED] wrote or 
quoted:
 Tim Tyler [EMAIL PROTECTED] writes:

  Are there any examples of HTML email causing security problems - outside
  of Microsoft's software?
 
 There was a pretty good one that went something like
 
   Click this link to download latest security patch!
a href=http://www.mxx.com.Microsoft Security Center/a
 
 where mxx is microsoft with the letter i replaced by some
 exotic Unicode character that looks exactly like an ascii i in normal 
 screen fonts.  The attacker had of course registered that domain and
 put evil stuff there.

I didn't think unicode domain names existed.

It seems that they are in the pipeline:

``After much debate and many competing proposals, a system called 
  Internationalizing Domain Names in Applications (IDNA) was adopted as 
  the chosen standard, and is currently, as of 2005, in the process of 
  being rolled out.''

 - http://en.wikipedia.org/wiki/Internationalized_domain_names

It looks like the security issues are probably going to be dealt
with via technical fixes:

``On February 17, 2005, Mozilla developers announced that they would ship 
  their next versions of their software with IDN support still enabled, 
  but showing the punycode URLs instead, thus thwarting any attacks while 
  still allowing people to access websites on an IDN domain. This is a 
  change from the earlier plans to disable IDN entirely for the time 
  being.''

 - http://en.wikipedia.org/wiki/Internationalized_domain_names

Anyway, I'm inclined to suggest this is a DNS problem.  It would
apply to any format that allowed rendering of domain names using
the unicode character set they are intended to be displayed using.

Even without unicode, the homograph attack is still viable, due
to things like the l/I issue in many fonts - as pointed out on:

http://www.centr.org/docs/2005/02/homographs.html
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-18 Thread Tim Tyler
In comp.lang.java.programmer Ross Bamford [EMAIL PROTECTED] wrote or quoted:

 Roedy, I would just _love_ to see the response from the industry when you  
 tell them they should dump their whole mail infrastructure, and switch  
 over to a whole new system (new protocols, new security holes, new  
 problems start to finish). [...]

That's essentially what the IM folk did.

It seems quite possible that future email systems will evolve out of
existing IM ones.

Essentially, IM can do pretty-much everything email can these days, but 
the reverse is not true at all.

IM also seems more evolvable than email is managing to be.

About all email has going for it these days is an open format and a
large existing user base.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-18 Thread Tim Tyler
Gordon Burditt [EMAIL PROTECTED] wrote or quoted:

 Before worrying about the possible bugs in the implementations,
 worry about security issues present in the *DESIGN*.  Email ought
 to be usable to carry out a conversation *SAFELY* with some person out
 to get you.  Thus features like this are dangerous (in the *design*,
 not because they *might* hide a buffer-overflow exploit):
 
 - Hyperlinks to anything *outside* the email in which the link
   resides (web bugs).

Acceptable risk, IMO.

 - Any ability to automatically generate hits on sender-specified
   servers when the email is read.

I hadn't though of that one.  As well as use in DDOS attacks, that
can help let spammers know if they have reached a human :-|

Even a link in a plain text email can be used (though with reduced
effectiveness) in such a context :-(
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Microsoft Hatred FAQ

2005-10-17 Thread Tim Tyler
Tim Roberts [EMAIL PROTECTED] wrote or quoted:

[Microsoft]

 Part of their behavior really escape me.  The whole thing about browser
 wars confuses me.  Web browsers represent a zero billion dollar a year
 market.  Why would you risk anything to own it?

Power.  Minshare.  Controlling the planet's gateway to the internet.
That sort of thing.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Microsoft Hatred FAQ

2005-10-17 Thread Tim Tyler
In comp.lang.java.programmer Roedy Green [EMAIL PROTECTED] wrote or quoted:

 MS has held BACK computer evolution by tying their OS so heavily to
 the Pentium architecture. The chip architecture has nowhere near
 enough registers.  MS refused to believe the Internet was more than a
 passing fad. They are still frantically patching security holes in
 their OS over a decade  later.

Another big problem appears to be sitting on their customers and milking 
them - rather than working on improving things.  There has been some
progress with their OS - but it seems to be going very slowly.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Microsoft Hatred FAQ

2005-10-16 Thread Tim Tyler
In comp.lang.java.programmer Peter T. Breuer [EMAIL PROTECTED] wrote or 
quoted:

 Uh - when microsoft produced dos 1.0, or whatever it was, I was sitting
 at my Sun 360 workstation (with 4M of RAM, later upgraded to 8M),
 running SunOS 3.8 or thereabouts.
 
 And a mean game of tetris it played too. Chess wasn't worth the
 humiliation at level 5.
 
 I believe every researcher in britain got one as a matter of course, but
 they only replaced the perq machines that everyone had had to put up
 with before then.  The vaxen running hpux or so were plentiful too, and
 had fine monitors, tending more to the PC shape.  We'd made our own word
 processor machines and spreadsheet automatons before that.  It didn't
 take that many components, just a good engineer and a room full of
 lackeys with soddering irons.  The BBC were selling kits too (what were
 they?  Ataris?), not that I ever fell for that.

Acorn computers.  Manufacturers of the best computer I ever owned.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Microsoft Hatred FAQ

2005-10-16 Thread Tim Tyler
In comp.lang.java.programmer Steven D'Aprano [EMAIL PROTECTED] wrote or 
quoted:

 I'm aware of talk that Dell is selling Linux PCs at Walmart for less than
 the same hardware plus Windows. Talk is cheap -- I'm not aware of anyone
 who has actually seen these Linux PCs. I'd love to know either way.

See:

``Dell's Open PC Costs More Than Windows Box''

 - http://hardware.slashdot.org/article.pl?sid=05/10/08/034211tid=190tid=137
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-14 Thread Tim Tyler
In comp.lang.java.programmer Mike Meyer [EMAIL PROTECTED] wrote or quoted:
 Tim Tyler [EMAIL PROTECTED] writes:
  In comp.lang.java.programmer Mike Meyer [EMAIL PROTECTED] wrote or quoted:

  The technial problems have been solved for over a decade. NeXT shipped
  systems that used text/richtext, which has none of the problems that
  HTML has.  The problems are *social* - you've got to arrange for
  people to use mail/news readers that understand a rich text format
  that isn't a vector for viruses.
 
  It's not HTML that has problems, it's Microsoft's crappy software.
 
 HTML is a problem on *other* peoples crappy software as well. It
 wasn't designed to carry code content, but has been hacked up to do
 that.

Are there any examples of HTML email causing security problems - outside
of Microsoft's software?

I can think of one: the JPEG virus.  However, that affected practically
any program that could render JPEGs - not just HTML.

  Writing virus-free HTML renderers is not hard - but of course
  Microsoft can still screw it up.
 
 Sure - just disable all the features that make people want to use HTML
 instead of something else.

Not so: you disable Java, Javascript and plugins.  You leave the ability 
to format, colour and hint documents.  This is not /that/ difficult.

  Don't blame HTML for viruses - *every* document format Microsoft has
  anything to do with becomes a vector for viruses.
 
 Which would mean that every open format that MS has had anything to do
 with comes a vector for viruses. Somehow, I'm not buying it.

I exaggerate only slightly.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-12 Thread Tim Tyler
In comp.lang.java.programmer Mike Meyer [EMAIL PROTECTED] wrote or quoted:
 Tim Tyler [EMAIL PROTECTED] writes:
  In comp.lang.java.programmer Mike Meyer [EMAIL PROTECTED] wrote or quoted:
  Roedy Green [EMAIL PROTECTED] writes:

   Read my essay.
   http://mindprod.com/projects.html/mailreadernewsreader.html
  
   I talk around those problems.
  
  Virus writers will love the ability to change peoples address books 
  remotely.
 
  Since - in Roedy's essay - messages are digitally signed, authority
  to advise about any email address updates would presumably be confined
  to those people with access to the sender's private key.
 
 It's not confined to just people - software can do this as well. In
 particular, you should expect that the users mail agent will have to
 have access to the key, so it can automatically send out the change of
 address notice when the user changes their address (it actually needs
 it to send any mail). Viruses regularly make users mail agents do
 thing. Change my address becomes much more entertaining when that
 triggers sending out change of addresses notices to everyone in the
 address book. More likely, though, there'll be an API for getting the
 key so that users can change mail agents without invalidating the
 public key that everyone they correspond with has for them, and the
 virus will just use that API.

Viruses can mail out change of address messages to everyone in the
compromised machine's address book today.

Of course, viruses don't bother doing that - since it's stupid and
pointless.

If you've compromised someone's machine there are typically lots more 
rewarding things to do with it than spoof change-of-address notices.

Top of the cracker's list seems to be:

* Attack organisations;
* Relay spam;
* Attempt to compromise other machines;
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-09 Thread Tim Tyler
In comp.lang.java.programmer Steven D'Aprano [EMAIL PROTECTED] wrote or 
quoted:
 On Sun, 09 Oct 2005 07:19:29 +, Roedy Green wrote:
  Rich Teer [EMAIL PROTECTED]:

 WHat the hell has that got to do with HTML email?  Sending photos
 is an example of what attachments are for.
  
  Normally you send photos to grandma with captions under each photo.
 
 No, normally YOU send photos to grandma with captions under each photo.
 My grandma doesn't put captions in her photo album, and she doesn't need
 captions on her photos in email.
 
  That is far more convenient for the technopeasant receiver than
  dealing with multiple attachments.
 
 Only if your photos are so obscure and confusing that they need captions.
 
 Here's Johnny with the dog. Here is Johnny with the dog again. This one
 is Johnny on his own. Here is the dog. Oh look, it is Johnny with the dog
 again -- that's the dog on the left, in case it isn't clear. Just for a
 change, this is Johnny wearing a hat. It is blue with a feather in it,
 in case you couldn't tell from, oh I don't know, looking at the actual
 picture.

What have you got against captions?

Giving photos captions is a *very* common practice.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-09 Thread Tim Tyler
In comp.lang.java.programmer Mike Meyer [EMAIL PROTECTED] wrote or quoted:

 The technial problems have been solved for over a decade. NeXT shipped
 systems that used text/richtext, which has none of the problems that
 HTML has.  The problems are *social* - you've got to arrange for
 people to use mail/news readers that understand a rich text format
 that isn't a vector for viruses.

It's not HTML that has problems, it's Microsoft's crappy software.

Writing virus-free HTML renderers is not hard - but of course
Microsoft can still screw it up.

Don't blame HTML for viruses - *every* document format Microsoft has
anything to do with becomes a vector for viruses.

They *even* managed to get virulent spreadsheets and word processor 
documents!
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-09 Thread Tim Tyler
In comp.lang.java.programmer Mike Meyer [EMAIL PROTECTED] wrote or quoted:
 Roedy Green [EMAIL PROTECTED] writes:

  Read my essay.
  http://mindprod.com/projects.html/mailreadernewsreader.html
 
  I talk around those problems.
 
 Actually, you present a design that forces a solution that makes them
 do what you want down their throats, never mind what they want, or
 what they've been doing. It shows an amazing ignorance about the
 internet and how people behave on it. Like most antispam proposals, it
 won't actually stop spam, just force spammers to concentrate on
 different channels. You seem to have randomly broken quoting for
 people who download mail and read it offline, and for any medium
 that's unreliable or doesn't reliably deliver messages in order -
 which includes mail and news.  Virus writers will love the ability to
 change peoples address books remotely.

Since - in Roedy's essay - messages are digitally signed, authority
to advise about any email address updates would presumably be confined
to those people with access to the sender's private key.

Even /without/ any form of authentication, a standard change-of-address 
message - which is understood by mail readers - is a fine and sensible 
idea.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-09 Thread Tim Tyler
In comp.lang.java.programmer Roedy Green [EMAIL PROTECTED] wrote or quoted:

 Read my essay.
 http://mindprod.com/projects.html/mailreadernewsreader.html

FYI, this bit: 

``Like ICQ, someone cannot send you mail without your prior permission. 
  They can't send you mail because they don't have your public key to
  encrypt the mail.''

...is pretty confusing - because public key is a term with a technical
meaning in cryptography - and a public key really *is* public.

If you want to allow email only from a list of senders, then you use
a simple white list.  Cryptography is not needed or desirable if this
is the intended goal.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-09 Thread Tim Tyler
In comp.lang.java.programmer Paul Boddie [EMAIL PROTECTED] wrote or quoted:
 Roedy Green wrote:

  Just how long do you want to stall evolution?  Do you imagine people
  200 years from now will be still be using pure ASCII text unable to
  find a solution to JavaScript viruses (turn off JS), pop-up( disable
  popups) etc.?
 
 People in their sky-cars turning off JavaScript in their browsers: what
 a thought!

Javascript can be turned off in *mail readers* - by their manufacturers.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-09 Thread Tim Tyler
In comp.lang.java.programmer Mike Meyer [EMAIL PROTECTED] wrote or quoted:
 Roedy Green [EMAIL PROTECTED] writes:
  On Sat, 08 Oct 2005 19:56:50 -0400, Mike Meyer [EMAIL PROTECTED] wrote

 Show us *examples*! Do you create a style sheet for every site you
 visit that overrides there classes? What?
 
  Why don't you download a copy of Opera, see
  http://mindprod.com/jgloss/opera.html
 
 What makes you think I don't have a copy of Opera? Just so happens
 I've got a registred copy on my newest computer.
 
  Then try out the feature.  Click View | style | user
 
 My copy of Opera doesn't have that menu entry. I suspect you're making
 platform-specific suggestions.
 
 Trying it on a different platform, it looks like it does what I said
 earlier: user mode simply disables the authors style sheets. None of
 the merging you suggested was going on is actually happening.

The user mode uses style sheets you specify.

There's a whole bunch of built-in ones - and you can cascade them:

``User style sheets

``There is also the inclusion of 12 packaged user style sheets and an easy 
  menu application interface (View  Style). These sheets can be cascaded 
  together, with or without the page's styles. They are mostly for 
  accessibility, accessible web design and plain coolness: Emulate text 
  browser, Nostalgia, Accessibility Layout, Show images and links only, 
  High contrast, Hide non-linking images, Disable tables and Use default 
  forms design.

  There are also three style sheets that are worth mentioning specially: 
  Hide certain-sized elements, Debug with outline, and Show structural 
  elements. Hide certain-sized elements is basically that CSS-powered 
  inline ad-killer that Eric A. Meyer came up with a few years ago. Debug 
  with outline uses the newly added support for the outline property to 
  display key elements. Finally, Show structural elements, which with the 
  acrobatic use of generated content, attribute selectors and counters, 
  shows the HTML tags inline, as well as the meta and link data, and a 
  report on the number of font tags and nested tables. Now this is cool!''

 - http://www.evolt.org/article/Opera_7_Released/1/54851/
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-09 Thread Tim Tyler
In comp.lang.java.programmer Mike Meyer [EMAIL PROTECTED] wrote or quoted:
 Roedy Green [EMAIL PROTECTED] writes:
  On Sat, 08 Oct 2005 17:41:38 -0400, Mike Meyer [EMAIL PROTECTED] wrote:

 If you've got a browser with a better solution, what's the browser,
 and what's the solution?
  Try Opera. You can merge the two. 
 
 Merge the two CSS files? Most browsers do that - that's why they call
 them cascading style sheets. Got a sample style sheet that you use
 that prevernts authors from overriding things?

Custom style sheets are usually applied after those in the document -
when they are both being applied.

That way, the custom style sheet has the final word.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Jargons of Info Tech industry

2005-10-08 Thread Tim Tyler
Alan Balmer [EMAIL PROTECTED] wrote or quoted:
 On Tue, 04 Oct 2005 17:14:45 GMT, Roedy Green

 I try to explain Java each day both on my website on the plaintext
 only newsgroups. It is so much easier to get my point across in HTML.
 
 Program listings are much more readable on my website.
 
 My copy of javac seems to prefer plain text, and so do I ;-)

Plain text is a badly impoverished medium for explaining things in.

For one thing, code on my web site tends to get syntax highlighted.
There's no way I could do that in plain text.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python or PHP?

2005-04-24 Thread Tim Tyler
Mage [EMAIL PROTECTED] wrote or quoted:
 Tim Tyler wrote:
 Mage [EMAIL PROTECTED] wrote or quoted:

 check this: http://wiki.w4py.org/pythonvsphp.html
 
 Good - but it hardly mentions the issue of security - which seems
 like a bit of a problem for PHP at the moment.

 I don't think so. Bad programmers are able to write bad programs in any
 language. Maybe there are more bad php programmers than python
 programmers and the 70% of the dynamic world wide web is copied from
 user comments in the php.net/manual. However one of the worst cases is
 the sql injection attack. And sql injections must be handled neither by
 php nor by python but by the programmer.

SQL injection only gives you access to the database and its contents.

A bigger problem in practice for PHP at the moment is the way
fopen can allow access to the entire filing system.

That does things such as allowing trivial programming mistakes to expose 
the unix password file to attackers - exposing not just the particular 
site's database - but all users on the maching (on machines not using 
shadow passwords) with passwords subject to dictionary and brute force 
attacks.

The current defense involves switching off fopen - but unfortunately,
that rather cripples many PHP programs.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python or PHP?

2005-04-23 Thread Tim Tyler
Mage [EMAIL PROTECTED] wrote or quoted:

 check this: http://wiki.w4py.org/pythonvsphp.html

Good - but it hardly mentions the issue of security - which seems
like a bit of a problem for PHP at the moment.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python licence again

2005-04-23 Thread Tim Tyler
fuzzylollipop [EMAIL PROTECTED] wrote or quoted:

 try spelling license correctly next time and heading the google
 suggestions that probably looked like didn't you mean : Python License

How do you spell license correctly?
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Are circular dependencies possible in Python?

2005-04-10 Thread Tim Tyler
Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote or quoted:
 In [EMAIL PROTECTED], Tim Tyler wrote:

  Like C, Python seems to insist I declare functions before calling
  them - rather than, say, scanning to the end of the current script
  when it can't immediately find what function I'm referring to.
 
 They don't have to be declared but to be *defined* in Python before you
 can call them. [...]

That makes three of you who have called me on my use of declare.

AFAICT, I was using the standard dictionary definition of this word:

  http://dictionary.reference.com/search?q=declare

The term declare doesn't have the same meaning as the term predeclare.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Are circular dependencies possible in Python?

2005-04-09 Thread Tim Tyler
Like C, Python seems to insist I declare functions before calling
them - rather than, say, scanning to the end of the current script
when it can't immediately find what function I'm referring to.

C lets you predeclare functions to allow for the existence of
functions with circular dependencies.

Does Python allow you to do something similar?

If not how do you create functions with circular dependencies in
Python - where function A could call function B; and function
B could call function A - or is that not possible?
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Are circular dependencies possible in Python?

2005-04-09 Thread Tim Tyler
Tim Tyler [EMAIL PROTECTED] wrote or quoted:

 Like C, Python seems to insist I declare functions before calling
 them - rather than, say, scanning to the end of the current script
 when it can't immediately find what function I'm referring to.
 
 C lets you predeclare functions to allow for the existence of
 functions with circular dependencies.
 
 Does Python allow you to do something similar?
 
 If not how do you create functions with circular dependencies in
 Python - where function A could call function B; and function
 B could call function A - or is that not possible?

Thanks guys - that's made how Python works in this area abundantly clear.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Grouping code by indentation - feature or ******?

2005-04-08 Thread Tim Tyler
I, Tim Tyler [EMAIL PROTECTED] wrote or quoted:

 What do you guys think about Python's grouping of code via 
 indentation?

Some relevant resources:

http://c2.com/cgi/wiki?PythonWhiteSpaceDiscussion
http://c2.com/cgi/wiki?IndentationEqualsGrouping
http://c2.com/cgi/wiki?SyntacticallySignificantWhitespaceConsideredHarmful

The first page talks quite a bit about distinguishing between
tabs and spaces.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Good use for Jython

2005-03-30 Thread Tim Tyler
Mike Wimpe [EMAIL PROTECTED] wrote or quoted:

 Other than being used to wrap Java classes, what other real use is
 there for Jython being that Python has many other GUI toolkits
 available? Also, these toolkits like Tkinter are so much better for
 client usage (and faster) than Swing, so what would be the advantage
 for using Jython? or Is Jython really just so that Java developers can
 write Java code faster?

Jython allows Python programmers to access to the large volume of
existing Java code and libraries - and provides access to a ubiquitous
and widely distributed runtime environment.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Grouping code by indentation - feature or ******?

2005-03-26 Thread Tim Tyler
Peter Otten [EMAIL PROTECTED] wrote or quoted:
 I, Tim Tyler wrote:

  What do you guys think about Python's grouping of code via indentation?
 
 This is a Python newsgroup. Assume that we all have been brainwashed.

;-)

I had a good look for comp.lang.python.advocacy before posting my
question - and coated my shield with a fresh dose of flame repellant.

While the question does have a trollish character - and I can
easily imagine I'm not the first to ask it and that participants
may be sick of hearing about the issue - I was sincere in wanting
to know the answer.  Fortunately, I do seem to have elicited some 
intelligent responses - thanks very much to everyone who answered.

FWIW, my initial impression was yuck.  After considering the issue,
I could see quite a few advantages.  At the moment, while rather torn
on the whole issue, I seem to be heading back in the direction of my
first impressions.
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Grouping code by indentation - feature or ******?

2005-03-26 Thread Tim Tyler
Javier Bezos [EMAIL PROTECTED] wrote or quoted:
 Tim Tyler [EMAIL PROTECTED] escribi? en el mensaje

  What do you guys think about Python's grouping of code via indentation?
 
  Is it good - perhaps because it saves space and eliminates keypresses?

[...]

 I particularly hate it, but Python has lots of good
 things which compesate that (another annoying point
 of Python are slices -- mine are always off by 1).
 I always write explicitly ends as #end, so that I
 can reorganice the code easily if necessary. Maybe
 in the future, when Ruby matures, I could change
 my mind, but currently Python is still my favourite
 scripting language (as formerly was Tcl).

My current impression is that Python is about the best dynamic
language.

It helps that it's one of the most popular such languages.

One of my concerns about it is that it's too big and complex.

I very much favour the smalltalk-inspired idea of keeping
the actual language as small as is reasonably possible.

I wonder if there are any promising new kids on the dynamic
scripting-language block that I haven't heard about yet -
i.e. things not on:

http://dmoz.org/Computers/Programming/Languages/Scripting/Object-Oriented/
http://dmoz.org/Computers/Programming/Languages/Object-Oriented/Prototype-based/
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list


Grouping code by indentation - feature or ******?

2005-03-25 Thread Tim Tyler
What do you guys think about Python's grouping of code via indentation?

Is it good - perhaps because it saves space and eliminates keypresses?

Or is it bad - perhaps because it makes program flow dependent on 
invisible, and unpronouncable characters - and results in more
manual alignment issues by preventing code formatters from managing
indentation?

Python is certainly pretty unorthodox in this area.

How would you have dealt with the issue of how to group statements?
-- 
__
 |im |yler  http://timtyler.org/  [EMAIL PROTECTED]  Remove lock to reply.
-- 
http://mail.python.org/mailman/listinfo/python-list