Interesting Links

Some interesting things I have seen over the past couple of weeks…
I love Mr Money Mustache – wish I could live as frugally as him! Some other good tips and thoughts on investing. I have picked a few shares in my ISA this year, and although they are doing OK (more by luck than judgement) I will sell them and buy index funds instead.
Interesting thoughts on why Google is getting into areas other than just search
I had the pleasure of seeing Tobi Lütke present at The Business of Software conference a few years ago and he was nice enough to answer a few questions I had via email. Great to see Shopify doing so well.
Good video on staying on the right side of Panda

Interesting things
Tony Robbins – people either love him or hate him. If you are into your self help books, I’m sure you have read either Awaken the Giant Within or Unlimited Power. I enjoy reading his stuff, but don’t go with all the hype. His new book is about money, and it has the same message as Scott Adams thoughts below on Matt Cutts blog, but in 500 pages. Anyhow – this interview with James Altucher is interesting and fun, and worth listening to.
If you don’t want to read Anthony Robbins new book, just read the blog post above – and you’ll be good.
Panda penalties are frustrating (we think we got hit by one in May). You won’t get any notice from Google you are under penalty, but at least working out of it is all in your own hands. Better still – take note of the above points and don’t get hit!
Want some business ideas you can start yourself in your spare time and then scale up – check this out.
Check if your web page is mobile friendly
‘Mobile Friendly’ label that is starting to appear in some Google Search results. I’ve just noticed it appearing next to some of our pages this evening
You can’t work flat out all the time, or at least I can’t! Motivation and enthusiasm generally comes in bursts. Enjoy it when it happens, and manage things when you are feeling slow
I am very jealous of Brecht Palombo. I have done a couple of week long road trips in the US and they were some of my favourite times away. I’m determined to try and take Isabel and Sophie away for 6-12 months before Isabel starts school. I have started de-cluttering already!
2nd lecture I have watched in this series, and again some invaluable points – and 2 good book recommendations.

Interesting Stuff

Some interesting things I have read or listened to recently…
Good thoughts, slow and surely, and honestly – wins the race!
Some more interesting views on recent panda and penguin updates, and the future of these updates
interesting idea that penguin penalties are related to a sites outbound links, rather than inbound
See your decisions through the eyes of your people
Testing lazy loading of images on some retailer page – will be interesting to see from an SEO perspective whether page speed, or assets on a page, give the most benefit.
Treat as one opinion piece from many on the subject. Getting links to pages is still biggest ranking factor.
Founder of Scibd – nice interview by James Altucher. Didn’t realise Scribd have a book subscription offering – which sounds very good.

Disavow Tool Idea

By the time the next Google Penguin update runs it could have been 12 months since the last big update. That is far too long (and is really fucking up the internet) – but I will save that moan for another blog post!

A monthly job for us has been analyzing our links and deciding which to tell Google to ignore as they are from spammy sites. To be completely clear, we try and do everything whiter than white. A lot of sites in our sector have really suffered from buying crappy spammy links and being hit by Google penalties so we have always tried to do things the right way. Even so – shitty sites still link to us, for various reasons:

1, People are trying to do negative SEO on us and get us penalized by Google so their ranking increases

2, Other sites actually include linking to our site as part of their practice of buying links and expired domains, to try and show Google their linking strategy is legit.

3, Sometimes relatively new or low quality sites will link to you

As part of wanting to keep a clean and proper link profile we have been doing a monthly check of links reported from various SEO tools such as MajesticSEO and Hrefs, and of course the links reported in Google Web Master Tools.

At the moment it seems a bit of a manual process of using Microsoft Excel and Notepad to create your disavow file, and I’m sure a tool could be a better job. Here are the features I would consider being useful:

1, Ability to upload lists of links exported form other SEO tools mentioned above

2, Mark links and domains to be included in a disavow file.

3, Track which links have been previously uploaded, to save duplicated effort each month. Allow notes to be entered against domains/links.

4, Scoring of Urls to help the user decide whether to disavow links

5, One click generation of your disavow file

6, When urls are imported, would be useful to highlight urls/domains other people have disavowed.

Sound like something you might use? Point 6 would certainly be useful once you have a large amount of users and would make generating a disavow file much easier!

If you think this tool would be useful, drop me a message : nick dot swan at gmail dot com


runAllManagedModulesForAllRequests=”true” was something I added to all my web.config files for ASP.NET MVC when I wanted to run the web app in deployment on my Windows Server 2008 box.

I wanted to have Glimpse configured for the project though, and as this needed the ability to add (another) module in web.config, I decided to figure out why runAllManagedModulesForAllRequests was needed in the first place, understand a bit more about it, and then hopefully fix it properly as it always seemed a bit of a hack.

Thankfully there is some good advice here:

Don’t use runAllManagedModulesForAllRequests=”true” when getting your MVC routing to work

And a hotfix from Microsoft so you do not need to do any hacking with web.config:

Edit 21/8/2013

Turns out applying the above fix might cause some issues if you then have a . in a url slug, eg /blog/

The .com part causes an issue.

The below link to a stackoverflow answer shows how to add a httphandler that solves this problem…

ASP.NET MVC RenderSection

This post is as much for my own use as others as I’m always forgetting how to add sections to an mvc masterpage.

In the master page add your subsection using:


and in the views implement this section using:

@section Footer {
<p>This is my footer</p>

You can make the section optional in your view:

<footer>@RenderSection(“Footer”, required: false)</footer>

Book Review : 3 secrets to effective time investment

Picked this up as Cal Newport wrote the forward and mentioned it on his blog. I took away a few key points. A lot of the book I was able to skim read, but if I can keep myself in the frame of mind of choosing where to invest my time rather than it getting spent – it’ll be worth the read.

Here are my notes:

Plan your day, week, month – make sure you invest your time where you want to.

When frustrated by everyone else think “what can I work on that is under my control and can make a different”

Don’t compare yourself to others – you don’t know how much help they get, or sacrifices in other areas they have made.

Set realistic expectations of yourself – don’t set ridiculous project deadlines

Be compassionate to yourself

Don’t be a perfectionist! (unless it is truly important to you) – the cost of wanting everything to be perfect is horrible!

Don’t over commit – and only choose the things you want to invest your time in. Find out what you like saying Yes to and doing.

Set expectations – don’t answer emails too quickly – train others what to expect from you.

Big projects – people are scared of doing them and making progress as often these projects are public and very important.

Routines – help you make consistent progress on big projects without sacrificing health and key relationships.

Pick up the book from Amazon!

Microsoft.Devices.PhotoCamera change camera resolution

I’ve been having some fun building an app for my Windows Phone this weekend using Azure Mobile Services. I wanted to do some stuff with photos as well by uploading them to Azure Storage as blobs. The camera seems to default to the maximum resolution when using it in code so I wanted to set it to something smaller like 640 * 480 to make the size of the images smaller.

There is a nice code sample here of how to do it:

But when I placed this code in the OnNavigatedTo method of my xaml page I was getting an error. Seems the way to get this to work off the bat is to make use of the camera_Initialized event. So in OnNavigatedTo add:

camera = new PhotoCamera();
camera.Initialized += camera_Initialized;

and in the camera_Initialized event you can change the resolution:

Size res = camera.AvailableResolutions.ElementAt(0);
camera.Resolution = res;

Hope this saves someone some time…!

Power of habits, runstreak and golfstreak

Since giving up playing football (soccer) around the age of 28 I’ve slowly been getting lazier and fatter. Gone are the days of being 72 kg and charging up and down the wing. 4 years after quitting football it got to the point where I needed to decide if I wanted to get fat and embrace obesity, or do something about it and get fit again. I’ve been playing golf since finishing football, but unfortunately that doesn’t keep the weight away. I’m aware I need to address my diet as well as exercise – I’m hoping that getting fitter will help drive healthier eating.

Ken Hughes is a crazy runner, doing ultra marathons and other crazy stuff like that. He introduced me to the idea of #runstreak, a group of people on twitter who run at least a mile each day (often more). Some people I’ve seen have run streaks of over 1,500 days and Ken himself at the time of writing is up to an impressive 184 days. The original idea seems to have come from Ron Hill who has run every day since 1964!!!

Usually when I’ve done running before to try and get fit I would plan something such as 3 runs a week. But when Saturday comes around and I am yet to even do one run I realise my plan has again failed. So I thought I’d give #runstreak a go – and amazingly right now I’m up to day 50. This include:

– 14 days running while on holiday in Mauritius.
– running a mile at 11:30pm at night after too many beers, just to keep my #runstreak going

At first it was pretty hard to motivate myself, and I didn’t expect to get anywhere close to 50 days – but now I actually look forward to my run each day. As someone who works from home it’s a good reason to get out of the house each day and means I have to plan my days out which helps with general productivity. I’ve got a Garmin GPS watch that allows me to track my distance and calories burnt – it’s very motivating trying to beat what you’ve done over the previous 30 days.

With #runstreak going so well, I wondered what other things I could apply this streak thing to. As you may know I do enjoy playing golf, but golf is one of those games you have to practice quite a lot to play well. It’s a vicious circle too, because if you don’t play well you can’t be bothered to practice. The past 18 months I have been on this vicious circle – playing once, playing badly, and then choosing not to play or practice again for the next 3 to 4 weeks. I wondered if #golfstreak could bring back the enjoyment of the game, and enjoyment of practicing again?

Sure enough it has! I am now up to day 27 of #golfstreak and am playing my best golf for nearly 2 years. On top of this I won the club championship at Theale Golf Club – the main competition of the year – and my handicap has come down. Of course I have to put up with the jokes from some of my fellow golfers about never doing any work and always being on the course, and may be you are thinking the same? But #golfstreak doesn’t mean you have to play 18 holes every day. It can be 50 balls down the driving range or 30 minutes practicing my chipping and putting. With longer evenings at the moment and planning ahead it’s not too tricky to get out and practice/play a bit each day.

The best thing of all is not getting nervous for competitions. For the club championship I just kept saying to myself “it’s just another day of #golfstreak” and while everybody else got nervous and shot their worst rounds of the year, I played nice and steady for 2 days. Sweet!

The weight hasn’t been tumbling off yet from #runstreak, but I’m definitely getting fitter and able to run faster and longer. I’ve given up diet coke this week (I was drinking about a litre a day), and chocolate should be next week. I might have to start #fruitstreak. Don’t even mention the house, I might have to start #DIYStreak soon!

I hope to keep #runstreak up as long as I can, but expect #golfstreak to come to an end when I have to travel due to work. Good thing about running is you just need yourself and some trainers, golf needs a bit more equipment unfortunately 🙂

5 Conclusions From Seeing The Stone Roses

I had the pleasure of watching The Stone Roses at Heaton Park yesterday – Saturday 30th June 2012. A day I’ll remember forever. I first got into music around 1994 with Oasis, so missed out on The Stone Roses when they were at their best in 1989 – and didn’t see the band before their split. I’ve seen Ian Brown, John Squire and Mani separately in their various guises – so was very excited when they announced getting back together with Reni too.

1, The crowd was great
I’ve been to loads of Oasis gigs and there has always been a bit of a feeling that things could kick off at any moment. People seem quite aggressive and up for a brawl. The crowd at the Stone Roses average age was probably a bit older than the last time I saw Oasis at Wembley, but I think the fact that the music is more relaxed and chilled sets the feeling for everyone. I didn’t see one instance of trouble all day, and everybody was really happy and smiling to each other. Apparently there was some trouble at the bar the night before with people struggling to get served quickly – but there wasn’t any evidence of this on Saturday.

2, The Stone Roses were great
They were better than I could have imagined. I was worried about going to see them in case they sucked – but it was an amazing day, and they were amazing. Nothing else to say really…

3, Beady Eye need Noel Gallagher
It must be annoying for Beady Eye that the songs people enjoyed most were the couple of Oasis covers they did – Rock n Roll Star and Morning Glory. I think their own stuff would be average Oasis songs at best. And even these Oasis covers they did weren’t as good as ‘proper’ Oasis with Noel playing. But then I always was a Noel person 🙂

4, John Squire, Mani and Reni are awesome musicans
Beady Eye had Andy Bell and Gem Archer on guitar, bass, drumer and keyboard player – and of course Liam Gallagher singing – but they didn’t seem to produce as much noise and music as just the 3 of Squire, Mani and Reni. It’s interesting listening to The Stone Roses play with just a single guitarist as they use the moments of not playing as important parts of the song, and of course Mani is an aweseome bass player so almost acts as a second guitarist.

I also wonder if they keep the PA at 8 or 9 for the support acts and then wack it up to 10 for the main act.

5, I wish I continued playing the guitar from being a teenager and in a band 🙂 But of course there are many interests and hobbies I wish I continued or focused more on – playing golf from when I started at 10, interest in making computer games, cycling, art and drawing.
But interests come and go – but there has to be something said about focusing on one skill.

Even now though I couldn’t choose just one of the above things to focus entirely on.

Did The Stone Roses get back together for the money? They’ll certainly be making a lot of money just from these Heaton Park gigs and it’ll be interesting to see if they write any new songs. I don’t think anybody who saw them play yesterday cares though and the band did seem to be enjoying themselves rather than just going through the motions.