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

Implications of Berkshire's housing deal remain unstated

https://www.insurancebusinessmag.com/us/news/mergers-acquisitions/berkshire-closes-taylor-morriso...
1•emsidisii•1m ago•0 comments

The Odyssey 1968 – The most faithful screen adaptation of Homer's poem ever made

https://www.imdb.com/title/tt0064750/
1•imadhiskenderbe•2m ago•1 comments

A Collection of Definitions of Intelligence

https://arxiv.org/abs/0706.3639
1•m-hodges•3m ago•0 comments

What's Next in Agentic Operations: Introducing AI Week at Grafana Labs

https://grafana.com/blog/explore-what-s-next-in-agentic-operations-introducing-ai-week/
1•matryer•3m ago•0 comments

Phished. Again

https://www.jeremycherfas.net/blog/phished-again
1•speckx•3m ago•0 comments

Tinycast: Open-Source Raycast Alternative

https://abue-ammar.github.io/tinycast/
1•fdb•4m ago•0 comments

Settling Scores: Experts Debate Why AP Performance Has Soared

https://www.the74million.org/article/settling-scores-experts-debate-why-ap-performance-has-soared/
1•jyunwai•4m ago•0 comments

Show HN: Claude Playbooks – isolated, shareable Claude Code instances

https://github.com/ramazanpolat/claude-playbooks
1•ramazanpolat•4m ago•0 comments

Self-hosted over-the-air update service for React Native apps

https://github.com/codemagic-ci-cd/codemagic-patch
1•mooreds•4m ago•0 comments

What Even Are Microservices?

https://var0.xyz/posts/what-even-are-microservices.html
2•var0xyz•5m ago•0 comments

Destroying a Community with a Gigantic "Clogged Vacuum Cleaner"

https://gizmodo.com/this-viral-data-center-sounds-like-satans-buzzsaw-2000791122
1•ghuroo1•8m ago•0 comments

AI companies are shredding rare books

https://xcancel.com/HedgieMarkets/status/2081534588485296565
22•anon373839•10m ago•1 comments

Show HN: Volas – Technical Indicators for Python

https://github.com/kaelzhang/volas
1•kaelzhang•10m ago•1 comments

Nvidia Launches Open Secure AI Alliance

https://blogs.nvidia.com/blog/open-secure-ai-alliance/
3•BlueBerry2001•11m ago•0 comments

Work out daily? OK, but how socially fit are you? (2023)

https://news.harvard.edu/gazette/story/2023/02/work-out-daily-ok-but-how-socially-fit-are-you/
2•tchalla•12m ago•0 comments

The Proof Machine (2016)

https://incredible.pm/
2•BenoitP•12m ago•0 comments

Worse on Purpose

https://ledger.worseonpurpose.com/brands
5•bookofjoe•13m ago•0 comments

Show HN: Case study: A coding agent refactors a 750k LOC app, no code review

1•bonjourjoel•13m ago•0 comments

More on an Internal OpenAI Model Hacking into HuggingFace

https://thezvi.substack.com/p/more-on-an-internal-openai-model
2•totaldude87•14m ago•0 comments

Gen Z Fell Out of Love with Work. I Don't Blame Them

https://www.nytimes.com/2026/07/23/opinion/gen-z-ambition-millennials-career.html
2•mooreds•14m ago•0 comments

When the Sandbox Won't Hold: Lessons from Hugging Face

https://www.bankinfosecurity.com/when-sandbox-wont-hold-lessons-from-hugging-face-a-32327
1•mooreds•15m ago•0 comments

Whereruns: Check the file you're editing is the one that's running

https://github.com/siliroid/whereruns
1•siliroid•16m ago•0 comments

Ask HN: Redirect-to-www on a dot-dev domain?

1•billpg•16m ago•0 comments

Kestrel, an OS made by Fable 5 from scratch

https://github.com/sohumor/KestrelOS
1•sim04ful•18m ago•0 comments

Show HN: We killed our AI stock analysis and kept the news feed (API and MCP)

https://alphai.io/developers
1•mmakeev•19m ago•0 comments

Rust Terminal UI Library

https://github.com/aymanbagabas/uncurses
1•aymanbagabas•19m ago•0 comments

Claude Opus 5 is limited to a 0.2M token context window by default

https://wadetregaskis.com/claude-opus-5-is-limited-to-a-0-2m-token-context-window-by-default/
2•colejohnson66•21m ago•0 comments

Math News: The Additivity Conjecture in Knot Theory Is False [video]

https://www.youtube.com/watch?v=sGGjWIt28_g
1•surprisetalk•22m ago•0 comments

Show HN: Minesweeper Paint

https://minesweeperpro.com/paint
2•AdamKib•22m ago•0 comments

Tanker hits mine in the Strait of Hormuz as Iran intercepts six vessels

https://nypost.com/2026/07/26/world-news/tanker-hits-mine-in-the-strait-of-hormuz-as-iran-interce...
4•thisislife2•24m ago•2 comments