Chris Worfolk's Blog


Venla’s 5-month birthday

March 11th, 2017 | Family & Parenting

On Thursday, Venla reached the grand old age of 5 months. She celebrated in the usual way: by doing a lot of crying and screaming.

Unfortunately, as people have a habit of doing, she overindulged a little. Soon she was passed out on the sofa.

IT Career Acceleration course

March 10th, 2017 | News

Today I am launching my new course: IT Career Acceleration. What is it and why should you do it?

First, it is targetted at people in IT. So if you work in a different industry, give it a miss. Second, it is designed to help you take the next step up the career ladder. So, if you are happy in the job you are in and do not want to earn any more money or get promoted, you can safely skip it too.

However, if you do want to progress your IT career, it will be of interest.

Simply put, it takes the best parts on CV writing, interview techniques and negotiating for more money from the IT Contracting Master Class, adds in some awesome stuff about how to get promoted, and packages it up for the same price as a £15 cup of coffee.

A course for winners

You probably already have a good CV and set of interview skills, right? That is how you have carved out a successful IT career already.

There is room for improvement, though. There always is. The best athletes in the world have a coach. Someone to help them refine their skills even further. That’s what this course does: it takes you from good to great.

Do not miss that perfect opportunity

Olympic athletes are a good comparison. They wait four years for the games to arrive. They get one shot, and then it is over. But they don’t spend the time in between sitting idle. They train so that when the opportunity comes along, they are ready.

Winning jobs is the same. Your dream job only comes along once. If you are not prepared, there is not much you can do to fix it in three days. You have to do the work in advance. Which is no big deal, right? Who isn’t willing to invest a few hours in their career?

Get started for free

The first five lessons of the course and the first workbook are free. IF you previously registered for the Master Class, you can use the same login details.

Read more about the course on the Master Class website.

Can Cloudflare speed up your website?

March 9th, 2017 | Tech

Cloudflare is a CDN (content delivery network) that sits in front of your web server and speeds up your website. They have grown in popularity because they offer a set of basic features as part of their free plan. Therefore, you can get started for nothing and see what you think.

Setup

It is easy to get set up with. You start by entering your domain and Cloudflare scans the DNS records for it. It then sets up all of the rules in its own system and you update your nameserver records to point at their server.

You choose which hosts go through Cloudflare and which do not. You move all of your DNS over to their system, but only certain parts (typically www and any static asset subdomains you are using) will flow through the Cloudflare CDN.

Speed results

I am resistant to make any recommendations here. I ran a couple of tests for Anxiety Leeds. A sample set of one project with a few tests run is not representative.

I first ran a test while the site was still running on my server with no CDN in front of it:

I then ran the same test again once Cloudflare had been set up. I got the same results: the time did not change.

However, when I tried it the next day I got much faster results:

Whether this was because it took Cloudflare a while to cache everything, or whether it was because it provides no speed benefits but my server was just faster at the time I re-ran the test, I am not sure.

When I ran the test a few weeks later, things were really slow:

However, I ran the test again immediately after and got completely different results:

DNS management

It is also worth considering whether you want Cloudflare managing your DNS. For example, you could move all of your DNS management over to Cloudflare and bypass their CDN layer. I use NameCheap for registering my domain names and they provide free DNS hosting, also. How to do the two compare?

NameCheap is great: they provide a redirect server and email forwarding. Therefore I use them for a lot of the domains where I want to implement those features as I get them for free. Their email forwarding service reliably delivers emails to my inbox.

Therefore, I usually stick with NameCheap.

Cloudflare does have one advantage, though. They support CNAME flattening on the root domain. When using Heroku, you have to CNAME your domain to theirs. However, you cannot CNAME the root domain (www.example.com works fine, but example.com does not) as this disrupts all of your other DNS records.

Cloudflare (and a number of other DNS providers, but not NameCheap) solve this by providing CNAME flattening in which they allow you to enter a CNAME, but they translate this into an A record that updates automatically. Because of this, I tend to use Cloudflare when using Heroku.

DNS speed

Another concern is the speed of Cloudflare’s DNS server. First, let’s look at a typical response from the NameCheap free DNS service.

30 milliseconds. That sounds fine. Now, compare that to one of my sites running on Cloudflare’s DNS service.

It is an eye-watering 813 milliseconds. That is almost an entire second just to do the DNS lookup. I immediately re-ran a few more tests on various websites, including on the same website again. The second time, it was much better.

6 milliseconds. It is also a big difference to the first result. Such discrepancies are concerning.

Conclusion

Can Cloudflare speed up your website? Based on the available evidence, no. However, this is one website that I ran five tests for. That is not a large enough sample to draw any conclusions from.

Second, it may be that I need to spend more time playing around with the cache headers on Anxiety Leeds to get the full affect. The documentation suggests I should not have to do this, but I am not convinced that that is the case.

In defence of gardening

March 8th, 2017 | Health & Wellbeing

Gardening is not the most glamorous of topics. For many, it belongs in the same category as golf, filed under things you should only do when you retire, or at very least become a middle-aged adult.

But gardening has some great benefits.

It happens outside

You can garden inside, but you probably won’t want to. Apart from the soil that will end up on your carpet, there will not be enough daylight for your plants. Therefore it is a great motivation to get yourself outside and enjoying the fresh air.

You can watch things grow

It is satisfying to see plants spring to life out of nowhere. You can do the same thing with children of course, but that is massively time-consuming. Plants just require some sunlight and some water, and you’re done.

You can eat some of them

Week after week I could get a bag parsley from the supermarket and end up having to throw some away because I could not use all of it. Having a herb garden is much more cost effective.

You can do it anywhere

Any outside space will do. I started gardening on my fourth-floor balcony. You can have window baskets, flower pots, or even a pop-up greenhouse. No space is too small to grow something.

It’s low maintenance

You need to water your plants every few days if they are undercover. If not, you can often get away with doing literally nothing. You can go away on holiday without putting them into kennels, and you can away with just not bothering for a week if you are ill. Or you can spend time lavishing them with love, the choice is yours. Plants are resilient organisms and either will probably keep them alive.

How does track cycling work?

March 7th, 2017 | Sport

Did you experience a little confusion when watching the Olympic action at the velodrome last year? I certainly did. So I looked it up. Here are the ins and outs of track cycling.

Road cycling is pretty straight forward. People start at one point and then try and ride to the other point as fast as they can. The one who gets there first is the winner. Things get slightly more complex when there are stages and time trials, but the basic idea remains the same.

This is not so with track cycling. There are different disciplines and whole new skills to be learned with each one. This guide takes you through the most popular.

It’s all about the slipstream

Much like road cycling, being at the front is hard work. You have to move all of the air out of the way. In comparison, if you are sat behind another rider, it is much easier because you can cruise behind in their slipstream. This is critical throughout track cycling.

Team pursuit

In team pursuit, each team has four riders that have to complete a distance of 3km. Each member of the team will take it in turns to ride at the front, doing most of the work, before falling to the back and allowing the next member to take up the strain.

Only three riders need to finish the race. In theory, the team could go the entire race with all four riders. However, often one rider simply cannot keep up with the pace. Or, more often, the team will work tactically so that one rider does an extended spell at the front, burning all of their energy, before allowing the remaining three to finish the race.

Sprint

Spring is a competition between two individual riders. Distances vary but is often three laps of the track. In sprint races, you will often find the riders going very slowly for the first lap or two. The reason is that if the riders went off fast, the rider at the back would tuck into the front rider’s slipstream, save their energy, and then pass them on the final lap.

To prevent this, the front rider will cruise around at a walking pace, waiting for the perfect moment to strike. They will then suddenly rush off, hoping to catch the other ride unprepared. The other ride attempts to keep close enough to perform the undertake, often riding around the top of the track so they can rush down for a sudden gain of speed.

Keirin

Kieran is a race of 2km. However, for the first three-quarters of the race, the riders follow an electric bike around the track and must keep behind. The bike gradually increases in speed before pulling off the track near the end of the race, at which point it is a free-for-all.

Omnium

Omnium is the heptathlon of the track cycling world. Riders compete in a series of different races including pursuits, elimination races and time trials. An elimination race is a simple race around the track where the rider at the back is eliminated each lap until a winner is found. Omniums will typically end in a points race. This could be over 100 laps, with points given every 10 for the first four riders.

Will Rocksmith teach you to play guitar?

March 6th, 2017 | Music

If you have ever wanted a real-world version of Guitar Hero, Rocksmith may be for you. However, learning guitar still takes a lot of practice.

Guitar Hero has proved to be a very popular game, and it was only a matter of time until people started asking “is there any way this could be done with a real guitar?”

The answer was yes, in the form of Ubisoft’s Rocksmith. You plug a guitar into your games console using a USB to 1/4” jack cable and then play a Guitar Hero-style game, with the idea of it teaching you to play a real guitar.

But does it actually work? I took Ubisoft up on their 60 day challenge: put in an hour per day and you will play guitar for life, or so they say.

Did it work? Sort of. On the positive side, I can indeed play guitar. Within a year or so of first picking it up I was good enough to join a band, if only to hold down some chords while the real guitarists played the fancy stuff.

On the flip side, it really takes practice. I played for two hours per day, instead of one. I also acquired a guitar teacher for one-to-one lessons and still it was really six months before I could play a simple song.

That ignores the fun I had using Rocksmith though. You are playing your favourite tunes, even if it is just the occasional note at first, and while the adaptive difficulty can be annoying at times, it does make it accessible to everyone. Even if it doesn’t turn you into a guitar player for life, you may find you have just as much fun playing it as any other video game.

How to make fried rice

March 5th, 2017 | Food

Want to turn a normally healthy food into something unhealthy and delicious, without having to go down to the local takeaway? Follow these instructions.

Fried rice is super-tasty and really simple to make. It works well as a side dish, or as the main event, especially if you are adding some protein into the mix.

Ingredients

  • Long-grain rice
  • Bean sprouts
  • Garden peas
  • Groundnut oil
  • Egg

Instructions

  1. Pre-cook the rice. The instructions on the packet will explain how to do this will be on the side of the packet. Typically it will involve bringing a pan of water to boil and dropping the rice in for 10 minutes.
  2. Drain the rice and set aside.
  3. Heat a tablespoon of oil in a wok until it is nice and hot.
  4. Throw in the beansprouts and garden peas and stir fry them. By stir fry, I mean push around the pan a lot with a wooden spoon.
  5. Throw the rice in too and give it another two minutes.
  6. Make a hole in the centre of the pan, then crack and egg and drop the contents into the hole.
  7. Give the egg a minute or two to cook, then rough it up with a fork until it is lots of little pieces.
  8. Mix everything together and serve.

Is fresh yeast better than dried yeast?

March 4th, 2017 | Food

Buying, storing and using fresh yeast can be rather time-consuming. But does it produce better bread?

Some cookbooks will insist that you simply cannot bake nice bread without making your own sourdough and using fresh yeast. Others, such as the River Cottage Handbook: Bread says that using fresh yeast is too much hassle most of the time. But what is the truth?

The biggest advantage of dried yeast is that it stays alive for a really long time. A packet may have a shelf live of 6 months or longer. In comparison, fresh yeast needs to be bought when you need it. It will stay alive a little while in the fridge, or you can freeze it, but then you need to remember to defrost it in advance of using it.

You also need to find it. None of the major supermarkets stocks it so you need to find a friendly baker or local health food shop and make an additional trip there to get it. The tried stuff just sits in your cupboard, ready to go.

How about the taste, though? Surely that makes it all worthwhile. Well, in reality, probably not. When I tried both, I could not tell the difference between the bread I had baked with fresh yeast and the bread I had baked with instant yeast.

This is surprising because you would think that I would get at least a placebo benefit from the fresh yeast. But there really is little to choose between the two, at least in bread, you make in your own kitchen.

Fresh yeast might be nice to try once in a while. However, it is unlikely you will notice any difference, and the additional complication makes it a lot of effort for little gain.

Are premium nappies worth the money?

March 3rd, 2017 | Family & Parenting

With most products you can find in the shops, there are premium brands and supermarket brands. Is it worth paying the extra money for? It varies from product to product, but often the answer is no. Can you tell the difference between Kellogg’s corn flakes and supermarket corn flakes? My guess is that if you did not have the box there in front of you, you couldn’t.

Sometimes, the supermarket own brand products are made by the premium brand companies and simply re-packed. This is not always true, though: some products there is a measurable difference and the only way to work it out is to try them. Bare in mind though that there is also the placebo effect. You may think something tastes better simply because you paid more for it. It is clear that people cannot tell the difference between cheap and expensive wine for example.

But what about nappies?

According to the independent consumer magazine Which, the answer is yes and no. Based on their surveys, Pampers do indeed come top being rated as the best nappies you can get. However, they do not score well in one category: value for money. In comparison, some supermarket own brands, including Aldi, score almost as well while being much, much cheaper. How your supermarket fares depends on where you shop: see Which Magazine for full details.

My personal experience mirrors the findings of Which. Pampers are great: they have a wetness indicator on the front and the mesh lining inside them means the waste seeps through while Venla’s bottom is given a bit more protection. For us, it is worth the extra £3 a week we spend to upgrade.

It may come down with how much you want to spend. The premium brands do seem to be slightly better, but for the increased cost means that it is certainly worth trying the cheaper versions first.

How to write a good eulogy

March 2nd, 2017 | Public Speaking

Writing the perfect eulogy is a tough business, especially when you want to do justice to a loved one. These tips will help guide you in the delicate task.

Writing and delivering a eulogy is rarely a pleasant thing to do. However, when you are called upon to do it, chances are you will want to do the best job you can do in honouring the loved one you have lost. You rarely get extended notice, so it is best to be prepared. Here are some tips.

It’s not a biography

The structure of a eulogy will typically talk through a person’s life. This is a good guide for how to lay out your speech. However, it is important to remember that it is not a biography. Everyone at the funeral is likely to have known the person and their life story, so there is no benefit in parroting it back to them. Instead, you should concentrate on distilling the essence of their personality. Pick out a few bits to talk about that really show what kind of person they were.

Unless they were a complete bastard, in which case you should show a mix of their personality. There is no point denying their faults but focus on their good points also.

Use humour

At my public speaking club, I’m noted for adding humour to any situation. In fact, I used to joke that I thought it was always appropriate, though I hadn’t had a eulogy to try it out at yet. That was years ago, and now I have had a eulogy to try it out at, and still stick by my conviction.

Humour is a wonderful tool for keeping people engaged and breaking the tension. it can bring the mood of a room right up. You might think that a funeral is not the place for a eulogy, but I could not disagree more. You need to use humour to lighten the mood not just in spite of it being a funeral, but because of it. You want to leave attendees with a positive memory of the deceased, not a solemn downcast version.

Tell stories

This goes for any speech, ever. Stories have an emotional attachment. People will quickly forget what you said, but how you made them feel will stick around much longer. Humans love stories. So skip the boring details and lay out your speech out hopping from story to story.

If another member of the family has a lovely story about the deceased, invite them up to give it.