Friday, July 10, 2009

well last night was fun, we just ended up going for a concert in the park and playing uno with friends.

The concert was, well different. It was supposed to be latin music, so I expected something like Santana style and instead we got some very strange and unexciting acoustic guitar player singing English songs.

Well at least we had fun with friends.

Thursday, July 09, 2009

since people starting to complain that this blog is to much about work and coding and so, well there is now a new blog, only about coding.

Coding and More

Wednesday, July 08, 2009

SetupX Installation under Ubuntu

moved to: Coding and More

Creating Minimum and Maximum date in Java

move to Coding and More




playing a bit with my friend ashleigh and the camera.

But somehow nothing worked as planned, but we got some nice shots of her.

Tuesday, July 07, 2009

Grails and some annoying default CSS

moved to Coding and More

Thursday, July 02, 2009

well after years of grilling tri-tip and pan fried tri-tip we tried something new and involves the smoker (what a surprise)

We made an amazing smoked tri-tip and I think this is the way togo. Well the guest's seemed to be pretty happy too and we ended up making so much food, that I have a whole smoked tri-tip left to my self :)

Anyway the recipe:

  • get yourself a good looking tri-tip with some nice marbling and about 1.5 - 2lbs trimmed, or 2.5 - 3 lbs untrimmed (and trim it a bit)
  • make a dry rub out of salt and pepper and rub it onto the meat. You need roughly a cup of dry rub
  • toss in a zip lock bag and leave it in the fridge for 5 - 6 hours
  • remove it from the fridge when you are setting up the smoker, ca 45 minutes prior
  • fire up the smoker with some hickory wood and let it settle at a temperature of 220-250 Fahrenheit
  • toss in the meat, add the remote meat thermometer and enjoy a couple of hefeweizen (roughly 1 hour a pound, so about 90 minutes or 3 -5 hefeweizen)
  • do NOT open the smoker and look all the time, that's what's the remote thermometer is for
  • once the meat reaches 145 Fahrenheit, take it off the smoker and let it rest for 10 - 20 minutes so it's as juicy as possible
  • slice it into thins slices, alone in the kitchen (everybody else is outside...) and serve to the hungry pack
the dip

since I like to keep things simple and quick I just made a spicy (for germans) yogurt based dip.

  • 1 lbs of yoghurt, not the fat free kind!
  • 4 cloves of garlic, minced
  • Salt, Pepper, Basil, Oregano to taste
  • half a red onion, minced

mix everything together and let it rest in the fridge for an hour. It works really well with meat, since it enhances the taste of it, by adding a slight sour and fresh note.











well today I took of the day to move to my new place for this year and I hope to stay longer here. Depending how everything goes with the roommate and my wonderful girlfriend.

So here are some pictures of the front and backyard and I post pictures of the rest of this house as soon as possible.

My room basically has barley any stuff in it so far, since i need to remodel my bed and so. But once it's done it's going to be beautiful.

The backyard and frontyard are nice and I smoked my first tritip tonight, which was just amaizing and pretty cheap at 20$ for 4 lbs.

I guess I have this kind of sandwiches for the next 4 - 5 days.

Anyway it's late and time for bed.

Monday, June 29, 2009

well this is something new, a very strange behavior in one of my tests cases:


List result = this.getEntityManager().createQuery("from " + LoggingEntityBean.class.getName() + " b").getResultList();
assertTrue(result.isEmpty() == false);

int size = result.size();
int exspected = testSize * addres.length;

logger.info(size);
logger.info(exspected);
assertTrue(size == exspected);


now why do I get this error message...

[17:37:02,007] [INFO ] [main] [LoggingServiceTest] [400]
[17:37:02,008] [INFO ] [main] [LoggingServiceTest] [200]

junit.framework.AssertionFailedError: null
at edu.ucdavis.genomics.metabolomics.binbase.logging.server.LoggingServiceTest.setUp(LoggingServiceTest.java:73)
at org.jmock.core.VerifyingTestCase.runBare(Unknown Source)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at com.intellij.rt.junit4.Junit4ClassSuite.run(Junit4ClassSuite.java:99)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)



error in this line:

assertTrue(size == exspected);

ok it's supposed to fail because 200 isn't 400, but not with a NullPointer exception...

now I have been working with intellij for a bit over a week and it have to say it has it's highs and it's lows.

  • refactoring is just great
  • override/implment function works good
  • I hate the code completion, it's just strange behavior wise
  • the junit plugin is nice, but a bit strange
  • the grails/groovy support is exceptional good
  • the performance is good if I work on a single project, if I work on my average 40 projects at once it's impossible to work with
  • nice support for for python, works quite well
  • uml support is great
  • ant based build are a nightmare, but we want to use maven anyway whenever, where ever
  • maven plugin is great in therorie, but with complex pom's it's extremely slow.
conclusions:
  • python development will be in intellij
  • groovy development will be in intellij
  • scala development will be in intellij
  • java development will be in eclipse
  • pom writing will be in intillij and I generate the project directly via 'mvn idea:idea eclipse:eclipse' instead of using the pom as project file

Sunday, June 28, 2009

ok it's not hot in davis,

it's ridiculous hot, 47 Degree Celsius....

I mean seriously...

lesson:

  • do not buy a car with black leather seats...
  • do not buy a car with black leather...
  • do not buy a car with black...
  • do not buy a car with...
  • do not buy a car...
  • do not buy a...
  • do not buy...
  • do not...
  • do...
  • ...
  • ..
  • .
translation I hid in the office, enjoyed the AC and got some stuff done (Die hard, Die hard with a vengeance,...)

Also no smoked meat today, I will not sit for 12 hours next to this thing fighting with the heat during the day or the roaches at night.

Now time to run for a restaurant and get some tasty food. I'm in no mood to cook tonight.

mocking spring,

moved to Coding and More