5 ms·
The problem with these claims is that you can't really quantify a "10x" change. I have found a lot of emergent benefits to using LLMs. For example, because my c
by larve 3y ago
The problem with these claims is that you can't really quantify a "10x" change. I have found a lot of emergent benefits to using LLMs. For example, because my cognitive load of wrangling APIs and understanding and refactoring legacy code and all the other nonsense of my day to day can be so heavily delegated, I actually feel refreshed at the end of the day, and can bang out a decently chunked feature on my opensource software on the couch (admittedly also boilerplate heavy code).
This means that I went from 0 opensource commits to 4000 since chatgpt came out.
Not just that, but I've gotten not only more adventurous, but have the time to consider doing drastic refactors and spend much more time thinking about my software.
I won't call it 10x or 100x, because that wouldn't mean anything, but surely it is a paradigm shift for me, completely world changing.
- pm_me_your_quan 3y agoI'd be really curious if you're willing to expand more on how it has helped with those workflows. Do you copy/paste chunks in and ask it to explain them? Have it try to refactor them and then clean up?
- larve 3y agoFor legacy code: - generate comments (hit or miss, but at least it can rewrite my random notes into consistent notes) - generate type annotations - refactor "broadly" (say, "rename all variables to match the following style" or "turn this class into a dataclass like XXX" or "transform the SQL queries into builder queries using XYZ"). Often requires some manual work but it gets a lot of tedious stuff out of the way - reverse-engineer clean API specs by just pasting in recorded HTTP logs - clean up logs into proper enums by generating the regexps - write CLI tools to probe the system (say, CLI tool to exercise the APIs mentioned above) - generate synthetic test data - transform HTML garbage into using a modern component system / react - transform legacy react/js into consistent redux actions - generate SQL queries at the speed of mouth I could go on forever...
- kjkjadksj 3y agoAre you testing chatgpts output in any way? I’ve considered using it for tasks but after hearing all the talk of how it can write good looking code that ends up not working as you might expect, I started wondering if the time savings from generating that block are wasted from interpreting and testing.
- simonw 3y agoI have access to ChatGPT Code Interpreter mode, where it can both write Python and then execute it. I use that to write code all the time, because ChatGPT can write the code, run it, get an error, then re-write the code to address the error. Here are two recent transcripts whereI used it in this way: - https://chat.openai.com/share/b062955d-3601-4051-b6d9-80cef9228233 https://chat.openai.com/share/b062955d-3601-4051-b6d9-80cef9... - https://chat.openai.com/share/b9873d04-5978-489f-8c6b-4b948db7724d https://chat.openai.com/share/b9873d04-5978-489f-8c6b-4b948d...
- aleph_minus_one 3y ago> - generate SQL queries at the speed of mouth Because of the points this is the nearest to the work that some colleagues do, I anakyze this point (but you could ask similar questions about many of the other points): In my experience, writing correct SQL queries (which often tend to be quite non-trivial because of the internal complexity of the projects) typically involves a lot of knowledge about the whole system that my colleagues and I work on. Even if I could copy-paste this information, written down once, into the AI chat window: - I seriously doubt that any of these AI chat bots would be able to generate a remotely decent SQL query based on this information, if only because these SQL queries look really different from what you would see in typical CRUD web applications (for a very instructive example think into the direction of ETL for unifying historically separated lines of business where you often have lots of discussions with the respective colleagues to clear up very subtle details what the code is actually supposed to do in some strange boundary cases that exist because of some historical reasons (which one wants to get rid of)) - even explaining what the SQL query is supposed to do would in my opinion take more time than simply writing it down. Even ignoring the previous point: it is very typical that explaining in sufficient detail what the code is supposed to do would take far more time than simply writing it. A lot of programming work is not writing some scaffolding of some CRUD app or implementing a textbook algorithm.
- dontupvoteme 3y agoSide projects are also where I found it invaluable. I'm spending most of my time thinking about actual problems in linguistics and language rather than how to setup an NLTK pipeline or docker image for your own wikimedia database or what not I never heard of type hints before but ironically I use them on everything now, since it's easier to lint.