Showing posts with label Others. Show all posts
Showing posts with label Others. Show all posts

n475被和谐了!

Monday, June 25, 2007

昨天乘n475从上海回杭州。发现它的运行时间增加了十五分钟。才发现铁道部的确在努力构建和谐火车。此车原先的运行时间是1742-1910。

现在改在1737发车,比沪杭加动车前提前了五分钟,后面跟着新加的动车d677,1750-1908。于是我很简单的推算,475提早五分钟发车是为了提前五分钟1905到杭州。很开心的走上bsp,觉得bsp比动车好,一排只有四个人,还便宜六快钱,不少哦,10几%了。刚开了一会儿就觉得不对劲,这个速度不象原来的,在慢慢摇。果不其然,1745火车便停下了,预感不会是为了避让动车吧。左等右等,大概十分钟后窗边白色呼宵而过。最后475 1930才到杭州。

动车快我没有意见,但是没有必要这样吧,完全可以把动车的开行时间和475换一下或者直接推迟开车时间,也不必让bsp停十几分钟来证明动车快吧,bsp也可以用到更需要的地方吧。但据说bsp和25t也很多地方想要吧。其实我想到的解释很简单,显示动车很快,促进和谐吧。至少这样搞下次我会座动车了。

......

[阅读全文]

新版本的中文Windows Live桌面产品发布

Thursday, May 31, 2007

包括Live Writer、Live Mail和Live Messanger。

下载地址:

http://get.live.com/betas/home

如果想访问英文主页和下载英文产品

地址:http://get.live.com/en-us/betas/home

其中Live Writer完美支持Blogger的Label,不错!

如果使用过程有什么问题,这个地方给了一些处理方法。

......

[阅读全文]

Live Writer的代码插件测试

Saturday, March 17, 2007

   1: private static SqlDataReader ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, string commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership)
   2: {
   3:     if (connection == null) throw new ArgumentNullException("connection");
   4:  
   5:     bool mustCloseConnection = false;
   6:     // Create a command and prepare it for execution
   7:     SqlCommand cmd = new SqlCommand();
   8:     try
   9:     {
  10:         PrepareCommand(cmd, connection, transaction, commandType, commandText, commandParameters, out mustCloseConnection);
  11:  
  12:         // Create a reader
  13:         SqlDataReader dataReader;
  14:  
  15:         // Call ExecuteReader with the appropriate CommandBehavior
  16:         if (connectionOwnership == SqlConnectionOwnership.External)
  17:         {
  18:             dataReader = cmd.ExecuteReader();
  19:         }
  20:         else
  21:         {
  22:             dataReader = cmd.ExecuteReader(CommandBehavior.CloseConnection);
  23:         }
  24:  
  25:         // Detach the SqlParameters from the command object, so they can be used again.
  26:         // HACK: There is a problem here, the output parameter values are fletched 
  27:         // when the reader is closed, so if the parameters are detached from the command
  28:         // then the SqlReader can磘 set its values. 
  29:         // When this happen, the parameters can磘 be used again in other command.
  30:         bool canClear = true;
  31:         foreach (SqlParameter commandParameter in cmd.Parameters)
  32:         {
  33:             if (commandParameter.Direction != ParameterDirection.Input)
  34:                 canClear = false;
  35:         }
  36:  
  37:         if (canClear)
  38:         {
  39:             cmd.Parameters.Clear();
  40:         }
  41:  
  42:         return dataReader;
  43:     }
  44:     catch
  45:     {
  46:         if (mustCloseConnection)
  47:             connection.Close();
  48:         throw;
  49:     }
  50: }

还不错,和WLW结合得挺好的,暂时就先用它吧

作者的blog,但是他给的那个插件下载地在我这里直接是登录不上去的,你呢?

......

[阅读全文]

A Data Driven Switch Menu On CodeProject.com

Wednesday, December 20, 2006

Yesterday, I write a article on how to make a switch menu with javascript. Today I read a article on codeproject.com named How To Implement a NavigationPanel Using AJAX. The author do a really good work to make a Ajax data driven navigation panel by asp.net and SQL Server. With the source code of the article we can move data source to XML files and so on. 

I decorated the code in my last article. Unfortunately, if you use Firefox to browse it, the style of code looks ugly. I used the open source code coloried tool wriiten by javascript dp.SyntaxHighlighter. I am tring to modify it to satify my requirement better the whole day but with little result.

what a bad day!

......

[阅读全文]

China First Warcraft 3 Network Live Broadcast

Thursday, November 30, 2006

Everyone who played starcraft or concerned about Electronic Competition would know Electronic Competition  in starcraft have great development. Korean government have confirm its legal position and contribution to national economics. yellow, nada and oov had become  star in Korea. but war3 and war3 player has less Influence.

China had develop starcraft before, but there is still great distance between Chinese and Korean player. as Sky(a famous Chinese war3 player) continually won two championship in WCG which represent highest award in Electronic Competition. China decided to make  breakthrough in war3 even in Electronic competition so that Chinese government would confirm its legal position.

Nowadays China hold a China-Korea war3 star competition to expand Electronic Competition influence in china. the most significant feature of this competition is live Network Broadcast by a software called ppstream, so many gamer could see it through Internet. I think this is a good try to develop China Electronic Competition. The emcee of live broadcast give me such feeling as young and humor. It's the style I like. But I found that emcee give so strong Chinese bias although they are Chinese, So do I. it makes me a little displeasure because I think they should take neutrality in their position. If you are just a audience you can express your whole feeling but you are not. However I still like this game although I love starcraft more than war3 and hope it can expand Electronic Competition influence in china.

......

[阅读全文]

Demo Article From Live Writer

Wednesday, November 29, 2006

Hello everyone

Additional text

恐怖

Test picture for plug-in Flickr4Writer

Link to sacranto.blogspot.com

No support for Label

del.icio.us tags:

......

[阅读全文]

New Blog Start!

This is demo article when I come to blogger.com I am trying to hold on this blog although I have discard a lot. Maybe there are some artiles written by English, Please give tolerance to my clumsy English.^-^

......

[阅读全文]