frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•6mo 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: Patternia – A Zero-Overhead Pattern Matching DSL for Modern C++

https://github.com/sentomk/patternia
1•sentomk•1m ago•0 comments

Library of Time

https://libraryoftime.xyz/
1•bookofjoe•5m ago•0 comments

What Are Lie Groups?

https://www.quantamagazine.org/what-are-lie-groups-20251203/
2•ibobev•6m ago•0 comments

Diocletian's Cabbages – The Abdication of an Emperor

https://historyhogs.com/diocletians-cabbages/
1•dsego•6m ago•0 comments

You Are (Probably) Measuring Time Wrong

https://www.counting-stuff.com/why-you-are-probably-measuring-time-wrong-why-do-we-need-to-use-su...
1•speckx•6m ago•0 comments

Minimising Screen Brightness with Ubuntu

https://blog.georgovassilis.com/2025/12/03/minimising-screen-brightness-in-ubuntu/
1•ggeorgovassilis•8m ago•0 comments

Using ClickHouse for L7 DDoS and Bot Traffic Analytics with Tempesta FW

https://tempesta-tech.com/blog/defending-against-l7-ddos-and-web-bots-with-tempesta-fw/
1•krizhanovsky•8m ago•1 comments

Essentials of Compilation: An Incremental Approach (2020)

https://swatson555.github.io/essentials-of-compilation-support/
1•swatson741•9m ago•0 comments

The Market as God (1999)

https://www.theatlantic.com/magazine/archive/1999/03/the-market-as-god/306397/
1•measurablefunc•10m ago•0 comments

Man charged with theft over claims he swallowed $19k Fabergé egg

https://www.bbc.com/news/articles/c7vm754r80vo
1•onemoresoop•13m ago•0 comments

The Invisible Cost: From Creator to Consumer

https://edwardnoaland.substack.com/p/the-invisible-cost-from-creator-to
2•edwardnoaland•15m ago•0 comments

Vanbi

https://xeiaso.net/blog/vanbi-01-08-2019/
1•xena•15m ago•0 comments

Conflict with fathers and friends speeds up aging

https://news.virginia.edu/content/conflict-fathers-and-friends-speeds-aging
1•PaulHoule•15m ago•0 comments

Search for long-missing Malaysia Airlines flight MH370 to resume

https://www.bbc.com/news/articles/cy7v077dm0po
1•onemoresoop•16m ago•0 comments

Random Gods song in ORCA (2D programming language) [video]

https://www.youtube.com/watch?v=mxr8Dtw2R5w
1•ludicrousdispla•16m ago•1 comments

The Value Story Framework (2020)

https://www.reifyworks.com/writing/2020-10-14-introducing-the-vsf
1•mooreds•19m ago•0 comments

The only winning move is not to play

https://gregg.io/the-only-winning-move
3•AIBytes•19m ago•0 comments

Kalshi raises $1B at $11B valuation, doubling value in under two months

https://techcrunch.com/2025/12/02/kalshi-raises-1b-at-11b-valuation-doubling-value-in-under-two-m...
2•ryan_j_naughton•20m ago•0 comments

What Is Generative UI?

https://tambo.co/blog/posts/what-is-generative-ui
2•grouchy•20m ago•0 comments

Show HN: Anvitra – Human like search (public beta)

https://anvitra.ai/campaigns/public-beta/
1•melvinodsa•20m ago•0 comments

Teaching an LLM a Niche Diagraming Language

https://www.huy.rocks/everyday/12-01-2025-ai-teaching-an-llm-a-niche-diagraming-language
3•todsacerdoti•21m ago•0 comments

HunyuanOCR by Tencent: A 1B Parameter End to End OCR Expert VLM

https://huggingface.co/tencent/HunyuanOCR
4•maxloh•21m ago•0 comments

Turtletoy

https://turtletoy.net/
1•ustad•22m ago•0 comments

Ask HN: Selling one's self

2•it_is_beautiful•22m ago•1 comments

Workflow Automation: Letting AI Write Workflow Code

https://blog.codesolvent.com/2025/12/workflow-automation-letting-ai-write.html
1•Edmond•22m ago•0 comments

'Carspreading' is on the rise – and not everyone is happy about it

https://www.bbc.co.uk/news/articles/cy7vdvl2531o
5•helsinkiandrew•22m ago•1 comments

New Interview - Michael Burry from the Big Short Speaks [video]

https://www.youtube.com/watch?v=nsE13fvjz18
1•skx001•23m ago•0 comments

Show HN: TabPFN Scaling Mode – Tabular Foundation Model on millions of rows

https://priorlabs.ai/technical-reports/large-data-model
1•onasta•23m ago•0 comments

Toward a Working Definition of Paperclip-Punk

https://www.a16z.news/p/toward-a-working-definition-of-paperclip
1•gk1•23m ago•0 comments

LLMs as a new alien subset of all possible embodied intelligences

https://advanced.onlinelibrary.wiley.com/doi/10.1002/aisy.202401034
1•inshard•26m ago•0 comments