zhao-sun.com

June 22, 2004

The pros and cons of four web development tools: mod_perl/Mason, J2EE, Zope and OpenACS

Filed under: Computer — blogadmin @ 1:31 am

If someone asked you to name the best car on the market, you’d probably tell them the answer depends on who will use the car. After all, a family of eight living in Manhattan probably needs a different type of vehicle from a single hacker living in rural North Dakota. The same is true for programming languages and development toolkits. Each has its place and is appropriate for solving different sorts of problems.

Although this might seem obvious, many programmers believe the language or toolkit they use is so good it should be used to solve all problems, all of the time. As the old saying goes, if your only tool is a hammer, every problem looks like a nail. No programming language is the best fit for all problems, which is why experienced programmers know and use a variety of languages and constantly are learning new ones.
(more…)

June 18, 2004

Resin with Apache on Unix

Filed under: Computer — blogadmin @ 2:13 pm

Resin is an application server that is in the process of completing J2EE certification. The reason I choose Resin is because of that a popular web hosting company LunarPages uses Resin to support jsp and servlet.

Following are the steps to make Resin work with Apache on Unix and Liuux:
(more…)

Tier One vs Tier Two Internet Service Providers

Filed under: Computer — blogadmin @ 11:18 am

Tier One
Definition

ISP Tiers
The “tier” terminology has arisen mainly in the Internet Service Provider (ISP) industry press to describe ISP size and connectivity. The lower the tier number, the bigger the ISP.
(more…)

June 13, 2004

About MySQL

Filed under: Computer — blogadmin @ 1:11 pm
    Load sql script in MySql

  • mysql -u root -p <Database Name> < <sql script>
  • Enable “ON DELETE CASCADE”

  • mysql> show variables like ‘%innodb%’;
    +—————+—————-+
    | Variable_name | Value |
    | have_innodb | DISABLED |
    +—————+—————-+
  • edit /etc/my.cnf or /etc/my.ini, under [mysqld] tag, add the following line and restart MySQL:
    innodb_data_file_path=ibdata1:10M:autoextend
  • mysql> show variables like ‘%innodb%’;
    +—————+—————-+
    | Variable_name | Value |
    | have_innodb | YES |
    +—————+—————-+
  • In the table definiation, add:
    FOREIGN KEY (`Id`) REFERENCES UserEntity (`Id`) ON DELETE CASCADE
  • In the table definiation, define TABLE as “TYPE=InnoDB;”
  • (more…)

看我中国人“变变变”——25年流行全纪录 (3)

Filed under: Entertainment — blogadmin @ 1:00 pm

文章来源: 杨帆-文汇百花周刊 于 2004-06-12 22:14:22

1999

①E时代到来 都市里,对互联网经济的痴迷已到令人盲目的程度,E时代就这么来临了。网站遍地开花,以致泡沫泛滥。这股热潮引发了大跃进式的炒作概念热、网恋异军突起,也带动了电脑的普及,CNNIC机构统计,到2000年1月,中国上网电脑有892万台,上网用户数达2250万人。

②星战迷大饱眼福 11月5日,卢卡斯星战系列第4部《星球大战前传之魅影危机》在华首映,将它7个月前在美国制造的狂热照搬到中国。
(more…)

看我中国人“变变变”——25年流行全纪录 (2)

Filed under: Entertainment — blogadmin @ 12:56 pm

文章来源: 杨帆-文汇百花周刊 于 2004-06-12 22:14:22

1987

①艾滋病恐怖症 共同社1987年8月31日电,在饭店服务员、导游人员等涉外旅游工作人员中,艾滋病恐怖症正在扩大,卫生部门正在竭尽全力普及正确的艾滋病知识。饭店服务员最讨厌的工作是打扫外国人房间。他们说:��要是染上艾滋病怎么办。有的导游极力回避和外国人握手。

②霹雳舞 美国电影《霹雳舞》上映后,太空步开始席卷内地,是当时最酷的舞蹈。有些人在大街上跳舞,引得观者如云,堵塞交通。年轻人烫爆炸头。
(more…)

看我中国人“变变变”——25年流行全纪录 (1)

Filed under: Entertainment — blogadmin @ 11:59 am

文章来源: 杨帆-文汇百花周刊 于 2004-06-12 22:14:22

在1978年前的近30年里,涌动于大江南北宽街窄巷的中国人,被西方时尚界形容成蚂蚁。这个词包含了如下意义:渺小、灰头土脸、营营碌碌,差不多此蚂蚁看上去跟彼蚂蚁没什么区别。这群蚂蚁人只穿4种颜色的衣服:灰、黑、蓝和军绿,再配以宽松得近乎邋遢的式样,每个人都散发出霉气。他们最常穿的衣料叫的确良,他们认为最有品味的服装款式是中山装或毛服。白衬衫既昂贵又高档,得花七八元才能买到。名牌这个概念,对他们而言,指的不是永久牌或凤凰牌自行车,就是熊猫牌收音机。每天,人们穿着一模一样的衣服,骑着一模一样的自行车、挎着一模一样的菜篮子,买一模一样的菜,甚至连家里的饭桌和墙上挂的画,也都是一模一样的张扬个性想与众不同那可是攸关性命的冒除。
(more…)

June 11, 2004

Surviving Large Projects

Filed under: Computer — blogadmin @ 11:18 am

Make Mine Large
The wash from a large project can drown reputations and careers. Have you got the courage to swim with the big fish?
by William Knight

Posted June 9, 2004

“Dream big, work hard, and good things will happen,” the saying goes, but it seems that for software projects big dreams often turn to nightmares. Despite today’s catchphrase of small dreams more often, sometimes businesses have no choice but to build huge project teams that create a wake like a supertanker in a gully. It’s easy to get washed up in the surf.
(more…)

June 10, 2004

Combine the Session Facade pattern with XML

Filed under: Computer — blogadmin @ 12:28 pm

Apply the Session Facade pattern to J2EE-based applications

Summary
In this article, Jason Cai explores the benefits and advantages of using the Session Facade pattern. He discusses when to use the pattern with value objects, and when to use it with XML. He also provides a detailed implementation of the Session Facade pattern integrated with XML. (2,200 words; January 11, 2002)
By Jason Cai
(more…)

June 7, 2004

Ronald Reagan — American Dreamer

Filed under: Entertainment — blogadmin @ 1:47 pm

From February 6, 1911 to June 5, 2004

A captivating and elusive man, Ronald Reagan rose from lifeguarding in Illinois to Hollywood¡ªand became one of our greatest presidents. An intimate look at how he played the role of a lifetime.

By Jon Meacham
Newsweek June 14 issue – His timing, as always, was perfect.
(more…)

Older Posts »

Powered by WordPress