Anton Bachin

Results 662 comments of Anton Bachin

> @aantron on a side note, I'm using vscode together with `ocaml-lsp-server` and the official OCaml extension. I wanted to format I've edited but it leads to lots of changes...

(But note, if you'd like to format some code you're adding, Dream does have an [`.ocamlformat`](https://github.com/aantron/dream/blob/master/.ocamlformat) in its repo that produces some approximation of a modern, diff-friendly, and Web-oriented style,...

Would you be willing to make a PR for this, calling the option `?filter_empty`?

@yawaramin what was the original context for this? What client was sending `?q=` or `?q= `, and in what circumstance? Is there some kind of inconsistency between clients in this...

I'll have to reproduce it. I'll check whether the Dream playground web server has the same issue. As a note, Dream itself never closes sockets directly. This is done by...

> thanks for confirming. as a user of dream we also don't have to close anything specifically, or do we? Ideally, Dream should take care of as many such things...

Thanks. Do you know if the fds that remain open might be related to any events you observe in the logs?

To add a data point, Python Flask has optional categories that can be any string AFAICT: https://flask.palletsprojects.com/en/1.1.x/patterns/flashing/

> For Elixir, Django, Ruby on Rails users, having flash messages that have no notion of error level might already seem a bit weird For Phoenix, [here](https://hexdocs.pm/phoenix/controllers.html#flash-messages) I see: >...

> For Elixir, Django, Ruby on Rails users, having flash messages that have no notion of error level might already seem a bit weird Django actually has several built-in message...