Monthly Archives: May 2008

Some Haskell love

I’ve been reading the “Types and Programming Languages” ( TAPL ) book bought from 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:  Part 2:  Part 3:  Part 4: Videos for other speakers can be found here: Enjoy!

Posted in Uncategorized | Leave a comment

Client-side web site DIY

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

Posted in Uncategorized | Leave a comment