Naar de inhoud
OneKitly
Daniel Okonkwo

Artikelen van Daniel Okonkwo

Front-enddeveloper en techredacteur · Profiel bekijken

· 13 min leestijd

Counting Characters Against a Limit Someone Else Set

One emoji is 1 character, or 7, or 11, or 25, depending on who is counting. Which one your form, your database and your SMS gateway mean — and a one-paste test that tells you which you are facing.

· 14 min leestijd

Extracting Every Email Address or URL from a Block of Text

A URL at the end of a sentence keeps the full stop; an email address at the end of the same sentence does not. An accented first name in an address comes back truncated. Every case here was run through the tools and the exact output is reported.

· 11 min leestijd

Rotating a Video 90° or 180°: the Flag or the Pixels

There are two completely different ways to turn a video, and only one of them touches the picture. This tool takes the slow, lossy, universal road — and there is a good chance your sideways phone clip does not need it at all.

· 13 min leestijd

Sentence Case and Title Case: The Rules Differ by Language

English title case has three different cutoffs depending on the style guide. French, Spanish, Portuguese and Italian have none at all. German capitalises every noun. The tool knows about none of this — here is exactly what it does.

· 11 min leestijd

Filtering Lines by a Pattern Without a Command Line

This is grep for people who do not use grep, with one important difference: the match is a plain substring, so a real regular expression returns an empty box and no error. Every claim here was checked by running the tool.

· 11 min leestijd

Finding Duplicates in a List Without a Spreadsheet

Two lines that look identical are often not identical. Case, a trailing space, a no-break space and two different encodings of the same accented letter were each run through the duplicate finder, and it reported no duplicates for three of the four.

· 12 min leestijd

Cleaning Up a List Pasted from a Spreadsheet or a PDF

A paste carries characters you cannot see: no-break spaces, soft hyphens, zero-width spaces, tabs and CRLF. Four cleanup tools were run against each of them, and they use three different definitions of whitespace.

· 12 min leestijd

Encrypt a File, Then Send the Key Down a Different Road

The encryption is the easy half. Here is exactly what the browser tool does to your file — cipher, key derivation, salt, nonce — and why an encrypted attachment with the passphrase in the same thread protects nothing at all.

· 13 min leestijd

SRT to Text: Getting a Clean Transcript Out of Subtitles

Removing the numbers and the timestamps is the easy half. The half that decides whether the transcript is readable is the italic tags, the dialogue dashes, the sound descriptions and the sentences broken across two cues — and this converter leaves every one of them for you.

· 18 min leestijd

Sending a Document for Signature: the Workflow, Not the Law

Whether a drawn signature is valid is settled elsewhere. What decides whether your document actually gets signed is the order you ask people in, what the audit trail records, and six failure modes that have nothing to do with the law.

· 15 min leestijd

XML to JSON: Attributes, Repetition, and the Single-Element Array Trap

Two documents that differ only in how many children exist produce two different JSON shapes, and no converter can tell them apart without a schema. Plus what this one really does with attributes, mixed content and whitespace — and the one thing it still cannot record.

· 15 min leestijd

CSV to JSON: The Five Cases That Break Every Converter

Quoted delimiters, embedded newlines, ambiguous types, duplicate headers and encoding. Each one was run through the converter and the exact output is printed here — including the two cases it does not rescue.