jpluimers
Bad surprise of the day: SysUtils.TEncoding in XE2+ defaults to ANSI, while in XE it defaulted to UTF-8 .Among other things this means that TStringList… – Eric Grange – Google+ Source: Bad surprise of the… … Read more
5 years ago in Delphi, Development, Software Development0
jpluimers
I’m probably getting a truckload of anti-FreeAndNil folks over me, but there are cases this comes in useful, so having an overloaded version cutting down code ceremony makes sense: [WayBack] interface – Avoiding nested try…finally blocks in… … Read more
5 years ago in Delphi, Development, Software Development0
jpluimers
Too many people forget this (including myself) every now and then) so here is a reminder to use the [WayBack] SetString method when assigning strings from memory regions having characters but no null terminator: Anyway, assuming that… … Read more
5 years ago in Delphi, Development, Software Development0
jpluimers
As this is still an issue with current Delphi versions: every now and then it looses which designers are needed for a frame: [WayBack] What is the easiest way of getting Delphi to accept a… … Read more
5 years ago in Delphi, Development, Software Development0
jpluimers
Reminder so self: [WayBack] sglienke / Spring4D / source / Source / Reactive / Spring.Reactive.pas — Bitbucket fragments: type TInterlocked = SyncObjs.TInterlocked; TInterlockedHelper = class helper for TInterlocked // TODO: move to Spring.pas class function CompareExchange<T: IInterface>(var… … Read more
5 years ago in Delphi, Development, Software Development0
jpluimers
From an interesting discussion at [Archive.is/WayBack] FaceBook: Delphi developer thread by Jarto Tarpio with some measurements by Jarto Tarpio and André Mussche. Manipulation of strings and lists in Delphi have high memory allocation/deallocation rates, so… … Read more
5 years ago in Delphi, Development, FastMM, Software Development0
jpluimers
For my link archive: [WayBack] Does anyone knows a existing implementation of bcrypt or scrypt for delphi? – Fabian S. Biehn – Google+: [WayBack] GitHub – JackTrapper/scrypt-for-delphi: Scrypt implementation for Delphi [WayBack] Git… … Read more
5 years ago in Delphi, Development, Encryption, Power User, Security, Software Development0
jpluimers
Via [WayBack] We kick off a week of MVVM with an introduction of the Model-View-ViewModel pattern and how data binding is used to realize it. – Erik van Bilsen – Google+: [WayBack] MVVM – grijjy… … Read more
5 years ago in Delphi, Development, Software Development0
jpluimers
I wish I could have prepared something more substantial for the 25th Delphi birthday. Alas: life has been tough (see below), so please keep an eye on these search terms, hash tags and start posts… … Read more
5 years ago in Delphi, Development, Software Development0
jpluimers
If a part of a method requires implicit setup/tear-down code (for instance when using managed types like arrays, strings, etc), especially in rarely taken execution paths, then consider putting that code in a separate method…. … Read more
5 years ago in .NET, Delphi, Development, Software Development0
jpluimers
Based on [WayBack] Bummer, cannot save a Delphi desktop named “Default Layout – right 3/4” – at load this one seems to be restored, but the list does not contain that entry. – Jeroen Wiert… … Read more
5 years ago in Delphi, Development, Software Development0
jpluimers
[WayBack] Catch Me If You Can: the LLVM backend cannot return from a hardware exception (like AV) if the hardware exception is raised directly within a try…except block. It can only safely return if there is a… … Read more
5 years ago in Delphi, Development, Software Development0