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

Archive for the ‘Software Development’ Category

Signs of Delphi x64: Allen Bauer (kylix_rd) on Twitter

Posted by jpluimers on 2010/10/26

Probably a few others will blog about these tweets too.
I have bolded the most important pieces:

kylix_rd Allen Bauer

If you must… Value := Integer(TList[x]) -> Value := NativeInt(TList[x]). Even better, TList<Integer>.

6 hours ago

kylix_rd Allen Bauer

Another Milestone: fixed my first legitimate 64bit RTL bug. if TryOpenForInput(t) then s/b if not TryOpenForInput(t) then

10 hours ago

kylix_rd Allen Bauer

Milestone: 64bit compiler now merged into the main dev branch! All devs are now locked and loaded!

13 hours ago

–jeroen

via Allen Bauer (kylix_rd) on Twitter.

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

DOS on Dope: The last MVC web framework you’ll ever need

Posted by jpluimers on 2010/10/25

Hilarious!

After all the hypes…

…the modern MVC framework built on the awesome power of Batch scripts

–jeroen

via DOS on Dope: The last MVC web framework you’ll ever need.

Posted in Development, Software Development | Leave a Comment »

Twitter / Danny Thorpe: New programmers are drawn …

Posted by jpluimers on 2010/10/21

Brilliant and so true:

New programmers are drawn to multithreading like moths to flame, with similar results.

Edit: And this is just one example on how tiny little details can impact threading so much.

–jeroen

via Twitter / Danny Thorpe: New programmers are drawn ….

Posted in .NET, Agile, CommandLine, Debugging, Delphi, Development, Opinions, Software Development | 10 Comments »

Solution for OLE DB provider connecting to SQL Server giving error “Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done”

Posted by jpluimers on 2010/10/19

Recently, I had the error message “Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done” occur to me when connecting through the “Microsoft OLE DB Provider for SQL Server”.

I got the below message (in this case in Delphi, but I have seen lots of other people having the same issue using other environments too): Read the rest of this entry »

Posted in Database Development, Delphi, Development, Software Development, SQL Server | 5 Comments »

WordPress Pages and Page Order

Posted by jpluimers on 2010/10/15

WordPress Page Order is a number increasing from left to right.
You can have holes in the number sequence.

So, back to the BASIC and FORRAN line numbering schemes (increment bij 100, 10, or you name it).

–jeroen

via: Pages « WordPress Codex.

Posted in Development, Software Development, Web Development, WordPress | Leave a Comment »

.NET/C#: stupid code of the day – Cosmos.Debug.VSDebugEngine

Posted by jpluimers on 2010/10/13

I wasn’t the first one to notice this one, but is hilereous:

bool enabled = fEnable == 0 ? false : true;

Read the rest of this entry »

Posted in .NET, C#, Debugging, Development, Opinions, Software Development | Leave a Comment »

VS2010: “ASP.NET Web Service Application” (and other) projects gone

Posted by jpluimers on 2010/10/05

In Visual Studio 2010, the empty “ASP.NET Web Service Application” projects are gone.

This is probably because Microsoft rather has you use WCF, so a few of those “older” templates are now gone:

To simplify things a bit in 2010, we’ve removed a few of the older templates.  You can get the same thing by creating an empty website and adding a web service to it.

Funny though, as the “old” templates are still mentioned, of course in their ASP.NET 3.5 web service documentation, but also in their Visual Studio 2010 ASP.NET Web services documentation :-)

–jeroen

via: Visual Web Developer Express 2010 – WebService Template – ASP.NET Forums.

Posted in .NET, ASP.NET, Development, SOAP/WebServices, Software Development | Leave a Comment »

TFS: using tf to move files

Posted by jpluimers on 2010/09/30

Recently, I had a “server binding” “status=invalid” in TFS when moving quite a bit of files from CVS to TFS.
The most problematic where getting the solution, and a webservice project correctly.

The FAQ on solution binding indicated I should fix my workspace (which is simple: just a root directory), so that was not of much help.

I tried various other things, but in the end, the easiest fix was to:

  1. rename the directories of the bad solution and project,
  2. create an empty solution
  3. create an empty ASP.NET web site project
  4. then move all of the old files to the new directory structure

Moving files around from within Visual Studio is a tedious process: you can only move one file at a time.

TF to the rescue: it allows you to call perform TFS tasks from the commandline.

Time to automate that with a little batch file. Read the rest of this entry »

Posted in CommandLine, Development, Source Code Management, TFS (Team Foundation System) | Leave a Comment »

co-worker question: what is better, extension methods or helper classes?

Posted by jpluimers on 2010/09/29

Recently, a co-worker at a client asked me “What is better: extension methods of helper classses?”.

This question is relevant not only in the .NET and Delphi worlds.

My answer was simple, consisting of these 3 points: Read the rest of this entry »

Posted in .NET, C#, C# 4.0, Delphi, Development, Opinions, Software Development | 5 Comments »

Talking SOAP to your ESXi box: VMware vSphere Web Services SDK

Posted by jpluimers on 2010/09/22

Note that what you can do through the SDK (and vMA and its’ virtual appliance or that matter) is limited by what your ESX / ESXi license allows.

The VMware KB has more information on this: you will need at least a vSphere Essentials license for your ESXi box to use it..

If you have a free ESXi license, you will often get messages like these:

SOAP Fault:

Fault string: fault.RestrictedVersion.summary
Fault detail: RestrictedVersionFault

Read the rest of this entry »

Posted in Development, ESXi4, Power User, SOAP/WebServices, VMware | Leave a Comment »