well this is something new, a very strange behavior in one of my tests cases:
List
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...
Monday, June 29, 2009
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.
- 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...
- ...
- ..
- .
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.
Friday, June 26, 2009
Thursday, June 25, 2009
to cancel flight's is fun...
Flight cost summary
Flight cost - 6/16/09
Airfare #XXXXXXXXXXXXX | $679.25 | |
---|---|---|
Flight cost | $679.25 | |
Exchange cost - 6/25/09 | ||
Airfare #XXXXXXXXXXXXX | $688.78 | |
Previous airfare | -$679.25 | |
Airfare difference | $9.53 | |
Orbitz exchange fee | $30.00 | |
Airline change fee | $200.00 | |
Total exchange cost | $239.53 | USD |
Grand total itinerary cost to-date | $918.78 USD |
---|
boy my checking account truly hates me right now...
so it look's like the raid is now running, so this next step would be an lvm2 layer on top of it.
Wednesday, June 24, 2009
currently I'm fighting since 4 weeks with a retarded server, well whenever I got some time besides
- fixing bugs
- keeping the system running, because the main server is offline since 2 month now
- helping people with problems
- fighting with power outages
- fixing servers
- and actually coding doing research in the left over time
- removing existing raid stuff: mdadm --zero-superblock /dev/sd[c,d,e,f,g,h,i,j,k,l,m,n,o,p]1
- stopping a raid: mdadm --stop /dev/md_d3
- getting some info's about the raid: mdadm --examine /dev/sd[c-p]1
- trying to assemble a raid: mdadm -v -A /dev/md_d3 /dev/sd[c,d,e,f,g,h,i,j,k,l,m,n,o,p]1
- creating a large raid0 for testing: mdadm --create --verbose --force /dev/md3 --level=raid0 --raid-devices=14 /dev/sd{c,d,e,f,g,h,i,j,k,l,m,n,o,p}1
- creating a raid6: mdadm --create --verbose --force --name=data /dev/md3 --level=raid6 --raid-devices=12 --spare-devices=2 /dev/sd{c,d,e,f,g,h,i,j,k,l,m,n,o,p}1
- storing the generated configuration: mdadm --examine --scan --config=mdadm.conf >> /etc/mdadm/
mdadm.conf
Sunday, June 21, 2009
well since this month turned out to be much more pricey than planned
- ticket to germany 700$
- visa fee 200$
- conference fee 200$ (should get reimbursed in the next view weeks)
- smoker 350$ (including needed stuff like coal and wood)
- rent deposit 500$
- last month rent 500$
- paying rent for 2 places 750-1000$
Friday, June 19, 2009
so what's new,
- my experiment to live on 100$ a week worked quite well, only 2 days left and I still have 2 whole chickens in the freezer, which are going to visit the smoker tomorrow
- for some reasons my back is killing me time to try a different workout and I'm looking forward to swimming again
- booking a flight to germany and a visa appointment and screwing it up, now I have only a 2 day window to get my visa delivered
- trying to learn and understand ajax
- trying to work more with groovy and grails
- learning a new IDE (IntelliJ 8) and so far I love it
- switching from firefox to safari for internet related stuff, since firefox is so slow
- looking for a small ultra portable laptop with 10 hours of battery live
Saturday, June 13, 2009
just another saturday, well since I decided to skip carmel this weekend and stay in davis, since friends are in town, well I decided to use this weekend and give the smoker a run for it's money.
So today we make trout spread for bagels and smoked trout.
- buy 4 trouts = 10$
- buy cottage cheese and cream cheese = 5$
- buy 12 bagels = 6$
First we brine the trouts for an hour in sugar and salt (lesson for next time, brine 2 - 3 hours, they are a bit dry and needed a lot of salt), while setting up the fire. It turned out that the new york times is an aweful starter, so let's try another newspaper the next time.
The trouts are now happily smoking for 3 hours at 220-240 Fahrenheit and I use this time to be productive, equals watching cheesy movies.
Once the trout were done, we had one for lunch, put away one for dinner and mixed 2 for the spread.
- sellery
- onion
- garlic
- cottage cheese
- cream cheese
And I also have about 2 pound of spread now, which has to be eaten in the next 4 days, so 2 bagels for breakfast everyday and if somebody want's some spread, call me.
(It has some fishbones, blame the blender...)
About the smoked trout in general? It's is amaizingly tasty and quite a fat fish. I like it.
Thursday, June 11, 2009
so the smoker finally arrived and so we started to cook our first dish.
The lesson of the day? It's not worth it to cook a single chicken, since you need way to much charcoal and wood for it. It was like 5$ worth of charcoal.
lesson 2:
one chicken is not enough, they are so damn tasty you want a second one 5 minutes later
how too?
- soak chicken in solution of salt and sugar for 2 hours
- try chicken
- put pepper on chicken
- preheat smoker to 250 degrees fahrenheit
- leave chicken in there for 3h
- try to understand where you need to put the thermometer and figure out why it constantly looses connection
- figure out a way to kill the coals and wood once you are done, since it makes me nervous as hell to leave the bbq on over night and going to bed
- carve the chicken, executed by ashley!
get more chickens and repeat!
Wednesday, June 10, 2009
step two:
the smoker is ordered and on its way...
and so is the meat thermometer
(no more dining out this month...)
step three:
get wood and charcoal
step four:
get some ribs and smoke them tomorrow night till the early morning
Tuesday, June 09, 2009
Saturday, June 06, 2009
well I'm back from phillidelphia and the first thing we did was a nice picnic in sacramento. We also looked at some town houses and discovered a small honey store.
It's amaizing how different honey can taste. From delicious to disgusting is just a spoon apart
- orange blossom - yummy
- clover - yummy
- sage - ok and very mild
- eucalyptus - disgusting
- several other kind's I can't remember
...time to make some tea...
Friday, June 05, 2009
Wednesday, June 03, 2009
so it's always sunny in Philadelphia? Nah it's a freaking lie! Never believe in TV Shows! Why are I'm surrounded by thunderstorms and rain.
I should had brought shoes besides sandals...
Anyway the poster presentation is done and the response was quite nice. It also looks that everybody starts to agree with our point:
You need a database for your results!
So the last 7 years start to pay off. Several people congratulated us to the software we wrote and are highly impressed. I'm still surprised that I was brave enough to actually participate in the discussion, in front of 300 people about the different approaches to annotate massspecs. Who all have fancy titles and are accepted experts in the field of metabolomics.
What else, the first people which were fun to hangout with already left and so I have to work again tonight to find new people to talk too.
Tuesday, June 02, 2009
current location: philidelphia
current food: gyros
food of the last days: philli cheesesteaks
busy with: looking so far at 1400 posters, 1400 more are comming
mistake: not staying the weekend here and driving to new york = bad planning from me
why such a short post?
got no time, have to run to a talk and the internet is so damn unreliable...