Re:Tqdm (Python)
by keithalewis on Friday December 17, 2021 @02:16AM
(#29588946)
Whoaaaa, this tqdm thing is, like, um, toats kewl!!! It's waaay better than the <blink> tag old people used to use, like, before I was even born lol. IM so so happy idont have to think too hard to get flashing light thingys to show up on my screen.
[ Parent
| on HN ]
If you are trying to say that youngsters are stupid for adding visualisations to their programs and terminals: sorry, but you are wrong.
Re:Tqdm (Python)
by keithalewis on Friday December 17, 2021 @08:13PM
(#29600433)
Wo dude, not at all. But you are literally saying exactly what my gramps used to say "but you are wrong." I figured his brane was too old to tell me why I was wrong. Computers are really fast now. Why cant they just give the answer right away?
Re:Tqdm (Python)
by heavenlyblue on Friday December 17, 2021 @08:04AM
(#29591568)
They are stupid for using visualisations that break standard python logging.
It's for interactive sessions not background ones
Re:Tqdm (Python)
by heavenlyblue on Friday December 17, 2021 @12:17PM
(#29595137)
Yeah, exactly. The software I write is complex enough to require logging of hundreds of progress bars at the same time.
The great thing that just using `logging` module is enough to log something like `Downloading file A, 55% [55Mb/100Mb]` (absolutely equivalent in terms of information to a "graphic bar") and also happens to be composable in a way that I can then reuse that package as part of anything that is also non-interactive.