Remix.run Logo
▲ pighive 3 hours ago

How is it wrong with using AI to build something when it is ok to use IDEs?

▲dijit 2 hours ago | parent | next [-]

IDEs are deterministic.

The better argument is compilers as they do “magic” stuff, but they are still largely deterministic.

▲Eridrus 2 hours ago | parent | next [-]

I'm pretty sure nobody is going to be upset about randomized algorithms in compilers.

Postgres uses genetic algos for join order optimization at a certain scale and nobody is upset by that.

▲dijit 2 hours ago | parent [-]

Thankfully postgres is something I know a lot about, so I can speak with some competence.

Genettic algorithms do rely on randomness, but it's pseudorandom, and Postgres seeds GEQO from `geqo_seed` (which defaults to 0).

So the same query, with the same stats, same settings: becomes the same plan.

“Randomised”, yeah, but totally reproducible.

That's the property people actually care about in compilers too btw.

▲vlovich123 2 hours ago | parent [-]

That’s a property AI does too so I’m not sure that’s a valid counter. You lose this property in practice due to batching but that’s also true with a real postgres database under concurrent load where you can’t control the ordering of reading from the prng.

▲dijit an hour ago | parent [-]

[dead]

▲panarky an hour ago | parent | prev [-]

Please cite where in [holy book of choice] it states that stochasticity is inherently evil.

▲dijit an hour ago | parent [-]

[dead]

▲kelnos 2 hours ago | parent | prev [-]

If you think that a human typing code into an IDE is at all analogous to an LLM building something, I'm not sure what to tell you. Either you're trolling, or you genuinely do not understand anything about this topic.

▲WillPostForFood an hour ago | parent [-]

He is noting that you often aren't typing code into an IDE, you are watching the IDE auto-complete.