不安全的原因

| Security

我们来看看那个人说的这段话:

I’d be really surprised if somebody is actually able to get a real-world attack on a real-world pgp key usage or similar out of it (and as to the covert channel, nobody cares). It’s a fairly interesting approach, but it’s certainly neither new nor HT-specific, or necessarily seem all that worrying in real life. (HT and modern CPU speeds just means that the covert channel is _faster_ than it has been before, since you can test the L1 at core speeds. I doubt it helps the key attack much, though, since faster in that case cuts both ways: the speed of testing the cache eviction may have gone up, but so has the speed of the operation you’re trying to follow, and you’d likely have a really hard time trying to catch things in real life).

It does show that if you want to hide key operations, you want to be careful. I don’t think HT is at fault per se.

阅读全文…( 本文约 822 字,阅读大致需要 2 分钟 )

彼岸花

| Shared Chaos

From sarah’s blog.

彼岸花,又称曼珠沙华。一般认为是生长在三途河边的接引之花。花香传说有魔力,能唤起死者生前的记忆。

春分前后三天叫春彼岸,秋分前后三天叫秋彼岸。彼岸花开在秋彼岸期间,非常准时,所以才叫彼岸花吧。

阅读全文…( 本文约 315 字,阅读大致需要 1 分钟 )

熬夜好比出大招

| Life

houxd的blog上面看到的:「有的时候觉得熬夜就像游戏里的大招。一发出来威力无穷,但是却有条件,比如损血,或者费魔法点数之类的。」

仔细想想颇有道理……

参与评论

跑了题的一段废话

| Life

跟一个孩子聊了聊关于出国的问题,鼓励了他一番。

你对自己的受教育状况满意吗?答案肯定是不满意,从对个别课程,到对整个教育体系——当然,我非常清楚的一件事情是,很多人都把我的想法误解为「精英式教育」。我的想法,总结一下很简单,就是无论做什么,你可以分成不同的层次,但是不可以做出次品。比如说做一台电脑,主频1M可以,但是不能说3分钟自动暴毙或重启一次。

阅读全文…( 本文约 988 字,阅读大致需要 2 分钟 )

How to determine whether a number is 2^[INTEGER]?

| Development

I have an idea: let we have “a” is the number to determine.

return ( (0 == (a & (a-1))) && (a > 0))

Despite the style of the code, is there some better solution? Note that a is a native integer type (say, int, long, long long, etc).

参与评论

Enabled SPF protection on beastie

| Security

A decision was made to enable SPF on beastie. SPF is a technology that mitigates forged spam (while it itself is not totally spam proof, as spammers can set up their own SPF record :-)

参与评论

多么教育人的小故事啊

| Shared Chaos

From: blog of Che Dong

一个出家人在旅途中,碰到一个不喜欢他的人。连续好几天,好长的一段路,那人都用尽各种方法侮蔑他。最后,出家人转身问那个人:「若有人送你一份礼物,但是你拒绝接受,那么这份礼物是属于谁的?」那人答:「属于原本送礼那个人。」出家人笑着说:「没错。若我不接受你的谩骂,那就是你在骂自己?」

其实,只要心灵健康,别人怎么想都影响不了我们。如果我们一味的在乎别人的想法或者说法,就会失去自我,失去快乐。健康的心灵是我们观察世界的窗口,有了它,我们才能发现人生中的无穷乐趣。

阅读全文…( 本文约 532 字,阅读大致需要 2 分钟 )

ReiserFS 3 ReadOnly support imported

| Kernel

So he has finally (after about six or more months) imported read-only ResierFS, congratulations, dumbbell, you have made a quite impressive change!

Since 6-ism VFS interface is quite different from 5-ism, so this change is not likely to be merged IMO. Read-write is also not likely to be available soon, but anyway, ReiserFS is a nice FS and supporting it is a good move.

Today another GPL kernel has problem with a 4TB RAID5 array, it thought that it is 2.1TB (on boot) and refuse to initialize it with its native file systems, including ReiserFS. On contrary, FreeBSD 5.4 and 6.0 works smoothly with a GENERIC kernel. Oh well…

参与评论

All work and no play makes Jason a dull boy

| Life

All work and no play makes Jason a dull boy. All work and no play makes Jason a dull boy. All work and no play makes Jason a dull boy. All work and no play makes Jason a dull boy. All work and no play makes Jason a dull boy. All work and no play makes Jason a dull boy.

All work and no play makes Jason a dull boy.

阅读全文…( 本文约 230 字,阅读大致需要 2 分钟 )

听说……花了~~

| Kernel

在-CURRENT上发表那个patch之后果然有很多热心人帮助测试。有人说在X里面接USB键盘会花,现在还在找原因……

参与评论