Wednesday, February 28, 2007

咨询了一下:系统不稳定,不稳定还让客户用?

不稳定还不改?
让我再试,我试了好几天了?怎么系统都那么忙?
nnd。
除了人工服务的小姐声音挺清晰,其他简直是。。。。。。
据说 工行有很大的研发中心,光浙江工行的研发部就是整幢楼的?
我考,整幢楼的人都tmd在做什么呢?
在开会
开什么会呢?
学习
学习什么呢?
CMM,系统分析
什么系统?
收钱系统
怎么分析?
拷贝
,wow,都已经cmm 10级了,uml都用的不够了,cpu都tmd 20000多个了,怎么一启动就死循环了啊?
哦,内存太小了,1000g的内存怎么还不够啊?
系统怎么老是100%啊?
哦,知道了,硬盘太小,log存不下了。
我考,100000000000T的硬盘了,
奇怪了,怎么还100%?
知道了,操作系统不好。微软的太差了,用sun的吧,装不来啊,怎么办?
用ubuntu,光盘就能跑,这个不错。wow
奇怪,系统怎么启动不了呢,完了,网上银行不能用了。
想了一下。。。。。。
简单:提示用户稍后再试!!!
哈哈
算了,还是装微软的吧,好装。呵呵。
oh,
发工资了,
明天再装吧
用什么网上银行,给我排队去?

Elliot Liu

工商银行的 网上银行 很滥

 
刚刚用了下工商银行的 网上银行。
mmd:
服务器通讯错误。
只能查询点余额之类的。
转帐系统和死了一样。
 

Elliot Liu

Saturday, February 10, 2007

水仙花开了

水仙花开了,明天上照。
《你是苹果我是梨》,sure?
呵呵,wish Vincent back soon.
haha.My tissot watch,I like.do you ?
 

Elliot Liu

Vista issues for SetCurrentDirectory

Overwork is terrible.
But if you fix the issue which is very hard,that will be very excited.
 
The issue is occured on Microsoft new OS "Windows Vista".
if you use LoadLibrary to load one dll and want to change the current path.
please refer to the below:
and

The search path can be altered using the SetDllDirectory function. This solution is recommended instead of using SetCurrentDirectory or hard-coding the full path to the DLL.

Client Requires Windows Vista or Windows XP SP1.
Server Requires Windows Server "Longhorn" or Windows Server 2003.
Header

Declared in Winbase.h; include Windows.h.

Library

Use Kernel32.lib.

DLL Requires Kernel32.dll.
Unicode

Implemented as SetDllDirectoryW (Unicode) and SetDllDirectoryA (ANSI).

 

Elliot Liu

Wednesday, February 07, 2007

推荐2个小工具

2个工具都是 open-source的,而且从quality的角度,我个人觉得在
open source领域算是做的很出色了。
 
1、todolist
 
一个是todolist,就是用来记录todolist的,在小项目管理上,我强烈推荐它。
当然大项目的话,还是MS的project 比较好使。
www.abstractspoon.com 这里可以下载 todolist。
 
2、keePass
一个用来记录 个人密码的工具,可以支持手机,简单而实用的一个小程序。
下载:http://keepass.info/
 
 
Elliot Liu

Tuesday, February 06, 2007

一个很有用的宏-VC TIPS

VC's #pragma message

Ever tried to add the line number of a compile time message to your source code?

#pragma message(__FILE__ __LINE__ ": important part to be changed!!"

Won't work. Anyway, with some tricks you can do exactly this. The nice thing is that you will never ever again need to use "Find" to locate a particular message in your source code. Just double click the line with your message in the output window and VC's editor will jump to that location.

Here is what you need to add to your source code to make this work:

#define __STR2__(x) #x

#define __STR1__(x) __STR2__(x)

#define __LOC__ __FILE__ "("__STR1__(__LINE__)") : Warning Msg: "

#define __LOC2__ __FILE__ "("__STR1__(__LINE__)") : "

Now you can use the #pragma message to add the location of the message:

#pragma message(__LOC__ "important part to be changed")

#pragma message(__LOC2__ "error C9901: wish that error would exist")

The preceding pragmas will yield the following output from the compiler (preprocessor)

C:\code\pragma\test.cpp(33) : Warning Msg: important part to be changed

c:\code\pragma\test.cpp(34) : error C9901: wish that error would exist

Have fun with your new #pragma's...

Elliot Liu

 

龙芯与国芯

"江苏龙梦炮轰四川国芯:要做中国微软是闹剧"

详见:http://news.csdn.net/n/20070206/101226.html

当初还听龙芯公司的一些人说,他们(国芯)的整个系统大小只有20K

20K的系统,你能想象是什么东西?

 

据说20k的系统还是个OS 哦,信不信由你,信则有,不信则无?阿米托付

 

Elliot Liu