Re: Edit Audio Using Python?

2007-06-20 Thread aaronwmail-usenet
On Jun 20, 12:21 pm, Ultrus <[EMAIL PROTECTED]> wrote: > Ah! I found this on the official > website:http://www.python.org/doc/1.5.2p2/lib/module-audioop.html > > That should keep me occupied. If you think of anything interesting > however, I would be happy to know. :) I think you'll find that you

Re: searching algorithm

2007-05-12 Thread aaronwmail-usenet
On May 10, 1:26 pm, Gigs_ <[EMAIL PROTECTED]> wrote: > Hi all! > > I have text file (english-croatian dictionary) with words in it in > alphabetical > order. > This file contains 17 words in this format: > english word: croatian word Let's assume it's okay to have all the data in memory. In m

Re: SkimpyGimpy PNG canvas w/ Javascript mouse tracking

2007-05-07 Thread aaronwmail-usenet
re: http://skimpygimpy.sourceforge.net On May 7, 7:29 pm, James Stroud <[EMAIL PROTECTED]> asks: > Can you advertise "CAPTCHA" as it is trademarked by Carnegie Mellon? > > James I can easily forward them a generous portion of my earnings from this project if needed :). Actually I think the term

SkimpyGimpy PNG canvas w/ Javascript mouse tracking

2007-05-07 Thread aaronwmail-usenet
ANN: SkimpyGimpy PNG canvas has Javascript mouse tracking The SkimpyGimpy PNG image canvas now can generate Javascript data structures which allow HTML pages to intelligently respond to mouse events over the image. Please read about the SkimpyGimpy Canvas and look at the mouse tracking example he

ANN: PNG image CAPTCHA with PNG canvas available (SkimpyGimpy)

2007-04-18 Thread aaronwmail-usenet
Announcing SkimpyGimpy Support for PNG image CAPTCHA generation and PNG canvases. You can now use SkimpyGimpy to generate CAPTCHA text representations as PNG image files in addition to preformatted text ASCII art, and WAVE format audio streams, either from command lines or within Python programs.

ANN: Skimpy CAPTCHA adds WAVE audio, and a problem

2006-12-27 Thread aaronwmail-usenet
SKIMPY CAPTCHA ADDS AUDIO, AND A PROBLEM [or what I did over xmas weekend at the inlaws -- python/web/audio experts skip to the bottom and solve my problem please.] Skimpy Gimpy CAPTCHA now supports WAVE audio output to help people with visual impairments answer Skimpy challenges. Read more, try

ANN: Skimpy Gimpy ASCII Web Challenge CAPTCHA

2006-12-18 Thread aaronwmail-usenet
Please check it out and try it: http://skimpygimpy.sourceforge.net/ Find examples, documentation, links to demos and download links there. Skimpy Gimpy is a tool for generating HTML representations for strings which people can read but which web robots and other computer programs will have di

Re: Gadfly server startup error

2006-10-02 Thread aaronwmail-usenet
[EMAIL PROTECTED] wrote: > > Is anybody out there who has used the server+client operation > > mode successfully? > > Well, several years ago, yes. I looked into it and it was mainly a documentation and test issue, I think. The code seems to work. Please go http://gadfly.sourceforge.net/gadf

Re: Gadfly server startup error

2006-10-02 Thread aaronwmail-usenet
> Is anybody out there who has used the server+client operation > mode successfully? Well, several years ago, yes. Since then the project was taken over by some volunteers and they did an excellent job of restructuring and modernizing (somewhat) the *standalone* part of gadfly, but apparently the

Re: Need a compelling argument to use Django instead of Rails

2006-08-18 Thread aaronwmail-usenet
Damjan wrote:> > Starting a new Apache process with python included (trough mod_python) is > even worse than CGI. Yes, but I think only for the first interaction after being dormant for a period. In fact I've noticed that hitting http://www.xfeedme.com the first time is usually slow. But once th

Re: Need a compelling argument to use Django instead of Rails

2006-08-07 Thread aaronwmail-usenet
Damjan wrote: > Yes, but your mod_python programs still run with the privileges of the > Apache process, as are all the other mod_python programs. This means that > my mod_python program can (at least) read files belonging to you - > including your config file holding your database password I

Re: Need a compelling argument to use Django instead of Rails

2006-08-04 Thread aaronwmail-usenet
Ben Sizer wrote: > [EMAIL PROTECTED] wrote: > > Paul Rubin wrote: > > > A typical shared hosting place might > > > support 1000's of users with ONE apache/php instance (running in a > > > whole bunch of threads or processes, to be sure). > > > > You just need to run multiple apache > > instances, w

Re: Need a compelling argument to use Django instead of Rails

2006-08-03 Thread aaronwmail-usenet
Paul Rubin wrote: > I didn't realize you could do shared hosting with mod_python, because > of the lack of security barriers between Python objects (i.e. someone > else's application could reach into yours). You really need a > separate interpreter per user. A typical shared hosting place might

Re: Need a compelling argument to use Django instead of Rails

2006-07-26 Thread aaronwmail-usenet
Jaroslaw Zabiello wrote: > On Wed, 26 Jul 2006 16:25:48 +0200, Bruno Desthuilliers wrote: > > > I have difficulty imagining how a language could be more dynamic than > > Python... > > E.g. try to extends or redefine builtin Python classes on fly. Ruby is so > flexible that it can be used to create

Re: Need a compelling argument to use Django instead of Rails

2006-07-24 Thread aaronwmail-usenet
Steve Holden wrote: ... > I wouldn't waste your time. "A man convinced against his will is of the > same opinion still", and they already know they aren't interested in > Python. There are probably many other matters about which they are > uninformed and equally determined This is too true. F

Re: sum fonction in gadfly

2006-06-30 Thread aaronwmail-usenet
Robert Hicks wrote: > [EMAIL PROTECTED] wrote: > > why are people so concerned > > that it's not changing? > > > > I didn't mean to be irritating and I wasn't concerned about it not > changing but I could probably have stated the question a little better. > For some reason I thought it was a

Re: sum fonction in gadfly

2006-06-29 Thread aaronwmail-usenet
Robert Hicks wrote: > I haven't been keeping up. Is Gadfly still in development? I always find this question a little irritating -- gadfly is perfect the way it is :). If it ain't broke don't fix it. At least until the python guys make another non-backwards-compatible change that makes a patch

Re: Python's DSLs (was: A critic of Guido's blog on Python's lambda)

2006-05-10 Thread aaronwmail-usenet
Cameron Laird wrote: > In article <[EMAIL PROTECTED]>, > Alex Martelli <[EMAIL PROTECTED]> wrote: ... . > >Of course, the choice of Python does mean that, when we really truly > >need a "domain specific little language", we have to implement it as a > >language in its own right,

Re: set partitioning

2006-05-01 Thread aaronwmail-usenet
Something like this, or am I missing something? def partition(List, n, m, k): if n!=m*k: raise "sorry, too many or too few elts" D = {} for x in List: D[x] = 1 if len(D)!=n: raise "sorry (2) you lied about the number" List2 = D.keys() resul

Re: Tried Ruby (or, "what Python *really* needs" or "perldoc!")

2006-03-14 Thread aaronwmail-usenet
hmmm. Interesting about the wiki. It's unusable in my version of IE. Javascript error on almost every keystroke :(! http://wiki.python.org/moin/ It works in Firefox, which I have, of course, but still... And the patch procedure you described requires a higher degree of motivation (and free tim

Re: Tried Ruby (or, "what Python *really* needs" or "perldoc!")

2006-03-14 Thread aaronwmail-usenet
I agree that more progress is needed on the Python documentation front. For example if you look at the "codecs" module documentation there is no hint of what a codec is anywhere that I can see. Also the distinction between an "encoder" and a "decoder" is not explained. Even though I've used it man

Re: recycling internationalized garbage

2006-03-14 Thread aaronwmail-usenet
Regarding cleaning of mixed string encodings in the discography search engine http://www.xfeedme.com/discs/discography.html Following 's suggestion I came up with this: utf8enc = codecs.getencoder("utf8") utf8dec = codecs.getdecoder("utf8") iso88591dec = codecs.getdecoder("iso-8859-1") def chec

recycling internationalized garbage

2006-03-08 Thread aaronwmail-usenet
Hi folks, Please help me with international string issues: I put together an AJAX discography search engine http://www.xfeedme.com/discs/discography.html using data from the FreeDB music database http://www.freedb.org/ Unfortunately FreeDB has a lot of junk in it, including randomly mixed char

AJAX example code available

2006-02-05 Thread aaronwmail-usenet
I've published sample code that uses Python on the server side to implement AJAX type ahead completion for web forms. Please see documentation with links to examples and downloads at http://xsdb.sourceforge.net/xFeed.html "Type ahead completion" is a form of AJAX (asyncronous javascript with XM

ANNOUNCE: xsdb release with N/A support and more

2005-04-01 Thread aaronwmail-usenet
The new xsdbXML_cs_java_py_01 release adds a "not applicable" attribute restriction and completes the same/ifknown/otherwise implementations as well as some bugfixes including a fix for a performance bug in the java implementation. The xsdb framework provides a flexible and well defined infrastruc

Re: ANN: xsdbXML python release with C#/.NET port

2005-03-02 Thread aaronwmail-usenet
Yikes... A couple people pointed out that the upload had no csharp code. That was because sourceforge was uploading the wrong file (but reporting the right filesize). I think it's fixed now (uploaded from paris and minnesota). Sorry!!! --- Aaron Watters -- http://mail.python.org/mailman/l

ANN: xsdbXML python release with C#/.NET port

2005-03-01 Thread aaronwmail-usenet
ANN: xsdbXML release with C#/.NET port Part I: Announcement There is a new release of xsdbXML which provides bugfixes to the Python implementation and also provides a completely separate implementation in C#/.NET. The xsdb framework provides a flexible and well defined infras

Re: On benchmarks, heaps, priority queues

2005-01-27 Thread aaronwmail-usenet
re http://xsdb.sourceforge.net/bench/pq3.py Tim Peters: > If you repair that, and > instrument mixBench() to keep track of queue size statistics, you'll > find that even at 100, the queue at the top of the loop never > exceeds 30 entries, and has a mean size less than 3. Aha. Now that is emb

Re: On benchmarks, heaps, priority queues

2005-01-27 Thread aaronwmail-usenet
(re: http://xsdb.sourceforge.net/bench/pq3.py) nsz> ...bisect is not so fast for large data... Yes I know in theory the insertion sort approach should be bad for large enough values, but the weird thing is that if you mix inserts and deletes (with enough deletes) even 1M elements is not a large

Re: On benchmarks, heaps, priority queues

2005-01-27 Thread aaronwmail-usenet
me> PQPython23 - the Lib implementation me> PQ0 - my insertion sort based variant me> PQueue - my "heap" based variant me> (like PQPython23, but different). Tim D: > First of all, you should be running these benchmarks using Python 2.4. > heapq is considerably faster there ... (Raymond Hettinger

On benchmarks, heaps, priority queues

2005-01-26 Thread aaronwmail-usenet
I've been wondering about benchmarks recently. What is a fair benchmark? How should benchmarks be vetted or judged? I decided to see what you folks thought, so for discussion I compared two priority queue implementations I published for Python in 1995 against the "heap" priority queue implementa

Re: OT: google groups bug, or worse?

2005-01-08 Thread aaronwmail-usenet
Bengt Richter wrote: > What did you google with? Is this it? > http://groups-beta.google.com/groups?hl=en&ie=UTF-8&q=%22The+xsdbXML+framework+provides+a+flexible+and+well+defined+infrastructure%22&qt_s=Search+Groups That was my *reply* to one of the original posts using Google, which I faked up w

OT: google groups bug, or worse?

2005-01-07 Thread aaronwmail-usenet
I'm concerned that google groups is not correctly reflecting the python lists. A month ago I announced the xsdbXML framework to the python list and the python-announce list. As you can see from the links below the python announce submission was approved by the moderators (thanks!) and the python

Re: mathmatical expressions evaluation

2004-12-22 Thread aaronwmail-usenet
> have a task of evaluating a complex series (sorta) of mathematical > expressions and getting an answer ... If we assume that you are looking for functionality and speed is secondary, please have a look at the technique in http://cvs.sourceforge.net/viewcvs.py/xsdb/xsdbXML/xsdbXMLpy/functions.p

RE: xsdb does XML, SQL is dead as disco :) (oops)

2004-12-14 Thread aaronwmail-usenet
Some people pointed out that bighunks of my HUGE ZIP file contained junk that could be regenerated. Thanks! It's now much smaller. Sorry for the screw up. -- Aaron Watters I wrote: > xsdb does XML, SQL is dead as disco :) > >The xsdbXML framework provides a >flexible and well defined infrastru

ANN: xsdb does XML, SQL is dead as disco :)

2004-12-11 Thread aaronwmail-usenet
  The xsdbXML framework provides a flexible and well defined infrastructure to allow tabular data to be published, retrieved, and combined over the Internet. It's a little bit like the daughter of the Gadfly SQL engine in the buff, on steroids.  This is a major departure from the previous releases