frontpage.
newsnewestaskshowjobs

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

Meta pulls new AI image feature after days of backlash

https://www.bbc.com/news/articles/c2dy6e8klw0o
1•cdrnsf•1m ago•0 comments

Porting Doom to the Casio Loopy [Throaty Mumbo] [video]

https://www.youtube.com/watch?v=nDe06uY5C40
1•mrinfinite•1m ago•0 comments

Hannah Montana Linux v26.0

https://gitlab.com/DecaCagle/hannahmontanalinux26
1•birdculture•2m ago•0 comments

The iconic blue IKEA FRAKTA bag comes with a free lifetime warranty

https://ikeamuseum.com/en/explore/the-story-of-ikea/beloved-bag/
1•teleforce•3m ago•0 comments

Frog bacterium wiped out cancer tumors in mice with a single dose

https://www.sciencedaily.com/releases/2026/07/260709160655.htm
2•dcyfr•10m ago•0 comments

Boeing's Graveyard. Investigation is not detergent

https://zboralski.substack.com/p/boeings-graveyard
1•kugutsumen•11m ago•0 comments

Show HN: We beat Cloudflare's bot detection (open-source stealth browser)

https://tilion.dev/blog/cloudflare-blocks-agents
3•armanluthra_•15m ago•0 comments

Guardrails Against Duplicated Code

https://www.technology.org/2026/07/03/dupehound-deterministic-guardrails-against-ai-code-duplicat...
1•rafaepta•17m ago•0 comments

Atlassian ordered to reinstate engineer sacked over Slack clash with leadership

https://www.hcamag.com/nz/news/general/atlassian-ordered-to-reinstate-engineer-sacked-over-slack-...
4•toomanyrichies•20m ago•0 comments

SF Farmers Market allows laundering food stamps for drug purchases

https://thevoicesf.org/snap-to-cash-how-food-assistance-vouchers-were-traded-for-cash-at-the-hear...
2•AcesoUnderGlass•21m ago•0 comments

Metamaterial Antennas Enhance MRI of the Eye and Occipital Brain

https://advanced.onlinelibrary.wiley.com/doi/10.1002/adma.202517760
2•bookofjoe•22m ago•0 comments

AI2Web: Open protocol to make any website work with every AI agent

https://ai2web.dev/
3•rolandfarkas•27m ago•0 comments

One Wikipedia page costs your AI agent 68,000 tokens

6•arhamislam5766•29m ago•1 comments

Baptism Saves You -This is the best explanation of why

https://silvestro2026.substack.com/p/baptism-saves-you
3•silvestromedia•30m ago•0 comments

Maura Gillison, who linked HPV to head and neck cancer, dies at 61

https://cancerletter.com/obituary/20260702_2/
3•tortilla•33m ago•0 comments

Math Visualizations of the AI Layoff Trap

https://mattlane.us/stories/dailemma
4•mmmaaatttttt•33m ago•0 comments

Ask HN: How has the internet devolved in recent years?

2•fridayblunt•37m ago•0 comments

Zero Sum Attribution Powered by AI

https://www.upside.tech/platform/pipedash/
2•mada299•38m ago•0 comments

Count Binface, Nigel Farage's space-warrior foe

https://www.economist.com/the-world-in-brief/2026/07/11/b240d63f-2768-43dd-89b6-2bdceb6df745
4•tagawa•39m ago•0 comments

Show HN: A pixel pet for your GitHub README that eats your commits

https://github.com/Nomlings/badge
2•franwbu•39m ago•0 comments

Show HN: Atuin AI Proxy bridges Hub AI to an OpenAI-compatible endpoint

https://github.com/Vlad1mir-D/atuin-ai-proxy
2•Am1G0•40m ago•0 comments

State Actors and AI Slop Are Amplifying the Homegrown Data Center Revolt

https://alethea.com/insights/how-state-actors-and-ai-slop-are-amplifying-data-center-revolt
3•m-hodges•41m ago•0 comments

Rise of the 'Slop Zombies'

https://www.machinesociety.ai/p/rise-of-the-slop-zombies
3•mikelgan•41m ago•1 comments

How to become a -10x Engineering Manager

https://medium.com/@jackiexu1228/how-to-be-a-10x-engineering-manager-a9fa8e3dd558
2•kokodoko•42m ago•0 comments

Which 'AI scientist' suits your lab? A guide for the perplexed

https://www.nature.com/articles/d41586-026-02091-6
1•gnabgib•43m ago•0 comments

I Like Using Scrollbars

https://www.arp242.net/scrollbar.html
1•ingve•46m ago•0 comments

From Venture Rankings to Venture Decisions

https://www.thestateofventure.com/p/from-venture-rankings-to-venture
1•kteare•46m ago•0 comments

Unlocking the PSP's Dual Core Setup

https://wololo.net/2026/06/16/unlocking-the-psps-dual-core-setup/
1•msephton•50m ago•0 comments

Show HN: Hana JIT – LLVM-backed Python JIT with genetic-algorithm superoptimizer

https://github.com/ezducate/HanaJit
1•iqbal1980•52m ago•0 comments

Security settings every GitHub maintainer should enable this week

https://github.blog/security/6-security-settings-every-github-maintainer-should-enable-this-week/
1•mooreds•1h ago•0 comments