moonpiedumplings

joined 2 years ago
[–] moonpiedumplings@programming.dev 3 points 2 years ago* (last edited 2 years ago) (1 children)

Do you use a linter like the ansible vscode extension?

I used to hate writing ansible, and yaml, until I installed the ansible lint vscode extension, and everything became much, much easier.

Later on, when I was working on a docker-compose, I noticed that the vscode yaml extension (which the ansible extension pulled in as a dependency) caught errors. It's quite intelligent, able to spot errors exactly like what you mentioned, where the yaml syntax is correct, but the docker-compose, or the ansible syntax is wrong.

[–] moonpiedumplings@programming.dev 3 points 2 years ago* (last edited 2 years ago) (1 children)

I'm not too well versed in rustdesk, but it seems that they use end to end encryption (is it good? Idk).

https://github.com/rustdesk/rustdesk/discussions/2239#discussioncomment-5647075

I have experience with a similar software that uses relays, syncthing. With syncthing, everything is e2ee, so there's no concern about whether or not the relay's are trustworthy, and you can even host your own public relay server.

I find it hard to believe that rustdesk, another relay based software, wouldn't have a similar architecture.

edit: typo

[–] moonpiedumplings@programming.dev 2 points 2 years ago (1 children)

https://llamafile.ai (though it's down for the moment)

https://github.com/Mozilla-Ocho/llamafile

Lot's of technical details, but essentially the llamafile is a engine + model + web ui, in a single executable file. You just download it and run it and stuff happens.

https://github.com/erikarvstedt/extra-container

Let's you run nixos containers on non nixos distros. Requires a multi user install w/ a daemon.

[–] moonpiedumplings@programming.dev 2 points 2 years ago* (last edited 2 years ago)

Did some searching, also can't find the original forum post lol.

https://github.com/nix-community/nixGL/issues/114#issuecomment-1585323281

and this: https://pmiddend.github.io/posts/nixgl-on-ubuntu/

The latter looks like what I originally used, but what I originally used broke the generated application menu entries.

[–] moonpiedumplings@programming.dev 5 points 2 years ago (1 children)

You could write the entire program in awk,

https://github.com/djanderson/aho

[–] moonpiedumplings@programming.dev 5 points 2 years ago* (last edited 2 years ago)

By a twitch streamer vtuber: https://github.com/cyberkaida/reverse-engineering-assistant

An AI assistant that hooks into Ghidra, explaining what things do.

[–] moonpiedumplings@programming.dev 3 points 2 years ago* (last edited 2 years ago)

I use https://quarto.org

Pros: Markdown, easy to use. Docs are very good. Also, despite being a a static site, it comes with fulltext site searching, all done locally, enabled by default:

https://quarto.org/docs/websites/website-search.html

It uses pandoc under the hood, so anything that works with pandoc works there.

Cons: No support for any kind of template engine beyond simple variable replacement, as far as I know.

It's cause you're not actually supposed to use nix-env: https://stop-using-nix-env.privatevoid.net/

You're actually supposed to be using nix search nixpkgs#packagename to search and nix profile install nixpkgs#packagename to install.

However, to use both of those, you need to have the "experimental" (not really though, most of the community uses them) features of nix-command and nix flakes enabled, which they aren't by default.

And of course, nowhere on the main documentation did I find any if that, I only found it via the pain of using it wrong, and forum posts.

Nix's documentation is horrific. I've had situations where I only got help via discord...

git clone --depth 1 will clone a git repo without older stuff. Without this, the nixpkgs git repo is like 13-14 GB, but with a depth of 1, it's only 200 mb.

[–] moonpiedumplings@programming.dev 3 points 2 years ago (3 children)

But you don't get hardware graphics acceleration unless you use nixgl, and if you want to integrate it into home manager that breaks XDG entries, which I never figured out.

Also, you are illustrating the point of the commenter you replied to: nowhere on the official docs does it recommend home manager for non nixos systems, at least not when i was scrolling through them. I learned about home manager, nixgl, and the like via forum posts, either by finding them via a web search, or by asking myself.

For example, I only found code to integrate home manager with nixgl on the nixos discourse.

view more: ‹ prev next ›