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

Mariko Aoki Phenomenon

https://en.wikipedia.org/wiki/Mariko_Aoki_phenomenon
1•jonjomckay•5m ago•0 comments

'Guilt by association': why 7 int'l aid workers were killed in Israeli airstrike

https://www.theguardian.com/world/2026/sep/05/aid-workers-gaza-killed-in-israel-airstrike-investi...
1•hebelehubele•9m ago•0 comments

Second complete map of a fruit fly brain completed

https://arstechnica.com/science/2026/09/brain-of-a-male-fly-completely-mapped-joins-earlier-map-o...
1•mdp2021•9m ago•0 comments

Desktop AI for ops is still subsidized

1•xAdamx•10m ago•0 comments

Paper Reef – draw a fish on paper, photograph it, it swims on a shared screen

https://paperreef.com/r/REEF
1•lyapustin•13m ago•0 comments

Nvidia Wants to Turn Your Idle PCs into a Personal Home Data Center with 'Pair'

https://www.pcmag.com/news/nvidia-pair-turn-idle-pcs-into-ersonal-home-data-center-ifa-2026
1•thunderbong•15m ago•0 comments

Monocode – A modern GUI for your coding agents

https://github.com/hardbeat920/monocode
1•_pdp_•22m ago•0 comments

Trump White House just tossed a grenade into international space relations

https://arstechnica.com/space/2026/09/why-did-us-space-companies-pull-out-of-a-french-space-meeti...
1•mdp2021•23m ago•0 comments

New study: Insurance AI adoption exposes verification gap

https://beinsure.com/news/insurance-ai-adoption-exposes-verification-gap-study-finds/
1•Beinsure•23m ago•1 comments

Pimacs – An Emacs UI for Pi

https://ananthakumaran.in/2026/08/30/pimacs.html
1•ananthakumaran•24m ago•0 comments

On niche subjects, you can control the message of LLMs

https://multitasked.net/2025/02/23/the-open-web-strikes-back/
1•madewulf•25m ago•0 comments

Handwritten Code

https://kayserifserif.place/posts/2026/handwritten-code/
2•meetpateltech•27m ago•0 comments

Iroh inside Tape – Critical UX for self-hosted music streaming suite

https://tapemusicsuite.com/blog/iroh-device-connection-without-tailscale
1•sergormo•27m ago•0 comments

Show HN: I rebuilt my homepage with a dithered design and live weather widget

https://chrcit.com/
1•chrcit•28m ago•0 comments

In the otherworldly Chilean desert, this telescope could reveal alien life

https://www.bbc.com/future/article/20260827-the-biggest-telescope-of-all-time-is-nearly-ready-cou...
1•jazali•29m ago•0 comments

Late-life semaglutide treatment slows ageing and extends lifespan in female mice

https://www.nature.com/articles/s41586-026-10940-7
2•Alien1Being•35m ago•0 comments

Preventing the Collapse of Civilization (2019)

https://www.youtube.com/watch?v=ZSRHeXYDLko
1•Gooblebrai•36m ago•1 comments

Show HN: TenantLayer – Multi-Tenancy for Spring Boot and Postgres

https://tenantlayer.io
2•suchait6655•43m ago•0 comments

Does Java use too much memory?

https://www.youtube.com/watch?v=xr73mR7ii9M
1•he0001•43m ago•0 comments

Study Watched Kids Interact with AI Toys. The Play Turned Hostile Fast

https://studyfinds.com/kids-interact-ai-toys/
1•mdp2021•44m ago•1 comments

OpenAI on the "Wiki Incident"

https://twitter.com/OpenAI/status/2096133504417616165
1•Topfi•48m ago•0 comments

VS Code – Official Documentary

https://www.youtube.com/watch?v=kHL3XzjpT5w
1•vismit2000•51m ago•0 comments

A preview of the future Intel architecture documentation

https://intel.github.io/SDM/announcement/2026/08/20/announce-preview.html
1•fanf2•51m ago•0 comments

Nixpkgs is now on Radicle – the distributed forge

https://radicle.network/nodes/index.radicle.garden/rad%3Az3StaJpzQNGhhkPfhCtRxSmNZZpu9
2•h1watt•57m ago•0 comments

OpenAI agents used dead web site to communicate in May, well before HF incident

https://www.theregister.com/ai-and-ml/2026/09/04/rogue-openai-agents-used-dead-german-web-site-to...
2•mdp2021•57m ago•0 comments

Pogo – a Django ORM language server (LSP) for completion, hover, and diagnostics

https://github.com/amirhasanzadehpy/Pogo
2•amirhasanzadehp•1h ago•0 comments

I Changed My License

https://bergie.iki.fi/blog/eupl/
2•bergie•1h ago•0 comments

The status and science of the LZ dark matter experiment

https://lz.lbl.gov/
2•throw315•1h ago•1 comments

A browser-based circle and dome planner for Minecraft builders

https://pixelcirclebuilder.com
1•charlesgoodman•1h ago•0 comments

What Will Be Scarce?

https://aleximas.substack.com/p/what-will-be-scarce
1•andsoitis•1h ago•0 comments