Dr. Dobb's Python-URL! - weekly Python news and links (Feb 1)

2005-02-01 Thread Cameron Laird
QOTW: The right solution will end up being unique to Python though. It has to feel like Python. -- Guido van Rossum http://aws.typepad.com/aws/2005/01/amazon_devcon_g_4.html Sparring with Alex Martelli is like boxing Mike Tyson, except that one experiences brain enhancement rather than brain

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 1)

2005-03-02 Thread Cameron Laird
Editor's note: Python-URL! is minimal. It doesn't support advertisements, we never allow the subscribers' addresses to be used for other purposes, we don't claim infallibility, and we even take a couple weeks off some years. Occasionally, though--not as often as the US enters a shooting war,

Dr. Dobb's Python-URL! - weekly Python news and links (Aug 12)

2005-08-13 Thread Cameron Laird
QOTW: ... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it. -- Guyon Mor?e (and about twenty-three thousand others) [A] suggestion from the world of 'agile development': stop making so many decisions and start writing some actual code!

Dr. Dobb's Python-URL! - weekly Python news and links (Oct 26)

2005-10-26 Thread Cameron Laird
QOTW: Using Unix for 20+ years probably warps one's perception of what's obvious and what isn't. -- Grant Edwards ... windoze users--despite their unfortunate ignorance, they are people too. -- James Stroud The Widget Construction Kit (WCK) is an extension API that allows you to

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 6)

2005-11-06 Thread Cameron Laird
QOTW: - don't use SAX unless your document is huge - don't use DOM unless someone is putting a gun to your head - Istvan Albert I wouldn't fret too much about a sharp remark from Fredrik Lundh. They're pretty much all that way. ;) It looks like you already did the right thing - read past the

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 9)

2005-11-10 Thread Cameron Laird
QOTW: The lesson for me is to spend much less time on Python discussion and much more on unfinished projects. So even if I never use the new syntax, I will have gained something ;-) - Terry Reedy In short, this group is a broad church, and those readers with brains the size of planets should

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 26)

2005-11-27 Thread Cameron Laird
QOTW: ... '[B]ut assume that I have some other use case' isn't a valid use case. - Fredrik Lundh Rolling your own solution, on the other hand, can end in a long road discovering what those CORBA people were doing for all those years. - Paul Boddie NOTW: sceptifications. Steven D'Aprano

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 2)

2005-12-04 Thread Cameron Laird
QOTW: Python makes it easy to implement algorithms. - casevh Most of the discussion of immutables here seems to be caused by newcomers wanting to copy an idiom from another language which doesn't have immutable variables. Their real problem is usually with binding, not immutability. - Mike Meyer

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 14)

2005-12-15 Thread Cameron Laird
QOTW: If I feel the need for languages that enforce my design decisions, I know where to find them. - Mike Meyer There's ... unavoidable complexity involved in managing a software distribution composed of third party software packages. At the very least, you've got the original sources and the

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 21)

2005-12-22 Thread Cameron Laird
QOTW: [P]ortability is an n-way street. - Paul McGuire Python's polymorphism support is so good that it makes inheritance much less important than it is in other languages. - Ben Sizer Skip Montanaro presents the affirmative case for Python as a unit-testing framework for C++:

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 6)

2006-03-07 Thread Cameron Laird
QOTW: This PyCon has been better in so many respects than the three that preceded it. ... PyCon will continue to improve. - Steve Holden, chairman of PyCon 2003-2005 http://holdenweb.blogspot.com/ Design patterns are kind of like sarcasm: hard to use well, not always appropriate, and

Dr. Dobb's Python-URL! - weekly Python news and links (May 30)

2006-05-31 Thread Cameron Laird
QOTW: Making a user class work anywhere you can put a mapping in Perl is deep magic, but easy in Python. Creating types that act like files and can be used wherever a file is used is SOP in Python; I'm not even sure it's possible in Perl (probably is, but it's again deep magic). - Mike Meyer ...

Dr. Dobb's Python-URL! - weekly Python news and links (Jun 7)

2006-06-07 Thread Cameron Laird
QOTW: You can gain substantial speed-ups in very certain cases, but the main point of Pyrex is ease of wrapping, not of speeding-up. - Simon Percivall The rule of thumb for all your Python Vs C questions is ... 1.) Choose Python by default. . . . - Ravi Teja Do you remember Python's early

Dr. Dobb's Python-URL! - weekly Python news and links (Jun 26)

2006-06-26 Thread Cameron Laird
QOTW: In short, it's never what you think it is ;-) - timbot, probably on the subject of performance Real efficiency comes from elegant solutions, not optimized programs. Optimization is always just a few correctness-preserving transformations away. - Jonathan Sobel

Dr. Dobb's Python-URL! - weekly Python news and links (Jul 12)

2006-07-12 Thread Cameron Laird
QOTW: Write code, not usenet posts. - Fredrik Lundh If an embedded return isn't clear, the method probably needs to be refactored with 'extract method' a few times until it is clear. - John Roth The comp.lang.python collective has become quite expert at answering Which book should I

Dr. Dobb's Python-URL! - weekly Python news and links (Jul 17)

2006-07-17 Thread Cameron Laird
QOTW: Alas, Python has extensive libraries and [is] well documented to boot. - Edmond Dantes Locking files is a complex business. - Sybren Stuvel File-locking *sounds* like an easy thing; it just isn't so in any operating system that often appears on desktops. Take advantage of

Dr. Dobb's Python-URL! - weekly Python news and links (Sep 27)

2006-09-26 Thread Cameron Laird
QOTW: It's not out of the kindness of our hearts that we help. Heck, I don't know what it is. Probably I just like reading my own drivel on the internet and occasionally helping others is a good excuse. - Neil Cerutti Well, if you're only watching mtv, it's easy to think that there's

Dr. Dobb's Python-URL! - weekly Python news and links (Oct 4)

2006-10-03 Thread Cameron Laird
QOTW: If you want your objects to know their name, give them a name as an attribute. - Georg Brandl Unfortunately forty years of programming experience has taught me that there's an essentially infinite supply of mistakes to make ... your mistakes just get smarter most of the time. - Steve

Dr. Dobb's Python-URL! - weekly Python news and links (Oct 16)

2006-10-16 Thread Cameron Laird
QOTW: Well, I haven't yet seen a definition of 'Integrated Development Environment' which would exclude Emacs... - Slawomir Nowaczyk Let me tell you: There are times when I'm really glad that as a German, I'm not supposed to possess any sense of humour at all. - Georg Brandl Pythoneers

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 13)

2006-11-14 Thread Cameron Laird
QOTW: It is humbling to see how simple yet powerfull python`s view on things is - Éric Daigneault http://groups.google.com/group/comp.lang.python/msg/bbd842715bb5b6eb [I]f a machine is expected to be infallible, it cannot also be intelligent. - Alan Turing, 20 February 1947, lecture to

Python-URL! - weekly Python news and links (Apr 2)

2007-04-03 Thread Cameron Laird
QOTW: This whole charset mess is not meant to be solved by mere mortals. - Thorsten Kampe, a day or so before solving his symptom with a codecs method: http://groups.google.com/group/comp.lang.python/msg/a2e573ccc54f66db

Python-URL! - weekly Python news and links (Apr 11)

2007-04-12 Thread Cameron Laird
QOTW: Dictionaries are one of the most useful things in Python. Make sure you know how to take adavantage of them... - Jeremy Sanders Python has consistently failed to disappoint me. - Tal Einat super() only works on new-style classes ... and has its own set of gotchas:

Python-URL! - weekly Python news and links (May 7)

2007-05-08 Thread Cameron Laird
QOTW: As a general rule, *ALL* multithread operations are at least that troublesome, and most are far more so. - Gary Herron I'm a recent, belated convert from Perl. I work in a physics lab and have been using Python to automate a lot of measurement equipment lately. It works fabulously for

Python-URL! - weekly Python news and links (May 16)

2007-05-17 Thread Cameron Laird
QOTW: Sometimes you just have to take the path of least distaste. - Grant Edwards I want to choose my words carefully here, so I'm not misunderstood. They're a bunch of fucking idiots. - Charles Wang, billionaire chairman of software giant Computer Associates, asked to assess the quality of

Python-URL! - weekly Python news and links (Jul 2)

2007-07-02 Thread Cameron Laird
QOTW: Modules are objects too - they're a good example of singletons. If you want to create a class containing only static methods: use a module instead. If you want to create a class having a single instance (a singleton), most of the time you can use a module instead. Functions don't *have* to

Re: java 5 could like python?

2005-01-15 Thread Cameron Laird
In article [EMAIL PROTECTED], vegetax [EMAIL PROTECTED] wrote: . . . For example if i remember a function i want ie:get attribute, i dont remember if the module implementer coded it as getAttribute,GetAttribute,get_attribute,

Re: Another scripting language implemented into Python itself?

2005-01-25 Thread Cameron Laird
In article [EMAIL PROTECTED], Orlando Vazquez [EMAIL PROTECTED] wrote: Jeff Shannon wrote: snip Because you cannot make Python secure against a malicious (or ignorant) user -- there's too much flexibility to be able to guard against every possible way in which user-code could harm the

Re: Another scripting language implemented into Python itself?

2005-01-25 Thread Cameron Laird
In article [EMAIL PROTECTED], Carl Banks [EMAIL PROTECTED] wrote: . . . Python, or Perl, or TCL, or Ruby, or PHP, Not PHP. PHP is one of the better (meaning less terrible) examples of what happens when you do this sort of

Re: Another scripting language implemented into Python itself?

2005-01-25 Thread Cameron Laird
In article [EMAIL PROTECTED], Quest Master [EMAIL PROTECTED] wrote: . . . I know C/C++ might be better suited for a task of this kind, but most of the modules in my application which need speed have already been coded in C++.

Re: limited python virtual machine (WAS: Another scripting language implemented into Python itself?)

2005-01-25 Thread Cameron Laird
In article [EMAIL PROTECTED], Michael Spencer [EMAIL PROTECTED] wrote: . . . Right - the crux of the problem is how to identify dangerous objects. My point is that if such as test is possible, then safe exec is very easily

Re: Another scripting language implemented into Python itself?

2005-01-25 Thread Cameron Laird
In article [EMAIL PROTECTED], Terry Reedy [EMAIL PROTECTED] wrote: . . . worrying about Python security seems superfluous. Why worry, for instance, about os.unlink when the user can just do the same much easier in a text or

Re: Please suggest on the book to follow

2005-01-27 Thread Cameron Laird
In article [EMAIL PROTECTED], Fuzzyman [EMAIL PROTECTED] wrote: We've only just had Python 2.4. Based on previous experience that means it will be about 18 months before python 2.5. I learned to program from 'Programming Python'. Particularly the stuff on Tkinter is very helpful. I don't

Re: Point of Sale

2005-01-27 Thread Cameron Laird
In article [EMAIL PROTECTED], Andreas Pauley [EMAIL PROTECTED] wrote: Hi, My company has given me a rather cool project: I have to provide them with an open-source python-based point-of-sale / cash register system that can integrate with their existing ERP backend. The project will include

Re: Another scripting language implemented into Python itself?

2005-01-27 Thread Cameron Laird
In article [EMAIL PROTECTED], Arthur [EMAIL PROTECTED] wrote: . . . As long as we include the cost of treating adults as children, and take it seriously as the kind of cost it is, I'm OK. I think Terry's point covers a wide

Entirely off-topic personal grumble unrelated to original poster (was: Point of Sale)

2005-01-27 Thread Cameron Laird
In article [EMAIL PROTECTED], Andreas Pauley [EMAIL PROTECTED] wrote: . . . Actually I just mean that I'm not looking for a 100% feature-fit, if I get a 70% fit I'll jump in and develop the other 30%.

Re: Please suggest on the book to follow

2005-01-27 Thread Cameron Laird
In article [EMAIL PROTECTED], santanu [EMAIL PROTECTED] wrote: . . . From what you and Fyzzyman said, I guess when I am done with Programming Python, graduating to the latest features would be quite easy. Isn't it?

Dr. Dobb's Python-URL! - weekly Python news and links (Jan 28)

2005-01-28 Thread Cameron Laird
QOTW: It might be nice if it was widely understood (in IT) that Python was a language any competent programmer could pick up in an afternoon, such that Java, C, and Perl shops would not be concerned about the need for their staff to learn a new language. -- Eric Pederson What's kind of

Dr. Dobb's Python-URL! - weekly Python news and links (Jan 28)

2005-01-28 Thread Cameron Laird
QOTW: It might be nice if it was widely understood (in IT) that Python was a language any competent programmer could pick up in an afternoon, such that Java, C, and Perl shops would not be concerned about the need for their staff to learn a new language. -- Eric Pederson What's kind of

Re: Coding style article with interesting section on white space

2005-01-29 Thread Cameron Laird
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: . . . One ought to do a little research before publishing an article. Apparently, many authors and editors are too lazy to do so. ... and/or ignorant or uncultured.

Re: variable declaration

2005-01-31 Thread Cameron Laird
In article [EMAIL PROTECTED], Alex Martelli [EMAIL PROTECTED] wrote: Robert Brewer [EMAIL PROTECTED] wrote: Bah. Nothing teaches you a new language like having your job depend upon it. People who study languages merely for personal growth learn 50% of the syntax and 1% of the concepts, and

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 1)

2005-01-31 Thread Cameron Laird
QOTW: The right solution will end up being unique to Python though. It has to feel like Python. -- Guido van Rossum http://aws.typepad.com/aws/2005/01/amazon_devcon_g_4.html Sparring with Alex Martelli is like boxing Mike Tyson, except that one experiences brain enhancement rather than brain

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 1)

2005-02-01 Thread Cameron Laird
QOTW: The right solution will end up being unique to Python though. It has to feel like Python. -- Guido van Rossum http://aws.typepad.com/aws/2005/01/amazon_devcon_g_4.html Sparring with Alex Martelli is like boxing Mike Tyson, except that one experiences brain enhancement rather than brain

Re: Lambda

2005-02-09 Thread Cameron Laird
In article [EMAIL PROTECTED], Tim Leslie [EMAIL PROTECTED] wrote: . . . * There is much debate as to just how useful lambda functions are and they are likely to be removed from the language in the distant futute (python 3)

Re: newbie question

2005-02-09 Thread Cameron Laird
In article [EMAIL PROTECTED], Dan Perl [EMAIL PROTECTED] wrote: . . . has the conciseness of the C statement. The pre- and post-increment and -decrement in C/C++/Java are very powerful and I miss them in python. Me, too.

Pioneers of WIMPishness (was: A great Alan Kay quote)

2005-02-09 Thread Cameron Laird
In article [EMAIL PROTECTED], Scott David Daniels [EMAIL PROTECTED] wrote: . [thoroughly appropriate focus on Engelbart and his Augment colleagues] . . (or great) guess and

Re: Considering python - have a few questions.

2005-02-13 Thread Cameron Laird
In article [EMAIL PROTECTED], Tim Roberts [EMAIL PROTECTED] wrote: Heather Stovold [EMAIL PROTECTED] wrote: I need to make a GUI interface. Some of the screens need to be dynamically created, with the screen information in a database. Included in the database will be pictures (.gif or .jpg)

Re: gui scripting

2005-02-14 Thread Cameron Laird
In article [EMAIL PROTECTED], Tonino [EMAIL PROTECTED] wrote: HI, I have a 2 phase question: Phase 1 is I am needing to automate a report generation from a proprietary product. Currently a person sits and input's the data into a GUI frontend and clicks's the appropriate buttons to start the

Re: [EVALUATION] - E02 - Support for MinGW Open Source Compiler

2005-02-14 Thread Cameron Laird
In article [EMAIL PROTECTED], Diez B. Roggisch [EMAIL PROTECTED] wrote: One of the most funny things within open-source is that switching: first: we have powerfull solutions which beat this and that then: hey, this is just volunteer work I don't see the contradiction here. It beats a

Re: [EVALUATION] - E02 - Support for MinGW Open Source Compiler

2005-02-14 Thread Cameron Laird
In article [EMAIL PROTECTED], Tim Peters [EMAIL PROTECTED] wrote: [Ilias Lazaridis] ... . . . That leaves volunteers, or a company that wants what you want enough to pay for it on their own (which has happened, but not often

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 15)

2005-02-14 Thread Cameron Laird
QOTW: I've forgotten what we are arguing about, but I'm sure I'm right. -- Jive Dadson I believe the best strategy against Identity theft is bad credit. -- Tom Willis You can't live without unit tests. And once you have unit tests, the added value of declarations is tiny, and their cost

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 15)

2005-02-15 Thread Cameron Laird
QOTW: I've forgotten what we are arguing about, but I'm sure I'm right. -- Jive Dadson I believe the best strategy against Identity theft is bad credit. -- Tom Willis You can't live without unit tests. And once you have unit tests, the added value of declarations is tiny, and their cost

Re: low-end persistence strategies?

2005-02-16 Thread Cameron Laird
In article [EMAIL PROTECTED], Paul Rubin http://[EMAIL PROTECTED] wrote: I've started a few threads before on object persistence in medium to high end server apps. This one is about low end apps, for example, a simple cgi on a personal web site that might get a dozen hits a day. The idea is you

Re: Python vs Ruby

2005-10-20 Thread Cameron Laird
In article [EMAIL PROTECTED], bruno modulix [EMAIL PROTECTED] wrote: Bryan wrote: Amol Vaidya wrote: Hi. I am interested in learning a new programming language, and have been debating whether to learn Ruby or Python. (snip) why don't you do what i did? download ruby and spend a day or

Dr. Dobb's Python-URL! - weekly Python news and links (Oct 26)

2005-10-25 Thread Cameron Laird
QOTW: Using Unix for 20+ years probably warps one's perception of what's obvious and what isn't. -- Grant Edwards ... windoze users--despite their unfortunate ignorance, they are people too. -- James Stroud The Widget Construction Kit (WCK) is an extension API that allows you to

Dr. Dobb's Python-URL! - weekly Python news and links (Oct 26)

2005-10-26 Thread Cameron Laird
QOTW: Using Unix for 20+ years probably warps one's perception of what's obvious and what isn't. -- Grant Edwards ... windoze users--despite their unfortunate ignorance, they are people too. -- James Stroud The Widget Construction Kit (WCK) is an extension API that allows you to

Re: Cheapest pocket device to code python on

2005-11-04 Thread Cameron Laird
In article [EMAIL PROTECTED], Sybren Stuvel [EMAIL PROTECTED] wrote: Devan L enlightened us with: I would not recommend trying to code on a handheld device. Small screen size and [usually] small keyboards make it less-than-practical. Stick with a laptop, or write it in a notebook, if you

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 6)

2005-11-06 Thread Cameron Laird
QOTW: - don't use SAX unless your document is huge - don't use DOM unless someone is putting a gun to your head - Istvan Albert I wouldn't fret too much about a sharp remark from Fredrik Lundh. They're pretty much all that way. ;) It looks like you already did the right thing - read past the

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 6)

2005-11-06 Thread Cameron Laird
QOTW: - don't use SAX unless your document is huge - don't use DOM unless someone is putting a gun to your head - Istvan Albert I wouldn't fret too much about a sharp remark from Fredrik Lundh. They're pretty much all that way. ;) It looks like you already did the right thing - read past the

Re: A Tcl/Tk programmer learns Python--any advice?

2005-11-07 Thread Cameron Laird
In article [EMAIL PROTECTED], Kevin Walzer [EMAIL PROTECTED] wrote: . . . I've gotten all the approropriate resources for learning Python (docs, books, tutorials), so my question is this: are there any gotchas that Tcl

Re: Invoking Python from Python

2005-11-08 Thread Cameron Laird
In article [EMAIL PROTECTED], Thomas Guettler [EMAIL PROTECTED] wrote: . . . creating source code with a script, is no good solution. Once I had to maintain lisp code which stored its data in lisp code, too (incl.

Re: A Tcl/Tk programmer learns Python--any advice?

2005-11-08 Thread Cameron Laird
In article [EMAIL PROTECTED], Russell E. Owen [EMAIL PROTECTED] wrote: . [acute observations] . . Features of Python that are well integrated and well worth using include: - objects - collection classes

Re: Invoking Python from Python

2005-11-09 Thread Cameron Laird
In article [EMAIL PROTECTED], Mike Meyer [EMAIL PROTECTED] wrote: . . . Since Cameron didn't provide examples, let me grab a simple one. The cheetah templating system works by creating Python programs from the template. The

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 9)

2005-11-09 Thread Cameron Laird
QOTW: The lesson for me is to spend much less time on Python discussion and much more on unfinished projects. So even if I never use the new syntax, I will have gained something ;-) - Terry Reedy In short, this group is a broad church, and those readers with brains the size of planets should

Re: Invoking Python from Python

2005-11-09 Thread Cameron Laird
In article [EMAIL PROTECTED], Mike Meyer [EMAIL PROTECTED] wrote: . . . It's very flexible - but at this point, the configuration file is a Python program, and not really suitable to use by non-programmers.

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 9)

2005-11-10 Thread Cameron Laird
QOTW: The lesson for me is to spend much less time on Python discussion and much more on unfinished projects. So even if I never use the new syntax, I will have gained something ;-) - Terry Reedy In short, this group is a broad church, and those readers with brains the size of planets should

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 16)

2005-11-15 Thread Cameron Laird
QOTW: You can tell everything is well in the world of dynamic languages when someone posts a question with nuclear flame war potential like 'python vs. ruby' and after a while people go off singing hymns about the beauty of Scheme... - vdrab ctypes completely rocks. - Grant Edwards Michael

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 16)

2005-11-16 Thread Cameron Laird
QOTW: You can tell everything is well in the world of dynamic languages when someone posts a question with nuclear flame war potential like 'python vs. ruby' and after a while people go off singing hymns about the beauty of Scheme... - vdrab ctypes completely rocks. - Grant Edwards Michael

Re: running functions

2005-11-16 Thread Cameron Laird
In article [EMAIL PROTECTED], Grant Edwards [EMAIL PROTECTED] wrote: On 2005-11-16, Gorlon the Impossible [EMAIL PROTECTED] wrote: I'm not sure how to phrase this question. I have a Python function that sends MIDI messages to a synth. When I run it, I of course have to wait until it is

Re: running functions

2005-11-17 Thread Cameron Laird
In article [EMAIL PROTECTED], Gorlon the Impossible [EMAIL PROTECTED] wrote: . . . the fly' so to speak. I checked out the threading module and its working for what I am trying to do at the moment, but I am open to

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 26)

2005-11-26 Thread Cameron Laird
QOTW: ... '[B]ut assume that I have some other use case' isn't a valid use case. - Fredrik Lundh Rolling your own solution, on the other hand, can end in a long road discovering what those CORBA people were doing for all those years. - Paul Boddie NOTW: sceptifications. Steven D'Aprano

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 26)

2005-11-27 Thread Cameron Laird
QOTW: ... '[B]ut assume that I have some other use case' isn't a valid use case. - Fredrik Lundh Rolling your own solution, on the other hand, can end in a long road discovering what those CORBA people were doing for all those years. - Paul Boddie NOTW: sceptifications. Steven D'Aprano

Re: How to write an API for a Python application?

2005-11-28 Thread Cameron Laird
In article [EMAIL PROTECTED], Alex Martelli [EMAIL PROTECTED] wrote: . . . Note also that you can freely download all of the code in my book as http://examples.oreilly.com/pythonian/pythonian-examples.zip (it's just 36 KB).

Re: How to write an API for a Python application?

2005-11-29 Thread Cameron Laird
In article [EMAIL PROTECTED], Alex Martelli [EMAIL PROTECTED] wrote: . . . Yeah, O'Reilly tools have this delightful penchant for inserting a space between two adjacent underscores, drives me crazy:-(. Alex Do more of us

Re: How to get started in GUI Programming?

2005-11-29 Thread Cameron Laird
In article [EMAIL PROTECTED], Kay Schluehr [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I am trying to learn GUI programming in Python, but have to confess I am finding it difficult. Don't do it if you can prevent it. GUI - toolkits are very complex beasts and at least to me a source of

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 2)

2004-12-01 Thread Cameron Laird
QOTW: ... why does Microsoft try so hard to protect its sources? To avoid embarrassment. -- Peter Maas and Grant Edwards http://groups.google.com/groups?frame=leftth=9a599152d8b23b54 Sufficiently advanced cluelessness is indistinguishable from malice. -- Alex Martelli 2.4 is final,

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 2)

2004-12-02 Thread Cameron Laird
QOTW: ... why does Microsoft try so hard to protect its sources? To avoid embarrassment. -- Peter Maas and Grant Edwards http://groups.google.com/groups?frame=leftth=9a599152d8b23b54 Sufficiently advanced cluelessness is indistinguishable from malice. -- Alex Martelli 2.4 is final,

Re: New versions breaking extensions, etc.

2004-12-13 Thread Cameron Laird
In article [EMAIL PROTECTED], John Machin [EMAIL PROTECTED] wrote: Jive wrote: Martin v. Löwis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] OTOH, people who only have VC6 just need to buy VS.NET 2003, which is still available. I don't even know how to do that! :-) What's the

Re: Looking for a coder to do some work

2004-12-13 Thread Cameron Laird
In article [EMAIL PROTECTED], Allan Irvine [EMAIL PROTECTED] wrote: HI Hope this is the right place for this, I am new. I have a spec to create a (dual screen) framework application that 1 displays mp3, flash, jpegs etc. on top screen 2: displays buttons on bottom screen which alter image

Re: Html or Pdf to Rtf (Linux) with Python

2004-12-14 Thread Cameron Laird
In article [EMAIL PROTECTED], Axel Straschil [EMAIL PROTECTED] wrote: Hello! Sorry Cameron, I was replying, now my folloup ;-): Are you trying to convert one document in particular, or automate the process of conveting arbitrary HTML documents? I have an small CMS System where the customer

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 15)

2004-12-17 Thread Cameron Laird
QOTW: [Python demands more thought in optimization, because i]n other languages, by the time you get the bloody thing working it's time to ship, and you don't have to bother worrying about making it optimal. -- Simon Brunning One of the best features of c.l.py is how questions phrased in the

Re: New versions breaking extensions, etc.

2004-12-13 Thread Cameron Laird
In article [EMAIL PROTECTED], Nick Coghlan [EMAIL PROTECTED] wrote: Jive wrote: Can someone explain to me why Python 2.4 on MS Windows has these backward compatibility problems? What am I missing? The problem is the Python C/API. At the moment, it exposes things directly (like data

Re: New versions breaking extensions, etc.

2004-12-13 Thread Cameron Laird
In article [EMAIL PROTECTED], Jive [EMAIL PROTECTED] wrote: . . . Doesn't Microsoft have an answer for that? There are (at last count) nine skillion ActiveX components in the wild. Surely Microsoft didn't blast them into

Re: Html or Pdf to Rtf (Linux) with Python

2004-12-14 Thread Cameron Laird
In article [EMAIL PROTECTED], Alexander Straschil [EMAIL PROTECTED] wrote: Hello! I have to convert an HTML document to rtf with python, was just googling for an hour and did find nothing ;-( Has anybody an Idea how to convert (under Linux) an HTML or Pdf Document to Rtf? Thanks, AXEL Are you

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 15)

2004-12-15 Thread Cameron Laird
QOTW: [Python demands more thought in optimization, because i]n other languages, by the time you get the bloody thing working it's time to ship, and you don't have to bother worrying about making it optimal. -- Simon Brunning One of the best features of c.l.py is how questions phrased in the

Re: Tkinter vs wxPython

2004-12-28 Thread Cameron Laird
In article [EMAIL PROTECTED], Alejandro Weinstein [EMAIL PROTECTED] wrote: . . . the standard GUI for Python. I read some tutorials, but didn't go to far, and didn't like the Tkinter looks too much. Then I tried

Re: Lambda going out of fashion

2004-12-28 Thread Cameron Laird
In article [EMAIL PROTECTED], Alex Martelli [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Thanks. :-) Two remarks. o One-liner fits the eyes brains of a portion of people. True! So, personally, I'd rather code, e.g., def bools(lst): return map(bool, lst) rather than breal this

Reference behavior through C (was: Lambda going out of fashion)

2004-12-28 Thread Cameron Laird
In article [EMAIL PROTECTED], Craig Ringer [EMAIL PROTECTED] wrote: . . . IMO the reference behaviour of functions in the C API could be clearer. One often has to simply know, or refer to the docs, to tell whether a

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30)

2004-12-30 Thread Cameron Laird
QOTW: I found the discussion of unicode, in any python book I have, insufficient. -- Thomas Heller If you develop on a Mac, ... Objective-C could come in handy. . . . PyObjC makes mixing the two languages dead easy and more convenient than indoor plumbing. -- Robert Kern Among other

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30)

2004-12-30 Thread Cameron Laird
QOTW: I found the discussion of unicode, in any python book I have, insufficient. -- Thomas Heller If you develop on a Mac, ... Objective-C could come in handy. . . . PyObjC makes mixing the two languages dead easy and more convenient than indoor plumbing. -- Robert Kern Among other

Re: The Industry choice

2004-12-31 Thread Cameron Laird
In article [EMAIL PROTECTED], Paul Rubin http://[EMAIL PROTECTED] wrote: Peter Dembinski [EMAIL PROTECTED] writes: If it has to be both reliable and secure, I suggest you used more redundant language such as Ada 95. That's something to think about and it's come up in discussions, but probably

Re: The Industry choice

2004-12-31 Thread Cameron Laird
In article [EMAIL PROTECTED], Christopher Koppler [EMAIL PROTECTED] wrote: . . . Manager culture is still very much mired in rituals that may in one form or another go back to hunter-gatherer days (or maybe even further);

Re: The Industry choice

2005-01-01 Thread Cameron Laird
In article [EMAIL PROTECTED], Hans Nowak [EMAIL PROTECTED] wrote: Paul Rubin wrote: You should write unit tests either way, but in Python you're relying on the tests to find stuff that the compiler finds for you with Java. As I wrote on my weblog a while ago, I suspect that this effect is

Re: The Industry choice

2005-01-02 Thread Cameron Laird
In article [EMAIL PROTECTED], Mark Carter [EMAIL PROTECTED] wrote: . [tale of *very* typical experience with non-software engineers] . . use something like

Industrial organization (was: The Industry choice)

2005-01-03 Thread Cameron Laird
In article [EMAIL PROTECTED], Alex Martelli [EMAIL PROTECTED] wrote: Bulba! [EMAIL PROTECTED] wrote: True. I have a bit of interest in economics, so I've seen e.g. this example - why is it that foreign branches of companies tend to cluster themselves in one city or country (e.g. It's not just

Re: The Industry choice

2005-01-03 Thread Cameron Laird
In article [EMAIL PROTECTED], Terry Reedy [EMAIL PROTECTED] wrote: Steve Holden [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Well clearly there's a spectrum. However, I have previously written that the number of open source projects that appear to get stuck somewhere between

Compiler benefits (was: The Industry choice)

2005-01-03 Thread Cameron Laird
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Roy Smith wrote: I think you've hit the nail on the head. In awk (and perl, and most shells, and IIRC, FORTRAN), using an undefined variable silently gets you a default value (empty string or zero). This tends to propagate errors and make

How can engineers not understand source-code control? (was: The Industry choice)

2005-01-03 Thread Cameron Laird
In article [EMAIL PROTECTED], Mark Carter [EMAIL PROTECTED] wrote: . . . Don't start me! Dammit, too late ... I've noticed that they have an overwhelming obsession with GUIs, too. They design wizards for everything. Damn

Re: navigating/changing directories

2005-01-06 Thread Cameron Laird
In article [EMAIL PROTECTED], Nick Coghlan [EMAIL PROTECTED] wrote: The script is executed in a process separate from your command shell, and hence has no effect on your shell's current directory. There are some things that batch files and shell scripts are still good for - manipulating the

Excluded and other middles in licensing (was: The Industry choice)

2005-01-06 Thread Cameron Laird
In article [EMAIL PROTECTED], Alex Martelli [EMAIL PROTECTED] wrote: . . . One last reflection -- I believe there are or used to be some programs written by people no doubt of very good will, distributed with all sources and

Re: python speed

2005-12-01 Thread Cameron Laird
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Isaac Gouy wrote: Which stated Python is doing the heavy lifting with GMPY which is a compiled C program with a Python wrapper - but didn't seem to compare that to GMPY with a Java wrapper? You are missing the main idea: Java is by

  1   2   3   4   5   6   7   >