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

I Made AI Look at Traces. For Science

https://labqoat.com/blog/what-animal-left-this
1•dawidkielbasa•32s ago•0 comments

A summer of discontent around ChatGPT's upload deletion function

https://www.unite.ai/a-summer-of-discontent-around-chatgpts-upload-deletion-function/
1•50kIters•34s ago•0 comments

Using commit history to predict the next vulnerability

https://chainloop.dev/blog/predicting-the-next-vulnerability-from-fix-history/
1•migmartri•1m ago•0 comments

I do not and will not use AI

https://dbushell.com/2026/09/28/leaving-them-behind/
2•mococa•1m ago•0 comments

Don't Attribute Intelligence to It

https://gist.github.com/vemv/ecaec66072be5a00cc9f37cce65f3747
1•vemv•1m ago•0 comments

Mechanochemistry of Molecular Motors [video]

https://www.youtube.com/watch?v=hpxbMVbL3Ms
2•surprisetalk•2m ago•0 comments

Falling in Love with the Problem, Not the Solution, Is More Important Than Ever

https://tonyalicea.dev/blog/fall-in-love-with-the-problem/
2•TonyAlicea10•3m ago•0 comments

Windows and macOS both use thread slot 0x20, so fiber games crash under Wine

https://gethighball.com/docs/fiber-slot-wine-macos/
1•gauthierpiarret•4m ago•0 comments

Everyone Has a Recipe Now

https://leadership.garden/everyone-has-a-recipe-now/
1•speckx•4m ago•0 comments

Claude Code saves transcript.jsonl. The log is the truth

https://future-seems-so-good.com/blog/the-log-is-the-truth
1•henriquegodoy•6m ago•0 comments

What is cybersecurity risk management

https://andersenlab.com/services/cybersecurity-risk-management
1•morganclns94•6m ago•0 comments

We asked an agent to tune 1 slow query on 3 Postgres MCP servers. It had notes

https://goodtiming.ai/blog/agent-taste-test-1/
1•dreyler0•6m ago•0 comments

I let AI agents write most of a live-trading codebase

https://redgeoff.com/posts/ai-agents-test-gate/
1•redgeoff•7m ago•0 comments

Zing Radio: thé live audio streaming platform

https://zingradio.live
1•Mwalwala•8m ago•1 comments

The Best Discord Alternatives in 2026, Compared

https://soapbox.pub/blog/best-discord-alternatives-2026
7•long____cat•9m ago•0 comments

macOS Golden Gate Is a Buggy Mess

https://www.squareorbits.com/blog/2026/09/macos-golden-gate-is-a-buggy-mess/
2•SquareOrbits•9m ago•0 comments

Microsoft Azure OpenAI Service Down in EU

https://azure.status.microsoft/status
2•hek2sch•10m ago•0 comments

Couple Accused of Killing Their Son-in-Law in Bay Area Park

https://www.nytimes.com/2026/09/28/us/jonathan-mckinsey-new-york-times-shooting-california.html
2•whack•10m ago•0 comments

I5h: Build a Rust Web App and Prove Its Behavior with Lean 4

https://medium.com/@Koukyosyumei/i5h-build-a-rust-web-app-and-prove-its-behavior-with-lean-4-d80f...
1•syumei•11m ago•0 comments

Surveillance Company Tells Cops It Adds Facial Recognition to Flock Cameras

https://www.404media.co/surveillance-company-tells-cops-it-wants-to-add-facial-recognition-to-flo...
1•awkwardpotato•11m ago•1 comments

Kaniko and BuildKit: 8 years later

https://osscontainertools.org/blog/kaniko-vs-buildkit-2026/
1•martizih•12m ago•0 comments

Fathom: Per-query read depth for sparse decoding over offloaded KV caches

https://arxiv.org/abs/2609.17652
1•vivekkalyanaran•12m ago•0 comments

Understanding the Dual Polytope for Hull Simplification

https://cairnc.github.io/posts/understanding-the-dual-polytope/
2•OlympicMarmoto•14m ago•1 comments

Claude Is "At Capacity"

12•throw03172019•16m ago•2 comments

Claude partial outage

https://status.claude.com/incidents/4xvtc2gnq73l
40•sidcool•16m ago•13 comments

Why Doesn't Anyone Want to Fix One of America's Scariest Roads?

https://www.newyorker.com/magazine/2026/10/05/why-doesnt-anyone-want-to-fix-one-of-americas-scari...
2•adrianhon•18m ago•0 comments

Show HN: Ctxfw – AST context firewall that cuts agent prompt tokens by 67%

https://github.com/heuristicolab/ctxfw
2•mikemo88•18m ago•0 comments

HardenedBSD August / September 2026 Status Report

https://hardenedbsd.org/article/shawn-webb/2026-09-27/hardenedbsd-august-september-2026-status-re...
3•birdculture•19m ago•0 comments

What's the Future for Pure Math Research in the Age of AI?

https://writings.stephenwolfram.com/2026/09/whats-the-future-for-pure-math-research-in-the-age-of...
2•Michelangelo11•20m ago•0 comments

Why Secret Collaboration Is an AI Agent Security Risk

https://spectrum.ieee.org/ai-agent-security
2•rbanffy•20m ago•0 comments