Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. A Call for Control of Frontier AI Models(government.nl)
    discuss
  2. Why banning AI in the classroom will not be enough(theconversation.com)
    discuss
  3. Show HN: Cookbook – a workspace for your team and agents(cookbook.team)
    1comments
  4. Does an open-weight decision model beat a hosted one? Jev vs. Laya(astgl.com)
    discuss
  5. Zero-downtime Linux kernel zero-day mitigation via eBPF and SECCOMP(github.com/mc493)
    discuss
  6. Show HN: a0flow — paid micro-APIs for AI agents, x402/USDC, no signup(a0flow.com)
    discuss
  7. International Conference on Functional Programming (ICFP) 2026 talks released(youtube.com)
    discuss
  8. What does this assembly code do?(pagetable.com)
    1comments
  9. AgentsView(agentsview.io)
    discuss
  10. Playing with Jev for Daily Questions(yesno.fyi)
    discuss
  11. MiMo-v2.6-Flash(mi.com)
    discuss
  12. HTTP QUERY Method: The Grey Zone Between Get and Post(sans.edu)
    discuss
  13. The Apple Watch Has a Problem(YouTube – Marques Brownlee) [video](youtube.com)
    discuss
  14. Tell HN: Substack obfuscating text to break reading mode
    discuss
  15. DoorDash Agrees to $131.5M Settlement for Shortchanging Workers(nytimes.com)
    1comments
  16. Claude Opus 5.5 (High Effort) Intelligence, Performance and Price Analysis(artificialanalysis.ai)
    discuss
  17. Faster and local Jev like model for Mac(github.com/mizorewww)
    discuss
  18. Show HN: Botzilla – Web automation using visual scripting(botzilla.dev)
    discuss
  19. Show HN: Notes on Agentic AI – A text-first guide for practicing engineers(github.com/mrsachindixit)
    discuss
  20. Enjoy Every Sandwich(bradmontague.substack.com)
    discuss
  21. Shipping our game to twelve platforms on day one(m2h.nl)
    discuss
  22. Show HN: Last Internet Connection(github.com/rubinoslaw)
    discuss
  23. Harper Lee first edition novel found in Oxfam shop(bbc.com)
    discuss
  24. Meta Tests Muse AI Agent Calls That Are Made by Humans in a Call Center(404media.co)
    discuss
  25. Unreal Agent(github.com/unreallabsai)
    1comments
  26. Show HN: Parametric, low-poly assets for BIM/CAD(3dassetstudio.com)
    discuss
  27. Show HN: Dragonfly – an API client that understands your Express/Next.js routes(usedragonfly.xyz)
    discuss
  28. ADIE – Beyond Prediction. Toward Verifiable Decisions(robertbudai.github.io)
    discuss
  29. An update on how we confirm your age group on Discord(discord.com)
    discuss
  30. Linux at Long Last and GPLv3(obscura.com)
    1comments

Should TypeScript support runtime types instead of relying on Zod?

2 pointsby 1h agotwitter.com
1 comments
1h agoHN ↗

I recently noticed how much code is spent simply producing an enormous amount of Zod schemas and unit tests around them. Yeah, I know someone will say that people don't read code anymore anyway. But I do. I still like code, and I still have doubts about the quality of coding agents, but that's another topic ;)

Long story short, I experimented with the TypeScript compiler and built a small playground showing how I imagine runtime types could work in TypeScript.

https://nola.sh/playground/?example=types