News for hackers. Stuff that matters.
Re:Placing #1 in Advent of Code with GPT-3 by weatherlite on Sunday December 04, 2022 @07:38AM (#33853128)
> here’s 10k lines and a stack trace

Ah must be a Spring application ...

Re:Placing #1 in Advent of Code with GPT-3 by capableweb on Sunday December 04, 2022 @08:27AM (#33853525)
Yup, if it's >10k lines, MUST be a Spring application. Unfortunate they didn't write it in Rust that promises 100% correct programs (within Rust-accepted definition of "Correct" and "bug-free") solving any problem but always under 10k lines, that's the Rust guarantee.
Re:Placing #1 in Advent of Code with GPT-3 by danpalmer on Monday December 05, 2022 @04:44AM (#33863437)
Why?

This seems like the lowest number that would be useful. Below that it's not really a problem to debug, but at that point there's typically enough complexity that some help would be useful as you forget edge cases and features in the codebase.

For demonstration purposes doing it with 100 lines might be ok, but for professional use it kinda needs to understand quite a lot! Like a minimum of that order of magnitude, but potentially millions of lines.

FWIW, I've never used Spring. My experience is mostly Django, iOS, non-Spring Java, and some Android.