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

help-circle







  • Ironically I can even apply this thinking to matches of the Civilization game. In general I don’t do war if I can avoid it, I enjoy just expanding my own country and trying to focus on science and culture. But whenever some country declared war on me, I would defend myself and then move on to invade the aggressor, because I saw conquest as the only way to “win” a war. And then I would think “it’s so unfair that every other country now hate me just because I took some cities from the country that attacked me out of the blue”.

    Then one day I lost some war and the other country didn’t take any of my cities. They declared war not because they wanted to conquer me militarily, but because they wanted to stop me from dominating the world in other ways (culturally for example - something I saw as pacific but that also allowed me to win the match and therefore caused others to lose)





  • 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”.