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

Patients Are Flying to China for the Latest Cancer Treatment

https://www.wsj.com/health/healthcare/patients-are-flying-to-china-for-the-latest-cancer-treatmen...
1•pella•38s ago•0 comments

Stackness Launch

https://stackness.dev/blog/welcome-to-stackness
1•gosen•3m ago•0 comments

OpenAI Agents API

https://openai.com/index/introducing-the-agents-api/
1•ushakov•3m ago•0 comments

Show HN: Hcode One-Person Engineering - SDLC Approach

http://hcode.works
1•phwbikm•5m ago•0 comments

ChatGPT Pro 20x plan is now unavailable for purchase

https://twitter.com/aimaddie/status/2098128761388716353
4•HellsMaddy•6m ago•1 comments

Extending Raschka's GPT-2: an MoE trained from scratch on an RTX 3090

https://www.gilesthomas.com/2026/09/gpt-2-to-moe
1•gpjt•8m ago•0 comments

Show HN: Making a FOSS for Managing Life

https://demo.ontoplano.com
1•chedieck•11m ago•0 comments

Universal and ElevenLabs working on AI platform for music remixes and mash-ups

https://www.universalmusic.com/universal-music-group-and-elevenlabs-announce-multi-year-strategic...
1•HelloUsername•11m ago•0 comments

Lowdefy v6: WebSockets, Notifications, Crons, MCPs, agentic code tools

https://lowdefy.com/articles/lowdefy-6-whats-new/
1•gervwyk•12m ago•0 comments

PGP Tool – Privacy Toolkit

https://pgptool.dev
1•mrrccc•13m ago•0 comments

Speedrunning-Burnout

https://andotherthings.me/p/speedrunning-burnout
2•ropdh•15m ago•0 comments

Show HN: Runyte – a modal editor with integrated terminals and a file manager

https://runyte.com
2•boredCoconut•16m ago•0 comments

They do think AI might kill everyone

https://www.seangoedecke.com/they-really-do-think-ai-might-kill-everyone/
2•speckx•16m ago•0 comments

On Next-Gen Transformer: Loops Are Not What You Need

https://zartbot.github.io/blog/model_arch/inception/
2•matt_d•18m ago•0 comments

A Desperate Plea for a Free Software Alternative to Aspera (2018)

https://www.ccdatalab.org/blog/a-desperate-plea-for-a-free-software-alternative-to-aspera
2•babelfish•18m ago•1 comments

Show HN: Rocky Surf – Open-source control plane for coding-agent cloud VMs

https://www.rockysurf.com/
2•jbdamask•18m ago•0 comments

Aging US Water Systems Are No Match for Climate Change

https://www.bloomberg.com/news/features/2026-09-10/old-water-systems-meet-new-threats-from-floods...
2•toomuchtodo•19m ago•1 comments

Show HN: Fashionguessr – A Daily Fashion Trivia Game

https://www.fashionguessr.com/
3•WhosTiki•20m ago•0 comments

Explore the ocean by answering trivia – Endless Krillion

https://playdaily.org/krillion
4•emmanator3000•20m ago•0 comments

PISA Founder: AI Is Hollowing Out Youth Skills [video]

https://www.euronews.com/my-europe/2026/09/10/youth-losing-critical-skills-and-ai-hollowing-out-c...
4•devonnull•21m ago•0 comments

Genuine Creativity Is Your New Moat (2026)

https://www.inventbuild.studio/blog/genuine-creativity-is-your-new-moat
5•virgil_disgr4ce•22m ago•1 comments

Pi-hole-like DNS server based on list of blacklists

https://codeberg.org/bronger/dns-meta-blacklist
2•bronger•22m ago•0 comments

Fly Around the Bay Area at Mach 10 with an Apple Vision Pro, Built with Astra

https://apps.apple.com/us/app/astra-jet/id6809640554
2•kuprel•24m ago•1 comments

I'm a Proud Luddite. That's Why I Use Linux

https://thelibre.news/im-a-proud-luddite-thats-why-i-use-linux/
5•eustoria•24m ago•0 comments

Germany Proves Again That Censorship Doesn't Work

https://freddiedeboer.substack.com/p/germany-proves-again-that-censorship
1•iamnothere•26m ago•2 comments

Cybersecurity experts raise alarm after back-to-back data breaches

https://www.rnz.co.nz/news/business/1329965/cybersecurity-experts-raise-alarm-after-back-to-back-...
4•billybuckwheat•26m ago•0 comments

Book-to-screen adaptations to watch at TIFF 2026

https://www.cbc.ca/books/tiff-book-to-screen-adaptations-2026-9.7332622
4•BiraIgnacio•28m ago•0 comments

Purism – Liberty Phone

https://puri.sm/products/liberty-phone/
4•eustoria•29m ago•0 comments

The Iron Heel by Jack London

https://www.gutenberg.org/files/1164/1164-h/1164-h.htm
4•floweronthehill•29m ago•0 comments

Amazon Quick is now generally available on desktop

https://aws.amazon.com/blogs/machine-learning/amazon-quick-is-now-generally-available-on-desktop/
2•messh•29m ago•0 comments