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

A Single Cobalt Shock Could Trigger Global EV Battery Supply Chaos

https://www.sciencedaily.com/releases/2026/06/260619101402.htm
1•karakoram•1m ago•0 comments

The frontier is open-source today

https://www.southbridge.ai/blog/offmute-v2-glm-vs-opus
2•hrishi•4m ago•0 comments

Hand-powered LLM (YouTube) [video]

https://www.youtube.com/watch?v=HSapdLYpmWY
2•mcchen51•4m ago•0 comments

Every DFU Button Is a Failure

https://umi.engineering/blogs/engineering/every-dfu-button-is-a-failure
2•liamkinne•7m ago•0 comments

Palmier-pro: macOS video editor built for AI

https://github.com/palmier-io/palmier-pro
2•nateb2022•8m ago•0 comments

Venice proposes hiking entry fee to €50

https://www.euronews.com/travel/2026/06/19/would-you-pay-50-to-visit-venice-new-mayor-is-pushing-...
2•Markoff•10m ago•0 comments

Show HN: Lil Apps

https://lilapp.us/
2•marcuskaz•13m ago•0 comments

Evaluation order and nontermination in query languages

https://www.rntz.net/post/2026-06-11-datalog-nontermination.html
2•g0xA52A2A•13m ago•0 comments

Claude is your insider threat now – Dan Tentler – Security Fest 2026 [video]

https://www.youtube.com/watch?v=yvJYw2gR0cU
2•_____k•14m ago•0 comments

Do Elite Universities Overpay Their Faculty?

https://direct.mit.edu/rest/article-abstract/doi/10.1162/REST.a.1817/137257/Do-Elite-Universities...
3•paulpauper•17m ago•0 comments

Cuba to Privatize State Companies

https://www.miamiherald.com/news/nation-world/world/americas/cuba/article316195766.html#storylink...
2•paulpauper•17m ago•0 comments

Do weird corporate governance structures work well?

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6697999
2•paulpauper•18m ago•0 comments

Let an Agent run the apps on your computer

https://lapu.ai/
2•xAdamx•18m ago•0 comments

Iran says it's closing Strait of Hormuz, accusing Israel, US of violating truce

https://www.cnn.com/2026/06/20/world/live-news/iran-war-trump-israel-lebanon
6•MilnerRoute•18m ago•0 comments

Ribbie, Live Baseball in Pixels

https://ribbie.tv
2•zdw•19m ago•0 comments

Letheo – a Cognitive Runtime for agent memory in Rust (forgetting by physics)

https://github.com/Abick91/letheo
2•abick91•20m ago•0 comments

Homo Agenticus

https://www.strangeloopcanon.com/p/homo-agenticus
2•kiyanwang•21m ago•0 comments

How to Lose a Global AI Monopoly in One Afternoon [video]

https://www.youtube.com/watch?v=0RxMj0L0-fY
2•Topfi•21m ago•0 comments

Tesla's self-driving safeguards fooled by $30 doll heads

https://electrek.co/2026/06/15/chinese-drivers-plastic-heads-fool-tesla-autopilot-camera/
4•zdw•22m ago•0 comments

Eliya – a compliance-focused OpenJDK 25 distribution (Phase 1 of a JVM platform)

https://root.asymm.systems/product/eliya
2•fahimfarookme•23m ago•1 comments

Cotect – a fast code inspector for the agent era

https://cotect.dev/
3•grzracz•27m ago•0 comments

FCC Seeks Comment on Enhanced Know-Your-Customer Requirements

https://www.fcc.gov/document/fcc-seeks-comment-enhanced-know-your-customer-requirements
2•dredmorbius•29m ago•1 comments

Epidurals Are a Miracle Technology

https://worksinprogress.co/issue/the-wonder-of-epidurals/
3•karakoram•32m ago•0 comments

Write a Letter to Your Future Self

https://www.futureme.org/
3•karakoram•33m ago•0 comments

Sinceerly, AI to undo your AI writing

https://sinceerly.com
2•zdw•33m ago•1 comments

Granta stops publishing short story award winners over AI controversy

https://www.theguardian.com/books/2026/jun/20/granta-magazine-commonwealth-short-story-prize-ai
5•ilreb•33m ago•0 comments

Show HN: Video on the map marketplace 1 year – still bad traction

2•cromlehg•34m ago•0 comments

Hyperia 0.12.7 is released: an agentic terminal for agents and humans

https://github.com/DeepBlueDynamics/hyperia/releases
2•kordlessagain•36m ago•0 comments

Show HN: Mitos – N-way live copy-on-write fork of running Firecracker microVMs

https://github.com/mitos-run/mitos
2•stubbi•37m ago•0 comments

What has (can) the EU Cyber Resilience Act done (do) for you?

https://bsdly.blogspot.com/2026/06/what-has-can-eu-cyber-resilience-act.html
3•jandeboevrie•39m ago•0 comments