Emily
Emily
Actually, now that I think of it, the easiest solution seems to be something like this: * write `'\0' crc data` * `fsync` * rewrite the `'\0'` with `'\1'` *...
@stepcut > @neongreen It sounds like that option involves seeks and overwriting data? It could work, but sounds terrible for performance. Huh, I didn't know that overwriting data was slow....
@jberryman > So did this fix the original issue?: serokell@26c9339 Well, yes (as in “incomplete writes don't mess things up for us anymore”), but a) we don't have any way...
@jberryman > Have you written about your experience with rocksdb anywhere? Nope. > Are you using it in a way that's similar to acid-state? Not really – for instance, we...
There's http://hackage.haskell.org/package/aeson-value-parser-0.12.2/docs/Aeson-ValueParser.html, which implements this idea but goes further (it defines different monads for parsing objects, values, etc). I haven't used aeson-value-parser myself but I think it provides a much...
Possibly related workaround: https://github.com/haskell-servant/servant/pull/1409/commits/164bfe96a9d50a56fe6df2fffb956988efe448fe
Okay, but being able to render a bunch of inline nodes would still be nice. For instance, my usecase is “I have a (tight) list and I want each element...
> AFAIK, you produce a value of type GRPCIOError by raising an exception. Doesn't seem to work. For instance, if I do this on the server side: ``` throw $...
(What I would like to get is `ClientIOError (GRPCIOBadStatusCode StatusUnknown (StatusDetails "rate limit descriptor list must not be empty"))`.)
Oh, nevermind, found the solution: ``` method (ServerNormalRequest serverCall request) = do ... serverCallCancel serverCall StatusUnknown "rate limit descriptor list must not be empty" ```