Sutter on Hungarian Notation
Posted on August 18th, 2008 at 16:10 by fr3@K

From Sutter’s Mill:

… The main trouble with Systems Hungarian comes from trying to embed information about a variable’s type into the variable’s name by prepending an encoded wart like the venerable sz, pach, ul, and their ilk. Although potentially helpful in a weakly-typed language like C, that’s known to be brittle and the prefixes tend to turn into lies as variable types morph during maintenance. The warting systems also don’t extend well to user-defined types and templates.

I am glad to learn that the Guru and I share similar views on this matter.


Further readings:

del.icio.us:Sutter on Hungarian Notation digg:Sutter on Hungarian Notation spurl:Sutter on Hungarian Notation newsvine:Sutter on Hungarian Notation furl:Sutter on Hungarian Notation Y!:Sutter on Hungarian Notation 黑米共享書籤:Sutter on Hungarian Notation 推推王:Sutter on Hungarian Notation
iGoogle, Not Safer than Anything Else?
Posted on August 10th, 2008 at 17:51 by fr3@K

Some of my friends use iGoogle as a portal for handling daily office routines. They had been selling me the solution for a while. They were able to get me to give iGoogle a test drive a few weeks ago.
(more…)

del.icio.us:iGoogle, Not Safer than Anything Else? digg:iGoogle, Not Safer than Anything Else? spurl:iGoogle, Not Safer than Anything Else? newsvine:iGoogle, Not Safer than Anything Else? furl:iGoogle, Not Safer than Anything Else? Y!:iGoogle, Not Safer than Anything Else? 黑米共享書籤:iGoogle, Not Safer than Anything Else? 推推王:iGoogle, Not Safer than Anything Else?
C++0x, Near Feature-Complete
Posted on July 8th, 2008 at 19:48 by fr3@K

From Sutter’s Mill:

… we already had a nearly-complete C++0x internal working draft — most features that will be part of C++0x had already been “checked in.” Only a few were still waiting to become stable enough to vote in, including initializer lists, range-based for loops, and concepts.

del.icio.us:C++0x, Near Feature-Complete digg:C++0x, Near Feature-Complete spurl:C++0x, Near Feature-Complete newsvine:C++0x, Near Feature-Complete furl:C++0x, Near Feature-Complete Y!:C++0x, Near Feature-Complete 黑米共享書籤:C++0x, Near Feature-Complete 推推王:C++0x, Near Feature-Complete
Google Forbids Use of Exception in C++
Posted on July 6th, 2008 at 23:57 by fr3@K

Quote from Google C++ Style Guide:

We do not use C++ exceptions.

在極端狀況下, 我能想像在 no virtual function 或是 no templates 但仍能使用 STL 的環境寫 C++. 但完全禁止 user-defined classes/functions 以拋出 exception 的方式回報錯誤的環境呢? No, thanks. 即便有免費的食物與漂亮的辦公室, 這還是太折磨人了.
(more…)

del.icio.us:Google Forbids Use of Exception in C++ digg:Google Forbids Use of Exception in C++ spurl:Google Forbids Use of Exception in C++ newsvine:Google Forbids Use of Exception in C++ furl:Google Forbids Use of Exception in C++ Y!:Google Forbids Use of Exception in C++ 黑米共享書籤:Google Forbids Use of Exception in C++ 推推王:Google Forbids Use of Exception in C++
Richard Stallman 來台演講
Posted on May 4th, 2008 at 0:04 by fr3@K

活動網頁上表示暫定 5/14 在台北 5/14 上午在淡江大學及 5/15 在新竹傍晚在清華大學各一場. 台北那場我已 email 去報名了.

(more…)

del.icio.us:Richard Stallman 來台演講 digg:Richard Stallman 來台演講 spurl:Richard Stallman 來台演講 newsvine:Richard Stallman 來台演講 furl:Richard Stallman 來台演講 Y!:Richard Stallman 來台演講 黑米共享書籤:Richard Stallman 來台演講 推推王:Richard Stallman 來台演講
re: Socket Programming in C 常犯的錯誤
Posted on April 22nd, 2008 at 12:25 by fr3@K

昨天在網上閒逛, 在樂多上看到篇名為 “Socket Programming in C 常犯的錯誤” 的短文. 這短文作者的動機很好, 指出常見到的錯誤並提供個人看法與可能較好的作法. 這樣的行為很值得鼓勵. 但極可惜的是, 結果卻是很不理想的. 容我說句重話, 如果是考試的話該文是得不到我的分數的.
(more…)

del.icio.us:re: Socket Programming in C 常犯的錯誤 digg:re: Socket Programming in C 常犯的錯誤 spurl:re: Socket Programming in C 常犯的錯誤 newsvine:re: Socket Programming in C 常犯的錯誤 furl:re: Socket Programming in C 常犯的錯誤 Y!:re: Socket Programming in C 常犯的錯誤 黑米共享書籤:re: Socket Programming in C 常犯的錯誤 推推王:re: Socket Programming in C 常犯的錯誤
Video made for Microsoft’s sales team
Posted on April 21st, 2008 at 2:53 by fr3@K

很好笑的一段影片, 在 news.com 的 Microsoft 1, blogosphere 0 看到的.

del.icio.us:Video made for Microsoft's sales team digg:Video made for Microsoft's sales team spurl:Video made for Microsoft's sales team newsvine:Video made for Microsoft's sales team furl:Video made for Microsoft's sales team Y!:Video made for Microsoft's sales team 黑米共享書籤:Video made for Microsoft's sales team 推推王:Video made for Microsoft's sales team
Virtualization != 虛擬作業系統
Posted on April 18th, 2008 at 0:01 by fr3@K

首先我得說清楚我對 virtualization 這個題目沒有研究, 單純是個享福的使用者. 從很久 (8/9 年?) 以前在 MacOS 7.x (or 8.x?) 上用 Virtual PC 跑 Win95, 到近幾年的主要在 GNU/Linux 上用 QEMU 跑 Win2K 與 Minix 3.

一個不懂 virtualization 確切定義與技術細節的人, 一個使用過 Virtual PC, VMWare (player/workstation), QEMU, VirtaulBox 等 virtualization application 的人如我. 在使用過上述任何一種 virtualization application 後很容易就會知道, 把 virtual machine 開啟後首先會看到 POST (Power-on self-test) 畫面. 如果沒有其他如 boot image 等的設置, 接下來什麼也不會發生. 不會看到屬於某個 OS 的 shell 或是 desktop manager 的提示畫面, 使用者什麼事都做不了.
(more…)

del.icio.us:Virtualization != 虛擬作業系統 digg:Virtualization != 虛擬作業系統 spurl:Virtualization != 虛擬作業系統 newsvine:Virtualization != 虛擬作業系統 furl:Virtualization != 虛擬作業系統 Y!:Virtualization != 虛擬作業系統 黑米共享書籤:Virtualization != 虛擬作業系統 推推王:Virtualization != 虛擬作業系統
The Free Launch is Back
Posted on April 15th, 2008 at 16:08 by fr3@K

From the main page of MCSTL:

The Multi-Core Standard Template Library (MCSTL) is a parallel implementation of the standard C++ library. It makes use of multiple processors and/or multiple cores of a processor with shared memory. It blends in transparently and there is in principle no change necessary in the program itself.

(more…)

del.icio.us:The Free Launch is Back digg:The Free Launch is Back spurl:The Free Launch is Back newsvine:The Free Launch is Back furl:The Free Launch is Back Y!:The Free Launch is Back 黑米共享書籤:The Free Launch is Back 推推王:The Free Launch is Back
Mistake in IBM’s developerWorks
Posted on April 3rd, 2008 at 22:47 by fr3@K

Some months ago, I came across a mistake in Kernel command using Linux system calls, published by IBM’s developerWorks.
(more…)

del.icio.us:Mistake in IBM's developerWorks digg:Mistake in IBM's developerWorks spurl:Mistake in IBM's developerWorks newsvine:Mistake in IBM's developerWorks furl:Mistake in IBM's developerWorks Y!:Mistake in IBM's developerWorks 黑米共享書籤:Mistake in IBM's developerWorks 推推王:Mistake in IBM's developerWorks

Page 1 of 4[ 1 ]234»