Archive for August 6th, 2012

Obit watch: August 6, 2012.

Monday, August 6th, 2012

This was on FARK’s entertainment tab over the weekend, but I wanted to make note of it here as well.

De’Andre McCullough, one of the pivotal characters in David Simon and Ed Burns’ book The Corner: A Year in the Life of an Inner-City Neighborhood, died of an overdose last Wednesday.

I’m not sure what else I can say about this, other than to recommend the Simon and Burns book if you haven’t read it. There’s a surprisingly decent discussion going on in the FARK comments thread.

And for what it may be worth, here’s De’Andre as Lamar in “The Wire”:


Edited to add: I couldn’t pull this up before, but David Simon has a nice post on his blog.

Lessons learned.

Monday, August 6th, 2012

So…somebody I know was having problems with their netbook running Ubuntu.

The somebody in question decided (for good and sufficient reasons) that part of the problem might be due to them having done several upgrade installs of recent Ubuntu versions which left cruft on the system. This somebody thought the best thing to do was to make a backup of /home, reformat the box, and reinstall Ubuntu 12.04 from scratch, blowing away all the existing data and partitions.

Which they did.

The somebody in question had a MySQL database on the box that had somewhere around ~2,500 records in it. It was a fairly simple database, probably overkill for MySQL: one table, a few columns.

It turns out that MySQL doesn’t store databases in /home. MySQL stores databases in /var/lib/mysql by default, and the somebody in question never changed the default. (This vaguely makes sense if you think about it; after all, MySQL is intended to be a multi-user database, so why would you store databases under an individual user’s home directory by default?)

The somebody in question found this out after blowing everything away. And, of course, the somebody in question only backed up /home.

Fortunately, the database isn’t that important, and much of the data on it can be recovered from older .CSV files that were used to import the data into MySQL.

But next time, the somebody in question is going to backup every damn thing, not just /home.

The somebody in question is also going to try to get out of the habit of making assumptions about where things are stored.