發表文章

目前顯示的是 2009的文章

玩到停不下來: 自由廣場 x MOCA x 鶯歌

圖片
我們一家從12月3日我的生日開始,我們好像進入了一個瘋狂玩樂的狀態... 12月3日 生日當天晚上我們殺去 溫德德式餐廳 ,這是一家我們最喜歡的德式餐廳,講白一點,就是全台北市最好吃的德式麵包跟豬腳在這裡啦。 View Larger Map 這個只是前菜唷,吃完以後還有香腸、肉餅、豬腳等等。每個人只要400+服務費,非常適合家庭聚餐呢。 你看這兩個小朋友就知道他們有多High: 12月5日 買到了我生平第一隻DSLR,整整想了5年,最後找到了一台二手的Nikon D40機背。機況非常良好,實際上,前任主人用了1年居然拍不到3000張。大感謝。 鏡頭則是沿用從老爹那裡A來的 Nikkor 35-105mm F2.8以及另外一顆沒聽過牌子的80mm-200mm Macro鏡(後記:鏡頭牌子是Makinon,當年平價鏡裡的優選之一)。兩個鏡頭雖然發霉了,拍起來看不出來有影響。 人家說老鏡頭發色濃郁,我只覺得對焦很辛苦... 常常對不到焦. XD 第一個試拍的地點是自由廣場,喔,也叫做Freedom Memorial Hall。 我們要紀念死掉的自由/民主。 View Larger Map 結果老爸玩相機,女兒們則是快快樂樂的騎腳踏車。各位家長要注意的是,自由廣場內是行人徒步區,不可以騎兩輪的唷。咱家是在行人徒步區之外騎。 玩夠了,下午我們就去當代藝術博物館(MOCA: Museum of Contemporary Art)。由於這次幕後主使人是老婆的師母,我們幾個當然就分別去朝聖了。這位師母來頭可不小,Animax就是人家想出來的名字呢。 圈內人應該看得懂我說的是誰: 這動漫特攻,所有的宅男跟腐女都應該去報到... 真是棒呆了。 View Larger Map 這張照片拍的不好,但是卻很有趣味。:) 要看更多照片請參照 我的網路相簿 ,我可不想把這篇寫成:如何拍出脫焦、過曝、腦殘取景的反面教材。 晚上我們玩累了,就在MOCA隔壁的四海豆漿吃晚飯 View Larger Map 吃完飯,晚上又再殺去博漢區。買了防潮箱、吹球、乾燥劑。回到家以後,被以前曾經是大學報攝影記者的老婆唸:你怎麼沒有買相機包呢?你這傢伙粗手粗腳的,沒有相機包的話,沒兩天這相機就報銷了。

Migrate my website to FatCow/Blogger

Some of the lost blog entry will be move to blogger once I have access of my dead server. I'm using FatCow hosting service now. They provide a unlimited bandwidth/storage for quite a decent price. Best part of it is they use Wind power and Debian. :-) Gallery has move to http://jouston.net/gallery/ from http://jouston.no-ip.com/gallery/ My Personal Resume was move to http://jouston.net/me.html from http://jouston.no-ip.com/me.html

A trip to Milpitas in June

I'm taking a trip to Milpitas between June 8th and June 14th for meetings in Phoenix HQ. I will going to be free on Saturday and Sunday and stay San Francisco.

HOWTO: Install Moblin 2.0 into Virtualbox

From blog entries on Engadget , I heard Moblin 2.0 was released. Yes, I definitely want to give it a try and see how it works. However I do not want to mess up my computer, dual boot looks silly on my X200 because I have lots of memory and P8600 CPU. I do believe run it in VirtualBox is most decent way to do so. So, this is how I do it: 1. Download Moblin 2.0 image from here . 2. Get yourself an usb key, yes, I know maybe I can hack the image to be mounted with a floppy image but sorry my VirtualBox can't do it because it's on Ubuntu 9.04 Jaunty Jackalope 3. Write the image into a usb key, remember to umount it before do write: $ sudo umount /dev/sdb $ sudo dd if=moblin-netbook-ux-beta-20090518-004.img of=/dev/sdb 4. Create a virtual disk image which redirect the usb key to itself: $ sudo VBoxManage internalcommands createrawvmdk -filename ~/VirtualBox/HardDisks/moblin2_usb.vmdk -rawdisk /dev/sdb 5. run virtualbox with root permission for now, we can access the installed disk i

tp-smapi: 保護X200的電池

上週跟老友 Rex 碰面,聊到了共同的工作機台X200,我被問倒了。 Rex: 你有沒有 enable smapi 啊? 我: 甚麼甚麼? Rex: 就是可以透過控制電池充電的機制來保護電池啊。 我: 喔,不知道那是甚麼鬼。 當然,最後結果當然是把這個功能開起來啦。剛剛我也上ThinkWiki把我的發現更新上去, 英文版全文在 這裡 ,為了各位的幸福,翻譯成中文: $ sudo aptitude install tp-smapi-source (選擇性操作) $ sudo module-assistant get tp-smapi-source 目前Ubuntu 9.04的Driver太舊,你需要稍微更新: /usr/src/modules/tp-smapi/hdaps.c 搜尋 "X61" 並且在 " HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X61", HDAPS_ORIENT_SWAP | HDAPS_ORIENT_INVERT_X)," 和 "};" 中間加上以下這行: HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X200", HDAPS_ORIENT_SWAP | HDAPS_ORIENT_INVERT_X | HDAPS_ORIENT_INVERT_Y), { .ident = NULL } 然後請執行: $ sudo module-assistant build tp-smapi-source $ sudo module-assistant install tp-smapi-source 接下來你需要讓這些driver可以在開機的時候載入,請修改以下檔案: /etc/modules 並且在檔案末端加入以下幾行: thinkpad_ec tp_smapi hdaps 要測試HDAPS搖桿的話: $ sudo modprobe thinkpad_ec tp_smapi hdaps $ sudo aptitude install hdaps-utils $ hdaps-gl 接下來我們可以透過指定開

Power cycling tool for suspend/hibernation/reboot

There are some tools for myself to doing the work and I do believe those tools are very helpful for you guys doing power cycling either suspend/hibernate/reboot. To obtain the tool on ubuntu: Download link is hosted on Launchpad: https://edge.launchpad.net/~jouston-huang/+archive/ppa/+files/fae-tools_0.9-2ubuntu1_lpia.deb Following also a way you can do to add my PPA: * Create a file in /etc/apt/sources.list.d/ call jouston-PPA * Put below two lines into it: deb http://ppa.launchpad.net/jouston-huang/ppa/ubuntu hardy main deb-src http://ppa.launchpad.net/jouston-huang/ppa/ubuntu hardy main * sudo apt-key adv --recv-keys BCE861C1 --keyserver keyserver.ubuntu.com * sudo aptitude update * sudo aptitude install fae-tools In this version of s5_reboot you will need to make the system start run my script by doing this in the target unit: * cp /usr/local/doc/s5_reboot.desktop Please logout and login again to start the reboot testing. So far, the BIOS 1.20 passed 300 cycle and 1.20.1 is running

Show off: Happy Hacking Keyboard Professional 2 + Pcally Q-Ball

圖片
這次去日本國,理所當然的跑了一趟秋葉原(Akihabara),這是一個比起光華商場更先進10年而且規模超龐大的地方。 我心目中全世界最好的鍵盤,就只有這裡可以實際試試看它的手感,撫摸它。然後帶它回家。 結果就是,除了夢幻逸品PCally QBall,我的桌面上現在多了一隻HHKB pro2。 如果你還不知道這隻鍵盤,請參考以下說明: 新PD-KB400B(黑體同刻印,英文印刷),日本售價24800日圓。 對,我想你沒有看錯。這是一把很高貴、很高貴的逸品級鍵盤。鍵盤玩家心目中逸品中的逸品,2006年底已經停產,限定日本販售,除非你現在飛去日本或是請日本親友購買,未來再也買不到。 這隻鍵盤採用靜電無接點的鍵,剛好45克的敲擊壓力允許你長時間使用鍵盤卻不會疲勞,而且它極為耐久,可以耐敲擊3000萬次以上。鍵帽也提供極高的質感。 鍵盤的高度有三段式調整,可以適應絕大部分的使用模式。內建usb hub允許你接取指標裝置或是另外的usb裝置。採用Sun Type3鍵盤排列加上極小化的Layout(60key)達成只有A4一半的桌面體積,重量也只有530克。可以客製化部份按鍵,可以適應你的習慣。 支援Linux, Windows, Dos和Mac OSX。 PFU提供6個月保固,含購買原發票,鍵盤有問題你可以隨時送回去修理。PFU為Fujitsu的子公司,提供極高品質的日式售後服務。 這絕對不是一隻電競鍵盤,它是一隻programmer的超高品質鍵盤。如果你有大量輸入數字的需求,建議配合外接數字鍵盤使用。 原廠網站(網站目前只有販賣採用薄膜設計的Lite2了。) http://www.pfusystems.com/hhkeyboard/hhkeyboard.html FAQ: http://www.pfusystems.com/hhkeyboard/support.html 照片可參考友站: http://www.mobile01.com/topicdet ... 10&last=7868978 日本販售價格參考: http://www.geekstuff4u.com/happy-hacking-keyboard-pro-2.html Happy Hacking Keyboard系列: http://en.wikipedia.org/wiki/Happy_Hacking_

X200 WWAN ready

圖片
裝上Ubuntu Jaunty 9.04的ThinkPad X200要怎麼連上HSDPA(3.5G)網路呢? 啊就是裝上Ericsson 3507G,升級WWAN firmware之後就可以自然而然連上HSDPA network了。 有沒有這麼簡單啊?(最好是就這麼簡單...) 有興趣裝起來用的各位,還是認命的繼續看下去吧... 第一件事,我想要定義 Fn+F6 就是WAN的開關: 1. 在 /etc/acpi/events/ 裡面新增 ibm-wan 內容如下: # /etc/acpi/events/ibmwireless # This is called when the user presses the wireless button and calls # /etc/acpi/wireless.sh for further processing. event=ibm/hotkey HKEY 00000080 00001006 action=/etc/acpi/ibm-wan.sh 2. 在 /etc/acpi/ 新增 ibm-wan.sh #!/bin/sh test -f /usr/share/acpi-support/state-funcs || exit 0 # Find and toggle wireless of bluetooth devices on ThinkPads . /usr/share/acpi-support/state-funcs WAN=/proc/acpi/ibm/wan CONTROL_DEVICE=/dev/ttyACM1 GPS_DEVICE=/dev/ttyACM2 if [ -r $WAN ]; then grep -q disabled $WAN wan_state=$? fi # Note that this always alters the state of the wireless! toggleAllWirelessStates; # Sequence is Both on, Bluetooth only, Wireless only, Both off if ! isAnyWirelessPoweredOn; then # Wireless was turned off

打算在Yahoo購物中心購物的朋友請三思

真是沒有想到,原來一個購物的經驗也可以變成Kuso。本來是不想寫,給廠商一些面子的,不過這件事情真的變得太扯。 由於老婆的要求(撒嬌),幫她買一個Samsung i608用的耳機轉接線給她。她想要裝比較好的入耳式耳機。由於不放心副廠的品質,找到了Yahoo購物中心有這個貨品。 信用卡刷下去買的時間是2月18日,隔天貨就到了。送來了一組Nokia耳機(!) 是,那是分離式的,但是上面大大的Nokia標誌告訴我這絕對不能用。向Yahoo反應之後,他們答應要儘快處理。 後來接到精傑科技來電,說來回件太貴,要我自付郵資寄出。他們收到以後會立刻寄出(含我當時先墊的郵資),我當天就由台北101的郵局寄出了,這時候是2月19日。 等了許久,到了3月3日,還是沒有任何反應,我就火大了。向Yahoo購物中心反應,當天收到了回覆告訴我他們會儘快處理。巧合的是,不久後確實收到了。只不過,整整9天啊!走路去內湖精傑科技再回來都沒有那麼久。-_- 晚上我高高興興拿回家給老婆,打算讓她高興一下。手機拿出來,接頭插上去。咦?接頭不合?(這時候心裡面的聲音是:Gan! 這家公司搞什麼鬼啊?) 當然,馬上我又再次上Yahoo購物中心抱怨,這實在太扯了。第二次寄錯?Yahoo購物中心想當然的回覆說他們非常重視、廠商會在1~2天之內跟我聯絡,請我務必保持手機暢通等等之類,如果3月9日之前都沒有聯絡,我再回去反應。很聰明,1~2天加上隔一個週末的週一,幫廠商爭取了一點時間。 3月9日,確實沒有人聯絡。我保持手機暢通有個鳥用?我打算明天白天來退貨。 3月10日上午,接到不明電話,響兩聲就掛掉。連續兩次。我回電之後才發現,原來就是這家很寶的精傑科技。電話那頭有位小姐很高興,跟我說他們正在確認是否有可用的耳機,一旦找到會立刻辦來回件過來收。 3月11日中午,我再次收到第三次換貨。這是在幹什麼!一個耳機寄錯三次!!!強!有你的! 我要的耳機,是給老婆耳機轉接線。她要接上另外一個入耳式的耳機來聽,結果送來的這隻不管怎麼樣,是連在一起的。跟當時網頁上的照片明顯不符。 剛剛我又上去Yahoo購物中心抱怨,從信用卡刷下去2月18日到今天3月11日,都快滿月了。 3月12日,抱怨原文: 發問時間:2009/3/11 下午 12:14:31 (問題分類:物流-採購) 今天收到精傑科技來回件寄來的耳機,只不過... 怎麼又寄錯

GlassyBleu佈景主題真漂亮啊

圖片
Click to Enlarge GlassyBleu就是HP Mini 1000 MIE的佈景主題啦。 安裝的方法也相當的簡單: 網路上就有人這麼做啦:http://ubuntuforums.org/showpost.php?p=6680821&postcount=17 裝完之後強烈建議 Customize -> Colors -> Input Boxes / Text 的顏色換成 #4C4C4C 不然Spreadsheet打開甚麼都看不到...

Treo 680 在Ubuntu上透過藍芽同步 jpilot

Treo手機除了Treo 600以外,都已經內建藍芽,透過USB來同步固然是一個方法,但是傳輸線的攜帶畢竟是一個大麻煩。目前大部分的筆記型電腦都已經有內建藍芽了,透過藍芽來同步在Windows上面算是相當普遍的常態,但是Linux上面卻是相當的麻煩。 目前我已經成功的在Ubuntu上透過藍芽讓Treo 680和網路連線以及同步Jpilot,你也可以試試看! 步驟如下: 配對手機與電腦如下: 1. 手機設定:Prefs->Bluetooth, 點選 "Setup Devices" -> "Trusted Devices" -> "Add Device". "Nearby devices" 中選擇你的PC -> "OK". 2. PC設定:Bluetooth applet點右鍵 -> "Setup New Device" 手機端連網設定: 1. 連線部份:控制台 -> 連線 -> 新增, 名稱寫 BT2Linux, 連接到: PC, 經由:Bluetooth, 然後點選"用點選尋找", 選擇你的PC -> OK 2. 網路部份:控制台 -> 網路 -> 按鍵盤右下角Menu按鈕 -> 新增. 名稱寫Ubuntu, 使用者名稱和密碼都留空白就好 3. 讓手機維持在這個畫面 PC端藍芽撥接設定: 1. $ sudo gedit /etc/ppp/peers/dun 2. 填入以下資料: 115200 10.0.1.8:10.0.1.40 local ms-dns noauth debug 3. 測試連線 $ dund --nodetach --listen --persist --msdun call dun 如果你的使用者不被允許執行以上命令,則在前加上sudo 然後回到手機點選"連接", 你會看到手機試著跟PC連線。如果正常的話,你會在PC上面看到一些debug message 4. 寫一個自家目錄的script來跑 $ mkdir -p ~/bin $ sudo gedit ~/bin/TreoConnect 填入以下資訊: dund --li

[Ubuntu Intrepid] Pidgin message notification using ThinkPad's "standby" LED

Recently I purchased a Lenovo ThinkPad X200. Just wondering why nobody is using some LED to do the notification. After a while searching, there is a software called " led-notification ". Unfortunately, to blink my thinkpad's LED I will need to echo "7 blink" instead of "1" or "0". So I just modified the code and packaging it then leave it in my launchpad PPA. To install this package, please make sure you are running Ubuntu Intrepid Ibex, then follow the steps: === Install with apt === Add these two lines to your /etc/apt/sources.list $ sudo gedit /etc/apt/sources.list deb http://ppa.launchpad.net/jouston-huang/ppa/ubuntu intrepid main deb-src http://ppa.launchpad.net/jouston-huang/ppa/ubuntu intrepid main Now you will need to add gpg key for my PPA: $ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 5627B79802F9CAEF70E58319B51F433BBCE861C1 After you done, install package now: $ sudo aptitude update $ sudo aptitude install pidgin-

Great deal Dell Inspiron Mini 9

圖片
If you are looking for a netbook and you are live in UK, congratulations! My colleague just forward me a eDM: http://view.ed4.net/v/PVAX4N/IF7KL/ZB03G3K/98HT3U/MAILACTION=1&FORMAT=H

Running Zubutun RC1(Hardy) on Zaurus C760

圖片
To run it please refer to http://www.omegamoon.com/blog/static.php?page=ZaurusUbuntu . Some installation notes below: * To fix dhclient3 broken problem, edit /etc/passwd and /etc/group. Set dhcp UID/GID both "0" * To enable touch screen, edit /root/.profile, make sure the line looks like this: export TSLIB_TSDEVICE=/dev/input/event1 * Add "#" before "xrandr -o right" in .xinitrc * Install Chinese: $ aptitude install language-support-input-zh