[Tutor] web app approach

2007-03-28 Thread Rohan Deshpande
Hi everyone, In terms of building a web application, is the preferred method of development to develop the application as a console app and then migrate it to a web app? Also, in my readings people have been saying that python frameworks are numerous and not as useful as they seem, and that

[Tutor] My Python project - an update

2007-03-28 Thread Rohan Deshpande
Out of curiousity, why md5? Hasn't it been cracked already? Would sha1 or 2sum be a better alternative? I'm a newbie to this so it's just a question. -Rohan On 3/23/07, Dave S [EMAIL PROTECTED] wrote: Just to say thank you. Over the last few months I have been asking a lot of dumb

[Tutor] hints on uuencoding?

2007-03-28 Thread James Rocks
OK ... so I got my mail receipt working (thanks Rikard) but one thing I will be downloading is attached TRN files. I can download a mail and subsequently put it in a text file but then I want as easy a way as possible (which may or may not involve uudecoding, there may well be a way to simply

Re: [Tutor] My Python project - an update

2007-03-28 Thread Michael Sparks
On Wednesday 28 March 2007 10:50, Rohan Deshpande wrote: Out of curiousity, why md5?  Hasn't it been cracked already?  Would sha1 or 2sum be a better alternative?  I'm a newbie to this so it's just a question. People have indeed shown vulnerabilities in MD5 for this sort of purpose.

Re: [Tutor] web app approach

2007-03-28 Thread Kent Johnson
Rohan Deshpande wrote: Hi everyone, In terms of building a web application, is the preferred method of development to develop the application as a console app and then migrate it to a web app? That is a good approach but not the only one. I prefer to develop the functional bits of the

Re: [Tutor] hints on uuencoding?

2007-03-28 Thread Kent Johnson
James Rocks wrote: OK ... so I got my mail receipt working (thanks Rikard) but one thing I will be downloading is attached TRN files. I can download a mail and subsequently put it in a text file but then I want as easy a way as possible (which may or may not involve uudecoding, there may

Re: [Tutor] 3 recent short essays by Kent Johnson

2007-03-28 Thread Ted Roche
On 3/26/07, Dick Moores [EMAIL PROTECTED] wrote: Python Decorators, The path module and List Comprehensions. http://personalpages.tds.net/~kent37/kk/index.html Dick Moores If you're in or near New Hampshire, join the Python SIG (http://www.pysig.org) and you might get the change to see Kent

Re: [Tutor] 3 recent short essays by Kent Johnson

2007-03-28 Thread Luke Paireepinart
Ted Roche wrote: On 3/26/07, Dick Moores [EMAIL PROTECTED] wrote: Python Decorators, The path module and List Comprehensions. http://personalpages.tds.net/~kent37/kk/index.html Dick Moores If you're in or near New Hampshire, join the Python SIG (http://www.pysig.org) and you

Re: [Tutor] Filesystem vs Database vs Lucene

2007-03-28 Thread Shitiz Bansal
Thanks Alan for your reply. I however have a few more concerns. Memory is not an option not just because of capacity but also because I desire persistence. Also I feel that 500 MB of data in a dictionary would typically cross 1 Gigin total used memory.That of course will depend on the Hashing

Re: [Tutor] Filesystem vs Database vs Lucene

2007-03-28 Thread Bob Gailer
Shitiz Bansal wrote: I need to implement a system which stores Strings(average length 50 chars). [snip] How much greater than 50? 500, 5000, 50,000, ...? Are these arbitrary text, or do the words come from some predetermined domain? Would you provide some examples? -- Bob Gailer

Re: [Tutor] Filesystem vs Database vs Lucene OOPS

2007-03-28 Thread Bob Gailer
Bob Gailer wrote: Shitiz Bansal wrote: I need to implement a system which stores Strings(average length 50 chars). [snip] I may have read 50 as 50. Please confirm that average length IS 50? Are these arbitrary text, or do the words come

Re: [Tutor] Filesystem vs Database vs Lucene OOPS

2007-03-28 Thread Luke Paireepinart
Bob Gailer wrote: Bob Gailer wrote: Shitiz Bansal wrote: I need to implement a system which stores Strings(average length 50 chars). [snip] I may have read 50 as 50. Please confirm that average length IS 50? I need to implement a system which stores Strings(average

Re: [Tutor] Filesystem vs Database vs Lucene

2007-03-28 Thread John Fouhy
On 29/03/07, Shitiz Bansal [EMAIL PROTECTED] wrote: Shelves seem nice but I would like to be sure on how it is implemented. Would it seek to a particular point in file and load just the desired data in memory or does it unpickle everything and create a fullblown dictionary in memory?...in