Re: Just finished reading of "What’s New In Python 3.0"

2011-03-10 Thread Grigory Javadyan
> Moreover I'm often able to keep in mind 2 (or more) opposite ideas or > opinions of mine. > """ To know and not to know, to be conscious of complete truthfulness while telling carefully constructed lies, to hold simultaneously two opinions which cancelled out, knowing them to be contradictory an

Re: ImSim: Image Similarity

2011-03-07 Thread Grigory Javadyan
Just admit that your algorithm doesn't work that well already :-) Or give a solid formal definition of "similarity" and prove that your algo works with that definition. On Mon, Mar 7, 2011 at 4:22 PM, n00m wrote: > > In short, > the notion of similarity can be speculated about just endlessly. > -

Re: ImSim: Image Similarity

2011-03-05 Thread Grigory Javadyan
At least you could've tried to make the script more usable by adding the possibility to supply command line arguments, instead of editing the source every time you want to compare a couple of images. On Sat, Mar 5, 2011 at 11:23 AM, n00m wrote: > Let me present my newborn project (in Python) ImSi

Re: I'm happy with Python 2.5

2011-02-27 Thread Grigory Javadyan
what the hell does that have to do with anything On Sun, Feb 27, 2011 at 5:34 PM, n00m wrote: > Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit > (Intel)] on win32 > > and Idon't move neither up nor down from it (the best & the fastest > version) > -- > http://mail.python.org/mai

Re: Python fails on math

2011-02-22 Thread Grigory Javadyan
-- Forwarded message -- From: Grigory Javadyan Date: Tue, Feb 22, 2011 at 5:32 PM Subject: Re: Python fails on math To: christian schulze Everybody knows you can't just compare floating point values for equality with a simple ==. Instead, check that the difference between

Fwd: Python 2 or 3 ? with Django , My SQL and YUI

2011-02-22 Thread Grigory Javadyan
-- Forwarded message -- From: Grigory Javadyan Date: Tue, Feb 22, 2011 at 12:01 PM Subject: Re: Python 2 or 3 ? with Django , My SQL and YUI To: Sumit Python 2 only. See http://docs.djangoproject.com/en/dev/faq/install/#can-i-use-django-with-python-3 On Tue, Feb 22, 2011 at 9

Re: SQLite server using execnet ?

2011-02-20 Thread Grigory Javadyan
Are you sure you'll still be able to guarantee the ACID'ity of transactions? What about performance? Also, what kind of load are you expecting? I believe this will choke under too much simultaneous queries. On Mon, Feb 21, 2011 at 4:55 AM, Stef Mientki wrote: > hello, > > knowing that SQllite is

Unbinding a name referenced by an enclosing scope

2011-02-20 Thread Grigory Javadyan
>From the Python Language Reference (v 3.1): > It is illegal to unbind a name referenced by an enclosing scope; the compiler > will report a SyntaxError. But when I run the following code: a = 3 def x(): global a del(a) print(a) x() it works fine; and when I change the order of calls: x(