Installing Android on Ubuntu 20.10

This post is an addendum to installing Ubuntu, if you are missing any packages, please see the Essentials section in that post. Let’s get cracking! Install Java Not absolutely necessary, but I prefer to use the default JDK: Setup Virtualization The Android Emulator runs faster when virtualization software is used. Before proceeding, please make sure […]

When Const is Not Const

Recently on the Delphi Developer FB Group, this interesting post caused quite the confusion: Enter the Debugger With the const modifier the memory addresses are the same (pass by reference): p1: TPoint $427CECp2: TPoint $427CEC Without const, they are different (pass by value): p1: TPoint $427CECp2: TPoint $19FF28 The global variable p1 has a value […]

Gitea Ubuntu Install Notes

Git with tea… Gitea is a lightweight interface to Git written in Golang. It is easy to set up. Here are my notes for a simple install on an Ubuntu 20.04 server. I find them useful, I hope they may be of use to you. Firstly. make sure you are using a static IP address. […]

Kotlin is Funky!

A couple of years ago I took a quick look at Kotlin and came away with the impression that it felt like a band-aid over Java. Not much to see here. Recently, however, I had to use Kotlin to complete a coding challenge for a job application. I was pleasantly surprised. Not only is the […]

Java Long versus long in Spring Boot

Recently I’ve had to jump onboard a Java Spring Boot project. Not having used Java for a long time, I was surprised that my code was throwing null pointer exceptions (NPEs). In C#, I rarely encountered an NPE. Indeed, I thought the new compiler work on null-reference types was a waste of focus. The only […]

Deleaker – Delphi Leak Profiler

Introduction In computer science, a memory leak is a type of resource leak that occurs when a computer program incorrectly manages memory allocations. One of the more challenging aspects of developing in a language without automatic memory management (i.e. a garbage collector or a referencing counting mechanism) is ensuring that your application does not leak […]

Turkey Embraces Delphi

Many people are not aware that in 2017 Delphi was selected as a primary development tool for all South African high schools: “Delphi is a great language that helps our students not only learn programming, but also extend their analytical skills for many other subjects. For us, the ability to standardise on a consistent, compatible […]

WMI in Delphi and VBScript

Purpose The purpose of this article is to provide a very basic introduction to WMI for Delphi developers who are unfamiliar with it. It contains example code to query WMI using Delphi. What is WMI? WMI (Windows Management Instrumentation) is a technological invention of Microsoft, whose purpose is to take care of the different operational […]