Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-11-02 Thread Rajeev J Sebastian
On Wed, Nov 2, 2011 at 11:05 PM, Sidu Ponnappa  wrote:
>> Do you do your tests in Python, or whatever language the fresher
>> knows? So far, we have not received a single resume mentioning Python.
> Any object oriented language the candidate is comfortable with is fine
> by us. Unit tests are, however, mandatory. TDD is a huge plus.
>
>> Question is, how much to pay?
> Figure out who your competition in the hiring space is (this could be
> very very different from your business competitors). Find out how much
> they pay. Then do your best to pay more. For us, this means companies
> like ThoughtWorks, Amazon and co. We try to pay salaries that are
> close to these firms (though matching Amazon is still slightly beyond
> us for now).
>
>> From the freshers point of view though, their friends making insane
>> salaries at MNCs always make them dissatisfied. Any recommendations?
> Yes - pay more than the MNCs or at least get close and compensate for
> the delta with a brilliant work environment. Unfortunately, I have no
> better answer than this. Folks typically evaluate a prospective
> employer on salary, work environment (including how awesome
> prospective colleagues are, how much they can learn, and how
> transparent and honest the organisations is) and the work itself.
>
> There is no magic formula that allows you to hire better people while
> paying significantly less than your competitors, but you can usually
> swing it by being somewhere close on salary and doing better than them
> on the last two parameters. Honestly, a small company that can't
> trounce an MNC on work environment is doing something seriously wrong.

We have a rather good work environment. But trying to convince
freshers of this is close to impossible, as they have inflated ideas
about what the IT industry is really like.

>
>> There is also the tug of "Bangalore".
> Identify why this is the case and look to plug the gaps. If the
> attractiveness lies in the lifestyle, then you may wish to open up a
> branch in Bangalore. I should warn you though that on the hiring
> front, things are no better here :)

Thanks Sidu. All of this is really good advice.

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


Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-11-02 Thread Rajeev J Sebastian
Thanks Sidu and Senthil for your recommendations, which were very
helpful. As you suggested, the most important change we can make is to
test directly with code.

Do you do your tests in Python, or whatever language the fresher
knows? So far, we have not received a single resume mentioning Python.

As for pay, we are willing to pay in return for exceptional work. We
outsource a LOT and pay well for absorbing the responsibility and
risk. But we have so far been unsuccessful in finding talented people,
to whom we could pay equivalent to what we outsource.

Question is, how much to pay? I guess this is not really an
"answerable" question. Looking around at the "sweat factories" that
surround us, we pay very well. There is also the tug of "Bangalore".
>From the freshers point of view though, their friends making insane
salaries at MNCs always make them dissatisfied. Any recommendations?

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


Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-11-02 Thread Rajeev J Sebastian
I'm running a small company out of Technopark Trivandrum. We're always
on the lookout for good people (as is everyone else). I myself have a
history in development, and none in management. Never worked at a
company in my career.

So my question: how does one gauge aptitude in programming? In
particular, when we put out a job advertisement, we get a ton of
resumes from freshers. Most (if not all) do not have any significant
experience, knowledge or demonstrable skills. Most fail our written
test, which tests basic knowledge in programming, algorithms, etc.
Their resumes are full of bullshit, and in many cases, fraudulent.

Given that the fresher lacks knowledge in any given area, what kind of
testing should we use? Since we do development in Python and Django,
and so far no candidate has come to us with "Python" on their resume,
what do you suggest we do?

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


Re: [BangPypers] Read barcode input

2011-10-13 Thread Rajeev J Sebastian
Normally, this kind of stuff is done by writing a pseudo-keyboard
driver for the scanner. Then, when scanning it outputs the value into
the currently focused field. Usually, the scanner will come with a
driver for this specific purpose. Maybe you may have to write a custom
one.

Typically, the driver is generic and doesn't care if the input field
is in the browser or some GUI app.

Regards
Rajeev J Sebastian

On Thu, Oct 13, 2011 at 4:02 PM, s|s  wrote:
> I possible way is for barcode scanner to put the barcode into he
> browser field which has focus. Frankly there is no right answer.
> Chances are you will end up with browser specific solution. Like
> Noufal said before, Django has not part to play.
>
> On Thu, Oct 13, 2011 at 3:47 PM, Noufal Ibrahim  wrote:
>> Asif Jamadar  writes:
>>
>>>>From the scanner.
>>
>> [...]
>>
>> This is not something django specific is it?
>>
> I possible way is for barcode scanner to put the barcode into he
> browser field which has focus. Frankly there is no right answer.
> Chances are you will end up with browser specific solution. Like
> Noufal said before, Django has not part to play.
>
>
>> --
>> ~noufal
>> http://nibrahim.net.in
>>
>> I am a deeply superficial person. -Andy Warhol
>> ___
>> BangPypers mailing list
>> BangPypers@python.org
>> http://mail.python.org/mailman/listinfo/bangpypers
>>
>
>
>
> --
> Supreet Sethi
> Ph UK: +447859172473
> Ph IN: +919811143517
> Ph Skype: d_j_i_n_n
> Profile: http://www.google.com/profiles/supreet.sethi
> Twt: http://twitter.com/djinn
> ___
> 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] if not with comparision statement in python

2011-08-01 Thread Rajeev J Sebastian
On Mon, Aug 1, 2011 at 12:08 PM, Anand Balachandran Pillai
 wrote:
> On Sat, Jul 30, 2011 at 2:15 PM, Asif Jamadar wrote:
>
>> What if I have two lists for both minimum and maximum values
>>
>> Minimum  Maximum
>> 0               10
>> 11              20
>> 21              30
>> 31              40
>>
>>
>> Now how should I check if actual result is not laying between above ranges
>>
>> if not minimum<=actual_result and  not maximum>=actual_result:
>>
>> Any suggestions?
>>
>>
> Use zip.
>
 minl=(0,11,21,31)
 maxl=(10,20,30,40)
 x = 5
 for r in zip(minl, maxl):
> ...     if x in range(r[0], r[1]): print 'Found in range',r

flag = False
for min, max in zip(minl, maxl):
 if min <= x <= max:
  flag = True


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


Re: [BangPypers] Infogami Problems

2011-07-15 Thread Rajeev J Sebastian
On Fri, Jul 15, 2011 at 7:15 PM, Anand Chitipothu  wrote:
>
> I pushed some changes just now, including a fix for install.


Hi Anand,

This seems to work great.

We had some issues creating a new type: we added properties with names
like "Code" and "Description" and it didn't work. Later, we made them
lowercase and now it seems to be working.

Whats the recommended way to create a site using infogami? How do we
create a new project and add new type templates?

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


Re: [BangPypers] Infogami Problems

2011-07-15 Thread Rajeev J Sebastian
On Fri, Jul 15, 2011 at 3:11 PM, Anand Chitipothu  wrote:
>> Could anyone provide some suggestions?
>
> Try running sample_run.py install


Hi Anand,

Could you suggest the best git branch of infogami to clone? The one I
have throws this exception:

Regards
Rajeev J Sebastian

movetemplates
/
/_echo
/([^_/][^/]*)
/([^/]*)/get
/([^/]*)/get_many
/([^/]*)/save(/.*)
/([^/]*)/save_many
/([^/]*)/reindex
/([^/]*)/new_key
/([^/]*)/things
/([^/]*)/versions
/([^/]*)/write
/([^/]*)/account/(.*)
/
/_echo
/([^_/][^/]*)
/([^/]*)/get
/([^/]*)/get_many
/([^/]*)/save(/.*)
/([^/]*)/save_many
/([^/]*)/reindex
/([^/]*)/new_key
/([^/]*)/things
/([^/]*)/versions
/([^/]*)/write
No handlers could be found for logger "infobase"
Traceback (most recent call last):
  File "/Users/kane/venvs/infogami/infogami/infogami/infobase/server.py",
line 81, in g
d = f(self, *a, **kw)
  File "/Users/kane/venvs/infogami/infogami/infogami/infobase/server.py",
line 209, in POST
result = site.write(query, comment=i.comment, action=i.action)
  File "/Users/kane/venvs/infogami/infogami/infogami/infobase/infobase.py",
line 131, in write
changeset = self.store.save_many(items, timestamp, comment, data,
ip, author and author.key, action=action)
  File "/Users/kane/venvs/infogami/infogami/infogami/infobase/dbstore.py",
line 145, in save_many
logger.debug("saving %d docs - %s", len(docs),
dict(timestamp=timestamp, comment=comment, data=data, ip=ip,
author=author, action=action))
TypeError: object of type 'generator' has no len()
Traceback (most recent call last):
  File "./run.py", line 39, in 
infogami.run()
  File "/Users/kane/venvs/infogami/infogami/infogami/__init__.py",
line 140, in run
run_action(args[0], args[1:])
  File "/Users/kane/venvs/infogami/infogami/infogami/__init__.py",
line 127, in run_action
a(*args)
  File "/Users/kane/venvs/infogami/infogami/infogami/__init__.py",
line 97, in install
a()
  File 
"/Users/kane/venvs/infogami/infogami/infogami/plugins/wikitemplates/code.py",
line 209, in movetemplates
result = web.ctx.site.write(templates)
  File "/Users/kane/venvs/infogami/infogami/infogami/infobase/client.py",
line 363, in write
result = self._request('/write', 'POST', dict(query=_query,
comment=comment, action=action))
  File "/Users/kane/venvs/infogami/infogami/infogami/infobase/client.py",
line 209, in _request
out = self._conn.request(self.name, path, method, data)
  File "/Users/kane/venvs/infogami/infogami/infogami/infobase/client.py",
line 97, in request
out = server.request(path, method, data)
  File "/Users/kane/venvs/infogami/infogami/infogami/infobase/server.py",
line 602, in request
return tocall(*args)
  File "/Users/kane/venvs/infogami/infogami/infogami/infobase/server.py",
line 92, in g
process_exception(common.InfobaseException(error="internal_error",
message=str(e)))
  File "/Users/kane/venvs/infogami/infogami/infogami/infobase/server.py",
line 63, in process_exception
raise web.HTTPError(status, {}, msg)
web.webapi.HTTPError: 500 Internal Server Error
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Django Develeopers

2011-07-15 Thread Rajeev J Sebastian
We at www.alokin.in use Django in all our projects, both in-house as
well as consulting projects.

Regards
Rajeev J Sebastian

On Tue, Jul 12, 2011 at 6:59 AM, Venkatraman S  wrote:
> Can we have a roll call of developers who actively use Django?
> Also, it would be great if you can mention where and how exactly you are
> using.
>
> -V
> ___
> 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] Infogami Problems

2011-07-15 Thread Rajeev J Sebastian
Hi,

I'm trying to setup an instance of infogami (without openlibrary etc),
but running into problems. I think I might have made some basic config
error, probably could be easily fixed.

This is what I did:

created a new virtualenv
cloned from https://github.com/openlibrary/infogami.git
installed web.py==0.33
installed simplejson and pyyaml
createdb infogami
edited the sample_infogami.yml for the db name, user
ran sample_run.py --createsite
ran sample_run.py


At this point, I can visit http://0.0.0.0:8080 and I see the home page

Had some issues registering as a new user, but I got admin to login.

So, when I try:

http://0.0.0.0:8080/?m=edit

I hit an exception:


 at /
Python  /Users/kane/venvs/infogami/infogami/infogami/core/db.py in
new_version, line 36
Web GET http://0.0.0.0:8080/



The "/type/page" seems not to exist

http://0.0.0.0:8080/type does not list all types
http://0.0.0.0:8080/type/page does not exist

/type/type, /type/user exists though


Could anyone provide some suggestions?

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


Re: [BangPypers] Web Application Development

2011-05-23 Thread Rajeev J Sebastian
On Thu, May 19, 2011 at 7:33 PM, Gopalakrishnan Subramani
 wrote:
> Django is self contained solution, where it has ORM/Templates/Views/Routing
> tightly couples, IMHO. Where as in Pyramid, you have Options..

They are not tightly coupled at all.

In core django: There are a couple of generic views that are coupled
to Models (ORM), and there exists an integration layer between forms
and Models; forms are quite usable without Models. templates, routing,
etc are not coupled at all, though the bundled urlconf system is
simple to learn and effective.

In django contrib apps: 3rd party apps: preminent apps such as auth,
admin etc depend on ORM, and most 3rd party apps assume the use of the
ORM.

In any case, if you're just starting off with your application, django
would be a good choice (one of many), and with good options to move to
other components later.

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


Re: [BangPypers] [commercial] python/django training

2011-05-11 Thread Rajeev J Sebastian
A good venture Kenneth.

Regards
Rajeev J Sebastian

On Thu, May 12, 2011 at 7:16 AM, Kenneth Gonsalves
 wrote:
> hi,
>
> there is a large demand for python/django programmers, and I am getting
> constant requests for candidates. I had tried to interest some
> institutes in training, but most of them are unprofessional and provide
> mere theoretical knowledge. Companies that need django developers have
> to spend too much time training their recruits. The recruits lack the
> all round skills in development and deployment that are the hall mark of
> a modern web programmer.
>
> I have decided to offer training in a live environment which will
> produce people who can 'hit the ground running'. The programme will be
> flexible, tuned to the individual needs. This means that the course can
> run from one month (minimum) up to 3 months. Again depending on the
> trainee, it will be both on location and remote. The location is Ooty,
> and accommodation will be provided/arranged.
>
> As an introductory offer, the charge will be 25K - and a job is
> guaranteed for anyone who passes.
>
> Prerequisites - some knowledge of programming and web development. More
> important, the ability to work hard and the desire to learn new things.
>
> Please contact me off list.
> --
> regards
> KG
> http://lawgon.livejournal.com
> Coimbatore LUG rox
> http://ilugcbe.techstud.org/
>
> ___
> 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] User group meeting

2011-04-03 Thread Rajeev J Sebastian
Looks like a triple store, without the triples or the sparql ...

Regards
Rajeev J Sebastian

On Mon, Apr 4, 2011 at 10:43 AM, Santosh Rajan  wrote:
> Looks like a solution looking for a problem, rather than a problem looking
> for a solution.
>
> On Mon, Apr 4, 2011 at 10:24 AM, Senthil Kumaran wrote:
>
>> On Mon, Apr 04, 2011 at 10:19:53AM +0530, Noufal Ibrahim wrote:
>> > What by the way is mangrove? It's a bit of a fail for the docs and
>> > website if I can't figure that out in 5 minutes. :)
>>
>> Yes true.  Looks like a data (large data-set) analysis tool with couchdb
>> backend.
>>
>> --
>> Senthil
>> ___
>> 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
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] [OT][JOBS] Interview/Test for Python/Django candidates

2011-03-14 Thread Rajeev J Sebastian
Hi,

I'm writing on behalf of Alokin Software Pvt Ltd based at Technopark
Trivandrum.

We are looking for some candidates with strong skills in Python,
Django development on a Linux platform. Preferable additional skills:
frontend stuff (HTML/CSS/Javascript), knowledge of system
administration tasks (deployment, security, VPS), project management
skills.

If you have the skills that we're looking for, send an email to
h...@alokin.in and attach your resume.

Kindly pass this on to others who might be looking for jobs in this area.

I'm available by email and phone for your questions.


Thanks
Regards
Rajeev J Sebastian
raj...@alokin.in
+91-9846088898
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] [JOB] Python developer required in Pune with web development experience

2011-01-12 Thread Rajeev J Sebastian


On 13-Jan-2011, at 12:44 PM, Kenneth Gonsalves  wrote:

> On Thu, 2011-01-13 at 12:40 +0530, Vivek Khurana wrote:
>> On Thu, Jan 13, 2011 at 11:58 AM, Kenneth Gonsalves
>>  wrote:
>>> That said, the best candidates (as far as I am concerned) are those
>> who
>>> say that salary is not the main criterion - what work are you going
>> to
>>> give me?
>> 
>> That carrot stick works for a while. Once you have couple of feathers
>> in the cap and have family pressure, it is money that matters. 
> 
> everyone has a minimum - what I need to live in comparative luxury -
> given that minimum is assured, then what is the criterion?

More money.

Regards
Rajeev J Sebastian


> -- 
> regards
> Kenneth Gonsalves
> 
> ___
> 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] [JOB] Python developer required in Pune with web development experience

2011-01-12 Thread Rajeev J Sebastian
Because most people in India are not satisfied with what might be written.

Regards
Rajeev J Sebastian

On 13-Jan-2011, at 6:30 AM, Kenneth Gonsalves  wrote:

> On Wed, 2011-01-12 at 21:35 +0530, s|s wrote:
>> This interesting job comes with industry competitive compensation.
> 
> how much? I wonder why in India people never mention salary range.
> -- 
> regards
> Kenneth Gonsalves
> 
> ___
> 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] [django] Directory Listing

2010-11-27 Thread Rajeev J Sebastian
I have used it extensively. In particular to implement the kind of
thing asked in the subject.

However. django-mptt itself doesn't provide any mechanisms to build
taxonomies or categories; it only allows building trees.

I have built a taxonomy app on top of it, which I could possibly share
with you if you want.

Regards
Rajeev J Sebastian

On Thu, Nov 25, 2010 at 4:54 PM, Venkatraman S  wrote:
> On Thu, Nov 25, 2010 at 4:45 PM, Kenneth Gonsalves wrote:
>
>> django-mptt?
>>
>
>
> I have seen some people rant about it in #django. Have you tried it?
> ___
> 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] task tracker and issue manager

2010-10-25 Thread Rajeev J Sebastian
On Tue, Oct 26, 2010 at 12:37 AM, Dark Seid  wrote:
>>
>> that is the means by which interested *serious*
>> contributors can decide if they want to help out, or work on other
>> open source projects.
>>
> Right. Let us know once it's available on bitbucket or github.

OK. Will do. Kthxbye.

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


Re: [BangPypers] task tracker and issue manager

2010-10-25 Thread Rajeev J Sebastian
On Mon, Oct 25, 2010 at 11:48 PM, Dark Seid  wrote:
>>
>> so only very serious people need approach.
>>
> I could be stating the obvious here, but I suspect that the kind of people
> you're looking for will only contribute to an OSS project if it's got great
> code or solves a problem in an interesting/effective way or both. Nobody can
> figure this out *before* you open source it, so you can't expect people to
> figure out up-front how serious they will be about contributing.

Yes, you were stating the obvious. Someone might be serious about
contributing, if for e.g., they have time on their hands, experience
in developing quality products, and the will to spend it effectively
towards a project, which ultimately may not pay off financially (since
it is open source). In this case, I'm willing to demo the system and
show them the code; that is the means by which interested *serious*
contributors can decide if they want to help out, or work on other
open source projects.

Loose statements like "we will help to improve it" is not a sign of a
serious contributor, in fact probably the opposite.

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


Re: [BangPypers] task tracker and issue manager

2010-10-25 Thread Rajeev J Sebastian
On Mon, Oct 25, 2010 at 6:00 PM, Kenneth Gonsalves  wrote:
> On Mon, 2010-10-25 at 17:51 +0530, Rajeev J Sebastian wrote:
>> I'm currently developing a task/issue management system; Django based.
>> Currently I havent made it open source (need to improve further before
>> I do that), but I'm using it in production.
>
> open source it and we can help to improve it

Who exactly is 'we'?

---

The project is moving forward towards an open source model. I am still
looking out for collaborators (especially UI/UX people and Mootools JS
devs). People who are sincerely interested in contributing towards
this solution can contact me for a demo and discussions. I've already
spent Rs 1 lakh+ towards the development of this project, so only very
serious people need approach.

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


Re: [BangPypers] task tracker and issue manager

2010-10-25 Thread Rajeev J Sebastian
I'm currently developing a task/issue management system; Django based.
Currently I havent made it open source (need to improve further before
I do that), but I'm using it in production. Let me know if you're
interested to see it.

Regards
Rajeev J Sebastian

On Mon, Oct 25, 2010 at 12:40 PM, Kenneth Gonsalves  wrote:
> On Mon, 2010-10-25 at 12:34 +0530, Vishal wrote:
>> For your requirements:
>> +10 for Trac
>
> '+10' is not recognised as a valid vote - valid votes are -1,-0,+0 and
> +1
> --
> regards
> Kenneth Gonsalves
> Senior Associate
> NRC-FOSS at AU-KBC
>
> ___
> 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] Clojure style multimethod functions in python

2010-08-23 Thread Rajeev J Sebastian
On Mon, Aug 23, 2010 at 6:35 PM, Dhananjay Nene
 wrote:
> On Mon, Aug 23, 2010 at 4:26 PM, Rajeev J Sebastian <
> rajeev.sebast...@gmail.com> wrote:
>
>> Probably better to use PEAK Rules....
>>
>> Regards
>> Rajeev J Sebastian
>>
>
> That looks much more fully featured indeed. But I couldn't understand why
> features such as the one I "copy-pasted" below are relevant when a simple
> lambda is all that is required :
>
>
>   - The Basic AST
> Builder<http://peak.telecommunity.com/DevCenter/PEAK-Rules/AST-Builder>and
> advanced Code
>   
> Generation<http://peak.telecommunity.com/DevCenter/PEAK-Rules/Code-Generation>
>   - Criteria <http://peak.telecommunity.com/DevCenter/PEAK-Rules/Criteria>,
>   Indexing <http://peak.telecommunity.com/DevCenter/PEAK-Rules/Indexing>,
>   and 
> Predicates<http://peak.telecommunity.com/DevCenter/PEAK-Rules/Predicates>
>   - Syntax pattern
> matching<http://peak.telecommunity.com/DevCenter/PEAK-Rules/Syntax-Matching>

When you have a large number of rules, you want to optimize the
dispatcher to select the most appropriate rule in the fastest possible
way. In your case, only the result of the 'ticket' method is ever used
for the dispatch; imagine if different methods had different
conditions altogether. For e.g.:


@when("product.days_since_last_sale > days(365)")
def discount(product, user):
return "10%"

@when("product.category == 'football' and user.is_football_lover")
def discount(product, user):
  return "50%"

@when("product.category == 'cricket'")
def discount(product, user):
  return "0%"

etc.

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


Re: [BangPypers] Clojure style multimethod functions in python

2010-08-23 Thread Rajeev J Sebastian
Probably better to use PEAK Rules

Regards
Rajeev J Sebastian

On Mon, Aug 23, 2010 at 4:11 PM, Dhananjay Nene
 wrote:
> While python's multimethod module allows function overloading based on
> types, here's another approach to do the same based on a switching function
> (clojure style) or on a set of conditions.
>
> Clojure style multimethod functions in
> python<http://codeblog.dhananjaynene.com/2010/08/clojure-style-multi-methods-in-python/>
> .
>
> Comments if any welcome on the blog post / here.
> --
> 
> blog: http://blog.dhananjaynene.com
> twitter: http://twitter.com/dnene
> ___
> 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] [JOB] Interesting Projects at Jaaga

2010-08-08 Thread Rajeev J Sebastian
On Sun, Aug 8, 2010 at 2:15 PM, freeman murray  wrote:

>
> While some work may be done from home,
> the bulk needs to be done from Jaaga
> (Shantinagar, Bangalore)

too bad ... oh well :D

I'm at Shantinagar Trivandrum LOL

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


Re: [BangPypers] Wall street may embrace Python

2010-04-26 Thread Rajeev J Sebastian
On Mon, Apr 26, 2010 at 5:12 PM, Sirtaj Singh Kang  wrote:
>
> On 26-Apr-10, at 4:47 PM, Rajeev J Sebastian wrote:
> [snip]
>>
>> With all due respect, I disagree that a DSL is useful for this
>> purpose. In fact, I would disagree with DSLs in most cases, especially
>> if its supposed to be used for programming. The reason for this is
>> that creating a good language is much more harder than creating a
>> language, and such efforts tend to end up with crappy languages.
>>
>
> Your concern is valid, but I think you are underestimating the amount of
> effort already being put into creating platform-neutral DSLs for business,
> law and finance.

I'm not underestimating it at all ... just ranting that it does happen
as often as it does, when it shouldn't :P I'm very happy that the SEC
will/may mandate the use of Python for this.

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


Re: [BangPypers] Wall street may embrace Python

2010-04-26 Thread Rajeev J Sebastian
On Mon, Apr 26, 2010 at 4:13 PM, Sirtaj Singh Kang  wrote:
>
> On 26-Apr-10, at 3:46 PM, Dhananjay Nene wrote:
> [snip]
>>
>> I think a DSL based contract (or more precisely waterfall specification)
>> may
>> be more concise and self descriptive. But that would require a definition
>> of
>> a new language grammar.  However reasoning about the contracts is not in
>> the
>> scope of the SEC specification. The scope is (in my understanding) a clear
>> communication of the how the waterfall implications are worked out (eg.
>> how
>> much does each stakeholder get paid and what are the conditions under
>> which
>> that gets decided) and at least in terms of standard programming languages
>> Python does pretty well.
>
> Well the question I'm asking is, what are the implicit qualifications of the
> humans who are going to interpret these specifications? I see two profiles:
>
> 1) Financial, actuarial and legal experts with some programming experience.
> 2) Programming experts with financial, actuarial and legal experience.
>
> While there are people who fit both these profiles, there is a reason they
> get paid high-six figure USD salaries. Python alone is fine, but consider
> bog-standard recurring financial patterns like compound interest and
> graduated tax brackets. These imply functions that will occur often in these
> specifications, further implying (de-facto-)standard libraries containing
> highly domain-specific financial routines will be written. These are already
> embedded proto-DSLs! So you're not side-stepping DSLs by using python, only
> hiding them in plain sight. But you are not necessarily gaining the benefits
> of using an independent, well-specified declarative grammar the primary one
> being that you are possibly burdening non-programmers with general purpose
> programming constructs that are not their primary focus. There is a reason
> so many finance guys use R and (gah!) Excel to do their financial modelling
> - they are not interested in programming.
>
> Anyhow I'll stop here, I understand that the SEC requires only a subset of
> what I'm talking about, but the scope for these kinds of agreements goes
> well past the SEC and is something worth studying and implementing in its
> own right for fun and profit.

With all due respect, I disagree that a DSL is useful for this
purpose. In fact, I would disagree with DSLs in most cases, especially
if its supposed to be used for programming. The reason for this is
that creating a good language is much more harder than creating a
language, and such efforts tend to end up with crappy languages.

As an example, take the CMAKE language (vs something like scons/waf).
As a more specific example, take the way parameters are
declared/passed to procedures/routines/functions in CMAKE vs how they
are declared/passed in python. Python's is much more elegant, flexible
and consistent. In their search for the perfect DSL for building
software, they just made yet another (crappy) programming language.

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


Re: [BangPypers] Wall street may embrace Python

2010-04-26 Thread Rajeev J Sebastian
On Mon, Apr 26, 2010 at 2:14 PM, Dhananjay Nene
 wrote:
> Didn't mean to convey that sentiment of hanging onto the words. There's some
> good stuff of academic interest here. . Was essentially trying to
> communicate that I don't know if its such a important event at least from
> the commercial prospects perspectives of python development. That was the
> essence of my thoughts.

If the code is intended to run (perhaps in the Python shell), then you
will need Python programmers. Some of that work will trickle down to
India. So it's pretty important from a commercial point of view,
seeing as it's (possibly/in future) legally mandated that the code be
in Python.

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


Re: [BangPypers] Help plzz..

2010-01-20 Thread Rajeev J Sebastian
On Wed, Jan 20, 2010 at 7:38 PM, VIJAY KUMAR  wrote:
> Starting with Basic I found learning python  from Mark Lutz is good.
>
>
> http://books.google.co.in/books?id=wSC-tyYy5bsC&pg=PA503&dq=learning+python+pdf&ei=1g1XS4rEJInclQSU2rioAw&cd=1#v=onepage&q=&f=false

Noone has read the Python Tutorial ? I found that to be the ultimate
guide :) Gets you going in < 4 days.

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


Re: [BangPypers] [OT] Proto.in Nominations Opened

2009-12-08 Thread Rajeev J Sebastian
On Tue, Dec 8, 2009 at 2:49 PM, Ankur Gupta  wrote:

>
> Nominate yourself at http://nominate.proto.in/ get selected and see how
> Proto.in catapult's your start-up towards opportunities.

Hello Ankur,

Whats the last date for nominations ?

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


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Rajeev J Sebastian
On Sat, Oct 17, 2009 at 11:04 AM, Sriram Narayanan  wrote:
> On Sat, Oct 17, 2009 at 10:36 AM, Anand Balachandran Pillai
>  wrote:
>
>>
>> Ok, all that text and
>>
>>  In short, your expectation is that we can get together and write some
>>  code in PyQt which can be used for Belenix apps as welll as (possibly)
>>  ported to KDE on Solaris.
>>
>>  Fine. Simple thoughts written in a long winded fashion.
>
> I just thought I'd give some context on Belenix and what we're doing,
> that's all.
> As a group, we can have something to look forward to, and an Indian
> distribution to which we all contribute to is one such thing.

Do you mean an Indian Solaris distro ? (If you don't already know,
there are several indian linux distros).

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


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Rajeev J Sebastian
On Sat, Oct 17, 2009 at 12:27 AM, Sriram Narayanan  wrote:
> We have VirtualBox images on our computers and we're still testing
> these. I'll try to have these uploaded to our website so that all can
> download and try out the latest Belenix.

Great. Looking forward to that.

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


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Rajeev J Sebastian
On Sat, Oct 17, 2009 at 12:00 AM, Sriram Narayanan  wrote:
> On Fri, Oct 16, 2009 at 11:08 PM, Noufal Ibrahim  wrote:
>> On Fri, Oct 16, 2009 at 10:46 PM, Ramdas S  wrote:[..]
>>
>>> What abt LiveCDs?[..]
>>
>> Even a CD image which we can copy over would be cool.
>>
>
> I'll have some  CDs and Virtual Box images around. In case anyone
> wants to have Belenix installed onto their laptop, let me know.

I would like to have a VBox image. Is it downloadable from somewhere,
or can you make it so ?

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


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Rajeev J Sebastian
On Fri, Oct 16, 2009 at 11:59 PM, Sriram Narayanan  wrote:
> On Fri, Oct 16, 2009 at 11:19 PM, Rajeev J Sebastian
>  wrote:
>> On Fri, Oct 16, 2009 at 10:28 PM, Sriram Narayanan  
>> wrote:
>>> On Fri, Oct 16, 2009 at 9:58 PM, Rajeev J Sebastian
>>>  wrote:
>>>> On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan  
>>>> wrote:
>>>>> On 10/16/09, Sriram Narayanan  wrote:
>>>>>>
>>>>>> We can meet at TW this Sunday, no problem.
>>>>>
>>>>> One other thing that we'd discussed the last weekend was how those who
>>>>> are Python savvy can be a part of the Belenix developer community.
>>>>
>>>> Does it use python the way Pardus uses it ? Like the init system,
>>>> service manager, package manager, etc.
>>>
>>> Err.. No. Belenix is a distro that is based on the opensolaris ON
>>
>> Blah blah blah ... yes I know its Solaris etc.
>
> My response was to the larger community, and not to just you :)


That's probably why you started your response with an "Err ... No" right ?


>>
>> Question is, are there are specific Belenix components written in
>> Python, as in Pardus Linux which uses Python extensively ? Or was that
>> a call to developers to create new tools using python ?
>>
>
> There is our stop gap package manager which we wrote since we needed
> to move away from something called pkg-get. We're now considering
> using rpm5 as our package format, with the smart package manager being
> the package manager of choice.
>
> When we'd last met at Thoughtworks last weekend, I'd mentioned that
> the Belenix project would

Would what ?


> After I responded to you previously, I've been reading more about Pardus.
> At present, Belenix uses what Solaris has for service management -
> SMF. Apart from the temporary package manager that I wrote about,
> we've not written anything else using Python for Belenix. We're either
> busy with work, or with porting and testing software packages to
> Belenix.

So basically, you made a call for *developers* for Belenix (as opposed
to *Python developers*). I was trying to clarify that point.

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


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Rajeev J Sebastian
On Fri, Oct 16, 2009 at 10:28 PM, Sriram Narayanan  wrote:
> On Fri, Oct 16, 2009 at 9:58 PM, Rajeev J Sebastian
>  wrote:
>> On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan  
>> wrote:
>>> On 10/16/09, Sriram Narayanan  wrote:
>>>>
>>>> We can meet at TW this Sunday, no problem.
>>>
>>> One other thing that we'd discussed the last weekend was how those who
>>> are Python savvy can be a part of the Belenix developer community.
>>
>> Does it use python the way Pardus uses it ? Like the init system,
>> service manager, package manager, etc.
>
> Err.. No. Belenix is a distro that is based on the opensolaris ON
> (operating system + network), uses KDE, aims to be an appealing
> desktop to the user and to the developer, and has been the basis of
> Sun;s OpenSolaris distro. We're working toward using a free toolchain,
> and apart from the kernel and Firefox, everything else on Belenix has
> been built using GCC 4.4.1.
>
> Since we're a KDE based distro, we're users of the QT framework. At
> the moment, KDE on Belenix is not Solaris - aware. That is, KDE
> components do not have Solaris specific functionality such as
> management of file systems, UI for the seriously amazing networking
> stack, support for Zones and RBAC, etc. From a service side, there is
> a lack of web based management /REST interfaces to administering the
> system. Interesting and useful tasks would be to create management
> interfaces for file systems, network stacks, observability, and
> similar tools that would make the life of sysadmins easier.
>
> These are projects that we as BangPypers can undertake, and learn a
> lot in the process.

Blah blah blah ... yes I know its Solaris etc.

Question is, are there are specific Belenix components written in
Python, as in Pardus Linux which uses Python extensively ? Or was that
a call to developers to create new tools using python ?

Regards
Rajeev J Sebastian

PS: You wrote above re the management tools; Pardus has a tool thats
being developed and used at Turkey's Ministry of Defence to
administrate Pardus desktops, servers and networks (its called Ahenk,
developed in Python and available in the pardus svn).
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Weekend Meeting

2009-10-16 Thread Rajeev J Sebastian
On Fri, Oct 16, 2009 at 9:27 AM, Sriram Narayanan  wrote:
> On 10/16/09, Sriram Narayanan  wrote:
>>
>> We can meet at TW this Sunday, no problem.
>
> One other thing that we'd discussed the last weekend was how those who
> are Python savvy can be a part of the Belenix developer community.

Does it use python the way Pardus uses it ? Like the init system,
service manager, package manager, etc.

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


Re: [BangPypers] Why Indians copy

2009-10-15 Thread Rajeev J Sebastian
On Thu, Oct 15, 2009 at 3:59 PM, Srinivas Reddy Thatiparthy
 wrote:
>>Why? That's probably the answer you're looking for.
>
> That was a  big story noufal.To tell in short, I couldn't understand what
> they are teaching(in training) me?
>
> they taught entire java in 5 days and  expected to do programming by the end
> of it which i couldn't.OOPS was a big ghost to me back then.
>
> I have had no choice than to copy though i disgusted it and felt guilt of
> it.i mean this from my heart.
>
>  i was caught  and infy sent me out.

ROTFL

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


Re: [BangPypers] Perl or Python ?

2009-10-13 Thread Rajeev J Sebastian
On Wed, Oct 14, 2009 at 12:41 AM, Dhananjay Nene
 wrote:
> Select the right programming language for
> the job not for the job opportunities.

Yeah, but seems like OP is jobless  :P

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


Re: [BangPypers] A link I found today

2009-10-12 Thread Rajeev J Sebastian
On Mon, Oct 12, 2009 at 4:02 PM, Anand Balachandran Pillai
 wrote:
>
>
> On Mon, Oct 12, 2009 at 3:47 PM, Anand Chitipothu 
> wrote:
>>
>> On Mon, Oct 12, 2009 at 2:42 PM, Baiju Muthukadan 
>> wrote:
>> > http://bitcheese.net/wiki/nopython
>> >
>> > Don't start a flame war now, please ;)
>>
>> 2.3 - 3.4 and 2/3.0 in Python, Ruby and Haskell interpreters.
>>
>> $ python3.0
>> Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52)
>> [GCC 4.0.1 (Apple Inc. build 5490)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> 2.3 - 3.4
>> -1.1001
>> >>> 2/3.0
>> 0.3
>>
>> $ irb
>> >> 2.3 - 3.4
>> => -1.1
>> >> 2/3.0
>> => 0.667
>> >> ^D
>>
>> $ ghci
>> GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
>> Loading package base ... linking ... done.
>> Prelude> 2.3 - 3.4
>> -1.1
>> Prelude> 2/3.0
>> 0.
>> Prelude> Leaving GHCi.
>>
>> It looks like number of decimal digits printed are 17 in Python, 16 in
>> Haskell and 15 in Ruby.
>>
>> Is there any way to change that behavior in Python?
>
>  Not in the interpreter AFAIK. In code, use Decimal type.
>
> import decimal
>  >>> x=decimal.Decimal('2.3')
>>>> y=decimal.Decimal('3.4')
>>>> x-y
> Decimal("-1.1")
>
> I am not however a fan of the decimal module since it uses strings as the
> base type.

What else should it use then ?

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


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

2009-10-11 Thread Rajeev J Sebastian
On Sun, Oct 11, 2009 at 11:12 AM, Anand Balachandran Pillai
 wrote:
>   A product being robust is a totally different thing from it being secure.
>   Robust means it is stable (as in staying up and doing what it is supposed
>   to do) and works with reasonable or good performance. Security is
>   a totally different aspect. Being secure doesn't imply robustness or
>   vice-versa.

Well ... a non-robust piece of software on the web is vulnerable to
DoS attacks ...

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


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

2009-10-07 Thread Rajeev J Sebastian
On Wed, Oct 7, 2009 at 4:00 PM, Anand Chitipothu  wrote:
>>
>> I think its because its just so damn easy to roll-your-own that it
>> doesnt matter.
>>
>> I'm sure many people on this list have rolled their own blogs, etc
>> perhaps combining some existing apps for the purpose (My blog
>> http://www.rajeevsebastian.com uses lifeflow with some custom mods and
>> a custom skin).
>
> Possible. But writing a software requires time and you need to maintain it.
>
> I'm not arguing that Python is not good language for writing a CMS
> software. I'm just stating the fact that there are no good CMS
> softwares written in Python.

I agree with you, rolling your own can't be a general practice.

I was responding to the comment about Plone being a "killer"
application. Last I looked at it, it was so comprehensive and
mind-boggling that, I think it killed *me* ;)

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


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

2009-10-07 Thread Rajeev J Sebastian
On Wed, Oct 7, 2009 at 3:48 PM, Kenneth Gonsalves  wrote:
> On Wednesday 07 Oct 2009 3:32:33 pm Anand Chitipothu wrote:
>> >   +1. You got to be a forgiving Solomon to remain so cool after reading
>> > that post and I am not one when it comes to rants which are baseless. If
>> > you agree with the poster that there are no good CMS in Python, then it
>> > is your problem and not an opinion many in this forum are willing to
>> > share.
>>
>> You may not agree to the view that Python doesn't have good CMS
>> softwares. But saying that there is good CMS in python doesn't mean
>> "python sucks".
>>
>> If there are good CMS softwares in Python then why nobody in this
>> group hasn't named a single one other than Plone?
>
> because plone is a killer app and has killed all the other python CMS's

I think its because its just so damn easy to roll-your-own that it
doesnt matter.

I'm sure many people on this list have rolled their own blogs, etc
perhaps combining some existing apps for the purpose (My blog
http://www.rajeevsebastian.com uses lifeflow with some custom mods and
a custom skin).

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


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

2009-10-07 Thread Rajeev J Sebastian
On Wed, Oct 7, 2009 at 3:44 PM, Anand Balachandran Pillai
 wrote:
>   -1. Not a great way to build software. I wonder what they will
>   end up with. You might end up with some-thing half-assed that
>   is neither Drupal nor Python.
>
>  Instead of doing line by line, do it at module level and with a proper
>  top down design. That way you would perhaps avoid some design
>  flaws in the original software.

LOL ... thats exactly what I told him :)

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


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

2009-10-07 Thread Rajeev J Sebastian
On Wed, Oct 7, 2009 at 3:32 PM, Anand Chitipothu  wrote:
> You may not agree to the view that Python doesn't have good CMS
> softwares. But saying that there is good CMS in python doesn't mean
> "python sucks".
>
> If there are good CMS softwares in Python then why nobody in this
> group hasn't named a single one other than Plone?

+1

Also, there is a project made by one of my friends - drupy its called
(implementation of drupal in python). they are doing a line-by-line
translation of drupal to python.

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


Re: [BangPypers] Python at Schools

2009-09-29 Thread Rajeev J Sebastian
On Sun, Sep 27, 2009 at 7:59 AM, Abhishek Mishra  wrote:
> It happens that at ICSE schools java/c++ is offered for almost last 4
> years of schooling, while my CBSE experience was horrible, with no
> programming in syllabus till class 11th. While way back in an ICSE
> school, programming started at class 6 with GW-BASIC and that language
> was fun.

At Bharatiya Vidya Mandir school at Kochi, we started on BASIC in the
5th std. It was CBSE.

Engineering First+Second Sem at CUSAT, it same thing BASIC .. after
two years of C++ at school.

Makes you wonder who the hell makes these things. So my opinion is,
schools can and do change depending on how good the teachers/principal
are. But whats really bad are the universities, where its not so easy.

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


Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Rajeev J Sebastian
On Sat, Sep 12, 2009 at 7:25 AM, srid  wrote:
>>> Objections to top-posting *as a rule* is silly.
>>
>> please be polite - invective never wins arguments.
>
> Please explain what is "invective" (insulting, abusive, or highly
> critical language) about anything said here. And what would be a
> polite alternative, according to you? Would you consider the following
> to be polite?
>
>  "Objections to top-posting *as a rule* is BS."

ROFL.

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


Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Rajeev J Sebastian
On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M S wrote:
> A small typo there
> super(UID,self).Wind(7)  is super(ClassI,self).Wind(7)
> Well google's is doing definitely a strong attempt here. I guess it's
> metaprogramming than metaclassing.
> Class GoogleOS(OS):
>          def __init__(self):
>                self.official.languages = ['c++','java','python']
>                self.name = 'Chrome'
>          def os(self,Browser(Webapps)):
>                self.aim.compatibility = Gates().Wind(7).os.compatibility +
> Mac().os.compatibility
>                self.patches = "tobe decided"
> where Gates is extended by Boost for seamless interoperability.
> I haven't got any more ideas on this.
> Well about the "useful" part of the search I think Data Snooping Bias should
> be avoidedl.

I have a good feeling that Shivaraj is a spambot :P

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


Re: [BangPypers] Any python metaclasses for UID

2009-07-28 Thread Rajeev J Sebastian
On Tue, Jul 28, 2009 at 7:28 PM, Shivaraj M S wrote:
> Well,it's like a game.
> Mapping the names with real world objects-specially current affairs, should
> convey great deal of information
> for the abstraction to be realized.
> Still waiting for the metaclasses, if any.
> --

Do you have any URLs that describe what UID actually is ?

googling doesnt return anything useful ...

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


Re: [BangPypers] hi all

2009-01-12 Thread Rajeev J Sebastian
On Mon, Jan 12, 2009 at 8:48 PM, shridhar kyrlageri
 wrote:
> hi..
>  i m an engineering student.. i want to be a very good programmer... but i
> dont know where to start and what to do... can u please help me..

Practice, Practice, Practice!

Join an open source project (e.g., KDE, Django, etc) and get a mentor
(ask on their developers mailing list).

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


Re: [BangPypers] Python use in IT service sector

2009-01-11 Thread Rajeev J Sebastian
On Sun, Jan 11, 2009 at 11:08 PM, Ramdas S  wrote:
> Ecstacy for whom the programmer, the debugger(tester) or the person
> maintaining the code?
>> > C++ is a very tricky language, but once learnt, it is sheer ecstacy.
>>
>> You must be joking.

If you're doing Qt C++ ... then it is more-or-less ecstasy ... despite
the dumb compile-run cycle

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


Re: [BangPypers] Django URLs -> New URLs are getting appended with the previous one

2008-12-21 Thread Rajeev J Sebastian
On Thu, Dec 18, 2008 at 4:14 PM, Hussain Bohra
 wrote:
> Hi All,
>
> I am trying my hands in a Django with a small application,  I am making one
> login page and acceptance / failure of a user name and password.

Hi Hussain,

There are a number of issues with the code you posted.

You might want to try adding an attribute to the form element:

 ...  

This ensures it will post to the right URL.

Also, there are *much* better ways to do most of what you are trying
in that snippet. I would suggest that you go through the django
tutorial and book.

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


Re: [BangPypers] Suggest me for Desktop development

2008-11-03 Thread Rajeev J Sebastian
On Mon, Nov 3, 2008 at 10:42 PM, Deepak Thukral <[EMAIL PROTECTED]> wrote:
>> Can't it be extended to non-Windows platforms using Mono
>
> With GTK# sure! IMO use Tkinter, its cool for small apps and if you have 
> complex UI then use wxPython or pyGTK with CPython instead of using 
> IronPython and JPython.


... or PyQt4 ...

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


Re: [BangPypers] Python 3.0 - Windows file is not working

2008-10-31 Thread Rajeev J Sebastian
On Fri, Oct 31, 2008 at 10:49 PM, Arun Python <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am very new to Python Programming Language.  Before which I was doing 
> programming in Visual C++.  I just thought of trying it out in this new 
> language.
>
> I was going through the website, telling that Python 3 is going to have 
> different syntax altogether, I downloaded the same but it is not working in 
> the windows xp.  Whereas the 2.6 final release is working.
>
> Is there any further upgrade of 3 available or otherwise guide me.

If you are just starting with Python, then using 2.6 is more advisable.

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


Re: [BangPypers] GUI framework in Python...

2008-09-30 Thread Rajeev J Sebastian
On Tue, Sep 30, 2008 at 3:07 PM, Rajeev J Sebastian
<[EMAIL PROTECTED]> wrote:
> One thing you can do ...

Please read as *could* do ...
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] GUI framework in Python...

2008-09-30 Thread Rajeev J Sebastian
On Tue, Sep 30, 2008 at 2:52 PM, Vishal <[EMAIL PROTECTED]> wrote:
> c) Use the Embedded Websever approach and make the web browser as your GUI
> host.

One thing you can do ... write a wrapper around QtWebKit as your
browser-gui. This should insulate your proprietary code from the GPLed
Qt.

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


Re: [BangPypers] which framework is better pylon or django

2008-09-10 Thread Rajeev J Sebastian
On Wed, Sep 10, 2008 at 1:04 PM, S Rangaswamy <[EMAIL PROTECTED]> wrote:
> it is interesting to note that Zope or Plone or no longer choices being
> mentioned !
> I have not followed Django closely. Is there support available for content
> management or workflow ?
> Our team at ZeOmega has been using zope plone to build workflow and BPM
> products for healthcare and would be curious to know more about other python
> web frameworks and support for standards such as wfmc.

There is *one* workflow engine I know about for Django ... though I
doubt it supports wfmc.

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


Re: [BangPypers] Re :Use of module (Include file) in Python???

2008-09-06 Thread Rajeev J Sebastian
On Sun, Sep 7, 2008 at 1:16 AM, Abhinav Sarkar <[EMAIL PROTECTED]> wrote:
>
> from modulename import methodname
>
> or to import all methods at once do:
>
> from modulename import *

Of course ... the first way is better form than the second for various
reasons ... so you might want to make that a habit if you're starting
on a career in python.

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