TechBrief — بروزترین اخبار تکنولوژی

TechBrief — تازه‌ترین اخبار فناوری

مرجع روزانه خلاصهٔ اخبار و تحلیل‌های کوتاه از منابع معتبر.

آخرین خبرها

I Love This Anker Power Bank So Much I Own Two—There's a Big Sale Right Now

The Anker 737 is my personal go-to power bank, and it's on sale for Amazon Prime Day.

Stop Worrying About Storms with This Jackery Power Station—Half-off for Prime Day

Pick up this deal on Jackery's whole home backup battery and be ready for the next power outage.

Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX

Hi all! TikZ is a widely-used LaTeX package for drawing figures in papers. It uses commands like \draw[->] (0,0) -- (1,2); to draw lines, shapes, text, etc. Academics usually code up their figures by hand, so there is lots of twiddling around with the coordinates and recompiling until things look nice. I guess it’s a bit like SVG, but it’s more code than markup, for example it has loops with \foreach.

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.


Comments URL: https://news.ycombinator.com/item?id=48645437

Points: 10

# Comments: 2

Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM

Article URL: https://github.com/ilbertt/bun-sqlgen

Comments URL: https://news.ycombinator.com/item?id=48645390

Points: 11

# Comments: 6

Elevated error rate across multiple models

Article URL: https://status.claude.com/incidents/jbhf20wjmzrf

Comments URL: https://news.ycombinator.com/item?id=48645386

Points: 123

# Comments: 86

Meta debuts new, cheaper smart glasses under its own brand

The smart glasses are available in several countries starting today in a variety of color and lens combinations.

The Fitbit Air takes a smarter approach to the AI health dumpster fire

Google Health Coach seems to think I'm on the verge of physical collapse. My sleep is not where it needs to be, hence my unimpressive readiness score. My heart rate variability, a measure of how recovered I am, is below baseline. I'm spending too much time in a hot, humid environment, it says, reminding me […]

Spying on kids to save kids from spying is stupid

Article URL: https://pluralistic.net/2026/06/23/destroy-the-village/

Comments URL: https://news.ycombinator.com/item?id=48645173

Points: 97

# Comments: 32

Mistral OCR 4

Article URL: https://mistral.ai/news/ocr-4/

Comments URL: https://news.ycombinator.com/item?id=48645152

Points: 64

# Comments: 5

4 days left to save up to $190 on TechCrunch Founder Summit 2026

Four days left to save up to $190 on your pass to TechCrunch Founder Summit 2026 - the ultimate founder bootcamp - before Early Bird rates end on June 26 at 11:59 p.m. PT. Register here.

دسته‌بندی‌ها

معمولی: گجت‌ها، نرم‌افزار، امنیت، AI، استارتاپ