News for hackers. Stuff that matters.

swimmingbrain

Definitely going to use it in my tools and for my projects, the flexibility offered in the repo looks so great!
I've made a small MCP server for this: https://github.com/swimmingbrain/brainbridge

It connects TeXbrain with braiNOTES over a local websocket. You give your agent tools such as "render page 3 of this notebook" or "insert this LaTeX at the end of this .tex file" and it reads the handwriting and compiles it.

The instructions for VS Code, Cursor, Codex, Claude Code or whatever you use are in the repository. Basically, everything runs on your machine, except of the model.

If you have any questions feel free to ask (or feedback/bugs!)

Show HN: BraiNOTES, handwritten notes on your lecture PDFs in a browser tab

https://github.com/swimmingbrain/brainotes

In August, I posted here about TeXbrain, a LaTeX editor that runs completely in the browser, with no need for an account or server. (I didn't excpect it to get that much feedback, bug reports and help from here!)This is the same idea for the other half of my studies, the handwritten notes. I take them on a convertible laptop, and I've had a hard time with apps for that, taking notes from a...

( Read More... | 3 comments | 3 points | on HN )
Fair points, Ctrl+Enter was also CodeMirror's "insert empty line" and Ctrl+S won the welcome file went through "save as", since that document has no existing file yet. It's fixed now.

It compiles on its own a second after you stop typing, and there's also an "Auto" button next to "Compile" if you prefer to press Ctrl+Enter yourself.

Can't tell much from those two lines, but if you open an issue with the document, or just provide the full compile log, I could dig into it.

The TFM error usually means a font file wasn't available. However, the service worker validates the downloads before caching, so any error pages or empty bodies get rejected (which makes posoned cache unlikely), but a stale state may still be possible.

Hard refresh bypasses the service worker, I patched around that last month but apparently not well enough.

Also, better error logs and reporting is already on my ToDo-list, sorry for that.

Yes, tikz.sty, pgf.sty and pgfplots.sty are in the bundled subset (it's around 360 pgf related files that ship with the app). Only the graph drawing sublibrary requires LuaTeX, so that one won't work.
The hello-world example sounds like a good idea, I'll try to add that as well, so that the user lands on a working document.
The 2020 part isn't really something I chose, it comes with the SwiftLaTeX engine, which ships a precompiled format from that era. I just inherited it with the engine.

The format and packages have to agree, and when I pulled in newer packages against that old format, some things broke (hyperref had changed its aux label format, for which I ended up backporting a padding fix, and babel was missing some aliases in the mismatched version, e.g. brazil-portuges).

And yes, I'd be very happy to help with that and will get in touch via the volunteers page!

Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM

https://github.com/swimmingbrain/texbrain

I'm a master's engineering student and a big fan of LaTeX, which I used for my thesis and research articles. I have used Overleaf and that was fine until I wanted to git sync, which unfortunately sits behind a paywall. Since I didn't want to pay subscriptions for things that should simply just work, I built the editor I wanted in my free time, where you open a tab, write LaTeX, get your PDF and...

( Read More... | 27 comments | 33 points | on HN )
From the directory listing having a cost-tracker.ts, upstreamproxy, coordinator, buddy and a full vim directory, it doesn't look like just an API client to me.
Re:Universal Claude.md – cut Claude output tokens by 63% on Tuesday March 31, 2026 @05:09AM (#47584620)
The "efficient market" framing assumes Anthropic wants to minimize output, but they don't. They charge per token, so the defaults being verbose isn't a bug they haven't gotten around to fixing.

That said, most of this repo is solving the wrong problem. "Answer before reasoning" actively hurts quality, and the benchmark is basically meaningless. But the anti-sycophancy rules should just be default. "Great Question!" has never really helped anyone debug anything.

the difference is "sent from my iPhone" is on YOUR outgoing email. you opted into that default. this is copilot editing someone else's PR description with promotional text for third party tools. that's not a signature, that's injection. imagine if gcc started appending "compiled with gcc, try our new optimization flags" to your README every time you built a project.