on-internet

Chroma siting is a half-pixel convention that becomes a full-pixel colour shift

Chroma siting is the one setting nobody checks, and it decides where every colour edge in your upscaled frame lands. The short version: in 4:2:0, a single colour sample represents a 2×2 block of luma pixels — but where inside that block the sample sits is a convention, not a fact of the image. Two conventions dominate, they differ by half a chroma sample, and if the decoder assumes one while the encoder used the other, the colour plane lands one full luma pixel off while the luma plane stays exactly where it should be. That asymmetry is the whole story. Detail is crisp, geometry is silently wr

One Leaked Prefix Can Take Down Three Clouds: Route Filtering for Multi-Cloud Estates

In a single cloud, a routing mistake usually stays local. A wrong advertisement blackholes one application, one team notices, and the fix is one console away. In a multi-cloud estate the same mistake travels. A prefix learned in one cloud, re-advertised into a second, and accepted without question by a third can pull traffic for an entire region onto a path that was never built to carry it, or onto no working path at all. The outage report then lists three clouds, even though only one route was wrong. This is not a theoretical risk from carrier networks. It happens inside private estates, with

Age Is Just a Number. Progression Has No Age Limit.

We often associate age with milestones, achievements, responsibilities and limitations. Somewhere along the way, society creates an… Continue reading on Medium »

Relato de um Limítrofe VII

Sentada no sofá, observo um pote metálico de ração, ainda pela metade, enquanto divago sobre tudo o que sou e faço. Continue reading on Medium »

Manis dengan Caranya Sendiri

Jika kalian pergi ke kafe, apakah kalian termasuk orang yang selalu memilih menu minuman dengan rasa yang sama? Atau justru senang mencoba… Continue reading on Medium »

Maafkan, aku jatuh suka

Maafkan, aku jatuh suka Continue reading on Medium »

UPDF Review - Can an AI PDF Editor Replace Adobe Acrobat in a Developer's Workflow?

Sponsored: This post is sponsored by UPDF. The testing, opinions and screenshots are my own. Why PDFs still matter in my workflow I write code for a living, yet a surprising amount of my week happens inside PDFs. Client contracts, invoices, API specs, research papers and technical documentation that only ships as a download all land in my inbox as PDFs. For years the default tool for this has been Adobe Acrobat, and for years it has felt like more software, and more subscription, than someone running a small development business really needs. When UPDF got in touch about reviewing their AI PDF

Why your OCR sees ID photos sideways: EXIF orientation, and fixing it with Pillow

A phone held upright doesn't rotate the pixels it saves. It stores the image in the camera sensor's orientation, often landscape, and adds an EXIF Orientation tag (value 6, for example, means "rotate 90° clockwise to display"). Photo viewers and browsers apply the tag, so the user sees an upright document. OCR and face detection read the raw pixels, so they get the document sideways: text lines run vertically and recognition quality collapses. The fix is one line with Pillow, ImageOps.exif_transpose(img), applied before anything else touches the image. It has to come first, because re-encoding

Limiting concurrency in Python asyncio with a semaphore and per-task timeouts, in the right order

asyncio.gather(*(call(x) for x in items)) starts every call at once: with a thousand prompts, that's a thousand simultaneous requests to an LLM API, and an immediate wall of 429s. Cap it with asyncio.Semaphore(n): each task waits for a slot before it starts. Give each call a timeout with asyncio.timeout(), and pass return_exceptions=True so one failure doesn't cancel the rest. The order matters: the timeout must go inside the semaphore. Put it outside, and the clock starts while the task is still queueing, so tasks time out without ever running; in my test, 8 of 10 did. Here's the correct vers

P6 - Secretos en OKE: de Terraform al pod con OCI Vault y External Secrets, sin pasar por git

Serie «Kubernetes en OCI al menor costo» — parte 6. En la parte 5 vimos cómo lo que corre en el cluster consigue permisos en OCI. Acá va el uso más importante de esos permisos: leer los secretos. Soy Matías Galiano, arquitecto de plataforma: llevo 18 años escribiendo software y 7 diseñando y operando sistemas distribuidos sobre Kubernetes, con Terraform y GitOps. La serie completa se publica primero en mi web, mgaliano.tech. Todo lo que corre en el cluster se declara en git y lo aplica ArgoCD. Eso funciona muy bien para los Deployments y los Services, pero choca con una pregunta: ¿dónde van la

How ApplyOS keeps AI feedback tied to the right resume version

Originally published on the ApplyOS blog by Najib Oladosu, a software engineer based in Nigeria. An AI response can read well and still be attached to the wrong input. Imagine uploading a resume, checking it against a job description, then saving an edited version. When you return to the feedback screen, which version does that feedback describe? That question shaped how I built Job Fit in ApplyOS. The feature compares a saved resume with an application's job description. To make the feedback useful, I need to keep the result connected to the exact resume that went into the request. This artic

Split a PDF in the browser with pdf-lib: page ranges, no server, about 40 lines

"Upload only the result page." "Attach pages 2–4 of your bank statement." Online forms ask for this all the time, and people end up installing an app or uploading private documents to some random server just to cut a PDF in two. You don't need a server for this. pdf-lib can do it in the browser, and the whole feature is about 40 lines. Here's how the Split PDF tool on my site works. 1. Load the file and count pages const buf = await file.arrayBuffer(); let src; try { src = await PDFLib.PDFDocument.load(buf, { ignoreEncryption: true }); } catch (e) { showError('This PDF could not be opened (may

Notting Hill: The Man Who Asked Her to Stay

In a world of situationships and “let’s see where this goes", a film once let a man say "stay". Continue reading on Medium »

nginx2root (CVE-2026-123007): what it is, who is exposed, and what to do today

This article was first published on the Rokkhe blog on Hashnode. It was drafted with AI assistance and reviewed and edited by the Rokkhe team; all facts were checked against the linked public sources as of 20 Nov 2026. What is known about nginx2root (CVE-2026-123007 and four related nginx bugs) as of 20 Nov 2026, from 40+ public sources. By the Rokkhe research team. On 18 November 2026, nginx.org released nginx 1.31.9 (mainline) and 1.30.7 (stable) with fixes for ten security bugs (nginx news, nginx advisories). Five of them are memory corruption bugs that an unauthenticated attacker can use t

The GPU VRAM Calculus: Why your 70B model crashes on 48GB VRAM (and the exact production sizing formula)

A lot of developers and machine learning teams calculate model memory by simply looking at the static weight size on disk. If a 4-bit quantized 70B parameter model is ~38.5GB to 40GB, the natural assumption is: "It will fit comfortably on dual RTX 3090s or an A6000 (48GB physical VRAM)." Then they spin up a vLLM or HuggingFace TGI container, fire a modest batch of 8 concurrent user requests with an 8k context window, and immediately hit the dreaded: torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 2.84 GiB... Here is the exact mathematical reality of where your physical GPU V

E-Bike 出海独立站深度架构拆解(四):用全站视觉与 GEO 体系解剖 Urtopia 官网

导读:在欧美电助力自行车赛道里,Urtopia(官网首页) 切中了“全碳纤维车架 + 智能车把”的高溢价极客细分市场。本文对照 WESWOO 独立站视觉与 GEO 架构体系,实地审计 Urtopia 的首页、E-Bikes 集合页 与主力车型 Carbon 1 Pro 商品页,逐模块拆解它是如何用结构化排版、真人服务承诺与物理数据表撑起两千刀溢价的。 一、 全局共用区:TOP BAR、Header 超级菜单与全局弹窗 01 · TOP BAR:用“坚持真人客服”直接对冲智能硬件焦虑 核心逻辑:卖内置人工智能语音与物联网芯片的硬件,买家最怕售后遇到自动回复机器人。Urtopia 直接把“拒绝机器人、每天 16 小时真人客服”钉在了全站最顶部。 原架构:顶部三联信息条并列展示黑五最高省 $870、Urtopia 支持:始终坚持真人服务(Always Real People) 以及 1,200+ 门店免费试骑。 视觉与交互:在主导航的服务下拉菜单里,直接曝光美国客服电话 +1 (949) 899-6668 与服务时段(周一至周日太平洋时间 4 AM–10 PM PST),配合包裹追踪、保修、退换与保养教程入口。 Header 超级菜单:采用“8 大骑行场景 × 7 大碳纤维车系”双轴展开结构,并在菜单底部横压 5 枚信任图标(1,200+ 门店、UL 认证、免邮、2 年质保、14 天退换

🔒 Account Keeps Locking Out? Find the Source Before You Unlock It Again

"I'm typing the right password and it STILL locks me out!" 😤 Every help desk hears this. The quick fix is to unlock the account. Ten minutes later, it's locked again. 🔁 Here's the secret: the user usually is typing the right password. Some other device or app is still trying the old one in the background, and every failed try counts toward the lockout threshold. Let's find it. 🕵️ 🔍 Step 1: Confirm it's really a lockout On a machine with the Active Directory PowerShell module (RSAT): Get-ADUser jdoe -Properties LockedOut,LastBadPasswordAttempt,BadLogonCount | Select-Object Name,LockedOut,LastBa

Sort Object Keys for a Stock Fingerprint Without Sorting Order Lines

A stock payload can contain mappings and ordered lists. Reordering mapping keys may leave the intended data unchanged; reordering order lines may change it. A fingerprint policy should say which differences it ignores. In a Shopify 3PL adapter, this distinction belongs in a documented payload contract. It can also matter to drop shipping imports and stocked shopify fulfillment. The code below is an isolated Python example, not a deployed integration. import hashlib import json def fingerprint(value): data = json.dumps(value, sort_keys=True, ensure_ascii=False, separators=(",", ":"), allow_nan=

Seedance API in Python: Track the Cost of Each Usable Clip

A job can succeed and still deliver a clip you can't use. If the product changes color halfway through a shot, a second paid render may be the only practical fix. For a recurring product-video batch, track both the completion rate and the cost of the clips your team accepts. Disclosure: This AI-drafted tutorial uses previously published ModelGo test data and API documentation. 1. Submit a fixed-length test job For a new image-to-video batch, start with one input photo you have rights to use. The code below follows the documented asynchronous endpoint. The published billing example in section 3

Stop describing your bug. Screenshot it

“The button is kind of off to the right and the text overlaps a bit on smaller screens.” Continue reading on Medium »

“The 8:15 Train”

My English Language Learner’s Diary. Page 20. Continue reading on Medium »

Older stories