[Update] boost::decay documentation issue
Posted on January 14th, 2010 at 17:35 by fr3@K

The issue with boost::decay documentation that I blogged about 10 days ago has been fixed in trunk.

del.icio.us:[Update] boost::decay documentation issue digg:[Update] boost::decay documentation issue spurl:[Update] boost::decay documentation issue newsvine:[Update] boost::decay documentation issue furl:[Update] boost::decay documentation issue Y!:[Update] boost::decay documentation issue 黑米共享書籤:[Update] boost::decay documentation issue 推推王:[Update] boost::decay documentation issue
What Should We Teach New Software Developers? Why?
Posted on January 5th, 2010 at 0:29 by fr3@K

Would you trust someone who had not seen a patient for years to teach surgery? What would you think of a piano teacher who never touched the keyboard? A CS education must bring a student beyond the necessary book learning to a mastery of its application in complete systems and an appreciation of aesthetics in code.

這句話說得真好.

via: What Should We Teach New Software Developers? Why?Bjarne Stroustrup.

del.icio.us:What Should We Teach New Software Developers? Why? digg:What Should We Teach New Software Developers? Why? spurl:What Should We Teach New Software Developers? Why? newsvine:What Should We Teach New Software Developers? Why? furl:What Should We Teach New Software Developers? Why? Y!:What Should We Teach New Software Developers? Why? 黑米共享書籤:What Should We Teach New Software Developers? Why? 推推王:What Should We Teach New Software Developers? Why?
boost::decay documentation issue
Posted on January 4th, 2010 at 20:48 by fr3@K

前陣子看了 Hubert 的 一個 boost::exception 的例子, 猛然注意到自己不確定 boost::decay 的作用.

去看了它的 文件, 才發現文件不盡然正確… 已 submit 了一個 ticket 給 Boost, 希望早日修正.

del.icio.us:boost::decay documentation issue digg:boost::decay documentation issue spurl:boost::decay documentation issue newsvine:boost::decay documentation issue furl:boost::decay documentation issue Y!:boost::decay documentation issue 黑米共享書籤:boost::decay documentation issue 推推王:boost::decay documentation issue
Bit-fu
Posted on January 3rd, 2010 at 11:40 by fr3@K

Did you know, for x is an integer, that -~x yields x + 1 and ~-x yields x - 1?

via: Advanced bit manipulation-fu.

del.icio.us:Bit-fu digg:Bit-fu spurl:Bit-fu newsvine:Bit-fu furl:Bit-fu Y!:Bit-fu 黑米共享書籤:Bit-fu 推推王:Bit-fu
Another Good Interview Question in C++
Posted on January 2nd, 2010 at 17:10 by fr3@K

elleryq 這篇 blog post 談到的 ctor (換成 dtor 也一樣) 呼叫 virtual function 狀況 (或說是 problem) 會是很好的 C++ programmer 面試題目. 可在口試時用以窺探 interviewee 對 C++ object model 的了解.
(more…)

del.icio.us:Another Good Interview Question in C++ digg:Another Good Interview Question in C++ spurl:Another Good Interview Question in C++ newsvine:Another Good Interview Question in C++ furl:Another Good Interview Question in C++ Y!:Another Good Interview Question in C++ 黑米共享書籤:Another Good Interview Question in C++ 推推王:Another Good Interview Question in C++
一看就知道 – 不 Thread-Safe 的 API
Posted on December 1st, 2009 at 13:37 by fr3@K

Very well put :)

當你發現回傳的是一個 char *,又沒有要求你特別 free 他,你是不是就該猜測他是回傳 function 內部的一個 static buffer 了呢?

Via: 從 inet_ntoa 看 thread safe 的 API.

del.icio.us:一看就知道 - 不 Thread-Safe 的 API digg:一看就知道 - 不 Thread-Safe 的 API spurl:一看就知道 - 不 Thread-Safe 的 API newsvine:一看就知道 - 不 Thread-Safe 的 API furl:一看就知道 - 不 Thread-Safe 的 API Y!:一看就知道 - 不 Thread-Safe 的 API 黑米共享書籤:一看就知道 - 不 Thread-Safe 的 API 推推王:一看就知道 - 不 Thread-Safe 的 API
Server side connection/session lingering
Posted on August 15th, 2009 at 18:39 by fr3@K

A great read on how to properly teardown a connection of synchronous protocols (e.g. HTTP) on the server side.

via: SO_LINGER is not the same as Apache’s “lingering close”.

del.icio.us:Server side connection/session lingering digg:Server side connection/session lingering spurl:Server side connection/session lingering newsvine:Server side connection/session lingering furl:Server side connection/session lingering Y!:Server side connection/session lingering 黑米共享書籤:Server side connection/session lingering 推推王:Server side connection/session lingering
The C++0x “Remove Concepts” Decision
Posted on August 9th, 2009 at 19:24 by fr3@K

懶人包 + Bjarne on DDJ (翻譯), from Paramecium.

Great job! Thanks, Keiko.

del.icio.us:The C++0x  digg:The C++0x  spurl:The C++0x  newsvine:The C++0x  furl:The C++0x  Y!:The C++0x  黑米共享書籤:The C++0x  推推王:The C++0x
C++0x – Concepts Rejected
Posted on July 21st, 2009 at 10:17 by fr3@K

大件事, Concepts否決了.

del.icio.us:C++0x - Concepts Rejected digg:C++0x - Concepts Rejected spurl:C++0x - Concepts Rejected newsvine:C++0x - Concepts Rejected furl:C++0x - Concepts Rejected Y!:C++0x - Concepts Rejected 黑米共享書籤:C++0x - Concepts Rejected 推推王:C++0x - Concepts Rejected
STL Performance Boost in VS2010
Posted on June 27th, 2009 at 22:18 by fr3@K

幾個月前曾在一篇文字裡寫道: 正確的運用 Rvalue References, 有可能帶來可觀的 performance gain. 前幾天看到 Visual C++ Team Blog 新貼出對 STL (VS2010 vs. VS2008) 的 performance benchmark. 在一個程度上, 該篇文字可以說驗證了這個不只我一個人獨有的看法與對 C++0x 的期待.

Rvalue-References 帶來的 performance boost 或許比不上 Multi-Core STL 來得那麼 “方便”, 但絕對是你不會想要錯過的 low hanging fruit.

C++0x 的巨浪就要來了, 你準備好了嗎?

del.icio.us:STL Performance Boost in VS2010 digg:STL Performance Boost in VS2010 spurl:STL Performance Boost in VS2010 newsvine:STL Performance Boost in VS2010 furl:STL Performance Boost in VS2010 Y!:STL Performance Boost in VS2010 黑米共享書籤:STL Performance Boost in VS2010 推推王:STL Performance Boost in VS2010

Page 1 of 7[ 1 ]2345»...Oldest