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
“So we can argue whether ‘guys’ is or isn’t gender neutral, but for an awful lot of both men and women, ‘people’ isn’t even gender neutral.” — Kate Gregory, “Thoughts about ‘guys’ ” http://www.gregcons.com/KateBlog/ThoughtsAboutGuys.aspx
TIL: It’s possible for a single “git push” command to force-update some refs but not others. For example, “git push origin +develop master” is like a combination of “git push --force origin develop” and “git push origin master”. See the git-push docs. https://git-scm.com/docs/git-push/2.20.0#git-push-ltrefspecgt82308203
A Star Trek spinoff idea Show more
It's just a series of cute 10-minute animated shorts featuring the tardigrade from Star Trek Disco as he munches his fave kinds of fungus; falls asleep and snoozes contentedly; plays in a field with like otters or something