[HN Gopher] Asking an LLM to build a simple web tool
       ___________________________________________________________________
        
       Asking an LLM to build a simple web tool
        
       Author : ingve
       Score  : 17 points
       Date   : 2024-07-10 05:32 UTC (17 hours ago)
        
 (HTM) web link (eli.thegreenplace.net)
 (TXT) w3m dump (eli.thegreenplace.net)
        
       | didgeoridoo wrote:
       | Claude 3.5 is an absolute revelation. Its writing is very
       | humanlike, and the new "artifacts" window is a fantastic UX
       | improvement. It has completely replaced GPT-4o for me in every
       | use case.
        
         | indigodaddy wrote:
         | How/where can you use it for free? Code editor plugins etc too?
        
           | didgeoridoo wrote:
           | I don't. I canceled my OpenAI subscription and shifted that
           | $20/mo over to Anthropic.
        
           | lgas wrote:
           | Right at https://claude.ai/
        
         | genewitch wrote:
         | can you ask claude to build a python program that uses multiple
         | processes/threads to check the collatz conjecture for N
         | numbers, where N is however many "vCPU" you want to use; and
         | paste that somewhere?
         | 
         | It doesn't even need to do the timestamping/benchmarking that
         | my singlethreaded does, but i couldn't make 4o nor any local
         | LLM give code that gave correct output when run. This is by far
         | the most trivial and easily checked thing i can personally
         | verify.
        
           | lgas wrote:
           | https://claude.site/artifacts/e38182c3-840a-44ae-
           | bc5a-8c2bb7...
           | 
           | Output:                   % python /tmp/collatz.py
           | Number of vCPUs available: 12         Checked Collatz
           | conjecture for numbers 1 to 1000000         Number with
           | longest sequence: 837799         Length of longest sequence:
           | 525         Time taken: 2.08 seconds         python
           | /tmp/collatz.py  19.47s user 0.41s system 728% cpu 2.731
           | total
        
             | genewitch wrote:
             | 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
        
             | reducesuffering wrote:
             | Now consider that 99.9% of humans can't do this, and
             | combine that with the model trajectory and you have a very
             | concerning next 5 years...
        
       | agmater wrote:
       | > The results are still not perfect in terms of alignment and
       | space, but they're good enough.
       | 
       | CSS frameworks come in very useful for this, ask it to generate
       | Bulma or Bootstrap valid markup.
        
       ___________________________________________________________________
       (page generated 2024-07-10 23:02 UTC)