Yeah I see it when I nix run krita lol
- 2 Posts
- 33 Comments
I actually use it to run krita, prism launcher when the Minecraft mood peek in, inkscape, MusicBrainz picard, Alistral, peazips, libre Office.
Aka, anything that I don’t use enough to warrant opening my config and adding them in (and forgetting when I do open my config.
Although krita is currently being installed through flatpack because nixpkgs ship broken alpha versions…
RustyNova@lemmy.worldto
Nix / NixOS@programming.dev•three-ish line change for more storage on NixOS: Using Bees on btrfs has saved me a lot of storage space, can recommendEnglish
2·2 months agoWell TBF if you got the ram (and storage), may as well go big lol
I limit mine to 4gb because I got 2T to go through and I got 32 gb of ram sitting there
RustyNova@lemmy.worldto
Rust Programming@lemmy.ml•Backend for note-taking app using rust
1·3 months agoIs it a fully local backend? If so, you don’t need a database. JSON could be enough.
RustyNova@lemmy.worldto
Rust Programming@lemmy.ml•What do I do after running `cargo audit`?
7·6 months agoYou can first try
cargo updateto update the dependencies as best as you can. If it doesn’t fix it, you can do a pr to those dependencies to update the subcrates
From fn is great, and I think it will be bumping my msrv.
RustyNova@lemmy.worldto
Rust Programming@lemmy.ml•Task engine VM where tasks can contain executable instructions
3·7 months agoI have no idea what this is doing
Can I have an ELI5?
RustyNova@lemmy.worldto
Rust Programming@lemmy.ml•Unpopular opinion, but I like writing Rust code in camelCase.
20·1 year agoSorry, but we’ll have to
cargo clippy -fixyou
RustyNova@lemmy.worldto
Rust Programming@lemmy.ml•When I have an `Option<Result<T, E>>` but need a `Result<Option<T>, E>`
4·1 year agoIt’s super useful for
TryStreams withnext(). I often want to?the result up, so that I can have a clean item in mywhile letloop
In general, apps/bins should strive for the latest msrv and lastest dependencies
Libraries should do the reverse and try for the lowest msrv and dependencies version (That actually work! Don’t put
version = "1"when you need1.4.2!)
Be careful to not upgrade Libraries, as it implicitly bump the msrv ;)
RustyNova@lemmy.worldto
Rust Programming@lemmy.ml•BenJeau/cargo-interactive-update: A cargo extension CLI tool to update your cargo direct dependencies interactively to the latest version
1·2 years agocargo update
… It’s that simple.
I think I know what happened. Did you do something like
PATH="/usr/bin/golang"?Because doing that overwrite your path variable. You need to set it like this:
PATH="{PATH}:/usr/bin/golang"to append to the path.And well… I hope you got a backup of your
/root/.bashrcor whatever you use as a terminal. Restoring it should fix itEdit: you should be able to use any program by appending /usr/bin/ to your commands, as long as it’s in this directory
RustyNova@lemmy.worldto
Rust Programming@lemmy.ml•How to define / edit a struct istance field with a method?
1·2 years agoTechnically yes, but a newbie doesn’t need that. I doubt it’s an application that performance is so critical either.
Too much premature optimisation IMO
RustyNova@lemmy.worldto
Rust Programming@lemmy.ml•How to define / edit a struct istance field with a method?
1·2 years agoIt’s quite simple. Just remove the
permalinkfield! If you are calculating it then no need to store it in the struct.If you do need the field to be there (ex you serialise it with serde), then create a method called
newthat takes everything but the permalink, construct your permalink there, then return a new object.Your permalink method can now just be
self.permalink.to_string()P.S. in the second case I’d recommend to change the return type of
self.permalink()to&str. It avoids unnecessary cloning of the string.
Almost looks more like Rin (Honkai 3rd)
Oh no. This is so bad. Who in their right mind would assume that a login user remains the same user throughout the session!?
Oh wait. Windows.
RustyNova@lemmy.worldOPto
Selfhosted@lemmy.world•Restart an OOM killed docker automaticallyEnglish
1·2 years ago? I’m agreeing with you?
RustyNova@lemmy.worldOPto
Selfhosted@lemmy.world•Restart an OOM killed docker automaticallyEnglish
14·2 years agoThere’s a difference between helping people with misunderstanding a tool and belittling them for being wrong. It’s just a matter of wording that separate an helpful answer from a toxic one
I could tell you “You should actually use Y instead of X. They are numerous benefits like A, B and C. The doc actually have a great example you may have missed or not understood it was for this purpose. It will help you a lot more than what you are thinking of doing.” And this would be fine.
But “Just use Y. X is bad because Y is made for that. You not willing to use Y shouldn’t make you do X. There’s even a the first Google link on how to do it” isn’t fine.
And I have not belittled them at all. I have said that it wasn’t what I was looking for. A lot of times people post questions they think should solve their issue, but only to realise that they didn’t fully understand the full picture and theirs problem is on a larger scale.


Personally I find home manager really hard to use. The documentation is really bad, and I never find what want… Nor what’s possible. I don’t use it because I don’t want to, just I don’t know how to
It was that or spaghetti an override and compile krita from scratch. So I chose the lazy way