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•11mo 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: Replacing spec-driven development with just facts

https://github.com/av/facts
1•everlier•28s ago•0 comments

Apparent hantavirus outbreak kills 3 on cruise ship, sickens at least 3 more

https://www.cbsnews.com/news/hantavirus-outbreak-apparent-cruise-ship-atlantic-africa-cape-verde/
1•SilverElfin•38s ago•0 comments

Architecting Ground Truth: A Reference Design for Urban Energy Digital Twins

https://blog.ptidej.net/architecting-ground-truth-a-reference-design-for-urban-energy-digital-twins/
1•Minette•1m ago•0 comments

OpenAI's Brockman to Testify After Musk's Text About Settlement

https://www.bloomberg.com/news/articles/2026-05-04/openai-s-brockman-to-testify-after-musk-s-text...
2•dtran24•1m ago•0 comments

UI Automation: Synthesizing 2,616 MIDI Files to WAV at Scale

https://poxate.com/blog/converting-2616-midi-files-to-wav-at-scale
1•bookofcooks•1m ago•0 comments

The Mind of Dario Amodei

https://phil-dubach.com/dario-amodei-profile/
2•7777777phil•2m ago•0 comments

Ask HN: What's the best way to handle large file P2P transfer in the browser?

1•feixiangfly•3m ago•0 comments

Anthropic Unveils $1.5B Joint Venture with Wall Street Firms

https://www.wsj.com/business/deals/anthropic-nears-1-5-billion-joint-venture-with-wall-street-fir...
2•TechTechTech•3m ago•0 comments

Show HN:Privacy-First Pdf Converter

https://privapdf.net
1•omertt27•5m ago•1 comments

How to Build a High-Performance MCP Server on Azure Functions

https://niravraval.com/blog/2026/may/how-to-build-a-high-performance-mcp-server-on-azure-functions/
1•nrvrvl•6m ago•0 comments

Show HN: Workout Writer – deterministic text parser for run and ride workouts

https://apps.apple.com/us/app/workout-writer-run-ride/id6608967303
1•siburb•6m ago•0 comments

Show HN: Let – Offline-first life events tracker (React Native, SQLite)

https://github.com/p32929/let
1•heliskyr2•8m ago•0 comments

Flaws in Kenya's AI-driven health reforms driving up costs for the poorest

https://www.theguardian.com/global-development/2026/may/04/kenya-ai-healthcare-reforms-driving-up...
1•xyzal•8m ago•0 comments

Margin – A Streak Tracker for Readers

https://www.readmargin.club/
1•karimdakroury•10m ago•0 comments

Coinbase Backed the Clarity Act. Here's Who Won

https://stablecoinbrief.substack.com/p/meta-launches-usdc-creator-payouts
1•knivef•11m ago•0 comments

I Vibe-Coded the App of My Dreams and Only Lost My Mind Twice

https://www.wsj.com/tech/ai/vibe-coding-dashboards-replit-lovable-09cc79b1
1•NickDouglas•12m ago•0 comments

Why I Turned Down a Tenure-Track Professorship

https://mayankagrawalphd.substack.com/p/why-i-turned-down-a-tenure-track
1•timshell•12m ago•0 comments

A wooden holztrompete sounds at Met Opera's `Tristan und Isolde'

https://apnews.com/article/wagner-wooden-trumpet-holztrompete-8a3f1eddb9b1f9f1f3ba95d6471e3664
1•speckx•14m ago•0 comments

GameStop's CEO gave the most awkward interview about how it would pay for eBay

https://www.businessinsider.com/gamestop-ceos-awkward-interview-after-billion-ebay-offer-2026-5
2•mgh2•15m ago•2 comments

Catch Streams

https://blog.ptidej.net/catch-streams/
2•sikandarejaz•15m ago•0 comments

Yann LeCun's $1B Bet Against LLMs [video]

https://www.youtube.com/watch?v=kYkIdXwW2AE
2•Topfi•16m ago•1 comments

Using metacognition to get a model upgrade

https://12gramsofcarbon.com/p/agentics-using-metacognition-to-get
1•theahura•16m ago•0 comments

A Simpler Parametrization for Modern Optimizers

https://jiha-kim.github.io/posts/a-simpler-parametrization-for-modern-optimizers/
1•ibobev•17m ago•0 comments

The Mystery of Rennes-Le-Château, Part 5: The Man Behind the Curtain

https://www.filfre.net/2026/05/the-mystery-of-rennes-le-chateau-part-5-the-man-behind-the-curtain/
1•ibobev•17m ago•0 comments

Using autocommands with the new Neovim API

https://xnacly.me/posts/2023/autocommand-nvim/
1•ibobev•18m ago•0 comments

Jury Convicts Isis-K Terrorist for Role in the Abbey Gate Bombing&Other Attacks

https://www.justice.gov/opa/pr/federal-jury-convicts-isis-k-terrorist-role-abbey-gate-bombing-and...
1•737min•18m ago•0 comments

Ukiyo-E Online Database Holds 220k Japanese Woodblock Prints (2017)

https://mymodernmet.com/japanese-woodblock-ukiyo-e-online-database/
2•speckx•19m ago•0 comments

U.S. Fed policymakers stance on interest rate hikes

https://www.reuters.com/graphics/USA-ECONOMY/FED/gdpzajoegvw/
1•gmays•19m ago•0 comments

Category Theory for Tiny ML in Rust

https://hghalebi.github.io/category_theory_transformer_rs/
1•pajop•22m ago•0 comments

Show HN: The Cat Is Under Mayonnaise – Modifying LLM Behavior Without Retraining

https://github.com/andycufari/the-cat-is-under-mayonnaise-experiment
1•andycufari•23m ago•0 comments