Tuesday, 22 April 2008

why I love twitter

1)Mini Blog
我用twitter主要是记事,比如买了iphone,或者今天看了火箭对犹他的比赛,犹他打得总是那么丑陋还能赢,我只想说这一句,就不用劳师动众写到blog里了,所以这叫mini blog。


Twitter in Plain English from leelefever on Vimeo.

2)Share Status
然后在twitter上加我为好友的人,就能看到我这些话,就知道了我在做什么,同时我也会知道我的朋友们都在干什么。对友善的人,这个很有帮助。(自闭的就不用考虑这个了)

3)Time Line
还有一个很重要的意义就是,比如今天网络公司给我打电话说给我一个什么offer,说完全免费,我就留在twitter里,否则,日后它收我钱,我都忘记他们哪天给我打的电话。没办法和他们理论。或者向我那个iphone,几年后,我都会知道我那个电话跟了我多久了,像我以前那些经典电话Matrix 1中的nokia 8088,Nokia QD, Blackberry我都忘了什么时候的事了,或者与谁相识多久也都全靠猜和估计了,有了twitter,也不用总记得哪天是与女友的周年庆了。

4)Widely Supported
用twitter可以更新同步facebook,blog上的status,很方便,如此可以把facebook上的status都保存记录在一起,可以自己回顾最近都做了些什么,facebook上是不能记录以往的status的,twitter正好弥补。而且还可以用Messenger去更新twitter。真正的体现了web 2.0 的mashup。支持twitter的网站和程序数以百计了,而且不错的点子层出不穷。比如twittervision.com/local/london,就能看到london在twitter的人所在的位置(目前这个网站还是beta,有些bug,不过类似的网站数百计了。很多twitter的应用)。
国内有个中文的叫饭否,但是就支持程度和与其他网站协作的能力饭否还差很远。

5) Alternative Email
与一些新结识的朋友留下联系方式,不用bla bla bla说上很长还容易错的email了,直接留twitter,方便好记,还不怕junk。越来越多的IT geek都用这个作为联系方式了。

Monday, 21 April 2008

iphone passwd change from alpine to anything

passwd, this command not work properly in iphone (currently 1.1.4), it will cause endless loop, you must restore the system using itune. So this is the way how to change it.

Login to your iPhone using SSH, or use the Terminal Application, type vi /etc/master.passwd, and look for this line :

root:YOUROUTPUTHERE:0:0::0:0:System Administrator:/var/root:/bin/sh

Replace the content immediately after the root: with the output from that command we used early on. Done, password changed.
Maybe do the same for the mobile User, which is also a line in the same file.

NOTE:
Someone mailed me and stated that the above method did not work for him at all. Quite the opposite, he had to reinstall his Firmware again. Annoying. According to him, the
following snipped to generate the Password Hash worked fine.

openssl passwd -crypt -salt /s myNewPasswd

Personally right now i don’t have another iPhone to try this on, but i think i should still mention his method here.


from: http://www.overridersworld.com/?p=74
=================================

Some discussion:
Before I tested your method I wanted to make sure the output with the default pw ‘alpine’ would be equal to the crypted pw in mast.passwd.

master.passwd: /smx7MYTQIi2M

Perl method:
perl -e ‘print crypt(”alpine”, “XX”).”\n”‘
XXCLVpuFl/zmI

hmm…

OpenSSL method:
openssl passwd -crypt -salt /s djsr71bb
/smx7MYTQIi2M

So the OpenSSL provided the correct output.
I have now changed the pw to my own pw and everything works fine.
So I guess the perl method would not have worked with me.

China is different (funny)


No interests about politics and national economics (for I can not understand), but this photo is quite funny.


state-of-sino-us-relations.jpg

Thursday, 17 April 2008

Eventrually BBC tells some facts and truth

China online: Tibet and torch reaction

From http://news.bbc.co.uk/1/hi/world/asia-pacific/7347821.stm

Over the past few weeks Chinese bloggers and people on internet forums have been reacting to events in Tibet and the protests disrupting the torch relay.

This is a summary of some of the trends so far.

This page contains links to external websites which are not subject to the usual BBC editorial controls.

BOYCOTTING FRANCE

Paralympic athlete Jin Jing during the torch relay in Paris
The treatment of Paralympian Jin Jing in Paris sparked outrage in China

Blogs, internet forums and text messages circulating in China have urged consumers to boycott French goods in response to the protests that accompanied the torch relay in Paris.

Popular anger at chaotic scenes which saw pro-Tibet protesters grab the flame from Paralympic fencer Jin Jing has been inflamed by detailed accounts posted on the internet by eyewitnesses.

The blog EastSouthWestNorth translated the most notable of these posts from popular Chinese internet forums and newspapers.

One bystander waiting by the Seine for the torch to pass found himself involved in the scuffle for the torch. He recounted his experience on popular Chinese-language forum Tianya.

"The brave girl lowered her head and used her back to shield the torch. The thug pulled her shoulder back and hit her... Tears rained out of my eyes. I was sad and angry. Here was an unarmed girl who was handicapped, and the thug had to hit her?"

The anger and the bewilderment at the actions of the protesters is palpable in one of the response posts: "Who is abusing human rights? Who is bringing violence to this world?"

Lists of products and brands to boycott, including Louis Vuitton and French retailer Carrefour, have been widely circulated.

Blogger Wang Jian Shuo says several of his friends have started to boycott French products and describes the impact of recent events on his own thinking: "If you need an example, I am the person in China who were turned from pro-France to anti-France within few days. .. I don't think France is a friendly country at all."

"DON'T BE TOO CNN"

The latest ditty to catch the imagination of the Chinese blogs and chatrooms is "Don't be too CNN" - a musical retort to the perceived bias of western media outlets such as CNN and the BBC.

"Don't be too CNN", broadly intended to mean "don't ignore the truth", has a music video which has been posted on many blogs and forums in China. The lyric has assumed the status of a cult catchphrase.

There are at least two versions of the song circulating. One version features a young woman singing about CNN's coverage of events in Tibet with screen grabs from the CNN website.

Another is set to the tune of Britney Spears' 1998 hit, Baby One More Time, and denounces both CNN and the BBC. In one scene from the video for that version the emblems of both organisations are emblazoned on a woman's buttocks.

One of the biggest Chinese language online portal sites, Sina.com, has a popular page: "Don't be too CNN, fire to the Western media."

CAMPAIGNS AGAINST INDIVIDUALS

John Kennedy, who translates and collates highlights from the Chinese blogosphere for Global Voices, has highlighted instances where the online community has targeted certain individuals - and even taken its opposition offline.

He cites the example of Grace Wang, a Chinese student at Duke University in the US, who was spotted by other overseas Chinese taking part in a Free Tibet protest, which led to what he describes as "torrents of horrid abuse and at least one lengthy human flesh search engine witch hunt" which began on the Chinese language online portal Tianya.

If we use nationalism as the weapon to resist the westerners, then how can we persuade the ethnic minorities to abandon their nationalism
Chang Ping, Journalist and blogger
The EastSouthWestNorth blog talks about "human flesh search engines" as a phenomenon where an online community is mobilised to track down specific individuals or facts.

In this case a friend of the student concerned has written to Global Voices to say that the harassment was so serious that the student's home in China was attacked with rocks.

An internet manhunt - complete with "Wanted" posters - for the man who allegedly wrestled the torch from Paralympic athlete Jin Jing has also been launched on the Chinese language anti-CNN site.

The media monitoring blog Danwei highlights the case of Chang Ping, a journalist and blogger who was labelled as a traitor on China.com forums - criticism which also made its way to the newspapers.

Chang Ping was attacked for his essay "How to find the truth about Lhasa" in which he says: "If we use nationalism as the weapon to resist the Westerners, then how can we persuade the ethnic minorities to abandon their nationalism and join the mainstream nation-building?"

ENGAGING CHINESE NETIZENS

Chinese supporters and pro-Tibet campaigners come face-to-face during the torch  relay in San Fransisco  - April 10 2008
Pro-Tibet campaigners came face-to-face with Chinese supporters in the US

The disillusionment and outrage in China at the torch protests and the perceived bias of the western media is evident across countless blogs and bulletin boards.

Many commentators have said that the protests over Tibet have only served to strengthen Chinese nationalism rather than evoke sympathy for the Tibetan cause.

Sina.com has a petition against the Western media which has reportedly accumulated millions of signatures. Chinese language bulletin board Tiexue (Iron blood) has also hosted outpourings of anger.

In her blog RConversation, Rebecca McKinnon co-founder of Global Voices Online and assistant professor at Hong Kong University's journalism centre, says: "Lots of Chinese people now view the Western media, human rights groups, and Western leaders' criticisms of their country as part of the Racist Western Conspiracy to Stop China From Being Successful."

She also points to the blog by an expatriate in China, Mutant Palm, who has been watching and commenting on the fallout from Tibet and torch protests online.

He tracked initial reaction to events in Tibet on Chinese versions of mobile phone social networks such as Fanfou. He argued in one early post that people should try and engage directly with Chinese "netizens" on networks such as Fanfou and Twitter in the spirit of constructive dialogue.

"Its time to start trying some things instead of just throwing our hands in the air and dismissing the other side as brainwashed, indoctrinated or oppressed. There's life out there folks, try making contact," he says.

Tuesday, 15 April 2008

Poem against BBC CNN etc.



When We were called Sick man of Asia, We were called The Peril.

When We are billed to be the next Superpower, We are called The threat.

  

When We were closed our doors, You smuggled Drugs to Open Markets.

When We Embrace Freed Trade, You blame us for Taking away your jobs.

  

When We were falling apart, You marched in your troops and wanted your "fair share".

When We were putting the broken peices together again, "Free Tibet" you screamed, "it was an invasion!"

(
When Woodrow Wilson Couldn't give back Birth Place of Confucius back to
Us, but he did bought a ticket for the Famine Relief Ball for us.)

  

So, We Tried Communism, You hated us for being Communists

When We embrace Capitalism, You hate us for being Capitalist.

  

When We have a Billion People, you said we were destroying the planet.

When We are tried limited our numbers, you said It was human rights abuse.



When We were Poor, You think we are dogs.

When We Loan you cash, You blame us for your debts.

  

When We build our industries, You called us Polluters.

When we sell you goods, You blame us for global warming.

  

When We buy oil, You called that exploitation and Genocide.

When You fight for oil, You called that Liberation.

  

When We were lost in Chaos and rampage, You wanted Rules of Law for us.

When We uphold law and order against Violence, You called that Violating Human Rights.

  

When We were silent, You said you want us to have Free Speech.

When We were silent no more, You say we were Brainwashed-Xenophoics.

  

Why do you hate us so much? We asked.

"No," You Answered, "We don't hate You."

  

We don't Hate You either,

But Do you understand us?

  

"Of course We do," You said,

"We have AFP, CNN and BBCs..."

  

What do you really want from us?

Think Hard first, then Answer...

  

Because you only get so many chances,

Enough is Enough, Enough Hypocrisy for this one world.

  

We want One World, One Dream, And Peace On Earth.

- This Big Blue Earth is Big Enough for all of Us.

当我们被称为东亚病夫时,我们被称为黄祸。

当我们被宣传为下一个超级大国时,我们被称为威胁。

当我们关上我们的大门时,你们走私毒品来打开市场。

当我们信奉自由贸易时,你们责骂我们夺走了你们的工作。

当我们被碎成几片时,你们的军队闯进来要求公平分赃。

但我们把碎片重拼接好时,你们有叫嚣解放被入侵的西藏。

好,那么我们尝试共产主义,你们恨我们是共产分子。

当我们容纳了资本主义时,你们又恨我们是资本家。

当我们有十亿人民时,你们说我们正在摧毁这个星球。

当我们实行计划生育时,你们说这是违反人权。

当我们贫穷时,你们认为我们是狗。

当我们借给你们现金时,你们骂我们使你们负了债。

当我们建设我们的工业时,你们称我们是污染者。

当我们卖给你们商品时,你们责备我们助长了温室效应。

当我们购买石油时,你们称是剥削和种族大屠杀。

而当你们为石油而发起战争时,你们称为解放。

当我们在动乱时,你们要替我们制定律法。

当我们依法镇治暴乱时,你们称违反了人权。

当我们沉默时,你们要我们言论自由。

当我们不再沉默时,你们称我们是洗脑式的仇外。
  
你们为什么那么恨我们?我们不禁要问。

不,我们不恨你们,你们说。

我们也不恨你们,但是你们理解我们吗?我们问。

当然了,你们说,我们有媒体AFP,CNN和BBCs。

Monday, 14 April 2008

Vista sp1 installed in Virtualbox on Ubuntu

Install the VirtualBox Additions


From the Devices menu, click “Install Guest Additions”


Get the Missing Network Driver


Microsoft decided to not include the network driver that VirtualBox
uses in Vista, so you will have to install it yourself. (Doesn’t
Microsoft claim that Windows has better driver support than Linux
….. ?)


cd ~/install_files
wget http://www.amd.com/us-en/assets/content_type/utilities/V4.51.zip
unzip V4.51.zip -d driver
mkisofs -o driver.iso -R -J driver

In the VirtualBox window, mount driver.iso . Then go to:

Control Panel > Hardware and Sound > Device Manager. Right click
on Ethernet Controller > Update Driver Software > Browser my
computer…

Navigate to the CDROM drive, and click ok.


Wait a minute… and congratulations, you have installed Vista

Sunday, 13 April 2008

Title bar for blogspot

1.Goto http://www.dynamicdrive.com/style to pick up one style you fancy. Click it, of course, then.

2.There are two parts of codes come to you, one is the CSS codes used to feed BLOGGER DASHBOARD-LAYOUT-EDIT TEMPLATE.
Search "</head>", put the CSS codes just before that. Save the template.

3.The other codes is for BLOGGER DASHBOARD-LAYOUT-PAGE ELEMENT.
From "Add a Page Element" select HTML/Javascript, feed those codes there without title. Save it.

4.You are almost there, but be careful in the step 2, because the CSS uses some images as button background, where relative url is used for the allocations of those images. Even if you hacked where those stored, namely absolute url, some time those images is not accessible. So my solution is use some photo album service, such as Picasaweb, which can provide absolute url of your photos. Then use this url to replace those relative ones in that CSS codes. Done.

Friday, 11 April 2008

乱世出英雄:破7_猪圈防盗门_Olympic

中国的国家主席就像我们物理系的学生会主席,像我这样的物理系学生躲都躲不及。中国最近太乱了:

1。人民币增直,破7
路透香港4月11日电--经过一个星期左右的徘徊,周四人民币终于破7,对美元汇率升到了15年来的最高.香港居民抢购人民币,海外热钱以前所未有的速度涌入中国,经济学家们甚至开始谈起了之前不可想像的情况:人民币是否会再进行一次性升值?

全球股市疲软,房市颓败,美国央行频频减息,使得美国和香港一起进入负利率时代.而人民币较一年前已经升值约10%,一季度升幅折合整年高达17%.买入人民币,就算存在国内银行里吃一年4.14%的利息,一年後也能有14%左右的回报,它的相对低风险和高回报,使得人民币套利交易成为了海外投资人垂涎的肥肉.
详见:http://cn.reuters.com/article/columnistNews/idCNChina-956120080411?feedType=RSS&feedName=columnistNews

2。通贸膨胀
猪肉的疯涨又引起治安问题,就是农民的猪圈成了小偷眷顾的地方。好多农民不得不住在猪圈里防贼。我看做防盗门的厂家可以利用这个机会把防盗门推广到农村的千家万户了。

3。北京奥运在海外受到不公平待遇
气得我要死,但是从这些事件后的观察与思考中,我觉得这个事件大大加强了中华民族(除了藏族)的爱国情怀与凝聚力,一些反中势力想借此削弱中国的经济实力,但是在我看来,这会促使中华民族的又一次欲扬先抑的腾飞。

英雄的民族又要有英雄出现了。想做英雄的早该或者已经蓄势待发了。

喜欢学习的人大都快乐

初来英国的时候,最大的反差除了london之破外,就是这里的人的精神风貌。
除了在上班高峰期,几乎大家脸上似乎都挂着微笑,与国内大多数人都愁眉不展的忙碌相差颇多。
还有便是在公共场合,尤其是bus,train,地铁里,很多人都会背着大大的包,说实话很丑,包里大多都装着一本厚厚的小说或是其他读物。免费报纸更是满天飞,整天躲都躲不过来。

随着自己慢慢的适应这边的生活的时候,也是学习工作需要,要学很多很多东西,慢慢的觉得学习是可以修心养性的:喜欢学习的人,潜意识里总是会主动的去发掘他人的优点来学习,完善自己。而那些浮躁的厌学分子,他们可能更多的是挑剔别人,埋怨生活。相比之下,喜欢学习的人会快乐多了,这可能就是西方这些国家的人脸上总是挂着微笑的原因吧,毕竟他们的人平均阅读时间远远高于中国的水平。

这可能就是为什么受教育多的人为什么会给人一种素质蛮高的感觉,重要的并不是学的东西的多少,而是那种学习的态度。

label feeds for Blogspot

here is how you can get your own label feeds on Blogger blogs.

If you have a Blogspot blog:

http://blogname.blogspot.com/feeds/posts/default/-/labelname


Just be sure to change blogname to match your blog. The labelname is what appears in the URL of your blog label page.


Example URL: http://googleblog.blogspot.com/search/label/personalization

Example Feed: http://googleblog.blogspot.com/feeds/posts/default/-/personalization


If you host your own blog:

http://www2.blogger.com/feeds/blogid/posts/default/-/labelname


The trick here is that you need to find your blog id. To do this,
login to your Blogger dashboard and click on the new post link. In the
URL bar your blog ID will show up and it’ll look something like
this:

http://www.blogger.com/post-create.g?blogID=1234567980123456789


Example URL: http://www.yourblog.com/label/personalization

Example Feed: http://www2.blogger.com/feeds/1234567980123456789/posts/default/-/personalization


If you have spaces in your label, your feed URL would look like the following.


Example URL: http://googleblog.blogspot.com/search/label/policy%20and%20issues

Example Feed: http://googleblog.blogspot.com/feeds/posts/default/-/policy%20and%20issues

or

Example URL: http://www.yourblog.com/label/policy%20and%20issues

Example Feed: http://www2.blogger.com/feeds/1234567980123456789/posts/default/-/policy%20and%20issues


Requirements

Yes, there is one requirement and that is that feeds are enabled for
your blog. It should go without saying, but I thought I’d share.

Wednesday, 9 April 2008

我想说一句:挡我者死!



正当的抗议难道会如此用踢的方式对待一位残疾女性?!




“那一刻,我只想到要保护好火炬!”昨天,记者收到了奥运火炬手金京从法国巴黎发来的短信。

金京是上海姑娘,也是国家轮椅击剑队的队员,这次通过联想的火炬手选拔,光荣地成
为一名境外火炬手。就在前天的奥运火炬传递巴黎站,金京在等待火炬交接时受到了藏独分子的干扰,关键时刻,她不顾一切地保护了奥运火炬。随后,金京护住火
炬的照片和故事迅速在国内各大网站上流传,大家感动地称她为“用身体保护奥运火炬的姑娘”。



奥运火炬手金京:“那一刻,我只想保护火炬”_体育频道_新华网

Monday, 7 April 2008

中国屏蔽了太多的新闻,即便是海外华人反抗藏独的报道也都全部予以删除,就连Chinaren里都不允许说爱国。




中国屏蔽了太多的新闻,即便是海外华人反抗藏独的报道也都全部予以删除,就连Chinaren里都不允许说爱国。
一边看着西方媒体夸张失实的报告,抗击着种种不利中国的说法,一面又要面对一个事实,中国这个“闭关大国”封锁负面新闻的举措。我们如何爱国,祖国不但不予支持,反而加以屏蔽。不论如何,这点确实是中国需要努力做好的方面。

但是西方传媒也好不到哪里,BBC只是报道中国的负面新闻,那些为了和平和奥运的示威他们则基本不予报道。

Friday, 4 April 2008

Beijing 2008 Olympic Torch Relay, London, 6April 2008

The route

Click on a specific area on the map for details of events.

1. Wembley2. Ladbroke Grove 4. China Town5. Trafalgar Square6. Southbank Centre7. Somerset House8. St Pauls Cathedral9. Potter's Fields / More London10. Whitechapel High Street11. Stratford12. Canary Wharf13. North Greenwich

Torch Relay route PDF (483KB)

The map shows the route of the Torch Relay in London, with approximate timings. To be sure of seeing the Relay you should plan to arrive at your location at least 30 minutes in advance.

All events are free. The start and grand finale are also free, but will be ticketed. You can apply for tickets via the website.

The timings show the approximate times the Torch Relay passes. Special events at particular locations may begin earlier.

1. Wembley (10:30)

Special event with performances at Arena Square, outside Wembley Stadium (limited capacity, LB Brent ticket only). Community activities planned in central Harlsden.

Back to top

2. Ladbroke Grove (11:00)

A mini-carnival will be held at Ladbroke Grove with entertainers in Carnival Masquerade costumes performing to SOCA music.

Back to top

Notting Hill Gate (11:30)

In Notting Hill Gate a Latino Carnival band will entertain spectators evoking the carnival feeling for which Notting Hill is so famous.

Back to top

Oxford Street (12:00)

The Torch relay passes along the length of Oxford Street on an open top bus.

Back to top

4. China Town (12:45)

In Chinatown, the London Chinatown Chinese Association, in partnership with the Greater London Authority, has organised performances including costumed dragons and lions as well as decorating Gerrard Street with Chinese lanterns.

Back to top

Piccadilly Circus (12:50)

5. Trafalgar Square (13:00)

In Trafalgar Square, festivities will continue in front of Nelson’s column with performers and music raising the crowds’ excitement. A banner will be dropped from a lift in the centre of the square, which will rise from the stage to the accompaniment of a brass fanfare.

Back to top

6. Southbank Centre (13:30)

The Southbank Centre has created a spectacular welcome for the torch along the front terraces of the Royal Festival Hall with a choir of 600, Kathak, poetry, circus, hip-hop and beatboxing. The cast is made up of young people from Lambeth, Greenwich and Liverpool performing alongside Southbank Centre's Voice Lab, Riz MC, LakaD and with input from Artists in Residence Shlomo, Lemn Sissay, Gauri Sharma Tripathi and Stan Won't Dance.

Back to top

7. Somerset House (14:30)

Somerset House in Westminster has commissioned Aletta Collins to choreograph a unique dance piece that will be accompanied by music from the Bollywood Brass Band and 60 local primary school children.

Back to top

8. St Paul's Cathedral (14:45)

On the steps of St Paul's Cathedral in the City, the Band of the Scots Guards will welcome the flame with fanfares and music. The Lord Mayor and Dean of St Paul's will be present with over 150 schoolchildren dressed in Olympic-coloured T-shirts and waving flags.

Back to top

9. Potters Fields / More London (15:15)

In Southwark, outside City Hall at More London, Rhythms of the City, Chinese Dragon Dance and live drumming sessions will raise the atmosphere and continue the carnival spirit.

Back to top

Tower Bridge (15:30)

10. Whitechapel Road (15:45)

In Tower Hamlets see the Emperor and the Tiger spectacular and performances from Kinetika to celebrate the arrival of the torch near Whitechapel Tube.

Back to top

11. Stratford (16:30)

At Stratford in the London Borough of Newham a series of events will take place at different locations throughout the afternoon culminating with the arrival of the torch. Includes Carnival/Street performers, carnival and music floats and sporting activities. An aerial performance will take place at Theatre Square in Stratford alongside performances on the roof of the Stratford library and the Gerry Raffles Building as well as events in Meridian Square, Salway Road, inside Stratford shopping centre, Stratford Old Town Hall and Stratford station.

Back to top

12. Canary Wharf (17:00)

In Canary Wharf there will be carnival themed entertainment including acrobats, jugglers, stilt-walkers, street theatre, music shows, dance performances, face painters, children’s workshops, treasure hunts all throughout Canary Wharf's outdoor spaces and shopping malls. (Visit www.mycanarywharf.com for activity listings or pick up a leaflet)

Back to top

13. North Greenwich (17:30)

The Torch Relay in London ends at a grand finale at the Arena at North Greenwich climaxing with the spectacle of the arrival of the final torchbearer and the lighting of the Olympic Cauldron.

Back to top

Thursday, 3 April 2008

legally hide the blogger navbar

Here is a creative way to hide the blogger nav bar without actually removing it. This will allow you to operate your blog within the confines of blogger's terms of service. It is a simple javascript snippet, and can be implemented with only two or three lines of codes.

1 - Add this code to your BODY tag:

<body onload="document.location = document.location + '#top1'">
or <body onload='document.location = document.location' + '#top1'>


2 - Add this code in ABOVE your upper most visible element tag. This is usually the blog title tag.

<a name="top1"></a>


This will force an automatic scroll down the page JUST far enough to push the navbar out of visibility. There is an example of how i've implemented this:

I have a
<a class="definition" href="http://billiardsforum.blogspot.com/">billiard blog</a> which is the site you are now on. Allow the page to load fully, then you will see it "jump" just enough to hide the nav bar.

Hope you all find this tip to legally hide the blogger navbar useful
From: http://billiardsforum.blogspot.com/2006/08/legally-hide-blogger-nav-bar-without.html

Nba: dancing in the air



I don't think I can jump then spin 360 in the air even :(.

Nba shoot




This is exactly what I have exercised and try to achieve when I was undergraduate.

Thursday, 27 March 2008

Two examples of matlab implement java

Example 1: print a line
===================
import java.lang.System;
System.out.println('zhengxin');

% in Java environment, java.lang.* is automatically imported, so no need to import it when programming with java. But in Matlab, this package/classes must be imported manually.


Example 2: show a dialog
===================
import java.awt.*;
import javax.swing.*;

title = 'Frame Title';
frame = JFrame(title);
comp = JTextArea();
frame.getContentPane.add(comp, BorderLayout.CENTER);
width = 300;
height = 300;
frame.setSize(width, height);
frame.show();

Thursday, 20 March 2008

London 饭店 订餐电话

川渝
地址: 37 Chalton street London NW1 1JD
电话: 0207-388-0808

安瑞丝
地址: Kilburn tube station
电话:020 7625 8686

老地方
地址: 261 bethnal green road
电话: 02077298388

香满楼
02076260126
ec3r 7pp

老北京涮肉馆
订餐电话:020 8202 1078/0789 668 4570,
KTV包间预定电话:07701088988 / 0773 815 1643/ 020 8202 3690
8/9 Sentinel Square, Brent Street, London NW4 2EL,最近地铁站为伦敦北三区的HENDON CENTRAL 地铁站 (黑线),公共汽车停靠站有326路,143路,240路,183路,83路等。

五月花
68-70, Shaftesbury Avenue, London, W1D 6NA
Tel: 020 7734 9207

Wednesday, 19 March 2008

How Apple Got Everything Right By Doing Everything Wrong

From: http://www.propeller.com/viewstory/2008/03/19/how-apple-got-everything-right-by-doing-everything-wrong/?url=http%3A%2F%2Fwww.wired.com%2Ftechbiz%2Fit%2Fmagazine%2F16-04%2Fbz_apple&frame=true

Jobs' fabled attitude toward parking reflects his approach to business: For him, the regular rules do not apply. Everybody is familiar with Google's famous catchphrase, "Don't be evil." It has become a shorthand mission statement for Silicon Valley, encompassing a variety of ideals that — proponents say — are good for business and good for the world: Embrace open platforms. Trust decisions to the wisdom of crowds. Treat your employees like gods.

It's ironic, then, that one of the Valley's most successful companies ignored all of these tenets. Google and Apple may have a friendly relationship — Google CEO Eric Schmidt sits on Apple's board, after all — but by Google's definition, Apple is irredeemably evil, behaving more like an old-fashioned industrial titan than a different-thinking business of the future. Apple operates with a level of secrecy that makes Thomas Pynchon look like Paris Hilton. It locks consumers into a proprietary ecosystem. And as for treating employees like gods? Yeah, Apple doesn't do that either.

But by deliberately flouting the Google mantra, Apple has thrived. When Jobs retook the helm in 1997, the company was struggling to survive. Today it has a market cap of $105 billion, placing it ahead of Dell and behind Intel. Its iPod commands 70 percent of the MP3 player market. Four billion songs have been purchased from iTunes. The iPhone is reshaping the entire wireless industry. Even the underdog Mac operating system has begun to nibble into Windows' once-unassailable dominance; last year, its share of the US market topped 6 percent, more than double its portion in 2003.

It's hard to see how any of this would have happened had Jobs hewed to the standard touchy-feely philosophies of Silicon Valley. Apple creates must-have products the old-fashioned way: by locking the doors and sweating and bleeding until something emerges perfectly formed. It's hard to see the Mac OS and the iPhone coming out of the same design-by-committee process that produced Microsoft Vista or Dell's Pocket DJ music player. Likewise, had Apple opened its iTunes-iPod juggernaut to outside developers, the company would have risked turning its uniquely integrated service into a hodgepodge of independent applications — kind of like the rest of the Internet, come to think of it.

And now observers, academics, and even some other companies are taking notes. Because while Apple's tactics may seem like Industrial Revolution relics, they've helped the company position itself ahead of its competitors and at the forefront of the tech industry. Sometimes, evil works.

.............................

All this plays to Steve Jobs' strengths. No other company has proven as adept at giving customers what they want before they know they want it. Undoubtedly, this is due to Jobs' unique creative vision. But it's also a function of his management practices. By exerting unrelenting control over his employees, his image, and even his customers, Jobs exerts unrelenting control over his products and how they're used. And in a consumer-focused tech industry, the products are what matter. "Everything that's happening is playing to his values," says Geoffrey Moore, author of the marketing tome Crossing the Chasm. "He's at the absolute epicenter of the digitization of life. He's totally in the zone."

Tuesday, 18 March 2008

阿巴斯的诗

(部分转自 mindmeters)



阿巴斯的短诗,清静,深沉,还有短。

01
  白色马驹
  浮出雾中
  转瞬不见
  回到雾里
  
  
  02
  小小一片积雪――
  漫长冬日给早春的
  留念……
  
  
  03
  白首妇人
  望一树樱花:
  莫非已是我暮年的春天?
  
  
  04
  红苹果
  在空中
  翻转千次
  落入
  顽童手心
  
  
  05
  月光
  融化了
  老河上的薄冰
  
  
  06
  秋日午后
  无花果树叶
  轻轻落下
  停在
  自己的影子上
  
  
  07
  奶牛呀
  一步一晃悠
  恰如身后农夫
  两桶奶在手
  
  
  08
  村童哟
  勇猛无惧
  瞄准草人头
  
  
  09
  一群樱桃树
  就一棵,孤零零
  半朵花不开
  
  
  10
  老狗
  看守着
  一堆
  废轮胎
  不取分文


My photo
London, United Kingdom
twitter.com/zhengxin

Facebook & Twitter