Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 42 min 17 sec ago

Show HN: TypR – A typed R that transpiles to idiomatic R via S3 classes

Fri, 03/06/2026 - 7:56am

TypR is a statically typed language written in Rust that compiles down to plain R code using S3 classes. The goal is to bring type safety to R without leaving the ecosystem — the generated output is idiomatic R you can drop into any existing project.

The compiler uses monomorphization to resolve generic types at compile time, so there's no runtime overhead. The type system supports structural typing, interfaces, and generics. It's still in alpha, but here's what's available so far:

GitHub: https://github.com/we-data-ch/typr

Binaries (Windows/Mac/Linux): https://github.com/we-data-ch/typr/releases

Online playground: https://we-data-ch.github.io/typr-playground.github.io/

VS Code extension with LSP: https://marketplace.visualstudio.com/items?itemName=wedata-c...

Docs (WIP): https://we-data-ch.github.io/typr.github.io/

Known limitations: the standard library is minimal so the user need to type some existing functions/variables with signatures, error messages need work, and the LSP is basic. Positron and Neovim support are in progress.

Would appreciate feedback on the type system design or ideas for use cases that would make this useful in practice.

Comments URL: https://news.ycombinator.com/item?id=47274404

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: I made a recent sales notification popup

Fri, 03/06/2026 - 7:56am

Article URL: https://salespup.com/

Comments URL: https://news.ycombinator.com/item?id=47274398

Points: 1

# Comments: 1

Categories: Hacker News

Show HN: I tried writing an interactive novel and accidentally built a platform

Fri, 03/06/2026 - 7:53am

A few months ago I tried to write an interactive fiction novel.

It turned into a software project.

As the story grew, managing the structure quickly became difficult: branches, conditions, narrative state… everything started getting messy.

At some point I opened Visual Studio to try to solve the problem for myself. The initial idea was simple: separate the prose from the runtime logic that drives the story.

That experiment slowly turned into a small ecosystem called iepub:

• a structured format for interactive books • a reader runtime that interprets that format • and a visual editor designed for writing interactive fiction

The editor tries to feel like a normal writing tool (something closer to Google Docs) but designed for branching narrative. It lets you define narrative conditions, attach variables to sections, configure probabilistic events (like dice rolls), create narrative variants, and visualize the structure of the story as a graph.

Most of the development ended up happening with AI agents (Codex) acting as development partners, which turned into a surprisingly effective workflow for iterating on architecture, UI components and debugging.

If anyone is curious:

Project: https://iepub.io

Article about the development process: https://medium.com/@santi.santamaria.medel/interactive-ficti...

Happy to answer questions about the project, the architecture, or the AI-assisted development workflow.

Comments URL: https://news.ycombinator.com/item?id=47274370

Points: 1

# Comments: 0

Categories: Hacker News

Wikipedia Gacha

Fri, 03/06/2026 - 7:11am

Article URL: https://wikigacha.com/?lang

Comments URL: https://news.ycombinator.com/item?id=47274020

Points: 1

# Comments: 0

Categories: Hacker News

Elite Overproduction

Fri, 03/06/2026 - 7:10am
Categories: Hacker News

Pages