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 March, 2014

Delphi types that cannot be used for TypeInfo

Posted by jpluimers on 2014/03/03

When writing the Spring4D unit tests for GetTypeSize to include as many TTypeKind values, I came across a few types that either did not compile, or were not supported by TypeInfo. I listed them below as I could not find them in the documentation.

I included a test named Test_EnsureAllTTypeKindsCoveredByCallsTo_Test_GetTypeSize_ that verifies that all TTypeKind values except tkUnknown are covered. So future extensions of TTypeKind will make the tests fail.

As a side issue, I really wanted to know if tkUnknown could be emitted by the compiler. It can sort of, for instance by defining discontiguous enumerations, but are incompatible with TypeInfo as well.

Types that do not compile at all: Read the rest of this entry »

Posted in Agile, Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 8, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, DUnit, Software Development, Unit Testing | 2 Comments »

osx – How to find out Mac OS X version from Terminal? (via: Super User)

Posted by jpluimers on 2014/03/03

I’m a command-line addict, so this was a great SuperUser question by Željko Filipin:

I know how to find Mac OS X version from GUI: Apple Menu (top left) > About This Mac

Is there a Terminal command that will tell me Mac OS X version?

It was answered by User delfuego:

You have a few options:

sw_vers -productVersion
system_profiler SPSoftwareDataType

These commands led me to this post: Finding OS X Version and Build Information From the Command Line | The Nubby Admin that also showed these commands:

uname -a
osascript -e 'system info'

Where uname shows only the kernal version, oascript gives a ton of information. Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | 2 Comments »

Simple Solutions | The Owner-Builder Network

Posted by jpluimers on 2014/03/02

Simple Solutions | The Owner-Builder Network: Use a rubber band to unscrew stripped screws.

Dus als de kop van de schroef stuk is: elastiek gebruiken (:

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

RemObjects Hydrogene got released March 1st, 2014 (via: Get Started with iOS Development using RemObject C#)

Posted by jpluimers on 2014/03/02

The estimate was that the Hydrogene bete would become public beta on March 1st 2014.

Well, Marc Hoffman did an even better announcement yesterday:

When, you are asking, is RemObjects C# going to be out? It’s out as of right now!Visit http://www.remobjects.com/cs for details, trial download, and (of course) to purchase. Let us know what you think!

BTW: Most of my guessed URLs were right (:

–jeroen

via: Get Started with iOS Development using RemObject C# | RemObjects Software « The Wiert Corner – irregular stream of stuff.

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