星期一, 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

IDE for Rudy

http://www.radrails.org/

Show execution plan in SQLPlus

set autotrace traceonly explain

Install PHP5 in IIS6

Just found that the PHP5 installation doesn’t work for Win2003. And this link is useful for manual installation:
http://www.tjitjing.com/blog/2006/05/php5-with-iis6-on-windows-server-2003.html

Install PHP5 in IIS6

Just found that the PHP5 installation doesn’t work for Win2003. And this link is useful for manual installation:
http://www.tjitjing.com/blog/2006/05/php5-with-iis6-on-windows-server-2003.html

Make the WM2005 extended ROM visible

Disable the hack by hand:“Go to “Hkey_LOCAL_MACHINE\SYSTEMS\StorageManager\Profiles\TRUEFFS_DOC”“MountFlags” to be set to “1″ [org: 0×11 (17) ]
Enabling the hack by hand:Go to “Hkey_LOCAL_MACHINE\SYSTEMS\StorageManager\Profiles\TRUEFFS_DOC”“MountFlags” to be set to “0″

Capivara - Java filesync

Capivara is a two pane file manager with support for SFTP and FTP servers. Capivara is not an ordinary file manager because it adds synchronization features like comparing timestamps or SHA-1 hash values.

Trac - enhanced wiki and issue tracking system

Trac is an enhanced wiki and issue tracking system for software development projects.
http://www.edgewall.com/trac/

VMware, Virtual PC and Virtual Server free download

VMware Server 1.0下載處:http://www.vmware.com/products/server/
Microsoft Virtual Server 2005下載處:http://www.microsoft.com/windowsserversystem/virtualserver/software/default.mspx
Microsoft Virtual PC 2004下載處:http://www.microsoft.com/windows/virtualpc/default.mspx

A open source personal and small-business financial-accounting software: GNUCash

A open source personal and small-business financial-accounting software: GNUCash
http://www.gnucash.org/

Kexi - Microsoft Access for Linux

Kexi is considered as a long awaited Open Source competitor for Microsoft Access, FileMaker and Oracle Forms. Its development is motivated by the lack of Rapid Application Development (RAD) tools for database systems that are sufficiently powerful, inexpensive, open standards driven and portable across many operating systems and hardware platforms.
http://www.kexi-project.org

ZK Framework

A AJAX framework called ZK which similar but better than Goggle’s Web API for application development.
http://zk1.sourceforge.net/

Opensource VoIP Billing System - Trabas

Trabas VoIP Billing is Trabas’s solution for VoIP Provider for business goals while providing ease and control over the business processes.
http://www.trabas.com/opensource/index.html

Billing system for Asterisk

Asterisk2Billing with Asterisk is trying to complete the needs for large, medium-sized companies and start-up who appreciate the Calling Cards business model. Asterisk2Billing allows to craft a calling card management system over your Asterisk Server. Its powerful callingcard platform can be easily deployed with Asterisk, it is providing wide set of tools to manage a complex & advanced callingcard system! With Asterisk2Billing & Asterisk, deploying prepaid/postpaid calling card services are just as easy as making a few entries through a web interface. Very user-friendly Interface & a lot of advanced functionalities.
http://www.asterisk2billing.org/

Asterisk - The open source PBX…

Asterisk is a complete PBX in software. It runs on Linux, BSD and MacOSX and provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in many protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware.
http://www.asterisk.org/

SQL-Ledger

SQL-Ledger is a double entry accounting system. Accounting data is stored in a SQL database server, for the display any text or GUI browser can be used. The entire system is linked through a chart of accounts. Each item in inventory is linked to income, expense, inventory and tax accounts. When items are sold and purchased the accounts are automatically updated.
http://sql-ledger.org/

opentaps - Open Source ERP + CRM

opentaps Open Source ERP + CRM brings you the advanced features and power of Tier 1 ERP and CRM software with the flexibility and low cost of ownership that only open source can deliver. You can use opentaps as an alternative to expensive and inflexible commercial ERP solutions, as a replacement for in-house solutions that are difficult to maintain or extend, or as a starting point to build your unique business model and processes.
http://www.opentaps.org

Open Source Billing Systems

http://www.voip-info.org/wiki/view/Open+Source+Billing+Systems

Opensource AJAX Webmail

These two are very good =)
http://www.roundcube.net/
http://www.zimbra.com/

星期二, 9月 26, 2006

儵忽鑿竅( 一)

由於儵、忽的美好願望改變這個自然 清虛的本質,使混沌這時變得面目全非,原來真正的混沌被破壞了,清虛自然終於消失

星期一, 9月 11, 2006

ReactOS - An open source implementation of WinNT

ReactOS is a project to develop a free software/open-source operating system that is binary-compatible with Microsoft Windows NT/XP

http://www.reactos.org/

星期五, 9月 08, 2006

HeidiSQL - tools for MySQL

HeidiSQL is an easy-to-use interface and a "working-horse" for web-developers using the popular MySQL-Database. It allows you to manage and browse your databases and tables from an intuitive Windows® interface.

With HeidiSQL you will also be able to

* generate nice SQL-exports

* synchronize tables between two databases

�P manage user-privileges

�P import text-files

�P and much more Smily

http://www.heidisql.com/

星期日, 9月 03, 2006

MMConvert - Opensource multimedia format converter

MMConvert is a multimedia format converter, using it, you can convert media file from one format into another one. such as convert avi to wmv and so on. it can support any source format with relevant DirectShow decoder, Now supported destination format includes: asf, wmv, wma, avi, mp3, wav, mkv, mka, ogg and ape etc.

Links: http://mmconvert.sourceforge.net/en_us/

星期二, 8月 15, 2006

NOT IN <> NOT EXISTS

如果你的数据库设计在任何一栏中都允许NULL值的话,你需要了解一下,在你的查询语句中,不同的子句是怎样对待这一问题的。
从表面上看,可能显示出这样的情形,即SQL子句IN与EXISTS可以互换。然而,在处理NULL值时,它们的表现截然不同,而且得到的结果也很可能不同。问题源于这样一个事实,即在一个Oracle数据库中,一个NULL值意味着未知,因此,对一个NULL值的任何比较或操作也都是无效的,而任何返回NULL的测试也都被忽视了。例如,以下这些查询语句都不会返回任何行:
select 'true' from dual where 1 = null;
select 'true' from dual where 1 != null;

值1既不能说是等于NULL,也不能说是不等于NULL。只有是NULL的时候才会返回一个真正的NULL值并返回一行。
select 'true' from dual where 1 is null;
select 'true' from dual where null is null;

当你使用IN时,相当于你告诉SQL接受一个值,并将它与某个清单中使用=的每一个值或一组值进行比较。只要存在了任何NULL值,就不会返回任何行,纵使两个值都是NULL也不行。
select 'true' from dual where null in (null);
select 'true' from dual where (null,null) in ((null,null));
select 'true' from dual where (1,null) in ((1,null));

一个IN从功能上等同于=ANY子句:
select 'true' from dual where null = ANY (null);
select 'true' from dual where (null,null) = ANY ((null,null));
select 'true' from dual where (1,null) = ANY ((1,null));

当你使用一种与EXISTS等同的格式时,SQL会计算行数,却忽视子查询中的值,就算你返回NULL也一样。
select 'true' from dual where exists (select null from dual);
select 'true' from dual where exists (select 0 from dual where null is null);

从逻辑上看,IN与EXISTS是一样的。IN子句在外部查询中比较子查询返回的值,并过滤掉行;EXISTS子句在子查询内部比较那些值并过滤掉行。在出现NULL值的情况下,作为结果而出现的那些行是相同的。
selectename from emp where empno in (select mgr from emp);
selectename from emp e where exists (select 0 from emp where mgr = e.empno);

不过,当逻辑被转变成使用NOT IN和NOT EXISTS时,问题就出现了,这两个语句会返回不同的行(第一个查询会返回0行;第二个返回意想的数据-它们是不同的查询):
selectename from emp where empno not in (select mgr from emp);
selectename from emp e where not exists (select 0 from emp where mgr =e.empno);

NOT IN子句实际上与用=比较每一个值相同,如果任何一个测试为FALSE 或NULL的话,它就会失败。例如:
select 'true' from dual where 1 not in (null,2);
select 'true' from dual where 1 != null and 1 != 2;
select 'true' from dual where (1,2) not in ((2,3),(2,null));
select 'true' from dual where (1,null) not in ((1,2),(2,3));

这些查询不会返回任何行。而第二个更值得怀疑,1!=NULL是NULL,因此对整个WHERE条件来说都是错误的。它们会这样运行:
select 'true' from dual where 1 not in (2,3);
select 'true' from dual where 1 != 2 and 1 != 3;

只要你在结果中阻止系统返回NULL,在这之前你还是可以使用NOT IN查询(同样,这些都能运行,不过我假定empno不是NULL,在我们这个案例中,这是一个很好的假设):
selectename from emp where empno not in (select mgr from emp where mgr is not null);
selectename from emp where empno not in (select nvl(mgr,0) from emp);

由于了解了IN,EXISTS,NOT IN,以及NOT EXISTS之间的差别,当一个子查询的数据中出现NULL时,你就可以避免一个非常普遍的问题了。

星期五, 6月 02, 2006

HOWTO setup FreeNx on Fedora

FreeNX provide amazing performance for remote desktop. This website tell us how to install it on Fedora.

http://fedoranews.org/contributors/rick_stout/freenx/

星期二, 5月 30, 2006

ajax4jsf: Project Home Page

ajax4jsf: Project Home Page AJAX for JSF

The Unofficial Fedora FAQ

Just found a useful information about Fedora: The Unofficial Fedora FAQ

星期一, 5月 29, 2006

DBDesigner 4

fabFORCE.net's DBDesigner 4 is a Open Source visual database design system that integrates database design, modeling, creation and maintenance into a single, seamless environment.It combines professional features and a clear and simple user interface to offer the most efficient way to handle your databases.
It is developed and optimized for the open source MySQL-Database to support MySQL users with a powerful and free available design tool.

星期日, 5月 28, 2006

Paint .NET

Paint.NET is image and photo manipulation software written in C#. It started development at Washington State University as an undergraduate senior design project mentored by Microsoft. Source is available upon request.

星期四, 5月 25, 2006

Gentoo Linux Taiwan -- 用 GIMP 畫 CG(漫畫篇)

A good article for using GIMP:
Gentoo Linux Taiwan -- 用 GIMP 畫 CG(漫畫篇)

QEMU

Today I found a open source processor emulator on the web which called: QEMU.
It provide similar function of VMWare.