Solid reasoning β with a clear example β of the potential
dangers of using an array index as the key value in ReactJS. Not
something I'd ever considered (and something I do
a lot) but β¦
The various array methods in JavaScript can be thought of on a
scale of power, or really flexibility. At the top end
you've got the for loop, at the bottom the highly-specific
functions β¦
I have been taking part in Google Rewards for over a year now.
For the most part, I complete the various surveys to feed an
ongoing habit without feeling like I'm being too indulgent or
wasting β¦
The recent update to Lightroom (and descent into League) means
that photography has taken a bit of a backseat once again, but I
have actually managed to turn posting to social media into a bit of
a β¦
It's that odd time of year, the bit between Christmas and New
Year where time doesn't really flow like you expect it to. No one
knows what day of the week it is and everything seems to be β¦
A full write up of our trip to Devon and the Chilterns a few weeks ago, from folk festivals to Whipsnade Zoo to tree cathedrals. We had a great, highly varied time, exploring some places we know very well from a new angle and some entirely new parts of the country.
When we got back from Christmas we had the normal stack of
letters sitting on the doormat. Most were either later Christmas
cards (yay!) or pointless real-world spam (boo!), but one piece of
β¦
π
Pass API Data to the Stylesheet with CSS Variables
I keep running into the same problem: how to set a style attribute in the CMS and have that be dynamically rendered on the front-end, without relying on inline styles. Turns out it's a great use case for CSS variables!
I finally made it to an IndieWebCamp meetup, even if it was remote only due to the increasingly restrictive implications of the coronavirus. I learnt a lot, I had a great time, and I'm ready to start implementing a whole bunch of new ideas right here. I also took a huge number of notes from the speakers and sessions throughout the day.
In which I begin by questioning why microformats are defined on the class attribute, instead of somewhere more bespoke, and end up concluding that I don't understand what microformats are actually for... and I'm not sure anyone else does, either.
Notes from my second fully remote conference, this time Sparkbox's UnConference. Being able to freely access talks from the US is a rare bonus of everything going on right now, and this did not disappoint. Musical cameos, great talks on UX, accessibility, design systems, and amazing speakers. Great event (despite the time difference).
Heydon has been working on Ga11ery, a neat image portfolio site
generator that's ideal for webcomics. But it's built on the
Jamstack using 11ty and Netlify, which means it isn't so simple to
β¦
When using Craft in a headless configuration, your entry URIs will default to the wrong domain and won't be properly configured to match your actual site structure, but that can be fixed.
Customising HTML lists often means sacrificing standard browser typesetting bonuses, like hanging indents. But with a little bit of modern CSS, you can get them back again, whilst still getting to use custom counters β like emoji π
With travel restrictions lifting, incredibly sunny weather, and
Alison being asked to take some holiday (to help spread out leave),
we decided this was going to be a week of exploration and nature.
β¦
For our third day trip we wanted to give the car a rest, so
packed our bags and struck out for Richmond Park. Despite living in
south-west London for over two years, we still hadn't made it past
β¦
Our week of exploration ended with the longest trip
yet: Welney Wetlands. We'd originally planned to visit Welney
(and the nearby town of Ely) for a long weekend to celebrate my
birthday this year, β¦
What do you do when a website has loaded but the content is still being fetched from an API? One answer is to fill the page with animated placeholders, creating a skeleton of what the user can expect, with a dash of CSS animation to let them know that something's still going on behind the scenes.
The various lockdowns have forced everyone in the UK to explore
their local areas much more than they had previously, and my
parents are no exception to that rule. Earlier in the summer, their
local β¦
Each day the weather gets a bit more wintery, which can only
mean one thing: snow on the high tops! Both the lakes and the
distant Scottish mountains had been peppered with white drifts
overnight, so β¦
With London in Tier 4, Cumbria heading for Tier 3, and the
Christmas "free for all" period cancelled, we've found
ourselves a little stranded in Cumbria. We'd always planned to go
back within the β¦
Time to make some use of the extended freedoms we still enjoy in
Cumbria, with a road trip out to the Solway. It's the first time
I've been around the industrial parks on the north edge of Carlisle
β¦
We've been in Cumbria now for more than long enough to know we
didn't bring anything rotten with us. Combine that with a brief
period where most people we know are currently off work (including
β¦
Y'know that thing where Spotify is on shuffle but refuses to
play certain songs in your playlist? And you can shuffle the same
playlist several times over the course of a week and it'll seem to
have β¦