Reddit broke - should have remained on Lisp?

2006-06-29 Thread Alok
e.jpg Whether they truly repent not using lisp or otherwise, their site appears to be 3 times slower ... Alok -- http://mail.python.org/mailman/listinfo/python-list

Re: Reddit broke - should have remained on Lisp?

2006-06-29 Thread Alok
Luis M. González wrote: > Alok wrote: > > While posting a comment on http://www.reddit.com I got an error page > > with the following curious statement on it. > > > > "reddit broke (sorry)" > > "looks like we shouldn't have stopped using

Re: Reddit broke - should have remained on Lisp?

2006-06-30 Thread Alok
Luis M. González wrote: > Alok wrote: > > I was merely describing my experience and inviting others' response > > about theirs. > > That's exactly what I'm doing. You misinterpret, I was talking about my experience with the site and inviting response from othe

Re: Reddit broke - should have remained on Lisp?

2006-06-30 Thread Alok
Luis M. González wrote: Luis, Thank you very much for you detailed and careful response. I very much appreciate your comments. > Alok wrote: > > Luis M. González wrote: > > > Alok wrote: > > > > I was merely describing my experience and inviting others&

Re: Reddit broke - should have remained on Lisp?

2006-06-30 Thread Alok
Fredrik Lundh wrote: > "Alok" wrote: > > > While posting a comment on http://www.reddit.com I got an error page > > with the following curious statement on it. > > > > "reddit broke (sorry)" > > "looks like we shouldn't have s

Re: Reddit broke - should have remained on Lisp?

2006-07-01 Thread Alok
Fredrik Lundh wrote: > Alok wrote: > > > Their site was more responsive last year. > > http://tinyurl.com/zhary > > Thats an interesting URL my friend. For those of you wondering what the spike in April was due to, check out this one http://www.joelonsoftware.com/items/2

weave and 64 bit issues

2013-05-14 Thread Jadhav, Alok
=2) File "c:\python27\lib\site-packages\scipy\weave\inline_tools.py", line 355, in inline **kw) File "c:\python27\lib\site-packages\scipy\weave\inline_tools.py", line 488, in compile_function exec 'import ' + module_name File "", line 1, i

weave in 64 bit strange behavior

2013-05-14 Thread Jadhav, Alok
ess doesn't end. Had to kill it forcefully. G++ process became ghost even after killing python process. Could someone advise what am I missing here. Is there any specific setup that I need to do? Is there an issue with python 27 64 bit weave implementation? Regards, Alok

Python garbage collector/memory manager behaving strangely

2012-09-16 Thread Jadhav, Alok
anager shows the memory usage as **50 MB** for this process. It looks like the garbage collector or memory manager for Python is not calculating the free memory correctly. There should be lot of free memory but it thinks there is not enough. Any idea? Thanks. Alok Jadhav CREDIT SUIS

RE: Python garbage collector/memory manager behaving strangely

2012-09-16 Thread Jadhav, Alok
ete file was reduced to one third of original time. Regards, Alok -Original Message- From: Dave Angel [mailto:d...@davea.name] Sent: Monday, September 17, 2012 10:13 AM To: Jadhav, Alok Cc: python-list@python.org Subject: Re: Python garbage collector/memory manager behaving strangel

RE: Python garbage collector/memory manager behaving strangely

2012-09-16 Thread Jadhav, Alok
I am thinking of calling a new subprocess which will do the memory hungry job and then release the memory as specified in the link below http://stackoverflow.com/questions/1316767/how-can-i-explicitly-free-mem ory-in-python/1316799#1316799 Regards, Alok -Original Message- From: Dave

RE: Python garbage collector/memory manager behaving strangely

2012-09-17 Thread Jadhav, Alok
garbage collector/memory manager behaving strangely On 09/16/2012 11:25 PM, alex23 wrote: > On Sep 17, 12:32 pm, "Jadhav, Alok" > wrote: >> - As you have seen, the line separator is not '\n' but its '|\n'. >> Sometimes the data itself has '\n

Re: numpy array operation

2013-01-29 Thread Alok Singhal
On Tue, 29 Jan 2013 00:41:54 -0800, C. Ng wrote: > Is there a numpy operation that does the following to the array? > > 1 2 ==> 4 3 > 3 4 2 1 > > Thanks in advance. How about: >>> import numpy as np >>> a = np.array([[1,2],[3,4]]) >>> a array([[1, 2], [3, 4]]) >>> a[::-1, ::-1]

Regarding problem in python 3.8.0 installation

2019-12-08 Thread alok singh
Sir, My system is windows 7 SP1 32-bit . after installing python in my system,when i try to launch it using command prompt then a message is shown. I am attaching a screenshot of the following. kindly look seriously into my problem and tell me the solution.. thank you -- https://mail.python.org/

Hiring Lead Python Programmer for Mozilla-Based Project

2007-05-24 Thread Alok, MetaStart
citing new products, please send us your CV or resume and a letter of interest in technology/programming. Thanks, Alok, MetaStart metastart at gmail.com -- http://mail.python.org/mailman/listinfo/python-list

libxml2 Installation for Python 2.4

2008-05-13 Thread Alok Kumar
Hi, Can someone point me how to install libxml2 for python. It works fine on my Redhat 4.0 linux Box, but when I am trying to run my script on ARM target , it throws import error for libxml2. I am using xpath in my script and in header trying to import libxml2. Thanks in advance. Alok -- http

Struct usages in Python

2008-05-27 Thread Alok Kumar
event[] = Event() *# Seems this is not allowed ?? * Can someone help me how can I use array of Event object in EventTimeFilter class. I planned to fill array of Event object in EventTimeFilter class method. Thanks in advance. Regards Alok -- http://mail.python.org/mailman/listinfo/python-list

multi dimensional dictionary

2008-05-27 Thread Alok Kumar
uot;setTime"] = "12:09:30" mydict[0] ["person"] ["clrTime"] = "22:09:30" Can someone help me with right declaration usages. Your help will be highly appreciated. Regards Alok -- http://mail.python.org/mailman/listinfo/python-list

Re: Struct usages in Python

2008-05-28 Thread Alok Kumar
ent IndexError: list index out of range Any guidance why I am getting *list index out of range error*? index value runs from 1 to 4. Thanks for all your help. Alok On Wed, May 28, 2008 at 1:09 AM, Casey McGinty <[EMAIL PROTECTED]> wrote: > >self.event[] = Event() *# Seems

Re: Struct usages in Python

2008-05-28 Thread Alok Kumar
or make some other type of object that is similar > to events, with maybe some of the same fields, you can still store them in > the list and it will play along with the rest of your code. > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Regards Alok Kumar -- http://mail.python.org/mailman/listinfo/python-list

Re: multi dimensional dictionary

2008-05-28 Thread Alok Kumar
Thanks to all for their kind help and time. Alok On Wed, May 28, 2008 at 4:11 AM, Peter Otten <[EMAIL PROTECTED]> wrote: > Gary Herron wrote: > > > Alok Kumar wrote: > >> Dear All, > >> > >> I am using dictionary for filling my xpath parsed dat

Re: Struct usages in Python

2008-05-28 Thread Alok Kumar
. Regards Alok On Wed, May 28, 2008 at 1:53 PM, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: > Arnaud Delobelle <[EMAIL PROTECTED]> writes: > > > "Alex Gusarov" <[EMAIL PROTECTED]> writes: > > > >>> class Event(object): > >>> >

UTC datetime.fromtimestamp

2008-06-03 Thread Alok Kumar
Dear All, I have UTC datetime as datetime.fromtimestamp(ParseDateTimeUTC("2007-12-06 20:37:05")) How can I add a day into this. Your help will be highly appreciated. Regards Alok -- http://mail.python.org/mailman/listinfo/python-list

ImportError: No module named _md5

2008-07-03 Thread Alok Kumar
I am trying to move from python 2.4 to python 2.5.2. After compiling the python 2.5.2, I found it is throwing "ImportError: No module named _md5". I found this topic on the mailing list, but no solution to fix it. Can someone help me out. It will be highly appreciated. Regards Al

Python HTTPS Bus Error

2008-07-08 Thread Alok Kumar
: python2.5 (1030) PC=0x4058a738 Instr=0xe5902004 Address=0x01* *35 FSR 0x001* *Bus error* Server throws SSL handshake failure error. It will be great if someone can throw any pointers. Regards Alok -- http://mail.python.org/mailman/listinfo/python-list

Basic Question about Python WebServer File handling

2008-07-10 Thread Alok Kumar
Hi, I need to have a python webserver which can handle Get request from the clients and upload the *files* from 4 different directories. Can someone please point me what to exactly look for. Thanks you very much for this great help. Regards Alok Kumar -- http://mail.python.org/mailman/listinfo

XML Parsing

2008-04-01 Thread Alok Kothari
Hello, I am new to XML parsing.Could you kindly tell me whats the problem with the following code: import xml.dom.minidom import xml.parsers.expat document = """LettermanisbetterthanJayLeno""" # 3 handler functions def start_element(name, attrs): print 'Start element:', name, attr

Re: XML Parsing

2008-04-01 Thread Alok Kothari
Thanks ! it worked ! On Wed, Apr 2, 2008 at 1:31 AM, Konstantin Veretennicov < [EMAIL PROTECTED]> wrote: > On Tue, Apr 1, 2008 at 10:42 PM, Alok Kothari <[EMAIL PROTECTED]> > wrote: > > > Hello, > > I am new to XML parsing.Could you kindly tell

HTTP Error code Info

2008-05-02 Thread Alok Kumar
Hi I could get the HTTP error code using try: .. except: .. else: block. Is there any better way to get the HTTP Error code using urllib2 lib. Something like know the exact response number (200, 404 etc) without the above block. Regards Alok Kumar -- http://mail.python.org/mailman/listinfo

State machine Example in Python

2008-05-03 Thread Alok Kumar
Can someone please redirect me for a state machine example or design pattern used in Python. Regards Alok -- http://mail.python.org/mailman/listinfo/python-list

Python Minidom Help

2008-05-05 Thread Alok Kumar
3/site-packages/_xmlplus/dom/expatbuilder.py", line 922, in parse fp = open(file, 'rb') Can anyone please help? Regards Alok Kumar -- http://mail.python.org/mailman/listinfo/python-list

editing video using python

2014-01-02 Thread Alok Singh Mahor
Hello everyone, I want to join 2 or 3 video and want to add effect of fading in and out. I also want to add text strip on the video. I am not able to decide what to adopt for doing this task. I have option of MLT ( http://www.mltframework.org/bin/view/MLT/WebHome ) but I guess its too complex and

web development in python without using any webframework

2013-08-02 Thread Alok Singh Mahor
Hello everyone, few months back I started learning python and now I got nice familiarity. now i want to use python for creating dynamic database driven websites. and I dont want to use existing web frameworks for my work. I am learning things so I wont feel lazy to write all the code myself becaus

django vs zope vs web2py

2013-04-20 Thread Alok Singh Mahor
Hi everyone, few months back I decided to adopt python for my all sort of work including web progra -- http://mail.python.org/mailman/listinfo/python-list

Re: django vs zope vs web2py

2013-04-20 Thread Alok Singh Mahor
I am sorry by mistake I sent incomplete mail here is my mail. Hi everyone, few months back I decided to adopt python for my all sort of work including web programming. and I have wasted long time deciding which to adopt out of django, zope and web2py. I am from php and drupal background. which

Re: django vs zope vs web2py

2013-04-21 Thread Alok Singh Mahor
On Sun, Apr 21, 2013 at 5:49 PM, Modulok wrote: > > Hi everyone, > > few months back I decided to adopt python for my all sort of work > including > > web programming... > > -- > > http://mail.python.org/mailman/listinfo/python-list > > > > Pick Django or web2py. You'll be happy with either. (I h