←Older revision |
Revision as of 07:39, 19 October 2014 |
Line 21: |
Line 21: |
| Your new automaton should then accept word like "01" or "000000000111111111" and reject words like "10" or "00010" or "001". What should you say to such customer? | | Your new automaton should then accept word like "01" or "000000000111111111" and reject words like "10" or "00010" or "001". What should you say to such customer? |
| | | |
- | The right answer is to say: ''"It's [[impossible]]!"'' Enough to read description of [[wikipedia:pushdown_automaton|pushdown automaton]] to understand why, but of course, your customer is [[clueless]] and won't bother. Even if you try to explain what the problem is, you are only going to be seen as incapable. Your great reputation is being lost. Morever there is another company specialized in construction of [[wikipedia:Finite-state machine|Finite-state automaton]]s and when your customer visits them, they (as good business men) say: ''"Of course, we'll build the automaton!"'' | + | The right answer is to say: ''"It's [[impossible]]!"'' Enough to read description of [[wikipedia:pushdown_automaton|pushdown automaton]] to understand why, but of course, your customer is [[clueless]] and won't bother. Even if you try to explain what the problem is, you are only going to be seen as incapable. Moreover there is another company specialized in construction of [[wikipedia:Finite-state machine|Finite-state automaton]]s and when your customer visits them, they (as good business men) say: ''"Of course, we'll build the automaton!"'' |
| | | |
| + | Customer gets his machine and is happy. Competing company is happy too. Only your expert reputation is being damaged. But you know the automaton cannot work! So you visit the customer and ask for permission to use his automaton for a while and yes, after a little bit of time you find a word that is accepted, even it should not be. It is not a simple word, it has tens of zeros at beginning and even more ones at the end. But you'd done it! Satisfied you run to the customer to tell him, it is all a fake. |
| | | |
| + | Customer is a bit worried and contacts the supplier of the machine, who sticks to the business note and admits there is a bug in his automaton which he is going to fix. In a few weeks a new automaton, ten times bigger than the old one, is being deployed to the customer and it fixes the so called bug: the incorrectly accepted word is not being rejected. Happiness all over. Except in your camp: you know it is just another bigger fake. It is [[impossible]] to create such finite automaton! |
| | | |
| + | Hurrying to save your reputation, you ask the customer again for a permission to inspect the automaton. You study it for weeks and after that you finally find another incorrectly accepted word: this time is starts with thousands of zeros followed by even more ones. Exhausted, but happy you visit the customer. He finally listens to you and is ready to accept that the competing company is a gang of ignorants. But he still may not get it: |
| + | |
| + | ''"OK, now I see the other company can't create the [[wikipedia:Finite-state machine|finite-state automaton]] properly. Can you please build it for us?"'' |
| + | |
| + | Your expert credit is back. But the fact that something is [[impossible]] is somehow not getting through. What will be your answer this time? |
| + | |
| + | == [[NetBeans]] Threading == |
| | | |
| | | |