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

YouVersion Platform – Developer Platform for Bible-Based Experiences

https://www.youversion.com/platform
1•joelboersma•21s ago•0 comments

New IronWorm malware hits 36 packages in NPM supply-chain attack

https://www.bleepingcomputer.com/news/security/new-ironworm-malware-hits-36-packages-in-npm-suppl...
1•yogthos•35s ago•0 comments

Good Careers at Bad Companies

https://sharedphysics.com/good-careers-at-bad-companies/
1•goopthink•1m ago•0 comments

Gene flow from wild apples and selection shaped the domesticated Apple genome

https://www.sciencedirect.com/science/article/pii/S0960982226003684?via%3Dihub
1•PaulHoule•1m ago•0 comments

Watch crypto protocols exploited in real time

https://testmachine.ai
1•dannnyboi•1m ago•0 comments

Something is jamming GPS over Europe

https://www.youtube.com/watch?v=tz23G_UXCGA
1•fallinditch•2m ago•0 comments

PostgreSQL and the OOM Killer: Why We Use Strict Memory Overcommit

https://www.ubicloud.com/blog/postgresql-and-the-oom-killer-why-we-use-strict-memory-overcommit
2•levkk•2m ago•0 comments

Antares SMR goes zero power critical

https://twitter.com/AntaresNuclear/status/2062668414813126851
1•maxcan•4m ago•0 comments

Apple's Plan for AI Dominance Rests on Fixing Its Much-Maligned Chatbot

https://www.wsj.com/tech/ai/apples-plan-for-ai-dominance-rests-on-fixing-its-much-maligned-chatbo...
1•Zhenya•4m ago•0 comments

The British university is dying, and it seems that almost nobody cares

https://newleftreview.org/sidecar/posts/irreversible
2•theanonymousone•6m ago•0 comments

Introduce Loon: lake-native storage engine behind Milvus 3.0 for AI data

https://zilliz.com/blog/why-we-built-loon-a-storage-engine-for-ai-data-that-never-stops-changing
1•redskyluan•6m ago•0 comments

New method turns ocean water into drinking water, without waste

https://www.rochester.edu/newscenter/what-is-desalination-definition-ocean-water-704732/
2•speckx•9m ago•0 comments

We reduced tests from hours to just minutes using automatic GlassFish pools

https://balusc.omnifaces.org/2026/06/from-hours-to-minutes-glassfish-pool.html
1•henk53•9m ago•0 comments

Astronauts on ISS told to shelter as repairs under way to fix air leaks

https://www.bbc.com/news/live/c4g44ew3g1kt
29•janpot•12m ago•3 comments

Simulism · on Env

https://basecase.org/env/simulism
2•surprisetalk•13m ago•0 comments

I customized a MacBook Neo with colorful spare parts

https://www.theverge.com/tech/942839/macbook-neo-customization-color-mods-official-parts-frankenl...
1•droidjj•14m ago•0 comments

Building a zero-cloud, local semantic indexing engine for AI agents

https://entempsllc.github.io/nexus-waitlist/
1•Singhucla•14m ago•0 comments

VibeOS – Hallucinated Operating System [video]

https://www.youtube.com/watch?v=z3pV6FHvcgM
2•tapoxi•15m ago•0 comments

Valve says it's ready to launch the Steam Machine this summer

https://www.theverge.com/games/943657/valve-steam-machine-frame-summer-launch-verified
3•neilfrndes•15m ago•0 comments

Ethical and Moral Considerations in Proprietary Software Usage

https://sfconservancy.org/blog/2026/jun/02/ethical-use-proprietary-develop-free-software-foss/
2•hn_acker•15m ago•0 comments

AI-indecision is a recursive trap. Don't get stuck

https://www.joanwestenberg.com/ai-indecision-is-a-recursive-trap-dont-get-stuck/
2•spking•16m ago•0 comments

Show HN: One-Shot Program Generation Through Direct Memory Diffusion

https://github.com/MadlyFX/Direct-Memory-Diffusion
1•andyfilms1•18m ago•0 comments

Show HN: 0llm is a small app to help you spend time away from AI

https://0llm.tonyalicea.dev/
1•TonyAlicea10•18m ago•0 comments

Playing with Vision Embeddings

https://prestonbjensen.com/posts/playing-with-vision-embeddings
1•prestoj•18m ago•0 comments

Gain of Function, Loss of Control

https://tamingcomplexity.substack.com/p/gain-of-function-loss-of-control
2•namenumber•19m ago•0 comments

LLM agent performance is a distributed systems problem

https://fixbugs.ai/blog/high-performance-ai-agents-distributed-systems
2•kirtivr•20m ago•0 comments

Israel's tech paradox:$1.1B raised in a week as layoffs sweep industry

https://www.calcalistech.com/ctechnews/article/s1glpz1wge
3•myth_drannon•20m ago•0 comments

New York just passed a one-year temporary ban on data centers

https://scienceaim.com/new-york-just-passed-a-one-year-temporary-ban-on-data-centers/
11•binarymax•23m ago•6 comments

AI Agents Enable Adaptive Computer Worms

https://cleverhans.io/latest-research.html
3•speckx•24m ago•0 comments

Dutch gov't will only allow European company to operate DigiD platform

https://nltimes.nl/2026/06/05/dutch-govt-will-allow-european-company-operate-digid-platform
5•TechTechTech•24m ago•0 comments