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

Show HN: PriceHound.app – Price tracking for $1/mo instead of selling your data

1•Brian_Fitz•4m ago•0 comments

Kernel Boot Process and how it works

https://0xax.gitbooks.io/linux-insides/content/Booting/
1•modinfo•6m ago•0 comments

Discovery of Cold War-era rare Eastern Bloc computers in a German hangar

https://computerhistory.org/stories/explorers-of-the-lost-computers/
2•andrewstuart•7m ago•0 comments

366-byte C program emulator can run Linux and Doom – IOCCC29 winner

https://github.com/ioccc-src/winner/blob/master/2025/cable/prog.c
1•s-macke•14m ago•1 comments

Show HN: Kodiqa Agent

https://github.com/Kodiqa-Solutions/Kodiqa-agent
1•open_source_new•17m ago•0 comments

Total Engineering

https://vietthan.github.io/blog/2026/06/05/total-engineering/
2•vietthan•22m ago•0 comments

Sansar – In development Gaussian Splat rendering [video]

https://www.youtube.com/watch?v=m7fwbKn9jGk
1•ugjka•24m ago•0 comments

Americans Are Keeping Their Cars Longer Than Ever–and Remaking the Auto Industry

https://www.wsj.com/business/autos/americans-are-keeping-their-cars-longer-than-ever-and-remaking...
3•JumpCrisscross•25m ago•2 comments

Heaven knows I'm perplexed now

https://idlemachines.co.uk/essays/perplexed
1•smaddrellmander•26m ago•0 comments

The Honest Case for the Humanities

https://substack.com/@napinillos/p-199545151
4•dsubburam•27m ago•0 comments

A USB-connected speaker can infect a PC without ever being touched

https://arstechnica.com/security/2026/06/highly-reviewed-speaker-can-be-hacked-over-the-air-to-in...
3•leecoursey•28m ago•2 comments

Universal Memory Protocol – a shared format for agent memory

https://universalmemoryprotocol.io/
9•edihasaj•28m ago•3 comments

WindowSwap: Someone else's window view from anywhere in the world

https://www.window-swap.com/
1•davidbarker•31m ago•0 comments

New U.S. college grads now have higher unemployment than the average worker

https://www.randalolson.com/2026/06/04/recent-grad-unemployment-flip/
2•davidbarker•32m ago•0 comments

China has approved the first invasive brain-computer chip

https://www.technologyreview.com/2026/06/01/1138133/china-world-first-brain-chip/
2•davidbarker•33m ago•0 comments

OpenAI Unveils Lockdown Mode to Protect Sensitive Data from Prompt Injection

https://techcrunch.com/2026/06/06/openai-unveils-lockdown-mode-to-protect-sensitive-data-from-pro...
4•odig•35m ago•0 comments

Shadow Blister Effect

https://en.wikipedia.org/wiki/Shadow_blister_effect
3•thunderbong•35m ago•0 comments

Show HN: Typedframes – Pandas/polars column name checking at lint time

https://github.com/w-martin/typedframes
2•w-martin•35m ago•2 comments

I am giving up on VM Gaming

https://deployonfri.day/posts/i-am-giving-up-on-vm-gaming
1•BoKKeR11•36m ago•0 comments

The Case for Space Datacenters

https://newsletter.semianalysis.com/p/to-boldly-go-the-case-for-space-datacenters
4•davedx•36m ago•0 comments

Eating Out

https://www.futilitycloset.com/2026/06/06/eating-out/
2•speckx•37m ago•0 comments

Madagascar Hissing Cockroach

https://en.wikipedia.org/wiki/Madagascar_hissing_cockroach
3•davedx•37m ago•1 comments

Thermometry at the MK Scale, Revisited

http://nanoscale.blogspot.com/2026/06/thermometry-at-mk-scale-revisited.html
1•EvgeniyZh•41m ago•0 comments

Milky Way black hole's missing wind found after a half-century-long search

https://phys.org/news/2026-06-milky-black-hole-century.html
3•davedx•42m ago•0 comments

For Whom the Boys Troll

https://www.cnn.com/2026/06/06/us/groypers-young-men-trolls-nick-fuentes-cec
3•1659447091•42m ago•0 comments

Elfeed 4.0 (Emacs)

https://github.com/emacs-elfeed/elfeed/blob/main/NEWS.org
4•DASD•43m ago•1 comments

Computex 2026: Are We Heading for the Agentic PC Era Yet? – EE Times

https://www.eetimes.com/computex-2026-are-we-heading-for-the-agentic-pc-era-yet/
4•rbanffy•43m ago•0 comments

Some ancient microbes frozen with Ötzi the Iceman are still growing

https://arstechnica.com/science/2026/06/otzis-mummified-body-is-home-to-ancient-strains-of-yeast-...
2•speckx•47m ago•0 comments

Creative Sound Blaster Katana V2X hijackable over Bluetooth; vendor denies flaw

https://www.tomshardware.com/tech-industry/cyber-security/creatives-sound-blaster-katana-v2x-can-...
2•sbulaev•48m ago•0 comments

Australian cockroach kingpin caught with 100k illegal bugs in record bust

https://apnews.com/article/illegal-cockroaches-seized-australia-madagascar-hissing-dubia-e35889bf...
3•randycupertino•50m ago•0 comments