Cetra's Thoughts

Synchronizing state with Websockets and JSON Patch
A simple and extendable, almost realtime, state-sharing method for frontend and backend
rust 2023-01-29
At formlogic, we are using rust for a number of components within our tech stack, including: internal and external web applications, coordinating and logging machining workflows, parsing an industrial domain specific language (G-Code), and more. One of th…
Publishing Rust types to a TypeScript frontend
Common libraries and projects used to share types from a Rust web backend to a TypeScript frontend
rust typescript 2022-09-13
When building in a strongly-typed language such as rust it's a shame to have to throw this strictness away, especially when dealing with the wild west of frontend stacks. The bigger the project is, the more you want to keep things cohesive. This cohesion …
Implementing a Job queue with SQLx and Postgres
An example of async postgres in rust
rust tmq sqlx 2020-06-26
SQLx is a new async SQL Toolkit for rust that is closer to standard SQL than a more opinionated ORM like Diesel. I wanted to give it a bit of a test run and see how easy it would be to convert usage from tokio-postgres. So as the next saga in the jobq se…
Drawing SVG Graphs with Rust
Using tera to draw SVG graphs with rust
rust lorikeet 2020-05-22
I have just released the first version of lorikeet-dash and part of that exercise was to find out a way to draw SVG graphs using rust. I thought my findings & approach may be useful for others looking to do the same thing and so I have documented the …
Implementing a Job queue with Tokio-Serde
An async background job queue written with tokio-serde
rust async 2020-05-13
In the last blog of this series, I implemented job queue with tmq. I noted back then that tmq is great if you need to interact with other languages, but may be a little overkill if you are just using rust. I wondered what it'd take to build the job queu…
Page 1 of 3 Next