Friday, May 09, 2014

TnDao: Chinese Version of TED

TED is my favorite web resources I watch for talks about new ideas and views, technical or none-technical topics. Actually, I was involved in its translation program as volunteer and I did some video subtitle translations when I found some excellent talks.

I knew there is Chinese TED, which is called as TEDToChina. This one has been very active. Most contents there are from English TED talks with Chinese translation. Many Chinese like this web resource to open to new ideas, concepts,  and views. I have couple friends there based on strong interest in TED.

To my surprise, two days ago, I found another similar version of TED, totally in Chinese, from China. It is TnDao. It initially started in 2011 from Shanghai. Now it makes its great impact wave to Beijing. The most interesting thing of TnDao is that all the talks are concentrated on issues in China.

I watched some vedio presentations in past two days. I could not stop watching after starting one. They are really eye-open views about current China. Some make me excited, but a lots of them make my heart sad, and heavy. There are so many social issues like poor children, drags, and others. It is good to know that there are so many intellectual, talent and influential people from all levels in China realize those issues and they invest their time, efforts and money to deal with.

I just by-chance know about TnDao from Weibo, Chinese Twitter and Ximalaya, a voice based social network like internet radio. Web, internet and mobile apps are in big wave in China. There are so many people already using those technologies and services. I often talk to my English speaking friends and co-workers that now days Chinese is a very important language in social life with technology.

References



  • TnDao, Chinese version of TED with truly Chinese topics.
  • Ximalaya, Listen to what you want, anywhere and anytime, Internet Radio with huge contents of voices in Chinese.

Read More...

Thursday, May 08, 2014

.Net var (C#) Almost Everywhere, One Exception

Starting from .Net 3.0, Microsoft introduced type var in C#, as a simply way to binding strongly type. This is a very convenient way to define variables. Basically, .Net will be smart enough to infer correctly data type. It makes code maintenance and update much easy and no need to change data type in case variable types changed. I like it very much and use var almost everywhere.

However, recently I found one case this var is not able to infer explicit data type. In the case of dynamic delegate, you have to use explicit delegate type:


var myDelegate = delegate(int valueA, int valueB) { return valueA + valueB; };

.Net cannot infer what delegate type is for myDelegate. You have to use the explicit delegate type in this case:

delegate int SumOfTwoValues(int v1, int v2);
SumOfTwoValues myDelegate = delegate(int valueA, int valueB) { return valueA + valueB; };


I found this interesting exception when I was sharing my knowledge about delegate with my co-worker.

Read More...