Dan Archer documents his epic struggle with an apparently simple task of authenticating user credentials. For some reason, a task that should be performed by a simple API call leads to a great deal of head-scratching and googling.… Read more
As a small addendum to my previous blog on the subject of authenticating users, and checking for administrator privileges, under Windows 2000, XP and Vista, I should add this little note. It turns out, thanks to the sort of heavily industrious testing that’s par for the course here at Red Gate, that LogonUser / SSPI … Read more
Some activities on any operating system fall into that category of “should be extraordinarily simple, and yet is full of the sort of pitfalls that cause headaches, confusion and (at least in my case) bouts of cursing and ranting”. My favourite of the moment is a simple security task: authenticating credentials provided by the user … Read more
“Step up to Red Alert!”“Sir, are you absolutely sure? It does mean changing the bulb…” — Red Dwarf Computers are stupid. This is a well established fact, which has been en-harped on by much greater and perspicacious authorities than I. They, that is, computers, tend to blindly and relentlessly do what they’re told. Given conflicting, … Read more
As I believe I have already opined, dealing with databases is not one of my all time favourite activities. It’s not right up there with drinking, skiing and World of Warcraft, for example. For someone in my position, dealing with databases is naturally an occupational hazard; but I do attempt to minimise the amount of … Read more
A constant niggle in the arena of computing is the way in which nobody takes responsibility. If your computer crashes whilst you’re, say, playing an online game, and you call the manufacturer, they’ll explain it’s probably a software problem, perhaps a driver you, the user, stupidly installed. If you call the driver vendor, they’ll explain … Read more
Although this may come as a surprise to some, as I work at a company which happens to produce simple tools for database professionals, I am not the world’s biggest fan of databases. “Don’t get me wrong”, as the poet said: they are extraordinarily powerful and highly necessary. Many splendid online games, in which I … Read more
It is a balmy summer evening in a suburb of Cambridge, England. Young gentlemen play cricket on the village green. Young ladies walk the country paths, shielded from the sun’s rays with fashionable parasols. An iced cream vendor perambulates the streets with a cheery smile. And a young couple sit before their computers, beating the … Read more
I’d like to squeeze in another reference to the Killing Game Show, or other Amiga classics, at this point. I really must wind up the emulator and dig out the ADFs I made of my old games, at some point. Sadly I lost the original machine when I sold a house, neglecting to clear out … Read more
I hate to depart from my usual ranting and raving and actually post some useful code, but the below is too lovely to ignore. Before I proceed to take credit, I have to thank Google and the following poster(s): http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=228499&SiteID=1. The below is a rather elementary explanation of the code posted therein, with a generic … Read more
Once again I find myself penning a missive on trivia, rather than matters of import. Still, now we’re here… Regular expressions. To a large extent, I hate them. To begin with, they are a complete misnominer. They are neither regular, nor expressions. Don’t believe me? To demonstrate this I’ll consult an authority on such topics. … Read more
Having fixed all the outstanding “Oh my [deity/dictator of choice], we have to fix this now or people will be really rather unhappy” issues (as they’re referred to under our bug tracking system. Or is that my imagination? You know, I think it probably is) against DTS Package Compare 2.0, it was time to turn … Read more
If you ask me, and I take it as implicit by your visit that you do (sorry about that, but it’s Friday afternoon and I need a weekend), Windows is far too facist about filenames. Most notably in terms of the characters one can put into a filename, and the obstreperous way it will cough … Read more
Occasionally when developing software you come across really absurd or bizarre bugs. The user interface for the application I’m currently developing recently exhibited one of these: a propensity for beeping periodically, for no readily explicable reason. To be precise, not so much a beeping as a “ding”ing. Now like most software developers, I work in … Read more
It occasionally strikes me as hilarious that in the 21st millenium with Windows Vista near on the horizon with all kinds of spangly UI likely to result, we’re not only still using some of the oldest Windows UI primitives every day, but encountering problems using them. You’d think that we might have got it all … Read more