Results 106 comments of Mathieu Decaffmeyer

> My goal was to reduce the amount of Tz data in memory by limiting to this year, +/- 1. So once the modules are compiled, I should only have...

> As I understand it, compilation of `Tz` doesn't trigger the download & compile of the Iana files. It doesn't trigger the download but it *does* trigger the compilation of...

There are two things happening when initially compiling and later on updating to a new iana tz data version: 1. parsing the IANA data files into time zone periods; 2....

Maybe you can link here then: https://hexdocs.pm/elixir/1.12/DateTime.html#module-time-zone-database

> internally refactored Timex to use its own internal timezone database facade This has been committed? What's the module name of the time zone db facade? It will not be...

1. You can reproduce the problem every time consistently? 2. What if you replace: ```elixir polymorphic_embeds_one :channel, types: [ sms: MyApp.Channel.SMS, email: MyApp.Channel.Email ], on_type_not_found: :raise, on_replace: :update ``` by...

Yeah I'm able to test that out later. Full-time jobs suck your time:( What if you add the atoms you use in `:types` at the top? ```elixir :sms :email ```

Are you saying that you have an atom `:foo`, anywhere, and that when you run `:erlang.binary_to_existing_atom("foo", :utf8)` an error is raised?

Ok so the problem is not specific to `PolymorphicEmbed`? 1. You have an atom `:foo` (not related to `PolymorphicEmbed`) 2. You call `:erlang.binary_to_existing_atom("foo", :utf8)` (not related to `PolymorphicEmbed`) 3. An...

Ok so why do we have this behavior? It can create you problems with other libs similarly. I think it's worth asking the Elixir community. The cause? The impact? What...