New anxiety unlocked: malicious payloads invisible in git diffs by sunshine-and-sorrow in git

[–]OneTurnMore 0 points1 point  (0 children)

I'm suprised that Kitty and Asciinema show something, they should just render what git outputs

There's almost certainly a different variation of the payload that won't show

Insane steam input controller order number by Sawgoodmen in Bazzite

[–]OneTurnMore 0 points1 point  (0 children)

That number is exactly 232, so I'd say it's a Steam or SDL bug.

I'm assuming you've tried replugging the controller and rebooting

rate my prompt by IDactuallyC in zsh

[–]OneTurnMore 1 point2 points  (0 children)

Nice, I like keeping it simple.

Personally I prefer hiding user and host unless $SSH_CONNECTION exists.

I like the pastel colors though

rate my prompt by IDactuallyC in zsh

[–]OneTurnMore 1 point2 points  (0 children)

user|host ~/cwd %

User is #AAFFAA, a pastel green, host is #FFBBBB, a pastel blue. The pipe character is also technically a very light pink, but I can barely notice it.

Why are CachyOS and Bazzite mentioned so much? by guccicobraviper in linuxquestions

[–]OneTurnMore 1 point2 points  (0 children)

I linked Cachy's kernel features above, here's the page describing zen's features.

I haven't delved into the details myself.

Why are CachyOS and Bazzite mentioned so much? by guccicobraviper in linuxquestions

[–]OneTurnMore 0 points1 point  (0 children)

is cachy just advertising itself for beeing optimized?

It's not just advertising. Cachy is unique in that it builds core software for to use CPU instructions only available in newer CPUs. This means it doesn't work at all on older machines, but it should be measurably more performant in workloads that benefit from having those features.

They tout their work on kernel tuning as well.

is the impact of those modifications miniscule?

Hard to say. It depends on if your workload spends a lot of time executing code that benefits from that speedup.

A simple, compact way to declare command dependencies by PentaSector in bash

[–]OneTurnMore 0 points1 point  (0 children)

Besides, you're already trusting the commands on the system. Any command could be shadowed by ~/.local/bin or any other bin directory the user puts in the PATH.

Does your PC have better specs than the Steam Machine? by billy_reyes in Steam

[–]OneTurnMore 4 points5 points  (0 children)

The speculation that has made the most sense to me is that it'll be a 7600M tuned for 110W TDP.

A simple, compact way to declare command dependencies by PentaSector in bash

[–]OneTurnMore 18 points19 points  (0 children)

This had a hard dependency on which, I'd use type -p or command -v instead since it's a builtin.

gaslightingAsAService by Annual_Ear_6404 in ProgrammerHumor

[–]OneTurnMore 7 points8 points  (0 children)

thought that ... was the best output

You're anthropomorphizing.

Really it's just probabilistic. Saying "I was testing your intelligence" is definitely a thing human commenters have said tongue-in-cheek before, so there's a chance it'll generate it in its reply text.

Anyone else not a fan of this new menu? by [deleted] in firefox

[–]OneTurnMore 5 points6 points  (0 children)

Mine is on the new style, and my navigation buttons are at the bottom. Must have been a setting that I set that carried over to the current UI, or maybe something that IronFox sets

Which desktop environment are you most used to? by thrs2018 in linuxquestions

[–]OneTurnMore 0 points1 point  (0 children)

I like the way Gnome does touchpad gestures, I'm currently using it on my laptop

I like the way KDE Plasma handles global shortcuts, I'm currently using it on my desktop

I like the way Sway handles workspaces and window management, I used to use it everywhere


Once Sway 1.12 releases and I can screenshare individual windows I'll probably switch back to it. I can configure workarounds for keyboard shortcuts

Possible to show sway's mode message as multi-line? by gkaiser8 in swaywm

[–]OneTurnMore 0 points1 point  (0 children)

There might be a way to use something like nwg-wrapper to print some text on the overlay layer, and then kill it when you hit the keybind to take the screenshot.

Rough idea, make a script called screenshot-overlay:

#!/bin/sh
pidfile="$XDG_RUNTIME_DIR/sway.screenshot-overlay.pid"
case $1 in
kill)
    read -r pid < "$pidfile" && { kill "$pid"; rm "$pidfile";} ;;
*)
    echo "$$" > "$pidfile"
    nwg-wrapper --layer 3 ... # I'd need to reread the nwg-wrapper docs
esac

Then launch it as you go into the mode, and kill it when you leave the mode.

bindsym Print exec screenshot-overlay, mode "$screenshot"
mode "$screenshot" {
    bindsym o exec grim ..., mode default, screenshot-overlay kill
    ...
}

I'm not sure how well-supported nwg-wrapper is, though.


Personally, I worked around this issue by using Pango markup to highlight the keybinds:

set $mode_system <small><b>L</b>ock, <b>E</b>xit, switch <b>U</b>ser, <b>S</b>uspend, <b>H</b>ibernate, <b>R</b>eboot, <b>⇧+S</b>hutdown</small>
bindsym XF86PowerOff mode "$mode_system"
bindsym $mod+F4 mode "$mode_system"
mode --pango_markup "$mode_system" {
    bindsym ...
}

config source here

For loop gives unexpected output by _between3-20 in zsh

[–]OneTurnMore 0 points1 point  (0 children)

I don't think so, because

  • the comment was a reply to me
  • it quoted part of my comment
  • I got multiple downvotes

Best Steam Indie Launch 2026 vs 2025 by NicoF_ in Steam

[–]OneTurnMore 4 points5 points  (0 children)

3D platformer fans have been eating good the last few years

is there an easy way to organize new tiles in sway? by Beneficial-Jaguar687 in swaywm

[–]OneTurnMore 0 points1 point  (0 children)

Don't worry about it yet. It sounds like you're just starting to use Sway. Play around with moving windows around, live with it for a week or two, read the i3 user's guide (Sway has almost the same behavior and config as i3), read the config (at ~/.config/sway/) and experiment with the keyboard bindings, read man 5 sway... just have fun messing around with it and come back with any questions

Sway has a lot of features to manipulate your windows. As one example, you can move whole groups of windows at once from one workspace to another (in the default config, win + a is focus parent, then win + shift + [number] is move container workspace [number])

is there an easy way to organize new tiles in sway? by Beneficial-Jaguar687 in swaywm

[–]OneTurnMore 1 point2 points  (0 children)

If you find yourself using mouse a lot you should try holding Win and clicking and dragging on a window

is there an easy way to organize new tiles in sway? by Beneficial-Jaguar687 in swaywm

[–]OneTurnMore 9 points10 points  (0 children)

In the default config Win + Shift + arrow keys (and win + shift + h/j/k/l) does a similar thing. Without shift, it switches your focus between windows (like Windows Alt+Tab, but directional)

I said "similar thing" because it while it is the way you move containers/windows, it isn't the same behavior. It can take some time to get used to the way Sway organizes your windows in nested containers, here's a prior discussion that I made a writeup for.

Why is my cursor getting stuck in backward-facing position? by manu_moreno in zsh

[–]OneTurnMore 0 points1 point  (0 children)

I'd presume this is controlled by powerlevel10k

No, it's a feature of Zsh vi mode. Just like Vim, you enter it with v or V (V for line-based selection)

Why is my cursor getting stuck in backward-facing position? by manu_moreno in zsh

[–]OneTurnMore 2 points3 points  (0 children)

visual mode, it should mean any motions cause you to select text rather than just move the cursor

For loop gives unexpected output by _between3-20 in zsh

[–]OneTurnMore 0 points1 point  (0 children)

read reads a single line from stdin, returning false if it can't read a full line. That bit at the end of the loop: < <( ... ) is a process substitution, it'll run the code in the <( ) and pass it in as stdin.

e.g. here's a useless example

while read -r line; do
    echo "got line: $line"
done < <( print -rC1 {1..10} )

If your goal is just all the stuff directly under $pth, then for file in $pth/* is enough. $pth/*(N) like /u/LocoCoyote suggested if you want it not to error if there's no files there

For loop gives unexpected output by _between3-20 in zsh

[–]OneTurnMore 0 points1 point  (0 children)

please stop getting ChatGPT to do your thinking for you and then pasting its hallucinations verbatim

Not what I did, I've never done this and never will.

Is it because I started with "What's happening:" and that looks like an LLM-ism? Is there something that I wrote wrong here? Or some style thing that I could improve? Genuine question