Posted by jpluimers on 2017/08/10
TL;DR of [WayBack] Experiments 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: [WayBack] Erik 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 »
Posted by jpluimers on 2017/08/10
As since E1026 is [WayBack] documented 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 »
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 »
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 »
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 »
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 »