{ column_width:57, column_count:13, subcolumn_count:0, column_gutter:17, align:'left' }

Archive for January, 2005

Backups

a Flickr photo shareHaving read a few recent posts from “Andy Budd”:http://www.andybudd.com/archives/2005/01/backup_solutions_for_os_x/ and “Jason Kottke”:http://www.kottke.org/05/01/narrowly-avoided-catastrophe, I’ve grown suddenly worried about the prospect of losing my Powerbook’s _data_. For the past couple of years, I’ve manually backed up critical files to CD, but I was lucky if this got done _once_ per year…

After briefly flirting with DVD archiving (thanks for your help “Jason”:http://www.circa1973.net/bossanova/), it was clear that this would be only slightly less annoying than CDs. And, web servers offer even less disk space…

No, I decided that it was time to set up _scheduled_ backups, to hard disk.

First, I started with an old Dell Desktop, which we set up in our litter-box closet. We bought a USB Wi-Fi “G” adapter to connect the PC (and our printer) to the network. I should also mention that I added an 80GB internal drive…

With the hardware in place, I decided to use “Déj? Vu”:http://propagandaprod.com/dejavu.html to run the backups — this app does everything a backup app should do, but I like the way it is integrated in System Preferences, as a _preference pane_. It’s lean, clean, and fits well into the OS.

After an hour or so of Setup, I’ve got scheduled weekly backups of my _user_ directory, starting tonight at 3am…

I know that I’ll sleep more soundly!

links for 2005-01-30

links for 2005-01-29

Weighted Category Lists

After a few “site tweaks”:http://ned.suckahs.org/archives/002706.php earlier in the week allowed me to implement new categories in this weblog, I decided to add weighted category lists, much like “Flickr”:http://www.flickr.com/photos/tags/ & “Technorati”:http://www.technorati.com/tag/.

I modified an example given by “hitormiss”:http://www.hitormiss.org/projects/weighted-categories-for-movable-type/, which looks like this:

==

<?php
$minfont = 1;
$maxfont = 5;
$fontunit = "";
<MTCategories>
$catlinks{"<$MTCategoryLabel$>"} = "<$MTCategoryArchiveLink$>";
$counts{"<$MTCategoryLabel$>"} = <$MTCategoryCount$>;
</MTCategories>

$spread = max($counts) - min($counts); if ($spread <= 0) { $spread = 1; };
$fontspread = $maxfont - $minfont;

$fontstep = $spread / $fontspread; if ($fontstep <= 0) { $fontstep = 1; };
foreach ($counts as $catname => $count)
{
$catlink = $catlinks{$catname};
print "<a href=\"$catlink\" title=\"$count entries\" class=\"cat".
ROUND(($minfont + ($count/$fontstep)))."\">$catname</a> &nbsp;\n";
}
?>

==

[You can also download it in a "text file":http://ned.suckahs.org/junkie/weighted_categories_template.txt]

Put it in your Moveable Type archive template, and you’re good to go. It will write 5 CSS classes — cat1, cat2, cat3, cat4, cat5… (of course, you’ll have to define those in your stylesheet!)

You can head over to my “archives”:http://ned.suckahs.org/monthly.php page, to check out the implementation. (Notice that the 5 largest categories are the original 5… i will be classifying old entries in the next couple of days…)

(I apologize if not all the code is viewable here — I suggest you highlight and copy/paste to a text editor, which should work)

links for 2005-01-28

The Bravery @ TTs

“mic stand 2″, posted by nedward

On Tuesday, we checked out NYC’s latest hyped offering, “The Bravery”:http://www.thebravery.com/, at “TT’s”:http://ttthebears.com, and it only cost $8. Labeled by the BBC critics as the “Sound of 2005″:http://news.bbc.co.uk/2/hi/entertainment/4097433.stm, it looks as though they have a shot at living up to the hype.

Usually a staid Cambridge crowd, TTs was absolutely electric… check out my “photos”:http://www.flickr.com/photos/nedward/sets/97028/.

links for 2005-01-27