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•11mo 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

In Blow to Democrats, Virginia Court Strikes Down House Map

https://www.nytimes.com/2026/05/08/us/politics/virginia-redistricting-supreme-court.html
1•Amorymeltzer•13s ago•0 comments

Jan Koum, WhatsApp founder donates record $200M to Shaare Zedek Hospital

https://www.jns.org/news/israel-news/whatsapp-founder-donates-record-200-million-to-shaare-zedek
1•myth_drannon•2m ago•0 comments

Auth Proxy Injection for LLMs

https://www.grepular.com/Auth_Proxy_Injection_for_LLMs
1•Brajeshwar•3m ago•0 comments

DeepL lays off 25% of its workforce

https://www.heise.de/en/news/Cologne-AI-translator-DeepL-lays-off-a-quarter-of-its-workforce-1128...
2•summarity•3m ago•0 comments

The Grand Line of Fine-Grained Authorization

https://fusionauth.io/blog/grand-line-of-fine-grained-authorization
1•mooreds•3m ago•0 comments

Spark CLI: local, multi-provider email access for AI agents

https://github.com/readdle/spark-cli-skills
1•andriydruk•3m ago•0 comments

Words Fail (2020)

https://carcinisation.com/2020/06/26/words-fail/
1•surprisetalk•4m ago•0 comments

Copy/Fail Detection Script (CI/CD)(CVE-2026-31431)

https://github.com/liamromanis101/CVE-2026-31431-Copy-Fail---Vulnerability-Detection-Script
1•lromanis•4m ago•0 comments

Ads in AI Chatbots? An Analysis of How LLMs Navigate Conflicts of Interest

https://arxiv.org/abs/2604.08525
1•DeusExMachina•5m ago•0 comments

When Semiconductor Materials Misbehave

https://semiengineering.com/when-semiconductor-materials-misbehave/
1•PaulHoule•5m ago•0 comments

Reggie: Hybrid Compile-Time and Runtime Optimized Regex for Java

https://github.com/DataDog/java-reggie
2•mfiguiere•6m ago•0 comments

(Un)portable defer in C

https://antonz.org/defer-in-c/
2•fanf2•7m ago•0 comments

Show HN: NPM Package that fills forms via voice using Gemini Live API

https://www.npmjs.com/package/audio-forms
1•vaibhavgeek•7m ago•0 comments

Show HN: A near-zero-dependency Java tookit for internal tools and AI flows

https://github.com/vadimv/server-components
1•v4d1mv•9m ago•0 comments

Expansion on DORA report's observation on individual vs. team productivity

https://alokit.substack.com/p/the-dora-paradox-why-adding-ai-makes
1•avikalp•10m ago•0 comments

Echon – Privacy-First Discord Alternative in Rust and Tauri

https://echon-voice.com
1•Phrosen•12m ago•0 comments

Tldraw SDK 5.0

https://tldraw.dev/blog/tldraw-sdk-5-0
1•SpyCoder77•13m ago•0 comments

Metaphors are central to design. AI needs better ones

https://metedata.substack.com/p/011-ai-needs-better-metaphors
1•young_mete•13m ago•0 comments

De-classified Files documenting UFOs, 'extraterrestrial life' released

https://www.foxnews.com/politics/trump-admin-releases-highly-anticipatedfiles-documents-ufos-extr...
2•kokanator•13m ago•0 comments

What Color is Your Function? (2015)

https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/
1•jeremyscanvic•13m ago•0 comments

You're ignoring most of the world – Which countries get attention by the numbers

https://timhirschelburns.substack.com/p/youre-ignoring-most-of-the-world
1•alphabetatango•14m ago•0 comments

Code Red: The Business Impact of Code Quality

https://dl.acm.org/doi/epdf/10.1145/3524843.3528091
2•tacon•14m ago•0 comments

WhyGoAI – AI session recordings that tell you why users left

2•LatifaOuali•14m ago•0 comments

Cognitive Surrender

https://addyosmani.com/blog/cognitive-surrender/
1•tagyro•14m ago•0 comments

GPON vs. EPON vs. XGS-PON: Complete Comparison Guide 2026

https://www.langzhichina.com/gpon-vs-epon-vs-xgs-pon-comparison-guide
1•langzhi•15m ago•0 comments

Telegram Adds Guest AI Bots, Bot-to-Bot Chats, Chat Automation

https://telegram.org/blog/ai-bot-revolution-11-new-features
2•sharpshadow•16m ago•0 comments

Conversation Branching in AI Chat

https://ably.com/blog/conversation-tree-branching-ably-ai-transport
1•zknill•17m ago•0 comments

Tesla's screwup involves making the font size of braking system too small (2024)

https://www.theverge.com/2024/2/2/24059114/tesla-recall-brake-system-font-size-power-steering
2•gurjeet•18m ago•0 comments

Ask HN: How do we handle the rise of low quality "This is LLM" comments?

1•shantnutiwari•20m ago•1 comments

Young and old men are leaving the labor force, fueling a record decline

https://www.washingtonpost.com/business/2026/05/08/men-labor-force-drop-outs/
4•littlexsparkee•20m ago•1 comments