Skip to content

{ Monthly Archives } December 2007

GUIDs: Unfit for Public Consumption

GUIDs are like profanity: A useful item to have in your grammar when you need it, but not what you want for your public discourse.
Places where GUIDs are useful include:

Surrogate key values
Win32 Delphi interfaces
COM registration

Some places where GUIDs are  completely, utterly unfit include:

Directory names
URLs
Product registration codes

Share This | Email this page to a friend

Comment Spam Filters

There are two new comment spam filters on this blog server. Please email me with details (myfirstname_mylastname at acm dot org) if your legitimate comment is blocked. Thanks!
Share This | Email this page to a friend

QuickTime As a Cross-Platform Malware Engine

Today I see that QuickTime had nearly twice as many security vulnerabilities this year as every other media player in the 2007 SANS top 20, combined!

dUnit 9.3.0

The version of dUnit which ships with Delphi 2007 is somewhat old. DUnit 9.3.0 contains many new features and fixes:

Inline Procedural Type Declarations Sometimes Confuse the D2007 Editor’s Parser

Code like this:

TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
FFoo: integer;
FBar: procedure of object;
procedure Proc1;
procedure Proc2;
end;

…is perfectly legal (compiles and runs just fine), but seems (only sometimes) to badly confuse the D2007 editor’s parser. The workaround is to declare a type separately and use that:

TMyProc [...]

No, Really: Don’t E-mail Me

My company is in the Microsoft Partner Program. Overall, it’s a good deal. It gets us cheap software, co-marketing help, etc. But since the e-mails from the program have approximately 0.00% developer content, I’ve elected not to receive any of them. But today I got one anyway:
Our records show that your current MSPP communications preferences [...]

Bad Behavior has blocked 1846 access attempts in the last 7 days.

Close