Flow and happiness in your work

9 Steps to Achieving Flow (and Happiness) in Your Work

What is flow?
See this article

How to achieve it?
1. Inspire interests on your work
2. The work should be challenging, but not too hard.
3. Quiet time makes it happen more easily.
4. Training yourself on this ability (maybe helpful)

BBC Gates Documentary: How a geek changed the world

Part 1:

Part 2:

Part 3:

Part 4:

Part 5:

Part 6:

Part 7:

Bugs with googleappengine under mac

The urlfetch_stub.py has bug. Replaced the original one by the attached one:

Python source directory for GoogleAppEngineLauncher

It is located at:

/Applications/GoogleAppEngineLauncher.app/
Contents/Resources/GoogleAppEngine-1.0.bundle/
Contents/Resources/google_appengine/

if you install GoogleAppEngineLaucher.app under /Applications

GQL tip

Tip: Query filters do not have an explicit way to match just part of a string value, but you can fake a prefix match using inequality filters:

db.GqlQuery("SELECT * FROM MyModel WHERE prop >= :1 AND prop < :2", "abc", "abc" + "\xEF\xBF\xBD")

This matches every MyModel entity with a string property prop that begins with the characters abc. The byte string "\xEF\xBF\xBD" represents the largest possible Unicode character. When the property values are sorted in an index, the values that fall in this range are all of the values that begin with the given prefix.

Syndicate content