• 0 Posts
  • 12 Comments
Joined 2 months ago
cake
Cake day: April 4th, 2026

help-circle
  • I ended up creating an account just to block communities/users. At the time there was a poster posting to his own instance that was federated with lemmy.world, and he was reposting nothing but reddit posts, and the volume was such that they had to go. With no algorithm there’s no way to just see subscribed stuff without losing out on discovering new things.

    And just a tip, Lemmy will let you export (to JSON) your configuration options to include who you’ve blocked.











  • Try the c++23 standard. There’s been a lot of cross pollination. Contrived example follows:

    #include <format>
    #include <numbers>
    #include <print>
    #include <string>
    
    int main(int argc, char *argv[]) {
        double pi = std::numbers::pi;
        std::string fstr = std::format("{}, {:>.2}, {:>.5}, {:>.10}", pi, pi, pi, pi);
        std::string h = "Hello";
        std::string w  = "World";
        std::println("{}, {}!", h, w);
        std::print("This won't have a {},", "newline");
        std::println(" but this will add it."); // Add a newline.
    
        // Can't put a non-constant string as the first argument to
        // print or println so they can be checked at compile time.
        std::println("{}", fstr);
        return EXIT_SUCCESS;
    }