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

Design Considerations for an Anthropophilic Computer (1979)

https://web.stanford.edu/dept/SUL/sites/mac/primary/docs/bom/anthrophilic.html
1•throw310822•4m ago•0 comments

ElephpantDB: A pure PHP SQL database

https://github.com/antonmedv/elephpantdb
1•medv•4m ago•0 comments

Protecting Postgres from everything that isn't Postgres

https://clickhouse.com/blog/protect-postgres-from-supporting-processes
1•saisrirampur•15m ago•0 comments

Anna's Archive Lost Several Domains

https://goodereader.com/blog/ebook-and-audiobook-piracy-news/annas-archive-lost-several-domains
1•kozmonaut•15m ago•0 comments

Building a Flight Controller in Rust

https://www.staszewski.xyz/blog/building-a-flight-controller-in-rust/
1•kamilstaszewski•20m ago•0 comments

The Open Air European Museum

https://www.theprincetontory.com/is-europe-an-open-air-museum/
1•satvikpendem•21m ago•0 comments

We run five Claude Code sessions at once

https://draper.chat/dev/the-ultimate-claude-code-parallelisation-guide-2026
1•tomchill•27m ago•0 comments

Second Wave Solarpunk

https://planetsandmonsters.blogspot.com/2026/08/second-wave-solarpunk.html
1•rdmuser•29m ago•0 comments

Vim Classic debuts with its first release as a Vim fork without AI assistance

https://www.neowin.net/news/vim-classic-debuts-with-its-first-release-as-a-vim-fork-without-ai-as...
1•pir8life4me•30m ago•1 comments

Sivers in Bangalore

https://sive.rs/met/at-15
1•nreece•33m ago•0 comments

Kansas town drops charges against teacher arrested for clapping

https://www.tomshardware.com/tech-industry/data-centers/kansas-town-drops-charges-against-teacher...
2•rdmuser•34m ago•0 comments

Show HN: Tracking spec-driven development in the wild

https://sddobservatory.com/
1•emilesilvis•40m ago•0 comments

PlayStation wants to prove in court that you don't own your digital games

https://www.polygon.com/sony-digital-games-lawsuit-california/
2•Markoff•40m ago•0 comments

I built a multiplayer version of the 4,500-year-old Royal Game of Ur

https://royalgameofur.app
2•potentdream•42m ago•0 comments

Roget's Thesaurus

https://artflsrv04.uchicago.edu/roget-thesaurus/
1•gregsadetsky•42m ago•0 comments

Faster than real-time video generation with #1 quality model

https://fal.ai/tools/minimax-h3-max
1•treesciencebot•42m ago•0 comments

Samsung's SmartThings API Terminates Free Access

https://hackaday.com/2026/07/28/samsungs-smartthings-api-terminates-free-access/
4•ryan_j_naughton•43m ago•0 comments

Any Recommended Alternatives to Google Maps and Apple Maps?

2•derbOac•44m ago•0 comments

Ask HN: How do you feel about AI generated documentation?

3•LelouBil•53m ago•1 comments

Rootless Docker and Its Hidden Security Trade-Offs

https://www.kenmuse.com/blog/rootless-docker-and-its-hidden-security-trade-offs/
2•zdw•56m ago•1 comments

Open Home Foundation

https://www.openhomefoundation.org/
2•LelouBil•59m ago•0 comments

Care for a Little More AI?

https://proofsandprompts.com/2026/08/30/care-for-a-little-more-ai/
1•Shuddown•59m ago•0 comments

Context7 vs. Claude Code's Web Search: A Token and Cost Benchmark

https://upstash.com/blog/context7-vs-web-search-benchmark
1•y1zhou•1h ago•0 comments

Corsair RM1000e (2026) ThermalProtect review: Temperature-sensing 12V-2x6 cable

https://www.tomshardware.com/pc-components/power-supplies/corsair-rm1000e-2026-thermalprotect-pow...
1•sbulaev•1h ago•0 comments

Ask HN: What's the most thoughtful AI product you've seen?

2•asdev•1h ago•2 comments

Privanode – Access 397 models and 19 FREE models with Crypto payments

https://privanode.app/
2•AboozarEsmaili•1h ago•0 comments

The EU has begun enforcing the AI Act: first RFIs to model providers

https://tokenstead.ai/guides/eu-ai-act-first-enforcement-security-rfis
23•cdnsteve•1h ago•22 comments

From Tethered Spinal Cord to C1 Paralysis

https://medium.com/freedomofthought/from-tethered-spinal-cord-to-c1-paralysis-and-five-years-of-b...
4•raynchad•1h ago•0 comments

OpenClaw 2.0, Accidentally

https://openclaw.ai/blog/openclaw-2-accidentally
4•doppp•1h ago•0 comments

Amazon Stonehenge: Parque Arqueológico Do SolstíCIO

https://en.wikipedia.org/wiki/Parque_Arqueol%C3%B3gico_do_Solst%C3%ADcio
2•nycdatasci•1h ago•0 comments