The really funky part of the IE6 PNG fix was that the URL of the image in the expression was always relative to the current page URL, not the CSS file that the declaration was in. I remember having to use Javascript to…
A stray "J" I encountered years ago: a certain client's support tickets would often end with a single "J", which was a little confusing as it was not one of their name initials. After a brief investigation, the original…
An alternative to the paste commands is vipe (vi + pipe?) from moreutils which opens an $EDITOR that returns the contents once saved and closed. It helps with pasting special chars, newlines, and remote sessions without…
I'm guessing Google is avoiding the scenario where a contributor "accidentally" commits code with a bug, then later reports the bug they "found".
I'd always assumed the opposite, seeing as a browser's primary function is to parse HTML text into DOM nodes as efficiently as possible. But on the other hand, since document.write (rightfully) gets such little usage -…
I'd use `yield from` more if I didn't have to re-index arrays before yielding from them: function numbers() { yield from [1,2,3]; yield from [4,5,6]; }; foreach (numbers() as $k => $v) { echo "$k => $v\n"; } 0 => 1 1 =>…
It's great to see more progress around scroll snapping - I'll have to check out this scroll-state container query and the new events. The biggest missing scroll-snap feature I see is the ability to tell a scrolling…
Woah, those book wheels are like the 16th century version of having 200 browser tabs open.
CSS now has the ability to override some font metrics, so you shouldn't need to edit the font files directly. And these overrides can be applied to local fonts as well (generally used to ensure the metrics of the local…
Apple music dislikes the song "⎆" so much that it's entirely missing from the album in my account.
I think it was to provide an indication that the password was correct at a glance. (IIRC the number of dots in the password field was also generated, so it didn't necessarily match the number of chars) The image was…
Ah, that's a good point.
Yes, here are the reserved TLDs [0]: test example invalid localhost local localdomain domain lan home host corp 0. https://www.ietf.org/archive/id/draft-chapin-rfc2606bis-00.h...
I believe most of the issues with broken link behaviour results from the lack of higher-level methods to override the default link behaviour. An example: I don't really want to add a click event listener to a link to…
My mother uses both "double-storey" a and "loop-tail" g in all her handwriting, even throwaway notes and shopping lists. Most likely due to working for many years as a graphic artist/signwriter.
Even if it's not trivial to solve perfectly, there are easy wins to be had. For example: prevent changing the top-level category of a product. E.g. Shoes should not be allowed to become camera gear.
Version conflicts on shared transitive dependencies is a real problem, to the point that there are tools available to library authors that allow them to rename their dependencies to be under their own namespace to avoid…
Yeah, The Cicada Principle[0] is a really neat trick. I remember it doing the rounds in web design circles back in the early 2010's https://web.archive.org/web/20131201024352/http://www.sitepo...
I suspect that the browser you are using is not spec-compliant. Pseudo-elements (like ::before and ::after) are not actually present in the DOM and are therefore not selectable. edit: I see that you are probably…
A simple function is to calculate whether the total of each RGB channel reaches a certain threshold, with different weights given to each channel. For an example, see the YIQ contrast function used by Bootstrap v4 [0].…
Here's the Himawari-8 satellite viewer, centred on the eruption. Press the right arrow icon in the bottom right to advance to the next 10min snapshot. https://himawari.asia/himawari8-image.htm?sI=D531106&sClC=&s... You…
Yeah it's still around, high-contast is an OS-level accessibility setting in Windows. Here's a Microsoft article about designing for users who have enabled high-contrast mode (technically websites don't need to do…
Great article Earlier this year I created my own ICO editor for fun [1]. I learned a lot about reading and writing binary files, and decoding BMP data. While testing the editor on existing site favicons I kept finding…
Chris Bowen brought a solar panel into parliament just a few days ago: https://twitter.com/MichaelM_ACT/status/1405035688681111554
Exactly, even this run is using house rules, as the official rules state that you are required to own all properties of the same colour before building, and also that houses must be built evenly on each property.
The really funky part of the IE6 PNG fix was that the URL of the image in the expression was always relative to the current page URL, not the CSS file that the declaration was in. I remember having to use Javascript to…
A stray "J" I encountered years ago: a certain client's support tickets would often end with a single "J", which was a little confusing as it was not one of their name initials. After a brief investigation, the original…
An alternative to the paste commands is vipe (vi + pipe?) from moreutils which opens an $EDITOR that returns the contents once saved and closed. It helps with pasting special chars, newlines, and remote sessions without…
I'm guessing Google is avoiding the scenario where a contributor "accidentally" commits code with a bug, then later reports the bug they "found".
I'd always assumed the opposite, seeing as a browser's primary function is to parse HTML text into DOM nodes as efficiently as possible. But on the other hand, since document.write (rightfully) gets such little usage -…
I'd use `yield from` more if I didn't have to re-index arrays before yielding from them: function numbers() { yield from [1,2,3]; yield from [4,5,6]; }; foreach (numbers() as $k => $v) { echo "$k => $v\n"; } 0 => 1 1 =>…
It's great to see more progress around scroll snapping - I'll have to check out this scroll-state container query and the new events. The biggest missing scroll-snap feature I see is the ability to tell a scrolling…
Woah, those book wheels are like the 16th century version of having 200 browser tabs open.
CSS now has the ability to override some font metrics, so you shouldn't need to edit the font files directly. And these overrides can be applied to local fonts as well (generally used to ensure the metrics of the local…
Apple music dislikes the song "⎆" so much that it's entirely missing from the album in my account.
I think it was to provide an indication that the password was correct at a glance. (IIRC the number of dots in the password field was also generated, so it didn't necessarily match the number of chars) The image was…
Ah, that's a good point.
Yes, here are the reserved TLDs [0]: test example invalid localhost local localdomain domain lan home host corp 0. https://www.ietf.org/archive/id/draft-chapin-rfc2606bis-00.h...
I believe most of the issues with broken link behaviour results from the lack of higher-level methods to override the default link behaviour. An example: I don't really want to add a click event listener to a link to…
My mother uses both "double-storey" a and "loop-tail" g in all her handwriting, even throwaway notes and shopping lists. Most likely due to working for many years as a graphic artist/signwriter.
Even if it's not trivial to solve perfectly, there are easy wins to be had. For example: prevent changing the top-level category of a product. E.g. Shoes should not be allowed to become camera gear.
Version conflicts on shared transitive dependencies is a real problem, to the point that there are tools available to library authors that allow them to rename their dependencies to be under their own namespace to avoid…
Yeah, The Cicada Principle[0] is a really neat trick. I remember it doing the rounds in web design circles back in the early 2010's https://web.archive.org/web/20131201024352/http://www.sitepo...
I suspect that the browser you are using is not spec-compliant. Pseudo-elements (like ::before and ::after) are not actually present in the DOM and are therefore not selectable. edit: I see that you are probably…
A simple function is to calculate whether the total of each RGB channel reaches a certain threshold, with different weights given to each channel. For an example, see the YIQ contrast function used by Bootstrap v4 [0].…
Here's the Himawari-8 satellite viewer, centred on the eruption. Press the right arrow icon in the bottom right to advance to the next 10min snapshot. https://himawari.asia/himawari8-image.htm?sI=D531106&sClC=&s... You…
Yeah it's still around, high-contast is an OS-level accessibility setting in Windows. Here's a Microsoft article about designing for users who have enabled high-contrast mode (technically websites don't need to do…
Great article Earlier this year I created my own ICO editor for fun [1]. I learned a lot about reading and writing binary files, and decoding BMP data. While testing the editor on existing site favicons I kept finding…
Chris Bowen brought a solar panel into parliament just a few days ago: https://twitter.com/MichaelM_ACT/status/1405035688681111554
Exactly, even this run is using house rules, as the official rules state that you are required to own all properties of the same colour before building, and also that houses must be built evenly on each property.