lade...

Shkspr.mobi

Shkspr.mobi

an avatar

a logo

Terence Eden’s Blog

Regular blogging by Terence Eden.

an icon 🌐 Visit Shkspr.mobi 🌐 Shkspr.mobi besuchen

✍️Write rieview ✍️Rezension schreiben 🏷️Get Badge! 🏷️Abzeichen holen! ⚙️Edit entry ⚙️Eintrag bearbeiten 📰News 📰Neuigkeiten

Webfan Website Badge

Tags: blogging

Rieviews

Bewertungen

not yet rated noch nicht bewertet 0%

Be the first one
and write a rieview
about shkspr.mobi.
Sein Sie der erste
und schreiben Sie eine Rezension
über shkspr.mobi.

Shkspr.mobi News

Using Tempest Highlight with WordPress

https://shkspr.mobi/blog/2025/04...

I like to highlight bits of code on my blog. I was using GeSHi - but it has ceased to receive updates and the colours it uses aren't WCAG compliant. After skimming through a few options, I found Tempest Highlight. It has nearly everything I want in a code highlighter:  PHP with no 3rd party dependencies.  Lots of common languages.  Modern, with regular updates.  Easy to use fun…

26.4.2025 11:34Using Tempest Highlight with WordPress
https://shkspr.mobi/blog/2025/04...

Comment on Reverse Geocoding is Hard by Merton

https://shkspr.mobi/blog/2025/04...

Further comment. I saw a great little clip. UK government wanted to encourage peple to walk more. So they wanted to build more walking paths. The guy in the clip, a real true marketing guru said: "You don't need more walking paths, you need more benches for people to take a break." Very clever idea.

26.4.2025 10:19Comment on Reverse Geocoding is Hard by Merton
https://shkspr.mobi/blog/2025/04...

Comment on HTML Oddities: Does the order of attribute values matter? by Rusty Broadsword 🏳️‍🌈

https://boner.camp/@lol/11440057...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow noopener ugc">@<span>Edent</span></a></span> Well, shit. TIL! This is great to learn tbh. Gonna share this around with colleagues :)</p>

25.4.2025 20:49Comment on HTML Oddities: Does the order of attribute values matter? by Rusty Broadsword 🏳️‍🌈
https://boner.camp/@lol/11440057...

Comment on Reverse Geocoding is Hard by Merton

https://shkspr.mobi/blog/2025/04...

I need to digest this. I'd be happy to let you use qCodes (remember me) [free of charge]. As you know I am not very technical so I'll have to study what you have done to see if qCodes can help you. Something like: OBN-XXXX. I'll post here when i have something. Just got the european patent, finally.

25.4.2025 17:38Comment on Reverse Geocoding is Hard by Merton
https://shkspr.mobi/blog/2025/04...

Comment on Silence Isn't Consent by 2xfo

https://infosec.exchange/@RnDang...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow noopener ugc">@<span>Edent</span></a></span> <br>Digital colonialism. </p><p>These guys think they own the virtual land they walk on and should be allowed to seek profit with anything they find. People existing in their digital spaces (that would include everything their machines can touch) should accept them as their landlords and everything will be normal and good.</p><p>Why don't you want new digital landlords every week? Are you trying to have something of your own!?</p>

25.4.2025 12:57Comment on Silence Isn't Consent by 2xfo
https://infosec.exchange/@RnDang...

Comment on Reverse Geocoding is Hard by Matt Round

https://crispsandwi.ch/@mattroun...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow noopener ugc">@<span>Edent</span></a></span> Hmm, wonder if you could compare nearest POI with bench address, only use POI if it has enough levels of address detail in common</p>

25.4.2025 12:31Comment on Reverse Geocoding is Hard by Matt Round
https://crispsandwi.ch/@mattroun...

Comment on Reverse Geocoding is Hard by Terence Eden

https://mastodon.social/@Edent/1...

<p><span><a href="https://mastodon.me.uk/@NAB" rel="nofollow ugc">@<span>NAB</span></a></span> I could. But I'm wary of making people do too much hard work. And I don't want people to be able to accidentally or maliciously change the address.<br>Perhaps a drop down is the answer?</p>

25.4.2025 12:21Comment on Reverse Geocoding is Hard by Terence Eden
https://mastodon.social/@Edent/1...

Comment on Reverse Geocoding is Hard by NAB 🇬🇧🇪🇺🔶:marmite:

https://mastodon.me.uk/@NAB/1143...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow noopener ugc">@<span>Edent</span></a></span> If you can do the geolocation in realtime when I'm uploading a picture, show the results and ask "Is this location good enough?" with a Yes/No/Edit option, that would work, wouldn't it?</p>

25.4.2025 11:42Comment on Reverse Geocoding is Hard by NAB 🇬🇧🇪🇺🔶:marmite:
https://mastodon.me.uk/@NAB/1143...

Reverse Geocoding is Hard

https://shkspr.mobi/blog/2025/04...

My wife and I run OpenBenches - a crowd-sourced database of nearly 40,000 memorial benches. Every bench is geo-tagged with a latitude and longitude. But how do you go from a string of digits to something human readable? How do I turn -33.755780,150.603769 into "42 Wallaby Way, Sydney, Australia"? Luckily, that's a (somewhat) solved problem. Services like OpenCage, StadiaMaps, OpenStreetMap,…

25.4.2025 11:34Reverse Geocoding is Hard
https://shkspr.mobi/blog/2025/04...

Comment on Silence Isn't Consent by Not🐧A🐧Convicted🐧Felon

https://hachyderm.io/@sleepyfox/...

<p><a href="https://shkspr.mobi/blog/@blog" rel="ugc">@blog</a> Just because my front door happens to be open doesn't mean you can come into my house and steal my belongings.</p>

25.4.2025 09:56Comment on Silence Isn't Consent by Not🐧A🐧Convicted🐧Felon
https://hachyderm.io/@sleepyfox/...

Comment on HTML Oddities: Does the order of attribute values matter? by Anton Piatek

https://mastodon.social/@sldrant...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow ugc">@<span>Edent</span></a></span> Nice write up. Not sure important is the right word, but good to know it can have an impact, even if I've never used any selectors where it might actually have an impact</p>

25.4.2025 09:00Comment on HTML Oddities: Does the order of attribute values matter? by Anton Piatek
https://mastodon.social/@sldrant...

Comment on Link Rot by Tim Lavoie

https://cosocial.ca/@tim_lavoie/...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow noopener ugc">@<span>Edent</span></a></span> Good reminder to check my own, thanks. The site generator II use does support checking, so I should just go and do that.</p>

24.4.2025 21:08Comment on Link Rot by Tim Lavoie
https://cosocial.ca/@tim_lavoie/...

Comment on HTML Oddities: Does the order of attribute values matter? by Dave Rupert

https://bsky.app/profile/davatro...

This is an incredibly helpful thing to document. 99% of the time, not a problem, but that laaast 1%... oof. So thank you. <a href="https://shkspr.mobi/blog/2025/04/html-oddities-does-the-order-of-attribute-values-matter/" rel="ugc"></a>

24.4.2025 19:23Comment on HTML Oddities: Does the order of attribute values matter? by Dave Rupert
https://bsky.app/profile/davatro...

Comment on HTML Oddities: Does the order of attribute values matter? by Manuel Matuzović

https://bsky.app/profile/matuzo....

Great post, thank you! <a href="https://shkspr.mobi/blog/2025/04/html-oddities-does-the-order-of-attribute-values-matter/" rel="ugc"></a>

24.4.2025 17:49Comment on HTML Oddities: Does the order of attribute values matter? by Manuel Matuzović
https://bsky.app/profile/matuzo....

Comment on HTML Oddities: Does the order of attribute values matter? by maco

https://wandering.shop/@maco/114...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow noopener ugc">@<span>Edent</span></a></span> on your poll, I’d said I thought things inside the style attribute would have the last one win, as in the cascade. </p><p>Not addressed in the post, so I just checked. (I’m right.)</p>

24.4.2025 16:23Comment on HTML Oddities: Does the order of attribute values matter? by maco
https://wandering.shop/@maco/114...

Comment on HTML Oddities: Does the order of attribute values matter? by Tom Morris

https://mastodon.social/@tommorr...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow ugc">@<span>Edent</span></a></span> the RDFa equivalents of the microdata attributes are similar.</p>

24.4.2025 16:12Comment on HTML Oddities: Does the order of attribute values matter? by Tom Morris
https://mastodon.social/@tommorr...

HTML Oddities: Does the order of attribute values matter?

https://shkspr.mobi/blog/2025/04...

HTML elements can have attributes. For example id, class, src, alt, and many others. These attributes can contain values - an img element's src attribute has a value which is a link to an image. An id attribute's value is a single string. But some attributes can contain multiple values. Here's a thought experiment for you. Consider these two HTML elements: <p class="alpha bravo charlie">………</p> …

24.4.2025 11:34HTML Oddities: Does the order of attribute values matter?
https://shkspr.mobi/blog/2025/04...

A small PHP update to GeSHi

https://shkspr.mobi/blog/2025/04...

The faithful old GeSHi Syntax Highlighter hasn't seen an update in a many a long year. It's a tried and trusted way to do server-side code highlighting - turning a myriad of programming languages into beautiful HTML & CSS. A few weeks ago, I noticed someone had proposed an update to its HTML rendering. The changes were mostly adding in new element names. PHP has been updated several times…

23.4.2025 11:34A small PHP update to GeSHi
https://shkspr.mobi/blog/2025/04...

Book Review: It's Not That Radical - Climate Action to Transform Our World by Mikaela Loach ★★⯪☆☆

https://shkspr.mobi/blog/2025/04...

I think I mostly agree with everything this book is saying, but after almost every paragraph I found myself scribbling the same note "Yes! But what action should I take though?" The author has an excellent and accessible way of showing the problems caused by the Climate Crisis - but the "action" part is mostly missing. Take this example: So something you can do right now to tackle them is to…

22.4.2025 11:34Book Review: It's Not That Radical - Climate Action to Transform Our World by Mikaela Loach ★★⯪☆☆
https://shkspr.mobi/blog/2025/04...

Comment on Book Review: Murder Your Employer - The McMasters Guide to Homicide by Rupert Holmes by Jessamyn

https://glammr.us/@jessamyn/1143...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow noopener ugc">@<span>Edent</span></a></span> I am just now reading that (have not read your review yet). I thought Holmes' author blurb was one of the funnier ones I have red.</p>

21.4.2025 17:56Comment on Book Review: Murder Your Employer - The McMasters Guide to Homicide by Rupert Holmes by Jessamyn
https://glammr.us/@jessamyn/1143...

Book Review: Murder Your Employer - The McMasters Guide to Homicide by Rupert Holmes ★★⯪☆☆

https://shkspr.mobi/blog/2025/04...

What if the Discworld's Assassin's Guild existed in the real world? That's it. That's the plot. Go to a university where they'll teach you to be a better class of murderer. The first half is excellent. Chuckles all the way through. A heady mix of every boarding-school novel you've ever read, and funny little twists and turns. Lots of the dialogue is straight out of Terry Pratchett (and I can't…

21.4.2025 11:34Book Review: Murder Your Employer - The McMasters Guide to Homicide by Rupert Holmes ★★⯪☆☆
https://shkspr.mobi/blog/2025/04...

Comment on Gadget Review: 6-Colour ePaper Name Badge by @edent

https://shkspr.mobi/blog/2025/04...

In reply to <a href="https://chaos.social/@henryk/114372489939819247">Henryk Plötz</a>. Sadly I can't get my phone to scan it - although I can scan other tags.

21.4.2025 08:02Comment on Gadget Review: 6-Colour ePaper Name Badge by @edent
https://shkspr.mobi/blog/2025/04...

Comment on Gadget Review: 6-Colour ePaper Name Badge by Henryk Plötz

https://chaos.social/@henryk/114...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow noopener ugc">@<span>Edent</span></a></span> Ohh, neat. The "Writer" appears to be a very standard USB class device for contactless smartcards. Which means, the badge is likely presenting as an ISO 14443 PICC.</p><p>Do you have a phone with "NFC" and can check whether <a href="https://play.google.com/store/apps/details?id=com.nxp.taginfolite" rel="nofollow noopener ugc"><span>https://</span><span>play.google.com/store/apps/det</span><span>ails?id=com.nxp.taginfolite</span></a> can see the badge?<br>That would mean it should be possible to reprogram it without their writer, maybe with a phone or laptop built-in NFC/RFID interface. (Probably contingent on sufficient field strength/power transmission.)</p> <a href="https://play.google.com/store/apps/details?id=com.nxp.taginfolite" rel="nofollow ugc">NFC TagInfo by NXP - Apps on Google Play</a>

20.4.2025 21:48Comment on Gadget Review: 6-Colour ePaper Name Badge by Henryk Plötz
https://chaos.social/@henryk/114...

Gadget Review: 6-Colour ePaper Name Badge ★★★★⯪

https://shkspr.mobi/blog/2025/04...

The good folks at SmartDisplayer Technology Co have sent me a six colour eInk badge to play about with. Here's a quick video and then a walk-through of its features. You can also view SmartDisplayer's official video. The Badge It is a single block of plastic. There are no seams, screws, or rough edges. The ePaper appear right on the surface of the badge, there's no recessing or anything…

20.4.2025 11:34Gadget Review: 6-Colour ePaper Name Badge ★★★★⯪
https://shkspr.mobi/blog/2025/04...

Introducing Pretty Print HTML for PHP 8.4

https://shkspr.mobi/blog/2025/04...

I'm delight to announce the first release of my opinionated HTML Pretty Printer for new versions of PHP. Grab the code from Packagist Contribute on GitLab There are several prettifiers on Packagist, but I think mine is the only one which works with the new Dom\HTMLDocument class. Table of ContentsWhatHowLimitationsWhyNext Steps What This takes hard-to-read HTML like: <!doctype…

19.4.2025 11:34Introducing Pretty Print HTML for PHP 8.4
https://shkspr.mobi/blog/2025/04...

Comment on Is this the smallest USB-C hub? by Walter van Holst

https://eupolicy.social/@whvhols...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow noopener ugc">@<span>Edent</span></a></span> Ooh, almost small enough to fit in a Framework laptop</p>

18.4.2025 18:19Comment on Is this the smallest USB-C hub? by Walter van Holst
https://eupolicy.social/@whvhols...

Comment on Is this the smallest USB-C hub? by Stephen Borrill

https://justfollow.me.uk/@sborri...

<p><a href="https://shkspr.mobi/blog/@blog" rel="ugc">@blog</a> It's pretty cool it works on the Switch; they are notoriously picky</p>

18.4.2025 17:21Comment on Is this the smallest USB-C hub? by Stephen Borrill
https://justfollow.me.uk/@sborri...

Comment on Is this the smallest USB-C hub? by Dan Sugalski

https://weatherishappening.netwo...

<p><span><a href="https://mastodon.social/@Edent" rel="nofollow noopener ugc">@<span>Edent</span></a></span> Oh, wow, thanks for this. (Though not for this particular review, but rather one of the older reviews -- I've been looking for a multi-USB-C hub for a while and that Mokin 5-port thing is exactly what I needed)</p>

18.4.2025 17:12Comment on Is this the smallest USB-C hub? by Dan Sugalski
https://weatherishappening.netwo...

Is this the smallest USB-C hub? ★★★★★

https://shkspr.mobi/blog/2025/04...

The gadget wizards at Benfei know that I'm a sucker for any sort of USB-C gadget. So when they offered to send me their micro-hub to review, how could I refuse? It is dinky! Here's what you get for your tenner USB-C PowerDelivery HDMI USB-A Frankly, I'm impressed that they managed to fit that much in! If you'll excuse my lacklustre photo-editing skills, here are the two output ports: …

18.4.2025 11:34Is this the smallest USB-C hub? ★★★★★
https://shkspr.mobi/blog/2025/04...

That's Not How A SIM Swap Attack Works

https://shkspr.mobi/blog/2025/04...

There's a disturbing article in The Guardian about a person who was on the receiving end of a successful cybersecurity attack. EE texted to say they had processed my sim activation request, and the new sim would be active in 24 hours. I was told to contact them if I hadn’t requested this. I hadn’t, so I did so immediately. Twenty-four hours later, my mobile stopped working and money was wit…

17.4.2025 11:34That's Not How A SIM Swap Attack Works
https://shkspr.mobi/blog/2025/04...

Gadget Review: Benfei SATA to USB-C Drive Enclosure ★★★★★

https://shkspr.mobi/blog/2025/04...

The good folks at Benfei know that I'm always losing my USB Thumb Drives. They're just too damn small. I crave something bigger and harder to lose. Not as huge as a CD Drive, but not as small as a MiniDisc. Something chunky and satisfying, with a slim elegance. So they've sent me their SATA to USB-C drive enclosure. It's a cute little box, with a built-in USB-C cable. The cable has one of…

16.4.2025 11:34Gadget Review: Benfei SATA to USB-C Drive Enclosure ★★★★★
https://shkspr.mobi/blog/2025/04...

Gadget Review: Benfei USB-C to Ethernet Adapter ★★★★★

https://shkspr.mobi/blog/2025/04...

Sure, WiFi is basically fine. But sometimes you need the raw power, high speed, and utter reliability of Ethernet. Billions of packets hurtling down twisted copper pair in order to deliver your data - that's what it is all about, right? But - alas! - laptops don't have Ethernet ports these days. And mobile phones tend to shun them as well. Who can save us from the tyranny of multi-GigaHertz…

15.4.2025 11:34Gadget Review: Benfei USB-C to Ethernet Adapter ★★★★★
https://shkspr.mobi/blog/2025/04...

You don't need an API key to archive Twitter Data

https://shkspr.mobi/blog/2025/04...

Apparently there's no need for IP laws any more, so here's a way to archive high-fidelity Twitter data without signing up for an expensive API key. This is perfect for academics wishing to preserve Tweets, journalists wanting to download evidence, or simply embedding content without leaking user data back to Twitter. Table of Contentstl;drBackgroundEmbed CodeAPI CallOptionsOutputTweet With…

14.4.2025 11:34You don't need an API key to archive Twitter Data
https://shkspr.mobi/blog/2025/04...

Book Review: Great Robots of History by Tim Major ★★★⯪☆

https://shkspr.mobi/blog/2025/04...

This is a lovely and twisted anthology of stories. Each presents a "historic" robot - be they an automaton, a puppet given life by the gods, or a resurrected villager. Some, like the Mechanical Turk, are historical fact but others are invented just for us to gawk at. The stories are mostly dark and brooding, with the macabre turn. They're fun - but the constant theme is "what if I, an…

13.4.2025 11:34Book Review: Great Robots of History by Tim Major ★★★⯪☆
https://shkspr.mobi/blog/2025/04...

Gadget Review: Benfei Laptop Riser with Built-In USB-C Dock ★★★☆☆

https://shkspr.mobi/blog/2025/04...

The good folks at Benfei have sent me a laptop stand to review. You know the drill, a few pieces of metal, some hinges, and rubber feet. But this stand holds a little more interest for the gadget lover - a built in USB-C hub! What do you get for your £35? USB-C power input - capable of taking 100W of PowerDelivery. A built-in USB-C cable to connect to your laptop. HDMI port which supports 4k …

12.4.2025 11:34Gadget Review: Benfei Laptop Riser with Built-In USB-C Dock ★★★☆☆
https://shkspr.mobi/blog/2025/04...

FobCam '25 - All my MFA tokens on one page

https://shkspr.mobi/blog/2025/04...

Some ideas are timeless. Back in 2004, an anonymous genius set up "FobCam". Tired of having to carry around an RSA SecurID token everywhere, our hero simply left the fob at home with an early webcam pointing at it. And then left the page open for all to see. Security expert Bruce Schneier approved of this trade-off between security and usability - saying what we're all thinking: Here’s a guy w…

11.4.2025 11:34FobCam '25 - All my MFA tokens on one page
https://shkspr.mobi/blog/2025/04...

Book Review: How to Live Safely in a Science Fictional Universe by Charles Yu ★★★★☆

https://shkspr.mobi/blog/2025/04...

There's a fine line between genius and madness - and I'm not sure where this book lies. It dives right in with some splendid technobabble: The base model TM-31 runs on state-of-the-art chronodiegetical technology: a six-cylinder grammar drive built on a quad-core physics engine, which features an applied temporalinguistics architecture allowing for free-form navigation within a rendered…

10.4.2025 11:34Book Review: How to Live Safely in a Science Fictional Universe by Charles Yu ★★★★☆
https://shkspr.mobi/blog/2025/04...

Book Review: Fabulosa! - The Story of Polari, Britain's Secret Gay Language by Paul Baker ★★★★★

https://shkspr.mobi/blog/2025/04...

This is a gem of a book. The language of Polari was used extensively in the gay community during the early 20th century. A way to speak without being overheard, using a mixture of rhyming slang, underworld cant, and loanwords. While Julian and his friend Sandy dominate the story - being one of the only mass-broadcast records of the language - the book dives in to the hidden history of its…

4.4.2025 11:34Book Review: Fabulosa! - The Story of Polari, Britain's Secret Gay Language by Paul Baker ★★★★★
https://shkspr.mobi/blog/2025/04...

An opinionated HTML Serializer for PHP 8.4

https://shkspr.mobi/blog/2025/04...

A few days ago, I wrote a shitty pretty-printer for PHP 8.4's new Dom\HTMLDocument class. I've since re-written it to be faster and more stylistically correct. It turns this: <html lang="en-GB"><head><title id="something">Test</title></head><body><h1 class="top upper">Testing</h1><main><p>Some <em>HTML</em> and an <img src="example.png" alt="Alternate Text"></p>Text not in an…

2.4.2025 11:34An opinionated HTML Serializer for PHP 8.4
https://shkspr.mobi/blog/2025/04...

Pretty Print HTML using PHP 8.4's new HTML DOM

https://shkspr.mobi/blog/2025/03...

Those whom the gods would send mad, they first teach recursion. PHP 8.4 introduces a new Dom\HTMLDocument class it is a modern HTML5 replacement for the ageing XHTML based DOMDocument. You can read more about how it works - the short version is that it reads and correctly sanitises HTML and turns it into a nested object. Hurrah! The one thing it doesn't do is pretty-printing. When you call…

31.3.2025 11:34Pretty Print HTML using PHP 8.4's new HTML DOM
https://shkspr.mobi/blog/2025/03...
Subscribe

🔝

Datenschutzerklärung    Impressum