Pattern recognition and massively distributed computing