Search

2/26/2007

YouTube - Microsoft Vista Speech Recognition Tested - Perl Scripting

YouTube - Microsoft Vista Speech Recognition Tested - Perl Scripting

Processing

Processing 1.0 (BETA) - example

Processing is an open source programming language and environment for people who want to program images, animation, and sound. It is used by students, artists, designers, architects, researchers, and hobbyists for learning, prototyping, and production. It is created to teach fundamentals of computer programming within a visual context and to serve as a software sketchbook and professional production tool. Processing is developed by artists and designers as an alternative to proprietary software tools in the same domain.

2/21/2007

Failure Trends in a Large Disk Drive Population

Slashdot | Google Releases Paper on Disk Reliability - Failure Trends in a Large Disk Drive Population

The Google engineers just published a paper on Failure Trends in a Large Disk Drive Population. Based on a study of 100,000 disk drives over 5 years they find some interesting stuff.

One of our key findings has been the lack of a consistent pattern of higher failure rates for higher temperature drives or for those drives at higher utilization levels.

2/17/2007

2/15/2007

javascript特效 - fancy table

一個利用setTimeout寫的特校,可以用在navigation bar or table,簡單的說就是讓特定秒數後再變色就是了。重點是要先把this存起來,不然等到timeout後就找不到了。還蠻好玩的
http://chunghe.googlepages.com/fancy_table.htm


var rows = document.getElementsByTagName('tr');

for(var i=0; i<rows.length; i++){
rows[i].onmouseover = function(){
this.className += ' hilite';
}
rows[i].onmouseout = function(){
var t = this;
function f(){
t.className = t.className.replace('hilite','');
}
setTimeout(f, 350);
}
}

2/14/2007

KAI.JAEGER.BLOG : Introducing BISON

KAI.JAEGER.BLOG : Introducing BISON - Binary Interchange Standard and Object Notation

Let's say you have a 64 bit floating point variable and you want to save it to a file or send it over a socket connection. In order to turn the variable into a stream of bytes, all you have to do is create a byte-pointer and have it point at the floating point variable. Then you can access the individual bytes of the floating point variable and do whatever you want with them.

2/12/2007

香格里拉, 夫妻肺片

香格里拉 - Wikipedia

香格里拉(Shangri-La)是英國小說家詹姆斯·希爾頓1933年的長篇小說《消失的地平線》中虛構的地名。書中描寫香格里拉位於喜馬拉雅山脈西端一個神秘祥和的山谷,當地的居民信奉藏傳佛教。在西方文化中香格里拉通常意指帶有東方神秘色彩祥和的理想國度。
「香格里拉」一詞也從此成為人們嚮往的世外桃源或烏托邦世界的代名詞。
近年來,由於香格里拉概念的流行,國內一些地區也爭相宣稱是香格里拉的真正所在,其中包括雲南的麗江-中甸,四川的稻城-亞丁以及西藏的相鄰區域察隅、波密、林芝等。其中雲南的中甸"搶注"成功,於2001年12月17日被國家民政部批准改名為香格里拉縣,令其他競爭對手頗有微辭。

夫妻肺片 - Wikipedia
夫妻肺片是一道四川風味的菜餚或小吃。以牛肉為主料,配以肺、心、舌等製作而成。是四川成都人人皆知的美食。現代所售肺片實為牛頭皮、牛心、牛舌、牛肚、牛肉,並不用肺。夫妻肺片片大而薄,粑糯入味,麻辣鮮香。

2/11/2007

美食

台北市:
魔鬼甄與天使嘉 - 《食記》台北後車站福珍排骨酥羹

台北後車站福珍排骨酥羹,台北市華陰街42-1號,11:00~20:00

當夢想愈來愈近 - 【小吃】肉包~汀洲路康樂意 - 據說是王又曾愛吃的包子
店名:康樂意小吃
地址:台北市中正區汀洲路二段46號
週一休息 無營業

當夢想愈來愈近 - 【美饌】阿飛正傳~師大夜市茶餐廳
阿飛正傳茶餐廳
地址:台北市泰順街26巷51號(師大夜市)
電話:02-33653283

夢行者的夢想天空 :: 老鄒山東刀切麵
地址:台北市信義路4段60號(信義路大安路口的信維市場)
魔鬼甄與天使嘉 - 《食記》澎湖土魠魚羹(強力推薦,心動不如馬上行動!)
『澎湖魚土魠魚羹』
店址:台北市民生東路二段115巷23號
訂購:02-2541-7260

魔鬼甄與天使嘉 - 《食記》南機場夜市山內雞肉飯&仁仁快炒
台北縣:
夢行者的夢想天空 :: 尚品鐵板燒
地址:台北縣永和市福和路168號
電話:02-89267088、02-89266967

魔鬼甄與天使嘉 - 《食記》永和田園土魠魚羹 - 吃過了,好吃,尤其是土魠。
《食記》永和田園土魠魚羹,台北縣永和市民有街10巷6號,(02)29405171,6:00~14:00。

魔鬼甄與天使嘉 - 《美食》金八式平民美食秀 - 好吃,尤其是脆皮豬排,可是咖哩豬排soso.
金八式豬排專賣店
ADD/台北縣永和市民生路6-1號(秀朗國小旁)
TEL/02-29425489 
 
魔鬼甄與天使嘉 - 《食記》永和上海小館大閘蟹第一彈
永和上海小館,永和市文化路90巷14號,2929-4104

魔鬼甄與天使嘉 - 《食記》南機場夜市秋月日式炸豬排
1、價位為70~80元間,腰內或里肌炸豬排都厚又大塊,雖然沒到令人激賞的程度,但c/p值極高。

魔鬼甄與天使嘉 - 《食記》中和新生街垃圾麵
中和的垃圾麵位於中和新生街242巷口,巷口為OK便利店,第一攤為素食攤(生意也不錯!),第二攤為垃圾麵,再往內走就是傳統早市。

新竹:
新竹.品皇咖啡民富旗艦店
高雄:
魔鬼甄與天使嘉 - 《美食》大家提供的高雄美食總整理

2/10/2007

Mobile01 [義大利蜜月行]DAY1-阿西西山城(BY 5D,含軌跡記錄)

Mobile01 [義大利蜜月行]DAY1-阿西西山城(BY 5D,含軌跡記錄)

以下只簡單說明操作步驟
1.安裝G-TOOL軟體,可以在NB或PDA上安裝
2.衛星定位
3.設定軌跡記錄方式,我是用每㌰秒記錄一次,混合速度記錄模式
4.確認相機時間是否與WBT-100時間相同,並加以設定(出國應注意時區)
5.把WBT-100丟在口袋裡
6.開始拍照
7.回到飯店後,使用G-TOOL軟體把軌跡下載回來(tks檔)
8.每一天的行程轉換為一個single-gpx檔
9.把相機的照片存到電腦裡,另外轉一個解析度較小的(如800*600)
10.使用G-PACKER軟體,依造步驟,將GPX檔位置與相片資料夾位置告訴軟體。就會將GPS資訊寫入到相片中,並且得到一個KMZ檔
11開啟GOOGLE EARTH,欣賞你的軌跡吧!

2/09/2007

Ajaxian » So you want to write Javascript for a living?

Ajaxian » So you want to write Javascript for a living?

* You need to know how to create an element on the fly, get a reference to any element on the page, insert, remove, replace, etc. nodes in the page. These methods should be memorized!
* No modern web application can survive without event handlers. Knowledge of the differences across browsers and issues surrounding event handling are a must.
* Do you have any experience with JSON? If so, … why do you think some developers may prefer to use this as the envelope language as opposed to XML?
* This means understanding how to set up a prototype chain and how to make sure a base constructor is applied correctly in the process of object instantiation.
* The basics of JS object mutability, and using that to isolate code. Basically faking namespaces by using objects to hold other objects.
* It’s really important for you to be able to write your own code without relying on JavaScript libraries like Dojo, Prototype, etc.

2/06/2007

javascript: 加入書籤的方法

Mozilla Taiwan 討論區: Javascript「加入書籤」語法
for Firefox: window.sidebar.addPanel

<a href="javascript:window.sidebar.addPanel(document.title, location.href, '')">foo</a>

for IE: window.external.AddFavorite
<a href="javascript:window.external.AddFavorite(location.href, document.title);">bar</a>

The Mythical Man-Month - Signal vs. Noise (by 37signals)

The Mythical Man-Month - Signal vs. Noise (by 37signals)
Dreaming in Code - Joel on Software

  • Adding manpower to a late software project makes it later.

  • A single chief architect (or a small number of architects), acting on the user’s behalf, decides what goes in the system and what stays out. A “super cool” idea by someone may not be included if it does not fit seamlessly with the overall system design. In fact, to ensure a user-friendly system, a system may deliberately provide fewer features than it is capable of. The point is that if a system is too complicated to use, then many of its features will go unused because no one has the time to learn how to use them.
  • When designing a new kind of system, a team will design a throw-away system (whether it likes it or not).

  • Software is invisible. Therefore, many things only become apparent once a certain amount of work has been done on a new system, allowing a user to experience it. This experience will yield insights, which will change a user’s needs or the perception of the user’s needs. The system will therefore need to be changed in order to fulfill the changed requirements of the user.