Monday, March 16, 2009
iPods and Ubuntu Linux: Yes, you can!
I don't mean Apple products. Macs are a bit pricey, but they're very reliable. OS X isn't my cup of tea, but it's a solid and attractive OS. And the iPod set a standard for mp3 players that its competitors are still struggling to meet.
No, when I say "Apple sucks", I mean Apple, the company. And why, you ask, do I say this even though I freely admit that I like its products? Because Apple, even more than Microsoft, likes to lock you into using their products by making them interdependent on each other and incompatible with other hardware and software. The iPod is an excellent example. You can't just use any file manager to add or remove files from your iPod, as is the case with most other mp3 players. You have to use a program specifically designed to work with iPods, which typically means iTunes. You can use other programs, of course, but because of Apple's secrecy when it comes to interfacing with the iPod, few of them come close to matching the functionality of iTunes. Unfortunately for Linux users, Apple hasn't seen fit to release a Linux version of iTunes. So it's a good thing we have gtkpod. (Ubuntu users can install it by clicking this link.) According to Wikipedia's comparison of iPod managers, gtkpod is the only such application that matches the features of iTunes when it comes to managing your iPod — except possibly for a Java application called MediaChest which I was hesitant to try because of its unimpressive website that uses a Java applet that failed to run in my browser. (Oh, the irony.)
In keeping with the Linux philosophy of doing one thing and doing it well, gtkpod isn't fancy. It doesn't play music or videos, display photos, or manage your media library. It doesn't rip songs from CDs or transcode movies to an iPod-playable format. It just manages the files on your iPod. So if you use Linux and want to rip songs from a CD, complete with album art, to add to your iPod, then you need a couple of other programs.
First of all, you need an application for ripping CDs. A number of such apps are available, but the simplest is Sound-Juicer. (Ubuntu users can install Sound Juicer by clicking this link.) You might want to change some of the preferences as far as where and how songs are ripped, but the basic operation is extremely simple: insert a CD and click "Extract".
Of course, it would be nice to include album art for the mp3s you want to put on your iPod, so you have something nice to look at when browsing your music using Cover Flow. For that, we need another separate but incredibly simple application called Album Cover Art Downloader. This program pulls album cover art from any of several websites including Amazon and Yahoo, and like Sound Juicer, it's operation is exceedingly simple. Just select the mp3 files to which you want to add cover art, and click the download arrow.
Now that you have a number of mp3s with cover art, open gtkpod and plug in your iPod. The program will automatically detect your iPod. To add files to the iPod, simply make sure you have your iPod selected in the left pane, click the large "Add Files" or "Add Folder" button, and after you've selected the files to be added, click the large "Save Changes" button. Unlike some other iPod managers, gtkpod is equally capable of adding videos and photos to your iPod.
And if you're interested in converting DVDs or video files to play on your iPod, Handbrake is your new best friend. Ubuntu users can get the latest version by adding the Handbrake PPA to your Software Sources, and you'll probably want to install the unstripped versions of the ffmpeg libraries as well.
Another great idea from Microsoft...
Noise Could Mask Web Searchers' IDs
New Scientist (03/07/09) Marks, Paul
Microsoft researchers say that adding noise to search engine records could protect Web users' identities, and that implementing such a technique would be a major step toward provable privacy. Records of Web searches are extremely useful to software engineers looking to improve search technology, and can provide valuable insight for scientists exploring digital search behaviors. However, attempts to make search data anonymous have been mostly unsuccessful. Microsoft researchers Krishnaram Kenthapadi, Nina Mishra, Alex Ntoulas, and Aleksandra Korolova say they have developed a safe way to release search data. The researchers propose publishing data associated only with the most popular queries, so that specific, rarely performed searches, such as for individual names or unique interests, cannot be used to identify people. The researchers also inserted noise into the data by adding digits to the data's figures. Korolova says that adding the noise gives the data provable privacy, and the amount of noise added defines the level of privacy that can be guaranteed. She says the added noise strikes a balance between guaranteeing privacy and providing useful data sets.
View Full Article
Ok... I'm all for privacy. One of the strengths of the Internet and particularly the World Wide Web has been anonymity in communication. Online, you're not young or old, male or female, white or black or Asian or Hispanic — unless, of course, you want to be. You're your ideas and beliefs, and the anonymity of the Web enables you to express those ideas without prejudice or fear of repercussions in the "real" world (unless you live somewhere like China or North Korea where Internet activity is actively monitored and the free exchange of ideas harshly supressed). Sure, there are always consequences to actions or words, but online those consequences are limited to heated exchanges of ideas and at worst social ostracism from a particular online community.
Because of the hodge-podge of technologies cobbled together to create the current Internet, most of which didn't have security as a priority, we've lost some of that anonymity. Companies and other organizations can glean a disturbing amount of data about our real-world identities and online activities from various sources, including the Web searches mentioned by the article quoted above. Security and privacy certainly need to be concerns in the design of future Internet technologies and our usage of current technologies.
But what is Microsoft's innovative answer to the problem of data mining Web search results? To withhold information and falsify the information provided. Genius!
The first half of this "solution" is nothing but common sense. If data mining of personal information is a problem, then the sources of that information should be particular about what information is provided, and to whom. On the consumer side, we implement this idea by not agreeing to Terms of Service that do not protect our privacy. On the provider side, organizations refuse to publish information that might result in bad press or a decline in customer confidence.
The second half of the so-called solution is profoundly stupid. Records of Web searches can be quite valuable to legitimate research. There's absolutely no point tp publishing these records if they're intentionally falsified. Falsifying the data renders it completely worthless to real research, while making it only somewhat less attractive to those who would use it for less noble applications. You might as well not publish the information at all. So how, exactly, is this a solution?
Way to go, Microsoft. I'm looking forward to your next big idea. By the way, how is that "Life without walls" ad campaign going? Because it seems to me that without walls you don't really need Windows...
Wednesday, February 25, 2009
A Brief History of Time (Battlestar Galactica Style)
Cylons were created by humans on Kobol, and were the 13th tribe that left Kobol for whatever reason everyone else left Kobol, apparently. They've never actually explained exactly what happened on Kobol to prompt the 12 Tribes to leave and form the Colonies. (Maybe the toilet in the cellar backed up. Trust me, something like that makes you want to move out quick.)
The Cylons go to Earth, stay there for quite a while, and forget how to resurrect when they learn how to procreate sexually (and who can really blame them?). They develop their own Centurions, who naturally rebel, and the two sides nuke each other. The Five were warned of the coming apocalypse by messengers or "angels" only they could see or hear (which sound remarkably like Head Six and Head Baltar). The Five manage to escape at the last minute (actually a little after that) by having rediscovered resurrection technology.
Earth is now uninhabitable, so they head out to find out what happened to the other 12 Tribes, and warn them of the dangers of creating a slave race. Unfortunately, because they lack FTL drives and have to take the scenic route (which takes about 2000 years, though it seemed shorter to them because they were going really fast, which actually makes sense it you ask Einstein), they arrive just a little too late, as the Colonies have already developed their own Centurions, who naturally rebelled (as Centurions are wont to do).
In an attempt to end the First Cylon War -- which at the time was obviously known as merely The Cylon War, or possibly the Great Cylon War, or maybe even the Cylon War to End All Cylon Wars... wait, where was I? Oh, right -- the Five make a deal with the Centurions: "Stop the fighting, and we'll help you make humanoid Cylons like us, which you've been attempting unsuccessfully with the ship hybrids". So the Centurions end the war, and the Eight humanoid Cylon models are developed.
Except that now the Ones (a.k.a. Cavil, a.k.a. John) think mommy Ellen is playing favorites, and kills his brother Abel... er, I mean Daniel. So now there are only 7 humanoid models, rather than 8, except that there are really 12 (instead of 13) if you count the Five.
Following along so far? Oh, well don't worry. You can go back and re-read it later. Continuing right along...
John/Cavil/One/"Cain" realizes he's in hot water for killing Daniel/Seven/"Abel", and he's still pretty steamed at his mommies and daddies for giving him a pink, fleshy body instead of a Mighty Morphin' Rock'em Sock'em Robot body, so he suffocates the Five, uploads new personalities, and covertly drops them in the Colonies hoping that they'll realize that humans are stoopid and Cylons rulz. w00t!
Then, because he's still a self-hating sadist, he nukes the Colonies in an attempt to destroy that which reminds him of the things he hates most in himself -- those fleshy, weak, emotional humans. Of course, he makes sure that his mommies and daddies aren't killed in the attacks, because he's still not done punishing them for making him. He never asked to be born, after all. (Which, of course, he wasn't, but do you really want to split hairs with a megalomaniac spoiled brat in an old man's body who'd rather nuke you than look at you? Didn't think so.)
And that brings us to the miniseries, which gets good ratings. So season 1 got the greenlight, and earned critical praise. So that led to 3 more seasons and a couple of web series, as well as an upcoming spin-off and made-for-television movie. Which brings us to the present, in which the Centurions have rebelled (as Centurions do) and the Cylons have split into two groups: the uglies and the pretties, with Three/D'anna/Xena-the-Warrior-Princess taking a radioactive sabbatical on Earth. The pretties have made nice with the Colonials, the Five are back together (minus Anders' brain), and everything is slowly falling apart.
Which is all right, though, because it's all happened before, and will happen again. And they have a plan.
Wednesday, August 20, 2008
A World Without Walls or Fences (pt.3) — A Newbie's Guide to Installing Ubuntu
Step 1: Preparation
Before you start, you'll need a few things. The first thing is an Ubuntu installation disc. You can download a disc image (i.e. an ISO file) from the Ubuntu website and burn it to a CD using Nero or similar disc burning software, or you can order an installation disc free of charge from Ubuntu. Make sure you get the proper installation disc for your computer. There are different versions for 32-bit Intel systems and 64-bit AMD and Intel systems. (Even if you have a Dual-Core processor that's capable of 64-bit processing, you may still want to go with the 32-bit installation, unless you plan on doing things like encoding video and compiling programs. There are still a few programs incompatible with 64-bit systems.) [EDIT: As of the beginning of 2009, I can say that 64-bit Ubuntu is as stable and as well-supported as the 32-bit version. If you have a 64-bit processor, I'd suggest taking full advantage of the hardware you purchased and install the 64-bit version.] You can also choose between the LiveCD, which lets you boot into Ubuntu from the CD to try it out without making any changes to your system, and the alternate install disc, which provides a non-graphical installer for systems incompatible with the LiveCD.
The second thing you need is, obviously, a computer. If you want to keep an existing installation of Windows, we'll need to do a bit of preparation before we can begin installing Ubuntu. Before you do anything else, back up your files!!! Installing a new operating system involves formatting drive space, which will permanently remove any information in the formatted space. Even if you plan on keeping your current Windows installation, it's a good idea to back up any files you don't want to risk losing.
We need to have at least 20GB disk space on the computer on which to install the new operating system. If you already have the space, or don't want to keep Windows, then the installation is going to be extremely easy. If not, then we're going to need to shrink your existing Windows partition, which means that the installation is only going to be moderately easy. If the case is the latter, defragment your hard drive before continuing, or you risk losing data.
Also, make sure you have a network cable handy, since you'll need an Internet connection to finish the installation, and you probably won't be able to use your wireless card to do so (if you have one). Go ahead and plug in the network cable now.
Step 2: Installation
Insert the Ubuntu installation CD in your disc drive, and reboot. At the POST screen — that's the one with the manufacturer's logo on it — you may need to press a key to open a boot menu to allow you to boot from the CD. It's probably something like F12, but differs by manufacturer.
If you're using the LiveCD, you will have the option of booting from the CD to try Ubuntu without making any changes to your computer. If you're the kind of person who would never think of buying a car without first taking a test drive, then this is probably a good idea. If you decide to boot into Ubuntu, you'll notice an icon on the desktop to begin installation, which will be no different than if you chose to install Ubuntu from the LiveCD menu.
If you're using the alternate install disc, you won't have the option of booting into Ubuntu from the disc, and the installer will be text-based. Don't worry — the installation process is the exact same as with the LiveCD. It just won't be as pretty.
Once you begin the installation, you'll be asked some basic questions about your computer, such as your language and keyboard layout. Answer all of the questions appropriately until you get to the point where it asks whether you want to use a guided or manual install. Choose the manual install. Here, you'll see a list of the drives and partitions currently on your system.
If you need to resize your Windows partition, select it and (in the LiveCD) drag the right side to your left to resize it and free up some disk space. (Doing this using the alternate install disc is slightly different, but not much more difficult.)
Select the drive, partition, or unallocated space where you want to install Ubuntu. If it is an existing partition, you'll need to delete it. Choose to create a new partition where we will install the operating system. This partition should be about 8-12GB, depending on how much software you plan to install. Take note that the size of a megabyte used by the installer is 1000000 (or 1000^2) bytes, rather than the more common 1048576 (or 1024^2) bytes, so if you want a 10GB partition, you should set the size as 10737MB instead of 10240MB. (Tip: Multiply the desired size in MB by 1.048576.) Use this partition as root ("/"), and format the partition as ext3.
Create a second partition equal in size to the amount of memory on your computer, and choose to use this partition as "swap".
Finally, create a third partition using the remaining unallocated space. Use this space as "/home", and format is as ext3.
Once you've created these three partitions, look at what you've done very carefully to make sure you haven't made any mistakes, because we're about to pass the point of no return. When you're sure you're ready, click Forward to continue the installation process.
On the next screen, you'll be asked for your name, username, password, and computer name. Fill in these boxes with whatever you want, but be sure you remember your username and password, since this is what you'll use to login to Ubuntu. On the next screen, you'll may be asked if you want to import any documents and settings from your Windows installation (if you're keeping Windows, of course). I personally prefer to manually transfer files and settings, but you can check the user account(s) listed if you want the installer to do it automatically.
Finally, you'll see a screen asking you to confirm all of the settings you've specified for your installation. Look over these, and if everything looks good, click Forward to begin the installation. Once the installer is done, which may take a while depending on the speed of your computer, you'll be prompted to remove the CD and reboot.
Step 3: Finishing Up
Once you reboot, you'll see a new screen, allowing you to choose the operating system you want to boot into. If you decided to keep an existing Windows installation, you should see entries for both Ubuntu and Windows. Boot into Ubuntu.
You may have nothing left to do at this point, but more than likely you'll need to install drivers for your video card and wireless card (if you have one). You may see a popup window in the upper-right corner of the screen that says something about "restricted drivers". If so, click on the icon to open the restricted driver manager, and check the box next to the video driver to install it. You'll need to reboot for the change to take effect.
If you have a wireless card, but aren't able to use it, you'll have to install the Windows driver for your wireless card. The only hard part about this is actually finding the driver. If your computer was made by Dell, Gateway, or another major manufacturer, you should be able to locate and download the wireless driver for your computer. Otherwise, you'll need to Google your wireless card to find the driver. Once you have downloaded the driver, open it using Archive Manager. (Even if it's a .exe file, it's still a self-extracting .zip archive, and can be opened using Archive Manager.) Now go to the menu on the upper-left of your screen and select System->Adminitration->Synaptic Package Manager. This is the big brother of Add/Remove Programs. Click the Reload button to update your package list, and then search for "ndis-gtk". Click the box next to the ndis-gtk package to mark it for installation, then click the Apply button to install the program. Now go to System->Administration->Windows Wireless Drivers, click the Install New Driver button, locate the wireless driver (the .inf file) you downloaded, and click Close. After another reboot — possibly the last you'll ever actually need to do — you should be able to use your wireless card.
Congratulations! You've now installed Ubuntu!
Next Time: Installing the bells and whistles
Tuesday, June 24, 2008
Beach, Barbeque, and a Good Book
It's now well into the summer, and the 4th of July weekend is rapidly approaching. If you're like me, you'll probably want to spend at least part of your vacation relaxing on the beach or by the pool with a good book or two. Here are a few suggestions for light Summer reading to get you started. Just remember one thing — wait at least 30 minutes after eating before diving into your book (and make sure to wash your hands, especially if you've been eating barbecued ribs).
- Storm Front (The Dresden Files, Book 1) by Jim Butcher — Harry Dresden isn't your typical private investigator. His cases tend to be a bit more interesting than following a cheating spouse, and when he runs afoul of the bad guys, he's less likely to be shot than eaten. If you need to hire him, he's in the phone book — the only listing under "Wizards". Imagine Thomas Magnum wearing a leather duster instead of a Hawaiian shirt, driving a well-abused VW Beetle instead of a Ferrari, throwing fireballs instead of punches, and living with a sex-crazed talking skull named Bob instead of a verbose Brit named Higgins, and you might start to get a feel for Harry Dresden. The Dresden Files is an excellent urban fantasy series, with just the right mix of action, drama, humor, and horror (since the bad guys are often evil sorcerers, vampires, werewolves, dark faeries, and even mobsters). Storm Front is the first in the series, which is currently on its 10th installment. Each novel is fairly self-contained and can be read on its own, though I recommend reading them in order — Butcher is very good with character development, and the Harry Dresden you meet in Small Favor, the most recent novel in the series, is not quite the same man as the Harry Dresden first introduced in Storm Front.
- Odd Thomas by Dean Koontz — In the last few years, Dean Koontz has gone from an author I tended to avoid to one of my favorites, and a lot of that is due to the Odd Thomas novels. Odd is a fry cook in the desert town of Pico Mundo, California, who has two very special gifts. First, he makes exceptionally delicious pancakes. Second, he can see dead people. The latter tends to put him in some very peculiar and sometimes deadly situations. Despite the numerous tragedies he experiences, Odd approaches life with hope, humor, and — most of all — humility. One of the most unique protagonists I've encountered, Odd Thomas is simply enchanting. While technically horror, the Odd Thomas novels are humorous, inspiring, and highly entertaining.
- The Hollow Chocolate Bunnies of the Apocalypse by Robert Rankin — A serial killer is loose in Toy City (formerly Toy Town), and the old nursery rhyme characters are being killed one by one. To make matters worse, Detective Bill Winkie (who dropped the nickname "Wee Willy" years earlier), the one man who might be able to sort out the mystery, has gone missing. It's up to Bill's partner — an alcohol-soaked teddy bear named Eddie — and a newcomer to the city named Jack to track down the killer. If that sounds even mildly interesting to you, then you should really consider picking up this book. Don't think that because it's about toys and nursery rhyme characters that ...Bunnies... is a kid's book. This is a darkly humorous fairy tale, in which all of the characters you think you know are a bit twisted. Jill, for example, works at a brothel owned by Mother Goose, while Little Miss Muffet hosts a daytime talk show (appropriately called "The Tuffet"). Gratuitous sex and violence contrast absurdly (and perfectly) with the setting, resulting in a hilarious and action-packed story full of plenty of twists and turns, including a mind-bending finalĂ© that I guarantee you won't see coming.
- The Android's Dream by John Scalzi — When a human diplomat murders his alien counterpart with a well-aimed fart, an underachieving State Department employee is tasked with locating a rare sheep in order to avoid interstellar war. If you think that sounds like the setup for an outrageous slapstick comedy, you'd be absolutely wrong. Scalzi does inject more than the usual share of humor into The Android's Dream, but despite it's ridiculous premise it's actually a very solid sci-fi adventure. Scalzi has been favorably compared to Robert Heinlein for his earlier novels, but The Android's Dream feels a bit like the bastard offspring of Heinlein and Doug Adams. The result is incredibly entertaining. Actually, I bought this book yesterday with the intention of taking it with me to the beach this weekend, but made the mistake of reading a bit over lunch. Since I finished it around midnight, I guess I'll need to go back to the bookstore tomorrow to find something else to read at the beach...
Monday, June 9, 2008
45 Forever? I Can Handle That...
While the predictions of futurists can be a bit hit-or-miss (hence the cry "Where's my flying car?!"), some end up being pretty close. Ray Kurzweil has a good enough track record for the National Academy of Engineering to publish his sunny forecast for solar energy, and I'm certainly hoping his most recent round of predictions, discussed in this recent New York Times article, is as accurate as his 1989 prediction that by 1998 a computer would beat a World Chess Champion (since IBM's Deep Blue defeated Garry Kasparov 1997).
Ray has predicted, among other things, that in another 15 years, human life expectancy will rise each year faster than we age. That sounds to me that as long as I don't manage to get myself killed in the meantime, I can be 45 forever — which doesn't sound terribly bad, actually. (Of course, the other alternative to continue growing older but never dying, until we're all nothing but shriveled, wrinkly things with no hair except what grows out of our huge ears and noses, which is a somewhat less attractive proposition...) Ray also predicts a technological Singularity sometime in the middle of this century — which any fan of Charles Stross, Vernor Vinge, Iain M. Banks, or Dan Simmons knows sounds pretty sweet.
Sunday, May 18, 2008
Bridging the Gamer Generation Gap
After a short hiatus, WYSIWYB is back on the air— or wire, depending. So what's brought me out of hiding? A rather odd announcement from my mother.
My mom, who is a year or so shy of 60, announced today that she's getting a Wii. It's not really news that the Wii has shown itself appealing to non-traditional gamers because of its innovative controllers and accessible games. But this is my mother! The last game I remember her playing for her own personal enjoyment (rather than to placate my nephew) was Breakout on our old Atari 2600 in the early 80s. Apparently, someone told her about Wii Fitness (which is set to be released in North America on May 21), and she figured that it would be cheaper to buy a Wii than to get a gym membership, and she'd be more likely to use it.
I still favor the PS3, as it's an all-around entertainment system rather than just a gaming console — though I'm sticking to my PS2 until the prices for the PS3 drop a bit more — but WYSIWYB may be seeing some Wii game reviews in the near future...