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

Uber Caps Employee Spending on AI Tools Like Claude Code to Manage Costs

https://www.bloomberg.com/news/articles/2026-06-02/uber-caps-usage-of-ai-tools-like-claude-code-t...
2•nreece•1m ago•0 comments

With Nvidia Groq 3, the Era of AI Inference Is (Probably) Here (⌛ March 2026)

https://spectrum.ieee.org/nvidia-groq-3
1•mdp2021•5m ago•0 comments

QR Menu Generator

1•tashadir•10m ago•0 comments

Can't Find a Job After Graduation? Blame WFH, Not AI

https://www.bloomberg.com/opinion/articles/2026-06-02/can-t-find-a-job-after-graduation-blame-wfh...
1•KnuthIsGod•10m ago•0 comments

A scientific calculator in C for terminal environments

https://github.com/EmberSeed/ADVANCED-TERMINAL-CALCULATOR
2•EmberSeed•10m ago•0 comments

Context Graph Agent

https://github.com/nascousa/cga
1•nascousa•14m ago•0 comments

Show HN: Codex Reset Watchdog – a Skill for watching codex quota reset signals

https://github.com/thinkingjimmy/codex-reset-watchdog
1•thinkingjimmy•19m ago•0 comments

"what if you don't have the dataset?"

https://chris-parmer.com/what-if-you-dont-have-the-dataset/?trk=feed_main-feed-card_feed-article-...
2•cjlm•19m ago•0 comments

Show HN: Carto – structural intelligence for AI coding agents (OSS)

https://github.com/theanshsonkar/carto
1•aspectop•24m ago•0 comments

Cooldown Support for Ruby Bundler

https://blog.rubygems.org/2026/06/03/cooldown-let-new-gems-be-vetted.html
1•calyhre•26m ago•0 comments

GitLab to cut workforce by 14% and exit 22 countries in restructure around AI

https://www.msn.com/en-us/money/companies/gitlab-announces-14-reduction-in-global-workforce-expec...
7•nomilk•26m ago•0 comments

Adverse effects of aspirin, acetaminophen, and ibuprofen on immune function

https://pubmed.ncbi.nlm.nih.gov/2172402/
1•mgh2•31m ago•0 comments

Semantic Reification: A New Paradigm for Random Program Generation

https://pldi26.sigplan.org/details/pldi-2026-papers/25/Semantic-Reification-A-New-Paradigm-for-Ra...
1•matt_d•33m ago•0 comments

Trump administration drops $1.8B 'anti-weaponisation' fund

https://www.bbc.com/news/articles/crkpyj41m15o
1•NikxDa•33m ago•0 comments

Building a hill-climbing machine: Launching seven new MAI models

https://microsoft.ai/news/building-a-hillclimbing-machine-launching-seven-new-mai-models/
1•taquangkhoi•39m ago•0 comments

Tay AI Chatbot

https://en.wikipedia.org/wiki/Tay_(chatbot)
5•Jimmc414•40m ago•1 comments

Dark Software Factories Are Cool. What Comes After Them Is More Interesting

https://flummadiddle.bearblog.dev/dark-software-factories/
2•_doctor_love•41m ago•0 comments

Animation Vocabulary

https://animations.dev/vocabulary
1•itzlambda•41m ago•0 comments

OpenAI new privacy policy to include info about ads in ChatGPT

4•mmarian•49m ago•1 comments

AI hiring algorithms reject Black, Asian job seekers at higher rates

https://www.theregister.com/ai-ml/2026/05/27/ai-hiring-algorithms-reject-black-asian-job-seekers-...
2•erehweb•49m ago•0 comments

'Dumbass' criminal breaks the 'first rule of ransomware club'

https://www.theregister.com/cyber-crime/2026/06/02/dumbass-criminal-breaks-the-first-rule-of-rans...
2•Cider9986•49m ago•0 comments

GPU Forecasters: Language Models as Selective Surrogates for Kernel Optimization

https://arxiv.org/abs/2605.31464
1•matt_d•50m ago•0 comments

Benchmarking LLM-as-a-Judge for Long-Form Output Evaluation

https://arxiv.org/abs/2606.01629
1•berlianta•53m ago•0 comments

Daily Harvest sued after gallbladders removed after people consumed its product

https://www.cnn.com/2022/07/01/tech/daily-harvest-recall-lawsuits
4•JumpCrisscross•53m ago•0 comments

Can AI Do Intelligence Analysis? Apparently Not

https://blog.predictivedefense.io/p/can-ai-do-intelligence-analysis-apparently
1•beatrobot•1h ago•0 comments

One Equation. Thirty Binaries. Zero Agents

https://github.com/silentnoisehun/Bio-Binaries
1•silentnoisehun•1h ago•1 comments

Database-Centric Architecture

https://en.wikipedia.org/wiki/Database-centric_architecture
1•teleforce•1h ago•0 comments

Trump's Takeover of the American Regulatory Machine

https://www.wsj.com/politics/policy/trump-takeover-regulators-130b57a3
2•KnuthIsGod•1h ago•0 comments

Americans Are Leaving the U.S. in Record Numbers

https://www.wsj.com/podcasts/the-journal/americans-are-leaving-the-us-in-record-numbers/f2ae7db5-...
11•KnuthIsGod•1h ago•1 comments

Ask HN: How do people secure their Linux computer?

2•foo12bar•1h ago•3 comments