kiri

joined 1 year ago
199
Discount (cdn.imgchest.com)
submitted 2 weeks ago* (last edited 2 weeks ago) by kiri@ani.social to c/memes@lemmy.world
 

Original art by Mayo: twitter

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

As I know, Kubuntu 25.04 (not LTS) uses Wayland only, so you can try it there. If you need exactly 24.04 then idk.

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

In termux (base python module):

python -m http.server 8080

In linux desktop browser:

http://192.168.100.1:8080/ # your ip in `ifconfig` and port

or vice versa.

 
[–] kiri@ani.social 5 points 2 months 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 3 months 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 3 months ago

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

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

You beat me to it!

[–] kiri@ani.social 21 points 4 months ago* (last edited 4 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 6 months ago

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

[–] kiri@ani.social 1 points 6 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.

28
C++ (ani.social)
submitted 6 months ago* (last edited 6 months ago) by kiri@ani.social to c/programmer_humor@programming.dev
 
view more: next ›