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 1.5°C Lie: The Math That Climate Models Are Hiding from You

https://comuniq.xyz/post?t=1426
1•01-_-•1m ago•0 comments

Men That Don't Fit In

https://www.poetryfoundation.org/poems/58012/the-men-that-dont-fit-in
1•oidar•1m ago•0 comments

Turn the Lights on Before the Factory Starts

https://nextwaveoftech.com/posts/turn-the-lights-on-before-the-factory-starts
1•jameslaneyno9•2m ago•0 comments

AI is changing the way consumers shop, and businesses need to get ready

https://www.rnz.co.nz/news/business/773456/ai-is-changing-the-way-consumers-shop-and-businesses-n...
3•billybuckwheat•4m ago•1 comments

Ask HN: Why can't Google create monopolies anymore?

2•BeForce•8m ago•0 comments

Software Skill Space

https://vis.csh.ac.at/software-skill-space/
1•gmays•9m ago•0 comments

DNS Bypass Tweets Keep Uptobox Employee's €197K Frozen in Disney Piracy Case

https://torrentfreak.com/dns-bypass-tweets-keep-uptobox-employees-e197k-frozen-in-disney-piracy-c...
1•gslin•11m ago•0 comments

Show HN: Stream Android Emulators to a Browser Window

https://github.com/hsandhu/serve-avd
2•rsandhu•12m ago•0 comments

Show HN: NextBest – See what skincare people recommend

https://www.nextbest.one
1•kalila855•12m ago•0 comments

Build a website for AI pics for dating apps in 20 hours, launched ads, failed

1•MaximTsyg•13m ago•0 comments

Who Uses ChatGPT Matters

https://www.marginpoints.com/issues/2026-07-21-openai-s-advertising-audience
1•historian1066•13m ago•0 comments

Just Say the Word

https://newsroom.spotify.com/2026-07-14/talk-to-spotify-announcement-beta/
1•yruzin•14m ago•0 comments

Most of your Hacker News karma comes from comment scores only you can see

https://blog.nathanlangley.dev/posts/hn-hidden-score.html
1•ninjahawk1•15m ago•0 comments

Boox Go 10.3 (gen II) Lumi: First impressions

https://manualdousuario.net/en/boox-go-10-3-lumi-first-impressions/
5•rpgbr•16m ago•0 comments

Why not just publish the votes?

https://sweatofthebrow.blogspot.com/2026/07/why-not-just-publish-votes.html
5•whall6•18m ago•0 comments

Alphabet hikes 2026 capex spend to $195B-$205B

https://www.cnbc.com/2026/07/22/google-earnings-q2-goog-live-updates.html
2•mfiguiere•22m ago•1 comments

Cursor, Codex, Gemini CLI, Antigravity hit by sandbox escapes

https://www.bleepingcomputer.com/news/security/cursor-codex-gemini-cli-antigravity-hit-by-sandbox...
2•PhilippGille•23m ago•0 comments

Capra, Cribl's Design System

https://cribl.io/blog/introducing-capra-cribls-design-system/
2•ilreb•23m ago•0 comments

Star Axis

https://en.wikipedia.org/wiki/Star_Axis
2•Thevet•26m ago•0 comments

Malleable Computing, Emacs, and You

http://yummymelon.com/devnull/malleable-computing-emacs-and-you.html
18•kickingvegas•27m ago•0 comments

Show HN: What's one random memory from your childhood that you'll never forget?

https://mil.now
2•untitled-now•29m ago•0 comments

OAuth DPoP

https://fusionauth.io/docs/lifecycle/authenticate-users/oauth/dpop
2•mooreds•29m ago•0 comments

SIMD for Collision

https://box2d.org/posts/2026/07/simd-for-collision/
2•birdculture•32m ago•0 comments

Q2 2026 earnings call: Remarks from Alphabet CEO

https://blog.google/company-news/inside-google/message-ceo/alphabet-earnings-q2-2026/
4•ilreb•33m ago•1 comments

OpenAI Model Hacks into HuggingFace During Cybersecurity Evaluation

https://thezvi.substack.com/p/openai-model-hacks-into-huggingface
3•nedruod•33m ago•0 comments

Show HN: I brute-forced a wooden Antikythera-style puzzle in Rust

https://github.com/garyhtou/grecian-computer
2•garyhtou•34m ago•0 comments

Drawn Apart: Remote GPU Fingerprinting

https://orenlab.cis.bgu.ac.il/p/DrawnApart-TOPS
2•matt_d•35m ago•0 comments

Google beats quarterly revenue expectations off of enterprise AI surge

https://www.reuters.com/business/google-quarterly-cloud-revenue-growth-beats-expectations-2026-07...
2•kaycebasques•35m ago•2 comments

Show HN: Autograd-Free LLM Guiding with 0MB VRAM (Alternative Pathways)

https://github.com/PJHkorea/Continuous_Wave_Field_LLM_Brain
2•PJHkorea•37m ago•1 comments

Obliterate, Don't Automate

https://blog.usv.com/obliterate
2•wslh•37m ago•0 comments