It’s a nonsensical statement to us programmers too.
It’s a nonsensical statement to us programmers too.
Most of the time it’s not exactly useful and some of the positions are awkward (e.g. 8, 9, 10), counting to 31 on one hand is maybe useful.
More useful IMO is counting in base 6 and treating each hand as a single digit. i.e counting to 35 on 2 hands without awkward fingerings. Better than 10, less awkward than binary.
Even with AI models that can identify that there are birds in the picture. Having it decide with accuracy that the picture is of a bird is still a hard problem.
I didn’t notice that 7,8,9 had no effect on the count. My bad.
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
Yeah, just use a char for card and test
if(card < '7') count++;
else count--;
Or something, don’t mix types.
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/
...
Is this not loss?