3 ms·
So, basically, someone's broken regex can be a viable business model. Pretty crazy.
by isoprophlex 3y ago
So, basically, someone's broken regex can be a viable business model. Pretty crazy.
- pksebben 3y agoyou mean, someone's broken regetwitter
- giancarlostoro 3y ago“Now you have two problems”
- ben_w 3y ago"OK, what about using AI to solve this?" https://benwheatley.github.io/blog/2022/12/13-20.26.24.html https://benwheatley.github.io/blog/2022/12/13-20.26.24.html
- arp242 3y agoThe regexp example on https://sourcegraph.com/cody https://sourcegraph.com/cody has been broken for months (scroll down a bit, second block). Also not a regexp problem and easier solved without regexps. Please, no one tell them. It's funnier the longer it goes on. It's been like this since at least October (I told a friend on Telegram this), but it had already been like this for some months by then.
- ben_w 3y agoIndeed. Extra fun, I asked gpt-4-0125-preview *: Explain this regex: [a-zA-Z0-9\.\-]+\.([a-zA-Z]{r,63}) And part of the explanation was to fix the bug. Well, almost, it removed the () in the process, but it did know what was wrong. When your AI's error can be explained by someone else's AI… * Why this model? Because the https://chat.openai.com https://chat.openai.com is currently throwing me the error: "You've reached the current usage cap for GPT-4. You can continue with the default model now, or try again later. Learn more" even though I've selected 3.5 in the popup, and my earlier attempt to use ChatGPT to give myself a PAYG chat interface to all the models was done when gpt-4-0125-preview was the best one available. https://benwheatley.github.io/YetAnotherChatUI/ https://benwheatley.github.io/YetAnotherChatUI/
- jdorfman 3y agoYour secret is safe with me.
- deleted 3y ago[deleted]
- jjice 3y agoSomeone seriously did a s/twitter/x/g seemingly (or the raw string replace equivalent). Maybe there are more requirements here, but it seems like just parsing a URL and checking for `twitter.com` and some other literal domains instead of sub strings would have been completely fine.