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 January 19th, 2021

Node-RED is on my research list.

Posted by jpluimers on 2021/01/19

Cool stuff that is on my research list: redundancy through Node-RED.

NodeRED Multi-Node Redundancy Example – YouTube:

A simple proof of concept showing how to implement multi-node redundancy using four NodeRED instances, with Modbus TCP Remote IO.

Example Flow: https://app.box.com/s/mevo3fq9u6x6khr…

Parts used:

  • WAGO
    • 750-352 Ethernet Coupler ModbusTCP
    • 750-1506 8ch DI/DO 24VDC Module
    • 750-461 RTD Module
    • 750-600 End Module
    • 787-1602 24VDC 1A PS
    • 789-801 DIN push button
  • Raspberry Pi 3b +
  • DIN Rail mount: www.DINrPlate.com

–jeroen

Read the rest of this entry »

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

GitHub – drewnoakes/string-theory: Identify and reduce memory used by duplicate .NET strings

Posted by jpluimers on 2021/01/19

[WayBack] GitHub – drewnoakes/string-theory: Identify and reduce memory used by duplicate .NET strings:

Identifies opportunities to improve heap memory consumption by strings.

Finds duplicate strings and provides ways to see what object graphs are keeping them alive.

Once you identify a suspicious referrer, you can query to see what other strings it is holding across the whole heap, and the total number of wasted bytes.

Cool tool to help trim down .NET string memory usage.

Via: [WayBack] drewnoakes on Twitter: “This week I published #StringTheory, a tool for analysing and reducing the memory used by strings on the managed .NET heap. We are using it to improve @VisualStudio performance, with encouraging results so far. Try it on your apps!”

–jeroen

Posted in .NET, Development, Software Development | Leave a Comment »

The Indy unit `IdObjs` got removed after Delphi 2007

Posted by jpluimers on 2021/01/19

I came across some very old code that used the IdObjs unit as it was depending on the TIdStringStream type.

Digging around, I found the unit has been removed from Indy after the Delphi 2007 era.

If you need to transition away, these links – including an old version of it – will help:

Note it is still referenced from [WayBack] indy/IdTestObjs.pas at master · graemeg/indy · GitHub.

–jeroen

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