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,854 other subscribers

Archive for 2014

Today I learned… :) I didn’t know about this syntax for properties… (via: Roman Yankovsky – Google+)

Posted by jpluimers on 2014/04/21

Interesting: Roman Yankovsky just wrote about a property syntax that I didn’t know about either:

Today I learned… :)

I didn’t know about this syntax for properties:

FStrings: array [0..1] of string;
property String0: string read FStrings[0] write FStrings[0];
property String1: string read FStrings[1] write FStrings[1];

Now I hope someone finds out in which Delphi version this syntax was introduced.

–jeroen

via: Roman Yankovsky – Google+ – Today I learned… :) I didn’t know about this syntax for….

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

Chrome’s Click to play feature can avoid “Chrome wakes me up in the middle of the night, with monsters.”

Posted by jpluimers on 2014/04/21

A while ago I came across this very neat bug report:

Issue 224182 – chromium – Chrome wakes me up in the middle of the night, with monsters. – An open-source project to help move the web forward. – Google Project Hosting.

It isn’t so much a bug report, but a big annoyance with many browsers and web-sites: they auto-start playing video or audio (or other “active” content) as soon as the page loads, even in a background window.

The Chrome’s Click to play feature can help avoid this: you can configure this to the individual site and plugin level to select which ones to auto-play or block.

It increases your security, speeds up browser load times at the cost of a click here and there to enable a sites active content (on some sites: a lot of clicks, but alas: they should redesign to be less dependent on active content).

–jeroen

–via: Issue 224182 – chromium – Chrome wakes me up in the middle of the night, with monsters. – An open-source project to help move the web forward. – Google Project Hosting.

Posted in Uncategorized | Leave a Comment »

Windows/NTFS – this works from one file system to another: `junction -D`

Posted by jpluimers on 2014/04/20

I’m glad that junction did work to create a directory junction to link a directory from one NTFS file system to another with this small batch file (that falls back from mklink to junction):

  @echo off
:start
  if !%1!==!! goto :help
  goto :main
:help
  echo %0 TargetFolder
  echo   Creates directory symbolic link using MKLINK or JUNCTION so that TargetFolder points to %~dp0
  goto :eof
:main
  :: http://www.howtogeek.com/howto/windows-vista/using-symlinks-in-windows-vista/
  call :do mklink /D %1 %~dp0
  call :do junction %1 %~dp0
  goto :eof
:do
  echo %*
  %*
  goto :eof

Some more reading on juncions, hard links, symbolic links, etc:

Read the rest of this entry »

Posted in Power User, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Tagged: , , | Leave a Comment »

TinkerTry IT @ home | Download ESXi 5.5 Update 1 and the other vSphere Update 1a pieces to get your home lab started

Posted by jpluimers on 2014/04/20

Interesting:

This is a refresh of last month’s article, Download ESXi 5.5 Update 1 and the other vSphere pieces to get your home lab started, with new download links for the Heartbleed related vCenter Update 1a release that arrived today, April 19, 2014. It is a work in progress, and will updated frequently, throughout the next few days, as I test and retest the links and procedures. The hypervisor itself (the first download) appears to be unchanged, the same 5.5 Update 1 (not 1a) released back on Mar 11 2014. It appears the only thing that has changed has been a patch to SSL certificates to address Heartbleed, as described in the release notes.

–jeroen

via TinkerTry IT @ home | Download ESXi 5.5 Update 1 and the other vSphere Update 1a pieces to get your home lab started.

Posted in ESXi5.5, Power User, VMware | 2 Comments »

“There is not enough space on the file system for the selected operation” in VMware Fusion or Workstation

Posted by jpluimers on 2014/04/19

Both VMware Fusion and Workstation can give you the error “There is not enough space on the file system for the selected operation” if you expand the virtual disk of a virtual machine.

It occurs when there is less free disk space available on the host disk containing the virtual disk than the newly requested space of the virtual disk. In short: you must have enough room to store the original virtual disk plus the expanded virtual disk. This holds for VMware Player too.

This is a real problem if your main system has SSD only (like a Retina MacBook Pro) where there is an even bigger fight for disk space than HDD based hosts.

It is one of the reasons not only my main system has an SSD drive, but also an external USB3 SSD drive to temporarily make more room available.

–jeroen

Posted in Fusion, Power User, VMware, VMware Workstation | Tagged: , | Leave a Comment »

Reaver 1.4 (and wash) on Mac OS X 10.9 Mavericks

Posted by jpluimers on 2014/04/19

Reaver-WPS is an excellent tool to test the security of your WPA/WPA2 secured network against the WPS vulnerability.

Getting Reaver 1.4 (which contains wash to scan WiFi networks) to compile out of the box on OS X Mavericks (which is 10.9; why can’t they keep a successive version number in the product name?) didn’t work.

So I downloaded the adapted source pack from one of the comments in Issue 245 – reaver-wps – Support for Mac OS X? – Brute force attack against Wifi Protected Setup – Google Project Hosting (as the diff still not has been applied to the codebase)..

wash will detect most, but not all networks. I’ve net yet tried WireShark, wpscan and wspy yet (they re supposed to get all of them).

To speed up the checking process I tried on install aircrack-ng to associate a Mac with the target network. Compiling aircrack-ng on a Mac from source didn’t work at all. But after installing MacPorts, I could get the MacPorts version of aircrack-ng to work. The bad news: I could not get aircrack-ng to associate to the network.

So these were the commands I used:     Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, Monitoring, OS X 10.9 Mavericks, Power User | Leave a Comment »

GExperts 1.37 available for Delphi XE6..6.02, but not for Appmethod (via: Download | GExperts)

Posted by jpluimers on 2014/04/19

GExperts 1.37 (commit 875, but no tag yet) now supports Delphi XE6 and XE5, and ahost of older Delphi versions. Binary downloads are available at Download | GExperts

These were the release news items:

In addition to what is in those items, 1.37contain a substantial speed improvement and some other fixes from me (I hope this fix also will get in later) in the Grep Search.

It is likely that this will be the last GExperts that support Pre-Delphi-2007 versions (currently 2006, 2005, 8.02, 7.1 and 6.02).

It is not clear if there will be a GExperts for Appmethod, as Appmethod does not provide functioning command-line compilers like I already blogged about in Spring4D now has projects for Appmethod, but it cannot support Appmethod in the automated build engine.

You can get an Experimental GExperts version for Delphi XE6..6.02 (that includes a source formatter) from Experimental GExperts Version » twm’s blog.

From Thomas Mueller (the author of the experimental GExperts versions), there are also a few other interesting blog posts you probably will like:

–jeroen

via: Download | GExperts.

Posted in Appmethod, Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 6, Delphi 7, Delphi 8, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Development, Software Development | Tagged: | 6 Comments »

Cut and Paste Files & Folders in Mac OS X

Posted by jpluimers on 2014/04/18

Boy, I wish I had found this far earlier:

  • in Windows Explorer this is called cut & paste:
    Ctrl+X & Ctrl+V
  • in Mac OS X Finder this is called copy & move items here:
    Command+C & Command+Option+V

Read the rest of this entry »

Posted in Apple, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.7 Lion, MacBook, OS X 10.8 Mountain Lion, Power User | 3 Comments »

Some Windows 8.1 Update (KB2919355) notes

Posted by jpluimers on 2014/04/17

Windows 8.1 Update has the search icon on the home screen. Windows 8.1 Update has the search icon and power off button at the top right side on the home screen.After the interesting piece at Microsoft Abandons Windows 8.1: Take Immediate Action Or Be Cut Off Like Windows XP I decided to make sure it is installed on all my Windows 8.x systems. That wasn’t so easy as “apply this update”.

There are various reasons the update can fail (at least one is even lying, see below) and there is no obviously automated way to check it has been applied.

First of all, two checks to see if Windows 8.1 Update is installed. From my question Batch file: how to check if Windows 8.1 update is installed – Super User I learned this simple statement:

reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v BuildLabEx

If it returns a value of 17031 or higher, then Windows 8.1 Update is installed. The second and third scripts at How to differentiate Windows 8.1 Update 1 from Windows 8.1? are elaborating on that version number.

But for the average user it is even easier: on the home screen, check if the search icon (magnification glass) is visible. See the image on the right.

Potential error messages

Quite a few users get error messages when installing the update. Some of them are these:   Read the rest of this entry »

Posted in Power User, Windows, Windows 8.1 | Tagged: , | Leave a Comment »

Interactive Maps of Amsterdam / Interactieve kaarten van Amsterdam

Posted by jpluimers on 2014/04/17

via Gas and Electra usage map of Amsterdam I ended up at Interactieve kaarten van Amsterdam.

Nice! Comparing the energy usage of your household with others in the city.

–jeroen

 

Posted in LifeHacker, Power User | Leave a Comment »