Saturday, October 13, 2007

Great music!

Some beautiful songs from friend that You can download here.This ablum writen by Jared when he travelling around the world.From Africa-Jerusalem-JiuZhaiGou-Xiamen-HongKong-Mexico and USA.

One of my friend acceptted L0rd Jesus yesterday night!Thanks au0Z bring him here.

PS:经过了30多分钟的compile终于chicken可以运行,又是一个好东东,很久没在电锯在线用电脑了,感觉不错,毕竟有一帮兄弟啊.很遗憾的是老婆要做功课所以不能和Shawn恶心了,只能来blog放放屁.今天在路上碰到了N久没见的Mr.Yang.Yang是Shawn的程式设计启蒙老师,当时Yang在读硕士,教了Shawn很基础的C语言,感谢主把Yang放到Shawn身边.Yang现在正在读Phd,May God bless all of my friends!

Sunday, October 07, 2007

"wo ai ni" and heartBeat++

"我愛你"Evin said to me.Great!I felt my heart beat violently.

80e2d7c18ea4afb1f5ef0ab0130df9e4
&&
d3b9d6cbcf48e3a1592abcebf76e5605
=
c9122fd7bae0681b62a39ddfc1c7fb19

Friday, October 05, 2007

越来越爱老婆了...

7天的vacation本来安排做N多事情,学习bible,math,SICP和arm.结果每天和老婆恶心就占据大部分时间 发现Shawn越来越爱老婆了 老婆也越来越可爱了 赞美她的口水如滔滔江水XX不决XX不断 回来几天每天都是牛肉太爽了 看来Shawn一天N餐吃牛肉都没问题的~也见了一些朋友,大多朋友现在对金钱的追求就如圣经所说---失去了自由!

最近发现了个好东东:Pansystem.或许这东西结合derrida的destruction of creativity text真的可以帮助Shawn找到Bible的平衡点,求主赐予Shawn智慧.

这是最近唯一能引起Shawn视觉兴奋的东东,vim是很强大,居然N多plugin都是脚本实现的,linux下的东西的确爽惨了!

这个parody把Shawn看的苦笑不得(Shawn:看来学会成语了)

PS:看了老妹的blog觉得这小东西长大了 呵呵 快成小艺术家了.......

Thursday, October 04, 2007

hacks the data structure of kernel

#define list_entry(ptr, type, member) \
((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member)))
I was wondering above when I found list.h with kernel 2.4.Thank JeFF's help that kick confusion shit of macro out of my brain.Probaly you can look at code shit that was below.

#include "stdio.h"
#include "stdlib.h"
#include "string.h"

struct list_head;
struct pci_bus;

#define list_entry(ptr, type, member) \
((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member)))
/* (struct pci_bus *)((char*)pb2-(unsigned long)(&((struct pci_bus*)0)->next-bus)) ) */
#define pci_bus_b(n) list_entry(n, struct pci_bus, next_bus)

struct list_head {
struct list_head *next, *prev;
};

struct pci_bus
{
int a;
int b;
int c;
int bus_num;
struct list_head next_bus;
};

void main()
{
struct pci_bus a;
struct pci_bus b;

memset(&a, 0, sizeof(a));
memset(&b, 0, sizeof(b));
a.a=1;
a.b=2;
a.c=3;
a.bus_num=4;

b.a=10;
b.b=11;
b.c=12;
b.bus_num = 13;

a.next_bus.next = &(b.next_bus);
b.next_bus.prev = &(a.next_bus);

struct list_head *pb = a.next_bus.next;
struct pci_bus *p_busb = pci_bus_b(pb);
printf("bus num = %d\n", p_busb->bus_num);
printf("addr = %s\n",pb);

struct list_head *pb2 = a.next_bus.next;
struct pci_bus *p_busb2 = (struct pci_bus *)((char*)pb2 );
printf(" -2- bus2 num = %d\n", p_busb2->bus_num);

}

Saturday, September 22, 2007

Free software Song by Richard Stallman


Lyrics:
Join us now and share the software;
You'll be free, hackers, you'll be free.

Hoarders may get piles of money,
That is true, hackers, that is true.
But they cannot help their neighbors;
That's not good, hackers, that's not good.

When we have enough free software
At our call, hackers, at our call,
We'll throw out those dirty licenses
Ever more, hackers, ever more.

Join us now and share the software;
You'll be free, hackers, you'll be free.

Shawn很佩服RMS,每次听这首歌时都会有些感触,昨晚一位朋友打电话来问Shawn对他们公司有没有兴趣,主要是做UNIX下的金融系统开发,虽然目前的工作不怎么爽,但Shawn只想下一份工作和embedded相关,他一直在说他们公司是世界TOP500如果去的话福利很不错,薪水也比现在高,不过大概他好像没有明白Shawn大脑的algorithm,如果他跟Shawn讲他们团队有一帮free software的狂热分子或许Shawn会考虑一下,对于Shawn而言这正是圣经所启示荣耀上帝和RMS的自由哲学的魅力.

Sunday, September 09, 2007

Switchfoot is great

Switchfoot的歌鼓励了N多人包括Shawn,希望大家也喜欢.最近让Shawn感到最不可思议的事情是Evin居然也喜欢Switchfoot,由于Evin曾经告诉过Shawn不喜欢U2,但Shawn的确想推荐Christian band给Evin.感谢主,只有您可以办到.

Dare you to move,this song encouraged me and a lot of friends of mine for fight.

24,let you known who are you~Yes,Christian is the second man

This is your life,welcome to the planet...

On fire,catch on fire is not just happend game's bug

meant to live,great song

Gone

Shadow Proves The Sunshine

A Walk to remember - Only hope

PS:I love Evin with all my heart.But I love Lord Jesus more!

Monday, August 20, 2007

Linux world is a Universe.....

I tried to make a Gnu cross-compile platform in Linux that let me recognize what a powerful tools which created by OpenSource Community.I have to use some windows programming skill for job although,but Linux got more seductive than shit.I begin to learning C51 micro-controll system and related ARM embedded system by myself.LOrd always leading me to make a highlight choice.Im planning to buy a ARM dev-board when I make cash enough.Work with micro-controll system that you can get to know more funny things than PC.Imagine that you just using 4k build a application up that can deliver to customers.

In facto,Im a newbie now.Bullshit over,back to sleep!

My girl go back home today and we will hangout about 6 months later.The flowers that Evin like it below.Mo cuishle,my sweety...

Friday, August 17, 2007

How can I forget such a beautiful kiss?

It's a beautiful day!The 6 months in the past,I was alway complain too much to God which "Thank LOrd you given everything what I need except girlfriend".I got a girl now.

Thank,Lord.You knew me more than myself.

Shawn有gf了,真TMD不敢相信啊,已经无法用语言形容了,信主3年了都没找到过gf............When we are wins,praise the LOrd.When we are lose,praise the LoRd.

PS:Evin invited LORD Jesus in to her life.It's amazing that I cant believe that was really happend!

Friday, August 10, 2007

Tuesday, August 07, 2007

It's able to do what you should to do

It's awesome about thatMexican billionaire to donate laptops, says title of 'world's richest' doesn't matter

Every Christian should stick to spending 10% percent income for charity at least.If you would really do it,the World will get more hope!

Sunday, August 05, 2007

Shawn's Confessions

近2月没睡懒觉,周1-周5都是6:50起床读圣经和哲学然后上班,下班后不是处理没做完的工作就是学习Berkely计算机科学基础课程或者是去weight-room.周6和朋友技术兴趣小组或许哪一天可以真的为Open-Source Community做一点贡献.周日肯定是做礼拜!

最近读Augstine's Confession,觉得是Shawn在忏悔一样,Shawn在童年开始所产生的嫉妒和骄傲的方式和Augstine很相似,记得8年前一位来自Scotland的朋友给Shawn启了第1个E文名字:Augstine.每个人灵魂深入都在流血~灵魂在哭泣~在对上帝忏悔~但我们的身体领域和知识领域因为罪性的原因不断阻止我们达到3大领域的平衡,但只有耶稣基督可以医治人类的灵魂.

这就是Shawn坚信的答案,也是AUGSTINE以及无数的牛人所坚信的答案.在<忏悔录>里Augstine有2处说到:
"我的主啊,请看我的心,它跌在深渊的底层,你却怜悯它,让我的心现在告诉你,当我为作恶而作恶的时候,究竟在想什么。罪恶是丑陋的,我却爱它,我爱堕落,我爱我的缺点,不是爱缺点的根源,而是就爱缺点本身.我这个丑恶的灵魂,一天天在自趋灭亡,挣脱你的扶持,不是在耻辱中追求什么,而是去追求耻辱本身."

"为此,我决心要读<圣经>,看看其中内容如此.现在的我才懂得<圣经>不是骄傲者所能体味,也不是孩子们所能领会的.<圣经>阅读入门时觉得狭缢,简陋,越朝前越觉得高深,而且四面垂着奥妙的帐幕,我当时还没有入门的资格,不会屈躬而进.这些印象都是后来总结的,当我最初接触<圣经>的时候,我认为这部书简直完全不能和西塞罗的典雅文笔相比,真是有天壤之别.我的傲气看不起<圣经>的质朴,我的目光看不透它的深文奥义,<圣经>的意义是随孩子的年龄而俱增的,但我不屑于成为孩子,我满腔傲气,还自以为正确和伟大."

Shawn在大学里花了2年的时间尝试用数学,科学和哲学来证明<圣经>是迷信,之后尝试用这些学科来理解<圣经>,作为基督徒是一种耻辱,<圣经>需要证明吗?Lord Jesus就是真理的本体.Lord,forgive me what Ive done.下午看Augstine's Confession时Shawn crying......

PS:见到了5年没见的Evin,感谢Evin因为Shawn是基督徒的原因给Shawn分享了很多,相信Evin在HK会过的更好.争取下次的vacation可以找到Jane学习一些中国古文.很久没见的B.Ro也是超级的对Rock的狂热,Sissy还是像以前一样的喜爱思考.

Saturday, July 28, 2007

fcking busy,recently

Because of work's factor that I have to turn back to the Windows development.Thanks Mr.Hou's book which the Dissecting MFC written by him.I was alway dont like MFC framework before.But I begin to change my mind about MFC that is not really bad that I thought.Actually,Microsoft's developers were design a lot of strange macro of shit right there that just for skip the C++ nature flaw which all OOP langs waste many memory storage if the classes inheritance level more than 4 .

Damn fucking busy!I dont wanna talk about that shit.I will get start to read the Augstine's book that The City of God and Augstine's Confessions next week that means I have to spending more time than now.FATHER,please teaching me how do the Time-Management as well!Sometimes,I really think about that I was give up a job that can get 4K RMB salary per a month and chosen the 1.2k's salary,is it worthy it?The shit was shit.Im a fucking cheap labor.

Perhaps like as a frend said,"you need a lot of money to buy a house and to marry,dont just thinking about some useless things(he point out the philosophy)."He is right in his point of view at least.But I belevied everyone is unique when God created us.I will obey Lord and never been a look like a "average man" here.

FATHER,just for fun is too hard for OpenSource in China.I knew the ess stuff of just for fun that is Glory to you in my job and my life.I will stick to busting my ass to fight for ya.Because you die on cross for my sin about 2000 years ago.Shawn the R0ck will never ever obey the world.Shawn the R0ck doomed to a guy who is counterculture.And the name of Shawn the R0ck is a beautiful gift which You given to me.I appreciate for you alway given everything what I need.It's a beautiful letdown recently.More disappoint on earth,more hope on you that maybe out of and out of the Universe.

Actually,I need you pray honestly.

PS:不要以为Shawn就不会软弱,Shawn需要您为Shawn来祷告!

Wednesday, July 18, 2007

A morning talk

I was chat with Van in Google Talk this morning.Maybe you can see our topic that probaly you will get some "light burb went off" about truth.

和Van是去年认识的,Shawn和Van有很多共同点,我们都是基督徒,都是id玩家(Quake and Doom),都对哲学和系统神学有着浓厚的兴趣(Shawn:当然他比Shawn专业一些).毕竟是神学的PHd,或许唯一的不同就是Van比Shawn早诞生20多年.

开始工作不久,还没怎么进入状态,愿Lord Jesus能带领Shawn在未来的工作中Glory to God!
Praise the Lord!!!Glory to God!!!

Saturday, July 14, 2007

A win32 funny stuff!

I got a job.Im work for IVISAKA now.I got some funny stuff from the win32 platform.One of things about function call in win32 that you can using cl compiler to view a structure of function call:
#define shawn _stdcall
#define cayla _cdecl
#define chris _fastcall

void test(int a,int b,int c,int d)
{}
chris int main()
{
test(10,20,30,40);
return 0;
}

#define shawn _stdcall
push 40 ; 00000028H
push 30 ; 0000001eH
push 20 ; 00000014H
push 10 ; 0000000aH
call ?test@@YGXHHHH@Z ; test

#define cayla _cdecl
push 40 ; 00000028H
push 30 ; 0000001eH
push 20 ; 00000014H
push 10 ; 0000000aH
call ?test@@YAXHHHH@Z ; test
add esp, 16 ; 00000010H

#define chris _fastcall
push 40 ; 00000028H
push 30 ; 0000001eH
mov edx, 20 ; 00000014H
mov ecx, 10 ; 0000000aH
call ?test@@YIXHHHH@Z ; test

Thursday, July 05, 2007

Birthday(Shawn is 3 years old in Lord Jesus)

July 5th,2004:Carl is a pastor.Carl shared Gospel to a guy who named of Snake and Snake accepted Lord Jesus into his life.Hey,dude!Snake was my name:-) Thanks FATHER pick me up before when the universe be created.Thanks Carl share that good news to me that is really change my life.

I received baptism at the Church.It's awesome!!!That means,"hey,Satan!listen,Im Rock!be careful!Shawn the R0ck watching you now.Shawn can feeling your fear.Shawn known you afaird to failed like long long years ago."

3年前的今天信主,感谢神在创世以前就拣选了Shawn,感谢Carl到了离家6000KM的地方给Shawn分享福音,感谢Chris在这2年对Shawn的帮助.太多的感激无法用语言来表达,当你谦卑的在稣哥面前的时候就会更加的认清楚自己,能认识到真理的存在!前一段时间受洗是很cool的经历!

Tuesday, June 26, 2007

Linkinpark being a Christian band

I was listening the new album of Linkinpark---Minutes to Midnight.The new album's lyric got a big difference with them song before.Linkinpark's tech is the best especail the album of Hybird Theory,but actually I never like these song's lyric.YOU known what,it's so post-modernism.

Minutes to Midnight's lyric are great.There are 2 more songs mentioned about "wash away" and 1 song mentioned "let mercy come".It's awesome!!!Thank God!!!

I have read some paper about
Augestine and Plato's stuff that drive me thinking about final-problem.In the end, philosophy and theology are inextricable.

PS:最近读奥古斯丁和柏拉图的比较多,的确就目前的任何哲学体系都无法逾越他们两位牛人的思想体系,前者是神学家,先有了经验认识再去接着证明,而后者是哲学家,每一个步骤都是线性的证明走向.有限的人却面对无限的世界的确很难证明很多东西,即使是奥古斯丁也无法证明圣经里那大约10%的东东.

Tuesday, June 19, 2007

The concept of Just for fun is serious

June 7th,2007
if you faint in the day of adversity,your strength being small. PROVERBS 24:10
Nowadays,God give me a lot of presure that can practice my AQ.We can see that only God which our creator can fully understand us through by above chapters.

June 9th,2007
Do not boast about tomorrow,for you do not know what a day may bring.Let another praise you,and not your own mouth---a stranger,and not your own lips.A stone is heavy,and sand is weighty,but a fool's provocation is heavier than both.Wrath is cruel,anger is overwhelming,but who is able to stand before jealousy? PROVERBS 27:1-4

The wicked flee when no one pursues,but the righteous are as bold as a lion.PROVERBS 28:1
Cool sentences written in BIBLE.Im went to looking for job today and I begin recognize that good job is not hard to get.A company named of Esmertec can offering a position which specify comustomer technical support.If I accept this job then I can go many place for work even other country in Asia.But what is my dream?The low-level tech.What should I choose?I just can remind a popular FAQ now,"What is freedom?It's able to do what you should to do."Lord,help me out this problem like before.

June 16th,2007
I was not accept that job which Esmertec offered.Because of that position of development of value added service I dont have any instresting.FATHER,please given a job which can comfortable for me.I wish to abey your words.

June 19th,2007
I went to a recuritment day for Nokia.I begin to recognized why many big company coming to China for business.Its for cheap labor,thats why?You must pay more than $40000 per a year to hire a guy help your product localization in europe.How much you should pay in China?Maybe $10000 per a year,maybe less.

I dont know why Chinese always like to learn English.I means,the language should be used communication or do some meaning stuff like as read philosophy or art.but many Chinese guys learning English just for English exam.shit!We should study old-school of Chinese culture.I really dont want to talk more about this.I just wanna programming for fun.What the hell in this world?The shit was shit.....

Every body speak rash words.People become to rush.fcking shit!!!

Valor,duty,sacrifice,Can one man ture make a difference?

Monday, June 04, 2007

Can we get start to thinking,rationally!(Pascal's Wager)

It's good stuff maybe that can drive you to thinking about what is truth which you should seeking.Please read the book of Pascal and the Meaning of Life

Pascal's wager is fun!

Pascal's Wager:http://plato.stanford.edu/entries/pascal-wager/

中文版名:帕斯卡尔与人生的意义

Monday, May 28, 2007

Linux kernel is a inscrutable stuff

I have been learning linux kernel about 1 week ago.Jeff taught me that how to tapping the funny stuff of linux kernel.But you known,when you really getted start with it that you will recognize that shit work need a lot of basically knowledge like as computer architecture,data structure and OS machansism.For example,if you try to get to know what is ess of PCI-bus that you have to known some DS stuff like LIST and trees.PCI-bus initialization looks like a LIST,yes~it's ture,actually in microcosmic DS graph it's a LIST.But you can recognize that is a multi-tree when you dig into kernel deep enough.

I remember the book of The Art of Unix Programming mentioned about that Data Structure is more important in computer engineering even than algorithm.Thank God!I have retrived my creativity and passion.I will stick to learning about that shit of computer essential until...maybe 20 years~Jeff is right,PC is just one of thousands of machines,but robot era is coming and it's really happend in this world.Computer is stupid that it is just do 3 things when it started:1,get instruction 2,execute instruction 3,check the interruption

By the way,about commercialization of our club.We were discuss all the night,but the final answer : The concept of trader in human beings of IT.

PS:never stop learning,never stop thinking~Heave Metal drive me to thinking.It's awesome!!!

Friday, May 25, 2007

from IQ to MQ ???

一直以来教育系统都很注重IQ的培养,不管是国内还是国外,其实教育系统不是一陀shit,而是两陀!
最近几年国内越来越提到EQ的重要性,在Shawn的眼里单单注重IQ和EQ都一种垃圾行为,就好像屁股没擦干净会影响头脑一样:-) 今天Shawn就漫谈一下有什么是我们更需要学习的....

如果非要说重要性的话应该是这样来排序,从低到高:IQ--EQ--AQ--SQ--MQ
IQ能代表什么?Shawn很不喜欢有人说Shawn这家伙很聪明,如果你明白本质就是一种侮辱,试想一下如果你IQ才85那你恐怕小学5年级也很难读懂,世界上绝大部分人的IQ都集中在90---120的阶段,OK,IQ已经不值得我们谈下去了.

EQ呢?能代表你什么,一种控制你情绪的能力,至少比IQ要重要一点,但你在思考一下,一个人只要和家人,朋友,恋人,同事,etc的关系还过的去那这家伙的EQ也不算很差吧,其实培养EQ的速度是很快的所以也不太想多扯淡了.

AQ就很重要了,这是一个人成功的基础,在逆境中能否超越自我变的更强壮就是你的AQ的表现,上帝不断的把试练塞到你的身边如果你每通过一次就会变的更加的强壮,在Shawn的观点来看AQ很大程度上可以体现上帝的爱,记得丘吉尔的最后一次演讲就说了一句:坚持到底,永不放弃!

如果您的AQ已经达到了一定的程度那么恭喜您,您可以进行一些更具挑战性的思考.

SQ即灵商,主要指一个人挖掘生命意义和自身潜能的程度的能力,记得The Art of Start的作者Guy Kawasaki在演讲中的多次提到SQ的重要性,他的黄金创业法则的第1条就是"make meaning,not just make money".从圣经的角度出发,人类应该挖掘自身的SQ来思考怎么样可以来荣耀上帝,如前GE的CEO杰克 威尔其所认为他的glory to God的方式就是1,努力赚钱 2,努力存钱 3,努力的捐钱.

MQ即道德商,指以圣经作为绝对的标准来进行道德规范的约束,这是所有5商里最难的,到目前为止出了耶稣基督以外没有人做的完美过.要明白MQ的意义所在也必须对圣经有相当的了解.

了解5商之后我们在谈谈关于一个人一身中需要处理的集中关系,按照优先级从高到底:1,你与上帝 2,你与自己 3,你与人 4,你与物质

1,你与上帝.作为人类的本质所需,必须和上帝建立良好的关系,不然很多事情都会出问题.

2,你与自己.你可以改变生活环境,社交圈还有很多事情,但你唯一不能改变的是你自己,去思考怎么来面对自己吧.

3,你与人.既然生活在地球上你必须和人建立很多各种各样的关系,具体怎么处理,去读圣经吧.

4,你与物质.上帝既然创造了物质那肯定有它的好处,但不要成为"拜金主义",这样不但不追求本质而且会毁了你的一切,因为受罪性的影响人的贪婪是无止境的,具体的例子身边太多不想多举,昨天还和企鹅谈到以前一个朋友这样的例子.

或许以上的东西您会觉得很不可理解,但Shawn想告诉您寻求真理和本质本来就是一个非常痛苦的过程,如果您还承认自己是中国人的话去读圣经和尚书,了解自己民族的历史了解您应该有所了解的一切,dont forget that pain is weakness leaving your body!

PS:az0U invite Lord Jesus into his life yesterday!It's awesome!!!

Sunday, May 20, 2007

Jeff is back!

I was always pray that request to God let me know a programmer who master in low-level tech like as linux kernel recnently.And after the rush to waiting,that guy who name is Jeff come back to this town last week.We talk a lot of linux kernel this afternoon.Actually,Jeff taught me about low-level techs.It's great!Thank God give this surpise gift for me.

自从接触了Linux和看了Unix的编程艺术后就一直在思考自己的方向,JAVA虽然开源但到底应该走哪条技术路线?或许底层是Shawn的选择,感谢上帝在最适当的时刻给Shawn派来了适当的人,最近和Jeff的交流完全在影响Shawn的选择,感谢Jeff让Shawn看到了计算机的另外一面.

Computer,baconBurger,fj,Jeff and Shawn in Peter's.....It's a beautiful day!!!

PS:最近抽烟急剧减少,其中一大原因是Sara.............
.

Thursday, May 10, 2007

School life will be finished!!!It's exciting!

下午交了毕业设计,毕业设计大概有40%是朋友帮助完成的,这是上帝不愿意看到的,Shawn只能忏悔!
为了那个烂文凭这样做值得吗?Shawn the R0ck. I dont fcking know that it's so complicated!
或许Shawn有一大堆理由:1,班所有人都作弊为什么Shawn不? 2,Shawn不在乎烂文凭但如果不拿到文凭老爸老妈会伤心. ..etc~
但有更理性的回答上面2个理由:1,因为你是CHristian所以不行 2,你这样做上帝会伤心,不在乎文凭就dropout,这种借口只能说明是一种懦夫行为.

Shawn还是作弊了只能说明2点:1,这次Shawn采用了懦夫的方案 2,Shawn还不够理性.

上面屁话一大堆不说不爽的,一提到中国教育就没有让Shawn比较爽的地方.上帝创造教育的目的是让人们提高创造性和激情,这样可以在任何行业里来glory to God.但看看我们的教育都干了些什么? 精通扼杀孩子的创造性和激情是教育系统的强项,腐败只是冰山一角而已,教育系统的存在的目的就是一个赚钱的机器好像永不停止,除非来一场革命...........

The motherfucker of Chinese edcuation is a machine to make money that you cant stop it.We need a revolution.The game,thats only education we got.Thank God keep my creativity and passion through id software.

PS:最近把Quake和Quake2都重新玩通关了一遍,nightmare的难度已经让Shawn有点招架不住,技术的确不如以前了.

Wednesday, May 02, 2007

awesome guy!Thats' why we play Quake(not UT)

Once a Quaker,always a Quaker.
what should we give a description for a Quaker?smarter,switfer,stronger......more than average guys~

Friday, April 27, 2007

mplayer's FAQ

Q:

I've just installed MPlayer. When I want to open a video file it causes a fatal error:

Error opening/initializing the selected video_out (-vo) device.

How can I solve my problem?

A:

Just change your video output device. Issue the following command to get a list of available video output drivers:

mplayer -vo help

After you've chosen the correct video output driver, add it to your configuration file. Add

vo = selected_vo 

to ~/.mplayer/config and/or

vo_driver = selected_vo 

to ~/.mplayer/gui.conf.


最近用Linux由于因为烂本本编译mplayer时间长了会断电所以很苦恼不能看avi,今天狠下心把mplayer通过rpm的方式装上,但有个毛病上面是解决方法.到这里可以看到很多FAQ.

最近发生N多事情,有朋友刚回来又有朋友要离开,这2天心情还真TM的不太爽,明天和GP去weight room发泄一下.早上起来心态浮躁不想写程序,连quake也不想玩,这种状态TMM的还从来没在Shawn身上发生过,只好去看Holy Bible.

今天有看了一遍:A Gamer's Day.

今天和duoxing谈了一些开源方面的话题,也包括Linux Usergroup,我们需要继续努力.

LOrd Jesus,please give us strength and courage to busting our ass fight to the end till glory to you.

Saturday, April 21, 2007

A Chinese guy anti-Microsoft(OpenSource)

A Chinese guy show us a banner of opensource When Bill Gates give a speech for a University,It's cool!

Friday, April 20, 2007

The migration of dev-platform is succeed!!!



Because of Im tried to installing solaris10 which from harddisk boot that I got error,my Windows's data are crashed.I would not reinstall windows again---actually I choose the Linux.I wanted to going to Linux world a long time,but I scared about that cant not get used to new platform.Thank God destroyed my windows through solaris's event.My pc can run any software what I need to use in my Linux system now(like as gtalk,quake,gcc,netbeans,tomcat and mysql).This was my first time to follow my heart to
try new shit for Linux,in facto,I should called funny stuff.

I was playing Quake III:Areana in Linux today.q3 stay with me more than 7 years that's really cool shit.Nowadays,game is not like chasing essentail things like as gameplay before....you can get some id's stuff right here

Thank some authors that I never even get to known.They given me a big help to install tomcat and mysql.Here's chinese edtion:http://www.blogjava.net/esprit/archive/2006/01/18/28536.html

Now,I can tell my friends that I will not use privacy software anymore.Thank Linux and OpenSource Community!

I will going to concert tonight and hang out with some friends.Perhaps Chris will be there tomorrow.I've looking forward to hanging to him a long time.But I've a little scared that he will blame me about Im smoke a lot recently.shit~unexpectedly,Im scared a man.Whatever reason thank Chris taught me a lot.

all right,bullshit over,back to sleep.

PS:I tried to installing Debian before installed RedHat.I have to say that debian is not like Richard Stallman's prolcaimed.There is a bit of bugs like network installtion and old hardware's driver support.No one is perfect except Lord Jesus.

Saturday, April 14, 2007

Windows out of my shit

Shawn最近用windows简直感觉审美疲劳,这是Shawn在Linux下的第1篇blog.windows虽然是很不错的操作系统但老是感觉不够简洁,加上最近很想试试solaris10所以就down下来开始硬盘安装,本来是想保留windows的,结果硬盘安装失败把windows的fat32分区的数据全部XX了.之后又try to installing debian,由于Shawn的烂本本是cd-rom所以跑去外面刻录了张debian-netinstall.iso,但安装到配置源时遇到了一个bug:netinstall必需扫描所由的网络源,这点把本来性格急躁的Shawn弄的只好放弃(Shawn:其实耐性很好啦,试debian的源花费了近10个小时),真的建议这个号称original GNU/LINUX的debian真的应该改进一下网络安装.之后Shawn只好用最简便的redhat 9 kernel 2.4~还算不错

在看了The Art of Unix Programming后就老有放弃用windows的冲动,这次装solaris之前还特地给4位Shawn心目中比较牛的人物发了邮件其中包括TAOUP的作者ESR,ESR的建议是自给选择,他只对比了debian社区和FreeBSD社区的文化方面的,或许牛人已经很少关注用什么发行版.结果由于solaris10的硬盘安装出错导致Shawn彻底的放弃windows平台应该是稣哥的旨意.

很长一段时间Shawn也想给自给更简洁(Shawn:不是简单)的开发平台,曾经在win下开发C程序为了让自给和ms脱离关系都在使用PSPAD+MINGW,之后也放弃了使用.NET开始搞JAVA.但在WINDOWS下始终无法给Shawn带来心中的just for fun,今天配置了Linux其实发现在windows下面的日常处理在Linux下面一样可以办到而且获得更高的效率.

使用google ig,msn,gtalk,Java开发,甚至包括电驴都完全没问题.真的很爽~~~

Shawn彪悍的Linux生涯正式开始,感谢上帝对我的带领,感谢ESR和RMS,感谢为开源所作出贡献的人们.The best way to predict the future is invent it!!!

下面是几个LINUX下面的资源希望对大家有帮助:
电驴的LINUX版本:http://savannah.nongnu.org/projects/mldonkey
开源软件的藏金阁GNU FTP:http://www.gnu.org/order/ftp.html

Wednesday, April 04, 2007

The theory of Computer Bible by Shawn the Rock

Im bought some books which are include many important computer field's description that I called "Computer Bible".Because of just want to listing some good stuff for computer engineering not just for computer science,so I will not add The Art of Computer programming.

The newbie of Computer Bible:Structure and Interpretation of Computer Programs - 2nd Edition


The algorithm of Computer Bible:Introduction to Algorithms, Second Edition


The philosophy of Computer Bible:The Art of UNIX Programming
by the way,I stiil dont understand why China's ISP always forbid us to visit Eric S.Raymond's blog?

The game culture of Computer Bible:Masters of Doom


The database of Computer Bible:An Introduction to Database Systems, Eighth Edition


Please give me some study suggestion if you wish.
have a good day,bro!God be with you!!!

Tuesday, April 03, 2007

some popular mistakes in Java

Im a Java novice.Amostly I always made some stuipid mistakes when I getting start to write java code every time.Today I got a very interesting Java IAQ(infrequently answered questions) by Peter Norvig.Maybe you read a famous articl which Teach Yourself Programming in Ten Years by him.

By the way.Because of I getted start with Java to learn 4 months ago and Im study about Java web(servlet and Jsp) recently.Please give me some sugguestion about study roadmap of Java if you wish,thanks anyway.

God bless OpenSource Community.