Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for alx‭

Type On... Excerpt Status Date
Comment Post #291263 I recommend that you minimize the amount of data you need on your computer, and use git for the few files that you still need. That way, you don't need to do this thing, which is painful.
(more)
15 days ago
Comment Post #291214 Debian Sid is that thing for me. In some cases I must be cautious and not do some upgrade, but other than that, it's usually fine. I usually do `sudo apt-get update && sudo apt-get upgrade -V`, which is fine (and that would usually be enough in Debian Stable). After that succeeds, in Sid you also ...
(more)
23 days ago
Edit Post #291214 Post edited:
26 days ago
Edit Post #291214 Post edited:
26 days ago
Edit Post #291214 Post edited:
26 days ago
Edit Post #291214 Post edited:
26 days ago
Edit Post #291214 Initial revision 27 days ago
Answer A: Why/how can distro support lifetimes exceed the lifetime of their dependencies (such as Python)?
When an upstream project stops supporting a version (e.g., Python stops supporting 3.8), the maintainers of the distribution do the job of supporting those components, applying security patches as necessary. You can expect that their knowledge of the project isn't as comprehensive as that of the p...
(more)
27 days ago
Edit Post #291205 Post edited:
28 days ago
Comment Post #291205 Let's say I send you some private message, let's say a bug report about a vulnerability. Now, Mallory wants to read that message, and also your reply to it. He may take that message, add himself as Cc (AFAIK, the Cc field is not a protected field; see `crypt_protected_headers_read` in *muttrc*(5)...
(more)
28 days ago
Edit Post #291205 Post edited:
29 days ago
Edit Post #291205 Post edited:
29 days ago
Edit Post #291205 Post edited:
29 days ago
Edit Post #291205 Post edited:
29 days ago
Edit Post #291205 Initial revision 29 days ago
Question Can a malicious party add false recipients (who are listed but can't really decrypt) to an encrypted GPG message?
In gpg(1), one normally adds recipients of an encrypted message with `--recipient`. Those recipients will be able to decrypt the message, and their key ID will appear unencrypted, so anyone will know that they are able to decrypt it. gpg(1) also allows adding hidden recipients, with `--hidden-rec...
(more)
29 days ago
Comment Post #290837 Interesting! Unfortunately, I don't. It's within a release tarball. To be able to run `make dist` from within that tarball, I need to be able to list the files, but release tarballs don't have .git (and shipping an empty git repository within the tarball would be very fishy).
(more)
2 months ago
Edit Post #290836 Initial revision 2 months ago
Question How to use the gitignore file without git(1).
How can a file list be manually filtered with a gitignore file. I want to do the equivalent of `git ls-files`, but it should work even if I remove `.git`, so I can't use git(1). Currently, I'm doing ```sh find . -not -type d \ | grep -v ^.git$ \ | grep -v other-files-specified-in-the-giti...
(more)
2 months ago
Comment Post #290386 @#57088 What's that `[]()` that you added?
(more)
4 months ago
Edit Post #290204 Post edited:
4 months ago
Edit Post #290204 Post edited:
Serge Hallyn showed me that muttrc(5) can embed commands.
4 months ago
Comment Post #290386 Nice sed(1) regex! It looks obvious after seeing it.
(more)
5 months ago
Comment Post #290322 Command substitution `$(...)` already strips the trailing newline. You don't need `-n`. See <https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03>. Quoting POSIX: > ... removing sequences of one or more \<newline\> characters at the end of the substitution....
(more)
5 months ago
Edit Post #290290 Post edited:
5 months ago
Edit Post #290290 Initial revision 5 months ago
Answer A: Run pipeline in the background from git hook
Use nohup(1), and redirect stdout and stderr to /dev/null The following works as expected, not having to wait until the PDF is generated. ```sh #!/bin/sh test "$1" = "refs/heads/main" || exit 0; cd /srv/src/alx/linux/man-pages/man-pages/; unset $(git rev-parse --local-env-vars); git ...
(more)
5 months ago
Edit Post #290288 Post edited:
5 months ago
Edit Post #290288 Post edited:
5 months ago
Edit Post #290288 Post edited:
5 months ago
Edit Post #290288 Post edited:
5 months ago
Edit Post #290288 Post edited:
5 months ago
Edit Post #290288 Post edited:
5 months ago
Edit Post #290288 Post edited:
5 months ago
Edit Post #290288 Initial revision 5 months ago
Answer A: How to extract string from file, run filter, and replace in file with new value?
(Assuming your file names are portable, according to POSIX (). If not, please read this for writing a more robust script: .) ``` find . -type f \ | grep '/chapter-[^/].xhtml$' \ | while read f; do ( head -n11 <"$f"; sed -n '12p' <"$f" | titlecase; ...
(more)
5 months ago
Edit Post #290283 Post edited:
5 months ago
Edit Post #290283 Initial revision 5 months ago
Question Run pipeline in the background from git hook
I'm trying to run a pipeline to update a PDF after every push to the 'main' branch. I want it to be atomic, so it doesn't touch the existing PDF until it has finished, so I need to use sponge(1) (from moreutils). I've tried the following script: ```sh #!/bin/sh test "$1" = "refs/heads/main...
(more)
5 months ago
Comment Post #290201 @#53919 I get an error: ``` setfont: ERROR setfont.c:402 kfont_load_font: Cannot find default font ```
(more)
5 months ago
Edit Post #290224 Post edited:
5 months ago
Edit Post #290224 Post edited:
5 months ago
Edit Post #290224 Post edited:
5 months ago
Edit Post #290224 Post edited:
5 months ago
Edit Post #290224 Post edited:
5 months ago
Edit Post #290224 Post edited:
5 months ago
Edit Post #290224 Post edited:
5 months ago
Edit Post #290224 Post edited:
5 months ago
Edit Post #290224 Post edited:
5 months ago
Edit Post #290224 Post edited:
5 months ago