Archive for the ‘Delphi’ Category
Posted by jpluimers on 2010/04/27
If you have a TechNet or MSDN account, you can download the SharePoint, Office, Visio and Project 2010 RTM builds.
Downloads have become available on April 23rd.
The SharePoint designer is available from the Microsoft Download centre as William Conrwill describes at CodeJedi.NET : SharePoint, Office, Visio and Project 2010 RTM are now available on MSDN.
If you have SA, then as of today (April 27), you can get your volume licenses as well.
William describes more dates in his post Office, SharePoint, Project and Visio 2010 have made RTM!
I’ll be busy playing with all the bits from Delphi and .NET API perspective :-)
–jeroen
Posted in .NET, Delphi, Development, Power User, Prism, Software Development | Leave a Comment »
Posted by jpluimers on 2010/04/22
I usually pick a fresh VM for installing an RTM build, but if you have loads of stuff on your (physical) machine, upgrading RC to RTM can be a real time saver.
Stack Overflow has a nice question Upgrading Visual Studio 2010 RC to RTM answered by Danny Thorpe (yes, two links: blog / wikipedia).
The order is really imporant, so lets repeat that here:
- Uninstall all the VS 2010 parts
- Uninstall the .NET Framework Multitarget package.
- Reboot
- Uninstall the .NET Framework client package
- Reboot
–jeroen
Posted in .NET, C#, C# 4.0, Delphi, Development, Prism, Software Development, Visual Studio and tools | Leave a Comment »
Posted by jpluimers on 2010/04/20
A client recently asked me what space should reserve to store URLs in their DBMS.
The plurality in the topic title is a hint: different systems have different limits on URL lengths.
But first:
Don’t use long URLs
If you use long URL’s (longer than say a coupe of 100 characters), then usually you have a problem.
First of all: short URL’s are easier to remember, index and search.
Second: long URL’s can pose problems.
It might be that your browser and server support them.
But a user might be behind an intercepting proxy (sometimes invisible to both you and your user) that imposes a URL limit.
In stead of long URLs with a HTTP GET, use shorter URLs with a HTTP POST. Read the rest of this entry »
Posted in .NET, ASP.NET, Delphi, Development, Firefox, Internet Explorer, Opera, Safari, Web Browsers, Web Development | 8 Comments »
Posted by jpluimers on 2010/04/14
Every major release of software will bring great new stuff, but the price of upgrading from a previous version is that some stuff will break.
.NET 4.0 brings a lot of nice stuff as well, but there are a few things that break.
There is a nice Breaking changes in .NET 4.0 – Stack Overflow article on this.
The article is now a community wiki, and refers to these pages:
Since the article is a community wiki, expect it to be updated over time.
I wonder what these changes will bring (and break) in the upcoming Delphi Prism release (the datasheet is out now, the product should be out before the end of may).
–jeroen
PS:
If you do not have an MSDN subscription, but still want to see if things break for you, try one of these:
Scott Guthrie has a nice post on the bells and whistles of VS2010.
Posted in .NET, ASP.NET, C#, C# 4.0, Delphi, Development, Prism, Software Development, Visual Studio and tools, Web Development | 1 Comment »
Posted by jpluimers on 2010/04/12
For MSDN subscribers:
Visual Studio 2010 RTM will be available on MSDN around these times:
- 10:00 PST
- 13:00 EST
- 17:00 UTC
Other time zones: see this Worlclock link.
Sources:
Posted in .NET, Delphi, Development, Software Development, Visual Studio and tools | Leave a Comment »
Posted by jpluimers on 2010/04/12
Just unlinked/linked my DropBox account because of some synchronization issues, then got this messagebox:
—————————
Dropbox
—————————
There is already a folder in your My Documents folder called ‘My Dropbox’. Do you want to merge all the existing files in that folder into your Dropbox?
—————————
OK Cancel
—————————
Sometimes I wonder if programmers ever are going to learn to get the basic UI things right :-)
(This was in version 0.7.110.0 of dropbox)
–jeroen
PS:
I absolutely love the functionality of dropbox, and to their credit: they do get most of their UI right.
Posted in .NET, Delphi, Development, Software Development, UI Design | 7 Comments »
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/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/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 »