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 ‘Software Development’ Category

Macros are gone since Visual Studio 2012, but an extension brings textual macro’s back (via Can I record/play Macros in Visual Studio 2012/2013? – Stack Overflow)

Posted by jpluimers on 2015/02/25

This is why I like the extensions in Visual Studio so much: even though recordable macro’s were removed in Visual Studio 11, textual macros (which I used most) are in the Text Macros for Visual Studio 2012/2013 extension by Xavier Poinas:

You can try this extension (I am the author):

http://visualstudiogallery.msdn.microsoft.com/8e2103b6-87cf-4fef-9410-a580c434b602

It basically does the same thing as the Notepad++ macros (text editing, no UI automation).

The code is open source (GitHub), so feel free to contribute improvements :-)

–jeroen

via: Can I record/play Macros in Visual Studio 2012/2013? – Stack Overflow.

Posted in .NET, Development, Software Development, Visual Studio 11, Visual Studio 2002, Visual Studio 2003, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | 4 Comments »

[NL] encoding blijft moeilijk, waarom toch? (dit keer in een brief van @xs4all)

Posted by jpluimers on 2015/02/24

Hoe moeilijk kan het toch zijn om je encoding goed te doen.

Deze keer uit een brief van xs4all:

Mojibake encoding probleem

Mojibake encoding probleem

Als je een trema in een brief zet, dan controleer je toch even dat die ook goed op de brief wordt afgedrukt?

Read the rest of this entry »

Posted in Development, Encoding, ISO-8859, Mojibake, Software Development, Unicode, UTF-8, UTF8 | Leave a Comment »

Hack Raspberry Pi – How To Build Apps In C#, WinForms and ASP.NET Using Mono In Pi (via: Amazedsaint’s Tech Journal)

Posted by jpluimers on 2015/02/24

Interesting: Amazedsaint’s Tech Journal: Hack Raspberry Pi – How To Build Apps In C#, WinForms and ASP.NET Using Mono In Pi.

–jeroen

Posted in .NET, Development, Hardware Development, Raspberry Pi, Software Development | Leave a Comment »

The way a wiki should work: List of Delphi language features and version in which they were introduced/deprecated – Stack Overflow

Posted by jpluimers on 2015/02/21

This is the way a wiki should work:

List of Delphi language features and version in which they were introduced/deprecated – Stack Overflow.

Thanks Simon Stuart for asking, and many others (especially Johan) for providing the info.

Note the version that is missing (;

–jeroen

Posted in Delphi, Delphi 1, Delphi 2, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Development, Software Development | Leave a Comment »

One line browser notepad (via: Jose Jesus Perez Aguinaga)

Posted by jpluimers on 2015/02/19

Smart, it works in any modern html5 capable browser:


data:text/html, <html contenteditable>

Be sure to look at the blog post and comments at Jose Jesus Perez Aguinaga : One line browser notepad as they explain why this works, and how to extend it in a couple of really smart way.

–jeroen

via: Jose Jesus Perez Aguinaga : One line browser notepad.

Posted in Chrome, Development, Firefox, HTML, HTML5, Internet Explorer, Opera, Power User, Safari, Software Development, Web Browsers, Web Development | 1 Comment »

Mac OS X: Replicating md5sum Output Format (via: Raam Dev)

Posted by jpluimers on 2015/02/18

Mac OS X has md5, but no md5sum.

I agree with Mac OS X: Replicating md5sum Output Format that the second way of emulating md5 is better than the first one.

So here it is:


#!/bin/bash
/sbin/md5 -r "$@"

view raw

md5sum.bash

hosted with ❤ by GitHub

–jeroen

via: Mac OS X: Replicating md5sum Output Format – Raam Dev

Posted in Apple, bash, Development, Hashing, Mac, 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, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, md5, OS X 10.8 Mountain Lion, Power User, Scripting, Security, Software Development | Leave a Comment »

Creating an ICO file from multiple PNG files: IcoFX versus ConvertICO.org

Posted by jpluimers on 2015/02/17

For Windows Vista and up, you need at least these icon resolutions:

  • 16×16
  • 32×32
  • 48×48
  • 256×256

For Windows XP / 2003 Server and earlier, you’d only need the 16×16, 32×32 and 48×48 resolutions, and if you support older video hardware, include them in 24-bit, 8-bit and 4-bit color depth.

For younger versions you might consider adding 20×20, 24×24, 40×40, 64×64 and 128×128 as well to support higher DPI modes.

You need to include and various other sizes for other operating systems.

Getting at them, I usually start with an EPS file, then downscale to the right resolution, and save the resulting files as PNG images, then assemble those together.

A while ago, I had some icons with nice long diagonal line, then I found out the hard way I should not have used ConvertICO.org. I often prefer on-line tools over off-line, especially for actions I rarely do (this is one of them). It saves you from installing software, and on-line sites usually get better over time.

In this case, I shouldn’t have gone online: Just look at the jagged edges in the 200% zoom below: the image on the right is from ConvertICO.org, on the left it is from IcoFX.

What you clearly see is that ConvertICO messes around with the 256×256 image (it doesn’t mess around with the other resolution), but IcoFX doesn’t mess around.

So now I switched to IcoFX. Not on-line, but a great free tool. Read the rest of this entry »

Posted in Development, Power User, Software Development, 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 | 2 Comments »

Windows Alt Key Codes

Posted by jpluimers on 2015/02/16

Brillant!: Windows Alt Key Codes.

The page has both lists of four-digit ALT+#### codes, a how-to, and reference links:

  1. Letters with Accents – (e.g. ó, ò, ñ)
  2. Other Foreign Characters – (e.g. ç, ¿, ß)
  3. Currency Symbols – (e.g. ¢, £, ¥)
  4. Math Symbols – (e.g. ±, °, ÷)
  5. Other Punctuation – (e.g. &, ©, §)
  6. Using the Codes
  7. Other Accents and Symbols: Character Map Other Page
  8. Non-Numeric Accent Codes: Activate International Keyboard Other Page
  9. Links to Other References

–jeroen

Posted in Development, Encoding, Power User, Software Development, Unicode, 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 »

GenerateGroupProjConsoleProject fix for Delphi 2007 – jeroenp / BeSharp.net / commit / f7c23ffe4cb1 — Bitbucket

Posted by jpluimers on 2015/02/15

Talking about Delphi 2007 stuff:

I needed to generate a bunch of groupproj files for Delphi 2007 (I wrote about legacy yesterday), but found out that my GenerateGroupProjConsoleProject was generating too good XML.

So here is the change-set:

Allow generating Delphi 2007 .groupproj files (uses a string search/replace hack as Delphi 2007 uses xmlns=”” which you cannot set manually through the normal IXMLNode ways especially not with ADOM).

TODO: verify if/how the GroupProj.xsd can be adopted to this not so nice XML that Delphi 2007 uses.

–jeroen

via jeroenp / BeSharp.net / commit / f7c23ffe4cb1 — Bitbucket.

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

Where My Delphi Life Began – via David Millington and Simon Stuart #DelphiWeek

Posted by jpluimers on 2015/02/14

Marketing blast of the past via David Millington – Google+.

I got most of the Delphi versions from D2-D6 on PC Plus magazine cover CDs, an English magazine also published in Australia. I wouldn’t be here now if I hadn’t had access to those free copies of Delphi when I was a kid.

and this one:

It came with a promotional copy of Borland Delphi… and unlike other “promotional” software often distributed on the cover disks of popular computer publications at that time, this one had absolutely no restrictions and was fully functional.

From a really nice article by Simon Stuart.

Who thought that he was ever at the Basic side of things (:

And of course it ends with correct Delph-ee pronunciation to be right: the community at large has spoken.

Given this week went very different than I anticipated, here is a much shorter story than I hoped for. I’ll focus on the early days, you can read on the later and current days here on my blog.

My own early Delphi life

For me, my Delphi life has been pretty straight forward. It started with the early days and Turbo Pascal leading to Delphi.

Read the rest of this entry »

Posted in BBS, Castalia, Delphi, Development, FidoNet, History, Software Development | 2 Comments »