11/07/2007

New Mac OS X, old test 新系统,老测试

既然苹果公司在Mac OS X 10.5的矢量库中为Intel的处理器做了大量优化(见加速框架的发布说明)……我来测试下。感谢Lvli007的机器。
Since Apple Inc. is said to make many improves in vecLib of Mac OS X 10.5 to Intel's CPU(SeeAccelerate Release Notes), I'll check it. Thanks to Lvli007 for providing the computer.
Intel Core 2 Duo T7200:


Convolution (2048 x 256):

microseconds GFlops microseconds GFlops
(average) (average) (best) (best)
------------ --------- ------------ ------
CPU # 1: 1345 0.7782 1338 0.7822
CPU # 2: 1343 0.7794 1338 0.7822


Complex Fast Fourier Transform (1024 elements):

microseconds GFlops microseconds GFlops
(average) (average) (best) (best)
------------ --------- ------------ ------
CPU # 1: 5.183 9.878 5.113 10.01
CPU # 2: 5.189 9.866 5.125 9.99


Real Fast Fourier Transform (1024 elements):

microseconds GFlops microseconds GFlops
(average) (average) (best) (best)
------------ --------- ------------ ------
CPU # 1: 3.369 6.839 3.345 6.888
CPU # 2: 3.335 6.909 3.291 7.001


Dot Product (1024 elements):

microseconds GFlops microseconds GFlops
(average) (average) (best) (best)
------------ --------- ------------ ------
CPU # 1: 0.2783 7.354 0.276 7.417
CPU # 2: 0.2747 7.451 0.276 7.417

看来确实快了,可以同上次10.4.8下的结果对比。看来经过不懈努力,SSE3还是有可能和Altivec拼一拼的。虽然,那个卷积还是那么寒碜。
但是,我意外地得到了Rosetta下conv的结果:
Ahh… better than previous results under 10.4.8. Seems that after a year's work, SSE3 eventually achieved the same order of Altivec, though the convolution's still poor.
But I got score of conv under Rosetta accidentally:


Convolution (2048 x 256):

microseconds GFlops microseconds GFlops
(average) (average) (best) (best)
------------ --------- ------------ ------
CPU # 1: 193.7 5.402 190.7 5.489
CPU # 2: 193.4 5.41 190 5.507

不仅大大超过了模拟器下其他三项的性能,而且,7倍于Intel原生过程的性能……无语了。补充下,可以生成通用二进制程序的convMP.tar.bz2在
Not only speed over the other 3 tests under the emulator, but also 7 times faster than the native routeline for Intel… I have nothing to say about. BTW the convMP.tar.bz2 which can build Universal Binary is here.

10/12/2007

Intuition tests 直觉测试 - 0

Zk从某处看来的问题。一个正四面体和一个棱长与之相等的正四棱锥,将正三角形的面贴合面,棱贴合棱,得到多少面体?

Question from Zk from somewhere ...If we put a face of a regular tetrahedron, to one of the triangle faces of a square pyramid with equilateral triangular sides and same edge length, face to face, edges to edges, then how many faces are there?


10/06/2007

Ticketing Price of Beijing Metro 北京地铁的票价

降价,但是没有更高的运能——薄利,却没办法多销。其结果就是总收益降低。的确,没有哪个地铁系统能仅靠自身运营就盈利的,但总不至于连运营成本也打算要财政补贴吧。
要么财政把票价全给补贴了吧,反正政府有的是信用,永远能借到钱。

Lower the price, but no more capacity. Yes, there's no subway system get profit by saling tickets. But should everything including running costs be paid financially?
Finance comes from Tax.



Model DK16A in Taipinghu Depot

8/31/2007

Asia-Europe 亚欧

有这样一个机构,铁路合作组织。几十年的工作,仍未换来陆桥飞架。没天堑也不能通途。

It exists, the Organization for Cooperation of Railways, for years. But still can't make a continent bridge as the Schengen area.

5/22/2007

Of OS/2's failing 论OS/2的倒掉


(c) 2007, Oracle

一件事物的失败,原因多种多样。但是OS/2的倒掉,至少有个原因:IBM自己的个人计算机都不安装OS/2而是Windows。在这个报告上,最新的处理器先提供给对手,看来另一个带2的产品跟进了。

For one thing's failing, there're many reasons. But OS/2's failing must have a important one: IBM's PCs are shipping without OS/2 but Windows. Showing on the report, the newest processor is supplied to the comparator at first: It seems that another product named with 2 is following.


5/20/2007

Pepsi Salt Soda 百事盐汽水


现在他们不仅卖糖水,也卖盐水了。

Now they not only sell sugar water, but also salt water.

5/19/2007

Safety first 安全第一


国际品牌就是注意安全,庄臣的蚊香就比较安全,安全到烧到一半就灭……益损说得对,蚊香这个东西,还是中国造的比较好,也没听说谁家烧起来的。

International brands consider safety first, as Johnson's Coils, those never got their burning finished. Eason's right, Coils form China is better. There isn't any report of somewhere using Coils being burned.

4/30/2007

Beijing Memories 北京记录 - 18

月琴,京剧。
侧耳倾听,千年余韵。

Yueqin, Peiking Opera.
Hear, it echos for a thousand years.



景山公园, 2/3/2007

4/29/2007

Wardrobe Malfunction of Meng Ya 《萌芽》走光了

新一期《萌芽》……这照片不知道是哪位照的?
对这个小姑娘而言,腿部严重变形显然已不是大问题了。
周先生要笑了,图片编辑真合他意。

The new issue of Meng Ya(a famous literary magazine aimed to students) ...Where's the photographer?
On the girl, the huge deformation of her leg even isn't a problem.
Mr. Lu Hsun must be laughing, that the picture editor implemented his will perfectly.

4/27/2007

Beijing Memories 北京记录 - 17


景山公园, 2/3/2007

老人的生活丰富多彩。
字。一种艺术。一个字可以蕴涵很多东西。字中可以窥得道理,也可以品味他人。
在公园里,像这样练字的老人很多。可能哪位就是高人。

Senior citizens' life are colorful.
Characters. They are art. They are magic. They are meaningful. They can include philosophy, or show personality.
There're many senior citizens like him in parks. There must be philosophers.

另:说到字,还有另外一件事,方正新出了徐静蕾的字体。流行新时尚?技术上并不是什么难的事情,多年前我曾经跟暗暗说给她做个字体,关键是她至少得写几千个标准字,我也得处理得了那么多……

ps. there's another thing with the Characters, that Founder Corporation has develpoed a Jean Xu's hand-writing font. The fashion? I asked Anan about creating her hand-writing font years before. But there's a key point that she can write out thousands contourable Characters, and also, I can process that much.

4/18/2007

Beijing Memories 北京记录 - 16

北京的『的哥』(计程车司机)很有意思,他们甚至比政治家还关心政治。
他们的工作很累。他们的爱好就是评论。
传说中大概三千多年前的古时候,那些生活在社会基层的人也很累,他们的爱好大概也是评论,评论时政、评论生活。他们评论的歌谣都收入了《小雅》。

Beijing taxi drivers are interesting. Their care over politics sometimes are even more than that of politicians.
They work hard day by day. Comment is their hobby.
As historians told, over three thousand years ago, the workmen are alike. And hobby of comment, on politics, on life, too. Their comments are collected into a famous book, the Book of Songs.



新兴桥, 1/13/2007

4/17/2007

Beijing Memories 北京记录 - 15

小贩。游走在法律边缘。
其实他们也是凭自己劳动生活。又有什么地方不对了呢?

Hawkers. Outer of law.
They lived by themselves. Why illegal?



东方广场, 1/31/2007

4/16/2007

Beijing Memories 北京记录 - 14

高峰,就会见到他们的身影。
他们多是下岗职工。就业是这个人口众多国家永远的痛。
曾经有人质疑过他们的合法性;但不容置疑的是,他们维护了社会秩序,法律则应该让他们合法。

Rush hours, they appeared.
They came from the department that cannot afford they more. Employment is always a pain of this country with a huge population.
Some people doubted if they are legal or not. But they are making the society in order. The law should ensure they.



天安门东, 1/29/2007

4/10/2007

Beijing Memories 北京记录 - 13

红砖楼,也在从城市中逐渐消失。
现在也是历史。记录,也是活在北京的人的记录。

Buildings with red bricks are becoming historical.
To record the current. Also, to record the people living in Beijing.



张自忠路3号, 2/28/2007

4/07/2007

Beijing Memories 北京记录 - 12

南新仓。598年。
关于历史总是存在很多争议,不过不管怎么说,这里还是留下来了。皇史宬的情况就好么?或许得再过几百年见分晓。同时还可以看看钢筋混凝土厉害,还是木结构梁和柱和大城砖厉害。

The Southern New Royal Warehouses, 598 years.
Argues on history could never be calm. After all, the warehouses exist. What about the situation of the Royal Archives Building? Maybe it needs hundred years to prove. Also to check the reliability of the reinforced concrete besides?



东四十条22号, 2/28/2007

4/05/2007

Beijing Memories 北京记录 - 11

先前落下的,王府一瞥。

A sight in a Wang Fu.



张自忠路7号, 2/26/2007

4/04/2007

Beijing Memories 北京记录 - 10

新协和则是纯粹由外国人设计的(参考:建立北京协和医学院,洛克菲勒档案中心1990研究报告),但是他们则学习并复兴了中国的传统样式。兼收并蓄是好,避免了很多中国传统样式的问题,却依然古色古香。

The Union Medical College was fully designed by foreigner(Ref: Building Peking Union Medical College, The Rockefeller Archive Center Research Report 1990), but they learned and revived the traditional Chinese style. Eclecticism is good, that they keeped the style and avoided the defects.



东单三条9号, 1/29/2007

4/03/2007

Beijing Memories 北京记录 - 9

清陆军部西侧楼,杰出的工程师沈琪设计。西洋楼式,但仍使用的青砖和传统的砖雕。
西方建筑的引入,从纯粹西方设计西式风格的天主堂,发展到本土设计的陆军部。学来了大体的外观,细节、方法却是自己的。这就是当年我们学习西方的方法。
另:按照赖德霖先生的考证,沈琪更重要的贡献在与交通方面,特别是铁路的营建。

This is the west wing building of the Ministry of Army, Qing Dynasty. The designer is Shen Qi, an outstanding engineer. It is in the victorian style, but builded with traditional blue bricks with carvings.
The western buildings from the church to this, the designer changed from foreigner to Chinese. This is the way we used to study.
P.S. According to Mr. Lai Desen's research Mr. Shen made important progress in transportation, esp. railways.



张自忠路3号, 2/28/2007

4/02/2007

Beijing Memories 北京记录 - 8

有关建筑的题材,居然堆积出了北京近代建筑史的一角,于是请Fionee帮忙去询问了张复合教授。
宣武门天主堂,可以追溯至1605年,是中国的第一批西洋建筑。
利玛窦,汤若望……他们不单单是简单意义上的传教士,是他们把东西方的世界联系在一起。

I've got so many pictures to take a look at the History of Beijing Contemporary Architectures, so I've asked Fionee to help me by asking Professor Zhang Fuhe.
This is the Xuanwumen Catholic Church, which has a story since 1605 in retrospect, as one of the first western style buildings in China.
Matteo Ricci, Adam Schall von Bell …they are more than the Missionaries, they bring our world together.



宣武门天主堂, 2/4/2007

3/30/2007

Beijing Memories 北京记录 - 7

中国的古代建筑服务于帝王,其规模同建筑之速度完全不成比例,其结果就是大量的砖木结构建筑,很难保存长久。很少有如此由石料砌成的,因为牠是皇家档案馆。
不得不说的话:我们有延续2847年多没有间断的历史记录。每个华人都该为此骄傲,先辈的血液也流淌在我们身上。

The ancient Chinese architecture is for the Emperor, that the building speed is amazing fast compared to the size. As a result, wood is mainly used and the buildings are hard to resist the time. This building made by stone, is different because it stores archives.
It must be said, we have a consecutive, systematic record of history for more than 2 847 years. Every Chinese should be proud of this, and, to know that's a part of us.



南池子大街136号, 2/26/2007

3/28/2007

Custom of Coffee 咖啡的习惯


(Er …not in focus …)

不加糖也不加奶?那已不是享受,是吸毒——不如来针咖啡因。

Without sugar or milk? That's not Coffee, that's drug. Better to give a shoot of caffeine.

3/26/2007

Max is good

从菜肴和名字同样后现代的『per il Gelato』回来,惊闻Max勇夺『优秀学生』称号,庆祝下……

Backing from the restaurant per il Gelato with bland foods, we've found that Max has got a Good Student title surprisly …well done!

3/25/2007

Beijing Memories 北京记录 - 6

力量之源泉。

The source of power stands.



人民大会堂东门外广场, 3/2/2007

部落格许久没有更新。原因是遇到各种事情,包括那堵伟大的墙——时至今日,也没有组织宣称对此负责。

Blog's update has been delayed for quite a long time. Reasons are various, including that Great Wall around, the none is claimed to be responsible for.

3/19/2007

Beijing Memories 北京记录 - 5


2/28/2007

建筑,城市的元素。
这个……是典型的高档四合院。这个东南开的正门,规格为广亮门,标志着主人的身份地位。

Buildings, elements of the city.
This is …a typical premium Quadrate Yard. The main gate here, which is opened at SE corner of the yard, showed the master's status by its style.

3/15/2007

Beijing Memories 北京记录 - 4

棋盘。世界上也没有多少城市如此规划,自然也没有多少人会在指方向的时候说『东』『南』『西』『北』。这个只为效果不为功能的城市规划,真的很美。

Chess board. Few cities are planned like this. As a result, few people telling the way by NSEW. An urban plan for effects, not functions. A beautiful artwork.



景山万春亭, 2/3/2007

3/14/2007

Beijing Memories 北京记录 - 3

一线小路,两重天。

One path, two classes.



南池子大街136号, 2/26/2007

3/13/2007

Beijing Memories 北京记录 - 2

在城市的另一侧,金融街也对称地覆盖掉了熟悉的胡同。

By the other side of the city, the Financial Street, new buildings are taking the position of familiar Hutongs.



月坛桥, 2/3/2007

3/12/2007

Beijing Memories 北京记录 - 1

东单头条和二条?早已被拔地而起的东方新天地覆盖,成为历史。这也是北京饭店近百年一直在做的。『北京的发展像是摊大饼』……大家都在横向发展。

The Oriental Plaza has erased two streets from the map years ago. Like what Beijing Hotel are doing since nearly hundred years ago till now. Nearly everything is growing fatter…



东长安街-王府井大街, 1/29/2007

3/09/2007

Beijing Memories 北京记录 - 0

Daisy忽然问到的,北京现在有没有变化很大呀?我只好如此回答,权当是生日礼物吧。

Daisy asked me whether Beijing has changed a lot or not. What I can do is trying to answer like this, as a birthday present for you.



东单三条9号, 1/29/2007

3/08/2007

Duo Yi 朵颐


舍尔灵龟观我朵颐……

吃饭是一件很重要的事。吃得多是件很好的事,廉颇老矣尚善饭。只是不知我们还能善饭多久……

Eating is an important thing. Eating like a horse is a good thing, but how long can we do so…

1/07/2007

Classical Pop, Of the Music 古典与流行——论音乐

An album from 中岛みゆき, who's songs are performed by many other singers. CD Produced by Yamaha Music.


常见人笼统地把音乐分成两类,『古典』与『流行』。
这个『古典』显然不是由曼海姆而来那个『古典』。
什么是『古典』?什么又是『流行』?
『「古典」是一种经典。』
倒不如这么说:『古典』也曾『流行』。时光流逝,大浪淘沙,剩下依然『流行』的,即是『古典』。
今天的『流行』或许是明天的『古典』。


Man usually classification the musics into Classical and Pop.
Of course, this Classical isn't the Classical from Mannheim.
What's Classical? What else's Pop?
Classical is somekind classical.
It's better to say: Classical is pop sometime. And then, as time goes by, the lefts which still pop, are Classical.
The Pop today maybe the Classical tomorrow.

1/06/2007

BMW for Youth 青春宝马

Picture from Gizmodo.com

宝马是卖给年轻人的。
这是最近宝马国际网站贴出来一个『新产品』。哇!是什么?

BMW is for the youth.
This is the New Product posted on BMW International Web Site renctly. Wow! What's that?



不管是什么,我买不起。很可能当我买得起的时候,我也不再年轻。
于是我没敢去BMW Art Car巡展。

What ever it is, it's what I can't afford. Perhaps I'll not young when I can afford that.
Then I was afraid to see the BMW Art Car exhibition.

1/02/2007

Jobs' new idea? 贾伯斯的新招?


Property of Apple Computer Inc.

苹果电脑的官方网站上打出了又一个概念广告。贾伯斯又有什么新招?
的确,30年了,当年的老对手们都消失了——微型仪器遥测系统倒下了,施乐和国际商用机器不做个人电脑了,康柏则被惠普兼并了。而苹果电脑则仍然在做个人电脑,仍在焕发着生机。
不过话说回来,这可不见得是贾伯斯的歪招在管用。他回归苹果电脑并忙着篡位夺权的1996年,也是苹果电脑巨额亏损濒临倒闭的那一年(实际上,那一年是众多个人电脑厂家的寒冬),苹果原厂的麦金塔还拥有6.6%的市场占有率(参考Business Week的图表),而2006年则为2.8%(IDC)。虽然贾伯斯的iPod拯救了苹果电脑。

There's a new ad on Apple Computer's website. What's the new idea from Jobs?
O, ye it's 30 years. And those old competitors are gone: MITS(Telemetry Systems Micro Instrumentation and Telemetry Systems)'s bankrupt, Xerox and IBM have gone down to other bussiness, Compaq is acquired by Hewlett-Packard. Apple Computer still lives in PC area, and it lives well.
But that's may not because Jobs' wicked idea. When he went back to Apple Computer and was busy getting the throne power, the year 1996, as it seemed going to be bankrupt (also the situation of lots PC manufactors at that time), Apple's Macintosh got 6.6% marketshare (See Business Week's chart). And in the year 2006, IDC reports a 2.8% marketshare, though Jobs' iPod saved Apple Computer.