News for hackers. Stuff that matters.
Re:Luckysheet, an open-source spreadsheet by rwmj on Thursday July 30, 2020 @05:07AM (#23996078)
I wish people wouldn't copy Excel (or Google apps for that matter). Those spreadsheets are terrible. It still baffles me that none of them can do sideways scrolling correctly, they are all incredibly awkward to edit, the formulae are fundamental to how they work yet hidden and obscure, they do weird "magical" stuff to strings like turning them into numbers or dates when you didn't ask, etc.

I'd really like to see people explore new paradigms. Something that has the functionality of a spreadsheet but looks nothing like current spreadsheets.

Re:Luckysheet, an open-source spreadsheet by radva42 on Thursday July 30, 2020 @06:22AM (#23996487)
I had the same thought as you and started working on something that can be described as "AirTable meets Webflow". It's basically a no-code database with drag-and-drop page builder: tables are created and linked together (like in AirTable) and interactive pages are designed to work with that data (like in WebFlow). So in other words users don't directly use a spreadsheet-like UI to work with the data. Instead they use custom-designed pages - it is both much more powerful (e.g. fully scriptable, multiple pages can be linked to form more complex workflows, which wouldn't be even possible with spreadsheets) and yet easier to use. Oh, and it's self-hosted. Judging by the response from users it does seem like something like this is really needed.

I put some pretty crude demos online about a year ago [0] ... back then the idea was to create a more general purpose no-code web app builder, but since then I decided to focus specifically on database applications.

[0] https://www.formbeaver.com

Re:Luckysheet, an open-source spreadsheet by chrispsn on Thursday July 30, 2020 @09:18AM (#23997741)
When you say 'has the functionality of a spreadsheet but looks nothing like current spreadsheets', what do you mean?

I am working on Mesh Spreadsheet. It gives you a spreadsheet UI that writes code as text. It will likely use k9 as the formula language once it matures, but:

- you can try the JavaScript prototype at this link: http://mesh-spreadsheet.com

- you can see a proof of concept video using k here: https://www.youtube.com/watch?v=CEG9pFNYBCI

Re:Luckysheet, an open-source spreadsheet by i_don_t_know on Friday July 31, 2020 @12:00PM (#24010010)
That‘s pretty cool.

One reason I prefer Apple Numbers to Excel is that in Numbers you arrange tables on a canvas. The tables can refer to each other. I think it makes it easier to work with, for example, an input table and an output table because they are separate entities and not just different ranges on the same grid. It’s similar to how some websites enable you to configure a dashboard view of multiple tables and charts.

Your presentation reminded me of that, specifically the view of how you implemented the tool in itself. But you’re using one large table rather than a collection of tables on a canvas.

I’m wondering if the Numbers approach might work better. In particular it might be more natural for dynamic arrays because they would not “overlay” a range of cells. They would be their own dynamically resizing table on the canvas. This might lead to something like Spreadsheet 2000: https://en.m.wikipedia.org/wiki/Spreadsheet_2000

Re:Luckysheet, an open-source spreadsheet by chrispsn on Friday July 31, 2020 @08:58PM (#24016262)
Thanks! I have been considering this!

It might impact the 'flow' of modelling eg using automatic cell names like 'A1'. And it might complicate storing the sheet as text (might need to store more complex layout info than 'table is at coordinates x,y').

But it could also make layout easier, eg tables underneath each other could have different column widths. Could use CSS flow layout.

I also hadn't heard of Spreadsheet 2000 - great reference, thanks.

BTW - I think of the Mesh spreadsheet as a canvas, just a 'discrete' one as opposed to continuous. In theory, if the grain is fine enough (eg 1 character width of a monospace font), then you might be able to get the best of both discrete and continuous approaches.

Re:Luckysheet, an open-source spreadsheet by i_don_t_know on Saturday August 01, 2020 @03:42AM (#24018536)
Speaking of automatic cell names ‘A1’, the other thing I prefer about Numbers is that you can name columns and use the name in formulas. For example, you might have a table “Sales” with columns “Item”, “Number Sold”, “Item Price”, and “Total”. The formula for all cells in column “Total” is

=‘Item Price’ * ‘Num Sold’

Instead of =B1C1, =B2C2, etc. You’re doing something similar with the name cell, but with separate tables you can designate column headers and row headers, and use them to reference cells. For example, in another table you might say: =SUM(‘Sales :: Total’) to sum up column “Total” in table “Sales”.

(I might be getting the syntax wrong here, you don’t type this in, you “option-click” on the cell you want to reference and it inserts the reference.)

This is optional, you can still do A1, B4, etc and sometimes that’s what you get when you use the same name for two columns in order to disambiguate. But in general it makes it easier validate your spreadsheet, I think.

I believe the approach to naming goes back to Lotus Improv: https://en.m.wikipedia.org/wiki/Lotus_Improv

I think Quantrix Modeler is also based on the ideas of Improv.

Come to think of it, there was Javelin in the 1980, that you might find interesting. It’s not a spreadsheet but it was used for financial modeling and time series: https://en.m.wikipedia.org/wiki/Javelin_Software

But those are quite far departures and might not be where you want to go. I just wanted to point them out in case you hadn’t heard of them. (I’ve only heard of them but I have never used them, so I cannot say how good or bad they worked in daily life.)

Re:Luckysheet, an open-source spreadsheet by chrispsn on Saturday August 01, 2020 @06:06AM (#24019250)
> you can name columns and use the name in formulas

You can do that in Excel too: whether it's the whole column of a sheet, or a column of a table - syntax for latter is `someTable[someColumnName]`. Mesh will have the latter, albeit with different syntax.

Thank you for the links! I will have a look. There's a deep history.

Re:Luckysheet, an open-source spreadsheet by i_don_t_know on Saturday August 01, 2020 @06:51AM (#24019445)
I didn’t know Excel supported that too. Nice. I should have guessed, it does a lot of things.
Re:Luckysheet, an open-source spreadsheet by rwmj on Thursday July 30, 2020 @09:48AM (#23998051)
The problem is exactly that I don't know what I mean. That's why I think yet another Excel clone - whether it's free or works on the web or not - is not interesting.

Your talk was interesting, thanks.

Re:Luckysheet, an open-source spreadsheet by mthoms on Thursday July 30, 2020 @02:54PM (#24001658)
Hi, what's K9? My Google searches in combination with "formula and/or language" gave me only dog related results.
Re:Luckysheet, an open-source spreadsheet by rwmj on Thursday July 30, 2020 @05:28PM (#24003043)
I believe he is talking about: https://shakti.com/ which confusingly is a version(?) of K https://aplwiki.com/wiki/K hence K9.
Re:Luckysheet, an open-source spreadsheet by chrispsn on Friday July 31, 2020 @09:24AM (#24008309)
Yes, that's it.
Re:Luckysheet, an open-source spreadsheet by adrianmsmith on Thursday July 30, 2020 @06:15AM (#23996439)
> It still baffles me that none of them can do sideways scrolling correctly

Ironically the original version of Google Sheets could do sideways scrolling correctly. At some point (maybe around 2010?) to be more like Excel.

Re:Luckysheet, an open-source spreadsheet by continuational on Thursday July 30, 2020 @05:39AM (#23996228)
I rather like the Airtable concept - it feels like a spreadsheet, but the columns are typed, and it can do joins.

It's a shame that it's so limited (50,000 rows in the most expensive plan).

Re:Luckysheet, an open-source spreadsheet by ptman on Thursday July 30, 2020 @06:38AM (#23996579)
https://baserow.io/ is promising
Re:Luckysheet, an open-source spreadsheet by hexmiles on Thursday July 30, 2020 @09:51AM (#23998097)
They really are, i want a self-hosted airtable so bad...

I just found out you can sponsor them: https://github.com/sponsors/bram2w

Re:Luckysheet, an open-source spreadsheet by hoistbypetard on Thursday July 30, 2020 @09:48AM (#23998055)
That looks really interesting. I hadn't run across it yet. Thanks.
Re:Luckysheet, an open-source spreadsheet by paulhodel on Friday July 31, 2020 @01:20PM (#24010953)
Re:Luckysheet, an open-source spreadsheet by kgwxd on Thursday July 30, 2020 @07:12AM (#23996797)
I just happened across https://www.calcapp.net/ yesterday while doing research for a project I'm currently working on that requires similar features.
Re:Luckysheet, an open-source spreadsheet by asplake on Thursday July 30, 2020 @05:47AM (#23996277)
Terrible, but extraordinarily successful.