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

The Highest Point in the Netherlands

https://ipv6.hanazo.no/posts/anniversary-personal/
1•haasted•4s ago•0 comments

Double Blind Evals: Resolving the Dual Confidentiality Dilemma in AI Safety [pdf]

https://storage.googleapis.com/deepmind-media/DeepMind.com/Blog/piloting-the-worlds-first-double-...
1•williamtrask•7s ago•0 comments

We built a tool that turns an idea into a finished social video

https://github.com/veedstudio/open-edit
1•hackerabi•54s ago•0 comments

The Five Generations of LFP: Everything You Need to Know

https://evreporter.com/the-five-generations-of-lfp-everything-you-need-to-know/
1•thelastgallon•1m ago•0 comments

Grug and friends get rich (and talk tax optimization)

https://xquant.substack.com/p/grug-and-friends-get-rich
1•nb_quant•3m ago•0 comments

Codefrens – Two strangers. One problem

https://codefrens.com/
1•hjggfjfg•3m ago•0 comments

AI-assisted writing, AI slop, and the line between them

https://amatria.in/blog/aislop
1•speckx•4m ago•0 comments

Offshoots of cancelled TrueNAS Core upgrade to FreeBSD 15

https://www.theregister.com/storage/2026/09/02/offshoots-of-cancelled-truenas-core-upgrade-to-fre...
1•joebuckwilliams•4m ago•0 comments

Europe Doesn't Have an AI Problem. It Has a Trust Problem

https://medium.com/@MirArshadTalpur/europe-doesnt-have-an-ai-problem-it-has-a-trust-problem-c0ee8...
1•Arshad-Talpur•4m ago•0 comments

Dead internet theater – turning malicious AI crawlers into a poetic experiment

https://deadinternet.theater
1•mneunomne•6m ago•1 comments

US-Iran strikes, Meta's AI layoff plan, and bear break-ins

https://www.reuters.com/podcasts/us-iran-strikes-metas-ai-layoff-plan-bear-break-ins-2026-08-31/
1•KinetiNode•8m ago•0 comments

U.S. Teletext Archive: Decoded pages from 1980s American teletext services

https://tvta-yt.github.io/U.S.-Teletext-Website/
1•ndiddy•9m ago•0 comments

Fine-tuning your LLM might be making it dumber

https://github.com/aryanyaksh-art/did-it-even-learn
1•aryan_yaksh•9m ago•0 comments

Show HN: Taking the Column Unreasonably Far

https://goldensystems.ca/GDSL_acorn
1•FirTheMouse•11m ago•0 comments

Show HN: Think Turing Complete, but you write the circuits in TypeScript (WIP)

https://play.simten.dev
1•charlesfrisbee•11m ago•0 comments

U.K. Supreme Court Opens Door for Spyware Victims to Sue Foreign States

https://citizenlab.ca/uk-supreme-court-opens-door-for-spyware-victims-to-sue-foreign-states/
1•iamnothere•12m ago•0 comments

Federal Judge Declines to Break Up Google's Ad Technology Business

https://www.nytimes.com/2026/09/02/technology/google-ad-tech-remedies.html
3•donohoe•12m ago•0 comments

Ban [from] on Your Rust Error Variants

https://blog.sebastiansastre.co/posts/ban-from-on-your-rust-error-variants/
1•sebastianconcpt•12m ago•0 comments

Can Evan Spiegel Sell the World on $2,195 Smart Glasses?

https://www.wsj.com/tech/can-evan-spiegel-sell-the-world-on-2-195-smart-glasses-3fb9b8ca
2•thm•13m ago•1 comments

Linked-In Posts Agentified and Intentivised

1•blater•14m ago•0 comments

Understanding HashMaps: a Rust Implementation for Performance and Collisions

https://medium.com/@ein-monarch/how-do-hashmaps-work-under-the-hood-97f43483a241
1•birdculture•15m ago•0 comments

Show HN: FontWizard, Change Windows system font everywhere in UI and apps

https://github.com/karnyadavdev/FontWizard
2•karnyadav•15m ago•0 comments

Whole-Home WiFi by UniFi

https://blog.ui.com/article/introducing-whole-home-wifi-by-unifi
1•strzalek•16m ago•0 comments

9th Circuit upholds injunction against cash transaction reporting order

https://papersplease.org/wp/2026/09/01/9th-circuit-upholds-injunction-against-cash-transaction-re...
1•iamnothere•18m ago•0 comments

The Pentagon now has its own version of ChatGPT and Grok

https://techcrunch.com/2026/08/31/the-pentagon-now-has-its-own-version-of-chatgpt-and-grok/
3•deepmem•20m ago•0 comments

Shelley Is a Coding Agent

https://github.com/boldsoftware/shelley
1•tosh•21m ago•0 comments

leaf : a Terminal Markdown Viewer, is now available on Homebrew and Scoop

https://formulae.brew.sh/formula/leaf-markdown-viewer
1•RivoLink•22m ago•1 comments

Show HN: Lufterl – global NO₂ map from Sentinel-5P, scored on H3 hexagons

https://lufterl.libmap.org/
1•tomtomistaken•22m ago•0 comments

Containers that SNAT traffic they should not

https://wirt.ee/logbook/vyos-container-snat/
1•portmortem•22m ago•0 comments

Fast Forward to the Past

https://cuencahighlife.com/fast-forward-to-the-past/
1•dxs•23m ago•0 comments