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

How to Achieve Serverless GPUs

https://modal.com/blog/truly-serverless-gpus
1•gmays•52s ago•0 comments

Unlocking Asynchronicity in Continuous Batching

https://huggingface.co/blog/continuous_async
1•ibobev•1m ago•0 comments

Recovering the State of Xorshift128

https://www.johndcook.com/blog/2026/05/15/xorshift128-state/
1•ibobev•1m ago•0 comments

The Supreme Court just told every freight broker that they can be sued

https://finance.yahoo.com/economy/policy/articles/supreme-court-just-told-every-144034621.html
1•ldayley•2m ago•0 comments

Software Sandboxing: The Basics

https://blog.emilua.org/2025/01/12/software-sandboxing-basics/
1•vinipsmaker•2m ago•0 comments

Show HN: Vouch, I scanned 50 AI-coded repos with my own scanner

https://www.vouch-secure.com/
2•jonathan_demir•3m ago•0 comments

Cursing the government does not fix potholes. Spray-painting them does

https://imagenotfound.writeas.com/the-holes-we-painted-and-why-we-did-it-anyway
2•bogomil•3m ago•1 comments

Ukrainian drone strike on fuel depot prompts Latvian prime minister resignation

https://www.defensenews.com/global/europe/2026/05/11/ukrainian-drone-strike-on-empty-baltic-fuel-...
1•stared•3m ago•0 comments

Microsoft to automatically roll back faulty Windows drivers

https://www.bleepingcomputer.com/news/microsoft/microsoft-to-automatically-roll-back-faulty-windo...
3•Brajeshwar•4m ago•0 comments

Simon the Sorcerer Origins

https://store.steampowered.com/app/1939890/Simon_the_Sorcerer_Origins/
1•doener•5m ago•0 comments

AST-outline: AST-based code-navigation CLI

https://github.com/aeroxy/ast-outline
1•robertkrahn01•5m ago•1 comments

Six Joints, Twenty-One Fingers, and the Math of Reach

https://atomsfrontier.substack.com/p/six-joints-twenty-one-fingers-and
1•jpatel3•7m ago•0 comments

Too dangerous or just too expensive? The real reason Anthropic is hiding Mythos

https://kingy.ai/ai/too-dangerous-to-release-or-just-too-expensive-the-real-reason-anthropic-is-h...
2•chbint•8m ago•0 comments

Getting Secret Management Right in Kubernetes

https://cymatic.ie/blog/kubernetes-secret-management/
4•MathiasPius•9m ago•0 comments

The AI-Native Developer

https://queue.acm.org/detail.cfm?id=3807961
1•rbanffy•12m ago•0 comments

AP News: Dirtnado Sweeps Through Minnesota Farm

https://cdn.jwplayer.com/previews/qYpG77xU
1•tocs3•13m ago•0 comments

Maldives holds first underwater Cabinet meeting in a bid for climate

https://presidency.gov.mv/Press/Article/633
2•bilsbie•13m ago•1 comments

The language debate is back!

https://antejavor.github.io/blog/2026/infra-static-languages/
2•mapleeman•13m ago•0 comments

Cerebras CEO: AI chip demand is 'not speculative', IPO price doubles

https://fortune.com/2026/05/14/cerebras-one-of-the-biggest-ipos-of-the-year/
1•0xffany•15m ago•1 comments

Ask HN: Hacker News is suffocating me

1•ish099•17m ago•2 comments

PauseHer – hold a yoga pose to unlock Instagram or TikTok

https://apps.apple.com/us/app/pauseher-yoga-before-scroll/id6759345933
1•vector_pro•18m ago•0 comments

Truth, Power, and Honest Journalism

https://radleybalko.substack.com/p/truth-power-and-honest-journalism
1•justin66•19m ago•0 comments

Spreadsheet Errors: Manual Data Mistakes Are Costing Thousands

https://www.doss.com/no-script
1•nhatcher•20m ago•0 comments

Trump poised to drop IRS suit, launch $1.7B 'weaponization' fund for allies

https://abcnews.com/US/trump-poised-drop-irs-suit-launch-17b-weaponization/story?id=132962661
1•justin66•20m ago•0 comments

Omnisearch – A lightweight metasearch engine written in C

https://git.bwaaa.monster/omnisearch/about/
1•bitbasher•20m ago•0 comments

AI Did Not

https://www.stephenlewis.me/blog/ai-did-not/
3•monooso•21m ago•0 comments

'I didn't want to be the guinea pig': inside tech's AI-fueled manager purge

https://www.theguardian.com/technology/2026/may/15/ai-manager-purge-tech
1•n1b0m•24m ago•0 comments

Browser Run: now running on Cloudflare Containers, it's faster and more scalable

https://blog.cloudflare.com/browser-run-containers/
1•danborn26•25m ago•0 comments

The old world of tech is dying and the new cannot be born

https://www.baldurbjarnason.com/2026/the-old-world-of-tech-is-dying/
5•speckx•28m ago•0 comments

DeepSeek V4 Pro and Flash vs. Claude Opus 4.7 and Kimi K2.6

https://blog.kilo.ai/p/we-tested-deepseek-v4-pro-and-flash
1•heymax054•29m ago•1 comments