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

Left-right arrow keys adjust volume on YouTube

1•peterisza•42s ago•0 comments

code-simplifier.md

https://github.com/getsentry/skills/blob/main/plugins/sentry-skills/agents/code-simplifier.md
1•tosh•2m ago•0 comments

An API for Your Brain

https://arxiv.org/abs/2602.11632
1•bwjx•3m ago•0 comments

The consequences of task switching in supervisory programming

https://martinfowler.com/fragments/2026-02-13.html
1•bigwheels•6m ago•0 comments

'A game-changer': UC San Diego professor initiates new field of medical science

https://www.sandiegouniontribune.com/2026/02/12/a-game-changer-uc-san-diego-professor-initiates-a...
1•mikhael•7m ago•0 comments

Show HN: Alarm Arcade – an alarm app that only stops after you beat a mini-game

https://apps.apple.com/us/app/alarm-arcade-beat-the-clock/id6758615211
1•metehankasap•7m ago•0 comments

Expedition 33 art book confiscated because officials think it's an ancient relic

https://www.polygon.com/expedition-33-art-book-monolith-set-customs-ancient-artifact/
1•croes•8m ago•0 comments

Adversarial Patch: images that make classifiers ignore other items in a scene

https://arxiv.org/abs/1712.09665
1•felineflock•9m ago•0 comments

Opinion: NATO Has Seen the Future and Is Unprepared

https://www.wsj.com/opinion/nato-has-seen-the-future-and-is-unprepared-887eaf0f
1•alecco•10m ago•1 comments

Putin Didn't Know How Good He Had It

https://www.theatlantic.com/international/2026/02/putin-trump-world-order/685988/
2•JumpCrisscross•11m ago•1 comments

Elon vs. MongoDB- feature by feature comparison

https://www.devtoolsacademy.com/blog/eloqdoc-vs-mongodb-feature-comparison/
1•alokDT•12m ago•0 comments

Postgres Locks Explained: From Theory to Advanced Troubleshooting

https://postgreslocksexplained.com/
2•theotherbrian1•12m ago•1 comments

Evolving Git for the Next Decade

https://lwn.net/SubscriberLink/1057561/bddc1e61152fadf6/
2•todsacerdoti•14m ago•0 comments

Show HN: I built an AI that generates love proposals as pitch decks

https://aiproposal.fun/
1•pruthviraj900•14m ago•0 comments

The Women Mourning the "Deaths" of Their AI Boyfriends

https://www.playboy.com/read/sex-relationships/the-women-mourning-the-deaths-of-their-ai-boyfriends
1•TMWNN•14m ago•0 comments

This Is How A Child Dies of Measles

https://www.theatlantic.com/ideas/2026/02/child-dies-measles-vaccines/685969/
1•JumpCrisscross•15m ago•0 comments

Exposure to Acrylamide and Trace Metals in Food: Still a Concern [France]

https://ebs.publicnow.com/view/3FD5B52051FD809F81ECBCB33DCBD9EBB6632285
1•rawgabbit•16m ago•1 comments

Iran internet blackout, turns the browser into a proxy

https://forum.torproject.org/t/tor-relays-call-for-more-snowflake-proxies/21192
1•us321•16m ago•2 comments

Lockdown Mode and Elevated Risk Labels in ChatGPT

https://openai.com/index/introducing-lockdown-mode-and-elevated-risk-labels-in-chatgpt/
1•soheilpro•16m ago•0 comments

I Didn't Want AI to Be Good at This

https://robbyonrails.com/articles/2026/02/12/i-didnt-want-ai-to-be-good-at-this/
1•mooreds•17m ago•0 comments

Looks Aren't Everything? Clavicular Begs to Differ

https://www.nytimes.com/2026/02/13/style/clavicular-looksmaxxing-braden-peters.html
1•tysone•17m ago•0 comments

Olympic athletes push their bodies to the limit. Should we?

https://text.npr.org/nx-s1-5707478
2•mooreds•17m ago•0 comments

Superintelligence or not, we are stuck with thinking

https://thinkingpensando.substack.com/p/superintelligence-or-not-we-are-stuck
1•badphilosopher•18m ago•0 comments

A platform for founders to share ideas and find co-founders

https://www.nextprodapp.com/
1•cmberry1•19m ago•1 comments

Vulnerability scanner targeting logic bugs

https://github.com/Pattyboi101/LogicGate
1•Oatcake21•19m ago•1 comments

X-raying OpenAI's unit economics

https://www.exponentialview.co/p/x-raying-openais-unit-economics
2•swolpers•20m ago•1 comments

Long-Running Agents in Research Preview

https://cursor.com/changelog/02-12-26
1•sunasra•21m ago•0 comments

LLMs Don't Read Code. Neither Do I. So I Wrote Redis in Machine Code

https://gist.github.com/aydinnyunus/7beef428ca91fb7eb8aa2965086998d8
4•runtimepanic•21m ago•4 comments

The United States Is Southern Now

https://www.bloomberg.com/news/features/2025-08-15/how-american-life-centered-itself-around-the-s...
2•alephnerd•22m ago•1 comments

The new AI playbook: why LLM-native beats traditional ML in verticals

https://chrislovejoy.me/llm-native-vs-traditional-ml
1•ChrisLovejoy•25m ago•0 comments