Archive

Archive for the ‘Linux’ Category

[haXe] Failed to load library : std.ndll

February 18th, 2010

If, like me, you just started playing around with haXe and you might get the following error when including an external Flash resource:

Uncaught exception – load.c(232) : Failed to load library : std.ndll (std.ndll: cannot open shared object file: No such file or directory)

The solution is simple, you just need to install neko and neko-dev:

sudo apt-get install neko neko-dev

Now simply run the setup:

sudo haxelib setup

Happy haXe-ing!

Linux, Technical, haXe , ,

Lower-case all URLs with Apache mod_rewrite

February 5th, 2010

Search engines, like Google, will index URLs on your site in a case-sensitive fashion, so www.yoursite.com/iamtest shows up as a different page than www.yoursite.com/iAmTest. This has negative consequences for your search rankings as these different URLs will be interpreted as duplicate content. Read more…

Linux, Technical, apache, server, web , , , , ,

Ubuntu 8.10 Problems on T61 Thinkpad

October 28th, 2009

I don’t often complain about the state of some OSS projects understanding that it is all part of the growth process. However, every once in a while a new version of our favorite product ends up being worse than the outgoing. My personal experience with Ubuntu 8.10 Intrepid Ibex is one such occurence. I upgraded my 8.04 install to 8.10 as soon as it came out. Whereas 8.04 was rock solid and functional (it is a LTS release after all) 8.10 is proving anything but. For the record, the aforementioned copy of Ubuntu is running on a T61 Thinkpad with NVidia graphics and Intel Wireless (pretty standard hardware).

Update: I recently updated the T61 to Ubuntu 9.04 and all of the problems mentioned below have disappeared. So, thumbs-up to canonical and all the OSS contributors involved in this (and any) distribution.

Update: Ubuntu 9.10 runs even better than 9.04 including a boot speedup from 1:35 down to 45 seconds!
Read more…

Linux , , ,

How to install PHP 5.2 on CentOS 5

October 22nd, 2009

I recently needed to install PHP 5.2 on CentOS 5.3. This version of CentOS comes with PHP 5.1 but, in order to run phpMyAdmin, I needed 5.2. The CentOS software repositories are, unfortunately, still stuck with 5.1 and the only way to get a newer version of PHP installed via the package manager (yum) is to add another repository that has a newer version. Read more…

Linux, Technical , , , , , , , ,

WordPress spam killing script

January 30th, 2009

Blog comment spam is an unfortunate reality of having a blog. See the chart to get a sense of how much spam comes in on a daily basis to one of my blogs that receives a moderate amount of traffic. The red line shows the 30-day moving average for the number of spam comments daily.

Number of daily spam comments on the typical blog

Read more…

Linux, Technical , , ,