frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Pg-typesafe – Strongly typed queries for PostgreSQL and TypeScript

https://github.com/n-e/pg-typesafe
3•n_e•1h ago
Throughout my career, I tried many tools to query PostgreSQL, and in the end, concluded that for what I do, the simplest is almost always the best: raw SQL queries.

Until now, I typed the results manually and relied on tests to catch problems. While this is OK in e.g., GoLang, it is quite annoying in TypeScript. First, because of the more powerful type system (it's easier to guess that updated_at is a date than it is to guess whether it's nullable or not), second, because of idiosyncrasies (INT4s are deserialised as JS numbers, but INT8s are deserialised as strings).

So I wrote pg-typesafe, with the goal of it being the less burdensome: you call queries exactly the same way as you would call node-pg, and they are fully typed.

It's very new, but I'm already using it in a large-ish project, where it found several bugs and footguns, and also allowed me to remove many manual type definitions.

Global warming forced scientists to change the way they look at El Niño

https://www.cnn.com/2026/02/17/weather/el-nino-global-warming-pacific-ocean
1•Bender•49s ago•0 comments

How Anthropic evaluated computer use models

https://www.kernel.sh/blog/anthropic
1•mesto1•2m ago•0 comments

The Bitter Lesson

https://www.artfintel.com/p/the-bitter-lesson
1•verdverm•2m ago•0 comments

An methodology for new business development in the GenAI era

1•leading-AI•3m ago•0 comments

Faster package builds using Icecream and a Mac

https://iovec.net/2026-01-26
1•PaulHoule•3m ago•0 comments

Reading an Ancient Comic Strip

https://www.nationalgeographic.com/trajan-column/
1•zeristor•3m ago•0 comments

Composition-RL: Compose Verifiable Prompts for Reinforcement Learning of LLMs

https://arxiv.org/abs/2602.12036
2•gmays•4m ago•0 comments

Bild AI (YC W25) Is Hiring Interns in SF

https://account.ycombinator.com/
1•rooppal•5m ago•1 comments

Trump Is Tearing Apart the North American Auto Industry

https://jacobin.com/2026/02/trump-auto-industry-us-canada
1•djkivi•6m ago•0 comments

AI dev team that plans and ships, not just generates code

1•bohdokas•6m ago•0 comments

Show HN: We built a free VC platform that shares data between GPS and founders

https://vistaley.com/
1•jamesatistari•7m ago•0 comments

Rethinking Data Ingestion as a DAG

https://falconer.com/notes/rethinking-data-ingestion-dag/
1•nimbus3001•7m ago•0 comments

Claude Code Playbooks for Non-Coders

https://www.claudecodehq.com/
3•Danielopol•8m ago•1 comments

Canadians promised to boycott travel to US. They meant it

https://www.usatoday.com/story/travel/2026/02/12/canadian-tourism-us-decline/88632515007/
4•djkivi•9m ago•0 comments

Show HN: NBA-API-ts – Zero-dep TypeScript client for 138 NBA stats endpoints

https://github.com/gek0z/nba-api-ts
2•gek0z•9m ago•1 comments

Show HN: Maravel Framework 10.63 avoids runtime reflection on DI

https://marius-ciclistu.medium.com/maravel-framework-10-63-avoids-runtime-reflection-on-di-e097ab...
2•marius-ciclistu•10m ago•0 comments

I'm not skeptical of AI anymore

https://medium.com/@richardjli/im-not-skeptical-of-ai-anymore-46d5c2d2ac68
2•in-silico•11m ago•0 comments

A real use case for local models?

https://olegselajev.substack.com/p/finally-a-real-use-case-for-local
2•shelajev•11m ago•1 comments

Print your own Mount Everest on a 3D printer (open source, web based)

https://terrain.modelrift.com/
3•jetter•13m ago•0 comments

One Page of Async Rust

https://dotat.at/@/2026-02-16-async.html
3•fanf2•14m ago•0 comments

Meta to retire messenger desktop app and messenger.com in April 2026

https://dzrh.com.ph/post/meta-to-retire-messenger-desktop-app-and-messengercom-in-april-2026-user...
3•SoKamil•16m ago•0 comments

First Cybercab Produced in Texas

https://twitter.com/sawyermerritt/status/2023825550012485907
3•the_sleaze_•16m ago•1 comments

Britain lost 14,000 pubs, a quarter, in 13 years

https://laurenleek.substack.com/p/britain-lost-14000-third-places-they
1•jmsflknr•17m ago•0 comments

Domain Knowledge Is Worth More Than Your Tech Stack

https://medium.com/@a.mandyev/your-domain-knowledge-is-worth-more-than-your-tech-stack-9bb95eb53f4b
2•andrey_m•18m ago•0 comments

In Arson Case, a Judge Wrestles with A.I.-Assisted Apology Letters

https://www.nytimes.com/2026/02/17/world/asia/new-zealand-court-ai-apology.html
4•docdeek•19m ago•1 comments

An AI Agent Published a Hit Piece on Me – Forensics and More Fallout

https://theshamblog.com/an-ai-agent-published-a-hit-piece-on-me-part-3/
4•scottshambaugh•19m ago•0 comments

Your Company is a Filesystem

https://twitter.com/mernit/status/2021324284875153544
2•Mernit•20m ago•0 comments

Firecracker "job receipts" for metering and auditing LLM agent runs

2•joshfischer1108•21m ago•0 comments

How AI is breaking the SaaS business model [video]

https://www.youtube.com/watch?v=cxcb55zr2Q8
2•EPendragon•21m ago•0 comments

Reducing the cost of breaking RSA-2048 to 100000 physical qubits

https://arxiv.org/abs/2602.11457
3•fuglede_•22m ago•0 comments