BenLloydPearson
It’s terribly sad when such great minds are taken relatively early from such horrible diseases.
He seems like someone who always made the best of any situation. After a stint in prison, I’m sure he just wanted to keep doing his best, which led him towards things that weren’t as controversial. Either way, we all have plenty to learn from his works.
I’ve found that you need to be very careful when asking it to modify things it produced directly without making significant changes to the regex it provides. Once I get to the 3rd or 4th iteration of asking it to modify previous responses I’ve found the likelihood that it starts hallucinating to increase dramatically. The best solution I’ve found to this is to put your entire request in a single prompt that walks it through all requirements step-by-step.
I often need to deal with half a dozen different programming languages in any day/week and the context switching can be difficult at times. When you’ve spent all day switching between JavaScript, Python, and YAML and suddenly need to draft some Regex, tools like ChatGPT can help immensely at reducing the mental burden of switching gears.
I typically try 3.5 first and switch to 4 if the results aren’t great. 3.5 typically handles basic use cases quite well, for example, writing regex that detects jira ticket naming nomenclature. For more complex things, I go to 4.
It sometimes gets things wrong, but I’ve also found that just saying “that didn’t work” gets it to reevaluate for more complex situations
I agree with this, and I think it may be fairly easy to catch most of this with some simple conventions:
- If the post is primarily about a specific language, it belongs in that respective community.
- Posts about frameworks, libraries, tools, etc. should either go to their respective communities, or if none exists, the nearest language community.
This would create some gray area for things like the last link in your list, but it should catch the majority of problems. I wonder if this could be resolved with a (new?) Q&A community for people to ask questions that are specific to their situation. That would enable c/programming to focus more on conversational topics.