When someone writes UTF-8 and UTF-16 strings to the same file in binary...
A while ago, I had to fix some stuff in an application that would write – using a binary mechanism – UTF-8 and UTF-16 strings (part of it XML in various flavours) to the same byte stream without...
View ArticleOpenSuSE Tumbleweed – testing the password of any user with getent and openssl
For one of my VMs I forgot to note which of the initial password I had changed, so I wanted to check them. Since I didn’t have a keyboard attached to the console and ssh wasn’t allowing root, I needed...
View ArticleEncoding horror: Wayback Machine “Sorry.This snapshot cannot be displayed due...
Sorry.This snapshot cannot be displayed due to an internal error. When the Wayback Machine tries to display the archived https://plus.google.com/+KristianKöhntopp/posts/2yw9QFgCdtx which is about...
View ArticleIf Beyond Compare indicates “editing disabled” after starting from...
SourceTree 2.1 still doesn’t recognise that Beyond Compare is installed. I noticed that on my Mac, Beyond Compare wasn’t able to edit diffed files when it had been started from SourceTree. This struck...
View ArticlecURL – POST an XML file as a stream
I hope I’m not alone on this but I find the cURL documentation hard to follow and short on examples. My goal was to mimic some HTTP XML posting traffic a server gets from IoT devices. Google Chrome...
View ArticleUntil someone writes proper string visualisers for the Delphi debugger…
A few tricks to write long strings to files when the Delphi debugger cuts them off (just because they like using 4k buffers internally);...
View ArticleValid reasons for having Delphi AnsiString on Mobile platform…not only for...
It’s too bad that you need workarounds to get ByteStrings working on mobile devices as there are APIs there (like shaders) that work best with them. There was a nice discussion on this last year at...
View ArticleMichael Kaplan Obituary – Berkowitz-Kumin-Bookatz | Cleveland Heights OH (and...
I totally missed the passing of Michael Scott Kaplan some 2 years ago, so a belated R.I.P. is in place. Obituary for Michael Kaplan, Michael Scott Kaplan, 45, passed away Wednesday, October 21, 2015,...
View ArticleShouldnt this line be null terminated? HostEnt := gethostbyname(MarshaledASt…
[WayBack] Shouldnt this line be null terminated? HostEnt := gethostbyname(MarshaledAString(TEncoding.UTF8.GetBytes(Name))); – G+ – Allen Drennan Yes it should, but I’m not sure if the compiler is fully...
View ArticlePlastic SCM command-line for merge and diff
Just in case I have Plastic SCM without Beyond Compare: Merge "C:\Program Files\PlasticSCM5\client\mergetool" -b="%TEMP%\baseFile-guid.pas" -bn="baseSymbolicName" -bh="baseHash"...
View ArticleIt looks like gmail finally understands Outlook Calendar entries
For a very long time, gMail did nothing with Outlook Calendar entires. So I had to view at the message source, then translate them to Google Calendar entries myself....
View ArticleUTF-8 support for single byte character sets is beta in Windows and likely...
Uh-oh: [WayBack] Unicode in Microsoft Windows: UTF-8 – Wikipedia: Microsoft Windows has a code page designated for UTF-8, code page 65001. Prior to Windows 10 insider build 17035 (November 2017),[7] it...
View Articleincluding enumerations and JPEG compression examples for wPDF 4 Manual:...
Since I was tracking down an issue having to to with generating DIB in a compressed PDF: [Archive.is] wPDF 4 Manual: Compression related properties Property CompressStreamMethod By modifying this...
View Articlels colour codes on OpenSuSE tumbleweed when accessed from Mac OS X ssh
`ls` colour codes I got confused as I thought red text would mean an error. But they’re not: greenish yellow on a read background means error (a symbolic link to a place that’s no longer there). It’s...
View ArticleDelphi Galileo IDE (version 8 and up): Force files to be saved as UTF8 – The...
Though formatting mangled the registry key to add, the article is interesting: since 2003 (C# Builder 1), you can force the IDE to always save files as UTF8 which should alleviate a lot of encoding...
View Articleimagemagick – Command line convert webp to jpg? – Unix & Linux Stack Exchange
For my link archive: [WayBack] imagemagick – Command line convert webp to jpg? – Unix & Linux Stack Exchange [WayBack] Precompiled Utilities | WebP | Google Developers All these archives...
View ArticleCSL Bearware 302658 DCF clock manual
The manual for the CSL Bearware 302658 clock that uses the DCF77 signal is at [WayBack] Bearware_Manual-302658-20161220FZ004.pdf. I like the relatively large 3.3 inch display and the blue background....
View ArticleBad surprise of the day: SysUtils.TEncoding in XE2+ defaults to ANSI, while...
Bad surprise of the day: SysUtils.TEncoding in XE2+ defaults to ANSI, while in XE it defaulted to UTF-8 .Among other things this means that TStringList… – Eric Grange – Google+ Source: Bad surprise of...
View ArticleCommon SMTP message size limits
After a 2018 discussion with a “zorgkantoor” (Dutch for office that arranges for special long term health care needs, successor of AWBZ) about their very low (10 megabyte) SMTP message size limit –...
View ArticleSupermicro Bios Update – YouTube
I needed to get myself an OOB license for the BIOS update over the IPMI console or SUM (Supermicro Update Manager). An IPMI update can be done without an OOB license from the IPMI console, but the BIOS...
View Article