Dave Dupplaw Full Stack Developer http://david.dupplaw.uk/ Making stuff work... most of the time.

What3Words and Which3Words

Addresses are long and tiresome to remember. And many things don’t have addresses.

“Meet me by the lake. Near the bench on the side with the bridge. The longer bridge - the one with the knobs on.”

“Which lake?”

What3Words is an attempt to overcome this failing of our addressing system.

Read more...

GitLab CI with Docker

One of the reasons I moved to GitLab is that it provides free private repos as well as free CI. It’s CI is based around Docker images which makes it dead easy to build any sort of project from GitLab.

I thought I’d share with you here the simple configuration I use to build things (such as this blog) and put it on to my web-hosting.

Read more...

Clarity Icons

We all love icons. Icon shopping has a similar effect on me than walking around Staples does. There’s a stationery buzz.

Font Awesome is the ubiquitous, go-to set for web-icons these days, but it’s still a bit fiddly to get it into a Typescript/Webpack project needing sass imports, web-pack loaders.

So, there’s always a bit of excitement raised in me when I find a new source for fonts or icons. And today I found Project Clarity.

Read more...

Typescript Maps

Unlike ES6, Typescript doesn’t have its own implementation of maps.

In ES6, you can instantiate maps pretty much the same way as in Java, except you can then use set and get methods to, er, set and get values.

let map = new Map<string,string>();
map.set("key","value");

Read more...

Running stand-alone Ruby script in a Rails Environment

I found out today how to have small stand-alone ruby scripts that run in a specific Rails environment.

Read more...

Trello Card Label Extension

The Card Color Titles for Trello is a must-have Chrome extension if you use Trello at all.

The labels that you add to cards show up as little colour bars by default and I’ll be damned if I can remember what all the colours mean.

Default Trello Labels

Read more...

SVG Icon Resource

It can always be a bit of a faff to find decent icons when you’re building something. Font Awesome is an obvious go-to resource for some icons, but sometimes they’re just not enough or they don’t have the right ones.

Read more...

My First SmartThings App

The automated home has not yet reached ubiquity, but systems like SmartThings are certainly making it easier to jump into the fun of controlling the phsyical world; even more so when Google Home and Alexa all come with SmartThings integrations.

As a dad to 5 and 7 year old boys I often find lights left on around the house and when those lights are upstairs there was a time I’d have mumbled a few choice words and thudded my way up the stairs to turn it off (surely children should have evolved to understand how high energy prices are now?). But no longer!

Read more...

Redis + Search = RediSearch

Just came across this nice looking project: RediSearch. It adds on top of Redis a full-text search engine capable of incremental indexing, fuzzy searching (for autocomplete) as well as numeric range and geo searching. It has a bunch of libraries ready to go in various languages too. Looks to be an interesting alternative to heavier weight frameworks like ElasticSearch or Solr.

Read more...