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
My *parents* live in Cleveland. *I* live in the moment.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!