solving problems fast
so yesterday i mentioned i exploited the system of the cruise ship. today i have something important which is that since it was a brute force exploit, if i wanted to work faster than a snails pace, i had to multi thread the program. that i did not know how to do so i used claude ai to do it for me.
one thing i need to work on understanding is how multi threading a program actually works. i remember the rough idea: you have threads that can execute a program but your computer is limited. so you round robin (or whatever cpu time algorithm you want) the threads and give them time to run. you have a limited number of threads on your computer and all programs share the threads. i cant set the max number of workers to some absurd amount of threads because that would take a lot of ram (im assuming) without much return in performance. well i guess since this is an asynchronous activity it might be slightly more performant if you get more threads. but this is all speculation.
the thing i want to note today though, is that knowing how i need to solve the problem, even if i dont know the literal code, was important. i could not have done what i wanted to do without knowing it was even possible. the actual exploit did not take me long to do. so my point about solving problems fast is not using multithreading but the importance of experience.
16 - 03/12/2025