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

Agentic Security Engineering

https://www.synthesia.io/post/agentic-security-engineering
1•gbrindisi•1m ago•0 comments

Plan Advice in PostgreSQL 19

https://tapoueh.org/blog/2026/09/plan-advice-in-postgresql-19/
1•craigkerstiens•2m ago•0 comments

YipitData ($2.5B financial data start up): Multi-day system-wide outage

https://portal.yipitdata.com/
1•nycdatasci•2m ago•0 comments

Mercedes next-gen screen tech for windshield and side glass

https://www.motor1.com/photos/935039/mercedes-next-gen-screen-tech-for-windshield-and-side-glass/
1•bookofjoe•2m ago•1 comments

Online Maps Lay Bare the US Military Bases Targeted by Iran

https://www.bellingcat.com/news/2026/11/05/how-online-maps-lay-bare-the-us-military-bases-targete...
1•HotGarbage•2m ago•0 comments

Image of Our Satellite-Choked Night Skies

https://kottke.org/26/11/stunning-image-of-our-satellite-choked-night-skies
2•amatheus•3m ago•0 comments

AgentFleet – Cross-device AI agent fleet: 303 tasks/s, 0 lost on failover

https://github.com/narkco-kang/agent-fleet
1•narkco•3m ago•0 comments

X11, XWayland, Wayland, KDE, Debian

https://blog.raymond.burkholder.net/index.php?/archives/1367-X11,-XWayland,-Wayland,-KDE,-Debian....
1•speckx•3m ago•0 comments

Bob Dylan comes knockin' on pope's door as Leo welcomes legend to Vatican

https://text.npr.org/g-s1-152035
1•mooreds•5m ago•0 comments

How to Refactor a Legacy Team

https://avivbenyosef.com/how-to-refactor-a-legacy-team/
1•mooreds•6m ago•0 comments

Ask HN: Are you building an AI company brain?

1•mfalcon•7m ago•0 comments

Did We Program "Hello World"Or Was the AI Bootloader Calling Us(Short AI Film)

https://www.youtube.com/watch?v=iGWMbNgvHFo
1•voidworldlet•7m ago•1 comments

Alpine Linux Security advisory: OpenSSH-server password authentication bypass

https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/
3•pantalaimon•7m ago•0 comments

OpenAI apes AWS Marketplace while Anthropic remains stubbornly Microsoftian

https://www.theregister.com/columnists/2026/09/30/openai-apes-aws-marketplace-while-anthropic-rem...
1•Bender•8m ago•0 comments

Is Grand Theft Auto VI the most anticipated video game of all time?

https://www.cbc.ca/news/entertainment/grand-theft-auto-6-hype-9.7406132
2•uladzislau•8m ago•0 comments

An Underrated Reason Boys Aren't Reading

https://www.theatlantic.com/culture/2026/11/middle-grade-reading-male-protagonists/689285/
1•pseudolus•8m ago•1 comments

Norway's aid agency pwned and all users' data is stolen

https://www.theregister.com/cyber-crime/2026/11/05/norways-aid-agency-pwned-and-all-users-data-is...
1•Bender•9m ago•0 comments

Supabase's official Postgres skill took longer than no skill

https://rulemetric.com/studies/supabase-rls-2026-10-26.html
2•yeag123•9m ago•1 comments

Remembering the Thread

https://madeleinedore.substack.com/p/on-rediscovering-the-thread
1•herbertl•10m ago•0 comments

Anthropic won't fix a Claude Dispatch flaw

https://www.theregister.com/research/2026/11/05/anthropic-wont-fix-a-claude-dispatch-flaw-that-co...
1•Bender•10m ago•1 comments

FastFed Core 1.0 – draft 03

https://openid.net/specs/fastfed-core-1_0-03.html
2•mooreds•10m ago•0 comments

Termite: A red team and blue team for CLI commands from agents

https://tanepiper.github.io/termite/
2•tanepiper•10m ago•1 comments

Navier–Stokes, blowup, and the part of the Millennium Problem OpenAI claims [video]

https://www.youtube.com/watch?v=ptE6BcaSwBY
2•luis_likes_math•11m ago•0 comments

Trump's accounts made more trades than all of Congress combined

https://www.kadoa.com/congress/insights/trump-trades
2•hubraumhugo•12m ago•0 comments

Creating Logic Using Waves: Photonic Gates [video]

https://www.youtube.com/watch?v=ln0zZcQXv38
2•Klaster_1•13m ago•0 comments

Show HN: Penthera, offline pentest security scanner (open-source, rule-based)

https://github.com/danoszz/penthera
1•danosz•14m ago•0 comments

Chinese AI Scientist Completes 11,382-Step Experiment in 203 Hours

https://www.chosun.com/english/industry-en/2026/11/05/WRZQJ4IG5RBBVHL52ALFV2XVWM/
2•yogthos•14m ago•0 comments

When Doctors and AI Medical Opinions Diverge Humans Must Question the Difference

https://www.hmsom.edu/en/news/2026/11/04/when-doctors-and-ai-medical-opinions-diverge
1•geox•15m ago•0 comments

Show HN: Steady-socket – A WebSocket client that survives dead connections

https://github.com/lalmachado/steady-socket
1•lalmachado•16m ago•0 comments

September in Servo: <progress>, rounded rectangles, and more

https://servo.org/blog/2026/11/05/september-in-servo/
1•iamnothere•17m ago•0 comments