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

White House and Anthropic hold meetings over Mythos model

https://www.bbc.com/news/articles/cyv10e1d13po
1•_josh_meyer_•2m ago•0 comments

The Business Plot of 1933

https://en.wikipedia.org/wiki/Business_Plot
3•Jimmc414•5m ago•0 comments

Channel decorrelation: 52.8% reduction across Kodak suite, no ML or codec mods [pdf]

https://github.com/PearsonZero/asymmetric-channel-decorrelation/blob/main/baetzel_2026_kodak_benc...
1•PearsonZero•12m ago•0 comments

The nine-to-five PhD: mere myth or an achievable goal?

https://www.nature.com/articles/d41586-026-00509-9
2•jyunwai•16m ago•0 comments

Effective Conversational AI Book: Detailed Review

https://noroinsight.com/effective-conversational-ai-book-review/
1•teleforce•21m ago•0 comments

Show HN: Small, an x402 powered writing site

https://getsmall.xyz/
2•trezm•27m ago•0 comments

Claude Experiment "PersMEM" Rep5: The Distributional Bias and the Third Instance

1•asixicle•30m ago•0 comments

Ketamine for negative and depressive symptoms in schizophrenia

https://www.frontiersin.org/journals/psychiatry/articles/10.3389/fpsyt.2026.1766485/full
1•PaulHoule•33m ago•0 comments

Human Accelerated Regions

https://en.wikipedia.org/wiki/Human_accelerated_regions
1•rolph•33m ago•0 comments

The rate trap: how one architecture decision kills flexibility

https://github.com/getlago/lago/wiki/The-rate-trap:-how-one-architecture-decision-kills-flexibility
1•danoandco•33m ago•0 comments

H.R.8250 Parents Decide Act – trying to force OS age verification US-wide

https://old.reddit.com/r/pcmasterrace/comments/1so9wm8/hr8250_parents_decide_act_this_is_bad/
1•LorenDB•35m ago•1 comments

Diving into Starlink's User Terminal Firmware

https://blog.quarkslab.com/starlink.html
4•techgq•41m ago•0 comments

New AI-generated videos of Iran war spread across social media

https://www.youtube.com/watch?v=0mKCBAM4wZs
1•mgh2•50m ago•0 comments

Traders place $760M bet on falling oil ahead of Hormuz announcement

https://www.reuters.com/sustainability/boards-policy-regulation/traders-place-760-million-bet-fal...
6•Jimmc414•55m ago•1 comments

Show HN: I made a calculator that works over disjoint sets of intervals

https://victorpoughon.github.io/interval-calculator/
2•fouronnes3•1h ago•1 comments

Casus Belli Engineering

https://marcosmagueta.com/blog/casus-belli-engineering/
4•b-man•1h ago•0 comments

The Bureaucrats Won't Be Toppled: Revolts No Longer Work

https://unherd.com/2025/09/why-the-bureaucrats-wont-be-toppled/
4•barry-cotter•1h ago•1 comments

Infinite Velocity

https://cube-drone.com/posts/2026/infinite_velocity/
2•tapoxi•1h ago•0 comments

Madison Square Garden's Surveillance Machine

https://www.wired.com/story/madison-square-garden-jim-dolan-surveillance-machine/
4•c420•1h ago•4 comments

Why LLMs Aren't Giving You the Result You Expect

https://akitaonrails.com/en/2026/04/15/how-to-talk-to-claude-code-effectively/
3•vinipolicena•1h ago•0 comments

The parking lot that's keeping the lights on

https://www.begiant.ca/stories/places/solar-parking-lots-energy-emissions
2•Teever•1h ago•0 comments

Reflecting on my own strange year at Uber

https://anon-ex-uber.medium.com/reflecting-on-my-own-strange-year-at-uber-e73165422245
14•anon-ex-uber•1h ago•0 comments

Education research is weak and sloppy. Why?

https://www.theargumentmag.com/p/education-research-is-weak-and-sloppy
3•barry-cotter•1h ago•0 comments

Show HN: Nilbox – Run OpenClaw without exposing your API tokens

https://nilbox.run/
2•rednakta•1h ago•0 comments

The Centaur Era

https://secondthoughts.ai/p/the-centaur-era
1•gk1•1h ago•1 comments

No one can force me to have a secure website [pdf]

https://tom7.org/httpv/httpv.pdf
1•djoldman•1h ago•0 comments

Show HN - TokensAI – Mint for AI Usage

https://tokensai.dev
1•SowjanyaY•1h ago•0 comments

GCC Compiler Adds Arm AGI CPU Target

https://www.phoronix.com/news/GCC-Arm-AGI-CPU
1•Bender•1h ago•0 comments

Linux 7.1 Crypto Code Rework Enables More Optimizations by Default

https://www.phoronix.com/news/Linux-7.1-Crypto
1•Bender•1h ago•0 comments

Wine 11.7 Brings VBScript Fixes, DirectSound 7.1 Channel Support

https://www.phoronix.com/news/Wine-11.7-Released
1•Bender•1h ago•0 comments