Re: [BangPypers] Online communication channel

2015-08-15 Thread Sriram Narayanan
On Sun, Aug 16, 2015 at 11:04 AM, Noufal Ibrahim KV nou...@nibrahim.net.in
wrote:


- Logging, notification etc. can be handled by one of the various
  open source bots out there. We can keep history with as much
  scrollback as necessary. Most open source chat rooms do this.



See www.echelog.com for an example.

-- Ram
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Connecting developers and companies

2015-07-20 Thread Sriram Narayanan
Folks:

I'm an employee from one of the companies - ThoughtWorks - who have helped
make space available for meetups. I'm not around in Bangalore now-a-days,
so I ask one or the other colleague to help provide space.

Noufal has described at ThoughtWorks position on such meetups.

I've been chaperoning one tech meetup or the other at the ThoughtWorks
offices since 2006. I discuss with other folks who provide venues to such
meetups.

We techies at our organizations get it that other technies need space for
a meetup. We ask internally for space, and we then chaperone the meetup.
Once in a while, there are the odd non-techies who view the whole meetup as
a major marketing opportunity. Depending upon the community, this may or
may not be fine.

Once in a while - for other meetups like the Android user group hosted at
ThoughtWorks- some other company has even sponsored Pizzas. In return, they
were given a 10 minute slot to talk about their product. No one in the
audience ever felt that they were the product or felt offended in any way.
If anything, such sessions once in a while have even helped inspire
confidence that there are companies making products and offering services
using such technologies and in this space.

Fully aware that at the moment I'm inactive and am an arm-chair spectator
at best, I propose that the active community explore providing a 10 minute
slot for companies to speak about themselves and their products, and if
anyone feels that it's getting over commercialized, then discuss how to
address it.

Speaking from personal experience, slamming the door shut doesn't help
anyone.

-- Ram

On Tue, Jul 21, 2015 at 3:05 AM, kracekumar ramaraju 
kracethekingma...@gmail.com wrote:

 Thanks everyone for pitching in with suggestions. Every point is worth.
 At this point we will focus what we're currently doing and pause this
 initiative.

 Thanks once again!

 On Mon, Jul 20, 2015 at 3:27 PM, sayantan bhattacharya 
 skb655...@gmail.com
 wrote:

  Exactly. So, in case the organizers are looking for sponsors for the next
  meetup, the search time reduces too.
  On Jul 20, 2015 3:03 PM, Mandar Vaze / मंदार वझे mandarv...@gmail.com
 
  wrote:
 
   
But in case Company B wishes to present too, they
will have to get prior permission from Company A along with the
   organizers
of the meet-up.
   
  
   Or Company B can just sponsor next meetup ;)
  
   -Mandar
   ___
   BangPypers mailing list
   BangPypers@python.org
   https://mail.python.org/mailman/listinfo/bangpypers
  
  ___
  BangPypers mailing list
  BangPypers@python.org
  https://mail.python.org/mailman/listinfo/bangpypers
 



 --

 *Thanks  RegardskracekumarTalk is cheap, show me the code -- Linus
 Torvaldshttp://kracekumar.com http://kracekumar.com*
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] About the Nim Language

2014-12-30 Thread Sriram Narayanan
Hi folks:

I discovered the Nim programming language via HackerNews.

Here are some discussion threads:
https://news.ycombinator.com/item?id=8814449
http://forum.nim-lang.org/t/671

A quote that caught my attention : Nim is like writing C at the speed of
Python, and running Python at the speed of C.

-- Ram
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] The Python I would like to see - Armin Ronacher

2014-08-19 Thread Sriram Narayanan
On Tue, Aug 19, 2014 at 9:53 PM, Gora Mohanty g...@mimirtech.com wrote:
snip/

 We have been itching to goto Python 3, but the deal-breaker for us was
 Django
 not being ready. Now that Django does support Python 3, we did think again
 about
 moving, but held off exactly because of what you mention: Lack of
 Python 3 support
 in several third-party apps that were critical for us.


I've suggested to one of my customers that they could sponsor some dev time
for helping migrate to Python 3. After some consideration, they moved to Go
Lang.


 Regards,
 Gora


-- Ram
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] The Python I would like to see - Armin Ronacher

2014-08-18 Thread Sriram Narayanan
On Tue, Aug 19, 2014 at 10:06 AM, Noufal Ibrahim nou...@nibrahim.net.in
wrote:

 On 2014-08-18 21:45, chandrakant kumar wrote:

 Python 3 has been a disappointment.


 I haven't used it enough to judge (and this has, in my experience, been
 the case with most critics).

 However, as the projects I deal with grow larger, I'm becoming
 increasingly frustrated with Python (and dynamic languages in general).


Hi Noufal, could you elaborate on this? I have enjoyed the freedom of
non-static typing that Python and Ruby offer, but also sometimes miss the
static type checking that C# and Java offer.



-- Ram
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


[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 sriram...@gmail.com
 wrote:
 
  I've resumed learning dtrace for debugging on production. Given Paul Fox'
  work on dtrace for Linux (apart from dtrace being production ready on bsd
  and Solaris), and the dtrace patches for Python ( both of which I haven't
  tried yet), I think using dtrace will be most effective going forward.
 

 When you find some time, please do post a few Python
 dtrace one-liners here. It would be useful to the rest of us. Thanks



OSX, Solaris, BSD users: you already have DTrace.
Linux users: See https://github.com/dtrace4linux/linux

Once you've determined that you have dtrace (by either installing
dtrace4linux
Run python in one terminal window, and then dtrace -l | grep python in
another window.

Please see: http://www.brendangregg.com/dtrace.html#DTraceToolkit

Get the DTrace toolkit, and check the scripts in the python folder. Start
using these scripts. I've only tried this out on Solaris, though they may
work on other OS platforms too.

-- Ram
www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


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

2013-09-14 Thread Sriram Narayanan
On Sep 15, 2013 4:37 AM, Dhananjay Nene dhananjay.n...@gmail.com wrote:

 On Sun, Sep 15, 2013 at 3:43 AM, Kiran Jonnalagadda j...@pobox.com
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 a pip install (w/o a requirements.txt) then you no
 longer have a repeatability in terms of transient dependencies. Because
 travis may have used a version x.y of a transient dependency but the
actual
 deployment may end up using version x.(y+1) if the dependency in setup.py
 of a dist you directly used specified the transient dependency as = x.0
 say.

To avoid this problem, I'd ensure that my build and production systems are
setup using the same scripts.

I'm inclined to bundling dependencies as private libraries if I've no
control on the runtime systems.


 Or then perhaps I couldn't understand something.

 
  --
  Kiran Jonnalagadda
  http://jace.zaiki.in/
  http://hasgeek.com/
 
  (Sent from my phone)
  On Sep 14, 2013 11:58 PM, Dhananjay Nene dhananjay.n...@gmail.com
  wrote:
 
   On Sat, Sep 14, 2013 at 11:00 PM, Kiran Jonnalagadda j...@pobox.com
   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 remains an issue in terms of repeatability. The tests
  have
   to be run as a part of the deployment process if you want to ensure
that
   the distributions you test with are the distributions that you deploy
  with.
  
  
Between the risk of breaking code and having the hot seat at any
hint
  of
bit rot, I find the latter preferable.
   
A sentiment I empathise with. Only yesterday I found code breaking
   against
   python 3.3.1 (as opposed to 3.3.0) and hopefully should fix it in the
  next
   couple of days. Its just that I've rarely found the luxury to hold
back a
   deployment should a piece of code break due to dependency version
  upgrades.
   Thus dependency version upgrades almost work with a different time
window
   than just pure deployable distribution version upgrade cycle.
  
Kiran
   
--
Kiran Jonnalagadda
http://jace.zaiki.in/
http://hasgeek.com/
   
(Sent from my phone)
On Sep 14, 2013 10:50 PM, Noufal Ibrahim nou...@nibrahim.net.in
   wrote:
   
 Dhananjay Nene dhananjay.n...@gmail.com 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 again. This was a stop gap thing
back
 then.


 [...]

  After realising distributions eventually disappear pypi
(central),
  makes sense to have your own pypi mirror which lacks the
feature of
  disappearing dists.

 I actually had a script which would make a bundle and then wrap
it up
   in
 a self extracting script (using makeself). If you ran it, it would
   serve
 the packages in that bundle as a local PyPI mirror which you could
 install off of.
 [...]


 --
 Cordially,
 Noufal
 http://nibrahim.net.in
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers
   
  
  
  
   --
  
  
 
--
   http://blog.dhananjaynene.com twitter: @dnene
   http://twitter.com/dnenegoogle plus:
   http://gplus.to/dhananjaynene
   ___
   BangPypers mailing list
   BangPypers@python.org
   https://mail.python.org/mailman/listinfo/bangpypers
  
  ___
  BangPypers mailing list
  BangPypers@python.org
  https://mail.python.org/mailman/listinfo/bangpypers
 
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] https://github.com/pythonhacker/ladies.py

2013-09-07 Thread Sriram Narayanan
I've sent a few emails to Svaksha - first asking what exactly was not
right, and then followed up stating that I didn't see the source code
itself.

I don't know what Anand had in mind writing such code. Knowing him and his
strong sense of sarcastic humor, I'd like to reserve judgement on his
actions until he explains himself. I know that he does care about educating
folks about Python and helping evangelize it.

-- Ram


On Sat, Sep 7, 2013 at 9:49 PM, svaksha svak...@gmail.com wrote:

 https://github.com/pythonhacker/ladies.py, comes off as trying too
 hard to be cute. #EpicFail.

 svaksha ॥ स्वक्ष
 ___
 BangPypers mailing list
 BangPypers@python.org
 https://mail.python.org/mailman/listinfo/bangpypers




-- 

Belenix: www.belenix.org
Twitter: @sriramnrn
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] https://github.com/pythonhacker/ladies.py

2013-09-07 Thread Sriram Narayanan
On Sun, Sep 8, 2013 at 1:27 AM, svaksha svak...@gmail.com wrote:

 Am reading all the responses, including Anand's apology, so I'll reply
 to those later. One at a time.

 And since you responded to my email, here goes:

 On Sat, Sep 7, 2013 at 6:00 PM, Vinayak Hegde vinay...@gmail.com wrote:
 
 
  Nope. I was talking about the initial mail which lacked context.

 There you go again. See below.


  I think we are splitting hairs here. I don't know him and I am not taking
  sides and this is not a battle. I support more constructive methods of
  approaching these problems in the community. Thats it. YMMV.

 Are we ? Lets see, its ok for you to split hairs and call me a troll
 but I cant respond? and when I do you choose to label that as
 splitting hairs?   I find your responses a lot more patronizing and
 I'm happy to explain if you care to listen. The whole telling women
 what to do, how to handle things (despite her saying she does not like
 private conversation on social issues that ought to be public). There
 are plenty of sexist incidents in Foss and its not my job to go in
 private to educate anyone.


  You are entitled to your opinion and me to mine.

 Thanks. However, your repeated emails on this thread came across as
 stuffing your opinions down my throat. I dont appreciate that and find
 it annoying as I dislike having private conversations on bad
 behaviour, unless you are a person I trust and respect - Yes, I've had
 many private conversations with hackers I've never met, just
 interacted online. This is just not one of those.


  But if people flame
  newbies / women / other under-represented groups unfairly (as you believe
  Anand did in this case), I believe there are better ways to tackle that
  IMHO.

 ...and thusfar, your suggestion has been along the lines of go solve
 this problem in private. I've been around the FOSS block far too long
 to know it does not work. Never has. So, I'm curious to know why you
 expect women in Foss to solve social problems in Foss communities in
 private?

 Unrelated to this thread, do you realise that it can easily become a
 he said-she said issue which does not help at all. Been there, done
 that; and blogged about it too:
 http://svaksha.com/category/WOMEN/SexismInSTEM



  I don't know what Anand's intentions were (and hence I reserve my opinion
  as mentioned in earlier mails), but your response (#epicfail) was pretty
  explicit.

 Vinayak, there you go, _yet_ again - you choose to reserve your
 opinions on his intent, but cannot stop harping or splitting hairs
 over my #EpicFail hashtag, or my first mail that lacked context,
 was pretty explicit (which contradicts your lacked context claim).
  Do you want me to explain more or do you not honestly see the
 different (read, unequal) standards here? A pertinent read on tone
 policing:
 http://geekfeminism.org/2013/09/05/tone-policing-a-tool-for-protecting-male-power/

 Btw, Vinayak, you are not alone as Sriram also wrote to me offlist -
 he has said so on the list too, but forgot to mention the full
 contents, and I paraphrase - ... that I'm trying to publicly shame
 Anand Pillai, then questioned me about what I hope to achieve, and
 ofcourse the same old you should talk to him in private. Having
 heard all this in this thread, I didnt bother to reply.


Since Vid has gone ahead and paraphrased on my behalf, though only part of
the mails I'd sent to her:

Here's what I wrote to Svaksha when I first saw the I love ladies.py on
the github page. I hadn't thought about checking the init files:
= begin quote ===
I don't know what exactly is offensive - seems like some lame
non-constructive commit by him.

Seems like trying to publicly shame Anand Pillai.  What exactly do you want
to achieve here ? It'd have been more constructive if you were to write to
him and ask him to explain himself, and then provided feedback as well as
something useful for him to do.
=== end quote ===

Having seen similar names like FactoryGirl, etc in the Ruby world, and even
the phrases like Object Mother to refer to classes that supply objects, I
though Anand was going to write some new library. Later, when I saw the
quoting of the source code, I realized that I should have checked the
python files themselves (after all, Anand is a Python programmer). I then
wrote privately to her:

=== begin quote ===
Heh, after reading other mails on this thread, I realized that I had only
seen the repo name and the readme message, and not the contents of the
various _init_ files.

Dunno what to make of his commits!

-- Ram
=== end quote ==

I then wrote to the mailing list that I'd reserve judgement until he
clarified what he intended to convey.

So, I wasn't in any way trying to give the same old treatment that
Svaksha has felt that I've given this topic. In fact, I'd rather talk to
her about this since I have always supported her efforts to get more women
to participate actively in IT, and I believe I have some sort of rapport to
draw upon 

Re: [BangPypers] Change in Mailing list settings

2013-08-24 Thread Sriram Narayanan
Thanks for your hard work, Anand. Most of us users are used to consuming
services. There is a lot of work that happens in the background, and I want
you to know that I appreciate the work that various moderators do.

-- Ram


On Sat, Aug 24, 2013 at 1:24 PM, Anand B Pillai anandpil...@letterboxes.org
 wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Saturday 24 August 2013 09:21 AM, Sriram Narayanan wrote:
  I agree. There aren't all that many job postings, and even if the
  odd person hit a reply to all, we can just ignore it.
 
  What's more important is that responses to genuine questions reach
  the list instead of being missed out because of an inadvertent
  Reply.
 
  -- Ram
 
 
 

 Thanks for the feedback. It has been reset to Reply-to-list
 as before.


 - --
 Regards,

 - --Anand

 -

 --
 Software Architect/Consultant
 anandpil...@letterboxes.org

 Please note my updated email address anandpil...@letterboxes.org.
 Kindly update your address books.

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iQEcBAEBAgAGBQJSGGamAAoJEHKU2n17CpvDX9YH/0dSwhtYJpZbGa34Bajj7qwT
 jDGTYDAmiZGzc9b6PxyzzmYzxQPR7lX0sh3znWbcWhHn0CBxbSzAFpYmS0lfcz2a
 o7YGnXRtZGK0QrYX0G69Rj6gJ/sSEjoDnx+YLfNTgPNOAJdelfI/kjaOhDj13MlG
 1vNP3iLQzOmwRsuKalR80sDnAQJCo8DezkNORnil59xg/jKAvX6QKP598goagxyX
 7x5X2l0FO3ucVAjYiYPnYOF3OrhDesnvYl+mYsUV+jShtR8oQ4Jq/Zk55v/6RyzN
 IosfvCN1FduDLllM2CAfsf+b0q1QUsfh5TbdGuKx1jEU/3E1u1Cjn1+TB0nbkpg=
 =5Eao
 -END PGP SIGNATURE-
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers




-- 

Belenix: www.belenix.org
Twitter: @sriramnrn
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Change in Mailing list settings

2013-08-23 Thread Sriram Narayanan
I agree. There aren't all that many job postings, and even if the odd
person hit a reply to all, we can just ignore it.

What's more important is that responses to genuine questions reach the list
instead of being missed out because of an inadvertent Reply.

-- Ram


On Sat, Aug 24, 2013 at 8:26 AM, satyaakam goswami satyaa...@gmail.comwrote:

 
  Just curious to see how many prefer reply-to-list.
 
  Btw, when doing so, please make sure you are replying to the list
  right now.
 

 why tax a minion when trying to punish job poster .

 leave the reply to all as it is .




 -Satya
 Satyaakam.net http://satyaakam.net/ | fossevents.in | fossacademy.org
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers




-- 

Belenix: www.belenix.org
Twitter: @sriramnrn
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Silent installation of Active Directory server using Python

2013-05-24 Thread Sriram Narayanan
You would be better off configuring AD using power shell scripts. You could
always trigger these using python, if you want.

I don't know if func has been ported to Windows yet, but I've used chef on
Windows, and I know that puppet works too.

Ram
On May 24, 2013 6:57 PM, Ashutosh Narayan aashutoshnara...@gmail.com
wrote:

 Hi folks,

 I have to do a silent installation of Active Directory (AD) on Windows.
 AFAIK Fabric is one such tool to do do.
 Say, dcpromo is a command to setup AD, it opens up a wizard and we fill
 details.
 Now how can I setup AD on Windows using Python scripts
 Can somebody throw some light on how can I start with ?

 Thank you,
 --
 Ashutosh Narayan

 http://ashutoshn.wordpress.com/
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] May Meetup

2013-05-16 Thread Sriram Narayanan
A colleague wants to help. I've sent to you an offline mail with his
contact info.

Sriram
On May 16, 2013 1:11 PM, kracekumar ramaraju kracethekingma...@gmail.com
wrote:

 We have meet up saturday, still we don't have venue. CIS  HasGeek Venue
 can't be used this week. Is there any one in the list can offer a place
 which offer 25 seater + projector ?


 On Sat, May 11, 2013 at 1:33 AM, kracekumar ramaraju 
 kracethekingma...@gmail.com wrote:

  All,
 
  *May Bangpypers Meetup:*
 
  *Talks:*
 
 - How to use Map/Reduce in Python, what map/reduce is not. - Anand
 Chitipothu (1 hour)
 
  *Lighting Talks:*
 
  Please come forward to give lighting talks(5min - 10min) about
 frameworks,
  library, small snippet, class vs function etc ...
 
 
  *DateTime*: 05/18/2013 3.00 PM to 6.00 PM
 
  *Place*: Yet to decided
 
  Please bring your laptops and netcards if you would like present lighting
  talks
 
  we are looking for *Venue* and talks. Please reply to the email.
 
  --
  *
  Thanks  Regards
 
  Talk is cheap, show me the code -- Linus Torvalds
  kracekumar
  www.kracekumar.com
  *
 



 --
 *
 Thanks  Regards

 Talk is cheap, show me the code -- Linus Torvalds
 kracekumar
 www.kracekumar.com
 *
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] A Comparison of Mocking Frameworks

2013-05-08 Thread Sriram Narayanan
Hi everyone:

A colleague pointed me to this comparison of mocking frameworks:
http://garybernhardt.github.io/python-mock-comparison/

-- Sriram

Belenix: www.belenix.org
Twitter: @sriramnrn
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] [OT] Microsoft Office 365 for Education made mandatory for approved institutions by AICTE

2013-04-15 Thread Sriram Narayanan
The reason FOSCOMM was setup some years ago was because various such groups
actually have some common interests.

There are times when we need to get together to defend even other
technologies and platforms. If we continue to declare Not here without
constructively figuring out if the discussion can be carried out elsewhere,
vested interests like MS will pick out areas one after the other, and there
wouldn't be enough voices when it's a specific group's turn to face their
brunt.

Please see: http://en.wikipedia.org/wiki/First_they_came

I'd attended the initial FOSCOMM meet at CIS, but I think it died out after
that.

-- Ram


On Mon, Apr 15, 2013 at 8:20 AM, Santosh Kumar san00...@gmail.com wrote:

 Also there is another vdry active community of linux users,
 Free Software Movement Karnataka(FSMK),
 www.fsmk.org


 On Mon, Apr 15, 2013 at 5:49 PM, Balachandran Sivakumar 
 benignb...@gmail.com wrote:

  Hi,
 
  On Mon, Apr 15, 2013 at 3:20 PM, स्वक्ष svak...@gmail.com wrote:
   On Mon, Apr 15, 2013 at 11:17 AM, Balachandran Sivakumar
   benignb...@gmail.com wrote:
  
   Try Bengaluru LUG  → http://groups.google.com/group/ilug-bengaluru
   And/Or,
   Fosscomm.in's General Discussions on Campaigns and Tasks  →
   http://lists.fosscom.in/listinfo.cgi/network-fosscom.in
 
 
  Thanks for the links. I will try Bengaluru LUG. I didn't even
  know that we have a LUG in Bangalore :(
 
 
  --
  Thank you
  Balachandran Sivakumar
 
  Arise Awake and stop not till the goal is reached.
   - Swami
  Vivekananda
 
  Mail: benignb...@gmail.com
  Blog: http://benignbala.wordpress.com/
  ___
  BangPypers mailing list
  BangPypers@python.org
  http://mail.python.org/mailman/listinfo/bangpypers
 
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers




-- 

Belenix: www.belenix.org
Twitter: @sriramnrn
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] Fwd: Python Software Foundation: Python Trademark at Risk

2013-02-14 Thread Sriram Narayanan
Fyi
-- Forwarded message --
From: Dmitrijs Ledkovs x...@debian.org
Date: Feb 15, 2013 3:17 AM
Subject: Python Software Foundation: Python Trademark at Risk
To: debian-de...@lists.debian.org, debian-pyt...@lists.debian.org, 
debian-le...@lists.debian.org

Dear All,

Full article:
http://pyfound.blogspot.co.uk/2013/02/python-trademark-at-risk-in-europe-we.html

There is a company in the UK that is trying to trademark the use of
the term Python for all software, services, servers... pretty much
anything having to do with a computer. Specifically, it is the company
that got a hold on the python.co.uk domain 13 years ago.

According to our London counsel, some of the best pieces of evidence
we can submit to the European trademark office are official letters
from well-known companies using PYTHON branded software in various
member states of the EU so that we can obtain independent witness
statements from them attesting to the trade origin significance of the
PYTHON mark in connection with the software and related
goods/services. We also need evidence of use throughout the EU.

Further instructions on how to submit letters of support are in the
blog article linked above.

Please help defend python trademark.

Regards,

Dmitrijs.


--
To UNSUBSCRIBE, email to debian-legal-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
Archive:
http://lists.debian.org/CANBHLUh5LzzB3=fYjWMbFmGSEw452zjV=xfp0oexuxzemfb...@mail.gmail.com
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Website change tracker

2012-06-09 Thread Sriram Narayanan
On Sat, Jun 9, 2012 at 10:50 AM, vid v...@svaksha.com wrote:
 On Sat, Jun 9, 2012 at 1:43 AM, Sriram Narayanan sriram...@gmail.com wrote:
 If you need to check for the absence of certain content, then write tests
 using Sahi or Selenium, and run those at periodic intervals.

 Does Sahi have python bindings now? The last I checked was 2 years ago
 so it must have come a long way.

Sorry, I was thinking about the requirement (check for website content
change), and didn't consider a python-only solution.



 Regards,
 Vid
 ॥ http://svaksha.com ॥
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers



-- 

Belenix: www.belenix.org
Twitter: @sriramnrn
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Website change tracker

2012-06-08 Thread Sriram Narayanan
If you need to check for the absence of certain content, then write tests
using Sahi or Selenium, and run those at periodic intervals.

Ram
On Jun 8, 2012 11:21 PM, Bhavya bhavya.ma...@gmail.com wrote:

 Thanks everyone:)...Much appreciated.
 I will work on it  let the group know how it goes.

 Thanks,
 Bhavya

 On Fri, Jun 8, 2012 at 1:06 PM, vid v...@svaksha.com wrote:

  On Fri, Jun 8, 2012 at 4:09 PM, kracethekingmaker
  kracethekingma...@gmail.com wrote:
  
   Hello,
  
   I am newbie to Python coding. And, I had a question. I want to write a
   script which will check content changes in websites  send e-mail to a
  
   admin whenever there are changes.
  
   How many times in a day or how often will this check be performed ?
  
   You must look into how to use md5, diff utilities, for web scraping
  scrapy
   library is advised.
  
   Ideally this script/program should be scalable for say about 1000
  websites
   at a time..
 
  1000 sites at a time? Wow, that's huge. Scraping that many sites is
  resource intensive, would need a nice big stable server that can
  handle the huge data dumps. Fwiw, Scrapy will only dump the data in
  the json files so check out a little about the database you want to
  use, the frontend to serve it, a queueing system to scale 1000 sites,
  etc... Also, some sites instantly ban scrapers. Watch out for that,
  and goodluck :)
 
  --
  Regards,
  Vid
  ॥ http://svaksha.com ॥
  ___
  BangPypers mailing list
  BangPypers@python.org
  http://mail.python.org/mailman/listinfo/bangpypers
 
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Auto Login to Website and Capturing more details

2011-12-27 Thread Sriram Narayanan
Alternatively, try Sahi. (http://sahi.co.in). There's an open source
version available for download and use.

-- Ram

On 12/27/11, Noufal Ibrahim nou...@gmail.com wrote:


 Nikunj Badjatya nikunjbadja...@gmail.com writes:


 [...]

 The link in the 'resp' is true to my knowledge. I checked it by logging in
 at diff times. Its coming the same every time and it is the link behind
 'Account Information' which comes on the front page after logging in.

 When I open output.html, Its giving me the same login form i.e same looks
 as those of 'https://ebpp.airtelworld.com/pkmslogin.form'

 I tried with CookieJar() also. Same results.

 Can't say for sure. Are you getting back the session cookie? It might
 also make sense to try a more modern HTTP client library rather then
 stdlib. Krace's suggestion of requests is good as is Sageer's one of
 Mechanize.

 [...]


 --
 ~noufal
 http://nibrahim.net.in

 Some bachelors want a meaningful overnight relationship.
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device


Belenix: www.belenix.org
Twitter: @sriramnrn
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] How to create HTTPS Proxy server

2011-10-09 Thread Sriram Narayanan
On Sun, Oct 9, 2011 at 1:04 PM, steve st...@lonetwin.net wrote:


 # Map proxy URLs to backend server URL
 ProxyPass / https://192.168.1.1:800/


A correction - The port number in this example should be 8000 instead of 800.

 cheers,
 - steve

 --
 random spiel: http://lonetwin.net/
 what i'm stumbling into: http://lonetwin.stumbleupon.com/

-- Sriram
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] An interesting post on the next web app language

2011-10-08 Thread Sriram Narayanan
http://seldo.com/weblog/2011/08/11/php_needs_to_die_what_will_replace_it

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] Test Driven Django Development

2011-10-07 Thread Sriram Narayanan
https://github.com/hjwp/Test-Driven-Django-Tutorial

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] About pypy and bangpypers

2011-09-26 Thread Sriram Narayanan
+1. We can meet at one of the Thoughtworks offices, or anywhere else.

-- Sriram

On 9/26/11, Noufal Ibrahim nou...@gmail.com wrote:

 So, now that PyCon is over, shall me make plans for this?

 --
 ~noufal
 http://nibrahim.net.in

 I'll give you a definite maybe. -Samuel Goldwyn
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] About pypy and bangpypers

2011-09-26 Thread Sriram Narayanan
I can talk about my experiences with porting it.

-- Sriram

On 9/26/11, Noufal Ibrahim nou...@gmail.com wrote:
 kracekumar ramaraju kracethekingma...@gmail.com writes:


 [...]

 I don't have any experience, but willing to spend time.

1. First lets start playing with PyPy and spend quite significant time
with it.
2. Then hands on we can try running small apps or snippets in PyPy.

 [...]

 I was thinking of something more concrete. If there's someone here
 willing to spend time in the coming (say) 2 weeks to dig into the
 overall design of PyPy and present it, we can get a start.



 --
 ~noufal
 http://nibrahim.net.in

 Always be sincere, even when you don't mean it. -Irene Peter
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] About pypy and bangpypers

2011-09-26 Thread Sriram Narayanan
Yes

On 9/27/11, Saager Mhatre saager.mha...@gmail.com wrote:
 On Mon, Sep 26, 2011 at 10:57 PM, Sriram Narayanan
 sriram...@gmail.comwrote:

 I can talk about my experiences with porting it.

 -- Sriram


 Porting it to... Belenix?

 - d
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] List guidelines

2011-09-14 Thread Sriram Narayanan
On 9/14/11, Noufal Ibrahim nou...@gmail.com wrote:
 Senthil Kumaran sent...@uthcode.com writes:

 On Wed, Sep 14, 2011 at 9:26 PM, Noufal Ibrahim nou...@gmail.com wrote:

 Am I the only one who thinks this is backward?

 No, definitely not. But you seem to be giving undue importance to this
 discussion by creating hypothetical scenarios.  I think, we can
 tolerate some mistakes and just stay focused.

 Well, it did cause a long thread. I merely censured the OP for the
 inappropriate post. I gather that most of you agree that it was not
 suited for this list. So that's sorted.


I have a different understanding. I really do feel that we need to
sort out what we feel is acceptable by way of job postings. All these
years I felt that we all had a similar understanding, but seeing the
differences of opinion between Anand and yourself made me realize that
we need to perhaps discuss and arrive at a formal understanding.

 The teasing issue, a few people teased the company a little. I don't
 think that was out of place. A little light hearted humour is, in my
 opnion, a good thing. Apparently, you and Sriram disagree and that's
 what spawned off this thread.

Sorry, poking fun at a company's board of directors, etc, is in poor
taste, and cannot be condoned off as light hearted humor. Poking fun
at a company's practices, especially one which one may not yourself
practice and therefore not be in a position to comment on, is also
tells poorly poorly about that commentator. It has been only these two
cases that I've raised concerns about.

From what I can see so far, we've only been discussing what qualifies
as a valid job posting on this thread.


 This is getting too long for for my tastes. If there is a formal
 statement on what's allowed on the list and what's not, I'll abide. I
 personally don't like a strictly enforced code that keeps everyone
 artificially super polite but like I said, I'll abide.


Noufal, I didn't ask for any straight jacketcode, etc. Please do not
paint basic politeness and courtesy as strictly enforced code. I find
your own strong arguments against that job posting to be strict
enforcement, and I can't help but think that even the merest hint of
the word python would have changed how you look at job postings,
even though this was one where there were very many technologies
related to what a python app would use.

My own inputs related to job postings:
- Permit a variety of tech job postings from people who are regulars.
- Permit job postings from recruiters only of these are related to
python. If these are related to Python, but not Python specific jobs,
allow them anway.
- Let us acknowledge and accept that Recruiters are not going to
understand a community's ethos (I understood this word better from the
art of community online book). Some or most of us who have dealt with
them know how they think. We can at best educate them, at worst ban
their posts.
- Job offers for .NET, Cobol, AIX, etc should obviously not be
permitted merely because of a  a token mention of the word python.

My inputs at a larger level:
- Clearly there are differences in understanding what politeness
means. What may be light hearted fun for one, may not be so for the
other. It is upon the recepient to decide if he does not like this so
called fun, and others need to respect that.
- Clearly, there are also differences in understanding on whether we
should taunt corporates or not. Once again, anyone, especially a
representative of an organization, has every right to step in with
corrections. As I mentioned earlier on this response, I've myself
stepped in twice so far.
- We need to figure out where we stand with respect to corporates. If
we feel that corporates by and large are the community's disinterests
at heart, let us not approach them for help in cash or kind in the
future. (This is what I'd meant by hypocrisy).



 --
 ~noufal
 http://nibrahim.net.in

 I distinctly remember forgetting that. -Clara Barton
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers



-- 
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] About pypy and bangpypers

2011-09-14 Thread Sriram Narayanan
All:

Some weeks ago, there was some discussion of a meetup to figure out
what we could do with pypy. Have any list members conducted any
investigations on that ?

I'm asking because I'm interested. I'd like to see how I can package
pypy for Belenix someday, and I want to pair with various python
programmers and understand how people think about a platform when
considering it for use.

-- Sriram
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] List guidelines

2011-09-14 Thread Sriram Narayanan
On Wed, Sep 14, 2011 at 10:50 PM, Noufal Ibrahim nou...@gmail.com wrote:


 Fair enough.

 I don't think we'll ever arrive at an agreement about politeness and
 decorum so I'll personally stick to the common denominator and stay
 formal.


I'd say we should bring down this formal stuff a bit.

 --
 ~noufal
 http://nibrahim.net.in

 I'd give my right arm to be ambidextrous.
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- Sriram
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] About being a community

2011-09-13 Thread Sriram Narayanan
All:

I've started to read the book made available by Jono Bacon, the Ubuntu
Community manager.

The book is called The Art of Community Online, and is available
here: www.artofcommunityonline.org

I find this to be a good book.

-- Sriram
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] [JOB] - Yahoo!

2011-09-13 Thread Sriram Narayanan
On Tue, Sep 13, 2011 at 5:27 PM, Noufal Ibrahim nou...@gmail.com wrote:
 Anand Balachandran Pillai abpil...@gmail.com writes:


 [...]


 Cut the heat. IMHO it was a problem with the wording of the posting by
 the OP. If he had been more diplomatic and sugar-coated his posting,
 most of you would have remained silent.

 Not me. I might have worded my response differently but unless he was
 looking for a Python programmer, I would have censured him.

 See this post on the bangalore-rug list. It mentions ruby only once
 and among many other skills.

 https://groups.google.com/group/bangalorerug/browse_thread/thread/30d3e3dc6cdd8974/ead6b725a2c8e55e?hl=enlnk=gstq=job#ead6b725a2c8e55e

 Nobody cribbed.

 It *does* atleast mention Ruby. The original email here conveyed the
 impression that the recruiter was using this list as a hiring
 resource and nothing more. Y! is not a Python startup, it's not really
 using Python (atleast the job posting didn't indicate it).

 I don't think the mail qualifies for the list but that's just my opinion.


I feel that poking fun at any company's business is in extremely
disgusting taste. This was done once about Thoughtworks (the company I
work with) on this very mailing list.
I didn't see any apology then by the person who did that, nor do I see
any apology here by the person poking fun at Yahoo on this list.

Since then, I'm convinced that by and large, we all need to understand
better how to make bangpypers a safer place for discussions.

-- Sriram
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] [JOB] - Yahoo!

2011-09-13 Thread Sriram Narayanan
On Tue, Sep 13, 2011 at 6:22 PM, Noufal Ibrahim nou...@gmail.com wrote:
 Sriram Narayanan sriram...@gmail.com writes:


 [...]


 I feel that poking fun at any company's business is in extremely
 disgusting taste. This was done once about Thoughtworks (the company I
 work with) on this very mailing list.

 Agreed but that is a separate issue.


I see Yahoo being made fun of, and I don't see that being addressed.

As long as we encourage or worse, remain silent about corporates being
made fun of, we're going to remain a community of hypocrites.

Worse, we risk the brand image of Python itself (Note that this
mailing list is hosted at python.org), claims to represent Python, and
that this community is part of the overall Python community in India
and across the globe.

 However, that doesn't address the issue of a recruitment person from a
 company using the list merely as a hiring resource for a non python job.


We have to then solve a problem to having a common understanding of
what's fine and what's not.

It appears to me that Anand Pillai was fine with such a post, and
you're not, and there's some clarity needed on what's acceptable and
what's not, and the rationale for what ever consensus we arrive at.

 --
 ~noufal

-- Sriram
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] remote ip change

2011-06-22 Thread Sriram Narayanan
If you _want_ to involve python, then take a look at func. With Func,
changing the machine IP is just one of the many sysadmin tasks you'll
be able to perform.

-- Ram

On 6/22/11, Noufal Ibrahim nou...@gmail.com wrote:
 Nitin Kumar nitin.n...@gmail.com writes:

 Hi All,

 I want to change the IP of remote server.  I can do it manually using
 control panel. But i need to do that in a script.  So is there any
 simple API in python which can be used for the same?

 You should be able to ssh into the machine and use ifconfig to change
 it. I don't know how that will crap your existing connection so it might
 be a good idea to simply run it as a shell pipeline. Why involve Python
 for this at all?


 --
 ~noufal
 http://nibrahim.net.in

 No one goes to that restaurant anymore-it's always too crowded. (attributed
 to Yogi Berra)
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] remote ip change

2011-06-22 Thread Sriram Narayanan
On Wed, Jun 22, 2011 at 5:19 PM, Noufal Ibrahim nou...@gmail.com wrote:
 Sriram Narayanan sriram...@gmail.com writes:

 If you _want_ to involve python, then take a look at func. With Func,
 changing the machine IP is just one of the many sysadmin tasks you'll
 be able to perform.

 Do you have a URL Sriram? It sounds useful.

https://fedorahosted.org/func/

-- Sriram
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] remote ip change

2011-06-22 Thread Sriram Narayanan
On Wed, Jun 22, 2011 at 6:57 PM, Baishampayan Ghose b.gh...@gmail.com wrote:
 If you _want_ to involve python, then take a look at func. With Func,
 changing the machine IP is just one of the many sysadmin tasks you'll
 be able to perform.

 Do you have a URL Sriram? It sounds useful.

 https://fedorahosted.org/func/

 Seems to be similar to Fabric [http://fabfile.org] but limited to
 administering Fedora machines.


Nothing Fedoraspecific apart form being hosted at a fedorahosted.
There are people using this on other platforms too.

There are other more popular tools which do similar stuff, though.
Some of these are Puppet and Chef (incidentally, both are written in
Ruby).

 Regards,
 BG

 --
 Baishampayan Ghose
 b.ghose at gmail.com
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers




-- 
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] python SVN delete functionality

2011-06-22 Thread Sriram Narayanan
There's also the python API to SVN which let's you d a lot of stuff.

-- Sriram

On 6/22/11, Shashidhar P shashidha...@gmail.com wrote:
  Dear Python developers I want to achieve svn delete functionality using
 python v2.3.5

   I have repository and working copy
   I do checkin and checkout
   If end user deletes some files from working copy MANUALLY not
 using SVN delete, I need to comapare working copy and repository before
 checkin and make sure that files which are deleted manually from working
 copy should be deleted from the repository.

  please help me with code snippet if possible. What is best lists
 comparing method to get items not present in working copy, present in
 repository.


  Thanking you in advance.

 -
 Regards,

 Shashidhar N.Paragonda
 shashidha...@gmail.com
 +919449073835
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] WSGI app instrumentation - middleware or other

2011-06-08 Thread Sriram Narayanan
I recommend using DTrace.

There was a video hosted on YouTube last night on using DTrace to
understand MySQL performance. I have retweeted about it (@sriramnrn)
today morning.

If you use DTrace, you can understand latencies at various sections of
the system.

-- Sriram

On 6/8/11, Sirtaj Singh Kang sir...@sirtaj.net wrote:

 On 08-Jun-11, at 11:38 AM, Anand Chitipothu wrote:
 [snip]
 Graphite + statsd/pystatsd is pretty good for performance tracking.

 Thanks, I hadn't heard of Graphite before, I've been struggling with
 Cacti. I'll give this a try.

 We use nagios for availability monitoring. There are many
 alternatives, try asking google.

 I've been using icinga and cacti - my interest is in the python side
 of things.
 You've given me a lot of good pointers, thanks again.

 http://www.google.co.in/search?q=nagios+alternatives

 Very funny!

 -Taj.
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] WSGI app instrumentation - middleware or other

2011-06-08 Thread Sriram Narayanan
Solaris, opensolaris, openindiana, freebsd, OSX.

Also see crispeditor for dtrace on linux.

-- Sriram

On 6/8/11, Noufal Ibrahim nou...@gmail.com wrote:
 Sriram Narayanan sriram...@gmail.com writes:

 I recommend using DTrace.

 There was a video hosted on YouTube last night on using DTrace to
 understand MySQL performance. I have retweeted about it (@sriramnrn)
 today morning.

 If you use DTrace, you can understand latencies at various sections of
 the system.

 Isn't that Solaris only?

 [...]


 --
 ~noufal
 http://nibrahim.net.in

 Goes (Went) over like a lead balloon.
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] WSGI app instrumentation - middleware or other

2011-06-08 Thread Sriram Narayanan
I'll show a demo someday. It can work at various levels.

Anyway, let the ideas continue to pour in.

-- Ram

On 6/8/11, Anand Chitipothu anandol...@gmail.com wrote:
 2011/6/8 Noufal Ibrahim nou...@gmail.com:
 Sriram Narayanan sriram...@gmail.com writes:

 Solaris, opensolaris, openindiana, freebsd, OSX.

 Also see crispeditor for dtrace on linux.

 [...]

 Interesting.

 I think it should be possible (and would be useful) to drop statistics
 obtained using dtrace into graphite (along with other things that dtrace
 can't do) so that you can a single uniform picture of what's going on.

 I think it is too low-level tool to use for performance monitoring. It
 might be good for some detailed introspection or troubleshooting. I
 think the python profiler gives quite good information about where the
 time is spent.

 I use a special query parameter to dump the profiling information of
 handling a single request using hotshot profiler.

 http://openlibrary.org/lists?_profile=true

 (scroll to the bottom to see the output of the profiler).

 Anand
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] User group meeting

2011-04-20 Thread Sriram Narayanan
Hey, where are we all meeting ?

The Thoughtworks offices are available.

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] mac IP

2011-04-16 Thread Sriram Narayanan
If it's machine setup, then please use either puppet or chef or func.
You'll get a lot by way of features.

-- Ram

On 4/15/11, Nitin Kumar nitin.n...@gmail.com wrote:
 the reason for the same is:

 We got to machine setup, one is US and one in India, according to machine
 location we need to use local server.
 So I was looking for IP which help me differentiate the position of client
 Machine to use that to chose server.

 thanks
 Nitin K

 On Thu, Apr 14, 2011 at 6:28 PM, Santosh Rajan santra...@gmail.com wrote:

 I think the solution below will give you all the ip addresses including
 127.0.0.1. In any case this is not an easy one to solve. Depends on a lot
 of
 factors. You might want to revisit your original question on why you want
 the ip address? and which ip address (local or inet)?, and investigate
 wether you really need the ip address to solve the problem?

 On Thu, Apr 14, 2011 at 5:46 PM, Sudharshan Gupta 
 sudharshan.gu...@in.fiorano.com wrote:

  Hi nitin,
 
  I think this works
  import socket
  socket.gethostbyname(socket.gethostname())
  socket.gethostbyname_ex(socket.gethostname())
 
 
 
 
 
  Nitin Kumar wrote:
 
  Hi All,
 
  Is anyone aware how to fetch mac machine IP using python?
 
 
 
 
 
  --
  Thanks  Regards
  Sudharshan
 
 
  ___
  BangPypers mailing list
  BangPypers@python.org
  http://mail.python.org/mailman/listinfo/bangpypers
 



 --
 http://about.me/santosh.rajan

 “The *young man* knows the rules but the *old man* knows the
 exceptions”. *Oliver
 Wendell Holmes*
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers




 --
 Nitin K
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] getpython.net Sprint (was Re: User group meeting)

2011-01-30 Thread Sriram Narayanan
On Sun, Jan 30, 2011 at 8:12 PM, Baiju M baiju.m.m...@gmail.com wrote:
 Hi All,
        Our mini sprint on getpython.net was moderately successful.
 Thanks to all those who participated.  At 10 am there was no
 one in the room except me.  Then I called some of my colleagues
 to help on the work.  Rajesh, Srinivasu  Vijetha came to office.
 Hareesh helped me with some SQL queries online.  Then Vijay
 replied to SQLAlchemy related questions I posted to list.
 Later Kunal joined in IRC and created a helper script to submit feedback.
 Afternoon Noufal also joined us online and implemented Gravatar.
 Thanks to all !

 I am getting confident that we can have more sprints in future with wider 
 scope.
 Let's start new threads for the upcoming sprints!

 The site is ready now: http://getpython3.net/

 Looking forward to your feedback.  Still there are few more things to be done.
 If you are interested, fork the project and make the modifications!
 https://github.com/baijum/getpython3

This is a very interesting project  :)

Could you please add the github URL to the getpython3.net website ?


 Regards,
 Baiju M
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers




-- 
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] getpython.net Sprint (was Re: User group meeting)

2011-01-30 Thread Sriram Narayanan
On Sun, Jan 30, 2011 at 8:20 PM, Baiju M baiju.m.m...@gmail.com wrote:
 On Sun, Jan 30, 2011 at 8:16 PM, Sriram Narayanan sriram...@gmail.com wrote:
 On Sun, Jan 30, 2011 at 8:12 PM, Baiju M baiju.m.m...@gmail.com wrote:
 Hi All,
        Our mini sprint on getpython.net was moderately successful.
 Thanks to all those who participated.  At 10 am there was no
 one in the room except me.  Then I called some of my colleagues
 to help on the work.  Rajesh, Srinivasu  Vijetha came to office.
 Hareesh helped me with some SQL queries online.  Then Vijay
 replied to SQLAlchemy related questions I posted to list.
 Later Kunal joined in IRC and created a helper script to submit feedback.
 Afternoon Noufal also joined us online and implemented Gravatar.
 Thanks to all !

 I am getting confident that we can have more sprints in future with wider 
 scope.
 Let's start new threads for the upcoming sprints!

 The site is ready now: http://getpython3.net/

 Looking forward to your feedback.  Still there are few more things to be 
 done.
 If you are interested, fork the project and make the modifications!
 https://github.com/baijum/getpython3

 This is a very interesting project  :)

 Could you please add the github URL to the getpython3.net website ?

 It's there at bottom.  Last link :)

Indeed ! :)


 Now the 13k distro data is getting loaded (it will take few more
 minutes, I guess).
 But this page is very slow already with real data :(
 http://getpython3.net/package


Perhaps that explains why a friend reported a 500 to me for
http://getpython3.net/package/bottle

 Regards,
 Baiju M
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers




-- 
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] refactoring

2010-12-05 Thread Sriram Narayanan
On Sun, Dec 5, 2010 at 11:39 PM, steve st...@lonetwin.net wrote:
 I had sent this reply below earlier ...not sure why it didn't go thru'
 ...anyways, enough has already been said about this, however, since I
 already wrote this reply below, I thought I might as well make my point ...

 Hi Santosh,

 On 12/04/2010 05:36 PM, Santosh Rajan wrote:

 My 2 cents on this subject. I think the problem of differing
 viewpoints is mainly due to the fact that there are two kinds of
 software development.

 1) Software product development
 2) Bespoke software development.

 Let us look at software product development, and let us look at all
 the top open source software development projects like linux, apache,
 mozilla etc etc. I have not seen refactoring as described by the book
 used by any of the open source software products. I would like to know
 if any one can show me refactoring used in software product
 development.


 The very nature of Open Source Software development model is refactoring !
 It isn't called that but that's what it is. Try to describe the process of
 FOSS development and then the way code is affected by refactoring and you
 would see the similarities. The only difference is in FOSS projects this is
 done by separate individuals in an unplanned manner -- the net effect from
 the /code's/ perspective though is that is being refactored. I'd go as far
 as saying that patches which refactor existing code in mature FOSS products
 are as at least the same in number as those that introduce new features.

My thoughts (not for or against, but just to add to this thread):
- the license of the code doesn't really matter. There are lots of
software that we've contributed to as well as developed at
Thoughtworks, and we give the same level of attention (including
refactoring, testing, CI, etc) regardless of the license. This is true
of other companies, and individuals as well.
- refactoring need not become a bad word just because some book
documents various known refactoring techniques. Martin Fowler is a
very, very humble person. I spent the past three days with him hearing
him talk to various Thoughtworkers in Bangalore, and he's very honest
about giving credit where it's due. If you read his Refactoring book,
he's very clear there that these are various techniques that he's
observed everyone around him use, and he's simply explained a number
of them in very layman terms so that all can understand these
together.

Let's the case of something like Extract Method. It's very likely
that over a period of time, a developer would notice that a method
could be spilt up into smaller logical private methods so that the
intent is clear to the reader as well as more maintainable. This
technique may be given the name Extract Method. And this technique
has been applied by all programmers in so many languages.

Applying a refactoring does not make us any less a programmer, and
this activity need not become an insult. Reading a book that documents
various such techniques could be considered a nice refresher even.

Speaking about myself, I wouldn't stay away from a book just because
someone declared that if one has self-respect, one would read that
book. Such a statement need not be an insult. Finally, the loss (in
terms of missed opportunity) would be one's own.

Refactoring could be applied to any language, regardless of whether
it's Object Oriented or not.


 cheers,
 - steve

 --
 random spiel: http://lonetwin.net/
 what i'm stumbling into: http://lonetwin.stumbleupon.com/
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers




-- 
==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] refactoring

2010-12-05 Thread Sriram Narayanan
I sure hope that we don't dismiss the reading of such books just
because every experienced programmer knows about refactoring.

-- Sriram

On 12/6/10, Siddharta G siddharta.li...@gmail.com wrote:
 Nice quote.

 You hit the main point: Refactoring has always been done. Everyone does it.
 The book just gives a taxonomy to common refactorings.

 For what its worth, I think a taxonomy is very important. It is so much
 easier to communicate a design by saying this is a factory, that object is
 an observer to the model and so on. The same way its convenient to say first
 extract method, then pull up method and everyone understands what you are
 talking about.

 But whether you know the names or not, it is important to know how to go
 from design A to design B in small steps, without breaking the application
 in between. A typical refactoring step takes less than an hour (some can be
 as low as a few minutes). You can do a refactoring, commit, do a
 refactoring, commit and the application is always deployable.

 -- Siddharta
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] refactoring

2010-12-02 Thread Sriram Narayanan
It's rather disappointing when I see a nice discussion thread
degenerate into taking potshots at others - especially by posts by
people who otherwise contribute in very constructive ways.

I'm a Thoughtworker, proud of what and how we do  (including promoting
better software development practices).

-- Ram

On 12/3/10, Senthil Kumaran orsent...@gmail.com wrote:
 On Thu, Dec 02, 2010 at 12:41:37PM +0530, Anand Balachandran Pillai wrote:
 
   'No self respecting developer could function without having read the
   refactoring book'.
 
 
  I just realized that I am not a self-respecting developer after
  reading this.

 Wow!. You stole my sentence. Double crime on you.

 --
 Senthil
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

==
Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] About Thoughtworks as a venue

2010-05-01 Thread Sriram Narayanan
Folks:

I've been meaning to send this mail for a while.

A number of teams at Thoughtworks were recently caught off-guard when
there was a last minute office wide maintenance (pest control)
scheduled at both our offices. This caused a venue problem for a
number of user groups.

Otherwise, the Thoughtworks offices are usually available gor user
group meetings on weekend (and some weekdays too).

I've been relatively busy with lots of things happening within
Thoughtworks, as well as with researching some new technologies that
we're about to roll out.

I don't check my personal mail very often.

Diptanu on this mailing list too is a Thoughtworker, and in case I
don't respond on time about venue availability, he will.

In case you don't get a timely response from either of us, please
simply call me on my cell. Noufal, Svaksha and some others on this
list know how to reach me.

-- Ram

-- 
Sent from my mobile device

Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] User group meeting this weekend

2010-04-25 Thread Sriram Narayanan
Yes, sorry about the really short notice. I had to cancel the Java and
the Andriod user group meets at TW for the same reason :(

We got the pest control work notice at the really last minute ! :(

-- Ram

On 4/25/10, Noufal Ibrahim nou...@gmail.com wrote:
 On Sun, Apr 25, 2010 at 11:33 AM, Arvind Jamuna Dixit ard...@gmail.com
 wrote:
 Its 11:30 and not even one other guy is interested.

 Thus, I have informed Kamal that we are not meeting at his
 office today.

 See you all at the next meetup.

 A pity. The venue change was short notice though.

 We'll have the next one along with Dabeaz early next month.

 --
 ~noufal
 http://nibrahim.net.in
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] User group meeting this weekend

2010-04-23 Thread Sriram Narayanan
Sorry, there are the very same pest control activities at
Thoughtworks' Koramangala office as well !

-- Ram

On 4/23/10, Diptanu Choudhury admin.nitj...@gmail.com wrote:
 Thoughtworks has an office in Koramangala as well, but the servers would be
 down during the weekend, so there won't be any internet connectivity. If you
 think there won't be any problem to conduct the user group meeting without
 the internet, I can search for a room there.

 On Thu, Apr 22, 2010 at 10:27 PM, kunal ghosh kunal...@gmail.com wrote:

 +0 :( its pretty far off from my place too.

 On Thu, Apr 22, 2010 at 10:15 PM, Noufal Ibrahim nou...@gmail.com wrote:

  I'm not totally sure if I can make it to JP Nagar by 1500 on Sunday so
  it'll have to be a +0 from me.
 
  On Thu, Apr 22, 2010 at 6:53 PM, anubha sethi sethi.anu...@gmail.com
  wrote:
   On Thu, Apr 22, 2010 at 6:41 PM, Arvind Jamuna Dixit ard...@gmail.com
 
  wrote:
   Sriram just called me and informed about some pest control activities
  that
   would be going on in
   ThoughtWorks this weekend.
  
   That means we cannot have the meetup at ThoughtWorks.
  
   Anyone suggest an alternative venue please.
  
  
   We can have it at Sigma Infosolutions this time, if it is convenient
   with everyone. Let me know what all things we would have to arrange.
  
   Address -
   Sigma Infosolutions Ltd,
   Sigma Towers,
   #66/A, 13th Cross,6th Main,
   JP Nagar, 3rd Phase,
   Bangalore- 560078
   LandMark - S hotel, very close to Shopper's Stop at Bannerghatta Road
  
  
   --Arvind
   ___
   BangPypers mailing list
   BangPypers@python.org
   http://mail.python.org/mailman/listinfo/bangpypers
  
  
   --
   Anubha Dadhich
   ___
   BangPypers mailing list
   BangPypers@python.org
   http://mail.python.org/mailman/listinfo/bangpypers
  
 
 
 
  --
  ~noufal
  http://nibrahim.net.in
  ___
  BangPypers mailing list
  BangPypers@python.org
  http://mail.python.org/mailman/listinfo/bangpypers
 



 --
 regards
 ---
 Kunal Ghosh
 Dept of Computer Sc.  Engineering.
 Sir MVIT
 Bangalore,India

 Quote:
 Ignorance is not a sin, the persistence of ignorance is
 --
 If you find a task difficult today, you'll find it difficult 10yrs later
 too !
 -
 Failing to Plan is Planning to Fail

 Blog:kunalghosh.wordpress.com
 Website:www.kunalghosh.net46.net
 V-card:http://tinyurl.com/86qjyk
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers




 --
 Thanks,
 Diptanu Choudhury
 Just a Coder, ThoughtWorks India
 Mobile - 09886760964
 Web - www.linkedin.com/in/diptanu
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Feb user group meeting

2010-02-23 Thread Sriram Narayanan
Could we meet when you folks are back? I'd like to present on
Cintinuous Integration and on What are Unit Tests with a focus on
experienced developers.

-- Sriram

On 2/23/10, Noufal Ibrahim nou...@gmail.com wrote:
 On Tue, Feb 23, 2010 at 11:04 AM, Baiju M mba...@zeomega.com wrote:
 On Tue, Feb 23, 2010 at 9:04 PM, Arvind Jamuna Dixit ard...@gmail.com
 wrote:
 On Tue, Feb 23, 2010 at 8:35 PM, Noufal Ibrahim nou...@gmail.com wrote:

 If that's fine, we can do 2
 meetings in March (one which is the postponed Feb meeting) and the
 other the actual March talk.

 Yeah, I am fine with two meetings in March.

 +1

 I also will be available next weekend, but I would prefer Sunday (March
 7).


 Fine by me. Any other suggestions?



 --
 ~noufal
 http://nibrahim.net.in
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device

Belenix: www.belenix.org
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] January user group meeting

2010-01-19 Thread Sriram Narayanan
Ok, can we make this Jan 232 Saturday if we're ok with meeting at Thoughtworks ?

I want to go for a movie on Sunday ! :)

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] December user group meeting

2009-12-14 Thread Sriram Narayanan
Since we have a few +1s, I've a proposal:


From a code together perspective,
How about developing a ZFS management application ? I can be the
resident sysadmin/ZFS-guru, and we can develop something together.

-- Sriram

On Mon, Dec 14, 2009 at 2:53 PM, Srinivasachari
srinivasachari2...@gmail.com wrote:
 +1

 Regards,
 Srinivasachari.
 Sent from Bangalore, KA, India

 2009/12/14 Arvind Jamuna Dixit ard...@gmail.com

 +1 for meetup on 20th

 2009/12/14 Baiju M mba...@zeomega.com

  +1 for 20th meeting
 
  --
  Baiju M
  ___
  BangPypers mailing list
  BangPypers@python.org
  http://mail.python.org/mailman/listinfo/bangpypers
 



 --
 Regards,
 Arvind
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] [Reminder] BangPypers monthly meetup on Sun November 22 4 pm at Thoughtworks on LLVM-py

2009-11-19 Thread Sriram Narayanan
A reminder/confirmation - I just called Mahadevan and confirmed the
following with him.

-- Sriram

-- Forwarded message --
From: Noufal Ibrahim nou...@gmail.com
Date: Mon, Nov 16, 2009 at 3:17 PM
Subject: Re: [BangPypers] BangPypers monthly meetup.
To: Bangalore Python Users Group - India bangpypers@python.org


So I guess it's settled then.
Time : 4:00 pm
Date : 22 Nov 2009
Venue : Thought Works, Diamond District.
Highlights : Mahadevan's talk on python bindings for llvm

Is this okay?

P.S. If any of the people attending have the conference recordings,
please bring them.

Thanks.



--
~noufal
http://nibrahim.net.in
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] BangPypers monthly meetup.

2009-11-12 Thread Sriram Narayanan
On Thu, Nov 12, 2009 at 3:56 PM, Noufal Ibrahim nou...@gmail.com wrote:
 Shall we fix this for 22nd then? Is TW the venue? What time?


Seems OK to me. Let's have Mahadevan decide on the time.

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] python zlib problem

2009-10-31 Thread Sriram Narayanan
On Sat, Oct 31, 2009 at 11:19 AM, Amit Sethi amit.pureene...@gmail.com 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@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] About llvm and llvm-py

2009-10-31 Thread Sriram Narayanan
On Sat, Oct 31, 2009 at 1:46 PM, Ramdas S ram...@gmail.com wrote:
 Sriram,

 Can you send the right link for llvm-py

http://code.google.com/p/llvm-py/

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] Let's have an indepth session on some opensolaris technologies

2009-10-21 Thread Sriram Narayanan
[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@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Sriram Narayanan
On Fri, Oct 16, 2009 at 11:08 PM, Noufal Ibrahim nou...@gmail.com wrote:
 On Fri, Oct 16, 2009 at 10:46 PM, Ramdas S ram...@gmail.com 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@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Sriram Narayanan
On Fri, Oct 16, 2009 at 11:19 PM, Rajeev J Sebastian
rajeev.sebast...@gmail.com wrote:
 On Fri, Oct 16, 2009 at 10:28 PM, Sriram Narayanan sriram...@gmail.com 
 wrote:
 On Fri, Oct 16, 2009 at 9:58 PM, Rajeev J Sebastian
 rajeev.sebast...@gmail.com wrote:
 On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan sriram...@gmail.com 
 wrote:
 On 10/16/09, Sriram Narayanan sriram...@gmail.com 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@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Sriram Narayanan
On Sat, Oct 17, 2009 at 12:06 AM, Rajeev J Sebastian
rajeev.sebast...@gmail.com 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@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Sriram Narayanan
On Sat, Oct 17, 2009 at 12:07 AM, Rajeev J Sebastian
rajeev.sebast...@gmail.com 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@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Sriram Narayanan
On Sat, Oct 17, 2009 at 10:36 AM, Anand Balachandran Pillai
abpil...@gmail.com 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
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Sriram Narayanan
On Sat, Oct 17, 2009 at 11:04 AM, Sriram Narayanan sriram...@gmail.com 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

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Sriram Narayanan
On Sat, Oct 17, 2009 at 11:12 AM, Rajeev J Sebastian
rajeev.sebast...@gmail.com 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
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Weekend Meeting

2009-10-15 Thread Sriram Narayanan
On 10/16/09, Anand Balachandran Pillai abpil...@gmail.com wrote:


 On Thu, Oct 15, 2009 at 3:08 PM, Vishal vsapr...@gmail.com 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
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Weekend Meeting

2009-10-15 Thread Sriram Narayanan
On 10/16/09, Sriram Narayanan sriram...@gmail.com 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

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] User group meeting on Sunday?

2009-10-09 Thread Sriram Narayanan
Sure, come over.

Noufal, I've replied to your private mail.

-- Ram

On 10/9/09, Noufal Ibrahim nou...@gmail.com wrote:
 Will some of the TW guys be around to chaperon the meeting? Sidu?


 --
 ~noufal
 http://nibrahim.net.in
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- 
Sent from my mobile device
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] How to send 1 GB Zip file to some remote machine using HTTP/HTTPS?

2009-09-10 Thread Sriram Narayanan
On Thu, Sep 10, 2009 at 11:50 PM, Noufal Ibrahim nou...@gmail.com wrote:
 On Thu, Sep 10, 2009 at 11:24 PM, deepak gupta dg288_m...@yahoo.co.in wrote:

 Yes it is return in python.[..]

 I expect it will be slow then. If you can install an rsync server on
 the remote end, it would be nice. Then you can just rsync the files
 over.

+1. It's worth having rsync.

Here's what you'd do the first time:

rsync -W -t --progress --partial datafile.zip
u...@server:/export/home/user/data/datafile.zip

What that does is:
-W   - Just transfer, don't check for any existing file on the receiving side
-t-  Use timestamps to compare and decide whether the file has
even changed or not.
--progress - Display progress
--partial - Keep partially transferred files.

The next time you want to transfer the same file, or in case you need
to resume the transfer:

rsync -t --progress --partial datafile.zip
u...@server:/export/home/user/data/datafile.zip

Simply remove the -W command line argument.


 If you can't do that, one option is to split your compressed file into
 pieces and transfer them over one by one and assemble them on the
 remote end.


In such a case, remember to generate md5sums of the split parts, and
then verify the checksums on the server side.

 --
 ~noufal
 http://nibrahim.net.in
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers


-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Good Python training in blr

2009-06-16 Thread Sriram Narayanan
On Tue, Jun 16, 2009 at 10:59 AM, Ramdas Sram...@developeriq.com wrote:
 IMHO, even an experienced hand in C/C++ or Java need not take to Python
 easily, because of the baggage they carry, and they expect certain things to
 work the way their favorite language works. This can be quite frustrating if
 learning Python is for a project they need to start next Monday. This is
 where a trainer can help, because the trainer can guide and point out
 potential pitfalls, and get a developer through the basics in a jiffy.


This baggage is indeed an issue. Thinking in terms of a new language
would require reading a lot of code written using that language, and
then too, one cannot be certain.

To give you my own example, I learned my Object Oriented Programming
from really senior Smalltalkers, and I developed and sold components
based on excellent IBM business object frameworks. After I joined
Thoughtworks, I was exposed to a different world where dependency
injection was proposed as an alternative to getters and setters
(accessors, as some of us may call them), where the line between do
the simplest thing possible and do what ever is necessary to
complete just _your_ work for the day can be a fine line, and where
the same Java language that I had used for six years, was now being
used in a different way.

I had a lot of excess luggage, some of which I still lug around with
me - and all this was on the same language that I had been using.

When you move to a different language, there would have to be paradigm
shifts, new ways of thinking, and even pitfalls that one may not
recognize to be a pitfall.

In such cases, I feel that it can help if one has something like
Python for Java programmers - either as a book, as a series of
sample code and or web page articles, or even a training session.

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] How to create Debug and Release code in Python

2009-06-16 Thread Sriram Narayanan
On Tue, Jun 16, 2009 at 11:57 AM, Jeff Rushj...@taupro.com wrote:
 I've given this more thought.  In the April 2009 issue of Python
 Magazine is a wonderful article by Paul McGuire on writing Domain
 Specific Languages.  It shows how to intercept the import of specific
 types of files to preprocess the source before compiling it into
 bytecode.  I played with those ideas to see what could be done for your
 case.


This was informative. Thank you !

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


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

2009-06-13 Thread Sriram Narayanan
On Sat, Jun 13, 2009 at 4:07 PM, Kiran Jonnalagaddaj...@pobox.com wrote:
 2009/6/12 Srijayanth Sridhar srijaya...@gmail.com:
 I don't doubt that its a global phenomenon, however, I am still curious
 about the reasons for its prevalence out here.

 I will add my little theory to this discussion.

 If you are from a middle class background with no appetite for
 entrepreneurial risk, but want a better life than your parents did, there
 are few professional career options.

 Doctor? Architect? Lawyer? They require dedicating a serious chunk of your
 life and are one-way streets. But programmer... excuse me, software
 developer? By gosh, a big company will make a software developer out of
 anyone in just three months, plus you get to go abroad and settle down. If
 it doesn't work, no big deal. You didn't invest five years and half your
 parents' savings to realise that.

+1 to your theory.

Around 1997, I used to work as a lab assistant at Aptech (A computer
education chain.) in Mumbai. I've seen parents visit the Aptech centre
with their supposedly good for nothing sons, learn about the course
options, get swayed by the glorious future that the career
counsellors promise them, and then say to their sons, Since you
don't seem to be good at anything else, at least do a computer
course.

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


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

2009-06-12 Thread Sriram Narayanan
On Fri, Jun 12, 2009 at 11:50 AM, Sridhar
Ratnakumarsridhar.ra...@gmail.com wrote:
 Now do you think a person who is lazy to type a few characters in an
 Internet search engine (as evidenced by Is there any tutorial. Should
 we include any library?) would be interested at all in reading a
 60,000 words document?

I've concluded that a vast number of our developers are actually
incompetent, and also clueless on how to self-study and to conduct a
search. Perhaps our education system has conditioned their minds to
mug up and to read various study guides, and they are unaware that in
the real world, self help is necessary.

Having said that, I have felt it useful to reply to such posts with a
google search url, than to merely ask them to buzz off. I've observed
that with such replies, free loaders understand that they will get
responses, but not free lunches.

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] What's the exact plan tomorrow?

2009-02-20 Thread Sriram Narayanan
On Sat, Feb 21, 2009 at 8:50 AM, Parthan SR parth.technofr...@gmail.com wrote:

 Yes, they are also meeting at Thought Works today at 4.30 PM. They fixed
 their meeting a day after we fixed ours (or rather moved our meet to TW from
 ZeOmega) )and I indeed tell them when they were trying to fix it up. Both
 the meets will happen at the same venue (TW) but at different halls/rooms
 (they are getting a bigger room this time).


We often do have multiple user group meetings at the same times and in
different rooms.
Sidu and I will be around to chaperone the Python and the Linux User
Group meets respectively.

I realize that overlaps should be ideally avoided, and am going to
propose that the LUG meets happen at a different time at TW (perhaps
at 2 pm).

-- Sriram
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] python

2009-01-09 Thread Sriram Narayanan
On Sat, Jan 10, 2009 at 9:57 AM, Kenneth Gonsalves law...@au-kbc.org wrote:
 On Saturday 10 Jan 2009 12:50:43 am Sreekanth B wrote:
 what u said may not be really true there are thousands out there
 in France and Germany who cannot even write a sentence in English;-)

 but if they did, they would spell 'you' as 'you' and not as 'u'

My +1 to SMS lingo not really being cool when it comes to communication.

Sreekanth, you may not know this, but though it's accepted culture to
use plz and u and thx in certain communities (e.g. amongst
friends), a lot of customers world wide as well as tech folks do not
really use such language. Even if you do use shortened words, it's not
 considered exciting or cool or acceptable.

Just imagine the following scenario : You write an informative mail to
your customer, and that person now needs to forward this mail to some
other people. These people would be his colleagues, other vendors, or
even his own customers. Given that SMS lingo is not actually accepted
worldwide and often considered unprofessional, your customer would be
hesitant to forward your email. This is because he would be aware that
other people's attention would be drawn to your SMS-style shortened
words, and you'd be considered unprofessional. Further, this will also
reflect on your customer. This is because others will now wonder about
how professional he is if he's dealing with a person who cannot even
write a proper email. Note: proper here is what they consider
proper.

I'm writing the above based on my own observations at work. I also
closely interact with the trainers at our company who receive inputs
from global management on what practices to inform our people about.

Your being non-english medium educated has no bearing on your using
shortened words. Lots of English-medium educated people us such words
too.


 --
 regards
 Kenneth Gonsalves
 Associate
 NRC-FOSS
 http://nrcfosshelpline.in/web/
 ___
 BangPypers mailing list
 BangPypers@python.org
 http://mail.python.org/mailman/listinfo/bangpypers

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers