Monthly Archives: May 2008

Some Haskell love

I’ve been reading the “Types and Programming Languages” ( TAPL ) book bought from Amazon.com and I’ve been playing with functional languages. The TAPL book uses OCaml for sample interpreter implementations and I started by learning OCaml in the hope … Continue reading

Posted in Computers and Internet | Leave a comment

Video for my D2 talk about OpenResty and its nifty apps

Here’s the video for my D2 talk about OpenResty (well, it’s mostly a Chinese talk :P):   Part 1: http://www.tudou.com/programs/view/3Tn42pPk0aU/  Part 2: http://www.tudou.com/programs/view/Q5stEI3TSIc/  Part 3: http://www.tudou.com/programs/view/peznAkBaJHA/  Part 4: http://vimeo.com/1013264 Videos for other speakers can be found here: http://www.tudou.com/home/user_programs.php?userID=25459589&page=1 Enjoy!

Posted in Uncategorized | Leave a comment

Client-side web site DIY

(Sorry if you can’t read Chinese…) 好久没在 blog 上用中文写东西了,我的中国朋友们该抱怨了吧!呵呵. 基于 OpenResty 的纯 JS 应用放哪儿都能跑,呵呵,包括你的桌面或者 U 盘。搁哪跑哪,呵呵。不信试一试:    http://blog.agentzh.org/site-binary.tar.gz 我的整个 blog 应用都在这个 tarball 里了。下载到桌面解压后,双击里面的index.html 看效果,呵呵。还可以试试"从本地留言";) 所以放 NCP 还是 facebook 上当然也好使。呵呵。如果未来 web app 都做成这样的就好啦,呵呵。美好的未来。。。畅想中。。。 这种东西有趣的地方在于用户可以直接修改我的网站的展现和功能。所以没有必要让用户从我的主站去同步所谓的"风格"(他们只需要同步数据就可以了,只要对应的 OpenResty API 不发生变化)。 叶姐就是这么分分钟把 http://blog.agentzh.org 网站的风格换成http://eeeeworks.org 那样的。呵呵。谢谢叶姐的工作! … Continue reading

Posted in Uncategorized | Leave a comment