Re: [BangPypers] Favorite tips/techniques

2013-09-10 Thread Lakshman Prasad
My first random password (until it is replaced with SHA, MD5, bCrypt, whatever): str(random.random())[2:] '742557965797' On Tue, Sep 10, 2013 at 11:34 AM, Vinayak Hegde vinay...@gmail.com wrote: On Tue, Sep 10, 2013 at 10:45 AM, Noufal Ibrahim nou...@nibrahim.net.in wrote: Anand

Re: [BangPypers] folder initialization issues

2013-08-29 Thread Lakshman Prasad
Such a nice explanation, Anand! On Thu, Aug 29, 2013 at 7:07 AM, Anand Chitipothu anandol...@gmail.comwrote: On Thu, Aug 29, 2013 at 6:55 AM, Adivandhya adivand...@yahoo.co.in wrote: hi friends, Im a basic python developer, and i could not understand fully the purpose of adding

Re: [BangPypers] Can two django projects be made to communicate to each other

2010-12-01 Thread Lakshman Prasad
If I understand what you are saying, You have 2 different projects in django, (in different repos) and you don't want to have user logged in, in each site. The *simplest* way to solve this is to configure the django.contrib.auth of both the projects to use the same database. - And yes, it is a

Re: [BangPypers] Can two django projects be made to communicate to each other

2010-12-01 Thread Lakshman Prasad
sethi.anu...@gmail.comwrote: On Wed, Dec 1, 2010 at 5:16 PM, Lakshman Prasad scorpion...@gmail.com wrote: If I understand what you are saying, You have 2 different projects in django, (in different repos) and you don't want to have user logged in, in each site. They are in the same

Re: [BangPypers] Request for session

2010-07-31 Thread Lakshman Prasad
is specifically in my area of expertise. On Fri, Jul 30, 2010 at 11:35 PM, Senthil Kumaran orsent...@gmail.comwrote: On Fri, Jul 30, 2010 at 11:28 PM, Lakshman Prasad scorpion...@gmail.com wrote: I would find a talk on the lines of Data Structures and Algorithms using Python interesting. No body has

[BangPypers] Request for session

2010-07-30 Thread Lakshman Prasad
I would find a talk on the lines of Data Structures and Algorithms using Python interesting. No body has submitted it so far: http://in.pycon.org/2010/talks I am sure there are people on this list that have expertise to do that. I am just planting an idea and encouraging someone to do that! The

Re: [BangPypers] why is round() not working?

2010-02-19 Thread Lakshman Prasad
It is a standard IEEE-754 representation: http://en.wikipedia.org/wiki/IEEE_754. This is the same that is followed by most platforms. In this representation, there are 53 bits available to store the precision; so the closest number to the actual number is represented. The arithmetic of floating

Re: [BangPypers] in CGI using getcwd

2009-11-23 Thread Lakshman Prasad
Yes, os.getcwd() does not give the directory where your code is located, but where the call happens from. Otherwise it would always point to the where python is installed on your system. In order to get the directory of where the code is, you should something like follows: this_file =

Re: [BangPypers] Best Python IDE with compiler

2009-11-12 Thread Lakshman Prasad
I am a happy WingIDE Professional customer. It is simply the best IDE for Python today. Plus it has VI mode, that I like, and a lot of other features, some of it I have described here: http://stackoverflow.com/questions/81584/what-ide-to-use-for-python/495355#495355 On Thu, Nov 12, 2009 at 1:59

Re: [BangPypers] An interesting beginner post at Stackoverflow

2009-10-21 Thread Lakshman Prasad
On a similar note, here's a question I recently asked and obtained good input about tail recursion optimization. http://stackoverflow.com/questions/1414581/python-recursive-program-to-prime-factorize-a-number On Wed, Oct 21, 2009 at 1:14 PM, Sidharth Kuruvila sidharth.kuruv...@gmail.com wrote:

Re: [BangPypers] Responding to people who lack the curiosity

2009-06-13 Thread Lakshman Prasad
This is not the first time someone has questioned, why it is Indians most often caught asking questions without a little basic research. There has been an interesting discussion on this topic on reddit recently.

Re: [BangPypers] Responding to people who lack the curiosity

2009-06-13 Thread Lakshman Prasad
Take TCS, they have 50K java programmers- they can't afford to retrain them. It is not so much the effort involved to retrain in a particular programming language as it is to change the prevelant culture. I am curious to see how they change and adapt, as I am skeptical that the cost difference

Re: [BangPypers] Fwd: [PyCon-Organizers] Global PyCon open space on Sunday

2009-03-28 Thread Lakshman Prasad
You guys are ay Pycon? Wow! On Sat, Mar 28, 2009 at 7:08 AM, Senthil Kumaran orsent...@gmail.comwrote: Baiju / Pradeep, Lets plan to attend this one. -- Senthil -- Forwarded message -- From: A.M. Kuchling a...@amk.ca Date: Fri, Mar 27, 2009 at 7:06 PM Subject:

Re: [BangPypers] PyCon India IRC Dicussion #2

2009-03-13 Thread Lakshman Prasad
Rather than having Irc limit people's availablity at a particular time, could we have discussion on friendfeed? Like the discussion in between emails and irc. And yea, i ve created a bangpypers room on friendfeed. On 3/13/09, Kenneth Gonsalves law...@au-kbc.org wrote: On Friday 13 March 2009

Re: [BangPypers] IRC Logs

2009-03-03 Thread Lakshman Prasad
I created a friendfeed bangpypers room; just in case. The web 2.0 way! http://friendfeed.com/rooms/bangpypers On Tue, Mar 3, 2009 at 10:25 PM, VidA v...@svaksha.com wrote: Hi, Here are the meeting logs : http://wiki.python.org/moin/BangPypers/IRCLogs/2009March03 -- || Vid ||