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 2015

Hash Toolkit – Reverse MD5 / SHA1 Hashes

Posted by jpluimers on 2015/11/11

Interesting: Hash Toolkit – Reverse MD5 / SHA1 Hashes

They generate and allow you to generate various hashes, and store both the hash and original so you can reverse it.

Not meant for production data, but an approach for verifying if you do hashing correctly.

–jeroen

via: Hash Toolkit – Reverse MD5 / SHA1 Hashes.

Posted in Development, Hashing, md5, Power User, Security, Software Development | Leave a Comment »

c# – TFS Code Reviews – Show updated files in response to comments – Stack Overflow

Posted by jpluimers on 2015/11/10

Nice steps here: c# – TFS Code Reviews – Show updated files in response to comments – Stack Overflow.

What’s missing here is that you now loose your history within the shelve-set.

That makes it harder for the reviewer to view the changes being re-reviewed.

–jeroen

Posted in Development, Software Development, TFS (Team Foundation System), Visual Studio 2010, Visual Studio 2013, Visual Studio 2014, Visual Studio and tools | Leave a Comment »

“Checking connection…this can take up to two minutes…” : oneplus

Posted by jpluimers on 2015/11/09

Duh: “Eventually you can skip it. Should connect fine after that.”

Source: “Checking connection…this can take up to two minutes…” : oneplus

Posted in Uncategorized | Leave a Comment »

Tamikrest – Aratane N’Adagh – [HQ] – YouTube

Posted by jpluimers on 2015/11/09

Great music find by Jan Wildeboer a while ago.

In the thread some more African music is mentioned by Ferdinand Thommes

–jeroen

https://www.youtube.com/watch?v=1pjmdm5HOvY

Playlist of Tamikrest related songs.

https://www.youtube.com/watch?v=1pjmdm5HOvY&list=RD1pjmdm5HOvY

Ali Farka Touré:

https://www.youtube.com/watch?v=g0iaTsSHuWY

And some I found myself:

https://www.youtube.com/watch?v=qEwnHf9Q23k

 

Posted in About, G+: GooglePlus, Media Streaming, Personal, SocialMedia, YouTube | Leave a Comment »

how to open vsdx files with visio 2010 – via: Microsoft Community

Posted by jpluimers on 2015/11/09

Easy if you know how

VSDX files can be opened easily in Visio 2010:

  1. Install Visio 2010 Sp2 from http://support.microsoft.com/kb/2687468/en-us
  2. Install “Compatibility Pack” from http://www.microsoft.com/en-us/download/details.aspx?id=39640

VSDX files will then be recognized as Visio Files by Visio 2010.

Direct downloads at the time of writing:

Description of Visio 2010 SP2:

Download Service Pack 2 for Microsoft Visio 2010 (KB2687468) 32-Bit Edition from Official Microsoft Download Center.

Download Service Pack 2 for Microsoft Visio 2010 (KB2687468) 64-Bit Edition from Official Microsoft Download Center.

Download Microsoft Visio Compatibility Pack from Official Microsoft Download Center.

–jeroen

via: how to open vsdx files with visio 2010? – Microsoft Community.

Posted in Office, Office 2007, Office 2010, Power User, Visio | Leave a Comment »

USB tethering to/from Android for Windows, Mac, Linux- via: Koushik Dutta – Google+

Posted by jpluimers on 2015/11/06

If I ever need USB tethering from Android:

Or reverse tethering to Android:

–jeroen

via Koushik Dutta – Google+.

Posted in Android Devices, Power User | Leave a Comment »

Life in a post-database world: using crypto to avoid DB writes

Posted by jpluimers on 2015/11/05

Interesting: Life in a post-database world: using crypto to avoid DB writes.

For some security related operations, you only need smart use of HMAC, and no temporary database entries.

Thanks for the Jan Wildeboer referral to this.

–jeroen

Posted in Development, Hashing, Power User, Security, Software Development | Leave a Comment »

Programming is Gardening, not Engineering

Posted by jpluimers on 2015/11/04

Pragmatic Programmers Andy Hunt and Dave Thomas talk with Bill Venners about a gardening metaphor for software development, the reasons coding is not mechanical,and the stratification of development jobs.

Source: Programming is Gardening, not Engineering

Posted in Uncategorized | Leave a Comment »

Do not expose properties with writeable fields without a chance to react on the writes.

Posted by jpluimers on 2015/11/04

From a chat with a co-worker a while ago:

I’m not against properties. Just something against properties properties that are objects with writeable fields.

So even if you expose such a property as read-only, it can still get its writeable fields overwritten.

That is a pain when those are part of the state of the underlying object.

In other words: encapsulate your state changes.

Here we solved it by making

  • the type of the property immutable
  • the property writeable
  • react on state changes during the write

Proper encapsulation.

In this case it was a project mixing C# and Delphi, but you can easily apply the above to any language featuring classes and properties.

Another solution would have been to extend the type of the property so it can expose an event that fires during change. Much more convoluted.

–jeroen

Posted in .NET, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Delphi, Delphi 10 Seattle, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development | 2 Comments »

c#: Lazy is not constrained to static contexts, instance field initialisers are – via: Stack Overflow

Posted by jpluimers on 2015/11/03

Lazy<T> is not constrained to static contexts.

Instance field initialisers cannot use instance references (but can use static references) as they run outside of the constructor.Though there are arguments for instance field initialisers too., I think this is a good reason to initialise fields inside the constructor: there you do have access to instance references (but should not call virtual instance methods or properties) which leads to another reason: consistency as field initialisers run in the opposite hierarchy order as constructors (incidentally causing this virtual method restriction).

Boy, that was a long sentence (:

–jeroen

via:

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development | Leave a Comment »