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

Get Started with iOS Development using RemObject C# | RemObjects Software

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: , , , , | 1 Comment »

.NET 4.5 versus 4.0 and C# 5 versus C# 4, or the funny way how StackOverflow closes good answers

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: | Leave a Comment »

PowerShell – Special Characters And Tokens (via: Welcome to Neolisk’s Tech Blog)

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 »

PowerShell aliases (via: Top Ten PowerShell Aliases for DOS Commands)

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 »

The OS X 10.9.2 (Mavericks) fix for the SSL issue is out; Apple’s #gotofail weekend – Ashkan Soltani.

Posted by jpluimers on 2014/02/25

As a follow up of When using Apple Hardware, be prepared for security updates. iOS already there, OS X and others will follow. #gotofail:

This is a must read: Apple’s #gotofail weekend – Ashkan Soltani, and cortesi – Exploiting CVE-2014-1266 with mitmproxy.

especially since the OS X Mavericks fix is out:

–jeroen

via Norbert Rittel and Kristian Köhntopp.

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 »

Link clearance: history of Pascal / Object Pascal / Delphi Language / FreePacal / …

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 »

When using Apple Hardware, be prepared for security updates. iOS already there, OS X and others will follow. #gotofail

Posted by jpluimers on 2014/02/24

Last week, Apple fixed the so called #gotofail bug for iOS devices. Other devices (Macs with OS X 10.9 Mavericks, maybe earlier versions and I also suspect Apple TV to be vulnerable) will follow soon.

I thought that Old iOS devices would be in the dark as the updates are for iOS 6.x and 7.x only. So any device that can only run on iOS 5 or lower might not be supported.

So I thought these devices would be unsupported, but found out an iPad 1st generation would pass the gotofail.com test.

So if you have any of these, please let me know if they fail or pass:

  • iPhone 3 or earlier,
  • iPod Touch 3rd generation or earlier,
  • iPad 1st generation: passes.

Please watch any security announcements carefully with using Apple equipment, as the bug can highly facilitate a man-in-the-middle attack.

Some other site with background information (it hit the news wildly): Read the rest of this entry »

Posted in Apple, Development, iOS, iPad, iPhone, iPod, iPod touch, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.9 Mavericks, Power User, Software Development | 1 Comment »

Coding in Delphi available in printed form: USD $40 + shipping

Posted by jpluimers on 2014/02/24

On my way back from France, I noted the printed edition of Coding in Delphi has become available through CreateSpace (which is Amazon’s self publishing mechanism):

Coding in Delphi is a new programming book by Nick Hodges that covers a variety of powerful Delphi programming features and techniques including Generics, Interfaces, Exception, Handling, Anonymous Methods, Collections, RTTI, Enumerators, Attributes, Dependency Injection and Unit Testing

  • Publication Date: Feb 22 2014
  • ISBN/EAN13: 1941266037 / 9781941266038
  • Page Count: 242
  • Binding Type: US Trade Paper
  • Trim Size: 8.5″ x 11″
  • Language: English
  • Color: Black and White
  • Related Categories: Computers / Programming / Software Development

In related news: his paper and recored Rad in Action session about Unit Testing is also available.

via:

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

Enabling HgFlow in SourceTree for Windows: “abort: No module named ConfigParser!” error message with “flow: Flow was already initialized for workspace:”

Posted by jpluimers on 2014/02/20

When you get the below error when adding an HgGlow with SourceTree, then do one of these:

Short error message:

hg flow -y -f init
abort: No module named ConfigParser!

Full error message (the middle line is funny “flow: Flow was already initialized for workspace:”):


hg flow -y -f init
abort: No module named ConfigParser!
flow: Flow was already initialized for workspace:
Completed with errors, see above.

view raw

error.txt

hosted with ❤ by GitHub

Ultimately, hgflow should fix yinwm / hgflow / issues / #8 – Failing on Windows Binary version, but they haven’t for almost 3 years now.

–jeroen

Posted in Development, DVCS - Distributed Version Control, Mercurial/Hg, Software Development, Source Code Management | Tagged: , | Leave a Comment »