Tuesday, 10 May 2016

SSH port tunnelling from Mac

Every time I have to create an SSH tunnel from my Mac I end up looking in about 3 different places to remind myself how to do it. What I always run into is the mild conflict between

  • needing to be root to specify a privileged port (under 1024)
  • needing to pick up the right SSH key 
And then there's the small matter of the port mapping flag to remember. 

So here's the incantation that tunnels your local port 80 to the remote host. 

sudo ssh @ -A -p -L 80:localhost:80 -i

Monday, 11 January 2016

Force12.io, containers & microscaling

A few months ago my good friends Anne Currie and Ross Fairbanks invited me to get involved with Force12.io, an open source project investigating how to use container technology to scale deployments in real time in response to demand. We've now turned it into a company, so it's officially my latest venture! We're already being asked to speak about the concept at conferences all over Europe.

Our Microscaling-in-a-Box demo is a nice introduction to microscaling, and you could use it as an introduction to using Docker containers too.

Wednesday, 21 January 2015

Neural networks and Torch

Pretty excited about Torch! While I've learnt a lot about machine learning and recommender systems over the last few years, it has been a good while since I spent much time thinking about neural networks. Well, yesterday I built one, and it took just a few lines of code. As an exercise I did some digit recognition on the MNIST dataset (and spent more time marshalling the data than on the neural net itself!) The accuracy is nothing to write home about yet, but the fact that was easy to put together is very pleasing.

The point of this is really to spend some time thinking about applications for neural nets / deep learning, particularly in the personalization space.

Friday, 12 September 2014

Riding for TechBikers

In a few days I'll be on the early EuroStar heading for Paris, as part of the 70-strong TechBikers team riding 200 miles back to London.  We're doing it in aid of Room To Read, an excellent charity that supports literacy and gender equality in education around the world.

Don't sponsor me for riding 200 miles.
Don't sponsor me for getting up super-early to be at St Pancras for the early train.
Sponsor me because people will learn to read as a direct result of your support.

We take it for granted that we can read and write; take a look at Room To Read's #DoNotReadThis for why it's important to provide that opportunity for the millions in the developing world who can't.

And here's a message that John Wood, the founder of Room To Read, recorded specially for our TechBikers team.

More about Room To Read

  • Room to Read envision a world in which all children can pursue a quality education, reach their full potential and contribute to their community and the world. To achieve this goal, they focus on literacy and gender equality in education. 
  • They work in collaboration with communities and local governments across Asia and Africa to develop literacy skills and a habit of reading among primary school children, and support girls to complete secondary school with the life skills they’ll need to succeed in school and beyond. 
  • Over 8 million children have benefitted from Room to Read’s programmes over the past ten years.

P.S. I have paid for my place on the trip, so your sponsorship money goes to Room To Read