One has to wonder if this due to the global memory shortage. ("Oh - changing our memory allocator to be more efficient will yield $XXM dollar savings over the next year").
HTML parsing supports some of this, e.g: text <b>bold <i>bold-italic</b> italic</i>
We found it was roughly on par performance wise for simple text (latin), and faster for more complex scripts (thai, hindi, etc). It also is more correct when there is kerning across spaces, hyphenation, etc. For the…
Blink's (Chromium) text layout engine works the following way. 1. Layout the entire paragraph of text as a single line. 2. If this doesn't fit into the available width, bisect to the nearest line-break opportunity which…
You can exploit flexbox for this type of layout: https://bfgeek.com/flexbox-image-gallery/
> "At this point, the engineers in Australia decided that a brute-force approach to their safe problem was warranted and applied a power drill to the task. An hour later, the safe was open—but even the newly retrieved…
One thing to keep in mind when developing these large lists of fonts is that they are generally terrible for performance if the appropriate glyphs for what you are trying to display aren't present in the first font (and…
> which are more powerful and is out-of-spec These are in the specification here: https://drafts.fxtf.org/filter-effects-1/#typedef-filter-url And used by backdrop-filter here:…
My biggest pet peeve is designers using high end apple displays. You've average consumer is using a ultra cheap LCD panel that has no where near the contrast ratio that you are designing your mocks on, all of your…
This likely more effective quite a few years ago, but not particularly important today. Changing height typically only shifts elements, and browser engines typically wont relayout them due to position changes.…
Part of the design constraint here is to reuse the existing properties that exist for multi-column layout which have existed for a long time - https://developer.mozilla.org/en-US/docs/Web/CSS/column-rule This proposal…
Yeah - this was arguably mostly my fault (sorry!). There's quite a bit of history here, but the abbreviated version is that the dialog element was originally added as a replacement for window.alert(), and there were a…
The point I was after to make is that you can't assume that road wear scales the same way as tyre wear (I was assuming same material fwiw, just different loads). They are being worn under very different modes/scenarios.
> I think as a starting point, I would expect that tire wear should remain roughly in proportion to road wear IMO this would be a suspect assumption to make w/o data to back it up. You've got two dissimilar materials…
To add to this, (from what I remember reading the study at the time) it was basically racing a car around a track (think lots of tyre squealing around corners), and found that the tyre wear was very high. I haven't seen…
You can create a new thread via. `new Worker` but using a worker requires a separate file, and lots of serialisation code as you communicate via `postMessage`. TC39 module expressions helps but not a lot of movement…
A fun simple gear related concept is "hunting tooth". https://en.wikipedia.org/wiki/Gear_train#Hunting_and_non-hun... Basically you don't want any common denominators in teeth count, otherwise the same sets of teeth…
It depends on the project, but most large scale projects require test(s) for the fix, and will block submission unless its provided. These types of projects undergo constant code-change/refactoring/re-architecture etc.…
These names come from the html spec: https://html.spec.whatwg.org/#workerglobalscope https://html.spec.whatwg.org/#workletglobalscope Chromium (and most other browser engines) will use the specification names for things…
If you have something like: columns: 1fr auto max-content <!-- items --> <div>1</div> <div>somethingsuperlong</div> <div style="span: 2;">something else</div> You first need to decide how big each of the three columns…
The requires it for sizing the columns (the step before placing the items into the columns).
Part of the tension with building masonry on top of grid is that they work in fundamentally different ways. Grid you place everything in the grid first (e.g. an item goes in col:2,row:3), then size the grid. Masonry…
> Are you referring to access through a raw pointer after ownership has been dropped and then garbage collection is non deterministic? No - basically objects sometimes have some state of when they are "destroyed", e.g.…
Oilpan can theoretically be used as a library as well - see: https://v8.dev/blog/oilpan-library https://v8.dev/blog/tags/cppgc https://chromium.googlesource.com/v8/v8.git/+/HEAD/include/c... Due to the nature of web…
> the UAF-ish bugs are still bugs, and code poking at a GC-preserved object that the rest of the code doesn't really expect to still be alive might itself be pretty fraugh For the LayoutObject heirarchy - the team doing…
One has to wonder if this due to the global memory shortage. ("Oh - changing our memory allocator to be more efficient will yield $XXM dollar savings over the next year").
HTML parsing supports some of this, e.g: text <b>bold <i>bold-italic</b> italic</i>
We found it was roughly on par performance wise for simple text (latin), and faster for more complex scripts (thai, hindi, etc). It also is more correct when there is kerning across spaces, hyphenation, etc. For the…
Blink's (Chromium) text layout engine works the following way. 1. Layout the entire paragraph of text as a single line. 2. If this doesn't fit into the available width, bisect to the nearest line-break opportunity which…
You can exploit flexbox for this type of layout: https://bfgeek.com/flexbox-image-gallery/
> "At this point, the engineers in Australia decided that a brute-force approach to their safe problem was warranted and applied a power drill to the task. An hour later, the safe was open—but even the newly retrieved…
One thing to keep in mind when developing these large lists of fonts is that they are generally terrible for performance if the appropriate glyphs for what you are trying to display aren't present in the first font (and…
> which are more powerful and is out-of-spec These are in the specification here: https://drafts.fxtf.org/filter-effects-1/#typedef-filter-url And used by backdrop-filter here:…
My biggest pet peeve is designers using high end apple displays. You've average consumer is using a ultra cheap LCD panel that has no where near the contrast ratio that you are designing your mocks on, all of your…
This likely more effective quite a few years ago, but not particularly important today. Changing height typically only shifts elements, and browser engines typically wont relayout them due to position changes.…
Part of the design constraint here is to reuse the existing properties that exist for multi-column layout which have existed for a long time - https://developer.mozilla.org/en-US/docs/Web/CSS/column-rule This proposal…
Yeah - this was arguably mostly my fault (sorry!). There's quite a bit of history here, but the abbreviated version is that the dialog element was originally added as a replacement for window.alert(), and there were a…
The point I was after to make is that you can't assume that road wear scales the same way as tyre wear (I was assuming same material fwiw, just different loads). They are being worn under very different modes/scenarios.
> I think as a starting point, I would expect that tire wear should remain roughly in proportion to road wear IMO this would be a suspect assumption to make w/o data to back it up. You've got two dissimilar materials…
To add to this, (from what I remember reading the study at the time) it was basically racing a car around a track (think lots of tyre squealing around corners), and found that the tyre wear was very high. I haven't seen…
You can create a new thread via. `new Worker` but using a worker requires a separate file, and lots of serialisation code as you communicate via `postMessage`. TC39 module expressions helps but not a lot of movement…
A fun simple gear related concept is "hunting tooth". https://en.wikipedia.org/wiki/Gear_train#Hunting_and_non-hun... Basically you don't want any common denominators in teeth count, otherwise the same sets of teeth…
It depends on the project, but most large scale projects require test(s) for the fix, and will block submission unless its provided. These types of projects undergo constant code-change/refactoring/re-architecture etc.…
These names come from the html spec: https://html.spec.whatwg.org/#workerglobalscope https://html.spec.whatwg.org/#workletglobalscope Chromium (and most other browser engines) will use the specification names for things…
If you have something like: columns: 1fr auto max-content <!-- items --> <div>1</div> <div>somethingsuperlong</div> <div style="span: 2;">something else</div> You first need to decide how big each of the three columns…
The requires it for sizing the columns (the step before placing the items into the columns).
Part of the tension with building masonry on top of grid is that they work in fundamentally different ways. Grid you place everything in the grid first (e.g. an item goes in col:2,row:3), then size the grid. Masonry…
> Are you referring to access through a raw pointer after ownership has been dropped and then garbage collection is non deterministic? No - basically objects sometimes have some state of when they are "destroyed", e.g.…
Oilpan can theoretically be used as a library as well - see: https://v8.dev/blog/oilpan-library https://v8.dev/blog/tags/cppgc https://chromium.googlesource.com/v8/v8.git/+/HEAD/include/c... Due to the nature of web…
> the UAF-ish bugs are still bugs, and code poking at a GC-preserved object that the rest of the code doesn't really expect to still be alive might itself be pretty fraugh For the LayoutObject heirarchy - the team doing…