Blog
Page: 0 ... 5 ... 10 ... 15 ... 20 ... 25 ... 30 ... 35 ... 40 45 46 47 48 49 50 51 52 53 ... 55 ... 60
Scribe Account Options
Date: 26/8/2006
I've been pretty sick this week with some virus, and I'm still not over it completely but I'm well enough to be sitting around doing things. So I've been playing around with the account options dialogs in Scribe:



I'm going to get rid of the SSL plugin entirely, it seems to be giving people a lot of grief. So all that functionality will be built in directly to the next version. Obviously it'll only work with the SSL dll's installed as well, and I'm hoping to have a system for downloading them from without Scribe.

These dialogs have been converted to be font size sensitive using the table layout system I wrote about previously. (Based on the GTableLayout class from Lgi)
(0) Comments | Add Comment

Image Spam Filtering
Date: 8/8/2006
Until something better comes along I'm filtering spam email with images using this:



So if you want to send me an image, start with a "Hello, image on the way!" so that you get into my whitelist, THEN send the image. :)

The basic issue with "image spam" is that they bypass the bayesian filter by having good "hammy" text in the body as well as the spam payload message in an image. So textual methods are doomed to failure. I breifly thought about image comparision algorithms, and I believe I could write something to weed out all the dupelicate image spam, but it would be a losing battle and the spammers would just end up varying their message more than they do now. So thats it, a blanket ban on email with images from senders I do not know.
(7) Comments | Add Comment

Connecting To A Phone Over USB
Date: 5/8/2006
I got a new phone this week, and I'm looking into connecting to it over a USB cable from user space software on windows. There seems to be some way via the Win32 functions that start with "SetupDi" (e.g. SetupDiGetDeviceInterfaceDetail) and then once you have the phone's DevicePath openning it via CreateFile and possibly talking to it with DeviceIoControl. But I'm guessing in the dark at this point.

My phone supports SyncML so I'd like to attempt using that protocol over USB, but I can't work out how to get communications started.

Comments? Thoughts? Links to information?
(2) Comments | Add Comment

Battlestar Galactica Season 2
Date: 31/7/2006
For those of you that follow the excellent new Battlestar Galactica in Australia, channel Ten is showing season 2 on Wednesday nights around 11pm, starting this week with the opening episode "Scattered". Warm up those PVR's and clear out some HD space!
(0) Comments | Add Comment

Windows Font Drawing
Date: 28/7/2006
I ran into a delightful little issue with windows fonts this week. Given a 32-bit HBITMAP (from CreateDIBSection) each pixel is 4 bytes long, 1 byte each for Red, Green, Blue and well... Alpha. My code uses the last channel for alpha but windows sometimes ignores it and other times uses it as alpha. When you draw with a font onto the bitmap it will set the alpha component of the pixels it changes to 0. Which means that later on you get transparent pixels in compositing operations instead of solid colour, which isn't annoying at all!

So as a quick fix, in one instance I just force all the pixel's alpha back to 0xff manually before compositing. However thats slow and non-general (which wasn't a problem for the one case I needed to fix). Is there some way to get windows to draw fonts with the correct 32bpp value instead of 24bit colour and no alpha?
(0) Comments | Add Comment

Wanted: Mesa Boogie Single Rectifier
Date: 21/7/2006
I've decided on getting a new guitar amp, and I've narrowed it down to a single amp. A Mesa Single Rectifier, 240v version and preferably a older series 1 amp.

If you have such an amp for sale in NSW, especially if your in Syndey, then I'm interested in talking $$, either send me an email or post in the comments your email or something.

I am also somewhat vaguely interested in a 50w JMP 800 head (2204) as a 2nd option, and if cheap enough I'd own both. So feel free to contact me if you have one of those as well.

Once I've got a Single Rectifier I'll probably sell my current amp, a Peavey Classic 100, which is a fantastic amp sound wise, but has shared EQ between the channels. Which gets really frustrating in a live situation. I see the Mesa as being a more flexible version of the Peavey Classics.

Maybe someone out there can help.
(0) Comments | Add Comment