frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•12mo 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

Do deep learning models recognize 3D shapes in the same way humans do?

https://www.santafe.edu/news-center/news/do-deep-learning-models-recognize-3d-shapes-in-the-same-...
1•hhs•1m ago•0 comments

Mirror Life's Doomsday Potential

https://www.noemamag.com/the-doomsday-organism/
1•littlexsparkee•1m ago•0 comments

The Cost of Free Doughnuts

https://www.npr.org/2020/01/08/794592539/episode-386-the-cost-of-free-doughnuts
1•compiler-guy•2m ago•0 comments

AI #168: Not Leading the Future

https://thezvi.substack.com/p/ai-168-not-leading-the-future
1•paulpauper•3m ago•0 comments

Too Much Is Happening Too Fast

https://www.theatlantic.com/technology/2026/05/too-much-happening-too-fast/687177/
2•paulpauper•3m ago•0 comments

Sensational Books to Read This Summer

https://www.theatlantic.com/books/2026/05/summer-reading-2026/686880/
1•paulpauper•4m ago•0 comments

'Millions' of pounds saved by replacing Palantir tech in refugee system

https://www.bbc.com/news/articles/c2l2j1lxdk5o
1•cdrnsf•5m ago•0 comments

Fields of the World: A Global Field Boundary Ecosystem

https://fieldsofthe.world/
1•tokai•5m ago•0 comments

Everyone's a thought leader. Almost no one is thinking

https://bernste.in/writings/everyones-a-thought-leader-almost-no-one-is-thinking/
1•mbernstein•7m ago•0 comments

We Now Know How Many People the CDC Is Monitoring for Hantavirus

https://www.wired.com/story/how-many-people-cdc-is-monitoring-for-hantavirus/
1•ent101•7m ago•0 comments

Automated red teaming with RL: attacker-defender co-training

https://castform.com/blog/red-team-rl/
3•ClassifexRL•7m ago•1 comments

More than half of U.S. faces worst drought in decades

https://news.vt.edu/articles/2026/05/drought-united-states-la-nina-expert.html
2•littlexsparkee•11m ago•0 comments

Ontario auditors find doctors' AI note takers routinely blow basic facts

https://www.theregister.com/ai-ml/2026/05/14/ontario-auditors-find-doctors-ai-note-takers-routine...
6•sohkamyung•11m ago•0 comments

We replaced Redis with MySQL for inventory reservations–and it scaled

https://shopify.engineering/scaling-inventory-reservations
3•gmcabrita•14m ago•0 comments

Roman Letters

https://romanletters.org/
2•diodorus•14m ago•0 comments

Indie dev says Steam's blocking their game for infringement of the dev's own IP

https://www.videogameschronicle.com/news/indie-dev-says-steams-blocking-their-game-for-ip-infring...
4•hn_acker•18m ago•1 comments

Show HN: Parse LLM Markdown streams incrementally on the server or client

https://github.com/nimeshnayaju/markdown-parser
2•nayajunimesh•18m ago•1 comments

Colossus: The Forbin Project

https://en.wikipedia.org/wiki/Colossus:_The_Forbin_Project
2•doener•19m ago•0 comments

A Few Words on DS4

https://antirez.com/news/165
12•caust1c•20m ago•1 comments

Re: IPv8 / BGP8 / CF

https://seclists.org/nanog/2026/May/9
3•doener•21m ago•0 comments

IPv8

https://openipv8.org/
3•doener•26m ago•3 comments

'Nessun Dorma': The Story Behind Pavarotti's Aria

https://www.udiscovermusic.com/classical-features/nessun-dorma-pavarotti/
2•austinallegro•26m ago•0 comments

Tencent admits GPUs only pay for themselves when powering personalized ads

https://www.theregister.com/off-prem/2026/05/14/tencent-admits-gpus-only-pay-for-themselves-when-...
3•Bender•28m ago•0 comments

Zero-day exploit defeats default Windows 11 BitLocker protections

https://arstechnica.com/security/2026/05/zero-day-exploit-completely-defeats-default-windows-11-b...
3•Bender•28m ago•0 comments

Fired hacker twins forget to end Teams recording, capture own crimes

https://arstechnica.com/tech-policy/2026/05/fired-hacker-twins-forget-to-end-teams-recording-capt...
9•Bender•29m ago•1 comments

Popish Plot

https://en.wikipedia.org/wiki/Popish_Plot
3•vinnyglennon•30m ago•0 comments

The political polarization of health outcomes in the USA

https://www.nature.com/articles/s41562-026-02474-9
3•littlexsparkee•30m ago•0 comments

Vouch-compatible PR-spam reduction GitHub Action workflow and CLI tool

https://github.com/PThorpe92/fossier
2•ellieh•32m ago•0 comments

The Revolt against I-Ready

https://www.nbcnews.com/news/education/iready-school-software-faces-parent-teacher-student-fury-r...
2•moultano•36m ago•0 comments

Scientists ID 'corkscrew killer' behind gruesome seal deaths

https://www.science.org/content/article/scientists-id-corkscrew-killer-behind-gruesome-seal-deaths
3•gmays•36m ago•0 comments