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

SteamOS Linux 3.8 Released

https://store.steampowered.com/news/app/1675200/view/697641379212298072
1•jrepinc•2m ago•0 comments

Privacy-Preserving Age Verification–and Its Limitations [pdf]

https://www.cs.columbia.edu/~smb/papers/age-verify.pdf
1•wmf•3m ago•0 comments

Trading Places (2023)

https://www.tabletmag.com/sections/news/articles/trading-places
1•like_any_other•5m ago•0 comments

EPFL launches the first open medical LLMs

https://actu.epfl.ch/news/epfl-launches-the-world-s-first-fully-open-medical/
1•ponsfrilus•6m ago•0 comments

Remote Code Execution in Libssh2

https://vuldb.com/cve/CVE-2026-55200
1•walrus01•10m ago•0 comments

FP8 GEMM Optimization on AMD CDNA4 Architecture

https://rocm.blogs.amd.com/software-tools-optimization/cdna4-gemm-kernels/README.html
1•skidrow•15m ago•0 comments

Occupancy Math on the AMD MI355X: A From-First-Principles Guide

https://indianspeedster.github.io/blog/occupancy-math-mi355x/
1•skidrow•16m ago•0 comments

Remembering Robert A.F. Thurman (1941-2026)

https://www.lionsroar.com/robert-thurman-and-the-karmic-kingdom-of-buddhology/
1•fredski42•17m ago•0 comments

What competitor signal has been most useful for you?

2•IndustryLens•22m ago•0 comments

Show HN: We cut >60% of tokens from agentic tasks by removing repeated context

https://parcle.ai/
1•longtermop•27m ago•0 comments

Nim Conf 2026 (Online, Sat June 20)

https://conf.nim-lang.org/
1•pietroppeter•28m ago•1 comments

Apple has started replacing macOS names with version numbers

https://9to5mac.com/2026/06/16/apple-has-started-replacing-macos-names-with-version-numbers-in-se...
2•soheilpro•28m ago•1 comments

Apple boss Tim Cook says prices to rise due to memory chip costs

https://www.bbc.com/news/articles/c3wyxvqdx1zo
4•ilreb•32m ago•0 comments

I built a budgeting app that never connects to your bank

https://budjo.app
1•fabiozanchi•36m ago•0 comments

AI Agents for Contractors

https://dolfyn.ai/
1•khollow•40m ago•1 comments

A 10K-star milestone for Diskless Kafka

https://github.com/AutoMQ/automq
6•TechSageWow•40m ago•1 comments

Specs AR Glasses (Snap Inc.)

https://www.specs.com/
2•d3ron•40m ago•0 comments

Electrocaloric effects across room temperature in multilayer capacitors

https://www.nature.com/articles/s41586-026-10492-w
1•teleforce•42m ago•0 comments

The year designers stopped being just designers – AI in Design Report 2026

https://www.artificialstudio.ai/blog/ai-design-report-2026
1•artificialstudi•43m ago•1 comments

Trump Demanded Iran's 'Unconditional Surrender.' He Got a Surprise Instead

https://www.nytimes.com/2026/06/17/us/politics/trump-iran-deal-nuclear-program-strait.html
9•duxup•50m ago•2 comments

Pentagon says Grok used to launch missiles at Iran

https://thehill.com/newsletters/technology/5929290-pentagon-grok-iran-missiles/
4•dlgeek•55m ago•0 comments

Companies question cost of AI as tokenmaxxing spending adds up

https://www.cbc.ca/news/business/ai-spending-ending-tokenmaxxing-tokenomics-9.7237680
2•theanonymousone•56m ago•1 comments

Gloat compiles Clojure and YAMLScript to Go code, native binaries and WASM

https://gloathub.org/
1•adityaathalye•56m ago•0 comments

Audacity 4.0 beta lets you test its new (nicer) Qt interface

https://www.omgubuntu.co.uk/2026/06/audacity-4-0-beta
2•jandeboevrie•58m ago•0 comments

Show HN: 150M Mandarin transcription model with real-time metadata detection

https://huggingface.co/WhissleAI/STT-meta-ZH-150m
1•ksingla025•1h ago•0 comments

The Suicide Clusters That Threaten Mountain Towns

https://www.outsideonline.com/health/wellness/suicide-clusters-mountain-towns-durango/
1•thunderbong•1h ago•1 comments

Local Qwen isn't a worse Opus, it's a different tool

https://blog.alexellis.io/local-ai-is-not-opus/
2•alphabettsy•1h ago•0 comments

Push vs. Pull Agent Memory?

https://github.com/H-XX-D/recall-memory-substrate
1•hendrixx1122•1h ago•0 comments

Plopcop – To Protect and Scrub

https://plopcop.com/
1•piccirello•1h ago•0 comments

Inside Rainbow's AI clash with its fashion models

https://www.businessinsider.com/rainbow-shops-fashion-models-ai-use-jobs-impact-2026-6
1•petethomas•1h ago•0 comments