Blog

26 Jun 2013 . .
Microsoft decide the UK doesn’t exist in Windows 8.1 Update Comments

As you may of gathered from previous posts, it seems it isn’t possible to install the update on a UK surface. The only way that is rumoured to work is to flash the device and select either German or French in the setup. This is going way beyond my commitment to trying this so for the moment I am done.

As far as I can see there has been no official announcement from Microsoft about if or when there will be a fix, a rumour said July that is probably not far off. Is disappointing that no one noticed this issue and they didn’t make it clear that they were abandoning poor old UK.

So for the moment don't try, it will go no where no matter how many tricks you follow.

close_surface_rt

 

The book is closed for me on my quest to get 8.1 early.


Stuart James  


12 May 2013 . .
Rotor Style Skeleton Browser Comments

A while ago I found a paper from a research project called MediaMill. They presented a technique for viewing different facets of video content in a windmill fashion. Recently I was exploring how we could visualise skeletons and thought would give the technique a try, here is a screenshot of a basic approach:

 

 

image

In this example each joint (of which there are 10) is represented on a “blade”. This very simple example visualise joint variation a better approach would to measure the distance between the body and variations on a specific joint but hey was just a sample.

 

References

To see more about different video browsers see the MediaMill project

http://www.science.uva.nl/research/mediamill

See related Rotor Browser papers at ICME or CIVR from 2007.


Stuart James  


12 May 2013 . .
Opening a bottle of Beer with a sheet of Paper, it only takes 3 pieces! Comments

image

 

So the title lies when I state it only takes three pieces of paper, if you have the skills (and possible muscle) I lack then you can do it in one! How cool is that!!!

 

Hopefully you will be more successful than me. Also I am not necessarily advocating drinking, so www.drinkaware.co.uk.


Stuart James  


12 May 2013 . .
C++ + Visual Studio 2012 (VS2012) + Win8 , converting projects up some conflicts I found Comments

Having loved the ability to compile VS2010 projects inside the VS2012 shell as a way of delaying the update, I thought it was time to stop delaying ( 1 Year late ).

std::cout << "Minimum value for int: " << std::numeric_limits<int>::min() << std::endl;
std::cout << "Maximum value for int: " << std::numeric_limits<int>::max() << std::endl;

Generates error:

error C2059: syntax error : '::' [path]\source.cpp

There is a good chance if you have these lines and are including the windows header you will hit an error. The Windows team put in a solution to the #define min conflict in <minwindef.h>.

So instead of

#include <windows.h>

You use a #define to avoid this

#define NOMINMAX
#include <windows.h>

Another issue I found was with an annoying char define, again from the Windows team in <rpcndr.h>.

#define small char

This one doesn’t have the ability to comment out for so if you have a small function with something like:

AnObj small = large.resize(val);

Generates error:

error C2628:'AnObj' followed by 'char' is illegal (did you forget a ';'?) [path]\source.cpp

You will have to suffer and change the name, in some ways it teaches you (me) for not being very specific, still annoying though. Hopefully this is all the conversion errors I’ll hit.


Stuart James  


11 May 2013 . .
S3 Push and Pull – Backup a EC2 Instance or just some data Comments

I stumbled across a great tool to just push and pull data from an S3 bucket last week wrapped into one light weight executable. Requires .NET 2.0 or Mono so on Linux becomes a little heavy weight.

 

So start by pulling down the latest version:

http://s3.codeplex.com/

 

So to get started you need to configure your bucket, this is stored in the registry so you will need to consider the security implications, but it does allow you to set a password. For simplicity I’ll avoid this and assume that you don't mind it being visible to users/hackers!

Navigate to where you downloaded and  run the command

s3 auth

 

image

 

As you can see you get the option to password protect or not is easy and hopefully there isn’t any problems following this through to configure your bucket ID and Key.

 

Now you are ready to start shifting some data!

s3 get <bucket [/folder]> <path>

Some good options are

/backup /sync /nogui

Should be fairly clear what these options do.

If you still are a little stuck try this for a full set of options.

s3 help


Stuart James