Ask HN: How did ChatGPT4 blew your mind lately?
51–55 of 55 posts
It blew my mind when I gave it a TypeScript function with multiple nested awaits, all tangled up into a chain of multiple `map` calls. A comment I wrote above it was “TODO refactor this monstrosity.” It was clever enough to split it into a main function and multiple utils. And it added JSDocs. The result passed my existing tests immediately.
Re: Ask HN: How did ChatGPT4 blew your mind lately?
#52Re: Ask HN: How did ChatGPT4 blew your mind lately?
#53I was testing the pixie observability tool for an internal PoC. It has only Go and Python client libraries. I asked Bing AI, how to the call the API in Java. It made up an fake Java client library and gave instructions for adding maven dependency. When prompted further, it gave some sample code as well.
Re: Ask HN: How did ChatGPT4 blew your mind lately?
#54Re: Ask HN: How did ChatGPT4 blew your mind lately?
#55I asked it to draft a legal document based on some bullet points and it created it, in a different language, in keeping with the legal norms of that country. I sent it to a local lawyer for review and they only came back with very minor things. Did the reverse with some regulatory documents too, asking it to summarise in vernacular then asking specific questions to better wrap my head around the docs. I wouldn't trus…
Out of curiosity, are you able to disclose the very minor things? You don't have to use the real terms etc., anonymised are good enough :)
Sure, it was to specifically mention the account numbers and banks involved in some edge cases instead of saying something more general like "transfer to the bank account of person x".