Friday, January 26, 2007

I'm true to you in my fashion. I'm true to you in my way.

to say is to do. People like you, but may feel cheated later. Your best friends can tolerate you, with understanding.

versus

to do is to say. You don't feel guilty, but you are wasting your time sometimes. People will thank you and say "you are a good man", after they overlook you at first.

Sunday, January 21, 2007

今儿个上午

原定计划:

8:40起床,打电话给上航问机票。因为昨晚看过BBS,说可以到江宁路去当场买,所以默认是可以的,如果今早问了有票就去买。而且默认这时候学校那帮人已经按计划把学生证身份证扫描后上传,我打印了后带着证件去。

9:30出门,到徐汇交大订网球场,从徐汇下地铁,到南京西路站和者10:00碰头,买票。回来经过徐家汇把面包票用了。下午打网球。





实际情况:

8:40起床,打电话给上航,那边给我来一句“谁跟你说的?!有事统统去找你们学校的董老师54742443。”打了三次,不管问什么都是这回答。54742443也根本没打通过。而且被告知不能到江宁路去买,一定TMD要通过学校。在BBS上搜了个遍,好几个人说可以到现场买,要学生证身份证原件,我连复印件都一份也没有。通知在学校的家伙们,一个人都没起。放弃订票。

10:00出门去徐汇交大,今天的时间订光了,只剩1600-1700。要么定明天的。打球的人电话又打不通了。

等到11点多,打不通,去买面包。

回来又去了一次订场地的地方。那地方怎么看怎么不像有电话,竟然可以手机订场,要先留下我的姓名手机他才能接受电话预订,不过那师傅讲话还算合理的,就留给他了,要订再说。

12:30总算和学校的那帮人联系上了。

Saturday, January 20, 2007

这不是借口

家里google慢,教育网慢,电脑滥我又不想折腾;

学校msn慢,又不能陪爸妈;

你说这玩儿咋整阿,到底该蹲家里还是学校哪?

 

Saturday, January 13, 2007

杀人游戏流程

 private int status = 4;// 0-day,5-night,6-killer,10-detective

 private boolean firstRound = true;

 private int[] killerIndices, detectiveIndices;

 private int victimIndex, examIndex, executionIndex;

 private int killerCount, detectiveCount, testmentCount;

 private String[] statusComment = { "杀人游戏", "天亮了,死的是", "发言", "投票,处决", "处决后",
   "天黑了", "杀手睁眼", "选择被杀", "有人被杀了,杀手闭眼", "警察睁眼", "警察验人", "警察外推", "警察闭眼" };

 private JLabel temp, temp2;





  if (status < statusComment.length - 1)
   status++;
  else
   status = 1;// 更新状态


  temp.setText("^_^");// clear

 

  switch (status) {

 


  case 1:// daybreak, who died?
   if (!firstRound) {
    name[victimIndex] += "(dead)";
    playerList.setSelectedIndex(victimIndex);
   }
   if (testmentCount > 0) {
    testmentCount--;
    temp.setText("留第"
      + String.valueOf(killerCount - testmentCount) + "个遗言");
   } else
    temp.setText("没有遗言");
   break;

 

  case 2:// accuse and defend
   break;

 

  case 3:// vote, execute
   break;

 

  case 4:// after execution
   executionIndex = playerList.getSelectedIndex();
   name[executionIndex] += "(executed)";
   playerList.clearSelection();
   playerList.setSelectedIndex(executionIndex);
   if (testmentCount > 0) {
    testmentCount--;
    temp.setText("留第"
      + String.valueOf(killerCount - testmentCount) + "个遗言");
   } else
    temp.setText("没有遗言");
   break;

 

  case 6:// killer time
   if (!firstRound)
    playerList.setSelectedIndices(killerIndices);
   else
    temp.setText("确认匪友");
   break;

 

  case 7:// select kill
   if (firstRound)
    killerIndices = playerList.getSelectedIndices();
   playerList.clearSelection();
   break;

 

  case 8:// someone killed
   victimIndex = playerList.getSelectedIndex();
   break;

 

  case 9:// detective time
   playerList.clearSelection();
   if (!firstRound)
    playerList.setSelectedIndices(detectiveIndices);
   else
    temp.setText("确认警友");
   break;

 

  case 10:// detective select a suspect
   if (firstRound)
    detectiveIndices = playerList.getSelectedIndices();
   playerList.clearSelection();
   break;

 

  case 11:// detective choose the next suspect
   examIndex = playerList.getSelectedIndex();
   check(examIndex, killerIndices);//exam the suspect for this round
   break;

 

  case 12:// detective hide
   firstRound = false;
   break;

 

  }

  temp2.setText(String.valueOf(status) + statusComment[status]);





pk pub杀人游戏流程如上,杀手数和警察数自定。有人想编的话拿去用。

Friday, January 12, 2007

陈斯是个不太开玩笑的人

他始终认为,玩笑之中必然映射出开玩笑的人的一些真实想法,玩笑只不过是把一些细微的心思夸张地表现出来。

他总是相信玩笑,所以自己也不敢开玩笑,因为怕别人也当真。

因为这样么,他也不会说谎。

Thursday, January 11, 2007

EE是什么

EE先天定义不明确。到美国学校网站兜了一圈,EE本来叫Electrical Engineering,只要跟电沾边的都搁在里头,电灯电视电站电闸电池电话。有的地方再并上一个Computer Engineering,就更全了。交大的EE被当作电子系,独立于电气、自动化、计算机、测控等。而我这个“信息工程(通信工程)”呢,又只是电子系里的一半,不是很电子的那一半。

 

信息工程学的编程,仅仅是大一学的C++,而且从那以后就没再编过大一点的程序。时髦的语言、软件只能靠自学。

信息工程学的硬件,不是很硬件,现在高级点的集成电路所需要的基础课都没学,这块在电子科学与技术或者微电子那里。

信息工程学的原理,那倒是很多,五花八门,而且总是纯原理,没应用,也就是学了原理不知道能干什么,倒是很像学了门哲学。

 

突然感觉交大的EE,就是在原有的EE基础上,分离出去那些发展成熟的分支,留下那些分支的原理部分,删除高级部分应用部分。Electrical & Computer Engineering发展这么快,分支也越来越多,而EE始终想要保持老祖宗的身份,什么都不肯丢,又不得不丢,结果删了时髦的现代的,把经典的古典的启蒙的东西学了个遍。

 

EE是可以做IT,可是有了CS。EE可以做芯片,可是有了微电子。EE可以做材料,可是有了电子科学与技术。EE可以做电机,可是有了电气系。可以做元件设计,可是有了测控。可以做工厂车间电器控制,可是有了自动化。什么都可以做,可是你能想到的时髦的方向,几乎都已经专门分出去了一个专业。

Sunday, January 7, 2007

这学期本周结束

周三一门开,周四一门闭。到大四了才体会到临阵磨枪的意思,不知是祸是福。

毕业设计冲动一下选了个预计会很花时间精力的东西,据说还要英语讨论问题。听起来是很刺激啊,要是进的话就得干上了,不进的话就干点别的。challenge一个。