3 ms·
I've just spent a 4-5 hours session with ChatGPT trying to fix a problem with `aiohttp`. The specific problem was what while I'm in a WebSocket handler, I cann
by qwertox 4y ago
I've just spent a 4-5 hours session with ChatGPT trying to fix a problem with `aiohttp`.
The specific problem was what while I'm in a WebSocket handler, I cannot await on asynchronous generators which act like `asyncio.sleep()` and send messages to the client while I have `heartbeat` on that `WebSocketResponse` enabled (it sends pings to the client and waits for pongs to see if the connection is "alive"). The issue is that the incoming pong is not getting processed so the client gets disconnected.
I struggled a lot with ChatGPT's help, but it was mostly insightful, like rubberducking with a duck that does actually try to help you.
Occasionally I went to Google to search for a very specific way of solving the issue; for me Google is the gateway to Stack Overflow, I never use Stack Overflow's search.
But I didn't find anything of value there. And earlier today I noticed that I had unread messages in Stack Overflow, and when I checked how many consecutive days I have been on SO: 1. I used to be 100+ consecutive days on SO and lately I'm struggling with using it as the to-go place for my programming questions.
And this is where your comment comes in: I was thinking to myself what is going to happen if more people move away from Stack Overflow, that place is a goldmine of programming information, who will feed it?
One thing I really hope is that OpenAI adds some "modes", like what were poised to expect from Copilot X, where we get different layouts for the webpage, so that we can choose a "programmer mode" which actually lets us give proper feedback in the sense that "this code worked", "that one didn't".
There's already a feedback, but it's not task-oriented. A programmer can submit to it as well as a cook, the result won't go into a "database of usable code" which ideally would be publicly accessible or even get formed into a Question/Answer pair which is prepared to be submitted to Stack Overflow.
- mirekrusin 4y agoIt may become a norm to write AI QAs instead of docs for projects. Maybe similar to sitemaps for web scrapers. But even this will not be necessary at some point. Stack Overflow will degrade to single search box. And we'll all love it.