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

help-circle




  • I try to kick my circadian rhythm with ample light, so for that I switch between light and dark theme more or less around sunrise/sunset. Staring into a bright screen with light theme isn’t as bright as being outside, but then I can at least also turn on all kinds of lights or sit outside somewhere, without it being as detrimental to readability as it would be with a dark theme.


  • I guess, what really bothers me here in particular is the extra low contrast. The background does actually use the correct color, that you point out. But the foreground/text color is #654735. That’s brown:

    Screenshot of a color picker, where the color is visible as brown. It's almost halfway in terms brightness and saturation towards an orange.

    I don’t know where that color comes from. None of the original Gruvbox colors are that. It is dubbed as a “Gruvbox Material” theme. I do have opinions about the new Material You styles having shit contrast. But I don’t believe, it’s supposed to be quite as terrible either.

    And well, yeah, I do usually end up modifying the Gruvbox themes to just set background to #ffffff, foreground to #000000, or vice versa for dark themes. It does work quite well IMHO, which is what makes it all the more frustrating that so many Gruvbox-like themes choose to go the other way.







  • I always thought openSUSE’s package manager zypper has quite a few neat ideas:

    • It offers two-letter shorthands for subcommands, so zypper installzypper in, updateup, removerm.
    • When it lists what packages it will install or remove, it will list them with the first letter highlighted in a different color, kind of like so: fish git texlive
      This makes it really easy to visually scan the package list, and since it’s sorted alphabetically, it also makes it easier to find a particular package you might be looking for.
      And while there’s separate lists for packages to be added vs. updated vs. removed, they also color those letters in green vs. yellow vs. red, so you can immediately see what’s what.
    • When it lists items (other than packages), it prints an ID number, too.
      So, zypper repos gives you a list of your repositories, numberered 1, 2, 3 etc., and then if you want to remove a repo, you can run zypper removerepo 3.
    • When you run a zypper search, it prints the results in a nicely formatted table.

    Documentation: https://doc.opensuse.org/documentation/tumbleweed/zypper/






  • In my experience, the biggest problem is that maintainable code necessarily requires extending/adapting existing structures rather than just slapping a feature onto the side.

    And if we’re not just talking boilerplate, then this necessarily requires understanding the existing logic, which problems it solves, and how you can mold it to continue to solve those problems, while also solving the new problem.

    For that, you can’t just review the code afterwards. You have to do the understanding yourself.
    And once you have a clear understanding, it’s likely that the actual code change is rather trivial. At least more trivial than trying to convey your precise understanding to an LLM/intern/etc…



  • Everything I implement at work is open source because I don’t want to wait for a purchase approval.

    Just to say, though, I feel like 99% of the software we deploy is open-source for that exact reason. Projects generally start out small, where you try to evaluate some concept. You’re not gonna spend months to go through the purchase process of some proprietary tool, if you can help it…