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•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

Resistance Against AI Is Not Futile. A List Is a Good Start

https://read.misalignedmag.com/resistance-against-ai-is-not-futile-a-list-is-a-good-start-3b8a4d3...
1•lcubw•28s ago•0 comments

Danish Pension Blacklists SpaceX over 'Catastrophic Governance'

https://www.bloomberg.com/news/articles/2026-05-29/danish-pension-fund-blacklists-spacex-citing-g...
1•leopoldj•52s ago•0 comments

Itanium

https://en.wikipedia.org/wiki/Itanium
1•tosh•1m ago•0 comments

AI Content Fatigue

https://dheer.co/ai-content-fatigue/
2•bushido•1m ago•0 comments

Claude Opus 4.8 distilled Alibaba Qwen models

https://twitter.com/maxforai/status/2060053228566495410
3•simjnd•1m ago•0 comments

Show HN: Community Reviews for Electronic Components

https://semiconductor.review/
2•iceboy•2m ago•0 comments

Towards Understanding Subliminal Learning: When and How Hidden Biases Transfer

https://openreview.net/forum?id=IelhmYSjPt
2•yubblegum•3m ago•0 comments

In 1930 Keynes Predicted We Would Be Working 15-hour weeks. Why was he so wrong?

https://www.npr.org/2015/08/13/432122637/keynes-predicted-we-would-be-working-15-hour-weeks-why-w...
2•fortran77•3m ago•0 comments

Test yourself against local open-source LLMs benchmark questions

https://benchmark-yourself.streamlit.app/
2•diafygi•4m ago•0 comments

OpenAI Announces Rosalind Biodefense

https://openai.com/index/strengthening-societal-resilience-with-rosalind-biodefense/
4•JustSkyfall•6m ago•0 comments

Bijou64: A variable-length integer encoding

https://www.inkandswitch.com/tangents/bijou64/
3•justinweiss•8m ago•0 comments

Infinite Mac

https://infinitemac.org/
3•bookofjoe•9m ago•0 comments

Show HN: Tab Council – turn your AI tabs into a model council

https://github.com/vaddisrinivas/tab-council
2•srinivasvaddi•9m ago•0 comments

Partitioned Global Address Space

https://en.wikipedia.org/wiki/Partitioned_global_address_space
2•tosh•11m ago•0 comments

ON1 (G116 V8): 38μs Black-Box AI Memory Retrieval on Virtual Chip ISA

https://github.com/ON1-Hao/ON1
2•ON1-Hao•12m ago•0 comments

Million Programme – successful Swedish program to build 1M new homes over 10y

https://en.wikipedia.org/wiki/Million_Programme
2•Markoff•12m ago•0 comments

It Will Never Be the Year of the Linux Desktop

https://unix.foo/posts/it-will-never-be-the-year-of-the-linux-desktop/
13•cylo•13m ago•3 comments

Show HN: Stillis – An open-ended anonymous polling platform for anything

https://stillis.xyz
3•goldylochness•13m ago•0 comments

Million Users, Million Forks

https://www.anantjain.xyz/posts/million-users-million-forks
3•anant90•14m ago•0 comments

Show HN: Yavchn – Yet Another Vibe-Coded Hacker News Wrapper

https://yavchn.parkscomputing.com/hn/
2•paulmooreparks•15m ago•0 comments

It's hard to justify buying a Framework 12

https://www.jeffgeerling.com/blog/2026/its-hard-to-justify-framework-12/
5•watermelon0•16m ago•0 comments

Do U.S. Presidents Always Make This Much Money? [video]

https://www.youtube.com/watch?v=X5MzTvfjcOM
7•Kapura•17m ago•3 comments

Benchmarking SurrealDB 3.x vs. Postgres, Mongo, Neo4j and Redis (With Fsync)

https://surrealdb.com/blog/surrealdb-3-x-by-the-numbers
2•itsezc•18m ago•0 comments

HN jobs section led to a job for anyone?

https://www.workatastartup.com/
2•ahmadhamza19•21m ago•0 comments

Ask HN: Made new model type (not LLM) no idea how to sell it

2•sarahoates•22m ago•0 comments

Free Official YouTube Content – A List/Collection of Official YouTube Channels

https://github.com/SuperAB123/Free-Official-Youtube-Content
2•liketomakemoney•22m ago•1 comments

Discovering Dennis Ritchie's Lost Dissertation (2020)

https://computerhistory.org/blog/discovering-dennis-ritchies-lost-dissertation/
4•taubek•26m ago•0 comments

Linkano – Create durable links between what you work on

https://www.mjanssen.nl/linkano/index.html
2•marc0janssen•27m ago•0 comments

Plan/Optimse your internet connection

https://stabilitypulse.com/plan
2•sudhir0112•28m ago•0 comments

Ask HN: Question for Startup Founders on tracking emotions and cognitive signals

2•tonyrice•29m ago•1 comments