-
Crafting next-generation reaction containers out of mists of tiny particles
Hi everyone! My name is Zhang Luokun, a master student of Advanced Functional Materials from the University of Glasgow. I am currently working as an intern in the Mehr research group. Two years ago, I came to Glasgow after finishing my undergraduate studies in China. For my program, I learnt the synthesis technology and characterisation…
-
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…