Re: [BangPypers] Mail formatting for this list

2013-09-14 Thread Aditya Laghate
On Sun, Sep 15, 2013 at 09:14:05AM +0530, Mandar Vaze / मंदार वझे wrote: > > I dont understand. What's your viewport width? Can that only support 80ish > > chars? Are you on mobile/tablet? > > > > It is not uncommon for people to read/respond to emails on mobile/tablet. > So for emails, 80-charact

Re: [BangPypers] Mail formatting for this list

2013-09-14 Thread Mandar Vaze / मंदार वझे
> I dont understand. What's your viewport width? Can that only support 80ish > chars? Are you on mobile/tablet? > It is not uncommon for people to read/respond to emails on mobile/tablet. So for emails, 80-character width isn't bad choice. On the other hand, most people code only on screens that

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-14 Thread Sriram Narayanan
On Sep 15, 2013 4:37 AM, "Dhananjay Nene" wrote: > > On Sun, Sep 15, 2013 at 3:43 AM, Kiran Jonnalagadda wrote: > > > Thanks to Travis, we test every commit, before deployment. > > > > I was perhaps misunderstood. If you test (even with say travis) but without > a pinned requirements.txt, and the

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-14 Thread Dhananjay Nene
On Sun, Sep 15, 2013 at 3:43 AM, Kiran Jonnalagadda wrote: > Thanks to Travis, we test every commit, before deployment. > I was perhaps misunderstood. If you test (even with say travis) but without a pinned requirements.txt, and then create a dist and later deploy the dist onto the server using

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-14 Thread Kiran Jonnalagadda
Thanks to Travis, we test every commit, before deployment. -- Kiran Jonnalagadda http://jace.zaiki.in/ http://hasgeek.com/ (Sent from my phone) On Sep 14, 2013 11:58 PM, "Dhananjay Nene" wrote: > On Sat, Sep 14, 2013 at 11:00 PM, Kiran Jonnalagadda > wrote: > > > We almost never pin at HasGee

Re: [BangPypers] Mail formatting for this list

2013-09-14 Thread Jeffrey Jose
On Sat, Sep 14, 2013 at 4:55 PM, Noufal Ibrahim wrote: > Balachandran Sivakumar writes: > > [...] > > > It is not a "strong" preference. It is something that a > > lot of us are used to, and so I assume people are fine with it and > > hence status quo :). > > It's quite a strong prefe

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-14 Thread Dhananjay Nene
On Sat, Sep 14, 2013 at 11:00 PM, Kiran Jonnalagadda wrote: > We almost never pin at HasGeek. If an external library breaks API, we > upgrade our code ASAP (we discover breakage from Travis reports). > > I know I sound a little too particular, and frankly that is not my intent, but there still re

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-14 Thread Kiran Jonnalagadda
We almost never pin at HasGeek. If an external library breaks API, we upgrade our code ASAP (we discover breakage from Travis reports). Between the risk of breaking code and having the hot seat at any hint of bit rot, I find the latter preferable. Kiran -- Kiran Jonnalagadda http://jace.zaiki.i

Re: [BangPypers] [Announce] Online Python workshop

2013-09-14 Thread Noufal Ibrahim
I just wrapped this up earlier today and have the course notes and IRC transcript at http://thelycaeum.in/online-workshops/python-14-Sep-2013/python-14-sep-2013.html Comments welcome. Thanks! Noufal Ibrahim writes: > Hello everyone, > I'm planning to do a small online Python worksh

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-14 Thread Noufal Ibrahim
Dhananjay Nene writes: [...] > The difficulty with that approach (I've never actually done it) is > that it requires versioning these bundles, make them available to your > installation scripts and code to them (lately I've started using > ansible to do this). I know. I don't think I'd do it a

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-14 Thread Dhananjay Nene
On Sat, Sep 14, 2013 at 2:56 PM, Noufal Ibrahim wrote: > Baishampayan Ghose writes: > > > Oh! Is that a big deal? Of course we pin our requirements (in all > > languages) and that's how it should be done. Otherwise you can't get > > repeatable builds. ~BG > > I sometimes go futher and bundle the

[BangPypers] Getting started with DTrace.

2013-09-14 Thread Sriram Narayanan
On Sat, Sep 14, 2013 at 10:59 AM, Balachandran Sivakumar < benignb...@gmail.com> wrote: > Hi Sriram, > > On Sat, Sep 14, 2013 at 6:35 AM, Sriram Narayanan > wrote: > > > > I've resumed learning dtrace for debugging on production. Given Paul Fox' > > work on dtrace for Linux (apart from dtrace bei

Re: [BangPypers] confused about behaviour of None in python

2013-09-14 Thread Prashant Gaur
Actually i am working on 2.7.3 now i got . Thanks dude. On Sat, Sep 14, 2013 at 3:52 PM, Vivek Puri wrote: > Hi, > > I tried >> >> In [55]: None < 10 >> Out[55]: True >> >> It gives me output True . >> it suppose to give me error . >> Please explain me None < 10 is True . >> >> > In python2

Re: [BangPypers] confused about behaviour of None in python

2013-09-14 Thread Vivek Puri
Hi, I tried In [55]: None < 10 Out[55]: True It gives me output True . it suppose to give me error . Please explain me None < 10 is True . In python2 None is always considered "lowest" value so, None will always be < any other value. Which explains the result you are getting. In Python3

[BangPypers] confused about behaviour of None in python

2013-09-14 Thread Prashant Gaur
Hi All, I tried In [55]: None < 10 Out[55]: True It gives me output True . it suppose to give me error . Please explain me None < 10 is True . Regards : Prashant Gaur +91 9030015491 ___ BangPypers mailing list BangPypers@python.org https://mail.p

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-14 Thread Noufal Ibrahim
Baishampayan Ghose writes: > Oh! Is that a big deal? Of course we pin our requirements (in all > languages) and that's how it should be done. Otherwise you can't get > repeatable builds. ~BG I sometimes go futher and bundle the dependecies, and put them on dropbox or something. Then wget and ins

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-14 Thread Baishampayan Ghose
Oh! Is that a big deal? Of course we pin our requirements (in all languages) and that's how it should be done. Otherwise you can't get repeatable builds. ~BG On Thu, Sep 12, 2013 at 5:45 PM, BibhasD wrote: > Quick googling suggests pinning = specifying versions. > > I do it. I think that makes mo

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-14 Thread Vineet Naik
I too have learnt the hard way how `--upgrade` can cause conflicts due to the `pip freeze` flattening the dependency tree. What works for me though is to keep requirements.txt completely out of picture when upgrading packages ie. to upgrade manually and preferably do it one package at a time as far