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

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 »

Fixed this error in Continua CI: Build ErrorUnable to start build – No changesets found in repository: [FastMM-jeroenp]

Posted by jpluimers on 2014/09/18

Recently I got an error like this in Continua CI:

Build ErrorUnable to start build – No changesets found in repository: [FastMM-jeroenp]

This was about my Git FastMM repository on BitBucket. Which is a Git repository originally gotten through Git SVN (more on that at a later time).

Since it is not an SVN repository, SVN – No changesets found in repository – VSoft Technologies does not apply, but got me closer to the solution

The solution is this

Read the rest of this entry »

Posted in Continua CI, Continuous Integration, Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management, Subversion/SVN | 3 Comments »

ModelMaker Tools released Code Explorer v 11.1.0 with Delphi XE7 support (via: ModelMaker Code Explorer: Refactoring made Easy! – Class Explorer, Refactoring Browser for Delphi.)

Posted by jpluimers on 2014/09/18

Nice!

On September 17th 2014 ModelMaker Tools released Code Explorer v 11.1.0 This update includes Delphi XE7 support.

–jeroen

via ModelMaker Code Explorer: Refactoring made Easy! – Class Explorer, Refactoring Browser for Delphi..

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

Continua CI – v1.5.0.295 Released. Critical bug fix for Git; requires resetting your Git repositories

Posted by jpluimers on 2014/09/18

If you run Continua CI 1.5.x.y and use Git then make sure you upgrade to at least Continua CI 1.5.0.295 (get it from the Continua CI download page).

Click on the shield icon, followed by

Click on the shield icon, followed by “CI Server”

After that, reset all your Git repositories in ContinuaCI.

To view all the repositories on the server, follow either of these steps:

  • A:
    1. Logon as an administrator with the rights to view all repositories on the Continua CI server.
    2. Click on the shield icon in the top bar.
    3. Then click on “CI Server”.
    4. In the list on the left, scroll down and click “Repositories”.
  • B:
    1. Logon as an administrator with the rights to view all repositories on the Continua CI server.
    2. Note the URL in the address bar of your browser (for instance http://localhost:8080/ci).
    3. Replace the /ci part of your URL with /administration/ci/repositories (so you end up at something like http://localhost:8080/administration/ci/repositories).
    4. Go to that URL.

Now you are in the repositories section, where you see all the repositories configured on the Continua CI. Each repository has a [Reset] link in the right most column.

Then follow these steps: Read the rest of this entry »

Posted in .NET, Continua CI, Continuous Integration, Delphi, Development, Software Development | Leave a Comment »

Free JavaScript and Python Books (via: revolunet)

Posted by jpluimers on 2014/09/17

Great to see the French company revolunet list a lot of non-French books on JavaScript and Python:

So where their government tries to make radio stations, written press, etc to favour French over other languages, French companies look beyond their borders.

Great!

–jeroen

via: revolunet: Rich Web Applications, HTML5, Sencha Touch, ExtJS, Phonegap.

Posted in Development, JavaScript/ECMAScript, Python, Scripting, Software Development | Leave a Comment »

Pair Programming – you need to strike a balance

Posted by jpluimers on 2014/09/16

I love improving my own and teams’ programming skills.

Key is to strike a balance, as there never is a silver bullet.

One of the things lots of people praise is Pair Programming. And it works great: up to a certain point, for some categories of people.

So it it worthwhile to read an article like Ben Northrop – Pair Programming – My Personal Nightmare.

Being a Meyers-Briggs type ISTP and best functioning as a Completer Finisher team role according to the Belbin tests, I love “flow state” and value being able to both work in solitude, and share knowledge/crafts with the teams I’m part of.

Which means I like Extreme Programming techniques like Pair Programming, Scrum sprints, Standup Meetings, etc. I am also very much aware that the sticky notes on a brown paper wall cover don’t stick for long.

So like in real life, it’s all about awareness and striking a balance in what you do: be aware what you do, how you do it and why you do it.

–jeroen

via: Ben Northrop – Pair Programming – My Personal Nightmare.

Posted in Development, Software Development | Leave a Comment »

Delphi: considerations regarding rendering performance improvements for FireMonkey applications (via: +Simon Stuart)

Posted by jpluimers on 2014/09/15

Simon Stuart yesterday posted a very interesting post on G+ that explains on this (edited) topic:

#Rendering   I was having a conversation last night … with +David Berneda regarding rendering performance improvements for FireMonkey applications.
Specifically, custom drawing/rendering on a FireMonkey Canvas.

I just want to summarize the points I raised, and some of the conclusions I’ve come to having been working with rendering in FireMonkey since the end of June this year.

–jeroen

via: Simon Stuart rendering performance improvements for FireMonkey applications. Specifically, custom drawing/rendering on a FireMonkey Canvas.

Posted in Delphi, Delphi XE5, Delphi XE6, Delphi XE7, Development, FireMonkey, OS X FMX, Software Development | 3 Comments »