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 By googling I got this bug report and a solution along.

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 utilise jQuery functionalities within the code. And we have to ensure that we are including the scripts in the correct order.

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. Since its creation to just before Oriya Wikipedia was less active. Shiju Alex is helping to build a community there.

Sinhala In Narayam

Yesterday (2011/03/01) I added two Sinhalese schemes, Singlish and Wijesekara, to Narayam. Now there available at translatewiki. Thus Sinhalese people can contribute more translations without depending on third party tools. There are minor issues in Singlish scheme implementation since it is a phonetic one. Hope those issues can be fixed soon.

Narayam on Translatewiki

Few days before I added Naryam, an extension that helps to add various input methods to Mediawiki installations, to Mediawiki subversion repository. Then Roan Kattouw rewrote most of its code to use new ResourceLoader introduced to Mediawiki and jQuery. Also Roan made it to load input methods conditionally based on content language and current user p referenced language. So now it has better code structure and efficient working. Then Gerard Meijssen proposed it to have at translatewiki.

Multi Script Write and Text Decoder

I have created a tool, originally it was developed to help me in developments going on to add writing tools for different Indian language Wikimedia projects, now I publish it for public as I think it would be useful for somebody in someway. It will help you to write different scripts for different languages and each script can be written in more than one way, like transliteration, InScript, etc. Some of the script writing schemes are not yet complete, it will gradually become complete.