sciencevsreligion.jpg (image):

Thanks, Steve!
So my Downloads folder was getting a little messy, and I’m a file system fascist, so that just didn’t sit well with me. DOWN WITH DISORDER!
I initially tried my hand at an Automator-generated Folder Action, but I found that as soon as Firefox starts saving a file, the AppleScript would launch as an application, taking the focus away from the browser, run for about 5s, then quit, but not return focus to the front-most browser window. Since I only ever use one browser window, this was doubly annoying.
Having mucked about with OS X’s launchd, I thought, “Why don’t I just create a stupid shell script that does this whenever my Downloads directory is modified?”
I give you… SortDownloads.
Now for the caveats.
#! /bin/bash
# Some silly variables
ho=’/Users/dork’
dl=$ho’/Downloads’
db=$ho’/Dropbox’ # http://www.getdropbox.com/ (srsly)# Now move all sorts of stuff into folders
mv $dl/*.mp3 $db/Misc/
mv $dl/*.iso $dl/*.dmg $dl/DiskImages/
mv $dl/*.mpg $dl/*.mov $dl/*.avi $dl/*.flv $dl/*.mp4 $dl/Media/Movies/
mv $dl/*.pdf $dl/*.doc $dl/Media/PDFs
mv $dl/*.jpg $dl/*.jpeg $dl/*.gif $dl/*.png $dl/tiff $dl/Media/Images/
mv $dl/*.zip $dl/*.gz $dl/Zips
So that will do the sorting, and you can run that from the command line whenever you want to, but the real beauty is having launchd run it for you whenever the Downloads directory changes. There’s a great OS X app called Lingon that’ll make them for you, and here’s what the result looks like.
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
<key>Label</key>
<string>com.macdork.SortDownloads</string>
<key>ProgramArguments</key>
<array>
<string>/Users/dork/Documents/Tech/Scripts/SortDownloads</string>
</array>
<key>QueueDirectories</key>
<array>
<string>/Users/dork/Downloads</string>
</array>
</dict>
</plist>
This file ends up in your Library/LaunchAgents folder (/Users/dork/Library/LaunchAgents), and for simplicity, Lingon tells you to logout/login for the change to take effect, but you can open Terminal and run this command to do the same thing:
launchctl load ~/Library/LaunchAgents
That’s it! You’re good to go!

This would’ve been way way way more if the scrobbler worked for my iPod, but with iPhone scrobbling, it’s going up pretty steadily. Audiobooks aren’t counted, and podcasts take up 1-2 hours sometimes, so I’ll be going a bit slower than some, I think.
I think it was Beirut that put me over the top. Nice.
Dear Britain –
jk, lulz. take us back? kthxbai :)
ur bff,
America
Trophies are a go — in-game messaging? Go.
The only regrets I have are that
I finally bought a DualShock 3 last week, and it’s amazing what a difference it makes. The controller finally feels like it’s the proper weight, and the feedback is exactly what I’ve been missing.
Technorati Tags: controller, gaming, PS3, console, uncharted
I know JohnBoy’s gonna love this news :)
Chrono Trigger Coming to Nintendo DS:
One of the most loved RPGs coming to the Nintendo handheld.
By Sam Kennedy, 07/01/2008
See that image? It’s a screen capture of the Square Enix countdown page for Chrono Trigger for DS. How do we know? Well, the ctds (Chrono Trigger DS) in the page’s URL, not to mention the emblematic Chrono series clock imagery, are pretty telling. It also doesn’t hurt that scans from the Japanese magazine Jump confirming the game have just started hitting the web. So yeah, after being rumored for quite some time, Chrono Trigger is headed for the DS. And it appears to be a port of the original game, not a remake.
Those of you who’ve played the original no doubt know of its greatness (it’s my personal favorite RPG of all time), but for those of you who haven’t, check out this recent episode of Retronauts or this Chrono Trigger club to get a better understanding of why it’s so loved. So while Chrono Trigger for the DS isn’t exactly the Chrono news fans have been hoping for these past few years, I’m still pretty stoked. How about you guys?
Let’s cut to the chase: 9.23.2008, an entired disc of extras, $120.
Pre-order now, suckas.
‘Godfather’ Coming to Blu-ray | High-Def Digest:
Due on September 23 (day-and-date with a new standard DVD re-issue), ‘The Godfather Collection’ contains all three installments in the epic saga — ‘The Godfather,’ ‘The Godfather Part II,’ and ‘The Godfather Part III’ — each painstakingly restored by the team at Zoetrope Studios in what is being dubbed “The Coppola Restoration.” Enjoying a frame-by-frame remaster under the auspices of filmmaker Francis Ford Coppola and restoration supervisor Kim Aubry, the project reportedly took a year to complete and was recovered using freshly-minted source materials.
Extras on each of the three individual film discs in the set include audio commentary with director Francis Ford Coppola.
Word is, the 480 that Nissan’s claiming is actually closer to 580. Like whoa.
Is Nissan lying about GT-R horsepower? Pretty much. – Autoblog: