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

Archive for 2012

Download your tweets: are you one of the lucky ones that are in the Twitter beta?

Posted by jpluimers on 2012/12/17

Interesting, when I browse to https://twitter.com/settings/account, there is no option to download all my past tweets yet so obviously I’m not on the beta.

Are you?

–jeroen

via: Twitter has started rolling out the option to download all your tweets – The Next Web.

Posted in Power User, SocialMedia, Twitter | Leave a Comment »

namebench – Open-source DNS Benchmark Utility – Google Project Hosting

Posted by jpluimers on 2012/12/17

Interesting: namebench – Open-source DNS Benchmark Utility – Google Project Hosting.

It runs on Mac, Windows and Linux, comes with a GUI and a console version.

–jeroen

Posted in *nix, Apple, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

Link dump: Linux/Unix like commands you can use in the Android Terminal emulator

Posted by jpluimers on 2012/12/14

A few links to Linux/Unix like commands available on Android devices:

Too bad the Android AVD is limited in that it does not allow you to use the Play Store. Without the Play Store, it is hard to install software, lucikly there is a downloadable version of this decent Android shell Terminal Emulator.

Not sure if you want to root the AVD in the way mentioned here.

–jeroen

via:

Posted in *nix, Android Devices, Power User | Leave a Comment »

Ubertronix Strike Finder lets you take pictures of lightnings, popping balloons and even speeding bullets | Photo Rumors

Posted by jpluimers on 2012/12/13

Yet another thing for the Photography Gadget Wish List: Ubertronix Strike Finder lets you take pictures of lightnings, popping balloons and even speeding bullets | Photo Rumors.

–jeroen

Posted in About, Personal, Photography | Leave a Comment »

.NET/MSBuild: A solution for Skipped Build: Project: MyProject, Configuration: Debug Any CPU; Project not selected to build for this solution configuration

Posted by jpluimers on 2012/12/12

One of our solutions would not completely build.

An console application that was hardly used, was not built.

No warnings or hints in the “Error List”.

This is what the build log would show:

------ Skipped Build: Project: App404.UI, Configuration: Debug Any CPU ------
Project not selected to build for this solution configuration
========== Build: 21 succeeded or up-to-date, 0 failed, 1 skipped ==========

None of the suggestions at the Stack Overflow question visual studio 2005: skipping builds for unknown reason? would work (not even running msbuild with the highest verbosity level, you get so much information that it is impossible to weed the useful from the useless information).

Luckily, About | WishMesh pointed me in the right direction: inspect your solution file for anomalies. Read the rest of this entry »

Posted in .NET, C#, C# 4.0, Development, Software Development, Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »

Penetration Testing, Metasploit, Armitage and a nice book by Frank Neugebauer

Posted by jpluimers on 2012/12/11

Penetration testing is an important aspect of measuring how secure your network and computing systems are.

Both the German edition of iX magazine and the Dutch edition of c’t magazine had a series of articles (for instance this one) by Frank Neugebauer on penetration testing with Metasploit and the Armitage UI shell around it.

Just found out that Frank wrote a great book on Penetration testing mit Metasploit.

–jeroen

Posted in *nix, Power User, Windows | Leave a Comment »

Found back my WinImage license (still going strong: What is WinImage)

Posted by jpluimers on 2012/12/10

Every once in a while I need some disk imaging software. After all these years, WinImage is still my tool of choice.

This time, I needed it to create a Creating vSphere 5 ESXi embedded USB Stick.

Usually I only need it for a day or two, and most of the times I have reinstalled my system between uses. Not this time, so I needed to enter the license, which I knew I had, but had to search for it.

Luckily, I have installed the Lookout search tool for Outlook (which – even though you cannot officially get it any more – is so much better than the integrated search).

It found back the below message, from 1997.

1997! And the license is indeed perpetual: it still works on the most current WinImage build (which now supports x64 as well as x86, a lot more disk image formats and disk types, etc).

The WinImage site references some very old tools back from the days when you had BBS, FidonetARPANET, Simtel, and Compuserve (the latter both hosted on PDP-10 machines, 1970s based technologies still ruled many of the computing world).

But I digress.

Back then, the only disk image supported were floppy disks, and most tools were DOS based. Like the FDFormat tool from Christoph H. Hochstätter which allowed you to add 300 kilobyte of extra space on 3.5 inch 1.44 megabyte floppy disk.

You can still see that in the WinImage binaries: Bootsector from C.H. Hochstatter

The email:

From: Gilles Vollant [mailto:——@winimage.com]
Sent: 07 December 1997 13:02
To: ‘——@xs4all.nl’
Subject: WinImage registration notification

Thank you a lot for registering WinImage 4.00 Professional

Your code of registration is:
J——s
—————

Note there is now french, english, italian, portugese, spanish and german version of WinImage.
I send you a floppy with WinImage 4.00 and my freeware Extract. I hope you’ll be happy with WinImage !

Don ‘t hesitate to upload it on BBS and give to your friend !

Only two question : Where did you find WinImage and do you Windows 3.1, Win
95 or WinNT version, or both ? (you can answer in french or english)

For getting more information, you can connect on my web site at :
http://www.winimage.com/winimage.htm
and at http://www.winimage.com for information and downloading other tools (including related to WinImage)

Regards,

Gilles Vollant

–jeroen

via:

Posted in BBS, FidoNet, History, Power User, VMware, VMware ESXi, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

x64 debugging on Windows: usually not directly by the IDE, but trough a debug helper process (msvsmon / PAServer / dbkw64_16_0)

Posted by jpluimers on 2012/12/07

While developing x64 applications, most Windows development tools are actually running in x86 mode, and use an intermediate x64 layer to debug the x64 process even for local debugging.

For Visual Studio 2008 and up, this is msvsmon.exe (for Delphi XE2 and up it is PAServer.exe for remote debugging or [WayBack] dbkw64_16_0.exe for local debugging, other tools use a similar mechanism).

The fun thing with Visual Studio is that when msvsmon.exe fails to load locally, you get a misleading error message:

[Microsoft Visual Studio]
Error while trying to run project: Unable to start debugging.
The Microsoft Visual Studio Remote Debugging Monitor has been closed on the remote machine.
[OK]

I found two workarounds myself :

  1. Kill msvsmon.exe if it is running but Visual Studio cannot talk to it
  2. Restart Visual Studio if it cannot start msvsmon.exe

I learned the why from Steve Steiner: he posted the StackOverflow answer explaining msvsmon.exe is also used for local x64 debugging.

Delphi XE2 and up sometimes have a similar cryptic message (I forgot to jolt it down, next time I come across it, I will edit this blog post) and usually killing PAServer.exe or dbkw63*.exe or restarting the IDE solves it.

–jeroen

via:

Posted in .NET, Debugging, Delphi, Delphi x64, Development, QC, Remote Debugging, Software Development, Visual Studio 11, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »

C#: any c# – .NET Enumeration allows comma in the last field – Stack Overflow

Posted by jpluimers on 2012/12/06

Thanks Nick Craver for answering this on StackOverflow.

Array initializers can be specified in field declarations (§17.4), local variable declarations (§15.5.1), and
array creation expressions (§14.5.10.2).

The array initializer can end in a comma, which makes some things way easier (boy, I wish I had this in other programming languages).

From Nick’s answer:

It has no special meaning, just the way the compiler works, it’s mainly for this reason:

[FlagsAttribute]
public enum DependencyPropertyOptions : byte
{
Default = 1,
ReadOnly = 2,
Optional = 4,
DelegateProperty = 32,
Metadata = 8,
NonSerialized = 16,
//EnumPropertyIWantToCommentOutEasily = 32
}
[/language]By comment request: This info comes straight out of the ECMA C# Specification (Page 363/Section 19.7)

“Like Standard C++, C# allows a trailing comma at the end of an array-initializer. This syntax provides flexibility in adding or deleting members from such a list, and simplifies machine generation of such lists.”

–jeroen

via c# – .NET Enumeration allows comma in the last field – Stack Overflow.

Posted in .NET, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C++, Delphi, Development, Java, JavaScript/ECMAScript, PHP, Software Development, VB.NET | 5 Comments »

If you think CSV is easy; think again!

Posted by jpluimers on 2012/12/05

Lots of people think CSV is easy: it’s just a bunch of values separated with commas. But in practice it is not. Various reasons can make CSV very hard, especially since “CSV” is not a single, well-defined format. As always importing is always harder than exporting. A few reasons that make it hard:

A few links that helped me a lot getting input and output of CSV right in C#:

Thanks to Jabulaza:

–jeroen

via: Comma-separated values – Wikipedia, the free encyclopedia.

Posted in Conference Topics, Conferences, CSV, Development, EBCDIC, Encoding, Event, Software Development | 4 Comments »