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

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 »

Cool nginx playground by b0rk (Julia Evans)

Posted by jpluimers on 2024/08/28

This is a really cool interactive [Wayback/Archive] nginx playground!

It starts with a default nginx configuration which you can edit and spins up a docker container for each run showing the results of that configuration.

How cool is that to learn how nginx works (:

This is how I found out about it:

Read the rest of this entry »

Posted in *nix, *nix-tools, Conference Topics, Conferences, Development, Event, nginx, Power User, Software Development, Web Development | Leave a Comment »

Some notes on codepoints.net and beta.codepoints.net

Posted by jpluimers on 2024/08/07

At the time of writing a lot of this might be more recent, but for quite some time codepoints.net had not been updated with code point information newer Unicode releases.

Basically it was stuck at Unicode version 8.0 with some 120k glyphs. At the time of writing Unicode version 15.0 is in beta and the difference between 15.0 and 8.0 is some 24k glyphs.

So I had a quick twitter chat with the author and jotted down the links in this blog post so I won’t forget them.

There I learned it was open source (I think it is the only Unicode codepoint site that is).

Here it goes:

Read the rest of this entry »

Posted in *nix, *nix-tools, Apache2, codepoints.net, Conference Topics, Conferences, Database Development, Debian, Development, DVCS - Distributed Version Control, Encoding, Event, GitHub, Linux, MySQL, PHP, Power User, Scripting, Software Development, Source Code Management, Unicode, Web Development | Leave a Comment »

Need to give this some thought: Poor Man’s Auto Update. by Chris Bensen | by Chris Bensen

Posted by jpluimers on 2024/07/23

Sometimes you need a relatively low-tech solution for updating.

I will need to give this some thought: [Wayback/Archive] Poor Man’s Auto Update. by Chris Bensen | by Chris Bensen | Jun, 2022 | Medium

Back then I posted some edits on Twitter which by now should be reflected in the script and GitHub repository at [Wayback/Archive] chris-blogs/PoorManAutoUpdate.md at main · chrisbensen/chris-blogs (with script at [Wayback/Archive] chris-blogs/updater.sh at main · chrisbensen/chris-blogs)

Read the rest of this entry »

Posted in *nix, *nix-tools, cron, Development, Hardware Development, Linux, Power User, Python, Raspberry Pi, Scripting, Software Development | Leave a Comment »

Tailscale SSH · Tailscale

Posted by jpluimers on 2024/07/12

Reminder to self to play around with [Wayback/Archive] Tailscale SSH · Tailscale

Tailscale SSH allows Tailscale to manage the authentication and authorization of SSH connections on your tailnet.

Read the rest of this entry »

Posted in *nix, *nix-tools, Hardware, Network-and-equipment, Power User, ssh/sshd, Tailscale, VPN, Wireguard | Leave a Comment »

Lots of interesting programming learning games links via b0rk on Twitter

Posted by jpluimers on 2024/06/25

Every once in a while, b0rk (Julia Evans, of [Wayback/Archive] wizard zines fame) asks interesting questions like below that results in lot of cool links.

I have blogged assemblies of them before (see for instance Lots of interesting git links via b0rk on Twitter) and this one is no different:

[Wayback/Archive] Julia Evans on Twitter: “what are some helpful programming learning games? thinking of things like mystery.knightlab.com for SQL, and flexboxfroggy.com, and ohmygit.org especially interested in games that have helped you learn something”

The response was overwhelmingly good (I tried to indicate when games are not free or not playable from a web browser). I summarised it below.

Read the rest of this entry »

Posted in *nix, *nix-tools, Conference Topics, Conferences, CSS, Database Development, Development, DVCS - Distributed Version Control, Event, Games, git, Multi-Threading / Concurrency, Power User, RegEx, Scripting, sh, Sh Shell, Software Development, Source Code Management, SQL, Web Development | Leave a Comment »

When Ctrl-Alt-Del fails on Linux: Fix a Frozen System with the Magic SysRq Keys (via FOSSwire)

Posted by jpluimers on 2024/04/26

Ctrl-Alt-Del will not safely reboot all systems under all circumstances.

If you run Linux, your keyboard has a magic RysRq key (sometimes not marked, but its the same key as the Print-Scrn key) and the Linux kernel is still running not all is lost.

Due to link rot, the archived links are the most recent that have all the comments for [Wayback/Archive] Fix a Frozen System with the Magic SysRq Keys | FOSSwire which amend

You finally got your Linux environment to crash. Ctrl+Alt+Backspace does nothing, nor do the F-keys. You know you shouldn’t have installed that bad driver, but you did it anyway.
So you reach for the power button.
Stop.
Mashing in the power button to reboot could cause a problem if your hard drive is still being written to, and usually causes more problems than it solves. The Linux kernel includes a secret method of restarting your PC should it ever stop doing its job.
  1. Hold down the Alt and SysRq (Print Screen) keys.
  2. While holding those down, type the following in order. Nothing will appear to happen until the last letter is pressed: REISUB
  3. Watch your computer reboot magically.

This 2007 comment makes it easier to remember: REISUB is the reverse of BUSIER:

R E I S U B – is just the word busier in reverse.

Read the rest of this entry »

Posted in *nix, *nix-tools, Hardware, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, LifeHacker, Linux, Power User | Leave a Comment »

Some links to investigate a Raspberry Pi system failing on an SD card that got bad

Posted by jpluimers on 2024/03/22

–jeroen

Read the rest of this entry »

Posted in *nix, *nix-tools, Development, Hardware Development, Power User, Raspberry Pi | Leave a Comment »

ShellCheck – shell script analysis tool

Posted by jpluimers on 2024/02/22

Cool: [Wayback] ShellCheck – shell script analysis tool

ShellCheck finds bugs in your shell scripts

It needs a shebang at the start of a script (like #!/usr/bin/env bash) to recognise the kind of shell, then does amazing analysis.

It is open source at [Wayback/Archive.is] koalaman/shellcheck: ShellCheck, a static analysis tool for shell scripts with excellent documentation including explaining screenshots like

It’s not just available on-line or on the command-line, but also integrates with many code editors (like [Wayback/Archive.is] ShellCheck – Visual Studio Marketplace: Integrates ShellCheck into VS Code, a linter for Shell scripts.) and CI/CD pipelines.

Via: [Wayback] bash – error conditional binary operator expected in compound branch – Unix & Linux Stack Exchange (thanks [Wayback] Cyrus!)

–jeroen

Posted in *nix, *nix-tools, ash/dash, ash/dash development, bash, bash, Development, Power User, Scripting, Software Development | Leave a Comment »