kiri

joined 1 year ago
[–] kiri@ani.social 5 points 2 weeks ago

When I "solved" teering on nvidia by installing i3 and started using only terminal, because any gui program was still freezing.

offtop

By the way, (unofficial) manjaro i3/sway were really good, inspite of populistic opinion about manjaro, especially in comparison with fedora i3 or endeavouros i3 (but still just arch/void is better, when you get used to terminal, than arch-based distros).

[–] kiri@ani.social 15 points 1 month ago (3 children)

I'm not that old linux user so it's a bit interesting for me, when Windows 7 was closing, linux community was also so excited and offered everyone to switch to linux?

[–] kiri@ani.social 1 points 1 month ago

I wish someday Wayland support will be good enough for sway to officially support 'nvidia-open' driver.

[–] kiri@ani.social 43 points 2 months ago

You beat me to it!

[–] kiri@ani.social 21 points 2 months ago* (last edited 2 months ago) (1 children)

I have a solution with a bit fields. Now your bool is 1 byte :

struct Flags {
    bool flag0 : 1;
    bool flag1 : 1;
    bool flag2 : 1;
    bool flag3 : 1;
    bool flag4 : 1;
    bool flag5 : 1;
    bool flag6 : 1;
    bool flag7 : 1;
};

Or for example:

struct Flags {
    bool flag0 : 1;
    bool flag1 : 1:
    int x_cord : 3;
    int y_cord : 3;
};
[–] kiri@ani.social 5 points 3 months ago

Literally me right now. (Seems I am going to be a senior dev.)

[–] kiri@ani.social 1 points 4 months ago

Yeah, I know, that all just a humour. I almost always use C++, inspite of knowing rust (cz no jun vacncies for rust, but still). There is no modern language which is absolutely better than other one — compromises are everywhere, that's why it's a silly topic to argue about.

[–] kiri@ani.social 0 points 4 months ago (1 children)

There are C++ analyzers like this which are also designed to prevent it (if you have no choice between languages).

27
C++ (ani.social)
submitted 4 months ago* (last edited 4 months ago) by kiri@ani.social to c/programmer_humor@programming.dev