MVC vs. MVP

Extracted from Microsoft Composite UI Applicatino Block Help pages.

The two most common patterns are Model-View-Controller (MVC) and
Model-View-Presenter (MVP). Both models are equally valid, though the MVP model
is generally easier to implement. MVC requires events that are exposed from the
model to update the view, whereas MVP depends on the presenter to update the
view directly.

Continue reading

Compile C# program from command line

You can compile this program by simply running the C#
command-line compiler (csc.exe) against the source
file, like csc test.cs . If you want to compile code from the command line using the csc command, you should be aware that the .NET command-line
tools, including csc, are only available if certain
environment variables have been set up.
 

Continue reading

ZT: Lingering regrets from Apple days

I read this article from Applepeels. I have to agree with the opinion inside this blog, which shaked my intention to join Apple for its Bio/HPC market. BTW, I would also highly recommend others to read all the comments for this article, where you can get most of the insides of working with enterprise customers.

Yet Apple products meet the needs of some enterprises, and those customers continue to purchase the products in spite of Steve

 

Continue reading

ZT: 美国资讯市场,华人还有多少机会

现在美国人的普遍印象是:中国是世界大工厂,生产价廉物美的商品,而印度是个培训基地,专门培养资讯技术人材。资讯技术(IT)这一行,曾是华人移
民的金饭碗,曾几何时,愈来愈多的印度公司来美承包业务,重重地打击了行内的华裔精英。很多人都在问:在美国资讯科技市场,华人还有多少机会?
 

Continue reading

colinux TAP network adaptor can not be installed

This is a rare problem that others may meet because first of all not many people runs coLinux, secondly not many people would like to mess up their registry data like me. Anyway, I encountered a problem when installinging coLinux where the TAP network adaptor can not be installed. The manual installation fails with error “The system cannot find the file specified”.

Continue reading