Monday, October 31, 2011

Buy books in internet

I brought some books from dangdang yesterday.  The shipping fee was much more than books' price.
I am still trying to find out the best way to buy books in internet.

=========================================
http://www.bookdepository.com/   -- Free shipping worldwide

Tips from someone:

给大家一点我购书的经验,仅供参考。
    以前的亚马逊运费非常划算160,不管买多少书都是这个价格。可现在邮费涨了,对于当当来说这个价格看似有些高,但也有划算的时候。

    我目前买书都是给孩子买,小孩书都彩色的,虽然网上也有很多电子书,我不太想让孩子看太多电脑,所以英文和法语书都是图书馆借,中文书大部分都是从网上订购的,跟这里图书的价格比较起来,即使不幸碰到了交税,也很划算。

    当当和亚马逊的书费和折扣基本上差不多,所以基本上就是运费上的差距的了。为了省运费,我想了一些方法。

    1.最简单的方法,把书运到国内亲戚朋友家,让他们从国内以印刷品的方式邮寄过来,其实跟当当的运送方式是一样的。邮费其实比当当收取的费用便宜很多,所以我觉得当当居然赚取运费钱,有点不太合适。
    这个方法有个好处,记过来的时候记得把包装都拆掉,如果寄到了这里,被海关所要关税,可以拿着当初移民加拿大报财产的那张纸,证明是你在国内的以前的书籍。是可以不用交税的。(当然当时你的单子上要写明书籍,而且这个单据时10年以内才有效,超过的10年,恐怕是不行的)

    2.如果你只要买几本书,又不着急的话,比方说小说啊什么的,当当的运费还是划算的。当当是按照书原价的一半来计算运费的,一定要看清楚。时间很长,一般2个月左右,才能到这里。

    3.如果你要是买成套的书,原价在120元以上,亚马逊的价格就划算了,看似亚马逊价格很高,但你选成套书的时候,他只是按照一本的价格运费来计算。所以,你要是买个什么什么全集,如王朔全集啊,刘晓波全集啊,运费就比当当划算很多了。而且速度快很多,大约2周内就收到了,因为他们一般从香港走,好像不是海运。这也是为什么你在亚马逊买书,成套的书不多,而当当成套的书很多的原因吧。

    4.如果你专门就想图快的话,只有亚马逊的速度是最快的,那就要多花运费了。

    5.当你在当当网定好了书后一段时间,记得通过email向当当网所要你的运单号码,通过运单号码,你可以在Canada post查询你的书现在运到了哪里了。

    6.个人认为如果家里有电视的朋友,在亚马逊买dvd也很划算的,打个比方baby Einstein,在亚马逊正版只要13块加上运费20块,才人民币33块。去toy us 要加币16.99还要加税。如果买成套的dvd碟片,运费更便宜。当然,如果你是从网上下载的,不想花这个钱就另当别论。我只是觉得给孩子看dvd清晰,方便。

    以上是我的一点经验,与大家分享交流!!!

Halloween

More and more people are living in my area now.
Halloween candies  were run out :-(


Friday, October 28, 2011

拼爹

“北上广”:逃来逃去,逃向何方

 


逃来逃去的白领之所以对小城市拼爹印象特别深刻,根源在于他们逃来逃去时的身份转换。白领到小城市,瞄准的多是公家铁饭碗,这正是群雄逐鹿之地,拼爹是自 然的;或者立志创业,公关就成了必修课。如果是在“北上广”,小白领们多半安心做他们的公司小职员,拼爹、公关之事自然不必他们操心。在中国,其实不分 “北上广”与二三线城市,哪里都得拼爹、讲关系,问题只在于由谁来拼、轮不轮得到你。

BTW, 实际逃到国外的人又何尝不如此。 我的一个同事天天嚷嚷着海龟。 今年回国了一趟,从此再也不提了。

Cowboy的博客

每天都在读Cowboy兄连载的 人生的起伏跌宕, 甚是好看。
非常佩服其“自由奔放的思绪,豪爽豁达的气质,勇敢坚毅的性格”。

吾每日亦当三省吾身。

Wednesday, October 26, 2011

15 vs. 0

看了报道 《大块头被小个子踢15比0 地坛小学惨败俄少年队》不禁想起十年前的
中日夏令营的较量。  其实罪魁祸首都是计划生育政策。长此以往则中华民族危矣。

Sunday, October 23, 2011

NG and SA

I subscribed NATIONAL GEOGRAPHIC and SCIENTIFIC AMERICAN today as I am really tired reading
pdf version.


Saturday, October 22, 2011

Stroblist Dustin Diaz

I like Dustin's 365 project.  This guy is also a javascript expert and  is working in Twitter.

Thursday, October 20, 2011

Gaddafi 之死

Gaddafi 终于死了, 西方各国松了口气。

从橙色革命到阿拉伯之春,西方文明展现出强大生命力。自有其合理性。
然而,任何文明都有其历史,地缘,文化的背景。 强行输入的文明往往水土不服。

 吊诡的是西方文明在其大本营却陷入危机。正可谓物极必反。



几天前以色列与巴勒斯坦 1 对1000 换取俘虏的事件,也并非像某些人所标榜的那样,
是以色列重视国人生命的结果。其实更像是在风雨漂泊的中东, 以色列强烈的危机感所致。

Tuesday, October 18, 2011

X 赋

近见网络奇文三赋 - bi/diao/ru. 乃世外高人所著。 窃以为b赋略胜一筹。
历史文化政治经济无不涉猎。转贴于此,为博君一笑。


《X 赋》

X,雌性生殖之器,阴户也!生男育女,唯此一途;剖腹术出,多彼一路。
X有种种,种种不同,色有黑白之异,质有老嫩之别,口有松紧,
毛有疏密,然其构造大同小异,无外双眼洞开,两唇合缝,上孔排尿
下孔流红。大户千金,小家碧玉,盖莫能外。别名曰私处,因居隐秘之
地才美不外现;红颜称祸水,若遇非常之事亦偶露峥嵘。区区三寸之地,
英雄豪杰为之折腰,酒色之徒为之殒命,流氓恶棍为之走险,
文人墨客为之动兴,多少艺术作品因之而生,多少鲜活生命因之而亡,
故曰“X乃人类创造力(或罪恶)的源泉”,不无道理。

X有贵贱之分,贞妇之X,千金难得一扪之亲;娼妇之X,
百圆可肆出入之快。何其异哉?非X之异,因人而异也。俗语云:
“X是一样的X,模样见高低”,或曰:“女人都是一样的,差别全在脸蛋上
”,均同此理。同是为X,因所生之人不同而迥异。若豪门之女,大牌
明星,公子王孙趋之若骛;若贫家丑妇,色衰娼妓,贩夫走卒避之不
及。妓中花魁,卖X一夕能得百金之俸;北方佳人,挟X一顾可收倾城
之功。呜呼!X何异哉?人有异也!

X有味,曰臭曰骚,然王侯将相缙绅巨贾,虽调唇弄舌亦不嫌脏;
X有罪,销金殒命,如刮骨钢刀断肠毒药,纵家财万贯也能散净;X
有德,生人生财,可繁衍子孙拉动经济,任毁之誉之难掩其功。平民百
姓,一X可用百年,收社会安定之效;达官贵人,一年可用百X,邀
风流潇洒之名。X之为用,花样繁多。用鸟曰插,用掌曰摸,用指曰抠,
有唇曰嘬,用舌曰舐,加之各种器械,变化多端,总而言之曰玩。玩X
之道,色翁之意不在X,在乎玩人也。玩物丧志,玩人丧德。孔子曰:
“吾未见好德如好色者也”,可见德之不兴也久矣!

太平日久,繁荣娼盛,芸芸众X,难得久日。美女公关,三陪服务,
实乃卖X之托;桑拿按摩,洗头洗脚,实则买X之处。卖X为业,亦有
高下。卖于众人者,固可得财,亦易得病。梅毒淋病,艾滋等等,轻则
破财,重则殒命;卖于个人者,择善而从,择鸟入洞,境界高下,
全凭鸟硬。赖哥之鸟,非歌星不奸;名导之鸟,非影星不弄。似我等凡夫
俗鸟,傻兔一窟,精精液液,进进出出,男人受累,女人享福,合家
欢乐,自给自足,何乐而不为哉?

老话:肥水不流外人田,俺曰:操X只操老婆X。诚如是,则天下
太平,百姓乐业,社会祥和,世界大同矣!歌曰:英特那熊耐尔永远
难实现,料一鸟一X之理想也难如愿!

正告正人君子之流:管好自己的鸟,莫想他人的X!

Saturday, October 15, 2011

Signal in perl multi-processes

Catch a signal in Perl is easy.

   
  # main 
  $PID = $$; 
  $SIG{'INT'} = "final_cleanup";

  my $pid = fork();

  if (!defined($pid)) {
      print "Error in fork: $!";
      exit 1;
  }
  ...

  sub final_cleanup {
    ...
  } 
 
But I found every sub processes run final_cleanup. It is not what I want
- run it in main only. Others just exit. Below is the revised version:
 
  # main 
  $PID = $$; 
  $SIG{'INT'} = "INT_exit";
  
  my $pid = fork();

  if (!defined($pid)) {
      print "Error in fork: $!";
      exit 1;
  }

  ...

  sub final_cleanup {
    ...
  }  
  sub INT_exit {
 
    if ( $PID == $$ ) {
      sleep 3;
      print "MAIN PID $$ == Please wait to collect all subprocesses ...\n";
      final_cleanup();
    }
    else {
      print "PID $$ existing ...\n";
    }
    exit(0);

  }

Thursday, October 13, 2011

Unix/C creator Dennis Ritchie dies aged 70

Unix creator Dennis Ritchie dies aged 70

Ken Thompson and Dennis Ritchie with Bill Clinton Mr Ritchie (middle) and Mr Thompson were awarded the US National Medal of Technology for their work on Unix Pioneering computer scientist Dennis Ritchie has died after a long illness.
Mr Ritchie was one of the creators of the hugely influential Unix operating system and the equally pioneering C programming language.
A vast number of modern technologies depend on the work he and fellow programmers did on Unix and C in the early days of the computer revolution.
Those paying respects said he was a "titan" of the industry whose influence was largely unknown.
The first news of Mr Ritchie's death came via Rob Pike, a former colleague who worked with him at Bell Labs. Mr Ritchie's passing was then confirmed in a statement from Alcatel Lucent which now owns Bell Labs.
Jeong Kim, president of Alcatel-Lucent Bell Labs, said Mr Ritchie would be "greatly missed".
"He was truly an inspiration to all of us, not just for his many accomplishments, but because of who he was as a friend, an inventor, and a humble and gracious man," said Mr Kim.
Along with Ken Thompson, Brian Kernighan, Douglas McIlroy, and Joe Ossanna, Mr Ritchie was one of the key creators of the Unix operating system at Bell Labs during the 1960s and 70s.
Unix's influence has been felt in many ways. It established many software engineering principles that persist until today; it was the OS of choice for the internet; it kicked off the open source movement and has been translated to run on many different types of hardware.
It was also at Bell that Mr Ritchie created C, one of the most widely used programming languages in the world. It is familiar to almost every modern-day developer.
In 1999, Mr Ritchie's influence and accomplishments won official notice when he was awarded the US National Medal of Technology - the highest honour America can bestow on a technologist.
Mr Pike said that with his passing, the world had lost a "truly great mind."
Paying tribute on his blog, Google programmer Tim Bray said it was impossible to overstate the debt his profession owed to Dennis Ritchie.
"I've been living in a world he helped invent for over thirty years," he wrote.
On Twitter, developer James Grimmelman said: "Ritchie's influence rivals Jobs's; it's just less visible."

Occupy Wall Street Continues ....


Occupy College

Occupy College are taking place today.  What's next ?




Wednesday, October 12, 2011

BlackBerry Outages

RIM says BlackBerry outages started in Europe


I couldn't send any emails at 12:00am this early morning.  But I didn't realize that it was a big outage of BB and
it happened 3 days in Europe. It was a bad news for RIM when Apple just released iPhone4S.




Occupy Wall Street


Monday, October 10, 2011

Thanksgiving

The first Thanksgiving day was in Canada not in US.

  • Canada: Newfoundland 1587
  •       US: Plymouth 1621 

Sunday, October 9, 2011

Tumblr

I found I wrote less and less but put more and more pictures in my blogger.
Some excuses:
  • I am busy, I don't have time
  • What I will write is in the internet already. I can cut & paste
  • I don't want to show my real thoughts in public for some reasons.
  • ....
Anyway, I know why tumblr emerged these days.  I may need a tumblr account.

辛亥革命100年


辛亥革命100年

Upcoming events

Nikon D800

Oct. 26th ?   Hope the sensor will not be big as 3600 MP as some rumors said.

Solaris 11 

Nov. 9th

“色”影无忌



“色”影无忌, 名不虚传。  呵呵 。。。

Saturday, October 8, 2011

Gömböc

Geometry and self-righting of turtles

Gömböc 





e and catenary

Euler's equation:


Catenary equation:






Gateway Arch in St. Louis is a catenary.

 



Left brain or right brain


Blogger doesn't animate gif unless it is tiny enough. You have to use the external link.



clockwise :: right brain
anti-clockwise :: left brain

混乱中的秩序

读了杨飞有关摄影的文章, 深受启发。


下面的图片很能说明东西方社会及文化的差别。
规则及潜规则。有时潜规则才是真正的规则。


同样有意思的是 Escher 的版画。

Thursday, October 6, 2011

Lovely girl -- 徐冬冬

Today is election day

We had to show up to vote even no party was good enough to fix current issues .


Update: The election made a major minority government.