Archive for February, 2010

Optimizing WordPress – Tips for Speed

WordPress

Image via Wikipedia

WordPress is crap, but it is the best crap we can get. When your website, with WordPress sitting in the back, starts to pick up traffic, it will slow down and become unresponsive. Adding hardware will help, but correctly implemented load balancing and load distribution across more than one computer can be tricky and expensive. Trying to optimize WordPress and the web server itself usually gives better short-term results. In the long run even this won’t help and it will just postpone the inevitable, you will have to cluster in one way or another. I am not going to talk about clustering and load balancing today, I will focus on optimizing your WordPress. Newbie friendly, yet hardcore, meaning that I will provide explanation for all the complicated stuff.

Eclipse runs “File Search” when pressing AltGr+G

Croatian and Slovenian keyboard layout
Image via Wikipedia

Did you ever have any problems with Eclipse? With initial versions of Galileo and in previously released Gynamed there was a problem with preassigned keyboard shortcuts on some locale’s. The problem that Eclipse created when using Slovene keyboard layout was that while programmer wanted to type the ] key, Eclipse run File Search action.

Slovenian users are not to blame that their keyboard has ] key mapped to AltGr+G key combination. And Eclipse developers could browse through Wikipedia to discover what obscure keyboard layouts exist.

Any competent programmer will notice that with the default key mapping Eclipse guards programmers from using too many arrays since typically array is marked with [] key combination. They are advancing object oriented design and programming. But in some cases arrays actually make your code faster and optimize memory usage and fragmentation.

To discover how to remedy the problem read on.