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

help-circle



  • obosob@feddit.uktoPrivacy@lemmy.mlIs Skiff trustworthy?
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I presume the reason they didn’t use GPL3 is because they wanted the attribution and non-commercial clauses offered by CC-BY-NC.

    Not suggesting that they should not prefer to drop those clauses in favour of a copyleft free software licence. but you asked “why not” and losing those clauses is clearly an obvious candidate for why they might not want to.





  • 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




  • obosob@feddit.uktoSelfhosted@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    11 months 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/ 
    ...
    








  • obosob@feddit.uktoSelfhosted@lemmy.worldWell well 🤨
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Yeah, it’s only communities that people on your instance search for/subscribe to afaik. So if you’re the only one on your instance then you have control over that.

    Further to that it’s only the post objects (and comments, etc.) that is replicated all pics and videos are just URLs. even when you upload a picture with the post, that’s just uploaded to the instance and the link to it is the link of the post, even on other instances the images are fetched from the original source from the client side. I do believe each instance does local thumbnaling.