Archive for the ‘JavaScript/ECMAScript’ Category
Posted by jpluimers on 2025/11/13
While doing some ASCII art blog-post drafts cleanup, I bumped into the (now deleted) [Wayback/Archive] Best 404 page ever? : r/ProgrammerHumor which pointed to the (also now deleted).
I got there via my (not deleted!) blog post Why I like PlantUML.
So I dug up the old archived copy of that PlantUML 404-page and made gist out of it.
I soon realised this was all encoded stuff, seemingly a mix of a ROT13 variation and some other shifting around.
Luckily the original page mentioned in the Reddit post was way easier, so I put that in a gist too.
Bot are below the blog-signature. Enjoy!
Oh, and the full text of course above the signature:
Read the rest of this entry »
Posted in ASCII, ASCII art / AsciiArt, CSS, Development, Encoding, Fun, HTML, HTML5, JavaScript/ECMAScript, Scripting, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2025/11/11
Earlier this year I bumped into [Wayback/Archive] ASCII Art Archive
This brought back instant memories about ASCII art, so in the future expect af few unfinished blog-posts that were in my “if I ever get to it archive” about it.
Let me start with my very limited ASCII art I used in late 1980s and early 1990s newsgroup and LISTSERV mailing list signature I reconstructed from a comp.virus post¹ having some very old contact data²:
o _ _ _ _ _ voice: +31-2522-20908 (18:00-24:00 UTC)
/ (_' | (_) (_' | | snail: P.S.O.
__/ attn. Jeroen W. Pluimers
P.O. Box 266
jeroenp@rulfc1.LeidenUniv.nl 2170 AG Sassenheim
jeroen_pluimers@f521.n281.z2.fidonet.org The Netherlands
Shortly after that, my main source of income moved from the command-line to GUI based tools, so I temporarily kind of lost interest in command-line tools and customs. In that period FIGlet (see below) got created, which I totally missed (though I vaguely remember the 1.0 version being named newban).
The link at the start of this blog post not only pointed me to FIGlet, but also has a lot of examples (like some [Wayback/Archive] ASCII Art Logos – asciiart.eu) of which many by ASCII artist Joan Stark, and also links to JavaScript based tools:
Read the rest of this entry »
Posted in ASCII art / AsciiArt, Development, Encoding, Fun, History, JavaScript/ECMAScript, Retrocomputing, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2025/11/05
As promised yesterday¹ because “what’s an open source project without its status page” (and some commercial vendors cough Embarcadero cough could highly benefit from this):
[Wayback/Archive] GitHub – louislam/uptime-kuma: A fancy self-hosted monitoring tool.
Some links (so you can try it for yourself):
--jeroen
¹ GitHub – cryptpad/cryptpad: Collaborative office suite, end-to-end encrypted and open-source.
Posted in *nix, *nix-tools, Development, JavaScript/ECMAScript, Monitoring, Power User, Scripting, Software Development, TypeScript, Vue.js | Leave a Comment »
Posted by jpluimers on 2025/11/04
Posted in *nix, *nix-tools, Cloud, CSS, Development, Google, GoogleDocs, HTML, HTML5, Infrastructure, JavaScript/ECMAScript, Monitoring, Power User, Scripting, Software Development, TypeScript, Web Development | Leave a Comment »
Posted by jpluimers on 2025/10/28
For my link archive initiated because I was trying to find out why ADS-B Exchange does not list originating and destination airports for flights, then on how to get at that data.
It is grouped in a few parts, starting with:
Read the rest of this entry »
Posted in Communications Development, Development, HTTP, Internet protocol suite, JavaScript/ECMAScript, JSON, REST, Scripting, Software Development, TCP, Web Development | Leave a Comment »
Posted by jpluimers on 2025/08/20
With the constant influx of JavaScript programmers, it keeps worth repeating that you should always run JavaScript in strict mode via "use strict"; (like in the past Visual Basic 6 developers should use option strict and option explicit) to forget risky JavaScript syntax like implicit ocal constants (which were removed from the documentation in the 2009 ECMAScript 5 specification for JavaScript), and every codeline should have a test code covering it, especially for comparisons involving non-strict behaviour like the use of leading zeros.
As of the succeeding 2015 standard (ECMAScript 6), octal numbers in JavaScript start with 0o or 0O followed by a series of octal digits.
Oh, and the history of octal in computing of course has to do with 6-bit systems and also lead to 6-six bit character codes including BCD character encoding..
My tweet back earlier this year: [WaybackSave/Archive] Jeroen Wiert Pluimers @wiert@mastodon.social on X: “@_ObomheseR Since JavaScript is in the group of curly based programming languages influenced by the B programming language, integer constants starting with zero are tried first in octal base. 017 octal is 15 decimal 018 octal is not possible, so becomes 18.”
Inhteritence:
Read the rest of this entry »
Posted in B, BASIC, C, Development, JavaScript/ECMAScript, MarkDown, Retrocomputing, Scripting, Software Development, VB6, Visual BASIC | Leave a Comment »
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: 76 | Leave a Comment »
Posted by jpluimers on 2025/07/24
Very 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 »