News for hackers. Stuff that matters.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by mattmanser on Saturday March 01, 2025 @04:42PM (#43223995)
What do you define as a large project? Like TLOC?
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by johnisgood on Saturday March 01, 2025 @04:44PM (#43224013)
In my case the maximum was ~3k LOC.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by crooked-v on Saturday March 01, 2025 @07:43PM (#43225859)
That's not a "large" project, it's either a toy or a single-purpose tool.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by johnisgood on Sunday March 02, 2025 @02:47AM (#43228291)
A single-purpose tool, and libraries, yes.

What is the LOC of cgit? Because I made a lot of changes to it, too, albeit privately. I uploaded most files as project files.

Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by mvdtnz on Saturday March 01, 2025 @05:23PM (#43224359)
That's not just small, it's utterly miniscule. It's most certainly not large.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by johnisgood on Saturday March 01, 2025 @05:28PM (#43224421)
Depends. 3k is pretty much enough for a fully-featured XY.

So no context, and differences of the definition of "large".

Perhaps if you come from Java, then yeah.

shrugs

Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by magicalhippo on Saturday March 01, 2025 @07:31PM (#43225781)
I'd still call 3kLOC quite small in all mainstream languages.

I worked on a Python project which I'd consider as medium sized, ie not small but not large, and it was around 25kLOC.

My $dayjob is a Delphi codebase with roughly 500kLOC, which I'd say is large but not huge.

Though if you wrote it in something like K[1], then yeah ok, I'd agree 3kLOC probably counts as large.

[1]: https://en.wikipedia.org/wiki/K_(programming_language)

Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by mvdtnz on Sunday March 02, 2025 @12:06AM (#43227562)
I have spent my career working on software that measures its size in MLOC (millions of lines of code). Not because it's Java, but because it's big.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by ForTheKidz on Saturday March 01, 2025 @10:23PM (#43226904)
Nah this is miniscule: https://github.com/coreutils/coreutils/blob/master/src/yes.c

You can fit a hell of a lot of functionality in 3k statements. Really whether it's considered large or small necessarily must rely on the functionality it's intended to provide.

Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by stavros on Sunday March 02, 2025 @04:08AM (#43228697)
You're thinking on "lean" vs "bloated". "Large" and "small" have meanings of their own, and a 3k LOC project wouldn't be accepted as "large" by anyone. "Small", maybe.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by ForTheKidz on Sunday March 02, 2025 @09:17AM (#43230730)
I certainly never described 3k as large, so I'll assume you replied to the wrong comment. If not, let's just agree to use the terms differently.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by williamcotton on Saturday March 01, 2025 @08:20PM (#43226091)
This is 11,682 lines of C (and not including some Lua and Python scripts) according to cloc:

https://github.com/williamcotton/webdsl

It's a pipeline-based DSL for building web apps with SQL, Lua, jq and mustache templates.

I'd say it's like 90% Cursor Composer in Agent mode.

This is probably more like a mid-sized project, right?

Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by anonzzzies on Sunday March 02, 2025 @05:28AM (#43229084)
Quite nice that.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by anonzzzies on Sunday March 02, 2025 @05:31AM (#43229104)
I've done >100k LoC with Claude; by far most of that is frontend in react/ts which is incredibly verbose and wasteful, so very easy to pack up many many lines quickly without a lot (mostly none) of ROI per line. Which is probably why claude is great at it.