Archive Page 2

ICSTIS rebranding itself PhonePayPlus

It sounds a bit like a company it should in fact be regulating, doesn’t it?

ICSTIS, the premium rate telephony regulator in the UK who’s behaviour can often be described as ‘lacklustre’ has decided that recent press coverage damning the industry and the regulator’s lack of, well, regulation, can only be resolved one way.

So, buried deep inside a PDF is an announcement that from October 2007 the “Independent Committee for the Supervision of Standards of the Telephone Information Services” or ICSTIS, who’s tagline currently reads “the premium rate services regulator” will be called PhonePayPlus.

Is it me ???

Nope, apparently not. A survey asked people what they thought the name meant. Most people got the wrong answer. OK, 99% of people got the wrong answer. But they are going ahead, presumably because someone’s been given a budget, someone made a decision and now the entire country is stuck with it.

El Reg readers have raised an interesting idea. Perhaps “those in charge” also had a hand in the London 2012 branding.

What happens when you run over a MacBook Pro

This guy left his MacBook Pro behind the trunk of his car. Crunch. Guess what, the damned thing still works! He even includes some pictures.

Damaged, sure. But at least it’s repairable. AppleCare says he’s not covered for accidental damage. Here in Blighty we can get Home and Contents Insurance and my laptop is covered for accidental damage anyway (saved me buying extra insurance when I went on holiday). Hope that guy checks his policy.

Secure File Delete on Mac OS X

Under Linux I always used wipe within a terminal to securely delete my files, and I was about to purchase “ShredIt X” to essentially perform the same thing under Mac OS X when I came across a comment on a software download forum mentioning srm.

srm is a Unix command-line tool to securely delete a file. It is installed by default for us Mac OS X users too, just open up a Terminal and type the following:

srm my-file.doc

Quick, right? You did type srm, not just rm, right? srm is designed to operate just like rm so it takes the same command line switches or options, but rather than just deleting the file (or the link between what is essentially an index of files and the actual location of the data on the physical disk which in reality is exactly what a normal delete does (hence it’s lightning quick)) it looks at the data on the physical disk and overwrites it.

Now, the US Department of Defence specifies certain requirements about the overwriting process to ensure the chances of recovery are limited. Basically hard disks are like magnets and file data is stored as magnetic fingerprints (yes, this is highly simplified) on those disks. Consider a fridge door with magnetic letters spelling out a message. Same difference. However, remove those letters and although the information cannot be read by the naked eye specialist data recovery firms (and law enforcement agencies) have methods and tools to retrieve the fingerprints just like they were ghosts or shadows of the original data. Very clever, very scary.

Anyway, the DoD specification reads quite simple compared with a data overwriting algorithm specified by a guy called Guttman which basically entails random data repeatedly written over the data thirty six times. The DoD I think specifies six.

There is a disadvantage to using Guttman’s method: The process is a whole lot slower than the DoD’s method and obviously orders of magnitude slower than a standard delete. Swings and roundabouts, as they say.

I prefer the more secure route. And srm uses the Guttman method by default. So that .doc file above really did go, unless you forgot the s.

Now, if you think you have already removed via Trash or rm files that you wish you’d securely deleted, there is a get out clause. You can ask Disk Utility to securely delete your free disk space. When a file is removed the normal (non-secure) way, the physical space on disk although not overwritten is now available for other files to be written to. Otherwise when you deleted a 1 gigabyte file you’re disk free space wouldn’t go up by the same amount! However, once it has been overwritten (in whole or in part) by future files like videos, emails, documents or resources used by your operating system, the physical area on the disk may or may not right now be in use. Areas not in use will be securely erased, areas in use obviously not.

Thank you Apple and open source software developers.

MacOffice Pro Just Re-Badged OpenOffice Suite?

So I spotted this post about MacOffice Pro, claiming to be a superior software suite for Mac cloning most of Microsoft Office including comptibility with Open XML, Microsoft’s new XML based file format for it’s Office applications as off 2007.

Ars Technica reviews the new kid on the block finding particular similarities with another application: OpenOffice. Can a DVD with 1 Gb of clipart and free technical support be worth almost $50 (discounted rate)?

The body text of OpenOffice’s Writer application appears to have been copy & pasted into MacOffice Pro’s details page on word processing – I can only see minor grammatical adjustments. There appears to be no accreditation to OpenOffice.org on MacOffice Pro’s web site although I may have missed it, and without the software itself I cannot check the documentation that shops with it.

Usually re-brands of open source material credit the original source somewhere and happily add value to it, generating own-brand revenues. This instance may generate the frown of the open source community, however.

“They” (assuming MacOffice Pro isn’t some bloke operating out of his bedroom) appear quite anonymous with no personal names listed. The whois record only reveils a street address in New York. Not sure where the added value is here.

Connecting Apple Laptop to T-Mobile Internet

So I called T-Mobile (UK) to get a data “bundle” added for one month to my phone. £12.50, rather expensive but still mighty useful.

Prior to leaving I had a little go at getting it running. I found some documentation on-line after clicking various things and getting no-where. It turns out the Apple mobile phone drivers don’t support my Sony Ericsson; in fact I don’t think they support any Sony Ericssoon, certainly not as a data connection device.

They (my Macbook Pro and my D750) could talk via Bluetooth, but no modem for other data connection. I found this though – a set of downloadable drivers. Just drop them into the directory specified and they are available in the modem set-up screen when you check “show all drivers”.

To be honest, it’s pretty easy. Set up a new Bluetooth device on the laptop, pair with your mobile handset, select GPRS or other high-speed data connection, and ensure the “Telephone Number” in the main dialog is “*99#” while in the Internet Connections applicatons the “Telephone Number” is set to “general.t-mobile.uk” (works as .co.uk too apparently), user is just “user”, password should be “pass”.

After entering all this and selecting Sony Ericsson GPRS CID1 under “Bluetooth Modem” it just worked.

Apple: Please make the bloody “Telephone Number” entry boxes simpler to use. Talk about confusing. One is a telephone number code *99# while the other is a gateway url. The T-Mobile woman on the support desk said my phone was not supported on Apple platforms but with the above drivers it definitely works, albeit over GPRS it is hideously slow compared to ADSL.

Holiday Time Part 1

Have come to Devon for the traditional summer holiday. Staying in Dawlish Warren specifically. Last came here ten years ago, tried to find the same place to stay and ended up mistakenly getting a chalet site further up the road from the beach.

The trip down was surprising easy. The only downside was the food available. If you take the M3 down from London, don’t bother with the first service station: Had the sausage and mash, the gravy was cold and the sausages had so much flavour we knew there was something wrong with them; had to finish the meal still hungry as knew I’d end up being sick from it. When driving, don’t be sick.

Given the summer weather thus far, it’s remained surprisingly sunny and warm without being too hot. I’m talking mid-twenties celsius.

First full day down here was yesterday. Did the sea walk from Dawish Warren to Dawlish in blazing sun. Sea air helped for cooling. Having walked back, got a headache, rested, then showered and discovered the the Brewer’s Fayre restaurant nearest which overlooks a river (beautiful scene) is no longer a Brewer’s Fayre and has since received poor reviews. Instead nearest one is in Torquay. A lot longer trip but was by the newly invested Quay area so got to see lots of expensive boats.

How To Ruin Lunch

So we’re out shopping before the hols. We decide to get lunch in the city centre. Turns out the place we picked is rather expensive.

Regardless after a cheese and tomato toasted sandwitch I’m still rather hungry so I get a delicious slice of coffee and walnut cake. Just as I’m savouring this, some old woman on the other table doubles up and is sick.

Not her fault but the looks of our faces in the dining areas said it all. I couldn’t finish the cake. Honest.

Data Protection Act can be just daft

So I call the household insurance company to query then on a matter. I want to know if some equipment will be covered when on holiday.

I confirm all the details and mention it’s my dad’s policy. He checks, and comes back saying he can only talk to my dad.

I ask why, it’s a general enquiry. Data Protection Act he says. I suggest the question would be answered if I called the sales line about the same type of policy. Yes Sir it probably would but I can’t help you without authorisation from your father.

It’s not like I was asking anything specific to his policy. It’s a very off the shelf policy with a general question. What a waste of time.

So my dad calls and hands over the phone (after he returns from shopping). Turns out everything is covered. Just don’t leave valuables on display unattended. Duh. Good news for photographers – check your home insurance policy first!

mencoder examples and converting from Intel Indeo 5

MPlayer for Linux (other platforms supported) ships with an awesome (free) audio/video encoder called mencoder.

It can accept a stream from say a TV tuner card or an existing audio/video file like an AVI or MPG. You can also use a DVD as a source.

It spits out another file, this time using any specified codec / formatting / special effects it supports.

So I have this .avi file and it cannot play back within anything I’ve got under Mac OS X. I fire up VMWare Fusion and a copy of Ubuntu within. Here I run ‘file myvideo.avi’ within a terminal and am told it’s actually Intel Indeo v5.

For those who don’t know, Intel produced their own audio/video codecs (like DivX but early days essentially) years ago before Windows supported many. Indeo was the product name. Unfortunately the specification is held privately by Intel and binaries are only available for past Windows OSs. Thankfully mplayer has a load of these old binaries and can play them under Windows. And most if not all can be used by mencoder to at least decode the files.

Time to update my video file by converting it to a newer, better supported format.

Now unfortunately the people behind MPlayer are far too busy programming to make great looking simple documentation. This means wading through piles of documentation and wondering which of the bewildering options should you be choosing. Google & Gentoo Wiki to the rescue! How about this for a wicked guide to using mencoder with examples!

Even after trying a few of the examples the converter still complained about things such as invalid audio bitrates. So I had to choose pcm for the audio codec which is uncompressed and thus not great.

Results time. Original file size is 390MB.

So here goes the first attempt:
mencoder movie.wmv -o movie.avi -ovc lavc -oac pcm
perfectly correct video under both Linux and Mac OS X with a file size of 323.5MB. But it’s DivX, how about we use xvid which is less restrictive.

mencoder -ovc xvid -oac mp3lame -xvidencopts bitrate=687 -o
Once again perfectly acceptable but this time the file size is 212MB with no perceptable degredation in quality (but the original is obviously old and hardly DVD or HD quality).

You could even add -lavcopts vcodec=mpeg4:mbd=2:trell -vf scale=640:480 to double the video resolution from 320×240 if you desired but this adds considerable time to encoding so I didn’t bother.

Oh, and for those of you interested in real geeky hardware stats, iStat Pro reckons the CPU (Intel Core 2 Duo 2.4Ghz Santa Rosa) reached 78C in the middle of conversion. It even reckons 35% idle CPU which given the hammering is quite remarkable. 2GB RAM MacBook Pro.

Linux Backups

The past several years has seen a big rise in Linux on the server. It runs email, databases and web sites. All of whom happen to be (in the vast majority of cases) incredibly important applications for businesses and individuals alike.

Yet the documentation often sucks, and there is usually a lack of information on how to back up your data and restore it.

What I would like to see is every software package installed on Linux like these having a notice somewhere on backups. A reference to a web site or manual page would be a minimum. For MySQL there is a section of their documentation web site. For apache it usually involves backing up a set of files. But by default nothing really exists which really doesn’t make sense.

How about a set of wizards. Break down most installations into a set of standard questions, and out comes a short set of instructions for creating a backup and similarly short but sweet set of instructions for restoration.

Sure some of this is highly dependant on the site, but variations always apply.


Categories