5 ms·
Can anyone recommend some more articles about this ? Specifically, using chatgpt to write code? The more in depth, the better.
by bulldog13 4y ago
Can anyone recommend some more articles about this ? Specifically, using chatgpt to write code? The more in depth, the better.
- nilsbunger 4y agoAsk ChatGPT! It can write one for you :)
- mbil 4y agoNot ChatGPT, but this article[0] (which was on HN earlier this year[1]) goes through building a small game in JS using OpenAI Codex. [0]: https://www.shawnmatthewcrawford.com/balloons-the-balloon-clicker-game.html https://www.shawnmatthewcrawford.com/balloons-the-balloon-cl... [1]: https://news.ycombinator.com/item?id=31211280 https://news.ycombinator.com/item?id=31211280
- hmsimha 4y agoThis isn't an article, but I used ChatGPT to make a Hacker News extension (which I'm now using), that highlights new comments when I navigate to a thread I've already visited: https://github.com/HartS/gpt-hacker-news-extension https://github.com/HartS/gpt-hacker-news-extension Each commit here contains my prompt in the commit message, and the changed code was entirely provided by ChatGPT. I also appended its output (including explanations) verbatim to the gpt-output file in each commit. So with each commit, you can see what I prompted it (the commit message), what it responded with (the change in the commit to that log file), and the code that I changed as a result of its response (all other changes in the repo). In actual use of the extension (if you want to use it), I changed the "yellow" background-color to "rgba(128,255,128,0.3)" (a light green color), but I did that change myself because I didn't think I'd be able to get it to pick a colour that looks good for HN
- bulldog13 4y agoWow man, this is amazing, thank you for responding!