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•10mo 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

Configuration flags are where software goes to rot

https://00f.net/2026/04/11/config-flags/
1•mperham•15s ago•0 comments

You're gonna need a bigger benchmark, METR

https://www.lesswrong.com/posts/3SywPAjGQWCtQFafb/you-re-gonna-need-a-bigger-boat-benchmark-metr
1•frmsaul•57s ago•0 comments

Problems Before the Real Problem: The First Lessons of Apollo 13

https://w3.ibm.com/ibm/open-innovation-community/initiatives/69ba803f20eb5edfdccbbb90
2•flyingbarron•2m ago•0 comments

From Pal to Verilog: Writing the A4092 Logic from Scratch

https://amiga.technology/blog/from-pal-to-verilog/
1•freediver•2m ago•0 comments

Cozy Cafe Idle Game

https://beans.cozyidle.click/
1•kstaykov•3m ago•0 comments

Patterns.dev Skills

https://github.com/PatternsDev/skills
2•iqen93•3m ago•0 comments

Flowers for Algernon

https://en.wikipedia.org/wiki/Flowers_for_Algernon
1•tosh•4m ago•0 comments

For Ants, a 'Cleaning Station' in the Desert

https://www.nytimes.com/2026/04/13/science/harvester-cone-ants-cleaning.html
1•marojejian•5m ago•1 comments

HiFloat4 Format for Language Model Pre-Training on Ascend NPUs

https://arxiv.org/abs/2604.08826
1•rbanffy•5m ago•0 comments

The 0.25% Background: Building a Rarity System into a Portfolio Site

https://eric.mann.blog/building-a-rarity-system-into-a-portfolio-site/
1•eamann•5m ago•0 comments

Show HN: Aeolus – a library for unified access to air quality sensor networks

https://github.com/southlondonscientific/aeolus
1•ruaraidh•6m ago•0 comments

SpaceX alumni found Critical Loop to enable private distribution grid upgrades

https://www.latitudemedia.com/news/how-critical-loop-uses-microgrids-to-unlock-industrial-load/
1•malchow•6m ago•0 comments

A scalable platform for nanometer-scale quantum confinement

https://arxiv.org/abs/2604.08957
1•rbanffy•6m ago•0 comments

Claude down? TokenMonopoly will help you find the best deals in AI subs

https://tokenmonopoly.com
1•robinw_•8m ago•0 comments

Sustaining Exascale Performance: Lessons from HPL and HPL-MxP on Aurora

https://arxiv.org/abs/2604.09517
1•rbanffy•8m ago•0 comments

They Lost It. All of It

https://www.youtube.com/watch?v=_k_70iqBCDc
1•dp-hackernews•8m ago•0 comments

Circuit Transformations, Loop Fusion, and Inductive Proof

https://natetyoung.github.io/carry_save_fusion/
1•matt_d•8m ago•0 comments

When AI Meets Muscle: Using Electrical Stimulation to Guide Human Movement

https://computerscience.uchicago.edu/news/when-ai-meets-muscle-context-aware-electrical-stimulati...
1•dabinat•8m ago•0 comments

The Future of Everything Is Lies, I Guess: Safety

https://aphyr.com/posts/417-the-future-of-everything-is-lies-i-guess-safety
4•aphyr•8m ago•0 comments

OpenWrt Support for MikroTik RB1100AHx4 (Annapurna Labs Alpine)

https://github.com/openwrt/openwrt/pull/22865
1•abdrzj•12m ago•1 comments

Show HN: Farchive – SQLite-backed history-preserving compressed archive

https://github.com/eliask/farchive
1•ekns•12m ago•0 comments

Ftrfs: New Fault-Tolerant File-System Proposed for Linux

https://www.phoronix.com/news/FTRFS-Linux-File-System
2•dabinat•14m ago•0 comments

Show HN: Dbg – One CLI debugger for every language (AI-agent ready)

https://redknightlois.github.io/dbg/
1•redknight666•14m ago•0 comments

Mailing Things Is Fun

https://brianschrader.com/archive/mailing-things-is-fun/
2•sonicrocketman•15m ago•0 comments

Lo-Fi Work Setup for Slow Connections Using SSH

https://msturm.com/journal/lo-fi/
2•msturm•16m ago•0 comments

The Case Against Social Media: Seven Lines of Evidence

https://www.afterbabel.com/p/seven-lines-of-evidence-against-social-media
2•paulpauper•20m ago•1 comments

Claude Mythos: The System Card

https://thezvi.substack.com/p/claude-mythos-the-system-card
4•paulpauper•21m ago•0 comments

Scarcity and Fairness at Theme Parks

https://thelivingfossils.substack.com/p/scarcity-and-fairness-at-theme-parks
1•paulpauper•21m ago•0 comments

Claude Code may be burning your limits with invisible tokens

https://efficienist.com/claude-code-may-be-burning-your-limits-with-invisible-tokens-you-cant-see...
2•jenic_•21m ago•0 comments

OpenClaw Self-Improvement Loop: adversarial agentic self-modification workflow

https://github.com/theprint/nfh-self-improvement-loop
1•rasras•22m ago•0 comments