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

What LLMs Should Do

https://adamperesztegi.com/posts/what-llms-should-do/
1•nevertoolate•3m ago•0 comments

China created a system that simulates the Earth with billions of AI agents

https://twitter.com/howtoprompt__/status/2086110097663795365
1•fragmede•6m ago•1 comments

Generative AI threatens to upend citizen science records

https://phys.org/news/2026-08-creatures-born-code-generative-ai.html
1•programd•6m ago•0 comments

I Turned Off Google Adsense

https://www.cannonade.net/blog/why-i-turned-off-google-adsense
1•redbluething•6m ago•0 comments

Show HN: OneRingAI v1 – TypeScript agents with integrations and graph memory

https://github.com/aantich/oneringai
2•jhoxray•6m ago•0 comments

Show HN: My WHOOP has no screen. My Kindle had no job. So I put them together

https://github.com/kaibuildsai/kindle-for-whoop
2•kaibuidsai•7m ago•0 comments

Show HN: Would your AI audit logs survive an audit challenge?

https://github.com/Rehanrana11/evidence-verify
1•rmasoodx22•9m ago•0 comments

Why/How is a negative times a negative a positive?

https://old.reddit.com/r/explainlikeimfive/comments/1vje5br/eli5_whyhow_is_a_negative_times_a_neg...
1•bilsbie•14m ago•0 comments

Netflix Queries Its Real-Time Distributed Graph with gRPC

https://netflixtechblog.com/how-and-why-netflix-built-a-real-time-distributed-graph-part-3-queryi...
1•sbulaev•19m ago•0 comments

Show HN: HN Hiring – Search and Filter Who Is Hiring

https://hnhiring.azuanz.com
2•azuanrb•20m ago•0 comments

Show HN: Xprem: Self-hosted OTA updates and observability for Expo apps

1•madscripten•23m ago•0 comments

Why Wall Street Is Ignoring Big Tech's Debt

https://www.youtube.com/watch?v=NufJ7g63KSY
3•johnbarron•25m ago•0 comments

70% of AI revenue comes from OpenAI and Anthropic

https://www.youtube.com/watch?v=68X8yEatepQ
2•johnbarron•30m ago•0 comments

Dutch bank: Extreme heat could wipe out Dutch, EU economic growth this year

https://nltimes.nl/2026/08/09/dutch-bank-extreme-heat-wipe-dutch-eu-economic-growth-year
4•giuliomagnifico•33m ago•0 comments

Show HN: Choq: Cherry (ClojureScript) on QuickJS

https://github.com/squint-cljs/choq
2•Borkdude•34m ago•1 comments

UAE oil output hits all time high in 2026

https://oilprice.com/Latest-Energy-News/World-News/UAE-Oil-Output-Hits-All-Time-High-Doubling-Pre...
2•spwa4•35m ago•0 comments

Darwin Was Right About Sex Roles

https://www.stevestewartwilliams.com/p/darwin-was-right-about-sex-roles
1•Anon84•36m ago•0 comments

A small PHP guestbook

https://twitter.com/__tosh/status/2086418779920105952
1•tosh•40m ago•0 comments

Show HN: DeepSeek-V4 Latent Reasoning – moving "thinking" into latent space

https://blog.n.ichol.ai/packaging-latent-reasoning-as-a-real-model
1•nmitchko•40m ago•0 comments

Drought Threatens the Rhine, a Vital Economic Artery in the Heart of Europe

https://www.nytimes.com/2026/08/06/business/rhine-drought-germany-economy.html
3•bookofjoe•41m ago•1 comments

Yuval Noah Harari on AI, Human Stupidity, and the Future of Civilization [video]

https://www.youtube.com/watch?v=bZL1NsrfuYE
2•thelastgallon•42m ago•0 comments

Reviving a four year old reMarkable 2

https://oskrim.github.io/hardware/2026/08/09/remarkable-over-ssh.html
6•tremguy•47m ago•1 comments

Sperm whale communication clicks can travel up to 70 km

https://bio.au.dk/en/about-biology/news-and-events/show/artikel/verdens-kraftigste-clickbait
2•ashurandi•51m ago•0 comments

Data Warehouse Isn't Integrated Just Because the Tables Are in One Place

https://seattledataguy.substack.com/p/your-data-warehouse-isnt-integrated
2•eigenBasis•53m ago•0 comments

Everything You Do Is Being Recorded

https://www.theatlantic.com/technology/2026/05/ai-wearable-surveillance-countermeasures/687203/
23•ike_usawa•56m ago•11 comments

Silencing brain's prefrontal cortex boost creative problem-solving in mice

https://news.emory.edu/stories/2026/08/how-mice-learn-think-out-box-neuroscience-surprise
1•giuliomagnifico•58m ago•0 comments

Show HN: Inspect any MCP server – latency, token usage, and security scans

https://github.com/ytkoka/mcp-tester
1•ytkoka•1h ago•0 comments

Switching to electric stoves can dramatically cut indoor air pollution

https://news.stanford.edu/stories/2025/12/gas-propane-stoves-nitrogen-dioxide-exposure-health-ris...
4•Doriell•1h ago•0 comments

Real Engineers Dig with Their Bare Hands

https://www.minid.net/2026/7/14/how-to-automatise-with-ai
4•meerita•1h ago•0 comments

A quick look at zero-knowledge proofs

https://bernsteinbear.com/blog/zkp/
3•birdculture•1h ago•0 comments