Category Archives: Programming

Latest Delphi XE3 Update 1

Many of us have been eagerly waiting for the first significant update to Delphi XE3 in the hope that many of the bugs in FM2 will be fixed. Alas no. Of the 63 bugs report on the public QC system, … Continue reading

Posted in Delphi, Programming | Leave a comment

Why Linux?

I have been told many times of the virtues of Linux and decided after some requests to port our simulation back end (roadRunner, http://code.google.com/p/roadrunnerlib/) to Linux. Well two months later and we’re still trying to port the code. Quite apart … Continue reading

Posted in Programming, Software | Leave a comment

LaTeX and Chemistry

I recent had the need to draw some chemical equation in a LaTeX document. In the past I’ve used ChemDraw and loaded the image into my document as a png file. Last time I used ChemDraw was on my old … Continue reading

Posted in Chemistry, General Science Interest, LaTeX, Programming | 2 Comments

Why is C++ so popular?

I’ve never quite understand the attraction of C++ given its (growing) complexity and the many ways to get into trouble. Here is another reason, its verbosity. The following is a fragment of code from an open source library which will … Continue reading

Posted in Programming, Software | Leave a comment

A mini-supercomputer for the rest of us

I recently contributed to the kickstarter project, Parallela which I would like to selfishly mention here. This is an interesting project that wants to develop highly cost effective small parallel machines. For example their smallest multi-process machine will cost $99 … Continue reading

Posted in Electronics, General Science Interest, Modeling, Programming | Leave a comment

Clipping Rectangles in FireMonkey

In experimenting with FireMonkey I came across what I thought was a non-obvious trick related to creating clipping rectangles in FireMonkey. In VCL we had the CreateRectRgn from the Windows API that allowed us to create areas when drawing commands would not … Continue reading

Posted in Delphi, Programming, Software | Leave a comment

The Delphi Color Palette

This is the Delphi color palette, both ‘normal’ and ‘web’ colors. The ‘normal’ colors start at red and end at black. The ‘web’ colors start at Moccasin.  see http://docwiki.embarcadero.com/RADStudio/en/Colors_in_VCL) for more information.  

Posted in Delphi, Programming | Leave a comment

Delphi XE3 Released

This week Embarcadero (Borland in the old days) released the latest version of their flagship product, Delphi XE3. One of the major issues in the earlier version, XE2, was the problem of fuzzy fonts when displaying text, particularly in the TMemo component. This made it almost … Continue reading

Posted in Delphi, Programming, Software | Leave a comment

HTML5 from Embarcadero

For those who are interested I snagged a screen-shot of the new HTML5 development kit that will be released this quarter by Embarcadero. I obtained the screen-shot from the XE3 preview video. It looks interesting, I can see an application … Continue reading

Posted in Delphi, Programming, Software | Tagged | Leave a comment

Rounded TPanel in Delphi

I came across this rather nice bit code submitted by Andreas Rejbrand on stackoverflow, thought I’d repeat it here. For those not familiar with Delphi, Delphi has really great support for component development, better than any other programming platform I’ve used. … Continue reading

Posted in Delphi, Programming, Software | Leave a comment