USV

Data

data interchange format

SHOW HN2022

32points
23comments
#1,220of 2,570 in 2022
Top 48%of 2022 by points

How HN took it

DebatedReal support and real criticism

4 positive, 3 neutral or asking, 2 mixed, 5 critical, out of 14 comments about the project. Thread score -0.04.

Design: 1 for, 5 againstIdea: 3 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Simple to implement parsers without escaping

    From 1 comment
    • Why? Without escaping it's very simple to implement a parser or verifier for it. With escaping it has no real advantages over csv. The characters are pretty much just for this,…
      giraffe_lady on HN
  • Avoids CSV escape rules

    From 1 comment
    • Cool! Great way to not have to deal with all those csv escape rules :-)
      robbiejs on HN

Objections

  • No escaping means control picture characters in data cannot be represented

    From 1 comment
    • Note, this (wrongly) uses Control Picture characters rather than the control characters themselves. There can be perfectly valid reasons to want to include the Control Picture…
      tester89 on HN
  • Separator characters are hard to type and editors do not handle them

    From 1 comment
    • See, you can already see the problem with this: 1. Editors don’t return carriage on RS 2. There is no US or RS key on my keyboard I am keeping my tsv. Tab is _never_ a data…
      d--b on HN
  • Existence of USVX variant risks confusion between standards

    From 1 comment
    • USV is not simple if USVX exists. There is a potential for confusion. E.g. someone carelessly documents that some software accepts USV, when they mean USVX, or vice versa. You…
      kazinator on HN

Requests

  • Add USV support to popular languages and tools such as R, Python, and spreadsheets

    From 2 comments
    • This needs to be in base R, Julia, python, and all spreadsheet programs yesterday.
      derbOac on HN
    • Great idea. I'll pledge $50 as a token of thanks and encouragement for any open source developer who can add USV to a popular language or tool such as R, Julia, OpenOffice,…
      jph on HN
  • Document group and file separator examples

    From 1 comment
    • Group separator and file separator examples would be great.
      0x073 on HN

Questions

  • Why no escape mechanism

    From 2 comments
    • I don't get the no-escape rule...it should be possible to escape
      pestatije on HN
    • In what world would you ever use a tabular format that contains Unicode escapes as a natural part of the content?
      selfhoster11 on HN

Alternatives named

  • CSV

    From 1 comment
    • Cool! Great way to not have to deal with all those csv escape rules :-)
      robbiejs on HN
  • TSV

    From 1 comment
    • See, you can already see the problem with this: 1. Editors don’t return carriage on RS 2. There is no US or RS key on my keyboard I am keeping my tsv. Tab is _never_ a data…
      d--b on HN
  • USVX

    From 1 comment
    • Yes you're right. For special character escaping like your blog post idea, have you seen Unicode Separated Values Extensions (USVX)? It's USV plus extras for backslash escape,…
      jph on HN
  • VisiData

    From 1 comment
    • Good news: the excellent VisiData (https://www.visidata.org/) supports USV. Bad news: it looks like they got ␟ and ␞ mixed up, there are trailing ␞␟ characters after each record…
      cylinder714 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/31263556)