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

Amazon Builder's Library – An overlooked goldmine of System Design knowledge

https://sumitgouthaman.com/posts/amazon-builders-library/
1•equinumerous•2m ago•0 comments

I built llms.txt files to make local businesses discoverable by AI agents

https://www.kloofstreet.online/
1•businesshustle•4m ago•1 comments

The Beauty of a Stone Wall

https://www.theatlantic.com/ideas/2026/07/second-career-passion-life-meaning/687952/
1•NordStreamYacht•6m ago•0 comments

Valve Reportedly Sells 12-15K Steam Machine Units per Week

https://www.techpowerup.com/350872/valve-reportedly-sells-12-15k-steam-machine-units-per-week
2•bookofjoe•8m ago•0 comments

Substack Gateway – A REST and MCP Server for Substack

https://github.com/jakub-k-slys/substack-gateway-oss
1•jakub-k-slys•10m ago•0 comments

The Attention-Span Class Divide

https://www.theatlantic.com/ideas/2026/07/attention-span-class-divide-ballet-opera-movies/687919/
1•fortran77•11m ago•0 comments

Wortlaut

https://github.com/MKRWW/wortlaut
1•hasley•15m ago•1 comments

Ask HN: How would a lab train for SVG pelicans or other creative benchmarks?

1•smusamashah•16m ago•0 comments

Can Sticky Notes Become the New Bookmarks and Favorites for the Browser

https://chromewebstore.google.com/detail/sticky-note-web-clipper-s/gniilbpapgommpalikcclpcnbcamgila
1•taskloco_nyc•16m ago•0 comments

C Craft

http://www-cs-students.stanford.edu/~blynn/c/craft.html
2•dhotson•19m ago•0 comments

Show HN: Serverload2 – sometimes all you want is a little server load monitor

https://github.com/wojtczyk/serverload2
1•wojtczyk•20m ago•0 comments

MemoryPack: Zero encoding extreme performance binary serializer for C#

https://github.com/Cysharp/MemoryPack
1•breve•22m ago•0 comments

Gemini models are not even competing anymore, why?

1•kingleopold•22m ago•0 comments

I made a random name picker where every name becomes a tiny arena fighter

https://namebrawl.com
2•magnusl•23m ago•0 comments

Silicon Valley Has Lost Its Biggest Advantage

https://www.theatlantic.com/technology/2026/07/data-center-ai-heavy-industry/687990/
1•blondie9x•24m ago•0 comments

Tate brothers arrested in US as further UK charges take total to 59

https://www.bbc.com/news/articles/cwymly9yd33o
2•Tomte•25m ago•0 comments

xkcd's What If?

https://www.youtube.com/@xkcd_whatif
2•bookofjoe•28m ago•0 comments

WIE – A Windows x86_64 Emulator for Apple Silicon in Rust Using Cranelift

1•vlad_kalinkin•33m ago•0 comments

Study: Single-crystal nanowires of niobium arsenide may replace copper wires

https://news.cornell.edu/stories/2026/07/too-thin-fail-alternative-copper-microchip-interconnects
1•giuliomagnifico•35m ago•0 comments

I burned all my tokens researching how to save tokens

https://quesma.com/blog/custom-deep-research-pipeline/
7•bkotrys•41m ago•2 comments

Aha I don't want to lose you

https://blog.rybarix.com/2026/07/19/aha-not-lost.html
1•sandruso•47m ago•0 comments

Artificial cell with a full lifecycle has been created for the first time

https://www.theregister.com/science/2026/07/01/an-artificial-cell-with-a-full-lifecycle-has-been-...
1•GrinningFool•47m ago•1 comments

Show HN: We ranked our dev tools in Google's new AI Overviews

https://zlvox.com/blog/google-ai-overviews-2026-optimize-agentic-search
2•mraadikhokhar•51m ago•0 comments

A computer-assisted 23/33 and ε bound for the binary Goldbach exceptional set

https://goldbach-nine.vercel.app/
1•lorenzosch•54m ago•0 comments

Minecraft: Java Edition now uses SDL3

https://www.minecraft.net/en-us/article/minecraft-26-3-snapshot-4
1•ObviouslyFlamer•55m ago•0 comments

Know if a Rust rewrite is worth it (forkable business idea)

https://zozo123.github.io/rust-it-up/
1•zozo123-IB-IL2•56m ago•0 comments

Assembly Chat – Chat with Any .NET DLL

https://products.documentize.ai/assembly-chat
1•epirogov•59m ago•1 comments

Show HN: Textcaster – social networking where RSS is the protocol

https://textcaster.app
4•rmdes•1h ago•1 comments

Amdgpu performance regression in Kernel 7.0.0-28.28

https://discourse.ubuntu.com/t/amdgpu-performance-regression-in-kernel-7-0-0-28-28/85237
1•doener•1h ago•1 comments

Show HN: Marbles – a Korean marble game built with WebGL

https://plan9.kr/goosl/
2•sungchi•1h ago•0 comments