About The Happy Coder

Making learning about Artificial Intelligence available to all, keeping it simple and small. Love coding, love teaching. I want everyone to learn to code, and use it for good, to help or bless someone.

Algorithms

By |2026-02-03T10:56:02+00:00February 3, 2026|AI, Coding|

What is an algorithm? At its core, it’s simply a set of instructions.  Think about making a sandwich or baking a cake. You list the ingredients. In code, you list the variables you need.  In a recipe, you follow steps; otherwise, you’ll end up with a mess, especially if you add butter after baking the cake.  Similarly, in coding, the process is sequential. The code executes line by line, starting from the first line and working systematically through each one. When baking a cake or meal, you might prepare other components separately. For example, making beans on toast (a [...]

What is Artificial Intelligence?

By |2025-10-14T04:00:27+00:00October 10, 2025|AI|

Definition and Challenges of Artificial Intelligence Artificial Intelligence (AI) refers to the capability of computers to perform tasks traditionally executed by humans, such as learning, problem-solving, and decision-making. The objective is to develop machines capable of mimicking human behaviour or intelligence. However, this definition is broad, and differing viewpoints may exist. The primary challenge lies in establishing a consensus on the definition of human intelligence, let alone Artificial Intelligence. Machines operate differently from human brains, yet we anticipate such a capability. They process information in binary (0s and 1s), whereas our brains utilise electrical impulses, which can exhibit similarities [...]

The Creator (review and thoughts)

By |2024-07-31T06:48:23+00:00April 10, 2024|AI, sentient|

I recently watched the film ‘The Creator’, a(nother) dystopian AI future film. Despite it’s many flaws in the filming (not the best) I thoroughly enjoyed it. Especially the special effects and general idea and concept behind it.  (Hopefully no spoiler alerts) It is set in the near future where AI is held responsible for the destruction of a major US city. There is a war between AI and the western alliance. The eastern countries embracing it and giving it a home. The premise is that they are sentient but have become demonised. Sentient Before I offer more critique about [...]

The Black Box Paradox

By |2026-02-04T09:41:37+00:00March 23, 2024|AI|

Paradox When we consider that very few people understand how AI works. Even those that do understand the mechanism don’t know how the internal decisions it makes are arrived at. This can make people very nervous when we give it the power to make decisions on our behalf. This is the black box paradox. We know all the maths, the coding, and the data that goes into an AI model, but how it arrives at the prediction is impossible to fathom. Tweaking The problem starts at the beginning because it starts with random weights. It is then trained, and [...]

Singularity

By |2024-07-31T05:42:02+00:00March 22, 2024|AI|

Artificial Intelligence (AI) is is generally good at one specific task. Whereas Artificial General Intelligence (AGI) could be applied to a wide variety of problems. But there is a growing concern regarding something called singularity where AI becomes super intelligent and takes control over its own destiny. DeepMind DeepMind is a company (owned by Google) that developing AGI. It first developed an ability to play some basic Atari games and then moved onto, what is considered almost impossible for AI, the game of GO. Then they moved past that and tackled another seemingly impossible challenge ‘protein folding’.  What they [...]

What is so Special about Data?

By |2026-02-04T08:26:10+00:00March 20, 2024|Machine Learning|

Effective Data For machine learning to take place and for AI to be effective, it needs high-quality data. It also needs as much as it can get. Data is the food that feeds AI. If the food is bad or scarce (or both), then the AI will do very poorly. Data can be just that, data, numbers. It can also be words, it can be images, sounds, videos, and so on. It converts it all into numbers anyway. This data is pushed through the training process repeatedly to train it. But not all the data is used. Some of [...]

What are Neural Networks?

By |2026-02-04T08:29:45+00:00March 20, 2024|Machine Learning|

What are neural networks? Neural networks are the foundations of much of what we call Artificial Intelligence or Machine Learning. Basically, they are a type of algorithm that tries to learn patterns from data. The key word here is learn. Just like you and me, we need some form of input data; for us, it is from our five senses. The Brain Our brains then process that information and try to learn from it. So if you watch a baby trying to learn how to crawl, it does it through throwing its arms and legs in different directions, and [...]

What is coding

By |2024-03-16T17:36:22+00:00March 16, 2024|Coding|

What is coding? For many people coding is a dark art, a mysterious phenomena. You may be thinking why ask the question, it is obvious, everyone knows what coding is. Well it may surprise you that there are a lot of people who really have no idea what it is except it is a thing with weird words and numbers.  I spoke to a group of adults as an introduction to a coding course I was running. They were there for various reasons, one was even an author who wanted to incorporate it into her novel. Some of them [...]

Would you get into a car that was sentient?

By |2024-07-31T06:40:19+00:00February 8, 2024|AI|

Sentient machines There is so much in the press these days about self driving or autonomous cars. With the advancement of Artificial Intelligence especially around Large Language Models that give the impression that they are human. Some people think that these machines are already self aware, a Google employee was sacked because he was convinced that the LLM he was working on was afraid that it might be switched off. He described it as being sentient and that it has rights. If a machine was truly sentient it would have opinions of its own, wouldn’t it? What would happen [...]

What is Machine Learning?

By |2026-02-04T08:36:21+00:00February 7, 2024|Machine Learning|

Machines that Learn Machine Learning is the discipline of training a computer to find patterns in data. This data could be in the form of sensor readings, images, historical stock market results, etc. It can look at any data and try to approximate it. It does this by mapping inputs to outputs and making a prediction. House Data For instance, you could collect all the data on houses in a particular area (number of bedrooms, type of house, garage, garden, driveway, etc.) and predict what price a new property on the market might realistically fetch. Plant Data Another example [...]

Go to Top