Yesterday

Amazon can’t validate phone numbers

Published by marco on in Design

I almost never use Amazon. I almost never buy things. Recently, I had the pleasure of discovering that Amazon—a trillion-dollar company that delivers stuff all over the world—cannot properly validate phone numbers when you add an address.[1]

I entered a phone number[2] for an address to “help with delivery”. No matter how I entered the number, I got the error message,

Please remove invalid characters from phone number field (sic)[3]

I started with copy/pasting the phone number straight out of... [More]

3 days Ago

C# 9: finally, covariant returns

Published by marco on in Programming

The article Welcome to C# 9.0 by Mads Torgersen (Microsoft Dev Blogs) (May 2020) introduces several nifty new features that I am really looking forward to using.

What about C# 8?

I still haven’t moved Quino to C# 8, as the only feature I’d love to have there is the non-nullable types, which ReSharper Annotations provide with earlier versions of C#. Not only that, but the nullabilities are properly propagated to users of Quino. It’s understood that recent versions of Visual Studio and runtimes and compilers also do this but, until... [More]

4 days Ago

Deeply ingrained American exceptionalism

Published by marco on in Public Policy & Politics

Introspection is not easy. To really examine one’s own drives and implicit assumptions takes patience and, above all, humility. The first time you dive down, you may not like what you see. Who you think you are may be only a surface representation—something you’ve plastered over a bundle of atavistic core principles that you’ve never bothered to evaluate, question, or correct.

So it is with American hegemony, which has never not thought itself noble. People of all nations have a jingoistic... [More]

6 days Ago

Earthli gets OpenGraph and Twitter metadata

Published by marco on in earthli.com

Most tools that scrape web pages use the OpenGraph metadata embedded in web pages. Some fall back to using the more general and older metadata tags, like description or the <title> element, but this leads to a rather limited embedding. Almost no-one extracts pictures from pages unless explicitly requested to do so by metadata.

Until recently, earthli didn’t include this metadata, leading to somewhat substandard rendering of any links pasted to social media.

Sample Metadata

As an example, the... [More]

The Scarlet Plague by Jack London (1915, read in 2020)

Published by marco on in Books

Disclaimer: these are notes I took while reading this book. They include citations I found interesting or enlightening or particularly well-written. In some cases, I’ve pointed out which of these applies to which citation; in others, I have not. Any benefit you gain from reading these notes is purely incidental to the purpose they serve of reminding me what I once read. Please see Wikipedia for a summary if I’ve failed to provide one sufficient for your purposes. If my notes serve to trigger an... [More]