Author: Hessam Mehr
-
What’s been going on this summer?
The summer of 2024 was our busiest and most exciting by far. A lot of wonderful people joined the group; a few have already left and some are already thinking about coming back. Read on for a sneak peek at what we’ve been up to and the faces behind all the action. New faces in…
-
Welcoming Josu
We are delighted to welcome Josu to the group. Josu is visiting us from the Public University of Navarre (UPNA)’s celebrated UPNALAB group, well known for their creative solutions touching human-computer interaction, different domains of engineering, physics, and yes, chemistry. He will be staying with us until early July as he looks at the possibilities…
-
Reactive and dataflow programs using SQLite — Part 3: Reacting to data changes
In part 2, we explored parallels between SQL and Prolog and saw how to use a view like a logic query, that is, to ask questions that always use the most up-to-date inputs. In this part, we’ll introduce a new facility called triggers, which are SQLite’s way of running an action in response to incoming…
-
The “optimiser” paper: Mapping out a path between optimisation and discovery
Our latest collaborative output with the Cronin group, codenamed “Chemputer Optimiser” is out in Nature Communications. Work on this paper started many years ago while I was still a post-doc in the Cronin group, and continued throughout the pandemic. As expected with an open-ended project like this, we had to stop many times and ask…
-
Reactive and dataflow programs using SQLite — Part 2: Prolog as a database
Update: Code blocks on this post are now live. you can edit and run them thanks to the wonderful Codapi and CodeMirror projects, running locally in your browser via WASM. In this second post we will look at the parallels between logic programming and databases, and between views in a relational database and reactive programs.…
-
Reactive and dataflow programs using SQLite — Part 1: A bit of background
tldr: Using views and triggers (interfacing with a host runtime like Python), it is possible to implement a neat reactive/dataflow system in plain old SQLite. Inputs like events and user data are continuously transformed to outputs like commands using relational logic. We take a look at how easy it is to build a small example…