HNHacker News
TopNewBestAskShowJobs

progers7

315 karma · joined March 1, 2013

submissionscomments
progers7··on HTML-in-Canvas
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.
progers7··on HTML-in-Canvas
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.
progers7··on CSS lengths in Gecko are limited to 17,895,697 pixels (2010)
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...

progers7··on Ask HN: What gift worked for your child well?
Lego continues to be a favorite in our house. Duplo for 2-4, and Lego for 3+.
progers7··on Keeping a project bisectable
I have saved a little script to use with git bisect and a stashed test: https://gist.github.com/progers/998452a15180ae369fee338bb393...
progers7··on Safari Technology Preview Release Notes
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...
progers7··on Peeling away the myth about how the Golden Gate Bridge is painted
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.
progers7··on Introducing the layer based SVG engine
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.

progers7··on Eric Carle has died
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.

progers7··on Full-Bleed Layout Using CSS Grid
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).
progers7··on The Most Likely Way You’ll Get Infected with Covid-19
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...).

progers7··on Black Sky satellites return images just 58 hours after launch
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.
progers7··on Medical research director sees light at the end of the Covid-19 tunnel
"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...

progers7··on Trump suspends H1B, H4 visas till year end
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.
progers7··on Executive order expected to suspend H-1B, other visas until end of year
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.
progers7··on Ask HN: What is wrong with Google Chrome?
I don't think this is true for the chromium project. Bugs filed at https://crbug.com are quickly triaged.
progers7··on A Week in the Life of a McDonald’s Cashier
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.
progers7··on WeWork Parent Weighs Slashing Its Valuation in Half
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.
progers7··on Frosted Glass/Panel Effect, Cross Browser Solution, Vanilla JavaScript and CSS
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.
progers7··on China Announces Punishments for Intellectual-Property Theft
What is plan 3315?
progers7··on Finding and Exploiting Safari Bugs Using Publicly Available Tools
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.

progers7··on Computational Duplo train track layouts
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

progers7··on Pregnancy Discrimination Is Rampant Inside America’s Biggest Companies
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.
progers7··on San Francisco’s Seismic Gamble
Are design parameters such as pile depth part of the public record? Is there a way to lookup the design of a building?
progers7··on San Francisco’s Seismic Gamble
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.
progers7··on A brief update
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.
progers7··on The GRIM test – a method for evaluating published research
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?
progers7··on Symantec/Norton Antivirus Remote Heap/Pool Memory Corruption CVE-2016-2208
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...

progers7··on Dark Patterns by the Boston Globe
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

progers7··on Unable to open links in Safari, Mail or Messages on iOS 9.3
This is the commit that caused the bug: http://trac.webkit.org/changeset/186786

Notice the review line

Page 1 of 2Next →