Feed aggregator

Portable C Compiler

Hacker News - Sat, 02/07/2026 - 6:59pm
Categories: Hacker News

Show HN: Kokki – A "Dual-Core" System Prompt to Reduce LLM Hallucinations

Hacker News - Sat, 02/07/2026 - 6:58pm

I built a system prompt architecture that forces LLMs (like Gemini 3.0 / Claude 4.5) to self-audit before responding.

It splits the model into two personas:

Agent: Generates the draft.

Auditor: Critiques the draft for logic errors and hallucinations.

The Code (Gist): [https://gist.github.com/ginsabo/9d99ee98068d904b214be9351f09...]

I also wrote a documentation book about the theory, but the Gist above is fully functional and free to use. I'd love to hear your feedback on this "User-Side Safety" approach.

Comments URL: https://news.ycombinator.com/item?id=46929709

Points: 1

# Comments: 0

Categories: Hacker News

Software Engineering Transformation 2026

Hacker News - Sat, 02/07/2026 - 6:57pm

Article URL: https://mfranc.com/blog/ai-2026/

Comments URL: https://news.ycombinator.com/item?id=46929700

Points: 1

# Comments: 0

Categories: Hacker News

Is the 'Death of Reading' Narrative Wrong?

SlashDot - Sat, 02/07/2026 - 6:48pm
Categories: SlashDot

Tell HN: Yet Another Round of Zendesk Spam

Hacker News - Sat, 02/07/2026 - 6:40pm

They're back at it again after last week (https://news.ycombinator.com/item?id=46890418).

Comments URL: https://news.ycombinator.com/item?id=46929545

Points: 1

# Comments: 0

Categories: Hacker News

Postgres Message Queue (PGMQ)

Hacker News - Sat, 02/07/2026 - 6:36pm

Article URL: https://github.com/pgmq/pgmq

Comments URL: https://news.ycombinator.com/item?id=46929512

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: Django-rclone: Database and media backups for Django, powered by rclone

Hacker News - Sat, 02/07/2026 - 6:33pm

django-rclone bridges Django's database layer with rclone's file transfer layer. You get native database dumps piped directly to any of rclone's 70+ supported cloud storage backends -- no temp files, no intermediate archives, no Python reimplementations of what rclone already does.

Comments URL: https://news.ycombinator.com/item?id=46929481

Points: 1

# Comments: 1

Categories: Hacker News

Show HN: AI agent forgets user preferences every session. This fixes it

Hacker News - Sat, 02/07/2026 - 6:29pm

I build AI agents for work and kept hitting the same issue: a user corrects the agent, the session ends, and the correction is gone. Next session, same correction. I tracked it across our users and the average preference gets re-corrected 4+ times before people just give up. Existing solutions don't really solve this. Memory layers store raw conversation logs. RAG retrieves documents. Neither extracts what the user actually wants as a structured, persistent preference. So I built pref0. It does one thing: extracts structured preferences from user corrections and compounds confidence across sessions. How it works in practice. Say you're building a customer support agent:

Session 1: User says "always escalate billing issues to a human, don't try to resolve them." pref0 extracts billing_issues: escalate_to_human, confidence 0.55.

Session 4: User flags a billing ticket the agent tried to auto-resolve. pref0 reinforces the preference. Confidence hits 0.85.

Session 7: A billing issue comes in. The agent routes it to a human without being told. No correction needed.

Now multiply that across hundreds of users. Each one teaching your agent slightly different things. pref0 maintains a structured profile per user (or team, or org) that your agent reads before every response.

The API is intentionally minimal. Two endpoints: POST /track: send conversation history after a session. pref0 extracts preferences automatically. GET /profiles/{user_id}: fetch learned preferences before the agent responds.

A few design decisions: > Explicit corrections ("don't do X") score higher than implied preferences. Stronger signal. > Preferences are hierarchical: user > team > org. New team members inherit org conventions on day one. > Confidence decays over time so stale preferences don't stick forever.

This isn't a replacement for memory. Memory stores what happened. pref0 learns what the user wants. You can run both side by side.

Works with LangChain, CrewAI, Vercel AI SDK, or raw API calls. Free tier available -> https://pref0.com/docs

Would love feedback on the approach, especially from anyone building agents with repeat users.

Comments URL: https://news.ycombinator.com/item?id=46929447

Points: 4

# Comments: 0

Categories: Hacker News

DevXT – Building the Future with AI That Acts

Hacker News - Sat, 02/07/2026 - 6:23pm

Article URL: https://devxt.com

Comments URL: https://news.ycombinator.com/item?id=46929394

Points: 2

# Comments: 4

Categories: Hacker News

Pages