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

Go: A more robust proposal process

https://github.com/golang/go/discussions/80580
1•fractorial•26s ago•0 comments

AI moderators won't run discovery interviews for another ten years

https://blog.zernote.com/ai-moderators-ten-years/
1•mironn•1m ago•0 comments

Show HN: Capy – A Git-style platform for managing your team's secrets

https://github.com/capysc/capy-cli
1•cvince•3m ago•0 comments

Traditional economics is wrong: Donald Trump has proved it

https://eastangliabylines.co.uk/business/economics/traditional-economics-is-wrong-donald-trump-ha...
2•SideburnsOfDoom•6m ago•0 comments

U.S. Cuts Ties with Organ Donor Group After Reports of Abuses

https://www.nytimes.com/2026/08/05/us/organ-donations-kentucky.html
1•JumpCrisscross•8m ago•0 comments

Classified cancer treatment research with parasites released after 60 years

1•yde_java•9m ago•0 comments

A probability grid of chain-of-thought, read through Boyd's OODA loop lens

https://adamsohn.com/reasoning-grid/
1•dataviz1000•10m ago•0 comments

Notes from the AI Coding Transition

https://emschwartz.me/notes-from-the-ai-coding-transition/
1•emschwartz•10m ago•0 comments

Month on Vegan Diet Shifts Epigenetic Patterns Assoc with Aging and Inflammation

https://today.ucsd.edu/story/one-month-on-a-vegan-diet-shifts-epigenetic-patterns-associated-with...
1•littlexsparkee•11m ago•0 comments

Ambient Lighting on Your Mac

https://www.trylumn.xyz/
1•arkancharla•11m ago•0 comments

Le Monde's 100 Books of the Century

https://en.wikipedia.org/wiki/Le_Monde%27s_100_Books_of_the_Century
1•chistev•12m ago•0 comments

Why cloning an app with vibe coding is doomed to fail

https://livablesoftware.com/why-cloning-an-app-with-vibe-coding-fails/
3•softmodeling•13m ago•0 comments

I'm switching my phone from Android to Linux

https://runarcn.no/android-to-linux/
1•speckx•13m ago•0 comments

DuckDB surpassed 40 000 stars on GitHub

https://duckdb.org/2026/08/05/github-40k-stars
1•zazuke•14m ago•0 comments

Ghost Towns

https://ghosttownpix.com/
1•nivethan•15m ago•0 comments

Locunity covers democracy, not infrastructure

https://render.com/customers/locunity
1•1zael•15m ago•0 comments

Show HN: Cloud based firecracker VMs for agents, with email, domains and wallets

https://zipbox.ai/setup/claude
1•hishboy•15m ago•0 comments

Kimi K3 on AWS Bedrock?

1•claude-ai•15m ago•0 comments

Meta Ran Ads That Contained AI-Generated Child Sexual Abuse Imagery

https://www.wired.com/story/meta-ran-ads-that-contained-ai-generated-child-sexual-abuse-imagery/
16•malshe•16m ago•0 comments

Show HN: HomeCat – Turn a phone video into permit-ready building plans

https://myhomecat.com
2•dearilos•17m ago•0 comments

China's A.I. Is Surging Across Africa. That Should Worry Silicon Valley

https://www.nytimes.com/2026/08/05/technology/ai-china-africa.html
1•pseudolus•18m ago•1 comments

Tesla to Open Source Software and Design for Model S and Model X

https://www.notateslaapp.com/news/4490/tesla-to-make-design-and-software-for-model-s-and-model-x-...
2•m463•20m ago•0 comments

"Triple Threat": Paul Ford on LLMs and Ontologies/Knowledge Graphs

https://aboard.com/triple-threat/
1•drewda•20m ago•0 comments

Get a Horse America's Skepticism Toward the First Automobiles (2017)

https://www.saturdayeveningpost.com/2017/01/get-horse-americas-skepticism-toward-first-automobiles/
2•downbad_•22m ago•1 comments

Pensions Buy Fewer Babies. Cutting Them Costs Votes

https://julienreszka.com/blog/pensions-buy-fewer-babies-cutting-them-costs-votes/
2•julienreszka•23m ago•2 comments

How to Be a Usually-Right Contrarian

https://www.overcomingbias.com/p/how-to-be-a-usually-right-contrarian
2•jger15•24m ago•0 comments

Show HN: Small Craft launches Seamside (Web3 P2P hosting/collab)

https://smlcrft.com/thoughts/its-open/
1•akumpf•25m ago•0 comments

First poo transplant to treat food allergy in people has results

https://www.nature.com/articles/d41586-026-02440-5#ref-CR1
1•geneticdrifts•28m ago•0 comments

Ask HN: Why mobile software infrastructure never belongs to its owner?

2•rezvovmobile•28m ago•0 comments

The State of Agentic Memory

https://twitter.com/moorcheh_ai/status/2085082985292767728
2•supportm•29m ago•0 comments