Better HN
topnewbestaskshowjobs
Log inSign up

progers7

315 karma · joined Mar 1, 2013 (13y ago) · 58 submissions

Submissions

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 3y ago · link · parent

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...

comment 4y ago · link · parent

Lego continues to be a favorite in our house. Duplo for 2-4, and Lego for 3+.

comment 4y ago · link · parent

I have saved a little script to use with git bisect and a stashed test: https://gist.github.com/progers/998452a15180ae369fee338bb393...

comment 4y ago · link · parent

Double requestAnimationFrame will still work and is the technique used by the WPT repository (a test suite shared by all major browsers): https://source.chromium.org/chromium/chromium/src/+/main:thi...

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

Thanks for the recommendation. If this comment piqued anyone else's interest, as it did mine, there is an updated version of Bloomfield's Let’s Read: https://www.amazon.com/Lets-Read-Linguistic-Clarence-Barnhar...

There is some discussion of the differences in the two editions in https://news.ycombinator.com/item?id=4665466 as well as the reviews on Amazon. I am going to give the updated version a try.

comment 6y ago · link · parent

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).

comment 6y ago · link · parent

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...).

comment 6y ago · link · parent

See A Satellite Tonight (https://james.darpinian.com/satellites) is a nice tool for finding these. I have a young kid and it's been fun heading out at night and spotting these.

comment 6y ago · link · parent

"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...

comment 6y ago · link · parent

If https://www.myvisajobs.com/Reports/2019-H1B-Visa-Category.as... is accurate, the bay area was the top recipient of H1B recipients in 2019.

comment 6y ago · link · parent

This is for all years, but the numbers for 2019 seem to indicate SV will be affected: https://www.myvisajobs.com/Reports/2019-H1B-Visa-Sponsor.asp... Google is #8. Amazon, Facebook, Apple are in the top 20. I don't know how accurate this list is, but I am worried for my colleagues.

comment 6y ago · link · parent

I don't think this is true for the chromium project. Bugs filed at https://crbug.com are quickly triaged.

comment 6y ago · link · parent

You might enjoy this article about a professor who became one: https://stevesalaita.com/an-honest-living. The job seems more complex and more rewarding than I had imagined.

comment 7y ago · link · parent

An important aspect of the big index funds is that they are weighted by market cap. If my lemonade stand IPOs, the market will not value it highly and very little index fund money will flow into it.

19.

Chromium passes 1M filed bugs(crbug.com ↗)

1 points · by progers7 · 7y ago · discuss

comment 7y ago · link · parent

This was recently implemented in Chromium-based browsers (M76) too. https://web.dev/backdrop-filter has some more information about the CSS, and https://www.chromestatus.com/feature/5679432723333120 has more information about the implementation.

comment 7y ago · link · parent

What is plan 3315?

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

Duplo are blocks twice the size of Lego.

There are also Quatro blocks which are twice the size of Duplo. These have been discontinued: http://lego.wikia.com/wiki/QUATRO

comment 8y ago · link · parent

I don't think this is practical because many men do not take their full paternity leave. For biological reasons alone, the woman needs to take more.

comment 8y ago · link · parent

Are design parameters such as pile depth part of the public record? Is there a way to lookup the design of a building?

comment 8y ago · link · parent

Do you remember the name of this documentary? A quick search didn't turn up anything. I live in the area and would love to learn more about this.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

I've done a similar trick where the ratio of two secret integers is released publicly with many significant digits and you can sometimes find the two integers by brute forcing the division over all possible values. Does anyone know a name for this approach?

comment 10y ago · link · parent

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...

comment 10y ago · link · parent

The New York Times also does this and it feels dirty.

https://myaccount.nytimes.com/mem/cancel.html?id=10434447 We're sorry to see you go. To cancel your subscription quickly and easily, please call Customer Care at 877-698-5635 Hours of Operation: Monday — Friday: 7:30 a.m. ET through 9:00 p.m. ET Saturday and Sunday: 7:30 a.m. ET through 5:00 p.m. ET

12