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
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
We often associate age with milestones, achievements, responsibilities and limitations. Somewhere along the way, society creates an… Continue reading on Medium »
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 »
The code compiled, the integration tests passed, and the database was healthy. A single Spring annotation was quietly giving the team a… Continue reading on Engineering Under Pressure »
Scientists produce the discoveries, write the papers, and provide much of the peer review that gives scientific journals their authority… Continue reading on Medium »
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
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
We replaced a bounded thread pool with virtual threads. Throughput improved in testing, then PostgreSQL started timing out under real… Continue reading on Medium »
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
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
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
"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
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
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
"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
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=
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
There is something more valuable than money, success, fame, or material possessions: your inner peace. Unfortunately, we sometimes allow… Continue reading on Medium »