Skip to main content

$2000 saved in about ten minutes

Customer’s first non-CBD office requires music on hold. Customer asks ’phone installer what to use; response is “anything will do” and when pressed suggests a music-on-hold service which just happens to have a AUD$2000 flagfall plus serious ongoing costs.

Customer then asks Leon if he has a solution. “What are you using now?” Turns out to be a laptop running Windows 2000, XMMS and an MP3 file — all of which requires rebooting every few weeks. OK, so SCP the MP3 file onto the country server, unpack it into a WAV to reduce CPU usage (not that it’s significant any on a 3GHz Athlon64), enable the sound card in the BIOS (I disable any device not in use, as it simplifies things, makes them more reliable and frees up IRQs), run alsaplayer over it and we’re away.

Elapsed time: ten minutes. Value to customer: ≅AUD$12,000 an hour. ♥ Woh! Ah feel goood... oh, I knew that I would, yeah... ♥ (-:

So... why not do the same in Perth?

When we try, we get silence, yet we can plug powered speakers into the same green socket on the server and get a nice clear audio holding pattern.

The country branch’s PABX has a 3.5mm stereo plug, the city branch has a 3.5mm-to-3.5mm extender cable plugged into a 3.5mm inline socket soldered onto the end of an RJ12 (telephone) cord. Untwisting the 3.5mm socket reveals that it is a mono 3.5mm socket, so it shorts the right-hand channel to ground when a stero plug is inserted.

Since the laptop is driving the cable from a “headphone” socket, resistors are involved which protect the laptop from the consequences of this electric vandalism; the server’s audio drivers, on the other hand, shut down when one channel is shorted. Round of applause for that chip designer, good call.

To add insult to injury, the cable inside the 3.5mm socket is poorly soldered and employs zero strain relief, not to mention that the RJ12 socket is wired up (colour coded) backwards WRT every other RJ12 cable I can find (ie YRGK instead of KGRY).

So... off to Tricky Dicky’s for a 3.5mm stereo plug and a longer RJ12 cable. 5 minutes with a soldering iron, and our shiny new cable works first time, every time. Not only that, it looks a lot neater as well. The old cable celebrates retirement by parting the last few threads of soldered copper, and is soon on the way to the circular file.

Now customer has a spare laptop. 128MB of RAM, 10GB of HDD, and a slow CPU. Perhaps it can run some old games?

Comments

Popular posts from this blog

An Open and Shut response to Darl McBride

Hi, Darl. I see you’re being dishonest again . It’d be really nice if you could shoot straight for a change, but I think Kerry’s Dad will be selling snowplows in Hell first. Three years ago, when I first joined The SCO Group, we focused the company on the area that was most profitable and provided the most benefit to customers, investors, resellers, developers and employees: UNIX No, you focused the company on suing people, which was most profitable to lawyers and provided some golden parachutes for your buddies. People thought we were crazy. They were right. But since SCO owns the UNIX operating system The SCO Group does not own UNIX® in any sense of the word. The Open Group owns the UNIX trademark, definition and other rights , The SCO Group does not. The SCO Group doesn’t even own the UnixWare® or OpenServer® code, the rights to those are held by Novell and TSG use them only by permission and under certain conditions — which they have violate...

5x7 text dot-matrix in five minutes...

This is a fairly primitive toy I threw together today for a specific purpose, published in case it’s any use to others... feed it a list of words as command arguments, which it will then display as a 5x7 ASCII dotmatrix with ‘#’ as a dot & ‘_’ as a blank. /* * display text using a 5x7 bitmap font in ASCII letters */ static unsigned char font [] [5] = { { 0x00,0x00,0x00,0x00,0x00 }, // 0x20 32 { 0x00,0x00,0x6f,0x00,0x00 }, // ! 0x21 33 { 0x00,0x07,0x00,0x07,0x00 }, // " 0x22 34 { 0x14,0x7f,0x14,0x7f,0x14 }, // # 0x23 35 { 0x00,0x07,0x04,0x1e,0x00 }, // $ 0x24 36 { 0x23,0x13,0x08,0x64,0x62 }, // % 0x25 37 { 0x36,0x49,0x56,0x20,0x50 }, // & 0x26 38 { 0x00,0x00,0x07,0x00,0x00 }, // ' 0x27 39 { 0x00,0x1c,0x22,0x41,0x00 }, // ( 0x28 40 { 0x00,0x41,0x22,0x1c,0x00 }, // ) 0x29 41 { 0x14,0x08,0x3e,0x08,0x14 }, // * 0x2a 42 { 0x08,0x08,0x3e,0x08,0x08 }, ...

Citizens Augmenting Government Waste

So here we have Microsoft-funded “ Citizens Against Government Waste ” (CAGW) heavily criticising Massachusetts’s switch to an internationally accepted and open document standard (not open source, open standard — but I seem to remember a large monopolist who frequently confuses the two when it suits them). I remember CAGW, they were the organisation who had dead people writing in to support Microsoft in court a few years ago — thanks to sbergman27 for the link — is this “the dead hand of CAGW” at work again? Let’s follow the money and find out. Who stands to lose the most money and control if Massachusetts switches to an unencumbered document format? Big surprise, it’s CAGW sponsor Microsoft, through their dominant MS-Office suite. Why did CAGW list Microsoft’s suite last, after two other much-less-dominant examples which are waning anyway? If you’re inclined to wallow in additional irony, consider that at leas...