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

Anthropic opens research preview of Claude Duet, a agent for professionals

https://www.reuters.com/technology/anthropic-unveils-claude-duet-ai-agent-app-2026-10-21/
1•satirr•1m ago•1 comments

Firefox Auto-Run on Windows

1•BubbleRings•8m ago•0 comments

Why didn't we use Ro­Register­For­Apartment­Shutdown?

https://devblogs.microsoft.com/oldnewthing/20261021-00/?p=112786/
1•ibobev•8m ago•0 comments

Microspeak: Drain the slide, back-up slides

https://devblogs.microsoft.com/oldnewthing/20261020-00/?p=112784/
1•ibobev•8m ago•0 comments

Advanced Shader Delivery Is Available Now Across Hardware

https://devblogs.microsoft.com/directx/advanced-shader-delivery-is-available-now-across-hardware/
1•ibobev•8m ago•0 comments

Ask HN: Are we giving away our civilization?

5•bigwheels•13m ago•2 comments

Robotaxi – Safety

https://www.tesla.com/robotaxi/safety
1•shekhar101•21m ago•0 comments

Mark Zuckerberg Agrees to Stay in California Despite Billionaires' Tax Measure

https://www.wired.com/story/mark-zuckerberg-agrees-to-stay-in-california-despite-billionaires-tax...
1•mikelgan•22m ago•0 comments

US Denaturalizes 2 People Who Gained Citizenship Hiding Criminal Activity

https://www.justice.gov/opa/pr/trump-administration-denaturalizes-two-people-who-gained-us-citize...
2•gnabgib•25m ago•0 comments

Meta's new terms say if its AI makes a mistake, it will be the customer's fault

https://www.cio.com/article/4237395/metas-new-enterprise-contract-says-if-its-ai-makes-a-mistake-...
3•cdrnsf•25m ago•1 comments

Update your Xbox Series S|X Controller through WebUSB

https://dzervas.github.io/xpad-webusb-update/
1•ttouch•29m ago•0 comments

Morph 4K Firmware v4: Simulating the Physics of Retro Video

https://www.pixelfx.co/post/morph-4k-firmware-v4-simulating-the-physics-of-retro-video
1•bpierre•34m ago•0 comments

GameFrame: Agentic Framework for Reverse Engineering Games

https://tanepiper.github.io/game-frame/
3•tanepiper•35m ago•1 comments

Veggie Thursdays and vegan surprises How Ghent became a plant-based paradise

https://www.theguardian.com/food/2026/oct/21/veggie-thursdays-vegan-surprises-ghent-plant-based-p...
2•rdmuser•35m ago•0 comments

Completing a task does not remove the work of managing it

https://civicpivot.blogspot.com/2026/10/the-work-hidden-inside-just-ask.html
1•civicpivot•39m ago•0 comments

They Created a Cell That's Almost Alive. What to Do with It Now?

https://www.nytimes.com/2026/10/14/science/spudcell-adamala-biotic.html
4•CharlesW•40m ago•0 comments

Postgres Recovery_prefetch Considered Harmful and Causing Outages

https://ardentperf.com/2026/10/20/postgres-recovery_prefetch-considered-harmful-and-causing-outages/
1•plaur782•40m ago•0 comments

Qpack amplification attacks against HTTP/3 servers

https://foxio.io/blog/header-accordions-qpack-amplification-attacks-against-http-3-servers
5•kozika•40m ago•0 comments

Dense Sand – Sovereign BYOA AI SoC Platform for AWS

https://aws.amazon.com/marketplace/pp/prodview-iamlatxnobx7o
1•DenseSand•41m ago•0 comments

Make Your Startup More Powerful, Not Just More Profitable

https://www.paulgraham.com/powerful.html
4•mrkn1•44m ago•0 comments

SimulaVR Compute Pack Progress

https://simulavr.com/blog/compute-pack-progress/
1•ai_critic•44m ago•0 comments

A tale of two PHP remote vulnerabilities

https://calif.io/php2shell.x/
1•kozika•44m ago•0 comments

Fil-PHP

https://github.com/pizlonator/fil-c/pull/338
3•SSLy•46m ago•0 comments

Misaligned

https://thezvi.substack.com/p/misaligned
2•7777777phil•47m ago•0 comments

Adversarial interoperability is a team sport

https://pluralistic.net/2026/10/21/brittle-individualism/
1•hn_acker•47m ago•0 comments

EFF's State Legislative Agenda to End ALPR Mass Surveillance

https://www.eff.org/deeplinks/2026/10/effs-state-legislative-agenda-end-alpr-mass-surveillance
2•hn_acker•48m ago•0 comments

Airbnb's new "Reasonable house rules and requests" guidelines for hosts

https://www.airbnb.com/help/article/4168
2•embedding-shape•48m ago•0 comments

39-humanizer, for anyone under 40 who would rather not sound like a bot

https://github.com/OmShiv/39-humanizer
1•OmShankar3•50m ago•0 comments

Show HN: ReviewerAgent and StopContinue, for CC and Codex with Pi

https://github.com/rladr-org/reviewer-agent
1•raylad•50m ago•0 comments

Imaging Black Holes with Julia [video]

https://www.youtube.com/watch?v=eHTuWt3JnZc
1•adgjlsfhk1•51m ago•0 comments