Dec 30, 2006

The first snowing of Beijing in 2006


Snow, originally uploaded by K*K.

Today, after I weaked up, I saw outside is snowing, everythings are all white in last night.

It's so beautiful.

Are there anything better than watch out snowing outside in a warm room ?

What should I can do in holiday ? I'm thinking.
Ask some friends to go to make a snow-guy?
or go to skiing ? ^_^

Happy holiday buddies !

Dec 28, 2006

Replace my HD of Powerbook.

I'm using a Powerbook 17" for home and working. It was bought from Oct 2005.

It built-in a Seagate 5400.2 100G hard driver.

The broken HD - Seagate 5400.2 100G

But I feel some problem in it, the program can't write file in it sometimes, and there's no any error reported, just hang hang and hang,
I think maybe there are some bad block in it.

So I bought another Hitachi 5K120 120G HD to replace it,

My new HD - Hitachi 5K120 120G

I disassembly the powerbook with THIS GUIDE.

With a lot of work, the inside show to my eye.

Memory holdLooking inside - Logic Board and other stuff.

After assembly it, I clone my operating system in old disk into the new one, and start the system normaly.

HD in Sysinfo

How about the old disk, It's not broken that unrepairable, I repartition it and only use 80G of it, I bought a Datastorage PD2500 and put old harddriver into it.
I will store my movies in it. -)

The front of Datastorage PD2500The back of Datastorage PD2500

Dec 27, 2006

COCOTRON

Cocotron 是由 Christopher Lloyd 编写的一套,相当于 Mac OS X AppKit 和 Foundation 在其它平台上的实现,通过它使用 Objective C 编译器将能够同时在 Mac OS X/Windows/Linux 上运行。

想法很好,但是问题是,Mac OS X 的菜单位于屏幕顶端,其它平台的菜单一般在窗口的标题栏下。

我还没试,先不乱猜测。

Right here: http://www.cocotron.org
Cocotron

Dec 25, 2006

土话:Merry Christmas and Happy new year ;-)

在遥远的 2000 多年前,一个住在天上上叫耶和华的帅男和地上的叫玛利亚的靓女嘿咻嘿咻,
于是乎,十个月后,马厩里的“圣”便诞生了。
于是乎,几百年后,我们称之为圣诞节。

祝各位嘿咻快乐。

Dec 22, 2006

gxemul 0.4.3 loongson patch



 1:diff -Naur gxemul-0.4.3.orig/debian/changelog gxemul-0.4.3/debian/changelog
2:--- gxemul-0.4.3.orig/debian/changelog 1970-01-01 08:00:00.000000000 +0800
3:+++ gxemul-0.4.3/debian/changelog 2006-11-09 23:41:33.000000000 +0800
4:@@ -0,0 +1,134 @@
5:+gxemul (0.4.3-1) unstalbe; urgency=low
6:+
7:+ * New upstream release.
8:+
9:+ -- Liangjin Peng <penglj@lemote.com> Thu, 09 Nov 2006 15:38:20 +0000
10:+
11:+gxemul (0.4.2-2) unstable; urgency=low
12:+
13:+ * debian/rules: Use -O0 on m68k to avoid a gcc ICE (closes: #381039).
14:+
15:+ -- Göran Weinholt <weinholt@debian.org> Sat, 26 Aug 2006 20:41:20 +0200

......

Download from my box: http://www.box.net/public/db9dx205gq in /Patches/gxemul/ directory.

The orignal gxemul emulator source code is from http://gavare.se/gxemul/.

Native GTK+ running on Mac OS X


Native GTK+ running on Mac OS X, originally uploaded by K*K.

Successful running GTK+ 2.11 2006/12/21 cvs version on Mac OS X, no X11, no more requirements!
Plan:
1. Try to rebuild GTK+ with nquartz(Quartz Native) target, hope that GTK widget will looks like Aqua Widgets.
2. Merge Mac OS X like top menu patch in this version of GTK+.

I recommend you to build it with a script gtk-osx-build.sh, you can download it from: http://www.box.net/public/db9dx205gq.

Want to learn how to port GTK to Mac OS X, you can download Porting-Gtk-MacOSX.pdf guide by Anders Carlsson from my box Documents folder.

Dec 17, 2006

个人的时代(草稿)

起这个题目,要放在以人民公社为社会单位的年代,无疑是要受点惩罚的。

但不可否认,在上一次网络泡沫消逝之后,新的一轮 Web 2.0 又很“莫名其妙”地成为了风头浪尖,与上一次因为技术的高速发展所造成狂热相比,这次由 YoutubeFlickrInstructables 等等所谓 Web 2.0 社区所带来的,是给个人提供的舞台,提供了对个人能力的充分发挥和展现的机会。

个人的能力能有多大?这对于生长在红旗下的我们来说,无疑是个 XX,就政治课本而言,其中所描述的、宣传的社会主义社会性质,是一个人人为同一个目标为努力的社会,而从实际生活而言,确实独立行动对于个人而言,也似乎是非常遥远的,我们从小便按照国家、父母所制定好的计划行动着-前者是”努力学习本领,向着社会主义进发“,后者是“努力靠上大学,混个好工作,有个好钱途”,社会上的机会是很多的,但似乎没人问过我们-以一个个人的身份,愿意将自己的能力发挥到哪里?

但就学习内容而言,缺乏团队合作的学习和考试内容,又将个人的能力完全分隔,而毫无“人人努力向一个目标”的实质,所剩下的,也仅仅是从前作为学生的我们,将自己的能力无法凝聚在一起,各自应付自己“该应付的事情”-“考试”。学校里唯一能发挥团队精神的,可能就是春游和体育了,但作为学生真正的实际利益-考试,在那里放着,这种周边的团队精神是真实的吗?。可是不幸的是,正是这种很扭曲的“个人主义”,在真正走向社会后,被社会上的社会困难逐一击破了。


个人的能里能有多大?从前作为个人无法将自己的能力完全释放,很大一个因素是生产资料,从前政治书中就有写:资本家掌握生产资料,没有生产资料的无产阶级无法生产生活资料,只有家自己作为劳动力卖给资本家。

没有 DV,没办法 Youtube;没有相机,没办法 flickr;没有胶水钳子螺丝刀,Instructables 就算了;没有电脑和网络,前面三个一起白搭。好在现在工具措手可得,虽然从前一些工具依然能够得到,可是还有一个很大的问题 - 报纸、电视、电台等传媒都被把持,做出来也没人知道。而电脑和网络的兴起,对推动个人水平的发展,才真正起到了关键作用,进而推进了社会的进步,时代的进步显而易见。


个人的能力如何发挥?
。。。。


这就是《时代周刊》2006 年年度人物:你

你的能力能有多大?这只能看你自己,舞台,已经为你准备好了。

Time - Person of this year

Dec 11, 2006

龙梦盒子 Municator 相片

通过公司的销售部门,我们拿到龙梦盒子。

机器是由厦门设计的 Municator,在市场上售价为 149 美元。

机器的配置是:
CPU: 龙芯 2E 666Mhz
内存: 256M
硬盘: 40G 笔记本硬盘
显卡:ATI Radeon 7000
芯片组:自行研发的北桥 + VIA VT686 南桥
网卡:Realtek 8139
USB: 四个 USB 2.0

该机试用性能满意,应用主要以 Linux 和开源软件为主。

简单做了个 nbench 测试:
http://www.kuangxuqing.com/2006/10/nbench.html

龙梦盒子 Municator 龙梦盒子 Municator 龙梦盒子 Municator 龙梦盒子 Municator 龙梦盒子 Municator

Dec 10, 2006

音乐之声

Let's start at the very beginning
A very good place to start

When you read you begin with
A, B, C

When you sing, you begin with
Do-Re-Mi

Do-Re-Mi
The first three notes just happen to be

Do-Re-Mi
Do-re-mi-fa-so-la-ti

"Doe," a deer
A female deer

"Ray" a drop of golden sun

"Me" a name I call myself

"Far" a long long way to run

"Sew" a needle pulling thread

"La" a note to follow sew

"Tea" a drink with jam and bread

That will bring us back to doe

Sound of Music

Dec 5, 2006

龙芯的人来联系了


你好:
我是龙芯产业联盟的管理员 ,听说你有意做龙梦电脑的everest移植项目,非常高兴。我和龙梦的市场人员有直接的联系。我可以帮你这个忙。你要几台?请和我联系
我的QQ XXXXXXXXX MSN XXXXXXX@hotmail.com 这个星期龙梦就要选定测试的人员。请尽快和我联系。
--
龙芯产业化联盟隶属于信息产业部,依托中科院计算所。以龙芯CPU技术为龙头,以中科院计算所为依托,以国内优秀企业为骨干,联合国内的各类应用技术研究发展单位、集成单位,重点是政府、教育、军事的研、产机构及广大用户,形成国产关键技术的强大推动力、强壮的产业链。有效扩大联盟成员在产业链上不同层次的市场份额及行业用户的有效规模化应用。
联盟网站www.china-cpu.org
论坛www.china-cpu.org/bbs
官方博客http://longxin2010.blog.sohu.com/


看来有事情做了。

经过申请,移植 Everest 到 MIPS 架构上的工作就交给我了。

以后的日志将以这个工作为主。

About Me

My photo
This web site recorded something interesting about free software, photographics, music, other stuff and a little tic.

My new website location in www.kuangxuqing.com