Hugo - The world’s fastest framework for building websites is pretty awesome. It’s what I use to manage this site.
But much of the web development world has moved in the direction of JavaScript, npm, and Webpack.
So how can you run a Hugo website and manage the embedded JavaScript and CSS that are most commonly managed with npm and Webpack?
Read more ...One of the things I love about the web is the flexibility it brings.
How I see this site may not be how you see it - and maybe you don’t see it at all but are using a screen reader.
Read more ...Supporting old technologies is frustrating for web developers, we all want to use new features and the latest tools.
“Only” 5% of website traffic
is coming from people using Internet Explorer
Even Microsoft say people should upgrade
Supporting additional browsers costs time and money.
Why should we do it ?
Read more ...How did I balance all the other requirements of a website with the need to minimise energy use?
To make this site cleaner than 98% of web pages tested
Read more ...Part of what makes the web so brilliant is in it’s flexibility - the information is conveyed mostly in digital text and unlike paper we don’t all have to experience that in the same way.
Some people can’t see the images in a website so we can add “alt” text which replaces the image for these people.
The problem comes when the image doesn’t actually have a meaning - then what should the Alternative text be?
Read more ...I was recently updating a very old laptop for use in some network testing - all it needs to do is connect to wifi.
I couldn’t understand why I was getting a blank screen after grub loaded
I tried various install media, tried editing grub conf.
The best I could get was a screen saying
Booting a command list
Read more ...What’s the difference between providing a rejection handler for a promise and catching errors ?
And why Does the React AJAX FAQ say
// Note: it's important to handle errors here
// instead of a catch() block so that we don't swallow
// exceptions from actual bugs in components.
Read more ...I’ve been using Google’s Firebase recently and find it a great development platform.
One of the best things about it is the emulators available for local development.
Just a few weeks ago they made it even better by adding an authentication emulator
So now you can easily start up a clean environment to test your new code on.
But the auth emulator starts with no users every time.
This is one way to add users.
Read more ...Hugo Page Bundles seem like a great idea, providing a way to organise images and other pages assets.
Here’s why I decided not to use them.
Read more ...Setting up Sonarcloud integration with Gitlab was so easy as to be not worth documenting - just setup an account at each, import your projects on Sonarcloud and follow the step by step guide to start analysis.
But getting test coverage reports was harder.
Read more ...