Blog

Bookmark of the day

Posted by:

Isis Information Architects Inc.

Though updates to this site happened somewhen around 6 or 7 years ago, the authors give lots of examples on how to not design user interfaces. You should not miss the Hall of Shame – lots of nerdy slash geeky controls, but definetly nothing you want to sell your customer as highly intuitive.

The shovel analogy comes in mind. Check Continue Reading →

1

O’zapft is!

Posted by:

O’zapft is!

Sers! The Oktoberfest started yesterday here in Munich and I’m happy to be in town just right now. The city is overfilled with women wearing traditional Dirndls, while men chose to wear their Lederhosen. Lots of drunk people near the Theresienwiese, but that’s just part of the worldwide biggest fair. I’m going ...

Continue Reading →
0

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

hemingway reloaded fixes

Posted by:

Hemingway Reloaded is a great theme for the WordPress Blogging Software, however, it lacks a little bit IE 7 compatibility.

Here are two simple fixes for the style.css which will display the startpage correct.

First off, in style.css, change the width of #primary.twocol-stories .story to 47% instead of 48%:

#primary.twocol-stories .story{
    float:left;
    width:48%;
    marginContinue Reading →

8

javascript, prototypes and object references

Posted by:

If you are using OOP, you are familiar with initializing class members in the head of the source:

/**
 * Pseudocode
 */
class Foo {
    int i = 0;
    Array bar = new Array();
}

However, if you are using Javascript’s prototypying, assigning objects to class (prototype) members will result in static instance variables.

Example:

teaching javascript the concept of interfaces

Posted by:

There’s an easy way to simulate Interfaces in Javascript, this post shows you how it is done.

(Beware, I’m going to mix OO terms in this posts a little bit for the sake of Javascript, but readers familiar with OO concepts will understand what I mean.)

At first we will extend Javascript’s native Object with a method called __implements, which is responsible for comparing class-methods with method-stubs (declared as strings) in an “interface” (quoted, because it is not an Continue Reading →

1

web 2.0 – what is all the fuss about, anyway

Posted by:

When I started my studies of social- and economic history in Hamburg, Germany, the internet – as we know it – was raring to go. The one or other dotcommer was already out of business, however, there were still hotheads out there with a grandiose idea, plans were made (up) and shown to potential investors. Banks were giving away credits and the management of the mostly young companies changed their old ...

Continue Reading →
0

fighting the spill

Posted by:

More than a year ago I was digging deep in the sources of the Java-like GNU Classpath, trying to find a way to adopt the MVC Pattern they are using. Despite all the hassle with translating and substituting objects, methods and functionality (have you ever taken a look at the ...

Continue Reading →
1
Page 4 of 6 «...23456