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

Windows Vista/7 – solution for multimedia (Flash!) throttles your network: NetworkThrottlingIndex

Posted by jpluimers on 2010/02/09

When you play multimedia on Windows Vista, Windows 7 or Windows Server 2008, your network performance is throttled.

This behaviour was not present in Windows XP, but was introduced in Windows Vista and still present in Windows 7 and in Windows Server 2008.

From Vista SP1 on (including Windows 7 and Windows Server 2008), this behaviour is configurable in the registry by changing a registry value.
The Microsoft knowledge base explains this is the NetworkThrottlingIndex value, but falsely indicates at the bottom it is for Windows Vista SP1 only (it actually works since Vista SP1, so this includes both Windows 7 and Windows Server 2008). Read the rest of this entry »

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

Google Chrome just got enriched with 30+thousands scripts (link to “Fire Outfoxed: Greasemonkey Creator Builds Native Support Into Chrome”)

Posted by jpluimers on 2010/02/07

The recently launched Google Chrome 4 introduced plugin support (they call it support for  extensions).

Greasemonkey is a scripting plugin allowing you to on-the-fly modify the HTML in your browser. Originally it was Mozilla Firefox only.

On February 1st, Aaron Boodman – the original Geasemonkey developer who now works as Google – announced that Greasmonkey support it is available natively in Google Chrome 4.

There are some 40-thousand scripts available on userscripts.org, lots of them written by people like you and me (from simple things like filling out forms and removing ads to complex stuff like re-layouting complete pages).
The vast majority of those scripts will work in Google just as well as in Firefox, the rest (some 15 to 25 percent) need adaption. Read the rest of this entry »

Posted in Development, Google Apps, Power User, Software Development, Web Development | 2 Comments »

Delphi – 2010/2009 code-completion changes making life harder..

Posted by jpluimers on 2010/02/01

I’m trying to create a list of code completion changes in Delphi 2009 and 2010 that make life a harder (as compared to Delphi 2007).
The reason is that I want to post a summary in a QC report, so they get fixed.

Please comment below to add your own.
I’ll summarize in a week or 2.

These are the ones I found:

  1. When the code completion list is visible, pressing the Enter key would select the topmost item and complete it
  2. When you press ctrl-space to activate the code completion list, and you had already typed part of an identifier, the topmost item would match this identifier

I have the idea that this is caused by the fact that when the code completion list becomes visible, the topmost item in the list is not automatically being selected in Delphi 2009/2010, where in Delphi 2007 (and before) it was.

It seems you now need to press the down-arrow once to select it.
That means one action extra, while the code completion list has always meant to be a productivity boost.

Please comment….

–jeroen

Posted in Delphi, Development, Software Development | 21 Comments »

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 :-)

–jeroen

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 »

Web Security: Are You Part Of The Problem? – Smashing Magazine

Posted by jpluimers on 2010/01/15

These Smashing people provide real concise info.

Note their quite though:

Disclaimer: the things we’ll talk about in this article today won’t make you a security expert, just as buying a Swiss Army knife won’t make you a locksmith or buying a whip won’t make you a lion tamer. The purpose here is to raise awareness and perhaps make some of that security mumbo-jumbo a bit more understandable to you.

Web Security: Are You Part Of The Problem? – Smashing Magazine.

Posted in CSS, Development, Software Development, Web Development | Leave a Comment »

My Tips on WordPress.com — Blog — WordPress.com

Posted by jpluimers on 2010/01/14

So I won’t forget:

My Tips on WordPress.com — Blog — WordPress.com.

–jeroen

Posted in Power User | Leave a Comment »