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

Android SystemUI Crash-loop from a single Google Drive one link (STA whitepaper)

https://lostmon.blogspot.com/2026/07/resilience-gaps-in-android-ipc.html
1•Lostmon•3m ago•0 comments

Kobuk the Destroyer – Tales from the Wild, Unseen World of Test Engineering

https://wwnorton.com/books/9781324051299
1•ripe•4m ago•1 comments

Why Is Europe Burning?

https://www.newyorker.com/news/the-lede/why-is-europe-burning
2•littlexsparkee•5m ago•0 comments

European Search Perspective: Creating a new foundation for digital pluralism

https://www.eu-searchperspective.com/
1•TMWNN•5m ago•1 comments

Genomic findings and their implications for the evolutionary social sciences

https://www.sciencedirect.com/science/article/pii/S1090513824000722?via%3Dihub
2•geneticdrifts•12m ago•0 comments

A Uiua Type System

https://www.uiua.org/blog/a-uiua-type-system
1•xyzsparetimexyz•15m ago•0 comments

The Kurzgesagt Situation is Insane [video]

https://www.youtube.com/watch?v=OX1yHmeLPy8
2•julkali•16m ago•1 comments

RFC 10015: Deprecating Obsolete Key Exchange Methods in TLS 1.2 and DTLS 1.2

https://www.rfc-editor.org/rfc/rfc10015.html
2•Jimmc414•20m ago•0 comments

Ask HN: Anyone still do work on Intel Macs?

2•senor_digimon•21m ago•1 comments

Moore's Law for Everything (2021)

https://moores.samaltman.com/
2•eatitraw•22m ago•0 comments

Nomophobia

https://en.wikipedia.org/wiki/Nomophobia
2•andersonmvd•24m ago•1 comments

Surface – KDL Specification Format – Experimental

https://github.com/etoxin/surface
2•etoxin•26m ago•1 comments

New Rule: Commie by Your Name – Real Time with Bill Maher [video]

https://www.youtube.com/watch?v=dRIjYHVh5kI
3•Bender•32m ago•2 comments

A Taxonomy of R&D Orgs

https://analogue.press/p/a-taxonomy-of-r-and-d-orgs
2•arbesman•37m ago•0 comments

Show HN: I made 70K+ hand-drawn icons using AI

https://koboyo.com/icons
1•kamranahmedse•40m ago•0 comments

Kubeside – a Kubernetes client that shows your app, not your cluster

https://github.com/dynaum/kubeside
1•dynaum•43m ago•0 comments

A stray commit buried multiple levels deep cost me months

https://www.droppedasbaby.com/posts/db-commits/
24•offbyone42•46m ago•13 comments

The Toad Medicine Boom Was Built on a Myth

https://www.bloomberg.com/news/articles/2026-07-31/what-is-5-meo-dmt-the-god-molecule-and-the-per...
1•petethomas•49m ago•0 comments

Trump says Greenland will be under US control by the time he leaves office

https://www.independent.co.uk/news/world/americas/us-politics/trump-greenland-threats-europe-b302...
9•root-parent•50m ago•1 comments

RoR: Arbitrary file read and RCE in Active Storage

https://discuss.rubyonrails.org/t/cve-2026-66066-possible-arbitrary-file-read-and-remote-code-exe...
2•dnw•51m ago•0 comments

Situational Awareness: The Decade Ahead (2024)

https://situational-awareness.ai/
1•root-parent•52m ago•0 comments

Show HN: PhaseProbe – Find simulation transitions and turn them into tests

https://github.com/aliengineering-byte/phaseprobe
1•ali110v•52m ago•0 comments

Boeing Seats Failed Safety Test in Muan Crash Probe

https://www.chosun.com/english/national-en/2026/07/31/H3WJ5S2HXRGJLIUGYFGVRZ5ESY/
4•root-parent•54m ago•0 comments

Show HN: Symbio self fine-tuning AI loop

https://github.com/huyedits/Symbio
4•huyedit•59m ago•0 comments

Living in My Own Bubble

https://foundersdigest.substack.com/p/living-in-my-own-bubble
2•ashu1461•1h ago•0 comments

Willoughbyland: England's Forgotten South American Colony

https://www.historytoday.com/archive/history-matters/willoughbyland-englands-forgotten-south-amer...
2•benbreen•1h ago•0 comments

In the Land of the Polygons on Mars

https://science.nasa.gov/blog/curiosity-blog-sols-4934-4940-in-the-land-of-the-polygons/
2•jnord•1h ago•0 comments

Truth Social to sell fast access to Trump's social media posts

https://apnews.com/article/trump-truth-social-media-insider-trading-posts-feeds-traders-25c2c5be9...
5•bushwart•1h ago•1 comments

Things I would have done differently (consulting)

https://www.revsys.com/tidbits/things-i-would-have-done-differently/
2•craigkerstiens•1h ago•0 comments

Art Invented Humanity

https://aeon.co/essays/humans-did-not-invent-art-it-was-the-other-way-around
2•prismatic•1h ago•0 comments