Wikipedia Affiliate Button

4/28/2008

glow text

http://www.fmwconcepts.com/imagemagick/texteffect/index.php

"glow" 在字面上是比 "shadow" 精確的, 因為我們要的是全部周圍的閃閃金光,
而不是偏某個角度光線照射後的陰影.
以後稱這個效果叫 glow text吧

the comments of check_disk_change() in Linux kernel source.

取自 Linux 2.6 kernel source drivers/scsi/sd.c, 作者說明了抽換片檢查與讀寫速度上的取捨,
注意最後一句....

/*
 * This routine checks whether a removable media has been changed,
 * and invalidates all buffer-cache-entries in that case. This
 * is a relatively slow routine, so we have to try to minimize using
 * it. Thus it is called only upon a 'mount' or 'open'. This
 * is the best way of combining speed and utility, I think.
 * People changing diskettes in the middle of an operation deserve
 * to lose :
-)
 */
int check_disk_change(struct block_device *bdev)


4/09/2008

Intel ATOM 名稱代號解密

http://softwareblogs.intel.com/2008/04/01/atom-101-deciphering-the-intel-codewords-around-mids/

以前也是覺得超亂的, 看了這篇才搞懂, .................................

簡單的說

Atom 是x86 cpu 分兩version,  Silverthorne & Diamondville

Silverthorne: 專門應用在MID等可攜式小型上網裝置, 當初設計考量低功耗優於低成本.

Diamondville: 專門應用在低價NB, 當初設計考量低成本優於低功耗.

(這段描述....讓人有Diamondville比Silverthorne便宜的感覺耶.... )

Poulsbo: 專門搭配Silverthorne的低功耗晶片組, 內建3D繪圖與HD 解碼能力
Menlow:  汎指Silverthorne + Poulsbo 組合出來的平台.
Embedded Menlow: 同Menlow, 但保證持續供貨至少7年.
Moorestown: 下一代Menlow, 耗電不到Menlow  的1/10.

Sodaville:  將於 2009 年推出的 SoC, 同樣的低功耗架構, 但定位在有持續插電的家用娛樂裝置, 規格尚未公開.

sourcecode collaboration

http://labs.trolltech.com/blogs/2008/03/30/sourcecode-collaboration/

Trolltech 開發團隊希望開發新的version control 工具能夠結合darcs 的優雅清晰介面與git 的效率.

唉, git 不練不行啦....到處都是git hosted project.


4/07/2008

測試圖文並茂

The snippet environment, and the original snippets were originally created by Øyvind Kolås for a paper submitted to GUADEC 2004.

All of his original snippet code is considered to be part of the public domain.

arc

double xc = 128.0; double yc = 128.0; double radius = 100.0; double angle1 = 45.0  * (M_PI/180.0);  /* angles are specified */ double angle2 = 180.0 * (M_PI/180.0);  /* in radians           */  cairo_set_line_width (cr, 10.0); cairo_arc (cr, xc, yc, radius, angle1, angle2); cairo_stroke (cr);  /* draw helping lines */ cairo_set_source_rgba (cr, 1, 0.2, 0.2, 0.6); cairo_set_line_width (cr, 6.0);  

glow text

http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=483&page=1&isLive=true

<http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=483&page=1&isLive=true>

只靠cairo_arc就可以?

21

臺灣是5月上映, 我是一路從slashdot的報導追下來看,

http://games.slashdot.org/article.pl?sid=08/04/02/2224215&from=rss
http://www.sonypictures.com.tw/movie/21/
http://paowang.com/news/3/2004-04-14/20040414045425.html


這個John Chang跟 Matt Damon在電影Rounders對戰的Johnny Chan是不同人,

http://www.johnnychan-poker.com/about/johnny-chan-movie-rounders.htm
http://www.youtube.com/watch?v=IQAI0jQTkAM

電影裡就是Johnny飾演自己本人, 跟John Chang不同的是, Johnny似乎不是靠賭場
賭博賺錢,
而是靠賭王大賽的獎金以及他自己開設的poker補習班,

PS2. 他還蠻高調的, Youtube裡是他自己客串的片段加上自己的補習班橫幅廣告.

測試blogger's email publishing

以後寫email就好!!