Skip to content

{ Tag Archives } Englisch

Interactively coding a living system: live coding in Impromptu

Being of the static kind you may not have the ability to imagine changing a running, live software system without being in debug-mode.

Also tagged , , , , , ,

Ceremony: Java String Padder

The other day I was searching for a method on Java’s String-class (or an instance thereof or some other (static) class that would provide it) that would add some filling characters to a string. In my concrete case I wanted it to add some ‘0’s in front of some other string-valued integer. As an example ‘102′ should be padded to 5 places, resulting in ‘00102′.

Also tagged , , , ,

sharpening a knive (basic movements)

Once again I’ve got one of that short comments on one of my clips that actually says nothing but buggers everything:

Also tagged , ,

Object Obsessed Programming

In Peter Norvig’s “Design Patterns in Dynamic Programming” I stumbled over his term “class obsessed programming”. What is meant by that is having to program in a way so that everything (all verbs, i.e. functions) must belong to a class (read Execution in the Kingdom of Nouns).

Also tagged , , , , ,

Calling hotshot, a python profiler, from command line

Python Logo

Profiling some python script I looked for some convenient way to call hotshot from command line just like it is possible with profile \ cProfile out-of-the-box.

Also tagged , , , ,

Let the server do the job!

I just learned how important the choice of loci for the execution of code is.

Also tagged ,

to tab or not to tab: whitespace in python

Whitespace in python as seen with the editor 'PSPad'

For a while I’ve been pondering whether I should use spaces or tabs to indent python-code.

Also tagged

Developing large scale applications with dynamic languages

I first have to admit that I have not written a program longer than maybe 500 lines of code in a dynamic language. I am very interested in DynamicLanguages, though and Rainer’s comment on another post made me investigate how to develop large scale applications in DynamicLanguages:

Also tagged , , , , , , ,

A new year, a new language

ThePragmaticProgrammer (read that book!) gives quite some advice on how to develop one’s knowledge portfolio. One thing I definitely will cling to (and did so for the last couple of years) is:

Also tagged , , , ,

Using another plugin for comment-preview in Wordpress 2.0

After fooling around with the ComPreVal-Plugin for some time today I came to the conclusion that I’ll no longer bother. I don’t want XHTML-validity checks. I want my visitors to easily post comments. Clemens couldn’t. Now I switched to the Filosofo Comments Preview-Plugin. It seems to work but is still being tested by me and Clemens… Time will show.

Also tagged

2nd patch for ComPreVal, version 1.2

Today I noticed that the XHTML my WordPress-installation generates does not validate against the XHTML-standard (transitional).

Also tagged

Patch for ComPreVal-plugin, version 1.2

After updating my WordPress-installation from version 1.2 to 1.5 I soon realized the need for a new comment-preview-plugin. In my old installation I used the preview-funcitonality mainly to stop spam, which worked out quite nicely. Withouth the preview in the updated WordPress-installation I’ve got spammed with comments immediatelly.

Also tagged

Using rsync together with Subversion – a final part of the story

I described my failure of getting Rsync to work with Subversion smoothly in Using rsync together with Subversion – Part I and Part II. I’ve found the solution.

Also tagged , , ,