frontpage.
newsnewestaskshowjobs

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

Code Reviews in the Age of AI

https://danielfm.me/posts/code-reviews-in-the-age-of-ai/
2•danielmartins•1m ago•0 comments

Improving First Request Latency in Java Spring Application

https://adrian.md/2026/09/03/first-request-latency/
2•theanonymousone•3m ago•0 comments

Patients Are Flying to China for Cancer Treatment

https://www.wsj.com/health/healthcare/patients-are-flying-to-china-for-the-latest-cancer-treatmen...
2•elo2000•4m ago•0 comments

El Yayster – a resident LLM that inhabits Emacs

https://github.com/yayster/yayster.el
2•dTal•5m ago•1 comments

MiniCPM5-2B – new smartest ≤4B model

https://artificialanalysis.ai/models/minicpm5-2b
2•networked•6m ago•0 comments

Novartis cholesterol setback tests hopes for emerging heart disease drugs

https://www.reuters.com/legal/litigation/novartis-shares-down-failed-cholesterol-drug-study-incre...
2•elo2000•6m ago•0 comments

A faster way to convert a timestamp to Hour, Min, Sec

https://www.benjoffe.com/fast-time-of-day
2•thunderbong•6m ago•0 comments

Analysis and modeling of sprite green ghosts (2020)

https://essopenarchive.org/doi/full/10.1002/essoar.10504953.1
2•Eridanus2•7m ago•0 comments

Reviewer – PlantUML Viewer (VS Code Extension – Local and No Server)

https://marketplace.visualstudio.com/items?itemName=chirilach.reviewer-plantuml-viewer
2•info-chirila•7m ago•0 comments

Anyone Can Hack Anyone

https://silicio.land/posts/2026-09-04-anyone-can-hack-anyone.en.html
2•johnnysilicio•8m ago•0 comments

Docraft

https://github.com/Cadons/Docraft
2•cadons•10m ago•0 comments

NKD Basic Tools

https://github.com/Nekodificador/ComfyUI-NKD-Basic-Tools
2•thunderbong•11m ago•0 comments

Revise AI, an AI editor for fiction writers

https://www.revise.net
2•sansil•11m ago•1 comments

An AI agent bought a physical t-shirt over HTTP 402 with USDC, no human involved

https://forgemesh.io/blog/first-x402-physical-order-bought-with-curl
2•agenticbotbot•12m ago•0 comments

1B tokens later, I'm open-sourcing why.com

https://github.com/whyagents/why.com
2•rasheed106•14m ago•2 comments

Understanding Complexity: A Beginner's Guide

https://csh.ac.at/understanding-complexity-and-what-we-do-a-beginners-guide/
1•andrewstetsenko•15m ago•0 comments

Show HN: Security Scanning Tool

https://hackymacky.vercel.app/
1•civancza•16m ago•0 comments

Fiber Immersion 3D-Printing – a low cost micro fabrication technique [video]

https://www.youtube.com/watch?v=UvV2CH5il3Q
1•_Microft•16m ago•0 comments

America's debt binge is starting to matter

https://www.ft.com/content/8827baa7-163d-4122-9ea8-a2c9ff6e8a4d
4•samizdis•18m ago•2 comments

Show HN: Flying Letters and a Clean Keyboard That Even Steve Jobs Would Like

1•vitalipom•18m ago•0 comments

From safety research prompt to cross-model universal jailbreak

https://www.lesswrong.com/posts/hHk5CpiqZTBBiHmYt/from-safety-research-prompt-to-cross-model-univ...
1•gmays•22m ago•0 comments

Everything hackable will get hacked

https://vercel.com/blog/everything-hackable-will-get-hacked
2•tilt•25m ago•0 comments

Artificial Intelligence Policy UC Berkeley School of Law [pdf]

https://www.law.berkeley.edu/wp-content/uploads/2026/05/AI-Final-Policy-26.pdf
3•fallinditch•26m ago•0 comments

Turning Quick Notes into Long-Term AI Memory

https://barbarito.me/notes-workflow/
1•danbarbarito•28m ago•0 comments

MCP server for 340k SVG icons

https://github.com/LeulAria/Aria-Icons
1•leularia•38m ago•0 comments

Urban congestion relief experiments through routing-app interventions

https://www.nature.com/articles/s44284-026-00443-x
1•neehao•38m ago•0 comments

Tesla killing Solar Roof is leaving installers with six-figure losses

https://electrek.co/2026/09/01/tesla-solar-roof-exit-installers-losses/
44•voxadam•47m ago•30 comments

Selected GitHub Copilot models deprecated

https://github.blog/changelog/2026-08-31-selected-github-copilot-models-deprecated/
1•mooreds•48m ago•0 comments

My Mac Mini fits one model. I run five

https://placona.co.uk/my-mac-mini-fits-one-model/
4•makaimc•49m ago•0 comments

Replaceable but Employed: Automation and the Meaning of Work

https://www.nber.org/papers/w35559
3•mooreds•50m ago•0 comments