Skip to content
AI NEWS JOURNAL
AI, IN PERSPECTIVE

Search AI news

Search headlines, summaries and articles to connect the dots.

Newest first

Show HN: Deccy – software engineering as decision management

Hi HN,We built deccy out of frustration from working with coding agents.Although we love the speed that AI has brought to our work, we also want to have control over what we build. While it's not impossible to keep up with the changes AI makes, it is significantly more difficult when compared to writing code ourselves.We realised that what we cared about most was not controlling every line of the implementation, but preserving our intent (we especially hated when agents would wrongly guess what we wanted). We iterated through planning and spec-driven methods, but found that both writing our own plans/specifications and reading AI-generated versions was tedious and exhausting.Eventually, we decided to split the specifications up into the decisions that make them up, and get agents to do the boring work of tracking and bookkeeping. deccy is the first realisation of this idea. We're already working on the next iteration, but we wanted to share the mental model we developed.There's a long way to go from here, and we'd really love any feedback :) Comments URL: https://news.ycombinator.com/item?id=50483376 Points: 1 # Comments: 0

Show HN: I created a library for correctly using SQLite in Go programs

Using SQLite in Go is deceptively easy. If you just import the popular github.com/mattn/go-sqlite3 as the database/sql driver implementation and start making queries, things will work great until you start hitting SQLITE_BUSY errors as traffic increases.Then you go down the same path of many gophers before you, finding GitHub and forum posts providing conflicting information on best practices for pragma values and connection handling.So I created https://github.com/cattlecloud/litesqlWhich provides a nice abstraction, making it easy to accidentally do the right things when using SQLite in your Go program. In particular it pools connections for read transactions and isolates a dedicated write connection for writes. It also sets pragma values to much more reasonable defaults, like isolation levels, foreign keys, cache sizes, etc. On top it provides a nice abstraction for creating periodic snapshots with retention policies. There is also litesqltest for one-line test database creation in unit tests.Hopefully you or your agents might find it useful. Comments URL: https://news.ycombinator.com/item?id=50453176 Points: 1 # Comments: 0

Show HN: Realtime sync engine without any new infra

Tandem is an open-source sync engine and client-side database that plugs into your existing infrastructure. Add the Tandem library to sync data in real time across your clients and server, without deploying any new services.I started work on Tandem 6 years ago as a side project. I was frustrated by the sync engine landscape at the time, thinking I could build a better DX and require less lock-in. Even now, sync engine companies and “full-stack databases” need you to migrate to their database or provision a separate service with auth, networking, etc. This makes them annoying to maintain and also harder to adopt incrementally.Tandem is designed to just be embedded into your existing frontend and backend code. You define a schema, set up a database adapter (any SQL-like database is supported), add the new sync endpoint to your existing API, and then you're good to go.Tandem uses DST (Deterministic Simulation Testing) on every PR and nightly to ensure correctness. Our DST system Gatekeeper lets us model not only storage and network failures, but also race conditions, by gating each call between client/server/other services independently.Tandem currently supports any React-based frontend, any serverful backend (like Cloudflare Durable Objects), and any SQL-like database. New adapters are easy to build, and PRs and issues are appreciated!Open-source and MIT licensed: https://github.com/tanishqkancharla/tandem Comments URL: https://news.ycombinator.com/item?id=50398763 Points: 1 # Comments: 0