Viewing profile — bfgeek
bfgeek
HN member- Joined
- Fri, Aug 31, 2012, 1:30 AM UTC
- HN karma
- 322
- Public activity
- 48 items
- HN profile
- View on Hacker News ↗
About bfgeek
No profile information was provided.
Recent public activity
-
comment
Comment #47403015
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").
-
comment
Comment #46671522
HTML parsing supports some of this, e.g: text bold bold-italic italic
-
comment
Comment #46408007
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 acros…
-
comment
Comment #46407514
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 t…
-
comment
Comment #46337916
You can exploit flexbox for this type of layout: https://bfgeek.com/flexbox-image-gallery/
-
comment
Comment #45707040
> "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 …
-
comment
Comment #45465850
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 displa…
-
comment
Comment #45181787
> 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: htt…
-
comment
Comment #45006904
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 des…
-
comment
Comment #44653329
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 …
-
comment
Comment #43423681
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/d…
-
comment
Comment #43380129
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…
-
comment
Comment #43061030
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 wor…
-
comment
Comment #43060231
> 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.…
-
comment
Comment #43059666
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 …
-
comment
Comment #42603722
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 expressi…
-
comment
Comment #42205881
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 coun…
-
comment
Comment #41360331
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-c…
-
comment
Comment #41359484
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…
-
comment
Comment #40138252
If you have something like: columns: 1fr auto max-content 1 somethingsuperlong something else You first need to decide how big each of the three columns are going to be, then you w…
-
comment
Comment #40137556
The requires it for sizing the columns (the step before placing the items into the columns).
-
comment
Comment #40134887
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,…
-
comment
Comment #39081608
> 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 st…
-
comment
Comment #39080438
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/in…
-
comment
Comment #38897981
> 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 …