Re: [BangPypers] how to learn programming

2009-01-24 Thread Roshan Mathews
On Sat, Jan 24, 2009 at 7:12 PM, Kenneth Gonsalves wrote: > what is the difference between a programmer and a person who writes code? Is > there a difference? I was told that learning to write code can be done in a > few weeks, but to become a programmer will take at least 10 years. I was also > t

Re: [BangPypers] how to learn programming

2009-01-24 Thread Roshan Mathews
On Sun, Jan 25, 2009 at 2:56 AM, Sridhar Ratnakumar wrote: > On Sat, Jan 24, 2009 at 7:46 AM, Roshan Mathews wrote: >> The 'knowing the rules' vs. 'being proficient' argument is >> also made in SICP >> <http://mitpress.mit.edu/sicp/full-text/book/boo

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Roshan Mathews
On Tue, Feb 10, 2009 at 6:39 PM, Anand Balachandran Pillai wrote: > On Tue, Feb 10, 2009 at 6:38 PM, Anand Balachandran Pillai > wrote: > import __phello__ >> Hello world... > > Apparently, happens only the first time you import it ;) > >>> import __phello__ Hello world... >>> reload(__phell

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Roshan Mathews
On Tue, Feb 10, 2009 at 7:07 PM, Anand Balachandran Pillai wrote: >>>> import this >... >>>> love = this >>>> this is love >True >>>> love is True >False >>>> love is False >False >>>> love is not True or False >True >>>> love is not True or False; l

Re: [BangPypers] PyCon India Proposal

2009-02-28 Thread Roshan Mathews
On Sat, Feb 28, 2009 at 3:14 PM, VidA wrote: > Hi, > Maybe we should stick to the Wiki for the discussion with maybe weekly reminders here that the discussion is going on there. :) ~Roshan ___ BangPypers mailing list BangPypers@python.org http://mail.py

Re: [BangPypers] PyCon India IRC Discussion

2009-02-28 Thread Roshan Mathews
On Sun, Mar 1, 2009 at 1:20 AM, Ramakrishna Reddy wrote: > Which day is convenient  for al the folks. > o Tuesday , 3rd march 4:30 PM > o Tuesday, 3rd March,  9:00 PM > Either choice is good. ~Roshan ___ BangPypers mailing list BangPypers@python.org htt

Re: [BangPypers] Classmethod, Decorators and staticmethod

2009-03-05 Thread Roshan Mathews
On Fri, Mar 6, 2009 at 9:41 AM, Venkatraman S wrote: > On Fri, Mar 6, 2009 at 9:29 AM, Anand Balachandran Pillai > wrote: >> On Thu, Mar 5, 2009 at 6:33 PM, Kenneth Gonsalves >> wrote: >> > On Thursday 05 March 2009 18:29:20 VIJAY KUMAR wrote: >> > I charge 6500 a day for training - please conta

Re: [BangPypers] Classmethod, Decorators and staticmethod

2009-03-05 Thread Roshan Mathews
On Fri, Mar 6, 2009 at 9:48 AM, Venkatraman S wrote: > Damn! dont you know that *real* world is made ONLY of 'objects' :P > :) No, but I was serious about wanting to know about the course. ~roshan ___ BangPypers mailing list BangPypers@python.org http:

Re: [BangPypers] Next IRC meeting

2009-03-10 Thread Roshan Mathews
On Wed, Mar 11, 2009 at 4:25 AM, Kenneth Gonsalves wrote: > https://svn.nrcfosshelpline.in/public/conference/branches/conference1/ > https://svn.nrcfosshelpline.in/public/conference/branches/conference1.x/ ~Roshan ___ BangPypers mailing list BangPypers

Re: [BangPypers] Next IRC meeting

2009-03-11 Thread Roshan Mathews
On Wed, Mar 11, 2009 at 11:17 AM, Noufal Ibrahim wrote: > So, is Thursday night 9:00 pm fine with everyone? > Fine with me. ~Roshan ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Advanced Python or Understanding Python

2009-04-01 Thread Roshan Mathews
Since everyone seems to be mailing in today. http://video.google.com/videoplay?docid=7760178035196894549 By one of the people behind Unladen Swallow incidentally. What's with that name, btw? Quite the mouthful, hard to swallow, so to speak. Regards, Roshan Ma

Re: [BangPypers] Guido steps down

2009-04-01 Thread Roshan Mathews
On Wed, Apr 1, 2009 at 12:25 PM, Anand Balachandran Pillai wrote: > 2009/4/1 Venkatraman S : >> >> >> On Wed, Apr 1, 2009 at 12:08 PM, Indrajith K wrote: >>> >>> http://www.python.org/dev/peps/pep-0401/ >>> >>> Not sure, if this is a April fool joke! > > Come on, the name of the PEP itself should

Re: [BangPypers] Advanced Python or Understanding Python

2009-04-01 Thread Roshan Mathews
On Wed, Apr 1, 2009 at 12:30 PM, Anand Balachandran Pillai wrote: > On Wed, Apr 1, 2009 at 12:26 PM, Roshan Mathews wrote: >> Since everyone seems to be mailing in today. >> >> http://video.google.com/videoplay?docid=7760178035196894549 >> >> By one of

[BangPypers] PyCon at blip.tv

2009-04-04 Thread Roshan Mathews
http://pycon.blip.tv/ FYI. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Interesting historical relation between python & distributed OS

2009-04-10 Thread Roshan Mathews
On Fri, Apr 10, 2009 at 2:04 PM, Venkatraman S wrote: > On Fri, Apr 10, 2009 at 1:09 PM, Pushparajan V wrote: >> Guess what ??.. already some set of people are getting involved into DS >> with python to overtake java.. but always survival of the fittest and the >> easiest.. :) > > Try watching/he

Re: [BangPypers] What's the latest with Pycon India?

2009-04-20 Thread Roshan Mathews
On Mon, Apr 20, 2009 at 5:06 PM, Vivek Khurana wrote: >  +1 for VOIP. I stay in Delhi and been closely following the thread but F2F > is not possible for me. > Same here. I'm shuttling between Chennai and Bangalore, so can't commit to a F2F meeting, although I do concede that it will be good to

Re: [BangPypers] Zine for weblogging

2009-04-23 Thread Roshan Mathews
Nice writeup, thank you. Roshan On Fri, Apr 24, 2009 at 10:58 AM, Kiran Jonnalagadda wrote: > While seeking a weblog app to replace my ageing Plone+Quills installation, I > came across Zine, a Python-based WordPress clone. http://zine.pocoo.org/ > ___

Re: [BangPypers] CPython's 'bignum' Implementation

2009-05-15 Thread Roshan Mathews
On Fri, May 15, 2009 at 5:12 PM, Venkatraman S wrote: > On Fri, May 15, 2009 at 5:09 PM, Amit Saha wrote: >> http://www.python.org/dev/peps/pep-0237/. However, if any of you folks >> know something concrete, I would appreciate it. > > Try searching in c.l.p - i think, have read abt this in there.

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

2009-06-12 Thread Roshan Mathews
On Fri, Jun 12, 2009 at 12:13 PM, Sriram Narayanan wrote: > I've concluded that a vast number of our developers are actually > incompetent, and also clueless on how to self-study and to conduct a > search. Perhaps our education system has conditioned their minds to > mug up and to read various stud

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

2009-06-13 Thread Roshan Mathews
On Sat, Jun 13, 2009 at 4:07 PM, Kiran Jonnalagadda wrote: > I will add my little theory to this discussion. > Hahahaha :D Nice writeup. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Good Python training in blr

2009-06-15 Thread Roshan Mathews
On Tue, Jun 16, 2009 at 10:27 AM, Dhananjay Nene wrote: > I respect your calibre in training yourself. But cannot respect every > organisation has the same luxury of waiting for programmers to train > themselves so that they can eventually start using python. I trained > myself in C and even parts

Re: [BangPypers] Performance benefits of Generators?

2009-07-01 Thread Roshan Mathews
On Tue, Jun 30, 2009 at 3:37 PM, Amit Saha wrote: > Since, this is out of mere curiosity, for the moment, performance > would be simply the time taken to complete a task. > Please look at: http://bitbucket.org/rm/substitutions/src/tip/prunepropogate.py#cl-86 This change (in explode) speeded up the

Re: [BangPypers] Performance benefits of Generators?

2009-07-01 Thread Roshan Mathews
ntial-reference/8131700445-tu23fqcqab wonder how long it will take for the indian version of the 4th edition to hit the markets. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Detailed talk on the GIL

2009-07-26 Thread Roshan Mathews
On Sun, Jul 26, 2009 at 3:49 PM, Noufal Ibrahim wrote: >  I mentioned this during the user group meeting yesterday. It's a > talk describing the issues with the GIL in detail. >  http://blip.tv/file/2232410 > Here are the slides: http://www.dabeaz.com/python/GIL.pdf What are the odds, I just downl

Re: [BangPypers] Detailed talk on the GIL

2009-07-26 Thread Roshan Mathews
On Sun, Jul 26, 2009 at 6:31 PM, S.Ramaswamy wrote: >> What are the odds, I just downloaded this for later viewing yesterday. :) >> > Weird, I viewed the video a bit today morning. > "memes" I think these are called. :) Roshan ___ BangPypers mailing lis

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Roshan Mathews
On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M S wrote: > A small typo there Where? > super(UID,self).Wind(7)  is super(ClassI,self).Wind(7) > Well google's is doing definitely a strong attempt here. I guess it's > metaprogramming than metaclassing. "here"? "it's"? What are you talking about? >

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Roshan Mathews
I think I just fell down the rabbit hole. On Wed, Jul 29, 2009 at 10:17 PM, Noufal Ibrahim wrote: > On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M S wrote: >> A small typo there > > But an important one. > >> super(UID,self).Wind(7)  is super(ClassI,self).Wind(7) >> Well google's is doing definitely

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Roshan Mathews
On Thu, Jul 30, 2009 at 1:43 AM, Baishampayan Ghose wrote: >> I think I just fell down the rabbit hole. > > I think BangPypers just got its own John Harrop. > Jon, I think you mean (although there is a John Harrop in the Clojure community), in which case I'm guessing you're trying hard to say I'm t

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Roshan Mathews
On Thu, Jul 30, 2009 at 9:31 AM, Baishampayan Ghose wrote: > I didn't call _you_ Jo[h]n Harrop, man :) I called the OP a troll > because his question is pretty much meaningless and is causing > unnecessary irritation. > > May be it was because of the way I quoted the mail. Sorry for the confusion

Re: [BangPypers] a dynamic status display thing...

2009-08-20 Thread Roshan Mathews
On Thu, Aug 20, 2009 at 6:56 PM, Vishal wrote: > http://en.wikipedia.org/wiki/Quicksort > There is a GIF file in this webpage that shows how the workings of > QuickSort. > We wish to do this for a process that goes on in runtime. Basically its a > status display thing. > This doesn't answer your q

Re: [BangPypers] link

2009-09-03 Thread Roshan Mathews
On Fri, Sep 4, 2009 at 7:33 AM, srid wrote: > I too use print statements almost all the time. Even for debugging > CPython code. I guess it is due to my own laziness. Putting `print` or > `LOG.debug` is much easier/quicker compared to firing up a debugging > console (and remembering how to use it).

Re: [BangPypers] link

2009-09-04 Thread Roshan Mathews
On Fri, Sep 4, 2009 at 11:54 AM, Noufal Ibrahim wrote: > On Fri, Sep 4, 2009 at 11:44 AM, srid wrote: >> On Thu, Sep 3, 2009 at 8:09 PM, Roshan Mathews wrote: >>> I recently read of an IDE for python which >>> code-stepping and a fancy debugger.  Don't reme

Re: [BangPypers] Fwd: [Baypiggies] A reminder: Why to type slowly when going to python.org

2009-09-06 Thread Roshan Mathews
On Mon, Sep 7, 2009 at 11:09 AM, Venkatraman S wrote: > http://pythong.org/ > :D There's also the NSFW http://python.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Python Coding Standards

2009-09-13 Thread Roshan Mathews
On Sun, Sep 13, 2009 at 2:46 PM, Karthik wrote: > Hello Friends, Can anybody please let me know if there are any coding > standards for python coding? Thanks. > http://google-styleguide.googlecode.com/svn/trunk/pyguide.html ___ BangPypers mailing list Ba

Re: [BangPypers] Python at Schools

2009-09-30 Thread Roshan Mathews
On Sun, Sep 27, 2009 at 7:59 AM, Abhishek Mishra wrote: > I've heard about how kids in European countries begin with Python. > Let's compare that to India, I started with GW-BASIC, which is a very > good language to begin with. But don't you think it has become pretty > old, and is hardly readily

Re: [BangPypers] Python at Schools

2009-09-30 Thread Roshan Mathews
ences between CS1-Python and CS1-C++ were found." > >  "CS1-Python was a far better terminal course for non-majors than CS1-C++" > Interesting! This is why I like this list, there are always people throwing in cool new reads. :) Roshan Mathews

Re: [BangPypers] Pickle multiple objects

2009-10-07 Thread Roshan Mathews
On Wed, Oct 7, 2009 at 1:23 PM, Roshan Mathews wrote: > On Wed, Oct 7, 2009 at 1:14 PM, Aneesh A wrote: >> I have to store high scores, so i pickled a list . after pickling, in append >> mode, load method loads only first object. >> How to retrieve multiple objects??

Re: [BangPypers] Pickle multiple objects

2009-10-07 Thread Roshan Mathews
range(10) ] print list pickle.dump(list, file('dump', 'wb'), -1) list = pickle.load(file('dump', 'rb')) print list Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] array in python

2009-10-08 Thread Roshan Mathews
On Thu, Oct 8, 2009 at 6:15 AM, harshal jadhav wrote: > I am using python language for GNU Radio. For this i have a sampled signal. > The signal is a sine wave. I have to trap each sample of this sine wave in > an array. > Is it possible to capture the samples of the sine wave in  an array in > py

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-11 Thread Roshan Mathews
language, > whereas >  PHP was built from the ground up for the web. > FWIW, the comparison is between Python for web applications and PHP. :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] New to python - neuron ring

2009-10-12 Thread Roshan Mathews
on 3.0, so you should take this with a pinch of salt. Python 2.6 is going to be around for a while, so if you're looking for employment opportunities maybe that makes more sense. http://diveintopython.org/ in that case. Roshan Mathews ___ BangPypers mail

Re: [BangPypers] Perl or Python ?

2009-10-12 Thread Roshan Mathews
On Mon, Oct 12, 2009 at 2:09 PM, Gopinath R wrote: > i should go for PERL or PYTHON. Which one is powerful and will give you more > job opportunities? > http://www.slideshare.net/Tim.Bunce/perl-myths-200909 seems to suggest that there are more Perl jobs. But then I haven't seen many myself. Rosh

Re: [BangPypers] Python performance inprovements with GCC 4.4...any details

2009-10-13 Thread Roshan Mathews
rmance query... > Speed matters. To programmers. So there's no need for the legal disclaimers. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Perl or Python ?

2009-10-13 Thread Roshan Mathews
On Tue, Oct 13, 2009 at 6:59 PM, kunalkant sen wrote: > Python may not give you more job opportunity, but it will give you one of > the best job opportunity. > Why do you say that? Curious, that's all. :) Roshan Mathews ___ BangPyper

Re: [BangPypers] Perl or Python ?

2009-10-13 Thread Roshan Mathews
on the local LUG list some back, all it did was call a module function, but it left me curious about the @#$language. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Perl or Python ?

2009-10-13 Thread Roshan Mathews
fort to promote/push Perl. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
extensively. Examples include Amazon.com, bbc.co.uk, Booking.com [23] (Priceline.com), Craigslist, IMDb [24], LiveJournal, Slashdot, Ticketmaster and Zappos.com. -- http://en.wikipedia.org/wiki/Perl If you're asking that is. Roshan Mathews ___ B

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
On Wed, Oct 14, 2009 at 1:03 PM, Baiju M wrote: > Koha (http://www.koha.org) is great web application written in Perl. > Looks interesting. It's weird since someone just asked for library management software on the Chennai LUG list. Ros

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
projects. > Oh, cool. Maybe you should talk on Perl, at one of the ChennaiPy meets when the PyCon discussions are over. If you are interested, and there are others who would want to attend one. Roshan Mathews ___ BangPypers mailing list BangPypers@pyt

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
Generalizations are always harmful. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
On Wed, Oct 14, 2009 at 3:43 PM, Kenneth Gonsalves wrote: > On Wednesday 14 Oct 2009 3:04:10 pm Roshan Mathews wrote: >> On Wed, Oct 14, 2009 at 3:01 PM, Anand Balachandran Pillai >> >> wrote: >> > On Wed, Oct 14, 2009 at 2:52 PM, Baiju M wrote: >> >&

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
On Wed, Oct 14, 2009 at 4:01 PM, Kenneth Gonsalves wrote: > On Wednesday 14 Oct 2009 3:52:05 pm Roshan Mathews wrote: >> The point still stands though. > > it doesn't - and you haven't even spelt it properly > It might be a good idea to back away from the keyboard

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
mailing lists and IRC > Forums like say, http://stackoverflow.com/ ? Real programmers like say, Alex Martelli ? http://stackoverflow.com/users/95810/alex-martelli Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Suggest me a book

2009-10-15 Thread Roshan Mathews
other books of such kind? > http://www.diveintopython.org/ http://www.diveintopython3.org/ HTH :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Suggest me a book

2009-10-15 Thread Roshan Mathews
Thanks for the link Vinayak, the blog entries had got bookmarked and lost in del.icio.us long ago. Have you read both LS and SS? Where did you get them? I borrowed LS from my brother some time back, but have been stuck at the place they introduce the Y combinator. How is SS? Roshan Mathews ___

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
On Thu, Oct 15, 2009 at 7:10 PM, shameek ghosh wrote: > ... [:)] > > ... [:P]... > ... [:)] > ... [:)] > Orkut overdose? :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
ations are a lil offensive. But then free speech and all. :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Introducing the Y Combinator(Not the company)

2009-10-15 Thread Roshan Mathews
On Thu, Oct 15, 2009 at 9:28 PM, Sidharth Kuruvila wrote: > AKA The Y Combinator in python. This is in response to Roshan Mathews' > post that he got stuck with the Y Combinator. > Thanks, Sidharth, that was very interesting. Can't say that it has settled into my head, bu

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
l factors causing airline accidents. But then others[1] disagree, as with most social arguments it's hard to come to any conclusion. Makes interesting reading all the same. :) Roshan Mathews [1] http://www.salon.com/tech/col/smith/2008/12/05/askthepilot301/

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
void antediluvian joke ... must* Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
cifically what it was, but I remember thinking that he wasn't exactly wrong but he wasn't exactly right either. To have that pilot say the same thing about Gladwell's views on aviation brings home the same point. But then it is pop-non-fiction so you c

Re: [BangPypers] An interesting beginner post at Stackoverflow

2009-10-20 Thread Roshan Mathews
osts on Sunday. :-S Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] An interesting beginner post at Stackoverflow

2009-10-20 Thread Roshan Mathews
put some complex > expression in there expecting it to evaluate only if the key is > missing. > Oh, alright. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] An interesting beginner post at Stackoverflow

2009-10-20 Thread Roshan Mathews
quot;hello") > 600320 >>>> id("hello") > 600320 > Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] An interesting beginner post at Stackoverflow

2009-10-21 Thread Roshan Mathews
27;) 30792544 >>> id('superman') 30792544 >>> id('superman') 30792544 >>> id('super man') 31955768 >>> id('super man') 31955488 >>> id('super man') 31956768 >>> id('super man') 319

Re: [BangPypers] 2-cent Tip: Load modules at Startup

2009-10-22 Thread Roshan Mathews
p://norvig.com/python-iaq.html Do let on if you find anything else particularly useful. :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] How to search a word list very fast

2009-10-29 Thread Roshan Mathews
On Fri, Oct 30, 2009 at 11:37 AM, Amit Sethi wrote: > I am trying to develop a sort of keyword generator for blog posts much like > the Yahoo Keyword service . As an initial idea I am using the list of most > used 3000 words in project Gutenberg as being redundant . My question is > what is the be

[BangPypers] [OT][x-POST] New programming language: Go

2009-11-10 Thread Roshan Mathews
Just picked this off the news: http://google-opensource.blogspot.com/2009/11/hey-ho-lets-go.html There's a youtube techtalk vid too. Opinions? -- Roshan Mathews http://teamtalk.im ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
or systems programming. There are already two mails about Go on this list. [1] http://www.youtube.com/watch?v=wwoWei-GAPo -- Roshan Mathews http://teamtalk.im ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
ny >  correlation with a language being compiled and its security! > >  Pretty shoddy marketing this... > The Go people said this? Where are you quoting from? -- Roshan Mathews http://teamtalk.im ___ BangPypers mailing list BangPypers@pytho

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 6:07 PM, Darkseid wrote: > I do hope you snidely pointed out to him that half of Google runs on Python? > :D > Which half? :) http://groups.google.com/group/unladen-swallow/browse_thread/thread/4edbc406f544643e -- Roshan Mathews http://te

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 5:48 PM, Anand Balachandran Pillai wrote: >  The point is that so called compiled languages provide more security >  loop-holes than interpreted ones. C++/C for example provide liberal >  scope for buffer overflow exploits due to use of pointers and manual >  memory managem

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 6:25 PM, Anand Balachandran Pillai wrote: >  Not sure if go people said this. But it is in the techcrunch link >  posted by Sriram, in another thread, 1st paragraph. > >  http://www.techcrunch.com/2009/11/10/google-go-language/ > >  I didn't make it up :-) > Wasn't suggesti

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 6:30 PM, Anand Balachandran Pillai wrote: > On Wed, Nov 11, 2009 at 6:14 PM, Roshan Mathews wrote: >> The "looks like Python, runs like C++" is more than just marketing >> speak. > >  If you haven't noticed, "Looks like Python,

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
Harish, I [shall carefully reply to] you because I had [searched my mail and found] that you were a serious man, to be treated with respect. But I must say no to you and let me give you my reasons. It's true I have a lot of friends in [software], but they wouldn't be so friendly if they knew my bu

Re: [BangPypers] But IDEs rock! (was Google Go)

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 8:06 PM, Darkseid wrote: > you can only get so far with a > text editor*, no matter how many macros you have set up. Honestly. > Macros?? Really??? Don't you mean "no matter how many scripts you have set up" :) ___ BangPype

Re: [BangPypers] Google Go

2009-11-12 Thread Roshan Mathews
Did the Godfather quote scare you off? :) On Wed, Nov 11, 2009 at 9:06 PM, Roshan Mathews wrote: > I [shall carefully reply to] you because I had > [searched my mail and found] that you were a serious > man, to be treated with respect. But I must say no to > you and let me give yo

Re: [BangPypers] Reg : Python Scripting

2009-12-09 Thread Roshan Mathews
On Wed, Dec 9, 2009 at 4:34 PM, murugadoss wrote: > But since the thread is waiting for input ( in a while loop ), the control > is not coming to next line of the script. (ie: to input arguments line). > > Sample Script: > os.system(my program) > child.sendline(input arguments) subprocess: http:/

Re: [BangPypers] Unsubcribe

2009-12-14 Thread Roshan Mathews
On Tue, Dec 15, 2009 at 7:39 AM, srinivas_ 1220 wrote: > How does one unsubscribe from this mail list? As i dont wish to receive any > updates from this group. > The mail headers point you to: List-Id: Bangalore Python Users Group - India List-Unsubscribe:

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-22 Thread Roshan Mathews
e tuples are hetereogeneous data structures. Tauber's point about tuples being structures named by index, seemed correct in light of "namedtuple" in collections (since Python 2.6) Also, as Noufal mentioned, tuples are hashable, so you can use them as keys in a dict. -- Roshan

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-22 Thread Roshan Mathews
were faster (I think I used them once for that reason), I couldn't remember why. -- Roshan Mathews http://teamtalk.im ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-23 Thread Roshan Mathews
ts matter. Also, the link I had posted earlier [1], shows that tuple creation is O(1), (at least when it is populated with literals). [1] http://stackoverflow.com/questions/68630/are-tuples-more-efficient-than-lists-in-python -- Roshan Mathews ht

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-23 Thread Roshan Mathews
psyco psyco.full() and go whee. -- Roshan Mathews http://teamtalk.im ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-24 Thread Roshan Mathews
On Thu, Dec 24, 2009 at 1:29 PM, Noufal Ibrahim wrote: > psyco is 32 bit only and development has pretty much ceased since all the > chaps working on it went to PyPy. > Also, for some perverse bits of code, it plainly skips compilation. > Oh. :( Didn't know that. -- Ro

Re: [BangPypers] How should I do it?

2010-01-15 Thread Roshan Mathews
On Fri, Jan 15, 2010 at 2:40 PM, Anand Balachandran Pillai wrote: >    # Now, count and trans are not strings in >    # data, so Python will complain, hence we >    # define these as strings with same name! >    count, trans = 'count','trans' > Clever, that. I got to there, threw up my hands and

Re: [BangPypers] Future of Python Programmers

2010-02-01 Thread Roshan Mathews
al.Please clarify. > I came across this recently: http://nathanmarz.com/blog/john-mccarthy/ Might be relevant to the "don't be a language lawyer" advice. :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] date range

2010-02-09 Thread Roshan Mathews
On Tue, Feb 9, 2010 at 16:51, Srinivas Reddy Thatiparthy wrote: > >>>more compact is_in_range   startdate < date < enddate > > I am very much interested to know how the above expression is evaluated > in compiler? > If the compiler evaluates left to right  ,startdate false depending on the values

Re: [BangPypers] date range

2010-02-09 Thread Roshan Mathews
On Tue, Feb 9, 2010 at 17:07, Srinivas Reddy Thatiparthy wrote: > Ok..Got it... > Especially last sentence caught my eye.. > Does the python compiler behaves same for below expression also? > > 1.If(a > My guess  is, it behaves the same but just wanna double check.. > You want to know if "b" is ev

Re: [BangPypers] date range

2010-02-09 Thread Roshan Mathews
On Tue, Feb 9, 2010 at 17:53, Srinivas Reddy Thatiparthy wrote: > >>>a < b < c   is equivalent to   a < b and b < c   *except that* b is > evaluated only once. > > > > Did u  mean to say that evaluating b only once applies to  a expression only,NOT for expressions like   a > Assuming you're talk

Re: [BangPypers] recursion not working

2010-03-15 Thread Roshan Mathews
On Mon, Mar 15, 2010 at 13:54, Kenneth Gonsalves wrote: >        for child in children: >            getaccbal(child.id,bal) This line returns a "balance" which is discarded. Maybe it should be: bal += getaccbal(...) ? Roshan Mathews __

Re: [BangPypers] Enclosing lexical context

2010-04-15 Thread Roshan Mathews
On Thu, Apr 15, 2010 at 23:33, Anand Chitipothu wrote: > However, python3.0 added a new "nonlocal" construct to enable that. > With python 3, you should be able to say: So there are globals, locals, and nonlocals. :) ___ BangPypers mailing list BangPyp

Re: [BangPypers] Coaching institute in Bangalore.

2010-04-16 Thread Roshan Mathews
f you run into trouble, ask here. If you don't, work through: http://diveintopython.org/ Coaching centers are hit and miss affairs, you might find a good one, but most likely you won't. Roshan Mathews ___ BangPypers mailing list BangPyp

Re: [BangPypers] python supports frameworks ?

2010-04-25 Thread Roshan Mathews
On Mon, Apr 26, 2010 at 07:53, jaya kumar wrote: > these and all i need to web development purpose can any one please answer ? > Check out http://docs.djangoproject.com/en/dev/intro/tutorial01/ Do mail the list f you have trouble starting off with that. > and also please can any one tell is ther

Re: [BangPypers] Extracting zipfile

2010-05-30 Thread Roshan Mathews
On Mon, May 31, 2010 at 05:56, murugadoss wrote: zipfile.extractall("home/murugadoss/testfile.zip") > Traceback (most recent call last): >  File "", line 1, in > AttributeError: 'module' object has no attribute 'extractall' http://docs.python.org/library/zipfile.html#zipfile.ZipFile.extract

Re: [BangPypers] UI Designing

2010-05-31 Thread Roshan Mathews
well. I usually prefer text ("there's this input, which will respond so to valid input, and so to invalid input") and boxes and arrows on paper/whiteboard. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] sending binary files over socket

2010-05-31 Thread Roshan Mathews
On Tue, Jun 1, 2010 at 10:31, murugadoss wrote: > I need to pack and send a binary file over socket. The binary file is > already existing. > Define a protocol, using http://code.google.com/p/protobuf/ That's one way. Roshan Mathews

Re: [BangPypers] python with c bindings

2010-06-15 Thread Roshan Mathews
On Tue, Jun 15, 2010 at 21:42, Rahul R wrote: > I apologise for not being articulate since , i did know the right jargon to > express it. Can you please say what you meant by "handling shell scripts inside c files"? -- http://roshan.mathews.in/ ___ Ba

Re: [BangPypers] designing programs

2010-06-24 Thread Roshan Mathews
On Fri, Jun 25, 2010 at 08:22, Kenneth Gonsalves wrote: > what tools do people use when designing software? I tried dia once or twice > but found it rather cumbersome > UI? http://www.balsamiq.com/products/mockups is popular. I prefer paper/whiteboard. Nothing beats having a designer do it for

Re: [BangPypers] designing programs

2010-06-24 Thread Roshan Mathews
On Fri, Jun 25, 2010 at 09:03, Kenneth Gonsalves wrote: >> UI?  http://www.balsamiq.com/products/mockups is popular.  I prefer >> paper/whiteboard.  Nothing beats having a designer do it for you. > what do you mean by 'having a designer do it for you'? > There are people who do UI design. Pay/hir

Re: [BangPypers] designing programs

2010-06-24 Thread Roshan Mathews
On Fri, Jun 25, 2010 at 11:17, Kenneth Gonsalves wrote: > for one particular very complicated program, I modelled the whole workflow in > dia - and found that the code worked perfectly on the first try. But I found > dia a bit cumbersome, so I am looking for an alternative. I tried freemind, > but

  1   2   >