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 4,224 other subscribers

Archive for March 10th, 2014

Sorting algorithms are art forms. Just see and hear how beatutiful they are.

Posted by jpluimers on 2014/03/10

Image and video art came through SORTING – A visualization of the most famous sorting algorithms and 15 Sorting Algorithms in 6 Minutes – YouTube.

Both via This is why I Code – Google+

Posted in .NET, Delphi, Development, Opinions, Software Development | 3 Comments »

QR code tools: parsing and generating

Posted by jpluimers on 2014/03/10

So I won’t forget.

On-line parsers:

On-line generators:

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Fix je Facebook met Social Fixer – Lifehacking

Posted by jpluimers on 2014/03/10

Briljant! Fix je Facebook met Social Fixer – Lifehacking.

Posted in Chrome, Facebook, Google, Power User, SocialMedia | Leave a Comment »

Delphi/Turbo Pascal: AppendWithRetry for text files to retry Append

Posted by jpluimers on 2014/03/10

Every once in a while you have multiple threads or processes wanting to write a short message to the same log file. Append then will give you an I/O error 32 (ERROR_SHARING_VIOLATION), but the below small routine will sleep a bit while retrying a couple of times.

It uses these Delphi aspects around the $I or $IOCHECKS compiler directive:

  • in $I+ mode, you get exceptions when certain “classic” Pascal style I/O operations fail.
  • in $I- mode, you access the IOResult to obtain the results of those I/O operations
  • IOResult gets the result of the last failed operation (if any) or zero if none failed
  • IOResult clears the underlying storage to zero
  • $IFOPT checks for a certain state of a compiler flag
  • You can store the state of $OPT in a temporary conditional define

Note there are a few tables of codes you can get back through IOResult as basically you can get many GetLastError results in IOResult as well: Read the rest of this entry »

Posted in Delphi, Delphi 1, Delphi 2, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi 8, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | 2 Comments »

Why good storytelling helps you design great products | Google Ventures

Posted by jpluimers on 2014/03/10

Very interesting blog post: Why good storytelling helps you design great products | Google Ventures.

–jeroen

Posted in Agile, Development, Software Development | Leave a Comment »

 
%d bloggers like this: