gamma
13
160
gamma

@programming.dev

gamma 34 points 2 years ago

Nope. If you open a nonexistent path and you have permissions to write to that directory, then that file is created.

path: 0 8533488 8534271, hotness: undefined, score: 34, children: 0
gamma 25 points 2 years ago

If you're looking for legitimate advice, you're in the wrong community. Anarchychess is for chess memes.

That said, what my noob brain sees:

  • it attacks white's c pawn
  • it activates black's queen
  • it prevents Qa4+, allowing black to castle

Edit: Qa4, not Qh4

path: 0 6502248, hotness: undefined, score: 25, children: 3
gamma 25 points 3 years ago

It was about two years ago that Matrix finally stuck for me, and while I actually tried using Mastodon, I don't like following people. Hashtags help, but it's not the same as a community.

For the topics I want to engage in, the critical mass is already here.

path: 0 84345 87176, hotness: undefined, score: 25, children: 0
gamma 17 points 3 years ago

Valve should get on this for gamescope, imagine Steam Deck doing a system update without closing your game.

path: 0 3414991 3415734 3416744, hotness: undefined, score: 17, children: 4
gamma 17 points 3 years ago

I have 350 items in my BW vault. I am not memorizing that many passwords, I'd rather use my brain for something else.

path: 0 1371160 1371880 1373684 1373996, hotness: undefined, score: 17, children: 0
gamma 15 points 2 years ago

Like a normal horsey, but the square it leaves behind remains on fire, destroying the next piece to land on it.

Only the most recent square it was on remains on fire.

path: 0 10654827, hotness: undefined, score: 15, children: 0
gamma 13 points a year ago

Not as cursed as

print("eovdedn"[n%2::2]) 
path: 0 17636760 17641220 17653523, hotness: undefined, score: 13, children: 1
gamma 13 points 2 years ago

When in doubt, ~/.zshrc. It's the right choice 99% of the time. Otherwise, there's a chance you fuck up scripts you've installed which assume no shell options have been changed in non-interactive contexts.

path: 0 11241249, hotness: undefined, score: 13, children: 0
gamma 13 points 2 years ago

I grew up with Fahrenheit, but switched my weather app to use Celsius for a while, and I've internalized it pretty well. It works fine. The "human experience" angle doesn't work anyway because that experience is very locale-dependent.

path: 0 7393071 7396125 7399964, hotness: undefined, score: 13, children: 0
gamma 12 points 3 years ago

It requires a phone number to log in. That already kills any hope for anonymity. I use it to message family and close friends, of which the fact that I'm messaging them is not surprising.

path: 0 3303898 3306143, hotness: undefined, score: 12, children: 9
gamma 12 points a year ago

Yeah, theres a lot of old old laptops which make no sense to run. But there's a growing crop of more recent used devices that are only being sold off because they don't support Windows 11, and the power efficiency story changes there. The OOP mentions "8.1 lappies"; my main laptop has a 15W 8th gen which is only in the last year starting to feel less appropriate for desktop use. (And honestly, a RAM and storage bump will probably get me another couple years.)

For environmental concerns, youve got to tax new devices with manufacturing costs as well.

100% agree about VMs though.

path: 0 17666868 17667370, hotness: undefined, score: 12, children: 0
gamma 11 points 3 years ago

I have it on Steam Deck since it can be launched with a CLI argument to force a 1280x800 window.

Vivaldi pretends to be Edge when visiting Bing to unlock GPT-4, and prefer that to Edge on my other devices. (Secondary to Firefox, ofc)

path: 0 3701570, hotness: undefined, score: 11, children: 0
gamma 11 points 2 years ago

Select the color which matches the steps before filenames ((non-)login and (non-)interactive), then follow that arrow the rest of the way. There's more colors in Bash because Bash makes a distinction between remote and local shells.

Another way to look at the same data for Zsh (note: $ZDOTDIR will be used instead of $HOME if it's defined at any step along the way):

File neither interactive login both
/etc/zshenv x x x x
${ZDOTDIR:-$HOME}/.zshenv x x x x
${ZDOTDIR:-$HOME}/.zprofile x x
${ZDOTDIR:-$HOME}/.zshrc x x
${ZDOTDIR:-$HOME}/.zlogin x x
${ZDOTDIR:-$HOME}/.zlogout x x

One confusion on the Bash side of the diagram is that you see branching paths into ~/.profile, ~/.bash_profile and ~/.bash_login. Bash will use for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and execute only the first one that exists and is readable.

path: 0 11236506 11240313 11241013, hotness: undefined, score: 11, children: 2
gamma 10 points a year ago

I don't fit into any of those categories.

Its obtuse, old, and doesn't have a lot of functionality of modern code editors

Obtuse? Yeah. The keyboard focus means natural discoverability is low. But I immediately preferred modal editing once I learned it.

Old? Eh, most people use Neovim nowadays and write plugins in lua. Even in OG Vim, Vim9script broke compatibility for a better dev experience.

Functionality? Out of the box, it is just a text editor. But only VSCode might have a more active plugin ecosystem. ALE has been a thing for ages if it's LSP support you're looking for.

It's not better, it's not worse, I'm not in any way superior for using it, but I love it for a reason.

path: 0 17558821 17559356 17560988, hotness: undefined, score: 10, children: 0
gamma 10 points 3 years ago

I'm pretty sure both are possible in xkb. But you'll have to learn how to get a custom xkb_keymap into your DE of choice. I only learned enough to do one mapping:

xkb_keymap {
    xkb_keycodes  { include "evdev+aliases(qwerty)" };
    xkb_types     { include "complete" };
    xkb_compat    { include "complete" };
    xkb_symbols   {
        include "pc+us+inet(evdev)"
        key  {
            type= "TWO_LEVEL",
            symbols[Group1] = [  Multi_key,                Caps_Lock ],
            actions[Group1] = [ NoAction(), LockMods(modifiers=Lock) ]
        };
        key  {[ Escape ]};
    };
    xkb_geometry  { include "pc(pc105)" };
};

This remaps Capslock to Escape, Escape to Compose, and Shift+Escape to Capslock. Not what you want, but hopefully this will give you a starting point to playing/breaking xkb.

Another benefit of doing this with xkb: it's now a separate codebase from X.org, and is used in every Wayland compositor I know of.

path: 0 2530410, hotness: undefined, score: 10, children: 0
gamma 10 points 3 years ago path: 0 1556301, hotness: undefined, score: 10, children: 1
gamma 9 points 3 years ago

Excuse me, OCI container, we're a runtime-agnostic family here.

path: 0 2318451, hotness: undefined, score: 9, children: 0
gamma 9 points a year ago

Forcing stalemate if you're super down in material

path: 0 14547904 14549807 14550237 14551645, hotness: undefined, score: 9, children: 0
gamma 9 points 2 years ago

CSS is turing conplete.

path: 0 10794516 10796391 10796767, hotness: undefined, score: 9, children: 0
gamma 8 points 3 years ago

It does remind me of Reddit when I first joined. I like federated services like Matrix and Mastodon, but Reddit was exactly how I liked interacting online. I'm really missing RES keybindings (in particular a/z voting, j/k navigation, x expandos, <Return> thread collapse) but the UX fits my needs very well otherwise.

path: 0 73309, hotness: undefined, score: 8, children: 1

thanks for using Leebra!

go to feed...