Skip to content

www.rolfje.com

Author: rolfje

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

Installing Wubi 9.10

Posted on 2010-04-23 By rolfje 2 Comments on Installing Wubi 9.10

Why I HATE LinuxOk, fist of all: DO NOT DOWNLOAD WUBI 9.10 as it contains a serious GRUB2 problem which will give you some headaches if you’re new to Linux. Why I’m saying this? I just ran into this GRUB2 problem while installing the new Wubi 9.10. Here’s what I did:

  1. Downloaded Wubi 9.10 windows installer and ran it.
  2. Installer downloads stuff, and boots into Ubuntu installer
  3. After reboot, GRUB screen comes up with a loud beep and a prompt. Great.

Some googling finds a lot of Linux voodoo talking l33tspe4king nerds, but it did contain some info with which I managed to get things working:

Read More “Installing Wubi 9.10” »

Uncategorized

Anti-fog Helmet Visor Tip

Posted on 2010-04-19 By rolfje 12 Comments on Anti-fog Helmet Visor Tip

In some biker magazines you’ll see some cheap journalists write that the “dish washing soap anti-fog is an urban myth”, and that it will “blur your vision”, some may even say it’s downright dangerous. This blogpost is to show that if done right, dish washing soap is actually the absolute best anti-fog treatment money can buy. If you’ve tried this and still don’t like it, there are some easier alternatives at the bottom for your convenience.

Read More “Anti-fog Helmet Visor Tip” »

Uncategorized

Simple Strict Date Parsing

Posted on 2010-03-06 By rolfje No Comments on Simple Strict Date Parsing

In Java, the DateFormat.parse() method is a funny little critter. It helps you by trying to figure out what date you actually meant when you typed in “35/12/2O10” (note the letter “O” in 2O10). In this case, it will parse the date without errors or warnings, and returns the date “11/12/04” (November 12th, 0004). That’s because it thinks “35” is a month, and “2” is the year, ignoring everything after the letter “O”.

DateFormat tries to convert the “35th month” into 2 years and 11 months, and correct the date accordingly. df.setLenient(false) prevents this, but that still leaves the problem of the parsing stopping at the first wrong character without warning.

I needed a much stricter way of parsing dates, and yesterday I found an elegant solution to this problem. It’s so small I was able to tweet it in less than 140 characters, but I thought it deserved a decent blogpost so here it goes:

public Date parseDateString(String inputDateString) 
         throws ParseException {
  DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);
  Date parsedDate = df.parse(inputDateString);

  if (!inputDateString.equals(df.format(parsedDate))) {
    throw new ParseException("Invalid Date", 0);
  }
  return parsedDate;
}

The brilliance here is in the comparing of the formatted date with the original input. The method returns a normal ParseException so you can perfectly replace your original df.parse() calls with it, making them more strict.

Thanks to Bas for this elegant and simple solution.

Software

Ibatis Inline Parameter Maps

Posted on 2010-02-16 By rolfje 3 Comments on Ibatis Inline Parameter Maps

Today I (re)discovered a feature in the Ibatis data mapper framework which was clearly documented, but for some reason was not being used in our project. The feature is called “inline parameter maps” and combined with a wrapper bean it can clean up a lot of clutter in the code and in the SqlMaps. Please feel free to share this example with your fellow Ibatis Data Mapper 2 framework users.

Read More “Ibatis Inline Parameter Maps” »

Uncategorized

The rumors can stop now. iPad is here.

Posted on 2010-01-27 By rolfje No Comments on The rumors can stop now. iPad is here.

So the word is finally out, it’s going to be the iPad. I was kind of worried about this, and my worries are not completely taken away by the news currently oozing out of the Apple keynote. I see some problems with this device, although they are well hidden under Steve’s reality distortion field, the Apple secret sauce and the “gee why didn’t we think of that” features.

Read More “The rumors can stop now. iPad is here.” »

Uncategorized

The Car Buying Story

Posted on 2010-01-10 By rolfje No Comments on The Car Buying Story

Stephen needs a new car. Being dilligent and a car lover, he takes the time to write down all criteria for a great car. When he finishes the list, he notices that the only car matching all his criteria is a Ferrari. Well, he always loved a Ferrari so that makes sense. To make things more realistic he adds another criteria, called “price”, and starts looking for alternatives.

Read More “The Car Buying Story” »

Apple, Fun, Hardware

Posts navigation

Previous 1 … 10 11 12 … 37 Next
         

Recent Comments

  • rolfje on European alternatives to AWS/Azure/GoogleCloud
  • rolfje on Are you de-skilling?
  • rolfje on Are you de-skilling?
  • rolfje on Exit WordPress
  • Guus on Exit WordPress

Tags

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

Categories

  • Apple (107)
  • Divorce (1)
  • Electronics (4)
  • Fun (57)
  • Games (7)
  • Hardware (73)
  • Microsoft (18)
  • Racing (16)
  • Software (143)
  • Uncategorized (68)
  • Workshop (22)

Archives

Brought to you without adds, banners, cookies or tracking. This one is on me. Yes, life can be this good. Pay it forward.

Copyright © 2026 www.rolfje.com.

Powered by PressBook WordPress theme