Submit Blosxom’s Plugins March 25
昨天送了兩個 plugin 到 The Unofficial Blosxom User Group,結果剛才發現在 V3 的 plugin list 裡面占了前兩個位置 orz 這該說是名字取得好嗎 XD
昨天送了兩個 plugin 到 The Unofficial Blosxom User Group,結果剛才發現在 V3 的 plugin list 裡面占了前兩個位置 orz 這該說是名字取得好嗎 XD
Since Blosxom 3.0 do not have static rendering so far, I wrote a plugin called BlosxomCache for speeding up Blosxom.
It works as /cache/. User’s request will be cached so that the same page won’t be needed to regenerate every time. Users will not see the dirty page use this plugin. The more plugin you use, the more CPU you save in your box!
Note that the database entries are not going to be deleted, so you might want to delete the database on the first day of each month (But it’s harmless if you don’t do it unless your disk is full).
我真是太閒了,把 Blosxom upgrade 到 3.0,順便把網頁也修正成符合 XHTML 1.0。
不過 Blosxom 3.0 的架構比 2.0 漂亮多了! ![]()
upgrade 到 Fontconfig 2.3.1 後,很多地方的英文字型會變成兩倍寬。花了不少時間,終於找到問題了。遠在天邊,近在眼前,找到這個網頁,再對照 eric 的 fontconfig 文件,才知道原來問題就跟細明體一樣。
文鼎的字型有這個問題,不過調 globaladvance 沒有用,所以我在 .fonts.conf 中加入這段:
AR PL
0
mailing list 上這篇文章列出了一些有問題的亞洲字型,還有一個待解決的問題 …
http://lists.freedesktop.org/archives/fontconfig/2005-March/001250.html
http://lists.freedesktop.org/archives/fontconfig/2005-March/001251.html
Spork::TKSlide 好像壞一陣子,我這兩天把他修好了,只為了下禮拜要報告 paper orz。
剩下的問題是 Spork 本身的 bug Q_Q
寫了封信直接找 Ingy,希望能得到正面的回應 ![]()
之前看了 <<Linux Kernel Development>> 中談到 Memory Management 那章。今天剛好在 irc 上聊到,這是一點點對 slab 的介紹
22:31 slab 算是 kernel 裡面 kmalloc 的一個 "page (概念上)"
22:32 kernel 裡面會對各種不同的 slab 作 cache 之類的
22:33 slabtop(1) 可以看不同 slab 中的最大值 (對各個欄位)
22:36 slab 的 cache 是這樣的,因為去拿一個新的 slab 的 cost 比較高,
所以每當有 slab 被 free 掉時,會存起來當 cache
22:37 100% usage 可能是目前站上比較 active :Q
22:38 slab 應該沒有什麼夠不夠的