Saturday, September 28, 2013

LuaJIT info & links


Thursday, September 26, 2013

C++ Variadic Templates

 I've been using Visual Studio 2013 RC which supports C++ 11 variadic templates.

 Here are a few things I've noticed.

  • Compile time reduced. Replacing my N duplicates of a template with a single instance means less work for the compiler
  • Less code. Is some cases *way* less code. This is great! Can replace manually duplicated templates with 1 instance, can also replace Boost Preprocessor generated templates with variadics
  • If you step into a variadic function in the debugger it does not always allow you to see what values were passed into the function.  I did see it work once, so perhaps it is just buggy/incomplete and the final release for VS 2013 will fix this.
  • The following code does not compile, to work around it, as far as I can tell, you must resort to C++ 03 code(boilerplate). You couldn't instantiate this type because it doesn't map to a struct/class, but it would make it easier to pass type information around.  

edit: Looks like there is a proposal to fix my last point- N3728

Tuesday, September 10, 2013


 So I walked into Canada on September 5th.  To see all the places from Mexico to Canada along the Continental Divide was pretty amazing.

In the New Mexico desert always on the hunt for the next water source(cow troughs mostly)
In the Colorado San Juan mountains struggling to make 20 miles per day in the snow and altitude.
In Wyoming the Wind River Range is possible the best mountains I've seen, and I've seen many
In Montana crushing out its 900 miles with my friends SweetAs and Aquaman.
And then walking into Canada with Balls and Sunshine, whose journal you can read if interested

My first Grizzly bear encounter was about 10 miles from the monument that marks the US/Canada border. Only saw three bears on this trail, half as many as on the PCT.

 Here are a few pictures, nothing can really capture a 4.5 month/3000 mile hike, but this will have to do

Cirque of the Towers in the Wind River Range
SweetAs and I in the Wind River Range

Climbing up to the top of the Divide
Fetching water from a cow tank in New Mexico

Hiking with Breeze in Burglar across the wasteland around Lordsburg, NM
Grapple and Thunder along the CDT in southern Colorado

 Another hiker this year kept a detailed blog of her hike. Her name is Wired and she was a few days behind me for most of the trail(until Montana).  You can find her blog here.  It has tons of pictures and is high quality.

Friday, April 5, 2013


 Hiking the Contential Divide Trail(CDT) for the next 4-5 months. It is a 3,000 mile trail running from the US/Mexico Border in New Mexico to the US/Canada border in Montana.

 I'm starting April 20th at Crazy Cook, NM.  Will walk across New Mexico, Colorado, Wyoming, and Montana, and some of Idaho.