nginx 1.1.8 11月14日放出

Changes with nginx 1.1.8                                         14 Nov 2011

*) Change: the ngx_http_limit_zone_module was renamed to the
ngx_http_limit_conn_module.

*) Change: the "limit_zone" directive was superseded by the
"limit_conn_zone" directive with a new syntax.

*) Feature: support for multiple "limit_conn" limits on the same level.

*) Feature: the "image_filter_sharpen" directive.

*) Bugfix: a segmentation fault might occur in a worker process if
resolver got a big DNS response.
Thanks to Ben Hawkes.

*) Bugfix: in cache key calculation if internal MD5 implementation was
used; the bug had appeared in 1.0.4.

*) Bugfix: the "If-Modified-Since", "If-Range", etc. client request
header lines might be passed to backend while caching; or not passed
without caching if caching was enabled in another part of the
configuration.

*) Bugfix: the module ngx_http_mp4_module sent incorrect
"Content-Length" response header line if the "start" argument was
used.
Thanks to Piotr Sikora.

京石高速和京昆高速比较

有位同学在石家庄工作,家在北京,他说的很有参考意义
1、首先要说的是这两条高速费用相差无几,的确京石高速比京昆高速要近一些
2、京昆是从石家庄西北角入石(出高速就上了石清公路,一头通革命圣地西柏坡,一头直接和北二环相连)
3、京石高速从石家庄东面入石(出高速就可以直走进入市区,或者上东二环)
4、车速当然都国家规定时速120, 但是京石高速大货车多总要踩刹车,京昆就好多了,你可以提前一公里作出判断,视野可以说非常不错(开200没问题,再快就要注意侧向风),
5、京昆高速主线采用双向六车道
6、京石高速全线为双向四车道
7、京昆高速风大些那边是山,京石高速雾多一些

总结一下:都从北京到石家庄,走京石比走京昆大概省50公里,换成收费的话,大概省10-20元,但是京石高速车多,最主要的就是大货车多,而且事故也多;京昆车少,视野好,控制车速可以提高安全性,这几天一直在琢磨年底自驾去正定机场走那条路,现在决定了,走大广高速—-廊涿高速—-京昆高速—-石家庄环城高速—-京石高速—–正定机场。

varnish 3.0.2 10月26日放出

Summary of changes from 3.0.1 to 3.0.2

  • A crasher bug when requests were queued and the backend sent a response with
    Vary
    has been fixed
  • A crash when a too large synthetic response was produced has been fixed.
  • The ban lurker now properly sleeps the 1 second it is supposed to
  • Varnish now releases disk space properly if no -s argument is provided, and the default cache size is now 100MB instead of 50% of the available disk space

英文中1月到12月的由来

大家对英语中一月到十二月的表达方法肯定不会陌生,但是你知道它们的来及吗?

公历起源于古罗马历法。原来只有10个月,古罗马皇帝决定增加两个月放在年尾,后来朱里斯*凯撒大帝把这两个月移到年初,成为1月和2月,原来的1月,2月便成了3月,4月,依次类推。最后便成为了今天世界沿用的公历。
January

在罗马传说中,有一位名叫雅努斯的守护神,生有先后两副脸,一副回顾过去,一副要眺望未来。人们认为选择他的名字作为除旧迎新的第一个月月名,很有意义。英语

January,便是由这位守护神的拉丁文名字January演变而来的。

February

每年2 月初,罗马人民都要杀牲饮酒,欢庆菲勃卢姆节。这一天,人们常用一种牛、草制成的名叫Februa的鞭子,抽打不育的妇女,以求怀孕生子。这一天,人们还要忏悔自己过去一年的罪过,洗刷自己的灵魂,求得神明的饶恕,使自己成为一个贞洁的人。英语2月February,便是由拉丁文Februar-ius(即菲勃卢姆节)演变而来。

March

3月,原是罗马旧历法的1月,新年的开始。凯撒大帝改革历法后,原来的1月变成3月,但罗马人仍然把3月看做是一年的开始。另外,按照传统习惯,3月是每年出征远战的季节。为了纪念战神玛尔斯,人们便把这位战神的拉丁名字作为3月的月名。英语3月March,便是由这位战神的名字演变而来的。

April

罗马的4月,正是大地回春.鲜花初绽的美好季节。英文4月April便由拉丁文April(即开花的日子)演变而来。
May

罗马神话中的女神玛雅,专门司管春天和生命。为了纪念这位女神,罗马人便用她的名字——拉丁文Maius命名5月,英文5月May便由这位女神的名字演变而来。

June

罗马神话中的裘诺,是众神之王,又是司管生育和保护妇女的神。古罗马对她十分崇

敬,便把6月奉献给她,以她的名字——拉丁文Junius来命名6 月。英语6月June便由这位女神的名字演变而来。也有学者认为,Junius可能是个代拉丁家族中一个显赫贵族的姓氏。

July

罗马统治者朱里斯凯撒大帝被刺死后,著名的罗马将军马克按东尼建议将凯撒大帝诞生的7月,用凯撒的名字——拉丁文Julius(即朱里斯)命名之。这一建议得到了元老院的通过。英语7月July由此演变而来。

August

朱里斯*凯撒死后,由他的甥孙屋大维续任罗马皇帝。为了和凯撒齐名,他也想用自己的名字来命名一个月份。他的生日在9月,但他选定8月。因为他登基后,罗马元老院在8 月授予他Augustus(奥古斯都)的尊号。于是,他决定用这个尊号来命名8月。原来8月比7月少一天,为了和凯撒平起平坐,他又决定从2月中抽出一天加在8月上。从此,2月便少了一天。英语8月August便由这位皇帝的拉丁语尊号演变而来。
September

老历法的7月,正是凯撒大帝改革历法后的9月,拉丁文Septem是“7”月的意思。虽然历法改革了,但人们仍袭用旧名称来称呼9月。英语9月September,便由此演变而来。

October

英语10月,来自拉丁文Octo,即“8”的意思。它和上面讲的9月一样,历法改了,称呼仍然沿用未变。
November

罗马皇帝奥古斯都和凯撒都有了自己名字命名的月份,罗马市民和元老院要求当时的罗马皇帝梯比里乌斯用其名命名11月。但梯比里乌斯没有同意,他明智地对大家说,如果罗马每个皇帝都用自己的名字来命名月份,那么出现了第13个皇帝怎么办?于是,11月仍然保留着旧称Novem,即拉丁文“9”的意思。英语11月November便由此演变而来。

December

罗马皇帝琉西乌斯要把一年中最后一个月用他情妇的Amagonius的名字来命名,但遭但元老院的反对。于是,12月仍然沿用旧名Decem,即拉丁文“10”的意思。英语12月December,便由此演变而来。

nginx 1.1.6放出

Changes with nginx 1.1.6                                         17 Oct 2011

    *) Change in internal API: now module context data are cleared while
       internal redirect to named location.
       Requested by Yichun Zhang.

    *) Change: if a server in an upstream failed, only one request will be
       sent to it after fail_timeout; the server will be considered alive if
       it will successfully respond to the request.

    *) Change: now the 0x7F-0x1F characters are escaped as \xXX in an
       access_log.

    *) Feature: "proxy/fastcgi/scgi/uwsgi_ignore_headers" directives support
       the following additional values: X-Accel-Limit-Rate,
       X-Accel-Buffering, X-Accel-Charset.

    *) Feature: decrease of memory consumption if SSL is used.

    *) Bugfix: some UTF-8 characters were processed incorrectly.
       Thanks to Alexey Kuts.

    *) Bugfix: the ngx_http_rewrite_module directives specified at "server"
       level were executed twice if no matching locations were defined.

    *) Bugfix: a socket leak might occurred if "aio sendfile" was used.

    *) Bugfix: connections with fast clients might be closed after
       send_timeout if file AIO was used.

    *) Bugfix: in the ngx_http_autoindex_module.

    *) Bugfix: the module ngx_http_mp4_module did not support seeking on
       32-bit platforms.

 

貌似真实的梦境

今天凌晨一个梦,把我惊醒了,一个中学生,栩栩如生的面容,从机动车道中央绿化隔离带穿过,我应该是撞到了他,而我当时正在低头看手机,一抬眼,已经无法避免了;惊醒,幸亏是个梦!——太真实的梦境了

nginx 开发版 1.1.5 放出

Changes with nginx 1.1.5                                         05 Oct 2011

    *) Feature: the "uwsgi_buffering" and "scgi_buffering" directives.
       Thanks to Peter Smit.

    *) Bugfix: non-cacheable responses might be cached if
       "proxy_cache_bypass" directive was used.
       Thanks to John Ferlito.

    *) Bugfix: in HTTP/1.1 support in the ngx_http_proxy_module.

    *) Bugfix: cached responses with an empty body were returned
       incorrectly; the bug had appeared in 0.8.31.

    *) Bugfix: 201 responses of the ngx_http_dav_module were incorrect; the
       bug had appeared in 0.8.32.

    *) Bugfix: in the "return" directive.

    *) Bugfix: the "ssl_session_cache builtin" directive caused segmentation
       fault; the bug had appeared in 1.1.1.