The Smell of Molten Projects in the Morning

Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.

Tag: Rants

And kvetching, too

  • Mobile Phone Contact List Portability, Lack Thereof

    I just finished re-typing my (admittedly limited) list of contacts, merging the lists from my ancient Virgin Mobile Nokia Shorty and my new-but-defunct Kyocera Marbl into the replacement Marbl.

    These things should be able to bag up their internal representation of my Contacts into some standard interchange format, place that file somewhere, download such a file, and poof be up and running.

    If Virgin wants me to keep buying phones, why do they make it such a pain to start up a new one? Come to think of it, I know why: they don’t make any money on the phones, so they must maximize the phone’s lifetime, while simultaneously touting new features to entice new customers.

    I’m still grumpy from driving too much, even after a mid-morning nap.

  • Technology Oopses

    Driving back from Cabin Fever, we passed the second-most-famous nuclear reactor site in the world.

    After the fly ash spill last month in Tennessee, I’m waiting for calls to immediately shut down all coal-fired plants.

    Maybe that’s like waiting for PETA to start picketing halal butcher shops. In Tehran.

    Driving makes me way grumpy.

  • Cell Phone Web Browsing

    Oh, that Kyocera Marbl from Virgin Mobile I mentioned here? One of its bullet item features is “web browsing“.

    The screen is roughly the size of a large postage stamp and displays text amounting to, in round numbers, five lines of three words each. Graphics are not an appropriate use of screen real estate.

    I have not signed up for a “data pack” to enable cheaper browsing.

    There’s nothing I can say about this that doesn’t sound snarky.

  • Dell GX270 Auto-On Power Setting

    I bought an off-lease Dell Optiplex GX270 from Dell Financial Services (via the highly useful techbargains.com) to update my mother’s PC.

    For the last month I’ve been twiddling it every now & again in preparation for my next visit, plus just letting it run to get some power-on hours under my supervision. You’ll find some of the info on that process earlier in the PC Tweakage category.

    So it’s been booting up automagically at 6:15 am every morning, which is easier for Mom, but every now & again it wakes up dead. This is why I’m doing a month or two of burn-in here!

    The diagnostic LEDs (the ABCD lights on the back panel) are GYGG, which isn’t listed in their hard-to-find LED reference[Update: maybe now at Optiplex Diagnostic Indicators]

    Dell Optiplex GX270 Auto-On Boot Failure LEDs
    Dell Optiplex GX270 Auto-On Boot Failure LEDs

    I did the usual diagnostic stuff. All the Dell diagnostic tests work fine, replugging the memory doesn’t help, and so forth & so on. Running many passes of memtest86+ (from the invaluable System Rescue CD) shows no problems at all.

    Called up 800-891-8595, the DFS warranty service number (which is different from the usual Dell route), told my story, and got a call back (!) from the tech. I related the situation, mentioned that I’d set it for auto-on, and he said “Oh, they never got that BIOS code working, it’s never been released, and I’m surprised it works at all.”

    Riiiight

    This is a biz machine, the sort acquired in semitrailer loads by big companies with actual IT departments, the ones that automagically wake up their flock of machines for overnight updates. Maybe they trigger auto-on through the LAN port (that’s another BIOS option) these days, but the BIOS wake-up alarm clock function has been available in pretty nearly every Dell I’ve ever owned… and works fine.

    This is not rocket science.

    Indeed, if anyone’s ever had the slightest problem with Dell’s auto-on, Google shows no sign of it. There’s nothing on the normally loquacious Dell forums. Nay, verily, the GX270 manual itself touts the “advanced feature” of having it turn on at a preset time and day.

    Anyhow, he says the LED code shows the problem has something to do with the memory or video chip not starting up in time. That information is in his “internal” debugging info, which is not available to mere customers. He’s unwilling to swap memory (I tried another stick to no avail), let alone the system board.

    Conclusion: his assignment is to make me Go Away without spending any money on warranty repairs.

    Seeing as how the GX270 was a whopping 100 bucks delivered, I can sympathize with his marching orders, even if I disagree with their outcome.

    So maybe Mom’s going to have to get used to turning the box on in the morning; it seems to work perfectly that way. A straightforward crontab entry turns it off in the evening… at least that part still works.

    I’ve bought other off-lease & Dell Outlet boxes; they’ve worked fine. This one is a bit more battered than usual, but it’s otherwise in fine shape. It’s even been re-capped; the larger electrolytic caps aren’t the dreaded Nichicon popcorn caps.

    Update: It seems to be booting OK with this burn-in regimen.

  • Syncing Zire 71 in Kubuntu Hardy

    I have a somewhat antique Palm Zire 71 that has, periodically, synced perfectly with various flavors of GNU/Linux. On the other hand, sometimes a new release / kernel / version prevents it from syncing at all.

    My life is simple enough that I really don’t need to actively sync it with an online calendar, which is a damn good thing. Back when I needed to do hotsyncing, it always came heartbreakingly close to working; apparently that’s still the case. Having to comb out a complete set of duplicate addressbook entries pretty much soured me on futher experimentation.

    Currently, the Zire on the outs with Ubuntu / Kubuntu Hardy. The hack that makes it work goes a little something like this:

    The file /etc/modprobe.d/libpisock9 blacklists the visor module, which allegedly lets all the pilot-* programs connect using libusb, but that flat-out doesn’t work for me.

    Replace this stanza inside /etc/udev/rules.d/60-symlinks.rules:

    #KERNEL=="ttyUSB*", ATTRS{product}=="Palm Handheld*|Handspring *|palmOne Handheld", \
    #                                       SYMLINK+="pilot"
    
    With this one:
    BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring *|palmOne Handheld", \
    KERNEL=="ttyUSB*", NAME="ttyUSB%n", SYMLINK+="pilot", GROUP="dialout", MODE="0666"

    Make sure you’re in the dialout group. If you’re not, add yourself, log out, then log back in again.

    I back the Zire up once a month, which is rarely enough that I just load the visor module by hand:

    sudo modprobe visor

    Create a directory for backing up into:

    cd ~/Zire71
    mkdir 2009-01-03

    And then backing up the Zire is easy enough. Pop the thing in the cradle, poke the hotsync button, and quick like a bunny whack Enter on this:

    pilot-xfer -p /dev/ttyUSB1 -b 2009-21-03/

    The ttyUSB1 device will, of course, vary depending on whether you have any other USB-serial gizmos plugged in at the time.

    Frankly, the utter unreliability and instability of this whole USB PDA mess is one of the reasons why, IMHO, GNU/Linux really isn’t “ready for the desktop” despite the fact that all our boxen here run it. I don’t particularly want a phone / camera / PDA / ebook reader / pocketwarmer, but I can see I’ll wind up with one some day just to get a USB interface that actually works.

    Memo to self: remember to modprobe visor

    Update: Xubuntu 8.10 fixed all that, so USB hotplugging seems to work right out of the box. Install pilot-link, then just:

    pilot-xfer -p usb: -b /path/to/backups

    Now, whether syncing to contacts & calendars works correctly, I cannot say.

  • CD Longevity, Lack Thereof

    Remember when they said CDs would last for a hundred years?

    Some years back, a bit o’ PC shuffling around here spat out a 60 GB hard drive and brought the Big Box of CDs up from the fireproof safe at the same time. A little mental math: hey, why not?

    Turns out that all 130+ of my “purchased” CDs, mostly with Windows programs & device drivers, add up to 42 GB of ISO images. Creating ISOs is trivial with Linux:

    dd if=/dev/cdrecorder of=image.iso

    and you’re done. Depending on your system, you’ll get faster transfer with a bigger blocksize: bs=1M is more than enough.

    I used the two upstairs PCs as readers, with the hard drive installed in the milling-machine PC downstairs. It took the better part of a day to think up file names and feed CDs into the slots. Typical speeds were 3 MB/s, dropping dramatically with read retries: a minute or two or three per CD. The average CD is half-full.

    I wrote a trivial script to do the tedious work: loaded the CD, issued the dd command, computed MD5 checksums on the raw CD data and the stored file, and ejected the CD. The checksums always matched except when the disc had read errors, but gave me confidence I wasn’t losing any bits along the way, because the CD got read twice and any marginal sectors that were fixed-in-error would pop out.

    One CD was completely unreadable because of a nasty scratch. Another, never used, turned out to be cracked in the sealed envelope.

    What’s scary is the number of previously good, visibly undamaged, used-once-or-twice CDs that couldn’t be read in at least one drive. I don’t abuse the things and I -know- some of these haven’t seen the light of day more than once or twice.

    Dozens (I lost count) weren’t readable in at least one drive and many weren’t readable in three drives. If you happened to have two of those drives in your one-and-only PC you’d be sunk without a trace.

    I had a visibly undamaged CD that couldn’t be read in any of the four drives, although rubbing it down with toothpaste (got nothing to lose!) persuaded it to play in the CD burner. Perhaps a minute scratch? Dunno, but if that CD was damaged, then you can’t even look at ’em without damaging the things.

    The most reliable drive was a CD-only burner. The DVD-ROM and DVD-burner drives could read most discs, but fell flat on others. There’s no obvious difference between a DVD+(only) burner and the DVD+/- burners.

    Bottom line: maybe a quarter of those spendy pressed commercial CDs on your shelf won’t work when you really need to reinstall those programs. Should you happen to do an installation that doesn’t read the part of the CD with rotten bits, then you’ll never notice. I was copying the entire bit stream off the disc, so every single sector had to pass muster. How lucky do you feel?

    If you think you’ll ever need ’em again, get ’em on a hard drive now. Then you can burn ’em as needed. Oh, yeah, put the serial number right in the file name, too, it’ll come in handy.

    Hundred years, ptui!

    Back then I didn’t know about GNU ddrescue. Now, I do. Life is good. Well, better.

    Update: Nowadays, I keep everything on a 500 GB drive in the file server, which does a daily backup to a 500 GB external drive. Once a month, more or less, I dump the contents of the daily backup drive to a similar drive that lives in the fireproof safe.

    Tip: mounting an ISO is easier than finding & mounting the CD. They’re served up over an NFS share mounted locally at /mnt/diskimages, so it goes a little something like this:

    mount -o loop,ro /mnt/diskimages/ISOs/name-of-CD.iso /mnt/loop/

    and away you go. The ro option keeps you from screwing things up with an inadvertent write.

    That doesn’t work in Windows, more’s the pity, but you can find GUI utilities that more-or-less do the same thing from a SAMBA share. Not that I care all that much.

  • Bicycle Performance

    Back in 2006 I biked to the Main Event Criterium in Po-town to watch real bicycle crazies in action. Despite the name, the course was literally around the blocks near the Poughkeepsie High & Middle Schools on Forbus St & College Ave: about 0.75 miles per lap.

    Now, most places, folks give ‘bent riders a smile and maybe chat ’em up. Not here. Talk about a cold shoulder: the local-resident bystanders were friendly, but the real riders and their main squeezes obviously regarded my pimped-out recumbent as a Hostile Gesture. Barely even a sideways look; it’s as if I didn’t exist.

    I timed a few laps of the Masters 40/50+ race: Olde Fartes like me, but still players. They did 15 laps (maybe a dozen miles) at 16-17 mph. Two guys duked it out for the lead all the way to the finish, with the rest of the pack half a lap behind and fading.

    In my ordinary rides I can cover a dozen or so miles at 15-16 mph, riding with vigor but not an all-out, my-eyeballs-will-explode effort. That’s on open roads with actual hills, traffic signals, and no pace car to clear the way.

    Obviously, I’m nowhere near their well-chiseled physical condition.

    There’s no comparing the bikes, either.

    They’re riding the latest carbon-fiber weight-weenie frames on exotic aero wheels with pitifully few spokes. One guy blew a tire with a bang that sounded like a gunshot.

    I’m riding a steel-frame Tour Easy recumbent bicycle with a fairing, fat Kevlar-belted tires, tire liners, steel spokes (and lots of ’em), a rack, two baggage packs, a water bladder, ham radio, blinky lights, spare batteries, a tool kit, and fenders. Not to mention an aerobelly. Heck, my tool kit probably weighs more than their frame.

    Imagine what they could do on real bikes…

    Somebody mentioned that the TdF guys hit 70+ mph on downhills. I forebore to mention that the human-powered speed record is nearly 80 mph on the flats… I figured that would definitely be regarded as a Hostile Gesture.

    [Update: a friend accused me of riding while carrying more smug than legally permitted, even for Prius drivers. Guilty as charged.

    You’ll find more ‘bent posts by clicking on the “Recumbent Bicycling” category.]