The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

    20140508-Delphi-2007--Project-Options--Cannot-Edit-Application-Title-HelpFile-Icon-Theming

    20140430-Fiddler-Filter-Actions-Button-Run-Filterset-now

    20140424-Windows-7-free-disk-space

    More Photos
  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,776 other followers

Archive for September, 2014

A few must watch videos on test driven development and unit testing

Posted by jpluimers on 2014/09/25

If you are going to do test driven development and unit testing, you should watch these videos and slide decks, most of them by Miško Hevery:

  1. Not a video, but a good starter: Guide: Writing Testable Code (or read the PDF version).
  2. 0:32:07 ▶ “The Clean Code Talks — Unit Testing” – YouTube.
  3. 0:37:56 ▶ The Clean Code Talks – Don’t Look For Things! – YouTube. Read the rest of this entry »

Posted in .NET, Agile, C#, Delphi, Development, Java, Java Platform, JavaScript/ECMAScript, Pascal, Scripting, Software Development, Unit Testing, VB.NET | 2 Comments »

Delphi poor mans debugging trick: approximate the source location of an exception address

Posted by jpluimers on 2014/09/24

A while ago, I had a client with an exception on a workstation.

There was no permission to run a debugger on their system, or use something like MadExcept or Exceptional Magic in their code base.

The exception looked like this:

---------------------------
Application Error
---------------------------
Exception EInOutError in module MyApplication.exe at 001656B1.File access denied.
---------------------------
OK
---------------------------

These are the steps to get at the source line in an x86 Delphi program (I still have to try the x64, but presume it works similarly): Read the rest of this entry »

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

Generate XSD from XML – XSD.EXE versus on-line tools – take 2

Posted by jpluimers on 2014/09/23

Almost 4 years ago, I compared XSD.EXE to some on-line tools. Time for a follow-up.

From the old post:

XML Utilities has since then moved to a new domain: www.xmlutilities.net; the other 2 are still at their original locations.

New on-line generators I got pointed at by Mark O’Connor’s stackoverflow answer:

  1. Free Online XSD/XML Schema Generator From XML – FreeFormatter.com.
  2. XML to XSD Generater Online – xmlGrid.net.

Neither of them can generate the XML types separately like XmlForAsp XML Schema Generator does.

But the first one does get attributes right, whereas all the others often skip some or all of the attributes.

–jeroen

via Generate XSD from XML – XSD.EXE versus on-line tools « The Wiert Corner – irregular stream of stuff.

Posted in Development, Software Development, XML, XML/XSD, XSD | 4 Comments »

Optimal posting time? (via: Are there optimal days/hours to post questions in order to get visibility and answers? – Meta Super User)

Posted by jpluimers on 2014/09/22

A while ago, i came across this interesting question: Are there optimal days/hours to post questions in order to get visibility and answers? – Meta Super User.

The recommended time 1400 UTC is related to my blog post scheduling behaviour.

Virtually all my blog posts are either (when both apply at the same time, that is pure coincidence):

I schedule posts on Monday through Friday:

Difference between 0600 UTC and 1400 UTC

So why the time difference of about 8 hours between 0600 UTC and 1400 UTC?

That has to do with the public I generally interact with: software developers speaking English, mainly living in European and USA, with a minority in India, Asia and down-under.

  • At 0600 UTC, most Europeans are about to wake up or just arrived at work, so they get fresh content. Still quite a few people from India and Asia are up (returning from work) can read it the same day it was posted. And virtually everyone in the USA is still sleeping, so they get fresh content too.
  • At 1400 UTC, most Europeans are at work, people at the USA East Coast just started working and the rest of the USA is waking up and (hopefully) going to work. So you get a huge group of on-line people online with a high chance if comment/answer interaction on your question: great for getting answers on the same day.

“Missed Schedule” on WordPress blogs Read the rest of this entry »

Posted in Facebook, G+: GooglePlus, LifeHacker, LinkedIn, Power User, SocialMedia, Twitter, WordPress | Leave a Comment »

Abstract syntax tree builder for Delphi

Posted by jpluimers on 2014/09/20

So I won’t forget: Abstract syntax tree builder for Delphi.

Abstract syntax tree builder for Delphi
DelphiAST Announce
roman.yankovsky.me

Based on CastaliaDelphiParser. Published with MPL license.

–jeroen

via: Does anyone know of a way to get an AST of a Delphi unit? Out of the various….

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

 
%d bloggers like this: