Psyhackological

joined 1 year ago
[–] Psyhackological@lemmy.ml 26 points 8 months ago* (last edited 8 months ago) (7 children)

I once pirated Cuphead and loved it so much that I felt bad not supporting and buying it. It was only after First Isle.

[–] Psyhackological@lemmy.ml 2 points 9 months ago

Enshititifaction.

[–] Psyhackological@lemmy.ml 2 points 9 months ago (2 children)

What do they gain from this shitty policy?

[–] Psyhackological@lemmy.ml 15 points 9 months ago* (last edited 9 months ago) (4 children)

I remember being "sorry" for doing so to Helldivers 2 🤣

[–] Psyhackological@lemmy.ml 2 points 9 months ago

Have you automated creation?

[–] Psyhackological@lemmy.ml 6 points 9 months ago

I think it can be summed up to C is more mature than Rust so we wait for Rust to shine Rust can overcome some complex things in C and vice versa

[–] Psyhackological@lemmy.ml 1 points 9 months ago

Use Remmina on the client and then install anything that opens and listens to VNC ports. For example TightVNC or RealVNC.

Just even a small sys admin tip for Android phones

[–] Psyhackological@lemmy.ml 3 points 9 months ago* (last edited 9 months ago) (1 children)

Wth is that, that is the most anti-idiomatic code I have ever seen

https://github.com/rustdesk/rustdesk/blob/master/src%2Fplatform%2Flinux.rs#L176

pub fn get_cursor() -> ResultType<Option<u64>> {
    let mut res = None;
    DISPLAY.with(|conn| {
        if let Ok(d) = conn.try_borrow_mut() {
            if !d.is_null() {
                unsafe {
                    let img = XFixesGetCursorImage(*d);
                    if !img.is_null() {
                        res = Some((*img).cursor_serial as u64);
                        XFree(img as _);
                    }
                }
            }
        }
    });
    Ok(res)
}

I'm not an expert but this seems wrong.

[–] Psyhackological@lemmy.ml 2 points 10 months ago* (last edited 10 months ago)

Hahaha true 😆

But the scale is too small for now. :/

[–] Psyhackological@lemmy.ml 1 points 10 months ago
view more: ‹ prev next ›