Archives

Anticipation

    No dates present

StringFormatConverter

Today’s topic is fairly basic, but hey, it gives me a chance to moan about something weird in the framework, so it’s not all bad :)

Windows Presentation Foundation. WPF. Essentially it’s a long-overdue reboot of the child window model coupled with a powerful data binding engine (though not without its own quirks). And I love it.

The data binding model, though, does tend to result in the proliferation of little helper classes. In this case, I’m referring to value converters, those classes built solely to take a property value, convert it for display purposes (usually to a string), and optionally back the other way again.
Continue reading StringFormatConverter

Vista Networking

I use Vista at work (with UAC enabled; as a programmer I believe that for all the hassle UAC introduces it’s still a step in the right direction — a position that only gets reinforced when I hang around software installation forums and listen to all the sob stories from “developers” who bemoan that their software mysteriously doesn’t work on Vista any more), as I might have mentioned before.

One thing about it that does seriously aggravate me though is the dumbed-down (and fundamentally broken) Network and Sharing Center. Everything works wonderfully if you have exactly one network adaptor which acts as your gateway to the Internet — which admittedly probably covers at least 60% of the public (with most of the remainder being covered by people with one wired and one wireless connection [eg. laptops], each of which could be the gateway to the Internet, but only one at a time).

Stray from this model, though, and you’re in for a world of pain. As it happens, my work PC has an extra network card (used to connect to embedded devices on a dedicated subnet, both to avoid cluttering the main network and to more easily talk to devices with fixed IPs), and it also has VMware installed, which creates two or three extra adaptors of its own.
Continue reading Vista Networking

Spam

I’m not sure whether this is an Easter-related thing or not, but the amount of spam missing my ISP’s spam filter and ending up in my inbox seems to have had a sharp rise recently.

In fact, in the last 8 days alone I’ve received 3945 spam messages (3364 caught in my spam box and 581 that made it to my inbox). That’s roughly 500 spams per day on average, with about 70 spams per day in my inbox.

Over the last 20 days (which is when I last cleaned out my spam box) the total is 9028 spam (7901 in the spam box and 1127 in my inbox); about 450 spams per day on average, with about 55 spams per day in my inbox. If I exclude the last 8 days, the numbers become 5083 total (4537 spam box, 546 inbox), 420 spams per day, 45 per day in my inbox. So I’m definitely not just imagining the increase.
Continue reading Spam

Standards of Style

As I’m making various tweaks to the site’s theme to make it more unique (and hopefully interesting), I came across an interesting page about creating buttons almost entirely within CSS — meaning that the text for the button can be taken from the HTML, and thus changed easier as there’s no need to create [...]