Inside building RPMs with Python distutils

For reasons outlined in CPANProblem , I don't installPython packages using their setup tools; I build them into RPMs andinstall the RPMs. Python's distutils (the setup system used by mostPython packages) have a command to do this, called bdist_rpm , butit has some issues that have caused me to become quite familiar withits inner workings.

bdist_rpm works in the following steps:

  1. use the distutils sdist command to create a source tarball.
  2. write an RPM specfile.
  3. create a local

20051028網摘 – 探討港漫問題

探討港漫


遊戲改編電影

doomMovie

之前談論 過有很多遊戲,都開始靠攏電影來做題材,但遊戲的質素則不過爾爾,玩起上來還是老調子,換湯不換藥。而事實上,電影業近年改編動漫、遊戲,玩續集、系列,重拍又重拍,也足見電影工業的創意正在走下坡,現在


Databases are APIs

I recently realized something: databases are APIs .

Just like library functions and classes with defined methods, thecolumns and tables and inter-table relationships in your databases areeffectively a collective API to the database. (As distinct fromthe APIs used to talk to the database program, ranging through ODBC toSQL.)

If you have what Martin Fowler calls an application database ,used only inside one application, you have an internal API, just likea module's interface or a class's methods. But if


20051026網摘 – Google Base

Articles

News/New


Google Base 是什麼?

gbase

每當 Google 有新的域名出現,網絡必然出現一大堆預測,由域名估計會有什麼樣的新服務。那麼究竟 Google Base 是什麼?有幸在昨天晚上 Google Base 關門之前看過一下。

Google Base 自己的說法,Google Base is Google’s database into which you can add all types of content. We’ll host your content and make


An example of why DBAs make money

(The following example is a simplified and modified version of anonline discussion I had recently. All errors are my fault.)

Here's an example large database problem; it's simplest to cast thisas a customer support system that you sell to big companies.

In your first version, the customer support application databasesystem includes a table of companies that are being supported.

Multiple groups write various programs against this database, and inpart against this table and other tables hooked to it (such as peoplewho


天王之後

bitTorrent

古惑天王罪名成立,似乎是意料中事。政府這次高調行動,又說是「全球首宗」,不外乎是為了起警惕作用,如果起訴不成功的話,則只會助非法下載風氣,所以古天王被入罪,似乎是無可避免的事情。

這次判決將放 Seed 這個動作


收到一個電郵,

然後,

哭了整夜。

A smooth disk swap

It's nice when everything works like it's supposed to; the mostexcitement we had today was swapping in a replacement drive in thisserver. (I like Mondays for this sort of thing, since I'll be in theoffice for the next four days in case problems come up.)

The old IDE disk needed replacement because it was starting to remindus that it was consumer electronics by flaking out on seeks underheavy IO load every so often (hopefully it was the drive and not thecabling