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,862 other subscribers

Archive for April, 2009

Who is coming to DelphiLive? « Daniel Magin’s Weblog

Posted by jpluimers on 2009/04/24

My German colleague Daniel Magin is keeping track of people going to attend or speak at DelphiLive ’09.

Please leave a comment on his blog posting to help him assembling the list.

I’ll be arriving on the evening of  tuesday, May 12th, and leave in the morning of sunday May 17th (in order to keep the flight costs down, it is wise to include a Saturday/Sunday night stay).

–jeroen

Posted in Conferences, Event, Pingback | Leave a Comment »

Delphi – finding out the design-time package name of a unit

Posted by jpluimers on 2009/04/24

Somehow I keep forgetting this ‘be aware though’ part below, hence this blog post :-)
mmx-favicon_64x64-321

When you are developing packages, sometimes you need units that are part of the VCL/RTL source tree.
Normally when compiling such a package, Delphi suggests the depending VCL/RTL package to add to your required package list.
However, that does not always work, especially with design-time packages (those start with ‘dcl’ in stead of ‘vcl’).

The last time I bumped into this was when I developed a package that needed the MessageDigest_5 unit.
Read the rest of this entry »

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

Spoken @ CodeRage III, December 1-5, 2008 on Delphi, database and XML related topics

Posted by jpluimers on 2009/04/24

At the CodeRage III on-line virtual conference, I have done 4 sessions. CodeRage III logo
For me, it was the first time speaking at conference done this way.
A few things were different:

  • Sessions were 45 minutes presenting in stead of the normal 60 minutes
  • The main body of the session was pre-recorded, the 15 minute Q&A was live
  • I had to learn Camtasia
  • The broadcasts were done through LiveMeeting

Read the rest of this entry »

Posted in Audacity, Audio, Conferences, Development, Event, Internet, InternetArchive, Media, Power User, Software Development, WayBack machine, XML/XSD | 3 Comments »

.NET/C# – converting UTF8 to ASCII (yes, you *can* loose information with this) using System.Text.Encoding

Posted by jpluimers on 2009/04/23

Quite a while ago, we needed to exchange some text files with .NET and a DOS application (yes, they still exist!).

Since the .NET app already exchanged text files with other applications using UTF8, we had to reencode those into plain ASCII.
(yes, I am aware there are dozens of codepages we could encode to, we decided to stick with 7-bit ASCII, and warned the client about possible information loss).

A couple of months later, we neede to exchange information with an app doing Windows-1252, and then even later on to a web-app needing ISO 8859-1 (both are Western European encodings).
So I decided to refactor the UTF8 to ASCII conversion app into something more maintainable.

But first let me show you how you can dump all of the .NET supported encodings:
Read the rest of this entry »

Posted in .NET, ASCII, C#, Development, Encoding, Software Development, Unicode, UTF-8, UTF8 | 3 Comments »

Including formatted sourcecode in WordPress

Posted by jpluimers on 2009/04/22

Since I’m quite new to WordPress it is a learn as-I-go process (sounds familiar huh?) and a major goal of this blog is to keep track of things so that I don’t forget them:

Including formatted code in your blog is easy, WordPress has a FAQ about it!
Basically it comes down to adding the sourcecode shortcode and then make sure the language attribute has the right value.

But there are some gotcha’s that are not in the FAQ:

  1. paste the sourcecode shortcode as “plain text” (or in the HTML editor) otherwise it will get span tags around it and not render as code
  2. C# has language code csharp (if you use a non-existing language code, it will not render as code either)

The language codes I will probably use most are csharp and delphi, followed by xml and sql and maybe some css and html.

In your editor, you will then see something like this:
Read the rest of this entry »

Posted in Development, WordPress | Tagged: | 8 Comments »

Delphi – adding for … in support to TPageControl

Posted by jpluimers on 2009/04/22

A long time ago, the for ... in statement was added to the structured statements part of the Delphi language. It is a really powerful statement, that allows for code like this:

var
  Line: string;
begin
  for Line in MyMemo.Lines do
    // some business logic
end;

in stead of using the traditional for statement which needs an extra LineIndex variable and an assignment statement:

var
  LineIndex: Integer;
  Line: string;
begin
  for LineIndex := 0 to MyMemo.Lines.Count do
  begin
    Line := MyMemo.Lines[LineIndex];
    // some business logic
  end;
end;

So, “for … in” is a cool feature, but now I wanted to do the same for a TPageControl:
Read the rest of this entry »

Posted in Delphi, Development, Software Development | 1 Comment »

Colleauges speak @ InterBase PowerDay’s in The Netherlands and Germany

Posted by jpluimers on 2009/04/22

InterBase PowerDay '09 logoTomorrow, the 23rd of April, my Dutch and German InterBase colleauges from better office will be delivering the InterBase PowerDay inAmersfoort.

Speaking are Daniel Magin and Gwan Tan, attending are both regular InterBase developers and InterBase VARs.
The PowerDay costs EUR 124 excluding VAT to attend, and has 4 sessions that roughly covering these areas:

  • What’s new in InterBase 2009
  • InterBase as a vault
  • Advanced InterBase
  • Tools to maintain InterBase

The event is organized together with Barnsten, which are the representatives of CodeGear in The Netherlands.

A similar event is organized in Germany on the 6th of May in Frankfurt/Offenbach. That event is organized by better office Germany and CodeGear Germany. 

better office Germany is InterBase master reseller, and better office benelux (where I work) has some very knowledgeable InterBase people too.

Posted in Database Development, Development, Event, InterBase, PowerDay | Leave a Comment »

Speaking @ Microsoft DevDays ’09, May 28-29, The Hague

Posted by jpluimers on 2009/04/21

DevDays '09 logo

I’ll be speaking during the Microsoft DevDays ‘09 that are held from May 28-29 (27 if you count the preconference) in The Hague (at the World Forum, previously known as Nederlands Congres Centrum).

My session is in the “Geek Night” track that is held on the evening of May 28.

It is gonna be a cool session, showing collaboration on many levels:

  • as in integration between .NET and hardware (WebCams and Servos through USB)
  • as cooperation between you and Open Source projects
  • as building your own shooter device from plexiglass and other easy to obtain hardware
  • as interaction between users and the automated shooter device

DevDays '09 logo Geek Night

The session works towards the creation of an automated shooter device.
It consists of a USB webcam of which you monitor the video stream, a USB Servo Controller that steers Servos and relais, and a laserpointer.
The laserpointer can track moving objects (like you, the audience!) as seen through the  webcam.

During the session you see the pro’s and con’s of using Open Source, what can go wrong when using multiple-web-cams, and much much more.

Prepare for a fun night!

Posted in .NET, C#, Conferences, DevDays09, Development, Event, Software Development | Tagged: | Leave a Comment »

Speaking @ DelphiLive ’09, May 13-16, San Jose

Posted by jpluimers on 2009/04/21

I’ll be speaking during DelphiLive ’09 that is held from May 13-16 in San Jose (CA, USA, not any of the other San Jose cities).

This is going to be a top event with really knowledgeable Delphi speakers from all over the world.
Besides the 2 sessions that I’m doing, I’ll be hanging around as are the other speakers.

So feel free to approach us, and learn from the things we learned. Or teach us something new: all of us are eager to learn as well as teach!

The downloads are now available.

Posted in Conferences, Database Development, Delphi, Development, Event, InterBase, Software Development | Tagged: , , | Leave a Comment »

Wiert

Posted by jpluimers on 2009/04/21


… is my middle name, which originates from the Frisian word Wiard (according to this really old Dutch book describing names) which seems to mean “strong warrior” 

… sounds similar to weird, which fits quite well to tha extraordinary things I encounter in both my professional and personal life.

So here is the start of an irregular bunch of postings on subjects that I’m going to share on this blog.

Like most blogs, it  is to write down things that I stumble upon and somehow want to remember, or might be of interest to other people.

So: enjoy :-)

–jeroen

PS: For people that do not know me yet, please see my LinkedIn profile and some of my personal interests: Adest MusicaLa Perlina,  Flickr stream, DreamFoundation

Posted in About | 1 Comment »