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

Archive for the ‘Development’ Category

How Do Young Go-Getters Get With Old Git? (via: Dr. Dobb’s – Google+)

Posted by jpluimers on 2014/04/25

Interesting:

How Do Young Go-Getters Get With Old Git?

fournova launches Git learning platform — from command-line interface to GUI

–jeroen

via: Dr. Dobb’s – Google+ – How Do Young Go-Getters Get With Old Git?….

Posted in Development, DVCS - Distributed Version Control, git, Source Code Management | Leave a Comment »

IdeOne is a lot faster and more recent than “Compile and Execute C# Sharp online”

Posted by jpluimers on 2014/04/23

I just bumped into Compile and Execute C# Sharp online.

As of writing, it uses Mono 2.10.2.0 which is quite old, and it is dead slow: it takes more than a minute to compile and execute a simple console application.

The reason is that this is a one man project.

IdeOne is much faster, for instance it took a few seconds to compile and run this simple C# program.

–jeroen

Posted in .NET, C#, Development, Mono, Software Development | Leave a Comment »

rsync: the MacGyver tool for making backups on *nix based operating systems

Posted by jpluimers on 2014/04/23

I’ve been using rsync as my MacGyver style backup-tool of choice on *nix systems and sometimes even Windows systems.

It works both locally and remotely, is simple to setup and over the years has gathered a lot of nifty functionality.

It is way easier to backup using rsync one directory to another than using tar (tar has the benefit of putting everything in one archive though) using a command like this:

rsync -aiv /path/to/source/directory /path/to/destination/directory

For remote copies, I usually add replace -aiv with -aivz or with -aiz.

Given the ubiquitous of hard disk space, I hardly compress or archive directory trees for archival purposes any more.

For an introduction of basic functionality read Everything Linux – A Tutorial on Using Rsync. An article from 1999 that is still very valid now.

Besides my praise for rsync, there are a few small things I want to mention in this article:

  1. Sometimes more is less. Recently someone asked me how to force rsync not to keep the time stamps of files.
    He wasn’t the first to ask.
    The solution is simple: since the -a option archive option implies -t, so the solution is to expand -a into its parts -rlptgoD, then remove the -t from that.
  2. The –link-dest=DIR option was added in about 2004 (later: no, link-dest was added to rsync 2.5.6 in januari 2003), which allows you to do incremental backups. Read the rest of this entry »

Posted in *nix, Development, Linux, Power User, Scripting, Software Development, SuSE Linux | 1 Comment »

Open Source is a thankless job. We do it anyway. – Scott Hanselman

Posted by jpluimers on 2014/04/22

Interesting: Open Source is a thankless job. We do it anyway. – Scott Hanselman.

–jeroen

Posted in Development, Open Source, Software Development | Leave a Comment »

Call for help: Spring4D and Delphi MultiCast events: working for Win32, Win64 and Mac OS X x64, but Android/iOS ARM help needed.

Posted by jpluimers on 2014/04/22

Years after Allen Bauer and a few others wrote about Delphi MultiCast events, the Spring4D framework now supports MultiCast events on 3 platforms:

  • Win32
  • Win64
  • Mac OS x86

Depending on the platform, the minimum required Delphi version is this (the develop branch builds in Delphi XE6):

  • Win32: Delphi 2010 and up.
  • Win64: Delphi XE2 and up.
  • MacOSX: Delphi XE2 and up.

There are plans for support on Mobile platforms, and Spring4D needs help with that:

  • The Intel implementation is written in Assembly, and fast.
  • The Arm compiler does not allow Assembly language for various reasons.

So there is a need for an ARM solution not based on assembly in the Delphi code, preferably as cross-platform as possible. Read the rest of this entry »

Posted in Delphi, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Development, QC, Software Development, Spring4D | 1 Comment »

Online XML Pretty Print

Posted by jpluimers on 2014/04/22

On my list of on-line tools: XML Pretty Print.

–jeroen

Posted in Development, Software Development, XML, XML/XSD | Leave a Comment »

More Raize Software updates for Delphi XE6: CodeSite Studio 5.1.5, Inspex 2.6.3, DropMaster 2.4.3.

Posted by jpluimers on 2014/04/22

After finding out that Raize Components 6 and Raize Components 5 updates for Delphi XE6 I checked Raize Software‘s latest news page and was glad to see that these also got updates:

The only one not yet having XE6 support is this one:

–jeroen

via: Raize Software Developer Tools.

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

Raize Components 6 updates for Delphi XE6

Posted by jpluimers on 2014/04/22

Just found out that a new version of Raize Components 6 with Delphi XE6 support got released.

Raize Components 6 actually supports Delphi 2009 through XE6 (and C++ Builder and RAD Studio).

Older Delphi versions are also supported by older Raize Component versions, as Ray Konopka posted last year:

via Raize Software Support Forums • View topic – Installing multiple versions of the Raize Components.

(In the above quote, I included the links to the various trial versions).

There is also the famous Demo program download RCDemo.zip and nice videos:

via Raize Components Demo/Trial Edition.

For the dot version nitpickers, here are the current versions as of writing:     Read the rest of this entry »

Posted in Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 5, Delphi 6, Delphi 7, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Development, Software Development | 3 Comments »

In C#, given a DateTime object, how do I get a ISO8601 date in string format? – Stack Overflow

Posted by jpluimers on 2014/04/22

The first bulleted link below has been living in my drafts like forever (i.e. somewhere since mid June 2009), so time to write a bit about ISO 8601 and .NET.

First a few links about converting a DateTime into ISO 8601 string format:

Some solutions use the “K” as a time zone specifier. At first, I couldn’t find any documentation for it, not even Google Search for Google Search for “ssK” DateTime ToString returns anything useful.

Later on, I found The “K” Custom Format Specifier in Custom Date and Time Format Strings.

So my preferred solutions for me are these:

  • System.DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ssK");
  • System.DateTime.Now.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssK");

I avoid these:

  • System.DateTime.Now.ToString("o");
    because it gets you too many digits in the second fracion.
  • System.DateTime.Now.ToUniversalTime().ToString("s") + "Z";
    because it is less clear what it does (might be resolved with a comment).

–jeroen

–jeroen

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, ISO 8601, Software Development | 1 Comment »

Today I learned… :) I didn’t know about this syntax for properties… (via: Roman Yankovsky – Google+)

Posted by jpluimers on 2014/04/21

Interesting: Roman Yankovsky just wrote about a property syntax that I didn’t know about either:

Today I learned… :)

I didn’t know about this syntax for properties:

FStrings: array [0..1] of string;
property String0: string read FStrings[0] write FStrings[0];
property String1: string read FStrings[1] write FStrings[1];

Now I hope someone finds out in which Delphi version this syntax was introduced.

–jeroen

via: Roman Yankovsky – Google+ – Today I learned… :) I didn’t know about this syntax for….

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