2013/04/04

The error of missing Font Arial for Gnuplot 4.6.2 in ML

Lupin asked me about this error about two months ago.
Then he downloaded some font to replace the AIRAL and solved this error.

Two days ago, Yi-Han asked me the same question.
I jus realize that this error will just happen if your Gnuplot is installed in a ML via MacPorts.



Since I will upgrade to ML very soon, I try to find my own solution.
And here is my way:

insert the lines below to your startup file (.profile or .bashrc):

export GDFONTPATH='/Library/Fonts/Microsoft'
export GNUPLOT_DEFAULT_GDFONT=Arial

To have it work, you will need to have the MS Office for Mac installed in your Mac first,
then you will not need to download any fonts, just use the fonts coming with MS Office.


Actually you will not need to use font Airal alway, just change the setting to the font you'd like.

2009/10/12

HEASOFT & CFITSIO @_@

Orz...
已經有好幾次在更新 HEASOFT 後都忘了修改對應的 CFITSIO 版本...

以下是給自己的 note (以 Heasoft 6.7 為例):

  • cd /usr/lib
  • sudo ln -s /HEASOFT/heasoft-6.7/heacore/i386-apple-darwin9.7.0/lib/libcfitsio_3.181.dylib ./libcfitsio_3.181.dylib
  • sudo ln -s /HEASOFT/heasoft-6.7/ftools/i386-apple-darwin9.7.0/include/cfitsio.h ./cfitsio.h
  • sudo ln -s /HEASOFT/heasoft-6.7/heacore/i386-apple-darwin9.7.0/include/fitsio.h ./fitsio.h
  • gcc xxx.c -o xxx -lm -lcfitsio_3.181


2009/08/29

iPhone 3GS !@#$%^&*()

以下為前一陣子記錄下來的筆記~

種花電信 iPhone 3GS 夠機車方案
(都以 16G 機種來比較購機優惠價+月租費兩年總價)

基本方案:19700+3000+383*24=31892
換算成歐元約是€29*24個月!
預付卡方案:26400
換算成歐元約是€24*24個月!

種花電信的 iPhone 3GS 的 16G / 32G 差價是 $3500 NTD
法國橘子的 iPhone 3GS 的 16G / 32G 差價是 €80 (~ $3800 NTD)
若從台灣帶去法國,法國橘子有每月25歐元專案~
但那是加在預付卡或門號上!

結論:還是在法國當地直接申辦愛瘋!
只是法國橘子有五種方案~天押!
到時候真要辦時再來煩惱吧!


2009/07/29

Useful "Total Commander"-like X11 apps...

裝這種程式要幹嘛?
阿就是有時候會有需要嘛~
所以來做個筆記!

隨便用相關字詞去孤狗一下,
我選了這網頁,並用了 Fink Commander交叉比對,
我發現有三套程式可以安裝來玩:
Krusader, Midnight Commander(mc) and Worker!


首先我安裝了mc,其實它是一套很資深軟體囉!
它的好處是執行後就會在你的終端機畫面上操作!
方便又快速!亦可利用滑鼠來控制!很不錯!

而 Worker 利用 Fink 來安裝其實也頗簡單!
特別是相較 Krusader 的冗長安裝時間~
(因要安裝其他KDE套件)
執行後會另外彈出其視窗,使用介面清楚!

至於 Krusader...
它的安裝時間實在是太久了~
所以今晚不想理它了~
有空再補上!


2009/06/15

Deux nuits en une image


Coooool!!
我看得懂這標題耶!哈~
前天被「終極殺陣三」殺掉的,
我那小小的想學好法文的心情似乎又回來囉!

這張圖片是來自 OHP 的網站。
剛剛瀏覽了一下才「發現」原來那鍋「p」就是普羅旺斯啦!
我真是太遜囉~不過請不要問我「h」是啥~哈!

今天下午是阿尼跟仕豪的碩士口試~
他們都順利通過了~真是恭喜呀!
接下來還有吳小翰、阿寬跟Soccer的口試!
大家一定都可以順利畢業啦!

以上真的真的是灌水~
部分內容還灌到楓橋去~哈哈!就醬子啦!


2009/06/04

HEASARC's Argus service...

Actually, this is my 1st time to use this service. Why?
Coz I couldn't find 94318's proposal/abstract via HEASARC Browse...

Argus is an interactive World-Wide Web service provided by the HEASARC. Argus can be used to track the status of proposals from acceptance through observation and eventual archival of the data. Argus can also be used to discover whether your favorite object has been or will be observed by several current or recent high energy observatories.


Then, by the power of the Argus, finally I found the abstract!


Hum~
Why is the 93067 not in the CORE program of RXTE cycle 13???


2009/05/27

Review the SciSoft~~~

"Scisoft7 - An Astronomical Software Collection"

I have introduced it couple months ago,
so why do I want to review it again?

Hum~That I may have to run IRAF is the main reason.
It includes IRAF and other needing packages,
and the installation is quite easy.
So it is the best solution for students taking "Observational Astronomy" course.

If you don't know what it is till now, let me briefly introduce it again~

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 7, June 2007, is only available for Fedora Core 6 Linux. The previous version, Scisoft v6.1 September 2006, was for Fedora Core 3, Scisoft v5 was available for RedHat9 and earlier versions are also available for Solaris 8, Linux Redhat 6.2 and HP-UX 11. 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. -- quotes from its website.

I'll paste the downloading URLs below:

< For Mac OSX >
There are two versions of Scisoft OSX. The first one is for G4 and G5 ppc based Macs. The second one is Intel specific and will work (fast) on any new Mac Book, Mac Book Pro, or Mac Pro. The two versions contain almost the same packages but the Intel one is the one that will continue to be maintained regularly in the future.

You can download the PPC version from here
You can download the Intel version from here

-- All information above is from

HERE

. Plz have a look b4 downloading it~


**** @May-19-2009 ****
Scisoft 2009.5.2 released!
***************************