Delphi Dev
450 subscribers
1 photo
1 video
783 links
News, articles, books and videos from the world of Delphi development.
Download Telegram
​​Sometimes we have to investigate legacy code or code written by another programmer. For sure, in most cases this looks like a nightmare. But are there common approaches or patterns to do that quicker?

Just check out this article on how to quickly understand the code of a function.
If you have own experience or lifehacks, don't hesitate to share πŸ‘
https://www.fluentcpp.com/2021/11/30/how-to-quickly-understand-the-code-of-a-function/
The next interesting video tutorial by Alister Christie shows how to connect to the DeepStack Open-Source AI API engine from Delphi.

The provided small example app can detect objects in photos, name, and draw boxes around them. The DeepStack server with pre-built image recognition models can be run on multiple edge devices locally or on your private cloud.

This is no doubt πŸ‘
https://youtu.be/cGeTR09yudw
​​Two days left before an upcoming webinar that introduces Appercept AWS SDK for Delphi. This SDK provides access to Amazon storage, AI, and other services. It comes as part of Delphi and available to enterprise users of RAD Studio πŸ‘Œ

You can learn more and register here:
https://register.gotowebinar.com/register/2644374262915563020
​​A new E-mail sending example in Delphi that uses the TMS FNC UI RichEditor and the Clever SMTP components to compose and send HTML messages is available on GitHub.

The ReadMe file provides more description and steps to compile and run. Let's support and ⭐️ the repo!
https://github.com/CleverComponents/Clever-Internet-Suite-Tutorials/blob/master/vcl/MailSend-TMS-RichEditor/
​​Woah, AI makes a real challenge to devs. Now, deep learning algorithms can find and fix bugs in your code 😲
The researches' results are promising - about 26% of bugs can be found and fixed automatically.

BugLab, a name of the deep learning model, aims to find hard-to-detect bugs versus critical bugs that can be already found through traditional program analyses. Their approach promises to avoid the costly process of manually coding a model to find these bugs.

Just read the Microsoft research blog for more details πŸ‘
https://www.microsoft.com/en-us/research/blog/finding-and-fixing-bugs-with-deep-learning/
​​Wow, CleverComponents just released the Database Comparer VCL version 8.0

The new version introduces the UniDAC and IBObject connections. Added more support for the Firebird server, including Grant/Revoke privileges for stored procedures and functions, implemented the GetDbcBuildNo function that returns the current build number, and improved the design-time behavior for all components.

Database Comparer VCL now supports RAD Studio 11 Alexandria πŸ”₯

There are fixes for existing problems with the Table Data Comparer, DB Comparer, and the FireDAC Connection components, including analyzing the Firebird CTE syntax.

More detail on the product's website πŸ‘
https://www.clevercomponents.com/products/dbcvcl/
Yesterday Holger Flick, author and developer at FlixEngineering LLC, in a cooperation with TMS Software have announced a new video series for Delphi developers - How It Works With Holger.

The videos are aimed to answer most beginners questions and cover basic Delphi principles that will come in handy when using TMS controls or realizing any other programming task. The first video describes how to retrieve version info from app executables.

Enjoy and don't forget to πŸ‘
https://flixengineering.com/archives/1609
​​Hi, this is my first post in January of 2022. Guys from Delphi Worlds welcome to take part in testing their in-app update library for Play Store apps.
Please check out more details on their GitHub repo πŸ‘
https://github.com/DelphiWorlds/Playground/tree/main/Demos/AndroidUpdate
​​Two days left before an interesting webinar that covers the Python GUI Development with DelphiVCL and FMX. The event starts on Wed, January 12, 2022, 10.00 AM CST.
πŸ‘‰ You can register here:
https://register.gotowebinar.com/register/8203469868979515151

BTW: if you are interested in implementing the statistical and series analysis in your Delphi app, the following Python GUI resource can give you some interesting links πŸ‘
https://pythongui.org/what-you-need-to-add-powerful-statistical-and-series-analysis/
​​Wow, guys from tmssoftware have released a new version of their TMS VCL UI Pack. There are improvements in the Find- and Replace- dialogs, Inspector Bar, and some fixes in buttons and editors. It's no doubt good news πŸ‘

You can check out more details here:
https://www.tmssoftware.com/site/tmsvcluipack.asp
​​Yesterday Nick Hodges has published links to three interesting development articles. There are Git organizing discussion, error handling themes, and one man’s opinion on the engineers hiring questions these days.

Just check them out here, and don't forget to πŸ‘
https://nickhodges.medium.com/three-development-articles-that-interested-me-this-week-1-17-2022-beacaf23b3cb
Just watch this interesting video by tmssoftware that describes how to create a self-updating Delphi app that automatically updates the program using their WebUdate component πŸ‘
https://youtu.be/WmdDDt0EM5k

BTW: I know at least one more library with the same functionality that downloads updates in background, replaces app files, including executables, and restarts the app, if required.
You can check out the project repository on GitHub πŸ‘Œ
https://github.com/CleverComponents/Clever-Internet-Suite-Examples/tree/master/Delphi/WebUpdateApp
​​Today guys from CleverComponents have published a new Delphi example that starts listening to an incoming connection, accepts the connection, and receives all data over the established connection. No data is sent back to the client. This functionality might be useful when you debug a Network app and want to analyze the produced TCP traffic, e.g. using Wireshark.

The program uses the TcpServerConnection socket class from the Clever Internet Suite library to start listening on the specified local port and receive TCP packets over the Network.
https://www.clevercomponents.com/portal/kb/a180/silent-socket-receiver-in-delphi.aspx

The program can be easily modified to send TCP response back to the connected client because the sources are available on GitHub πŸ‘
https://github.com/CleverComponents/Clever-Internet-Suite-Tutorials/tree/master/vcl/SilentSocketReceiver
​​Yet another post about design patterns. If you use the patterns in your code, please check out this big article that might help you to tackle certain problems in certain situations.

I know guys who learned patters one-by-one to quickly apply them when coding. To be honest, I didn't learn design patterns so closely, but used some of them, such as Singleton and Visitor. In fact, they was helped me a lot.

The article covers, I think, the most of possible design patterns and provides good code examples.
The examples are not in Delphi, but in fact, they allow to catch the main idea of the pattern.

Put πŸ‘ if the article was useful for you.
https://github.com/kamranahmedse/design-patterns-for-humans
​​Hello, please take a look on a simple Delphi project to learn the TLS handshake implementation using OpenSSL 3.0 Memory BIOs.

This project represents my experience in implementing the in-memory TLS handshake using OpenSSL 3.0. There are lots of examples with previous versions of the library on the Internet. So I decided to share this project to help other developers to get started with OpenSSL memory BIOs in Delphi. The main our task was to implement a cross-platform version of our Delphi components. Currently the components use Microsoft Schannel and CryptoAPI to implement TLS and other crypthographic features.

I worked with MS Schannel, SSPI, and CryptoAPI for many years and familiar with many tricks, problems, and use-cases. But OpenSSL become a real challenge for me 😲

I'm still working on this test project. So if you find any errors or have questions, do not hesitate to contact me.

Also, please feel free to ⭐️ the repo to help other devs to find this project!

Regards, Sergey Shirokov
https://github.com/CleverComponents/OpenSSL-With-Memory-Bios
​​Less than three hours left before the "The Changing Nature of Debugging" webinar starts. At this webinar, the speaker, Nick Hodges, developer advocate at Rollbar and Embarcadero MVP, will discuss the debugging strategies, testing, using CCI for faster debugging, and many more 😲

Check out the link to register and choose your T-shirt πŸ‘
https://try.rollbar.com/webinar/changing-nature-of-debugging/
​​Wow, Embarcadero introduced the theme of Delphi’s 27th anniversary - Building the Future ❀️
The event starts on Feb 14, 2022 10.00 AM CST.

Don't miss Delphi's 27th birthday! Register your seat here πŸ‘
https://blogs.embarcadero.com/building-the-future-delphis-27th-anniversary-delphi27th/
​​Recently, the OmniPascal guys have updated their OmniPascal extension for Visual Studio Code up to the version 0.19.0, improved syntax highlighting for inline JavaScript asm blocks, and fixed some parser bugs.

Check out more details on the project's website πŸ‘
http://blog.omnipascal.com/omnipascal-0-19-0-pas2js-asm-blocks-with-javascript/