Henri Bergius

asCallback: embedding NoFlo graphs in JavaScript programs

It has always been easy to wrap existing JavaScript code into NoFlo graphs — just write a component that exposes its functionality via some ports. Going the other way and exposing a NoFlo graph to JS land was also possible but cumbersome. With NoFlo 0.8.3 we now made it super easy with the new asCallback API. Let’s say you have...

NoFlo 0.8 is out now

After several months of work, NoFlo 0.8 is finally out as a stable release. This release is important in that it brings the Process API for NoFlo components to general availability, paving way for the 1.x series. Process API We introduced Process API in the 0.7 series last summer, but at that stage it wasn’t deemed good enough for production...

Building NoFlo browser applications with webpack

I was looking at some of the Stack Overflow noflo questions yesterday, and there were a few related to building NoFlo for the browser. This made me realize we haven’t really talked about the major change we made to browser builds recently: webpack. Originally NoFlo was designed to only run on Node.js — the name itself is a portmanteau for...

Redux-style middleware with NoFlo

This post talks about some useful patterns for dataflow architecture in NoFlo web applications. We’re using these concepts to build Flowhub, the flow-based programming IDE. Flux is an application architecture for web applications published by Facebook back in 2014. It uses a unidirectional data flow heavily inspired by flow-based programming concepts — events are sent from views to a dispatcher,...

Working on an Android tablet, 2017 edition

Back in 2013 I was working exclusively on an Android tablet. Then with the NoFlo Kickstarter I needed a device with a desktop browser. What followed were brief periods working on a Chromebook, on a 12” MacBook, and even an iPad Pro. But from April 2016 onwards I’ve been again working with an Android device. Some people have asked me...

Process API for NoFlo components

It has been a while that I’ve written about flow-based programming — but now that I’m putting most of my time to Flowhub things are moving really quickly. One example is the new component API in NoFlo that has been emerging over the last year or so. Most of the work described here was done by Vladimir Sibirov from The...

The Grid: Web Design by Artificial Intelligence

As mentioned last year, I’m working on a Artificial Intelligence that can do web design. It is called The Grid. Last week I gave a talk at Lift Conference explaining how it all works. If you can’t see the video embed above, it is also available on the Livestream site and YouTube.

Sailing across the Atlantic

Exactly a year ago today we flew from Berlin to Tenerife to depart on a sailing trip across the Atlantic on the Finnish sail training schooner T/S Helena. The Grid had just reached 10.000 founding members, and it was time to charge batteries before the next big push towards the beta. I had sailed on Helena once before, on a...

Nemein has a new home

When I flew to Tenerife to sail across the Atlantic in late November, there was excitement in the air. Nemein — the software company I started in 2001 with Henri Hovi and Johannes Hentunen, and left later to build an AI-driven web publishing tool — was about to be sold. Today, I’m happy to tell that Nemein has been acquired...

Flowhub Kickstarter delivery

It is now a year since our NoFlo Development Environment Kickstarter got funded. Since then our team together with several open source contributors has been busy building the best possible user interface for Flow-Based Programming. When we set out on this crazy adventure, we still mostly had only NoFlo and JavaScript in mind. But there is nothing inherently language-specific in...