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

Using LLMs to secure source code

https://claude.com/blog/using-llms-to-secure-source-code
1•berlianta•30s ago•0 comments

I built three Wikipedia-based search tools as alternatives to Google AI

https://www.calishat.com/2026/05/21/three-search-alternatives-to-googles-brave-new-ai-world/
1•Calishat•1m ago•1 comments

NASA's Psyche Mission Aces Mars Flyby, Targets Metal-Rich Asteroid

https://www.nasa.gov/missions/psyche-mission/nasas-psyche-mission-aces-mars-flyby-targets-metal-r...
1•bookofjoe•1m ago•0 comments

Interesting possible new Tinder scam at scale

https://www.youtube.com/watch?v=rjxAYdUe8uU
1•lifeisstillgood•3m ago•0 comments

What Emerges When You Don't Break Sustained Coherent Human-AI Interaction

https://zenodo.org/records/20332884
1•Depiphany_Reb•5m ago•0 comments

Taking Naval Options Away from China –| Peter Zeihan [video][4m53s]

https://www.youtube.com/watch?v=NRkZprxYOzQ
1•Bender•5m ago•0 comments

China is keeping its best AI talent to itself via travel restrictions

https://techcrunch.com/2026/05/27/china-is-increasingly-keeping-its-best-ai-talent-to-itself/
1•jnord•5m ago•0 comments

A Google employee allegedly used inside information to win $1.2M on Polymarket

https://www.theverge.com/tech/938635/google-polymarket-insider-trading-prediction-market-bets
3•1vuio0pswjnm7•6m ago•0 comments

Halide Mark III

https://www.lux.camera/halide-mark-iii/
1•witweb•7m ago•0 comments

Keyboard Latency Probe

https://xkqr.org/bellwether/keyboardtest.html
2•birdculture•10m ago•0 comments

Google engineer charged in $1.2M Polymarket case

https://www.axios.com/2026/05/27/google-worker-polymarket-bets-inside-information-charges
4•1vuio0pswjnm7•10m ago•0 comments

Google Employee Charged with Insider Trading on Polymarket

https://www.wsj.com/tech/google-employee-charged-with-insider-trading-on-polymarket-b6a3b60f
2•1vuio0pswjnm7•12m ago•0 comments

Phaistos Disc

https://en.wikipedia.org/wiki/Phaistos_Disc
3•Jimmc414•16m ago•0 comments

Swift-dependencies is an unacceptable solution for managing Swift dependencies

https://adamz.dev/blog/swift-dependencies-warning/
1•zethraeus•17m ago•0 comments

ChatGPT, Claude, or Gemini? Big Pharma Is Choosing Sides

https://www.bigpharmasharma.com/p/chatgpt-claude-or-gemini-big-pharma
2•ShivuBPS•17m ago•1 comments

Ask HN: Gen model to 1) design characters 2) make a consistent comic with them?

2•rvba•18m ago•0 comments

I built a free cross-AI prompt manager (Chrome ext)

https://chromewebstore.google.com/detail/snipprompt-—-save-inject/glpahglhjckmlgpdanoflialkgnjmimm
1•PaoloJNN•19m ago•0 comments

Internet Traffic in Iran Increasing

https://radar.cloudflare.com/traffic/ir?dateRange=28d
2•Cider9986•22m ago•0 comments

Nvidia to spend $150B a year in Taiwan, 'epicentre' of AI revolution

https://www.reuters.com/world/asia-pacific/nvidia-ceo-says-taiwan-is-epicentre-ai-revolution-2026...
2•jnord•22m ago•0 comments

Why reluctant 'guru' says Dutch will win World Cup

https://www.bbc.co.uk/sport/football/articles/c20223n3k4yo
2•cjr•30m ago•0 comments

AI Infra Is Nothing Like the "Classic Cloud Infra"

https://ramansharma.substack.com/p/ai-infra-is-nothing-like-the-classic
3•intrepidsoldier•31m ago•0 comments

Malware dev tries to steal Claude users' secrets, leaks own GitHub private token

https://theins.press/en/corruption/291857
4•lschueller•33m ago•3 comments

Broadcom gets early start on WiFi 8 with next-gen wireless routing kit

https://www.theregister.com/networks/2026/05/27/broadcom-gets-early-start-on-wifi-8-with-new-rout...
3•Bender•35m ago•1 comments

Argonne flexes spare supercompute to build private AI inference service

https://www.theregister.com/ai-ml/2026/05/27/argonne-flexes-spare-supercompute-to-build-private-a...
2•Bender•38m ago•0 comments

One-and-Done Heart Disease Prevention? Scientists Show It May Be Possible

https://www.nytimes.com/2026/05/25/health/cholesterol-ldl-gene-therapy.html
1•gmays•38m ago•0 comments

What's Missing in CSS Layout

https://patrickbrosset.com/articles/2026-05-20-whats-missing-in-css-layout/
2•pickpuck•38m ago•0 comments

42 Years of Darkness: The Horror of Uranus [video]

https://www.youtube.com/watch?v=mV6sU9xzstE
1•fortran77•40m ago•1 comments

Google employee charged with using inside information to make $1M on Polymarket

https://abcnews.com/US/google-employee-charged-inside-information-make-1-million/story?id=133350018
3•ortusdux•42m ago•1 comments

Biohub releases a world model of protein biology

https://biohub.org/news/world-model-of-protein-biology/
3•automatic-berry•44m ago•0 comments

Apple Developing iPhone Anti-Snatching Feature, Locking Stolen Phones Instantly

https://www.macrumors.com/2026/05/27/apple-anti-theft-iphone-feature/
1•mgh2•46m ago•0 comments