[0] - https://spectrum.adobe.com/page/tooltip/
[1] - https://shoelace.style/components/tooltip
[2] - https://ui.shadcn.com/docs/components/tooltip
[3] - https://popper.js.org/docs/v2/modifiers/arrow/
[4] - https://primer.style/product/components/popover/guidelines/
https://react-spectrum.adobe.com/react-aria/Tooltip.html#exa...
One killer feature of CSS anchor positioning is that it allows you to declaratively define fallback positions if the floating element does not fit into the preferred position. For example, you prefer your tooltips to appear below the anchor; but if the anchor happens to be at the bottom of the screen, there is no space below it, and so the floating element can flip to the top.
After the flip, the triangular svg will be pointing in the wrong direction.
Most masks 'work', for some value of 'work', but efficacy differs (which, to be clear, was ~always known; there was a very short period when some authorities insisted that covid was primarily transmitted by touch, but you're talking weeks at most). In particular I think what confused people was that the standard blue surgical masks are somewhat effective at stopping an infected person from passing on covid (and various other things), but not hugely effective at preventing the wearer from contracting covid; for that you want something along the lines of an n95 respirator.
The main actual point of controversy was whether it was airborne or not (vs just short-range spread by droplets); the answer, in the end, was 'yes', but it took longer than it should have to get there.
Yes, exactly.
If we look at guidelines about influenza, we will see them say that "surgical masks are not considered adequate respiratory protection for airborne transmission of pandemic influenza". And as far as I understand, it was finally agreed that in terms of transmission, Sars CoV-2 behaves similarly to the influenza virus.
...do you mean you want a rich-HTML tooltip that is auto-positioned to ensure it's fully visible w.r.t. the browser's viewport but you also want the tooltip (or UI in general) to include an arrow shape that stays fixed on-target even if might be occluded by the browser?
An arrowhead pointing at the anchor element.
Example: https://en.wikipedia.org/wiki/Tooltip#/media/File:Mobile_URL...
UPD: In spec speak, these are called tethers. The anchoring indicators
https://fantasai.inkedblade.net/style/specs/css-anchor-explo...
Doesn't this count? Been there for several years.
My idea of these self-proclaimed rationalists was fifteen years out of date. I thought they’re people who write wordy fan fiction, but turns out they’ve reached the point of having subgroups that kill people and exorcise demons.
This must be how people who had read one Hubbard pulp novel in the 1950s felt decades later when they find out he’s running a full-blown religion now.
The article seems to try very hard to find something positive to say about these groups, and comes up with:
“Rationalists came to correct views about the COVID-19 pandemic while many others were saying masks didn’t work and only hypochondriacs worried about covid; rationalists were some of the first people to warn about the threat of artificial intelligence.”
There’s nothing very unique about agreeing with the WHO, or thinking that building Skynet might be bad… (The rationalist Moses/Hubbard was 12 when that movie came out — the most impressionable age.) In the wider picture painted by the article, these presumed successes sound more like a case of a stopped clock being right twice a day.
I wonder what views about covid-19 are correct. On masks, I remember the mainstream messaging went through the stages that were masks don't work, some masks work, all masks work, double masking works, to finally masks don't work (or some masks work; I can't remember where we ended up).
This gave me the good belly laugh I needed.
For the last 25 years, Microsoft was known for:
- being the no. 1 enemy of free software
- shipping the worst web browser in existence, despite 80%+ market share
- making corrupt deals with governments around the world to tie them to their office software suite
- creating vendor-locked proprietary extensions to kill open technologies (ActiveX plugins, Silverlight, C++/CLI, MSJVM, etc.)
- making cringe hardware that basically noone purchased (Zune, Windows Phone)
The last time they might have been considered the "cool guys" was sometime in the 90s.
- Creating a language (typescript) that took the front-end web community by storm.
- Becoming one of the real adopters of "progressive web apps". Apple is actively hostile to them, because they would eat into the 30% cut they are making from the apps distributed via the app store; Google, once a champion, has grown kinda tepid, because it also gets a cut from apps distributed via Google Play; but Microsoft now behave as if they are a believer.
- Shipping a tremendously popular text editor, Visual Studio Code.
People are usually asked to 'think about the children'. Pedophiles, drugs, suicides, self-harm, cyberbullying; and whatever other horror stories the media has at hand. This maneuver is usually sufficient to neutralize the opposition.