Thứ Bảy, 30 tháng 9, 2006

Python 善用双核心?


今天用家里的Intel Core 2 Duo 电脑来处理一些从公司带回来的数据,第一部分是从6GB的数据里头分析出两种不同应用的数据,再分别写入不同的文件,这个部分由java程序负责。最后得到数据文件两份,1.1GB和18GB。接下来要把每一份文件,根据里头的24种数据组别分割成24份文件,这里用上了Python脚本语言。很简单的,从源文件读取每一行数据,再根据数据的组别字符串分别写入相关的文件。处理那份18GB的源文件比较费时,我让电脑运行着,随便看看Task Manager,竟然发现有两个python的程序在运行,其中一个占用比较多处理器资源,另一个不停的写入I/O。是不是python善用了双核心的处理器,大家分工合作,一个处理算法一个处理写入文件的动作?或者,这只是python的一贯作风,分成不同的子程序来处理不同的动作,不过是刚好碰到了双核心的处理器而更好的发挥?

Thứ Bảy, 23 tháng 9, 2006

觅觅生日快乐

九月二十四,觅觅小妹的生日。大伙儿在二十三日晚假椰子屋为她庆生,用意大利面,柴烧披萨和踢辣米酥和苹果蛋糕,还有一桌子的朋友,一束勿忘我,一朵粉红色玫瑰,一个载有所有同事的祝福的幸福摩天轮,一只娃娃小熊,一脸欢喜,连连笑声,无尽的温馨。
小妹又长一岁啦,诚恳地祝福你,所有的愿望慢慢浮现,幸福的方向渐渐清楚。


Thứ Ba, 19 tháng 9, 2006

Choosing The Best Auto Insurance Company

By Peter Crump

Choosing the right auto insurance company is very important since they will be the one to help you settle any auto related mishaps in the future. Auto insurance companies follow a basic set of benefits which they provide their policyholders. They only differ in the premiums. There are auto insurance companies that offer exorbitant insurance premiums and there are also those that offer affordable premiums. But just how can you know that the auto insurance company you have chosen is a reliable company?

A reliable auto insurance company is one that has a good reputation of paying or settling claims in the fastest time possible and pays the correct amount of claims. To check on your chosen auto insurance company you may visit your state's department of insurance web site. You may not be aware of this but every state has its own department of insurance. Nowadays, most of these departments have their own web sites which display consumer complaint ratios of all insurance companies that sell in their state. These ratios will tell you just how many complaints each of the listed car insurance received per one thousand claims filed.

The complaint ratio will provide you with a gauge on which car insurance to choose. Likewise, out of the list of your chosen car insurance you may be able to also get the company that offers the lowest premium quotes. But make sure that your chosen car insurance company has one of the least ratios of complaint. The car insurance that ranks on both lists should merit your strongest consideration.

The next step is to find out which body shops are recommended by your chosen car insurance. Take note of the locations of their accredited body shops. See if there is an accredited shop that is in your area. If they have one in your area so much the better but you still have to check on the auto body shop to see if it has all the necessary auto repair equipment and machines that can effectively answer any auto repair that you may be requiring in the future.

After checking on the auto body shop and you need to ask them about the insurance company that accredits them. They will either give you a positive feedback or a negative one. Lucky for you if it's a positive remark since this will mean that you have finally found the auto insurance that you want. However it is not yet the end of your search since there are still other factors you have to look into.

Additional information on the auto insurance company that you are considering may be found on the J.D. Power and Associates website. This organization is known to collect data from individual policyholders nationwide and asks these same policyholders to rate their auto insurance company according to coverage options, price, claims handling, satisfaction with representatives, including the overall experience that they have with their respective auto insurance companies.

Another factor for you to look into before you finally settle and pay your very first premium is the financial strength rating of the auto insurance company that you are considering. You may take a look at the A.M. Best and the Standard & Poor's ratings. These two companies are known for publishing financial strength ratings of all insurance companies. The financial strength of an auto insurance company will determine its capacity to pay or to settle claims. Auto insurance companies that reflect a very low financial strength ratio would mean they do not have the capabilities of settling claims and therefore should not be chosen.

To find out more about Cheap Car Insurance visit Peter's Website Good Cheap Car Insurance at http://www.goodcheapcarinsurance.com/ and find out about Car Insurance Discounts and more about cheap car insurance.

Article Source: http://EzineArticles.com/?expert=Peter_Crump

关丹行 - 万佛殿

我们是去吃早餐时经过的道路上,认识从远方望去是一间庄严佛寺的万佛殿,不太雄伟,像一个朴实衣装的老伯喁在一角阅读早报。后来我们吃过了早餐回到同一道公路,友人把驾驶盘一扭,我们来到了万佛殿。

“关丹最大的佛寺,有一个很漂亮的园景和湖,后面的山有很美丽的石壁。”,这是友人口中说起的万佛殿。所以我们也没进入殿里,直接到其湖畔公园,第一眼就被古色古香的庭院湖景折倒。那时阳光依偎在云层后,湖浅处不时见到鱼群游过,靠近山壁那头的湖面有悬浮的石头和枯木,乌龟在其上日光浴。我们沿着石砖道走到湖右的小亭子,掬月亭,绕亭的木板椅子和中央的圆石桌,看起来很适合悠闲看书或聊天的空间。不是很大的公园,却有很悠闲很宁静的气氛。友人边行边聊天,我走走停停,拿起相机用另一只眼睛领会这幅景色,一些细节的美丽用心,一些大处的秀丽湖光山色。











Chủ Nhật, 17 tháng 9, 2006

关丹行 - 宁静的早晨

关丹行 - teluk cempedak的落暮时分

关丹的咖啡店




关丹有很多间以传统咖啡店的食物为本,用新式装潢和多样化的菜单延伸的咖啡店。这回我和友人去了三间,第一间是在“咖啡店街”(因为那条街有超过四间同样风格的咖啡店),我不记得店名了,据友人说是新开的,因为他也没去过。那是间无论外表或内部装潢看起来都不像咖啡店的餐厅,我想那像餐厅多一点,唯一让她变成咖啡店的是菜单里头的kopi o和咖啡店一贯的涂满咖亚和牛油的烧面包。可是那实在不像咖啡店,因为我们点了炸薯条和法国土司。

第二间是Kemaman Kopitiam,友人说是Kemaman的招牌咖啡店在关丹的分店。我们在那边用早餐,烧面包和Kopi O,还有生熟蛋,典型的咖啡店早点。不同的是咖啡店里头的客人们,少了头发斑白的老伯们,少了报纸,而且还有很多友族同胞。我们很喜欢家乡的一间叫“南洋”的传统咖啡店,她的kopi o和烧面包堪称一绝,是我们记忆里的咖啡店餐点味道准绳。而很可惜的,kemaman kopitiam的咖啡还不错,但其烧面包不好吃,和南洋的香脆口感差远了。

反而是第三间的Old Town Kopitiam烧面包好吃多了,而且卖相新颖,大有突破传统框框但保留传统味道之意。Old Town Kopitiam在吉隆坡也有好几件分行。她的装潢古色古香,贯彻了"old"的风味,但不失舒适,难怪这么受欢迎。这回我点了kopi O Ais,不错的说,虽然感觉上味道还是不够南洋的香浓。

说多了,好像品尝家的口气。其实我对食物并不苛求也对味道不敏感,只是刚好碰上相似的饮食经验,留下一些粗枝大叶的“评测”过瘾。

Bài đăng phổ biến