致水友们的一封信
2010 11 7 01:42 AM 7 条评论 2153 次查看
分类:网站建设 标签:无
当您看到这封信的时候,我早已作出了一个非常艰难的决定。在中共当局停止对互联网进行审查和封锁之前,我决定将在下个月主机到期之时关闭本论坛。
我已经忍受了2年多了,从刚开始的一腔热情,到后来的满腔怒火,再到现在的无能为力,我想是时候say goodbye了。
をつあおにまで GFW!
2010 11 7 01:42 AM 7 条评论 2153 次查看
分类:网站建设 标签:无
2010 11 6 02:53 AM 7 条评论 8260 次查看
分类:网站建设 标签:无
2010 11 4 08:13 PM 0 条评论 1959 次查看
分类:CSS 标签:CSS, Google Chrome
-webkit-text-size-adjust:none;
2010 11 4 07:01 PM 1 条评论 2249 次查看
分类:随笔 标签:无
2010 11 3 02:01 PM 0 条评论 2002 次查看
分类:编程 标签:无
2010 11 2 02:46 AM 108 条评论 23608 次查看
分类:Google App Engine 标签:Python, Google App Engine
2010 11 1 01:32 PM 0 条评论 3015 次查看
分类:Google App Engine 标签:Google App Engine, Python
2010 11 1 10:32 AM 0 条评论 1739 次查看
分类:Google App Engine 标签:Google App Engine, Python
from time import time
class Comment(db.Expando):
email = db.StringProperty(required=True)
content = db.TextProperty()
format = db.IntegerProperty(default=0, indexed=False)
approved = db.BooleanProperty(default=True)
time = db.DateTimeProperty(auto_now_add=True)
mod_time = db.DateTimeProperty(auto_now_add=True, indexed=False)
t=time()
Comment.all().fetch(1000)
print time()-t
从后台的执行情况来看,cpu时间是11078~11799ms。改成db.Model后,cpu时间是10319~10959ms,差不多少了0.8秒。2010 10 31 03:36 PM 1 条评论 1412 次查看
分类:Google App Engine 标签:Google App Engine, Python
2010 10 31 03:49 AM 0 条评论 3501 次查看
分类:Google App Engine 标签:Google App Engine, Python