frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•1y ago
I've written a Jsonnet interpreter in Jsonnet.

A few years ago I wrote a code generator for Jsonnet (crdsonnet [1]) and found templating insufficient. This lead me to create a JSON Schema for the language along with a library[2] that can manifest the expressions reliably. I was unaware that this was an intermediate representation (in the world of interpreters). Fun fact: while cdrsonnet uses astsonnet to generate code, astsonnet is partially generated by crdsonnet.

Last year I got curious and wrote a parser, first without a lexer (I didn't knew I needed it) and later with a lexer (Oh, did my code got way more manageable). The code gets parsed into this intermediate representation, with other words using JSON Schema as a type system for Jsonnet.

This year I got curious again and tried to execute the code from within Jsonnet as well, past weekend I finally reached a point where I could reliably execute most of the test cases from the go-jsonnet repository.

It was an interesting learning experience and it gave me a much deeper understanding of how programming languages work in general.

[1] https://github.com/crdsonnet/crdsonnet

[2] https://github.com/crdsonnet/astsonnet

Show HN: Local 3D LLM Sandbox a tiny assistant with an attitude

https://github.com/franciscocarloserra/llm-sandbox/
1•FranciscoCarlos•1m ago•0 comments

These Cyborg Cockroaches Could Save Your Life

https://www.wired.com/story/cyborg-cockroaches-disaster-response/
1•Brajeshwar•3m ago•0 comments

Show HN: Appreciate art with the White Lotus intro

https://art.darebuild.com/
1•jimhi•3m ago•0 comments

She lost her sight. Her billionaire father bet on a daring new treatment

https://www.washingtonpost.com/technology/2026/09/06/she-lost-her-sight-her-billionaire-father-be...
1•pseudolus•3m ago•1 comments

Design Patterns

https://en.wikipedia.org/wiki/Design_Patterns
1•tosh•5m ago•0 comments

GPT-6 Astra soundly defeats Fable 5.1 on recognizing handwritten corrections

https://dorrit.pairsys.ai/
2•svcrunch•6m ago•1 comments

Neither a borrower nor a lender be; For loan oft loses both itself and friend

https://shakespeare.mit.edu/hamlet/hamlet.1.3.html
2•Eridanus2•6m ago•0 comments

From Shahed to Geran: How Russia Continues to Reinvent the One-Way Attack Drone

https://www.csis.org/analysis/shahed-geran-how-russia-continues-reinvent-one-way-attack-drone
1•atlasunshrugged•6m ago•0 comments

I track LLM API prices daily, found a 33x cost gap in the same model

1•costpertoken•6m ago•0 comments

Token Tap: extract design tokens from any webpage

https://tokenflow.gumroad.com/l/nkyrao
1•chrarmst•10m ago•0 comments

Freelance writer (memoirs, fantasy, and speculative fiction)

https://www.reddit.com/r/forhire/comments/1w8xeeg/for_hire_creative_ghostwriter_emotionally_complex/
1•ElysiumAbove•11m ago•0 comments

Industrial-Strength Natural Language Processing

https://spacy.io/
1•Bluestein•11m ago•0 comments

Majority Russian-speaking city in Ukraine considers language ban in the arts

https://www.bbc.com/news/articles/c33kzvgn8pyo
2•geox•19m ago•0 comments

Show HN: Automatically Save 60% on Amazon

https://chromewebstore.google.com/detail/findcheap/fpghkhnkfjlenapcdahgaafenfaopidn
1•givesushi•19m ago•0 comments

How Williamsburg Lost Its Swag (2026)

https://slate.com/business/2026/09/williamsburg-brooklyn-tech-bros-gentrification.html
1•mistyvales•19m ago•0 comments

New York City pausing some AI tools in schools

https://www.thehindu.com/news/international/why-is-new-york-city-pausing-some-ai-tools-in-schools...
2•noobplus•20m ago•0 comments

Turn Golang packages into typed JavaScript packages with WebAssembly

https://github.com/paulgrammer/gowasm
1•paulgrammer•20m ago•0 comments

The Craft of Software Scoping

https://www.akashtandon.in/technology/2026-09-06-the-craft-of-software-scoping/
2•akashtndn•21m ago•0 comments

Asahi Linux Now Officially Supports Apple M3 Macs – With Caveats

https://www.phoronix.com/news/Asahi-Linux-Official-M3
6•mdp2021•21m ago•1 comments

Terence Tao on "Solving Maths Problems Prematurely with AI Methods

https://mathstodon.xyz/@tao/117207856734787448
2•birdculture•23m ago•0 comments

Some tools should not require you to create an account

https://spliit.app/blog/why-spliit-doesnt-ask-you-to-create-an-account
2•scastiel•25m ago•1 comments

Extracting Steering Vectors from J space

https://darshanmakwana412.github.io/2026/09/extracting-steering-vectors-from-j-space/
1•martianvoid•27m ago•0 comments

WeatherNext 3: Increasing resolution and performance of global weather models

https://arxiv.org/abs/2609.03582
2•droidjj•29m ago•0 comments

Tensor Product Representations

https://twitter.com/EnyanZhang/status/2095918439613301012
1•porridgeraisin•30m ago•0 comments

Build That Bridge: Bringing People Together

https://buildthatbridge.eu/
2•drayfield•34m ago•1 comments

US troops can still be tracked through commercial location data

https://www.wyden.senate.gov/news/press-releases/wyden-and-harrigan-call-for-investigation-into-d...
3•CoderLim110•35m ago•0 comments

Reasoning Matters

https://resolve.works/articles/reasoning-matters/
1•monneyboi•35m ago•0 comments

Does anyone have a lower Jordan3 number than Evans Boney?

https://statmodeling.stat.columbia.edu/2026/09/06/does-anyone-have-lower-jordan3-number-than-evan...
1•Tomte•36m ago•0 comments

LLM representations have implicit symbolic structure

https://twitter.com/RTomMcCoy/status/2094870131939684488
3•porridgeraisin•36m ago•0 comments

2011 Fall Lecture on AI by Marvin Minsky

https://twitter.com/onryxxx/status/2095625018264760687
2•__patchbit__•36m ago•0 comments