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

Archive for 2013

Ye Olde Automated 16TB Windows Azure Virtual Machine demo – Team Individualism – Site Home – MSDN Blogs

Posted by jpluimers on 2013/07/02

For my link archive: PowerShell Scripts to create VMs with large disks.

Ye Olde Automated 16TB Windows Azure Virtual Machine demo – Team Individualism – Site Home – MSDN Blogs.

–jeroen

Posted in Cloud Development, CommandLine, Development, Power User, PowerShell, Software Development, Windows Azure | Leave a Comment »

This summer, 40 years ago “The Pascal Programming Language (Revised Edition)” was published

Posted by jpluimers on 2013/07/01

Niklaus Wirth developed the Pascal Programming Language in the early 1970s.

This summer, 40 years ago, he published an important report in that era: “The Programming Language Pascal (Revised Report) July 1973“.

The report describes the language after it had been use in a while and includes a few language changes (packed records and arrays, file handling behaviour, and a few others) introducing a period of language stability.

If you are part of the Swiss research community, you can download the original PDF at

http://e-collection.library.ethz.ch/eserv/eth:3059/eth-3059-01.pdf?pid=eth:3059&dsID=eth-3059-01.pdf

If you are not, then Switch.ch will block access.

However, there are at least 2 ways to view the report:

An earlier (November 1972) draft of the report is also available.

–jeroen

Posted in Development, Pascal, Software Development, Standard Pascal | Leave a Comment »

If you by accident press Ctrl-Z on the Linux console, use fg to un-suspend that task

Posted by jpluimers on 2013/07/01

The Linux console has different shortcut keys than many people are used to, so Ctrl-Z is not “undo”, but “suspend”. It sends and returns you to the command prompt.

The easiest way to undo that is to type fg, which brings back the suspended process into the foreground.

A nice post with a bit more background information is Bg, Fg, &, Ctrl-Z – 5 Examples to Manage Unix Background Jobs.

–jeroen

via: What is effect of CTRL + Z on a unix\Linux application – Super User.

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

Interesting series of Hak5 videos on technology stuff like security, Arduino, Linux, the Web, …

Posted by jpluimers on 2013/06/28

Watch the most interesting past episodes and Linux tips from Hak5 during your summer holiday, then make sure you follow them.

Oh, and I need to find out of there are European resellers of their shop.

–jeroen

via: Episodes | Technolust since 2005Technolust since 2005.

Posted in Uncategorized | Leave a Comment »

mutt notes

Posted by jpluimers on 2013/06/28

When the webmail doesn’t do what I want, I fall back on mutt on the Linux command line prompt.

It is an immensely strong and stable text based mail client, but – beyond the basics – has a steep learning curve.

In fact it is so stable, that the CVS repository rarely gets commits

So below a few notes that I used to clean up truckloads of mail.

  1. Read Real Programmers: Jump Start: Mutt — by hackers, for hackers. It is a very short introduction with the most powerful.
  2. Read My first mutt : Searching mail (the best article on My first mutt), and My first mutt : mutt overview. They why limit is far more useful than search, and the basic UI concept of mutt.
  3. The mutt documentation has a text based man page.
  4. But there is both a html manual and text manual
    (the devel doc branch has both html manual and text manual too).
  5. A lot of actions in mutt depends on patterns which are based on regular expressions.

For me the most powerful combination of steps is this:

  1. Limit the message view to a search pattern of messages you are looking for
  2. Tag the (groups of) messages you want to operate on
  3. Use the semicolon tag-prefix command to operate only on the tagged messages [Wayback/Archive] Mutt: apply command to all tagged messages – Super User
    Once you have tagged the desired messages, you can use the tag-prefix operator, which is the ; (semicolon) key by default. When the tag-prefix operator is used, the next operation will be applied to all tagged messages if that operation can be used in that manner.

A few more details are below. Read the rest of this entry »

Posted in *nix, Cygwin, Linux, Power User | 1 Comment »

A constant source of confusion: Simplicity

Posted by jpluimers on 2013/06/27

Once every while you come across a post that is so good, you add another feed to your RSS list. This time I added Su-Shee’s posts,

Quote from: A constant source of confusion: Simplicity.

what is it really about all this simplicity stuff

It is a post about IT development. Teams. Platforms. Tools. Frameworks. Etc.

Striking a balance to keep things simple enough to be manageable is always key and her examples are just great!

–jeroen

via: A constant source of confusion: Simplicity.

Posted in Development, LifeHacker, Opinions, Power User, Software Development | Leave a Comment »

PowerShell: fixing script signing errors even after you had “Set-ExecutionPolicy RemoteSigned”

Posted by jpluimers on 2013/06/27

Once every while PowerShelll users get an error like this:

PS C:\bin> . .\DownloadedScript.ps1
. : File C:\bin\DownloadedScript.ps1 cannot be loaded.
The file C:\bin\DownloadedScript.ps1 is not digitally signed.
The script will not execute on the system. For more information, see about_Execution_Policies at
http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3
+ . .\DownloadedScript.ps1
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
PS C:\bin>

I recently had it too, but was surprised this happened as I took the steps in my previous blog posts on this topic: Read the rest of this entry »

Posted in CommandLine, Development, PowerShell, PowerShell, Scripting, Software Development | Leave a Comment »

.NET/log4net configuration: LevelMatchFilter with DenyAllFilter to discard several log levels within a range

Posted by jpluimers on 2013/06/27

log4net configuration can be a tad intimidating at first.

When you do not want to log all levels, and the levels you want to log are not noncontinuous, then you can combine the LevelMatchFilter with a DenyAllFilter.

The filter classes in the log4net do not provide much help on this, but the filters section in the log4net manual is better.

This StackOverflow question has a very nice answer explaining it: Discarding several log levels within a range with log4net.

–jeroen

via: Discarding several log levels within a range with log4net – Stack Overflow.

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development | Leave a Comment »

Embedded Interop Assemblies (via: CLR and DLR and BCL, oh my! – Whirlwind Tour around .NET 4) – Scott Hanselman

Posted by jpluimers on 2013/06/26

Need to put some research in this, as I have the idea that under some circumstances embedding Office interop assemblies not always works.

–jeroen

via: CLR and DLR and BCL, oh my! – Whirlwind Tour around .NET 4 (and Visual Studio 2010) Beta 1 – Scott Hanselman.

Posted in .NET, .NET 4.0, .NET 4.5, Development, Office PIA, Software Development | Leave a Comment »

Steps for setting up SvnBridge with TFS2012 (via SvnBridge forum at CodePlex)

Posted by jpluimers on 2013/06/25

This [WayBackSvnBridge – Use TortoiseSVN with Team Foundation Server – View Discussion shows you how to setup SvnBridge with TFS 2012 and IIS 7.5.

20170517: a fork is at https://github.com/andim2/SvnBridge

[WayBack] SvnBridge on CodePlex.

–jeroen

Posted in Development, Software Development, Source Code Management, Subversion/SVN, TFS (Team Foundation System) | Leave a Comment »