skip to main | skip to sidebar
Racklin's 阿土伯程式大觀園
在這裡寫下我對程式設計相關的心得及筆記.
2008年11月9日 星期日
Ubuntu 8.10 at Thinkpad T61
前幾天把 Ubuntu 8.10 Desktop Edition 64Bit
版本昇級.
昇級方法可以參考官方的這篇說明: http://www.ubuntu.com/getubuntu/upgrading![[¦b·sµøµ¡¶}±Ò]](http://replace-link-external.googlecode.com/files/external.png)
基本上所有 T61 上的硬體都能正確抓到, 包含先前提到的 Intel 4965AGN wireless LED 也一併改善解決.
然而 nvidia driver 由於 restricted driver 內建是 177.80 , 所以踩到了一個雷.
無法登出或 Ctrl+Alt+Backspace:
[G86GL] Latest NVIDIA drivers: X hangs with blank screen after logout.
阿土伯採用的是延長 GDM 等待 nvidia driver 回應的時間.
也就是請修改 /etc/gdm/gdm.conf 中的 GdmXserverTimeout 將它加大到 30 以上, 阿土伯目前使用 40.
沒有太大問題再發生.
2D performance 太慢:
nvidia driver 在 linux 上 2D 效能一直不怎麼樣, 當然官方也一直在改進, 由於 8.10 直接跳到了 177.80 版, 所以可以
使用一些新的設定, 可以參考: http://www.nvnews.net/vbulletin/showthread.php?t=115916
討論串.
或直接在 /etc/X11/xorg.conf 加入
Option "PixmapCacheSize" "1000000"
Option "AllowSHMPixmaps" "0"
並在 ~/.gnomerc 加入
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1
可以獲得很大的改善.
可以利用 firefox 打開 addons 管理視窗, 然後利用 mouse wheel scroll 看看差別有多大...
![[¦b·sµøµ¡¶}±Ò]](http://replace-link-external.googlecode.com/files/external.png)
昇級方法可以參考官方的這篇說明: http://www.ubuntu.com/getubuntu/upgrading
![[¦b·sµøµ¡¶}±Ò]](http://replace-link-external.googlecode.com/files/external.png)
基本上所有 T61 上的硬體都能正確抓到, 包含先前提到的 Intel 4965AGN wireless LED 也一併改善解決.
然而 nvidia driver 由於 restricted driver 內建是 177.80 , 所以踩到了一個雷.
無法登出或 Ctrl+Alt+Backspace:
[G86GL] Latest NVIDIA drivers: X hangs with blank screen after logout.
阿土伯採用的是延長 GDM 等待 nvidia driver 回應的時間.
也就是請修改 /etc/gdm/gdm.conf 中的 GdmXserverTimeout 將它加大到 30 以上, 阿土伯目前使用 40.
沒有太大問題再發生.
2D performance 太慢:
nvidia driver 在 linux 上 2D 效能一直不怎麼樣, 當然官方也一直在改進, 由於 8.10 直接跳到了 177.80 版, 所以可以
使用一些新的設定, 可以參考: http://www.nvnews.net/vbulletin/showthread.php?t=115916
![[¦b·sµøµ¡¶}±Ò]](http://replace-link-external.googlecode.com/files/external.png)
或直接在 /etc/X11/xorg.conf 加入
Option "PixmapCacheSize" "1000000"
Option "AllowSHMPixmaps" "0"
並在 ~/.gnomerc 加入
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1
可以獲得很大的改善.
可以利用 firefox 打開 addons 管理視窗, 然後利用 mouse wheel scroll 看看差別有多大...
2008年9月16日 星期二
iGoogle Tab RSS 小工具 Bug Fixed
感謝幾位網友的提醒, 阿土伯忘了現在 iGoogle 已不建議並(禁用?) html-inline 的 content 了..
所以造成了幾個小工具已不能使用.. 已修復完異.. 謝謝大家愛用..
什麼是 Tab RSS 請見下圖及參考說明:

使用說明及介紹:
iGoogle Tab RSS 小工具![[¦b·sµøµ¡¶}±Ò]](http://replace-link-external.googlecode.com/files/external.png)
所以造成了幾個小工具已不能使用.. 已修復完異.. 謝謝大家愛用..
什麼是 Tab RSS 請見下圖及參考說明:

使用說明及介紹:
iGoogle Tab RSS 小工具
![[¦b·sµøµ¡¶}±Ò]](http://replace-link-external.googlecode.com/files/external.png)
2008年9月1日 星期一
李斯諫逐客書
學生時唸到的古文, 沒想到在現在會這麼有感覺.
本土/外來/挺誰/嗆誰/反誰/護誰 一再操作這樣議題昇高人民對立是否得宜...
政治也是一種專業, 程式設計亦然.
當批評別人的設計有問題時, 能謙虛的自省自己的專業, 是否也出現了相同的問題, 並容納多元的意見以及不同團隊間的合作...
共勉之~
[+] 請按我..繼續閱讀全文....
本土/外來/挺誰/嗆誰/反誰/護誰 一再操作這樣議題昇高人民對立是否得宜...
政治也是一種專業, 程式設計亦然.
當批評別人的設計有問題時, 能謙虛的自省自己的專業, 是否也出現了相同的問題, 並容納多元的意見以及不同團隊間的合作...
共勉之~
[+] 請按我..繼續閱讀全文....
2008年8月18日 星期一
GREUtils 1.1 in trunk
GREUtils 1.1 已經 update 到 http://greutils.googlecode.com/svn/trunk 中, 有興趣參考 Source Code 或使用, 請利用 svn checkout .
GREUtils 是一個 XULRunner / Firefox extensions Javascript Utilities Libraries.
1.0 到 1.1 基本上是全面改寫, GREUtils 1.1 提供以下功能:
其它改變:
![[¦b·sµøµ¡¶}±Ò]](http://replace-link-external.googlecode.com/files/external.png)
API References: http://greutils.googlecode.com/svn/trunk/jsdoc/index.html
< /span>
GREUtils 是一個 XULRunner / Firefox extensions Javascript Utilities Libraries.
1.0 到 1.1 基本上是全面改寫, GREUtils 1.1 提供以下功能:
- Object extend function
- include / include_once specified URL script.
- XPCOM utilities
- Charset Convert
- Preferences Services
- File IO
- Dialog utilities (all XPCOM implemented, can use in javascript code modules)
- Controller and CommandDispatcher?
Helper
- Cryphto Hash Utilities – md5 / sha1 /sha256
- JSON encode / decode use XPCOM implemented (VERY FASTer then json.org's javascript version)
- Threading – Native Multi-Threading support
- JavaScript code modules
support
其它改變:
- GRE Utils 1.1 全部改寫了 1.0 的 inline document , 由 ScriptDoc
改成了 jsdoc
格式, 以方便產生出 API Reference.
- Makefile for linux user , 以方便產生 minified / packed / jsmodues / jsdoc 等 distribution files.
- singleton support
- inher its / namespace support (many idea and source from goog javascript libraries).
![[¦b·sµøµ¡¶}±Ò]](http://replace-link-external.googlecode.com/files/external.png)
API References: http://greutils.googlecode.com/svn/trunk/jsdoc/index.html
![[¦b·sµøµ¡¶}±Ò]](http://replace-link-external.googlecode.com/files/external.png)
張貼者: Rack Lin 位於 上午 11:29 0 意見
此文章的連結
標籤: Gecko, JavaScript, Programming
2008年7月4日 星期五
訂閱: 文章 (Atom)
沒有留言:
張貼留言