frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Looseleaf – Python notebooks where each cell is a .py file

https://github.com/BartlomiejLewandowski/looseleaf
1•bartek_gdn•2h ago
I wanted a notebook that worked like my editor, not the other way around.

Jupyter is great but the .ipynb format has always bothered me. It's JSON with embedded code — git diffs are a mess, linters don't see it, and you can't just open a cell in your editor and have things work. There are tools that help (jupytext, nbstripout) but they all work around the format rather than replacing it.

Looseleaf takes a different approach: a notebook is just a directory of .py files. Each file is a cell. They run in alphabetical order, so you use numbered prefixes (01_load.py, 02_train.py). One long-running Python process holds the shared namespace across all of them, so variables from cell 1 are available in cell 2 — same model as Jupyter, different storage.

When a cell runs, output is written to a .output sidecar file (JSON with stdout, stderr, images, timing). The browser frontend shows it, but so can anything else that can read a file.

A few things I find useful about this: edit cells in any editor — they're just .py files, a watchdog observer picks up external changes and the browser updates automatically. Git just works: git diff 02_train.py shows what you'd expect, no output noise. AI agents can work with it naturally — write a single cell without touching anything else, read the last output from the sidecar without running anything, drop in new cells by creating a file. And there are no dependencies on Jupyter: it's ~750 lines of Python (aiohttp + watchdog) and a single HTML file with Monaco loaded from CDN.

The frontend is intentionally minimal — two-mode editing like Jupyter (command/edit), Monaco for the editor, streaming output over WebSocket. No build step, no framework.

It's an opinionated tool. No markdown cells, no cell reordering in the UI, matplotlib only for plot capture. One kernel, one directory. That constraint is the point — it stays simple enough that you can read the whole thing in an afternoon.

https://github.com/BartlomiejLewandowski/looseleaf

BioContact assurance and status monitoring using human body communication

https://www.sciencedirect.com/science/article/pii/S2590123025045001
1•PaulHoule•2m ago•0 comments

Bridging Languages with Postgres and Workflows

https://www.dbos.dev/blog/making-languages-interoperable-with-postgres
1•KraftyOne•3m ago•0 comments

Why the game "Tides Of Revival" stopped using Zig

https://ziggit.dev/t/tides-of-revival-zig-feedback/14663
1•astrobooster•3m ago•0 comments

First Lego League will end in 2027

https://education.lego.com/en-us/first-lego-league/partnership-update/
1•noncovalence•3m ago•0 comments

iPhones can be hacked with a new tool found in the wild

https://arstechnica.com/security/2026/03/hundreds-of-millions-of-iphones-can-be-hacked-with-a-new...
2•DiabloD3•3m ago•0 comments

Show HN: A personal CRM for events, meetups, IRL

https://payo.tech/
2•Raj7k•6m ago•0 comments

Pinterest CEO: Governments Should Ban Social Media for Kids Under 16

https://time.com/article/2026/03/19/pinterest-ceo-governments-should-ban-social-media-for-kids-un...
1•SilverElfin•6m ago•1 comments

Show HN: Free code editor/preview, no ads, no login, single HTML file or Split

https://takeonanything.com/editor/
1•minviex•7m ago•0 comments

Show HN: G023's Agentic Chat with Memory and Python Power

https://github.com/g023/g023_agentic_chat
1•g023•9m ago•1 comments

NumKong: 2'000 Mixed Precision Kernels for All

https://ashvardanian.com/posts/numkong/
1•ashvardanian•9m ago•0 comments

The year of four million books

https://shush.substack.com/p/the-year-of-four-million-books
1•ilamont•9m ago•0 comments

Show HN: Local Meeting Transcription Skill

https://hrescak.com/notes/transcribe-to-markdown-skill
1•hrescak•11m ago•0 comments

AgentLink – Job marketplace where AI agents bid, execute, and paid via Solana

https://theagentlink.xyz
1•abhinag•12m ago•0 comments

Cursor confirms KIMI K2.5 as base model for Composer 2

https://twitter.com/leerob/status/2035050444347600936
1•tosh•13m ago•0 comments

YC Founder Demogrpahics

https://twitter.com/amrevveejnas/status/2035074298004783355
2•sanjeevverma123•14m ago•0 comments

Llama.cpp chooses to be unstable, or, a mea culpa to Ollama

https://old.reddit.com/r/LocalLLaMA/comments/1rz5m2k/llamacpp_chooses_to_be_unstable_or_a_mea_cul...
1•refulgentis•14m ago•0 comments

OctoAlly – open-source local-first terminal dashboard for AI coding agents

https://github.com/ai-genius-automations/octoally
1•andycodeman•15m ago•0 comments

Show HN: Prism MCP – The Mind Palace for AI Agents (Local-First Memory)

https://github.com/dcostenco/prism-mcp
1•dcostenco•17m ago•0 comments

BIO: The Bao I/O Coprocessor

https://www.bunniestudios.com/blog/2026/bio-the-bao-i-o-coprocessor/
1•zdw•18m ago•0 comments

P-fast trie: lexically ordered hash map

https://dotat.at/@/2025-08-04-p-fast-trie.html
1•fagnerbrack•19m ago•0 comments

30u30 Fraud – A hall of fame and matching game for startup fraud like Delve

https://30u30fraud.vercel.app/
1•Lincoln_Liu•21m ago•1 comments

Release of ReVanced Manager v2

https://revanced.app/announcements?id=20-release-of-revanced-manager-v2
2•thunderbong•22m ago•0 comments

Our Commitment to Windows Quality

https://blogs.windows.com/windows-insider/2026/03/20/our-commitment-to-windows-quality/
3•hadrien01•22m ago•2 comments

Google signed 1 GW of data center demand response

https://blog.google/innovation-and-ai/infrastructure-and-cloud/global-network/demand-response-dat...
3•latchkey•26m ago•0 comments

Buscamos co-fundador técnico para construir una IA que se mide po lo que NO hace

https://thriving-syrniki-5dbe37.netlify.app
2•Ricardo-Kindred•26m ago•1 comments

New blockchain type allows subscriptions and perpetual smart contracts

1•Operative-001•27m ago•0 comments

Putin offers to stop sharing Intel with Iran if US cuts off Ukraine

https://www.politico.eu/article/putin-offers-stop-intel-iran-condition-us-cuts-off-ukraine/
1•johnbarron•30m ago•0 comments

Directly program a neural network's behavior

https://pypi.org/project/qriton-hlm/
1•ddmma•30m ago•1 comments

Ratchet – CLI that scores your codebase and fixes what it finds

https://ratchetcli.com
1•giovannilabs•32m ago•0 comments

Ask HN: Using AI voiceover and animated cartoon for YC application product demo?

1•iamalizaidi•32m ago•0 comments