Hacker News new | ask | show | jobs
by Elte 859 days ago
Long ago in high school, I entered a LEGO robot competition with some friends. Tests were line following, collision detection, etc. One of the tests involved the bot being sent on a collision course with a wall. It had to detect running into it and turn around. This was one of the easiest ones to complete, but shortly before the test started we realized that our pressure sensor was malfunctioning and didn't send any more signals. There was no more time to swap it out, I don't even think we had a spare to be honest.

Not wanting to give up points on an easy test, we gauged the distance the bot had to cover in the test, and quickly uploaded some new software. At the start of the test, our bot moved forward for 4 seconds, stopped, then turned around. Full points on that one!

Some times things just need to work and we can worry about them working _correctly_ later...

1 comments

You... Literally made a test defeat device.

In other words, you pulled a Dieselgate, in LEGO form.

Were I to judge your implementation, not only would you sacrifice those points, I'd have disqualified you from the competition on ethical grounds.

There is never an excuse for smoke and mirrors. Never.