Syringe.Net.Nz
Irregular Injection of Opinion
RSS 2.0|Atom 1.0|CDF

 Tuesday, December 13, 2011
Taking Nice Party Photos


So I’m a big fan of taking available light photos. This is particularly good fun at Wedding parties and Christmas parties.

I took a bunch of photos at the Intergen Office Christmas party last Friday night and I’ve had a bunch of people ask “what camera etc… were you using”. SO I thought I’d take a few minutes and write up a post with some notes on taking available light party photos.

So the trick to taking nice party photos is not using a flash. To do this you need a couple of things;

  1. A camera that has a decent High ISO noise level.
    ISO is an interesting term in that it goes back to the film days. The ISO (International Standards Organization) measure basically set a standard for the sensitivity of film to light. A high ISO film required less light to create an image, but, a high ISO film also typically produced photos with much more noticeable film grain. In the digital age we still use the term ISO but this time it’s basically referring to the amount of light required by the sensor in order to create an image; while the ISO of a roll of film was fixed we can change the camera ISO (sensitivity) at will because it’s basically just turning up the Gain (a camera sensor is effectively an analog-digital interface). If you’ve ever played with other things that have a Gain knob you’ll know if you put a small signal in and try and use the gain knob to boost it things can get a bit ugly- so it is with camera ISO if you turn the gain up too much things get noisy.
    So to get the nice party photos with available light (no flash and as such relying on not much light) you need a camera that lets you turn the gain up with out getting too noisy. The original ‘super amazing’ low light Camera was probably the Canon EOS 5D Mk II which is now about 3 years old. Indeed it is this camera that I used for most of the shots. It’s an expensive ($5k) body, but, over the past few years that super high ISO technology has filtered down such that you can get pretty decent looking shots from most $1000 bodies at ISO of 1600-6400 (to give you an idea of how revolutionary this is it would be very rare for anyone other than a professional to shoot film higher than ISO400 back in the day. Thus the modern digital cameras are several times more sensitive for the same level of noise than film was ever able to achieve)
    I’m a Canon person so that’s where my recommendations will sit and I think there’s not a lot wrong with the Canon 600D body in the $1000 price point. Take a look at these high ISO shots from DPReview. There will be similarly good options from Nikon in the price point which people can point out in the comments. The benefit of getting the $1000 body is you have more moolah to spend on lenses…
  2. The second thing you’ll need is a lens with a large maximum aperture.
    You can tell the maximum aperture of your lens by reading it off the lens. It will be expressed as a ratio on the front ring e.g. 1:1.8 but it’s typically shortened in conversation and marketing to just the denominator. For the tech boffins the F-Stop (Aperture) is basically expressed as a ratio of the focal length of the lens. The lower the F stop number the larger the aperture- a bit counter-intuitive I know.
    For a zoom lens about the largest F stop you’ll get is F2.8 and even then you’ll be paying big bikkies and they weight a ton. There are a few shots in the party photos that are taken using an 70-200mm F2.8 lens.
    What you really want is a ‘prime’ lens. This is a lens with no zoom. Most of the shots taken in the party set above were taken with a Sigma 50mm F1.4 lens (this is a mid-range prime lens in terms of cost) but, for the most part I have it ‘stopped down’ to F1.8. This is for two reasons 1) wide open a mid-range lens like this can lose a bit of sharpness particularly around the edges and 2) A side effect of a large aperture is a very shallow depth-of-field; in the case of F1.4 on a 5D MkII with the subject at 2m only 11cm of depth will be in sharp focus. You’ll see this shallow depth of field in most of the low light photos as either a nice blurry background or as an annoying fact that of two people in the photo only one is in focus.
    So. Which lens to get. This is a place where Canon has a real advantage. If you are not ken to spend much money there is a Canon lens, the 50mm F1.8 MkII (plastic fantastic) that for under $200 will let you take nice party photos too. To me this is almost as good a reason as any to prefer Canon over Nikon at the cheap pricepoint cameras.
    If you have a bit more money to spend both the Canon and Sigma 35mm/50mm/85mm primes are great for under $1000.
    And finally if you have plenty of money go buy a Canon 85m F1.2 for shots like this one I took on a borrowed lens.

So this post became a bit of a ramble. To answer the more direct question of what I used for the party photos.

Canon 7D Body (early evening) with a Canon 24-105 F4 zoom
Canon 5D (low light) with a mixture of Sigma 50mm 1.4, Carl Zeiss 85mm 1.4 and Canon 70-200mm 2.8

  \

Intergen | Photography | Rambles|Tuesday, December 13, 2011 7:40:21 PM UTC|Comments [0]|    

 Thursday, October 27, 2011
What does compulsory Kiwisaver @ 9% do to small business startup capital

I’ll start this post by stating that I am generally supportive of Kiwisaver as a scheme. I deeply regret the decision taken by the national government to remove the ‘carrot’ from the scheme and would much sooner have seen them scrap the bat-shit crazy interest free student loans rort to make their numbers.

So I am a little torn with the new Labour policy for compulsory Kiwisaver. I think there are a few things we can all agree on

  1. It will suppress wage growth. DPF posts on that here including a Labour party admission of such.
  2. Kiwisaver is a "low risk” or conservative investment. Even if you pick the Forsyth Barr build your own scheme and load up on equities you’ll still be buying bluechips and not speccy mining shares.
  3. 9% of pre-tax income is a relative SHITLOAD of money for most people and would, I suspect, represent the entirety of investment income for  the 99% (post written about the time the smelly hippies were occupying Aotea Square)
  4. Saving and investing (rather than spending) is a good thing and as a country we don’t really do enough of it
  5. At 9% of pre-tax income Kiwisaver will impact the common kiwi savings vehicle of the family home. People will be slower at paying off their mortgages (yes even will all the mortgage diversion stuff)
  6. Banks aren’t particularly interested in letting you gear against your Kiwisaver assets

So beyond all the usual stuff that’s been discussed today I have one really major concern with compulsory Kiwisaver

It’s going to knock the stuffing out of small business startup capital. Basically the money that many people would have put into a liquid investment such that they could draw down to start a business will instead be locked away in a conservative investment vehicle until they are 65. Now starting your own business is risky to be sure, but, are we really saying that someone on $80k in a solid job should be denied the opportunity to put their money aside to invest in their own venture?

What do others think?

People will point to the success of compulsory super at these kinds of pre-tax levels in Australia, but, the Australian scheme is quite different to Kiwisaver and in particular their Self Managed Super Funds provide some relief to the above concerns.

The argument about whether small business owners can bear the burden of these Kiwisaver payments is somewhat moot if they were never in a position to start their small business in the first place.

Business Building | Politics|Thursday, October 27, 2011 7:41:04 AM UTC|Comments [0]|    

 Wednesday, September 21, 2011
Nice Cheap Helmet Cameras

So unless you’ve been living in a cave you’ll be aware of how rad helmet cams are for the adventure sports inclined amongst us. I held off buying one for quite a long time because they have been FREAKING expensive. The other issue is that the ‘industry standard’ GoPro HD makes you look like a total mongtard when you are wearing it.


Figure 1: How to look like a gaper mong!

So I really like the look of the cameras from Contour. They have recently announced the Contour ROAM which is their new budget camera at $199. But, this post isn’t about that new camera. It’s nice and all with more waterproofing that the original ContourHD, but, it lacks the 720p 60fps mode which I think is critical to nice footage in fast moving environments.

Instead this post is about the CountourHD; because it’s basically been replaced by these newer models it’s available super cheap. It supports full HD 1080p as well as the important 720p at 60fps mode.

Figure 2: How to not look like a gaper mong!

It can be had at Backcountry at the moment for about US$140 (http://tinyurl.com/contour-backcountry). If you’ve been in the market I think this is the deal to snag! Shipping is a bit to New Zealand but it’s still waaay cheaper than buying locally. Particularly if you get a spare battery and a few other things in the same order and/or order with friends.

Adventure Sports|Wednesday, September 21, 2011 10:18:59 PM UTC|Comments [0]|    

 Monday, July 18, 2011
64 Bit Microsoft Office vs 32 Bit Office: 64 Bit is not necessarily ‘better’

In my travels I run into lots of people who are running Microsoft Office 2010 but many of them are also running the 64 bit version. I thought I’d do a quick post to discourage this behaviour!

Yes, we’ve had it drilled into us that 64 bit is the future, and, for operating system installs you do indeed want to be running Windows x64 because you’ve probably got more than 4GB of RAM in your machine. However, when it comes to applications that have been specifically compiled for 64 bit I suggest a much greater degree of caution and reflection before diving in. It is basically a trade-off by way of sacrificing raw performance for the ability to use more RAM in that application process. What do I mean by this; Well, there is an overhead in working with 64 bit pointers and this will mean that you take a performance hit in running the 64 bit application- see this article for some simple benchmarks http://www.osnews.com/story/5768. The flip side, however,is that you can then work with a full 64 bit address space and thus your application can use more than 4GB(ish) of RAM.

So, why do I want to discourage you from installing 64 bit office?  

  1. You probably don’t need that much RAM for a individual Office application.
    Unless you are working with extremely large spread sheets in Microsoft Excel it is unlikely you’ll need to use > a couple of GB of ram for a single Office App.
  2. There will be a performance hit.
  3. There are significant compatibility issues
    If you use Office add-ins and other 3rd party extensions you’ll find that compatibility with x64 Office is patchy at best.

So there you have it. The typical person I se running 64 bit office is the ‘IT Guy’ or enthusiast for whom more bits == more power. This just ain’t the case.

Here is the official Microsoft article on the situation: http://technet.microsoft.com/en-us/library/ee681792.aspx

Office2010 | Windows 7|Monday, July 18, 2011 11:46:41 PM UTC|Comments [0]|    

 Thursday, June 16, 2011
Real Venice and Fake Venice

So Deb and I were in Vegas at the Venetian this week. Just for shits and giggles we tried to recreate our photo of real Venice... How did we do for authenticity?

n627910082_3680922_5380

The Grand Canal in ‘Real Venice’

248873_10150633991850083_627910082_19025035_8112051_n

The Grand Canal in Fake Venice (Venetian Hotel, Las Vegas)

Trust Deb to ruin it by not wearing the same top!!! Me, ever reliable in my yellow cool-dry.

Frankly I’m torn. The chlorinated canals in Fake Venice smell much nicer than those in real Venice…

Travel|Thursday, June 16, 2011 4:32:33 PM UTC|Comments [0]|    

 Friday, June 10, 2011
Apple iCloud Running on Windows Azure and Amazon S3

Hi All,

Saw this rather interesting snippet come through on the Twitter feed this morning.

http://mobilitydigest.com/icloud-brought-to-you-by-microsoft-and-amazon/

Clicking through shows you some partial HTTP messages (some stuff is blurred out)

Certainly looks like iCloud is using both Azure Blob storage and S3.

They are probably using Blob storage for the ability to use Shared Access Signatures for file upload, but, without seeing the full URL in the HTTP request that’s a bit of a guess.

My guess is that the call to the iCloud servers for authorizePut will be fetching a SAS and then this is being used in the PUT request to the Blob storage endpoint.

There is a header in there called AuthorizationBSharedKey. I certainly hope that’s not the storage account shared key for the Azure storage account! But again, without seeing the full messages I can’t really tell. It’s certainly not a standard Azure header, but, it does have a somewhat worrying name.

Anyone able to pull the headers in full for some analysis? chris(at)syringe.net.nz

Chris Windows Azure|Friday, June 10, 2011 12:29:01 PM UTC|Comments [0]|    

Kayaking Paddling the Ottawa River

So one of the kayaking items on my bucket list was a trip to the Ottawa River. Just ticked that one off with a couple of runs over the last couple of days.

Map picture

Didn’t take all that many photos but got a few decent ones of me running The Elevator Shaft chute at Garvin’s rapid on the Middle Channel. The flow yesterday was 13.0

Here is a MASSIVE panorama of the rapid. Thought I’d upload in all it’s glory for people who may want to examine it later to plan their lines. Clicky Clicky for the monster.

image

Elevator Shaft is hard River Right. It was a pretty simple drop but it’s got a heap of rocks in the bottom which kinda freaked me out at first. Someone on the trip who had run it a heap of times said you don’t hit em, just go for it. So I did.

P1010206P1010207

P1010208P1010209

P1010210P1010211

And finally a view looking back up the river. With the Chute we ran on lookers left.

P1010214

Adventure Sports|Friday, June 10, 2011 1:00:52 AM UTC|Comments [2]|    

 Thursday, June 02, 2011
Combining Files from Different Sports Watches using SportTracks

I awoke this morning to another great Ray Maker review, this time of the Polar RCX5. Now I have to admit a bit of a sports watch fetish, certainly nothing approach Ray, but I’ve still owned a bunch of Polar, Suunto and Garmin devices. I’ve pretty much settled on Garmin as they support the open(ish) ANT+ sensor platform, but, it’s not without challenges and as such I’ve recently been combining data from two watches.

Towards the end of Rays piece* he notes the issue with the RCX5 in that the desktop client basically spits the data as two separate files: a *.gpx for the Geo data and a *.hrm for the traditional polar biometrics and sensor data.

Ray says this

“For example, if you try and import into Sport Tracks, after selecting both files it simply sees them as two separate training entries – one using GPS data, and one using footpod data:”

Which is strange, because I do this all the time. Reason being is that the heart rate monitor that Garmin ship (the soft one) is a piece of turd. I ordered an older style strap from Garmin but they sent me the wrong one (an old FR301strap) which doesn’t bloody work. So, I am stuck using my Garmin 310XT for GPS + Footpod and my Polar s625x with the ever reliable analogue HRM and wearlink strap for HR.

Basically at the end of each workout I let the Garmin 310XT sync with Garmin Connect and I open Polar Personal Trainer and sync the s625x into that.

Then I can begin import into SportTracks. The trick is to import them in a two step process… I’ll use a worked example here which was my run/hike up Lynn Peak near Vancouver this past weekend.

I typically start by importing the Garmin *.fit file direct from the file system (it gets dumped out by the Garmin ANT Agent)

image

This should feel like a standard import.

image

Next I change to the Polar Folder and import the HRM file.

image

Now here is the trick. If you have the clocks on your watches correctly sync’d then SportTracks will typically pickup that the workouts overlap and automagically offer to ‘update’. In my case I didn’t because the olar Dual time doesn’t change the date. So instead I choose the radio button option to Update Existing Activity

image
Note that I have
1. Selected the radio button
2. Chosen my previously imported activity
3. Chose to import heart rate and elevation (the s625x has a *proper* altimeter which is a heap better than relying on GPS data from the 310XT)

And that’s really all there is to it folks- GPS data and running cadence from the Garmin and Heart Rate data and elevation off the Polar. While I don’t have an RCX5 to test with (feel free to send me one) this process should work just fine with a GPX file and an HRM file.

image

*Ray: As a quick ask would love to see the sections of your reviews with #Anchor tags so we can link direct to them.

|Thursday, June 02, 2011 8:25:05 PM UTC|Comments [0]|    

 Tuesday, July 20, 2010
Windows Azure Drives + SQL Compact 4 – Part #1

So there’s not a whole lots of stuff on the interweb that gets you started with drives and SQL Compact 4 is only just out into the open. My need was for a lightweight database for a sample app I’m building with Chris Klug for our session at Tech Ed New Zealand.

I thought I’d run quickly through how I got things going.

Getting the Bits
I grabbed the bits using the Microsoft Web Platform installer. I wanted two things. 1) SQL Compact 4 CTP1 and; 2) The Web Matrix tool.
It’s hopefully fairly obvious why I needed SQL Compact. The reason I wanted Web Matrix is because it’s currently the only tool I could find that will allow me to create and edit SQL Compact databases.

trznaj5k  ixuyzv04

I’ll be using Visual Studio for much of this post; I’m guessing y’all know how to get your mittens on that now.

Creating a Database
To build our database we’ll be using Web Matrix. It doesn’t have a specific database designer that is independent of the site editor so we’ll need to create a site and then create it in the context of our site.

mdhkuthy
We’ll start from a template.

sepojgnz
…and create an empty site.

Choose Databases from the left hand nav.

p2py5yin

Choose to create a new database from the ribbon

1cx4dml5

Double click to select tables. And right click to add a new table

a5kbmcaw

Create a basic table definition with a ContactID and ContactName. Use the Ribbon controls to create new columns. Use a BigInt identity column for the ID and make it the Primary Key.

ih4vdprv

Save the table as Contact

Close Web Matrix- our database has been created and saved into a subfolder of my documents. Mine was at

C:\Users\Chris Auld\Documents\My Web Sites\Empty Site\App_Data

We need some data in our database. We could ahve used Web Matrix to do this but I wanted to show another tool that allows us to execute raw SQL against the DB as it may be more suited to some developers.

The tool in question is the SQL CE Toolbox (you’ll need the latest version which is a standalone application)
Grab it from here: http://sqlcetoolbox.codeplex.com/
Don’t just install the VIsual Studio add-in version as at the time of writing it doesn’t support the v4 sdf format.

Open the tool and right click to add a new connection

wgaqiuot

Open the database file and test the connection

ztpigimk

Expand the tree to show our Contact table. Right click and choose ‘Script as Insert’. This will create a template insert script for us.
Enter some sensible (or stupid if you prefer) values and then execute the query. I didn’t attempt to insert the identity column and so removed that from the query.

slfl4yrk

Before we leave this tool click the Estimated Plan toolbar button. As long as you have SQL Server Management Studio installed it’ll open that tool and hand over the query plan text.

43uma5oy
That’s right folks. That is a graphical query plan graph of the query for my embedded database. That’s pretty damn cool!

Getting Your Database Into Windows Azure Storage

Being a database we want our *.sdf file sitting in a WIndows Azure drive. There are a bunch of ways we could do this:

- We could put it into our service package, create a drive on startup, copy to the drive and then do a lazy check each time we start so it’s only done once.
-We could create the whole VHD on the client machine and upload that to storage. This removes any of the once only init code from our application. THis is the approach I chose to use

We need to create a VHD. Hooray for Windows 7- this is trivial. If you are a hard-ass like Steve Marx then you can use a batch command to do this but you all know that I’m not really a hard ass so I’ll do the draggy droppy clicky clicky thing.

Open Disk Management. I’m a fan of the search box in the start menu- type ‘Disk Management’ and then select ‘Create and format hard disk partitions’

ll3azfwj

Use the Action menu to Create VHD. Stick it somewhere useful like the desktop as we’ll need to grab it later. You’ll want to choose a fixed size- I chose to make it 100MB. You’ll only pay for the actual data you store on disk (not the empty stuff) but more on that shortly.

soyitaae

Once created you’ll need to Initialize the disk with an MBR

mhcwels0

.. and Format as NTFS

0bubf4tl

image\

The drive will now be available in Windows Explorer and we can copy our *.sdf file across from the My Web Sites directory to our new VHD

Once we’ve copied it over we can go back and Detach the VHD

hg2c3kjm

Now we can upload the VHD to Blob storage. Before you crack out your favourite Azure storage client (I like Cloud Studio from Cerebrata) you’ll need to want to check that it supports sparse Page Blob uploads. Cloud Studio doesn’t so we’ll use the VHDUpload Tool from here: http://blogs.msdn.com/b/windowsazurestorage/archive/2010/04/11/using-windows-azure-page-blobs-and-how-to-efficiently-upload-and-download-page-blobs.aspx I took the liberty of building the tool: VHDUpload

image

 

More in the Part 2 of this post tomorrow.

Windows Azure|Tuesday, July 20, 2010 8:24:02 AM UTC|Comments [0]|