Re:Bypassing GitHub's OAuth Flow with a Head Request
by Existenceblinks on Friday November 08, 2019 @01:00PM
(#21484910)
Because unknown gives anxiety.
Robot:
if !request.get?
do_nothing
else
kill_one_person
end
What are possible states for NOT `!get?`, I have to think twice or all day thinking.
The problem is that real world program may have exception state you can't think of. If you write down a set of finite state; {A,B,C,D}.
if A
# For A, do nothing
else
# for B or C or D, kill a man
end
It's sure that if not A, it's going to be B|C|D. But what if it isn't? You could get an exceptional Z which will kill a man too. You know A better anything "else".
Robot:
What are possible states for NOT `!get?`, I have to think twice or all day thinking.The problem is that real world program may have exception state you can't think of. If you write down a set of finite state; {A,B,C,D}.
It's sure that if not A, it's going to be B|C|D. But what if it isn't? You could get an exceptional Z which will kill a man too. You know A better anything "else".