31
Mar

关于色情电影的非色情回忆【转】

据说人是越老越不要脸的,苏轼的“老夫聊发少年狂”大约说的就是这码事,我不算老,但是琢磨着在这个新生代辈出的网络时代里,大多数人已经把我血肉横飞这个老屁股给忘得一干二净了,因此也决定不要脸一回,写点关于十八岁以后才能看的东西。

  色情电影,顾名思义,就是关于XX的电影。如果实在不懂的什么是色情电影的小朋友请回家请教父母去。

  在我印象里,男生们大多是爱看的。在中国这种性禁忌的国度里,男生们对异性的身体具有强烈的被压抑求知欲,但是那些健康课老师们总是犹抱琵琶半遮面,欲说还休的授课方式,以及把性抽象到子宫那种只有X光才能看得到的物体的内容,让男生们咬牙切齿,深恶痛绝。不知何时开始,色情电影就成了非官方认可的男生们获得性知识的主要渠道。

more…

21
Mar

上海,今夜请将我埋葬【转】

同在上海,同为男人,感同身受,不得不把这样的文章收藏起来。
有些用语可能偏激,但无法让人从根本上反驳,so。。。看了再说吧。

注:如果有人知道原创网址望通知本人,转载最好是征得作者同意为佳。

已找到原作者地址,谢谢楼下兄弟的提醒。

原载:
http://blog.sohu.com/members/zhanghuaijiu/1103568.html

more…

20
Mar

这两天有些忙

只能上班时候偷偷上来写两句

想说的话:

总结:apache jakarta上好东西真多 :D
这里 有些不错的学习笔记值得推荐。

15
Mar

google’s banned again?

I noticed this problem because gtalk can not login at home after work. First I thought it might be caused by network issue but later comes the bad news: google’s banned again, 1 year or more after its last ‘fortune’.

Instead, as you may know, a site called www.google.cn is brought online, providing filtered contents in demands of the Chinese g_o_v_e_r_n_m_e_n_t, which is a part of the great c_e_n_s_o_r_s_h_i_p m_o_v_e_m_e_n_t.

Just now(March 15, 00:12) I successfully visited www.google.com under the help of proxy, while the direct access is still unavailable, which means most of the public here in China are going to say goodbye to google.com, apparently. To make things even more like an accident, gtalk’s service is actived again, should I call this geek ?

what the fucking are they doing ?! I’m not intended to see the farewell from www.google.com. Oh, god save me. :(

===================

Upate on 2006/3/15 9:18:

  • Seperate some sensitive words with underline to avoid potential dangerous and protecting myself, though few people pay attention to this site.
  • some guy meet the problem with me, as an evidence.
  • it seams google.com is back again, for any reason that’s good. But similar accident may happen again in the future, it won’t be so long for the day on which we can NEVER visit google.com FOR EVER.

Depressed.

14
Mar

无题

无内容,图片一张

145.jpg

12
Mar

梦境2

看起来这两天的睡眠确实不怎么样,一来睡的晚,二来又不踏实,难得的周末还因忘关手机而被搅醒,是在很无奈。
期间又夹杂着各式各样的梦,今早起来居然还记得一个,于是再次记录下来。

很久没联系的她忽然又出现在了我的面前,来因不明,我却无由的开心。和她一起呆了几天,却又无缘无故的失踪了。

忽然画面大变,我已经成了新郎,却怎么也想不起新娘的面容,只依稀记得她似乎不是本国人,跟着我生硬的喊各种亲戚的名号。老妈似乎很开心,积极的想帮忙可我却发现其实她有些力不从心,于是只好安慰让她好好休息。

没等入完洞房我就已经摇身成了即将出国培训的公司职员(这个应该有理可依,昨天刚了解到公司有派人去美国接项目),似乎下午就要登机,中午的时候接到另外一个她的电话,说是已经把现在的工作辞了,国外也不去了,换了份新工作,搬了家。刚想问跟他怎么样了,声音却越来越含糊,任凭我怎么喊都听不清楚。于是我说我打你家电话,但是这个时候忘关的手机就开始闹铃了,TMD。

无奈的星期天。

10
Mar

英语谚语500句 - English Proverb 500

A bad beginning makes a bad ending.
不善始者不善终。
A bad thing never dies.
遗臭万年。
A bad workman always blames his tools.
不会撑船怪河弯。
A bird in the hand is worth than two in the bush.
一鸟在手胜过双鸟在林。
A boaster and a liar are cousins-german.
吹牛与说谎本是同宗。
A bully is always a coward.
色厉内荏。
A burden of one’s choice is not felt.
爱挑的担子不嫌重。
A candle lights others and consumes itself.
蜡烛照亮别人,却毁灭了自己。
A cat has 9 lives.
猫有九条命。
A cat may look at a king.
人人平等。
A close mouth catches no flies.
病从口入。
A constant guest is never welcome.

more…

10
Mar

梦境1

忽然记起昨晚做的一个梦,于是赶紧记录下来。

梦中有两只猫,其中一只甚通灵性,与我也非常合得来。出门办事也都跟着,甚至去别人家玩也是。
另外一只似乎是它的长辈,不甚活跃,然而双眼炯炯有神,异常精神。

后面的想不起来了,有解梦的么?

05
Mar

被强奸了!

向来不惮以最坏的恶意来揣测世人尤其是某些做流氓软件的同行的,但我不晓得以我这种小心翼翼的态度、经验丰富的老手尚且中镖的情况,对于大多说的电脑所有者来说,会是怎样的一个污浊世界?!

因为需要帮人装一个花生壳,主页上的最新版本功能过于花哨,于是在一个未知名的小站下了一个所谓的旧版。文件名就很奇怪,不是花生壳应有的PeanutHull x.x.exe,而是一个什么Down**.exe之类的(已经顺手删除,记不清楚全名了)。凭经验跟国外那种黄色网站上让你下载的拨号程序类似。也怪一时心急,那exe文件本可以用WinRAR解开查看的,仅仅查了一下毒就不小心双击了一下,于是标题上那悲惨的一幕就发生了 :(

虽然痛不欲生,但还是把惨状贴出来作个经验教训:

一闪而过之后,知道情况不妙,但为时已晚,桌面上赫然多了三个图标:

Bad Icon

另外,右下角和右上角的悬浮窗也有了它们的印痕:

badIcon2.jpg badIcon3.jpg

过了一会儿,毒性开始发作,任务栏更是惨不忍睹:

more…

02
Mar

Jave Preferences and windows registry problem

为了将项目移植到Linux上去,需要把Java Preferences中的设置也一并转移,因此写了这个类:

  1. import java.io.File;
  2. import java.io.FileInputStream;
  3. import java.io.FileNotFoundException;
  4. import java.io.FileOutputStream;
  5. import java.io.IOException;
  6. import java.util.prefs.BackingStoreException;
  7. import java.util.prefs.InvalidPreferencesFormatException;
  8. import java.util.prefs.Preferences;
  9.  
  10. public class TestPref {
  11.    
  12.     // "/jp/co/ricoh/rdh" 是项目的Preferences所用的根目录
  13.     private static Preferences pref = Preferences.systemRoot().node("/jp/co/ricoh/rdh");
  14.  
  15.     public static void main(String[] args) {
  16.         if(args.length!=2 || ! ("-e".equalsIgnoreCase(args[0]) || "-i".equalsIgnoreCase(args[0])) ){
  17.             usage();
  18.             System.exit(1);
  19.         }
  20.         String filename = args[1];
  21.         //do export
  22.         if("-e".equalsIgnoreCase(args[0])){
  23.             doExport(filename);
  24.         }
  25.         //do import
  26.         else{
  27.             doImport(filename);
  28.         }
  29.     }
  30.    
  31.     private static void doExport(String filename){
  32.        
  33.         try {
  34.             File file = new File(filename);
  35.             FileOutputStream out = new FileOutputStream(file);
  36.             pref.exportSubtree(out);
  37.             pref.flush();
  38.             out.flush();
  39.             out.close();
  40.             print("Done export, please check file: \"" + file.getAbsolutePath() + "\".");
  41.         } catch (FileNotFoundException e) {
  42.             print("Export Error(A): " + e.getMessage());
  43.         } catch (IOException e) {
  44.             print("Export Error(B): " + e.getMessage());
  45.         } catch (BackingStoreException e) {
  46.             print("Export Error(C): " + e.getMessage());
  47.         }
  48.     }
  49.    
  50.     private static void doImport(String filename){
  51.         try {
  52.             File file = new File(filename);
  53.             FileInputStream in = new FileInputStream(file);
  54.             Preferences.importPreferences(in);
  55.             in.close();
  56.             print("Done import from file \"" + file.getAbsolutePath() + "\".");
  57.         } catch (FileNotFoundException e) {
  58.             print("Import Error(A): " + e.getMessage());
  59.         } catch (IOException e) {
  60.             print("Import Error(B): " + e.getMessage());
  61.         } catch (InvalidPreferencesFormatException e) {
  62.             print("Import Error(C): " + e.getMessage());
  63.         }
  64.     }
  65.    
  66.     private static void usage(){
  67.         print("  ");
  68.         print("  Usage:");
  69.         print("  ______________________________________");
  70.         print("  ");
  71.         print("  Export:");
  72.         print("  java  -classpath . " + TestPref.class.getName() + " -e <OutputFileName>");
  73.         print("  ");
  74.         print("  Import:");
  75.         print("  java  -classpath . " + TestPref.class.getName() + " -i <InputFileName>");
  76.         print("  ");
  77.     }
  78.    
  79.     private static void print(Object o){
  80.         System.out.println(o);
  81.     }
  82.    
  83. }

结果一运行就遇上了空指针错误:

more…