• 0 Posts
  • 120 Comments
Joined 2 years ago
cake
Cake day: June 22nd, 2023

help-circle






  • This might be a stupid question but I have just some limited experience with sorting algorithms and was wondering something: could some algorithm like this be improved specifically for multi-threaded processing? I mean, an algorithm that is generally NOT the best option with a single thread, become better than other algorithms when it can delegate part of the work to different threads?

    Perhaps something that runs the same algorithm on several threads, each starting at a different point of the map, but sharing their findings with the other threads?





  • Depends on their definition of “working” .

    I tried asking an AI to make a basic webrtc client to make audio calls - something that has hundreds of examples on the web about how to do it from the first line of code to the very last. It did generate a complete webrtc client for audio calls I could launch and see working, it just had a couple tiny bugs:

    • you needed an user id to call someone and one was only generated when you call (effectively meaning you can only call people if they are calling someone)
    • if you fixed the above and managed to make a call between two users, the audio was exchanged but never played.

    Technically speaking, all of the small parts worked, they just didn’t work together. I can totally see someone ignoring that fact and treating this as an example of “working code”.







  • I had a dream a couple weeks ago where I was reading some news about penguins developing a language to talk to each other. And in the dream I was wondering if we as humans were in any way hindering the penguins’ capacity to evolve into a sentient species - then realized they were already so close to us. They have arms and legs, can use tools, talk with a structured language and everything - what kept them being labeled as plain animals if they did all that?

    In the afternoon I suddenly remembered the dream and for a split second was kinda agreeing with my dream’s argument, until I realized the penguins in the dream were closer to Animal Crossing characters than to actually penguins.