Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flusteredBias
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
flusteredBias
5y ago
sounds like you are looking for xsv. I like that tool a lot for selecting specific columns.
32.
▲
by
flusteredBias
5y ago
Can you give an example of what you mean? If it breaks tv then I would like to add it to the automated tests and see if we can work on it.
33.
▲
by
flusteredBias
5y ago
The correct column width is calculated from the first n rows not the full file. A stream does not work for tv because a stream does not know how many rows are in the file a priori. Displaying the dimensions of the file is a priority for `tv
34.
▲
by
flusteredBias
5y ago
I will add some Homebrew installation instructions. That is now an open issue. I want this tool to be highly accessible. Again, xsv is the best. I like the idea of small utilities that specialize in a specific task. From the Unix philosophy
35.
▲
by
flusteredBias
5y ago
Open an issue. I would have to look into that.
36.
▲
by
flusteredBias
5y ago
> these design choices seem to limit its use to relatively small files 1. As a rule-of-thumb, I have been working on functionality before optimization. That said, `tv` is really fast. It is completely false that `tv` only works for relat
37.
▲
by
flusteredBias
5y ago
If you come across an edge case that tv does not handle then let me know. I will add a tests csv file as part of the current portfolio of test csvs. https://github.com/alexhallam/tv/tree/main/data
38.
▲
by
flusteredBias
5y ago
xsv is one of my favorite data manipulation tools. Also, the author of that package is one of the best developers I know. I use xsv with tv. I normally pipe the output of xsv to tv. 1. As you noted NA comprehension 2. Column overflow logi
39.
▲
by
flusteredBias
5y ago
Sounds like a good "awesome" page on github.
40.
▲
by
flusteredBias
5y ago
I have some work to do on the README. I will show the output better. The difficulty with showing the output only is that it does not capture the coloring. Maybe I will show the output, or add a picture, or have an animated gif. Maybe all t
41.
▲
by
flusteredBias
5y ago
Keep at it. I think it looks great!
42.
▲
by
flusteredBias
5y ago
LMAO. I wish.
43.
▲
by
flusteredBias
5y ago
haha. You are right "NA" stands for "Not Applicable". That is not always how people/programs using it though. What are some alternatives that you would suggest? I am happy to learn.
44.
▲
by
flusteredBias
5y ago
First of all - kudos on tackling this task - it is indeed very annoying to get CSVs to render nicely on a terminal. > How does tidy-viewer compare with csvlook? The most important issue to me is that csvlook is a much less pleasant viewi
45.
▲
by
flusteredBias
5y ago
> How does it handle CSVs that are wider or longer than the terminal? Columns that are exceptionally long but cutting and appending an ellipsis if the line is over 20 characters. > a built-in grepping feature would make this very usef
46.
▲
by
flusteredBias
5y ago
Blast, I am sorry. It looks like I can't edit the title anymore. Otherwise I would make the change.
47.
▲
by
flusteredBias
5y ago
Well, I think being promiscuous with "NA", "N/A", nan, etc. is a separate issue from a blank cell. A blank cell is literally missing. That should be filled with NA.
48.
▲
by
flusteredBias
5y ago
1. Looks like you are using 0.0.10 the current version is 0.0.13 2. I need to update the README the binaries are here https://github.com/alexhallam/tv/releases/tag/0.0.13 I recently moved away from manua
49.
▲
by
flusteredBias
5y ago
I actually read that article when I started making the package. You can see some of the input data here https://github.com/alexhallam/tv/blob/main/data/a.csv . I let the user chose how long the max c
50.
▲
by
flusteredBias
5y ago
I would need more details on what you mean by "pre-parsing". It works with any deliminator, it could be comma-separated, pipe-separated, etc.
51.
▲
by
flusteredBias
5y ago
It is rough. There are many ways that different tools put NAs, na, N/A, "", etc. in a file. To chose only "NA" would mean I would be excluding the output of other tools. I chose accessibility over specificity. #trad
52.
▲
by
flusteredBias
5y ago
I love xsv! I mention in the readme that command line data manipulation tools are great compliments to tv. https://github.com/alexhallam/tv#tools-to-pair-with-tv
53.
▲
by
flusteredBias
5y ago
I love visidata! But when I want to just glance at a csv file I reach for tv (I used to use `column` which is more of a tv competitor than visidata). This is for a couple reasons. 1. tv gives a quick summary of the count of rows and columns
54.
▲
by
flusteredBias
5y ago
Thanks! I appreciate the compliment!
55.
▲
by
flusteredBias
5y ago
lol. Got it.
56.
▲
by
flusteredBias
5y ago
Love the idea! Already opened the issue and will merge a PR before the next release.
57.
▲
by
flusteredBias
5y ago
I spend a lot of time in the terminal and want to quickly glance at a csv files without making a new script, opening excel, or using a tui. I made tidy-viewer (tv) because current tools like cat and column were not pretty enough. tv modifie
58.
▲
Show HN: Tidy Viewer – a cross-platform CSV pretty printer for viewer enjoyment
(github.com)
391 points
by
flusteredBias
5y ago
|
136 comments