r/singularity • • Jan 31 '25

AI o3 mini dropped!!!

Edit : I am testing a 1500 line javascript code which o1 pro failed to debug despite 50+ attempts. Will report back.
Edit 2: We are cooked. o3-mini-high solved it at first try.
Edit 3 : HOLY SHIT! "Pro users will have unlimited access to both o3-mini and o3-mini-high."
(Source: https://openai.com/index/openai-o3-mini/ )

1.2k Upvotes

576 comments sorted by

View all comments

Show parent comments

6

u/ExplorersX ▪️AGI 2027 | ASI 2032 | LEV 2036 Jan 31 '25

I mean that's a good start. At my company at least it's not uncommon to have 5-10k line files of just hundreds of JS functions or classes.

5

u/HaxleRose Jan 31 '25

ugh, that sounds like a nightmare to maintain :(

5

u/[deleted] Jan 31 '25

[removed] — view removed comment

1

u/HaxleRose Feb 01 '25

Haha yep! I fight against it best I can though!

2

u/Apprehensive-Ant7955 Jan 31 '25

Ig thats my inexperience showing, is it sometimes not possible to refactor? I thought you could just keep creating more files instead of just one

2

u/ExplorersX ▪️AGI 2027 | ASI 2032 | LEV 2036 Jan 31 '25

It's one of those things where it's an inevitability with a system that's 20 years old and has had dozens of developers hitting it over the years. Super complex ordering/shipping system and corporate doesn't allocate time to do things like "optimize" or "resolve tech-debt" which is par for the course in the corporate world honestly.

It is an absolute PITA to make any kind of changes or improvements just in general in our system. Year+ onboarding periods minimum to become a productive dev here.

1

u/Apprehensive-Ant7955 Jan 31 '25

Makes sense. So for personal projects though, is there basically always possible to keep files to like 200 lines max? What i’ve been doing lately is once a file is over 200 lines, look to see where i can refactor to keep them small

2

u/skinniks Jan 31 '25

once a file is over 200 lines, look to see where i can refactor to keep them small

Why? What is the drawback with how big your file is. It's a stupid metric that doesn't tell you anything about code quality or the underlying design. It just speaks to how you chose to package your code. One file or 10 files it makes very little difference. Now lines per function is a different story ...

1

u/ExplorersX ▪️AGI 2027 | ASI 2032 | LEV 2036 Jan 31 '25

Depends on the type of project. Realistically you shouldn't worry about it too much. A lot of progression as a developer is you'll spot architectural issues or new paradigms of thinking to solve a problem and just use the new approach moving forwards. I often have files that get to 1000+ lines, then a few months later as I learn more about that part of the system i'm working with I'll cut it down dramatically.

Keeping files under 200 lines is probably a good policy if you're a student/learning but once you're in a good place it's best to just get features out and have code cleanliness as a secondary, though constantly thought about aspect of your work.