3 ms·
A while back I was working at a web startup (since folded), and management decided they wanted to inflate the usage numbers reported on the home page. I was as
by DavidSJ 7y ago
A while back I was working at a web startup (since folded), and management decided they wanted to inflate the usage numbers reported on the home page.
I was asked to write the code for it. I refused, telling my boss that I didn’t want to lie to our users. He said, “it’s not for them, it’s for the board.” “So we’re lying to the board, then?” I asked. He dropped it, and the task fell to another engineer.
The first version was deployed, with one slight oversight: he forgot to round the number the algorithm generated, so the home page displayed something like “157,311.18461947940563848871625 active users this month!” The bug was quickly rectified.
- Eli_P 7y agoI'd pitch that to the board like the algorithm was just smart enough to detect the partial activity coefficient ranging in [0, 1].
- giancarlostoro 7y agoSpoiler alert: just like in that epsiode of Silicon Valley but cheaper!