4 ms·
My favorite uses are: - Interactive debugging. Yesterday, for example, it helped me debug some tricky CSS issue where it gave hints and after 6 times back and
by huijzer 4y ago
My favorite uses are:
- Interactive debugging. Yesterday, for example, it helped me debug some tricky CSS issue where it gave hints and after 6 times back and forth, the solution came up. I had to explicitly set `-webkit-appearance: none` for styling sliders in WebKit browsers; this wasn't the case for Firefox.
- Checkout definitions. I have a small tool (https://github.com/rikhuijzer/ata https://github.com/rikhuijzer/ata) available on a keyboard shortcut and use it to quickly checkout definitions for words when I come across a word that I don't know.
- Writing jargon and suggesting edits. I let it write parts of my paper. ChatGPT is way better than me in adhering to the jargon of the field and also gives useful suggestions for small things that I should add and makes sentences easier to read.
- Refactoring. GitHub Copilot and ChatGPT are great at refactoring code between languages. Just give an example (one shot learning) of how some kind of long html text should be rewritten to markdown or a Rust struct and it will generally do pretty well. Saves a lot of Vim magic and/or typing.
- Having an assistant. As cliche as it may sound at this point, I actually agree that ChatGPT feels like an assistant which thinks with you and is there to fallback on.
> But I'm also interested in hearing about useful prompts that you use to increase your productivity.
Just like Greg demoed in the GPT-4 developer livestream, I just ask the question in the first paragraph and then throw in as much information as possible after that.