2006/12/01

岡山羊肉@慈雲路

昨天開車回新竹的路上~突然想起了這間店~
當然又想起了那時候的點滴...

於是~下了95A後便繼續直走~
經過了一段速限only四十得很難開的匝道~
下公道五~右轉~直走一小段再右轉~再直走...
經過了以前的窩~天呀~那附近變化真大~
跟以前剛搬過去時的荒涼簡直不能相提並論!

過了紅綠燈~yes~岡山羊肉到了~
老闆娘見到我時有楞了兩三秒~可能對我還有點印象~
按照慣例,還是點了一盤羊肉炒麵跟一碗當歸羊肉湯~
按照慣例,.......

吃的時候一直勸自己乖乖的吃~別想太多~人生嘛!
不過忘記請老闆不要放太辣~害我邊吃邊流汗!
但,真的是不錯吃!

臨走前用 K610i 拍了一張照片,紀念,某年某月到某年某月的回憶!

只是murmur....

2006/11/22

!@#$ Python 2.X.X....

以下內容來自 ActivePython 的網站~

How do I revert to MacPython from ActivePython?

There are three popular Python distributions for Mac OS X.

There is the pre-installed distribution that ships as /usr/bin/python and has its frameworks in /System/Library/Frameworks.

There is also MacPython, the Python distribution from the macpython.org guys
(andpointed to by python.org). This is a 3rd-party Python distro. This installs as
/usr/local/bin/python with its frameworks in /Library/Frameworks.

Then there is ActivePython. This also installs as /usr/local/bin/python with its frameworks in /Library/Frameworks -- the same location as MacPython. When ActivePython is being installed the installer will look for MacPython and prompt to move it out of the way, rather than overwrite it. Because of the way Mac OS X works you can only have one of MacPython or ActivePython as the "current" python at a time.

The ActivePython install notes show how to uninstall ActivePython:
Apple does not provide a standard uninstallation tool or mechanism. You may, however, use the pydistro.py script that comes with ActivePython to uninstall ActivePython:

sudo python /Library/Receipts/ActivePython-2.4.pkg/Contents/Resources/pydistro.py \
activepython_uninstall 2.4

註:貼這些是因為~我想在我的powerbook上面安裝 Veusz !
但它需要的是 MacPython 所以我得先把 ActivePython 幹掉...
或許以後只要安裝 MacPython 就好~因為 QtiPlot 一樣可以執行~
而他的安裝檔又是 Univesal 的!

[按我下載 MacPython]

註註:請到 atg 網站上面下載他們打包好的 Veusz Installer (for ppc only)!
此軟體還需要 Numarray 這 python package...
Optional requirements:
PyFITS>=0.9.8.2 http://www.stsci.edu/resources/software_hardware/pyfits

又我為啥要裝它~因為聽說它可以畫出這樣的圖~


不過又得先來學 python 的語法囉~咕狗大神是你的好朋友!

2006/11/20

QtiPlot

QtiPlot - 你可以稱她為 Mac 上面的 Origin
~ 重點是她免費 ~

這裡順便推薦一個網站: ATG - free software for research & teaching
安裝 QtiPlot 所需要用到的軟體在 ATG 都能找到,
方便起見,我直接將所需軟體及其連結列於下方,
~請依照您的 CPU 下載~

[It needs Mac OSX 10.4 or higher]

1) Mac /Qt 3.3 "Minimal"-installer
=> PPC : QtMac335-Mini-Tiger.pkg.zip
=> X86 : QtMac336-Mini-Intel.zip

2) Python 2.4
=> PPC : ActivePython-2.4.3.11-macosx-powerpc.dmg
=> X86 : ActivePython-2.4.3.11-macosx-x86.dmg

Universal Python => python-2.4.4-macosx2006-10-18.dmg

3) QtiPlot
=> PPC : qtiplot087PPC-Tiger.zip
=> X86 : qtiplot083Intel.zip

請按順序安裝後即可使用~方便吧!
以下是執行的畫面~



感覺跟 Origin 真的一模一樣!
先來試用看看吧!

2006/11/17

ESO的禮物!!

那天昭賢跟足球在搜尋gsl的時候突然發現一套名為「Scisoft」的軟體,
擺明就是跟科學相關的軟體,在仔細去看~
打包進去的軟體幾乎都是針對天文觀測資料的!真是太神奇!

我後來作了一些探究才發現~原來這是ESO底下的一項計畫呢!
----
Scisoft is a project within ESO to provide a collection of astronomical software utilities in a uniform way at all four ESO sites and to make them available to the outside world. The current version, Scisoft 6.1, September 2006, is only available for Fedora Core 3 Linux...

請參考此計畫的網站:http://www.eso.org/science/scisoft/

其實網站上還有提到~
----
In addition a version of Scisoft for Mac OSX has been prepared by Nor Pirzkal and Francesco Pierfederici but it is not an ESO product.

所以請到這裡來參觀:http://www.stecf.org/macosxscisoft/

附上一張在 VersionTracker 上面找到的 screenshot~



亂神奇的吧!~

我有下載下來~並嘗試安裝在 CRAB#6 (Mac Pro) 上面~
不過沒時間測試,裡面有些軟體也都沒用過~
在加上其實有一半的套件我早就裝好了~
這應該是給一台「新」蘋果安裝的吧!
所以心裡毛毛的我就先砍掉它!

有興趣的人請上去點選下載鍊結哱!
記得要裝在「 / 」下面,她的「殼層」推薦是 tcsh !
其餘請看解出來的安裝說明!

2006/11/15

Color the OSX Command Prompt!!

嗯!我承認osx很好用~
除了她的黑白終端機跟單調的vi介面之外~
而且她的terminal對中文檔名的支援也是!@#$~

其實還是有解決的辦法~而且還滿簡單!
修改你的 .profile 加入以下環境變數:
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
export TERM=xterm-color

登出該終端機~在開一個新的終端機~列出檔案看看!

而vi也是可以變彩色的~而且可以把熟悉的游標座標呼喚出來~
辦法是先去 http://macvim.org/OSX/index.php 下載app型態的vim 7.0
將檔案解壓縮後~其實安不安裝都可以~看你喜不喜歡app版的vim!
因為我們只是要從她的套件內容中拷貝出設定檔範例來使用~
將 Vim.app/Contents/Resources/vim/runtime/vimrc_example.vim
另存為 ~YourAccount/.vimrc
從此你的vi就變彩色了!
(不過你的 .profile 中一定要有 `export TERM=xterm-color` 才行。)

又其實列出檔案時可以透過正確的參數來顯示中文的檔名~
試試執行 `ls -w` ~應該會讓你感動唷!

以上。

註:不知道是不是我那裡有操作錯誤~
在 Mactel 的機器上面我總是得將 .profile 另外拷貝成 .bashrc
才會在 X11 底下正確出現我設定的環境變數...
可是我的威力書卻不用多此一舉!呵呵~還真奇怪!

註註:為了方便各位 vimrc_example.vim 可以這裡抓!

2006/11/08

Fink Fink Fink~~~

以下是怕那天又忘記了而寫在這裡的note!!

For Fink 0.8.1

---- 環境變數 (寫在 /etc/bashrc or /etc/profile) ----

export CFLAGS=-I/sw/include
export LDFLAGS=-L/sw/lib
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CXXFLAGS
export ACLOCAL_FLAGS="-I /sw/share/aclocal"
export PKG_CONFIG_PATH="/sw/lib/pkgconfig"
export MACOSX_DEPLOYMENT_TARGET=10.4

test -r /sw/bin/init.sh && . /sw/bin/init.sh

註:我把要增加的路徑都直接寫在 /sw/bin/init.sh 裡面!

---- Packages for GTK+2 (安裝 Gqview 需要) ----

1. fink install gtk+2-dev glib2-dev pkgconfig pango1-xft2-dev atk1
2. Download source code from http://gqview.sourceforge.net/

---- Chinese Rxvt ----

1. fink install rxvt-ml
2. Download => http://cle.linux.org.tw/candyz/mac/taipeifonts.tgz
3. 將以下寫成script : export LANG=zh_TW.Big5;/sw/bin/rxvt -sl 5000 -sr -bg black -fg lightgray -fn 8x16 -fm taipei16 &

---- Some useful packages ----

01. gnuplot
02. wget
03. axyftp
04. gimp
05. xpdf
06. gv
07. xfig
08. imagemagick

------------------------------------

註註:其他運算或編譯需要的軟體,
請安裝 xcode 2.4.1
fortran 77 : http://hpc.sourceforge.net/
fortran 95 : http://www.g95.org/

2006/09/08

生病了?

這幾天似乎感冒了,一直頭疼,腹痛,喉嚨也有點沙啞,還會拉肚子><
好想努力工作趕快追上進度,但這兩天卻不得不窩在阿秀家裡。

好啦~以上是藉口~
不過真要好好加油!人家工作許久的東西想幾天內搞定本來就有點難度。
我需要的一個有效率的計畫。而且要好好去執行。
而且我說原+呀~你也有點年紀了~
不要以為你的記性還很好~去弄本簿子來紀錄吧!

GOGOGO!!!

2006/08/31

更新我的 Skype for Mac with Video Preview...

我對 Skype for Mac 視訊測試版不滿,
因為第一次用它玩視訊後,就墜落了 >< 難道原因跟它有關?
算了!反正它在這個月初有更新,大概真的對它不爽所以今天才發現...

將它的網址記在這裡免得我又忘記了~
http://www.skype.com/download/skype/macosx/videopreview.html

只是不知道我現在要它幹嘛呢?


*給阿秀:不想買貴的webcam也是可以啦!
http://webcam-osx.sourceforge.net/ 找解答。

我跟印表機有仇~


這是給越來越有記憶退化的偶自己的note~
以下資料來自 http://docs.info.apple.com/article.html?artnum=301397

擷取重點如下:

How to manually add a Windows shared printer

  1. Open Printer Setup Utility (located in /Applications/Utilities).
  2. Mac OS X 10.4.x users: Choose Add Printer from the Printers menu, then hold the Option key while clicking the "More Printers" button.
    Mac OS X 10.3.x users: Hold the Option key down while choosing Add Printer from the Printers menu.
  3. Choose Advanced from the first pop-up menu.
  4. Choose Windows Printer via SAMBA from the Device pop-up menu.
  5. In the Device Name field, type the name you would like to use for this printer in Mac OS X.
  6. In the Device URI field, use one of the following formats to link to the printer:

    smb://user:password@workgroup/server/sharename
    smb://user:password@server/sharename
    smb://workgroup/server/sharename
    smb://server/sharename

  7. Choose the appropriate PPD or printer driver from the Printer Model pop-up menu.
  8. Click Add.

滿月

昨天是墜落地表一個月。不過並不值得紀念...
且今年很討厭,居然是閏七月,so可惡的七夕有兩次><
我真應該去參加「去死去死騎士團」*!

小位位問我,從今以後會否不相信愛情?
我沒有回答,因為我不曉得自己的答案。
一切都太突然到我無法思考。

我只知道,接下來會有好長一段時間,不會想吃蝦子。

*注意:因為khdo參加的是牧師團,所以要區隔...