Comment

Comment by praash

I think the additional zeroes, letters and crosses work heavily against visual intuition. In a single line of monospaced text, their disproportionate size breaks continuity and you're forced to reconstruct the actual shape in your head.

    [0⎻⎺⎻x—x⎻x—⎼⎽_E_⎽⎼—x⎻⎺‾E‾⎺⎻x_⎽⎼—0(234)]
Inserting bracketed numbers throws the whole sparkline concept out the window.

If terminal output is the use case here, why not use color when available? Zero crossings could be highlighted in blue, and out-of-bound clipping could be shown in red. Long sequences of zeroes could just be represented with a red line, or even empty space:

    [        ]
    [----    ]
Silence should be easy to spot, not crammed behind numbers!

    [0(512)]
    [----0(256)]
Which style would you find easier to understand at a glance?
parent praash 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton