Archive for August, 2011

獨裁好

August 20, 2011

標題本來是你老細有讀 MBA 嗎?

Google 買 MMI 的新聞只熱了幾天,有寫 IT news 習慣的可能也寫了,誰知才幾天便給 HP 搶了風頭。

HP 的 CEO 在 quarterly earnings call
說他們不再出產行 webOS (一年多前用 $1.2bn 從 Palm 手上買回來)的硬件(電話及平板電腦)他們的 Touchpad 只上架 49 天便被後父母放棄了,可憐。 它比 Microsoft Kin phone 55天還要短命!

CEO 在 conference call 裏提了幾次 shareholder 或 shareholder value,字裏行間似乎在說"老細們,我做緊野,給我多幾季啦"。他接手只九個月, 腳已開始軟, 是驚到腳軟!

聽說 touchpad 的硬件設計其實已做好兩年,有點落後,這裡說放 webOS 在 ipad裏的 browser 裏可以行快兩倍,十分不像樣。連鎖店 Best Buy 在美國入了270000 但賣了不到百份十,想退貨

看完這新聞想到當 CEO 太難,shareholder,分析員,市場太難服侍。有理想及夢想的設計人最好有個未讀過 MBA 的老細,不會計數,不用招呼分析員。早前CNET 這一篇
就說如果 Apple 有個 MBA 的老細就做不出這麼多的 magical 產品,抄貼如下

Imagine an Apple executive with an engineering background pitching the MacBook Air to a CEO we’ll call Chainsaw Al (no relation to “Chainsaw” Al Dunlap. Sheer coincidence).

Al (Apple CEO): “What? You’re saying you want to build a unibody laptop out of one piece of aluminum with only a few connectors? Do you know how much that will cost to build? I don’t see anyone else doing it? HP? Sony? And who’s going to buy it? Are you brain-dead?”

“OK, hear me out on another idea,” the Apple engineer pleads. “A slate or tablet form factor. 10-inch diagonal. Very light, very portable. Under 1.5 pounds. Runs essentially the same OS as a smartphone.”

Chainsaw Al: “Hold it. Stop. I’ve heard enough. 10 inches but no physical keyboard? What would anyone use it for? Just buy a laptop. And we already make those. And I suppose you’d want to make that out of aluminum too with almost no ports. What rock did you crawl out from under? Where’s your cost argument? Didn’t you get the memo?”

後 PC 時代只在轉角,還記得只十年前 HP 用 $25bn 把 Compaq 買回來, 今天要把 PC 業務也放掉, 唉, 我小兒最好不要上大學讀電腦或 MBA。

我看不到這樣的買賣對 shareholder value 有什麼好處, MBA 都沒這教過。

三十歲

August 17, 2011

三十歲的不是我,當然是下面這個。 數天前正是它的生曰。

ibm-pc

不要扮有型說這你上班用過,除非你希望表現老成。

我要在第三份工作時才有機會用過,香港當然不是和美國同步有售,我那時工作的公司是 “天X洋行” 的一部份他們是少數的本地代理,無論有多貴我們也要買一台。

個人電腦給當年上班一族的用途和今天折然不同,它不是用作通訊或運算的,它只是給秘書們作文書處理用。今天不能沒有的 Internet (它也在今個月做了二十歲生曰, 也有說其實它已四十歲了) 要十年後才有,電郵四十年前 (有說法 1965年已經發明了) 雖然已經發明了但基本上商業上有的只是 TELEX。長途電話是要訂的,即是你打給大東電報局說出密碼(還記得密碼是10746)他們給你接通然在指定時間回電給你。

時代變化快得不能相信, 就連 IBM 都要把 PC 業務賣了, 並說已進入 後 PC 年代, 到小兒要上班時可能辨公室連電腦也沒有了, 每人只要有自己的電話, 插進公司提供的設備便能工作。

就連 Google 也要賭身家 (收購價等於 Google 兩年盈利) 去買 Motorola Mobility 可想而知。

我同意這個說

this is either the smartest thing Google has ever done, or the dumbest. There is no in-between.

Android 只有六歲但光陰似箭,是龍是蟲很快便知。

Install the big Cat

August 13, 2011

I wasn’t one of those million on day one, that isn’t my style. I waited for a while, read a few reviews, now I have done it.

Screen shot 2011-08-13 at 12.14.37 PM

This new “About This Mac” is pretty useful, now I know a 256G drive is good enough if I put my movie archive elsewhere.

Screen Shot 2011-08-13 at 1.38.28 PM

To play safe I used Lion DiskMaker to make a bootable DVD of the Lion Installer before proceeding the installation of new OS X. Everything went smoothly, I over worried naturally.

There are a few complaints about the new gestures when using the trackpad, my mind took a while I admit but it’s the most natural thing to do like using your fingers to hold and push the paper up. You just don’t have a scroll bar at the right hand edge of a piece of paper, our mind was fooled for 20 years, now we say the unnatural way is better.

DOS again

August 10, 2011

Have not touched DOS command line for many years.

I set up an intranet running XAMPP under XP recently. The hardware is pretty aged so I have to backup the database just in case. I use XP’s scheduler to run a batch file daily during lunch time. The batch file looks like this


@ECHO OFF
title backup database by mysqldump
setlocal
for /f "tokens=1-4 delims=/ " %%a in ('date/t') do (
set dw=%%a
set mm=%%b
set dd=%%c
set yy=%%d
)

SET bkupdir=c:\xampp\htdocs\dump
SET mysqldir=c:\xampp\mysql
SET dbname=my_database_name
SET dbuser=root
SET dbuserpwd=my_db_user_pwd
SET dumpfile=%bkupdir%\backup_%dbname%_%yy%_%mm%_%dd%.sql

@ECHO Beginning backup of database %dbname%...

%mysqldir%\bin\mysqldump --opt --user=%dbuser% --password=%dbuserpwd% %dbname% > %dumpfile%
FOR %%A IN (%dumpfile%) DO SET FileSize=%%~zA
@ECHO Done!
@ECHO New File: %dumpfile% %FileSize%bytes
EXIT /B

This is just for one database so instead of looping through databases in a single batch file I did the lazy way of using another batch file to CALL a series of batch files with one batch file for each database.

Restoring the mysql dump file should be (in my To-Do list) straight forward. I’ll try this manually at command line.

mysql -u root -p[root_password] [database_name] < dumpfilename.sql