![]() |
|
Spaces home Human & MachinePhotosProfileFriendsMore ![]() | ![]() |
|
Added a blog entry "GHC 6.8.3 binary for older linux" I ran into the following error while trying to run a binary generated by GHC 6.8.x on our production machines with a not-so-recent linux installed (kernel 2.6.9). $ ./restyscript restyscript: time August 14 4:40 PM Added a blog entry "找出数据表中的“id空洞”" 数据库中的 id 有时会产生大量空洞,有时是因为分批导入数据时漏了边界上的一些记录,有时则是因为数据有频繁的删除操作,浪费了大量在 id 对应的 sequence 空间。这时就需要找出 id 序列中的空洞,即记录 id 不连续的地方。一般地,找出"空洞"区间的左边界列表可以使用类似下面的 SQL 语句: select id from store where (id + 1) not in (s August 12 1:03 PM Added a blog entry "Filter::QuasiQuote 0.01 is now on CPAN" After reading Audrey's blog post mentioning GHC's upcoming quasiquoting feature (as well as that quasiquoting paper), I quickly hacked up a (simple) quasiquoting mechanism for Perl, hence the Filter:: August 05 6:19 PM Added a blog entry "OpenResty running directly in PostgreSQL via PL/Perl" A few hours' hack gives rise to the following funny stuff: test=# select openresty_init();
openresty_init ----------------
t (1 row)
test=# select openresty_request( test=# 'GET', '/=/v July 18 6:34 PM Added a blog entry "Building (Ubuntu) debian packages for OpenResty and its dependencies"
I've been building debian packages for OpenResty and its dependencies that are not already in the official Ubuntu debian repository. Here's what I got yesterday:
http://agentzh.org/misc/debian/
July 17 10:26 AM Updated Profile
June 20 10:42 AM |
|
||||||||||||||||
|
|