What are those bitcoin mining hardware doing 24/7? What are those hardware doing? Which open-source or closed source software to use on those? I want to buy one of those hardware for my learning and programming.

Any advise?
Latest technology of Antminer or rather do your research for the new ones.