Self-Motivation and the Locus of Control

Motivation is not an easy topic for most people. In this day and age, procrastination runs rampant on the streets of society. We are raised to believe that the most natural path is the one that we should take and that we should use whatever means necessary to get the job done the quickest. However, what happened to the right way of doing things? What happened to our self-motivation? 

It is all too easy to get caught up in the fast-paced lifestyle that we live in today, and we often forget to ask ourselves the most straightforward questions. Why are we here? What are we doing with our lives? Are we enjoying the path that we are currently on?

I want to help guide you toward those answers, but to do so I need you to tap into what is known as your “Locus of Control.” Your locus of control is merely defined as 

“the capacity to which you believe you have complete control and power over what happens to you in your life.”

In layman’s terms, do you think that you have much, if any, effect on what happens in your life?

Julian Rotter is the psychologist who first came up with the term as he believed that a person’s locus of control varied by the individual. As Rotter hypothesized in his theory, the locus of control could occur on either an external spectrum or an internal one, and each person fell somewhere on that spectrum. Depending on where you find yourself on this spectrum of locus of control, your behaviors to your external environment will differ.


Applied Cryptography in .NET and Azure Key Vault from Apress Now Available.

After a year of writing, reviewing and editing, I am pleased to announce that my first book for a traditional publisher, Applied Cryptography in .NET and Azure Key Vault has now been released. It has been an exciting journey writing for APress, and the experience was excellent. You sometimes hear bad stories of working with traditional publishers, but I am glad to say this wasn’t the case for me.

Applied Cryptography in .NET and Azure KeyVault

The journey for me started at NDC Oslo in 2017 where I was introduced an acquisition editor for APress. We got talking, and I suggested an idea for a book which I then formally pitched. After the pitch was accepted, I then signed the contract and agreed on a schedule for the first three chapters. To get a good start on the book, I decided to take a little writing holiday to Whitby where I could lock myself away near beautiful surroundings and make a start on drafting the first three chapters. I have always liked the idea of going on a short holiday to write, so this was helping to realize a small dream. I locked myself away for four days and managed to write the first draft for these chapters, and I was then joined by my wife and kids to spend a long weekend in Whitby. I submitted the three chapters to APress and waiting for them to be approved. Thankfully they were, and we agreed on a schedule to write the rest of the book.

I spent the majority of 2018 drafting the rest of the book and finished the first draft towards the end of October. If I was to work on the book full time, I really could have written it in two to three months, but because I have no idea how well the book will sell, or how much I can make from it, I decided to spread the work out while continuing to write courses for Pluralsight.

Once the first draft had been completed, the book was peer-reviewed; which involved an independent developer reading the book and checking it was accurate, made sense and the examples work. As each chapter was reviewed, I had to address any comments or concerns. I thought this part of the process would be difficult, but luckily I didn’t have to change much. Once peer review had finished the book went to be copy edited. At this point, I asked my friend Troy Hunt to write the foreward where he discusses data breaches. The book was officially finished at the end of January where it was then typeset and sent for printing.

Although I have self-published a lot of books, it has always been a dream to write a book for a traditional publisher, and now that dream has been realized. I have been asked several times if I will write another book like this. At the moment, I am not sure. I enjoyed the process, but I need to see how this book performs first. If it does well, then hopefully I can extend the book into a second edition. As for a new book, I have a few ideas, but I will wait until later in the year to decide.

The book is available from most online book retailers as well as traditional bookshops.

Barnes and Nobel



Ultra Small Mobile Writing Rig

For my job, I tend to travel a lot to conferences. When I am away I like to get as much work done as I can, but sometimes it isn’t really appropriate to get my laptop out, for example on a smaller airplane, train or in a restaurant; but in those times I like to get some work done like answering emails or drafting blog posts. To make these times more efficient, I have developed my little wiring rig that uses my phone, a copy of the Ulysses Writing App and the excellent Microsoft Universal Folding Keyboard which allows me to be productive, yet more discreet or in smaller spaces when traveling.

Mobile Writing Rig using the Ulysses Writing App and the Microsoft Universal Folding Keyboard.

The keyboard itself is very thin, even when folded which means it takes up hardly any space when packed in my laptop bag. It’s not the best typing experience as it takes a little getting used too, but it is indeed very workable. You can pair the keyboard with Windows, Android and Apple IOS devices which gives you a lot of flexibility. I pair it with an iPhone and an iPad. I don’t usually take the Apple Keyboard with me for the iPad when I travel as it makes the device quite thick in my bag, so I think this is a better solution for occasional typing; this setup has helped me remain productive when using a laptop isn’t easy to do.

April 2018 Update Video

I admit I have been a little lazy in producing videos since the new year, but I am back producing them. Here is a quick update on what I have been doing over the last few months. This includes my new course, Blockchain – Principles and Practices and 2 new books, A Gentle Introduction to Agile and Lean Software Development and A Gentle Introduction to Beating Procrastination and Getting Focused.

New Pluralsight Course : Blockchain – Principles and Practices

My latest Pluralsight course, Blockchain – Principles and Practices is available now.

The introduction of blockchain based technologies has been one of the most significant developments in computing in recent years. We now have access to public blockchains and cryptocurrencies with systems like Blockchain and Ethereum, and also private blockchains that can be used by more regulated consortiums of companies. As with any technology, it is important for developers and architects to have a good grasp of the underlying principles of these technologies, even if they are going to use a 3rd party toolset.

Blockchain - Principles and Practices by Stephen Haunts at Pluralsight
Blockchain – Principles and Practices by Stephen Haunts at Pluralsight

In my latest Pluralsight source, Blockchain – Principles and Practices, I take you under the covers of this fascinating technology and show you how it works at a data structure and algorithm level. As well as explaining the principles I also build up a working blockchain sample written in C# and .NET Core to help illustrate the principles in something that you can play with and debug. If you want to understand how this technology works, then this is the course for you.

Here is the course description:

Blockchains are probably one of the most highly talked about technologies at the moment as they provide a way to attain digital trust on the Internet. There is so much emphasis on the technology that companies are very keen to learn about Blockchains and adopt them. Venture capitalists are currently diverting a lot of investments into funding Blockchain-based companies.

In this course, Blockchain – Principles and Practices, you will explore the fundamental data structures and algorithms used to build a typical Blockchain and build up a working example over the course. First, you will learn how to store single transactions in a block. Second, you will discover how to store multiple transactions in a block using Merkle trees. Next, you will be taught how to make the Blockchain tamper-proof using mining and proof-of-work. Finally, you will learn how nodes on a Blockchain maintain consensus.

By the end of this course, you will have the knowledge and tools necessary to build your own Blockchain.


Want to Quit Your Job? You Need an Income Strategy

So you are thinking about quitting your job and going solo? Before you do, you need a plan for where your income is going to come from. This should be split down into Active and Passive income.

For example, for Active income, this will be things like contracting, consulting, where you are exchanging your time for money. This is great, but once that time has been spent, you will not earn extra for it.

With Passive income, you will spend time producing work, such as an ebook or online course, and once it has been put live, you will earn income off of it from there onwards with no extra work.

Speaking at NDC Sydney

It’s taken me a while to catch up with some posts on this blog, but back in August, I had the amazing opportunity to fly to Sydney in Australia to speak at NDC Sydney. I feel very fortunate to be offered this opportunity as I have never been to Australia before.

This is is also the longest I have ever flown before too. The trip took 2 flight to get there. First was a 9-hour flight to Abu Dhabi, and then 14 hours to Sydney. To make this even more challenging, I had a 10-hour layover in Abu Dhabi overnight. Instead of just hanging around doing nothing, I decided to pay to use the business class lounge. This meant I could get some decent food, have a shower and use the business centre there to get some work done. To help me adjust to the Australian time difference, I forced my self to stay awake and work. So I got a lot of coding for LadderPay done. I thought this would be very challenging to do, but actually, I got through it fine. Then on the 2nd flight, I had a few whiskeys and some sleeping tablets which meant I got a reasonable 6 hours sleep. This meant that by the time I got to Sydney at 7.30am, I was actually feeling ok. That first day was tough, but once I had a good night sleep at the hotel I was adjusted, so no horrific jetlag for me…

Stephen Haunts at NDC Sydney
Stephen Haunts at NDC Sydney

After I arrived on Sunday and checked into the hotel, I met up with my sister (Charlotte) who is living in Sydney. By a bizarre twist of fate and timing, she was due to fly back to London that evening. So we spent the afternoon together before she had to go to the airport. I met Charlotte and her boyfriend at my hotel (Hilton) and we went for a really nice lunch at the Sydney Opera House restaurant followed by hitting a few bars. The weather was really sunny so had a really nice afternoon. After that, I went back to the hotel to rest a bit and then met up with Troy Hunt and a few others for dinner and drinks.

The next few days were spare for me as the conference didn’t start until Wednesday so I did a bit of sightseeing as well as working. On Monday I took a ferry to Manly Beach and spent the day walking around there and working from various coffee shops. I was very productive and got loads done.

Stephen Haunts at NDC Sydney
Stephen Haunts at NDC Sydney

The conference started Wednesday and I was booked to do 2 talks. The first was my cryptography in .NET talk, and the 2nd was my social engineering talk. Both talks went really well and rated very highly. For my social engineering talk, one of the people in the audience (Sammy Connelly) made an awesome infographic version of her notes (see picture below). She came and saw me at the end to give me the original copy. She likes to do these pictures and give them to the speakers as gifts. This was such a nice gesture and I was delighted to receive it. I am looking for a suitable frame so I can put it on my office wall.

Stephen Haunts at NDC Sydney
Stephen Haunts at NDC Sydney

Once the conference had finished on Friday, we went to the official afterparty called PubConf. I was speaking at pub conf. All the talks were supposed to be funny and done in front of a drunken rabble of developers. You get 20 slides and 15 seconds per slide. The slides increment automatically so you have no control over them. This is probably the hardest talk I have ever written, but it was so much fun and the audience seemed to like it. I did a talk called, How to lead like an utter bastard, and it got a lot of laughs. This was quite a boozy night, but luckily I had no commitments the following day.

Stephen Haunts at NDC Sydney
Stephen Haunts at NDC Sydney

I wasn’t due to fly back until Monday evening, so I had pretty much 3 days to myself to explore the city. On Saturday I went to Sydney and the Harbour taking photos. I also had booked to do the Sydney Bridge Climb, which was an amazing experience. It was very windy up there but very safe as you are in a climbing harness and attached to the bridge. The whole thing took 3 hours including getting kitted out and doing some training.

Stephen Haunts at NDC Sydney
Stephen Haunts at NDC Sydney

On Sunday, I took the ferry to Taronga Zoo which was about a 15-minute boat ride away. I had a really good time here. The weather was nice and they had lots of animals. My favourites were the Giraffes as they overlooked the Sydney Opera House. I deliberately didn’t do too much this weekend and just took in the sights.

Stephen Haunts at NDC Sydney
Stephen Haunts at NDC Sydney

On Monday, I didn’t fly until 9pm, so I decided to do the Sydney Opera House tour. The tour was amazing as we got to see all the main music venues. We even got to see the Sydney Orchestra rehearsing for a performance, and the sound inside the main opera house was amazing. After this, I got lunch again at the Opera House restaurant and then went to the Sydney Modern Art Gallery for a good look around. What was really cool as this was free entry, which is nice as everything in Sydney is really expensive.

Stephen Haunts at NDC Sydney
Stephen Haunts at NDC Sydney

Overall this was an amazing experience. As always, NDC put on a fantastic conference and I feel very privileged to have spoken at one of their events again. I will definitely be submitting again next year, as I would love to go again. The flight back was hard work though. 24 hours on a plane with a couple of hours in Abu Dhabi. I was shattered by the time I got back to London as I struggled to sleep on the flight, but it only took me a few days to readjust before I met my Wife and Kids on holiday in north Wales where I got to properly recover.