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

Ask HN: How do you prove a database restore worked?

1•jg-noncelogic•8s ago•0 comments

Fable wrote a .NET GC in C#, got within range of the stock GC in 2 days

https://github.com/kevingosse/ManagedDotnetGC/tree/claude/experiments
1•kookiz•12s ago•1 comments

How AI Embeddings Cut Cloud Costs by 50% While Boosting Matching by 65%

https://tech.wmg.com/breaking-the-black-box-how-ai-embeddings-cut-cloud-costs-by-50-while-boostin...
1•wmg•1m ago•0 comments

Funding open-source software without compromising it

https://yorickpeterse.com/articles/funding-open-source-software-without-compromising-it/
1•YorickPeterse•1m ago•0 comments

The $2T question: Will knowledge-work complexity scale with model capability?

https://twitter.com/__josh_harris__/status/2074824864288919945
1•jah242•3m ago•1 comments

Show HN: GhostedWatch, an extension that detects silent removals on patriots.win

https://ghostedwatch.com/
1•rhaksw•5m ago•0 comments

China warns about AI risks with Anthropic's Claude Code

https://www.cnbc.com/2026/07/08/china-anthropic-ai-claude-code-backdoor-security-threat.html
1•cramer4next•5m ago•1 comments

Robots available for rent: But what can they do?

https://www.bbc.com/news/articles/c4gymkg9lr2o
1•monkeydust•6m ago•0 comments

Show HN: I built the NAS drive comparison table I couldn't find

https://www.nasdisks.com/
1•deeddy•7m ago•0 comments

Show HN: Seqvio – a whiteboard explainer toolkit for React/TSX videos

https://github.com/makesynt/seqvio
1•markthis•8m ago•0 comments

Kasroz: An Optimal Keyboard for Swipe

https://futo.tech/blog/swipe-keyboard
1•ementally•8m ago•0 comments

The Second Derivative: Why No One Understands the AI Boom

https://www.groundbrkr.com/p/the-second-derivative-why-no-one
1•ericwaller•9m ago•0 comments

What happens inside a tennis player's brain as they try to return a 148mph serve

https://theconversation.com/what-happens-inside-a-tennis-players-brain-as-they-try-to-return-a-14...
1•0in•9m ago•0 comments

How to cheat when crossing the Channel by swimming

https://github.com/valhalla/valhalla/discussions/6190
1•nilsnolde•10m ago•0 comments

Show HN: VetoBench – benchmarking AI memory beyond retrieval

https://github.com/adelinamart/robrain/tree/main/packages/vetobench
2•mart1adelina•11m ago•0 comments

First Robot-Run Hotel Is Opening in China

https://www.gadgetreview.com/worlds-first-fully-robot-run-hotel-is-opening-in-china
1•surprisetalk•11m ago•0 comments

Show HN: DeviceShelf – a read-only LAN scanner for homelabs, no cloud back end

https://deviceshelf.app/
1•itsmueller•11m ago•0 comments

Ask HN: Can I find enthusiasts like me as a first time builder?

2•AlexSonn•12m ago•0 comments

Stop Writing Claude.md Rules. Write Linting Rules Instead

https://zernie.com/blog/stop-writing-claude-md-rules/
1•speckx•13m ago•0 comments

Reducing Android JVM allocations for less memory pressure and faster logs

https://blog.bitdrift.io/post/reducing-android-jvm-allocations
1•karinakarina3•14m ago•0 comments

Deprecated Accessor Footgun in AI SDK v7

https://www.lightningjar.com/blog/tool-history-footgun
1•kevinpeckham•15m ago•0 comments

Show HN: Argutum – an AI chat that pays you per message, scored in real time

https://argutum.com
1•ayushsanghavi•16m ago•0 comments

The Age of Reading Is Over

https://www.theatlantic.com/magazine/2026/08/reading-crisis-postliterate-age/687618/
2•0in•18m ago•0 comments

Handsum: An LQIP Image File Format

https://nigeltao.github.io/blog/2026/handsum.html
1•dmit•19m ago•0 comments

An ad-hoc replacement for multitail made with tmux and grcat

https://github.com/themadsens/tmtail/tree/main
1•themadsens•20m ago•0 comments

New EU plan to address the risks and opportunities of advanced AI for cybersec

https://commission.europa.eu/news-and-media/news/new-eu-plan-address-risks-and-opportunities-adva...
1•_____k•20m ago•0 comments

Show HN: CodeRadius, map and govern multi repo architectures

https://coderadius.ai
1•emnlmn•22m ago•0 comments

Show HN: Control YOLO Training and Datasets from Claude/Cursor via MCP

https://github.com/amanharshx/ultralytics-mcp
3•amanharshx•22m ago•0 comments

Companies Reserving AI-Training Rights in Their Terms

https://tostracker.app/analysis/ai-training-rights
1•tldrthelaw•23m ago•0 comments

Recovering a failing disk using a Raspberry Pi and a bit of AI

https://aes.id.au/blog/2026/07/08/recovering-a-failing-disk-using-a-raspberry-pi-and-a-bit-of-ai/
1•andrewescott•23m ago•0 comments