Fixing gd Problem in PHP on Ubuntu 11.04

I was trying to enable gd for php in Ubuntu 11.04. As usual it should be typing in terminal:

sudo apt-get install php5-gd

Unfortunately it does not worked and gd was not enabled. Typing the command php -a I was getting:

PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/' - /usr/lib/php5/20090626+lfs/ undefined symbol: gdImageCreateFromJpeg in Unknown on line 0

Resource Loader for PHP Web Applications

I wrote a resource loader class for PHP web applications. The class will help to manage loading of JavaScripts and CSSs we include within our web pages. Usually these JavaScripts and CSSs have dependencies with other scripts and or CSSs. For example, we have to load jQuery script file before any script that utilize jQuery functionalities within the code. And we have to ensure that we are including the scripts in the correct order. By using this Resource loader class we can forget about it.

A Simple Python Threadpool Library

For one of my program I was in need to use thread pooling. I tried two of available, then wrote one myself. Rather than waiting for threads by calling join() I implemented checking in a while loop for finishing of threads. The code is given below:

KeyMagic with Malayalam

Until now Malayalam community were using a customized free version of old Keyman to type anywhere in a Windows system. Me too was using it in all places except Malayalam Wikimedia projects, on Malayalam Wikimedia projects I use our Narayam which is a built in Malayalam typing solution integrated to Wikis. People were always complaining about Keyman that is does not work on Windows Vista and 7 systems. And even I had started to develop a solution to replace Keyman based solution, I stopped further developments soon after I fully changed my platform to Ubuntu.

Oriya Supported

Added support for Oriya to Narayam extension. Currently added schemes for Oriya are transliteration and InScript. Subhashish Panigrahi helped to fix the issues in transliteration scheme. I think more issues may come later, as they want more tuning on it. Oriya translator at translatewiki can use this schemes to help their contributions.

subscribe via RSS