Advertisement · 728 × 90

Posts by imax

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.

1 month ago 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.

1 month ago 1 1 1 0
Post image

Weird, looking at the source code - `history -a` should work without duplicating entries:

1 month ago 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.

1 month ago 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.

1 month ago 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...

1 month ago 3 0 0 0

*sigh*

1 month ago 1 0 0 0

Aww, thank you 🥹

2 months ago 2 0 0 0

Today is: the 1460th of February, 2022

2 months ago 4 2 0 0

Huh, that's an idea

2 months ago 0 0 0 2
Advertisement
Post image

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

2 months ago 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...

2 months ago 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.

2 months ago 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)

2 months ago 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

2 months ago 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...

3 months ago 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`

3 months ago 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.

3 months ago 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.

3 months ago 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.

3 months ago 0 0 1 0
Advertisement

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).

3 months ago 4 0 1 0

🍿

3 months ago 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.

3 months ago 1 0 0 0

Same

3 months ago 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.

3 months ago 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.

3 months ago 4 0 0 0

Hey, @bnewbold.net , may I bother you to check what's going on?

3 months ago 1 0 1 0
Advertisement

one of the weirder things AI has given us is aggressively commented and rigourously formatted malware payloads

3 months ago 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.

3 months ago 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.

3 months ago 4 0 0 0