2014年10月21日 星期二

微波爐煮清雞胸肉


  1. 取清雞胸肉約200g,置於盤底
  2. 800W微波5分鐘,完成
問題:雞肉在微波爐內會一直爆炸,事後清理很麻煩。宜改用有蓋微波容器。

微波爐煮冷凍水餃


  1. 將冷凍水餃置於微波容器底部
  2. 取飲水機熱水,淹過水餃70%高度
  3. 加蓋,上蓋留空隙
  4. 800W微波3分鐘
  5. 把水倒掉,完工

2014年9月12日 星期五

ares_gethostbyname() is slow on some Windows machines

The function ares_gethostbyname() in c-ares library, as of version 1.10.0, is slow on some Windows machines.
The more unconnected network interface the machine has, the slower the DNS lookup may be.
This pull request intended to solve this issue, although it is not merged into code base yet.

Per Microsoft's document on GetAdaptersAddresses function, GetAdaptersAddresses(), called by get_DNS_AdaptersAddresses() in c-ares library,
is implemented only as a synchronous function. The GetAdaptersAddresses function requires a significant amount of network resources and time to complete since all of the low-level network interface tables must be traversed.
Thus it makes sense to postpone calls to get_DNS_AdaptersAddresses() later. The only concern is that I'm not sure whether the functionality is still correct or not.

2014年8月2日 星期六

StrengthsFinder 2.0

More about StrengthsFinder 2.0

ISBN:978-1-59562-015-6
作者:Tom Rath

參加公司內部訓練課程時聽說到這本。
別的書教你怎麼克服、如何改善弱點。這本書教你發掘優點、發揮長處,可以獲得更好的成果。

工商服務:二手書出售,請洽我的露天賣場已售出