3 ms·
I should probably get around to actually using one of these things.
by vundercind 2y ago
I should probably get around to actually using one of these things.
- gadflyinyoureye 2y agoI’d love to see people going through a real world walk through using such things. Some people who do cookie cutter common tasks find that an LLM can produce their whole code base. But ask it to make a change and what happens?
- abdullin 2y agoThis is an example of my prompt to o1 a few days ago. First request produced refactoring suggestions. Second request (yes, I like results, implement them) produced multiple files that have just worked. —- Take a look at this code from my multi-mode (a la vim or old terminal apps) block-based content editor. I want to build on the keyboard interface and introduce a simple way to have simple commands with small popup. E.g. after doing "A" in "view" mode, show user a popup that expects H,T,I, or V. Or, after pressing "P" in view mode - show a small popup that has an text input waiting for the permission role for the page. Don't implement the changes, just think through how to extend existing code to make logic like that simple. Remember, I like simple code, I don't like spaghetti code and many small classes/files.
- falcolas 2y agoIME: I will either get a repeat of something already written (this happens all the time with java getter/setter boilerplate if the class isn't the one I'm currently working in), or I get some junior level attempt at what I ask it to do. The second case is the best case, and it still requires a code review with a fine toothed comb. For example, it loves to suggest plausible looking but non-existant methods on popular libraries. It's one of those things where a language aware autocomplete will often save me more time, because it doesn't try and second guess me.
- resters 2y agosometimes one must give it current docs to avoid that. Ironically gpt-4 always tries to use the old chat completions api when writing code to consume the open-ai api.
- JHonaker 2y agoI've been looking for such a walkthrough for months. I can't find anyone actually showing them working and building something. There are plenty of, "look at this code this thing spit out that successfully builds," but I've not been able to find anything I would consider truly showing someone building something novel. If anyone has a YT video or a detailed article, please show me!
- resters 2y agogive me an example of the kind of thing you are curious about how to build in this way, and I will give you a step by step.