星期四, 5月 31, 2007

Tools for translate ASP to PHP

Just found a useful tool that translate ASP to PHP call ASP2PHP

http://asp2php.naken.cc/

 

 

 

Some VMPlayer tools

The best online VMX generator:  EasyVMX

http://www.easyvmx.com/

 

Some useful VM ware tools

http://petruska.stardock.net/Software/VMware.html

 

 

星期三, 5月 30, 2007

Create vmdk and vmx file for VMWare Player

It's easy to create a vmdk and vmx file for use with VMWare Player. The VMWare Player is free but does not let you create virtual machines.

Steps:

1.      Create VMDK with qemu-img.exe

2.      Create VMX with VMXBuilder

1. Create the VMDK

Create a VMDK file with qemu-img.exe. This exe is part of QEMU, downloadable from http://free.oszoo.org/ftp/qemu/win32/release/QemuInstall-0.7.2.exe.

Command line:

  • qemu-img create -f vmdk Windows2003Server.vmdk 10G

This creates a vmdk that can grow up to 10G. It will actually create a file of about 1,2MB.

2. Create the VMX

Create a .vmx file. To easily do that, use http://sanbarrow.com/vmxbuilder.html. You will find a batch file there that will create a vmx for you.

The batch file just asks questions. You can:

  • set the virtual hardware type
  • set the OS
  • define SCSI and IDE disks: of course, refer here to the disk you made with qemu-img.exe
  • define an ISO file to attach
  • define network cards
  • set advanced properties like virtual SMP, clustering support, etc....
  • ....

Once you have the VMX, open it with VMWare player and you are done. You can now start installing an OS to the empty disk. It is easiest to just use an ISO file of the OS installation cd and configure the iso in VMXBuilder. When you start the VM, you will boot from the ISO!

 

Build VMX file online

VMPlayer is a freeware, however, it did not provide function to create a virtual machine file (VMX).

 

This is a online tool which help to generate the vmx file.

http://dcgrendel.thewaffleiron.net/vmbuilder/

星期四, 5月 17, 2007

Opensource MDA, UMLtools

Some open source/free MDA, UML Tools:

http://staruml.sourceforge.net/en/  

http://www.andromda.org/

 

Lotus Improv

Today when I do some research related to my work, I suddenly remember a very old products from Lotus called Improv (around 1992).

This tools impress me very much when I still a high school student. But it seems this product did not success and no further version.

 

I found some related tools in web

 

Quantrix – written in java, but not as user friendly as Improv:

http://www.quantrix.com/

A Trial Serial #:  AGU73-CMMVA-U5PRA-FZPWY-6GVC8-X3X

 

 

Good javascript web site

This is web site show some good javascript examples:
http://webfx.eae.net/

The company also has a AJAX framework call bindows, but is seems not as good as ZK framework...
http://www.bindows.net/
http://www.europa.idv.tw/f_opendoc/index.php?viewDoc=233

REST framework

Just like servlet, someone make a java framework for REST. Which call Restlet.

http://www.restlet.org

http://www.frevvo.com/

WPF show case

This is some good WPF show cases:

http://www.thirteen23.com/

http://www.baekdal.com/notes/work/thirteen23-wpf-showcase/

 

 

 

 

Windows Driver Example

This web site includes some good windows driver examples. Which include mount file as driver and mount http as driver.

http://www.acc.umu.se/~bosse/

 

 

星期一, 5月 14, 2007

內地股市經濟學家

內地股市經濟學家:

哈繼銘 (http://finance.sina.com.cn/scholar/hajiming/index.html)

巴曙松 (http://blog.sina.com.cn/bashusong)

 

 

星期一, 12月 18, 2006

Robotics Studio

Robotics Studio

http://msdn.microsoft.com/robotics/

星期日, 11月 12, 2006

Steps to rebuild Fedora kernel

1. Install kernel-.src.rpm

2.Change directory to /usr/src/redhat/SPECS/, and issue the following command:
rpmbuild -bp --target= kernel.spec
-bp Executes the "%prep" stage from the spec file. Normally thisinvolves unpacking the sources and applying any patches.

3. In resulting tree, the configurations for the specific kernels shipped in Fedora Core 3 are in the /configs/ directory.
For example, the i686 SMP configuration file is named /configs/kernel--i686-smp.config. Issue the following command to place the desired configuration file in the proper place for building:
cp ./.config

4. The source will store at:/usr/src/redhat/BUILD/kernel-2.x.x/

5. 因為kernel.spec 要編譯所有的東西(包含說明文件、enterprise、smp、up、secure等等),所以它會花上很長的時間編譯。您可以進一步要求 kernel.spec 不要建立那些您不要的套件:您可以自己編輯 kernel.spec 檔案一開頭的部分,或者使用下面的指令: rpm -ba ––without enterprise ––without smp
-ba will build the binary and source package, ie. that is what people use after they create a spec file and build all the rpm/srpm(s) that are built in prereq's of the rpm.

6. The rpms will be output to/usr/src/redhat/RPMS

7. Install the new kernel

星期二, 10月 24, 2006

VIA PadLock support Linux

VIA PadLock Advanced Cryptography Engine (VIA PadLock ACE) is a technology used in VIA C3 Nehemiah processors that provides very fast hardware encryption and decryption. Although the processors are completely x86-compatible they provide some new instructions for accessing the ACE (xcrypt-group instructions).

So, the application need to do some modification in order to take its advantage.

http://www.logix.cz/michal/devel/padlock/index.xp?show_all=true

星期四, 10月 19, 2006

自由,自由,多少的罪惡假汝之名而行!

法國大革命時期的革命家 Madame Roland (Manon Jeanne Phlipon) 被送上斷頭台前,留下名言:
"O Liberty, Liberty, how many crimes are committed in thy name!"
「自由,自由,多少的罪惡假汝之名而行﹗」

星期一, 10月 02, 2006

阿笨&阿詹

阿笨&阿詹 超搞笑
http://www.youtube.com/results?search_type=related&search_query=pankun

WMtorage

Try to enable your WM2005 to bcome a USB Disk =)
http://www.modaco.com/WM5torage-t238545.html

Leadersip When There Is No One to Ask

《哈佛商業評論》一九九八年七╱八月號刊載的哈佛商學院組織行為學系琳達.希爾教授(Linda Hill, Wallace Brett Donham Professor)等對意大利厄尼公司(Eni)首席執行官貝納白(Franco Bernabe)的訪談:Leadersip When There Is No One to Ask: An Interview with Eni’s Franco Bernabe.(中文本「獨立的領導」)
兩個月換二百五十名高層
亞太地區的讀者對於意大利,除了時裝、薄餅、歌劇、足球和菲亞特(Fiat)公司等,可能就知之甚少了。其實厄尼公司是一間非常之大的公司,在貝納白接手時,擁有十三萬五千員工和在八十四個國家開展業務的三百三十五間營運企業,主業為能源尤其是石油,但同時多元化到農業、紡織機械甚至報紙。可惜負債纍纍,幾乎所有的企業都虧損。不過關係不大,為什麼呢?因為它是「國營企業」!意大利政府完全擁有,一直由政府告訴它該怎麼做,政府可以指導其所有的事,其任務就是服務於國家。在其複雜的機構框架內,意大利的部長和議會委員會發號施令,每個人都想擁有發言權,每個人在該公司內都有關係……。這幅圖像美妙吧?
一九九二年八月,時任意大利總理的堅決「改革派」阿馬托(Giuliano Amto),任命強烈支持私有化、當時是計劃部主管的貝納白為首席執行官,與該公司主席和另一位代表意大利政府(當時唯一的股東)的主任,作為最高層「三人團」一起去領導該公司。但就在第一周,貝納白在給公司全體員工的一份指示中宣佈「他」接管了公司,比「九鐵」兵變如何?貝氏的舉動是有意的,因為他不想和公司職員甚至主席進行漫長的商談,不想妥協,他想達到他真正改革的目標。這一舉動自然令包括主席在內的所有人十分震驚。
貝氏後來解釋他的理念:「進行這種突然襲擊要注意一點,那就是時機非常關鍵。當機會之窗開啟時,你必須從窗口跳出來。你不常看到窗口開啟,而當你看見時,當然希望它不在最高一層!我毫不猶豫地跳了出去。我已經準備好了,我研究厄尼公司已經十年了。我知道,在公司的下層裡有公司需用的才能與技術。那些擁有技術和能力的人只須被提拔到公司的上層來。」
在其後數月,下屬各營運公司的執行官自然是陽奉陰違,到該年十一月的年度會議時,貝氏指示起草反映私有化方案的計劃,沒有一個人做!他們都以為貝氏待不久。在此「內戰」期間,意大利政府開展的反腐倡廉運動「洗手」(Clean Hands),調查指控了大約二十名該公司高層人士,公司前主席甚至在獄中自殺。在調查過程中,一名前管理層人士甚至捕風捉影,指控貝氏接受了五百萬美元的賄賂。當時該公司幾乎所有事情都開始崩潰。
貝氏沒有護短,也沒有當好好先生來鼓氣打動讓大家好過一些。他選擇的決定剛好相反,要求所有營運公司的每一位高層管理人員辭職。不到兩個月,撤換了二百五十多名管理高層。
誰來幹事呢?許多人包括諮詢顧問和投資銀行家都建議貝氏到公司外去找人。但貝氏採取的策略又是完全相反,他相信公司內部有足夠的人才,只須要培訓一下並給予正確的工具支持就會成功。與人力資源部主管一起研究數以百計的內部員工簡歷,不但是業務,更是要尋找能證明其正直並表現出獨立性的人!
虧轉盈不再有腐敗
貝氏終於有了一支隊伍,可以向著私有化的方向前進,他的目標就是把厄尼公司變成一個真正的商業企業。六年後,到希爾教授等訪問他時,該公司旗下二百多間營運企業已被出售或關閉,以他接手時虧損五億五千四百萬美元變成盈利三十億美元,排在全球上市公司中第五位最賺錢的石油企業(意大利本身不產油!),政府股權降至百分之五十一多一點,出售的股份給意大利財政帶來了數以十億美元計的收入,「不再有腐敗,並且從政治干預中解放出來」。期間,一九九三年,任命他的總理還下台了。
貝氏呢?仍然走路上班(他說是可以多半個小時獨立思考問題),而且不參加午餐會和晚餐會,也沒有開始過一種大人物式的社會生活。作為意大利的最高管理人員之一,他可以給自己一系列的額外津貼,但他不要,他住以前的房子,開原來的車,完全保持過去的生活方式。他說:「因為執行正確的意見而被解雇不會傷害我,而只會提高我的聲望,還可以去別的地方工作。」「如果我丟了工作,並回到受壓制和少魅力的位置,也沒什麼,不會改變我的生活。所以,冒險對我來說不那麼可怕,我沒有什麼可以失去的。」
我國古話,無慾則剛、有容乃大,擇善固執在一位推崇《孫子兵法》的意大利經濟學者(一九七五年編過《意大利金融結構與政策》一書)身上顯現。一位領導者展示出的人性、正義和孤獨!

Add Ajax into WordPress

http://www.giannim.com/blog/index.php#http%3A%2F%2Fwww.giannim.com%2Fblog%2F%3Fp%3D15Ajaxifying%20Wordpress%3A%20The%20making%20of%20AjaxWp