Matt Jones
Matt Jones
Attempting to `CSV.decode` a stream that contains non-UTF8 bytes raises a `FunctionClauseError`: ``` ** (FunctionClauseError) no function clause matching in CSV.Decoding.Preprocessing.Lines.starts_sequence?/5 The following arguments were given to CSV.Decoding.Preprocessing.Lines.starts_sequence?/5: # 1...
The messages generated by `GenStateMachine.Translator` don't have the metadata that modern versions of Sentry's reporter (8.0+) is expecting, so they aren't captured at all. This caused some serious head-scratching at...
`ExTwilio.Resource` creates a `find/2` function with a return type of `Parser.parsed_list_response()`: https://github.com/danielberkompas/ex_twilio/blob/master/lib/ex_twilio/resource.ex#L60-L63 but the function it calls (`ExTwilio.Api.find/3`) returns a `Parser.parsed_response`: https://github.com/danielberkompas/ex_twilio/blob/master/lib/ex_twilio/api.ex#L47-L53 This causes Dialyzer failures on working code like:...
Before 0.9.0, a response like `ExTwilio.Lookup.PhoneNumber` had _string_ keys in child maps like `carrier`, because Poison doesn't convert them to atoms: ``` iex> resp_str = "{\"add_ons\":null,\"caller_name\":null,\"carrier\":{\"name\":\"foo\",\"type\":\"bar\"},\"country_code\":\"US\",\"national_format\":\"blergh\",\"phone_number\":\"1234\",\"url\":\"abcd\"}" iex> Poison.decode!(resp_str, as: ExTwilio.Lookup.PhoneNumber.__struct__)...
Passing Elixir AST (for instance, the output of `quote`) triggers the "Elixir record" behavior [here](https://github.com/BjRo/apex/blob/362a5a99a77249615583d7fed6e351967f13ccdf/lib/apex/format/tuple.ex#L13). Example: ``` iex(3)> ast = quote do ...(3)> foo[1].bar ...(3)> end {{:., [], [{{:., [],...
This addresses #9. We have been running this code in production since December without issues.
The 0.4.2 release includes code that defines a top-level `XML` module (from #86), which causes compilation to fail when loaded in a project that also defines a top-level `XML` module...
The `elixirc_options` setting suggested in https://github.com/elixir-lsp/vscode-elixir-ls/pull/188 has several issues: * it's unnecessary, as `debug_info` defaults to `true`. This was incorrectly documented as defaulting to `false` until the documentation was updated...
According to [this article](https://www.lob.com/blog/websocket-org-is-down-here-is-an-alternative) the server at `echo.websocket.org` was shut down in 2021. The author provides an alternative echo server URL, used here. See also [this Elixir forum thread](https://elixirforum.com/t/matcherror-no-match-of-right-hand-side-value-error-websockex-requesterror-code-200-message-ok/51900) where...
I ran into an odd problem today on a company app suite. TL;DR - you need to set `credentials: false` if you want multiple JS endpoints all hitting the same...