The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘Web Development’ Category

GitHub – rbwebdev/lemmings-page-404: My 404 page with a little game of Lemmings

Posted by jpluimers on 2025/08/26

Last week I wrote about Example how not to return a HTPP-500 result: Amazon DE – Tut uns Leid!.

Today I found https://archive.is/undefined which consistently returns a HTTP 404 in the HTTP result.

It reminded me of an old (well, what is old anyway <g>) post Best 404 page ever. back in the days (returning both 404 in the HTTP result and page content) I did not yet archive outgoing links (it took me a few more years to realise many URLs are ephemeral and have queued up a post on that for early next year),  and found out the site has changed since then. Time for archived and updated links, and a repository too as by now the source has been published on GitHub:

Read the rest of this entry »

Posted in Communications Development, Development, HTML, HTTP, Internet protocol suite, Software Development, Web Development | Leave a Comment »

Example how not to return a HTPP-500 result: Amazon DE – Tut uns Leid!

Posted by jpluimers on 2025/08/14

Amazon shows how not to return an HTTP 500 (Internal Server Error) result page: a page with content 500, but result HTTP 200 (OK).

[Wayback] https://www.amazon.de/errors/500

--jeroen

Posted in Communications Development, Development, HTML, HTTP, Internet protocol suite, Software Development, TCP, Web Development | Leave a Comment »

html – What can cause Chrome to give an net::ERR_FAILED on cached content against a server on localhost? – Stack Overflow

Posted by jpluimers on 2025/08/07

On my research list [Wayback/Archive] html – What can cause Chrome to give an net::ERR_FAILED on cached content against a server on localhost? – Stack Overflow

The reason what that back then this would fail (but worked in Firefox and Safari, and because I was in a hurry I didn’t research further): [Wayback/Archive] https://www.office.com/

This site can’t be reached

The webpage at https://www.office.com/ might be temporarily down or it may have moved permanently to a new web address.

ERR_FAILED

Thanks [Wayback/Archive] Mason Wheeler and [Wayback/Archive] Joel Davey.

Details:

Read the rest of this entry »

Posted in Chrome, Communications Development, Development, Encryption, HTTP, https, HTTPS/TLS security, Power User, Security, TCP, TLS, Web Browsers, Web Development | Leave a Comment »

linux – Get final URL after curl is redirected – Stack Overflow (plus some Twitter scraping tricks)

Posted by jpluimers on 2025/08/06

Sometimes I need [Wayback/Archive] Redirect Checker | Check your Statuscode 301 vs 302 on the command-line, so cURL to the rescue: [Wayback/Archive] linux – Get final URL after curl is redirected – Stack Overflow. The relevant portions of answers and comments further below.

TL;DR:

Since I prefer verbose command-line arguments (you can find them at the [Wayback/Archive] curl – How To Use on-line man page) especially in scripts this HTTP GET request is what works with Twitter:

% curl --location --silent --output /dev/null --write-out "%{url_effective}\n" https://twitter.com/anyuser/status/20
https://x.com/anyuser/status/20

This failed (twitter dislikes HTTP HEAD requests):

% curl --head --location --silent --output /dev/null --write-out "%{url_effective}\n" https://twitter.com/anyuser/status/20
https://twitter.com/anyuser/status/20

Notes

Given so many of my scripts now run on zsh, I added the new-line because of command line – Why does a cURL request return a percent sign (%) with every request in ZSH? – Stack Overflow. You can strip that bit.

Note that these do not perform client side redirects, so they do not return the ultimate originating URL https://x.com/jack/status/20 (which was the first ever Tweet on what was back then called twttr) as Twitter on the client-side overwrites window.location.href with the final URL. Similar behaviour for getting the Twitter user handle of a Twitter user ID, more on Twitter tricks below.

Tweet by TweetID trick via [Wayback/Archive] Accessing a tweet using only its ID (and without the Twitter API) – Bram.us.

Further reading (thanks [Wayback/Archive] vise, [Wayback/Archive] Daniel Stenberg, [Wayback/Archive] Ivan, [Wayback/Archive] AndrewF, [Wayback/Archive] Roger Campanera, and [Wayback/Archive] Dave Baird):

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, Batch-Files, Bookmarklet, Communications Development, Conference Topics, Conferences, CSS, cURL, Development, Event, HTTP, Internet protocol suite, JavaScript/ECMAScript, Power User, Scripting, SocialMedia, Software Development, TCP, Twitter, Web Browsers, Web Development | Tagged: | Leave a Comment »

Wakamai Fondue, the tool that answers the question “what can my font do?”

Posted by jpluimers on 2025/07/24

What Can my Font do - beta pageVery cool web site that I only discovered last year, with the clever name: [Wayback/Archive] Wakamai Fondue, the tool that answers the question “what can my font do?”

Drop a font!
Fonts aren’t uploaded,
they stay on your computer

Back then I used it to investigate some properties of SMuFL (Standard Music Font Layout) fonts as sometimes editing a PDF is easier than manually entering/transcribing it in MuseScore.

Of course you can use local font tools, but this is far easier for occasional use.

The beta can do even more at the risk of bumping into bugs: [Wayback/Archive] Wakamai Fondue, the tool that answers the question “what can my font do?”

Note the colour matching of the text around the circle with the fondue background image.

Oh: it is open source too, written mainly in JavaScript, CSS and a tiny bits of HTML and Python, based on Vue.js and npm, and available as parts in the repositories of [Wayback/Archive] Wakamai Fondue · GitHub:

Read the rest of this entry »

Posted in CSS, Development, Font, HTML, JavaScript/ECMAScript, npm, Python, Scripting, Software Development, Vue.js, Web Development | Leave a Comment »

DNS/web options: How to verify your Bluesky account – Bluesky

Posted by jpluimers on 2025/07/21

Just in case I ever want to bind a BSKY handle to a domain name I own:

Via:

--jeroen

Posted in BlueSky, Development, DNS, Hosting, Internet, Power User, SocialMedia, Software Development, Web Development | Leave a Comment »

What is the purpose of the ‘figure’ tag in html? – Stack Overflow

Posted by jpluimers on 2025/07/10

Not being a front-end web-developer, I hadn’t seen¹ the figure element in HTML code before, so here are some links:

TL;DR – figure it is like a div element, but context specific: it groups elements that logically for one figure, including an optional description in the figcaption.

The group can be moved outside the main content flow without changing the meaning of that flow.

Query: [Wayback/Archive] what is a html figure for – Google Search

--jeroen

¹ I surely am not the only one, as the figure element isn’t even on the element usage graph in the [Wayback/Archive] HTML Study – AWR SEO Guide.

Posted in Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »

Some Mastodon servers allow themselves to be wrapped with the cuckoo.social to give a G+ (Google Plus) like user interface

Posted by jpluimers on 2025/07/01

[Wayback/Archive] Cuckoo+ is a wrapper around Mastodon that makes the UI look like Google+ (G+ / Google Plus).

It is open source at [Wayback/Archive] NanaMorse/Cuckoo.Plus: A GooglePlus-Like third-party web client for mastodon. with hardly any updates like lik because the author is not active on Mastodon any more according to [Wayback/Archive] Is dead the repo ? · Issue #237 · NanaMorse/Cuckoo.Plus (via [Wayback/Archive] Issues · NanaMorse/Cuckoo.Plus)

Note that in some Mastodon instances it fails because of CORS issues:

Read the rest of this entry »

Posted in Development, G+: GooglePlus, JavaScript/ECMAScript, Scripting, SocialMedia, Software Development, TypeScript, Web Development | Tagged: | Leave a Comment »

Robust Links – Make Your Link Robust: automagically amend them with archived versions

Posted by jpluimers on 2025/06/26

Need to look into this further: [Wayback/Archive] Robust Links – Make Your Link Robust.

Likely running it on my blog requires JavaScript to be enabled which means going from the premium to the small business plan (at te time of writing from USD 8 to USD 25 per month: a 200+% increase).

Let’s first start with an example:

Read the rest of this entry »

Posted in archive.is / archive.today, CSS, Development, Internet, InternetArchive, JavaScript/ECMAScript, link rot, Power User, Scripting, Software Development, WayBack machine | Leave a Comment »

Some testla.com artifacts indicate it runs on PHP being deployed from a git repository

Posted by jpluimers on 2025/06/24

A few years back, a few interesting files turned up that are directly served from the testla.com web-site right in the middle when Musk used their software engineers to asses twitter.com code quality:

Some do not exist (of which some any more):

Read the rest of this entry »

Posted in Development, DVCS - Distributed Version Control, git, PHP, Scripting, Software Development, Source Code Management, Web Development | Tagged: | Leave a Comment »