Archive

Archive for July, 2009

HTMLTidy? My Arse!

July 29th, 2009 No comments

I had a bad experience with using HTMLTidy today – it completely butchered a document – I could have done a better job by hand!

Never mind….

Categories: Uncategorized Tags:

A Quick Cough-Cough-Splutter-Splutter Moment

July 20th, 2009 No comments

I had a bit of a shock the other day, whilst eating breakfast, as to what counts as “diminutive”.

Apparently, according to the BBC Click TV programme, the application “360° Desktop

only sips a diminutive 33MB of RAM

Cough-cough-splutter-splutter. 33MB is diminutive? Jesus, I would have said that that is more like “a fuck load”, especially for a desktop utility!

Categories: Computers, TV Tags: ,

RESTful Webservices

July 14th, 2009 No comments

Aha!

Someone’s finally done the decent thing, read the book and then consolidated it online!

REST – a quick summary

Categories: Computers, Programming Tags:

How to re-partition a USB Drive in Windows

July 14th, 2009 No comments

I recently played with the Moblin Linux Distribution by installing it on a USB stick.

The only problem was, the USB stick was 8GB and the image was only 700MB – stupidly, I was expecting the remaining ~7.2GB to be available. It wasn’t (because it was a .img file)

So… this morning I went on a hunt to find a way to restore my USB stick back to normal.

I found it here: Re: How to partition usb thumb stick??

under XP, just go Start > Run and type diskmgmt.msc

Works a treat!

Categories: Computers Tags:

Time to Delete

July 13th, 2009 No comments

Argh! I’ve just read an article that I can’t help but think is the most useful sounding useless idea ever.

Called “Time to Delete“, it’s an idea for an extension to Windows, and subsequent boiler plate code for an implementation, that lets you indicate the date and time that a file or folder should be deleted.

Now, while this sounds like a good idea, it’s actually not that useful. Think about it. How often do you know precisely when you’ll be able to delete a file in the future? You don’t, most of the time. It’s mostly around events happening, not dates and times, for example take the event of “Delete this when this project is completed.” What happens if the project overruns? You’ve got to remember to go back and remove that clause, otherwise, you’re hard work will disappear two weeks before the project actually ends.

And besides, a lot of the time, you don’t want to delete something, merely archive it to DVD/Flash Drive/Central Server/etc. I know that for my projects at work, deleting data is one of the worst things I can do – at least for a year afterwards, so moving it to the central server works immensely well!

What also really annoys me about this article is that it implements the code as a “Send To” extension in Windows. That’s the “Send To” option when you right click on a file or folder. Let’s just review the Grammar of that sentence: “Send To Time to Delete”. ARGH! Surely, you implement it is a shell extension so that it appears in the properties menu as it’s own item!

Categories: Computers, Programming Tags:

Reducing My Bandwidth

July 7th, 2009 1 comment

I’m facing a rather practical problem at work, and it’s kind of highlighted to me one potential downside of AJAX based websites and Web 2.0.

I was recently shown a chart of bandwidth usage and number of web hits for people in my department at work. This made me immediately think that I should start to reduce my non-work web traffic to avoid showing up as a major blip on the radar.

One simple way I realised that I could do this was to reduce the amount of RSS feeds that I unnecessarily subscribed to, and to reduce the number of times I refreshed the feeds.

Then I realised, that every time I displayed a feed, I would cause my hits to go up. If looked at a feed in my RSS reader (the “Sage” plugin for Firefox,) I would cause an HTTP request for the page, and a request for every image. If I went away from the feed and then back to it, then I’d refresh everything again. If there are 100 RSS items in the feed, each with (say) 3 pictures in, that’s a lot of web requests. Couple to that, the “Read” status was based off of your browsing history, I have my suspicions that every time I marked a post read (even though I didn’t read it,) it caused a web request as well.

Since upgrading to Firefox 3.5, Sage has unfortunately stopped working, so instead I switched to Google Reader, which I was hoping should off load some of my hits to the Google servers and instead I would just see the changes.

Then I realised that all of these wonderful AJAX websites that I use are going to be doing the same damn thing. Every time an AJAX request is sent, that’s another hit. Thinking of GMail, that sends an awful lot of requests. Google Reader seems to be even worse – every time I scroll past a post I don’t want, it gets marked as read – that’s an AJAX request. It refreshes the posts list a lot too, that’s more requests. I’m now wondering too, whether the RSS feeds aren’t just parsed locally on your PC, and you’re still doing the same number of requests.

Unfortunately, I can’t find any technical reference for Google Reader to explain how many requests are made, and from which location (my PC or Google Server.) I guess Google aren’t really ready to give out the information to some of their architecture.

Even now, typing this blog entry, WordPress is continually using AJAX to save a draft version and to provide a word count.

It seems that the one downside to the Web 2.0 world is that if you’re being monitored in terms of bandwidth usage or number of web requests, AJAX (and the like) are most definitely not your friends.

For now, if anyone can point me in the direction of an RSS reader that definitely does cache images (and other embedded items,) and does not make web requests to mark something as read (and is also “trustworthy” in terms of security and preferably on some Free license) that would be helpful

Categories: Computers, Work Tags:

Body Mass Index Problems (BMI)

July 6th, 2009 No comments

I’ve long held the opinion that Body Mass Index measurements are a bunch of arse, because they don’t count the extra mass that occurs with muscle bulk.

Anyway, some one jokingly said at work that he was going to go on a diet by chopping off a leg, and that he’d bring his BMI down dramatically.

And I thought….. “Well now, that’s true!”.

So how do they measure BMI for people who have lost a limb? What about people with withered limbs? What if you have six fingers on each hand? How about people in wheelchairs?

Makes you wonder really…..

Categories: Humour Tags: