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

help-circle
  • There are four version of x86_64: v1, v2, v3, and v4.

    RHEL 9 dropped support for anything prior to v3. That means RockyLinux doesn’t cover it, either. AlmaLinux has support for v2 in version 10, but there’s no way of knowing how long that will last.

    Some binary packages are starting to drop support for earlier version. The latest numpy out of pip will not work on a v1 machine. You can sometimes use the system package manager’s numpy to work around it, or constrain pip to use an older numpy. I don’t know what else is lurking out there.

    If you’ve got visions of taking a really old computer that you happened to max out on RAM back in the day and bringing it back to life there are surprises waiting for you.




  • Lots of rose colored glasses being worn here.

    I will take modern rust prevention tech every day all day. The control modules and circuit boards are a hole in repairablity, and there’ll be a wall where nobody makes them anymore and the specs are not published (considered proprietary/trade secret/whatever), and that whole vehicle will just have to be scrapped. The world won’t ever see the end of old body-on-frame vehicles with crate engines. Speaking for myself the “rose colored glasses” is a wish for the best of both worlds. I wouldn’t doubt it’s out there being done somewhere, but I’m sure it’s cost prohibitive to do it, or people are doing it for themselves.

    Maybe I’m just complaining because I don’t personally have the time/knowledge/workspace to do what I want in that area. C’est la vie.





  • 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;
    }