Re: [BangPypers] [Discussion] Monthly Webinar

2017-05-16 Thread Vinayak Hegde
On Tue, May 16, 2017 at 8:57 PM, kracekumar ramaraju
 wrote:
> Hi
>
> Over half a decade, BangPypers grew significantly in content and group
> wise. Last month, in the meetup data analysis, showed out of 5500 people
> 2805 RSVPed at least once. That's 51% of the crowd who showed interesting
> in attending the meetup. Not everyone RSVP attends the event. Our average
> turnout is forty to sixty percentage. We have more insights to share,
> that's for an another day.
>
> We regularly conduct one meetup per month. BangPypers hosted 64 meetups in
> last five years. Fifty plus participants attend our meetup every month for
> past few years. House full!

Great job by the organizing team.

> Run at least one webinar every month. After few months decide to continue
> or drop or increase the frequency.
>
> The webinar can help interacting with people who're unable to attend the
> meetup, practicing the talk for a conference, etc.
>
> What are your thoughts?

Sounds like a great idea. Webinars might be a great way to hear
international speakers as well based on topics of interest to the
community.

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


Re: [BangPypers] Sequoia Capital India's Annual hackathon | Call for application

2015-08-12 Thread Vinayak Hegde
On Wed, Aug 12, 2015 at 6:26 PM, Kartik Sharma kar...@venturesity.com wrote:
[snip]
 The aim is to get creative minds work on interesting 'tracks' in a high 
 energy environment and helping them develop game-changing solutions over the 
 weekend.
 CEOs, Product Heads, CTOs, technical architects, distinguished engineers and 
 chief scientists of various companies from India and abroad will be available 
 as mentors on the ground.

Shouldn't his be marked as [commercial] or [jobs] since this is an
event for hiring people and Venturesity is possibly getting paid for
this[1]. Also a lot of people might construe this as SPAM as this is
only tangentially related to Python.

Question to Admin : Are there any guidelines for this ? I know it
might not be possible to enforce this but good citizens will follow
these nevertheless.

-- Vinayak
1. http://yourstory.com/2015/05/venturesity-funding/
___
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] First python interview

2013-10-14 Thread Vinayak Hegde
Since you are already somewhat comfortable with python. I suggest the
following depending on how much time you have.

1. Learn Python the hard way
http://learnpythonthehardway.org/book/
Work your way through the book as much as possible

2. Project Euler
http://projecteuler.net/
Implement some of the problems here to get a good hang of things

3. Python Module of the week
If you do some half-decent work with python you will be using a lot of
libraries.
Start with this pdf http://pymotw.com/2/PyMOTW-1.132.pdf to get an overview
of some of the modules. Also python documentation is quite extensive.

As for Django, The documentation is decent (just check the version you are
working on). I have read good review of two scoop of Django but not read it
myself.

-- Vinayak



On Mon, Oct 14, 2013 at 6:22 PM, Avneesh Chadha avneesh.cha...@gmail.comwrote:

 Hi guys,

 I am going in for my first python interview. I have never actively worked
 in python(java programmer) but am comfortable with it to some extent(used
 it for competing at code chef).

 I am sure all you python gurus probably would have interviewed people for
 python and many of you would have given lots of interviews for Python.

 I could really use some tips on what exactly should I really be focusing on
 while studying for it and what should I expect.

 A little about the process up till now-
 They sent me a problem to solve(the usual code jam type problem, but toned
 down in difficulty) which i was able to do correctly.

 Now i have  telephonic interview.

 They basically require people strong in python and knowledge of django is a
 plus.

 I have 2 days to prepare for it.
 Thanks.
 ___
 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] What are you using for developing desktop GUIs?

2013-09-27 Thread Vinayak Hegde
On Fri, Sep 27, 2013 at 1:14 PM, Dhananjay Nene dhananjay.n...@gmail.comwrote:

  +1 for Kivy (under active development). The same code runs unmodified on
  Linux, OSX, Windows, Android and iOS (ofcourse, if device in question
 does
  not has for instance multi-touch support, then corresponding features
 won't
  work; or work in some kind of fallback mode).
 
  Guido himself recommended Kivy (though he recommended it specifically for
  developing mobile apps in Python):
  https://twitter.com/gvanrossum/status/342145797770604545

 Is kivy comparably good enough for desktop based development as
 desktop focused toolkits are?


Adding to that, are there any thoughts from people who have used kivy apps
across OSes and devices ? Especially on interaction and look and feel as
these are traditionally hard to get right across platforms.

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


Re: [BangPypers] Favorite tips/techniques

2013-09-10 Thread Vinayak Hegde
On Tue, Sep 10, 2013 at 10:45 AM, Noufal Ibrahim nou...@nibrahim.net.inwrote:

 Anand Chitipothu anandol...@gmail.com writes:

 [...]

  I use it very often. Here is my random-password script.

 [...]

 I use mkpasswd(1) :)


What ever you use, please use py-bcrypt or something similar before you
store it in the database.

Here is the site with easy usage of it -
http://www.mindrot.org/projects/py-bcrypt/

Another on how to use it well and store password in db.
http://dustwell.com/how-to-handle-passwords-bcrypt.html

-- Vinayak

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


Re: [BangPypers] [Cross post Pyladies Blore]Online mentoring sessions with Kenneth Love

2013-09-10 Thread Vinayak Hegde
On Tue, Sep 10, 2013 at 11:02 PM, Annapoornima Koppad a.kop...@gmail.comwrote:

 Dear All,

 Kenneth Love has agreed to hold a mentoring sessions for Pyladies
 Bangalore.

 As for the mentoring sessions, we are at Indian standard time (12.5 hours
 before Kenneth) and he is on the PST(US West Coast). So we need to decide
 on the time we would like him to hold sessions for us. I would like to
 arrive at a consensus for that. Please pitch in a time for that is
 comfortable for you. I will wait for sometime before I decide on the time.


First of all great initiative. When I have to schedule meeting across time
zones, the best way to schedule meetings is to use Doodle (http://doodle.com.
Choose a bunch of dates / times and add them to doodle. Then post the link
here and allow people to vote. Mailing lists are bad for voting as it leads
to a lot of +1 replies and it quickly becomes spammy and hard to keep track
of who did +1 for what. check out doodle, it is really useful for such
things.

-- Vinayak
___
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 Vinayak Hegde
Hi Svaksha,

This can be fixed by sending a mail to the author and in this case,
forking, modifying and asking for a pull request.

Why is there a necessity to name and shame ? I did not find anything
derogatory in the code (that I checked).

I would normally have responded to this offlist but I see this as
trolling[1].

-- Vinayak
1. http://en.wikipedia.org/wiki/Troll_%28Internet%29


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

___
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 Vinayak Hegde
On second thoughts maybe this was the objectionable part

def get_purpose():
 Return the purpose 
raise AmbiguousMissionError, Mission unclear

Also the URL http://ladiespy.com does not resolve.

Also there are python programmers(gender-neutral term) on this list.
Maybe if there are
any issues with attitude, you are better off talking on this list and
educating people
than having a separate mailing list as it divides the community (which
I assume was
the intent of the author). Intent and tone do not travel well over the Internet.

-- Vinayak

On Sat, Sep 7, 2013 at 10:01 PM, Vinayak Hegde vinay...@gmail.com wrote:

 Hi Svaksha,

 This can be fixed by sending a mail to the author and in this case, forking, 
 modifying and asking for a pull request.

 Why is there a necessity to name and shame ? I did not find anything 
 derogatory in the code (that I checked).

 I would normally have responded to this offlist but I see this as trolling[1].

 -- Vinayak
 1. http://en.wikipedia.org/wiki/Troll_%28Internet%29


 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



___
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 Vinayak Hegde
On Sat, Sep 7, 2013 at 10:26 PM, Annapoornima Koppad a.kop...@gmail.comwrote:

 More, I had a good mind to email this particular detail to every women
 mailing list that I am aware of. But then, it would portray all Bangalore
 men in bad light. Which is not my intention. More over, I am in touch with
 the PSF board itself, I had a good mind to send your repository link to the
 PSF board itself.


Why does this portray _ALL_ Bangalore men in bad light ? Who are these
Bangalore men. My remarks are not snide but you might want to go easy on
the generalizations. My earlier remarks stand - it is better to educate and
rather than name and shame. Also svaksha's mail did not mention what she
found objectionable. I still think we can have a more mature and
constructive discussion on this.

@Vinayak, every woman on this emailing list needs to be aware of the
 cheekiness of other men (and women) who try to put you down. This will be a
 learning phase for them too.

 I dont think this counts as trolling. Please read thoroughly before
 emailing.


I am not defending Anand here (I hardly know him well) but it might be
better to talk to him personally rather than name and shame IMHO. As far as
trolling is concerned, it is a matter of perspective (See the reference at
the end of my last mail - I think the mail qualifies as trolling especially
due to the lack of information and use of words like #EpicFail). I can also
say that Anand was also trolling by posting the code.

-- Vinayak
___
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 Vinayak Hegde
On Sat, Sep 7, 2013 at 11:08 PM, svaksha svak...@gmail.com wrote:

 On Sat, Sep 7, 2013 at 5:23 PM, Vinayak Hegde vinay...@gmail.com wrote:
 
  Also svaksha's mail did not mention what she
  found objectionable.

 Vinayak, did you miss this email?
 https://mail.python.org/pipermail/bangpypers/2013-September/009359.html
 My replies are as inline text as I dislike top-posts and try to avoid
 that as much as possible. Do scroll down to the part wher I have
 provided a github link and also took the trouble of pasting the code
 for your convenience.


Nope. I was talking about the initial mail which lacked context. The
initial mail did not have this excerpt. I posted the excerpt. I should have
read the code completely. I didn't. Guilty as charged. And I fixed it in
the next email.


  I am not defending Anand here (I hardly know him well) but it might be


 Contrary to your denial, your email admonishing me for raising it on
 this list and calling me a troll (and then trying to educate Anu on
 its definition) does come across as defending Anand even if you
 claim not to know him well.


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.


  better to talk to him personally rather than name and shame IMHO. As far
 as

 Err.. Why do you think it is my job (or anyone else's) to email him
 personally? As I mentioned earlier, if you behave poorly in public,
 dont expect private education. #NotMyJob.


You are entitled to your opinion and me to mine. 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.

 trolling is concerned, it is a matter of perspective (See the reference at
  the end of my last mail - I think the mail qualifies as trolling
 especially
  due to the lack of information and use of words like #EpicFail).
  I can also
  say that Anand was also trolling by posting the code.

 Vinayak, you can, but you didnt. Big difference that.


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. It would only be fair to hear out Anand as we have heard your
response and not his.

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


Re: [BangPypers] back button issues with session handling in flask

2013-09-07 Thread Vinayak Hegde
On Sat, Sep 7, 2013 at 9:59 PM, Adivandhya adivand...@yahoo.co.in wrote:

 Hello guys,
 Im making my own login module in flask, and Im now facing this problem
 pertaining to browser caching.
Aftera user signout (by setting the session[logged_in] =False or even
 doing session.clear() ) ,if i press the back button on the browser, i still
 can see my homepage(which is suppose to be seen only when logged in). There
 are a few constraints while dealing with this problem, first being i do not
 want to totally disablebrowser caching as i believe it is important for
 efficiency of the website ,
 and second being i cannot use other extensions like flask-login etc, as im
 trying to make it on my own.
 How do i resolve this problem within the constraints ?


Sometimes I have seen that the browser caches the rendered page and does
not refresh the page. For example I have seen this behavior in FF. I go to
ESPNcricinfo and click on an article and read it and go back, the page
rendered does not have the score refreshed. This same behavior is exhibited
when you press CTRL+SHIFT+T to reopen closed tabs. The rendered page is
loaded as well as the history of the tab.

Do you see this behavior with Flask-login as well ? And what browser are
you using to test ? I have seen some sites try to disable the back-button
but that might not be an elegant way to do this. Another approach could be
see if you can play with the HTTP Cache-control headers to see if they make
a difference.

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


[BangPypers] Introduction to interactive programming in Python

2012-10-08 Thread Vinayak Hegde
Hi,

There is a new course starting on Coursera
https://class.coursera.org/interactivepython-2012-001/class/index

Also @pycoders has sent the link to a good tutorial on python 3
http://www.youtube.com/playlist?list=PLDFB7FFF90EE6F0C1

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


Re: [BangPypers] April Meetup

2012-04-18 Thread Vinayak Hegde
On Tue, Apr 17, 2012 at 11:09 AM, Anand Balachandran Pillai
abpil...@gmail.com wrote:
 On Mon, Apr 16, 2012 at 3:25 PM, Vinayak Hegde vinay...@gmail.com wrote:



 Date: April 22 - 3:00PM

 Link to the Map :
 http://g.co/maps/rrvwk

 Inmobi Address :
 Ground Floor, Pebble Beach, Embassy Golf Links Road, Amarjyoti Layout,
 Domlur
 Bangalore, Karnataka, India
 Front Desk Board Line number : 080 6583 4445 (for directions)

 Landmark (inside EGL) : Citibank ATM / Small Barista (There is another
 Barista in Pyramid Food Court)

 Can also people send me the Agenda ?

So who is speaking ? Noufal ? Anand ? and What are the topics ?

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


Re: [BangPypers] April Meetup

2012-04-16 Thread Vinayak Hegde
On Sun, Apr 15, 2012 at 6:30 AM, Anand Chitipothu anandol...@gmail.com wrote:
 On Wed, Apr 11, 2012 at 10:03 PM, Noufal Ibrahim 
 nou...@nibrahim.net.inwrote:

 Anand Chitipothu anandol...@gmail.com writes:

  On Wed, Apr 11, 2012 at 9:38 PM, Baiju M baiju.m.m...@gmail.com wrote:
  When is our April meeting ?  Location and date ?
 
  Date: April 22 - 3:00PM
  Venue: not finalized yet
 [...]


 If InMobi is fine, let's finalise that and fix it shall we?


 Let's finalize InMobi.

 Vinayak,

 We usually have about 10 people attending the meeting.

 Can you please send the address of the venue, a link to the map and your
 contact number?

Date: April 22 - 3:00PM

Link to the Map :
http://g.co/maps/rrvwk

Inmobi Address :
Ground Floor, Pebble Beach, Embassy Golf Links Road, Amarjyoti Layout, Domlur
Bangalore, Karnataka, India
Front Desk Board Line number : 080 6583 4445 (for directions)

Landmark (inside EGL) : Citibank ATM / Small Barista (There is another
Barista in Pyramid Food Court)

Can also people send me the Agenda ?

Regards
Vinayak
+ 919449834401
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] April Meetup

2012-04-11 Thread Vinayak Hegde
You can have it in the Inmobi Office in EGL. I can make arrangements.

Typically how many people are expected ?

Regards
Vinayak

On Wed, Apr 11, 2012 at 1:46 PM, Anand Chitipothu anandol...@gmail.com wrote:
 Hi,

 I haven't received confirmation from Google yet. When I pinged them
 last week they said they are still working on it. Since the meeting is
 just 10 days away, I think it will be better if we find an alternate
 venue.

 Do you have suggestions for the venue? May be near Indiranagar area this time?

 Anand
 ___
 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] April meetup

2012-03-27 Thread Vinayak Hegde
Can I vote ? +1 for pygame. Would also like to hear experiences of
people who went to Pycon this month.

-- Vinayak

On Tue, Mar 27, 2012 at 7:54 PM, Noufal Ibrahim nou...@nibrahim.net.in wrote:

 I myself could speak about either pygame (game development in general)
 or on the Python C API.

 --
 ~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
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] [OT] Offline Payments for Pycon India

2010-08-21 Thread Vinayak Hegde
Hi,

I just registered for Pycon India and it says that payments can be
made at Local user groups meetings in the offline mode. I have opted
for offline as Do attend's online system is honestly confusing.

Is there any easier way to make payments such as EFT to an holding
account for Pycon India ? That would really help.

Apologies for spamming the group but I thought that other people on
the list (who want to attend Pycon India) might have similar
questions.

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


Re: [BangPypers] 2D plotting libraries.

2010-06-04 Thread Vinayak Hegde
How about mathplotlib ? I haven't used it (yet but am planning to play
with it for visualisation). What are the other good visualisation
libraries for python.

-- Vinayak

On Fri, Jun 4, 2010 at 1:01 PM, Anand Balachandran Pillai
abpil...@gmail.com wrote:
 On Fri, Jun 4, 2010 at 12:13 PM, Shiv Shankar fsla...@gmail.com wrote:

 Hello,

 I have a finite 2 dimensional plane. I have a set of co-ordinates, which is
 basically the movement of an object.
 The co-ordinates are derived from a set of equations considering various
 factors.
 After a set of initial research and tryouts i *quickly *decided on using *
 pygame* to plot the co-ordinates on a 2D plane.


  Wrong choice. When a software exists which is the perhaps the most
 powerful plotting program *ever* written, choosing a gaming library
 for this demonstrates poor choice, unless there is a specific reason
  for that - like for example, if you are already familiar with Pygame or
  SDL.

 I am talking about gnuplot here.

 The commands are pretty intuitive. It gives you an interactive
 prompt, like python. For example, here is how to plot
 a curve for the function (3*x*x - 8*x) over x range of -50:50
 and y-range of -10:100

 gnuplot plot [-30:30] [-10:500] (3*x*x - 8*x)

 You can also do 3-d plots.
 Here is the 3d plot of a complex function in 2d plane.

 gnuplot splot [-30:30] [-10:500] (3*x*x - 8*x + y*y)

 Has any one in here implemented this sort of a program ? Which library did
 you use ? if possible could you explain why you chose the particular
 library.


  Gnuplot is its own programming language, but if you want a Python
  interface, try gnuplot.py.

  http://gnuplot-py.sourceforge.net/





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




 --
 --Anand
 ___
 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] @dabeaz visiting b'lore

2010-05-18 Thread Vinayak Hegde
Did this meet happen. Slides / comments on the meet ?

-- Vinayak

On Mon, May 10, 2010 at 6:27 PM, Noufal Ibrahim nou...@gmail.com wrote:
 2nd floor. Prestige Loka. Tandberg technologies india. It's on brunton
 road. You can't miss it. Same building as red hat.

 On 5/10/10, Vishal vsapr...@gmail.com wrote:
 +1 for this venue.

 its very close to my workplace as well.

 Noufal, can you send us your cell, so we can contact you once we reach the
 venue Prestige Loka
 Otherwise, just let us know where to reach in the building.


 On Mon, May 10, 2010 at 5:24 PM, Noufal Ibrahim nou...@gmail.com wrote:

 The list archives will have it. I don't have complete access to the
 net right now.

 On 5/10/10, Dhaval Sharma dhavalsha...@gmail.com wrote:
  Hi,
 
  Can you share the venue again as I have recently joined the group and
 must
  have missed previous email?
 
 
  --
  With Warm Regards,
  @dhavalsharma
  http://dsteps.blogspot.com
  http://www.linkedin.com/in/dhavalsharma
  http://carpoolkaro.appspot.com
  ___
  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




 --
 Thanks and best regards,
 Vishal Sapre

 ---
 So say...Day by day, in every way, I am getting better, better and better
 !!!
 A Strong and Positive attitude creates more miracles than anything else.
 Because...Life is 10% how you make it, and 90% how you take it
 Diamond is another piece of coal that did well under pressure”
 May we do good and not evil. May we find forgiveness for ourself and
 forgive others. May we share freely, never taking more than we give.
 ___
 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

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


Re: [BangPypers] Query generation engine/library

2010-03-10 Thread Vinayak Hegde
Yeah that was my fallback option. Was just checking if there is
something more sophisticated. Looks like I will have to combine
parsing with something like spark or some other code generation
engine.

-- Vinayak

On Tue, Mar 9, 2010 at 7:24 PM, Baishampayan Ghose b.gh...@gmail.com wrote:
 I am looking for a a way to generate optimised queries in SQL (or
 SQL-like languages like Hadoop Pig) by chaining clauses such as where,
 group by, order by etc based on a set of (optimising) rules. Is there
 any such library in python which would let me do that. Example
 approach would be create a query object and then use some inbuilt
 method to generate the actual query before executing it.

 I will probably have to change whatever alternatives are so a good
 starting point would be helpful.

 Take something like Django's ORM or SQLAlchemy and hack it until you
 are satisfied :)

 Regards,
 BG

 --
 Baishampayan Ghose
 b.ghose at gmail.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] [OT] Tools for writing books and publishing as pdfs

2010-03-10 Thread Vinayak Hegde
On Thu, Mar 11, 2010 at 12:13 PM, Jins Thomas jinstho...@gmail.com wrote:
 Hi all,

 This is an off-topic.

 Would somebody please pass some suggestions on how we can write some e-book,
 technical in nature. I'm planning to write one book on telecom network
 domain . My main motive is to learn some more solid things while writing
 this book. So i was just thinking there is any good way by which we write
 this and publish as pdfs in the internet. I was curious how our free python
 tutorials being written, like 'A byte of python' , ThinkCSPY etc.

As other have suggested - Latex would be ideal. It is also possible to
write using a wiki. There are some plugins for mediawiki which can
help you convert to PDF but the output would not be as good as Latex.

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


[BangPypers] Query generation engine/library

2010-03-09 Thread Vinayak Hegde
unlurk from lurking mode

I am looking for a a way to generate optimised queries in SQL (or
SQL-like languages like Hadoop Pig) by chaining clauses such as where,
group by, order by etc based on a set of (optimising) rules. Is there
any such library in python which would let me do that. Example
approach would be create a query object and then use some inbuilt
method to generate the actual query before executing it.

I will probably have to change whatever alternatives are so a good
starting point would be helpful.

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


Re: [BangPypers] Suggest me a book

2009-10-15 Thread Vinayak Hegde
Beautiful Code
Beautiful Architecture
Masterminds of Programming: Conversations with the Creators of Major
Programming Languages
Hackers and Painters: Big Ideas from the Computer Age
Joel on Software (the book)
The Best Software Writing I: Selected and Introduced by Joel Spolsky

-- Vinayak

On Thu, Oct 15, 2009 at 4:50 PM, Srinivas Reddy Thatiparthy
srinivas_thatipar...@akebonosoft.com wrote:
 Just completed reading the book, The Coders At Work,It's just an excellent
 book and
 It's great to see behind the eye balls of programmers.
 Can any one suggest me some other books of such kind?

 Regards,
 Srinivas Reddy Thatiparthy.
 --
 I hear and I forget. I see and I remember. I do and I understand.
 - Confucius.

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


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


Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Vinayak Hegde
On Thu, Oct 15, 2009 at 4:43 PM, Kenneth Gonsalves law...@au-kbc.org wrote:
 On Thursday 15 Oct 2009 3:52:39 pm Srijayanth Sridhar wrote:
 I brought up the same topic a few months ago I think. Basically if you go
 to the Ruby forums

 no real programmer goes to forums - they use mailing lists and IRC

There are several good forums such as artima, stackoverflow and
javalobby. The process of finding answers is what is important and not
the medium.

I think you would be taken more seriously if you don't spew random
garbage like this.

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


Re: [BangPypers] Suggest me a book

2009-10-15 Thread Vinayak Hegde
Yeah those two are good too. Other than that I would suggest
Adventures of a Pythonista in Schemeland
(http://www.phyast.pitt.edu/~micheles/scheme/TheAdventuresofaPythonistainSchemeland.pdf)
, Little Schemer and seasoned schemer for those who want to learn
functional languages.

-- Vinayak

On Thu, Oct 15, 2009 at 5:28 PM, Zaki Manian z...@manian.org wrote:
 I'm enjoying Real World Haskell and Beautiful Data enormously.



 US number: +1 650-862-5992
 Indian Number:+919945111824


 On Thu, Oct 15, 2009 at 5:18 PM, Vinayak Hegde vinay...@gmail.com wrote:

 Beautiful Code
 Beautiful Architecture
 Masterminds of Programming: Conversations with the Creators of Major
 Programming Languages
 Hackers and Painters: Big Ideas from the Computer Age
 Joel on Software (the book)
 The Best Software Writing I: Selected and Introduced by Joel Spolsky

 -- Vinayak

 On Thu, Oct 15, 2009 at 4:50 PM, Srinivas Reddy Thatiparthy
 srinivas_thatipar...@akebonosoft.com wrote:
  Just completed reading the book, The Coders At Work,It's just an
  excellent
  book and
  It's great to see behind the eye balls of programmers.
  Can any one suggest me some other books of such kind?
 
  Regards,
  Srinivas Reddy Thatiparthy.
  --
  I hear and I forget. I see and I remember. I do and I understand.
  - Confucius.
 
  ___
  BangPypers mailing list
  BangPypers@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 mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Suggest me a book

2009-10-15 Thread Vinayak Hegde
On Thu, Oct 15, 2009 at 5:47 PM, Noufal Ibrahim nou...@gmail.com wrote:
 On Thu, Oct 15, 2009 at 5:38 PM, Vinayak Hegde vinay...@gmail.com wrote:
 Yeah those two are good too. Other than that I would suggest
 Adventures of a Pythonista in Schemeland
 (http://www.phyast.pitt.edu/~micheles/scheme/TheAdventuresofaPythonistainSchemeland.pdf)
 , Little Schemer and seasoned schemer for those who want to learn
 functional languages.

 Is the adventures of a Pythonista... the same as was published a while
 ago as a series of blog entries?

Yes. It has the content of 30 something blog entries. A PDF is easier
to read than individual pages so I linked to it. I think there are
more blog enrteies coming so the pdf will be updated as well.

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


Re: [BangPypers] Query regarding Weekend Meeting

2009-10-15 Thread Vinayak Hegde
On Thu, Oct 15, 2009 at 3:12 PM, Sharath Sama shara...@tarangtech.com wrote:
 Hi,

 My name is Sharath Sama. I am working on python. I am new to this group.I
 have a query regarding meetings
 Who can attend meetings, What is the process to attend. Please guide me.

 Regards,
 Sharath Sama

Anyone can attend a meeting. I think there is one scheduled this
weekend. When starting a new thread don't do reply all to the list or
digest but start a fresh email thread in your client. That will make
it easier for people to answer you rather than getting flamed.

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


Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Vinayak Hegde
This is getting really offtopic. I think everyone here has joined this
mailing list for learning Python and helping others do so. No offense
to anyone but can we terminate the discussion here.

Thanks
Vinayak

On Thu, Oct 15, 2009 at 7:10 PM, shameek ghosh shamee...@gmail.com wrote:
 Coming back to the main questions.[:)]

 1. Why do indian programmers ask for code in  Usenet (particularly Google
 groups) ?
[SNIP]
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Cloud Camp at IIM Bangalore on March 29

2009-03-13 Thread Vinayak Hegde
On Fri, Mar 13, 2009 at 3:23 PM, Baishampayan Ghose b.gh...@gmail.com wrote:
 Would anyone be interested in Giving a talk on Google App-Engine ?

 I can talk on GAE.

 Regards,
 BG

Cool. What would be the title of you talk ?
Let me know I will add it to the site.

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


Re: [BangPypers] how to learn programming

2009-01-23 Thread Vinayak Hegde
On Fri, Jan 23, 2009 at 1:16 PM, Praveen Kumar prav...@mahiti.org wrote:
 Join the Association for Computing Machinery http://www.acm.org/ and make
 serious use of their Professional Development Center. It has hundreds of
 free, step-by-step tutorials, though you must be a member to use them.
 Student and discounted rates are available.

BTW just thought that I should mention that we have a local chapter of
ACM in Bangalore, which is fairly active. It could be a way to connect
with other programmers and learn from them You can visit the website
at http://acmbangalore.org

We recently had a conference called Compute 2009 where we had
tutorials on cloud computing and social networks. If you are
interested in the ACM Tech Talks
(http://acmbangalore.org/events/monthly-talk/) that we hold regularly,
you can signup for the ACM Bangalore mailing list at
http://groups.google.com/group/acm-bangalore-chapter/about?hl=en We
have recorded the tutorials and they will be put up shortly.

If you want to volunteer for ACM event we have a volunteer mailing
list at http://groups.google.com/group/acm-blr-volunteers/ We are
having a meeting this Sunday at ICH, 10.30am.

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


Re: [BangPypers] Writing a Python Client to access a web service.

2008-06-03 Thread Vinayak Hegde
On Tue, Jun 3, 2008 at 2:37 PM, Heshan Suriyaarachchi
[EMAIL PROTECTED] wrote:
 Hi,
 I have written a web service and have deployed it using Apache Axis2.
 What I want to do is to invoke this service using a python script. Can
 anyone point me in the direction of how to do this. I will be grateful If
 anyone can give me a web reference to a code sample.I can do this with java.
 To give you an idea of what kind of a thing I want to do , I am attaching my
 java client code below.

 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.client.ServiceClient;
 import org.apache.axis2.client.Options;
 import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMAbstractFactory;
 import org.apache.axiom.om.impl.builder.StAXOMBuilder;
 import javax.xml.stream.XMLStreamException;
 import java.io.ByteArrayInputStream;

 public class myClient {
 private static EndpointReference targetEPR =
 new
 EndpointReference(http://localhost:8070/axis2/services/annotationScript/deduct;);
 //http://localhost:8080/axis2/services/annotationScript/f

 public static OMElement getPayload() throws XMLStreamException {
 String str1 = fa4/a/f;
 String str2 =
 deductvar11.8/var1var24.87594/var2/deduct;
 String str3 =  addvar11.8/var1var24.87594/var2/add;
 StAXOMBuilder builder = new StAXOMBuilder(new
 ByteArrayInputStream(str2.getBytes()));
 return builder.getDocumentElement();
 }

 public static void main(String[] args) throws Exception {
 ServiceClient sender = new ServiceClient();
 Options op = new Options();
 op.setTo(targetEPR);
 sender.setOptions(op);
 OMElement response = sender.sendReceive(getPayload());
 System.out.println(response);
 }
 }

Dive into python has a good tutorial on webservices using python.
http://www.diveintopython.org/soap_web_services/

The rest of the book is pretty readable as well.

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