Mar 26

算下帳,前天午飯是3點半吃的,昨天是3點,今天的會開到2點,飯又是3點半吃的,這樣下去我的胃遲早垮掉,有必要注意下了:(

今天某牛人過來指點我,把他的部分模塊搭上了給我看,嘩!這架構比我想像中的要簡單很多!心中暗爽,信心又回來了一些,當然在牛人面前還是有必要適當裝下SB的:)不過 TMD 其實難度依然還是很大,時間也很緊–>一個月俺一個人,俺還得伺候著那台 Server:’(

昨天很倒霉,那一百多頁 Gentoo 的英文筆記放在桌子上,老闆一看來勁了:“咦?這什麽東西。” 若幹秒後…….. 老闆:“小詹我發現你外語不錯,翻譯那一塊你也抽些時間來照看照看吧。” ME:“…….”

Life Is Struggle,日子還要過~

晚上 April 要回嶽陽,陪她逛了一下午買了大包大包的東東,送她上火車時,意外的讓我找到了今天勞累後的安慰,這節車廂99%是女的,是美女,是身材好的美女,是身材好的美麗湘女,鼻血直流……

和 April 隔著車窗 SMS,很浪漫哦,至少車廂裏緊盯著我倆一舉一動的38們是這麽想的,大概以爲我們是情侶吧,都很羨慕的樣子~

今晚可以睡個好覺了,Amen:)

明天要刨資料,苦man:(

Mar 25

JSP+Servlet+JavaBean+工廠模式,TMD搞得我還想的那麽複雜,什麽破爛 Spring、Struts、WebWork。。也不知道該說是我太習慣把現實理想化了還是現實太現實了,我想大概是前者。

我接手的 Server 不錯:

Xeon2.4 X 2 Adaptec AIC7902 Ultra320 Seagate SCSI 36GB X2

1U的,偶搞了它一整天,其實確切的說應該是它搞了我一整天,晚上11點多才搞好SCSI的Driver和DHCPCD。昨天我還很高興Hiweed Debian有個Server版本,想著這下可以省下很多功夫了,媽的結果這爛貨居然連SCSI都搞不定,更氣人的是明明檢測到了SCSI控制器,Driver也選上了卻硬是找不到硬盤,草就一個字。還好早上出門的時候順手帶多了張Gentoo,雖然要編譯,但硬件的識別能力、目錄/配置文件的結構、包管理都要比debian強很多,哎,說到底還是老婆好啊。。。

累、累、累、累、累

明天要開早會~

Mar 24

This post is password protected. To view it please enter your password below:


Mar 23

收到 Mail 了,明天要去中銀 interview,祝自己好運。我還真是的,放著 Lexmark 不去卻偏要自己幹,何必呢?想來想去大概是不喜歡在一群女人堆裏幹活的緣故吧,尤其是一群會在上班時間 38 的女人,盡管她們都很漂亮。

事多,煩躁。

今天把 Arch 研究了好一會,確實是個很不錯的系統。下了 ISO 准備在 Vmware 裏安裝看看怎樣,結果很快樂的發現,我那可愛的刻錄機連刻壞了兩張盤,顯然已經掛掉了,我!@$%*&。最後用 Deamon Tools 掛上 ISO 安裝好了,感覺還不錯,不過網絡的設定要再研究一下,和 Gentoo、Debian 都不太一樣,除此之外,系統很清爽效能也挺高的,不會比 Gentoo 差多少,Pacman 比 apt 爽太多了,也不比 emerge 差。週末安排一下,實戰 Arch :)

中午吃飯的時候表姐 38 來一個差點讓我下巴掉下來的消息,我小叔叔有外遇了!叔叔在這邊工作,老婆在郴州守著兩個兒子過日子,我一直覺得叔叔是個好男人,現在。。。

有必要複習一下帥哥Jim的名言:女人無所謂忠誠,忠誠是因爲所受的誘惑不夠; 男人無所謂專一,專一是因爲背叛的籌碼太低。

看來外遇和感冒沒什麽兩樣,都是會流行和傳染的。

最近巨喜歡五月天,聽下武裝以後,亂~

祝自己明天好。

Mar 23

最近在對這兩個 Distro 考查中:Arch/Kubuntu,有幾篇好的文章要記記,基本上是對 Arch 更感興趣一些,一個更接近 Gentoo 的 distro~

2003 was the year with Gentoo written all over it in the Linux universe. Last year was Ubuntu’s & MEPIS’. I believe that Arch Linux’s year is the current one. Read more for a comparison of Arch to existing distributions, and why we think it rocks and where we think it still requires some work.

Intro

Arch Linux Arch is an i686-optimized Linux distributions based upon the ideas of CRUX and Slackware. It incorporates their stability, speed and most of all, their keep-it-simple philosophy. When Judd Vinet started Arch towards the end of 2001 he did it because he needed n operating system that resembled CRUX or Slackware but with a package manager that had the ability to track dependencies. So he sat down, used LFS to put together his distro and wrote ‘pacman’ from scratch, his minimalistic and yet very usable, package manager. Here is a quick look on how pacman works: pacman -Suy (update the whole system by syncing) pacman -S firefox (install Firefox from -Current) pacman -R firefox (remove Firefox from your system) pacman -A package-name.tar.gz (install a local package)

arch

The distribution’s installation procedure is curses-based but it’s not too difficult to figure out (except the part that GRUB won’t get installed if another GRUB is already installed at the same place and it will instead spit an error message — that part always elluded me).

Arch Linux does not have many distro-specific tools and it definetely has no GUI configuration tools. Some of the configuration (daemons, modules, ethernet etc) can be done by editing /etc/rc.conf which is implemented in a clean and graceful way. For more configuration, you will have to use /etc/rc.local or the utilities’ own configuration files, e.g. /etc/conf.d/pcmcia.conf, or udev’s configuration files, or /etc/conf.d/wireless etc. There is definetely a learning curve in there, but Arch is using default file settings and so you won’t have to learn distro-specific tricks (as it is very common for the Debian subsystem or the main RPM systems).

Comparison

So far Arch does not look very glamorous from my description above, but looking under the hood and at the details, there are strong reasons why it has some advantages over the big Linux players and why it has personally won me over the last few months: (disclaimer: the following comparison is based on my own personal experience with these systems over the course of 7 years of using Linux)

Fedora, Mandrake, SuSE: they require at least 192 MB RAM, they are much slower & much bigger, RPM package management is too modularized and easy to end up with broken or incompatible packages all of a sudden. Some of their scripts or settings are too distro-specific with a long legacy behind them and so sometimes they even break the defaults of some applications or create hard-to-reproduce bugs. On the upside, these distros have lots of GUI tools and mind-share, enough to make commercial binary packages to only test with them to ensure compatibility.

Debian, Ubuntu: Much slower to boot, slower performance overall. apt-get & dpkg and all these related tools are not as brain-dead simple to use as pacman is (and Synaptic is not really as wonderful either). Some distro-specific patches can create problems sometimes. On the upside Debian has a gazillion packages to install and its -stable branch is far more stable than any Linux out there.

Gentoo: Gentoo feels like it’s in beta all the time. It is an ever-changing system that started out simple but has become pretty complex with time. Portage is very strong, but the big problem of Gentoo is that it needs hours to get it installed or get it configured or update the system. With Arch you can be up and running in the 1/50 of that time. Speed-wise they are comparable, with Gentoo having an edge if Gentoo-specific modifications are used. Gentoo supports eBuilds (similar to Arch’s makepkg/ABS philosophy) however usually the most common option available is compilation from source.

Slackware: I have made a much more detailed comparison a few months ago. Since then, the only negative thing that has happened is the apparent slowdown in Slackware’s development due to the health of its sole maintainer. Slackware and Arch Linux have more things in common than not and this is the main reason why many Slackware users have moved to Arch recently.

Now, make it even better

Despite what you might think though, Arch is not perfect and no matter what Archers might advocate to you in the forums or IRC, Arch is not for newbies. Semi-experienced users will be able to successfully fully configure their setup with a bit of pain, but less experienced ones will probably be presented with something that resembles a chaos in their minds. This is not to say that Arch is not a great distro, cause it is. But it does target a more experienced part of the overall userbase.

Pacman has a few performance problems as of late. The number of packages got bigger but pacman does not seem to scale equally well. Currently there is a forum discussion about possible solutions to the problem.

Another weak point is the creation of home-made packages. Archers will advocate that makepkg is dead easy, but it’s not as dead easy as Checkinstall (but still much easier than creating RPMs, of course). Makepkg still requires a bit of extra knowledge and some extra time. With Checkinstall you “./configure” and you “make” but at the end, instead of typing “make install”, you type “checkinstall”. Checkinstall will strip the binary, will create the package for you and will install it, all automatically. Makepkg is definetely not as convenient, at least for ex-Slackware users.

Having to deal with configuration files all over the place for many different applications can be an exercise to one’s patience, no matter the level of his/her experience. It would be great if Arch could create more global configuration files similar to /etc/rc.conf for other things too, e.g. wi-fi profiles, printer, scanners, bluetooth etc. Sure, GUI tools are not the focus of this distribution, but having some easy-to-use global settings files can make everyone’s life easier nevertheless.

Lastly, I would love to see all its very useful wiki articles re-published under the Gentoo colored format: the step-by-step nature of Gentoo’s docs do bring out a higher level a confidence in one’s real abilities. And its happy colors prompt the user to think “hey, it is easy, try it!” (yes, part of it is about psychology and the “feel good” placebo effect).

Conclusion

Arch is a great choice for more-than-newbies+ computer users. It’s still in 0.7 version, but it steps on a solid ground, it has great people behind it and an extra-helpful community. Arch’s big point is “simplicity”. But unlike other ’simple’ distros it goes one step further: it dares. It dares to be innovative where it counts without fearing that it might break some of its simplicity over usefuleness. I find Arch to be the best of all worlds, given you are a bit proficient with computers. Highly recommended for either a workstation or a server.

Installation: 7.5/10 Hardware Support: 9/10 Ease of use: 6.5/10 Features: 7.5/10 Credibility: 9/10 (stability, bugs, security) Speed: 9/10 (UI responsiveness, latency, throughput)

Overall: 8/10

以上轉自 osnews.com