arch-lwc
urlscan
arch-lwc | urlscan | |
---|---|---|
2 | 2 | |
10 | 213 | |
- | - | |
0.0 | 5.8 | |
over 2 years ago | about 2 months ago | |
Shell | Python | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
arch-lwc
- Bugs in Hello World
-
Migrating from Docker to Podman
I wrote a little tool to make creating and interacting with systemd-nspawn containers easier (on arch Linux only right now):
https://github.com/b0o/arch-lwc
Not intended for any sort of production. I personally use it to run Firefox inside a container and for testing.
urlscan
-
Will it be bad to use RegEx like this for URLs?
Well, if it's text, you can use a program like urlscan which extracts URLs from input text and allows you to launch them in your browser of choice.
-
Bugs in Hello World
You all joke that this doesn’t happen in practice, but this literally just happened to me and it took me a few minutes to figure out what was going on.
The article lists Bash as not suffering from the bug, but it actually does if you `set -e`.
I use a bash script as my BROWSER which calls another bash script to launch or communicate with my browser that I run inside a container. The script that my BROWSER script calls has some debug output that it prints to stderr.
I use mutt as my email client and urlscan [0] to open URLs inside emails. Urlscan looks at my BROWSER environment variable and thus calls my script to open whatever URL I target. Some time recently, the urlscan author improved the UX by hiding stderr so that it wouldn’t pollute the view, and so attempted to pipe it to `/dev/null`. I guess their original code to do this wasn’t quite correct and it ended up closing the child processes’ stderr.*
I generally use `set -e` because I want my scripts to fail if any command fails (I consider that after a an unhandled failure the scripts behavior is undefined, some other people disagree and say you should never use `set -e` outside of development, but I digress). My BROWSER scripts are no exception.
While my scripts handle non-zero returns for most things that can go wrong, I never considered that writing log messages to stdout or stderr might fail. But it did, and for a few weeks I wasn’t able to use urlscan to open links. I was too lazy to figure out what was wrong, and when I did it took me a while because I looked into every possibility except this one.
Luckily this wasn’t a production app. But I know now it could just as feasibly happen in production, too.
I opened an issue[1] and it was fixed very quickly. I love open source!
*No disrespect to urlscan, it’s an awesome tool and bugs happen to all of us!
[0]: https://github.com/firecat53/urlscan
What are some alternatives?
Podman Desktop - Podman Desktop - A graphical tool for developing on containers and Kubernetes
offlineimap - Read/sync your IMAP mailboxes (python2) [LEGACY: move to offlineimap3]
podman-desktop - launch and setup vms for podman
Java-Hello-World-Enterprise-Edition
nerdctl - contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ...
gvisor - Application Kernel for Containers
Git - Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
Java-Hello-World-Enterpris
bottlerocket - An operating system designed for hosting containers
podman - Podman: A tool for managing OCI containers and pods.
lima - Linux virtual machines, with a focus on running containers