frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Plox – Lox compiler in ~600 LOC from the 'Crafting Interpreters' book

https://github.com/eliasdejong/plox
2•eliasdejong•33m ago
'Crafting Interpreters' is Bob Nystrom's book that teaches you how to build a compiler from scratch. It is an excellent resource and I can highly recommend it. Really light to read and walks you through all the concepts step-by-step.

The first part of the book builds a compiler for the 'Lox' toy language in Java. While I have nothing against Java, personally I have never used it much so I decided to go through the first part of the book writing the code snippets in Python, a language I'm more familiar with.

My implementation is probably not remarkable against the list of other implementations (https://github.com/munificent/craftinginterpreters/wiki/Lox-...), though I tried to use as little 'object oriented' language features in Python. The AST is also stored 'flat' as a list. Personally I find this style of code much easier to read and understand.

LOC breakdown: scanner ~130, parser ~350, interpreter ~90, type definitions ~200

I'm publishing the repo under MIT so that perhaps it might be useful to others also learning about compilers.

Narcissism, Machiavellianism, and the people who lean hardest on AI

https://thenextweb.com/news/dark-traits-problematic-ai-use-psychology
1•colinprince•12s ago•0 comments

Show HN: Hibernate and restore Claude Code sessions across reboots

https://github.com/SteveVitali/claude-hibernate
1•SteveVitali•1m ago•0 comments

Show HN: Write, simulate and synthesize VHDL/Verilog in the browser

https://risingedge.pro
1•wozniakpawel•3m ago•0 comments

The math crisis isn't the test scores. It's the test

https://www.fastcompany.com/91577187/the-real-math-crisis-isnt-the-test-scores-its-the-test
1•johnshades•3m ago•0 comments

Fourth Circuit: Border Agents Can Search Your Phone by Hand, No Suspicion Needed

https://www.eff.org/deeplinks/2026/07/fourth-circuit-says-border-agents-can-search-your-phone-han...
3•leephillips•3m ago•0 comments

Balance Stablecoin Collapses After Bitcoin Vault Is Drained

https://www.cryptoprowl.com/releases/balance-stablecoin-collapses-after-bitcoin-vault-is-drained-...
1•wslh•3m ago•0 comments

Build a WhatsApp agent with Claude Code in under 5 mins [video]

https://www.youtube.com/watch?v=jLXjno0tnHI
1•dhruvyads•4m ago•0 comments

Space datacenters proposed by Musk and Bezos 'catastrophic' for planet

https://www.theguardian.com/science/2026/jul/23/space-datacenters-bezos-blue-origin
2•mitchbob•4m ago•0 comments

Leaked Document Shows the Surveillance Tech at ICE's Fingertips

https://www.404media.co/leaked-document-shows-the-surveillance-tech-at-ices-fingertips/
2•colinprince•5m ago•0 comments

Show HN: Chrome Plugin to Scan HN Page Quickly. (Categorize with Local Model)

https://github.com/prabhic/hn-quick-scan
1•prabhanjana_c•6m ago•0 comments

Permanent Daylight Saving Time

https://leancrew.com/all-this/2026/07/permanent-daylight-saving-time/
1•surprisetalk•6m ago•0 comments

AI slop learning websites with .org domains

https://a14a.org
3•dumindunuwan•6m ago•1 comments

Why Software Factories Fail

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md
2•dhorthy•7m ago•0 comments

Startup founders urge Trump not to shut off Chinese open weight AI

https://www.politico.com/news/2026/07/22/startup-founders-urge-trump-not-to-shut-off-chinese-open...
6•theanonymousone•7m ago•1 comments

Getting Off with the Luddites

https://www.nplusonemag.com/online-only/online-only/getting-off-with-the-luddites/
2•johnshades•8m ago•0 comments

I Killed an AI-Generated Essay During Its Defence

https://medium.com/@henry.fisher.n/how-i-killed-an-ai-generated-essay-during-its-defence-50f3b869...
4•behindai•9m ago•0 comments

Ask HN: Is there a website that tracks excessive writes to SSDs in OS/app betas?

4•amichail•9m ago•0 comments

Microsoft considers replacing ChatGPT and Claude with Kimi K3 to save $600M

https://www.msn.com/en-us/money/general/microsoft-considers-replacing-chatgpt-and-claude-with-chi...
4•petethomas•9m ago•0 comments

iOS 27 code suggests Apple could restrict leased devices after missed payments

https://9to5mac.com/2026/07/21/ios-27-code-suggests-apple-could-restrict-leased-devices-after-mis...
2•iamnothere•10m ago•0 comments

Using AI to bring children's drawings to life (2021)

https://ai.meta.com/blog/using-ai-to-bring-childrens-drawings-to-life/?_fb_noscript=1
2•downbad_•10m ago•0 comments

The Future of Space Is Too Big to Launch

https://theexistentialhope.substack.com/p/the-future-of-space-is-too-big-to
3•sidhsikka123•10m ago•0 comments

5.6 Sol produces a new research paper in one shot

https://aifails.substack.com/p/56-sol-produces-an-entire-new-research
2•mjd•11m ago•1 comments

Show HN: Find undervalued bikes near you with ML

https://bike.broker
3•azuroscloudapi•12m ago•0 comments

PyPI now rejects new files after 14 days

https://lwn.net/Articles/1084218/
3•Brajeshwar•12m ago•0 comments

Show HN: A primer for non-coders to design software via structured AI dialogue

https://github.com/CoreGrowthLabs/CoreGrowthPrompting/blob/main/README.en.md
2•CGP_Labs•13m ago•0 comments

Show HN: MinkNote – Native macOS notes and journaling using Markdown files

https://muse23.com/apps/minknote/
2•demianturner•13m ago•0 comments

Show HN: Palmier Pro – open-source macOS video editor built for AI

https://github.com/palmier-io/palmier-pro
3•hchtin•14m ago•0 comments

Flux 3: One multi-modal model for Image, Video, Audio and Action-Prediction

https://bfl.ai/blog/flux-3
4•meetpateltech•14m ago•0 comments

Does creatine make you smarter?

https://dynomight.substack.com/p/creatine
4•dmonay•14m ago•1 comments

You Should Get to Own Your Media, Not Rent it Forever

https://www.currentaffairs.org/news/you-should-get-to-own-your-media-not-rent-it-forever
6•thunderbong•15m ago•1 comments