News for hackers. Stuff that matters.
Re:GPT-4o by keiferski on Tuesday May 14, 2024 @03:50AM (#40352650)
I can’t even get GPT 4 to reliably take a list of data and put it in a CSV. It gets a problem every single time.

People read too many sci-fi books and then project their fantasies on to real-world technologies. This stuff is incredibly powerful and will have social effects, but it’s not going to replace every single job by next year.

Re:GPT-4o by mFixman on Tuesday May 14, 2024 @04:19AM (#40352807)
GPT-4 is better at planning than at executing.

Have you tried asking it to generate a regex to transform your list into a CSV?

Re:GPT-4o by Etherlord87 on Tuesday May 14, 2024 @08:07AM (#40354297)
I remember when people used to argue about regex being bad or good, with a lot of low quality regex introducing bugs in codebases.

Now we have devs asking AI to generate regex formulas and pasting it into code without much concern on its validity.

Re:GPT-4o by mFixman on Tuesday May 14, 2024 @08:10AM (#40354312)
Regexes are easy to test.

Bad developers do bad regexes, regardless of whether they used AI.

Re:GPT-4o by Etherlord87 on Tuesday May 14, 2024 @08:52AM (#40354679)
How do you test a regex to be 100% sure it's valid? I don't think it's possible.
Re:GPT-4o by eutropia on Tuesday May 14, 2024 @12:24PM (#40356922)
If it's using classical regex, without backtracking or other extensions, a regular expression is isomorphic to a state machine. You can enumerate combinations doing something like this: https://stackoverflow.com/a/1248566

kids these days and their lack of exposure to finite automata

Re:GPT-4o by Etherlord87 on Tuesday May 14, 2024 @06:16PM (#40360783)
- Vehicle steering is easy to test.

- How so? I don't think it's possible to test for all cases...

- Well, it's easy, assuming a car on a non-branching track, moving with a constant speed and without any realistic external influences on it, you can simply calculate the distance traveled using the formula s = v/t. Ah, I wish I'd stop running into fools not knowing Newton's first law of motion...

- ??? Are you well?

Re:GPT-4o by loamaa on Wednesday May 15, 2024 @03:09PM (#40371041)
I understand you want to refute/diminish the parent comment on finite automata, but I think you are providing a straw man argument. The parent comment does provide an interesting, factual statement. I don't believe finite state automata are at all close in complexity to real-world self-driving car systems (or even a portion thereof). Your closing statement is also dismissive and unconstructive.

I believe finite state modeling is used at NASA, A google search brings up a few references (that I'm probably not qualified to speak to), and I also remember hearing/reading a lecture on how they use them to make completely verifiable programs but can't find the exact one at the moment.

Re:GPT-4o by Etherlord87 on Thursday May 16, 2024 @10:08AM (#40378682)
I wasn't making a strawman, I was making a parody of his strawman. I thought it's obvious, since I was making an analogy, and it was an analogy to his argument.
Re:GPT-4o by eutropia on Wednesday May 15, 2024 @06:33PM (#40373213)
I should have been more clear perhaps: many regexes are capable of being verified with 100% certainty: https://en.m.wikipedia.org/wiki/Thompson%27s_construction

But not all regexes (eg, those using PCRE extensions afaik) are amenable to such a treatment. Those you just tend to hope they work.

Re:GPT-4o by fkyoureadthedoc on Tuesday May 14, 2024 @09:11AM (#40354862)
True for most things I think
Re:GPT-4o by spurgu on Tuesday May 14, 2024 @06:41PM (#40360985)
Aren't you asking how to create software without bugs?
Re:GPT-4o by Etherlord87 on Wednesday May 15, 2024 @04:50AM (#40364587)
Well regex isn't Turing-complete, so it's not exactly an analysis of a program. You could reason about regex, about tokens, then describe them in a way that satisfies the specification, but theorizing like this is exactly opposite to "simple" - it would be so much harder than just learning regex. So stating that testing regex is simple is just bs. The author later confirms he is a bullshitter by his follow-up...
Re:GPT-4o by keiferski on Tuesday May 14, 2024 @04:49AM (#40352969)
No, I’ll give that a shot. I have just been asking it to convert output into a CSV, which used to work somewhat well. It stumbles when there is more complexity though.
Re:GPT-4o by kohlerm on Tuesday May 14, 2024 @05:32AM (#40353248)
Humans also stumble with that as well. Problems being CSV not really being that well defined and it is not clear to people how quoting needs to be done. The training set might not contain enough complex examples (newlines in values?)
Re:GPT-4o by keiferski on Tuesday May 14, 2024 @05:57AM (#40353409)
No, the data is very well defined. For example, “name, date of birth, key ideas,” etc.

The issue is with ChatGPT formatting a file.

Re:GPT-4o by porksoda on Tuesday May 14, 2024 @07:38AM (#40354063)
Even if you get it to work 100% of the time, it will only be 99.something%. That's just not what it's for I guess. I pushed a few million items through it for classification a while back and the creative ways it found to sometimes screwup, astounded me.
Re:GPT-4o by keiferski on Tuesday May 14, 2024 @08:11AM (#40354325)
Yeah and that's why I'm skeptical of the idea that AI tools will just replace people, in toto. Someone has to ultimately be responsible for the data, and "the AI said it was true" isn't going to hold up as an excuse. They will minimize and replace certain types of work, though, like generic illustrations.
Re:GPT-4o by pixl97 on Tuesday May 14, 2024 @10:32AM (#40355621)
Do you even work with humans now? I get "Computer says no" out of corporations all the time as it is, AI is just completing that loop.
Re:GPT-4o by jodrellblank on Tuesday May 14, 2024 @10:43AM (#40355737)
> "Someone has to ultimately be responsible for the data"

All you have to do is survive long enough as an unemployed criminal until the system gets round to exonerating you:

https://en.wikipedia.org/wiki/British_Post_Office_scandal

"The British Post Office scandal, also called the Horizon IT scandal, involved Post Office Limited pursuing thousands of innocent subpostmasters for shortfalls in their accounts, which had in fact been caused by faults in Horizon, accounting software developed and maintained by Fujitsu. Between 1999 and 2015, more than 900 subpostmasters were convicted of theft, fraud and false accounting based on faulty Horizon data, with about 700 of these prosecutions carried out by the Post Office. Other subpostmasters were prosecuted but not convicted, forced to cover Horizon shortfalls with their own money, or had their contracts terminated. The court cases, criminal convictions, imprisonments, loss of livelihoods and homes, debts and bankruptcies, took a heavy toll on the victims and their families, leading to stress, illness, family breakdown, and at least four suicides. In 2024, Prime Minister Rishi Sunak described the scandal as one of the greatest miscarriages of justice in British history.

Although many subpostmasters had reported problems with the new software, and Fujitsu was aware that Horizon contained software bugs as early as 1999, the Post Office insisted that Horizon was robust and failed to disclose knowledge of the faults in the system during criminal and civil cases.

[...]

challenge their convictions in the courts and, in 2020, led to the government establishing an independent inquiry into the scandal. This was upgraded into a statutory public inquiry the following year. As of May 2024, the public inquiry is ongoing and the Metropolitan Police are investigating executives from the Post Office and its software provider, Fujitsu.

Courts began to quash convictions from December 2020. By February 2024, 100 of the subpostmasters' convictions had been overturned. Those wrongfully convicted became eligible for compensation, as did more than 2,750 subpostmasters who had been affected by the scandal but had not been convicted."