<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Welcome to My blog</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/608/rss</id><updated>2005-07-02T07:07:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/608/rss"/><entry><id>http://www.cnblogs.com/earthharp/archive/2005/01/28/98700.html</id><title type="text">更改VS.NET 默认SCM Provider的方法</title><summary type="text">找到HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\ProviderRegKey键更改为自定义Provider在注册表中的位置。比如，从Software\Microsoft\SourceSafe改为SOFTWARE\Perforce\p4可以把SCM Provider从VSS改成Perforce, 反之亦然</summary><published>2005-01-28T03:21:00Z</published><updated>2005-01-28T03:21:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><link rel="alternate" href="http://www.cnblogs.com/earthharp/archive/2005/01/28/98700.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/archive/2005/01/28/98700.html"/><content type="text">找到HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\ProviderRegKey键更改为自定义Provider在注册表中的位置。比如，从Software\Microsoft\SourceSafe改为SOFTWARE\Perforce\p4可以把SCM Provider从VSS改成Perforce, 反之亦然</content></entry><entry><id>http://www.cnblogs.com/earthharp/archive/2005/01/27/97931.html</id><title type="text">关于VS.NET的SCM Plug-in</title><summary type="text">如何替换vs.net的scm plug-in?使用一种SCM和VS.NET集成开发， 怎样把这个SCM换成其他的SCM。</summary><published>2005-01-27T00:18:00Z</published><updated>2005-01-27T00:18:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><link rel="alternate" href="http://www.cnblogs.com/earthharp/archive/2005/01/27/97931.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/archive/2005/01/27/97931.html"/><content type="text">如何替换vs.net的scm plug-in?使用一种SCM和VS.NET集成开发， 怎样把这个SCM换成其他的SCM。</content></entry><entry><id>http://www.cnblogs.com/earthharp/archive/2004/11/05/60841.html</id><title type="text">Lippman的宣传</title><summary type="text">Lippman：我想如果你不喜欢编程，那么编程的生活将是十分恐怖的！而且如果你仅仅是出于对金钱的考虑而选择程序员这一职业，而并不是真心喜爱这个工作，那么我奉劝你还是早点抽身的好。 但是，如果你喜欢创造，那么你可以考虑做一名程序员。今天的世界离不开电脑，几乎没有什么事情不是由电脑来运作的。而且你可以想想编程是一件多么奇妙的事情啊。我认为，电脑技术是人类历史上最具创造力的技术，你必须能感受到它的奇...</summary><published>2004-11-05T09:01:00Z</published><updated>2004-11-05T09:01:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><link rel="alternate" href="http://www.cnblogs.com/earthharp/archive/2004/11/05/60841.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/archive/2004/11/05/60841.html"/><content type="text">Lippman：我想如果你不喜欢编程，那么编程的生活将是十分恐怖的！而且如果你仅仅是出于对金钱的考虑而选择程序员这一职业，而并不是真心喜爱这个工作，那么我奉劝你还是早点抽身的好。 但是，如果你喜欢创造，那么你可以考虑做一名程序员。今天的世界离不开电脑，几乎没有什么事情不是由电脑来运作的。而且你可以想想编程是一件多么奇妙的事情啊。我认为，电脑技术是人类历史上最具创造力的技术，你必须能感受到它的奇...</content></entry><entry><id>http://www.cnblogs.com/earthharp/archive/2004/10/16/52976.html</id><title type="text">Important Issue About DataReader and DataGrid's Paging</title><summary type="text">使用DataReader的重要提示：在Reader没有读完数据之前， Reader是不会自动关闭的。Portal的DAL中大量使用了SqlDataReader用在DataBinding中以提高效率， 不知道有没有注意到在使用中都显式的关闭了DataReader. 若数据在DataBinding的过程中全部读出，可以不需要手动去关闭DataReader。但是如果数据在读出过程中中断(这种情况经常出现...</summary><published>2004-10-15T17:35:00Z</published><updated>2004-10-15T17:35:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><link rel="alternate" href="http://www.cnblogs.com/earthharp/archive/2004/10/16/52976.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/archive/2004/10/16/52976.html"/><content type="text">使用DataReader的重要提示：在Reader没有读完数据之前， Reader是不会自动关闭的。Portal的DAL中大量使用了SqlDataReader用在DataBinding中以提高效率， 不知道有没有注意到在使用中都显式的关闭了DataReader. 若数据在DataBinding的过程中全部读出，可以不需要手动去关闭DataReader。但是如果数据在读出过程中中断(这种情况经常出现...</content></entry><entry><id>http://www.cnblogs.com/earthharp/archive/2004/10/07/49705.html</id><title type="text">上海照的</title><summary type="text"/><published>2004-10-07T15:23:00Z</published><updated>2004-10-07T15:23:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><link rel="alternate" href="http://www.cnblogs.com/earthharp/archive/2004/10/07/49705.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/archive/2004/10/07/49705.html"/><content type="text"/></entry><entry><id>http://www.cnblogs.com/earthharp/archive/2004/07/28/27866.html</id><title type="text">cookie的过期时间-- 郁闷又恼火</title><summary type="text">由客户端取得的cookie之中Expires属性为默认值0001-1-1 0:00:00!因此不要指望 HttpCookiecookie=Request.Cookies["A"];if(cookie==null){cookie=newHttpCookie("A","0");cookie.Expires=DateTime.Now.AddDays(1);cookie.Value=45.ToString...</summary><published>2004-07-27T18:44:00Z</published><updated>2004-07-27T18:44:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><link rel="alternate" href="http://www.cnblogs.com/earthharp/archive/2004/07/28/27866.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/archive/2004/07/28/27866.html"/><content type="text">由客户端取得的cookie之中Expires属性为默认值0001-1-1 0:00:00!因此不要指望 HttpCookiecookie=Request.Cookies["A"];if(cookie==null){cookie=newHttpCookie("A","0");cookie.Expires=DateTime.Now.AddDays(1);cookie.Value=45.ToString...</content></entry><entry><id>http://www.cnblogs.com/earthharp/archive/2004/06/02/12820.html</id><title type="text">可为空的基础类型</title><summary type="text">DB中经常出现元组的某个项为空的情况若对于取出的值为NULL, 基础类型是不能表达的。需要自己定义基础类型的wrapper或者使用针对于DB的基础类型C# 2.0中引入的Nullable type可以较好的解决此问题。int? a = 123;这就是一个Nullable type, 在使用中，可以从DB从取出值并进行如下的比较if (a == null){...}或者if (a != null){...</summary><published>2004-06-01T16:08:00Z</published><updated>2004-06-01T16:08:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><link rel="alternate" href="http://www.cnblogs.com/earthharp/archive/2004/06/02/12820.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/archive/2004/06/02/12820.html"/><content type="text">DB中经常出现元组的某个项为空的情况若对于取出的值为NULL, 基础类型是不能表达的。需要自己定义基础类型的wrapper或者使用针对于DB的基础类型C# 2.0中引入的Nullable type可以较好的解决此问题。int? a = 123;这就是一个Nullable type, 在使用中，可以从DB从取出值并进行如下的比较if (a == null){...}或者if (a != null){...</content></entry><entry><id>http://www.cnblogs.com/earthharp/archive/2004/05/14/9564.html</id><title type="text">Bad Smell</title><summary type="text">对代码的膨胀越来越觉得提心吊胆看样子可能是某个部分没有做好充分的准备虽然还没有进入焦油坑，但每步都觉得比以前艰难， 这也许是一个不可能改变的事实。哪怕是使用接受变化的开发方法，也无法在程序复杂性不断提升的同时保证修改难度不变。一次积极的hacker式开发尝试确实有许多感想。前置设计绝对是必要的，虽然对于自己并不熟悉的领域，采用蠕动式探索(TracerBullet)能取得很多有益的提示。但是对于整体...</summary><published>2004-05-14T11:40:00Z</published><updated>2004-05-14T11:40:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><link rel="alternate" href="http://www.cnblogs.com/earthharp/archive/2004/05/14/9564.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/archive/2004/05/14/9564.html"/><content type="text">对代码的膨胀越来越觉得提心吊胆看样子可能是某个部分没有做好充分的准备虽然还没有进入焦油坑，但每步都觉得比以前艰难， 这也许是一个不可能改变的事实。哪怕是使用接受变化的开发方法，也无法在程序复杂性不断提升的同时保证修改难度不变。一次积极的hacker式开发尝试确实有许多感想。前置设计绝对是必要的，虽然对于自己并不熟悉的领域，采用蠕动式探索(TracerBullet)能取得很多有益的提示。但是对于整体...</content></entry><entry><id>http://www.cnblogs.com/earthharp/archive/2004/04/26/7744.html</id><title type="text">Choice</title><summary type="text">本来准备把所有编译错误都写到一个List中，在编译结束后再全部输出。可发现这样做有好几个缺点：1. 编译错误与文本行struct Line相联系。如果在一个List中，就会大量插入Line结构。Line结构中保存文本行的大小默认为500byte, 如果错误多起来空间消耗是非常恐怖的。我考虑了使用FlyWeight节省空间，但是如果source文件很大，FlyWeight依然不能给我带来多大优点。编...</summary><published>2004-04-26T15:31:00Z</published><updated>2004-04-26T15:31:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><link rel="alternate" href="http://www.cnblogs.com/earthharp/archive/2004/04/26/7744.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/archive/2004/04/26/7744.html"/><content type="text">本来准备把所有编译错误都写到一个List中，在编译结束后再全部输出。可发现这样做有好几个缺点：1. 编译错误与文本行struct Line相联系。如果在一个List中，就会大量插入Line结构。Line结构中保存文本行的大小默认为500byte, 如果错误多起来空间消耗是非常恐怖的。我考虑了使用FlyWeight节省空间，但是如果source文件很大，FlyWeight依然不能给我带来多大优点。编...</content></entry><entry><id>http://www.cnblogs.com/earthharp/archive/2004/04/21/6760.html</id><title type="text">做了一个小型的Dump以便于调试使用</title><summary type="text">马上就要进入对象系统的实现了 感觉美妙VC6对template的支持真是太一般了, VC7.1到VC6的移植工作几乎全受到template的影响.entry void Fun(f32 a, f64 b){st.0st.1st.2st.3ldc.s 3addret}void SunjingisBaobao(){ldstr "yes"prtsret}f32 IWillWin(){ldc.s 1ret}...</summary><published>2004-04-20T22:57:00Z</published><updated>2004-04-20T22:57:00Z</updated><author><name>Agent</name><uri>http://www.cnblogs.com/earthharp/</uri></author><link rel="alternate" href="http://www.cnblogs.com/earthharp/archive/2004/04/21/6760.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/earthharp/archive/2004/04/21/6760.html"/><content type="text">马上就要进入对象系统的实现了 感觉美妙VC6对template的支持真是太一般了, VC7.1到VC6的移植工作几乎全受到template的影响.entry void Fun(f32 a, f64 b){st.0st.1st.2st.3ldc.s 3addret}void SunjingisBaobao(){ldstr "yes"prtsret}f32 IWillWin(){ldc.s 1ret}...</content></entry></feed>
