News for hackers. Stuff that matters.
Re:Asking an LLM to build a simple web tool by genewitch on Wednesday July 10, 2024 @03:12PM (#40930326)
that's good, i can consider paying for that service...

I'll have to check the actual results, of course, but that's much cleaner than what all the other LLMs output

Re:Asking an LLM to build a simple web tool by GistNoesis on Thursday July 11, 2024 @05:26AM (#40934914)
There is a bug :

N = 1000000 # Total numbers to check

chunk_size = N // num_vcpus

tasks = [(i * chunk_size + 1, (i + 1) * chunk_size) for i in range(num_vcpus)]

When num_vcpus = 12, chunksize = 83333, and 12*chunk_size = 999996, therefore we don't check the last four numbers.

Re:Asking an LLM to build a simple web tool by genewitch on Friday July 19, 2024 @03:17AM (#41002797)
that's okay because that N=1000000 line wasn't part of the spec but at least allowed me to run it as is without loading the rest of the stuff i test.