imax's Avatar

imax

@suboptimal.technology

Ukrainian, he/him/them/they. @imax.in.ua 's other account Dedicated to messing with software and hardware, mostly in English. If I'm arguing with you - that's good, I'm still expecting to learn something from you. Trans rights are human rights.

957
Followers
113
Following
4,624
Posts
04.08.2023
Joined
Posts Following

Latest posts by imax @suboptimal.technology

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
Post image

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 )
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
Post image

How do I turn this crap off? Short of forking the frontend

29.01.2026 00:27 πŸ‘ 3 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Preview
rsky/rsky-pds at main Β· blacksky-algorithms/rsky An AT Protocol implementation prioritizing community safety and self-governance, written in Rust. - blacksky-algorithms/rsky

github.com/blacksky-alg...

28.01.2026 12:46 πŸ‘ 2 πŸ” 0 πŸ’¬ 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
GitHub - bsky-watch/modkit: Moderation stack for Bluesky Moderation stack for Bluesky. Contribute to bsky-watch/modkit development by creating an account on GitHub.

(I also have started the work to employ Redmine as the moderator-facing side github.com/bsky-watch/m..., but have lost interest a while ago)

15.01.2026 23:55 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
GitHub - bsky-watch/labeler: Basic ATproto labeler and a toolkit to make your own Basic ATproto labeler and a toolkit to make your own - bsky-watch/labeler

I've got github.com/bsky-watch/l... for the "serving labels" side of things, but it has no moderator-facing side on it's own

15.01.2026 23:52 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
feat: give more power to the Action TOKEN ### Needs and benefits Forgejo currently requires PATs for actions that involve pushing to container repositories (& I guess other types too) within CI/CD pipelines. This requires the manual creation...

ok, looks like it's not implemented:

github.com/go-gitea/git...
codeberg.org/forgejo/forg...

11.01.2026 16:45 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 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
Preview
GMKtec NucBox M5 Plus AMD Ryzen 7 5825U Mini PC GMKtec NucBox M5 Plus AMD Ryzenβ„’ 7 5825U Mini-PC – ausgestattet mit AMD Ryzenβ„’ 7 5825U (8β€―Kerne / 16β€―Threads), DDR4 RAM bis 64β€―GB, PCIe 3.0 M.2 SSD bis 2β€―TB, HDMI + DP + Type-C DP-Ausgang (max. 4K), W...

++

Couple months ago I was able to get 4x de.gmktec.com/en/products/... (while they were 300 EUR each). Now I'm running OpenEBS, CloudNativePG, MinIO, and other stuff on them.

04.01.2026 22:14 πŸ‘ 0 πŸ” 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
Post image

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