What are good web based node-based programming env...
# present-company
j
What are good web based node-based programming environments for implementing simple arithmetic and boolean logic?
Honestly couldn't find anything better than https://devwulf.github.io/vso/ or https://app.g-script.io/ and run into bugs in both already..
All the node programming solutions are purpose built, and probably for a reason, daaamn these are painful to use..
m
@Jarno Montonen a little late but we built (but no longer maintain) something that might work for you: https://flower.aspen.cloud/ You can work with tables and CSV files but can also just work with single number values
g
@Jarno Montonen one hard (and sad) conclusion I have reached while working on Flyde was that such actions are not suitable for node-based programming. I found that inline scripts (such as simple inline JS) is best for such operations
@Matthew Linkous cool project! where can I read more about it (and the reason you stopped)? PS: I see you were also using BlueprintJS for the UI šŸ˜‰
m
Excel-like formulas are the gold standard for basic arithmetic from our research
We stopped working on Flower bc we realized it lived in this ā€œuncanny valleyā€ between business users who prefer working excel and developers who prefer a real programming lang. Especially because we learned how Excel PowerPivot basically serves the same need for non-technical folks
g
Thanks for sharing. Sounds somewhat familiar šŸ™‚
j
@Matthew Linkous thanks for sharing! I don't think this does boolean algebra though?
m
Can you give an example of what youā€™re imaging? Are you hoping for conditional paths?
j
Yeah, like the conditions in these. I wanted to try to implement this job billing calculator in the common no-code paradigms: blocks, nodes and spreadsheets and compare to how my structured natural language does against them.
I must be the most biased person in the world, but the test made me very confident about structured natural language for this kind of stuff. Spreadsheets certainly have their strengths, but Excel formulas are just painful to use. Today I spent the whole day working on a more complex excel thingy and o'boy did I wish I could've just used my editor for writing the formulas.
Well, tbf the example doesn't even have boolean algebra, but conditionals yes
m
Basically howā€™d you do it in Flower. You can use filters to create separate tables or use formulas to create new columns. In this case the formula is
Wage * MIN(80, Hours) + MOD(Hours, 80) * Wage * 1.2
to setup pay. Unlike Excel we actually support column names
j
Okay, interesting approach! Don't think I've seen anything like that before. I was just looking for "greater than" node. btw, 80 hours a day would certainly warrant some extra pay šŸ˜„
m
Gonna burn the midnight oil (and warp time) when working at a startup lol
j
and won't need an overtime pay calculator at all..
too bad you couldn't find a product-market-fit for flower. it seems like it could be able to fix the difficulty of tracking what's happening in a more complicated spreadsheet while still benefiting from the strengths of tabular presentations
m
Yeah well itā€™s open-source and weā€™re executing on something much cooler now so itā€™s all good
d
Iā€™ve been working with Paul Dancstep on a node-based algebra solving environment, which Iā€™ll probably write about soon, but thereā€™s a demo here: you can drag operators in from the sidebar, wire them together, then reverse dependencies within a construction to ā€˜solve forā€™ one of your previously independent variables. And you can visualize and manipulate it all in a complex plane on the right side of the screen https://digital-abacus.vercel.app/
Iā€™d like to write more about this soon, also Paulā€™s written a bit about the project here: http://digitalabacus.org/DigitalAbacusGames.pdf
j
nice, but not quite what I was looking for