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

Show HN: Ungate – Use Claude and ChatGPT Subscriptions in Cursor

https://github.com/orchidfiles/ungate
1•theorchid•1m ago•0 comments

EU leaders seek to tackle challenges at first ever AI summit

https://www.reuters.com/world/china/eu-leaders-seek-tackle-challenges-first-ever-ai-summit-2026-1...
1•gvieri•4m ago•0 comments

How HN: Agent-brain – Notes-agnostic second-brain operating model for AI agents

https://github.com/juanyque/agent-brain
1•juanyque•5m ago•0 comments

Anthropic,OpenAI sued for allegedly infringing inventors' neural network patents

https://www.reuters.com/legal/litigation/anthropic-sued-allegedly-infringing-inventors-neural-net...
2•gvieri•5m ago•0 comments

A faster Easter date function

https://www.benjoffe.com/fast-easter
1•fanf2•7m ago•0 comments

Oee

1•dharmarajbudha•7m ago•0 comments

End of Mercenary Programmers

https://ronakgothi.com/p/end-of-mercenary-programmers/
1•ronakjain90•8m ago•0 comments

Tashrih – 3D anatomy for med students in French, Arabic and English

https://tashrih.dev/en/explore
1•amenigrami•9m ago•0 comments

OpenAI prompt that led to the ETH refutation

https://ethdiscussion.blog/2026/11/12/openai-prompt-that-led-to-the-eth-refutation/
1•artninja1988•9m ago•0 comments

Ask HN: How is your team handling the flood of PRs?

1•hubraumhugo•12m ago•0 comments

Grandmother of the Web: Mary Lee Berners-Lee's Early Work in Australia

https://www.pearcey.org.au/heritage/computing-history/grandmother-of-the-web/
2•Skyfall106•14m ago•0 comments

Taxonomy of 26 Ways AI Can Make Your Life Worse

https://www.f-secure.com/en/partners/illuminate-research/ai-harms-taxonomy
1•mrkn1•19m ago•0 comments

How the physics and chemistry of glassblowing work

https://theconversation.com/im-an-artist-who-works-with-glass-heres-how-the-physics-and-chemistry...
1•sohkamyung•20m ago•0 comments

Is there a 'right amount' of AI?

https://coyotetracks.org/blog/right-amount-of-ai/
2•milali•22m ago•0 comments

A better Claude Code ribbon

https://blog.hagebols.com/posts/usage-band-knows-who-i-am/
1•decide1000•22m ago•0 comments

I Wrote Jensen Huang's Biography. Here's What Led to His Downfall

https://www.nytimes.com/2026/11/12/opinion/jensen-huang-nvidia.html
2•chvid•22m ago•1 comments

New York City Council Approves Landmark Legislation Banning Surveillance Pricing

https://council.nyc.gov/press/2026/11/12/3339/
2•DeepLogin•24m ago•1 comments

Writing Effective Tools for Agents

https://p99log.com/designing-tools-for-ai-agents/
1•collinstonui•24m ago•0 comments

Steven Heller's Font of the Month: Brunner

https://ilovetypography.com/2026/11/12/steven-hellers-font-of-the-month-brunner/
1•jjgreen•24m ago•0 comments

Air purifier could stop you getting diabetes, study finds

https://www.the-independent.com/life-style/health-and-families/air-purifier-pollution-blood-sugar...
2•mrkn1•25m ago•0 comments

Where alien life might be hiding

https://www.bbc.com/future/article/20261111-ice-covered-oceans-and-bleak-craters-where-alien-life...
1•tosh•25m ago•0 comments

Running a 14GB Moe Model Offline on an iPhone 13 Pro with 6GB RAM

https://github.com/MiTLN/OwnOwl-iPhone
1•tarassenkov•26m ago•0 comments

Show HN: Glancecard – README stats cards rendered by your own GitHub Action

https://github.com/gfazioli/glancecard
1•undolog•27m ago•0 comments

Show HN: Luma – Type a phrase, jump to the second it was said in any local video

https://github.com/sakurartro/luma
2•sakurartro•28m ago•0 comments

AI agents bring down wind farm within two hours

https://www.computerweekly.com/news/366654794/AI-agents-bring-down-wind-farm-within-two-hours
1•jonbaer•28m ago•0 comments

Show HN: Desk Widgets – Drag-and-drop desktop widgets for Windows

https://github.com/whoissaaif/desk-widgets
3•Codewithaiyan•32m ago•1 comments

Techdome Solutions

1•VigneshTechdome•36m ago•0 comments

The Great Content Hyperinflation

https://www.joanwestenberg.com/p/the-great-content-hyperinflation
1•nobody9999•37m ago•0 comments

Google Search's Foundational PageRank Patent Has Expired

https://deepsystemstuff.com/patent-for-pagerank-algorithm-who-made-google-search-what-it-is-today...
1•thunderbong•38m ago•0 comments

Nintendo to End 'Sign in with Apple' Support in January

https://www.macrumors.com/2026/11/12/nintendo-to-end-sign-in-with-apple-support/
1•tosh•39m ago•0 comments