on-internet

Why Did You Do It?

Every action begins somewhere, perhaps in a thought, a feeling, or a moment we cannot explain. Continue reading on Heartline Publications »

OCR returned 40 text boxes for a 34-cell table: text boxes are not cells

The easy assumption is that OCR on a picture of a table returns a list of cells, so a spreadsheet is one split on Tab away, or on whitespace if the Tabs look odd. In this test the counts did not support it. A work-order table with 34 filled cells came back as 40 text boxes. A price list with 63 cells came back as 58. Neither equals the number of cells, and they miss in opposite directions. The text came from ImgIng https://imging.ai/ on its default tier, in a desktop browser on an Apple-silicon Mac, with both the TXT and the JSON exported. The seven sample tables are self-made with made-up dat

Table OCR to Excel: wrapped cells had no cheap fix, 11 of 34 still wrong on an unruled sample

Picture a freelance request: the client has a work-order table, but what arrives is a screenshot, and the job is to get it into a spreadsheet. OCR reads the characters fine and the columns break. On a self-made 7 × 5 sample with six two-line cells, rebuilding the grid from box coordinates left 4 of 34 cells wrong when the table had ruling lines and 11 of 34 when it did not. Cutting along the ruling lines got all 34 right, which needs the lines to be there. What was tested The sample is a fictional work-order table drawn for this test, in Chinese: 7 rows, 5 columns, 34 non-empty cells, six of t

Twitter/X API Rate Limits in 2026: The Complete Guide

The #1 Pain Point for Twitter API Developers If you've worked with the X (formerly Twitter) API for any length of time, you've hit a rate limit. It's practically a rite of passage. The dreaded 429 Too Many Requests response has derailed more projects than any other single issue in the Twitter developer ecosystem In 2026, X's API rate limits remain one of the most confusing and frustrating aspects of building on the platform. The pricing model has changed repeatedly since the Elon Musk acquisition, and understanding exactly what you pay for (and how to work within those constraints) is critical

A trash cleanup that deleted records a day early, and how I tested it in 2 minutes

Twenty, the open-source CRM, keeps deleted records in the trash for 14 days before deleting them for good. At least, that's what it says. A record deleted at 23:50 was actually gone after 13 days and 20 minutes. With retention set to 1 day, a record deleted just before midnight UTC disappeared 11 minutes later. The code looked reasonable: private calculateCutoffDate(trashRetentionDays: number): Date { const cutoffDate = new Date(); cutoffDate.setUTCHours(0, 0, 0, 0); cutoffDate.setDate(cutoffDate.getDate() - trashRetentionDays + 1); return cutoffDate; } A nightly job at 00:10 deletes everythin

Build Better Engineers, Not Just Better Software

I once worked on a coding project where I was effectively the junior. I had picked up a fix, worked through it and opened a pull request. I was pumped about it. I knew I still had a lot to learn, and I was looking forward to the review, because that was where the learning would happen. Later, I noticed the pull request had been taken over. Someone else had made their own fixes to it and merged it. No review comments, no explanation. The task was done, and I was left looking at a merged pull request that no longer really felt like mine. I was kind of mad. I still did not know what had been wron

Японские даты в JavaScript: Intl даёт иероглифы, но не даёт чтение

Японские даты в JavaScript: Intl даёт иероглифы, но не даёт чтение Если вы делаете приложение для изучения японского, календарь с японской локалью или озвучку дат, быстро выясняется: вывести дату по-японски легко, а вот получить, как она читается, стандартными средствами нельзя. Разберёмся, что умеет Intl, и допишем недостающее. Что умеет Intl.DateTimeFormat const d = new Date(2026, 9, 15); // 15 октября 2026 new Intl.DateTimeFormat('ja-JP', { dateStyle: 'full' }).format(d); // '2026年10月15日木曜日' new Intl.DateTimeFormat('ja-JP', { weekday: 'short' }).format(d); // '木' new Intl.DateTimeFormat('ja

Tuwunel vs Synapse: CPU, RAM and Disk Costs of a Self-Hosted Matrix Alternative to Slack or Discord in Docker

For most small groups leaving Slack or Discord, Tuwunel is the better starting point. It is one Rust binary with an embedded RocksDB database, so you run one container, not a homeserver plus PostgreSQL plus Redis and workers. Synapse is still the safer choice once you need enterprise single sign-on, a mature admin API or room to grow past a few hundred active users. The hardware gap between the two is real, but voice and video calls, media storage and joining large federated rooms affect your bill more than the server you pick. TL;DR: which Matrix server fits you A family or friend group of 5

A merged header row made a table OCR column fix worse, 43 of 45 cells misplaced

A table screenshot goes through OCR, every word comes back right, and a paste into a spreadsheet would still land in the wrong columns. On plain grids a coordinate rebuild fixed this: ignore the Tabs in the export and rebuild rows and columns from the text-box coordinates. On a table with a merged header it scored worse than doing nothing. Splitting on Tab left 41 of 45 cells misplaced, the rebuild left 43, and what placed all 45 was cutting the image along its ruling lines. The sample is one self-made table with fictional numbers, clean and not tilted: 9 rows by 6 columns, 45 non-empty cells,

Responsive Figma Code Layer: Capture a Page at Desktop, iPad and Phone Widths, Then Brief the AI

Originally published on Crafttor. TL;DR: An AI can only follow a responsive layout it has seen. To build a responsive Figma code layer, capture the same page at Desktop 1440, iPad 820 and a phone width with WebCapture to Figma. Compare the three captures, write down what changes at each size, and brief Claude, ChatGPT or the code layer's AI with all three. Then check each breakpoint with the checklist below. A single desktop capture says nothing about how the nav collapses or the grid reflows. So the model invents a mobile layout. The cure is simple: show it every width that matters. Why one w

Apify limits I only found out about by hitting them

I've been publishing scrapers on the Apify Store since August 2026, 24 public actors at this point. Most of the platform is well documented, but a handful of limits I only learned about when a request came back with an error code I hadn't seen before. Here they are, with the error you get, so the next person can search for it. Publishing and the Store 5 actor publications per day. Making an actor public (or re-publishing it) counts against a daily budget of 5. The sixth one returns daily-publication-limit-exceeded. Hand-retrying in a loop doesn't help, it resets daily. I ended up with a small

I built a free hub of 29 developer tools — they all run in your browser, no signup, no server

Try it here → DevTools-Hub-Mauve Hey DEV! I'm Ram Krishna, a full-stack engineer (MEAN/MERN + AI Engineer) who got tired of the same ritual every single day: Search "JSON formatter" → land on a site with 6 ad banners → paste a config that may or may not contain secrets → wonder who's reading it → repeat 10 times a day for different tools. So I built the thing I wanted: one place with 29 tools, everything running client-side. 🧰 The toolkit — 26 tools across 9 categories Developer JSON Formatter & Validator · JWT Decoder · Regex Tester · UUID Generator · Hash Generator · Base64/URL Encoder · SQL

Box centre or bottom edge for OCR row grouping? Both broke at 2 of skew

An OCR engine hands over text boxes with coordinates, and rebuilding a table starts with deciding which boxes sit on the same line. One design question is whether to cluster on each box's vertical centre or on its bottom edge, which looks closer to the line the text sits on. On two borderless tables rotated in steps up to 5°, the choice made almost no difference. Both anchors grouped 9 of 9 rows up to 1° and both fell apart at 2°. What held was estimating the page skew first and levelling y before clustering. Two self-made tables with fictional data: a price quote of 9 rows and 7 columns witho

How to Give Every Character a Distinct Voice

Speech cadence, vocabulary and the things a character refuses to say: a practical system for dialogue readers can follow without a single… Continue reading on Medium »

The Writing Advice I Could Actually Use

Two approaches to plotting a novel taught me to look at what I could do with the advice I was given. Continue reading on Medium »

Undo Send is a delay, not an undo

Undo Send does not recall anything. Once a message reaches someone else's mailbox, there is nothing left to pull back. What the button does is make the send late. Gmail's help page, "Unsend a sent email", describes a cancellation window you can set to 5, 10, 20 or 30 seconds. While it is open you see "Message sent" with an Undo link. How Gmail implements that internally I don't know, and I won't guess. The behavior you can observe is consistent with a simple design: hold the message, give the person a few seconds, then do the part that cannot be reversed. That design is worth copying for any a

Winning an argument on a GitHub PR at 1 AM might satisfy your ego, but it costs you the next entire

Winning an argument on a GitHub PR at 1 AM might satisfy your ego, but it costs you the next entire day. Sleep deprivation ruins executive function, destroys emotional regulation, and makes you miss obvious edge cases. The code you write at midnight usually turns into the bug report you apologize for on Monday. Step away from the keyboard. Close the laptop. Sleep on the solution. Problems look dramatically smaller under morning sunlight. Go to sleep. HealthInTech #Burnout #DeveloperLife #Productivity #SleepMatters #MergedCode

Using a model with fewer refusals in the Vercel AI SDK (createOpenAICompatible)

Disclosure: I work on InterOdin, the API used in this tutorial. The setup works for any provider that exposes an OpenAI-compatible Chat Completions endpoint. If you build security tooling on the Vercel AI SDK, think triage bots, detection-rule helpers or a CTF assistant, a general-purpose model will sometimes refuse a perfectly legitimate request. Swapping the model behind the AI SDK is a provider change, not a rewrite. This post wires the SDK to Odin v1 through InterOdin's OpenAI-compatible API. The one gotcha: don't use createOpenAI In AI SDK 5 and later, createOpenAI defaults to the Respons

Dokter X Eps. 10

Aku duduk di depan televisi, menyaksikan sebuah adegan tentang dokter yang berusaha menyelamatkan nyawa seorang anak perempuan berusia… Continue reading on Medium »

AfterBurn Timer🔥 - SmartSpectra SDK Project

This is a submission for the Presage SmartSpectra SDK Challenge What I Built I built Afterburn Timer, a native macOS exercise companion that turns an ordinary camera into a way to observe the minutes between exercise sets. Most workout apps are good at counting what we do: repetitions, sets, duration, and weight. I wanted to explore the part they rarely show: what happens to our pulse after we stop moving? What if the rest between sets could be something we actually observe, record, and learn from over time—without putting on a smartwatch or attaching a sensor? Afterburn combines a workout pla

Build a WhatsApp AI Agent That Takes Orders, with Node.js

Most "WhatsApp bots" are decision trees. Press 1 for menu, press 2 for timings. The moment a customer types something real, like "can I get 2 kg paneer at 6?", they break. In this tutorial we'll build an AI agent instead: a small Node.js service that reads a free-text WhatsApp message, decides what to do, calls your own functions (check the menu, create an order, make a payment link), and replies. It works in English, Hindi or Hinglish without extra code. We'll use Express, the official WhatsApp Cloud API, and an LLM with tool calling. The core is about 150 lines. How it works Every incoming m

I Built a Self-Hosted Voice Cloning Studio With a Talking 3D Avatar

Give Echo a few seconds of someone's voice and some text, and it reads the text back in that voice. A 3D avatar on screen moves its lips in sync with the audio. It's all self-hosted and runs on CPU: no GPU, no paid voice API, and the voice samples never leave your machine. Echo started in June as a weekend experiment. It ran once, on my laptop. Over the past few weeks I turned it into a small voice studio. It can now write the script for you, keep a library of voices and a history of everything you generated, and let you tune how the voice sounds. But Echo isn't the end goal. I built it to lea

Older stories