October 27, 2009

wearable display

http://www.myvu.com/

September 9, 2009

brain/machine interface (BMI)

http://hplusmagazine.com/articles/robotics/cyborg-exoskeletons-may-soon-become-common-bicycles

http://scholar.google.com/scholar?q=brain/machine+interface+(BMI)&hl=en&rls=com.microsoft:en-US&rlz=1I7ADFA_en&um=1&ie=UTF-8&oi=scholart

http://en.wikipedia.org/wiki/Brain%E2%80%93computer_interface

July 31, 2009

android tethering

http://code.google.com/p/android-wifi-tether/

http://www.junefabrics.com/android/driver.php

July 17, 2009

virtual server solutions

http://elasticserver.com/

http://code.google.com/appengine/

http://www.spry.com/

http://www.rackspace.com/solutions/managed_hosting/configurations/private_cloud.php

http://content.dell.com/us/en/enterprise/virtualization.aspx

http://aws.amazon.com/ec2/

November 30, 2008

python: super() method and new style class

if you want to use super() method to reuse a method in the parent class, you have to make sure the parent class is a “new style class”. simply speaking, any new style class can trace their inheritance to the bulit-in class “object”. For example, if you want to do

class C(B):
  def meth(self, arg):
    super(C, self).meth(arg)

Make sure B is defined as

class B(object):

or

class B(int):

etc...

python: directly refering __init__.py variables when importing * from a package

From this python doc page: import * from a package
We know that submodules of a package won’t be imported in a “import * from …” statement unless you define the all list in init.py .
However, they didn’t say that after you have defined all list in init.py, everything you can refer to directly is restricted to the names in that list, and other public names defined in init.py won’t be directly accessible anymore…


I guess this is how it works:
The public names imported in “import * from …” statement come from all list.
When all is not defined, the system would automatically put all the public names in init.py into all list. When all is defined, the system would just use the user’s list and won’t bother to add anything else.

One more point about init.py: the public names in it won’t be directly accessible to the submodules in this package unless you explictly import this package in those modules. This is especially confusing when people are used to object oriented packaging scheme.

November 25, 2008

scim causes input problems in some kde apps

is it because i’m using chinese scim in English locale?

anyways, scim causes keyboard input to freeze from time to time in my eric python ide.



November 1, 2008

ultimate python scientific package

http://www.sagemath.org/

September 10, 2008

pretty cool python scripts

http://www.voidspace.org.uk/python/recipebook.shtml

August 5, 2008

emacs meta key problem in xterm

http://www.emacswiki.org/cgi-bin/wiki/MetaKeyProblems#toc15