view the rest of the comments
Lemmy Shitpost
Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.
Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!
Rules:
1. Be Respectful
Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.
Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.
...
2. No Illegal Content
Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.
That means:
-No promoting violence/threats against any individuals
-No CSA content or Revenge Porn
-No sharing private/personal information (Doxxing)
...
3. No Spam
Posting the same post, no matter the intent is against the rules.
-If you have posted content, please refrain from re-posting said content within this community.
-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.
-No posting Scams/Advertisements/Phishing Links/IP Grabbers
-No Bots, Bots will be banned from the community.
...
4. No Porn/Explicit
Content
-Do not post explicit content. Lemmy.World is not the instance for NSFW content.
-Do not post Gore or Shock Content.
...
5. No Enciting Harassment,
Brigading, Doxxing or Witch Hunts
-Do not Brigade other Communities
-No calls to action against other communities/users within Lemmy or outside of Lemmy.
-No Witch Hunts against users/communities.
-No content that harasses members within or outside of the community.
...
6. NSFW should be behind NSFW tags.
-Content that is NSFW should be behind NSFW tags.
-Content that might be distressing should be kept behind NSFW tags.
...
If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.
Also check out:
Partnered Communities:
1.Memes
10.LinuxMemes (Linux themed memes)
Reach out to
All communities included on the sidebar are to be made in compliance with the instance rules. Striker
But that still doesn't explain WHAT it's trying to solve.
Still doesn't really tell anyone the point.
So, 2+2=4 is easy to check, but also easy to solve? Maybe that's dumbing it down too far. But unless you're apparently familiar with the equation and the background behind it, it sounds pretty fucking dumb. Not to be rude.
P=NP is a question of complexity. For usefulness computing time or space. If you have a problem that can be solved periodic it's p if you can't it's np. Vor example finding always the minimal distance between 2 points in a map is an np problem. Finding some connection between them is a p problem. To veryfy that you have the fastest way you have to look at all connections to veryfy that you have a connection you can take one randomly which is just faster to do. If you could find an algorithm that is doing the p problem but always gives the fastest way, you would have solved P=NP for every NP problem due to fancy math. Currently we assume P is not NP
To get right to the point, an example is encryption.
When you encrypt/decrypt something, the time the algorithm needs depends on the length of the message and the length of the key. Addition, like 2+2, is also like that. To be quite correct, It is not that the problem is easy, but that the algorithm runs in a predictable amount of time (which can be computed with a polynomial formula).
To break state of the art encryption, you can only use brute force, ie trying all possible keys. You could get lucky on the first try, or it might be the last ~~possibility you try~~ untried possible key. The time required is non-deterministic.
However, we don't have proof that brute force is really the only way to break commonly used encryption. It is imaginable that there are algorithms that can break our encryption in a deterministic amount of time. It is even possible that this amount of time could be short. We'd really like to know one way or the other. You can see how it's important ...
Mind that it's not a given that P=NP means a problem for encryption, or that P!=NP means it is safe.
Interesting, as it's always the last possibility you try regardless, unless you or your computer are insane.
If you done found your TV remote, do you continue looking like a crazy person anyways? If you done found the code that unlocks the cipher/lock, do you keep going further?
Nope, it's always the last result...
Ok, points for the best kind of correct. It should say, "the last untried possible key". Fixed.
Except with Grover's algorithm it's not really the last value you try, since its trying all candidate values all at once. So in that realm, IIUC, it really isn't stopping when you find the right one, its stopping when you have enough confidence to measure (and measuring breaks the setup, so you dont really want to stop too early)... I'm no expert, just interesting that maybe stopping when you find the last possibility doesn't actually apply universally for all forms of algorithm and computation (?).
Granted this example doesn't properly represent modern day encryption, but..
The video game, Lord Of The Rings, for the Super Nintendo Entertainment System (SNES) from 1994, did not have a battery backup savegame system, it had a 48 character keyscreen save of sorts that you'd have to write down yourself, only to manually punch back in later to continue from your save point. And it came with a checksum, I think it was CCITT 16 or something like that.
Welp, I spent about 2 weeks dinking around with all that good jazz to mostly reverse engineer it. Hell, I even managed to find keycode sequences that even cancelled out the checksum field.
What's the code? 3P5
Go ahead, repeat that code 8 times in the top field of the keycode field, you'll start off basically maxed out with all characters (if not a little slightly glitched, as all characters aren't meant to have all power flags active), but it just works, mostly..
Am I gonna go back to find my TV remote/notes on all that? Nope, those files are lost to time. But...
3P53P53P53P53P53P53P53P5
Try it...