XtraDB:InnoDB 的取代品
Percona 宣佈新的 Storage Engine,從 InnoDB 修改出的 XtraDB:Announcing Percona XtraDB Storage Engine: a Drop-in Replacement for Standard InnoDB。 據他們所宣稱,這個版本會 100% 相容於 MySQL 內建的 InnoDB,所以他們推薦大家直接換過去用。而 OurDelta 的...
View ArticleMercurial 的 LocalbranchExtension
Mercurial 並沒有內建 local branch 的功能,需要安裝 3rd-party extension 模擬 local branch。在官方網站的 wiki 上上有說明這項功能的下載地點與使用方法:Local Branch Extension。 下載了之後,在自己 ~/.hgrc 裡加上: localbranch = /full/path/localbranch.py...
View ArticlejQuery 不再使用 browser-detecting 的技巧
在 Twitter 上看到 John Resig 的訊息,說 jQuery 不再使用 browser detecting 的技巧,完全改用 Object detecting:「They said it couldn't be done: jQuery no longer uses any browser/useragent sniffing! http://bit.ly/eXrP」 Browser...
View ArticlePerl 5 將從 Perforce 換到 Git
Perl 5 將拋棄 Perforce,跳到 Git 管理:「Perl 5 now uses Git for version control」。 岔個題,最近寫 PHP 寫的比 Perl 多不少,似乎有點生疏了...
View ArticlejQuery 1.3 Beta 1
John Resig 丟出 jQuery 1.3 Beta 1 讓大家測試:「Help Test jQuery 1.3 Beta 1」,文章裡面提到新的 Selector Engine,也就是 Sizzle,速度會再往上提昇。 Selector Engine 的速度繼續往上提昇當然是好事,不過主要是對於不良習慣的 programmer 會有更大的好處: var queryString; //...
View ArticlejQuery 1.3 的 Live Event Delegration,以及速度問題
到公司跟 Manic 聊 jQuery 1.3 的時候才發現少提了一個很重要新功能:Live Event Delegration。 假設你對 #foo 裡的圖掛上一些 event: $('#foo img').hover(f); 接下來你重新讀取 #foo: $('#foo').load('/url/foo.php?page=' + num); 在 1.3 之前,本來的事件必須重新再掛一次:...
View Article機器產生的論文投上 IEEE CSSE 2008
Slashdot 的消息「Software-Generated Paper Accepted At IEEE Conference」,又是一篇拿 SCIgen - An Automatic CS Paper Generator 亂玩的例子 XD PS:我印象中應該有寫過,不過一時間找不到...
View Article忙碌...
年末了,除了一些年末總是會有的事情外 (像是帳務問題),最近一直找問題、解決問題、再找問題、再解決問題... 一個是 SmokePing 啟動速度很慢的問題,我在「Smokeping 啟動速度很慢的問題」有提到問題點與 dirty hack 的方法。 最近想辦法改善 am-utils (amd) 在 FreeBSD 上的穩定度,jnlin 看起來頗無奈 XD MySQL Percona...
View ArticlePXELinux 的 Image
如果要建立 FreeBSD 的 image (給 PXELinux 用),通常會參考「FreeBSD disk image creation」這篇的方法建立。 不過這個方法很繁雜,所以早就有人寫成 script 了:Log of /src/nrelease/install-iso2img.sh,不過這個檔案有點問題,要自己把 =3D 換成 =,另外以 = 結尾的要自己接起來。
View ArticleSSL broken *NOW*
Update:Mozilla 與 Micorosft 都發出 security report 了,參考 MD5 Weaknesses Could Lead to Certificate Forgery (Mozilla) 與 Microsoft Security Advisory (961509) Research proves feasibility of collision attacks...
View Article