imax

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.

1K followers113 following4.6K posts

Pinned

I swear to fucking gods, if I survive WW3, I *will* be doing my part in manufacturing nuclear ICBMs in Ukraine. And no peacenik or "escalation manager" would be able to convince me otherwise.

This post is unavailable.

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.

View full thread

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.

imax reposted

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.

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.

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

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`

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

imax reposted

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

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.

imax reposted

bari weiss saw this and decided that she had to hide it from the american public

AkivaMCohen@akivamcohen.bsky.social

Guards began beating him. Beat him until he bled. Knocked his face into the wall, broke all his teeth. No access to outdoors, no contact with relatives. Now describing US knowledge of CECOT's torture practices, followed by footage of Trump praising those practices.

*sigh* I don't want an "AI browser", I want a browser that renders HTTP-delivered content in a convenient and useful UI and nothing more.

nixCraft@cyberciti.biz

Mozilla has a new CEO and he just announced that Firefox will evolve into a modern AI browser. This is a good example of how management doesn’t understand its own user base and why they go out of their way to install Firefox on Windows, Android, iOS and other devices blog.mozilla.org/en/mozilla/l...

imax reposted

two tech men having an incredibly annoying meeting next to me in the café and one of them just said "the thing I love about SEO is.....the culture", gobsmacking, beautiful piece of dialogue, would have struggled with it in a sitcom yet he just said it, in real life

I have literally laughed out loud on this part. We've had "U.S. security guarantee" with a much more trustworthy govt than the Trump's one, and even that, when the push came to shove, turned out to be not worth the paper it was written on. With Trump it's worth even less and sounds like an insult.

This post is unavailable.

I was today years old when I realized that apartments aren't built for people to live in them. They are built to be sold or rented out. That actually explains a lot of annoyances I've had in the past and have right now.

imax reposted

As my students learn in my Russian intelligence module, the KGB used to do this in Soviet times - it was called a prophylactic chat with the aim of nipping minor transgressions in the bud and discouraging further behaviour that was frowned upon by the state

Spencer Reynolds@sreynolds.bsky.social

We're at the point in the story where the FBI is showing up at a dude's house because he attended a protest. Without suspicion of a crime, agents ask important questions like who produced signs for the event. And it had an impact--he decided not to go back to the streets to voice his opinions.

imax reposted

Replying to @aendra.com

Faith is believing the Postgres query you started at 3 pm is still running at 9 pm

Already reached industry's median level of enshittification, before the level of decentralization promised in the sales pitch? Well done.

Jay 🦋@jay.bsky.team

Harassing the mods into banning someone has never worked. And harassing people in general has never changed their mind.

@pomerium.io ingress controller feels like abandonware :( Commit history is mostly bots, first embarrassing bug I've ran into months ago (hardcoded clusterDomain) is still not fixed, and I've got hit by a second bug today (picking up routes that belong to a different gateway class and then OOMing)

Holy shit, this function just indiscriminately overwrites status for all parentRefs. I think I better stop using Pomerium, it seems to be more of a liability than a security measure.

Chat, if `sudo ip link add vxlan0 type vxlan id 4096 ...` tells me: Error: A VXLAN device with the specified VNI already exists But `sudo ip -all netns exec ip -d link show type vxlan` shows no such interface - where do I look next?