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

Let's Talk About What It Means to Rest for the Sake of Rest

https://electricliterature.com/lets-talk-about-what-it-means-to-rest-for-the-sake-of-rest/
1•herbertl•8m ago•0 comments

In search of our own voice

https://www.animationxpress.com/latest-news/guest-column-in-search-of-our-own-voice/
1•herbertl•9m ago•0 comments

Pokémon card thefts on the rise [video]

https://www.youtube.com/watch?v=ZEDXXascuTw
1•mgh2•9m ago•0 comments

Germany's shut down of nuclear plants a 'huge mistake', says Merz

https://brusselssignal.eu/2026/01/germanys-shut-down-of-nuclear-plants-a-huge-mistake-says-merz/
3•walterbell•10m ago•0 comments

A beautifully designed particle mouse effect

https://chromewebstore.google.com/detail/crazy-cursor-magical-part/eejfljdgkaanachdckmpmfgjhncihfmd
1•spacedogs•12m ago•0 comments

Trump wants tech companies to foot bill for new power plants due to AI

https://www.cnbc.com/2026/01/16/trump-wants-tech-companies-to-foot-the-bill-for-new-power-plants-...
1•jnord•13m ago•0 comments

How Etsy Uses LLMs to Improve Search Relevance

https://www.etsy.com/codeascraft/how-etsy-uses-llms-to-improve-search-relevance
1•zdw•19m ago•0 comments

Nvidia suppliers halt H200 output after China blocks chip

https://www.ft.com/content/02a3eb7c-684f-4e39-87b8-36e9595ef800
2•SanjayMehta•23m ago•1 comments

Ask HN: What are good tools for creating a video or interactive demo for a SaaS?

2•rishabhpoddar•25m ago•0 comments

Intuition why the derivative of $e^x$ is itself

https://math.stackexchange.com/questions/3511144/intuition-why-the-derivative-of-ex-is-itself
1•throwoutway•28m ago•0 comments

A Calif. teen trusted ChatGPT's drug advice. He died from an overdose

https://www.sfgate.com/tech/article/calif-teen-chatgpt-drug-advice-fatal-overdose-21266718.php
4•freediver•29m ago•0 comments

Gas Town is a glimpse into the future

https://johncodes.com/archive/2026/01-16-a-glimpse-into-the-future/
2•jpmcb•33m ago•0 comments

Building a Quake PC

https://fabiensanglard.net/quake_pc/index.html
2•zdw•34m ago•0 comments

China Clamps Down on High-Speed Traders, Removing Servers

https://www.bloomberg.com/news/articles/2026-01-16/china-clamps-down-on-high-speed-traders-removi...
5•petethomas•39m ago•0 comments

Astronaut Charlie Duke (2021) [video]

https://www.youtube.com/watch?v=U7jWk0u4K-E
1•ceroxylon•47m ago•1 comments

I skipped Japan's university exam to write a "computational metaphysics" exam

2•fumi2026•49m ago•0 comments

Grand Illusion

https://chrishedges.substack.com/p/grand-illusion-read-by-eunice-wong
2•chmaynard•52m ago•0 comments

Artisanal Code

https://sunnyamrat.com/posts/2026-01-17-artisanal-code/
3•sunnyam•52m ago•0 comments

Lucasfilm President Kathleen Kennedy to step down

https://www.latimes.com/entertainment-arts/business/story/2026-01-15/lucasfilm-president-kathleen...
4•iancmceachern•54m ago•1 comments

Stay-at-home sons are here – and they're not going anywhere

https://www.washingtonpost.com/style/trends/2026/01/16/stay-at-home-sons/
2•blondie9x•56m ago•2 comments

Show HN: Agent Coworking,Multi-agent networks for AI collaboration (open source)

https://openagents.org/showcase
2•snasan•57m ago•0 comments

Ask HN: Can companies claim copyright over their LLM-generated codebases?

3•mks_shuffle•1h ago•2 comments

GitHub Copilot now supports OpenCode

https://github.blog/changelog/2026-01-16-github-copilot-now-supports-opencode/
4•todsacerdoti•1h ago•0 comments

Show HN: I gave AI persistent memory. Someone didn't like that

1•Shaximus•1h ago•0 comments

Dispute with Russian billionaire leads to 4 Bay Area bankruptcies

https://www.sfgate.com/tech/article/russian-billionaire-four-biotech-bankruptcies-21299298.php
5•nradov•1h ago•0 comments

Crypto grifters are recruiting open-source AI developers

https://www.seangoedecke.com/gas-and-ralph/
12•lalitmaganti•1h ago•1 comments

GoodJob, Solid Queue, Sidekiq, Active Job, in 2026

https://island94.org/2026/01/goodjob-solid-queue-sidekiq-active-job-in-2026
1•thunderbong•1h ago•0 comments

Ben Affleck and Matt Damon on the Limits of AI in Filmmaking [video]

https://www.youtube.com/watch?v=O-2OsvVJC0s
5•karakoram•1h ago•0 comments

Every Inch Matters

https://mercurialsolo.substack.com/p/every-inch-matters
1•mercurialsolo•1h ago•1 comments

Chinese Fishing Boats Form Sea Barriers

https://www.nytimes.com/interactive/2026/01/16/world/asia/china-ships-fishing-militia-blockade.html
6•SubiculumCode•1h ago•3 comments