Tuesday, 5 July 2016

Should you spend $1500 on a USB cable?

"Best Buy Is Selling This USB Cable For $1,500 And You Need To Read The Reviews"

Aaaahh. The old argument. This was around when optical PCM interfaces first came out of CD players.

The fact is that cable quality and noise DO indeed affect digital signal quality, and it is not 1s and 0s being transferred along the cable. Here's why.

A cable has capacitance, and that capacitance turns a nice, neat binary 'square wave' signal...


...into something called a sawtooth waveform...



When the peak of the 'sawtooth' doesn't quite reach the level required for the receiver to register a 1 or a 0...


...the transmitted signal now has an error because the signal voltage doesn't get high or low enough for long enough for the receiver to register it as a 1 or a 0...



As the capacitor of the cable charges up, its resistance increases, which is why the square wave gets turned into a sawtooth. The longer the cable, the greater the capacitance and the lower the data rate that the cable can support. Modern data cabling of the type you'll find in offices will transmit and receive at 100 megabits per second over a distance of around 100 metres.

However, to overcome this, digital signals are modulated. If you've heard a fax machine or an old dial-up MODEM working (MODulator/DEModulator, turns digital into analogue), those tones are modulated data. But it's not that simple. That kind of modulation works up to 9600 bits per second or thereabouts. So to get higher transfer speeds, the modulation is a bit fancier than just changing frequencies for different bits of information. High speed modems change the frequency (pitch) the amplitude (volume) and the phase (angle) of the signal in order to encode multiple bits in each state change.

USB v1 runs at 12,000,000 bits per second
USB v2 runs at 480,000,000 bits per second
USB v3 runs at 3,000,000,000 bits per second

Higher speeds demand higher quality cables and shorter cable lengths. The actual transmission rates are much lower than the speeds you think you're sending data at, because as I said, multiple bits of information are sent in each state change. This allows manufacturers to develop higher apparent data speeds from cables which haven't really changed much in the last 100 years. Copper is still copper.

Poor transmission media will definitely cause errors. In the old days, this would mean that, for example, a large data transfer would fail part way through and have to be restarted from scratch. I sat on site until late into the night at a factory where a 6 hour print job would fail part way through. The cause was a single bit error, turning a hex '11' into a '16' so instead of the printer knowing to start a new line, it just carried on churning out complete crap. The cause of the bit error was noise on a piece of cable running through the factory.

Fortunately, modern transmission systems have error detection and correction mechanisms which work in two ways, firstly sending redundant data and secondly providing a feedback mechanism to retransmit errored data. These mechanisms will correct any transmission errors, however in doing so, they introduce delay. When you print a document, it doesn't really matter how long it takes the data to reach the printer, so delay is not a problem.

For real time audio, though, that delay means that the receiver has to wait to catch up with the retransmitted data, and if the receiver's buffer runs dry, the audio device will have no numbers to feed into its CODEC (CODer/DECoder, turns digital to analogue) to produce music. I'm sure you've heard a CD player that sounded like a stuck record, playing the same couple of seconds, over and over. The solution is to transmit data faster than the receiver can use it, so that the delays caused by retransmission are always absorbed by the buffer.

So a 99p cable? Definitely you will get errors and noise, and the longer the cable, the worse it gets. A $1500 cable? Yes, that is ridiculous. But if you're buying a $100000 audio component, you want to feel like you have spent a suitable amount of money on accessories, so I'm sure it looks and feels just great. If you're the kind of person who goes into Harrods and says, "I'll take it" then this is a cable meant just for you. You have no idea what you're buying, so if it's expensive it must be good. You'll never listen to it anyway.

However, in terms of the above explanation of data transmission, a $10/£10 cable would be more than sufficient.

Analogue cables are something very different. The chemical composition of the cable affects its resistance, capacitance and inductance, and these characteristics change at different signal frequencies. What leaves your source device is not what arrives, one metre later, at the amplifier. The frequency range is 'smeared' and different frequencies are amplified (louder) or attenuated (quieter). Try singing in a tiled hallway, bathroom or sports hall and notice how your voice sounds different - that's what happens along the length of the cable. However that doesn't make the sound necessarily worse, it makes it different, and so analogue cables have to be matched just like other components, to create the sound that you like.

Ultimately, the original source of music is generally analogue (voice), and the reproduction is always analogue (ears) so the analogue connections will have a much greater impact on subjective sound quality than the digital ones.

The end.

Thursday, 24 March 2016

Social media sites respond to Facebook rebranding

As expected, other social media sites are responding to Facebook's dramatic rebranding as reported here earlier today.

LinkedIn will become Linky McLinkface

Twitter will become Twitty McTwitface

Pinterest will become Pinny McPinface

Tumblr will become Tumbly McTumbleface

YouTube will become Tubey McTubeface

Whatsapp will become Whatsy McAppface

Kik will become Kikky McKikintheface

Google+ will continue to be of no interest to anyone

Facebook to undergo major rebranding


In a move said by many observers to be nothing more than, "jumping on the bandwagon", Facebook is to undergo a major rebranding for the first time in its 12 year history.

"We have to move with the times", says Mark Zuckerberg. "We actually created the whole concept of social media, but we have to recognise that the world moves on, and our competitors sometimes have good ideas too, and we have to capitalise on that if we're to retain our market leading position. If I see something that I think is going to lead us into the next market evolution, of course I take advantage of it."

Industry analyst Jed Schokenau said, "Facebook isn't just a website, it's a part of people's lives. Hell, for some people, it really is their life. If they don't see a cat video or a meme about having a wonderful daughter, they lose all sense of direction in life. So this is a massive move for Facebook, this is really a seismic shift in the whole social media ecosphere, and I think we'll see other social media players following suit."

Zuckerberg denied claims that the rebranding is just an attempt to get cheap publicity, emphasising, "No, honestly, it's really really true. It is. Honestly."

We've secured a sneak preview of the new branding for you, but to see it live on the site you'll have to wait until next week.

Tuesday, 8 March 2016

Three Sucks

For some time now, Three mobile have been taking 4 direct debits for 3 accounts. I rang some time ago to ask why, they said the 4th was for out of contract charges such as roaming. OK. So I just called again and it turns out they have two numbers assigned to the same SIM and are therefore billing me twice every month. They never thought to mention this before.

Call 1 to customer service helped me to figure out the problem. At the point that the agent was about to give me the conflicting number, I got cut off.

Call 2 needed a bit of backtracking to get the number, and confirmed that they have two accounts in my name, same phone, different numbers. The agent escalated the call to Amit. Amit said hello, and I got cut off.

I waited 20 minutes for Amit to call me.

Call 3 and I had to start completely from scratch, all over again. I had to explain everything that was going on. The agent couldn't just transfer me to Amit. I had to explain everything again. I was getting frustrated. Finally she figured that I had to speak to Amit. Then she told me that Amit had already called me. No he hadn't. What number had Amit called me on? Oh yes, of course, the redundant number which they told me has never been used. I KNOW IT'S NEVER BEEN USED, IT'S A DUPLICATE!! SO WHY IS AMIT CALLING ME ON IT??

Now I'm waiting for Amit to call me on, amazingly, THE NUMBER THAT I CALLED THEM ON.

Meanwhile, their music on hold is interrupted by an advert... "Getting charged for 0800 numbers sucks..." No, purple muppet, getting charged twice for the same phone is what sucks.

Let's see what happens.

p.s. an hour later... no call back from Amit yet

12 hours later... no call back from Amit

Call 4. Can I speak to Amit? No you can't. You have to wait 24 hours for him to call you.