It is just hilarious.
YouTrav Website Uploaded
February 16th, 2010 by admin No comments »Recently I am creating a website for the e-commerce project. The basic idea is that we are creating an online matching platform to help US travelers find companions in China.
The website is already uploaded at www.youtrav.net. It is temporarily held by the school server.
Global Youth Concept Website Upload
December 9th, 2009 by admin 2 comments »The complete website has been uploaded to the official URL globalyouthconcept.org
More time should be spent on this site but exams are coming.
Have to say that life is not easy and it takes courage to keep on what you want.
Let’s go, Big Red!
Global Youth Concept Website
November 20th, 2009 by admin No comments »I am in charge of creating the official website for Global Youth Concept, which is a charitable organization under Cornell Institute of Public Relation.
It was a fun work to do, although I have so much other work to do. I am quite fond of the basic style I created for the organization in two days.
The website is temporarily hosted under my website, you can visit it using alex-niu.com/GYC/index.html
And it will put on their official domain at GlobalYouthConcept.org next week.

Microsoft Research Travel Guide 旅游指南
September 16th, 2009 by admin No comments »基本介绍
Microsoft Research Travel Guide旅游指南是由微软亚洲研究院 (Microsoft Research Asia) 与微软亚洲搜索技术中心 (Microsoft Search Technology Center Asia) 研发的,为用户提供旅游资讯服务的信息平台。
Travel Guide对超过20万篇的网友游记进行信息筛选和分析,抽取出三万多个景点,提供景点的特色描述以及这些景点在全年各个月份中的热门排行情况。
Travel Guide以热门旅游、专题旅游、周边旅游与地图相结合的可视化方式组织推荐,同时提供旅游搜索功能。当用户给定任意搜索词(景点或特色词),Travel Guide能够给出与该搜索词相关的景点或商户,并且根据它们与搜索词之间的相关度或热门程度排序。
除此之外,Travel Guide还提供景点信息介绍、热度趋势统计图、图片浏览、游记浏览、餐饮推荐、住宿推荐等功能。
特色功能
1.时令热门景点城市推荐
我们为用户提供当月的热门景点排行榜,数据依据来源于网友游记的数量统计。同时,用户可以通过改变筛选条件、时间线自定义热门排行榜。
2.专题旅游集中推荐
通过悠悠古镇、自然风光、历史古迹、海岛度假等8组时下最热门的旅游专题,为用户分类组织景点推荐。
3.城市周边景点推荐
我们为您的周末休闲短途旅游提供帮助,通过切换中心城市,用户可以得到感兴趣城市周边的热门景点推荐。
4.景点特色快速了解
Travel Guide对于景点特色词的提取,使用户可以对该景点有更加直观的、更加快速的认识和理解。用户通过点击特色词会得到相关景点榜单或商户推荐列表。
5.特色词搜索得到景点推荐
Travel Guide提供多种搜索景点的方式,您可以通过输入景点名称、景点特色等形式来寻找自己感兴趣的景点。
例如:
搜索”北京“,系统直接定位并进入”北京“详细的景点页面;

搜索”蜜月“,得到当前范围适合蜜月旅游的相关景点列表,同时,您还可以选择查看全国范围内其他适合蜜月度假的旅游好去处;

搜索”北京 小吃“,用户得到北京地域范围内与小吃相关的景点榜单和商户推荐列表。

6.景点信息介绍
景点页面包含了景点的基本信息,包括景点图片、景点简介、景点全年各月趋势图、相关景点榜单、餐厅列表、旅馆列表、网友游记以及导游图等。
7.网友游记提供给用户旅游参考
Travel Guide已有20万篇通过网络抓取得到的游记,并不断扩充数据的来源。用户可以在地图上景点浏览窗口中快速查看相关游记,也可以通过在景点页面下展开游记窗口查看全部相关游记。



本网站目前仅支持IE浏览器,暂不支持Firefox、Safari 、Opera等浏览器。
非常感谢使用Microsoft Research Travel Guide旅游指南作为您的旅游资讯指南。同时,我们也非常期待得到您的反馈,您的宝贵意见将给予我们极大的帮助,谢谢!
Microsoft Travel Guide — 旅游指南
September 15th, 2009 by admin 1 comment »暑假参与的PROJECT终于修改完成正式上线,心里好激动啊。从这次RELEASE版本看,整体的流畅性和用户体验都好了很多。整个使用起来都非常的流畅。
旅游指南是为中国用户提供了集搜索目的地,旅游信息,热门地点,游记等等所集合的一个silverlight完成的旅游信息站点。个人认为整个信息量非常完成,提供了很多实用的功能。可能都已经到信息过多,无从下手的感觉了。
参与这个项目两个月,学到了很多东西。至少熟悉了silverlight和bing map SDK。 其中有不少小东西是我完成的,比如地图下的timeline,地图左上的contralbar等等。微软让我学到很多,也让我知道了很多很多的不足。到了康奈尔很多人都会问你经历,当我说I did two internships with Microsoft的时候,别人都会说哇哦。这学期会有两个大PROJECT需要做,一个会做MAP的东西,另一个做Eutainment game,而我要当System lead. 压力很大,但我也很期待能够踏踏实实的完成这个master’s degree。无可否认,我将会学到很多东西。
website: travel.msra.cn
Screen-shots:
Google Wave 中文:谷歌波霸?
July 6th, 2009 by admin 1 comment »Google gives preview of its new product called Google Wave in Google I/O. It says that “Google Wave is a new tool for communication and collaboration on the web, coming later this year.” I have no idea what exactly it is but some people say that it is google’s new tool to compete with Flash/Silverlight. Will it be the new surprise from Google? Definitely it is. But will it change the situation of the whole RIA? I have no idea.
Check the pictures:
People can add their friends to Wave. And they can plan the activities for their friends.
Combined with google’s various tools such as Google map search blah blah blah, people can share their views.
And use the google map functions, they can plan the routine and etc.
ANYWAY, I do not have super interest on this product because It sounds more like a super chatting room. But google will never let us down, will they?
Serializing Objects to Isolated Storage in Silverlight 2 / Silverlight2中序列化和反序列化
July 5th, 2009 by admin 1 comment »最近遇到silverlight2中序列和反序列以及存储的问题,总结了一下。
因为silverlight2库的问题,silverlight2并不支持BinaryFormatter的序列化和反序列化的方式。如果要实现序列化,可以是用XML的方式。不过我们也可以运用System.Runtime.Serialization里面的DataContractSerializer来实现。
结合silverlight2的独立储存技术,让我们来看看如何运用DataContractSerializer来serialize object. Note that the object will be serailized to an XML format and saved in the directory of “C:\users\Administrator\AppData\LocalLow\Microsoft\Silverlight\….. The default maximum volume of the XML file is 1MB which is supported by Silverlight 2. But you can apply for larger space using “TryIncreaseQuotaTo” under “IsolatedStorageFile”
So if we have an object called List<FavoriteItem> for saving user’s controls last time. We want to save it and automatically load it next time the users comes again.
You can then use the DataContractSerializer as follows to save List<FavoriteItem>data to Iso storage:
序列化List<FavoriteItem>对象
public List<FavoriteItem> FavoriteList = new List<FavoriteItem>();
public string strFile = "favorite.xml";
public void saveFavorite()
{
try
{
//apply for the storage in Silverlight
using (IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication())
{
string dirPath = "MyDir";
if (!store.DirectoryExists(dirPath))
{
//Create directory
store.CreateDirectory("MyDir");
}
string filePath = Path.Combine("MyDir", strFile);
//MessageBox.Show(strFile);
if (store.FileExists(filePath))
{
store.DeleteFile(filePath);
}
//Serialize using DateContractSerializer
IsolatedStorageFileStream fileStream = store.CreateFile(filePath);
DataContractSerializer serializer = new DataContractSerializer(typeof(List<FavoriteItem>));
serializer.WriteObject(fileStream, FavoriteList);
fileStream.Close();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
And the following to read it:
反序列化List<FavoriteItem>
public List<FavoriteItem> loadFavorite()
{
try
{
List<FavoriteItem> listHistory;
using (IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication())
{
string filePath = Path.Combine("MyDir", strFile);
if (store.FileExists(filePath))
{
//Deserialize
IsolatedStorageFileStream fileStream = store.OpenFile(filePath, FileMode.Open);
DataContractSerializer serializer = new DataContractSerializer(typeof(List<FavoriteItem>));
listHistory = (List<FavoriteItem>)serializer.ReadObject(fileStream);
fileStream.Close();
return listHistory;
}
else
{
return null;
}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
return null;
}
}
Thanks for visiting and pointing out mistakes. 原创转载请注明。
Alex Niu













Alex-Niu.com is a personal blog for myself. It is a
place to record trifles, to retain happiness and to
reminisce.