• 0 Posts
  • 221 Comments
Joined 3 years ago
cake
Cake day: June 25th, 2023

help-circle
  • Yeah, it’s so annoying how every crossplatform project is having to do that, it’s such a burden on all those indie developers all managing so much hardware and automation to support those platforms. /s

    I think I’ve seen the same argument against Linux package managers in general, and it’s bullshit in the way that it’s not on the projects to package for each distro, it’s on the project to provide a functioning build system, or at least binaries, and from there it’s on the distribution maintainers to figure out packaging.

    But also, in cases where packaging is more complex than just one dependency system for a whole language, it would be beneficial to have one unified system - if all languages are packaged in a unified way for specific system package managers, then you only need to develop a system for them once across all languages, and then you might have one system you need to plug your project into, and from there it could be automatically packaged into all those systems.


  • Worth noting is that C# generally uses compiled libraries, not quite binaries but CIL rather than source code, so that’s what you get when adding references and NuGet packages. And at the same time, compiled C# files include a lot of metadata about the code, like class structure and method signatures, so one .DLL is all you need to use a library.

    NPM is a more complex situation. To say there is one build system is already misleading, since there isn’t a build system built into JS - packages can be source distribution, or they can use a variety of tools, minifiers, packages for web or for Node, and occasionally include native libraries/binaries or otherwise compile native code from other sources.

    I think generally new languages have their own package managers primarily because older languages weren’t planned for convenient dependency management, so solutions for that are stapled on top of their stuff, aren’t compatible with existing libraries, often have some annoyances, and there are often multiple alternatives that were independently developed. On the other hand, new languages can just plan things out from the start, tweaking the language to work well for libraries, and establishing a single tool to avoid fragmentation.



  • Don’t take those memes seriously, I think the only bad thing I’d have about CachyOS is that it’s probably getting popularity as a trend, which doesn’t reflect on the distro itself.

    In my particular personal opinion it seems like a good choice if you already know what you’re doing, since it’s mostly just Arch with a nice installer, which I consider to be a solid choice with good support.





  • From my understanding, screen tearing happens when the GPU sends a frame to the screen in the middle of that frame being written to the buffer, which means half of the buffer has the last frame, and half has the new one (citation needed on the exact mechanics). VSync works around this by keeping two (or more) final buffers, making sure there’s always a full buffer ready to send to the screen, and waiting to start rendering another frame until one of the buffers is “free”, having been displayed on the screen.

    This means the phenomenon is different, because the monitor is displaying the image correctly - it’s receiving an image with a tear in it, and faithfully rendering that.

    As a bonus fun fact, Variable Refresh Rate (VRR, also known under marketing terms GSync and FreeSync) is a better way to work around this, it’s basically monitor hardware that can render frames with freer timing (not stuck at a specific refresh rate), and a way for the GPU to send a frame to the monitor when ready instead of a strict schedule, so instead of the GPU waiting for the monitor to be ready, the monitor can wait for the GPU.



  • Yup, seems like netflix started me at the latest season at the time or something, watched three episodes from the first season…

    Not terribly impressed, still, seems like every episode revolves around sex, which is fair, considering humanity, but if every episode is going to be like this it’ll tire me out real soon.

    Either way, glad to have checked it out properly from the start, thanks for shouting out the episode name!





  • they approximate something similar to the original statement in another language.

    The funny thing is, for translating sentences or longer text, that’s what translation is. You can’t translate things 1:1, because different languages have different words, different phrases, different structures. You have to make some sacrifices somewhere, and the more you try to stick to a literal translation, the more stilted the result gets.

    This isn’t to say LLMs are a good choice, but translation is an art more than it is a science, so to speak.