Steve Fenton

Adjusting Content for Network Speed

There is an experimental specification on the W3C for a navigator.connection Network Information API that provides a rough indication of connection speeds, which you can use to adjust your content. Like many of the modern API proposals, there is concern over it’s use in browser fingerprinting – but hopefully a course-grained version of this will […]

Codeless != Designless

This thought is the product of many years of experience of different code-free solutions to problems usually solved with programming. I thought it might end up being an anti-codeless rant when the thought first occurred to me, but it is actually a argument in favour of design. Hence the change of title to “codeless does […]

Automatically fix your namespaces

It is pretty common to clean up a project or solution to move the class files into a better organised folder structure. When you do this, the namespaces often end up reflecting their old location, not the better new location you moved them to. The task of manually updating the namespace and then fixing all […]

The wrong image seems to be selected from a picture element

This post started as a scratch pad as I was looking at helping a colleague implement WEBP images with a JPG fallback for older browsers. They had an issue in modern browsers because the fallback image was being loaded in all cases. Here’s a code example and demo: <picture> <source height=”500″ width=”500″ src=”webp.webp” type=”image/webp”> <source […]