Internet

The internet plays a huge role in my life, from a place to share photos and videos, to a career, to a means of communication linking me to friends and family all over the world.

Avoiding specificity issues in CSS

Holy moly. What a discussion we’ve gotten into over on Twitter about CSS specificity, BEM, and inheritance. I wrote yesterday that the idea is flawed and tries to work around problems which aren’t actually problems at all, but part of the language of CSS. As Duncan noted: the problem is actually, “people write bad CSS”. Dirk from the DECAF…

Avoiding specificity issues in CSS

Disabling persistent MySQL connections in TYPO3

TYPO3 occasionally throws the following error message when attempting to connect to the MySQL database, blocking the operation of the website. The error also occurs when reporting is set to Production mode in the install tool. Uncaught TYPO3 Exception: #1: PHP Warning: mysqli::real_connect(): (HY000/1040): Too many connections in […]/typo3_src-6.2.13/typo3/sysext/core/Classes/Database/DatabaseConnection.php line 1199 | TYPO3\CMS\Core\Error\Exception thrown in file[…]/typo3_src-6.2.13/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101 The error…

Disabling persistent MySQL connections in TYPO3

A website is never finished

You start off with an idea, progress it to a concept, make a design, fiddle with it for too long, then turn it into a working prototype. If all goes well, then you’re in for a couple more rounds of revisions and improvements, then the site gets filled with content and you launch the site. You get a flurry of…

A website is never finished

Simple alternatives to CAPTCHA

Google announced yesterday that it’s come up with a great new way of avoiding the need for website visitors to fill out the CAPTCHA; the ubiquitous “type the letters from the image into the following field” feature of many online forms. Instead, they propose a simpler interaction based on the Turing Test principle: that some choices can only be…

Simple alternatives to CAPTCHA

Make sure you use the correct license when you publish your photos online

If you have a social media account or an account at one of the photo sharing websites, you need to make sure that your photos are published using the appropriate license. Flickr allows you to offer your photos under a specific Creative Commons license which allows those downloading the photos to pass them on or use them under certain conditions.

Make sure you use the correct license when you publish your photos online

CSS Reset done properly

A CSS Reset (or “Reset CSS”) is a short, often compressed set of CSS rules to reset the styling of HTML elements to a consistent standard. I've rolled my own; based on my own experience of CSS programming over the past fourteen years and based on other, well-known reset files.

CSS Reset done properly

Can I Use…?

The most useful website I've found to use over the past year for front-end web development is “Can I Use” by Alexis Deveria.

Can I Use…?

Swiss Train View

Swiss railway company Rhaetian Railways has teamed up with Google to provide a “Street View” version of its iconic line through south-eastern Switzerland.

Swiss Train View

Not quitting Facebook

Deactivating my Facebook account for a week was a great experience. Although I've chosen to return, I will be using the social media site with much less regularity and a much more filtered stream.

Not quitting Facebook

The geographic location of a website

Most websites are housed in so-called server farms, where their physical location is only important in as far as their protection and reliability is concerned. It’s quite possible to have a web server in the shed at the bottom of your garden, but I wouldn’t recommend it. A reliable hosting company with a good reputation, ultra-fast internet connection, fire-proof rooms and…

The geographic location of a website

CMS: separating authorship from layout

My first job in Switzerland was for a newspaper publisher, where I remained for seven years whilst co-developing a newspaper and website publishing system. Building on the basic experience I was gaining whilst making little blogs using b2/cafelog – on which WordPress was built – this phase of my career was where I learned to love working…

CMS: separating authorship from layout

Percentage-based CSS column layouts

Laying out a page using percentage-based columns seems to be pretty easy. However, in responsive layouts, you’ll quickly run into problems if you don’t take legibility into account. The most obvious case is when the columns are predominantly text-based, where a suitable gutter between the columns is essential for the sake of legibility. (If you want to skip the theory…

Percentage-based CSS column layouts