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,860 other subscribers

Archive for May, 2023

JavaScript bookmarklet to replace part of the archive.li fixing: not possible 

Posted by jpluimers on 2023/05/31

Quite often while saving a URL in the WayBack Machine, the response often is headed “Sorry” with non-descriptive “Job failed”. In the background however, at least half of th…

Related: JavaScript bookmarklet to replace part of the WayBack machine URL

For instance, a while ago for instance http://archive.fo/search/?q=nu.nl, https://archive.fo/search/?q=nu.nl and similar URLs redirected to https://archive.li/search/?q=nu.nl, which in turn redirected to itself:

This page isn’t working

archive.li redirected you too many times.

ERR_TOO_MANY_REDIRECTS

This isn’t a cookie thing as it happens in an anonymous window on several browsers as well. Most redirect checkers return a 429, as Archive Today has quite strict rate limiting:

I tried these bookmarklets to go to a good archive.is link from the above replacing http://archive.fo/search/?q=nu.nlhttps://archive.fo/search/?q=nu.nl, http://archive.li/search/?q=nu.nl and https://archive.li/search/?q=nu.nl with https://archive.is/search/?q=nu.nl (with the same above bolded parts):

javascript:(function() {window.location=window.location.toString().replace(/^http.?:\/\/archive\.[is|li]\//,'https://archive.is/');})()

It can even be simpler (but maybe not fully conformant to specs):

javascript:location=location.href.replace(/^http.?:\/\/archive\.[is|li]\//,'https://archive.is/')

These both fail!

Even a simple bookmarklet like this fails too:

javascript:alert('hello world!');

It took me a bit of thinking to figure out why, but then figured out that any JavaScript requires a page context to run, and when no page is displayed, there is no context to run on.

And indeed:

–jeroen

Posted in Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »

Tijs Hofmans on Twitter: “LPT die echt werkt: in februari heb ik “Retour afzender: bewoner is gokverslaafd” op een ongevraagde loterijreclame gezet en sindsdien heb ik er nooit meer een gekregen. Loterijen HATEN hem!” / Twitter

Posted by jpluimers on 2023/05/30

[Archive] Tijs Hofmans on Twitter: “LPT die echt werkt: in februari heb ik “Retour afzender: bewoner is gokverslaafd” op een ongevraagde loterijreclame gezet en sindsdien heb ik er nooit meer een gekregen. Loterijen HATEN hem! …” / Twitter

Via

–jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Install apps with the WinAppDeployCmd.exe tool – UWP applications | Microsoft Docs

Posted by jpluimers on 2023/05/29

Since winget is only available as of Windows 10 version 2004, [Wayback/Archive] Install apps with the WinAppDeployCmd.exe tool – UWP applications | Microsoft Docs as an alternative.

Related:

–jeroen

Posted in Power User, Windows, Windows 10, Windows 11, Windows 8.1, winget | Leave a Comment »

ASRock Rack ALTRAD8U-1L2T is a mATX Motherboard for up to 128 Cores which supports IPMI!

Posted by jpluimers on 2023/05/28

I would really like to try out a system based on the interesting [Wayback/Archive] ASRock Rack ALTRAD8U-1L2T is a mATX Motherboard for up to 128 Cores specs from the PDF and ServeTheHome images below:

ASRock AMPERE ALTRADBU-1L2T
Product ASRock Rack Ampere Altra Family deep microATX motherboard
Power source Supports ATX PSU or 12V DC-in
Form Factor Deep Micro-ATX (9.6″ x 10.5″)
Processor System CPU
Chipset
1 Socket (LGA-4926) Ampere® Altra®/Altra® Max processor
System on chip
Memory Capacity 8 DDR4 288-pin DIMM Slots (1DPC); Supports:
RDIMM up to 256GB each, max. 3200MHz.
LRDIMM up to 256GB each, max. 3200MHz
Expansion PCIe slots

Others

SLOT7: PCIe4 x16
SLOT6: PCIe4 x16
SLOT5: PCIe4 x16
SLOT4: PCIe4 x16
4 SlimSAS (PCIe4 x8)
2 OCuLink (PCIe4 x4)
Storage M.2
SATA port
2 M.2 M-key (PCIe4 x4), supports 2280 form factor
N/A
Network RJ45 2 RJ45 (10GbE) by Intel® X550
1 RJ45 (1GbE) by Intel® i210
Management BMC
Dedicated IPMI
ASPEED AST2500: IPMI 2.0
1 RJ45 via Realtek RTL8211E
I/O USB
COM port
6 USB3.2 Gen1 ports: 4 rear Type-A, 2 via 19-pin header
1 (9-pin) header
Display Video 1 DB15 (VGA), 1 (15-pin) header
Security TPM Supports 13-pin (SPI) TPM modules

Read the rest of this entry »

Posted in AArch64/arm64, ARM, Assembly Language, Development, Hardware, Power User, Software Development | Leave a Comment »

What exactly is “Quick device connect”, and is it secure? : oneplus

Posted by jpluimers on 2023/05/27

After upgrading to Oxygen OS 12 The “Quick device connect” service started nagging me for permissions as soon as I upgraded to OxygenOS 12: [Wayback/Archive] What exactly is “Quick device connect”, and is it secure? : oneplus.

Hardly any information on it except truckloads of messages of battery draining for which you can either upgrade it and if that still fails, disable it completely:

Read the rest of this entry »

Posted in Android Devices, OnePlus Nord 2T 5G, Power User | Leave a Comment »

Installing the Microsoft Store version of Windows Terminal via the winget command-line

Posted by jpluimers on 2023/05/26

In the continuing series of Chocolatey/Scoop/winget related posts, this one is about Windows Terminal.

There are basically two ultimate sources you can install it from:

You can configure the Microsoft Store to automatically install updates as per [Wayback/Archive] Turn on automatic app updates (on my system this was the default):

Microsoft Store - Auto-Updates is turned on by default

Microsoft Store – Auto-Updates is turned on by default

  1. Select the Start ⊞ screen, then select Microsoft Store.
  2. In Microsoft Store at the upper right, select the account menu (the three dots) and then select Settings.
  3. Under App updates, set Update apps automatically to On.

As a backgrounder, here some articles on Windows Terminal, ConPTY and the Windows Console from the [Wayback/Archive] DevBlogs – Microsoft Developer Blogs:

  1. [Wayback/Archive] Windows Command-Line: Backgrounder | Windows Command Line Tools For Developers
  2. [Wayback/Archive] Windows Command-Line: The Evolution of the Windows Command-Line | Windows Command Line
  3. [Wayback/Archive] Windows Command-Line: Inside the Windows Console | Windows Command Line
  4. [Wayback/Archive] Windows Command-Line: Introducing the Windows Pseudo Console (ConPTY) | Windows Command Line
  5. [Wayback/Archive] Windows Command-Line: Unicode and UTF-8 Output Text Buffer | Windows Command Line

More on (pseudo)terminals in general containing [Wayback/Archive] “ConPTY” – Search results – Wikipedia:

More on using the Windows Terminal:

My related blog posts:

–jeroen

Posted in Chocolatey, ConPTY, Microsoft Store, Power User, Scoop, Windows, Windows Terminal, winget | Leave a Comment »

I learned: MacOS has a Unicode Hex Input keyboard

Posted by jpluimers on 2023/05/25

A while ago, I learned that MacOS has had a Unicode Hex Input keyboard since ages.

It is not installed by default, so you have to manually add it:

  1. Start the System Preferences.app
  2. Open the Keyboard icon
  3. Choose the Input Sources tab
  4. Click the plus (+) icon
  5. Search for Unicode or Hex to get so Unicode Hex Input is the only entry in the list
  6. Click the Add  button
  7. Choose the Keyboard tab
  8. Enable Show keyboard and emoji viewers in menu bar

Now in the menu bar, you can select the Unicode Hex Input.

After that, when holding the Option key, any 4-digit Unicode sequence will get you a Unicode character.

Read the rest of this entry »

Posted in Apple, Development, Encoding, Mac OS X / OS X / MacOS, Power User, Software Development, Unicode | Leave a Comment »

JavaScript bookmarklet to replace part of the WayBack machine URL

Posted by jpluimers on 2023/05/23

Quite often while saving a URL in the WayBack Machine, the response often is headed “Sorry” with non-descriptive “Job failed”.

In the background however, at least half of those times the job actually succeeded.

Some periodes that success rate was way lower as the archival job didn’t start with a GET request. The workaround was to use a POST request, see I want to check out how to do POST requests using bookmarklets in order to save URLs to the WayBack machine and [Archive] Jeroen Wiert Pluimers on Twitter: “Does anyone why the @waybackmachine has a lot of job failed and 404 errors over the last few days? … and … just returned a 404; most of my archivals the last few days failed or had to be retried at least half a dozen times to succeed. …” / Twitter

The error message in both “Job failed” cases is the same, so it makes sense to differ between the first case (job started and complete, but web interface failed to get that) and the latter (job didn’t even start) by doing the below URL replacement with a bookmarklet:

Read the rest of this entry »

Posted in Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »

Some cool (mostly Dutch) WiFi names (related to my earlier naming posts)

Posted by jpluimers on 2023/05/22

From [Wayback/Archive] De Leukste Wifinaam van 2021 | NPO Radio 2:

  • It hurts when IP
  • Modem Talking
  • Boogie WonderLAN
  • AIVD afluisterplantenbak
  • WiFinal Countdown
  • Ichbinwifidu
  • Michiel de Router
  • Ziggo Stardust
  • Drop it like it’s hotspot
  • Draadlozing
  • WhyTellMeFi
  • Lekker Wifi
  • Wifi Soerjadi
  • Jodelawifi

My related blog posts:

–jeroen

Posted in Conventions, Development, Fun, Naming Conventions, Network-and-equipment, Power User, Software Development, WiFi | Leave a Comment »

Every now and then the Twitter algorithm suggests a pearl in the timeline. This tinme: Mohit Bhoite | मोहित भोईटे, who makes gorgeous 3D electronics design

Posted by jpluimers on 2023/05/19

A pearl suggested by the Twitter algorithm is [Archive] Mohit Bhoite | मोहित भोईटे (@MohitBhoite) / Twitter

Look at the beauty of for instance [Archive] Mohit Bhoite | मोहित भोईटे on Twitter: “Here is the end result. …” / Twitter

 

Read the rest of this entry »

Posted in Development, Electronics Development | Leave a Comment »