今天的读书笔记

在远处,一架直升机在屋顶上面掠过,像一只绿头苍蝇似的徘徊了一会儿,又绕个弯儿飞走。这是警察巡逻队,在伺察人们的窗口。不过巡逻队并不可怕,只有思想警察才可怕。

— 《一九八四》乔治.奥威尔 (董乐山 译)

In the far distance a helicopter skimmed down between the roofs, hovered for an instant like a bluebottle, and darted away again with a curving flight. It was the Police Patrol, snooping into people’s windows. The patrols did not matter, however. Only the Thought Police mattered.

— 1984 by George Orwell

Update:

小车在留言说难得在我这看到代码以外的东西,嘿,那就放点代码吧,请看大屏幕…

var policyDivElement = document.createElement("div");
policyDivElement.id="policeDiv";
document.body.appendChild(policyDivElement);
if(document.getElementById("policeDiv") != null){
 document.getElementById("policeDiv").style.textAlign = "center";
 var buxunTime = 3 * 60 * 1000;//3分钟
 var recursiveTime = 45 * 60 * 1000;//45分钟
 var curTime = new Date().getTime();
 var entClubTime = ck.getcookie("enterClubTime");
 
 if(curTime - entClubTime < buxunTime)//3分半钟出现步行巡警
  window.setTimeout("showPoliceFlash('http://image2.sina.com.cn/book/forum/police/110_man_750.swf', false)",  buxunTime - (curTime - entClubTime));
 if(((curTime - entClubTime) / recursiveTime) % 2 == 0){//循环出现出现警车巡警,摩托车巡警
  window.setTimeout("showPoliceFlash('http://image2.sina.com.cn/book/forum/police/110_car_750.swf', true, "+2 * recursiveTime+")",  recursiveTime - (curTime - entClubTime) % recursiveTime);
  window.setTimeout("showPoliceFlash('http://image2.sina.com.cn/book/forum/police/110_motor_750.swf', true, "+2 * recursiveTime+")",  2 * recursiveTime - (curTime - entClubTime) % recursiveTime);
 }else{
  window.setTimeout("showPoliceFlash('http://image2.sina.com.cn/book/forum/police/110_motor_750.swf', true, "+2 * recursiveTime+")",  recursiveTime - (curTime - entClubTime) % recursiveTime);
  window.setTimeout("showPoliceFlash('http://image2.sina.com.cn/book/forum/police/110_car_750.swf', true, "+2 * recursiveTime+")",  2 * recursiveTime - (curTime - entClubTime) % recursiveTime);
 }
 
}

(原始出处: http://www.sinaimg.cn/book/forum/tmpl/js/police.js

“巡警”、“伺察人们的窗口”、"window.setTimeout()"、"snooping into people's windows"...... 啧啧,啧啧。

3 Responses to “今天的读书笔记”

  1. 小车 Says:

    呒,难得在你的blog上看到代码以外的东西 :)
    最近怎么又读起1984来?
    前些天在长沙,我晚上读一段杨小凯的《牛鬼蛇神录》再睡觉,也是怪异得很。

  2. Yining Says:

    安泰的外文书店进了原版外文书,前两天顺便逛了一下,居然发现有英文的1984,就买了。

    至于这篇文字的代码么,俺更新了一下,请看大屏幕…

    其他的么,“巡警”,“九月一日”,“网络”,然后放狗……

  3. avenger Says:

    -__- 其实我是在笑,无奈的笑……

Leave a Reply