75 karma · joined Feb 6, 2019 (7y ago) · 66 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
We're off and running, making the world's best configurators for complex products. Our first clients love us. Our configurators implement some very personal ideas about front-end state management, and it's really a thrill to see it all working with real products, 3d rendering and zero latency.
comment 2y ago · link · parent
comment 2y ago · link · parent
Then, in Octopus you also get reporting nodes and visualisation, which, once tasted, no return.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
The closest thing I'm aware of is Jotai. Atoms in jotai can take dependencies on other atoms, so forming a graph.
Reporting nodes in Octopus are, I believe, completely new. You can create nodes that select their predecessors with a filter function. So the "totalPrice" node takes a dependency on any node with a price property, and recalculates when anything with a price changes.
comment 2y ago · link · parent
19.
Show HN: Octopus – a directed acyclic graph for app development(github.com ↗)
84 points · by bbsimonbb · 2y ago · 47 comments
comment 3y ago · link · parent
So I decided "I'm going to make a directed acyclic graph that hosts everything: your state, your UI oninput handlers, your data fetching. That way, your state lives with the methods that modify it, in nodes, and everything will be consistent all the time, because the graph will know which nodes to recalculate when any node changes. Then as a bonus, we'll be able to visualize the emergent structure of our apps, live, in a super devtools."
24.
Show HN: A directed acyclic graph for managing state in SPA's(github.com ↗)
1 points · by bbsimonbb · 3y ago · 1 comment
comment 3y ago · link · parent
Software is a new industry, we're only just starting to get it right, and put behind us a litany of failed projects and methodologies. Every decision in a software company has a technical aspect. I personally am absolutely over non-technical managers and the aberrant strategies and directions they set out on. In my jaundiced view, any software company not led by developers is just waiting to be blown out of the water.
But don't let that detract from an intelligent, heart-felt and thought-provoking article :-)
comment 3y ago · link · parent
comment 3y ago · link · parent
For 6 years now, we've had tools that let you use sql as a language, then generate the wrapper exposing your query to your app as a method. (queryfirst, pgtyped, pugsql, sqlc) This is (or could be) a paradigm shift. It's clearly, demonstrably a superior way of working, but it exists on the fringes because ORMs (and this unchanging discussion) have sucked all the oxygen.