HN user

progers7

315 karma
Posts4
Comments53
View on HN
HTML-in-Canvas 12 months ago

Accessibility is a key reason for this proposal. Today, canvas accessibility is quite limited. This proposal enables the browser to know how accessible dom elements map to canvas pixels.

HTML-in-Canvas 12 months ago

This proposal is a lot like an easier way to draw foreign object into canvas. This proposal supports new features too, such as updating the canvas when the content changes, and interactivity.

Gecko is base-60 a.k.a. sexagesimal (https://en.wikipedia.org/wiki/Sexagesimal) which is highly divisible. In Firefox, a pixel is sort of a CSS minute :)

Blink and WebKit are less sexy and use tetrasexagesimal a.k.a. 1/64 (https://trac.webkit.org/wiki/LayoutUnit). 1/60 was tried originally, but it was switched to 1/64 for performance and to avoid precision loss. The reason it's faster is interesting: floating point values are also stored as number with a base-2 exponent, so to convert to/from floats, you can use shifts instead of needing division. The differences between 1/60 and 1/64 were important 10 years ago but are pretty minor now.

If you're interested, the code is at https://github.com/mozilla/gecko-dev/blob/d36cf98aa85f24ceef... and https://source.chromium.org/chromium/chromium/src/+/main:thi...

There's a great children's history book titled "This Bridge Will Not Be Gray" by Dave Eggers that goes into the early days of the color choice. The bridge was shipped over from east coast metal works in orange, so it was not gray to begin with. The choice to keep it orange involved some public support so I think it is unlikely that it was ever painted gray, even temporarily.

This article is just about acceleration and stacking is not introduced. WebKit's architecture ties together the concepts of stacking and acceleration. A positive effect is that it will be quite easy to support stacking in SVG with this work.

A negative of joining the concepts of stacking and acceleration is that it is difficult to get acceleration without introducing paint order bugs where the accelerated content starts painting above non-accelerated content.

SVG filter support in Chromium is actively being worked on, primarily led by an incredible engineer at Opera (fs@opera.com). This work has been ongoing for almost a year and should complete in Q4. Please star https://crbug.com/109224 for updates (stars also help prioritization).

Thanks for the link. This CDC guidance is basically the tl;dr of the actionable parts of the medium article. The CDC guidance is:

* Maintain good social distance (about 6 feet). This is very important in preventing the spread of COVID-19.

* Wash your hands often with soap and water. If soap and water are not available, use a hand sanitizer that contains at least 60% alcohol.

* Routinely clean and disinfect frequently touched surfaces.

* Cover your mouth and nose with a mask when around others.

A small difference between the medium article and the CDC guidance is the order of importance, particularly as the weather gets colder in the US. The medium article argues #4 (masks) and #1 (distance) are more important than #2 (hand washing) and #3 (cleaning). The order on the CDC site is probably more of an artifact of how the guidance evolved rather than the relative importance (the wayback machine shows the mask bullet was added June 1st: https://web.archive.org/web/*/https://www.cdc.gov/coronaviru...).

"Almost 2 percent of the kids diagnosed with COVID-19 in the United States have died from it, and the majority of them wind up in an ICU in a hospital."

Is this a typo? Possibly he meant 0.2%?

The data from my county (Alameda) has 1,450 cases <18 and 0 deaths: https://covid-19.acgov.org/data.page

Similarly, data from South Korea, Spain, and Italy, and China is <= 0.2%: https://ourworldindata.org/mortality-risk-covid#case-fatalit...

SVG's SMIL bites again (the bug used to write the exploit). This ancient animation system is incredibly hard to implement without security bugs due how GC interacts with the SVG SMIL DOM apis (animVal, baseVal, etc). SMIL is one of the reasons Chromium implemented C++ garbage collection.

With finite engineering resources, there's always a tradeoff between maintaining backwards compatibility and making forward progress. I think SMIL would be something better left behind.

A brief update 10 years ago

I think it's pretty charitable since he's taking a massive paycut. The maximum GS payscale is 160k which is nowhere near his current compensation.

This is the first time I have heard of OpenDNS Umbrella. I just gave it a try (they have a free trial) and it's really nice--after some simple configuration you pretty much just set your router's DNS to OpenDNS and then your DNS requests are both monitored and lightly protected.

The product is geared towards medium-to-large networks so it's a little hard to find the prosumer $20/yr plan. Here's a link if anyone else is interested: https://www.opendns.com/enterprise-security/threat-enforceme...