frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Jack Dorsey and Elon Musk would like to 'delete all IP law'

https://techcrunch.com/2025/04/13/jack-dorsey-and-elon-musk-would-like-to-delete-all-ip-law/
1•hhs•38s ago•0 comments

Andrew Ng's letter to an 18 y.o. worried about AI

https://www.deeplearning.ai/the-batch/dont-believe-the-hype/
1•siquick•2m ago•0 comments

The curious case of broken theorems

https://davidbessis.substack.com/p/the-curious-case-of-broken-theorems
1•mathgenius•3m ago•0 comments

A Small Linear Accelerator for Charged Microparticles

https://www.mdpi.com/2076-3417/15/21/11709
1•PaulHoule•6m ago•0 comments

AI Gateway from Pydantic

https://pydantic.dev/articles/gateway-open-beta
1•scolvin•8m ago•0 comments

Be Simple

https://corrode.dev/blog/simple/
1•vinhnx•8m ago•0 comments

Use buttons instead of text link in your outreach email

https://www.emailbuttons.com/
2•zackho•10m ago•1 comments

Heat engine uses the cold of space to run a fan (400mW per sqm)

https://www.youtube.com/watch?v=5VSmBl8Rv_o
2•gsf_emergency_4•11m ago•0 comments

Gaza Online – Esims for Gazans

https://www.gaza.online/
1•aussieguy1234•11m ago•0 comments

Differential Coding of Perception in the Languages

https://www.pnas.org/doi/10.1073/pnas.1720419115
1•DrierCycle•15m ago•0 comments

Disney+ to Allow User-Generated Content via AI

https://www.hollywoodreporter.com/business/digital/disney-plus-gen-ai-user-generated-content-1236...
1•TMWNN•16m ago•0 comments

US announces 'Southern Spear' mission as forces deploy near South America

https://www.aljazeera.com/news/2025/11/14/us-announces-southern-spear-mission-as-forces-deploy-to...
2•treetalker•16m ago•1 comments

Another Round of Tea Protocol Spam Floods NPM, but It's Not a Worm

https://socket.dev/blog/tea-protocol-spam-floods-npm-but-its-not-a-worm
1•feross•18m ago•0 comments

No Leak, No Problem – Bypassing ASLR with a ROP Chain to Gain RCE

https://modzero.com/en/blog/no-leak-no-problem/
1•todsacerdoti•24m ago•0 comments

The EU must uphold hard-won protections for digital human rights [pdf]

https://edri.org/wp-content/uploads/2025/11/The-EU-must-uphold-hard-won-protections-for-digital-h...
3•doener•29m ago•0 comments

Crushed by capitalism? There's a video game for that

https://www.ft.com/content/5b223e7a-3161-4f03-a577-557e9947618b
2•hhs•29m ago•0 comments

Show HN: Infinite canvas product search and decision making

https://onton.com/surfaces
4•kar_t•29m ago•0 comments

Strict and full Turkish get-up [video]

https://www.youtube.com/shorts/wXWSjSwjGuA
2•programmexxx•31m ago•0 comments

Big Tech Wants Direct Access to Our Brains

https://www.nytimes.com/2025/11/14/magazine/neurotech-neuralink-rights-regulations.html
5•bookofjoe•31m ago•1 comments

Remote access, real cargo: cybercriminals targeting trucking and logistics

https://www.proofpoint.com/us/blog/threat-insight/remote-access-real-cargo-cybercriminals-targeti...
2•gnabgib•31m ago•0 comments

AI Generated Pokemon Sprites with GPT-2

https://matthew.rayfield.world/articles/ai-generated-pokemon-sprites-with-gpt-2/
1•novaray•37m ago•0 comments

Justice Department Announces Actions to Combat Illicit NK Revenue Generation

https://www.justice.gov/opa/pr/justice-department-announces-nationwide-actions-combat-illicit-nor...
2•miohtama•37m ago•0 comments

Cybercom 2.0: Pentagon Unveils Plan to Fix Cyber Talent Shortfalls

https://www.securityweek.com/cybercom-2-0-pentagon-unveils-plan-to-fix-cyber-talent-shortfalls/
1•Bender•39m ago•0 comments

Fortinet Confirms Active Exploitation of Critical FortiWeb Vulnerability

https://www.securityweek.com/fortinet-confirms-active-exploitation-of-critical-fortiweb-vulnerabi...
1•Bender•39m ago•0 comments

Multi-day storm is threatening flooding and mudslides in Southern California

https://www.cnn.com/2025/11/14/weather/southern-california-storm-flooding-risk-climate-hnk
1•Bender•40m ago•0 comments

There's No Rust on This Ironclad Kernel

https://hackaday.com/2025/11/12/theres-no-rust-on-this-ironclad-kernel/
2•ajdude•40m ago•0 comments

DNS Resolution Delay: The Silent Killer That Blocks Your Threads

https://howtech.substack.com/p/dns-resolution-delay-the-silent-killer
2•birdculture•40m ago•1 comments

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

https://github.com/amirfarzamnia/json-schema-to-luau
2•amirfarzamnia•43m ago•1 comments

Brexit reduced UK GDP by 6-8%, investments by 12-18% [pdf]

https://www.nber.org/system/files/working_papers/w34459/w34459.pdf
49•jnord•46m ago•13 comments

Firebase's new guide to securing AI endpoints

https://firebase.blog/posts/2025/11/securing-ai-endpoints-from-abuse/
1•jacobalcock•46m ago•0 comments
Open in hackernews

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

https://github.com/amirfarzamnia/json-schema-to-luau
2•amirfarzamnia•43m ago

Comments

amirfarzamnia•43m 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.