Category: General

Practical Techniques to Improve Your Self-Motivation

Lack of motivation is something most everyone has experienced at some time in their lives. We can often jump into action if we are prompted by someone else, but when it comes to self-motivation, we must be both the motivator and the motivatee. 

Practical techniques to improve your self-motivation by Stephen Haunts

This isn’t always easy, as we can be prone to procrastination and, let’s face it, laziness. True, we can be too lazy to do something we need to do. It’s so much easier to ask someone else or convince ourselves that it’s not worth the effort to perform a specific task or go to a particular place. 

I should write a book, but I doubt anyone would read it. 

I’d love to become an teacher, but going back to college… no way. 

The boss wants me to represent him at the award ceremony tonight, but I’d probably say or do something stupid.

I’m too tired to go to the gym today. Maybe tomorrow. 

Demotivators are continually looking for an excuse to avoid doing what they need to do to succeed, to reach their goals, or to simply do something or go somewhere. As shown in the above examples, there can be varying reasons for a lack of motivation. Whether it’s a headache or other physical ailment, a lack of self-confidence, or a lack of desire, you’ve probably been guilty of at least one instance of demotivation. 

We all have. And that’s why this article was written. We’ll explore some tips and techniques that will help you to get up and go, do the unthinkable, and conquer the world. 

Okay, so maybe you won’t conquer the world, but you can conquer your world. So, let’s get started!

Detecting Profanity in Users Input

Since writing this post, I have had many great feature suggestions for the Profanity Detector. I have implemented all the suggestions I have received and written another blog post about it. You can read the 2nd post here.

On several projects that I have worked on, we have had a requirement to detect profanity in users input. This includes things like general swear words, sexual acts, racial slurs, and sexist slurs, etc. Over the years, I have built a pretty comprehensive list of these profanities used for the detection process. The list has been built from combining lists I found on the internet. The lists are allegedly used by a lot of the large social networks in their profanity detection; although I can’t verify that.

Profanity detector on GitHub by Stephen Haunts

My profanity detector is on GitHub, and released under an MIT license, so it is free for anyone to use and modify. The main list of profanities can be found in the ProfanityList.cs file. If you are easily offended and a bit sensitive to language then I recommend you DO NOT open that file. It contains some pretty gross language, but to detect the language, you need to be able to define it.

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.

Apress.com

Amazon.com

Amazon.co.uk

Barnes and Nobel

Waterstones

Foyles

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.

 

%d bloggers like this: