3 ms·
How can anyone have a bad day when great projects like this pop up on the front page of HN? Did you see the library of viz? https://github.com/attogram/bash-s
by throwaway2037 1y ago
How can anyone have a bad day when great projects like this pop up on the front page of HN?
Did you see the library of viz? https://github.com/attogram/bash-screensavers/blob/main/library/README.md https://github.com/attogram/bash-screensavers/blob/main/libr...
My favourite API: lov_die_with_honor()
- axiolite 1y agoWith "matrix" causing bash to consume 46% of my CPU time, I think I'll pass. I think I can play the actual film in 4K with less CPU time than that.
- o11c 1y agoHm, does caching the result of each unique `tput` fix that?
- axiolite 1y agoI don't see any `tput`s inside the Main loop. Only at startup and exit. Comment at the top of my version (HEAD as of yesterday) says: # This version is optimized for speed by: # 1. Using direct ANSI escape codes instead of forking `tput` for every update.
- AdieuToLogic 1y ago> My favourite API: lov_die_with_honor() A friend of mine fancied the following when making an infinite loop in C: #define MONEY 1 #define POWER 1 while (MONEY == POWER) { ... }