3 ms·
Step 1: Gather timings of key presses from a lot of kids. 2: Use ML to learn how to simulate it. 3: Sell it as a service, labeling it KaaS. 4: Profit, then g
by diegoperini 6y ago
Step 1: Gather timings of key presses from a lot of kids.
2: Use ML to learn how to simulate it.
3: Sell it as a service, labeling it KaaS.
4: Profit, then go to jail because of a misunderstanding.
But seriously, is there such a tool to automate this?
- fabianhjr 6y agoFuzzing ( https://en.m.wikipedia.org/wiki/Fuzzing https://en.m.wikipedia.org/wiki/Fuzzing )
- PartiallyTyped 6y agoThere's also model based testing and property based testing. QuickTest in Haskell and Erlang can generate test cases for your code.
- segfaultbuserr 6y agoPeople have been fuzzing user interfaces since the 80s. It was used for developing MacPaint and MacWrite in Apple's original Macintosh. Quote Wikipedia: > In 1983, Steve Capps at Apple developed "The Monkey", a tool that would generate random inputs for classic Mac OS applications, such as MacPaint [0]. The figurative "monkey" refers to the infinite monkey theorem which states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will eventually type out the entire works of Shakespeare. In the case of testing, the monkey would write the particular sequence of inputs that will trigger a crash. Read the story here: https://www.folklore.org/StoryView.py?story=Monkey_Lives.txt https://www.folklore.org/StoryView.py?story=Monkey_Lives.txt
- MrDresden 6y agoI frequently use the monkey bundled with the Android tool chain[0] to stress test my UIs. Have found numerous issues throughout the years by using it [0] https://developer.android.com/studio/test/monkey https://developer.android.com/studio/test/monkey
- Aulig 6y agoThat's really cool, I never knew about that. I'll have to try it on my apps!
- Anthony-G 6y agoThanks for sharing that story. It's probably the reason why Netflix decided to use "monkey" for the name of their tool to randomly terminate service instances: https://netflix.github.io/chaosmonkey/ https://netflix.github.io/chaosmonkey/
- rusk 6y agoAs others have pointed out, you are describing fuzzing but rather than purely random you’ve trained your fuzzer on a particularly troublesome set of random variables ;-)
- bjoli 6y agoI have been using the name monkey-testing for this kind of testing for as long as I can remember. There are tools to automate it.