Thursday, June 11, 2009

The way to program smartly.

Don't stick to one methodology.

Things should be done as simply as possible.

They don't read documents. Make it simple as possible.

Requirements always changes.

We don't need to fix tools or process. What we should matter is people.

Organize your team less than 10.

Don't draw all detail architecture. Just draw the big picture.

Monday, June 8, 2009

Httpd configuration for including expire times in response http header

  • First, you need to compile httpd using --enable-expires option. Then it's compiled with expire module built-in your httpd binary(You can check it like, > httpd -l).
  • Second, configuration file should include following setting.
    ExpiresActive On
    ExpireByType image/gif A25920000
    ExpireByType image/png A25920000
    ExpireByType image/jpg A25920000
    ExpireByType image/jpeg A25920000
    This means image file has its expire time as 2592000 seconds later (one month from now)
  • Now, you can check whether expire information is included in the response header like below

Httpd(apache) server status using scoreboard

If you're using httpd as a web server, you can check the status of your server using following url.

"http://localhost:/server-status?auto"

You can check how many workers are busy or idle by checking response page

Thursday, June 4, 2009

Asshole Driven Development

Asshole Driven Development : Any team where the biggest jerk makes all the big decisions is asshole driven development.

Friday, May 29, 2009

Good fonts for programming

for linux users,
  • Bitmap Vera Sans Mono Roman (size 9)
for windows users,
  • Andale Mono
Good vim colorscheme
Ps. You need to adjust anti-aliasing or clear-type setting for using them.

Wednesday, May 20, 2009

jquery

Jquery is simple javascript library like dojo or prototype.

Jquery follows MIT, GPL license and we can use it through here

Tuesday, May 19, 2009