swimmingbrain

Joined 7 months ago

Karma
40
Submissions
20
Member since
Mar 29
Engineering & AI student, working in industrial machine vision in Austria.
View on Hacker News

Recent submissions

Comment · 13 days ago
Definitely going to use it in my tools and for my projects, the flexibility offered in the repo looks so great!
Comment · 20 days ago
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!)

Comment · 2 months ago
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.

Comment · 2 months ago
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.

Comment · 2 months ago
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.
Comment · 2 months ago
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.
Comment · 2 months ago
There's no button (that's a gap on my side, not intended behavior). New Project currently goes only through the folder picker, so on Firefox or Safari it just stops there. The virutal filesystem fallback is only in Open File, which is also why zahrevsky's workaround gets you in.

I'll make New Project also fall back the same way, so it works in Firefox and Safari without the detour.

Comment · 2 months ago
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!

Comment · 7 months ago
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.
Comment · 7 months ago
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.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton