Susan Cheng

Results 20 comments of Susan Cheng

You need something like AuthErrorMiddleware, which’s replacing 401 error by Response. ```swift public final class AuthErrorMiddleware: Middleware { public let type: String public let realm: String public init(type: String, realm:...

> @SusanDoggie In your example, why am I chaining my response creation to the `next` `Responder`, rather than the other way around? It's because you can group your authenticators together...

> Is a "recursive mapped sequence" a term of art for a particular structure? I've never heard of it before, and the documentation so far assumes you pretty much already...

Is bit reverse fit on this? The FFT algorithm required bit reversal https://en.wikipedia.org/wiki/Bit-reversal_permutation https://github.com/apple/swift-numerics/blob/796a0dc3f74a60f102937f61cc363644513671d1/Sources/Accelerate/bit_reverse.swift

It seems that RealType.Magnitude always equal to RealType https://github.com/apple/swift/blob/f5f214de21b24627b9499a1581a64052f1235f09/stdlib/public/core/FloatingPoint.swift#L162

Is there example reproduce the problem?

I have implement Polynomial before, the multiplication of polynomial is done by convolution. https://github.com/SusanDoggie/Doggie/blob/master/Sources/Doggie/Maths/Polynomial.swift I use to solving the system of polynomial equations. That's helpful for finding the intersection of...

There are some of issues in pull-request - Name of module that will not conflict to Apple’s library. - What are the rules for the function name? - Avoid UnsafeBufferPointer...

> Avoid UnsafeBufferPointer with public interfaces if possible. For my experience, it's helpful that having a raw pointer with public interfaces for building some graphic libraries, which is easier to...

Swift forum https://forums.swift.org/t/module-for-digital-signal-processing/30601