The "no true Scotsman" fallacy is... Show more
... the mistaken belief that there exists no true Scotsman.
In fact, at any give time, there are between one and three of them.
However, prior to c++11, other Scotsmen were implicitly convertible to bool, resulting in additional ambiguity.
Discussion is currently ongoing on replacing the existing implementation defined collection with a single canonical Scotsman, declared constexpr, in the upcoming c++20 standard. 🤔
Parsing JSON with more context https://esham.io/2019/03/parsing-json-with-more-context #haskell
This is Silicon Valley.
Checking out the "intrinsicsize" spec and it seems really reasonable. It allows you to specify the intrinsic width/height for an image/video element; no need to wait for it to download and thus potentially cause janky page reflows. https://github.com/ojanvafai/intrinsicsize-attribute
"Why just image and video? These are the only elements in [the HTML spec] that size to an external resource." <-- I always found this weird. An <img> has to download the PNG/JPEG before it can figure out how big it should be!
When I make a command-line utility I tend to leave the extension off of the filename: copy_xattrs instead of copy_xattrs.zsh, for example. That gives me the option later to swap a shell script for a Python script (or a Python script for an executable, or whatever) without renaming the file. Ideally, this also means that I wouldn’t need to change any of the programs that call the utility.
me writing programming tools: we need to make it easier to code! liberate the code! make it accessible to all!
me debugging someone else's code: you should need to train for 10 years before you can even touch a text editor, and we need a central guild body that randomly audits members, and if your code quality is bad enough you are immediately executed