News for hackers. Stuff that matters.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by jasode on Monday April 11, 2022 @08:15AM (#30987638)
>The real problem is of course using Excel to maintain data. That's not what it's for. That's what databases are for. Excel is for complex calculations over rows and columns.

I use MS Excel extensively and create new .xlsx files every week even though I know databases like SQLite, MySQL, and did consulting for Oracle RDBMS. The problem is that databases do not include a GUI for data viewing.

And even though I also know programming tools like C++ Qt and C# WinFroms to slap in front of databases, starting with a blank Excel grid is faster and easier than wiring up a datagrid UI control to a database and compiling an app.

If I then want to share a dataset with a colleague and email it to them, the easiest friction-free way is to attach an .xlsx file. Sending them an email with attachments of SQlite .db file + executable app for Windows/macOS is much more cumbersome. The alternative of sending them a link to a cloud-based "database-as-worksheet" SaaS platform just creates another set of problems. An all-in-one db+gui tool like MS Access also isn't really an option since it doesn't have the same powerful GUI data manipulation as Excel.

The scenario of "I just sent you an xlsx where the rows highlighted in red are problems and if you can just add your notes to column K, that would be great. Thanks!" -- is not easy in other tools that are not spreadsheets.

People (including programmers skilled in databases) constantly "misuse" Excel because it's the most practical way to get work done compared to the friction of alternative tools.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by Closi on Monday April 11, 2022 @08:57AM (#30988029)
> If I then want to share a dataset with a colleague and email it to them, the easiest friction-free way is to attach an .xlsx file. Sending them an email with attachments of SQlite .db file + executable app for Windows/macOS is much more cumbersome. The alternative of sending them a link to a cloud-based "database-as-worksheet" SaaS platform just creates another set of problems. An all-in-one db+gui tool like MS Access also isn't really an option since it doesn't have the same powerful GUI data manipulation as Excel.

The alternative is to load the sqlite DB into Excel via PowerQuery and then share the file, which will maintain type safety of all columns through the excel data model.

This provides much better GUI data manipulation too, as you can define relationships between the data in the model e.t.c.

The problem is I would guess less than 1% of Excel users actually understand this functionality, but it is absolutely core to doing proper analysis in excel (not saying you don't use it - you probably do - but lots of users don't!).

Re:Human genes renamed to stop Microsoft Excel from misreadi... by hn_version_0023 on Monday April 11, 2022 @10:28AM (#30989224)
> The problem is I would guess less than 1% of Excel users actually understand this functionality

Do you have any recommendations for getting started with this?

Re:Human genes renamed to stop Microsoft Excel from misreadi... by hn_version_0023 on Monday April 11, 2022 @01:20PM (#30991959)
To answer my own question: looks like all you need is Excel 2016 or better.

https://powerquery.microsoft.com/en-us/excel/

Re:Human genes renamed to stop Microsoft Excel from misreadi... by Closi on Tuesday April 12, 2022 @02:44AM (#30999427)
Absolutely! I would add though that you really need to follow a tutorial/book to make everything make sense in it. I read a book by Rob Collie - but any well reviewed book on DAX should do it. The book “Supercharge Excel - When you learn DAX…” looks like it covers similar information but more up to date.

The analysis pattern is usually importing data and cleaning it in PowerQuery, then building relationships between tables in the data model view, and then analysing it via a ‘PowerPivot’ Table.

PowerPivot then has new functionalities compared to a regular pivot table (eg measures) that allow for automatically calculating columns based on context and some additional capabilities you don’t get in excel.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by hn_version_0023 on Friday April 15, 2022 @03:49PM (#31044936)
Thank you kindly; I’ll look into your suggestions!
Re:Human genes renamed to stop Microsoft Excel from misreadi... by cupofpython on Monday April 11, 2022 @04:05PM (#30994106)
I do this all the time. Excel is a fantastic data GUI for ad-hoc reporting.

My typical quick turn-around process is: type SQL in text editor, test sql in database, create a view, connect to the view from excel, use native excel features to display whats needed.

Usually I create a summary page as well which uses sum-ifs and such on the query result for the high level detail rather than go through the SQL process for it separately

Re:Human genes renamed to stop Microsoft Excel from misreadi... by JustAQ on Monday April 11, 2022 @08:21AM (#30987706)
What'd be wrong with using something like DBeaver, SqliteStudio, or PG-Admin? Or buying a tool like DataGrip? Microsoft Access even allows you to create your own UI forms for a database.

You don't need to write your own GUI for databases. Loads exists.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by jasode on Monday April 11, 2022 @08:59AM (#30988057)
>What'd be wrong with using something like DBeaver, SqliteStudio, or PG-Admin? Or buying a tool like DataGrip? Microsoft Access

1) Those utilities are not typically included in the workstation image of laptops/desktops unlike MS Excel which is already part of Office 365. Millions are already familiar with the GUI of Excel.

2) The datagrid viewers in those tools are not powerful and feature-rich like Excel. They are often missing features that are taken for granted by Excel users:

- formatting any arbitrary row or column with bold/italics and change the font color or background cell color.

- pivot the data via drag & drop UI (instead of manually writing a SQL cross-tab query)

- hide rows or collapse rows into outlines

- cut rows 37 to 52 and paste them above row 5. That type of behavior is not easy in generic database viewers because most tables -- by typical design of RDBMS table row ids -- do not consider the visible spatial ordering of rows the way the end user wants to see them on the screen unless one adds an extra column to the table such as "gui_view_order_id". Excel has user specified row ordering as default out-of-the-box behavior.

- ... tons of other GUI features like formulas, spell check, etc

Re:Human genes renamed to stop Microsoft Excel from misreadi... by dotancohen on Monday April 11, 2022 @09:11AM (#30988160)
Please, keep adding to the "tons of other GUI features" list. I'm just started on a Python/Qt/Sqlite project for spreadsheet-like functionality backed by a strongly-typed database. The things that you mention are perfect features. I'd love to know more.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by magicalhippo on Monday April 11, 2022 @09:59AM (#30988785)
Formulas is a big one for me. As a programmer I often use Excel to generate insert/update SQL statements for example. So I'd need formulas with not just numerical but also string manipulation functions.

Also filtering is essential. So nice to be able to see all the values in the filter dropdown, easy to quickly spot weird values.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by ElectricalUnion on Monday April 11, 2022 @05:48PM (#30995547)
> Also filtering is essential. So nice to be able to see all the values in the filter dropdown, easy to quickly spot weird values.

This is not "filtering", this is faceted search.

I am also a big fan of faceted search, and I found the occasional writing of Simon Willison’s on the topic very informative.

https://simonwillison.net/2018/Oct/4/datasette-ideas/#Facet_...

Re:Human genes renamed to stop Microsoft Excel from misreadi... by magicalhippo on Tuesday April 12, 2022 @06:21AM (#31000713)
I was sloppy and meant "filtering as implemented in Excel".

But yeah great feature, and thanks for the reference.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by dotancohen on Monday April 11, 2022 @11:05AM (#30989799)
How does this sound? Formulae are supported, but the cell (not column) must be set as the Formulae datatype. The first formula that I am supporting is SUM, as it is easy to code in SQL. What are the other most common formulae that you use? I'll only implement the integer / float formulae at first, but I'll add string manipulation later.

  > Also filtering is essential.
Filtering, of could. I've already got a hidden column for all rows isDisplay.

  > So nice to be able to see all the values in the filter dropdown, easy to quickly spot weird values.
Perhaps instead of filtering, you'd like to see outliers or the range of values?
Re:Human genes renamed to stop Microsoft Excel from misreadi... by magicalhippo on Monday April 11, 2022 @03:39PM (#30993703)
> Formulae are supported, but the cell (not column) must be set as the Formulae datatype

As long as it's not tedious to set a few thousand that sounds great.

> What are the other most common formulae that you use?

I mostly use SUM, COUNT and IF (if-then), along with functions to check if a string value is a valid number. Also string formatting of numbers and dates (for concatenating with text).

I've also used lookups, ie find the row matching this and extract the value from the given column in that row. Though I'm not super happy with the way Excel does that, surely some room for improvement.

> Perhaps instead of filtering, you'd like to see outliers or the range of values?

In addition. Sometimes I just want to view all the values matching X, other times I want to quickly see any outliers. Definitely ranges, especially for numbers (just larger than 0 for example, or between 5 and 10).

Sounds like a very interesting project, if you got a link I'd be interested in tracking progress. If not, I'd be happy if you did a Show HN when you're ready :)

Re:Human genes renamed to stop Microsoft Excel from misreadi... by dotancohen on Tuesday April 12, 2022 @02:37AM (#30999379)

  > As long as it's not tedious to set a few thousand that sounds great.
How are you setting them? Grab and drag? I can support that.

  > SUM, COUNT and IF (if-then)
Perfect, thank you.

Right now I've started a Git repo with a roadmap but I've not uploaded any code yet as I'm still deciding on the architecture:

https://github.com/dotancohen/structuresheet

Re:Human genes renamed to stop Microsoft Excel from misreadi... by magicalhippo on Tuesday April 12, 2022 @06:22AM (#31000721)
> How are you setting them?

I'm old school, so ctrl+c, shift+end (maybe tweak selection area with cursors if Excel is being dumb) and ctrl+v.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by dotancohen on Tuesday April 12, 2022 @06:56AM (#31000928)
Terrific, thanks.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by magicalhippo on Tuesday April 12, 2022 @09:58AM (#31002830)
While I'm at it... One thing I find annoying in Excel is that it's rather tedious to reference an absolute cell ($B$2) vs a relative cell (C3), especially when I need to reference a handful of each.

The way I work, it would have been better to mark a cell itself as being a "constant" or "input parameter", so that when I reference the cell it is treated as an absolute reference when pasting.

That is, if I reference cell B2 in a formula and paste that formula in a different cell, it is B2 itself that determines if it's a relative or absolute reference, not the way I typed it in the formula.

It's not a huge deal, but it would be one of those nice things that makes life more enjoyable.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by dotancohen on Wednesday April 13, 2022 @01:49AM (#31011582)
Would it not be tedious to mark each cell as constant or input parameter? Perhaps it would be preferable to just ask the fine user when copying a cell with a formula?
Re:Human genes renamed to stop Microsoft Excel from misreadi... by magicalhippo on Wednesday April 13, 2022 @09:27AM (#31014395)
I almost always have <5 such cells in a sheet, typically just 2-3, so I don't think it would be that tedious given you only have to set that once.

In comparison, I often have formulas with over 20 cell references and/or multiple formulas referencing the "constants", so getting asked for each would indeed be tedious.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by kergonath on Monday April 11, 2022 @04:27PM (#30994457)
That’s awesome! Where can we subscribe for any announcement? ;)

To me, a critical one is easy plots. Checking how an arbitrary column changes as a function of an arbitrary other column by adding a scatter plot in less than 5 seconds is fantastic.

Formulae are also very useful. Adding numerical derivatives or integrals by just putting a formula in a new column is very useful as well. The point is not to have publication-quality, highly accurate numbers, but just quick and dirty operations to see if it warrants further investigation.

I am happy to discuss my use cases if you are interested (it might be going a bit out of topic for this thread).

Re:Human genes renamed to stop Microsoft Excel from misreadi... by dotancohen on Tuesday April 12, 2022 @04:36AM (#31000058)
For right now I've started a Git repo but not uploaded any code until I decide on an architecture.

https://github.com/dotancohen/structuresheet

I'll see what cross-platform plotting libraries I can include. Thank you for the idea, I agree it is important. Yes, I am very interested in your use cases! My Gmail username is the same as my HN username.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by mort96 on Monday April 11, 2022 @09:15AM (#30988208)
I'm curious, how do you achieve a strongly-typed database with sqlite?

sqlite's lack of verifying that your data fits in your defined schema is by far my biggest problem with sqlite.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by dotancohen on Monday April 11, 2022 @09:36AM (#30988468)
SQLite has a powerful data-validation function for each column, look for CHECK Constraints: https://www.sqlite.org/lang_createtable.html

But the real nice thing is that SQLite will allow spreadsheet-like behaviour by allowing one to enter an invalid data type. I could check that in Python or I can store it and warn "Invalid type blah blah blah". This will make life easier for those coming from a spreadsheet, or importing data. As the program matures, I can reevaluate what to do with invalid data as a default and what options to give the user.

Additionally, because SQLite allows arbitrary data in any column, adding support for e.g. formulae is greatly simplified.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by simonw on Monday April 11, 2022 @06:07PM (#30995725)
SQLite fixed that a few releases ago with STRICT tables: https://www.sqlite.org/stricttables.html
Re:Human genes renamed to stop Microsoft Excel from misreadi... by ElectricalUnion on Monday April 11, 2022 @09:23AM (#30988293)
check (typeof(column) = 'integer')
Re:Human genes renamed to stop Microsoft Excel from misreadi... by Existenceblinks on Friday April 15, 2022 @11:40PM (#31049218)
> strongly-typed database

Python / Qt / SQLite

I don't see any part that gives a strongly-typed properties.

Do I miss something?

Re:Human genes renamed to stop Microsoft Excel from misreadi... by zozbot234 on Monday April 11, 2022 @09:06AM (#30988112)
Add an extra table mapping id to gui_order, then just write an easy query/report (or edit the one you already have) to give you a view that's ordered by gui_order first. Not that hard, you just need to make the semantics of what you're doing explicit. This is the inherent tradeoff between raw editing on a spreadsheet (quick and dirty, very error prone) and working on something that has real structure to it, reflecting some underlying semantics.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by pelasaco on Monday April 11, 2022 @10:16AM (#30989036)
We are talking about scientists, which are for sure able and used to work through different tools during their career. And we are in 2022. We have good tools that with investment could be a much better fit. Said that, I don't know what one cannot do with i.e RStudio to use Excel for science. In a second moment, python, pandas and notebook are pretty accessible too..
Re:Human genes renamed to stop Microsoft Excel from misreadi... by kergonath on Monday April 11, 2022 @04:40PM (#30994672)
> We are talking about scientists, which are for sure able and used to work through different tools during their career. And we are in 2022.

Scientists are not superhuman. Just like anybody, they’ll jump through a lot of hoops if they think the results justify it, but they are sometimes quite resistant to change for the sake of change, and sometimes even to change itself.

One can be a great chemist or know all there is to know about how purple long-tailed fruit flies from Siberia and have no clue about how computers work. Or be very proficient in a given piece of complex software to process NMR spectra and barely able to operate Outlook. But these people all make do with Excel.

> In a second moment, python, pandas and notebook are pretty accessible too

It’s much heavier, the IDEs are much more complex than Excel, and quite a lot of people on Earth are not natural programmers. Startup time, learning curve, steps to get a useful graph to check a trend, etc. All friction adds up. I’ve seen it countless times: when you show them the results of a complex workflow, they are excited. They start getting distracted when you talk about architecture, and they’re lost when you go into things like pandas and scipy. Then they nod politely, keep doing their stuff in Excel, and call you when they need a bit of wizardry for a paper.

In short, they are regular users, even if the software they use can be highly specific. Ease of use and lack of friction are paramount.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by smcl on Monday April 11, 2022 @08:49AM (#30987961)
That solves one small part of the problem - viewing and editing the data in a UI. But can those tools address the problem raised by jasode?

> "I just sent you an xlsx where the rows highlighted in red are problems and if you can just add your notes to column K, that would be great. Thanks!"

This is a pretty common use-case, and neatly demonstrates a few of the reasons Excel is so popular. Sharing a self-contained DB with a colleague that they can view + edit with software they likely already have, modifying the schema easily on the fly, highlighting some rows. And that's not to mention the programmability - from having a simple "=SUM(...)" cell, to hacking some VBA or the newly introduced Lambda (https://www.microsoft.com/en-us/research/blog/lambda-the-ult...)

I wouldn't personally build anything important with Excel as a sort of DB, but I understand why some people would want to

Re:Human genes renamed to stop Microsoft Excel from misreadi... by kergonath on Monday April 11, 2022 @04:12PM (#30994224)
In an alternate universe we have nice specialised GUI front ends on things like netCDF or SQLite that enable what you say. Or hell, just a spreadsheet-like view over a real database (but with actual names as columns). All the GUIs I have seen are really not up to the task for typical scientific data. They are clunky, heavy, slow, and difficult to use for visualisation. We are not writing new front ends for every type of data, and nobody seems to have written a decent one that could be universal.

Myself (not genomics, but Excel is also some kind of universal medium here as well), I store my data in SQLite files (extracts and summaries anyway; complete datasets take several terabytes), which makes retrieving complex information a breeze. But it needs to be documented and you need to be comfortable with the command line and do any kind of visualisation as a supplementary step. I know of a couple of colleagues doing the same, but we don’t use quite the same format, so data exchange is problematic. I use this setup mostly because I need it to work on remote HPC clusters in addition to a bunch of local workstations, and Excel is out of question there.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by gompertz on Monday April 11, 2022 @09:37AM (#30988478)
Going to piggyback off this comment to ask - does anyone know a lightweight GUI tool to edit/modify SharePoint Lists? Only way I ever found was through the browser which is painful on large data.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by mcv on Monday April 11, 2022 @09:57AM (#30988747)
> The problem is that databases do not include a GUI for data viewing.

Exactly. It baffles me that such a tool still doesn't exist (though elsewhere someone claimed that MS Access is like this; I'm not familiar with it).

Keeping this in the cloud, with a web-based Excel-like interface, where you can share it with anyone you choose, but keep a single source of truth, I think that would be incredibly useful and solve this Excel-misuse issue.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by ableal on Monday April 11, 2022 @10:29AM (#30989248)
Funnily enough, I think one the original IBM PC killer apps was exactly that - dBase III https://en.wikipedia.org/wiki/DBase

MS Access was the usurper of dBase's crown. And then Excel took over ...

Re:Human genes renamed to stop Microsoft Excel from misreadi... by jaclaz on Monday April 11, 2022 @01:05PM (#30991766)
I would mention also (although it didn't have much success in the end) the Borland database, Paradox for Windows:

https://en.wikipedia.org/wiki/Paradox_(database)

I am not at all a programmer, but I remember that at least in early version(s) MS Access (circa 1994, Windows 3.1 times) was well behind Paradox in usability.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by rrrrrrrrrrrryan on Monday April 11, 2022 @01:14PM (#30991877)
Access is literally this, and it never caught on.

The are a ton of benefits to enforcing data integrity like data types, foreign keys, etc., but it also adds a ton of friction. Users encounter tons of frustrating errors while simply copying and pasting things, because certain values aren't allowed in certain columns.

I think you'd need human-readable datatypes displayed beneath each column name, adjustable by just clicking it and changing it in the drop-down, and massive flexibility out of the box. You shouldn't throw hard errors - just visually mark the invalid values red or pink or whatever, and let the user fix then before writing them to the database.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by alex1431999 on Monday April 11, 2022 @02:05PM (#30992544)
There is actually a tool that does exactly what you describe. It's called baserow :) https://baserow.io/

It's open source and hosted in the cloud. It has an excel like interface that you can share and work on with others.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by alex1431999 on Monday April 11, 2022 @02:14PM (#30992578)
There is actually a tool like that, it's called Baserow :)

It does exactly what you mentioned. It's a cloud hosted, database tool with an excel like interface and collaboration features.

It is also open source and can be self hosted, but you can use the oficial website to use it directly without having to use it yourself :)

Re:Human genes renamed to stop Microsoft Excel from misreadi... by ChadNauseam on Monday April 11, 2022 @12:15PM (#30990901)
Forgive my ignorance, but isn't that what Airtable is?
Re:Human genes renamed to stop Microsoft Excel from misreadi... by Aloha on Monday April 11, 2022 @11:04AM (#30989784)
A modern web-based cloud-hosted access implementation would be a killer app for web-2.0.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by charlieyu1 on Monday April 11, 2022 @09:16AM (#30988212)
You are not supposed to have a GUI view when you have 100K+ entries. Excel misguides people to think that database management is easy. The reality is it is not possible to have a GUI view of middle-large databases with millions of entries because it is computationally impossible
Re:Human genes renamed to stop Microsoft Excel from misreadi... by screye on Monday April 11, 2022 @10:14AM (#30989005)
One thing I've learnt over the years, is that users do not care about the inherent complexity of your problem.

Like water, they will always choose the path of least resistance. It is why people would rather copy-paste documents than learn git, despite versioning being inherently complex. It is why people complain about android, but only use 1st party preinstalled apps or freemium ad-infested crap.

Excel works and it is easy. It does not matter how hard the underlying problem is. I hate having to use excel too, but I have found myself periodically relying on it when timelines get too narrow and having a ready-made interactive dashboard is convenient.

That being said, I can't imagine using it for a use-case where the rows-of-interest are greater than a few dozen.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by Aloha on Monday April 11, 2022 @11:11AM (#30989893)
a few thousand or more is practical, it depends on what the data is, if the data is inherently non-relational (a master parts list, a user list, a bunch of logged data points) then all is well, it breaks down based on how big the data set is.. and what the dataset is.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by chasd00 on Monday April 11, 2022 @11:04AM (#30989790)
100k+ is pretty manageable in the Excel GUI. When you get above 1M then it starts getting dicey. I have a junior dev on my team that is very good at python. I only consider him "jr" in the language/tech he's assigned to work on daily, in python i consider him pretty solid.

When we need data work done on csv's larger than I can ask an Analyst to do in Excel I give it to him to write some python against. Finding and exploiting his python skills has won the guy a couple bumps in base pay.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by Aloha on Monday April 11, 2022 @11:09AM (#30989864)
Very much agreed - and the upper limit is a little more fuzzy, and has more to do with file size, record complexity (how many columns), and what you want to do with the data.

At some point the overall pokeyness of excel when dealing with large datasets overcomes the inertia of "everyone already knows it" and "we'd need a environment to spin up something more complex".

Re:Human genes renamed to stop Microsoft Excel from misreadi... by charlieyu1 on Tuesday April 12, 2022 @02:35AM (#30999358)
I’m probably outdated on this, but old Excel format have an upper limit of 65536 rows and the new format has a limit of 1M rows. So that’s where I would estimate the limit of upper bound. Could be less, can’t really think it’s possible to have more.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by JacobThreeThree on Monday April 11, 2022 @09:56AM (#30988735)
>You are not supposed to have a GUI view when you have 100K+ entries.

Why not?

Re:Human genes renamed to stop Microsoft Excel from misreadi... by KronisLV on Monday April 11, 2022 @02:22PM (#30992655)
Would also like to know, seems like a perfect use case for the Flyweight design pattern - just get the total count of records for when needed (e.g. size of scrollbar) and show the stuff that should be on screen at any given moment, loading more in dynamically. Throw in allowing doing operations on ranges that are off screen and you should be good.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by shadowgovt on Monday April 11, 2022 @11:28AM (#30990129)
It's not computationally impossible; it's a hard problem that nobody has solved because they haven't found the niche to monetize it.

A user only has a tiny screen relative to the size of the backing data. The hard part is efficiently fetching the data to populate that screen. But it's not unsolvable; just tricky. Approaches like building realtime indexes speculatively based on likely next user query could help.

Google Sheets actually works a bit like this already, as it's backed by an online datastore.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by Existenceblinks on Friday April 15, 2022 @11:51PM (#31049294)
Non-tech people are used to all-in-one data mindset (load everything into memory manner). The only query type they have experienced is a dumb full-text search. Most people don't have know filter keywords for google search, twitter search etc. Even though they are used to scrolling concept (view portion of data), they have no idea of querying to see 1 interested thing at a time.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by andi999 on Monday April 11, 2022 @09:29AM (#30988382)
Why shd that be computationally impossible?
Re:Human genes renamed to stop Microsoft Excel from misreadi... by gompertz on Monday April 11, 2022 @09:40AM (#30988529)
I think the big point missing in all the comments that suggest linking to the db file and distributing is that it's read-only. Perhaps this is the intent too, but often Excel books are shared for other people's input /additions/ corrections to data. When it's linked to a backend database that's no longer trivial. Whereas just using base rows/ columns it's immediately read & write access.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by mcv on Monday April 11, 2022 @09:52AM (#30988686)
But this is also a problem with using Excel for this. Let two other people edit it, and now you've got 3 different versions of the data. Which one is correct?

Having a single database and giving two other people access to it keeps the data centralised and keeps a single source of truth.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by Aloha on Monday April 11, 2022 @11:13AM (#30989940)
I wish there were modern record oriented databases and processing tools - I've used some of the tools on zOS and that whole mindset of "even the system tools are record aware" so you can use the equivalent of basic UNIX tools to do reporting and data analysis, is pretty powerful.

We could build something that is both as powerful as excel, and easier to use, yet designed for average users to manipulate very large data sets - we just have to chose to do that.

Python has footguns in it, PHP has a confusing standard library, perl is complex, and bash is missing some of the data processing primitives needed.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by zozbot234 on Monday April 11, 2022 @09:02AM (#30988074)
> An all-in-one db+gui tool like MS Access also isn't really an option since it doesn't have the same powerful GUI data manipulation as Excel.

What's missing from a GUI like MS Access or Libreoffice Base? In your example, you can input your comments/annotations (even something like "highlight these rows as having problems") in a separate table without touching the original data, then use a database query/view to look at both seamlessly. It's only a bit more involved than raw editing on a spreadsheet, and it inherently avoids accidental data loss/corruption.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by dotancohen on Monday April 11, 2022 @08:55AM (#30988010)

  > The problem is that databases do not include a GUI for data viewing.
Let's say that I have PyCharm open right now, I'm importing Qt and Sqlite. How would you like your GUI to function? Seriously, write for me a detailed spec and a detailed workflow, and I'll get to work on it already. My Gmail username is the same as my HN username if you'd prefer to collaborate offline.

This invite goes for anybody else who [ab]uses Excel even though they are versed in SQL.

Re:Human genes renamed to stop Microsoft Excel from misreadi... by jraph on Monday April 11, 2022 @09:08AM (#30988122)
SQLiteBrowser is written in Qt and is a GUI for SQLite. That's exactly what came in mind when I read parent's post.

https://sqlitebrowser.org/

Re:Human genes renamed to stop Microsoft Excel from misreadi... by dotancohen on Monday April 11, 2022 @09:26AM (#30988349)
That was my first thought, too. But I think that there is demand for a tool that feels like a spreadsheet, backed by SQLite.
Re:Human genes renamed to stop Microsoft Excel from misreadi... by pixl97 on Monday April 11, 2022 @02:30PM (#30992739)
>MS Access also isn't really an option since

Actually I would change that from your answer to

"Access didn't come with the cheapest version of Office"

Re:Human genes renamed to stop Microsoft Excel from misreadi... by keithalewis on Monday April 11, 2022 @01:54PM (#30992382)
If you know Excel and C++ then you might like https://github.com/xlladdins/xll. It is something I wrote to embed C++ in Excel.