Archive for the ‘Development’ Category
Posted by jpluimers on 2014/03/03
Just a reminder to Self after reading Predefined Conditions in Conditional compilation (Delphi) – RAD Studio.
On iOS, these conditional symbols are defined:
- IOS
- MACOS
- MACOS32
- POSIX
- POSIX32
For the (x86 based) iOS simulator, CPU386 and CPUX86 are defined.
For iOS physical devices, CPUARM is defined.
For OS X and the iOS Simulator, ALIGN_STACK is defined as some parameters (including Extended) require to be aligned on 16-byte boundaries. For explanation, see the Mac OS X Stack Alignment article by Eli Boling, as well as PC_MAPPED_EXCEPTIONS and UNDERSCOREIMPORTNAME (sometimes een PIC).
–jeroen
via: Predefined Conditions in Conditional compilation (Delphi) – RAD Studio.
Posted in Delphi, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development | Leave a Comment »
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 »
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 »
Posted by jpluimers on 2014/03/02
I had my userid jeroenp show on all my commits, issues and other activity on BitBucket, though in SourceTree, hg config, gitconfig, etc I had configured my full name.
The fix was simple:
In my case, the full name was all in the First name field, then BitBucket thinks you don’t have a real name.
–jeroen
Posted in Development, DVCS - Distributed Version Control, Mercurial/Hg, Source Code Management | Tagged: account settings, bitbucket, full name | Leave a Comment »
Posted by jpluimers on 2014/02/28
Wow, just wow for this teaser:
This page provides a few videos to help you get started with RemObjects C# for iOS development.
and this:
This page provides a few videos to help you get started with RemObjects C# for Android (and Java) development.
It is about Hydrogene, a.k.a. RemObjects C#, which – like Oxygene – also adds a few extensions to the C# language, just like Jolyon speculated december last year.
It wil be in beta tomorrow (:
Summary of tools used for iOS:
Summary of tools used for Android:
Summary of tools used for iOS and Android
I’m gussing here, as the URL is not yet live, but from March 1st (tomorrow!) you should be able to download a beta of Hydrogene/RemObjects C# from http://www.remobjects.com/elements/hydrogene (Just like Oxygene is available from http://www.remobjects.com/elements/oxygene/).
. .
–jeroen
via:
Posted in .NET, C#, Development, Software Development, Visual Studio and tools | Tagged: android, Android SDK, iOS, iOS development, Oxygene | 1 Comment »
Posted by jpluimers on 2014/02/27
I’m more and more amazed (actually I’m not, this is how life on forum-like communities when moderatorss take over) about which StackOverflow questsions get closed, and which ones stay alive.
It seems the best way is to ask longer questions way beyond what most moderatorss can grasp.
Closed:
Still open:
A great point in the comments of the first question is that
you can technically can write .NET 4.0 / C# 4 applications on a .NET 4.5 / C#5 equiped machine and deploy them on machines that only have .NET 4.0 and C# support.
Don’t. I learned that in the .NET 3.0/3.5 and C# 3.0/2.0 era that combining is bad as the version matrix allows for subtle combinations that are hard to test.
.NET 3.0 with C# 2.0 applications written on a system that had .NET 3.5 and C# 3.0 installed would occasionally fail on systems that only had .NET 3.0 and C# 2.0 installed.
–jeroen
Posted in .NET, .NET 4.0, .NET 4.5, C#, C# 4.0, C# 5.0, Development, Software Development | Tagged: stack overflow | Leave a Comment »
Posted by jpluimers on 2014/02/27
This and next week, a few PowerShell posts appear on my blog.
Victor Zakharov, also known as Neolisk collected all the Special Characters and Tokens used in PowerShell on one page (they are scattered around the PowerShell documentation if documented at all).
The page is so immensely useful when learning PowerShell that I’m really glad I found it.
It is even better than Less Than Dot – Blog – A Cheat Sheet for All the *{_(%#$] PowerShell Punctuation.
–jeroen
via: PowerShell – Special Characters And Tokens – Welcome to Neolisk’s Tech Blog.
Posted in .NET, Development, PowerShell, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2014/02/26
In most programming environments, I tend to avoid abbreviations, especially since command-completion and parameter-completion makes it easier to write readable code.
Same fore PowerShell: the PowerShell ISE has great completion features.
Other people tend to use abbreviations, especially since many PowerShell aliases make it easier for people coming from a cmd or bash background.
Two Get-Alias commands I use quite often for researching aliases:
Get-Alias -Definition <name>
Get-Alias | Sort-Object Definition
The former gives you the CmdLet for an alias.
The latter all defines alises sorted by the CmdLet definition.
Two aliases that I tend to avoid are these:
While you are at it, there are also parameter aliases. Read Weekend Scripter: Discovering PowerShell Cmdlet Parameter Aliases on TechNet Blogs to learn more about these.
–jeroen
via: Top Ten PowerShell Aliases for DOS Commands.
Posted in .NET, CommandLine, Development, PowerShell, Software Development | Leave a Comment »
Posted by jpluimers on 2014/02/25
Posted in Apple, Delphi, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.9 Mavericks, Power User, Software Development, xCode/Mac/iPad/iPhone/iOS/cocoa | 3 Comments »
Posted by jpluimers on 2014/02/25
This post lists a lot of links related to the history of Pascal / Object Pascal / Delphi Language / FreePascal / etc.
No mentioning of Pascal should start without Niklaus Wirth. At the time of writing he is still alive, hopefully he still is a the time of publication.
Link clearance.
Read the rest of this entry »
Posted in Apple Pascal, BitSavers.org, Borland Pascal, DEC Pascal, Delphi, Development, FreePascal, History, Object Pascal, Pascal, Software Development, Think Pascal, Turbo Pascal, UCSD Pascal | 7 Comments »