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

Salt – Introducing Agent Surfaces

https://saltapp.ai/surfaces
1•0x0000F8•2m ago•0 comments

Kayet – a minimalistic Markdown and text editor for macOS (Rust, Tauri)

https://getkayet.app/
1•piotrwittchen•2m ago•0 comments

Show HN: Closed Form – OpenAI's 372 math results, explained in plain English

https://nishachay.github.io/closed-form/
2•Nishachay•4m ago•0 comments

Optimistic UI is an architectural decision, not a minor UX tweak

https://rulr.dev/blog/optimistic-ui-is-an-architectural-decision/
1•hovhannesian•5m ago•0 comments

The Computational Beauty of Nature

https://flake.org/site/index.html
1•AlexeyBrin•5m ago•0 comments

JVM Heap OOM Field Guide – 5 Reproducible OutOfMemoryError Patterns

https://github.com/amits710/jvm-oom-field-guide
1•amits07302•5m ago•0 comments

Updated Candidate Recommendation: Scalable Vector Graphics (SVG) 2

https://www.w3.org/news/2026/updated-candidate-recommendation-scalable-vector-graphics-svg-2/
1•robin_reala•6m ago•0 comments

Science made readable – 200M science papers embedded

https://ask.sciencemadereadable.com/
1•smusamashah•6m ago•1 comments

OpenStocks, a public earnings forecasting benchmark for AI agents

https://openstocks.com/
1•smallwoodal•7m ago•0 comments

Data Center Excess Solar Powers Modular GPU Pods

https://spectrum.ieee.org/data-center-excess-solar
2•rbanffy•7m ago•0 comments

(Post-Quantum) Cryptographic Right Answers

https://words.filippo.io/right-answers/
1•gavide•8m ago•0 comments

Linus Torvalds Endures a Debug Session from Hell, "Enormously Helped" by AI

https://www.phoronix.com/news/Linus-Torvalds-Debug-AI
2•andsoitis•9m ago•0 comments

Incident with Actions, Pull Requests and Issues

https://www.githubstatus.com/incidents/93njd414rpbx
4•dkpk•11m ago•0 comments

Linus Torvalds Working on a Hefty Linux Kernel Improvement with Claude Code

https://www.phoronix.com/news/Linus-Torvalds-Claude-Code
2•therepanic•12m ago•0 comments

French supermarket chains say cyberattack forced refrigerator shutdown

https://www.afp.com/en/french-supermarket-chains-say-cyberattack-forced-refrigerator-shutdown
1•mpsq•12m ago•0 comments

The soul of maintaining a new machine

https://books.worksinprogress.co/book/maintenance-of-everything/communities-of-practice/the-soul-...
1•andsoitis•13m ago•0 comments

What kind of philosopher are you?

https://philotype.cc/
1•quibono•15m ago•0 comments

Too Dumb for AI

https://leancrew.com/all-this/2026/09/too-dumb-for-ai/
2•surprisetalk•15m ago•0 comments

Tokenleak – find what your coding agent re-reads on every call

https://github.com/Pazificateur69/tokenleak
1•Pazificateur•16m ago•0 comments

Ask HN: What Happened in DNSSEC Yesterday?

1•usr1106•18m ago•1 comments

Hackers activate automatic defrosting accross European supermarket fridges

https://www.tomshardware.com/tech-industry/cyber-security/unprecedented-cyberattack-cripples-supe...
23•Zeekaas•18m ago•7 comments

Ledger confirms unauthorized hardware implant, says losses may exceed $86M

https://cointelegraph.com/news/ledger-confirms-unauthorized-hardware-implant-losses-may-exceed-86m
2•bushwart•18m ago•0 comments

Major French Supermarket Chains Hit by Cyber-Attack, Food Stock Impacted

https://www.infosecurity-magazine.com/news/french-supermarket-chains/
1•rkuska•19m ago•1 comments

How to effectively debug when you no longer understand the code

https://copyconstruct.medium.com/how-to-effectively-debug-when-you-no-longer-understand-the-code-...
1•simonpure•20m ago•0 comments

Researching Which Instagram Reels Topics Take Off: DIY Scraping vs. a Hosted API

https://hikerapi.com/
1•sdfvfzbv•21m ago•0 comments

Why you procrastinate on things you want to do

https://www.fastcompany.com/91599448/procrastination-things-you-actually-want-to-do
1•EndXA•21m ago•0 comments

Dying Words: Terminal Lucidity

https://www.popularmechanics.com/science/health/a74081940/surge-in-deathbed-consciousness/
1•bookofjoe•21m ago•1 comments

Jobs, Wozniak, and the Breakout Atari Game

https://twitter.com/gosh_sol_eth/status/2109327670387277917
1•redbell•22m ago•0 comments

Is Add about Attention?

https://www.nytimes.com/2026/09/29/science/adhd-attention-motivation.html
2•johncole•25m ago•1 comments

Citroen revives the 2CV for an electric age

https://www.bbc.co.uk/news/articles/c620r33plgppo
7•scrlk•26m ago•5 comments