frontpage.
newsnewestaskshowjobs

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

Balcony solar: two panels, some zip ties, and an outlet

https://gregable.com/2026/11/balcony-solar.html
1•gregable•1m ago•0 comments

Live stock ticker theme for Claude Code desktop

https://github.com/cktang88/claude-ticker-theme
1•kt01•1m ago•0 comments

A linked history of the AI stack

https://foundationindex.ustunozgur.com/
1•arbayi•2m ago•0 comments

How does medical inflation compare to inflation in the rest of the economy?

https://www.healthsystemtracker.org/brief/how-does-medical-inflation-compare-to-inflation-in-the-...
1•elffjs•2m ago•0 comments

Lustro – a tree of deterministic random streams (Rust, Python, C)

https://github.com/Ligatum/Lustro
1•atomU235•4m ago•0 comments

Show HN: Modern HN – a userscript that restyles Hacker News

https://github.com/FallDownTheSystem/modern-hn
1•FallDownTS•5m ago•0 comments

Show HN: Forbear is a immediate mode GUI library that looks like the web

https://github.com/gabrielmfern/forbear
1•Gabrielmfern•5m ago•0 comments

On Drawing Icons

https://pierre.computer/writing/on-drawing-icons
1•bpierre•6m ago•0 comments

Quickly, There's No Time

https://thezvi.substack.com/p/quickly-theres-no-time
1•gmays•6m ago•0 comments

Detecting Empty Abstractions and Pruning Dead Paths in the Linux eBPF Verifier

https://arxiv.org/abs/2611.23584
1•titusblair•9m ago•0 comments

If tiny "primordial" black holes exist

https://news.mit.edu/2026/if-tiny-primordial-black-holes-exist-heres-how-we-might-find-them-1119
1•titusblair•9m ago•0 comments

EU Council has completely gutted the EU Inc proposal

https://www.eu-inc.org/position-paper
1•matesz•10m ago•0 comments

Agents don't need a new UI language. They need to reuse their knowledge

https://geastack.com/blog-typescript-is-enough
1•arbayi•12m ago•0 comments

The Sanders-Casar AI Ban Would Turn a Forecast into a Felony

https://reason.com/2026/11/19/bernie-sanders-superintelligence-ban-would-criminalize-todays-ai-fo...
1•delschlangen•12m ago•0 comments

Show HN: Design Engineering as a Service

https://www.designshippers.com/?deng
1•krm01•12m ago•0 comments

Show HN: Process Watch – Monitor remote jobs and notify Codex when they finish

https://github.com/XX123122/process-watch
1•xx123122•14m ago•0 comments

Agents go off task for the same reasons people do

https://groupflow.sashcatanzarite.com/p/agents-go-off-task-for-the-same-reasons
2•thesash•14m ago•0 comments

The Data Center Boom Could Become Tomorrow's Ghost Town Problem

https://solutionsreview.com/data-storage/the-data-center-boom-could-become-tomorrows-ghost-town-p...
1•cdrnsf•14m ago•0 comments

Show HN: System Design in Depth – Free interactive curriculum with 32 simulators

https://system-design-in-depth.vedgupta.in/
1•innovatorved•16m ago•0 comments

AI makes it too cheap to say yes

https://www.kevinlondon.com/2026/11/16/ai-makes-it-too-cheap-to-say-yes/
1•Kaedon•17m ago•0 comments

We described a transaction-monitoring desk to an AI [video]

https://www.youtube.com/watch?v=1UCf32Wb7U8
1•samfayssal•18m ago•0 comments

US using outages to manufacture consent for continued war

https://www.express.co.uk/news/world/2267083/iran-behind-us-tech-outages
2•rsoto2•19m ago•1 comments

The World Depends on Random Numbers That Aren't Random [video]

https://www.youtube.com/watch?v=uXuQF_PPg5U
1•DamnInteresting•20m ago•0 comments

Modern Java Book

https://javabook.mccue.dev
1•saikatsg•20m ago•0 comments

The Last Ice on Puncak Jaya

https://science.nasa.gov/earth/earth-observatory/the-last-ice-on-puncak-jaya/
1•elo2000•23m ago•0 comments

Hacks, AI or just overdue updates – why have there been so many outages?

https://www.bbc.com/news/articles/c6z0kly2lll7o
2•saikatsg•23m ago•0 comments

AI Is a Net Negative

https://www.jitbit.com/alexblog/ai-is-net-negative/
1•jitbit•23m ago•0 comments

JPMorgan Chase Hack Exposes 16000 Customers Linked to Exclusive Reserve Card

https://www.ibtimes.sg/jpmorgan-chase-hack-exposes-16000-wealthy-customers-linked-exclusive-reser...
2•MadrasTh0rn•23m ago•0 comments

The Evolution of CGI: A Historical Perspective (2025)

https://www.numberanalytics.com/blog/evolution-of-cgi-in-film
1•thunderbong•23m ago•0 comments

Recreation of the Settlers III for the Amiga

https://tomcio-paluszek.itch.io/amiga-settlers-3
1•doener•24m ago•0 comments