frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Fast handwritten LaTeX symbol recognition (Rust/WASM)

https://wtex.jmrpeck.com/
3•captures•1h ago
I use Detexify (https://detexify.kirelabs.org/classify.html) a bunch when writing in LaTeX, which lets you draw a symbol and gives you the LaTeX command. But it's quite slow - it takes ~2s to load the page and ~1s to classify each symbol.

So I made a faster version using Rust and WASM, running entirely in browser. This cuts the classification time down to ~7ms - fast enough to run on every mouse move, giving you live predictions as you draw.

Comments

captures•1h ago
The classification is surprisingly simple - k-nearest neighbors on a 27-dimensional feature vector extracted from each drawing.

The features: - Stroke count - Point density across 6 horizontal and 6 vertical bands (where is the ink?) - Direction histogram across 8 compass directions (which way are strokes going?) - Aspect ratio and total stroke length - First stroke start position, last stroke end position

The training set is ~64k hand-drawn samples from the original Detexify project. Each sample gets preprocessed and converted to this 27D vector. Classification is then just finding the k nearest training samples by Euclidean distance and returning the most common symbols among them.

Closing the Door on Net-NTLMv1: Releasing Rainbow Tables

https://cloud.google.com/blog/topics/threat-intelligence/net-ntlmv1-deprecation-rainbow-tables
1•linolevan•1m ago•0 comments

Technology and Wealth: The Straw, the Siphon, and the Sieve [video]

https://www.youtube.com/watch?v=OxvRx7sQNxc
1•measurablefunc•3m ago•0 comments

We're more patient with AI than one another

https://www.uxtopian.com/journal/were-more-patient-with-ai-than-one-another
1•lucidplot•3m ago•0 comments

Stop Pulling Yourself Down

https://buanasalf.com/blog/stop-pulling-yourself-down/
1•moh20•3m ago•0 comments

Human code review is a crutch

https://deadneurons.substack.com/p/human-code-review-is-an-outdated
1•nr378•4m ago•0 comments

Kusto Query Language

https://github.com/microsoft/Kusto-Query-Language
1•tosh•4m ago•0 comments

Show HN: I made a phone in between a smartphone and dumbphone

https://bouchardindustries.com
1•bouchardio•5m ago•1 comments

Fast Concordance: Instant concordance on a corpus of >1,200 books

https://iafisher.com/concordance/
1•evakhoury•5m ago•0 comments

Microsoft killing tech debt with agents [audio]

https://podcasts.apple.com/us/podcast/microsoft-killing-tech-debt-with-agents/id1621165150?i=1000...
1•azhenley•6m ago•0 comments

Demystifying Evals for AI Agents

https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
1•theptip•6m ago•0 comments

Claude Code Scheduler

https://github.com/jshchnz/claude-code-scheduler
1•jshchnz•6m ago•0 comments

OpenAI Introduces Ads to ChatGPT

https://twitter.com/sama/status/2012253252771824074
2•strzalek•7m ago•0 comments

DuckDB's CSV Reader and the Pollock Robustness Benchmark

https://duckdb.org/2025/04/16/duckdb-csv-pollock-benchmark
1•tosh•7m ago•0 comments

Low-Tech

https://en.wikipedia.org/wiki/Low_technology
1•tux•8m ago•0 comments

Fastmail Is Down

https://fastmailstatus.com
2•safe_duck7727•12m ago•3 comments

Billionaires demand more babies but make parenthood unaffordable

https://www.aljazeera.com/opinions/2026/1/16/billionaires-demand-more-babies-but-make-parenthood-...
2•Qem•13m ago•0 comments

How children lost the right to roam in four generations

https://www.dailymail.co.uk/news/article-462091/How-children-lost-right-roam-generations.html
2•mhb•15m ago•0 comments

Ammobia says it has reinvented a century-old technology

https://techcrunch.com/2026/01/13/ammobia-says-it-has-reinvented-a-century-old-technology/
1•rmason•16m ago•1 comments

Polar Vortex Breakdown May Trigger Weeks of Extreme Cold

https://www.j-c-a.org/polar-vortex-breakdown-may-trigger-weeks-of-extreme-cold/
1•amichail•18m ago•0 comments

A16Z: The Power Brokers

https://www.notboring.co/p/a16z-the-power-brokers
1•rmason•18m ago•0 comments

Book Review: The Perfectionists by Simon Winchester

https://www.eleanorkonik.com/p/review-the-perfectionists-by-simon
1•paulpauper•18m ago•0 comments

The truth Elon left out

https://openai.com/index/the-truth-elon-left-out/
10•colesantiago•19m ago•4 comments

The Great Divergence

https://johnlawrenceaspden.substack.com/p/the-great-divergence
1•paulpauper•19m ago•0 comments

An app can be a meal kit

https://ammil.industries/log/an-app-can-be-a-meal-kit/
1•cjlm•21m ago•0 comments

Show HN: AI health agent that nags you on WhatsApp instead of a dashboard

https://app.vitalify.ai/
1•erenkaradag•26m ago•1 comments

The Engineer to Executive Translation Layer

https://refactoring.fm/p/the-engineer-executive-translation
5•lucidplot•29m ago•2 comments

Origin of Quake3's Fast InvSqrt() (2006)

https://www.beyond3d.com/content/articles/8/
1•6581•29m ago•0 comments

White House seeks emergency power auction for largest US electric grid

https://www.reuters.com/legal/litigation/white-house-seeks-emergency-power-auction-largest-us-ele...
5•bikenaga•32m ago•1 comments

Trapped in the Hell of Social Comparison

https://www.noahpinion.blog/p/trapped-in-the-hell-of-social-comparison
2•7777777phil•32m ago•0 comments

Ask HN: Who's Using DuckDB in Production?

2•yakkomajuri•32m ago•1 comments