Because of the impact of GDPR I’m in the process of updating my site. Therefore any plugin that I cannot verify has been either deactivated or removed. The consequence of this will be some broken content / shortcodes that I’m in the process of finding an alternative solution for.
Author archives: Gareth J Barnard
Early morning at the beach
Arrived at the beach at 7:17 to take this wonderful selection:
Frosted glass
Whilst looking at WordPress themes, I noticed one that had a frosted glass almost bokeh effect on the background image, where only the content area was clear. So went looking for information on the technique and found this: https://css-tricks.com/frosting-glass-css-filters/ – which does the effect the other way around. Something to consider for the Moodle themes.
Maven, Gradle and Ant for Java on the Raspberry Pi B+
This is something I had been meaning to create for ages, a lot of preparation, but I finally managed to create it: Description: Compiling more than one Java file and assembling into a run-able Jar can be time consuming and repetitive when you use the command line. In this screen cast I demonstrate and compare […]
Gource animations
Gource is a software development visualisation tool that shows the contributions of developers to a project over time. I decided to create some visualisations based upon themes I have worked on or contributed to for Moodle. Bootstrap: Shoelace: Essential: Elegance:
Using C and C++ in the same program
Just to demonstrate how C and C++ are related and can be combined, here is a screen-cast on a Raspberry Pi:
A mini Thymeleaf web server
I decided to see if I could get Thymeleaf to work on a Raspberry Pi using a non-servlet based web server. Here is the result!
The difference between loops and recursion in Java, C and C++ on a Raspberry Pi
To get the ball rolling with my programming series on the Raspberry Pi, I decided to create a screen cast on ‘recursion verses loops’. In addition I thought that it would be a good idea to compare the different execution time when implemented on Java and C. I then thought it would be a good […]
Using C Unions on a Raspberry Pi
Whilst revisiting the use of ‘C’ I remembered about ‘unions’ and how they can be used to view data in memory in different ways. And here is the code: #include <stdio.h> union { unsigned int i; unsigned char c; } aunion; int main() { aunion.i = 42; printf(“The answers are %d and %c\nWhy is that?\n”, […]
A simple C program on a Raspberry Pi
I wanted to see how fast a ‘C’ program was compared to Java, so created a really simple program to find out.