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

Squint

https://squint-cljs.github.io/squint/
1•Tomte•1m ago•0 comments

Elon Musk faces criminal probe in France after ignoring summons in X case

https://arstechnica.com/tech-policy/2026/05/elon-musk-faces-criminal-probe-in-france-after-ignori...
1•ndsipa_pomu•1m ago•0 comments

Export NotebookLM Responses as Properly Cited Docx/PDF [video]

https://www.youtube.com/watch?v=7jx0j9JsQ5o
1•MassiveLy_Easy•2m ago•1 comments

How to turn work into cinematic videos with NotebookLM

https://www.theaithinker.com/p/how-to-turn-work-into-cinematic-videos
1•adamfaik•5m ago•0 comments

Cloudflare Drops on Sales Forecast Miss, Job Cuts

https://www.bloomberg.com/news/articles/2026-05-07/cloudflare-forecast-misses-estimates-announces...
1•1vuio0pswjnm7•8m ago•0 comments

Plan9: The Squeal to Unix [video]

https://www.youtube.com/watch?v=mbsQCnDHkZo
1•zeristor•8m ago•0 comments

Threats by artificial intelligence to human health and human existence (2023)

https://gh.bmj.com/content/8/5/e010435
1•janandonly•12m ago•0 comments

What Does 'Depth' Mean in Mathematics?(2014) – John Stillwell [video]

https://www.youtube.com/watch?v=2jp49wGhAG8
1•nill0•12m ago•0 comments

Apple May Drop Base $599 MacBook Neo as Chip, DRAM Costs Climb

https://www.macrumors.com/2026/05/07/apple-drop-base-macbook-neo-costs-climb/
2•pjmlp•14m ago•0 comments

Mathematical Depth Workshop (2014) – Robert Geroch [video]

https://www.youtube.com/watch?v=qfuIfCI5NOw
1•nill0•15m ago•0 comments

Show HN: Dikaletus – meeting recording and transcription using Mistral AI

https://codeberg.org/MimosaDev/dikaletus
1•phillc73•15m ago•0 comments

The M:N Concurrent Model – A Complete Guide

https://0xkiire.com/mn-concurrency-model/
1•kiirecodes•16m ago•0 comments

Notes on Tanya M. Luhrmann's Book 'How God Becomes Real'

https://michaelnotebook.com/luhrmann/index.html
1•jger15•16m ago•0 comments

Cloudflare's slowing growth disappoints investors betting on AI boost

https://www.reuters.com/business/cloudflares-slowing-growth-disappoints-investors-betting-ai-boos...
2•1vuio0pswjnm7•18m ago•0 comments

Cloudflare stock sinks 24% after earnings, cuts 1100 employees due to AI changes

https://www.cnbc.com/2026/05/07/cloudflare-net-q1-2026-stock-earnings-layoffs.html
1•1vuio0pswjnm7•20m ago•0 comments

A linguist on Arrival's alien language (2016)

https://slate.com/culture/2016/11/a-linguist-on-arrival-s-alien-language.html
1•downbad_•22m ago•2 comments

Fiber optic cables can eavesdrop on nearby conversations

https://www.science.org/content/article/fiber-optic-cables-can-eavesdrop-nearby-conversations
2•signa11•26m ago•0 comments

Top LLMs Have a Podcast Together [video]

https://www.youtube.com/watch?v=9qqmaYRI7Qw
2•modinfo•29m ago•0 comments

Killswitch: Per-function short-circuit mitigation primitive

https://lwn.net/ml/all/20260507070547.2268452-1-sashal@kernel.org/
2•signa11•30m ago•0 comments

A Tale of Two Artisans

https://koas.dev/a-tale-of-two-artisans/
1•alvaro_calleja•38m ago•1 comments

Anesthetic Risk Linked to Venezuelan Maternal Lineage

https://www.medscape.com/viewarticle/anesthetic-risk-linked-venezuelan-maternal-lineage-2026a10009ni
1•fodmap•41m ago•0 comments

The Tech Reclaimers: A Community Bicycle Repair Club for the Internet

https://www.techreclaimers.club
2•jonasced•44m ago•0 comments

What if new proofs are included in LLM training so LLM rediscover it?

2•folderquestion•45m ago•1 comments

Essential Capabilities Insight Teams Need in a Modern Market Research Platform

https://figshare.com/articles/journal_contribution/_b_7_Essential_Capabilities_Insight_Teams_Need...
1•anasteciadunu•55m ago•0 comments

I built godom: Go owns the DOM and the browser is just a rendering surface

https://www.anupshinde.com/why-i-built-godom/
1•anupshinde•55m ago•0 comments

LLMs Corrupt Your Documents When You Delegate

https://arxiv.org/abs/2604.15597
2•rbanffy•59m ago•0 comments

Was Back‑to‑Office Enforced?

1•xchip•59m ago•0 comments

Show HN: Hum – ad-free terminal music player (Rust, no API keys)

https://github.com/Devendra116/hum/
1•devendra116•1h ago•0 comments

Closure of Radio 4 on Long Wave

https://www.bbc.co.uk/reception/work-warning/news/radio4lw
2•fredley•1h ago•0 comments

I've replaced my Claude subscription with a sleep control app

https://twitter.com/patoroco/status/2053031292594225641
2•patoroco•1h ago•0 comments