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

Archive for August 8th, 2017

Sorting visualised with traditional folk dancing

Posted by jpluimers on 2017/08/08

Some really cool YouTube videos below nicely visualise different sorting algorithms are in the playlist below.

They are an extension of https://www.youtube.com/user/AlgoRythmics/videos

It impressed me more than the audible playlist I wrote about in Fun to watch/listen to: Sorting Algorithms (slower, grouped and ordered) – YouTube, likely because the various steps in each sorting algorithm are much more clear.

To me it’s also more entertaining than Sorting | Visual.ly, even though the latter even more clearly show the various operations in a sorting algorithm.

Not all algorithms are covered; https://www.toptal.com/developers/sorting-algorithms/ has many more of them and to my surprise, Heap Sort beats Quick and Quick3 sort on various distributions.

Discussing sorting seems a never ending story…

–jeroen

via: [WayBack] Best description of Bubblesort i’ve ever seen °.° – Fabian S. Biehn – Google+

Read the rest of this entry »

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

Some git links that helped me

Posted by jpluimers on 2017/08/08

For my link archive:

–jeroen

Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »

If you ever wonder why you get no (or incomplete) RTTI from a control that you…

Posted by jpluimers on 2017/08/08

Thanks Stefan Glienke for posting this a while ago:

If you ever wonder why you get no (or incomplete) RTTI from a control that you inherited from a DevExpress one – then look into cxVer.inc where it has the following lines:

{$IFNDEF CXTEST}
{$WEAKLINKRTTI ON}
{$RTTI EXPLICIT METHODS([]) FIELDS([]) PROPERTIES([])}
{$ENDIF}

+Martin Wienold was wondering (and so was I at first) why he could not properly resolve a form from the DI container that inherited from TdxRibbonForm despite writing a public method with [Inject] attribute on it but it was never called.

Warning: If you are using DevExpress or any other source code that does this (changing the $RTTI directive) and build these sources together with your application (in contrast to using precompiled dcus or even packages) on a version <XE6 then you might suffer from this issue: [WayBack] #79943: {$ RTTI} flag scope which causes RTTI to disappear even from units that did not have the $RTTI in them.

Source: If you ever wonder why you get no (or incomplete) RTTI from a control that you…

 –jeroen

Posted in Delphi, Delphi 10 Seattle, Delphi 10.1 Berlin (BigBen), Delphi 2009, Delphi 2010, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, QC, Software Development | Leave a Comment »