che2n schrieb am Donnerstag, 22. Dezember 2022 um 00:48:33 UTC+1:
I have asked it to write snmp ber parser function. I told it to get hex string as input. On the first try it only tried to parse small portion of snmp value types. Then i asked to display all the types and after this to implement all the missing code.
It did a great job. Only minor error was in how it interpreted hex string. It was saving 1 char in the variable called byte1. I told it that 1 char is 4 bits and it should get 2 hex characters from the string. After this code worked but return values
were hex strings. Just to test it more, I asked it to write parser for the type object identifier and it did it without major problems.
I also asked it to implement force-directed graph layout algorithm and it did. I tried to test how it would comment my existing code and it did really fascinating job. For example there is one line were i make binding of configure to canvas with
command redraw and it understood and commented that this binding was used when windows was resized to redraw data. I have also asked many other questions about Tcl or how to make tcl extension in C. As I found out it doesn't understand much about tcl oo.
Most of the code it returned was pure nonsense.
tldr I think it works and have its use cases. Im really fascinated with chatgpt, i have spent much time asking it many other topics and for me it was really a different experience. So this is my humble opinion and after many interactions maybe im just
biased.
Wow, I only trie a few simple things. I wouldn't have thougth, that it performs so good with your things.
Thank you for the feedback.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)