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

LLMs Get Lost in Evolving User Intent

https://arxiv.org/abs/2607.20734
1•Anon84•1m ago•0 comments

How We Pushed CDC into Postgres

https://www.snowflake.com/en/blog/engineering/postgres-to-snowflake-replication-mirroring/
2•craigkerstiens•7m ago•0 comments

Blender MCP maintainer GitHub account hacked

https://twitter.com/sidahuj/status/2086445625147793503
3•babuskov•11m ago•0 comments

Profile-Guided Optimization in Go

https://lemire.me/blog/2026/08/09/profile-guided-optimization-in-go/
1•prattmic•11m ago•0 comments

Spy cameras on Navy drones sent data to China

https://www.telegraph.co.uk/news/2026/08/09/spy-cameras-on-navy-drones-secretly-sent-data-to-china/
1•el_duderino•12m ago•0 comments

EGA and Me: A Complicated Relationship

https://reanthsoft.com/blog_260806_ega_and_me.html
1•doener•13m ago•0 comments

Simple, multi-key sorting algorithm for 2D+ points gridification

https://github.com/ArmanddeCacqueray/Cartesian-Grid-Sort
1•adec314•14m ago•0 comments

Forbidden fruit: Buick Electra gets 435 mile range and 376 HP for $25K in China

https://electrek.co/2026/08/06/forbidden-fruit-buick-electra-gets-435-mile-ev-range-and-25000-pri...
4•MilnerRoute•24m ago•1 comments

Pentagon presses defense firms to build weapons as Iran war depletes stocks

https://www.washingtonpost.com/technology/2026/08/08/pentagon-presses-defense-firms-build-weapons...
1•Teever•26m ago•0 comments

California Cyberattack on 911 Systems

https://www.latimes.com/california/story/2026-08-09/cyberattack-forces-emergency-declaration-in-s...
1•vsgherzi•30m ago•0 comments

Show HN: Acquired Podcast Idea Dinner Returns

https://acquirers.vercel.app/
1•Taikhoom2010•30m ago•0 comments

Japanese court overturns Red RAW video patent

https://www.dpreview.com/news/panasonic-did-what-apple-sony-and-nikon-couldnt-overturn-a-red-raw-...
4•anigbrowl•33m ago•0 comments

Is Europe safer than America?

https://economist.com/graphic-detail/2026/08/09/is-europe-safer-than-america
2•andsoitis•37m ago•0 comments

Ask HN: How do you set comp at an early stage startup?

1•jeffreyfate•37m ago•1 comments

The Anatomy of a Pass

https://davidorban.substack.com/p/the-anatomy-of-a-pass
1•mayukh•50m ago•0 comments

Before We Click "Publish" on Hugging Face

https://twitter.com/icoxfog417/status/2086606980584714495
1•icoxfog417•50m ago•0 comments

Ask HN: What Project are you the most proud of?

2•emn4tor•53m ago•0 comments

Cloudflare OS

https://os.cloudflare.app/
3•phirschybar•55m ago•1 comments

What do I want to be? – a poem about parenting in the AI age

https://www.reddit.com/r/Adulting/s/1ZF6OLsjko
1•AmbroseBierce•58m ago•0 comments

I've Been to the Future. It Worked Out

https://iwanajohannsen.substack.com/p/ive-been-to-the-future-it-worked
1•herbertl•59m ago•2 comments

Owner of original Intel 8080 pre-production Rubylith mask seeks restorer

https://www.tomshardware.com/pc-components/cpus/owner-of-original-intel-8080-pre-production-layou...
1•sbulaev•1h ago•1 comments

Show HN: Discord-delete – Delete all your Discord messages from your data export

https://github.com/DatCodeMania/discord-delete
2•DatCodeMania•1h ago•1 comments

America's Military Is Dangerously Exposed

https://www.wsj.com/opinion/americas-military-is-dangerously-exposed-26706217
5•petethomas•1h ago•0 comments

Show HN: A local-first, modular replacement for your accounting software

https://github.com/celerp/celerp
2•ngsevers•1h ago•0 comments

Optimizing a GPT-2-Class Transformer on a GPU

http://martinkristiansen.com/llm-gpu-optimization/index.html
2•mkristiansen•1h ago•1 comments

Iran Is Rewiring Its Proxy Network

https://www.nationalreview.com/2026/08/iran-is-rewiring-its-proxy-network/
1•petethomas•1h ago•0 comments

Ancient Roman shipwreck discovered off Sicily coast

https://www.bbc.com/news/articles/cvgx1kpz17go
2•1659447091•1h ago•0 comments

Linus Torvalds Explains What Makes Linux So Fast [video]

https://www.youtube.com/watch?v=-xbzGngfQEw
1•binyu•1h ago•0 comments

Beyond Prompt Injection: Hacking Apple's Private Cloud Compute

https://blog.sentry.security/beyond-prompt-injection-hacking-apples-private-cloud-compute/
2•sickmate•1h ago•0 comments

GitHub issues as long-term memory for coding agents

https://meshintelligence.substack.com/p/how-to-use-github-as-long-term-memory
1•meshintel•1h ago•0 comments