[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
23 posts · 2008-09-02 18:21:28 to 2008-09-10 04:59:29
#3630049445009/02/2008 18:21:28[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
Thank you, operatives. While the detonation of Ouroboros's Creston Heights power plant has been averted, serious concerns as to potential dangers still posed by the company remain. We must see to it that another such accident cannot occur.
Efficiently,
Agent Gray
#3630049445309/02/2008 18:26:01Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
That was fun, I enjoyed having to organize our efforts in order to cut through the security guards.
#3630049449109/02/2008 20:21:19Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
No one can run from the Machines...No one.
#3630049449809/02/2008 20:38:20Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
(( Despite my eventual conclusion about the security system having infinite solutions, that was the most fun I've had in a while in MXO. ))
#3630049452009/02/2008 21:53:51Re:Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
Bayamos wrote:
(( Despite my eventual conclusion about the security system having infinite solutions, that was the most fun I've had in a while in MXO. ))
((As a programmer, I kinda wanna see what you guys were seeing just out of curiosity))
#3630049453209/02/2008 22:38:39Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
((Phirst LE I've been available to attend in over a year. Looks like I picked a good one! It was great phun indeed. Adding one of my own screen shots phor good measure. ))
#3630049453609/02/2008 22:45:07Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
I enjoyed this event alot, my first kill on a level 60 character.
#3630049456009/03/2008 01:23:45Re:Re:Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
LtCmdr_Tsusai wrote:
((As a programmer, I kinda wanna see what you guys were seeing just out of curiosity))
((If I still have the screens I took at the time I'll PM them to you.))
I was frustrated about not being able to help, my coding skills are based around clothing and abilities, which are simple compared to the override code we were faced with, so I was very little help when attempting to solve the equation.
Despite our best efforts cracking the code, the success of this operation was down to those below in making the area safe and protecting that bluepill without whom the plant would have gone into meltdown. Not only did they distract the attention of the Ouroboros security away from the infiltration group during our attempts, but they also allowed the Ouroboros (ex?) employee to feel safe enough to show up and get through the security to the terminal. So she, and by extention everyone below, saved untold numbers of innocent lives.
I wonder where she went after security eventually attacked us... Hopefully we'll see her again and see if she knows any more details about the current situation.
#3630049456309/03/2008 02:14:55Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
Congratulations to my fellow Machinists for trying to crack the code, as it were, and making a path through security when that failed. I wonder if Ouroboros security will have learnt its lesson yet?
#3630049462909/03/2008 09:04:01Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
Well done operatives, apologies for my absence.
#3630049468309/03/2008 12:59:09Re:Re:Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
LtCmdr_Tsusai wrote:
Bayamos wrote:
(( Despite my eventual conclusion about the security system having infinite solutions, that was the most fun I've had in a while in MXO. ))
((As a programmer, I kinda wanna see what you guys were seeing just out of curiosity))
PRESS [CTRL-H] OR DIAL #4559 FOR HELP [ESC] EXIT TO DOS [UP / DOWN ARROW] MOVE CURSOR [ENTER] RUN
As far as I can tell, there is no unique solution to the value of s10.
#3630049474409/03/2008 15:56:56Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
So, how many real life computer programmer's chose to belong to the machine faction? Like someone there said, I boggled. I do not speak math!
Great job and thanks for saving the City.
#3630049475309/03/2008 16:19:40Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
(( Just a little note for anyone that decides to take a peek at it. It's written in Java. If you feel like porting it to C++ like I did for... "comfort," you'll need to include cmath, and the syntax becomes lowercase isnan(s[i]). Also, if(si) in Java checks if a variable is boolean true. In C++ that statement is syntactically correct but will check to see if the variable is not null. You gotta change it to if(s[i] == true)... or things like addition will fail epically.))
#3630049476909/03/2008 17:41:14Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
((Well, after 10 minutes of tinkering. I have some thoughts on it.
You can't run it all the way through. Game over.
S8 = S1/S8
Nothing touches S8, and I believe in all languages, initializing a variable integer is setting it to 0 correct? And, even if it did get passed that, nothing touches S10, even if assigned.
S10 = 0 or false if you fix it, else null. Nothing touches that number unless I oversaw something.
My results: 0, 0, 0, 10, 1, 1, 1, rest nothing due to div / 0)
))
#3630049477509/03/2008 18:09:03Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
(( That's only true in Java. In Java if you don't initialize, it's set to 0 if it's an int, true if it's a boolean. In other languages the variable will either be undefined, null, or whatever random value is in the RAM block that's allocated. I considered that, then made the assumption that "we were supposed to be able to solve the puzzle." So then, making an excuse (error on the creator's part), we assume that s8 is initialized to something other than 1. After all, this is an "execution trace," analagous to the stack trace that prints out all the previous steps when an uncaught exception is thrown, this prints out all the previous steps before the program stopped. It got past s8, so we have to assume it didn't divide by 0, so that s8 wasn't 0. Going along with that, I looked at the constraints, and in that system the only constraint is that s8 != 0. You can generate infinite solutions for those bounds, so that doesn't have a "solution." If we keep assuming that this was supposed to be solvable, it requires a bit of thinking as to how it could be possible. Well clearly if the program got past s8 and s8 wasn't zero, the value was initialized to something but never said so. So perhaps Ouroboros has magical language capabilities that are different than what's currently out there. The only other thing I could think of that narrowed the constraints were the S8 and S6 "functions" -- if we didn't round on int/int division and required the modulus to be zero for an operation, that would narrow down the initial values significantly that worked. But I tried that too and there were still infinite solutions. So by exhausting all possibilities in my mind I've proved my initial assumption wrong; this was never "meant to be solved." ))
#3630049665609/09/2008 12:29:57Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
#3630049666709/09/2008 13:02:25Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
BOOOM!
#3630049668609/09/2008 13:56:10Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
Was it actually possible for us to fail? Doesn't seem likely that it was.
#3630049677709/09/2008 19:50:09Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
S1: if it equals S1 + S2 + .... S10, S2 - S10 must collectively equal zero. S2: # true S3: true unless # > S1, pretty much guaranteed to be true S4: # = S4 S5: false if there's a negative number, has to be false S6: average, but we know that the sum is s1, so we can re-write as s1/6. S7: true if s4 > s2 S8: S1/S8, which can be rewritten as +/- sqrt(S1) S9: true if S6 = (s2-s4) - (s8 * s4) S10: must be a negative integer because when S1 > 36, a negative S8 would decrease more slowly than a positive S6 grew. For numbers < 36, S1 can't be both divisible by 6 and a square root of something.
Working through this we come to the equilibrium situation where:
Otherwise you get into a mess where you have s2 and s4 both equalling 1 which doesn't work, so on so forth. However in order for this situation to exist we need the unlikely constraint of s9 to be true. That means S6 = (S2-S4) - (S8*S4).
Rewriting that,
S1/6 = 0 - ( +/- 2root(S1) ). Because S6 is positive, S8 has to be negative. So, S1/6 = 2sqrt(S1), bring it over, S1/6 - 2sqrt(S1). There's a solution to this equation where S1 = 144. With this, everything falls into place.
#3630049677909/09/2008 19:58:17Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
Amazing.
#3630049678209/09/2008 20:15:09Re:Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
Bayamos wrote:
S1: if it equals S1 + S2 + .... S10, S2 - S10 must collectively equal zero. S2: # true S3: true unless # > S1, pretty much guaranteed to be true S4: # = S4 S5: false if there's a negative number, has to be false S6: average, but we know that the sum is s1, so we can re-write as s1/6. S7: true if s4 > s2 S8: S1/S8, which can be rewritten as +/- sqrt(S1) S9: true if S6 = (s2-s4) - (s8 * s4) S10: must be a negative integer because when S1 > 36, a negative S8 would decrease more slowly than a positive S6 grew. For numbers < 36, S1 can't be both divisible by 6 and a square root of something.
Working through this we come to the equilibrium situation where:
Otherwise you get into a mess where you have s2 and s4 both equalling 1 which doesn't work, so on so forth. However in order for this situation to exist we need the unlikely constraint of s9 to be true. That means S6 = (S2-S4) - (S8*S4).
Rewriting that,
S1/6 = 0 - ( +/- 2root(S1) ). Because S6 is positive, S8 has to be negative. So, S1/6 = 2sqrt(S1), bring it over, S1/6 - 2sqrt(S1). There's a solution to this equation where S1 = 144. With this, everything falls into place.
#3630049679709/09/2008 21:50:40Re:Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
Bayamos wrote:
S1: if it equals S1 + S2 + .... S10, S2 - S10 must collectively equal zero. S2: # true S3: true unless # > S1, pretty much guaranteed to be true S4: # = S4 S5: false if there's a negative number, has to be false S6: average, but we know that the sum is s1, so we can re-write as s1/6. S7: true if s4 > s2 S8: S1/S8, which can be rewritten as +/- sqrt(S1) S9: true if S6 = (s2-s4) - (s8 * s4) S10: must be a negative integer because when S1 > 36, a negative S8 would decrease more slowly than a positive S6 grew. For numbers < 36, S1 can't be both divisible by 6 and a square root of something.
Working through this we come to the equilibrium situation where:
Otherwise you get into a mess where you have s2 and s4 both equalling 1 which doesn't work, so on so forth. However in order for this situation to exist we need the unlikely constraint of s9 to be true. That means S6 = (S2-S4) - (S8*S4).
Rewriting that,
S1/6 = 0 - ( +/- 2root(S1) ). Because S6 is positive, S8 has to be negative. So, S1/6 = 2sqrt(S1), bring it over, S1/6 - 2sqrt(S1). There's a solution to this equation where S1 = 144. With this, everything falls into place.
I thought those were programming assignments, and not mathematical equations. For example, when it said s8 = s1/s8; isn't that supposed to mean that the original value of s1 divided by the original value of s8 equals the new value of s8?
#3630049683509/10/2008 04:59:29Re:[11.1.4] Triggered to a state that will induce catastrophic failure - Syntax - 8/28/08
That was the belief that made this so difficult in the first place. The code was only ever an abstraction.