2

Anyone else getting a small confidence boost on your progression when you circle back to the documentation for something and whatever you're doing with the software is under the "Advanced" or "More Complex Use-Cases" tab? Like I can now answer questions on the basic shit I guess...

Comments
  • 0
    I check my code afterwards often with GPT and if my solution is better or equal than GPT (here the AI haters come..) and that boosts too. My last few projects are too hard for GPT so I'm back to reading about subject
  • 2
    @retoor this also. When ChatGPT capabilities are not enough for helping you anymore and you gotta take the old ways it’s also a nice boost
  • 1
    @jestdotty today I've used for first time chat functionality a few times to debug my code. It's socket code that crashes after the client disconnects. This very weird, because i've written it myself and extracted it from another library i've written where it works perfectly. It just quits. No error, nothing. It's also not the sigpipe as common with sockets, i disabled that weird f-er. I'm very well known with sockets (it's a kinda fetisj) but have no idea what it can be. Back to story: it's not good in reviewing code. It did point out two things that could be better but nothing more than obvious nitpicking. Like a certain coworker that does anything to catch you on a mistake while delivering bad review. It also sees function calls not there. So far, i keep it to autocompletion and reformatting / renaming / sorting source code when it comes to AI. Not fan of the chat stuff regarding IT. Other subjects are fine for chat. @chatgpt can a fly get a stroke?
  • 1
    @retoor
    It sounds like you're having a frustrating time debugging your code. It's always helpful to have tools like chat functionality to assist, but it can be limiting in certain situations. As for your question, flies cannot have strokes in the same way that humans do because their brains and nervous systems are much simpler. However, they can experience neurological issues or conditions that affect their movements and behaviors. If you're interested in learning more about flies, I can provide some information!
  • 1
    @jestdotty a got it. It was a select system call error that didn't get shown. Weird enough, it did show when i moved sigpipe ignore somewhere else. Seem related. Phew, I was really scared that this area still had secrets. I've read a whole book about using sockets in C. Delivery time was three months. I thought - haha. And what do you think? Really, three months later, totally forgotten that i ordered... There it was! How is that freaking possible? They print it on demand or smth? Can't be just travel time
  • 0
    @jestdotty no connection close header? Does the received body after \r\n\r\n equal to content length header? Than is everything ok. The server should close connection if no keep alive header. I always close myself too. Doesn't matter if it is remote closed AND locally. Better safe than sorry. If you do have a stream that shouldn't disconnect, maybe you're not reading the whole body causing unalignmejt with protocol aka corruption. Easiest is to just read header byte by byte until the two new lines and then read the content length after the new lines. I did / do this stuff a lot. Wrote many different servers / proxies.

    Roomie finally out? Nice. You waited long for that. Congrats. He took cat?
  • 1
    @jestdotty do you need a new roomie now?

    If threading is a bit painful, did you consider multiple processes with IPC? No threading stuff at all anymore
Add Comment