TIP: Final Cut Pro Tip: A Faster Way to Do a Roll Trim

Posted on February 26, 2011 by David Hilowitz

“Roll trims are my bread and butter. Here’s how to eat faster. Select an edit point. Put your playhead where you want the selected edit point to move and press E. The selected edit point jumps to the position of the playhead—provided you have asufficient handles in your media.

This is essentially a Roll trim in real time.”

Source: Final Cut Pro Power Skills: Work Faster and Smarter in Final Cut Pro 7

TIP: How to make .htaccess files work on OS X 10.5

Posted on January 23, 2011 by David Hilowitz


To make .htaccess files work as expected, you need to edit /etc/apache2/sites-available/default. Look for a section that looks like this:

        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                # Uncomment this directive is you want to see apache2's
                # default start page (in /apache2-default) when you go to /
                #RedirectMatch ^/$ /apache2-default/


You need to modify the line containing AllowOverride None to read AllowOverride All. This tells Apache that it’s okay to allow.htaccess files to over-ride previous directives. You must reload Apache before this change will have an effect:

sudo /etc/init.d/apache2 reload


TIP: How to get “anonymous” class functions to show up in Safari’s JavaScript Profiler

Posted on November 18, 2009 by David Hilowitz

I’ve been developing a JavaScript module for some graphing work I’m doing. I’ve been using Safari’s built in profiler to figure out which functions are wasting the most CPU. It’s a great tool:

The Safari 4 JavaScript Profiler before I correctly declared my class's member functions

For the longest time, I was running up against this one problem: some of my member functions were being listed simply as “(anonymous function)” in the Profiler function list (see highlighted row above). Not cool. (Luckily for me, the Profiler also lists the .js file and the line number, so it wasn’t that hard to figure things out, but certainly annoying nonetheless.)

Anyway, I’ve finally found a solution. You see, I was declaring my class functions as follows:

Grafsz.prototype.ClearCanvas = function() 

…notice how I’m not giving my function a name? I’m basically assigning an anonymous function to a member variable of the class. All I had to do was change it to

Grafsz.prototype.ClearCanvas = function ClearCanvas()

That’s it. Check it out:

Safari 4 JavaScript Profiler after I had correctly declared my functions

TIP: The Google Reader “Next >>” Button

Posted on July 21, 2009 by David Hilowitz

Do you use Google Reader?

Well, I can’t start my day without it.  Every morning as my first order of business I log in and read a couple local news stories while I’m drinking my coffee. After that I check out what’s going on with the art blogs I follow, then the gadget blogs, etc. Invariably, I’ll see at least five things that are simply too arresting to pass up. For those I’ll spawn new tabs and windows and I’ll keep them open for browsing later in the day. This ritual has become such a part of my life that Google Reader has now eclipsed StumbleUpon, which was previously my number one way of finding out about new stuff on the internet.

This being the state of things, it was with great pleasure that I happened across the “Google Reader :: Next >>” bookmarklet. This little button at the top of my browser solves two problems I never realized I had. First off, it allows me to view my RSS feeds in the context in which they were originally intended to be seen, i.e. on the blogs from whence they originated. Second off, because I have such a wide breadth of different blogs, I have a nasty habit of going through my RSS feeds and picking and choosing content based on the titles and first few words of each posts.  This leads me to ignore things that would be interesting to me in favor things that I think will interest me . Often the two are not the same. (For example, I don’t think of myself as someone who is particularly interested in features having to do with Google Reader although, yet here I am writing to you about one right now.) Clicking the “Next” button forces me to see content that I would otherwise have filtered out and in so doing it allows us to once again experience the joys of random, StumbleUpon-style browsing.

So that’s it. Easy to install (just drag the link from your Google Reader Settings page to your browser’s Favorites bar), a pleasure to use, without further ado I give you the Google Reader “Next >>” Button.

TIP: “Google Analyticator” Plug-In for WordPress

Posted on June 21, 2009 by David Hilowitz

We frequently use Google Analytics to track the readership of the blogs we design and create. Fed up of having to configure Google Analytics tracking code over and over again for each new theme we create (and we’ve done this for a lot of themes over the years), we finally decided to search for aWordPress plug-in to do it for us.

In comes “Google Analyticator.”

Not only does it add the Google tracking code to the bottom of your posts, but it also has a ton of other features like outbound link tracking, download tracking, turning itself off for Admin users, etc. A lot of these features are things we actually developed custom solutions for back in the day so it will definitely be interesting to see how they stack up.

Check it out: http://wordpress.org/extend/plugins/google-analyticator/

TIP: How to find the full URL of a file within your Application’s Bundle

Posted on June 19, 2009 by David Hilowitz

iPhone Icon 79 x 130This is an iPhone Programming tip. Say you want to find  the full URL of a file within your Application’s Bundle (mainBundle), here’s how you would do it. Example: This would return the full URL of a file named “Sound2.caf”:

NSString *path;
path = [[NSBundle mainBundle] pathForResource:@"Sound2" ofType:@"caf"];
fileURL = (CFURLRef)[NSURL fileURLWithPath:path];

TIP: Horizontal Split Screen in NotePad++

Posted on June 17, 2009 by David Hilowitz

Apparently it’s possible to get horizontal split screens in Notepad++. Check it:


(Thanks cocinerox!)

« Newer Posts