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

Show HN: Brightened Engine – deterministic incremental computation benchmarks

https://thebrokenway.github.io/brightened-benchmarks/
1•thebrokenway•2m ago•0 comments

Linux Sandboxes and Fil-C

https://fil-c.org/seccomp
1•pizlonator•3m ago•0 comments

Crises disrupt long-term increase in stress, negativity, and simplicity in songs

https://www.nature.com/articles/s41598-025-28327-5
1•PaulHoule•4m ago•0 comments

AI Boom Threatens to Suck Resources Away from Road, Bridge Work

https://www.bloomberg.com/news/newsletters/2025-12-12/ai-data-center-boom-may-suck-resources-away...
1•spenvo•5m ago•0 comments

The AI Economics of the Netflix and Warner Bros. Deal

https://medium.com/@gp2030/the-ai-economics-of-the-netflix-warner-bros-deal-bb593a5da26a
2•light_triad•10m ago•0 comments

Why code search at scale is essential when you grow beyond one repository

https://sourcegraph.com/blog/why-code-search-at-scale-is-essential-when-you-grow-beyond-one-repos...
1•handfuloflight•10m ago•0 comments

Spirit of Walt but no Mickey Mouse in Disney's planned desert community

https://www.theguardian.com/us-news/2025/nov/28/disney-community-palm-springs-california
1•PaulHoule•14m ago•0 comments

MCP Writing Code to Call MCP: MCPs All the Way Down

https://rouxbot.com/p/mcp-code-mode
2•rouxbot•16m ago•0 comments

First all-optical XPU processing system

https://www.akhetonics.com/
1•bohnohboh•17m ago•0 comments

UN: World must tackle climate change, pollution, biodiversity and land loss

https://www.pbs.org/newshour/science/un-says-world-must-jointly-tackle-issues-of-climate-change-p...
2•Anon84•17m ago•0 comments

Flat-pack washing machine spins a fairer future

https://www.positive.news/society/flat-pack-washing-machine-spins-a-fairer-future/
3•ohjeez•24m ago•0 comments

My AI Knows Me Better Than Anyone

https://www.asad.pw/my-ai-knows-me-better-than-anyone/
1•ingve•25m ago•0 comments

$1,500 robot cooks dinner while I work

https://www.theverge.com/tech/840599/posha-robot-chef-review
3•sohkamyung•28m ago•0 comments

Get Better at Programming?

2•vaasfps•29m ago•3 comments

Keep a Changelog

https://keepachangelog.com/en/1.1.0/
1•colonCapitalDee•29m ago•0 comments

Venezuela explained in 10 maps and charts

https://www.aljazeera.com/news/2025/11/28/venezuela-explained-in-10-maps-and-charts
1•Anon84•31m ago•0 comments

Circular Dependencies Kill Your Microservices

https://systemdr.substack.com/p/how-circular-dependencies-kill-your
2•birdculture•33m ago•0 comments

Show HN: I made a HumanLayer-clone Claude Code plugin

https://billlyzhaoyh.github.io/hacks/human-layer-clone/
1•yz494•34m ago•0 comments

Show HN: Troql – Auto-generate architecture maps from GitHub repos

https://www.troql.com/
1•Yashkr123•34m ago•0 comments

Samsung to halt SATA SSD production, leaker warns

https://www.notebookcheck.net/Samsung-to-halt-SATA-SSD-production-leaker-warns-of-up-to-18-months...
4•doublepg23•36m ago•0 comments

How to Turn Off AI Tools Like Gemini, Apple Intelligence, Copilot

https://www.consumerreports.org/electronics/artificial-intelligence/turn-off-ai-tools-gemini-appl...
2•ohjeez•37m ago•0 comments

Canada Mobilizes a People's Army

https://charlieangus.substack.com/p/canada-mobilizes-a-peoples-army
2•debo_•38m ago•0 comments

Variability of Technology Learning Rates

https://www.sciencedirect.com/science/article/pii/S2666792425000460
1•JumpCrisscross•39m ago•0 comments

Phytomining

https://en.wikipedia.org/wiki/Phytomining
2•cainxinth•43m ago•0 comments

Circuit Sparsity

https://huggingface.co/openai/circuit-sparsity
1•ray__•46m ago•0 comments

Linux System Calls

https://www.matheusmoreira.com/articles/linux-system-calls
2•enz•46m ago•0 comments

Arizona city rejects data center after AI lobbying push

https://www.politico.com/news/2025/12/12/arizona-city-rejects-data-center-after-ai-lobbying-push-...
6•ohjeez•57m ago•3 comments

From profiling to kernel patch: the journey to an eBPF performance fix

https://rovarma.com/articles/from-profiling-to-kernel-patch-the-journey-to-an-ebpf-performance-fix/
2•todsacerdoti•58m ago•0 comments

Ask HN: Are You Considering Leaving Tech All Together?

3•karakoram•1h ago•6 comments

Compare compensation and rating for different companies when looking for a job

https://compchart.fyi/
1•jacks4jokers•1h ago•0 comments