News for hackers. Stuff that matters.
Re:I was wrong about spreadsheets (2017) by ozim on Friday July 12, 2019 @06:17AM (#20419553)
Yeah it works and you don't need support contracts and then:

- Fidelity's "Minus Sign Mistake": loss of $1.3 billion - TransAlta "Clerical Error": loss of $24 million - Fannie Mae "Honest mistake": loss of $1.3 billion

Then you get employee turn over where new employees don't get "arcane" knowledge passed down by people who left and took their spreadsheet foo with them.

Excel does not have "access control", "auditing", "change tracking". Just getting work done is not enough.

Re:I was wrong about spreadsheets (2017) by mbesto on Friday July 12, 2019 @09:01AM (#20420349)
> - Fidelity's "Minus Sign Mistake": loss of $1.3 billion - TransAlta "Clerical Error": loss of $24 million - Fannie Mae "Honest mistake": loss of $1.3 billion

Weigh that against <insert any company> makes $X Billion due to correct usage of Excel multiplied thousands and thousands of times over. Survivorship bias at it's finest.

Excel isn't perfect and has notable downsides, but work gets done all of the time on them for the aforementioned reasons.

Re:I was wrong about spreadsheets (2017) by swiley on Friday July 12, 2019 @10:57AM (#20421176)
I’m not convinced there’s a such thing as “correct usage of excel.”

What a lot of companies do is just scare entry level employees into being very careful. My friend’s girlfriend works at a place like this and people just accept all the problems with manually editing large spreadsheets because “that’s just life.”

Anything in excel is a hack and most of its users don’t know any better.

Re:I was wrong about spreadsheets (2017) by behringer on Friday July 12, 2019 @11:22AM (#20421340)
What's your solution? That the manager who wanted some report comes to you and begs you to do it and in 6 months it's finally delivered and all wrong?
Re:I was wrong about spreadsheets (2017) by jvanderbot on Friday July 12, 2019 @12:38PM (#20422007)
The sweet spot where I work is online forms that pre-populate excel playgrounds and allow download. Then, you can tweak till your heart's content.
Re:I was wrong about spreadsheets (2017) by zelphirkalt on Friday July 12, 2019 @04:57PM (#20424420)
The manager goes to the people, who really know how to make a report (maybe that is "accounting"?) and asks them to make the report taking into account some single report specific things that they talk about. Then those people, who know how to do it deliver. They might have someone in their team, who knows how to work with dataframes, which would come in handy. Those people store the program written to generate the report from the data and are ready to modify when more is requested. Instead of doing code in Excel, they simply write their code in whatever language they use to process spreadsheets or other data sources.

If they have knowledgeable people there, it will take no longer than coding something up in Excel and will be more reliable.

Re:I was wrong about spreadsheets (2017) by kungfugz on Friday July 12, 2019 @08:41PM (#20425784)
I guess no one has used Power BI for reporting... Link the data source, save the view that "Manager A" wants every week or month, setup on premesis gateway, and your new reports are there before your are asked for them again. Always up to date. Then share your dashboard. Also, you guys should be ashamed of yourselves. "not sure who does the reports, maybe finance?" Eceryone should know how to make their own reports.
Re:I was wrong about spreadsheets (2017) by michaelmrose on Friday July 12, 2019 @02:06PM (#20422922)
If you regularly produce reports one would suppose that you would have an existing project template and know how that would allow a reasonable individual to deliver a result that isn't all wrong in a reasonable length of time not THAT dissimilar from the time to throw up a spreadsheet.

This also wouldn't silo the data in the users laptop, subject it to being destroyed because the user dropped it, and limit frequency of updates and access to how fast the user can respond to emails.

Re:I was wrong about spreadsheets (2017) by behringer on Friday July 12, 2019 @02:47PM (#20423283)
And meanwhile the manager that broke the rules, connected their personal copy of excel straight into the database and made the company 8 figures in profit over the course of the last year just outdid you and your team of report programmers.
Re:I was wrong about spreadsheets (2017) by zelphirkalt on Friday July 12, 2019 @05:00PM (#20424443)
And meanwhile an actual data scientist looked at the data and outdid the manager by a factor of 10, by creating a more meaningful report, that is based on an actual statistically sound basis, preventing a disaster.

See, we can all conjure up imaginary people. :)

Re:I was wrong about spreadsheets (2017) by michaelmrose on Friday July 12, 2019 @03:05PM (#20423443)
Logically most of the profit making activities may be enabled by tech it usually isn't created by tech. The managers rule breaking activities are probably unrelated to his success.
Re:I was wrong about spreadsheets (2017) by behringer on Friday July 12, 2019 @03:53PM (#20423876)
In my experience, business success is often hinged on the reports and the insights they provide. Without accurate numbers, you've got nothing to go on.
Re:I was wrong about spreadsheets (2017) by kowdermeister on Friday July 12, 2019 @01:56PM (#20422807)
I can't not remember now the Salesforce for developers article :)
Re:I was wrong about spreadsheets (2017) by eej71 on Friday July 12, 2019 @06:54AM (#20419702)
I think it will be easier to solve those problems in the Excel development space than it will be to export the Excel solutions to another solution domain.

Also the kind of mistakes you've described can (and do) happen in other programming domains that are deemed more respectable.

Re:I was wrong about spreadsheets (2017) by PaulHoule on Friday July 12, 2019 @10:47AM (#20421111)
Unfortunately no.

Excel is hamstrung by having to maintain backwards compatibility for an endless number of hacks.

For instance, it is notorious that

0.1 + 0.2 != 0.3

in binary exponent floating point math. Excel does funny stuff with number formatting that hides this, but it is like having a bubble under a plastic sheet that moves someplace else when you push on it -- numeric strangeness appears in different places.

The right answer is to go to decimal exponent floating point math, but that is only HW accelerated on IBM Mainframes, maybe on RISC-V at some point. You'll probably crash Excel if you have enough numbers in it for performance to matter, but Microsoft would be afraid of any performance regression and it would break people's sheets so it won't happen.

On a technical basis we could use an Excel replacement that has some characteristics of Excel, and other characteristics of programming languages; one old software package to look to for inspiration is

https://en.wikipedia.org/wiki/TK_Solver

What makes it almost impossible to do on a marketing basis is that Excel is bundled into Microsoft Office so if you have an Office subscription you have Word, Powerpoint, Excel, Access, etc.

Re:I was wrong about spreadsheets (2017) by dsjoerg on Friday July 12, 2019 @11:28AM (#20421406)
GP was about how Excel lacks "access control", "auditing", "change tracking". Then OP says it'll be easier to add those things to Excel than to make non-Excel suit the purpose.

Then you say no, backwards compatibility problems. But how does Excel's need for backward compatibility make it hard to add "access control", "auditing", or "change tracking"?

Re:I was wrong about spreadsheets (2017) by PaulHoule on Friday July 12, 2019 @12:05PM (#20421697)
"access control" by definition means "make things not work some of the time"

Excel has change tracking, but like Jupyter notebooks and similar products it doesn't make the clean distinction between code and data that is necessary for it to be useful. (e.g. if I develop an analysis pipeline and use it for May 2019 it should be as easy as falling off a log to run it for June 2019)

Re:I was wrong about spreadsheets (2017) by telegato on Friday July 12, 2019 @11:19AM (#20421325)
To be fair in Javascript 0.1 + 0.2 === 0.3 also is false :). Not saying that Javascript is a great programming language.
Re:I was wrong about spreadsheets (2017) by PaulHoule on Friday July 12, 2019 @11:26AM (#20421378)
It's a problem in all mainstream programming languages that Excel has a strange answer to.

The trouble with it is that it is a big distraction to the "non-professional programmer" who uses tools like Excel.

Re:I was wrong about spreadsheets (2017) by thfuran on Friday July 12, 2019 @02:42PM (#20423232)
Yeah, that's the case for anything using IEEE 754 floating points.
Re:I was wrong about spreadsheets (2017) by phonon on Friday July 12, 2019 @02:53PM (#20423329)
"At its heart, VisiCalc is about numbers. One of the early decisions we made was to use decimal arithmetic so that the errors would be the same one that an accountant would see using a decimal calculator. In retrospect this was a bad decision because people turn out to not care and it made calculations much slower than they would have been in binary."

http://rmf.vc/implementingvisicalc

Re:I was wrong about spreadsheets (2017) by smsm42 on Saturday July 13, 2019 @09:48PM (#20431180)
That sounds like you want to rebuild the whole paradigm of how 99% of software world treats numbers (which may be, at the end, a right thing to do but unlikely to happen at least in the near term) and you are laying the fault of it not happening at Excel's door. That would be very misplaced blame.
Re:I was wrong about spreadsheets (2017) by Vaslo on Friday July 12, 2019 @02:44PM (#20423258)
Why would anyone working with amounts in the millions or billions care about 0.1 + 0.2 != 0.3? Splitting hairs here I think.
Re:I was wrong about spreadsheets (2017) by zelphirkalt on Friday July 12, 2019 @05:06PM (#20424507)
Not so sure about that. We are possibly also talking about reports as in some other comments. Those might need to be exact. Very exact.
Re:I was wrong about spreadsheets (2017) by halfeatenpie on Friday July 12, 2019 @11:41AM (#20421498)
See that's the thing.

You don't need Access Control because it's just an excel file and whoever has the file has the planning model. In most organizations like this, there's only like 5 or 8 people who all work together on a team, so it's not like 50-some people who are separated. Excel is a tool, a tool that you use to get things done. I mean even programming solutions have issues such as Knight Capital Group's $460 million loss due to mistakes in their code and deployment processes. Planning modules does not mean Operational modules. It's a big difference/jump between the two.

Again, these are all tools. What's important is how you use it and how do you properly validate these calculations. the thing you also need to understand is that no critical infrastructure planning is perfectly to-the-dot numbers. Our systems are far too complex, built off of human operational decisions, and have so many unknown losses that planning modules are based on scenarios. Also we're talking about thousands of these agencies around the world and their critical infrastructure planning teams are mostly 5 to 8 people. The current agency I'm working with has hired around 3000 employees to operate the systems but only 5 or so are really in-the-deep running these models and building these plans.

These people are not programmers. They spent their time learning about resource planning, mathematics, operation theory, physics, and engineering. Excel is an incredibly user-friendly tool that lets them automate a tremendous amount of their tasks. They're all very intelligent and can definitely learn how to code, but that takes their time away from more critical skills and tasks they need to accomplish.

The most important solution to the problems you've stated is the workflow. You setup a proper workflow, and risks of these problems should be minimized.

Re:I was wrong about spreadsheets (2017) by navigatesol on Friday July 12, 2019 @09:41AM (#20420614)
>Then you get employee turn over where new employees don't get "arcane" knowledge passed down by people who left and took their spreadsheet foo with them.

Yeah, this never happens with a proprietary codebase!

Re:I was wrong about spreadsheets (2017) by mcphage on Friday July 12, 2019 @10:46AM (#20421105)
Who needs historical knowledge when you can just rewrite the program every few years in a different environment with all new bugs? (and a smattering of the old ones, too)
Re:I was wrong about spreadsheets (2017) by Ntrails on Friday July 12, 2019 @11:46AM (#20421535)
Few work things have bemused me more in the last couple of years than watching someone re-implement a slow SQL process in an HDFS big data platform forgetting all of the things that went wrong the first time, fixing them again, and then running into weeks worth of new bugs just to get not time critical data faster.
Re:I was wrong about spreadsheets (2017) by yellowstuff on Friday July 12, 2019 @02:07PM (#20422931)
Fidelity didn't lose $1.3B, they miscalculated by $1.3B. The same with the other numbers you quote. Spreadsheets are error prone, but they still make sense for a lot of use cases.

https://www.cio.com/article/2438188/eight-of-the-worst-sprea...

Re:I was wrong about spreadsheets (2017) by acdanger on Friday July 12, 2019 @12:11PM (#20421746)
Re:I was wrong about spreadsheets (2017) by tajd on Friday July 12, 2019 @06:47AM (#20419668)
Or tests suites for checking formulae or how the said formulae are applied across the spreadsheet?
Re:I was wrong about spreadsheets (2017) by inputcoffee on Friday July 12, 2019 @11:06AM (#20421232)
The Fidelity "minus sign mistake" didn't create a loss. The mistake was in relaying the information to the end user. It didn't actually cause a loss of that magnitude.

That is like saying if I mistyped in a word doc, that word created the loss.

Re:I was wrong about spreadsheets (2017) by HeavyStorm on Friday July 12, 2019 @03:45PM (#20423790)
Ahn, so sorry, but that's a very flawed argument.

Arcane knowledge will be an issue with magical spreadsheets, as it is with any software (and I could argue that with custom software you have this legacy knowledge over both code AND ui, which is worse than just a spreadsheet).

The last paragraph is key, though - auditing and access control are tough ones for excel, and there are many tasks that require this functionality.

The trade-off is customizability - any excel can be changed to your specific need whereas that nice and shiny enterprise software you build may lack one or two things which you will never be able to change.

Re:I was wrong about spreadsheets (2017) by thirdsun on Sunday July 14, 2019 @03:45AM (#20432259)
> Excel does not have "access control", "auditing", "change tracking". Just getting work done is not enough.

Doesn’t the web version of Excel already solve that? I’m not familiar with it but Google Sheets does these things, at least to some extent - I’d expect Office 365 to do so as well.

Re:I was wrong about spreadsheets (2017) by schergr on Friday July 12, 2019 @05:52PM (#20424856)
Uh... You have the same problem with Cobol written 20 years ago without comments.