Git – it’s just that simple

Monday, February 9th, 2009

sudo port install git-core +doc +gitweb +svn +bash_completion

The above is my command-line command of the day.
I’ve been doing some research over the weekend, reading up on all the current source control systems
(for which, by the way, there is no consistent acronym. The closest I can find now is DVCS – Distributed Version Control System)
and have come to the conclusion that:

  1. The developer behind Shoes is one intensively creative fucker
  2. Git is as good as it gets

The kicker came when I found the script git-p4, which allows me to use Perforce at work in conjunction with all of git’s way-cool features!

What are these features you ask? Well, if you’ve ever heard of SVK, you will love git. Because git does what SVK does natively. And SVK is known to be like a castle on shifting sand in terms of stability. Git is rock-solid.

For the uninitiated (which would be most of you), SVK lets you check out code from a Subversion (svn) repository, and then do local-only checkins and checkouts. Then once you are happy with your changes (perhaps after 20 revisions, all tracked locally by SVK), you can “push” your changes to the main svn repo.

In the same way, git lets you “pull” changes from a central repo, do many modifcations, checking them in to git each time, and do a final “push” back to the central repo. Indeed, the concepts of “central” and “non-central” repos is not embedded into git. The central repo is only central by convention. All repos are equally “central”.

Uploading video

Sunday, October 19th, 2008

Luisa shot some video of her parents making some wine with a grape press and wanted them uploaded. So I went through a few iterations of encoding+uploading to see what worked best.

Pre-encoding files means you only upload about 1/10th as much, saving tons of time.

I used ffmpegX to encode and eventually found that just using H.264 mp4 encoding at the original size worked best, giving me the much-coveted “Watch in high quality” option on YouTube.
I’m uploading the videos to my YouTube account now,
and then I’ll upload them to my Vimeo account,
which shows them at much higher resolution.

Making Wine 2 from Reid on Vimeo

Warning: require_once(/home/clith/ failed to open stream: Permission denied in /home/clith/ on line 684

Fatal error: require_once(): Failed opening required '/home/clith/' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/clith/ on line 684