有人说《AntiTrust》真是一部宣传Linux系统的好电影,因为里面使用的电脑安装的基本上都是Linux操作系统,从男主角入侵Synapse的系统时可以看到。但我无意中发现电影里却还出现了Windows。 继续阅读
月度归档:2009年10月
礼品
感谢气泡熊、感谢Power团队、感谢MEIZU广州俱乐部!
礼品都拿到了。百度Hi相框、Panasonic耳机、MEIZU水杯……
PS: 本贴的ID是2046,这个数字很熟悉呀~~
Ubuntu 9.10,围观PS帝
围观PS帝。原图片来自http://www.ubuntu.com/files/countdown/910/countdown-9.10-1/02.png
魅族M8的诱惑
今天还是买下了价格昂贵的M8,1999. 送了个电池,还真不错! 另外,小T朋友(本站顶部图片的美工)特别介绍我参加了下午的魅友聚会。话说,我也是煤油了。每个参加的都有个MEIZU的水杯送,真好。PS:小T人也很好 🙂
为什么会这样子
a ^= b;
b ^= a;
a ^= b;
以前看到iceboy喜欢用xor来交换两个数。今晚就写了段程序来比较xor法与第三方变量法的效率,惊奇的发现,xor法竟然输了。
是不是我的程序有问题呢?
以下是测试比较:
继续阅读
转载:那高考前演讲事儿
以下转载自我同学的空间。貌似还没经他允许,不过我知道他会做的了。
继续阅读
转载:《Unix、Gnu、Windows与明王朝、李自成、满清的相似性分析》
以下内容来自http://blog.csdn.net/duyanning/archive/2007/09/25/1800111.aspx,本人不发表任何观点,大家可以公证评论。
Unix:崇祯明王朝
GNU nux:李自成的农民起义军
Windows:满清
IBM:蒙古北元
计算机用户:山海关总兵吴三桂
易用性:陈圆圆
李自成农民起义军本来的敌人是明王朝(GNU is not Unix)。
满清原本不过是关外一个落后而弱小的野蛮民族(MS-DOS),仰望并粗陋地模仿着天朝(Unix)的一切。
北元,曾经不可一世的世界霸主,此时退居漠北偏安一隅。
满清在对北元既联合又打击的过程中逐渐壮大(从IBM-PC的DOS到微软自己的Windows)。
此时的明王朝已步入迟暮之年,在农民起义军的烽火中摇摇欲坠,关外是刚刚强大起来虎视眈眈的满清。
鹿死谁手,就要看吴三桂倒向哪一边了,这一切还得由陈圆圆最终决定。
win7 sins
无聊矩阵
这些天线性代数的课就在说矩阵,听得有点模模糊糊。
以前中学时候研究算法时碰到矩阵都会跳过,因为看不懂一堆数字表示什么意义。不过倒是觉得很有趣。
假设一个字符串:
a b c d e f g h i j k l m n o p q r s t u v w x y z
取出16个,写在一个4×4的矩阵里:
a b c d
e f g h
i j k l
m n o p
进行一次transpose, 得到
a e i m
b f j n
c g k o
d h l p
从左到右竖着读就是原字符串了。若写成字符串:
a e i m b f j n c g k o d h l p
只有a f k p还在原来的位置,因为这4个充当了对称轴。
然后以左下到右上为轴进行一次transpose,得到
p o n m
l k j i
h g f e
d c b a
此时写成字符串:
p o n m l k j i h g f e d c b a
倒过来读又是原字符串。
其实,这些大家一眼看出来的问题也没啥好研究的,只是我无聊~~
English Homework
This is my comment on the movie “August Rush”. My English is just so so, forgive me please!
It has been a long time that I was not deeply moved by such a perfect movie. After watching this movie, August Rush, I felt terribly hurt or something annoying, some kind of feeling that could not be expressed in words. But at last, I clapped, and just clapped, for the reunion of the family, for the talent of the boy and for the existence of true love in the world.
It’s a movie about music. You can hear different kinds of music from classic to folk throughout the whole movie. I have seen that how a boy with a gift for music became a well known musician. I have learned how music produced from instruments or even simple metal things in our daily life. I have also learned how music form in a musician’s sensitive mind. It called on us to realize that music is everywhere in the world.
It’s a movie about love. It was love that made me cry several times and I tried hard to hold back my tears again and again. It was incredible as well as unbelievable. I didn’t believe it was real. I just thought it must be a boring and rubbishy fiction that contains nothing valuable again. Actually, it proved I was wrong. Though it was full of coincidences, it recalled me of my family, my childhood and of the thought of love. Why did the orphan boy have such a strong desire to find his parents? Why did the mother worry the boy so terribly? Having watched the movie, I got the answers. The orphan wanted to be loved and the parents wanted to love their child. It was love that bring brought them together in the end. The director didn’t show us the final scene of their reunion, but we can guess that it must be a beginning of a happy family.
It’s such a great movie that I have never seen! The director didn’t try to make us cry only, but to let us understand the meaning of love, discover the sources of love.
Music is played for love. When music arises and love accompanies it, happiness is coming soon!