This article is about setting up things so that you can code, compile and debug Free Pascal from Visual Studio Code.
This can be useful if you’re doing non-GUI work and you don’t want to rely on the full-blown Lazarus IDE. It also allows Windows users to write and test Linux programs using the WSL, which is what I did to test this setup. Note that similar steps can be used to configure VS Code for Pascal on a Mac if that’s your poison. …
This article describes the basic steps I followed to set up automated builds and deployments for my project with Travis CI and S3.
Travis CI links to GitHub, so if you do…
In an earlier article, I explored running my Azure Pipelines builds on a custom build agent using a Windows VM in the AWS cloud. Today, I will attempt a similar thing, but this time using a Linux VM in the Oracle Cloud. Since much of the process is the same, this article will focus on the challenges that are different.
On the Oracle website, I chose to create a VM instance by clicking the shortcut from the Quick Actions on the Get Started page:
This article describes steps for setting up Lazarus with mORMot so that you can start using this wonderful, diverse framework in your Free Pascal projects.
You can find the Delphi version here.
This article describes steps for setting up Delphi with mORMot and, as with most of my articles, exists largely as a reminder for my future self.
You can find the Lazarus/Free Pascal version here.
The first step is to install Delphi. In my case, this means going to the Free Delphi Community download page on the Embarcadero website. Sign in, download and run the installer, and enter your serial number when prompted by the wizard.
Next, acquire the mORMot library. At the time of writing, Synopse claims on their download page that the “unstable” 1.18 trunk version is more stable…
Azure Pipelines is Microsoft’s solution for running automatic builds and tests in Azure DevOps. By default, jobs are run using a Microsoft-hosted agent, which spins up a new virtual machine (VM) or container each time a pipeline is executed. However, there is also the option to run jobs in a “self-hosted agent”, which you might consider in these situations:
Suppose you have two separate git repositories and for some reason, you want to merge them into one. Maybe the source code was originally thought to be independent but was later discovered to be “rightly coupled”. Whatever your reasons, there is probably a commit history in each repository that you want to preserve.
Fortunately, you can do this quite easily by adding one repo to another as a remote. Read on for a step-by-step guide.
Before you migrate your repositories into one, it’s worth going through their directory structures and reorganizing things as needed to avoid clashes. …
Selenium Web Driver is a popular tool used to automate the front-end testing of web applications. It uses drivers provided by various browsers (Chrome, Firefox, etc.) to simulate user actions, and is very powerful when combined with testing frameworks such as xUnit or NUnit.
In our case, we decided to use Selenium with .NET Core 3.1 and xUnit. Let me share with you what I’ve learned so far.
To get started, you will need to download the web driver for the browser you want to test. Note that each web driver is tied to a specific version of the browser…