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

Show HN: Ducky Media for macOS, private cloud hosting for your audio library

https://apps.apple.com/us/app/ducky-media-client/id6761693259?mt=12
1•jayct•1m ago•0 comments

Improving matrix multiplication with MacBook and a proof assistant

https://github.com/bsd-developer/matrix-math-publish
1•bsddeveloper•1m ago•0 comments

When str.lower() is a security vulnerability in Python – Seth Larson

https://sethmlarson.dev/when-str-lower-is-a-security-vulnerability
2•rbanffy•2m ago•0 comments

Google Aims to Boost AI with Purchase of Spirit Airlines Data

https://news.bloomberglaw.com/bankruptcy-law/google-aims-to-boost-ai-with-purchase-of-spirit-airl...
1•bookofjoe•3m ago•1 comments

vLLM-iOS: 88% Faster Multi-Agent Inference on iOS

https://jonready.com/blog/posts/continuous-batching-on-an-iphone.html
2•mips_avatar•4m ago•3 comments

The State of AI Disclosure 2026: what 1,088 EU sites' chat widgets say

https://disclosureproof.com/research/state-of-ai-disclosure/
1•coldpress•5m ago•0 comments

I Stabilized Never Type

https://blog.ihatereality.space/0C-never-type/
1•birdculture•6m ago•0 comments

AWS Powers PyPI and the PSF – The Python Package Index Blog

https://blog.pypi.org/posts/2026-08-14-how-aws-powers-pypi-and-the-psf/
1•rbanffy•9m ago•0 comments

The Polars vs. SQL differences nobody is talking about – Quansight Labs

https://labs.quansight.org/blog/polars-vs-sql-differences
1•rbanffy•9m ago•0 comments

Sam Altman: we made a chip and it is fast

https://twitter.com/sama/status/2092339694210040187
2•william-evans•10m ago•0 comments

The Artifact Is Free, Assurance Is the Product

https://redmonk.com/kholterhoff/2026/08/13/the-artifact-is-free-assurance-is-the-product/
1•mooreds•10m ago•0 comments

MREA – Open-source governance framework for multi-role AI agents

https://github.com/JairValle/mrea-framework
1•jairvallehdz•11m ago•0 comments

Remixatron – recreates Infinite Jukebox on the command line

https://github.com/drensin/Remixatron
1•gregsadetsky•13m ago•0 comments

AI, IPv6, and the future Internet at IETF 126

https://blog.apnic.net/2026/08/25/ai-ipv6-and-the-future-internet-at-ietf-126/
1•m_montazeri•18m ago•0 comments

Logging in Was Never Supposed to Be This Complicated

https://www.theatlantic.com/technology/2026/08/password-manager-login-difficulty/688396/
2•fortran77•18m ago•2 comments

The New York Times is publishing AI slop

https://unpublishablepapers.substack.com/p/the-new-york-times-is-publishing
4•paulpauper•19m ago•0 comments

IPv4.art: every IP is a pixel

https://ipv4.art/
1•904am•19m ago•0 comments

Bonsai, a new distortion-free method for high-dimensional data visualization

https://www.nature.com/articles/s41587-026-03220-2#MOESM1
1•ray__•20m ago•0 comments

Pavel Durov Slams France's Ongoing Telegram Prosecution

https://reclaimthenet.org/pavel-durov-slams-frances-ongoing-telegram-prosecution
2•anonymousiam•21m ago•0 comments

Wolf Defender v2 – reducing false positives in a prompt-injection classifier

https://huggingface.co/patronus-studio/wolf-defender-prompt-injection
1•patronusprotect•23m ago•0 comments

Dan Sullivan Endorses Dan Sullivan to Beat Dan Sullivan in Alaska Senate Race

https://www.nbcnews.com/politics/2026-election/dan-sullivan-endorses-dan-sullivan-beat-dan-sulliv...
1•yurivish•23m ago•0 comments

The Greatest Short Story Writers of All Time

https://sinykin.substack.com/p/the-greatest-short-story-writers
1•cainxinth•23m ago•0 comments

PolinRider Is Coming

https://opensourcemalware.com/blog/polinrider-npm-case-study-dprk-attack
2•6mile•24m ago•0 comments

Anthropic and OpenAI will have most of compute by 2028 [video]

https://www.youtube.com/watch?v=aV26V1UvkJw
1•scottfits•24m ago•0 comments

Slack Code

https://slack.com/features/code-channels?nojsmode=1
1•nthypes•24m ago•2 comments

Cross-vendor byte-identical inference for a 72B LLM (AMD MI300X vs. Nvidia H100)

https://zenodo.org/records/19882078
2•ashsyngh•27m ago•0 comments

Real Time SEC Employee Insider Trading Summaries

https://insidertradealerts.com/benchmark-instant-delivery-times-daily/
1•Chrisbabayans1•27m ago•1 comments

Ask HN: Anyone in Legal Tech Here?

1•bgajjela•27m ago•0 comments

Miss Lonelyhearts (1933) by Nathanael West

https://gutenberg.net.au/ebooks06/0608851h.html
1•Eridanus2•29m ago•1 comments

Is spending 10 hours marketing a 45-minute project a waste of time?

https://gangbid.lol
2•devisious•29m ago•3 comments