My programming story… so far

Early days

When I was 12, I was given a Raspberry Pi. For the first couple of days, it was really fun. After I had browsed the web for a while and played a bit of Minecraft, it sat in it’s box for a few months. I really had no idea what to do with it. That was until I discovered that I could build a website with it.

Continue reading

Advertisements

Gold DoE Expedition

I recently undertook the expedition phase of my Gold Duke of Edinburgh in a Canadian open canoe. The team and I paddled from just outside Thetford all the way down to Cambridge on the River Thet, the Little Ouse, the Great Ouse and finally, the Cam.

For the expedition, we needed to have an “aim”. This could be anything from photographing the team at checkpoints to measuring the water PH levels. My team opted to photograph wildlife along the way and due to this, I took along my Nikon Coolpix P610 because it featured GPS – something I thought would be useful when it came to showing where the photos were taken! The camera also had a “logging” mode which allowed logging of it’s location, speed and altitude, every n number of seconds for x amount of time. I set it to every 30s for 12 hours each morning before we left so that I could see our precise route.

Continue reading

Announcing a brand new app – Healthy!

Note: Healthy was launched about 5 months ago but I’ve only just got around to writing this post.

On Nov 3, 2015, SubjectRefresh spent a day in London at the annual Open Data Institute Summit, where we gave two presentations on our Young Rewired State Festival of Code 2015 Refresh app.

We were also challenged to create an application using open data that gets people to eat healthier. We came up with Healthy, a calculator that tells you “the time to burn” of a particular food.

It’s built on top of Node.js and uses Socket.io to communicate with the browser in real time. This means no page refreshing, no Ajax calls and no latency. We use an API to collect the information about the food the user has requested and then use some algorithms to figure out how much time doing a particular excercise is needed to burn off the calories.

I worked mainly on the algorithms to extract the information from the API and also wrote a large amount of the main JS for the Node.js web server and Socket.io integrations.

The code is available on GitHub and you can try out Healthy now at http://subjectrefresh.info/healthy/!

A URL shortener written in ten minutes

Friday night, or more specifically, Friday February 26th 2016 at 19:45:57, I was having a group Skype call with Alexander CraggsMiles Budden and Tom Emmerson when Alexander started complaining that all the URL shorteners out there were becoming too long. To clarify, URL shorteners were becoming bloated. He suddenly said, “Let’s make a URL shortener”. The situation escalated very rapidly and within 5 minutes, Miles had bought the domain subr.pw for an astronomical price of £0.60, I had setup Nginx on the server used for the majority of SubjectRefresh‘s projects and Alexander had setup the codebase and had a Node.js skeleton ready to go.

Continue reading

Refresh – a revision tool with a difference!

During the YRS Festival of Code 2015, “SubjectRefresh” and I created a revision app called Refresh. It’s built using Node.js and works by scraping the exam board website (currently only CIE) for the PDF for the syllabus the user has requested. The PDF is then converted to HTML using a PDF to HTML converter and is then shunted through Node’s Cheerio library. We then find out where the relevant information in the HTML is and send that off to TextRazor.

Continue reading