Will's avatar

Posts and notes 100daystooffload

(101 items)

Completing the #100DaysToOffload challenge 13 January 2022

Twelve months ago - in January 2021 - I started my attempt at the #100DaysToOffload challenge. I had set myself a new year’s resolution to try to write more and, around the same time, I noticed the hashtag for the challenge circulating on Mastodon. It seemed like the perfect opportunity to fulfil my resolution. The challenge is to post 100 times on a personal blog during the space of one year.

Read more...(7 minute read)

Browser push notifications in a Flutter web application 18 December 2021

🎉 This is post 100 in my attempt at the #100DaysToOffload challenge!

For a couple of years I have been writing mobile apps using the Flutter framework, having previously been a React Native advocate. Flutter is a great tool for writing applications that target multiple platforms and architectures from one code base - and not needing to write any JavaScript is definitely a bonus!

I use and recommend Firebase Cloud Messaging to handle push notifications in these applications. There’s also a great library for Flutter - Flutterfire - to handle the setup and receipt of these messages, along with the requesting of push permissions on iOS. The set-up takes away the pain of managing cross-platform notifications in Android and iOS applications.

Read more...(6 minute read)

Moving my Matrix identity to Element One 15 December 2021

For as long as I’ve been using Matrix I’ve hosted my own homeserver on my own VPS and at my own domain.

Why I chose to move

I previously wrote about how I self-host my homeserver with the help of the Synapse project. Although this set-up is quite straight forward, it’s an extra system to maintain with all of the associated overheads.

One of the reasons I don’t host my own mail server is that I fear missed messages and silent bounces. I trust dedicated mail providers (particularly Fastmail) more than myself in providing a robust enough service to ensure things get through. Equally, if I am telling other people my Matrix handle, then I want to make sure that messages they send (and those that I send) actually get delivered without any problems.

Read more...(4 minute read)

Nextcloud for photos: using cheaper object storage 11 December 2021

Some people may remember my quest a few months back to find a good alternative to Google Photos for image storage and backup.

At the time, I talked about Piwigo, Mega and pCloud as potential candidates. I also briefly touched upon Nextcloud in that post - a service I use (and self-host) anyway for all of my other storage needs, but I did not consider it further due to the high cost of the associated block storage required to house a large number of images.

Read more...(7 minute read)

The Idiot Brain by Dean Burnett 8 December 2021

Dean Burnett’s The Idiot Brain is an interesting insight into why people think the way they do, personality, emotion, and the biology of the brain.

The Idiot Brain cover

The author (who happens to live in the same city as me: Cardiff), covers a wide range of examples of human behaviour and relates them to brain function. Often these are based on defence mechanisms developed over the vast time of human evolution, and it’s amazing how our perception of fear and “uncertainty” can have an impact on other feelings and emotions too - such as embarrassment.

Read more...(1 minute read)

Parse and process incoming emails in a web application 5 December 2021

Most applications include some sort of outbound transactional email as part of their normal function. These email messages could be to support account-level features (such as password-resets) or to notify the user about activity relevant to them.

In the latter case, such emails might be read, and then archived or deleted by the user, without further direct action. They aren’t typically designed to be something one actions or replies to - they’re mostly there to bring you back into engaging with the platform.

Read more...(6 minute read)

Open-sourcing projects 2 December 2021

I maintain a small number of projects in my spare time. The amount of time I get to work on and maintain these varies depending on my other workloads.

The projects were never designed to be a means of making additional income, and were usually created simply to solve a need that I (or somebody else I know) had!

By open-sourcing them I hope that others will read through the code, and even check for (and report) problems or potentially contribute. The projects are licensed quite liberally under the BSD license.

Read more...(1 minute read)

Server back-ups with Restic 27 November 2021

A while ago I posted about how I back-up my personal servers to Backblaze B2. That approach involved adding all of the files and directories into a single compressed archive and sending this up to an encrypted bucket on B2.

Whilst this does achieve my back-up goals (and I use Telegram to notify me each time it completes), it felt inelegant. Every time the back-up executed, the entirety of the back-up file - several gigabytes - would be built and transferred.

Read more...(5 minute read)

Nightfall City 25 November 2021

From the hills of Dusk’s End to the small alleys of Main Street, you feel drawn to the lights of this vibrant metropolis in an uncharted internet territory. The sign reads “Nightfall”.

Nightfall City

The Nightfall City Gemini capsule (also available via the web) is an internet community in which people can engage with each other and write blog posts and other long-form content.

The community is divided into different districts of Nightfall City: Main Street, Dusk’s End, and Writer’s Lane. These districts allow members (or “citizens”) to post links to their blog posts, zines, or other online articles. From what I can see, people tend to participate in the district or community that best fits them as an individual.

Read more...(2 minute read)

Webzines 20 November 2021

I’ve really enjoyed my recent discovery of a couple of traditional-style webzines. Webzines (sometimes referred to as online magazines, or - in this instance - simply “zines”) are a way of distributing periodic content through the web.

I’m not referring to modern-day online media outlets, but those publications which are typically written by a small number of individuals (often “netizens”) and where the focus is not on advertisements, clickbait, or the mass production of content.

Read more...(1 minute read)

Rebel Ideas by Matthew Syed 17 November 2021

I feel that this book really resonated with my own thoughts around the importance of diversity in groups and teams.

The Rebel Ideas book cover

Matthew Syed’s Rebel Ideas: The Power of Diverse Thinking is a book that examines how effectiveness and output can be dramatically altered through building teams that contain diverse thinkers.

The book considers a number of examples - from both the past and present - and compares and contrasts scenarios where teams expressing different proportions of diverse thinkers can change their performance; sometimes with life-threatening consequences.

Read more...(2 minute read)

On websites and creativity 13 November 2021

I’ve recently been reminiscing about the “old” days of the web. They felt much more like expressions of personality and creativity.

These days, most people have social media accounts on mainstream services that act as their sole representation of themselves online. Whilst the content can be different, everyone’s own pages end up looking the same, with avatar images, feeds, and other components having layouts and “look and feel"s controlled by the service - the creativity is lost and things become bland.

Read more...(2 minute read)

Our DIY bathroom project 10 November 2021

I’ve recently posted about our home, in which we’ve completed a few DIY projects, such as renovating the garden and building a small loft conversion (amongst other things!). Today I’m writing about a project we did on the bathroom in the house.

When we first moved into the house, which was an old student dwelling in disrepair, the first floor had a stange configuration containing a separate toilet and shower room. Both of these rooms were tiny, old, and damp. There was no space for a bath and also no window in the shower room and the extractor fan didn’t work.

Read more...(5 minute read)

Automatically scanning for malicious user-uploaded files 6 November 2021

If you run a service that accepts file uploads from users, and then subsequent re-download by other users (such as images), then your service is potentially at risk of becoming a system for distributing malware. Without safeguards in place, bad actors could potentially use your service to upload harmful files with the intention of them being downloaded by other users.

Services like Google Drive and some email providers will automatically scan files for malicious payloads, but if you - like many people - rely on more basic object storage for storing files for your apps, then there may be less default protection available.

Read more...(5 minute read)

A little trip to A&E 3 November 2021

On Sunday I slipped and fell in the pouring rain. I landed hard on my side and ended up dislocating my shoulder.

I didn’t really want to try risking it and putting it back in myself (sensibly, as it turns out!), so I got a taxi to A&E (an emergency ward in UK NHS hospitals). I was lucky enough to be seen within a few minutes; I then had examinations, had X-rays, and was given gas. When the doctor got round to me, he managed to push it back into position after a few minutes of moving it around - accompanied by a very loud click.

Read more...(1 minute read)

Thinking positive 30 October 2021

It’s been a weird 18 months. Before pandemic-initiated changes, our daily lives might have involved getting up and travelling on some form of commute (either by walking, public transport, car, or something else) to a place of work each morning, before reversing the process every evening.

From my perspective, the change to working remotely from home has a number of benefits. Although I do miss seeing people on a daily basis in the office, the flexibility of remote work certainly outweighs any downsides. This is a feeling also echoed by many across my team - especially those with children or other family life that they need to work around.

Read more...(5 minute read)

Taking FreeBSD for a spin 29 October 2021

Background

I’ve recently noticed (and read) more and more posts discussing *BSD systems. Creations like the new (and excellent) OpenBSD Webzine and blogs (such as Rubenerd’s and Solene’s) do a great job in raising awareness of the family of operating systems.

I’m pretty familiar and comfortable with Linux, having spent many years using it as a daily driver (I am back on macOS full-time right now). Whilst UNIX systems share a lot of similarities, I’ve never properly used a BSD system before.

Read more...(5 minute read)

A mini loft conversion 24 October 2021

Following on from my previous post about renovating our garden, I wanted to write an entry about another project we’ve recently completed.

Our home is a Victorian townhouse over three storeys, but the top floor has only one bedroom and a bathroom. The rest of that floor is essentially attic (or loft) space, accessible through a hatch in the ceiling of the middle floor.

As such, the loft is quite long, and far too big for us to use as-is. In fact, I’m a big believer in that if you need to put something in the loft then you probably don’t actually need it at all. I’m pretty sure we only have Christmas decorations stored up there.

Read more...(3 minute read)

Extraterrestrial by Avi Loeb 23 October 2021

I often enjoy books that try to take a different view on known events. I don’t mean consipiracy theory - more around thinking laterally or “out of the box”. Such ways of thinking often inspire ideas that drive innovative change, and it’s important in order to counter “group think” or simply accepting what’s easiest.

One such book that tries to do this is Extraterrestrial by Avi Loeb.

Extraterrestrial book cover

Read more...(2 minute read)

This Week in Tech (TWiT) 17 October 2021

Another podcast I frequently listen to likely needs no introduction of its own. The This Week in Tech (or just “TWiT”) network’s flagship podcast - also called TWiT - must be one of the longest-running tech podcasts.

TWiT cover art

The podcast series started back in 2005. It runs weekly, with episodes recorded live each Sunday evening and made available via podcast clients shortly afterwards.

It is hosted by Leo Laporte, who is joined by interesting and varied panelists from across the tech sector. Episodes feature light-hearted discussion of recent news and insights from the technology world.

Read more...(1 minute read)

Giving a talk at the BSV Wales meet-up 13 October 2021

Last week I gave a talk at the Bitcoin Association BSV Meet-up for Wales, hosted by Tramshed Tech in Cardiff.

BSV Wales Image

Before learning about this meetup, I had not heard of BSV - either from a technology or currency perspective. However, as well as promoting an interesting project, the event welcomes showcases from technologists working across the blockchain space.

At Simply Do we have recently completed a project that aimed to leverage blockchain distributed ledger technology to help protect and manage IP assets in complex international and cross-domain supply chains. The project was a success and this was what I - along with my colleague, John - presented about.

Read more...(1 minute read)

Dotty 11 October 2021

A few years ago I was in the position of needing a solution to backup and sync dotfiles (configuration files for various pieces of software) across my machines.

Specifically, I had Mac computers and Linux servers, and needed a way to nicely keep these files up-to-date between them. For example, I may have spent some time crafting and tweaking files - such as my .vimrc and .tmux.conf - and needed a way of ensuring all of my devices could access the latest version of these files.

Read more...(2 minute read)

This is Going to Hurt by Adam Kay 6 October 2021

Having recently read The Secret Barrister, which I loved, I was recommended to also check out This is Going to Hurt by Adam Kay.

This is Going to Hurt cover

The book is similar to the Secret Barrister in that it’s a collection of insights and stories from a working professional - this time a hospital doctor. The book is subtitled Secret Diaries of a Junior Doctor.

The author tells the story of his experiences in completing medical school and beginning work in the UK National Health Service (NHS) system. NHS doctors generally follow a pre-defined pathway from “F1” through to consultant (or slightly different if a GP), and this book describes experiences of the author as he works his way through this process.

Read more...(2 minute read)

Pinephone: Manjaro and Phosh 2 October 2021

It’s been a few weeks since my last post about the Pinephone. Since then I have been playing further with a different graphical shell and have been trying out new applications.

In that previous post, I noted a few points that made the phone tricky to use as a daily-driver. However, it should be noted that this was (intentionally) based purely on the phone’s out-of-the-box configuration. I fully meant to continue exploring and to discover ways in which the device could become more of a useful daily use phone for me. This post forms part of that journey.

Read more...(3 minute read)

The Secret Barrister: Stories of the Law and How It's Broken 30 September 2021

The Secret Barrister: Stories of the Law and How It’s Broken is an oustanding book. In my opinion it is easily the best book I have read in the past year - certainly the most interesting.

The Secret Barrister book cover

The book is written by an anonymous barrister working in the criminal justice system for England and Wales. They explain the current inadequacies of criminal justice through a mix of interesting real-life and often first-hand stories.

Read more...(2 minute read)

Two months with Duolingo 25 September 2021

English speakers’ privilege

I’ve always been crap at learning languages. From an early age my parents would encourage me to learn French, and I picked up Spanish and German at around the GCSE level too (exams we take around the age of 16 in the UK). But things just didn’t really ever sink in.

Part of this would have definitely been down to a childhood unappreciated privilege of understanding English as a first language. As I moved more into the technology domain to follow my interests (and then later for education and work), I was lucky that everything I needed was also in English (from programming languages, technologies, documentation, and more) - of course driven primarily by the US big-tech sector.

Read more...(4 minute read)

Accessibility is for everyone 22 September 2021

For many developers, the notion of adding accessibility features - such as image alt text attributes to web page images and integrations with host usability enhancements, such as screen-zoom and text-to-speech - might feel like a chore. Especially for those still in the startup or “do things that don’t scale” phase.

It should no longer be about “adding” accessibility features any more than one these days “adds” a mobile-friendly version of their site (long-surpassed by responsive design and mobile-first pricinples) or even “adds” a button to perform a specific task. Accessibility features are a core part of any product, and should factor into the software development process right through from requirement engineering through to planning, design, implementation, and testing.

Read more...(3 minute read)

Pacman: signature is unknown trust 19 September 2021

I was performing a standard system upgrade on an Arch server this morning and received the following messages (maintainer details redacted):

$ sudo pacman -Syyu

... # Download of packages

(159/159) checking keys in keyring                 [######################] 100%
(159/159) checking package integrity               [######################] 100%
error: fail2ban: signature from "... <...>" is unknown trust
:: File /var/cache/pacman/pkg/fail2ban-0.11.2-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

I followed advice in the forums and tried refreshing and repopulating the keys, clearing the Pacman cache, and a combination of these things. I still kept getting the same problem each time I tried to upgrade.

Read more...(1 minute read)

Twitter Learnings 18 September 2021

I recently wrote about reviewing my Twitter usage, with the aim of discovering any constructive takeways I get from the platform that warrants me keeping it installed as an app on my phone.

The up-shot is that I have now removed it. I didn’t delete my account as there is still enough value in visiting it less regularly (such as on my computer’s web-browser), but by removing the easy shortcut from my phone I have noticeably helped reduce the amount of time I spend doomscrolling.

Read more...(2 minute read)

Columbus Day by Craig Alanson 12 September 2021

Having recently read Project Hail Mary - and rated it highly - Goodreads suggested I try Columbus Day by Craig Alanson.

Columbus Day cover

This is the first book in the Expeditionary Force series - one that I hadn’t yet heard of at the time.

Although it’s sci-fi, the book is set in the modern-day. Earth gets invaded by far more technologically advanced aliens and humanity suddenly finds itself playing along as the lowest echelon in a war involving many different levels of alien capability. The mostly-powerless humans need to work out which side they should be fighting on.

Read more...(2 minute read)

Using Telegram bots to receive updates from your automated systems 9 September 2021

The need for notifications

I self-host several services on various servers - for both some professional and personal uses.

I use automated backup scripts to periodically sync data to Backblaze (which I recently posted about). However, once they were setup I would often worry about whether they were working properly. To verify, I’d have to log into Backblaze and check when the latest backups came through.

Although I trusted the process, this became a bit of a pain and more and more of a constant worry. The script might crash, run out of storage space, or anything else, and I wouldn’t know about it unless I actually checked.

Read more...(4 minute read)

Twitter is still too addictive 7 September 2021

TL,DR; I’m starting a Twitter diary to log interesting findings, and to measure its value to me.

Twitter is pretty much the last bastion of mainstream centralised social media that I use (aside from messaging services like Whatsapp and Telegram).

Although I primarily use Mastodon for my every-day social networking, which is more focused on the things I am actually interested in, I always kept Twitter around too as an app on my phone. This is because every time I try to remove it, I quickly feel as though I must be missing out on something. It always felt as though some news or useful announcement would go unnoticed.

Read more...(4 minute read)

SSO Tools 2 September 2021

Another project I try to maintain (when I can!) is SSO Tools.

This is a simple web service that aims to help developers test their own services’ single sign-on (SSO) functionality. The motivation behind the project was that many commmercial offerings were too expensive for solo developers, or just far too complex for simple testing.

SSO Tools aims to provide a simple interface, with functionality that allows for registering identity providers (IdPs), test IdP users, and service providers (SPs). It is targeted at developers looking to quickly, yet robustly, test and iterate on their SSO setup in their applications.

Read more...(1 minute read)

Darknet Diaries: True stories from the dark side of the Internet 29 August 2021

Another of my favourite podcasts is Darknet Diaries.

Darknet Diaries cover art

Created and presented by the excellent Jack Rhysider, Darknet Diaries releases new episodes fornightly. Each episode contains a true story from the “dark side of the internet” and includes content related to cybercrime, hacking (in the information security sense), dodgy government activity, and much more.

Typically, most episodes involve guests that Jack interviews in order to tell a story. Although it does occasionally stray into some technical detail, the vast majority of episodes are totally accessible to everyone.

Read more...(1 minute read)

Stripping sensitive EXIF data from uploaded images 28 August 2021

The problem with image uploads

Many services - including web and mobile apps - allow for their users to upload imagery. This could be to enable users to upload an avatar image or perhaps create a gallery of image files.

Either way, many photos contain some degree of sensitive metadata information as part of their EXIF data. For example, if you take photos using your phone, it is likely that the camera application will embed metadata into the image file it creates. This could include the geocoordinates of the position from where the photo was taken, the make and model of the camera device, as well as lots of other data (exposure time, focus, balances, etc).

Read more...(7 minute read)

Adding 'dark mode' and dynamic theming to your React websites 21 August 2021

Adding theming and the choice between “light” and “dark” modes to your website can enhance your site’s accessibility and make it feel more consistent with the host operating system’s own theme.

With JavaScript (and React in particular) this is easy to do, as I’ll explain in this post. We’ll use a combination of our own JavaScript code, the Zustand state management library, and the styled components package to achieve the following:

Read more...(8 minute read)

Starting out with BookWyrm 20 August 2021

For several years I’ve been a user of Goodreads. It’s a very popular platform, and I primarily use it for keeping track of the books I’ve read, for receiving suggestions about new books, and for keeping up with what some of my friends are reading.

It’s a good service (though sometimes a little slow) - the website and mobile app are nice to use. However, as with any closed system, it’s always a worry of mine to think about what might happen if the service were to disappear or if I were to get locked out for some reason.

Read more...(2 minute read)

Fixing up our outside space 14 August 2021

About 18 months ago we bought a new home. The house is an 1880s (ish) Victorian building, and many of its original features - such as tile floors, cornice, and fireplaces - had been retained, which is great.

It had previously been a student-style (HMO - house of multiple occupation) house, in which nearly all available space had been converted into bedrooms. As you might imagine, the fixtures and fittings weren’t in great conditions, with old and worn carpets and wallpaper throughout.

Read more...(3 minute read)

Treadl 13 August 2021

I don’t tend to talk much about the projects I’m working on, but thought this would be a good opportunity to write a post about one such project - Treadl.

Treadl is a web app (and more recently and less popularly a mobile app too). It enables weavers to create and store their weaving patterns and projects online. This could be simply for personal use, or for sharing projects with others as a portfolio.

Read more...(2 minute read)

Pinephone update: the first few weeks 9 August 2021

Back in April, I bought a Pinephone. I used the phone quite consistently for the first few weeks and I meant to write an update here a couple of months back, but work (and other things) got in the way a bit.

So, here is my delayed “first few weeks with a Pinephone” update.

As mentioned, I initially aimed to simply use the phone in its out-of-the-box state (i.e. Manjaro Linux with KDE Plasma Mobile) - not as a daily driver, but more as a means of measuring the phone’s base case usability. However, hopefully with an aim to eventually being able to use such a device more full-time.

Read more...(4 minute read)

My development stack 4 August 2021

Some people have complex development processes and flows - making use of tools such as heavy editors and IDEs, Docker for running and building locally in development, or even develop entirely remotely over SSH connections. Other people use simpler combinations of tools.

I thought I’d write briefly about what I use on a daily basis. I have a relatively simple development tech stack:

  • Terminal application (I use the Terminal.app application that ships with my Mac, since this works best for me)
  • tmux - for handling multiple windows and panes
  • tmuxinator - for managing complex tmux sessions (I recently wrote more about this)
  • vim - a simple yet powerful text editor
  • git - for source control

I also use a small number of Vim plugins - installed via Vundle - to add nice quality-of-life features to my editor:

Read more...(2 minute read)

Our first few months with a dog 3 August 2021

About nine months ago - at the end of November last year - we adopted a dog. Although I’ve always grown up with and around dogs owned by parents and siblings, I’ve never been a huge “dog person” myself. However, it is very easy to get attached very quickly!

Picture of my dog, a chocolate cocker spaniel

The dog we adopted is an English working cocker spaniel. As you might imagine, he is extremely energetic. He’s a nightmare on (and sometimes off) his lead, and his recall isn’t fantastic yet due to us needing to re-train him after his previous owner.

Read more...(2 minute read)

Code syntax highlighting in Gatsby 28 July 2021

Providing code snippets on your website or blog can be a great way to convey meaning for technical concepts.

Using the HTML pre tag can help provide structure to your listings, in terms of spacing and indentation, but highlighting keywords - as most people do in their code text editors - also vastly helps improve readability.

For example, consider the below JavaScript snippet.

class Greeter {
  greet(name) {
    console.log(`Hello, ${name}!`);
  }
}

const greeter = new Greeter();
greeter.greet('Will');

The exact same listing is displayed below with some simple syntax highlighting. The structure and meaning of the code becomes much easier to understand.

Read more...(2 minute read)

Capsule.Town 27 July 2021

The Gemini protocol has gathered even more momentum in the few months since I last posted about it.

Its popularity is largely driven by its privacy-focused and content-oriented design. It doesn’t allow for bloated sites or resource-hungry client-side scripting. It’s a means for simply and easily accessing content that is useful to you - either by hosting a capsule yourself or by joining an existing community.

In this post I am introducing Capsule.Town - a way in which I can try and give back to the FOSS community.

Read more...(2 minute read)

Accidental Tech Podcast 26 July 2021

I listen to a number of podcasts each week. One of these is ATP (Accidental Tech Podcast).

ATP logo

This is one of my favourite weekly podcasts. It’s humurous and full of cutting-edge discussion from the tech world, and I always look forward to new episodes.

The episodes are primarily Apple focused, which is fine for me since I’m a big user of Apple products. Some episodes are more technical than others - discussing programming and development approaches - whilst others are focused more on user-facing items.

Read more...(1 minute read)

Generating video previews in webapps 19 July 2021

Many web apps have support for uploading video files. Whether it’s a media-focused platform (such as a video sharing service) or just offering users a chance to add vlogs to their profile - videos are a powerful mechanism for distributing ideas.

For services providing image upload functionality, it is relatively simple to build in processes that extract smaller versions of the files (e.g. thumbnails) to be used as image previews. This allows other users to see roughly what an image is about before opening a larger version. It also enables more interesting, responsive, and attractive interfaces - since the smaller images can be loaded more quickly.

Read more...(2 minute read)

The Night Circus by Erin Morgenstern 14 July 2021

Every now and again it’s nice to dive back into a young adult book. I recently read The Night Circus by Erin Morgenstern.

The Night Circus book cover

The book is a sort of dark romantic/fantasy mashup. It’s about a travelling circus, those who perform in it, and those who run it.

Le Cirque des Rêves is not just any circus, however. It’s only open at night, and always closes before dawn. What appears to be clever trickery may actually be much more behind the scenes, and the garish colours found in other circuses have been replaced by a simple black and white colour scheme.

Read more...(2 minute read)

Syncing RSS feeds with FreshRSS 12 July 2021

I enjoy reading my RSS feeds across my devices - whether it’s on my phone when out and about, my Mac in between bouts of work, or my iPad when in downtime.

Being able to sync feeds across these devices is important to me, both so I can maintain a single collection of feeds and to ensure that I can keep track of read/unread articles as I switch devices.

There are lots of web-based clients available, but using Reeder - a native app - gives a far nicer reading experience. There are lots of other clients for other types of devices too.

Read more...(2 minute read)

The '5AM Club' 7 July 2021

Recently my colleague was talking to me about the concept of the “5AM Club”, as defined in the book by Robin Sharma.

The “Club” is focused around starting your day early, with defined time slots for exercising and thinking.

There’s a great video here that summarises it all in about eight minutes.

The rough idea is to get up strictly at 5AM, and then spend 20 minutes exercising, 20 minutes reflecting, and then a final 20 minutes growing. By 6AM you are then energised and invigorated to start your day more effectively and successfully.

Read more...(2 minute read)

How to resize images client-side in your webapps 6 July 2021

The problem

Image processing and resizing is a common task in many types of applications. This is made even more important by modern phones that take photos several megabytes in size.

For example, if you offer an application that allows people to choose an avatar image, you won’t want to render the full multi-MB size image each time it’s shown. This is extra data for your users to download each time (which costs them both time and money, and can give a poor sluggish experience) and also means you need to fork out more cash for the additional bandwidth usage. If you have lots of users, then this time/money saving can be amplified significantly.

Read more...(4 minute read)

Project Hail Mary by Andy Weir 5 July 2021

Andy Weir has become renowned over the past decade for his science fiction novels. The Martian (and its movie) was hugely enjoyable and successful. I wasn’t so keen on Artemis, but still did enjoy the excitement of the story.

I thought his latest book - Project Hail Mary - was fantastic.

Project Hail Mary book cover

The story opens with a lone astronaut waking up in a spaceship that he has no memory of. He doesn’t know where he is, who he is, or how he got there. Although he works out that he is of pivotal importance to the survival of the human race, the story cleverly keeps you guessing about what might come next right to the end.

Read more...(2 minute read)

Using Blurhash to create placeholders for your images 30 June 2021

Loading indicators

In user-facing software, loading indicators are extremely important to let your users know that something is happening. This is the same no matter whether your software is a CLI program, a GUI application, a web app - or anything else.

Without such indicators, users of your software may become frustrated, or assume the program has crashed, and try to close it or leave.

Generally speaking, developers should try to keep long-running tasks to a minimum (or even offload them to a cron-job or an asynchronous server-side worker). However, in some cases this is not possible. For example, in a cloud-based file storage solution, in which uploads and downloads are a core and direct user-facing feature, the user must wait until a bunch of files finish uploading - though any post-processing can of course still occur in the background afterwards.

Read more...(6 minute read)

Self-host your web searches with Whoogle 24 June 2021

Google and DuckDuckGo

It’s common knowledge that part of Google’s business model is to use the data it knows about you, your searches, and browsing patterns in order to more effectively serve ads.

Many people feel uncomfortable with this and so there is a strong movement to adopt more privacy-focused options, such as DuckDuckGo. This was my position, too. For a few years I’ve been a solid DuckDuckGo user, and it was my default on Mac and mobile devices.

Read more...(3 minute read)

Joining a panel at Wales Tech Week 23 June 2021

Wales Tech Week is an annual event held by Technology Connected. The 2021 event is running this week, aiming to bring technologists together from a wide range of businesses and organisations across Wales.

Today, I was a member of a panel discussing blockchain - “Welsh Businesses Bringing Blockchain to Life”. I was speaking alongside experts from other companies working in the blockchain and crypto space, and an academic focused on applying the technology to government functions.

Read more...(1 minute read)

Anxious People by Fredrik Backman 19 June 2021

Anxious People is a book about an attempted bank robbery in a Swedish town (not Stockholm!). It is written by Fredrik Backman.

Anxious People book cover

The story involves a would-be bank robber arriving unexpectedly at an open apartment viewing whilst trying to run away, and taking the prospective buyers hostage in the process. It is mostly split between being set at the apartment itself and the police station in which the hostages are separately interviewed after the event. It is told primarily from the perspectives of the bank robber, the hostages, and the police officers.

Read more...(2 minute read)

Tmuxinator: simple terminal workspaces for your projects 18 June 2021

Living without workspaces

IDEs and richly-featured text editors - such as VS Code and Sublime Text - support many great features. One of these is the notion of projects or workspaces.

Such workspaces let you save your project’s development configuration to disk - things like the project directory, open files, editor layout, integrated terminal commands, and more. Often, each project can have its own workspace, too.

If you use workspaces then you don’t need to go through the tedious process of setting everything back up again each time you switch project, re-open your editor, or reboot your computer.

Read more...(5 minute read)

RSS: include your entire posts in your feeds! 12 June 2021

Recently I’ve noticed that some of the RSS feeds I subscribe to have become more and more restrictive. A post might contain just a title, or perhaps a short snippet or introductory paragraph, with the expectation that I then proceed to follow the link to visit the website itself in order to view the post in full.

I suppose in many ways that this is similar to distributing podcasts via RSS: the feed contains the podcast title, description, and other metadata, and then a link to download the podcast episode file itself. But this is because podcasts are in audio or video format and cannot be reasonably embedded directly into an XML file.

Read more...(5 minute read)

City-centre beekeeping 11 June 2021

Getting and “installing” the nuc

For his birthday a few years back, I bought my (now-)husband a beehive and a honeybee nucleus.

Some might see this as a strange gift, especially given that we live close to the city centre. It was certainly a surprise for him, but given his love for animals and science I knew he would like it.

We were lucky enough to have a relatively large garden, given our location, of around 20 metres in length. Since we didn’t really use the end of the garden much, it was a good location for hive - though other people have successfully kept bees in much smaller areas and on rooftops.

Read more...(14 minute read)

Married 10 June 2021

Just a quick post to say that I recently got married! By coincidence the event was three years to the day after our engagement.

It was a lovely day - great weather and really nice to see those that could attend. Hopefully we’ll get a chance to go away later in the year if/when things start opening up again 😁

Read more...(1 minute read)

I can't play games anymore 2 June 2021

Growing up and the “Warcraft years”

In my earlier years I was fairly into gaming. I was definitely only ever a “casual gamer” in the scheme of things today, but I would play at least a small amount of something most days.

When I was young it was mainly those games based on Nintendo platforms - Super Mario, Mariokart, Super Smash Bros, etc. These were great with friends and were the kind of games (along with their various sequels) that we could play over again and for many years to come. Pokemon was also a big hit for me, which would continue on through the consoles.

Read more...(4 minute read)

The H.G. Wells Classic Collection 26 May 2021

The Classic Collection of H.G. Wells novels contains five well-known stories: The War of the Worlds, The First Men in the Moon, The Time Machine, The Invisible Man, and The Island of Doctor Moreau.

The cover of the H.G. Wells Classic Collection

Despite the fame of these novels, I had never read any of them until I recently listened to them via the audiobook version, which was excellently narrated by the likes of David Tennant, Hugh Bonneville, and others.

Read more...(3 minute read)

The networking mall 23 May 2021

Someone non-technical recently asked me the question, “what actually is a server?”. They knew it was just a type of computer that runs somewhere that can be accessible over the internet, but they were interested in how they differ from “normal” computers.

The conversation moved on to how these computers can make several different functions available at the same time over the network, which brought us on to the topic of services and network ports.

Read more...(5 minute read)

How I back-up my personal server 18 May 2021

For a couple of years now I have been using a self-hosted Nextcloud as a replacement for iCloud and Google Drive. I won’t go into the details as to why (especially given the additional upkeep and other overheads required), as this has been covered before - but mainly it’s about maintaining control over my data.

I use a cloud VPS to host my Nextcloud instance - rented from Linode, whom I can certainly recommend if you’re looking for a good VPS provider - and since starting my Nextcloud journey I have begun hosting a number of additional services on the same server. For example, FreshRSS (which I consume using Reeder), Monica, Gitea, a Matrix server, and more.

Read more...(5 minute read)

Running 12 May 2021

The effects of working from home

The UK went into its first proper COVID-induced lockdown back around March time last year. At this time, our company locked its office doors and we all began working from home. We’re now all still working remotely about 14 months later and will continue to do so for the forseeable future.

Before we closed the office, I used to walk across my city - Cardiff - to get to work. It’s about a 3km walk, which would take me about 30 minutes to walk each way. I enjoyed the walk - I could stop for coffee on the way through, and the distance meant I could take different routes on different days if I wanted a change of scene.

Read more...(6 minute read)

Self-hosted notes and to-do lists 9 May 2021

In this post I will talk a little about how I handle my digital notes and to-do lists. In the spirit of my last post on data sovereignty, the focus will be on self-hosted approaches.

To-do list management

It feels odd that the first task many new technical frameworks guide users through, by way of a tutorial, is a simple to-do list; yet finding great production-ready examples of such software can be challenging.

Read more...(5 minute read)

Data Sovereignty 5 May 2021

The term ‘data sovereignty’ is something we hear much more about these days. Increasingly I’ve also heard it being mentioned in different contexts.

We’ve seen it more in the world of enterprise SaaS; particularly in the case of UK-based public sector organisations amid post-Brexit data flow policies. More and more organisations are getting stricter in the geographic location of their users’ data. Whereas before most organisations would be happy as long as the data is stored somewhere within the EU, they would now require it to be stored onshore within the UK.

Read more...(2 minute read)

Go Time 4 May 2021

I listen to a number of podcasts each week. One of these is Go Time.

Go Time logo

The Go Time podcast releases episodes every Thursday. Its format is mostly comprised of panel discussions and interviews with founders and specialists in the community about the Go programming language. Episodes are usually between 60 and 90 minutes long.

I don’t program in Go a lot myself these days, though do have one or two older projects written in the language. However, I feel that the content is often broadly relevant for non-full-time gophers - like myself - also.

Read more...(2 minute read)

Starting out with the Pinephone 27 April 2021

As you may know, I recently purchased the beta edition of the Pinephone. It arrived last week in the Pinephone Beta Edition box shown below.

Pinephone beta box

As mentioned in my previous post on the subject, I bought the phone for purely experimental purposes, to get involved in the community, and to be a part of the freedom and Linux-on-phone movement.

I fully understand that the device is not yet really considered ready for every-day reliable production use (especially when compared to my current iPhone 11 Pro Max). However, the Pinephone is less than 20% the price of my iPhone, and comes with the freedom to do so much more - without the restrictions of Apple’s “walled garden”.

Read more...(3 minute read)

My appearance in the Wales "35 Under 35" 26 April 2021

This is a bit of a vanity post, but back in December I was lucky enough to be included in the 2020 WalesOnline “35 Under 35”.

This list aims to present the “best young businessmen in Wales” for the year. It was definitely an honour to be included and it’s great to see the efforts from the whole team at Simply Do reflected. We’re still only at the beginning of our journey and so we have an exciting few years ahead!

Read more...(1 minute read)

Steve Jobs by Walter Isaacson 25 April 2021

I was recently asked whether Steve Jobs was someone that inspired me. It’s a difficult question, I find; he’s definitely an inspiring person in the sense of his work ethic, the products he envisages, and his way of understanding the needs of the target customer better than they know it themselves.

As a person, however, I find his personality and the way he treats others less inspiring. I try to be empathetic to others and take into account the emotional and psychological position of someone else when interacting with them. In a professional workplace this (hopefully) contributes towards creating a space that enables people to grow and develop whilst also emboldening colleagues to put forward their own thoughts and opinions in a more risk-free environment.

Read more...(2 minute read)

The Giver of Stars by Jojo Moyes 18 April 2021

The Giver of Stars by Jojo Moyes tells the story of a young English woman - Alice - who marries an American man and moves to a small town in Kentucky in the late 1930s.

The Giver of Stars book cover

Not long after arriving in Kentucky Alice realises she may have made a mistake when it comes to her new husband. However, the real story focuses around a job Alice gets working with the local library.

Read more...(2 minute read)

Reporting business accounts using Ledger 17 April 2021

As is the case with many countries, all businesses in the UK must report the state of their financial accounts to the relevant inland revenue service at their year-end (in the UK, this is HMRC).

This is also the case if you are a freelancer or sole-trader (or if you’ve made other untaxed income - e.g. from investments). In these cases, this is called your Self Assessment. Self Assessments are pretty straight forward, and can usually be completed online by the indiviual themself - as long as they have kept good accounts and know their numbers.

Read more...(4 minute read)

Six months of Invisalign 12 April 2021

Back in November I started an Invisalign course to help straighten my teeth. Invisalign works like traditional braces, but is instead formed from transparent teeth “trays” that others can only really notice up-close. Given my personal situation, this seemed like a better approach than the traditional metal braces.

My Invisalign goodie bags

In all honesty, my teeth weren’t that bad to begin with but - like many people - as I got older I was beginning to notice a little more “crowding” (where teeth bunch together and start to move out of place). Invisalign was something I had wanted to try for a while, and whilst the UK was in lockdown and I couldn’t see anyone anyway, it felt like a good time to go ahead with it.

Read more...(4 minute read)

Is Facebook scraping the Fediverse? 7 April 2021

I don’t use Facebook often. In fact, I only have an account currently because our company uses the “Login with Facebook” functionality in order to offer an additional single sign-on option for some customers.

I logged-in today as we needed to update some of the app’s configuration on the Facebook Developer portal, and I went via the Facebook homepage feed to get there. A couple of “Suggested for you” posts that showed near the top of my feed were unusual and caught my eye.

Read more...(2 minute read)

From Apple Mail to Spark to Thunderbird 4 April 2021

Like many people, I own and manage multiple email accounts - for example, some are for work, for home, or for specific projects. I used to be a strong user of solely web-based email clients (such as Gmail or Fastmail’s web apps) for each of my accounts. However the number of tabs I needed to keep open for all of this grew to the point where things became unmanageable - both in terms of needing to check multiple tabs several times per day and also frustrations when the browser would restart, or if I’d lose my tab setup for some other reason.

Read more...(7 minute read)

The simplicity and flexibility of HTTP for APIs 31 March 2021

Simple and RESTful HTTP APIs

The HTTP standard is an expressive system for network-based computer-computer interaction. It’s a relatively old standard - it started life as HTTP/1.0 in 1996 and the HTTP/1.1 standard was formally specified in 1999. HTTP/2 (2015) introduced efficiencies around how the data is transmitted between computers, and the still in-draft HTTP/3 builds further on these concepts.

I won’t go into the nuts and bolts of it, but - essentially - for most applications and APIs, the developer-facing concepts haven’t really changed since HTTP/1.1. By this version, we had all the useful methods required to build powerful and flexible APIs.

Read more...(6 minute read)

PinePhone and PineTime 27 March 2021

Pre-ordering the PinePhone Beta

Earlier this week I ordered a PinePhone, which recently became available as a Beta Edition.

I’ve been excitedly following the progress of the PinePhone for some time now. I’ve joined various Matrix rooms, subscribed to blogs, and started listening to the PineTalk podcast. The phone is a hackable device that runs plain old Linux - not an Android variant - and thus helps users escape from the grasp of the Google and Apple ecosystems.

Read more...(2 minute read)

The Great Alone by Kristin Hannah 23 March 2021

The Great Alone by Kristin Hannah is a book set out in the Alaskan wild. It tells the story of a young family that move in order to live off-the-grid after the father returns from being a prisoner of war in the Vietnam war.

The Great Alone book cover

The book mostly focuses on the viewpoint of the daughter, Leni, who is thirteen years old when she moves with her mother and father. The story tells how Leni adapts and grows into her new Alaskan life over the years, whilst at the same time trying to navigate some of the perils at home in her family cabin. Leni and her family meet and grow close to different members of the local community, in which there are a variety of views regarding the types of people that should be allowed to come to Alaska.

Read more...(2 minute read)

Running your own Matrix homeserver 22 March 2021

Why use decentralised communication services

Centralised communication services, such as Telegram, Signal, and Whatsapp, offer convenient means to chat to friends and family using your personal devices. However these services also come with a number of pitfalls that are worth considering. For example;

  • Many of these services are linked to your phone number, which can affect your privacy.
  • They can be invasive with your contacts (“Jane Doe is now using Telegram!”).
  • They usually require you to use proprietary client software. If your OS/platform isn’t supported then you can’t use that service.
  • They typically require that everyone using the service has to use the same client software.
  • They can be unreliable (Whatsapp frequently has downtime).
  • They are invasive and collect data about you (particularly Whatsapp). If you don’t pay for the service, then you are the product.
  • Even though Signal is encrypted end-to-end, its servers are based in the US and are subject to the laws there. Also their open-source server-side software appears to not have been updated for some time.

There are, of course, other factors on both sides that you may want to consider. It can be hard to move away from these services - after all, there’s no point using a system that no-one else you need to talk to uses.

Read more...(7 minute read)

Blood, Sweat, and Pixels by Jason Schreier 17 March 2021

This post contains some of my thoughts on the book Blood, Sweat, and Pixels by Jason Schreier.

Blood, Sweat, and Pixels book cover

This book contains a number of stories about how some of the most well-known (and other less well-known) video games are made. The book’s subtitle, “The Triumphant, Turbulent Stories Behind How Video Games Are Made”, sums it up pretty well.

Working in the software industry myself, I often hear about the notion of “crunch time”, which is a term we’ve borrowed from the game devleopment industry at times when critical updates, fixes, or deadlines are pressing. However, after reflecting on the stories in this book, it makes me realise that the “crunches” we suffer are nothing to the crunch and stresses experienced by game developers in many small teams and large development studios alike.

Read more...(2 minute read)

The Tildeverse 15 March 2021

The last twenty years of internet evolution

Although I was still somewhere between being of single-digit age and a young teen back in the ’90s and early ’00s, I still fondly remember discovering and becoming a small part of the flourishing community of personal, themed, and hobby websites that connected the web.

We were even given basic server space in school and the wider internet was thriving with GeoCities and communities grew around services like Neopets. Everyday, after school, we’d go home and continue our playground conversations over MSN Messenger (after waiting for the dial-up modem to complete its connection, of course). The internet felt small and personal (even if you didn’t use your real name or identity) and exciting.

Read more...(5 minute read)

The Hunt for Red October by Tom Clancy 10 March 2021

I recently finished reading The Hunt for Red October by Tom Clancy.

Book cover for The Hunt for Red October

This genre of novel (sort of military thriller fiction) is not usual for me and this is the first Clancy book I have read. That being said, the book has been on my “to-read” list for a fair amount of time and so I am glad I got round to reading it.

Read more...(2 minute read)

Thoughts on minimalism, and what happens when I get mail 8 March 2021

Minimising possessions

Like many people I these days try and live a minimal life when it comes to possessions. Having more stuff means there is a greater level of responsibility required to look after it. I love the principles involved in “owning less”.

Although I am in a very different situation to Pieter Levels, I find the ideas behind his 100 Thing Challenge (and other related pieces) to be inspiring.

Read more...(6 minute read)

Easily set up discoverable RSS feeds on a Gatsby website 4 March 2021

RSS has had a bit of a resurgence for personal websites and blogs in recent years, especially with the growing adoption of Small Web and IndieWeb ideologies.

Many static site generators - including Hugo, Jekyll, and Eleventy - can easily support the automatic generation of RSS feeds at build time (either directly, or through plugins).

The same is true for Gatsby - the framework currently used to build this static website - and the good news is that setting up one feed, or multiple ones for different categories, only takes a few minutes.

Read more...(7 minute read)

Making your Python Flask app serverless 28 February 2021

Python’s Flask framework is an easy and excellent tool for writing web applications. Its in-built features and ecosystem of supporting packages let you create extensible web APIs, handle data and form submissions, render HTML, handle websockets, set-up secure account-management, and much more.

It’s no wonder the framework is used by individuals, small teams and all the way through to large enterprise applications. A very simple, yet still viable, Flask app with a couple of endpoints looks as follows.

Read more...(8 minute read)

Migrating from Google Photos: Nextcloud, Piwigo, Mega, and pCloud 24 February 2021

By now I’m sure everyone has heard the horror stories about people (seemingly-) randomly losing access to their Google accounts. Often the account closures are reported to have been accompanied with vague automated notifications from Google complaining that the account-holder violated their terms in some way, but without any specific details or an offer of appeal or process to resolve the “issues” and reinstate the accounts.

As such, these events usually mark the end of the road for the victims’ presence and data on Google platforms - including Gmail, Drive, Photos, YouTube - without having any option to extract the data out first. This could be years’ worth of documents, family photos, emails, Google Play purchases, and much more (ever used “Sign in with Google” on another service, for example?).

Read more...(8 minute read)

The Glamour of Cyberpunk and the Road to Solarpunk 20 February 2021

A few months ago I stumbled across this article: Beyond Cyberpunk: Towards a Solarpunk Future. It was posted on the excellent blog Tales from the Dork Web, by Steve Lord, which I can certainly recommend subscribing to.

I had never heard of the term “Solarpunk” before, but I read up more about it and the more I researched the more intrigued I became. Essentially it is defined as - more or less - the opposite to the Cyberpunk subculture, and I think we’re at a bit of a fork in the road from which either future could become a reality.

Read more...(5 minute read)

A Year Without Answering my Phone 18 February 2021

This month marks a year from when I decided to (mostly - see below) stop answering my phone. This was not because I wanted to be antisocial (quite the opposite), but because it’s become the wrong form of communication for me.

Why did I stop?

Like many people, I am inundated with sales-y and spammy phonecalls. I have had the same mobile phone number since 2001 (that’s 20 years this year), which I am sort of proud of and would prefer to keep. However, careless (or malicious) entities over the years (and more than likely mistakes also made by my younger self) have meant that my number and name are now in the databases of many different types of agents - from insurance/legal company sales teams through to dodgy Bitcoin spam companies.

Read more...(3 minute read)

The Midnight Library by Matt Haig 13 February 2021

Last week I read The Midnight Library by Matt Haig. The book won the 2020 Goodreads Choice Award for Fiction.

The Midnight Library cover

“Set” in Bedford, England, the story starts by introducing the main character - Nora Seed - who feels completely down. She is depressed and thinks that she has nothing further to contribute to her own life or to the lives of the few people around her.

Read more...(3 minute read)

SSH Jumping and Bastion Hosts 10 February 2021

For many small or personal services running on a VPS in the cloud, administration is often done by connecting directly to the server via SSH. Such servers should be hardened with firewalls, employ an SSHd config that denies root and password-based login, run fail2ban, and other services and practices.

Linode has some great getting-started guides on the essentials of securing your server.

Protecting sensitive servers

In more complex production scenarios heightened security can be achieved by isolating application (webapp, API, database, etc.) servers from external internet traffic. This is usually done by placing these “sensitive/protected” servers in a private subnet, without direct internet-facing network interfaces. This means that the server is not reachable from the outside world.

Read more...(4 minute read)

Using Monica to Help Manage your Personal Relationships 7 February 2021

Many people no longer feel comfortable using Facebook. Whether you were never a member to begin with or you’ve had an account but chosen to remove yourself from the service, or you’ve simply tried to start using it less - either way, it’s no surprise given the way that they, across their family of products (including Instagram and WhatsApp), operate in terms of your own data and time.

This is a huge subject on its own and it’s really up for everyone to make their own minds up when it comes to their own stance. It’s been widely discussed pretty much everywhere, and there are loads of resources available on this handy website if you’re interested in understanding more about what goes on behind the scenes on these platforms.

Read more...(5 minute read)

Add icing to your websites using pattern.css 6 February 2021

Shapes and patterns can be leveraged in user interfaces to guide your users, draw attention to content, lend weight or emphasis, or just for aesthetics and decoration.

Layout and styling on the web is typically handled using CSS, however mastering CSS to the level where you can confidently take advantage of more advanced features is definitely not easy. I’ve been developing for the web almost full-time for a decade and I’m still pretty crap when it comes to doing complex stuff with CSS.

Read more...(2 minute read)

React State Management with Zustand 5 February 2021

React state

React state management is what gives the library its reactiveness. It’s what makes it so easy to build performant data-driven applications that dynamically update based on the underlying data. In this example the app would automatically update the calculation result as the user types in the input boxes:

import React, { useState } from 'react';

function MultiplicationCalculator() {
  const [number1, setNumber1] = useState(0);
  const [number2, setNumber2] = useState(0);
  return ( <>
    <input value={number1} onChange={e => setNumber1(parseInt(e.target.value))} />
    <input value={number2} onChange={e => setNumber2(parseInt(e.target.value))} />
    <p>The result is {number1 * number2}.</p>
  </> );
}

The resultant React app, showing two text inputs and a result line

Read more...(5 minute read)

RSS: The Rise and Fall... and Rise Again 3 February 2021

Many people would consider RSS - Really Simple Syndication - to be a relic of the past. However I think it has been making a comeback.

RSS is a mechanism by which people can automatically receive updates from individual websites, similar to how you might follow another user on a social networking service. Software known as RSS readers can be used to subscribe to RSS feeds in order to receive these updates. As new content (e.g. a blog post) is published to an RSS-enabled website, its feed is updated and your RSS reader will show the new post the next time it refreshes. Many RSS readers have an interface similar to an email client, with read/unread states, folders, favourites, and more.

Read more...(9 minute read)

Blogging for Devs 2 February 2021

A few months ago I discovered Blogging for Devs - I think through Product Hunt when it made it to #1 Product of the Day back in August last year.

At the time blogging was something I had been thinking about quite a lot. I actively followed several other blogs - both from people I know and from others in the tech community - and it was clear that, in addition to producing content that was interesting to read by others, writing was something these bloggers actually enjoyed and found valuable too for their own learning and engagement with the community.

Read more...(4 minute read)

Why not SQLite? 1 February 2021

If you need a database for your next project, why not first consider if SQLite might be a good option? And I don’t mean just for getting an MVP off the ground or for small personal systems; I mean for “real” production workloads.

Why not Sqlite?

Many people will be quick to jump on this with chimes of “it’s not designed for production”, but I think it depends on what is actually meant by “production”? Sure, it’s not the right choice for every scenario - it wouldn’t work well in distributed workloads or for services expected to receive a very high volume of traffic - but it has been used successfully in many real-world cases.

Read more...(3 minute read)

Dirty Little Secrets by Jo Spain 31 January 2021

Recently I finished reading Dirty Little Secrets. This is the first book I have read by Jo Spain and the first time I have known of the author.

Dirty Little Secrets cover

The book first appears as though it’s a typical murder mystery set in a relatively wealthy gated community in Ireland - however the intricacies of the characters and narrative quickly made it hard to put down. The story begins with the discovery of the long-dead body of the woman who lives at number 4 and continues with the involvement of the detectives as they investigate the strange incident.

Read more...(2 minute read)

Out with the Old: Moving to Gitea 30 January 2021

If you’ve visited my geminispace (gemini://wilw.capsule.town) you’ll have noticed that I’ve recently been on a mission to decentralise the every-day tools and services I use, and will understand the reasons why. This post will likely become part of a series of posts in which I talk about taking control and responsibility for my own data.

One of the changes I’ve made more recently is to move many of my own personal projects (including the source for this site) over to a self-hosted Gitea service. I chose Gitea personally, but there are many other self-hosted solutions available (see this post for examples and comparisons).

Read more...(4 minute read)

100 Days to Offload Challenge 29 January 2021

I know that I’ve been a bit crap at updating my blog properly and consistently over the past few years. One of my new year’s resolutions this year is to get into the habit of writing more, and so #100DaysToOffload seems a good opportunity to challenge myself to make sure I do.

The guidelines for and the ideas behind the challenge are on the challenge’s website. There aren’t any rules really, but the essential message is to “Just. Write.”. So, I’ll do my best before the end of 2021, and given that I’ve already published two posts this year I’ll count this number 3.

Read more...(1 minute read)

Project Gemini 20 January 2021

Over the past few months I have been trying to use centralised “big tech” social media platforms less and instead immerse myself into the more community-driven “fediverse” of decentralised services that are connected (“federated”) using common protocols (e.g. ActivityPub). If you like, you can follow me on Mastodon (@wilw@fosstodon.org, recently migrated over from my old mastodon.social account) and Pixelfed (@wilw@pixelfed.social).

I’ve loved spending my time on these platforms - mainly due to the lack of noise and fuss, and more of a focus on sharing relevant content and interesting interactions with likeminded people (though of course this does depend on the instance you join).

Read more...(3 minute read)

Scaling serverless apps: some lessons learned 3 January 2021

Building apps on serverless architecture has been a game-changer for me and for developers everywhere, enabling small dev teams to cheaply build and scale services from MVP through to enterprise deployment.

Taking advantage of serverless solutions - such as AWS’ Lambda, Google’s Cloud Functions, and Cloudflare’s Workers - means less resource is spent on traditional dev-ops and deployment and, especially when combined with tools like Serverless framework and its rich ecosystem of plugins, you can use the time instead to better develop your products. Let the provider worry about deploying your code, keeping your services highly available, and scaling them to meet the needs of huge audiences.

Read more...(6 minute read)