« first day (5150 days earlier)      last day (21 days later) » 

08:41
@jesse_b The issue is when text is based on LLM output, and when it uses generative AI to just add words to make it seem authoritative. Using AI to fix grammar etc. is fine, in my opinion, and I would possibly also say that using it to check posts for other types of issues also is okay. It's not okay to let the AI be responsible for the content. You should be able to act on comments and to modify the text in response to issues.
Most users that we delete AI answers from don't even care and wouldn't be able to explain or fix their text even if they wanted to.
 
5 hours later…
13:24
@Kusalananda Yeah that I agree is wrong and I suppose if you allow any form of it it would be hard to prevent all forms of it.
a lot of times it actually gives me a more interesting angle on things but my most recent answer it gave me a completely wrong solution altogether lol
it thought you could do this:
for num in {1..3}; do
    export "var$num"=9999
    echo "var$num is ${!var$num}"
done
for num in {1..3}; do
        declare "var$num=9999"
        declare -n ref="var$num"
        printf '%s is %s\n' "var$num" "$ref"
done
But really, they would benefit more from just learning to use arrays.
Heh, if I remember correctly that's exactly what Jesse's answer said.
Ah no, almost, it was a comment:
@DanLarrabee if it's not required to export them it would probably be better to use an array instead. — jesse_b yesterday
yeah I was going to add an answer with arrays but I wanted to confirm if it needed to be exported first, I might still do it
13:39
Note that I used declare rather than export to not pollute the environment with new variables.
I should stop using "Note that".
write that down
14:10
Thanks @Kusalananda but you don't have to use 0 in an array
$ declare -p array
declare -a array=([1]="9999" [2]="9999" [3]="9999" [12345678]="leeeeeeeeeeeeroy jenkins")
@jesse_b It's inelegant not to :-) It relies on the sparse implementation of the array in the shell.
If you want indexes like that, a computer science person would tell you to use associative arrays instead.
yeah I'm sure it's no big deal, I usually try not to assume much from the op. For example the numbers 1, 2, 3 could be coming from some other program
no big deal though, they are likely not going to see the edit and just continue exporting all their variables into oblivion
14:37
does anyone have experience with python concurrency?

« first day (5150 days earlier)      last day (21 days later) »