Explore My Notes

Netlify redirects and downloads | adactio

I didn't know that the <a> element had a download attribute, nor that it could rename the file on download for you e.g:

<a href="/files/ugly-file-name.xyz" download="nice-file-name.xyz">download</a>

On top of which, I didn't know that redirects using Netlify's _redirects file (which I do know about 😀) would allow for same-domain downloads (which the download attribute requires):

/download/*  https://clearleft-audio.s3.amazonaws.com/podcast/:splat  200

Basically, this whole article is a TIL.

SVG OMG! | Jake Archibald

SVG OMG is a brilliant (and free) web tool for sanitising, standardising, and minifying SVG assets. It's brilliant and has saved me a few times already.

The value of browser diversity | Dave Rupert

There are two browser engines in the world. Dave considers what might be lost if that were to become one. He argues that browser diversity forces the standards process to be slow – and therefore deliberate and considered – and non-corporate. A single browser means whoever controls it has an outsized influence on how the web works.

There’s a lot of value in slow thinking. You use the non-lizard side of your brain. You make more deliberate decisions. You prioritize design over instant gratification. You can “check” your gut instincts and validate your hypothesis before incurring mountains of technical debt.
To make good platform features requires consensus, not competition, and the web’s potential is born out of cooperation, not a single corporation.
If the Web is governed by a single corporation, it will start looking like that corporation’s vision of the Web, ultimately limiting its own potential. Trading short term gain on new shiny features for long term
If we do see a major reduction in browser diversity, I think we lose the intentional slowness and the cooperation mechanisms we have in place. Who knows what will happen, but my hope is that just like iron can sharpen iron, maybe chromium can sharpen chromium.

How to test custom React hooks | Kent C. Dodds

I've been doing a fair amount of testing React hooks recently. Part of that has been learning the `react-hooks` extension for the Testing Library suite, which took a while to wrap my head around. Kent's post helped straighten out a few misconceptions.

Jamstack Comments Engine

A combination of build commands and Netlify tools equals a very creative native commenting system for Jamstack sites (hosted on Netlify, of course). Definitely need to drill a bit deeper into how this works, but looks excellent.

From context collapse to content collapse | Rough Type

So that previously mentioned discussion around the problems of having a "single identity online" led me to this brilliant dissection of the impact social media had on social identity. From the initial barrier-breaking (aka "context collapse") that occurred when you suddenly had your colleagues, friends, family, school mates etc. all on one platform, all able to see you interacting with each other in real-time (and could go back and browse those interactions in the future 😬), to the subsequent rebellion back to ephemeral platforms like Snapchat and private conversations over WhatsApp etc.

On a social network, the theory went, all those different contexts collapsed into a single context. Whenever you posted a message or a photograph or a video, it could be seen by your friends, your parents, your coworkers, your bosses, and your teachers, not to mention the amorphous mass known as the general public.
The problem is not a lack of context. It is context collapse: an infinite number of contexts collapsing upon one another into that single moment of recording.
Young people led the way, moving much of their online conversation from the public platform of Facebook, where parents and teachers lurked, to the more intimate platform of Snapchat, where they could restrict their audience and where messages disappeared quickly.

Nicholas than moves on to pondering about whether the next stage will be content collapse, a state where the internet (and particularly social media) begins obfuscating the contexts and structures of content (even further), with negative impacts. Most obviously, that content delivered as a stream loses weighting and suddenly breaking international news is just as important as some stranger's opinion on onion slicing.

Content collapse, as I define it, is the tendency of social media to blur traditional distinctions among once distinct types of information — distinctions of form, register, sense, and importance.
It wasn’t just that the headlines, free-floating, decontextualized motes of journalism ginned up to trigger reflexive mouse clicks, had displaced the stories. It was that the whole organizing structure of the newspaper, its epistemological architecture, had been junked. The news section (with its local, national, and international
subsections), the sports section, the arts section, the living section, the opinion pages: they’d all been fed through a shredder, then thrown into a wind tunnel. What appeared on the screen was a jumble, high mixed with low, silly with smart, tragic with trivial. The cacophony of the RSS feed, it’s now clear, heralded a sea change in the distribution and consumption of information. The new order would be disorder.
Many of the qualities of social media that make people uneasy stem from content collapse. First, by leveling everything, social media also trivializes everything — freed of barriers, information, like water, pools at the lowest possible level
Finally, content collapse consolidates power over information, and conversation, into the hands of the small number of companies that own the platforms and write the algorithms. The much maligned gatekeepers of the past could exert editorial control only over a particular type of content that flowed through a particular medium — a magazine, a radio station, a TV network. Our new gatekeepers control information of all kinds. When content collapses, there’s only one gate.

Well damn... 😶

Autonomy online: a case for the IndieWeb | Ana Rodrigues

Ana has put together a brilliant overview of the whywhat, and how of the IndieWeb. I imagine I'll return many times to look up simplified explanations, but a couple of quotes particularly jumped out:

I’ve lost count of how many “Hello worlds” I’ve created and binned in my lifetime when I had a real “product” to build: me.
[My personal website] is where I can experiment, write, build, try, and learn without censorship or limitations.

Although another line sparked a little discussion on the IndieWeb chat about the viability of a singular identity:

I didn’t realize until this point how much it made sense to have a “one true version” of yourself online

I love the concept, but I (like many others) struggle with this in practice. For example, I want a professional portfolio/CV... I probably don't want that to be under the umbrella of "theAdhocracy", but I also don't want to change my online self. It's an interesting tightrope to walk.

Bandcamp, Spotify and the wide-open future | npr

A fascinating dive into the mentality differences between Bandcamp and Spotify. Spoiler: Bandcamp comes out looking a lot more positive, particularly for artists. Interesting to see the CEO of Bandcamp point to Etsy (and blogging) as an ideal model for promoting musicians. Also that they used to be able to see people coming to Bandcamp from Google searches for torrents and p2p sites, then buying the album. More fuel to the fire that is "piracy is often about access, not theft".

(PS: I love npr's text mode if you decline cookies! 😍)

Live UK bird sightings map | Bird Forum

Amongst some general research into the British lammergeier, I stumbled onto this excellent resource. The entire forum and community are packed with great birding insights, but this rare-bird live map is easily the star of the show. Very cool 🦅

Map of the UK with markers for bird sightings; one near Manchester is selected and shows photos of a lammergeier vulture.
I still think it's amazing that 2020 is the year that England became home to both eagles and (a) vulture.

My GPT-3 blog went viral | Liam Porr

The tale of an AI-driven blog using GPT-3 that managed to garner 26,000 views in just two weeks and trend on Hacker News (where, ironically, the few people that called it out as potentially fake were downvoted to oblivion). It's certainly an interesting argument for "Buzzfeed-esque" writing studios being the first creative enterprise to be potentially automated out of work.

However, I think the real value here is not in blog posts, that was just to prove the concept. Its true value lies as a writing tool. The invention of GPT-3 for writers is like the invention of the McCormick reaper for farmers. It increases efficiency, and thus reduces labor costs, like any other technological innovation. The difference is, this is one of the first times technology has the potential to affect jobs in the creative sector.

Made By Me, But Made Possible By:


Build: Gatsby

Deployment: GitHub

Hosting: Netlify

Connect With Me:

Twitter Twitter

Instagram Instragram

500px 500px

GitHub GitHub

Keep Up To Date:

All Posts RSS feed.

Articles RSS feed.

Journal RSS feed.

Notes RSS feed.