<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: swimmingbrain</title><link>https://news.ycombinator.com/user?id=swimmingbrain</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 31 Aug 2026 08:41:40 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=swimmingbrain" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by swimmingbrain in "Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM"]]></title><description><![CDATA[
<p>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.<p>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.</p>
]]></description><pubDate>Wed, 26 Aug 2026 16:39:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=49452031</link><dc:creator>swimmingbrain</dc:creator><comments>https://news.ycombinator.com/item?id=49452031</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49452031</guid></item><item><title><![CDATA[New comment by swimmingbrain in "Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM"]]></title><description><![CDATA[
<p>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.<p>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.<p>Hard refresh bypasses the service worker, I patched around that last month but apparently not well enough.<p>Also, better error logs and reporting is already on my ToDo-list, sorry for that.</p>
]]></description><pubDate>Wed, 26 Aug 2026 09:01:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=49445910</link><dc:creator>swimmingbrain</dc:creator><comments>https://news.ycombinator.com/item?id=49445910</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49445910</guid></item><item><title><![CDATA[New comment by swimmingbrain in "Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Wed, 26 Aug 2026 08:07:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=49445533</link><dc:creator>swimmingbrain</dc:creator><comments>https://news.ycombinator.com/item?id=49445533</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49445533</guid></item><item><title><![CDATA[New comment by swimmingbrain in "Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Wed, 26 Aug 2026 08:05:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=49445509</link><dc:creator>swimmingbrain</dc:creator><comments>https://news.ycombinator.com/item?id=49445509</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49445509</guid></item><item><title><![CDATA[New comment by swimmingbrain in "Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM"]]></title><description><![CDATA[
<p>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.<p>I'll make New Project also fall back the same way, so it works in Firefox and Safari without the detour.</p>
]]></description><pubDate>Wed, 26 Aug 2026 08:04:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=49445498</link><dc:creator>swimmingbrain</dc:creator><comments>https://news.ycombinator.com/item?id=49445498</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49445498</guid></item><item><title><![CDATA[New comment by swimmingbrain in "Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM"]]></title><description><![CDATA[
<p>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.<p>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).<p>And yes, I'd be very happy to help with that and will get in touch via the volunteers page!</p>
]]></description><pubDate>Wed, 26 Aug 2026 07:57:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=49445436</link><dc:creator>swimmingbrain</dc:creator><comments>https://news.ycombinator.com/item?id=49445436</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49445436</guid></item><item><title><![CDATA[Show HN: TeXbrain, a LaTeX editor that runs pdfTeX in the browser via WASM]]></title><description><![CDATA[
<p>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 the files stay all in one folder on my disk.<p>TeXbrain is a static site with no backend. pdfTeX is compiled to WebAssembly (SwiftLaTeX) and runs in your browser. The editor can read and write your project folder through the File System Access API, so you can use git, any local TeX install, local AI Agents, or any other editor on the same files. Git is built in through isomorphic-git for anyone who would rather not touch a terminal and clone, branch, commit, push or pull via commands. No account is needed, no analytics, and everything works offline after the first load.<p>Try it out: <a href="https://tex.swimmingbrain.dev/" rel="nofollow">https://tex.swimmingbrain.dev/</a> (Chromium browsers get direct folder access, while Firefox or Safari fall back to a virtual filesystem)<p>Or for self-hosting/contributing: <a href="https://github.com/swimmingbrain/texbrain" rel="nofollow">https://github.com/swimmingbrain/texbrain</a> (MIT, the pdfTeX engine is EPL 2.0 / GPL 2.0 and is listed in the THIRD_PARTY_LICENSES file).<p>The part I'm most proud of getting to work is the package loading. The engine itself is only 1.8 MB. When it asks for a file it doesn't have, then a service worker intercepts the request and resolves it through Cache Storage first, then a small bundled subset, then a TeX Live tree mirrored on jsDelivr, then a SwiftLaTeX style server as a last resort. Every file is fetched once at most and after the first successful compilation, the core subset is prefetched in the background so that the offline story actually holds. Only file names go over the network, never any document content.<p>So far, it only supports pdfTeX (no XeTeX or LuaTeX), so fontspec or polyglossia won't work, packages are pinned to the TeX Live 2020 era to stay coherent with the engine's format file and there is no bibtex or biber in the engine yet, which is maybe the roughest edge.<p>This is should be a good solution for people on a work laptop, a Chromebook, or a university lab PC where installing TeX Live isn't always an option, and people who don't want to maintain a TeX install at all. If you already have a local setup you like, keep it. This isn't necessarily thought as a replacement for that.<p>Some people have already used it for their thesis in the past months and their bug reports (which I would never have hit on my own) were then most of the summer's work. The first outside PR also landed recently, so if something doesn't compile for you, an issue with the package name or the bug itself is the most useful thing you can send me!</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49441375">https://news.ycombinator.com/item?id=49441375</a></p>
<p>Points: 118</p>
<p># Comments: 27</p>
]]></description><pubDate>Tue, 25 Aug 2026 22:08:50 +0000</pubDate><link>https://github.com/swimmingbrain/texbrain</link><dc:creator>swimmingbrain</dc:creator><comments>https://news.ycombinator.com/item?id=49441375</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49441375</guid></item><item><title><![CDATA[New comment by swimmingbrain in "Claude Code's source code has been leaked via a map file in their NPM registry"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Tue, 31 Mar 2026 09:18:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=47584693</link><dc:creator>swimmingbrain</dc:creator><comments>https://news.ycombinator.com/item?id=47584693</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47584693</guid></item><item><title><![CDATA[New comment by swimmingbrain in "Universal Claude.md – cut Claude output tokens"]]></title><description><![CDATA[
<p>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.<p>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.</p>
]]></description><pubDate>Tue, 31 Mar 2026 09:09:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=47584620</link><dc:creator>swimmingbrain</dc:creator><comments>https://news.ycombinator.com/item?id=47584620</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47584620</guid></item><item><title><![CDATA[New comment by swimmingbrain in ""Over 1.5 million GitHub PRs have had ads injected into them by Copilot""]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Mon, 30 Mar 2026 17:11:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=47576992</link><dc:creator>swimmingbrain</dc:creator><comments>https://news.ycombinator.com/item?id=47576992</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47576992</guid></item></channel></rss>