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

IEC 60880 Compliance in Nuclear Systems and Software Safety

https://www.qa-systems.com/blog/iec-60880-compliance-in-nuclear-systems/
1•Bluestein•1m ago•0 comments

Asus Oxiis Intelligent Bike Booster

https://www.asus.com/accessories/bike-booster/asus-oxiis/oxiis-intelligent-bike-booster/
2•_thisdot•2m ago•0 comments

How and when to see the solar eclipse

https://www.bbc.co.uk/news/resources/idt-2a268141-80ca-480d-bd04-6cf688bcc3dd
1•rwmj•3m ago•0 comments

What agentic harness do you use with Chinese models?

1•Gooblebrai•5m ago•0 comments

Google Builds a New Gemini Model Team as AI Investments Accelerate

https://www.nextplatform.com/cloud/2026/08/06/google-builds-a-new-gemini-model-team-as-ai-investm...
1•rbanffy•7m ago•0 comments

Beijing is forcing a mass breakup with AI lovers

https://restofworld.org/2026/china-ai-boyfriend-ban-bytedance-doubao/
1•Nazzareno•8m ago•0 comments

Toggles Considered Harmful

https://ignorethecode.net/blog/2026/08/09/toggles_considered_harmful/
1•signa11•8m ago•0 comments

Sasquatch science

https://aeon.co/essays/the-surprisingly-scientific-methods-of-bigfooters
3•rifish•10m ago•1 comments

Barclays on AI testing, telemetry and kill switches

https://qa-financial.com/barclays-on-ai-testing-telemetry-and-kill-switches/
1•bryanrasmussen•11m ago•0 comments

What happened to Loom after the Atlassian acquisition?

https://chairkick.com/what-happened-to-loom
1•olieidel•12m ago•0 comments

Looking to build 1–2 SaaS projects at a low price

https://www.indiehackers.com/post/looking-to-build-1-2-saas-projects-at-a-very-low-price-0b83cfe530
1•AutFlowStudio•14m ago•0 comments

When the best decision is no decision: the rise of randomization in grant

https://www.nature.com/articles/d41586-026-02082-7
1•sbulaev•15m ago•0 comments

Show HN: Mr_tech – Treating 3D games as source code, not as their runtime

https://github.com/markel1974/godoom
1•markel1974•15m ago•0 comments

Show HN: Overlay – Design with your React components and CSS tokens in your IDE

https://www.overlay.studio/
1•frabia•16m ago•0 comments

CVE-2026-56852: x/text/Unicode/norm infinite loop on invalid UTF-8 (DoS)

https://pkg.go.dev/vuln/GO-2026-5970
1•refp•17m ago•0 comments

Rust game engine Bevy's sixth birthday

https://bevy.org/news/bevys-sixth-birthday/
1•killercup•17m ago•0 comments

How to organize Claude Code for product work

https://www.theaithinker.com/p/how-to-organize-claude-code-for-product
2•adamfaik•19m ago•0 comments

AI for science needs reasoning, not just data

https://www.technologyreview.com/2026/08/10/1141384/ai-agents-for-science/
1•joozio•19m ago•0 comments

Show HN: Anansi – open-source memory API for LLM apps

https://github.com/g-33-L/anansi
1•jsuleiman•19m ago•0 comments

Claude Opus 4.8 Costs 57.1× More, Loses All 5 Benchmarks – Beaten by the Harness

https://floatboat.ai/news/harness-benchmark
1•Floatboat_ai•22m ago•0 comments

CodeSnap – Open-source Carbon.sh alternative with SVG export

http://87.106.146.111:8181
1•chainman•24m ago•0 comments

My Little Game History Anthology

https://felipepepe.medium.com/my-little-game-history-anthology-4029a0d29089
1•rdmuser•24m ago•0 comments

Chinese Mini-Game Sites That Defined Millennial Summer Holidays

https://radii.co/article/6-chinese-mini-game-websites-millennial-summer-holidays
1•rdmuser•25m ago•1 comments

Linus Torvalds says AI has made 'huge' Linux kernel updates the new normal

https://www.theregister.com/os-platforms/2026/08/10/linus-torvalds-says-ai-has-made-huge-linux-ke...
4•pseudolus•25m ago•0 comments

What Makes a Best-Selling Novel? A Machine Learning Approach (2016)

https://marcinciura.wordpress.com/2016/04/17/what-makes-a-best-selling-novel/
1•mci•26m ago•0 comments

AI cyclone forecasts could add 30 hours of warning time

https://phys.org/news/2026-08-ai-cyclone-hours.html
1•pseudolus•26m ago•0 comments

Remembering the pre-Google web, when search was an experiment

https://arstechnica.com/gadgets/2026/08/remembering-the-pre-google-web-when-search-was-an-experim...
1•rbanffy•27m ago•0 comments

From GNSS Fundamentals to Static GPS Spoofing

https://payatu.com/blog/from-gnss-fundamentals-to-static-gps-spoofing/
3•Shubham_Thorat•27m ago•0 comments

Mark Zuckerberg doesn't understand how to live

https://www.theverge.com/ai-artificial-intelligence/977623/mark-zuckerberg-ai-manifesto-dim-vision
4•pythonic_hell•33m ago•1 comments

Nginx reloaded nothing. Certbot still exited 0

https://www.certpost.ai/blog/certbot-renewed-nginx-still-serves-old-cert
2•mlmusson•35m ago•0 comments