frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Designing package namespacing for a new language (Coi)

1•io_eric•1h ago
Hey HN, I'm building Coi, a component-based language that compiles to WASM, JS, CSS and HTML with O(1) reactivity (no virtual DOM).

I just shipped a built-in package manager, but the interesting part wasn't the implementation, it was all the ecosystem design questions I'd never thought about as a user of package managers.

The problem I kept circling: how do you handle naming? Global names like auth or json seem fine until someone squats them. First-come-first-served creates perverse incentives. Reputation systems are easy to game early on. I went back and forth for longer than I'd like to admit.

I went through a few approaches:

Blocklist common names: reserve things like auth, json, http so people are forced into more specific names. Feels clean in theory, but who decides the list? And it doesn't really scale, someone will always find the next generic name you didn't think to block.

Go's approach: just use GitHub URLs directly as the package identifier. No registry needed, no naming wars. I liked the elegance of it, but in practice it's awful to actually write and read. Nobody wants import github.com/someone/thing/v2/pkg/util in their source files.

Tiered names: short names are hard to get, long names are open. Claiming json requires vetting, but json-schema-validator you can grab freely. The friction is proportional to how valuable the name is, nobody squats my-very-specific-http-retry-client because there's no payoff. I liked this one, but you still need to define the threshold and then you're back to needing governance :( just a smaller version of it.

Scoped names: ended up here. Everything is @someorg/http-client. Boring, proven, sidesteps squatting without needing governance infrastructure I don't have. npm figured this out the hard way so I don't have to :)

The registry itself is GitHub-based, metadata is JSON, submissions are PRs, validation runs through CI. Only one package in the registry right now (mine), but getting add/install/upgrade working end-to-end changed how the project feels. It went from "compiler experiment" to something with an actual ecosystem shape.

Curious how others have thought about this, especially early-stage ecosystems where you have no reputation signals yet. Did anyone solve the naming problem better than "just use scopes"?

Coi: https://github.com/io-eric/coi

Color: How well can you remember these colors?

https://dialed.gg
1•sss111•38s ago•0 comments

Replacing Humans With AI Completely BACKFIRED [video][22m]

https://www.youtube.com/watch?v=TYe9DSPuCaE
1•Bender•1m ago•0 comments

Show HN: Devly – 50 developer tools in a native macOS menu bar

https://apps.apple.com/us/app/devly/id6759269801?mt=12
1•aarush-prakash•3m ago•0 comments

Tourists no longer allowed to take JLPT in Japan from 2026

https://www.japantimes.co.jp/news/2026/02/18/japan/jlpt-tourist-ban/
1•mikhael•3m ago•0 comments

Grandson of Reese's Peanut Butter Cups inventor says Hershey is cutting corners

https://apnews.com/article/reeses-peanut-butter-cups-hershey-chocolate-1a66ec75247fd146888b7a747a...
3•petethomas•4m ago•0 comments

A secure dotenv – from the creator of dotenv

https://dotenvx.com/
1•handfuloflight•6m ago•0 comments

Show HN: Sanna – Enforce AI agent constitutions with cryptographic receipts

https://github.com/nicallen-exd/sanna
1•nicallen•8m ago•1 comments

Self-hosting my websites using bootable containers

https://yorickpeterse.com/articles/self-hosting-my-websites-using-bootable-containers/
1•YorickPeterse•10m ago•0 comments

Show HN: Local "incident bundle" for AI/agent failures (offline rep and CI JSON)

https://github.com/Tanyayvr/agent-qa-toolkit
1•Tanyayvr•11m ago•0 comments

How Codex is built – by Gergely Orosz

https://newsletter.pragmaticengineer.com/p/how-codex-is-built
1•sharjeelsayed•14m ago•0 comments

Show HN: Sentinel – Cryptographic proof for AI decisions (zkML, on-chain)

1•ghostclaw-cso•14m ago•0 comments

A Primer of Mathematical Writing

https://arxiv.org/abs/1612.04888
1•paulpauper•16m ago•0 comments

FastMCP 3.0 Is GA

https://www.jlowin.dev/blog/fastmcp-3-launch
3•jlowin•18m ago•0 comments

My attempt at creating Excel Style Markdown Editor (especially for tables)

https://lscherub.github.io/markdown-table-editor/
2•heckifIknow•19m ago•1 comments

The economics of offshoring in the software industry (2003)

https://cs.stanford.edu/people/eroberts/cs181/projects/2003-04/offshoring/inevitable.html
1•johntfella•19m ago•0 comments

Building a Navidrome Scrobbling Plugin

https://www.coryd.dev/posts/2026/building-a-navidrome-scrobbling-plugin
2•cdrnsf•22m ago•0 comments

AI Slop Is Caused by Humans, Not AI's

https://rodyne.com/?p=3771
1•boznz•22m ago•0 comments

Setting up an Overpass API server

https://www.openstreetmap.org/user/SomeoneElse/diary/408252
1•altilunium•22m ago•0 comments

Uber Will Offer Incentives for E.V. Charger Construction

https://www.nytimes.com/2026/02/18/business/energy-environment/uber-electric-vehicle-charging-sta...
1•JumpCrisscross•23m ago•0 comments

The Pentagon just threatened to blacklist Anthropic

https://twitter.com/Ric_RTP/status/2024095976764367332
5•doener•24m ago•4 comments

Open Source LLM Tier List

https://www.onyx.app/open-llm-leaderboard
1•RohoSwagger•25m ago•0 comments

The 826th edition of the Atherstone Ball Game crowns two winners

https://thelibertyline.com/2026/02/18/atherstone-ball-game-two-winners/
1•thunderbong•26m ago•0 comments

Can We Trust LLM Detectors?

https://arxiv.org/abs/2601.15301
1•PaulHoule•28m ago•0 comments

Why one of tech's top fund managers just abandoned software stocks

https://www.latimes.com/business/story/2026-02-17/why-one-of-techs-top-fund-managers-just-abandon...
1•TMWNN•30m ago•0 comments

Show HN: GrabShot – Live OG images with one meta tag, no back end needed

https://grabshot.dev
1•grabshot_dev•31m ago•0 comments

Ask HN: How do you discover new products worth trying?

2•xualaya•34m ago•0 comments

DistServe Part 1: Understanding Prefill, Decode, and Goodput in LLM Systems

https://adityashrishpuranik.com/writing/dist-serve-1-prefill-decode-introduction
1•adityapuranik•41m ago•0 comments

Linus Torvalds and friends tell how Linux solo act became a global jam session

https://www.theregister.com/2026/02/18/linus_torvalds_and_friends/
2•CrankyBear•41m ago•0 comments

Why California could be the big winner as EPA abandons climate policy

https://www.politico.com/news/2026/02/17/epa-abandoning-climate-regulatory-power-california-ev-go...
4•JumpCrisscross•41m ago•0 comments

CPU matrix-multiplication optimization suite

https://github.com/arun-reddy-a/matmul-cpu
2•arun99-99•42m ago•1 comments