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

Exactly-Once Semantics Are Possible

https://www.confluent.io/blog/exactly-once-semantics-are-possible-heres-how-apache-kafka-does-it/
1•intrepidsoldier•3m ago•0 comments

Show HN: Knav – Embed an AI assistant on your site, trained on your docs

https://www.knav.app/
1•randydigital•4m ago•0 comments

Cannabis dispensaries lead to reduced opioid prescriptions

https://medicalxpress.com/news/2025-11-cannabis-dispensaries-opioid-prescriptions-plausible.html
2•PaulHoule•5m ago•0 comments

Rubio's Directive on State Dept Typography, Re-Establishing Times New Roman

https://daringfireball.net/2025/12/full_text_of_marco_rubio_state_dept_directive_times_new_roman
1•coloneltcb•5m ago•0 comments

American Ports Have a Problem That's Costing You Money

https://www.youtube.com/watch?v=qFyYqUwXWLw
1•m-hodges•5m ago•0 comments

Be Careful with GIDs in Rails

https://blog.julik.nl/2025/12/a-trap-with-global-ids
1•julik•6m ago•0 comments

Cryptographers Show That AI Protections Will Always Have Holes

https://www.quantamagazine.org/cryptographers-show-that-ai-protections-will-always-have-holes-202...
1•EA-3167•9m ago•0 comments

Online child sexual abuse surges by 26% in year

https://www.theguardian.com/society/2025/dec/11/online-child-sexual-abuse-surges-by-26-percent-in...
1•vinni2•13m ago•0 comments

What border guards will look for on your socials, could be made to hand over DNA

https://www.afr.com/world/north-america/here-s-what-trump-s-border-officials-will-look-for-on-you...
2•KnuthIsGod•23m ago•2 comments

Malaysia uncovers $1B in power theft losses from illegal crypto mining

https://www.theblock.co/post/379443/malaysia-power-theft-crypto-mining
3•walterbell•30m ago•0 comments

The GPT Prophecy Begins (book trailer)

https://www.youtube.com/watch?v=u480QTwbA6o
1•nuevita70•36m ago•0 comments

Ask HN: End of Year Book Recommendations

2•marai2•39m ago•1 comments

Z-Image-Turbo

https://alternativeto.net/software/z-image-turbo/about/
1•indextts•43m ago•0 comments

Wenis

https://en.wikipedia.org/wiki/Wenis
1•oatsandsugar•44m ago•0 comments

Pslscale.com – AI facial analysis for attractiveness scoring

https://pslscale.com
2•czmilo•45m ago•1 comments

Is AI a Bubble? Why We're Betting on the Installation Phase

1•rchachra•47m ago•0 comments

Police swap suspect sketches for AI

https://www.washingtonpost.com/nation/2025/12/09/ai-police-suspect-sketch-arizona/
1•1659447091•51m ago•1 comments

Patterns.dev

https://www.patterns.dev/
3•handfuloflight•51m ago•0 comments

What Least Squares Assumes About Your Data

http://sebmestre.blogspot.com/2025/12/least-squares-is-just-maximum.html
1•sebastianmestre•53m ago•0 comments

Veteran-built iPhone steadiness tracker to help people avoid falls

3•jimlucas95338•54m ago•0 comments

Jonathan Blow new game announced. Uses new language and new engine

https://twitter.com/Jonathan_Blow/status/1998845944918618171
4•sergiotapia•55m ago•2 comments

DeepSeek is using Nvidia's banned Blackwell AI chips

https://www.cnbc.com/2025/12/10/nvidia-report-china-deepseek-ai-blackwell-chips.html
1•zyh888•55m ago•0 comments

AI Researcher: Replacing scientists with AI is evil

https://twitter.com/togelius/status/1997920576804143583
2•ks2048•55m ago•0 comments

My Favorite Self-Hosted Apps Launched in 2025

https://selfh.st/post/2025-favorite-new-apps/
2•shaunpud•58m ago•0 comments

The devious art of lying by telling the truth (2017)

https://www.bbc.com/future/article/20171114-the-disturbing-art-of-lying-by-telling-the-truth
1•1659447091•58m ago•0 comments

Do you keep an emotion or mood journal? Why do you do it, and has it helped you?

2•tenglvjun•58m ago•0 comments

Model Context Protocol (MCP) Support for Google Services

https://cloud.google.com/blog/products/ai-machine-learning/announcing-official-mcp-support-for-go...
1•happyopossum•58m ago•0 comments

Oscar Mayer Opens Annual Application for Wienermobile Drivers

https://www.caranddriver.com/news/a69689159/oscar-mayer-2026-application-for-wienermobile-drivers/
1•RickJWagner•1h ago•0 comments

Show HN: Crystal V10 – Grepping 65GB of compressed logs in 0.8s vs. 8 minutes

1•danebl•1h ago•0 comments

Earliest fire-making dating back 400k years unearthed in Suffolk, England

https://www.nhm.ac.uk/discover/news/2025/december/earliest-fire-making-dating-back-400-000-years-...
2•ggm•1h ago•0 comments