Skip Navigation

Posts
5
Comments
635
Joined
2 yr. ago

  • It's been years. I tried looking for it, but nothing I could find looks like what I'm thinking of.

    Apparently there's many reverse and some multiple show in reverse in one take now. The one I'm thinking of surely was one of the first, or the first of its kind.

    But with how long ago it was and not a band or song I listened to, I can't recall nor find.

  • What makes TPB garbage?

  • You're screaming in the shower?

  • feel the pinch

    wat

  • That one that was recorded in reverse - the full thing.

  • The "best way" depends on the project and its need, or immediate most pressing needs. You may refer to their contrib docs or ask.

    But generally, any quantity and quality contribution helps. Community support and issue reproducibility and testing being low-barrier entry ones. Next lowest barriers being translation and documentation.

  • How are we still not past three-splitting content…

    It's not as shit as twitter UI/UX/Accessibility - but this mastodon split-post doesn't make me feel much better.

    /edit: Actually, it's a 5-split.


    I'll do what lemmy-post-OP didn't and copy the content for accessibility:

    Ashley Gullen:

    If you thought JavaScript was a mess, here's what it takes to pass a file path to a Windows API in C++: 🧵

    1. Windows uses UTF-16, but most modern software uses UTF-8
    2. Converting UTF-8 to UTF-16 requires calling MultiByteToWideChar twice (once for size, second to convert)
    3. Alternatively you can set the process code page to UTF-8 and call the 'A' variant API directly, but only sometimes, and only with Windows 10 v1903+, and you might still have to change the system locale setting and reboot
    4. Now you can pass a file path! But...
    5. The path is limited to MAX_PATH (260 chars)
    6. Unless you prefix the path with \\?\
    7. However using \\?\ disables automatic conversion of / to \ in the path (and some other normalization)
    8. Alternatively set a reg key LongPathsEnabled, but only with Windows 10 v1607+ and the app needs to opt in to longPathAware, and changing the registry might need a reboot
    9. Even then not all Windows APIs support longer paths, e.g. PathCanonicalize. Swap for PathCchCanonicalizeEx with PATHCCH_ALLOW_LONG_PATHS, etc. Check docs per API.
    10. Congratulations, your app can pass a long file path to Windows! But the shell still doesn't support long paths. So your app can write to long paths, but you can't access them with Windows Explorer. Even in Windows 11.
    11. If the API returns a path, do all that in reverse.

    I probably missed a few other details and quirks.

    References:

    See also individual APIs e.g. https://learn.microsoft.com/en-us/windows/win32/api/shlwapi/nf-shlwapi-pathcanonicalizea

    Unrelated promotional text and link

  • They're integrated in-house products. To get them into a sellable separated state would require additional effort that's just not worth it to them.

  • I don't get it

  • Quality article, to the point. But this seems more fitting to a technical community than general privacy.

  • What? I don't even get your pitch or call for contributions.

    You have an idea but don't share it? Or is free access your idea?

  • Does he actually think he's worthless? I can imagine various other reasons for him not wanting his son to take over. Being unfitting or not good enough doesn't make him worthless for example.

  • Oops, I indeed hadn't noticed.

  • Season 1 was great

    Great comedy

  • It's unlikely to have any noticeable impact. This is more about verifiably and categorically not having any traces of logging or cached state.

    Both caching and logging should be independent of the direct usage performance anyway. And service startup happens only once - not during its usage.

  • Permanently Deleted

    Jump
  • Diamond hard

  • So confused by title. Had to learn what lies of p is first. Read it as lies of performance settings and a steam deck p product.