3 ms·
Or just write it yourself?
by JCTheDenthog 3mo ago
Or just write it yourself?
- dukeyukey 3mo agoIf you already know what the inputs/outputs are, why should you spend days or weeks of your life typing it out rather than giving it in a well-specified and tested form to an LLM to get it done a hundred times faster?
- chasd00 3mo agoThis is a truth that many are having a hard time accepting. Getting shoved into the light so fast is blinding.
- anon7725 3mo agoWe understand what you’re claiming, we just think that you are wrong.
- dosisking 3mo agoBecause the LLM version will have countless number of bugs and security holes, which means you will spend weeks or months of your life fixing them.
- skydhash 3mo agoBecause it’s rarely so black and white. Knowing the inputs and outputs is merely the first steps, you need to think about the transitions too as they have their own costs. Those costs don’t disappear and it’s truly naive to think they don’t matter. Take security issues, they may arise because what you thinks was the input is merely a subset of the true input range. And the extra possibilities lead to unforeseen behavior. A lot of programming is about ensuring that the input and the output are the sets defined in the specs. And the rest is that the transition/relation is the right tradeoffs of performance, correctness, and costs.
- deleted 3mo ago[deleted]
- JCTheDenthog 3mo ago>rather than giving it in a well-specified and tested form So, code?
- xigoi 3mo agoThe behavior of an LLM is not and cannot be “well-specified”.
- Der_Einzige 3mo agotrumps voice wrong https://developers.openai.com/api/docs/guides/structured-outputs https://developers.openai.com/api/docs/guides/structured-out... https://github.com/guidance-ai/guidance https://github.com/guidance-ai/guidance https://github.com/noamgat/lm-format-enforcer https://github.com/noamgat/lm-format-enforcer https://github.com/mlc-ai/xgrammar https://github.com/mlc-ai/xgrammar https://github.com/dottxt-ai/outlines https://github.com/dottxt-ai/outlines
- JCTheDenthog 3mo agoLibraries like Guidance guarantee that the output of an LLM will be syntactically correct (i.e. it will be valid JSON or whatever output format you are wanting). They do not, and fundamentally cannot guarantee that the data contained in them is actually correct, and cannot make the actual behavior of the LLM "well-specified". Or, as you put it, trumps voice wrong.
- whehhshs 3mo agoBecause typing “code” takes time and significant amounts of it. We are slowly waking up to the fact, which was always true, that “coding” is just a fanciful preparatory task in order to appease the spirits properly so that we may invoke the spirit of what we are actually after: a live, running process that does useful things. Code is completely useless when separated from that fact. Typing it is a complete waste of time unless getting up close and personal with it will result in some kind of useful and actionable improvement in you or your understanding. Knowing when it does and when it does not have this property is a skill of its own.
- quacked 3mo ago> Typing it is a complete waste of time unless getting up close and personal with it will result in some kind of useful and actionable improvement in you or your understanding. I believe this is the general belief about basically every human skill, that if you stop doing the technical fundamentals you get worse at understanding the activity. The question is whether coding is like sailing a square-rigged wooden ship, which became completely useless knowledge after the invention of the steam engine, or if it's like playing an instrument, which while technically unnecessary after the advent of MIDI and other tools, absolutely hurts your ability to arrange, compose and perform if the skill is neglected. For my money: I think the AI scenario is more like the latter, but "humans are worse at coding" isn't the consequence I see coming. I worry that in ten years we will be awash in software that's impossible to understand. I don't think that's happened in any human industry ever. Someone has always understood how the machines are built, even if they're very remote from the users of the machine.
- taybin 3mo agoThe sci-fi novel A Fire in the Deep starts with describing a Software Archeologist, who digs through millennia of strata of layers of indirection and I think we could end up needing that one day.
- saltcured 3mo agoDo they end up determining that every weird piece of code they find must have been used for religious or ritualistic purposes?