Every web developer uses his/her set of preferred tools. Here’s mine:

  • Text editor: SublimeText 2, because it loads fast and I swear by its open by file name feature
  • Computer: MacBook Air 13″, a decent screen size with good portability. I like working at cafés and this gadget fits my lifestyle.
  • Browser: Chrome 18 or 19. I lost track of Chrome’s version, comes with Chrome is the excellent debugger I cannot live without.
  • CSS generator: Less, because Less can be compiled by JavaScript on the client side. It’s easy to get started developing.
  • Database engine: MySQL InnoDB.
  • Database browser: Sequel Pro, never found a replacement for this. I’ve been using this for 3 years, by far the best.
  • Revision control: Git or SVN. My vote is to Git but my company is still on SVN.
  • Image editor: Photoshop. Embarrassingly I am one of those that will just launch Photoshop to make PNGs with alpha-transparency. There are probably better tools out there but I can’t get used to them.
  • Programming languages: PHP for web development. JavaScript or Ruby on scripting automation. I still use Expect for a bunch of server-side tasks, I cannot move away from that still.
  • Web server: Apache for development. It’s all because of PHP’s xdebug. My colleagues use .htaccess often too. I use nginx for production usually.
  • Load profiling: Seige, it’s simple and reliable.

Other tools include:

  • LiveReload 2 has been extremely convenient and it has been part of my workflow for months. I never looked back.
  • Bash alias lets me quickly navigate through the trenches of my messy directories. I also use it to pull for Git quickly.
 
Apr 22

Angry tea rap

Here’s the angriest rap you can ever get with the noble tea:

Doc Brown – Angry Tea Rap – Russell Howard’s Good News

 

Evacuated Tube Transport is an airless, frictionless, maglev-like form of transportation which is safer, cheaper and quieter than trains or airplanes. Six-person capsules travel in the tubes and can reach a maximum speed of 6,500 km/h, and provide 50 times more transportation per kwh. A tube can travel from New York to Beijing in two hours, and make a round-the-world trip in just six hours.

Evacuated Tube Transport could take you around the world in just 6 hours

This would be so awesome if it becomes a reality.

 

Oh you murderer, but let me assist:

kill -9 `ps -eo pid,args | grep "ssh " | grep -v "grep" | cut -c1-6`

This kills all ssh processes. I use this often to kill all my ssh tunnels. It works in Mac OS X Lion as well as Ubuntu/Debian Linux.

 
Apr 01

On debugging

As we put more and more into programs, debugging becomes time consuming. This quote is particularly true:

As soon as we started programming, we found to our surprise that it wasn’t as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.

– Sir Maurice Wilkes

 

This is just not sensible to me. This is, perhaps, a result of an overly-conservative interpretation of religious doctrines.

Execution of web programmer in Iran may be imminent

A computer programmer from Canada faces imminent execution in Iran for the actions of another person, which he had no control over, a human rights group says.

Saeed Malekpour wrote a program to upload photos to the Internet, an accomplishment that could cost him his life, Amnesty International reported Friday. Authorities in the Islamic Republic claimed his program was used by someone else to upload pornography and charged him with “insulting and desecrating Islam.”

Source: CNN

Perhaps as a web programmer I feel more for him.

 

You need to have a lot of guts to do this:

Hohohoho, it tickles.

Hohohoho, it tickles.

 

WordPress powered and Django inspired.
Love and elephants come after.
RSS: Posts and comments.