Which sportscar are You?
http://www.tomorrowland.us/sportscar/
|
Editing A Scanner Darkly
Nothing about Rotoshop. I must say I'm surprised it was cut on Avid. But nevertheless, here's a look at how they pulled it off.

|
Turn Web Performance Cache Off!
The documentation says it's only good for static content anyways. The weird port 16080 is weird too.
The docs also said to put static stuff on a different vhost and enable cache on that. Pretty cool idea.

|
Email Addiction
It seems I'm not alone


|
Find out Correct Base Install Permissions
Found this little nugget of information while going through the Package Maker help:

lsbom -p MUGsf /Library/Receipts/BaseSystem.pkg/Contents/Archive.bom
|
World's Highest Standard of Living
An ironic photo taken during the Great Depression.

|
"Computer Randomly Plays Classical Music"
http://support.microsoft.com/default.aspx?scid=kb;en-us;261186
|
Make sure to quit your editor!
I've noticed that if you just disconnect without first closing nano, it will be eating up all your CPU the next time you connect. I've seen this on alot of different servers with 10.4.x.

This might be OK with other editors, but is still a good thing to keep in mind.

|
Search & Replace with nano!
This is the coolest thing:
Ctrl - R - string to search, enter, to replace, + a
boom.

|
Apache VirtualHosts
Was finally able to have the same site respond to different aadresses differently:
http://httpd.apache.org/docs/2.0/vhosts/examples.html

Just check /etc/httpd/sites/virtual_host_global.conf and make sure it looks like what's described in the article. Rearranging them in the Sites list also seems to help.
|
Warming
Maybe there's something to global warming after all: BBC NEWS | Science/Nature | Drastic shrinkagte in Arctic ice
|
SQLite 3.3.7 Package
Available here. Universal, no TCL extension.

|
Subversion 1.4 Package
Available here. Built as Universal binary. Also includes SVN book PDF. Installs into /usr/local, no Apache support (wouldn't work with 1.3 anyways).

|
A Random Quote For Site Slogan
window.onload = function()
{
var quotes = ["I wanna be a racecar passenger.", "Alright, you're a cook - can you farm?"];
var i = Math.floor(Math.random()*quotes.length);
document.getElementsByTagName('h2')[0].innerHTML = '"' + quotes[i] + '"';
}

Don't forget to add blank lines before and after the JS!
|
A Teacher's Pet
Punk made it to the Staff Favorites list. It will also be included on the cover CD of Univers Mac, a French Mac Magazine! Thanks!


tp

|
Tiger Server Administration eBook
http://www.oreilly.com/catalog/macosxtigersa/

|
nmap and wget packages
Binaries as PKG available here and here. Both universal.

Making them was really easy. Just create a sparse image, and ./configure with --prefix=/Volumes/MyImage
Then set that as the root in PackageMaker and check perms etc.

|
Programming Quotations
I like quotes. There's something about them - they're kinda like crystallized ideas if you will:

http://www.eskimo.com/%7Ehottub/software/programming_quotes.html

|
sortUsingSelector
After spending 4 days with the problem of sorting an array of NSDictionaries (!!) using every kind of method imaginable, I finally found the solution:

You can't use sortUsingSelector because that operates on the object in the array (in this case an NSDictionary). That explains the countless ("[CFDictionary compareScores] selector not recognized etc...") I was getting. Phew

So use sortUsingFunction instead. And as the guys at cocoadev so eloquently showed:
int someSort (id obj1, id obj2, void *context)
{
return [[(NSDictionary *)obj1 objectForKey:(NSString *)context] compare:[(NSDictionary *)obj2 objectForKey:(NSString *)context]];
}


Where "context" is the NSDictionary key you want to sort by.

|
HIFF 2006 Coming
Time to start compiling a list:
- A Scanner Darkly
- The Science of Sleep
- Art School Confidential
- Borat: Cultural Learnings of America for Make Benefit Glorious Nation of Kazakhstan
- Tonari no Totoro

|
Empty Trash from Automator
You'll notice there's no "Empty the trash" Automator action. There are those who will try to sell you this action. But why?
Add Automator > Run AppleScript action and:
tell application "Finder"
empty trash
end tell

Can I have some money now? ;-)
|