lewisdale.dev

Blog

Finding my old blog

01/08/2022

I've had a few blogs over the years - when I was younger I had a bad habit of starting a blog, and then occasionally throwing it away to move to a new platform. There's a handful of blog posts out there that I've written that are now lost to the internet....

Read more

Building my first emulator

20/07/2022

Recently I've become interested in embedded devices and developing for them. Initially, that started out as wanting to write a game for the Game Boy Advance, but if I'm being honest my knowledge wasn't up to scratch. So instead, I thought I'd try my hand...

Read more

Why I don't write React anymore

23/06/2022

Earlier this year I made the decision to stop working in React. I'd just come out of a project using a modern JS tech stack that used Next.js, and I couldn't get over how complex the whole thing had become, and how little I enjoyed the work. It felt like...

Read more

Managing my reading list

12/06/2022

A little while ago I was toying with building a lightweight web app that would make it easy to manage and share reading lists. I never got around to making it, but instead I built a very-MVP version by adding my reading list to this website. It was a...

Read more

Adding categories to Eleventy

28/05/2022

I've decided to put a bit more love into this blog, I've neglected it since the new year. As part of that, I wanted to make a few more changes - namely, I wanted some better navigation to allow me to write different types of content. So, I've added a...

Read more

Year retrospective

28/12/2021

The last year has been a wild one, with some real highs and lows, so I thought I'd do a short retro on the year and outline some (fairly vague) goals for the next year. 2021 has been both a very short and extremely long year. Short, because the first 10...

Read more

A new blog

17/12/2021

It's been a long time since I've had an actively-maintained personal website/blog, but I got a spurt of inspiration after seeing a few other recently-revamped blogs. What better way to celebrate the end of the year than with... a blog? My intention is to...

Read more

Using ES6 Generators

26/02/2015

I’ve been having fun using some newer technology recently - namely ECMAScript 6 Harmony (or at least the bits of it that Chrome supports). One particular feature which I’ve been using has made life quite a lot easier for me - ES6 now supports Generator...

Read more

Motion Sensitive Image Capturing In Python

28/07/2014

This is quite a nice little script that uses the PyGame library to access the computers webcam, and then takes a succession of photos, comparing percentage differences between the photos taken to determine whether or not any motion has occurred. If it...

Read more

Clever Image Resizing In Python

23/07/2014

In the not-too-distant past, I had a bit of trouble with a client who wanted to have images resized on the fly that were of a completely different aspect ratio - i.e. they wanted images that were orignally landscape to be square, with no skewing of the...

Read more

Raspberry Pi & Ultrasonic Module - Calculating Distance in C

23/05/2014

In this brief article I will be posting the C code I used to measure the distance between the Raspberry Pi and any object in front of the HC-SR04 module. I used this article to show me how to wire up the ultrasonic module using a breadboard. You will also...

Read more

Solving 2048 Using A* Search

23/05/2014

One of my recent projects has been to attempt to solve the game 2048 using A* Search - it all started from a bet with my girlfriend about who could get the highest score, and I decided I’d “cheat” and just get my computer to do it for me. It didn’t work,...

Read more