Steve Cohen

Results 11 issues of Steve Cohen

The Elixir idiom is to have a function that ends with an exclamation point throw an exception, and an unadorned function return `{:ok, response}` or `{:error, reason}`. This PR changes...

This PR adds exceptions to the client, server and struct modules. It's dependent on thrift 0.10 though, and targets the 1.5 branch.

With Thrift 0.9.4 (or 1.0, it depends) we get additional metadata in the erlang implementation that allows us to auto import structs and enums. This eliminates a bunch of boilerplate...

When using elixir-thrift, I found myself doing a lot of this: ```elixir defmodule UsingThrift do alias Thrift.Service.MyEnum alias Thrift.Service.MyOtherEnum require MyEnum require MyOtherEnum end ``` I was thinking that it...

rfc

In investigating a memory leak that I inadvertently introduced in https://github.com/hammerandchisel/loqui/commit/da6abfef8542c1cd706c8d76ec781308676668e1#diff-be585becbb2f7551ac0519f2916ec9d6R137, (it turns out with blocks don't benefit from TCO in 1.4.2), I found several performance optimizations in the server....

enhancement

@jhowarth I noticed a missing function error due to `:crypto.rand_bytes` not being there any more, and there were a bunch of warnings, so I rebased against upstream.

While using elixir-ls, frequently, the code that's sent to the LSP server (and then to elixir_sense) isn't always syntactically accurate, and sometimes elixir_sense will fail and spam the logs. After...

The website says 1.0 alpha is out, but that's an old version. We've been using erlport pretty happily in production for over a year, and I think you should release...

During testing at Whatnot, we found that when emitting around 50k metrics per second, the current pool implementation caused the calling processes to stall while waiting for `:gen_udp` to write...

Completions fail here: ```elixir case Enum.| do end ```