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

Posts Tagged ‘technology’

Please write dates and times so that everyone understands them, not just you. xkcd: ISO 8601

Posted by jpluimers on 2013/02/28

ISO 8601 was published on 06 05 88 and most recently amended on 12 01 04

ISO 8601 was published on 06 05 88 and most recently amended on 12 01 04

Boy, am I glad with the xkcd: ISO 8601 post and image on the right.

One reason:

Please write dates and times so that everyone understands them, not just you.

The alt-text of the comic is hilarious (ISO 8601 was published on 06 05 88 and most recently amended on 12 01 04) showing the confusion of using 2 digit years not knowing which field means which (I thin XKCD author Randall Munroe and Mathematics of the ISO calendar got some of the dates, see PDF search dates below).

I found out in the mid 1980s that people I was communicating with internationally (back then the internet was forming and you already had BITNET Relay chat and email) were using different date formats than I did.

Ever since that, I’ve used the YYYY-MM-DD format of writing dates, encouraging others to use as well and as soon as I found out that was a standard, started to evangelize ISO 8601 (there is an ISO 8601 category on my blog), which – at the time of writing this – had had revisions in 1998 (on 1998-06-15), 2000 (on 2000-12-15) and 2004 (on 2004-12-01).

A lot later I found out that back in 1971, this date format was a recommendation, and in 1976 already a standard. Not nearly as old as Esperanto though (:

Speaking about languages:

At the end of last century, after Delphi 5 added year 2000 support (which made the 16-bit Delphi 1 disappear from the box as the effort to prove the product including all libraries was year 2000 proof), Delphi went cross platform.

The Delphi team working on both Kylix 1 and Delphi 6, the also added a DateUtils unit which provides a lot of cuntionality, including support for weak numbers. The first test version always assumed week 1 was the one with januari first in it. As ISO 8601 also indicates how the first week of a year should be determined, a couple of people (Jeroen W. Pluimers, Glenn Crouch, Rune Moberg and  Ray Lischner) provided code that fixed this and a few other things in the unit. We even got mentioned by Cary Jensen!

That code is now also part of the RemObjects ShineOn library. That DateUtils unit is now on GitHub.
A Delphi XE version of the code (and a Delphi 2007 one) are now at NickDemoCode (Thanks Nick Hodges!).

Delphi is not the only environment having ISO 8601 support. XML has, .NET has, etc: it is now wide spread.
So follow your tools, and start using it yourself as well (:

Too bad the ISO 8601 standard text is not available publicly:

I remember the Y2K preparation era where the ISO-8601 standard was freely available at http://www.iso.ch/markete/8601.pdf, soon after the Year 2000, the PDF got locked behind a payment engine.
ISO suffers from heavy link rot too, for instance the ISO 3166 country codes used to be at http://www.iso.org/iso/prods-services/iso3166ma, but are now at http://www.iso.org/iso/home/standards/country_codes.htm. What about HTTP 303 or 302 redirect here guys?

Luckily people keep cached copies:

  1. “ISO 8601” “First edition” “1988-06-15” filetype:pdf
  2. “ISO 8601” “Second edition” “2000-12-15” filetype:pdf
  3. “ISO 8601” “Third edition” “2004-12-01” filetype:pdf

–jeroen

via: xkcd: ISO 8601.

Posted in .NET, Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 6, Delphi 7, Delphi 8, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Development, ISO 8601, Power User, Prism, Software Development | Tagged: , , , , , , , , , , , , , | 10 Comments »

Free Chapters 1-4 Professional Android Programming with Mono for Android and .NET/C# | Wrox P2P

Posted by jpluimers on 2013/02/27

Cool: free starter is a PDF with chapters 1-4.

–jeroen

via: Free Xamarin Studio and Free Chapters 1-4 Professional Android Programming with Mono for Android and .NET/C# | Wrox P2P.

Posted in .NET, Android, C#, Development, Mobile Development, Mono for Android, Software Development | Tagged: , , , , , | Leave a Comment »

Microsoft Azure: Storage certificate expired?

Posted by jpluimers on 2013/02/23

Reasons like this is why I distrust the cloud: Storage certificate expired?.

From Windows Azure Status: Service Dashboard | Technical Support:

Beginning Friday, February 22 at 12:44 PM PST, Storage experienced a worldwide outage impacting HTTPS operations (SSL traffic) due to an expired certificate. HTTP traffic was not impacted. We executed repair steps to update the SSL certificate and expect HTTPS traffic to notice gradual recovery in many sub-regions. Further updates will be published to keep you apprised of the situation. We apologize for any inconvenience this causes our customers. Status of affected services will be updated in  the table below.

–jeroen

via: Windows Azure Status: Service Dashboard | Technical Support.

Posted in Cloud Apps, Internet, Power User | Tagged: , , , | Leave a Comment »

The Missing Windows 8 Instructional Video (awesome 25 minutes, via: Scott Hanselman – G+)

Posted by jpluimers on 2013/02/21

A couple of weeks ago, Scott Hanselman posted a great Windows 8 instructional video.

It contains all the stuff that geeks like me will find out themselves over time, but in a well paced and complete manner:

… to give new users to Windows 8 a near-complete understanding of the major features including the Start Screen, Hot Corners, Full Screen Apps, Desktop Apps, The Store, Browsing, Doing Social Stuff, using the Mouse effectively and exploiting keyboard Shortcuts.

It also shows what a power user like Scott uses besides the standard Microsoft Windows/Office combo.

Oh: and it includes the “Windows-X” shortcut (:
(no: not the mobility center any more)

Recommended watch!

–jeroen

via: (12) Scott Hanselman – Google+ – The Missing Windows 8 Instructional Video. It’s 25 minutes….

Posted in Keyboards and Keyboard Shortcuts, Power User, Windows, Windows 8 | Tagged: , , , , , , , , , | Leave a Comment »

Adobe Photoshop 1.0 Source Code About 75% is in Pascal, get it from the Computer History Museum

Posted by jpluimers on 2013/02/15

Thanks Lennart Aasenden for sharing this on FaceBook: Mariuz’s Blog: Adobe Photoshop 1.0 Source Code About 75% is in Pascal.

This was back when I was already a professional Turbo Pascal for PC programmer, not yet a Mac programmer, but doing Pascal on VMS to assist a client in the scaleable font industry.

The 1990 version 1.0.1 of Photoshop code was written in Object Pascal, and based on MacApp.

Back then Apple’s Object Pascal was one of the few IDEs available to develop Macintosh software. Later on, you also had Turbo Pascal and THINK Pascal (which many Macintosh developers preferred, was later acquired by Symantec, and died). A big reason they liked it so much was the THINK integrated debugger, which was lightyears ahead of any Pascal product on any other platform.

Apple had great documentation, not only on their compilers and libraries, but also one that everyone should hav read: Apple Human Interface Guidelines: The Apple Desktop Interface: Inc. Apple Computer: 9780201177534: Amazon.com: Books.

The Adobe Photoshop 1.0 source code can be downloaded (for non-commercial use) from the Computer History Museum | @CHM : Adobe Photoshop Source Code page.

The source is a very interesting read, and a great comments on it by Grady Booch.

This is how everyone should think about their code.

–jeroen

PS: A nice introduction to Object Pascal for a Macintosh is at MacTech | The journal of Apple technology..

Posted in Delphi, Development, Object Pascal, Pascal, Software Development, Think Pascal | Tagged: , , , , , , , , , | 4 Comments »

xkcd: Perl Problems; I got 99 problems. So I used regular expressions.

Posted by jpluimers on 2013/02/08

(:

I got 99 problems. So I used regular expressions...
I got 99 problems. So I used regular expressions…

–jeroen

via: xkcd: Perl Problems.

Posted in Development, Perl, RegEx, Scripting, Software Development | Tagged: , , | Leave a Comment »

Recommended reading: “Security Engineering” now available free online

Posted by jpluimers on 2013/02/06

According to Alan Cox,

And yes this is worth reading…

Right now it looks like the site is overloaded, so you will have to use the Google Cache: Light Blue Touchpaper » Blog Archive » “Security Engineering” now available free online.

So I’m going to re-try in a couple of days.

Later: that was an intermediate site. The actual site is Security Engineering – A Guide to Building Dependable Distributed Systems..

–jeroen

via: Security Engineering – A Guide to Building Dependable Distributed Systems.

Posted in Power User, Security | Tagged: , , , , , | Leave a Comment »

Comparison list of small and energy friendly systems similar to Raspberry Pi

Posted by jpluimers on 2013/02/05

Sometimes the comments in threads are more interesting than the main topic.

–jeroen

via: Raspberry Pi brengt goedkopere Model A uit in Europa – Computer – Nieuws – Tweakers.

Posted in Power User | Tagged: , | Leave a Comment »

Technical Debt: BBC News – Why banks are likely to face more software glitches in 2013

Posted by jpluimers on 2013/02/01

Yet another interesting article on Technical Debt: BBC News – Why banks are likely to face more software glitches in 2013.

Note that this is not limited to Banks. I’ve seen quite a few companies in the Financial domain, and they all suffer from it.

Even stronger: all companies I visited suffer from Technical Debt, including my own workplace, hence I created a special Technical Debt post category and tagged some previous posts with it.

It is hard to produce software without any Technical Debt, even though I try the best I can or am allowed to spend.

Therefore it is very important as a developer to be aware of Technical Debt, and help spread knowledge about it.

–jeroen

Posted in Development, Opinions, Technical Debt | Tagged: , , , , , , , | Leave a Comment »

New Micro Cornucopia issues on BitSavers (including the Final May 1990 issue)

Posted by jpluimers on 2013/01/26

Back in the days I started programming, Micro Cornucopia was a wonderful magazine, so I’m glad that BitSavers scanned a few more issues and put them online today, a week after some great PDF scans: Turbo Assembler/Debugger (1993/1994), Borland C++/Object Windows Library (1993):

They covered a lot of languages (x86 and 68k assembly, C, C++, Turbo Pascal and many more), and very interesting hardware designs.

–jeroen

via: Index of /pdf/microCornucopia.

Posted in Assembly Language, BitSavers.org, C, C++, Delphi, Development, History, Pascal, Software Development, Turbo Assembler, Turbo Pascal, x86 | Tagged: , , , | 2 Comments »