Professional, Passion and Patient
我年轻的时候也是一个追求最新软件版本的人呢。Snow Leopard释出测试版本一直就没有安装,最主要的原因是没时间折腾,更现实的原因是Mac OS Leopard满足了我这样一个苛刻的人的近乎所有要求,没有更换的需求。
这次现实的问题是,买了一块硬盘。随机的10.5恢复盘留在了上海,重装系统成了一种权衡。最终经过各种折腾选择了下载Snow Leopard,然后用镜像恢复一块移动硬盘使之成为安装介质,最终装好了系统。

Snow Leopard,感觉很好,至少我觉得发热又变小了,安安静静工作,不吵不闹,很乖。
如果Windows 7在我的Mac OS上的VMware Fusion里不要发热那么厉害,我也乐意把现在里面的XP换成Windows 7。
这几天同济网服务器出了一系列故障。主要症状就是忽然系统卡住,任何HTTP请求发送到Squid之后不进行任何返回,最终time out。同时SSH连不上服务器进行管理,甚至连登陆期间的SSH认证信息都不能返回。
打电话叫机房一遍遍重启的结果是机器可以恢复一段时间正常运行,但是数十分钟之后再次hang。
今天早晨观察到了一次出错的过程。在我把所有服务软件(MySQL, Apahce, Squid)全部关掉的情况下,只是下载新版本MySQL和执行备份脚本过程中,所有其他控制台提示connection closed by remote host unexpectly,留下一个控制台提示这个:

tongji kernel: EDAC MC0: UE page 0xa8810, offset 0x0, grain 4096, row 3, labels ":": e7xxx UE
My god,莫非内存完了…
BTW,找人,在上海的可靠的人员,懂点Linux的需要进机房看看问题,至少备份下数据。
In: 心情日记
7 八 20098月了,不知道哪里开始招聘了呢?
收留过我的地方:
微软亚洲研究院(Microsoft Research Asia),两次收留且收留中…
山东中创软件工程股份有限公司
不要我的地方:
通用电气公司
微软亚洲工程院(上海)
我想去已经投过的地方:
北京网易
我想去还没试过的地方:
阿里集团研发院(阿里软件)
谷歌中国

附招聘广告一则:
北京网易招聘页面工程师
职责描述:
专业技能:
有意者发纯文本简历到mikeluo@corp.netease.com,并注明邮件主题”**应聘页面工程师”,并抄送xiangxu@corp.netease.com
IE6带给了我们那么多的麻烦。现在两个新版本的浏览器都已经发布,是时候宣布IE6的死刑了。即日起,使用IE6访问本站都会看到这样的提示:

如果您发现这样的提示,请升级您的浏览器。
您可以在您的网站中插入这样的代码,加入IE6 no more计划。
<!--[if lt IE 7]>
<div style="border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative; margin-bottom:10px;">
<div style="position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;">
<a href="#" onclick="javascript:this.parentNode.parentNode.style.display='none'; return false;">
<img src="http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg" alt="关闭本通知"/>
</a>
</div>
<div style="width: 100%; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;">
<div style="width: 75px; float: left;">
<img src="http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg" alt="Warning!"/>
</div>
<div style="width: 275px; float: left;">
<div style="font-size: 14px; font-weight: bold; margin-top: 12px;">
您正在使用旧版本的浏览器
</div>
<div style="font-size: 12px; margin-top: 6px; line-height: 12px;">
为了在使用本站时获得更好的体验,请升级到一种现代浏览器。
</div>
</div>
<div style="width: 75px; float: left;">
<a href="http://www.firefox.com">
<img src="http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg" alt="Firefox 3.5"/>
</a>
</div>
<div style="width: 75px; float: left;">
<a href="http://www.browserforthebetter.com/download.html">
<img src="http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg" alt="Internet Explorer 8"/>
</a>
</div>
<div style="width: 73px; float: left;">
<a href="http://www.apple.com/safari/download/">
<img src="http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg" alt="Safari 4"/>
</a>
</div>
<div style="float: left;">
<a href="http://www.google.com/chrome">
<img src="http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg" alt="Google Chrome"/>
</a>
</div>
</div>
</div>
<![endif]-->
In: 资料文献
5 八 2009居中是一个能有效获取用户注意的排版方式。尤其是你有一个大大的提示想告诉用户的时候。
div居中有点难度,水平一般没问题,垂直,也就是全屏居中就有点技巧了。这里翻译了一篇办法:

展示的是旧版本的剧种方法,图示很清楚。稍微改进下代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Centered DIV Test</title>
<style type="text/css">
.centered_div{
width:500px;
height:200px;
position:absolute;
top:50%; left:50%;
margin-left:-250px;
margin-top:-100px;
background:red;
}
</style>
</head>
<body>
<div class="centered_div">centered div content</div>
</body>
</html>
在线例子可以看这里。
原文:The simplest way to horizontally and vertically center a DIV