Vienna Teng 史逸欣《The Tower》

March 26, 2009

曾经红遍全美的华裔音乐才女,在Stanford读的Computer Science,毕业后去Cisco干了一段时间,感到无趣,转行做音乐去了。这首《The Tower》听上去挺入耳的,enjoy!

Vienna Teng

Vienna Teng

Title: The Tower

Artist: Vienna Teng 史逸欣

Album: Waking Hour

Lyrics:
The one who survives by making the lives
of others worthwhile
she’s coming apart
right before my eyes
the one who depends on the services she renders
to those who come knocking
she’s seeing too clearly what she can’t be
[...]

2009新年计划

December 24, 2008

  1. 发两篇Top Journal/Conference Paper
  2. 找一份internship
  3. 做一个决定:未来5-10年的职业选择
  4. 和BaoBao一起去三个不同的地方
  5. 掌握基本的金融,投资理财知识,如果条件允许,完成第一笔投资
  6. 完成dissertation的主要工作
  7. 掌握Python
  8. 练字
  9. 提高口语,presentation skills
  10. 坚持写blog,学会思考和表达思想
  11. 健身

爱不用太笨 [转]

July 18, 2007

From 蔡康永的博客

談戀愛的對象,最好比你笨 ——
戀愛是艱難的對決,
何苦去招惹你打不過的對手。
嗯…..可是啊……

談戀愛的對象,最好比你聰明 ——
戀愛確實是艱難的對決,
但請不要搞錯對手:
愛情、才是你的對手;
至於愛人、是你的做戰夥伴、隊友。

感谢

July 9, 2007

事实证明,每一个生日都不可避免的会变成感恩节。
即使在我累的不可开交的时候,也忍不住上来啰嗦几句:
感谢神,上帝以及老天爷,我又平平安安的活了300多天;
感谢爹妈;
感谢老婆为我争取到的所有祝福:)
感谢troy的越洋电话;
感谢(顺便鄙视)半夜三更不睡觉给我打电话还心疼话费的ike;
感谢一大早就爬起来,在自己blog上写酸不拉几号称是诗的tommy;
感谢所有发短信祝福我的朋友们。。。

人又老了一岁,不过可能是每年都受这个刺激的缘故,已经开始习惯了。
老有老的好嘛,老婆,老友,越老越香:)

收拾行囊

May 13, 2007

终于搞定了最后一篇report,可以安心的收拾行装准备回国了。
没有想象中的兴奋与期待,反而有些许的忐忑与迷茫。
人老了,活得真TMD的累。。。

Anyway,至少要好好解解馋,从南吃到北:D

荒芜

April 23, 2007

多谢乐吧的提醒,居然快3个月没有更新了,狠狠的鄙视自己:

不要用忙碌来掩饰生活的乏味;
不要用沉默来掩饰思想的空洞;
不要用更加蹩脚的英文来掩饰蹩脚的中文;
不要让这个世界把你遗忘。。。

向始终坚持在blog第一线的乐吧同志致敬;
向虽不多产,但时常会冒泡的chuchu同志致敬;
向堕落中的ike, 消失中的tommy致以类似于我自己的鄙视。。。

祝火箭队能够取得两连胜:)

Good stuff in the weekend

January 21, 2007

Well, this is just another so-so weekend: sleeping a lot, reading the boring course papers for next week, and wandering around the internet. You know, most of the time on the internet is just wasted unless you could find something really enjoyable. Luckily, I got some really good stuff which made my weekend not so tedious:

  1. Graduation Speech – Steve Jobs
    iTunes video | iTunes audio | Google Video | YouTube | Transcript
    This is a great speech by Apple‘s visionary CEO, Steve Jobs, at Stanford in June 2005. He talks about his own stories – college drop-out, love and death – which are really moving and motivating life lessons. Besides, I really appreciate his breeze-like and persuasive presentation style, either in this speech or in the keynotes at Macworld. I highly recommend you to take a look at this. It deserves!
  2. Zirr.us – an online whiteboard/to-do list
    I admit this should be nothing, yet just another web 2.0 toy to organize your to-do list online with the beta label. But I really like its clear interface and easy-to-use features. It includes a tag cloud of your designated tasks, and you can sort your task by priority, color, and date. It is worth a play if you have time.

iPhone Announced!

January 9, 2007

iPhone combines three products — a revolutionary mobile phone,

a widescreen iPod with touch controls, and a breakthrough Internet

communications device with desktop-class email, web browsing, maps, and

searching — into one small and lightweight handheld device. iPhone also

introduces an entirely new user interface based on a large multi-touch

display and pioneering new software, letting you control everything

with just your fingers. So it ushers in an era of software power and

sophistication never before seen in a mobile device, completely

redefining what you can do on a mobile phone.

More details
on Apple.com

提高信用值的一些tips

January 6, 2007

信用值(Credit score)是用来申请信用卡,贷款的重要指标之一。在mitbbs的money版里研究了半天,整理了一些提高信用值(Credit Score)的注意事项:

  1. 坚持按时还款。Late pay应该是对信用记录影响最大的负面因素了。不过据说只有当银行把late pay的情况提交给信用机构,才会扣信用值,如果偶尔一两次late pay的话,银行一般不会报告。还有就是每次pay的钱数的问题,有好几种不同的说法,据说在年利率0%的期间(不同的信用卡情况不一样),每次只还最低限额的话有利于信用值的增长。不过,最可靠的方法还是每个月按时把所有的balance付清。
  2. 保持较低的 credit usage,也就是花掉的钱(Balance)与信用额度(Credit Limit)的比值。这一点我一直都存在误解,以为花的越多,只要按时还清,信用记录就越好,其实不然,据说最佳比率是 1-2%,不过这个似乎也太少了点,可怜我现在只有$500的额度,如果按这个比例的话,我每个月只能刷掉5-10块钱:( 也有人说维持在10%就不错了。可以肯定的是一般不要超过50%(我第一个月居然达到了85%,汗…)。
  3. 尽早入手第一张信用卡。信用记录的历史越久,信用值就越好。所以要尽早申请到第一张卡,就算额度比较低也无所谓,可以慢慢涨。还有就是第一张卡最好一直保留,就算不用,也要放起来压箱底。
  4. 减少有balance的信用卡的数目。尽量用一张卡,不要这张花几块,那张花几块。有balance的信用卡的数目会对credit score有负面影响,但信用卡的总数并没影响。所以暂时用不上的卡放家里就行了。如果cancel掉,反而会影响卡的平均信用历史。
  5. 减少hard inquiry的次数。所谓hard inquiry就是你授权银行或信用卡公司进行的信用值查询,对credit score有负影响。这种inquiry一般发生在申请新卡或者要求提高credit limit的时候,因此要提高申请的命中率,不要没事儿就申着玩。不过,一般只有两年内的hard inquiry有负作用,尤其是6个月以内的,所以有一个技巧便是可以同时申请多个银行的信用卡,因为信用记录更新需要时间,这样在申请的同时,他们互相看不到别人的inquiry,而这一批申请结束,需要歇上1-2年再进行申请。
  6. 尽量提高信用额度。一般来说,Credit Limit 越高,usage of credit越低,从而对分数有正面作用。因此,每隔一段时间就要向银行骚扰一把,要求提高credit limit。不过要注意有时候银行是会去查你的信用记录,也就是要进行hard inquiry,所以提要求的时候一定要问清楚。
  7. 一个内容丰富的信用记录(包含普通信用卡、商家信用卡、房贷、车贷等)对credit score有利。
  8. 不要过分care信用值。刚开始的时候,由于信用值会影响到高级信用卡的申请,需要比较留意。而在搞到几张可以满足需要的信用卡后,这是信用值应该也比较良好了,就不用太care上边说的很多技巧了,在保证按时还款的前提下,怎么省钱怎么来:)

Burning the late night oil

December 10, 2006

Again, it comes to the end of the semester;

Again, I am desperately rushing for the deadlines;

Again, I make the damn promise to do things ahead of time in the future;

Again, I know I will definitely eat my own words soon…

Just heard the seven Ps and would like to share with you:

Proper Prior Planning Prevents Piss Poor Performance.

Data, Information, Knowledge, and Wisdom

December 9, 2006

Dr. Liu posted an interesting discussion about the relationships between data, information, and knowledge. In fact, there is another word, wisdom, which is always compared with them together. Simply put, data can be considered as the phenomenon of our physical world, information is the nature of the world, knowledge is the mapping of the world in our mind, and wisdom is our power to further understand and change the world. We have databases to manage data, information systems to organize information, and recently knowledge management systems are proposed to help people achieve knowledge.

But can we build something to unleash the power of thinking? We spend much time to build tools to reserve and retrieve information. We are more and more dependent on calculators, notepads, and Googles, meanwhile, we are losing our ability to compute, to memorize, and to think. Can you still calculate 124 X 237 in your mind? Can you still quickly remember a telephone number? Can you still believe in your own answer without the search engines? The wisdom, the creativity, the freedom of thinking, are the essential virtue of human. Please do not leave them away.

Unleash the power of your brain

December 3, 2006

Here is a helpful article which provides 22 ways to overclock your brain. I really recommend it to you if you have the same feeling as me that you are not as smart as you were. Following is what I learned from it:

  1. Don’t rely much on the damn computer. Do the daily math with your head, not the calculator; memorize the temporary phone number in your heart, not on the notepad.
  2. Ask Why. Yes,we were told to ask why when we are young. However, as we grow up, many of us stifle or deny our natural curiosity. Make it a new habit to ask “why?” at least 10 times a day.
  3. Play. Take time to play. Play cards. Play video games. Do puzzles. It gives your brain a chance to keep it working.
  4. Write. The greatest benefit of writing is what it does to expand your brain’s capacity. Find ways to write – by writing papers, writing blog for your friends or whatever – just write to be read.
  5. Eat. Some oils found in nuts and fish are a brain booster. Eat them, but don’t eat fat. Fat can reduce the flow of oxygen-rich blood to your brain. Also, some drugs are helpful to increase brain power. Ginkgo biloba has been shown to increase blood flow to the brain and improve concentration.
  6. Laugh.
  7. Do Physical Exercises.

IT doesn’t matter

November 16, 2006

We had a guest from MIT Lincoln Laboratory in our class today. Dr. Pensa, the assistant director of Lincoln Laboratory, gave us an introduction to the laboratory, which is the research center of national security in US. It is really frightening that they have more than 100 million dollars spend on IT infrastructure each year. During Lunch, Dr. Pensa complained the waste of investment on IT and just wondered where the moeny went away. It made me remember one of the articles we read in IST 501 class last week – ” IT doesn’t matter” from Harvard Business Review, which argued that, since IT has become a common investment for most companies, the cost/profit of IT investment becomes low. On the one hand is that more than 100 million PCs are purchased every year, most of which replace older models. On the other hand, most computers are used just for word processing, email, and web browsing, which require only a fraction of the computing power.

Much of the spendings, in fact, is driven by vendors’ strategies. Hardware suppliers have become very good at parceling out new performance and capabilities in ways that force companies to buy new computers; software companies upgrade their products frequently, and plug more features and components into products, which are never used by most people. What’s more, software engineers are relying more on the improvement of hardware performance, and no longer care much about the quality of the design and codes. The time has come for IT buyers to throw their weight around and impose hard limits on upgrade costs.

As information technology’s power and ubiquity have grown, its strategic importance has diminished. The way you approach IT investment and management will need to change dramatically.

Three rules for IT management provided in the article:

  1. Spend less. As the commoditization of IT continues, the penalties for wasteful spending will only grow larger. It is getting much harder to achieve a competitive advantage through an IT investment, but it is getting much easier to put your business at a cost disadvantage.
  2. Follow, don’t lead. Moore’s Law guarantees that the longer you wait to make an IT purchase, the more you’ll get for your money. And waiting will decrease your risk of buying something technologically flawed or doomed to rapid obsolescence.
  3. Focus on vulnerabilities, not opportunities. It’s much harder for a company to gain a competitive advantage through the distinctive use of IT nowadays, but even a brief disruption in the availability of the technology can be devastating.

Oh, the (Lack of) Humanity

November 9, 2006

"So the next time a bum tries to cadge a buck out of you, at least have the courtesy to pull the earbuds out and engage him as a fellow human being. Don’t give him any money if you don’t want to. But acknowledge him. He’s not a blot on your aesthetic little world. If he is, well, your problems are bigger than his."

— By Tony Long From Wired.com

Think Different

October 16, 2006

Here’s to the crazy ones.

The misfits.

The rebels.

The troublemakers.

The round pegs in the square holes.
The ones who see things differently.
They’re not fond of rules

And they have no respect for the status quo.
You can praise them, disagree with them, quote them,

disbelieve them, glorify or vilify them.
About the only thing that you can’t do is ignore them.
Because they change things.

They invent. They imagine. They heal.

They explore. They create. They inspire.
They push the human race forward.
Maybe they have to be crazy.

How else can you stare at an empty canvas and see a work of art?

Or sit in silence and hear a song that’s never been written?
Or gaze at a red planet and see a laboratory on wheels?
We make tools for these kinds of people.

While some may see them as the crazy ones, we see genius.
Because the ones who are crazy enough to think that they can

change the world, are the ones who do.

The video could be found at: http://www.youtube.com/watch?v=No1MxAnHuJM

Random Quote

October 16, 2006

“At 30 a man should know
himself like the palm of his hand, know the exact number of his defects and
qualities, know how far he can go, foretell his
failures – be what he is. And, above all, accept these things.”

– Albert
Camus
I only have 1,726 days to know who I am…

I ordered it…

September 14, 2006

I’m tired of waiting for the update, so finally I ordered my damn MacBook:
Base $1199.00
2.0GHz Intel Core Duo
512MB 667 DDR2 SDRAM – 2×256 (will add 2 X 1GB 3rd party RAM soon)
80GB Serial ATA drive (+$45.00)
SuperDrive (DVD±RW/CD-RW)
Keyboard/Mac OS – U.S. English
Apple Wireless Mighty Mouse (+$69.00)
Apple Mini-DVI to DVI Adapter (+$17.00)
AppleCare Protection Plan for MacBook/iBook – Auto-enroll (+$183.00)
HP DeskJet 6940 Printer (+$29.95)
Hope it will arrive ASAP:)

Settled down

August 22, 2006

来回折腾了好几次,终于找到安身之处了,三个人share一套三层的townhouse,条件还不错,有独立卫生间和laundry,周围环境也挺漂亮,就是有点贵。实在没想到房子居然会这么难找,据说是因为Penn State的橄榄球队拿了去年的全美冠军,导致今年小镇上一下子多了2k的学生,于是房价也跟着上去了:(今天又淘到了一个二手的电脑桌、电脑椅和书架,一共才30$,嘿嘿。屋子里没有那么空空荡荡了,多少有那么点家的感觉了。总的来说,算是初步安顿下来了,各位挂念我的xdjm们可以放心了。
State College是个很安静的小镇,在这里除了好好学习、努力研究以外,似乎也没有太多的事情可以做了。老老实实的学点东西,仔细想想以后的打算,也不错:)

What a VC wants to know

August 6, 2006

From “The Torturous World of Powerpoint

Following are the questions that a pitch to a VC (Venture Capital) should address:

1) WHAT IS YOUR VISION?
- What is your big vision?
- What problem are you solving and for whom?
- Where do you want to be in the future?

2) WHAT IS YOUR MARKET OPPORTUNITY AND HOW BIG IS IT?
- How big is the market opportunity you are pursuing and how fast is it growing?
- How established (or nascent) is the market?
- Do you have a credible claim on being one of the top two or three players in the market?

3) DESCRIBE YOUR PRODUCT/SERVICE
- What is your product/service?
- How does it solve your customer’s problem?
- What is unique about your product/service?

[...]

祝我生日快乐

July 9, 2006

Birthday cake貌似作为成功人士的一个重要标志便是会忘掉自己的生日。而我活了25年了,居然还能记得自己的生日,实在是可悲啊!

感谢爸妈为我精心准备的生日蛋糕和午餐,感谢你们赋予我最宝贵的生命,又陪伴我走过25年的风风雨雨。儿子口拙,不会讲什么花俏的语言,只希望你们能够永远健康,让我们一路平平安安地走下去…

感谢chuchu送给我的风铃,感谢你几年来的爱。我会一直把风铃带在身边,不管相隔多远,当我摇响它的时候,你一定会听到的。相信我,我们会永远幸福的:)

感谢今天发来贺短信、贺msn、贺gtalk的leba、tommy、罐头、ike、bluelava和skyswind等,因为你们,我的生活变得更加精彩。

怎么感觉越写越像毕业论文后边的致谢了,就此打住。过个生日居然会乐得屁颠屁颠的,看来自己还真的是太naive了。不过考虑到明年的今日,旁边也许不会再有这些亲人朋友相陪了,且让我再享受一次这当孩子的无边快乐吧 )

Bye

July 6, 2006

Goodbye PKU, Goodbye Urban, Goodbye SESS, Goodbye GIS99, Goodbye GIS03, Goodbye 28#233, Goodbye 27#230, Goodbye Geosoft, Goodbye my piglike life, Goodbye my youth, Goodbye my friends~

Go West

June 16, 2006

(Together) We will go our way
(Together) We will leave someday
(Together) Your hand in my hands
(Together) We will make our plans

(Together) We will fly so high
(Together) Tell all our friends goodbye
(Together) We will start life new
(Together) This is what we’ll do

(Go West) Life is peaceful there
(Go West) In the open air
(Go West) Where the skies are blue
(Go West) This is what we’re gonna do

(Go West, this is what we’re gonna do, Go West)

(Together) We will love the beach
(Together) We will learn and teach
(Together) Change our pace of life
(Together) We will work and strive

(I love you) I know you love me
(I want you) How could I disagree?
(So that’s why) I make no protest
(When you say) You will do the rest

(Go West) Life is peaceful there
(Go West) In the open air
(Go West) Baby you and me
(Go West) This is our destiny (Aah)

(Go West) Sun in wintertime
(Go West) We will do just fine
(Go West) Where the skies are blue
(Go West, this is what we’re gonna do)

There where the air is free
We’ll be (We’ll be) what we want to be (Aah aah aah aah)
Now if we make a stand (Aah)
We’ll find (We’ll find) our promised land (Aah)

(I know that) There are many ways
(To live there) In the sun or shade
(Together) We will find a place
(To settle) Where there’s so much space

(Without rush) And the pace back east
(The hustling) Rustling just to feed
(I know I’m) Ready to leave too
(So that’s what) We are gonna do

(What we’re gonna do is
Go West) Life is peaceful there
(Go West) There in the open air
(Go West) Where the skies are blue
(Go West) This is what we’re gonna do

(Life is peaceful there)
Go West (In the open air)
Go West (Baby, you and me)
Go West (This is our destiny)
Come on, come on, come on, come on

(Go West) Sun in wintertime
(Go West) We will feel just fine
(Go West) Where the skies are blue
(Go West) This is what we’re gonna do

(Come on, come on, come on)
(Go West)

Good Luck, bad Luck, who knows?

March 13, 2006

I’ve got two pieces of news this morning. One is the letter from SIMS, UC Berkeley which informed me that I had not been accepted for admission, and the other is the email from MTT which said that I was still in the committe members’ consideration at CEE, MIT and only very few students were handful to the committe members. Good luck, bad luck, who knows? Just wait…

An old fable: Good Luck, bad luck, who knows?
A father and his son owned a farm. They did not have many animals, but they did own a horse. One day the horse ran away.
"How terrible, what bad luck," said the neighbours.
"Good luck, bad luck, who knows?" replied the farmer.
Several weeks later the horse returned, bringing with him four wild mares.
"What marvellous luck," said the neighbours.
"Good luck, bad luck, who knows?" replied the farmer.
The son began to learn to ride the wild horses, but one day he was thrown and broke his leg.
"What bad luck," said the neighbours.
"Good luck, bad luck, who knows?" replied the farmer.
The next week the army came to the village to take all the young men to war. The farmer’s son was still disabled with his broken leg, so he was spared. "Good luck, bad luck, who knows?"

选择适合你的Linux发行包

March 13, 2006

面对庞杂的Linux大家族,如果你不知道该如何选择合适自己的发行包的话,可以试试用Zegenie StudiosLinux Distribution Chooser来做个测试。测试结果说明我比较适合使用以下六个发行包:

debian.png

Debian

( http://www.debian.org/ )
Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian GNU/Linux provides more than a pure OS: it comes with over 15490 packages, precompiled software bundled up in a nice format for easy installation on your machine.
ubuntu.png

Ubuntu

( http://www.ubuntulinux.org/ )
Ubuntu is a complete Linux-based operating system, freely available with both community and professional support. Ubuntu includes more than 1,000 pieces of software, starting with the Linux kernel version 2.6 and Gnome 2.10, and covering every standard desktop application from word processing and spreadsheet applications to internet access applications, web server software, email software, programming languages and tools and of course several games.
mepis.png

MEPIS

( http://www.mepis.org/ )
MEPIS Linux is a desktop Linux system that is also easy to configure as a dedicated server. It is designed for both personal and business purposes. It includes cutting-edge features such as a live/installation/recovery CD, automatic hardware configuration, NTFS partition resizing, ACPI power management, WiFi support, anti-aliased TrueType fonts, a personal firewall, KDE, and much more.
fedora.png

Fedora

( http://fedora.redhat.com/ )
The goal of The Fedora Project is to work with the Linux community to build a complete, general purpose operating system exclusively from open source software. Fedora Core is built to provide choice. It includes the latest versions of many software packages, including both GNOME and KDE desktop environments. Fedora Extras, a repository built entirely by volunteers, provides thousands more packages, and is enabled for use by default.
kubuntu.png

Kubuntu

( http://www.kubuntu.org/ )
Kubuntu is a user friendly operating system based on KDE, the K Desktop Environment. With a predictable 6 month release cycle and part of the Ubuntu project, Kubuntu is the GNU/Linux distribution for everyone.
suse.png

SuSE

( http://www.suselinux.com/ )
SUSE Linux 10.0 includes all of the latest desktop productivity tools to help you with your most common home computing tasks. Whether it’s instant messaging and communicating with friends, creating and designing graphics, or organizing digital picture and music files, you’ll find what you need on our easy-to-use desktop. And to make finding things even easier, we’ve included a preview of the latest version of the new Linux desktop search technology: Beagle Desktop Search. Beagle is the powerful new open source search engine that puts all of the content in your personal information space at your fingertips. Plus, to keep your desktop secure, SUSE Linux includes powerful built-in tools for spam blocking, virus scanning and application-level protection.

[转载]U盘debian系统

March 4, 2006

Debian U盘制作方法
chinajz
c_xvidtune@hotmail.com
http://spaces.msn.com/chinajz

这次制作没有编译内核,u盘 256M usb1.1接口。
一、制作条件:
1. debian网络安装光盘:debian-31r0a-i386-netinst.iso;
2. U盘:256M,usb1.1接口;
3. 笔记本电脑:dell D800 ,mem 256M ,hd 40G
4.OS:debian sid (kernel 2.6.15.4)+RHEL 4 U2
二、制作步骤:
1.用fdisk分区u盘(这步可省略,放在下步做,但有时粗心直接装至sda导致系统可能不正常运行)
debian:~# fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won’t be recoverable.

Warning: invalid flag 0×0000 of partition table 4 will be corrected by w(rite)

Command (m for help): p

Disk /dev/sda: 263 MB, 263454720 bytes
9 heads, 56 sectors/track, 1020 cylinders
Units = cylinders of 504 * 512 = 258048 bytes

Device Boot Start End Blocks Id System

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1020, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-1020, default 1020):
Using default value 1020

Command (m for help): t
Selected partition 1

Hex code (type L to list codes): 83

Command (m for help): p

Disk /dev/sda: 263 MB, 263454720 bytes
9 heads, 56 sectors/track, 1020 cylinders
Units = cylinders of 504 * 512 = 258048 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 1020 257012 83 Linux

Command (m for help): a
Partition number (1-4): 1

Command (m for help): p

Disk /dev/sda: 263 MB, 263454720 bytes
9 heads, 56 sectors/track, 1020 cylinders
Units = cylinders of 504 * 512 = 258048 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1020 257012 83 Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

2.用debian光盘直接安装到u盘(不要装grub,不然你会后悔的,因为如果你装grub,系统会以为你从u盘启动,本地硬盘grub将不能正常工作),然后在chroot 状态下安装grub
3. 在已经装好的linux上用chroot启动U盘linux操作。(在我的电脑上,光盘上resuce模式后,在控制台(Ctrl+Alt
F2)可以完全操作成功,但做出的内核启动选项配置映象文件initrd.img不能正常启动,我想可能是光盘版本太低的缘故。execute a
shell下则不能完成。)
建议最好在控制台下操作,而不要到xwindow下操作(如果操作最好只开一个xterm),防止对硬盘linux系统误操作.
3.1增大U盘自由空间,用chroot启动U盘linux
debian:~# mkdir -p /mnt/u
debian:~# mount /dev/sda1 /mnt/u
debian:~# rm /mnt/u/var/cache/apt/archives/*
debian:~# rm /mnt/u/tmp/*
debian:~# chroot /mnt/u
以下操作全在u盘的linux环境里,别搞错了.
3.2定制源
vi /etc/apt/sources.list
# /etc/apt/sources.list generated by apt-spy v3.1
deb http://debian.cn99.com/debian/ sid main
apt-get update
3.3删除旧内核
apt-get remove kernel-image-旧内核版本
3.4安装新内核
apt-get install module-init-tools
apt-get install kernel-image-2.6-686
3.4 升级u盘linux至sid最新版
rm /var/cache/apt/archives/*
rm /. Trash/*
apt-get upgrade
rm /var/cache/apt/archives/*
rm /. Trash/*
3.5 配置编译映象文件initrd.img的相关文件
3.5.1 修改mkinitrd.conf
vi /etc/mkinitrd/mkinitrd.conf
增加usb 1.1和2.0接口及usb-storage编译的选项:
ehci_hcd
uhci_hcd
ohci_hcd
usb-storage
3.5.2 修改modules,这里设定内核装载时间为15s
vi /etc/mkinitrd/modules
# The length (in seconds) of the startup delay during which linuxrc may be
# interrupted.
DELAY=15
3.5.3 修改fstab文件
vi /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
3.6 制作内核启动选项配置映象文件initrd.img
mount -tproc none /proc
如果你电脑上硬盘linux系统和u盘linux系统版本一样,可用以下简便操作
mkinitrd -o /boot/initrd.img-$(uname -r) $(uname -r)
如果不一样,查下/lib/modules/目录
ls /lib/modules/
以2.6.15-1-686为例
mkinitrd -o /boot/initrd.img-2.6.15-1-686 2.6.15-1-686
3.7 制作u盘的grub引导
grub-install /dev/sda1
exit

4.修改/boot/grub/menu.lst文件
对usb是2.0和1.1接口,在我的电脑上/boot/grub/menu.lst不一样才能正常启动:

usb 1.1U盘

#/boot/grub/menu.lst
title Debian GNU/Linux, kernel 2.6.15.4
root (hd0,0)
kernel /boot/vmlinuz-2.6.15.4 vga=792 root=/dev/sda1 ro
initrd /boot/initrd.img-2.6.15.4
savedefault
boot

usb 2.0移动硬盘

#/boot/grub/menu.lst
title Debian GNU/Linux, kernel 2.6.15.4
root (hd1,0)
kernel /vmlinuz-2.6.15.4 vga=792 root=/dev/sda1 ro
initrd /initrd.img-2.6.15.4
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST
选择从u盘重新启动电脑,或在另一台电脑上从usb启动,应该会成功。如果有什么问题欢迎联系:
我的 email是:
c_xvidtune@hotmail.com

Google Earth on the Front Cover of Nature

February 21, 2006

Google Earth on Front Cover of Nature

本期Nature杂志的封面是以Google Earth为主题的,而且里边有5篇关于GIS的文章,包括一篇Editorial – Think Global,一篇Feature – Virtual globes: The web-wide world,一篇Commentary – Mapping disaster zones和2篇News – How does Google Earth work?The virtual world gets bigger。主角显然是Google Earth,不过对GIS也做了不少介绍,有兴趣的可以去Nature的网站上在线看。

不得不承认,Google Earth和Google Maps对GIS的推广和普及真的是功不可没阿,尽管从某种意义上说,它还不能称为一个完整的GIS系统。

The GIS software is already an important tool for understanding spatial and temporal factors in a wide range of disciplines. But many scientists that could use GIS do not, and it has remained largely the preserve of specialists. Goodchild is convinced that tools like Google Earth will increase awareness of GIS’s potential and encourage researchers to explore more powerful GIS techniques. “It’s like the effect of the personal computer in the 1970s, where previously there was quite an élite population of computer users,” Goodchild enthuses. “Just as the PC democratized computing, so systems like Google Earth will democratize GIS.”

USNews: 最新美国250所大学声望总排名

February 18, 2006

以下是USNews上最新的排名,以学术声望(Academic Requtation)为准,对全美
250所大学进行的排名。相对于其他综合排名,我认为这个还是比较有意义的。当
然,选校对于每个人标准不一。导师,专业排名,地点也许更重要。

1 Princeton University (NJ) 4.9

2 Harvard University (MA) 4.9

3 Yale University (CT) 4.9

4 Massachusetts Inst. of Technology 4.9

5 Stanford University (CA) 4.9

6 University of California Berkeley 4.8

7 California Institute of Technology 4.7

8 University of Chicago 4.7

9 Johns Hopkins University (MD) 4.7

10 Duke University (NC) 4.6

11 Columbia University (NY) 4.6

12 Cornell University (NY) 4.6

13 University of Michigan Ann Arbor 4.6

14 University of Pennsylvania 4.5

15 Dartmouth College (NH) 4.4

16 Northwestern University (IL) 4.4

17 Brown University (RI) 4.4

18 University of Virginia 4.4

19 Rice University (TX) 4.3

20 Univ. of California Los Angeles 4.3

21 Univ. of Wisconsin Madison 4.3

22 Carnegie Mellon University (PA) 4.2

23 U. of North Carolina Chapel Hill 4.2

24 U. of Illinois Urbana-Champaign 4.2

25 Washington University in St. Louis 4.1

26 Vanderbilt University (TN) 4.1

27 University of Texas Austin 4.1

28 Emory University (GA) 4

29 Georgetown University (DC) 4

30 Georgia Institute of Technology 4

31 University of Washington 4

32 Indiana University Bloomington 3.9

33 Purdue Univ. West Lafayette (IN) 3.9

34 University of Notre Dame (IN) 3.9

35 Univ. of California San Diego 3.9

36 University of California Davis * 3.9

37 Ohio State University Columbus 3.8

38 Univ. of Minnesota Twin Cities 3.8

39 College of William and Mary (VA) 3.8

40 Univ. of Southern California 3.8

41 Pennsylvania State U. University Park 3.8

42 University of Arizona 3.7

43 University of Colorado Boulder 3.7

44 University of Iowa 3.7

45 Univ. of Maryland College Park 3.7

46 New York University 3.7

47 University of California Irvine 3.7

48 Michigan State University 3.6

49 University of Florida 3.6

50 Tufts University (MA) 3.6

第51名—第100名

51 Brandeis University (MA) 3.6

52 Rensselaer Polytechnic Inst. (NY) 3.6

53 Texas A&M Univ. College Station 3.6

54 University of Georgia 3.5

55 Boston College 3.5

56 Case Western Reserve Univ. (OH) 3.5

57 Tulane University (LA) 3.5

58 Univ. of California Santa Barbara 3.5

59 Boston University 3.4

60 George Washington University (DC) 3.4

61 Iowa State University 3.4

62 Univ. of Missouri Columbia 3.4

63 University of Oregon 3.4

64 University of Pittsburgh 3.4

65 Virginia Tech 3.4

66 Wake Forest University (NC) 3.4

67 University of Rochester (NY) 3.4

68 Miami University Oxford (OH) 3.3

69 Rutgers New Brunswick (NJ) 3.3

70 SUNY Stony Brook 3.3

71 Syracuse University (NY) 3.3

72 Univ. of California Santa Cruz 3.3

73 University of Kansas 3.3

74 Univ. of Massachusetts Amherst 3.3

75 Arizona State University 3.3

76 Baylor University (TX) 3.2

77 Florida State University 3.2

78 North Carolina State U. Raleigh 3.2

79 Univ. of California Riverside 3.2

80 University of Connecticut 3.2

81 University of Delaware 3.2

82 University of Miami (FL) 3.2

83 Univ. of Nebraska Lincoln 3.2

84 Univ. of Tennessee Knoxville 3.2

85 University of Utah 3.2

86 Lehigh University (PA) 3.2

87 Brigham Young Univ. Provo (UT) 3.1

88 Fordham University (NY) 3.1

89 Ohio University 3.1

90 Southern Methodist University (TX) 3.1

91 SUNY University at Buffalo 3.1

92 Washington State University 3.1

93 University of Illinois Chicago 3.1

94 Pepperdine University (CA) 3.1

95 Auburn University (AL) 3

96 Clemson University (SC) 3

97 Colorado State University 3

98 Illinois Institute of Technology 3

99 SUNY Binghamton 3

100 University of Alabama 3

第101名—第150名

101 University of Kentucky 3

102 University of Oklahoma 3

103 Univ. of South Carolina Columbia 3

104 University of Vermont 3

105 George Mason University (VA) 3

106 Oregon State University 3

107 University of New Mexico 3

108 Yeshiva University (NY) 3

109 American University (DC) 2.9

110 Clark University (MA) 2.9

111 Howard University (DC) 2.9

112 Marquette University (WI) 2.9

113 Rutgers Newark (NJ) 2.9

114 St. Louis University 2.9

115 SUNY Albany 2.9

116 University of New Hampshire 2.9

117 University of San Francisco 2.9

118 Drexel University (PA) 2.9

119 Kansas State University 2.9

120 Temple University (PA) 2.9

121 University of Alabama Birmingham 2.9

122 Virginia Commonwealth University 2.9

123 Indiana U.-Purdue U. Indianapolis 2.9

124 Univ. of Wisconsin Milwaukee 2.9

125 Catholic University of America (DC) 2.8

126 Loyola University Chicago 2.8

127 Michigan Technological University 2.8

128 Texas Christian University 2.8

129 University of San Diego 2.8

130 Worcester Polytechnic Inst. (MA) 2.8

131 DePaul University (IL) 2.8

132 Louisiana State U. Baton Rouge 2.8

133 New School University (NY) 2.8

134 Northeastern University (MA) 2.8

135 St. John’s University (NY) 2.8

136 U. of Maryland Baltimore County 2.8

137 University of Rhode Island 2.8

138 Wayne State University (MI) 2.8

139 Georgia State University 2.8

140 San Diego State University 2.8

141 Seton Hall University (NJ) 2.7

142 Stevens Institute of Technology (NJ) 2.7

143 University of Missouri Rolla 2.7

144 Hofstra University (NY) 2.7

145 New Jersey Inst. of Technology 2.7

146 Oklahoma State University 2.7

147 Texas Tech University 2.7

148 University of Arkansas 2.7

149 University of Cincinnati 2.7

150 University of Idaho 2.7

第151名—第200名

151 University of Mississippi 2.7

152 University of Texas Dallas 2.7

153 Utah State University 2.7

154 West Virginia University 2.7

155 Old Dominion University (VA) 2.7

156 University of Colorado Denver 2.7

157 Clarkson University (NY) 2.6

158 Duquesne University (PA) 2.6

159 MCP Hahnemann University (PA) 2.6

160 SUNY College Environmental Science and Forestry 2.6

161 University of Denver 2.6

162 Bowling Green State University (OH) 2.6

163 New Mexico State University 2.6

164 University of Hawaii Manoa 2.6

165 University of Maine Orono 2.6

166 Univ. of Missouri Kansas City 2.6

167 U. of North Carolina Greensboro 2.6

168 University of South Florida 2.6

169 University of Wyoming 2.6

170 Western Michigan University 2.6

171 Kent State University (OH) 2.6

172 Southern Illinois U. Carbondale 2.6

173 University of Houston 2.6

174 University of Louisville (KY) 2.6

175 Univ. of Massachusetts Boston 2.6

176 University of Montana 2.6

177 University of Texas Arlington 2.6

178 University of St. Thomas (MN) 2.5

179 University of the Pacific (CA) 2.5

180 University of Tulsa (OK) 2.5

181 Ball State University (IN) 2.5

182 Montana State University Bozeman 2.5

183 N.M. Inst. of Mining and Tech. 2.5

184 Polytechnic University (NY) 2.5

185 University of Alabama Huntsville 2.5

186 University of Alaska Fairbanks 2.5

187 University of Nevada Reno 2.5

188 University of North Dakota 2.5

189 Indiana State University 2.5

190 Northern Arizona University 2.5

191 Portland State University (OR) 2.5

192 Univ. of Missouri St. Louis 2.5

193 University of South Dakota 2.5

194 University of Dayton (OH) 2.4

195 Clark Atlanta University 2.4

196 Florida Institute of Technology 2.4

197 Mississippi State University 2.4

198 Idaho State University 2.4

199 Illinois State University 2.4

200 North Dakota State University 2.4

第201名—第249名

201 South Dakota State University 2.4

202 Texas Woman’s University 2.4

203 Univ. of Arkansas Little Rock 2.4

204 University of Central Florida 2.4

205 University of Hartford (CT) 2.4

206 University of Memphis 2.4

207 University of Nevada Las Vegas 2.4

208 University of New Orleans 2.4

209 University of North Texas 2.4

210 Adelphi University (NY) 2.3

211 Pace University (NY) 2.3

212 Univ. of Southern Mississippi 2.3

213 Central Michigan University 2.3

214 Florida Atlantic University 2.3

215 Florida International University 2.3

216 Louisiana Tech University 2.3

217 Northern Illinois University 2.3

218 Oakland University (MI) 2.3

219 Univ. of Massachusetts Lowell 2.3

220 University of Northern Colorado 2.3

221 University of Texas El Paso 2.3

222 Wichita State University (KS) 2.3

223 Wright State University (OH) 2.3

224 Indiana Univ. of Pennsylvania 2.2

225 East Carolina University (NC) 2.2

226 South Carolina State University 2.2

227 Texas A&M University Commerce 2.2

228 University of Akron (OH) 2.2

229 University of South Alabama 1 2.2

230 University of Toledo (OH) 2.2

231 Widener University (PA) 2.1

232 Cleveland State University 2.1

233 Middle Tennessee State Univ. 2.1

234 Tennessee State University 2.1

235 Texas A&M Univ. Kingsville 2.1

236 University of Louisiana Lafayette 2.1

237 Wilmington College (DE)1 2.1

238 Andrews University (MI) 2

239 University of La Verne (CA) 2

240 East Tennessee State University 2

241 Texas Southern University 2

242 Union Institute (OH) 2

243 Biola University (CA) 1.9

244 Jackson State University (MS) 1.9

245 United States International U. (CA) 1.9

246 Alabama A&M University 1.8

247 National-Louis University (IL) 1.8

248 Nova Southeastern University (FL) 1.8

249 University of Bridgeport (CT) 1.8

Learning Ajax

January 3, 2006

Asynchronous Javascript and Xml(Ajax)是当前非常流行的Web开发技术,有很多成功的应用案例,比如Gmail Google MapBackbase等。作为Rich Internet Application(RIA)的一种实现技术,Ajax不仅可以改善用户体验,还可以简化Web开发,通过将页面高度模块化,数据与表现分离,从而可以使服务器端和客户端都可以很好的解耦,降低开发的复杂度。

事 实上,Ajax并不是什么新的技术,只不过是Javascript一些相对比较高级的特性的综合应用。也正因为此,Ajax与其它RIA实现技术(如 Flash、Java Applet)相比,不需要在客户端安装特殊的插件,具有更广泛的浏览器兼容性。一般来说,Ajax所涉及的Javascript特性包括:

  1. 通过XMLHttpRequest的异步请求调用。 客户端Javascript可以通过异步的方式,向后端服务器发送请求、响应返回结果,对页面内容进行部分的更新,而不再需要每次由用户通过改变链接地址,对整个页面进行更新。这是Ajax能够实现页面的平滑刷新,提供用户体验的基础。
  2. 对XML文档的解析与处理。由XMLHttpRequest返回的服务器端信息,可以是纯文本、HTML片段或者是XML文档。对于简单的Ajax应用,纯文本或者HTML片段即可完成任务(如 Gmail);然而对于比较复杂的应用(如 Google Map),服务器返回的信息可能不仅包括页面更新的内容,还包括对页面进行控制的信息,这就需要使用结构化的XML数据,通过Javascript对XML进行解析和处理,获取必要的信息。
  3. 基于prototype的面向对象的Javascript。从Ajax 的字面意思上讲,这一特性并不是一个Ajax应用所必需的。然而,做为一种RIA,其相当大部分的业务逻辑是由客户端Javascript来实现的,如果 使用传统的变量+函数的顺序执行的方式,其设计和实现都将是相当复杂的。而如果能够引入面向对象的思想,可以大大降低Ajax开发的复杂性。而 Javascript的Prototype属性为这一实现提供了基础。

由于Ajax的热门,网上出现了大量介绍Ajax的网站,文章。根据我的学习过程,比较有代表性的包括:

  1. Ajax: A New Approach to Web Applications 这是Jesse James Garrett提出Ajax这个名词的文章。尽管Ajax的应用很早就有了,但是这个术语却是Garret在这篇文章里进行了定义和介绍。文章中用到的2幅图,可以帮助我们理解Ajax与普通Web程序的区别。
  2. Ajax: Getting Started 这是发表在Mozilla Developer Center的一篇文章,通过简单的实例,对Ajax的流程进行了描述,让你对Ajax有一个比较基础的认识,可以作为入手的教程。很多人将其翻译成了中文,发布在网上, 这里便是其中之一,如果习惯看中文的话,可以去看看。
  3. prototype.js开发笔记 prototype.js 是由Sam Stephenson写的JavaScript包。这段构思奇妙编写良好兼容标准的 代码将承担创造胖客户端, 高交互性WEB应用程序的重担,轻松加入Web 2.0特性。我们对于prototype.js的兴趣主要来于两个方面。一是它提供了一系列封装Ajax逻辑的类,可以为我们编写Ajax代码提供便利。 另一方面,通过对prototype属性、call、apply等方法的应用,其提供了一套使用Javascript完成面向对象编程的机制,可以很大程 度上实现封装、继承、多态等OO特性。 这篇文章的作者通过对prototype.js源代码的分析,介绍了这个包的对象,类,方法和扩展的非官方参考。
  4. Ajax Patterns 通过1,2的学习,应该已经对Ajax有一个比较清楚地认识了,并可以编写一些简单的Ajax应用了。然而,如果要真正运用Ajax来进行实际的开发,就 会遇到各种各样的问题。这个Wiki站点就可以帮助你更加深入的了解Ajax,你可以在这里找到Ajax开发过程中方方面面的问题及现有的解决方案。不 过,目前有一些问题的解决方案还不完善,比如固定链接的问题。
  5. Ajaxian 这是一个追踪最新的Ajax应用的Blog。通过这个网站,可以了解最新的Ajax应用实例、方法,新的介绍Ajax技术的文章等等。
  6. AjaxMatters 这是一个关于Ajax的综合网站,包括大量的Ajax的文章、书籍、类库和工具的介绍。
  7. Google-ajaxslt 这是Google提供的一套开源的Javascript下的XSL-T实现,主要用于在客户端通过XSL-T对服务器返回的XML进行呈现,是从其 Google Map的开发过程中提取出来的。
  8. Log4Ajax 对 于Javascript程序的开发,最头疼的一件事情就是对其进行调试。对程序纪录日志,是一种常用的调试方法。这篇文章介绍了如何对Ajax程序纪录日 志,包括客户端和服务器端两方面的内容。事实上,对于调试程序来讲,可能更重要的是客户端的部分。如果只需要在客户端进行日志纪录的话,可以使用 JSLog这个小工具,它提供了一种比较方便的方式进行客户端日志的记录和显示。

这里提到的,只是我读到或使用过的关于Ajax很少的一部分内容,如果你需要了解更多的Ajax的应用框架和开源工具,可以参看Ajax Patterns的 Frameworks页面,而更多的Ajax网站,可以在links页面找到。

一点G感受

October 25, 2004

考得很不爽,不过累计了一些经验值,还是写下来吧:

首先显然要说单词。其实说到底GRE就是考单词,对我们来说,那点做题的伎俩早就会了,新东方的那些复习资料看不看倒不是很重要,关键是要把单词背好。事实证明,只背老红包是不够的,老红包只背一遍更是不行,很多单词似曾相识,但考试的时候根本就想不起来,劝大家还是乖乖把单词关好好过了再说吧。

然后是做题,一定不要指望把单词全背完再做题,至少对于像我这么懒的人是不现实的。事实上,如果能把所有的No.题和国内题中出现的单词都记住,红宝书也就差不多了。

时间。30分钟内做完一个section的V,是件很困难的事情,所以在平时做题的时候一定要限时,如果实在不行就得放弃短文章阅读。

跨区。北大的考场管的还是比较严的,至少我们那个考场的老太太还是比较凶的,我尝试性的跨了一次,就被盯上了,汗~

数学。完全不用看,很易…

最后,以后不要再说GRE考不出一个人真实的英语水平了,GRE本来就不是考英语的,但足够的英语能力是必要条件,不要妄想纯粹的凭借所谓的技巧来拿高分。真正的牛人应该既具备实力又能不失时机的表现出来,我连实力还不具备就想去表现,bs自己一下!