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

Experiments in Uniform Memory Management – grijjy blog

Posted by jpluimers on 2017/08/10

TL;DR of [WayBackExperiments in Uniform Memory Management – grijjy blog:

the closest we can get to uniform memory management is to use object interfaces

The reason is that cross platform memory management in Delphi is a mess.

Via: [WayBackErik van Bilsen – Google+ I share some results of my quest for a uniform memory management model across all platforms. For some reason, it also touches on old-school linked lists and new-school messaging…

–jeroen

 

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

Delphi Error: E1026 File not found: ‘Controls.res’ – Google Search

Posted by jpluimers on 2017/08/10

As since E1026 is [WayBackdocumented as x1026 since Delphi 2007 probably because it can manifest itself as W1026 as well, I thought Delphi Error: E1026 File not found: 'Controls.res' also be related to F1026: When the Delphi XE5 commandline compiler fails with error F1026: File not found: ‘False.dpr’

But it wasn’t.

Then I thought it might have to do with Unit Scope names.

Often an upgrade of a pre-XE2 project where old names of units (like Controls [no WayBack]) were used in stead of Unit Scoped [WayBack] prefixed units (like Vcl.Controls [WayBack]) wrongly makes the Unit Scope Names list in Project > Options > Delphi Compiler empty.

Such an empty list causes the normal mapping of unit name to scoped unit name as described in Unit Names Alphabetical List with Unit Scopes [WayBack] to fail. That results in a F2613 Unit ‘%s’ not found [WayBack] or rarely a F1027 Unit not found ‘%s’ or binary equivalents (%s) (Delphi) [WayBack].

So that wasn’t the cause either.

Read the rest of this entry »

Posted in Delphi, Delphi XE2, Development, Software Development | Leave a Comment »

Using BC4 OSX with Version Control Systems

Posted by jpluimers on 2017/08/10

A great thread about Using BC4 OSX with Version Control Systems, -Tools and IDEs.

Some highlights:

–jeroen

Posted in Beyond Compare, CVS, Development, DVCS - Distributed Version Control, git, Mercurial/Hg, Power User, Software Development, Source Code Management, SourceTree, Subversion/SVN, TFS (Team Foundation System) | Leave a Comment »

Always a good idea to run firewalled

Posted by jpluimers on 2017/08/09

I just tried to quit Delphi when Refactor Rename screwed up again:

jeroen

Posted in Delphi, Delphi XE8, Development, Software Development | Leave a Comment »

DELL 9200 blinking orange power button LED

Posted by jpluimers on 2017/08/09

I had distributed my DELL 9200 machines over some family and friends.

After 10+ years, one of them was showing the [Wayback/Archive.is] “blinking orange” power button LED. Usually this means a power supply issue and in this case [Wayback] these are tower machines compatible with a regular ATX power supply.

So the fix was a basic power supply exchange like mentioned here:

Note: if you have steady orange power button LED blinking, then you need to check the main-board capacitors as this video below shows.

–jeroen

Read the rest of this entry »

Posted in DELL-9200, Hardware, Power User | Leave a Comment »

Software Design Patterns Are Not Goals, They Are Tools

Posted by jpluimers on 2017/08/09

From a while ago: Software design patterns are tools, not goals. Use them as such, and only when you actually need them, not before.

Recommended reading!

via: Oh, hell yeah – Richard Haven – Google+

–jeroen

 

Posted in Design Patterns, Development, Software Development | Leave a Comment »

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 »

Photographer captures Miami Beach air show with Nikon 800mm and custom rig

Posted by jpluimers on 2017/08/07

Cool pictures and ditto rig via:

–jeroen

Posted in About, LifeHacker, Personal, Photography, Power User | Leave a Comment »