• 0 Posts
  • 20 Comments
Joined 1 year ago
cake
Cake day: August 15th, 2023

help-circle
  • There are valid criticism to be made about cosmic desktop, like

    *Lists two positives*

    If that’s the best example of criticism to be had about COSMIC, then it’s practically flawless. Except of course, though, it isn’t. Aside from the general lack of polish, I’d argue that there’s not enough customization. E.g. things that should really be a slider or spin control (or better yet multiple sliders/spin controls) like corner radii are multiple choice button things (not to mention that the ‘square’ style is anything but.) Some of the sliders that do exist (particularly the size ones) have very few set points that make them essentially disguised drop downs. I could probably find dozens more things to criticize if I cared to sit down and nitpick everything.



  • SleveMcDichaeltoLinux@lemmy.mlGnome blog from 2021 about libadwaita
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    15
    ·
    6 months ago

    As much as I sympathise with developers over headaches caused by themeing, I believe users (myself included) would be less up-in-arms about it if applications were less ugly by default. And boy howdy is libadwaita ugly as sin.

    I’d be perfectly willing to tolerate a mismatched system, if the individual components looked at least okay. Like I’m not going to get e.g. steam or discord to match an e.g. Windows 9x theme, and I’m mostly okay with that because they aren’t horrible to look at. But, say, File Roller? Absolutely not. Horribly ugly.








  • SleveMcDichaeltoLinux@lemmy.mlBeeper is joining Automattic
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    7 months ago

    There was a bit of drama on tumblr (owned by Automattic) not too long ago where a relatively well known trans blogger got banned as a part of an alleged harassment campaign. I recall Matt Mullenwag (Automattic’s CEO) being accused of following the user on to other platforms and harassing them. There were also accusations of, IIRC, tumblr staff taking payments to ban users. Which isn’t great. So if my memory is accurate, your gut feeling is probably right.

    Edit: typo, slleged -> alleged




  • Tabs let you define how big you want each indent to be, and spaces do not.

    Spaces can too: Simply use more or less of them, to taste.

    I have ADHD. Two spaces per indent makes it damn near impossible for me to scan code.

    Then use four, or six, or eight, or 20. Hell, most code I’ve seen uses four spaces per indent anyway.

    [Re: braille]

    Surely there’s an editor out there that will automatically display indent spaces as a tab character. Or failing that it seems like it would be rather trivial create a program to convert n spaces to tabs, and vice versa.








  • Here’s an entry in Rust, though it feels quite a bit like cheating:

    fn main() {
        let mut a = std::env::args().skip(1).next().unwrap();
        println!("{}", f(&mut a));
    }
    
    
    fn f(a: &mut String) -> String {
        let mut b = String::new();
    
        while *a != b {
            b = a.clone();
            *a = a.replace("{}", "").replace("()", "").replace("[]", "");
        }
    
        return b;
    }
    

    edit: added main function to take cli input.

    edit2: a rust based stack implementation: https://pastebin.com/FgfuxxRV