关于PYTHON_EGG_CACHE无权限的问题

2009年07月30日 blankyao 发布在 杂七杂八 标签:python, mod_wsgi, web.py 只有一条评论

用web.py整了个小东西,直接运行是可以的,但是放到apache下就不照了,看了下apache的日志报的错误如下:

The following error occurred while trying to extract file(s) to the Python egg
cache:

  [Errno 13] Permission denied: '/root/.python-eggs'

The Python egg cache directory is currently set to:

  /root/.python-eggs

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

 

嗯,权限问题,本来以为很好解决的,结果还是搞了好久...

阅读剩余部分...

How To Become A Hacker

2009年07月30日 blankyao 发布在 杂七杂八 标签:hacker, ESR 3 评论

今天花了点时间读了一下ESR这位大牛的《how to become a hacker》,尤其是那条“世界上充满了待解决的迷人问题”!那么ESR是谁呢?大家可以在wikipedia或者百度百科上看一下,非常牛x的一位爷爷

在自由软件启蒙阶段,埃里克·雷蒙德以如椽之笔呼啸而出,其核心著作被业界成为"五部曲":《黑客道简史》(A Brief History of Hackerdom)、 《大教堂和市集》(The Cathedral and the Bazaar)、《如何成为一名黑客》(How To Become A Hacker)、《开拓智域》(Homesteading the Noosphere)、《魔法大锅炉》(The Magic Cauldron)。其中最著名的当然还是《大教堂和市集》,它在自由软件运动中的地位相当于基督教的《圣经》。而用黑客们的话说,这是"黑客藏经阁"的第一个收藏。

 

how to become a hacker》是五部曲(中文版本http://docs.huihoo.com/joyfire.net/7-2.html)中的一篇,推荐大家读一下。