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 4,262 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 »