Psyhackological

joined 7 months ago
[–] Psyhackological@lemmy.ml 2 points 5 days ago

Have you automated creation?

[–] Psyhackological@lemmy.ml 7 points 2 weeks 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 3 points 3 weeks ago

But not as precise.

[–] Psyhackological@lemmy.ml 1 points 3 weeks 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 1 points 3 weeks ago

Exactly and that is why when I have a pleasure to do something extra than their system allows to do they are handicapped and I need to do this for them on my Android or Linux.

Also doesn't even slow stock Android on 200$ "just works"?

But I do also like when I don't need to configure stuff as it is productivity draining. Good defaults are always welcomed.

 

I mean games you played / you are going to play.

My list looks like this for example:

What are yours?

[–] Psyhackological@lemmy.ml -1 points 3 weeks ago (2 children)

That was a lot of effort. I don't think you suited as an iOS guy. Most of them don't know what file and its extension is. Also maybe you will find something helpful in my list. Awesome Android Apps

[–] Psyhackological@lemmy.ml 3 points 3 weeks ago* (last edited 3 weeks 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 4 weeks ago* (last edited 4 weeks ago)

Hahaha true 😆

But the scale is too small for now. :/

[–] Psyhackological@lemmy.ml 6 points 4 weeks ago

So reading all of your responses

  • Tested and preinstalled hardware
  • One resource to solve the issue not many
  • Customizablity when needed
  • Easy rollback when something breaks
  • Changing people mindset that Linux isn't for desktops

Does anyone have more?

[–] Psyhackological@lemmy.ml 41 points 4 weeks ago (1 children)
  • Feeling clean
  • Not being exploited
  • Minimalism
  • Less power drain
  • Less data sent
  • Freedom
  • Everything works better and faster
  • I hate spying because they can
  • To be honest also because most people don't care

The only con is convenience.

 

Let's say just like for example like MacOS. It's awesome we have so many tools but at the same time lack of some kind of standardization can seem like nothing works and you get overwhelmed. I'm asking for people that want to support Linux or not so tech-savy people.

 

Wayland seems ready to me but the main problem that many programs are not configured / compiled to support it. Why is that? I know it's not easy as "Wayland support? Yes" (but in many cases adding a flag is enough but maybe it's not a perfect support). What am I missing? Even Blender says if it fails to use Wayland it will use X11.

When Wayland is detected, it is the preferred system, otherwise X11 will be used

Also XWayland has many limitations as X11 does.

 

cross-posted from: https://lemmy.ml/post/19176020

Compressed using ImageMagick and oxipng as cosmic-screenshot produces huge sizes that Lemmy doesn't want to handle.

Desktop

Wallpaper

Appearance (based on Factorio.com)

  • Dark: true
  • Accent color: #FF9F1C
  • Application or window background: #242324
  • Container background: #313031
  • Interface text tint: #FFE6C0
  • Control component tint: #242324
  • Use theme accent color as active window hint: true
  • Style: Square
  • Active window hint size: 6
  • Gaps around tiled windows: 12
  • Experimental settings > Apply this theme to GNOME apps: true

Other configuration should be visible, just a matter of taste and Factorio UI.

Factorio.ron

282 lines

(
    palette: Dark((
        name: "cosmic-dark",
        blue: (
            red: 0.5803922,
            green: 0.92156863,
            blue: 0.92156863,
            alpha: 1.0,
        ),
        red: (
            red: 1.0,
            green: 0.70980394,
            blue: 0.70980394,
            alpha: 1.0,
        ),
        green: (
            red: 0.6745098,
            green: 0.96862745,
            blue: 0.8235294,
            alpha: 1.0,
        ),
        yellow: (
            red: 1.0,
            green: 0.94509804,
            blue: 0.61960787,
            alpha: 1.0,
        ),
        gray_1: (
            red: 0.105882354,
            green: 0.105882354,
            blue: 0.105882354,
            alpha: 1.0,
        ),
        gray_2: (
            red: 0.14901961,
            green: 0.14901961,
            blue: 0.14901961,
            alpha: 1.0,
        ),
        gray_3: (
            red: 0.1882353,
            green: 0.1882353,
            blue: 0.1882353,
            alpha: 1.0,
        ),
        neutral_0: (
            red: 0.0,
            green: 0.0,
            blue: 0.0,
            alpha: 1.0,
        ),
        neutral_1: (
            red: 0.105882354,
            green: 0.105882354,
            blue: 0.105882354,
            alpha: 1.0,
        ),
        neutral_2: (
            red: 0.1882353,
            green: 0.1882353,
            blue: 0.1882353,
            alpha: 1.0,
        ),
        neutral_3: (
            red: 0.2784314,
            green: 0.2784314,
            blue: 0.2784314,
            alpha: 1.0,
        ),
        neutral_4: (
            red: 0.36862746,
            green: 0.36862746,
            blue: 0.36862746,
            alpha: 1.0,
        ),
        neutral_5: (
            red: 0.46666667,
            green: 0.46666667,
            blue: 0.46666667,
            alpha: 1.0,
        ),
        neutral_6: (
            red: 0.5686275,
            green: 0.5686275,
            blue: 0.5686275,
            alpha: 1.0,
        ),
        neutral_7: (
            red: 0.67058825,
            green: 0.67058825,
            blue: 0.67058825,
            alpha: 1.0,
        ),
        neutral_8: (
            red: 0.7764706,
            green: 0.7764706,
            blue: 0.7764706,
            alpha: 1.0,
        ),
        neutral_9: (
            red: 0.8862745,
            green: 0.8862745,
            blue: 0.8862745,
            alpha: 1.0,
        ),
        neutral_10: (
            red: 1.0,
            green: 1.0,
            blue: 1.0,
            alpha: 1.0,
        ),
        bright_green: (
            red: 0.36862746,
            green: 0.85882354,
            blue: 0.54901963,
            alpha: 1.0,
        ),
        bright_red: (
            red: 1.0,
            green: 0.627451,
            blue: 0.5647059,
            alpha: 1.0,
        ),
        bright_orange: (
            red: 1.0,
            green: 0.6392157,
            blue: 0.49019608,
            alpha: 1.0,
        ),
        ext_warm_grey: (
            red: 0.60784316,
            green: 0.5568628,
            blue: 0.5411765,
            alpha: 1.0,
        ),
        ext_orange: (
            red: 1.0,
            green: 0.6784314,
            blue: 0.0,
            alpha: 1.0,
        ),
        ext_yellow: (
            red: 0.99607843,
            green: 0.85882354,
            blue: 0.2509804,
            alpha: 1.0,
        ),
        ext_blue: (
            red: 0.28235295,
            green: 0.7254902,
            blue: 0.78039217,
            alpha: 1.0,
        ),
        ext_purple: (
            red: 0.8117647,
            green: 0.49019608,
            blue: 1.0,
            alpha: 1.0,
        ),
        ext_pink: (
            red: 0.9764706,
            green: 0.22745098,
            blue: 0.5137255,
            alpha: 1.0,
        ),
        ext_indigo: (
            red: 0.24313726,
            green: 0.53333336,
            blue: 1.0,
            alpha: 1.0,
        ),
        accent_blue: (
            red: 0.3882353,
            green: 0.8156863,
            blue: 0.8745098,
            alpha: 1.0,
        ),
        accent_red: (
            red: 0.99215686,
            green: 0.6313726,
            blue: 0.627451,
            alpha: 1.0,
        ),
        accent_green: (
            red: 0.57254905,
            green: 0.8117647,
            blue: 0.6117647,
            alpha: 1.0,
        ),
        accent_warm_grey: (
            red: 0.7921569,
            green: 0.7294118,
            blue: 0.7058824,
            alpha: 1.0,
        ),
        accent_orange: (
            red: 1.0,
            green: 0.6784314,
            blue: 0.0,
            alpha: 1.0,
        ),
        accent_yellow: (
            red: 0.96862745,
            green: 0.8784314,
            blue: 0.38431373,
            alpha: 1.0,
        ),
        accent_purple: (
            red: 0.90588236,
            green: 0.6117647,
            blue: 0.99607843,
            alpha: 1.0,
        ),
        accent_pink: (
            red: 1.0,
            green: 0.6117647,
            blue: 0.69411767,
            alpha: 1.0,
        ),
        accent_indigo: (
            red: 0.6313726,
            green: 0.7529412,
            blue: 0.92156863,
            alpha: 1.0,
        ),
    )),
    spacing: (
        space_none: 0,
        space_xxxs: 4,
        space_xxs: 8,
        space_xs: 12,
        space_s: 16,
        space_m: 24,
        space_l: 32,
        space_xl: 48,
        space_xxl: 64,
        space_xxxl: 128,
    ),
    corner_radii: (
        radius_0: (0.0, 0.0, 0.0, 0.0),
        radius_xs: (2.0, 2.0, 2.0, 2.0),
        radius_s: (2.0, 2.0, 2.0, 2.0),
        radius_m: (2.0, 2.0, 2.0, 2.0),
        radius_l: (2.0, 2.0, 2.0, 2.0),
        radius_xl: (2.0, 2.0, 2.0, 2.0),
    ),
    neutral_tint: Some((
        red: 0.14117648,
        green: 0.13725491,
        blue: 0.14117648,
    )),
    bg_color: Some((
        red: 0.14117648,
        green: 0.13725491,
        blue: 0.14117648,
        alpha: 1.0,
    )),
    primary_container_bg: Some((
        red: 0.19215687,
        green: 0.1882353,
        blue: 0.19215687,
        alpha: 1.0,
    )),
    secondary_container_bg: None,
    text_tint: Some((
        red: 1.0,
        green: 0.9019608,
        blue: 0.7529412,
    )),
    accent: Some((
        red: 1.0,
        green: 0.62352943,
        blue: 0.109803915,
    )),
    success: None,
    warning: None,
    destructive: None,
    is_frosted: false,
    gaps: (0, 12),
    active_hint: 6,
    window_hint: None,
)

 

I'm looking for interesting tools to automate managing packaging and configuring everything automated.

And yeah I know about NixOS but I like to distro hop and experiment so I for now know these:

  • Ansible - automating many machines, using different package names as vars and package managers.
  • Bash - the most native and compatible scripting language that can be.
  • Chezmoi - for dotfiles.

For now that's it. I'm looking forward for your suggestions!

 

I want to learn more about file systems from the practical point of view so I know what to expect, how to approach them and what experience positive or negative you had / have.

I found this wikipedia's comparison but I want your hands-on views.

For now my mental list is

  • NTFS - for some reason TVs on USB love these and also Windows + Linux can read and write this
  • Ext4 - solid fs with journaling but Linux specific
  • Btrfs - some modern fs with snapshot capability, Linux specific
  • xfs - servers really like these as they are performant, Linux specific
  • FAT32 - limited but recognizable everywhere
  • exFAT - like FAT32 but less recognizable and less limited
 

I found these: Scalpel - but no longer maintaned. PhotoRec - but I don't know how well it works with Btrfs.

Maybe you have something better.

 

Awesome Android Apps

AAA

Hi all,

for 2 years, sporadically, I've been adding awesome FOSS apps with the following:

Rules

  • Open Sourced
  • Free of charge (on F-Droid and source code repository releases)
  • Free as in Freedom
  • Ad-free
  • Installed and tested by me or by contributor
  • Privacy-friendly aware
  • Easy to use
  • Still in development or polished experience
  • Does not lack features compared to proprietary app
  • Does not need an account (the only exceptions are self-hosted) apps)
  • Has dark theme

...tested by my and then later by contributors. I think many of you will appreciate this simple README.md repo, and I would love some help with it.

🏔️ Codeberg version

I hope you will find it useful! 🤩

view more: next ›