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

Find a pub that needs you

https://www.ismypubfucked.com/
1•thinkingemote•1m ago•0 comments

DoS Vulnerability in Node.js for React, Next.js, and APM Users

https://nodejs.org/en/blog/vulnerability/january-2026-dos-mitigation-async-hooks
1•glenjamin•1m ago•0 comments

Show HN: AI Mode API – Turn Big G's AI Mode into an API

https://aimodeapi.com/
1•Patt_•2m ago•0 comments

The ARM64 memory tagging extension in Linux

https://lwn.net/Articles/834289/
1•fanf2•3m ago•0 comments

Verifying State and Reconciliation in Collaborative Web Apps

https://midspiral.com/blog/verifying-state-reconciliation-in-collaborative-web-apps/
1•namin•3m ago•0 comments

How AI Saved Me 30 Minutes

https://rozumem.xyz/posts/11
1•rozumem•5m ago•0 comments

Open Security Controls Assessment Language (OSCAL)

https://github.com/usnistgov/OSCAL
1•saikatsg•5m ago•0 comments

How Iran Switched Off the Internet

https://www.ft.com/content/5d848323-84a9-4512-abd2-dd09e0a786a3
7•ViktorRay•6m ago•1 comments

Show HN: SheetsToLabels – Visual label designer for Google Sheets

https://sheetstolabels.com/
1•cvbox•7m ago•1 comments

OpenAI Codex team refuses to add hooks to Codex CLI

https://github.com/openai/codex/pull/2904
1•behnamoh•8m ago•0 comments

How to lose Western Allies in the Arctic 101

https://www.thearcticinstitute.org/how-lose-western-allies-arctic-101/
2•mooreds•8m ago•0 comments

Trump administration sends letter wiping out addiction, mental health grants

https://www.npr.org/2026/01/14/nx-s1-5677104/trump-administration-letter-terminating-addiction-me...
3•dpcx•8m ago•0 comments

Show HN: Dgdoc – Go Office Templating

https://github.com/dgmosdev/dgdoc
1•parevo•10m ago•0 comments

Ask HN: Amazon Robotics SDE new grad expectations

1•aroy21•11m ago•0 comments

Show HN: Yearly Calendar recap. Google and Outlook calendars only

https://actordo.com/yearly-calendar-recap/
1•websku•11m ago•0 comments

Show HN: Melker – Terminal UIs you can read before you run

https://melker.sh
1•ymodulo•12m ago•0 comments

UK's Open Cosmos beats Thiel-backed Rivada to European satellite licence

https://www.ft.com/content/8262dff8-38da-4230-855d-9b7da1bc1c36
1•alephnerd•15m ago•0 comments

Government drops plans for mandatory digital ID to work in UK

https://www.bbc.com/news/articles/c3385zrrx73o
3•FridayoLeary•15m ago•0 comments

I was placed in the "retarded" class in first grade

https://perens.com/2025/10/26/my-experience-with-being-handicapped-in-the-early-60s/
2•ogogmad•15m ago•1 comments

Show HN: YASP – Open-source, modern status page with full CMS control

https://yasp.io
9•soaringmonchi•18m ago•0 comments

Smelter: Babashka but for Coalton and Common Lisp

https://github.com/abacusnoir/smelter
2•wild_egg•18m ago•0 comments

Denmark sends military reinforcements to Greenland

https://www.dr.dk/nyheder/indland/groenland/efter-pres-fra-usa-danmark-er-nu-begyndt-sende-milita...
27•mooreds•18m ago•16 comments

Show HN: Browser extension to LeetCode easily on mobile

https://github.com/seancze/leetcode-on-the-go
1•seancze•19m ago•0 comments

We are living in a time of polycrisis. If you feel trapped – you're not alone

https://www.theguardian.com/wellness/2026/jan/14/new-year-polycrisis-psychology-feeling-trapped
1•n1b0m•19m ago•0 comments

Event-Mode Neutron Imaging Enables Isotope-Resolved, Time-of-Flight Radiography

https://www.lanl.gov/media/publications/1663/crystal-clear
1•LAsteNERD•20m ago•1 comments

When AI Procurement Fails, What Evidence Exists?

https://www.aivojournal.org/when-ai-procurement-fails-what-evidence-exists/
2•businessmate•20m ago•1 comments

Show HN: Control local CLI agents (Claude, Gemini, Copilot) via email

https://mailpilot.chat
1•keepamovin•20m ago•1 comments

Optimizing data throughput for Postgres snapshots with batch size auto-tuning

https://xata.io/blog/postgres-snapshots-with-batch-size-auto-tuning
1•eminano•21m ago•0 comments

A Rant About Stuttering Apps

https://datadriven.wrbl.xyz/pocket-supercomputer/
1•wrbl•22m ago•0 comments

Show HN: NeuroHTTP – AI HTTP server written in C/َAssembly

https://github.com/okba14/NeuroHTTP
1•oqba•22m ago•0 comments