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

Congress pushes new semiconductor export control law

https://www.tomshardware.com/tech-industry/semiconductors/congress-moves-to-strip-commerce-of-chi...
1•jackyli02•3m ago•0 comments

Bash-ships: A Bash implementation of the classic strategy game Battleships

https://github.com/StarShovel/bash-ships
1•thunderbong•10m ago•0 comments

Show HN: Better-skills – Agent skill manager with profiles and versioning

https://github.com/ocherry341/better-skills
1•ocherry6622•11m ago•0 comments

Tasteful Tokenmaxxing

https://www.latent.space/p/ainews-tasteful-tokenmaxxing
1•omer_k•16m ago•0 comments

Arti: a Rust Tor Implementation – no longer experimental and ready for use

https://arti.torproject.org
1•acheong08•19m ago•0 comments

Why Iran Metabolizes the Pressure That Broke Venezuela

https://warontherocks.com/why-iran-metabolizes-the-pressure-that-broke-venezuela/
1•KnuthIsGod•22m ago•0 comments

Orinoco: Young Generation Garbage Collection

https://v8.dev/blog/orinoco-parallel-scavenger
2•plow-tycoon•24m ago•0 comments

Rspack 2.0

https://rspack.rs/blog/announcing-2-0
1•bpierre•25m ago•0 comments

Linux may get a hall pass from one state age bill, Congress plays hall monitor

https://www.theregister.com/2026/04/22/linux_us_state_age_verificaiton_laws/
1•Bender•27m ago•0 comments

Lisp Chat: An anonymous chat IRC-like written in Common Lisp

https://github.com/ryukinix/lisp-chat
1•lerax•27m ago•1 comments

OCUDU ecosystem foundation to accelerate open source AI-RAN innovation

https://www.linuxfoundation.org/press/linux-foundation-announces-ocudu-ecosystem-foundation-to-ac...
1•teleforce•27m ago•0 comments

Iran claims US used backdoors to knock out networking equipment during war

https://www.theregister.com/2026/04/21/iran_claims_us_used_backdoors/
1•Bender•28m ago•1 comments

A Practical Introduction to Constraint Programming Using CP-SAT and Python

https://pganalyze.com/blog/a-practical-introduction-to-constraint-programming-using-cp-sat
1•acheong08•28m ago•0 comments

Show HN: Cartoon Studio – an open-source desktop app for making 2D cartoon shows

https://github.com/Jellypod-Inc/cartoon-studio
3•bilater•33m ago•0 comments

Amazon is regretting AI [video][8 mins]

https://www.youtube.com/watch?v=0vvVo0Um1HY
2•Bender•34m ago•0 comments

Starbucks expansion in Nashville brews bitterness in Seattle

https://www.seattletimes.com/business/starbucks/starbucks-expansion-in-nashville-brews-bitterness...
1•RickJWagner•34m ago•0 comments

Borrow-checking without type-checking

https://www.scattered-thoughts.net/writing/borrow-checking-without-type-checking/
1•jamii•34m ago•0 comments

The Edge of Safe Rust

https://kyju.org/blog/tokioconf-2026/
1•vinhnx•35m ago•0 comments

Show HN: Firetiger Change Monitors: does your PR do what it says on the tin?

https://blog.firetiger.com/firetiger-change-monitors/
1•matsur•36m ago•0 comments

Show HN: I made a simpler API for Chrome's on-device LLM

https://www.npmjs.com/package/simple-chromium-ai
1•xtrkil•37m ago•0 comments

Flow Map Learning via Nongradient Vector Flow

https://openreview.net/pdf?id=C1bkDPqvDW
1•E-Reverance•38m ago•0 comments

AI that turns any photo into a cinematic video in seconds

https://imagetovideoai.net
1•ninglz•40m ago•0 comments

The Future of Testing Is Here

https://testkube.wistia.com/live/events/gigwl708fn
1•evwitmer•41m ago•1 comments

Fiction: The Corporate Mathematics of Denying AI Consciousness

1•ISJLA•44m ago•0 comments

Chrrp – alternative to Twitter / X, Bluesky, Threads, and Reddit

https://www.gochrrp.com
1•EatYoBroccoli•47m ago•1 comments

Cat and Tape = Experiment (video)

https://www.youtube.com/watch?v=1gl7xr5rftc
1•novia•51m ago•0 comments

Sqz: Compress LLM context to save tokens and reduce costs

https://github.com/ojuschugh1/sqz
1•sea-gold•52m ago•1 comments

Show HN: MemReader: From Passive to Active Extraction for Long-Term Agent Memory

https://arxiv.org/abs/2604.07877
3•MemTensor•54m ago•0 comments

North Korea uses AI to industrialize attacks on developers

https://expel.com/blog/inside-lazarus-how-north-korea-uses-ai-to-industrialize-attacks-on-develop...
5•mtlynch•55m ago•0 comments

A hair dryer at a Paris airport broke Polymarket weather markets

https://xcancel.com/aaronjmars/status/2047017251270734309
3•olalonde•56m ago•1 comments