• 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle





  • Chars are just numbers, but yeah, an enum would work fine too, sure. The only advantage with using a char for it is that there’s no conversion needed for outputting them into strings so it’s a little easier. Less code, very readable, etc. Though yeah, thinking about it JQKA wouldn’t be numerically in the right order which could cause issues if the program did more than just implement HiLo



  • Any specific infringement material (by which I mean media) would only be on the user’s home server. Links to content aren’t what is actionable for a DMCA notice as far as I’m aware. And the DMCA does not require platforms to actively monitor or remove potentially infringing content, only to follow the takedown procedure when sent an appropriate notification. If they follow that then they are protected from liability. That’s US law but IIRC the implementations in most of the rest of the world are similar if not the same. And here’s the rub: even without those communities, LW will still need to have a DMCA agent and take action against content when notified because people can and will upload infringing media here on other communities.

    They’re not exposing themselves to additional risk by having the piracy communities unblocked. People can and will discuss piracy, in abstract terms at the very least, all over the place. And discussion of copyright infringement is not copyright infringement anyway. Any liability and risk they do hold they will still have to worry about now regardless.



  • obosob@feddit.uktoSelfhosted@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    You just use three backticks to start and end a code block, it’s just markdown.

    e.g.

    version: '3.4' 
      
    services:
       vaultwarden: 
         image: vaultwarden/server:latest 
         restart: always 
         # environment: 
         #   SIGNUPS_ALLOWED: 'false' 
         #   ADMIN_TOKEN: 'your authentication token' 
         ports: 
           - '127.0.0.1:8200:80' 
         volumes: 
           - vaultwarden-data:/data/ 
    ...
    







  • I think this is related to the recent security vulnerability that affected, notably, lemmy.world. Even unaffected instances mostly decided to invalidate existing user sessions just to be sure and this required resetting Jerboa and some other apps that presumably hold onto a cached version of your auth token even if you remove the account and re-add it or something. So it was necessary to clear the app cache and storage to reset it and add accounts again.