9/28/2008
7/19/2008
Inside Steve's Brain
比較有趣的是後續的討論, 大部分認為只有當你到那個位置才有可能這麼特立獨行自我行事,
企業內的小螺絲釘這麼做事早就被fire了.
底下這篇就更有趣了.
You can emulate being a despot. You can emulate being a perfectionist.
But can you emulate _taste_?
Say what you want about Steve Jobs. To me the big difference is Steve Jobs has _taste_.
品味是摹仿不來的!
linux friendly soundtrack radio service
這兩天發現一個不錯的soundtrack radio station, 叫作 www.streamingsoundtracks.com, 選曲比以前聽的radiofreevirgin好很多, 曲子重複率低,
最棒的是跟live365一樣都是http streaming + pls playlist, 在linux底下只要打下列指令就可以聽囉!!
mplayer http://loudcity.com/stations/streamingsoundtracks-com/files/show/aacPlus-hi.pls
5/07/2008
cairo quick start
http://cairographics.org/FAQ/#minimal_C_program
the you can practice from here.
http://cairographics.org/tutorial/
5/02/2008
Rubyizumi -- the first free RTMP server with H.264 support
以前只有red5, 但現在free RTMP server implemenation似乎愈來愈多
http://code.google.com/p/rubyizumi/
這是裏面唯一有做到支援MP4/H.264的, 其他都只支援FLV, 可惜...用ruby寫的,
well, 看起來code沒幾行, 改寫成C有機會.
我是很希望做到這樣的效果啦.
http://www.blog.lessrain.com/?p=552
http://www.blog.lessrain.com/?p=525
http://www.rootop.de/?p=128
4/30/2008
直接在linux 上面開發windows程式
for windows還蠻順的.
http://www.clam.iua.upf.edu/wikis/clam/index.php/Devel/Windows_MinGW_cross_compile
4/28/2008
glow text
"glow" 在字面上是比 "shadow" 精確的, 因為我們要的是全部周圍的閃閃金光,
而不是偏某個角度光線照射後的陰影.
以後稱這個效果叫 glow text吧
the comments of check_disk_change() in Linux kernel source.
注意最後一句....
/*
* 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/22/2008
git 快速上手
http://git.or.cz/course/svn.html
If you are just after tracking someone else's project, this get you started quickly:
git clone url -- svn checkout url
git pull -- svn update
4/09/2008
Intel ATOM 名稱代號解密
以前也是覺得超亂的, 看了這篇才搞懂, .................................
簡單的說
Atom 是x86 cpu 分兩version, Silverthorne & Diamondville
Silverthorne: 專門應用在MID等可攜式小型上網裝置, 當初設計考量低功耗優於低成本.
(這段描述....讓人有Diamondville比Silverthorne便宜的感覺耶.... )
Poulsbo: 專門搭配Silverthorne的低功耗晶片組, 內建3D繪圖與HD 解碼能力
Menlow: 汎指Silverthorne + Poulsbo 組合出來的平台.
Embedded Menlow: 同Menlow, 但保證持續供貨至少7年.
Moorestown: 下一代Menlow, 耗電不到Menlow 的1/10.
Sodaville: 將於 2009 年推出的 SoC, 同樣的低功耗架構, 但定位在有持續插電的家用娛樂裝置, 規格尚未公開.
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.
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);
21
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裡是他自己客串的片段加上自己的補習班橫幅廣告.