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

In Support of Mandatory Nucleic Acid Synthesis Screening and Recordkeeping

https://screendna.org/
1•JumpCrisscross•1m ago•0 comments

China's Lab-Grown Diamonds Emerge as Unlikely Winner in AI Boom

https://www.bloomberg.com/news/articles/2026-06-02/china-s-lab-grown-diamonds-emerge-as-unlikely-...
1•JumpCrisscross•1m ago•0 comments

County-level map of air conditioning in the U.S.

https://twitter.com/StatisticUrban/status/2062887160743641293
2•JumpCrisscross•2m ago•0 comments

Nine Fours – your 36 top wiki picks across media

https://0g.software/nine-fours
1•0gs•4m ago•1 comments

Controllable Generative Modeling in Minecraft by Training on Billions of Cubes

https://arxiv.org/abs/2604.22847
2•PaulHoule•4m ago•0 comments

Show HN: macOS Apps on Linux: SwiftUI for Linux (and AppKit, NSFoundation, etc.)

https://github.com/Lore-Hex/QuillUI
2•ljlolel•5m ago•0 comments

PostgreSQL 19 Beta: The Four Features You'll Feel

https://thebuild.com/blog/postgresql-19-beta-the-four-features-youll-actually-feel/
1•pgedge_postgres•5m ago•0 comments

Avoiding wasteful electricity use while self hosting LLMs

https://patrickmccanna.net/fixing-a-stuck-ollama-runner-and-building-a-gpu-watchdog/
1•0o_MrPatrick_o0•5m ago•0 comments

Why LLM Inference Needs a New Kind of Router

https://www.modular.com/blog/why-llm-inference-needs-a-new-kind-of-router-part-1
1•aviziva•7m ago•0 comments

The Korean Stock Market Just Crashed Sunday Night but the Nasdaq Is Rising

https://247wallst.com/investing/2026/06/08/the-korean-stock-market-just-crashed-sunday-night-will...
2•carabiner•7m ago•1 comments

The Third Generation of Apple's Foundation Models

https://machinelearning.apple.com/research/introducing-third-generation-of-apple-foundation-models
1•2bit•9m ago•1 comments

The World Needs Replicators: Do science in your home so we know what's true

https://chillphysicsenjoyer.substack.com/p/the-world-needs-replicators
1•crescit_eundo•12m ago•0 comments

'Unbelievable how accurate': How paid influencers hype Polymarket's odds

https://www.politico.com/news/2026/06/05/polymarket-paid-political-influencers-00932789
4•momentmaker•14m ago•0 comments

Apple Passwords Now Auto Fixes Weak and Compromised Passwords with Agentic AI

https://www.macrumors.com/2026/06/08/apple-passwords-can-now-automatically-fix-passwords-with-age...
1•7777777phil•15m ago•1 comments

Performance Mantras

https://hazn.com/performance-mantras
2•hazn•16m ago•0 comments

Show HN: RunAPI – one API for AI video, image, music, audio, and LLMs

https://runapi.ai/
1•billy42•17m ago•0 comments

Regrade

https://regradeapp.tech/#cta
1•preston_s•17m ago•0 comments

An open letter to office suite users, just before the Euro-Office announcement

https://blog.documentfoundation.org/blog/2026/06/08/an-open-letter/
8•jethronethro•17m ago•0 comments

Agents are getting phone numbers. The reason is not obvious

https://newsletter.gtmengineering.ai/p/a-phone-carrier-for-agents-not-what
1•alexjl1226•18m ago•0 comments

Vibe Diaries: Training Nanochat

https://www.vibediary.dev/essays/nanochat
1•stopachka•18m ago•0 comments

Donut Lab's 'solid-state' battery exposed as regular li-ion in investigation

https://electrek.co/2026/06/08/donut-lab-solid-state-battery-exposed-lithium-ion-fraud/
3•virgildotcodes•18m ago•0 comments

Search as Code: The End of the Query-Results Loop

https://medium.com/@tbelbek/perplexity-search-as-code-why-ai-agents-now-write-python-to-find-info...
1•rdstrtwlkr•19m ago•0 comments

JMB585 (SATA Chip) Silent Data Corruption – Root Cause Analysis and Kernel Patch

https://github.com/artmoty-dev/n5pro-jmb585-fix
1•Modified3019•25m ago•0 comments

Judge Strikes Down $100k Fee for Skilled Foreign Worker Visas

https://www.nytimes.com/2026/06/08/us/politics/judge-visa-skilled-workers-fee-trump.html
2•ceejayoz•25m ago•1 comments

Paving the Way for Agents in Biology

https://www.anthropic.com/research/agents-in-biology
1•dataking•29m ago•0 comments

Show HN: Generate production grade Lottie animations with Claude Code

https://twitter.com/konstipaulus/status/2064011863889788972
1•K9-P5•29m ago•0 comments

Yale reinstates SAT, ACT requirement after six years of flexible policy

https://yaledailynews.com/articles/yale-reinstates-sat-act-requirement-after-six-years-of-flexibl...
2•loughnane•30m ago•1 comments

One Token at a Time

https://unvoid.substack.com/p/one-token-at-a-time
2•nullscribe•33m ago•0 comments

AI to Pay for All Americans' Content?

https://ryanspahn.substack.com/p/ai-to-pay-for-all-americans-content
2•paul7986•34m ago•0 comments

Modular Arithmetic Challenge

https://competition.sair.foundation/competitions/modular-arithmetic-challenge/overview
2•u1hcw9nx•35m ago•1 comments