frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Interop 2025: A Year of Convergence

https://webkit.org/blog/17808/interop-2025-review/
1•alwillis•1m ago•0 comments

Prejudice Against Leprosy

https://text.npr.org/g-s1-108321
1•hi41•1m ago•0 comments

Slint: Cross Platform UI Library

https://slint.dev/
1•Palmik•5m ago•0 comments

AI and Education: Generative AI and the Future of Critical Thinking

https://www.youtube.com/watch?v=k7PvscqGD24
1•nyc111•6m ago•0 comments

Maple Mono: Smooth your coding flow

https://font.subf.dev/en/
1•signa11•6m ago•0 comments

Moltbook isn't real but it can still hurt you

https://12gramsofcarbon.com/p/tech-things-moltbook-isnt-real-but
1•theahura•10m ago•0 comments

Take Back the Em Dash–and Your Voice

https://spin.atomicobject.com/take-back-em-dash/
1•ingve•11m ago•0 comments

Show HN: 289x speedup over MLP using Spectral Graphs

https://zenodo.org/login/?next=%2Fme%2Fuploads%3Fq%3D%26f%3Dshared_with_me%25253Afalse%26l%3Dlist...
1•andrespi•12m ago•0 comments

Teaching Mathematics

https://www.karlin.mff.cuni.cz/~spurny/doc/articles/arnold.htm
1•samuel246•14m ago•0 comments

3D Printed Microfluidic Multiplexing [video]

https://www.youtube.com/watch?v=VZ2ZcOzLnGg
2•downboots•14m ago•0 comments

Abstractions Are in the Eye of the Beholder

https://software.rajivprab.com/2019/08/29/abstractions-are-in-the-eye-of-the-beholder/
2•whack•15m ago•0 comments

Show HN: Routed Attention – 75-99% savings by routing between O(N) and O(N²)

https://zenodo.org/records/18518956
1•MikeBee•15m ago•0 comments

We didn't ask for this internet – Ezra Klein show [video]

https://www.youtube.com/shorts/ve02F0gyfjY
1•softwaredoug•16m ago•0 comments

The Real AI Talent War Is for Plumbers and Electricians

https://www.wired.com/story/why-there-arent-enough-electricians-and-plumbers-to-build-ai-data-cen...
2•geox•19m ago•0 comments

Show HN: MimiClaw, OpenClaw(Clawdbot)on $5 Chips

https://github.com/memovai/mimiclaw
1•ssslvky1•19m ago•0 comments

I Maintain My Blog in the Age of Agents

https://www.jerpint.io/blog/2026-02-07-how-i-maintain-my-blog-in-the-age-of-agents/
3•jerpint•19m ago•0 comments

The Fall of the Nerds

https://www.noahpinion.blog/p/the-fall-of-the-nerds
1•otoolep•21m ago•0 comments

I'm 15 and built a free tool for reading Greek/Latin texts. Would love feedback

https://the-lexicon-project.netlify.app/
2•breadwithjam•24m ago•1 comments

How close is AI to taking my job?

https://epoch.ai/gradient-updates/how-close-is-ai-to-taking-my-job
1•cjbarber•24m ago•0 comments

You are the reason I am not reviewing this PR

https://github.com/NixOS/nixpkgs/pull/479442
2•midzer•26m ago•1 comments

Show HN: FamilyMemories.video – Turn static old photos into 5s AI videos

https://familymemories.video
1•tareq_•27m ago•0 comments

How Meta Made Linux a Planet-Scale Load Balancer

https://softwarefrontier.substack.com/p/how-meta-turned-the-linux-kernel
1•CortexFlow•27m ago•0 comments

A Turing Test for AI Coding

https://t-cadet.github.io/programming-wisdom/#2026-02-06-a-turing-test-for-ai-coding
2•phi-system•28m ago•0 comments

How to Identify and Eliminate Unused AWS Resources

https://medium.com/@vkelk/how-to-identify-and-eliminate-unused-aws-resources-b0e2040b4de8
3•vkelk•28m ago•0 comments

A2CDVI – HDMI output from from the Apple IIc's digital video output connector

https://github.com/MrTechGadget/A2C_DVI_SMD
2•mmoogle•29m ago•0 comments

CLI for Common Playwright Actions

https://github.com/microsoft/playwright-cli
3•saikatsg•30m ago•0 comments

Would you use an e-commerce platform that shares transaction fees with users?

https://moondala.one/
1•HamoodBahzar•32m ago•1 comments

Show HN: SafeClaw – a way to manage multiple Claude Code instances in containers

https://github.com/ykdojo/safeclaw
3•ykdojo•35m ago•0 comments

The Future of the Global Open-Source AI Ecosystem: From DeepSeek to AI+

https://huggingface.co/blog/huggingface/one-year-since-the-deepseek-moment-blog-3
3•gmays•35m ago•0 comments

The Evolution of the Interface

https://www.asktog.com/columns/038MacUITrends.html
2•dhruv3006•37m ago•1 comments
Open in hackernews

Transactional AI: Saga Pattern for Reliable AI Agent Workflows (v0.2)

https://github.com/Grafikui/Transactional-ai
2•grafikui•3w ago

Comments

grafikui•3w ago
Earlier this week I launched Transactional AI v0.1 to solve a problem I kept hitting: AI agents that half-executed and left systems in broken states.

The core idea: apply the Saga pattern (from distributed systems) to AI workflows. Every step has automatic rollback. If OpenAI succeeds but Stripe fails, the system automatically deletes the AI-generated content and refunds—no manual cleanup.

v0.2 adds production features based on feedback:

Distributed Execution (v0.2.0):

Redis-based distributed locking (prevents race conditions with multiple workers) PostgreSQL storage adapter (ACID compliance for regulated industries) Retry policies with exponential backoff (handles flaky LLM APIs) Observability & Reliability (v0.2.1):

Event hooks for monitoring (12 lifecycle events: step start/complete/fail/timeout/retry, compensation events, transaction lifecycle) Per-step timeouts (kill hung OpenAI calls after 30s) Testing utilities (in-memory storage/locks, no Redis/Postgres needed for tests) Example:

const tx = new Transaction('workflow-123', storage, { lock: new RedisLock('redis://localhost'), events: { onStepTimeout: (step, ms) => alerting.sendAlert(`${step} hung after ${ms}ms`), onStepFailed: (step, err, attempt) => logger.error(`${step} failed`, { err, attempt }) } });

await tx.run(async (t) => { const report = await t.step('generate-ai-report', { do: async () => await openai.createCompletion({...}), undo: async (result) => await db.reports.delete(result.id), retry: { attempts: 3, backoffMs: 2000 }, timeout: 30000 });

  await t.step('charge-customer', {
    do: async () => await stripe.charges.create({...}),
    undo: async (charge) => await stripe.refunds.create({ charge: charge.id }),
    timeout: 10000
  });
}); If anything fails: Automatic rollback in reverse order. Report deleted, payment refunded.

Architecture:

TypeScript, 21 passing tests, strict mode Storage adapters: File (dev), Redis (performance), Postgres (ACID), Memory (tests) Lock adapters: NoOp (single process), Redis (distributed), Mock (tests) CLI inspector: tai-inspect for debugging transaction state No heavyweight orchestration engines (Temporal, AWS Step Functions). Just a 450-line TypeScript library.

Production readiness: 8.0/10 (up from 6.5 in v0.1)

Considering for v0.3.0: compensation retry policies, parallel steps, OpenTelemetry integration, MongoDB/DynamoDB adapters.

GitHub: https://github.com/Grafikui/Transactional-ai NPM: npm install transactional-ai

Happy to answer questions about the implementation, saga patterns, or production experiences!