https://ideasawakened.github.io/IdeasAwakenedBlog site dedicated to Delphi programmers around the world from Darian Miller, an Embarcadero MVP 2024-03-17T13:34:01-05:00 Darian Miller https://ideasawakened.github.io/ Jekyll © 2024 Darian Miller /assets/img/favicons/favicon.ico /assets/img/favicons/favicon-96x96.png Global Delphi Summit 2024 in Amsterdam2024-03-16T20:00:00-05:00 2024-03-16T20:00:00-05:00 https://ideasawakened.github.io/post/global-delphi-summit-2024 Darian Miller Delphi Summit - June 2024. Have you heard? There is a great convention dedicated to Delphi Developers coming this June to Amsterdam! The 2024 Global Delphi Summit is sponsored by GDK Software, Embarcadero, and Barnsten and features a great list of speakers and informative sessions. View the quick YouTube introductory video: Invite for the Delphi Summit 2024 featuring Marco Geuze, Jim McKe... PowerShell script to install PostgreSQL on Windows using the binary release zipfile2024-02-03T06:00:00-06:00 2024-02-03T06:00:00-06:00 https://ideasawakened.github.io/post/2024-02-03-setup-postgresql-on-windows-from-zip Darian Miller PostgreSQL is one of the most popular database solutions in the world. A few years back, I published a blog post full of PostgreSQL links and general information which includes links for the various distributions that are available and some connectivity options for Delphi. Shortly before that article was released, EDB and 2ndQuadrant merged and since that time EDB seems to be the only choice ... Let's Do The Rewrite Again Theme Song2024-01-24T06:00:00-06:00 2024-01-24T06:00:00-06:00 https://ideasawakened.github.io/post/lets-do-the-rewrite-again-horror-show Darian Miller Sometimes you get an idea that you just have to dig into just a little bit deeper… I made an off-handed comment earlier today to Ian Barker (as usual) and later thought about it more and figured that I would spend a bit more time on it tonight. The concept involves The Rocky Horror Picture Show which is an American cult-classic musical comedy film. I remember first seeing it in the mid-1980’s... Recent system outages on Embarcadero websites2024-01-16T06:00:00-06:00 2024-01-22T17:50:00-06:00 https://ideasawakened.github.io/post/embarcadero-network-issues Darian Miller There has been persistent connectivity issues recently to Embarcadero websites including their DocWiki, Quality Portal and others. The issue is being actively discussed in multiple channels including on Telegram and Facebook. There are apparently some underlying infrastructure issues that they have been chasing and you should look for an official announcement soon. Ian Barker posted a quick ... Delphi 12 Is Now Available2023-11-11T06:00:00-06:00 2023-11-11T06:00:00-06:00 https://ideasawakened.github.io/post/delphi-12-now-available Darian Miller The latest major version of Delphi was released on November 7, 2023. This has been another huge effort towards quality improvements with over 1,200 customer-reported Quality Portal issues closed with this release (along with hundreds of additional internal issues.) The release name is “RAD Studio 12 Athens” and this is a major new release that is binary incompatbile with the previous Delphi 1... Delphi Developers Twitter Community available2023-06-19T07:00:00-05:00 2023-06-19T07:00:00-05:00 https://ideasawakened.github.io/post/delphi-developers-twitter-community-available Darian Miller I received a notification from Twitter that I was invited to start a Twitter Community so I did a quick search and did not find any existing Delphi-related communities, so I started a new Delphi Developers Community on Twitter. We quickly jumped up to 73 members and everyone is invited to join (and to invite others as well.) A little while after posting a Tweet about the community, I receiv... Prevent concurrent execution of a batch file in Microsoft Windows2023-05-27T07:00:00-05:00 2023-05-27T07:00:00-05:00 https://ideasawakened.github.io/post/prevent-concurrent-execution-batch-file-implementation-how-to Darian Miller Batch files are a convenient way to automate repetitive tasks on Windows systems. However, in certain scenarios, it is crucial to ensure that a batch file can only be executed one at a time to avoid conflicts or data corruption. In this blog post, we will explore a technique to enforce single execution of a batch file using a locking mechanism. Example Batch File To begin, open a text editor a... 2023 Stack Overflow Developer Survey includes Delphi - place your vote today!2023-05-15T07:00:00-05:00 2023-05-15T07:00:00-05:00 https://ideasawakened.github.io/post/2023-stack-overflow-developer-survey-includes-delphi-place-your-vote-today Darian Miller The 13th annual developer survey from Stack Overflow includes options to select Delphi and RAD Studio. This is a very popular survey within the developer community with over 70,000 developers participating last year - so let’s help represent the Delphi developer! As usual, you do not have to be an active Stack Overflow member to take the survey and the answers are all anonymous. Here is a link... Delphi rock-n-roll song by ChatGPT2023-05-14T07:00:00-05:00 2023-05-15T07:00:00-05:00 https://ideasawakened.github.io/post/delphi-rock-n-roll-song-by-chatgpt Darian Miller ChatGPT is still going strong - let’s celebrate Delphi with a rock-n-roll song! (Verse 1) In the realm of code where wizards dwell, There’s a tool that casts its magical spell, Delphi, the rockstar of development might, Cross-platform prowess shining so bright. (Chorus) Delphi, the conqueror of platforms far and wide, A symphony of power, our development guide, From Windows to Linux, Mac, a... We just reached 1,000 Members in our Delphi Developers Telegram group!2023-05-10T07:00:00-05:00 2023-05-10T07:00:00-05:00 https://ideasawakened.github.io/post/we-just-reached-1-000-members-in-our-delphi-developers-telegram-group Darian Miller As of today (May 10, 2023) we have just reached 1,000 members in our English-language Delphi Developer Group on Telegram! (The Brazilian Delphi BR Group is probably the largest Delphi group on Telegram…but we are slowly catching up!) We have an active question and answer chat on just about any Delphi-related topic and everyone is invited to join. I created the group in early 2021 and typically... Use CreateProcess and capture the output in Windows2023-04-23T07:00:00-05:00 2023-04-23T07:00:00-05:00 https://ideasawakened.github.io/post/use-createprocess-and-capture-the-output-in-windows Darian Miller It is highly likely that most Delphi programmers already have some code in the toolbox for launching applications on Windows. I know that I have written a few different utility functions myself over the years. I was thinking about an upcoming task that I wanted to do and it involved using CreateProcess and capturing the results of the console application while the process is running. The code I... Leveraging ChatGPT to generate a Delphi class along with CRUD code from a table schema2023-02-17T06:00:00-06:00 2023-02-17T06:00:00-06:00 https://ideasawakened.github.io/post/leveraging-chatgpt-to-generate-a-delphi-class-along-with-crud-code-from-a-table-schema Darian Miller The more we use ChatGPT, the more we find uses for it to solve common programming problems. In a previous post, we saw how ChatGPT could generate Unit Tests for a known Delphi class. (You can also pass in a custom written Delphi class and have it generate the unit tests.) In this post, we look into another useful code generation feature of ChatGPT. You can provide the schema of a database tabl... Creating unit tests for Delphi with ChatGPT2023-02-11T06:00:00-06:00 2023-02-11T06:00:00-06:00 https://ideasawakened.github.io/post/creating-unit-tests-for-delphi-with-chatgpt Darian Miller The last post was a simple poem generated by ChatGPT which praised the qualities of Delphi. But ChatGPT is storming the world right now and it’s not because it can generate poems. It’s much more than that. To demonstrate, here is the question posed today to ChatGPT and its response. Prompt Please generate DUnit test cases to adequately cover the TCountdownEvent system class in Delphi. Re... A Delphi Poem, by ChatGPT2023-02-09T06:00:00-06:00 2023-02-09T06:00:00-06:00 https://ideasawakened.github.io/post/a-delphi-poem-by-chatgpt Darian Miller Everyone seems to be talking about ChatGPT these days, so here’s a nice poem about our favorite development tool, Delphi from Embarcadero as generated by ChatGPT. Delphi, oh Delphi! by ChatGPT Delphi, oh Delphi, the language of might, With syntax and structure, so bold and so bright, A master of speed, with code that's so clean, Programmers flock to it, as its power is seen. Its versatility... Unofficial Delphi LSP fix for 11.2 is now available2023-01-12T06:00:00-06:00 2023-01-13T06:00:00-06:00 https://ideasawakened.github.io/post/unofficial-delphi-lsp-fix-for-11-2-is-now-available Darian Miller For users that have upgraded to RAD Studio 11.2, there have been some annoying problems with CodeInsight regressions with the LSP functionality randomly failing. The 11.3 beta process is ongoing (if you have the Premium Update Subscription you can join the beta, see the Embarcadero blog post from last month.) As part of Embarcadero’s quality-focused 11.3 beta process, they have been attacking t... Simple Code Profiling In Delphi2022-07-30T07:00:00-05:00 2022-07-30T07:00:00-05:00 https://ideasawakened.github.io/post/simple-code-profiling-in-delphi Darian Miller I imagine most Delphi developers have written code similar to the following to quickly test a block of code using the Now function: procedure TDemoExecutionProfilerForm.DoSomeComplexCode; var StartTime:TDateTime; DebugMessage:String; begin StartTime := Now; Sleep(75); //some time intensive code block DebugMessage := Format('DoSomeComplexCode took %dms', [MillisecondsBetween(Now, Sta... RADAuthenticator Part 5 - Implement a "Hello World" GitHub Action on your self-hosted runner2022-07-30T07:00:00-05:00 2022-07-30T07:00:00-05:00 https://ideasawakened.github.io/post/radauthenticator-part-5-implement-a-hello-world-github-action-on-your-self-hosted-runner Darian Miller GitHub Actions is a powerful automation tool first introduced by GitHub back in 2018 and has significantly matured over the last few years. It can be leveraged to automate workflows based on events and is commonly used to validate code changes in response to “Push” and “Pull Requests” events but it can also be used as a complete automated build system replacement for tools like Jenkins and Te... Make your voice heard! 2022 Stack Overflow Developer Survey includes Delphi2022-05-12T07:00:00-05:00 2022-05-12T07:00:00-05:00 https://ideasawakened.github.io/post/make-your-voice-heard-2022-stack-overflow-developer-survey-includes-delphi Darian Miller The 12th annual developer survey from Stack Overflow includes options to select Delphi and RAD Studio. This is a very popular survey within the developer community with over 80,000 developers participating last year - so let’s help represent the Delphi developer! You do not have to be an active Stack Overflow member to take the survey. The answers are all anonymous. Here is a link to the surve... Skia for Delphi Contest - win an Apple M1 Mac Mini!2022-05-08T07:00:00-05:00 2022-05-08T07:00:00-05:00 https://ideasawakened.github.io/post/skia-for-delphi-contest-win-an-apple-m1-mac-mini Darian Miller As announced in an Embarcadero blog post, there is a new contest available to Delphi developers with a chance to win an Apple M1 Mac Mini. Skia is seemingly used everywhere (Google Chrome, Android, Flutter, Xamarin, LibreOffice, Firefox…) and is also available for use with your cross-platform FireMonkey and your Windows VCL applications. Check out Embarcadero’s blog post for more info on Skia... RAD Studio 11.1 Alexandria is here with binary compatibility with 11.02022-03-18T07:00:00-05:00 2022-03-18T07:00:00-05:00 https://ideasawakened.github.io/post/rad-studio-11-1-alexandria-is-here-with-binary-compatibility-with-11-0 Darian Miller Embarcadero has released the first update to RAD Studio 11 Alexandria on March 15th. I have seen a number of questions about this update and I wanted to post a quick blog entry to help address the binary compatibility question. Update 1 is indeed binary compatible with the 11.0 release. For Delphi developers, this means that you do not have to rebuild/reinstall your components for this 11.1 ...