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

Archive for the ‘Delphi’ Category

Working with big data databases in Delphi – Cassandra, Couchbase and MongoDB (Part 3 of 3) – grijjy blog

Posted by jpluimers on 2019/06/06

Reminder to self to check out [WayBackWorking with big data databases in Delphi – Cassandra, Couchbase and MongoDB (Part 3 of 3) – grijjy blog and see if by now it supports authentication.

Repository: grijjy/DelphiMongoDB: A Delphi driver for MongoDB

Via: [WayBack] We finish our trilogy on big databases with a Delphi driver for MongoDB. – Erik van Bilsen – Google+

–jeroen

Posted in Delphi, Development, Software Development | 1 Comment »

windows – How to simulate drop-down form in Delphi? – Stack Overflow

Posted by jpluimers on 2019/06/05

Since I might need it one day: [WayBack] windows – How to simulate drop-down form in Delphi? – Stack Overflow

Via [WayBack] for whatever reason this SO question from 2015 showed up in my rss stream as “new or updated”. Interesting though. – Thomas Mueller (dummzeuch) – Google+

–jeroen

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

GrijjyCloudLogger, remote logging for Windows, iOS, Android, macOS and Linux – grijjy blog

Posted by jpluimers on 2019/06/05

Interesting use-case based on ZeroMQ and Google Protocol Buffers: [WayBackGrijjyCloudLogger, remote logging for Windows, iOS, Android, macOS and Linux – grijjy blog.

Everything is Open Source at GitHub:

Via: [WayBack] The Grijjy team is proud to introduce our GrijjyCloudLogger, https://blog.grijjy.com/2017/08/22/grijjycloudlogger-remote-logging-for-windows-ios-android… – Allen Drennan – Google+

–jeroen

Related: For my research list: Delphi and ZeroMQ

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

rvelthuis/BigNumbers: BigInteger, BigDecimal and BigRational for Delphi

Posted by jpluimers on 2019/06/04

Cool library: rvelthuis/BigNumbers: BigInteger, BigDecimal and BigRational for Delphi.

It has many Unit Tests written with DUnit.

Via: [WayBack] This is truly very cool project, if need to do math with pretty large numbers, check this out… – Tommi Prami – Google+

–jeroen

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

delphi – Sorting TDictionary by a key of Integer in ascending order – Stack Overflow

Posted by jpluimers on 2019/05/30

Great answer on [WayBackdelphi – Sorting TDictionary by a key of Integer in ascending order – Stack Overflow by J… comes down to this:

var
  LDictionary : TDictionary<Integer, string>;
  LArray : TArray<Integer>;
...
  LArray := LDictionary.Keys.ToArray();
  TArray.Sort<Integer>(LArray);

I was trying the wrong direction (functional approach like LArray := LDictionary.Keys.ToArray.Sort(); ), but the above procedural solution works.

Members used:

–jeroen

Posted in Delphi, Development, Software Development | 1 Comment »

GExperts Help: Copy component names

Posted by jpluimers on 2019/05/29

I totally forgot this expert existed [WayBackGExperts Help: Copy component names

–jeroen

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

TInterlocked.Exchange for interfaces?

Posted by jpluimers on 2019/05/29

Via [WayBack] TInterlocked.Exchange for interfaces? Since there is no System.SyncObjs.TInterlocked.Exchange overload for interfaces (and the Exchange versio… – Stefan Glienke – Google+

It has made it to this piece in [Archive.issglienke / Spring4D / source / Source / Reactive / Spring.Reactive.pas — Bitbucket:

class function TInterlockedHelper.Exchange<T>(var Target: T;
  const Value: T): T;
begin
  Result := Default(T);
  PPointer(@Result)^ := Exchange(PPointer(@Target)^, PPointer(@Value)^);
  if Assigned(Value) then
    Value._AddRef;
end;

It is similar to the TInterlocked.Exchange methods.

–jeroen

 

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

IDE Fix Pack 5.92 keyboard binding for finding references

Posted by jpluimers on 2019/05/28

Since I keep forgetting this piece of IDE Fix Pack 5.92 released – DelphiFeeds.com

The new version 5.92 now binds

  • Ctrl+Alt+Enter to “Find References” and introduces
  • Shift+Ctrl+Alt+Enter for “Find Local References”.

No shortcut toggling anymore.

–jeroen

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

Starting points for JSON unmarshaller, that applies a JSON string to an existing object…

Posted by jpluimers on 2019/05/28

Interesting subject: [WayBack] I am looking for a JSON unmarshaller, that takes the JSON string and apply it to the object (and not take an object and try to apply the JSON to it). E… – Nicholas Ring – Google+

A start by Stefan Glienke: [WayBackJsonDataObjectUnmarshall — Bitbucket

–jeroen

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

Useful settings for FastMM4 to tracking bottlenecks in multi-threaded memory allocation

Posted by jpluimers on 2019/05/23

Interesting thread that reminded me of the relatively new FastMM feature to track down lock contention and cope with it using release stacks:

[WayBack] I try use FastMM4 to tracking bottleneck in allocating memory. I was inspired by this Primož movie: https://www.youtube.com/watch?v=p-5mJyXvmrc When I… – Jacek Laskowski – Google+

The changes by Primož have added these two new conditional defines to the FastMM4 codebase:

These options are mutually exclusive.

This was the original post it got introduced in [WayBack] The Delphi Geek: Finding Memory Allocation Bottlenecks with FastMM4 and merged into the main repository.

FastMM introduction: [WayBack] The New Memory Manager In BDS 2006 – by Pierre le Riche.

It also taught me about [WayBack] RAMDisk – Software that Accelerates, Protects, Optimizes – Server Memory Products & Services – Dataram.

Primož stores his DCU files there: much faster than SSD, and far less wear on your SSD; see https://youtu.be/p-5mJyXvmrc?t=2675

–jeroen

Read the rest of this entry »

Posted in Conference Topics, Conferences, Delphi, Development, Event, FastMM, Software Development | Leave a Comment »