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

Snap Services Experiencing Ongoing Outages and Failures Today

https://status.snapcraft.io
1•trup3s•2m ago•0 comments

Do you have a Plan B?

1•aucls1•7m ago•0 comments

Show HN: Zero-knowledge zero-overhead LLM routing mesh using pure web primitives

https://bringYourOwnBrain.org
1•pathmap•12m ago•0 comments

Papers to End All Papers

https://www.condmatjclub.org/jccm_october_2026_01/
1•agarttha•13m ago•0 comments

Temperature soars at Swedish grocery store freezers, one store blames hackers

https://www.reuters.com/business/retail-consumer/temperature-soars-swedish-grocery-store-freezers...
3•aleda145•17m ago•4 comments

Show HN: How Enigma worked and was cracked, explained with moving figures

https://www.readfp.com/chapters/how-enigma-was-cracked
2•shaikhmubin•18m ago•0 comments

The Problem with C++ Safety (Part 2): Modern C++ Is a Mindset, Not a Standard

https://www.modernescpp.com/index.php/cpp-and-memory-safety-part-2/
1•signa11•18m ago•0 comments

Proving and Improving the Platonic Representation Hypothesis with JEPAs

https://www.alphaxiv.org/abs/2610.39302
1•olalonde•19m ago•0 comments

Nine killed as small jet crashes on Florida street

https://www.bbc.co.uk/news/articles/cm369yy7lw73o
3•m4tthumphrey•20m ago•1 comments

Duckrouting: Graph routing for DuckDB, following pgRouting's

https://duckdb.org/community_extensions/extensions/duckrouting
2•boshomi•23m ago•0 comments

Mktemp: Make unique temporary file or directory

https://www.mktemp.org/docs/mktemp.man/
1•ankitg12•26m ago•0 comments

Ask HW: Best frontier AI model for mind map generation?

1•daitangio•28m ago•0 comments

In-camera film simulation app for the Sony A7 II / A7S / A7R II open source

https://github.com/jegly/sonyalpha-film
1•lqgtilnkmard•28m ago•0 comments

Documenting an undocumented chip: the TensorCore of TPU v5e

https://gherkinlabs.com/v5e-tensorcore-instructions
5•gherkinlabs•28m ago•0 comments

Show HN: URL Shortener – A Chrome Extension by Shortener.dev

https://chromewebstore.google.com/detail/shortenerdev-url-shortene/ocpliefdcodaeidgjkfppecfbppljhfn
1•vrathee•28m ago•0 comments

Show HN: I've updated my Linux System Call website and API

https://syscall.sh/
2•guitmz•29m ago•0 comments

Show HN: LibreCosmos – navigate your space-ship through SSH

https://librecosmos.com/
1•zchira•32m ago•0 comments

Another supermarket hit with freezer attack

https://nltimes.nl/2026/11/02/cyberattack-hits-delhaize-supermarket-fridges-freezers-dozens-belgi...
4•casparz•34m ago•1 comments

Textpattern CMS 4.9.2

https://textpattern.com/weblog/textpattern-492-released-security-fixes-patches-and-tweaks
1•petecooper•35m ago•0 comments

Ask questions using the model and knowledge saved on your phone, no connection

https://www.getfieldatlas.com/
1•ZacnyLos•35m ago•0 comments

Ask Wikipedia in Airplane Mode

https://askcommonplace.app/
3•ZacnyLos•36m ago•0 comments

The First Nintendo Switch 2 Emulator for PC Has Just Been Released

https://www.dsogaming.com/news/the-first-nintendo-switch-2-emulator-for-pc-has-just-been-released/
3•ndesaulniers•39m ago•0 comments

Jevons paradox is lazy analysis: Evaluating the risk of AI overbuilding

https://twitter.com/bookwormengr/status/2116705246856741114
1•pretext•42m ago•1 comments

Aulico: Track NVDA, BTC and global markets

https://www.aulico.com/tradespaces/new?symbol=82615e2c-053f-5b02-aea7-792e4d571e32
1•ratonbigger•43m ago•0 comments

MongoDB: One Write, Two Logs

https://franejelavic.github.io/writing/mongodb-wiredtiger-storage-engine/
1•fjelavic•43m ago•0 comments

Show HN: Konvene, private browser-to-browser video calls with on-device effects

https://konvene.app
1•rakeshmenon•44m ago•0 comments

Entire Police Department Quits After Learning What It Feels Like to Be Tracked

https://www.gadgetreview.com/tables-turned-entire-police-department-quits-after-finding-out-what-...
3•robtherobber•45m ago•0 comments

Exploring Super-Agent Design: Towards a More Autonomous Agent System

https://twitter.com/DeepSeekHarness/status/2116857257245987236
1•pretext•45m ago•0 comments

Ukraine and Russia say emergency apps hacked

https://www.bbc.co.uk/news/live/cm4g1yjxv38gt
3•shaftoe444•46m ago•0 comments

Org-Mode November 2026: Fabulously Fancy [LaTeX] Fragments

https://blog.tecosaur.net/tmio/2026-11-01-preview.html
2•internet_points•47m ago•0 comments