About The Happy Coder

This author has not yet filled in any details.
So far The Happy Coder has created 55 blog entries.
9 01, 2021

AI #2 what is it?

By |2021-01-09T12:04:31+00:009th January 2021|Artificial Intelligence|

The bottom line is it is the use of technology, machines, computing, coding to solve complex problems with advances in processor speed, and improvements in coding architecture. Artificial Intelligence is generally referred to machines imitating humans. It is an overarching phrase that is used (or over used) predominantly by media outlets.

9 01, 2021

Coding #4 it is all very logical

By |2021-01-09T09:01:09+00:009th January 2021|What is coding?|

This is wonderful beauty of coding it is very logical. That also means it can be very pedantic and unforgiving. You can make a silly mistake, like missing a semicolon or a bracket somewhere or not using a capital letter where there should be one and so on. it can take a while to track down the culprit. Although most editors (where you type your code) will alert you to the problem and where it might be. This does [...]

7 01, 2021

Coding #3 learning a new language

By |2021-01-07T10:35:27+00:007th January 2021|What is coding?|

Learning a new language can be daunting, I never mastered learning French at school. Learning to code is like learning a new language but with some very big important differences. It has a much smaller vocabulary. Whereas a natural language has a huge vocabulary, coding is far more limited and in reality you won’t need to learn all of it anyway, most of it you will never need. All you need is a couple of dozen words and you [...]

7 01, 2021

AI #1 A brief overview

By |2021-01-07T10:43:20+00:007th January 2021|Artificial Intelligence|

Artificial Intelligence is a broad term that covers a wide range of disciplines. You might have heard of them... Machine Learning Teachable Machines Deep Learning Reinforcement Learning Artificial Neural Networks Data Science They all mean different things. It can be confusing in what sounds and looks like a very mysterious world. Many feel that it is a threat, that robots will take over, that machines will make decisions for us and take control our lives. There is quite a [...]

6 01, 2021

Coding #2 a cake recipe

By |2021-01-07T10:34:52+00:006th January 2021|What is coding?|

Coding is a set of instructions like you would get if you were baking. You collect all the ingredients and then you follow a recipe. The recipe sets out the order that you do everything. The order matters. It is quite logical. This is also true of coding. You are telling the computer what you want it to do. It needs to be told what to do and in what order. Order matters. If you get the order wrong [...]

5 01, 2021

Coding #1 good question

By |2021-01-07T10:36:49+00:005th January 2021|What is coding?|

So many people have asked me this question. Especially from parents whose children were attending the Code Club at Harrogate Library. To answer the question is not very easy. It is easier to show someone rather than try to describe it. That is why I wrote a curriculum for adults and started teaching it at Harrogate Library. I was pleasantly surprised that it worked so well and how keen the people were. There is so much mystery surrounding it. [...]

4 11, 2019

Traffic Lights

By |2019-11-04T15:48:21+00:004th November 2019|Arduino|

Code for the Arduino: int ledRed = 13; int ledAmber = 12; int ledGreen = 11; void setup() {   pinMode(ledRed, OUTPUT);   pinMode(ledAmber, OUTPUT);   pinMode(ledGreen, OUTPUT);   digitalWrite(ledAmber, LOW);   digitalWrite(ledGreen, LOW);   digitalWrite(ledRed, LOW); } void loop() {   digitalWrite(ledRed, HIGH);   digitalWrite(ledAmber, LOW);    digitalWrite(ledGreen, LOW);   delay(3000);     digitalWrite(ledRed, HIGH);   digitalWrite(ledAmber, HIGH);   digitalWrite(ledGreen, LOW);   delay(1000);   digitalWrite(ledGreen, HIGH);   digitalWrite(ledRed, LOW);     digitalWrite(ledAmber, LOW);   delay(3000);   digitalWrite(ledAmber, HIGH); [...]

1 11, 2019

Digital Doodle #6

By |2019-11-01T17:51:32+00:001st November 2019|Digital Art|

Code: function setup() {   createCanvas(800, 800)   background(255) } function draw() {   for(var i = 0; i < 500; i++)   {     stroke(random(50, 200), 0, 0, random(255))     strokeWeight(random(10))     line(width/4, height/4, random(width), random(height))  }   noLoop() }

1 11, 2019

Digital Doodle #5

By |2019-11-01T17:52:12+00:001st November 2019|Digital Art|

The code: function setup() {   createCanvas(800, 800)   background(0)   for(var i = 0; i < width; i++)   {     strokeWeight(random(2))     stroke(255, random(255))     line(width/2, height/2, random(width), random(height))   } } function draw() { }

Go to Top