Apr 8, 2009 0
Google App Engine + Java
Google has released Google App Engine with support for Java!
It includes a neat plugin for Eclipse also. Here is a video showing features of the Eclipse plugin.
Must test this during the Easter holiday!
Apr 8, 2009 0
Google has released Google App Engine with support for Java!
It includes a neat plugin for Eclipse also. Here is a video showing features of the Eclipse plugin.
Must test this during the Easter holiday!
Mar 18, 2009 10
Apache HTTPD 2.2 includes some interesting features for making a basic load balancer.
This configuration makes a sticky loadbalancer with 3 backend servers. It is not dependant on any specific configuration of the backend server such as JSESSIONID or PHPSESSIONID.
It will create a BALANCEID-cookie with a route to a backend server.
#You need at least these modules
#Header used for setting cookie
LoadModule headers_module ...
#Proxy
LoadModule proxy_module ...
LoadModule proxy_http_module ...
LoadModule proxy_balancer_module ...
#Set a cookie if BALANCER_ROUTE_CHANGED containing BALANCER_WORKER_ROUTE environment variable
Header add Set-Cookie "BALANCEID=hej.%{BALANCER_WORKER_ROUTE}e; path=/;" env=BALANCER_ROUTE_CHANGED
#Show balancer-manager
<Location /balancer-manager>
SetHandler balancer-manager
Order allow,deny
Allow from all
</Location>
ProxyRequests Off
#Configure members for cluster
<Proxy balancer://jakeri>
BalancerMember http://b1.jakeri.net:80 route=server1
BalancerMember http://b2.jakeri.net:80 route=server2
BalancerMember http://b3.jakeri.net:80 route=server3
</Proxy>
#Do not proxy balancer-manager
ProxyPass /balancer-manager !
#The actual ProxyPass
ProxyPass / balancer://jakeri/ stickysession=BALANCEID nofailover=Off
#Do not forget ProxyPassReverse for redirects
ProxyPassReverse / http://b1.jakeri.net/
ProxyPassReverse / http://b2.jakeri.net/
ProxyPassReverse / http://b3.jakeri.net/
I believe that this configuration is somewhat better compared to this guide.
I got to fix my css for the <code></code> :-/
Feb 24, 2009 0
Apple released Safari 4 Public beta today!
Even more competition to the javascript speed race.
Nice features such as Cover flow, Nitro (new Javascript engine), history view, native windows look and feel etc.
Jan 27, 2009 1
Had to test generate a wordle from source code. In this case HttpServletRequest.java.


Aug 21, 2008 1
A couple years ago I wrote a small java-program that generated a large image from a collection of thumbnails. I tested the software using thumbnails from the IKEA website.
Since the beginning of this week, IKEA is doing a advertisement on the street that resemble my old computer generated images quite well.
Could IKEA advertising agency have seen my old images…
Aug 19, 2008 1
I added possibility to create your own badge for countupdown. Click on an arbitrary counter and you will find badge code if you click the Toggle badge code>>.
Seems to be very buggy in other browsers than Safari (remember til next time, TEST).
Back to the drawing table.
I had to use </script> instead of <sript ….. />.
Jul 23, 2008 0
Jun 25, 2008 0
Good article about web design.
Rule number one, “Thou shalt not abuse Flash”.
Jun 18, 2008 0
Someone found a neat way to utilise my countupdown application as a Web clip widget in OS X’s Dashboard.
Use Make Text smaller (cmd -) in Safari before using Web clip feature to make it smaller.

Jun 5, 2008 2
Quite useless but helped me to learn python (indentation hell), django, app engine etc.
Recent Comments