Skip to content

www.rolfje.com

Author: rolfje

Changing the Order of your UnitTests

Posted on 2011-04-01 By rolfje No Comments on Changing the Order of your UnitTests

A few months ago we had a problem where Eclipse could not automatically run all jUnit unit tests in a package if that package references a class called “enum”, which is a reserved word in Java 1.6. I’ll spare you the details, but we were forced to create a TestSuite. Normally we avoid this construction because it’s easy to create a new unit test and forget to add it to the correct TestSuit. So as a workaround we wrote some code which could build and return a TestSuite dynamically. Right-click in eclipse, select “Run as Unittest”, sit back and enjoy.

Lately this piece of code came in handy while testing another application, which required the removal of data from a database. Yes I know, Unittests should maybe not depend on databases because it leans towards integration testing, but here we are, and I need to solve it. I used the old TestSuite code and changed it so that the TestCase I needed to run first was singled out, while still maintaining the functionality of auto-detecting testcases in the source folder.

Read More “Changing the Order of your UnitTests” »

Software

Your Maven Java WEB project in Eclipse WTP

Posted on 2011-01-29 By rolfje 12 Comments on Your Maven Java WEB project in Eclipse WTP

In our company, all Java projects are setup with Maven configuration so that after a “mvn eclipse:eclipse” any developer is generally good to go. One of these projects was a web project but would not transform into a WTP project. By running “mvn eclispe:eclipse” it became a Java project, but could not be added to a Server in Eclipse. It was not a WTP project.

I learned that the author of the project tried but never got the WTP plugin to work properly. Using the Google, I found more people who are having the same problem converting their existing Maven Java Web projects in Eclipse into a WTP project. There are even a few desperate articles describing how to edit your .project and .classpath files. Oh dear. This calls for an article on www.rolfje.com.

Read More “Your Maven Java WEB project in Eclipse WTP” »

Software

Why some App Store apps won’t install

Posted on 2011-01-09 By rolfje 2 Comments on Why some App Store apps won’t install

App Store IconI was happily playing around with the appstore, and came across this funny free game called “Hedgewars”. Originally a free Linux game, it apparently got ported to the Mac and put in the App Store, just as a slew of Flash-based games (yes, Steve has some ‘splainin’ to do).

I tried to install Hedgewars on my trusty Mac Mini and got this message saying “This Application can not be installed on this machine”:

Read More “Why some App Store apps won’t install” »

Apple, Games, Hardware, Software

Move Time Machine data to a Drobo

Posted on 2010-12-30 By rolfje 20 Comments on Move Time Machine data to a Drobo

Remember, even Drobo's can die. Make sure your files are in at least three different physical locations, one of which preferably off-site.If Santa treated you particularly well this season, or you have put some of your savings to good use, chances are that you have a brand-new Drobo looking at you right now. Meanwhile, your Mac is happily making Time Machine backups to that trusty old local USB disk. So you want to use that new Drobo for Time Machine backups, but don’t want to loose history? Here’s how (baby steps, no tools required, screenshots included):

Read More “Move Time Machine data to a Drobo” »

Apple, Hardware

Why phone companies will fail

Posted on 2010-11-23 By rolfje 5 Comments on Why phone companies will fail

cell phone under waterI recently had a very unpleasant experience with my mobile phone. Actually, it wasn’t so much my mobile phone itself, as it was the sharing of my private mobile phone number between colleagues. Seemingly harmless, but with great consequences.

One of my colleagues, in his innocence and with nothing but good intentions, shared my phone number with another colleague. As I was sitting in the hospital, the second colleague called me with questions about estimates I made for a project, which at that time intensely frustrated me.

Although I had the whole weekend to cool down, I was still pretty pissed the following monday. Some unpleasant conversations followed. I think everything is solved now but I can only hope somebody actually deletes my number when he says he does. Which got me to think about the old fashioned and spectacularly broken addressing model phone companies are still using.

Read More “Why phone companies will fail” »

Uncategorized

Anonimatron featured on Softpedia

Posted on 2010-09-26 By rolfje 1 Comment on Anonimatron featured on Softpedia

100% CLEAN award granted by Softpedia

As you may know I started working on a little tool to anonymize databases. Nothing fancy, just a Java tool that uses jdbc to replace live data with fake generated data which still looks representative enough to do testing and make believable screenshots. Oh and did I mention that it is 100% free of charge? You can get the latest version from SourceForge.net.

I recently received an email from Softpedia that Anonimatron has been added to their catalog. Their email states:

“anonimatron” has been tested in the Softpedia labs using several industry-leading security solutions and found to be completely clean of adware/spyware components. We are impressed with the quality of your product and encourage you to keep these high standards in the future.

Anonimatron is written in Java and will ron on Linux, OSX and Windows machines. The current version is 1.3, and it should be considered “beta” at this point.

Let me know what you think!

Software

A Brighter Prius Dashboard

Posted on 2010-08-07 By rolfje 4 Comments on A Brighter Prius Dashboard

When you drive a Prius (like me), and you always have your lights on (like me), you probably have been irritated by the dimmed speedometer and unreadable display in bright sunlight (like me). If you didn’t read the owners manual (like me), you also probably didn’t know about this trick to get the brightness back (like me). Here’s how:

Lights on, dark dashboard

Hold for two seconds

Voila, full brightness.

You need to do this every time you start the car or turn on/off the lights. Return to a dimmed dashboard while driving by pressing the brightness selector briefly.

Uncategorized

Problem Solving for Dummies

Posted on 2010-07-15 By rolfje 8 Comments on Problem Solving for Dummies

Some people can not seperate cause and effect when solving problems, and every now and then you run into a great example.

If this is your problem… this is not your solution
Some people are still trying here... "It is not allowed to throw paper towels into the toilet."

The towel bin is next to the sink. Why would anyone walk all the way back to the toilet to throw their paper towel in there? Well maybe it’s because they have nowhere to put it? There is a simple solution to solving problems with other people’s behavior, without having to put up signs and making up silly rules:

Make the right thing to do

the easy thing to do.

spacing

Fun

How to share Garmin routes with your friends

Posted on 2010-06-30 By rolfje 5 Comments on How to share Garmin routes with your friends

Recalculated route (green) does not match the original (pink)I’ve been struggling to get routes into my Garmin Zūmo® in such a way that it matches the plans of the original author, while at the same time setting the Garmin to “recalculate” so that when I take a wrong turn, it will send me back to the track. After reading a lot on the Garmin forums, and experimenting with this on my two recent road trips (one to Eifel and one to Sauerland in Germany) I can say I have found a way to do this. It’s a bit of work, but it will make your trip a lot more trouble-free. Here’s the recipe.

Needed:
– Nice motorcycle route in a GPX or GDB file
– Garmin BaseCamp (BaseCamp 3.0.1.0 for OSX at time of writing)
– Garmin Zūmo® (model 660 at time of writing)

Read More “How to share Garmin routes with your friends” »

Software

Why Growth is a bad thing. Bad.

Posted on 2010-05-17 By rolfje 10 Comments on Why Growth is a bad thing. Bad.

Quite often I am amazed at people’s ability to miss what looks obvious to me. Not only the small things like cleaning up when you spill coffee over the floor, or washing your hands when you get off the toilet, but also bigger things. Like the silly “solutions” to the world’s pollution problem for example.

Looking to solve our pollution problem by changing people’s behavior is one of the things which to me is obvious to fail. Although some behavior may speed up pollution, in the end we all pollute, wether we like it or not.

At the risk of writing a very unpopular blogpost, I’d like to share some thoughts on the ongoing and ever increasing pollution problem. In my eyes, there are 2 real causes of pollution, and ultimately these causes are even self-repairing although you may not like how that works out for you.

Read More “Why Growth is a bad thing. Bad.” »

Uncategorized

Posts navigation

Previous 1 … 8 9 10 … 35 Next
         

Recent Comments

  • rolfje on Methode Buijs uitgelegd
  • LinkedIn is at Peak Enshittifaction – Will Chatham's Blog on Linked-In not really Opt-in?
  • Hans j on 1N4148 diode as RF switch
  • Roaming Rhonda on DLNA on OSX, done right
  • Frans on How to fix a Krups XN2001 Nespresso machine

Tags

Apple backup design DIY DRM eclipse environment Fun Garmin GForge gmail google hacking hamradio Hardware helicopter iphone ipod iTunes Java Keynote linux maven modelling music news opinion oracle osx photo photography programming repair review security Software Steve Jobs technology Time Machine Ubuntu usability Utilities vacation windows Workshop

Categories

  • Apple (105)
  • Divorce (1)
  • Electronics (3)
  • Fun (57)
  • Games (7)
  • Hardware (72)
  • Microsoft (18)
  • Racing (14)
  • Software (134)
  • Uncategorized (66)
  • Workshop (20)

Archives

Copyright © 2025 www.rolfje.com.

Powered by PressBook WordPress theme