Xubuntu 9.05

As far as linux goes, I'm a Debian guy. I don't mind poring over obscure text configuration files and doing all of my package management at the command line. That being said, I was intrigued by all of the articles I have seen lately (such as this column by John Dvorak) about how easy Ubuntu is to use and how it's ready for the desktop.

A few weeks ago, I decided to try out Ubuntu 9.04 (Jaunty Jackalope) -- actually, I'm trying out Xubuntu 9.04 (the version with the XFCE desktop environment). I gave it a shot, but I have to say that I'm disappointed.

Of course, the average person will probably never be able to install linux (just as the average person cannot install Windows from scratch, either). But there are some basic things that a user should be able to handle through the GUI by now. A few years ago, the big problem was with wifi -- how can you really expect someone to compile a custom kernel just to use wifi? Now that they've sorted that out, the major problems are smaller, but just as major.

I have a small FAT32 partition at the beginning of the drive for WinXP. I had the partitioner leave this unchanged, but it rendered WinXP unbootable afterward. I haven't tried the equivalent version of Debian, so I'm not sure where the problem lies.

Ubuntu has a really beautiful GUI for changing configuration settings. There's a nice Windows-like menu for changing resolutions, for instance. Which is great, except that it keeps defaulting to a resolution that doesn't display properly every time I reboot. Why doesn't it save the screen resolution setting? I ended up adding an xrandr line to my ~/.xprofile.

Synaptic is a really nice-looking package management system. You get a list of all of the available packages, making it very easy to find packages to install (or remove). The problem with Synaptic is that every time I fire it up, I have to wait for a while for it to build the list of available packages. Why can't this search be done in the background (so that there is no wait when firing up Synaptic)?

By default, X.org blanks the screen after a certain period of inactivity. Why is it so difficult to disable screen blanking? I had to try 4 or 5 different xorg.conf hacks before finding one that actually worked.

No doubt Ubuntu has come a long way, but it's still got a way to go.

Labels: ,

Email Wiretaps

Information Week: U.S. Court Weighs E-mail Privacy, Again

Here we go again... The issue is whether law enforcement should be able to have your ISP store and send them copies of your emails without a warrant. It's essentially the same thing as obtaining a wiretap on your phone... except that for some reason, if it's email, they don't need to obtain a warrant. From the article:
"In November 2006, the EFF, the ACLU of Ohio, and the CDT filed a similar amicus brief in support of Warshak, arguing that e-mail deserves the same legal protection as telephone calls. In June 2007, the 6th U.S. Circuit Court of Appeals ruled in Warshak's favor. But that decision was vacated on procedural grounds. And now the case is back before the court. "
There has to be some mechanism for oversight (such as obtaining warrants) when the government wants to start eavesdropping on everyone's communications. I don't understand why this hasn't provoked outrage -- so many people are so willing to give up their constitutional rights these days.

Labels: , ,

Limping My Computers Along

Last week, I mentioned that I was building a new desktop computer because I could no longer limp my old one along. This drew a bunch of comments, after which I realized that I had not explained the context of that comment properly.

The main reason that I have been trying to limp my computers along far past the date that they should have been replaced is that I haven't figured out my long term strategy/upgrade path with computers... and I have been trying to put off making a decision as long as possible.

My current strategy is to maintain a desktop computer and a laptop, both which dual boot Linux and WinXP. In the not-too-distant future, it will be untenable to keep running WinXP on my machines, whether it be because of driver unavailability, unpatched security holes, etc. As I see it, I have the following options (in no particular order):
  1. Buy Apple computers from now on, and run WinXP in emulation with Virtual PC or the like (highest cost),

  2. Switch entirely to Linux for everything (lowest cost, but greatest probability of obscure, unforeseen issues)

  3. Switch to Linux, but run WinXP or WinXP applications in emulation with VMWare or Wine,

  4. Make the switch to Windows 7 (kill me now).
All of these options suck.

The whole issue is somewhat more complicated because I also maintain Heimlich's computers (and I have a feeling she isn't going to switch to a Mac or linux, no matter how annoying future versions of Windows are). So, I'm probably going to end up having to learn how to maintain Windows 7 anyway...

The decision to build a new desktop computer was relatively easy, because its purpose is to time-shift satellite radio for me, and there are no other options other than apps in Windows (but in a few years, I'll no longer have this need). The real decision time will come when my 5-year-old laptop finally dies. In the meantime, I'm going to keep limping it along as long as possible.

Labels:

What a week

Holy crap. What a couple of weeks that I've had...

I won't bore you with all of the details, but a ridiculous list of computer hardware has failed at my house in the past two weeks. And each time something has failed, I've spent hours trying to debug and diagnose. The failed hardware includes: our wireless router, my laptop power supply (started creating an impressive display of sparks), my AGP video card, and my desktop computer power supply.

As a result, I have been forced to realize that I can no longer limp my desktop computer along anymore. It's so old that it's becoming ironic (in the same way that people who use pagers and film cameras nowadays are).

Seeing as how an Athlon 1700+ has been fast enough for me for years, anything remotely modern is going to be plenty fast and a huge upgrade. I decided to go lower power, since this computer is on all of the time (ripping the stream from my satellite radio). Specs are:
  • AMD Athlon 64 X2 5050e Brisbane 2.6GHz CPU(45W)
  • ASUS M3A78-EM Motherboard (AMD 780G chipset)
  • 2GB DDR2 SDRAM DDR2 1066 (PC2 8500)
It'll be relatively pedestrian by today's standards, but will feel like an order of magnitude faster than what I had been using (and probably be an order of magnitude more computing power than necessary for the job). Under $300 for an entirely new computer is never a bad deal...

Labels:

Photoshop Elements 3 Annoyance

Unfortunately, I have been using Photoshop Elements 3 for a while now. There are many things that annoy me about this particular version of Photoshop. For instance, there is no way to use the line tool without getting an anti-aliased line.

Here's another thing that really pisses me off about this version. Why does the line tool have a separate color palette? I've circled the main color palette in yellow in the image below. And then I've circled the line tool's color palette in red:


Normally, if you want to change the color of a region of an image, you set the color you want in the main palette, pick up the tool (like a paint brush or a fill bucket), and then color in the region. The line tool appears to be the only tool that has its own color palette.

Let me tell you why this is annoying. If you want to use the fill bucket tool, and then follow up with a paint brush using the exact same color, you would set the color in the main palette, use the fill tool, and then use the paint brush tool. Whereas if you want to use the line tool with the exact same color, you have to go to the additional step of setting the color on the line tool palette. This means that every time you change which color you are painting with, you have to set the color in two different places. What, am I supposed to type in the hex keys for every color that I want to use in an image in both palettes?

Can anyone explain to me why this behavior would be desired? Why doesn't the line tool use the same color palette as every other tool in Photoshop?

Labels: ,

Windows ReadyBoost

Recently, I had been made aware of Windows ReadyBoost [microsoft.com], which is a feature in Windows Vista that allows you to use a USB flash drive as swap space to speed up the performance of your computer. The description on Microsoft's website reads:
"The flash memory device serves as an additional memory cache—that is, memory that the computer can access much more quickly than it can access data on the hard drive. Windows ReadyBoost relies on the intelligent memory management of Windows SuperFetch and can significantly improve system responsiveness."
I was immediately skeptical. Windows can access information on a USB drive faster than it can from the hard drive? Have you ever tried transferring a large file to or from a USB drive? It definitely takes longer than it does to copy that same file from one hard drive to another (no surprise, given the theoretical max bandwidth of each bus).

The one advantage that USB flash drives have is lower latency. When you ask a conventional hard drive to retrieve information, you have to wait a fraction of a second for the drive head to move to the correct position before it can read the data. Typically, this wait is around 10ms, but theoretically that wait should not be present when retrieving information from a flash drive (no moving parts).

It turns out that Tom's Hardware performed a thorough performance test [tomshardware.com] to determine what, if any, benefit there was to ReadyBoost. If you look at the actual results of the test [tomshardware.com], you'll see that conclusions are hard to draw. While ReadyBoost did reduce application load times in many cases, it seems like it also increased load times in about the same number of cases. The greatest benefits seemed to occur to the computer that only had 512MB of RAM. Ok, who the hell would try to run Windows Vista with only 512MB of RAM?!?!

But in general, common sense prevailed. A USB flash drive is not going to be able to do much of anything better than a hard drive. And there is no substitute for having enough RAM.

Labels: ,

planet-f1

A little while ago, my desktop computer started running really slowly. It was about time for the annual reinstall of the Windows partition anyway, so I wiped the disk and produced a fresh install. In the process, I upgraded to the latest versions of Firefox, SX Recorder, etc. After the fresh reinstall, my computer went right back to being slow as hell.

Granted, this is not the fastest computer in the world. As a matter of fact, it's getting slower by the month, but that's a story for another time...

At first, the slowdown pissed me off in general. This turned into me being pissed off at Microsoft. Then I noticed that my computer was only really slow in Firefox. Then I got pissed at Firefox, and was ready to swear it off.


After a lot of trial and error, I ended up determining that the problem was being caused by having planet-f1.com loaded in Firefox all of the time. See, I always have a Firefox window open to all of the news sources that I regularly read (Google News, BBC News, etc). This includes planet-f1.com, because I am such a big Formula One fan.

But now I'm pissed off at them, for having such a fantabulously shitty website that it's causing a huge slowdown on my aging computer. Without that website loaded, my computer runs fine. Grrrr...

Labels: , ,

Universal Laptop Power Supply

Does anyone need a universal laptop power supply? I have a Targus APA63US [targus.com] in new condition that I am trying to sell. It sells for $110 on Targus' website. Make me an offer.


Targus has a complete list of the laptops it is compatible with [targus.com]. It comes with 10 tips that make it compatible with most Dell, HP/Compaq, Toshiba, Acer, Gateway, IBM/Lenovo, Sony, Panasonic, and Fujitsu laptops.

I bought it on the spur of the moment, because the power supply for my Sony laptop had developed a loose connection. And then I found out that my Sony laptop is one of the few that it isn't compatible with.

Labels: ,

WinXP on Toshiba Satellite A205-S5871

A little while ago, I got a Toshiba Satellite A205-S5871 laptop [amazon.com] for Heimlich. So far, it's been working out great. The only issue that Heimlich has had with it is that she hates Windows Vista. Some of her apps don't work, the file structure is confusing, etc.

Recently, I finally figured out how to install Windows XP on it. Since the WinXP drivers are not available through Toshiba's website, it took a lot of trial and error. I'll post the details here, for the benefit of anyone else who owns one of these machines.
  • SATA drivers -- Like most new laptops, you can't just pop a WinXP install disk into the drive and install Windows. The reason is because the WinXP installer doesn't have SATA drivers built in. The laptop doesn't have a floppy drive, and the installer can't load drivers off a USB key. So, you have to use nLite (shown below) to slipstream in the SATA drivers into the installer. You can use nLite to create a new WinXP install CD with the drivers preloaded, and use that disk to install Windows on your laptop.


    You can download the SATA driver from Intel's website (located here [intel.com]). When you load the driver in nLite, you will want to choose the "iaAHCI" driver, and then choose the "Intel ICH8M-E/M SATA AHCI Controller" in the list of devices that pops up.

  • Graphics driver -- This laptop has a Intel GL960 chipset, and the graphics driver can be downloaded directly from Intel's website (located here [intel.com]).

  • INF Update Utility -- Install the INF Update Utility for the Intel 965 Express Chipset family, which you can download from Intel's website (located here [intel.com]). This includes drivers that have to do with the AGP and USB functionality.

  • Atheros Wifi -- The wireless network driver can be downloaded from the Toshiba's Germany site (located here [toshiba-tro.de]). You will want to download the driver labeled "Atheros Wireless LAN Adapter" for XP.

  • Realtek ethernet -- This driver can be downloaded directly from Realtek (located here [realtek.com.tw]). You will want to choose the driver labeled "WinXP (WinServer 2003) Driver."

  • Realtek High Definition Audio -- This can also be downloaded directly from Realtek (located here). This was perhaps the easiest driver to find, of all of the ones in this list.
And that's it. You'll have a great machine that runs an OS that doesn't aggravate you. Even the volume knob on the front of the case works. The only thing that doesn't work are the Function keys. The F1-F12 keys work fine; the ones that don't work are the ones that allow you to adjust the brightness of the screen, etc. But Heimlich doesn't ever use those anyway, so it's fine for us.

Labels: ,

Tracking News Stories

News aggregators like Google News are great. If you're interested in a news event, you can quickly pull up 50 different stories on that event from Fox News to CNN, and get the whole story without the bias.

The problem with news is that our attention span is far too short. You read tons of news stories right after something happens, and then the stories quickly fade away. Unless the event is really cataclysmic, you probably will never hear anything about it again unless you specifically look for it.

For instance, how many of you were shocked back in February when a car bomb critically injured the chairman of the Arkansas State Medical Board [huffingtonpost.com]? Right after it happened, there were tons of articles. But I haven't heard anything about it since. It wasn't until I searched specifically on that story recently that I found that the case is still unsolved and the victim has continued to recover [google.com].

What these news aggregators really need is a way to help you track news stories. Ideally, it would be like an RSS feed that would update whenever new information became available on the story you were interested in following. That way, if something became known months after the fact, you would get an alert and wouldn't have to remember to keep manually searching for information on the story.

Labels: ,

Jem's Yellow Cover

I frequently have the problem where there is music I would be willing to buy, only I can't figure out where to buy it. The latest example is Jem's cover of the song Yellow, which I definitely think is better than the original:



Jem - Yellow (Coldplay cover) by nieznajomy84 on YouTube

I have no idea what the story is behind this cover. I hope that it will eventually be released so that you can buy it. My guess is that they can't because someone hasn't acquired the rights yet.

Labels: , , ,

MTP Devices and Windows XP

A few months ago, I mentioned that I had bought a Creative Zen portable media player.


At the time, I tried using it with two WinXP SP3 computers, and found that it could be used out of the box with one, but required a driver on the other. I ended up having to install the crappy bundled software on the second computer so that I could transfer files to it. I wasn't very happy about it (especially when I found out that the bundled software was even crappier than expected), and was concerned that if I wanted to connect it to a friend's computer to transfer files, that it wouldn't work without a driver.

I just discovered why it worked right away with one computer and not the other. I would imagine that most people already know this, but I'll post it here anyway. The Creative Zen is an MTP device. All you have to do to get it (or any other MTP device) to work with Windows XP is install Windows Media Player 10 or higher. That's it (no shitty bundled software required -- just shitty Windows Media Player). And then it will show up in Windows Explorer, and you will be able to transfer files to it, just like if it was a USB drive.

Labels: ,

Western Digital My Book (Studio Edition), part 2

Yesterday, I began an initial review of a new external hard drive that we just bought. This is the second and final part.

On the front of the drive, the enclosure has a simple light to tell you if the drive is on, or if it is accessing data (see picture on left). It is relatively unobtrusive on a desk.

Out of the box, the drive comes formatted with an HFS partition. This tells you that this device is primarily aimed at Mac users. You can download a (tiny) program from Western Digital's website which will repartition the drive for Windows -- after you register your product. As an aside, I think this requirement (to register the hardware before you can download drivers or software) is annoying, because it makes it that much harder for a friend/relative to set up a new piece of computer hardware for someone else. The software is only going to be useful to those people who have bought the hardware, so you're just annoying your customers.

After you download the program, it will blow away the HFS partition and create a 32GB partition, and format it as FAT32. The rest of the drive will remain unformatted and unpartitioned. Why, oh why, couldn't they partition the entire drive? I actually wanted a 1TB FAT32 partition, so that I could use it with Linux, if I ever needed to. Windows has a stupid, abitrary limitation on the size of FAT32 partitions that you can create (although it will read/write to much larger ones). I tried using GParted [wikipedia.org] to expand the FAT32 partition, using GParted to create a new 1TB FAT32 partition, and using Linux's mkdosfs to create a new 1TB FAT32 partition. All either failed or were not recognized by Windows. So, I had to settle for manually creating a 1TB NTFS partition using Windows.

So far, transfer rates have been delightfully high (although I haven't actually measured them objectively). The drive also comes with some backup software that we haven't fully evaluated yet. A much more thorough review will be coming in the future.

Overall, I give the drive a B+. If the software were as polished as the hardware, this would be a real standout.

Labels: , ,

Western Digital My Book (Studio Edition), part 1

I just bought Heimlich a new external hard drive. I really haven't been keeping up with developments in computers these days, since we're not in the market to buy anything, and I haven't been doing as much computer stuff lately. So, I was surprised to find out exactly how cheap storage is these days. I bought a 1-terabyte Western Digital My Book (Studio Edition) [wdc.com] for around $160. Now, Heimlich will have plenty of room for the thousands of pictures of me acting like a jackass documents that she wants to back up.

First off, I hate the Western Digital naming schemes. "Studio Edition" refers to the line of external hard drives that connect directly to a computer through a USB, firewire, or external SATA (eSATA) cable. "World Edition" devices are almost exactly the same, but are the Network Attached Storage versions. The naming scheme is stupid, because it isn't going to be obvious to anyone what they refer to or mean.

The drive comes with a standard USB cable, and two firewire cables (a 9-pin to 9-pin cable, and a 6-pin to 9-pin cable). Unfortunately, most PC laptops only have 4-pin firewire ports. So, if you wanted to use firewire with your laptop, you'll probably be stuck buying a 4-pin to 9-pin firewire cable.

By the way, the above picture shows the back of the drive. From top to bottom, you have the power button, two 9-pin firewire ports, the eSATA port, the mini-USB port, and the port where you can plug an AC adapter in. This drive (like many others in the segment) powers down automatically when you shut down or suspend your computer. So, once you set it up, you can pretty much forget about it.

Part 2 tomorrow.

Labels: , ,

Kitchen Computing

One of the things that I have wanted to do (but will probably perpetually remain on the back burner) is put a computer with a touchscreen monitor in our kitchen. Mind you, I wouldn't want to waste any counter space, so the computer would have to be hidden away somewhere, and the monitor would be mounted to the underside of the cabinets.


Ok, why would I want a computer in the kitchen? Porn. No, it's so that I could bring up recipes on the screen near the stove (bypassing my current wasteful process of printing every recipe I want to try out). It would also allow me to set up playlists of MP3s, or listen to the internet feed of my satellite radio service. Or, I could watch clips on YouTube or Hulu while I am waiting for things to boil or reduce.

Currently, we only have one timer in the kitchen, which can be problematic when cooking multiple things at the same time. A computer would allow you to run multiple timers at the same time (and label them so that you know what they are).

Having a computer in the kitchen may also solve another problem... Whenever Heimlich and I get into one of our dumb debates while we're cooking, we won't have leave anything unattended to Google for the answer ("NO! I'm telling you, when 'diction' is used in the context of singing, it has nothing to do with word choice!").

And finally, it's solves the issue of me trying to check my email every 5 seconds, even when I'm cooking.

Image of touch screen from bobsee's Flickr photostream [flickr.com].

Labels: , ,

10 Things Windows 7 Must Do To Succeed

Over on PC World, there is an interesting blog post called 10 Things Windows 7 Must Do To Succeed [pcworld.com].


Microsoft had better hope that they don't make the same marketing and technical missteps that they made with the much-maligned Windows Vista. Mainly, 1) it's got to boot faster and not be perceived as a resource hog; 2) it's got to work with standard peripherals and applications right out of the box; and 3) the interface has to be close enough to what everyone is used to, so that it doesn't turn users off. Windows Vista has a critically bad combination of (marketing) problems.

Case in point: A little while ago, Heimlich got a new laptop that had Vista pre-installed. I gave her the choice of keeping Windows Vista, or I could wipe the hard drive and install WinXP for her. She chose to keep Windows Vista. Evidently, she chose poorly, because we're now making preparations to wipe the hard drive and install WinXP on it. After all of these months, the new interface still frustrates her. All that, without me having coached her to hate Vista. Oh, and how I wanted to ("Bill Gates is the spawn of Satan," "the Windows Genuine Advantage logo is the mark of the beast," etc).

Why, oh why, did they change almost everything about the interface? The user home directories have a completely different structure, the location of all of the system configuration shortcuts have changed, etc. There is a significant learning curve when getting used to Vista. All of that just serves to remind the user: if you're going to have to go through a long and painful learning curve just to get used to a new operating system, why not switch to OS X?

Screenshot of Windows 7 install from motionblur's Flickr photostream [flickr.com].

Labels:

Office Documents

I still do a lot of my note keeping on paper. Ideally, I would do all of that electronically -- to reduce paper usage, so that my notes are searchable, etc. But it's just not practical yet. The reason is that most of my notes are a combination of text, charts or tables, and sketches. Ideally, I would be able to make documents that look like this:


I haven't used Office 2007 yet, but up to Office 2003, it was appalling to try to put mixed media in the same Office document. If you wanted useful spelling and grammar tools to edit large blocks of text, Word was your only option. There is no way that I'm going to try to format large blocks of text in Excel. And Powerpoint is really a poor substitute.

Unfortunately, Word only has the most basic chart and drawing tools. Why can't you just create a document, and be able to add text blocks using all of the features of Word, and then add a table or chart using all of the tools from Excel? The tables in Word are completely horrendous, and don't have all of the equation capabilities of Excel. And if you copy and paste a table from Excel to Word, the formatting gets completely changed around, and it is too difficult to update afterward.

And none of those tools gives you the capability to draw or sketch anything quickly. You're stuck with making stick figure drawings. And every time you draw a line, the endpoints of the line "snap" to discrete points on the page. You can't just draw a line between two arbitrary points, without a lot of work. I suppose that being able to use Visio from within the document would be good enough. But copying drawings from Visio to Word has all of the horrendous problems that copying tables from Excel to Word has.

Labels: ,

Google Maps

Google Maps is generally great (when it isn't sending you to the wrong location). And the idea that you can hit a print button, and it will reformat your current view to be more printer-friendly is a great idea. But there are several problems with the print-friendly versions of the maps.

The major problem that I have is the lack of scale on the printed map. Let's say that you search for a location:


On the lower left-hand side of the map, there is a nice scale (outlined in red), indicating what distance on the map is equal to 2000 real-world feet. This is fine and dandy. Except that when you switch to the printer-friendly version of the map and actually print it, the scale doesn't show up.

I regularly print maps from IE and Firefox on two different WinXP computers and two different printers. One printer is a fairly old HP LaserJet 4, while the other is a relatively new model. No matter what combination I use, the scale doesn't get printed, so I'm fairly sure that the problem isn't specific to my computer.

Maps without scales are fairly useless. Especially if you aren't familiar with the area. Nowadays, I usually end up print screenshots of Google Maps, because the screenshots will actually have the scale on it.

Labels: ,

Mogo Presenter Mouse

I recently got to use someone's Mogo Presenter Mouse [newtonperipherals.com]:


Now I want one. It's a wireless mouse that stores (and recharges) in a laptop's PC card slot. It has a small kickstand that allows it to sit surprisingly comfortably in the hand when used as a mouse.

They have a two-button version and a scroll-mouse version. The scroll-mouse version (the X54) is designed to be used as a presentation tool (allows you to navigate through a presentation), and it even features an integrated laser pointer.

Labels: ,

The Web as your Servant

Recently, I saw a story on USA Today called Next Big Thing: The Web as your Servant [usatoday.com]. The article speculates on a coming wave of gadgets, websites and interconnectivity that will change the way we do things and find entertainment.
"One example... might be a service we'll call Travel Butler, or TB for short... Let's say it's 4 p.m. TB knows you have a flight scheduled for 6 p.m... [and] that you're at a meeting downtown... TB might see that accidents have backed up traffic for miles. It sends you a message, which finds you on your BlackBerry e-mail, saying that to make your flight, you'd have to leave now. TB also shows you an Orbitz listing of later flights."

"You decide to go on a later flight, so you click on the one you want. TB rebooks you, sends an e-mail to your spouse and contacts the car service in your destination city to change the time to pick you up."
This is all well and good, except that I wonder whether I'll ever see this kind of convenience (that actually works properly) in my lifetime.

I mean, right now, we're in a world where it takes longer to connect a Wifi device to a wireless access point (with WEP or WPA security enabled) than it does for the average hacker to figure out what the security key is. We have a bunch of Wifi devices around our house, and every time we get a new one (like our new Vista laptop), it is a huge ordeal to figure out what hoops we have to jump through to actually get it to work.

I'm totally pessimistic on any kind of interconnectivity, when every electronics company has managed to botch the implementation of the most basic type.

Labels: , ,

Microsoft Office 2007 Packaging

Congratulations to Microsoft for designing what is quite possibly the most frustrating packaging to open. Ever.


There are no instructions on the outside of the box telling you how to open it. And it is in no way obvious where it even opens.

See the tab outlined in blue? When you see a tab, you naturally think that you should push it (you know, maybe it'll release a catch that will allow the package to be opened). Except that it doesn't. Those tabs have a lip on them, meaning that as you push harder and harder on them, it makes the package harder and harder to open (which also isn't going to be obvious to any user).


It turns out that the key is to slice a sticker in two different places, and then pull the red tab that is sticking out (outlined in green) to open it up. And if you do that in the wrong order, the red tab will just rip right off (as I found out with the first one I tried to open).


This is the first package that I have ever needed to consult a webpage [flickr.com] in order to figure out how to open. I was on the verge of intentionally breaking the plastic (with a 5lb sledgehammer) when I stumbled on those pictures.

Labels: ,

Toshiba Satellite A205-S5871 laptop

Last week [fluggart.com], I mentioned that we replaced Heimlich's laptop. What we bought was a TOSHIBA Satellite A205-S5871 laptop [newegg.com]. The description on Newegg has the full system specs and lots of pictures. We ended up buying it from Sears for $100 less than the price at Newegg (!), and it came with a case, a USB hub, and a mouse with retractable cord.

For all of the computer geeks out there, the vital specs are:
  • Intel Pentium dual-core T2390(1.86GHz)
  • 2GB DDR2 667 RAM
  • 160GB HDD
  • 15.4" WXGA screen (1280x800)
To reiterate my previous post, Heimlich's applications really don't require any horsepower whatsoever, so this is way more than adequate for her needs. And at well under $500, it was a steal.

Our initial experiences with the machine have all been positive. The touchpad has a sufficient recess so that you don't touch it inadvertently while typing. The screen is huge and bright, the keyboard is comfortable (and has a large backspace key), there are 4 USB ports on the sides, and the system is plenty responsive.

A common problem that used to happen with computers was that the hard drive would come with a single partition, and there wasn't much you could do about that because you only received recovery disks. So, unless you knew your way around a Linux live-CD, there weren't really many options you could use to repartition the hard drive into a system partition and a data partition (vital for the annual reinstalls that I perform). The Toshiba recovery disks that came with this unit actually allow you to change the partition table, so that you can do this yourself. I suspect that this is a standard feature nowadays, but this is the first computer we have bought in 4 years.

So far, we're really happy with Toshiba.

Labels: ,

Computers from Sears

We just bought a computer at Sears.

Ok, that is definitely a statement that I thought I would never say. To me, that is something akin to saying, "I just bought a car at JCPenney's." Anyway, I'll explain this part in more detail, but first some background info...

We have been limping Heimlich's laptop along for the past few months, and it finally developed an irreparable problem (as we knew it would eventually). It was bought in 2003 (right before she left to spend her second year in Austria). The three most commonly used apps on her computer are: Firefox, iTunes, and Publisher. Nothing that requires any horsepower at all. Clearly, any new computer is not only going to be fine, but an order of magnitude faster than what she was using. So, we were looking in the budget laptop segment.

The budget laptop segment actually has a lot of great computers. You can get a big screen, a reasonably large hard drive, and 2 gigs of RAM -- way more than sufficient for the tasks at hand. The problem is that most of the computers in the segment have all kinds of weird design issues.

Let's take an Acer Extensa EX5620-4020 laptop [microcenter.com] (Intel Dual-Core T2370, 2gig RAM, 250gig HDD) which you can buy for $500:


What's wrong with this picture? Well, the keyboard is "ergonomically-shaped", which means that it's going to be really hard to get used to and annoying to use.

Or, take the HP 530 laptop [tigerdirect.com] (Centrino Core Duo T2400, 1gig RAM, 160gig HDD), which is also $500:


Ok, what's wrong with this picture? The touchpad is centered on the chassis, instead of being centered on the keyboard. So, you will constantly hit the touchpad while typing.

It ends up being a constant battle to find the laptops in this segment that aren't weird or unusable. To be continued...

Labels:

TigoTago

Like many people, I have a huge mp3 collection. Many of the ID3 tags (the metadata like artist, song title, album, etc) in those files are incorrect, so I started looking for a way to batch edit large numbers of mp3s. What I have started using is TigoTago [tigotago.com], which is freeware. TigoTago can also manage other types of files (avi, wav, wma, wmv, and asf).

You can select a directory of files to edit, and then batch edit them in many different ways:


Typically, I have renamed the files from the tags or created new tags from the filenames, but as you can see, there are a bunch of other options (including getting tag info from online databases).

If you choose to create new tags from filenames, you are asked to enter in a mask to be applied:


In this particular case, my files have a dash in between the artist and song title, and it warns me if it finds more than one dash in the filename.

After renaming the files or rewriting the tag information, you can review the changes in the application before the changes are actually made. This is handy as I frequently make a lot of mistakes.


The ones in beige are the ones that have been modified. And writing out hundreds of files doesn't take much time at all.

There are currently two versions available for download: 1.0 and 2.0.0.3 beta. Each also requires you to install a version of the .NET framework. I already had version 2.0 of the .NET framework installed for another application, so I chose to use the beta version of TigoTago (TigoTago 1.0 requires version 1.1 of the .NET framework). On the TigoTago download page are links to the install files for the .NET framework (which are also free).

Anyway, this software does everything I have wanted it to do, and it's free! Managing my mp3 collection is way easier now.

Labels: ,

Google News and Subscription Sites

I have yet another suggestion for Google (maybe I should start a "Google suggestions" category for my posts)...

I used to use Google News exclusively when I read news online. It's great, because if you are interested in a story, you could read several stories on the topic on different news sources (allowing you to get past each news source's bias). Now I don't use it so much anymore, and it's because of the all of the links to interesting news stories on subscription sites (or ones that require free registration):


I'm not going to create an account on every crappy local news website just so that I can read one or two stories. I'm not going to give them my information so that they can use it to target ads towards me (or do who-knows-what with it). And, quite frankly, I'm just too lazy to fill out the forms.

Google, stop indexing the news sites that require a subscription or free registration. Or let people customize their Google News page to include or exclude those sites. Because right now, even though there are much fewer subscription sites indexed on Google News, it's still driving me (and probably tons of others) away.

Labels: , ,

Google Maps Suggestion

I have a suggestion for an improvement to Google Maps. I frequently use Google Maps as a quick and dirty way to get directions to a location. You type in an address, and 9 times out of 10, you get the correct location pointed out to you on a map. Take the following map of the Bay Ridge area of Brooklyn, NY:


Most of the time, I don't need door to door directions. I can pretty much tell what highways I'm going to use to get into the area. I just want to know the quickest way to get from the highway to that location. What is the quickest way to get there from the highway in the above map (what exit/what turns)?

Problem #1 is that anytime there is a highway with a marginal, Google Maps doesn't make it easy enough to see where the exits are, and where you will be dumped off the highway. If they were easier to see, I could just plot the route myself.

Problem #2 is that you can't just click on the map, and ask for directions from the clicked point to the highlighted location. I really wish they would fix this problem. It would make using Google Maps to get directions so much faster.

Labels:

Archive Quality DVDs

I am always surprised when other people are surprised to hear that burned CDs and DVDs don't last very long [computerworld.com]. I mean, people have been burning CDs for a long time, so you would think that this problem would be more well-known. I have several disks that I burned only a few years ago that are now unreadable (which thankfully, contained nothing important).

I am on the paranoid end of the spectrum, as far as data backups. Anything that I have that is important is copied everywhere. I even go as far as to burn two copies of critical data onto archival-quality DVD-Rs -- one copy to keep at home, and another to keep in a safe-deposit box.

For the past few years, I have been using mam-a archival-quality DVDs [mam-a.com]. However, they have changed their product line around since I have bought media last, and I wasn't that happy with the past batch that I bought. So, I began looking for another brand.

I recently saw this weblog post [adterrasperaspera.com], which has a frighteningly long description of how CD-Rs and DVD-Rs are produced, and how archival-quality media differs. The post recommends a Japanese brand called Taiyo Yuden, which can be purchased at supermediastore.com. So, I'm going to give them a shot.

Back up your data properly, people!

Labels:

On-Line Dating Fraud

Recently, I saw a link to an article about on-line dating fraud [cnn.com].


The jist of it is that there is a growing problem with people finding suckers on the internet, form what the victim thinks is a deep, loving relationship, and then convince the victim to send them money. Here's a quote from the article:
"Barb Sluppick runs RomanceScams.org, a Web site dedicated to helping victims of romance fraud, like herself. She said the site has had more than 30,000 members since its start in June 2005.

"The number of broken hearts aside, romance fraud costs victims millions of dollars each year. Of her 30,000 members, Sluppick said, 883 people have reported their financial losses. They add up to $8,244,800.05, she said."
I was actually fascinated when reading the article. Just another reason why I would never be a good criminal -- I just don't have the creativity to come up with an idea like this.

On the other hand, I think that it is surprising that it is so easy to convince people to send money to a person they have never met in real life.

Picture courtesy of Thomas Hawk's Flickr photostream [flickr.com].

Labels:

More Matlab Gripes

Ok, here's another gripe that I have about Matlab (at least, the older version that I own and use). Let's say that you want to plot two sets of data, so you write a simple script:


The output from this script is the following plot:


If you look at the manfile for linespec (which define properties for things like lines in plots), you will find the following pre-defined colors that are available to use.


So, let's say that you use the same script, but want to specify the colors. One would reasonably expect that the pre-defined green in linespec is the same as the green that is used by default in plots. But it's not. Let's say you run the same script, but specify that one line should be blue and one line should be green:


You will get the following plot:


Not only is the green a different color, but it's a color that often does not show up well when shown on a projector. So, the result is that you have to constantly define your own custom colors if you want to specify line colors in scripts (if you care about people being able to read them, that is).

Labels: ,

Backup of Windows

Adam recently posted [livejournal.com] that he was looking for a way to backup/clone a Windows installation. There are a number of pieces of commercial software that will do the job (some better than others, of course). I use a different approach to backing up and cloning Windows installations...

What I have found is that it is pretty easy to make a backup of a Windows installation from another operating system. For instance, if you had two different Windows installations on the same computer, you could use one to make a full and complete backup of the other one (by simply copying the files from one location to another, then compressing or burning to disk).

It is kind of annoying (and time-consuming) to install Windows a second time, for the sole purpose of backing up the first one. Plus, if your hard drive dies and you have to replace it, you would have to install from scratch before you could restore the image that you created.

This is why I use linux. On all of my Windows computers, I have a small partition on the hard drive with a bare-bones linux installation (no GUI) that I use to back up the Windows installation from. The partition is large enough to store a copy of the Windows installation, so that when I want to reinstall, I just have to wipe the Windows partition and copy the files from one partition to the other. I reinstall all of my Windows computers once a year, and it takes a fraction of the time it would take to install from scratch.

If you didn't want to put a linux partition on your hard drive, you could use a Knoppix live-CD [knoppix.org] (or similar) to burn a copy of the Windows installation directly to DVD (and then you could easily restore in the same manner).

Using this method gives me full control over what is backed up and how. I have found that a clean Windows installation with drivers, etc can be burned onto a DVD (after deleting pagefile.sys and hiberfil.sys).

Labels:

Matlab Gripes

I have a lot of gripes about software. Here's a grip that I currently have with Matlab (at least, the version that I own).

Let's say that you have a directory full of figures you have created in Matlab:


But you want to delete them. So, you open up the directory in Windows explorer, highlight them all, and hit delete. Except that you have a brain fart, and instead of hitting the delete key, you hit the enter key. What will happen is that Matlab will try to open 20 (or however many figures you have selected) Matlab sessions. And if it can't, it will crash and take your computer down with it.

If you already have Matlab running, why can't it open a figure without trying to launch a completely different session of Matlab? Why would it ever be desirable to run multiple sessions on the same computer (unless you were trying to make your computer crash)?

If you highlight 20 image files (whose extensions are associated with Photoshop), Photoshop won't try to launch 20 different sessions of itself. It will just open all of the images in the one Photoshop session that is running.

Of course, this problem requires you to have .fig files associated with Matlab. This problem is so annoying that I am debating about breaking that association.

Labels: ,

Roundcube

The provider for one of my numerous email accounts is trying to transition people over to a new webmail client - Roundcube [roundcube.net].


In general, I don't have a problem with it, and it is an improvement over whatever was available before. But there are some peculiarities. One is that the search field looks suspiciously like Spotlight in Apple's OS X:


That is obviously a total ripoff. At least Firefox makes an attempt to cover up that they are ripping the idea off.

One of the major dealbreakers for other people is that you can't highlight and select text if you are using Internet Explorer. I have no idea why that is, but I have tried it using two different versions of IE, and when I try to select text, all of the text on the page ends up getting selected. Selecting text is no problem when using Firefox -- but there are some places, like work, where I have no choice but to use IE.

You have no idea how much you copy and paste text into and out of email until you can't do it anymore.

Labels: ,

Bitching About Google Maps

Has anyone else tried to use the traffic monitor in Google Maps? It took
me a while to figure out that grey roadways are sections with no data,
and not roadways with mostly free-flowing traffic.

It is a good first effort, but is mostly useless without being real-time.
It would be far more useful if you could click on a section of roadway,
and it would bring up a traffic webcam of that area.



Just having the map itself isn't very useful. Above is a map of Cleveland
during morning rush hour. And shockingly -- SHOCKINGLY -- there is a lot
of traffic and congestion going into downtown. I never would have
guessed. It's a good thing that Google is on top of it.

As the data evolves into a real-time traffic and congestion map, it would
be amazing to be able to see that screen in a car. An accident occurs?
That section starts blinking red, catches your eye, and you know to
re-route.

But right now, it really doesn't tell me anything I don't already know,
and is far worse than the traffic report on local radio.

Labels: ,

Laptop Dilemma

Way back in 2003, I bought a Sony PCG-V505AX laptop [pcworld.com]. It's been great -- it's small, light, and is fast enough when booted into Linux.

On the other hand, it's ridiculously slow in comparison to anything on the market now. When I try to run a simulation, I almost can't tell whether it is running reeeeally, really slowly, or whether it has locked up. The video card is so slow that I can't run any games, basically. I used to play Neverwinter Nights [wikipedia.org] on it, and it was a little choppy... as long as there weren't too many other people in the game at the time (at which point the machine was just wholly inadequate).

The battery has aged to the point where I can only run for 10 minutes without having it plugged in. And my wireless card just died (at least, I hope that is what happened, and that it is not a larger problem). Not surprisingly, the lack of wireless isn't a huge deal, since I can't run off of batteries anyway.

So, I'm faced with a dilemma now. I could buy a new one, or I could buy a new battery and wireless adapter for my current machine, and limp it along for another year or two.

The decision is made even more difficult by current laptop prices. If they were any cheaper, I would definitely buy a new one. If they were any more expensive, I would definitely wait. Maybe I'll wait to see if I can score a deal right after Christmas...

Labels: ,

PDFCreator

On Nelson's Weblog [somebits.com], I saw a link to PDFCreator [pdfforge.com], which is a free tool to print files to a PDF.

Previously, I had some experience with PrimoPDF [primopdf.com], but really didn't like it because it didn't render images nicely. The image rendering is important to me, because most of the documents I want to send to others have some sort of figure or picture in them. Otherwise, I wouldn't need to create a PDF -- I would just send text.

Heimlich and I have been looking for a new free PDF tool to use at home, where we only need to make PDF files occasionally. So, we'll be evaluating it, and I'll probably be writing a review post here soon. So far, it seems to render images better than PrimoPDF.

And of course, I still use FoxIt PDF Reader [foxitsoftware.com] to read PDF files at home.

Labels:

@$&@* Debian Kernel Packages!

Self, you are an idiot. There should be licenses required to operate computers, so that yours could be revoked. Repeat after me: Set the status of kernel packages to hold. Set the status of kernel packages to hold.

On my primary machine (which happens to be a laptop), I am running Debian Etch (which earlier this year became the Stable branch, after long being the Testing one). For years, I have been using apt-get to handle package management, but it is quickly losing it's luster in my eyes. I liked it because I could type:

# apt-get upgrade

and it would go through and automatically update all of the packages I had currently installed to the latest versions. The problem is that every time a new kernel image is released, it totally hoses up stuff for the custom kernel that I have compiled. So, I end up having to download the newest kernel source and compile another custom one. Which just seems like too much work (although getting the latest kernel source is good), and I wouldn't have to do all of that, if I would just remember to set the status of those packages to hold (which tells apt not to download and install the newest version). Mental note, to set packages to hold:

echo "package_name hold"|dpkg --set-selections

This would be so much easier if I would stop trying to do all of my package management at the command line...

Labels:

My Lax Password Security Procedures

Like everyone else, I don't change my passwords often enough.

Most of the time, it's ok. I mean, most of the passwords are to things like message boards and whatnot. So, if someone manages to get my password and starts posting as me, who cares? I'm sure that everyone who knows me through a message board already thinks that I'm an asshole...

But then there are passwords that I use when checking email, changing my server settings, checking my credit card statements, etc. I'm actually relatively paranoid about those -- to the point where I don't even trust Firefox's password manager to handle them (which, unfortunately, is a fear that is not unfounded [slashdot.org]). But I still don't change them often enough.

I think that I know part of the problem. For the longest time, I have been relying on my (terrible) memory to judge when each password should be changed. And because of the uncertainty of when they were last changed, I tend to wait too long until the next change. So, from now on, I am recording the date when each password was last changed, which will hopefully encourage me to change it more often.

Labels:

Windows Vista Content Protection

I'm a little behind the curve on Windows Vista, because I have no intention of installing it on any of my computers in the near future. Recently, I saw a link to this article [auckland.ac.nz], which goes into detail about how the content protection schemes in Vista work, and how they will affect users. Undoubtedly, many of you readers have already seen similar articles. What sets this article apart is the level of detail and how comprehensive it is. Having no experience with Vista and not being a software developer, I'm not sure that I have the best background to evaluate whether the author is being needlessly alarmist, though...

This paragraph should give you the gist of the article:
"Vista's content protection mechanism only allows protected content to be sent over interfaces that also have content-protection facilities built in. Currently the most common high-end audio output interface is S/PDIF (Sony/Philips Digital Interface Format)... Since S/PDIF doesn't provide any content protection, Vista requires that it be disabled when playing protected content..."
Here's how Microsoft will enforce hardware manufacturers playing ball with their schemes:
"Once a weakness is found in a particular driver or device, that driver will have its signature revoked by Microsoft, which means that it will no longer be fed anything considered to be premium content. What this means is that a report of a compromise of a particular driver or device will cause all premium content-handling ability for that device worldwide to be turned off until a fix can be found. "

Labels:

OS X Mouse Acceleration Problem

On Adam's weblog [livejournal.com], I caught a link to this article [tidbits.com] which describes the problem with the way that Mac OS X accelerates the mouse pointer.

I used to have to do a lot of video editing at work. And for that purpose, we had a G5 available. That was really my first in-depth experience using OS X. I had to use it all of the time. And I always had problems getting the mouse pointer over what I wanted to actually click on. First, I would way overshoot the target, and then it would take me forever to stabilize the pointer over the icon (or whatever I was trying to click).

The article explains:
"For mouse motion to feel natural (at least for most people), the [pointer acceleration] curve has to start by moving upward fairly moderately, then gradually flattening out as the value of X increases. Mac OS X's, curve, however, starts off by being too steep, staying too steep for too long, and then flattening out too abruptly. In practical terms this means that, frequently, as a user tries to use the mouse to move the pointer from point A to point B, the pointer motion feels sluggish. The user then tries to compensate for the sluggishness by moving the mouse faster, and the pointer suddenly goes flying across the screen and overshoots point B."
That feeling was incredibly annoying, and really gave me a negative feeling about OS X (along with all of the other annoying things about it). But I could never put my finger on what was wrong with the acceleration. But I had that problem, no matter how I adjusted the pointer speed. And for supposedly being such a user-friendly environment, you sure had to go through a ton of hassle to fix it.

Labels: ,

Stupid Windows Explorer

Whenever I'm booted into Windows, I always have a Windows Explorer window open:


I find that it is nice to quickly be able to switch windows to look for a file, or to transfer something, or whatever.

One of my biggest peeves with Windows Explorer is that the Undo doesn't always work. Occasionally, when I am typing on a laptop, the palm of my hand brushes the touchpad and causes some unexpected things to happen. For instance, sometimes a directory will be grabbed from the Windows Explorer window, and then dropped who-knows-where. And of course, the default in Windows Explorer is to move the directory if the target is on the same volume. And since I wasn't intending to copy or move a file, I have no idea what was moved, or where it was moved to.

So, now I have a misplaced directory somewhere on my hard drive, and I pretty much have no idea how to find it so that I can move it back. Naturally, the first thing I think to do is to hit the Undo button, but it doesn't allow you to undo that action.

Why the hell not?

Labels: ,

Internet Exploder Sucks Balls

I frequently run into people who only use Internet Explorer 6. I can't understand it. When people ask me for help with their computer, and I see that is what they are using, my first thought is that is their problem. Not only is it a huge security headache and an entrance point for all kinds of crap into their computer, but it doesn't have any of the features or enhancements that have been created over the past few years.

For instance, Firefox now has a built-in spell check, which checks in real-time:


Regardless of any other feature or security enhancement, I would switch just to get that. To me, using IE 6 is like going back to using a version of Office which didn't have a real-time spell checker.

I can't figure out why more people haven't switched.

Labels:

Stupid Windows

One of the other things that took up all of last weekend was reinstalling the Windows installation on one of my computers.

I think that I've mentioned this before [fluggart.com], but on every computer that I have that runs Windows, I reinstall it about once a year. Windows just accumulates all kinds of cruft, and reinstalling maintains optimum performance.

To speed things up, I make a backup of a clean installation of Windows on that computer. When I want to reinstall, I just wipe the hard drive, and copy the backup back onto the clean partition. That way, the actual OS part of the reinstall takes about 5-10 minutes, instead of the hour that it takes to actually reinstall through the Windows installation media.

The thing that makes the process take forever it reinstalling all of the applications. Now, you're probably wondering why I don't just back up the Windows installation after I have installed all of the most common applications. There is a reason why. It's because there are always new versions of all of the things that I use by the next year. So, I end up reinstalling the clean install of Windows, and then going straight for the install of the newest versions of all of the applications, which reduces cruft.

Plus, the applications that I use change so rapidly from year to year. When I make the backup in the first place, there is no way for me to tell if any of this crap is really going to be useful to me a few years down the line (assuming I'm still using the computer).

I just keep thinking that there has to be a better way to go about this process. It would be great if Windows didn't need to be reinstalled every year, but I don't see that happening. It seems like everyone else gets around the problem by buying a new computer every time theirs needs to be reinstalled, but that goes against everything that I stand for...

Labels:

Old Computer Tech

On Adam's weblog [livejournal.com], I saw a link to an interesting post on Coding Horror [codinghorror.com]. It has pictures of one of Google's first custom built production servers.

I was very interested in seeing the pictures, because I'm a computer nerd. But also, I remembered reading lots of stories [baselinemag.com] about why Google would custom-build thousands of their own racks in the first place. Back in the day, data centers would charge customers by the square foot -- thinking that you could only put a certain number of computers in each square foot. But what Google's founders did was take cheap-assed commodity hardware, and built custom racks that could pack several times that number of computers in the same physical space. Genius.

Seeing all of those warped motherboards attached to corkboard reminds me the computer I used as my first "server" (although that is way too grandiose a term). I had an extra ATX motherboard, but the only extra case I had lying around was an AT desktop case. So, the motherboard just sat on the bottom of the case, not actually bolted to anything. And I had some paper lining the case to prevent shorts. *sigh*

Anyway, seeing that old hardware really brings me back. The post on Coding Horror also has a lot of good information. Check out the commentary on Dell, which I think is right on.

Labels:

Secure Apt

The following post is really only for my reference -- so that I remember what the story is the next time I have this issue. But I'll include some backstory in case anyone else is curios as to what I am talking about.

In Linux, one easy way to install new software is to download a package -- which is a bundle that is in a standard format, which can put the files in the appropriate places, put shortcuts where you would expect them to go, etc. It's similar to downloading an .exe for Windows machines. One advantage to the whole package management thing is that all of the packages can generally be found at one (or a small number) of package mirrors. If you wanted a program that could organize your pictures and automatically upload them to Flickr [flickr.com], you could just go and search for all of the packages that are available, and then install the one you want. Your package manager will the install any library files or anything else that your new software is dependent on.

Another advantage is that when you want to look for updates for your software to fix bugs or security holes, you can update everything at once with the same system and very few commands. You would just have your package manager compare the versions of the software you have now with the versions of the software that reside on the package mirrors, and download the ones that are newer than the ones you already have.

Recently, when updating the package list in my installation of Debian Etch (testing) [debian.org], I have been receiving errors about not being able to verify the signatures of some of the packages I have wanted to update.
# apt-get update
W: GPG error: http://security.debian.org etch/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1
Here is how to manually add the appropriate key to the Advanced Packaging Tool's (apt's) list of verified keys... First retrieve the appropriate key from a keyserver (the key ID is listed in the error) and add it to your own keyring:
$ gpg --keyserver pgpkeys.mit.edu --recv-key A70DAF536070D3A1
I'm not a sudoer on my own machine, so transferring the key between keyrings ends up being a two part process. First, export the key from my keyring into an armored ASCII file:
$ gpg -a --export A70DAF536070D3A1 > A70DAF536070D3A1.asc
Then log in as a root user, and add the key to apt's list.
# apt-key add A70DAF536070D3A1.asc

Labels:

Random File Copy, Part 2

Last week, I posted about how I wanted to figure out how to automate the process of being able to select a few random files from a directory and copy them someplace else.

First off, thank you to everyone who responded. I received a lot of good suggestions, which I am now trying to utilize. We'll see what I end up with. I also got emails from people that I didn't know were reading this. So, that was fun. People actually read this?

Almost everyone that emailed me had the same question - generally variants of:
"What kind of weird crap are you up to, where you would have the need to frequently copy files, but don't care which ones they are? Are you some sort of sick, sick, sicko, or is this just another one of your weird projects, where you try do weird crap for the sake of being weird or difficult?"
Anyway, the answer is, that I want to automate the process of synchronizing my Personal Media Player (PMP). I'm starting to get to the point where my music collection exceeds the capacity of my new player. So, I would like to have an automated process for deleting a portion of the music on the PMP, and then select songs at random to replace those.

That's it. There's nothing weird going on. And having to use Matlab to synchronize my PMP seemed excessively nerdy.

Labels:

Random File Copy

I am going to describe a problem that I am trying to solve. If you have a solution that you can suggest to me, please email me.

Let's say that I have a bunch of files (say, 100 or 1000) in a directory. And I want to copy a few (say 10) of those to another directory. But I want to have those 10 chosen at random. And I want to be able to perform this action frequently in Windows, so I want it to be automated.

Does anyone have a suggestion for how to do this? All of the "programming" I have been doing recently has been in Matlab. And I think I have an idea for how to perform this action in a script using Matlab (although I'm not exactly sure). But I don't want to have to fire up Matlab all of the time just to copy a bunch of files. Right now, that's my plan B. One advantage to using Matlab is that I could use one command and get a list of all of the files in the directory (eliminating half the work):
listoffiles = dir('c:\temp');
I tried to figure out how to implement this in a .bat file, but I quickly became confused with .bat file programming.

I could also break out my C/C++ books and figure out how to write this function. One advantage to using C is that I could compile the program into an .exe. Then I could execute the .exe without having to load a huge thing into memory (unlike Matlab).

Anyone have any ideas?

Labels: