News for hackers. Stuff that matters.
Re:Rete – JavaScript framework for node-based visual program... by c-rack on Sunday October 07, 2018 @03:55PM (#18162324)
The name reminds me on the Rete algorithm, which is pretty cool, but unrelated:

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

Re:Rete – JavaScript framework for node-based visual program... by hodgesrm on Sunday October 07, 2018 @07:16PM (#18163144)
I found the name confusing for exactly this reason. Rete is a big deal in rule-based systems.
Re:Rete – JavaScript framework for node-based visual program... by kjhughes on Monday October 08, 2018 @12:09AM (#18164072)
Agreed. It's such a unique name for a classic algorithm and is so thoroughly established in symbolic pattern matching for production systems that I'd seriously recommend against adopting it for any other purpose in CS.
Re:Rete – JavaScript framework for node-based visual program... by madrox on Sunday October 07, 2018 @03:05PM (#18162110)
Any time I see something like this I'm reminded of Yahoo Pipes and how ahead of its time it was. Is there anything like it that's designed for enterprise ETL these? It occurs to me it's a much better way of thinking about data flow problems than code.
Re:Rete – JavaScript framework for node-based visual program... by agumonkey on Sunday October 07, 2018 @04:18PM (#18162422)
Node based / dataflow UI are also the bread and butter of CGI and compositing industry. It's hyper efficient both for machine because it's often freely memoized/cached and user (think of it as a simplified haskell at your fingertips) because the stateless and unlimited-undo aspects.

I'm still pretty sure it should be the default UI for half computer introduction. Text for the rest, with the right paradigm of course.

Re:Rete – JavaScript framework for node-based visual program... by codetrotter on Sunday October 07, 2018 @08:14PM (#18163326)
Node based user interfaces can be great indeed. Unreal Engine 4 has a visual scripting system called Blueprints that is very impressive. https://docs.unrealengine.com/en-US/Engine/Blueprints

Another example of a node based user interface can be found in the open source 3d modeling and animation software Blender. https://docs.blender.org/manual/en/dev/render/blender_render...

The open source virtual modular synthesizer VCV Rack is node based as well, though it is so “by nature” in the sense that hardware modular synthesizer work in fashion of connecting inputs and outputs with patch cables. https://www.vcvrack.com/

When done right, as all of the three I mentioned above in my opinion do, node based user interfaces are great.

Not all node based user interfaces are equally good. I used LabView a bit at a course at the university and did not enjoy their system. The LabView node based user interface felt very clunky the whole time, even for doing simple things.

I’ve been wondering occasionally whether certain kinds of data processing that I am doing with Unix tools could benefit from a graphical system.

It’s not that I am not comfortable with the command line, but even as a rather die-hard user of Linux and FreeBSD I must admit that the command line has several shortcomings.

Of course, designing a graphical successor to Unix pipelines is a major undertaking that will require through thought. But I think that keeping that idea in the back of ones mind while implementing some smaller node based systems could eventually lead to realization of most if not all of the considerations that must be kept in mind for the design of a graphical successor to Unix pipelines.

Re:Rete – JavaScript framework for node-based visual program... by monstrado on Sunday October 07, 2018 @10:41PM (#18163799)
Two come to mind.

Apache NiFi: http://nifi.apache.org/

StreamSets: https://streamsets.com/opensource/

Side note, I'm an Apache NiFi committer and have had great success using it for enterprise ETL in a previous role.

Re:Rete – JavaScript framework for node-based visual program... by tmikaeld on Monday October 08, 2018 @12:05AM (#18164060)
Seems likestreamsets don't include a visual designer in the open source core? And no price, which seems standard with ETLs

https://streamsets.com/subscriptions

Re:Rete – JavaScript framework for node-based visual program... by oldmanhorton on Sunday October 07, 2018 @03:33PM (#18162236)
I think https://flow.microsoft.com/en-us/ intends to be an enterprise version of this idea, but I've never used it.
Re:Rete – JavaScript framework for node-based visual program... by ptrott2017 on Sunday October 07, 2018 @04:11PM (#18162387)
for enterprise ETL - there is also kettle which has been around for a long time- which has a desktop and web authoring client. https://github.com/pentaho/pentaho-kettle
Re:Rete – JavaScript framework for node-based visual program... by statictype on Monday October 08, 2018 @02:56AM (#18164729)
We have one that's a little more complex than Yahoo Pipes. Small Demo: https://s3.amazonaws.com/ecyber.public/lucy-use-cases/1/vide...

http://lucy.iviva.com

Re:Rete – JavaScript framework for node-based visual program... by bpicolo on Sunday October 07, 2018 @07:56PM (#18163274)
Domo[0]. Their visual ETL is pretty good.

https://www.domo.com/

Re:Rete – JavaScript framework for node-based visual program... by pjmlp on Monday October 08, 2018 @02:55AM (#18164727)
Yes, Bizztalk would be one of them.
Re:Rete – JavaScript framework for node-based visual program... by pierrec on Sunday October 07, 2018 @11:11PM (#18163895)
This seems great for creating smaller graphs as long as they don't get too complex. I'm kind of obsessed with node-based environments for DSP and media stuff (Reaktor, vvvv, and many others). Whenever my graphs attain some level of complexity, some features become very important such as selecting/operating on multiple nodes and most of all grouping. Rete.js doesn't seem to be quite there yet (no multi select? and Modules only hint at proper grouping), but it's definitely on the way.
Re:Rete – JavaScript framework for node-based visual program... by Immortalin on Monday October 08, 2018 @11:50AM (#18168523)
Re:Rete – JavaScript framework for node-based visual program... by gedy on Sunday October 07, 2018 @02:48PM (#18162031)
Really nice, haven't figured out what it's capable of, but reminds of a similar interface I wrote from scratch about 15 year ago in Java Swing. Blows me away how powerful browsers and JS have become. Really amazing that you can do this with so few lines of code, compared the (tens of?) thousands lines I wrote to do similar.
Re:Rete – JavaScript framework for node-based visual program... by outofpaper on Sunday October 07, 2018 @05:09PM (#18162629)
Node Red is an other node based visual programming tool that is inspired by Yahoo pipes.
Re:Rete – JavaScript framework for node-based visual program... by freen on Sunday October 07, 2018 @10:46PM (#18163815)
The recurring problem I've found with node-based visual programming is that it's very challenging to work with multiple layers of abstraction and that refactoring can be incredibly challenging.
Re:Rete – JavaScript framework for node-based visual program... by otakucode on Monday October 08, 2018 @02:37AM (#18164641)
Those are definitely two of the major problems that need to be solved for visual programming to really work. Many people look at the problems and just throw up their hands, but I personally think they can be solved. I look at things like people building giant systems in Minecraft, something definitely not even designed for laying out logic or processing, and the way they talk about the physicality and geometry of the processing they lay out suggests to me that some breakthroughs might be right around the corner. Years ago when Supreme Commander was released (the game), they introduced an interface where you held down Ctrl and scrolled the mouse wheel in order to 'zoom' from high level overviews all the way down to single unit detail. It felt so intuitive and natural after using it for a bit that I found myself accidentally trying to do it in a file manager application after exiting the game. I think that would work for visual programming as well. And who knows the possibilities that VR brings along....
Re:Rete – JavaScript framework for node-based visual program... by Kranar on Sunday October 07, 2018 @04:27PM (#18162454)
Is there a way to represent recursive nodes or recursion in general?
Re:Rete – JavaScript framework for node-based visual program... by Ni55aN on Sunday October 07, 2018 @05:30PM (#18162736)
It can be represented visually, but the engine does not support processing recursive nodes
Re:Rete – JavaScript framework for node-based visual program... by feiss on Sunday October 07, 2018 @03:44PM (#18162274)
This is nice, great job! I started one framework very similar a couple of years ago, but never finished. I'm going to take a good look at this :)
Re:Rete – JavaScript framework for node-based visual program... by kumarvvr on Monday October 08, 2018 @09:14AM (#18167067)
Anyone know a similar thing in Python? Need it to integrate it into a project.
Re:Rete – JavaScript framework for node-based visual program... by zoggenhoff on Sunday October 07, 2018 @07:56PM (#18163275)
Looks good. Time to brush up on my websockets and glue this into something.