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

Creating another MCP server, but this one is for research

https://jspann.me/blog/posts/research_mcp/
1•jspann•1m ago•0 comments

The Federal Data Field Guide

https://www.federaldatafieldguide.us/
1•sebg•3m ago•0 comments

Matterhorn pandas

https://mz.prose.sh/matterhorn-pandas
1•manuelz•3m ago•0 comments

Magic the Gathering format: Fun 40

https://fabiensanglard.net/mtg/fun//index.html
1•ibobev•5m ago•0 comments

Second Quantisation – A Quantisation Too Far

https://www.forwardscattering.org/page/Second%20Quantisation
1•ibobev•5m ago•0 comments

Ma Configuration SSH · Accueil

https://rodolphe.breard.tf/article/ma-config-ssh/
1•rodrigo975•6m ago•0 comments

My 1993 Atari Mega STE Retro Battlestation

https://www.goto10retro.com/p/my-1993-mega-ste-retro-battlestation
1•ibobev•6m ago•0 comments

Anthropic to open Milan office, expanding push into Europe

https://finance.yahoo.com/sectors/technology/articles/anthropic-open-milan-office-expanding-09502...
1•napolux•7m ago•0 comments

AVX-512 Optimization for FFmpeg Shows Wild Improvement on AMD Ryzen (2025)

https://www.phoronix.com/news/FFmpeg-AVX-512-uyvytoyuv422
1•tosh•7m ago•0 comments

Nvidia says it has 'largely conceded' China's AI chip market to Huawei

https://www.cnbc.com/2026/05/21/nvidia-jensen-huang-china-ai-chip-market-huawei.html
1•Markoff•8m ago•0 comments

Yet another " fastest hashing algorithm"

https://github.com/rrrlasse/intrinhash
1•rlasse•9m ago•1 comments

European Salary Calculator – net pay after tax for PT/ES/UK/DE/NL (2026)

https://www.eunetsalarycalculator.com/
1•coubes•12m ago•0 comments

QuestDB 9.4.0

https://questdb.com/blog/questdb-9-4-0-release/
1•tosh•13m ago•0 comments

Toxiflow – an execution layer that measures fill toxicity

https://github.com/SO2304/toxiflow
1•so2304•13m ago•0 comments

Show HN: Aisbf, a self-hostable OpenAI-compatible AI proxy/router

https://aisbf.cloud/
1•nextime•13m ago•0 comments

The third wave of American philanthropy

https://nanransohoff.substack.com/p/the-third-wave-of-american-philanthropy
1•gmays•13m ago•0 comments

LLM-mock – Record real LLM API responses once, replay them in tests forever

https://pypi.org/project/llm-mock/
1•roman_t•14m ago•0 comments

Playwright CI: What Senior Engineers Do Differently

https://bdr-methodology.dev/blog/what_senior_engineers_do_differently_pro/
1•dmitryaqa•14m ago•0 comments

Gemini randomly dumped its system prompt

https://gist.github.com/mkaramuk/44a44d83178e632ec0dd1f02186d822c
13•mkaramuk•14m ago•1 comments

How These Doctors Keep Brains Going After Death

https://www.youtube.com/watch?v=IzUuvlCjHC4
1•_tk_•17m ago•0 comments

The Effects of School Phone Bans: National Evidence from Lockable Pouches

https://siepr.stanford.edu/publications/working-paper/effects-school-phone-bans-national-evidence...
2•mooreds•18m ago•0 comments

Anthropic's New Consulting Venture Makes Its First Acquisition

https://www.bloomberg.com/news/articles/2026-05-21/anthropic-s-new-consulting-venture-makes-its-f...
6•atomon•19m ago•0 comments

A text adventure game about the joys of submitting updates to the App Store

https://approval.quest/
1•zgoldie•20m ago•0 comments

A Bipartisan Amendment Would End Police License Plate Tracking Nationwide

https://www.wired.com/story/a-bipartisan-amendment-would-end-police-license-plate-tracking-nation...
1•cdrnsf•20m ago•0 comments

AISA

https://aisa.to
2•Ozanagdeviren•21m ago•0 comments

Show HN: I Dedicated 4 Years to Mastering Offline Password Cracking

1•bojta-lepenye•22m ago•0 comments

Air France and Airbus guilty of corporate manslaughter for 2009 plane crash

https://www.theguardian.com/world/2026/may/21/air-france-airbus-guilty-corporate-manslaughter-200...
1•victortalkstech•22m ago•0 comments

Who Wins and Who Loses in Prediction Markets? Evidence from Polymarket

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6443103
2•vcf•23m ago•1 comments

The Rise of Build-to-Rent Housing

https://www.construction-physics.com/p/the-rise-of-build-to-rent-housing
1•crescit_eundo•24m ago•0 comments

Can AI solve this Bongard problem?

https://imgur.com/a/idyH0Kh
1•Kotlopou•24m ago•1 comments