Re:Hyper 1.0.0
by jdub on Monday December 12, 2016 @12:50PM
(#13160051)
Try `ps -afx` in Hyper. Then in iTerm 2. Though I love the ideas behind Hyper, I'm going to stick with iTerm 2 as my daily terminal for now.
[ Parent
| on HN ]
Also try `yes` in Hyper, see what happens.
Note, don't actually try this as it will lock up Hyper and you'll have to force quit it.
The benefits of your terminal emulator allocating a new DOM element in a web browser for every line of output. You can also watch Hyper's memory use climb up at a constant rate
It doesn't have to allocate a new DOM element for every line. It could recycle DOM elements as the terminal grows. This is a method that some JS libraries use, seems like Hyper probably doesn't.
Re:Hyper 1.0.0
by jszymborski on Monday December 12, 2016 @01:11PM
(#13160251)
what the... is that supposed to be piped into cli programs that don't have a -y switch?
Yes.
I have a program at work that does something like
Do you want to remove x from y? [y/n]
Do you want to remove z from y? [y/n]
Do you want to remove a from y? [y/n]
etc. etc, 100s of times. yes is a lifesaver.
I also like how it's used as an experiment for basic optimization: https://www.reddit.com/r/rust/comments/4wde08/optimising_yes...
4.5 GB/s of 'y'. Hilarious.