frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: What happens when we do compress the context in Claude Code?

3•tbharath•55m ago
What happens when we do compress the context in claude code? How does the reduce the context with out loosing the details?

Comments

verdverm•42m ago
The idea is that you create a summary with sufficient details, or you trim things away, depending on the method, but you do in fact lose exact details.

The impacts of this are not well known and likely depend on model, harness, and session. (hunch)

bubblebeard•36m ago
Not an expert, but, when you give Claude, or any AI agent a query it will usually need to do research, use various tools, execute commands etc. and all of this accumelates text in the conversation thread. Each subsequent query in a thread submits the entire conversation to the API, potentially consuming an unnecessary amount of tokens. Compression attempts to solve this by removing irrelevant information. For example, the entire output from a CURL query and how the AI thought about it might not be needed, having the resulting outcome might be enough. Since compression is also performed by the API though it may be worth it, or not, it always depends on the situation at hand. This is my understanding of it anyways.

Trump Caught Between Apple and Micron in Fight over Chinese Chips

https://www.wsj.com/tech/trump-apple-micron-china-chips-784bbd3d
1•thewebguyd•24s ago•0 comments

Gattaca and the quiet Doomsday of genetic determinism

https://thebulletin.org/premium/2026-07/gattaca-and-the-quiet-doomsday-of-genetic-determinism/
1•bookofjoe•2m ago•0 comments

Minecraft punishes casual players. I made a datapack to fix it [video]

https://www.youtube.com/watch?v=zyRH8W58fRI
1•theNotFractured•3m ago•0 comments

How to Write a Git Commit Message (2014)

https://cbea.ms/git-commit/
1•downbad_•3m ago•0 comments

First spatially resolved spectral-index map of a black hole's event horizon

https://www.eurekalert.org/news-releases/1136724
1•MarcoDewey•3m ago•0 comments

Why do some languages feel weirdly familiar?

https://www.thecambridgelanguagecollective.com/linguistics/why-do-some-languages-feel-weirdly-fam...
1•theanonymousone•3m ago•0 comments

Amen Break

https://en.wikipedia.org/wiki/Amen_break
2•root-parent•5m ago•0 comments

Politician reads AI prompt during assembly

https://www.youtube.com/watch?v=wlYa8NV5k-U
1•root-parent•8m ago•0 comments

Lone dev spends 2 years figuring out how to make anyone 10 times more productive

https://www.taskloco.com/
1•taskloco_nyc•12m ago•0 comments

Re: I Stopped "Creating Content"

https://unattributed.cc/re-why-i-stopped-creating-content
1•speckx•12m ago•0 comments

Hermes AI agent used to automate attack on Thai Finance Ministry

https://www.bleepingcomputer.com/news/security/hermes-ai-agent-used-to-automate-attack-on-thai-fi...
1•Brajeshwar•12m ago•0 comments

The Chuwi MiniBook X N150, One Year Later

https://taoofmac.com/space/reviews/2026/07/25/1700
1•rcarmo•18m ago•0 comments

Writing a (valid) C program without main()

https://labs.iximiuz.com/tutorials/c-program-without-main-a1eea557
8•birdculture•18m ago•0 comments

The End of Physical Games: What We Lost When Games Went Digital [video]

https://www.youtube.com/watch?v=EkWZGv9hRVs
1•vinhnx•20m ago•0 comments

Show HN: Free mentor for learning programming languages, fast and efficient

https://github.com/KubiKDB/AI-Tools-For-Learning
1•superquizonline•23m ago•0 comments

Wildfires Overrun NASA Deep Space Communications Complex in Spain

https://newscord.org/article/wildfires-overrun-nasa-deep-space-communications-complex-in-robledo-...
2•OgsyedIE•26m ago•0 comments

Virginia study on groundwater, data centers calls for tighter water regulations

https://apnews.com/article/data-centers-virginia-groundwater-gov-spanberger-study-564e5d3c2520190...
2•1vuio0pswjnm7•27m ago•0 comments

Wind turbine is being used to produce zero-carbon "green ammonia" fertilizer

https://energiesmedia.com/wind-turbine-stopped-electricity-wind-water-air/
31•speckx•29m ago•9 comments

MouthPad: Human-Mouth Interface [video]

https://www.youtube.com/watch?v=xReyIF5pwRo
2•mgh2•29m ago•0 comments

ChatGPT invoked God, told pastor not to worry about his symptoms

https://www.wionews.com/trending/chatgpt-invoked-god-told-pastor-not-to-worry-about-his-symptoms-...
3•theanonymousone•30m ago•1 comments

Show HN: Less-pager-mini: What a cross-platform pager would be like

https://github.com/dawsonhuang0/Less-Pager-Mini
2•dawson0•31m ago•1 comments

Zig by Example

https://zigbyexample.neocities.org/
3•signa11•32m ago•0 comments

C/C++ Path Library

https://likle.github.io/cwalk/
2•ankitg12•32m ago•0 comments

FreeBSD ports frozen after someone commits the 150MB Linux Copilot binary

https://www.osnews.com/story/145593/freebsd-ports-frozen-after-someone-commits-the-entire-150mb-l...
3•birdculture•32m ago•0 comments

Soccer outcome probabilities are calculated

https://ronikobrosly.github.io/blog/2026/7/23/soccer_sim/
2•venice_dev•33m ago•0 comments

Timed YouTube video transcripts in .txt and .pdf

2•cristyg0101•34m ago•0 comments

Laserbrain: The Smart Recursion Harness

https://phronesis.world/laserbrain/
2•theanonymousone•34m ago•0 comments

Apple's Robo-Repo

https://pluralistic.net/2026/07/25/cruel-cruelty-oh-cruelty/#digital-arm-breakers
3•nashashmi•36m ago•0 comments

Just Surf

https://ben.page/surf
2•pavel_lishin•36m ago•0 comments

Most Common English Words, 1953 vs. 2023

https://pudding.cool/2026/07/essential-words/
2•e8d08f•37m ago•0 comments