europa's comments

europa | 11 years ago | on: Python idioms I wish I'd learned earlier

You are right about your implementation. I was thinking about the Pythons collections.defaultdict

from collections import defaultdict s = 'mississippi' d = defaultdict(int) for k in s: d[k] += 1 d.items()

[('i', 4), ('p', 2), ('s', 4), ('m', 1)]

europa | 11 years ago | on: Python idioms I wish I'd learned earlier

Your defaultdict approach and the dict.get with a default specified is not really equivalent. In the defaultdict case when you encounter a non existing key it adds a new entry with that key into the dict. i.e. your dict will start growing.

whereas dic.get with default value keep returning you the default value without touching your dict.

europa | 12 years ago | on: After working +1200 hours in oDesk

As a developer living in the US my experience with Odesk is that you cannot make a living doing just Odesk. But you can still achieve good pay rate on certain projects if you choose carefully. I used to charge , for example $600+ for a 3 hour job in the weekend. and if you are lucky you may end up building relationship with your client and get other projects outside of Odsek.

If anybody looking to get into Odesk, this is my advice on how to get over the chicken and egg problem(You are trying to build your work history while clients looking for your work history).

Find projects that can be partially or even fully prototyped and send the live link in the bidding. If the project is genuine most clients will bite. If they don't , write off your effort as marketing expense!

Also never bid for a project if you think you cannot get a 5 star rating after the delivery.

You can see my odesk profile below , all my ratings are 5 star. No surprise!

https://www.odesk.com/users/~014c438dbb17ea9c46

europa | 12 years ago | on: Ask HN: How much recurring income do you generate, and from what?

Making $4000 + / Month profit . Running a consulting firm. I have two direct employees and few pass-through 's . Revenue is much bigger a number at $100,000 + /Month . Effort is very less to maintain this profit as only spend few hours /month to run payroll , invoicing clients and make timely payment out to the vendors.

pass-through : Consultants not employed by my company but work for my clients.

europa | 13 years ago | on: Sh.py

Yes. Please publish it.

europa | 15 years ago | on: What are the missing features in App Engine?

Oauth or Authsub for appengine operations.

For example I want to deploy an app on appengine for a user without asking him his userid and a password.

Use case: User comes to a site. Search for available applications to install. Click install; give permission, application installed to his appengine account.

page 2