Hacker News
Latest
Raspberry Pi Pico W as USB Wi-Fi Adapter
2026-06-24 @ 03:17:47Points: 73Comments: 20
"Fix" MacBook Neo Cursor Lag: Record 1 Pixel of the Screen Every 10 Seconds
2026-06-24 @ 02:38:47Points: 55Comments: 17
The Teensy Executable Revisited
2026-06-24 @ 02:30:13Points: 29Comments: 3
The war on terror primed America for autocracy
2026-06-24 @ 02:23:39Points: 188Comments: 141
Qwen-AgentWorld: Language World Models for General Agents
2026-06-24 @ 02:21:47Points: 67Comments: 11
DiffusionBench: Towards Holistic Evaluation of Generative Diffusion Transformers
2026-06-24 @ 02:12:31Points: 31Comments: 0
Meta Pauses Employee-Tracking Program Following Internal Data Leak
2026-06-24 @ 00:28:41Points: 207Comments: 123
Vulnerability reports are not special anymore
2026-06-23 @ 23:42:46Points: 223Comments: 117
Extreme Heat conference cancelled due to extreme heat warning
2026-06-23 @ 23:26:43Points: 330Comments: 330
Jerry's Map
2026-06-23 @ 18:40:22Points: 438Comments: 51
Fired by Google for creating the Google workspace CLI
2026-06-23 @ 18:13:40Points: 461Comments: 278
In memory of the man who put red and green squiggles under words
2026-06-23 @ 18:10:47Points: 323Comments: 42
Swift Package Index joins Apple
2026-06-23 @ 18:00:58Points: 198Comments: 66
FUTO Swipe – A new swipe typing model
2026-06-23 @ 17:50:22Points: 480Comments: 144
The worthlessness of Vitamin D is mildly exaggerated
2026-06-23 @ 16:30:18Points: 276Comments: 187
Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
2026-06-23 @ 14:24:21Points: 376Comments: 71
I built an open-source WYSIWYG TikZ editor (available for web and desktop) that allows you to edit your TikZ source code visually by dragging and resizing elements. It simultaneously shows the source code and the rendered figure, and lets you edit either one while the two views stay in sync. I’m not aware of any other editors that are simultaneously source editors and WYSIWYG (even for editing SVG or HTML), and I’m quite pleased with how well the combination works.
The way the app is implemented is by parsing the TikZ code, and at all times keeping track of the exact source location of each object. Thereby, when a user drags an element to a new position, the app can override just the numbers in the coordinate without changing anything else in the code (such as line breaks or indentation).
This approach essentially required reimplementing a large fraction of TikZ, which is the kind of task that no human would ever want to do. I think building software that doesn’t exist yet because it would be impossibly tedious to code up is one of the great new possibilities thanks to coding agents, and it’s worth brainstorming for other examples. (This app was built almost entirely by Codex.)
Implementing the app came with lots of fun side quests, including building converters from SVG / pptx / ipe to TikZ, re-implementing the LaTeX hyphenation and line-breaking algorithm to support multi-line nodes, and making a color picker that uses the red!20!black color mixing notation used in LaTeX papers.