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.
Ricardo was testing in production
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.
there’s also https://lemmyverse.net/communities
The main difference that has me using LibreTube rather than NewPipe is because my subscriptions are on my piped account so they are synced between phone and desktop (browser). Piped is built on top of NewPipe’s extractor library anyway.
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/
...
As others said, you’re talking about CGI
Does your lemmy instance have a character limit?
There is a more performant C++ implementation but it’s been a long while since I’ve used either it or the java implementation. Worth checking out.
Is this not loss?