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

help-circle

  • Is it hotswap or are the switches soldered into the board? If the former then yes, first thing to try is re-seat the switch in the socket, check that a pin on the switch isn’t bent (and thus not inserting into the socket at all). The second thing to check (or first if soldered) is, using a multimeter, check continuity between the switch and its row/column and between the switch and its diode and check that it is working.

    In either case, if re-seating isn’t enough, corrosion or oxidation could cause the behaviour. If hotswap, check for corrosion or oxidation on the switch contacts and the hotswap socket. gently try to remove any layer of oxidised material with something lightly abrasive like sand paper, or even just insert and remove it a few times to try to rub it off. Clean with isopropyl alcohol. If still not working try to reflow the solder joints.

    If all that fails you may need to run a small wire to fix a broken or corroded connection but that’s unlikely I’d imagine.






  • obosob@feddit.uktoPrivacy@lemmy.mlIs Skiff trustworthy?
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year 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
    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/ 
    ...
    




  • If you don’t like the gestures (like me) the most recent version has options to turn them off and give you buttons instead. For me thunder is nearly there in terms of being the experience I want. I wish it handled that back button better, but all the other apps like Jerboa also suffer poor back button behaviour too.