Archive for June, 2007

Counterize II – missing backticks in install file (fix)

Posted by:

If you want to install V2.09 of Counterize II , you may get sql-errors when the plugin gets activated in the backend of WordPress.

This is caused by missing backticks ( ` ) in the file counterize_install.php. Take a close look at the sql-INSERT statements. The erroneous line numbers are:

  • 80
  • 87
  • 94

Add the missing backticks at the end of the respective lines and you should be set.

Continue Reading →
1

svndiff / deltav algorithm

Posted by:

(This post refers to svndiffs V0 compressed strings).

The article at http://svn.collab.net/repos/svn/trunk/notes/svndiff explains how the svndiffalgorithm works. This post tries to give a more concrete idea of what happens, refering to the example that can be found at the end of the above linked article.

SVN delivers the text deltas base64 encoded, so you first have to decode the string to work with it. Next step ist to check the string for it’s first four bytes, which must represent ...

Continue Reading →
0

introducing cudgets.widget.ListSelectionModel

Posted by:

A ListSelectionModel represents an interval of selections. A selection itself has two properties: index and selected. The index is a numeric value that points to a position in the interval and selected provides information about the state of the index in the selection-interval: true for selected, otherwise false.

Speaking of GUI, ListSelectionModels are needed when a set of items (a List) is available that allows a user to select/deselect any range of items.

A good programmer (who’s into design ...

Continue Reading →
0