The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,514 other followers

Archive for July, 2010 UI suggestion #fail

Posted by jpluimers on 2010/07/26

There is an address that I have been traveling from lately quite a bit: “Weena 505, Rotterdam, NL”.

So: has put it in my history.

So why is it then that every time I select that address from my history, and I start planning my route, I get an additional choice of addresses to choose from this selection:


  • Weena 505, Rotterdam, NL
  • Weena, Rotterdam, NL
  • Weena, Rotterdam, NL
  • The Westin Rotterdam, Rotterdam, NL

Or review your input:

  • Weena 505, Rotterdam, NL

They do this for all kinds of addresses.
It drives me nuts for two reasons:

  1. It takes an extra action from my side
  2. You cannot perform that action by keyboard (you have to use a pointing device)

Are interaction designers and UI builders ever going to learn?


Posted in Usability, User Experience (ux) | 1 Comment »

Batch files: Remove a trailing backslash (via Jon Kruger’s Blog » Minor batch file tricks)

Posted by jpluimers on 2010/07/23

Even when doing batch files for a long (20+ years!) time, sometimes you learn something new.

Today was such a day.
I wanted to remove a trailing backslash, so I searched with google.

The first hit was a posting by John Kruger showing this little piece of code:

SET Line=C:\Windows\
IF "%Line:~-1%"=="\" SET Line=%Line:~0,-1%
echo %Line% — will output: C:\Windows

(note: copy the code above, be careful with the code on John’s site as somehow his double quotes got mangled).

Note that a stackoverflow answer has the same solution.


via Jon Kruger’s Blog » Minor batch file tricks.

Posted in Power User | Leave a Comment »

Now where did I hear that “Aurora” codename again?

Posted by jpluimers on 2010/07/22

Now where did I hear that “Aurora” product codename name again?

Aurora seems to be the new product codename for Microsof’ts’ on-premises/cloud mix of Small Business Server.

But wait, wasn’t it eras ago that you could choose to run PHP on clouds for your business apps?

And isn’t Aurora/Delphi for PHP all about creating those apps?


via: Microsoft small-business server futures: 5 things to know | ZDNet / Aurora – a Microsoft cloud server for the small guy?.

Posted in Delphi, Delphi for PHP, Development, Opinions, Software Development | 2 Comments »

Delphi: great post by Malcolm Groves about Debugging Initialization and Finalization sections

Posted by jpluimers on 2010/07/21

Long time Delphi user Malcom Groves just posted an interesting video on Debugging Initialization and Finalization sections.

What I especially like is that he performs this trick using the DUnit unit testing framework for Delphi.
+1 for using unit testing!

The trick he uses is an old one, but I didn’t realize that few people know it, so it is good to put it in writing.

Note that the trick does not work in all cases (see further on an alternative), but for most cases it does work well:

  1. Open your .dpr (From the Delphi menu, choose “Project” followed by “View source”
  2. Put a breakpoint on the begin and end of your program code (see listing below)
  3. Run your project
    (note: for some Delphi versions: you have to F7 into your project)
  4. At the begin of your program Press F7 (“Run” – “Trace into”) in stead of F8 (“Run” – “Step over”)
  5. At the end of each initialization section, press F7 again (not F8!) to step into the next initialization section
  6. At the end of your program press F7 (not F8!) to step into the finalization section
  7. At the end of each finalization section, press F7 again (not F8!) to step into the next finalization

Easy, when you know, difficult to find out yourself (I found out by accident eras ago <g>).

Sometimes (I have not found out why yet) some Delphi versions refuse to work this way.
So you need an alternative, which is this one: Read the rest of this entry »

Posted in Delphi, Development, Software Development | 9 Comments »

Delphi and the ‘leaving’ of Nick Hodges

Posted by jpluimers on 2010/07/20

I’ve let this boil for a while before reacting on the let go by Embarcadero of  Nick Hodges from his R&D Manager position.

Reacting as a non-native English person is a tad difficult, as it is tough to express the fine aspects of the implications well.

So I’m posting this  in both the Delphi and Opinions category; reactions are more than welcome. Read the rest of this entry »

Posted in Delphi, Development, Opinions, Software Development | 1 Comment »

%d bloggers like this: