From lawgon at au-kbc.org Thu Oct 1 02:17:10 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 1 Oct 2009 05:47:10 +0530 Subject: [BangPypers] [commercial] nrc-foss certifications Message-ID: <200910010547.10636.lawgon@au-kbc.org> hi, nrc-foss @ au-kbc is planning to introduce low cost entry level certifications in languages/tools like perl, php, python, ruby, mysql and postgresql - anyone interested in contributing to formulating/running such certifications, please contact me offlist. This is a commercial offer. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From navin.kabra at gmail.com Thu Oct 1 05:36:23 2009 From: navin.kabra at gmail.com (Navin Kabra) Date: Thu, 1 Oct 2009 09:06:23 +0530 Subject: [BangPypers] Python at Schools In-Reply-To: <6c8d08a40909301347q5c769000pf8d42af6971d9bc@mail.gmail.com> References: <64160c70909261929t419abbfcs4b7b63548e4daee@mail.gmail.com> <79a035420909292304m3ae1b8ceqa927b0d74ad455c5@mail.gmail.com> <45ec909c0909292331i1f372a12y7e4effb172978adc@mail.gmail.com> <7c73a13a0909300956k7301b3f1t76421151bce6f2c6@mail.gmail.com> <5ead360a0909301019o4eeeb243o9367a6e4be699363@mail.gmail.com> <4AC39981.3090009@gmail.com> <6c8d08a40909301347q5c769000pf8d42af6971d9bc@mail.gmail.com> Message-ID: On Thu, Oct 1, 2009 at 2:17 AM, shameek ghosh wrote: > college.So I > retracked and instead started with teaching them effective ways of > playing battleships using common search methods in algorithms > etc.... Wow, this is a really cool insight, and an interesting way to motivate them. I'd love to hear more such ideas on how kids of this age can be motivated to take an interest in programming. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssquery at gmail.com Thu Oct 1 08:41:23 2009 From: ssquery at gmail.com (sudhakar s) Date: Thu, 1 Oct 2009 12:11:23 +0530 Subject: [BangPypers] web services Message-ID: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> HI, Can any one suggest me how to create a simple web service. Started working with webservices but fully confused with searches i made. any one have simple web service script which is currently working? -- With Regards, S Sudhakar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists.amitsaha at gmail.com Thu Oct 1 09:36:34 2009 From: lists.amitsaha at gmail.com (Amit Saha) Date: Thu, 01 Oct 2009 13:06:34 +0530 Subject: [BangPypers] Python at Schools In-Reply-To: <5ead360a0909301019o4eeeb243o9367a6e4be699363@mail.gmail.com> References: <64160c70909261929t419abbfcs4b7b63548e4daee@mail.gmail.com> <79a035420909292304m3ae1b8ceqa927b0d74ad455c5@mail.gmail.com> <45ec909c0909292331i1f372a12y7e4effb172978adc@mail.gmail.com> <7c73a13a0909300956k7301b3f1t76421151bce6f2c6@mail.gmail.com> <5ead360a0909301019o4eeeb243o9367a6e4be699363@mail.gmail.com> Message-ID: <4AC45C02.3020408@gmail.com> Srijayanth Sridhar wrote: > Not sure how many people here were taught Logo as their first language. I > was, and most people regard it as a toy language because most teachers focus > exclusively on the graphical aspects of the language. However, few know that > Logo was inspired by Lisp and can handle fairly decent logical stuff too. I > would really like to see Logo used more fully in this regard. Hare are LOGO books which does serious programming talk: The series: http://www.eecs.berkeley.edu/~bh/v1-toc2.html and http://openbookproject.net/thinkcs/logo.php -Amit -- Journal: http://amitksaha.wordpress.com ?-blog: http://twitter.com/amitsaha IRC: cornucopic on #scheme, #lisp, #math, #linux From lists.amitsaha at gmail.com Thu Oct 1 09:29:46 2009 From: lists.amitsaha at gmail.com (Amit Saha) Date: Thu, 01 Oct 2009 12:59:46 +0530 Subject: [BangPypers] web services In-Reply-To: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> References: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> Message-ID: <4AC45A6A.3040801@gmail.com> sudhakar s wrote: > HI, Can any one suggest me how to create a simple web service. This should help: http://www.lmgtfy.com/?q=web+services+in+python > Started working with webservices but fully confused with searches i made. How about the search results? HTH, -Amit -- Journal: http://amitksaha.wordpress.com ?-blog: http://twitter.com/amitsaha IRC: cornucopic on #scheme, #lisp, #math, #linux From pythonmac at rebertia.com Thu Oct 1 08:43:06 2009 From: pythonmac at rebertia.com (Chris Rebert) Date: Wed, 30 Sep 2009 23:43:06 -0700 Subject: [BangPypers] [Pythonmac-SIG] web services In-Reply-To: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> References: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> Message-ID: <50697b2c0909302343o7dca3889rd19203ed2e68bbd6@mail.gmail.com> On Wed, Sep 30, 2009 at 11:41 PM, sudhakar s wrote: > > HI, > ?? Can any one suggest me how to create a simple web service. > ?? Started?working?with?webservices?but?fully?confused?with?searches?i?made. > > ???any?one?have?simple?web?service?script?which?is?currently?working? How is this relevant to Python on the Mac OS X platform specifically? Cheers, Chris -- http://blog.rebertia.com From abpillai at gmail.com Thu Oct 1 09:45:27 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 1 Oct 2009 13:15:27 +0530 Subject: [BangPypers] Post from non-members Message-ID: <8548c5f30910010045l4083e47ye2c2971476f7a3e@mail.gmail.com> Hi, Of late there has been a lot of activity in the group, which is good :) But a side effect has been a sharp increase in number of non-members trying to post to the list. I have been approving all these messages since they are all relevant and not SPAM. However if you find that there is a time-lag of a day or more between your posting and messages appearing in the list, then it is because you are a non-member and the post was waiting for moderator approval. If you find this happening, then take that time to sign up on the mailing list as a member so that your future posts are not held up. It is worth it, I assure you :) Thanks -- --Anand PS: Non-members have been BCCed in this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hiddenharmony at gmail.com Thu Oct 1 08:58:44 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Thu, 1 Oct 2009 12:28:44 +0530 Subject: [BangPypers] web services In-Reply-To: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> References: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> Message-ID: <91bea30d0909302358h2e6c67f1qc9684b097dd1b213@mail.gmail.com> On Thu, Oct 1, 2009 at 12:11 PM, sudhakar s wrote: > > HI, > ?? Can any one suggest me how to create a simple web service. > ?? Started?working?with?webservices?but?fully?confused?with?searches?i?made. > > ???any?one?have?simple?web?service?script?which?is?currently?working? There is no magic webservice script. What kind of webservice you want SOAP or REST ? Please describe your requirements too. regards Vivek -- The hidden harmony is better than the obvious!! From ssquery at gmail.com Thu Oct 1 10:09:06 2009 From: ssquery at gmail.com (sudhakar s) Date: Thu, 1 Oct 2009 13:39:06 +0530 Subject: [BangPypers] web services In-Reply-To: <91bea30d0909302358h2e6c67f1qc9684b097dd1b213@mail.gmail.com> References: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> <91bea30d0909302358h2e6c67f1qc9684b097dd1b213@mail.gmail.com> Message-ID: <1528d2590910010109k1b3d0825j433e530c4757df6d@mail.gmail.com> I was trying SOAP web services.How to construct . On Thu, Oct 1, 2009 at 12:28 PM, Vivek Khurana wrote: > On Thu, Oct 1, 2009 at 12:11 PM, sudhakar s wrote: > > > > HI, > > Can any one suggest me how to create a simple web service. > > > Started working with webservices but fully confused with searches i made. > > > > any one have simple web service script which is currently working? > > There is no magic webservice script. What kind of webservice you want > SOAP or REST ? Please describe your requirements too. > > regards > Vivek > > -- > The hidden harmony is better than the obvious!! > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- With Regards, S Sudhakar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Thu Oct 1 10:28:30 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 1 Oct 2009 13:58:30 +0530 Subject: [BangPypers] web services In-Reply-To: <1528d2590910010109k1b3d0825j433e530c4757df6d@mail.gmail.com> References: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> <91bea30d0909302358h2e6c67f1qc9684b097dd1b213@mail.gmail.com> <1528d2590910010109k1b3d0825j433e530c4757df6d@mail.gmail.com> Message-ID: <8548c5f30910010128q2aa7ca19rc7589a66c04edb53@mail.gmail.com> On Thu, Oct 1, 2009 at 1:39 PM, sudhakar s wrote: > I was trying SOAP web services.How to construct . > > > > Use SOAPpy. Here is the straight dope without any WSDL etc. from SOAPPy import ThreadingSOAPServer server = ThreadingSOAPServer(('0.0.0.0', 8888)) server.registerFunction(check) server.registerFunction(dummy) server.serve_forever() Now your functions "check" and "dummy" are available to a SOAP client at localhost:8888 port. Please don't CC non-relevant lists in your posts. X-posting is a virtue rarely, only if you know what you are doing. > >> >> -- >> The hidden harmony is better than the obvious!! >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > With Regards, > S Sudhakar. > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From ideamonk at gmail.com Thu Oct 1 14:36:19 2009 From: ideamonk at gmail.com (Abhishek Mishra) Date: Thu, 1 Oct 2009 18:06:19 +0530 Subject: [BangPypers] Post from non-members In-Reply-To: <8548c5f30910010045l4083e47ye2c2971476f7a3e@mail.gmail.com> References: <8548c5f30910010045l4083e47ye2c2971476f7a3e@mail.gmail.com> Message-ID: <64160c70910010536n23a25bf9p36c5e32f4a59b08a@mail.gmail.com> I beg sorry for being responsible for this. I actually sent Python at Schools post to three mailing lists simultaneously, and in return it happens that when one hits the reply button, the response is posted back to all 3 mailing lists - InPyCon, Ilugb and bangpypers. Please excuse me for not following some common mailing list etiquettes. :( regards, Abhishek Mishra On Thu, Oct 1, 2009 at 1:15 PM, Anand Balachandran Pillai wrote: > Hi, > > ????????????? Of late there has been a lot of activity in the group, > which is good :) But a side effect has been a sharp increase > in number of non-members trying to post to the list. > > ????????????? I have been approving all these messages since they > are all relevant and not SPAM. > > However if you find that there is a time-lag of a day or more > between your posting and messages appearing in the list, then > it is because you are a non-member and the post was waiting > for moderator approval. > > If you find this happening, then take that time to sign up on > the mailing list as a member so that your future posts are not > held up. It is worth it, I assure you :) > > > Thanks > > -- > --Anand > > PS: Non-members have been BCCed in this email. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > From shivraj.ms at gmail.com Thu Oct 1 16:54:50 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Thu, 1 Oct 2009 07:54:50 -0700 (PDT) Subject: [BangPypers] [ilugb] Python at Schools In-Reply-To: References: <64160c70909261929t419abbfcs4b7b63548e4daee@mail.gmail.com> <12470af00909261956j119b32r2676f151cf1159b@mail.gmail.com> <25674985.post@talk.nabble.com> Message-ID: <25696915.post@talk.nabble.com> >Secondly we are also working on one embedded platform >using Python. Should be innovative... It reminded me of concurrent and sequential programming approaches of VHDL for real time on FPGA written by Douglas L. Perry - one of the most well written and interesting programming books. (or may be what I understood better :-) ). I heard about MyHDL on Python but never got oppurtunity to use it. Apart from FPGA and Xilinix, talking about embedded processors, applications and programming, would any high level programming language like python suit since again they would look out for a more abstract level. -- View this message in context: http://www.nabble.com/Python-at-Schools-tp25630379p25696915.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From azhaguselvan at gmx.com Thu Oct 1 17:42:04 2009 From: azhaguselvan at gmx.com (Azhaguselvan) Date: Thu, 01 Oct 2009 21:12:04 +0530 Subject: [BangPypers] Post from non-members In-Reply-To: <64160c70910010536n23a25bf9p36c5e32f4a59b08a@mail.gmail.com> References: <8548c5f30910010045l4083e47ye2c2971476f7a3e@mail.gmail.com> <64160c70910010536n23a25bf9p36c5e32f4a59b08a@mail.gmail.com> Message-ID: <1254411724.3235.5.camel@debian-desktop> On Thu, 2009-10-01 at 18:06 +0530, Abhishek Mishra wrote: > I beg sorry for being responsible for this. I actually sent Python at > Schools post to three mailing lists simultaneously, and in return it > happens that when one hits the reply button, the response is posted > back to all 3 mailing lists - InPyCon, Ilugb and bangpypers. > Please excuse me for not following some common mailing list etiquettes. > :( > > regards, > Abhishek Mishra > Again not following the etiquette :( Please don't top-post. Azhaguselvan,SP From baiju at muthukadan.net Sun Oct 4 04:00:34 2009 From: baiju at muthukadan.net (Baiju Muthukadan) Date: Sun, 4 Oct 2009 07:30:34 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in Message-ID: I found this today at python.org : http://scipy.in/ -- Baiju M From abpillai at gmail.com Sun Oct 4 07:23:00 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Sun, 4 Oct 2009 10:53:00 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: References: Message-ID: <8548c5f30910032223q66609f72n2239e2b203d36219@mail.gmail.com> On Sun, Oct 4, 2009 at 7:30 AM, Baiju Muthukadan wrote: > I found this today at python.org : > > http://scipy.in/ > Interesting... I would surmise that this would be in practice more of a "sci" than "py" conference, since the # of people who are interested specifically in Python for science would be quite a small # when compared to the general Python interest group size. 6 days... isn't it rather too long for a specific interest conference. > > -- > Baiju M > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Sun Oct 4 07:37:18 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Sun, 4 Oct 2009 11:07:18 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <8548c5f30910032223q66609f72n2239e2b203d36219@mail.gmail.com> References: <8548c5f30910032223q66609f72n2239e2b203d36219@mail.gmail.com> Message-ID: <200910041107.19174.lawgon@au-kbc.org> On Sunday 04 Oct 2009 10:53:00 am Anand Balachandran Pillai wrote: > On Sun, Oct 4, 2009 at 7:30 AM, Baiju Muthukadan wrote: > > I found this today at python.org : > > > > http://scipy.in/ > > Interesting... I would surmise that this would be in practice more of > a "sci" than "py" conference, since the # of people who are interested > specifically in Python for science would be quite a small # when > compared to the general Python interest group size. > > 6 days... isn't it rather too long for a specific interest > conference. weird: http://fossee.in/whydrupal -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From abpillai at gmail.com Sun Oct 4 07:52:28 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Sun, 4 Oct 2009 11:22:28 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <200910041107.19174.lawgon@au-kbc.org> References: <8548c5f30910032223q66609f72n2239e2b203d36219@mail.gmail.com> <200910041107.19174.lawgon@au-kbc.org> Message-ID: <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> On Sun, Oct 4, 2009 at 11:07 AM, Kenneth Gonsalves wrote: > On Sunday 04 Oct 2009 10:53:00 am Anand Balachandran Pillai wrote: > > On Sun, Oct 4, 2009 at 7:30 AM, Baiju Muthukadan > wrote: > > > I found this today at python.org : > > > > > > http://scipy.in/ > > > > Interesting... I would surmise that this would be in practice more of > > a "sci" than "py" conference, since the # of people who are interested > > specifically in Python for science would be quite a small # when > > compared to the general Python interest group size. > > > > 6 days... isn't it rather too long for a specific interest > > conference. > > weird: http://fossee.in/whydrupal > Hadn't noticed it was written in Drupal. Well, they might have an excuse since they are focusing on "Scipy" rather than just Py! > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Sun Oct 4 08:03:47 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Sun, 4 Oct 2009 11:33:47 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> References: <200910041107.19174.lawgon@au-kbc.org> <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> Message-ID: <200910041133.48076.lawgon@au-kbc.org> On Sunday 04 Oct 2009 11:22:28 am Anand Balachandran Pillai wrote: > > > 6 days... isn't it rather too long for a specific interest > > > conference. > > > > weird: http://fossee.in/whydrupal > > Hadn't noticed it was written in Drupal. Well, they might have an > excuse since they are focusing on "Scipy" rather than just Py! I am quite annoyed by the FUD about plone - granted plone is a pain to customise, but a Q&D CMS? All it needs is click click click - what on earth is this guy doing with buildout, restarting zope etc etc? Not that I would expect much from someone who is comfortable in drupal. SciPHP anyone? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From pradeep at btbytes.com Sun Oct 4 08:17:27 2009 From: pradeep at btbytes.com (Pradeep Gowda) Date: Sun, 4 Oct 2009 02:17:27 -0400 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <200910041133.48076.lawgon@au-kbc.org> References: <200910041107.19174.lawgon@au-kbc.org> <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> <200910041133.48076.lawgon@au-kbc.org> Message-ID: <3e3294b70910032317j4741dae3pbf89e1dac1c7ed48@mail.gmail.com> On Sun, Oct 4, 2009 at 2:03 AM, Kenneth Gonsalves wrote: > On Sunday 04 Oct 2009 11:22:28 am Anand Balachandran Pillai wrote: >> > > ?6 days... isn't it rather too long for a specific interest >> > > ?conference. >> > >> > weird: http://fossee.in/whydrupal >> >> ? Hadn't noticed it was written in Drupal. Well, they might have an >> ? excuse since they are focusing on "Scipy" rather than just Py! > > I am quite annoyed by the FUD about plone - granted plone is a pain to > customise, but a Q&D CMS? All it needs is click click click - what on earth is > this guy doing with buildout, restarting zope etc etc? Not that I would expect > much from someone who is comfortable in drupal. SciPHP anyone? Plone has the easiest setup story of all the CMSes. You don't even need to have a database and a webserver for $deity's sake. Some how installing and configuring a database, and a webserver is easier than running an installer ! I think the key quote from the TFA is "Since I had some experience with drupal, I suggested that we go with drupal, since I had some experience with its working. I worked for a couple of hours to set up a basic site on my local machine" Yeah? really? what about downloading a windows installer or a mac installer for plone and doing a click-click-click as KG suggested and be done with it in minutes? The biggest joke of all has to be the fact that all the features that I see on their site, including events works out of the box on plone without installing a single external plugin. And plone's event features have lot more features than the half-assed calender i see on that site. PHP+MySQL is the BASIC of this age. +PG From mbaiju at zeomega.com Sun Oct 4 08:53:01 2009 From: mbaiju at zeomega.com (Baiju M) Date: Sun, 4 Oct 2009 12:23:01 +0530 Subject: [BangPypers] Fwd: [dfwPython] Introducing: The Python Project Howto for Releasing as Open Source In-Reply-To: <4AC71DCB.4070500@taupro.com> References: <4AC71DCB.4070500@taupro.com> Message-ID: >From dfwPython group ... ---------- Forwarded message ---------- From: Jeff Rush Date: Sat, Oct 3, 2009 at 3:17 PM Subject: [dfwPython] Introducing: The Python Project Howto for Releasing as Open Source To: dfwpython I came across a cool website, which is still under refinement and wants ideas from us, the Python community. ?It is called the Python Project Howto. ?http://infinitemonkeycorps.net/docs/pph/ It provides a one (long) page guide to publishing your Python source after coding it, covering version control choices, your hosting options, ?producing quality code using Pylint, various kinds of unit and coverage tests, documenting it using reStructuredText in docstrings and Sphinx, licensing choices and how to package it and upload it to the Cheeseshop. A very useful reference to keep handy. -Jeff _______________________________________________ dfwPython mailing list dfwPython at dfwpython.org https://www.dfwpython.org/mailman/listinfo/dfwpython From sidharth.kuruvila at gmail.com Sun Oct 4 09:12:09 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Sun, 04 Oct 2009 12:42:09 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <3e3294b70910032317j4741dae3pbf89e1dac1c7ed48@mail.gmail.com> References: <200910041107.19174.lawgon@au-kbc.org> <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> <200910041133.48076.lawgon@au-kbc.org> <3e3294b70910032317j4741dae3pbf89e1dac1c7ed48@mail.gmail.com> Message-ID: Hey Hey, no need to dis Php, or Drupal for that matter, it's actually a mighty fine language for what it does. And they have been making it a lot better(namespaces, closures and, possibly just for Pradeep, goto). Nice to see conferences happening around python. On Sun, 04 Oct 2009 11:47:27 +0530, Pradeep Gowda wrote: > On Sun, Oct 4, 2009 at 2:03 AM, Kenneth Gonsalves > wrote: >> On Sunday 04 Oct 2009 11:22:28 am Anand Balachandran Pillai wrote: >>> > > 6 days... isn't it rather too long for a specific interest >>> > > conference. >>> > >>> > weird: http://fossee.in/whydrupal >>> >>> Hadn't noticed it was written in Drupal. Well, they might have an >>> excuse since they are focusing on "Scipy" rather than just Py! >> >> I am quite annoyed by the FUD about plone - granted plone is a pain to >> customise, but a Q&D CMS? All it needs is click click click - what on >> earth is >> this guy doing with buildout, restarting zope etc etc? Not that I would >> expect >> much from someone who is comfortable in drupal. SciPHP anyone? > > Plone has the easiest setup story of all the CMSes. You don't even > need to have a database and a webserver for $deity's sake. Some how > installing and configuring a database, and a webserver is easier than > running an installer ! > > I think the key quote from the TFA is "Since > I had some experience with drupal, I suggested that we go with drupal, > since I had some experience with its working. I worked for a couple of > hours to set up a basic site on my local machine" > > Yeah? really? what about downloading a windows installer or a mac > installer for plone and doing a click-click-click as KG suggested > and be done with it in minutes? > > The biggest joke of all has to be the fact that all the features that > I see on their site, including events works out of the box on plone > without installing a single external plugin. And plone's event > features have lot more features than the half-assed calender i see on > that site. > > PHP+MySQL is the BASIC of this age. > > +PG > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From sridhar.ratna at gmail.com Sun Oct 4 09:26:40 2009 From: sridhar.ratna at gmail.com (srid) Date: Sun, 4 Oct 2009 00:26:40 -0700 Subject: [BangPypers] Fwd: [dfwPython] Introducing: The Python Project Howto for Releasing as Open Source In-Reply-To: References: <4AC71DCB.4070500@taupro.com> Message-ID: <7c73a13a0910040026v13177df3la4481e13c680756a@mail.gmail.com> On Sat, Oct 3, 2009 at 11:53 PM, Baiju M wrote: > ?http://infinitemonkeycorps.net/docs/pph/ > > It provides a one (long) page guide to publishing your Python source > after coding it, covering version control choices, your hosting options, > ?producing quality code using Pylint, various kinds of unit and coverage > tests, documenting it using reStructuredText in docstrings and Sphinx, > licensing choices and how to package it and upload it to the Cheeseshop. Adding to what is written, the following command will create a rough project skeleton using setuptools: $ paster create -t basic_package MyProject (For this to work, one should have PasteScript installed) -srid From abpillai at gmail.com Sun Oct 4 10:36:41 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Sun, 4 Oct 2009 14:06:41 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <200910041133.48076.lawgon@au-kbc.org> References: <200910041107.19174.lawgon@au-kbc.org> <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> <200910041133.48076.lawgon@au-kbc.org> Message-ID: <8548c5f30910040136m580f4e68nda543da89fd8277@mail.gmail.com> On Sun, Oct 4, 2009 at 11:33 AM, Kenneth Gonsalves wrote: > On Sunday 04 Oct 2009 11:22:28 am Anand Balachandran Pillai wrote: > > > > 6 days... isn't it rather too long for a specific interest > > > > conference. > > > > > > weird: http://fossee.in/whydrupal > > > > Hadn't noticed it was written in Drupal. Well, they might have an > > excuse since they are focusing on "Scipy" rather than just Py! > > I am quite annoyed by the FUD about plone - granted plone is a pain to > customise, but a Q&D CMS? All it needs is click click click - what on earth > is > this guy doing with buildout, restarting zope etc etc? Not that I would > expect > much from someone who is comfortable in drupal. SciPHP anyone? > "Since I had some experience with drupal, I suggested that we go with drupal, since I had some experience with its working." I am bemused by this guy's thinking process. If he had some experience with Drupal, then why not go for it the first thing ? Why all this experiment with Plone and some good amount of bashing at the end ? I typically stay away from Web framework stuff since it is not my cup of tea, but it is quite strange to see this kind of Plone bashing from a site which is hosting a Python related conference! He should just change the "Why Drupal" content to "Because I only know Drupal and I don't feel apologetic to run a non-python framework for this site". The current content feels thoroughly apologetic and quite flame inducing. > > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From pradeep at btbytes.com Sun Oct 4 15:37:24 2009 From: pradeep at btbytes.com (Pradeep Gowda) Date: Sun, 4 Oct 2009 09:37:24 -0400 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: References: <200910041107.19174.lawgon@au-kbc.org> <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> <200910041133.48076.lawgon@au-kbc.org> <3e3294b70910032317j4741dae3pbf89e1dac1c7ed48@mail.gmail.com> Message-ID: <3e3294b70910040637s602bb300i37c8407c342865e1@mail.gmail.com> On Sun, Oct 4, 2009 at 3:12 AM, Sidharth Kuruvila wrote: > Hey Hey, no need to dis Php, or Drupal for that matter, it's actually a > mighty fine language for what it does. And they have been making it a lot > better(namespaces, closures and, possibly just for Pradeep, goto). Pretty weak sauce, don't you think. How did you go from my response to "Hey Hey, no need to dis Php, or Drupal for that matter"? TFA is akin a person who has played baseball all his life being assigned with the task of starting a cricket team in his school. He comes over to a cricket practice session, swings the bat couple of times in the air, misses the ball and goes back to write an article saying how lame cricket is. [and vice versa]. Read gems like this: ""There was also the option of going with Django, which we discarded because most of our site would be static and we thought it would be too much work to do for a static site"" Well, if all you want is a static site, there are LOT more options. For instance, Jekyll http://jekyllrb.com/ which is familiar to all who have used github or webgen[2] or my own webgen.py[3] which Zed Shaw has used/modified to power his popular blog and lamsonproject website[4][5]. Where is the evidence for the TFA's author's honest attempt to use a python framework before dissing them and using Drupal? And what about "Django CMS procedure was too cumbersome." Django CMS installation[1] is standard fare for anyone who has gone through the django 4-part tutorial. ""very simple and instinctive. Drupal provides an interface that is uncluttered and quite uncomplicated to navigate through. Also drupal has a whole suite of modules that provide scale the functionality of a website to great levels."" -- at this point he could have as well be making tender love to Drupal. The more I read, the more I see evidence of trying to justify the use of Drupal more than doing an objective evaluation. He could have said "Boss, I know Drupal best. I can do more with Drupal in the given time than any other CMS. But, since you asked me to evaluate python CMSes I'm going to cruise past them and call names so that you know that I tried". PHP is not the problem. The *users* of PHP tend to get wired in weird ways after using it exclusively like the basic/vb programmers of the yore. There is not enough evidence for us to believe that your typical PHP/Drupal developer is a connoisseur of CS concepts like closures. Owning a bat once used by Don Bradman does not guarantee that the team will beat Australia. +PG [1] http://www.django-cms.org/en/documentation/2.0/installation/ [2] http://webgen.rubyforge.org/ [3] http://github.com/btbytes/webgen.py/ [4] http://zedshaw.com [5] http://bazaar.launchpad.net/%7Ezedshaw/lamson/development/annotate/head%3A/doc/lamsonproject.org/webgen.py From sidharth.kuruvila at gmail.com Sun Oct 4 16:25:53 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Sun, 04 Oct 2009 19:55:53 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <3e3294b70910040637s602bb300i37c8407c342865e1@mail.gmail.com> References: <200910041107.19174.lawgon@au-kbc.org> <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> <200910041133.48076.lawgon@au-kbc.org> <3e3294b70910032317j4741dae3pbf89e1dac1c7ed48@mail.gmail.com> <3e3294b70910040637s602bb300i37c8407c342865e1@mail.gmail.com> Message-ID: A thousand apologies, the "possibly just for Pradeep, goto", was a meant as a light joke not to be taken personally. Goto was the original issue with Basic. You hit the nail squarely on the head when you say "The *users* of PHP tend to get wired in weird ways after using it". So do the users of python or any other language, in their own way. You can choose not to like Php, but there are a lot of good programmers who do use it productively. The fact is that you've obviously invested some amount of time working with various python frameworks, which make certain choices obvious to you. The author of the article obviously wasn't able to do that, Drupal seems like a sensible decision to have made. I'd agree the post is almost certainly not objective, but then most comparisons are that way, it's something we have to live with. Ps. I am talking from my own perspective, if I was asked to create a website backed by a database, I'd chose something based on Php simply because that's what I have some recent experience working with, so I spend less time wasted trying to learn the tools. From pradeep at btbytes.com Sun Oct 4 16:47:27 2009 From: pradeep at btbytes.com (Pradeep Gowda) Date: Sun, 4 Oct 2009 10:47:27 -0400 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: References: <200910041107.19174.lawgon@au-kbc.org> <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> <200910041133.48076.lawgon@au-kbc.org> <3e3294b70910032317j4741dae3pbf89e1dac1c7ed48@mail.gmail.com> <3e3294b70910040637s602bb300i37c8407c342865e1@mail.gmail.com> Message-ID: <3e3294b70910040747y1c664b31y1e600c2ce1befc76@mail.gmail.com> I have no issues with PHP. Heck, I wrote my first website[1] using PHP and a flat file (CSV) database when MySQL hosting was expensive :). Textpattern (a superb CMS written in PHP+MySQL) powers my wife's recipe website and she likes it as a user and I as a very dormant administrator. [1] http://web.archive.org/web/20030802085747/http://www.btbytes.com/ Happy hacking, +PG On Sun, Oct 4, 2009 at 10:25 AM, Sidharth Kuruvila wrote: > A thousand apologies, the "possibly just for Pradeep, goto", was a meant as > a light joke not to be taken personally. Goto was the original issue with > Basic. > > You hit the nail squarely on the head when you say "The *users* of PHP tend > to get wired in weird ways after using it". So do the users of python or any > other language, in their own way. You can choose not to like Php, but there > are a lot of good programmers who do use it productively. > > The fact is that you've obviously invested some amount of time working with > various python frameworks, which make certain choices obvious to you. The > author of the article obviously wasn't able to do that, Drupal seems like a > sensible decision to have made. I'd agree the post is almost certainly not > objective, but then most comparisons are that way, it's something we have to > live with. > > Ps. I am talking from my own perspective, if I was asked to create a website > backed by a database, I'd chose something based on Php simply because that's > what I have some recent experience working with, so I spend less time wasted > trying to learn the tools. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ---- Pradeep Gowda ENthEnergy LLC 9365 Counselors Row, Suite 120 Indianapolis IN 46240-6418 Phone: 317-428-1965 Fax: 317-846-3777 pradeep at enthenergy.com From lorddaemon at gmail.com Sun Oct 4 21:18:17 2009 From: lorddaemon at gmail.com (Darkseid) Date: Mon, 05 Oct 2009 00:48:17 +0530 Subject: [BangPypers] web services In-Reply-To: <8548c5f30910010128q2aa7ca19rc7589a66c04edb53@mail.gmail.com> References: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> <91bea30d0909302358h2e6c67f1qc9684b097dd1b213@mail.gmail.com> <1528d2590910010109k1b3d0825j433e530c4757df6d@mail.gmail.com> <8548c5f30910010128q2aa7ca19rc7589a66c04edb53@mail.gmail.com> Message-ID: <4AC8F4F9.4090308@gmail.com> I'd strongly recommend giving SOAP a pass and going with REST unless you need to integrate with an existing legacy SOAP system. Best, Sidu. Anand Balachandran Pillai wrote: > > > On Thu, Oct 1, 2009 at 1:39 PM, sudhakar s > wrote: > > I was trying SOAP web services.How to construct . > > > > Use SOAPpy. Here is the straight dope without any WSDL etc. > > from SOAPPy import ThreadingSOAPServer > > server = ThreadingSOAPServer(('0.0.0.0', 8888)) > server.registerFunction(check) > server.registerFunction(dummy) > server.serve_forever() > > Now your functions "check" and "dummy" are available to a SOAP client > at localhost:8888 port. > > Please don't CC non-relevant lists in your posts. X-posting > is a virtue rarely, only if you know what you are doing. > > > > > -- > The hidden harmony is better than the obvious!! > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > > > > -- > With Regards, > S Sudhakar. > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > > > > -- > --Anand > > > > ------------------------------------------------------------------------ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From noufal at gmail.com Mon Oct 5 09:22:52 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 5 Oct 2009 12:52:52 +0530 Subject: [BangPypers] PyCon APAC 2010 Message-ID: <9963e56e0910050022p2e1188a6j85d0d6e34042764d@mail.gmail.com> Hello everyone, I'm assuming that the audience here is a superset of the one at inpycon. This should reach everyone. During PyCon India, I received a couple of mails from the organisers of the APAC PyCon 2010 in Singapore. They're interested in coordinating Python efforts throughout the region and see India as one of the countries which can make a mark. He's asked me to spread the word a little about the conference. I mentioned their call for proposals at my talk during PyCon India. The official site is at http://apac.pycon.org and the CFP links are at http://pycon.sit.rp.sg/conference-1 and http://pycon.sit.rp.sg/tutorial-1 I've uploaded the PDF version of the CFP at http://nibrahim.net.in/PyCon-Asia-Pacific-Call for Paper.pdf (just in case attachments are not allowed on this list). As with all conferences, it's only as good as the people who participate and the papers that are presented so do try to pitch in. Thanks. -- ~noufal http://nibrahim.net.in From lawgon at au-kbc.org Mon Oct 5 10:01:31 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Mon, 5 Oct 2009 13:31:31 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: References: <3e3294b70910040637s602bb300i37c8407c342865e1@mail.gmail.com> Message-ID: <200910051331.32178.lawgon@au-kbc.org> On Sunday 04 Oct 2009 7:55:53 pm Sidharth Kuruvila wrote: > Ps. I am talking from my own perspective, if I was asked to create a > website backed by a database, I'd chose something based on Php simply > because that's what I have some recent experience working with, so I spend > less time wasted trying to learn the tools. especially, I suppose if the website in question was for the purpose of promoting python? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From noufal at gmail.com Mon Oct 5 13:16:12 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 5 Oct 2009 16:46:12 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: References: <200910041107.19174.lawgon@au-kbc.org> <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> <200910041133.48076.lawgon@au-kbc.org> <3e3294b70910032317j4741dae3pbf89e1dac1c7ed48@mail.gmail.com> <3e3294b70910040637s602bb300i37c8407c342865e1@mail.gmail.com> Message-ID: <9963e56e0910050416p32c18af2ua46be4893666b150@mail.gmail.com> On Sun, Oct 4, 2009 at 7:55 PM, Sidharth Kuruvila wrote: [..] > Ps. I am talking from my own perspective, if I was asked to create a website > backed by a database, I'd chose something based on Php simply because that's > what I have some recent experience working with, so I spend less time wasted > trying to learn the tools. [..] That's a sane choice but it destroys your screen cred as a Python web advocate (if you are one). The web is one of Python's many domains (given the number of web frameworks etc.) and this from a Python conference organiser is a clear statement saying that *none* of them were good enough for him. If, after this, you try to speak to a technical audience about developing and deploying websites with using a Python web framework, they'd be more than just a little sceptical. :) I don't think there are going to be many web development talks at *sci*py but if this doesn't come up during the conference, I would be reappy surprised. -- ~noufal http://nibrahim.net.in From lawgon at au-kbc.org Tue Oct 6 02:27:15 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Tue, 6 Oct 2009 05:57:15 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <9963e56e0910050416p32c18af2ua46be4893666b150@mail.gmail.com> References: <9963e56e0910050416p32c18af2ua46be4893666b150@mail.gmail.com> Message-ID: <200910060557.15609.lawgon@au-kbc.org> On Monday 05 Oct 2009 4:46:12 pm Noufal Ibrahim wrote: > > Ps. I am talking from my own perspective, if I was asked to create a > > website backed by a database, I'd chose something based on Php simply > > because that's what I have some recent experience working with, so I > > spend less time wasted trying to learn the tools. > > [..] > > That's a sane choice actually I personally would not employ/engage a person whose criterion for choosing a tool is 'what is easiest for me'. I need a person who would not mind struggling a bit to do the work with a tool that is best for me (ie, best for the customer). Yes, drupal is easy - excellent for the weekend warrior maintaining his own site. But for a developer with a conscience it is a nightmare - I remember looking at their site in August and notice about 60 odd security patches in 2009 alone. Imagine maintaining a dozen drupal sites and spending one's whole time applying the patches! Compared with plone or django, which do not even have a security page or a security mailing list. I set up a django site in 2005, and only visited it the other day because the customer wanted some enhancements. I am yet to visit the plone site I set up 2 years back. Of course many so-called developers do not have a conscience, they leave the site to the customer, and when it is cracked they say - 'why are you sleeping? Can you not see the hundreds of security patches you should have applied'. And php developers promoting python? verily they are worms in snake's skins ;-) -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From noufal at gmail.com Mon Oct 5 13:28:31 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 5 Oct 2009 16:58:31 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <3e3294b70910040747y1c664b31y1e600c2ce1befc76@mail.gmail.com> References: <200910041107.19174.lawgon@au-kbc.org> <8548c5f30910032252p369ceca2q516b2744917cd1f0@mail.gmail.com> <200910041133.48076.lawgon@au-kbc.org> <3e3294b70910032317j4741dae3pbf89e1dac1c7ed48@mail.gmail.com> <3e3294b70910040637s602bb300i37c8407c342865e1@mail.gmail.com> <3e3294b70910040747y1c664b31y1e600c2ce1befc76@mail.gmail.com> Message-ID: <9963e56e0910050428u47d9675doc9a0262cf02b2645@mail.gmail.com> On Sun, Oct 4, 2009 at 8:17 PM, Pradeep Gowda wrote: [..] > Textpattern (a superb CMS written in PHP+MySQL) powers my wife's > recipe website and she likes it as a user and I as a very dormant > administrator. [..] I like textpattern. Something about their overall style and presentation makes it very.... retro classy. :) -- ~noufal http://nibrahim.net.in From lawgon at au-kbc.org Tue Oct 6 02:58:49 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Tue, 6 Oct 2009 06:28:49 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <9963e56e0910050428u47d9675doc9a0262cf02b2645@mail.gmail.com> References: <3e3294b70910040747y1c664b31y1e600c2ce1befc76@mail.gmail.com> <9963e56e0910050428u47d9675doc9a0262cf02b2645@mail.gmail.com> Message-ID: <200910060628.49701.lawgon@au-kbc.org> On Monday 05 Oct 2009 4:58:31 pm Noufal Ibrahim wrote: > On Sun, Oct 4, 2009 at 8:17 PM, Pradeep Gowda wrote: > [..] > > > Textpattern (a superb CMS written in PHP+MySQL) powers my wife's > > recipe website and she likes it as a user and I as a very dormant > > administrator. > > [..] > > I like textpattern. Something about their overall style and > presentation makes it very.... retro classy. :) cool looking site - and doesn't even have a security page! -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From carl at personnelware.com Tue Oct 6 02:40:49 2009 From: carl at personnelware.com (Carl Karsten) Date: Mon, 5 Oct 2009 19:40:49 -0500 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <200910060557.15609.lawgon@au-kbc.org> References: <9963e56e0910050416p32c18af2ua46be4893666b150@mail.gmail.com> <200910060557.15609.lawgon@au-kbc.org> Message-ID: <549053140910051740l7d3c69ccp7aba0a3fc835c321@mail.gmail.com> This just in: Drupal has been ported to Django http://drupy.net/ -- Carl K From baiju at muthukadan.net Sun Oct 4 08:30:15 2009 From: baiju at muthukadan.net (Baiju Muthukadan) Date: Sun, 4 Oct 2009 12:00:15 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: References: Message-ID: On Sun, Oct 4, 2009 at 7:30 AM, Baiju Muthukadan wrote: > I found this today at python.org : > > http://scipy.in/ I started this thread with the hope that they may get some encouragement. BangPypers is a group of Python programs. Do we need to care whether they do it for Desktop,Web or whatever purpose. Also we should encourage all kinds of Python flavors like CPython, IronPython, Jython etc. Please provide them some support, if possible. P.S: I am not a "Sci" guy, so I won't be going for this conference. Regards, Baiju M From abpillai at gmail.com Tue Oct 6 05:43:25 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 6 Oct 2009 09:13:25 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: References: Message-ID: <8548c5f30910052043q1fac4779occfed796490bcb29@mail.gmail.com> On Sun, Oct 4, 2009 at 12:00 PM, Baiju Muthukadan wrote: > On Sun, Oct 4, 2009 at 7:30 AM, Baiju Muthukadan > wrote: > > I found this today at python.org : > > > > http://scipy.in/ > > I started this thread with the hope that they may get some > encouragement. BangPypers is a group of Python programs. > You mean programmers, and a very sensitive group of programmers, mind you :-) > Do we need to care whether they do it for Desktop,Web or > whatever purpose. Also we should encourage all kinds > of Python flavors like CPython, IronPython, Jython etc. > Please provide them some support, if possible. > Unfortunately, I do, and a lot many others seems to. You would agree with many others who posted in this thread, that running a conf site about Python in Drupal is like going to the back-foot even before the very first ball is bowled. All the more if he is blogging about it and bashing Python frameworks while at it. Regarding any help, I doubt if they need any, since they seem to be well organized already. > P.S: I am not a "Sci" guy, so I won't be going for this conference. > > Yes, it surely is more Sci than Py I would say. Still, it would be a good conf for engineers and mathematicians and guys who need more insights into numerical and mathematical problem solving. > Regards, > Baiju M > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From cspesit at gmail.com Mon Oct 5 09:01:51 2009 From: cspesit at gmail.com (cspesit) Date: Mon, 5 Oct 2009 00:01:51 -0700 (PDT) Subject: [BangPypers] Anyone worked on GNuRadio out here? Message-ID: <25745999.post@talk.nabble.com> Hi guys, Working on a GNUradio project. Following error encountered when i run multi_usrp_rx_cfile.py [shesha2 at anrc multi_usrp]$ ./multi_usrp_rx_cfile.py Traceback (most recent call last): File "./multi_usrp_rx_cfile.py", line 18, in from gnuradio import usrp_multi ImportError: cannot import name usrp_multi Tried setting python path,manually copying usrp_multi to prsent working directory,not resolved Any inputs? Thanks Sudarshan 9-88-66-37-21-9 -- View this message in context: http://www.nabble.com/Anyone-worked-on-GNuRadio-out-here--tp25745999p25745999.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From bengkeatliew at gmail.com Tue Oct 6 04:46:43 2009 From: bengkeatliew at gmail.com (Liew BengKeat) Date: Tue, 6 Oct 2009 10:46:43 +0800 Subject: [BangPypers] PyCon APAC 2010 In-Reply-To: <9963e56e0910050022p2e1188a6j85d0d6e34042764d@mail.gmail.com> References: <9963e56e0910050022p2e1188a6j85d0d6e34042764d@mail.gmail.com> Message-ID: <3bcca90910051946x794f66denb8189cca7db99308@mail.gmail.com> Thks Noufal. Heard that you guys had a fantastic conference. Way to go! Hi all, we would love to hear of work that you guys are doing with Python. Steven Holden and Mark Hammond are coming amongst others. rgds Beng Keat On Mon, Oct 5, 2009 at 3:22 PM, Noufal Ibrahim wrote: > Hello everyone, > I'm assuming that the audience here is a superset of the one at > inpycon. This should reach everyone. > > During PyCon India, I received a couple of mails from the > organisers of the APAC PyCon 2010 in Singapore. They're interested in > coordinating Python efforts throughout the region and see India as one > of the countries which can make a mark. > > He's asked me to spread the word a little about the conference. I > mentioned their call for proposals at my talk during PyCon India. The > official site is at http://apac.pycon.org and the CFP links are at > http://pycon.sit.rp.sg/conference-1 and > http://pycon.sit.rp.sg/tutorial-1 > > I've uploaded the PDF version of the CFP at > http://nibrahim.net.in/PyCon-Asia-Pacific-Call for Paper.pdf (just in > case attachments are not allowed on this list). > > As with all conferences, it's only as good as the people who > participate and the papers that are presented so do try to pitch in. > > Thanks. > > > -- > ~noufal > http://nibrahim.net.in > -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Tue Oct 6 07:08:09 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 6 Oct 2009 10:38:09 +0530 Subject: [BangPypers] Anyone worked on GNuRadio out here? In-Reply-To: <25745999.post@talk.nabble.com> References: <25745999.post@talk.nabble.com> Message-ID: <9963e56e0910052208j11d3ed3epa24f00ad73c1e372@mail.gmail.com> On Mon, Oct 5, 2009 at 12:31 PM, cspesit wrote: > > Hi guys, > Working on a GNUradio project. > Following error encountered when i run multi_usrp_rx_cfile.py > > > [shesha2 at anrc multi_usrp]$ ./multi_usrp_rx_cfile.py > Traceback (most recent call last): > ?File "./multi_usrp_rx_cfile.py", line 18, in > ? ?from gnuradio import usrp_multi > ImportError: cannot import name usrp_multi I haven't worked on gnuradio myself but one thing that occurs to me that is that gnuradio is a python package and the __init__.py can't get imported for some reason. -- ~noufal http://nibrahim.net.in From noufal at gmail.com Tue Oct 6 05:47:19 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 6 Oct 2009 09:17:19 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: References: Message-ID: <9963e56e0910052047y4e3616a7k7a804c9f09b32ed3@mail.gmail.com> On Sun, Oct 4, 2009 at 12:00 PM, Baiju Muthukadan wrote: [..] > Please provide them some support, if possible. All power to them. The drupal selection is going to come up repeatedly though. -- ~noufal http://nibrahim.net.in From lawgon at au-kbc.org Tue Oct 6 08:28:58 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Tue, 6 Oct 2009 11:58:58 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <9963e56e0910052047y4e3616a7k7a804c9f09b32ed3@mail.gmail.com> References: <9963e56e0910052047y4e3616a7k7a804c9f09b32ed3@mail.gmail.com> Message-ID: <200910061158.58989.lawgon@au-kbc.org> On Tuesday 06 Oct 2009 9:17:19 am Noufal Ibrahim wrote: > On Sun, Oct 4, 2009 at 12:00 PM, Baiju Muthukadan > wrote: [..] > > > Please provide them some support, if possible. > > All power to them. > > The drupal selection is going to come up repeatedly though. and I am going to land in deep kaka in Ilugc - no one has noticed yet, and if any of you know any prayers please pray that no one notices. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From kadambari.devarajan at gmail.com Mon Oct 5 14:43:09 2009 From: kadambari.devarajan at gmail.com (Kadambari Devarajan) Date: Mon, 5 Oct 2009 18:13:09 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 Message-ID: Greetings, The first "Scientific Computing with Python" conference in India ( http://scipy.in) will be held from December 12th to 17th, 2009 at the Technopark in Trivandrum, Kerala, India (http://www.technopark.org/). The theme of the conference will be "Scientific Python in Action" with respect to application and teaching. We are pleased to have Travis Oliphant, the creator and lead developer of numpy (http://numpy.scipy.org) as the keynote speaker. Here is a rough schedule of the conference: Sat. Dec. 12 (conference) Sun. Dec. 13 (conference) Mon. Dec. 14 (tutorials) Tues. Dec. 15 (tutorials) Wed. Dec. 16 (sprint) Thu. Dec. 17 (sprint) The tutorial sessions will have two tracks, one specifically for teachers and one for the general public. There are no registration fees. Please register at: http://scipy.in The call for papers will be announced soon. This conference is organized by the FOSSEE project (http://fossee.in) funded by the Ministry of Human Resources and Development's National Mission on Education (NME) through Information and CommunicationTechnology (ICT) jointly with SPACE-Kerala (http://www.space-kerala.org). Regards, Kadambari Devarajan. -- Check out my blog at http://kadambarid.livejournal.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cranil89 at gmail.com Tue Oct 6 17:03:24 2009 From: cranil89 at gmail.com (Anil) Date: Tue, 06 Oct 2009 20:33:24 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: References: Message-ID: <4ACB5C3C.6070400@gmail.com> I so wanted to attend this too bad... I have my exams... :( where will the PyCon vids be put up? Kadambari Devarajan wrote: > Greetings, > > The first "Scientific Computing with Python" conference in India > (http://scipy.in ) will be held from December 12th > to 17th, 2009 at the > Technopark in Trivandrum, Kerala, India (http://www.technopark.org/). > > The theme of the conference will be "Scientific Python in Action" with > respect to application and teaching. We are pleased to have Travis > Oliphant, the creator and lead developer of numpy > (http://numpy.scipy.org ) as the keynote speaker. > > Here is a rough schedule of the conference: > > Sat. Dec. 12 (conference) > Sun. Dec. 13 (conference) > Mon. Dec. 14 (tutorials) > Tues. Dec. 15 (tutorials) > Wed. Dec. 16 (sprint) > Thu. Dec. 17 (sprint) > > The tutorial sessions will have two tracks, one specifically for > teachers and one for the general public. > > There are no registration fees. > > Please register at: > > http://scipy.in > > The call for papers will be announced soon. > > This conference is organized by the FOSSEE project (http://fossee.in > ) funded by the Ministry of Human Resources and > Development's National > Mission on Education (NME) through Information and > CommunicationTechnology (ICT) jointly with SPACE-Kerala > (http://www.space-kerala.org ). > > Regards, > Kadambari Devarajan. > > -- > Check out my blog at > http://kadambarid.livejournal.com > ------------------------------------------------------------------------ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From carl at personnelware.com Tue Oct 6 17:25:32 2009 From: carl at personnelware.com (Carl Karsten) Date: Tue, 6 Oct 2009 10:25:32 -0500 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <4ACB5C3C.6070400@gmail.com> References: <4ACB5C3C.6070400@gmail.com> Message-ID: <549053140910060825p81dc00paf962b41fa69ad7e@mail.gmail.com> On Tue, Oct 6, 2009 at 10:03 AM, Anil wrote: > I so wanted to attend this too bad... I have my exams... :( > where will the PyCon vids be put up? Forgive me if I am being typical... but if you mean these: http://pycon.blip.tv there they are. if you mean videos from scipy.in, I don't know if they are being recorded. However, if someone will cover my plane ticket and hotel room, I can handle the rest, including a nice intro "talk foo by bar brought to you by NiceCo.com" > > Kadambari Devarajan wrote: >> >> Greetings, >> >> The first "Scientific Computing with Python" conference in India >> (http://scipy.in ) will be held from December 12th to >> 17th, 2009 at the >> Technopark in Trivandrum, Kerala, India (http://www.technopark.org/). >> >> The theme of the conference will be "Scientific Python in Action" with >> respect to application and teaching. ?We are pleased to have Travis >> Oliphant, the creator and lead developer of numpy (http://numpy.scipy.org >> ) as the keynote speaker. >> >> Here is a rough schedule of the conference: >> >> ? Sat. ? ?Dec. 12 ?(conference) >> ? Sun. ? ?Dec. 13 ?(conference) >> ? Mon. ? Dec. 14 ?(tutorials) >> ? Tues. ?Dec. 15 ?(tutorials) >> ? Wed. ? Dec. 16 ?(sprint) >> ? Thu. ? ?Dec. 17 ?(sprint) >> >> The tutorial sessions will have two tracks, one specifically for teachers >> and one for the general public. >> >> There are no registration fees. >> >> Please register at: >> >> ? ? ? http://scipy.in >> >> The call for papers will be announced soon. >> >> This conference is organized by the FOSSEE project (http://fossee.in >> ) funded by the Ministry of Human Resources and >> Development's National >> Mission on Education (NME) through Information and CommunicationTechnology >> (ICT) jointly with SPACE-Kerala >> (http://www.space-kerala.org ). >> >> Regards, >> Kadambari Devarajan. >> >> -- >> Check out my blog at >> http://kadambarid.livejournal.com >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Carl K From anandology at gmail.com Tue Oct 6 17:54:25 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Tue, 6 Oct 2009 21:24:25 +0530 Subject: [BangPypers] Nested try-catch Message-ID: <41139fcb0910060854m3760c4ebs215e5b4e24e63cdb@mail.gmail.com> I encountered a tricky situation with nested try-catch. Here is the sample code: def f(): raise Exception("f") def g(): raise Exception("g") try: f() except: # do cleanup try: g() except: pass # ignore raise This code raises Exception("g") instead of Exception("f") as intended. The first exception is lost when the second one is generated. However, this issue has been resolved in Python 3.0. $ python2.5 a.py Traceback (most recent call last): File "a.py", line 13, in g() File "a.py", line 6, in g raise Exception("g") Exception: g $ python3.0 a.py Traceback (most recent call last): File "a.py", line 9, in f() File "a.py", line 3, in f raise Exception("f") Exception: f I managed to work-around that problem like this: try: f() except: x = sys.exc_info() # do cleanup try: g() except: pass # ignore raise x[0], x[1], x[2] It provides exception class, object and traceback to raise instead of letting raise take the last exception/traceback. Has anybody else faced similar situation? Any better solutions? Anand From lawgon at au-kbc.org Wed Oct 7 03:17:06 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 06:47:06 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: References: Message-ID: <200910070647.06621.lawgon@au-kbc.org> On Monday 05 Oct 2009 6:13:09 pm Kadambari Devarajan wrote: > The first "Scientific Computing with Python" conference in India ( > http://scipy.in) will be held from December 12th to 17th, 2009 at the > Technopark in Trivandrum, Kerala, India (http://www.technopark.org/). cool - I wish your conference all the best, but I have a serious beef. I would suggest that before spreading python around the world, you could take a few days off and spread python around your team. The post: http://fossee.in/whydrupal has not only exposed the abysmal ignorance of the author of all things python and spread FUD about plone, but is also a slap in the face for all of us who are engaged in python advocacy. How do you expect the public at large to take your advocacy of python seriously when your team itself expresses the opinion that python sucks? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From noufal at gmail.com Tue Oct 6 18:17:00 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 6 Oct 2009 21:47:00 +0530 Subject: [BangPypers] Nested try-catch In-Reply-To: <41139fcb0910060854m3760c4ebs215e5b4e24e63cdb@mail.gmail.com> References: <41139fcb0910060854m3760c4ebs215e5b4e24e63cdb@mail.gmail.com> Message-ID: <9963e56e0910060917x43fa76dch77633b78c36e50b1@mail.gmail.com> On Tue, Oct 6, 2009 at 9:24 PM, Anand Chitipothu wrote: [..] > > Has anybody else faced similar situation? Any better solutions? Can't say I've come across it. However, it looks like (and was classified as) a bug which is fixed. :) -- ~noufal http://nibrahim.net.in From anandology at gmail.com Wed Oct 7 06:18:35 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 7 Oct 2009 09:48:35 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910070647.06621.lawgon@au-kbc.org> References: <200910070647.06621.lawgon@au-kbc.org> Message-ID: <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> > cool - I wish your conference all the best, but I have a serious beef. I would > suggest that before spreading python around the world, you could take a few > days off and spread python around your team. The post: > ?http://fossee.in/whydrupal > > has not only exposed the abysmal ignorance of the author of all things python > and spread FUD about plone, but is also a slap in the face for all of us who > are engaged in python advocacy. I think they have done a quite good job of picking a random CMS and not wasting their valuable time in implementing a Python software for managing conference. > How do you expect the public at large to take > your advocacy of python seriously when your team itself expresses the opinion > that python sucks? They are only advocating Python for scientific community and not for web frameworks or CMSs. They are only expressing that there is no good CMS in Python. If you read it as "Python sucks", then it is your problem. Anand From lawgon at au-kbc.org Wed Oct 7 06:35:40 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 10:05:40 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 Message-ID: <200910071005.40521.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 9:48:35 am Anand Chitipothu wrote: > > and spread FUD about plone, but is also a slap in the face for all of us > > who are engaged in python advocacy. > > I think they have done a quite good job of picking a random CMS and > not wasting their valuable time in implementing a Python software for > managing conference. > > > How do you expect the public at large to take > > your advocacy of python seriously when your team itself expresses the > > opinion that python sucks? > > They are only advocating Python for scientific community and not for > web frameworks or CMSs. > They are only expressing that there is no good CMS in Python. If you > read it as "Python sucks", then it is your problem. I am not objecting to their choice of CMS, I am objecting to the blog post - which clearly sends the message that 'python sucks'. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From steve at lonetwin.net Wed Oct 7 06:43:06 2009 From: steve at lonetwin.net (steve) Date: Wed, 07 Oct 2009 10:13:06 +0530 Subject: [BangPypers] Nested try-catch In-Reply-To: <41139fcb0910060854m3760c4ebs215e5b4e24e63cdb@mail.gmail.com> References: <41139fcb0910060854m3760c4ebs215e5b4e24e63cdb@mail.gmail.com> Message-ID: <4ACC1C5A.1080401@lonetwin.net> Hi Anand, On 10/06/2009 09:24 PM, Anand Chitipothu wrote: > I encountered a tricky situation with nested try-catch. Here is the sample code: > I managed to work-around that problem like this: > [...snip...] > try: > f() > except: > x = sys.exc_info() > # do cleanup > try: > g() > except: > pass # ignore > raise x[0], x[1], x[2] > > It provides exception class, object and traceback to raise instead of > letting raise take the last exception/traceback. > > Has anybody else faced similar situation? Any better solutions? > Well, i am wondering why you are extracting the exc_info() rather than saving off the exception object itself: try: f() except Exception, e saved = e try: g() except: pass # ignore raise e I have not tested this on 3.0 but i am assuming this should work. If it doesn't try using finally: try: f() except Exception, e saved = e try: g() except: pass # ignore finally: raise e cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From anandology at gmail.com Wed Oct 7 06:45:36 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 7 Oct 2009 10:15:36 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910071005.40521.lawgon@au-kbc.org> References: <200910071005.40521.lawgon@au-kbc.org> Message-ID: <41139fcb0910062145s19f0a2c1y1c1d68bfdfd82e57@mail.gmail.com> > I am not objecting to their choice of CMS, I am objecting to the blog post - > which clearly sends the message that 'python sucks'. They only cribbed about Plone, Pinax and Django-cms. I can't see anything in that blog post that sounds as "python sucks". Did I miss anything? Can you please tell me which part of the post sounds like that? Anand From steve at lonetwin.net Wed Oct 7 06:46:45 2009 From: steve at lonetwin.net (steve) Date: Wed, 07 Oct 2009 10:16:45 +0530 Subject: [BangPypers] Nested try-catch In-Reply-To: <4ACC1C5A.1080401@lonetwin.net> References: <41139fcb0910060854m3760c4ebs215e5b4e24e63cdb@mail.gmail.com> <4ACC1C5A.1080401@lonetwin.net> Message-ID: <4ACC1D35.9050401@lonetwin.net> On 10/07/2009 10:13 AM, steve wrote: > Hi Anand, > Well, i am wondering why you are extracting the exc_info() rather than saving > off the exception object itself: > [...snip...] > raise e > [...snip...] > finally: > raise e > Ugh ! sorry, I meant 'raise saved' in both cases. cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From anandology at gmail.com Wed Oct 7 06:54:51 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 7 Oct 2009 10:24:51 +0530 Subject: [BangPypers] Nested try-catch In-Reply-To: <4ACC1C5A.1080401@lonetwin.net> References: <41139fcb0910060854m3760c4ebs215e5b4e24e63cdb@mail.gmail.com> <4ACC1C5A.1080401@lonetwin.net> Message-ID: <41139fcb0910062154g769a10c2m7919994990f07343@mail.gmail.com> > Well, i am wondering why you are extracting the exc_info() rather than > saving off the exception object itself: > try: > ? ?f() > except Exception, e > ? ?saved = e > ? ?try: > ? ? ? ?g() > ? ?except: > ? ? ? ?pass # ignore > ? ?raise e > > I have not tested this on 3.0 but i am assuming this should work. If it > doesn't try using finally: > > try: > ? ?f() > except Exception, e > ? ?saved = e > ? ?try: > ? ? ? ?g() > ? ?except: > ? ? ? ?pass # ignore > ? ?finally: > ? ? ? ?raise e You miss the traceback if you re-raise the exception. It produces this output: $ python b.py Traceback (most recent call last): File "b.py", line 17, in raise e Exception: f Instead of this: $ python a.py Traceback (most recent call last): File "a.py", line 9, in f() File "a.py", line 3, in f raise Exception("f") Exception: f When an exception is raised, traceback is taken from the current stack unless a traceback object is provided to it. I'm using sys.exc_info() to get the trackback of the original exception and using it when re-raising the exception. http://docs.python.org/reference/simple_stmts.html#raise And there is no need to add "saved = e" as the exception is already available as variable e. Anand From lawgon at au-kbc.org Wed Oct 7 07:00:42 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 10:30:42 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910062145s19f0a2c1y1c1d68bfdfd82e57@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <41139fcb0910062145s19f0a2c1y1c1d68bfdfd82e57@mail.gmail.com> Message-ID: <200910071030.42306.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 10:15:36 am Anand Chitipothu wrote: > > I am not objecting to their choice of CMS, I am objecting to the blog > > post - which clearly sends the message that 'python sucks'. > > They only cribbed about Plone, Pinax and Django-cms. I can't see > anything in that blog post that sounds as "python sucks". Did I miss > anything? Can you please tell me which part of the post sounds like > that? obviously the colour of the lenses of your specs differs from the colour of those of mine - to me the whole blog post spells, 'python sucks php rocks' to you it does not. There is no point in arguing about it. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From noufal at gmail.com Wed Oct 7 06:28:47 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 7 Oct 2009 09:58:47 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> Message-ID: <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> On Wed, Oct 7, 2009 at 9:48 AM, Anand Chitipothu wrote: [..] > They are only advocating Python for scientific community and not for > web frameworks or CMSs. > They are only expressing that there is no good CMS in Python. If you > read it as "Python sucks", then it is your problem. [..] That's how I read it as well but given the large number of web frameworks and CMSs for Python, this decision of theirs is going to come up repeatedly during their efforts. Also, the tone of that page was quite provocative. -- ~noufal http://nibrahim.net.in From bhaskar.jain2002 at gmail.com Wed Oct 7 05:51:23 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Wed, 7 Oct 2009 09:21:23 +0530 Subject: [BangPypers] Nested try-catch In-Reply-To: <9963e56e0910060917x43fa76dch77633b78c36e50b1@mail.gmail.com> References: <41139fcb0910060854m3760c4ebs215e5b4e24e63cdb@mail.gmail.com> <9963e56e0910060917x43fa76dch77633b78c36e50b1@mail.gmail.com> Message-ID: <7f2cbc970910062051p703c9634n115d13ee3beb3757@mail.gmail.com> Anand, nice find.. But i read this in python docs - " Warning Assigning the traceback return value to a local variable in a function that is handling an exception will cause a circular reference. This will prevent anything referenced by a local variable in the same function or by the traceback from being garbage collected. Since most functions don?t need access to the traceback, the best solution is to use something like exctype, value = sys.exc_info()[:2] to extract only the exception type and value. If you do need the traceback, make sure to delete it after use (best done with a try ... finally statement) or to call exc_info() in a function that does not itself handle an exception." --Bhaskar. On Tue, Oct 6, 2009 at 9:47 PM, Noufal Ibrahim wrote: > On Tue, Oct 6, 2009 at 9:24 PM, Anand Chitipothu > wrote: > [..] > > > > Has anybody else faced similar situation? Any better solutions? > > Can't say I've come across it. However, it looks like (and was > classified as) a bug which is fixed. :) > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shivraj.ms at gmail.com Wed Oct 7 08:10:19 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Tue, 6 Oct 2009 23:10:19 -0700 (PDT) Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <549053140910060825p81dc00paf962b41fa69ad7e@mail.gmail.com> References: <4ACB5C3C.6070400@gmail.com> <549053140910060825p81dc00paf962b41fa69ad7e@mail.gmail.com> Message-ID: <25781043.post@talk.nabble.com> > However, if someone will cover my plane ticket and hotel > room ..... Forgive me if I am being typical... Do you mean MHRD, India by "someone"? -- View this message in context: http://www.nabble.com/-ANN--X-Post--SciPy-India-conference-in-Dec.-2009-tp25770133p25781043.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From steve at lonetwin.net Wed Oct 7 08:35:18 2009 From: steve at lonetwin.net (steve) Date: Wed, 07 Oct 2009 12:05:18 +0530 Subject: [BangPypers] Nested try-catch In-Reply-To: <41139fcb0910062154g769a10c2m7919994990f07343@mail.gmail.com> References: <41139fcb0910060854m3760c4ebs215e5b4e24e63cdb@mail.gmail.com> <4ACC1C5A.1080401@lonetwin.net> <41139fcb0910062154g769a10c2m7919994990f07343@mail.gmail.com> Message-ID: <4ACC36A6.5020809@lonetwin.net> On 10/07/2009 10:24 AM, Anand Chitipothu wrote: > [...snip...] > When an exception is raised, traceback is taken from the current stack > unless a traceback object is provided to it. I'm using sys.exc_info() > to get the trackback of the original exception and using it when > re-raising the exception. > Ah ok. I assumed you were only interested catching exceptions rather than the exception itself, since you were using a blanket except statement. > http://docs.python.org/reference/simple_stmts.html#raise > > And there is no need to add "saved = e" as the exception is already > available as variable e. yeah, yeah :) ...that was just pseudo code to emphasize the fact that the object is available. In any case, if you really want to be pedantic, you ought to be raising custom exceptions rather than the base Exception object and also catching specific exceptions rather than a blanket except ! cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From abpillai at gmail.com Wed Oct 7 08:44:06 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 7 Oct 2009 12:14:06 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> Message-ID: <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> On Wed, Oct 7, 2009 at 9:58 AM, Noufal Ibrahim wrote: > On Wed, Oct 7, 2009 at 9:48 AM, Anand Chitipothu > wrote: > [..] > > They are only advocating Python for scientific community and not for > > web frameworks or CMSs. > > They are only expressing that there is no good CMS in Python. If you > > read it as "Python sucks", then it is your problem. > [..] > > That's how I read it as well but given the large number of web > frameworks and CMSs for Python, this decision of theirs is going to > come up repeatedly during their efforts. Also, the tone of that page > was quite provocative. > +1. You got to be a forgiving Solomon to remain so cool after reading that post and I am not one when it comes to rants which are baseless. If you agree with the poster that there are no good CMS in Python, then it is your problem and not an opinion many in this forum are willing to share. > > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at thenilgiris.com Wed Oct 7 06:28:37 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 09:58:37 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> Message-ID: <200910070958.37743.lawgon@thenilgiris.com> On Wednesday 07 Oct 2009 9:48:35 am Anand Chitipothu wrote: > > and spread FUD about plone, but is also a slap in the face for all of us > > who are engaged in python advocacy. > > I think they have done a quite good job of picking a random CMS and > not wasting their valuable time in implementing a Python software for > managing conference. > > > How do you expect the public at large to take > > your advocacy of python seriously when your team itself expresses the > > opinion that python sucks? > > They are only advocating Python for scientific community and not for > web frameworks or CMSs. > They are only expressing that there is no good CMS in Python. If you > read it as "Python sucks", then it is your problem. I am not objecting to their choice of CMS, I am objecting to the blog post - which clearly sends the message that 'python sucks'. -- regards kg http://lawgon.livejournal.com From hiddenharmony at gmail.com Wed Oct 7 09:14:33 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Wed, 7 Oct 2009 12:44:33 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910071005.40521.lawgon@au-kbc.org> References: <200910071005.40521.lawgon@au-kbc.org> Message-ID: <91bea30d0910070014h759ae7eaw80dcfd76ef682d16@mail.gmail.com> On Wed, Oct 7, 2009 at 10:05 AM, Kenneth Gonsalves wrote: > > I am not objecting to their choice of CMS, I am objecting to the blog post - > which clearly sends the message that 'python sucks'. Python do sucks when it comes to having a CMS. I am yet to find a decent CMS in python that gives me ease and flexibility of drupal. So you hardly have any option other than using Drupal even though PHP sucks. Part of this could be due tot he fact that Drupal has matured over a period of 9 years and has more contributors than any other CMS... regards Vivek -- The hidden harmony is better than the obvious!! From aneesh.nl at gmail.com Wed Oct 7 09:44:00 2009 From: aneesh.nl at gmail.com (Aneesh A) Date: Wed, 7 Oct 2009 13:14:00 +0530 Subject: [BangPypers] Pickle multiple objects Message-ID: <90c47fb0910070044t721eb188o75b6d6a8d730ee88@mail.gmail.com> Hi friends, I am new to python world. I am doing a small python game ( command line based). The problem is: 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?? I am attaching a source. Look the alpha. -- +91 903 755 72 73 For all hardware and software services, Computer assembling, Software Installation etc. My blog : http://xtenders.blogspot.com/ Earn money by Read/Write Articles: http://tr.im/znaZ Reading mails: http://tr.im/yEYk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: guess_me_0.9_alpha_1.py Type: application/octet-stream Size: 4077 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: guess_me_0.4_stable.py Type: application/octet-stream Size: 2259 bytes Desc: not available URL: From lawgon at au-kbc.org Wed Oct 7 09:42:08 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 13:12:08 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <91bea30d0910070014h759ae7eaw80dcfd76ef682d16@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <91bea30d0910070014h759ae7eaw80dcfd76ef682d16@mail.gmail.com> Message-ID: <200910071312.09062.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 12:44:33 pm Vivek Khurana wrote: > On Wed, Oct 7, 2009 at 10:05 AM, Kenneth Gonsalves wrote: > > I am not objecting to their choice of CMS, I am objecting to the blog > > post - which clearly sends the message that 'python sucks'. > > Python do sucks when it comes to having a CMS. I am yet to find a > decent CMS in python that gives me ease and flexibility of drupal. try plone > So > you hardly have any option other than using Drupal even though PHP > sucks. > Part of this could be due tot he fact that Drupal has matured over a > period of 9 years and has more contributors than any other CMS... if it has matured, how come there are still at least one critical security issue per month? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From rmathews at gmail.com Wed Oct 7 09:56:28 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 7 Oct 2009 13:26:28 +0530 Subject: [BangPypers] Pickle multiple objects In-Reply-To: <1c4dc2780910070053j1f338662u254c0f2c87e5f817@mail.gmail.com> References: <90c47fb0910070044t721eb188o75b6d6a8d730ee88@mail.gmail.com> <1c4dc2780910070053j1f338662u254c0f2c87e5f817@mail.gmail.com> Message-ID: <1c4dc2780910070056i4f2f240aic6946994bfd48311@mail.gmail.com> 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?? > > What does this do: > > import cPickle as pickle > list = [ (i, str(i)) for i in range(10) ] > print list > pickle.dump(list, file('dump', 'wb'), -1) > list = pickle.load(file('dump', 'rb')) > print list > Also, in store_highscores(highscore) the subject and verb don't match. Do you want to store_highscores(highscores) or store_highscore(highscore)? Roshan Mathews From noufal at gmail.com Wed Oct 7 07:01:10 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 7 Oct 2009 10:31:10 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: References: Message-ID: <9963e56e0910062201p616d189ene1d6f0af6c346fca@mail.gmail.com> On Mon, Oct 5, 2009 at 6:13 PM, Kadambari Devarajan wrote: > Greetings, > > The first "Scientific Computing with Python" conference in India > (http://scipy.in) will be held from December 12th to 17th, 2009 at the > Technopark in Trivandrum, Kerala, India (http://www.technopark.org/). 5 days worth Sci and Py is a lot. :) I'll definitely be there. It would be great to meet up with fossee people again too. [..] -- ~noufal http://nibrahim.net.in From rmathews at gmail.com Wed Oct 7 09:53:22 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 7 Oct 2009 13:23:22 +0530 Subject: [BangPypers] Pickle multiple objects In-Reply-To: <90c47fb0910070044t721eb188o75b6d6a8d730ee88@mail.gmail.com> References: <90c47fb0910070044t721eb188o75b6d6a8d730ee88@mail.gmail.com> Message-ID: <1c4dc2780910070053j1f338662u254c0f2c87e5f817@mail.gmail.com> 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?? What does this do: import cPickle as pickle list = [ (i, str(i)) for i in range(10) ] print list pickle.dump(list, file('dump', 'wb'), -1) list = pickle.load(file('dump', 'rb')) print list Roshan Mathews From lawgon at au-kbc.org Wed Oct 7 10:00:44 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 13:30:44 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <9963e56e0910062201p616d189ene1d6f0af6c346fca@mail.gmail.com> References: <9963e56e0910062201p616d189ene1d6f0af6c346fca@mail.gmail.com> Message-ID: <200910071330.45227.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 10:31:10 am Noufal Ibrahim wrote: > On Mon, Oct 5, 2009 at 6:13 PM, Kadambari Devarajan > > wrote: > > Greetings, > > > > The first "Scientific Computing with Python" conference in India > > (http://scipy.in) will be held from December 12th to 17th, 2009 at the > > Technopark in Trivandrum, Kerala, India (http://www.technopark.org/). > > 5 days worth Sci and Py is a lot. :) > > I'll definitely be there. It would be great to meet up with fossee > people again too. me too - have some inlaws to visit, and I would love to meet the author of the (in)famous blog post ;-) -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From sidharth.kuruvila at gmail.com Wed Oct 7 10:37:16 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Wed, 7 Oct 2009 14:07:16 +0530 Subject: [BangPypers] Pickle multiple objects In-Reply-To: <90c47fb0910070044t721eb188o75b6d6a8d730ee88@mail.gmail.com> References: <90c47fb0910070044t721eb188o75b6d6a8d730ee88@mail.gmail.com> Message-ID: <2ab2ed550910070137i14d194c5t87438e6db12412ec@mail.gmail.com> Hi, I'm guessing you want to do something like this >>> fo = file("test.pkl", "w") >>> pickle.dump([1,2,3,4], fo) >>> pickle.dump([5,6,7,8], fo) >>> fo.close() >>> fi = file("test.pkl") >>> pickle.load(fi) [1, 2, 3, 4] >>> pickle.load(fi) [5, 6, 7, 8] >>> pickle.load(fi) Traceback (most recent call last): File "", line 1, in pickle.load(fi) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pickle.py", line 1370, in load return Unpickler(file).load() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pickle.py", line 858, in load dispatch[key](self) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pickle.py", line 880, in load_eof raise EOFError EOFError You will need to handle the EOFError in a try catch block. maybe def pickledobjects(f): try: while True: yield pickle.load(f) except EOFError: pass objs = list(pickledobjects(file("fi"))) Though, is this isn't a large amount of data, I'd recommend just storing the data in a single object and writing that to the file. On Wed, Oct 7, 2009 at 1:14 PM, Aneesh A wrote: > Hi friends, > I am new to python world. I am doing a small python game ( command line > based). The problem is: > > 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?? > > I am attaching a source. > > Look the alpha. > > -- I am but a man. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sidharth.kuruvila at gmail.com Wed Oct 7 10:40:15 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Wed, 7 Oct 2009 14:10:15 +0530 Subject: [BangPypers] Pickle multiple objects In-Reply-To: <90c47fb0910070044t721eb188o75b6d6a8d730ee88@mail.gmail.com> References: <90c47fb0910070044t721eb188o75b6d6a8d730ee88@mail.gmail.com> Message-ID: <2ab2ed550910070140g36c089e3y35a974f444af2d22@mail.gmail.com> Oops formatting got mucked up. Should be def pickledobjects(f): try: while True: yield pickle.load(f) except EOFError: pass objs = list(pickledobjects(file("fi"))) -------------- next part -------------- An HTML attachment was scrubbed... URL: From hiddenharmony at gmail.com Wed Oct 7 10:28:17 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Wed, 7 Oct 2009 13:58:17 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910071312.09062.lawgon@au-kbc.org> References: <200910071005.40521.lawgon@au-kbc.org> <91bea30d0910070014h759ae7eaw80dcfd76ef682d16@mail.gmail.com> <200910071312.09062.lawgon@au-kbc.org> Message-ID: <91bea30d0910070128xb4f3a19sfb5be4b56f760556@mail.gmail.com> On Wed, Oct 7, 2009 at 1:12 PM, Kenneth Gonsalves wrote: > On Wednesday 07 Oct 2009 12:44:33 pm Vivek Khurana wrote: > > if it has matured, how come there are still at least one critical security > issue per month? Good question... would you point me to a software that doesnt have security issue ? And the security issue is handled before it starts affecting the deployed sites, is a sign of maturity itself... regards Vivek -- The hidden harmony is better than the obvious!! From lawgon at au-kbc.org Wed Oct 7 11:46:50 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 15:16:50 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <91bea30d0910070128xb4f3a19sfb5be4b56f760556@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <200910071312.09062.lawgon@au-kbc.org> <91bea30d0910070128xb4f3a19sfb5be4b56f760556@mail.gmail.com> Message-ID: <200910071516.50661.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 1:58:17 pm Vivek Khurana wrote: > On Wed, Oct 7, 2009 at 1:12 PM, Kenneth Gonsalves wrote: > > On Wednesday 07 Oct 2009 12:44:33 pm Vivek Khurana wrote: > > > > if it has matured, how come there are still at least one critical > > security issue per month? > > Good question... would you point me to a software that doesnt have > security issue ? django, plone has about one issue every two years - usually minor and not affecting anything critical. There is something radically wrong in a software that gets one core critical issue a month (even then drupal is better than wordpress that churns out such things 2 or 3 times a month). -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From anandology at gmail.com Wed Oct 7 11:56:38 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 7 Oct 2009 15:26:38 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910071516.50661.lawgon@au-kbc.org> References: <200910071005.40521.lawgon@au-kbc.org> <200910071312.09062.lawgon@au-kbc.org> <91bea30d0910070128xb4f3a19sfb5be4b56f760556@mail.gmail.com> <200910071516.50661.lawgon@au-kbc.org> Message-ID: <41139fcb0910070256r659a50cfu7125d78e8cead599@mail.gmail.com> > django, plone has about one issue every two years - usually minor and not > affecting anything critical. There is something radically wrong in a software > that gets one core critical issue a month (even then drupal is better than > wordpress that churns out such things 2 or 3 times a month). Django is not a CMS. Setting up Plone and customizing is not very easy. I have tried and gave up. Most Plone sites have a typical plone look and it indicates that it is not easy to customize that. Try comparing number of themes available for Drupal and Plone. Anand From anandology at gmail.com Wed Oct 7 12:02:33 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 7 Oct 2009 15:32:33 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> Message-ID: <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> >> That's how I read it as well but given the large number of web >> frameworks and CMSs for Python, this decision of theirs is going to >> come up repeatedly during their efforts. Also, the tone of that page >> was quite provocative. > > ? +1. You got to be a forgiving Solomon to remain so cool after reading that > ?post and I am not one when it comes to rants which are baseless. If you > ?agree with the poster that there are no good CMS in Python, then it is your > ?problem and not an opinion many in this forum are willing to share. You may not agree to the view that Python doesn't have good CMS softwares. But saying that there is good CMS in python doesn't mean "python sucks". If there are good CMS softwares in Python then why nobody in this group hasn't named a single one other than Plone? Anand From rajeev.sebastian at gmail.com Wed Oct 7 12:09:11 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Wed, 7 Oct 2009 15:39:11 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> Message-ID: <79a035420910070309i14cd0b2fhc80414626199c368@mail.gmail.com> On Wed, Oct 7, 2009 at 3:32 PM, Anand Chitipothu wrote: > You may not agree to the view that Python doesn't have good CMS > softwares. But saying that there is good CMS in python doesn't mean > "python sucks". > > If there are good CMS softwares in Python then why nobody in this > group hasn't named a single one other than Plone? +1 Also, there is a project made by one of my friends - drupy its called (implementation of drupal in python). they are doing a line-by-line translation of drupal to python. Regards Rajeev J Sebastian From abpillai at gmail.com Wed Oct 7 12:11:06 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 7 Oct 2009 15:41:06 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070256r659a50cfu7125d78e8cead599@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <200910071312.09062.lawgon@au-kbc.org> <91bea30d0910070128xb4f3a19sfb5be4b56f760556@mail.gmail.com> <200910071516.50661.lawgon@au-kbc.org> <41139fcb0910070256r659a50cfu7125d78e8cead599@mail.gmail.com> Message-ID: <8548c5f30910070311s7b3ff462h4b645420187062e4@mail.gmail.com> On Wed, Oct 7, 2009 at 3:26 PM, Anand Chitipothu wrote: > > django, plone has about one issue every two years - usually minor and not > > affecting anything critical. There is something radically wrong in a > software > > that gets one core critical issue a month (even then drupal is better > than > > wordpress that churns out such things 2 or 3 times a month). > > Django is not a CMS. > Technically yes, but practically Django is the closest you can get to write CMS-y apps in Python apart from Plone. So though "Django is not CMS", "Django has CMS" and in pratical terms, that is good enough to say Djangi is like a CMS in common parlance. At least this is what I have heard directly from people who build and support Django based websites in production, such as Ramdas. This is what is said in the Django FAQ also. > > Setting up Plone and customizing is not very easy. I have tried and > gave up. Most Plone sites have a typical plone look and it indicates > that it is not easy to customize that. Try comparing number of themes > available for Drupal and Plone. > It did not look like the scipy.in site is customizable. I registerd as a user there and there was no user customization options. But perhaps you just mean site level customization. Btw, don't say Plone is not customizable. We use Plone in the EIAO project and has create an entirely different product called worksite out of it customizing it in every possible fashion. Of course the person behind it is a Python wiz, but it is not an impossible task to do as you are trying to make it sound. > > Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Wed Oct 7 12:14:23 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 7 Oct 2009 15:44:23 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <79a035420910070309i14cd0b2fhc80414626199c368@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> <79a035420910070309i14cd0b2fhc80414626199c368@mail.gmail.com> Message-ID: <8548c5f30910070314p7bb9af78ybb0760524a4fe120@mail.gmail.com> On Wed, Oct 7, 2009 at 3:39 PM, Rajeev J Sebastian < rajeev.sebastian at gmail.com> wrote: > On Wed, Oct 7, 2009 at 3:32 PM, Anand Chitipothu > wrote: > > You may not agree to the view that Python doesn't have good CMS > > softwares. But saying that there is good CMS in python doesn't mean > > "python sucks". > > > > If there are good CMS softwares in Python then why nobody in this > > group hasn't named a single one other than Plone? > > +1 > > Also, there is a project made by one of my friends - drupy its called > (implementation of drupal in python). they are doing a line-by-line > translation of drupal to python. > -1. Not a great way to build software. I wonder what they will end up with. You might end up with some-thing half-assed that is neither Drupal nor Python. Instead of doing line by line, do it at module level and with a proper top down design. That way you would perhaps avoid some design flaws in the original software. > > Regards > Rajeev J Sebastian > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From rajeev.sebastian at gmail.com Wed Oct 7 12:18:13 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Wed, 7 Oct 2009 15:48:13 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <8548c5f30910070314p7bb9af78ybb0760524a4fe120@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> <79a035420910070309i14cd0b2fhc80414626199c368@mail.gmail.com> <8548c5f30910070314p7bb9af78ybb0760524a4fe120@mail.gmail.com> Message-ID: <79a035420910070318u6c4c99ge52c7cac1c0bde44@mail.gmail.com> On Wed, Oct 7, 2009 at 3:44 PM, Anand Balachandran Pillai wrote: > ? -1. Not a great way to build software. I wonder what they will > ? end up with. You might end up with some-thing half-assed that > ? is neither Drupal nor Python. > > ?Instead of doing line by line, do it at module level and with a proper > ?top down design. That way you would perhaps avoid some design > ?flaws in the original software. LOL ... thats exactly what I told him :) Regards Rajeev J Sebastian From lawgon at au-kbc.org Wed Oct 7 12:17:16 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 15:47:16 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070256r659a50cfu7125d78e8cead599@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <200910071516.50661.lawgon@au-kbc.org> <41139fcb0910070256r659a50cfu7125d78e8cead599@mail.gmail.com> Message-ID: <200910071547.16698.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 3:26:38 pm Anand Chitipothu wrote: > > django, plone has about one issue every two years - usually minor and not > > affecting anything critical. There is something radically wrong in a > > software that gets one core critical issue a month (even then drupal is > > better than wordpress that churns out such things 2 or 3 times a month). > > Django is not a CMS. it is software - the OP had asked for a software that does not have security issues. django is one such. > > Setting up Plone and customizing is not very easy. I have tried and > gave up. me too - but what is needed here is out-of-the-box use, as Pradeep pointed out, the default plone is all they need. No need for any customising. > Most Plone sites have a typical plone look and it indicates > that it is not easy to customize that. Try comparing number of themes > available for Drupal and Plone. well the singapore guys seem to have done a good job with the default plone. After all this is a website for an organisation, not a fashion competition. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Wed Oct 7 12:18:07 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 15:48:07 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> References: <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> Message-ID: <200910071548.07936.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 3:32:33 pm Anand Chitipothu wrote: > > +1. You got to be a forgiving Solomon to remain so cool after reading > > that post and I am not one when it comes to rants which are baseless. If > > you agree with the poster that there are no good CMS in Python, then it > > is your problem and not an opinion many in this forum are willing to > > share. > > You may not agree to the view that Python doesn't have good CMS > softwares. But saying that there is good CMS in python doesn't mean > "python sucks". > > If there are good CMS softwares in Python then why nobody in this > group hasn't named a single one other than Plone? because plone is a killer app and has killed all the other python CMS's -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From anandology at gmail.com Wed Oct 7 12:24:30 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 7 Oct 2009 15:54:30 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <8548c5f30910070311s7b3ff462h4b645420187062e4@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <200910071312.09062.lawgon@au-kbc.org> <91bea30d0910070128xb4f3a19sfb5be4b56f760556@mail.gmail.com> <200910071516.50661.lawgon@au-kbc.org> <41139fcb0910070256r659a50cfu7125d78e8cead599@mail.gmail.com> <8548c5f30910070311s7b3ff462h4b645420187062e4@mail.gmail.com> Message-ID: <41139fcb0910070324i334bb661wf221abe40ee6d1fc@mail.gmail.com> On Wed, Oct 7, 2009 at 3:41 PM, Anand Balachandran Pillai wrote: > > > On Wed, Oct 7, 2009 at 3:26 PM, Anand Chitipothu > wrote: >> >> > django, plone has about one issue every two years - usually minor and >> > not >> > affecting anything critical. There is something radically wrong in a >> > software >> > that gets one core critical issue a month (even then drupal is better >> > than >> > wordpress that churns out such things 2 or 3 times a month). >> >> Django is not a CMS. > > ? Technically yes, but practically Django is the closest you can get to > ? write CMS-y apps in Python apart from Plone. So though "Django is not > ? CMS", "Django has CMS" and in pratical terms, that is good enough to > ? say Djangi is like a CMS in common parlance. At least this is what I have > ? heard directly from people who build and support Django based websites > ? in production, such as Ramdas. > > ? This is what is said in the Django FAQ also. Be practical. You are asking to write a Django application and start customizing it by writing code and take the headache of maintaining it? >> Setting up Plone and customizing is not very easy. I have tried and >> gave up. Most Plone sites have a typical plone look and it indicates >> that it is not easy to customize that. Try comparing number of themes >> available for Drupal and Plone. > > ?It did not look like the scipy.in site is customizable.? I registerd as a > user > ?there and there was no user customization options. But perhaps you > ?just mean site level customization. I'm taking about customizing appearance. > ?Btw, don't say Plone is not customizable. We use Plone in the EIAO > ?project and has create an entirely different product called worksite out > ?of it customizing it in every possible fashion. Of course the person behind > ?it is a Python wiz, but it is not an impossible task to do as you are > trying > ?to make it sound. The person behind Plone might be a wiz and it might be possible to build super-powerful websites using Plone. But Drupal beats Plone when it comes to setting up simple websites like a conference website and customizing look and feel. >From the appearance I can immediately say that http://www.eiao.net/ is running on Plone. It has a typical Plone look. I couldn't say that scipy.in is running on Drupal just from it look and feel. Btw, some part or whole of scipy.in is running on Django. http://scipy.in/scope Anand From rajeev.sebastian at gmail.com Wed Oct 7 12:25:31 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Wed, 7 Oct 2009 15:55:31 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910071548.07936.lawgon@au-kbc.org> References: <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> <200910071548.07936.lawgon@au-kbc.org> Message-ID: <79a035420910070325s2f05e726hedca0cf01f4f8c83@mail.gmail.com> On Wed, Oct 7, 2009 at 3:48 PM, Kenneth Gonsalves wrote: > On Wednesday 07 Oct 2009 3:32:33 pm Anand Chitipothu wrote: >> > ? +1. You got to be a forgiving Solomon to remain so cool after reading >> > that post and I am not one when it comes to rants which are baseless. If >> > you agree with the poster that there are no good CMS in Python, then it >> > is your problem and not an opinion many in this forum are willing to >> > share. >> >> You may not agree to the view that Python doesn't have good CMS >> softwares. But saying that there is good CMS in python doesn't mean >> "python sucks". >> >> If there are good CMS softwares in Python then why nobody in this >> group hasn't named a single one other than Plone? > > because plone is a killer app and has killed all the other python CMS's I think its because its just so damn easy to roll-your-own that it doesnt matter. I'm sure many people on this list have rolled their own blogs, etc perhaps combining some existing apps for the purpose (My blog http://www.rajeevsebastian.com uses lifeflow with some custom mods and a custom skin). Regards Rajeev J Sebastian From anandology at gmail.com Wed Oct 7 12:27:14 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 7 Oct 2009 15:57:14 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910071548.07936.lawgon@au-kbc.org> References: <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> <200910071548.07936.lawgon@au-kbc.org> Message-ID: <41139fcb0910070327v7d418622w96a3f96133ad8987@mail.gmail.com> On Wed, Oct 7, 2009 at 3:48 PM, Kenneth Gonsalves wrote: > On Wednesday 07 Oct 2009 3:32:33 pm Anand Chitipothu wrote: >> > ? +1. You got to be a forgiving Solomon to remain so cool after reading >> > that post and I am not one when it comes to rants which are baseless. If >> > you agree with the poster that there are no good CMS in Python, then it >> > is your problem and not an opinion many in this forum are willing to >> > share. >> >> You may not agree to the view that Python doesn't have good CMS >> softwares. But saying that there is good CMS in python doesn't mean >> "python sucks". >> >> If there are good CMS softwares in Python then why nobody in this >> group hasn't named a single one other than Plone? > > because plone is a killer app and has killed all the other python CMS's So you agreed to my point. 1. Plone is difficult to customize 2. There are no good CMS softwares written in Python other than Plone From anandology at gmail.com Wed Oct 7 12:30:59 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 7 Oct 2009 16:00:59 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <79a035420910070325s2f05e726hedca0cf01f4f8c83@mail.gmail.com> References: <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> <200910071548.07936.lawgon@au-kbc.org> <79a035420910070325s2f05e726hedca0cf01f4f8c83@mail.gmail.com> Message-ID: <41139fcb0910070330o694b9372v1e0107570328f40a@mail.gmail.com> > > I think its because its just so damn easy to roll-your-own that it > doesnt matter. > > I'm sure many people on this list have rolled their own blogs, etc > perhaps combining some existing apps for the purpose (My blog > http://www.rajeevsebastian.com uses lifeflow with some custom mods and > a custom skin). Possible. But writing a software requires time and you need to maintain it. I'm not arguing that Python is not good language for writing a CMS software. I'm just stating the fact that there are no good CMS softwares written in Python. Anand From rajeev.sebastian at gmail.com Wed Oct 7 12:40:08 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Wed, 7 Oct 2009 16:10:08 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070330o694b9372v1e0107570328f40a@mail.gmail.com> References: <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> <200910071548.07936.lawgon@au-kbc.org> <79a035420910070325s2f05e726hedca0cf01f4f8c83@mail.gmail.com> <41139fcb0910070330o694b9372v1e0107570328f40a@mail.gmail.com> Message-ID: <79a035420910070340k69469610r96091849f79c8f8c@mail.gmail.com> On Wed, Oct 7, 2009 at 4:00 PM, Anand Chitipothu wrote: >> >> I think its because its just so damn easy to roll-your-own that it >> doesnt matter. >> >> I'm sure many people on this list have rolled their own blogs, etc >> perhaps combining some existing apps for the purpose (My blog >> http://www.rajeevsebastian.com uses lifeflow with some custom mods and >> a custom skin). > > Possible. But writing a software requires time and you need to maintain it. > > I'm not arguing that Python is not good language for writing a CMS > software. I'm just stating the fact that there are no good CMS > softwares written in Python. I agree with you, rolling your own can't be a general practice. I was responding to the comment about Plone being a "killer" application. Last I looked at it, it was so comprehensive and mind-boggling that, I think it killed *me* ;) Regards Rajeev J Sebastian From abpillai at gmail.com Wed Oct 7 12:40:11 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 7 Oct 2009 16:10:11 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070324i334bb661wf221abe40ee6d1fc@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <200910071312.09062.lawgon@au-kbc.org> <91bea30d0910070128xb4f3a19sfb5be4b56f760556@mail.gmail.com> <200910071516.50661.lawgon@au-kbc.org> <41139fcb0910070256r659a50cfu7125d78e8cead599@mail.gmail.com> <8548c5f30910070311s7b3ff462h4b645420187062e4@mail.gmail.com> <41139fcb0910070324i334bb661wf221abe40ee6d1fc@mail.gmail.com> Message-ID: <8548c5f30910070340u7e711d06o72abc891b2428ed8@mail.gmail.com> On Wed, Oct 7, 2009 at 3:54 PM, Anand Chitipothu wrote: > > > This is what is said in the Django FAQ also. > > Be practical. You are asking to write a Django application and start > customizing it by writing code and take the headache of maintaining > it? > It is super-easy to write CMS-y applications in Django. I have written one for my personal use (for monitoring investments) at home with my limited knowledge of Django. I can tell you I enjoyed it. The whole admin module of Django makes maintainence easy. > > >> Setting up Plone and customizing is not very easy. I have tried and > >> gave up. Most Plone sites have a typical plone look and it indicates > >> that it is not easy to customize that. Try comparing number of themes > >> available for Drupal and Plone. > > > > It did not look like the scipy.in site is customizable. I registerd as > a > > user > > there and there was no user customization options. But perhaps you > > just mean site level customization. > > I'm taking about customizing appearance. > > Hmmm.... they are running a conf website, aren't they ? Well, I dont want to argue too much but a CMS system is not all about customizing appearance and theming. > > The person behind Plone might be a wiz and it might be possible to > build super-powerful websites using Plone. But Drupal beats Plone when > it comes to setting up simple websites like a conference website and > customizing look and feel. > > >From the appearance I can immediately say that http://www.eiao.net/ is > running on Plone. It has a typical Plone look. I couldn't say that > scipy.in is running on Drupal just from it look and feel. > There is another reason why they chose Plone which you are not aware of and which many people miss when building websites. Plone is one CMS which is most developer friendly when building accessible websites, which the disabled and blind want to access. Since this project is all about accessibility, they chose it. The developer being a Python wiz helped, but that is not the main reason, nor is any special love for Python. The whole website is keyboard navigable and highly accessible. Also try http://ws.eiao.net/ for a slightly different look and feel, though I agree it is still "Plone"-ish. > > Btw, some part or whole of scipy.in is running on Django. > > http://scipy.in/scope > EOF. Let them run whatever they feel like. I am out of this conversation. > > Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From madhusudancs at gmail.com Wed Oct 7 12:40:23 2009 From: madhusudancs at gmail.com (Madhusudan C.S) Date: Wed, 7 Oct 2009 16:10:23 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 Message-ID: Hello everyone, > > On Wed, Oct 7, 2009 at 3:41 PM, Anand Balachandran Pillai > wrote: > > > > > > On Wed, Oct 7, 2009 at 3:26 PM, Anand Chitipothu > > wrote: > >> > >> > django, plone has about one issue every two years - usually minor and > >> > not > >> > affecting anything critical. There is something radically wrong in a > >> > software > >> > that gets one core critical issue a month (even then drupal is better > >> > than > >> > wordpress that churns out such things 2 or 3 times a month). > >> > >> Django is not a CMS. > > > > ? Technically yes, but practically Django is the closest you can get to > > ? write CMS-y apps in Python apart from Plone. So though "Django is not > > ? CMS", "Django has CMS" and in pratical terms, that is good enough to > > ? say Djangi is like a CMS in common parlance. At least this is what I > have > > ? heard directly from people who build and support Django based websites > > ? in production, such as Ramdas. > > > > ? This is what is said in the Django FAQ also. > > Be practical. You are asking to write a Django application and start > customizing it by writing code and take the headache of maintaining > it? > > >> Setting up Plone and customizing is not very easy. I have tried and > >> gave up. Most Plone sites have a typical plone look and it indicates > >> that it is not easy to customize that. Try comparing number of themes > >> available for Drupal and Plone. > > > > ?It did not look like the scipy.in site is customizable.? I registerd as > a > > user > > ?there and there was no user customization options. But perhaps you > > ?just mean site level customization. > > I'm taking about customizing appearance. > > > ?Btw, don't say Plone is not customizable. We use Plone in the EIAO > > ?project and has create an entirely different product called worksite out > > ?of it customizing it in every possible fashion. Of course the person > behind > > ?it is a Python wiz, but it is not an impossible task to do as you are > > trying > > ?to make it sound. > > The person behind Plone might be a wiz and it might be possible to > build super-powerful websites using Plone. But Drupal beats Plone when > it comes to setting up simple websites like a conference website and > customizing look and feel. > > >From the appearance I can immediately say that http://www.eiao.net/ is > running on Plone. It has a typical Plone look. I couldn't say that > scipy.in is running on Drupal just from it look and feel. > > Btw, some part or whole of scipy.in is running on Django. > > http://scipy.in/scope > Thanks for clarifying. We(The Python group of the FOSSEE team) have been looking at this thread and the thread on Scipy India 2009 - SciPy.in. I don't want to make any comments on the exchanges in the threads. This is a blog post from one of the senior persons in the team on the subject: http://fossee.in/blog/drupal -- Thanks and regards, Madhusudan.C.S FOSSEE Team -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Wed Oct 7 12:39:05 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 16:09:05 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070327v7d418622w96a3f96133ad8987@mail.gmail.com> References: <200910071548.07936.lawgon@au-kbc.org> <41139fcb0910070327v7d418622w96a3f96133ad8987@mail.gmail.com> Message-ID: <200910071609.05191.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 3:57:14 pm Anand Chitipothu wrote: > > because plone is a killer app and has killed all the other python CMS's > > So you agreed to my point. > > 1. Plone is difficult to customize customise as in maybe interfacing it with an RDBMS - otherwise it is dead easy to add new apps - and there are zillions of them. > 2. There are no good CMS softwares written in Python other than Plone yes, as far as I know. Incidentally this is not a mere academic discussion for me. I am engaged in a major war in Chennai LUG about what kind of website is needed. One side wants drupal, the other side says that drupal has too much bloat and too many unwanted features and it is better to have a simple site with minimal features. So we have two sites as demos and the users have to choose between them. One in drupal. The other in django. Both with minimal features. The problem arose because the old site was in drupal and it got cracked and all the old data was lost. you can see the two sites at http://demo.ilugc.org.in and http://demo.ilugc.in this unfortunate blog post would have tilted a lot of votes against me - fortunately the attention span of the average php/drupal phanbhoy is minimal and no one noticed it. the difference between the two sites is that the django site has only what is seen - the other one has a zillion features, all of them disabled. I leave it to you to guess which is which. So why only one python CMS? Mainly because most developers (as opposed to weekend warriors) can so easily make sites *precisely* suited to the needs in python, that no one realy needs a CMS with a million unused features. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Wed Oct 7 12:41:58 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 16:11:58 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070330o694b9372v1e0107570328f40a@mail.gmail.com> References: <79a035420910070325s2f05e726hedca0cf01f4f8c83@mail.gmail.com> <41139fcb0910070330o694b9372v1e0107570328f40a@mail.gmail.com> Message-ID: <200910071611.58830.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 4:00:59 pm Anand Chitipothu wrote: > > I'm sure many people on this list have rolled their own blogs, etc > > perhaps combining some existing apps for the purpose (My blog > > http://www.rajeevsebastian.com uses lifeflow with some custom mods and > > a custom skin). > > Possible. But writing a software requires time and you need to maintain it. how much time? I wrote and deployed the ilugc.org.in site in two hours and deployed it in 10 minutes and I can happily sleep at night because I know there will be no need for security patches and maintainence. The biggest job is the weekly svn up in the django source. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From anandology at gmail.com Wed Oct 7 12:57:36 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 7 Oct 2009 16:27:36 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910071611.58830.lawgon@au-kbc.org> References: <79a035420910070325s2f05e726hedca0cf01f4f8c83@mail.gmail.com> <41139fcb0910070330o694b9372v1e0107570328f40a@mail.gmail.com> <200910071611.58830.lawgon@au-kbc.org> Message-ID: <41139fcb0910070357s2ffdd74fl30543ddc37518f26@mail.gmail.com> >> >> Possible. But writing a software requires time and you need to maintain it. > > how much time? I wrote and deployed the ilugc.org.in site in two hours and > deployed it in 10 minutes and I can happily sleep at night because I know > there will be no need for security patches and maintainence. The biggest job > is the weekly svn up in the django source. It took a month for in.pycon.org website to come up. What about that? From lawgon at au-kbc.org Wed Oct 7 12:59:55 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 16:29:55 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070357s2ffdd74fl30543ddc37518f26@mail.gmail.com> References: <200910071611.58830.lawgon@au-kbc.org> <41139fcb0910070357s2ffdd74fl30543ddc37518f26@mail.gmail.com> Message-ID: <200910071629.55284.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 4:27:36 pm Anand Chitipothu wrote: > >> Possible. But writing a software requires time and you need to maintain > >> it. > > > > how much time? I wrote and deployed the ilugc.org.in site in two hours > > and deployed it in 10 minutes and I can happily sleep at night because I > > know there will be no need for security patches and maintainence. The > > biggest job is the weekly svn up in the django source. > > It took a month for in.pycon.org website to come up. What about that? a. it was slightly more complex than a simple cms b. it did not take a month, the approval process took a month - the site was up in a day or two at the most. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From abpillai at gmail.com Wed Oct 7 13:06:36 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 7 Oct 2009 16:36:36 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: References: Message-ID: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> On Wed, Oct 7, 2009 at 4:10 PM, Madhusudan C.S wrote: > > > Thanks for clarifying. We(The Python group of the FOSSEE team) have been > looking at this thread and the thread on Scipy India 2009 - SciPy.in. > > I don't want to make any comments on the exchanges in the threads. > > This is a blog post from one of the senior persons in the team on the > subject: http://fossee.in/blog/drupal > This is a much more sensible post that then "Why Drupal" one, the tone of which started the whole conversation. And forums like these exist for enthusiasts to indulge in lively, no-holds-barred and quite often very critical discussions. The rights are more than "inalienable", they are fundamental. > > > -- > Thanks and regards, > Madhusudan.C.S > > FOSSEE Team > > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From pasokan at gmail.com Wed Oct 7 13:14:10 2009 From: pasokan at gmail.com (Asokan Pichai) Date: Wed, 7 Oct 2009 16:44:10 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> References: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> Message-ID: <5de036dc0910070414r58faa3d1wd0ccdf2b17959c5f@mail.gmail.com> Dear Anand, It is as much your assumption that KG's one line comment referred to scipy.in that started this. And the first page of fossee.in explains that python is only one of the components of the project. All the comments about the appropriateness of drupal for a python conference site are misguided--because the conference site __is__ in django. And equally inappropriate are the comments along the lines of 'for propagating python how can you use drupal?' because the site is for more than python and that is explained in the first page. Now I am as much a fan of the no-holds barred discussions, but I would like draw the line at comments that are not informed about the subject matter at hand Asokan Pichai On Wed, Oct 7, 2009 at 4:36 PM, Anand Balachandran Pillai wrote: > > > On Wed, Oct 7, 2009 at 4:10 PM, Madhusudan C.S > wrote: >> >> >> Thanks for clarifying. We(The Python group of the FOSSEE team) have been >> looking at this thread and the thread on Scipy India 2009 - SciPy.in. >> >> I don't want to make any comments on the exchanges in the threads. >> >> This is a blog post from one of the senior persons in the team on the >> subject:? http://fossee.in/blog/drupal > > ? This is a much more sensible post that then "Why Drupal" one, the > ?? tone of which started the whole conversation. > > ?? And forums like these exist for enthusiasts to indulge in lively, > no-holds-barred > ?? and quite often very critical discussions.? The rights are more than > ?? "inalienable", they are fundamental. > >> >> >> >> -- >> Thanks and regards, >> ?Madhusudan.C.S >> >> FOSSEE Team >> >> > > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Asokan Pichai *-------------------* We will find a way. Or, make one. (Hannibal) From lawgon at au-kbc.org Wed Oct 7 13:13:31 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 16:43:31 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> References: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> Message-ID: <200910071643.32036.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 4:36:36 pm Anand Balachandran Pillai wrote: > wrote: > > Thanks for clarifying. We(The Python group of the FOSSEE team) have been > > looking at this thread and the thread on Scipy India 2009 - SciPy.in. > > > > I don't want to make any comments on the exchanges in the threads. > > > > This is a blog post from one of the senior persons in the team on the > > subject: http://fossee.in/blog/drupal > > This is a much more sensible post that then "Why Drupal" one, the > tone of which started the whole conversation. > > And forums like these exist for enthusiasts to indulge in lively, > no-holds-barred > and quite often very critical discussions. The rights are more than > "inalienable", they are fundamental. yes - and one can appreciate the fossee people for permitting even a junior member to sound off even though they would not necessarily agree with him. Even in a liberal place like NRC-FOSS I would have had to go to bat on behalf of a junior member who put his foot in his mouth like this - with no guarantee that I would not be bowled first ball ;-) -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Wed Oct 7 13:21:54 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 16:51:54 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <5de036dc0910070414r58faa3d1wd0ccdf2b17959c5f@mail.gmail.com> References: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> <5de036dc0910070414r58faa3d1wd0ccdf2b17959c5f@mail.gmail.com> Message-ID: <200910071651.54423.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 4:44:10 pm Asokan Pichai wrote: > It is as much your assumption that KG's one line comment referred to > scipy.in that started this. And the first page of fossee.in explains > that python is only one of the components of the project. my objection was not to the use of drupal - after all one does not get passionate over the use of a tool - if it works for the person who has to use it, no problem. My objection was to the blog post 'whydrupal?'. The whole tone and attitude seriously upset me. > > All the comments about the appropriateness of drupal for a python > conference site are misguided--because the conference site __is__ in > django. so what prevents you from mentioning it in the footer? surely it is a good thing to acknowledge the software used? btw, I registered at the site, but am unable to log in (possibly log in is disabled?) > > And equally inappropriate are the comments along the lines of 'for > propagating python how can you use drupal?' because the site is for > more than python and that is explained in the first page. as far as I am concerned, the only thing that I object to is the blog post. Yes, freedom of expression is cool, but certainly not in an official website (that *is* the official website of fossee is it not?). It is generally not advisable to permit people to put up whatever they want on an official website (unless you plan to take responsibility for it). > > Now I am as much a fan of the no-holds barred discussions, but I would > like draw the line at comments that are not informed about the subject > matter at hand the comments were well informed of all the information available. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Wed Oct 7 13:25:32 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 7 Oct 2009 16:55:32 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <5de036dc0910070414r58faa3d1wd0ccdf2b17959c5f@mail.gmail.com> References: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> <5de036dc0910070414r58faa3d1wd0ccdf2b17959c5f@mail.gmail.com> Message-ID: <200910071655.32468.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 4:44:10 pm Asokan Pichai wrote: > All the comments about the appropriateness of drupal for a python > conference site are misguided--because the conference site __is__ in > django. incidentally there is a readymade locally available conference management software made in django, available free of cost. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From pasokan at gmail.com Wed Oct 7 13:44:55 2009 From: pasokan at gmail.com (Asokan Pichai) Date: Wed, 7 Oct 2009 17:14:55 +0530 Subject: [BangPypers] [OT] Re: [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> References: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> Message-ID: <5de036dc0910070444w34248f2eke0d7e1b85b84f6e9@mail.gmail.com> > ?? and quite often very critical discussions.? The rights are more than > ?? "inalienable", they are fundamental. > inalienable: unable to be taken away from or given away by the possessor Does not seem to be lesser than Fundamental to me. -- Asokan Pichai *-------------------* We will find a way. Or, make one. (Hannibal) From abpillai at gmail.com Wed Oct 7 14:33:36 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 7 Oct 2009 18:03:36 +0530 Subject: [BangPypers] [OT] Re: [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <5de036dc0910070444w34248f2eke0d7e1b85b84f6e9@mail.gmail.com> References: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> <5de036dc0910070444w34248f2eke0d7e1b85b84f6e9@mail.gmail.com> Message-ID: <8548c5f30910070533x7809b37cn919c566548e1eb40@mail.gmail.com> On Wed, Oct 7, 2009 at 5:14 PM, Asokan Pichai wrote: > > and quite often very critical discussions. The rights are more than > > "inalienable", they are fundamental. > > > > inalienable: > unable to be taken away from or given away by the possessor > > Does not seem to be lesser than Fundamental to me. > Consider it a sarcastic reply to the thinly veiled sarcasm in the 2nd line of his post. In fact, inalienable rights are more "fundamental" than fundamental rights. But that is out of context w.r.t this thread. You are welcome to a direct discussion with me. > > -- > Asokan Pichai > *-------------------* > We will find a way. Or, make one. (Hannibal) > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Wed Oct 7 12:30:58 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 7 Oct 2009 16:00:58 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070324i334bb661wf221abe40ee6d1fc@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <200910071312.09062.lawgon@au-kbc.org> <91bea30d0910070128xb4f3a19sfb5be4b56f760556@mail.gmail.com> <200910071516.50661.lawgon@au-kbc.org> <41139fcb0910070256r659a50cfu7125d78e8cead599@mail.gmail.com> <8548c5f30910070311s7b3ff462h4b645420187062e4@mail.gmail.com> <41139fcb0910070324i334bb661wf221abe40ee6d1fc@mail.gmail.com> Message-ID: <9963e56e0910070330l3a192586yc64e9e4b9a172716@mail.gmail.com> On Wed, Oct 7, 2009 at 3:54 PM, Anand Chitipothu wrote: [..] > Btw, some part or whole of scipy.in is running on Django. [..] Scipy.in is in django fossee.in is drupal Details here http://fossee.in/blog/Drupal -- ~noufal http://nibrahim.net.in From noufal at gmail.com Wed Oct 7 13:50:41 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 7 Oct 2009 17:20:41 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <5de036dc0910070414r58faa3d1wd0ccdf2b17959c5f@mail.gmail.com> References: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> <5de036dc0910070414r58faa3d1wd0ccdf2b17959c5f@mail.gmail.com> Message-ID: <9963e56e0910070450x50040929qab57761e744dc0d9@mail.gmail.com> On Wed, Oct 7, 2009 at 4:44 PM, Asokan Pichai wrote: [..] > And equally inappropriate are the comments along the lines of 'for > propagating python how can you use drupal?' because the site is for > more than python and that is explained in the first page. [..] Like I said earlier, selection of a non python thing for a conference that's atleast partially Python related coupled with the tone of the "whydrupal" page is going to steer a lot of heated conversations your way. Not that there's anything wrong with doing that (the right tool for the job etc.) but it's a conversation piece this is going to be the first of many such 'discussions' you're going to witness. :) -- ~noufal http://nibrahim.net.in From bhaskar.jain2002 at gmail.com Wed Oct 7 06:50:15 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Wed, 7 Oct 2009 10:20:15 +0530 Subject: [BangPypers] Fwd: Nested try-catch In-Reply-To: <7f2cbc970910062051p703c9634n115d13ee3beb3757@mail.gmail.com> References: <41139fcb0910060854m3760c4ebs215e5b4e24e63cdb@mail.gmail.com> <9963e56e0910060917x43fa76dch77633b78c36e50b1@mail.gmail.com> <7f2cbc970910062051p703c9634n115d13ee3beb3757@mail.gmail.com> Message-ID: <7f2cbc970910062150u37822081raada368b4ea18027@mail.gmail.com> My mails seem not to go :( ---------- Forwarded message ---------- From: bhaskar jain Date: Wed, Oct 7, 2009 at 9:21 AM Subject: Re: [BangPypers] Nested try-catch To: Bangalore Python Users Group - India Anand, nice find.. But i read this in python docs - " Warning Assigning the traceback return value to a local variable in a function that is handling an exception will cause a circular reference. This will prevent anything referenced by a local variable in the same function or by the traceback from being garbage collected. Since most functions don?t need access to the traceback, the best solution is to use something like exctype, value = sys.exc_info()[:2] to extract only the exception type and value. If you do need the traceback, make sure to delete it after use (best done with a try ... finally statement) or to call exc_info() in a function that does not itself handle an exception." --Bhaskar. On Tue, Oct 6, 2009 at 9:47 PM, Noufal Ibrahim wrote: > On Tue, Oct 6, 2009 at 9:24 PM, Anand Chitipothu > wrote: > [..] > > > > Has anybody else faced similar situation? Any better solutions? > > Can't say I've come across it. However, it looks like (and was > classified as) a bug which is fixed. :) > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Wed Oct 7 15:13:17 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 7 Oct 2009 18:43:17 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <9963e56e0910070450x50040929qab57761e744dc0d9@mail.gmail.com> References: <8548c5f30910070406o78a854a5w78327acf5f5d0f71@mail.gmail.com> <5de036dc0910070414r58faa3d1wd0ccdf2b17959c5f@mail.gmail.com> <9963e56e0910070450x50040929qab57761e744dc0d9@mail.gmail.com> Message-ID: <8548c5f30910070613n2c4559dfk8bbace02c3455a4c@mail.gmail.com> On Wed, Oct 7, 2009 at 5:20 PM, Noufal Ibrahim wrote: > On Wed, Oct 7, 2009 at 4:44 PM, Asokan Pichai wrote: > [..] > > And equally inappropriate are the comments along the lines of 'for > > propagating python how can you use drupal?' because the site is for > > more than python and that is explained in the first page. > [..] > > Like I said earlier, selection of a non python thing for a conference > that's atleast partially Python related coupled with the tone of the > "whydrupal" page is going to steer a lot of heated conversations your > way. Not that there's anything wrong with doing that (the right tool > for the job etc.) > Couldn't help add this tailpiece... :-> You were perhaps technically correct in your decision, but politically incorrect... All the best to the conference! > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From kadambari.devarajan at gmail.com Wed Oct 7 10:49:13 2009 From: kadambari.devarajan at gmail.com (Kadambari Devarajan) Date: Wed, 7 Oct 2009 14:19:13 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: <8548c5f30910052043q1fac4779occfed796490bcb29@mail.gmail.com> References: <8548c5f30910052043q1fac4779occfed796490bcb29@mail.gmail.com> Message-ID: Hi All, On Tue, Oct 6, 2009 at 9:13 AM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > Yes, it surely is more Sci than Py I would say. Still, it would be a good > conf for engineers and mathematicians and guys who need more > insights into numerical and mathematical problem solving. > > Prabhu Ramachandran is writing a blog post on Python and Scientfic Computing. I will send the link once it is up on the site. Cheers, Kadambari. -- Check out my blog at http://kadambarid.livejournal.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Wed Oct 7 12:47:17 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 7 Oct 2009 16:17:17 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: References: Message-ID: <9963e56e0910070347k673d44c5we47c0b89dbbb3b73@mail.gmail.com> On Wed, Oct 7, 2009 at 4:10 PM, Madhusudan C.S wrote: [..] > Thanks for clarifying. We(The Python group of the FOSSEE team) have been > looking at this thread and the thread on Scipy India 2009 - SciPy.in. > > I don't want to make any comments on the exchanges in the threads. > > This is a blog post from one of the senior persons in the team on the > subject:? http://fossee.in/blog/drupal [..] Your focus on your actual project rather than on a (rather passionate as far as I can tell) discussion about selection of CMSs speaks highly of your commitment. All the best with the conference. :) -- ~noufal http://nibrahim.net.in From noufal at gmail.com Wed Oct 7 12:08:25 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 7 Oct 2009 15:38:25 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910071516.50661.lawgon@au-kbc.org> References: <200910071005.40521.lawgon@au-kbc.org> <200910071312.09062.lawgon@au-kbc.org> <91bea30d0910070128xb4f3a19sfb5be4b56f760556@mail.gmail.com> <200910071516.50661.lawgon@au-kbc.org> Message-ID: <9963e56e0910070308p39f723f4h97c1ecf4bdc80668@mail.gmail.com> On Wed, Oct 7, 2009 at 3:16 PM, Kenneth Gonsalves wrote: [..] > django, plone has about one issue every two years - usually minor and not > affecting anything critical. There is something radically wrong in a software > that gets one core critical issue a month (even then drupal is better than > wordpress that churns out such things 2 or 3 times a month).[..] One thing to consider is that the number of deployed installations of PHP based CMSs like Drupal and Wordpress is much MUCH higher than the Python based ones like Plone. That alone will skew the numbers quite a bit. There are cases of course where the software itself was not designed with security in mind perhaps for an earlier era (eg. Sendmail) where the number of exploits is quite high but I don't think Drupal falls into this category. Your comment however begs the question - do you feel that one of the reasons why Drupal is 'insecure' because it's coded in PHP? -- ~noufal http://nibrahim.net.in From noufal at gmail.com Wed Oct 7 09:50:07 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 7 Oct 2009 13:20:07 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <91bea30d0910070014h759ae7eaw80dcfd76ef682d16@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <91bea30d0910070014h759ae7eaw80dcfd76ef682d16@mail.gmail.com> Message-ID: <9963e56e0910070050p1b78b89bl36e583c7c22aaff5@mail.gmail.com> On Wed, Oct 7, 2009 at 12:44 PM, Vivek Khurana wrote: > On Wed, Oct 7, 2009 at 10:05 AM, Kenneth Gonsalves wrote: >> >> I am not objecting to their choice of CMS, I am objecting to the blog post - >> which clearly sends the message that 'python sucks'. > > ?Python do sucks when it comes to having a CMS. I am yet to find a > decent CMS in python that gives me ease and flexibility of drupal. So > you hardly have any option other than using Drupal even though PHP > sucks. > ?Part of this could be due tot he fact that Drupal has matured over a > period of 9 years and has more contributors than any other CMS... I think so. PHP apps have had a headstart when it comes to the web. Especially boilerplate applications like forums, bulletin boards, CMSs etc. Many of the heavy duty sites out there use PHP as well (eg. Wikipedia). Wordpress for example has a really nasty security record but it's probably one of the most widely used CMS/blogging apps out there. It takes about a minute to install and set up and has a huge community with themes, plugins etc which makes it quite compelling even if you're a python person. I asked around about this when I was planning on moving away from WP for my own blog and most of the people on the python channel were of the opinion that people use Python blogging platforms simply because they are in *python* rather than for any other technical reasons and that was disheartening. Python does work a lot better when you're developing a new app from scratch though IMHO and in a while, if people fix the deployment hassles, I think it can make headway. -- ~noufal http://nibrahim.net.in From noufal at gmail.com Wed Oct 7 12:14:07 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 7 Oct 2009 15:44:07 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> Message-ID: <9963e56e0910070314n31f197aex355cdc1e76874bb4@mail.gmail.com> On Wed, Oct 7, 2009 at 3:32 PM, Anand Chitipothu wrote: [..] > If there are good CMS softwares in Python then why nobody in this > group hasn't named a single one other than Plone? [..] Perhaps not a general drupal like CMS but infogami which you work on is surely an option? -- ~noufal http://nibrahim.net.in From anandology at gmail.com Wed Oct 7 19:03:33 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 7 Oct 2009 22:33:33 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <9963e56e0910070314n31f197aex355cdc1e76874bb4@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> <9963e56e0910070314n31f197aex355cdc1e76874bb4@mail.gmail.com> Message-ID: <41139fcb0910071003y7f29f80dr5c7171e0128aba14@mail.gmail.com> On Wed, Oct 7, 2009 at 3:44 PM, Noufal Ibrahim wrote: > On Wed, Oct 7, 2009 at 3:32 PM, Anand Chitipothu wrote: > [..] >> If there are good CMS softwares in Python then why nobody in this >> group hasn't named a single one other than Plone? > [..] > > Perhaps not a general drupal like CMS but infogami which you work on > is surely an option? It is not production ready. Anand From pradeep at btbytes.com Wed Oct 7 20:37:59 2009 From: pradeep at btbytes.com (Pradeep Gowda) Date: Wed, 7 Oct 2009 14:37:59 -0400 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <41139fcb0910071003y7f29f80dr5c7171e0128aba14@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> <9963e56e0910070314n31f197aex355cdc1e76874bb4@mail.gmail.com> <41139fcb0910071003y7f29f80dr5c7171e0128aba14@mail.gmail.com> Message-ID: <3e3294b70910071137s380996cek2ab7435f12bb8b91@mail.gmail.com> > On Wed, Oct 7, 2009 at 3:32 PM, Anand Chitipothu wrote: > [..] >> If there are good CMS softwares in Python then why nobody in this >> group hasn't named a single one other than Plone? > [..] There is Skeletonz http://orangoo.com/skeletonz/ Which is pretty "user friendly" from the demos I see. Some of the sites built using are : http://aspuru.unix.fas.harvard.edu/About/ and http://birc.au.dk/ which are pretty good looking sites and they are also similar to the demography of the site maintainers of FOSEE. Skeletonz's developer is amix.dk who is a well known python dev (Plurk project etc.,) And of course there is Zine whose administrative interface is closely modeled after wordpress to help people transition over from WP. Our own Jace uses it to power his blog - http://jace.zaiki.in The source for some of his improvements can be found here : http://bitbucket.org/jace Zine is also very easy to template because it uses JInja (a templating language inspired by Django's templating). MoinMoin is a good candidate too, if you know how to create new templates and hide the "wiki" artefacts like navigation elements. There are more, let me know what are the parameters you are using to choose your own ;) +PG From pradeep at btbytes.com Wed Oct 7 20:53:15 2009 From: pradeep at btbytes.com (Pradeep Gowda) Date: Wed, 7 Oct 2009 14:53:15 -0400 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <3e3294b70910071137s380996cek2ab7435f12bb8b91@mail.gmail.com> References: <200910070647.06621.lawgon@au-kbc.org> <41139fcb0910062118w1e0f05d3v444f677fd9859e27@mail.gmail.com> <9963e56e0910062128m5537c508sdd1f544230856a72@mail.gmail.com> <8548c5f30910062344m4a80449bx2d8218e5b52ff373@mail.gmail.com> <41139fcb0910070302w6c8d46bfk570282a35d7b0b70@mail.gmail.com> <9963e56e0910070314n31f197aex355cdc1e76874bb4@mail.gmail.com> <41139fcb0910071003y7f29f80dr5c7171e0128aba14@mail.gmail.com> <3e3294b70910071137s380996cek2ab7435f12bb8b91@mail.gmail.com> Message-ID: <3e3294b70910071153y7a5632fdl4fc3852795a749ff@mail.gmail.com> On Wed, Oct 7, 2009 at 2:37 PM, Pradeep Gowda wrote: >> On Wed, Oct 7, 2009 at 3:32 PM, Anand Chitipothu wrote: >> [..] >>> If there are good CMS softwares in Python then why nobody in this >>> group hasn't named a single one other than Plone? >> [..] > > There is Skeletonz http://orangoo.com/skeletonz/ > > Which is pretty "user friendly" from the demos I see. > > Some of the sites built using are : > http://aspuru.unix.fas.harvard.edu/About/ and http://birc.au.dk/ > which are pretty good looking sites and they are also similar to the > demography of the site maintainers of FOSEE. > > Skeletonz's developer is amix.dk who is a well known python dev (Plurk > project etc.,) > > And of course there is Zine whose administrative interface is closely > modeled after wordpress to help people > transition over from WP. > > Our own Jace uses it to power his blog - http://jace.zaiki.in > The source for some of his improvements ?can be found here : > http://bitbucket.org/jace > > Zine is also very easy to template because it uses JInja (a templating > language inspired by Django's templating). > > MoinMoin is a good candidate too, if you know how to create new > templates and hide the "wiki" artefacts like navigation elements. > > There are more, let me know what are the parameters you are using to > choose your own ;) I'm replying to my own post here.. But wanted to add: Zine's website is : http://zine.pocoo.org Zine is not *just* a blogging software. Zine can be configured to have a "fixed" home page and sections and of course a blog/news. The advantage of using Zine is, it is a WSGI aware server which can be wired together with other software including those built using django/pylons/zope etc., Zine is primarily developed by Armin Ronacher who has also brought to us Pygments (syntax highlighting), Sphinx (the official python documentation framework), so zine has some serious muscles behind it. +PG From kadambari.devarajan at gmail.com Wed Oct 7 10:40:47 2009 From: kadambari.devarajan at gmail.com (Kadambari Devarajan) Date: Wed, 7 Oct 2009 14:10:47 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910070647.06621.lawgon@au-kbc.org> References: <200910070647.06621.lawgon@au-kbc.org> Message-ID: Hi All, On Wed, Oct 7, 2009 at 6:47 AM, Kenneth Gonsalves wrote: > cool - I wish your conference all the best, > Thank you. > but I have a serious beef. I would suggest that before spreading python > around the world, you could take a fewdays off and spread python around your > team. The post: > http://fossee.in/whydrupal > Kindly do check http://fossee.in/blog/Drupal. I will be forwarding this to Asokan Pichai who will be sending a more detailed reply. Cheers, Kadambari Devarajan. -- Check out my blog at http://kadambarid.livejournal.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Thu Oct 8 01:31:13 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 8 Oct 2009 05:01:13 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <9963e56e0910070308p39f723f4h97c1ecf4bdc80668@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <200910071516.50661.lawgon@au-kbc.org> <9963e56e0910070308p39f723f4h97c1ecf4bdc80668@mail.gmail.com> Message-ID: <200910080501.13455.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 3:38:25 pm Noufal Ibrahim wrote: > On Wed, Oct 7, 2009 at 3:16 PM, Kenneth Gonsalves > wrote: [..] > > > django, plone has about one issue every two years - usually minor and not > > affecting anything critical. There is something radically wrong in a > > software that gets one core critical issue a month (even then drupal is > > better than wordpress that churns out such things 2 or 3 times a > > month).[..] > > One thing to consider is that the number of deployed installations of > PHP based CMSs like Drupal and Wordpress is much MUCH higher than the > Python based ones like Plone. That alone will skew the numbers quite a > bit. > > There are cases of course where the software itself was not designed > with security in mind perhaps for an earlier era (eg. Sendmail) where > the number of exploits is quite high but I don't think Drupal falls > into this category. > > Your comment however begs the question - do you feel that one of the > reasons why Drupal is 'insecure' because it's coded in PHP? frankly I have no idea - apart from the empirical observation that most PHP apps have security pages/mailing lists and most python apps do not have them. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From abpillai at gmail.com Thu Oct 8 06:48:20 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 8 Oct 2009 10:18:20 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910080501.13455.lawgon@au-kbc.org> References: <200910071005.40521.lawgon@au-kbc.org> <200910071516.50661.lawgon@au-kbc.org> <9963e56e0910070308p39f723f4h97c1ecf4bdc80668@mail.gmail.com> <200910080501.13455.lawgon@au-kbc.org> Message-ID: <8548c5f30910072148i6f7c3108vdb4993a0c147c251@mail.gmail.com> On Thu, Oct 8, 2009 at 5:01 AM, Kenneth Gonsalves wrote: > On Wednesday 07 Oct 2009 3:38:25 pm Noufal Ibrahim wrote: > > On Wed, Oct 7, 2009 at 3:16 PM, Kenneth Gonsalves > > wrote: [..] > > > > > django, plone has about one issue every two years - usually minor and > not > > > affecting anything critical. There is something radically wrong in a > > > software that gets one core critical issue a month (even then drupal is > > > better than wordpress that churns out such things 2 or 3 times a > > > month).[..] > > > > One thing to consider is that the number of deployed installations of > > PHP based CMSs like Drupal and Wordpress is much MUCH higher than the > > Python based ones like Plone. That alone will skew the numbers quite a > > bit. > > > > There are cases of course where the software itself was not designed > > with security in mind perhaps for an earlier era (eg. Sendmail) where > > the number of exploits is quite high but I don't think Drupal falls > > into this category. > > > > Your comment however begs the question - do you feel that one of the > > reasons why Drupal is 'insecure' because it's coded in PHP. > Yes. Take a look at the cyber security bulletin from U.S home land security for Jan 09 as an example. http://www.us-cert.gov/cas/bulletins/SB09-033.html I did a quick n dirty count using browser find in Firefox, and counted about 12 vulnerabilities related to Python in total. For PHP, I counted 25 and stopped counting. Of course, there is always the argument that Python is much less used on the web as opposed to PHP, which is the reason for this. You can find an argument in the lines of that here, http://fourkitchens.com/blog/2009/04/03/vulnerability-reports-are-not-indications-weakness He quotes Linus out of context, which is "Given enough eyeballs, all bugs are shallow" which however does not imply , "Not given enough eyeballs, shallow bugs are actually deep pits waiting to be exploited". This is at best a strawman argument. > > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From jaganadhg at gmail.com Thu Oct 8 07:31:43 2009 From: jaganadhg at gmail.com (JAGANADH G) Date: Thu, 8 Oct 2009 11:01:43 +0530 Subject: [BangPypers] Fwd: [fsug-tvm][X] National workshop on SciPy - November 7-8, 2009 In-Reply-To: <8f3468040910072158q14575cb9p6ef19d4bb25234a2@mail.gmail.com> References: <8f3468040910072158q14575cb9p6ef19d4bb25234a2@mail.gmail.com> Message-ID: ---------- Forwarded message ---------- From: Sajjad Anwar Date: Thu, Oct 8, 2009 at 10:28 AM Subject: [fsug-tvm] National workshop on SciPy - November 7-8, 2009 To: fsug-calicut , fsug-tvm < ilug-tvm at googlegroups.com>, fsug-lbs at googlegroups.com, mes-fsug at googlegroups.com Hello everyone Looks like University of Calicut is organizing a National workshop on SciPy, before the big event in collaboration with SPACE and FOSSEE. Dates are Novermber 7-8, 2009 Details are here http://c11.space-kerala.org/scipy/?q=node For Registration http://c11.space-kerala.org/scipy/?q=user/register Regards. -- Sajjad Anwar http://geohackers.in http://fsugcalicut.org +91 9995 19 13 12 --~--~---------~--~----~------------~-------~--~----~ "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups "ilug-tvm" group. To post to this group, send email to ilug-tvm at googlegroups.com To unsubscribe from this group, send email to ilug-tvm-unsubscribe at googlegroups.com For details visit the website: www.ilug-tvm.org or the google group page: http://groups.google.com/group/ilug-tvm?hl=en -~----------~----~----~----~------~----~------~--~--- -- ********************************** JAGANADH G http://jaganadhg.freeflux.net/blog Sent from Chennai, TN, India -------------- next part -------------- An HTML attachment was scrubbed... URL: From jadhav.harshal at gmail.com Thu Oct 8 02:45:39 2009 From: jadhav.harshal at gmail.com (harshal jadhav) Date: Wed, 7 Oct 2009 17:45:39 -0700 Subject: [BangPypers] array in python Message-ID: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> Hi Everybody, I am Harshal Jadhav, student at San Jose State University. I am using Python for my Master's project and i am a beginner. 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 python? Regards, Harshal Jadhav -------------- next part -------------- An HTML attachment was scrubbed... URL: From anandology at gmail.com Thu Oct 8 08:25:26 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Thu, 8 Oct 2009 11:55:26 +0530 Subject: [BangPypers] array in python In-Reply-To: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> References: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> Message-ID: <41139fcb0910072325s3494729dp12cf969f64c6a31e@mail.gmail.com> Harshal, I don't think anybody in this mailing list has experience with GNU Radio. Have you tried asking in GNU Radio mailing lists? http://gnuradio.org/trac/wiki/MailingLists Anand On Thu, Oct 8, 2009 at 6:15 AM, harshal jadhav wrote: > Hi Everybody, > > I am Harshal Jadhav, student at San Jose State University. > > I am using Python for my Master's project and i am a beginner. > > 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 > python? > > Regards, > Harshal Jadhav > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > From abpillai at gmail.com Thu Oct 8 08:27:53 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 8 Oct 2009 11:57:53 +0530 Subject: [BangPypers] array in python In-Reply-To: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> References: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> Message-ID: <8548c5f30910072327l6426d3b7y79a31fcdb0034b40@mail.gmail.com> On Thu, Oct 8, 2009 at 6:15 AM, harshal jadhav wrote: > Hi Everybody, > > I am Harshal Jadhav, student at San Jose State University. > > I am using Python for my Master's project and i am a beginner. > > 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 > python? > > Regards, > Harshal Jadhav > Please register at the site for further postings. I approved the posting even though you are a non-member. > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From pasokan at gmail.com Thu Oct 8 08:37:36 2009 From: pasokan at gmail.com (Asokan Pichai) Date: Thu, 8 Oct 2009 12:07:36 +0530 Subject: [BangPypers] array in python In-Reply-To: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> References: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> Message-ID: <5de036dc0910072337r5d168ff9rf2eb027acb336208@mail.gmail.com> I think this may be of help http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/index.html Look at the second item AudioLab in that page On Thu, Oct 8, 2009 at 6:15 AM, harshal jadhav wrote: > Hi Everybody, > > I am Harshal Jadhav, student at San Jose State University. > > I am using Python for my Master's project and i am a beginner. > > 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 > python? > > Regards, > Harshal Jadhav > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Asokan Pichai *-------------------* We will find a way. Or, make one. (Hannibal) From hiddenharmony at gmail.com Thu Oct 8 08:23:01 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Thu, 8 Oct 2009 11:53:01 +0530 Subject: [BangPypers] array in python In-Reply-To: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> References: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> Message-ID: <91bea30d0910072323o129addc4u64cbb4f19a2440f9@mail.gmail.com> On Thu, Oct 8, 2009 at 6:15 AM, harshal jadhav wrote: > Hi Everybody, > > I am Harshal Jadhav, student at San Jose State University. > > I am using Python for my Master's project and i am a beginner. > > 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 > python? Python has list, tuples and dictionaries.. choose the most suitable datatype :) regards Vivek -- The hidden harmony is better than the obvious!! From vid at svaksha.com Thu Oct 8 05:43:14 2009 From: vid at svaksha.com (vid) Date: Thu, 8 Oct 2009 09:28:14 +0545 Subject: [BangPypers] [x-post] Language Pages on the wiki Message-ID: <12470af00910072043l48af6d8cp72120fbd3e3b350@mail.gmail.com> [x-posted to bangpypers and inpycon] Hi Folks, http://wiki.python.org/moin/NewLanguagePage , has a collection of various language pages for Python. Please provide links to any Python related article/tutorial in your native language and feel free to create a new page if your language is not listed there. The German language page is a good yardstick for acceptable python content : http://wiki.python.org/moin/GermanLanguage Alternatively, for your native language, please use Rami's code snippet : *** (using KDE 4.3.0's Konsole): [rami at tigris ~]$ python3.1 Python 3.1 (r31:73572, Aug 10 2009, 18:55:18) [GCC 4.3.2 20081105 (Red Hat 4.3.2-7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> def ?????_??(???): ... ??? = "????? {0}? ???? ??????".format(???) ... print(???) ... >>> ???? = '????' >>> ?????_??(????) ????? ????? ???? ?????? >>> ??? = 'Carl' >>> ?????_??(???) ????? Carl? ???? ?????? *** Put it in a file 'salaam.py': # -*- coding: utf-8 -*- #!/usr/bin/python3.1 def ?????_??(???): ??? = "????? {0}? ???? ??????".format(???) print(???) ???? = '????' ??? = 'Carl' if __name__ == '__main__': ?????_??(????) ?????_??(???) *** Run the file: [rami at tigris ~]$ python3.1 salaam.py ????? ????? ???? ?????? ????? Carl? ???? ?????? -- || vid | http://vid.svaksha.com || || you are what your deepest desire is | as you desire, so is your intention | as your intention, so is your will | as is your will, so is your deed | as is your deed, so is your destiny || ~ upanishads || From stallomir at gmail.com Thu Oct 8 08:30:22 2009 From: stallomir at gmail.com (Mandar Gokhale) Date: Thu, 8 Oct 2009 02:30:22 -0400 Subject: [BangPypers] array in python In-Reply-To: <8548c5f30910072327l6426d3b7y79a31fcdb0034b40@mail.gmail.com> References: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> <8548c5f30910072327l6426d3b7y79a31fcdb0034b40@mail.gmail.com> Message-ID: If you want to actually capture and demodulate signals, you will need some sort of a RF frontend to get the data into the computer, and then process it using GNURadio. Otherwise, if you are just using simulated signals, it should be a fairly simple simple matter to store a sine wave in an array in Python. -Mandar -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff at taupro.com Thu Oct 8 09:56:01 2009 From: jeff at taupro.com (Jeff Rush) Date: Thu, 08 Oct 2009 02:56:01 -0500 Subject: [BangPypers] array in python In-Reply-To: <91bea30d0910072323o129addc4u64cbb4f19a2440f9@mail.gmail.com> References: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> <91bea30d0910072323o129addc4u64cbb4f19a2440f9@mail.gmail.com> Message-ID: <4ACD9B11.5040506@taupro.com> Vivek Khurana wrote: > On Thu, Oct 8, 2009 at 6:15 AM, harshal jadhav wrote: >> Hi Everybody, >> >> I am Harshal Jadhav, student at San Jose State University. >> >> I am using Python for my Master's project and i am a beginner. >> >> 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 >> python? > > Python has list, tuples and dictionaries.. choose the most suitable datatype :) None of the above is suitable for signal processing in Python, for (1) speed of loading data into memory, (2) operating on it and (3) storing it efficiently in memory (since you tend to have a lot of it). I would use the 'array' type in the stdlib or better still, the array type in the NumPy package. The NumPy array has a much richer set of operators you can apply efficiently to a signal sample stream. Years ago I used it on a contract for on-the-fly 2-D image processing from a batch currency scanner (counterfeit detection) and it was able to do pretty complicated calculations and keep up. -Jeff From rmathews at gmail.com Thu Oct 8 08:18:22 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Thu, 8 Oct 2009 11:48:22 +0530 Subject: [BangPypers] array in python In-Reply-To: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> References: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> Message-ID: <1c4dc2780910072318qc4749d0jfd64f8e3a4077c49@mail.gmail.com> 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 > python? > You can use lists, and there is an array module too. >>> import array >>> help(array) Help on built-in module array: NAME array FILE (built-in) DESCRIPTION This module defines an object type which can efficiently represent an array of basic values: characters, integers, floating point numbers. Arrays are sequence types and behave very much like lists, except that the type of objects stored in them is constrained. The type is specified at object creation time by using a type code, which is a single character. The following type codes are defined: Type code C Type Minimum size in bytes 'c' character 1 'b' signed integer 1 'B' unsigned integer 1 'u' Unicode character 2 'h' signed integer 2 'H' unsigned integer 2 'i' signed integer 2 'I' unsigned integer 2 'l' signed integer 4 'L' unsigned integer 4 'f' floating point 4 'd' floating point 8 The constructor is: array(typecode [, initializer]) -- create a new array From hiddenharmony at gmail.com Wed Oct 7 12:11:38 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Wed, 7 Oct 2009 15:41:38 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910071516.50661.lawgon@au-kbc.org> References: <200910071005.40521.lawgon@au-kbc.org> <200910071312.09062.lawgon@au-kbc.org> <91bea30d0910070128xb4f3a19sfb5be4b56f760556@mail.gmail.com> <200910071516.50661.lawgon@au-kbc.org> Message-ID: <91bea30d0910070311h1a2f66b8l4e1fc3960a4d1150@mail.gmail.com> On Wed, Oct 7, 2009 at 3:16 PM, Kenneth Gonsalves wrote: > > django, plone has about one issue every two years - usually minor and not > affecting anything critical. There is something radically wrong in a software > that gets one core critical issue a month (even then drupal is better than > wordpress that churns out such things 2 or 3 times a month). With close to 2000 contributed module there is enough room to have one security issue a week, they still manage to do it onece a month. Plone doesnt have that many features or that many contributors to make mistakes :) Also, several of the critical issues of drupal or wordpress are because they are based on php, which is a language in its pre-teens. regards Vivek -- The hidden harmony is better than the obvious!! From lawgon at thenilgiris.com Thu Oct 8 12:25:41 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Thu, 8 Oct 2009 15:55:41 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <91bea30d0910070311h1a2f66b8l4e1fc3960a4d1150@mail.gmail.com> References: <200910071005.40521.lawgon@au-kbc.org> <200910071516.50661.lawgon@au-kbc.org> <91bea30d0910070311h1a2f66b8l4e1fc3960a4d1150@mail.gmail.com> Message-ID: <200910081555.42207.lawgon@thenilgiris.com> On Wednesday 07 Oct 2009 3:41:38 pm Vivek Khurana wrote: > On Wed, Oct 7, 2009 at 3:16 PM, Kenneth Gonsalves wrote: > > django, plone has about one issue every two years - usually minor and not > > affecting anything critical. There is something radically wrong in a > > software that gets one core critical issue a month (even then drupal is > > better than wordpress that churns out such things 2 or 3 times a month). > > With close to 2000 contributed module there is enough room to have > one security issue a week, they still manage to do it onece a month. this is critical issues in core - if you add critical issues in contributed modules, the count is around 50 for this year alone - an issue a day keeps the informed developer away! > Plone doesnt have that many features or that many contributors to make > mistakes :) > Also, several of the critical issues of drupal or wordpress are > because they are based on php, which is a language in its pre-teens. aha! -- regards kg http://lawgon.livejournal.com From kadambari.devarajan at gmail.com Thu Oct 8 12:26:48 2009 From: kadambari.devarajan at gmail.com (Kadambari Devarajan) Date: Thu, 8 Oct 2009 15:56:48 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: References: <8548c5f30910052043q1fac4779occfed796490bcb29@mail.gmail.com> Message-ID: Hi All, On Wed, Oct 7, 2009 at 2:19 PM, Kadambari Devarajan < kadambari.devarajan at gmail.com> wrote: > > On Tue, Oct 6, 2009 at 9:13 AM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > >> >> >> Yes, it surely is more Sci than Py I would say. Still, it would be a >> good >> conf for engineers and mathematicians and guys who need more >> insights into numerical and mathematical problem solving. >> >> > Prabhu Ramachandran is writing a blog post on Python and Scientfic > Computing. I will send the link once it is up on the site. > > And here it is: http://fossee.in/blog/py-in-the-sci Cheers, Kadambari Devarajan. -- Check out my blog at http://kadambarid.livejournal.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cranil89 at gmail.com Thu Oct 8 14:55:25 2009 From: cranil89 at gmail.com (Anil) Date: Thu, 08 Oct 2009 18:25:25 +0530 Subject: [BangPypers] array in python In-Reply-To: <4ACD9B11.5040506@taupro.com> References: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> <91bea30d0910072323o129addc4u64cbb4f19a2440f9@mail.gmail.com> <4ACD9B11.5040506@taupro.com> Message-ID: <4ACDE13D.8050402@gmail.com> Jeff Rush wrote: > None of the above is suitable for signal processing in Python, for (1) > speed of loading data into memory, (2) operating on it and (3) storing > it efficiently in memory (since you tend to have a lot of it). > > I would use the 'array' type in the stdlib or better still, the array > type in the NumPy package. The NumPy array has a much richer set of > operators you can apply efficiently to a signal sample stream. > > Years ago I used it on a contract for on-the-fly 2-D image processing > from a batch currency scanner (counterfeit detection) and it was able to > do pretty complicated calculations and keep up. > > -Jeff True, numpy rocks :), I've used it for speech processing myself with audiolab that Asokan mentioned and now i'm using it for 2d biomedical image processing ... Although I know nothing about GNUradio, I can tell you numpy rocks... :D From cranil89 at gmail.com Thu Oct 8 14:56:23 2009 From: cranil89 at gmail.com (Anil) Date: Thu, 08 Oct 2009 18:26:23 +0530 Subject: [BangPypers] array in python In-Reply-To: <4ACD9B11.5040506@taupro.com> References: <13bd510c0910071745w5e1e8df2l839e1c0f5e8752b0@mail.gmail.com> <91bea30d0910072323o129addc4u64cbb4f19a2440f9@mail.gmail.com> <4ACD9B11.5040506@taupro.com> Message-ID: <4ACDE177.9050703@gmail.com> Jeff Rush wrote: > Vivek Khurana wrote: > >> On Thu, Oct 8, 2009 at 6:15 AM, harshal jadhav wrote: >> >>> Hi Everybody, >>> >>> I am Harshal Jadhav, student at San Jose State University. >>> >>> I am using Python for my Master's project and i am a beginner. >>> >>> 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 >>> python? >>> >> Python has list, tuples and dictionaries.. choose the most suitable datatype :) >> > > None of the above is suitable for signal processing in Python, for (1) > speed of loading data into memory, (2) operating on it and (3) storing > it efficiently in memory (since you tend to have a lot of it). > > I would use the 'array' type in the stdlib or better still, the array > type in the NumPy package. The NumPy array has a much richer set of > operators you can apply efficiently to a signal sample stream. > > Years ago I used it on a contract for on-the-fly 2-D image processing > from a batch currency scanner (counterfeit detection) and it was able to > do pretty complicated calculations and keep up. > > -Jeff > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > From hiddenharmony at gmail.com Wed Oct 7 12:53:30 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Wed, 7 Oct 2009 16:23:30 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910071609.05191.lawgon@au-kbc.org> References: <200910071548.07936.lawgon@au-kbc.org> <41139fcb0910070327v7d418622w96a3f96133ad8987@mail.gmail.com> <200910071609.05191.lawgon@au-kbc.org> Message-ID: <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> On Wed, Oct 7, 2009 at 4:09 PM, Kenneth Gonsalves wrote: > > http://demo.ilugc.org.in > and > http://demo.ilugc.in The drupal site is looking more pleasing. And it is not that you have to spend sleepless nights. One upgrade a month is more than sufficient to keep system up to date (you will need to update your django source too). Also, I cant understand how can you be 100% sure that the code written by you has security loop holes ? regards Vivek -- The hidden harmony is better than the obvious!! From noufal at gmail.com Thu Oct 8 17:47:45 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 8 Oct 2009 21:17:45 +0530 Subject: [BangPypers] User group meeting on Sunday? Message-ID: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> Is Sunday afternoon fine with everyone? Say 3-5 or so? As for the venue, it'd be nice to have it at ThoughtWorks if it's available. After our initial plan to hold PyCon, I don't think we've ever met there. Will it be available? -- ~noufal http://nibrahim.net.in From mbaiju at zeomega.com Thu Oct 8 19:01:26 2009 From: mbaiju at zeomega.com (Baiju M) Date: Thu, 8 Oct 2009 22:31:26 +0530 Subject: [BangPypers] User group meeting on Sunday? In-Reply-To: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> References: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> Message-ID: On Thu, Oct 8, 2009 at 9:17 PM, Noufal Ibrahim wrote: > Is Sunday afternoon fine with everyone? Say 3-5 or so? I will be available this weekend, so I can attend. But we should try to announce bit earlier, at least two weeks back. Regards, Baiju M From noufal at gmail.com Thu Oct 8 19:14:22 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 8 Oct 2009 22:44:22 +0530 Subject: [BangPypers] User group meeting on Sunday? In-Reply-To: References: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> Message-ID: <9963e56e0910081014n7de4af9doe371b251f6237763@mail.gmail.com> On Thu, Oct 8, 2009 at 10:31 PM, Baiju M wrote: > On Thu, Oct 8, 2009 at 9:17 PM, Noufal Ibrahim wrote: >> Is Sunday afternoon fine with everyone? Say 3-5 or so? > > I will be available this weekend, so I can attend. > > But we should try to announce bit earlier, at least two weeks back. Yeah. Actually, I wanted to wrap up some of the conference stuff like splitting the DVDs amongst some people etc. It won't be a purely technical meet. Anyone else? -- ~noufal http://nibrahim.net.in From abpillai at gmail.com Fri Oct 9 05:14:10 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 9 Oct 2009 08:44:10 +0530 Subject: [BangPypers] User group meeting on Sunday? In-Reply-To: <9963e56e0910081014n7de4af9doe371b251f6237763@mail.gmail.com> References: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> <9963e56e0910081014n7de4af9doe371b251f6237763@mail.gmail.com> Message-ID: <8548c5f30910082014t6dc30572w272aa724612b63c3@mail.gmail.com> On Thu, Oct 8, 2009 at 10:44 PM, Noufal Ibrahim wrote: > On Thu, Oct 8, 2009 at 10:31 PM, Baiju M wrote: > > On Thu, Oct 8, 2009 at 9:17 PM, Noufal Ibrahim wrote: > >> Is Sunday afternoon fine with everyone? Say 3-5 or so? > > > > I will be available this weekend, so I can attend. > > > > But we should try to announce bit earlier, at least two weeks back. > > > Yeah. Actually, I wanted to wrap up some of the conference stuff like > splitting the DVDs amongst some people etc. > It won't be a purely technical meet. > > Anyone else? > +1. @ThoughtWorks would be great however. I also need to collect the DVDs from you. > > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From jadhav.harshal at gmail.com Fri Oct 9 05:22:21 2009 From: jadhav.harshal at gmail.com (harshal jadhav) Date: Thu, 8 Oct 2009 20:22:21 -0700 Subject: [BangPypers] line understanding problem Message-ID: <13bd510c0910082022w9156c79p8b46908afbcd73d2@mail.gmail.com> Hi I want to play the following program : from gnuradio import gr from gnuradio import audio from gnuradio.eng_option import eng_option from optparse import OptionParser class my_top_block(gr.top_block): def __init__(self): gr.top_block.__init__(self) parser = OptionParser(option_class=eng_option) parser.add_option("-O", "--audio-output", type="string", default="", help="pcm output device name. E.g., hw:0,0 or /dev/dsp") parser.add_option("-r", "--sample-rate", type="eng_float", default=48000, help="set sample rate to RATE (48000)") (options, args) = parser.parse_args () if len(args) != 0: parser.print_help() raise SystemExit, 1 sample_rate = int(options.sample_rate) ampl = 0.1 src0 = gr.sig_source_f (sample_rate, gr.GR_SIN_WAVE, 350, ampl) print src0 #src11 = [src0(1),src0(2)] src1 = gr.sig_source_f (sample_rate, gr.GR_SIN_WAVE, 440, ampl) dst = audio.sink (sample_rate, options.audio_output) self.connect (src0, (dst, 0)) self.connect (src1, (dst, 1)) if __name__ == '__main__': try: my_top_block().run() except KeyboardInterrupt: pass though i get the output but i also get the following statement i donot understand what this line means. My aim is to capture the samples of src0. for that purpose i have given *print src0 *command. Regards, Harshal -------------- next part -------------- An HTML attachment was scrubbed... URL: From shivraj.ms at gmail.com Fri Oct 9 05:35:29 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Thu, 8 Oct 2009 20:35:29 -0700 (PDT) Subject: [BangPypers] Anyone worked on GNuRadio out here? In-Reply-To: <25745999.post@talk.nabble.com> References: <25745999.post@talk.nabble.com> Message-ID: <25815010.post@talk.nabble.com> I hope you have found the solution . If not read on. I followed http://gnuradio.org/trac/wiki/UbuntuInstall and was able to reproduce the error. The issue is http://osdir.com/ml/patch-gnuradio-gnu/2009-08/msg00000.html cspesit wrote: > > Hi guys, > Working on a GNUradio project. > Following error encountered when i run multi_usrp_rx_cfile.py > > > [shesha2 at anrc multi_usrp]$ ./multi_usrp_rx_cfile.py > Traceback (most recent call last): > File "./multi_usrp_rx_cfile.py", line 18, in > from gnuradio import usrp_multi > ImportError: cannot import name usrp_multi > > > Tried setting python path,manually copying usrp_multi to prsent working > directory,not resolved > > Any inputs? > Thanks > Sudarshan > 9-88-66-37-21-9 > -- View this message in context: http://www.nabble.com/Anyone-worked-on-GNuRadio-out-here--tp25745999p25815010.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From pradeep at btbytes.com Fri Oct 9 05:36:21 2009 From: pradeep at btbytes.com (Pradeep Gowda) Date: Thu, 8 Oct 2009 23:36:21 -0400 Subject: [BangPypers] line understanding problem In-Reply-To: <13bd510c0910082022w9156c79p8b46908afbcd73d2@mail.gmail.com> References: <13bd510c0910082022w9156c79p8b46908afbcd73d2@mail.gmail.com> Message-ID: <3e3294b70910082036y45cc7e76v6c6a377bef5663c6@mail.gmail.com> On Thu, Oct 8, 2009 at 11:22 PM, harshal jadhav wrote: > though i get the output but i also get the following statement > > > i donot understand what this line means. My aim is to capture the samples of > src0. for that purpose i have given print src0 command. try this line instead: print dir(src0) this will give you the list of properties and methods available on that object. You might be able to identify the property/method that will give you access to the samples. From ashok.raavi at gmail.com Fri Oct 9 06:09:32 2009 From: ashok.raavi at gmail.com (ashok raavi) Date: Fri, 9 Oct 2009 09:39:32 +0530 Subject: [BangPypers] User group meeting on Sunday? In-Reply-To: <8548c5f30910082014t6dc30572w272aa724612b63c3@mail.gmail.com> References: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> <9963e56e0910081014n7de4af9doe371b251f6237763@mail.gmail.com> <8548c5f30910082014t6dc30572w272aa724612b63c3@mail.gmail.com> Message-ID: <2aa122da0910082109l2e3abb5fvcadc2d88817f040b@mail.gmail.com> On Fri, Oct 9, 2009 at 8:44 AM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Thu, Oct 8, 2009 at 10:44 PM, Noufal Ibrahim wrote: > >> On Thu, Oct 8, 2009 at 10:31 PM, Baiju M wrote: >> > On Thu, Oct 8, 2009 at 9:17 PM, Noufal Ibrahim >> wrote: >> >> Is Sunday afternoon fine with everyone? Say 3-5 or so? >> > >> > I will be available this weekend, so I can attend. >> > >> > But we should try to announce bit earlier, at least two weeks back. >> >> >> Yeah. Actually, I wanted to wrap up some of the conference stuff like >> splitting the DVDs amongst some people etc. >> It won't be a purely technical meet. >> >> Anyone else? >> > > +1. @ThoughtWorks would be great however. I also need to collect > the DVDs from you. > +1 > > >> >> >> >> -- >> ~noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- ashok raavi -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Fri Oct 9 06:56:39 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 9 Oct 2009 10:26:39 +0530 Subject: [BangPypers] User group meeting on Sunday? In-Reply-To: <2aa122da0910082109l2e3abb5fvcadc2d88817f040b@mail.gmail.com> References: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> <9963e56e0910081014n7de4af9doe371b251f6237763@mail.gmail.com> <8548c5f30910082014t6dc30572w272aa724612b63c3@mail.gmail.com> <2aa122da0910082109l2e3abb5fvcadc2d88817f040b@mail.gmail.com> Message-ID: <9963e56e0910082156p4be3409dh6457e5bea72bacb@mail.gmail.com> Will some of the TW guys be around to chaperon the meeting? Sidu? -- ~noufal http://nibrahim.net.in From ashulinux at yahoo.com Fri Oct 9 07:28:07 2009 From: ashulinux at yahoo.com (Ashutosh Narayan) Date: Fri, 9 Oct 2009 05:28:07 +0000 (GMT) Subject: [BangPypers] User group meeting on Sunday? In-Reply-To: <2aa122da0910082109l2e3abb5fvcadc2d88817f040b@mail.gmail.com> Message-ID: <843640.44569.qm@web111414.mail.gq1.yahoo.com> Hi, I will there for the meeting. ~ Ashutosh --- On Fri, 10/9/09, ashok raavi wrote: From: ashok raavi Subject: Re: [BangPypers] User group meeting on Sunday? To: "Bangalore Python Users Group - India" Date: Friday, October 9, 2009, 9:39 AM On Fri, Oct 9, 2009 at 8:44 AM, Anand Balachandran Pillai wrote: On Thu, Oct 8, 2009 at 10:44 PM, Noufal Ibrahim wrote: On Thu, Oct 8, 2009 at 10:31 PM, Baiju M wrote: > On Thu, Oct 8, 2009 at 9:17 PM, Noufal Ibrahim wrote: >> Is Sunday afternoon fine with everyone? Say 3-5 or so? > > I will be available this weekend, so I can attend. > > But we should try to announce bit earlier, at least two weeks back. Yeah. Actually, I wanted to wrap up some of the conference stuff like splitting the DVDs amongst some people etc. It won't be a purely technical meet. Anyone else? ?+1. @ThoughtWorks would be great however. I also need to collect ? the DVDs from you. ? ?? +1 ? ? -- ~noufal http://nibrahim.net.in _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers -- --Anand _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers -- ashok raavi -----Inline Attachment Follows----- _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers -------------- next part -------------- An HTML attachment was scrubbed... URL: From agoldgod at gmail.com Fri Oct 9 07:35:38 2009 From: agoldgod at gmail.com (goldgod a) Date: Fri, 9 Oct 2009 11:05:38 +0530 Subject: [BangPypers] web services In-Reply-To: <1528d2590910010109k1b3d0825j433e530c4757df6d@mail.gmail.com> References: <1528d2590909302341l374ef71aoc5fe621267e4be49@mail.gmail.com> <91bea30d0909302358h2e6c67f1qc9684b097dd1b213@mail.gmail.com> <1528d2590910010109k1b3d0825j433e530c4757df6d@mail.gmail.com> Message-ID: <105c9ccc0910082235p3f2c6901r5c9ed4ec143de8b0@mail.gmail.com> Hi, I was trying SOAP web services.How to construct . > Just try with Soaplib. It is an easy to use python library for writing and calling soap web services. Refer: http://trac.optio.webfactional.com/ examples: http://trac.optio.webfactional.com/wiki/soaplib -- Thanks & Regards, A.Ponnusamy (Goldgod) -------------- next part -------------- An HTML attachment was scrubbed... URL: From aneesh.nl at gmail.com Fri Oct 9 09:23:02 2009 From: aneesh.nl at gmail.com (Aneesh A) Date: Fri, 9 Oct 2009 12:53:02 +0530 Subject: [BangPypers] SciPy India 2009 - SciPy.in In-Reply-To: References: <8548c5f30910052043q1fac4779occfed796490bcb29@mail.gmail.com> Message-ID: <90c47fb0910090023oc8d2f9bk65ef9294dc0ba73d@mail.gmail.com> Ok. About SciPy, is there any contact numbers?? -- +91 903 755 72 73 For all hardware and software services, Computer assembling, Software Installation etc. My blog : http://xtenders.blogspot.com/ Earn money by Read/Write Articles: http://tr.im/znaZ Reading mails: http://tr.im/yEYk -------------- next part -------------- An HTML attachment was scrubbed... URL: From sriramnrn at gmail.com Fri Oct 9 13:03:45 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Fri, 9 Oct 2009 16:33:45 +0530 Subject: [BangPypers] User group meeting on Sunday? In-Reply-To: <9963e56e0910082156p4be3409dh6457e5bea72bacb@mail.gmail.com> References: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> <9963e56e0910081014n7de4af9doe371b251f6237763@mail.gmail.com> <8548c5f30910082014t6dc30572w272aa724612b63c3@mail.gmail.com> <2aa122da0910082109l2e3abb5fvcadc2d88817f040b@mail.gmail.com> <9963e56e0910082156p4be3409dh6457e5bea72bacb@mail.gmail.com> Message-ID: <49977f270910090403k50d648cfq4e932a3173800e1@mail.gmail.com> Sure, come over. Noufal, I've replied to your private mail. -- Ram On 10/9/09, Noufal Ibrahim wrote: > Will some of the TW guys be around to chaperon the meeting? Sidu? > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Sent from my mobile device From lorddaemon at gmail.com Fri Oct 9 13:17:13 2009 From: lorddaemon at gmail.com (Darkseid) Date: Fri, 09 Oct 2009 16:47:13 +0530 Subject: [BangPypers] User group meeting on Sunday? In-Reply-To: <49977f270910090403k50d648cfq4e932a3173800e1@mail.gmail.com> References: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> <9963e56e0910081014n7de4af9doe371b251f6237763@mail.gmail.com> <8548c5f30910082014t6dc30572w272aa724612b63c3@mail.gmail.com> <2aa122da0910082109l2e3abb5fvcadc2d88817f040b@mail.gmail.com> <9963e56e0910082156p4be3409dh6457e5bea72bacb@mail.gmail.com> <49977f270910090403k50d648cfq4e932a3173800e1@mail.gmail.com> Message-ID: <4ACF1BB9.7090305@gmail.com> My schedule is very uncertain, but anyways Ram is there so all's well, I guess :) Best, Sidu. Sriram Narayanan wrote: > Sure, come over. > > Noufal, I've replied to your private mail. > > -- Ram > > On 10/9/09, Noufal Ibrahim wrote: > >> Will some of the TW guys be around to chaperon the meeting? Sidu? >> >> >> -- >> ~noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > From noufal at gmail.com Fri Oct 9 14:15:40 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 9 Oct 2009 17:45:40 +0530 Subject: [BangPypers] User group meeting on Sunday? In-Reply-To: <4ACF1BB9.7090305@gmail.com> References: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> <9963e56e0910081014n7de4af9doe371b251f6237763@mail.gmail.com> <8548c5f30910082014t6dc30572w272aa724612b63c3@mail.gmail.com> <2aa122da0910082109l2e3abb5fvcadc2d88817f040b@mail.gmail.com> <9963e56e0910082156p4be3409dh6457e5bea72bacb@mail.gmail.com> <49977f270910090403k50d648cfq4e932a3173800e1@mail.gmail.com> <4ACF1BB9.7090305@gmail.com> Message-ID: <9963e56e0910090515s51353864g74d4f1e5debd94c9@mail.gmail.com> BangPypers meeting at ThoughtWorks - Diamond District. Time : 3pm - 5pm Date : 11 Oct 2009 (Sunday) Be there or... well... be left out. Agenda - Some discussions to clean up leftovers of the conference (I'll keep it short and sweet) - Anand Pillai was planning an Open Calais presentation but I'll let him confirm. -- ~noufal http://nibrahim.net.in From lawgon at au-kbc.org Sat Oct 10 01:45:47 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Sat, 10 Oct 2009 05:15:47 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> References: <200910071609.05191.lawgon@au-kbc.org> <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> Message-ID: <200910100515.48028.lawgon@au-kbc.org> On Wednesday 07 Oct 2009 4:23:30 pm Vivek Khurana wrote: > On Wed, Oct 7, 2009 at 4:09 PM, Kenneth Gonsalves wrote: > > http://demo.ilugc.org.in > > and > > http://demo.ilugc.in > > The drupal site is looking more pleasing. And it is not that you have > to spend sleepless nights. One upgrade a month is more than sufficient > to keep system up to date (you will need to update your django source > too). if I have one site, on one server, one upgrade a month is do-able. If I have 10 sites on 3 servers, it becomes a head ache. I do not *have* not update my django source if I am not adding new features. I have just updated my second ever django site, after 4 years!. For the last 4 years I have not touched it, and it has been chugging along merrily without complaint. > Also, I cant understand how can you be 100% sure that the code > written by you has security loop holes ? maybe I am small fry - but no one has ever cracked any site I have put up - right from my perl days. This is not to say that no one will - but it hasn't happened yet. I believe django has some csrf issues if one does not use the appropriate middleware - but other than that it does not have security loopholes, and there is absolutely no need to upgrade as long as one does not have new feature requests - in the case of feature requests, upgrades are needed as it is easier to put new features with the latest code. In fact I have reached such and (in)sane level of confidence that I sometimes do an svn up in production and do not bother to check if the sites go down. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From noufal at gmail.com Sat Oct 10 07:16:49 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 10 Oct 2009 10:46:49 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910100515.48028.lawgon@au-kbc.org> References: <200910071609.05191.lawgon@au-kbc.org> <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> <200910100515.48028.lawgon@au-kbc.org> Message-ID: <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> 0 day Django exploit in the wild - http://news.ycombinator.com/item?id=872533 http://www.djangoproject.com/weblog/2009/oct/09/security/ Fixed rather quickly but found rather late. One of the reasons is probably because of the comparatively smaller user base. If Django had the same number of users as Drupal, I expect a lot more to be visible. Also, I don't think that merely *using* PHP means that your site is less secure. That's a tad too simplistic for my tastes. And I'm also willing to bet that if I did have to use PHP, using something like Drupal would be a lot more secure than deploying a home brew CMS. There was a time when I used to maintain my entire website on my local machine as a bunch of text files using Muse for Emacs. Make edits as I wanted and then 'publish' the site. Not exactly cutting edge tech. and not very flexible but I'm guessing that static HTML pages have better security records than Django and Drupal. :) -- ~noufal http://nibrahim.net.in From lawgon at thenilgiris.com Sat Oct 10 07:40:30 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Sat, 10 Oct 2009 11:10:30 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> References: <200910100515.48028.lawgon@au-kbc.org> <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> Message-ID: <200910101110.30823.lawgon@thenilgiris.com> On Saturday 10 Oct 2009 10:46:49 am Noufal Ibrahim wrote: > 0 day Django exploit in the wild - > http://news.ycombinator.com/item?id=872533 > http://www.djangoproject.com/weblog/2009/oct/09/security/ cool - now that django *has* security problems, more people will be comfortable in using it ;-) > > Fixed rather quickly but found rather late. One of the reasons is > probably because of the comparatively smaller user base. If Django had > the same number of users as Drupal, I expect a lot more to be visible. it is not really correct to keep comparing django to drupal - one needs to compare drupal to plone. Django is not a cms, and so it is much simpler and smaller without lots of features, so less likely to have critical vulnerabilities. Further django only accepts stuff that is completely documented and has a full set of tests - I am glad to see that drupal also has some attempt at tests. > > Also, I don't think that merely using PHP means that your site is > less secure. That's a tad too simplistic for my tastes. And I'm also > willing to bet that if I did have to use PHP, using something like > Drupal would be a lot more secure than deploying a home brew CMS. a python programmer that I have a lot of respect for has classified drupal as a 7/10 - which is high praise. He classifies django at 8/10 ;-) -- regards kg http://lawgon.livejournal.com From zaki at manian.org Sat Oct 10 07:51:18 2009 From: zaki at manian.org (Zaki Manian) Date: Sat, 10 Oct 2009 11:21:18 +0530 Subject: [BangPypers] User group meeting on Sunday? In-Reply-To: <9963e56e0910090515s51353864g74d4f1e5debd94c9@mail.gmail.com> References: <9963e56e0910080847x36f57595t490ef8aed7ef270@mail.gmail.com> <9963e56e0910081014n7de4af9doe371b251f6237763@mail.gmail.com> <8548c5f30910082014t6dc30572w272aa724612b63c3@mail.gmail.com> <2aa122da0910082109l2e3abb5fvcadc2d88817f040b@mail.gmail.com> <9963e56e0910082156p4be3409dh6457e5bea72bacb@mail.gmail.com> <49977f270910090403k50d648cfq4e932a3173800e1@mail.gmail.com> <4ACF1BB9.7090305@gmail.com> <9963e56e0910090515s51353864g74d4f1e5debd94c9@mail.gmail.com> Message-ID: I've been looking for an opportunity to meet that Bangalore python community and finally a user group meeting gets along with my schedule. Looking forward to meeting you all. Sent from Bengaluru, Karnataka, India On Fri, Oct 9, 2009 at 5:45 PM, Noufal Ibrahim wrote: > BangPypers meeting at ThoughtWorks - Diamond District. > Time : 3pm - 5pm > Date : 11 Oct 2009 (Sunday) > > Be there or... well... be left out. > > Agenda > - Some discussions to clean up leftovers of the conference (I'll keep > it short and sweet) > - Anand Pillai was planning an Open Calais presentation but I'll let > him confirm. > > > > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Sat Oct 10 09:01:20 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Sat, 10 Oct 2009 12:31:20 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> References: <200910071609.05191.lawgon@au-kbc.org> <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> <200910100515.48028.lawgon@au-kbc.org> <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> Message-ID: <8548c5f30910100001p1f164e9eo800a1a50e78ad4a1@mail.gmail.com> Hi, On Sat, Oct 10, 2009 at 10:46 AM, Noufal Ibrahim wrote: > 0 day Django exploit in the wild - > http://news.ycombinator.com/item?id=872533 > http://www.djangoproject.com/weblog/2009/oct/09/security/ > > Fixed rather quickly but found rather late. One of the reasons is > probably because of the comparatively smaller user base. If Django had > the same number of users as Drupal, I expect a lot more to be visible. > > Also, I don't think that merely *using* PHP means that your site is > less secure. That's a tad too simplistic for my tastes. And I'm also > willing to bet that if I did have to use PHP, using something like > Drupal would be a lot more secure than deploying a home brew CMS. > Not exactly. There is some truth in saying that PHP is a less secure language overall when compared to Python. The reasons are up from design itself. PHP was designed ground up as a language for the web which means web development features are built directly into the core language as opposed to Python where these are provided by add-on modules. It does not take a lot of effort to connect security issues of PHP with this fact. This is what makes PHP powerful as well as vulnerable. For example, this is a very common way of doing a select using PHP. $query = "SELECT * FROM products WHERE name=?$productname?"; mysql_query ($query); Only that this kind of SQL is very vulnerable to SQL injection attacks because $productname can be replaced with malicious SQL code from outside. The correct way to do this would be, $query = sprintf ("SELECT * FROM products WHERE name=?%s?", mysql_real_escape_string ( $productname)); mysql_query ($query); However, in Python due to some features like multiline strings and templating using a dictionary, these kind of issues are more easily avoided. example query="""SELECT * from Products WHERE name=%s AND timestamp>=%s""" cursor.execute(query % ('burger', '2009-09-10 12:00:00') It is not easy to use SQL injection against code like above so the default Python string templating is a bit more secure than the one provided by PHP. You don't need to go through the pain of mysql_escape_string to escape the SQL params which is the solution offered in the PHP world. This is just one example. Basically it is a fact that the clean, minimal syntax of Python with no "hackish" features does make it a more secure language, if not intentional then accidental. Anyway it is good news for Python developers. > > There was a time when I used to maintain my entire website on my local > machine as a bunch of text files using Muse for Emacs. Make edits as I > wanted and then 'publish' the site. Not exactly cutting edge tech. and > not very flexible but I'm guessing that static HTML pages have better > security records than Django and Drupal. :) > > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Sat Oct 10 16:03:17 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 10 Oct 2009 19:33:17 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <8548c5f30910100001p1f164e9eo800a1a50e78ad4a1@mail.gmail.com> References: <200910071609.05191.lawgon@au-kbc.org> <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> <200910100515.48028.lawgon@au-kbc.org> <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> <8548c5f30910100001p1f164e9eo800a1a50e78ad4a1@mail.gmail.com> Message-ID: <9963e56e0910100703p2844d6aar91d0bdbf8f3570d2@mail.gmail.com> On Sat, Oct 10, 2009 at 12:31 PM, Anand Balachandran Pillai wrote: [..] > ?? For example, this is a very common way of doing a select using PHP. > > ? $query = "SELECT * FROM products WHERE name=?$productname?"; > ?? mysql_query($query); > > ? Only that this kind of SQL is very vulnerable to SQL injection attacks > because > ? $productname can be replaced with malicious SQL code from outside. > > ? The correct way to do this would be, > > ? $query = sprintf("SELECT * FROM products WHERE name=?%s?", > ?? mysql_real_escape_string($productname)); > ?? mysql_query($query); > > ?However, in Python due to some features like multiline strings and > ?templating using a dictionary, these kind of issues are more easily > avoided. > > ?example > > ?query="""SELECT * from Products WHERE name=%s AND timestamp>=%s""" > ?cursor.execute(query % ('burger', '2009-09-10 12:00:00') I'm not sure I understand here. You're using constants here ('burger' and '2009...') but variables in the PHP version. Since constants are in your own code, they're trusted data but since the variables could contain values from the outside, you're still vulnerable to SQL injection unless you sanitise them. If you had a variable (say foo) instead of 'burger' and that had some malicious SQL injection attempt, you'd be vulnerable exactly like in the PHP version wouldn't you? Are you saying you don't need to escape the variables in the Python version? I haven't played with the raw dbapi for a long time so I might be just spouting nonsense here. > ?It is not easy to use SQL injection against code like above so the > ?default Python string templating is a bit more secure than the one > ?provided by PHP.? You don't need to go through the pain of > mysql_escape_string? to escape the SQL params which is the solution > ?offered in the PHP world. I'm not sure I see the difference. Assuming you get two variables from the outside product and date which contain the query parameters, what would happen here? query="""SELECT * from Products WHERE name=%s AND timestamp>=%s""" product = "''; SHOW DATABASES;" # SQL Injection attempt date = '2009-09-10 12:00:00' print query%(product,date) SELECT * from Products WHERE name=''; SHOW DATABASES; AND timestamp>=2009-09-10 12:00:00 which would get screwed no? > ?This is just one example. Basically it is a fact that the clean, minimal > ? syntax of Python with no "hackish" features does make it a more > ?secure language, if not intentional then accidental. Anyway it is good > ? news for Python developers. I think the language quality amplifies programmer skill. IF you have two entry level PHP and Python programmers, I'm willing to bet that they're code will be somewhat similar and language specific goodness will not be there. As they become skilled, their ability to exploit languages become better and the differences will be sharper. So, a mature product hacked upon by good programmers will be considerably better if it's in a 'superior' language. I think Drupal and Plone come into that category so the security argument holds. However, for an average programmer doing a typical program, PHP vs. Python won't make *much* of a difference except decide her future. -- ~noufal http://nibrahim.net.in From carl at personnelware.com Sat Oct 10 16:29:35 2009 From: carl at personnelware.com (Carl Karsten) Date: Sat, 10 Oct 2009 09:29:35 -0500 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <9963e56e0910100703p2844d6aar91d0bdbf8f3570d2@mail.gmail.com> References: <200910071609.05191.lawgon@au-kbc.org> <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> <200910100515.48028.lawgon@au-kbc.org> <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> <8548c5f30910100001p1f164e9eo800a1a50e78ad4a1@mail.gmail.com> <9963e56e0910100703p2844d6aar91d0bdbf8f3570d2@mail.gmail.com> Message-ID: <549053140910100729of0d3d15te4cb7a928d3ae0b1@mail.gmail.com> On Sat, Oct 10, 2009 at 9:03 AM, Noufal Ibrahim wrote: > On Sat, Oct 10, 2009 at 12:31 PM, Anand Balachandran Pillai > wrote: > [..] >> ?? For example, this is a very common way of doing a select using PHP. >> >> ? $query = "SELECT * FROM products WHERE name=?$productname?"; >> ?? mysql_query($query); >> >> ? Only that this kind of SQL is very vulnerable to SQL injection attacks >> because >> ? $productname can be replaced with malicious SQL code from outside. >> >> ? The correct way to do this would be, >> >> ? $query = sprintf("SELECT * FROM products WHERE name=?%s?", >> ?? mysql_real_escape_string($productname)); >> ?? mysql_query($query); >> >> ?However, in Python due to some features like multiline strings and >> ?templating using a dictionary, these kind of issues are more easily >> avoided. >> >> ?example >> >> ?query="""SELECT * from Products WHERE name=%s AND timestamp>=%s""" >> ?cursor.execute(query % ('burger', '2009-09-10 12:00:00') > > I'm not sure I understand here. You're using ?constants here ('burger' > and '2009...') but variables in the PHP version. Since constants are > in your own code, they're trusted data but since the variables could > contain values from the outside, you're still vulnerable to SQL > injection unless you sanitise them. If you had a variable (say foo) > instead of 'burger' and that had some malicious SQL injection attempt, > you'd be vulnerable exactly like in the PHP version wouldn't you? Are > you saying you don't need to escape the variables in the Python > version? I haven't played with the raw dbapi for a long time so I > might be just spouting nonsense here. I need to inject... The line should be: cursor.execute(query, ('burger', '2009-09-10 12:00:00')) and to keep it more like the php example: cursor.execute(query, (productname, buy_datetime)) and now to digress int sql server stuff: Most (all?) sql servers have the concept of query parameters. This means you put "markers" in the query (like %s) and supply the values separately. to be clear: the server does not have to parse the values out of the query, because they are never in the query. This pretty much removes the SQL Injection issue. It also means the server can cache stuff about queries better because the query doesn't change, just the parameters. > > >> ?It is not easy to use SQL injection against code like above so the >> ?default Python string templating is a bit more secure than the one >> ?provided by PHP.? You don't need to go through the pain of >> mysql_escape_string? to escape the SQL params which is the solution >> ?offered in the PHP world. > > I'm not sure I see the difference. Assuming you get two variables from > the outside product and date which contain the query parameters, what > would happen here? > query="""SELECT * from Products WHERE name=%s AND timestamp>=%s""" > product = "''; SHOW DATABASES;" # SQL Injection attempt > date = '2009-09-10 12:00:00' > print query%(product,date) > SELECT * from Products WHERE name=''; SHOW DATABASES; AND > timestamp>=2009-09-10 12:00:00 > > which would get screwed no? > >> ?This is just one example. Basically it is a fact that the clean, minimal >> ? syntax of Python with no "hackish" features does make it a more >> ?secure language, if not intentional then accidental. Anyway it is good >> ? news for Python developers. > > I think the language quality amplifies programmer skill. IF you have > two entry level PHP and Python programmers, I'm willing to bet that > they're code will be somewhat similar and language specific goodness > will not be there. As they become skilled, their ability to exploit > languages become better and the differences will be sharper. So, a > mature product hacked upon by good programmers will be considerably > better ?if it's in a 'superior' language. I think Drupal and Plone > come into that category so the security argument holds. However, for > an average programmer doing a typical program, PHP vs. Python won't > make *much* of a difference except decide her future. I have done 2 php pages and a bunch of python. My guess is PHP makes it easier to write vulnerable code, but I am really going on on a limb here, so I'll not try to support this notion. -- Carl K From hiddenharmony at gmail.com Sat Oct 10 16:39:17 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Sat, 10 Oct 2009 20:09:17 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <549053140910100729of0d3d15te4cb7a928d3ae0b1@mail.gmail.com> References: <200910071609.05191.lawgon@au-kbc.org> <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> <200910100515.48028.lawgon@au-kbc.org> <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> <8548c5f30910100001p1f164e9eo800a1a50e78ad4a1@mail.gmail.com> <9963e56e0910100703p2844d6aar91d0bdbf8f3570d2@mail.gmail.com> <549053140910100729of0d3d15te4cb7a928d3ae0b1@mail.gmail.com> Message-ID: <91bea30d0910100739m1b769a42l6dc05bd3c15b493a@mail.gmail.com> On Sat, Oct 10, 2009 at 7:59 PM, Carl Karsten wrote: > > I have done 2 php pages and a bunch of python. ?My guess is PHP makes > it easier to write vulnerable code, but I am really going on on a limb > here, so I'll not try to support this notion. +1 PHP indeed makes it easier to write vulnerable code. But on the other hand PHP applications are so widely deployed that they do go through more security scanning than python apps. Hence you get more vulnerabilities in PHP apps :) I think one critical issue per month is a healthy sign that application is scrutinized regularly. regards Vivek -- The hidden harmony is better than the obvious!! From noufal at gmail.com Sat Oct 10 17:05:24 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 10 Oct 2009 20:35:24 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <549053140910100729of0d3d15te4cb7a928d3ae0b1@mail.gmail.com> References: <200910071609.05191.lawgon@au-kbc.org> <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> <200910100515.48028.lawgon@au-kbc.org> <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> <8548c5f30910100001p1f164e9eo800a1a50e78ad4a1@mail.gmail.com> <9963e56e0910100703p2844d6aar91d0bdbf8f3570d2@mail.gmail.com> <549053140910100729of0d3d15te4cb7a928d3ae0b1@mail.gmail.com> Message-ID: <9963e56e0910100805i130c95adl7deb536314f0032d@mail.gmail.com> On Sat, Oct 10, 2009 at 7:59 PM, Carl Karsten wrote: [..] > I need to inject... > > The line should be: > > cursor.execute(query, ('burger', '2009-09-10 12:00:00')) Ah. Then it's just a case of the API doing the quoting internally which points to a better API than a better language. > and to keep it more like the php example: > cursor.execute(query, (productname, buy_datetime)) Yes. That would be closer. [..] > I have done 2 php pages and a bunch of python. ?My guess is PHP makes > it easier to write vulnerable code, but I am really going on on a limb > here, so I'll not try to support this notion. Yes. I think so too. However, something being in PHP alone doesn't disqualify it as a robust and secure product. -- ~noufal http://nibrahim.net.in From carl at personnelware.com Sat Oct 10 18:32:01 2009 From: carl at personnelware.com (Carl Karsten) Date: Sat, 10 Oct 2009 11:32:01 -0500 Subject: [BangPypers] sql query parameters Message-ID: <549053140910100932o13b019c9jcb7ef8b796f76168@mail.gmail.com> On Sat, Oct 10, 2009 at 10:05 AM, Noufal Ibrahim wrote: > On Sat, Oct 10, 2009 at 7:59 PM, Carl Karsten wrote: > [..] >> I need to inject... >> >> The line should be: >> >> cursor.execute(query, ('burger', '2009-09-10 12:00:00')) > > Ah. Then it's just a case of the API doing the quoting internally > which points to a better API than a better language. Hopefully [1] it is not "quoting", for reasonable definitions of quoting. "serializing" maybe, but in the case of sqlite, which executes in the same memory space as python, I am not sure the data is even serialized. This is described in the sql92 spec: """ Many SQL-statements can be written to use "parameters" (which are manifested in static execution of SQL-statements as in s contained in s in s or as s in s contained in s). In SQL-statements that are executed dynamically, the parameters are called dynamic parameters (s) and are represented in SQL language by a (?). """ http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt Perhaps some code showing both sides of the connection will clarify: db=[ {'a':'x', 'b':2, 'c':3}, {'a':'y', 'b':5, 'c':6}, {'a':'z', 'b':8, 'c':9}, ] def whack(): db=[] print "blam-o!" def server(command, parameters=() ): """ command is something like "find b=5" """ def whack(): db=[] print "blam-o!" print "parsing", command.__repr__() words=command.split() if words[0]=='find': expression = words[1] print "1 finding", expression.__repr__() field,value = expression.split('=') print "2 finding", field, value.__repr__() if value=='?': value=parameters[0] else: value = eval(value) print "3 finding", field, value.__repr__() rows = [ row for row in db if row[field]==value] print "found ", rows return rows server("find a='y'") server("find a=?",('y',)) server("find b=8") server("find b=?",(8,)) server("find c=?",('whack()',)) server("find c=wh1ack()") The critical part: if value=='?': value=parameters[0] else: value = eval(value) value=parameters[0] is very light weight. the data is already in the correct data type eval(value) is cpu intensive, and as the last line shows, subject to injection. yes, this is a contrived example, but it does a pretty good job demonstrating the 2 ways of getting values to the server. It does not at all demonstrate the query optimization caching stuff, but I have no clue how to show that in something this simple. -- Carl K From abpillai at gmail.com Sat Oct 10 18:50:08 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Sat, 10 Oct 2009 22:20:08 +0530 Subject: [BangPypers] [Inpycon] Weekend meeting In-Reply-To: <37e621180910091053ke038307waadde3ef326b5581@mail.gmail.com> References: <37e621180910091053ke038307waadde3ef326b5581@mail.gmail.com> Message-ID: <8548c5f30910100950t61066531n8a1f9a5657f9b5bd@mail.gmail.com> On Fri, Oct 9, 2009 at 11:23 PM, abstract things wrote: > Hello All, > > My name is Sundar and I am Senior Python programming language user [?] (I mean 3+ years). I like Python programming. Well, I haven't registered for PyCon early enough but I attended Mayavi, Algorithms and Semantic Web talk. Wanted to attend many other interesting talks as well but time didn't permit me. So following some of the online material now. > > I also have very much interest in Semantic Web but I some how don't agree with the Anand's post. No offence Anand. I am following Semantic Web since 2005 onwards (soon after the SPARQL draft was out) and have been active member in online Semantic Web groups. Open Calais is a Web service which stores data/information with Semantics. When we access Open Calais store by its APIs, what we get in return is JSON format (may be others as well, I haven't explored much its API) results with entity and value etc. But that is something like taking data out from your database after sending a query. If somebody follows WordNet and NLP can figure it out with document classification algorithms that the particular text you are sending to Open Calais has what semantics associated (associated Nouns, Verbs e.g. Person, place, actions, class of the text i.e. sports, politics, history etc). > > Arranging this information on our webpage or blog is not the Semantic Web. I would call it as fetching data from a Semantic Data store and arranging it on our webpages so that Search engines can find it in better manner or we can have quality or enriched information on our webpages (one can use RDFa). Semantic Web is what happening inside Open Calais along with other Linguistics based features for extracting meaning of the data we send or ask through API. And no way anybody can call this as ONTOLOGY. Ontologies are like domain modelling, a hard thing). Ontologies are inside thing of Open Calais. What we get out from their data store is not an Ontology. Its simply the data with semantics we are getting (just the relationships without actually knowing the domain model built inside). We no way have any knowledge of how the data inside Open Calais is stored and what their ontology for a particular domain is (Something similar to getting results out from a database without knowing what the internal schema is). > > Semantic Web basic concept has RDF (which is in turn an XML based standard). What that guy in PyCon showed in his presentation was a direction to think about Semantic Web if you yourself is building some Semantic Web based system (eg. if your company wants to launch some online system with Semantic Web features then you can have your domain vocabulary defined and accessible using a URL, also how the RDF statements can be made, what are the best practices for making such statements etc). His talk was more of focused on large Enterprise systems and integrations compared to using Semantic Web for Web page based data annotation. (Micro formats is not the part of W3C based Semantic Web protocol stack). > > Based on my limited knowledge, RDFa and GRDDL are the two standards from W3C that can be used for Web content annotation and the RDFLib (that guy used this library in his practical Python examples if you remember) can generate RDFa documents from the triples you have in your datastore (see his last 3 or 4 slides). RDF based XML documents can be generated from a Web application or an enterprise application for semantic based data exchange. > > Well, my thoughts here are not to argue on any thing but to give a picture of Semantic Web from my acquired knowledge in last 4or so years. (and also the perspective of that guy as I observed). > > I guess it would have been more interesting if that guy would have given few examples of using Description Logic to describe data relationship and how OWL fits into that model and also about Stanford's Semantic Web Protege editor or some other editors for designing Ontologies. I guess it requires more than 45 min. > > Nevertheless, his talk was satisfying for me, may be because I already had background knowledge of this subject. > > > Regards, > > Sundar > > > > On Fri, Oct 9, 2009 at 4:48 PM, Arvind Jamuna Dixit >wrote: > > >* Semantic web and python. Pretty cool stuff. I am interested.* > > Cool. Here is a brief of what I want to present. > > Anyone who attended the talk on Semantic web in Pycon would have > understood something about the "theorotical" semantic web as > visualized by W3C. > > This is however a top-down approach which requires annotating > web-pages with metadata such as RDF, microformats etc. > > However a more practical approach is extracting > semantic content namely ontologies and relationships from existing > web content. Such services are already becoming available. > > I will be demonstrating such a web-service namely "OpenCalais" > by Reuters and how to use it in Python to develop some applications > using the rich semantic data returned by the service. > > The whole session will be interactive and about showing running > Python code, and will last from 45min - 1 hour. > > > I am sorry, but I decided not to present this talk tomorrow. I had thought of presenting OpenCalais as an example of top down semantic web but with some prejudices already about the topic, I think I will be better off with presenting something more than just that. I am working on an idea which I have to use the service to build up a semantic web application which uses OpenCalais to extract data and present it via other web 3.0 services. However it won't be ready by tomorrow and I dont have the time to hack something up quick. Next week-end I will have something to present on this and I think it will be better to present everything together than piece by piece. So this talk is canceled tomorrow. Let us have the PyCon follow-up discussions. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 96 bytes Desc: not available URL: From noufal at gmail.com Sat Oct 10 19:46:49 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 10 Oct 2009 23:16:49 +0530 Subject: [BangPypers] [Inpycon] Weekend meeting In-Reply-To: <8548c5f30910100950t61066531n8a1f9a5657f9b5bd@mail.gmail.com> References: <37e621180910091053ke038307waadde3ef326b5581@mail.gmail.com> <8548c5f30910100950t61066531n8a1f9a5657f9b5bd@mail.gmail.com> Message-ID: <9963e56e0910101046i7533fce4v1a8f2bd68403d847@mail.gmail.com> On Sat, Oct 10, 2009 at 10:20 PM, Anand Balachandran Pillai wrote: [..] > I am sorry, but I decided not to present this talk tomorrow. I had thought > of presenting OpenCalais as an example of top down semantic web but > with some prejudices already about the topic, I think I will be better > off with presenting something more than just that. I think the 'prejudice' if you want to call it that is mostly regarding the nomenclature. Open Calais is still a useful web service and a presentation on how you used it would be nice regardless of what you call it. I for one was looking forward to it. :-/ > I am working on an idea which I have to use the service to build up > a semantic web application which uses OpenCalais to extract > data and present it via other web 3.0 services. However it won't > be ready by tomorrow and I dont have the time to hack something > up quick. Next week-end I will have something to present on this > and I think it will be better to present everything together than > piece by piece. Okay. We'll schedule this for the next meet up then. Anyone else have some hacks they'd like to present/talk about? -- ~noufal http://nibrahim.net.in From lawgon at thenilgiris.com Sun Oct 11 03:25:54 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Sun, 11 Oct 2009 06:55:54 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <91bea30d0910100739m1b769a42l6dc05bd3c15b493a@mail.gmail.com> References: <549053140910100729of0d3d15te4cb7a928d3ae0b1@mail.gmail.com> <91bea30d0910100739m1b769a42l6dc05bd3c15b493a@mail.gmail.com> Message-ID: <200910110655.54417.lawgon@thenilgiris.com> On Saturday 10 Oct 2009 8:09:17 pm Vivek Khurana wrote: > On Sat, Oct 10, 2009 at 7:59 PM, Carl Karsten wrote: > > I have done 2 php pages and a bunch of python. My guess is PHP makes > > it easier to write vulnerable code, but I am really going on on a limb > > here, so I'll not try to support this notion. > > +1 PHP indeed makes it easier to write vulnerable code. But on the > other hand PHP applications are so widely deployed that they do go > through more security scanning than python apps. Hence you get more > vulnerabilities in PHP apps :) I think one critical issue per month is > a healthy sign that application is scrutinized regularly. wishful thinking -- regards kg http://lawgon.livejournal.com From hiddenharmony at gmail.com Sun Oct 11 06:43:26 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Sun, 11 Oct 2009 10:13:26 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <200910110655.54417.lawgon@thenilgiris.com> References: <549053140910100729of0d3d15te4cb7a928d3ae0b1@mail.gmail.com> <91bea30d0910100739m1b769a42l6dc05bd3c15b493a@mail.gmail.com> <200910110655.54417.lawgon@thenilgiris.com> Message-ID: <91bea30d0910102143x18faeafs7b0cbf3017f29285@mail.gmail.com> On Sun, Oct 11, 2009 at 6:55 AM, Kenneth Gonsalves wrote: > > wishful thinking How ? regards Vivek -- The hidden harmony is better than the obvious!! From abpillai at gmail.com Sun Oct 11 07:42:42 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Sun, 11 Oct 2009 11:12:42 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <9963e56e0910100805i130c95adl7deb536314f0032d@mail.gmail.com> References: <200910071609.05191.lawgon@au-kbc.org> <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> <200910100515.48028.lawgon@au-kbc.org> <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> <8548c5f30910100001p1f164e9eo800a1a50e78ad4a1@mail.gmail.com> <9963e56e0910100703p2844d6aar91d0bdbf8f3570d2@mail.gmail.com> <549053140910100729of0d3d15te4cb7a928d3ae0b1@mail.gmail.com> <9963e56e0910100805i130c95adl7deb536314f0032d@mail.gmail.com> Message-ID: <8548c5f30910102242h54d3f8dam23c24917a7f6abf3@mail.gmail.com> On Sat, Oct 10, 2009 at 8:35 PM, Noufal Ibrahim wrote: > On Sat, Oct 10, 2009 at 7:59 PM, Carl Karsten > wrote: > [..] > > I need to inject... > > > > The line should be: > > > > cursor.execute(query, ('burger', '2009-09-10 12:00:00')) > > Ah. Then it's just a case of the API doing the quoting internally > which points to a better API than a better language. > Nobody said Python is a better language than PHP. Indeed comparing both is a bit of apples to oranges comparison since both languages are designed for totally different intentions. Python is a general purpose language, whereas PHP was built from the ground up for the web. My point is there are certain aspects of PHP which makes it easy to write vulnerable code if the coder is not careful. In Python, there are again some aspects (language as well as API) which guards against common pitfalls. > > and to keep it more like the php example: > > cursor.execute(query, (productname, buy_datetime)) > > Yes. That would be closer. > > [..] > > I have done 2 php pages and a bunch of python. My guess is PHP makes > > it easier to write vulnerable code, but I am really going on on a limb > > here, so I'll not try to support this notion. > > Yes. I think so too. However, something being in PHP alone doesn't > disqualify it as a robust and secure product. > A product being robust is a totally different thing from it being secure. Robust means it is stable (as in staying up and doing what it is supposed to do) and works with reasonable or good performance. Security is a totally different aspect. Being secure doesn't imply robustness or vice-versa. > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Sun Oct 11 09:00:18 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Sun, 11 Oct 2009 12:30:18 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <8548c5f30910102242h54d3f8dam23c24917a7f6abf3@mail.gmail.com> References: <200910071609.05191.lawgon@au-kbc.org> <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> <200910100515.48028.lawgon@au-kbc.org> <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> <8548c5f30910100001p1f164e9eo800a1a50e78ad4a1@mail.gmail.com> <9963e56e0910100703p2844d6aar91d0bdbf8f3570d2@mail.gmail.com> <549053140910100729of0d3d15te4cb7a928d3ae0b1@mail.gmail.com> <9963e56e0910100805i130c95adl7deb536314f0032d@mail.gmail.com> <8548c5f30910102242h54d3f8dam23c24917a7f6abf3@mail.gmail.com> Message-ID: <1c4dc2780910110000x3aa9b4f7td7bff3febb077160@mail.gmail.com> On Sun, Oct 11, 2009 at 11:12 AM, Anand Balachandran Pillai wrote: > ?Nobody said Python is a better language than PHP. Indeed comparing both > ?is a bit of apples to oranges comparison since both languages are designed > ?for totally different intentions. Python is a general purpose 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 From lawgon at thenilgiris.com Sun Oct 11 14:07:33 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Sun, 11 Oct 2009 17:37:33 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <91bea30d0910102143x18faeafs7b0cbf3017f29285@mail.gmail.com> References: <200910110655.54417.lawgon@thenilgiris.com> <91bea30d0910102143x18faeafs7b0cbf3017f29285@mail.gmail.com> Message-ID: <200910111737.33366.lawgon@thenilgiris.com> On Sunday 11 Oct 2009 10:13:26 am Vivek Khurana wrote: > On Sun, Oct 11, 2009 at 6:55 AM, Kenneth Gonsalves > > wrote: > > wishful thinking > > How ? there are three types of logic: 1. deductive logic: eg: php is fundamentally insecure, this app is in php, therefore it is insecure 2. inductive logic: eg: most apps written in php regularly have security holes, therefore php is an insecure language 3. wishful logic: eg: I use php apps, therefore it is secure. -- regards kg http://lawgon.livejournal.com From rajeev.sebastian at gmail.com Sun Oct 11 21:46:01 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Mon, 12 Oct 2009 01:16:01 +0530 Subject: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009 In-Reply-To: <8548c5f30910102242h54d3f8dam23c24917a7f6abf3@mail.gmail.com> References: <200910071609.05191.lawgon@au-kbc.org> <91bea30d0910070353h77040701w41a8f392dcab5014@mail.gmail.com> <200910100515.48028.lawgon@au-kbc.org> <9963e56e0910092216w3a78d86v3014f9f21fb1cf6f@mail.gmail.com> <8548c5f30910100001p1f164e9eo800a1a50e78ad4a1@mail.gmail.com> <9963e56e0910100703p2844d6aar91d0bdbf8f3570d2@mail.gmail.com> <549053140910100729of0d3d15te4cb7a928d3ae0b1@mail.gmail.com> <9963e56e0910100805i130c95adl7deb536314f0032d@mail.gmail.com> <8548c5f30910102242h54d3f8dam23c24917a7f6abf3@mail.gmail.com> Message-ID: <79a035420910111246g58d4f14bwc95d1d26cf0d81ed@mail.gmail.com> On Sun, Oct 11, 2009 at 11:12 AM, Anand Balachandran Pillai wrote: > ? A product being robust is a totally different thing from it being secure. > ? Robust means it is stable (as in staying up and doing what it is supposed > ? to do) and works with reasonable or good performance. Security is > ? a totally different aspect. Being secure doesn't imply robustness or > ? vice-versa. Well ... a non-robust piece of software on the web is vulnerable to DoS attacks ... Regards Rajeev J Sebastian From gopiindian86 at gmail.com Mon Oct 12 09:19:11 2009 From: gopiindian86 at gmail.com (Gopinath R) Date: Mon, 12 Oct 2009 12:49:11 +0530 Subject: [BangPypers] New to python - neuron ring Message-ID: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> Hi all, I am a newbie to python. i like to learn python strongly. which version is recommended to start with 2.6 or 3.0. I believe 3.0 has lot more features added, there is no backward compatibility in that. we cannot use some of the 2.6 syntaxes in that. for Example: raw_input. it worries me a lot. pls give some suggestion. Thanks, Neuron Ring, http://neuronring.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Mon Oct 12 09:23:26 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 12 Oct 2009 12:53:26 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> Message-ID: <9963e56e0910120023v21d44ce5yce7ae24a06443c12@mail.gmail.com> On Mon, Oct 12, 2009 at 12:49 PM, Gopinath R wrote: > Hi all, > > I am a newbie to python. i like to learn python strongly. which version is > recommended to start with 2.6 or 3.0. > I believe 3.0 has lot more features added, there is no backward > compatibility in that. we cannot use some of the 2.6 syntaxes in that. for > Example: raw_input. it worries me a lot. pls give some suggestion. I believe the only real reason to stick with a pre 3.0 release is 3rd party library availability. The language core itself is pretty decent in post 3.0. As you mentioned, it was a deliberately backward incompatible release. Depending on what you're using Python for, this should guide you. Enjoy. -- ~noufal http://nibrahim.net.in From abpillai at gmail.com Mon Oct 12 09:26:17 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 12 Oct 2009 12:56:17 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> Message-ID: <8548c5f30910120026s20d89be3kdd6004af867ae7a2@mail.gmail.com> On Mon, Oct 12, 2009 at 12:49 PM, Gopinath R wrote: > Hi all, > > I am a newbie to python. i like to learn python strongly. which version is > recommended to start with 2.6 or 3.0. > I believe 3.0 has lot more features added, there is no backward > compatibility in that. we cannot use some of the 2.6 syntaxes in that. for > Example: raw_input. it worries me a lot. > Why does it worry you a lot ? > pls give some suggestion. > If you are a stark newbie, start with 3.0 so there is nothing to unlearn and relearn later. 2.6 has most features of 3.0 so 2.6 is also a good starting point. My suggestion would be start with 3.0. > > Thanks, > Neuron Ring, > http://neuronring.com > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Mon Oct 12 09:27:56 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Mon, 12 Oct 2009 12:57:56 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> Message-ID: <1c4dc2780910120027n2c2710ddje6645de110f37923@mail.gmail.com> On Mon, Oct 12, 2009 at 12:49 PM, Gopinath R wrote: > I am a newbie to python. i like to learn python strongly. which version is > recommended to start with 2.6 or 3.0. > http://diveintopython3.org/ has been released, so maybe you can start with 3.0 but OTOH, I don't know Python 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 From gopiindian86 at gmail.com Mon Oct 12 09:29:16 2009 From: gopiindian86 at gmail.com (Gopinath R) Date: Mon, 12 Oct 2009 12:59:16 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: <9963e56e0910120023v21d44ce5yce7ae24a06443c12@mail.gmail.com> References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> <9963e56e0910120023v21d44ce5yce7ae24a06443c12@mail.gmail.com> Message-ID: <6a438da70910120029p2f9f6acaqd8a80903ece61f31@mail.gmail.com> So Noufal, what ure suggesting me. Shall i start learning with python 3.0 ? ** On Mon, Oct 12, 2009 at 12:53 PM, Noufal Ibrahim wrote: > On Mon, Oct 12, 2009 at 12:49 PM, Gopinath R > wrote: > > Hi all, > > > > I am a newbie to python. i like to learn python strongly. which version > is > > recommended to start with 2.6 or 3.0. > > I believe 3.0 has lot more features added, there is no backward > > compatibility in that. we cannot use some of the 2.6 syntaxes in that. > for > > Example: raw_input. it worries me a lot. pls give some suggestion. > > I believe the only real reason to stick with a pre 3.0 release is 3rd > party library availability. The language core itself is pretty decent > in post 3.0. As you mentioned, it was a deliberately backward > incompatible release. > > Depending on what you're using Python for, this should guide you. > > Enjoy. > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Mon Oct 12 09:28:01 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Mon, 12 Oct 2009 12:58:01 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: <9963e56e0910120023v21d44ce5yce7ae24a06443c12@mail.gmail.com> References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> <9963e56e0910120023v21d44ce5yce7ae24a06443c12@mail.gmail.com> Message-ID: <200910121258.02111.lawgon@au-kbc.org> On Monday 12 Oct 2009 12:53:26 pm Noufal Ibrahim wrote: > > Hi all, > > > > I am a newbie to python. i like to learn python strongly. which version > > is recommended to start with 2.6 or 3.0. > > I believe 3.0 has lot more features added, there is no backward > > compatibility in that. we cannot use some of the 2.6 syntaxes in that. > > for Example: raw_input. it worries me a lot. pls give some suggestion. > > I believe the only real reason to stick with a pre 3.0 release is 3rd > party library availability. The language core itself is pretty decent > in post 3.0. As you mentioned, it was a deliberately backward > incompatible release. > > Depending on what you're using Python for, this should guide you. if you are learning the language for the sake of pursuit of knowledge, 3.x is fine. If you are learning it to use it in production, 2.5/6 is the way to go. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From baiju at muthukadan.net Mon Oct 12 09:33:03 2009 From: baiju at muthukadan.net (Baiju Muthukadan) Date: Mon, 12 Oct 2009 13:03:03 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: <9963e56e0910120023v21d44ce5yce7ae24a06443c12@mail.gmail.com> References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> <9963e56e0910120023v21d44ce5yce7ae24a06443c12@mail.gmail.com> Message-ID: On Mon, Oct 12, 2009 at 12:53 PM, Noufal Ibrahim wrote: [snip] > I believe the only real reason to stick with a pre 3.0 release is 3rd > party library availability. BTW, Now 'distribute' ( http://pypi.python.org/pypi/distribute ) has Python 3.x support. If you want to create distribution packages you can use it instead of setuptools. I guess, distribute is going to accelerate Python 3 .x support for many third party packages. Regards, Baiju M From noufal at gmail.com Mon Oct 12 09:41:00 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 12 Oct 2009 13:11:00 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: <6a438da70910120029p2f9f6acaqd8a80903ece61f31@mail.gmail.com> References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> <9963e56e0910120023v21d44ce5yce7ae24a06443c12@mail.gmail.com> <6a438da70910120029p2f9f6acaqd8a80903ece61f31@mail.gmail.com> Message-ID: <9963e56e0910120041ha2dac0bkec1f58a0e2f554c@mail.gmail.com> On Mon, Oct 12, 2009 at 12:59 PM, Gopinath R wrote: > So Noufal, > > what ure suggesting me. Shall i start learning with python 3.0 ? Nope. I'm pointing out what I feel the most important difference as far as usage is concerned is and then asking you to take a decision by yourself. -- ~noufal http://nibrahim.net.in From navin.kabra at gmail.com Mon Oct 12 09:44:15 2009 From: navin.kabra at gmail.com (Navin Kabra) Date: Mon, 12 Oct 2009 13:14:15 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> Message-ID: On Mon, Oct 12, 2009 at 12:49 PM, Gopinath R wrote: > I am a newbie to python. i like to learn python strongly. which version is > recommended to start with 2.6 or 3.0. I believe 3.0 has lot more features > added, there is no backward compatibility in that. we cannot use some of the > 2.6 syntaxes in that. for Example: raw_input. it worries me a lot. pls give > some suggestion. > I think one of the important features of python is the availability of a huge set of external libraries that make your programming easier (because you can reuse stuff, and not reinvent the wheel). This is true of python 2.6, but not yet true of python 3.x. So, assuming that you would like to make something useful with python (as opposed to toy programs), go with 2.6. I can't think of a strong reason for navin. -------------- next part -------------- An HTML attachment was scrubbed... URL: From navin.kabra at gmail.com Mon Oct 12 09:44:58 2009 From: navin.kabra at gmail.com (Navin Kabra) Date: Mon, 12 Oct 2009 13:14:58 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> Message-ID: On Mon, Oct 12, 2009 at 1:14 PM, Navin Kabra wrote: > > On Mon, Oct 12, 2009 at 12:49 PM, Gopinath R wrote: > >> I am a newbie to python. i like to learn python strongly. which version is >> recommended to start with 2.6 or 3.0. I believe 3.0 has lot more features >> added, there is no backward compatibility in that. we cannot use some of the >> 2.6 syntaxes in that. for Example: raw_input. it worries me a lot. pls give >> some suggestion. >> > > I think one of the important features of python is the availability of a > huge set of external libraries that make your programming easier (because > you can reuse stuff, and not reinvent the wheel). This is true of python > 2.6, but not yet true of python 3.x. So, assuming that you would like to > make something useful with python (as opposed to toy programs), go with 2.6. > > > I can't think of a strong reason for > Sorry. This should have been "I can't think of a strong reason for learning 3.x at this point of time" -------------- next part -------------- An HTML attachment was scrubbed... URL: From gopiindian86 at gmail.com Mon Oct 12 10:33:35 2009 From: gopiindian86 at gmail.com (Gopinath R) Date: Mon, 12 Oct 2009 14:03:35 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> Message-ID: <6a438da70910120133k10ae72e8r744ec551d7f74a73@mail.gmail.com> Hi i m learning python mainly for job opportunities. so is it much difficult if i learn 2.6 and then to update to 3.0 ? Thanks. On Mon, Oct 12, 2009 at 1:14 PM, Navin Kabra wrote: > > > On Mon, Oct 12, 2009 at 1:14 PM, Navin Kabra wrote: > >> >> On Mon, Oct 12, 2009 at 12:49 PM, Gopinath R wrote: >> >>> I am a newbie to python. i like to learn python strongly. which version >>> is recommended to start with 2.6 or 3.0. I believe 3.0 has lot more >>> features added, there is no backward compatibility in that. we cannot use >>> some of the 2.6 syntaxes in that. for Example: raw_input. it worries me a >>> lot. pls give some suggestion. >>> >> >> I think one of the important features of python is the availability of a >> huge set of external libraries that make your programming easier (because >> you can reuse stuff, and not reinvent the wheel). This is true of python >> 2.6, but not yet true of python 3.x. So, assuming that you would like to >> make something useful with python (as opposed to toy programs), go with 2.6. >> >> > > > >> I can't think of a strong reason for >> > > > Sorry. This should have been "I can't think of a strong reason for learning > 3.x at this point of time" > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gopiindian86 at gmail.com Mon Oct 12 10:39:39 2009 From: gopiindian86 at gmail.com (Gopinath R) Date: Mon, 12 Oct 2009 14:09:39 +0530 Subject: [BangPypers] Perl or Python ? Message-ID: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Hi everyone, It is my pleasure finding this mailing list. I am a Open Source guy. but not an expert. I m strong in Shell Scripting. I need to learn one more open source language for excellent job opportunities. I am bit confused in choosing it. I need your suggestions i should go for PERL or PYTHON. Which one is powerful and will give you more job opportunities? Thanks, R.Gopinath http://neuronring.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From baiju at muthukadan.net Mon Oct 12 11:12:50 2009 From: baiju at muthukadan.net (Baiju Muthukadan) Date: Mon, 12 Oct 2009 14:42:50 +0530 Subject: [BangPypers] A link I found today Message-ID: http://bitcheese.net/wiki/nopython Don't start a flame war now, please ;) -- Baiju M From lawgon at au-kbc.org Mon Oct 12 11:20:35 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Mon, 12 Oct 2009 14:50:35 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: <200910121450.35517.lawgon@au-kbc.org> On Monday 12 Oct 2009 2:09:39 pm Gopinath R wrote: > i should go for PERL or PYTHON. Which one is powerful and will give you > more job opportunities? since this is a python list, I would say python - go to a perl list, and they would say perl and guess what they would say on a ruby list? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From rmathews at gmail.com Mon Oct 12 11:23:54 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Mon, 12 Oct 2009 14:53:54 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: <1c4dc2780910120223g7d69ff40l6f87805576ab530b@mail.gmail.com> 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. Roshan From lawgon at thenilgiris.com Mon Oct 12 11:21:28 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Mon, 12 Oct 2009 14:51:28 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: <6a438da70910120133k10ae72e8r744ec551d7f74a73@mail.gmail.com> References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> <6a438da70910120133k10ae72e8r744ec551d7f74a73@mail.gmail.com> Message-ID: <200910121451.29136.lawgon@thenilgiris.com> On Monday 12 Oct 2009 2:03:35 pm Gopinath R wrote: > Hi i m learning python mainly for job opportunities. so is it much > difficult if i learn 2.6 and then to update to 3.0 ? if it is for job, then most production platforms are still on 2.4 and 2.5 (very few on 2.6) -- regards kg http://lawgon.livejournal.com From zaki at manian.org Mon Oct 12 11:33:58 2009 From: zaki at manian.org (Zaki Manian) Date: Mon, 12 Oct 2009 15:03:58 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: In terms of job opportunities, Perl vs Python opportunities breakdown by field but python adoption is expanding rapidly. Python is used frequently in web application development which creates a lot of job opportunities. The must substantial difference between perl and python is stylistic. Python places a strong emphasis on style and convention enforced by the interpreter. This makes python very readable but causes some headaches when initially learning to code. Usually, there is just one preferred way to accomplish routine tasks in Python. Perl style is much more individual. Perl coders and groups tend to develop an idiosyncratic style. Perl can be extremely concise("Famous one liner") but also unreadable. Python is being used in lots of high public profile projects across the industry. Perl is more common in the enterprise or legacy situations. Python is also receiving large investments by major corporations to dramatically improved performance( "Unladen Swallow"). All in all, Python is a expressive mature language with a large number of use cases but it isn't the new "hawtness" in languages anymore. US number: +1 650-862-5992 Indian Number:+919945111824 On Mon, Oct 12, 2009 at 2:09 PM, Gopinath R wrote: > Hi everyone, > > It is my pleasure finding this mailing list. I am a Open Source guy. but > not an expert. I m strong in Shell Scripting. I need to learn one more open > source language for excellent job opportunities. > > I am bit confused in choosing it. I need your suggestions > > i should go for PERL or PYTHON. Which one is powerful and will give you > more job opportunities? > > Thanks, > R.Gopinath > http://neuronring.com > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssquery at gmail.com Mon Oct 12 11:36:00 2009 From: ssquery at gmail.com (sudhakar s) Date: Mon, 12 Oct 2009 15:06:00 +0530 Subject: [BangPypers] New to python - neuron ring In-Reply-To: <6a438da70910120133k10ae72e8r744ec551d7f74a73@mail.gmail.com> References: <6a438da70910120019x2d6ea49cw9b4e83664afa4080@mail.gmail.com> <6a438da70910120133k10ae72e8r744ec551d7f74a73@mail.gmail.com> Message-ID: <1528d2590910120236j1b3a7498i8c66ce49c3227f39@mail.gmail.com> Hi, itz good to learn python check out "A Byte of Python" By *Swaroop* CH On Mon, Oct 12, 2009 at 2:03 PM, Gopinath R wrote: > Hi i m learning python mainly for job opportunities. so is it much > difficult if i learn 2.6 and then to update to 3.0 ? > > Thanks. > > On Mon, Oct 12, 2009 at 1:14 PM, Navin Kabra wrote: > >> >> >> On Mon, Oct 12, 2009 at 1:14 PM, Navin Kabra wrote: >> >>> >>> On Mon, Oct 12, 2009 at 12:49 PM, Gopinath R wrote: >>> >>>> I am a newbie to python. i like to learn python strongly. which version >>>> is recommended to start with 2.6 or 3.0. I believe 3.0 has lot more >>>> features added, there is no backward compatibility in that. we cannot use >>>> some of the 2.6 syntaxes in that. for Example: raw_input. it worries me a >>>> lot. pls give some suggestion. >>>> >>> >>> I think one of the important features of python is the availability of a >>> huge set of external libraries that make your programming easier (because >>> you can reuse stuff, and not reinvent the wheel). This is true of python >>> 2.6, but not yet true of python 3.x. So, assuming that you would like to >>> make something useful with python (as opposed to toy programs), go with 2.6. >>> >>> >> >> >> >>> I can't think of a strong reason for >>> >> >> >> Sorry. This should have been "I can't think of a strong reason for >> learning 3.x at this point of time" >> >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- With Regards, S Sudhakar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Mon Oct 12 11:58:32 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 12 Oct 2009 15:28:32 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: <9963e56e0910120258r334d4313uf83b677b5df67c3c@mail.gmail.com> On Mon, Oct 12, 2009 at 2:09 PM, Gopinath R wrote: > Hi everyone, > > It is my pleasure finding this mailing list. I am a Open Source guy. but not > an expert. I m strong in Shell Scripting. I need to learn one more open > source language for excellent job opportunities. > > I am bit confused in choosing it. I need your suggestions > > i should go for PERL or PYTHON. Which one is powerful and will give you more > job opportunities? Job opportunities? I expect Java, C++ or C# rather than Perl/Python. Languages should be seen as tools to solve problems and not as career decisions. Perl and Python shine in different domains and have different applications (although there is some overlap). -- ~noufal http://nibrahim.net.in From abpillai at gmail.com Mon Oct 12 12:02:15 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 12 Oct 2009 15:32:15 +0530 Subject: [BangPypers] A link I found today In-Reply-To: References: Message-ID: <8548c5f30910120302q420714d0pdfe4f5e3247b458f@mail.gmail.com> On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan wrote: > http://bitcheese.net/wiki/nopython > > Don't start a flame war now, please ;) > I had a good laugh. Many of his comments are broken including the "try...catch" comment. He also seems to be living on the fringes of Python world where even the Python twilight does not reach. I mean, I have never even heard of the apps he complain about namely "Gajim, lastmp, debtorrent, deluge, aldrin, wicd" etc ! Under "broken syntax" he is talking about a floating point error. So much for being consistent in writing. "Python treats objects as hashes (dictionaries), but this approach is flawed". There is no coherent argument on why this is "flawed" as the author suggests. And when did programming languages not have parens ? Show him LISP...! Looks like some failed coder with some penchant for making very bad blog posts. And I suggest he rename his site as "bitchee.net". > > -- > Baiju M > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Mon Oct 12 12:12:26 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Mon, 12 Oct 2009 15:42:26 +0530 Subject: [BangPypers] A link I found today In-Reply-To: References: Message-ID: <200910121542.27083.lawgon@au-kbc.org> On Monday 12 Oct 2009 2:42:50 pm Baiju Muthukadan wrote: > http://bitcheese.net/wiki/nopython > > Don't start a flame war now, please ;) why should I when you have already started one? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From anandology at gmail.com Mon Oct 12 12:17:39 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 12 Oct 2009 15:47:39 +0530 Subject: [BangPypers] A link I found today In-Reply-To: References: Message-ID: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan wrote: > http://bitcheese.net/wiki/nopython > > Don't start a flame war now, please ;) 2.3 - 3.4 and 2/3.0 in Python, Ruby and Haskell interpreters. $ python3.0 Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) [GCC 4.0.1 (Apple Inc. build 5490)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> 2.3 - 3.4 -1.1000000000000001 >>> 2/3.0 0.66666666666666663 $ irb >> 2.3 - 3.4 => -1.1 >> 2/3.0 => 0.666666666666667 >> ^D $ ghci GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Prelude> 2.3 - 3.4 -1.1 Prelude> 2/3.0 0.6666666666666666 Prelude> Leaving GHCi. It looks like number of decimal digits printed are 17 in Python, 16 in Haskell and 15 in Ruby. Is there any way to change that behavior in Python? Anand From abpillai at gmail.com Mon Oct 12 12:32:30 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 12 Oct 2009 16:02:30 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> Message-ID: <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> On Mon, Oct 12, 2009 at 3:47 PM, Anand Chitipothu wrote: > On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan > wrote: > > http://bitcheese.net/wiki/nopython > > > > Don't start a flame war now, please ;) > > 2.3 - 3.4 and 2/3.0 in Python, Ruby and Haskell interpreters. > > $ python3.0 > Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) > [GCC 4.0.1 (Apple Inc. build 5490)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> 2.3 - 3.4 > -1.1000000000000001 > >>> 2/3.0 > 0.66666666666666663 > > $ irb > >> 2.3 - 3.4 > => -1.1 > >> 2/3.0 > => 0.666666666666667 > >> ^D > > $ ghci > GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help > Loading package base ... linking ... done. > Prelude> 2.3 - 3.4 > -1.1 > Prelude> 2/3.0 > 0.6666666666666666 > Prelude> Leaving GHCi. > > It looks like number of decimal digits printed are 17 in Python, 16 in > Haskell and 15 in Ruby. > > Is there any way to change that behavior in Python? > Not in the interpreter AFAIK. In code, use Decimal type. import decimal >>> x=decimal.Decimal('2.3') >>> y=decimal.Decimal('3.4') >>> x-y Decimal("-1.1") I am not however a fan of the decimal module since it uses strings as the base type. > Anand > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Mon Oct 12 12:32:55 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 12 Oct 2009 16:02:55 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> Message-ID: <9963e56e0910120332q7bdc01a2jaed888b57392ba1d@mail.gmail.com> On Mon, Oct 12, 2009 at 3:47 PM, Anand Chitipothu wrote: [..] > It looks like number of decimal digits printed are 17 in Python, 16 in > Haskell and 15 in Ruby. > > Is there any way to change that behavior in Python? [..] I guess it would be from the __repr__ from the int object? That's implemented in C isn't it? Apropos the floating point issue, check out http://cobra-language.com/docs/python/ (the Accurate Math section) > The problem is that Python defaults to a binary floating point type even though most numbers that people input are base 10. To help > address this Python offers an additional Decimal type that computes the correct numbers, but it must be used explicitly and, some > would say, awkwardly: -- ~noufal http://nibrahim.net.in From abpillai at gmail.com Mon Oct 12 12:35:31 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 12 Oct 2009 16:05:31 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> Message-ID: <8548c5f30910120335p5df14446x6a991bb0aa8ae7cc@mail.gmail.com> On Mon, Oct 12, 2009 at 4:02 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Mon, Oct 12, 2009 at 3:47 PM, Anand Chitipothu wrote: > >> On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan >> wrote: >> > http://bitcheese.net/wiki/nopython >> > >> > Don't start a flame war now, please ;) >> >> 2.3 - 3.4 and 2/3.0 in Python, Ruby and Haskell interpreters. >> >> $ python3.0 >> Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) >> [GCC 4.0.1 (Apple Inc. build 5490)] on darwin >> Type "help", "copyright", "credits" or "license" for more information. >> >>> 2.3 - 3.4 >> -1.1000000000000001 >> >>> 2/3.0 >> 0.66666666666666663 >> >> $ irb >> >> 2.3 - 3.4 >> => -1.1 >> >> 2/3.0 >> => 0.666666666666667 >> >> ^D >> >> $ ghci >> GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help >> Loading package base ... linking ... done. >> Prelude> 2.3 - 3.4 >> -1.1 >> Prelude> 2/3.0 >> 0.6666666666666666 >> Prelude> Leaving GHCi. >> >> It looks like number of decimal digits printed are 17 in Python, 16 in >> Haskell and 15 in Ruby. >> >> Is there any way to change that behavior in Python? >> > > Not in the interpreter AFAIK. In code, use Decimal type. > > import decimal > >>> x=decimal.Decimal('2.3') > >>> y=decimal.Decimal('3.4') > >>> x-y > Decimal("-1.1") > > I am not however a fan of the decimal module since it uses strings as the > base type. > You do end up with quirks like the following however. >>> x=decimal.Decimal('2.3') >>> y=decimal.Decimal('3.4') >>> z=x-y >>> z Decimal("-1.1") >>> str(z) '-1.1' >>> z>(2.2-3.4) True ;-) Perhaps the "bitchy" blogger has a point w.r.t floating point handling. > > >> Anand >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > --Anand > > > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Mon Oct 12 12:36:26 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 12 Oct 2009 16:06:26 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <8548c5f30910120335p5df14446x6a991bb0aa8ae7cc@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> <8548c5f30910120335p5df14446x6a991bb0aa8ae7cc@mail.gmail.com> Message-ID: <8548c5f30910120336t2879e302y8ad03c19f7c857b1@mail.gmail.com> On Mon, Oct 12, 2009 at 4:05 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Mon, Oct 12, 2009 at 4:02 PM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > >> >> >> On Mon, Oct 12, 2009 at 3:47 PM, Anand Chitipothu wrote: >> >>> On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan >>> wrote: >>> > http://bitcheese.net/wiki/nopython >>> > >>> > Don't start a flame war now, please ;) >>> >>> 2.3 - 3.4 and 2/3.0 in Python, Ruby and Haskell interpreters. >>> >>> $ python3.0 >>> Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) >>> [GCC 4.0.1 (Apple Inc. build 5490)] on darwin >>> Type "help", "copyright", "credits" or "license" for more information. >>> >>> 2.3 - 3.4 >>> -1.1000000000000001 >>> >>> 2/3.0 >>> 0.66666666666666663 >>> >>> $ irb >>> >> 2.3 - 3.4 >>> => -1.1 >>> >> 2/3.0 >>> => 0.666666666666667 >>> >> ^D >>> >>> $ ghci >>> GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help >>> Loading package base ... linking ... done. >>> Prelude> 2.3 - 3.4 >>> -1.1 >>> Prelude> 2/3.0 >>> 0.6666666666666666 >>> Prelude> Leaving GHCi. >>> >>> It looks like number of decimal digits printed are 17 in Python, 16 in >>> Haskell and 15 in Ruby. >>> >>> Is there any way to change that behavior in Python? >>> >> >> Not in the interpreter AFAIK. In code, use Decimal type. >> >> import decimal >> >>> x=decimal.Decimal('2.3') >> >>> y=decimal.Decimal('3.4') >> >>> x-y >> Decimal("-1.1") >> >> I am not however a fan of the decimal module since it uses strings as the >> base type. >> > > You do end up with quirks like the following however. > >>> x=decimal.Decimal('2.3') > >>> y=decimal.Decimal('3.4') > >>> z=x-y > >>> z > Decimal("-1.1") > >>> str(z) > '-1.1' > >>> z>(2.2-3.4) > True > > Oops, I meant, >>> z>(2.3-3.4) True > ;-) > > Perhaps the "bitchy" blogger has a point w.r.t floating point handling. > > > >> >> >>> Anand >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >> >> >> >> -- >> --Anand >> >> >> >> > > > -- > --Anand > > > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From rajeev.sebastian at gmail.com Mon Oct 12 12:38:36 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Mon, 12 Oct 2009 16:08:36 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> Message-ID: <79a035420910120338r2337393cmfb84b5e404abb686@mail.gmail.com> On Mon, Oct 12, 2009 at 4:02 PM, Anand Balachandran Pillai wrote: > > > On Mon, Oct 12, 2009 at 3:47 PM, Anand Chitipothu > wrote: >> >> On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan >> wrote: >> > http://bitcheese.net/wiki/nopython >> > >> > Don't start a flame war now, please ;) >> >> 2.3 - 3.4 and 2/3.0 in Python, Ruby and Haskell interpreters. >> >> $ python3.0 >> Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) >> [GCC 4.0.1 (Apple Inc. build 5490)] on darwin >> Type "help", "copyright", "credits" or "license" for more information. >> >>> 2.3 - 3.4 >> -1.1000000000000001 >> >>> 2/3.0 >> 0.66666666666666663 >> >> $ irb >> >> 2.3 - 3.4 >> => -1.1 >> >> 2/3.0 >> => 0.666666666666667 >> >> ^D >> >> $ ghci >> GHCi, version 6.8.2: http://www.haskell.org/ghc/ ?:? for help >> Loading package base ... linking ... done. >> Prelude> 2.3 - 3.4 >> -1.1 >> Prelude> 2/3.0 >> 0.6666666666666666 >> Prelude> Leaving GHCi. >> >> It looks like number of decimal digits printed are 17 in Python, 16 in >> Haskell and 15 in Ruby. >> >> Is there any way to change that behavior in Python? > > ?Not in the interpreter AFAIK. In code, use Decimal type. > > import decimal > ?>>> x=decimal.Decimal('2.3') >>>> y=decimal.Decimal('3.4') >>>> x-y > Decimal("-1.1") > > I am not however a fan of the decimal module since it uses strings as the > base type. What else should it use then ? Regards Rajeev J Sebastian From abpillai at gmail.com Mon Oct 12 12:39:43 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 12 Oct 2009 16:09:43 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <8548c5f30910120336t2879e302y8ad03c19f7c857b1@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> <8548c5f30910120335p5df14446x6a991bb0aa8ae7cc@mail.gmail.com> <8548c5f30910120336t2879e302y8ad03c19f7c857b1@mail.gmail.com> Message-ID: <8548c5f30910120339nd13a035t20bd378682ec61e2@mail.gmail.com> On Mon, Oct 12, 2009 at 4:06 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Mon, Oct 12, 2009 at 4:05 PM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > >> >> >> On Mon, Oct 12, 2009 at 4:02 PM, Anand Balachandran Pillai < >> abpillai at gmail.com> wrote: >> >>> >>> >>> On Mon, Oct 12, 2009 at 3:47 PM, Anand Chitipothu wrote: >>> >>>> On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan >>>> wrote: >>>> > http://bitcheese.net/wiki/nopython >>>> > >>>> > Don't start a flame war now, please ;) >>>> >>>> 2.3 - 3.4 and 2/3.0 in Python, Ruby and Haskell interpreters. >>>> >>>> $ python3.0 >>>> Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) >>>> [GCC 4.0.1 (Apple Inc. build 5490)] on darwin >>>> Type "help", "copyright", "credits" or "license" for more information. >>>> >>> 2.3 - 3.4 >>>> -1.1000000000000001 >>>> >>> 2/3.0 >>>> 0.66666666666666663 >>>> >>>> $ irb >>>> >> 2.3 - 3.4 >>>> => -1.1 >>>> >> 2/3.0 >>>> => 0.666666666666667 >>>> >> ^D >>>> >>>> $ ghci >>>> GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help >>>> Loading package base ... linking ... done. >>>> Prelude> 2.3 - 3.4 >>>> -1.1 >>>> Prelude> 2/3.0 >>>> 0.6666666666666666 >>>> Prelude> Leaving GHCi. >>>> >>>> It looks like number of decimal digits printed are 17 in Python, 16 in >>>> Haskell and 15 in Ruby. >>>> >>>> Is there any way to change that behavior in Python? >>>> >>> >>> Not in the interpreter AFAIK. In code, use Decimal type. >>> >>> import decimal >>> >>> x=decimal.Decimal('2.3') >>> >>> y=decimal.Decimal('3.4') >>> >>> x-y >>> Decimal("-1.1") >>> >>> I am not however a fan of the decimal module since it uses strings as the >>> >>> base type. >>> >> >> You do end up with quirks like the following however. >> >>> x=decimal.Decimal('2.3') >> >>> y=decimal.Decimal('3.4') >> >>> z=x-y >> >>> z >> Decimal("-1.1") >> >>> str(z) >> '-1.1' >> >>> z>(2.2-3.4) >> True >> >> Oops, I meant, > > >>> z>(2.3-3.4) > True > > Hmmm... apparently comparison with floats are not implemented for this type, so the above is not surprising.. Example. # This is clearly false >>> z>-1.0 True But, # That is better! >>> z>decimal.Decimal("-1.0") False > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From anandology at gmail.com Mon Oct 12 12:42:28 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 12 Oct 2009 16:12:28 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <8548c5f30910120335p5df14446x6a991bb0aa8ae7cc@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> <8548c5f30910120335p5df14446x6a991bb0aa8ae7cc@mail.gmail.com> Message-ID: <41139fcb0910120342n42ee8ec0wc6d94fd06308d25d@mail.gmail.com> On Mon, Oct 12, 2009 at 4:05 PM, Anand Balachandran Pillai wrote: > > > On Mon, Oct 12, 2009 at 4:02 PM, Anand Balachandran Pillai > wrote: >> >> >> On Mon, Oct 12, 2009 at 3:47 PM, Anand Chitipothu >> wrote: >>> >>> On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan >>> wrote: >>> > http://bitcheese.net/wiki/nopython >>> > >>> > Don't start a flame war now, please ;) >>> >>> 2.3 - 3.4 and 2/3.0 in Python, Ruby and Haskell interpreters. >>> >>> $ python3.0 >>> Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) >>> [GCC 4.0.1 (Apple Inc. build 5490)] on darwin >>> Type "help", "copyright", "credits" or "license" for more information. >>> >>> 2.3 - 3.4 >>> -1.1000000000000001 >>> >>> 2/3.0 >>> 0.66666666666666663 >>> >>> $ irb >>> >> 2.3 - 3.4 >>> => -1.1 >>> >> 2/3.0 >>> => 0.666666666666667 >>> >> ^D >>> >>> $ ghci >>> GHCi, version 6.8.2: http://www.haskell.org/ghc/ ?:? for help >>> Loading package base ... linking ... done. >>> Prelude> 2.3 - 3.4 >>> -1.1 >>> Prelude> 2/3.0 >>> 0.6666666666666666 >>> Prelude> Leaving GHCi. >>> >>> It looks like number of decimal digits printed are 17 in Python, 16 in >>> Haskell and 15 in Ruby. >>> >>> Is there any way to change that behavior in Python? >> >> ?Not in the interpreter AFAIK. In code, use Decimal type. >> >> import decimal >> ?>>> x=decimal.Decimal('2.3') >> >>> y=decimal.Decimal('3.4') >> >>> x-y >> Decimal("-1.1") >> >> I am not however a fan of the decimal module since it uses strings as the >> base type. > > ?You do end up with quirks like the following however. > ? >>> x=decimal.Decimal('2.3') >>>> y=decimal.Decimal('3.4') >>>> z=x-y >>>> z > Decimal("-1.1") >>>> str(z) > '-1.1' >>>> z>(2.2-3.4) > True > > ?;-) > > Perhaps the "bitchy" blogger has a point w.r.t? floating point handling. Not really. That is problem with floating point computation and not with Python. Even that is same in Ruby. $ irb >> 1.1 > (2.2-3.4) => true >> ^D Anand From anandology at gmail.com Mon Oct 12 12:45:04 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 12 Oct 2009 16:15:04 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <41139fcb0910120342n42ee8ec0wc6d94fd06308d25d@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> <8548c5f30910120335p5df14446x6a991bb0aa8ae7cc@mail.gmail.com> <41139fcb0910120342n42ee8ec0wc6d94fd06308d25d@mail.gmail.com> Message-ID: <41139fcb0910120345m3d607451r76aa09dc0badac1b@mail.gmail.com> On Mon, Oct 12, 2009 at 4:12 PM, Anand Chitipothu wrote: > On Mon, Oct 12, 2009 at 4:05 PM, Anand Balachandran Pillai > wrote: >> >> >> On Mon, Oct 12, 2009 at 4:02 PM, Anand Balachandran Pillai >> wrote: >>> >>> >>> On Mon, Oct 12, 2009 at 3:47 PM, Anand Chitipothu >>> wrote: >>>> >>>> On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan >>>> wrote: >>>> > http://bitcheese.net/wiki/nopython >>>> > >>>> > Don't start a flame war now, please ;) >>>> >>>> 2.3 - 3.4 and 2/3.0 in Python, Ruby and Haskell interpreters. >>>> >>>> $ python3.0 >>>> Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) >>>> [GCC 4.0.1 (Apple Inc. build 5490)] on darwin >>>> Type "help", "copyright", "credits" or "license" for more information. >>>> >>> 2.3 - 3.4 >>>> -1.1000000000000001 >>>> >>> 2/3.0 >>>> 0.66666666666666663 >>>> >>>> $ irb >>>> >> 2.3 - 3.4 >>>> => -1.1 >>>> >> 2/3.0 >>>> => 0.666666666666667 >>>> >> ^D >>>> >>>> $ ghci >>>> GHCi, version 6.8.2: http://www.haskell.org/ghc/ ?:? for help >>>> Loading package base ... linking ... done. >>>> Prelude> 2.3 - 3.4 >>>> -1.1 >>>> Prelude> 2/3.0 >>>> 0.6666666666666666 >>>> Prelude> Leaving GHCi. >>>> >>>> It looks like number of decimal digits printed are 17 in Python, 16 in >>>> Haskell and 15 in Ruby. >>>> >>>> Is there any way to change that behavior in Python? >>> >>> ?Not in the interpreter AFAIK. In code, use Decimal type. >>> >>> import decimal >>> ?>>> x=decimal.Decimal('2.3') >>> >>> y=decimal.Decimal('3.4') >>> >>> x-y >>> Decimal("-1.1") >>> >>> I am not however a fan of the decimal module since it uses strings as the >>> base type. >> >> ?You do end up with quirks like the following however. >> ? >>> x=decimal.Decimal('2.3') >>>>> y=decimal.Decimal('3.4') >>>>> z=x-y >>>>> z >> Decimal("-1.1") >>>>> str(z) >> '-1.1' >>>>> z>(2.2-3.4) >> True >> >> ?;-) >> >> Perhaps the "bitchy" blogger has a point w.r.t? floating point handling. > > Not really. That is problem with floating point computation and not > with Python. Even that is same in Ruby. > > $ irb >>> 1.1 > (2.2-3.4) > => true >>> ^D Opps. wrong example. From abpillai at gmail.com Mon Oct 12 12:45:43 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 12 Oct 2009 16:15:43 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <79a035420910120338r2337393cmfb84b5e404abb686@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> <79a035420910120338r2337393cmfb84b5e404abb686@mail.gmail.com> Message-ID: <8548c5f30910120345xc7f8b8blfa5453ea6f42fbc0@mail.gmail.com> On Mon, Oct 12, 2009 at 4:08 PM, Rajeev J Sebastian < rajeev.sebastian at gmail.com> wrote: > > > > I am not however a fan of the decimal module since it uses strings as the > > base type. > > What else should it use then ? > Nothing. It should be taken care of in the float implementation without needing another module to fix it. Having to convert my float to a string to get a correct representation of it is indeed awkward. >>> Decimal(1.0) Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python2.5/decimal.py", line 578, in __new__ "First convert the float to a string") TypeError: Cannot convert float to Decimal. First convert the float to a string A strange error, but I agree it is required for the module to work...! Does numpy take care of these issues ? > Regards > Rajeev J Sebastian > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From anandology at gmail.com Mon Oct 12 12:48:17 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 12 Oct 2009 16:18:17 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <8548c5f30910120339nd13a035t20bd378682ec61e2@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> <8548c5f30910120335p5df14446x6a991bb0aa8ae7cc@mail.gmail.com> <8548c5f30910120336t2879e302y8ad03c19f7c857b1@mail.gmail.com> <8548c5f30910120339nd13a035t20bd378682ec61e2@mail.gmail.com> Message-ID: <41139fcb0910120348wc015da0m70c5f1282e7f342@mail.gmail.com> xkcd cartoon on floating point issues: http://www.xkcd.com/217/ Anand From anandology at gmail.com Mon Oct 12 13:02:45 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 12 Oct 2009 16:32:45 +0530 Subject: [BangPypers] A link I found today In-Reply-To: <8548c5f30910120345xc7f8b8blfa5453ea6f42fbc0@mail.gmail.com> References: <41139fcb0910120317v60ece3d9gb9c2da16d2eaddbd@mail.gmail.com> <8548c5f30910120332g7c69bf84se2bcb969f70f5b9a@mail.gmail.com> <79a035420910120338r2337393cmfb84b5e404abb686@mail.gmail.com> <8548c5f30910120345xc7f8b8blfa5453ea6f42fbc0@mail.gmail.com> Message-ID: <41139fcb0910120402m5e298ec7l726667fa361d74a3@mail.gmail.com> On Mon, Oct 12, 2009 at 4:15 PM, Anand Balachandran Pillai wrote: > > > On Mon, Oct 12, 2009 at 4:08 PM, Rajeev J Sebastian > wrote: >> >> >> > I am not however a fan of the decimal module since it uses strings as >> > the >> > base type. >> >> What else should it use then ? > > ?Nothing. It should be taken care of in the float implementation > ?without needing another module to fix it. > > ?Having to convert my float to a string to get a correct representation of > it > ?is indeed awkward. > >>>> Decimal(1.0) > Traceback (most recent call last): > ? File "", line 1, in > ? File "/usr/lib64/python2.5/decimal.py", line 578, in __new__ > ??? "First convert the float to a string") > TypeError: Cannot convert float to Decimal.? First convert the float to a > string > > A strange error, but I agree it is required for the module to work...! > > Does numpy take care of these issues ? The error message is wrong not the implementation. Floating point representation is not exact. For example look at 1.1: >>> 1.1 1.1000000000000001 If you say Decimal(1.1) should it take it as 1.1 or 1.1000000000000001? From ruchiryshukla at gmail.com Mon Oct 12 13:23:02 2009 From: ruchiryshukla at gmail.com (Ruchir Shukla) Date: Mon, 12 Oct 2009 16:53:02 +0530 Subject: [BangPypers] A link I found today In-Reply-To: References: Message-ID: def __init__(self) return 0 what is this?????? __init__ and with return :O and also where is " *:* " On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan wrote: > http://bitcheese.net/wiki/nopython > > Don't start a flame war now, please ;) > > -- > Baiju M > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ------------------------------ Ruchir Shukla -------------- next part -------------- An HTML attachment was scrubbed... URL: From ardsrk at gmail.com Mon Oct 12 13:30:44 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Mon, 12 Oct 2009 17:00:44 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora Message-ID: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> Hi, Has anyone here tried installing multiple versions of python ( say 2.6 and 3.0 ) onto a Fedora system ( specifically fedora 11 )? -Arvind -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Mon Oct 12 13:54:03 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 12 Oct 2009 17:24:03 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> Message-ID: <9963e56e0910120454r7bbc469bodbb6202fa4c854ee@mail.gmail.com> On Mon, Oct 12, 2009 at 5:00 PM, Arvind Jamuna Dixit wrote: > Hi, > > Has anyone here tried installing multiple versions of python ( say 2.6 and > 3.0 ) > onto a Fedora system ( specifically fedora 11 )? System wide or for a single user? -- ~noufal http://nibrahim.net.in From ardsrk at gmail.com Mon Oct 12 15:19:24 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Mon, 12 Oct 2009 18:49:24 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <9963e56e0910120454r7bbc469bodbb6202fa4c854ee@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> <9963e56e0910120454r7bbc469bodbb6202fa4c854ee@mail.gmail.com> Message-ID: <3d62196a0910120619y66bb9e38p733385d160339f8e@mail.gmail.com> I prefer system wide. On Mon, Oct 12, 2009 at 5:24 PM, Noufal Ibrahim wrote: > On Mon, Oct 12, 2009 at 5:00 PM, Arvind Jamuna Dixit > wrote: > > Hi, > > > > Has anyone here tried installing multiple versions of python ( say 2.6 > and > > 3.0 ) > > onto a Fedora system ( specifically fedora 11 )? > > System wide or for a single user? > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Mon Oct 12 15:27:50 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 12 Oct 2009 18:57:50 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <3d62196a0910120619y66bb9e38p733385d160339f8e@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> <9963e56e0910120454r7bbc469bodbb6202fa4c854ee@mail.gmail.com> <3d62196a0910120619y66bb9e38p733385d160339f8e@mail.gmail.com> Message-ID: <8548c5f30910120627j2629c287m7bb5defa899a5976@mail.gmail.com> On Mon, Oct 12, 2009 at 6:49 PM, Arvind Jamuna Dixit wrote: > I prefer system wide. > > > On Mon, Oct 12, 2009 at 5:24 PM, Noufal Ibrahim wrote: > >> On Mon, Oct 12, 2009 at 5:00 PM, Arvind Jamuna Dixit >> wrote: >> > Hi, >> > >> > Has anyone here tried installing multiple versions of python ( say 2.6 >> and >> > 3.0 ) >> > onto a Fedora system ( specifically fedora 11 )? >> > Haven't tried it on F11, but if you want to keep multiple versions of Python side by side I suggest virtualenv. > >> System wide or for a single user? >> -- >> ~noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From shivraj.ms at gmail.com Mon Oct 12 15:32:24 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Mon, 12 Oct 2009 06:32:24 -0700 (PDT) Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> Message-ID: <25855870.post@talk.nabble.com> I don't see any problems in installing 'n' number of versions on any *nix flavour . If you find any problem please paste the traceback. You can always set /usr/bin/python to direct whichever version you want, and even keep multiple easy_install scripts. ardsrk wrote: > > Hi, > > Has anyone here tried installing multiple versions of python ( say 2.6 and > 3.0 ) > onto a Fedora system ( specifically fedora 11 )? > > -Arvind > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- View this message in context: http://www.nabble.com/Running-multiple-versions-of-python-on-Fedora-tp25854225p25855870.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From lists.amitsaha at gmail.com Mon Oct 12 16:13:22 2009 From: lists.amitsaha at gmail.com (Amit Saha) Date: Mon, 12 Oct 2009 19:43:22 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <25855870.post@talk.nabble.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> <25855870.post@talk.nabble.com> Message-ID: <4AD33982.3020705@gmail.com> Shivaraj M S wrote: > I don't see any problems in installing 'n' number of versions on any *nix > flavour . If you find any problem please paste the traceback. > > You can always set /usr/bin/python to direct whichever version you want, > and even keep multiple easy_install scripts. IMHO, +1 for 'virtualenv'. -Amit > > > > ardsrk wrote: >> Hi, >> >> Has anyone here tried installing multiple versions of python ( say 2.6 and >> 3.0 ) >> onto a Fedora system ( specifically fedora 11 )? >> >> -Arvind >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > -- Journal: http://amitksaha.wordpress.com ?-blog: http://twitter.com/amitsaha IRC: cornucopic on #scheme, #lisp, #math, #linux From carl at personnelware.com Mon Oct 12 17:19:42 2009 From: carl at personnelware.com (Carl Karsten) Date: Mon, 12 Oct 2009 10:19:42 -0500 Subject: [BangPypers] Perl or Python ? In-Reply-To: <9963e56e0910120258r334d4313uf83b677b5df67c3c@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <9963e56e0910120258r334d4313uf83b677b5df67c3c@mail.gmail.com> Message-ID: <549053140910120819m2d47948p644e32b62c49d7e7@mail.gmail.com> On Mon, Oct 12, 2009 at 4:58 AM, Noufal Ibrahim wrote: > On Mon, Oct 12, 2009 at 2:09 PM, Gopinath R wrote: >> Hi everyone, >> >> It is my pleasure finding this mailing list. I am a Open Source guy. but not >> an expert. I m strong in Shell Scripting. I need to learn one more open >> source language for excellent job opportunities. >> >> I am bit confused in choosing it. I need your suggestions >> >> i should go for PERL or PYTHON. Which one is powerful and will give you more >> job opportunities? > > Job opportunities? I expect Java, C++ or C# rather than Perl/Python. > > Languages should be seen as tools to solve problems and not as career > decisions. > > Perl and Python shine in different domains and have different > applications (although there is some overlap). > > Given the OP: PERL or PYTHON. Which one I would say Python. I would also recommend first learning the basic syntax, up to list comprehensions, exceptions and classes. (lamda, decorators and metaclasses can come later.) once you know the basic syntax, pick some specialty/project: http://matplotlib.sourceforge.net http://carlfk.blip.tv/file/2557425 plotting library http://www.djangoproject.com/ web framework http://www.reportlab.org/ PDF library Something that interests you - get involved. great way to learn the language and a project. -- Carl K From ardsrk at gmail.com Mon Oct 12 18:20:50 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Mon, 12 Oct 2009 21:50:50 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <4AD33982.3020705@gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> <25855870.post@talk.nabble.com> <4AD33982.3020705@gmail.com> Message-ID: <3d62196a0910120920q66ae7ba0kf59e87b45a3e422@mail.gmail.com> Any documentation on virtualenv that shows how to manage multiple python installations. I tried googling for it and all I could get was how to manage multiple libraries or python modules. On Mon, Oct 12, 2009 at 7:43 PM, Amit Saha wrote: > Shivaraj M S wrote: > >> I don't see any problems in installing 'n' number of versions on any *nix >> flavour . If you find any problem please paste the traceback. >> >> You can always set /usr/bin/python to direct whichever version you want, >> and even keep multiple easy_install scripts. >> > > IMHO, +1 for 'virtualenv'. > > -Amit > >> >> >> >> ardsrk wrote: >> >>> Hi, >>> >>> Has anyone here tried installing multiple versions of python ( say 2.6 >>> and >>> 3.0 ) >>> onto a Fedora system ( specifically fedora 11 )? >>> >>> -Arvind >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >>> >> > > -- > Journal: http://amitksaha.wordpress.com > ?-blog: http://twitter.com/amitsaha > IRC: cornucopic on #scheme, #lisp, #math, #linux > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pradeep at btbytes.com Mon Oct 12 19:18:51 2009 From: pradeep at btbytes.com (Pradeep Gowda) Date: Mon, 12 Oct 2009 13:18:51 -0400 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> Message-ID: <3e3294b70910121018v3d6f3791v42abb2d066a16903@mail.gmail.com> On Mon, Oct 12, 2009 at 7:30 AM, Arvind Jamuna Dixit wrote: > Has anyone here tried installing multiple versions of python ( say 2.6 and > 3.0 ) > onto a Fedora system ( specifically fedora 11 )? Having multiple versions on the same machine is not the problem. Most distros already ship with at least two version (Ubuntu 2.6 and 2.5). What is that you want to do with two python versions (esp since 3.x is introduces some backward incompatibility) is the more interesting question, which is not clear from your question. Is it that you just want know whether it is possible to have two versions? A: yes! you can. Or is it that you want to run some scripts under 2.6 and some others under 3.0? A: keep default python pointing to python2.x, put python3 in the #! line in py3 scripts ie., #!/usr/bin/env python3 Also, There is no virtualenv for Python 3.x yet. If you want to switch between the two: `ports` on mac provides a bash script called `python_select`(see: http://dpaste.com/106254/ for the bash script.) which allows you to set the default python version. On debian systems, the default python interpreter can be changed by editing /usr/share/python/debian_defaults. look for something similar on fedora. There is also the brute force method of deleting the symlink and pointing it to the version you want. From shivraj.ms at gmail.com Mon Oct 12 21:46:16 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Mon, 12 Oct 2009 12:46:16 -0700 (PDT) Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <3d62196a0910120920q66ae7ba0kf59e87b45a3e422@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> <25855870.post@talk.nabble.com> <4AD33982.3020705@gmail.com> <3d62196a0910120920q66ae7ba0kf59e87b45a3e422@mail.gmail.com> Message-ID: <25862011.post@talk.nabble.com> >> Any documentation on virtualenv that shows how to manage multiple python installations. This may make things easier if you are sure of using virtualenv. http://www.doughellmann.com/docs/virtualenvwrapper. -- View this message in context: http://www.nabble.com/Running-multiple-versions-of-python-on-Fedora-tp25854225p25862011.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From lawgon at au-kbc.org Tue Oct 13 01:23:21 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Tue, 13 Oct 2009 04:53:21 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> Message-ID: <200910130453.22022.lawgon@au-kbc.org> On Monday 12 Oct 2009 5:00:44 pm Arvind Jamuna Dixit wrote: > Has anyone here tried installing multiple versions of python ( say 2.6 and > 3.0 ) > onto a Fedora system ( specifically fedora 11 )? yes - use virtualenv to run multiple pythons and multiple anything python. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at thenilgiris.com Tue Oct 13 01:24:43 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Tue, 13 Oct 2009 04:54:43 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <3d62196a0910120920q66ae7ba0kf59e87b45a3e422@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> <4AD33982.3020705@gmail.com> <3d62196a0910120920q66ae7ba0kf59e87b45a3e422@mail.gmail.com> Message-ID: <200910130454.44182.lawgon@thenilgiris.com> On Monday 12 Oct 2009 9:50:50 pm Arvind Jamuna Dixit wrote: > Any documentation on virtualenv that shows how to manage multiple python > installations. > I tried googling for it and all I could get was how to manage multiple > libraries or python modules. for django I used this: http://justindriscoll.us/2008/11/setting-up-django-development-virtual.html -- regards kg http://lawgon.livejournal.com From vsapre80 at gmail.com Tue Oct 13 11:25:16 2009 From: vsapre80 at gmail.com (Vishal) Date: Tue, 13 Oct 2009 14:55:16 +0530 Subject: [BangPypers] Python performance inprovements with GCC 4.4...any details Message-ID: Hi, In our recent meet, there was a talk about python performance improvements when compiled using gcc 4.4. Are there anymore details that can be shared? Interested to know...because performance is always one of most sought after metric when choosing an interpreted language. Thanks and best regards, Vishal Sapre -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at thenilgiris.com Tue Oct 13 11:37:47 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Tue, 13 Oct 2009 15:07:47 +0530 Subject: [BangPypers] Python performance inprovements with GCC 4.4...any details In-Reply-To: References: Message-ID: <200910131507.48240.lawgon@thenilgiris.com> On Tuesday 13 Oct 2009 2:55:16 pm Vishal wrote: > Are there anymore details that can be shared? Interested to know...because > performance is always one of most sought after metric when choosing an > interpreted language. I thought it was the least important? -- regards kg http://lawgon.livejournal.com From noufal at gmail.com Tue Oct 13 11:44:26 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 13 Oct 2009 15:14:26 +0530 Subject: [BangPypers] Python performance inprovements with GCC 4.4...any details In-Reply-To: <200910131507.48240.lawgon@thenilgiris.com> References: <200910131507.48240.lawgon@thenilgiris.com> Message-ID: <9963e56e0910130244u7b273c84rbd5755fda5f10100@mail.gmail.com> On Tue, Oct 13, 2009 at 3:07 PM, Kenneth Gonsalves wrote: > On Tuesday 13 Oct 2009 2:55:16 pm Vishal wrote: >> Are there anymore details that can be shared? Interested to know...because >> performance is always one of most sought after metric when choosing an >> interpreted language. > > I thought it was the least important? Hardly. Maybe not the most sought after metric but definitely up there in a list of things to look at. Given n interpreted languages and faced with the problem of making a decision, speed is definitely a consideration (although other things are there as well). The number of Python projects going just targeting speed increase and the shift from 3.0 to 3.1 with the faster IO module are testaments to this. I've just recovered from the PHP/Python 'discussion' so I'll stay out of this one. :) -- ~noufal http://nibrahim.net.in From vsapre80 at gmail.com Tue Oct 13 12:01:23 2009 From: vsapre80 at gmail.com (Vishal) Date: Tue, 13 Oct 2009 15:31:23 +0530 Subject: [BangPypers] Python performance inprovements with GCC 4.4...any details In-Reply-To: <200910131507.48240.lawgon@thenilgiris.com> References: <200910131507.48240.lawgon@thenilgiris.com> Message-ID: Well, what I meant was: Everyone knows its an interpreted language and we are choosing it for its productivity. Also, since its interpreted, its performance will not / most probably not match that with compiled languages...so any news in increase in performance is a giantly welcome thing. Sometimes it also acts as a metric when choosing between different dynamic languages (especially by managers, who are not going to develop and not going to be in love with a particular language anyways) Hence, the performance query... Thanks and best regards, Vishal On Tue, Oct 13, 2009 at 3:07 PM, Kenneth Gonsalves wrote: > On Tuesday 13 Oct 2009 2:55:16 pm Vishal wrote: > > Are there anymore details that can be shared? Interested to > know...because > > performance is always one of most sought after metric when choosing an > > interpreted language. > > I thought it was the least important? > -- > regards > kg > http://lawgon.livejournal.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Thanks and best regards, Vishal Sapre --- "So say...Day by day, in every way, I am getting better, better and better !!!" "A Strong and Positive attitude creates more miracles than anything else. Because...Life is 10% how you make it, and 90% how you take it" "Diamond is another piece of coal that did well under pressure? "Happiness keeps u Sweet, Trials keep u Strong, Sorrow keeps u Human, Failure Keeps u Humble, Success keeps u Glowing, But only God Keeps u Going.....Keep Going....." -------------- next part -------------- An HTML attachment was scrubbed... URL: From vsapre80 at gmail.com Tue Oct 13 12:03:26 2009 From: vsapre80 at gmail.com (Vishal) Date: Tue, 13 Oct 2009 15:33:26 +0530 Subject: [BangPypers] Need a map showing use of Python across the world... Message-ID: Hi, I came across this on perlmongers: http://www.pm.org/groups/map.html Does something similar exist for Python ? This could be a good marketing aid for Python. Thanks and best regards, Vishal Sapre -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Tue Oct 13 12:16:10 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Tue, 13 Oct 2009 15:46:10 +0530 Subject: [BangPypers] Python performance inprovements with GCC 4.4...any details In-Reply-To: References: <200910131507.48240.lawgon@thenilgiris.com> Message-ID: <1c4dc2780910130316y49ec774di9113c19becb8a774@mail.gmail.com> On Tue, Oct 13, 2009 at 3:31 PM, Vishal wrote: > Well, what I meant was: Everyone knows its an interpreted language and we > are choosing it for its productivity. Also, since its interpreted, its > performance will not / most probably not match that with compiled > languages...so any news in increase in performance is a giantly welcome > thing. Sometimes it also acts as a metric when choosing between different > dynamic languages (especially by managers, who are not going to develop and > not going to be in love with a particular language anyways) > Hence, the performance query... > Speed matters. To programmers. So there's no need for the legal disclaimers. Roshan Mathews From abpillai at gmail.com Tue Oct 13 12:27:39 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 13 Oct 2009 15:57:39 +0530 Subject: [BangPypers] Need a map showing use of Python across the world... In-Reply-To: References: Message-ID: <8548c5f30910130327h55e51dc6me0bd9b8146050836@mail.gmail.com> On Tue, Oct 13, 2009 at 3:33 PM, Vishal wrote: > Hi, > I came across this on perlmongers: > http://www.pm.org/groups/map.html > > Does something similar exist for Python > ? > Quick googling returned None. > > This could be a good marketing aid for Python. > > Perhaps to your manager who is deciding whether to use Perl or Python in his next project and makes decisions based on data shown in google maps. Maybe, if he is a statistician or marketing guy, hardly if he is a techie. You can quickly mashup one using data at http://wiki.python.org/moin/LocalUserGroups. > Thanks and best regards, > Vishal Sapre > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From sridhar.ratna at gmail.com Tue Oct 13 12:37:13 2009 From: sridhar.ratna at gmail.com (srid) Date: Tue, 13 Oct 2009 16:07:13 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <3d62196a0910120619y66bb9e38p733385d160339f8e@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> <9963e56e0910120454r7bbc469bodbb6202fa4c854ee@mail.gmail.com> <3d62196a0910120619y66bb9e38p733385d160339f8e@mail.gmail.com> Message-ID: <7c73a13a0910130337i6c655f08nc1d9e7db76ffd0d4@mail.gmail.com> I do something like this in Ubuntu: 1. sudo apt-get install python2.6 2. sudo apt-get install python3.1 $ python3.1 foo3.py $ python2.6 foo.py You don't have to use separate script for python3. See http://nedbatchelder.com/blog/200910/running_the_same_code_on_python_2x_and_3x.html As for installing packages (that are not in the repository), I suggest installing them to PEP 370 style user directories (I don't use virtualenv when there is PEP 370). $ cd IPython-0.10.0/ $ sudo python2.6 setup.py install --user $ which ipython /Users/sridharr/.local/bin/ipython $ python2.6 -c "import IPython; print IPython.__file__" '/Users/sridharr/.local/lib/python2.6/site-packages/IPython/__init__.pyc' OR $ sudo pip install --install-option="--user" IPython OR $ pypm install IPython # http://docs.activestate.com/activepython/2.6/pypm.html -srid On Mon, Oct 12, 2009 at 6:49 PM, Arvind Jamuna Dixit wrote: > I prefer system wide. > > On Mon, Oct 12, 2009 at 5:24 PM, Noufal Ibrahim wrote: >> >> On Mon, Oct 12, 2009 at 5:00 PM, Arvind Jamuna Dixit >> wrote: >> > Hi, >> > >> > Has anyone here tried installing multiple versions of python ( say 2.6 >> > and >> > 3.0 ) >> > onto a Fedora system ( specifically fedora 11 )? >> >> System wide or for a single user? >> -- >> ~noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > From kunalkantsen at gmail.com Tue Oct 13 15:29:55 2009 From: kunalkantsen at gmail.com (kunalkant sen) Date: Tue, 13 Oct 2009 06:29:55 -0700 Subject: [BangPypers] Perl or Python ? In-Reply-To: <549053140910120819m2d47948p644e32b62c49d7e7@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <9963e56e0910120258r334d4313uf83b677b5df67c3c@mail.gmail.com> <549053140910120819m2d47948p644e32b62c49d7e7@mail.gmail.com> Message-ID: <63eb47a20910130629r434e925cqfcb91891c52d4429@mail.gmail.com> If some one really want to look on jobs based on language expertise. Look these 1) Are India Inc hiring fresher with Perl expertise or Python expertise. 2) Is language is stable/mature 3) Easy to learn and build applications. 4) Demand and supply Gap and many more...... I can say, Companies are hiring fresher with Python knowledge. Some of Pycon India Sponsors are hiring Python guys. Python may not give you *more* job opportunity, but it will give you one of the* best* job opportunity. ~ Kunal On Mon, Oct 12, 2009 at 8:19 AM, Carl Karsten wrote: > On Mon, Oct 12, 2009 at 4:58 AM, Noufal Ibrahim wrote: > > On Mon, Oct 12, 2009 at 2:09 PM, Gopinath R > wrote: > >> Hi everyone, > >> > >> It is my pleasure finding this mailing list. I am a Open Source guy. but > not > >> an expert. I m strong in Shell Scripting. I need to learn one more open > >> source language for excellent job opportunities. > >> > >> I am bit confused in choosing it. I need your suggestions > >> > >> i should go for PERL or PYTHON. Which one is powerful and will give you > more > >> job opportunities? > > > > Job opportunities? I expect Java, C++ or C# rather than Perl/Python. > > > > Languages should be seen as tools to solve problems and not as career > > decisions. > > > > Perl and Python shine in different domains and have different > > applications (although there is some overlap). > > > > > > Given the OP: PERL or PYTHON. Which one > > I would say Python. I would also recommend first learning the basic > syntax, up to list comprehensions, exceptions and classes. (lamda, > decorators and metaclasses can come later.) once you know the basic > syntax, pick some specialty/project: > > http://matplotlib.sourceforge.net http://carlfk.blip.tv/file/2557425 > plotting library > http://www.djangoproject.com/ web framework > http://www.reportlab.org/ PDF library > > Something that interests you - get involved. great way to learn the > language and a project. > > -- > Carl K > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Tue Oct 13 16:17:35 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Tue, 13 Oct 2009 19:47:35 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <63eb47a20910130629r434e925cqfcb91891c52d4429@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <9963e56e0910120258r334d4313uf83b677b5df67c3c@mail.gmail.com> <549053140910120819m2d47948p644e32b62c49d7e7@mail.gmail.com> <63eb47a20910130629r434e925cqfcb91891c52d4429@mail.gmail.com> Message-ID: <1c4dc2780910130717m1536db2ah1648eb6ae37bbaad@mail.gmail.com> 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 From yuvipanda at gmail.com Tue Oct 13 16:26:32 2009 From: yuvipanda at gmail.com (Yuvi Panda) Date: Tue, 13 Oct 2009 19:56:32 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: <45ec909c0910130726y1d3a06ex3abbefd87784bbd2@mail.gmail.com> Is power in any way related to job opportunities? And do power (and job opportunities) have anything to do with choosing which one to learn? On Mon, Oct 12, 2009 at 2:09 PM, Gopinath R wrote: > Hi everyone, > > It is my pleasure finding this mailing list. I am a Open Source guy. but > not an expert. I m strong in Shell Scripting. I need to learn one more open > source language for excellent job opportunities. > > I am bit confused in choosing it. I need your suggestions > > i should go for PERL or PYTHON. Which one is powerful and will give you > more job opportunities? > > Thanks, > R.Gopinath > http://neuronring.com > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Yuvi Panda T http://yuvisense.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From aneesh.nl at gmail.com Tue Oct 13 17:29:52 2009 From: aneesh.nl at gmail.com (Aneesh A) Date: Tue, 13 Oct 2009 20:59:52 +0530 Subject: [BangPypers] Guess me python game Message-ID: <90c47fb0910130829g5299a136p9ea979bd73ea9e56@mail.gmail.com> Guess me python game Please try.. Remember to use python3. And reply bugs and fixes to me.. I will surely give you credits.. -- +91 903 755 72 73 For all hardware and software services, Computer assembling, Software Installation etc. My blog : http://xtenders.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: guess_me_1.0_beta.tar.gz Type: application/x-gzip Size: 14261 bytes Desc: not available URL: From noufal at gmail.com Tue Oct 13 20:34:54 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 14 Oct 2009 00:04:54 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <45ec909c0910130726y1d3a06ex3abbefd87784bbd2@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <45ec909c0910130726y1d3a06ex3abbefd87784bbd2@mail.gmail.com> Message-ID: <9963e56e0910131134k3bcf04c4i9881faa1892fa9bb@mail.gmail.com> On Tue, Oct 13, 2009 at 7:56 PM, Yuvi Panda wrote: > Is power in any way related to job opportunities? > > And do power (and job opportunities) have anything to do with choosing which > one to learn?[..] With great power, comes great opportunities. Or did I get that wrong? -- ~noufal http://nibrahim.net.in From noufal at gmail.com Tue Oct 13 20:36:48 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 14 Oct 2009 00:06:48 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: <9963e56e0910131136n854a5f5vbf3cf884460d1425@mail.gmail.com> On Mon, Oct 12, 2009 at 3:03 PM, Zaki Manian wrote:[..] > Perl style is much more individual.? Perl coders and groups tend to develop > an idiosyncratic style. Perl can be extremely concise("Famous one liner") > but also unreadable. I think it's a good idea to atleast be able to read perl. It's an excellent quick and dirty tool and fits in very well with the UNIX toolset. If you're dealing with large text files, you have no excuse to *not* know it. -- ~noufal http://nibrahim.net.in From abpillai at gmail.com Tue Oct 13 20:47:42 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 14 Oct 2009 00:17:42 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: <8548c5f30910131147j702ec7a8r61706e2f8a04670a@mail.gmail.com> On Mon, Oct 12, 2009 at 2:09 PM, Gopinath R wrote: > Hi everyone, > > It is my pleasure finding this mailing list. I am a Open Source guy. but > not an expert. I m strong in Shell Scripting. I need to learn one more open > source language for excellent job opportunities. > > I am bit confused in choosing it. I need your suggestions > > i should go for PERL or PYTHON. Which one is powerful and will give you > more job opportunities? > Today's job opportunities could be tomorrow's pink slips. Today's technology for fun could be tomorrow's job opportunity. Don't just look for immediate gratification when investing time in learning anything. When you decide to learn a language or any technology, consider how it is going to play out in the job market for the next 5 years or so. In that respect, Python is a good choice. I want to add that Python allows you to create your own opportunities. My own experience with the language is that I have reaped more than enough for the time I invested in learning it. > > Thanks, > R.Gopinath > http://neuronring.com > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From gora at srijan.in Tue Oct 13 20:49:26 2009 From: gora at srijan.in (Gora Mohanty) Date: Wed, 14 Oct 2009 00:19:26 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <9963e56e0910131136n854a5f5vbf3cf884460d1425@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <9963e56e0910131136n854a5f5vbf3cf884460d1425@mail.gmail.com> Message-ID: <20091014001926.2cbd4cd6@anubis> On Wed, 14 Oct 2009 00:06:48 +0530 Noufal Ibrahim wrote: > On Mon, Oct 12, 2009 at 3:03 PM, Zaki Manian > wrote:[..] > > Perl style is much more individual.? Perl coders and groups > > tend to develop an idiosyncratic style. Perl can be extremely > > concise("Famous one liner") but also unreadable. > > I think it's a good idea to atleast be able to read perl. > > It's an excellent quick and dirty tool and fits in very well with > the UNIX toolset. If you're dealing with large text files, you > have no excuse to *not* know it. [...] I will repeat my Perl mantra: Regular expressions, regular expressions, regular expressions! There is a reason that regular expressions are not so central to Python, but nobody does regular expressions like the three- lled llama. Regards, Gora From ideamonk at gmail.com Tue Oct 13 20:57:30 2009 From: ideamonk at gmail.com (Abhishek Mishra) Date: Wed, 14 Oct 2009 00:27:30 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> Well I don't know about power and job prospects, but I remember reading ESR's 'Why Python' - http://www.linuxjournal.com/article/3882 before starting to learn it. regards, Abhishek From lists.amitsaha at gmail.com Tue Oct 13 21:03:03 2009 From: lists.amitsaha at gmail.com (Amit Saha) Date: Wed, 14 Oct 2009 00:33:03 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <9963e56e0910131134k3bcf04c4i9881faa1892fa9bb@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <45ec909c0910130726y1d3a06ex3abbefd87784bbd2@mail.gmail.com> <9963e56e0910131134k3bcf04c4i9881faa1892fa9bb@mail.gmail.com> Message-ID: <4AD4CEE7.6010902@gmail.com> Noufal Ibrahim wrote: > On Tue, Oct 13, 2009 at 7:56 PM, Yuvi Panda wrote: >> Is power in any way related to job opportunities? >> >> And do power (and job opportunities) have anything to do with choosing which >> one to learn?[..] > > With great power, comes great opportunities. > > Or did I get that wrong? '#f -Amit > -- Journal: http://amitksaha.wordpress.com ?-blog: http://twitter.com/amitsaha IRC: cornucopic on #scheme, #lisp, #math, #linux From noufal at gmail.com Tue Oct 13 21:11:31 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 14 Oct 2009 00:41:31 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> Message-ID: <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> On Wed, Oct 14, 2009 at 12:27 AM, Abhishek Mishra wrote: > Well I don't know about power and job prospects, but I remember > reading ESR's 'Why Python' - http://www.linuxjournal.com/article/3882 > before starting to learn it. Probably flame bait but does anyone take ESR seriously these days? -- ~noufal http://nibrahim.net.in From dhananjay.nene at gmail.com Tue Oct 13 21:11:47 2009 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Wed, 14 Oct 2009 00:41:47 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: On Mon, Oct 12, 2009 at 2:09 PM, Gopinath R wrote: > Hi everyone, > > It is my pleasure finding this mailing list. I am a Open Source guy. but > not an expert. I m strong in Shell Scripting. I need to learn one more open > source language for excellent job opportunities. > > I am bit confused in choosing it. I need your suggestions > > i should go for PERL or PYTHON. Which one is powerful and will give you > more job opportunities? > > Thanks, > R.Gopinath > http://neuronring.com > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > Its refreshing to see such a candid statement about a practice so many programmers indulge in (learning a language for excellent job opportunities). I would imagine that perl is great for opportunities of the nature of system administration (as an upgrade from shell scripting), rapid tooling and some amount of web based development. I have always wondered how many of the advertised opportunities about perl actually have perl as the primary language. I'm sure many do but I suspect perl is likely to be used as a secondary language more often than many other languages. On the other hand python might be helpful for programming related to algorithms, computations, web based apps (eg. using django etc.), more advanced scripting and some amount of financial apps eg. trading desks. Having expressed the applicabilities in the limited sample size I have seen, allow me to interject one opinion. Select the right programming language for the job not for the job opportunities. That requires you to build the ability to learn any appropriate language on demand - and thats the skill which probably really counts. Dhananjay -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene http://twitter.com/_pythonic -------------- next part -------------- An HTML attachment was scrubbed... URL: From rajeev.sebastian at gmail.com Tue Oct 13 21:25:42 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Wed, 14 Oct 2009 00:55:42 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: <79a035420910131225y2b0d5bb0o6a53c224fab54e73@mail.gmail.com> On Wed, Oct 14, 2009 at 12:41 AM, Dhananjay Nene wrote: > Select the right programming language for > the job not for the job opportunities. Yeah, but seems like OP is jobless .... :P Regards Rajeev J Sebastian From rmathews at gmail.com Wed Oct 14 03:34:02 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 14 Oct 2009 07:04:02 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> Message-ID: <1c4dc2780910131834w56d40a00h24f49c7fff92c7cc@mail.gmail.com> On Wed, Oct 14, 2009 at 12:41 AM, Dhananjay Nene wrote: > On the other hand python might be helpful for programming related to > algorithms, computations, web based apps (eg. using django etc.), more > advanced scripting and some amount of financial apps eg. trading desks. > Any Perl programmers here? Someone who prefers Perl to Python? I ask because I met some Perl programmers at one of the early ChennaiPy meets, there weren't many Perl meets going on, so they had come along. So maybe they are hiding here too! Someone wrote a pretty terse Perl program to wrap lines 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 From lawgon at au-kbc.org Wed Oct 14 03:37:26 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 14 Oct 2009 07:07:26 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <8548c5f30910131147j702ec7a8r61706e2f8a04670a@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <8548c5f30910131147j702ec7a8r61706e2f8a04670a@mail.gmail.com> Message-ID: <200910140707.26541.lawgon@au-kbc.org> On Wednesday 14 Oct 2009 12:17:42 am Anand Balachandran Pillai wrote: > My own experience with the language is that I have reaped sorry, cannot resist this: REAPPYthon for a better world. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Wed Oct 14 03:39:26 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 14 Oct 2009 07:09:26 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> Message-ID: <200910140709.27042.lawgon@au-kbc.org> On Wednesday 14 Oct 2009 12:41:31 am Noufal Ibrahim wrote: > On Wed, Oct 14, 2009 at 12:27 AM, Abhishek Mishra wrote: > > Well I don't know about power and job prospects, but I remember > > reading ESR's 'Why Python' - http://www.linuxjournal.com/article/3882 > > before starting to learn it. > > Probably flame bait but does anyone take ESR seriously these days? nobody ever took him seriously, but some of his essays have had and still have a huge influence - Cathedral and Bazaar, how to ask smart questions and the article on pytho. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From abpillai at gmail.com Wed Oct 14 06:12:24 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 14 Oct 2009 09:42:24 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <200910140709.27042.lawgon@au-kbc.org> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> Message-ID: <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> On Wed, Oct 14, 2009 at 7:09 AM, Kenneth Gonsalves wrote: > On Wednesday 14 Oct 2009 12:41:31 am Noufal Ibrahim wrote: > > On Wed, Oct 14, 2009 at 12:27 AM, Abhishek Mishra > wrote: > > > Well I don't know about power and job prospects, but I remember > > > reading ESR's 'Why Python' - http://www.linuxjournal.com/article/3882 > > > before starting to learn it. > > > > Probably flame bait but does anyone take ESR seriously these days? > > nobody ever took him seriously, but some of his essays have had and still > have > a huge influence - Cathedral and Bazaar, how to ask smart questions and the > article on pytho. > The fact is that real good hackers don't care about the language they use, but in the quality of the code they write in that language. There are a few kinds of public faces in coding that I have observed - the ones who use language as a kind of tool to sell their ideas and their businesses (Bruce Eckel) and often to boost their egos (Eric Raymond) and those smart speakers who are silent and goes about their work in doing consulting and speaking opportunities, but doesn't make a big noise about languages, tools they use (Bruce Perens). Then there are language cult geeks who have made a persona from the languages and tools they are using (why-the-lucky-stiff for Ruby) and has an aura that rises above the language itself. The final category is the uber developer who is expert in anything he uses and produces working, quality code that runs under and above these language/product runtimes and make things tick - examples abound namely Frederick Lundh, Raymond Hettinger, Tim Peters in the Python world and another hacker I worship, namely Jamie Zawinski. Btw, I use the term "hacker" to mean programmer/developer, not its old meaning which is a guy who subverts systems for criminal purposes - he is known as a "cracker" now a days. > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Wed Oct 14 07:28:27 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 14 Oct 2009 10:58:27 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> Message-ID: <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> On Wed, Oct 14, 2009 at 9:42 AM, Anand Balachandran Pillai wrote: >[..] > ?The fact is that real good hackers don't care about the language they use, > ?but in the quality of the code they write in that language. [..] A good hacker given a choice of languages would select one of them for his use. I don't think they're language agnostic. In fact, they're probably more rabid about their choice of languages than your average code monkey. I do get your point though that a hackers code would be good regardless of what language he wrote it in. -- ~noufal http://nibrahim.net.in From noufal at gmail.com Wed Oct 14 08:17:51 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 14 Oct 2009 11:47:51 +0530 Subject: [BangPypers] Minutes of Saturday BangPypers meeting (11/Oct) Message-ID: <9963e56e0910132317n3188e7c8r474f690a9a791757@mail.gmail.com> X-posting to inpycon since the meeting was mostly PyCon related. Hello everyone, This are the rough minutes of the meeting at ThoughtWorks on 11/Oct Apart from the technical tidbits, we mostly discussed the conference and related matters. Items discussed - Send a mail using the site bulkmailer on the site with the following items to all the delegates. - Video URL - Scipy.in - Gratitude - Plans ahead and mailing lists to join to stay uptodate. - Send out consolidated expense statement of the conference to the mailing list - Register society with boiler plate agreement - We got some feedback from Sriram of TW regarding the conference which I'm putting down here. - Computer and speaker were far away and that sucked. Photo of the podium to be sent up front so that they know what to expect. - Make of the projector to be told to delegates so that people can be prepared so that it works. - Food distribution was disorganised. - Professional recording/Volunteer recording (Baiju) - Suggested the way debconf events are organised and how they're recorded by volunteers rather than professionals. - Split the video DVDs to attendees so that they can be uploaded (please send me a private mail for the username/password of the blip account) - Video quality is bad so we'll have to get them remastered by the A/V people. That's it. Thanks. -- ~noufal http://nibrahim.net.in From abpillai at gmail.com Wed Oct 14 08:26:15 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 14 Oct 2009 11:56:15 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> Message-ID: <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> On Wed, Oct 14, 2009 at 10:58 AM, Noufal Ibrahim wrote: > On Wed, Oct 14, 2009 at 9:42 AM, Anand Balachandran Pillai > wrote: > >[..] > > The fact is that real good hackers don't care about the language they > use, > > but in the quality of the code they write in that language. [..] > > A good hacker given a choice of languages would select one of them for > his use. I don't think they're language agnostic. In fact, they're > probably more rabid about their choice of languages than your average > code monkey. > I was having someone like Bruce Perens in mind when I posted it. And anyway all good Python hackers are good C programmers too since most of them contribute to the underlying implementation which is in C. I have observed that language fanaticism is not seen very much in the Python world. Experienced Pythonistas seem to be better language cosmopolitans. This is not meant as a troll or flame, but something which I have felt in many years of working with Python and the community. > > I do get your point though that a hackers code would be good > regardless of what language he wrote it in. > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Wed Oct 14 08:29:24 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 14 Oct 2009 11:59:24 +0530 Subject: [BangPypers] Minutes of Saturday BangPypers meeting (11/Oct) In-Reply-To: <9963e56e0910132317n3188e7c8r474f690a9a791757@mail.gmail.com> References: <9963e56e0910132317n3188e7c8r474f690a9a791757@mail.gmail.com> Message-ID: <9963e56e0910132329r578b931s315c15d05e89f45d@mail.gmail.com> On Wed, Oct 14, 2009 at 11:47 AM, Noufal Ibrahim wrote: > X-posting to inpycon since the meeting was mostly PyCon related. > > Hello everyone, > ? This are the rough minutes of the meeting at ThoughtWorks on 11/Oct Forgot one more more point which is to schedule a regular BangPypers meeting the third weekend of every month. -- ~noufal http://nibrahim.net.in From rmathews at gmail.com Wed Oct 14 08:34:59 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 14 Oct 2009 12:04:59 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> Message-ID: <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> On Wed, Oct 14, 2009 at 11:56 AM, Anand Balachandran Pillai wrote: > ?I have observed that language fanaticism is not seen very much > ?in the Python world. Experienced Pythonistas seem to be better language > cosmopolitans. This is not meant as a troll or flame, but something which > ?I have felt in many years of working with Python and the community. > This is what I read about the Perl community too. The claim was that the language didn't crop up in the news so often because Perl hackers are quite open to using other languages if required, and there was no active effort to promote/push Perl. Roshan Mathews From zaki at manian.org Wed Oct 14 08:53:02 2009 From: zaki at manian.org (Zaki Manian) Date: Wed, 14 Oct 2009 12:23:02 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> Message-ID: This is one the few examples of a high profile Perl Project that I am aware of. http://syncwith.us/ US number: +1 650-862-5992 Indian Number:+919945111824 On Wed, Oct 14, 2009 at 12:04 PM, Roshan Mathews wrote: > On Wed, Oct 14, 2009 at 11:56 AM, Anand Balachandran Pillai > wrote: > > I have observed that language fanaticism is not seen very much > > in the Python world. Experienced Pythonistas seem to be better language > > cosmopolitans. This is not meant as a troll or flame, but something which > > I have felt in many years of working with Python and the community. > > > This is what I read about the Perl community too. The claim was that > the language didn't crop up in the news so often because Perl hackers > are quite open to using other languages if required, and there was no > active effort to promote/push Perl. > > Roshan Mathews > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Wed Oct 14 09:00:25 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 14 Oct 2009 12:30:25 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> Message-ID: <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> On Wed, Oct 14, 2009 at 12:23 PM, Zaki Manian wrote: > This is one the few examples of a high profile Perl Project that I am aware > of. > http://syncwith.us/ > Large projects written in Perl include Slash, Bugzilla, RT, TWiki, and Movable Type. Many high-traffic websites use Perl 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 From mbaiju at zeomega.com Wed Oct 14 09:33:28 2009 From: mbaiju at zeomega.com (Baiju M) Date: Wed, 14 Oct 2009 13:03:28 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <64160c70910131157q7dd4e824rc6d86284b9018311@mail.gmail.com> <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> Message-ID: On Wed, Oct 14, 2009 at 12:30 PM, Roshan Mathews wrote: > On Wed, Oct 14, 2009 at 12:23 PM, Zaki Manian wrote: >> This is one the few examples of a high profile Perl Project that I am aware >> of. >> http://syncwith.us/ >> > Large projects written in Perl include Slash, Bugzilla, RT, TWiki, and > Movable Type. Many high-traffic websites use Perl extensively. > Examples include Amazon.com, bbc.co.uk, Booking.com [23] > (Priceline.com), Craigslist, IMDb [24], LiveJournal, Slashdot, > Ticketmaster and Zappos.com. Koha (http://www.koha.org) is great web application written in Perl. Regards, Baiju M From lawgon at au-kbc.org Wed Oct 14 09:38:05 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 14 Oct 2009 13:08:05 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> Message-ID: <200910141308.05507.lawgon@au-kbc.org> On Wednesday 14 Oct 2009 1:03:28 pm Baiju M wrote: > On Wed, Oct 14, 2009 at 12:30 PM, Roshan Mathews wrote: > > On Wed, Oct 14, 2009 at 12:23 PM, Zaki Manian wrote: > >> This is one the few examples of a high profile Perl Project that I am > >> aware of. > >> http://syncwith.us/ > > > > Large projects written in Perl include Slash, Bugzilla, RT, TWiki, and > > Movable Type. Many high-traffic websites use Perl extensively. > > Examples include Amazon.com, bbc.co.uk, Booking.com [23] > > (Priceline.com), Craigslist, IMDb [24], LiveJournal, Slashdot, > > Ticketmaster and Zappos.com. > > Koha (http://www.koha.org) is great web application written in Perl. the last? great web application written in perl? It was written in 1999-2000 when perl ruled the roost. Seriously I was a perl guy from 1995 to 2003. It was great for one man projects, but not so great for collaborative projects. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From rmathews at gmail.com Wed Oct 14 09:50:02 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 14 Oct 2009 13:20:02 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> Message-ID: <1c4dc2780910140050v1b07cadflef7bba4629b1ef71@mail.gmail.com> 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. Roshan Mathews From rmathews at gmail.com Wed Oct 14 10:19:24 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 14 Oct 2009 13:49:24 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <200910141308.05507.lawgon@au-kbc.org> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> <200910141308.05507.lawgon@au-kbc.org> Message-ID: <1c4dc2780910140119h21ea160ftf6e9e912ffe6bed0@mail.gmail.com> On Wed, Oct 14, 2009 at 1:08 PM, Kenneth Gonsalves wrote: > the last? great web application written in perl? It was written in 1999-2000 > when perl ruled the roost. Seriously I was a perl guy from 1995 to 2003. It > was great for one man projects, but not so great for collaborative 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 From lawgon at au-kbc.org Wed Oct 14 10:23:34 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 14 Oct 2009 13:53:34 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <1c4dc2780910140119h21ea160ftf6e9e912ffe6bed0@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <200910141308.05507.lawgon@au-kbc.org> <1c4dc2780910140119h21ea160ftf6e9e912ffe6bed0@mail.gmail.com> Message-ID: <200910141353.34998.lawgon@au-kbc.org> On Wednesday 14 Oct 2009 1:49:24 pm Roshan Mathews wrote: > On Wed, Oct 14, 2009 at 1:08 PM, Kenneth Gonsalves wrote: > > the last? great web application written in perl? It was written in > > 1999-2000 when perl ruled the roost. Seriously I was a perl guy from 1995 > > to 2003. It was great for one man projects, but not so great for > > collaborative 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. ouch - I LOVE perl, and the further away I am from it, the more I love it. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Wed Oct 14 10:24:44 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 14 Oct 2009 13:54:44 +0530 Subject: [BangPypers] Perl or Python ? Message-ID: <200910141354.45081.lawgon@au-kbc.org> On Wednesday 14 Oct 2009 1:49:24 pm Roshan Mathews wrote: > On Wed, Oct 14, 2009 at 1:08 PM, Kenneth Gonsalves wrote: > > the last? great web application written in perl? It was written in > > 1999-2000 when perl ruled the roost. Seriously I was a perl guy from 1995 > > to 2003. It was great for one man projects, but not so great for > > collaborative 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. ouch - I LOVE perl, and the further away I am from it, the more I love it. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From anandology at gmail.com Wed Oct 14 11:05:06 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 14 Oct 2009 14:35:06 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <1c4dc2780910140050v1b07cadflef7bba4629b1ef71@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> <1c4dc2780910140050v1b07cadflef7bba4629b1ef71@mail.gmail.com> Message-ID: <41139fcb0910140205p7ea6a6c3hac67573f878391be@mail.gmail.com> On Wed, Oct 14, 2009 at 1:20 PM, Roshan Mathews wrote: > 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. Just FYI, there is a company in Bangalore which provide commercial hosting and support for Koha. They offer "shared Koha instance for small libraries" for Rs. 4000/- per year. http://www.osslabs.biz/ -Anand From mbaiju at zeomega.com Wed Oct 14 11:22:30 2009 From: mbaiju at zeomega.com (Baiju M) Date: Wed, 14 Oct 2009 14:52:30 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <9963e56e0910131211l21ababa2t1be2b6b1b647302c@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> Message-ID: On Wed, Oct 14, 2009 at 1:03 PM, Baiju M wrote: > Koha (http://www.koha.org) is great web application written in Perl. Long back I was a Koha consultant (2003-2004): http://www.kohadocs.org/CDS_ISIS_to_Koha.html Now I don't understand the Perl code I wrote there :) -- Baiju M From abpillai at gmail.com Wed Oct 14 11:31:55 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Wed, 14 Oct 2009 15:01:55 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <200910140709.27042.lawgon@au-kbc.org> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> Message-ID: <8548c5f30910140231n4178dac3ke2d172b44582c815@mail.gmail.com> On Wed, Oct 14, 2009 at 2:52 PM, Baiju M wrote: > On Wed, Oct 14, 2009 at 1:03 PM, Baiju M wrote: > > Koha (http://www.koha.org) is great web application written in Perl. > > Long back I was a Koha consultant (2003-2004): > http://www.kohadocs.org/CDS_ISIS_to_Koha.html > > Now I don't understand the Perl code I wrote there :) > Someone should quote your post everytime they discuss language readability and Perl... > > -- > Baiju M > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Wed Oct 14 11:34:10 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 14 Oct 2009 15:04:10 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <8548c5f30910140231n4178dac3ke2d172b44582c815@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <8548c5f30910132112h2da10d6em728661c0b596806e@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> <8548c5f30910140231n4178dac3ke2d172b44582c815@mail.gmail.com> Message-ID: <1c4dc2780910140234p5c70efb7m49e156e912153cf5@mail.gmail.com> 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: >> Now I don't understand the Perl code I wrote there :) > > ?Someone should quote your post everytime they discuss language > ?readability and Perl... > Generalizations are always harmful. Roshan Mathews From noufal at gmail.com Wed Oct 14 12:01:11 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Wed, 14 Oct 2009 15:31:11 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <1c4dc2780910140234p5c70efb7m49e156e912153cf5@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <9963e56e0910132228l746929afv7e51c98d68016d18@mail.gmail.com> <8548c5f30910132326s5eb2b6f8p8a2b71abba6923c1@mail.gmail.com> <1c4dc2780910132334r23712d8bucec0d41a92e9f0f3@mail.gmail.com> <1c4dc2780910140000u445350dbm5b048bf030528255@mail.gmail.com> <8548c5f30910140231n4178dac3ke2d172b44582c815@mail.gmail.com> <1c4dc2780910140234p5c70efb7m49e156e912153cf5@mail.gmail.com> Message-ID: <9963e56e0910140301u1ddd10dci136061f488f44aea@mail.gmail.com> On Wed, Oct 14, 2009 at 3:04 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: >>> Now I don't understand the Perl code I wrote there :) >> >> ?Someone should quote your post everytime they discuss language >> ?readability and Perl... >> > Generalizations are always harmful. True but this specific statement resonates with my experiences with Perl here. -- ~noufal http://nibrahim.net.in From lawgon at au-kbc.org Wed Oct 14 12:13:56 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 14 Oct 2009 15:43:56 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <1c4dc2780910140234p5c70efb7m49e156e912153cf5@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <8548c5f30910140231n4178dac3ke2d172b44582c815@mail.gmail.com> <1c4dc2780910140234p5c70efb7m49e156e912153cf5@mail.gmail.com> Message-ID: <200910141543.56989.lawgon@au-kbc.org> 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: > >> Now I don't understand the Perl code I wrote there :) > > > > Someone should quote your post everytime they discuss language > > readability and Perl... > > Generalizations are always harmful. including this one -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From rmathews at gmail.com Wed Oct 14 12:22:05 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 14 Oct 2009 15:52:05 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <200910141543.56989.lawgon@au-kbc.org> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <8548c5f30910140231n4178dac3ke2d172b44582c815@mail.gmail.com> <1c4dc2780910140234p5c70efb7m49e156e912153cf5@mail.gmail.com> <200910141543.56989.lawgon@au-kbc.org> Message-ID: <1c4dc2780910140322w6bd1bc73t376f5dd03c226f5e@mail.gmail.com> 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: >> >> Now I don't understand the Perl code I wrote there :) >> > >> > ?Someone should quote your post everytime they discuss language >> > ?readability and Perl... >> >> Generalizations are always harmful. > > including this one > Yes, I was surprised no one caught that. :) The point still stands though. Roshan Mathews From lawgon at au-kbc.org Wed Oct 14 12:31:17 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 14 Oct 2009 16:01:17 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <1c4dc2780910140322w6bd1bc73t376f5dd03c226f5e@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <200910141543.56989.lawgon@au-kbc.org> <1c4dc2780910140322w6bd1bc73t376f5dd03c226f5e@mail.gmail.com> Message-ID: <200910141601.17759.lawgon@au-kbc.org> On Wednesday 14 Oct 2009 3:52:05 pm Roshan Mathews wrote: > >> > Someone should quote your post everytime they discuss language > >> > readability and Perl... > >> > >> Generalizations are always harmful. > > > > including this one > > Yes, I was surprised no one caught that. :) > > The point still stands though. it doesn't - and you haven't even spelt it properly -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From rmathews at gmail.com Wed Oct 14 12:42:00 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 14 Oct 2009 16:12:00 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <200910141601.17759.lawgon@au-kbc.org> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <200910141543.56989.lawgon@au-kbc.org> <1c4dc2780910140322w6bd1bc73t376f5dd03c226f5e@mail.gmail.com> <200910141601.17759.lawgon@au-kbc.org> Message-ID: <1c4dc2780910140342n7ec9e4e5xb44f252904925961@mail.gmail.com> 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 when you find that you have started twitching. What did I spell incorrectly? Roshan Mathews From lawgon at au-kbc.org Wed Oct 14 12:46:07 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 14 Oct 2009 16:16:07 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <1c4dc2780910140342n7ec9e4e5xb44f252904925961@mail.gmail.com> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <200910141601.17759.lawgon@au-kbc.org> <1c4dc2780910140342n7ec9e4e5xb44f252904925961@mail.gmail.com> Message-ID: <200910141616.07647.lawgon@au-kbc.org> On Wednesday 14 Oct 2009 4:12:00 pm Roshan Mathews wrote: > 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 when you find > that you have started twitching. What did I spell incorrectly? generalisation -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From anandology at gmail.com Wed Oct 14 13:07:32 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 14 Oct 2009 16:37:32 +0530 Subject: [BangPypers] Perl or Python ? In-Reply-To: <200910141616.07647.lawgon@au-kbc.org> References: <6a438da70910120139k4aea3dfev34bda97a345b7883@mail.gmail.com> <200910141601.17759.lawgon@au-kbc.org> <1c4dc2780910140342n7ec9e4e5xb44f252904925961@mail.gmail.com> <200910141616.07647.lawgon@au-kbc.org> Message-ID: <41139fcb0910140407s2dcba0acs2c113617bfff302f@mail.gmail.com> On Wed, Oct 14, 2009 at 4:16 PM, Kenneth Gonsalves wrote: > On Wednesday 14 Oct 2009 4:12:00 pm Roshan Mathews wrote: >> 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 when you find >> that you have started twitching. ?What did I spell incorrectly? > > generalisation Depends on whether you are speaking American English or British! http://dictionary.reference.com/browse/generalization From abpillai at gmail.com Thu Oct 15 08:12:51 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 15 Oct 2009 11:42:51 +0530 Subject: [BangPypers] Weekend Meeting Message-ID: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> Hi all, I am proposing a week-end meeting on Sunday at ThoughtWorks, Diamond District. I plan to present a prototype of a project I have been working on for the last few weeks which uses OpenCalais and NLP to search RSS feeds for very specfic information. The presentation will cover the basics of OpenCalais in the beginning and then present a demo of my project (not named yet), and some of the inner workings. I suggest meeting at 3.00-5.00 pm at ThoughtWorks. If we get enough thumbs up, we could plan for one more session... Thanks, -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From ardsrk at gmail.com Thu Oct 15 08:56:18 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Thu, 15 Oct 2009 12:26:18 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> Message-ID: <3d62196a0910142356s2b7f514cn93545473c886cbe4@mail.gmail.com> I downloaded the source tarball for Python 3.1 from python.org and built it. Works fine now. However, I don't know what could be the implications when I start downloading and installing modules for the other version of Python ( version 2.6 ) that came with the Linux distribution. On Mon, Oct 12, 2009 at 5:00 PM, Arvind Jamuna Dixit wrote: > Hi, > > Has anyone here tried installing multiple versions of python ( say 2.6 and > 3.0 ) > onto a Fedora system ( specifically fedora 11 )? > > -Arvind > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Thu Oct 15 08:59:14 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 15 Oct 2009 12:29:14 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <3d62196a0910142356s2b7f514cn93545473c886cbe4@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> <3d62196a0910142356s2b7f514cn93545473c886cbe4@mail.gmail.com> Message-ID: <200910151229.14634.lawgon@au-kbc.org> On Thursday 15 Oct 2009 12:26:18 pm Arvind Jamuna Dixit wrote: > I downloaded the source tarball for Python 3.1 from python.org and built > it. Works fine now. However, I don't know what could be the implications > when I start downloading and installing modules for the other version of > Python ( version 2.6 ) that came with the Linux distribution. they will go into site-packages of the 2.6 version - if you install properly. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From abpillai at gmail.com Thu Oct 15 09:03:46 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 15 Oct 2009 12:33:46 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <200910151229.14634.lawgon@au-kbc.org> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> <3d62196a0910142356s2b7f514cn93545473c886cbe4@mail.gmail.com> <200910151229.14634.lawgon@au-kbc.org> Message-ID: <8548c5f30910150003j6b3940f9k3e4be7b2d8466772@mail.gmail.com> On Thu, Oct 15, 2009 at 12:29 PM, Kenneth Gonsalves wrote: > On Thursday 15 Oct 2009 12:26:18 pm Arvind Jamuna Dixit wrote: > > I downloaded the source tarball for Python 3.1 from python.org and built > > it. Works fine now. However, I don't know what could be the implications > > when I start downloading and installing modules for the other version of > > Python ( version 2.6 ) that came with the Linux distribution. > > they will go into site-packages of the 2.6 version - if you install > properly. > That will be "dist-packages" from 2.6 upwards. > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Thu Oct 15 09:05:25 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 15 Oct 2009 12:35:25 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> Message-ID: <9963e56e0910150005h5991b298g94503f73f4a8c2a2@mail.gmail.com> On Thu, Oct 15, 2009 at 11:42 AM, Anand Balachandran Pillai wrote: > Hi all, > > ? ? I am proposing a week-end meeting on Sunday at > ThoughtWorks, Diamond District. > > I plan to present a prototype of a project I have been > working on for the last few weeks which uses OpenCalais > and NLP to search RSS feeds for very specfic information. > > The presentation will cover the basics of OpenCalais > in the beginning and then present a demo of my > project (not named yet), and some of the inner > workings. > > I suggest meeting at 3.00-5.00 pm at ThoughtWorks. > > If we get enough thumbs up, we could plan for one > more session... +1 -- ~noufal http://nibrahim.net.in From lawgon at au-kbc.org Thu Oct 15 09:04:30 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 15 Oct 2009 12:34:30 +0530 Subject: [BangPypers] Running multiple versions of python on Fedora In-Reply-To: <8548c5f30910150003j6b3940f9k3e4be7b2d8466772@mail.gmail.com> References: <3d62196a0910120430l7ce9da8dt2b703ebc560e5fc2@mail.gmail.com> <200910151229.14634.lawgon@au-kbc.org> <8548c5f30910150003j6b3940f9k3e4be7b2d8466772@mail.gmail.com> Message-ID: <200910151234.30802.lawgon@au-kbc.org> On Thursday 15 Oct 2009 12:33:46 pm Anand Balachandran Pillai wrote: > > they will go into site-packages of the 2.6 version - if you install > > properly. > > That will be "dist-packages" from 2.6 upwards. my fedora 11 2.6 has site-packages, no dist-packages -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From caulagi at gmail.com Thu Oct 15 09:09:14 2009 From: caulagi at gmail.com (Pradip Caulagi) Date: Thu, 15 Oct 2009 12:39:14 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> Message-ID: <47f189df0910150009r2a56e0a2r66375488400a85ff@mail.gmail.com> On Thu, Oct 15, 2009 at 11:42 AM, Anand Balachandran Pillai wrote: > Hi all, > > ? ? I am proposing a week-end meeting on Sunday at > ThoughtWorks, Diamond District. > > I plan to present a prototype of a project I have been > working on for the last few weeks which uses OpenCalais > and NLP to search RSS feeds for very specfic information. > > The presentation will cover the basics of OpenCalais > in the beginning and then present a demo of my > project (not named yet), and some of the inner > workings. > > I suggest meeting at 3.00-5.00 pm at ThoughtWorks. +1 From jaganadhg at gmail.com Thu Oct 15 09:13:39 2009 From: jaganadhg at gmail.com (JAGANADH G) Date: Thu, 15 Oct 2009 12:43:39 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <47f189df0910150009r2a56e0a2r66375488400a85ff@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <47f189df0910150009r2a56e0a2r66375488400a85ff@mail.gmail.com> Message-ID: On Thu, Oct 15, 2009 at 12:39 PM, Pradip Caulagi wrote: > On Thu, Oct 15, 2009 at 11:42 AM, Anand Balachandran Pillai > wrote: > > Hi all, > > > > I am proposing a week-end meeting on Sunday at > > ThoughtWorks, Diamond District. > > > > I plan to present a prototype of a project I have been > > working on for the last few weeks which uses OpenCalais > > and NLP to search RSS feeds for very specfic information. > > > > The presentation will cover the basics of OpenCalais > > in the beginning and then present a demo of my > > project (not named yet), and some of the inner > > workings. > > > > I suggest meeting at 3.00-5.00 pm at ThoughtWorks. > > +1 > Please share the slide for people who is not able to attend the meet. -- ********************************** JAGANADH G http://jaganadhg.freeflux.net/blog -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Thu Oct 15 09:35:13 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 15 Oct 2009 13:05:13 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <47f189df0910150009r2a56e0a2r66375488400a85ff@mail.gmail.com> Message-ID: <8548c5f30910150035i75c89eb3v829d84a1c09da064@mail.gmail.com> On Thu, Oct 15, 2009 at 12:43 PM, JAGANADH G wrote: > > > On Thu, Oct 15, 2009 at 12:39 PM, Pradip Caulagi wrote: > >> On Thu, Oct 15, 2009 at 11:42 AM, Anand Balachandran Pillai >> wrote: >> > Hi all, >> > >> > I am proposing a week-end meeting on Sunday at >> > ThoughtWorks, Diamond District. >> > >> > I plan to present a prototype of a project I have been >> > working on for the last few weeks which uses OpenCalais >> > and NLP to search RSS feeds for very specfic information. >> > >> > The presentation will cover the basics of OpenCalais >> > in the beginning and then present a demo of my >> > project (not named yet), and some of the inner >> > workings. >> > >> > I suggest meeting at 3.00-5.00 pm at ThoughtWorks. >> >> +1 >> > Please share the slide for people who is not able to attend the meet. > It is a bit too early to decide on the meeting itself. There have been only a couple of thumbs-up so far. This week-end being Diwali and all, I need a few more head count before I decide on it. We can have it if around 7-8 people confirm. Otherwise I will rather wait for the next week-end than show it to an audience of 2 or 3 people. > > > -- > ********************************** > JAGANADH G > http://jaganadhg.freeflux.net/blog > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Thu Oct 15 09:53:00 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 15 Oct 2009 13:23:00 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <8548c5f30910150035i75c89eb3v829d84a1c09da064@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <47f189df0910150009r2a56e0a2r66375488400a85ff@mail.gmail.com> <8548c5f30910150035i75c89eb3v829d84a1c09da064@mail.gmail.com> Message-ID: <9963e56e0910150053w4df687ack4dc8ff6e25c3c0eb@mail.gmail.com> On Thu, Oct 15, 2009 at 1:05 PM, Anand Balachandran Pillai wrote: [..] > ?It is a bit too early to decide on the meeting itself. There have been > ?only a couple of thumbs-up so far. This week-end being Diwali > ?and all, I need a few more head count before I decide on it. > > We can have it if around 7-8 people confirm. Otherwise I will rather > ?wait for the next week-end than show it to an audience of 2 or > 3 people. [..] Why not do that then? People would have more time to get ready (this is quite short notice) and I'd expect a larger audience. -- ~noufal http://nibrahim.net.in From abpillai at gmail.com Thu Oct 15 10:15:16 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Thu, 15 Oct 2009 13:45:16 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <9963e56e0910150053w4df687ack4dc8ff6e25c3c0eb@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <47f189df0910150009r2a56e0a2r66375488400a85ff@mail.gmail.com> <8548c5f30910150035i75c89eb3v829d84a1c09da064@mail.gmail.com> <9963e56e0910150053w4df687ack4dc8ff6e25c3c0eb@mail.gmail.com> Message-ID: <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> On Thu, Oct 15, 2009 at 1:23 PM, Noufal Ibrahim wrote: > On Thu, Oct 15, 2009 at 1:05 PM, Anand Balachandran Pillai > wrote: > [..] > > It is a bit too early to decide on the meeting itself. There have been > > only a couple of thumbs-up so far. This week-end being Diwali > > and all, I need a few more head count before I decide on it. > > > > We can have it if around 7-8 people confirm. Otherwise I will rather > > wait for the next week-end than show it to an audience of 2 or > > 3 people. > [..] > > Why not do that then? People would have more time to get ready (this > is quite short notice) and I'd expect a larger audience. > We have had meetings at even shorter notices in the past, i.e on Friday for a Sat meeting and it has happened. I will wait till tomorrow afternoon before deciding on this. > > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramdaz at gmail.com Thu Oct 15 10:36:01 2009 From: ramdaz at gmail.com (Ramdas S) Date: Thu, 15 Oct 2009 14:06:01 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <47f189df0910150009r2a56e0a2r66375488400a85ff@mail.gmail.com> <8548c5f30910150035i75c89eb3v829d84a1c09da064@mail.gmail.com> <9963e56e0910150053w4df687ack4dc8ff6e25c3c0eb@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> Message-ID: <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> On Thu, Oct 15, 2009 at 1:45 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Thu, Oct 15, 2009 at 1:23 PM, Noufal Ibrahim wrote: > >> On Thu, Oct 15, 2009 at 1:05 PM, Anand Balachandran Pillai >> wrote: >> [..] >> > It is a bit too early to decide on the meeting itself. There have been >> > only a couple of thumbs-up so far. This week-end being Diwali >> > and all, I need a few more head count before I decide on it. >> > >> > We can have it if around 7-8 people confirm. Otherwise I will rather >> > wait for the next week-end than show it to an audience of 2 or >> > 3 people. >> [..] >> >> Why not do that then? People would have more time to get ready (this >> is quite short notice) and I'd expect a larger audience. >> > > We have had meetings at even shorter notices in the past, i.e on Friday > for a Sat meeting and it has happened. > > I will wait till tomorrow afternoon before deciding on this. > > >> +1 >> >> >> -- >> ~noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Ramdas S +91 9342 583 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Thu Oct 15 10:50:37 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 15 Oct 2009 14:20:37 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> Message-ID: <200910151420.37341.lawgon@au-kbc.org> is it only me or is ramdas frequently sending mails without any matter in them? On Thursday 15 Oct 2009 2:06:01 pm Ramdas S wrote: > On Thu, Oct 15, 2009 at 1:45 PM, Anand Balachandran Pillai < > > abpillai at gmail.com> wrote: > > On Thu, Oct 15, 2009 at 1:23 PM, Noufal Ibrahim wrote: > >> On Thu, Oct 15, 2009 at 1:05 PM, Anand Balachandran Pillai > >> wrote: > >> [..] > >> > >> > It is a bit too early to decide on the meeting itself. There have > >> > been only a couple of thumbs-up so far. This week-end being Diwali and > >> > all, I need a few more head count before I decide on it. > >> > > >> > We can have it if around 7-8 people confirm. Otherwise I will rather > >> > wait for the next week-end than show it to an audience of 2 or > >> > 3 people. > >> > >> [..] > >> > >> Why not do that then? People would have more time to get ready (this > >> is quite short notice) and I'd expect a larger audience. > > > > We have had meetings at even shorter notices in the past, i.e on Friday > > for a Sat meeting and it has happened. > > > > I will wait till tomorrow afternoon before deciding on this. > > > >> +1 > >> > >> > >> -- > >> ~noufal > >> http://nibrahim.net.in > >> _______________________________________________ > >> BangPypers mailing list > >> BangPypers at python.org > >> http://mail.python.org/mailman/listinfo/bangpypers > > > > -- > > --Anand > > > > > > > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From srinivasachari2000 at gmail.com Thu Oct 15 11:13:20 2009 From: srinivasachari2000 at gmail.com (Srinivasachari) Date: Thu, 15 Oct 2009 14:43:20 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <200910151420.37341.lawgon@au-kbc.org> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> Message-ID: <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> +1 Regards, Srinivasachari. Sent from Bangalore, KA, India 2009/10/15 Kenneth Gonsalves > is it only me or is ramdas frequently sending mails without any matter in > them? > > On Thursday 15 Oct 2009 2:06:01 pm Ramdas S wrote: > > On Thu, Oct 15, 2009 at 1:45 PM, Anand Balachandran Pillai < > > > > abpillai at gmail.com> wrote: > > > On Thu, Oct 15, 2009 at 1:23 PM, Noufal Ibrahim > wrote: > > >> On Thu, Oct 15, 2009 at 1:05 PM, Anand Balachandran Pillai > > >> wrote: > > >> [..] > > >> > > >> > It is a bit too early to decide on the meeting itself. There have > > >> > been only a couple of thumbs-up so far. This week-end being Diwali > and > > >> > all, I need a few more head count before I decide on it. > > >> > > > >> > We can have it if around 7-8 people confirm. Otherwise I will rather > > >> > wait for the next week-end than show it to an audience of 2 or > > >> > 3 people. > > >> > > >> [..] > > >> > > >> Why not do that then? People would have more time to get ready (this > > >> is quite short notice) and I'd expect a larger audience. > > > > > > We have had meetings at even shorter notices in the past, i.e on > Friday > > > for a Sat meeting and it has happened. > > > > > > I will wait till tomorrow afternoon before deciding on this. > > > > > >> +1 > > >> > > >> > > >> -- > > >> ~noufal > > >> http://nibrahim.net.in > > >> _______________________________________________ > > >> BangPypers mailing list > > >> BangPypers at python.org > > >> http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > > > --Anand > > > > > > > > > > > > > > > _______________________________________________ > > > BangPypers mailing list > > > BangPypers at python.org > > > http://mail.python.org/mailman/listinfo/bangpypers > > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vsapre80 at gmail.com Thu Oct 15 11:38:54 2009 From: vsapre80 at gmail.com (Vishal) Date: Thu, 15 Oct 2009 15:08:54 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> Message-ID: +1 Vishal Sapre On Thu, Oct 15, 2009 at 2:43 PM, Srinivasachari < srinivasachari2000 at gmail.com> wrote: > +1 > > Regards, > Srinivasachari. > Sent from Bangalore, KA, India > > 2009/10/15 Kenneth Gonsalves > > is it only me or is ramdas frequently sending mails without any matter in >> them? >> >> On Thursday 15 Oct 2009 2:06:01 pm Ramdas S wrote: >> > On Thu, Oct 15, 2009 at 1:45 PM, Anand Balachandran Pillai < >> > >> > abpillai at gmail.com> wrote: >> > > On Thu, Oct 15, 2009 at 1:23 PM, Noufal Ibrahim >> wrote: >> > >> On Thu, Oct 15, 2009 at 1:05 PM, Anand Balachandran Pillai >> > >> wrote: >> > >> [..] >> > >> >> > >> > It is a bit too early to decide on the meeting itself. There have >> > >> > been only a couple of thumbs-up so far. This week-end being Diwali >> and >> > >> > all, I need a few more head count before I decide on it. >> > >> > >> > >> > We can have it if around 7-8 people confirm. Otherwise I will >> rather >> > >> > wait for the next week-end than show it to an audience of 2 or >> > >> > 3 people. >> > >> >> > >> [..] >> > >> >> > >> Why not do that then? People would have more time to get ready (this >> > >> is quite short notice) and I'd expect a larger audience. >> > > >> > > We have had meetings at even shorter notices in the past, i.e on >> Friday >> > > for a Sat meeting and it has happened. >> > > >> > > I will wait till tomorrow afternoon before deciding on this. >> > > >> > >> +1 >> > >> >> > >> >> > >> -- >> > >> ~noufal >> > >> http://nibrahim.net.in >> > >> _______________________________________________ >> > >> BangPypers mailing list >> > >> BangPypers at python.org >> > >> http://mail.python.org/mailman/listinfo/bangpypers >> > > >> > > -- >> > > --Anand >> > > >> > > >> > > >> > > >> > > _______________________________________________ >> > > BangPypers mailing list >> > > BangPypers at python.org >> > > http://mail.python.org/mailman/listinfo/bangpypers >> >> -- >> regards >> Kenneth Gonsalves >> Senior Project Officer >> NRC-FOSS >> http://nrcfosshelpline.in/web/ >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Thanks and best regards, Vishal Sapre --- "So say...Day by day, in every way, I am getting better, better and better !!!" "A Strong and Positive attitude creates more miracles than anything else. Because...Life is 10% how you make it, and 90% how you take it" "Diamond is another piece of coal that did well under pressure? "Happiness keeps u Sweet, Trials keep u Strong, Sorrow keeps u Human, Failure Keeps u Humble, Success keeps u Glowing, But only God Keeps u Going.....Keep Going....." -------------- next part -------------- An HTML attachment was scrubbed... URL: From srinivas_thatiparthy at akebonosoft.com Thu Oct 15 11:47:07 2009 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Thu, 15 Oct 2009 15:17:07 +0530 Subject: [BangPypers] Why do indians copy? Message-ID: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> Hi list, This is my first post to the list though I have been following this list since 7 or 8 months. I have been programming for a 1.5 years or so.Comparatively i have very less exposure and exp as you people have and please excuse me if u think this is a troll or flame. I know that this is not related to python, but i can't resist discussing this. Why do indian programmers ask for code in Usenet (particularly Google groups) ? ,saying that it's very urgent and on top of that they can't even able to put their problem across correctly.In some cases they ask you to send it to their mail ID's. Having tried the problem and asking for help is OK.but this is something like disgusting. I have been following Reddit and News groups and forums and no matter where ever i go these type of people are there(99% of them are indians).They don't even have the patience to do googling..is copying seeped into our blood?? I have worked at infosys , i have had a chance to work with westerns,they never ever copy their home work(In training ,we used to do assignments and submit at the EOD).They do submit what they did , if they can't do it,they ask permission to submit later.But we (Indians) used to copy.Yeah,i did copy and learnt lessons. :) Regards, Srinivas Reddy Thatiparthy. -------------- I hear and I forget. I see and I remember. I do and I understand. - Confucius. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Thu Oct 15 12:07:44 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 15 Oct 2009 15:37:44 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> Message-ID: <9963e56e0910150307tc8b58fdjd97ef8fbd24099ae@mail.gmail.com> On Thu, Oct 15, 2009 at 3:17 PM, Srinivas Reddy Thatiparthy wrote: [..] > Why do indian programmers ask for code in? Usenet (particularly?Google > groups) ? [..] > Yeah,i did copy and learnt lessons. :) Why? That's probably the answer you're looking for. -- ~noufal http://nibrahim.net.in From ardsrk at gmail.com Thu Oct 15 12:09:56 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Thu, 15 Oct 2009 15:39:56 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> Message-ID: <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> May be we Indians always think the other person to be better or smarter. To quote from your own post: "Comparatively i have very less exposure and exp as you people have" On Thu, Oct 15, 2009 at 3:17 PM, Srinivas Reddy Thatiparthy < srinivas_thatiparthy at akebonosoft.com> wrote: > Hi list, > This is my first post to the list though I have been following > this list since 7 or 8 months. > I have been programming for a 1.5 years or so.Comparatively i have very > less exposure and exp as you people have and > please excuse me if u think this is a troll or flame. > > I know that this is not related to python, but i can't resist > discussing this. > > Why do indian programmers ask for code in Usenet (particularly Google > groups) ? > ,saying that it's very urgent and on top of that they can't even able to > put their problem across correctly.In some cases > they ask you to send it to their mail ID's. > > Having tried the problem and asking for help is OK.but this is something > like disgusting. > > I have been following Reddit and News groups and forums and no > matter where ever i go these type of > people are there(99% of them are indians).They don't even have the patience > to do googling..is copying seeped into our blood?? > > I have worked at infosys , i have had a chance to work with > westerns,they never ever > copy their home work(In training ,we used to do assignments and submit at > the EOD).They do submit what they did , if they can't > do it,they ask permission to submit later.But we (Indians) used to copy.Yeah,i > did copy and learnt lessons. :) > > > Regards, > Srinivas Reddy Thatiparthy. > -------------- > I hear and I forget. I see and I remember. I do and I understand. > - Confucius. > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sharaths at tarangtech.com Thu Oct 15 11:42:18 2009 From: sharaths at tarangtech.com (Sharath Sama) Date: Thu, 15 Oct 2009 15:12:18 +0530 Subject: [BangPypers] Query regarding Weekend Meeting References: Message-ID: <20091015095149.C43D928642@mail.tarangtech.com> Hi, My name is Sharath Sama. I am working on python. I am new to this group.I have a query regarding meetings Who can attend meetings, What is the process to attend. Please guide me. Regards, Sharath Sama ----- Original Message ----- From: To: Sent: Thursday, October 15, 2009 2:23 PM Subject: BangPypers Digest, Vol 26, Issue 51 > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/bangpypers > or, via email, send a message with subject or body 'help' to > bangpypers-request at python.org > > You can reach the person managing the list at > bangpypers-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of BangPypers digest..." > > > Today's Topics: > > 1. Re: Weekend Meeting (Anand Balachandran Pillai) > 2. Re: Weekend Meeting (Noufal Ibrahim) > 3. Re: Weekend Meeting (Anand Balachandran Pillai) > 4. Re: Weekend Meeting (Ramdas S) > 5. Re: Weekend Meeting (Kenneth Gonsalves) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 15 Oct 2009 13:05:13 +0530 > From: Anand Balachandran Pillai > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Weekend Meeting > Message-ID: > <8548c5f30910150035i75c89eb3v829d84a1c09da064 at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > On Thu, Oct 15, 2009 at 12:43 PM, JAGANADH G wrote: > >> >> >> On Thu, Oct 15, 2009 at 12:39 PM, Pradip Caulagi >> wrote: >> >>> On Thu, Oct 15, 2009 at 11:42 AM, Anand Balachandran Pillai >>> wrote: >>> > Hi all, >>> > >>> > I am proposing a week-end meeting on Sunday at >>> > ThoughtWorks, Diamond District. >>> > >>> > I plan to present a prototype of a project I have been >>> > working on for the last few weeks which uses OpenCalais >>> > and NLP to search RSS feeds for very specfic information. >>> > >>> > The presentation will cover the basics of OpenCalais >>> > in the beginning and then present a demo of my >>> > project (not named yet), and some of the inner >>> > workings. >>> > >>> > I suggest meeting at 3.00-5.00 pm at ThoughtWorks. >>> >>> +1 >>> >> Please share the slide for people who is not able to attend the meet. >> > > It is a bit too early to decide on the meeting itself. There have been > only a couple of thumbs-up so far. This week-end being Diwali > and all, I need a few more head count before I decide on it. > > We can have it if around 7-8 people confirm. Otherwise I will rather > wait for the next week-end than show it to an audience of 2 or > 3 people. > > >> >> >> -- >> ********************************** >> JAGANADH G >> http://jaganadhg.freeflux.net/blog >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > --Anand > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Message: 2 > Date: Thu, 15 Oct 2009 13:23:00 +0530 > From: Noufal Ibrahim > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Weekend Meeting > Message-ID: > <9963e56e0910150053w4df687ack4dc8ff6e25c3c0eb at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On Thu, Oct 15, 2009 at 1:05 PM, Anand Balachandran Pillai > wrote: > [..] >> ?It is a bit too early to decide on the meeting itself. There have been >> ?only a couple of thumbs-up so far. This week-end being Diwali >> ?and all, I need a few more head count before I decide on it. >> >> We can have it if around 7-8 people confirm. Otherwise I will rather >> ?wait for the next week-end than show it to an audience of 2 or >> 3 people. > [..] > > Why not do that then? People would have more time to get ready (this > is quite short notice) and I'd expect a larger audience. > > > > -- > ~noufal > http://nibrahim.net.in > > > ------------------------------ > > Message: 3 > Date: Thu, 15 Oct 2009 13:45:16 +0530 > From: Anand Balachandran Pillai > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Weekend Meeting > Message-ID: > <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7 at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > On Thu, Oct 15, 2009 at 1:23 PM, Noufal Ibrahim wrote: > >> On Thu, Oct 15, 2009 at 1:05 PM, Anand Balachandran Pillai >> wrote: >> [..] >> > It is a bit too early to decide on the meeting itself. There have been >> > only a couple of thumbs-up so far. This week-end being Diwali >> > and all, I need a few more head count before I decide on it. >> > >> > We can have it if around 7-8 people confirm. Otherwise I will rather >> > wait for the next week-end than show it to an audience of 2 or >> > 3 people. >> [..] >> >> Why not do that then? People would have more time to get ready (this >> is quite short notice) and I'd expect a larger audience. >> > > We have had meetings at even shorter notices in the past, i.e on Friday > for a Sat meeting and it has happened. > > I will wait till tomorrow afternoon before deciding on this. > > >> >> >> >> -- >> ~noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > --Anand > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Message: 4 > Date: Thu, 15 Oct 2009 14:06:01 +0530 > From: Ramdas S > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Weekend Meeting > Message-ID: > <6e38f9f00910150136h26bfe4afnb3efa96bcad1664 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > On Thu, Oct 15, 2009 at 1:45 PM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > >> >> >> On Thu, Oct 15, 2009 at 1:23 PM, Noufal Ibrahim wrote: >> >>> On Thu, Oct 15, 2009 at 1:05 PM, Anand Balachandran Pillai >>> wrote: >>> [..] >>> > It is a bit too early to decide on the meeting itself. There have >>> > been >>> > only a couple of thumbs-up so far. This week-end being Diwali >>> > and all, I need a few more head count before I decide on it. >>> > >>> > We can have it if around 7-8 people confirm. Otherwise I will rather >>> > wait for the next week-end than show it to an audience of 2 or >>> > 3 people. >>> [..] >>> >>> Why not do that then? People would have more time to get ready (this >>> is quite short notice) and I'd expect a larger audience. >>> >> >> We have had meetings at even shorter notices in the past, i.e on Friday >> for a Sat meeting and it has happened. >> >> I will wait till tomorrow afternoon before deciding on this. >> >> >>> +1 >>> >>> >>> -- >>> ~noufal >>> http://nibrahim.net.in >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >> >> >> >> -- >> --Anand >> >> >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > Ramdas S > +91 9342 583 065 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Message: 5 > Date: Thu, 15 Oct 2009 14:20:37 +0530 > From: Kenneth Gonsalves > To: ramdaz at gmail.com, "Bangalore Python Users Group - India" > > Subject: Re: [BangPypers] Weekend Meeting > Message-ID: <200910151420.37341.lawgon at au-kbc.org> > Content-Type: Text/Plain; charset="iso-8859-15" > > is it only me or is ramdas frequently sending mails without any matter in > them? > > On Thursday 15 Oct 2009 2:06:01 pm Ramdas S wrote: >> On Thu, Oct 15, 2009 at 1:45 PM, Anand Balachandran Pillai < >> >> abpillai at gmail.com> wrote: >> > On Thu, Oct 15, 2009 at 1:23 PM, Noufal Ibrahim >> > wrote: >> >> On Thu, Oct 15, 2009 at 1:05 PM, Anand Balachandran Pillai >> >> wrote: >> >> [..] >> >> >> >> > It is a bit too early to decide on the meeting itself. There have >> >> > been only a couple of thumbs-up so far. This week-end being Diwali >> >> > and >> >> > all, I need a few more head count before I decide on it. >> >> > >> >> > We can have it if around 7-8 people confirm. Otherwise I will rather >> >> > wait for the next week-end than show it to an audience of 2 or >> >> > 3 people. >> >> >> >> [..] >> >> >> >> Why not do that then? People would have more time to get ready (this >> >> is quite short notice) and I'd expect a larger audience. >> > >> > We have had meetings at even shorter notices in the past, i.e on >> > Friday >> > for a Sat meeting and it has happened. >> > >> > I will wait till tomorrow afternoon before deciding on this. >> > >> >> +1 >> >> >> >> >> >> -- >> >> ~noufal >> >> http://nibrahim.net.in >> >> _______________________________________________ >> >> BangPypers mailing list >> >> BangPypers at python.org >> >> http://mail.python.org/mailman/listinfo/bangpypers >> > >> > -- >> > --Anand >> > >> > >> > >> > >> > _______________________________________________ >> > BangPypers mailing list >> > BangPypers at python.org >> > http://mail.python.org/mailman/listinfo/bangpypers > > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > > > ------------------------------ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > > End of BangPypers Digest, Vol 26, Issue 51 > ****************************************** > From srijayanth at gmail.com Thu Oct 15 12:22:39 2009 From: srijayanth at gmail.com (Srijayanth Sridhar) Date: Thu, 15 Oct 2009 15:52:39 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> Message-ID: <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> I brought up the same topic a few months ago I think. Basically if you go to the Ruby forums you'll find that on an average, there's at least one Indian person a day who asks for solutions. A lot has to do with context and the way the education system works. There is no active fostering of individual thought. Everything is by rote, and the greatest example of this is in the way history is taught. It is in the nature of the subject that history cannot be taught without inciting curiosity, and yet, they take what should be an exercise in cultivating curiosity and turn it into a mindless exercise of remembering dates and figures. Perhaps what I have listed is not a cause but yet another symptom of a deeper problem, but I can't talk any more about this without hijacking this thread and taking it into areas that won't be considered appropriate for such a forum. Thank you, Jayanth -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramdaz at gmail.com Thu Oct 15 12:33:50 2009 From: ramdaz at gmail.com (Ramdas S) Date: Thu, 15 Oct 2009 16:03:50 +0530 Subject: [BangPypers] Query regarding Weekend Meeting In-Reply-To: <20091015095149.C43D928642@mail.tarangtech.com> References: <20091015095149.C43D928642@mail.tarangtech.com> Message-ID: <6e38f9f00910150333k652128fcg425fb91b0884ab44@mail.gmail.com> On Thu, Oct 15, 2009 at 3:12 PM, Sharath Sama wrote: > Hi, > > My name is Sharath Sama. I am working on python. I am new to this group.I > have a query regarding meetings > Who can attend meetings, What is the process to attend. Please guide me. > > Regards, > Sharath Sama Anyone can attend the meeting! There's no process to attend, we are not that process driven.... Meetings happen at one of the places(usually offices of some company in Bangalore) and this weekend it's @ Thoughtworks (www.thoughtworks.co.in). In fact the first meet was graciously hosted by Anand Pillai at a restaurant in Barton center. Just to clarify, anyone can call for a meeting at anytime they choose at any place ( of course people turning up will depend on individual interest, and also the proximity to the place you choose, as well as the topic of interest). I believe (correct me if I'm wrong), as long as the topic is connected to Python the meeting will be deemed as a BangPypers meet. We have a group's official monthly meetings which was decided for the third weekend every month, during last month. One of the core ideas of this group is to have code jams and sprints which can even be done if two three of us want to at any place like a coffee house or someone's home. But you can use the group for discussions and also attract more coders for your hackathons. Do join this weekend and meet all of us Thanks Ramdas -------------- next part -------------- An HTML attachment was scrubbed... URL: From srinivas_thatiparthy at akebonosoft.com Thu Oct 15 12:40:58 2009 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Thu, 15 Oct 2009 16:10:58 +0530 Subject: [BangPypers] Re Message-ID: <4EF2BF691B890546B2694C99A2852F0C01BB8C9B@astserver3.akebonosoft.com> >>May be we Indians always think the other person to be better or smarter. To quote from your own post: >>"Comparatively i have very less exposure and exp as you people have" I have attended Pycon and observed you people(noufal,senthil,ShyamShankar,AB,Kenneth) talking that's why i said. Regards, Srinivas Reddy Thatiparthy. -------------- I hear and I forget. I see and I remember. I do and I understand. - Confucius. -------------- next part -------------- An HTML attachment was scrubbed... URL: From srinivas_thatiparthy at akebonosoft.com Thu Oct 15 12:29:32 2009 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Thu, 15 Oct 2009 15:59:32 +0530 Subject: [BangPypers] Why Indians copy Message-ID: <4EF2BF691B890546B2694C99A2852F0C01BB8C94@astserver3.akebonosoft.com> >Why? That's probably the answer you're looking for. That was a big story noufal.To tell in short, I couldn't understand what they are teaching(in training) me? they taught entire java in 5 days and expected to do programming by the end of it which i couldn't.OOPS was a big ghost to me back then. I have had no choice than to copy though i disgusted it and felt guilt of it.i mean this from my heart. i was caught and infy sent me out. Regards, Srinivas Reddy Thatiparthy. -------------- I hear and I forget. I see and I remember. I do and I understand. - Confucius. -------------- next part -------------- An HTML attachment was scrubbed... URL: From b.ghose at gmail.com Thu Oct 15 12:54:58 2009 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Thu, 15 Oct 2009 16:24:58 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> Message-ID: > Why do indian programmers ask for code in? Usenet (particularly?Google > groups) ? Most Indian programmers were never supposed to be programmers. They simply lack the cognitive skills required to be in the business. Yet they are the ones who work for large/medium/small software service companies. So when they face a problem, they have absolutely no clue as to where to look for solutions. They also have no idea about the various programming communities and their modus operandi. They just join some random group and ask for solutions (it's akin to asking for some software in some shareware group). The problem is also inside the organisations; people who ask their seniors questions are deemed to be fools, etc. I think there is no solution to this specific problem. It's more of a culture issue. Unless and until parents let their children do whatever they want and the society treats people from all professions equally, people will keep flocking into the most fashionable profession of that decade. Computer programming is on its way out... management is much more fashionable now; the only difference is that a programmer's work revolves around the Internet and the Internet never forgets :) Regards, BG -- Baishampayan Ghose b.ghose at gmail.com From zaki at manian.org Thu Oct 15 12:58:03 2009 From: zaki at manian.org (Zaki Manian) Date: Thu, 15 Oct 2009 16:28:03 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> Message-ID: Googling or search in general is a skill. There is a lot of contextual knowledge that we use when composing a search query. One of the most important skills when entering a new discipline is learning the appropriate jargon and using it drive your queries. Search isn't generally a skill taught in schools. This is sad because it is probably ur-skill of the 21st century. But the only way to learn to search is to do a lot of it. I do find it more common in the East to find individuals in technical areas who haven't spent time running the thousands of queries it takes to build up the skill US number: +1 650-862-5992 Indian Number:+919945111824 Sent from Karnataka, India On Thu, Oct 15, 2009 at 3:39 PM, Arvind Jamuna Dixit wrote: > May be we Indians always think the other person to be better or smarter. To > quote from your own post: > > "Comparatively i have very less exposure and exp as you people have" > > On Thu, Oct 15, 2009 at 3:17 PM, Srinivas Reddy Thatiparthy < > srinivas_thatiparthy at akebonosoft.com> wrote: > >> Hi list, >> This is my first post to the list though I have been following >> this list since 7 or 8 months. >> I have been programming for a 1.5 years or so.Comparatively i have very >> less exposure and exp as you people have and >> please excuse me if u think this is a troll or flame. >> >> I know that this is not related to python, but i can't resist >> discussing this. >> >> Why do indian programmers ask for code in Usenet (particularly Google >> groups) ? >> ,saying that it's very urgent and on top of that they can't even able to >> put their problem across correctly.In some cases >> they ask you to send it to their mail ID's. >> >> Having tried the problem and asking for help is OK.but this is >> something like disgusting. >> >> I have been following Reddit and News groups and forums and no >> matter where ever i go these type of >> people are there(99% of them are indians).They don't even have the >> patience to do googling..is copying seeped into our blood?? >> >> I have worked at infosys , i have had a chance to work with >> westerns,they never ever >> copy their home work(In training ,we used to do assignments and submit at >> the EOD).They do submit what they did , if they can't >> do it,they ask permission to submit later.But we (Indians) used to copy.Yeah,i >> did copy and learnt lessons. :) >> >> >> Regards, >> Srinivas Reddy Thatiparthy. >> -------------- >> I hear and I forget. I see and I remember. I do and I understand. >> - Confucius. >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Thu Oct 15 13:13:30 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 15 Oct 2009 16:43:30 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> Message-ID: <200910151643.30879.lawgon@au-kbc.org> On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: > I brought up the same topic a few months ago I think. Basically if you go > to the Ruby forums no real programmer goes to forums - they use mailing lists and IRC -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From zaki at manian.org Thu Oct 15 13:20:04 2009 From: zaki at manian.org (Zaki Manian) Date: Thu, 15 Oct 2009 16:50:04 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> Message-ID: I frequently speak of the challenge culture poses in doing product development in India. But in some sense, culture is a great problem to have. Culture can change and fairly fast. There are also fantastic opportunities for entrepeneurs so build microcosms of effective problem solving culture in India. At the sametime , it is !#@ing hard.... US number: +1 650-862-5992 Indian Number:+919945111824 Sent from Karnataka, India On Thu, Oct 15, 2009 at 4:24 PM, Baishampayan Ghose wrote: > > Why do indian programmers ask for code in Usenet (particularly Google > > groups) ? > > Most Indian programmers were never supposed to be programmers. They > simply lack the cognitive skills required to be in the business. Yet > they are the ones who work for large/medium/small software service > companies. So when they face a problem, they have absolutely no clue > as to where to look for solutions. They also have no idea about the > various programming communities and their modus operandi. They just > join some random group and ask for solutions (it's akin to asking for > some software in some shareware group). > > The problem is also inside the organisations; people who ask their > seniors questions are deemed to be fools, etc. > > I think there is no solution to this specific problem. It's more of a > culture issue. Unless and until parents let their children do whatever > they want and the society treats people from all professions equally, > people will keep flocking into the most fashionable profession of that > decade. Computer programming is on its way out... management is much > more fashionable now; the only difference is that a programmer's work > revolves around the Internet and the Internet never forgets :) > > Regards, > BG > > -- > Baishampayan Ghose > b.ghose at gmail.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From srinivas_thatiparthy at akebonosoft.com Thu Oct 15 13:20:42 2009 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Thu, 15 Oct 2009 16:50:42 +0530 Subject: [BangPypers] Suggest me a book Message-ID: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> Just completed reading the book, "The Coders At Work",It's just an excellent book and It's great to see behind the eye balls of programmers. Can any one suggest me some other books of such kind? Regards, Srinivas Reddy Thatiparthy. -------------- I hear and I forget. I see and I remember. I do and I understand. - Confucius. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Thu Oct 15 13:28:31 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Thu, 15 Oct 2009 16:58:31 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <200910151643.30879.lawgon@au-kbc.org> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> Message-ID: <1c4dc2780910150428q472dbcfah3deec86aa95398b3@mail.gmail.com> On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves wrote: > On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: >> I brought up the same topic a few months ago I think. Basically if you go >> to the Ruby forums > > no real programmer goes to forums - they use 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 From ardsrk at gmail.com Thu Oct 15 13:28:50 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Thu, 15 Oct 2009 16:58:50 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <200910151643.30879.lawgon@au-kbc.org> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> Message-ID: <3d62196a0910150428n46336bb5o5c01b9e5bec3f7ac@mail.gmail.com> But StackOverflow is changing all that. On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves wrote: > On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: > > I brought up the same topic a few months ago I think. Basically if you go > > to the Ruby forums > > no real programmer goes to forums - they use mailing lists and IRC > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmathews at gmail.com Thu Oct 15 13:29:44 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Thu, 15 Oct 2009 16:59:44 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> Message-ID: <1c4dc2780910150429t4468504neb37056ae8a1e651@mail.gmail.com> On Thu, Oct 15, 2009 at 4:50 PM, Srinivas Reddy Thatiparthy wrote: > Just completed reading the book, "The Coders At Work",It's just an excellent > book and > It's great to see behind the eye balls of programmers. > Can any one?suggest me some other books of such kind? > http://www.diveintopython.org/ http://www.diveintopython3.org/ HTH :) Roshan Mathews From lawgon at au-kbc.org Thu Oct 15 13:35:16 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 15 Oct 2009 17:05:16 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <1c4dc2780910150428q472dbcfah3deec86aa95398b3@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <200910151643.30879.lawgon@au-kbc.org> <1c4dc2780910150428q472dbcfah3deec86aa95398b3@mail.gmail.com> Message-ID: <200910151705.16767.lawgon@au-kbc.org> On Thursday 15 Oct 2009 4:58:31 pm Roshan Mathews wrote: > On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves wrote: > > On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: > >> I brought up the same topic a few months ago I think. Basically if you > >> go to the Ruby forums > > > > no real programmer goes to forums - they use mailing lists and IRC > > Forums like say, http://stackoverflow.com/ ? havent come across that - but I some how do not like forums - something dozey about them > Real programmers like say, Alex Martelli ? ah - he is my favourite author -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From vinayakh at gmail.com Thu Oct 15 13:48:07 2009 From: vinayakh at gmail.com (Vinayak Hegde) Date: Thu, 15 Oct 2009 17:18:07 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> Message-ID: <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> Beautiful Code Beautiful Architecture Masterminds of Programming: Conversations with the Creators of Major Programming Languages Hackers and Painters: Big Ideas from the Computer Age Joel on Software (the book) The Best Software Writing I: Selected and Introduced by Joel Spolsky -- Vinayak On Thu, Oct 15, 2009 at 4:50 PM, Srinivas Reddy Thatiparthy wrote: > Just completed reading the book, "The Coders At Work",It's just an excellent > book and > It's great to see behind the eye balls of programmers. > Can any one?suggest me some other books of such kind? > > Regards, > Srinivas Reddy Thatiparthy. > -------------- > I hear and I forget. I see and I remember. I do and I understand. > - Confucius. > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > From lawgon at au-kbc.org Thu Oct 15 13:49:20 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 15 Oct 2009 17:19:20 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> Message-ID: <200910151719.21028.lawgon@au-kbc.org> On Thursday 15 Oct 2009 5:18:07 pm Vinayak Hegde wrote: > Beautiful Code > Beautiful Architecture > Masterminds of Programming: Conversations with the Creators of Major > Programming Languages > Hackers and Painters: Big Ideas from the Computer Age > Joel on Software (the book) > The Best Software Writing I: Selected and Introduced by Joel Spolsky just shows what an ass I am - never heard of any of these books. The only classic I have read is the one by Varden. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From zaki at manian.org Thu Oct 15 13:58:47 2009 From: zaki at manian.org (Zaki Manian) Date: Thu, 15 Oct 2009 17:28:47 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> Message-ID: I'm enjoying Real World Haskell and Beautiful Data enormously. US number: +1 650-862-5992 Indian Number:+919945111824 On Thu, Oct 15, 2009 at 5:18 PM, Vinayak Hegde wrote: > Beautiful Code > Beautiful Architecture > Masterminds of Programming: Conversations with the Creators of Major > Programming Languages > Hackers and Painters: Big Ideas from the Computer Age > Joel on Software (the book) > The Best Software Writing I: Selected and Introduced by Joel Spolsky > > -- Vinayak > > On Thu, Oct 15, 2009 at 4:50 PM, Srinivas Reddy Thatiparthy > wrote: > > Just completed reading the book, "The Coders At Work",It's just an > excellent > > book and > > It's great to see behind the eye balls of programmers. > > Can any one suggest me some other books of such kind? > > > > Regards, > > Srinivas Reddy Thatiparthy. > > -------------- > > I hear and I forget. I see and I remember. I do and I understand. > > - Confucius. > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vinayakh at gmail.com Thu Oct 15 14:02:48 2009 From: vinayakh at gmail.com (Vinayak Hegde) Date: Thu, 15 Oct 2009 17:32:48 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <200910151643.30879.lawgon@au-kbc.org> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> Message-ID: <38940f3c0910150502x7f49fbdbgcd058748e487625f@mail.gmail.com> On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves wrote: > On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: >> I brought up the same topic a few months ago I think. Basically if you go >> to the Ruby forums > > no real programmer goes to forums - they use mailing lists and IRC There are several good forums such as artima, stackoverflow and javalobby. The process of finding answers is what is important and not the medium. I think you would be taken more seriously if you don't spew random garbage like this. -- Vinayak From noufal at gmail.com Thu Oct 15 14:05:11 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 15 Oct 2009 17:35:11 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> Message-ID: <9963e56e0910150505q366b59dcj6619ea78583c033b@mail.gmail.com> On Thu, Oct 15, 2009 at 5:28 PM, Zaki Manian wrote: > I'm enjoying Real World Haskell and Beautiful Data enormously. Programming Pearls - Jon Bentley -- ~noufal http://nibrahim.net.in From noufal at gmail.com Thu Oct 15 14:06:57 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 15 Oct 2009 17:36:57 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <38940f3c0910150502x7f49fbdbgcd058748e487625f@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> <38940f3c0910150502x7f49fbdbgcd058748e487625f@mail.gmail.com> Message-ID: <9963e56e0910150506w209ea49epdabfb8e0880d8533@mail.gmail.com> On Thu, Oct 15, 2009 at 5:32 PM, Vinayak Hegde wrote: > On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves wrote: >> On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: >>> I brought up the same topic a few months ago I think. Basically if you go >>> to the Ruby forums >> >> no real programmer goes to forums - they use mailing lists and IRC > > There are several good forums such as artima, stackoverflow and > javalobby. The process of finding answers is what is important and not > the medium. Ubuntuforums has in the past been useful to me. I usually get to the articles via. a google search rather than directly visiting the forums though. -- ~noufal http://nibrahim.net.in From vinayakh at gmail.com Thu Oct 15 14:08:32 2009 From: vinayakh at gmail.com (Vinayak Hegde) Date: Thu, 15 Oct 2009 17:38:32 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> Message-ID: <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> Yeah those two are good too. Other than that I would suggest "Adventures of a Pythonista in Schemeland" (http://www.phyast.pitt.edu/~micheles/scheme/TheAdventuresofaPythonistainSchemeland.pdf) , Little Schemer and seasoned schemer for those who want to learn functional languages. -- Vinayak On Thu, Oct 15, 2009 at 5:28 PM, Zaki Manian wrote: > I'm enjoying Real World Haskell and Beautiful Data enormously. > > > > US number: +1 650-862-5992 > Indian Number:+919945111824 > > > On Thu, Oct 15, 2009 at 5:18 PM, Vinayak Hegde wrote: >> >> Beautiful Code >> Beautiful Architecture >> Masterminds of Programming: Conversations with the Creators of Major >> Programming Languages >> Hackers and Painters: Big Ideas from the Computer Age >> Joel on Software (the book) >> The Best Software Writing I: Selected and Introduced by Joel Spolsky >> >> -- Vinayak >> >> On Thu, Oct 15, 2009 at 4:50 PM, Srinivas Reddy Thatiparthy >> wrote: >> > Just completed reading the book, "The Coders At Work",It's just an >> > excellent >> > book and >> > It's great to see behind the eye balls of programmers. >> > Can any one?suggest me some other books of such kind? >> > >> > Regards, >> > Srinivas Reddy Thatiparthy. >> > -------------- >> > I hear and I forget. I see and I remember. I do and I understand. >> > - Confucius. >> > >> > _______________________________________________ >> > BangPypers mailing list >> > BangPypers at python.org >> > http://mail.python.org/mailman/listinfo/bangpypers >> > >> > >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > From lawgon at au-kbc.org Thu Oct 15 14:06:14 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Thu, 15 Oct 2009 17:36:14 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <38940f3c0910150502x7f49fbdbgcd058748e487625f@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <200910151643.30879.lawgon@au-kbc.org> <38940f3c0910150502x7f49fbdbgcd058748e487625f@mail.gmail.com> Message-ID: <200910151736.15219.lawgon@au-kbc.org> On Thursday 15 Oct 2009 5:32:48 pm Vinayak Hegde wrote: > > On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: > >> I brought up the same topic a few months ago I think. Basically if you > >> go to the Ruby forums > > > > no real programmer goes to forums - they use mailing lists and IRC > > There are several good forums such as artima, stackoverflow and > javalobby. The process of finding answers is what is important and not > the medium. > > I think you would be taken more seriously if you don't spew random > garbage like this. and so would you if you avoided personal comments -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From sharaths at tarangtech.com Thu Oct 15 14:07:38 2009 From: sharaths at tarangtech.com (Sharath Sama) Date: Thu, 15 Oct 2009 17:37:38 +0530 Subject: [BangPypers] Suggest me a book References: Message-ID: <20091015121713.B456828642@mail.tarangtech.com> Hi, I have gone through "Code Complete by Steve McConnell" under same category.This also good one. read it. Reagrds, Sharath Sama ----- Original Message ----- From: To: Sent: Thursday, October 15, 2009 4:56 PM Subject: BangPypers Digest, Vol 26, Issue 55 > Send BangPypers mailing list submissions to > bangpypers at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/bangpypers > or, via email, send a message with subject or body 'help' to > bangpypers-request at python.org > > You can reach the person managing the list at > bangpypers-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of BangPypers digest..." > > > Today's Topics: > > 1. Re: Why do indians copy? (Zaki Manian) > 2. Re: Why do indians copy? (Kenneth Gonsalves) > 3. Re: Why do indians copy? (Zaki Manian) > 4. Suggest me a book (Srinivas Reddy Thatiparthy) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 15 Oct 2009 16:28:03 +0530 > From: Zaki Manian > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Why do indians copy? > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Googling or search in general is a skill. There is a lot of contextual > knowledge that we use when composing a search query. One of the most > important skills when entering a new discipline is learning the > appropriate > jargon and using it drive your queries. > > Search isn't generally a skill taught in schools. This is sad because it > is > probably ur-skill of the 21st century. But the only way to learn to > search > is to do a lot of it. I do find it more common in the East to find > individuals in technical areas who haven't spent time running the > thousands > of queries it takes to build up the skill > > > US number: +1 650-862-5992 > Indian Number:+919945111824 > Sent from Karnataka, India > > On Thu, Oct 15, 2009 at 3:39 PM, Arvind Jamuna Dixit > wrote: > >> May be we Indians always think the other person to be better or smarter. >> To >> quote from your own post: >> >> "Comparatively i have very less exposure and exp as you people have" >> >> On Thu, Oct 15, 2009 at 3:17 PM, Srinivas Reddy Thatiparthy < >> srinivas_thatiparthy at akebonosoft.com> wrote: >> >>> Hi list, >>> This is my first post to the list though I have been following >>> this list since 7 or 8 months. >>> I have been programming for a 1.5 years or so.Comparatively i have very >>> less exposure and exp as you people have and >>> please excuse me if u think this is a troll or flame. >>> >>> I know that this is not related to python, but i can't resist >>> discussing this. >>> >>> Why do indian programmers ask for code in Usenet (particularly Google >>> groups) ? >>> ,saying that it's very urgent and on top of that they can't even able to >>> put their problem across correctly.In some cases >>> they ask you to send it to their mail ID's. >>> >>> Having tried the problem and asking for help is OK.but this is >>> something like disgusting. >>> >>> I have been following Reddit and News groups and forums and no >>> matter where ever i go these type of >>> people are there(99% of them are indians).They don't even have the >>> patience to do googling..is copying seeped into our blood?? >>> >>> I have worked at infosys , i have had a chance to work with >>> westerns,they never ever >>> copy their home work(In training ,we used to do assignments and submit >>> at >>> the EOD).They do submit what they did , if they can't >>> do it,they ask permission to submit later.But we (Indians) used to >>> copy.Yeah,i >>> did copy and learnt lessons. :) >>> >>> >>> Regards, >>> Srinivas Reddy Thatiparthy. >>> -------------- >>> I hear and I forget. I see and I remember. I do and I understand. >>> - Confucius. >>> >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Message: 2 > Date: Thu, 15 Oct 2009 16:43:30 +0530 > From: Kenneth Gonsalves > To: "Bangalore Python Users Group - India" > Subject: Re: [BangPypers] Why do indians copy? > Message-ID: <200910151643.30879.lawgon at au-kbc.org> > Content-Type: Text/Plain; charset="iso-8859-15" > > On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: >> I brought up the same topic a few months ago I think. Basically if you go >> to the Ruby forums > > no real programmer goes to forums - they use mailing lists and IRC > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > > > ------------------------------ > > Message: 3 > Date: Thu, 15 Oct 2009 16:50:04 +0530 > From: Zaki Manian > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Why do indians copy? > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > I frequently speak of the challenge culture poses in doing product > development in India. > > But in some sense, culture is a great problem to have. Culture can change > and fairly fast. There are also fantastic opportunities for entrepeneurs > so > build microcosms of effective problem solving culture in India. > > At the sametime , it is !#@ing hard.... > > > US number: +1 650-862-5992 > Indian Number:+919945111824 > Sent from Karnataka, India > > On Thu, Oct 15, 2009 at 4:24 PM, Baishampayan Ghose > wrote: > >> > Why do indian programmers ask for code in Usenet (particularly Google >> > groups) ? >> >> Most Indian programmers were never supposed to be programmers. They >> simply lack the cognitive skills required to be in the business. Yet >> they are the ones who work for large/medium/small software service >> companies. So when they face a problem, they have absolutely no clue >> as to where to look for solutions. They also have no idea about the >> various programming communities and their modus operandi. They just >> join some random group and ask for solutions (it's akin to asking for >> some software in some shareware group). >> >> The problem is also inside the organisations; people who ask their >> seniors questions are deemed to be fools, etc. >> >> I think there is no solution to this specific problem. It's more of a >> culture issue. Unless and until parents let their children do whatever >> they want and the society treats people from all professions equally, >> people will keep flocking into the most fashionable profession of that >> decade. Computer programming is on its way out... management is much >> more fashionable now; the only difference is that a programmer's work >> revolves around the Internet and the Internet never forgets :) >> >> Regards, >> BG >> >> -- >> Baishampayan Ghose >> b.ghose at gmail.com >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Message: 4 > Date: Thu, 15 Oct 2009 16:50:42 +0530 > From: "Srinivas Reddy Thatiparthy" > > To: > Subject: [BangPypers] Suggest me a book > Message-ID: > <4EF2BF691B890546B2694C99A2852F0C01BB8CA8 at astserver3.akebonosoft.com> > Content-Type: text/plain; charset="us-ascii" > > Just completed reading the book, "The Coders At Work",It's just an > excellent book and > It's great to see behind the eye balls of programmers. > Can any one suggest me some other books of such kind? > > Regards, > Srinivas Reddy Thatiparthy. > -------------- > I hear and I forget. I see and I remember. I do and I understand. > - Confucius. > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > > End of BangPypers Digest, Vol 26, Issue 55 > ****************************************** > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 42 bytes Desc: not available URL: From b.ghose at gmail.com Thu Oct 15 14:10:42 2009 From: b.ghose at gmail.com (Baishampayan Ghose) Date: Thu, 15 Oct 2009 17:40:42 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <200910151705.16767.lawgon@au-kbc.org> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <200910151643.30879.lawgon@au-kbc.org> <1c4dc2780910150428q472dbcfah3deec86aa95398b3@mail.gmail.com> <200910151705.16767.lawgon@au-kbc.org> Message-ID: >> >> I brought up the same topic a few months ago I think. Basically if you >> >> go to the Ruby forums >> > >> > no real programmer goes to forums - they use mailing lists and IRC >> >> Forums like say, http://stackoverflow.com/ ? > > havent come across that - but I some how do not like forums - something dozey > about them Stackoverflow is not really a forum, it's more like a community Q&A website. And yes, StackOverflow has more people who work on Windows technologies. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com From noufal at gmail.com Thu Oct 15 14:17:51 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 15 Oct 2009 17:47:51 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> Message-ID: <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> On Thu, Oct 15, 2009 at 5:38 PM, Vinayak Hegde wrote: > Yeah those two are good too. Other than that I would suggest > "Adventures of a Pythonista in Schemeland" > (http://www.phyast.pitt.edu/~micheles/scheme/TheAdventuresofaPythonistainSchemeland.pdf) > , Little Schemer and seasoned schemer for those who want to learn > functional languages. Is the adventures of a Pythonista... the same as was published a while ago as a series of blog entries? -- ~noufal http://nibrahim.net.in From vinayakh at gmail.com Thu Oct 15 14:26:11 2009 From: vinayakh at gmail.com (Vinayak Hegde) Date: Thu, 15 Oct 2009 17:56:11 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> Message-ID: <38940f3c0910150526xdacef5cndc034ca20466ece7@mail.gmail.com> On Thu, Oct 15, 2009 at 5:47 PM, Noufal Ibrahim wrote: > On Thu, Oct 15, 2009 at 5:38 PM, Vinayak Hegde wrote: >> Yeah those two are good too. Other than that I would suggest >> "Adventures of a Pythonista in Schemeland" >> (http://www.phyast.pitt.edu/~micheles/scheme/TheAdventuresofaPythonistainSchemeland.pdf) >> , Little Schemer and seasoned schemer for those who want to learn >> functional languages. > > Is the adventures of a Pythonista... the same as was published a while > ago as a series of blog entries? Yes. It has the content of 30 something blog entries. A PDF is easier to read than individual pages so I linked to it. I think there are more blog enrteies coming so the pdf will be updated as well. -- Vinayak From vinayakh at gmail.com Thu Oct 15 14:28:23 2009 From: vinayakh at gmail.com (Vinayak Hegde) Date: Thu, 15 Oct 2009 17:58:23 +0530 Subject: [BangPypers] Query regarding Weekend Meeting In-Reply-To: <20091015095149.C43D928642@mail.tarangtech.com> References: <20091015095149.C43D928642@mail.tarangtech.com> Message-ID: <38940f3c0910150528r21dbb7dfhd7f49531785a98a7@mail.gmail.com> On Thu, Oct 15, 2009 at 3:12 PM, Sharath Sama wrote: > Hi, > > My name is Sharath Sama. I am working on python. I am new to this group.I > have a query regarding meetings > Who can attend meetings, What is the process to attend. Please guide me. > > Regards, > Sharath Sama Anyone can attend a meeting. I think there is one scheduled this weekend. When starting a new thread don't do reply all to the list or digest but start a fresh email thread in your client. That will make it easier for people to answer you rather than getting flamed. -- Vinayak From rmathews at gmail.com Thu Oct 15 14:33:12 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Thu, 15 Oct 2009 18:03:12 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> Message-ID: <1c4dc2780910150533y5753b261pf030ff628944643b@mail.gmail.com> On Thu, Oct 15, 2009 at 5:47 PM, Noufal Ibrahim wrote: > On Thu, Oct 15, 2009 at 5:38 PM, Vinayak Hegde wrote: >> Yeah those two are good too. Other than that I would suggest >> "Adventures of a Pythonista in Schemeland" >> (http://www.phyast.pitt.edu/~micheles/scheme/TheAdventuresofaPythonistainSchemeland.pdf) >> , Little Schemer and seasoned schemer for those who want to learn >> functional languages. > > Is the adventures of a Pythonista... the same as was published a while > ago as a series of blog entries? > Looks like it. 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 From yuvipanda at gmail.com Thu Oct 15 15:14:54 2009 From: yuvipanda at gmail.com (Yuvi Panda) Date: Thu, 15 Oct 2009 18:44:54 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <200910151643.30879.lawgon@au-kbc.org> <1c4dc2780910150428q472dbcfah3deec86aa95398b3@mail.gmail.com> <200910151705.16767.lawgon@au-kbc.org> Message-ID: <45ec909c0910150614y324b1f8cxc8ccaee59ef93bc7@mail.gmail.com> Most important reason being people joining CS because of fashion and not because they like it. In my entire class of 68, only 4 joined CS because they liked it. The rest simply because they didn't want to 'disobey parents'. The 'don't question it' culture hurts. 20 people got 90+ in OOP in my class. None of them know the difference between a class and an object. Not their fault - I'm not sure the faculty themselves know it. Data Structures in C - 15 people got 90+. Maybe 5 of them know what a pointer is. I am sure the staff doesn't. Maybe my sampling is biased, but I don't see 99% of my classmates becoming programmers. Yet they will end up at some services company (only reappy knows why) and go on to produce those spectacular posts. Happens all the time here - nobody here can write code, and finding out ingenious ways to cheat is considered great. Maybe I should post a longer rant on my blog. How was this like before the CS Boom? I'm sure some of you would have memories... On Thu, Oct 15, 2009 at 5:40 PM, Baishampayan Ghose wrote: > >> >> I brought up the same topic a few months ago I think. Basically if > you > >> >> go to the Ruby forums > >> > > >> > no real programmer goes to forums - they use mailing lists and IRC > >> > >> Forums like say, http://stackoverflow.com/ ? > > > > havent come across that - but I some how do not like forums - something > dozey > > about them > > Stackoverflow is not really a forum, it's more like a community Q&A > website. And yes, StackOverflow has more people who work on Windows > technologies. > > Regards, > BG > > -- > Baishampayan Ghose > b.ghose at gmail.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Yuvi Panda T http://yuvisense.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From yuvipanda at gmail.com Thu Oct 15 15:17:11 2009 From: yuvipanda at gmail.com (Yuvi Panda) Date: Thu, 15 Oct 2009 18:47:11 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <1c4dc2780910150533y5753b261pf030ff628944643b@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> <1c4dc2780910150533y5753b261pf030ff628944643b@mail.gmail.com> Message-ID: <45ec909c0910150617g4a595070oc5ddf4af13d6a385@mail.gmail.com> Hey nobody mentioned Pragmatic Programmer? And Paul Graham's essays, while not a book, are just as good. I personally feel the best writing of the future will not be the ones printed on dead trees. On Thu, Oct 15, 2009 at 6:03 PM, Roshan Mathews wrote: > On Thu, Oct 15, 2009 at 5:47 PM, Noufal Ibrahim wrote: > > On Thu, Oct 15, 2009 at 5:38 PM, Vinayak Hegde > wrote: > >> Yeah those two are good too. Other than that I would suggest > >> "Adventures of a Pythonista in Schemeland" > >> ( > http://www.phyast.pitt.edu/~micheles/scheme/TheAdventuresofaPythonistainSchemeland.pdf > ) > >> , Little Schemer and seasoned schemer for those who want to learn > >> functional languages. > > > > Is the adventures of a Pythonista... the same as was published a while > > ago as a series of blog entries? > > > Looks like it. > > 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 > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Yuvi Panda T http://yuvisense.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From vsapre80 at gmail.com Thu Oct 15 15:37:48 2009 From: vsapre80 at gmail.com (Vishal) Date: Thu, 15 Oct 2009 19:07:48 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <45ec909c0910150617g4a595070oc5ddf4af13d6a385@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> <1c4dc2780910150533y5753b261pf030ff628944643b@mail.gmail.com> <45ec909c0910150617g4a595070oc5ddf4af13d6a385@mail.gmail.com> Message-ID: +1 for *Pragmatic Progammer* Another classic that on software engineering: *The Mythical Man-Month: Essays on Software Engineering* by fred brooks http://en.wikipedia.org/wiki/The_Mythical_Man-Month Enjoy,Vishal On Thu, Oct 15, 2009 at 6:47 PM, Yuvi Panda wrote: > Hey nobody mentioned Pragmatic Programmer? And Paul Graham's essays, while > not a book, are just as good. I personally feel the best writing of the > future will not be the ones printed on dead trees. > > > On Thu, Oct 15, 2009 at 6:03 PM, Roshan Mathews wrote: > >> On Thu, Oct 15, 2009 at 5:47 PM, Noufal Ibrahim wrote: >> > On Thu, Oct 15, 2009 at 5:38 PM, Vinayak Hegde >> wrote: >> >> Yeah those two are good too. Other than that I would suggest >> >> "Adventures of a Pythonista in Schemeland" >> >> ( >> http://www.phyast.pitt.edu/~micheles/scheme/TheAdventuresofaPythonistainSchemeland.pdf >> ) >> >> , Little Schemer and seasoned schemer for those who want to learn >> >> functional languages. >> > >> > Is the adventures of a Pythonista... the same as was published a while >> > ago as a series of blog entries? >> > >> Looks like it. >> >> 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 >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > Yuvi Panda T > http://yuvisense.net > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Thanks and best regards, Vishal Sapre --- "So say...Day by day, in every way, I am getting better, better and better !!!" "A Strong and Positive attitude creates more miracles than anything else. Because...Life is 10% how you make it, and 90% how you take it" "Diamond is another piece of coal that did well under pressure? "Happiness keeps u Sweet, Trials keep u Strong, Sorrow keeps u Human, Failure Keeps u Humble, Success keeps u Glowing, But only God Keeps u Going.....Keep Going....." -------------- next part -------------- An HTML attachment was scrubbed... URL: From shameek09 at gmail.com Thu Oct 15 15:40:07 2009 From: shameek09 at gmail.com (shameek ghosh) Date: Thu, 15 Oct 2009 19:10:07 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <9963e56e0910150506w209ea49epdabfb8e0880d8533@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> <38940f3c0910150502x7f49fbdbgcd058748e487625f@mail.gmail.com> <9963e56e0910150506w209ea49epdabfb8e0880d8533@mail.gmail.com> Message-ID: <6c8d08a40910150640i28c06d74pa65089733c02397e@mail.gmail.com> Coming back to the main questions.[:)] 1. Why do indian programmers ask for code in Usenet (particularly Google groups) ? How many Indians do you think can actually code?Most can't.They think they do, but they don't.Think of when we were in college, how many of us actually worked hard and coded themselves.Morever you dont get awarded/appraised for coding, its more about your manager's/teacher's whim.So why do we ask for code?Hmm.....maybe because statiscally , software servicess companies have a lot more Indians across the globe.And we want to see ourselves getting promoted/graded faster/better than our peers.So it doesnt really matter whether we can code or not.What matters is whether we can talk about that code(since thts what we blabber in status meeting).What better way is there than asking for readymade code on some forum?[:P]....Anyway , most companies swear by status meets rather than actual work.On top of that , code on forums is free and nobody at your office needs to know that you copied it.Personally , I think its fine to reuse code , but not before you know what is happening and you contibute to a forum's discussion.Most people on forum's are seen asking queries , never really trying to solve something collaboratively.Asking for help is okay.As far as code is concerned most people ask for regular code which is lying somewhere in the web.And none of them really know how to search effectively. Is copying seeped into our blood? A:Well , I dont really think copying is bad. Historically, Indians are also known for reinventing the wheel.Thats what happened pre-independence and after it for quite some time too.Indian scientists and mathematicians had rare access to work done internationally.We lost a lot of mileage then.And its not possible that you have all the time in the world to write ,code,solve problems.So its important what you reuse and what you write.Its just that do not reinvent the wheel each time.There are bigger problems to solve out there.[:)] This got big and by the time I completed conversations got updated , so now I might have repeated what Yuvi and Baishampayan has said although in a different way.[:)] On Thu, Oct 15, 2009 at 5:36 PM, Noufal Ibrahim wrote: > On Thu, Oct 15, 2009 at 5:32 PM, Vinayak Hegde wrote: > > On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves > wrote: > >> On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: > >>> I brought up the same topic a few months ago I think. Basically if you > go > >>> to the Ruby forums > >> > >> no real programmer goes to forums - they use mailing lists and IRC > > > > There are several good forums such as artima, stackoverflow and > > javalobby. The process of finding answers is what is important and not > > the medium. > > Ubuntuforums has in the past been useful to me. I usually get to the > articles via. a google search rather than directly visiting the forums > though. > > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- "A mind stretched to a new idea, never goes back to its original dimensions" -------------- next part -------------- An HTML attachment was scrubbed... URL: From vinayakh at gmail.com Thu Oct 15 15:47:25 2009 From: vinayakh at gmail.com (Vinayak Hegde) Date: Thu, 15 Oct 2009 19:17:25 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <6c8d08a40910150640i28c06d74pa65089733c02397e@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> <38940f3c0910150502x7f49fbdbgcd058748e487625f@mail.gmail.com> <9963e56e0910150506w209ea49epdabfb8e0880d8533@mail.gmail.com> <6c8d08a40910150640i28c06d74pa65089733c02397e@mail.gmail.com> Message-ID: <38940f3c0910150647k34adc94ei576ebcba7d606d96@mail.gmail.com> This is getting really offtopic. I think everyone here has joined this mailing list for learning Python and helping others do so. No offense to anyone but can we terminate the discussion here. Thanks Vinayak On Thu, Oct 15, 2009 at 7:10 PM, shameek ghosh wrote: > Coming back to the main questions.[:)] > > 1. Why do indian programmers ask for code in? Usenet (particularly?Google > groups) ? [SNIP] From rmathews at gmail.com Thu Oct 15 15:58:48 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Thu, 15 Oct 2009 19:28:48 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <6c8d08a40910150640i28c06d74pa65089733c02397e@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> <38940f3c0910150502x7f49fbdbgcd058748e487625f@mail.gmail.com> <9963e56e0910150506w209ea49epdabfb8e0880d8533@mail.gmail.com> <6c8d08a40910150640i28c06d74pa65089733c02397e@mail.gmail.com> Message-ID: <1c4dc2780910150658y13b7fc0gb24d0a56d8cad8ca@mail.gmail.com> On Thu, Oct 15, 2009 at 7:10 PM, shameek ghosh wrote: > ... [:)] > > ... [:P]... > ... [:)] > ... [:)] > Orkut overdose? :) Roshan Mathews From rmathews at gmail.com Thu Oct 15 16:00:02 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Thu, 15 Oct 2009 19:30:02 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <38940f3c0910150647k34adc94ei576ebcba7d606d96@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> <38940f3c0910150502x7f49fbdbgcd058748e487625f@mail.gmail.com> <9963e56e0910150506w209ea49epdabfb8e0880d8533@mail.gmail.com> <6c8d08a40910150640i28c06d74pa65089733c02397e@mail.gmail.com> <38940f3c0910150647k34adc94ei576ebcba7d606d96@mail.gmail.com> Message-ID: <1c4dc2780910150700v1faec92t600184fb482f995c@mail.gmail.com> On Thu, Oct 15, 2009 at 7:17 PM, Vinayak Hegde wrote: > This is getting really offtopic. I think everyone here has joined this > mailing list for learning Python and helping others do so. No offense > to anyone but can we terminate the discussion here. > Off topic, and the generalizations are a lil offensive. But then free speech and all. :) Roshan Mathews From ramdaz at gmail.com Thu Oct 15 16:33:08 2009 From: ramdaz at gmail.com (Ramdas S) Date: Thu, 15 Oct 2009 20:03:08 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <1c4dc2780910150700v1faec92t600184fb482f995c@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> <38940f3c0910150502x7f49fbdbgcd058748e487625f@mail.gmail.com> <9963e56e0910150506w209ea49epdabfb8e0880d8533@mail.gmail.com> <6c8d08a40910150640i28c06d74pa65089733c02397e@mail.gmail.com> <38940f3c0910150647k34adc94ei576ebcba7d606d96@mail.gmail.com> <1c4dc2780910150700v1faec92t600184fb482f995c@mail.gmail.com> Message-ID: <6e38f9f00910150733q53a0179cjbcfb0a5d9713e4fb@mail.gmail.com> On Thu, Oct 15, 2009 at 7:30 PM, Roshan Mathews wrote: > On Thu, Oct 15, 2009 at 7:17 PM, Vinayak Hegde wrote: > > This is getting really offtopic. I think everyone here has joined this > > mailing list for learning Python and helping others do so. No offense > > to anyone but can we terminate the discussion here. > > > Off topic, and the generalizations are a lil offensive. But then free > speech and all. :)\\ > Moderator, Kindly close this thread > Roshan Mathews > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Ramdas S +91 9342 583 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rajeev.sebastian at gmail.com Thu Oct 15 17:50:52 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Thu, 15 Oct 2009 21:20:52 +0530 Subject: [BangPypers] Why Indians copy In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8C94@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C94@astserver3.akebonosoft.com> Message-ID: <79a035420910150850r6f1e8730mda66e2dcde4849ac@mail.gmail.com> On Thu, Oct 15, 2009 at 3:59 PM, Srinivas Reddy Thatiparthy wrote: >>Why? That's probably the answer you're looking for. > > That was?a ?big story noufal.To tell in short, I couldn't understand what > they are teaching(in training)?me? > > they taught entire java in 5 days and? expected to do programming by the end > of it which i couldn't.OOPS was a big ghost to me back then. > > I have had no choice than to copy though i disgusted it and felt guilt of > it.i mean this from my heart. > > ?i was caught? and infy sent me out. ROTFL Regards Rajeev J Sebastian From sidharth.kuruvila at gmail.com Thu Oct 15 17:58:04 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Thu, 15 Oct 2009 21:28:04 +0530 Subject: [BangPypers] Introducing the Y Combinator(Not the company) Message-ID: <2ab2ed550910150858s3c001d7dl3b311201395b7861@mail.gmail.com> AKA The Y Combinator in python. This is in response to Roshan Mathews' post that he got stuck with the Y Combinator. Aha a challenge, I shall undertake this as a test of my communication skillz. :-) The question is how do we implement a recursive function in a language in which names can only be bound using a lambda expression eg. Python without assignment operators and def. We can solve this problem fairly easily, we pass the function itself as a parameter. So now any recursive call must include the function as a parameter too. fact = lambda _fact, x: 1 if x == 1 else x * _fact(_fact, x-1) print fact(fact, 5) Or course lambda expressions in python are famously hard to read. So we'll allow `def` with some restrictions. The code block of a function definition cannot contain a call to the function itself. This is because the function name isn't bound at the time the function itself is defined. We can rewrite the lambda code as def fact(_fact, x): if x == 1: return 1 else: return x*_fact(_fact, x-1) print fact(fact, 5) There, thats a lot more readable. Having to type `_fact(_fact, x-1)` is quite irritating especially if the recursive call is made in more than one place. So we can extract it into a function `f`. def fact(_fact, x): def f(x): return _fact(_fact, x) if x == 1: return 1 else: return x * f(x-1) print fact(fact, 5) But we still need to define `f` at the top of all our functions. It makes sense to generalize this pattern so that `f` itself can be passed as a parameter to fact. This is where the y combinator comes in. Ok, now things start to get a bit weird so hang in there. Here's a definition of y combinator using lambdas, it's not particularly readable so we'll just ignore it. def y(f): return ((lambda g: lambda a: f(g(g), a)) (lambda g: lambda a: f(g(g), a))) Let's implement the y combinator using `def` instead. def y(f): def _y(g): def _f(a): return f(g(g), a) return _f return _y(_y) `_f` accepts parameter `a` and then calls `f` with the parameters `g(g)` and `a`. `_y(_y)` bootstraps the whole operation by passing `_y` to itself to be bound to `g`. `g` is now `_y`, so a call to `g` will return `_f`. So now we can implement fact to use the y combinator. def fact(f, x): if x == 1: return 1 else: return x * f(x-1) fact = y(fact) print fact(5) ps. I wrote a lisp interpreter using lambda and the bootstrapping concept some time ago. It's a bit of a brain damaged ugly sister of the the y combinator. http://kuruvila.net/2008/02/29/a-one-line-lisp-interpreter/ -- I am but a man. From tejasdinkar at gmail.com Thu Oct 15 19:25:39 2009 From: tejasdinkar at gmail.com (Tejas Dinkar) Date: Thu, 15 Oct 2009 10:25:39 -0700 Subject: [BangPypers] Why do indians copy? In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> Message-ID: <20091015172539.GA23627@gja.in> Hi list, This is my first post to the list though I have been following this list since 7 or 8 months. I have been programming for a 1.5 years or so.Comparatively i have very less exposure and exp as you people have and please excuse me if u think this is a troll or flame. I know that this is not related to python, but i can't resist discussing this. Why do indian programmers ask for code in Usenet (particularly Google groups) ? ,saying that it's very urgent and on top of that they can't even able to put their problem across correctly.In some cases they ask you to send it to their mail ID's. Having tried the problem and asking for help is OK.but this is something like disgusting. I have been following Reddit and News groups and forums and no matter where ever i go these type of people are there(99% of them are indians).They don't even have the patience to do googling..is copying seeped into our blood?? I have worked at infosys , i have had a chance to work with westerns,they never ever copy their home work(In training ,we used to do assignments and submit at the EOD).They do submit what they did , if they can't do it,they ask permission to submit later.But we (Indians) used to copy.Yeah,i did copy and learnt lessons. :) Regards, Srinivas Reddy Thatiparthy. -------------- I hear and I forget. I see and I remember. I do and I understand. - Confucius. On Thu, 15 Oct 2009, Srinivas Reddy Thatiparthy sent out 8.1K bytes to say: > Hi list, > This is my first post to the list though I have been following this > list since 7 or 8 months. > I have been programming for a 1.5 years or so.Comparatively i have very less > exposure and exp as you people have and > please excuse me if u think this is a troll or flame. > > I know that this is not related to python, but i can't resist > discussing this. > > Why do indian programmers ask for code in Usenet (particularly Google groups) > ? > ,saying that it's very urgent and on top of that they can't even able to put > their problem across correctly.In some cases > they ask you to send it to their mail ID's. > > Having tried the problem and asking for help is OK.but this is something > like disgusting. > > I have been following Reddit and News groups and forums and no matter > where ever i go these type of > people are there(99% of them are indians).They don't even have the patience to > do googling..is copying seeped into our blood?? > > I have worked at infosys , i have had a chance to work with westerns,they > never ever > copy their home work(In training ,we used to do assignments and submit at the > EOD).They do submit what they did , if they can't > do it,they ask permission to submit later.But we (Indians) used to copy.Yeah,i > did copy and learnt lessons. :) > > > Regards, > Srinivas Reddy Thatiparthy. > -------------- > I hear and I forget. I see and I remember. I do and I understand. > - Confucius. > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers Sorry, I just couldn't resist :P -- Tejas Dinkar http://gja.in From rmathews at gmail.com Thu Oct 15 20:55:51 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Fri, 16 Oct 2009 00:25:51 +0530 Subject: [BangPypers] Introducing the Y Combinator(Not the company) In-Reply-To: <2ab2ed550910150858s3c001d7dl3b311201395b7861@mail.gmail.com> References: <2ab2ed550910150858s3c001d7dl3b311201395b7861@mail.gmail.com> Message-ID: <1c4dc2780910151155o171f76f3m16b1bce8e9ec25bd@mail.gmail.com> 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, but the basic idea of passing to the function Y a function F will return a function F' that will have F' itself passed to itself as it's first argument on subsequent calls, is a little less unclear. The last sentence barely makes sense to me. :-/ Anyways, in square = ((lambda f: lambda g: f(g)) (lambda x: x*x)) print square(3) we define a lambda (the one that takes f as argument) and apply it to a value (the second lambda that takes x as argument). This clears up the meaning (syntax wise) of Y as defined by you: def Y(f): return ((lambda g: lambda a: f(g(g), a)) (lambda g: lambda a: f(g(g), a))) print Y(lambda factorial, a: 1 if a == 1 else a * factorial(a-1))(5) print Y(lambda length, list: 0 if list == [] else (1+length(list[1:])))(range(5)) print Y(lambda fibonacci, n: n if n < 2 else (fib(n-1) + fib(n-2)))(5) factorial, length, fibonacci are magicaly filled in. if we tweak Y just a tiny bit: def Y(f): return ((lambda g: lambda *a: f(g(g), *a)) (lambda g: lambda *a: f(g(g), *a))) print Y(lambda add, a, b: a if b == 0 else add(a+1, b-1))(3, 4) print Y(lambda expt, a, b: 1 if b == 0 else (a * expt(a, b-1)))(3, 4) we now get multi arg lambdas which are self aware! Neat. Do I understand it? I'm not sure, maybe I'll know when I think about it some more. But thanks for the write-up, I'll re-read chapter 9* of The Little Schemer again. Roshan Mathews * - available at http://www.ccs.neu.edu/home/matthias/BTLS/sample.ps (page "160", 13 of 26) is where the madness starts. From srijayanth at gmail.com Fri Oct 16 03:49:04 2009 From: srijayanth at gmail.com (Srijayanth Sridhar) Date: Fri, 16 Oct 2009 07:19:04 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <200910151643.30879.lawgon@au-kbc.org> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> Message-ID: <5ead360a0910151849g26285a40i4fa68d9762f41252@mail.gmail.com> On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves wrote: > On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: > > I brought up the same topic a few months ago I think. Basically if you go > > to the Ruby forums > > no real programmer goes to forums - they use mailing lists and IRC > -- > > Kenneth, no diss, but if you can do something other than being a Draconian bastard and insulting people, then do it. I am out. This mailing list is full of grumpy old men. Jayanth -------------- next part -------------- An HTML attachment was scrubbed... URL: From sridhar.ratna at gmail.com Fri Oct 16 04:52:25 2009 From: sridhar.ratna at gmail.com (srid) Date: Fri, 16 Oct 2009 08:22:25 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> Message-ID: <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> I wonder if all this can be traced back to India's education system: "Modern education in India is often criticized for being based on rote learning rather than problem solving. BusinessWeek denigrates the Indian curriculum saying it revolves around rote learning.[67] and ExpressIndia suggests that students are focused on cramming.[68]" http://en.wikipedia.org/wiki/Education_in_india#Issues But Ghose raises an important point about it also being a cultural issue. Heh, wish there was a well-researched Wikipedia article on this topic! -srid On Thu, Oct 15, 2009 at 4:24 PM, Baishampayan Ghose wrote: >> Why do indian programmers ask for code in? Usenet (particularly?Google >> groups) ? > > Most Indian programmers were never supposed to be programmers. They > simply lack the cognitive skills required to be in the business. Yet > they are the ones who work for large/medium/small software service > companies. So when they face a problem, they have absolutely no clue > as to where to look for solutions. They also have no idea about the > various programming communities and their modus operandi. They just > join some random group and ask for solutions (it's akin to asking for > some software in some shareware group). > > The problem is also inside the organisations; people who ask their > seniors questions are deemed to be fools, etc. > > I think there is no solution to this specific problem. It's more of a > culture issue. Unless and until parents let their children do whatever > they want and the society treats people from all professions equally, > people will keep flocking into the most fashionable profession of that > decade. Computer programming is on its way out... management is much > more fashionable now; the only difference is that a programmer's work > revolves around the Internet and the Internet never forgets :) > > Regards, > BG > > -- > Baishampayan Ghose > b.ghose at gmail.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From abpillai at gmail.com Fri Oct 16 05:01:11 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Oct 2009 08:31:11 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <200910151420.37341.lawgon@au-kbc.org> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> Message-ID: <8548c5f30910152001r18b5ea92k6e967e6ddfa62528@mail.gmail.com> On Thu, Oct 15, 2009 at 2:20 PM, Kenneth Gonsalves wrote: > is it only me or is ramdas frequently sending mails without any matter in > them? > > I think you didn't see the +1 at the end of the email. -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Fri Oct 16 05:03:42 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Fri, 16 Oct 2009 08:33:42 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> Message-ID: <200910160833.42496.lawgon@au-kbc.org> On Friday 16 Oct 2009 8:22:25 am srid wrote: > I wonder if all this can be traced back to India's education system: > > "Modern education in India is often criticized for being based on rote > learning rather than problem solving. BusinessWeek denigrates the > Indian curriculum saying it revolves around rote learning.[67] and > ExpressIndia suggests that students are focused on cramming.[68]" > > http://en.wikipedia.org/wiki/Education_in_india#Issues > > But Ghose raises an important point about it also being a cultural > issue. Heh, wish there was a well-researched Wikipedia article on this > topic! it is cultural - India will only be free when youngsters are confident enough to smoke/drink in front of their elders. This same attitude of 'respect' being the crucial thing is everywhere. Ask questions? You lose respect by exposing your ignorance. Take an unpopular stand - 'you will lose respect if you talk rubbish like this'. Basically we worry too much about what other people think of us. And do not worry enough about learning new things - even at the cost of losing 'respect'. So you copy because you do not want to lose 'respect' by failing - and if you do lose respect you hang yourself. In fact I once made a remark about RMS, and was told 'at least respect him as an elder'. Why should I? He is younger than me ;-) -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From rmathews at gmail.com Fri Oct 16 05:06:35 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Fri, 16 Oct 2009 08:36:35 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> Message-ID: <1c4dc2780910152006t3f5c5aaxa2decb4562358340@mail.gmail.com> On Fri, Oct 16, 2009 at 8:22 AM, srid wrote: > But Ghose raises an important point about it also being a cultural > issue. Heh, wish there was a well-researched Wikipedia article on this > topic! > There is a hypothesis presented in Malcolm Gladwell's book Outliers, on cultural 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/ From david.lyon at preisshare.net Fri Oct 16 05:02:33 2009 From: david.lyon at preisshare.net (David Lyon) Date: Thu, 15 Oct 2009 23:02:33 -0400 Subject: [BangPypers] =?utf-8?q?Why_do_indians_copy=3F?= In-Reply-To: <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> Message-ID: <622dd64f5105fd455dd8ab521b1cbb25@preisshare.net> On Fri, 16 Oct 2009 08:22:25 +0530, srid wrote: > I wonder if all this can be traced back to India's education system: > > "Modern education in India is often criticized for being based on rote > learning rather than problem solving. BusinessWeek denigrates the > Indian curriculum saying it revolves around rote learning.[67] and > ExpressIndia suggests that students are focused on cramming.[68]" > > http://en.wikipedia.org/wiki/Education_in_india#Issues > > But Ghose raises an important point about it also being a cultural > issue. Heh, wish there was a well-researched Wikipedia article on this > topic! Srid, I'm not Indian - but... Every other race/nation copies.. Western civilisation is built on inventing and copying... Europe invented the printing press - what for? mass copying of ideas. You can't get a more blatent copy machine than that. Western civilisation could provide india with toilet paper for every citizen in india simply from how much we photo-copy each year. If you have any issue with Indian behaviour, it shouldn't be about duplication, just recognition. Outside India, everybody knows Buddha, Gandhi, even Shah Rukh Khan. Ok - answer this important question (I am Australian): Which country has the Indian cricket team copied as a base for it's spin bowling skills? I bet you can't answer... Because they didn't copy anybody.. they worked it out themselves... David From lawgon at thenilgiris.com Fri Oct 16 05:04:33 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Fri, 16 Oct 2009 08:34:33 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <8548c5f30910152001r18b5ea92k6e967e6ddfa62528@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <8548c5f30910152001r18b5ea92k6e967e6ddfa62528@mail.gmail.com> Message-ID: <200910160834.33700.lawgon@thenilgiris.com> On Friday 16 Oct 2009 8:31:11 am Anand Balachandran Pillai wrote: > > is it only me or is ramdas frequently sending mails without any matter in > > them? > > I think you didn't see the +1 at the end of the email. I saw one with 4'>' characters before it -- regards kg http://lawgon.livejournal.com From rmathews at gmail.com Fri Oct 16 05:12:36 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Fri, 16 Oct 2009 08:42:36 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <200910160833.42496.lawgon@au-kbc.org> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> <200910160833.42496.lawgon@au-kbc.org> Message-ID: <1c4dc2780910152012w6f6a86d7qea3d6e573ab12509@mail.gmail.com> On Fri, Oct 16, 2009 at 8:33 AM, Kenneth Gonsalves wrote: > failing - and if you do lose respect you hang yourself. In fact I once made a > remark about RMS, and was told 'at least respect him as an elder'. Why should > I? He is younger than me ;-) > Hahaha. :-D *must avoid antediluvian joke ... must* Roshan Mathews From abpillai at gmail.com Fri Oct 16 05:21:24 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Oct 2009 08:51:24 +0530 Subject: [BangPypers] Query regarding Weekend Meeting In-Reply-To: <38940f3c0910150528r21dbb7dfhd7f49531785a98a7@mail.gmail.com> References: <20091015095149.C43D928642@mail.tarangtech.com> <38940f3c0910150528r21dbb7dfhd7f49531785a98a7@mail.gmail.com> Message-ID: <8548c5f30910152021n33ee87c1l53e0889864a8f709@mail.gmail.com> Hi Sharath, On Thu, Oct 15, 2009 at 5:58 PM, Vinayak Hegde wrote: > On Thu, Oct 15, 2009 at 3:12 PM, Sharath Sama > wrote: > > Hi, > > > > My name is Sharath Sama. I am working on python. I am new to this group.I > > have a query regarding meetings > > Who can attend meetings, What is the process to attend. Please guide me. > > > > Regards, > > Sharath Sama > > Anyone can attend a meeting. I think there is one scheduled this > weekend. When starting a new thread don't do reply all to the list or > digest but start a fresh email thread in your client. That will make > it easier for people to answer you rather than getting flamed. > If you are in the city for the week-end, I suggest you attend this week-end's meeting. You can see how the meetings function and also get to network with other Pythonistas in Bangalore. > > -- Vinayak > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > Regards, -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Fri Oct 16 05:29:01 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Oct 2009 08:59:01 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> Message-ID: <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> On Thu, Oct 15, 2009 at 3:08 PM, Vishal wrote: > +1 > Thanks. Since this counts to around 6 people, let us have the meeting. Hopefully more people will join in on the day. I will send another email to confirm this. > Vishal Sapre > > On Thu, Oct 15, 2009 at 2:43 PM, Srinivasachari < > srinivasachari2000 at gmail.com> wrote: > >> +1 >> >> Regards, >> Srinivasachari. >> Sent from Bangalore, KA, India >> >> >> Thanks --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From siddharta.lists at gmail.com Fri Oct 16 05:43:06 2009 From: siddharta.lists at gmail.com (Siddharta) Date: Fri, 16 Oct 2009 09:13:06 +0530 Subject: [BangPypers] Introducing the Y Combinator(Not the company) In-Reply-To: <2ab2ed550910150858s3c001d7dl3b311201395b7861@mail.gmail.com> References: <2ab2ed550910150858s3c001d7dl3b311201395b7861@mail.gmail.com> Message-ID: <4AD7EBCA.7030603@gmail.com> 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. > > Aha a challenge, I shall undertake this as a test of my communication > skillz. :-) > The Y combinator is quite interesting. I blogged about this a little while back - http://siddhi.blogspot.com/2007/08/y-combinator-in-python.html -- Siddharta Govindaraj From sriramnrn at gmail.com Fri Oct 16 05:53:13 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Fri, 16 Oct 2009 09:23:13 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> Message-ID: <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> On 10/16/09, Anand Balachandran Pillai wrote: > > > On Thu, Oct 15, 2009 at 3:08 PM, Vishal wrote: > > +1 > > > > > > Thanks. Since this counts to around 6 people, let us have the meeting. > Hopefully more people will join in on the day. > > I will send another email to confirm this. > We can meet at TW this Sunday, no problem. -- Sriram From sriramnrn at gmail.com Fri Oct 16 05:57:52 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Fri, 16 Oct 2009 09:27:52 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> Message-ID: <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> On 10/16/09, Sriram Narayanan wrote: > > We can meet at TW this Sunday, no problem. One other thing that we'd discussed the last weekend was how those who are Python savvy can be a part of the Belenix developer community. I'd like to showcase some of Belenix - especially the ZFS file system, and we could all discuss some of the tools that are needed for such a platform (like storage management software, network administration tools, etc). > > -- Sriram > From abpillai at gmail.com Fri Oct 16 06:20:39 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Oct 2009 09:50:39 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> Message-ID: <8548c5f30910152120u4b18354araba3e6037c68adb7@mail.gmail.com> On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan wrote: > On 10/16/09, Sriram Narayanan wrote: > > > > We can meet at TW this Sunday, no problem. > > One other thing that we'd discussed the last weekend was how those who > are Python savvy can be a part of the Belenix developer community. > > I'd like to showcase some of Belenix - especially the ZFS file system, > and we could all discuss some of the tools that are needed for such a > platform (like storage management software, network administration > tools, etc). > Great, looking forward to this, especially on Python tools to inspect/manage ZFS, if any. > > > > > -- Sriram > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From sriramnrn at gmail.com Fri Oct 16 06:22:15 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Fri, 16 Oct 2009 09:52:15 +0530 Subject: [BangPypers] Video streaming and video recording of the meet Message-ID: <49977f270910152122j41aef6a4h9a47cf7a94c6d4d3@mail.gmail.com> Folks: Let's assume that we have good bandwidth to stream video. Let me know what I need to set up here, and I'll see if I can have it ready by Sunday. We can also test all this before the meet. -- Sriram From lawgon at au-kbc.org Fri Oct 16 07:07:50 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Fri, 16 Oct 2009 10:37:50 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <622dd64f5105fd455dd8ab521b1cbb25@preisshare.net> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> <622dd64f5105fd455dd8ab521b1cbb25@preisshare.net> Message-ID: <200910161037.50872.lawgon@au-kbc.org> On Friday 16 Oct 2009 8:32:33 am David Lyon wrote: > Western civilisation is built on inventing and copying... I think you have missed the point - by 'copying' we are talking of 'cheating' -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From ramdaz at gmail.com Fri Oct 16 07:20:55 2009 From: ramdaz at gmail.com (Ramdas S) Date: Fri, 16 Oct 2009 10:50:55 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <8548c5f30910152120u4b18354araba3e6037c68adb7@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <8548c5f30910152120u4b18354araba3e6037c68adb7@mail.gmail.com> Message-ID: <6e38f9f00910152220u209cf547u3c92c1cd71b9d330@mail.gmail.com> On Fri, Oct 16, 2009 at 9:50 AM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan wrote: > >> On 10/16/09, Sriram Narayanan wrote: >> > >> > We can meet at TW this Sunday, no problem. >> >> One other thing that we'd discussed the last weekend was how those who >> are Python savvy can be a part of the Belenix developer community. >> >> I'd like to showcase some of Belenix - especially the ZFS file system, >> and we could all discuss some of the tools that are needed for such a >> platform (like storage management software, network administration >> tools, etc). >> > > Great, looking forward to this, especially on Python tools to > inspect/manage ZFS, if any. > Sriram, If it's not an issue can you also bring some latest Belenix CDs. It'll save some of us bandwidth > >> > >> > -- Sriram >> > >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Ramdas S +91 9342 583 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ardsrk at gmail.com Fri Oct 16 07:25:42 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Fri, 16 Oct 2009 10:55:42 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> Message-ID: <3d62196a0910152225kb17c54dw2b2054967b3badca@mail.gmail.com> +1 from me. On Thu, Oct 15, 2009 at 11:42 AM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > Hi all, > > I am proposing a week-end meeting on Sunday at > ThoughtWorks, Diamond District. > > I plan to present a prototype of a project I have been > working on for the last few weeks which uses OpenCalais > and NLP to search RSS feeds for very specfic information. > > The presentation will cover the basics of OpenCalais > in the beginning and then present a demo of my > project (not named yet), and some of the inner > workings. > > I suggest meeting at 3.00-5.00 pm at ThoughtWorks. > > If we get enough thumbs up, we could plan for one > more session... > > Thanks, > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anurag08priyam at gmail.com Fri Oct 16 07:37:24 2009 From: anurag08priyam at gmail.com (Anurag Priyam) Date: Fri, 16 Oct 2009 11:07:24 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> <1c4dc2780910150533y5753b261pf030ff628944643b@mail.gmail.com> <45ec909c0910150617g4a595070oc5ddf4af13d6a385@mail.gmail.com> Message-ID: <95d7ba070910152237r2da9bb84j420b6ace33976be3@mail.gmail.com> How come no one mentioned ESR's CatB? I loved it. - The Cathedral and the Bazzar by Eric S Raymond -- Anurag Priyam 2nd Year,Mechanical Engineering, IIT Kharagpur. +91-9775550642 -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaki at manian.org Fri Oct 16 07:42:31 2009 From: zaki at manian.org (Zaki Manian) Date: Fri, 16 Oct 2009 11:12:31 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <95d7ba070910152237r2da9bb84j420b6ace33976be3@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> <1c4dc2780910150533y5753b261pf030ff628944643b@mail.gmail.com> <45ec909c0910150617g4a595070oc5ddf4af13d6a385@mail.gmail.com> <95d7ba070910152237r2da9bb84j420b6ace33976be3@mail.gmail.com> Message-ID: Where do people buy programming books in Bangalore? I've got an International Kindle coming and I have an O'reilly Safari account so those are my main work around. US number: +1 650-862-5992 Indian Number:+919945111824 Sent from Karnataka, India On Fri, Oct 16, 2009 at 11:07 AM, Anurag Priyam wrote: > How come no one mentioned ESR's CatB? I loved it. > > - The Cathedral and the Bazzar by Eric S Raymond > > -- > Anurag Priyam > 2nd Year,Mechanical Engineering, > IIT Kharagpur. > +91-9775550642 > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists.amitsaha at gmail.com Fri Oct 16 07:46:05 2009 From: lists.amitsaha at gmail.com (Amit Saha) Date: Fri, 16 Oct 2009 11:16:05 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> <1c4dc2780910150533y5753b261pf030ff628944643b@mail.gmail.com> <45ec909c0910150617g4a595070oc5ddf4af13d6a385@mail.gmail.com> <95d7ba070910152237r2da9bb84j420b6ace33976be3@mail.gmail.com> Message-ID: <4AD8089D.20308@gmail.com> Zaki Manian wrote: > Where do people buy programming books in Bangalore? I've got an > International Kindle coming and I have an O'reilly Safari account so those > are my main work around. You could consider "Crossword" near M.G.Road or "Landmark" at Kormangla Forum mall as a repo of all kinds of books. Also, there is Ganguram on M.G.Road. Compared to the first two, you might get discounts here as well. HTH, Amit > > > US number: +1 650-862-5992 > Indian Number:+919945111824 > Sent from Karnataka, India > > On Fri, Oct 16, 2009 at 11:07 AM, Anurag Priyam wrote: > >> How come no one mentioned ESR's CatB? I loved it. >> >> - The Cathedral and the Bazzar by Eric S Raymond >> >> -- >> Anurag Priyam >> 2nd Year,Mechanical Engineering, >> IIT Kharagpur. >> +91-9775550642 >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers -- Journal: http://amitksaha.wordpress.com ?-blog: http://twitter.com/amitsaha IRC: cornucopic on #scheme, #lisp, #math, #linux From ramdaz at gmail.com Fri Oct 16 07:46:49 2009 From: ramdaz at gmail.com (Ramdas S) Date: Fri, 16 Oct 2009 11:16:49 +0530 Subject: [BangPypers] Video streaming and video recording of the meet In-Reply-To: <49977f270910152122j41aef6a4h9a47cf7a94c6d4d3@mail.gmail.com> References: <49977f270910152122j41aef6a4h9a47cf7a94c6d4d3@mail.gmail.com> Message-ID: <6e38f9f00910152246q31ad57e8w7c9b69315cd18b93@mail.gmail.com> On Fri, Oct 16, 2009 at 9:52 AM, Sriram Narayanan wrote: > Folks: > > Let's assume that we have good bandwidth to stream video. > > Let me know what I need to set up here, and I'll see if I can have it > ready by Sunday. > > We can also test all this before the meet > Is Baiju around this weekend. I doubt.... > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Ramdas S +91 9342 583 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gora at srijan.in Fri Oct 16 07:49:03 2009 From: gora at srijan.in (Gora Mohanty) Date: Fri, 16 Oct 2009 11:19:03 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <1c4dc2780910152006t3f5c5aaxa2decb4562358340@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> <1c4dc2780910152006t3f5c5aaxa2decb4562358340@mail.gmail.com> Message-ID: <20091016111903.1c061f9d@anubis> On Fri, 16 Oct 2009 08:36:35 +0530 Roshan Mathews wrote: > On Fri, Oct 16, 2009 at 8:22 AM, srid > wrote: > > But Ghose raises an important point about it also being a > > cultural issue. Heh, wish there was a well-researched Wikipedia > > article on this topic! > > > There is a hypothesis presented in Malcolm Gladwell's book > Outliers, on cultural factors causing airline accidents. But > then others[1] disagree, as with most social arguments it's hard > to come to any conclusion. [...] Interesting that you should bring that up. I read Outliers a few months ago, and while it made some interesting points, I was frankly not very impressed by it, as also another best-selling book with a somewhat similar outlook, Freakonmics. I think that Gladwell jumps to conclusions way too readily. In this particular incident, without any more data than in the book, I felt that the blame for the crash that Gladwell lays at the feet of cultural factors affecting the Avianca crew, could have equally well been pointed the other way: At the "famously rude" New York ATC. The NTSB report cited in http://en.wikipedia.org/wiki/Avianca_Flight_52 is more even-handed. One of the really scary possibilities is that the crash was because of a linguistic misunderstanding. Regards, Gora From anandology at gmail.com Fri Oct 16 07:49:42 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Fri, 16 Oct 2009 11:19:42 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <38940f3c0910150448o2379a525q54c836430cc9b370@mail.gmail.com> <38940f3c0910150508v615b52dfs6a45c33feeacdb07@mail.gmail.com> <9963e56e0910150517k557e8513n365e98bb29590486@mail.gmail.com> <1c4dc2780910150533y5753b261pf030ff628944643b@mail.gmail.com> <45ec909c0910150617g4a595070oc5ddf4af13d6a385@mail.gmail.com> <95d7ba070910152237r2da9bb84j420b6ace33976be3@mail.gmail.com> Message-ID: <41139fcb0910152249n270990d7ma2d4ca97df0c9eab@mail.gmail.com> On Fri, Oct 16, 2009 at 11:12 AM, Zaki Manian wrote: > Where do people buy programming books in Bangalore? I've got an > International Kindle coming and I have an O'reilly Safari account so those > are my main work around. I generally buy books from Tata Book House, IISc. They give 20% discount on all books. Recently ordered a book from www.infibeam.com. They have good discounts and their service seems to be good. Anand From lawgon at au-kbc.org Fri Oct 16 07:56:22 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Fri, 16 Oct 2009 11:26:22 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <4AD8089D.20308@gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <4AD8089D.20308@gmail.com> Message-ID: <200910161126.23170.lawgon@au-kbc.org> On Friday 16 Oct 2009 11:16:05 am Amit Saha wrote: > Zaki Manian wrote: > > Where do people buy programming books in Bangalore? I've got an > > International Kindle coming and I have an O'reilly Safari account so > > those are my main work around. > > You could consider "Crossword" near M.G.Road or "Landmark" at Kormangla > Forum mall as a repo of all kinds of books. > > Also, there is Ganguram on M.G.Road. Compared to the first two, you > might get discounts here as well. I wonder if that other shop on Museum road is still there - with all the books piled on top of each other. If it is, go to Gangarams, choose your book, and then go to that shop, ask the owner for the book and get a discount. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From rmathews at gmail.com Fri Oct 16 08:06:55 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Fri, 16 Oct 2009 11:36:55 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <20091016111903.1c061f9d@anubis> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> <1c4dc2780910152006t3f5c5aaxa2decb4562358340@mail.gmail.com> <20091016111903.1c061f9d@anubis> Message-ID: <1c4dc2780910152306j40d4d14fo64c503182f1a7508@mail.gmail.com> On Fri, Oct 16, 2009 at 11:19 AM, Gora Mohanty wrote: > Interesting that you should bring that up. I read Outliers a few > months ago, and while it made some interesting points, I was frankly > not very impressed by it, as also another best-selling book with a > somewhat similar outlook, Freakonmics. I think that Gladwell jumps > to conclusions way too readily. > The thing that put me off about the book (but I'd still recommend it as an interesting read) was something he said in the early chapters about BIll Joy or computers or hackers ... I don't remember specifically 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 can't expect much better. :) Roshan Mathews From abpillai at gmail.com Fri Oct 16 08:16:40 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Oct 2009 11:46:40 +0530 Subject: [BangPypers] Video streaming and video recording of the meet In-Reply-To: <6e38f9f00910152246q31ad57e8w7c9b69315cd18b93@mail.gmail.com> References: <49977f270910152122j41aef6a4h9a47cf7a94c6d4d3@mail.gmail.com> <6e38f9f00910152246q31ad57e8w7c9b69315cd18b93@mail.gmail.com> Message-ID: <8548c5f30910152316i264edd15n6d1c2cd2c6074e74@mail.gmail.com> On Fri, Oct 16, 2009 at 11:16 AM, Ramdas S wrote: > > > On Fri, Oct 16, 2009 at 9:52 AM, Sriram Narayanan wrote: > >> Folks: >> >> Let's assume that we have good bandwidth to stream video. >> >> Let me know what I need to set up here, and I'll see if I can have it >> ready by Sunday. >> >> We can also test all this before the meet >> > > Is Baiju around this weekend. I doubt.... > I think he mentioned about going to native to visit his family this weekend... > > >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > Ramdas S > +91 9342 583 065 > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Fri Oct 16 08:23:19 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Oct 2009 11:53:19 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <5ead360a0910151849g26285a40i4fa68d9762f41252@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> <5ead360a0910151849g26285a40i4fa68d9762f41252@mail.gmail.com> Message-ID: <8548c5f30910152323lfb640f4qee7605ef9429837@mail.gmail.com> On Fri, Oct 16, 2009 at 7:19 AM, Srijayanth Sridhar wrote: > > > On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves wrote: > >> On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: >> > I brought up the same topic a few months ago I think. Basically if you >> go >> > to the Ruby forums >> >> no real programmer goes to forums - they use mailing lists and IRC >> -- >> >> > Kenneth, no diss, but if you can do something other than being a Draconian > bastard and insulting people, then do it. I am out. This mailing list is > full of grumpy old men. > Please, I request you to stay. How many grumpy old men did you see in this post. I can barely count one and a half (that is me) ;-) > > Jayanth > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Fri Oct 16 08:31:15 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Oct 2009 12:01:15 +0530 Subject: [BangPypers] Why Indians copy In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8C94@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C94@astserver3.akebonosoft.com> Message-ID: <8548c5f30910152331s63248fb5nc74290593e3d5a33@mail.gmail.com> On Thu, Oct 15, 2009 at 3:59 PM, Srinivas Reddy Thatiparthy < srinivas_thatiparthy at akebonosoft.com> wrote: > >Why? That's probably the answer you're looking for. > > That was a big story noufal.To tell in short, I couldn't understand what > they are teaching(in training) me? > > they taught entire java in 5 days and expected to do programming by the > end of it which i couldn't.OOPS was a big ghost to me back then. > They expect you to be a robot coder for them, spewing out code in systems they have taught you to use and in ways they have taught you to think. These companies rely on armies of coders each writing a few pieces of huge systems, the full workings of which they don't understand. That is all what you are supposed to do, i.e be a code machine, one of the cogs in a great mechanism that is turning somewhere in the base of a huge machine. There is a tendency to over generalize this for all software companies in India, but that is not true. There are many companies which produce and nurture good developers here, but a good majority falls into the software shop category. > I have had no choice than to copy though i disgusted it and felt guilt of > it.i mean this from my heart. > i was caught and infy sent me out. > I pity your position but I can understand it. You clearly did not suit their system of cramming up and retching out. Anyway that is no way to learn coding. I am lucky I learned my first steps of programming in a company which allowed me to experiment and often fail, till I learned how to walk without help... > Regards, > Srinivas Reddy Thatiparthy. > -------------- > I hear and I forget. I see and I remember. I do and I understand. > - Confucius. > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From aneesh.nl at gmail.com Thu Oct 15 10:28:37 2009 From: aneesh.nl at gmail.com (Aneesh A) Date: Thu, 15 Oct 2009 13:58:37 +0530 Subject: [BangPypers] [fsug-tvm] Re: Guess me python game In-Reply-To: <90c47fb0910150122s7b601749h14e6e911f0ffb07d@mail.gmail.com> References: <90c47fb0910130829g5299a136p9ea979bd73ea9e56@mail.gmail.com> <5acccff00910140133j41580138ua1b38abb6ff0872c@mail.gmail.com> <90c47fb0910150122s7b601749h14e6e911f0ffb07d@mail.gmail.com> Message-ID: <90c47fb0910150128l6861e7ecxb08812bfcb04f1e4@mail.gmail.com> Find the new edition with some bug fixes and enhancements 2009-10-15 Aneesh * Added clearscreen function. * Fixed : Once the high scores are cleared and tried to view the high scores, the IO error is shown. * Added Copying * Fixed : After clearing the high scores, and playing the game for a win.No highscores is shown. * Removed GNU/Linux specific code. Now multi platform. -- +91 903 755 72 73 For all hardware and software services, Computer assembling, Software Installation etc. My blog : http://xtenders.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: guess_me_1.0_beta_rc1.tar.bz2 Type: application/x-bzip2 Size: 84105 bytes Desc: not available URL: From zoltan.jose at gmail.com Fri Oct 16 08:30:30 2009 From: zoltan.jose at gmail.com (Timmy Jose) Date: Fri, 16 Oct 2009 12:00:30 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <200910161126.23170.lawgon@au-kbc.org> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <4AD8089D.20308@gmail.com> <200910161126.23170.lawgon@au-kbc.org> Message-ID: You mean 'Premier Book Shop'? Last time I checked, it was getting pretty crowded out by the watering hole next door ;-) On Fri, Oct 16, 2009 at 11:26 AM, Kenneth Gonsalves wrote: > On Friday 16 Oct 2009 11:16:05 am Amit Saha wrote: > > Zaki Manian wrote: > > > Where do people buy programming books in Bangalore? I've got an > > > International Kindle coming and I have an O'reilly Safari account so > > > those are my main work around. > > > > You could consider "Crossword" near M.G.Road or "Landmark" at Kormangla > > Forum mall as a repo of all kinds of books. > > > > Also, there is Ganguram on M.G.Road. Compared to the first two, you > > might get discounts here as well. > > I wonder if that other shop on Museum road is still there - with all the > books > piled on top of each other. If it is, go to Gangarams, choose your book, > and > then go to that shop, ask the owner for the book and get a discount. > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Bwahahahahahahahahahahahaha! -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Fri Oct 16 08:38:16 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 16 Oct 2009 12:08:16 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> Message-ID: <9963e56e0910152338o323fcf78g9652c258dc04e82@mail.gmail.com> On Fri, Oct 16, 2009 at 9:23 AM, Sriram Narayanan wrote: [..] > We can meet at TW this Sunday, no problem. Time? -- ~noufal http://nibrahim.net.in From abpillai at gmail.com Fri Oct 16 08:39:26 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Oct 2009 12:09:26 +0530 Subject: [BangPypers] [fsug-tvm] Re: Guess me python game In-Reply-To: <90c47fb0910150128l6861e7ecxb08812bfcb04f1e4@mail.gmail.com> References: <90c47fb0910130829g5299a136p9ea979bd73ea9e56@mail.gmail.com> <5acccff00910140133j41580138ua1b38abb6ff0872c@mail.gmail.com> <90c47fb0910150122s7b601749h14e6e911f0ffb07d@mail.gmail.com> <90c47fb0910150128l6861e7ecxb08812bfcb04f1e4@mail.gmail.com> Message-ID: <8548c5f30910152339l69b09dfapa9e303dfb03c3f07@mail.gmail.com> On Thu, Oct 15, 2009 at 1:58 PM, Aneesh A wrote: > Find the new edition with some bug fixes and enhancements > 2009-10-15 Aneesh > > * Added clearscreen function. > * Fixed : Once the high scores are cleared and tried to view the high > scores, > the IO error is shown. > * Added Copying > * Fixed : After clearing the high scores, and playing the game for a > win.No highscores is shown. > * Removed GNU/Linux specific code. Now multi platform. > Not bad at all.. Btw I suggest these fixes in next version. 1. Don't print the number on the screen before play starts :D 2. Give a range of numbers or the maximum number. It looks like 100, but you are not telling. Once you get it correct, I suggest you learn pyglet to do it as a "real game". There was a nice presentation of pyglet in PyCon India, which you can use as a guide. > > -- > +91 903 755 72 73 > > For all hardware and software services, Computer assembling, Software > Installation etc. > My blog : http://xtenders.blogspot.com/ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramdaz at gmail.com Fri Oct 16 08:48:48 2009 From: ramdaz at gmail.com (Ramdas S) Date: Fri, 16 Oct 2009 12:18:48 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <8548c5f30910152323lfb640f4qee7605ef9429837@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> <5ead360a0910151849g26285a40i4fa68d9762f41252@mail.gmail.com> <8548c5f30910152323lfb640f4qee7605ef9429837@mail.gmail.com> Message-ID: <6e38f9f00910152348k20042111ueb2b503cbf94cbee@mail.gmail.com> On Fri, Oct 16, 2009 at 11:53 AM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Fri, Oct 16, 2009 at 7:19 AM, Srijayanth Sridhar wrote: > >> >> >> On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves wrote: >> >>> On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: >>> > I brought up the same topic a few months ago I think. Basically if you >>> go >>> > to the Ruby forums >>> >>> no real programmer goes to forums - they use mailing lists and IRC >>> -- >>> >>> >> Kenneth, no diss, but if you can do something other than being a Draconian >> bastard and insulting people, then do it. I am out. This mailing list is >> full of grumpy old men. >> > > Please, I request you to stay. How many grumpy old men did you see in this > post. I can barely count one and a half (that is me) ;-) > > > >> >> Jayanth >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> Anand, This thread is getting longer, and is not related to Python. Please close this thread, and lets get on with other stuff > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Ramdas S +91 9342 583 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Fri Oct 16 08:47:13 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Fri, 16 Oct 2009 12:17:13 +0530 Subject: [BangPypers] Why Indians copy In-Reply-To: <8548c5f30910152331s63248fb5nc74290593e3d5a33@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C94@astserver3.akebonosoft.com> <8548c5f30910152331s63248fb5nc74290593e3d5a33@mail.gmail.com> Message-ID: <200910161217.13939.lawgon@au-kbc.org> On Friday 16 Oct 2009 12:01:15 pm Anand Balachandran Pillai wrote: > > I have had no choice than to copy though i disgusted it and felt guilt of > > it.i mean this from my heart. > > i was caught and infy sent me out. > > I pity your position but I can understand it. You clearly did not suit > their system > of cramming up and retching out. Anyway that is no way to learn coding. > > I am lucky I learned my first steps of programming in a company which > allowed > me to experiment and often fail, till I learned how to walk without > help... possibly the fact that he was caught and sent out was a blessing in disguise. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at thenilgiris.com Fri Oct 16 08:47:38 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Fri, 16 Oct 2009 12:17:38 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <200910161126.23170.lawgon@au-kbc.org> Message-ID: <200910161217.38469.lawgon@thenilgiris.com> On Friday 16 Oct 2009 12:00:30 pm Timmy Jose wrote: > You mean 'Premier Book Shop'? Last time I checked, it was getting pretty > crowded out by the watering hole next door ;-) yes - Premier. -- regards kg http://lawgon.livejournal.com From noufal at gmail.com Fri Oct 16 08:54:02 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 16 Oct 2009 12:24:02 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <1c4dc2780910152306j40d4d14fo64c503182f1a7508@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> <1c4dc2780910152006t3f5c5aaxa2decb4562358340@mail.gmail.com> <20091016111903.1c061f9d@anubis> <1c4dc2780910152306j40d4d14fo64c503182f1a7508@mail.gmail.com> Message-ID: <9963e56e0910152354o4a721583m9de6a1cb6ceab745@mail.gmail.com> On Fri, Oct 16, 2009 at 11:36 AM, Roshan Mathews wrote: [..] > The thing that put me off about the book (but I'd still recommend it > as an interesting read) was something he said in the early chapters > about BIll Joy or computers or hackers ... I don't remember > specifically 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 can't expect much > better. :) [..] I read the book around a month ago. It came across to me as a glorified readers digest feel good article with some statistics thrown in to make it a little spicy. -- ~noufal http://nibrahim.net.in From noufal at gmail.com Fri Oct 16 08:55:47 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 16 Oct 2009 12:25:47 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <200910160833.42496.lawgon@au-kbc.org> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <7c73a13a0910151952r667d8256x894492616051043d@mail.gmail.com> <200910160833.42496.lawgon@au-kbc.org> Message-ID: <9963e56e0910152355s7bd26e48rd10b80bf5bacb17e@mail.gmail.com> On Fri, Oct 16, 2009 at 8:33 AM, Kenneth Gonsalves wrote: [..] > it is cultural - India will only be free when youngsters are confident enough > to smoke/drink in front of their elders. This same attitude of 'respect' being > the crucial thing is everywhere. Ask questions? You lose respect by exposing > your ignorance. Take an unpopular stand - 'you will lose respect if you talk > rubbish like this'. Basically we worry too much about what other people think > of us. And do not worry enough about learning new things - even at the cost of > losing 'respect'. So you copy because you do not want to lose 'respect' by > failing - and if you do lose respect you hang yourself. In fact I once made a > remark about RMS, and was told 'at least respect him as an elder'. Why should > I? He is younger than me ;-)[..] While introspection and analysis of our 'culture' is a good thing. A forceful integration from the 'west' is probably not a good idea. I'm sure they have issues with their 'culture' as well. -- ~noufal http://nibrahim.net.in From nishith_n at yahoo.com Fri Oct 16 08:59:07 2009 From: nishith_n at yahoo.com (Nishith Nand) Date: Fri, 16 Oct 2009 12:29:07 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <4AD8089D.20308@gmail.com> <200910161126.23170.lawgon@au-kbc.org> Message-ID: <48f64c030910152359s7df7d71ax582468f54bf84216@mail.gmail.com> There's a Book Paradise in Jayanagar, they generally give good discounts. I generally order books from indiaplaza.in if I am able to find the LPE. Thanks and Regards, Nishith On Fri, Oct 16, 2009 at 12:00 PM, Timmy Jose wrote: > You mean 'Premier Book Shop'? Last time I checked, it was getting pretty > crowded out by the watering hole next door ;-) > > > On Fri, Oct 16, 2009 at 11:26 AM, Kenneth Gonsalves wrote: > >> On Friday 16 Oct 2009 11:16:05 am Amit Saha wrote: >> > Zaki Manian wrote: >> > > Where do people buy programming books in Bangalore? I've got an >> > > International Kindle coming and I have an O'reilly Safari account so >> > > those are my main work around. >> > >> > You could consider "Crossword" near M.G.Road or "Landmark" at Kormangla >> > Forum mall as a repo of all kinds of books. >> > >> > Also, there is Ganguram on M.G.Road. Compared to the first two, you >> > might get discounts here as well. >> >> I wonder if that other shop on Museum road is still there - with all the >> books >> piled on top of each other. If it is, go to Gangarams, choose your book, >> and >> then go to that shop, ask the owner for the book and get a discount. >> -- >> regards >> Kenneth Gonsalves >> Senior Project Officer >> NRC-FOSS >> http://nrcfosshelpline.in/web/ >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > Bwahahahahahahahahahahahaha! > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ashok.raavi at gmail.com Fri Oct 16 09:04:48 2009 From: ashok.raavi at gmail.com (ashok raavi) Date: Fri, 16 Oct 2009 12:34:48 +0530 Subject: [BangPypers] [fsug-tvm] Re: Guess me python game In-Reply-To: <8548c5f30910152339l69b09dfapa9e303dfb03c3f07@mail.gmail.com> References: <90c47fb0910130829g5299a136p9ea979bd73ea9e56@mail.gmail.com> <5acccff00910140133j41580138ua1b38abb6ff0872c@mail.gmail.com> <90c47fb0910150122s7b601749h14e6e911f0ffb07d@mail.gmail.com> <90c47fb0910150128l6861e7ecxb08812bfcb04f1e4@mail.gmail.com> <8548c5f30910152339l69b09dfapa9e303dfb03c3f07@mail.gmail.com> Message-ID: <2aa122da0910160004w55c14655meb5927280362755@mail.gmail.com> On Fri, Oct 16, 2009 at 12:09 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Thu, Oct 15, 2009 at 1:58 PM, Aneesh A wrote: > >> Find the new edition with some bug fixes and enhancements >> 2009-10-15 Aneesh >> >> * Added clearscreen function. >> * Fixed : Once the high scores are cleared and tried to view the high >> scores, >> the IO error is shown. >> * Added Copying >> * Fixed : After clearing the high scores, and playing the game for a >> win.No highscores is shown. >> * Removed GNU/Linux specific code. Now multi platform. >> > > Not bad at all.. Btw I suggest these fixes in next version. > > 1. Don't print the number on the screen before play starts :D > 2. Give a range of numbers or the maximum number. It looks like > 100, but you are not telling. > > Once you get it correct, I suggest you learn pyglet to do it > as a "real game". There was a nice presentation of pyglet in > PyCon India, which you can use as a guide. > line 116, highscore = [score, name, i + 1, getlevel(chance)] has to be highscore = [score, name, i, getlevel(chance)] you are increasing the chance even when the guess the correct. > > >> >> -- >> +91 903 755 72 73 >> >> For all hardware and software services, Computer assembling, Software >> Installation etc. >> My blog : http://xtenders.blogspot.com/ >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- ashok raavi -------------- next part -------------- An HTML attachment was scrubbed... URL: From punchagan at gmail.com Fri Oct 16 09:08:56 2009 From: punchagan at gmail.com (Puneeth Chaganti) Date: Fri, 16 Oct 2009 12:38:56 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <200910161217.38469.lawgon@thenilgiris.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <200910161126.23170.lawgon@au-kbc.org> <200910161217.38469.lawgon@thenilgiris.com> Message-ID: <604ca1b20910160008g3c7ed22dmdb20335fe90765f1@mail.gmail.com> On Fri, Oct 16, 2009 at 12:17 PM, Kenneth Gonsalves wrote: > On Friday 16 Oct 2009 12:00:30 pm Timmy Jose wrote: >> You mean 'Premier Book Shop'? Last time I checked, it was getting pretty >> crowded out by the watering hole next door ;-) > > yes - Premier. It's been shutdown in Feb/March this year. -- ~punchagan From hiddenharmony at gmail.com Fri Oct 16 09:11:58 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Fri, 16 Oct 2009 12:41:58 +0530 Subject: [BangPypers] Why Indians copy In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8C94@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C94@astserver3.akebonosoft.com> Message-ID: <91bea30d0910160011t210d0de3s85ac4c137cf380eb@mail.gmail.com> On Thu, Oct 15, 2009 at 3:59 PM, Srinivas Reddy Thatiparthy wrote: >>Why? That's probably the answer you're looking for. > > That was?a ?big story noufal.To tell in short, I couldn't understand what > they are teaching(in training)?me? > > they taught entire java in 5 days and? expected to do programming by the end > of it which i couldn't.OOPS was a big ghost to me back then. > > I have had no choice than to copy though i disgusted it and felt guilt of > it.i mean this from my heart. > > ?i was caught? and infy sent me out. Heavens blessed you :) regards Vivek -- The hidden harmony is better than the obvious!! From sridhar.ratna at gmail.com Fri Oct 16 09:24:39 2009 From: sridhar.ratna at gmail.com (srid) Date: Fri, 16 Oct 2009 12:54:39 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> Message-ID: <7c73a13a0910160024y74dc104cr825170fb4ce9a1b7@mail.gmail.com> On Thu, Oct 15, 2009 at 4:50 PM, Srinivas Reddy Thatiparthy wrote: > Just completed reading the book, "The Coders At Work",It's just an excellent > book and > It's great to see behind the eye balls of programmers. > Can any one?suggest me some other books of such kind? You may like 'Dreaming in Code' which writes about the entire development process of Chandler, the open source project. The mistakes in it and such. -srid From sharaths at tarangtech.com Fri Oct 16 09:28:17 2009 From: sharaths at tarangtech.com (Sharath Sama) Date: Fri, 16 Oct 2009 12:58:17 +0530 Subject: [BangPypers] Query regarding Weekend Meeting References: Message-ID: <20091016073752.DC1DA28652@mail.tarangtech.com> Hi Friends, Thanks for the information. I will join in this Sunday's meeting. Regards, Sharath sama > Date: Fri, 16 Oct 2009 08:51:24 +0530 > From: Anand Balachandran Pillai > To: Bangalore Python Users Group - India > Subject: Re: [BangPypers] Query regarding Weekend Meeting > Message-ID: > <8548c5f30910152021n33ee87c1l53e0889864a8f709 at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi Sharath, > > On Thu, Oct 15, 2009 at 5:58 PM, Vinayak Hegde wrote: > >> On Thu, Oct 15, 2009 at 3:12 PM, Sharath Sama >> wrote: >> > Hi, >> > >> > My name is Sharath Sama. I am working on python. I am new to this >> > group.I >> > have a query regarding meetings >> > Who can attend meetings, What is the process to attend. Please guide >> > me. >> > >> > Regards, >> > Sharath Sama >> >> Anyone can attend a meeting. I think there is one scheduled this >> weekend. When starting a new thread don't do reply all to the list or >> digest but start a fresh email thread in your client. That will make >> it easier for people to answer you rather than getting flamed. >> > > If you are in the city for the week-end, I suggest you attend this > week-end's > meeting. You can see how the meetings function and also get to network > with other Pythonistas in Bangalore. > > > >> >> -- Vinayak >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > Regards, > > -- > --Anand From abpillai at gmail.com Fri Oct 16 09:40:26 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 16 Oct 2009 13:10:26 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <6e38f9f00910152220u209cf547u3c92c1cd71b9d330@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <8548c5f30910152120u4b18354araba3e6037c68adb7@mail.gmail.com> <6e38f9f00910152220u209cf547u3c92c1cd71b9d330@mail.gmail.com> Message-ID: <8548c5f30910160040s16e08849lf2d067af060f4b2b@mail.gmail.com> On Fri, Oct 16, 2009 at 10:50 AM, Ramdas S wrote: > > > On Fri, Oct 16, 2009 at 9:50 AM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > >> >> >> On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan wrote: >> >>> On 10/16/09, Sriram Narayanan wrote: >>> > >>> > We can meet at TW this Sunday, no problem. >>> >>> One other thing that we'd discussed the last weekend was how those who >>> are Python savvy can be a part of the Belenix developer community. >>> >>> I'd like to showcase some of Belenix - especially the ZFS file system, >>> and we could all discuss some of the tools that are needed for such a >>> platform (like storage management software, network administration >>> tools, etc). >>> >> >> Great, looking forward to this, especially on Python tools to >> inspect/manage ZFS, if any. >> > > Sriram, If it's not an issue can you also bring some latest Belenix CDs. > It'll save some of us bandwidth > +1. I would give it a try, if for nothing only to learn ZFS.... > >>> > >>> > -- Sriram >>> > >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >> >> >> >> -- >> --Anand >> >> >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > Ramdas S > +91 9342 583 065 > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From srinivas_thatiparthy at akebonosoft.com Fri Oct 16 09:34:58 2009 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Fri, 16 Oct 2009 13:04:58 +0530 Subject: [BangPypers] Sudoku solver Message-ID: <4EF2BF691B890546B2694C99A2852F0C01BB8D55@astserver3.akebonosoft.com> thanks AB and Kenneth. Yeah, it was a blessing in disguise.I am far far better than my Infy friends in programming :) I wrote a program to solve the sudoku puzzle . This is my own program,i never copied and i didn't even see somebody's logic even in other programming languages. :) Comments,improvements are welcome!!! http://2.bp.blogspot.com/_ni5lhkmn0nQ/StghQIhf0bI/AAAAAAAAAAM/txjMQic_9l U/s1600-h/2009-10-16_125017.jpg http://xorola.wordpress.com/2009/07/27/a-sudoku-solver-program-in-python / Regards, Srinivas Reddy Thatiparthy. -------------- I hear and I forget. I see and I remember. I do and I understand. - Confucius. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vsapre80 at gmail.com Fri Oct 16 09:47:50 2009 From: vsapre80 at gmail.com (Vishal) Date: Fri, 16 Oct 2009 13:17:50 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: <7c73a13a0910160024y74dc104cr825170fb4ce9a1b7@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <7c73a13a0910160024y74dc104cr825170fb4ce9a1b7@mail.gmail.com> Message-ID: Pardon me because I am going a little off from the main topic of this thread, but could not resist sending this across... Having said about Pragmatic Programmer, I was amazed to find that the pragmatic bookshelf which contains so much about agile development and dynamic languages...has nothing for Python. May be because Python is by nature Pragmatic !!! http://rapd.wordpress.com/category/pragmatic-programming/ http://www.displayofpatience.net/2009/04/the-zen-of-python/ http://blip.tv/file/2081379/ (The [lack of] design patterns in Python - because they are built into the language !!!) Enjoy, Vishal Sapre On Fri, Oct 16, 2009 at 12:54 PM, srid wrote: > On Thu, Oct 15, 2009 at 4:50 PM, Srinivas Reddy Thatiparthy > wrote: > > Just completed reading the book, "The Coders At Work",It's just an > excellent > > book and > > It's great to see behind the eye balls of programmers. > > Can any one suggest me some other books of such kind? > > You may like 'Dreaming in Code' which writes about the entire > development process of Chandler, the open source project. The mistakes > in it and such. > > -srid > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vsapre80 at gmail.com Fri Oct 16 09:49:39 2009 From: vsapre80 at gmail.com (Vishal) Date: Fri, 16 Oct 2009 13:19:39 +0530 Subject: [BangPypers] Suggest me a book In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8CA8@astserver3.akebonosoft.com> <7c73a13a0910160024y74dc104cr825170fb4ce9a1b7@mail.gmail.com> Message-ID: And this one: http://stackoverflow.com/questions/228181/zen-of-python And, really sorry if the second link and its choice of words...were offending. Vishal On Fri, Oct 16, 2009 at 1:17 PM, Vishal wrote: > Pardon me because I am going a little off from the main topic of this > thread, but could not resist sending this across... > > Having said about Pragmatic Programmer, I was amazed to find that the > pragmatic bookshelf which contains so much about agile development and > dynamic languages...has nothing for Python. > May be because Python is by nature Pragmatic !!! > http://rapd.wordpress.com/category/pragmatic-programming/ > > http://www.displayofpatience.net/2009/04/the-zen-of-python/ > > http://blip.tv/file/2081379/ (The [lack of] design patterns in Python - > because they are built into the language !!!) > > Enjoy, > Vishal Sapre > > > On Fri, Oct 16, 2009 at 12:54 PM, srid wrote: > >> On Thu, Oct 15, 2009 at 4:50 PM, Srinivas Reddy Thatiparthy >> wrote: >> > Just completed reading the book, "The Coders At Work",It's just an >> excellent >> > book and >> > It's great to see behind the eye balls of programmers. >> > Can any one suggest me some other books of such kind? >> >> You may like 'Dreaming in Code' which writes about the entire >> development process of Chandler, the open source project. The mistakes >> in it and such. >> >> -srid >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > -- Thanks and best regards, Vishal Sapre --- "So say...Day by day, in every way, I am getting better, better and better !!!" "A Strong and Positive attitude creates more miracles than anything else. Because...Life is 10% how you make it, and 90% how you take it" "Diamond is another piece of coal that did well under pressure? "Happiness keeps u Sweet, Trials keep u Strong, Sorrow keeps u Human, Failure Keeps u Humble, Success keeps u Glowing, But only God Keeps u Going.....Keep Going....." -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Fri Oct 16 11:30:24 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Fri, 16 Oct 2009 15:00:24 +0530 Subject: [BangPypers] dabo Message-ID: <200910161500.24350.lawgon@au-kbc.org> hi, thought I would take a break from the web and refresh my gui skills - came across dabo - anyone got anything to say about it? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From murty_murty at yahoo.com Fri Oct 16 12:15:08 2009 From: murty_murty at yahoo.com (M.V.Ramana Murty) Date: Fri, 16 Oct 2009 03:15:08 -0700 (PDT) Subject: [BangPypers] Why do indians copy? In-Reply-To: <622dd64f5105fd455dd8ab521b1cbb25@preisshare.net> Message-ID: <910820.87038.qm@web52107.mail.re2.yahoo.com> David Lyon, Many thanks for the kind reply from Australia. I fully agree with you. I think copying, like corruption, is every where now and in the past, will be there in future also. Copying per se is not a problem, but making it appear once achievement is a problem ( many scientific inventions have this controversy of copying, idea stealing... Form Markoni to Einstein.) and by doing so cheating one to himself is the problem. I am ok with copying entire codebase of an application and understand it thoroughly but one should keep improving it fast and make it more powerful and elegant is the thing to do ( I am not referring to Microsoft :-). This is tantamount to Innovation (many confuse invention to innovation.. innovation is incremental improvement from and earlier invention, say the wheel ?).Most of the innovations are black swans, came to us by luck and from there great guys have taken to next level.? So, Copying is not a problem, stopping there is a problem, cheating himself and others with the copy is a regressive. ? Thanks and Regards MVR.Murty --- On Fri, 10/16/09, David Lyon wrote: From: David Lyon Subject: Re: [BangPypers] Why do indians copy? To: "Bangalore Python Users Group - India" Date: Friday, October 16, 2009, 8:32 AM On Fri, 16 Oct 2009 08:22:25 +0530, srid wrote: > I wonder if all this can be traced back to India's education system: > > "Modern education in India is often criticized for being based on rote > learning rather than problem solving. BusinessWeek denigrates the > Indian curriculum saying it revolves around rote learning.[67] and > ExpressIndia suggests that students are focused on cramming.[68]" > > http://en.wikipedia.org/wiki/Education_in_india#Issues > > But Ghose raises an important point about it also being a cultural > issue. Heh, wish there was a well-researched Wikipedia article on this > topic! Srid, I'm not Indian - but... Every other race/nation copies.. Western civilisation is built on inventing and copying... Europe invented the printing press - what for? mass copying of ideas. You can't get a more blatent copy machine than that. Western civilisation could provide india with toilet paper for every citizen in india simply from how much we photo-copy each year. If you have any issue with Indian behaviour, it shouldn't be about duplication, just recognition. Outside India, everybody knows Buddha, Gandhi, even Shah Rukh Khan. Ok - answer this important question (I am Australian): Which country has the Indian cricket team copied as a base for it's spin bowling skills? I bet you can't answer... Because they didn't copy anybody.. they worked it out themselves... David _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers -------------- next part -------------- An HTML attachment was scrubbed... URL: From yuvipanda at gmail.com Fri Oct 16 12:37:48 2009 From: yuvipanda at gmail.com (Yuvi Panda) Date: Fri, 16 Oct 2009 16:07:48 +0530 Subject: [BangPypers] MongoDB Users anyone? Message-ID: <45ec909c0910160337l7e93e346jefb00b87c77a7126@mail.gmail.com> Anyone has any experience with MongoDB? I've been checking it out for the past hour or so and it seems pretty darn good. Personal painful experiences? A Google Search for MongoDB sucks doesn't turn up anything useful, so I'm not sure if this one is used by anyone other than jobless college kids like me? -- Yuvi Panda T http://yuvi.in/blog -------------- next part -------------- An HTML attachment was scrubbed... URL: From zaki at manian.org Fri Oct 16 12:54:29 2009 From: zaki at manian.org (Zaki Manian) Date: Fri, 16 Oct 2009 16:24:29 +0530 Subject: [BangPypers] MongoDB Users anyone? In-Reply-To: <45ec909c0910160337l7e93e346jefb00b87c77a7126@mail.gmail.com> References: <45ec909c0910160337l7e93e346jefb00b87c77a7126@mail.gmail.com> Message-ID: I'm very interested in the whole NoSQL movement. I've looked at MongoDB. It seems like a very cool implementation. Union Square Ventures just made an investment in hosted MongoDB enivornment http://www.10gen.com/ NoSQL databases seem to be differentiating among different use cases. Riak and Cassandra for extremely large data. MongoDB and Tokyo Cabinet for moderate data sizes and lots of speed. CouchDB for the unique online/offline replication feature. I would think Mongo DB would be very useful in any application where you want to do lots of queries to build every view such as any newfeed style feature. One big difference from the SQL databases is that all your data manipulation needs to be done in your application logic. In SQL databases, you can rely on the database for sort, filter, join. US number: +1 650-862-5992 Indian Number:+919945111824 On Fri, Oct 16, 2009 at 4:07 PM, Yuvi Panda wrote: > Anyone has any experience with MongoDB? I've been checking it out for the > past hour or so and it seems pretty darn good. Personal painful experiences? > A Google Search for MongoDB sucks doesn't turn up anything useful, so I'm > not sure if this one is used by anyone other than jobless college kids like > me? > > -- > Yuvi Panda T > http://yuvi.in/blog > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Fri Oct 16 13:09:08 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 16 Oct 2009 16:39:08 +0530 Subject: [BangPypers] Video uploads Message-ID: <9963e56e0910160409k37a60b94j1adc80d4b1400dc6@mail.gmail.com> Can the folks who took the conference DVDs from the last user group meeting please upload them if the audio quality is good? If you need the username/password, please contact me offlist. Thanks. -- ~noufal http://nibrahim.net.in From kunalkantsen at gmail.com Fri Oct 16 13:33:16 2009 From: kunalkantsen at gmail.com (kunalkant sen) Date: Fri, 16 Oct 2009 17:03:16 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <8548c5f30910160040s16e08849lf2d067af060f4b2b@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <8548c5f30910152120u4b18354araba3e6037c68adb7@mail.gmail.com> <6e38f9f00910152220u209cf547u3c92c1cd71b9d330@mail.gmail.com> <8548c5f30910160040s16e08849lf2d067af060f4b2b@mail.gmail.com> Message-ID: <63eb47a20910160433h7f2c73f4u6e63ac9b5d50ac8a@mail.gmail.com> Sounds Interesting. I will be there to learn more from you guys. Kunal On Fri, Oct 16, 2009 at 1:10 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Fri, Oct 16, 2009 at 10:50 AM, Ramdas S wrote: > >> >> >> On Fri, Oct 16, 2009 at 9:50 AM, Anand Balachandran Pillai < >> abpillai at gmail.com> wrote: >> >>> >>> >>> On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan wrote: >>> >>>> On 10/16/09, Sriram Narayanan wrote: >>>> > >>>> > We can meet at TW this Sunday, no problem. >>>> >>>> One other thing that we'd discussed the last weekend was how those who >>>> are Python savvy can be a part of the Belenix developer community. >>>> >>>> I'd like to showcase some of Belenix - especially the ZFS file system, >>>> and we could all discuss some of the tools that are needed for such a >>>> platform (like storage management software, network administration >>>> tools, etc). >>>> >>> >>> Great, looking forward to this, especially on Python tools to >>> inspect/manage ZFS, if any. >>> >> >> Sriram, If it's not an issue can you also bring some latest Belenix CDs. >> It'll save some of us bandwidth >> > > +1. I would give it a try, if for nothing only to learn ZFS.... > > >> >>>> > >>>> > -- Sriram >>>> > >>>> _______________________________________________ >>>> BangPypers mailing list >>>> BangPypers at python.org >>>> http://mail.python.org/mailman/listinfo/bangpypers >>>> >>> >>> >>> >>> -- >>> --Anand >>> >>> >>> >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> >> -- >> Ramdas S >> +91 9342 583 065 >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Fri Oct 16 13:45:10 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 16 Oct 2009 17:15:10 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <63eb47a20910160433h7f2c73f4u6e63ac9b5d50ac8a@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <8548c5f30910152120u4b18354araba3e6037c68adb7@mail.gmail.com> <6e38f9f00910152220u209cf547u3c92c1cd71b9d330@mail.gmail.com> <8548c5f30910160040s16e08849lf2d067af060f4b2b@mail.gmail.com> <63eb47a20910160433h7f2c73f4u6e63ac9b5d50ac8a@mail.gmail.com> Message-ID: <9963e56e0910160445q795af533sb55b7e57e5c443b0@mail.gmail.com> 3 to 5 isn't it? -- ~noufal http://nibrahim.net.in From ramdaz at gmail.com Fri Oct 16 15:05:25 2009 From: ramdaz at gmail.com (Ramdas S) Date: Fri, 16 Oct 2009 18:35:25 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <9963e56e0910160445q795af533sb55b7e57e5c443b0@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <8548c5f30910152120u4b18354araba3e6037c68adb7@mail.gmail.com> <6e38f9f00910152220u209cf547u3c92c1cd71b9d330@mail.gmail.com> <8548c5f30910160040s16e08849lf2d067af060f4b2b@mail.gmail.com> <63eb47a20910160433h7f2c73f4u6e63ac9b5d50ac8a@mail.gmail.com> <9963e56e0910160445q795af533sb55b7e57e5c443b0@mail.gmail.com> Message-ID: <6e38f9f00910160605j441cd5b7s338b4118aa6f70a6@mail.gmail.com> yes, it is On Fri, Oct 16, 2009 at 5:15 PM, Noufal Ibrahim wrote: > 3 to 5 isn't it? > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Ramdas S +91 9342 583 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Fri Oct 16 16:39:05 2009 From: carl at personnelware.com (Carl Karsten) Date: Fri, 16 Oct 2009 09:39:05 -0500 Subject: [BangPypers] Video streaming and video recording of the meet In-Reply-To: <549053140910160736w1357211pe4286af4ebf9bdad@mail.gmail.com> References: <49977f270910152122j41aef6a4h9a47cf7a94c6d4d3@mail.gmail.com> <549053140910160725g5b677b5dx2ce07ff40ce4fe55@mail.gmail.com> <549053140910160736w1357211pe4286af4ebf9bdad@mail.gmail.com> Message-ID: <549053140910160739w2a8e4d93h87d6bdd6df0a9dcd@mail.gmail.com> http://wiki.debconf.org/wiki?title=Category:DebConf8/Videoteam&oldid=6093 Click around, they have done it well and documented verry well. I can answer questions. On Oct 15, 2009 11:22 PM, "Sriram Narayanan" wrote: Folks: Let's assume that we have good bandwidth to stream video. Let me know what I need to set up here, and I'll see if I can have it ready by Sunday. We can also test all this before the meet. -- Sriram _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers -------------- next part -------------- An HTML attachment was scrubbed... URL: From rajeev.sebastian at gmail.com Fri Oct 16 18:28:47 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Fri, 16 Oct 2009 21:58:47 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> Message-ID: <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan wrote: > On 10/16/09, Sriram Narayanan wrote: >> >> We can meet at TW this Sunday, no problem. > > One other thing that we'd discussed the last weekend was how those who > are Python savvy can be a part of the Belenix developer community. Does it use python the way Pardus uses it ? Like the init system, service manager, package manager, etc. Regards Rajeev J Sebastian From sriramnrn at gmail.com Fri Oct 16 18:58:58 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Fri, 16 Oct 2009 22:28:58 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910150115u42f36dd1lb458c4b10cef6ca7@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> Message-ID: <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> On Fri, Oct 16, 2009 at 9:58 PM, Rajeev J Sebastian wrote: > On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan wrote: >> On 10/16/09, Sriram Narayanan wrote: >>> >>> We can meet at TW this Sunday, no problem. >> >> One other thing that we'd discussed the last weekend was how those who >> are Python savvy can be a part of the Belenix developer community. > > Does it use python the way Pardus uses it ? Like the init system, > service manager, package manager, etc. Err.. No. Belenix is a distro that is based on the opensolaris ON (operating system + network), uses KDE, aims to be an appealing desktop to the user and to the developer, and has been the basis of Sun;s OpenSolaris distro. We're working toward using a free toolchain, and apart from the kernel and Firefox, everything else on Belenix has been built using GCC 4.4.1. Since we're a KDE based distro, we're users of the QT framework. At the moment, KDE on Belenix is not Solaris - aware. That is, KDE components do not have Solaris specific functionality such as management of file systems, UI for the seriously amazing networking stack, support for Zones and RBAC, etc. From a service side, there is a lack of web based management /REST interfaces to administering the system. Interesting and useful tasks would be to create management interfaces for file systems, network stacks, observability, and similar tools that would make the life of sysadmins easier. These are projects that we as BangPypers can undertake, and learn a lot in the process. -- Sriram From ramdaz at gmail.com Fri Oct 16 19:16:12 2009 From: ramdaz at gmail.com (Ramdas S) Date: Fri, 16 Oct 2009 22:46:12 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> Message-ID: <6e38f9f00910161016wfa7b4a3re6caa25898e76ca@mail.gmail.com> On Fri, Oct 16, 2009 at 10:28 PM, Sriram Narayanan wrote: > On Fri, Oct 16, 2009 at 9:58 PM, Rajeev J Sebastian > wrote: > > On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan > wrote: > >> On 10/16/09, Sriram Narayanan wrote: > >>> > >>> We can meet at TW this Sunday, no problem. > >> > >> One other thing that we'd discussed the last weekend was how those who > >> are Python savvy can be a part of the Belenix developer community. > > > > Does it use python the way Pardus uses it ? Like the init system, > > service manager, package manager, etc. > > Err.. No. Belenix is a distro that is based on the opensolaris ON > (operating system + network), uses KDE, aims to be an appealing > desktop to the user and to the developer, and has been the basis of > Sun;s OpenSolaris distro. We're working toward using a free toolchain, > and apart from the kernel and Firefox, everything else on Belenix has > been built using GCC 4.4.1. > > Since we're a KDE based distro, we're users of the QT framework. At > the moment, KDE on Belenix is not Solaris - aware. That is, KDE > components do not have Solaris specific functionality such as > management of file systems, UI for the seriously amazing networking > stack, support for Zones and RBAC, etc. From a service side, there is > a lack of web based management /REST interfaces to administering the > system. Interesting and useful tasks would be to create management > interfaces for file systems, network stacks, observability, and > similar tools that would make the life of sysadmins easier. > > These are projects that we as BangPypers can undertake, and learn a > lot in the process. > > -- Sriram > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > What abt LiveCDs? -- Ramdas S +91 9342 583 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Fri Oct 16 19:38:19 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 16 Oct 2009 23:08:19 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <6e38f9f00910161016wfa7b4a3re6caa25898e76ca@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <6e38f9f00910161016wfa7b4a3re6caa25898e76ca@mail.gmail.com> Message-ID: <9963e56e0910161038i1dfa6c32u7c08471a128eeb2@mail.gmail.com> On Fri, Oct 16, 2009 at 10:46 PM, Ramdas S wrote:[..] > What abt LiveCDs?[..] Even a CD image which we can copy over would be cool. -- ~noufal http://nibrahim.net.in From rajeev.sebastian at gmail.com Fri Oct 16 19:49:55 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Fri, 16 Oct 2009 23:19:55 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <6e38f9f00910150136h26bfe4afnb3efa96bcad1664@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> Message-ID: <79a035420910161049x1c94e183uc9744312925833d2@mail.gmail.com> On Fri, Oct 16, 2009 at 10:28 PM, Sriram Narayanan wrote: > On Fri, Oct 16, 2009 at 9:58 PM, Rajeev J Sebastian > wrote: >> On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan wrote: >>> On 10/16/09, Sriram Narayanan wrote: >>>> >>>> We can meet at TW this Sunday, no problem. >>> >>> One other thing that we'd discussed the last weekend was how those who >>> are Python savvy can be a part of the Belenix developer community. >> >> Does it use python the way Pardus uses it ? Like the init system, >> service manager, package manager, etc. > > Err.. No. Belenix is a distro that is based on the opensolaris ON > (operating system + network), uses KDE, aims to be an appealing > desktop to the user and to the developer, and has been the basis of > Sun;s OpenSolaris distro. We're working toward using a free toolchain, > and apart from the kernel and Firefox, everything else on Belenix has > been built using GCC 4.4.1. > > Since we're a KDE based distro, we're users of the QT framework. At > the moment, KDE on Belenix is not Solaris - aware. That is, KDE > components do not have Solaris specific functionality such as > management of file systems, UI for the seriously amazing networking > stack, support for Zones and RBAC, etc. From a service side, there is > a lack of web based management /REST interfaces to administering the > system. Interesting and useful tasks would be to create management > interfaces for file systems, network stacks, observability, and > similar tools that would make the life of sysadmins easier. > > These are projects that we as BangPypers can undertake, and learn a > lot in the process. Blah blah blah ... yes I know its Solaris etc. Question is, are there are specific Belenix components written in Python, as in Pardus Linux which uses Python extensively ? Or was that a call to developers to create new tools using python ? Regards Rajeev J Sebastian PS: You wrote above re the management tools; Pardus has a tool thats being developed and used at Turkey's Ministry of Defence to administrate Pardus desktops, servers and networks (its called Ahenk, developed in Python and available in the pardus svn). From ramdaz at gmail.com Fri Oct 16 20:20:27 2009 From: ramdaz at gmail.com (Ramdas S) Date: Fri, 16 Oct 2009 23:50:27 +0530 Subject: [BangPypers] Unstructured data and python Message-ID: <6e38f9f00910161120o5253e903s95c6f7793fcba659@mail.gmail.com> Has anyone worked/seen any project which involves migrating unstructured data, mostly text files to a reasonably indexed databas preferably written in Python or has Python APIs. I am even ok if its commercial project. FOSS will be good...... -- Ramdas S +91 9342 583 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sriramnrn at gmail.com Fri Oct 16 20:29:49 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Fri, 16 Oct 2009 23:59:49 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <79a035420910161049x1c94e183uc9744312925833d2@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <200910151420.37341.lawgon@au-kbc.org> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <79a035420910161049x1c94e183uc9744312925833d2@mail.gmail.com> Message-ID: <49977f270910161129h76d40311xb45416f09cbd043c@mail.gmail.com> On Fri, Oct 16, 2009 at 11:19 PM, Rajeev J Sebastian wrote: > On Fri, Oct 16, 2009 at 10:28 PM, Sriram Narayanan wrote: >> On Fri, Oct 16, 2009 at 9:58 PM, Rajeev J Sebastian >> wrote: >>> On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan wrote: >>>> On 10/16/09, Sriram Narayanan wrote: >>>>> >>>>> We can meet at TW this Sunday, no problem. >>>> >>>> One other thing that we'd discussed the last weekend was how those who >>>> are Python savvy can be a part of the Belenix developer community. >>> >>> Does it use python the way Pardus uses it ? Like the init system, >>> service manager, package manager, etc. >> >> Err.. No. Belenix is a distro that is based on the opensolaris ON >> (operating system + network), uses KDE, aims to be an appealing >> desktop to the user and to the developer, and has been the basis of >> Sun;s OpenSolaris distro. We're working toward using a free toolchain, >> and apart from the kernel and Firefox, everything else on Belenix has >> been built using GCC 4.4.1. >> >> Since we're a KDE based distro, we're users of the QT framework. At >> the moment, KDE on Belenix is not Solaris - aware. That is, KDE >> components do not have Solaris specific functionality such as >> management of file systems, UI for the seriously amazing networking >> stack, support for Zones and RBAC, etc. From a service side, there is >> a lack of web based management /REST interfaces to administering the >> system. Interesting and useful tasks would be to create management >> interfaces for file systems, network stacks, observability, and >> similar tools that would make the life of sysadmins easier. >> >> These are projects that we as BangPypers can undertake, and learn a >> lot in the process. > > Blah blah blah ... yes I know its Solaris etc. My response was to the larger community, and not to just you :) > > Question is, are there are specific Belenix components written in > Python, as in Pardus Linux which uses Python extensively ? Or was that > a call to developers to create new tools using python ? > There is our stop gap package manager which we wrote since we needed to move away from something called pkg-get. We're now considering using rpm5 as our package format, with the smart package manager being the package manager of choice. When we'd last met at Thoughtworks last weekend, I'd mentioned that the Belenix project would > Regards > Rajeev J Sebastian > > PS: You wrote above re the management tools; Pardus has a tool thats > being developed and used at Turkey's Ministry of Defence to > administrate Pardus desktops, servers and networks (its called Ahenk, > developed in Python and available in the pardus svn). After I responded to you previously, I've been reading more about Pardus. At present, Belenix uses what Solaris has for service management - SMF. Apart from the temporary package manager that I wrote about, we've not written anything else using Python for Belenix. We're either busy with work, or with porting and testing software packages to Belenix. The lead Belenix developer has been working on porting something called Func to Belenix (https://fedorahosted.org/func/). I myself use puppet (ruby based) at work. I will read more on Ahenk tonight. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From sriramnrn at gmail.com Fri Oct 16 20:30:37 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sat, 17 Oct 2009 00:00:37 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <9963e56e0910161038i1dfa6c32u7c08471a128eeb2@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <6e38f9f00910161016wfa7b4a3re6caa25898e76ca@mail.gmail.com> <9963e56e0910161038i1dfa6c32u7c08471a128eeb2@mail.gmail.com> Message-ID: <49977f270910161130p45e693dbh35bccaefb1417a16@mail.gmail.com> On Fri, Oct 16, 2009 at 11:08 PM, Noufal Ibrahim wrote: > On Fri, Oct 16, 2009 at 10:46 PM, Ramdas S wrote:[..] > >> What abt LiveCDs?[..] > > Even a CD image which we can copy over would be cool. > I'll have some CDs and Virtual Box images around. In case anyone wants to have Belenix installed onto their laptop, let me know. > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From ctrachte at gmail.com Fri Oct 16 20:31:13 2009 From: ctrachte at gmail.com (Carl Trachte) Date: Fri, 16 Oct 2009 12:31:13 -0600 Subject: [BangPypers] Unstructured data and python In-Reply-To: <6e38f9f00910161120o5253e903s95c6f7793fcba659@mail.gmail.com> References: <6e38f9f00910161120o5253e903s95c6f7793fcba659@mail.gmail.com> Message-ID: <426ada670910161131j1e98a690v922e090d8a049bb4@mail.gmail.com> On 10/16/09, Ramdas S wrote: > Has anyone worked/seen any project which involves migrating unstructured > data, mostly text files to a reasonably indexed databas preferably written > in Python or has Python APIs. > I am even ok if its commercial project. > FWIW, when I worked in a Microsoft SQL environment, I used DTS for SQL 7 or 2000 with the win32com modules and SSIS for with IronPython for later versions. It was usually a standard process of glueing together a bunch of data in a csv file with Python, then automating the DTS or SSIS program to dump the data to a database table or series of tables. You could probably do something similar with MySQL or Postgres. The hard part was always writing the Python to do the situation-specific initial crunch of the data. Carl T. From rajeev.sebastian at gmail.com Fri Oct 16 20:36:18 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Sat, 17 Oct 2009 00:06:18 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910161129h76d40311xb45416f09cbd043c@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <65da62240910150213u75fdc9ddrbdb8e51339e9ab4e@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <79a035420910161049x1c94e183uc9744312925833d2@mail.gmail.com> <49977f270910161129h76d40311xb45416f09cbd043c@mail.gmail.com> Message-ID: <79a035420910161136g6e10e79fj6b93e5ef2b426eda@mail.gmail.com> On Fri, Oct 16, 2009 at 11:59 PM, Sriram Narayanan wrote: > On Fri, Oct 16, 2009 at 11:19 PM, Rajeev J Sebastian > wrote: >> On Fri, Oct 16, 2009 at 10:28 PM, Sriram Narayanan wrote: >>> On Fri, Oct 16, 2009 at 9:58 PM, Rajeev J Sebastian >>> wrote: >>>> On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan wrote: >>>>> On 10/16/09, Sriram Narayanan wrote: >>>>>> >>>>>> We can meet at TW this Sunday, no problem. >>>>> >>>>> One other thing that we'd discussed the last weekend was how those who >>>>> are Python savvy can be a part of the Belenix developer community. >>>> >>>> Does it use python the way Pardus uses it ? Like the init system, >>>> service manager, package manager, etc. >>> >>> Err.. No. Belenix is a distro that is based on the opensolaris ON >> >> Blah blah blah ... yes I know its Solaris etc. > > My response was to the larger community, and not to just you :) That's probably why you started your response with an "Err ... No" right ? >> >> Question is, are there are specific Belenix components written in >> Python, as in Pardus Linux which uses Python extensively ? Or was that >> a call to developers to create new tools using python ? >> > > There is our stop gap package manager which we wrote since we needed > to move away from something called pkg-get. We're now considering > using rpm5 as our package format, with the smart package manager being > the package manager of choice. > > When we'd last met at Thoughtworks last weekend, I'd mentioned that > the Belenix project would Would what ? > After I responded to you previously, I've been reading more about Pardus. > At present, Belenix uses what Solaris has for service management - > SMF. Apart from the temporary package manager that I wrote about, > we've not written anything else using Python for Belenix. We're either > busy with work, or with porting and testing software packages to > Belenix. So basically, you made a call for *developers* for Belenix (as opposed to *Python developers*). I was trying to clarify that point. Regards Rajeev J Sebastian From rajeev.sebastian at gmail.com Fri Oct 16 20:37:23 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Sat, 17 Oct 2009 00:07:23 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910161130p45e693dbh35bccaefb1417a16@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <6e38f9f00910161016wfa7b4a3re6caa25898e76ca@mail.gmail.com> <9963e56e0910161038i1dfa6c32u7c08471a128eeb2@mail.gmail.com> <49977f270910161130p45e693dbh35bccaefb1417a16@mail.gmail.com> Message-ID: <79a035420910161137w3b730f45l5b4bbf2d8256ed53@mail.gmail.com> On Sat, Oct 17, 2009 at 12:00 AM, Sriram Narayanan wrote: > On Fri, Oct 16, 2009 at 11:08 PM, Noufal Ibrahim wrote: >> On Fri, Oct 16, 2009 at 10:46 PM, Ramdas S wrote:[..] >> >>> What abt LiveCDs?[..] >> >> Even a CD image which we can copy over would be cool. >> > > I'll have some ?CDs and Virtual Box images around. In case anyone > wants to have Belenix installed onto their laptop, let me know. I would like to have a VBox image. Is it downloadable from somewhere, or can you make it so ? Regards Rajeev J Sebastian From pradeep at btbytes.com Fri Oct 16 20:47:48 2009 From: pradeep at btbytes.com (Pradeep Gowda) Date: Fri, 16 Oct 2009 14:47:48 -0400 Subject: [BangPypers] Unstructured data and python In-Reply-To: <426ada670910161131j1e98a690v922e090d8a049bb4@mail.gmail.com> References: <6e38f9f00910161120o5253e903s95c6f7793fcba659@mail.gmail.com> <426ada670910161131j1e98a690v922e090d8a049bb4@mail.gmail.com> Message-ID: <3e3294b70910161147h3706e877j8d57f02f2c6217b5@mail.gmail.com> On Fri, Oct 16, 2009 at 2:31 PM, Carl Trachte wrote: > On 10/16/09, Ramdas S wrote: >> Has anyone worked/seen any project which involves migrating unstructured >> data, mostly text files to a reasonably indexed databas preferably written >> in Python or has Python APIs. >> I am even ok if its commercial project. >> > > FWIW, when I worked in a Microsoft SQL environment, I used DTS for SQL > 7 or 2000 with the win32com modules and SSIS for with IronPython for > later versions. > > It was usually a standard process of glueing together a bunch of data > in a csv file with Python, then automating the DTS or SSIS program to > dump the data to a database table or series of tables. > > You could probably do something similar with MySQL or Postgres. ?The > hard part was always writing the Python to do the situation-specific > initial crunch of the data. I believe what you are looking for is a an ETL (extraction, tranformation and loading) application. It can be as simple as couple of python scripts, especially if it is a one-off job. You can use web.py's sql module or sqlalchemy(more work..) to generate sql statements, if you don't like writing sql statements yourself. If the data loading/cleaning/transformation has to be on a regular basis, you may want to investigate something like http://www.pentaho.com/products/data_integration/. I have had fairly decent success with using Pentaho Chef suite (link above) in doing ETL for telco OLTP data with postgresql as the destination DB. +PG From sriramnrn at gmail.com Fri Oct 16 20:54:25 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sat, 17 Oct 2009 00:24:25 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <79a035420910161136g6e10e79fj6b93e5ef2b426eda@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <79a035420910161049x1c94e183uc9744312925833d2@mail.gmail.com> <49977f270910161129h76d40311xb45416f09cbd043c@mail.gmail.com> <79a035420910161136g6e10e79fj6b93e5ef2b426eda@mail.gmail.com> Message-ID: <49977f270910161154y7aa5fceclefa20db7a0ac6ffc@mail.gmail.com> On Sat, Oct 17, 2009 at 12:06 AM, Rajeev J Sebastian wrote: >> My response was to the larger community, and not to just you :) > > > That's probably why you started your response with an "Err ... No" right ? > Rajeev, My "Err..no" was to you, and the remainder of my explanation was to all on the list (including you). Please let me know if you expected some other form of response so that I can avoid mis communication and confusion in future. >> When we'd last met at Thoughtworks last weekend, I'd mentioned that >> the Belenix project would > > Would what ? > Sorry, I seem to have hit "Send" too early. I'd mentioned that the Belenix project would be of interest to programmers who use Python, both as a development platform, as well as an open source project to which we could all contribute to. > >> After I responded to you previously, I've been reading more about Pardus. >> At present, Belenix uses what Solaris has for service management - >> SMF. Apart from the temporary package manager that I wrote about, >> we've not written anything else using Python for Belenix. We're either >> busy with work, or with porting and testing software packages to >> Belenix. > > So basically, you made a call for *developers* for Belenix (as opposed > to *Python developers*). I was trying to clarify that point. > My messaging is about an opportunity for Python programmers who'd like to write apps for a new (to some of us) platform. Python based code that would be written for KDE would be usable on KDE on Solaris and not just on Belenix. Some such apps could be -> adding ZFS awareness to Konqueror, or a pyQT based app that would be better than TimeMachine, or ensuring that kpackage and the smart package manager both work correctly on the opensolaris platform. Developing for Belenix in specific would involve activities such as: - ensuring that rpm5 runs on Belenix - cleaning up and refactoring spec files to be smaller and to have the right version numbering. I look forward to meeting you. > Regards > Rajeev J Sebastian > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From sriramnrn at gmail.com Fri Oct 16 20:57:09 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sat, 17 Oct 2009 00:27:09 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <79a035420910161137w3b730f45l5b4bbf2d8256ed53@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <6e38f9f00910161016wfa7b4a3re6caa25898e76ca@mail.gmail.com> <9963e56e0910161038i1dfa6c32u7c08471a128eeb2@mail.gmail.com> <49977f270910161130p45e693dbh35bccaefb1417a16@mail.gmail.com> <79a035420910161137w3b730f45l5b4bbf2d8256ed53@mail.gmail.com> Message-ID: <49977f270910161157g5eb79c70hf87b6666b5c05169@mail.gmail.com> On Sat, Oct 17, 2009 at 12:07 AM, Rajeev J Sebastian wrote: >> I'll have some ?CDs and Virtual Box images around. In case anyone >> wants to have Belenix installed onto their laptop, let me know. > > I would like to have a VBox image. Is it downloadable from somewhere, > or can you make it so ? > We presently have an ISO image for our build released last year, and a network based installer that installed Belenix into any opensolaris based distro. We've not yet begun work on creating an ISO image for our latest KDE 4.3.1 based work. We have VirtualBox images on our computers and we're still testing these. I'll try to have these uploaded to our website so that all can download and try out the latest Belenix. > Regards > Rajeev J Sebastian > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From rajeev.sebastian at gmail.com Fri Oct 16 21:01:43 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Sat, 17 Oct 2009 00:31:43 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910161157g5eb79c70hf87b6666b5c05169@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <6e38f9f00910161016wfa7b4a3re6caa25898e76ca@mail.gmail.com> <9963e56e0910161038i1dfa6c32u7c08471a128eeb2@mail.gmail.com> <49977f270910161130p45e693dbh35bccaefb1417a16@mail.gmail.com> <79a035420910161137w3b730f45l5b4bbf2d8256ed53@mail.gmail.com> <49977f270910161157g5eb79c70hf87b6666b5c05169@mail.gmail.com> Message-ID: <79a035420910161201q1616bcf1j3d1c9dc66b55997@mail.gmail.com> On Sat, Oct 17, 2009 at 12:27 AM, Sriram Narayanan wrote: > We have VirtualBox images on our computers and we're still testing > these. I'll try to have these uploaded to our website so that all can > download and try out the latest Belenix. Great. Looking forward to that. Regards Rajeev J Sebastian From abpillai at gmail.com Sat Oct 17 07:06:00 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Sat, 17 Oct 2009 10:36:00 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910161154y7aa5fceclefa20db7a0ac6ffc@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <8548c5f30910152029o13fb6a51ida5fee33d9d7ea81@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <79a035420910161049x1c94e183uc9744312925833d2@mail.gmail.com> <49977f270910161129h76d40311xb45416f09cbd043c@mail.gmail.com> <79a035420910161136g6e10e79fj6b93e5ef2b426eda@mail.gmail.com> <49977f270910161154y7aa5fceclefa20db7a0ac6ffc@mail.gmail.com> Message-ID: <8548c5f30910162206i5935e4a2gff30692cd7e608f6@mail.gmail.com> On Sat, Oct 17, 2009 at 12:24 AM, Sriram Narayanan wrote: > On Sat, Oct 17, 2009 at 12:06 AM, Rajeev J Sebastian > wrote: > >> My response was to the larger community, and not to just you :) > > > > > > That's probably why you started your response with an "Err ... No" right > ? > > > > Rajeev, My "Err..no" was to you, and the remainder of my explanation > was to all on the list (including you). > > Please let me know if you expected some other form of response so that > I can avoid mis communication and confusion in future. > > >> When we'd last met at Thoughtworks last weekend, I'd mentioned that > >> the Belenix project would > > > > Would what ? > > > > Sorry, I seem to have hit "Send" too early. > > I'd mentioned that the Belenix project would be of interest to > programmers who use Python, both as a development platform, as well as > an open source project to which we could all contribute to. > > > > >> After I responded to you previously, I've been reading more about > Pardus. > >> At present, Belenix uses what Solaris has for service management - > >> SMF. Apart from the temporary package manager that I wrote about, > >> we've not written anything else using Python for Belenix. We're either > >> busy with work, or with porting and testing software packages to > >> Belenix. > > > > So basically, you made a call for *developers* for Belenix (as opposed > > to *Python developers*). I was trying to clarify that point. > > > > My messaging is about an opportunity for Python programmers who'd like > to write apps for a new (to some of us) platform. Python based code > that would be written for KDE would be usable on KDE on Solaris and > not just on Belenix. > > Some such apps could be -> adding ZFS awareness to Konqueror, or a > pyQT based app that would be better than TimeMachine, or ensuring that > kpackage and the smart package manager both work correctly on the > opensolaris platform. > > Developing for Belenix in specific would involve activities such as: > - ensuring that rpm5 runs on Belenix > - cleaning up and refactoring spec files to be smaller and to have the > right version numbering. > > I look forward to meeting you. > Ok, all that text and.... In short, your expectation is that we can get together and write some code in PyQt which can be used for Belenix apps as welll as (possibly) ported to KDE on Solaris. Fine. Simple thoughts written in a long winded fashion. Btw, I thought Konqueror was ZFS aware, so my question is it it possible to do this entirely using a PyQT based layer which understands both ZFS and can talk to the KDE/Kparts layer ? > > Regards > > Rajeev J Sebastian > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From sriramnrn at gmail.com Sat Oct 17 07:34:17 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sat, 17 Oct 2009 11:04:17 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <8548c5f30910162206i5935e4a2gff30692cd7e608f6@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <49977f270910152053j6839419co94398c7212822f18@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <79a035420910161049x1c94e183uc9744312925833d2@mail.gmail.com> <49977f270910161129h76d40311xb45416f09cbd043c@mail.gmail.com> <79a035420910161136g6e10e79fj6b93e5ef2b426eda@mail.gmail.com> <49977f270910161154y7aa5fceclefa20db7a0ac6ffc@mail.gmail.com> <8548c5f30910162206i5935e4a2gff30692cd7e608f6@mail.gmail.com> Message-ID: <49977f270910162234u4c403d5dtcbb9d5938c8e70ac@mail.gmail.com> On Sat, Oct 17, 2009 at 10:36 AM, Anand Balachandran Pillai wrote: > > Ok, all that text and.... > > ?In short, your expectation is that we can get together and write some > ?code in PyQt which can be used for Belenix apps as welll as (possibly) > ?ported to KDE on Solaris. > > ?Fine. Simple thoughts written in a long winded fashion. I just thought I'd give some context on Belenix and what we're doing, that's all. As a group, we can have something to look forward to, and an Indian distribution to which we all contribute to is one such thing. > > ?Btw, I thought Konqueror was ZFS aware, so my question is it it > ?possible to do this entirely using a PyQT based layer which understands > ?both ZFS and can talk to the KDE/Kparts layer ? > Konqueror is not ZFS aware at the moment. We could make it ZFS aware by enabling actions such as providing a "Create File system" via a context menu, for e.g. -- Sriram From rajeev.sebastian at gmail.com Sat Oct 17 07:42:58 2009 From: rajeev.sebastian at gmail.com (Rajeev J Sebastian) Date: Sat, 17 Oct 2009 11:12:58 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910162234u4c403d5dtcbb9d5938c8e70ac@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <79a035420910161049x1c94e183uc9744312925833d2@mail.gmail.com> <49977f270910161129h76d40311xb45416f09cbd043c@mail.gmail.com> <79a035420910161136g6e10e79fj6b93e5ef2b426eda@mail.gmail.com> <49977f270910161154y7aa5fceclefa20db7a0ac6ffc@mail.gmail.com> <8548c5f30910162206i5935e4a2gff30692cd7e608f6@mail.gmail.com> <49977f270910162234u4c403d5dtcbb9d5938c8e70ac@mail.gmail.com> Message-ID: <79a035420910162242q74807f3fq9571ac17bae6c241@mail.gmail.com> On Sat, Oct 17, 2009 at 11:04 AM, Sriram Narayanan wrote: > On Sat, Oct 17, 2009 at 10:36 AM, Anand Balachandran Pillai > wrote: > >> >> Ok, all that text and.... >> >> ?In short, your expectation is that we can get together and write some >> ?code in PyQt which can be used for Belenix apps as welll as (possibly) >> ?ported to KDE on Solaris. >> >> ?Fine. Simple thoughts written in a long winded fashion. > > I just thought I'd give some context on Belenix and what we're doing, > that's all. > As a group, we can have something to look forward to, and an Indian > distribution to which we all contribute to is one such thing. Do you mean an Indian Solaris distro ? (If you don't already know, there are several indian linux distros). Regards Rajeev J Sebastian From sriramnrn at gmail.com Sat Oct 17 07:53:46 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sat, 17 Oct 2009 11:23:46 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <49977f270910162234u4c403d5dtcbb9d5938c8e70ac@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <49977f270910152057x3bd8c1d6gadd40f6c28dc8004@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <79a035420910161049x1c94e183uc9744312925833d2@mail.gmail.com> <49977f270910161129h76d40311xb45416f09cbd043c@mail.gmail.com> <79a035420910161136g6e10e79fj6b93e5ef2b426eda@mail.gmail.com> <49977f270910161154y7aa5fceclefa20db7a0ac6ffc@mail.gmail.com> <8548c5f30910162206i5935e4a2gff30692cd7e608f6@mail.gmail.com> <49977f270910162234u4c403d5dtcbb9d5938c8e70ac@mail.gmail.com> Message-ID: <49977f270910162253r6341f52at8c0f9a49899fa3f@mail.gmail.com> On Sat, Oct 17, 2009 at 11:04 AM, Sriram Narayanan wrote: > On Sat, Oct 17, 2009 at 10:36 AM, Anand Balachandran Pillai >> >> ?Btw, I thought Konqueror was ZFS aware, so my question is it it >> ?possible to do this entirely using a PyQT based layer which understands >> ?both ZFS and can talk to the KDE/Kparts layer ? >> > There are some scattered efforts around the world to write python bindings for ZFS. I'm trying to find out the status of these various efforts. >From the limited code reading I've done so far, I think it may be possible to have a library that PyKDE and PyQT apps could call. > Konqueror is not ZFS aware at the moment. We could make it ZFS aware > by enabling actions such as providing a "Create File system" via a > context menu, for e.g. > > -- Sriram > From sriramnrn at gmail.com Sat Oct 17 07:57:08 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sat, 17 Oct 2009 11:27:08 +0530 Subject: [BangPypers] Weekend Meeting In-Reply-To: <79a035420910162242q74807f3fq9571ac17bae6c241@mail.gmail.com> References: <8548c5f30910142312y4c24c1few3b70386fe04be8c8@mail.gmail.com> <79a035420910160928i793db774vbf52cd59f8f08757@mail.gmail.com> <49977f270910160958p48c50f95rd941120ba887eb0@mail.gmail.com> <79a035420910161049x1c94e183uc9744312925833d2@mail.gmail.com> <49977f270910161129h76d40311xb45416f09cbd043c@mail.gmail.com> <79a035420910161136g6e10e79fj6b93e5ef2b426eda@mail.gmail.com> <49977f270910161154y7aa5fceclefa20db7a0ac6ffc@mail.gmail.com> <8548c5f30910162206i5935e4a2gff30692cd7e608f6@mail.gmail.com> <49977f270910162234u4c403d5dtcbb9d5938c8e70ac@mail.gmail.com> <79a035420910162242q74807f3fq9571ac17bae6c241@mail.gmail.com> Message-ID: <49977f270910162257q38745cf9i96d0c47e39bcc8ef@mail.gmail.com> On Sat, Oct 17, 2009 at 11:12 AM, Rajeev J Sebastian wrote: >> As a group, we can have something to look forward to, and an Indian >> distribution to which we all contribute to is one such thing. > > Do you mean an Indian Solaris distro ? (If you don't already know, > there are several indian linux distros). > I'm only aware that there are several of us in India who've put together distros, but I've not used any of them yet. Belenix is based on the opensolaris kernel + network stack. Solaris 10 has an internal source tree which takes in the stable code from the opensolaris trunk. > Regards > Rajeev J Sebastian -- Sriram From carl at personnelware.com Sat Oct 17 16:42:03 2009 From: carl at personnelware.com (Carl Karsten) Date: Sat, 17 Oct 2009 09:42:03 -0500 Subject: [BangPypers] dabo In-Reply-To: <200910161500.24350.lawgon@au-kbc.org> References: <200910161500.24350.lawgon@au-kbc.org> Message-ID: <549053140910170742u2042a603j64a5ad6c675a4518@mail.gmail.com> On Fri, Oct 16, 2009 at 4:30 AM, Kenneth Gonsalves wrote: > hi, > > thought I would take a break from the web and refresh my gui skills - came > across dabo - anyone got anything to say about it? I use the report editor/engine. It uses reportlab for rendering, but the GUI designer is a nice wxPython app. here is where I used it to print name tags with bar codes: https://pycon.coderanger.net/browser/django/trunk/pycon/badges/views.py The rest of the system is pretty cool, but I haven't needed it for anything. -- Carl K From zoltan.jose at gmail.com Sat Oct 17 19:16:41 2009 From: zoltan.jose at gmail.com (Timmy Jose) Date: Sat, 17 Oct 2009 22:46:41 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <5ead360a0910151849g26285a40i4fa68d9762f41252@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> <5ead360a0910151849g26285a40i4fa68d9762f41252@mail.gmail.com> Message-ID: Yo mate, you gotta just chill it a bit alright? I may not be a regular visitor in here but I have been a member from the very beginning of this small group of folks in here and I can vouch for Kenneth. Agreed that most folks here fall outside "our generation" but that is not to say that they are all a bunch of old farts. You really have to realize that not all disagreements stem from snarkiness and also that it is best to avoid ad hominem attacks in mailing lists. Bejasus d00d, just take a fucking moment and understand that you can make your point without offending people's sensibilities alright? Even if there is something missing in here that I am not aware of that does not excuse such infantile off-the-hip reactions. If you still feel that your fragile ego/honor has been sullied in this community, well, good riddance! Regards, z0ltan On Fri, Oct 16, 2009 at 7:19 AM, Srijayanth Sridhar wrote: > > > On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves wrote: > >> On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: >> > I brought up the same topic a few months ago I think. Basically if you >> go >> > to the Ruby forums >> >> no real programmer goes to forums - they use mailing lists and IRC >> -- >> >> > Kenneth, no diss, but if you can do something other than being a Draconian > bastard and insulting people, then do it. I am out. This mailing list is > full of grumpy old men. > > Jayanth > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Bwahahahahahahahahahahahaha! -------------- next part -------------- An HTML attachment was scrubbed... URL: From srijayanth at gmail.com Sun Oct 18 13:55:09 2009 From: srijayanth at gmail.com (Srijayanth Sridhar) Date: Sun, 18 Oct 2009 17:25:09 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <3d62196a0910150309x7cd02377h94be2b98b07453ef@mail.gmail.com> <5ead360a0910150322j2eb6facfp2d1c64fe71439bd8@mail.gmail.com> <200910151643.30879.lawgon@au-kbc.org> <5ead360a0910151849g26285a40i4fa68d9762f41252@mail.gmail.com> Message-ID: <5ead360a0910180455o5b2de54evc3ba118d57cd0e3e@mail.gmail.com> On Sat, Oct 17, 2009 at 10:46 PM, Timmy Jose wrote: > > Yo mate, you gotta just chill it a bit alright? I may not be a regular > visitor in here but I have been a member from the very beginning of this > small group of folks in here and I can vouch for Kenneth. Agreed that most > folks here fall outside "our generation" but that is not to say that they > are all a bunch of old farts. You really have to realize that not all > disagreements stem from snarkiness and also that it is best to avoid ad > hominem attacks in mailing lists. Bejasus d00d, just take a fucking moment > and understand that you can make your point without offending people's > sensibilities alright? Even if there is something missing in here that I am > not aware of that does not excuse such infantile off-the-hip reactions. If > you still feel that your fragile ego/honor has been sullied in this > community, well, good riddance! > > Regards, > > With all due respect, it was anything but an off-the-hip reaction. Kenneth's been launching into each and everyone for days on end about each and every little thing whether it be some person's usage of Drupal over Plone or whether it be something else. The point of a comment is to contribute something useful. To say "Real programmers yada yada yada" doesn't exactly exhibit maturity either and illustrates nothing useful. Furthermore, I see a lot of dissing and very little Python actually happening on this list. As for my fragile ego, thanks for your concern, but it won't be good riddance for a long time to come I am afraid. Jayanth z0ltan > > On Fri, Oct 16, 2009 at 7:19 AM, Srijayanth Sridhar wrote: > >> >> >> On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves wrote: >> >>> On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote: >>> > I brought up the same topic a few months ago I think. Basically if you >>> go >>> > to the Ruby forums >>> >>> no real programmer goes to forums - they use mailing lists and IRC >>> -- >>> >>> >> Kenneth, no diss, but if you can do something other than being a Draconian >> bastard and insulting people, then do it. I am out. This mailing list is >> full of grumpy old men. >> >> Jayanth >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > Bwahahahahahahahahahahahaha! > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at thenilgiris.com Sun Oct 18 14:19:01 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Sun, 18 Oct 2009 17:49:01 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <5ead360a0910180455o5b2de54evc3ba118d57cd0e3e@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <5ead360a0910180455o5b2de54evc3ba118d57cd0e3e@mail.gmail.com> Message-ID: <200910181749.02304.lawgon@thenilgiris.com> On Sunday 18 Oct 2009 5:25:09 pm Srijayanth Sridhar wrote: > With all due respect, it was anything but an off-the-hip reaction. I have been a member of mailing lists for over 15 years now - this is the first time I have seen the word 'bastard' used. I did not react as I thought you had left the list. I will not react now as I do not think a person capable of such language is sensitive enough to understand a reaction - so I exercise my right to ignore all your posts in future. Feel free to also direct my posts to your spam folder. bye -- regards kg http://lawgon.livejournal.com From aneesh.nl at gmail.com Sun Oct 18 15:08:18 2009 From: aneesh.nl at gmail.com (Aneesh A) Date: Sun, 18 Oct 2009 18:38:18 +0530 Subject: [BangPypers] Python interpreter in mobile phone (java) Message-ID: <90c47fb0910180608t15250866n928264522b905a3e@mail.gmail.com> I and my friend like to do a mobile application in python. It should be working on most of mobiles. Is there any python interpreter that written in java (so it can run on java supported mobiles..) for mobile?? I have seen python interpreter in my friend's nokia mobile. but it works only on symbian. -- +91 903 755 72 73 For all hardware and software services, Computer assembling, Software Installation etc. My blog : http://xtenders.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sidharth.kuruvila at gmail.com Sun Oct 18 15:22:44 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Sun, 18 Oct 2009 18:52:44 +0530 Subject: [BangPypers] Python interpreter in mobile phone (java) In-Reply-To: <90c47fb0910180608t15250866n928264522b905a3e@mail.gmail.com> References: <90c47fb0910180608t15250866n928264522b905a3e@mail.gmail.com> Message-ID: <2ab2ed550910180622m1ab679c1g9f1a6b767d1f1866@mail.gmail.com> Hi, There's jython http://www.jython.org/. I don't know if it will run on j2me. Regards, Sidharth On Sun, Oct 18, 2009 at 6:38 PM, Aneesh A wrote: > I and my friend like to do a mobile application in python. > > It should be working on most of mobiles. > > Is there any python interpreter that written in java (so it can run on java > supported mobiles..) for mobile?? > > I have seen python interpreter in my friend's nokia mobile. but it works > only on symbian. > > -- > +91 903 755 72 73 > > For all hardware and software services, Computer assembling, Software > Installation etc. > My blog : http://xtenders.blogspot.com/ > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- I am but a man. From zaki at manian.org Sun Oct 18 15:49:36 2009 From: zaki at manian.org (Zaki Manian) Date: Sun, 18 Oct 2009 19:19:36 +0530 Subject: [BangPypers] Python interpreter in mobile phone (java) In-Reply-To: <2ab2ed550910180622m1ab679c1g9f1a6b767d1f1866@mail.gmail.com> References: <90c47fb0910180608t15250866n928264522b905a3e@mail.gmail.com> <2ab2ed550910180622m1ab679c1g9f1a6b767d1f1866@mail.gmail.com> Message-ID: Android also has a python environment as well - the android scripting environment. Python isn't really an ideal client language for mobile phone development. Python support on the Symbian and Android platforms is intended more for rapid prototyping than for applications with App Store deployment. US number: +1 650-862-5992 Indian Number:+919945111824 Sent from Bengaluru, Karnataka, India On Sun, Oct 18, 2009 at 6:52 PM, Sidharth Kuruvila < sidharth.kuruvila at gmail.com> wrote: > Hi, > > There's jython http://www.jython.org/. I don't know if it will run on > j2me. > > Regards, > Sidharth > > On Sun, Oct 18, 2009 at 6:38 PM, Aneesh A wrote: > > I and my friend like to do a mobile application in python. > > > > It should be working on most of mobiles. > > > > Is there any python interpreter that written in java (so it can run on > java > > supported mobiles..) for mobile?? > > > > I have seen python interpreter in my friend's nokia mobile. but it works > > only on symbian. > > > > -- > > +91 903 755 72 73 > > > > For all hardware and software services, Computer assembling, Software > > Installation etc. > > My blog : http://xtenders.blogspot.com/ > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > -- > I am but a man. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From artagnon at gmail.com Sun Oct 18 17:12:37 2009 From: artagnon at gmail.com (Ramkumar Ramachandra) Date: Sun, 18 Oct 2009 20:42:37 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <200910181749.02304.lawgon@thenilgiris.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <5ead360a0910180455o5b2de54evc3ba118d57cd0e3e@mail.gmail.com> <200910181749.02304.lawgon@thenilgiris.com> Message-ID: I don't think the issue has much to do with "Indians copying". The answer to the original question is simple: It's because India is a poor country with a broken education system, where society has not learnt to recognize and foster innovation and independent thought in many fields. It's simple economics: people in poor countries feel more "insecure" about their lives, and tend to choose the "safer" options. All independent thought/ innovation requires a time investment- and involves a risk. A risk people aren't willing to take. I don't think the situation is significantly different from so many other poor countries. We are privileged to be educated, and we must use it for good. What can we do about the situation? Have productive discussions about the issues, and work towards rectifying them. I believe that education is one major answer to many problems. -- Artagnon (.com) From abpillai at gmail.com Sun Oct 18 17:20:22 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Sun, 18 Oct 2009 20:50:22 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <5ead360a0910180455o5b2de54evc3ba118d57cd0e3e@mail.gmail.com> <200910181749.02304.lawgon@thenilgiris.com> Message-ID: <8548c5f30910180820o3ffa542fn679c02dc5cf90237@mail.gmail.com> Someone posted in this thread that very little Python is happening in this list. Cannot agree with that comment yet, but this thread has no Python in it and has overgrown itself. Closing this thread. Further posts are - not welcome. And I request no personal slanging matches in the future. Thanks --Anand On Sun, Oct 18, 2009 at 8:42 PM, Ramkumar Ramachandra wrote: > -- > Artagnon (.com) > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Sun Oct 18 17:22:40 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sun, 18 Oct 2009 20:52:40 +0530 Subject: [BangPypers] Open Calais ? Bellenix meeting Message-ID: <9963e56e0910180822r71e0cb8aj2bb8f719235a0054@mail.gmail.com> Hi, I had some stuff to take care of and was too tired to attend the meeting. How did it go? Any tidbits that the list might benefit from? Regards, -- ~noufal http://nibrahim.net.in From abpillai at gmail.com Sun Oct 18 17:33:15 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Sun, 18 Oct 2009 21:03:15 +0530 Subject: [BangPypers] Why do indians copy? In-Reply-To: <8548c5f30910180820o3ffa542fn679c02dc5cf90237@mail.gmail.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8C86@astserver3.akebonosoft.com> <5ead360a0910180455o5b2de54evc3ba118d57cd0e3e@mail.gmail.com> <200910181749.02304.lawgon@thenilgiris.com> <8548c5f30910180820o3ffa542fn679c02dc5cf90237@mail.gmail.com> Message-ID: <8548c5f30910180833p475923b8n3fb34ec5bc3e2d03@mail.gmail.com> On Sun, Oct 18, 2009 at 8:50 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > Someone posted in this thread that very little Python is happening in this > list. > Cannot agree with that comment yet, but this thread has no Python in it > and has overgrown itself. > > Closing this thread. Further posts are - not welcome. And I request > no personal slanging matches in the future. > I try normally not to reply to my own posts - but here is an addendum which could be useful to those prone to hitting the "send" button without taking time to edit their posts, giving themselves a chance to tone down their language. The archives of this list are public and are easily accessible using a google search later - when you make a regrettable post your name is getting permanently etched in the history of the web, associated to the post - something worth thinking about. Remember, on the web there are no regrets - when an ever watchful google is recording all your tracks. Think twice before hitting the send button. > > Thanks > > --Anand > > On Sun, Oct 18, 2009 at 8:42 PM, Ramkumar Ramachandra wrote: > > > >> -- >> Artagnon (.com) >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > --Anand > > > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From sriramnrn at gmail.com Sun Oct 18 18:00:52 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sun, 18 Oct 2009 21:30:52 +0530 Subject: [BangPypers] Open Calais ? Bellenix meeting In-Reply-To: <9963e56e0910180822r71e0cb8aj2bb8f719235a0054@mail.gmail.com> References: <9963e56e0910180822r71e0cb8aj2bb8f719235a0054@mail.gmail.com> Message-ID: <49977f270910180900w607a530bgb86eb53bf25825ed@mail.gmail.com> On Sun, Oct 18, 2009 at 8:52 PM, Noufal Ibrahim wrote: > Hi, > ?I had some stuff to take care of and was too tired to attend the > meeting. How did it go? Any tidbits that the list might benefit from? > The opencalais session was good. I'm going to tell my colleagues about this, and they'd surely explore it more. Anand and Ramdas have asked that we have sessions again with more detail. I agree, since the scant amount of ZFS that I showcased today was in itself radically different from what we all know from other file systems. I request feedback from other attendees on today's ZFS session. Please let me know what else you'd have liked me to cover at an introduction level. -- Sriram From sriramnrn at gmail.com Sun Oct 18 18:08:49 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sun, 18 Oct 2009 21:38:49 +0530 Subject: [BangPypers] Ideas for an opensolaris demo for web app developers Message-ID: <49977f270910180908m21e447f6yca28116e80ea23d8@mail.gmail.com> All: I'm glad that I was able to show case ZFS basics to you all. Based on conversations that we had after the talk, Moinak and I have decided to come up with a presentation aimed at web programmers (mainly, Python web programmers). My intent is to present the following: - recreate an entire deployment scenario on your personal computer on Belenix, where you use a form of light weight virtualization (zones) to set up a MySQL zone, two app server zones running Django/something else each, a Linux firewall zone that replicates the real world DMZ scenario, an apache zone that has an apache load balancing between the two Django zones. - Back each zone with a ZFS file system - Each Zone should have the same public IP address that you have in the real world (to the extent that you even use the exact same firewall rules). - Use DTrace to diagnose the app in each zone - Snapshot the zone's file system, and then deploy the Zone onto another computer. One could do most of the above using VMWare, except that here, we do all of the above on our laptops/desktops without the over head of VMWare. I'd like to know if there's any sample web application that you'd like to see deployed in the example above. Please let me know if you'd like to have something else in the dem, and Moinak and I will figure out a way to incorporate all change requests. Thanks. -- Sriram From ramdaz at gmail.com Sun Oct 18 20:34:19 2009 From: ramdaz at gmail.com (Ramdas S) Date: Mon, 19 Oct 2009 00:04:19 +0530 Subject: [BangPypers] Ideas for an opensolaris demo for web app developers In-Reply-To: <49977f270910180908m21e447f6yca28116e80ea23d8@mail.gmail.com> References: <49977f270910180908m21e447f6yca28116e80ea23d8@mail.gmail.com> Message-ID: <6e38f9f00910181134s5ecc3ebcy36856ee5675a5cba@mail.gmail.com> Sriram, I think if you and Moinka can present what all Belenix can do for Python developers and what all Pyrhon guys can do for Belenix, it'll make a lot of sense. What you are planning makes sense to me and a few guys, who actually need to worry about hosting web apps. Please check with others on the interest on this topic On Sun, Oct 18, 2009 at 9:38 PM, Sriram Narayanan wrote: > All: > > I'm glad that I was able to show case ZFS basics to you all. > > Based on conversations that we had after the talk, Moinak and I have > decided to come up with a presentation aimed at web programmers > (mainly, Python web programmers). > > My intent is to present the following: > > - recreate an entire deployment scenario on your personal computer on > Belenix, where you use a form of light weight virtualization (zones) > to set up a MySQL zone, two app server zones running Django/something > else each, a Linux firewall zone that replicates the real world DMZ > scenario, an apache zone that has an apache load balancing between the > two Django zones. > - Back each zone with a ZFS file system > - Each Zone should have the same public IP address that you have in > the real world (to the extent that you even use the exact same > firewall rules). > - Use DTrace to diagnose the app in each zone > - Snapshot the zone's file system, and then deploy the Zone onto > another computer. > > One could do most of the above using VMWare, except that here, we do > all of the above on our laptops/desktops without the over head of > VMWare. > > I'd like to know if there's any sample web application that you'd like > to see deployed in the example above. > > Please let me know if you'd like to have something else in the dem, > and Moinak and I will figure out a way to incorporate all change > requests. > > Thanks. > > -- Sriram > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Ramdas S +91 9342 583 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From srinivas_thatiparthy at akebonosoft.com Mon Oct 19 06:30:43 2009 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Mon, 19 Oct 2009 10:00:43 +0530 Subject: [BangPypers] Suggest me an opensource project!! Message-ID: <4EF2BF691B890546B2694C99A2852F0C01BB8DEB@astserver3.akebonosoft.com> I want to participate in python open source projects,can you people suggest me one which has around 2000 to 3000 lines of code and no dependencies on other libraries please. Some one in the list suggested(not to me) reportlab and django and etc.When i look at them they are like mammoth(5MB) i dont know where to start off. TIA. Regards, Srinivas Reddy Thatiparthy. -------------- I hear and I forget. I see and I remember. I do and I understand. - Confucius. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Mon Oct 19 06:40:54 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 19 Oct 2009 10:10:54 +0530 Subject: [BangPypers] Suggest me an opensource project!! In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8DEB@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8DEB@astserver3.akebonosoft.com> Message-ID: <9963e56e0910182140u1ff3c055s48010fa556f38e78@mail.gmail.com> On Mon, Oct 19, 2009 at 10:00 AM, Srinivas Reddy Thatiparthy wrote: > I? want to participate in python open source? projects,can?you ?people > suggest me one which has around 2000 to 3000?lines of code and no > dependencies on other > libraries please.[.] Pick something in your general area of interest and try to fix bugs on it. That should gradually boost your confidence to a level where you can contribute. Size will stop becoming a big problem then. Check out the python package index for Python related projects that are lying around. -- ~noufal http://nibrahim.net.in From srinivas_thatiparthy at akebonosoft.com Mon Oct 19 06:43:16 2009 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Mon, 19 Oct 2009 10:13:16 +0530 Subject: [BangPypers] Suggest me an opensource project!! In-Reply-To: <9963e56e0910182140u1ff3c055s48010fa556f38e78@mail.gmail.com> Message-ID: <4EF2BF691B890546B2694C99A2852F0C01BB8DF1@astserver3.akebonosoft.com> >>Pick something in your general area of interest and try to fix bugs on it. That should gradually boost your confidence to a level where you can contribute. Size will >>stop becoming a big problem then. Check out the python package index for Python related projects that are lying around. Thanks noufal, I never saw python package index link. -- ~noufal http://nibrahim.net.in _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers From steve at lonetwin.net Mon Oct 19 07:26:06 2009 From: steve at lonetwin.net (steve) Date: Mon, 19 Oct 2009 10:56:06 +0530 Subject: [BangPypers] Suggest me an opensource project!! In-Reply-To: <4EF2BF691B890546B2694C99A2852F0C01BB8DEB@astserver3.akebonosoft.com> References: <4EF2BF691B890546B2694C99A2852F0C01BB8DEB@astserver3.akebonosoft.com> Message-ID: <4ADBF86E.3000704@lonetwin.net> Hi, On 10/19/2009 10:00 AM, Srinivas Reddy Thatiparthy wrote: > I want to participate in python open source projects,can you people > suggest me one which has around 2000 to 3000 lines of code and no > dependencies on other > libraries please. Although picking up a small project and working on it by yourself is one way to participate in an open source project. There is another easier and more satisfying way -- a. Search for something that interests you. Something that you use or would like to customize for your use. Or, something that you have an interest in exploring. There are thousands of projects to choose from at: http://sourceforge.net/ Choose something sufficiently 'mammoth' (in your terms). b. Join the project's mailing list and search through the project's bugs list. See, if there is some thing that seems easy and manageable there and offer to fix it. Ask for clarification/assistance on the mailing list if needed. Another way to approach the searching for bugs, is to actually start using the application you intend to contribute to :) !! ...you'll eventually come across some behavior that you would like to 'fix' or change. It could be as simple as changing/correcting error messages or adding additional logging, or including a 'not-critical-but-nice-to-have' option ...etc. Many large projects could use help on a lot of such small tasks, which never get done because there is always something with a higher priority for the core developers to tackle. c. After fixing few such bugs, you would have not only gained some confidence but also would have learned enough about to the code base to tackle larger issues like a feature request. The advantage of this approach as opposed to doing a small toy project is that you will learn to deal with large code bases without getting overwhelmed and also would be more likely to continue contribution. Furthermore, you would get bragging rights as a contributor to a large well-known project :). The whole point of this reply is -- It is great that you want to contribute to an open source project ! However, don't waste time in writing 'yet another' mp3 player or editor or organizer or calendar or calculator ...we already have too many of those. Yes, you /will/ learn a lot by doing any of those but you would learn *as well as contribute* by starting small in a large project. HTH, cheers, - steve PS: You may find this helpful: http://lonehacks.blogspot.com/2009/08/on-reading-code-efficiently.html -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From abpillai at gmail.com Mon Oct 19 07:47:47 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 19 Oct 2009 11:17:47 +0530 Subject: [BangPypers] Open Calais ? Bellenix meeting In-Reply-To: <49977f270910180900w607a530bgb86eb53bf25825ed@mail.gmail.com> References: <9963e56e0910180822r71e0cb8aj2bb8f719235a0054@mail.gmail.com> <49977f270910180900w607a530bgb86eb53bf25825ed@mail.gmail.com> Message-ID: <8548c5f30910182247g5a5e47cao1a937092ea63908a@mail.gmail.com> On Sun, Oct 18, 2009 at 9:30 PM, Sriram Narayanan wrote: > On Sun, Oct 18, 2009 at 8:52 PM, Noufal Ibrahim wrote: > > Hi, > > I had some stuff to take care of and was too tired to attend the > > meeting. How did it go? Any tidbits that the list might benefit from? > > > > The opencalais session was good. I'm going to tell my colleagues about > this, and they'd surely explore it more. > > Anand and Ramdas have asked that we have sessions again with more > detail. I agree, since the scant amount of ZFS that I showcased today > was in itself radically different from what we all know from other > file systems. > > I request feedback from other attendees on today's ZFS session. Please > let me know what else you'd have liked me to cover at an introduction > level. > We had a good meeting. There were some initial hiccups with the projector but moving to a separate meeting room solved it. I presented a brief introduction to semantic web and showcased the OpenCalais API using python-calais. I showed how to extract semantic concepts (categories) from existing data using the API. I went on to demo my application which listens to a couple of mobile phone news feeds and uses semantic information returned by OpenCalais to provide specific natural language queries (not exactly NLP there yet, but I am simulating NLP like queries) which return specific answers. The demo showed making a query on "cost of motorola android" and this returning the specific data requested on the price of the most recent motorola android mobile phones. I will wait for some other attendee for their feedback on how good this was rather than making the comment myself :) This was followed by a very good session by Sriram and Moinak on the capabilities of ZFS. I don't want to get into details, but I was blown away by the capabilities of ZFS. I had only read about it before and never seen it in action, so when Sriram showed how to increase the storage of an existing volume by adding another device and just adding it to the volume using "zfs add" it was just too good to believe. ZFS makes those actions which could take hours using Linux ext3 look trivial and done within seconds...! We started the ZFS session a bit late i.e around 5.30 pm so there was not much time to showcase all the bits planned. We dispersed around 6.10 pm. We were 7 attendees in total. > > -- Sriram > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Mon Oct 19 07:55:40 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 19 Oct 2009 11:25:40 +0530 Subject: [BangPypers] Ideas for an opensolaris demo for web app developers In-Reply-To: <6e38f9f00910181134s5ecc3ebcy36856ee5675a5cba@mail.gmail.com> References: <49977f270910180908m21e447f6yca28116e80ea23d8@mail.gmail.com> <6e38f9f00910181134s5ecc3ebcy36856ee5675a5cba@mail.gmail.com> Message-ID: <8548c5f30910182255t6dc72cb8p90c5ea3d64cfa57b@mail.gmail.com> On Mon, Oct 19, 2009 at 12:04 AM, Ramdas S wrote: > > Sriram, > > I think if you and Moinka can present what all Belenix can do for Python > developers and what all Pyrhon guys can do for Belenix, it'll make a lot of > sense. > > What you are planning makes sense to me and a few guys, who actually need > to worry about hosting web apps. > > Please check with others on the interest on this topic This looks fine to me, but I am not sure whether the whole thing can be fitted into an afternoon session. I for one am more interested in how the ZFS back-end can be integrated to KDE using PyQt and how we (I) can help out in it - is there a plan, design, talk, anything ? > > On Sun, Oct 18, 2009 at 9:38 PM, Sriram Narayanan wrote: > >> All: >> >> I'm glad that I was able to show case ZFS basics to you all. >> >> Based on conversations that we had after the talk, Moinak and I have >> decided to come up with a presentation aimed at web programmers >> (mainly, Python web programmers). >> >> My intent is to present the following: >> >> - recreate an entire deployment scenario on your personal computer on >> Belenix, where you use a form of light weight virtualization (zones) >> to set up a MySQL zone, two app server zones running Django/something >> else each, a Linux firewall zone that replicates the real world DMZ >> scenario, an apache zone that has an apache load balancing between the >> two Django zones. >> - Back each zone with a ZFS file system >> - Each Zone should have the same public IP address that you have in >> the real world (to the extent that you even use the exact same >> firewall rules). >> - Use DTrace to diagnose the app in each zone >> - Snapshot the zone's file system, and then deploy the Zone onto >> another computer. >> >> One could do most of the above using VMWare, except that here, we do >> all of the above on our laptops/desktops without the over head of >> VMWare. >> >> I'd like to know if there's any sample web application that you'd like >> to see deployed in the example above. >> >> Please let me know if you'd like to have something else in the dem, >> and Moinak and I will figure out a way to incorporate all change >> requests. >> >> Thanks. >> >> -- Sriram >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > Ramdas S > +91 9342 583 065 > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From cranil89 at gmail.com Mon Oct 19 08:19:17 2009 From: cranil89 at gmail.com (Anil) Date: Mon, 19 Oct 2009 11:49:17 +0530 Subject: [BangPypers] Jython and Java 3D Message-ID: <4ADC04E5.9080405@gmail.com> Hey anybody tried jython with java 3D? From steve at lonetwin.net Mon Oct 19 13:32:42 2009 From: steve at lonetwin.net (steve) Date: Mon, 19 Oct 2009 17:02:42 +0530 Subject: [BangPypers] python scripting in gdb Message-ID: <4ADC4E5A.3010201@lonetwin.net> Hi, I was pleasantly surprised today to learn about Fedora/Red Hat's project, introduced in F11, to make scripting with python possible within gdb: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [steve at laptop ~]$ gdb GNU gdb (GDB) Fedora (6.8.50.20090302-38.fc11) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: . (gdb) help python Evaluate a Python command. The command can be given as an argument, for instance: python print 23 If no argument is given, the following lines are read and used as the Python commands. Type a line containing "end" to indicate the end of the command. (gdb) python import this The Zen of Python, by Tim Peters .... .... (gdb) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ So, I thought I'd share this with you. More info here: http://sourceware.org/gdb/wiki/ProjectArcher cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From ardsrk at gmail.com Mon Oct 19 16:54:45 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Mon, 19 Oct 2009 20:24:45 +0530 Subject: [BangPypers] Open Calais ? Bellenix meeting In-Reply-To: <8548c5f30910182247g5a5e47cao1a937092ea63908a@mail.gmail.com> References: <9963e56e0910180822r71e0cb8aj2bb8f719235a0054@mail.gmail.com> <49977f270910180900w607a530bgb86eb53bf25825ed@mail.gmail.com> <8548c5f30910182247g5a5e47cao1a937092ea63908a@mail.gmail.com> Message-ID: <3d62196a0910190754w2c1c0c03w1dd1553e42f71cf7@mail.gmail.com> The demo given by Anand on semantic search of feeds using OpenCalais was very interesting. The fact that his app essentially did something that Feedly( based on Google Reader ) does piqued my interest. Feedly too uses OpenCalais to get semantic information on a blog post and for search. If you use Google Reader as a RSS reader then you have to check out Feedly. Anand used python-calais for communicating to the OpenCalais API . Anand then showed how OpenCalais categorized the input text into entities, topics and relations. With every entity OpenCalais attached a percentage that indicated how sure it was on the element being the entity whose identity was given by a URL. For instance, there is a URL identiying the entity "Android" as a product. Open Calais is exciting new technology that has made information gathering applications like Feedly and Klezio possible. Another application is Tagaroo a wordpress plugin that automatically generates tags as you type your blog post. In the meetup Anand said that the current state-of-the-art of semantic web is not even 5% of its potential. A quick search of the term imagine semantic webon ReadWriteWeb shows that a lot of businesses and visionaries are betting big on semantic web and know that it has a lot of potential. On Mon, Oct 19, 2009 at 11:17 AM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Sun, Oct 18, 2009 at 9:30 PM, Sriram Narayanan wrote: > >> On Sun, Oct 18, 2009 at 8:52 PM, Noufal Ibrahim wrote: >> > Hi, >> > I had some stuff to take care of and was too tired to attend the >> > meeting. How did it go? Any tidbits that the list might benefit from? >> > >> >> The opencalais session was good. I'm going to tell my colleagues about >> this, and they'd surely explore it more. >> >> Anand and Ramdas have asked that we have sessions again with more >> detail. I agree, since the scant amount of ZFS that I showcased today >> was in itself radically different from what we all know from other >> file systems. >> >> I request feedback from other attendees on today's ZFS session. Please >> let me know what else you'd have liked me to cover at an introduction >> level. >> > > We had a good meeting. There were some initial hiccups with the > projector but moving to a separate meeting room solved it. > > I presented a brief introduction to semantic web and showcased the > OpenCalais API using python-calais. I showed how to extract semantic > concepts (categories) from existing data using the API. > > I went on to demo my application which listens to a couple of mobile > phone news feeds and uses semantic information returned by OpenCalais > to provide specific natural language queries (not exactly NLP there yet, > but I am simulating NLP like queries) which return specific answers. > > The demo showed making a query on "cost of motorola android" and > this returning the specific data requested on the price of the most > recent motorola android mobile phones. > > I will wait for some other attendee for their feedback on how good > this was rather than making the comment myself :) > > This was followed by a very good session by Sriram and Moinak on > the capabilities of ZFS. I don't want to get into details, but I was blown > away by the capabilities of ZFS. I had only read about it before and never > seen it in action, so when Sriram showed how to increase the storage > of an existing volume by adding another device and just adding it to > the volume using "zfs add" it was just too good to believe. ZFS > makes those actions which could take hours using Linux ext3 > look trivial and done within seconds...! > > We started the ZFS session a bit late i.e around 5.30 pm so there > was not much time to showcase all the bits planned. We dispersed > around 6.10 pm. > > We were 7 attendees in total. > > >> >> -- Sriram >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramdaz at gmail.com Mon Oct 19 17:27:23 2009 From: ramdaz at gmail.com (Ramdas S) Date: Mon, 19 Oct 2009 20:57:23 +0530 Subject: [BangPypers] Open Calais ? Bellenix meeting In-Reply-To: <3d62196a0910190754w2c1c0c03w1dd1553e42f71cf7@mail.gmail.com> References: <9963e56e0910180822r71e0cb8aj2bb8f719235a0054@mail.gmail.com> <49977f270910180900w607a530bgb86eb53bf25825ed@mail.gmail.com> <8548c5f30910182247g5a5e47cao1a937092ea63908a@mail.gmail.com> <3d62196a0910190754w2c1c0c03w1dd1553e42f71cf7@mail.gmail.com> Message-ID: <6e38f9f00910190827k5c299257yd7b3b23d00b664a0@mail.gmail.com> On Mon, Oct 19, 2009 at 8:24 PM, Arvind Jamuna Dixit wrote: > The demo given by Anand on semantic search of feeds using OpenCalais was > very interesting. > The fact that his app essentially did something that Feedly( based on Google Reader ) does piqued my interest. > > > > > On Mon, Oct 19, 2009 at 11:17 AM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > >> >> >> On Sun, Oct 18, 2009 at 9:30 PM, Sriram Narayanan wrote: >> >>> On Sun, Oct 18, 2009 at 8:52 PM, Noufal Ibrahim >>> wrote: >>> > Hi, >>> > I had some stuff to take care of and was too tired to attend the >>> > meeting. How did it go? Any tidbits that the list might benefit from? >>> > >>> >>> Both sessions were quite good, left us with a lot of ideas, especially OpenCalais stuff. In future we must try to get follow up tracks to some specific interest groups. -------------- next part -------------- An HTML attachment was scrubbed... URL: From noufal at gmail.com Mon Oct 19 17:42:21 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 19 Oct 2009 21:12:21 +0530 Subject: [BangPypers] Open Calais ? Bellenix meeting In-Reply-To: <6e38f9f00910190827k5c299257yd7b3b23d00b664a0@mail.gmail.com> References: <9963e56e0910180822r71e0cb8aj2bb8f719235a0054@mail.gmail.com> <49977f270910180900w607a530bgb86eb53bf25825ed@mail.gmail.com> <8548c5f30910182247g5a5e47cao1a937092ea63908a@mail.gmail.com> <3d62196a0910190754w2c1c0c03w1dd1553e42f71cf7@mail.gmail.com> <6e38f9f00910190827k5c299257yd7b3b23d00b664a0@mail.gmail.com> Message-ID: <9963e56e0910190842y12b404d9q5de42a5e6330a5bf@mail.gmail.com> Every mail on this thread increases my regret for missing this meeting. Oh well... Nice to see the momentum though. Does anyone have any ideas/requests for a talk next month? -- ~noufal http://nibrahim.net.in From ardsrk at gmail.com Mon Oct 19 18:36:26 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Mon, 19 Oct 2009 22:06:26 +0530 Subject: [BangPypers] Open Calais ? Bellenix meeting In-Reply-To: <49977f270910180900w607a530bgb86eb53bf25825ed@mail.gmail.com> References: <9963e56e0910180822r71e0cb8aj2bb8f719235a0054@mail.gmail.com> <49977f270910180900w607a530bgb86eb53bf25825ed@mail.gmail.com> Message-ID: <3d62196a0910190936h737736d6i66d0d7008ede7f1a@mail.gmail.com> Below are some points about ZFS and BeneliX that were made in the meetup. ZFS is a cutting edge filesystemfrom Sun Microsystems adopted by BeneliX . Some of the underlying concepts of ZFS that I think is simply stunning are: * Storage is managed by pools. A storage pool abstracts several block devices. * Allows for easy addition and replacement of drives to a pool with zfs *add * and *replace* commands. * Ability to create large sparse files . * Snapshots: A snapshot is a read-only copy of a filesystem. It consumes no additional space initially and is created instantly. The snapshot starts consuming space when the data that is being snapshot changes. So snapshots can be used for backup. Snapshots can also be used as means to collaborate over a project with the zfs *send* and *receive* commands. * Clones: A clone is a writable copy of a filesystem. It is created instantly and initially occupies no space ( because ZFS implements the copy-on-writeidiom ). * ZFS has no notion of formatting. I had taken a VBox image of BeneliX from Sriram (comes in two DVDs). I tried installing BeneliX onto it VBox complained that it could not detect any boot medium. I will try to figure out the problem soon. Thanks to Sriram and Moinak for introducing us to this wonderful technology. On Sun, Oct 18, 2009 at 9:30 PM, Sriram Narayanan wrote: > On Sun, Oct 18, 2009 at 8:52 PM, Noufal Ibrahim wrote: > > Hi, > > I had some stuff to take care of and was too tired to attend the > > meeting. How did it go? Any tidbits that the list might benefit from? > > > > The opencalais session was good. I'm going to tell my colleagues about > this, and they'd surely explore it more. > > Anand and Ramdas have asked that we have sessions again with more > detail. I agree, since the scant amount of ZFS that I showcased today > was in itself radically different from what we all know from other > file systems. > > I request feedback from other attendees on today's ZFS session. Please > let me know what else you'd have liked me to cover at an introduction > level. > > -- Sriram > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Tue Oct 20 05:28:50 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 20 Oct 2009 08:58:50 +0530 Subject: [BangPypers] Open Calais ? Bellenix meeting In-Reply-To: <3d62196a0910190754w2c1c0c03w1dd1553e42f71cf7@mail.gmail.com> References: <9963e56e0910180822r71e0cb8aj2bb8f719235a0054@mail.gmail.com> <49977f270910180900w607a530bgb86eb53bf25825ed@mail.gmail.com> <8548c5f30910182247g5a5e47cao1a937092ea63908a@mail.gmail.com> <3d62196a0910190754w2c1c0c03w1dd1553e42f71cf7@mail.gmail.com> Message-ID: <8548c5f30910192028m9e40f19ke3f9270712bb395a@mail.gmail.com> On Mon, Oct 19, 2009 at 8:24 PM, Arvind Jamuna Dixit wrote: > The demo given by Anand on semantic search of feeds using OpenCalais was > very interesting. > The fact that his app essentially did something that Feedly( based on Google Reader ) does piqued my interest. > > Feedly too uses OpenCalais to get semantic information on a blog post and > for search. > If you use Google Reader as a RSS reader then you have to check out Feedly. > > Anand used python-calais for > communicating to the OpenCalais API > . > Anand then showed how OpenCalais categorized the input text into entities, > topics and relations. > With every entity OpenCalais attached a percentage that indicated how sure > it was on the element being the entity > whose identity was given by a URL. For instance, there is a URL identiying > the entity "Android" as a product. > > Open Calais is exciting new technology that has made information gathering > applications like Feedly and Klezio possible. > Another application is Tagaroo a > wordpress plugin that automatically generates tags as you type your blog > post. > > In the meetup Anand said that the current state-of-the-art of semantic web > is not even 5% of its potential. A quick search of the term > imagine semantic webon ReadWriteWeb shows that a lot of businesses and visionaries are betting > big on semantic web and know that > it has a lot of potential. Excellent summary. Btw, I am summarizing the links I used in the meeting. There was no presentation, I did an ad-hoc talk, so these could be of help. http://www.opencalais.com - OpenCalais http://www.klezio.com - Klezio a "meta news" aggregator using OpenCalais http://www.readwriteweb.com/archives/semantic_web_patterns.php - Guide to semantic web patterns @ RWW Btw, I will be adding more intelligence to my application over the coming weeks. For example, the current prototype uses a simple search across tags returned by OpenCalais, I plan to replace this with something better for IR, such as Xapian. There can be further presentations of the app and discussions on semantic web in the coming weeks, if anyone is interested. > > > > On Mon, Oct 19, 2009 at 11:17 AM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > >> >> >> On Sun, Oct 18, 2009 at 9:30 PM, Sriram Narayanan wrote: >> >>> On Sun, Oct 18, 2009 at 8:52 PM, Noufal Ibrahim >>> wrote: >>> > Hi, >>> > I had some stuff to take care of and was too tired to attend the >>> > meeting. How did it go? Any tidbits that the list might benefit from? >>> > >>> >>> The opencalais session was good. I'm going to tell my colleagues about >>> this, and they'd surely explore it more. >>> >>> Anand and Ramdas have asked that we have sessions again with more >>> detail. I agree, since the scant amount of ZFS that I showcased today >>> was in itself radically different from what we all know from other >>> file systems. >>> >>> I request feedback from other attendees on today's ZFS session. Please >>> let me know what else you'd have liked me to cover at an introduction >>> level. >>> >> >> We had a good meeting. There were some initial hiccups with the >> projector but moving to a separate meeting room solved it. >> >> I presented a brief introduction to semantic web and showcased the >> OpenCalais API using python-calais. I showed how to extract semantic >> concepts (categories) from existing data using the API. >> >> I went on to demo my application which listens to a couple of mobile >> phone news feeds and uses semantic information returned by OpenCalais >> to provide specific natural language queries (not exactly NLP there yet, >> but I am simulating NLP like queries) which return specific answers. >> >> The demo showed making a query on "cost of motorola android" and >> this returning the specific data requested on the price of the most >> recent motorola android mobile phones. >> >> I will wait for some other attendee for their feedback on how good >> this was rather than making the comment myself :) >> >> This was followed by a very good session by Sriram and Moinak on >> the capabilities of ZFS. I don't want to get into details, but I was blown >> away by the capabilities of ZFS. I had only read about it before and never >> seen it in action, so when Sriram showed how to increase the storage >> of an existing volume by adding another device and just adding it to >> the volume using "zfs add" it was just too good to believe. ZFS >> makes those actions which could take hours using Linux ext3 >> look trivial and done within seconds...! >> >> We started the ZFS session a bit late i.e around 5.30 pm so there >> was not much time to showcase all the bits planned. We dispersed >> around 6.10 pm. >> >> We were 7 attendees in total. >> >> >>> >>> -- Sriram >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >> >> >> >> -- >> --Anand >> >> >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From msenthil008 at gmail.com Tue Oct 20 08:04:44 2009 From: msenthil008 at gmail.com (Senthil Kumar M) Date: Tue, 20 Oct 2009 11:34:44 +0530 Subject: [BangPypers] I am new to python language. Suggest way to improve my skills in python Message-ID: I am new to python language. Suggest way to improve my skills in python M.Senthil Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at lonetwin.net Tue Oct 20 08:34:24 2009 From: steve at lonetwin.net (steve) Date: Tue, 20 Oct 2009 12:04:24 +0530 Subject: [BangPypers] I am new to python language. Suggest way to improve my skills in python In-Reply-To: References: Message-ID: <4ADD59F0.6080608@lonetwin.net> On 10/20/2009 11:34 AM, Senthil Kumar M wrote: > I am new to python language. Suggest way to improve my skills in python read python code write python code fight pythons in the wild I am sure two of those three were obvious to you so asking such a general question did help, didn't it ? cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From ardsrk at gmail.com Tue Oct 20 08:45:30 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Tue, 20 Oct 2009 12:15:30 +0530 Subject: [BangPypers] I am new to python language. Suggest way to improve my skills in python In-Reply-To: References: Message-ID: <3d62196a0910192345m3e6bb3dlabf853c036e3eb92@mail.gmail.com> You may find something useful in the answers to these questions . On Tue, Oct 20, 2009 at 11:34 AM, Senthil Kumar M wrote: > I am new to python language. Suggest way to improve my skills in python > M.Senthil Kumar > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssquery at gmail.com Tue Oct 20 08:46:11 2009 From: ssquery at gmail.com (sudhakar s) Date: Tue, 20 Oct 2009 12:16:11 +0530 Subject: [BangPypers] I am new to python language. Suggest way to improve my skills in python In-Reply-To: References: Message-ID: <1528d2590910192346l41a674c8i32c77b866607ad30@mail.gmail.com> Hi, its good to learn python. Check out the tutorial by swaroop. http://www.google.com/support/sites/bin/answer.py?hl=en&answer=144030 this will definitely help to improve your skills. On Tue, Oct 20, 2009 at 11:34 AM, Senthil Kumar M wrote: > I am new to python language. Suggest way to improve my skills in python > M.Senthil Kumar > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- With Regards, S Sudhakar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssquery at gmail.com Tue Oct 20 08:47:30 2009 From: ssquery at gmail.com (sudhakar s) Date: Tue, 20 Oct 2009 12:17:30 +0530 Subject: [BangPypers] I am new to python language. Suggest way to improve my skills in python In-Reply-To: <4ADD59F0.6080608@lonetwin.net> References: <4ADD59F0.6080608@lonetwin.net> Message-ID: <1528d2590910192347q68683427y8e2ba363d28a014c@mail.gmail.com> Great Suggestion. On Tue, Oct 20, 2009 at 12:04 PM, steve wrote: > On 10/20/2009 11:34 AM, Senthil Kumar M wrote: > >> I am new to python language. Suggest way to improve my skills in python >> > read python code > write python code > fight pythons in the wild > > I am sure two of those three were obvious to you so asking such a general > question did help, didn't it ? > > cheers, > - steve > > -- > random non tech spiel: http://lonetwin.blogspot.com/ > tech randomness: http://lonehacks.blogspot.com/ > what i'm stumbling into: http://lonetwin.stumbleupon.com/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- With Regards, S Sudhakar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssquery at gmail.com Tue Oct 20 08:50:49 2009 From: ssquery at gmail.com (sudhakar s) Date: Tue, 20 Oct 2009 12:20:49 +0530 Subject: [BangPypers] WSDL Message-ID: <1528d2590910192350k76f83effh220fbcb02c629e2c@mail.gmail.com> Hey can any one suggest me way's of writing WSDL easily. -- With Regards, S Sudhakar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lohit.b at gmail.com Tue Oct 20 08:53:53 2009 From: lohit.b at gmail.com (LOhit) Date: Tue, 20 Oct 2009 12:23:53 +0530 Subject: [BangPypers] Django and NIS authentication Message-ID: <29117e150910192353j11c286c8l44b031bce049b33b@mail.gmail.com> What I want to do: Write a django application which parses UNIX log files and also allows users (Admins) take action if something is wrong. The problem: Is there a way to make the Django app understand NIS and authenticate users using NIS backend? Found the following link while Googling. But, it is related to LDAP though. http://www.carthage.edu/webdev/?p=12 PS: I am not a developer by profession, please go easy on me :) Thanks, -- LOhit -------------- next part -------------- An HTML attachment was scrubbed... URL: From hiddenharmony at gmail.com Tue Oct 20 09:02:03 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Tue, 20 Oct 2009 12:32:03 +0530 Subject: [BangPypers] I am new to python language. Suggest way to improve my skills in python In-Reply-To: References: Message-ID: <91bea30d0910200002x674bbcaejb428dfc784e19c3b@mail.gmail.com> On Tue, Oct 20, 2009 at 11:34 AM, Senthil Kumar M wrote: > I am new to python language. Suggest way to improve my skills in python There is only one way... code, code, code and more code :) regards Vivek -- The hidden harmony is better than the obvious!! From hiddenharmony at gmail.com Tue Oct 20 09:05:22 2009 From: hiddenharmony at gmail.com (Vivek Khurana) Date: Tue, 20 Oct 2009 12:35:22 +0530 Subject: [BangPypers] WSDL In-Reply-To: <1528d2590910192350k76f83effh220fbcb02c629e2c@mail.gmail.com> References: <1528d2590910192350k76f83effh220fbcb02c629e2c@mail.gmail.com> Message-ID: <91bea30d0910200005i5b16457ev84c5c31f95e8d40c@mail.gmail.com> On Tue, Oct 20, 2009 at 12:20 PM, sudhakar s wrote: > > Hey can any one suggest me way's of writing WSDL? easily. Use soaplib or try this http://osdir.com/ml/python.pywebsvcs.general/2006-07/msg00015.html regards Vivek -- The hidden harmony is better than the obvious!! From ramdaz at gmail.com Tue Oct 20 09:05:44 2009 From: ramdaz at gmail.com (Ramdas S) Date: Tue, 20 Oct 2009 12:35:44 +0530 Subject: [BangPypers] Django and NIS authentication In-Reply-To: <29117e150910192353j11c286c8l44b031bce049b33b@mail.gmail.com> References: <29117e150910192353j11c286c8l44b031bce049b33b@mail.gmail.com> Message-ID: <6e38f9f00910200005m2a55e027q1f130f5de4f657a4@mail.gmail.com> I've written a similar app, which is actually a mini utm app and is successfully deployed at many of my clients, and publishes reports on the network. Django wont understand NIS by itself. You can use Python to do just that. Also you have a number of Python modules which'll help you to gain some of the system information. Write specifically what all information you want to capture/read/write? On Tue, Oct 20, 2009 at 12:23 PM, LOhit wrote: > What I want to do: Write a django application which parses UNIX log files > and also allows users (Admins) take action if something is wrong. > > The problem: Is there a way to make the Django app understand NIS and > authenticate users using NIS backend? > > Found the following link while Googling. But, it is related to LDAP though. > > http://www.carthage.edu/webdev/?p=12 > > PS: I am not a developer by profession, please go easy on me :) > > > > Thanks, > -- > LOhit > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Ramdas S +91 9342 583 065 -------------- next part -------------- An HTML attachment was scrubbed... URL: From aneesh.nl at gmail.com Tue Oct 20 09:37:38 2009 From: aneesh.nl at gmail.com (Aneesh A) Date: Tue, 20 Oct 2009 13:07:38 +0530 Subject: [BangPypers] Python interpreter in mobile phone (java) In-Reply-To: References: <90c47fb0910180608t15250866n928264522b905a3e@mail.gmail.com> <2ab2ed550910180622m1ab679c1g9f1a6b767d1f1866@mail.gmail.com> Message-ID: <90c47fb0910200037v104bbe0ckc8765511d35f29ea@mail.gmail.com> On Sun, Oct 18, 2009 at 7:19 PM, Zaki Manian wrote: > Android also has a python environment as well - the android scripting > environment. > I like to run python apps in low cost phones. so that i opt for java interpreter. > Python isn't really an ideal client language for mobile phone development. > > Python support on the Symbian and Android platforms is intended more for > rapid prototyping than for applications with App Store deployment. > I will try to do it in symbian platform. Also, is there any special format or library restrictions in symbian?? -- +91 903 755 72 73 For all hardware and software services, Computer assembling, Software Installation etc. My blog : http://xtenders.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From msenthil008 at gmail.com Tue Oct 20 09:55:51 2009 From: msenthil008 at gmail.com (Senthil Kumar M) Date: Tue, 20 Oct 2009 13:25:51 +0530 Subject: [BangPypers] I am new to python language. Suggest way to improve my skills in python In-Reply-To: <3d62196a0910192345m3e6bb3dlabf853c036e3eb92@mail.gmail.com> References: <3d62196a0910192345m3e6bb3dlabf853c036e3eb92@mail.gmail.com> Message-ID: thank the link. I will check On Tue, Oct 20, 2009 at 12:15 PM, Arvind Jamuna Dixit wrote: > You may find something useful in the answers to these questions > . > > On Tue, Oct 20, 2009 at 11:34 AM, Senthil Kumar M wrote: > >> I am new to python language. Suggest way to improve my skills in python >> >> M.Senthil Kumar >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- ******************** M.Senthil Kumar ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Tue Oct 20 10:08:47 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 20 Oct 2009 13:38:47 +0530 Subject: [BangPypers] I am new to python language. Suggest way to improve my skills in python In-Reply-To: References: <3d62196a0910192345m3e6bb3dlabf853c036e3eb92@mail.gmail.com> Message-ID: <8548c5f30910200108u57c054fcjca9a189b422be9c0@mail.gmail.com> On Tue, Oct 20, 2009 at 1:25 PM, Senthil Kumar M wrote: > thank the link. I will check > > > On Tue, Oct 20, 2009 at 12:15 PM, Arvind Jamuna Dixit wrote: > >> You may find something useful in the answers to these questions >> . >> >> On Tue, Oct 20, 2009 at 11:34 AM, Senthil Kumar M wrote: >> >>> I am new to python language. Suggest way to improve my skills in python >>> >> Try not to post attachments to the list. If you absolutely have to, make sure they are less than 50KB in size. I rejected a recent post from you with a huge attachment. If you want to post code and get others opinion, paste your code in some place like pastebin and post the link here. This is for everyone who have been trying to send code attachments to the list for the last week or so. I will be modifying our mailman settings to not to receive any attachments soon. > >>> M.Senthil Kumar >>> >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > ******************** > M.Senthil Kumar > ******************** > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From msenthil008 at gmail.com Tue Oct 20 10:15:21 2009 From: msenthil008 at gmail.com (Senthil Kumar M) Date: Tue, 20 Oct 2009 13:45:21 +0530 Subject: [BangPypers] I am new to python language. Suggest way to improve my skills in python In-Reply-To: <8548c5f30910200108u57c054fcjca9a189b422be9c0@mail.gmail.com> References: <3d62196a0910192345m3e6bb3dlabf853c036e3eb92@mail.gmail.com> <8548c5f30910200108u57c054fcjca9a189b422be9c0@mail.gmail.com> Message-ID: OK,.I will follow this in feature On Tue, Oct 20, 2009 at 1:38 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Tue, Oct 20, 2009 at 1:25 PM, Senthil Kumar M wrote: > >> thank the link. I will check >> >> >> On Tue, Oct 20, 2009 at 12:15 PM, Arvind Jamuna Dixit wrote: >> >>> You may find something useful in the answers to these questions >>> . >>> >>> On Tue, Oct 20, 2009 at 11:34 AM, Senthil Kumar M >> > wrote: >>> >>>> I am new to python language. Suggest way to improve my skills in python >>>> >>> > Try not to post attachments to the list. If you absolutely have to, make > sure > they are less than 50KB in size. I rejected a recent post from you with > a huge attachment. > > If you want to post code and get others opinion, paste your code in > some place like pastebin and post the link here. > > This is for everyone who have been trying to send code attachments to the > list for the last week or so. I will be modifying our mailman settings to > not > to receive any attachments soon. > > > > >> >>>> M.Senthil Kumar >>>> >>>> >>>> _______________________________________________ >>>> BangPypers mailing list >>>> BangPypers at python.org >>>> http://mail.python.org/mailman/listinfo/bangpypers >>>> >>>> >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> >> -- >> ******************** >> M.Senthil Kumar >> ******************** >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- ******************** M.Senthil Kumar ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From msenthil008 at gmail.com Tue Oct 20 10:17:52 2009 From: msenthil008 at gmail.com (Senthil Kumar M) Date: Tue, 20 Oct 2009 13:47:52 +0530 Subject: [BangPypers] help me to fix this error Message-ID: I am using python IDLE (python3.0.1) . I dont know why this error comes ? I am a new user to python. -- ******************** M.Senthil Kumar ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From murty_murty at yahoo.com Tue Oct 20 10:18:56 2009 From: murty_murty at yahoo.com (M.V.Ramana Murty) Date: Tue, 20 Oct 2009 01:18:56 -0700 (PDT) Subject: [BangPypers] Python interpreter in mobile phone (java) In-Reply-To: <90c47fb0910200037v104bbe0ckc8765511d35f29ea@mail.gmail.com> References: <90c47fb0910180608t15250866n928264522b905a3e@mail.gmail.com> <2ab2ed550910180622m1ab679c1g9f1a6b767d1f1866@mail.gmail.com> <90c47fb0910200037v104bbe0ckc8765511d35f29ea@mail.gmail.com> Message-ID: <283128.51445.qm@web52111.mail.re2.yahoo.com> Check this content @NOKIA to know how to write Python programs that run on the SYMBIAN S60 platform. http://www.forum.nokia.com/info/sw.nokia.com/id/a5da42ca-3cc6-426f-9d98-234523fd9d75/Python_for_the_S60_Platform.html --MVR.Murty, PMP B A N G A L O R E +91-9019652312 +91-80-41267852 ________________________________ From: Aneesh A To: Bangalore Python Users Group - India Sent: Tue, October 20, 2009 1:07:38 PM Subject: Re: [BangPypers] Python interpreter in mobile phone (java) On Sun, Oct 18, 2009 at 7:19 PM, Zaki Manian wrote: > >Android also has a python environment as well - the android scripting environment. > I like to run python apps in low cost phones. so that i opt for java interpreter. >Python isn't really an ideal client language for mobile phone development. > >Python support on the Symbian and Android platforms is intended more for rapid prototyping than for applications with App Store deployment. > I will try to do it in symbian platform. Also, is there any special format or library restrictions in symbian?? -- +91 903 755 72 73 For all hardware and software services, Computer assembling, Software Installation etc. My blog : http://xtenders.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From msenthil008 at gmail.com Tue Oct 20 10:22:54 2009 From: msenthil008 at gmail.com (Senthil Kumar M) Date: Tue, 20 Oct 2009 13:52:54 +0530 Subject: [BangPypers] help me to fix this error Message-ID: I am using python IDLE (python3.0.1) . I dont know why this error comes ? I am a new user to python. the link of the image snapshot is http://img197.imageshack.us/img197/3405/pythonshell.png -- ******************** M.Senthil Kumar ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From sidharth.kuruvila at gmail.com Tue Oct 20 10:53:52 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Tue, 20 Oct 2009 14:23:52 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: References: Message-ID: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> Hi, This looks like it's because python's strings have change in python 3. The characters used to be 8bit bytes but now they are 16 bits wide. A quick google tells me that str now has a method called maketrans so s1.maketrans(s2) should work. I'm guessing you are using a tutorial written for one of the older versions of python. I'd suggest you either find a python 3 based tutorial or use an older version of python, maybe python 2.6. ps Can you cut and paste the code into the mail next time, images are a pain to work with. Regards, Sidharth On Tue, Oct 20, 2009 at 1:52 PM, Senthil Kumar M wrote: > > I am using python IDLE (python3.0.1) . I dont know why this error comes ? I > am a new user to python. > > the link of the image snapshot is > http://img197.imageshack.us/img197/3405/pythonshell.png > > -- > ******************** > M.Senthil Kumar > ******************** > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- I am but a man. From msenthil008 at gmail.com Tue Oct 20 11:10:21 2009 From: msenthil008 at gmail.com (Senthil Kumar M) Date: Tue, 20 Oct 2009 14:40:21 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> References: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> Message-ID: ---------------------------------------------------------- #!/usr/bin/python from string import maketrans intab = "aeiou" outtab = "12345" trantab = intab.maketrans(outtab) str = "this is string example....wow!!!"; print str.translate(trantab); ------------------------------------------------------------ Thanks for the response. I changed the code as above this code too shows an error. On Tue, Oct 20, 2009 at 2:23 PM, Sidharth Kuruvila < sidharth.kuruvila at gmail.com> wrote: > Hi, > This looks like it's because python's strings have change in python 3. > The characters used to be 8bit bytes but now they are 16 bits wide. > > A quick google tells me that str now has a method called maketrans so > s1.maketrans(s2) should work. > > I'm guessing you are using a tutorial written for one of the older > versions of python. I'd suggest you either find a python 3 based > tutorial or use an older version of python, maybe python 2.6. > > ps Can you cut and paste the code into the mail next time, images are > a pain to work with. > > Regards, > Sidharth > > On Tue, Oct 20, 2009 at 1:52 PM, Senthil Kumar M > wrote: > > > > I am using python IDLE (python3.0.1) . I dont know why this error comes ? > I > > am a new user to python. > > > > the link of the image snapshot is > > http://img197.imageshack.us/img197/3405/pythonshell.png > > > > -- > > ******************** > > M.Senthil Kumar > > ******************** > > > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > > > -- > I am but a man. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ******************** M.Senthil Kumar ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From sidharth.kuruvila at gmail.com Tue Oct 20 11:21:49 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Tue, 20 Oct 2009 14:51:49 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: References: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> Message-ID: <2ab2ed550910200221m3b46c5caw7d9e529402e978a9@mail.gmail.com> Hi, Could you print the error message too. I don't have python 3 so i can't run the code you posted. A couple of quick pointers. You don't need this line `#!/usr/bin/python`. That's for telling a unix shell to use python to run the remaining code. Yo don't need this line `from string import maketrans` because you aren't using the string module. Never do this `str = "this is string example....wow!!!";` You are overwriting str which is the type object for strings in python. Shouldn't be an issue in your code. But it's generally bad coding to change built-in functions and variables. Use another variable name. You can find out what methods are available on an object using the dir function, `dir("hello")` will tell you the methods available for the str objects. help("hello") will give you help on str objects. Regards, Sidharth On Tue, Oct 20, 2009 at 2:40 PM, Senthil Kumar M wrote: > ---------------------------------------------------------- > #!/usr/bin/python > from string import maketrans > intab = "aeiou" > outtab = "12345" > trantab = intab.maketrans(outtab) > str = "this is string example....wow!!!"; > print str.translate(trantab); > ------------------------------------------------------------ > Thanks for the response. > I changed the code as above > this code too shows an error. > > On Tue, Oct 20, 2009 at 2:23 PM, Sidharth Kuruvila > wrote: >> >> Hi, >> This looks like it's because python's strings have change in python 3. >> The characters used to be 8bit bytes but now they are 16 bits wide. >> >> A quick google tells me that str now has a method called maketrans so >> s1.maketrans(s2) should work. >> >> I'm guessing you are using a tutorial written for one of the older >> versions of python. I'd suggest you either find a python 3 based >> tutorial or use an older version of python, maybe python 2.6. >> >> ps Can you cut and paste the code into the mail next time, images are >> a pain to work with. >> >> Regards, >> Sidharth >> >> On Tue, Oct 20, 2009 at 1:52 PM, Senthil Kumar M >> wrote: >> > >> > I am using python IDLE (python3.0.1) . I dont know why this error comes >> > ? I >> > am a new user to python. >> > >> > the link of the image snapshot is >> > http://img197.imageshack.us/img197/3405/pythonshell.png >> > >> > -- >> > ******************** >> > M.Senthil Kumar >> > ******************** >> > >> > _______________________________________________ >> > BangPypers mailing list >> > BangPypers at python.org >> > http://mail.python.org/mailman/listinfo/bangpypers >> > >> > >> >> >> >> -- >> I am but a man. >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers > > > > -- > ******************** > M.Senthil Kumar > ******************** > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- I am but a man. From abpillai at gmail.com Tue Oct 20 11:29:11 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 20 Oct 2009 14:59:11 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: References: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> Message-ID: <8548c5f30910200229g39d8380u5f95cbffc0b5a436@mail.gmail.com> On Tue, Oct 20, 2009 at 2:40 PM, Senthil Kumar M wrote: > ---------------------------------------------------------- > #!/usr/bin/python > > from string import maketrans > intab = "aeiou" > outtab = "12345" > trantab = intab.maketrans(outtab) > > str = "this is string example....wow!!!"; > print str.translate(trantab); > "print" is a function from python 3.0. Change this to, print (str.translate(trantab)) And you don't need semi-colons in Python. Semi-colons are used only to separate 2 expressions in the same line. Something like x=2; print x Here they are superfluous. And I think "outtab" should be a dict, not string... but I am not sure. > ------------------------------------------------------------ > Thanks for the response. > I changed the code as above > this code too shows an error. > > > On Tue, Oct 20, 2009 at 2:23 PM, Sidharth Kuruvila < > sidharth.kuruvila at gmail.com> wrote: > >> Hi, >> This looks like it's because python's strings have change in python 3. >> The characters used to be 8bit bytes but now they are 16 bits wide. >> >> A quick google tells me that str now has a method called maketrans so >> s1.maketrans(s2) should work. >> >> I'm guessing you are using a tutorial written for one of the older >> versions of python. I'd suggest you either find a python 3 based >> tutorial or use an older version of python, maybe python 2.6. >> >> ps Can you cut and paste the code into the mail next time, images are >> a pain to work with. >> >> Regards, >> Sidharth >> >> On Tue, Oct 20, 2009 at 1:52 PM, Senthil Kumar M >> wrote: >> > >> > I am using python IDLE (python3.0.1) . I dont know why this error comes >> ? I >> > am a new user to python. >> > >> > the link of the image snapshot is >> > http://img197.imageshack.us/img197/3405/pythonshell.png >> > >> > -- >> > ******************** >> > M.Senthil Kumar >> > ******************** >> > >> > _______________________________________________ >> > BangPypers mailing list >> > BangPypers at python.org >> > http://mail.python.org/mailman/listinfo/bangpypers >> > >> > >> >> >> >> -- >> I am but a man. >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > ******************** > M.Senthil Kumar > ******************** > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From msenthil008 at gmail.com Tue Oct 20 11:41:32 2009 From: msenthil008 at gmail.com (Senthil Kumar M) Date: Tue, 20 Oct 2009 15:11:32 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: <8548c5f30910200229g39d8380u5f95cbffc0b5a436@mail.gmail.com> References: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> <8548c5f30910200229g39d8380u5f95cbffc0b5a436@mail.gmail.com> Message-ID: from string import maketrans intab = "aeiou" outtab = "12345" trantab = maketrans(intab,outtab) st = "this is string example....wow!!!"; print(st.translate(trantab)) ------------------------------------------------------ I got this error, Traceback (most recent call last): File "C:\Python30\fullpath.py", line 4, in trantab = maketrans(intab,outtab) File "C:\Python30\lib\string.py", line 55, in maketrans raise TypeError("maketrans arguments must be bytes objects") TypeError: maketrans arguments must be bytes objects On Tue, Oct 20, 2009 at 2:59 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Tue, Oct 20, 2009 at 2:40 PM, Senthil Kumar M wrote: > >> ---------------------------------------------------------- >> #!/usr/bin/python >> >> from string import maketrans >> intab = "aeiou" >> outtab = "12345" >> trantab = intab.maketrans(outtab) >> >> str = "this is string example....wow!!!"; >> print str.translate(trantab); >> > > "print" is a function from python 3.0. Change this to, > print (str.translate(trantab)) > > And you don't need semi-colons in Python. Semi-colons > are used only to separate 2 expressions in the same line. > Something like > > x=2; print x > > Here they are superfluous. > > And I think "outtab" should be a dict, not string... but I am not sure. > > >> ------------------------------------------------------------ >> Thanks for the response. >> I changed the code as above >> this code too shows an error. >> >> >> On Tue, Oct 20, 2009 at 2:23 PM, Sidharth Kuruvila < >> sidharth.kuruvila at gmail.com> wrote: >> >>> Hi, >>> This looks like it's because python's strings have change in python 3. >>> The characters used to be 8bit bytes but now they are 16 bits wide. >>> >>> A quick google tells me that str now has a method called maketrans so >>> s1.maketrans(s2) should work. >>> >>> I'm guessing you are using a tutorial written for one of the older >>> versions of python. I'd suggest you either find a python 3 based >>> tutorial or use an older version of python, maybe python 2.6. >>> >>> ps Can you cut and paste the code into the mail next time, images are >>> a pain to work with. >>> >>> Regards, >>> Sidharth >>> >>> On Tue, Oct 20, 2009 at 1:52 PM, Senthil Kumar M >>> wrote: >>> > >>> > I am using python IDLE (python3.0.1) . I dont know why this error comes >>> ? I >>> > am a new user to python. >>> > >>> > the link of the image snapshot is >>> > http://img197.imageshack.us/img197/3405/pythonshell.png >>> > >>> > -- >>> > ******************** >>> > M.Senthil Kumar >>> > ******************** >>> > >>> > _______________________________________________ >>> > BangPypers mailing list >>> > BangPypers at python.org >>> > http://mail.python.org/mailman/listinfo/bangpypers >>> > >>> > >>> >>> >>> >>> -- >>> I am but a man. >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >> >> >> >> -- >> ******************** >> M.Senthil Kumar >> ******************** >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- ******************** M.Senthil Kumar ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Tue Oct 20 11:41:45 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 20 Oct 2009 15:11:45 +0530 Subject: [BangPypers] WSDL In-Reply-To: <1528d2590910192350k76f83effh220fbcb02c629e2c@mail.gmail.com> References: <1528d2590910192350k76f83effh220fbcb02c629e2c@mail.gmail.com> Message-ID: <8548c5f30910200241r3abc9948jc647dde8c94a14ef@mail.gmail.com> On Tue, Oct 20, 2009 at 12:20 PM, sudhakar s wrote: > > Hey can any one suggest me way's of writing WSDL easily. > Please don't cross post to another list. Someone in the other list will try to do a reply-all and posts will come to this list but won't go through since they will be non-members. Especially, your question is trivial and doesn't worth troubling the pywebsvcs-talk list I think. Btw, I understand you are new member, but you seem to be breaking every unwritten etiquette rule of forums and mailing lists... > -- > With Regards, > S Sudhakar. > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From abpillai at gmail.com Tue Oct 20 11:44:43 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 20 Oct 2009 15:14:43 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: References: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> <8548c5f30910200229g39d8380u5f95cbffc0b5a436@mail.gmail.com> Message-ID: <8548c5f30910200244m33d3aa41re672b1c82b4d38bf@mail.gmail.com> On Tue, Oct 20, 2009 at 3:11 PM, Senthil Kumar M wrote: > from string import maketrans > intab = "aeiou" > outtab = "12345" > trantab = maketrans(intab,outtab) > st = "this is string example....wow!!!"; > print(st.translate(trantab)) > ------------------------------------------------------ > > I got this error, > > Traceback (most recent call last): > File "C:\Python30\fullpath.py", line 4, in > trantab = maketrans(intab,outtab) > File "C:\Python30\lib\string.py", line 55, in maketrans > raise TypeError("maketrans arguments must be bytes objects") > TypeError: maketrans arguments must be bytes objects > Spend some time learning Python and use this list only for help on things which you can't figure out even after trying. Don't use the list as a help() on paste every other Python exception thrown by the interpreter, expecting someone to spoon feed your Python trip. In this case, check out the Python documentation on string module. > > > > On Tue, Oct 20, 2009 at 2:59 PM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > >> >> >> On Tue, Oct 20, 2009 at 2:40 PM, Senthil Kumar M wrote: >> >>> ---------------------------------------------------------- >>> #!/usr/bin/python >>> >>> from string import maketrans >>> intab = "aeiou" >>> outtab = "12345" >>> trantab = intab.maketrans(outtab) >>> >>> str = "this is string example....wow!!!"; >>> print str.translate(trantab); >>> >> >> "print" is a function from python 3.0. Change this to, >> print (str.translate(trantab)) >> >> And you don't need semi-colons in Python. Semi-colons >> are used only to separate 2 expressions in the same line. >> Something like >> >> x=2; print x >> >> Here they are superfluous. >> >> And I think "outtab" should be a dict, not string... but I am not sure. >> >> >>> ------------------------------------------------------------ >>> Thanks for the response. >>> I changed the code as above >>> this code too shows an error. >>> >>> >>> On Tue, Oct 20, 2009 at 2:23 PM, Sidharth Kuruvila < >>> sidharth.kuruvila at gmail.com> wrote: >>> >>>> Hi, >>>> This looks like it's because python's strings have change in python 3. >>>> The characters used to be 8bit bytes but now they are 16 bits wide. >>>> >>>> A quick google tells me that str now has a method called maketrans so >>>> s1.maketrans(s2) should work. >>>> >>>> I'm guessing you are using a tutorial written for one of the older >>>> versions of python. I'd suggest you either find a python 3 based >>>> tutorial or use an older version of python, maybe python 2.6. >>>> >>>> ps Can you cut and paste the code into the mail next time, images are >>>> a pain to work with. >>>> >>>> Regards, >>>> Sidharth >>>> >>>> On Tue, Oct 20, 2009 at 1:52 PM, Senthil Kumar M >>>> wrote: >>>> > >>>> > I am using python IDLE (python3.0.1) . I dont know why this error >>>> comes ? I >>>> > am a new user to python. >>>> > >>>> > the link of the image snapshot is >>>> > http://img197.imageshack.us/img197/3405/pythonshell.png >>>> > >>>> > -- >>>> > ******************** >>>> > M.Senthil Kumar >>>> > ******************** >>>> > >>>> > _______________________________________________ >>>> > BangPypers mailing list >>>> > BangPypers at python.org >>>> > http://mail.python.org/mailman/listinfo/bangpypers >>>> > >>>> > >>>> >>>> >>>> >>>> -- >>>> I am but a man. >>>> _______________________________________________ >>>> BangPypers mailing list >>>> BangPypers at python.org >>>> http://mail.python.org/mailman/listinfo/bangpypers >>>> >>> >>> >>> >>> -- >>> ******************** >>> M.Senthil Kumar >>> ******************** >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> >> -- >> --Anand >> >> >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > ******************** > M.Senthil Kumar > ******************** > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From msenthil008 at gmail.com Tue Oct 20 11:54:56 2009 From: msenthil008 at gmail.com (Senthil Kumar M) Date: Tue, 20 Oct 2009 15:24:56 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: <8548c5f30910200244m33d3aa41re672b1c82b4d38bf@mail.gmail.com> References: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> <8548c5f30910200229g39d8380u5f95cbffc0b5a436@mail.gmail.com> <8548c5f30910200244m33d3aa41re672b1c82b4d38bf@mail.gmail.com> Message-ID: See this link. I have tried this site but could not find what is the mistake.Thats why I send it here.ok? http://docs.python.org/dev/3.0/library/stdtypes.html?highlight=maketrans#str.maketrans On Tue, Oct 20, 2009 at 3:14 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Tue, Oct 20, 2009 at 3:11 PM, Senthil Kumar M wrote: > >> from string import maketrans >> intab = "aeiou" >> outtab = "12345" >> trantab = maketrans(intab,outtab) >> st = "this is string example....wow!!!"; >> print(st.translate(trantab)) >> ------------------------------------------------------ >> >> I got this error, >> >> Traceback (most recent call last): >> File "C:\Python30\fullpath.py", line 4, in >> trantab = maketrans(intab,outtab) >> File "C:\Python30\lib\string.py", line 55, in maketrans >> raise TypeError("maketrans arguments must be bytes objects") >> TypeError: maketrans arguments must be bytes objects >> > > Spend some time learning Python and use this list only for help on > things which you can't figure out even after trying. Don't use the list > as a help() on paste every other Python exception thrown by the > interpreter, > expecting someone to spoon feed your Python trip. > > In this case, check out the Python documentation on string module. > > > > >> >> >> >> On Tue, Oct 20, 2009 at 2:59 PM, Anand Balachandran Pillai < >> abpillai at gmail.com> wrote: >> >>> >>> >>> On Tue, Oct 20, 2009 at 2:40 PM, Senthil Kumar M wrote: >>> >>>> ---------------------------------------------------------- >>>> #!/usr/bin/python >>>> >>>> from string import maketrans >>>> intab = "aeiou" >>>> outtab = "12345" >>>> trantab = intab.maketrans(outtab) >>>> >>>> str = "this is string example....wow!!!"; >>>> print str.translate(trantab); >>>> >>> >>> "print" is a function from python 3.0. Change this to, >>> print (str.translate(trantab)) >>> >>> And you don't need semi-colons in Python. Semi-colons >>> are used only to separate 2 expressions in the same line. >>> Something like >>> >>> x=2; print x >>> >>> Here they are superfluous. >>> >>> And I think "outtab" should be a dict, not string... but I am not sure. >>> >>> >>>> ------------------------------------------------------------ >>>> Thanks for the response. >>>> I changed the code as above >>>> this code too shows an error. >>>> >>>> >>>> On Tue, Oct 20, 2009 at 2:23 PM, Sidharth Kuruvila < >>>> sidharth.kuruvila at gmail.com> wrote: >>>> >>>>> Hi, >>>>> This looks like it's because python's strings have change in python 3. >>>>> The characters used to be 8bit bytes but now they are 16 bits wide. >>>>> >>>>> A quick google tells me that str now has a method called maketrans so >>>>> s1.maketrans(s2) should work. >>>>> >>>>> I'm guessing you are using a tutorial written for one of the older >>>>> versions of python. I'd suggest you either find a python 3 based >>>>> tutorial or use an older version of python, maybe python 2.6. >>>>> >>>>> ps Can you cut and paste the code into the mail next time, images are >>>>> a pain to work with. >>>>> >>>>> Regards, >>>>> Sidharth >>>>> >>>>> On Tue, Oct 20, 2009 at 1:52 PM, Senthil Kumar M < >>>>> msenthil008 at gmail.com> wrote: >>>>> > >>>>> > I am using python IDLE (python3.0.1) . I dont know why this error >>>>> comes ? I >>>>> > am a new user to python. >>>>> > >>>>> > the link of the image snapshot is >>>>> > http://img197.imageshack.us/img197/3405/pythonshell.png >>>>> > >>>>> > -- >>>>> > ******************** >>>>> > M.Senthil Kumar >>>>> > ******************** >>>>> > >>>>> > _______________________________________________ >>>>> > BangPypers mailing list >>>>> > BangPypers at python.org >>>>> > http://mail.python.org/mailman/listinfo/bangpypers >>>>> > >>>>> > >>>>> >>>>> >>>>> >>>>> -- >>>>> I am but a man. >>>>> _______________________________________________ >>>>> BangPypers mailing list >>>>> BangPypers at python.org >>>>> http://mail.python.org/mailman/listinfo/bangpypers >>>>> >>>> >>>> >>>> >>>> -- >>>> ******************** >>>> M.Senthil Kumar >>>> ******************** >>>> >>>> _______________________________________________ >>>> BangPypers mailing list >>>> BangPypers at python.org >>>> http://mail.python.org/mailman/listinfo/bangpypers >>>> >>>> >>> >>> >>> -- >>> --Anand >>> >>> >>> >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> >> -- >> ******************** >> M.Senthil Kumar >> ******************** >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- ******************** M.Senthil Kumar ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From ashok.raavi at gmail.com Tue Oct 20 12:08:26 2009 From: ashok.raavi at gmail.com (ashok raavi) Date: Tue, 20 Oct 2009 15:38:26 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: References: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> <8548c5f30910200229g39d8380u5f95cbffc0b5a436@mail.gmail.com> <8548c5f30910200244m33d3aa41re672b1c82b4d38bf@mail.gmail.com> Message-ID: <2aa122da0910200308q7db8bed6vda85e91bbd71b533@mail.gmail.com> On Tue, Oct 20, 2009 at 3:24 PM, Senthil Kumar M wrote: > See this link. I have tried this site but could not find what is the > mistake.Thats why I send it here.ok? > > http://docs.python.org/dev/3.0/library/stdtypes.html?highlight=maketrans#str.maketrans > > > On Tue, Oct 20, 2009 at 3:14 PM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > >> >> >> On Tue, Oct 20, 2009 at 3:11 PM, Senthil Kumar M wrote: >> >>> from string import maketrans >>> intab = "aeiou" >>> outtab = "12345" >>> trantab = maketrans(intab,outtab) >>> st = "this is string example....wow!!!"; >>> print(st.translate(trantab)) >>> ------------------------------------------------------ >>> >>> I got this error, >>> >>> Traceback (most recent call last): >>> File "C:\Python30\fullpath.py", line 4, in >>> trantab = maketrans(intab,outtab) >>> File "C:\Python30\lib\string.py", line 55, in maketrans >>> raise TypeError("maketrans arguments must be bytes objects") >>> TypeError: maketrans arguments must be bytes objects >>> >> >> Spend some time learning Python and use this list only for help on >> things which you can't figure out even after trying. Don't use the list >> as a help() on paste every other Python exception thrown by the >> interpreter, >> expecting someone to spoon feed your Python trip. >> >> In this case, check out the Python documentation on string module. >> >> >> >> >>> >>> >>> >>> On Tue, Oct 20, 2009 at 2:59 PM, Anand Balachandran Pillai < >>> abpillai at gmail.com> wrote: >>> >>>> >>>> >>>> On Tue, Oct 20, 2009 at 2:40 PM, Senthil Kumar M >>> > wrote: >>>> >>>>> ---------------------------------------------------------- >>>>> #!/usr/bin/python >>>>> >>>>> from string import maketrans >>>>> intab = "aeiou" >>>>> outtab = "12345" >>>>> trantab = intab.maketrans(outtab) >>>>> >>>>> str = "this is string example....wow!!!"; >>>>> print str.translate(trantab); >>>>> >>>> >>>> "print" is a function from python 3.0. Change this to, >>>> print (str.translate(trantab)) >>>> >>>> And you don't need semi-colons in Python. Semi-colons >>>> are used only to separate 2 expressions in the same line. >>>> Something like >>>> >>>> x=2; print x >>>> >>>> Here they are superfluous. >>>> >>>> And I think "outtab" should be a dict, not string... but I am not sure. >>>> >>>> >>>>> ------------------------------------------------------------ >>>>> Thanks for the response. >>>>> I changed the code as above >>>>> this code too shows an error. >>>>> >>>>> >>>>> On Tue, Oct 20, 2009 at 2:23 PM, Sidharth Kuruvila < >>>>> sidharth.kuruvila at gmail.com> wrote: >>>>> >>>>>> Hi, >>>>>> This looks like it's because python's strings have change in python 3. >>>>>> The characters used to be 8bit bytes but now they are 16 bits wide. >>>>>> >>>>>> A quick google tells me that str now has a method called maketrans so >>>>>> s1.maketrans(s2) should work. >>>>>> >>>>>> I'm guessing you are using a tutorial written for one of the older >>>>>> versions of python. I'd suggest you either find a python 3 based >>>>>> tutorial or use an older version of python, maybe python 2.6. >>>>>> >>>>>> ps Can you cut and paste the code into the mail next time, images are >>>>>> a pain to work with. >>>>>> >>>>>> Regards, >>>>>> Sidharth >>>>>> >>>>>> On Tue, Oct 20, 2009 at 1:52 PM, Senthil Kumar M < >>>>>> msenthil008 at gmail.com> wrote: >>>>>> > >>>>>> > I am using python IDLE (python3.0.1) . I dont know why this error >>>>>> comes ? I >>>>>> > am a new user to python. >>>>>> > >>>>>> > the link of the image snapshot is >>>>>> > http://img197.imageshack.us/img197/3405/pythonshell.png >>>>>> > >>>>>> > -- >>>>>> > ******************** >>>>>> > M.Senthil Kumar >>>>>> > ******************** >>>>>> > >>>>>> > _______________________________________________ >>>>>> > BangPypers mailing list >>>>>> > BangPypers at python.org >>>>>> > http://mail.python.org/mailman/listinfo/bangpypers >>>>>> > >>>>>> > >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> I am but a man. >>>>>> _______________________________________________ >>>>>> BangPypers mailing list >>>>>> BangPypers at python.org >>>>>> http://mail.python.org/mailman/listinfo/bangpypers >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> ******************** >>>>> M.Senthil Kumar >>>>> ******************** >>>>> >>>>> _______________________________________________ >>>>> BangPypers mailing list >>>>> BangPypers at python.org >>>>> http://mail.python.org/mailman/listinfo/bangpypers >>>>> >>>>> >>>> >>>> >>>> -- >>>> --Anand >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> BangPypers mailing list >>>> BangPypers at python.org >>>> http://mail.python.org/mailman/listinfo/bangpypers >>>> >>>> >>> >>> >>> -- >>> ******************** >>> M.Senthil Kumar >>> ******************** >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> >> -- >> --Anand >> >> >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > ******************** > M.Senthil Kumar > ******************** > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > from string import maketrans as the error message suggests arguments to maketrans must be byte object intab = b"aeiou" outtab = b"12345" trantab = maketrans(intab, outtab) st = "this is string example....wow!!!"; print(st.translate(trantab)) -- ashok raavi -------------- next part -------------- An HTML attachment was scrubbed... URL: From sidharth.kuruvila at gmail.com Tue Oct 20 12:08:43 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Tue, 20 Oct 2009 15:38:43 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: References: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> <8548c5f30910200229g39d8380u5f95cbffc0b5a436@mail.gmail.com> Message-ID: <2ab2ed550910200308w4888c52cub310935e4df64cda@mail.gmail.com> Hi, Blargh! Boy! Read the mails! That code you wrote runs fine on 2.6. But won't run on 3.0. This should work. intab = "aeiou" outtab = "12345" trantab = str.maketrans(intab,outtab) #Watch this line! st = "this is string example....wow!!!"; print(st.translate(trantab)) Basically they've moved maketrans from string to str. Regards, Sidharth On Tue, Oct 20, 2009 at 3:11 PM, Senthil Kumar M wrote: > from string import maketrans > intab = "aeiou" > outtab = "12345" > trantab = maketrans(intab,outtab) > st = "this is string example....wow!!!"; > print(st.translate(trantab)) > ------------------------------------------------------ > I got this error, > Traceback (most recent call last): > ??File "C:\Python30\fullpath.py", line 4, in > ?? ?trantab = maketrans(intab,outtab) > ??File "C:\Python30\lib\string.py", line 55, in maketrans > ?? ?raise TypeError("maketrans arguments must be bytes objects") > TypeError: maketrans arguments must be bytes objects > > > > On Tue, Oct 20, 2009 at 2:59 PM, Anand Balachandran Pillai > wrote: >> >> >> On Tue, Oct 20, 2009 at 2:40 PM, Senthil Kumar M >> wrote: >>> >>> ---------------------------------------------------------- >>> #!/usr/bin/python >>> from string import maketrans >>> intab = "aeiou" >>> outtab = "12345" >>> trantab = intab.maketrans(outtab) >>> str = "this is string example....wow!!!"; >>> print str.translate(trantab); >> >> ?"print" is a function from python 3.0. Change this to, >> ?print (str.translate(trantab)) >> >> ?And you don't need semi-colons in Python. Semi-colons >> ?are used only to separate 2 expressions in the same line. >> ?Something like >> >> ?x=2; print x >> >> ?Here they are superfluous. >> >> ?And I think "outtab" should be a dict, not string... but I am not sure. >> >>> >>> ------------------------------------------------------------ >>> Thanks for the response. >>> I changed the code as above >>> this code too shows an error. >>> >>> On Tue, Oct 20, 2009 at 2:23 PM, Sidharth Kuruvila >>> wrote: >>>> >>>> Hi, >>>> This looks like it's because python's strings have change in python 3. >>>> The characters used to be 8bit bytes but now they are 16 bits wide. >>>> >>>> A quick google tells me that str now has a method called maketrans so >>>> s1.maketrans(s2) should work. >>>> >>>> I'm guessing you are using a tutorial written for one of the older >>>> versions of python. I'd suggest you either find a python 3 based >>>> tutorial or use an older version of python, maybe python 2.6. >>>> >>>> ps Can you cut and paste the code into the mail next time, images are >>>> a pain to work with. >>>> >>>> Regards, >>>> Sidharth >>>> >>>> On Tue, Oct 20, 2009 at 1:52 PM, Senthil Kumar M >>>> wrote: >>>> > >>>> > I am using python IDLE (python3.0.1) . I dont know why this error >>>> > comes ? I >>>> > am a new user to python. >>>> > >>>> > the link of the image snapshot is >>>> > http://img197.imageshack.us/img197/3405/pythonshell.png >>>> > >>>> > -- >>>> > ******************** >>>> > M.Senthil Kumar >>>> > ******************** >>>> > >>>> > _______________________________________________ >>>> > BangPypers mailing list >>>> > BangPypers at python.org >>>> > http://mail.python.org/mailman/listinfo/bangpypers >>>> > >>>> > >>>> >>>> >>>> >>>> -- >>>> I am but a man. >>>> _______________________________________________ >>>> BangPypers mailing list >>>> BangPypers at python.org >>>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >>> >>> -- >>> ******************** >>> M.Senthil Kumar >>> ******************** >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >> >> >> >> -- >> --Anand >> >> >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > ******************** > M.Senthil Kumar > ******************** > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- I am but a man. From msenthil008 at gmail.com Tue Oct 20 12:18:20 2009 From: msenthil008 at gmail.com (Senthil Kumar M) Date: Tue, 20 Oct 2009 15:48:20 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: <2aa122da0910200308q7db8bed6vda85e91bbd71b533@mail.gmail.com> References: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> <8548c5f30910200229g39d8380u5f95cbffc0b5a436@mail.gmail.com> <8548c5f30910200244m33d3aa41re672b1c82b4d38bf@mail.gmail.com> <2aa122da0910200308q7db8bed6vda85e91bbd71b533@mail.gmail.com> Message-ID: this works fine.thank you On Tue, Oct 20, 2009 at 3:38 PM, ashok raavi wrote: > > > On Tue, Oct 20, 2009 at 3:24 PM, Senthil Kumar M wrote: > >> See this link. I have tried this site but could not find what is the >> mistake.Thats why I send it here.ok? >> >> http://docs.python.org/dev/3.0/library/stdtypes.html?highlight=maketrans#str.maketrans >> >> >> On Tue, Oct 20, 2009 at 3:14 PM, Anand Balachandran Pillai < >> abpillai at gmail.com> wrote: >> >>> >>> >>> On Tue, Oct 20, 2009 at 3:11 PM, Senthil Kumar M wrote: >>> >>>> from string import maketrans >>>> intab = "aeiou" >>>> outtab = "12345" >>>> trantab = maketrans(intab,outtab) >>>> st = "this is string example....wow!!!"; >>>> print(st.translate(trantab)) >>>> ------------------------------------------------------ >>>> >>>> I got this error, >>>> >>>> Traceback (most recent call last): >>>> File "C:\Python30\fullpath.py", line 4, in >>>> trantab = maketrans(intab,outtab) >>>> File "C:\Python30\lib\string.py", line 55, in maketrans >>>> raise TypeError("maketrans arguments must be bytes objects") >>>> TypeError: maketrans arguments must be bytes objects >>>> >>> >>> Spend some time learning Python and use this list only for help on >>> things which you can't figure out even after trying. Don't use the list >>> as a help() on paste every other Python exception thrown by the >>> interpreter, >>> expecting someone to spoon feed your Python trip. >>> >>> In this case, check out the Python documentation on string module. >>> >>> >>> >>> >>>> >>>> >>>> >>>> On Tue, Oct 20, 2009 at 2:59 PM, Anand Balachandran Pillai < >>>> abpillai at gmail.com> wrote: >>>> >>>>> >>>>> >>>>> On Tue, Oct 20, 2009 at 2:40 PM, Senthil Kumar M < >>>>> msenthil008 at gmail.com> wrote: >>>>> >>>>>> ---------------------------------------------------------- >>>>>> #!/usr/bin/python >>>>>> >>>>>> from string import maketrans >>>>>> intab = "aeiou" >>>>>> outtab = "12345" >>>>>> trantab = intab.maketrans(outtab) >>>>>> >>>>>> str = "this is string example....wow!!!"; >>>>>> print str.translate(trantab); >>>>>> >>>>> >>>>> "print" is a function from python 3.0. Change this to, >>>>> print (str.translate(trantab)) >>>>> >>>>> And you don't need semi-colons in Python. Semi-colons >>>>> are used only to separate 2 expressions in the same line. >>>>> Something like >>>>> >>>>> x=2; print x >>>>> >>>>> Here they are superfluous. >>>>> >>>>> And I think "outtab" should be a dict, not string... but I am not >>>>> sure. >>>>> >>>>> >>>>>> ------------------------------------------------------------ >>>>>> Thanks for the response. >>>>>> I changed the code as above >>>>>> this code too shows an error. >>>>>> >>>>>> >>>>>> On Tue, Oct 20, 2009 at 2:23 PM, Sidharth Kuruvila < >>>>>> sidharth.kuruvila at gmail.com> wrote: >>>>>> >>>>>>> Hi, >>>>>>> This looks like it's because python's strings have change in python >>>>>>> 3. >>>>>>> The characters used to be 8bit bytes but now they are 16 bits wide. >>>>>>> >>>>>>> A quick google tells me that str now has a method called maketrans so >>>>>>> s1.maketrans(s2) should work. >>>>>>> >>>>>>> I'm guessing you are using a tutorial written for one of the older >>>>>>> versions of python. I'd suggest you either find a python 3 based >>>>>>> tutorial or use an older version of python, maybe python 2.6. >>>>>>> >>>>>>> ps Can you cut and paste the code into the mail next time, images are >>>>>>> a pain to work with. >>>>>>> >>>>>>> Regards, >>>>>>> Sidharth >>>>>>> >>>>>>> On Tue, Oct 20, 2009 at 1:52 PM, Senthil Kumar M < >>>>>>> msenthil008 at gmail.com> wrote: >>>>>>> > >>>>>>> > I am using python IDLE (python3.0.1) . I dont know why this error >>>>>>> comes ? I >>>>>>> > am a new user to python. >>>>>>> > >>>>>>> > the link of the image snapshot is >>>>>>> > http://img197.imageshack.us/img197/3405/pythonshell.png >>>>>>> > >>>>>>> > -- >>>>>>> > ******************** >>>>>>> > M.Senthil Kumar >>>>>>> > ******************** >>>>>>> > >>>>>>> > _______________________________________________ >>>>>>> > BangPypers mailing list >>>>>>> > BangPypers at python.org >>>>>>> > http://mail.python.org/mailman/listinfo/bangpypers >>>>>>> > >>>>>>> > >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> I am but a man. >>>>>>> _______________________________________________ >>>>>>> BangPypers mailing list >>>>>>> BangPypers at python.org >>>>>>> http://mail.python.org/mailman/listinfo/bangpypers >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> ******************** >>>>>> M.Senthil Kumar >>>>>> ******************** >>>>>> >>>>>> _______________________________________________ >>>>>> BangPypers mailing list >>>>>> BangPypers at python.org >>>>>> http://mail.python.org/mailman/listinfo/bangpypers >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> --Anand >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> BangPypers mailing list >>>>> BangPypers at python.org >>>>> http://mail.python.org/mailman/listinfo/bangpypers >>>>> >>>>> >>>> >>>> >>>> -- >>>> ******************** >>>> M.Senthil Kumar >>>> ******************** >>>> >>>> _______________________________________________ >>>> BangPypers mailing list >>>> BangPypers at python.org >>>> http://mail.python.org/mailman/listinfo/bangpypers >>>> >>>> >>> >>> >>> -- >>> --Anand >>> >>> >>> >>> >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >>> >> >> >> -- >> ******************** >> M.Senthil Kumar >> ******************** >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > from string import maketrans > > as the error message suggests arguments to maketrans must be byte object > > intab = b"aeiou" > outtab = b"12345" > > > trantab = maketrans(intab, outtab) > > st = "this is string example....wow!!!"; > print(st.translate(trantab)) > > > > -- > ashok raavi > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- ******************** M.Senthil Kumar ******************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbaiju at zeomega.com Tue Oct 20 12:23:40 2009 From: mbaiju at zeomega.com (Baiju M) Date: Tue, 20 Oct 2009 15:53:40 +0530 Subject: [BangPypers] Posting style Message-ID: Hi, I hope this link would be useful for some newly joined members: http://en.wikipedia.org/wiki/Posting_style Regards, Baiju M From abpillai at gmail.com Tue Oct 20 12:27:54 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 20 Oct 2009 15:57:54 +0530 Subject: [BangPypers] help me to fix this error In-Reply-To: <2ab2ed550910200308w4888c52cub310935e4df64cda@mail.gmail.com> References: <2ab2ed550910200153h4fe17bcby61dfc0df9ae70c14@mail.gmail.com> <8548c5f30910200229g39d8380u5f95cbffc0b5a436@mail.gmail.com> <2ab2ed550910200308w4888c52cub310935e4df64cda@mail.gmail.com> Message-ID: <8548c5f30910200327m3b8c4b9dqd35d73dc82123322@mail.gmail.com> On Tue, Oct 20, 2009 at 3:38 PM, Sidharth Kuruvila < sidharth.kuruvila at gmail.com> wrote: > Hi, > Blargh! Boy! Read the mails! That code you wrote runs fine on 2.6. > But won't run on 3.0. > > This should work. > > intab = "aeiou" > outtab = "12345" > trantab = str.maketrans(intab,outtab) #Watch this line! > st = "this is string example....wow!!!"; > print(st.translate(trantab)) > > Basically they've moved maketrans from string to str. > Moral of story: Don't use functions on string module, use them on the string object. Using "string.<...>" is bad coding in Python. > > Regards, > Sidharth > > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Tue Oct 20 12:46:10 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Tue, 20 Oct 2009 16:16:10 +0530 Subject: [BangPypers] Posting style In-Reply-To: References: Message-ID: <200910201616.11501.lawgon@au-kbc.org> On Tuesday 20 Oct 2009 3:53:40 pm Baiju M wrote: > Hi, > I hope this link would be useful for some newly joined > members: > http://en.wikipedia.org/wiki/Posting_style I am afraid this is going to confuse readers - what we need is 'which of these styles is preferred on this list?', or we need to state that this list is agnostic to posting styles. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From sridhar.ratna at gmail.com Tue Oct 20 13:50:35 2009 From: sridhar.ratna at gmail.com (srid) Date: Tue, 20 Oct 2009 17:20:35 +0530 Subject: [BangPypers] I am new to python language. Suggest way to improve my skills in python In-Reply-To: References: <3d62196a0910192345m3e6bb3dlabf853c036e3eb92@mail.gmail.com> Message-ID: <7c73a13a0910200450m31a6482bk214fb47bbf1feaa0@mail.gmail.com> >> On Tue, Oct 20, 2009 at 11:34 AM, Senthil Kumar M >> wrote: >>> I am new to python language. Suggest way to improve my skills in python > On Tue, Oct 20, 2009 at 12:15 PM, Arvind Jamuna Dixit > wrote: >> You may find something useful in the answers to these questions. >> http://stackoverflow.com/questions/tagged/python+learning On Tue, Oct 20, 2009 at 1:25 PM, Senthil Kumar M wrote: > thank the link. I will check In addition you may want to recall that learning process in general involves both motivation and repetition. This means, for instance, 1) having a desire (motivation) to write a great piece of software using Python .. and reading/writing (repetition) lots of Python code. At least, that's how it worked for me. -srid From noufal at gmail.com Tue Oct 20 13:58:52 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 20 Oct 2009 17:28:52 +0530 Subject: [BangPypers] Posting style In-Reply-To: References: Message-ID: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> On Tue, Oct 20, 2009 at 3:53 PM, Baiju M wrote: > Hi, > ? ?I hope this link would be useful for some newly joined > members: > http://en.wikipedia.org/wiki/Posting_style This helped me when I first ventured into mailing lists and IRC http://catb.org/~esr/faqs/smart-questions.html -- ~noufal http://nibrahim.net.in From noufal at gmail.com Tue Oct 20 13:59:15 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 20 Oct 2009 17:29:15 +0530 Subject: [BangPypers] Posting style In-Reply-To: <200910201616.11501.lawgon@au-kbc.org> References: <200910201616.11501.lawgon@au-kbc.org> Message-ID: <9963e56e0910200459k58af1ad8h67851ccf01e2d731@mail.gmail.com> On Tue, Oct 20, 2009 at 4:16 PM, Kenneth Gonsalves wrote: > On Tuesday 20 Oct 2009 3:53:40 pm Baiju M wrote: >> Hi, >> ? ? I hope this link would be useful for some newly joined >> members: >> http://en.wikipedia.org/wiki/Posting_style > > I am afraid this is going to confuse readers - what we need is 'which of these > styles is preferred on this list?', or we need to state that this list is > agnostic to posting styles. > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- ~noufal http://nibrahim.net.in From abpillai at gmail.com Tue Oct 20 14:03:21 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 20 Oct 2009 17:33:21 +0530 Subject: [BangPypers] Posting style In-Reply-To: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> References: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> Message-ID: <8548c5f30910200503q1ce382bjfc179d1428cf00c2@mail.gmail.com> On Tue, Oct 20, 2009 at 5:28 PM, Noufal Ibrahim wrote: > On Tue, Oct 20, 2009 at 3:53 PM, Baiju M wrote: > > Hi, > > I hope this link would be useful for some newly joined > > members: > > http://en.wikipedia.org/wiki/Posting_style > > This helped me when I first ventured into mailing lists and IRC > http://catb.org/~esr/faqs/smart-questions.html > +1<<21 This needs to be compulsory reading for those who post to forums especially n00bs so that they don't become lusers. I will add this link to welcome message of this list. > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From lawgon at au-kbc.org Tue Oct 20 14:01:14 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Tue, 20 Oct 2009 17:31:14 +0530 Subject: [BangPypers] Posting style In-Reply-To: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> References: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> Message-ID: <200910201731.14508.lawgon@au-kbc.org> On Tuesday 20 Oct 2009 5:28:52 pm Noufal Ibrahim wrote: > On Tue, Oct 20, 2009 at 3:53 PM, Baiju M wrote: > > Hi, > > I hope this link would be useful for some newly joined > > members: > > http://en.wikipedia.org/wiki/Posting_style > > This helped me when I first ventured into mailing lists and IRC > http://catb.org/~esr/faqs/smart-questions.html here are the guidelines for ilugc: http://demo.ilugc.org.in/report/4/ -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Tue Oct 20 14:23:01 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Tue, 20 Oct 2009 17:53:01 +0530 Subject: [BangPypers] Posting style In-Reply-To: <8548c5f30910200503q1ce382bjfc179d1428cf00c2@mail.gmail.com> References: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> <8548c5f30910200503q1ce382bjfc179d1428cf00c2@mail.gmail.com> Message-ID: <200910201753.02175.lawgon@au-kbc.org> On Tuesday 20 Oct 2009 5:33:21 pm Anand Balachandran Pillai wrote: > > This helped me when I first ventured into mailing lists and IRC > > http://catb.org/~esr/faqs/smart-questions.html >s/smart-questions.html> > > +1<<21 > > This needs to be compulsory reading for those who post to forums > especially n00bs so that they don't become lusers. > > I will add this link to welcome message of this list. once again I need to emphasise that first we need to decide whether this list will have recommended posting guidelines - else, every time anyone is reminded of it he will say 'who you to tell me how to post?' -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From abpillai at gmail.com Tue Oct 20 14:36:30 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 20 Oct 2009 18:06:30 +0530 Subject: [BangPypers] Posting style In-Reply-To: <200910201753.02175.lawgon@au-kbc.org> References: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> <8548c5f30910200503q1ce382bjfc179d1428cf00c2@mail.gmail.com> <200910201753.02175.lawgon@au-kbc.org> Message-ID: <8548c5f30910200536w2a074d80l8004930e6b8fc5ce@mail.gmail.com> On Tue, Oct 20, 2009 at 5:53 PM, Kenneth Gonsalves wrote: > On Tuesday 20 Oct 2009 5:33:21 pm Anand Balachandran Pillai wrote: > > > This helped me when I first ventured into mailing lists and IRC > > > http://catb.org/~esr/faqs/smart-questions.html > > >s/smart-questions.html> > > > > +1<<21 > > > > This needs to be compulsory reading for those who post to forums > > especially n00bs so that they don't become lusers. > > > > I will add this link to welcome message of this list. > > once again I need to emphasise that first we need to decide whether this > list > will have recommended posting guidelines - else, every time anyone is > reminded > of it he will say 'who you to tell me how to post?' > Yes. It is better to have some guidelines and being informed up front when joining the list than having to remind each and every person, "do this, do that, don't do this, don't use attachments, don't X post" etc... > -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at lonetwin.net Tue Oct 20 14:49:14 2009 From: steve at lonetwin.net (steve) Date: Tue, 20 Oct 2009 18:19:14 +0530 Subject: [BangPypers] Posting style In-Reply-To: <8548c5f30910200536w2a074d80l8004930e6b8fc5ce@mail.gmail.com> References: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> <8548c5f30910200503q1ce382bjfc179d1428cf00c2@mail.gmail.com> <200910201753.02175.lawgon@au-kbc.org> <8548c5f30910200536w2a074d80l8004930e6b8fc5ce@mail.gmail.com> Message-ID: <4ADDB1CA.6030708@lonetwin.net> On 10/20/2009 06:06 PM, Anand Balachandran Pillai wrote: > On Tue, Oct 20, 2009 at 5:53 PM, Kenneth Gonsalves > I will add this link to welcome message of this list. > > once again I need to emphasise that first we need to decide whether > this list > will have recommended posting guidelines - else, every time anyone > is reminded > of it he will say 'who you to tell me how to post?' > > > Yes. It is better to have some guidelines and being informed up front > when joining the list than having to remind each and every person, > "do this, do that, don't do this, don't use attachments, don't X post" > etc... I vote for mandating interleaved posting and non-html mail. The non-html is because, looking at code, especially python code, in a variable width font is painful and interleaved posting because it just is the most natural manner to carry on a conversation with more than one person. ...and for people who think that nobody can tell them how they should post would be also spared any comments from me (and possibly others too). Everybody wins ! cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From abpillai at gmail.com Tue Oct 20 15:02:58 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Tue, 20 Oct 2009 18:32:58 +0530 Subject: [BangPypers] HTML Parsing in python In-Reply-To: <9a1343d10909100714g348e26f0w577108bf49c89856@mail.gmail.com> References: <9a1343d10909100159v24192079q303e2ff9fdef211f@mail.gmail.com> <9a1343d10909100714g348e26f0w577108bf49c89856@mail.gmail.com> Message-ID: <8548c5f30910200602p6d121f39j796abcbc461840f1@mail.gmail.com> On Thu, Sep 10, 2009 at 7:44 PM, Puneet Aggarwal wrote: > Thanks all for the suggestions. I think I will start with BeautifulSoup > (3.0.7a) and will experiment with other suggested libs if it does not fit > into my requirement or if I face issues with this. > You are not going to believe this, but the creator of BeautifulSoup (Leonardo) advised me to use the SGMLParser module in Python for parsing HTML. This was back in 2004 (or 2005) when I had written to him regarding BeautifulSoup as parser in HarvestMan. He advised me to derive a wrapper from SGMLParser and thats what I did. In case you are interested, you can check out the HTML parser used in HarvestMan. It is available at, http://harvestman-crawler.googlecode.com/svn/trunk/HarvestMan/harvestman/lib/pageparser.py > > On Thu, Sep 10, 2009 at 7:07 PM, Baishampayan Ghose wrote: > >> > Can anyone suggest me a good library for html parsing in python ? >> > I googled a found few libararies BeautifulSoup, HTMLParser, SGMLParser >> etc. >> > >> > Can anyone suggest me which should I go for from your experience. >> >> BeautifulSoup was OK, but now it's broken. Use lxml, it's very good. >> >> http://codespeak.net/lxml/ >> >> Regards, >> BG >> >> >> -- >> Baishampayan Ghose >> b.ghose at gmail.com >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- --Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: From yuvipanda at gmail.com Tue Oct 20 15:04:55 2009 From: yuvipanda at gmail.com (Yuvi Panda) Date: Tue, 20 Oct 2009 18:34:55 +0530 Subject: [BangPypers] HTML Parsing in python In-Reply-To: <8548c5f30910200602p6d121f39j796abcbc461840f1@mail.gmail.com> References: <9a1343d10909100159v24192079q303e2ff9fdef211f@mail.gmail.com> <9a1343d10909100714g348e26f0w577108bf49c89856@mail.gmail.com> <8548c5f30910200602p6d121f39j796abcbc461840f1@mail.gmail.com> Message-ID: <45ec909c0910200604s408d418dscacdc36fb0166d49@mail.gmail.com> I use lxml.html. Just as good, and MUCH faster. A pain to install though. On Tue, Oct 20, 2009 at 6:32 PM, Anand Balachandran Pillai < abpillai at gmail.com> wrote: > > > On Thu, Sep 10, 2009 at 7:44 PM, Puneet Aggarwal wrote: > >> Thanks all for the suggestions. I think I will start with BeautifulSoup >> (3.0.7a) and will experiment with other suggested libs if it does not fit >> into my requirement or if I face issues with this. >> > > You are not going to believe this, but the creator of BeautifulSoup > (Leonardo) > advised me to use the SGMLParser module in Python for parsing HTML. This > was back in 2004 (or 2005) when I had written to him regarding > BeautifulSoup > as parser in HarvestMan. He advised me to derive a wrapper from SGMLParser > and thats what I did. > > In case you are interested, you can check out the HTML parser used in > HarvestMan. > It is available at, > > > http://harvestman-crawler.googlecode.com/svn/trunk/HarvestMan/harvestman/lib/pageparser.py > > > >> >> On Thu, Sep 10, 2009 at 7:07 PM, Baishampayan Ghose wrote: >> >>> > Can anyone suggest me a good library for html parsing in python ? >>> > I googled a found few libararies BeautifulSoup, HTMLParser, SGMLParser >>> etc. >>> > >>> > Can anyone suggest me which should I go for from your experience. >>> >>> BeautifulSoup was OK, but now it's broken. Use lxml, it's very good. >>> >>> http://codespeak.net/lxml/ >>> >>> Regards, >>> BG >>> >>> >>> -- >>> Baishampayan Ghose >>> b.ghose at gmail.com >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > > > -- > --Anand > > > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Yuvi Panda T http://yuvisense.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From sridhar.ratna at gmail.com Tue Oct 20 15:17:03 2009 From: sridhar.ratna at gmail.com (srid) Date: Tue, 20 Oct 2009 18:47:03 +0530 Subject: [BangPypers] HTML Parsing in python In-Reply-To: <45ec909c0910200604s408d418dscacdc36fb0166d49@mail.gmail.com> References: <9a1343d10909100159v24192079q303e2ff9fdef211f@mail.gmail.com> <9a1343d10909100714g348e26f0w577108bf49c89856@mail.gmail.com> <8548c5f30910200602p6d121f39j796abcbc461840f1@mail.gmail.com> <45ec909c0910200604s408d418dscacdc36fb0166d49@mail.gmail.com> Message-ID: <7c73a13a0910200617td3e97b8ye8cce41b78d7973b@mail.gmail.com> On Tue, Oct 20, 2009 at 6:34 PM, Yuvi Panda wrote: > I use lxml.html. Just as good, and MUCH faster. A pain to install though. If you're using ActivePython, the following command is just enough to get lxml installed on Mac, Linux or Windows: $ pypm install lxml http://docs.activestate.com/activepython/2.6/pypm.html -srid From sridhar.ratna at gmail.com Wed Oct 21 04:36:06 2009 From: sridhar.ratna at gmail.com (srid) Date: Wed, 21 Oct 2009 08:06:06 +0530 Subject: [BangPypers] An interesting beginner post at Stackoverflow Message-ID: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> http://stackoverflow.com/questions/1597764/is-there-a-better-pythonic-way-to-do-this Someone wrote their *first* Python program asking for a more Pythonic way to do it ... and gets valuable feedback from the community including Alex Martelli. I am now researching on a way to gather top posts (w/ python tag) on Stackoverflow to create something similar to weeklyreddit.appspot.com ... -srid From rmathews at gmail.com Wed Oct 21 04:59:27 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 21 Oct 2009 08:29:27 +0530 Subject: [BangPypers] An interesting beginner post at Stackoverflow In-Reply-To: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> References: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> Message-ID: <1c4dc2780910201959k3a836bd8o10d18afbd50eb93a@mail.gmail.com> On Wed, Oct 21, 2009 at 8:06 AM, srid wrote: > http://stackoverflow.com/questions/1597764/is-there-a-better-pythonic-way-to-do-this > Nice. Martelli says: (avoid setdefault, that was never a good design and doesn't have good performance either, as well as being pretty murky) Any idea why? > I am now researching on a way to gather top posts (w/ python tag) on > Stackoverflow to create something similar to weeklyreddit.appspot.com > Weekly Reddit is such a cool idea, except I end up checking proggit frequently anyways. Then I guilt out when I get the rss posts on Sunday. :-S Roshan Mathews From lawgon at au-kbc.org Wed Oct 21 07:38:42 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 21 Oct 2009 11:08:42 +0530 Subject: [BangPypers] Posting style In-Reply-To: <4ADDB1CA.6030708@lonetwin.net> References: <8548c5f30910200536w2a074d80l8004930e6b8fc5ce@mail.gmail.com> <4ADDB1CA.6030708@lonetwin.net> Message-ID: <200910211108.43226.lawgon@au-kbc.org> On Tuesday 20 Oct 2009 6:19:14 pm steve wrote: > > Yes. It is better to have some guidelines and being informed up front > > when joining the list than having to remind each and every person, > > "do this, do that, don't do this, don't use attachments, don't X post" > > etc... > > I vote for mandating interleaved posting and non-html mail. The non-html is > because, looking at code, especially python code, in a variable width font > is painful and interleaved posting because it just is the most natural > manner to carry on a conversation with more than one person. I suggest that we more or less adopt something similar to what ILUGC has, Anand may make suitable modifications and put it up in a wiki page - after an appropriate period it may become holy writ. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From sidharth.kuruvila at gmail.com Wed Oct 21 08:35:14 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Wed, 21 Oct 2009 12:05:14 +0530 Subject: [BangPypers] An interesting beginner post at Stackoverflow In-Reply-To: <1c4dc2780910201959k3a836bd8o10d18afbd50eb93a@mail.gmail.com> References: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> <1c4dc2780910201959k3a836bd8o10d18afbd50eb93a@mail.gmail.com> Message-ID: <2ab2ed550910202335l26c40df1ia37b779f6b0609a1@mail.gmail.com> Hi, d = {"a":"Hello"} print d.setdefault("a", "blah") Even though the string blah is not being used an object has to be created to represent it. Even worse, you could put some complex expression in there expecting it to evaluate only if the key is missing. Regards, Sidharth On Wed, Oct 21, 2009 at 8:29 AM, Roshan Mathews wrote: > On Wed, Oct 21, 2009 at 8:06 AM, srid wrote: >> http://stackoverflow.com/questions/1597764/is-there-a-better-pythonic-way-to-do-this >> > Nice. ?Martelli says: > ? ?(avoid setdefault, that was never a good design and doesn't have > ? ? good performance either, as well as being pretty murky) > > Any idea why? > >> I am now researching on a way to gather top posts (w/ python tag) on >> Stackoverflow to create something similar to weeklyreddit.appspot.com >> > Weekly Reddit is such a cool idea, except I end up checking proggit > frequently anyways. ?Then I guilt out when I get the rss posts on > Sunday. ?:-S > > Roshan Mathews > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- I am but a man. From rmathews at gmail.com Wed Oct 21 08:42:10 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 21 Oct 2009 12:12:10 +0530 Subject: [BangPypers] An interesting beginner post at Stackoverflow In-Reply-To: <2ab2ed550910202335l26c40df1ia37b779f6b0609a1@mail.gmail.com> References: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> <1c4dc2780910201959k3a836bd8o10d18afbd50eb93a@mail.gmail.com> <2ab2ed550910202335l26c40df1ia37b779f6b0609a1@mail.gmail.com> Message-ID: <1c4dc2780910202342r2cbae113ye0938a646270e1a0@mail.gmail.com> On Wed, Oct 21, 2009 at 12:05 PM, Sidharth Kuruvila wrote: > ?d = {"a":"Hello"} > ?print d.setdefault("a", "blah") > > ?Even though the string blah is not being used an object has to be > created to represent it. Even worse, you could put some complex > expression in there expecting it to evaluate only if the key is > missing. > Oh, alright. Roshan Mathews From anandology at gmail.com Wed Oct 21 08:49:31 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 21 Oct 2009 12:19:31 +0530 Subject: [BangPypers] An interesting beginner post at Stackoverflow In-Reply-To: <2ab2ed550910202335l26c40df1ia37b779f6b0609a1@mail.gmail.com> References: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> <1c4dc2780910201959k3a836bd8o10d18afbd50eb93a@mail.gmail.com> <2ab2ed550910202335l26c40df1ia37b779f6b0609a1@mail.gmail.com> Message-ID: <41139fcb0910202349t788f11b1re018c7621983ee77@mail.gmail.com> On Wed, Oct 21, 2009 at 12:05 PM, Sidharth Kuruvila wrote: > Hi, > > ?d = {"a":"Hello"} > > ?print d.setdefault("a", "blah") > > ?Even though the string blah is not being used an object has to be > created to represent it. Even worse, you could put some complex > expression in there expecting it to evaluate only if the key is > missing. Your explanation is correct for the case of expressions but not for string "blah". Literal strings are interned. Python maintains a dict of all literal strings used in the code and all occurrences get the same object. >>> id("hello") 600320 >>> id("hello") 600320 But if it is an expression, different object is created every time. >>> id("he" + "llo") 600704 >>> id("he" + "llo") 600768 Anand From rmathews at gmail.com Wed Oct 21 08:59:51 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 21 Oct 2009 12:29:51 +0530 Subject: [BangPypers] An interesting beginner post at Stackoverflow In-Reply-To: <41139fcb0910202349t788f11b1re018c7621983ee77@mail.gmail.com> References: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> <1c4dc2780910201959k3a836bd8o10d18afbd50eb93a@mail.gmail.com> <2ab2ed550910202335l26c40df1ia37b779f6b0609a1@mail.gmail.com> <41139fcb0910202349t788f11b1re018c7621983ee77@mail.gmail.com> Message-ID: <1c4dc2780910202359k44813b61se3f2e0638171cfc5@mail.gmail.com> On Wed, Oct 21, 2009 at 12:19 PM, Anand Chitipothu wrote: > Literal strings are interned. Python maintains a dict of all literal > strings used in the code and all occurrences get the same object. > What do you mean when you use the word "interned"? >>>> id("hello") > 600320 >>>> id("hello") > 600320 > Roshan Mathews From anandology at gmail.com Wed Oct 21 09:01:43 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 21 Oct 2009 12:31:43 +0530 Subject: [BangPypers] An interesting beginner post at Stackoverflow In-Reply-To: <1c4dc2780910202359k44813b61se3f2e0638171cfc5@mail.gmail.com> References: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> <1c4dc2780910201959k3a836bd8o10d18afbd50eb93a@mail.gmail.com> <2ab2ed550910202335l26c40df1ia37b779f6b0609a1@mail.gmail.com> <41139fcb0910202349t788f11b1re018c7621983ee77@mail.gmail.com> <1c4dc2780910202359k44813b61se3f2e0638171cfc5@mail.gmail.com> Message-ID: <41139fcb0910210001t328977bdre7c264ae2db968e9@mail.gmail.com> > What do you mean when you use the word "interned"? $ pydoc intern Help on built-in function intern in module __builtin__: intern(...) intern(string) -> string ``Intern'' the given string. This enters the string in the (global) table of interned strings whose purpose is to speed up dictionary lookups. Return the string itself or the previously interned string object with the same value. From ardsrk at gmail.com Wed Oct 21 09:21:54 2009 From: ardsrk at gmail.com (Arvind Jamuna Dixit) Date: Wed, 21 Oct 2009 12:51:54 +0530 Subject: [BangPypers] Open Calais ? Bellenix meeting In-Reply-To: <3d62196a0910190754w2c1c0c03w1dd1553e42f71cf7@mail.gmail.com> References: <9963e56e0910180822r71e0cb8aj2bb8f719235a0054@mail.gmail.com> <49977f270910180900w607a530bgb86eb53bf25825ed@mail.gmail.com> <8548c5f30910182247g5a5e47cao1a937092ea63908a@mail.gmail.com> <3d62196a0910190754w2c1c0c03w1dd1553e42f71cf7@mail.gmail.com> Message-ID: <3d62196a0910210021j4f2e0b07hc835f069e93d4e4c@mail.gmail.com> There is a small correction with respect to the percentage value given to the entity. I previously thought that the percentage value with the entity indicated how sure OpenCalais was on the element being an entity. That turns out to be incorrect. Thomas from OpenCalais team mailed me the correction and it goes like this: "Just a quick note on an email I saw on this list. The % returned by Calais with an entity is not the certainty of correctness ? but something much cooler. It?s actually the computed relevance of the entity to the document as a whole. Feed it an article with a bunch of entities mentions and we?ll attempt to identify the most important entities in the content. Great for noise level reduction in tagging, etc." Thanks Thomas. On Mon, Oct 19, 2009 at 8:24 PM, Arvind Jamuna Dixit wrote: > The demo given by Anand on semantic search of feeds using OpenCalais was > very interesting. > The fact that his app essentially did something that Feedly( based on Google Reader ) does piqued my interest. > > Feedly too uses OpenCalais to get semantic information on a blog post and > for search. > If you use Google Reader as a RSS reader then you have to check out Feedly. > > Anand used python-calais for > communicating to the OpenCalais API > . > Anand then showed how OpenCalais categorized the input text into entities, > topics and relations. > With every entity OpenCalais attached a percentage that indicated how sure > it was on the element being the entity > whose identity was given by a URL. For instance, there is a URL identiying > the entity "Android" as a product. > > Open Calais is exciting new technology that has made information gathering > applications like Feedly and Klezio possible. > Another application is Tagaroo a > wordpress plugin that automatically generates tags as you type your blog > post. > > In the meetup Anand said that the current state-of-the-art of semantic web > is not even 5% of its potential. A quick search of the term > imagine semantic webon ReadWriteWeb shows that a lot of businesses and visionaries are betting > big on semantic web and know that > it has a lot of potential. > > > > > On Mon, Oct 19, 2009 at 11:17 AM, Anand Balachandran Pillai < > abpillai at gmail.com> wrote: > >> >> >> On Sun, Oct 18, 2009 at 9:30 PM, Sriram Narayanan wrote: >> >>> On Sun, Oct 18, 2009 at 8:52 PM, Noufal Ibrahim >>> wrote: >>> > Hi, >>> > I had some stuff to take care of and was too tired to attend the >>> > meeting. How did it go? Any tidbits that the list might benefit from? >>> > >>> >>> The opencalais session was good. I'm going to tell my colleagues about >>> this, and they'd surely explore it more. >>> >>> Anand and Ramdas have asked that we have sessions again with more >>> detail. I agree, since the scant amount of ZFS that I showcased today >>> was in itself radically different from what we all know from other >>> file systems. >>> >>> I request feedback from other attendees on today's ZFS session. Please >>> let me know what else you'd have liked me to cover at an introduction >>> level. >>> >> >> We had a good meeting. There were some initial hiccups with the >> projector but moving to a separate meeting room solved it. >> >> I presented a brief introduction to semantic web and showcased the >> OpenCalais API using python-calais. I showed how to extract semantic >> concepts (categories) from existing data using the API. >> >> I went on to demo my application which listens to a couple of mobile >> phone news feeds and uses semantic information returned by OpenCalais >> to provide specific natural language queries (not exactly NLP there yet, >> but I am simulating NLP like queries) which return specific answers. >> >> The demo showed making a query on "cost of motorola android" and >> this returning the specific data requested on the price of the most >> recent motorola android mobile phones. >> >> I will wait for some other attendee for their feedback on how good >> this was rather than making the comment myself :) >> >> This was followed by a very good session by Sriram and Moinak on >> the capabilities of ZFS. I don't want to get into details, but I was blown >> away by the capabilities of ZFS. I had only read about it before and never >> seen it in action, so when Sriram showed how to increase the storage >> of an existing volume by adding another device and just adding it to >> the volume using "zfs add" it was just too good to believe. ZFS >> makes those actions which could take hours using Linux ext3 >> look trivial and done within seconds...! >> >> We started the ZFS session a bit late i.e around 5.30 pm so there >> was not much time to showcase all the bits planned. We dispersed >> around 6.10 pm. >> >> We were 7 attendees in total. >> >> >>> >>> -- Sriram >>> _______________________________________________ >>> BangPypers mailing list >>> BangPypers at python.org >>> http://mail.python.org/mailman/listinfo/bangpypers >>> >> >> >> >> -- >> --Anand >> >> >> >> >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> >> > From rmathews at gmail.com Wed Oct 21 09:43:31 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Wed, 21 Oct 2009 13:13:31 +0530 Subject: [BangPypers] An interesting beginner post at Stackoverflow In-Reply-To: <41139fcb0910210001t328977bdre7c264ae2db968e9@mail.gmail.com> References: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> <1c4dc2780910201959k3a836bd8o10d18afbd50eb93a@mail.gmail.com> <2ab2ed550910202335l26c40df1ia37b779f6b0609a1@mail.gmail.com> <41139fcb0910202349t788f11b1re018c7621983ee77@mail.gmail.com> <1c4dc2780910202359k44813b61se3f2e0638171cfc5@mail.gmail.com> <41139fcb0910210001t328977bdre7c264ae2db968e9@mail.gmail.com> Message-ID: <1c4dc2780910210043g6ffd4946u33e3277ddeba397b@mail.gmail.com> On Wed, Oct 21, 2009 at 12:31 PM, Anand Chitipothu wrote: > ? ?``Intern'' the given string. ?This enters the string in the (global) > ? ?table of interned strings whose purpose is to speed up dictionary lookups. > ? ?Return the string itself or the previously interned string object with the > ? ?same value. > Thanks, I didn't know of that. It could be useful sometime. Anyways, for the current discussion intern-ing is irrelevant. >>> id('superman') 30792544 >>> id('superman') 30792544 >>> id('superman') 30792544 >>> id('superman') 30792544 >>> id('superman') 30792544 >>> id('super man') 31955768 >>> id('super man') 31955488 >>> id('super man') 31956768 >>> id('super man') 31955768 >>> id('super man') 31955488 Also, http://mail.python.org/pipermail/tutor/2009-July/070157.html Roshan Mathews From sidharth.kuruvila at gmail.com Wed Oct 21 09:44:13 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Wed, 21 Oct 2009 13:14:13 +0530 Subject: [BangPypers] An interesting beginner post at Stackoverflow In-Reply-To: <41139fcb0910210001t328977bdre7c264ae2db968e9@mail.gmail.com> References: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> <1c4dc2780910201959k3a836bd8o10d18afbd50eb93a@mail.gmail.com> <2ab2ed550910202335l26c40df1ia37b779f6b0609a1@mail.gmail.com> <41139fcb0910202349t788f11b1re018c7621983ee77@mail.gmail.com> <1c4dc2780910202359k44813b61se3f2e0638171cfc5@mail.gmail.com> <41139fcb0910210001t328977bdre7c264ae2db968e9@mail.gmail.com> Message-ID: <2ab2ed550910210044s1024963ci852fb14fb73afc0f@mail.gmail.com> Hi, My bad, that was a bit of laziness on my part. The reason why my code was silly is not to do with interning though that does happen for strings. Literals, that is numbers and string literals and a few others are loaded as constants. So the cost of constructing them in your code has already been taken care of. A better example would be something like d = {"a":[1,2,3,4]} print d.setdefault("a", []) Interning is an optimization done to speed up the comparison of strings, by making sure that two string with the same text are represented by the same object. Regards, Sidharth On Wed, Oct 21, 2009 at 12:31 PM, Anand Chitipothu wrote: >> What do you mean when you use the word "interned"? > > $ pydoc intern > Help on built-in function intern in module __builtin__: > > intern(...) > ? ?intern(string) -> string > > ? ?``Intern'' the given string. ?This enters the string in the (global) > ? ?table of interned strings whose purpose is to speed up dictionary lookups. > ? ?Return the string itself or the previously interned string object with the > ? ?same value. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- I am but a man. From scorpion032 at gmail.com Wed Oct 21 10:07:11 2009 From: scorpion032 at gmail.com (Lakshman Prasad) Date: Wed, 21 Oct 2009 13:37:11 +0530 Subject: [BangPypers] An interesting beginner post at Stackoverflow In-Reply-To: <2ab2ed550910210044s1024963ci852fb14fb73afc0f@mail.gmail.com> References: <7c73a13a0910201936l7005534cud028489bfeb2a5c5@mail.gmail.com> <1c4dc2780910201959k3a836bd8o10d18afbd50eb93a@mail.gmail.com> <2ab2ed550910202335l26c40df1ia37b779f6b0609a1@mail.gmail.com> <41139fcb0910202349t788f11b1re018c7621983ee77@mail.gmail.com> <1c4dc2780910202359k44813b61se3f2e0638171cfc5@mail.gmail.com> <41139fcb0910210001t328977bdre7c264ae2db968e9@mail.gmail.com> <2ab2ed550910210044s1024963ci852fb14fb73afc0f@mail.gmail.com> Message-ID: 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.kuruvila at gmail.com> wrote: > Hi, > My bad, that was a bit of laziness on my part. The reason why my > code was silly is not to do with interning though that does happen for > strings. Literals, that is numbers and string literals and a few > others are loaded as constants. So the cost of constructing them in > your code has already been taken care of. > > A better example would be something like > > d = {"a":[1,2,3,4]} > > print d.setdefault("a", []) > > > Interning is an optimization done to speed up the comparison of > strings, by making sure that two string with the same text are > represented by the same object. > > Regards, > Sidharth > > > On Wed, Oct 21, 2009 at 12:31 PM, Anand Chitipothu > wrote: > >> What do you mean when you use the word "interned"? > > > > $ pydoc intern > > Help on built-in function intern in module __builtin__: > > > > intern(...) > > intern(string) -> string > > > > ``Intern'' the given string. This enters the string in the (global) > > table of interned strings whose purpose is to speed up dictionary > lookups. > > Return the string itself or the previously interned string object with > the > > same value. > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > I am but a man. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Regards, Lakshman becomingguru.com lakshmanprasad.com From dhananjay.nene at gmail.com Wed Oct 21 10:29:13 2009 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Wed, 21 Oct 2009 13:59:13 +0530 Subject: [BangPypers] Posting style In-Reply-To: <200910201731.14508.lawgon@au-kbc.org> References: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> <200910201731.14508.lawgon@au-kbc.org> Message-ID: On Tue, Oct 20, 2009 at 5:31 PM, Kenneth Gonsalves wrote: > On Tuesday 20 Oct 2009 5:28:52 pm Noufal Ibrahim wrote: > > On Tue, Oct 20, 2009 at 3:53 PM, Baiju M wrote: > > > Hi, > > > I hope this link would be useful for some newly joined > > > members: > > > http://en.wikipedia.org/wiki/Posting_style > > > > This helped me when I first ventured into mailing lists and IRC > > http://catb.org/~esr/faqs/smart-questions.html > > here are the guidelines for ilugc: > http://demo.ilugc.org.in/report/4/ > > I have a feeling, far out in the future when driving on either side of the road will be just as convenient, we shall still continue to see ex traffic wardens attempting to enforce drive on the left or drive on the right rules simply because thats the way things are done over here - quite oblivious to the fact that the rest of the world really doesn't care a whiff. I sometimes do wonder why it counts for so much - I mean I can read top / bottom / interleaved posts with adequate comfort without having to bother to pause to wonder what style of post it is. The best rules are those which are never imposed :) -- > regards > Kenneth Gonsalves > Senior Project Officer > NRC-FOSS > http://nrcfosshelpline.in/web/ > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene http://twitter.com/_pythonic From srinivas_thatiparthy at akebonosoft.com Wed Oct 21 11:19:16 2009 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Wed, 21 Oct 2009 14:49:16 +0530 Subject: [BangPypers] Posting style In-Reply-To: Message-ID: <4EF2BF691B890546B2694C99A2852F0C01C36E11@astserver3.akebonosoft.com> >> The best rules are those which are never imposed :) +1,excellent. Regards, Srinivas Reddy Thatiparthy. -------------- I hear and I forget. I see and I remember. I do and I understand. - Confucius. From lawgon at au-kbc.org Wed Oct 21 11:50:40 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 21 Oct 2009 15:20:40 +0530 Subject: [BangPypers] Posting style In-Reply-To: References: <200910201731.14508.lawgon@au-kbc.org> Message-ID: <200910211520.40636.lawgon@au-kbc.org> On Wednesday 21 Oct 2009 1:59:13 pm Dhananjay Nene wrote: > I have a feeling, far out in the future when driving on either side of the > road will be just as convenient, how will that be achieved? If people chose which side they wanted to drive on would they not crash into each other? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From kushaldas at gmail.com Wed Oct 21 12:18:45 2009 From: kushaldas at gmail.com (Kushal Das) Date: Wed, 21 Oct 2009 15:48:45 +0530 Subject: [BangPypers] Posting style In-Reply-To: <200910201731.14508.lawgon@au-kbc.org> References: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> <200910201731.14508.lawgon@au-kbc.org> Message-ID: On Tue, Oct 20, 2009 at 5:31 PM, Kenneth Gonsalves wrote: > > here are the guidelines for ilugc: > http://demo.ilugc.org.in/report/4/ > I generally ask people to read [1]. [1] http://www.shakthimaan.com/downloads/glv/presentations/mailing-list-etiquette.pdf Kushal -- http://fedoraproject.org http://kushaldas.in From steve at lonetwin.net Wed Oct 21 12:45:05 2009 From: steve at lonetwin.net (steve) Date: Wed, 21 Oct 2009 16:15:05 +0530 Subject: [BangPypers] Posting style In-Reply-To: References: <9963e56e0910200458w3d747d39rebc7227286050e1b@mail.gmail.com> <200910201731.14508.lawgon@au-kbc.org> Message-ID: <4ADEE631.7000401@lonetwin.net> Actually not quite true. You'd need to be very smart to be able to do that. On 10/21/2009 01:59 PM, Dhananjay Nene wrote: > On Tue, Oct 20, 2009 at 5:31 PM, Kenneth Gonsalveswrote: > >> On Tuesday 20 Oct 2009 5:28:52 pm Noufal Ibrahim wrote: >> > On Tue, Oct 20, 2009 at 3:53 PM, Baiju M wrote: >> > > Hi, >> > > I hope this link would be useful for some newly joined >> > > members: >> > > http://en.wikipedia.org/wiki/Posting_style >> > >> > This helped me when I first ventured into mailing lists and IRC >> > http://catb.org/~esr/faqs/smart-questions.html >> >> here are the guidelines for ilugc: >> http://demo.ilugc.org.in/report/4/ >> >> > I have a feeling, far out in the future when driving on either side of the > road will be just as convenient, > we shall still continue to see ex traffic wardens attempting to enforce > drive on the left or drive on the > right rules simply because thats the way things are done over here - quite > oblivious to the fact that the > rest of the world really doesn't care a whiff. I sometimes do wonder why it > counts for so much - I mean > I can read top / bottom / interleaved posts with adequate comfort without > having to bother to pause to > wonder what style of post it is. The best rules are those which are never > imposed :) > Could you figure out from my top post above the *context* in which I made the remark ? Was my comment about the driving rules or the posting style ? The whole *point* about interleaved posting is knowing the *context* of the replies. Rules /evolved/ for a reason. If that doesn't make things clear, I can't imagine what would. cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From lawgon at au-kbc.org Wed Oct 21 12:43:26 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 21 Oct 2009 16:13:26 +0530 Subject: [BangPypers] Posting style In-Reply-To: References: <200910201731.14508.lawgon@au-kbc.org> Message-ID: <200910211613.26378.lawgon@au-kbc.org> On Wednesday 21 Oct 2009 3:48:45 pm Kushal Das wrote: > On Tue, Oct 20, 2009 at 5:31 PM, Kenneth Gonsalves wrote: > > here are the guidelines for ilugc: > > http://demo.ilugc.org.in/report/4/ > > I generally ask people to read [1]. > > > [1] > http://www.shakthimaan.com/downloads/glv/presentations/mailing-list-etiquet >te.pdf same thing -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From lawgon at au-kbc.org Wed Oct 21 13:12:22 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Wed, 21 Oct 2009 16:42:22 +0530 Subject: [BangPypers] needed a project proposal Message-ID: <200910211642.22428.lawgon@au-kbc.org> hi, there is a person who is a brilliant mathematician/cryptographer who has recently taken up python. I need a solid project proposal to hook him - preferably something in an existing project that really needs to be done. Any ideas? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From sriramnrn at gmail.com Wed Oct 21 21:48:14 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Thu, 22 Oct 2009 01:18:14 +0530 Subject: [BangPypers] Let's have an indepth session on some opensolaris technologies Message-ID: <49977f270910211248k58c93885q16a515a6ad88eedc@mail.gmail.com> [BCC: Various Bangalore tech lists that I'm a member of] Folks: A number of us have heard of opensolaris and of technologies such as ZFS, Dtrace, Zones, etc. After giving small intro sessions on ZFS and on Zones, I've been approached by various attendees who have wanted an indepth intro to opensolaris technologies. The survey below will help us decide on the date/time/venue/topics of this session. http://tinyurl.com/blr2009opensolaris -- Sriram From srinivas_thatiparthy at akebonosoft.com Thu Oct 22 06:37:10 2009 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Thu, 22 Oct 2009 10:07:10 +0530 Subject: [BangPypers] Let's have an indepth session on some opensolaristechnologies In-Reply-To: <49977f270910211248k58c93885q16a515a6ad88eedc@mail.gmail.com> Message-ID: <4EF2BF691B890546B2694C99A2852F0C01C36E8F@astserver3.akebonosoft.com> Some time ago I read an article regarding Linus complaining about the license of a file system,Is it the ZFS? Anyway I am not much into linux, just want to double check.. Regards, Srinivas Reddy Thatiparthy. -------------- I hear and I forget. I see and I remember. I do and I understand. - Confucius. -----Original Message----- From: bangpypers-bounces+srinivas_thatiparthy=akebonosoft.com at python.org [mailto:bangpypers-bounces+srinivas_thatiparthy=akebonosoft.com at python.o rg] On Behalf Of Sriram Narayanan Sent: Thursday, October 22, 2009 1:18 AM To: sriramnrn at gmail.com Subject: [BangPypers] Let's have an indepth session on some opensolaristechnologies [BCC: Various Bangalore tech lists that I'm a member of] Folks: A number of us have heard of opensolaris and of technologies such as ZFS, Dtrace, Zones, etc. After giving small intro sessions on ZFS and on Zones, I've been approached by various attendees who have wanted an indepth intro to opensolaris technologies. The survey below will help us decide on the date/time/venue/topics of this session. http://tinyurl.com/blr2009opensolaris -- Sriram _______________________________________________ BangPypers mailing list BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers From lists.amitsaha at gmail.com Thu Oct 22 15:13:19 2009 From: lists.amitsaha at gmail.com (Amit Saha) Date: Thu, 22 Oct 2009 18:43:19 +0530 Subject: [BangPypers] 2-cent Tip: Load modules at Startup Message-ID: <4AE05A6F.70302@gmail.com> Hello: I have been using CPython as a calculator, while I do all those number crunching in C. SO, 'import math' is a must. This is what I did: - Create a file: .pythonrc in my $HOME and place this line: import math - Now in your BASH, .bashrc or similar: export PYTHONSTARTUP= $HOME/.pythonrc Everytime you start Python interactively, you should have the 'math' module already imported. $ python Python 2.6.4rc1 (r264rc1:75270, Oct 10 2009, 02:40:56) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> math.pi 3.1415926535897931 Hope this helps. -Amit -- Journal: http://amitksaha.wordpress.com ?-blog: http://twitter.com/amitsaha IRC: cornucopic on #scheme, #lisp, #math, #linux From rmathews at gmail.com Thu Oct 22 15:50:13 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Thu, 22 Oct 2009 19:20:13 +0530 Subject: [BangPypers] 2-cent Tip: Load modules at Startup In-Reply-To: <4AE05A6F.70302@gmail.com> References: <4AE05A6F.70302@gmail.com> Message-ID: <1c4dc2780910220650y4015e83et6f36fd31b0a4374e@mail.gmail.com> On Thu, Oct 22, 2009 at 6:43 PM, Amit Saha wrote: > - Create a file: .pythonrc in my $HOME and place this line: > Thanks for the tip. I don't use this myself, but I had read this in Peter Norvig's Python IAQ, which makes interesting reading. It's available online at http://norvig.com/python-iaq.html Do let on if you find anything else particularly useful. :) Roshan Mathews From lists.amitsaha at gmail.com Thu Oct 22 16:05:20 2009 From: lists.amitsaha at gmail.com (Amit Saha) Date: Thu, 22 Oct 2009 19:35:20 +0530 Subject: [BangPypers] 2-cent Tip: Load modules at Startup In-Reply-To: <1c4dc2780910220650y4015e83et6f36fd31b0a4374e@mail.gmail.com> References: <4AE05A6F.70302@gmail.com> <1c4dc2780910220650y4015e83et6f36fd31b0a4374e@mail.gmail.com> Message-ID: <4AE066A0.7040205@gmail.com> Roshan Mathews wrote: > On Thu, Oct 22, 2009 at 6:43 PM, Amit Saha wrote: >> - Create a file: .pythonrc in my $HOME and place this line: >> > Thanks for the tip. I don't use this myself, but I had read this in > Peter Norvig's Python IAQ, which makes interesting reading. It's > available online at http://norvig.com/python-iaq.html Nice. Thanks for sharing. > > Do let on if you find anything else particularly useful. :) With oodles of pleasure. -Amit > > Roshan Mathews > -- Journal: http://amitksaha.wordpress.com ?-blog: http://twitter.com/amitsaha IRC: cornucopic on #scheme, #lisp, #math, #linux From noufal at gmail.com Thu Oct 22 16:11:53 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 22 Oct 2009 19:41:53 +0530 Subject: [BangPypers] 2-cent Tip: Load modules at Startup In-Reply-To: <4AE05A6F.70302@gmail.com> References: <4AE05A6F.70302@gmail.com> Message-ID: <9963e56e0910220711t2115c812mcc0d997db177270f@mail.gmail.com> On Thu, Oct 22, 2009 at 6:43 PM, Amit Saha wrote: > Hello: > > I have been using CPython as a calculator, while I do all those number > crunching in C. SO, 'import math' is a must. > > This is what I did: > > - Create a file: .pythonrc in my $HOME and place this line: There are other goodies you can put there as well. I used to have import readline readline.parse_and_bind("tab: complete") in there so that the default interpreter would get tab completion. -- ~noufal http://nibrahim.net.in From cranil89 at gmail.com Thu Oct 22 16:16:37 2009 From: cranil89 at gmail.com (Anil) Date: Thu, 22 Oct 2009 19:46:37 +0530 Subject: [BangPypers] 2-cent Tip: Load modules at Startup In-Reply-To: <9963e56e0910220711t2115c812mcc0d997db177270f@mail.gmail.com> References: <4AE05A6F.70302@gmail.com> <9963e56e0910220711t2115c812mcc0d997db177270f@mail.gmail.com> Message-ID: <4AE06945.6030306@gmail.com> Noufal Ibrahim wrote: > > There are other goodies you can put there as well. I used to have > > import readline > readline.parse_and_bind("tab: complete") > > in there so that the default interpreter would get tab completion. Neat !! :) btw does Ubuntu come with readline by default?? Anil From noufal at gmail.com Thu Oct 22 16:19:56 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 22 Oct 2009 19:49:56 +0530 Subject: [BangPypers] 2-cent Tip: Load modules at Startup In-Reply-To: <4AE06945.6030306@gmail.com> References: <4AE05A6F.70302@gmail.com> <9963e56e0910220711t2115c812mcc0d997db177270f@mail.gmail.com> <4AE06945.6030306@gmail.com> Message-ID: <9963e56e0910220719h3b072329h2e2292125d3f18f6@mail.gmail.com> On Thu, Oct 22, 2009 at 7:46 PM, Anil wrote: > Noufal Ibrahim wrote: >> >> There are other goodies you can put there as well. I used to have >> >> import readline >> readline.parse_and_bind("tab: complete") >> >> in there so that the default interpreter would get tab completion. > > Neat !! :) > btw does Ubuntu come with readline by default?? I'm not sure what you mean by "with readline" but the readline module is as far as I know part of the Python standard library. -- ~noufal http://nibrahim.net.in From cranil89 at gmail.com Thu Oct 22 16:26:07 2009 From: cranil89 at gmail.com (Anil) Date: Thu, 22 Oct 2009 19:56:07 +0530 Subject: [BangPypers] 2-cent Tip: Load modules at Startup In-Reply-To: <9963e56e0910220719h3b072329h2e2292125d3f18f6@mail.gmail.com> References: <4AE05A6F.70302@gmail.com> <9963e56e0910220711t2115c812mcc0d997db177270f@mail.gmail.com> <4AE06945.6030306@gmail.com> <9963e56e0910220719h3b072329h2e2292125d3f18f6@mail.gmail.com> Message-ID: <4AE06B7F.8040703@gmail.com> Noufal Ibrahim wrote: > On Thu, Oct 22, 2009 at 7:46 PM, Anil wrote: > >> Noufal Ibrahim wrote: >> >>> There are other goodies you can put there as well. I used to have >>> >>> import readline >>> readline.parse_and_bind("tab: complete") >>> >>> in there so that the default interpreter would get tab completion. >>> >> Neat !! :) >> btw does Ubuntu come with readline by default?? >> > > I'm not sure what you mean by "with readline" but the readline module > is as far as I know part of the Python standard library. I meant readline development module. anyways turns out it doesn't ... From steve at lonetwin.net Fri Oct 23 09:11:55 2009 From: steve at lonetwin.net (steve) Date: Fri, 23 Oct 2009 12:41:55 +0530 Subject: [BangPypers] 2-cent Tip: Load modules at Startup In-Reply-To: <9963e56e0910220711t2115c812mcc0d997db177270f@mail.gmail.com> References: <4AE05A6F.70302@gmail.com> <9963e56e0910220711t2115c812mcc0d997db177270f@mail.gmail.com> Message-ID: <4AE1573B.3040704@lonetwin.net> On 10/22/2009 07:41 PM, Noufal Ibrahim wrote: > On Thu, Oct 22, 2009 at 6:43 PM, Amit Saha wrote: >> Hello: >> >> I have been using CPython as a calculator, while I do all those number >> crunching in C. SO, 'import math' is a must. >> >> This is what I did: >> >> - Create a file: .pythonrc in my $HOME and place this line: > > There are other goodies you can put there as well. I used to have > > import readline > readline.parse_and_bind("tab: complete") > > in there so that the default interpreter would get tab completion. I also have this is my .pythonrc: import os import readline histfile = os.path.join(os.environ["HOME"], ".pyhist") try: readline.read_history_file(histfile) except IOError: pass import atexit atexit.register(readline.write_history_file, histfile) del os, histfile This lets you save the history of every thing you type in your interpreter session much like the bash history functionality. This is immensely useful when I am trying out stuff on the prompt before creating a script. Of course all this also comes built-in with the Ipython environment, but I never really got hooked on to that. Anyways, besides the tip, I'd also like to point out to the 'atexit' module which the above tip uses. It is included in the stdlib and can prove to be quite useful at times. That one is good to know about. cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From noufal at gmail.com Fri Oct 23 09:18:52 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Fri, 23 Oct 2009 12:48:52 +0530 Subject: [BangPypers] 2-cent Tip: Load modules at Startup In-Reply-To: <4AE1573B.3040704@lonetwin.net> References: <4AE05A6F.70302@gmail.com> <9963e56e0910220711t2115c812mcc0d997db177270f@mail.gmail.com> <4AE1573B.3040704@lonetwin.net> Message-ID: <9963e56e0910230018u91d8159hd78c7adb78c61389@mail.gmail.com> On Fri, Oct 23, 2009 at 12:41 PM, steve wrote: [..] > Of course all this also comes built-in with the Ipython environment, but I > never really got hooked on to that. [..] Do you have any reasons why? It's praised a lot in some circles but I got a lot of negative comments about it on the #python channel. I personally don't use it unless I'm teaching the language since it's perceptibly slower to start up when your python installation is on NFS. -- ~noufal http://nibrahim.net.in From sriramnrn at gmail.com Fri Oct 23 17:16:40 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Fri, 23 Oct 2009 20:46:40 +0530 Subject: [BangPypers] Opensolaris sessions on Saturday at 3 pm at Thoughtworks Bangalore Message-ID: <49977f270910230816x6f0f4700y5e6d75d08129c3aa@mail.gmail.com> Folks: We're conducting a number of sessions tomorrow on some opensolaris technologies. Based on a survey that I had put out, the following are the topics that we'll cover: 1. Observing and investigating processes using Dtrace - Pradhap Devarajan, Sun Microsystems 2. What's exciting about the ZFS filesystem - Sriram Narayanan, Thoughtworks 3. Deployments made easy - Zones and ZFS - Moinak Ghosh, Belenix Lead Developer Venue: Thoughtworks Technologies, Tower C, Corporate Block, Diamond District, HAL Airport Road. Landmarks: - Near the Indiranagar Flyover off Inner Ring Road - Opposite TGIF Time: 3 pm to 7 pm -- Sriram From abpillai at gmail.com Fri Oct 23 17:36:44 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 23 Oct 2009 21:06:44 +0530 Subject: [BangPypers] Opensolaris sessions on Saturday at 3 pm at Thoughtworks Bangalore In-Reply-To: <49977f270910230816x6f0f4700y5e6d75d08129c3aa@mail.gmail.com> References: <49977f270910230816x6f0f4700y5e6d75d08129c3aa@mail.gmail.com> Message-ID: <8548c5f30910230836n51a7a8dcs36a3bd8990a20816@mail.gmail.com> On Fri, Oct 23, 2009 at 8:46 PM, Sriram Narayanan wrote: > Folks: > > We're conducting a number of sessions tomorrow on some opensolaris > technologies. > > Based on a survey that I had put out, the following are the topics > that we'll cover: > > 1. Observing and investigating processes using Dtrace - Pradhap > Devarajan, Sun Microsystems > 2. What's exciting about the ZFS filesystem - Sriram Narayanan, > Thoughtworks > 3. Deployments made easy - Zones and ZFS - Moinak Ghosh, Belenix Lead > Developer > > Venue: Thoughtworks Technologies, Tower C, Corporate Block, Diamond > District, HAL Airport Road. > I was thinking of a laid back saturday, you have ruined it :-) I will be there, especially for session (2). +1 > Landmarks: > - Near the Indiranagar Flyover off Inner Ring Road > - Opposite TGIF > > Time: 3 pm to 7 pm > > -- Sriram > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From sriramnrn at gmail.com Fri Oct 23 19:56:37 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Fri, 23 Oct 2009 23:26:37 +0530 Subject: [BangPypers] Opensolaris sessions on Saturday at 3 pm at Thoughtworks Bangalore In-Reply-To: <8548c5f30910230836n51a7a8dcs36a3bd8990a20816@mail.gmail.com> References: <49977f270910230816x6f0f4700y5e6d75d08129c3aa@mail.gmail.com> <8548c5f30910230836n51a7a8dcs36a3bd8990a20816@mail.gmail.com> Message-ID: <49977f270910231056t1750cdaftefb7b123ce7718d2@mail.gmail.com> On Fri, Oct 23, 2009 at 9:06 PM, Anand Balachandran Pillai wrote: > > ?I was thinking of a laid back saturday, you have ruined it :-) > ?I will be there, especially for session (2). > > ?+1 I'm convinced that you'll enjoy session 1 even more, since you'll realize that you can now dtrace python code ! This alone may be reason enough for you to move to OSX or opensolaris :) -- Sriram From lawgon at au-kbc.org Sat Oct 24 02:33:53 2009 From: lawgon at au-kbc.org (Kenneth Gonsalves) Date: Sat, 24 Oct 2009 06:03:53 +0530 Subject: [BangPypers] chennaipy meets Message-ID: <200910240603.54094.lawgon@au-kbc.org> just a reminder for those in this list who may be in Chennai today: http://groups.google.com/group/chennaipy/web/meeting-on-24th-october -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ From steve at lonetwin.net Sat Oct 24 06:01:49 2009 From: steve at lonetwin.net (steve) Date: Sat, 24 Oct 2009 09:31:49 +0530 Subject: [BangPypers] 2-cent Tip: Load modules at Startup In-Reply-To: <9963e56e0910230018u91d8159hd78c7adb78c61389@mail.gmail.com> References: <4AE05A6F.70302@gmail.com> <9963e56e0910220711t2115c812mcc0d997db177270f@mail.gmail.com> <4AE1573B.3040704@lonetwin.net> <9963e56e0910230018u91d8159hd78c7adb78c61389@mail.gmail.com> Message-ID: <4AE27C2D.4050003@lonetwin.net> On 10/23/2009 12:48 PM, Noufal Ibrahim wrote: > On Fri, Oct 23, 2009 at 12:41 PM, steve wrote: > [..] >> Of course all this also comes built-in with the Ipython environment, but I >> never really got hooked on to that. > [..] > > Do you have any reasons why? It's praised a lot in some circles but I > got a lot of negative comments about it on the #python channel. Well, for me, there aren't any strong negative reasons really. I just felt that the interface was a bit 'clunky' (the extraneous use of spaces and newlines makes me nervous), the commands/shortcuts were non-intuitive to me and I just don't like reading docs before trying out something -- which I think is required for using ipython. However, i still do recommend it to people who want colors, completion and all sorts of customization abilities from their prompt. cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From bhaskar.jain2002 at gmail.com Sat Oct 24 10:02:56 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Sat, 24 Oct 2009 13:32:56 +0530 Subject: [BangPypers] sort query Message-ID: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> Hello, Can sort not modify read-only location. >>> d {'a': 1, 'c': 3, 'b': 2} >>> id(d) 412816 >>> id(d.keys()) 404296 >>> type(d.keys()) >>> print d.keys().sort() None We can so sorted(d.keys()) and it works but was just wondering whether sort which modifies in-place fails when the location is read-only. Thanks, Bhaskar. From dhananjay.nene at gmail.com Sat Oct 24 10:41:35 2009 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Sat, 24 Oct 2009 14:11:35 +0530 Subject: [BangPypers] sort query In-Reply-To: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> Message-ID: On Sat, Oct 24, 2009 at 1:32 PM, bhaskar jain wrote: > Hello, > > Can sort not modify read-only location. > > >>> d > {'a': 1, 'c': 3, 'b': 2} > > >>> id(d) > 412816 > > >>> id(d.keys()) > 404296 > > >>> type(d.keys()) > > > >>> print d.keys().sort() > None > > > We can so sorted(d.keys()) and it works but was just wondering whether sort > which modifies in-place fails when the location is read-only. > >>> x = d.keys() >>> print x ['a', 'c', 'b'] >>> x.sort() >>> print x ['a', 'b', 'c'] The sort method modifies the list in place but doesn't return the sorted list (ie. returns None) However it does what it is meant to do as based on the further example above. >From http://docs.python.org/library/stdtypes.html "The sort() and reverse() methods modify the list in place for economy of space when sorting or reversing a large list. *To remind you that they operate by side effect*, they don?t return the sorted or reversed list." Cheers, Dhananjay > > Thanks, > Bhaskar. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene http://twitter.com/_pythonic From noufal at gmail.com Sat Oct 24 10:42:17 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 24 Oct 2009 14:12:17 +0530 Subject: [BangPypers] sort query In-Reply-To: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> Message-ID: <9963e56e0910240142x22208068t2366bd4a141b31f1@mail.gmail.com> On Sat, Oct 24, 2009 at 1:32 PM, bhaskar jain wrote: > Hello, > > ?Can sort not modify read-only location. > >>>> d > {'a': 1, 'c': 3, 'b': 2} > >>>> id(d) > 412816 > >>>> id(d.keys()) > 404296 > >>>> type(d.keys()) > > >>>> print d.keys().sort() The sort method of a list doesn't return a sorted list. As for the question of what exactly did that sort and where is the sorted list, I'm not sure. -- ~noufal http://nibrahim.net.in From sidharth.kuruvila at gmail.com Sat Oct 24 11:53:55 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Sat, 24 Oct 2009 15:23:55 +0530 Subject: [BangPypers] sort query In-Reply-To: <9963e56e0910240142x22208068t2366bd4a141b31f1@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> <9963e56e0910240142x22208068t2366bd4a141b31f1@mail.gmail.com> Message-ID: <2ab2ed550910240253w73239dbfm678cc5d872418dfe@mail.gmail.com> Hi, >>> d = {"a":1, "b":2} >>> d.keys() ['a', 'b'] >>> a = d.keys() >>> b = d.keys() >>> id(a) 542120 >>> id(b) 542200 So d creates a new list with each call to keys. The behavior might be different in python 3 where I hear d.keys() will return a set Regards, Sidharth On Sat, Oct 24, 2009 at 2:12 PM, Noufal Ibrahim wrote: > On Sat, Oct 24, 2009 at 1:32 PM, bhaskar jain > wrote: >> Hello, >> >> ?Can sort not modify read-only location. >> >>>>> d >> {'a': 1, 'c': 3, 'b': 2} >> >>>>> id(d) >> 412816 >> >>>>> id(d.keys()) >> 404296 >> >>>>> type(d.keys()) >> >> >>>>> print d.keys().sort() > > The sort method of a list doesn't return a sorted list. As for the > question of what exactly did that sort and where is the sorted list, > I'm not sure. > > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- I am but a man. From anandology at gmail.com Sat Oct 24 11:51:29 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Sat, 24 Oct 2009 15:21:29 +0530 Subject: [BangPypers] sort query In-Reply-To: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> Message-ID: <41139fcb0910240251j3a3c67fcy18351f7a0c70f24e@mail.gmail.com> > ?Can sort not modify read-only location. > >>>> d > {'a': 1, 'c': 3, 'b': 2} > >>>> id(d) > 412816 > >>>> id(d.keys()) > 404296 I see why you thought d.keys() is read-only. Multiple calls to d.keys() seems to be returning the same object. >>> d = {'a': 1, 'c': 3, 'b': 2} >>> id(d) 200112 >>> id(d.keys()) 597448 >>> id(d.keys()) 597448 However assigning it to some variable forces it to return a new object. >>> x = d.keys() >>> id(x) 597448 >>> id(d.keys()) 594408 >>> id(d.keys()) 594408 >>> y = d.keys() >>> id(y) 594408 >>> id(d.keys()) 611312 Looks like Python dictionary implementation is doing something clever. d.keys() returns the cached object if its refcount == 1 and returns a new object if refcount > 1. Anand From sidharth.kuruvila at gmail.com Sat Oct 24 11:59:57 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Sat, 24 Oct 2009 15:29:57 +0530 Subject: [BangPypers] sort query In-Reply-To: <2ab2ed550910240253w73239dbfm678cc5d872418dfe@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> <9963e56e0910240142x22208068t2366bd4a141b31f1@mail.gmail.com> <2ab2ed550910240253w73239dbfm678cc5d872418dfe@mail.gmail.com> Message-ID: <2ab2ed550910240259m2f96294ej9662d61dd379e54@mail.gmail.com> Hi, One more thing, the dict in python is a hash map so the keys won't be ordered. If you want an ordered set of keys you could consider storing the keys in a separate ordered list. You could also consider building a binary tree based dict but that would be a pain. Also a quick search brought up this http://www.python.org/dev/peps/pep-0372/. Regards, Sidharth On Sat, Oct 24, 2009 at 3:23 PM, Sidharth Kuruvila wrote: > Hi, > >>>> d = {"a":1, "b":2} >>>> d.keys() > ['a', 'b'] >>>> a = d.keys() >>>> b = d.keys() >>>> id(a) > 542120 >>>> id(b) > 542200 > > So d creates a new list with each call to keys. > > The behavior might be different in python 3 where I hear d.keys() will > return a set > > Regards, > Sidharth > > On Sat, Oct 24, 2009 at 2:12 PM, Noufal Ibrahim wrote: >> On Sat, Oct 24, 2009 at 1:32 PM, bhaskar jain >> wrote: >>> Hello, >>> >>> ?Can sort not modify read-only location. >>> >>>>>> d >>> {'a': 1, 'c': 3, 'b': 2} >>> >>>>>> id(d) >>> 412816 >>> >>>>>> id(d.keys()) >>> 404296 >>> >>>>>> type(d.keys()) >>> >>> >>>>>> print d.keys().sort() >> >> The sort method of a list doesn't return a sorted list. As for the >> question of what exactly did that sort and where is the sorted list, >> I'm not sure. >> >> >> -- >> ~noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > I am but a man. > -- I am but a man. From sidharth.kuruvila at gmail.com Sat Oct 24 12:05:09 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Sat, 24 Oct 2009 15:35:09 +0530 Subject: [BangPypers] sort query In-Reply-To: <41139fcb0910240251j3a3c67fcy18351f7a0c70f24e@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> <41139fcb0910240251j3a3c67fcy18351f7a0c70f24e@mail.gmail.com> Message-ID: <2ab2ed550910240305s49ba5da6pcd29e7d7ed4e8f50@mail.gmail.com> Hi Anand. > Looks like Python dictionary implementation is doing something clever. > d.keys() returns the cached object if its refcount == 1 and returns a > new object if refcount > 1. > I don't think that's what's happening >>> id(d.keys()) 535168 >>> id(d.keys()) 535168 >>> l = [1,2,3,4] >>> id(d.keys()) 542640 It seems that when d.keys is called the second it's using the same memory as the previous call as that one was deleted. Creating a list displaces the memory. Regards, Sidharth From anandology at gmail.com Sat Oct 24 12:13:55 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Sat, 24 Oct 2009 15:43:55 +0530 Subject: [BangPypers] sort query In-Reply-To: <2ab2ed550910240305s49ba5da6pcd29e7d7ed4e8f50@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> <41139fcb0910240251j3a3c67fcy18351f7a0c70f24e@mail.gmail.com> <2ab2ed550910240305s49ba5da6pcd29e7d7ed4e8f50@mail.gmail.com> Message-ID: <41139fcb0910240313v2f273ae6v44ac9666724651ef@mail.gmail.com> On Sat, Oct 24, 2009 at 3:35 PM, Sidharth Kuruvila wrote: > Hi Anand. > >> Looks like Python dictionary implementation is doing something clever. >> d.keys() returns the cached object if its refcount == 1 and returns a >> new object if refcount > 1. >> > > I don't think that's what's happening > >>>> id(d.keys()) > 535168 >>>> id(d.keys()) > 535168 >>>> l = [1,2,3,4] >>>> id(d.keys()) > 542640 > > It seems that when d.keys is called the second it's using the same > memory as the previous call as that one was deleted. Creating a list > displaces the memory. Hmm.. I think you are right. Anand From bhaskar.jain2002 at gmail.com Sat Oct 24 13:19:36 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Sat, 24 Oct 2009 16:49:36 +0530 Subject: [BangPypers] sort query In-Reply-To: <41139fcb0910240313v2f273ae6v44ac9666724651ef@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> <41139fcb0910240251j3a3c67fcy18351f7a0c70f24e@mail.gmail.com> <2ab2ed550910240305s49ba5da6pcd29e7d7ed4e8f50@mail.gmail.com> <41139fcb0910240313v2f273ae6v44ac9666724651ef@mail.gmail.com> Message-ID: <7f2cbc970910240419q7fe75298pcf6a50f170d780d7@mail.gmail.com> Thanks all for replying. Let me be clear, >>> l = [2,1] >>> id(l[0]) 8402300 >>> id(l[1]) 8402312 >>> l.sort() >>> id(l[0]) 8402312 >>> id(l[1]) 8402300 So if we had [l] ------> [0] -----> 2 [1] -----> 1 after the sort, the index [0] binds to the '1' memory location and index [1] binds to '2'. Now if we have, d = {'a':1, 'b':2} >>> l = d.keys().sort() >>> print l None d.keys() is a list which references the keys of the dictionary. But the sort method does not do what is intended on this list? --Bhaskar. From dhananjay.nene at gmail.com Sat Oct 24 13:29:14 2009 From: dhananjay.nene at gmail.com (Dhananjay Nene) Date: Sat, 24 Oct 2009 16:59:14 +0530 Subject: [BangPypers] sort query In-Reply-To: <7f2cbc970910240419q7fe75298pcf6a50f170d780d7@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> <41139fcb0910240251j3a3c67fcy18351f7a0c70f24e@mail.gmail.com> <2ab2ed550910240305s49ba5da6pcd29e7d7ed4e8f50@mail.gmail.com> <41139fcb0910240313v2f273ae6v44ac9666724651ef@mail.gmail.com> <7f2cbc970910240419q7fe75298pcf6a50f170d780d7@mail.gmail.com> Message-ID: On Sat, Oct 24, 2009 at 4:49 PM, bhaskar jain wrote: > Thanks all for replying. > > Let me be clear, > > [..snip..] > > > Now if we have, d = {'a':1, 'b':2} > >>> l = d.keys().sort() > >>> print l > None > > > d.keys() is a list which references the keys of the dictionary. > But the sort method does not do what is intended on this list? > Whoa.. x=d.keys() x.sort() ends up sorting the list in place. It does EXACTLY what it is documented as doing. ie. sort the list in place and return None. So whats the basis of "sort method does not do what is intended on this list" ? > --Bhaskar. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- -------------------------------------------------------- blog: http://blog.dhananjaynene.com twitter: http://twitter.com/dnene http://twitter.com/_pythonic From sidharth.kuruvila at gmail.com Sat Oct 24 13:39:25 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Sat, 24 Oct 2009 17:09:25 +0530 Subject: [BangPypers] sort query In-Reply-To: <7f2cbc970910240419q7fe75298pcf6a50f170d780d7@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> <41139fcb0910240251j3a3c67fcy18351f7a0c70f24e@mail.gmail.com> <2ab2ed550910240305s49ba5da6pcd29e7d7ed4e8f50@mail.gmail.com> <41139fcb0910240313v2f273ae6v44ac9666724651ef@mail.gmail.com> <7f2cbc970910240419q7fe75298pcf6a50f170d780d7@mail.gmail.com> Message-ID: <2ab2ed550910240439p709b5752w847c88c164d1c093@mail.gmail.com> Hi, The sort method doesn't return anything. It modifies the list which you call it on. l = d.keys() l.sort() #There is no point assigning the return value to this because it will be None #Which is what you do when you write l = d.keys().sort() print l Now there is another subtle issue here with d.keys(), ever time you call it, you get a new list object, not the one you got with the previous call. So don't expect d.keys() to return a sorted list. Also, it's quite clear you didn't understand any of the previous mails because Nauful did bring up the lack of a return value for sort in his mail. If you don't understand something ask. An important point is if you find something wrong with an api, it is more likely that there is something wrong with your understanding than the api itself. This is something most of us have to learn the hard way. So do a lot of hard thinking before you say something is broken. Regards, Sidharth On Sat, Oct 24, 2009 at 4:49 PM, bhaskar jain wrote: > Thanks all for replying. > > Let me be clear, > >>>> l = [2,1] > >>>> id(l[0]) > 8402300 >>>> id(l[1]) > 8402312 > >>>> l.sort() > >>>> id(l[0]) > 8402312 >>>> id(l[1]) > 8402300 > > So if we had ? [l] ------> ?[0] ?-----> 2 > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [1] ?-----> 1 > > after the sort, the index [0] binds to ?the '1' memory location and index > [1] binds to '2'. > > > > Now if we have, d = {'a':1, 'b':2} >>>> l = d.keys().sort() >>>> print l > None > > > d.keys() is a list ?which references the keys of the dictionary. > But the sort method does not do what is intended on this list? > > --Bhaskar. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- I am but a man. From bhaskar.jain2002 at gmail.com Sat Oct 24 20:19:18 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Sat, 24 Oct 2009 23:49:18 +0530 Subject: [BangPypers] sort query In-Reply-To: <2ab2ed550910240439p709b5752w847c88c164d1c093@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> <41139fcb0910240251j3a3c67fcy18351f7a0c70f24e@mail.gmail.com> <2ab2ed550910240305s49ba5da6pcd29e7d7ed4e8f50@mail.gmail.com> <41139fcb0910240313v2f273ae6v44ac9666724651ef@mail.gmail.com> <7f2cbc970910240419q7fe75298pcf6a50f170d780d7@mail.gmail.com> <2ab2ed550910240439p709b5752w847c88c164d1c093@mail.gmail.com> Message-ID: <7f2cbc970910241119s1b5b50a5pe7c9e829b9f1f05f@mail.gmail.com> >>>On Sat, Oct 24, 2009 at 5:09 PM, Sidharth Kuruvila < sidharth.kuruvila at gmail.com> wrote: >>>So do a lot of hard thinking before you say something is broken. I have never questioned the correctness, rather wanted to clear my doubt. >>> d = {'a':1, 'b':2, 'c':3} >>> id(d.keys()) 404296 >>> d.keys().sort() >>> id(d.keys()) 404296 >>> a = d.keys() >>> print a ['a', 'c', 'b'] >>> id(a) 404296 What did sort do? >>>Now there is another subtle issue here with d.keys(), ever time you >>>call it, you get a new list object, not the one you got with the >>>previous call I taught myself to believe that "Python returns references to the same objects it already had around". So if i called dict.keys() and have *not* modified my dict and then call dict.keys() again, i should get a reference to the earlier created list held. Anyways it is not so. Thanks anyways, Bhaskar. From bhaskar.jain2002 at gmail.com Sat Oct 24 20:55:13 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Sun, 25 Oct 2009 00:25:13 +0530 Subject: [BangPypers] sort query In-Reply-To: <7f2cbc970910241119s1b5b50a5pe7c9e829b9f1f05f@mail.gmail.com> References: <7f2cbc970910240102k2d08ccd4x96663ec94c4c5e4@mail.gmail.com> <41139fcb0910240251j3a3c67fcy18351f7a0c70f24e@mail.gmail.com> <2ab2ed550910240305s49ba5da6pcd29e7d7ed4e8f50@mail.gmail.com> <41139fcb0910240313v2f273ae6v44ac9666724651ef@mail.gmail.com> <7f2cbc970910240419q7fe75298pcf6a50f170d780d7@mail.gmail.com> <2ab2ed550910240439p709b5752w847c88c164d1c093@mail.gmail.com> <7f2cbc970910241119s1b5b50a5pe7c9e829b9f1f05f@mail.gmail.com> Message-ID: <7f2cbc970910241155v2cea2feex8022f9e669140727@mail.gmail.com> Just to add - Doubt is cleared. Thanks all !! --Bhaskar. On Sat, Oct 24, 2009 at 11:49 PM, bhaskar jain wrote: > >>>On Sat, Oct 24, 2009 at 5:09 PM, Sidharth Kuruvila < > sidharth.kuruvila at gmail.com> wrote: > >>>So do a lot of hard thinking before you say something is broken. > > I have never questioned the correctness, rather wanted to clear my doubt. > > > >>> d = {'a':1, 'b':2, 'c':3} > > >>> id(d.keys()) > 404296 > > >>> d.keys().sort() > > >>> id(d.keys()) > 404296 > > >>> a = d.keys() > >>> print a > ['a', 'c', 'b'] > > >>> id(a) > 404296 > > What did sort do? > > > > >>>Now there is another subtle issue here with d.keys(), ever time you > >>>call it, you get a new list object, not the one you got with the > >>>previous call > > I taught myself to believe that "Python returns references to the same > objects it already had around". > So if i called dict.keys() and have *not* modified my dict and then call > dict.keys() again, i should get a reference to the earlier created list > held. > Anyways it is not so. > > Thanks anyways, > Bhaskar. > > From noufal at gmail.com Sat Oct 24 21:21:44 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sun, 25 Oct 2009 00:51:44 +0530 Subject: [BangPypers] Opensolaris sessions on Saturday at 3 pm at Thoughtworks Bangalore In-Reply-To: <49977f270910231056t1750cdaftefb7b123ce7718d2@mail.gmail.com> References: <49977f270910230816x6f0f4700y5e6d75d08129c3aa@mail.gmail.com> <8548c5f30910230836n51a7a8dcs36a3bd8990a20816@mail.gmail.com> <49977f270910231056t1750cdaftefb7b123ce7718d2@mail.gmail.com> Message-ID: <9963e56e0910241221wf26bda3i6b46d2adea5ed2b4@mail.gmail.com> This was quite remarkable. I enjoyed the whole thing very much. I had to leave a little early so couldn't get the whole of the zfs demo. At what time did you guys leave? -- ~noufal http://nibrahim.net.in From sriramnrn at gmail.com Sat Oct 24 21:30:19 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sun, 25 Oct 2009 01:00:19 +0530 Subject: [BangPypers] Opensolaris sessions on Saturday at 3 pm at Thoughtworks Bangalore In-Reply-To: <9963e56e0910241221wf26bda3i6b46d2adea5ed2b4@mail.gmail.com> References: <49977f270910230816x6f0f4700y5e6d75d08129c3aa@mail.gmail.com> <8548c5f30910230836n51a7a8dcs36a3bd8990a20816@mail.gmail.com> <49977f270910231056t1750cdaftefb7b123ce7718d2@mail.gmail.com> <9963e56e0910241221wf26bda3i6b46d2adea5ed2b4@mail.gmail.com> Message-ID: <49977f270910241230l6ba01b74rccc49c10445d9b78@mail.gmail.com> On Sun, Oct 25, 2009 at 12:51 AM, Noufal Ibrahim wrote: > This was quite remarkable. I enjoyed the whole thing very much. I had > to leave a little early so couldn't get the whole of the zfs demo. At > what time did you guys leave? > We left at 8:30, I think. The real presentation stuff got over at a little past seven-thirty, and from then on, we had a number of technical and industry level discussions. I wish I didn't miss the DTrace session, since I wanted to see what Pradhap had presented on DTrace. I am starting to put together a session called "DTrace for programmers", where we'll cover DTracing PHP and Python apps. I wanted to observe audience questions and thinking so that I can tailor my session accordingly. Unfortulately, I had to help out with some really important work in the company and could only attend the meeting at a little past five. > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From anurag08priyam at gmail.com Sun Oct 25 10:47:29 2009 From: anurag08priyam at gmail.com (Anurag Priyam) Date: Sun, 25 Oct 2009 15:17:29 +0530 Subject: [BangPypers] Opensolaris sessions on Saturday at 3 pm at Thoughtworks Bangalore In-Reply-To: <49977f270910230816x6f0f4700y5e6d75d08129c3aa@mail.gmail.com> References: <49977f270910230816x6f0f4700y5e6d75d08129c3aa@mail.gmail.com> Message-ID: <95d7ba070910250247p48795099h55b236a51dc905ff@mail.gmail.com> > Based on a survey that I had put out, the following are the topics > that we'll cover: > > 1. Observing and investigating processes using Dtrace - Pradhap > Devarajan, Sun Microsystems > 2. What's exciting about the ZFS filesystem - Sriram Narayanan, > Thoughtworks > 3. Deployments made easy - Zones and ZFS - Moinak Ghosh, Belenix Lead > Developer > > These sound very exciting. Could someone please upload the slides somewhere where others, who did not attend the session can download and view them? -- Anurag Priyam 2nd Year,Mechanical Engineering, IIT Kharagpur. +91-9775550642 From noufal at gmail.com Sun Oct 25 18:18:22 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sun, 25 Oct 2009 22:48:22 +0530 Subject: [BangPypers] ElementTree nodes Message-ID: <9963e56e0910251018s8061ce6ge43720198255bbf7@mail.gmail.com> Hello everyone, Does anyone have experience here with elementree? Why does a valid node evaluate to False? >>> type(n) >>> n >>> bool(n) False >>> assert n Traceback (most recent call last): File "", line 1, in AssertionError >>> It's the same BTW for elementTree and the C implementation. Apparently (atleast with 2.6), the classes are still old-style. What's the special method to coerce an object into a boolean? Thanks -- ~noufal http://nibrahim.net.in From noufal at gmail.com Sun Oct 25 18:19:51 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sun, 25 Oct 2009 22:49:51 +0530 Subject: [BangPypers] ElementTree nodes In-Reply-To: <9963e56e0910251018s8061ce6ge43720198255bbf7@mail.gmail.com> References: <9963e56e0910251018s8061ce6ge43720198255bbf7@mail.gmail.com> Message-ID: <9963e56e0910251019j589f3f14xd8e218a9838eb3f2@mail.gmail.com> On Sun, Oct 25, 2009 at 10:48 PM, Noufal Ibrahim wrote: > Hello everyone, > ? Does anyone have experience here with elementree? Why does a valid > node evaluate to False? > It's documented apparently. http://effbot.org/zone/elementtree-13-intro.htm Quite counter intuitive though. :-/ -- ~noufal http://nibrahim.net.in From noufal at gmail.com Sun Oct 25 20:01:15 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 26 Oct 2009 00:31:15 +0530 Subject: [BangPypers] ElementTree nodes In-Reply-To: <7f2cbc970910251150h3049e265vaed65366174bf31d@mail.gmail.com> References: <9963e56e0910251018s8061ce6ge43720198255bbf7@mail.gmail.com> <7f2cbc970910251150h3049e265vaed65366174bf31d@mail.gmail.com> Message-ID: <9963e56e0910251201l493e4edbp37a62bb2cc43580a@mail.gmail.com> On Mon, Oct 26, 2009 at 12:20 AM, bhaskar jain wrote: > >>>Does anyone have experience here with elementree? Why does a valid >>>node evaluate to False? > > I dont know elementtree but recently had to do some xml work. I found > xml.dom.minidom to be quite good though elementtree and lxml are quite > popular . > I dont get the same results as you. Can you try this with an element that has zero children? From effbot's docs, I think that's the difference. -- ~noufal http://nibrahim.net.in From bhaskar.jain2002 at gmail.com Sun Oct 25 20:22:52 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Mon, 26 Oct 2009 00:52:52 +0530 Subject: [BangPypers] ElementTree nodes In-Reply-To: <9963e56e0910251201l493e4edbp37a62bb2cc43580a@mail.gmail.com> References: <9963e56e0910251018s8061ce6ge43720198255bbf7@mail.gmail.com> <7f2cbc970910251150h3049e265vaed65366174bf31d@mail.gmail.com> <9963e56e0910251201l493e4edbp37a62bb2cc43580a@mail.gmail.com> Message-ID: <7f2cbc970910251222y346cf18fr505ebc6b6ac90f7@mail.gmail.com> On Mon, Oct 26, 2009 at 12:31 AM, Noufal Ibrahim wrote: >>>Can you try this with an element that has zero children? From effbot's >>>docs, I think that's the difference. "The boolean interpretation will most likely change in future versions, so that all elements evaluate to true, also if they have no children." Correct. >>> a = ElementTree.parse("g.xml").getroot() >>> type(a.getchildren()[0]) >>> bool(a.getchildren()[0]) True >>> type(a.getchildren()[0].getchildren()[0]) >>> bool(a.getchildren()[0].getchildren()[0]) False >>> a.getchildren()[0].getchildren()[0].getchildren() [] --Bhaskar. From noufal at gmail.com Sun Oct 25 20:37:01 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 26 Oct 2009 01:07:01 +0530 Subject: [BangPypers] ElementTree nodes In-Reply-To: <7f2cbc970910251222y346cf18fr505ebc6b6ac90f7@mail.gmail.com> References: <9963e56e0910251018s8061ce6ge43720198255bbf7@mail.gmail.com> <7f2cbc970910251150h3049e265vaed65366174bf31d@mail.gmail.com> <9963e56e0910251201l493e4edbp37a62bb2cc43580a@mail.gmail.com> <7f2cbc970910251222y346cf18fr505ebc6b6ac90f7@mail.gmail.com> Message-ID: <9963e56e0910251237r3917ffcbicc062923e9e6df98@mail.gmail.com> On Mon, Oct 26, 2009 at 12:52 AM, bhaskar jain wrote: > On Mon, Oct 26, 2009 at 12:31 AM, Noufal Ibrahim wrote: >>>>Can you try this with an element that has zero children? From effbot's >>>>docs, I think that's the difference. > "The boolean interpretation will most likely change in future versions, so > that all elements evaluate to true, also if they have no children." > Correct.[..] Yup. Felt weird that an object with working methods evaluated to false just because it was a leaf in a tree. That's probably saying a lot about the consistency of objects in Python generally and how a small thing can be quite jarring. -- ~noufal http://nibrahim.net.in From sidharth.kuruvila at gmail.com Sun Oct 25 21:13:00 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Mon, 26 Oct 2009 01:43:00 +0530 Subject: [BangPypers] ElementTree nodes In-Reply-To: <9963e56e0910251237r3917ffcbicc062923e9e6df98@mail.gmail.com> References: <9963e56e0910251018s8061ce6ge43720198255bbf7@mail.gmail.com> <7f2cbc970910251150h3049e265vaed65366174bf31d@mail.gmail.com> <9963e56e0910251201l493e4edbp37a62bb2cc43580a@mail.gmail.com> <7f2cbc970910251222y346cf18fr505ebc6b6ac90f7@mail.gmail.com> <9963e56e0910251237r3917ffcbicc062923e9e6df98@mail.gmail.com> Message-ID: <2ab2ed550910251313s2fd4ac03s9669faab88c819ce@mail.gmail.com> Hi, I don't have elementree, so I just wanted to confirm what is happening here. Is it that the Element type is a subclass of list. Which would lead an empty Element to have the same boolean property as an empty list. Or is there some way of specifying the truthfulness of an object. Regards, Sidharth On Mon, Oct 26, 2009 at 1:07 AM, Noufal Ibrahim wrote: > On Mon, Oct 26, 2009 at 12:52 AM, bhaskar jain > wrote: >> On Mon, Oct 26, 2009 at 12:31 AM, Noufal Ibrahim wrote: >>>>>Can you try this with an element that has zero children? From effbot's >>>>>docs, I think that's the difference. >> "The boolean interpretation will most likely change in future versions, so >> that all elements evaluate to true, also if they have no children." >> Correct.[..] > > Yup. Felt weird that an object with working methods evaluated to false > just because it was a leaf in a tree. That's probably saying a lot > about the consistency of objects in Python generally and how a small > thing can be quite jarring. > > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- I am but a man. From sidharth.kuruvila at gmail.com Sun Oct 25 21:23:58 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Mon, 26 Oct 2009 01:53:58 +0530 Subject: [BangPypers] ElementTree nodes In-Reply-To: <2ab2ed550910251313s2fd4ac03s9669faab88c819ce@mail.gmail.com> References: <9963e56e0910251018s8061ce6ge43720198255bbf7@mail.gmail.com> <7f2cbc970910251150h3049e265vaed65366174bf31d@mail.gmail.com> <9963e56e0910251201l493e4edbp37a62bb2cc43580a@mail.gmail.com> <7f2cbc970910251222y346cf18fr505ebc6b6ac90f7@mail.gmail.com> <9963e56e0910251237r3917ffcbicc062923e9e6df98@mail.gmail.com> <2ab2ed550910251313s2fd4ac03s9669faab88c819ce@mail.gmail.com> Message-ID: <2ab2ed550910251323x30b3fe87wb8f88f4f4d34ab3e@mail.gmail.com> Hi, To answer myself. It turns out any object that returns len(o) as 0 will evaluate as false. class c: def __len__(self): return 0 i = c() print bool(i) # Prints False On the one side this does make things quite consistent. On the other it is a bit unintuitive. Any idea if this behaviour holds in python 3? Regards, Sidharth On Mon, Oct 26, 2009 at 1:43 AM, Sidharth Kuruvila wrote: > Hi, > > ?I don't have elementree, so I just wanted to confirm what is > happening here. Is it that the Element type is a subclass of list. > Which would lead an empty Element to have the same boolean property as > an empty list. > > Or is there some way of specifying the truthfulness of an object. > > Regards, > Sidharth > > On Mon, Oct 26, 2009 at 1:07 AM, Noufal Ibrahim wrote: >> On Mon, Oct 26, 2009 at 12:52 AM, bhaskar jain >> wrote: >>> On Mon, Oct 26, 2009 at 12:31 AM, Noufal Ibrahim wrote: >>>>>>Can you try this with an element that has zero children? From effbot's >>>>>>docs, I think that's the difference. >>> "The boolean interpretation will most likely change in future versions, so >>> that all elements evaluate to true, also if they have no children." >>> Correct.[..] >> >> Yup. Felt weird that an object with working methods evaluated to false >> just because it was a leaf in a tree. That's probably saying a lot >> about the consistency of objects in Python generally and how a small >> thing can be quite jarring. >> >> -- >> ~noufal >> http://nibrahim.net.in >> _______________________________________________ >> BangPypers mailing list >> BangPypers at python.org >> http://mail.python.org/mailman/listinfo/bangpypers >> > > > > -- > I am but a man. > -- I am but a man. From bhaskar.jain2002 at gmail.com Sun Oct 25 21:42:54 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Mon, 26 Oct 2009 02:12:54 +0530 Subject: [BangPypers] ElementTree nodes In-Reply-To: <2ab2ed550910251323x30b3fe87wb8f88f4f4d34ab3e@mail.gmail.com> References: <9963e56e0910251018s8061ce6ge43720198255bbf7@mail.gmail.com> <7f2cbc970910251150h3049e265vaed65366174bf31d@mail.gmail.com> <9963e56e0910251201l493e4edbp37a62bb2cc43580a@mail.gmail.com> <7f2cbc970910251222y346cf18fr505ebc6b6ac90f7@mail.gmail.com> <9963e56e0910251237r3917ffcbicc062923e9e6df98@mail.gmail.com> <2ab2ed550910251313s2fd4ac03s9669faab88c819ce@mail.gmail.com> <2ab2ed550910251323x30b3fe87wb8f88f4f4d34ab3e@mail.gmail.com> Message-ID: <7f2cbc970910251342n3f139e85jf08d86671073f5aa@mail.gmail.com> On Mon, Oct 26, 2009 at 1:53 AM, Sidharth Kuruvila < sidharth.kuruvila at gmail.com> wrote: >>>It turns out any object that returns len(o) as 0 >>>will evaluate as false. Not always. doc says - "instances of user-defined classes, if the class defines a __nonzero__() or __len__() method, when that method returns the integer zero or bool value False." object.__nonzero__(self) Called to implement truth value testing and the built-in operation bool(); should return False or True, or their integer equivalents 0 or 1. When this method is not defined, __len__() is called, if it is defined, and the object is considered true if its result is nonzero. If a class defines neither __len__() nor __nonzero__(), all its instances are considered true. First it looks for __nonzero__ and if its absent then only __len__ >>> class c: ... def __nonzero__(self): ... return False ... def __len__(self): ... return True ... >>> o = c() >>> bool(o) False --Bhaskar. From sidharth.kuruvila at gmail.com Sun Oct 25 21:50:30 2009 From: sidharth.kuruvila at gmail.com (Sidharth Kuruvila) Date: Mon, 26 Oct 2009 02:20:30 +0530 Subject: [BangPypers] ElementTree nodes In-Reply-To: <7f2cbc970910251342n3f139e85jf08d86671073f5aa@mail.gmail.com> References: <9963e56e0910251018s8061ce6ge43720198255bbf7@mail.gmail.com> <7f2cbc970910251150h3049e265vaed65366174bf31d@mail.gmail.com> <9963e56e0910251201l493e4edbp37a62bb2cc43580a@mail.gmail.com> <7f2cbc970910251222y346cf18fr505ebc6b6ac90f7@mail.gmail.com> <9963e56e0910251237r3917ffcbicc062923e9e6df98@mail.gmail.com> <2ab2ed550910251313s2fd4ac03s9669faab88c819ce@mail.gmail.com> <2ab2ed550910251323x30b3fe87wb8f88f4f4d34ab3e@mail.gmail.com> <7f2cbc970910251342n3f139e85jf08d86671073f5aa@mail.gmail.com> Message-ID: <2ab2ed550910251350i380dd2ecv639e8a53a6386fa5@mail.gmail.com> Ah yes, silly me. Must remember to go to the docs before posting :">. On Mon, Oct 26, 2009 at 2:12 AM, bhaskar jain wrote: > On Mon, Oct 26, 2009 at 1:53 AM, Sidharth Kuruvila < > sidharth.kuruvila at gmail.com> wrote: >>>>It turns out any object that returns len(o) as 0 >>>>will evaluate as false. > > Not always. > > doc says - "instances of user-defined classes, if the class defines a > __nonzero__() or __len__() method, when that method returns the integer zero > or bool value False." > > object.__nonzero__(self) > > Called to implement truth value testing and the built-in operation bool(); > should return False or True, or their integer equivalents 0 or 1. When this > method is not defined, __len__() is called, if it is defined, and the object > is considered true if its result is nonzero. If a class defines neither > __len__() nor __nonzero__(), all its instances are considered true. > > > First it looks for __nonzero__ and if its absent then only __len__ > >>>> class c: > ... def __nonzero__(self): > ... ? ? return False > ... def __len__(self): > ... ? ?return True > ... >>>> o = c() >>>> bool(o) > False > > > > > --Bhaskar. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- I am but a man. From abpillai at gmail.com Mon Oct 26 04:38:06 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 26 Oct 2009 09:08:06 +0530 Subject: [BangPypers] Re-working the GIL Message-ID: <8548c5f30910252038i709f1033u8651944d87bc4901@mail.gmail.com> There is a thread started by Antoine Pitrou in python-dev. He suggests a slightly different approach to GIL implementation, which uses a time based approach than counting opcodes to acquire/release the GIL, which is the current implementation. http://mail.python.org/pipermail/python-dev/2009-October/093321.html -- --Anand From bhaskar.jain2002 at gmail.com Mon Oct 26 06:57:41 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Mon, 26 Oct 2009 11:27:41 +0530 Subject: [BangPypers] escaping for xml Message-ID: <7f2cbc970910252257y2209e8eaqaa70c73e9d15ef4b@mail.gmail.com> Hello, I am stuck while escaping "<" and ">" in the xml file using xml.dom.minidom. I tried to get the unicode hex value and use that instead ( http://slayeroffice.com/tools/unicode_lookup/) Tried to use the standard "<" and ">" but still with no success. I saw similar bugs in python bugzilla - http://bugs.python.org/issue5752and some others but not sure. >>> from xml.dom.minidom import Document >>> doc = Document() >>> e = doc.createElement("abc") >>> s1 = 'bhaskar' >>> text = doc.createTextNode(s1) >>> e.appendChild(text) bha..."> >>> e.toxml() '<hello>bhaskar</hello>' same result with writexml() >>> from xml.dom.minidom import Document >>> doc = Document() >>> e = doc.createElement("abc") >>> s1 = u'<hello>bhaskar</hello>' >>> text = doc.createTextNode(s1) >>> e.appendChild(text) >>> e.toxml() u'&lt;hello&gt;bhaskar&lt;/hello&gt;' Tried other ways but with same results. Only way is to override the writer and replace like shown here - http://www.velocityreviews.com/forums/t330646-a-simple-xmldomminidom-question.html . Has anybody solved this? I want to have a text node with contents as "ds:X509Certificate>-----BEGIN CERTIFICATE----- ". Creating an element as "ds:x509Certificate" and then creating a text node with the certificate and appending it to the element works but a third party-library fails to parse it. So would like to have a single text node with the contents. Thanks. --Bhaskar. From srinivas_thatiparthy at akebonosoft.com Mon Oct 26 06:54:29 2009 From: srinivas_thatiparthy at akebonosoft.com (Srinivas Reddy Thatiparthy) Date: Mon, 26 Oct 2009 11:24:29 +0530 Subject: [BangPypers] FYI.. Message-ID: <4EF2BF691B890546B2694C99A2852F0C01C370D6@astserver3.akebonosoft.com> Just now , i have gone through this article regarding the differences between "Abstraction and Encapsulation and Information hiding" thought of sharing with you people. http://www.itmweb.com/essay550.htm Regards, Srinivas Reddy Thatiparthy. -------------- I hear and I forget. I see and I remember. I do and I understand. - Confucius. From bhaskar.jain2002 at gmail.com Mon Oct 26 07:02:23 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Mon, 26 Oct 2009 11:32:23 +0530 Subject: [BangPypers] escaping for xml In-Reply-To: <7f2cbc970910252257y2209e8eaqaa70c73e9d15ef4b@mail.gmail.com> References: <7f2cbc970910252257y2209e8eaqaa70c73e9d15ef4b@mail.gmail.com> Message-ID: <7f2cbc970910252302j416d9de8y304db1ae48f9fbc5@mail.gmail.com> sorry forgot to mention that tried with specifying the encoding in toxml() too but with same results. >>> e.toxml("UTF-8") '&lt;hello&gt;bhaskar&lt;/hello&gt;' >>> e.toxml("utf-8") '&lt;hello&gt;bhaskar&lt;/hello&gt;' Thanks. Bhaskar. On Mon, Oct 26, 2009 at 11:27 AM, bhaskar jain wrote: > Hello, > > I am stuck while escaping "<" and ">" in the xml file using > xml.dom.minidom. > I tried to get the unicode hex value and use that instead ( > http://slayeroffice.com/tools/unicode_lookup/) > Tried to use the standard "<" and ">" but still with no success. > I saw similar bugs in python bugzilla - http://bugs.python.org/issue5752and some others but not sure. > > > >>> from xml.dom.minidom import Document > >>> doc = Document() > >>> e = doc.createElement("abc") > >>> s1 = 'bhaskar' > >>> text = doc.createTextNode(s1) > >>> e.appendChild(text) > bha..."> > > >>> e.toxml() > '<hello>bhaskar</hello>' > > same result with writexml() > > > >>> from xml.dom.minidom import Document > >>> doc = Document() > >>> e = doc.createElement("abc") > >>> s1 = u'<hello>bhaskar</hello>' > >>> text = doc.createTextNode(s1) > >>> e.appendChild(text) > > > >>> e.toxml() > u'&lt;hello&gt;bhaskar&lt;/hello&gt;' > > > Tried other ways but with same results. > Only way is to override the writer and replace like shown here - > http://www.velocityreviews.com/forums/t330646-a-simple-xmldomminidom-question.html > . > > Has anybody solved this? > > I want to have a text node with contents as > "ds:X509Certificate>-----BEGIN CERTIFICATE----- ". > Creating an element as "ds:x509Certificate" and then creating a text node > with the certificate and appending it to the element works but a third > party-library fails to parse it. > So would like to have a single text node with the contents. > > Thanks. > > --Bhaskar. > > > From jaganadhg at gmail.com Mon Oct 26 12:09:28 2009 From: jaganadhg at gmail.com (JAGANADH G) Date: Mon, 26 Oct 2009 16:39:28 +0530 Subject: [BangPypers] psycopg2 problem Message-ID: Dear All I was trying to connect to postgre db with Python psycopg2 . The code for connecting the db is import psycopg2 try: dbconn = psycopg2.connect( "dbname=%s user=%s\ host='localhost' password=%s" ) % ( dbname,dbuser, dbpass ) except: raise When I am running the program it throws the follwing error . Traceback (most recent call last): File "test.py", line 228, in retriveData(dbn, dbu, dbp, idb,odt) File "test.py", line 24, in retriveData host='localhost' password=%s" ) % ( dbname,dbuser, dbpass ) psycopg2.OperationalError: FATAL: password authentication failed for user "%s" How to resolve this. -- ********************************** JAGANADH G http://jaganadhg.freeflux.net/blog From anandology at gmail.com Mon Oct 26 12:16:55 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 26 Oct 2009 16:46:55 +0530 Subject: [BangPypers] psycopg2 problem In-Reply-To: References: Message-ID: <41139fcb0910260416q7a4bb322g9fd5edd0936e064a@mail.gmail.com> > I was trying to connect to postgre db with Python psycopg2 . The code for > connecting the db is > > ? ?import psycopg2 > > ? ?try: > ? ? ? ?dbconn = psycopg2.connect( "dbname=%s user=%s\ > ? ? ? ?host='localhost' password=%s" ) % ( dbname,dbuser, dbpass ) > ? ?except: > ? ? ? ?raise You are trying to pass all db parameters. You should be doing some thing like this: conn = psycopg2.connect(dbname=dbname, user=dbuser, password=dbpass) Anand From jaganadhg at gmail.com Mon Oct 26 12:30:21 2009 From: jaganadhg at gmail.com (JAGANADH G) Date: Mon, 26 Oct 2009 17:00:21 +0530 Subject: [BangPypers] psycopg2 problem In-Reply-To: <41139fcb0910260416q7a4bb322g9fd5edd0936e064a@mail.gmail.com> References: <41139fcb0910260416q7a4bb322g9fd5edd0936e064a@mail.gmail.com> Message-ID: On Mon, Oct 26, 2009 at 4:46 PM, Anand Chitipothu wrote: > > I was trying to connect to postgre db with Python psycopg2 . The code for > > connecting the db is > > > > import psycopg2 > > > > try: > > dbconn = psycopg2.connect( "dbname=%s user=%s\ > > host='localhost' password=%s" ) % ( dbname,dbuser, dbpass ) > > except: > > raise > > You are trying to pass all db parameters. You should be doing some > thing like this: > > conn = psycopg2.connect(dbname=dbname, user=dbuser, password=dbpass) > > Anand > Now I did it . The code will be now dbcs = "dbname=%s user=%s host='localhost' password=%s" %(dbname, dbuser,dbpass) try: dbconn = psycopg2.connect( dbcs ) except: raise Thanks -- ********************************** JAGANADH G http://jaganadhg.freeflux.net/blog Sent from Chennai, TN, India From anandology at gmail.com Mon Oct 26 12:34:58 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 26 Oct 2009 17:04:58 +0530 Subject: [BangPypers] psycopg2 problem In-Reply-To: References: <41139fcb0910260416q7a4bb322g9fd5edd0936e064a@mail.gmail.com> Message-ID: <41139fcb0910260434p63006a3fofa3c389dd6a7189f@mail.gmail.com> On Mon, Oct 26, 2009 at 5:00 PM, JAGANADH G wrote: > On Mon, Oct 26, 2009 at 4:46 PM, Anand Chitipothu wrote: > >> > I was trying to connect to postgre db with Python psycopg2 . The code for >> > connecting the db is >> > >> > ? ?import psycopg2 >> > >> > ? ?try: >> > ? ? ? ?dbconn = psycopg2.connect( "dbname=%s user=%s\ >> > ? ? ? ?host='localhost' password=%s" ) % ( dbname,dbuser, dbpass ) >> > ? ?except: >> > ? ? ? ?raise >> >> You are trying to pass all db parameters. You should be doing some >> thing like this: >> >> conn = psycopg2.connect(dbname=dbname, user=dbuser, password=dbpass) >> >> Anand >> > > Now I did it . The code will be now > > ? ?dbcs = "dbname=%s user=%s host='localhost' password=%s" %(dbname, > dbuser,dbpass) It is not same. You are trying to creating one string and pass that string as argument to connect. But I passed 3 different parameters. f(1, 2) is not same as f("1 2"). Anand From jaganadhg at gmail.com Mon Oct 26 12:41:59 2009 From: jaganadhg at gmail.com (JAGANADH G) Date: Mon, 26 Oct 2009 17:11:59 +0530 Subject: [BangPypers] psycopg2 problem In-Reply-To: <41139fcb0910260434p63006a3fofa3c389dd6a7189f@mail.gmail.com> References: <41139fcb0910260416q7a4bb322g9fd5edd0936e064a@mail.gmail.com> <41139fcb0910260434p63006a3fofa3c389dd6a7189f@mail.gmail.com> Message-ID: On Mon, Oct 26, 2009 at 5:04 PM, Anand Chitipothu wrote: > On Mon, Oct 26, 2009 at 5:00 PM, JAGANADH G wrote: > > On Mon, Oct 26, 2009 at 4:46 PM, Anand Chitipothu >wrote: > > > >> > I was trying to connect to postgre db with Python psycopg2 . The code > for > >> > connecting the db is > >> > > >> > import psycopg2 > >> > > >> > try: > >> > dbconn = psycopg2.connect( "dbname=%s user=%s\ > >> > host='localhost' password=%s" ) % ( dbname,dbuser, dbpass ) > >> > except: > >> > raise > >> > >> You are trying to pass all db parameters. You should be doing some > >> thing like this: > >> > >> conn = psycopg2.connect(dbname=dbname, user=dbuser, password=dbpass) > >> > >> Anand > >> > > > > Now I did it . The code will be now > > > > dbcs = "dbname=%s user=%s host='localhost' password=%s" %(dbname, > > dbuser,dbpass) > > It is not same. You are trying to creating one string and pass that > string as argument to connect. But I passed 3 different parameters. > > f(1, 2) is not same as f("1 2"). > > Right . Any how I am facing new problem now. See the error. Any hint ? dbcursor.execute( "SELECT id,text FROM %s " ) % indbtname psycopg2.ProgrammingError: syntax error at or near "%" LINE 1: SELECT id,text FROM %s -- ********************************** JAGANADH G http://jaganadhg.freeflux.net/blog Sent from Chennai, TN, India From anandology at gmail.com Mon Oct 26 12:45:12 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 26 Oct 2009 17:15:12 +0530 Subject: [BangPypers] psycopg2 problem In-Reply-To: References: <41139fcb0910260416q7a4bb322g9fd5edd0936e064a@mail.gmail.com> <41139fcb0910260434p63006a3fofa3c389dd6a7189f@mail.gmail.com> Message-ID: <41139fcb0910260445s2e033540sfc3038382bdd1de8@mail.gmail.com> >> > Right . > Any how I am facing new problem now. See the error. Any hint ? > > ? dbcursor.execute( "SELECT id,text FROM %s " ) % indbtname > psycopg2.ProgrammingError: syntax error at or near "%" > LINE 1: SELECT id,text FROM %s You should construct the query first and then pass the query as argument to execute function. I suggest you to go through basic python tutorial before trying some serious programming. Python Tutorial is best place to start. http://docs.python.org/tutorial/index.html Anand From jaganadhg at gmail.com Mon Oct 26 12:52:37 2009 From: jaganadhg at gmail.com (JAGANADH G) Date: Mon, 26 Oct 2009 17:22:37 +0530 Subject: [BangPypers] psycopg2 problem In-Reply-To: <41139fcb0910260445s2e033540sfc3038382bdd1de8@mail.gmail.com> References: <41139fcb0910260416q7a4bb322g9fd5edd0936e064a@mail.gmail.com> <41139fcb0910260434p63006a3fofa3c389dd6a7189f@mail.gmail.com> <41139fcb0910260445s2e033540sfc3038382bdd1de8@mail.gmail.com> Message-ID: On Mon, Oct 26, 2009 at 5:15 PM, Anand Chitipothu wrote: > >> > > Right . > > Any how I am facing new problem now. See the error. Any hint ? > > > > dbcursor.execute( "SELECT id,text FROM %s " ) % indbtname > > psycopg2.ProgrammingError: syntax error at or near "%" > > LINE 1: SELECT id,text FROM %s > > You should construct the query first and then pass the query as > argument to execute function. > > I suggest you to go through basic python tutorial before trying some > serious programming. Python Tutorial is best place to start. > > http://docs.python.org/tutorial/index.html > > Anand > Thanks . I am a newbe to databse programming . First time. -- ********************************** JAGANADH G http://jaganadhg.freeflux.net/blog Sent from Chennai, TN, India From abpillai at gmail.com Mon Oct 26 13:11:00 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Mon, 26 Oct 2009 17:41:00 +0530 Subject: [BangPypers] FW: Exception file,lineno,method inforamtion needed In-Reply-To: <6B08D8093FDF7A4A80ED10C13E19D18A032D371FCE@APACSNCEXMB1.corp.nai.org> References: <6B08D8093FDF7A4A80ED10C13E19D18A032D371FCE@APACSNCEXMB1.corp.nai.org> Message-ID: <8548c5f30910260511s30b0b49cu8dd0e7b283f00845@mail.gmail.com> Forwarding a question from a friend, since he could not reach the list due to some reason... --------------------------------------------------------------------------------------------------- From: edukulla Santhosh kumar Subject: Exception file,lineno,method inforamtion needed To: bangpypers at python.org Date: Tuesday, October 13, 2009, 12:52 PM Hi Team, Iam using the logging module of python to log messages to a file. I have the following code: ###Filename : Method.py class _Method: def _init_(self): self.a = None def g(self): a = 1/0 print(a) ###Filename: Test.py from Method import _Method from log import log k = _Method() def f(): try: k.g() except Exception,e: log(e) Now, the log() method under Test above is under log.py and uses the logging module of python with the following format specifications. When we print the e under log, what i wanted is the information trace pertaining to Method.py like where actually the line no,filename and module name information under method.py to be printed. Currently,iam not getting what i wanted. What need to be done to achieve this? %(levelno)s %(levelname)s %(pathname)s %(filename)s %(module)s %(funcName)s %(lineno)d %(created)f %(relativeCreated)d %(asctime)s %(msecs)d %(thread)d %(threadName)s %(process)d %(message)s Thanks in Advance! Santhosh From anandology at gmail.com Mon Oct 26 13:38:55 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Mon, 26 Oct 2009 18:08:55 +0530 Subject: [BangPypers] FW: Exception file, lineno, method inforamtion needed In-Reply-To: <8548c5f30910260511s30b0b49cu8dd0e7b283f00845@mail.gmail.com> References: <6B08D8093FDF7A4A80ED10C13E19D18A032D371FCE@APACSNCEXMB1.corp.nai.org> <8548c5f30910260511s30b0b49cu8dd0e7b283f00845@mail.gmail.com> Message-ID: <41139fcb0910260538g27e11258wbb9c8c48a34b1a93@mail.gmail.com> On Mon, Oct 26, 2009 at 5:41 PM, Anand Balachandran Pillai wrote: > Forwarding a question from a friend, since he could not reach the list > due to some reason... > > --------------------------------------------------------------------------------------------------- > From: edukulla Santhosh kumar > Subject: Exception file,lineno,method inforamtion needed > To: bangpypers at python.org > Date: Tuesday, October 13, 2009, 12:52 PM > > ? ?Hi Team, > > ? ?Iam using the logging module of python to log messages to a file. > > ? ?I have the following code: > > ? ?###Filename : Method.py > ? ?class _Method: > > ? ?def _init_(self): > ? ? ? ?self.a = None > > ? ?def g(self): > ? ? ? ? a = 1/0 > ? ? ? ? print(a) > > ? ?###Filename: Test.py > ? ?from Method import _Method > ? ?from log import log > > ? ?k = _Method() > > ? ?def f(): > ? ? ? try: > ? ? ? ? k.g() > ? ? ?except Exception,e: > ? ? ? ? log(e) > > ? ?Now, the log() ?method under Test above is under log.py and uses the > logging module of python with the following format specifications. When we > print the e under log, what i wanted is the information trace pertaining to > Method.py like where actually the line no,filename and module name > information under method.py to be printed. Currently,iam not getting what i > wanted. > > ? ?What need to be done to achieve this? > ? ?%(levelno)s > ? ?%(levelname)s > ? ?%(pathname)s > ? ?%(filename)s > ? ?%(module)s > ? ?%(funcName)s > ? ?%(lineno)d > ? ?%(created)f > ? ?%(relativeCreated)d > ? ?%(asctime)s > ? ?%(msecs)d > ? ?%(thread)d > ? ?%(threadName)s > ? ?%(process)d > ? ?%(message)s You can get filename, function, lineno information like this: exception_type, exception_value, tback = sys.exc_info() frames = [] while tback is not None: filename = tback.tb_frame.f_code.co_filename function = tback.tb_frame.f_code.co_name lineno = tback.tb_lineno thread name can be found from: threading.currentThread().getName() Can you explain what mean by level, created, relativeCreated, asctime, process etc. Anand From noufal at gmail.com Mon Oct 26 13:45:39 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Mon, 26 Oct 2009 18:15:39 +0530 Subject: [BangPypers] FW: Exception file, lineno, method inforamtion needed In-Reply-To: <8548c5f30910260511s30b0b49cu8dd0e7b283f00845@mail.gmail.com> References: <6B08D8093FDF7A4A80ED10C13E19D18A032D371FCE@APACSNCEXMB1.corp.nai.org> <8548c5f30910260511s30b0b49cu8dd0e7b283f00845@mail.gmail.com> Message-ID: <9963e56e0910260545p2c07457dla7a65a2c3ffaf9bb@mail.gmail.com> On Mon, Oct 26, 2009 at 5:41 PM, Anand Balachandran Pillai wrote: [..] > ? ?Now, the log() ?method under Test above is under log.py and uses the > logging module of python with the following format specifications. When we > print the e under log, what i wanted is the information trace pertaining to > Method.py like where actually the line no,filename and module name > information under method.py to be printed. Currently,iam not getting what i > wanted. If this is what you want, the logging call should be inside Method.py. You should publish (as part of your API), the logging class which calling applications can modify (add/remove handlers etc.) so that they can get desired behaviour. It would be a bug if you made a logging call inside Test.py and it said that it was being called from Method.py OTOH, if you explicitly want the details of which module/class etc. of the callee, you can get it from the stack frame. -- ~noufal http://nibrahim.net.in From shivraj.ms at gmail.com Mon Oct 26 16:03:41 2009 From: shivraj.ms at gmail.com (Shivaraj M S) Date: Mon, 26 Oct 2009 08:03:41 -0700 (PDT) Subject: [BangPypers] escaping for xml In-Reply-To: <7f2cbc970910252257y2209e8eaqaa70c73e9d15ef4b@mail.gmail.com> References: <7f2cbc970910252257y2209e8eaqaa70c73e9d15ef4b@mail.gmail.com> Message-ID: <26061412.post@talk.nabble.com> This may be a solution if I am not getting you wrong. 1.write the whole string to a file 2.feed that to xml.dom.minidom.parse 3.retrieve whole or childnodes from toxml BhaskarJain wrote: > > Hello, > > I am stuck while escaping "<" and ">" in the xml file using > xml.dom.minidom. > I tried to get the unicode hex value and use that instead ( > http://slayeroffice.com/tools/unicode_lookup/) > Tried to use the standard "<" and ">" but still with no success. > I saw similar bugs in python bugzilla - > http://bugs.python.org/issue5752and some others but not sure. > > >>>> from xml.dom.minidom import Document >>>> doc = Document() >>>> e = doc.createElement("abc") >>>> s1 = 'bhaskar' >>>> text = doc.createTextNode(s1) >>>> e.appendChild(text) > bha..."> > >>>> e.toxml() > '<hello>bhaskar</hello>' > > same result with writexml() > > >>>> from xml.dom.minidom import Document >>>> doc = Document() >>>> e = doc.createElement("abc") >>>> s1 = u'<hello>bhaskar</hello>' >>>> text = doc.createTextNode(s1) >>>> e.appendChild(text) > > >>>> e.toxml() > u'&lt;hello&gt;bhaskar&lt;/hello&gt;' > > > Tried other ways but with same results. > Only way is to override the writer and replace like shown here - > http://www.velocityreviews.com/forums/t330646-a-simple-xmldomminidom-question.html > . > > Has anybody solved this? > > I want to have a text node with contents as > "ds:X509Certificate>-----BEGIN > CERTIFICATE----- ". > Creating an element as "ds:x509Certificate" and then creating a text node > with the certificate and appending it to the element works but a third > party-library fails to parse it. > So would like to have a single text node with the contents. > > Thanks. > > --Bhaskar. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- View this message in context: http://www.nabble.com/escaping-for-xml-tp26054890p26061412.html Sent from the BangPypers - Bangalore Python Users Group mailing list archive at Nabble.com. From bhaskar.jain2002 at gmail.com Mon Oct 26 16:51:51 2009 From: bhaskar.jain2002 at gmail.com (bhaskar jain) Date: Mon, 26 Oct 2009 21:21:51 +0530 Subject: [BangPypers] escaping for xml In-Reply-To: <26061412.post@talk.nabble.com> References: <7f2cbc970910252257y2209e8eaqaa70c73e9d15ef4b@mail.gmail.com> <26061412.post@talk.nabble.com> Message-ID: <7f2cbc970910260851gdffa173q878e8fe9e09bc440@mail.gmail.com> >>>On Mon, Oct 26, 2009 at 8:33 PM, Shivaraj M S wrote: > > This may be a solution if I am not getting you wrong. > 1.write the whole string to a file > 2.feed that to xml.dom.minidom.parse > 3.retrieve whole or childnodes from toxml Thank you for the reply. My problem was that i had an element and had created a textnode with a public certificate and then appended it as a child to the element. Problem is writexml(), toxml() when given '\n' for pretty printing add a newline between the element and the text node. So So my third party wants - ----BEGIN CERTIFICATE .. .... and we give him -----BEGIN CERITIFICATE ...... >>> import xml.dom.minidom as md >>> doc = md.Document() >>> e = doc.createElement("element") >>> t = doc.createTextNode("----BEGIN CERT---- blah blah ---END---CERT---") >>> e.appendChild(t) >>> e.toxml() '----BEGIN CERT---- blah blah ---END---CERT---' >>> e.toprettyxml() '\n\t----BEGIN CERT---- blah blah ---END---CERT---\n\n' So was using writexml('\t', '\n') so as the xml is readable and it added a newline after the element and before the text node causing my third party library to barf in agony. http://stackoverflow.com/questions/1623607/escaping-and-in-xml-when-using-xml-dom-minidom --Bhaskar. From sriramnrn at gmail.com Tue Oct 27 07:49:39 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Tue, 27 Oct 2009 12:19:39 +0530 Subject: [BangPypers] About llvm and llvm-py Message-ID: <49977f270910262349n1459d405lb738d7e076f53b86@mail.gmail.com> Folks: LLVM just got released: http://lwn.net/Articles/358646/ While reading up more about LLVM, I chanced upon llvm-py, and invited the author (Mahadevan R) to present on llvm-py at BangPyper meet. Links: llvm : http://llvm.org/ llvm-py: http://mdevan.nfshost.com/llvm-py/index.html -- Sriram From noufal at gmail.com Tue Oct 27 08:27:35 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Tue, 27 Oct 2009 12:57:35 +0530 Subject: [BangPypers] About llvm and llvm-py In-Reply-To: <49977f270910262349n1459d405lb738d7e076f53b86@mail.gmail.com> References: <49977f270910262349n1459d405lb738d7e076f53b86@mail.gmail.com> Message-ID: <9963e56e0910270027w1b25f44fm7406a1f8fd3c37a3@mail.gmail.com> On Tue, Oct 27, 2009 at 12:19 PM, Sriram Narayanan wrote: > Folks: > > LLVM just got released: http://lwn.net/Articles/358646/ > > While reading up more about LLVM, I chanced upon llvm-py, and invited > the author (Mahadevan R) to present on llvm-py at BangPyper meet. This is awesome. I'm extremely eager to get my fingers dirty with LLVM since I think the unladen swallow project is one of the most promising optimisation attempts for Python. When will the presentation be? I'd like it to be in November since we had 2 this month already but that depends on Mahadevan's schedule. -- ~noufal http://nibrahim.net.in From ramdaz at gmail.com Tue Oct 27 20:33:12 2009 From: ramdaz at gmail.com (Ramdas S) Date: Wed, 28 Oct 2009 01:03:12 +0530 Subject: [BangPypers] {Cross Post }-- Django project for schools Message-ID: <6e38f9f00910271233s53386cdal8f39cfffb88527df@mail.gmail.com> Hey, I heard someone mention about working on some open source project for schools on Django somewhere in one of the groups. Can the developers of this project, kindly stand up please ? Thanks -- Ramdas S +91 9342 583 065 From anandology at gmail.com Wed Oct 28 02:58:07 2009 From: anandology at gmail.com (Anand Chitipothu) Date: Wed, 28 Oct 2009 07:28:07 +0530 Subject: [BangPypers] [Inpycon] {Cross Post }-- Django project for schools In-Reply-To: <6e38f9f00910271233s53386cdal8f39cfffb88527df@mail.gmail.com> References: <6e38f9f00910271233s53386cdal8f39cfffb88527df@mail.gmail.com> Message-ID: <41139fcb0910271858s2754f535p818e6a573567a353@mail.gmail.com> On Wed, Oct 28, 2009 at 1:03 AM, Ramdas S wrote: > > Hey, > > I heard someone mention about working on some open source project for > schools on Django somewhere in one of the groups. > > Can the developers of this project, kindly stand up please ? Contact dinesh at servelots.com. He is the coordinator of that project and he'll be able to get you in touch with the developers. Anand From trilokgk at gmail.com Wed Oct 28 14:56:02 2009 From: trilokgk at gmail.com (Trilok Khairnar) Date: Wed, 28 Oct 2009 19:26:02 +0530 Subject: [BangPypers] Opensolaris sessions on Saturday at 3 pm at Thoughtworks Bangalore In-Reply-To: <49977f270910230816x6f0f4700y5e6d75d08129c3aa@mail.gmail.com> References: <49977f270910230816x6f0f4700y5e6d75d08129c3aa@mail.gmail.com> Message-ID: <185938120910280656u38f03200i683cf4f9454ca97b@mail.gmail.com> Would be cool if you could do the same sessions in Pune too, and/ or if recordings of these sessions (slides/ videos) are available. Thanks, Trilok On Fri, Oct 23, 2009 at 8:46 PM, Sriram Narayanan wrote: > Folks: > > We're conducting a number of sessions tomorrow on some opensolaris technologies. > > Based on a survey that I had put out, the following are the topics > that we'll cover: > > 1. Observing and investigating processes using Dtrace - Pradhap > Devarajan, Sun Microsystems > 2. What's exciting about the ZFS filesystem - Sriram Narayanan, Thoughtworks > 3. Deployments made easy - Zones and ZFS - Moinak Ghosh, Belenix Lead Developer > > Venue: Thoughtworks Technologies, Tower C, Corporate Block, Diamond > District, HAL Airport Road. > Landmarks: > - Near the Indiranagar Flyover off Inner Ring Road > - Opposite TGIF > > Time: 3 pm to 7 pm > > -- Sriram > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From bharath.keshav at gmail.com Wed Oct 28 21:10:46 2009 From: bharath.keshav at gmail.com (Bharath Keshav) Date: Thu, 29 Oct 2009 01:40:46 +0530 Subject: [BangPypers] Innovative Two Product Start-Up Hiring Brilliant Developers Message-ID: Hello Bangpypers, My start-up is hiring...we've got two products ready which we'll be launching in the next two months: an innovative news aggregation web application and a new browser built on Mozilla. We're currently considering brilliant and super-motivated, ego-less developers at the fresher, junior and senior levels. You should have a very solid computer science background ideally with expertise in C and or C++. Your work will be either in Python/Django/Javascript or in Mozilla which mostly involves Mozilla technologies built mostly on Javascript. You should be highly interested in web applications, new web technologies and standards, algorithms, a dynamic intense start-up environment, and changing the world. We offer a competitive salary, intense, challenging and rewarding work. If you're seeking a new challenge and this sounds like you, please send us your CV or resume and a letter describing what brought you to technology/programming to jobs at hiddenreflex dot com. Thanks, Bharath Keshav Hidden Reflex. From noufal at gmail.com Wed Oct 28 21:19:18 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Thu, 29 Oct 2009 01:49:18 +0530 Subject: [BangPypers] Innovative Two Product Start-Up Hiring Brilliant Developers In-Reply-To: References: Message-ID: <9963e56e0910281319m4d3e9584r88fe5c042f7024c2@mail.gmail.com> On Thu, Oct 29, 2009 at 1:40 AM, Bharath Keshav wrote: > Hello Bangpypers, > > My start-up is hiring...we've got two products ready which we'll be [..] I'm not sure if it's formalised yet but it's customary to tag such posts with [commercial]. Peace. -- ~noufal http://nibrahim.net.in From anand.shashwat at gmail.com Fri Oct 30 01:01:39 2009 From: anand.shashwat at gmail.com (Shashwat Anand) Date: Fri, 30 Oct 2009 05:31:39 +0530 Subject: [BangPypers] some doubts regarding python Message-ID: *# 1:* >>> sum([1, 2, 3], 4) 10 How does it actually work ? ( ( (1 + 2) + 3) + 4) or ( ( (4 + 1) + 2 + 3) sum( ) -> sum: (sequence[, start]), so shouldn't 4 be the 'start' that's second case ? "Note that sum(range(n), m) is equivalent to reduce(operator.add, range(n), m)" >>> sum ( [ [ 1 ], [ 2, 3 ] ], [ ]) [1, 2, 3] What's happening here exactly ? [ 1] + [2, 3] = [1, 2, 3] is understandable, but why do we pass a [ ] as a [start] parameter to do so ? >>> reduce(operator.mul, [1, 2, 3], 4) 24 how does it works ? ( ( (1 * 2) * 3) * 4) or (((4 * 1) * 2) * 3) *# 2:* I wrote an LCM function of mine as follows: import fractions def lcm(mylist): # lcm by defination is Lowest Common Multiple # lcm (a*b) = a*b / gcd(a*b) # lcm (a, b, c) = lcm(lcm(a, b), c) # the function lcm() returns lcm of numbers in a list # for the special case of two numbers, pass the argument as lcm([a, b]) sol = 1 for i in mylist: sol = sol * i / fractions.gcd(sol, i) return sol print lcm(range(1, 11)) #gives lcm of numbers (1, 2, 3....,9 ,10) print lcm([2, 3]) #gives lcm of two numbers, a special case print lcm([2, 5, 6, 10]) #gives lcm of a random list However I also did a dirty hack as an alternate approach : import fractions l = [1] print max( ( l[i-2], l.append(l[-1] * i / fractions.gcd(l[-1], i ) ) ) for i in range(2, 12) )[0] # prints the LCM of list (1, 10) However to shorten the code i made it totally unpythonic. Can reduce( ) or any other function be of help ? Let me take a test-case as an example: I want to multiple all the content of a given list, now say my list is lst = [2, 3, 9] I can do: sol = 1 for i in lst: sol *= i print sol However this can also be done as: >>>reduce( operator.mul, lst) Can it be done via List Comprehension or we have to do dirty hacks as mentioned above :( Can the LCM function be reduced ? *The point is if we insert a variable( sol here in both test case and LCM case), which changes its values dynamically depending upon the next values of the list, how can I calculate so without going through the long way of using for-construct*, which makes me feel as though i'm coding in C. reduce( ) or even sum( ) does helps in some cases but it constrains me as per my requirement. Any pointers ? From navin.kabra at gmail.com Fri Oct 30 01:25:51 2009 From: navin.kabra at gmail.com (Navin Kabra) Date: Fri, 30 Oct 2009 05:55:51 +0530 Subject: [BangPypers] some doubts regarding python In-Reply-To: References: Message-ID: On Fri, Oct 30, 2009 at 5:31 AM, Shashwat Anand wrote: > *# 1:* > > >>> sum([1, 2, 3], 4) > 10 > > How does it actually work ? > ( ( (1 + 2) + 3) + 4) or ( ( (4 + 1) + 2 + 3) > ( ( (4 + 1) + 2 + 3) 4 is the 'start' > >>> sum ( [ [ 1 ], [ 2, 3 ] ], [ ]) > [1, 2, 3] > What's happening here exactly ? > (([] + [1]) + [2, 3]) > [ 1] + [2, 3] = [1, 2, 3] is understandable, but why do we pass a [ ] as a > [start] parameter to do so ? > The start defaults to 0. So you'll get ((0 + [1]) + [2, 3]) which is a type error. Cannot add 0 to a list. > >>> reduce(operator.mul, [1, 2, 3], 4) > 24 > how does it works ? > ( ( (1 * 2) * 3) * 4) or (((4 * 1) * 2) * 3) > (((4 * 1) * 2) * 3) >>>reduce( operator.mul, lst) > > Can it be done via List Comprehension or we have to do dirty hacks as > mentioned above :( > Can the LCM function be reduced ? > Something like this should work: def lcm2(a, b): return a*b/fractions.gcd(a,b) def lcm(mylist): return reduce(lcm2, mylist) From navin.kabra at gmail.com Fri Oct 30 01:28:39 2009 From: navin.kabra at gmail.com (Navin Kabra) Date: Fri, 30 Oct 2009 05:58:39 +0530 Subject: [BangPypers] some doubts regarding python In-Reply-To: References: Message-ID: > Something like this should work: > def lcm2(a, b): > return a*b/fractions.gcd(a,b) > > def lcm(mylist): > return reduce(lcm2, mylist) > Actually, this probably should be "reduce(lcm2, mylist, 1)" navin. From anand.shashwat at gmail.com Fri Oct 30 02:16:14 2009 From: anand.shashwat at gmail.com (Shashwat Anand) Date: Fri, 30 Oct 2009 06:46:14 +0530 Subject: [BangPypers] some doubts regarding python In-Reply-To: References: Message-ID: @Navin : Thanks in case #2: "reduce(lcm2, mylist)" works fine On Fri, Oct 30, 2009 at 5:58 AM, Navin Kabra wrote: > > Something like this should work: > > def lcm2(a, b): > > return a*b/fractions.gcd(a,b) > > > > def lcm(mylist): > > return reduce(lcm2, mylist) > > > > Actually, this probably should be "reduce(lcm2, mylist, 1)" > > navin. > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From navin.kabra at gmail.com Fri Oct 30 02:58:11 2009 From: navin.kabra at gmail.com (Navin Kabra) Date: Fri, 30 Oct 2009 07:28:11 +0530 Subject: [BangPypers] some doubts regarding python In-Reply-To: References: Message-ID: On Fri, Oct 30, 2009 at 6:46 AM, Shashwat Anand wrote: > @Navin : Thanks > > in case #2: > "reduce(lcm2, mylist)" works fine > Depends upon what you want the behavior to be when mylist is empty. Sending in a start of '1' will give you '1' as the lcm of an empty list. Sending in nothing will result in an exception. navin. From amit.pureenergy at gmail.com Fri Oct 30 07:07:35 2009 From: amit.pureenergy at gmail.com (Amit Sethi) Date: Fri, 30 Oct 2009 11:37:35 +0530 Subject: [BangPypers] How to search a word list very fast Message-ID: Hi, 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 best way to organize my data and what algorithms would allow me to search this list the fastest. I am sorry for asking a very algorithmic question on the list but I don't know where I can ask my more algorithmic problems suggestions on that would be great Thanks -- A-M-I-T S|S From venkat83 at gmail.com Fri Oct 30 07:13:05 2009 From: venkat83 at gmail.com (Venkatraman S) Date: Fri, 30 Oct 2009 11:43:05 +0530 Subject: [BangPypers] How to search a word list very fast In-Reply-To: References: Message-ID: 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 . I havent tried the latter - hence do not know how it works and what it is used for. > 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 best way to organize my data and what algorithms would allow me > to search this list the fastest. > Try using Patricia Tries. -V- http://twitter.com/venkasub From rmathews at gmail.com Fri Oct 30 07:20:36 2009 From: rmathews at gmail.com (Roshan Mathews) Date: Fri, 30 Oct 2009 11:50:36 +0530 Subject: [BangPypers] How to search a word list very fast In-Reply-To: References: Message-ID: <1c4dc2780910292320v16a86bd6m5627468a0c066173@mail.gmail.com> 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 best way to organize my data and what algorithms would allow me > to search this list the fastest. > I am sorry for asking a very algorithmic question on the list but I don't > know where I can ask my more algorithmic problems suggestions on that would > be great > Use a dict() if you want to store counts, or a set() Worry about performance when you have to. Roshan From navin.kabra at gmail.com Fri Oct 30 09:19:34 2009 From: navin.kabra at gmail.com (Navin Kabra) Date: Fri, 30 Oct 2009 13:49:34 +0530 Subject: [BangPypers] How to search a word list very fast In-Reply-To: References: Message-ID: Amit, Question: why do you want to build this yourself? Depending on what exactly you want to do, it is quite likely that there already exists an algorithm or a free service that does this for you. You should search for that... On Fri, Oct 30, 2009 at 11:37 AM, Amit Sethi wrote: > Hi, > 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 best way to organize my data and what algorithms would allow me > to search this list the fastest. > I am sorry for asking a very algorithmic question on the list but I don't > know where I can ask my more algorithmic problems suggestions on that would > be great > Thanks > > > -- > A-M-I-T S|S > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From abpillai at gmail.com Fri Oct 30 09:58:38 2009 From: abpillai at gmail.com (Anand Balachandran Pillai) Date: Fri, 30 Oct 2009 14:28:38 +0530 Subject: [BangPypers] How to search a word list very fast In-Reply-To: References: Message-ID: <8548c5f30910300158h25b9656an2de6ff6477d9967c@mail.gmail.com> On Fri, Oct 30, 2009 at 1:49 PM, Navin Kabra wrote: > Amit, > Question: why do you want to build this yourself? > Depending on what exactly you want to do, it is quite likely that there > already exists an algorithm or a free service that does this for you. You > should search for that... > Yes. If you are interested in word/language processing algorithms in Python give NLTK a try. Many of these problems are already solved there. http://nltk.org > > On Fri, Oct 30, 2009 at 11:37 AM, Amit Sethi >wrote: > > > Hi, > > 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 best way to organize my data and what algorithms would allow > me > > to search this list the fastest. > > I am sorry for asking a very algorithmic question on the list but I don't > > know where I can ask my more algorithmic problems suggestions on that > would > > be great > > Thanks > > > > > > -- > > A-M-I-T S|S > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- --Anand From amit.pureenergy at gmail.com Sat Oct 31 06:49:43 2009 From: amit.pureenergy at gmail.com (Amit Sethi) Date: Sat, 31 Oct 2009 11:19:43 +0530 Subject: [BangPypers] python zlib problem Message-ID: Hi , For some unknown reason , a bug or a screw up I did myself their is no python-zlib which is supposed to be in standard library(python2.6 on ubuntu jaunty).What is the best way to install this in a non-obtrusive way .Its a very important as many packages refer to this and also python-setuptools. -- A-M-I-T S|S From sriramnrn at gmail.com Sat Oct 31 07:18:27 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sat, 31 Oct 2009 11:48:27 +0530 Subject: [BangPypers] python zlib problem In-Reply-To: References: Message-ID: <49977f270910302318h45afd15t6719118e6ad77107@mail.gmail.com> On Sat, Oct 31, 2009 at 11:19 AM, Amit Sethi wrote: > Hi , > For some unknown reason , ?a bug or a screw up I did myself their is no > python-zlib which is supposed to be in standard library(python2.6 on ubuntu > jaunty).What is the best > way to install this in a non-obtrusive way .Its a very important as many > packages refer to this and also python-setuptools. apt-get repair may help you. > -- > A-M-I-T S|S > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From sriramnrn at gmail.com Sat Oct 31 07:29:40 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sat, 31 Oct 2009 11:59:40 +0530 Subject: [BangPypers] About llvm and llvm-py In-Reply-To: <9963e56e0910270027w1b25f44fm7406a1f8fd3c37a3@mail.gmail.com> References: <49977f270910262349n1459d405lb738d7e076f53b86@mail.gmail.com> <9963e56e0910270027w1b25f44fm7406a1f8fd3c37a3@mail.gmail.com> Message-ID: <49977f270910302329r45766921xbe124f5cfc3db5ef@mail.gmail.com> On Tue, Oct 27, 2009 at 12:57 PM, Noufal Ibrahim wrote: > On Tue, Oct 27, 2009 at 12:19 PM, Sriram Narayanan wrote: >> Folks: >> >> LLVM just got released: http://lwn.net/Articles/358646/ >> >> While reading up more about LLVM, I chanced upon llvm-py, and invited >> the author (Mahadevan R) to present on llvm-py at BangPyper meet. > > This is awesome. I'm extremely eager to get my fingers dirty with LLVM > since I think the unladen swallow project is one of the most promising > optimisation attempts for Python. > Yes. LLVM is interesting indeed. I'm especially impressed by their feature set. > When will the presentation be? I'd like it to be in November since we > had 2 this month already but that depends on Mahadevan's schedule. > > Mahadevan has replied and said that he's eager to showcase his work so far. I've sent to him a link to the bangpypers list, and have also asked him which of the upcoming weekends are convenient to him. > -- > ~noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > From noufal at gmail.com Sat Oct 31 07:33:09 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 31 Oct 2009 12:03:09 +0530 Subject: [BangPypers] python zlib problem In-Reply-To: References: Message-ID: <9963e56e0910302333s26feeee4oc21f56d02c1fd584@mail.gmail.com> On Sat, Oct 31, 2009 at 11:19 AM, Amit Sethi wrote: > Hi , > For some unknown reason , ?a bug or a screw up I did myself their is no > python-zlib which is supposed to be in standard library(python2.6 on ubuntu > jaunty).What is the best > way to install this in a non-obtrusive way .Its a very important as many > packages refer to this and also python-setuptools. Force reinstall the python2.6 pagacke? -- ~noufal http://nibrahim.net.in From amit.pureenergy at gmail.com Sat Oct 31 07:54:24 2009 From: amit.pureenergy at gmail.com (Amit Sethi) Date: Sat, 31 Oct 2009 12:24:24 +0530 Subject: [BangPypers] python zlib problem In-Reply-To: <9963e56e0910302333s26feeee4oc21f56d02c1fd584@mail.gmail.com> References: <9963e56e0910302333s26feeee4oc21f56d02c1fd584@mail.gmail.com> Message-ID: How do you force install a package ?? I have tries doing sudo apt-get --force-yes install python and it has no effects.. -- A-M-I-T S|S From lawgon at thenilgiris.com Sat Oct 31 07:55:14 2009 From: lawgon at thenilgiris.com (Kenneth Gonsalves) Date: Sat, 31 Oct 2009 12:25:14 +0530 Subject: [BangPypers] python zlib problem In-Reply-To: References: <9963e56e0910302333s26feeee4oc21f56d02c1fd584@mail.gmail.com> Message-ID: <200910311225.14943.lawgon@thenilgiris.com> On Saturday 31 Oct 2009 12:24:24 pm Amit Sethi wrote: > How do you force install a package ?? I have tries doing sudo apt-get > --force-yes install python and it has no effects.. > uninstall and install again? -- regards kg http://lawgon.livejournal.com From amit.pureenergy at gmail.com Sat Oct 31 08:03:38 2009 From: amit.pureenergy at gmail.com (Amit Sethi) Date: Sat, 31 Oct 2009 12:33:38 +0530 Subject: [BangPypers] python zlib problem In-Reply-To: <200910311225.14943.lawgon@thenilgiris.com> References: <9963e56e0910302333s26feeee4oc21f56d02c1fd584@mail.gmail.com> <200910311225.14943.lawgon@thenilgiris.com> Message-ID: That is a very dangerous option ... tried it but uninstalls a lot of packages practically the whole ubuntu-desktop. On Sat, Oct 31, 2009 at 12:25 PM, Kenneth Gonsalves wrote: > On Saturday 31 Oct 2009 12:24:24 pm Amit Sethi wrote: > > How do you force install a package ?? I have tries doing sudo apt-get > > --force-yes install python and it has no effects.. > > > uninstall and install again? > -- > regards > kg > http://lawgon.livejournal.com > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- A-M-I-T S|S From noufal at gmail.com Sat Oct 31 08:33:11 2009 From: noufal at gmail.com (Noufal Ibrahim) Date: Sat, 31 Oct 2009 13:03:11 +0530 Subject: [BangPypers] python zlib problem In-Reply-To: References: <9963e56e0910302333s26feeee4oc21f56d02c1fd584@mail.gmail.com> Message-ID: <9963e56e0910310033h28222adfj6ddfaf087e24cb4f@mail.gmail.com> On Sat, Oct 31, 2009 at 12:24 PM, Amit Sethi wrote: > How do you force install a package ?? I have tries doing sudo apt-get > --force-yes install python and it has no effects.. Download the python2.6 (or whatever) package and install it with dpkg --force-all. This is of course assuming that your understanding of the missing package is correct. Are you sure it's Python that you need reinstalled? Perhaps it's just libbz2-1.0 or something? -- ~noufal http://nibrahim.net.in From ramdaz at gmail.com Sat Oct 31 09:16:01 2009 From: ramdaz at gmail.com (Ramdas S) Date: Sat, 31 Oct 2009 13:46:01 +0530 Subject: [BangPypers] About llvm and llvm-py In-Reply-To: <49977f270910302329r45766921xbe124f5cfc3db5ef@mail.gmail.com> References: <49977f270910262349n1459d405lb738d7e076f53b86@mail.gmail.com> <9963e56e0910270027w1b25f44fm7406a1f8fd3c37a3@mail.gmail.com> <49977f270910302329r45766921xbe124f5cfc3db5ef@mail.gmail.com> Message-ID: <6e38f9f00910310116v2ee46135lb01b44498faffc73@mail.gmail.com> Sriram, Can you send the right link for llvm-py On Sat, Oct 31, 2009 at 11:59 AM, Sriram Narayanan wrote: > On Tue, Oct 27, 2009 at 12:57 PM, Noufal Ibrahim wrote: > > On Tue, Oct 27, 2009 at 12:19 PM, Sriram Narayanan > wrote: > >> Folks: > >> > >> LLVM just got released: http://lwn.net/Articles/358646/ > >> > >> While reading up more about LLVM, I chanced upon llvm-py, and invited > >> the author (Mahadevan R) to present on llvm-py at BangPyper meet. > > > > This is awesome. I'm extremely eager to get my fingers dirty with LLVM > > since I think the unladen swallow project is one of the most promising > > optimisation attempts for Python. > > > > Yes. LLVM is interesting indeed. I'm especially impressed by their feature > set. > > > When will the presentation be? I'd like it to be in November since we > > had 2 this month already but that depends on Mahadevan's schedule. > > > > > > Mahadevan has replied and said that he's eager to showcase his work so far. > I've sent to him a link to the bangpypers list, and have also asked > him which of the upcoming weekends are convenient to him. > > > -- > > ~noufal > > http://nibrahim.net.in > > _______________________________________________ > > BangPypers mailing list > > BangPypers at python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > _______________________________________________ > BangPypers mailing list > BangPypers at python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Ramdas S +91 9342 583 065 From steve at lonetwin.net Sat Oct 31 09:20:53 2009 From: steve at lonetwin.net (steve) Date: Sat, 31 Oct 2009 13:50:53 +0530 Subject: [BangPypers] python zlib problem In-Reply-To: References: <9963e56e0910302333s26feeee4oc21f56d02c1fd584@mail.gmail.com> <200910311225.14943.lawgon@thenilgiris.com> Message-ID: <4AEBF365.7030202@lonetwin.net> Hi Amit, Please don't top-post. I've copied your comment below ... On 10/31/2009 12:33 PM, Amit Sethi wrote: > On Sat, Oct 31, 2009 at 12:25 PM, Kenneth Gonsalves > wrote: > >> On Saturday 31 Oct 2009 12:24:24 pm Amit Sethi wrote: >> > How do you force install a package ?? I have tries doing sudo apt-get >> > --force-yes install python and it has no effects.. >> > >> uninstall and install again? > That is a very dangerous option ... tried it but uninstalls a lot of > packages practically the whole ubuntu-desktop. > You could just download the binary package, extract the module and place it in your PYTHON_HOME. On my system that is: /usr/lib64/python2.6/lib-dynload/zlibmodule.so I'm sorry I do not know how to do that for Ubuntu. cheers, - steve -- random non tech spiel: http://lonetwin.blogspot.com/ tech randomness: http://lonehacks.blogspot.com/ what i'm stumbling into: http://lonetwin.stumbleupon.com/ From sriramnrn at gmail.com Sat Oct 31 09:21:18 2009 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sat, 31 Oct 2009 13:51:18 +0530 Subject: [BangPypers] About llvm and llvm-py In-Reply-To: <6e38f9f00910310116v2ee46135lb01b44498faffc73@mail.gmail.com> References: <49977f270910262349n1459d405lb738d7e076f53b86@mail.gmail.com> <9963e56e0910270027w1b25f44fm7406a1f8fd3c37a3@mail.gmail.com> <49977f270910302329r45766921xbe124f5cfc3db5ef@mail.gmail.com> <6e38f9f00910310116v2ee46135lb01b44498faffc73@mail.gmail.com> Message-ID: <49977f270910310121r73367dbcsa174678dd95d1e62@mail.gmail.com> On Sat, Oct 31, 2009 at 1:46 PM, Ramdas S wrote: > Sriram, > > Can you send the right link for llvm-py http://code.google.com/p/llvm-py/ -- Sriram