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

Gall's Law – Yagnipedia

https://yagnipedia.com/wiki/galls-law
1•ankitg12•1m ago•0 comments

Neomd: A minimal terminal email client for people who write in Markdown

https://neomd.ssp.sh/
1•handfuloflight•2m ago•0 comments

The Discord migration that didn't happen

https://productimpossible.com/articles/discord-migration-that-didnt-happen/
1•sebakubisz•8m ago•0 comments

Show HN: Autorank – Rank on Google and AI search while you sleep

https://www.getautorank.ai/
1•alokjnv10•8m ago•0 comments

How fast is a macOS VM, and how small could it be?

https://eclecticlight.co/2026/05/02/how-fast-is-a-macos-vm-and-how-small-could-it-be/
1•moosia•9m ago•0 comments

ZenBusiness Data Breach

https://haveibeenpwned.com/Breach/ZenBusiness
1•amazonhut•11m ago•0 comments

How Casey Newton is revamping his newsletter to compete with AI

https://www.niemanlab.org/2026/04/more-scoops-less-aggregation-and-analysis-how-casey-newton-is-r...
1•giuliomagnifico•11m ago•0 comments

US to Withdraw Troops from Germany

https://www.dw.com/en/us-to-withdraw-thousands-of-troops-from-germany/a-77016071
2•pera•15m ago•0 comments

Dazzle Camouflage

https://en.wikipedia.org/wiki/Dazzle_camouflage
1•tosh•16m ago•0 comments

AMD Posts HDMI 2.1 FRL Patches for Their Amdgpu Linux Driver

https://www.phoronix.com/news/AMDGPU-HDMI-2.1-FRL-Patches
1•type0•18m ago•0 comments

Andrej Karpathy: From Vibe Coding to Agentic Engineering

https://www.youtube.com/watch?v=96jN2OCOfLs
2•swolpers•20m ago•0 comments

Study: AI models that consider user's feeling are more likely to make errors

https://arstechnica.com/ai/2026/05/study-ai-models-that-consider-users-feeling-are-more-likely-to...
1•rbanffy•26m ago•0 comments

Show HN: I built Male Hormone Lab Interpreter that does what LLMs can't

https://www.longevity-tools.com/male-hormones-interpreter
2•zsolt224•27m ago•0 comments

Spirit Airlines Is Winding Down All Operations

https://spiritrestructuring.com/
1•KoftaBob•28m ago•0 comments

Show HN: Shutt – Turn Strava activities into shareable photo/video posts

https://shutt.run
1•zzarcon•30m ago•0 comments

Who's the First Person in History Whose Name We Know? (2015)

https://www.nationalgeographic.com/science/article/whos-the-first-person-in-history-whose-name-we...
1•downbad_•30m ago•1 comments

Show HN: Browser-based light pollution simulator using real photometric data

https://iesna.eu/?wasm=skyglow_demo
5•holg•31m ago•0 comments

Show HN: PythonStarter – now with Bitcoin Lightning payments

https://pythonstarter.co/
1•dan_easterman•34m ago•0 comments

Intel Inside the Micro Revolution: 8008 Origins

https://thechipletter.substack.com/p/intel-inside-the-micro-revolution
1•klelatti•35m ago•0 comments

Show HN: Filling PDF forms with AI using client-side tool calling

https://copilot.simplepdf.com/?share=a7d00ad073c75a75d493228e6ff7b11eb3f2d945b6175913e87898ec96ca...
2•nip•45m ago•1 comments

Brace for the patch tsunami: AI is unearthing decades of buried code debt

https://www.theregister.com/2026/05/02/ncsc_brace_for_patch_tsunami/
4•zeristor•46m ago•0 comments

Show HN: From Beats to Notes and Beyond

https://bookerapp.replit.app/book/fom/from-temporal-structure
1•ersinesen•49m ago•0 comments

Ask HN: Is it possible to upgrade the RAM of a MacBook Air M2?

1•julienreszka•49m ago•0 comments

CPanel CVE-2026-41940 Exploitation from a Honeypot Perspective

https://defusedcyber.com/cve-2026-41940-cpanel-exploitation-honeypot-perspective
1•waihtis•54m ago•0 comments

Ask HN: Is the AI running out of capacity?

1•roschdal•55m ago•0 comments

Show HN: Large Scale Article Extract of Newspapers 1730s-1960s

https://snewpapers.com/
2•brettnbutter•57m ago•1 comments

ScopeGuard 0.0.7: Your Go-to linter for scope and shadow issues, now with MCP

https://old.reddit.com/r/golang/comments/1t0nw27/scopeguard_007_your_goto_linter_for_scope_and/
2•eik•58m ago•0 comments

AI coding tools are silently disagreeing with each other

https://github.com/sampleXbro/agentsmesh
3•samplexBro•59m ago•0 comments

Dabbling in Erlang, part 2: A minimal introduction (2013)

https://agis.io/post/dabbling-in-erlang-a-minimal-introduction/
1•pasxizeis•1h ago•0 comments

Claude Code: Creating Kubernetes Debugging AI Agent for VictoriaMetrics

https://rtfm.co.ua/en/claude-code-creating-kubernetes-debugging-ai-agent-for-victoriametrics/
1•valyala•1h ago•0 comments