frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

After 10 years, we're past peak RGB, but don't celebrate yet, stealth PC purists

https://www.tomshardware.com/pc-components/after-10-years-were-past-peak-rgb-but-dont-celebrate-yet-stealth-pc-purists
1•LorenDB•1m ago•0 comments

Apple's Liquid Glass in the Browser

https://specy.app/blog/posts/liquid-glass-in-the-web
1•halb•1m ago•0 comments

The iPhone SE was the best phone Apple ever made, and now it's dead (2018)

https://techcrunch.com/2018/09/14/the-iphone-se-was-the-best-phone-apple-ever-made-and-now-its-dead/
1•Bluestein•2m ago•0 comments

Ireland Is Failing Palestine

https://blog.paulbiggar.com/ireland-is-failing-palestine/
1•reillyse•2m ago•0 comments

Testing the directional relationship between social media use and materialism

https://www.sciencedirect.com/science/article/abs/pii/S0191886924004070
1•tcfhgj•3m ago•0 comments

CNCF Slack workspace will be converted from an enterprise plan to a free plan

https://www.cncf.io/blog/2025/06/16/cncf-slack-workspace-changes-coming-on-friday-june-20/
1•ashnehete•6m ago•0 comments

Free access Udemy (1 day) – ML for EEG feature extraction. Practical Course

https://www.udemy.com/course/machine-learning-python-for-neuroscience-practical-course/?couponCode=8E7D652B0E84B1A45BD9
1•GaredFagsss•9m ago•0 comments

Glass Cage iOS 18.2 Vulnerability

https://substack.com/home/post/p-165608310
2•uartz•9m ago•0 comments

Halt and Catch Fire Syllabus

https://bits.ashleyblewer.com/halt-and-catch-fire-syllabus/
1•occamschainsaw•10m ago•0 comments

Websites Are Tracking You via Browser Fingerprinting

https://engineering.tamu.edu/news/2025/06/websites-are-tracking-you-via-browser-fingerprinting.html
2•gnabgib•10m ago•0 comments

PEP 779 – Criteria for supported status for free-threaded Python

https://peps.python.org/pep-0779/
1•thijsvandien•11m ago•0 comments

"A Crowd-Driven Platform That Lets People Vote

2•Mimikasunny•13m ago•0 comments

Show HN: Low-level Handwritten Digit recognition

https://github.com/AxelMontlahuc/CNN
2•axxderotation•15m ago•0 comments

Fast multiplayer 3D renderer, written in Rust

https://github.com/eschwart/blazed-demo
2•splurf•15m ago•0 comments

Show HN: I built an app to remember what I learn from articles and videos

https://apps.apple.com/us/app/curio-save-learn-retain/id6745309852
1•ssthomas•16m ago•0 comments

She Won. They Didn't Just Change the Machines. They Rewired the Election

https://thiswillhold.substack.com/p/she-won-they-didnt-just-change-the
2•sammyjoe72•17m ago•1 comments

Flock Safety Response to Illinois LPR Data Use and Out-of-State Sharing Concerns

https://www.flocksafety.com/articles/flock-safetys-response-to-illinois-lpr-data-use-and-out-of-state-sharing-concerns
1•toomuchtodo•18m ago•1 comments

Salter vs. Meta Platforms, Inc. Decision and Order (3/18/2024) [pdf]

https://business.cch.com/plsd/SaltervMetaPlatforms3-18-24.pdf
1•1vuio0pswjnm7•18m ago•0 comments

GPT-4o shows humanlike patterns of cognitive dissonance moderated by free choice

https://www.pnas.org/doi/10.1073/pnas.2501823122
4•PaulHoule•19m ago•1 comments

We Are All Victor Frankenstein: Our Romantic Dream of Artificial Intelligence

https://voegelinview.com/we-are-all-victor-frankenstein/
1•scruple•20m ago•0 comments

Earliest evidence of humans in the Americas confirmed in new study

https://news.arizona.edu/news/earliest-evidence-humans-americas-confirmed-new-u-study
1•geox•21m ago•0 comments

What's Wrong with That?: How Israel Trained and Armed an ISIS-Linked Gaza Milita

https://www.haaretz.com/israel-news/2025-06-11/ty-article-magazine/.premium/whats-wrong-how-israel-trained-and-armed-an-isis-linked-gazan-crime-militia/00000197-5aa3-deed-a9bf-5fef7d990000
1•cempaka•21m ago•0 comments

Show HN: Built a one-time tool for small biz owners who hate subscriptions

https://ordia.techwizardlabs.org/
1•perrii•23m ago•1 comments

Developer Resume as a VSCode UI

https://snouzy.com/
1•vvoyer•23m ago•0 comments

Pattern matching and exhaustiveness checking algorithms implemented in Rust

https://github.com/yorickpeterse/pattern-matching-in-rust
1•fanf2•23m ago•0 comments

Fed's Powell warned there'd be places in the US where you 'can't get a mortgage'

https://finance.yahoo.com/news/jerome-powell-quietly-warned-thered-134000578.html
2•healsdata•25m ago•1 comments

In-Memory C++ Leap in Blockchain Analysis

https://caudena.com/the-in-memory-c-leap-in-blockchain-analysis/
1•caudena•25m ago•0 comments

Revelations on the History of Leprosy in the Americas

https://www.pasteur.fr/en/press-area/press-documents/revelations-history-leprosy-americas
1•gmays•26m ago•0 comments

Real Risk to Youth Mental Health Is 'Addictive Use,' Not Screen Time Alone

https://www.nytimes.com/2025/06/18/health/youth-suicide-risk-phones.html
2•koolba•26m ago•0 comments

The Fundamentalist Fallacy

https://medium.com/politically-speaking/the-fundamentalist-fallacy-40b9c5027bae
1•squircle•26m ago•0 comments
Open in hackernews

Show HN: I built a lightweight tRPC alternative to ease LLMs working with APIs

https://github.com/PeterOsinski/ts-typed-api
3•piterrro•4h ago

Comments

piterrro•4h ago
After building several full-stack applications, I discovered that Large Language Models (LLMs) face significant challenges when implementing features that span both backend and frontend components, particularly around API interfaces.

The core issues I observed:

- API Contract Drift: LLMs struggle to maintain consistency when defining an API endpoint and then implementing its usage in the frontend

- Context Loss: Without a clear, shared contract, LLMs lack the contextual assistance needed to ensure proper integration between client and server

- Integration Errors: The disconnect between backend definitions and frontend consumption leads to runtime errors that could be prevented

The Solution: Leverage TypeScript's powerful type system to provide real-time feedback and compile-time validation for both LLMs and developers. By creating a shared contract that enforces consistency across the entire stack, we eliminate the guesswork and reduce integration issues. A small NPM module with only dependency of Zod:

https://github.com/PeterOsinski/ts-typed-api

I already used it in a couple of projects and so far so good. LLMs don't get lost even when implementing changes to APIs with dozens of endpoints. I can share a prompt I'm using that instructs LLM how to leverage definitions and find implementations.

Let me know what you think, feedback welcome!