Tuesday, December 06, 2011

Right, blow this, I'm off...

This will be A Fading Tan's last post on Blogger. Basically I've had it. Blogger is shit.

I've been keeping the blog here — and letting enthusiasm whither — for the worst of all possible reasons: a single post had decent SEO standing.


— I think that means a single post was any good.
— Too harsh. A couple of other posts did help people.


Anyhow, I can't be wasting energy on a platform I'm not interested in. I'm moving to a simple weblog generator called Pelican. I will be contributing on GitHub.

A Fading Tan's animus will continue on noumenal.co.uk. In the meantime there's Twitter.

Thursday, December 01, 2011

Metaphorically, this is me:


↵ Use original player
YouTube
← Replay
X
i

If you're a software developer, then it's you too.

Technology moves forward like a giant wave. There is so much to learn that we must paddle like crazy (or get a tow!) just to get on the wave. Then we must work like crazy to stay on it.

With luck we won't fall off.


[UPDATE: Hmmm. The YouTube Embed doesn't seem to be working. Not sure why they put it there if it's not going to do anything. Anyhow, the video is only short if you've got 2 minutes whilst your build runs.]

Monday, August 15, 2011

Okay, finally done it

Despite the sparsity of posts, I've had this blog since the Dark Ages. It had a really old template that I'd hacked around so much that I couldn't upgrade it, to use all of Blogger's great new features.

It also looked shit. Pro tip: don't edit a Douglas Bowman template, just use it.

Anyway, I finally chucked away the old edits and started afresh.

Thursday, April 07, 2011

Cloning Beanstalk Repositories

I use Beanstalk for private git (and svn) hosting. I must say it's great, but I always forget to use the SSH Config name rather than the full hostname when trying to clone repositories for the first time.

Note to self: it's...

    $ git clone git@beanstalk:/repo.git
!

Tuesday, January 04, 2011

A Totally Barebones Guide to Getting Started with Git on a Mac

Disclaimer: This is a type first and work it out later guide created specifically to allow me to get collaborators started quickly. If you actually need to know about Git, check out the documentation! (You could do worse than Travis Swicegood's book, Pragmatic Version Control Using Git.)

Preamble

Git is a version control system. (It's software.) It allows you to track the history of the project you're working on. In essence you store each and every change made to any of the project components. With this you are able to recreate the state that the project was in at any point in its development. It's easier to use than it sounds.

Using SOME kind of version control is vital. Absolutely guaranteed, you will repeatedly need to undo some balls-up or other, and without version control you are pretty much stymied. Using version control also aides in collaboration, our current endeavour.

Bottom line: always use version control.

At Noumenal we primarily use Git. The (main) other versions control systems you'll hear about are Mercurial and Subversion. (There are others.) It doesn't really matter which you use. Git and Mercurial are newfangled "distributed" version control systems. This doesn't matter either.

Installing & Configuring Git

First visit the OS X installer downloads page on Google Code. Click the "Download the packages here" link right below the Git logo.

Assuming you're running Snow Leopard, OS X 10.6 or greater, you'll need the .dmg file with the x86_64 in the name. (This is the 64 bit version for the Intel processor based Macs, which yours is.) Versions change but the latest as I write is git-1.7.3.3-x86_64-leopard.dmg. Download this. Run the installer.

Now you'll need to open the Terminal application. (Welcome to my world.) Click on Spotlight (or hit command-space) and type 'terminal' to bring up the application. (It lives in /Applications/Utilities if you're concerned.) Once it comes up you can check that everything went to plan:

$ git --version
git version 1.7.3.3

The '$' is your prompt. This is configurable so it might be different. [What is the default bash prompt on OS X?] You type the suff in bold, exactly as is. You get the output below.

As a final step you just need to tell Git who you are and what your email address is. We're also going to set one other flag as you may not come this way again for a while:

$ git config --global user.name "Carlton Gibson"
$ git config --global user.email "support@noumenal.co.uk"
$ git config --global color.ui "auto"

Obviously put your own details in here.

One initially disturbing thing with the UNIX command line is that successful commands very often have no output. This is a virtue but it can take some getting used to. So how do we know our configuration commands worked?

$ git config --global --list
user.name=Carlton Gibson
user.email=support@noumenal.co.uk
color.ui=auto

You're done.