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 January, 2014

Copy.com can recover files, not from the web, but from the Windows and Mac UI (via Can I recover deleted files? : Copy)

Posted by jpluimers on 2014/01/09

Didn’t know this was possible in copy.com. In DropBox this is a breeze in the Web interface (full history of all files is accessible) but I always try to be better safe than sorry:

The Windows and Mac OS X user interfaces of the Copy.com tool can undelete files though: Can I recover deleted files? : Copy.

Good to know, as eventually I’m probably going to need this.

–jeroen

Posted in Copy.com, DropBox, Power User, SocialMedia | Leave a Comment »

When two types are not the same: Assembly Load Contexts Subtleties (via: All Your Base Are Belong To Us)

Posted by jpluimers on 2014/01/09

Reading c# – Type.IsSubclassOf does not behave as expected – Stack Overflow, I found this very interesting link via Assembly Load Contexts Subtleties at Sasha Goldshtein’s blog (I love the name of the blog: All Your Base Are Belong To Us).

He explains the reasons for the error message

System.InvalidCastException: Unable to cast object of type ‘Plugin.MyPlugin’ to type ‘Plugin.MyPlugin’.

Actually his blog entry is an abstract of a 200+ page thesis on  that is also recommended reading: Flexible Dynamic Linkin for .NET (by Anders Aaltonen, Alex Buckley and Susan Eisenbach).

–jeroen

via:

Posted in .NET, .NET 3.5, .NET 4.0, .NET 4.5, .NET CF, C#, C# 3.0, C# 4.0, C# 5.0, Development, Software Development | Leave a Comment »

The Self-resetting Raspberry Pi » RasPi.TV

Posted by jpluimers on 2014/01/08

Cool: now you can use a Raspberry Pi to play Watchdog (:

–jeroen

via: The Self-resetting Raspberry Pi » RasPi.TV.

Posted in Development, Hardware Development, Raspberry Pi | Leave a Comment »

Accessing Mac Hard Drives from Windows 7/8: Boot Camp Support Software 5.0.5033

Posted by jpluimers on 2014/01/07

If you want to read  a Mac HFS+ formatted disk from Windows 7/8 then you can use the Boot Camp Support Software 5.0.5033.

It is a large download (about half a gigabyte, uncompressed 800+ megabyte) of which you need only this file:

  • BootCamp5.0.5033.zip\BootCamp\Drivers\Apple\BootCamp.msi

When you want to write HFS+, then MacDrive works fine and has a 5-day fully functional trial (so you can verify really large files transfer fine).

The other way around is built in, but not enabled by default. To have a Mac read and write NTFS volumes, you have to edit your /etc/fstab file as explained in will mountain lion read/write to an…: Apple Support Communities to which I added some hyperlinks. Note there are also NTFSFree and OSXFuse (which is the successor of MacFuse). Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, OS X 10.8 Mountain Lion, Power User, Windows, Windows 7, Windows 8 | Tagged: , , | 1 Comment »

How to downgrade my VM to Hardware Version 8 in Fusion 5 and Workstation 9 (via: SkytapDocs)

Posted by jpluimers on 2014/01/07

Just in case I ever need to do this again: How to downgrade my VM to Hardware Version 8 in Fusion 5 and Workstation 9 – SkytapDocs.

It is easy, and I needed to move a VMware Workstation 9 VM to a machine that had only VMware Fusion 4 installed (various reasons, mainly backward compatibility with some very old Windows VMs that VMware Fusion 6 complains about but which as going to be phased out “real soon now“).

–jeroen

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

In my research list: Bvckup 2 | Simple fast backup

Posted by jpluimers on 2014/01/07

Need to check this out later this month: Bvckup 2 | Simple fast backup.

–jeroen

Posted in Power User, Windows | Leave a Comment »

.NET/Visual Studio: The ContextSwitchDeadlock doesn’t necessarily mean your code has an issue.

Posted by jpluimers on 2014/01/07

Thanks Pedro! (emphasis below is mine)

The ContextSwitchDeadlock doesn’t necessarily mean your code has an issue, just that there is a potential.

If you go to Debug > Exceptions in the menu and expand the “Managed Debugging Assistants”, you will find ContextSwitchDeadlock is enabled.

If you disable this, VS will no longer warn you when items are taking a long time to process.

In some cases you may validly have a long-running operation.

It’s also helpful if you are debugging and have stopped on a line while this is processing – you don’t want it to complain before you’ve had a chance to dig into an issue.

–jeroen

via: c# – Visual Studio: ContextSwitchDeadlock – Stack Overflow.

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, Development, Software Development, Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »

Oops: Sendmail ok on 127.0.0.1 but not ip address

Posted by jpluimers on 2014/01/06

When configuring a fresh SUSE machine, I forgot one tiny detail resulting in Sendmail ok on 127.0.0.1 but not ip address.

Solution:

Please change in /etc/sysconfig/mail from SMTPD_LISTEN_REMOTE="no" to

SMTPD_LISTEN_REMOTE="yes"

then run SuSEconfig

and rcsendmail restart

–jeroen

via: Re: [SLE] Sendmail ok on 127.0.0.1 but not ip address.

Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »

Delphi SOAP: some reminders to Self

Posted by jpluimers on 2014/01/04

Hadn’t been doing SOAP in Delphi for a while, and needed to send some Delphi data structures over the write where both Client and Server were going to be Delphi.

These links helped me:

If both client and server are Delphi, you can share the interface units and registration.

Note: since native Delphi SOAP support uses old-skool RTTI, so any property you want to go over the wire needs to be published, not public.

If you want to go beyond that, or use other protocols than SOAP, use libraries for Delphi like RemObjects SDK.

–jeroen

Posted in Conference Topics, Conferences, Delphi, Delphi XE3, Delphi XE4, Delphi XE5, Development, Event, Software Development | Leave a Comment »

David Rodriguez: a few nice posts on SQL (via: Google+)

Posted by jpluimers on 2014/01/04

David Rodriguez posted a few nice SQL related entries on G+:

–jeroen

via: David Rodriguez – Google+.

Posted in Database Development, Development, SQL, SQL Server | Leave a Comment »