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
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: 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
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
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.
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
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
[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
> 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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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 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 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: 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
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
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
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
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
> 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
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
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
36 matches
Mail list logo