Archive for the ‘Life’ Category

选配眼镜的常识补遗

Thursday, February 21st, 2008

首先祝大家汤圆节快乐!

————

眼镜行业的暴利早就路人皆知了,正所谓“20元的镜架,200元卖给你是讲人情,300元卖给你是讲交情,400元卖给你是讲行情”。但就算是常识,也有被误解的时候,比如“跳槽”本来是青楼用语和菜头整理了一篇《眼镜业内幕》原文出自天涯),太常识的就不再提了,摘选的以下几点相信不是每只四眼田鸡都清楚的。当然了,眼镜批发商的一家之言,目的性、真实性、可靠性如何,请各位自辨。

  • 隐形眼镜药水玄妙得很,成本低利润高,且质量和价格不成正比。原作者的观点是海昌不能买,博士伦不值,卫康还不错。
  • 隐形眼镜不是每个人都能带,且参数讲究颇多。
  • 硬性隐形眼镜镜片比软性的对眼睛的伤害小,但据说国内硬性的不好买。
  • 能不戴隐形眼镜尽量别戴,国内的空气质……还是框架吧。
  • 眼镜戴着舒不舒服,镜片的本身质量只占1%,90%是看验光师的水平,另9%看制镜师的本事。
  • 制片准确度,半框拉丝 > 全框 > 无框。

去年底给自己配的眼镜正好是半框拉丝的板材 + 依视路的镜片,希望不会害了眼睛,挨宰也就罢了。

(more...)

罗技 G3

Wednesday, February 20th, 2008

罗技 G3我那只耗巨资入手的 IE4.0se 从一开始就有微动问题(单击变双击),后来偶尔单击被忽略,上周突然病情加重,看来离入土之日不远矣。之前提到有传闻微软企图收购罗技,预见今后购买鼠标的困难程度,终于突破了心理防线周末去徐家汇,考虑到像 MX518G5 这类巨型鼠标虽然人体工程学设计不错,但太笨重,用腻了想换换口味,于是败了一只 罗技 G3 ,¥290,上海好像什么东西都偏贵 - - 顺便在 JS 的忽悠下买了一块 镭拓 C2 ,包装却是 C1 的,还多宰我¥10毫不眨眼(实价¥25),我真是太傻太天真了 ~~~>_<~~~

然而,启用新鼠标的兴奋劲还没了过去,就发现了不少问题。买前没看仔细,回来才发现 G3 的滚轮居然不支持水平滚动;号称支持全速 USB(500 个报告/秒)的 G3 却不支持 USB-to-PS/2 转接头,很郁闷,仅有的两个 USB 口只剩一个了;最新驱动仅支持将左右两个功能键设为指定的几种功能,而不支持启动外部应用程序,所以这两个键也就基本废了;另外 G3 需要在鼠标设置中取消“提高指针精确度”,否则往右下角移动时会出现掉帧,真是汗死了。现在就剩鼠标手感还不错,唯一的欣慰。

(more...)

眼皮跳

Wednesday, February 20th, 2008

以前每次左眼皮跳的时候都用“左眼跳财”安慰自己 -,- 可最近一直右眼皮跳,没法再自欺了,了解了一下眼皮跳的原因,看来还是跟健康程度密切相关,主要有以下这几个情况:

用眼过度,如看屏幕过久;
压力大、精神紧张;
眼内有异物或炎症。

一般的解决办法就是多休息、多放松,对于我们变形金刚族[1]来说,还是需要定时离开电脑,站起来,多走走,多看看远处,还有晚上睡个好觉 :)

[1] 《清华夜话》经典台词:“你丫也该换个姿势了,整天在电脑前坐着,还不成变形金刚了?”

那么,轻松一下,来听一首仅由 Windows XP 和 Windows 98 系统声音组成的乐曲吧,是不是想起了 N 年前仅由 Windows 98 系统声音组成的那首曲子?

(more...)

Living and learning

Tuesday, January 1st, 2008

To myself, for the new year 2008:

“Live as if your were to die tomorrow. Learn as if you were to live forever.”
—— Mahatma Gandhi

WordCamp Beijing 2007 && Annual BlogDay 2007

Friday, August 31st, 2007

I'm going to WordCamp Beijing

And I’m the 95th registrant of the meeting and will take part in it with my 煎蛋’s partners.

————

Today’s annual BlogDay (what’s it: [1] [2] [3]) and here’s 5 blogs of my favorites:

  1. 一五一十部落
  2. 子说
  3. 洪波的偏见
  4. Lifehacker
  5. Nings blog

Other recommended blogs are 煎蛋Ya,I Yee / Yee’s Blog左飞Wangjianshuo’s blog / 王建硕 ……

The worst blog is Google 黑板报.

修复被 PartitionMagic 损坏的 Vista 分区表

Monday, August 20th, 2007

DELL C521 台机(160GB)预装的 Windows Vista,默认仅分了一个系统分区(140GB)和一个特殊的备份分区(10GB)。由于我第一次接触 Vista,很无知,想当然的企图用 PowerQuest PartitionMagic 8.0 for DOS 来对硬盘进行重分区。一进 PQMagic 就提示“硬盘上有错误,是否要修复”,不假思索地就按了“是”,结果,分区表被损坏了,连 PQMagic 自己都无法再识别该硬盘上的分区了(错误 #105,进去时报分区有重叠),靠!当然,机器也乖乖地报找不到硬盘还是操作系统之类的错误(# 具体文字我记不清了)。

由于硬盘里保存了很多有用信息,不到万不得已我可不想重格硬盘重装系统,先找办法恢复分区表和系统吧。查了大量文章,最先尝试“fdisk /mbr”,无效(我也觉得应该不关MBR的事);用 Windows XP/Vista 系统光盘自动修复,无效;用 DiskGenius(原 DiskMan)的“重建分区表”,结果建出一大堆乱七八糟的分区,总容量 1TB+,我抓狂了。

正当无奈之际,想起刚才 PQMagic 报的分区有重叠错误,在 DiskGenius 里果然看到一个不知名分区和那个 DELL 的特殊分区的中止柱面/磁头/扇区数值明显有误,都被改成了磁盘最后一个扇区的值了。手边另有两台本本(一台 Vista 一台 Xp),立马分别运行 DiskGenius 查看分区表信息,估摸着该怎么改这损坏了的分区信息(因为我不懂这个。。。)。我猜就是把上一分区的结束位置和下一分区的起始位置接上(刚好相差一个扇区),试试吧,改好,存盘重启。

(more...)

The 10 commandments for new Linux users

Wednesday, August 15th, 2007

Remember, this article is for new users.

  1. You should not log in as root.
    Use “sudo” or “su -” for administrative tasks.
  2. You should use the package manager when possible.
    Sometimes installing from source code can’t be avoided, but when you use your distro’s package manager to install software, you can also use it to update and remove it. This is one of the main strengths of Linux.
  3. You should be a part of the community.
    Freely give what you have received for free. Offer help and advice whenever you can.
  4. You should read documentation and man pages.
    Always read the documentation. The people who wrote the software tried to anticipate your questions, and provided answers before you asked.
  5. You should use the available support system.
    Switching to Linux can be tough. It can be frustrating, but there are a lot of people out there who want to help you. Let them.
  6. You should search.
    In most cases, your question or problem has already been addressed. Try to find the answers that are already out there before asking someone to provide a new one.
  7. You should explore.
    Linux opens a whole new world of options and possibilities. Try everything you can.
  8. You should use the command line.
    Especially when it comes to configuration, use the GUI tools to get your system working, but get to know the command line versions as well. In many cases, the command line is the only way to use some of the more advanced features.
  9. You should not try to recreate Windows.
    Linux is not meant to be a clone of Windows. It’s different. Embrace and appreciate the differences.
  10. You should not give up.
    I tried several distributions before I found one I liked. I still try other distros from time to time. I also tried several different programs to serve one purpose before settling on what I use now (amarok, xmms, beep, exaile for music - azureus, ktorrent, deluge for bittorrents). If you don’t like the defaults, remember that you can change almost everything to suit you.

(more...)

夏天,厦门

Wednesday, August 8th, 2007

才半个礼拜没上网,变化真不小,Gmail 30+(不包括煎蛋 Group 帖和 spam,我的 spam 常年稳定在 30+/天)、GR里每个分类都 100+、奇懒无比的谷歌黑板报居然也更新了 7 篇,最值得称道的是就这几天,煎蛋 Group 一口气拉进来了两位 mm,目前 XX 军团已壮大到 6 位,与 XY 的数量(27 位)进一步缩小。同时也发现,自己其实没有网癖 :D

—— 进入正题 ——

趁着可能是此生最后一个以学生身份“享受”的暑假待遇,以及在北京积攒的一点点银子,和 LP 冲往厦门自由游了 3 天。由于老板横刀夺爱,原定于7月下旬的旅游计划只好推迟到 8.1。

查了从杭州-厦门的火车,至少 20+ 个小时,铁路从江西那边绕;后问了在厦门的同学,说汽车快,12 小时即可。由于 8.1 之前我还没正式放暑假(老板只给两周暑假),而 8.7 LP 就要上班了,时间紧任务重,决定双飞。

旅 之 飞机

淘宝携程艺龙一番猛查,杭州/上海-厦门的机票至少 ¥410,时间还很不好,一般都 ¥480+。然后电话打到国航和南航,问招行 Young 卡订低折 票的情况,告知 8 月的机票早在 6 月就 sold out 了。根据驴友们的介绍,我决定尝试一下春秋航空低票价的 Airbus A320(以前没坐过空客的飞机)。

7.22 在春秋航空旅游网订了两张上海虹桥-厦门高崎的往返票,8.1 上午 10:30 出发(¥310)、8.3 下午 5:10 返回(¥350),这个时间段比较能充分利用三天而又不必起大早(另有早上 7:40 去的飞机,适合离虹桥机场近的朋友),唯一的缺点就是傍晚的机票要贵 ¥40,但是为了白天能玩,还是值得的。可惜时机凑得不好, 8 月初只能买到低价票,¥199 的特价票没有(今天买一周后的上海虹桥-厦门往返就有 =_=),不过也行啦,毕竟已经便宜不少了。

这里要提的一点是,春秋航空尽管票价低,不过服务真的没有想象中(想象均来自网上的一些网友负面评论)那么差,其实还是可以的。上飞机并不是自己走 到停机坪上,在上海虹桥是乘摆渡车(春秋有自己专用的摆渡车和梯子车),厦门高崎是走通道的待遇;上飞机后也不是什么都不提供,每人送一瓶 200mL 的矿泉水,可自带饮料食物,机上卖的食品也不算很贵;起飞前都会有氧气面罩、逃生通道、安全带的使用演示真人 live 版,空哥空姐服务态度很好;舱内干净整 齐,飞机大小我感觉和 Boeing 737-800 差不多,但座椅间距较小(其实正常身高的人坐着都没问题的),6座/排 ×30 排,另外“失望地”发现 Airbus 的飞机和 Boeing 的居然大同小异,当然了,飞机安全问题不用担心会打折扣。和普通航空公司飞机的区别主要在于:1. 飞行途中不提供免费餐食,明摆着的嘛,羊毛出在羊身上,短短七八十分钟的航程不吃东西不会有问题;2. 飞行途中会有纪念品推销,打个瞌睡不听也就过去了,不算很烦人;3. 其他区别有待更新。

另外就是如何来回于机场的问题。去虹桥机场,据驴友说从市中心打车去也就 ¥40,我们从地铁1号线莲花路站附近打车到机场才 ¥27;厦门公交线路多,每个车站上的站牌都一大堆,令人赞叹,所以从高崎机场出来向左走两三百米左右就是公交站,27 路车直达终点站轮渡码头,方便得很,统一票价 ¥1(无空调),行程 1 小时左右。


机场出口处便领略了亚热带风情

(more...)

Google’s Privacy Chief Backs T-Shirts, Not Ties

Saturday, July 28th, 2007

Google Inc.’s global privacy counsel, Peter Fleischer, wants to see t-shirts replace the tie as standard business attire, saying the tie

1. “constricts circulation to the brain”;

2. “acts as decorative camouflage for the business suit, designed to shield the middle-aged male physique, with its shrinking shoulders and protruding paunch, from feeling sufficiently self-conscious to hit the gym”.

“Wouldn’t you like to know whether your business partners are fit? Why should you trust a man in business if he abuses his own body?”

In addition, he said casual attire may also result in greater creativity.

“If your fashion editor can hardly imagine a better garment for men to exhibit their personality, power and masculinity than wearing ties, well … I work at Google. Our unofficial motto is, ‘Be serious without a suit’”

Background:

Google, like many other technology companies, allows employees to dress casually for work.

However, several of Google’s senior managers are shown wearing ties in their official photographs.

(more...)

SRM 360 as my first TopCoder experience

Wednesday, July 25th, 2007

I’m taught again that practices is the only way to success.

And say thank you to mydonne who encourages me to take part in the competition and helps me a lot patiently.

If anybody wanna try TopCoder Algorithm SRM (Single Round Match), it is recommended to install ExampleBuilder plugin into TopCoder Arena (HOW TO).

Here’s my C++ template of FileEdit plugin for VS2005.