Visit site Te Waka o Delphi

March 2017

0
votes
Vote UpVote

The Varying (and Variant) Value of True

Te Waka o Delphi – My most recent posts have prompted a bit of discussion, and it seems some concern, regarding the implementation of Boolean values in Delphi. The concern at least I think is unwarranted, as long as you avoid explicitly comparing a Boolean value to the True constant and allow the compiler to logically ...
Details Favorite? Off-Topic? Deltics @ 2017-03-20 21:04
1
vote
Vote UpVote

(True = 1) and (True = ‘-1’) ?

Te Waka o Delphi – It has been observed that the Delphi documentation states that the constants True and False have the values 1 and 0 respectively, not the -1 and 0 that the default string conversions apply. This does actually make sense but also lays a trap for the unwary. True, True, Wherefore Art Thou -1 ? In the ...
Details Favorite? Off-Topic? Deltics @ 2017-03-16 20:03
1
vote
Vote UpVote

Anatomy of a utility function: BoolToStr()

Te Waka o Delphi – Jaap Van Goor was asking on FaceBook about some seemingly strange behaviour when obtaining string representations of Booleans using the Delphi RTL, which led me to revisit some familiar (and some not so familiar) old Delphi ground and take a look at the area involved in further detail. First of all, ...
Details Favorite? Off-Topic? Deltics @ 2017-03-16 06:03

February 2017

0
votes
Vote UpVote

Anonymous Classes: Identity Exposed!

Te Waka o Delphi – In my previous post on Anonymous Classes I erroneously referred to them as “dynamic objects” (thanks to commentors for pulling me up on that). Dynamic objects are something else entirely (although what precisely they might mean can vary on different platforms and in different languages). ...
Details Favorite? Off-Topic? Deltics @ 2017-02-18 01:03
0
votes
Vote UpVote

Musings on TIOBE

Te Waka o Delphi – It seems like only 12 months ago that a lot of fuss was being made about Delphi re-entering the TIOBE Index Top 10 and now it’s done it again! Um… hang on… To enter the Top 10 again doesn’t that mean that somewhere along the way it must have dropped out of the Top 10 ...
Details Favorite? Off-Topic? Deltics @ 2017-02-16 23:03
0
votes
Vote UpVote

Anonymous Classes: Dynamic Objects

Te Waka o Delphi – There is another use case for anonymous classes even simpler than that of providing implementations of interfaces: Dynamic objects. I am not referring not to the notion of a dynamic object which involves runtime allocation of objects as opposed to static allocation. In Delphi terms this distinction ...
Details Favorite? Off-Topic? Deltics @ 2017-02-14 10:04
0
votes
Vote UpVote

Delphi for Linux: Enterprise / Architect Only + ARC Imposed = … ?

Te Waka o Delphi – With the lack of any easily available information from Embarcadero, in yesterday’s post I had to speculate as to the cost that might be involved with the new Delphi for Linux. According to comments it seems that I was being overly generous by suggesting that only a Pro Edition of Delphi would ...
Details Favorite? Off-Topic? Deltics @ 2017-02-12 21:03
0
votes
Vote UpVote

On Delphi for Linux…

Te Waka o Delphi – It has been difficult to avoid the fuss being made about the “new” Linux support in Delphi. It’s almost as if they didn’t have a Linux offering more than 15 years ago. I refer of course to Kylix, which failed in no small part due to the quality and the cost of the tool, for ...
Details Favorite? Off-Topic? Deltics @ 2017-02-12 09:03
0
votes
Vote UpVote

Anonymous

Te Waka o Delphi – A few years ago (2011 to be precise) someone asked a question on StackOverflow about support for anonymous classes in Delphi. The reason for the question was that the poster was trying to use Delphi to develop for Android and on that platform the widespread use of callback interfaces makes anonymous ...
Details Favorite? Off-Topic? Deltics @ 2017-02-10 23:03

December 2016

0
votes
Vote UpVote

Retrofit – Handling Different Responses

Te Waka o Delphi – In my previous post I provided a simple example of how to use Retrofit to define, create and use a REST API client. Even in that simple example the issue of how to deal with different responses to a request came up. That is, where the response we receive does not conform to the strongly […]
Details Favorite? Off-Topic? Deltics @ 2016-12-09 00:04
0
votes
Vote UpVote

Using Retrofit with Oxygene

Te Waka o Delphi – I’ve recently been working on a new project involving an Azure hosted ASP.NET MVC WebApi application (actually a pair of them) and native mobile and web applications. Everything is – of course – built using Oxygene. For the Android mobile app I was looking for a REST API client ...
Details Favorite? Off-Topic? Deltics @ 2016-12-07 12:04

November 2016

0
votes
Vote UpVote

Mix-in Unified and Segregated Syntax: An (Extended) Example

Te Waka o Delphi – Yesterday I initially posted that you couldn’t mix Unified Syntax with “traditional” interface and implementation sections. Or what I am now calling Segregated Syntax. As sometimes happens, shortly after writing what I thought I knew to be true I discovered it wasn’t ! Sorry ...
Details Favorite? Off-Topic? Deltics @ 2016-11-25 07:04
1
vote
Vote UpVote

The 9th Element

Te Waka o Delphi – In the periodic table of the elements, at #9 we find Flourine. Curiously though em>Flourine is not used (that I am aware of) anywhere in the Elements 9.0 release which dropped this week. I’m busy working an ASP.NET MVC/WebApi Azure project (using Oxygene) for which I am using one of the more ...
Details Favorite? Off-Topic? Deltics @ 2016-11-24 09:03

July 2016

1
vote
Vote UpVote

Windows 10 OneDrive Bug – (It Will Delete Your Files)

Te Waka o Delphi – Not really a “Pascal” issue, but an important one never-the-less and one that for some curious reason is not receiving any significant coverage: Windows 10 deletes your OneDrive files (in the cloud). The Backstory This first happened to me over Christmas when I lost over 250GB of files, ...
Details Favorite? Off-Topic? Deltics @ 2016-07-04 23:46

May 2016

0
votes
Vote UpVote

Fantasy Island [a.k.a x86/x64 Codegen Using Oxygene]

Te Waka o Delphi – This is a quick follow up post to further tease some of the exciting developments in the world of RemObjects Elements. Yesterday I posted about implementing a Windows version of my trivially simple RandomNumber application. Today, I present another Windows version. But this one doesn’t use ...
Details Favorite? Off-Topic? Deltics @ 2016-05-22 04:59
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)