• 0 Posts
  • 99 Comments
Joined 1 year ago
cake
Cake day: July 18th, 2023

help-circle







  • Threads all run on the same core, processes can run on different cores.

    Because threads run on the same core, the only time they can improve performance is if there are non-cpu tasks in your code - usually I/O operations. Otherwise the only thing multi threading can provide is the appearance of parallelism (as the cpu jumps back and forth between threads progressing each in small steps).

    On the other hand, multiprocessing allows you to run code on different cores, meaning you can take full advantage of all your processing power. However, if youre program has a lot of I/O tasks, you might end up bottlenecked by the I/O and never see any improvements.

    For the example you mentioned, it’s likely threading would be the best as it’s got a little less overhead, easier to program, and you’re task is mostly I/O bound. However, if the calculations are relatively quick, it’s possible you wouldn’t see any improvement as the cpu would still end up waiting for the I/O.



  • Don’t know if you ended up watching it, but effectively they’re able to randomly execute code during the loading screen using a bug caused by audio generation vs controller polling. So by using TAS tools they can spam the controller to cause an audio bug that let’s them jump to executing code from Ram that they are able to manipulate using controller inputs.

    TLDR: Using a bug in the audio processing, they can use controller inputs to write arbitrary code that jumps them to the end of the game.


  • Not the original commenter, but to add some more context. The words usually removed in traditional NLP applications are called “stop words” and are usually more “non-valuable” words like “the, and, but”.

    However, LLMs don’t skip stop words, they actually need them to better understand the context of the sentence. That being said, LLMs are not great for statistical analysis and a simple word count would be more consistent and faster.







  • It’s probably because your comment shows a lack of understanding of the region. A demilitarized Israel is a destroyed Israel. They’ve been attacked by every surrounding state multiple times. Hamas, Lebanon/Hezbollah, and Iran have been consistently firing rockets into Israel for years.

    The reason why these conflicts are so complicated is that both sides have done so many horrible things that no one is on the “right” side of history. It’s like trying to argue who was the good guy in all the wars of Medival Europe.