• 0 Posts
  • 10 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





  • 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.