• 1 Post
  • 42 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle

  • In the long term it might have a bad effect on the market, as it further helps to cement Microsoft’s control over multimedia APIs, since game developers now have little incentive now to target anything other than DirectX…

    However, there are others that would argue that Microsoft’s control over multimedia APIs was fully cemented since decades ago, and developers have never had much incentive to target anything other than DX since then.

    Back in 2014, Valve tried to bring Linux gaming to the spotlight by offering solid and targetable APIs for developers to port their games. This approach failed hard, and most games had serious deficiencies because most publishers would rather stick a half-assed DX wrapper (like DXVK only infinitely worse) than actually do the work for a proper port.

    So, with only a handful of games and what did appear was usually worse than on Windows, releases stopped coming after a year or so.

    This is why we have DXVK and Proton today.





  • The most manual way is what C does, which is requiring the programmer to check memory safety by themselves.😛

    The difference is, Rust will throw a tantrum if you do things in an unsafe way. C/C++ won’t even check. It’ll just chug along.

    Rust is really not that harder than Java or Python.

    As someone who’s done all three, the fuck it isn’t.

    If you are familiar with C/C++ best practices to any operational level, those things will translate over to Rust quite nicely. If not, that learning curve is going to be fucking ridiculous with all the new concepts you have to juggle that you just don’t with either Java or Python.






  • The same reason Trump has his own social network.

    Own instances give a lot more control. They can be as outrageous as they like, full on Trumpian, even. They can also control what gets said in that space much more effectively, seeing as how they are the mods and admins. And they don’t have to worry about Meta or Reddit (I doubt Musk even cares) getting media backlash and removing them from the platform entirely.

    Sure, Threads can defed from any controversial instances but it will be trivial to create a mirror that effectively refederates the problem instance.


  • It’s very, very useful.

    For one thing, its a ridiculously easy way to get cross-distro support working for whatever it is you’re doing, no matter the distro-specific dependency hell you have to crawl through in order to get it set up.

    For another, rather related reason, it’s an easy way to build for specific distros and distro versions, especially in an automated fashion. Don’t have to fuck around with dual booting or VMs, just use a Docker command to fire up the needed image and do what you gotta do.

    Cleanup is also ridiculously easy too. Complete uninstallation of a service running in Docker simply involves removal of the image and any containers attached to it.

    A couple of security rules you should bear in mind:

    1. expose only what you need to. If what you’re doing doesn’t need a network port, don’t provide one. The same is true for files on your host OS, RAM, CPU allocation, etc.
    2. never use privileged mode. Ever. If you need privileged mode, you are doing something wrong. Privileged mode exposes everything and leaves your machine ripe for being compromised, as root if you are using Docker.
    3. consider podman over docker. The former does not run as root.


  • Google drive isn’t self-hosted though,

    Doesn’t matter to most people, and for those it does matter to, there’s OwnCloud and a ton of other options

    and they charge for any significant amount of storage.

    Storage costs money, dude, and GDrive don’t cost much.

    I’m running Ubuntu server, so there is no desktop to access via rdp, and I don’t have to open an ssh port to access this.

    If you are worried about opening SSH to the internet, you should be absolutely fucking terrified of opening a browser based admin portal to the net. SSH is fucking bulletproof compared to any web admin console you can think of.