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

Politician's Syllogism

https://en.wikipedia.org/wiki/Politician%27s_syllogism
1•shmistory•1m ago•0 comments

Engineering for Slow Internet (2024)

https://brr.fyi/posts/engineering-for-slow-internet
2•initramfs•4m ago•0 comments

Show HN: Set, offline Markdown note-taking app with device-to-device sync

https://app.writewithset.com
1•aavshr•4m ago•0 comments

Analysis busts myths of Roman road network

https://www.rnz.co.nz/news/world/1475587/analysis-busts-myths-of-roman-road-network-and-offers-in...
1•colinprince•8m ago•0 comments

Direct Imaging of a Giant Planet and Debris Disk Around M-Dwarf RX J0534.0-0221

https://arxiv.org/abs/2609.20748
2•Betelbuddy•8m ago•0 comments

Why AI Cannot Save an Enterprise That Doesn't Understand Its Data

https://architectureintel.com/why-ai-cannot-save-an-enterprise-that-doesnt-understand-its-data-83...
1•younss•8m ago•0 comments

Oregon data centers: 111 facilities consume nearly 1/4 of state's power

https://www.opb.org/article/2026/09/17/oregon-data-centers-consume-quarter-state-power-report/
1•awnird•10m ago•0 comments

Regulate and Standardize AI? Nope

https://www.tbray.org/ongoing/When/202x/2026/09/18/On-Regulating-AI
1•airhangerf15•18m ago•0 comments

Show HN: Forexfin – Trading calculators, alerts and a journal in one place

https://forexfin.tech/
1•howtobatman101•18m ago•0 comments

Show HN: Kibana-agent – query Kibana logs from CLI

https://github.com/hyzyla/kibana-agent
1•hyzyla•23m ago•0 comments

Show HN: Detecting Volumetric DDoS via Covariance Manifold Topology Collapse

https://github.com/PJHkorea/homeostasis-ingress-firewall
1•PJHkorea•26m ago•1 comments

America Has the AI Lead. Beijing Wants It Slowed and D.C.Is Building a Chokehold

https://floppingaces.net/most-wanted/america-built-the-worlds-ai-lead-now-beijing-wants-it-slowed...
2•rmason•31m ago•0 comments

There Are Over 1M NYC Street Signs. Here is How They Are Made.

https://www.nytimes.com/2026/08/15/nyregion/nyc-street-sign-shop.html
4•bookofjoe•33m ago•1 comments

Fat Bear Bracket for Katmai Fat Bear Week

https://fatbearbracket.com/
3•pizzathyme•34m ago•0 comments

A Call for Open Science in AI Safety

https://make-safety-open.github.io/
2•lllllm•34m ago•0 comments

What have you been curious about?

https://www.evalapply.org/posts/what-have-you-been-curious-about/index.html
2•andsoitis•38m ago•0 comments

iHatePDF – PDF tools that run locally in the browser via WASM

https://ihatepdf.com
2•thenutshelllabs•39m ago•0 comments

Write While Learning

https://purplesyringa.moe/blog/write-while-learning/
2•dalvrosa•41m ago•0 comments

Roundabouts Database

https://roundabouts.kittelson.com/
4•toomuchtodo•44m ago•0 comments

HellGates, custom CPU gate-level challenge

https://blog.xutaxkamay.com/posts/hellgates/
4•xutaxkamay•46m ago•1 comments

Skills Explorer: understand your SKILLs visually

https://skillsexplorer.dev/
3•scottpersinger•47m ago•0 comments

Mayday Mysteries

http://www.maydaymystery.org/mayday/
10•Eridanus2•47m ago•2 comments

Portals Aren't Cameras: How Helio Folds Space in WGSL

https://pulsarnative.com/blog/2026-09-18-folding-space
2•tristonarmstron•47m ago•0 comments

The Untold Story of NotPetya, the Most Devastating Cyberattack in History (2018)

https://www.wired.com/story/notpetya-cyberattack-ukraine-russia-code-crashed-the-world/
2•consumer451•53m ago•0 comments

What happens to TLDs when their country stops existing?

https://astrid.tech/2022/04/05/0/dead-tlds/
4•lr0•53m ago•0 comments

Jev is to tool use what RAG is to context

https://rajveerbachkaniwala.com/blog/2026/09/19/jev-is-to-tool-use-what-rag-is-to-context/
1•rajveerb•59m ago•0 comments

How Hacker News ranking works: scoring, controversy, and penalties (2013)

https://www.righto.com/2013/11/how-hacker-news-ranking-really-works.html
21•theanonymousone•59m ago•2 comments

Partnering with Accenture on Embedded Evaluation

https://www.anthropic.com/news/accenture-embedded-evaluation
3•theanonymousone•1h ago•1 comments

The shape that does not return

https://harishsnotebook.com/2026/03/21/the-shape-that-does-not-return/
2•andsoitis•1h ago•0 comments

Ideological differences in the expanse of the moral circle (2019)

https://www.nature.com/articles/s41467-019-12227-0
1•jackdoe•1h ago•1 comments