Friday, May 30, 2008

putting grails and maven together so we can use our dependencies and all are happy?

it took some time to figure it out, but thanks to this plugin, it actually works.

Here is a complete working pom

Thursday, May 29, 2008

a couple of days later, I discovered some serious drawbacks with the oh so great groovy language

  1. it's slow as hell, and I mean slow
  2. no strong typing, i get so many class cast exceptions because I have no idea what kind of object is returned, so if you junit test what you write before you run it you are good, could be a good thing
  3. the eclipse plugin for groovy plain sucks and is to slow, time to join the project and optimize it
  4. hard to get the principle of closures, but can only blame my self for this, give it time
about the junits tests, normally you know you have todo them, but it just takes so much time to write that code. Now if you use groovy to write your tests and your java tests, you are having a lot of fun, since it's a matter of minutes to write a complete test to validate the parsing of an xml file.

and we all want to have well tested software...

Monday, May 26, 2008

groovy on rails = grails = cool

finally a webframework which just works. Not like appfuse, which turned out to be a nightmare or spring + spring mvc which was very nice, but the development was just to much xml configuration and so slowed me down a lot.

grail on the other hand, not one single line of configuration yet. It just worked...

Friday, May 23, 2008

Now that work calmed a little bit down and I'm now under wedding stress (actually it's pretty relaxed for me, i just need to decide which people we are going to invite and where are we putting all the people)

Anyway back to what I wanted to write about, a new day and a new idea. Last night I was sitting in the office till 4 am and trying to fix a problem. Of the spend hours the most time I was just sitting there and waiting for stuff to compile, deploy, start application server, install clusters, short I spend most of the time waiting.

Now who want's to wait, because he just changed some variables and has to redeploy everything to see if it works?

Not me for this reason I'm learning now yet another programming language. This time it's groovy.

Why?

because you can include into java or java into groovy, since they both generate the same byte code which will be executed.

And I don't really like to mess around with python ==> jython ==> java. It's well to much of a mess.

The next thing is, I have to write a website. Which I will no do with the hype product rails. Now rails is written in ruby, which I have zero intention to learn. Ruby is just to slow and I'm missing the point of ruby.

But well there is groovy on rails, which seems to be a very cool package.

Wednesday, May 21, 2008

this week one of my coworkers approached me the question:

can you please take a nice picture for my poster with wine bottles and so?

So I sat down and starting shooting away. Firstly I wanted to do some low key pictures since they did not tell me how the color scheme of the poster is. But after I saw the poster it was clear, we need a high key picture, so that it matches the background.

Anyway here are the two best shots of this experiment and I just love the high key pictures.

Collections can be found here

Sunday, May 18, 2008

just playing around with two flashes, which overheated after 20 minutes or so since we got like 90F in our apartment.
And lets say so the AC is not keeping up...


as promised here is the M&M picture.


sadly they were already kinda melted and the font is pretty ugly.

But hey it worked!

-correction they worked for 3 month than she ended it -

all pictures provided by the blog belong to Gert Wohlgemuth. For reproduction and publication please ask me before you use them. If the pictures do not belong to me they will have a caption or a link to the owner.

Saturday, May 17, 2008

thank you very much

Friday, May 16, 2008

BinBase,

the project i'm working on since years is finally at a stage were people start to ask me questions about it and I had today the opportunity's to give a small talk about the basic idea of the system.

  • white shirt + dress shirt at 40 degree Celsius bad idea
  • to breath during a talk is a good idea
I also discovered the eclipse zest api and promptly integrated it into the BinBase system. The first idea I got for it was actually to visualize dependencies of compounds to species and other way around.

Sunday, May 11, 2008

bbq season started and so a small post to make the perfect medium rare tri-tip steak.

The thing about tri tips is that they are so big that you can have all kinds of rareness in the steak at the same time. So there is a part which is perfect for everybody. Normally the ends are well done and the more you get to the middle the more rare the steak becomes.

Anyway here is a recipe how to cook it on a gas bbq.

  1. get a 1.5 - 1.8 lbs tri-tip steak
  2. marinate it for 12 - 24h in a marinade of your choice
  3. preheat the bbq as high as possible
  4. drop the steak on the bbq on very high temperature and let the lid open
  5. wait 5 minutes
  6. turn the steak and let the lid open for another 5 minutes
  7. reduce the heat to medium low and turn the steak
  8. close the lid for the next 10 minutes
  9. flip the steak
  10. close the lid and wait another 10 minutes
  11. now its done.
afterwards place the steak in a wooden board and let it rest for 5 - 10 minutes before you cut it. Since we don't want that it drys out.

enjoy.

Saturday, May 10, 2008

the lack of code quality in open source software, particular maven.

  • why is it that you can't download a program, follow the installation procedure and it just works?
  • why is it that a program version is marked at stable and released to the public and does not do what it's supposed todo?
    • i don't expect it to be flawless, but it should provide some working results
  • why is it that maven 2.0.6 is not compatible to the plugins of 2.0.5?
    • there are standards to version software
    • a 1.0.2 version has to be able to work on the data of a 1.0.1 version without errors
    • a 2.0.0 version does not have to be compatible to a 1.9.9 version.
    • a 1.2.* version should be compatible to a 1.1.9 but it doesn't have to be
  • why does maven fail to install particular packages in a multi module project
    • i use the software and build software it, it makes me look bad if I have to work around bugs in very unprofessional ways
    • a user should not be expected to get a documentation for compiling a software like this
short why is there not a certain amount of code quality in maven, every time I use a new plugin I spend at least 2 hours to work around it bugs and get it started.

For example eclipse does not have these problems, they have a stable system to release projects and to make sure that they are stable. Why can't be maven like this?


What is the result of these issues? I consider to download the latest maven sourcecode and start to develop my own maven2 fork. just to get to a working standard which works like it's expected.


...yes I hate to waste my time on things I shouldn't have to, specially if it's my weekend.

Thursday, May 08, 2008

Now that my mac book is dead an I'm frustrated for other reason I decided there is only one thing todo,

time to buy toys!

In this case I finally bought a second flash for my camera and start learning to use it.

My first idea to shoot throw a glass plate did not really work that well. Basically there was barley any difference to using only one flash.

Now using it as a rim light, is another story, I actually really like the effect of a rim light in this case.

time todo dishes.

Wednesday, May 07, 2008

oh noes my little mac book died, to be precise the display cracked after a drop of maybe 2 inches onto the corner of my chair.

...live truly sucks right now...

Saturday, May 03, 2008

Since one of my server disk died a couple of days ago, I thought I use this opportunity and take it apart and snap some pictures.


And i actually really like them, just wish they had a little bit more depth of field.