Rants

The decline in legacy interfaces

There’s been a rather disturbing trend lately.

In recent times, we’ve all seen a very high increase in the number of players in the portable computing market, and a significant reduction in the cost of laptops. People are demanding more features packed in, higher performance, etc. This is fine… however it seems laptop manufacturers overlook those of us who still use dated interfaces such as PCMCIA/Cardbus, Parallel ports, and RS232.

Now okay, I can see that there’s a need to cut costs, and that there’s limited space… but surely somewhere in these laptops, there’s room for a lowly MAX232 and a DB9 male socket? Most of the manufacturers cater for the “average user”, who probably has no idea what to use these ports for and thus never use them. There are, however, numerous places where one finds themselves needing a proper RS232 port. What on earth for?

  • Serial consoles — a very convenient way to run servers that normally are accessed remotely.
  • Programming various embedded devices — such as PLCs and microcontrollers.
  • Driving simple logic devices — why complicate things with USB when parallel or serial port interfaces will suffice?

In my experience, USB<->RS232 serial converters aren’t what they’re cracked up to be. We bought one (an ATEN one based on the PL2303 IC) to use with a Lego Mindstorms RCX kit we have (the IR transceiver connects via RS232). It works for hooking up to a serial console quite well… but it demonstrates all kinds of quirks when using it with the Mindstorms kit — the faults being intermittent in nature.

The same device, also acts up when I use it at university to program some Rabbit Semiconductor RCM4000-series microcontrollers. I tell the programming environment to use COM4: (the assigned device name under Windows XP) and that it’s a USB device. Things seem fine, until I try loading my compiled program onto the microcontroller… the loader fails to detect it. Switch back to COM1:, plug the microcontroller into that port, voila… everything works.

At the moment, I’m keen to keep my present laptop (Toshiba TE2100) going as long as possible. It has a few quirks (e.g. no OpenGL under Linux, issues with USB on resuming from suspend under both Linux and Windows XP, and a LCD backlight that started acting up recently), but largely works okay, and comes complete with all the legacy ports I require. The only thing I miss is a Line-In socket for ripping my vinyl records. However I realise that I may need to upgrade in the next few years.

My needs as a customer are unusual … a lot of people seem to want รผber gaming rigs or multimedia systems… for me, I’m after a workstation that’ll work well with Linux. So high-end OpenGL isn’t a priority, I’d sooner get a laptop with Intel graphics, and put up with somewhat lesser 3D performance under Win32, than deal with the pain that is proprietary drivers under Linux. Heck… even just good accelerated 2D is acceptable — I rarely use 3D.

Cardbus/PCMCIA is important, since I have a lot of legacy PCMCIA devices such as network cards that I’d like to continue to use — sometimes multiple network cards is useful. I sometimes do use my laptop as a router, and would sooner use one of the spare Xircom PCMCIA cards I have lying around, than fork out for a USB ethernet device (I have one… but they’re more expensive than PCMCIA cards).

A proper RS232 port is important for my needs as outlined above.

Presently, I’m holding off for as long as I can. I know I’m going to have fun getting a laptop with no OS (or failing that, Windows XP… I don’t like Vista, and refuse to buy it) from the usual suppliers. Looking around though, everyone seems to be keen on inflicting USB on me — sorry guys, not good enough! I’m watching what Lemote is doing with keen interest. Having used the Fulong PCs for a while, I’m really quite impressed by them.

Lemote do make a laptop version of the Fulong, with very similar hardware. I have no idea how much they cost (the Fulong PCs are about AU$260 depending on exchange rates) but I’ve found the Fulongs do almost everything I need to do. The upcomming Loongson 2F processor in a laptop would be awesome.

The Loongson 2E used in these Fulongs implements a subset of the MIPS3 ISA. runs at up to 800MHz, and draws 20W of power. The Loongson 2F apparently will fully implement MIPS64r2, exceed 1GHz clock speed, and draw just 5W. Some good power management, and I could see a laptop based on one of these, lasting several hours on a charge. And of course, it’d likely run Linux flawlessly. Gentoo already runs extremely well on the Fulong. The only downside being unable to run many proprietary apps.

I only hope that some of the major companies (Yes, Apple, Dell, Lenovo, Asus, Toshiba, Acer… anyone else…) could reconsider their desire to drop these still-needed interfaces. While the general population might find them useless, that’s still no reason to take them away from those who do use them!

F$#%@ GoBack!!

Yep… it’s another gripe… this time, Symantec’s (really Roxio’s tool) system recovery tool, “GoBack” is in my sights.

For a while, my father has been talking about getting back into using Linux. He recently replaced his dying IBM ThinkPad T22 laptop, with a much more modern LG P1 Express. The machine came pre-loaded with Windows XP, which was fine, we intended to dual-boot. On went the necessities (Firefox, Thunderbird, OpenOffice) and critical utilities like those provided in the Norton SystemWorks suite.

Well, the other day, we decided to actually do it. The machine has a 100GB SATA drive, plenty of space for both operating systems to coexist. We installed Symantec (actually PowerQuest’s product) PartitionMagic, and told Windows to shove over, leaving 40GB for Linux. It wanted to reboot to do the resize, this is fine — we shut down and rebooted as advised.

On the bootup, we get a dreadded blue screen (BSOD-like, but wasn’t a kernel oops) telling us that it can’t resize the partition with GoBack loaded. WTF? They’re both Symantec products?! Surely they should be aware of these limitations? Ahh well, seemingly not, so we reboot again disable GoBack via its bootloader menu, then try again. The resize goes off without a hitch, and we re-enable GoBack, and carry on.

A few days later, we got around to actually installing Linux. We decided on a hand installation of Gentoo Linux/x86 — dispite the laptop being a 64-bit capable Centrino Core Duo machine, we figured 32-bit would be safest for now. I pop in the LiveCD (actually, the 2006.1 prerelease… I never bothered to download a newer CD since this one worked.), and apart from the onboard ethernet card not working (fixed using a USB ethernet dongle), everything installed smoothly.

An oddity I noticed when I ran fdisk… Windows XP is installed on a NTFS partition (one of the reasons why I used PartitionMagic, rather than chancing it with parted). NTFS partitions show up as Type 0x07 (NTFS/HPFS) in fdisk… this partition was showing up as type 0x44 (Unknown), which I thought was bizzare. It was about 60GB in size, and thus I figured it had the NTFS partition inside, so I tacked an Extended partition on the end of that, and inserted my Linux partitions as logical partitions.

Everything was fine… grub installed without a hitch to the master boot record, in a few hours I had the machine booting off the HDD into Linux, talking to the network. Later I got X working (VESA for now… ATI X1400s aren’t supprted yet), and within a day, I had KDE, and all the basics installed.

At this point, I hadn’t tried rebooting into Windows yet … I assumed it was still working. I was badly mistaken. Windows XP would start to load, then flash up a BSOD (a real one), and reboot. Hammering F8, I managed to get it to show me what the BSOD was about… Bloody GoBack2k.sys! It broke normal Windows boot, it broke Safe Mode, and it broke the “last known good configuration”.

Right… so I searched and searched… nothing. Symantec’s website only told me that dual-booting with Linux was not supported: Helpful fellas… might I remind you it’s not your PC, thus I don’t feel it’s your right to tell people what they can run. It was looking like a reinstall, which I was not keen on.

Then I twigged… earlier I had noticed Windows XP’s partition was of type 0x44… what if Windows was looking for a partition of type 0x7? Windows XP is pretty stupid like that — where such a trivial difference would not phase Linux (so long as it had the filesystem drivers for the root), it really breaks Windows badly. The fix was as simple as:

# fdisk /dev/sda
Command (m for help): t
Partition number (1-7): 1
Hex code (type L to list codes): 7
Command (m for help): w

Soon as I did that… Windows XP was happy, I simply booted in, then uninstalled GoBack. The machine is now happily booting both OSes. ๐Ÿ™‚

I post this here, for people who find myself in the same ugly situation. For those who are about to install SystemWorks… I recommend you do not install this shoddy piece of software. The rest of SystemWorks does its job rather well IMHO… but I say again, steer clear of GoBack — It Is Broken!

SMS-speak: Mutilating the English language…

Ugh yeah… I’ve got a bee in my bonnet, and I’m having another winge.

I don’t know what the cause is, but for whatever reason, there’s been an increase in the number of people who, instead of properly typing words out, and at least attempting proper spelling and grammar (which I’ll admit, I don’t always get perfect myself), instead, insist on cheap shortcuts. Even on exams, there are people out there who would rather write “2”, “u” and “ur”, instead of spelling those words out properly.
For people who are from a non-English speaking background, yeah fair enough, they won’t know all the intricacies of the English language. But at least they try to get things right. The people I speak of, are those who have only ever known one language, English, have been taught (presumably) literacy skills at school, yet still insist on hard to read, cheap, dodgy shortcuts.
I’ve got a simple motto which I stick by:

If you want a question answered, and not mocked, make sure it can be read.

I don’t know about others… but I do get a lot of email, and I also have a lot of things to do in real life. I’ve got better things to do than to try and decipher a badly written email. Okay, there are some well-known acronyms such as “LOL”, those are fine. But dropping letters for the sake of it (laziness), is not on. On SMS messages, I can tollerate it to a point: you’re working on a telephone keypad, with limited space to write a message. On online games, I’ll tollerate it (to a lesser extent) as one has limited time to construct a message. I won’t, however, tollerate it on email messages, on chatroom protocols such as IRC, or on instant messenger systems, where one is presumably working on a decent-size keyboard and has ample time to write the message.
I mean, how long does it take to type “2”, vs typing “to”, “too” or “two”? How about “u” vs “you”? Are you really saving much time by dropping letters? I’d say no. Are you helping the reader understanding your message? Again, no. In fact, I’ve seen instances where someone has used “2”, and I’ve been left guessing which word they actually meant.

Grammar is an issue too… but less so. Probably the worst problem here, is people writing big long sentences with no breaks. Big blocks of text are hard to read too.

SI units are another point of confusion — more than once I’ve commented to someone about how quick their sub-Hz computer is, not everybody understands that SI units are case-sensitive. This is particularly important when asking networking-related questions… is “mbps”, MegaBytes per second, Megabits per second, Millibits per second?? Okay, B (bytes) vs b (bits) was never standardised, even though this is the common convention, but to be sure, perhaps MBytes or Mbits is better ;-).

Anyway… enough of my ranting… I’ve got it out of my system now. ๐Ÿ™‚ Just to say, next time you’re writing an email to one of us, please do us a favour, and write your message properly. Pretty please? ๐Ÿ˜€

RANT: Telemarketers, and their opt-out calling lists.

Yep, I’m sure everybody knows what I’m on about… it’s those annoying people, that ring just as you’re about to take a bite of your hot dinner … or wake you up/disturb you in the middle of the day, to sell you something you’re not interested in.

I’ve endured it for quite some time now. Somebody rings on the landline phone (thankfully they haven’t touched my mobile), and starts their marketing blurb. Sometimes they’ll ask for a “Mr Longland” … and after further probing, maybe I can get a “D G Longland” out of them (being my father’s phone line, he’s listed in the phonebook, and this is where they get the number from). Depending on my mood, I’ll either be highly synical or flippant, or I’ll play dumb.

Each time it happens though, I still can’t help but think … they’re doing it all wrong. Just because a number is in the phone book … that doesn’t instantly give them the right to use it to make an unsolicited commercial phonecall. At the moment for us here in Australia, there are two options:

  • Request our number to be made silent. This would prohibit anyone from publishing your phone number basically. But this wouldn’t stop those call centres that just hit +6173 then throw 7 more random digits on the end. It’s also an inconvenience for people who know us.
  • Get added to the ADMA Do Not Call List. Now this will help cull calls from crowds that are a member of this association … but what about others?

I thus propose another solution.

Rather than just calling anyone, then having people opt-out of the service… instead… people should opt-in to receiving calls. This is how it’d work.

  1. A telemarketing company puts out an advert in the media (radio, TV, newspapers…etc.), listing possible service areas that people might be interested in, as well as a phone number for people to contact for more information. Let’s say for the example, this crowd are in contact with mobile phone carriers, internet providers, mortgage crowds, and a few other companies.
  2. People who are interested then ring this number. An operator (or a computer) answers, and gives them the rundown of the services available.
  3. The caller then selects the services they want, along with specifying a preferred contact phone number and times to call.
  4. The company then adds the caller to their call-list.

This has a number of advantages:

  • Their people no longer get abused by people who aren’t interested.
  • They pay less to run the companies, because fewer calls are wasted.
  • Customers here about the services they are interested in, and may attract more by word-of-mouth.

Disadvantages:

  • There’s an additional cost to pay for adverts (which is offset by fewer calls)
  • Harder for new players to become established.

Maybe if companies took this approach… fewer people would be needlessly disturbed… and they might become more successful as a result. ๐Ÿ™‚

Fscking Blackhats!

Those of you who have been watching the Atomic Linux forums, will have noticed this…

Defaced forums

Now, I don’t know who this “Eren” character is… or what I’ve susposedly done to deserve this. It’s sad that there are people who merely get their jollies by simply defacing websites. I have no complaints with hackers in general — whitehats do provide a useful service, in that they try to find holes and fix them — it’s the malicious variety of hacker (the blackhat) that I hate.

I’m currently reloading phpBB (latest version), so hopefully the damage won’t be huge — but it does look like we’ve lost most of our threads.