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

I built a tool to stop wasting hours on LinkedIn outreach messages

1•mdanjumkamali•8m ago•0 comments

2025 in Review

https://lethain.com/2025-in-review/
1•gpi•17m ago•0 comments

Post-Quantum Cryptography via dynamic JavaScript injection

https://safequard.pqcee.com/
1•khoslaj•19m ago•0 comments

Show HN: LogShield – Deterministic CLI tool to sanitize secrets from logs

https://www.logshield.dev/
2•quietbyte•21m ago•0 comments

The Price of Intelligence – Three Risks Inherent in LLMs

https://cacm.acm.org/practice/the-price-of-intelligence/
1•gpi•22m ago•0 comments

Citizens United 2.0

https://jacobin.com/2025/12/citizens-united-supreme-court-gop
1•wahnfrieden•25m ago•0 comments

The unstoppable rise of renewable energy

https://www.science.org/content/article/breakthrough-2025
1•conroy•30m ago•0 comments

Ask HN: If oneday AI brain chips become a thing, would you get it?

3•keepamovin•31m ago•3 comments

GitHub Copilot Agent Skills

https://github.blog/changelog/2025-12-18-github-copilot-now-supports-agent-skills/
2•feynmanquest•32m ago•0 comments

Research team digitizes more than 100 years of Canadian infectious disease data

https://news.mcmaster.ca/mcmaster-research-team-digitizes-more-than-100-years-of-canadian-infecti...
1•XzetaU8•33m ago•0 comments

Private donors pledge 860M euros for CERN's Future Circular Collider

https://home.cern/news/press-release/cern/private-donors-pledge-860-million-euros-cerns-future-ci...
3•thunderbong•35m ago•0 comments

End of Year Pay Report 2025 – Levels.fyi

https://www.levels.fyi/2025/
1•philonoist•41m ago•0 comments

A High-Performance Redis Alternative Built in Go

https://github.com/wutlu/boltcache
2•spotlayn•43m ago•0 comments

A Codebase by an Agent for an Agent

https://ampcode.com/by-an-agent-for-an-agent
1•emersonmacro•44m ago•0 comments

Making Google Sans Flex

https://design.google/library/google-sans-flex-font
2•meetpateltech•47m ago•0 comments

GitHub 95

https://github95.vercel.app
6•keepamovin•49m ago•1 comments

What the hyperproduction of AI slop is doing to science

https://theconversation.com/what-the-hyperproduction-of-ai-slop-is-doing-to-science-272250
5•billybuckwheat•55m ago•1 comments

Firefox UI revamp sparks complaints, searches for alternatives (2014)

https://www.computerworld.com/article/1514198/firefox-ui-revamp-sparks-complaints-searches-for-al...
2•1gn15•56m ago•0 comments

Why and How China Will Win AI: A Systems Understanding of China's AI Playbook

https://www.zackaryia.com/blog/2025-12-11/why-and-how-china-will-win-ai/
1•Zackaryia•1h ago•0 comments

RFC1087 Ethics and the Internet (1989)

https://www.ietf.org/rfc/rfc1087.txt
3•1vuio0pswjnm7•1h ago•1 comments

Worst Technology Flops of 2025

https://www.technologyreview.com/2025/12/18/1130106/the-8-worst-technology-flops-of-2025/
4•devonnull•1h ago•0 comments

Microsoft Updates Windows 'To Stop Users from Downloading Google Chrome'

https://www.forbes.com/sites/zakdoffman/2025/12/18/microsoft-updates-windows-to-stop-users-downlo...
4•72f988bf•1h ago•3 comments

Recent discoveries on the acquisition of the highest levels of human performance

https://www.science.org/doi/10.1126/science.adt7790
2•tchalla•1h ago•1 comments

Evaluating Chain-of-Thought Monitorability

https://openai.com/index/evaluating-chain-of-thought-monitorability/
3•mfiguiere•1h ago•0 comments

Reimplementing Unix Correct: The Lost Bayesian Spelling Corrector

https://learningloom.substack.com/p/reimplementing-unix-correct-the-lost
2•atomicnature•1h ago•0 comments

Code Coverage

https://keploy.io/blog/community/understanding-code-coverage-in-software-testing
1•sophielane•1h ago•0 comments

A quantum mystery that stumped scientists for decades is solved

https://www.sciencedaily.com/releases/2025/12/251217082509.htm
3•croes•1h ago•0 comments

2026 Apple introducing more ads to increase opportunity in search results

https://ads.apple.com/app-store/help/ad-placements/0082-search-results
58•punnerud•1h ago•33 comments

Gut microbe Turicibacter prevents weight gain

https://newatlas.com/diet-nutrition/weight-gain-gut-microbe/
3•thunderbong•1h ago•0 comments

Getting bitten by Intel's poor naming scenes

https://lorendb.dev/posts/getting-bitten-by-poor-naming-schemes/
27•LorenDB•1h ago•7 comments