Skip to content

2

I have posted here several modifications for some libc functions optimised to run faster on modern processors (see the Algorithms and Technologies category).

All these functions were implemented in DataparkSearch Engine. As the performance of these functions, especially in comparison with standard implementations on specified platform, depends on microprocessor and compiler optimisation level used, I've added special performance testing during configure stage to select only those function implementations which run faster on target platform. That gives you maximum performance of DataparkSearch on every platform.
...continue reading "Speed it up, a bit"

The following patch fixes krakozyabry (garbled characters due to incorrect charset detection) in the title of the document in translation into XML DocBook format. Unfortunately, this is a hack - after applying this patch, the conversion problem of conversion moves to the documents with titles in the Western European encoding (instead for ones in the Cyrillic).
...continue reading "A hack for antiword 0.37"

Popularity Contest - is a comfortable and long-used plugin for WordPress, which allows to create the rating of blog entries on the basis of various parameters (such as number of views, comments, pings, hits from search engines, etc.).

Unfortunately its latest version 2.0 beta 2 has been released more than a year ago and still has several bugs preventing the full functionality of the plugin. Here are fixes for two such bugs.
...continue reading "Fixes for Popularity Contest"

It seems the following code


mysql2date('Y', $post->post_date)

works incorrectly in WordPress for dates before January 1st 1970, as it returns current year instead of the post date.

It this case it can be fixed easily with this replacement:


substr($post->post_date, 0, 4)

That is enough to make the OnThisDay plugin to show correctly the records about historical events in the past.

3

Here you are how to install libextractor 0.6.x on FreeBSD:

1. Make sure you have libtool updated to the version 2.2.6b (/usr/ports/devel/libtool22)

2. Then execute this command in the root of libextractor 0.6.x distribution:


CFLAGS="-I/usr/local/include" ./configure --with-ltdl-include=/usr/local/include \
              --with-ltdl-lib=/usr/local/lib 

3. Run make && make install as usual.