MD5

Dec. 16th, 2009 08:01 am
slowfox: Slowfox' default icon (Default)
MD5 is a hashing algorithm that attempts to verify that a given file's integrity hasn't been compromised (during a download process, or in the process of being copied from A to B etc).

Typically, you'll have a file reference given on a web-site and, somewhere else (this is important, more later), there'll be a long string of seemingly random characters called the MD5 Sum, or MD5 Hash or whatever:

c59b048c992804d165aed10170f003dc

What happens is that the algorithm works through the source file, and maps the first element to something new, and then feeds that result into part of the computation for the second element, and then the result of that into the third element etc. When it reaches the end of the file, the whole result gets fed back into the algorithm again. And again, and again for a specified number of iterations (loops). The end result of these calculations boils down to the specific MD5 Sum for the file.

I use WinMD5Sum on the work PC:
md5screenshot

The idea behind MD5 hashing is that even tiny changes in the original file result in significant differences in the end MD5 hash.

For example, I created a text file called hello.txt, which contained the phrase Hello, world..

The MD5 sum of this worked out to be 45d2c2d506211d17f99a3eb8de863f36

By changing the last character to a comma - Hello, world, - the MD5 sum changed to c59b048c992804d165aed10170f003dc, immediately telling me that the file's changed from the original.

An MD5 sum is always 32 characters long, yet can be generated for files of any size. Pretty obviously, then, there will be various different kinds of files that result in the same hash - these are known (with the industry's predictable fondness for dramatic vernacular) as 'collisions'. Nonetheless, the risk of collision is pretty small (if, for example, by repeatedly going through the MD5 hashing algorithm, all files eventually boiled down to a single value, it'd obviously be useless) - that said, boffins have managed, now, to successfully construct amended files that generate the same MD5 hash, but this requires a fair bit of work and an accommodating starting point.

Anyway, the idea is that you see a file - exciting_prog.exe - on a website and download it. By using an MD5 checksum, you can verify (beyond reasonable doubt) that the file you've downloaded is the file that the website intended you to download.

(which, by the way, is a loooooooooooooooooong way from saying it's safe).

The major caveat should be obvious: the situation where the file's MD5 sum is listed in the same directory as the file itself. Consider: if nefarious malfeasants have managed to hack the server and place a malicious file in the benign one's place, then since they've clearly got access to the server, it'd be trivial for them to also replace the posted MD5 sum with the sum to match their own malicious file.
slowfox: Slowfox' default icon (Default)
Midnight Alley by Rachel Caine )
slowfox: Slowfox' default icon (Default)
I managed to get all the way to work this morning before realising, with weary resignation, that I'd brought the wrong keys with me: vis, the castle/car key combo rather than the castle/office combo.

I do this deliberately, have separate castle and work keyrings, so as to encourage me not to use the car to commute. Which works fine, except for when I leave the house in a mild hurry on a Monday morning, and simply take the nearest set of keys to hand.

So I head to plead with the cleaner to let me into my office.

D'oh!
slowfox: Slowfox' default icon (Default)
It's 3pm and it's dark out there - and wet, too :-/

P & I have just returned from a mission to a deli in Beverley where I'd ordered a Christmas hamper for the parental units. Long-term readers may suspect that I'm singularly ill-equipped to judge the quality of a foodie's hamper as a present... and they'd be right, but I figure even if I have, by some stroke of misfortune, managed to duplicate existing beverages and/or consumables in the parental abode, they'll still get used eventually, right? And it looks impressive. Have also got some DVDs and books for them, so I think I'll be calling it a day/week/month/year on present buying on that front, at least.

Comradette K got me into the Morganville Vampires books by Rachel Caine by lending me the first two instalments. I, in turn, suggested to [personal profile] cynthia_black that [personal profile] aki_itsuki might enjoy them, given her prediliction for things vampish, and it so happens that she's now reading them faster than I am. Which means that book 3 has been borrowed from Grimmauld Place, rather than Comradette K's library shelves. 's all good, either way: actually, Book III is proving to be quite fun (it's notable that both Oliver and Monica have both commented to Claire that she's now a proper player in Morganville, as a consequence of her derrings do in tomes previous), and is more than compensating for the suspicion that Book 2 didn't quite have the same 'zing' about it as the opener).

I started a new gamer profile on the 360 - RedDogFever (you have to pick a unique gamer tag, and I chose that because, hey, what were the odds of it already having been claimed? Absolutely), and have thus set about building up my gamer score through the noble art of Achievement Hunting on Braid and Geometry Wars, principally. We've also picked up Defense Grid, a Tower Defen(c/s)e game that's rather addictive, although the achievements on offer in that look as though they're going to take a lot of playing hours. The 'proper' discs at Castle Fox (the aforementioned all being XBox Live Arcade titles downloaded to the hard disk) are Forza 3 and Assassin's Creed II. I've made a start on the former, but I think it's the latter that's going to be taking up my evenings when I'm not Wired.

Speaking of The Wire, the h264 rip of 1x01, courtesy of Badaboom player rather nicely (albeit with a 'watermark' bottom left that I'm hoping the full version dispenses with). What was more noticable, though, was that I was able to understand a little more of the witness speech when he was talking to McNulty in the opening scene...

And finally, I got my hair cut yesterday.
slowfox: Slowfox' default icon (Default)
Standing in a gradually rising puddle whilst having this morning's shower convinced me that the drain needed clearing out in the yard. This is not a fun job, and despite my best efforts at trying to separate grungy water from fox, there was some cross-contamination, which I was less than thrilled about.

The problem is that the drain itself has a plastic 6"x6" cover that sits in a recessed square in the concrete... unless a curious hound sees it. For some reason, Mali takes an active dislike to the plastic inserts being in the drainage channels, so he flips them up with his paw, and then carries them across the yard to put them down. He doesn't chew them(!), he just feels that the yard is more aesthetically pleasing sans drainage grates.

What then happens is that rubbish and the like that blows into the yard flutters down the opened gulleys, resulting in me pulling out plastic bags and chocolate bar wrappers that have been blocking the channel.

Flow is somewhat improved, but I'm going to have to come up with a more long term solution - ideally, I'd like to find some metal grids, in the hope that they'd be sufficiently heavy to resist canine interference. Otherwise, I might try and screw down some wire mesh across the top, to make them fully tamper-proof.

Badaboom

Dec. 11th, 2009 08:51 pm
slowfox: Slowfox' default icon (Default)
Badaboom is a media converter that transcodes various input files to render your *cough* DVD backups *cough* in h264, tailored for iPod/PSP/XBox/PS3 etc.

The clever bit is that it uses the (Nvidia) GPU to handle the transcoding, rather than the CPU, which is a Good Thing because graphics cards are designed to handle masses of parallel computation of the type you get in transcoding video.

To this end, even though I'm actually transcoding TheWire-1x01 in the background, I can type this post in Firefox without too much lag, whereas had I used something like AutoGordianKnot, Ione would've ground to a near complete halt as my (admittedly feeble) CPU melted.

Badaboom ain't free - I'm running ep 1 of The Wire as my test case to see how it renders on the XBox before deciding whether to buy the full version (which is only c£20, so not exactly prohibitive), but it seems to have a decent interface with some sensible presets, doesn't seem to crash as often as handbrake and is less convoluted than AGK, so it could be the thing I've been looking for (aside, of course, from the 1TB drive to put all these DVD rips on).

Badaboom won't rip encrypted DVDs (basically, just about all commercial ones), but DVD Shrink is my friend on that one. DVD Shrink is a cool utility, but you have to sleuth around a bit to find a downloadable executable, because it's allegedly not wholly legal to point to it. So when you do locate your source, it would be advisable to run an MD5 checksum to get some reassurance that you're installing what you thought you were installing...

Proper post on DVD -> h264 file coming up somewhen, with pretty pictures 'n everything...
slowfox: Slowfox' default icon (Default)
Leo Laporte announced on last week's Windows Weekly that he was going to stop drawing a salary from TWiT's advertising revenue, and instead only take funds via the network's listener contributions.

I really like TWiT, and I've mentioned before that I make a monthly donation to the network basically just to demonstrate my appreciation of the service that Leo and the crew put on, and to reward high quality, well produced, entertaining and information discussion.

As Leo himself states, he can still make a living from the income off his radio show, so although it's a ... bold move, the stakes here aren't exactly riches or ruin. Nonetheless, I think this is an interesting experiment on his part, and I hope that it works out for him.

The Wire

Dec. 10th, 2009 01:32 pm
slowfox: Slowfox' default icon (Default)
I'm about eight episodes into Season 1 of The Wire right now, which is proving to be pretty good, although sometimes I struggle to remember all the characters' names, and trying to keep up to speed when the characters are all conversing in street-parlance does require a fair bit of concentration.

Baltimore is portrayed as gritty and seedy, and the cops themselves aren't exactly angels throughout the piece. The interplay between McNulty and Bunk (particularly their conversation when they're scoping out the scene of a long-dormant murder case) is wonderful, and Herc and Carver are a cool kinda team. I like Lester and Bubbs, haven't quite worked out how I feel about D'Angelo just yet.
slowfox: Slowfox' default icon (Default)
So, towards the end of the walk in this morning, I'm on one side of the road and there's a schoolgirl walking on the other, a little way ahead (say 20 metres or so). She looks over her shoulder, and sees me.

Well, we then both take the next turning, and again this girl looks behind her, and evidently notes that I'm still there, and I can almost see the cogs in her mind concocting nefarious purposes for my presence.

As (bad) luck would have it, our routes continue along the same path for the next few turnings (which is unsurprising - there's a school behind my building), and by now this poor girl is checking her back every few seconds, and looking rather freaked.

I honestly don't know what to do. Stop? Turn back? I figure that any activity other than maintaining my normal route's going to look suspicious, so I'm trying, as far as the physical constraints of street geography allow, to keep as hard to the divergent path of our routes as I can (there's a shortcut I can take through between some buildings off to the right, when I know that she's going to bear off to the left), and making sure that I don't get any closer than that first sighting at about 20 metres.

Of course, now I'm walking on the road rather than the pavement (sidewalk in US parlance), because this particular stretch only has pavement on one side, and although I'd chosen to do this to signal my intention clearly that I'm about to head off to the right, the girl keeps on looking behind her, evidently trying to fathom when, exactly, I'm going to pounce.

Eventually our paths diverge, and hopefully the girl will realise that I'm not actually some evil stalker of d00m, but all the fearful backward glances in my direction, and her obvious discomfort over my (consistently distant) presence does have a cumulative accusatory effect, and I get to my desk feeling somewhat unclean :-(

Depressing start to the day.
slowfox: Slowfox' default icon (Default)
Next in the continuing saga of one office's struggle to maintain a comfortable ambient temperature about its working climes...

One of the guys from Estates has just come into the office to tell me that the radiators were going off 'now, as we were told'.

Huh?

It transpires that all the radiators are to be fitted with thermostatic valves, which, given the sweltering thermal onslaught we had to endure yesterday, can only be a good thing. Would've been nice to have had some kind of warning, but it's still good news.
slowfox: Slowfox' default icon (Default)
I may have mentioned before that Work II's heating installation is a little sub-optimal. Indeed, it doesn't even seem to be a digital installation (it'd be either ON or OFF). Oh no, my friends. We get ALL HEAT ALL THE TIME.

Colleague S has grown a little concerned about this, fearing that spending all day in a slow-cooker isn't the most comfortable of accommodations, so he's brought in a nursery thermometer, so that it's possible to keep an eye on things.

Which is how I know that the office was 24°C this morning, which after the walk in through an admittedly mild December morn, felt plenty baking enough, thank you.

I have therefore taken the executive decision to activate the cooling cycle by opening the window. Unfortunately, the windows don't like being open, so we have to prop the thing using a spare PCI riser card (Geeks R Us™) - colleagues similarly afflicted elsewhere in the building use empty milk cartons, magazine racks or screwdrivers. There's an irony to the fact that we have mumble-thousand pounds worth of kit strewn hither and yon, yet we have to prop open the windows (to compensate for the lack of operational thermostats) with whatever junk we can find to avoid melting into pools of goo at our desks.
slowfox: Slowfox' default icon (Default)
I gave serious thought, first thing (like, 4.30am first thing) to not getting up and staying in bed all day. However, by the time the alarm went off at 5.51am (I don't like round numbers on alarms), I was feeling slightly better, and the ear-ache, in particular, had started to subside.

Besides, Mali wouldn't have been too impressed if I'd failed to surface (although I'm sure P would have coped, somehow).

It's been a fairly mundane Sunday - although I've been trying to avoid heading into town these last few weekends-before-Christmas, ex had asked me to pick up a Debenhams gift voucher, so we did indeed set forth and brave the... well, masses might be overstating it. I'm not saying that town was quiet, exactly, but it certainly wasn't heaving.

A queue jumper nearly came to blows with me in Debenhams, actually - we'd picked up the gift cardlet thing, and were queueing, as one does, at the 'please queue here' sign, waiting for an available cashier, when this middle-aged woman steamed straight past, to stand immediately behind the person being served, looking impatient.

A second till opened up, and the woman called out 'next, please,', at which point the afore-mentioned queue-jumper thrust her stuff onto the counter, and *gold star moment*, the shop clerk said 'actually, I think the gentleman was first.'

"No he wasn't," snapped the woman, which proved the trigger for me getting involved.

"Actually," quoth I, "I was. But don't mind me, you go on ahead..."

I was really good, honest, and tried not to let the 'don't mind me' sound very sarcastic.

Anyway, that really got my adversary's back up, but a third clerk, evidently sensing a storm brewing, stepped into the breach and opened up a third till just for me.

But man, was the queue-jumping woman not happy: she was chuntering away at the poor sales assistant who'd initially hesitated at serving her, and she was avowedly not looking in my direction at all.

Tired now. Work tomorrow. Blech.
slowfox: Slowfox' default icon (Default)
In the customary fox-like manner of preparedness, P and I went to pick up tools that, in all probability, would have proved much more useful yesterday. Still, next time, I am totally sorted.

Anyway, B&Q, I learned to my cost, has taken to broadcasting covers of songs over the internal PA.

Not just any old covers, mind. Excruciatingly bad covers of really good songs.

Songs like Perfect (Fairground Attraction), Fast Car (Tracy Chapman), I Knew You Were Waiting (George Michael and Aretha Franklin). What makes things all the more painful is that the cover artistes are evidently trying to stamp their own personal authority through their warbling, and thus you're 'treated' to the most bizarre renditions of said ditties.

Poor P was watching me literally wince in pain as each successive travesty launched a fresh assault on the bastions of reason, good taste and ... well, just plain fair play.
slowfox: Slowfox' default icon (Default)
It has bugged me for a while that I've had the fridge at Castle Fox positioned in almost the worst place possible, from an energy efficiency point of view: vis, next to the radiator and immediately beneath the boiler.

So I've shifted it to the other end of the kitchen. However, this meant that the door now opened the wrong way - from being a right-hinged door that ensured that the fridge was accessible from within the kitchen as it were, shifting it to the other end meant that the door opened to create a barrier, and you had to practically exit the kitchen (at the opposite end) to be able to reach the milk.

Now, when I bought said domestic appliance, I remember flicking through the instructions (admit it, we all read the instruction manuals for white goods when they arrive) those 9 years past and seeing a subsection headed 'reversing the door hinge' or some such. Despite all the resources available to me courtesy of the highly structured filing environment that is Castle Fox's archives, I was unable to locate the fridge's Book of Words to seek further guidance, but in the end the rough hint proved enough.

First off, you need to lay the beast (carefully) on its back, remove the front feet, unscrew the lower bolt holding the door on and slide the whole door assembly downwards, so it disengages the upper pin.

It then lifts off, and you can extricate the upper bolt from the door casing and transfer it to the opposite (top left) corner of the body. Likewise, the lower hinge bolt and its dummy partner can dosey-do and swap positions, whereupon everything gets reassembled in reverse order (you just swear in different places).

All this would be so much easier if I actually possessed a non-stripped posidrive screwdriver, or a 6mm spanner. Lacking both, I had to use the needlenose pliers from my Leatherman, and also its cross-head driver. But believe me, trying to torque up fixings with that device was not easy on the hands. Ouch.

Anyway, with luck, the upshot of this transformation will be that the fridge will no longer be fighting a cooling battle against the wall of heat roiling off the kitchen radiator, and instead will be able to chug merrily along, sipping far less elctrickery than in the past. Will I notice the difference? Probably not, but at least that's one less thing to keep me awake at night.
slowfox: Slowfox' default icon (Default)
The Graveyard Book by Neil Gaiman )
slowfox: Slowfox' default icon (Default)
This is me logged onto my work PC from the confines of Castle Fox...

The advantage of this is that I can work from home (such as now).

The disadvantage of this is that I can work from home (such as now).

Anyway, this is the reason that Ione is now running Windows 7 rather than Ubuntu - the client software I need for the VPN doesn't play nicely with Linux, which is a pity. Windows 7 runs OK, though (bearing in mind this is an atom-based nettop, and not a remotely 'serious' computer), although I've turned off all the prettification, and am trying to get it to ape Windows 2000 as closely as I can.

This PC (the work one I'm kinda-typing this through, if not at, exactly) is still running Windows XP, although I hear we're moving to the promised land of glorious 7 some time in the New Year.
slowfox: Slowfox' default icon (Default)
One Red Paperclip by Kyle MacDonald )
slowfox: Slowfox' default icon (Default)
I've always thought that the wattage-equivalent ratings on low-energy CF light bulbs are somewhat over-optimistic, and the (until today) latest acquisition, deemed to be a 60W equivalent, proved the point rather nicely.

I won't say that the room got dimmer when I turned the light on, just that it failed to get any darker when I turned it off...

So I've now replaced the living/dining room lights in Castle Fox with 20W CF bulbs, labelled this time as 100W equivalent, but I'm not convinced. Still, it's a marked improvement over the purported 60W pair.

Actually, these bulbs are also supposed to have a 10,000hr lifespan. I doubt that highly, and remain unsettled over the disposal issues once they do expire. But the dining room light (which was replaced first with the 60Weq and now with the 100Weq) managed to die in most peculiar fashion (for a light bulb): I turned it on, and it started to warm up, then flickered. Thinking that this might be a signal of some kind of power surge, I initially dismissed it, but then the light settled into a steady rhythm of blinking about once every two seconds, before it finally flickered out for the last time.

Yes, I do realise that I've just written a post about CF light bulbs, thanks.
slowfox: Slowfox' default icon (Default)
P was only at Castle Fox until lunchtime yesterday - he had a party to go to Saturday afternoon, and for a change ex and co came to Hull to pick him up, rather than me ferrying him back. Unfortunately, ex not having much practice in the commute, sort of underestimated the time it would take to get here, and ended up being an hour late. But hey, all good in the end.

Today saw me venture into town at lunchtime, just as the skies went almost completely black. I caught a single glimpse of lightning off in the distance, but it would seem that the weather wasn't really that interested in putting in the requisite effort for a storm proper, and instead just contented itself with a spot of rain.

Mali and I have had a couple of brisk walks around the Avenues - if I move quickly enough, he'll walk to heel almost perfectly. And he maintained that for a little while as I attempted a light jog, but patience isn't that dog's strong suit, and he eventually went into Race Mode, so we called a literal and metaphorical halt on that one. But I'm going to try and add some light jogging into the standard walks every now and again, and see how that goes.

Bookwise, I'm currently reading (or trying to read) One Red Paperclip by Kyle MacDonald. This is the tale of that guy who traded items sequentially on CraigsList, starting off with the object of the book's title, and moving ever on up until he managed to trade himself into a house. The parenthetical hesitancy is due to the little 'zen wisdom' nuggets that pepper the end of each chapter. Since we're currently on one chapter per trade, and we're at him having acquired a camping stove, I'm somewhat fearful for my sanity, should I have to endure too many more observations of the calibre of 'now was two words ago' (I actually make that five, and so does Kyle himself in the paragraph explaining this gem, which makes the paragraph's title all the more bizarre).

Anyway, since Christmas is coming up, obviously this is the time of year when I buy myself stuff, and so I now have Assassin's Creed II for the 360... I know all the hype this year is about Call of Duty: Modern Warfare 2, but I am hopeless at FPS titles (seriously, Colleague N lent me Gears of War once, and I couldn't make it out of the training level without being killed. Repeatedly).

So expect the book-reading to tail off a bit as the year closes ;-P
slowfox: Slowfox' default icon (Default)
Dead Girls' Dance by Rachel Caine )

Profile

slowfox: Slowfox' default icon (Default)
slowfox

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 29th, 2026 09:18 pm
Powered by Dreamwidth Studios