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 March, 2012

#@xs4all only over AnnexB with FRITZ!Box 7340 #fail: line sync issues; offline most of the time, max 4 mbit. @xs4all needs to give me some compelling arguments to regain trust in them. @xs4all_HD

Posted by jpluimers on 2012/03/08

xs4all won’t tell you up front, but they changed a couple of things that will bring your 10 mbit down / 1 mbit up to something that hardly connects, and if it does less than half the speed.

This is also a post on how XS4ALL treats long lasting (15 years!) customer relations. Badly.

05.03.12 16:08:01 DSL-Synchronisierung beginnt (Training).
05.03.12 16:06:05 Internetverbindung wurde getrennt.
05.03.12 16:06:05 Internetverbindung IPv6 wurde getrennt, Präfix nicht mehr gültig.
05.03.12 16:06:05 Internetverbindung wurde getrennt.
05.03.12 16:06:05 DSL antwortet nicht (Keine DSL-Synchronisierung).
05.03.12 15:56:30 Internetverbindung IPv6 wurde erfolgreich hergestellt. Präfix: 2001:980:43d9::/48
05.03.12 15:56:30 Internetverbindung IPv6 wurde erfolgreich hergestellt. IP-Adresse: 2001:980:43d9::be05:43ff:fe70:9b53
05.03.12 15:56:26 Internetverbindung wurde erfolgreich hergestellt. IP-Adresse: 82.161.132.169, DNS-Server: 194.109.6.66 und 194.109.9.99, Gateway: 194.109.5.205
05.03.12 15:56:21 DSL ist verfügbar (DSL-Synchronisierung besteht mit 4804/1029 kbit/s).
05.03.12 08:44:20 DSL-Synchronisierung beginnt (Training).

They advertised XS4ALL ONLY (since it on the copper pair you only run DSL, no phone, so you don’t need a splitter) as faster, cheaper and more stable internet and VOIP connection.

It is not. Read the rest of this entry »

Posted in Fritz!, Fritz!Box, Network-and-equipment, Opinions, Power User | Leave a Comment »

“Cannot navigate to definition” annoyance in Visual Studio 2010 – (did it implement the mouse equivalent to Delphi code browsing? No, it didn’t)

Posted by jpluimers on 2012/03/08

This use case drove me nuts in Visual Studio 2010 for a while, but can be solved.

Use cases:

  1. Cannot navigate to definition.double click on a word to select it
  2. press Ctrl-C to copy the selected text
  3. result is either of these two dialogs:

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Cannot navigate to definition.
    ---------------------------
    OK
    ---------------------------

    Cannot navigate to definition. The cursor is not on a symbol.or

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Cannot navigate to definition. The cursor is not on a symbol.
    ---------------------------
    OK
    ---------------------------

The reason is that Visual Studio 2010 still thinks I am clicking the identifier (which I’m not, I just released the mouse button) while pressing the Ctrl key. Read the rest of this entry »

Posted in .NET, Delphi, Development, Keyboards and Keyboard Shortcuts, Power User, Software Development, Visual Studio 2010, Visual Studio and tools | Leave a Comment »

Eric Lippert’s comment and answer explaining nullable operator lifting (c# – Why does the == operator work for Nullable when == is not defined? – Stack Overflow)

Posted by jpluimers on 2012/03/07

It seems I’m not the ony one who watches what Eric Lippert writes closely.

Eric works at the C# team at Microsoft (since 1996, which is about the time Anders Hejlsberg joined Microsoft).

Unlike Anders, Eric is much more visible. I regularly read his blog, and watch his StackOverflow.com contributions (RSS feed) on a regular base.

Recently, he posted a awesome comment “Nullable is nothing but magic” on a the question “C# – Why does the == operator work for Nullable when == is not defined?“, together with a very concise answer explaining that in C# most operators are ‘lifted to nullable’.

Note his tiny – but important – mention that for == VB.net behaves different than C#.

Note that Eric is very productive, he usually contributes to StackOverflow.com multiple times a day, sometimes with material that (at least for me <g>) need a while before I really get the point.

Recommended reading :)

–jeroen

via: c# – Why does the == operator work for Nullable when == is not defined? – Stack Overflow.

Posted in .NET, C#, C# 2.0, C# 3.0, C# 4.0, Development, Software Development, VB.NET | Leave a Comment »

Anyone with a C#, Delphi or FreePascal implementation of the PRESENT Ultra-Lightweight Block Cipher encryption?

Posted by jpluimers on 2012/03/06

A short while ago a paper got published on PRESENT: An Ultra-Lightweight Block Cipher by Andrey Bogdanov et al becoming ISO standard 29192-2:2012.

Is there anyone that has a C#, Delphi or FreePascal implementation with unit tests?

–jeroen

Posted in .NET, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Delphi, Development, Software Development | 13 Comments »

#WordPress Editor #keyboard #shortcuts

Posted by jpluimers on 2012/03/05

Both the WordPress Visual editor and HTML editor accept keyboard shortcuts. The built in WordPress Visual editor is based on TinyMCE where some of the shortcuts come from.

Since I’m a keyboard guy, I collected some information on keyboard shortcuts over time, and below is a table with what I collected for both editors.

That, combined with distraction free writing really gives WordPress a boost.

Most of the shortcut keys use the modifier keys ALT plus SHIFT.

Note that on a Mac, you will have to use the “command” key in stead of the “CTRL” key.

Visual Editor

You can see what these shortcuts do in the WordPress Visual Editor support page.

Function Shortcut Keys Alternative Shortcut Keys
Undo CTRL + z
Redo CTRL + y
Headers (H1, H2, H3, …, H6) CTRL + 1 … 6
Paragraph CTRL + 7
Format CTRL + 8 (doesn’t work on a Mac)
Address CTRL + 9
Bold ALT + SHIFT + b CTRL + b
Italic ALT + SHIFT + i CTRL + i
Underline CTRL + u
Strike through with red (delete) ALT + SHIFT + d
Align left ALT + SHIFT + l
Align center ALT + SHIFT + c
Align right ALT + SHIFT + r
Blockquote ALT + SHIFT + q
Unquote/outdent ALT + SHITF + w (doesn’t work on a Mac)
Code ALT + SHIFT + c (doesn’t work, is “align center”)
Unordered List (ul) ALT + SHIFT + u
Ordered List (ol) ALT + SHIFT + o
List item (li) ALT + SHIFT + l (doesn’t work, is “align left”)
A Hyperlink (a) ALT + SHIFT + a
Line break SHIFT + Enter
Read more ALT + SHIFT + t
Next page ALT + SHIFT + p
Media insert (image/video/…) ALT + SHIFT + m (on a Mac, it also inserts a Ã)
ins ALT + SHIFT + s (doesn’t work on a Mac)
del ALT + SHIFT + d (doesn’t work on a Mac)
Distraction free writing ALT + SHIFT + g
Enable “Kitchen Sink” Toolbar ALT + SHIFT + z
View HTML code ALT + SHIFT + e (doesn’t work on a Mac)
Advanced Editor ALT + SHIFT + v (doesn’t work)
Spell check ALT + SHIFT + n
Rich Editor Help ALT + SHIFT + h
  • Unused ALT + SHIFT + letter combinations: f, y, j, k, x.

HTML editor (don’t work on a Mac)

Though the sources I used (see bullets below) indicate the below table should work, they don’t.

So: no HTML shortcuts on Mac or PC, which is a shame.

The only reason I use the HTML editor once in a while are these:

Function Shortcut Keys Alternative Shortcut Keys
Bold ALT + SHIFT + b
Italic ALT + SHIFT + i
Strikethrough ALT + SHIFT + d
Blockquote ALT + SHIFT + q
Code ALT + SHIFT + c
Unordered List ALT + SHIFT + u
Ordered List ALT + SHIFT + o
A Hyperlink ALT + SHIFT + a
Read more ALT + SHIFT + t
View HTML code ALT + SHIFT + e
Headers (H1, H2, H3, …) Ctrl + corresponding number
Insert date/time ALT + SHIFT + s
Insert IMG URL ALT + SHIFT + m
List Item (li) Alt + SHIFT + l
Publish the Post Alt + SHIFT + p
Redo CTRL + y
Undo CTRL+z

–jeroen

via:

Posted in Keyboards and Keyboard Shortcuts, Power User, SocialMedia, WordPress | 1 Comment »

Windows 8 Consumer Preview ISO formats: Microsoft, please do this the same for Visual Studio 11 (#VS11 #W8)

Posted by jpluimers on 2012/03/02

Hopefully they will add Visual Studio 2011 ISOs (no, not the current ones that still download the prerequisites in the background) like they did with the Windows 8 Consumer Preview ISOs:

English

64-bit (x64) Download (3.3 GB) Sha 1 hash — 1288519C5035BCAC83CBFA23A33038CCF5522749
32-bit (x86) Download (2.5 GB) Sha 1 hash — E91ED665B01A46F4344C36D9D88C8BF78E9A1B39
Product Key DNJXJ-7XBW8-2378T-X22TX-BKG7J

–jeroen

via: Windows 8 Consumer Preview ISO formats.

Posted in .NET, Development, Power User, Software Development, Visual Studio 11, Visual Studio and tools, Windows, Windows 8 | 2 Comments »

Zo moet het dus niet: Zorg en Zekerheid zet relatienummer niet meer op polisblad (gemiste kans voor @zorgenzekerheid)

Posted by jpluimers on 2012/03/02

Verminderen van lastendruk is leuk, maar het is natuurlijk niet de bedoeling dat gegevens die op een verzekeringspas ineens niet meer op de polis staan.

Zorg en Zekerheid krijgt het toch voor elkaar: op het polisblad van 2012 staat het relatienummer niet meer vermeld, alleen het BSN nummer.

Als curator van mijn broer doe ik vrijwel al zijn administratie, dus ook het aanmelden van een vakantiekamp voor mensen met een verstandelijke beperking.

Die willen graag het relatienummer weten (en het BSN nummer geven gaat mij wat ver: hoewel ik de organisatoren vertrouw, ben ik bij mijn broer nog huiveriger voor identiteitsdiefstal dan voor mijzelf).

Die verzekeringspas (waar beide nummers op staan) is al een jaar of 3 oud, dus wat lastiger electronisch terug te vinden dan het polisblad.

Dank Zorg en Zekerheid dat jullie het voor elkaar krijgen om dit soort dingen moeilijker te maken!

–jeroen (die gelukkig vrijwel alles met een Fujitsu ScanSnap S510 gescand heeft met betekenisvolle bestandsnamen en voor Everything)

Posted in About, LifeHacker, Opinions, Personal | Leave a Comment »

version v3.3.4.14431 of Beyond Compare released by Scooter Software

Posted by jpluimers on 2012/03/02

About a week ago, version v3.3.4.14431 of Beyond Compare was release by Scooter Software.

For me, this is the ultimate comparison tool as it runs on Windows and Linux natively or under WINE on Mac OS.

It has a massive change list:

-----------------------------------
v3.3.4.14431      February 24, 2012
-----------------------------------

- Notable Changes
  - Fixed context menus on newer versions of Konqueror, Thunar, and Nautilus.
  - FILE-REPORT (and TEXT-REPORT, etc.) commands will now accept a saved file
    compare session name instead of a pair of files.  E.g., "file-report
    layout:side-by-side output-to:printer MySession".

- Archives
  - Fixed extracting files where a single deflate block contains more than 1MB
    of data.
  - Fixed zips showing non-existent files if a zip contained another zip and
    the outer one had additional data after the archive comment.
  - Attempting to extract a file from a zip using an unsupported compression
    algorithm now shows that as an error.
  - Split up zip error messages for "Error during extraction" and "Unsupported
    compression algorithm".

- Data Compare
  - Fixed "Extract HTML table(s)" handling of UTF-16 files.

- File Formats
  - OpenOffice default character encoding is now UTF-8.
  - Fixed "COBOL Source" format to include "Identifier" definition.
  - "Picture Files" format added CUT, GED, MSK, PFR, and TUB to mask, removed
    PAL.

- File Views
  - Fixed saving files with paths between 247-259 characters long.
  - Fixed foreground selection coloring when using white on blue system colors.
  - Added key accelerators to "Save changes" dialog.

- Folder Compare
  - Long file operations will now keep Windows from going to sleep due to
    inactivity.
  - Using "Compare to" to open a file view and then using "Next/Previous
    Difference Files" now closes the file view.

- FTP
  - Fixed support for FTP listings with filenames containing Chinese
    month/year characters.
  - Fixed parsing Comau C5G FTP listings.

- Home View
  - When editing a session, dropped files/folders are ignored unless they're
    on a path edit.
  - Expand All and Collapse All commands now affect the shared and auto-saved
    sessions nodes.
  - Fixed behavior when using "Collapse All" hides the currently selected
    session.

- Linux
  - Fixed context menus on newer versions of Konqueror, Thunar, and Nautilus.
  - Fixed Folder Compare crash when performing rules-based comparisons.
  - Fixed clicking the "Next Difference Files" link on the message panel when
    using "Next Difference" at the end of a comparison.
  - Fixed various comboboxes incorrectly allowing editing.

- Misc
  - Fixed menu checkboxes not showing on Vista and Windows 7 when using the
    Classic Theme.
  - Dropping files/folders onto a path edit no longer changes the edit if the
    drop results in a new view.
  - Added "RE Examples" buttons to Grammar Item dialog.
  - Improved Open/Save dialog handling of file type options.

- Options
  - "Customize Commands" dialog's "Default" command now checks to see if
    shortcut is already in use.

- Picture Compare
  - "Difference Offset", "Flip", and "Rotate" are now persistent session
    settings.
  - Fixed handling of DIB, MSK, and RLE bitmap files.

- Registry Compare
  - Fixed loading .reg files with a '\' before hex data.
  - Fixed loading .reg files with a ']' in a key name.

- Scripting
  - FILE-REPORT (and TEXT-REPORT, etc.) commands will now accept a saved file
    compare session name instead of a pair of files.  E.g., "file-report
    layout:side-by-side output-to:printer MySession".
  - LOG command will now create the target folder if it doesn't exist.
  - Fixed support for STRIKEOUT-RIGHT-ORPHANS in TEXT-REPORT command.

–jeroen

via: Beyond Compare ChangeLog

Posted in *nix, Power User, Windows, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Vista, Windows XP | Leave a Comment »

VMware workstation will re-create different vmnet1 and vmnet8 when updating from 8.0.1 to 8.0.2

Posted by jpluimers on 2012/03/01

Sometimes you have a DUH moment.

I just had was one: I upgraded VMware Workstation to 8.0.2 a couple of days ago.
Today one the less frequently used development virtual machines would not see the SQL Server 2000 alias it could find before.

Reasons:

  1. the ALIAS cannot be found through DHCP, so it was in the HOSTS table on the development virtual machine.
  2. the subnet of vmnet1 and vmnet8 got changed because the VMware update actually is performed ad a complete reinstall.

I blogged about the SQL Server 2000 alias last week, but in fact the work had been more than 2 months ago, so it took me a while to add up reasons 1 and 2 and find out the answer was in fact 3:

Reset the VMware vmnet1 and vmnet8 to the subnets they were before, and everything works fine and all is dandy again.

–jeroen

Posted in Power User, VMware | Leave a Comment »