Posted by jpluimers on 2010/03/17
Sometimes you wish there was some universal translation table to get the English error messages.
Just got this at a client:
Project Foo.exe raised exception class EOleException with message ‘De bewerking moet worden uitgevoerd op een query die kan worden bijgewerkt‘.
The English translation of the error message is “Operation must use an updateable query” (which is also wrong: the query is indeed updateable).
But not knowing that English translation beforehand, how do you find out the cause?
Read the rest of this entry »
Posted in Access, Database Development, Delphi, Development | 2 Comments »
Posted by jpluimers on 2010/03/15
In some environments having the “http://technet.microsoft.com/en-us/library/cc773013(WS.10).aspx” service (W32Time) running is not desirable.
Circumstances where you might want to disable W32Time include:
- scheduling algorithms that are sensitive to sudden time changes
- usage of other time synchronization mechanisms
Read the rest of this entry »
Posted in Development, Power User, XP-embedded | 2 Comments »
Posted by jpluimers on 2010/03/09
Starting 20100713, these products are no longer supported by Microsoft:
- Windows 2000 (with or without any SP)
- Windows XP SP2 (XP RTM and SP1 were already “end of support”)
- Windows Vista RTM
For XP: Upgrade to SP3.
For Vista: Upgrade to SP1 or SP2.
More details: End of Support for Windows 2000, Windows XP SP2 and Windows Vista RTM – Windows Vista Team Blog – The Windows Blog.
Posted in Development, Power User | Leave a Comment »
Posted by jpluimers on 2010/02/15
I just found out that the sourcecode tag in WordPress now supports even more languages.
This is the list of languages is below, it contains links to Wikipedia for each language.
Starred ones (bold and hyperlinks in this theme are the same ) are new since my post last year.
This is a follow up on the original article Including formatted sourcecode in WordPress « The Wiert Corner – Jeroen Pluimers’ irregular stream of Wiert stuff.
–jeroen
Posted in .NET, C#, CSS, Database Development, Delphi, Development, Encoding, Java, Software Development, SQL Server, Web Development, WordPress, XML, XML/XSD | Tagged: sourcecode language | 2 Comments »
Posted by jpluimers on 2010/02/12
Google published an interesting graph generated from their internal data based on their indexed web pages.
A quick summary of popular encodings based on the graph:
- Unicode – almost 50% and rapidly rising
- ASCII – 20% and falling
- Western European* – 20% and falling
- Rest – 10% and falling
Conclusion: if you do something with the web, make sure you support Unicode.
When you are using Delphi, and need help with transitioning to Unicode: contact me.
–jeroen
* Western European encodings: Windows-1252, ISO-8859-1 and ISO-8859-15.
Reference: Official Google Blog: Unicode nearing 50% of the web.
Edit: 20100212T1500
Some people mentioned (either in the comments or otherwise) that a some sites pretend they emit Unicode, but in fact they don’t.
This doesn’t relieve you from making sure you support Unicode: Don’t pretend you support Unicode, but do it properly!
Examples of bad support for Unicode are not limited to the visible web, but also applications talking to the web, and to webservices (one of my own experiences is explained in StUF – receiving data from a provider where UTF-8 is in fact ISO-8859: it shows an example where a vendor does Unicode support really wrong).
So: when you support Unicode, support it properly.
–jeroen
Posted in .NET, ASP.NET, C#, Database Development, Delphi, Development, Encoding, Firebird, IIS, InterBase, ISO-8859, ISO8859, Prism, SOAP/WebServices, Software Development, SQL Server, Unicode, UTF-8, UTF8, Visual Studio and tools, Web Development | 7 Comments »
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 »
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 »
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:
- When the code completion list is visible, pressing the Enter key would select the topmost item and complete it
- 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 »
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 »