Hey everyone!
Writing this at 1:45AM, was out all day today but flying home from this vacation tomorrow! Did nothing much other than test the real-time transcription application I'm working on in terms of transcription formatting and providing a smooth disconnection experience when for some reason, I re-tried working with nothing but threads to handle the receival of chunks. I was sure that it was blocking the main thread because of the GIL, but everything seems to have changed now that I changed one line of code yesterday, can't find another explanation. I'm working with an RxPY pipeline, and I must have misunderstood how it works. It's kind of killing my brain haha, spent so much time wondering why it wasn't working and concluded that it was due to the GIL limitations when multi-threading.
However, even without that change, it seems like it's working with threading. I could've sworn that it wouldn't work using threading. My brain is a bit fried from having seen this but I hope to understand why it didn't work up until now! This makes the application's flow so much easier to understand.
Hope this remains the case tomorrow! We never know!
Excited to finish this! Ending early as the flight leaves in the morning :)
Happy coding everyone!
Top comments (0)