frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•11mo 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

Apple MLX vs. llama.cpp: compared and benchmarked [video]

https://www.youtube.com/watch?v=ZwCbChJWXkQ
1•nvahalik•1m ago•0 comments

Madrid Built Its Metro Cheaply

https://worksinprogress.co/issue/how-madrid-built-its-metro-cheaply/
1•latentframe•2m ago•1 comments

Vercel Flags now supports JSON values

https://vercel.com/changelog/vercel-flags-now-supports-json-values
1•berlianta•3m ago•0 comments

C++ survey finds AI use rising, though trust is in short supply

https://www.theregister.com/devops/2026/05/07/c-survey-finds-ai-use-rising-though-trust-is-in-sho...
3•lschueller•5m ago•0 comments

Amazon Web Services in Plain English (2015)

https://expeditedsecurity.com/aws-in-plain-english/
2•downbad_•5m ago•1 comments

DayOne.fan – music promotion toolkit for indie artists (Meta ads and artist hub)

https://dayone.fan
1•jamescundle•5m ago•1 comments

MPEG-2 Transport Stream Packaging for Media over QUIC Transport

https://www.ietf.org/archive/id/draft-gregoire-moq-msfts-00.html
1•mondainx•7m ago•0 comments

Reclip – Download videos from almost any website

https://github.com/averygan/reclip
1•the-mitr•9m ago•0 comments

The Second Wave of the API-First Economy

https://brandur.org/second-wave-api-first
1•surprisetalk•9m ago•0 comments

A Silver Lining of Slop

https://brennan.io/2026/05/04/llmfree/
1•ibobev•9m ago•0 comments

Minimal Viable Zig Error Contexts

https://matklad.github.io/2026/05/03/zig-error-context.html
3•ibobev•10m ago•0 comments

A digital photo frame written in Lisp

http://forum.ulisp.com/t/a-digital-photo-frame-written-in-lisp/1870
2•chrisjj•10m ago•0 comments

Access your Docker Compose services via easy-to-remember names

https://chuniversiteit.nl/operations/reverse-proxy-for-docker-compose
1•ibobev•10m ago•0 comments

SpaceX is starting to move on from the most successful rocket

https://arstechnica.com/space/2026/05/spacex-is-starting-to-move-on-from-the-worlds-most-successf...
1•Brajeshwar•10m ago•0 comments

Peon-Ping

https://github.com/PeonPing/peon-ping
1•skibz•12m ago•0 comments

The ROKR wooden typewriter: a closer look

http://writingball.blogspot.com/2026/05/the-rokr-wooden-typewriter-closer-look.html
1•speckx•14m ago•0 comments

The Future of Testing Is Here (Testkube AI Launch)

https://www.accessnewswire.com/newsroom/en/computers-technology-and-internet/testkube-redefines-t...
1•evwitmer•15m ago•0 comments

Show HN: 'Safari-Like' 2-finger nav gesture for IntelliJ (Java Swing) on macOS

https://github.com/anticleiades/swing-fluid-swipe
1•anticleiades•16m ago•2 comments

Show HN: CloudCent – Estimate Cloud Costs Before Coding

https://github.com/OverloadBlitz/cloudcent-cli
4•cover3•17m ago•0 comments

Skyroot vira 1ª space-tech da Índia avaliada em $1 bi com apoio global

https://www.reuters.com/science/indias-skyroot-becomes-first-1-bln-space-tech-startup-with-gic-sh...
1•01-_-•18m ago•0 comments

Show HN: Flow Timer – A simple sequential timer without bloat for timeboxing

https://timer.bryanhogan.com/
1•bryanhogan•18m ago•1 comments

A 481-meter-high landslide-tsunami in a cruise ship–frequented Alaska fjord

https://www.science.org/doi/10.1126/science.aec3187
1•croes•19m ago•0 comments

Robot Brain for Smol Brain

https://intuitably.com/2026/05/06/ai_brain_for_smol_brain.html
1•secretsinger•19m ago•0 comments

Optimizing Memory Access in NIR

https://www.collabora.com/news-and-blog/blog/2026/05/07/optimizing-memory-access-in-nir/
1•losgehts•19m ago•0 comments

The Serial TTL connector we deserve

https://kohlschuetter.github.io/blog/posts/2026/05/07/serial-ttl-connector/
1•kohlschuetter•20m ago•0 comments

Internet Archive Outage

https://bsky.app/profile/archive.org/post/3mlbfu2t72k2u
3•doener•20m ago•0 comments

Twilio SMS gateway outage: 2FA affected globally

https://status.twilio.com
2•hallh•21m ago•0 comments

Show HN: Coding agents can control desktop software without MCPs

https://github.com/SFKislev/Flue
1•-babi-•21m ago•2 comments

A Cursor AI agent wiped PocketOS's production database in under 10 seconds

https://thenewstack.io/ai-agents-credential-crisis/
5•Brajeshwar•24m ago•1 comments

The Self-Cancelling Subscription

https://predr.ag/blog/the-self-cancelling-subscription/
4•surprisetalk•24m ago•0 comments