= 2009-09-12 = * [課程準備] 測試 pyvnc2swf 錄聲音跟桌面 == Debian / Ubuntu == * [http://www.h-online.com/open/news/print/114175 Debian switches to Upstart] * http://upstart.ubuntu.com/ * Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running. * 看樣子為了讓開機速度加快,或者解決到一些傳統 Linux /sbin/init 造成的問題,開機程序又再重新改寫了。 * [http://blog.sourcefrog.net/2009/09/setting-up-ubuntu-chroot-for.html setting up an Ubuntu chroot for development testing using schroot and debootstrap] * Q: schroot 跟 chroot 有什麼不同呢? A: schroot 是給一般使用者用的,不需要 root 權限!! {{{ #!sh /etc/schroot/schroot.conf [karmic] description=Ubuntu 9.10 Karmic Koala users=mbp root-users=mbp location=/home/chroot/karmic type=directory run-setup-scripts=true run-exec-scripts=true }}} {{{ ~$ schroot -c karmic }}} * 從這篇文章也學到 lsbrelease 的一些新用法 {{{ ~$ lsb_release -is Debian ~$ lsb_release -ds Debian GNU/Linux 5.0.3 (lenny) ~$ lsb_release -rs 5.0.3 ~$ lsb_release -cs lenny }}} == Vim 密技 == * [http://hoamon.blogspot.com/2007/03/vim.html 可怕的 VIM] - 輸入 :TOhtml 就可以產生有 Syntax Highlight 的程式碼!!! * [http://blog.leeheng.net/2009/08/vim-with-mouse.html Vim with Mouse] - 如果 PieTTY 用 Vim 時沒辦法用滑鼠,可能就要檢查一下參數了!! == Functional Programming 函數式編程/函數式程式設計 == * Wikipedia - [http://en.wikipedia.org/wiki/Functional_programming Functional Programming] * [http://webcast.berkeley.edu/course_details.php?seriesid=1906978502#21483 Berkeley Spring 2008 Courses CS61A : The Structure and Interpretation of Computer Programs] (Video) * Haskell * [http://www.ibm.com/developerworks/java/library/j-cb07186.html?S_TACT=105AGX52&S_CMP=cn-a-j Crossing borders: Explore functional programming with Haskell] - [http://www.ibm.com/developerworks/cn/java/j-cb07186.html 跨越邊界: 用 Haskell 研究函數性編程] * Python * [http://docs.python.org/howto/functional.html Functional Programming HOWTO] * [http://www.ibm.com/developerworks/library/l-prog.html Charming Python: Functional programming in Python, Part 1] * [http://www.ibm.com/developerworks/library/l-prog2.html Charming Python: Functional programming in Python, Part 2] * [http://www.ibm.com/developerworks/library/l-prog3.html Charming Python: Functional programming in Python, Part 3] * [http://www.diveintopython.org/functional_programming/index.html << Dive Into Python Chapter >> 16. Functional Programming] * [http://blog.leeheng.net/2009/07/functional-programming.html <簡報上線> Functional Programming 之二三事] - 很可惜只有簡報 :( * [http://lwn.net/Articles/352432 Writing kernel modules in Haskell] == Screencast == * [http://thescreencastinghandbook.com/home2/ The Screencasting Handbook] - 這個人因為作了太多 screencast 所以打算出一本書,挺妙的 * [http://wiki.showmedo.com/index.php/Video_editing_Ubuntu Video editing Ubuntu] - 介紹在 Ubuntu 上怎麼編輯 Screencast 內容。