News for hackers. Stuff that matters.
Re:The 2002 mandate for internal communication systems at Am... by saalweachter on Tuesday October 01, 2019 @05:18PM (#21130781)
Don't forget the most important step.

"Think of the acronym CSV. Don't look up the definition of the format, just meditate on the idea of the format for a bit. Then write your data in the format you have just imagined is CSV, making whatever choices you feel personally best or most elegant regarding character escapes. Pass this file on to your downstream readers, assuring them it is a CSV file, without elaborating on how you have redefined that."

Re:The 2002 mandate for internal communication systems at Am... by remus on Tuesday October 01, 2019 @07:09PM (#21131868)
"Comma separated values? But my data has commas in it! Ah, I know, I'll use tabs instead, I've never seen a user put a tab so that'll work perfectly forever and definitely won't cause a huge fucking mess for the poor bastard who has to try and decipher this steaming pile."
Re:The 2002 mandate for internal communication systems at Am... by adrianN on Wednesday October 02, 2019 @09:28AM (#21136161)
Just use ASCII 1E and 1F.
Re:The 2002 mandate for internal communication systems at Am... by wanderer2323 on Wednesday October 02, 2019 @12:38AM (#21133473)
This is awesome, where does it come from? Google does not give me anything.
Re:The 2002 mandate for internal communication systems at Am... by saalweachter on Wednesday October 02, 2019 @06:55AM (#21135061)
The quotation marks are stylistic rather than for attribution.

My personal experience comes from ingesting product feeds from online stores. Misapplication of \ from other encodings was the most common sin, but I'm pretty sure I saw about three dozen others, from double-comma to null-terminated strings to re-encoding offending characters as hex escapes. (And, of course, TSV files called CSV files, with the same suite of problems.)

Re:The 2002 mandate for internal communication systems at Am... by SSLy on Wednesday October 02, 2019 @04:33AM (#21134405)
(Source: I work in a software company)

On-hand work experience.