Saturday, November 24, 2012

Alberta Yellows - Photo 100 - Project 365


Alberta is amazing for its landscapes. Much of it is flat, and combined with roads surveyed before anyone lived there on even mile spacing, you can get roads that seem to go on forever. This picture was take in October (Thanksgiving weekend, actually) and so the grass was basically dead but the snow had yet to come, leaving this beautiful palette of yellows.
Model: Canon EOS DIGITAL REBEL XSi
Lens ID: EF-S 18-55mm f/5.2-33 IS
Exposure: 1/200 sec
Aperture: ƒ/10
Focal Length: 25 mm
Flash Used: No
ISO: 200
Filter(s): HOYA UV(0)
Date and Time (Original): 2012:10:08 16:32:44

Wednesday, October 24, 2012

Push a Hg Repo to GitHub

So the scenario is thus: There is a project that I want to contribute to that is a Mercurial (Hg) repository (or 'repo' for short). I've taken a liking to Git; GitHub in particular with their new and beautiful Windows frontend. So how do I take a remote Hg repo and push it to GitHub. As follows (the following assumes you have a Ubuntu box available to play with, although I imagine many Linux machines would work the same way):
  • So first, create your repo on GitHub. You don't have to do anything more with it at this time, just make a note of its name.
  • Next, add your machine's RSA public key to GitHub. I won't go through that here, but if you walk through GitHub's setup steps for Linux, it will explain all of this.
  • Ok next, install Git and Mercurial:
    $ sudo apt-get install git mercurial
  • Next, we install a little program that will link Mercurial to Git
    $ sudo apt-get install python-setuptools
    $ sudo easy_install hggit
  • Now, create a folder as needed (for example, an 'hgrepo' folder in your home folder)
    $ cd ~
    $ mkdir hgrepo
    $ cd hgrepo
  • Now pull down the existing hg repo.
    $ hg clone http://web.address.of.hp.repo/repo-name
  • I might make a subfolder and put your repo there. That's alright. Move to that new directory.
    $ cd new-hg-repo-folder
  • Now we're going to add the info we need to push to GitHub
    $ cd .hg
  • Find a file named "hgrc". Add the following lines:
    [path]
    git = git+ssh://git@github.com/your-username/your-new-github-repo.git

    [extensions]
    hggit =


    There will probably be a line in there pointing to your original hg repo. It's fine. Leave it there.
  • Now push your repo to GitHub!
    $ hg push git
If everything worked right, your repo should now be available on GitHub!

One issue I didn't address was contributor names. See the bottom of this page for an example of how to fix that.

This page on hg tip was also very helpful.

Monday, October 15, 2012

Cookies; Chocolate Chip! - Photo 99 - Project 365


This is one of those pictures you have to take right away or the subject will be gone! I also like to take pictures like this where I can play with the depth of field and what is and isn't in focus.
Model: Canon EOS DIGITAL REBEL XSi
Lens ID: EF-S 18-55mm f/5.2-33 IS
Exposure: 1/60 sec
Aperture: ƒ/5.0
Focal Length: 46 mm
Flash Used: Yes
ISO: 400
Filter(s): HOYA UV(0)
Date and Time (Original): 2012:10:15 17:01:43
P.S. The cookies were delicious :)

Sunday, August 12, 2012

Waterfall - Photo 98 - Project 365

Still in the National Parks between Banff and Jasper, I found this waterfall. The effect I was going for here was one of fluid motion - by setting a (relatively) long shutter speed (a tenth of a second, in this case), the motion of the water is captured. At the other extreme, with an extremely fast shutter speed, you can freeze a waterfall, making it look almost as if it had turned to ice in an instant.
Model: Canon EOS DIGITAL REBEL XSi
Lens ID: EF-S 55-250mm f/4-5.6 IS
Exposure: 1/10 sec
Aperture: ƒ/25
Focal Length: 74 mm
Flash Used: No
ISO: 100
Filter(s): HOYA UV(0)
Date and Time (Original): 2011:07:05 11:46:46

Project Update

So this is the end of my first batch of 'Project 365' photos - 98 photos that have taken over two years to be put up. I realize that is a far cry from the original plan of a photo a day for a year. I can blame part of the backlog on moving five times and the following periods without internet, but regardless, I am through that backlog. Now I can post pictures closer to when I take them and hopefully offer more meaningful commentary. In short, I look forward to posting more pictures here soon!

Saturday, August 11, 2012

Wild Rose - Photo 97 - Project 365

The wild rose is Alberta's provincial flower, picked by the schoolchildren not long after the province's creation in 1905. The flower is beautiful, but I rarely see it in the city. I was extra excited to find one of this size and open like this.

Model: Canon EOS DIGITAL REBEL XSi
Lens ID: EF-S 55-250mm f/4-5.6 IS
Exposure: 1/400 sec
Aperture: ƒ/7.1
Focal Length: 250 mm
Flash Used: No
ISO: 200
Filter(s): HOYA UV(0)
Date and Time (Original): 2011:07:05 11:43:52