iOS font

Family name: AppleGothic
Font name: AppleGothic
Family name: Hiragino Kaku Gothic ProN
Font name: HiraKakuProN-W6
Font name: HiraKakuProN-W3
Family name: Arial Unicode MS
Font name: ArialUnicodeMS
Family name: Heiti K
Font name: STHeitiK-Medium
Font name: STHeitiK-Light
Family name: DB LCD Temp
Font name: DBLCDTempBlack
Family name: Helvetica
Font name: Helvetica-Oblique
Font name: Helvetica-BoldOblique
Font name: Helvetica
Font name: Helvetica-Bold
Family name: Marker Felt
Font name: MarkerFelt-Thin
Family name: Times New Roman
Font name: TimesNewRomanPSMT
Font name: TimesNewRomanPS-BoldMT
Font name: TimesNewRomanPS-BoldItalicMT
Font name: TimesNewRomanPS-ItalicMT
Family name: Verdana
Font name: Verdana-Bold
Font name: Verdana-BoldItalic
Font name: Verdana
Font name: Verdana-Italic
Family name: Georgia
Font name: Georgia-Bold
Font name: Georgia
Font name: Georgia-BoldItalic
Font name: Georgia-Italic
Family name: Arial Rounded MT Bold
Font name: ArialRoundedMTBold
Family name: Trebuchet MS
Font name: TrebuchetMS-Italic
Font name: TrebuchetMS
Font name: Trebuchet-BoldItalic
Font name: TrebuchetMS-Bold
Family name: Heiti TC
Font name: STHeitiTC-Light
Font name: STHeitiTC-Medium
Family name: Geeza Pro
Font name: GeezaPro-Bold
Font name: GeezaPro
Family name: Courier
Font name: Courier
Font name: Courier-BoldOblique
Font name: Courier-Oblique
Font name: Courier-Bold
Family name: Arial
Font name: ArialMT
Font name: Arial-BoldMT
Font name: Arial-BoldItalicMT
Font name: Arial-ItalicMT
Family name: Heiti J
Font name: STHeitiJ-Medium
Font name: STHeitiJ-Light
Family name: Arial Hebrew
Font name: ArialHebrew
Font name: ArialHebrew-Bold
Family name: Courier New
Font name: CourierNewPS-BoldMT
Font name: CourierNewPS-ItalicMT
Font name: CourierNewPS-BoldItalicMT
Font name: CourierNewPSMT
Family name: Zapfino
Font name: Zapfino
Family name: American Typewriter
Font name: AmericanTypewriter
Font name: AmericanTypewriter-Bold
Family name: Heiti SC
Font name: STHeitiSC-Medium
Font name: STHeitiSC-Light
Family name: Helvetica Neue
Font name: HelveticaNeue
Font name: HelveticaNeue-Bold
Family name: Thonburi
Font name: Thonburi-Bold
Font name: Thonburi

ios AR framework

台灣代理商
http://www.ar-truth.com/

這個看不懂QQ
https://ar.qualcomm.at/qdevnet/sdk

3DAR 中華黃頁APP有用,看起來沒啥屁用
http://3dar.us/docs/

layer 研究一下可能還蠻有搞頭的
http://www.layar.com/documentation/browser/layar-platform-overview/

obj c coding style

Apple 官方教你怎樣命名

Google教你coding style
  • 一行不要超過80 char
  • class name 開頭要大寫,用有意義的縮寫來組合
  • function name 減少無謂的動詞
  • 不要用and 連接多個變數
  • 變數命名要有意義,甚麼a b c d s t v 之類的不要用
  • 要常用@private
  • 不要在init裡面把變數設成0或nil
  • 請愛用autorelease  (iOS 5表示 我才沒有這個問題呢)
  • Don't @throw Objective-C exceptions
  • Use Copy Attribute For Strings
  • MVC Separate the controller from the view and the model. Use @protocols for callback APIs.

神速般的coding

jserv 大師  coscup 2012 第一次自幹作業系統核心就上手




驚嘆點有三:


1.coding速度有夠快,雖然jeserv用了gtags, shipMate, cppcomplete 這些vim -in來輔助,
不過這也只是我們在xcode裡面會自動完成一樣,實在是自嘆弗如!

2.直接build就過了,這要每天寫每天寫多少code 才達得到的程度阿,
尤其是那句「hello world 每天寫,但每次寫都有不一樣的感受吼 」

3.開thread
邊講話邊打字不算甚麼,但是打字速度跟講話速度都超快那就真的很厲害了,
說實在我有點聽不清楚他在講甚麼,好像回到之前上queuing的課!@@



看到這個題目,就想到這本書
<自己動手寫作業系統>
http://shopping.pchome.com.tw/DJAA06-A45690336

作者後來有把內容open source
http://share.solrex.org/WriteOS/index_cht.html
也是寫hello world,不過我一直沒有時間去看
最近在看UEFI的東西,應該也會碰到類似的主題吧!

Nicholas Tse gives a talk at HKUST



在學校的時候,就很常聽到老師說去香港的交換學生,回來以後英文都變強,邏輯能力都變好,以後會把小孩送去香港讀大學、而不是台灣。

我覺得不管是任何人,都可以從這個演講裡面得到一些東西,尤其是在學學生跟剛畢業的(像我一樣),首先,上面的人的想法就不一樣了,他們是真的很飢渴的想要變成第一名的學校,有很多細節上面都值得台灣的學校效法,像是學生當引問人、演講結束可以直接interview ;書報討論也不是沒有聽過,孫運璿講座甚至每場都有到,但是我還沒有聽過一場觀眾質量這麼高的一場演講(好吧,或許當年Richard Stallman的那場有,可是那場的觀眾可是夾雜一堆竹科的工程師耶),最震撼的不是謝霆鋒演講,最震撼的是院長的引言!

背脊發涼

其實退一步想想,他們可都是MBA耶,比較會講話也是正常的阿,工程師宅宅會寫code就好啦,看看香港跟台灣的conference就知道啦!可是我們的MBA真的有比較強嗎,其他學校的我不確定,我想清華的還差一點。

中間有一些感想略過。

最後,我們做APP可以有甚麼努力的目標呢?曾經有人說,現在做APP就像以前做網站一樣,以前人家會問你的網站網址,現在會問你的APP QRcode載點,很明顯,這個演講題是得很明顯,電影上映前搭個APP來宣傳好像蠻有搞頭的喔。
甚至來個介紹APPs的APP也可以(已經有很多了)

變強的方法

不知道多久前,看到一篇文章,說有個傢伙當踏進去一個新領域的時候,每天寫一篇文章,3個月後集了100篇文章,然後就出書了。3個月速成大法

好像有點道理,今天以後我想我也每天寫一些心得感想好了

opengl shader warning

剛剛遇到的

warning: no rule to process file '$(PROJECT_DIR)/Content/Shaders/DistanceField.fsh' of type sourcecode.glsl for architecture arm7
warning: no rule to process file '$(PROJECT_DIR)/Content/Shaders/DistanceField.vsh' of type sourcecode.glsl for architecture arm7

因為xcode不知道怎麼處理fsh 和vsh ,只要去TARGET->Build Phases->Compile source 把這兩個檔案移掉就行

如果不能build的話,那就到TARGET->Build Phases->Copy Bundle Resources 把這兩個加回去

--
大概是xcode自己沒有clean乾淨的後果,真是莫名其妙的解法