• Home
  • Blogger
  • Github
  • Travel
  • The Tank Project
skip to main | skip to sidebar

Steven Occhipinti

A braindump.

24-70mm f2.8 VS 17-50mm f2.8

A friend of mine has a Canon 24-70mm f2.8 'L' lens and after having a play with it and looking at his photos I have had a little bit of gear-envy.
The extra speed and frequent bokeh was really nice!
Naturally I started looking at prices.. and the Nikon equivalent is... not cheap!

I cant justify $1969 on a lens! Especially considering that I dont actually need it, and I am just a hobbyist (therefore: return on investment == profit from my work == $0).

I then read up on some more affordable Sigma and Tamron lenses that were similar and liked the prices much better!
... but im still really indecisive :(

Then I saw the 17-50mm f2.8 lenses (from Tamron, Sigma and Tokina), and this made me think..
When I was travelling to Japan (with Sarma, the Canon guy) I remember him complaining about not being able to get a wide enough shot and he would often stand pretty far back to get the shot he wanted or swap to his 10-20mm lens.
This probably wouldn't be an issue with a full-frame camera, but the 50d's smaller sensor means it is already quite "zoomed-in" at its widest setting.

I started writing up an email to ask Sarma what he thought and realized I have all his photos from our Japan trip, so with a bit of linux command line fun, I came up with this:
exiftool -p '$focallength' -q -f `find -L .` | sort -n | uniq -c
Now for the explanation:
exiftool -p '$focallength' -q -f
exiftool extracts exif information from jpg's.The -p prints a formatted string, which I inserted just the $focallength variable.The -q means quiet (basically, dont print too much).The -f is the list of files, which I use a sub-command (wrapped in backticks) to get.
find -L .
As all of our groups photos were kind-of mixed in together, I created a directory with symlinks to just Sarma's photos (hence the find -L, where -L will follow symlinks to the appropriate directories).
sort -n
This just sorts the data by numberic value (so 10 > 1), this is mainly so the uniq command works properly.
uniq -c
This will collapse the data down to unique values and with the -c, it will also print the number of occurences have been collapsed down.
The output of this command included all of Sarma's photos (not just taken with the 24-70) but it still gave me a pretty good idea.
The output looked like this:

86    10.0 mm
2     11.0 mm
2     15.0 mm
14    16.0 mm
2     18.0 mm
108   20.0 mm
2362  24.0 mm
142   28.0 mm
176   32.0 mm
138   35.0 mm
104   40.0 mm
118   45.0 mm
136   47.0 mm
120   50.0 mm
94    55.0 mm
78    58.0 mm
76    60.0 mm
76    65.0 mm
70    67.0 mm
52    70.0 mm
52    73.0 mm
34    75.0 mm
14    80.0 mm
48    82.0 mm
56    84.0 mm
18    85.0 mm
24    88.0 mm
10    90.0 mm
14    92.0 mm
12    93.0 mm
16    95.0 mm
10    96.0 mm
4     97.0 mm
8     98.0 mm
8     99.0 mm
12    100.0 mm
10    102.0 mm
404   105.0 mm

With the majority of Sarma's photos clearly being taken at 24mm, it made me think that as I too have a cropped sensor camera, the wider 17-50mm lenses are probably a better choice for me as I really dont have any plans to lash out on a full frame camera anytime soon :P
Posted by Steve at 19:12 2 comments
Labels: bash , linux , photography Email This BlogThis! Share to X Share to Facebook

(Minecraft and) Arch Linux FTW!

I haven't really played a game properly since back in my Counter Strike days, but recently my brother and I started playing Minecraft... and its incredibly addictive!

Minecraft give you the option of running a Java based dedicated server and so as we were starting out, my brother would start up a dedicated server and we would both connect to it.
As time went on, we thought it would be really cool to have a dedicated Minecraft box and thought we could build one out of some old hardware, which brings me to the HTPC!

A little while ago, my brother built this (the black box):


He did an awesome job!
Basically gutted our very first dvd player (which was great for its time) and got some cheap (physically small) hardware off eBay and managed to fit it all inside!
It involved making alot of little brackets, extender cables, etc. but with a lot of effort it turned out pretty impressive!

Unfortunately, using it as a media pc was a bit tough as it wasn't the most powerful of machines around and the graphics drivers weren't working too well so this got left in the dust for a while... until Minecraft came along!

Last weekend we decided to make this our dedicated server :)
A while ago a friend of a friend was talking about how good Arch Linux was for its simplicity and ease of administration, so I started reading up on it and I am impressed!

On the Arch Linux wiki they have a couple of guides to help you get going, but my favorite page was the explanation of the boot process.
After a bit of reading I worked out my plan of attack:
  • Burn ISO to cd
  • Install Arch Linux
  • Install sudo (via pacman) 
  • Setup 'minecraft' user with sudo access to the poweroff command
  • Install Java (via pacman)
  • Install rungetty (via AUR)
  • Replace 'agetty' with 'rungetty' and make the minecraft server startup on tty1, followed by a 'poweroff'
  • Configure Wake-On-Lan

After the server was all setup, I wrote a little client side wrapper that will:
  • Launch minecraft
  • Broadcast a magic-packet to power on the server
  • Start pinging it and when it is available, notify me via Ubuntu's 'notify-send' command

So now when I want to play Minecraft, I launch my script and it will power on the server and launch the client, I log in, wait about 5 seconds until my fancy fade-in notification appears, then join the server, play, and when im done, I issue the '/stop' command in Minecraft and it will stop the server and power it self off!

This was a great first experiment with Arch Linux and I didn't even know what getty was before this day.

Needless to say I was pretty happy with this setup and all in a days work :)
Posted by Steve at 18:25 2 comments
Labels: arch linux , bash , htpc , linux , minecraft Email This BlogThis! Share to X Share to Facebook

Intro to Braindumping!

Not the most creative name for your average blog, but for those that dont know:
"the transfer of a large quantity of information from one person to another or to a piece of paper can be referred to as a 'brain dump'."
- Wikipedia

I created this blog mainly as a place to keep a record of things I'm likely to forget, such as cool command line tricks, handy websites, etc.
Nothing very important, just random thoughts really.
Posted by Steve at 17:26 0 comments
Email This BlogThis! Share to X Share to Facebook
Newer Posts Home

Blog Archive

  • ►  2013 (4)
    • ►  June (1)
    • ►  May (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2012 (17)
    • ►  December (1)
    • ►  October (1)
    • ►  September (2)
    • ►  August (2)
    • ►  July (1)
    • ►  May (2)
    • ►  April (2)
    • ►  March (3)
    • ►  February (3)
  • ▼  2011 (33)
    • ►  December (1)
    • ►  November (3)
    • ►  October (3)
    • ►  September (4)
    • ►  August (3)
    • ►  July (4)
    • ►  June (6)
    • ►  May (6)
    • ▼  April (3)
      • 24-70mm f2.8 VS 17-50mm f2.8
      • (Minecraft and) Arch Linux FTW!
      • Intro to Braindumping!

Labels

android (5) apache (1) arch linux (1) arduino (1) bash (11) calendar (1) compiz (1) design (1) diff (1) email (1) gimp (1) git (3) github (2) gnome3 (1) Google (2) hacking (1) hardware (4) howto (1) htpc (1) java (1) lamp (1) linux (28) Mac (2) minecraft (2) mysql (1) netduino (1) nfs (1) parallel port (1) patch (1) photography (4) php (1) pidgin (2) printer (1) programming (6) python (1) rails (1) regex (5) review (3) ruby (3) Samsung Galaxy S3 (2) Samsung Series 9 (1) security (1) sed (3) ssh (1) sudo (1) tank (2) Toshiba Portege (1) troubleshooting (1) ubuntu (16) ui (2) unity (2) vim (5) webcam (1) websites (3) xbmc (1) xclip (1) xul (1)

Total Pageviews

Sparkline
 
Copyright (c) 2010 Steven Occhipinti. Designed by Conveyancing
High Deductible Health Insurance, Purchase Beats