Archive for August, 2007

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...)

My own WP theme goes online

Thursday, August 9th, 2007

I’ve made my own WordPress theme based on the WP default theme. It costed me a lot of spare time to design and code. Now the beta version comes up with a little bugs.

Some parts of sidebar will be out of position in Internet Explorer 6.0 or before. Firefox, Opera and Internet Explorer 7.0 are highly recommended.

# Update on Aug 17, 2007

Here’s screenshot.

(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...)