ujson is an ultra fast JSON encoder and decoder written in pure C (as described by the upstream). It can be used as dropin replacement of the most known JSON implementations.
To install you just do:
$ pip install ujson
To test the speed I decided to write two simple test scripts with help from timeit_ module.
The execution:
$ python json_test.py
5.39651107788
$ python ujson_test.py
1.09844493866
Review request for the Fedora package is already filled.
My first timelapse movie: /me trying to clean the kitchen
Testing the upcoming version of lekhonee-gnome frontend.
You can download the source from here.
Documentation can be found here.
The post is brought to you by lekhonee v0.6
So, if you want to play your favourite song/movie on OLPC use Jukebox.activity. Started working on this for the last few days after Sayam pointed me to the activity. It was almost in a stagnant condition.
My PyQt mind was someway different than writing this PyGtk stuff :) Sayam helped a lot.
The following features added as of now:
Will do a formal release within this weekend. I have a .xo file ready for testing. Please provide your feedback :D
If you want to start writing your own activity , start from this.
I just released translation-filter 0.3. You can download it from here.
The scope of development is to create a rudimentary tool that can allow comparing the quality of string translations in an offline mode. For example, the KDE Project uses a web based tool that allows strings to be searched in translated content.
The current set of requirements for this offline tool are:
It uses PyQt4 for the gui, used QWebView to render the result. You will also require translate-toolkit (at least 1.0.1 version, available in Fedora 9).
Among the new features (mostly in the command line version) , using -t or –term you can search for any single term. You can even check for unattached dependent vowel signs of Indic languages using -d option.
Today Jonathan Roberts wrote about Fedora TV. Here is a small script to add video/audio item into an existing rss channel file. The code is not clean and without much error checking , it requires some item(s) to be already present in the file. Use it like
./tvitem -f fedora-tv.xml
It will ask input for Title, link , description and a local path to the file which will help it to calcualte the size of the file.