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 the ‘*nix-tools’ Category

How Discord Supercharges Network Disks for Extreme Low Latency

Posted by jpluimers on 2024/12/27

A while ago there was an interesting point of using tiered md to both obtain low read latency and write safety on the Google Cloud Platform in [Wayback/Archive] How Discord Supercharges Network Disks for Extreme Low Latency

It is an interesting approach to universally tune performance within the sketched boundaries, but raised some questions as their aim was improving ScyllaDB performance and Unix-like platforms on Google Cloud Platform can supports ZFS.

In this case Discord wanted to improve their ScyllaDB that was already read/written from GCP Persistent Storage and used tiered md to improve that.

Read the rest of this entry »

Posted in *nix, *nix-tools, Cloud, GCP Google Cloud Platform, Google, Hardware, Infrastructure, NVMe, Power User, RAID, SSD | Leave a Comment »

Some initial steps solving the Raspberry Pi (3 and 4) issue where OpenSuSE LEAP does reach Graphical Target but Tumbleweed does not

Posted by jpluimers on 2024/12/13

This is from years ago, but I forgot to schedule it, so here it is:

Problem on an E20 (enlightenment using lightdm) image:

  • LEAP 15.2 did reach Graphical Target
    • Image [Wayback] openSUSE-Leap-15.2-ARM-E20-raspberrypi3.aarch64-2020.07.08-Build1.34.raw.xz [Wayback] .packages [Wayback] .raw.xz.sha256 [Wayback]  [Wayback] .raw.xz.sha256.asc
  • Tumbleweed did not.

Parts of the chat transcript:

Read the rest of this entry »

Posted in *nix, *nix-tools, LEAP, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »

Florian Haas on Twitter: alias kubectl=”TZ=Etc/UTC kubectl”; You’re welcome

Posted by jpluimers on 2024/12/10

Sometimes you need to see a tiny bit of code to have this “aha moment”. One for me was a few years back:

[Wayback/Archive] Florian Haas on Twitter: “alias kubectl="TZ=Etc/UTC kubectl" You’re welcome.”

Read the rest of this entry »

Posted in *nix, *nix-tools, Cloud, Containers, Docker, Infrastructure, Kubernetes (k8n), Power User | Leave a Comment »

Good Reddit thread regarding updating Tumbleweed: difference between zypper up (zypper update) and zypper dup (zypper dist-upgrade) repository priorities and more

Posted by jpluimers on 2024/12/02

Sometimes the best information is outside vendor forums. I think it is the case for this Reddit thread: [Wayback/Archive] Regarding updating Tumbleweed; what is the best way to do it? Appper, zypper dup, zypper up. Which one am i supposed to use? Should i be worried about the vendor changes? And why do i get a message when using ‘zypper up’ saying “The following 35 package updates will NOT be installed”? : openSUSE

Note that specific to openSuSE Tumbleweed you should prefer zypper distr-upgrade over zypper update as per [Wayback/Archive] TUMBLEWEED zypper dup default behavior changed: what is the difference to zypper up?

Be aware this thread is about Tumbleweed, the method to update is byusing dup since it’s a new snapshot. At this point it’s your choice toupdate or not depending on your requirements. If your running out ofkernel modules supplied by third parties, then your tied to theirschedule…. Using zypper up will in the long term create more issuesas well as not supported.

This is especially true as --no-allow-vendor-change has been the default for zypper dist-upgrade for almost a decade now: [Wayback/Archive] PSA: Tumbleweed: –no-allow-vendor-change now default zypper dup behaviour : openSUSE

Read the rest of this entry »

Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed | Leave a Comment »

Quit Nested SSH Sessions: use one more ~ for each nesting

Posted by jpluimers on 2024/11/18

Never too old to learn:

  • [Wayback/Archive.is] Quit Nested SSH Sessions

    works with ssh as well but is much simpler: press as many ~ as level of nest before . (by default, ~ is the escape character while . is to terminate ssh).

  • [Wayback/Archive.is] How can I break out of ssh when it locks? – Ask Ubuntu

    Notice that because hitting ~~ causes ssh to send the ~ instead of intercepting it, you can address N nested ssh connections by hitting ~ N times. (This only applies to ~s that directly follow an Enter.) That is to say that Enter~~~~~. terminates an ssh session 5 layers deep and keeps the other 4 intact.

So this is basically an extension of my 2017 blog post OpenSSH Escape Sequences (aka Kill Dead SSH Sessions) – The Lone Sysadmin (:

–jeroen

Posted in *nix, *nix-tools, Power User, ssh/sshd | Leave a Comment »

GitHub – oetiker/znapzend: zfs backup with remote capabilities and mbuffer integration.

Posted by jpluimers on 2024/10/14

I will likely need this one day: [Wayback/Archive] GitHub – oetiker/znapzend: zfs backup with remote capabilities and mbuffer integration.

Web-site: [Wayback/Archive] ZnapZend – open source ZFS backup with mbuffer and ssh support

--jeroen

Posted in *nix, *nix-tools, Power User, ZFS | Leave a Comment »

Downloading a file from the Windows console without first installing a command-line tool

Posted by jpluimers on 2024/10/09

Note that the below methods likely will cause security warnings if a Windows machine has been properly configured, but in most cases at least one of them works.

  1. using cURL (Widows 10 and up)
    curl --url https://speed.hetzner.de/100MB.bin --output %TEMP%\100MB.bin
  2. using [Wayback/Archive] certutil | Microsoft Docs (at least Windows 7 and up; needs UAC elevation)
    certutil.exe -urlcache -split -f https://speed.hetzner.de/100MB.bin %TEMP%\100MB.bin
  3. using PowerShell (at least Windows Vista and up)
    powershell.exe -Command (New-Object System.Net.WebClient).DownloadFile('https://speed.hetzner.de/100MB.bin','%TEMP%\100MB.bin')

I think it works for all versions of curl, certutil, and PowerShell though I did not have anything older than up-to-date Windows 7 (having PowerShell version 3) and recent to test on.

Read the rest of this entry »

Posted in *nix, *nix-tools, .NET, Batch-Files, CommandLine, cURL, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Development, Windows Vista | Leave a Comment »

Attempting to stop Microsoft users sending ‘reactions’ to email from me by adding a postfix header

Posted by jpluimers on 2024/09/27

If you do not want Outlook kinds of clients spamming you, then add this header to your email messages above the Content-Type header (see [Wayback/Archive] The Message Content-Type in MIME)

x-ms-reactions: disallow

[Wayback/Archive] Attempting to stop Microsoft users sending ‘reactions’ to email from me by adding a postfix header

Via [Wayback/Archive] Kris: “x-ms-reactions: disallow http…” – chaos.social

x-ms-reactions: disallow

neilzone.co.uk/2024/07/attempt

Eine kleine Mailserver Config verhindert, daß Outlook Volldeppen meine Mailbox mit Likes spammen.

Sehr gut.

--jeroen

Posted in *nix, *nix-tools, Communications Development, Development, Internet protocol suite, Office, Outlook, postfix, Power User, SMTP | Leave a Comment »

infinite loop in “LaTeX: A Document Preparation System” by Leslie Lamport, printed in 1994.

Posted by jpluimers on 2024/09/10

Cover of "LaTeX: A Document Preparation System, 2nd edition", Published by Addison-Wesley Professional (June 30, 1994) © 1994, authored by Leslie Lamport

Cover of “LaTeX: A Document Preparation System, 2nd edition”, Published by Addison-Wesley Professional (June 30, 1994) © 1994, authored by Leslie Lamport

LaTeX was slightly later than the 1992 Turbo Pascal 7.0 Language Guide having both entry in the manual about Recursion (“recursive loop, see recursive loop”) which of course is similar to “infinite loop” and entries for “infinite loop See loop, infinite” and “loop, infinite See infinite loop”.

So what is LaTeX?

Where Donald Knuth created the typesetting program TeX (visually TeX), Leslie created a set of macros for it, later named LaTeX (visually LaTeX) and wrote the first (still famous) book – cover on the right – on it: [Wayback/Archive] LaTeX: A Document Preparation System by Leslie Lamport, second edition, printed in 1994 back then by Addison-Wesley (now Pearson Education, subsidiary of Pearson plc) with ISBN 9780201529838.

It’s gimmick was at page 252, inside the index referring “infinite loop” to page 252 itself.

Many people keep posting screenshots of the page without referencing where it is from. That’s a bit sad, as these gimmicks are an important part of history where programming books were as much about explaining features of computing environment, as well as explaining underlying concepts like recursion.

So this 2024 post finally made me write this blog post: [Wayback/Archive] vx-underground on X: “HELP!”

[Wayback/Archive] GTv89dwWsAM05wM.jpg (552×639)

Read the rest of this entry »

Posted in *nix, *nix-tools, ffmpeg, History, ImageMagick, LaTeX, pandoc document converter, Power User, Typesetting | Leave a Comment »

I’m not the only one storing tech gadgets in flight cases (:

Posted by jpluimers on 2024/09/05

It was about 2 years ago that Jilles reminded me I had a flight case with gadgets too.

Back when I assembled it in 2018, I had big plans for showing private “cloud” container experimentation and gadget stuff at conferences. Then 2019 kicked in with rectum cancer.

So it was good that he helped me motivating to get it working again, especially as the time around assembling it so much fun and working on it brought back those days.

Here are the pictures:

Read the rest of this entry »

Posted in *nix, *nix-tools, Cloud, Cloud Development, Containers, Debian, Development, Docker, GL-AR300M, GL.iNet, Hardware Development, Infrastructure, Kubernetes (k8n), Linux, openSuSE, Power User, Raspberry Pi, Raspbian, Software Development, SuSE Linux | Leave a Comment »