James Brock

Results 280 comments of James Brock

__gRPC over HTTP2__ https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md “gRPC does not currently support/use PUSH_PROMISE.” https://stackoverflow.com/a/56741574/187223

@klarkc Not really, I wrote https://github.com/purescript-node/purescript-node-http/pull/45 , which you have seen. Even with that HTTP/2 implementation, there would be more work to implement gRPC.

Well, now https://pursuit.purescript.org/packages/purescript-node-http2 exists, but in my opinion it's not very wieldy yet because the whole API is all `Effect` instead of `Aff`. So, something like 1. Write an `Aff`...

If I were doing this personally for some project which needs PureScript gRPC, what I would actually do is 1. Write an `Aff` API package **purescript-node-http2-aff** depending on https://pursuit.purescript.org/packages/purescript-node-http2 ....

When deserializing a packed repeated scalar field we don't know how many repeated elements are in the field in advance, so we wouldn't be able to preallocate exactly the right...

> When deserializing a packed repeated scalar field we don't know how many repeated elements are in the field in advance, Wait that's not quite true, we know the length...

https://github.com/xc-jp/purescript-protobuf/blob/98324344b7cbd108b6bd924486cd8542f15c8118/src/ProtocPlugin/Main.purs#L143

To support profunctor-lenses, what we would want to do is to code-generate a lens for each field name. https://thomashoneyman.com/articles/practical-profunctor-lenses-optics/#lenses ```purescript -- This lens focuses on the "name" field of a...

Here's a good String-to-Foreign function https://github.com/purescript/purescript-foreign/blob/v5.0.0/examples/Util/Value.purs

Hi @toastal . I haven't been keeping up with the improvements to PureScript in nixpkgs but if anything I would say that **easy-purescript-nix** is superseded by https://github.com/thomashoneyman/purescript-overlay ?