Stefan Oltmann
08/14/2026, 7:29 PMTiffWriter for Kim, DeepSeek V4 Pro introduced 4-byte alignment for TIFF offsets. I noticed because my reference images suddenly changed. When I asked why, it confidently told me that this was required by the TIFF specification.
A quick check with ChatGPT showed that the TIFF specification actually requires offsets to be word-aligned, meaning they must be even. In other words, padding is only needed to ensure 2-byte alignment, not 4-byte alignment.
Sometimes I genuinely wonder why these models aren't trained directly on official specifications and RFCs. π€·ββοΈStefan Oltmann
08/14/2026, 7:39 PMStefan Oltmann
08/14/2026, 7:40 PMromainguy
08/14/2026, 8:41 PMStefan Oltmann
08/14/2026, 8:50 PMromainguy
08/14/2026, 8:51 PMStefan Oltmann
08/14/2026, 8:51 PMStefan Oltmann
08/14/2026, 8:52 PMI tink you trust LLMs far more than you shouldA bit, maybe. After seeing Opus and also DeepSeek V4 Flash doing well on a few tasks in a row I start to build up trust... which is then destroyed again. π
Michael Paus
08/14/2026, 9:01 PMromainguy
08/14/2026, 9:02 PMStefan Oltmann
08/14/2026, 9:04 PMStefan Oltmann
08/14/2026, 9:06 PMromainguy
08/14/2026, 9:07 PMOf course. But usually, you would expect a coding agent to be trained on standard specifications like TIFFAnd it is, but I bet there's a lot less training data on TIFF vs Kotlin out there π
Stefan Oltmann
08/14/2026, 9:10 PMromainguy
08/14/2026, 9:13 PMromainguy
08/14/2026, 9:13 PMStefan Oltmann
08/14/2026, 9:19 PMromainguy
08/14/2026, 9:21 PMStefan Oltmann
08/14/2026, 9:21 PMromainguy
08/14/2026, 9:21 PMStefan Oltmann
08/14/2026, 9:22 PMThe problem is that maybe those algorithms have similar garbage inside and you just can't tellThat's what I fear. π But in the past I took those from Stackoverflow and this wasn't much better. π I just can add unit tests to make sure that the result is correct, if I can't understand the vector matrix multiplication with sinus & cosinus π
romainguy
08/14/2026, 9:23 PMStefan Oltmann
08/14/2026, 9:23 PMDon't be with Uncle Bob on pretty much anything πClean Code is gold standard to me. I'm with everything, BUT that AI statement.
romainguy
08/14/2026, 9:24 PMStefan Oltmann
08/14/2026, 9:35 PMRobert Jaros
08/15/2026, 4:46 AMhallvard
08/15/2026, 11:36 AMJacob Ras
08/15/2026, 12:56 PMArjan van Wieringen
08/16/2026, 4:46 PM