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 1,862 other subscribers

Archive for July, 2013

Mac App Store – Dialogue: Mac app using BT to connect to phone and make & answer calls from your Mac.

Posted by jpluimers on 2013/07/31

Interesting:

Dialogue is a simple Mac application that uses bluetooth to connect your Mac with your phone. It allows you to answer and make normal phone calls over your Mac.

–jeroen

via: Mac App Store – Dialogue.

Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User | Leave a Comment »

Some cloud storage / online backup providers compared (DropBox, Sugarsync, Bitcasa, …)

Posted by jpluimers on 2013/07/31

I’ve been using a few cloud storage / online backup providers for a while on Mac and Windows now, with the primary goals of

  • being able to sync data between machines
  • having a backup online

Here are some pros/cons. Read the rest of this entry »

Posted in Cloud Apps, Development, DropBox, Encoding, Internet, Power User, SocialMedia, Software Development, Unicode | 4 Comments »

Getting a fresh root hint file on SUSE 12.x

Posted by jpluimers on 2013/07/31

Wrote a small script that goes into my monthly crontab.

It gets ftp://ftp.internic.net/domain/named.cache into /var/lib/named/named.cache.new, and logs when you need to copy it over into /var/lib/named/root.hint

Read the rest of this entry »

Posted in *nix, Development, Linux, Power User, Scripting, Sh Shell, Software Development, SuSE Linux, wget | Leave a Comment »

Conversion between absolute and relative paths in Delphi – Stack Overflow

Posted by jpluimers on 2013/07/30

A while ago, I needed routines to work with absolute and relative paths on Windows.

These links were very useful:

  1. The Delphi TPath.IsDriveRooted function (I think it was introduced in Delphi 2010) serves as a IsPathAbsolute function
  2. Conversion between absolute and relative paths in Delphi – Stack Overflow showing how to use the Windows API functions PathRelativePathTo and PathCanonicalize functions declared in the ShLwApi unit to create AbsToRel and RelToAbs functions.

Thanks Andreas Rejbrand and David Heffernan for the last two!

–jeroen

via: Conversion between absolute and relative paths in Delphi – Stack Overflow.

Posted in Delphi, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Development, Software Development | 4 Comments »

Tunngle – P2P VPN, now would this work over plain HTTP?

Posted by jpluimers on 2013/07/29

On my research list: Tunngle – Wikipedia, the free encyclopedia.

I hope it works over HTTP, and does not require something like Your Freedom – Bypass firewalls and proxies, stay anonymous.

Posted in Power User, Windows | Leave a Comment »

Choosing the right Portable Power Phone/Tablet/Gadget Battery Charger (via: Scott Hanselman)

Posted by jpluimers on 2013/07/27

Great article today: Choosing the right Portable Power Phone/Tablet/Gadget Battery Charger – Scott Hanselman.

Be sure to read the comments too, for instance the one about Folding USB Solar Cell by Brown Dog Gadgets — Kickstarter.

–jeroen

Posted in About, LifeHacker, Personal, Power User, Solar Power, Travel | Leave a Comment »

Delphi: do not do “if (not DirectoryExists(path)) then ForceDirectories(path))”

Posted by jpluimers on 2013/07/26

During code reviews, I often see people do things like this:

if (not DirectoryExists(Path)) then
  ForceDirectories(Path))

or this:

if (not TDirectory.Exists(Path)) then
  TDirectory.CreateDirectory((Path))

Half a year ago, I wrote about .NET/C#: do not do “if (!Directory.Exists(path)) Directory.CreateDirectory(path))”. Read the rest of this entry »

Posted in Delphi, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Development, Software Development | 16 Comments »

Nikon D700/D300/D300s/… 3D auto track Autofocus Settings

Posted by jpluimers on 2013/07/26

One of the nicest tips ever for shooting with Nikon D700/D300s/D300:

By setting the Custom Setting Menu a3 (Dynamic AF Area) to 51 Points (3D Tracking) in AF-C and the Crosshair mode, your manually-chosen AF point will magically move all around the frame tracking your subject! You’ll see it move all around, and it really works. This only works in the Crosshair and AF-C mode; it doesn’t move around in the Big White Rectangle, Tit or AF-S modes.

This tracking mode gives us another way to shoot if you don’t want to select a single AF sensor near your subject. If you prefer, you can autofocus with the center sensor, and in this 51-point 3D tracking mode, keep your finger on the shutter and the AF area will move all by itself, tracking the subject as you recompose!

So:

  1. Set your auto focus menu a3 to be “51 Points (3D tracking)”
  2. Set your auto focus switch to Continuous
  3. Focus a focus point to a part of your composition you want to be sharp

If the part moves, or you recompose, the focus point will automatically adjust.

–jeroen

via: Nikon D700 Autofocus Settings.

Posted in Nikon, Photography, Power User | Leave a Comment »

SVN/Subversion and CodePlex: for now stick to SVN/TortoiseSVN 1.7.x or lower

Posted by jpluimers on 2013/07/25

Introduction

Over the last month or so, two incompatibilities between SVN and CodePlex have risen. I’m not sure which side caused it (see below for the error messages), who will fix it and when. Some details I bumped into.

CodePlex knows about both issue. I’m not sure the SVN team does yet about the second issue.

Recommendation

If you are using CodePlex with SVN/SubVersion, then you shoud stick to SVN versions lower than 1.8, or you will run into the error messages below.

So:

  • Stick to version 1.7.x or lower of SVN and/or TortoiseSVN.
  • DO NOT UPGRADE YOUR LOCAL CHECKOUT TO 1.8 OR HGHER!
    (you cannot downgrade your local checkout to a lower version)

You can find older 1.7.x versions of SVN here:

Issues with CodePlex and SVN 1.8.x Read the rest of this entry »

Posted in CodePlex, Development, Source Code Management, Subversion/SVN, TFS (Team Foundation System) | Tagged: , | 17 Comments »

Embarcadero SummerSchool 2013 Lesson 4 Q&A

Posted by jpluimers on 2013/07/25

Replay video’s can be viewed through streaming.embarcadero.com (where you can also find the other series, downloads, etc).

The SummerSchool 2013 replay videos are at streaming.embarcadero.com/summerschool2013.

The Q&A from today’s session on “Accessing local storage” demonstrating iOS specifics in Delphi XE4: Read the rest of this entry »

Posted in Delphi, Delphi XE4, Development, Software Development | Tagged: , , , , , | Leave a Comment »