Archive for the ‘Current Events’ Category

Malware blamed for plane crash

Sunday, August 22nd, 2010

A recent article notes that apparently the crash of Spanair flight 5022 had as a major contributing factor a compromised warning system computer, which resulted in no audible alarm when the pilots attempted to take off with the flaps and slats retracted. (This is a Bad Thing.)

Here’s the scary part: The computer had apparently been compromised due to malware that had somehow been installed (suggesting to me that it was likely running Windows or another popular consumer operating system.)

I’m all for the use of modern technology in aircraft; engine management computers and other systems can make aircraft safer, more reliable, and much more efficient. Of course, as with all aviation systems, they ought to be thoroughly checked out before being allowed to control critical aircraft functions. One corollary to this is that large, complex, unverified operating systems should *not* be used to run systems in charge of essential functions. I sincerely hope that there has been a misunderstanding in this case. We don’t yet know all there is to know about aviation safety, of course — but not using consumer-grade software in critical systems should be as big a no-brainer as making sure that the wings are bolted on securely.

WUBI

Sunday, June 6th, 2010

WUBI logo

What’s a WUBI? Good question. It’s a Windows-based installer for Ubuntu Linux. Download it, run it, click the Next button a few times, and suddenly you have a Linux installation — without running the risk of hosing your Windows setup. Ubuntu gets set up in two virtual filesystems stored as regular (if large) files on a Windows partition of your choice (they can go in an \Ubuntu folder in the C: drive, for example.)
It’s a painless, easy way to check out Linux or to set up a dual-boot system without causing a bunch of headaches. Go try it out!

Made in China

Tuesday, June 1st, 2010

A lot of products are rip-offs. Recently, though, I’ve come across one that is especially galling; a fake that had obviously been specifically designed — as lawyers would say, “with malice aforethought” — to trick customers. Here’s the story:

A few years back, a “perpetual flashlight” was developed, with a captive magnet, a coil, and some electronics to change the mechanical force from the flashlight being shaken into electrical energy to power it. (White LEDs are much more efficient than incandescent lights, which made this feasible.) These don’t work as well as you might like, but they do work, and can sit on the shelf for many years and be recharged any time by shaking.

It didn’t take long for this to catch on, since shake-to-recharge flashlights were “green,” relatively easy and inexpensive to make, as well as new and innovative. For well under $20, you could pick one up at Wal-Mart and have — in theory, anyway — a flashlight that would always work, no matter what. They made decent stocking stuffers, and were a pretty good deal for the money. (The required electronics meant they cost a little more than basic flashlights.)

As I found out a few months later, it also didn’t take long for someone in China to realize that these “shake flashlights” were selling very quickly — and that a very similar effect could be produced for roughly one-tenth of the cost. (The original flashlight design isn’t that expensive, but the costs for the necessary supercapacitors, diodes, magnet, and sufficient wire to make an efficient coil do add up.) Soon, these “new generation flashlights” (a very clever usage of weasel words, when you think about it) came on the market. You might have seen them at flea markets and dollar stores. They look and feel very similar to actual “shake” flashlights, but are smaller and cost much less.

What the packaging doesn’t tell you, though, is that these are not generating flashlights like the originals. They don’t have a supercapacitor, Wheatstone bridge network of diodes for current rectification, or even a magnet and coil. What they *do* have is a simple circuit board, a few turns of copper wire for looks, and a cheap chunk of metal to rattle back and forth ineffectively.
These flashlights were *specifically designed* to fool the customer into thinking that they are actual shake-to-recharge flashlights. The coil and piece of metal serve no purpose other than to deceive. These flashlights have just the bare minimum of parts required to work as a flashlight at all: a white LED, a very simple metal switch, and two CR2025 batteries. The “new generation” marketing-speak is, in a legal sense, referring to chronology and not the source of electrical power.
I recently bought one at a flea market (knowing what it was; I’d seen these before). Here are some photos of the inside. Time permitting, I plan to investigate what is required to convert it to an actual generating flashlight — maybe this summer. I’ll post the results here if I do.

The flashlight in its packaging. Clear, translucent plastic; copper coil; moving “magnet” — looks like a shake flashlight.

I’m not sure what “Jiudu Xiangdi” means. Probably “Gullible Americans.”

The flashlight, removed from the packaging. An observant Electronics geek would be starting to wonder why it has so few turns of copper wire — and whether those two discs just behind the switch were really supercapacitors…

Yes, it actually does at least work as a flashlight. Not well, mind — but it does work. For now.

As Clara Peller would say, “Where’s the beef?”

Nothing up top (the wire snapped off as I disassembled the light. Nice construction)…

…and nothing hidden underneath.

Not only are there not enough turns to make an effective coil…

…the coil isn’t even connected to anything! Star Trek has a word for this: it’s a GNDN!

Power is provided by these two discs –

which are cheap CR2025 nonrechargeable batteries!

Everything about it says “lowest bidder.”

Bottom line: There are thousands of these things out there — maybe millions. Don’t be ripped off.
(One good way to tell if a flashlight is the real deal is to turn it on and observe the brightness for a few seconds, shake it, then look again quickly. If it brightens, it’s probably the real thing.) For what it’s worth, the larger flashlights that I’ve seen in Wal-Mart are genuine. The fakes are usually found at flea markets and antique /variety stores. (The store dealer may very well not know the difference, so he or she isn’t necessarily trying to rip you off.)

Quick iPad review

Friday, April 23rd, 2010

Two of my colleagues from IT and I stopped by the Apple Store today; several faculty members have requested iPads, and we received authorization to get one for ourselves, to become familiar with it. We weren’t able to take delivery today, though. (The Apple sales rep at the store actually said that “because of the demand” it “didn’t make sense to stock product.” I kid you not.)

I’m glad I’m not from Planet Cupertino.

We did, however, get to try the iPad, since they did have a couple dozen or so demonstrator units on display for people to play with. As with everything Apple, there’s a lot of good, but mixed in with some bad and some downright ugly.

First of all, hardware-wise, I think Apple has a winner. Apple’s engineering has nearly always been quite good (we’ll forgive them the original iMac, since they seem to have learned their lesson.) The iPad feels solid and professionally made, while still being light and usable. Apple claims that the battery life is ten hours. I’m guessing that they mean ten hours reading a single page of an eBook with brightness set to minimum and WiFi off — more like four or five hours, the way I’d probably use it.

The good:

  • The display is gorgeous. Bright, crisp, and (mostly) easy to see. The glossy screen does mean that if you’re viewing dark images, you will tend to see a distinct reflection, which hurts the experience. It’s generally pretty dark in my Geek Cave, though, so this isn’t a big deal.
  • It has an accelerometer, and puts it to good use just like the iPhone does; most apps will rotate around to follow the way the iPad is being held, switching smoothly from portrait to landscape mode and back within a few seconds. The demonstrators at the Apple Store included a really fun ball-in-the-maze game, complete with all kinds of obstacles and puzzles only possible in a computer game.
  • Pinch-zoom and scroll are generally very snappy; the Google-powered Maps app that it comes with makes a great demonstration. Whatever Apple has under the hood, it gets the job done nicely.
  • As with most Apple offerings these days, it feels like a solid, quality product. Apple’s hardware engineers do tend to “do it right.”

Some drawbacks:

  • 3G isn’t available until a few weeks from now; the iPads available now (well, “now” being “in a few business days since we at the Apple store can’t be bothered to stock product”) are WiFi-only.
  • There’s no real keyboard (unless perhaps a Bluetooth one will work), and the onscreen keyboard is about on par with the iPhone’s — that is to say, slightly south of a “meh” in my book. I had expected faster, more accurate response, especially since there is so much more screen real estate to work with.
  • As mentioned above, the screen is glossy and therefore very reflective. This made it difficult to see at times, when darker content was being viewed. (The environment was the Apple Store, lit similarly to a modern office.)
  • The sound was just barely audible in the (admittedly somewhat noisy) store. The (very cool if a bit unresponsive) Piano app that I tried (a great use of multitouch if I ever saw one) was very difficult to hear, even with the app and system volume controls set to max.
  • It runs Apple iPhone OS. This does make it easy and fairly intuitive to use, but to someone used to “real” computers (Linux, and even Windows), it has the distinct Apple mindset of “you’re-not-supposed-to-be-using-this-for-things-that-Apple-doesn’t-want-you-to.”
  • It’s too big to put in your pocket — even in cargo pants. Size-wise, it’s definitely in netbook territory, only a lot thinner.
  • The screen could possibly be a bit larger (but that’s personal preference). This would allow more touchscreen apps like a full-size, playable piano, or a much easier-to-use onscreen keyboard.

Showstoppers (for me):

  • The Apple-way-or-no-way-at-all groupthink is in full force here. I was curious as to how well the iPad would work as a Remote Desktop client, and tried downloading a free RD client from the App Store. Unfortunately, you need to register with Apple, even to download free content. Contrast this with Linux or Windows, where you can download a tarball, zipfile, msi or exe installer, or Linux installation package of your choice from anywhere, anonymously. Registering shouldn’t even be required for payware content (other than to pay the developer) — let alone for free apps.
  • The lack of a keyboard would relegate the iPad to use as a eBook reader (which it admittedly is great at), casual game device (which it does okay at, especially with the accelerometer), and/or map device (which it also is great at.) Unless it were an emergency, though, I wouldn’t want to write code, documents, or emails, on it. Typing anything more than a very occasional search phrase was very aggravating (even typing in an address into the Maps app was painfully slow compared to using a real keyboard.)
  • The iPhone OS means, to me, that it isn’t a “real” computer — and therefore could never replace a laptop. If I had a laptop with me, I just don’t see using an iPad all that much.
  • Most importantly, Apple hasn’t seen fit to change their totalitarian ways. Guys, you build some awesome hardware — if the iPad ran Linux, I would seriously consider buying one at some point. By all means, make it available as it is with the iPhone OS or any other proprietary OS — but throw us hardcore geeks a bone and make a Linux distro for it (with proprietary hardware drivers, if you must.)

Finally, an idea — why not make a portable docking station for the iPad — where it could be used as a semi-intelligent monitor for a laptop platform, detachable to work on its own as a slate computer when needed? You would have the functionality of a netbook with a great touchscreen display, with the ability to disconnect it and use it as a native iPad whenever you wanted? This would seem to be the ideal way to bridge both worlds.

Windows 7

Monday, March 15th, 2010

A few weeks ago, I finally decided to try Windows 7. Not being the trusting sort, I got a second hard drive (okay, fourth, but whatever) and installed Win7 alongside XP. Having heard mixed reviews of it, I wasn’t sure what to expect: I had heard that it was like Vista (not a good thing), but that they had fixed a lot of the bugs (good), but that maybe they had added DRM (always bad.) I hate the direction they’re going with the ribbon interface, and so I was worried about how that would influence the GUI, on top of everything else.

So far, so good, though — it looks like this one’s a keeper! Here are the benefits that I’ve seen so far, in rough order of their importance to me:


THE GOOD:

  • It’s 64-bit (at least that’s what I installed). I’m running a Core i7 now, and even though I’m only at 3GB of memory, it’s time to get the 32-bit barrier out of the way. So far, though, Win7 has done a great job of seamlessly merging 32-bit and 64-bit apps. It’s more-or-less run almost everything I’ve thrown at it nicely so far, from Flight Sim X to MS Office to Firefox to the various FreeBASIC apps I mess around with. Yeah, I know there’s a 64-bit version of XP, too — but I’ve heard that finding the right drivers for it can be a nightmare.
  • It seems very stable, at least so far — even with an almost-1GHz overclock. Sweet.
  • It still has Remote Desktop access support. (A good thing; if not, it would not stay installed for long.)
  • It has the new Math Input Panel! Draw math equations in freehand and they become nicely-formatted, professional-looking equations, complete with all of the symbols I’ve ever seen and a lot that I swear were developed by an advanced alien civilization. I gotta get a drawing pad! Very nice addition, MS.

  • They added a sweet Mahjongg-solitaire game. So much for actually learning more math or doing anything else productive at home. Oh, well.
  • Minesweeper got a major facelift: the squares now scale along with the window and have all kinds of cool 3D effects.

  • Freecell and Solitaire now scale intelligently, too.
  • It seems to have excellent driver support. For instance: I plugged in my Panasonic MiniDV camcorder to the FireWire interface, and Windows figured out what it was automagically. A small thing, but very slick.

    (Incidentally, it seems to have “semi-automatic” driver installation, for some devices. It didn’t automatically install a driver for my USB-to-RS232 adapter, but it *did* find the right driver on the Prolific website, and point me to it, so I could manually download, extract, and install it. Oookaaay.)

THE INDIFFERENT:

  • Win7 seems to think in terms of “libraries.” So do I, ‘cept I prefer to do the organizing myself. I may yet grow to like it, though, since this approach does give it the ability to sort/search things like my mp3 collection various ways (by artist, by genre, by year, etc). This is OK, since Windows doesn’t insist that you use this functionality.
  • The “Aero Glass” interface. I suppose it will grow on me — and I suppose it gives the GPUs something to do when I’m not running FSX or playing Oblivion.
  • Some of the games from the King’s Quest Collection don’t want to work correctly, at least not yet. (However, they are over twenty years old, so I think I’ll cut Windows some slack on this one.)
  • Same ol’ Notepad. Good to see Hell still hasn’t frozen over. <g>

THE UGLY (or at least annoying):

  • Where did my right-click-to-search option go, MS? I know you can search from the start menu now, but no breaking existing functionality, guys. Party foul.
  • Why is the show-the-desktop button all the way on the lower right? I’ve had it set up on the Quick Launch bar next to the Start button since the first Clinton administration. Grr.
  • Task Manager now has a “services” tag? Uh oh. Note to self: do not install Win7 at folks’ place without a LONG explanation of why you do not touch this. It’s bad enough they learned how to kill processes. A little knowledge can be a dangerous thing, when you (the family IT geek) live several hundred miles away. Yeah, it’s kind of handy to have on my own box — I figure it’ll save me ten or twenty seconds every so often. Maybe. Better would to have made it an optional customization, turned off for the Muggles. But then, the same goes for the Process list.
  • Sound Recorder has become even more of a joke than it previously was. Time was, it could change formats, record, playback, etc. Now, it can record, resume, and save. That’s it. No format selection (WMA; who-knows-what sample rate, number of channels, and resolution.) Good thing we have Audacity.
  • Paint and WordPad have been infected with the Ribbon interface. BOO.

iDont, or Why The iPhone Is Evil

Monday, March 15th, 2010

Tim Bray has been hired by Google as a “Developer Advocate.” On his personal blog, he describes what this means and why he is excited to have the job. It’s a good read, and definitely recommended. In particular, his take on the iPhone is dead-on: it’s not good for developers, definitely not good for the Web, and not even good for consumers, in the long run. Here is his explanation (excerpted from his blog post) of why the Android is better than the iPhone:

The iPhone vision of the mobile Internet’s future omits controversy, sex, and freedom, but includes strict limits on who can know what and who can say what. It’s a sterile Disney-fied walled garden surrounded by sharp-toothed lawyers. The people who create the apps serve at the landlord’s pleasure and fear his anger.

I hate it.

I hate it even though the iPhone hardware and software are great, because freedom’s not just another word for anything, nor is it an optional ingredient.

The big thing about the Web isn’t the technology, it’s that it’s the first-ever platform without a vendor (credit for first pointing this out goes to Dave Winer). From that follows almost everything that matters, and it matters a lot now, to a huge number of people. It’s the only kind of platform I want to help build.

Apple apparently thinks you can have the benefits of the Internet while at the same time controlling what programs can be run and what parts of the stack can be accessed and what developers can say to each other.

I think they’re wrong and see this job as a chance to help prove it.

Amen, Brother Bray. Google may or may not be able to keep evil out completely, but they’ve obviously made a good hire. Go get ‘em.

Prius cruise control problems?

Thursday, February 11th, 2010

As an embedded enthusiast, I’ll admit I’ve been a little skeptical about the recent complaints about spontaneous acceleration problems on the Toyota Prius. I don’t have one myself (can’t afford anything that new yet), but I’ve been impressed by the ideas behind the design. The “spontaneous acceleration” complaints sounded to me more like either people’s imagination running away with them, people who don’t understand their cars and/or can’t drive, or people looking for a quick buck or cheap publicity out of all of this.

This changes my opinion. If Steve Wozniak, who owns a Prius, says that he’s experienced problems with the cruise control system causing uncommanded acceleration, I believe him. This guy designed the original Apple computer system way back when, and truly understands digital electronics. He also has nothing to gain from badmouthing Toyota, and being a typical engineer, has never been one to look for publicity (unlike that “other” Steve.) He’s just an engineer who noticed an important problem and is trying to help get it solved. (Good for you, Woz.)

I hope Toyota is taking these reports seriously, and comes up with a good, solid fix for them. Were it me, I would suggest a paleo-tech solution: Install a hardwired killswitch which cuts power to the electric propulsion and forces the transmission into Neutral. (The engine *does* already have an RPM defenser, yes?)

Hopefully Toyota can solve the problem and get this behind them. They have done a lot to popularize hybrid cars (and fuel efficiency in general); I would hate for such a good idea to get more bad press just because of some engineering glitches which should have been caught long ago.

Data.gov

Saturday, January 23rd, 2010

This looks interesting: the US Federal Government has released some 300 data sets to the public via Data.Gov.

They say sunshine is the best disinfectant; making as much data as possible as public as possible sounds like a great idea to me.

Windows 7

Friday, January 9th, 2009

What could the newly-released beta of Windows 7 have to do with paleotechnology, you ask? It has everything to do with it, when good ol’ DOS is looking better and better all the time!

I don’t know about you, but the following disclaimer on the Windows 7 download page bothers me. The emphasis is mine; the apocalyptic language is all Micro$oft’s…

To protect your MP3 files
1. Before you install this Beta release, back up all MP3 files that might be accessed by the computer, including those on removable media or network shares.
2. Install the Beta release of Windows 7; download and install the Update to Windows 7 Beta (KB961367) located on this page.

I think I just got inspired to try out Linux as a desktop OS this weekend. No OS — and no application — should ever consider itself as the be-all and end-all music file Gestapo. This is exactly what I don’t like about iTunes/iPod (and to be fair, similar features in Windows Media Player; I’m an equal-opportunity curmudgeon.) Data (be it text, graphics, mp3s, presentations, whatever) should be in as open a format as possible. This is why mp3s are so popular in the first place.

Whatever prompted Microsoft to issue such a worrisome disclaimer about mp3 files (and not hide it deep in the EULA-that-nobody-ever-reads) has got to be bad. What does it do, automatically collect all mp3s it can find into a WMP library and “thoughtfully” convert them to WMA for the user’s “convenience??”

Be afraid. Be very afraid.

Nothing but ‘Net

Friday, May 9th, 2008

OK; I’m going to have to turn in my Paleotechnologist Card — or at least cross out the “Paleo” part — but this is pretty cool. I’m on the Amtrak, connected to the ‘Net via Internet sharing on my HTC Mogul — connected via Bluetooth PAN. Cool, especially using this connection to access my desktop back in PHL via Remote Desktop.

It seems to me that devices like the Mogul are the first of a new class of device. With connectivity via cell, WiFi, and Bluetooth, in addition to USB etc, it can handle cell phone calls, the usual Internet functions (POP, SMTP, HTTP, SSH, FTP yada yada) — and can also act as a router/NAT proxy. Not bad for a pocket-size gizmo.

Now if they could only improve the battery life. I wonder if it’ll make it to FBG?

Edit: Nope. The battery gave up just past Washington. It was fun while it lasted, though.