News for hackers. Stuff that matters.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by imtringued on Monday April 11, 2022 @06:49AM (#30986958)
>Even then, a scientist might fix their data but export it as a CSV file without saving the formatting.

Is this supposed to be a joke? Since when does excel support CSV files? Yes you can import and export CSV files but that is just there to check a box. That feature doesn't actually work. Just import and export .xlsx files in your applications directly.

CSV is such a bad format because it's not even a standard, there is RFC4180 but most people have never heard of it. CSV is complicated enough that anyone who thinks they can implement it will get it wrong on their first attempt but simple enough that people believe they can implement it on their first attempt.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by jasode on Monday April 11, 2022 @07:21AM (#30987183)
>Since when does excel support CSV files? Yes you can import and export CSV files but that is just there to check a box. That feature doesn't actually work. Just import and export .xlsx files in your applications directly.

You're being hyperbolic and your .xlsx advice doesn't apply to other systems we don't control that only offer .csv files.

Examples... my credit card website and Ebay only offer csv downloads of data. I use MS Excel to import those csv files all the time and it works well enough.

Yes, I'm aware of potential data-conversion flaws with importing csv files. (My previous comment: https://news.ycombinator.com/item?id=25017116 )

All those caveats with csv are irrelevant when the system that has the data people want only offers csv. Using Excel's feature to import csv -- and being aware of the format dangers -- is more practical than manually retyping all the data from scratch.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by rini17 on Monday April 11, 2022 @06:58AM (#30987021)
Opening CSVs in Excel almost never worked for me. Good thing there's LibreOffice Calc with spiffy import dialog with all the csv options/variants where you can preview the result.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by joenathanone on Monday April 11, 2022 @07:21AM (#30987184)
Excel has exactly the same functionality.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by rini17 on Monday April 11, 2022 @07:24AM (#30987205)
Good, since when? Last used it 10ish years ago.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by dwringer on Monday April 11, 2022 @09:58AM (#30988761)
It was there, the problem is that by default if you open files the way most people do (double-clicking or dragging) then Excel decides you must not want to be bothered by the options so it fills them in for you. "Helpfully" not even using the most basic inference to assign types in a way that doesn't destroy the data.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by prepend on Monday April 11, 2022 @07:55AM (#30987458)
I think the import wizard was added in office 2000.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by joenathanone on Monday April 11, 2022 @07:34AM (#30987278)
Here is the feature in Excel 2007 https://youtu.be/ML0VDMpWllM around 2:45, could have also been there in earlier versions too.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by humanistbot on Monday April 11, 2022 @05:19PM (#30995217)
I love how you gave advice in your parent post as if you knew what Excel's current features are, then admitted you haven't used it in 10 years.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by rini17 on Tuesday April 12, 2022 @07:34AM (#31001188)
I meant to describe what I do and why, sorry if I offended you by unsolicited wrong advice. And as others say, nothing changed during that time - the import function is/was always there but it's still hidden somewhere.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by joenathanone on Tuesday April 12, 2022 @11:58PM (#31011080)
>but it's still hidden somewhere.

It's the second button on the data tab, you are still spreading misinformation.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by max599 on Monday April 11, 2022 @06:20PM (#30995855)
at least 20 years, probably more.