June 30th, 2024

Rust FSM-based Resumable Postgres tasks

The "pg_task" project on GitHub manages FSM-based Resumable Postgres tasks. It features granular state machines, error handling, single-table task scheduling, task definition, execution, stopping, and updating guidelines. Licensed under MIT.

Read original articleLink Icon
Rust FSM-based Resumable Postgres tasks

The GitHub repository at the provided URL hosts the "pg_task" project, a library for managing FSM-based Resumable Postgres tasks. Key features include granular state machines for tasks, resuming tasks after errors, and utilizing a single table for task scheduling in Postgres. The tutorial covers defining tasks, error investigation and resolution, task execution by workers, graceful task stopping, and delaying steps. Contributors are advised to run pre-commit checks and update the `README.md` indirectly through modifying the `src/lib.rs` comment and using `cargo-sync-readme`. The project is licensed under the MIT license. For further details and code examples, the GitHub repository can be accessed.

Related

Show HN: High-frequency trading and market-making backtesting tool with examples

Show HN: High-frequency trading and market-making backtesting tool with examples

The GitHub URL leads to the "HftBacktest" project, a Rust framework for high-frequency trading. It offers detailed simulation, order book reconstruction, latency considerations, multi-asset backtesting, and live trading bot deployment.

The Abstraction and Reasoning Corpus

The Abstraction and Reasoning Corpus

The GitHub repository for ARC-AGI provides task data and a testing interface for solving tasks involving input/output pairs within 3 trials. Users can access the tasks and detailed instructions on the repository.

Supabase (YC S20) Is Hiring Postgres SREs

Supabase (YC S20) Is Hiring Postgres SREs

Supabase seeks a Site Reliability Engineer to manage Postgres databases remotely. Responsibilities include enhancing reliability, ensuring high availability, and optimizing performance. Ideal candidates possess multi-tenant database experience, Postgres tools proficiency, and AWS deployment skills. Benefits include remote work, equity, health coverage, and tech allowance.

Show HN: Chrome extension that brings Claude Artifacts for ChatGPT

Show HN: Chrome extension that brings Claude Artifacts for ChatGPT

The GitHub URL provides details on "Artifacts for ChatGPT," covering functionality, inspiration, and future plans. Installation guidance is available, with additional support offered upon request.

Show HN: a Rust lib to trigger actions based on your screen activity (with LLMs)

Show HN: a Rust lib to trigger actions based on your screen activity (with LLMs)

The GitHub project "Screen Pipe" uses Large Language Models to convert screen content into actions. Implemented in Rust + WASM, inspired by `adept.ai`, `rewind.ai`, and `Apple Shortcut`. Open source under MIT license.

Link Icon 1 comments
By @imbolc - 4 months
- FSM-based - each task is a granular state machine - Resumable - on error, after you fix the step logic or the external world, the task is able to pick up where it stopped - Postgres - a single table is enough to handle task scheduling, state transitions, and error processing