Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Oura's $2.2B IPO is mostly a payday for existing shareholders (techcrunch.com)
    —discuss
  2. Fauci warned of miscarriage risk linked to Covid vaccine while publicly claiming (nypost.com)
    —discuss
  3. To Understand AI, Think Like a Dragonfly (noemamag.com)
    —discuss
  4. NASA quietly removed SR-71 from storage amid X-plane push (aviationweek.com)
    —discuss
  5. Show HN: Drift – A clickable map of ideas unfolding from single question (demo) (echohive.ai)
    —discuss
  6. Geely's AI fast charging 'heals' EV batteries for 20% more cycle life (electrek.co)
    —discuss
  7. Hosted MoQ (Media over QUIC) (moq.pro)
    —discuss
  8. We Learned to Stop Worrying and Love Campus Surveillance (fnl.mit.edu)
    1comments
  9. Forging 1024-bit RSA signatures in nearly SNFS time (github.com/ucsd-hacc)
    —discuss
  10. Tell HN: Stop emailing HN users with deceptive AI spam
    —discuss
  11. How are you conforming to EU Cyber Resilience Act (CRA) reporting rules? (europa.eu)
    —discuss
  12. AI-Powered PDF Extraction for Finance (pedfs.com)
    —discuss
  13. Pluto: A StarCraft Brood War neural network trained by self-play RL (github.com/tscmoo)
    —discuss
  14. A new way to manage memory: no garbage collection, extremely fast & safe access (ulanguage.org)
    —discuss
  15. Ask HN: Central Benchmark for All the Sandboxes?
    —discuss
  16. Show HN: I made a 3D rock climbing analysis tool using iPhone LiDAR [video] (youtube.com)
    1comments
  17. Efficient Build Dependency Verification Using eBPF and Incremental Analysis (acm.org)
    —discuss
  18. How I Could've Accessed 17 Trillion Microsoft Records (faav.net)
    —discuss
  19. Do your employees use your product? (00f.net)
    —discuss
  20. Jev Benchmarks
    —discuss
  21. Europe needs 'decisive change' in defence efforts to face Russia threat (reuters.com)
    —discuss
  22. MapLiberator: The maps you make are yours (mapliberator.com)
    —discuss
  23. Ask HN: Who's still keeping a DOS machine up because the business depends on it?
    —discuss
  24. OpenAI Keeps Hacking and Hacking and (securityboulevard.com)
    —discuss
  25. Ask HN: LM Studio Bionic with Python
    —discuss
  26. Show HN: AgentLens – Replay and compare Codex runs (github.com/fang520huang-lgtm)
    —discuss
  27. Why CAFEBABE? (artima.com)
    2comments
  28. Supreme Court permits states to use SAVE database for citizenship checks (cyberscoop.com)
    19comments
  29. Bug: Border radius has infected VSCode editor (github.com/microsoft)
    —discuss
  30. Watch Steve Jobs in the full 'Antennagate' video before it gets erased again (appleinsider.com)
    —discuss

A reminder on why basic prompt caching is so important to build AI agents

2 pointsby 59m agorevefi.com
1 comments
59m agoHN ↗

At Revefi, we made an interesting mistake with prompt caching for our agent - adding the current timestamp into the system prompt. We solved it by adding it to the suffix. At first, we didn't think much about it - but then we started seeing the same mistake with our customers' agents (we work in the AI tokenomics space). So we thought we'd share our 2 cents about it.

I know there's a lot literature out there about the theory of prompt caching, but hopefully an explainer on how we did things wrong and how we fixed it will be insightful to read.

https://www.revefi.com/blog/how-revefi-reduced-its-data-agen...