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

The Case of the Vanilla-Allergic Pontiac

https://lifework.marioishikawa.com/the-case-of-the-vanilla-allergic-pontiac/
1•ishikawa•22s ago•0 comments

Continual Constitutional Convention: LLMs revise the documents that govern them

https://www.alignmentforum.org/posts/c9woewdY9ddsPqf3J/the-continual-constitutional-convention-ho...
1•extraextra•44s ago•0 comments

The bitter lesson for agent memory

https://hatchery.build/blog/the-bitter-lesson-for-agent-memory
2•tosh•2m ago•0 comments

Claude Coke: Would Al agents buy cocaine from the dark web?

https://ghollbeck.github.io/claude-coke-blog/
1•flawn•2m ago•1 comments

A Mac screensaver showing all 34,408 objects in Earth orbit

https://github.com/matthewworner/Orbitor
1•matthewworner•6m ago•0 comments

Another OpenAI Researcher Resigns

https://twitter.com/viemccoy/status/2128999039001915859
1•myth_drannon•9m ago•1 comments

A Thought Is a Wave Function

https://olshansky.info/tix/2026-12-05-a-thought-is-a-wave-function
1•Olshansky•9m ago•0 comments

Encode files and directories into a video, then mount the video under FUSE

https://github.com/fangfufu/VHSFS
1•fangfufu•9m ago•0 comments

Repurposing dark fiber for high-resolution surveillance of urban wildlife

https://www.nature.com/articles/s43247-025-02904-y
1•rendx•11m ago•0 comments

Doctors struggle to save babies after parents refuse Vitamin K

https://ktla.com/news/doctors-struggle-to-save-babies-after-parents-refuse-vitamin-k/
1•Bender•12m ago•0 comments

RAMTorrent: RAM-only BitTorrent downloader with a VPS

https://gitlab.com/danbarry16/ramtorrent
1•bArray•14m ago•1 comments

AWS-LC is a general-purpose cryptographic library

https://github.com/aws/aws-lc
1•mooreds•14m ago•0 comments

"I Know Better Than You": Evaluating Silent Instruction Overrides Across Models

https://arxiv.org/abs/2612.03914
1•mfiguiere•15m ago•0 comments

What one pharmacy owner taught me that 2,400 cold emails couldn't

https://markuprx.com/blog/markuprx-postmortem
2•muaviausmani•19m ago•0 comments

How Could AI Kill All Humans?

https://www.astralcodexten.com/p/how-could-ai-kill-all-humans
1•eatitraw•19m ago•1 comments

Arcus, a new frontier model for customer conversations, and adherence-bench

https://decagon.ai/blog/arcus-and-adherence-bench
1•gmays•20m ago•0 comments

Anthropic Researcher: "All Humans Will Become Permanently Unemployable" [video]

https://www.youtube.com/watch?v=OPZCQk8jF-I
1•jminnl•21m ago•0 comments

NIH Director's Statement on NIH Support of Preprints

https://www.nih.gov/about-nih/nih-director/statements/nih-directors-statement-nih-support-preprints
1•bookofjoe•22m ago•0 comments

Which AI Self Do You Mean?

https://dumbideas.xyz/posts/which-ai-self-do-you-mean/
1•omegastick•27m ago•0 comments

Screw Me

https://screw-me.dev/
1•rodmena•28m ago•0 comments

Quit Posing for Video Titles, You Lunatics

https://galacticman.bearblog.dev/quit-posing-for-video-titles-you-lunatics/
2•hackerbeat•32m ago•0 comments

Show HN: Steal My Bitcoin (Again)

https://stealmybitcoin.com/index.html
6•cloudlandsdev•33m ago•0 comments

Newly Discovered Minor Planet Given Cherokee Name

https://nativenewsonline.net/education/newly-discovered-minor-planet-given-cherokee-name/
1•PaulHoule•33m ago•0 comments

Precision in type system design (or the Option type as an anti-pattern)

https://dashbit.co/blog/precision-in-type-system-design
2•birdculture•33m ago•0 comments

Show HN: Importing into Apple Journal by writing to its Core Data store

https://github.com/gabrieljoel/apple-journal-import
1•tatsuhirosatou•37m ago•0 comments

Show HN: Pqkit – scan a codebase for crypto a quantum computer will break

https://github.com/loperdev/pqkit
1•devvyas04•39m ago•0 comments

Secret Elliptic Curveballs

https://www.netmeister.org/blog/curveballs.html
2•zdw•40m ago•0 comments

No Fire Yet, but Plenty of Smoke Around NIST's P-256 Elliptic Curve

https://www.bitsight.com/blog/is-nist-p-256-elliptic-curve-broken
2•geox•40m ago•0 comments

Why did we not use REST HATEOAS instead of MCP

https://fieldmappings.com/blog/2026/hateoas-vs-mcp-the-affordances-were-always-there
2•joeyguerra•42m ago•1 comments

Ask HN: When generating TLS certs is genrsa -aes256 ok?

1•scrubs•43m ago•0 comments