frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

How do you map runtime text back to source code without source maps?

1•ryan_rudd•16h ago
I’m building a dev tool that tries to do "reverse rendering"—you click an element on the frontend, and it opens the source code that generated it in your IDE.

I’ve got the easy stuff working perfectly. If the DOM says <p>Hello World</p> and the code contains return <p>Hello World</p>, my AST chunker + vector embeddings find it instantly.

But I’m hitting a wall with dynamic data.

If the user sees Tuesday, Dec 23 on the screen, the code responsible is usually something like:

{date ? new Date(date).toLocaleDateString(...) : 'TBD'}

My current approach (chunking the file and embedding the chunks) fails hard here.

Embeddings fail: The semantic vector for "Tuesday" is miles away from toLocaleDateString.

Grep fails: Obviously, the string "Tuesday" doesn't exist in the file.

I really want to avoid instrumenting the build pipeline (e.g., no custom Babel plugins adding data-source attributes) because I want this to work on "plain" repos.

Has anyone successfully bridged this gap? I'm considering using an LLM to "hallucinate" the source code based on the UI text before searching, but that feels slow/expensive.

How would you solve this?

Rationality, Reward, and Sleep Training

https://dogdogfish.com/blog/2026/01/10/rationality-psychology-sleep-training/
1•matthewsharpe3•3m ago•0 comments

Ask HN: If AI wins, don't AI companies lose?

1•SuboptimalEng•4m ago•0 comments

Meet ski map artist James Niehues, the 'Monet of the mountains'

https://adventure.com/ski-map-artist-james-niehues/
1•gyomu•9m ago•0 comments

Show HN: Symfreq – Analyse symbol frequencies in code (Rust)

https://github.com/vaskort/symfreq
2•vaskort•12m ago•0 comments

The NIH has lost its scientific integrity. So we left

https://www.statnews.com/2026/01/10/nih-resign-protest-four-leaders-cite-interference-censorship/
3•mikhael•16m ago•0 comments

The Many Meanings of "Stack"

https://ezzeriesa.notion.site/The-many-meanings-of-stack-bc768cb186714b579547b7b8681ee32f
1•kurinikku•16m ago•0 comments

Show HN: Understand your Claude Code sessions

https://confabulous.dev
1•jjak82•18m ago•0 comments

Ask HN: What tools/workflow do you use to write technical books?

1•JSLegendDev•20m ago•0 comments

The Trust Trap: Why Bad Actors Are Moving from Burner Domains to Big Tech

https://www.urlert.com/blog/trust-trap-bad-actors-big-tech
3•tomerhe•21m ago•0 comments

If users notice your software, you're a loser

https://pivot-to-ai.com/2026/01/10/if-users-notice-your-software-youre-already-a-loser/
1•fasterandworse•23m ago•0 comments

Nine (Seemingly Impossible C64 Demo) (2025)

https://www.linusakesson.net/scene/nine/index.php
2•s4i•24m ago•0 comments

Open‑source VANTRUE dashcam stitcher (front and cabin PiP)

https://github.com/SteveClement/vantrue-dashcam-stitcher
1•SteveClement•25m ago•1 comments

The O'Shaughnessy Fellowships and Grants Program

https://forms.osv.llc/fellowships2026
1•cat-whisperer•27m ago•0 comments

Out-of-Context: Constrained Tool Based Exploration of Context

https://www.gojiberries.io/out-of-context-constrained-tool-based-exploration-of-context/
1•neehao•28m ago•0 comments

Iran's Revolutionary Guards declare 'red line' on security as protests escalate

https://www.france24.com/en/middle-east/20260110-iran-s-revolutionary-guards-declare-red-line-on-...
3•mooreds•35m ago•0 comments

MVP = Embarrassing

https://www.mooreds.com/wordpress/archives/3725
1•mooreds•35m ago•0 comments

Show HN: webrtc-rs/rtc – A Sans-I/O WebRTC Stack for Rust

3•rainliu•36m ago•2 comments

Retrotransposon drives cancer by altering 3D genome structure

https://www.stjude.org/media-resources/news-releases/2026-medicine-science-news/retrotransposon-d...
1•birriel•36m ago•0 comments

Beginner Race – Marble Madness (FM Towns) Music

https://www.youtube.com/watch?v=nDjRZ674c_4
1•doener•37m ago•0 comments

Monterey County bans short-term rentals in unincorporated areas

https://www.sfgate.com/bayarea/article/calif-county-votes-short-term-rental-ban-21285928.php
2•abustamam•37m ago•0 comments

Show HN: MCP Server for Job Search

https://github.com/jobswithgpt/mcp
4•sp1982•38m ago•0 comments

Kubernetes Was Overkill. We Moved to Docker Compose and Saved 60 Hours

https://medium.com/engineering-playbook/kubernetes-was-overkill-we-moved-to-docker-compose-and-sa...
2•firesteelrain•41m ago•2 comments

SpaceX gets FCC approval to launch 7,500 more Starlink satellites

https://techcrunch.com/2026/01/10/spacex-gets-fcc-approval-to-launch-7500-more-starlink-satellites/
1•geox•42m ago•0 comments

Annote: Writing Java using only annotations

https://github.com/kusoroadeolu/annote
1•tempodox•43m ago•0 comments

Show HN: Horizon Engine – C++20 3D FPS Game Engine with ECS and Modern Renderer

https://github.com/jackthepunished/horizon-engine
1•bhdr26k•44m ago•1 comments

Optimism with Footnotes

https://www.gatesnotes.com/the-year-ahead-2026
1•mooreds•45m ago•0 comments

Bryan Johnson Sought Control via Confidentiality Agreements

https://www.nytimes.com/2025/03/21/technology/bryan-johnson-blueprint-confidentiality-agreements....
2•simonebrunozzi•46m ago•0 comments

Answer Set Programming (PDF, 2019)

https://www.cs.utexas.edu/~vl/teaching/378/ASP.pdf
2•tempodox•47m ago•0 comments

Python NumPy Tutorial with Jupyter and Colab (CS231n)

https://cs231n.github.io/python-numpy-tutorial/
2•astdb•47m ago•0 comments

Just updated CommitGuard's landing page, does it explain the product?

https://commitguard.ai
1•moshetanzer•50m ago•1 comments