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

ChatGPT / Codex Reset on Monday

https://xcancel.com/thsottiaux/status/2086189414292865249
1•sscaryterry•1m ago•0 comments

Hyper-Markdown – Markdown for knowledge graphs

https://hyper-markdown.org/
2•divingstar•5m ago•1 comments

I aggregated tracker SDKs and permissions across 300 open-source Android apps

https://apptizo.com/reports/app-trackers-permissions/
1•jkircas•6m ago•0 comments

The Internet Is in Crisis

https://www.theatlantic.com/culture/2026/08/perez-hilton-livestream/688223/
1•paulpauper•6m ago•0 comments

Switzerland is a neutral nation but has more nuclear bunkers than any country

https://www.npr.org/2026/08/08/g-s1-137635/switzerland-nuclear-bunkers
1•andsoitis•9m ago•0 comments

James Bond, not Bond James: why scientific publishing must respect name order

https://www.nature.com/articles/d41586-026-01772-6
2•paulpauper•11m ago•0 comments

What's New in Inkdrop v6

https://forum.inkdrop.app/t/whats-new-in-v6/5570
2•dgavrilov•19m ago•0 comments

Coldcard hardware wallet firmware flaw sees 2k BTC (~$130M) drained

https://www.web3isgoinggreat.com/?id=coldcard-hardware-wallet-flaw
3•ilamont•22m ago•1 comments

Wikipedia's founder on his life's work: "A propaganda tool"

https://nordictimes.com/world/wikipedias-founder-on-his-lifes-work-a-propaganda-tool/
2•thisislife2•23m ago•0 comments

Time Series Observing Itself

https://timeseriesofindia.com/meta/
2•prtk25•26m ago•0 comments

Show HN: Fullscreener // borderless fullscreen for any window (Windows only)

https://github.com/carlos-menezes/fullscreener
1•carlos-menezes•26m ago•0 comments

AI Music Debate Is Missing Half the Money

https://justwordz.medium.com/the-ai-music-debate-is-missing-half-the-money-ffb714924aaa
1•samspenc•27m ago•0 comments

Leibniz's Treatise Disputatio metaphysica de principio individui

https://ojs.tnkul.pl/index.php/rf/article/view/12197
1•Bluestein•27m ago•0 comments

Use Claude Code to make synced video edits to a song

https://github.com/ZiadAbdelkarim/beat-synced-edit
1•iwasastreamer•30m ago•0 comments

Am I the problem? Interviewing another team to find out

https://www.macchaffee.com/blog/2026/am-i-the-problem/
1•signa11•34m ago•0 comments

What We Talk About When We Talk About Bruce Lee

https://decodingvibes.com/blog/what-we-talk-about-when-we-talk-about-bruce-lee/
1•altmanaltman•35m ago•0 comments

Shadow AI is a hidden risk to your business

https://proton.me/business/blog/shadow-ai
3•devonnull•37m ago•0 comments

I build the Tinder to choose food

https://beta.platetale.com/
1•anhyourdream•38m ago•0 comments

Anthropic Economic Index

https://www.anthropic.com/economic-index
4•ronfriedhaber•39m ago•0 comments

Swift-Gigatoken

https://github.com/1amageek/swift-gigatoken
1•frizlab•45m ago•1 comments

The Idea of an Immutable Social Media

https://citizendot.github.io/articles/the-idea-of-immutable-social-media/
3•CITIZENDOT•50m ago•1 comments

Maryland Closes More of Cunningham Falls State Park After Second Beaver Attack

https://news.maryland.gov/dnr/2026/08/05/dnr-closes-additional-areas-of-cunningham-falls-state-pa...
24•bookofjoe•51m ago•8 comments

Pneumatic tube mail in New York City

https://en.wikipedia.org/wiki/Pneumatic_tube_mail_in_New_York_City
4•gkaemmer•54m ago•0 comments

MacGregor the Bridge Builder

https://www.astralcodexten.com/p/macgregor-the-bridge-builder
1•Ariarule•55m ago•0 comments

I gave Claude complete ownership over a website

https://freebot.dev/
2•BenediktHolm•57m ago•2 comments

Attack Techniques: Fake Captive Portals

https://textslashplain.com/2026/08/03/attack-techniques-fake-captive-portals/
2•rowbin•59m ago•0 comments

Improving Heuristics

https://www.redblobgames.com/pathfinding/heuristics/differential.html
2•ingve•1h ago•0 comments

Microsoft Tells Engineers 'Tokenmaxxing Is Not What We Are Optimizing For'

https://www.404media.co/microsoft-tells-engineers-tokenmaxxing-is-not-what-we-are-optimizing-for/
4•doener•1h ago•0 comments

How to write production-quality code with AI

https://curtispoe.org/paad/
4•Ovid•1h ago•1 comments

YouTube Mistakenly Penalizes Kurzgesagt for AI-Generated Slop

https://kotaku.com/youtube-mistakenly-penalizes-popular-science-channel-kurzgesagt-for-ai-generat...
12•guilamu•1h ago•0 comments