frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Previewing GPT‑5.6 Sol: a next-generation model

https://openai.com/index/previewing-gpt-5-6-sol/
913•minimaxir•12h ago•556 comments

Why does kinetic energy increase quadratically, not linearly, with speed? (2011)

https://physics.stackexchange.com/questions/535/why-does-kinetic-energy-increase-quadratically-no...
160•ProxyTracer•6h ago•74 comments

WordStar: A Writer's Word Processor (1996)

https://www.sfwriter.com/wordstar.htm
15•droidjj•1h ago•9 comments

U.S. allows Anthropic to release Mythos AI to ‘trusted’ US organizations

https://www.semafor.com/article/06/27/2026/us-releases-powerful-anthropic-model-mythos-to-some-us...
319•bobrenjc93•6h ago•324 comments

AI in mathematics is forcing big questions

https://spectrum.ieee.org/ai-in-mathematics
87•rbanffy•6h ago•52 comments

MicroVMs: Run isolated sandboxes with full lifecycle control

https://aws.amazon.com/blogs/aws/run-isolated-sandboxes-with-full-lifecycle-control-aws-lambda-in...
297•justincormack•3d ago•165 comments

Show HN: Hacker News on a train station-style flip board

https://popflame.quickish.space/hn-flipboard/
38•PaybackTony•4h ago•6 comments

Hellishly Slow Level 13 Deflate Compression

https://kirill.korins.ky/articles/hellishly-slow-level-13-deflate-compression/
23•zX41ZdbW•4d ago•2 comments

The gap between open weights LLMs and closed source LLMs

https://blog.doubleword.ai/frontier-os-llm
162•kkm•8h ago•129 comments

U.S. government will decide who gets to use GPT-5.6

https://www.washingtonpost.com/technology/2026/06/26/openai-says-us-government-will-vet-users-its...
923•alain94040•10h ago•988 comments

Fusion Programming Language

https://fusion-lang.org/
22•efrecon•2d ago•6 comments

Show HN: DBOSify – Drop-in Temporal replacement built on Postgres

https://github.com/dbos-inc/dbosify-py
39•KraftyOne•2d ago•7 comments

A C++ implementation of a fast hash map and hash set using hopscotch hashing

https://github.com/Tessil/hopscotch-map
79•gjvc•7h ago•13 comments

Om

https://daringfireball.net/2026/06/om
239•throw0101a•5h ago•14 comments

We can still stop California's 3D printer surveillance scheme

https://www.eff.org/deeplinks/2026/06/we-can-still-stop-californias-3d-printer-surveillance-scheme
306•hn_acker•8h ago•111 comments

Show HN: Turn images into audio that can be decoded with a spectrogram

https://nsspot.herokuapp.com/imagetoaudio/
5•jupr•2d ago•0 comments

Foreign funds help make housing unaffordable: research

https://news.mccombs.utexas.edu/research/foreign-funds-help-make-housing-unaffordable/
26•hhs•5h ago•5 comments

Anatomy of a Failed (Nation-State?) Attack

https://grack.com/blog/2026/06/25/dissecting-a-failed-nation-state-attack/
8•signa11•2h ago•2 comments

Ultrasound imaging of the brain

https://alephneuro.com/blog/ultrasound-brain
258•rossant•17h ago•107 comments

Making Sense of Proof by Contradiction [pdf]

https://www.foster77.co.uk/Foster,%20Scottish%20Mathematical%20Council%20Journal,%20Making%20sens...
22•surprisetalk•3d ago•6 comments

Show HN: Smart model routing directly in Claude, Codex and Cursor

https://github.com/workweave/router
158•adchurch•12h ago•91 comments

Long Wave radio era set to end with Droitwich switch-off

https://www.bbc.com/news/articles/c74yn7v7k4qo
72•speckx•10h ago•30 comments

Hightouch (YC S19) Is Hiring

https://hightouch.com/careers#open-positions
1•joshwget•8h ago

What Is a Nomogram and Why Would It Interest Me?

https://lefakkomies.github.io/pynomo-doc/introduction/introduction.html#what-is-a-nomogram-and-wh...
100•Eridanus2•11h ago•18 comments

A Tiny Compiler for Data-Parallel Kernels

https://healeycodes.com/a-tiny-compiler-for-data-parallel-kernels
32•healeycodes•1d ago•4 comments

The "Bizarre Headgear" exhibit at the Sam Noble museum

https://svpow.com/2026/05/15/the-bizarre-headgear-exhibit-at-the-sam-noble-museum-is-incredible/
72•surprisetalk•3d ago•7 comments

Pre-Modern Armies for Worldbuilders, Part III: Paying for It

https://acoup.blog/2026/06/26/collections-pre-modern-armies-for-worldbuilders-part-iii-paying-for...
74•jfoucher•11h ago•13 comments

A human postmortem of the 1996 AOL outage

https://ngrok.com/blog/aol-was-down-1996
49•EndEntire•2d ago•10 comments

PlayStation Is Deleting 551 Movies from Customers' Accounts

https://kotaku.com/playstation-store-movies-digital-studio-canal-terminator-2000711013
224•ortusdux•9h ago•128 comments

Ask HN: MacBook vs. Dedicated GPU for LLM

17•mzubairtahir•2h ago•29 comments
Open in hackernews

Kamod Hooks – a Preact hooks library ported from ahooks

https://kamod-ch.github.io/kamod-hooks/
3•zahir777•2d ago

Comments

zahir777•2d ago
Hi HN,

I built Kamod Hooks, a Preact hooks library inspired by and ported from ahooks.

The goal is to bring a broad set of practical React-style hooks to the Preact ecosystem, while keeping the package lightweight and Preact-native.

Repo: https://github.com/kamod-ch/kamod-hooks

Some details:

- Preact-only peer dependency

- No runtime npm dependencies in @kamod-hooks/core

- ESM + TypeScript build

- Per-hook subpath imports, e.g. @kamod-hooks/core/useToggle

- Browser-native APIs where possible: ResizeObserver, IntersectionObserver, Fullscreen API, URLSearchParams, History API

- Hooks for async requests, debounce/throttle, localStorage/sessionStorage, URL state, virtual lists, WebSocket, drag/drop, responsive breakpoints, theme handling, and more

I started this because I often use Preact for small, fast frontend projects, but many useful hook libraries are still React-first. Kamod Hooks is meant to fill that gap without pulling in React-specific assumptions like react-router.

It is still early, so I would especially appreciate feedback on:

- API compatibility with ahooks

- Which hooks are most important for real-world Preact projects

- Bundle/tree-shaking behavior

- Missing docs or examples

- Whether the package structure feels right

Thanks!