Category: Web development

Announcing WebPerfM

WebPerfM1 (horrible name I know) is a performance test tool for websites.

The idea came from the need for reliable performance test to know if a given site can handle a certain number of concurrent users.

For it to be a reliable performance test, it must act as close to real… Read more »

Varnish, Ispconfig and apache2’s access-log

My web server that hosts this site, is running on Debian GNU/Linux with Apache2, Varnish and the management software Ispconfig.

This combination means that the default access log, logged as the remote address (Varnish’s IP). This simple change to the file /etc/apache2/sites-available/ispconfig.conf


LogFormat “%v %h %l %u %t \”%r\” %>s %B \”%{Referer}i\” \”%{User-Agent}i\”” combined_ispconfig CustomLog “| /usr/local/ispconfig/server/scripts/vlogger -s… Read more »

Processingjs quick-tip: Making the main-canvas transparent

With processingjs you can’t give the background color an alpha-channel in the main canvas (the Processing-object).

This behavior is inherited from the original Java-based Processing, where this doesn’t make sense to have an transparent background.

However it’s possible to have this effect, if you want to and I’ll show you how:

var el = document.getElementById( “basecanvas” ); var processing =… Read more »

Using Processing-js as an JavaScript-library

I’ve started playing with the JavaScript library Processing-js1 for rendering in the HTML5 canvas.

Processing2 is a programming language and processing-js is a javascript implementation of that language.
Well, I like JavaScript the way it is and the processing syntax is lazily translated to JavaScript anyway, so… Read more »

Reducing memory usage with JavaScript

In this article I’ll talk about reducing memory leaks in JavaScript with focus on working with jQuery and the encapsulation I used in my work1.

This dates back to a problem I had in my previous job, our web-application used a lot of memory and it just kept growing the longer the… Read more »