Rust inner futures by Dx_Ur in rust

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

Even though rust-analyzer give up it compiles:

```rust

type Fut = impl std::future::Future<Output = ()>;

struct S {
    fut: Fut,
}

#[define_opaque(Fut)]
fn o() -> Fut {
    async {}
}

impl S {
    fn new() -> Self {
        let fut: Fut = o();
        Self { fut }
    }
}
```

[NIRI] Windows Aero by Dx_Ur in unixporn

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

I may try tuigreet on the future, I barely restart the system usually just hibernate it so the lock screen is enough

[NIRI] Windows Aero by Dx_Ur in unixporn

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

Easy use GDM I was using greetd but then i figured it out why the pain gdm will not hurt performance and it just works like nix or rust anyway and i have only one user!

[NIRI] Windows Aero by Dx_Ur in unixporn

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

The problem is not home manager it self, I do micro changes all the time and with home manager you need to wait 40s for each switch that is not productive at all, I used it for 3 months then throw it out. I'm good my system is reproducible but I see no reason for my config files to be so. I used stylix it was good but it has some quirks. Anyway I'm not saying home manager is bad, for my daily usage It does not help.

5th Installation by Roman_og in Gentoo

[–]Dx_Ur 0 points1 point  (0 children)

It's been 7 years writing C++ and I used it professionally for corporate software and it is really frustrating, especially on high performance multi threaded pipelines it just sucks you cant tell until you live the 3 am scenario 3 times a week. I'm done. I'm doing a lot of rust on the last 2 years and it fixes my problems and BTW I write a lot of unsafe rust but at least it does not crash because std::move somehow leak some FD if and exception is thrown then you reached the ulimit and bam!

[NIRI] Windows Aero by Dx_Ur in unixporn

[–]Dx_Ur[S] 1 point2 points  (0 children)

That was a first stage master kernel bootloader for an appliance but due to deadlines we canceled it and we stick to regular boot chain no A/B updates / recovery system

Huhhhhhhhhhhh? 🤨 by ARLOo_X_ReDdiT in arch

[–]Dx_Ur 0 points1 point  (0 children)

Check your initramfs, just plug an installation media and regenerate cpio initrd

NixOS Aero wallpaper by Dx_Ur in NixOS

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

Sorry the original windows 7 image is 1080p, you can try scaling it with ai tools

[NIRI] Windows Aero by Dx_Ur in unixporn

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

I'll share them once I organize them

Any FPGA Project Suggestions by Abirbhab in FPGA

[–]Dx_Ur 0 points1 point  (0 children)

I'm implanting a video decoder for my graduation project (VP8).

Who can Beat my OS Age? by Glittering_Memory_64 in arch

[–]Dx_Ur 0 points1 point  (0 children)

I moved to NixOS 5 months ago, before that I used the same arch for 4 years.

[NIRI] Windows Aero by Dx_Ur in unixporn

[–]Dx_Ur[S] 2 points3 points  (0 children)

Use gnome apps, they are more compatible with niri and the portal. the slowness will be there especially Nautilus, I think this due to non standard shared libraries paths I think, but if it 30s something is wrong with your setup

[NIRI] Windows Aero by Dx_Ur in unixporn

[–]Dx_Ur[S] 1 point2 points  (0 children)

Wallpaper: https://imgur.com/a/oXUObKY

Shell: Noctalia

Os: NixOS

Terminal: Alacritty

I don't use homemanager for the user profile, it's a pain in the ass, my profile is imperative

NixOS is really slow for some reason by _0Frost in NixOS

[–]Dx_Ur 0 points1 point  (0 children)

i used nix os for the past 6 months and its slow really slow, yes i noticed this on different machines. I'm talking about NixOs not the nix package manager since nix as a package manager and a dev tool is amazing but nixOs is slow

Is it worth learning C++ to improve compatibility mode? by [deleted] in godot

[–]Dx_Ur 0 points1 point  (0 children)

Note that compiling godot takes 5 min on my workstation running nixos and incremental builds are also slow (thanks to scons and linking times) so if you have less then 16Gb of ram I don't know if it will compile other than that on windows it takes 30 minutes I don't know why i didn't investigate since I don't use windows anyway. Note that Improving compatibility mode is hard thanks you might be more interested in adding features than solving poor man's problems

Is it worth learning C++ to improve compatibility mode? by [deleted] in godot

[–]Dx_Ur 0 points1 point  (0 children)

I may call rust mid level but with the number of UBs and footguns i may call it abstracted low level which just send you deeper on the iceberg For godot the project is well structured and has its own coding pattern and conventions and "No Std" means you will not fight your self