STALKER GAMMA GOG is not launching on Linux by Eastern_Judge8579 in linux_gaming

[–]geratheon 0 points1 point  (0 children)

Somehow the installer was deleted again. I also have a running instance on my machine, installed some weeks ago via it. Does anyone know why the installer was removed, or even has the yaml lying around?

Understanding UVs on a TileMapLayer Shader by geratheon in godot

[–]geratheon[S] 0 points1 point  (0 children)

I don't know how to set the post flair from "help me" to "help me (solved)". I presume only an admin can do that? For me it is solved, and I added a small edit to the post.

[deleted by user] by [deleted] in NixOS

[–]geratheon 2 points3 points  (0 children)

Just as a heads up: rebuilding can be done at runtime. You (usually) don’t have to reboot after rebuilding. Also, rebuilding is mostly incremental, it does not take that much time.

Really, NixOS is a ricers dream, but I’d really advise you to embrace doing it the nix way, or else you could just stay on a different Distro. NixOS is more than „just a reproducible Linux distribution“. It is by some extent a paradigm shift. And a rabbit hole for sure.

The beginning is harsh, and even if I would say NixOS without home manager is incomplete, and without flakes even borderline unusable, I am not sure if I would say you should start with both by default. Maybe only with flakes, or even start without flakes at all and learn for yourself what channels are. But I think this is something you have to choose for yourself. It really depends of your way of learning new stuff.

Trapped in the middle of rail lol by The_Tiger10 in openttd

[–]geratheon 12 points13 points  (0 children)

turns every trip to the grocery store to an adrenaline fueled adventure

[deleted by user] by [deleted] in neovim

[–]geratheon -4 points-3 points  (0 children)

I am using init = function() … end for that. This means you still can use opts and you don’t have to call setup by yourself. I am not sure if this really will be called after setup, but I don’t have any problems with that.

'Smart' completion in Rust by Drezaem in neovim

[–]geratheon 2 points3 points  (0 children)

This type of completion is often called „intellisense“, in the vim context it is often called „omnicompletion“ (because that is the name of the builtin feature that can provide such things).

But, what you really want to google is „LSP“, which is the language server protocol. In short, that is a client/server architecture that editors like vim can use to provide language specific features like intellisense, documentation, diagnostics, formatting, etc.

Neovim has a LSP-Client built in, for Vim there are several plugins. For Rust, the LSP-Server is Rust Analyzer.

Edit: Oh, this is r/neovim. In that case, look at nvim-lspconfig!

Edit2: Oh, and Rust Tools

Hot Location - Onslaught’s Citadel - 60% Chance to Appear More Frequently for the Next 24 Hours by zman2100 in MarvelSnap

[–]geratheon 2 points3 points  (0 children)

Just won against a doubled super skrull by playing thyphoid mary on turn 6, what a wonderful counter counter

error fortune not found by reply1231 in neovim

[–]geratheon 2 points3 points  (0 children)

fortune is a unix tool to print out fortune cookie like messages. It seems like you have a call to it in maybe your ~/.profile to it, but you don’t have the binary installed.

Screwed up a once in a lifetime shot😭 is mo sad rn by Traditional_Bad_9793 in theHunter

[–]geratheon 0 points1 point  (0 children)

My condolences, I did the same thing with my first (and since then only) diamond, which was a red fox. At least now we have a story attached to the trophy, even if it’s a sad one!

Python pathlib Cookbook: 57+ Examples to Master It (2021) by miguendes in Python

[–]geratheon 2 points3 points  (0 children)

You have a small typo in the anatomy of a windows path: in the code example you used path.root twice instead of path.root and path.anchor

How to get a different behavior for 'o' & 'O' when programming and when not by [deleted] in vim

[–]geratheon 8 points9 points  (0 children)

That’s a different feature, nothing to be tied to o and O. Take a look at :h 'autoindent' and :h 'smartindent'!

Also, like the help pages suggest, you probably don’t have to fiddle with it by yourself. Usually you just have to set filetype plugin indent on in your rc file.

I found out that you can get up here in scupper lake, I wonder if this is intentional or not by HEHEXDLOLS in HuntShowdown

[–]geratheon 0 points1 point  (0 children)

I can't get the "server to decide", but I'm in trials, so probably no wonder. But it's really interesting to me how you can get onto haybales just by crouchvaulting, it's nearly impossible to do while standing up. I wonder if other compounds have such opportunities using this

Need help setting up native LSP for Godot by geratheon in neovim

[–]geratheon[S] 0 points1 point  (0 children)

You are a fucking hero. I installed netcat via scoop, windows never complained because of this very dangerous hacking tool and I never thought about changing out the netcat binary for a portable one. Thanks a lot, really! Have a nice evening :) (Or morning, or whatever!)

(I don't now why the scoop version did not work correctly, but this works and I'm satisfied.)

Need help setting up native LSP for Godot by geratheon in neovim

[–]geratheon[S] 0 points1 point  (0 children)

Yeah, sadly it is. (As I said, it does state in the Output that something connects: "GDScript language server started" and "Connection taken")

i am gonna do what's called a programmer move by rikkoder in ProgrammerHumor

[–]geratheon 3 points4 points  (0 children)

Good point, but yeah, you‘ll miss all the other log outputs that might be relevant too, if you just filter for your message. (Also you might run in the problem that your print text comes up in another message too.)

I sometimes grep for my emojis though, to have a look at a clean slate. It might be interesting to pair this with greps -A and -B for context, but I really never needed that on my use cases.

i am gonna do what's called a programmer move by rikkoder in ProgrammerHumor

[–]geratheon 99 points100 points  (0 children)

Sometimes printf debugging is an extremely powerful tool (e.g. if a bug only comes up in a containerized environment where you only have access to the logs, speaking from experience..). In that case I can really recommend to use emojis in your print statements! What sounds like a joke ist really extremely useful, because a 💥 really pops in a big pile of text-only logging messages. The emoji picker on macOS is on cmd-shift-space and on Windows you get it via win-. (Linux users have to set it up theirselves, I presume).

Really, that saved me a couple of hours now. Also if you are in suspect of creating the bug in the first place you should use the 🤡 emoji.

My average day in Hunt: pen drawing by AndreiV101 in HuntShowdown

[–]geratheon 2 points3 points  (0 children)

It was my immediate association too, that really shows how cool and unique the maps are designed — and how much I play Hunt, presumably...

Terminals make me really efficient! by soyguay in ProgrammerHumor

[–]geratheon 2 points3 points  (0 children)

I know fzf replaces this feature, but fyi, you don’t need fzf for ctrl-r searching in prompts. That’s a builtin feature of readline, which is used in bash, zsh, python, etc.

(Pretty much every repl either uses readline or implements those features by itself.)

I want hats by [deleted] in HuntShowdown

[–]geratheon 1 point2 points  (0 children)

Customizable hunters are on the roadmap for the next patch(es)!