AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Write a Script to See the Database With Big Data
I think it is a typical use case for many applications to write a script to see the database with some big data. In such cases, I prefer correctness, correctness to performance. So I started writing progress bar because there is quite popular progress bar library which is named the progress bar. And that my implementation was very limited because I had to turn off logging and any other output to the terminal. It does not fit to the architecture of progress bar library. The problem here is that it renders bar right when you call the render function. If you go from zero to one on this large amount of operations, it is still a 0%. And there is no point to render anything to STD out.