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

Archive for February, 2011

Domotica – WiFi thermostaten

Posted by jpluimers on 2011/02/28

Hier wat linkjes omdat ik de huidige thermostaat van onze CV door een WiFi variant wil vervangen.

Domotica dus :-)

We hebben nu de iSense thermostaaat dat via het OpenTherm protocol de CV aanstuurt: http://shop.kamerthermostaat.com/epages/62028128.sf/nl_NL/?ObjectPath=/Shops/62028128/Categories/Remeha

Remeha Recom software: http://nl.remeha.com/index.php?id=203

EcoBee heeft een interessant product, maar het is onduidelijk of ze OpenTherm ondersteunen: http://www.ecobee.com/

Quby interfaced niet alleen via OpenTherm met je CV, maar ook met je electiciteitsmeter: http://www.quby.nl/index.php/hoe-werkt-quby

Bwired heeft ontzettend veel informatie over domotica: http://www.bwired.nl/weblog.asp?cat=Bwired

Digit’s domotica blog: http://blog.hekkers.net/; hij heeft een Remeha monitor http://www.hekkers.net/domotica/Monitor_Remeha_Calenta.aspx

Tweakers.net thread: http://gathering.tweakers.net/forum/list_messages/1346842/10

Radiothermostat in gebruik

–jeroen

Posted in LifeHacker, Power User | 6 Comments »

NTFS-3G: NTFS driver for non-Windows stack (Linux, Mac, Android, etc)

Posted by jpluimers on 2011/02/25

After not having taken a look at NTFS for Linux for a while, I recently found out that NTFS-3G supports many platforms: Linux, Mac OS X, Android, etc.

Oh: and it supports Compressed Files too.

–jeroen

Posted in *nix, Power User | 2 Comments »

Delphi friend in NZ seeks work (preferably remotely)

Posted by jpluimers on 2011/02/25

A seasoned Delphi developer friend in NZ (near Christchurch) seeks work, preferably if he can work remotely.

Please drop me an email to get more information.

–jeroen

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

Microsoft Trademarks – be careful when using product names like these

Posted by jpluimers on 2011/02/25

While some of the names on the Microsoft Trademarks list are very generic (Windows, SideWinder, Arc, Expression, just to name a few), be careful when using them in a product name.

When a company with such deep pockets comes after you, you need a have a lot of persistence and be very patient.

–jeroen

Posted in Power User | Leave a Comment »

Exception Filter – VB.NET supports this, but not C#, so write a VB.NET wrapper to expose it to C#

Posted by jpluimers on 2011/02/24

Often I explain to people that there are a lot of .NET languages, because the .NET IL is rich, so the individual languages can focus on the IL pieces they do best.

This also means, that most languages have some support for specific pieces of IL that other languages do not have support for.

The IL Exception Filter feature is one such thing. It is supported by for instance VB.NET but not by C# as Junfeng Zhang explains:

C# does not support exception filter. However, VB and IL support it. To add exception filter to C#, we can build a function in VB or IL, then call it in C#.

Read his full article for the complete code.

–jeroen

via: Exception Filter – Junfeng Zhang’s Windows Programming Notes – Site Home – MSDN Blogs.

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

Some great links to Quotes on Programming and Software Development #fun #bastacon

Posted by jpluimers on 2011/02/23

Many, many nice sayings have been done about Programming, Software Development, the people that do the work, etc.

I collected a few links to nice lists of them, and used some of them at my talk on The Best C# Extension Methods at the BASTA! Spring 2011 conference this week in Darmstadt, Germany (yes, I do speak German, don’t ask me about my German writing though <g>).

A few teasers:

Programming is similar to a game of golf.  The point is not getting the ball in the hole but how many strokes it takes.
~Harlan Mills

If debugging is the process of removing software bugs, then programming must be the process of putting them in.
Edsger Dijkstra

They don’t make bugs like Bunny anymore.
~Olav Mjelde

So here it goes:

Enjoy ;-)

BTW:
You can download all the sample code on my session from our bo.codeplex.com sourcecode repository.
If you want a PDF of the slides, just drop me an e-mail.

–jeroen

Posted in BASTA!, Conferences, Event, Opinions | Leave a Comment »

Duh: projects of non-installed identities won’t load in VS. Learned: always install your VM yourself

Posted by jpluimers on 2011/02/23

For a project, I got a preconfigured VM for a client.

Certain projects they used gave this message:

—————————
Microsoft Visual Studio
—————————
The selected file cannot be opened as a solution or project. Please select a solution file or a project file.
—————————
OK
—————————

It appeared the didn’t do a full Visual Studio installation, so certain project types didn’t load.

This case it was Visual Studio 2008 and VBPROJ types, as Visual Basic .NET is way easier to do Office automation than C#.

In C#, you need truckloads of Type.Missing, which you do not need in VB.NET; Visual Studio 2010 made this easier, but you still often need them.

Lesson learned: always build all projects when you get a development VM, and prefer to install the VM yourself.

–jeroen

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

Supporting Office 2003 from .NET: getting the Office 2003 Primary Interop Assemblies

Posted by jpluimers on 2011/02/22

Often you work with projects not having the latest stuff.
Sometimes that is a good thing: latest stuff is not always best :-)

In this case, the client had Office 2003, and needed to do some Excel automation from .NET.
The development systems however had Office 2007 on it, so importing Excel defaults to the Office 2007 Primary Interop Assembly: Office version 12 in stead of 11. Read the rest of this entry »

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

c# – What can I use to let users build their own avatar character? – Stack Overflow

Posted by jpluimers on 2011/02/21

Some cool suggestions on avatar sites: c# – What can I use to let users build their own avatar character? – Stack Overflow.

–jeroen

Posted in Pingback, Power User, Stackoverflow | Leave a Comment »

iPad/iPhone Quick Tip: Enabling Multiple Google Calendars: Apple News, Tips and Reviews Â«

Posted by jpluimers on 2011/02/21

Most tips (like this one) I found to sync multiple Google Calendars to your iPad/iPhone don’t work any more.

This  iPad Quick Tip: Enabling Multiple Google Calendars by Geoffrey Goetz works well.

Summary:

  1. if you have iOS 3.x, then you need to sync using CalDAV
  2. if you have iOS 4.x, then you can sync using Google Calendar Sync.

In both cases, you need to visit the iPhoneSelect page to enable the calendars you wish to see on your iPad/iPhone.

Tthe actual iPhoneSelect page depends on how you use Google Calendar:

  1. Regular Google Calendar:
    https://www.google.com/calendar/iphoneselect
  2. Google Apps Calendar:
    https://www.google.com/calendar/hosted/your_domain/iphoneselect
    replacing ‘your_domain’ with your actual domain name.

Simple when you know how :-)

Now hopefully Geoffrey Goetz’ tip becomes more popular in the search rankings.

–jeroen

via: iPad Quick Tip: Enabling Multiple Google Calendars: Apple News, Tips and Reviews «.

Posted in iOS, iPad, iPhone, Power User | Leave a Comment »