5 ms·
I do one-off text transformations that not worth writing a script for. Eg. paste a bunch of unformatted data and format them in json, find patterns in huge text
by zff 3y ago
I do one-off text transformations that not worth writing a script for. Eg. paste a bunch of unformatted data and format them in json, find patterns in huge text etc.
- crims0n 3y agoInteresting, never considered this before but now want to give it a try.
- MPSimmons 3y ago> find patterns in huge text etc. Oooooh that's interesting. Can you tell me more about what kind of stuff you use it to find?
- hardwarephreak 3y agointerested also!
- cudder 3y agoThis is the best use I've found so far as well, which is a bit disappointing for something that many hyped to be so revolutionary. It's handy, but sadly not a major paradigm shift. Translating between (natural) languages is another nice one. You can throw in json structures or fluent files or what have you and most of the time have it come out with pretty good translations that are formatted correctly.
- sharemywin 3y agoI've used to take a giant json file and help me get a handle of the scheme. it wouldn't all fit in the window so I just cut some of it out. I also used to take a chunk of html and replace all the class names and src urls with ... I also had a list of 300 codes that kind of had semantic names and it was able to build me a table that mapped to a second list of about 20(code, descriptions).
- erhserhdfd 3y agoAgreed. For example, I recently had an auto-generated SQL query that I needed to debug. It was formatted on one line and was impossible to read. I asked GPT-4 to clean up the query and it gave me something that was much easier to consume. I definitely could have written some script for this or tried to find another tool, but it took me 20 seconds to just ask GPT-4 and get a reasonable result.
- purerandomness 3y agoDid you ask GPT to do any transformation beyond what any IDE's "Format code" feature would do?
- erhserhdfd 3y agoYeah it actually gave me comments summarizing fields from related tables using shortened more readable table names
- praveen4463 3y agofind patterns in huge text, such as parsing unstructured data? Or say, finding unique ip addresses from a large server log file or so?