Stuart Langridge (@sil) header
Stuart Langridge (@sil) profile picture

Web consultant and custom developer. Believer in the web. Thou look’st like antichrist, in that lewd hat. He/him. @sil@mastodon.social

Birmingham, UK
Joined March 2007
Photo by Stuart Langridge (@sil)Photo by Stuart Langridge (@sil)Photo by Stuart Langridge (@sil)Photo by Stuart Langridge (@sil)Photo by Stuart Langridge (@sil)Photo by Stuart Langridge (@sil)Photo by Stuart Langridge (@sil)Photo by Stuart Langridge (@sil)Photo by Stuart Langridge (@sil)Photo by Stuart Langridge (@sil)
Can I make someone else's tweet my pinned tweet?
Replying to @sil
Your righteous Cassandra energy right now must be enough to power the country
7
6
18
A #WebPrivacy tip. Most web pages use third-party stuff somehow; web fonts, images, videos, JavaScript. It can be useful (and eye-opening for you, the page developer) to see what these things actually do. Do you know about Content-Security-Policy-Report-Only? #stuartwriting 1/6
1
4
5
3,550
The Content Security Policy stuff (called "CSP") in browsers is rather a pain to set up. It's useful for security: basically, you can say "this page is allowed to load X, Y, and Z", and if the page tries to load anything else, it'll be denied. #stuartwriting 2/6
1
1
1
487
A #WebPrivacy tip. When you embed a resource from somewhere else on your website -- a video, a tweet, an image, whatever -- you're also aiding the source of that info to track your users around the internet. It's your job to help avoid that. #stuartwriting 1/4
2
2
1,274
There are a bunch of ways to do this, but the one we're talking about today is called the "facade pattern". Basically, you display something which looks enticing in your page, which when clicked on loads the embedded thing: the video or similar. #stuartwriting 2/4
1
276
A #WebPrivacy tip. Fingerprinting is the act of trying to covertly identify a user or distinguish one user from another by reading stuff about their setup. Web sites and web browsers can do this, and your job as a developer is to protect your users from it. #stuartwriting 1/5
2
2
910
One way to think about fingerprinting is as active vs passive. A passive fingerprinting technique is one which uses information that is given to the website by default; an active technique is one which explicitly interrogates the browser for extra information. #stuartwriting 2/5
1
211
A #WebPrivacy tip. Since the beginning, web browsers have sent a description of themselves with every page: the User-Agent. For nearly as long web devs have been begged to not use the UA to change stuff per browser, and for all that time devs did it anyway #stuartwriting 1/4
1
924
The User-Agent header is an incomprehensible melange of techie info, historical accidents, and lies. It used to look something like this: Mozilla/5.0 (Macintosh; Intel Mac OS X 13_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15 #stuartwriting 2/4
1
243
Over the next few weeks I'm posting tips from things I've written recently; Useful Python at SitePoint, and Learn Privacy at web .dev. Partially because I want people to read them because they're good, but (honestly) also partially to say "want me to write for you? get in touch!"
1
2
6
1,552
I'll tag each one with #stuartwriting, so if you want to block them, you can. But if you're a web developer I think you'll find the Learn Privacy stuff useful, and if you're technical but not a developer I think you'll find Useful Python...er, useful too.
1
359
Replying to @WillingBlam
@WillingBlam looking back on your acting at Fjord, there's a terribly evocative moment which was mostly passed over where you say: I can't put myself in a bag of holding. Too many echoes, but wonderful that you created them. Great work by you.
324
It's the tenth anniversary of me working for myself. Blimey. Happy anniversary to me. (If you've got a project that would benefit from me, do keep getting in touch!)
7
2
28
1,800
Replying to @MisterABK
@MisterABK delightful evening seeing your show with @8none1 in Brum, and cheers for the pic. Best of luck for the rest of the tour! If you have time, making a short video of the hundred most popular words in (AB) King Lear would be great so I can show people, ‘cos it was amazing
1
2
239
Majestic @MisterABK indeed! The ginger hero represents. Also, a thing about hoovers not being left alone which was very excellent. Highly recommended, even for those of you who are unfortunately brown-haired and are therefore missing out
Me and ⁦@sil⁩ are about to witness the majestic ⁦@MisterABK⁩. I am very excited.
1
2
882
In a couple of hours I'm heading to @XamarinBrum at the Jointworks to speak to people about why they should speak at meetups! Cheers to @DaveDev for the invitation. Hopefully I can give people the little nudge they need to do their own first talk. meetup.com/birmingham-dotnet…
1
1
473
Replying to @dsquareddigest
@dsquareddigest hey, you're on More or Less! Nice.
1
108
I'm pretty pleased with Learn Privacy (web.dev/learn/privacy/), but I didn't do it alone. Thank you to @maudnals, @rachelandrew, Martin Šrámek, @rowan_m, David Adrian, Rainhard Findling, Annette McFadyen and Aaron Forinton for helping me put all this together.
2
7
866
Replying to @dr4goonis
@dr4goonis heya! After BrumPHP last week we were chatting in 1000 Trades and I think you mentioned the idea of a version of Caddy with PHP built in (rather than using php-fpm or whatever via FastCGI). Do I remember that correctly? And if so, does it exist, or is it an idea only?
1
1
171
Replying to @RowanRookDecard
@RowanRookDecard hey, gang, I know postal strikes might cause delays, and Brexit broke everything and is the worst, but the website popup message is maybe a bit previous in warning about Christmas :-) It might need a wording tweak now.
1
1
203
Replying to @WVUSports
@WVUSports hi! I tried to send an email over (to [email protected] as wvusports.com/sports/2017/8/… suggests to email you) but the email was rejected; is there a better email address I should be sending to?
80
Heading over to the Colmore shortly to start #brumtechxmas22; hopefully I'll see a bunch of you at various points during the day in the various places we'll be! kryogenix.org/brumtechxmas22…
1
1
3
1,661
It begins. #brumtechxmas22
1
5
510
Does anyone out there have this game, the "Complete Music Quiz Night In", and can tell us what the track listing is for the audio CD in it that we have just discovered that we do not have?
2
1
1,032
So, Brum tech people: #brumtechxmas22 is Thu 29th Dec. 12pm start in @thecolmoretap, and various other places over the course of the day. Have a coffee or a drink for 1 hour or all day: a chat after enforced techlessness over Christmas! See you there! kryogenix.org/brumtechxmas22…
2
6
1,979