• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: November 18th, 2023

help-circle
  • If you’re doing an @world emerge, then you’ll be recompiling all installed packages with updates, including dependencies.

    One of the heavier packages that’s included in almost every desktop profile as a dependency somewhere is dev-qt/qtcore (full list of packages in the standard desktop profile here, though each package listed here will have its own dependencies which may have their own dependencies, etc. So it is not an exhaustive list), qtcore also appears to be what was compiling when the photo in your post was taken so is likely the primary cause of that specific long build time.


  • When trying to run gentoo, if you’re emerging with fewer than a few dozen cores (either in a single machine with something like a threadripper, or in a cluster with distcc), then I highly recommend using the binary versions of certain packages. This can be done either with -bin versions of packages, or something like the Gentoo Binary Host Project.

    Packages that particularly benifit from using binary versions would primarily web browser or web browser adjacent packages such as Firefox, Chrome, QTWebEngine, but really any particularly large compile that doesn’t benifit from compiling locally (eg: not that many use flags, not likely to use any additional CPU features you might have such as avx512). In fact, bin versions of Web browsers often will perform much better than locally compiled versions since they are compiled with additional optimisations that either make the compile time even longer (O3 and LTO), or require additional manual steps (such as PGO where the unoptomised browser is compiled and ran through real-world workloads with a profiler attached to identify code hotpaths so the compiler can optimise more efficiently during a second complete compile run).


  • HailHydra@infosec.pubtoComic Strips@lemmy.worldISO 8601
    link
    fedilink
    English
    arrow-up
    18
    ·
    edit-2
    9 days ago

    Lexical sorting (string sorting/alphabetical order sorting) is what I believe they were referring to when talking about file names.

    The fact that you don’t have to do any parsing of the string at all, just do a straight character-by-character alphabetical sort, and they will be sorted by date, is a great benifit of this date scheme. That means in situations where no special parsing is set up (eg, in a File Explorer windows showing a folders contents sorted alphabetically) or where your string isn’t strictly date only (eg, a file name format such as ‘2025-05-02 - Project 3.pdf’) you can still have everything sorted by date just by sorting alphabetically.

    Its this benifit that is lost when rolling over to 5-digit years.




  • The drink or this community?

    The drink is called -196 because they flash freeze the fruit used to flavour it using liquid nitrogen and liquid nitrogen evaporates at -196°C.

    This community is called 196 because it’s named after the original r/196 subreddit, which was created after the r/195 shit posting subreddit shut down, which was named after the subreddit owners old college dorm room number (195).