Blog posts about Code
Eye contact warnings
Published
I’m sooooooooooo glad I’ve learnt about these
Since I’ve joined Tech.LGBT I’ve come to learn about various content warnings. One such warning that I hadn’t realised I wasn’t giving for my own website was for eye contact - I had a giant selfie photo in my posts list! I’ve since fixed that: see git commit here .
A World with No Secrets
Published
First TravisCI, now CircleCI
Well, shit. CircleCI was breached. Or was it only “accessed”? They haven’t confirmed a breach yet, but I’m sure we’ll all know once they know, I’m confident of that at least.
Removing Google Analytics
Published – last updated
“Please disable JavaScript to view this site” – Heydon Pickering
I’ve been following the glory that is Heydon Pickering (@heydonworks) moving their WHOLE SITE into a
<noscript>element and showing users a very simple message:Pretty and random animated blog post images
Published – last updated
but now I’m not using them any more :(
I recently made a small change to my blog list page by showing images in the list, to provide a clearer identifier for posts you may have already read. But not every post has an image, so what could I show for a default? Ooh, how about a random gradient?
lol I made my own component framework
Published – last updated
why did I do this (oh yeah because of the pandemic)
This website is a playground for me, so I decided to rewrite my Blog Admin code to use Web Components. It worked, and I liked it! 🎉 But then I didn’t: writing HTML in JavaScript strings isn’t great. Why can’t we have both HTML and JavaScript defined in the same file and encapsulated separate from the rendered page?
Class getters vs methods in vanilla JS
Published
when debugging them
Using class getters is really easy with the help of TypeScript. Kinda makes me feel like I’m writing Ruby!
iPadOS cursor on the web
Published
just because it’s fun!
Are Apple good at designing UIs (User Interfaces)? Should a touch device only be a touch device? Or is it time for more precision and control that doesn’t cost over £100 and isn’t a pencil?
Double exposure random generator is back online!
Published
That’s right, it’s back!
I’ve replaced https://lorempixel.com with https://picsum.photos, which serves with CORS headers so the browser will let us play with and display the images through JavaScript.