Stephen Cleary
Stephen Cleary
Looks like it won't be very straightforward: https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/ https://www.boost.org/doc/libs/1_72_0/libs/test/doc/html/boost_test/testing_tools/extended_comparison/floating_point/floating_points_comparison_impl.html In particular, "tolerance" equality isn't transitive, so I'm not sure if these can be made into equality operators or not.
The problem with doing that to `ThenEquateBy` is that it does return an `IEqualityComparer` which has unexpected behavior (not transitive, throwing for `GetHashCode`). Major version 4 of this library did...
This is just some example code. I never even used it in production. That said, I'm open to finding a solution for this. I think the special app domain name...
Is there any reason staticman wasn't used? It would take away a few steps to submit resources, which may increase submissions. First-time experience right now looks like: - Fill out...
That's a good idea. [slugify](https://github.com/simov/slugify) may be useful there.
@graysonhicks > It looks correct to me As noted [in my PR](https://github.com/gatsbyjs/gatsby/pull/30339#issue-835298366), the argument for `shouldComponentUpdate` is the *next* props, not the *previous* props. So the [argument variable named `prevProps`](https://github.com/gatsbyjs/gatsby/blob/423814258ac8666e9823d11dcc65e4a98c792115/packages/gatsby/cache-dir/navigation.js#L227)...
Sure, I could do that! I'll need to disable the async commands, though, since those are not production-ready.
The `NotifyTask` type is almost the same as in my article. It really is just a data-bindable `Task` wrapper, and so it's pretty straightforward. The `AsyncCommand` (and the new `CancelCommand`)...
With the `1.0.0-eta-02` release, the `CancelCommand` usage is greatly simplified: ``` CancelCountCommand = new CancelCommand(); CountUrlBytesCommand = new AsyncCommand(CancelCountCommand.WrapDelegate(async (_, token) => { await TestService.DownloadAndCountBytesAsync(Url, token); })); ```
@roubachof The new `CancelCommand` can also be reused (note: there are no tests for this behavior yet). The only gotcha is that the `CancellationTokenSource` is reference-counted, so if you have...