k0001

Results 53 comments of k0001

Hello @juhp! How are you? Good question. There are two reasons for this. 1. The level words (DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY) are not of the same...

I just published `wai-cryptocookie`, a small `wai` library that maybe could be used to implement this. https://hackage.haskell.org/package/wai-cryptocookie/docs/Wai-CryptoCookie.html The library doesn't depend on anything other than what `scotty` already depends on.

Hi @ocramz. Have you seen the example code in the tests? https://github.com/k0001/hs-wai-cryptocookie/blob/master/wai-cryptocookie/test/Main.hs — It's not the most didactic, I know, but you'll see there how to use `Wai.CryptoCookie.middleware` to transform...

As for how `wai-cryptocookie` and `scotty` could be integrated nicely: I'm pretty sure I had an example somewhere, since this was my motivator for writing `wai-cryptocookie` in the first place,...

I submitted a PR with this changes to `nixpkgs` https://github.com/NixOS/nixpkgs/pull/312398 Thank you @tomhoule for pushing this!

> Could you say more about where these attributes are supported? Are they documented anywhere? These C files are designed to work on "reasonably modern" versions of GCC, Clang, and...

No worries. I'm already using this approach downstream in the Haskell bindings, so this is not blocking me in any way. It's likely to be useful in future bindings, though...

To remind you of the motivation for this change: As I mentioned in the pull-request description, the intention here is to make it easier for downstream bindings to build the...

> What's happens when you try to build your Haskell library on Windows? Does the build fail? @oconnor663 you can see the logic here by yourself: https://github.com/k0001/hs-blake3/blob/3d7e209b2ebc11037058758ee62432e8a60f8a03/blake3/blake3.cabal#L53-L89 I have not...

I'm glad to see this being discussed here! I have been thinking about this for a while, too. What do you think of the construction at https://github.com/k0001/baile? I wrote the...