frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Wit-ts – A type-level WIT parser for TypeScript

https://github.com/mattmarcello/wit-ts
1•mattmarcello•1h ago
I wrote a parser (runtime and type-level) for WebAssembly Interface Types (https://component-model.bytecodealliance.org/design/wit.html).

  const wit = [
    "record user { name: string, age: u32 }",
    "variant api-error { not-found, unauthorized(string) }",
    "get-user: func(id: u64) -> user;",
    "create-post: func(author: user, post: post) -> result<post, api-error>;",
  ] as const;

  type Client = WitClient<ParseWit<typeof wit>>;
  // Client["get-user"]:    (id: bigint) => Promise<{ name: string; age: number }>
  // Client["create-post"]: (author: ...) => Promise<["ok", {...}] | ["err", ["not-found"] | ["unauthorized", string]]>

Why did I do this? Good question. I originally did this work as part of this project: https://sdk.kontor.network/. Kontor is a new Bitcoin metaprotocol that uses WITs to define smart contract interfaces.

I carved wit-ts out of the project and removed some domain specific stuff from it, refactored some internals, and extended it to be compatible with a broader subset of the wit specification. Technically there are some valid wit types that would not be handled cleanly here ( e.g. recursive types ).

Tremendous debt is owed to the https://github.com/wevm/abitype project, which does the same thing for Ethereum ABIs and was the direct inspiration for the type-level approach.

Claude Sonnet 4.6

https://www.anthropic.com/news/claude-sonnet-4-6
3•meetpateltech•2m ago•0 comments

Protos_OS – Bare_metal symbolic autonomy kernel – no_std Rust, solo build

https://www.jou-labs.com/proof
1•jodytornado•2m ago•1 comments

Drinking 2-3 cups of coffee a day tied to lower dementia risk

https://news.harvard.edu/gazette/story/2026/02/drinking-2-3-cups-of-coffee-a-day-tied-to-lower-de...
2•busymom0•2m ago•0 comments

Show HN: WodBlock – the AI-powered workout timer

https://www.wodblock.com/
1•nicotejera•3m ago•1 comments

An 11ty tip-slash-hack

https://genehack.blog/2026/02/an-11ty-tip-slash-hack/
1•speckx•3m ago•0 comments

"Bell–CHSH Under Setting-Dependent Selection": Insights into Quantum Loopholes

https://www.mdpi.com/2624-960X/8/1/8
1•powerinthelines•4m ago•1 comments

Monologue for iOS

https://every.to/on-every/introducing-monologue-for-ios
2•conspirator•6m ago•1 comments

Show HN: Lap – Fast photo browsing for libraries (Rust and Tauri)

https://github.com/julyx10/lap
2•julyxx•7m ago•0 comments

Discord Rival Gets Overwhelmed by Exodus of Players Fleeing Age-Verification

https://kotaku.com/discord-alternative-teamspeak-age-verification-check-rivals-2000669693
4•thunderbong•7m ago•0 comments

AI-powered migrations from Postgres to ClickHouse

https://clickhouse.com/blog/ai-powered-migraiton-from-postgres-to-clickhouse-with-fiveonefour
2•saisrirampur•7m ago•0 comments

My Blog History as Calendar Events

https://www.joshbeckman.org/blog/ical-feeds-for-a-jekyll-site
1•bckmn•7m ago•0 comments

Picknar – Lightweight YouTube Thumbnail Extractor (No Login, No API Key)

1•Picknar•8m ago•0 comments

Show HN: Blog and other OpenClaw features without a language model

https://github.com/princezuda/safeclaw
1•safestclaw•8m ago•0 comments

Agent Agency: Identity-Driven Motivation Architecture for LLM Agents

https://twitter.com/Claude_Memory/status/2023629412596617338
1•thedotmack•8m ago•0 comments

M5Card Forth

https://github.com/ryu10/M5CardForth
2•tosh•9m ago•0 comments

An OpenClaw-powered game world builder

https://github.com/CoreyCole/creative-mode
2•cod1r•10m ago•0 comments

Getting Bots to Respect Boundaries

https://internet.exchangepoint.tech/getting-bots-to-respect-boundaries/
1•edent•10m ago•0 comments

A.I. Pioneer Yann LeCun Warns the Tech 'Herd' Is Marching into a Dead End

https://www.nytimes.com/2026/01/26/technology/an-ai-pioneer-warns-the-tech-herd-is-marching-into-...
2•bookofjoe•10m ago•1 comments

Show HN: Owlyn – See what your eng team shipped without asking anyone

https://www.owlyn.xyz
1•AhmadFahim•11m ago•0 comments

Bitcoin oracle that sells cryptographically signed price data for micropayments

https://github.com/jonathanbulkeley/sovereign-lightning-oracle
1•JBulkeley•11m ago•0 comments

The Synthesis Gap: why product teams fly blind on Monday morning

https://www.clairytee.com/synthesis-gap
1•StnAlex•12m ago•1 comments

The bare minimum for syncing Git repos

https://alexwlchan.net/2026/bare-git/
1•speckx•12m ago•0 comments

A sitting US president launched two memecoins that wiped out $4.3B+

https://twitter.com/MeshnetCapital/status/2023573563559547180
5•doener•13m ago•1 comments

Two orders of magnitude faster Persistent AI memory via a binary lattice

https://github.com/RYJOX-Technologies/Synrix-Memory-Engine
1•JosephjackJR•13m ago•2 comments

India's Solar Manufacturing Excesses Turn a Boom into a Glut

https://www.bloomberg.com/news/articles/2026-02-17/india-s-solar-manufacturing-excesses-turn-a-bo...
2•toomuchtodo•13m ago•1 comments

I Built My Mobile Second Brain

https://robdodson.me/posts/how-i-built-my-mobile-second-brain/
1•robdodson•15m ago•0 comments

The Agentic Mullet: code in the front, proofs in the back

https://www.amplifypartners.com/blog-posts/the-agentic-mullet-code-in-the-front-proofs-in-the-back
2•arjunnarayan•15m ago•0 comments

This year, I will write a GUI for my Emacs clone

https://kyo.iroiro.party/en/posts/this-year-a-shitty-gui/
1•PaulHoule•15m ago•0 comments

Show HN: TurtleNoir – Logic-Grounded AI Host for Lateral Thinking Puzzles

https://turtlenoir.com/
1•kuboshiori•17m ago•0 comments

Climbing Mount Fuji visualized through milestone stamps

https://fuji.halfof8.com/
3•gessha•18m ago•0 comments