Earlier quoted context omitted.
Of course your tests shouldn't be sensitive to external state. Why would other tests running affect your test?
They shouldn't. But they do. We're not perfectly spherical developers and we all make mistakes. Sometimes it's also extremely tricky to figure out what state is leaking, especially is it's an access race issue and happens only for some tests and very rarely. If you haven't seen that happening, you just need to work on larger projects.
A ChatGPT mistake cost us $10k
481–490 of 526 posts
Re: A ChatGPT mistake cost us $10k
#482Edit: the entire subdomain gives a 404 actually.
Re: A ChatGPT mistake cost us $10k
#483Earlier quoted context omitted.
That is indeed a weakness of chatgpt - it's not so good with super current information That is because it is only trained on info up to a certain date It's good to know what tools are good and bad at
ummm chatGPT is very slowly becoming mainstream... for to become fully such no user and or prospective user cares about it's limitations .. it needs to work like previous similar technologies do like Siri and Alexa. User experience is utmost important without it Apple wouldnt be apple and chatGPT as it's current trajectory is going looks to become as big as the current biggies. Thus everyone including parents/grandpa…
Chatgpt can do many things that siri and alexa cannot: draft emails, write code, write unit tests, help me brainstorm, give me cooking recipes, or even talk about relationship issues. Every tool has strengths and weaknesses
Re: A ChatGPT mistake cost us $10k
#484Thanks for telling. Bookmarked for the next time we're told ChatGPT's code error rate is acceptable because we review its code just like an intern's.
Honestly I'm not sure why ChatGPT has anything to do with this problem. I remember making the exact same mistake (accidentally using a single function call in a schema) back in 2010. No LLMs required. The bigger culprit is probably a lack of testing / debugging. This error would immediately get caught if you simply registered twice on a test instance.
So /that's/ where ChatGPT learned it! :)
Re: A ChatGPT mistake cost us $10k
#485Earlier quoted context omitted.
Honestly I'm not sure why ChatGPT has anything to do with this problem. I remember making the exact same mistake (accidentally using a single function call in a schema) back in 2010. No LLMs required. The bigger culprit is probably a lack of testing / debugging. This error would immediately get caught if you simply registered twice on a test instance.
In a world where this entire codebase wasn't generated by ChatGPT, you'd have engineers familiar with the various parts of the system to quickly identify and fix the problem. Testing and debugging isn't just a matter of stepping through code, it's an exercise of seeing where your mental model of the codebase is faulty versus the current reality of it. I've encountered similar problems and they'd be fixed in a matter…
I wonder why this victim didn't ask ChatGPT to identify and fix the problem...
Re: A ChatGPT mistake cost us $10k
#486Earlier quoted context omitted.
In a world where this entire codebase wasn't generated by ChatGPT, you'd have engineers familiar with the various parts of the system to quickly identify and fix the problem. Testing and debugging isn't just a matter of stepping through code, it's an exercise of seeing where your mental model of the codebase is faulty versus the current reality of it. I've encountered similar problems and they'd be fixed in a matter…
Yes I don't understand the perceived benefits of re-writing the code in Python/FastAPI if none of them know Python/FastAPI.
Re: A ChatGPT mistake cost us $10k
#487Thanks for telling. Bookmarked for the next time we're told ChatGPT's code error rate is acceptable because we review its code just like an intern's.
Your take-away is that this is ChatGPT's fault rather than a failure of testing?
Re: A ChatGPT mistake cost us $10k
#488Adding monitoring is the last thing you think about when pushing out a prototype, and it's easy to forget that a "prototype that no one will probably use" could cost thousands with accidental infinite loops and bugs like these.
Always set your spending limits!
Re: A ChatGPT mistake cost us $10k
#489No, a lack of monitoring cost you $10K. Your app was throwing a database exception and nobody was alerted that this was not only happening, but happening continuously and in large volumes. Such an alert would have made this a 5-minute investigation rather than 5 days. If you haven't fixed that alerting deficiency, then you haven't really fixed anything.
Re: A ChatGPT mistake cost us $10k
#490Earlier quoted context omitted.
Because they have half a million dollar to star with and 1.2 million dollars on top and then free AWS credits to burn.
They even said as much in TFA - "[...] overkill, yes we know, but to be fair we had AWS credits". Fully acknowledging the irony I am about to invoke - this is why I hate startup culture. Not startups, but this ridiculous culture of "well the VC gave us a million bucks and that bought us $100,000 in AWS credits, so let's just use it." As someone who has built my company fully on my own dime (and the dimes of two colle…
But then the whole startup culture is generally speaking, a culture of waste, pride and vanity.