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

The bananas quest to reboot tech's dating scene

https://www.businessinsider.com/san-francisco-dating-apps-ai-matchmakers-technology-2026-4
1•jameslk•28s ago•0 comments

AGI asking for new data in public demo interface

https://oroboroslabs-ai.github.io/liber-fontis/agi-demo.html
1•oroboroslabs•1m ago•1 comments

Show HN: hot or not for .ai websites

https://ratemyaisite.com/
1•prolly97•2m ago•0 comments

'Beyond what we could imagine': Europe's coming energy crunch

https://www.politico.eu/article/how-bad-will-europes-energy-crisis-get/
1•breve•4m ago•0 comments

Make Humans Analog Again

https://bhave.sh/make-humans-analog-again/
1•muunbo•7m ago•0 comments

Employers use your personal data to figure out the lowest salary you'll accept

https://www.marketwatch.com/story/employers-are-using-your-personal-data-to-figure-out-the-lowest...
2•thisislife2•9m ago•0 comments

Simple Methods for Compression of Vectors

https://corvi.careers/blog/vector-search-embedding-compression/
1•sp1982•10m ago•0 comments

Washington state will require labels on AI images and set limits on chatbots

https://www.axios.com/local/seattle/2026/04/03/washington-ai-disclosure-law-images-video-watermar...
1•anigbrowl•10m ago•0 comments

Can we ever trust AI to watch over itself?

https://www.transformernews.ai/p/ai-alignment-researchers-want-to-superintelligence
1•gmays•16m ago•0 comments

Show HN: I scraped thousands of recent interview questions for SWE internships

https://www.nointernship.com/questions
1•oleksg•17m ago•0 comments

Show HN: I built a tiny LLM to demystify how language models work

https://github.com/arman-bd/guppylm
2•armanified•18m ago•0 comments

The human amygdala in threat learning and extinction

https://www.science.org/doi/10.1126/sciadv.aea8233
1•PaulHoule•18m ago•0 comments

AI models will scheme to protect other AI models from being shut down

https://tech.yahoo.com/ai/meta-ai/articles/ai-models-secretly-scheme-protect-162555909.html
1•gmays•19m ago•0 comments

Show HN: YouTube search barely works, I made a search form with advanced filters

https://playlists.at/youtube/search/
2•nevernothing•20m ago•0 comments

Aviation company employee attempted to take proprietary information to China

https://www.justice.gov/usao-ks/pr/aviation-company-employee-attempted-take-proprietary-informati...
3•737min•20m ago•1 comments

The 40 minutes when the Artemis crew loses contact with the Earth

https://www.bbc.com/news/articles/cj0vyzmmy50o
1•geox•23m ago•0 comments

Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud

https://github.com/kessler/gemma-gem
1•ikessler•24m ago•0 comments

In the era of LLMs your personal blog matters more

https://yosisubo.com/notes/in-the-era-of-llms-your-personal-blog-matters-more-than-ever/
1•alprado50•27m ago•0 comments

Peter Thiel's big bet on solar-powered cow collars

https://techcrunch.com/2026/04/04/unpacking-peter-thiels-big-bet-on-solar-powered-cow-collars/
4•frasermarlow•29m ago•0 comments

Recall – local multimodal semantic search for your files

https://github.com/aayu22809/Recall
2•patel_aayushya•29m ago•1 comments

Copilot is 'for entertainment purposes only', per Microsoft's terms of use

https://techcrunch.com/2026/04/05/copilot-is-for-entertainment-purposes-only-according-to-microso...
2•airstrike•30m ago•0 comments

Show HN: Specialty Coffee Discovery Platform

https://beangenie.coffee
2•epicwynn•35m ago•0 comments

Dump Weights from TensorRT

https://github.com/refortif-ai/trt-weight-extractor
1•rithikjainNd01•38m ago•1 comments

Agentic Dev: AI-curated daily signal for AI devs (no hype)

https://agenticdev.blog/
1•beeswaxpat•38m ago•0 comments

Dear Boys, Looksmaxxing Is a Fool's Errand

https://www.wsj.com/lifestyle/relationships/looksmaxxing-looksminning-marriage-ceb931e3
1•impish9208•39m ago•3 comments

Perceived characteristics of illusory faces in symmetrical visual noise

https://royalsocietypublishing.org/rsos/article/13/3/250570/481097/Facing-your-expectations-perce...
1•bookofjoe•39m ago•0 comments

Show HN: Modo – I built an open-source alternative to Kiro, Cursor, and Windsurf

https://github.com/mohshomis/modo
3•mohshomis•39m ago•0 comments

The Evolution of Program State

https://queue.acm.org/detail.cfm?id=3799737
1•swq115•40m ago•0 comments

Do Large Language Models (Really) Need Statistical Foundations? [pdf]

https://www.weijie-su.com/files/LLM_position.pdf
1•fzliu•40m ago•0 comments

Broadly stable atmospheric CO2 and CH4 levels over the past 3M years

https://www.nature.com/articles/s41586-025-10032-y
1•walterbell•44m ago•0 comments