Activity for tripleeeā
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #289332 |
https://askubuntu.com/a/172689 appears to contain some useful hints. (more) |
— | 9 months ago |
Comment | Post #289302 |
I don't think this is a supported use case. The agent needs to run as the user whose password it is, not as `root`; and the process which talks to the agent should share a parent process with it. (I don't know if these constraints are actively enforced, but working around them would be clunky at the ... (more) |
— | 9 months ago |
Comment | Post #289036 |
Of course, in the general case, also make sure the file is owned by your account. (more) |
— | 10 months ago |
Comment | Post #289070 |
In other words, without `-p`, the first token is interpreted as a line number, etc. (more) |
— | 10 months ago |
Comment | Post #289136 |
See also https://linux.codidact.com/posts/289135 (more) |
— | 10 months ago |
Comment | Post #289136 |
Probably add details about your login manager, etc. (more) |
— | 10 months ago |
Comment | Post #289008 |
Do you have a file named `schedule.py` or some other local file which shadows a module name? (more) |
— | 10 months ago |
Comment | Post #288963 |
Thanks, I have updated this to suggest `[[:space:]]` instead. The `-e` stuff is based on my experience with MacOS `sed`, which is sometimes wacky with `-e`. (Not at my computer so can't provide a specific demo.) (more) |
— | 10 months ago |
Comment | Post #288962 |
(Also, what's `bat`? A common utility for displaying control characters etc is `cat -v`, though the only option for `cat` known to POSIX is `-u`, for unbuffered I/O.) (more) |
— | 10 months ago |
Comment | Post #288962 |
The use of a generator expression seems odd. You end up reading the whole file into memory anyway. Also, `b` seems redundant. Why not simply `for line in sys.stdin: print(line.strip())`? (more) |
— | 10 months ago |
Comment | Post #288849 |
My impression is that the Debian maintainers recommend switching to MariaDB. Are there scenarios where this is not acceptable? (more) |
— | 11 months ago |
Comment | Post #288436 |
The syntax `for item in $(command); do` is inherently broken if `command` could output items which contain spaces. There are ways to limit the damage by manipulating `IFS` but this construct is inherently brittle. See also https://mywiki.wooledge.org/BashFAQ/020 (more) |
— | 11 months ago |