Thursday, January 2, 2014

Open Source References

Here is a collection of resources and references used in my presentation, "An Open Source Introduction: In Your Products, and In Your Office":




 "Tux", the official mascot of the Open-Source Linux operating system kernel.  Used here by permission of Larry Ewing, who drew it with the Open Source GNU Image Manipulation Program (GIMP).






View or download "An Open Source Introduction: In Your Products, and In Your Office"<pending>.

News


The Navy's newest warship is powered by Linux
http://arstechnica.com/information-technology/2013/10/the-navys-newest-warship-is-powered-by-linux/

Captain James A. Kirk official Navy biography
http://www.public.navy.mil/surfor/ddg1000/Pages/bio1.aspx#.UncDiFQqORs

International Space Station adopts Debian Linux, drops Windows & Red Hat into airlock
http://www.computerweekly.com/blogs/open-source-insider/2013/05/international-space-station-adopts-debian-linux-drop-windows-red-hat-into-airlock.html

International Space Station switches from Windows to Linux, for improved reliability
http://www.extremetech.com/extreme/155392-international-space-station-switches-from-windows-to-linux-for-improved-reliability

International Space Station attacked by ‘virus epidemics’
http://www.theguardian.com/technology/2013/nov/12/international-space-station-virus-epidemics-malware

Cisco-threatening open switch coming from Facebook, Intel, and Broadcom
http://arstechnica.com/information-technology/2013/11/cisco-threatening-open-switch-coming-from-facebook-intel-and-broadcom/


Open Source Advocates & Organizations


Free Software Foundation
http://www.fsf.org/

The GNU Operating System
http://www.gnu.org/

GNU's GPL License FAQ
http://www.gnu.org/licenses/gpl-faq.html

GNU's list of licenses
http://www.gnu.org/licenses/licenses.html
http://www.gnu.org/licenses/license-list.html

GNU's "What is Copyleft?"
http://www.gnu.org/copyleft/copyleft.html

Open Source Initiative
http://opensource.org/

Open Source Initiative FAQ
http://opensource.org/faq

Open Source Initiative's list of licenses
http://opensource.org/licenses

Red Hat Community's "Opensource.com"
http://opensource.com/

Creative Commons: Advocates for sharing of Intellectual Property, according to creators' wishes.  Provides a variety of licenses.
http://us.creativecommons.org/


Cited Open Source Applications


Stellarium
http://www.stellarium.org/

Firefox (Mozilla)
http://www.mozilla.org/en-US/firefox/new/

LibreOffice
http://www.libreoffice.org/

GNU Image Manipulation Program (GIMP)
http://www.gimp.org/

Octave
http://www.gnu.org/software/octave/

Audacity
http://audacity.sourceforge.net


Cited Complete Distributions


Fedora
http://fedoraproject.org/

Ubuntu
http://www.ubuntu.com/

OpenSUSE
http://www.opensuse.org/


Find Complete Distributions and Applications


DistroWatch: News and Information on Complete Distributions
http://distrowatch.com/

"Top Ten" Distributions on DistroWatch
http://distrowatch.com/dwres.php?resource=major

Applications: Ubuntu Community's "best of" list
https://help.ubuntu.com/community/ListOfOpenSourcePrograms

Wikipedia's FOSS Application Index (huge)
http://en.wikipedia.org/wiki/List_of_free_and_open-source_software_packages

Another big list of FOSS applications
http://freeopensourcesoftware.org/index.php?title=Applications

The Free Software Directory
http://directory.fsf.org/wiki/Main_Page



Monday, December 16, 2013

Are You Still Using Windows XP?

Are you still using Windows XP?  How about Microsoft Office 2003?  The clock is ticking.  Both products go end-of-life on April 8, 2014.




The Threat


After April 8, 2014, neither product will receive updates from Microsoft.  That means no more bug fixes, and no more security updates.  Both products will keep working; you can continue using them as before.  But you will be increasingly vulnerable to malware and attacks from the Internet.

There are still plenty of Windows XP users on the Internet today.  There will likely still be plenty after April 8: Windows XP will still be a rewarding target for the bad guys (malware authors and distributors).

It might even become a more attractive target than it is today.  Since new exploits won't be patched during Microsoft's regular monthly cycle, a compromised machine will stay compromised.  It's likely that the bad guys will even examine patches for later versions of Windows to see if a comparable exploit exists for Windows XP.

I know that I don't want to be using Windows XP online past the end-of-life date.  Office 2003?  Well, maybe.  Microsoft Office isn't quite as exposed to Internet threats as is Windows.


Take Action


Don't just stand there, do something!  But what?  You have a bunch of options:

Replace everything: Buy a new computer, with Windows 7 or Windows 8, and the latest version of Microsoft Office.  Your Windows XP computer is likely getting old, anyway, and might not be suitable for the latest software.  If enough people do this, it could become a modest economic stimulus.

If you are so inclined, this is an opportunity to try Apple products.  (I make no recommendation, one way or the other.)

Upgrade software only: If your Windows XP machine is newer, or has had some substantial upgrades, it might be worth keeping the hardware.  You could purchase and install Windows 7 or 8, and the latest version of Microsoft Office.  Upgrading an older machine with a retail-purchased Windows release isn't the easiest thing in the world to do, though.

You could save some money, albeit with some added risk, by upgrading the operating system to Windows 7, and re-installing your copy of Office 2003 (assuming that your license permits it).  Office 2003 will run under Windows 7, but not Windows 8.

Work disconnected: Your old Windows XP machine will be perfectly safe to use if you disconnect it from the Internet.  That's not so crazy an idea.  For many of us, our online lives have moved from PCs to phones and tablets.  Perhaps you use a traditional PC only for word processing or spreadsheets.

Do nothing: Bury your head in the sand, and keep using your Windows XP system beyond end-of-life.  It will soon be compromised by malware, and become part of a botnet.  You'll likely become the victim of identity theft.  No, I don't think that's a very good alternative, either.


Afterward


If you do buy a whole new computer, you'll have to dispose of the old one.  Don't be too quick to set it out by the curb or take it to a recycling center.  There are two things you should do first.

Wipe the hard drive: You've got a lot of confidential data on that hard drive.  Assuming that the computer still works, I'll recommend that you wipe it with a product like DBAN (Darik's Boot and Nuke).  Even if you intend to remove the hard drive and physically destroy it, do a software wipe first.

Cleaning a computer for disposal is a topic for another article.

Consider donating the computer:  Even an old Windows XP computer can have a second life.  It may not be powerful enough for newer versions of Windows, but there are plenty of Linux-based operating system distributions that might work.  Perhaps you could give the (cleaned) computer to an organization that can prepare it for a low-income family to help bridge the digital divide.

 -- Joe Levy

Monday, November 18, 2013

Can Magnets Hurt Your Electronics? (contains "Breaking Bad" spoilers)

Spoiler Alert

In this article, I make references to AMC's Breaking Bad, Season 5, Episodes 1 and 2.  If that's a problem for you, I have a spoiler free version here.

Article Continues, With Spoilers

On AMC's Breaking Bad, (Season 5, Episode 1, Live Free or Die), Walt and Jesse rigged a monster electromagnet to wipe a laptop from a distance.  It made for great television, but just how realistic was it?  More to the point, are the magnets you're likely to encounter in real life a hazard to the electronics you carry around with you?

The Short Answer: Your credit / debit cards (with a stripe on the back) can be damaged by magnets.  Don't hold one to the fridge with a magnet.  Everything else you've got is pretty safe.

Changes In Personal Information Storage

Not too long ago, we would store our digital data on diskettes, or even floppy disks.  Our music lived on cassette tapes, and our videos on VHS video cassettes (both analog).  These formats had one thing in common: magnetic media.  A thin layer of sensitive material was applied to an inert substrate.  Analog or digital data was recorded by passing the media over an electromagnetic recording head.  Playback was accomplished by a subsequent pass over the same head, with some electronic changes.  You can read more about that here, on Wikipedia and here, on Britannica.

But what can be recorded by a magnetic field can also be erased by a magnetic field.  Careless handling of media and magnets might add hiss to a cassette tape, or make a diskette unreadable.

We don't use much magnetic media anymore.  DVDs and CDs are optical storage devices.  "Flash" drives, music players, cameras and smart phones all use solid state storage.  Optical storage isn't recorded with a magnetic field, and can't be erased by one.  The same goes for solid state storage.

What Makes Hard Drives Different

How about computer hard drives?  Most still use magnetic media.  Can a hard drive be zapped by a magnetic field?

The truth is that computer hard drives are close to magnetic fields all the time.  There are magnets in the motor that spins the drive, and magnets in the motor that moves the drive heads.  Any wire carrying a current generates a magnetic field: the inside of a computer, laptop or desktop, is just full of magnetic fields.

So, why don't computer hard drives erase themselves?  They are designed with this environment in mind.  The internal drive motors isolate their own magnetic fields.  The spinning disks themselves are contained in a metal enclosure that shields them from external magnetic fields.

There's a bit of a happy accident at work, too.  Modern hard drives can hold astounding volumes of data, yet they are no larger than they used to be.  How is that possible?  One way is to make the individual data bits smaller, and pack them more tightly together.  But that presents a risk of adjacent bits bleeding onto each other.  So, high capacity hard drives use magnetic compounds that are actually more resistant to magnetization than older, lower capacity drives.  That means they are more resistant to being demagnetized, as well.  They still work because the read / write heads are incredibly close to the spinning disks: far closer than the diameter of a human hair.  They have to be that close to write to the magnetic media and to detect those changes when reading data.

A Visit to Albuquerque: Erasing a Hard Drive From a Distance

Walt and Jesse would have needed a monster magnetic field to get through the shielding, and still present a field strong enough to erase the stubborn patterns on a modern hard drive.  And they had to do it from a distance; perhaps 40 feet.  Their salvage yard electromagnet is powerful enough to pick up a car.  Would it have gotten the job done?

Well, I don't really know.  But I do know that Vince Gilligan is my hero: He put in a scene where Walt and Jesse tested the rig in the salvage yard.  That's what a real engineer or scientist would have done, and that's what Vince had Walt and Jesse do.  The magnet worked on TV; would it have worked in real life?  How far does the field from an electromagnet travel?

The light from a laser can travel a great distance while losing very little power.  Ditto for the light from a well-focused Lekolite (theatrical spotlight).  But most energy fields lose strength and the ability to do work exponentially with distance from the source.  Double the distance, you measure 1/4 the field strength.  Triple the distance, you measure 1/9 the field strength.  (There won't be any more math in this article.)

You can try this at home:  Take a magnet off of your refrigerator.  Slowly bring it back, closer and closer.  You won't feel any pull from the magnet until you get very close to the fridge: half an inch, or an inch at the most.  Hold a compass in your other hand, and you can see that the magnet will deflect the needle from north at a greater distance. 
The field actually goes out to infinity, but is too weak to do any work beyond a few inches.  And it's a long way from deflecting a compass needle to erasing a hard drive.
 

Magnetic lines of force travel between the two poles of a magnet.  Field strength will be at its strongest between those two poles, and falls off fast with distance.  In the salvage yard electromagnet, one pole is at the center of the drum; the other pole is the outer rim of the drum.  To lift a car, the crane operator puts the magnet in contact with the car roof.  Look at some pictures of this kind of magnet lifting smaller pieces of scrap:



There's almost no lifting strength beyond the diameter of the magnet (five or six feet).

Even with the voltage juiced up, would that magnet be able to reach out 40 feet (eight times its diameter), through the shielding in a modern hard drive, and wipe the magnetic media within?  I have not run the experiment (and don't plan to).  Absent real data, I shouldn't make a firm prediction.  But I'll admit to an experience-driven bias that it would not have worked at that range.

Back to Real Life

The strongest magnetic field that you're likely to encounter close-up might come from an old-style CRT television or computer monitor.  You can operate such a monitor right next to or on top of a desktop computer for years and years, and never see the monitor's magnetic field damage the hard drive.  Many monitors have a feature that you can activate to erase residual magnetic fields within the monitor.  This operation, called "degaussing", generates a rather strong field of its own for a second or so.  Even that won't zap the hard drive.
 

The hard drive in your laptop is safe enough from the magnetic fields you're likely to encounter.  Even if a criminal genius is trying to wipe your files.  The flash memory in your camera, cell phone, tablet and portable storage devices were never vulnerable in the first place.  Your CDs and DVDs are likewise safe.

The magnetic stripes on your credit and debit cards are vulnerable.  But, the way magnetic field strength falls off with distance, you really have to do something like sticking it to your fridge with a magnet to damage one.

If you've still got precious family memories on videocassette: well, you should transfer them to DVD while it's still possible to find a videocassette player.  In the meantime, keep them in a steel file cabinet, in a climate controlled area, and away from electronic devices.  Even weak magnetic fields, when present for year after year, will produce some deterioration in their analog signal patterns.

Magnetic Fields That You're Not Likely To Encounter

I can't end this article without saying that the magnetic field within a hospital's MRI machine is strong enough to damage your electronics, either by erasing the hard drive, or by inducing damaging eddy currents in the metal components of any of your gadgets.  There's good reason that hospital staff don't let you bring metal or electronics anywhere near such a machine.


One Last Breaking Bad Reference

It's never made clear whether Walt's salvage yard electromagnet did the job.  In the next episode (Madrigal), Hank says that he had looked at the laptop before checking it into the evidence room, and found that it had been encrypted.  Well, yeah.  As disciplined as Gus was, as smart as Mike was, one of them would have thought of doing that.  Mike was Gus' security guy; he surely would have known about the encryption.  He probably installed it himself, perhaps with a product like TrueCrypt.  Did he not tell Walt and Jesse about the encryption?  Why?  Mike was the kind of guy who never revealed everything he knew.  Or, perhaps he didn't trust the encryption.  I like TrueCrypt, but, after reading so many stories about NSA "backdoors" in various products and services, I'm a little less confident in it than I used to be.

Breaking Bad fans, what do you think?


-- Joe Levy
Next article: Are You Still Using Windows XP?

 

Can Magnets Hurt Your Electronics? (no "Breaking Bad" spoilers)

No Spoiler Alert

Fans of AMC's Breaking Bad who have seen Season 5, Episodes 1 and 2 might prefer the full version of this article, here.  This is the "no spoilers" version.

Article Continues, No Spoilers

Are the magnets you're likely to encounter in real life a hazard to the electronics you carry around with you?

The Short Answer: Your credit / debit cards (with a stripe on the back) can be damaged by magnets.  Don't hold one to the fridge with a magnet.  Everything else you've got is pretty safe.

Changes In Personal Information Storage

Not too long ago, we would store our digital data on diskettes, or even floppy disks.  Our music lived on cassette tapes, and our videos on VHS video cassettes (both analog).  These formats had one thing in common: magnetic media.  A thin layer of sensitive material was applied to an inert substrate.  Analog or digital data was recorded by passing the media over an electromagnetic recording head.  Playback was accomplished by a subsequent pass over the same head, with some electronic changes.  You can read more about that here, on Wikipedia and here, on Britannica.

But what can be recorded by a magnetic field can also be erased by a magnetic field.  Careless handling of media and magnets might add hiss to a cassette tape, or make a diskette unreadable.

We don't use much magnetic media anymore.  DVDs and CDs are optical storage devices.  "Flash" drives, music players, cameras and smart phones all use solid state storage.  Optical storage isn't recorded with a magnetic field, and can't be erased by one.  The same goes for solid state storage.

What Makes Hard Drives Different

How about computer hard drives?  Most still use magnetic media.  Can a hard drive be zapped by a magnetic field?

The truth is that computer hard drives are close to magnetic fields all the time.  There are magnets in the motor that spins the drive, and magnets in the motor that moves the drive heads.  Any wire carrying a current generates a magnetic field: the inside of a computer, laptop or desktop, is just full of magnetic fields.

So, why don't computer hard drives erase themselves?  They are designed with this environment in mind.  The internal drive motors isolate their own magnetic fields.  The spinning disks themselves are contained in a metal enclosure that shields them from external magnetic fields.

There's a bit of a happy accident at work, too.  Modern hard drives can hold astounding volumes of data, yet they are no larger than they used to be.  How is that possible?  One way is to make the individual data bits smaller, and pack them more tightly together.  But that presents a risk of adjacent bits bleeding onto each other.  So, high capacity hard drives use magnetic compounds that are actually more resistant to magnetization than older, lower capacity drives.  That means they are more resistant to being demagnetized, as well.  They still work because the read / write heads are incredibly close to the spinning disks: far closer than the diameter of a human hair.  They have to be that close to write to the magnetic media and to detect those changes when reading data.

Strong Magnetic Fields: Erasing a Hard Drive From a Distance

There are magnetic fields around us 24 / 7.  Every AC adapter "brick" or "wall wort" charger generates a magnetic field.  Every desk lamp, portable fan, or table radio generates a magnetic field.  Are these fields dangerous to your laptop?

The light from a laser can travel a great distance while losing very little power.  Ditto for the light from a well-focused Lekolite (theatrical spotlight).  But most energy fields lose strength and the ability to do work exponentially with distance from the source.  Double the distance, you measure 1/4 the field strength.  Triple the distance, you measure 1/9 the field strength.  (There won't be any more math in this article.)

You can try this at home:  Take a magnet off of your refrigerator.  Slowly bring it back, closer and closer.  You won't feel any pull from the magnet until you get very close to the fridge: half an inch, or an inch at the most.  Hold a compass in your other hand, and you can see that the magnet will deflect the needle from north at a greater distance. 
The field actually goes out to infinity, but is too weak to do any work beyond a few inches.  And it's a long way from deflecting a compass needle to erasing a hard drive.
 

Magnetic lines of force travel between the two poles of a magnet.  Field strength will be at its strongest between those two poles, and falls off fast with distance.  To get a laptop inside of a really strong magnetic field, you'd have to get it between the poles of a magnet.  There just aren't that many ways to do that in real life.

The strongest magnetic field that you're likely to encounter close-up might come from an old-style CRT television or computer monitor.  You can operate such a monitor right next to or on top of a desktop computer for years and years, and never see the monitor's magnetic field damage the hard drive.  Many monitors have a feature that you can activate to erase residual magnetic fields within the monitor.  This operation, called "degaussing", generates a rather strong field of its own for a second or so.  Even that won't zap the hard drive.
 

The hard drive in your laptop is safe enough from the magnetic fields you're likely to encounter.  The flash memory in your camera, cell phone, tablet and portable storage devices were never vulnerable in the first place.  Your CDs and DVDs are likewise safe.

The magnetic stripes on your credit and debit cards are vulnerable.  But, the way magnetic field strength falls off with distance, you really have to do something like sticking it to your fridge with a magnet to damage one.

If you've still got precious family memories on videocassette: well, you should transfer them to DVD while it's still possible to find a videocassette player.  In the meantime, keep them in a steel file cabinet, in a climate controlled area, and away from electronic devices.  Even weak magnetic fields, when present for year after year, will produce some deterioration in their analog signal patterns.

Magnetic Fields That You're Not Likely To Encounter

I can't end this article without saying that the magnetic field within a hospital's MRI machine is strong enough to damage your electronics, either by erasing the hard drive, or by inducing damaging eddy currents in the metal components of any of your gadgets.  There's good reason that hospital staff don't let you bring metal or electronics anywhere near such a machine.


-- Joe Levy
Next article: Are You Still Using Windows XP?

Wednesday, October 23, 2013

Charging Batteries Isn't That Hard

Confused about how, and how often, to recharge your gadgets' batteries? It's not as big a deal as some people make it out to be. Read on, and I'll dispose of the clutter.

Myths, Urban Legends, and Truths

Some people consider a failure to practice good "battery hygiene" to be akin to neglecting your teeth.  You may have heard some of this advice about how to get the most out of your newest gadget's rechargeable batteries:
  • Always run your battery almost dead before you recharge it
  • Never just partially charge your battery
  • Never let your battery run all the way down
  • Never overcharge your battery
  • Always unplug your charger as soon as your battery is full
  • Run your battery way down and recharge if fully once a month
  • Charge your battery whenever you can
  • Remove your laptop battery pack if you are using your laptop on AC power

The Short Answer: You can ignore all but the last two of those rules.  And it won't make that much difference if you ignore those, too.

A Closer Look: Not All Batteries Are The Same

Over the years, electrochemical scientists have given us an assortment of rechargeable battery technologies.  Popular ones have names like:
  • Lead Acid
  • Nickel Cadmium
  • Nickel Metal Hydride
  • Lithium Ion (and Lithium Polymer)

Lead-acid batteries are cheap and reliable.  You've got one in your (gasoline fueled) car.  But

Monday, October 21, 2013

Welcome, and About the Author

Hello, and welcome to my blog.  My name is Joe Levy.  Family lore has it that the first complete sentence out of my mouth was "How does it work?".  I've spent my life answering that question, and doing interesting and useful things with technology.  I've been a computer programmer since childhood, and I'm an Electrical Engineer by training.  Nowadays, I work to bridge the gap between the people who build products, and the people who use them.  I believe that the most successful products hide the technology from their users, but those folks who make the effort to understand a little about the technology can make better use of it.

Talking to people, I find a lot of misconceptions about how things work, and a lot of adherence to obsolete truths, or just plain myths and urban legends.  I'll be exploring these as best as I can, and show how knowing what's really going on can make your life a little easier, better, or at least save you a bit of money.