Posts

Floating header plugin v1.2.0

Finally I've taken the time to fix some bugs and released v1.2.0 of the floating header plugin. Take a look at my main post or the jQuery project page for more information. There are still a strange bug that i can't really reproduce locally. It only appears on my demo page, the blinking and reposition of the header on fade in/out from the bottom. If anyone have any suggestions please send them to me.

Hibernate error message haiku

A couple of weeks ago i got this error message from Hibernate. The only change i've done is to remove the word "an" from it. CriterionImpl dimension references (an) unknown entity

Android cubing and flattr

Long time since I've posted anything so i think an update of what i've been up to is about time.I've been trying my wings on the android SDK with a very simple application for showing all OLL/PLL algorithms ( cubefreak.net for more cube related stuff). Also I've got my beta invite for flattr yesterday and i really like the idea behind it. So I've added flattr buttons on all my blog posts! Read more about flattr on their homepage or at wikipedia .

Java4k: Geometry wars clone

This year i didn't miss the deadline for the java4k competition! I made a geometry wars clone and it can be found and played on their site and also on my new game project site . All my projects that are classified as 'games' have been put on porkangel.com , though it desperately needs the attention of a real designer :)

No URL showing in GWT 2.0 Development mode

I've had some problems starting GWT 2.0 projects in Eclipse with the build-in Jetty server. The problem was that no URL was showing in the Development Mode tab, and the project didn't seem to start properly. This problem only occures when i generate project files with the maven-eclipse-plugin. Both in Linux and Windows. To fix the problem, add the project natures by hand to the maven-eclipse-plugin configuration. This is what my configuration looks like: maven-eclipse-plugin com.google.gwt.eclipse.core.gwtNature com.google.gdt.eclipse.core.webAppNature com.google.gwt.eclipse.core.gwtProjectValidator com.google.gdt.eclipse.core.webAppProjectValidator org.eclipse.jdt.launching.JRE_CONTAINER com.google.gwt.eclipse.core.GWT_CONTAINER com.google.gwt:gwt-user com.google.gwt:gwt-dev If you find something that isn't necessary please reply to this post.

"Statistics" for QuakeLive

Image
At work we're using GWT for a couple of projects now but we have never used the  MVP pattern  recommended by Google. So to learn it i wrote a small application called Quake Statistics that uses the recomendations. The app pulls data from  quakelive.com  each night and can plot the it along with some very basic analysis. It's actually motivation to see if you're getting better at the game. Of course this was also an excuse to get to play quakelive more, to test the stats :) The application can be accessed at  http://quakestatistics.appspot.com  and if you want to play around with some example data you can try my profile . Since i don't have that many users the page can be a bit slow because AppEngine have to restart after 1 min idle time. Yes, i know. The design desperately need some (a lot of) improvements but unfortunately i'm a programmer not a designer. Right now I am in the process of rewriting the app for GWT 2.0 so if you want to help ...

Environmentally friendly programming

When someone talks about CO2 emission, we usually think about big industries, cars and light switches. We don't think about code efficiency. But "bad" code is actually bad for the environment. A couple of days ago I read a post that made me think about programming and the environment. It's not a long post and i recommend all developers to read it. The conclusion of it was that: If C++ would have been used instead of PHP [on facebook], then 22 500 servers could be powered down (assuming a conservative ratio of 10 for the efficiency of C++ versus PHP code), or a reduction of 49 000 ton [CO2]. In a small scale it doesn't matter much if you write inefficient code. But if you're working on applications/systems that will be run by a lot of people, especially in a server environment, the difference is huge. I'm not suggesting that we should super optimize our code, because code that is too optimized is often hard to maintain and might cause similar effects....