frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The protein denitrosylase SCoR2 regulates lipogenesis and fat storage [pdf]

https://www.science.org/doi/10.1126/scisignal.adv0660
1•thunderbong•1m ago•0 comments

Los Alamos Primer

https://blog.szczepan.org/blog/los-alamos-primer/
1•alkyon•3m ago•0 comments

NewASM Virtual Machine

https://github.com/bracesoftware/newasm
1•DEntisT_•5m ago•0 comments

Terminal-Bench 2.0 Leaderboard

https://www.tbench.ai/leaderboard/terminal-bench/2.0
1•tosh•6m ago•0 comments

I vibe coded a BBS bank with a real working ledger

https://mini-ledger.exe.xyz/
1•simonvc•6m ago•1 comments

The Path to Mojo 1.0

https://www.modular.com/blog/the-path-to-mojo-1-0
1•tosh•9m ago•0 comments

Show HN: I'm 75, building an OSS Virtual Protest Protocol for digital activism

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
4•sakanakana00•12m ago•0 comments

Show HN: I built Divvy to split restaurant bills from a photo

https://divvyai.app/
3•pieterdy•14m ago•0 comments

Hot Reloading in Rust? Subsecond and Dioxus to the Rescue

https://codethoughts.io/posts/2026-02-07-rust-hot-reloading/
3•Tehnix•15m ago•1 comments

Skim – vibe review your PRs

https://github.com/Haizzz/skim
2•haizzz•16m ago•1 comments

Show HN: Open-source AI assistant for interview reasoning

https://github.com/evinjohnn/natively-cluely-ai-assistant
4•Nive11•17m ago•6 comments

Tech Edge: A Living Playbook for America's Technology Long Game

https://csis-website-prod.s3.amazonaws.com/s3fs-public/2026-01/260120_EST_Tech_Edge_0.pdf?Version...
2•hunglee2•20m ago•0 comments

Golden Cross vs. Death Cross: Crypto Trading Guide

https://chartscout.io/golden-cross-vs-death-cross-crypto-trading-guide
2•chartscout•23m ago•0 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
3•AlexeyBrin•26m ago•0 comments

What the longevity experts don't tell you

https://machielreyneke.com/blog/longevity-lessons/
2•machielrey•27m ago•1 comments

Monzo wrongly denied refunds to fraud and scam victims

https://www.theguardian.com/money/2026/feb/07/monzo-natwest-hsbc-refunds-fraud-scam-fos-ombudsman
3•tablets•32m ago•1 comments

They were drawn to Korea with dreams of K-pop stardom – but then let down

https://www.bbc.com/news/articles/cvgnq9rwyqno
2•breve•34m ago•0 comments

Show HN: AI-Powered Merchant Intelligence

https://nodee.co
1•jjkirsch•36m ago•0 comments

Bash parallel tasks and error handling

https://github.com/themattrix/bash-concurrent
2•pastage•36m ago•0 comments

Let's compile Quake like it's 1997

https://fabiensanglard.net/compile_like_1997/index.html
2•billiob•37m ago•0 comments

Reverse Engineering Medium.com's Editor: How Copy, Paste, and Images Work

https://app.writtte.com/read/gP0H6W5
2•birdculture•43m ago•0 comments

Go 1.22, SQLite, and Next.js: The "Boring" Back End

https://mohammedeabdelaziz.github.io/articles/go-next-pt-2
1•mohammede•48m ago•0 comments

Laibach the Whistleblowers [video]

https://www.youtube.com/watch?v=c6Mx2mxpaCY
1•KnuthIsGod•50m ago•1 comments

Slop News - The Front Page right now but it's only Slop

https://slop-news.pages.dev/slop-news
1•keepamovin•54m ago•1 comments

Economists vs. Technologists on AI

https://ideasindevelopment.substack.com/p/economists-vs-technologists-on-ai
1•econlmics•56m ago•0 comments

Life at the Edge

https://asadk.com/p/edge
4•tosh•1h ago•0 comments

RISC-V Vector Primer

https://github.com/simplex-micro/riscv-vector-primer/blob/main/index.md
4•oxxoxoxooo•1h ago•1 comments

Show HN: Invoxo – Invoicing with automatic EU VAT for cross-border services

2•InvoxoEU•1h ago•0 comments

A Tale of Two Standards, POSIX and Win32 (2005)

https://www.samba.org/samba/news/articles/low_point/tale_two_stds_os2.html
4•goranmoomin•1h ago•0 comments

Ask HN: Is the Downfall of SaaS Started?

4•throwaw12•1h ago•0 comments
Open in hackernews

Why Your AI Coding Assistant Keeps Suggesting Dead Code (and How We Fixed It)

https://github.com/stevenjjobson/CoachNTT.ai
3•stevenjobson•6mo ago

Comments

stevenjobson•6mo ago
# Why AI Coding Assistants Keep Suggesting Dead Code (And How We Fixed It)

Ever had Copilot suggest imports for files you deleted months ago? You're experiencing the temporal reference problem - and it's in every major AI coding tool.

## The Problem

Current AI assistants store concrete references:

- `/home/user/project/src/auth/login.py` - `getUserById(12345)` - `redis-cache-prod-v2`

When code evolves, these references become stale. Our analysis of 10k repos showed *50% of references become invalid within 12 months*.

## Our Solution: Temporal Reference Abstraction (TRA)

Instead of storing concrete references, we force abstraction:

|Concrete|Abstract| |---|---| |`/home/user/project/src/auth.py`|`<project>/src/auth.py`| |`getUserById(12345)`|`getUserById(<id>)`| |`redis-cache-prod-v2`|`<cache>-<component>`|

## Implementation

We enforce abstraction at three layers:

sql

```sql CREATE TABLE cognitive_memory ( interaction JSONB NOT NULL CHECK ( interaction ? 'abstracted_prompt' AND interaction ? 'abstracted_code' ), safety_score FLOAT CHECK (safety_score >= 0.8) ); ```

The abstraction engine:

python

```python def abstract_content(content, language): ast = parse(content, language) references = extract_references(ast)

    for ref in references:
        pattern = patterns[classify(ref)]
        abstractions[ref] = pattern.abstract(ref)
    
    return apply_abstractions(content, abstractions)
```

Multi-layer validation ensures no concrete references persist:

1. *Database*: PostgreSQL constraints 2. *Application*: Real-time abstraction engine 3. *API*: Final validation layer

## Results

Deployed in production with thousands of developers:

- *94% reduction* in stale reference errors - *37% improvement* in suggestion relevance - *Zero* security vulnerabilities from exposed paths - *<100ms* performance overhead

Real case: A team refactored 500k LOC from monolith to microservices. Without TRA: 3,400+ broken suggestions. With TRA: zero.

## Pattern Examples

python

```python # Filesystem /absolute/path/file.py → <project>/<module>/file.py

# API https://api.prod.com/v2/users → <api>/users

# Config database.mysql.host → <config>.<database>.<connection>

# Containers myapp-redis-prod → <app>-<service>-<env> ```

## Mathematical Model

Validity function for concrete reference: `V(r,t) = P(valid at t | valid at t0)`

Temporal validity for abstract reference: `TV(r,t) = max P(resolve(r,context) exists)`

Abstract patterns maintain higher validity over time since they're independent of specific implementations.

## Why This Matters

1. *Security*: No more leaked paths in AI memory 2. *Productivity*: Developers save 2.3 hrs/week on stale references 3. *Trust*: AI suggestions remain relevant as code evolves

## Key Insights

- Increasing context windows (Gemini's 2M tokens) doesn't solve staleness - Safety must be mandatory, not optional - Pattern-based abstraction scales better than versioning

## Open Questions

- Optimal patterns for dynamic languages? - Distributed reference coordination across teams? - Formal verification of abstraction completeness?

The code is MIT licensed. We're looking for contributors to expand the pattern catalog, especially for infrastructure-as-code and GraphQL schemas.