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

Dial-up internet – made a thing that lets you do it again

https://56k.rip/
1•henrychannel•1m ago•0 comments

Email Clients on the terminal?

1•ewjloop•3m ago•0 comments

Show HN: SacredCal – A 13-month, 364-day calendar built around seven-day cycles

https://sacredcal.one
1•dealancer1•5m ago•0 comments

Three different papers pushed to ArXiv proving same 1986 conjecture; all use AI

https://twitter.com/Quasilocal/status/2089408301427568691
2•pfdietz•8m ago•0 comments

Decoding .heic: How the code works under the hood

https://heic-decoding.vercel.app/
1•suolex•8m ago•0 comments

Nested QR Codes

https://alloc.dev/2026/08/17/nested_qr_codes
1•Retro_Dev•9m ago•0 comments

Você realmente precisa de tudo isso para fazer um site?

https://opuscore.dev/
1•pragidi•12m ago•0 comments

Modular USB-C Hub for Framework Expansion Cards

https://dockframe.com/#
1•maxheyer•12m ago•0 comments

Going AI-native to enhance how humans/agents access ScalarDB and ScalarDL docs

https://medium.com/scalar-engineering/going-ai-native-to-enhance-how-humans-and-agents-access-sca...
2•josh-scalar•13m ago•0 comments

Low-tech animation Niu Lai trounces the Odyssey at Chinese box office

https://www.theguardian.com/world/2026/aug/17/niu-lai-derided-animated-film-challenges-blockbuste...
2•wslh•14m ago•0 comments

Every student is cheating with AI

https://ben.page/cheating
3•stopachka•19m ago•3 comments

Self-Healing Autopoietic Shell

https://huggingface.co/spaces/Daveswo/self-healing-autopoietic-shell
1•GlyphOS•22m ago•0 comments

The Coolest Cars We Saw at the 2026 Woodward Dream Cruise

https://www.caranddriver.com/news/a73453367/2026-woodward-dream-cruise-coolest-cars/
3•RickJWagner•24m ago•0 comments

Apple's Camera-Equipped AirPods See Them in Action

https://www.macrumors.com/2026/08/17/camera-equipped-airpods-macos-26-7/
1•thecybernerd•25m ago•0 comments

I've been doing endurance testing on microSD cards for the last 3 years

https://www.reddit.com/r/raspberry_pi/comments/1vqyx6o/ive_been_doing_endurance_testing_on_micros...
3•LeoPanthera•25m ago•0 comments

Apple's Camera-Equipped AirPods See Them in Action

https://twitter.com/aaronp613/status/2089522745184760112
3•thecybernerd•25m ago•0 comments

What Is DeepSeek-Harness? A Complete Introduction

https://findharness.com/blog/what-is-deepseek-harness
3•Justin3go•27m ago•0 comments

Caffeine and Cardiovascular Disease: A Scientific Statement from the AHA

https://www.ahajournals.org/doi/10.1161/CIR.0000000000001454
2•CalChris•27m ago•0 comments

Show HN: Tsampi BFT – Leaderless One-Round Voting with Parameterized Finality [pdf]

https://www.tsampi.com/tsampi-bft-1.0.pdf
1•coconutrandom•31m ago•0 comments

Qwen3.8-27B: slower tokens, faster and better results

https://overbring.com/blog/2026-08-17-qwen3-8-27b-wall-clock/
1•overbring_labs•31m ago•0 comments

Poor Man's Loop Engineering

https://awaitinginput.substack.com/p/poor-mans-loop-engineering
4•bsovran•32m ago•0 comments

Ask HN: Does anyone else feel like nothing matters anymore?

8•ramesh31•36m ago•4 comments

JD Vance vs. Trump: The Couch War Gets Out of Control [video]

https://www.youtube.com/watch?v=EbRMGAolHDk
1•pshales•47m ago•0 comments

LineageOS support comes to the Galaxy S22 series

https://9to5google.com/2026/08/17/lineageos-support-finally-comes-to-the-galaxy-s22-series/
1•thunderbong•47m ago•0 comments

Follow-Up Thoughts on Watermarking Schemes for AI-Generated Text

https://daringfireball.net/2026/08/follow-up_thoughts_on_watermarking
3•tambourine_man•49m ago•0 comments

RISC-V Extension Landscape

https://rpsene.github.io/riscv-extensions-landscape/
1•mshockwave•54m ago•0 comments

Headjust: macOS app that uses your headphones to surface tilt and lean

https://headjust.app/
1•ValentineC•56m ago•0 comments

Blobatar: Deterministic Geometric Avatars

https://www.blobatar.dev/
1•LorenDB•1h ago•0 comments

We Tested Qwen3.8 27B: How Much GPU and VRAM Do You Need

https://www.hardware-corner.net/qwen3-8-27b-hardware-tests/
1•mdp2021•1h ago•0 comments

Anthropic's Claude Will Add Watermarks to AI-Generated Text and Files

https://www.cnet.com/tech/services-and-software/anthropics-claude-will-add-watermarks-to-ai-gener...
1•wglb•1h ago•0 comments