Ah, `$(history -a)` runs in a subshell, so that value is never reset in the main shell process. The way to go is
```sh
declare -a PROMPT_COMMAND
PROMPT_COMMAND+=("history -a")
```
Unlike PS0, it would write history only after the command has finished, but I can live with that.
25.02.2026 12:07
π 0
π 0
π¬ 0
π 0
bash question: how to get it to append to history file immediately, w/o automatically making those commands propagated to all running shell instances?
`PS0='$(history -a)'` kinda does it, but it doesn't move "already appended" pointer, so every time it writes all commands from the current session.
24.02.2026 23:39
π 1
π 1
π¬ 1
π 0
Weird, looking at the source code - `history -a` should work without duplicating entries:
25.02.2026 00:31
π 1
π 0
π¬ 1
π 0
`PS0='$(history -a; history -c; history -r)'` (or other variations that include `history -r`) would avoid duplicating commands, but would also add to history commands from other shell instances.
24.02.2026 23:39
π 1
π 0
π¬ 1
π 0
bash question: how to get it to append to history file immediately, w/o automatically making those commands propagated to all running shell instances?
`PS0='$(history -a)'` kinda does it, but it doesn't move "already appended" pointer, so every time it writes all commands from the current session.
24.02.2026 23:39
π 1
π 1
π¬ 1
π 0
Your Favorite Science YouTubers Are Wrong About AI, (e.g. SciShow, Kurzgesagt, and Kyle Hill )
YouTube video by Internet of Bugs
www.youtube.com/watch?v=4lKy...
17.02.2026 12:53
π 3
π 0
π¬ 0
π 0
*sigh*
15.02.2026 02:47
π 1
π 0
π¬ 0
π 0
Aww, thank you π₯Ή
13.02.2026 18:04
π 2
π 0
π¬ 0
π 0
Today is: the 1460th of February, 2022
30.01.2026 09:03
π 4
π 2
π¬ 0
π 0
Huh, that's an idea
29.01.2026 06:39
π 0
π 0
π¬ 0
π 2
How do I turn this crap off? Short of forking the frontend
29.01.2026 00:27
π 3
π 1
π¬ 1
π 0
I think A/B testing is the red herring here, and I get annoyed every time some web UI changes for any reason outside my control π₯²
With desktop software I can usually get some comfort of "oh fuck, rolling it back!", to at least get a bit of time to mentally prepare for the inevitable.
16.01.2026 00:01
π 1
π 1
π¬ 1
π 0
People who use Forgejo: is there some special dance required for Actions to push docker images to the built-in container registry?
I'm authenticating with `${FORGEJO_TOKEN}`, but still get `unauthorized: reqPackageAccess`
11.01.2026 15:52
π 1
π 0
π¬ 1
π 0
One issue I take with them though is that the heatsink absolutely sucks. Just a piece of aluminium, no heat-pipes, and heat transfer rate is very bad. It kinda works with the default 15W power limit, but at 35W it can't cool down the CPU below 80-90Β°C even with less than 1 core worth of CPU load.
04.01.2026 22:14
π 0
π 0
π¬ 1
π 0
And I want, at some point, to take them out of their cases, design and 3D-print required parts, and shove all 4 of them into a single 1U enclosure.
04.01.2026 22:14
π 1
π 0
π¬ 1
π 0
Update: account restored, reason for suspension was automated sending of moderation reports that was running for almost 2 years (I even forgot that it was there, LOL).
04.01.2026 17:23
π 4
π 0
π¬ 2
π 0
πΏ
04.01.2026 15:53
π 0
π 0
π¬ 0
π 0
Yup, and nobody is going to do anything about it. We've already seen this w.r.t. russia since 2014.
03.01.2026 21:58
π 1
π 0
π¬ 0
π 0
Same
03.01.2026 02:02
π 2
π 0
π¬ 0
π 0
Thanks, I did send an appeal shortly before posting, but haven't got any reply yet. I'll keep waiting, since there's no other options available to me.
03.01.2026 01:43
π 1
π 0
π¬ 0
π 0
I still don't see a point in doing so π
In practical terms there's very little difference between an account being taken down at a PDS level, AppView, or the relay.
03.01.2026 01:41
π 4
π 0
π¬ 0
π 0
Hey, @bnewbold.net , may I bother you to check what's going on?
02.01.2026 19:59
π 1
π 0
π¬ 1
π 0
one of the weirder things AI has given us is aggressively commented and rigourously formatted malware payloads
02.01.2026 04:34
π 40
π 2
π¬ 1
π 1
At my current stage of life, exceptions to "mostly" are much more painful to deal with on Windows than on Linux π
But that's due to me being comfortable using various diagnostic tools and not being shy to read the source code (including kernel) when I don't understand from docs how it should work.
02.01.2026 00:19
π 0
π 0
π¬ 0
π 0
Not doing any of that, to the best of my knowledge. I've paid quite a bit of attention to properly handle rate limiting in particular.
01.01.2026 23:54
π 4
π 0
π¬ 0
π 0