frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: <15MB Local-first Interactive LaTeX Scratchpad in the Browser

https://telox.dev/app/scratchpad/
1•eigenblake•47m ago
I am working on a very modular typesetting engine called TeLoX, intended as a superset of the capabilities (of at least) XeTeX and pdfLaTeX, written in Rust. The main goals are modularity and speed (which we know sometimes fight each other unless we try to be principled about it). Today I wanted to demonstrate these diegetic interactive sliders that control values within in LaTeX from the browser (kinda like marimo).

This isn't meant to be a complete editor like quicklatex and texlyre -- just a tiny playground that loads quickly enough and responds interactively to see how good I can get the typing experience to be. Package support is the weakest link right now so lots of reasonable LaTeX you type up will fail. Increasing coverage fights against fast load times, and so I'll add some 'code splitting' -- I can make the editor dynamically fetch cached blobs for the most common $k$ packages and see how much time that buys me. After I add support for Lua or some other simple expression language, seems like you could make some really beautiful receipts/calculators fairly easily.

The other interesting thing you'll notice is that clicking and dragging on text selects the associated input text really accurately, down to the word. I have an art project that I was working on that was blocked by this exact issue -- being unable to correctly attribute a click back to the exact word that generated it (essentially an interactive storybook, WYSIWYG computational notebook with diegetic inputs). That's now unblocked. I wanted to make a choose-your-own adventure game that takes place _in_ a book on the web.

This whole thing is quite difficult, but I think it's worth it. I know it's an ambitious notion to bring arbitrary support for arbitrary LaTeX to arbitrary devices, but it feels like it's leading somewhere interesting.

Desktop gives the best experience for now, and even still it loads slower than I'd like at ~2.5 sec on cold boot. I should probably default mobile to view mode. A PWA version, bookmarklet support for typesetting the current page, etc, all possible, not started yet. I'm most interested in optimizing my in-memory representation first, and if that's not enough, I'd make a lexical dependency tracker for the TeX interpreter under the hood and deal with mutations/overwriting in a sensible way, possibly svelte style. Like I said, a lot of work. Sharing now before my semester kicks in and my free time is gone. "Baby steps," as they say.

Xi pushes 'Greater BRICS' economic ties to give bloc larger global role

https://www.reuters.com/business/aerospace-defense/xi-pushes-greater-brics-economic-ties-give-blo...
1•_djo_•4m ago•0 comments

Memorable moments in Chromecast's history (2024)

https://blog.google/products-and-platforms/devices/google-nest/chromecast-history/
1•gregsadetsky•6m ago•0 comments

Apple's Dimensional Drawings

https://developer.apple.com/accessories/dimensional-drawings/
2•herbertl•6m ago•0 comments

AI Boom / Bust – Boom Boom Pow

1•wwolfson97•9m ago•0 comments

"Chilling" warning or overreaction? AI bioweapons report divides experts

https://www.science.org/content/article/chilling-warning-or-overreaction-ai-bioweapons-report-div...
2•sbulaev•11m ago•0 comments

Free Domain Monitoring through echelongraph.io

1•akd29121988•15m ago•0 comments

Trump Throws His Support Behind Flock Cameras: 'I Like Them'

https://www.mediaite.com/politics/trump-throws-his-support-behind-flock-cameras-i-like-them/
2•valeg•17m ago•0 comments

The biggest dinosaurs couldn't sit on their eggs

https://www.cbc.ca/news/science/titanosaur-eggs-9.7336841
2•BiraIgnacio•17m ago•0 comments

OpenAI and Anthropic Hit the Brakes

https://www.axios.com/2026/09/13/ai-labs-regulation-safety
2•kooi•19m ago•1 comments

AI Coding Dictionary

https://www.aihero.dev/ai-coding-dictionary
1•dnw•21m ago•0 comments

The Coming War on General Computation (2011)

https://en.wikisource.org/wiki/The_Coming_War_on_General_Computation
6•gregsadetsky•23m ago•0 comments

X.com busts Chinese bot farm, incl accounts making claims about AI data centers

https://www.tomshardware.com/tech-industry/policy/x-busts-200-000-strong-chinese-bot-farm-includi...
1•throwaway2037•23m ago•0 comments

Carterfone

https://en.wikipedia.org/wiki/Carterfone
3•gregsadetsky•25m ago•0 comments

Show HN: Spikeforge

https://spikeforge.net/
1•a0174•28m ago•0 comments

Can an R/C Car Hit 100k Scale Miles? Self Driving Edition

https://www.youtube.com/watch?v=LjQ59b9OKyg
1•jdalgetty•29m ago•0 comments

Robots protest rampant AI in Poland

https://techxplore.com/news/2026-09-robots-protest-rampant-ai-poland.html
1•jareklupinski•31m ago•0 comments

Math in the Movies – Sneakers (1998)

https://theworld.com/~reinhold/math/sneakers.adleman.html
1•walterbell•32m ago•0 comments

How the Eminem Show Made Me a Hip-Hop Fan

https://medium.com/theentertainmentbreakdown/how-the-eminem-show-made-me-a-hip-hop-fan-5e9a7e1838e7
1•raynchad•32m ago•0 comments

Why Society Tears Down Its Heroes

https://medium.com/theentertainmentbreakdown/on-the-demolition-of-heroes-aec8912d8c11
2•raynchad•33m ago•2 comments

Recursive Synthetic Improvement

https://twitter.com/zafstojano/status/2097689256961466486
1•gmays•35m ago•0 comments

Agent security starts before the first prompt

https://fewshotacademy.com/blog/secure-the-tools-around-your-agent
1•mangatgoyal•35m ago•0 comments

Mental time travel and the evolution of the human mind

https://pubmed.ncbi.nlm.nih.gov/9204544/
1•andsoitis•37m ago•0 comments

X nuked my premium account out of nowhere

1•proc0•38m ago•2 comments

Ask HN: How is AI actively a threat to humanity if it's only online?

3•CM30•41m ago•4 comments

Mental Time Travel

https://royalsocietypublishing.org/rstb/article/379/1913/20230406/109563/Measuring-episodic-memor...
1•andsoitis•41m ago•0 comments

Former CIA official found with $40M in gold bars reaches tentative plea deal

https://apnews.com/article/gold-bars-cia-official-virginia-7be1def515c9aa99326eab39cd8ff589
1•Jimmc414•44m ago•1 comments

I think Effect-TS is a strong fit for AI agent development

https://effect.website/
1•anshsingh020404•44m ago•0 comments

Dynamics in Mesoscopic Systems

https://www.ds.mpg.de/meso/en
1•andsoitis•45m ago•0 comments

Ask ChatGPT or Gemini the same "best X" twice, ~1/3 of the answer changes

https://github.com/jjoseph18/ai-recommendation-consistency
1•EpsilonJ•47m ago•1 comments

Show HN: <15MB Local-first Interactive LaTeX Scratchpad in the Browser

https://telox.dev/app/scratchpad/
1•eigenblake•47m ago•0 comments