• 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: February 1st, 2023

help-circle

  • Well, I’m biased because KaTeX is load bearing to my use case. But I would argue that it:

    • Is more powerful
    • Is an introduction to LaTeX (which is an industry standard)
    • It’s ubiquitous

    You could consider using mathjax instead of KaTeX which should render both latex math and asciimath, (and should be better in general). If you had unlimited resources (which I guess you don’t) it would be cool if you made the math language into a setting.

    For git, other than the add and commit buttons, it would be useful to have a “git gutter” which shows changes from the last commit. Which is the only git integration feature that you can’t get away with external tools.

    For spell checking, even just pulling in some dictionary, like the ones in vscode’s cspell extension and having a basic dictionary check is much better than nothing.



  • Systemd was actually a “clone” of apple’s launchd. Similarities with windows arise from the fact that it makes sense to manage services in certain ways on modern OSs. Also services on windows are completely different from Linux and MacOS, they are even a different executable file format, not a normal exe.






  • edinbruh@feddit.ittolinuxmemes@lemmy.worldHot take
    link
    fedilink
    arrow-up
    5
    ·
    5 months ago

    To me the problem is actually removing the old one. You can easily uninstall gnome, but it will leave behind config files and various data. It’s less clean.

    Also, there’s an overlap in the libraries required by DEs, so you should use the “replace” option in you package manager (if it has one) to let o t figure out the best way to uninstall one and install the other.



  • Obviously that’s not true… like, at all…

    Android phones use Surface Flinger, which is a compositor that has nothing to do with either Wayland or X11. But we could say it’s kinda similar to Wayland in the fact that it’s composited and uses something similar to GBM and GEMM for managing buffers.

    Android drivers don’t even use the same “semantics” as Linux drivers (android uses explicit sync, while Linux is implicit, but they are working on supporting explicit sync because Nvidia and because it’s better). It’s only in the last few years that you can use Linux drivers in android, plus some synchronization stuff.



  • Which is bullshit because DRM doesn’t effectively prevent ripping (source: you can find pirated hd content). So it’s literally only harmful to the customer.

    I’ll give you a quick demo of how DRM is literally useless at protecting content:

    • You need:
      • a machine with any Nvidia GPU series 600 or newer running Windows, a browser with DRM support (e.g. chrome), and optionally sunshine. This is not an uncommon setup
      • any other machine that can run moonlight (even a phone).\
    • Services often use widevine as DRM provider, so using the Nvidia machine visit this test page and make sure DRM is working
    • Normally the DRM api ensure that the decrypted content of that video can never in any form get out of a special GPU buffer, not even the browser can access it
    • enable sunshine on the machine
    • Connect from the second machine to the using moonlight and notice that the video is not being shared. DRM seems to be working correctly.
    • Now disable sunshine and enable Nvidia gamestream from GeForce experience, and set it up to share the whole desktop
    • connect from the second machine to the first using moonlight
    • now the video is being shared to the second machine, and DRM is circumvented. There is literally nothing preventing you from recording the screen on the second machine

    Now, this is a terrible way of ripping content, it causes at least one reencoding, which reduces quality (a lot of people won’t even notice it), but it is a stupidly simple working demo of DRM circumvention.

    Btw, that procedure is not the result of some study, reverse engineering, or any clever stuff. I was literally playing a game in streaming and I went “hmm, I wonder what would happen if I streamed widevine” and it just worked.