Live data from Hacker News

Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

theverge.com

81–90 of 169 posts

Re: Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

#81
post #71
post #62

Earlier quoted context omitted.

I've seen no evidence this is a bug.

> I've seen no evidence this is a bug. Maybe it depends on your use case, but why it converts almost everything to dates ? Why not to numbers ?

Dates are stored as numbers in Excel.

Excel also tries to automatically convert numbers as well.

Re: Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

#82
post #69

Isn't it possible to just set the format of the cell to plain text ? Whoever works with genetic data in Excel should know how to do this, if correct.

For your workaround you'd need to open the CSV in a text editor, set Excel types in a blank sheet, then paste.

Not a problem for someone who understands the issue, but it is a slow/confusing way to open files.

The real problem is the default behaviour of double-clicking a CSV in Explorer and destroying the contents.

Re: Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

#83

I think implicit conversions is the other billion dollar mistake in computing. It just shows up as a subtle source of mistakes in so many places. JavaScript, MySQL, YAML, Excel, PHP, just to make a few off the top of my head, have all caused countless bugs and security exploits due to implicit conversations of data which can be interpreted in multiple ways, and where the system happened to pick the wrong one.

It’s so awful in JavaScript that they made new comparison operators that don’t do it. And now it’s pretty much universal that you set == and != to be linting errors and just never use them.

They’re good for professional and hobby code golf though.

Re: Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

#84

I think implicit conversions is the other billion dollar mistake in computing. It just shows up as a subtle source of mistakes in so many places. JavaScript, MySQL, YAML, Excel, PHP, just to make a few off the top of my head, have all caused countless bugs and security exploits due to implicit conversations of data which can be interpreted in multiple ways, and where the system happened to pick the wrong one.

I think these are billion dollar mistakes only because they've allowed for trillions in improvements in the first place. People choose these system with loose conversions over and over again because it's an advantage up to a point. Of course it becomes a liability when expanded too much and used in now critical systems, but IMHO the tradeoff usually ends as a net positive. Which is why, over and over we build more of…

it would be so easy to just implement an opt-out function, but Microsoft doesn't want to.

There doesn't have to be a tradeoff if you make it optional.

Re: Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

#85

I think implicit conversions is the other billion dollar mistake in computing. It just shows up as a subtle source of mistakes in so many places. JavaScript, MySQL, YAML, Excel, PHP, just to make a few off the top of my head, have all caused countless bugs and security exploits due to implicit conversations of data which can be interpreted in multiple ways, and where the system happened to pick the wrong one.

I think these are billion dollar mistakes only because they've allowed for trillions in improvements in the first place. People choose these system with loose conversions over and over again because it's an advantage up to a point. Of course it becomes a liability when expanded too much and used in now critical systems, but IMHO the tradeoff usually ends as a net positive. Which is why, over and over we build more of…

> because it's an advantage up to a point

or they dont know any better.

Re: Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

#86

I think implicit conversions is the other billion dollar mistake in computing. It just shows up as a subtle source of mistakes in so many places. JavaScript, MySQL, YAML, Excel, PHP, just to make a few off the top of my head, have all caused countless bugs and security exploits due to implicit conversations of data which can be interpreted in multiple ways, and where the system happened to pick the wrong one.

Call it cynicism but I think humans just prefer things to be implicit. I've been annoyed by how people do not want to be specific, but then rant about how someone did not understand exactly what they wanted.

A certain CEO says that we won't need programming languages because you will be able to program AI systems with natural language. Well, the problem with natural language is not that we do not have the tech, it is that natural language is too imprecise. People will, again, end up being dissatisfied by the output of AI systems and blame it on the tech, while the problem just remains that as humans we kinda suck at being explicit about what we want.

Re: Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

#87

Earlier quoted context omitted.

A lot of analysis is done using CSVs being pushed in and out of Excel. Doing so strips the formatting. Please understand the workflows being crying “skill issue”.

You can write CSVs in such a way that forces Excel to infer specific data types: "=""Data Here""" will always be treated as a string. This is also supported by Sheets, apparently.

ok but will that work other tools that work with those csvs? I imagine that they export / import from excel to csv for a reason.

Re: Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

#88
post #18

Or they could set the format of the column to text instead of keeping it as general and everything would just work. If these "scientists" are having this problem then they haven't spent any time at all learning how to use the tool they rely on. Can we trust anything these people produce if this is the level of competence they have with Excel?

That's too much work. Nobody have time for doing or learning that. Sounds like a joke, but it isn't. I know scientists who think exactly like that.

It’s probably the same scientists who answer an email 2 years later

Re: Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

#89
post #84

Earlier quoted context omitted.

I think these are billion dollar mistakes only because they've allowed for trillions in improvements in the first place. People choose these system with loose conversions over and over again because it's an advantage up to a point. Of course it becomes a liability when expanded too much and used in now critical systems, but IMHO the tradeoff usually ends as a net positive. Which is why, over and over we build more of…

it would be so easy to just implement an opt-out function, but Microsoft doesn't want to. There doesn't have to be a tradeoff if you make it optional.

An opt-out doesn't solve the problem, because one person in the chain of custody if an excel file who hasn't opted out would be enough to destroy the data.

Re: Scientists rename genes to stop Microsoft Excel from misreading them as dates (2020)

#90
post #84

Earlier quoted context omitted.

I think these are billion dollar mistakes only because they've allowed for trillions in improvements in the first place. People choose these system with loose conversions over and over again because it's an advantage up to a point. Of course it becomes a liability when expanded too much and used in now critical systems, but IMHO the tradeoff usually ends as a net positive. Which is why, over and over we build more of…

it would be so easy to just implement an opt-out function, but Microsoft doesn't want to. There doesn't have to be a tradeoff if you make it optional.

As usual, I think it's a lot more nuanced than that.

An option was added last year [0] the way you propose it, but until then users already had the option to mark the columns as text. The same way we have to deal with any data where auto detection might be problematic: explicitely set a type, and potentially a format.

But of course that's bothersome, sometime people forget to do it, sometimes they don't even know how to properly do it etc. And some of these people will still probably forget to set the option, and there are still edge cases where it can fail (macros are cited)

[0] https://www.theverge.com/2023/10/21/23926585/microsoft-excel...

Post reply on HN