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 2,977 other subscribers

Archive for January, 2010

gmail harmless error message when editing settings: “Your changes have not been saved. Discard changes?”

Posted by jpluimers on 2010/01/28

When you edit your gmail settings, recently you often  get this message if you move the focus away from the settings pane:

Your changes have not been saved.
Discard changes?

The odd thing is that the settings are indeed saved just before you move the focus away.

So I always wondered if the message can be really ignored, and this thread confirms the message indeed is harmless.

I do still wonder why I get this message mostly in FireFox and Internet Explorer, but almost never in Chrome :-)


Posted in Chrome, Chrome, Firefox, GMail, Google, Internet Explorer, Power User, Web Browsers | Leave a Comment »

Brilliantly simple webpage: Get URLs

Posted by jpluimers on 2010/01/27

Fill in an URL on this page, and it will extract all the URLs it finds on that page.

Simple. Brilliant.

Get URLs.

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

Validate XML with XSD in .NET and native MSXML – big difference in string maxLength validation with newlines (samples in C# and Delphi)

Posted by jpluimers on 2010/01/19

Recently, I had an issue while validating XML with XSD: validation in .NET using the built in classes in the System.XML namespace, and validation in native Windows using the COM objects exposed by  MSXML version 6 (which incidentally ships with the .NET 3.0 framework).

Some documents validating OK in .NET did not validate well with MSXML.

I’ll show my findings below, and try to explain the difference I found, together with my conclusions.
The main conclusion is that MSXML version 6 has a bug, but I wonder why I can’t find much more information on it.

Since there is not so much ready to use for validating XML by XSD in .NET and native, I’ll include complete source code of command-line validations applications for both platforms.
.NET source code is in C#.
Native source code is in Delphi.
Read the rest of this entry »

Posted in .NET, C#, C# 2.0, C# 3.0, Delphi, Development, Software Development, Visual Studio and tools, XML, XML/XSD, XSD | 4 Comments »

10 Free Add-ons to Extend Google Apps and Make It More Useful

Posted by jpluimers on 2010/01/19

I need to remember this:

10 Free Add-ons to Extend Google Apps and Make It More Useful.

Posted in Google Apps, Power User | Leave a Comment »

Delphi – HIGHCHARUNICODE directive (Delphi) – RAD Studio

Posted by jpluimers on 2010/01/18

I forgot about it, but this thread (which got wiped by Embarcadero) reminded be about the differences between these two character values.

Quoting from the first post:

c1 := #128;
c2 := chr(128);
Assert(c1 = c2);

the assertion fails, meaning that c1 <> c2.

In fact c1 = #$20AC and c2 = #$80.

Read the rest of this entry »

Posted in Delphi, Development, Encoding, Software Development, Unicode | 2 Comments »

%d bloggers like this: