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•6mo 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

Just Use Postgres

https://www.manning.com/books/just-use-postgres
1•agentdrek•33s ago•1 comments

Sam Altman Declares 'Code Red' as Google's Gemini Surges

https://fortune.com/2025/12/02/sam-altman-declares-code-red-google-gemini-ceo-sundar-pichai/
1•tantalor•50s ago•0 comments

Churches withdraw investments from fossil fuels

https://dpa-international.com/politics/urn:newsml:dpa.com:20090101:251118-99-672846/
1•amai•1m ago•0 comments

Study: How Social media use impacts teen body image

https://twin-cities.umn.edu/news-events/how-social-media-use-impacts-teen-body-image
1•giuliomagnifico•3m ago•0 comments

Two paths to Enlightenment: AV Linux 25 and MX Moksha step forward

https://www.theregister.com/2025/12/02/av_linux_25/
1•Bender•6m ago•0 comments

Why Distributed Teams Need Uniform Headshots for Trust and Cohesion

https://www.aiheadshotreviews.com/articles/remote-team-headshots-trust-cohesion
1•naveensky•6m ago•0 comments

Let's talk about feral kids(2024)

https://www.cfabo.org/blog/lets-talk-about-feral-kids
1•rolph•8m ago•0 comments

Ask HN: Saving/restoring web-app state–useful or pointless?

1•niteshnagpal•9m ago•0 comments

Show HN: JustHTML – A pure Python HTML5 parser that just works

https://github.com/EmilStenstrom/justhtml
2•EmilStenstrom•9m ago•0 comments

Garden of Eden

https://en.wikipedia.org/wiki/Garden_of_Eden_(cellular_automaton)
1•downboots•10m ago•0 comments

Sam Altman declares 'code red' to improve ChatGPT amid rising competition

https://apnews.com/article/openai-chatgpt-code-red-google-gemini-00d67442c7862e6663b0f07308e2a40d
2•geox•10m ago•2 comments

LLM from scratch, part 28 – training a base model from scratch on an RTX 3090

https://www.gilesthomas.com/2025/12/llm-from-scratch-28-training-a-base-model-from-scratch
1•gpjt•11m ago•0 comments

Ask HN: Is a non-engineer's AI co-thinking log useful to anyone?

1•ys-oh•11m ago•0 comments

Show HN: WhatDoYouDo – A subscription-free rolodex/Relationship management tool

https://whatdoyoudo.xyz/
1•yashesmaistry•12m ago•0 comments

How to Fix an Unbearably Slow iCloud Drive

https://danielmiessler.com/blog/fix-slow-icloud
1•speckx•12m ago•0 comments

Fusionauth-JWT v6.0.0 Released

https://github.com/FusionAuth/fusionauth-jwt/releases/tag/6.0.0
1•mooreds•13m ago•0 comments

The biggest AI win I've experienced

https://github.com/calebmadrigal/fuzzygraph/pull/4
1•calebm•14m ago•1 comments

30 years of SOHO staring at the sun

https://www.space.com/astronomy/sun/30-years-of-soho-staring-at-the-sun-space-photo-of-the-day-fo...
1•almosthere•16m ago•0 comments

1T row challenge in 76s using DuckDB on 10k CPUs

https://docs.burla.dev/examples/process-2.4tb-in-parquet-files-in-76s
2•pancakeguy•17m ago•0 comments

Zig quits GitHub, says Microsoft's AI obsession has ruined the service

https://www.theregister.com/2025/12/02/zig_quits_github_microsoft_ai_obsession/
5•Bender•18m ago•1 comments

IBM CEO says there is 'no way' spending on AI data centers will pay off

https://www.businessinsider.com/ibm-ceo-big-tech-ai-capex-data-center-spending-2025-12
6•nabla9•18m ago•1 comments

Android Zero-Days Patched in December 2025 Security Update

https://www.securityweek.com/androids-december-2025-updates-patch-two-zero-days/
2•Bender•19m ago•0 comments

Over 90% of the cases we receive, cell-level repair is not possible on LG packs

https://twitter.com/evclinic/status/1994876173277335745
2•doener•20m ago•1 comments

Sam Altman issues 'code red' at OpenAI as ChatGPT contends with rivals

https://www.theguardian.com/technology/2025/dec/02/sam-altman-issues-code-red-at-openai-as-chatgp...
5•jethronethro•21m ago•2 comments

See your life in weeks

https://www.compasscalendar.com/life
2•tylerdane•21m ago•0 comments

Mistral misspelled Ministral on HuggingFace and Ollama

https://huggingface.co/collections/mistralai/ministral-3
4•mrtimo•22m ago•0 comments

Bank of England warns of AI bubble risk

https://www.bbc.com/news/articles/cx2e0y3913jo
5•voxadam•23m ago•0 comments

Bun has been acquired by Anthropic

https://bun.com/blog/bun-joins-anthropic
160•ryanvogel•23m ago•44 comments

Anthropic Acquires Bun

https://www.anthropic.com/news/anthropic-acquires-bun-as-claude-code-reaches-usd1b-milestone
20•httpteapot•24m ago•8 comments

What to buy that improves quality of life

https://www.developing.dev/p/what-to-buy-that-improves-quality
3•ryanlpeterman•25m ago•1 comments