The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,854 other subscribers

Archive for the ‘Delphi’ Category

Arrived in San Jose, CA, USA for the DelphiLive tutorial and conference (DelphiLive people get internet free!)

Posted by jpluimers on 2011/09/11

I had a pretty OK direct KLM flight from AMS to SFO.

Apart from some people behind me that seemed to have sufficient motoric coordination issues that they had to grab my chair each time they got up, or put their traytable up.  Some – even Dutch! – seem to think that using force is the only way to get things done. So thank you people in seats 28H, J and K for ruining my sleep.
The advantage of being in seat 27H in a Boeing 747-400 is that you get food really fast, and have direct access to drinks from the galley :)

Frank Stepan – one of the DelphiLive organizers – picked me up at the airport, and got me to the conference hotel in Downtown San Jose.

Check in went smooth.

Connecting to the Internet too: it is a breeze, compared to the Swisscom experience at the NH Hotel in Köln last week.

Not as fast as the KOMED internet on saturday, but you have two choices:

FreeDowntownWifi, which is – err – free. And has reasonable speed.

iBAHN internet, which is – err – free for DelphiLive attendees ans speakers. And also has reasonable speed.

So I upgraded my iPad firmware, downloaded the new TomTom USA Map, and synced my gadgets to the cloud.

Time to do some final preparations on my tutorial and sessions, and then get something to eat.

–jeroen

Posted in About, Delphi, Development, LifeHacker, Opinions, Personal, Power User, Software Development, Travel | 1 Comment »

Bruno Fierens of TMSSoftware just showed their new chart that uses HTML5 with asynchronous event support cool!

Posted by jpluimers on 2011/09/10

An HTML5 grid with no flickering, very little delay and smooth appearance on both regular and iPad webbrowsers: at the Delphi-Tage.de conference, Bruno Fierens of TMS Software just showed their new IntraWeb HTML5 chart component as he promised on his blog.

Cool work in progress.

Should become public soon!

–jeroen

Posted in Delphi, Development, Software Development | 3 Comments »

Stephen Forte`s Blog – Silverlight is Dead, Long Live XAML

Posted by jpluimers on 2011/09/10

Interesting, when you compare this with FireMonkey: native versus managed, and both good UIs.

Interesting times ahead.

In retrospect: storing the form in a DFM wasn’t such a bad idea after all :)

–jeroen

Via: Stephen Forte`s Blog – Silverlight is Dead, Long Live XAML.

Posted in .NET, Delphi, Development, FireMonkey, Software Development, XAML | 6 Comments »

#FireMonkey will be #updated early, #often and regularly. Before the end of this month, and initially multiple updates per quarter, later once per quarter (Michael Swindell on the #Embarcadero Discussion Forums)

Posted by jpluimers on 2011/09/10

Quoting Michael Swindell:

Re: Will Firemonkey be updated outside of regular product updates?

Posted: Sep 8, 2011 5:11 PM   in response to: David Schwartz

David Schwartz wrote:

The product matrix shows that Firemonkey currently supports iOS 4.2.

Apple will be introducing iOS 5 shortly.

Will Firemonkey be updated to support newer iOS features periodically (eg., iOS 5 and possibly other things)? Or just once-a-year when Delphi is updated?

Yes, since Firemonkey is 1.0 we’re going to be updating early, often, and regularly. The first update is well underway, will address a lot of great feedback, and should be out before the end of the month. We are planning updates on a regular cadence, initially several quarterly.

(I’d love to see quarterly updates.)

We’ll start out updating more often than quarterly, and settle into quarterly updates eventually. Embarcadero is behind FM in a big way, there is a lot of ongoing investment going on into this release, updates, performance enhancements, and future platform/feature support.

–jeroen

via Embarcadero Discussion Forums: Will Firemonkey be updated outside of ….

Posted in Delphi, Development, FireMonkey, Software Development | 12 Comments »

Delphi XE2 FireMonkey: the reason you should not have used assembly

Posted by jpluimers on 2011/09/09

Right now, I’m porting a bunch of stuff over to FireMonkey in Delphi XE 2 so it can run cross platform.
(Be sure to attend the RAD Studio XE2 World Tour when possible, this stuff is way cool!)

Having avoided Windows x86 assembly in my own sources for years, I’m astonished by the number of 3rd party libraries that do.

Right now, third party libraries that you want to use with FireMonkey need these requirements:

  1. In order to run on x64 or OS X:
    Don’t rely on x86 assembly instructions, or provide alternatives for other platforms than Windows x86
  2. In order to run on the an iPhone, iPad or iPod touch iOS device (which all run on Arm), or iOS simulator from the iOS SDK (which is not an emulator, it runs x86):
    Be compatible with Free Pascal 2.5.1.

And the fact that you should have separated your business logic from your UI logic years ago :)

Of course that was what the Future proofing your Delphi apps seminar from Simon Stuart was about.

What baffles me is that so little 3rd party code adheres to that.

–jeroen

PS:

Today and tomorrow I’m be at the German Delphi-Tage.de conference; I’ve already met a lot of people in the Delphi XE2 tutorial and look forward to meet more tomorrow.
Contrary to what the schedule says, my session on a pragmatic Delphi code generator will be in German, I’m sure most attendees will like that.

Sunday I’ll fly to SFO to speak at the DelphiLive.com conference in San Jose, CA.
There, my preconference tutorial on Delphi Certification and sessions on XML and XSLT will be in English, as I’m sure more people there understand that better than German :)

Posted in About, Certifications, Conferences, Delphi, Delphi-Tage.de, DelphiLive, Development, Event, FireMonkey, Personal, Software Development | 6 Comments »

ModelMaker Code Explorer 9.1.0 available for Delphi XE2

Posted by jpluimers on 2011/09/08

ModelMaker Code Explorer 9.1.0 was released yesterday which supports Rad Studio / Delphi XE2.

Highly recommended for building and refactoring Delphi applications!

–jeroen

Posted in Delphi, Development, Software Development | Leave a Comment »

EmbarcaderoTechNet’s Channel – YouTube

Posted by jpluimers on 2011/09/06

EmbarcaderoTechNet published a couple of interesting videos on YouTube covering Delphi XE2 including FireMonkey HD/3D, FireMonkey xPlatformVCL Styles and more.

All of them short (couple of minutes each) studio work with good video and audio quality (they default to 360p, but most are available in 720p HD, some just in 480p).

–jeroen

Via: EmbarcaderoTechNet’s Channel – YouTube.

Posted in Delphi, Development, FireMonkey, Software Development | Leave a Comment »

Rad Studio XE2 demos up at SourceForge.net: Repository – [radstudiodemos] Index of /branches/RadStudio_XE2

Posted by jpluimers on 2011/09/05

Note to Self:

A few days ago, the Rad Studio XE2 demos became available at sourceforge.net: SourceForge.net Repository – [radstudiodemos] Index of /branches/RadStudio_XE2.

You can get them by SVN as well: http://sourceforge.net/projects/radstudiodemos/develop

–jeroen

Posted in Delphi, Development, Software Development | Leave a Comment »

delphi has TTransparentCustomControl in the Controls unit

Posted by jpluimers on 2011/08/23

Wow, I never noticed that Delphi 2006 introduced the TTransparentCustomControl.

I spotted it a while ago from the delphi – Transparent TCustomControl? answer on StackOverflow.

It is not used in the Delphi VCL itself, but a google search reveals that a few people have actually used it, and Steve Trefethen (former member of the VCL team) mentioned it too.

Note that it contains a [WayBack] mouse interception bug that is still open.

–jeroen

Posted in Delphi, Development, QC, Software Development | Leave a Comment »

ISO 8601 Date, Time and DateTime in Delphi (was: Simple example to show DateTime.Now in ISO 8601 format on ideone.com | Online C# Compiler & Debugging Tool)

Posted by jpluimers on 2011/08/18

In the past I wrote about a Simple example to show DateTime.Now in ISO 8601 format on ideone.com | Online C# Compiler & Debugging Tool , using ISO 8601 in batch-files, and how ISO 8601 is used in Google Calendar URLs.

Time to write something about ISO 8601 Date, Time and DateTime and Delphi.

First of all the DateUtils unit contains a bunch of routines (for instance DecodeDateWeek) that understand ISO 8601 week numbers, where:

  • Weeks start at Monday
  • The first week of a year contains (these are equivalent):
    • The first thursday in that year
    • Has at least 4 days in that year
    • Contains the 4th of January

Otherwise the week containing January 1st is week 52 or 53 of the previous year

ISO 8601 also specifies how to format Dates, Times,  DateTimes and durations according to some basic principles.

XML uses ISO 8601 to format Date, Time and DateTime and some other formats as text too.

So it is no wonder that since Delphi 6, it contains a XSBuiltIns unit covering (among other things) ISO 8601 formatting.

Given the many Delphi ISO 8601 relates questions on StackOverflow of which I answered two, and my need for ISO 8601 DateTime conversion for exporting Excel XML, here is are some samples to get started in the unit below (and in this codeplex changeset).

The unit covers Date, Time and DateTime.
You can write similar code for Duration.

Oops, I covered it already in ISO 8601: Delphi way to convert XML date and time to TDateTime and back (via: Stack Overflow)

Read the rest of this entry »

Posted in Conference Topics, Conferences, Delphi, Development, Event, ISO 8601, Power User, Software Development | 4 Comments »