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

Apple Watch's Disasterous Update

https://aperocky.com/blog/post.html?slug=apple-watch-sucks
1•Aperocky•12s ago•0 comments

Scientists rediscover how to make ancient Roman colour-changing glass

https://www.theguardian.com/science/2026/oct/25/scientists-rediscover-ancient-roman-colour-changi...
1•teleforce•24s ago•0 comments

Old new type of social media

https://toravii.com
1•linkhas•1m ago•0 comments

Pat Gelsinger: Why This Is the Best Time to Build Hardware

https://thechipletter.substack.com/p/pat-gelsinger-why-this-is-the-best
2•rbanffy•2m ago•0 comments

Show HN: React Component for Apple's iPod Simulator

https://ipod-simulator.vercel.app/
1•EvanZhouDev•3m ago•0 comments

Temporal Continuity API – Stopping agent amnesia and context drift

https://api.rscapex.com
1•TomKrysos•4m ago•0 comments

3D printable Commodore 64 keycaps, with a font recreated from my C64

https://github.com/szabadkai/Ajazz-C64-Keycaps
1•szabadkai•4m ago•1 comments

A 10-year-old CNN outperforms frontier LLMs for skin cancer diagnosis

https://lynchlab.net/llm-skin-cancer
1•sungam•5m ago•0 comments

Sabre Wulf Remastered

https://gp-64.com/swr/
1•adunk•5m ago•0 comments

Show HN: A persistent cyberpunk real-time Reddit running in a terminal

https://vibeworld.fly.dev/
2•sorbalda•5m ago•0 comments

Heatbit Says Your Water Heater Should Be Mining Bitcoin, and Now It Can

https://gizmodo.com/heatbit-says-your-water-heater-should-be-mining-bitcoin-and-now-it-can-200083...
1•rbanffy•7m ago•0 comments

Securing self-hosted services is exhausting, and I want to go back to SaaS

https://blog.outv.im/2026/i-wanna-return-to-saas/en/
2•outloudvi•12m ago•0 comments

Show HN: Benchmarking DSpark speculative decoding on a consumer GPU

https://github.com/juraj-jumic/dspark-local-bench
1•Termich•13m ago•0 comments

Addr: Neighbourhood

https://rtnf.substack.com/p/addrneighbourhood
1•altilunium•14m ago•0 comments

Show HN: Lavoi – On-device speech-to-text in under 500ms

https://lavoi.app/
1•LeDonT•16m ago•0 comments

Let Your LLM Talks About ARIO

https://zenodo.org/records/23441596
1•Ario_Framework•16m ago•0 comments

Show HN: A Morse code trainer whose landing page is the first lesson

https://morse.iamcanturk.dev/
1•iamcanturk•19m ago•0 comments

Mail is not that hard

https://www.frimin.fr/posts/mail-is-not-that-hard/
1•gearnode•19m ago•0 comments

I designed my own LoRa board with Semtech's latest chip

https://beala.substack.com/p/i-designed-my-own-lora-board-with
1•beala•19m ago•1 comments

Making bbtree's scans latch-free: 2x under contention, slower alone

https://rhyadav.dev/blog/bbtree-what-a-latch-costs
1•slowrah•22m ago•0 comments

I Couldn't Sleep, So I Built a Factory

https://zontakllc.com/articles/i-couldnt-sleep-so-i-built-a-factory
1•dzontak•22m ago•0 comments

There will be 30k critical CVEs in the next 12 months

https://build--yannick.3b.run/cve-trends
2•retsol•22m ago•0 comments

State of Ad Blocking on Apple Platforms

https://superblocker.app/blog/state-of-ad-blocking-on-apple-platforms
1•aggregator-ios•22m ago•1 comments

A.I. Cameras Are Watching

https://www.nytimes.com/interactive/2026/10/22/us/politics/ai-surveillance-cameras-border-mexico....
2•nakulgarg22•25m ago•0 comments

US and UK local events API

https://findlocal.community/
1•eharris733•25m ago•2 comments

I'm creating my own OS, check it out, LimonOs no Unix no Linux

3•Drfoxi•26m ago•0 comments

AI Gateway Benchmark: OpenRouter, Vercel, Ramp, Keln

https://keln.ai/blog/ai-gateway-benchmark-deepseek-v4-1-flash
2•kris-holy•27m ago•0 comments

eMudhra's rise from Indian digital signatures to global cybersecurity

https://theprint.in/tech/emudhras-rise-from-indian-digital-signatures-to-global-cybersecurity-red...
2•thunderbong•27m ago•0 comments

Show HN: Install-verification dataset for 312 self-hosted apps (CC BY 4.0)

https://github.com/selfhostatlas/selfhost-atlas-data
1•usualdesigner•27m ago•0 comments

One man became the unsung hero of the internet during a cyber-security scramble

https://www.bbc.com/news/articles/cw30ejqljl43o
2•saikatsg•28m ago•0 comments