4 ms·
Please, please, reference the tasks or chats that were especially impressive. For example, trying to get chat gpt to do something very simple for my work, like
by blharr 3y ago
Please, please, reference the tasks or chats that were especially impressive.
For example, trying to get chat gpt to do something very simple for my work, like implementing a convolution it took me in circles and circles.
It gets the general idea right, sure. But it actually makes significant minor errors that ended up being more confusing than helpful.
- adamhp 3y agoYesterday I asked it to generate i18n translations in a dozen languages for a few words in my app, in a specific syntax for React Native localization support. I have a pretty simple app I'm building with a few UIs, so only needed to translate a few words, but I basically just made my app shippable to a dozen other languages with a simple ask to ChatGPT. I'm not really an evangelist. It suits specific use cases well, and does require some learning and some engineering. I think people are expecting to say "Solve this very complex problem for me by yourself" and giving it a terrible prompt and then blaming it. It requires the same level of creativity that programming does. You have to think about what to ask it, and it what way. Once you get the hang of that, it's pretty powerful. In my example I said "I'm trying to translate my React Native app into multiple languages. I need an object that looks like this: <example JS code>. Can you generate this object for French, German, <insert more languages>, and for the following words: <words I needed>." Luckily I know basics in a few languages and the words were simple enough that I could easily verify it wasn't a hallucination. I also know enough JavaScript to know that it was syntactically sound, but my IDE would've told me if it wasn't.
- p1esk 3y agoI asked GPT-4 to implement a convolution layer in Numpy, including backpropagation. It produced correct, working code within ~15 minutes of prompting. Are you sure you used GPT-4?
- blharr 3y agoHere's an example recreation. https://chat.openai.com/share/b80aa985-0d88-4cf3-8c87-c2047f2fbd4b https://chat.openai.com/share/b80aa985-0d88-4cf3-8c87-c2047f... I admittedly give it a vague question "where the signals overlap" In context of the original thing I was trying to do, I was filtering a receive signal and trying to remove the delay from the convolution
- wenc 3y agoGive me your prompt. I'll paste the output from ChatGPT4.
- com2kid 3y agoI had some code that I figured had a concurrency bug in it, but I wasn't sure. I pasted it to GPT4, said "I think this code has a concurrency issue, can you find it for me?" and sure enough, it told me what line of code was causing the issue. It is also great for doing things that I don't do often. For example, I almost never write bash scripts (like once or twice a year). Now days I just use gpt4 to write the script for me. For example a couple days ago I needed to walk through a folder full of files and pass them one by one into another program, and if that call was successful, append the processed file to a list of files that had been successfully processed. Trivial, but again, I never write bash scripts. GPT4 had it up and running in a few seconds. I can throw a file at GPT4 and ask it to create mocks for my objects so I can go ahead and start writing unit tests. Awhile back I had setup a new express server, but after I added my CORS config everything stopped working. I spent an hour debugging, no luck. I asked GPT4 what the issue was, and it noticed I had defined CORS on the wrong line (after I had started my server up). Oops. GPT4 is also great at coming up with sample command line options for utilities. Sometimes good examples in man pages exist, sometimes they don't. Honestly, I don't use GPT4 as much as I should!