星期三, 一月 23, 2013
S.C.A.M 10
If gun free zone is the reason denver shooter picked the theatre and CCW makes everybody safer. Why isn't that the case for airplanes?
星期五, 十月 05, 2012
犀利の痞子 @ 溫哥華美食世界: Lenovo Ideapad A1 - ROOT/ROM 教學 ( 新增ICS 4.0 07/14)...
犀利の痞子 @ 溫哥華美食世界: Lenovo Ideapad A1 - ROOT/ROM 教學 ( 新增ICS 4.0 07/14)...: 前言: 這篇真的是騙文章數的 為什麼呢... 因為這台真的很好ROOT 你唯一需要的就是膽量而已... 不過該說的還是要說: 本人不為任何磚掉的機器負責, 請各位三思而後行 這篇參考的來源: 這 裡(paulnelson88) 跟 這裡(KiyoeHK) 首先, ...
星期三, 五月 09, 2012
星期五, 五月 04, 2012
How to access an SD card with the Sony Tablet S
On Android version 3.2.1, the applications pre-installed by Sony on the Tablet S only search the internal “USB storage” which is mapped to /mnt/sdcard/. You can access your SD card from the path /mnt/sdcard2/ and the following instructions will help make it appear to enable easy access to your files:
- Download and install ES File Explorer from Google Play;
- Open the application and go to Menu > Settings;
- Under “Path settings” enable the checkbox “Up to Root”;
- Go back to the local file listing and press the “Up” button on the toolbar;
- You should now see the folders “sdcard” and “sdcard2” – the second one contains your SD files;
- To set this as a favourite, long-press on the “sdcard2” folder and select “Bookmark”.
星期一, 四月 02, 2012
跑自己的步,让别人骑车去吧 1
嗯,目前也就这么一个标题,前阵子在newsmth推荐文章一个说欣赏古典音乐的,说什么古典音乐能体现当年人的哲学思想云云... 对俺来说,音乐/电影/游戏这些体现的都是娱乐价值... 不能让俺娱乐的,俺不会去吊它。
别人喜欢骑车让他们骑去,俺小时候在北京骑太多,现在更喜欢跑步... 无论是成年人还是小孩子,喜欢什么,不喜欢什么是个很主观的东西,为了装13而刻意去“欣赏”一个什么,实在不是什么成熟的表现。
停了好几天不知道能继续写什么,怎么写。周末想到了一个话题,就是当年江奶奶提倡的“高雅艺术”。其实要求艺术必须“和谐的”,很久以前就有,当年的教廷就禁止那些不和谐的艺术,最后宗教改革下面,新教徒和旧教徒厮杀,不同派别的新教徒们相互厮杀,甚至和教廷联合起来屠杀其它派别的新教徒,可算是河蟹的极致了。[1]
<1Q84>开头说什么某人听到一个曲子,很少人能分辨出来,他却可以如何如何,就懒得继续了。对日韩文化无爱,今天早上听古典音乐台,一个曲子感觉很不同,查了下,果然是贝多芬的。记得以前有音乐老师对维也纳新年音乐会就很排斥,都是些庸俗的宫廷舞曲,乏善可陈。古典音乐和现代音乐其实也一样,里面充斥了大量平凡和流行的东西,莫扎特的流行小调,真的就那么“高雅”?一个3分钟动机用交响乐队不同音部变奏来变奏去一个小时,就变成了充满这些思想的高雅诗篇么?
牛顿说"我们都是站在巨人的肩膀上面",这人自己通过英国皇家学院院长地位窃取了不少“巨人”的研究成果,牢牢的站在别人肩膀上面,这话先不提。我们这些现代人,从文化艺术科学上面,其实都是站在巨人的肩膀上面生活的。古时候没有扩音器材,所以出现了戏剧/歌剧,想办法三腔共鸣,让人体发出最大的声音,或者是大乐队,要么是小客厅演奏,总之就是想办法让人听清楚,不知道怎么就变成了“科学”的发音方法,殊不知戏曲和歌剧这些唱什么都听不清的东西,都是受到以前生活条件的局限。
九斤老太每天都在念叨,一代不如一代,一代不如一代,而现在的那些“特立独行”要求人文精神的腐儒们,也总是喜欢说解放后没有大师了,就好像解放前在大师的影响下,中国蓬勃发展,人民生活幸福一样。殊不知 “四体不勤,五谷不分,孰为夫子?” 宋朝岁供于辽,燕云十六州尽数为虏所有,二帝精于文字而囚于金, 文人糜烂偏安,歌舞升平,而蒙古铁骑到处,伏尸遍野。至明朝党争不休,武将碑文官任意杀戮,而大儒们领军总是一败涂地,别人追杀几十里尸沉遍野,偏偏又能杀良冒功,粉饰太平。明末的大儒们不是临危一死报君王就是改换门庭继续做官,毫无廉耻。
呃,这个扯得更远了,继续说艺术的东西吧。文人所推崇的文学,人文精神,和其它一些东西有共同性,就像耶稣所在时候的犹太贵族所说:平民不守法。贵族们,僧侣们高兴了就编出一条上帝发布的法令,周一不许打嗝,周二出门不能先迈右脚,根本记不住,谈和遵守?对于高高在上的它们来说,艺术就和很多其它东西一样,是特权的表现,现在的213青年们也喜欢跟风,在一些事情上面表现出自己的与众不同,然后昏昏然也有种“贵族”的感觉了。
待续...
嗯,目前也就这么一个标题,前阵子在newsmth推荐文章一个说欣赏古典音乐的,说什么古典音乐能体现当年人的哲学思想云云... 对俺来说,音乐/电影/游戏这些体现的都是娱乐价值... 不能让俺娱乐的,俺不会去吊它。
别人喜欢骑车让他们骑去,俺小时候在北京骑太多,现在更喜欢跑步... 无论是成年人还是小孩子,喜欢什么,不喜欢什么是个很主观的东西,为了装13而刻意去“欣赏”一个什么,实在不是什么成熟的表现。
停了好几天不知道能继续写什么,怎么写。周末想到了一个话题,就是当年江奶奶提倡的“高雅艺术”。其实要求艺术必须“和谐的”,很久以前就有,当年的教廷就禁止那些不和谐的艺术,最后宗教改革下面,新教徒和旧教徒厮杀,不同派别的新教徒们相互厮杀,甚至和教廷联合起来屠杀其它派别的新教徒,可算是河蟹的极致了。[1]
<1Q84>开头说什么某人听到一个曲子,很少人能分辨出来,他却可以如何如何,就懒得继续了。对日韩文化无爱,今天早上听古典音乐台,一个曲子感觉很不同,查了下,果然是贝多芬的。记得以前有音乐老师对维也纳新年音乐会就很排斥,都是些庸俗的宫廷舞曲,乏善可陈。古典音乐和现代音乐其实也一样,里面充斥了大量平凡和流行的东西,莫扎特的流行小调,真的就那么“高雅”?一个3分钟动机用交响乐队不同音部变奏来变奏去一个小时,就变成了充满这些思想的高雅诗篇么?
牛顿说"我们都是站在巨人的肩膀上面",这人自己通过英国皇家学院院长地位窃取了不少“巨人”的研究成果,牢牢的站在别人肩膀上面,这话先不提。我们这些现代人,从文化艺术科学上面,其实都是站在巨人的肩膀上面生活的。古时候没有扩音器材,所以出现了戏剧/歌剧,想办法三腔共鸣,让人体发出最大的声音,或者是大乐队,要么是小客厅演奏,总之就是想办法让人听清楚,不知道怎么就变成了“科学”的发音方法,殊不知戏曲和歌剧这些唱什么都听不清的东西,都是受到以前生活条件的局限。
九斤老太每天都在念叨,一代不如一代,一代不如一代,而现在的那些“特立独行”要求人文精神的腐儒们,也总是喜欢说解放后没有大师了,就好像解放前在大师的影响下,中国蓬勃发展,人民生活幸福一样。殊不知 “四体不勤,五谷不分,孰为夫子?” 宋朝岁供于辽,燕云十六州尽数为虏所有,二帝精于文字而囚于金, 文人糜烂偏安,歌舞升平,而蒙古铁骑到处,伏尸遍野。至明朝党争不休,武将碑文官任意杀戮,而大儒们领军总是一败涂地,别人追杀几十里尸沉遍野,偏偏又能杀良冒功,粉饰太平。明末的大儒们不是临危一死报君王就是改换门庭继续做官,毫无廉耻。
呃,这个扯得更远了,继续说艺术的东西吧。文人所推崇的文学,人文精神,和其它一些东西有共同性,就像耶稣所在时候的犹太贵族所说:平民不守法。贵族们,僧侣们高兴了就编出一条上帝发布的法令,周一不许打嗝,周二出门不能先迈右脚,根本记不住,谈和遵守?对于高高在上的它们来说,艺术就和很多其它东西一样,是特权的表现,现在的213青年们也喜欢跟风,在一些事情上面表现出自己的与众不同,然后昏昏然也有种“贵族”的感觉了。
待续...
星期五, 十二月 23, 2011
Serialize and DeSerialize generic Array
We often use things like Configuration[] configs and like to manage that in a xml file you can edit. Two simple extension methods can help you.
public static string SerializeArray(this T[] list)
{
System.Xml.XmlDocument doc = new XmlDocument();
System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(list.GetType());
System.IO.MemoryStream stream = new System.IO.MemoryStream();
try
{
serializer.Serialize(stream, list);
stream.Position = 0;
doc.Load(stream);
return doc.InnerXml;
}
catch { throw; }
finally
{
stream.Close();
stream.Dispose();
}
}
public static T[] DeSerializeArray(string serializedData)
{
T[] list = null;
System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(typeof(T[]));
XmlReader xReader = XmlReader.Create(new StringReader(serializedData));
try
{
list = (T[])serializer.Deserialize(xReader);
}
catch
{
throw;
}
finally
{
xReader.Close();
}
return list;
}
Code to serialize the data:
string xml1 = _environments.SerializeArray();
StreamWriter writer = new StreamWriter("config.xml");
writer.Write(xml1);
writer.Close();
To DeSerialize the data:
string xml = File.ReadAllText("config.xml");
_environments = Extensions.DeSerializeArray(xml);
If you don't like the root "ArrayOfConfiguration" you can change the extension methods to use a XmlRootAttribute like:
XmlRootAttribute root = new XmlRootAttribute(rootName);
System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(typeof(T[]), root);
You need to use the matching name in both methods to get it working.
We often use things like Configuration[] configs and like to manage that in a xml file you can edit. Two simple extension methods can help you.
public static string SerializeArray
{
System.Xml.XmlDocument doc = new XmlDocument();
System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(list.GetType());
System.IO.MemoryStream stream = new System.IO.MemoryStream();
try
{
serializer.Serialize(stream, list);
stream.Position = 0;
doc.Load(stream);
return doc.InnerXml;
}
catch { throw; }
finally
{
stream.Close();
stream.Dispose();
}
}
public static T[] DeSerializeArray
{
T[] list = null;
System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(typeof(T[]));
XmlReader xReader = XmlReader.Create(new StringReader(serializedData));
try
{
list = (T[])serializer.Deserialize(xReader);
}
catch
{
throw;
}
finally
{
xReader.Close();
}
return list;
}
Code to serialize the data:
string xml1 = _environments.SerializeArray
StreamWriter writer = new StreamWriter("config.xml");
writer.Write(xml1);
writer.Close();
To DeSerialize the data:
string xml = File.ReadAllText("config.xml");
_environments = Extensions.DeSerializeArray
If you don't like the root "ArrayOfConfiguration" you can change the extension methods to use a XmlRootAttribute like:
XmlRootAttribute root = new XmlRootAttribute(rootName);
System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(typeof(T[]), root);
You need to use the matching name in both methods to get it working.
星期五, 十二月 16, 2011
星期一, 十一月 14, 2011
枪和玫瑰演唱会归来

从groupon买的便宜票座位还可以,岁数大了,想起来如果真要在下面站5个小时,估计会累得够呛。6点开车出发,拿了票去看了电影Immortals,希腊神话的动作片,情节比较弱,看完了快9点,正好进场。开场之前放音乐就感觉音响效果不够好,暖场乐队Adelitas Way的演唱就很难挺清楚,唱了一个小时,后面还号召大家抽大麻什么的,有够傻。不过快结束时候一个有50岁的大姐就在过道上面抽大麻,等自己的儿子女儿过来... 后排也有抽东西的,多半也是大麻...
开始之前有人拉了条幅"Slash is in the house",可惜照不清楚,演出到后来就看不到了,估计被保安撤掉了。
Axl Rose按照惯例放大家鸽子一个小时,11点多才出来。不知道是因为后来重新调了声音,Axl的演唱倒是基本都能听清。唱新专辑的歌就在大屏幕显示很多不通顺的中文,Chinese Democracy这首放对应的中文歌词,包括“我有更多的手淫”...
Welcome to the Jungle / It’s So Easy / Mr. Brownstone 三首老歌,全场沸腾了,持续起立跟着唱...周围好多40岁左右的老家伙,还颇有些带着孩子来的,感觉15岁以上的孩子带过来还凑合,10岁的小孩子也有带来的,不是很合适,对耳朵也不好。我后面的夫妻和旁边的人说是他们儿子给买得票...
Sorry 这首报纸也给漏掉了
Riff Raff (AC/DC cover) 这首不熟,效果也不好,听他唱Riff Raff,还以为是唱Rock Rock Rock
Estranged 这首好长
Better / Richard Fortus guitar solo 这些没啥感觉
Live & Let Die 相比appetite for destruction来说平淡了点
This I Love 现场感觉也比CD好听
Rocket Queen 最近最喜欢的三首老歌之一
My Generation (Who cover, Tommy Stinson on vocals) 过道左边有个SB,暖场时候就在不停的骂,估计是大麻抽多了,唱到这里有满嘴F**k,坐下面的老哥带着儿子受不了了,让他闭嘴还不听,还把脸凑上去骂。然后被那个老哥把衣服拉烂掉了。我后面的女的说:skinny is going to get punched. 不过没打起来,再下面一个女的叫来了保安,把这个惹事的家伙和他的同伴都拉出去了。
还看到有人带保安到更下面去,不过没看到纠人出来 。底下grand stand也看到过一阵骚动,保安拿着手电照着什么,不知道是不是那个可怜的偷爬上台然后跳下来没人接的胖子。
Dizzy Reed piano solo 原来的GNR就剩他和Axl还在了,没想到有个吉他是从Soul Asylum过来的
Street of Dreams 这个也是新专辑的歌,还以为是use your illusion里面的,风格很像
You Could Be Mine 很商业化的一首,终结者2的主题歌
Sweet Child O’ Mine 电台最常放的一首
Another Brick in the Wall Pt. 2 snippet (Axl on grand piano) 这段钢琴的时候,屏幕上面一直在播下面两个女的舌吻...
November Rain Axl之前大段的钢琴独奏,总有点跑调的感觉,不过在11月唱这个歌实在很应景
DJ Ashaba guitar solo / Don't Cry 这首也被报纸漏掉了
Whole Lotta Rosie (AC/DC again) 完全听不出来唱的什么
Bumblefoot guitar solo / Knockin’ on Heaven’s Door
Nightrain 很喜欢这个的chorus,合唱很给力
ENCORE: Madagascar / Shackler's Revenge
Patience 很喜欢的几首Rocket Queen, Sweet Child O's Mine和这首都在前面歌曲结束以后有段旋律部分,开头的口哨更是超级喜欢,虽然现场感觉吹得改了调...
开始看到舞台两侧有两片红色的东西,后来充起气来,一边是耄头像,另外一边是只手,感觉耄 做的不是很像,记得Axl当年就在胳膊刺了耄头像。
照片最清楚的只有这么一张,可以看到耄的充气头像,
某段字幕从下往上滚动,看了半天才发现是:
高
幹
子
女
居
要
職
掌
二
萬
億
Paradise City收场,最后2点多,Axl整场都没说太多的话,没有演唱的部分就往后台跑... 结束之后还上来谢幕,全场说是来了8000人,应该是坐了一半的左右,也还算不错了。
基本上每首歌都录了15-20秒视频,效果都不是很好,亮度太低,照片效果更糟,到了最后一首诗后一个工作人员说不能录像,但是放眼看去,全场都是在用手机拍的...好在录了视频,对照报纸的set list,找到一些不同。
回家路上想着这种车不多的时候就容易被抓超速,我前面一个车比我快那么一点,警车就从我昨天呼啸的高速过去开灯抓人...

从groupon买的便宜票座位还可以,岁数大了,想起来如果真要在下面站5个小时,估计会累得够呛。6点开车出发,拿了票去看了电影Immortals,希腊神话的动作片,情节比较弱,看完了快9点,正好进场。开场之前放音乐就感觉音响效果不够好,暖场乐队Adelitas Way的演唱就很难挺清楚,唱了一个小时,后面还号召大家抽大麻什么的,有够傻。不过快结束时候一个有50岁的大姐就在过道上面抽大麻,等自己的儿子女儿过来... 后排也有抽东西的,多半也是大麻...
开始之前有人拉了条幅"Slash is in the house",可惜照不清楚,演出到后来就看不到了,估计被保安撤掉了。
Axl Rose按照惯例放大家鸽子一个小时,11点多才出来。不知道是因为后来重新调了声音,Axl的演唱倒是基本都能听清。唱新专辑的歌就在大屏幕显示很多不通顺的中文,Chinese Democracy这首放对应的中文歌词,包括“我有更多的手淫”...
Welcome to the Jungle / It’s So Easy / Mr. Brownstone 三首老歌,全场沸腾了,持续起立跟着唱...周围好多40岁左右的老家伙,还颇有些带着孩子来的,感觉15岁以上的孩子带过来还凑合,10岁的小孩子也有带来的,不是很合适,对耳朵也不好。我后面的夫妻和旁边的人说是他们儿子给买得票...
Sorry 这首报纸也给漏掉了
Riff Raff (AC/DC cover) 这首不熟,效果也不好,听他唱Riff Raff,还以为是唱Rock Rock Rock
Estranged 这首好长
Better / Richard Fortus guitar solo 这些没啥感觉
Live & Let Die 相比appetite for destruction来说平淡了点
This I Love 现场感觉也比CD好听
Rocket Queen 最近最喜欢的三首老歌之一
My Generation (Who cover, Tommy Stinson on vocals) 过道左边有个SB,暖场时候就在不停的骂,估计是大麻抽多了,唱到这里有满嘴F**k,坐下面的老哥带着儿子受不了了,让他闭嘴还不听,还把脸凑上去骂。然后被那个老哥把衣服拉烂掉了。我后面的女的说:skinny is going to get punched. 不过没打起来,再下面一个女的叫来了保安,把这个惹事的家伙和他的同伴都拉出去了。
还看到有人带保安到更下面去,不过没看到纠人出来 。底下grand stand也看到过一阵骚动,保安拿着手电照着什么,不知道是不是那个可怜的偷爬上台然后跳下来没人接的胖子。
Dizzy Reed piano solo 原来的GNR就剩他和Axl还在了,没想到有个吉他是从Soul Asylum过来的
Street of Dreams 这个也是新专辑的歌,还以为是use your illusion里面的,风格很像
You Could Be Mine 很商业化的一首,终结者2的主题歌
Sweet Child O’ Mine 电台最常放的一首
Another Brick in the Wall Pt. 2 snippet (Axl on grand piano) 这段钢琴的时候,屏幕上面一直在播下面两个女的舌吻...
November Rain Axl之前大段的钢琴独奏,总有点跑调的感觉,不过在11月唱这个歌实在很应景
DJ Ashaba guitar solo / Don't Cry 这首也被报纸漏掉了
Whole Lotta Rosie (AC/DC again) 完全听不出来唱的什么
Bumblefoot guitar solo / Knockin’ on Heaven’s Door
Nightrain 很喜欢这个的chorus,合唱很给力
ENCORE: Madagascar / Shackler's Revenge
Patience 很喜欢的几首Rocket Queen, Sweet Child O's Mine和这首都在前面歌曲结束以后有段旋律部分,开头的口哨更是超级喜欢,虽然现场感觉吹得改了调...
开始看到舞台两侧有两片红色的东西,后来充起气来,一边是耄头像,另外一边是只手,感觉耄 做的不是很像,记得Axl当年就在胳膊刺了耄头像。
照片最清楚的只有这么一张,可以看到耄的充气头像,
某段字幕从下往上滚动,看了半天才发现是:
高
幹
子
女
居
要
職
掌
二
萬
億
Paradise City收场,最后2点多,Axl整场都没说太多的话,没有演唱的部分就往后台跑... 结束之后还上来谢幕,全场说是来了8000人,应该是坐了一半的左右,也还算不错了。
基本上每首歌都录了15-20秒视频,效果都不是很好,亮度太低,照片效果更糟,到了最后一首诗后一个工作人员说不能录像,但是放眼看去,全场都是在用手机拍的...好在录了视频,对照报纸的set list,找到一些不同。
回家路上想着这种车不多的时候就容易被抓超速,我前面一个车比我快那么一点,警车就从我昨天呼啸的高速过去开灯抓人...
星期五, 十一月 11, 2011
星期四, 十月 06, 2011
S.C.A.M 8
Our education system taught us a lot basic science and social stuff. Is it really something we need? College provides us a lot knowledge if we decide to be a scientist or researcher. Can all of us become scientist or researcher? Maybe we should have classes to teach high school students to be a plumber, carpenter, mechanics or electrician. It doesn't mean that they will have to work in those professionals, but isn't it nice to have the skill to fix stuff yourself or be a really skillful worker in related area? Japan can utilize 'robots' to build better cars. Why can't US have factories like that? Where workers are skillful mechanics who can build and repair machines which create high quality vehicles. Instead of those cheap labor to move pieces around?
Our education system taught us a lot basic science and social stuff. Is it really something we need? College provides us a lot knowledge if we decide to be a scientist or researcher. Can all of us become scientist or researcher? Maybe we should have classes to teach high school students to be a plumber, carpenter, mechanics or electrician. It doesn't mean that they will have to work in those professionals, but isn't it nice to have the skill to fix stuff yourself or be a really skillful worker in related area? Japan can utilize 'robots' to build better cars. Why can't US have factories like that? Where workers are skillful mechanics who can build and repair machines which create high quality vehicles. Instead of those cheap labor to move pieces around?
星期四, 八月 25, 2011
Evangelicals and Israel: Theological Roots of a Political Alliance
by Donald Wagner
Donald E. Wagner teaches at North Park University in Chicago. He is the author of Anxious for Armageddon (1995) and Dying in the Land of Promise: Palestine and Palestinian Christianity from Pentecost to 2000 (revised edition, 2003). This article appeared in The Christian Century, November 4, 1998, pp. 1020-1026. Copyright by The Christian Century Foundation; used by permission. Current articles and subscription information can be found at www.christiancentury.org. This article prepared for Religion Online by Ted & Winnie Brock.
by Donald Wagner
Donald E. Wagner teaches at North Park University in Chicago. He is the author of Anxious for Armageddon (1995) and Dying in the Land of Promise: Palestine and Palestinian Christianity from Pentecost to 2000 (revised edition, 2003). This article appeared in The Christian Century, November 4, 1998, pp. 1020-1026. Copyright by The Christian Century Foundation; used by permission. Current articles and subscription information can be found at www.christiancentury.org. This article prepared for Religion Online by Ted & Winnie Brock.
星期三, 八月 24, 2011
"The single most important thing we want to achieve is for President Obama to be a one-term president," McConnell told the National Journal last year.
Read more: http://www.foxnews.com/us/2011/07/26/top-4-in-congress-not-so-fab-on-debt-deal-yet/#ixzz1VyJd34d6
Read more: http://www.foxnews.com/us/2011/07/26/top-4-in-congress-not-so-fab-on-debt-deal-yet/#ixzz1VyJd34d6
星期二, 八月 23, 2011
星期三, 八月 17, 2011
You Might Be A Conservative If…
[show/hide]
1: You’re irate over the president taking so many vacation days on the taxpayer’s dime (61 thus far), but you thought George W. Bush earned every minute of his leisure time (196 days at the same point in his presidency).
2: You’re happy with your 40 hour work week, paid vacations and company-provided healthcare, but you’re strongly anti-union, because those commies haven’t done anything for you lately.
3: You strongly support the First Amendment and it’s guarantee of religious freedom to all, but you don’t think Muslims have a right to build an Islamic Community Center in Manhattan.
4: You believe Ronald Reagan was a devout Christian, even though he hated going to church, but any president who spends twenty years going to the same Trinity United Church in Chicago must be a Muslim.
5: You believe when a Republican governor creates a healthcare package with an individual mandate for everyone in his state, that’s a good idea. But when a Democratic president does it, suddenly it’s unconstitutional.
6: You’re so enthused about demonstrating your Second Amendment rights, you can think of no finer place to brandish your pistol in public than at a presidential rally.
7: You believe Bill Clinton was responsible for Osama bin Laden’s escape ten years ago, but thankfully George W. Bush caught up with him and killed him in Pakistan.
8: You believe in putting American jobs first, except when president Obama rescued 1.5 million GM and Chrysler autoworkers, because that was socialism.
9: It angers you that you can’t communicate with the Mexican busboy at your local Olive Garden, but when you took a vacation to San Francisco’s Chinatown, you thought it’s quaint that so many Chinese-Americans are holding fast to their traditional language. Because that’s America!
10: You deny that the lunatic who tried to murder Gaby Giffords was a conservative, even though he targeted a Jewish, pro-choice, pro gay rights, Democratic Congresswoman.
11: You thought it was perfectly normal that every president in history had an untethered right to raise the debt ceiling when warranted, but when Obama asked the GOP held congress to do it, you thought it only natural that it be tied to cutting Social Security and Medicare.
12: When the new 112th Congress was sworn in, you swooned as they promised to focus on “Jobs, jobs, jobs.” But when they pivoted, and went after NPR, Planned Parenthood and gay rights, you cheered.
13: You accuse president Obama of raising your taxes to the highest point ever, even though they’re lower today than at any time since 1950.
14: You believe the wealthiest Americans are “job creators,” and they are — but it doesn’t bother you that all the workers in those positions are in India, China and Malaysia, and they’re doing the jobs that our fathers once did.
15: You believe gays are anti-American, because their lifestyle is a threat to the children… unless they’re married to Tea Party-backed presidential candidates from Minnesota.
16: You strongly defend individual freedom, but that freedom doesn’t include a woman’s right to decide her own healthcare needs.
17: You believe corporations are people too, and are deserving of the same rights as the rest of us. Just not the same obligations to pay personal income tax free of corporate loopholes, or penalties for massive criminal behavior and tax evasion. In these matters, corporations are deserving of special rights.
18: And since corporations are now people too, you must believe in their right to a driver’s license, the right to marry, to adopt children, etc. These rights shall not be denied to Exxon, Halliburton and BP (but still immune from the right of the People to try, convict and sentence to death any corporation that conspires to commit a felony… because at that point, they’re suddenly not people again.)
19: You still believe Climate Change is a myth, and the recent record highs, lows, floods and droughts around the world coinciding with climate scientist’s predictions are all an amazing coincidence. Oh, and Al Gore is FAT!
20: You believe when George W. Bush took the national debt from $5 trillion to $11 trillion, it was necessary for him to do so to keep America safe. But when Barack Obama added to it by trying to rescue the country from a second Great Depression, he was deliberately trying to destroy America!
21: You believe America is a God fearing country, and that the Almighty protects those who believe just as you do. But it’s never crossed your mind that the majority of tornados, hurricanes and floods all occur in the Bible Belt.
22: You believe that no matter who’s in the White House, the office, if not the man himself is deserving of your respect. The only exceptions to this rule, are if his middle name sounds Muslim, and if he’s not at least as white as that black guy who works down in the mailroom at the office.
2: You’re happy with your 40 hour work week, paid vacations and company-provided healthcare, but you’re strongly anti-union, because those commies haven’t done anything for you lately.
3: You strongly support the First Amendment and it’s guarantee of religious freedom to all, but you don’t think Muslims have a right to build an Islamic Community Center in Manhattan.
4: You believe Ronald Reagan was a devout Christian, even though he hated going to church, but any president who spends twenty years going to the same Trinity United Church in Chicago must be a Muslim.
5: You believe when a Republican governor creates a healthcare package with an individual mandate for everyone in his state, that’s a good idea. But when a Democratic president does it, suddenly it’s unconstitutional.
6: You’re so enthused about demonstrating your Second Amendment rights, you can think of no finer place to brandish your pistol in public than at a presidential rally.
7: You believe Bill Clinton was responsible for Osama bin Laden’s escape ten years ago, but thankfully George W. Bush caught up with him and killed him in Pakistan.
8: You believe in putting American jobs first, except when president Obama rescued 1.5 million GM and Chrysler autoworkers, because that was socialism.
9: It angers you that you can’t communicate with the Mexican busboy at your local Olive Garden, but when you took a vacation to San Francisco’s Chinatown, you thought it’s quaint that so many Chinese-Americans are holding fast to their traditional language. Because that’s America!
10: You deny that the lunatic who tried to murder Gaby Giffords was a conservative, even though he targeted a Jewish, pro-choice, pro gay rights, Democratic Congresswoman.
11: You thought it was perfectly normal that every president in history had an untethered right to raise the debt ceiling when warranted, but when Obama asked the GOP held congress to do it, you thought it only natural that it be tied to cutting Social Security and Medicare.
12: When the new 112th Congress was sworn in, you swooned as they promised to focus on “Jobs, jobs, jobs.” But when they pivoted, and went after NPR, Planned Parenthood and gay rights, you cheered.
13: You accuse president Obama of raising your taxes to the highest point ever, even though they’re lower today than at any time since 1950.
14: You believe the wealthiest Americans are “job creators,” and they are — but it doesn’t bother you that all the workers in those positions are in India, China and Malaysia, and they’re doing the jobs that our fathers once did.
15: You believe gays are anti-American, because their lifestyle is a threat to the children… unless they’re married to Tea Party-backed presidential candidates from Minnesota.
16: You strongly defend individual freedom, but that freedom doesn’t include a woman’s right to decide her own healthcare needs.
17: You believe corporations are people too, and are deserving of the same rights as the rest of us. Just not the same obligations to pay personal income tax free of corporate loopholes, or penalties for massive criminal behavior and tax evasion. In these matters, corporations are deserving of special rights.
18: And since corporations are now people too, you must believe in their right to a driver’s license, the right to marry, to adopt children, etc. These rights shall not be denied to Exxon, Halliburton and BP (but still immune from the right of the People to try, convict and sentence to death any corporation that conspires to commit a felony… because at that point, they’re suddenly not people again.)
19: You still believe Climate Change is a myth, and the recent record highs, lows, floods and droughts around the world coinciding with climate scientist’s predictions are all an amazing coincidence. Oh, and Al Gore is FAT!
20: You believe when George W. Bush took the national debt from $5 trillion to $11 trillion, it was necessary for him to do so to keep America safe. But when Barack Obama added to it by trying to rescue the country from a second Great Depression, he was deliberately trying to destroy America!
21: You believe America is a God fearing country, and that the Almighty protects those who believe just as you do. But it’s never crossed your mind that the majority of tornados, hurricanes and floods all occur in the Bible Belt.
22: You believe that no matter who’s in the White House, the office, if not the man himself is deserving of your respect. The only exceptions to this rule, are if his middle name sounds Muslim, and if he’s not at least as white as that black guy who works down in the mailroom at the office.
星期五, 八月 12, 2011
S.C.A.M 7
Mitt Romney says ‘corporations are people’ at Iowa State Fair
I think rich people like him should pay more tax. Also big corporates should have AMT as well, so that big companies don't have any loop hole to use. This will also encourage small start ups and local business.
Mitt Romney says ‘corporations are people’ at Iowa State Fair
I think rich people like him should pay more tax. Also big corporates should have AMT as well, so that big companies don't have any loop hole to use. This will also encourage small start ups and local business.
星期三, 八月 10, 2011
C# and .NET interview questions
[show/hide]
- How big is the datatype int in .NET? 32 bits.
- How big is the char? 16 bits (Unicode).
- How do you initiate a string without escaping each backslash? Put an @ sign in front of the double-quoted string.
- What are valid signatures for the Main function?
- public static void Main()
- public static int Main()
- public static void Main( string[] args )
- public static int Main(string[] args )
- Does Main() always have to be public? No.
- How do you initialize a two-dimensional array that you don’t know the dimensions of?
- int [, ] myArray; //declaration
- myArray= new int [5, 8]; //actual initialization
- What’s the access level of the visibility type internal? Current assembly.
- What’s the difference between struct and class in C#?
- Structs cannot be inherited.
- Structs are passed by value, not by reference.
- Struct is stored on the stack, not the heap.
- Explain encapsulation. The implementation is hidden, the interface is exposed.
- What data type should you use if you want an 8-bit value that’s signed? sbyte.
- Speaking of Boolean data types, what’s different between C# and C/C++? There’s no conversion between 0 and false, as well as any other number and true, like in C/C++.
- Where are the value-type variables allocated in the computer RAM? Stack.
- Where do the reference-type variables go in the RAM? The references go on the stack, while the objects themselves go on the heap. However, in reality things are more elaborate.
- What is the difference between the value-type variables and reference-type variables in terms of garbage collection? The value-type variables are not garbage-collected, they just fall off the stack when they fall out of scope, the reference-type objects are picked up by GC when their references go null.
- How do you convert a string into an integer in .NET? Int32.Parse(string), Convert.ToInt32()
- How do you box a primitive data type variable? Initialize an object with its value, pass an object, cast it to an object
- Why do you need to box a primitive variable? To pass it by reference or apply a method that an object supports, but primitive doesn’t.
- What’s the difference between Java and .NET garbage collectors? Sun left the implementation of a specific garbage collector up to the JRE developer, so their performance varies widely, depending on whose JRE you’re using. Microsoft standardized on their garbage collection.
- How do you enforce garbage collection in .NET? System.GC.Collect();
- Can you declare a C++ type destructor in C# like ~MyClass()? Yes, but what’s the point, since it will call Finalize(), and Finalize() has no guarantees when the memory will be cleaned up, plus, it introduces additional load on the garbage collector. The only time the finalizer should be implemented, is when you’re dealing with unmanaged code.
- What’s different about namespace declaration when comparing that to package declaration in Java? No semicolon. Package declarations also have to be the first thing within the file, can’t be nested, and affect all classes within the file.
- What’s the difference between const and readonly? You can initialize readonly variables to some runtime values. Let’s say your program uses current date and time as one of the values that won’t change. This way you declare
public readonly string DateT = new DateTime().ToString().
- Can you create enumerated data types in C#? Yes.
- What’s different about switch statements in C# as compared to C++? No fall-throughs allowed.
- What happens when you encounter a continue statement inside the for loop? The code for the rest of the loop is ignored, the control is transferred back to the beginning of the loop.
- Is goto statement supported in C#? How about Java? Gotos are supported in C#to the fullest. In Java goto is a reserved keyword that provides absolutely no functionality.
- Describe the compilation process for .NET code? Source code is compiled and run in the .NET Framework using a two-stage process. First, source code is compiled to Microsoft intermediate language (MSIL) code using a .NET Framework-compatible compiler, such as that for Visual Basic .NET or Visual C#. Second, MSIL code is compiled to native code.
- Name any 2 of the 4 .NET authentification methods. ASP.NET, in conjunction with Microsoft Internet Information Services (IIS), can authenticate user credentials such as names and passwords using any of the following authentication methods:
- Windows: Basic, digest, or Integrated Windows Authentication (NTLM or Kerberos).
- Microsoft Passport authentication
- Forms authentication
- Client Certificate authentication
- How do you turn off SessionState in the web.config file? In the system.web section of web.config, you should locate the httpmodule tag and you simply disable session by doing a remove tag with attribute name set to session.
- What is main difference between Global.asax and Web.Config? ASP.NET uses the global.asax to establish any global objects that your Web application uses. The .asax extension denotes an application file rather than .aspx for a page file. Each ASP.NET application can contain at most one global.asax file. The file is compiled on the first page hit to your Web application. ASP.NET is also configured so that any attempts to browse to the global.asax page directly are rejected. However, you can specify application-wide settings in the web.config file. The web.config is an XML-formatted text file that resides in the Web site’s root directory. Through Web.config you can specify settings like custom 404 error pages, authentication and authorization settings for the Web site, compilation options for the ASP.NET Web pages, if tracing should be enabled, etc.
星期二, 八月 09, 2011
星期一, 八月 08, 2011
Hundreds of Economists Sign Letter Opposing Barack Obama's Tax Plan
- by Roger McEowen
October 13, 2008
- by Roger McEowen
October 13, 2008
星期四, 八月 04, 2011
《哈利波特》人名各有深意 J·K·罗琳费尽心思
[show/hide]
阿不思是拉丁文中白色的意思,因为邓布利是与黑魔头伏地魔对立的白魔法师。邓布利多根据罗琳自己说是“蜜蜂嗡嗡叫”的意思。珀西瓦尔(Percival)有武士和刺穿帷幕之意。显然,邓布利多是一位与黑暗势力英勇抗争的武士!而“刺穿帷幕”则耐人寻味,因为帷幔在西方文化中是一种象征生死之隔的事物。将生死的界限刺穿,是否意味着邓布利多有凤凰那样的超越生死的本领呢?伍尔弗里克(Wulfric)的意思被那个没有统一的解释。有人分析它是有Wulf(狼)和Ric(力量)两个单词组成。但也有人认为这个单词源自挪威史诗中的英雄Beowulf,他曾经两次战胜过妖怪Grendel,而邓布利多一生中取得的最辉煌的胜利则是在1945年战胜了格林德沃(Grindelwald),有人认为伍尔弗里克这个名字是曾在埃克赛特大学修习古典文学的罗琳女士用挪威史诗来喻指邓布利多在反对黑魔法方面的伟大成就,介意彰显其魔法力量。布赖恩(Brian)来自爱尔兰语,是“力量、美德”的意思,它也被用来之爱尔兰男子。这个单词高度概括了邓布利多“伟大”的两个方面能力与德行,同时也很可能暗示这邓布利多的爱尔兰血统。
赫敏-格兰杰(Hermione Granger)
从发音上就可以判断是从希腊奥林匹斯山上著名的众神使者赫尔墨斯的大名中化出来的。当今哲学领域流行的“解释学”原来也脱胎于赫尔墨斯之名.难怪赫敏在小说中以机敏和智慧著称,许多难解的哑谜一经她手即可迎刃而解。在故事里她是麻瓜出身,但是她有的是天才般的脑子,以及惊人的毅力,可以读完学校冗长的的校史。
西弗勒斯-斯内普(Severus Snape)
西弗勒斯在拉丁文中是严厉的意思,和斯内普的性格蛮相符的。但实际上,Snape只是英国的一个小村庄的名字。斯内普在英文中与蛇这个词只差一个字母!难怪斯内普是斯莱特林的院长。不过请记住,永远不要在没看过《哈利波特与死亡圣器》之前对斯内普有什么绝对性的论断。对于这个人,你要重新品味。
米勒娃-麦格(Minerva Mcgonagall)
通常的翻译是密涅瓦,罗马神话中的智慧女神,也就相当于希腊神话中的女神雅典娜。是格兰分多的院长在魔法学校教的是变形术。
莱姆斯-约翰-卢平(Remus John Lupin)
卢平来自于拉丁文词根LUP,即狼的意思-LUPINE是“像狼一样的人”,而LUPUS是"豺狼座".据说法国诺曼底地区的居民有时就把狼人叫做“LUPIN”!莱姆斯就更有趣了,这是罗马传说中被母狼喂养过的双生子之一的名字,可爱的小狼崽子!虽然是一个狼人,但是对学生十分的温柔,他曾经在哈利3年级的时候教会哈利使用守护神咒(呼神护卫)
小天狼星-布莱克(Sirius Black)
SIRIUS当然就是天狼星,而布莱克是“黑色”。他变身这之后就是一只黑色的大狗。哈利波特的教父,和哈利的父亲是好朋友最后死于他的表妹之手
小矮星彼得(Peter Pettigrew)
彼得这个名字太普通了,似乎没什么特殊意义。小矮星是“长的很小”的意思,这个名字还可以拆开成为PET I GREW,意思差不多是“我变成了宠物”!
阿格斯-费尔奇(Argus Filch)
费尔奇是英文动词“偷”的意思,而阿格斯则是希腊神话中一百只眼睛的巨怪。费尔奇先生经常偷偷摸摸的观察学生的行为。
鲁伯-海格(Ribus Hagrid)
据罗琳的说法,HAGRID是古英语中的单词,是“很糟糕的夜晚”或“睡不好觉的晚上”,海格常因为喝酒睡不好觉。
阿拉斯托-穆迪(Alastor Moody)
ALASTOR是希腊神话中掌管复仇的魔鬼,而穆迪在在英文中则是情绪多变的意思。
宾斯教授(Professor Binns)
BINNS发音很接近BEEN,在英文中是动词BE的过去分词形式。这位教授已经是鬼魂,也的确是过去式了。
汤姆-马沃罗-里德尔(Tom Marvolo Riddle)
RIDDLE是英文“谜语”的意思,一看到这个名字就知道罗琳要玩文字游戏了。
伏地魔(Lord Voldemort)
VOLDEMORT是来源于法语VOLE DE MORT,即“死亡的飞翔”或“飞离死亡”。难怪老伏同志整天想着长生不老。而“我是伏地魔(I am Voldemort)”这个词,是由Tom Marvolo Riddle变过来的,只是字母的顺序换了一下,伏地魔的过去汤姆.里德尔一直不喜欢自己的名字汤姆,认为它太普通,所以调换了字母,由Tom Marvolo Riddle(汤姆-里德尔)变为I am Lord Voldemort,以显示自己的与众不同。
弗农-德思礼(Vernon Dursley)
弗农是罗琳最讨厌的名字。在罗琳的出生地英国的格温特郡附近有个叫Durslay的城市。
达力-德思礼(Dudley Dursley)
DUDLEY是从英国俚语DUD变化而来,意思是很无聊的人。
佩妮-德思礼(Petunia Dursley)
PETUNIA是牵牛花的意思,而她的妹妹。哈利的妈妈莉莉的名字则是百合花的意思。牵牛花象征愤怒和憎恨,而百合象征纯洁。
德拉科-马尔福(Draco Malfoy)
MALFOY是由法语MALFOI变化而来,意思是不好的信仰。这一家人都是食死徒,全是信仰黑魔法。而德拉科。DRACO是拉丁文中龙蛇的意思,而龙在西方是和撒旦联系在一起的。德拉科也是古雅典一位极其残暴的立法官的名字。
卢修斯-马尔福(Lucius Malfoy)
LUCIUS和LUCIFER很接近,和德拉科一样。卢修斯也是古雅典一位很残暴的立法官名字。
纳西莎-马尔福(Narcissa Malfoy)
NARCISSA来源于希腊神话中的人物,就是那个有自恋情结,爱上自己在水中的影子的年轻人。纳西莎是水仙花的意思,代表自恋。
路威(Fluffy)
路威是海格的三头大狗,fluffy意思是“毛茸茸的”。
海德薇(Hedwig)
是12或者13世纪德国圣徒的名字,她为城市中的人们传递消息。
戈德里克-格兰芬多(Godric Gryffindor)
Gryffin是希腊神话中的狮身鹫头有翼兽,在法语中dor有“金制成的”的意思。“格兰芬多”指狮身鹫头有翼兽。God 表示“上帝”,-ric是表示“管辖、领域”之意的接尾词。Godric指的是“上帝的住处”。格兰芬多的象征是lion(狮子)。
萨拉查-斯莱特林(Salazar Slytherin)
Slytherin是来自英文单词“Slitheting”,像蛇一样爬行前进的谐模文。斯莱特林的象征就是snake(蛇)。
罗伊纳-拉文克劳(Rowena Ravenclaw)
RAVENCLAW,直译就是渡鸦的脚爪。拉文克劳学院的象征就是hawk(鹰)。
赫尔加-赫奇帕奇(Helga Hufflepuff)
Hufflepuff,源于英文Huff和Puff。两个词都和吹气有关,其中Huff作为名词还有怒气冲冲的意思,而赫奇帕奇学院的象征是Badger(獾),Badger作为动词还有纠缠不休、烦扰、吵着要的意思,与愤怒的关系很紧。
麻瓜(Muggle)
MUGGLE是从英语俚语MUG变化而来,意思是傻瓜。
卢娜-洛夫古德(Luna Lovegood)
Luna,在法语中也有月亮,月神的意思,这很容易让人想到她的纯洁和美丽,还有一丝神秘。Lovegood,虽然有点牵强,但依旧是爱,美好的意思。两个名字拼在一起,可以想象,是个很讨人喜欢的女孩。不过其实Luna这个词根也有“疯狂”的意思,Lunatic就是“疯疯癫癫的”,也符合这个孩子的性格。
西比尔-特里劳妮(Sibyll Trelawney)
西比尔是希腊罗马神话中受太阳神阿波罗启示而作语言的女预言师的称号。
芙蓉-德拉库尔(Fleur Delacour)
Fleur Delacour是法语,直译意思是宫廷里的花朵,引申就是指贵族妇女。
丽塔-斯基特(Rita Skeeter)
skeeter这个词与那些属于甲虫的动词“scamper奔跳”、“scatter散开”和“creep爬行”有关。
赫敏-格兰杰(Hermione Granger)
从发音上就可以判断是从希腊奥林匹斯山上著名的众神使者赫尔墨斯的大名中化出来的。当今哲学领域流行的“解释学”原来也脱胎于赫尔墨斯之名.难怪赫敏在小说中以机敏和智慧著称,许多难解的哑谜一经她手即可迎刃而解。在故事里她是麻瓜出身,但是她有的是天才般的脑子,以及惊人的毅力,可以读完学校冗长的的校史。
西弗勒斯-斯内普(Severus Snape)
西弗勒斯在拉丁文中是严厉的意思,和斯内普的性格蛮相符的。但实际上,Snape只是英国的一个小村庄的名字。斯内普在英文中与蛇这个词只差一个字母!难怪斯内普是斯莱特林的院长。不过请记住,永远不要在没看过《哈利波特与死亡圣器》之前对斯内普有什么绝对性的论断。对于这个人,你要重新品味。
米勒娃-麦格(Minerva Mcgonagall)
通常的翻译是密涅瓦,罗马神话中的智慧女神,也就相当于希腊神话中的女神雅典娜。是格兰分多的院长在魔法学校教的是变形术。
莱姆斯-约翰-卢平(Remus John Lupin)
卢平来自于拉丁文词根LUP,即狼的意思-LUPINE是“像狼一样的人”,而LUPUS是"豺狼座".据说法国诺曼底地区的居民有时就把狼人叫做“LUPIN”!莱姆斯就更有趣了,这是罗马传说中被母狼喂养过的双生子之一的名字,可爱的小狼崽子!虽然是一个狼人,但是对学生十分的温柔,他曾经在哈利3年级的时候教会哈利使用守护神咒(呼神护卫)
小天狼星-布莱克(Sirius Black)
SIRIUS当然就是天狼星,而布莱克是“黑色”。他变身这之后就是一只黑色的大狗。哈利波特的教父,和哈利的父亲是好朋友最后死于他的表妹之手
小矮星彼得(Peter Pettigrew)
彼得这个名字太普通了,似乎没什么特殊意义。小矮星是“长的很小”的意思,这个名字还可以拆开成为PET I GREW,意思差不多是“我变成了宠物”!
阿格斯-费尔奇(Argus Filch)
费尔奇是英文动词“偷”的意思,而阿格斯则是希腊神话中一百只眼睛的巨怪。费尔奇先生经常偷偷摸摸的观察学生的行为。
鲁伯-海格(Ribus Hagrid)
据罗琳的说法,HAGRID是古英语中的单词,是“很糟糕的夜晚”或“睡不好觉的晚上”,海格常因为喝酒睡不好觉。
阿拉斯托-穆迪(Alastor Moody)
ALASTOR是希腊神话中掌管复仇的魔鬼,而穆迪在在英文中则是情绪多变的意思。
宾斯教授(Professor Binns)
BINNS发音很接近BEEN,在英文中是动词BE的过去分词形式。这位教授已经是鬼魂,也的确是过去式了。
汤姆-马沃罗-里德尔(Tom Marvolo Riddle)
RIDDLE是英文“谜语”的意思,一看到这个名字就知道罗琳要玩文字游戏了。
伏地魔(Lord Voldemort)
VOLDEMORT是来源于法语VOLE DE MORT,即“死亡的飞翔”或“飞离死亡”。难怪老伏同志整天想着长生不老。而“我是伏地魔(I am Voldemort)”这个词,是由Tom Marvolo Riddle变过来的,只是字母的顺序换了一下,伏地魔的过去汤姆.里德尔一直不喜欢自己的名字汤姆,认为它太普通,所以调换了字母,由Tom Marvolo Riddle(汤姆-里德尔)变为I am Lord Voldemort,以显示自己的与众不同。
弗农-德思礼(Vernon Dursley)
弗农是罗琳最讨厌的名字。在罗琳的出生地英国的格温特郡附近有个叫Durslay的城市。
达力-德思礼(Dudley Dursley)
DUDLEY是从英国俚语DUD变化而来,意思是很无聊的人。
佩妮-德思礼(Petunia Dursley)
PETUNIA是牵牛花的意思,而她的妹妹。哈利的妈妈莉莉的名字则是百合花的意思。牵牛花象征愤怒和憎恨,而百合象征纯洁。
德拉科-马尔福(Draco Malfoy)
MALFOY是由法语MALFOI变化而来,意思是不好的信仰。这一家人都是食死徒,全是信仰黑魔法。而德拉科。DRACO是拉丁文中龙蛇的意思,而龙在西方是和撒旦联系在一起的。德拉科也是古雅典一位极其残暴的立法官的名字。
卢修斯-马尔福(Lucius Malfoy)
LUCIUS和LUCIFER很接近,和德拉科一样。卢修斯也是古雅典一位很残暴的立法官名字。
纳西莎-马尔福(Narcissa Malfoy)
NARCISSA来源于希腊神话中的人物,就是那个有自恋情结,爱上自己在水中的影子的年轻人。纳西莎是水仙花的意思,代表自恋。
路威(Fluffy)
路威是海格的三头大狗,fluffy意思是“毛茸茸的”。
海德薇(Hedwig)
是12或者13世纪德国圣徒的名字,她为城市中的人们传递消息。
戈德里克-格兰芬多(Godric Gryffindor)
Gryffin是希腊神话中的狮身鹫头有翼兽,在法语中dor有“金制成的”的意思。“格兰芬多”指狮身鹫头有翼兽。God 表示“上帝”,-ric是表示“管辖、领域”之意的接尾词。Godric指的是“上帝的住处”。格兰芬多的象征是lion(狮子)。
萨拉查-斯莱特林(Salazar Slytherin)
Slytherin是来自英文单词“Slitheting”,像蛇一样爬行前进的谐模文。斯莱特林的象征就是snake(蛇)。
罗伊纳-拉文克劳(Rowena Ravenclaw)
RAVENCLAW,直译就是渡鸦的脚爪。拉文克劳学院的象征就是hawk(鹰)。
赫尔加-赫奇帕奇(Helga Hufflepuff)
Hufflepuff,源于英文Huff和Puff。两个词都和吹气有关,其中Huff作为名词还有怒气冲冲的意思,而赫奇帕奇学院的象征是Badger(獾),Badger作为动词还有纠缠不休、烦扰、吵着要的意思,与愤怒的关系很紧。
麻瓜(Muggle)
MUGGLE是从英语俚语MUG变化而来,意思是傻瓜。
卢娜-洛夫古德(Luna Lovegood)
Luna,在法语中也有月亮,月神的意思,这很容易让人想到她的纯洁和美丽,还有一丝神秘。Lovegood,虽然有点牵强,但依旧是爱,美好的意思。两个名字拼在一起,可以想象,是个很讨人喜欢的女孩。不过其实Luna这个词根也有“疯狂”的意思,Lunatic就是“疯疯癫癫的”,也符合这个孩子的性格。
西比尔-特里劳妮(Sibyll Trelawney)
西比尔是希腊罗马神话中受太阳神阿波罗启示而作语言的女预言师的称号。
芙蓉-德拉库尔(Fleur Delacour)
Fleur Delacour是法语,直译意思是宫廷里的花朵,引申就是指贵族妇女。
丽塔-斯基特(Rita Skeeter)
skeeter这个词与那些属于甲虫的动词“scamper奔跳”、“scatter散开”和“creep爬行”有关。
星期五, 七月 29, 2011
S.C.A.M 6
Government budget should be associated with revenue and all items should be prioritized. Divided by percentage threshold and if revenue is below certain threshold, those things will not be paid. Government official and legislature salary, expense and benefits should have the lowest priority.
Government budget should be associated with revenue and all items should be prioritized. Divided by percentage threshold and if revenue is below certain threshold, those things will not be paid. Government official and legislature salary, expense and benefits should have the lowest priority.
星期五, 七月 22, 2011
红军长征史上最惨烈的一战:喋血湘江
[show/hide]
《喋血湘江》相关内容 序
为别人的著作写序,我真是很少做。但是,当伍禄香从遥远的广西桂林给我打电话,要我给他的长篇纪实文学作品——《喋血湘江》写一个序时,我尽管犹豫了好久,最终还是接受了。
我同伍禄香并不相识,也没有见过面,是《喋血湘江》这部书稿让我们有了联系的机会。由于每年要承担不少有关书稿的审读任务,使我有机会较早地阅读了这部书稿。因此,我可能不是这部著作的第一读者,但可以说是这部著作的最早读者之一。
《喋血湘江》以纪实文学的手法再现了红军长征途中湘江战役的悲壮历程。老实说,由于在图书市场上,描写湘江战役的书籍目前已有不少。所以,当我开始阅读这部书稿时,似乎也没有太大的兴趣。但是,随着阅读的深入,我还是被它的内容深深地吸引住了,感到它与同类作品相比,有自己的显著特点:一是具有历史的整体感。书稿从湘江战役的起因、过程,直至结局,全景式地再现了湘江战役的全过程,而不是侧重于某一方面,或某一局部的描写,给人以一种历史的整体感。二是具有历史的客观性。书稿虽不完全是一部历史书,而是采用文学手法对历史的再现,是以厚重的历史为基础的。因此,对事件的描写、人物的刻画及各种人物的对白等,都以历史事实为基础,比较符合当时的历史背景和身份,既客观又准确,做到了源于历史,又高于历史,是一部站得脚的史诗性的作品。三是具有历史的价值性。书稿中大量地穿插了当年亲历和目睹湘江战役的当事人的回忆,从而以准确丰富甚至鲜为人知的史料为素材,一件件辨析出当时的历史格局中的历史事件之谜,具有一定的史料价值。四是具有较强的可读性。书稿的文字比较生动,并配了不少图片,做到了图文并茂,具有很强的可读性。
总之,作为一部纪实文学作品,《喋血湘江》遵照“大事不虚,小事不拘”的纪实文学作品的写作原则,把尊重历史与文学创作有机地结合起来,在有限的历史空间里创造了无限的精彩篇章,给人以强烈的吸引力和感染力。
这也许就是我之所以要接受为此书写序的根本原因吧。
袁德金
2009年4月16日于北京西山
(中国人民解放军军事科学院研究员、博士生导师)
《喋血湘江》相关内容 难以忘却的历史(1)
每一场革命都有它自身的传奇……一九三四年中国革命的长征却不是什么象征,而是考验中国红军男女战士的意志、勇气和力量的人类伟大史诗……但是长征却使毛泽东及其共产党人赢得了中国……使中国朝着一个无人能够预言的未来前进。
——索尔兹伯里《长征——前所未闻的故事》
选择这一题材写纪实文学,对我而言,本身就是一种挑战。尽管自己是喝湘江水长大的,自小就听到了许许多多的红军故事;也尽管自己平素对湘江之战兴趣甚浓,浏览过大量的相关资料,但要将这段尘封了大半个世纪的史实尽可能如实地捧给广大读者,其困难是显而易见的。
这不仅因为它是七十五年前发生在桂北大地上的事情,对我们这一代人来说,已相距甚远,且十分陌生;还因为七十五年的风雨侵蚀,物换星移,战场遗址早已荡然无存,简直可以说无迹可寻;更因为它是红军内心永远的伤痛,历史的原因,所留存、流传的资料少之又少,有的甚至无案可查,成为一个个难解的谜。
事实上也的确如此。中央红军长征过桂北虽然只有短短的十九天,但足迹遍及桂北五县,行军路线复杂、战事频繁,特别是作战部队数量上发生了根本性的变化,以至对中国革命的前途和命运产生了深远的影响,这一点历史早已作证。但对于具体的事件,却千头万绪,众说纷纭。
二○○六年,为纪念中国工农红军长征胜利七十周年,桂林电视台决定由我负责摄制四集文献纪录片《红军长征过桂北》,给了我一个了却数年夙愿的机会。
采访工作伊始,我最初的想法就是全身心扎进去,拜访专家咨询,力所能及地搜集有关资料,到桂北五县实地勘察,跟地方党史研究的同志请教,寻找亲历者和见证人,查阅各种档案。随着采访工作的深入,脉络逐渐清晰起来,那就是以湘江之战为主线,围绕敌我双方的战役布局、战役进程,以时间为纵,以事件为横,纵横交错,将中央红军在桂北境内所发生的重大事件有机地串联起来。
当然,这本书稿能够顺利地写出来,最根本的一点,就是数万红军将士的英魂、红军老前辈的殷切嘱托和数十位见证者的期盼,深深地触动了我的灵魂,震撼了我的心,激励着我要克服一切困难把它写出来,以给先烈一个告慰,给历史一个说明,给后人一个交代。
我用了近三个月的时间,走遍了桂北5县的22个乡镇、86个村委会、122个自然村,还辗转北京、遵义、井冈山、长沙等外地进行采访。
我沿着当年红军过桂北的征途采访调查。这里的山山水水,一草一木,仿佛都在向我诉说七十五年前那场惊天地、泣鬼神的大血战:在脚山、在新圩、在光华铺三大阻击阵地,在屏山渡、在大坪渡、在凤凰嘴、在界首四大渡口。脚下的每一寸土地都浸染了红军将士的鲜血,眼中的每一座山头都长眠着无数红军烈士的英魂,只要往丛林深谷中一走,保不准就会踢着或踩着人的骨骼,那多半是红军指战员的遗骸。尤其是在凤凰嘴渡口,当县党史部门的同志和当地老百姓向我讲述起红军将士血染湘江的情况时,陈靖将军那首字字带血的诗句,仿佛描绘出一幅当年红军抢渡湘江的悲壮画面:“血染十里溪,三年不食湘江鱼,河底遍尸体。”
《喋血湘江》相关内容 难以忘却的历史(2)
太悲惨了!太壮烈了!我的心是沉甸甸的。
由于岁月不饶人的缘故,寻访当年的亲历者的确十分困难,尤其是当年参加阻击战的,简直是难之又难。他们因年事已高,有的对往事业已健忘,有的因健康之故长住在医院疗养,因此我通过各种关系,只采访到11位亲历者。九十五岁高龄的方国安老将军,当年率领红四师工兵连在界首渡口负责架设浮桥,并炸毁浮桥,当他得知我是采访湘江之战时,饱含激情地说:“湘江之战完全是李德、博古的瞎指挥,才造成部队损失惨重。你要如实地把这段史实写出来,告诉后人莫忘历史!”九十六岁的廖仁和老人,是原红三十四师机枪连连长:“我们那个师在安和黄陡坡一战,一个连只剩下9个人,还没过湘江,全师就搞完了。死了好多人,才打下这座江山!”寥寥数语,却寄托着红军老前辈的殷切期望,似千钧重担压在我的肩上,我的肩是沉甸甸的。
在桂北乡村采访的日子里,还有一件事是不能不提的,那就是至今让我仍无法用言语所能表达出来的老百姓的那种热情。我每到一村一地,当地群众一得知我是采访红军长征的,立即就围满了人,你一言他一语的,主动带路、主动讲述或提供线索,帮我寻找见证人。采访的第一天,我先到了永安关,由于时间太晚的缘故,在归途中只在桂岩村外问了问,谁知刚回到灌阳县城正在吃饭时,县里的一位领导告诉我:桂岩村的村民晓得我是采访红军长征的,有20多位村民连夜跑到文市镇里,通过派出所给县里打电话,强烈邀请到村里采访。有许多鲜为人知的珍贵的史料都是老百姓提供的线索,像三十四师全师覆没的黄陡坡之战,就是在安和乡文塘村釆访时,见证人告诉我的;龙胜黄家寨的碉堡遗址和资源北门坳的战壕遗址等等,都是当地群众提供的线索。尤其是在龙胜平等的红军洞,当我头顶酷日,在陡峭的山道上艰难地爬行时,家住对面山顶上的六十七岁老人李平一眼望见,竟然爬行两公里多的山路,赶到这边山顶来,主动跟我讲述起红军洞的故事。老人噙着泪花深情地说:“如果没有老红军流血流汗打天下,哪有我们今天的好日子过。可他们一点也未享到福!”
在釆访见证人的过程中,最让我们感到激动不已的是所有的见证人几乎众口一词:红军好,红军帮群众挑水劈柴,对老百姓秋毫无犯!使人无法想象在天上有飞机轰炸,地上有几十万国民党军前堵后追的恶劣局势下,红军仍能以严明的纪律来赢得民心,这是一支什么样的军队,具有何等人格的魅力!在灌阳的楠木山村,几名饥饿不堪的红军战士吃了群众的猪潲,仍在灶台上留下了铜钱;在资源社水村,看到苗民因害怕躲进山里留下几头肥猪无人饲养,饥饿难当的红军不仅未动一根猪毛,反而主动帮苗民喂养;在龙胜龙坪寨,国民党特务纵火焚烧了侗族同胞的木房,红军总政委周恩来指挥原本钱粮不足的红军,向灾民们发放钱粮赈灾。更让人难以想象的是,当年红军所到之处在民间散落的大量文物,诸如马灯、手雷、刺刀、宣传画、宣传标语,虽经大半个世纪的沧桑风雨,却至今仍保存得完好无损。
国民党统治了数十年,在民间没留下任何值得纪念的东西,而红军仅仅是路过,却在老百姓心中烙下了永不磨灭的痕迹。仁义之师由此可见,正印证了那句“得民心者得天下”的古训。
正因为这种沉重的历史责任感,使我在创作的后期,对任何史料的运用、取舍,反复斟酌,慎之又慎。对有争议和线索不够清晰的地方,不辞辛苦反复查证,力求真实。如红军最后抢渡的渡口凤凰嘴,有的说是架设浮桥过江的,有的说是徒涉过江的,湘江染成血江究竟是不是这里?我翻阅了大量的将军回忆录和有关史料,前后三次到实地采访,寻访了当地近10位见证人和亲历者,尤其是找到一九八四年曾参加过这一史实调查的原全州党史办主任刘心潜老人,根据各种考证,我确定凤凰嘴渡口就是红军抢渡湘江的最后一个渡口,是徒涉过江的,没有架设浮桥,且在十二月一日,由于各个阻击阵地的相继失守,红五、八、九三个军团三万多人马被迫拥挤在这片开阔地上抢渡,遭到了国民党飞机的狂轰滥炸,人员伤亡惨重,湘江染成血江。
此外,为力求客观公正,真实地再现这一重大的历史事件,我重点突出了桂军的战前准备和战役布局,爬行五十余里山路去看黄家寨的碉堡,采访北门坳的原国民党民团成员,将那段血雨腥风的历史作了反思性的解读。
如今,这部写作历时一年多的书稿终于与读者见面了,虽然有些不尽如人意处,但红军勇于战胜一切困难和险阻的长征精神,将永远激励着我们!
星期一, 七月 18, 2011
Tutorials on WPF
[show/hide]
- A Guided Tour of WPF by Josh Smith
I wrote a series of introductory WPF articles on The Code Project. The goal of those articles is to bring someone with no WPF experience up-to-speed enough so that (s)he can fully understand how the series’ demo application works.
- Bea Stollnitz (link is to her archives) has a number of great articles on WPF.
- WPF: A Beginner's Guide - Part 1 of n by Sacha Barber
- WindowsClient.net WPF Training Videos
- WPF Apps With The Model-View-ViewModel Design Pattern by Josh Smith (duplicate link already provided by Yacoder)
- Jason Dolinger's presentation on the Model-View-ViewModel (link to video embedded in article)
- Dan Crevier's DataModel-View-ViewModel pattern series (similar to MVVM)
Though not exactly what you asked, it is the natural progression with WPF and MVVM.
- Codeplex: Composite WPF (Prism)
- Silver Bay Labs has a number of great videos on learning Prism
- Channel 9: 10 step-by-step videos on using Silverlight and Prism
- Codeplex: Introduction to Composite WPF (CAL, Prism): Part 1 (of n)
星期四, 七月 14, 2011
S.C.A.M 5
State government shouldn't be allowed to have a budget that borrows against future or causing future deficient. A budget should have a budget priority requirement that is associated with state tax income, the last priority should be legisture/government salary and benefit, including any service they get.
State government shouldn't be allowed to have a budget that borrows against future or causing future deficient. A budget should have a budget priority requirement that is associated with state tax income, the last priority should be legisture/government salary and benefit, including any service they get.


