• 6 Posts
  • 681 Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle


  • Ephera@lemmy.mltoLinux@lemmy.mlshould i switch to linux?
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 days ago

    Should perhaps add that you can generally run Linux distributions off of a USB stick for that first impression.

    Just follow a tutorial for how to install Linux and when you see the actual installer on screen, you can just close the installer without installing and then click around in the UI.

    It will be slow, because it’s running off that slow USB connection, but otherwise this is pretty much the operating system as it is when fully installed.











  • Yeah, differentiating between multiplications vs. divisions and additions vs. subtractions doesn’t make sense, because they’re the same thing respectively, just written differently.

    When you divide by 3, you can also multiply by ⅓.
    When you subtract 7, you can also add -7.

    There is one quirk to be aware of, though. When people notate a division with a long horizontal line, that implies parentheses around both of the expressions, top and bottom.





  • I also always find the minimalism vs. maximalism debate interesting for usability. Lots of minimal designs are so flat that you can’t tell a button from a label or icon.
    At the same time, iOS’ new Frutiger theme regularly confuses me with its transparency, e.g. yesterday I saw that the silent-mode notification had a ➋ inside. It was centered and everything. Then the notification went away, but the ➋ stayed, because it was from an app icon behind.

    I wish, we could throw out the bad eye candy, like transparency, while keeping the good parts, like 3D buttons and such. I feel like this kind of neo-brutalist UI design isn’t the worst direction to go in:

    (This particular example isn’t perfect, like the buttons are flat, while there’s useless shadows around the boxes. But yeah, could just move those shadows to the buttons and it would still look fine.)


  • Ephera@lemmy.mltoRust@programming.devAnnouncing Rust 1.95.0
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months ago

    cfg_select! looks good. cfg_if! always added so much boilerplate that it rarely reduced complexity, even though it offered a valid solution for when you had a complex condition in one branch and then not() that in the other. It was also annoying that you had to add a dependency for those rare cases.

    We did also move away from cfg_if!, though, because IDE tooling would mostly just quit working within the cfg_if! macro call. Will have to see, if that’s better with this compiler built-in, or if the IDE tooling gets updated to support that well.