frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Bob Beck (OpenBSD) on why vi should stay vi (2006)

https://marc.info/?l=openbsd-misc&m=115820462402673&w=2
1•birdculture•1m ago•0 comments

Show HN: Glimpsh – exploring gaze input inside the terminal

https://github.com/dchrty/glimpsh
1•dochrty•2m ago•0 comments

The Optima-l Situation: A deep dive into the classic humanist sans-serif

https://micahblachman.beehiiv.com/p/the-optima-l-situation
1•subdomain•2m ago•0 comments

Barn Owls Know When to Wait

https://blog.typeobject.com/posts/2026-barn-owls-know-when-to-wait/
1•fintler•2m ago•0 comments

Implementing TCP Echo Server in Rust [video]

https://www.youtube.com/watch?v=qjOBZ_Xzuio
1•sheerluck•3m ago•0 comments

LicGen – Offline License Generator (CLI and Web UI)

1•tejavvo•6m ago•0 comments

Service Degradation in West US Region

https://azure.status.microsoft/en-gb/status?gsid=5616bb85-f380-4a04-85ed-95674eec3d87&utm_source=...
2•_____k•6m ago•0 comments

The Janitor on Mars

https://www.newyorker.com/magazine/1998/10/26/the-janitor-on-mars
1•evo_9•8m ago•0 comments

Bringing Polars to .NET

https://github.com/ErrorLSC/Polars.NET
2•CurtHagenlocher•10m ago•0 comments

Adventures in Guix Packaging

https://nemin.hu/guix-packaging.html
1•todsacerdoti•11m ago•0 comments

Show HN: We had 20 Claude terminals open, so we built Orcha

1•buildingwdavid•11m ago•0 comments

Your Best Thinking Is Wasted on the Wrong Decisions

https://www.iankduncan.com/engineering/2026-02-07-your-best-thinking-is-wasted-on-the-wrong-decis...
1•iand675•11m ago•0 comments

Warcraftcn/UI – UI component library inspired by classic Warcraft III aesthetics

https://www.warcraftcn.com/
1•vyrotek•12m ago•0 comments

Trump Vodka Becomes Available for Pre-Orders

https://www.forbes.com/sites/kirkogunrinde/2025/12/01/trump-vodka-becomes-available-for-pre-order...
1•stopbulying•13m ago•0 comments

Velocity of Money

https://en.wikipedia.org/wiki/Velocity_of_money
1•gurjeet•16m ago•0 comments

Stop building automations. Start running your business

https://www.fluxtopus.com/automate-your-business
1•valboa•20m ago•1 comments

You can't QA your way to the frontier

https://www.scorecard.io/blog/you-cant-qa-your-way-to-the-frontier
1•gk1•21m ago•0 comments

Show HN: PalettePoint – AI color palette generator from text or images

https://palettepoint.com
1•latentio•22m ago•0 comments

Robust and Interactable World Models in Computer Vision [video]

https://www.youtube.com/watch?v=9B4kkaGOozA
2•Anon84•26m ago•0 comments

Nestlé couldn't crack Japan's coffee market.Then they hired a child psychologist

https://twitter.com/BigBrainMkting/status/2019792335509541220
1•rmason•27m ago•1 comments

Notes for February 2-7

https://taoofmac.com/space/notes/2026/02/07/2000
2•rcarmo•29m ago•0 comments

Study confirms experience beats youthful enthusiasm

https://www.theregister.com/2026/02/07/boomers_vs_zoomers_workplace/
2•Willingham•36m ago•0 comments

The Big Hunger by Walter J Miller, Jr. (1952)

https://lauriepenny.substack.com/p/the-big-hunger
2•shervinafshar•37m ago•0 comments

The Genus Amanita

https://www.mushroomexpert.com/amanita.html
1•rolph•42m ago•0 comments

We have broken SHA-1 in practice

https://shattered.io/
10•mooreds•42m ago•3 comments

Ask HN: Was my first management job bad, or is this what management is like?

1•Buttons840•43m ago•0 comments

Ask HN: How to Reduce Time Spent Crimping?

2•pinkmuffinere•45m ago•0 comments

KV Cache Transform Coding for Compact Storage in LLM Inference

https://arxiv.org/abs/2511.01815
1•walterbell•49m ago•0 comments

A quantitative, multimodal wearable bioelectronic device for stress assessment

https://www.nature.com/articles/s41467-025-67747-9
1•PaulHoule•51m ago•0 comments

Why Big Tech Is Throwing Cash into India in Quest for AI Supremacy

https://www.wsj.com/world/india/why-big-tech-is-throwing-cash-into-india-in-quest-for-ai-supremac...
3•saikatsg•51m ago•0 comments
Open in hackernews

Show HN: JSON Schema → Luau type converter (Rust)

https://github.com/amirfarzamnia/json-schema-to-luau
3•amirfarzamnia•2mo ago

Comments

amirfarzamnia•2mo ago
I built a JSON Schema–to–Luau type converter in Rust and figured others working with Luau might find it useful.

Luau’s type system is not TypeScript, and most existing tools assume Roblox-specific workflows. This one doesn’t. It’s designed for *standard Luau*, so it works anywhere Luau runs — not just inside Roblox projects.

The tool ingests a JSON Schema file and generates Luau type definitions with full handling of the real JSON Schema feature set:

* Full support for objects, arrays, primitives, enums, const * `$ref`, `definitions`, and `$defs` (never inlined) * `allOf`, `anyOf`, `oneOf` * Required/optional property detection * Constraints preserved as Luau comments (`@minimum`, `@pattern`, etc.) * Clear errors and reasonably strict validation * CLI + library API

Example:

```bash json-schema-to-luau schema.json -o types.luau ```

Input:

```json { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "number", "minimum": 0, "maximum": 120 } }, "required": ["name"] } ```

Output:

```lua export type Root = { --- @minimum 0 --- @maximum 120 age: number?, name: string, } ```

The converter tries to follow Luau’s actual type semantics rather than pretending it’s TypeScript. Composition becomes real unions/intersections, referenced definitions become exported types, and constraints are kept as comments so they still surface in tooling.

Limitations are documented (tuple schemas, conditional schemas, propertyNames, remote refs, etc.). Number literal enums degrade to `number` because Luau can’t express them.

Crate: `cargo add json-schema-to-luau`

CLI: `cargo install json-schema-to-luau`

Repo: [https://github.com/amirfarzamnia/json-schema-to-luau](https://github.com/amirfarzamnia/json-schema-to-luau)

Would love feedback, bug reports, or ideas for making the output cleaner.