chunk_id
large_stringlengths
11
11
question_id
large_stringlengths
8
8
language
large_stringclasses
1 value
chunk_index
int64
0
7
chunk_text
large_stringlengths
113
2.53k
sparse_text
large_stringlengths
128
4.15k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
12
238
sparse_values
listlengths
12
238
export_source
large_stringclasses
1 value
40254936_c0
40254936
elixir
0
Title: A list of maps as argument Problem title: A list of maps as argument Tags: ecto, elixir, phoenix-framework Problem: A list of maps as argument I created a schema that looks as follow: schema "countries" do field :code, :string field :en, :string field :de, :string field :it, :string field :fr, :string timestamps...
A list of maps as argument A list of maps as argument ecto elixir phoenix-framework changeset_all validate_required validate_length unique_constraint A list of maps as argument I created a schema that looks as follow: Now a I want to create changeset function that would accept a list of map. How can I define it? Is thi...
[ -0.007598876953125, -0.004150390625, 0.0004253387451171875, -0.0037994384765625, 0.00131988525390625, -0.007354736328125, -0.0218505859375, -0.0034027099609375, 0.0115966796875, -0.01226806640625, 0.01019287109375, -0.0302734375, 0.02001953125, 0.037353515625, -0.0113525390625, -0.0230...
[ 62, 5303, 111, 22288, 7, 237, 10750, 60751, 15296, 38308, 53073, 33, 4084, 160328, 18244, 65572, 126, 5584, 44622, 67, 3181, 23986, 36998, 2271, 2816, 75935, 61903, 33342, 3444, 28282, 32354, 26946, 61924, 7108, 44691, 8, 420, 51734, 2174, ...
[ 0.044342041015625, 0.1820068359375, 0.103515625, 0.2296142578125, 0.1397705078125, 0.0899658203125, 0.2459716796875, 0.1619873046875, 0.050689697265625, 0.1663818359375, 0.0238800048828125, 0.03240966796875, 0.1136474609375, 0.0760498046875, 0.01318359375, 0.23291015625, 0.2142333984...
embed
51075838_c0
51075838
elixir
0
Title: Elixir/Phoenix - Accessing user's cookie: conn.cookies vs conn.req_cookies vs conn.req_headers Problem title: Elixir/Phoenix - Accessing user's cookie: conn.cookies vs conn.req_cookies vs conn.req_headers Tags: phoenix-framework, elixir Problem: Elixir/Phoenix - Accessing user's cookie: conn.cookies vs...
Elixir/Phoenix - Accessing user's cookie: conn.cookies vs conn.req_cookies vs conn.req_headers Elixir/Phoenix - Accessing user's cookie: conn.cookies vs conn.req_cookies vs conn.req_headers phoenix-framework elixir Elixir Phoenix Accessing conn.cookies conn.req_cookies conn.req_headers _APPNAME_key List.keyfi...
[ -0.00604248046875, 0.005615234375, 0.018310546875, -0.008544921875, 0.0086669921875, 0.03662109375, -0.00885009765625, 0.0035247802734375, 0.015380859375, -0.003662109375, 0.0020904541015625, -0.007568359375, 0.029296875, 0.004486083984375, -0.00396728515625, -0.011962890625, -0.0238...
[ 25318, 38308, 497, 33, 4084, 40266, 38937, 3768, 9332, 158, 19, 5, 36724, 20209, 107, 864, 31251, 53073, 160328, 15296, 133720, 40680, 182512, 19770, 32036, 111607, 31577, 29479, 3370, 6795, 56112, 18, 32786, 4165, 831, 70622, 21342, 27211, ...
[ 0.097412109375, 0.222900390625, 0.0263519287109375, 0.0826416015625, 0.1353759765625, 0.1640625, 0.142578125, 0.06878662109375, 0.274658203125, 0.1251220703125, 0.1260986328125, 0.02777099609375, 0.240966796875, 0.0906982421875, 0.1107177734375, 0.1688232421875, 0.16162109375, 0.01...
embed
76644823_c2
76644823
elixir
2
.PesagroAPI, CotacoesETL.Workers.Pesagro.CotacaoDownloader, one_day, half_minute, start_link, GenServer.start_link, __MODULE__, trigger_fetching, GenServer.cast, Process.send_after, schedule_fetch, handle_cast, Logger.info, Buscando, PesagroAPI.fetch_document, PesagroAPI.fetch_all_links, Date.utc_today, Enum.map, inser...
.PesagroAPI, CotacoesETL.Workers.Pesagro.CotacaoDownloader, one_day, half_minute, start_link, GenServer.start_link, __MODULE__, trigger_fetching, GenServer.cast, Process.send_after, schedule_fetch, handle_cast, Logger.info, Buscando, PesagroAPI.fetch_document, PesagroAPI.fetch_all_links, Date.utc_today, Enum.map, inser...
[ -0.0184326171875, -0.005889892578125, 0.0220947265625, 0.01171875, -0.00555419921875, -0.0166015625, 0.00189971923828125, -0.01318359375, -0.007476806640625, -0.0130615234375, -0.0274658203125, -0.0118408203125, -0.005096435546875, 0.002777099609375, 0.0164794921875, -0.01708984375, ...
[ 6, 5, 18144, 433, 8407, 74220, 4, 1311, 102, 587, 90, 23385, 866, 108259, 1314, 10625, 123142, 144786, 56, 1632, 5636, 23552, 454, 67403, 13, 4034, 10187, 15937, 193348, 17137, 5953, 12013, 397, 129984, 185553, 29362, 59207, 55741, 123996, ...
[ 0.00115966796875, 0.1212158203125, 0.1156005859375, 0.10009765625, 0.251953125, 0.257080078125, 0.0714111328125, 0.1065673828125, 0.11474609375, 0.1644287109375, 0.1217041015625, 0.103271484375, 0.1260986328125, 0.1575927734375, 0.155517578125, 0.08544921875, 0.22509765625, 0.18322...
embed
47578435_c1
47578435
elixir
1
p email_changeset(changeset) do changeset |> validate_required([:email]) |> validate_format(:email, ~r/.+@.+/) |> unique_constraint(:email) end defp phone_changeset(changeset) do changeset |> validate_required([:phone]) |> valid_phone(:phone) |> unique_constraint(:phone) end defp valid_phone(changeset, field) do phone ...
p email_changeset(changeset) do changeset |> validate_required([:email]) |> validate_format(:email, ~r/.+@.+/) |> unique_constraint(:email) end defp phone_changeset(changeset) do changeset |> validate_required([:phone]) |> valid_phone(:phone) |> unique_constraint(:phone) end defp valid_phone(changeset, field) do phone ...
[ -0.005523681640625, 0.008544921875, 0.01806640625, 0.005340576171875, 0.024169921875, 0.006317138671875, -0.038330078125, -0.023681640625, 0.0004253387451171875, 0.01043701171875, -0.0047607421875, 0.016357421875, 0.032470703125, 0.035888671875, 0.006561279296875, -0.000339508056640625...
[ 915, 3340, 152028, 3509, 132, 54, 65572, 126, 44622, 67, 107, 3181, 2822, 12, 25501, 51727, 6780, 42, 1328, 981, 36998, 2271, 2816, 4288, 3564, 8, 420, 254, 24089, 26551, 35604, 44457, 2046, 28394, 17780, 16711, 67967, 685, 2606, 5443, ...
[ 0.126220703125, 0.1680908203125, 0.2261962890625, 0.256103515625, 0.008758544921875, 0.0712890625, 0.21728515625, 0.2078857421875, 0.2254638671875, 0.124267578125, 0.0413818359375, 0.161376953125, 0.13134765625, 0.0196075439453125, 0.154052734375, 0.1934814453125, 0.0643310546875, ...
embed
68732673_c0
68732673
elixir
0
Title: Call Typescript function from within an Phoenix / Elixir GET function Problem title: Call Typescript function from within an Phoenix / Elixir GET function Tags: phoenix-framework, elixir, node.js, apple-wallet, pkpass Problem: Call Typescript function from within an Phoenix / Elixir GET function I am currently w...
Call Typescript function from within an Phoenix / Elixir GET function Call Typescript function from within an Phoenix / Elixir GET function phoenix-framework elixir node.js apple-wallet pkpass within Call Typescript Phoenix Elixir GET node.js Call Typescript function from within an Phoenix / Elixir GET function I am cu...
[ 0.0191650390625, 0.0035552978515625, -0.003387451171875, -0.014892578125, 0.0106201171875, -0.00885009765625, 0.01129150390625, -0.01373291015625, 0.008544921875, -0.054443359375, 0.0009918212890625, 0.0031585693359375, -0.01068115234375, 0.01806640625, -0.007354736328125, 0.0069274902...
[ 26265, 60457, 32032, 32354, 1295, 28032, 133720, 248, 25318, 38308, 79794, 53073, 33, 4084, 160328, 15296, 110, 112, 28175, 108787, 66769, 126, 38988, 13409, 20697, 13452, 765, 10644, 18151, 1884, 11675, 2965, 41361, 43701, 84079, 28282, 4129, ...
[ 0.1702880859375, 0.2047119140625, 0.259765625, 0.1915283203125, 0.0804443359375, 0.166015625, 0.2274169921875, 0.01239013671875, 0.08740234375, 0.212646484375, 0.2152099609375, 0.0064697265625, 0.03143310546875, 0.056304931640625, 0.08331298828125, 0.0819091796875, 0.06414794921875, ...
embed
31457945_c0
31457945
elixir
0
Title: how to use RethinkDB with Phoenixframework? Problem title: how to use RethinkDB with Phoenixframework? Tags: elixir, phoenix-framework, ecto, rethinkdb Problem: how to use RethinkDB with Phoenixframework? Having just arrived to Elixir/Phoenix I want to use RethinkDB instead of PostgreSQL but I only find document...
how to use RethinkDB with Phoenixframework? how to use RethinkDB with Phoenixframework? elixir phoenix-framework ecto rethinkdb RethinkDB Phoenixframework how to use RethinkDB with Phoenixframework? Having just arrived to Elixir/Phoenix I want to use RethinkDB instead of PostgreSQL but I only find documentation/example...
[ -0.00830078125, 0.015869140625, 0.0030059814453125, 0.0130615234375, 0.000308990478515625, 0.017333984375, -0.003814697265625, 0.004669189453125, -0.005157470703125, -0.048828125, 0.0264892578125, -0.0184326171875, 0.01177978515625, 0.00775146484375, -0.0146484375, 0.0037689208984375, ...
[ 3642, 47, 4527, 853, 201950, 39463, 678, 133720, 160328, 18244, 15296, 38308, 53073, 33, 4084, 60751, 456, 48073, 174920, 25318, 497, 3444, 64457, 2795, 7134, 158897, 209806, 302, 114977, 161818, 63399, 4127, 98169, 121665, 13784, 4332, 6169, ...
[ 0.09765625, 0.034576416015625, 0.140380859375, 0.1326904296875, 0.261962890625, 0.267822265625, 0.1353759765625, 0.2354736328125, 0.16259765625, 0.148681640625, 0.04168701171875, 0.1995849609375, 0.0506591796875, 0.08465576171875, 0.1256103515625, 0.173095703125, 0.1021728515625, 0...
embed
37964709_c0
37964709
elixir
0
Title: Are there things Elixir can do that Erlang cannot, or vice versa? Problem title: Are there things Elixir can do that Erlang cannot, or vice versa? Tags: elixir, erlang, beam, erlang-otp Problem: Are there things Elixir can do that Erlang cannot, or vice versa? This question is in the context of the Beam VM and t...
Are there things Elixir can do that Erlang cannot, or vice versa? Are there things Elixir can do that Erlang cannot, or vice versa? elixir erlang beam erlang-otp Elixir Erlang Are there things Elixir can do that Erlang cannot, or vice versa? This question is in the context of the Beam VM and the capabilities that it pr...
[ 0.0022735595703125, 0.01214599609375, 0.014892578125, 0.0042724609375, 0.007293701171875, -0.0069580078125, 0.00640869140625, -0.01318359375, 0.01611328125, 0.0162353515625, -0.012939453125, -0.0244140625, 0.0194091796875, 0.029052734375, 0.0115966796875, -0.0029296875, -0.0144042968...
[ 2685, 8966, 25318, 38308, 831, 54, 450, 1004, 3066, 53418, 22925, 105274, 15296, 72, 186, 302, 818, 254, 707, 873, 43084, 130732, 87344, 4252, 214, 28484, 46876, 3444, 14145, 1733, 30698, 34166, 62822, 60212, 17721, 6626, 65342, 98186, 1117...
[ 0.07061767578125, 0.137451171875, 0.152099609375, 0.302001953125, 0.1190185546875, 0.1180419921875, 0.07763671875, 0.158203125, 0.290771484375, 0.1925048828125, 0.119384765625, 0.134033203125, 0.1109619140625, 0.10302734375, 0.0997314453125, 0.1751708984375, 0.10400390625, 0.100463...
embed
57833079_c0
57833079
elixir
0
Title: How to pass command line arguements to mix run --no-halt Problem title: How to pass command line arguements to mix run --no-halt Tags: elixir-iex, elixir-mix, elixir, erlang-supervisor Problem: How to pass command line arguements to mix run --no-halt So I have an Application module which follows this layout: def...
How to pass command line arguements to mix run --no-halt How to pass command line arguements to mix run --no-halt elixir-iex elixir-mix elixir erlang-supervisor How Project.Application Application _type _args randomchild1 randomchild2 Project.runapp one_for_all Project.Supervisor Supervisor.start_link How to pass comma...
[ 0.0048828125, 0.0196533203125, -0.01531982421875, -0.006683349609375, -0.0135498046875, 0.0052490234375, 0.020263671875, -0.00506591796875, -0.00011396408081054688, -0.0322265625, 0.0033416748046875, -0.005401611328125, 0.000156402587890625, 0.039794921875, 0.006195068359375, 0.0060729...
[ 11249, 27875, 75101, 13315, 106926, 5911, 7, 47, 17664, 11675, 157, 23766, 15296, 38308, 14, 3355, 62015, 72, 3066, 59104, 51858, 27331, 47677, 182867, 104921, 50986, 61477, 96759, 206, 38472, 304, 16428, 9007, 2472, 5584, 73903, 4265, 17137,...
[ 0.0196685791015625, 0.115478515625, 0.1507568359375, 0.1075439453125, 0.2200927734375, 0.176513671875, 0.030487060546875, 0.024505615234375, 0.212646484375, 0.1617431640625, 0.097412109375, 0.2086181640625, 0.0287017822265625, 0.154296875, 0.002349853515625, 0.1021728515625, 0.193725...
embed
43825005_c0
43825005
elixir
0
Title: Phoenix: Use layout with templates of formats differents from html Problem title: Phoenix: Use layout with templates of formats differents from html Tags: phoenix-framework, elixir Problem: Phoenix: Use layout with templates of formats differents from html I have the default app.html.eex in web/templates/layout/...
Phoenix: Use layout with templates of formats differents from html Phoenix: Use layout with templates of formats differents from html phoenix-framework elixir html Phoenix Use app.html.eex html.eex app.rss.eex rss.eex put_layout Exampleapp.LayoutView Phoenix: Use layout with templates of formats differents from html I ...
[ -0.0079345703125, 0.0260009765625, -0.01019287109375, 0.022216796875, 0.00872802734375, 0.000370025634765625, -0.007415771484375, -0.0072021484375, 0.012939453125, -0.0419921875, 0.001983642578125, -0.00811767578125, 0.01611328125, 0.021484375, -0.0028228759765625, 0.0128173828125, -...
[ 133720, 36836, 108802, 678, 110934, 9384, 12921, 1295, 7693, 53073, 33, 4084, 160328, 15296, 38308, 4027, 13, 3355, 4295, 151756, 7, 3884, 5259, 6056, 89536, 9007, 53, 100474, 114977, 1467, 2982, 92558, 43240, 5299, 171763, 11435, 98816, 1094...
[ 0.273681640625, 0.1357421875, 0.272705078125, 0.099365234375, 0.24365234375, 0.1883544921875, 0.132080078125, 0.07489013671875, 0.2091064453125, 0.045562744140625, 0.0697021484375, 0.1021728515625, 0.090087890625, 0.048736572265625, 0.1689453125, 0.1806640625, 0.0784912109375, 0.19...
embed
48111944_c0
48111944
elixir
0
Title: Elixir. Get lowest date diff (seconds/minutes/hours/days/years) Problem title: Elixir. Get lowest date diff (seconds/minutes/hours/days/years) Tags: elixir Problem: Elixir. Get lowest date diff (seconds/minutes/hours/days/years) I am new to elixir community and trying to follow elixir way coding, so i need an ad...
Elixir. Get lowest date diff (seconds/minutes/hours/days/years) Elixir. Get lowest date diff (seconds/minutes/hours/days/years) elixir Elixir Get Timex.parse ISO:Extended Enum.map Map.keys Timex.diff Timex.now Enum.filter List.first Elixir. Get lowest date diff (seconds/minutes/hours/days/years) I am new to elixir comm...
[ -0.005615234375, -0.01031494140625, -0.002349853515625, 0.01043701171875, -0.0196533203125, -0.0098876953125, 0.00872802734375, -0.00225830078125, -0.001983642578125, -0.0262451171875, -0.0011138916015625, 0.01129150390625, 0.01043701171875, 0.0208740234375, -0.000316619873046875, -0.0...
[ 25318, 38308, 5, 20779, 459, 25617, 5622, 71337, 191633, 67403, 497, 5636, 46799, 15296, 19055, 425, 2500, 17408, 35548, 357, 316, 62346, 42719, 19770, 152462, 35613, 120337, 32036, 13448, 3525, 26908, 3917, 552, 6238, 115992, 831, 2046, 1733...
[ 0.1209716796875, 0.2318115234375, 0.00775146484375, 0.08380126953125, 0.1417236328125, 0.2127685546875, 0.134033203125, 0.266845703125, 0.1531982421875, 0.13330078125, 0.058197021484375, 0.07855224609375, 0.074951171875, 0.0745849609375, 0.135009765625, 0.1361083984375, 0.06579589843...
embed
40580151_c0
40580151
elixir
0
Title: ecto cast_assoc find or create Problem title: ecto cast_assoc find or create Tags: ecto, elixir, phoenix-framework Problem: ecto cast_assoc find or create When calling cast_assoc , I'd like a 'find or create' style behavior. Is there an easy way to do this in Ecto? As a contrived example, a user belongs_to a fav...
ecto cast_assoc find or create ecto cast_assoc find or create ecto elixir phoenix-framework cast_assoc belongs_to color.name user.color_id Repo.insert Color User User.changeset Jim ecto cast_assoc find or create When calling cast_assoc , I'd like a 'find or create' style behavior. Is there an easy way to do this in Ect...
[ 0.00323486328125, -0.0087890625, 0.0029144287109375, 0.002166748046875, 0.01953125, -0.013671875, -0.0120849609375, 0.015869140625, 0.005157470703125, -0.0299072265625, -0.00933837890625, 0.017578125, 0.00933837890625, 0.01043701171875, 0.0093994140625, -0.007537841796875, -0.0185546...
[ 60751, 37702, 73395, 238, 7413, 707, 28282, 15296, 38308, 53073, 33, 4084, 160328, 18244, 10617, 188, 10576, 11627, 38937, 46133, 532, 853, 771, 33657, 51193, 53400, 152028, 3509, 41994, 159029, 71, 1884, 111607, 20623, 123166, 23468, 3917, 5...
[ 0.2418212890625, 0.189697265625, 0.16162109375, 0.165283203125, 0.1990966796875, 0.183349609375, 0.2548828125, 0.056304931640625, 0.1793212890625, 0.02545166015625, 0.0465087890625, 0.115478515625, 0.0968017578125, 0.0257720947265625, 0.1590576171875, 0.06463623046875, 0.209716796875...
embed
42620183_c0
42620183
elixir
0
Title: How do I make a HTTP GET request to a Kerberos protected site using Elixir (or Erlang)? Problem title: How do I make a HTTP GET request to a Kerberos protected site using Elixir (or Erlang)? Tags: kerberos, https, elixir, gssapi, erlang Problem: How do I make a HTTP GET request to a Kerberos protected site using...
How do I make a HTTP GET request to a Kerberos protected site using Elixir (or Erlang)? How do I make a HTTP GET request to a Kerberos protected site using Elixir (or Erlang)? kerberos https elixir gssapi erlang Elixir requests requests_kerberos HTTPKerberosAuth How HTTP GET Kerberos Erlang OPTIONAL kerberos_auth mutua...
[ -0.005828857421875, 0.0203857421875, -0.00604248046875, -0.01287841796875, 0, -0.04345703125, -0.01416015625, -0.0240478515625, 0.00130462646484375, -0.0218505859375, 0.026123046875, 0.0164794921875, -0.03173828125, -0.00372314453125, -0.01708984375, -0.00750732421875, -0.00939941406...
[ 11249, 3249, 135913, 79794, 50336, 47, 7354, 1297, 232, 30312, 1764, 17368, 25318, 38308, 1004, 3066, 5244, 3975, 15296, 1192, 1434, 72, 1728, 56, 67362, 162026, 916, 199849, 1003, 63250, 3794, 27781, 31, 1363, 1884, 145581, 3714, 831, 1660...
[ 0.058746337890625, 0.07958984375, 0.252685546875, 0.2269287109375, 0.20654296875, 0.09808349609375, 0.14306640625, 0.196044921875, 0.211669921875, 0.177978515625, 0.1358642578125, 0.031036376953125, 0.1104736328125, 0.259033203125, 0.123779296875, 0.25048828125, 0.086181640625, 0.2...
embed
50519593_c2
50519593
elixir
2
.Ecto.Rollback.run/2 (elixir) lib/enum.ex:737: Enum."-each/2-lists^foreach/1-0-"/2 (elixir) lib/enum.ex:737: Code signals: Mariaex.Error, Elixir, Ecto, ecto.migrate, ecto.rollback, App.Repo.Migrations.CreateTokens, Ecto.Migration, user_id, on_delete, delete_all, on_update, update_all, unique_index, unique_tokens_index,...
.Ecto.Rollback.run/2 (elixir) lib/enum.ex:737: Enum."-each/2-lists^foreach/1-0-"/2 (elixir) lib/enum.ex:737: Code signals: Mariaex.Error, Elixir, Ecto, ecto.migrate, ecto.rollback, App.Repo.Migrations.CreateTokens, Ecto.Migration, user_id, on_delete, delete_all, on_update, update_all, unique_index, unique_tokens_index,...
[ 0.0179443359375, -0.00469970703125, 0.012939453125, -0.00543212890625, 0.004058837890625, 0.0216064453125, -0.0140380859375, -0.032958984375, 0.005615234375, -0.0103759765625, 0.0030670166015625, 0.018310546875, 0.021484375, 0.01324462890625, 0.0198974609375, -0.017822265625, -0.0039...
[ 5, 647, 44150, 211258, 12620, 16428, 12477, 6169, 38308, 25474, 33, 316, 3355, 115252, 357, 41581, 6562, 89700, 934, 180033, 12, 28864, 26073, 5379, 18468, 31611, 25318, 241, 4, 60751, 58849, 17957, 27722, 5659, 4332, 771, 594, 72482, 63784...
[ 0.04119873046875, 0.090576171875, 0.302001953125, 0.145751953125, 0.263671875, 0.2042236328125, 0.20751953125, 0.112548828125, 0.27978515625, 0.16845703125, 0.090087890625, 0.20947265625, 0.157470703125, 0.2469482421875, 0.09954833984375, 0.13916015625, 0.2008056640625, 0.089172363...
embed
61802529_c0
61802529
elixir
0
Title: Elixir lists with tuples modifications Problem title: Elixir lists with tuples modifications Tags: elixir Problem: Elixir lists with tuples modifications I'm trying to create the following list: ["extract-audio", "audio-format", "mp3"] Based on: options = ["extract-audio", "audio-format": "mp3"] My code to move ...
Elixir lists with tuples modifications Elixir lists with tuples modifications elixir Elixir mp3 Enum.map List.flatten is_tuple Tuple.to_list is_binary Elixir lists with tuples modifications I'm trying to create the following list: Based on: My code to move from the supplied options to the preferred list: The returned l...
[ -0.0128173828125, 0.004241943359375, -0.00933837890625, 0.0184326171875, 0.000743865966796875, 0.00160980224609375, -0.01373291015625, -0.0126953125, 0.0038604736328125, 0.028564453125, 0.0036163330078125, -0.01416015625, 0.0152587890625, 0.035888671875, -0.021484375, -0.0120849609375,...
[ 25318, 38308, 5303, 678, 370, 99726, 129344, 15296, 9607, 363, 357, 316, 62346, 32036, 150632, 510, 83, 458, 8705, 1371, 188, 6562, 19155, 1294, 31577, 28282, 25632, 44978, 98, 18151, 25813, 1295, 120384, 50717, 12601, 2822, 176377, 39555, ...
[ 0.116943359375, 0.2218017578125, 0.2259521484375, 0.054443359375, 0.086181640625, 0.1881103515625, 0.177490234375, 0.057525634765625, 0.05755615234375, 0.1241455078125, 0.04351806640625, 0.145263671875, 0.14111328125, 0.1715087890625, 0.1181640625, 0.1727294921875, 0.07257080078125, ...
embed
67286052_c0
67286052
elixir
0
Title: How to remove img tag inside div to set background image? Waffle (amazonS3) generated link Problem title: How to remove img tag inside div to set background image? Waffle (amazonS3) generated link Tags: css, phoenix-framework, elixir Problem: How to remove img tag inside div to set background image? Waffle (amaz...
How to remove img tag inside div to set background image? Waffle (amazonS3) generated link How to remove img tag inside div to set background image? Waffle (amazonS3) generated link css phoenix-framework elixir How Waffle amazonS3 book_img myproject.s3.amazonaws.com xxx.jpg How to remove img tag inside div to set backg...
[ -0.0198974609375, 0.00872802734375, 0.004058837890625, 0.0002956390380859375, 0.000125885009765625, -0.00093841552734375, -0.0003414154052734375, 0.00067901611328125, 0.003143310546875, -0.047607421875, 0.0064697265625, 0.044189453125, -0.0133056640625, 0.000629425048828125, 0.0194091796...
[ 11249, 87388, 566, 177, 7909, 46132, 18221, 5423, 76615, 29569, 3316, 4902, 133, 54149, 191, 294, 21320, 139392, 3126, 20763, 33, 4084, 160328, 18244, 15296, 38308, 2527, 5870, 363, 12877, 464, 759, 95322, 2887, 37102, 19725, 20112, 25687, ...
[ 0.03936767578125, 0.1995849609375, 0.1513671875, 0.11767578125, 0.209716796875, 0.1456298828125, 0.2105712890625, 0.09564208984375, 0.2188720703125, 0.1689453125, 0.136962890625, 0.1875, 0.17529296875, 0.0287017822265625, 0.012786865234375, 0.049072265625, 0.161376953125, 0.0903930...
embed
46140434_c1
46140434
elixir
1
bl.VideoController do use Rumbl.Web, :controller alias Rumbl.Video def action(conn, _) do apply(__MODULE__, action_name(conn), [conn, conn.params, conn.assigns.current_user]) end def index(conn, _params, user) do videos = Repo.all(user_videos(user)) |> Repo.preload(:category) render(conn, "index.html", videos: videos) ...
bl.VideoController do use Rumbl.Web, :controller alias Rumbl.Video def action(conn, _) do apply(__MODULE__, action_name(conn), [conn, conn.params, conn.assigns.current_user]) end def index(conn, _params, user) do videos = Repo.all(user_videos(user)) |> Repo.preload(:category) render(conn, "index.html", videos: videos) ...
[ -0.022216796875, 0.004852294921875, 0.0162353515625, -0.007568359375, 0.00384521484375, 0.00616455078125, 0.004669189453125, -0.0322265625, 0.006683349609375, -0.04833984375, -0.0289306640625, -0.0390625, -0.0089111328125, 0.0250244140625, -0.0281982421875, 0.020263671875, -0.0009193...
[ 10006, 5, 25073, 175904, 603, 54, 4527, 27976, 9030, 30474, 4, 152, 81988, 55109, 8, 420, 22631, 2271, 19, 101, 59911, 12013, 397, 129984, 11627, 158, 2500, 8256, 162, 31304, 163812, 65918, 3564, 63262, 38937, 21930, 853, 771, 5584, 10248...
[ 0.2071533203125, 0.0926513671875, 0.2471923828125, 0.25732421875, 0.211669921875, 0.089111328125, 0.1644287109375, 0.18505859375, 0.28857421875, 0.2086181640625, 0.01324462890625, 0.0594482421875, 0.22705078125, 0.1903076171875, 0.1116943359375, 0.08056640625, 0.19189453125, 0.1052...
embed
67483128_c0
67483128
elixir
0
Title: Python Django equivelant of preloading in Elixir Ecto Problem title: Python Django equivelant of preloading in Elixir Ecto Tags: django, ecto, elixir, python, orm Problem: Python Django equivelant of preloading in Elixir Ecto So I am coming from Elixir and Phoenix Background now working in a Django project. At t...
Python Django equivelant of preloading in Elixir Ecto Python Django equivelant of preloading in Elixir Ecto django ecto elixir python orm Python Django Elixir Ecto Shop models.Model models.TextField Product models.ForeignKey Context.get_by_id Some Python Django equivelant of preloading in Elixir Ecto So I am coming fro...
[ 0.01263427734375, 0.0157470703125, -0.00112152099609375, 0.00186920166015625, -0.01385498046875, -0.013671875, -0.00811767578125, 0.00262451171875, -0.006011962890625, -0.06298828125, -0.0003261566162109375, 0.0037384033203125, -0.01202392578125, -0.006622314453125, 0.00555419921875, -...
[ 145581, 39424, 27803, 60715, 2601, 1236, 479, 63033, 214, 23, 25318, 38308, 241, 44150, 107473, 60751, 15296, 17198, 50828, 707, 39, 24211, 115774, 140290, 174379, 6159, 19388, 73111, 18537, 38529, 162429, 22829, 3794, 38162, 133720, 26828, 643...
[ 0.240478515625, 0.105712890625, 0.248046875, 0.0870361328125, 0.1387939453125, 0.0924072265625, 0.1551513671875, 0.2232666015625, 0.05169677734375, 0.0150604248046875, 0.0970458984375, 0.2161865234375, 0.09552001953125, 0.279296875, 0.0306396484375, 0.1904296875, 0.0377197265625, 0...
embed
44661263_c0
44661263
elixir
0
Title: Strange format of json response Problem title: Strange format of json response Tags: elixir-poison, phoenix-framework, elixir Problem: Strange format of json response I have a Phoenix app which is basically API. I have the following view: defmodule TattooBackend.Web.API.V1.AccountView do use TattooBackend.Web, :...
Strange format of json response Strange format of json response elixir-poison phoenix-framework elixir Strange TattooBackend.Web.API.V1.AccountView TattooBackend.Web TattooBackend.Repo my_account.json Repo.preload account.studio account.id account.email account.studio.id account.studio.name asdasdsadsa123123 o2.pl Stra...
[ -0.01312255859375, -0.01129150390625, -0.0098876953125, -0.015625, -0.012939453125, 0.015869140625, -0.01275634765625, 0.01708984375, 0.004608154296875, -0.019287109375, 0.016357421875, 0.0223388671875, -0.01068115234375, 0.007415771484375, 0.029541015625, 0.0093994140625, -0.0201416...
[ 187791, 9384, 1647, 1681, 57553, 15296, 38308, 120178, 191, 53073, 33, 4084, 160328, 18244, 121596, 152470, 3611, 30474, 74220, 856, 418, 71013, 100474, 771, 213499, 170, 4692, 63033, 15426, 52629, 532, 25501, 17457, 433, 48636, 5442, 2424, 1...
[ 0.1937255859375, 0.2235107421875, 0.123291015625, 0.202392578125, 0.211181640625, 0.045257568359375, 0.1805419921875, 0.18603515625, 0.131591796875, 0.021209716796875, 0.050994873046875, 0.114501953125, 0.08160400390625, 0.0216522216796875, 0.2093505859375, 0.056243896484375, 0.09301...
embed
50419643_c1
50419643
elixir
1
cf01c8df306", name: "john", person_id: 5, phone_number: "2134323197" }, %Texting.Sales.LineItem{ id: "cf0bfd68-7eaf-4ad3-acbe-4001adf4442b", name: "Mom", person_id: 1, phone_number: "1232844340" }, %Texting.Sales.LineItem{ id: "bbd868be-690a-431a-bd67-07ecf3fe6dd8", name: "Dad", person_id: 2, phone_number: "1234578547"...
cf01c8df306", name: "john", person_id: 5, phone_number: "2134323197" }, %Texting.Sales.LineItem{ id: "cf0bfd68-7eaf-4ad3-acbe-4001adf4442b", name: "Mom", person_id: 1, phone_number: "1232844340" }, %Texting.Sales.LineItem{ id: "bbd868be-690a-431a-bd67-07ecf3fe6dd8", name: "Dad", person_id: 2, phone_number: "1234578547"...
[ 0.0025482177734375, -0.0026092529296875, -0.0078125, -0.0089111328125, 0.0213623046875, 0.031005859375, -0.00140380859375, 0.004730224609375, 0.0106201171875, -0.03271484375, 0.0118408203125, -0.0115966796875, 0.0194091796875, 0.00096893310546875, 0.0167236328125, 0.0001659393310546875...
[ 67466, 6746, 1019, 71, 420, 1197, 910, 9351, 66159, 19, 3445, 532, 190, 24089, 2606, 1297, 114082, 6460, 5016, 14773, 1745, 174379, 214, 52779, 90, 5, 93232, 2982, 3447, 16028, 83754, 88471, 594, 306, 106, 48636, 3882, 126384, 2839, 17222...
[ 0.06988525390625, 0.04058837890625, 0.0240478515625, 0.0144805908203125, 0.047119140625, 0.126220703125, 0.1224365234375, 0.089599609375, 0.1514892578125, 0.08349609375, 0.1087646484375, 0.050567626953125, 0.1136474609375, 0.1778564453125, 0.0187835693359375, 0.02972412109375, 0.0976...
embed
42913395_c0
42913395
elixir
0
Title: Gatling stress tool + Phoenix Problem title: Gatling stress tool + Phoenix Tags: phoenix-framework, elixir, gatling Problem: Gatling stress tool + Phoenix I try to record script via gatling recorder. -> click on Start! -> set proxy to address 127.0.0.1 and port 8000 (in my system config) -> load page: http://185...
Gatling stress tool + Phoenix Gatling stress tool + Phoenix phoenix-framework elixir gatling io.netty.handler.ssl.NotSslRecordException Gatling Phoenix Downloads recorder.bat GATLING_HOME JAVA Program Files jdk1.8.0_72 java.exe WARN i.n.b.ServerBootstrap Unknown TCP_NODELAY ERROR i.g.r.h.h.u.HttpsUserHandler Handshake ...
[ -0.0021209716796875, 0.00445556640625, -0.0035858154296875, -0.01458740234375, -0.005584716796875, 0.001861572265625, 0.0096435546875, 0.0034942626953125, -0.006103515625, -0.023681640625, 0.004058837890625, 0.0233154296875, 0.01348876953125, -0.00445556640625, 0.01055908203125, -0.003...
[ 79785, 2069, 11405, 55516, 997, 133720, 53073, 33, 4084, 160328, 15296, 38308, 27294, 22995, 939, 74258, 24861, 122116, 32271, 63928, 4857, 17164, 56, 2848, 132819, 45134, 841, 91245, 189950, 7663, 42724, 1647, 5740, 119044, 2389, 12825, 79, ...
[ 0.2156982421875, 0.2403564453125, 0.2095947265625, 0.205810546875, 0.05841064453125, 0.2449951171875, 0.018402099609375, 0.03826904296875, 0.1226806640625, 0.0889892578125, 0.024871826171875, 0.191650390625, 0.18896484375, 0.1346435546875, 0.0799560546875, 0.169921875, 0.16455078125,...
embed
40072066_c0
40072066
elixir
0
Title: Dynamically create JSON-api relationships in Elixir Phoenix Problem title: Dynamically create JSON-api relationships in Elixir Phoenix Tags: ecto, elixir, phoenix-framework Problem: Dynamically create JSON-api relationships in Elixir Phoenix We have quite a few tests where we manually put in relationships. We do...
Dynamically create JSON-api relationships in Elixir Phoenix Dynamically create JSON-api relationships in Elixir Phoenix ecto elixir phoenix-framework Dynamically JSON-api Elixir Phoenix build_relationships relationship_map Map.put user.id String.to_atom Dynamically create JSON-api relationships in Elixir Phoenix We hav...
[ -0.0050048828125, -0.00762939453125, 0.00823974609375, 0.0096435546875, -0.005279541015625, -0.00872802734375, -0.01904296875, 0.01611328125, 0.00262451171875, -0.0390625, -0.00714111328125, 0.01025390625, -0.00543212890625, 0.00543212890625, 0.02783203125, 0.017822265625, -0.0052185...
[ 73327, 39, 71407, 28282, 821, 58627, 40897, 151618, 25318, 38308, 133720, 60751, 15296, 53073, 33, 4084, 160328, 45367, 107, 57860, 16070, 76755, 62346, 42719, 7077, 38937, 532, 23351, 188, 5928, 109921, 23009, 3884, 23, 43240, 5885, 3444, 11...
[ 0.1370849609375, 0.1065673828125, 0.0240936279296875, 0.1470947265625, 0.14208984375, 0.24169921875, 0.1988525390625, 0.253173828125, 0.10595703125, 0.2308349609375, 0.260986328125, 0.1800537109375, 0.0697021484375, 0.06878662109375, 0.099853515625, 0.12255859375, 0.08843994140625, ...
embed
54401486_c1
54401486
elixir
1
f to check all the logs of the machine and I found this: channel 3: open failed: administratively prohibited: open failed my_app_name sshd[8917]: error: connect_to flame@99.999.99.999: unknown host (Name or service not known) /scripts/watchdog.sh") my_app_name CRON[9985]: pam_unix(cron:session): session closed for user...
f to check all the logs of the machine and I found this: channel 3: open failed: administratively prohibited: open failed my_app_name sshd[8917]: error: connect_to flame@99.999.99.999: unknown host (Name or service not known) /scripts/watchdog.sh") my_app_name CRON[9985]: pam_unix(cron:session): session closed for user...
[ -0.006805419921875, 0.0400390625, -0.00567626953125, 0.02197265625, 0.022216796875, -0.00946044921875, -0.004119873046875, -0.000682830810546875, -0.004730224609375, -0.047119140625, 0.0179443359375, -0.0301513671875, 0.02490234375, 0.005462646484375, 0.0079345703125, -0.0250244140625,...
[ 1238, 12765, 756, 12684, 7, 36279, 14037, 86723, 22408, 9803, 165523, 86757, 63323, 3674, 759, 9007, 11627, 91, 20257, 18949, 2489, 18499, 37067, 188, 42009, 13, 981, 1126, 177951, 65040, 51, 69723, 27980, 163612, 707, 4516, 959, 51529, 320...
[ 0.08770751953125, 0.1761474609375, 0.0282135009765625, 0.1619873046875, 0.036865234375, 0.1702880859375, 0.01153564453125, 0.1949462890625, 0.1849365234375, 0.1895751953125, 0.2003173828125, 0.1651611328125, 0.1409912109375, 0.0826416015625, 0.05517578125, 0.1458740234375, 0.10461425...
embed
44104123_c0
44104123
elixir
0
Title: How to pass a reference to a dynamic function in macro in Elixir? Problem title: How to pass a reference to a dynamic function in macro in Elixir? Tags: macros, elixir Problem: How to pass a reference to a dynamic function in macro in Elixir? some_dynamic_atom = :"prefix_#{name}" quote do Task.Supervisor.async_n...
How to pass a reference to a dynamic function in macro in Elixir? How to pass a reference to a dynamic function in macro in Elixir? macros elixir How Elixir some_dynamic_atom prefix_ Task.Supervisor.async_nolink Tasks.Chain Should prefix_smth Mod.fun How to pass a reference to a dynamic function in macro in Elixir? I n...
[ 0.0093994140625, 0.00970458984375, 0.019287109375, 0.0033721923828125, -0.006622314453125, -0.01123046875, 0.00005078315734863281, -0.0050048828125, -0.00775146484375, -0.0498046875, -0.0125732421875, 0.0152587890625, 0.0023040771484375, 0.0020751953125, 0.0201416015625, 0.013732910156...
[ 11249, 27875, 91067, 47, 84079, 32354, 111789, 25318, 38308, 23, 15296, 242554, 5928, 183114, 9598, 73903, 51858, 12654, 157, 10187, 1224, 62467, 39, 927, 16269, 16498, 28282, 9351, 92, 18499, 56649, 79459, 100, 619, 84751, 125195, 9384, 9161...
[ 0.030242919921875, 0.1597900390625, 0.2386474609375, 0.08154296875, 0.2406005859375, 0.2103271484375, 0.223388671875, 0.11474609375, 0.262939453125, 0.060211181640625, 0.059234619140625, 0.2098388671875, 0.1734619140625, 0.2156982421875, 0.129150390625, 0.05621337890625, 0.1430664062...
embed
62657614_c0
62657614
elixir
0
Title: Is it possible to implement Many-To-Many association on the same entity/table using ecto Problem title: Is it possible to implement Many-To-Many association on the same entity/table using ecto Tags: elixir, associations, ecto, many-to-many Problem: Is it possible to implement Many-To-Many association on the same...
Is it possible to implement Many-To-Many association on the same entity/table using ecto Is it possible to implement Many-To-Many association on the same entity/table using ecto elixir associations ecto many-to-many ecto Many-To-Many User join_through has_many Is it possible to implement Many-To-Many association on the...
[ -0.00384521484375, 0.019775390625, 0.0074462890625, 0.00433349609375, 0.00104522705078125, -0.00030517578125, 0.01495361328125, 0.00189208984375, 0.03076171875, -0.041259765625, -0.0128173828125, 0.007476806640625, 0.015380859375, -0.00592041015625, -0.0026092529296875, 0.013916015625,...
[ 2071, 442, 7722, 29479, 52455, 7763, 12662, 53, 125413, 98, 5701, 77630, 939, 22819, 17368, 60751, 15296, 38308, 151747, 5941, 188, 669, 53400, 33284, 222521, 1556, 23180, 36998, 158978, 22799, 169581, 15700, 69307, 57801, 33120, 8562, 28219, ...
[ 0.07037353515625, 0.04095458984375, 0.2132568359375, 0.22119140625, 0.232421875, 0.268310546875, 0.2037353515625, 0.186767578125, 0.25830078125, 0.0654296875, 0.1710205078125, 0.14599609375, 0.08795166015625, 0.2401123046875, 0.1270751953125, 0.2469482421875, 0.0694580078125, 0.226...
embed
71848673_c0
71848673
elixir
0
Title: Make Google Cloud Storage Object Public in Elixir Problem title: Make Google Cloud Storage Object Public in Elixir Tags: elixir, google-cloud-storage Problem: Make Google Cloud Storage Object Public in Elixir I'm using google_api_storage v0.33.0 with Goth to create objects in the bucket. However created objects ...
Make Google Cloud Storage Object Public in Elixir Make Google Cloud Storage Object Public in Elixir elixir google-cloud-storage Make Google Cloud Storage Object Elixir google_api_storage v0.33.0 GoogleApi.Storage.V1.Api.ObjectAccessControls.storage_object_access_controls_insert example.txt Make Google Cloud Storage Obj...
[ 0.006072998046875, 0.01904296875, 0.0294189453125, -0.0196533203125, 0.01153564453125, 0.007110595703125, -0.01007080078125, -0.005615234375, -0.01129150390625, 0.0208740234375, 0.010009765625, -0.035888671875, 0.01324462890625, 0.00009822845458984375, 0.01287841796875, -0.008666992187...
[ 26176, 1815, 48316, 208071, 134549, 16934, 23, 25318, 38308, 15296, 26484, 182422, 140464, 40897, 429, 81, 170179, 132265, 1434, 188, 29838, 856, 418, 46471, 75161, 26531, 175904, 187694, 113041, 81988, 33657, 27781, 124326, 17368, 678, 159960, ...
[ 0.0899658203125, 0.1827392578125, 0.2039794921875, 0.251220703125, 0.232177734375, 0.2374267578125, 0.043975830078125, 0.1270751953125, 0.2474365234375, 0.0799560546875, 0.1358642578125, 0.16259765625, 0.1810302734375, 0.137939453125, 0.005950927734375, 0.034881591796875, 0.107543945...
embed
73678671_c0
73678671
elixir
0
Title: Adding indentation when rending variables in template. How? Problem title: Adding indentation when rending variables in template. How? Tags: elixir Problem: Adding indentation when rending variables in template. How? How do I make EEx output multi-line strings, while being indentation aware? template = """ <%= m...
Adding indentation when rending variables in template. How? Adding indentation when rending variables in template. How? elixir Adding How multi_line_text_with_indentation EEx.eval_string IO.puts Adding indentation when rending variables in template. How? How do I make EEx output multi-line strings, while being indentat...
[ -0.005126953125, -0.0296630859375, 0.01129150390625, 0.0152587890625, -0.00970458984375, 0.00762939453125, 0.005889892578125, 0.005615234375, 0.004638671875, -0.03564453125, 0.005462646484375, -0.002655029296875, -0.0003261566162109375, 0.0211181640625, 0.0245361328125, 0.012451171875,...
[ 62, 59725, 18597, 22062, 29943, 214, 77336, 110934, 11249, 15296, 38308, 6024, 2256, 22829, 76228, 21704, 241, 19279, 13, 1405, 91693, 17780, 7077, 140992, 79315, 107419, 8561, 104851, 35829, 19882, 32354, 88996, 28, 35782, 187016, 15190, 46132...
[ 0.0266571044921875, 0.112548828125, 0.17626953125, 0.173828125, 0.142822265625, 0.0367431640625, 0.20361328125, 0.251708984375, 0.037353515625, 0.035888671875, 0.18701171875, 0.1104736328125, 0.1455078125, 0.1046142578125, 0.03179931640625, 0.146728515625, 0.0711669921875, 0.187011...
embed
57962872_c0
57962872
elixir
0
Title: Ejabberd / elixir plugin and external dependencies Problem title: Ejabberd / elixir plugin and external dependencies Tags: elixir, ejabberd Problem: Ejabberd / elixir plugin and external dependencies We are using ejabberd in docker, starting from official docker image. This docker image has ability to use custom...
Ejabberd / elixir plugin and external dependencies Ejabberd / elixir plugin and external dependencies elixir ejabberd Ejabberd Ejabberd / elixir plugin and external dependencies We are using ejabberd in docker, starting from official docker image. This docker image has ability to use custom plugins, that are in module_...
[ 0.00677490234375, 0.0205078125, -0.005950927734375, 0.0198974609375, -0.0157470703125, 0.040283203125, -0.0021820068359375, -0.0181884765625, -0.010498046875, -0.0289306640625, -0.010498046875, -0.00112152099609375, 0.0146484375, 0.03759765625, 0.0211181640625, 0.00157928466796875, -...
[ 241, 145, 102459, 71, 248, 15296, 38308, 69993, 136, 173591, 42548, 117538, 28, 17368, 54, 11050, 72134, 51521, 29569, 81273, 114122, 88996, 60427, 78303, 98816, 9969, 1340, 50717, 29048, 58442, 133, 26698, 8781, 201960, 31, 8999, 43240, 3444...
[ 0.09527587890625, 0.166259765625, 0.223876953125, 0.153076171875, 0.0313720703125, 0.09130859375, 0.2384033203125, 0.24609375, 0.040130615234375, 0.189208984375, 0.251220703125, 0.1363525390625, 0.07855224609375, 0.013916015625, 0.06524658203125, 0.205322265625, 0.014007568359375, ...
embed
48615176_c0
48615176
elixir
0
Title: Docker Elixir mix &#x27;command not found&#x27; Problem title: Docker Elixir mix &#x27;command not found&#x27; Tags: elixir, dockerfile, docker, docker-compose Problem: Docker Elixir mix 'command not found' Trying to set up docker with a new Phoenix/Elixir app. I've shared the Dockerfile I'm using below. When I ...
Docker Elixir mix &#x27;command not found&#x27; Docker Elixir mix &#x27;command not found&#x27; elixir dockerfile docker docker-compose Docker Elixir Phoenix elixir:1.6.1 node:8.2 Install RUN local.hex local.rebar archive.install github.com phx_new.ez WORKDIR EXPOSE Docker Elixir mix 'command not found' Trying to set u...
[ 0.00775146484375, 0.0203857421875, 0.01806640625, 0.02294921875, -0.00421142578125, 0.0296630859375, -0.0004177093505859375, -0.0001735687255859375, 0.0031280517578125, -0.01031494140625, 0.00286865234375, -0.004547119140625, 0.0341796875, 0.0264892578125, -0.0244140625, 0.000797271728...
[ 984, 11050, 25318, 38308, 17664, 3768, 277, 12018, 959, 14037, 15296, 54, 29822, 78381, 133720, 173245, 110, 128423, 107951, 130747, 4000, 1106, 425, 107, 1299, 147488, 80383, 62270, 32102, 11521, 54936, 1255, 231355, 123237, 104165, 7285, 5423...
[ 0.12255859375, 0.2413330078125, 0.14208984375, 0.251953125, 0.2437744140625, 0.0406494140625, 0.1561279296875, 0.2451171875, 0.09893798828125, 0.18359375, 0.1083984375, 0.09320068359375, 0.1693115234375, 0.1871337890625, 0.20751953125, 0.1361083984375, 0.061004638671875, 0.12255859...
embed
34255311_c0
34255311
elixir
0
Title: how to extend elixir phoenixframework html form helper Problem title: how to extend elixir phoenixframework html form helper Tags: phoenix-framework, html, helper, forms, elixir Problem: how to extend elixir phoenixframework html form helper I tryed to extend Phoenix.HTML.Form module of the phoenixframework . My...
how to extend elixir phoenixframework html form helper how to extend elixir phoenixframework html form helper phoenix-framework html helper forms elixir Phoenix.HTML.Form.Extension timex_date_input Phoenix.HTML.Form text_input how to extend elixir phoenixframework html form helper I tryed to extend Phoenix.HTML.Form mo...
[ 0.0084228515625, -0.00799560546875, 0.01129150390625, 0.02294921875, 0.00118255615234375, -0.01123046875, -0.005279541015625, 0.00927734375, -0.0093994140625, -0.05419921875, 0.006439208984375, -0.012451171875, 0.0030059814453125, 0.005218505859375, -0.00274658203125, -0.00142669677734...
[ 3642, 47, 65042, 15296, 38308, 53073, 33, 4084, 160328, 18244, 7693, 3173, 4358, 56, 133720, 127068, 102973, 19279, 128872, 1733, 425, 17489, 73, 7986, 9790, 88996, 137565, 107730, 44457, 5622, 34292, 4527, 49935, 107617, 1434, 11050, 3525, 9...
[ 0.0684814453125, 0.01837158203125, 0.2288818359375, 0.10052490234375, 0.2047119140625, 0.0740966796875, 0.09271240234375, 0.060821533203125, 0.13232421875, 0.08380126953125, 0.177978515625, 0.192138671875, 0.2021484375, 0.1165771484375, 0.226318359375, 0.181884765625, 0.1875, 0.039...
embed
58457240_c1
58457240
elixir
1
def change_request(%Request{} = request) do Request.changeset(request, %{}) end Which goes to lib/project/tms/request.ex (schema) def changeset(request, attrs) do request |> cast(attrs, [:name, :event_id, :email, :request_count] |> validate_required([:name, :event_id, :email, :request_count] lib/project_web/tms/reques...
def change_request(%Request{} = request) do Request.changeset(request, %{}) end Which goes to lib/project/tms/request.ex (schema) def changeset(request, attrs) do request |> cast(attrs, [:name, :event_id, :email, :request_count] |> validate_required([:name, :event_id, :email, :request_count] lib/project_web/tms/reques...
[ -0.006988525390625, 0.00714111328125, 0.01397705078125, -0.0186767578125, 0.01336669921875, 0.00182342529296875, -0.000804901123046875, -0.0167236328125, 0.005462646484375, -0.0283203125, -0.0027923583984375, 0.000888824462890625, -0.0016021728515625, 0.05322265625, -0.00921630859375, ...
[ 8, 420, 15549, 107, 75616, 3949, 4332, 2203, 50336, 54, 853, 152028, 3509, 3564, 60899, 25474, 95322, 18, 4432, 3355, 7560, 192, 65572, 126, 243, 4295, 37702, 27639, 11627, 90141, 532, 25501, 71013, 44622, 3181, 14051, 54936, 7693, 3173, ...
[ 0.0584716796875, 0.046539306640625, 0.27978515625, 0.1285400390625, 0.253662109375, 0.118896484375, 0.057647705078125, 0.056640625, 0.257568359375, 0.0748291015625, 0.11865234375, 0.2227783203125, 0.1915283203125, 0.0928955078125, 0.013580322265625, 0.10516357421875, 0.143310546875, ...
embed
37633544_c0
37633544
elixir
0
Title: How to pipe the results of Enum.join into Regex.scan in Elixir? Problem title: How to pipe the results of Enum.join into Regex.scan in Elixir? Tags: elixir Problem: How to pipe the results of Enum.join into Regex.scan in Elixir? From the docs on pipe operator, I see "The |> symbol used in the snippet above is th...
How to pipe the results of Enum.join into Regex.scan in Elixir? How to pipe the results of Enum.join into Regex.scan in Elixir? elixir How Enum.join Regex.scan Elixir String.split A-Z List.flatten How to pipe the results of Enum.join into Regex.scan in Elixir? From the docs on pipe operator, I see "The |> symbol used i...
[ -0.005828857421875, -0.01611328125, -0.016845703125, 0.0294189453125, -0.0137939453125, 0.0208740234375, -0.01361083984375, -0.007049560546875, 0.0089111328125, -0.01129150390625, 0.01092529296875, 0.02294921875, 0.00384521484375, -0.0006103515625, -0.009765625, 0.0038299560546875, 0...
[ 11249, 137158, 50339, 357, 316, 513, 73, 3934, 11678, 3355, 7, 4398, 25318, 38308, 23, 15296, 23351, 7008, 4353, 62, 9, 1511, 32036, 150632, 510, 39933, 58745, 2740, 26582, 11814, 93, 36917, 51776, 140992, 125195, 25737, 5609, 10922, 5117, ...
[ 0.0504150390625, 0.2340087890625, 0.168212890625, 0.1339111328125, 0.23779296875, 0.1719970703125, 0.1510009765625, 0.1221923828125, 0.1497802734375, 0.209228515625, 0.018707275390625, 0.193115234375, 0.117919921875, 0.24951171875, 0.04541015625, 0.0640869140625, 0.1148681640625, 0...
embed
44486884_c0
44486884
elixir
0
Title: Does not recognize field in Ecto migration, even after flush Problem title: Does not recognize field in Ecto migration, even after flush Tags: elixir, ecto Problem: Does not recognize field in Ecto migration, even after flush I'm following something similar to this answer , by adding a field and populating it in...
Does not recognize field in Ecto migration, even after flush Does not recognize field in Ecto migration, even after flush elixir ecto Does Ecto Repo.all Post Enum.map p.title String.downcase URI.char_unreserved to_string Ecto.Changeset.cast Repo.update_all Does not recognize field in Ecto migration, even after flush I'...
[ 0.0019378662109375, 0.00180816650390625, 0.0087890625, 0.020751953125, 0.0028228759765625, 0.01361083984375, 0.0033416748046875, -0.0038909912109375, -0.006072998046875, 0.005615234375, -0.00347900390625, 0.007080078125, -0.0025787353515625, -0.002197265625, 0.0123291015625, -0.0405273...
[ 959, 125296, 44457, 23, 241, 44150, 212416, 3853, 7103, 14838, 1495, 15296, 38308, 60751, 853, 771, 5584, 2795, 357, 316, 62346, 5440, 23351, 34695, 58437, 46492, 9254, 56, 47, 91693, 127008, 126, 55741, 117008, 154107, 27623, 7464, 44402, ...
[ 0.1075439453125, 0.19140625, 0.2384033203125, 0.0181121826171875, 0.09033203125, 0.255126953125, 0.19921875, 0.0259552001953125, 0.08251953125, 0.2080078125, 0.13427734375, 0.034393310546875, 0.1693115234375, 0.2188720703125, 0.06353759765625, 0.1375732421875, 0.1124267578125, 0.12...
embed
45393655_c0
45393655
elixir
0
Title: How to Create an Erlang property list from Elixir Problem title: How to Create an Erlang property list from Elixir Tags: elixir Problem: How to Create an Erlang property list from Elixir I am trying to write tests in Elixir that call Erlang code similar to this: foo([{property_one = P1, property_two = P2}|_] = R...
How to Create an Erlang property list from Elixir How to Create an Erlang property list from Elixir elixir Elixir How Create Erlang property_one property_two Rows erlang:display module.foo How to Create an Erlang property list from Elixir I am trying to write tests in Elixir that call Erlang code similar to this: I thi...
[ 0.018798828125, 0.0145263671875, -0.000904083251953125, 0.004913330078125, 0.00347900390625, -0.0169677734375, 0.0003814697265625, -0.00537109375, 0.0091552734375, -0.005645751953125, 0.01226806640625, 0.01025390625, 0.0011138916015625, 0.01470947265625, 0.0034637451171875, 0.014038085...
[ 11249, 151313, 1004, 3066, 57266, 5303, 1295, 25318, 38308, 15296, 3630, 55547, 96190, 72, 3827, 20706, 88996, 3584, 31, 142, 33022, 109921, 11782, 18151, 21373, 166117, 26785, 2053, 10644, 27875, 47, 32354, 64549, 8951, 10336, 6626, 44691, 6...
[ 0.0183563232421875, 0.144775390625, 0.1693115234375, 0.28369140625, 0.2098388671875, 0.201416015625, 0.06463623046875, 0.1070556640625, 0.245361328125, 0.03546142578125, 0.142333984375, 0.1595458984375, 0.209228515625, 0.093017578125, 0.01800537109375, 0.1446533203125, 0.110595703125...
embed
29924170_c0
29924170
elixir
0
Title: Elixir - Looping through and adding to map Problem title: Elixir - Looping through and adding to map Tags: enumeration, elixir Problem: Elixir - Looping through and adding to map I'm rebuilding something in Elixir from some code I built in C#. It was pretty hacked together, but works perfectly (although not on L...
Elixir - Looping through and adding to map Elixir - Looping through and adding to map enumeration elixir Elixir Looping Map URL List RssPost post.url historic.add Elixir - Looping through and adding to map I'm rebuilding something in Elixir from some code I built in C#. It was pretty hacked together, but works perfectl...
[ -0.0146484375, -0.005096435546875, -0.003997802734375, 0.0250244140625, 0.008544921875, 0.005096435546875, 0.0260009765625, 0.004119873046875, 0.00140380859375, -0.051025390625, 0.010986328125, 0.01312255859375, 0.0036773681640625, 0.004364013671875, 0.01953125, -0.00848388671875, -0...
[ 25318, 38308, 199694, 214, 8305, 136, 154107, 47, 22288, 189085, 1363, 15296, 42719, 31862, 32036, 115034, 49411, 1305, 25002, 105719, 4028, 456, 146049, 23, 18151, 88303, 313, 4904, 28875, 256, 76622, 25842, 43240, 169123, 29908, 177149, 12765...
[ 0.1502685546875, 0.28857421875, 0.158935546875, 0.04461669921875, 0.1732177734375, 0.0062255859375, 0.152099609375, 0.053985595703125, 0.1734619140625, 0.250732421875, 0.071533203125, 0.09686279296875, 0.175048828125, 0.1875, 0.1314697265625, 0.1260986328125, 0.0931396484375, 0.073...
embed
40311362_c0
40311362
elixir
0
Title: Phoenix 1.0 to 1.2: Unchecked dependencies for environment dev Problem title: Phoenix 1.0 to 1.2: Unchecked dependencies for environment dev Tags: elixir, phoenix-framework Problem: Phoenix 1.0 to 1.2: Unchecked dependencies for environment dev I am updating Phoenix from 1.0 to 1.2 I followed the steps to upgrad...
Phoenix 1.0 to 1.2: Unchecked dependencies for environment dev Phoenix 1.0 to 1.2: Unchecked dependencies for environment dev elixir phoenix-framework Phoenix Unchecked phoenix_pubsub_redis Hex phoenix_html phoenix_ecto Mix Can Phoenix 1.0 to 1.2: Unchecked dependencies for environment dev I am updating Phoenix from 1....
[ 0.0089111328125, 0.0003337860107421875, 0.0166015625, 0.006011962890625, 0.0181884765625, 0.0216064453125, -0.0181884765625, 0.00286865234375, 0.00714111328125, 0.0191650390625, 0.0089111328125, -0.0174560546875, 0.0223388671875, 0.0177001953125, 0.0028839111328125, 0.01361083984375, ...
[ 133720, 53855, 47, 34635, 992, 78292, 297, 42548, 117538, 65998, 33245, 15296, 38308, 53073, 33, 4084, 160328, 111596, 22144, 107, 3827, 1529, 425, 7693, 60751, 37286, 4171, 100, 1257, 56464, 1295, 134629, 98441, 116086, 38245, 61747, 615, 73...
[ 0.2939453125, 0.17041015625, 0.11181640625, 0.23681640625, 0.1085205078125, 0.1937255859375, 0.0086669921875, 0.2178955078125, 0.11669921875, 0.1712646484375, 0.1920166015625, 0.030670166015625, 0.1590576171875, 0.08258056640625, 0.0928955078125, 0.1131591796875, 0.0848388671875, 0...
embed
41628877_c0
41628877
elixir
0
Title: Phoenix default json dates parse differently in Chrome / Firefox Problem title: Phoenix default json dates parse differently in Chrome / Firefox Tags: phoenix-framework, elixir, ecto Problem: Phoenix default json dates parse differently in Chrome / Firefox I’m trying to serve the automatic timestamp inserted_at ...
Phoenix default json dates parse differently in Chrome / Firefox Phoenix default json dates parse differently in Chrome / Firefox phoenix-framework elixir ecto Phoenix Chrome Firefox inserted_at message.json message.id message.content Ecto.DateTime.to_iso8601 message.inserted_at Phoenix default json dates parse differe...
[ 0.000576019287109375, 0.005645751953125, -0.0033416748046875, 0.01312255859375, -0.0211181640625, -0.01324462890625, -0.05419921875, 0.009765625, -0.00994873046875, -0.0242919921875, 0.003448486328125, 0.0223388671875, 0.03369140625, 0.01531982421875, -0.0003204345703125, 0.02807617187...
[ 133720, 114977, 1647, 1681, 112474, 366, 184, 12921, 538, 32178, 248, 43568, 23, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 183540, 257, 26008, 5, 170, 532, 69246, 241, 44150, 86291, 70059, 188, 16369, 15276, 6746, 33657, 297, 315...
[ 0.30859375, 0.281494140625, 0.1370849609375, 0.2257080078125, 0.2000732421875, 0.174560546875, 0.05010986328125, 0.1627197265625, 0.006103515625, 0.2166748046875, 0.07110595703125, 0.2252197265625, 0.002288818359375, 0.07501220703125, 0.10015869140625, 0.07568359375, 0.09857177734375...
embed
47458611_c1
47458611
elixir
1
")}", "Content-Type": "application/x-www-form-urlencoded"] But then, when I actually try to get a new access token by using HTTPoison : HTTPoison.post refresh_url, grants, refresh_headers I get the following error: { "errors": [ { "errorType": "invalid_grant", "message": "Refresh token invalid: my_refresh_token. Visit ...
")}", "Content-Type": "application/x-www-form-urlencoded"] But then, when I actually try to get a new access token by using HTTPoison : HTTPoison.post refresh_url, grants, refresh_headers I get the following error: { "errors": [ { "errorType": "invalid_grant", "message": "Refresh token invalid: my_refresh_token. Visit ...
[ 0.008544921875, 0.004791259765625, 0.00946044921875, -0.004852294921875, 0.005615234375, -0.0308837890625, -0.00970458984375, -0.00592041015625, -0.0036468505859375, 0.04443359375, 0.0498046875, -0.006866455078125, -0.00360107421875, -0.0089111328125, -0.016845703125, -0.012939453125, ...
[ 25352, 196707, 101687, 425, 1574, 5037, 25002, 66332, 48141, 4966, 7068, 20653, 9790, 2046, 3525, 17203, 47, 1098, 17368, 135913, 31, 40514, 4594, 210651, 80731, 31251, 1314, 25632, 18499, 188800, 73, 7013, 30962, 74157, 238781, 56649, 759, 2...
[ 0.058929443359375, 0.1973876953125, 0.0885009765625, 0.018280029296875, 0.10321044921875, 0.1905517578125, 0.149658203125, 0.171142578125, 0.0509033203125, 0.0149383544921875, 0.00347900390625, 0.05059814453125, 0.101806640625, 0.03521728515625, 0.1175537109375, 0.167724609375, 0.156...
embed
62954799_c0
62954799
elixir
0
Title: Elixir Postgres view returning empty dataset when testing Problem title: Elixir Postgres view returning empty dataset when testing Tags: elixir, postgresql, testing, view Problem: Elixir Postgres view returning empty dataset when testing I am trying to test a view created in Postgres, but it is returning an empt...
Elixir Postgres view returning empty dataset when testing Elixir Postgres view returning empty dataset when testing elixir postgresql testing view Ecto.Changeset Elixir Postgres CREATE VIEW example_view test_view user_id with_example_data Schema.ExampleView IO.inspect Repo.all Elixir Postgres view returning empty datas...
[ 0.01177978515625, -0.006378173828125, -0.00750732421875, 0.000682830810546875, 0.0299072265625, -0.000400543212890625, -0.0130615234375, -0.02783203125, 0.000652313232421875, -0.00109100341796875, 0.0067138671875, 0.00433349609375, -0.029052734375, 0.0037994384765625, -0.01531982421875, ...
[ 25318, 38308, 2795, 17562, 21455, 30646, 201505, 2053, 3509, 3229, 134234, 15296, 1305, 99247, 44150, 127008, 126, 175151, 204148, 27781, 22751, 3034, 38937, 10135, 34702, 192, 11, 33209, 100474, 17780, 16711, 771, 31577, 75935, 16750, 5423, 18...
[ 0.070068359375, 0.1854248046875, 0.0831298828125, 0.192626953125, 0.218994140625, 0.1312255859375, 0.174560546875, 0.0677490234375, 0.099853515625, 0.012237548828125, 0.18994140625, 0.030853271484375, 0.02838134765625, 0.07244873046875, 0.0975341796875, 0.0462646484375, 0.05480957031...
embed
50614698_c0
50614698
elixir
0
Title: How should I manage inserting into related tables Problem title: How should I manage inserting into related tables Tags: phoenix-framework, absinthe, ecto, elixir, graphql Problem: How should I manage inserting into related tables I have an account table that links to an emails table, roughly as follows: Current...
How should I manage inserting into related tables How should I manage inserting into related tables phoenix-framework absinthe ecto elixir graphql How cast_assoc Email.changeset test.com How should I manage inserting into related tables I have an account table that links to an emails table, roughly as follows: Currentl...
[ 0.000553131103515625, -0.001800537109375, -0.01202392578125, 0.00799560546875, 0.0177001953125, 0.0208740234375, -0.0208740234375, -0.016357421875, -0.006195068359375, -0.042236328125, 0.0031280517578125, 0.0024261474609375, -0.01055908203125, 0.03759765625, -0.000774383544921875, 0.00...
[ 11249, 5608, 111240, 183540, 214, 3934, 62548, 23180, 33, 4084, 160328, 1563, 1596, 2347, 60751, 15296, 38308, 41382, 99247, 37702, 73395, 238, 14886, 152028, 3509, 3034, 15426, 22317, 47, 3340, 65572, 126, 4527, 50065, 23, 3871, 22691, 2053,...
[ 0.041961669921875, 0.047515869140625, 0.1754150390625, 0.2464599609375, 0.1163330078125, 0.17236328125, 0.196533203125, 0.201904296875, 0.008758544921875, 0.0775146484375, 0.066162109375, 0.037811279296875, 0.04315185546875, 0.130615234375, 0.2039794921875, 0.03436279296875, 0.180175...
embed
37687262_c0
37687262
elixir
0
Title: DRY duplicated code over multiple controllers Problem title: DRY duplicated code over multiple controllers Tags: elixir, phoenix-framework Problem: DRY duplicated code over multiple controllers I have a couple of nested routes under /users/:user_id/... with controllers which need the user . In all those controll...
DRY duplicated code over multiple controllers DRY duplicated code over multiple controllers elixir phoenix-framework DRY user_id MyApp.XyzController MyApp.Web assign_user _opts conn.params Repo.get MyApp.User invalid_user put_flash Invalid page_path DRY duplicated code over multiple controllers I have a couple of neste...
[ -0.01031494140625, -0.01080322265625, 0.0012359619140625, -0.005767822265625, 0.006500244140625, 0.0172119140625, -0.0108642578125, -0.020751953125, 0.0242919921875, -0.07568359375, -0.019775390625, -0.00604248046875, 0.0025634765625, 0.021240234375, -0.0003185272216796875, -0.00411987...
[ 391, 34388, 171763, 3674, 18151, 645, 48716, 185373, 15296, 38308, 53073, 33, 4084, 160328, 18244, 38937, 532, 2646, 39179, 1542, 32189, 175904, 603, 30474, 95486, 65918, 2146, 158, 2500, 8256, 771, 1062, 2189, 56649, 3884, 5544, 7013, 9191, ...
[ 0.14501953125, 0.288818359375, 0.25732421875, 0.1033935546875, 0.250244140625, 0.124755859375, 0.1864013671875, 0.283203125, 0.0455322265625, 0.1785888671875, 0.044036865234375, 0.0611572265625, 0.11767578125, 0.102783203125, 0.02069091796875, 0.162841796875, 0.0748291015625, 0.044...
embed
54494557_c0
54494557
elixir
0
Title: Using fragment &amp; group_by together with postgres &amp; ecto? Problem title: Using fragment &amp; group_by together with postgres &amp; ecto? Tags: elixir, ecto, phoenix-framework Problem: Using fragment & group_by together with postgres & ecto? query: SELECT date_trunc('hour',c0."inserted_at") as hour, c0."l...
Using fragment &amp; group_by together with postgres &amp; ecto? Using fragment &amp; group_by together with postgres &amp; ecto? elixir ecto phoenix-framework Postgrex.Error Using group_by query_clicks Click date_trunc c.inserted_at c.link_id c.hour Repo.all Shortr.LinkContext.query_clicks QUERY ERROR SELECT inserted_...
[ 0.01519775390625, -0.00139617919921875, -0.00439453125, -0.01165771484375, -0.0235595703125, -0.01031494140625, -0.018310546875, 0.0037384033203125, -0.00299072265625, -0.057861328125, -0.029052734375, 0.01708984375, 0.00762939453125, -0.00592041015625, -0.01116943359375, 0.00189971923...
[ 345, 6953, 38551, 25133, 21115, 454, 1272, 25842, 678, 1305, 17562, 60751, 15296, 38308, 53073, 33, 4084, 160328, 18244, 2795, 7134, 425, 18468, 31611, 41, 123278, 21138, 5622, 9774, 8766, 33657, 10187, 497, 474, 853, 771, 5584, 82990, 6428...
[ 0.1312255859375, 0.04852294921875, 0.309326171875, 0.061279296875, 0.2493896484375, 0.02496337890625, 0.212890625, 0.1383056640625, 0.0994873046875, 0.076904296875, 0.2340087890625, 0.2392578125, 0.042938232421875, 0.182861328125, 0.010162353515625, 0.034332275390625, 0.0997314453125...
embed
46097623_c0
46097623
elixir
0
Title: Example about Task.Supervisor.async_stream_nolink? Problem title: Example about Task.Supervisor.async_stream_nolink? Tags: elixir Problem: Example about Task.Supervisor.async_stream_nolink? Trying to apply Task.Supervisor.async_stream_nolink with little test, but not working.. Here is my implementation: defmodul...
Example about Task.Supervisor.async_stream_nolink? Example about Task.Supervisor.async_stream_nolink? elixir Example Task.Supervisor.async_stream_nolink MySupervisor Supervisor start_link Supervisor.start_link __MODULE__ Basic one_for_one GenServer GenServer.start_link String.codepoints Enum.count Enum.reduce IO.puts M...
[ -0.0198974609375, 0.0311279296875, -0.011962890625, -0.01031494140625, 0.005706787109375, -0.005523681640625, 0.050537109375, 0.0004520416259765625, -0.006011962890625, -0.0302734375, -0.0159912109375, -0.016357421875, 0.0155029296875, 0.037109375, 0.00860595703125, -0.0179443359375, ...
[ 89536, 8705, 9598, 92, 73903, 51858, 12654, 238, 86429, 157, 10187, 1672, 15296, 38308, 2646, 4265, 4034, 17137, 12013, 91692, 15937, 193348, 23351, 40899, 38496, 316, 71013, 106357, 17780, 40858, 59911, 10176, 3034, 959, 20697, 208124, 18499, ...
[ 0.14013671875, 0.0548095703125, 0.17822265625, 0.1268310546875, 0.16748046875, 0.25146484375, 0.1893310546875, 0.0214691162109375, 0.2095947265625, 0.1475830078125, 0.2249755859375, 0.00146484375, 0.042022705078125, 0.186767578125, 0.041168212890625, 0.160400390625, 0.05987548828125,...
embed
74034432_c1
74034432
elixir
1
ABCDEF", bill_number: "0", delayed_quota_history_days: 0, due_date: ~U[2020-03-25 00:00:00Z], inte_adjust: "A", loan_code: "999-399-06-00-00001", payment_date: ~U[1970-01-01 00:00:00Z], plan_number: 0, previous_payment_date: ~U[1970-01-01 00:00:01Z], previous_quota_state: "UNKNOWN", previous_state_sub_code: "UNKNOWN", ...
ABCDEF", bill_number: "0", delayed_quota_history_days: 0, due_date: ~U[2020-03-25 00:00:00Z], inte_adjust: "A", loan_code: "999-399-06-00-00001", payment_date: ~U[1970-01-01 00:00:00Z], plan_number: 0, previous_payment_date: ~U[1970-01-01 00:00:01Z], previous_quota_state: "UNKNOWN", previous_state_sub_code: "UNKNOWN", ...
[ -0.0031890869140625, -0.002349853515625, -0.008544921875, 0.01513671875, 0.0252685546875, -0.00445556640625, -0.01275634765625, 0.002166748046875, 0.0299072265625, 0.02880859375, 0.006317138671875, 0.01129150390625, -0.01318359375, 0.017822265625, -0.00176239013671875, -0.0010604858398...
[ 47457, 202001, 830, 54727, 454, 2606, 1297, 12, 2389, 8, 5259, 297, 41502, 11, 979, 86385, 5636, 757, 4, 4743, 17489, 6780, 1062, 1065, 49409, 37151, 2588, 110095, 6632, 1511, 268, 892, 712, 20314, 284, 111628, 40899, 65040, 8316, 5046, ...
[ 0.19970703125, 0.298583984375, 0.1236572265625, 0.248291015625, 0.0236358642578125, 0.1593017578125, 0.130126953125, 0.06097412109375, 0.20361328125, 0.1878662109375, 0.2626953125, 0.181396484375, 0.2012939453125, 0.1593017578125, 0.0859375, 0.1351318359375, 0.1851806640625, 0.1909...
embed
30252084_c0
30252084
elixir
0
Title: Why Phoenix doesn&#x27;t use Plug to start the server? Problem title: Why Phoenix doesn&#x27;t use Plug to start the server? Tags: elixir, phoenix-framework Problem: Why Phoenix doesn't use Plug to start the server? liveforeverx on irc has answered my original question and I have modified this question as a foll...
Why Phoenix doesn&#x27;t use Plug to start the server? Why Phoenix doesn&#x27;t use Plug to start the server? elixir phoenix-framework Why Phoenix Plug Plug.Adapters.Cowboy.http Why Phoenix doesn't use Plug to start the server? liveforeverx on irc has answered my original question and I have modified this question as a...
[ -0.00799560546875, 0.02099609375, 0.0155029296875, 0.003936767578125, -0.0272216796875, 0.023193359375, -0.0224609375, -0.005126953125, 0.0118408203125, -0.0306396484375, -0.0103759765625, 0.005706787109375, 0.005584716796875, 0.0174560546875, 0.00445556640625, -0.01544189453125, -0....
[ 44084, 133720, 22027, 18, 4527, 194351, 4034, 10723, 47, 15296, 38308, 53073, 33, 4084, 160328, 22409, 2631, 23962, 8770, 30885, 5475, 6867, 89700, 814, 425, 193, 56566, 98, 32354, 72134, 552, 434, 15400, 17368, 31470, 152378, 38496, 135679, ...
[ 0.08868408203125, 0.291015625, 0.045013427734375, 0.076904296875, 0.1368408203125, 0.259765625, 0.1796875, 0.197265625, 0.005828857421875, 0.033233642578125, 0.1578369140625, 0.06787109375, 0.0833740234375, 0.1151123046875, 0.0631103515625, 0.049530029296875, 0.1072998046875, 0.100...
embed
55309276_c0
55309276
elixir
0
Title: Applying filters on subscriptions Problem title: Applying filters on subscriptions Tags: elixir, absinthe Problem: Applying filters on subscriptions Im trying to apply filters in subscription but I’m having some trouble in the resolver file. the absinth resolution requires as a parameter a {:ok, params} o {:erro...
Applying filters on subscriptions Applying filters on subscriptions elixir absinthe Applying current_token _current_token filter_subscription _args _info _ctx Not Authorized IO.inspect String.contains item.name _hey IO.puts Applying filters on subscriptions Im trying to apply filters in subscription but I’m having some...
[ -0.0009002685546875, 0.028076171875, 0.004486083984375, 0.00147247314453125, -0.00799560546875, -0.005859375, -0.003692626953125, 0.01531982421875, -0.00146484375, 0.000698089599609375, -0.0025177001953125, 0.00897216796875, -0.0004825592041015625, 0.028564453125, 0, 0.006805419921875,...
[ 5659, 538, 46312, 7, 98, 1614, 59478, 214, 15296, 38308, 1563, 1596, 2347, 43581, 6448, 33, 163812, 22144, 61477, 7319, 15390, 425, 11205, 61804, 29367, 17780, 16711, 23351, 98102, 35735, 11627, 59028, 7077, 31577, 59911, 23, 63134, 58061, ...
[ 0.1146240234375, 0.1007080078125, 0.25732421875, 0.08465576171875, 0.1014404296875, 0.1756591796875, 0.2418212890625, 0.0237274169921875, 0.052642822265625, 0.20361328125, 0.1182861328125, 0.1282958984375, 0.214111328125, 0.1556396484375, 0.11767578125, 0.09100341796875, 0.1342773437...
embed
49498232_c0
49498232
elixir
0
Title: New to Elixir - Concatenate two lists Problem title: New to Elixir - Concatenate two lists Tags: elixir Problem: New to Elixir - Concatenate two lists I'm new to Elixir and I'm trying to create a simple anonymous function that concatenates two lists of atoms. Correctly, the code written is: concat = fn(x,y) -> x...
New to Elixir - Concatenate two lists New to Elixir - Concatenate two lists elixir FunctionClauseError Elixir Concatenate list_concat erl_eval New to Elixir - Concatenate two lists I'm new to Elixir and I'm trying to create a simple anonymous function that concatenates two lists of atoms. Correctly, the code written is...
[ 0.0108642578125, 0.0103759765625, 0.003753662109375, 0.01806640625, 0.0125732421875, 0.01953125, -0.0032958984375, 0.01318359375, 0.002655029296875, -0.034423828125, -0.00738525390625, -0.01495361328125, 0.00592041015625, 0.00885009765625, 0.012451171875, -0.00628662109375, -0.012695...
[ 2356, 47, 25318, 38308, 1657, 33478, 76, 6626, 5303, 67, 15296, 28670, 26253, 18468, 31611, 2271, 4460, 141, 1405, 3525, 31577, 28282, 8781, 52184, 32354, 158, 34627, 18151, 59121, 43240, 2053, 52895, 1380, 25632, 22027, 18, 4488, 87, 3355,...
[ 0.0594482421875, 0.06793212890625, 0.09222412109375, 0.215576171875, 0.079833984375, 0.17333984375, 0.1109619140625, 0.122314453125, 0.204833984375, 0.03826904296875, 0.053863525390625, 0.04815673828125, 0.04315185546875, 0.0239715576171875, 0.01788330078125, 0.1243896484375, 0.26171...
embed
42283455_c0
42283455
elixir
0
Title: ExAws S3 - Get URL of uploaded file Problem title: ExAws S3 - Get URL of uploaded file Tags: elixir Problem: ExAws S3 - Get URL of uploaded file The Elixir library ExAws S3 module has a put_object method that allows you to execute a file upload. %{path: filepath, filename: filename} = %Plug.Upload{...} {:ok, con...
ExAws S3 - Get URL of uploaded file ExAws S3 - Get URL of uploaded file elixir ExAws Get URL put_object Plug.Upload File.read DateTime.utc_now DateTime.to_unix Mix.env ExAws.S3.put_object ExAws.request x-amz-id-2 Date Thu Feb GMT ETag Content-Length Server AmazonS3 status_code ExAws S3 - Get URL of uploaded file The El...
[ 0.006561279296875, 0.01312255859375, 0.00811767578125, -0.0106201171875, 0.00003933906555175781, 0.009521484375, 0.001953125, -0.001739501953125, -0.000335693359375, 0.0018768310546875, -0.0030975341796875, -0.00433349609375, -0.01324462890625, -0.01220703125, -0.00396728515625, -0.001...
[ 5443, 284, 19725, 159, 363, 20779, 31862, 111, 70622, 297, 11435, 15296, 38308, 3884, 187694, 194351, 53234, 63033, 42724, 39116, 25512, 70059, 238, 35613, 188, 309, 4084, 37286, 334, 294, 7077, 75616, 1022, 169, 532, 5428, 12613, 43677, 99...
[ 0.1187744140625, 0.11474609375, 0.2132568359375, 0.09716796875, 0.2225341796875, 0.103515625, 0.26416015625, 0.0623779296875, 0.1873779296875, 0.060272216796875, 0.2078857421875, 0.07421875, 0.208984375, 0.131103515625, 0.251220703125, 0.139404296875, 0.0168609619140625, 0.12524414...
embed
49258477_c0
49258477
elixir
0
Title: How to get random elements from an Elixir map? Problem title: How to get random elements from an Elixir map? Tags: dictionary, elixir, random Problem: How to get random elements from an Elixir map? I have an Elixir map: iex(1)> my_map = %{a: "one", b: "two", c: "three"} %{a: "one", b: "two", c: "three"} What can...
How to get random elements from an Elixir map? How to get random elements from an Elixir map? dictionary elixir random an How Elixir my_map random.choice my_map.items Get random.sample my_map.keys my_map.values How to get random elements from an Elixir map? I have an Elixir map: What can I use to get random elements fr...
[ -0.002349853515625, 0.0026397705078125, 0.00958251953125, -0.020263671875, -0.017333984375, 0.00167083740234375, 0.00201416015625, -0.001220703125, 0.00084686279296875, -0.030517578125, 0.0216064453125, 0.01275634765625, 0.000850677490234375, 0.020751953125, 0.01470947265625, 0.0059814...
[ 11249, 47, 2046, 96759, 80854, 1295, 25318, 38308, 22288, 142, 10763, 15296, 759, 62346, 3089, 1486, 20779, 433, 33209, 19770, 27494, 765, 4865, 831, 87, 4527, 903, 360, 145581, 54, 21373, 72977, 125663 ]
[ 0.07965087890625, 0.09759521484375, 0.13037109375, 0.2322998046875, 0.1934814453125, 0.1256103515625, 0.14453125, 0.2890625, 0.21044921875, 0.07037353515625, 0.03399658203125, 0.10723876953125, 0.05718994140625, 0.174072265625, 0.00934600830078125, 0.05712890625, 0.0185546875, 0.04...
embed
44608504_c0
44608504
elixir
0
Title: loop over list in elixir without creating nil values Problem title: loop over list in elixir without creating nil values Tags: elixir, functional-programming Problem: loop over list in elixir without creating nil values I have an interesting situation. I'm looping over a list several times and I don't know how t...
loop over list in elixir without creating nil values loop over list in elixir without creating nil values elixir functional-programming Enum.map p_id c_id loop over list in elixir without creating nil values I have an interesting situation. I'm looping over a list several times and I don't know how to produce the list ...
[ -0.00077056884765625, -0.01190185546875, -0.004150390625, 0.0235595703125, 0.0050048828125, 0.0201416015625, 0.0218505859375, -0.01025390625, 0.01104736328125, -0.0142822265625, 0.0135498046875, 0.019287109375, -0.003936767578125, 0.01263427734375, -0.0086669921875, -0.0140380859375, ...
[ 40956, 645, 5303, 23, 15296, 38308, 15490, 105233, 17324, 142424, 123309, 28966, 357, 316, 62346, 915, 532, 501, 49041, 16648, 214, 40368, 20028, 18, 3714, 27489, 3444, 85590, 31577, 12989, 17932, 370, 8705, 99726, 59499, 50782, 140992, 18151...
[ 0.1837158203125, 0.2061767578125, 0.216552734375, 0.0596923828125, 0.078857421875, 0.2196044921875, 0.0980224609375, 0.1187744140625, 0.14013671875, 0.1414794921875, 0.1318359375, 0.1033935546875, 0.047943115234375, 0.1414794921875, 0.1248779296875, 0.0173797607421875, 0.087524414062...
embed
74722160_c0
74722160
elixir
0
Title: How to prevent nil values in Ecto Changeset? Problem title: How to prevent nil values in Ecto Changeset? Tags: phoenix-framework, elixir Problem: How to prevent nil values in Ecto Changeset? I have an update_changeset in which I want to prevent nil values from being written. I tried adding a validate_change def ...
How to prevent nil values in Ecto Changeset? How to prevent nil values in Ecto Changeset? phoenix-framework elixir How Ecto Changeset update_changeset validate_change full_name prevent_empty Enum.reduce get_field add_error How to prevent nil values in Ecto Changeset? I have an update_changeset in which I want to preven...
[ -0.0257568359375, -0.01519775390625, 0.0174560546875, 0.01214599609375, 0.015869140625, 0.00555419921875, 0.014404296875, -0.0224609375, -0.0076904296875, 0.00653076171875, 0.0137939453125, 0.0177001953125, 0.021484375, 0.0255126953125, 0.0032806396484375, 0.0191650390625, -0.0103149...
[ 11249, 47, 56282, 17324, 142424, 241, 44150, 87377, 3509, 23, 53073, 33, 4084, 160328, 18244, 15296, 38308, 28350, 152028, 44622, 67, 4393, 11627, 33548, 357, 316, 107, 106357, 28394, 15190, 188800, 3444, 1295, 8035, 59121, 154107, 4734, 3583...
[ 0.0631103515625, 0.029937744140625, 0.246826171875, 0.2244873046875, 0.20654296875, 0.08978271484375, 0.265869140625, 0.202392578125, 0.2161865234375, 0.046722412109375, 0.01361083984375, 0.036529541015625, 0.0941162109375, 0.06976318359375, 0.011138916015625, 0.039337158203125, 0.16...
embed
44414753_c0
44414753
elixir
0
Title: Elixir Ecto get all records between two unix epochs Problem title: Elixir Ecto get all records between two unix epochs Tags: elixir, ecto Problem: Elixir Ecto get all records between two unix epochs I am trying to to what I thought was a pretty basic ecto query to get the records from between two unix timestamps...
Elixir Ecto get all records between two unix epochs Elixir Ecto get all records between two unix epochs elixir ecto r Elixir Ecto Ecto.DateTime.from_unix begin_utc_epoch DateTime.to_naive end_utc_epoch MyModel r.inserted_at Elixir Ecto get all records between two unix epochs I am trying to to what I thought was a prett...
[ -0.0302734375, -0.0078125, 0.0107421875, 0.0022430419921875, 0.005401611328125, 0.004730224609375, -0.031005859375, -0.0020294189453125, 0.00408935546875, -0.03271484375, 0.007293701171875, 0.0205078125, 0.029052734375, 0.0191650390625, 0.0004730224609375, -0.01171875, -0.02856445312...
[ 25318, 38308, 241, 44150, 2046, 756, 115923, 17721, 6626, 51, 4084, 28, 771, 206, 15296, 60751, 1690, 86291, 70059, 161063, 309, 9842, 1003, 4517, 3581, 25512, 188, 76, 5844, 3564, 2646, 140290, 33657, 31577, 17569, 28875, 62822, 41, 1294, ...
[ 0.0916748046875, 0.2156982421875, 0.0927734375, 0.270263671875, 0.09332275390625, 0.1240234375, 0.2120361328125, 0.1866455078125, 0.155517578125, 0.11181640625, 0.1256103515625, 0.024139404296875, 0.128662109375, 0.131591796875, 0.0584716796875, 0.199462890625, 0.0916748046875, 0.1...
embed
52570520_c0
52570520
elixir
0
Title: How create batch process in requests elixir phoenix Problem title: How create batch process in requests elixir phoenix Tags: elixir, phoenix-framework, process, python-requests Problem: How create batch process in requests elixir phoenix I must create an api with great performance and I want to create it with El...
How create batch process in requests elixir phoenix How create batch process in requests elixir phoenix elixir phoenix-framework process python-requests How batchData.push body.data Process res.json How create batch process in requests elixir phoenix I must create an api with great performance and I want to create it w...
[ 0.0003108978271484375, 0.0096435546875, 0.00060272216796875, 0.018310546875, 0.01116943359375, 0.003936767578125, 0.0184326171875, -0.006195068359375, 0.00186920166015625, -0.027587890625, -0.00616455078125, 0.00762939453125, 0.007232666015625, -0.000560760498046875, 0.00182342529296875,...
[ 11249, 28282, 1777, 206, 9433, 23, 50336, 7, 15296, 38308, 53073, 33, 4084, 160328, 17198, 50828, 107, 75616, 137989, 7332, 14361, 10135, 123996, 3332, 170, 1681, 8110, 31470, 678, 6782, 23718, 3444, 25318, 17336, 11675, 7103, 3060, 3249, 8...
[ 0.067626953125, 0.166748046875, 0.2069091796875, 0.16162109375, 0.2093505859375, 0.0616455078125, 0.211669921875, 0.0665283203125, 0.068115234375, 0.2103271484375, 0.10211181640625, 0.0958251953125, 0.1221923828125, 0.048980712890625, 0.00933837890625, 0.0809326171875, 0.022537231445...
embed
57491077_c1
57491077
elixir
1
_spec]} end @impl true def call(resolution, handle: middleware_spec) do execute(middleware_spec, resolution) rescue error -> Sentry.capture_exception(error, __STACKTRACE__) Absinthe.Resolution.put_result(resolution, @default_error) end # Handle all the ways middleware can be defined defp execute({{module, function}, co...
_spec]} end @impl true def call(resolution, handle: middleware_spec) do execute(middleware_spec, resolution) rescue error -> Sentry.capture_exception(error, __STACKTRACE__) Absinthe.Resolution.put_result(resolution, @default_error) end # Handle all the ways middleware can be defined defp execute({{module, function}, co...
[ -0.028564453125, 0.00738525390625, 0.0013275146484375, 0.005645751953125, 0.00970458984375, -0.0033111572265625, 0.0033111572265625, -0.0194091796875, 0.005096435546875, 0.0002422332763671875, -0.0133056640625, 0.038818359375, -0.016845703125, 0.00518798828125, 0.0010986328125, -0.0084...
[ 16711, 3564, 1374, 116120, 29568, 8, 420, 11782, 132, 107, 166589, 34831, 12, 86991, 15876, 54, 71924, 13, 22000, 19298, 158839, 114777, 18499, 4311, 15123, 15644, 6644, 3355, 63928, 188800, 22565, 37082, 10854, 27174, 73, 2347, 2109, 7136, ...
[ 0.233154296875, 0.137451171875, 0.048675537109375, 0.09100341796875, 0.03662109375, 0.1484375, 0.128662109375, 0.191650390625, 0.0271453857421875, 0.1297607421875, 0.241943359375, 0.2216796875, 0.01220703125, 0.257568359375, 0.248046875, 0.046356201171875, 0.1812744140625, 0.047882...
embed
40938114_c1
40938114
elixir
1
2,3}) 3.5 But I have no access to fixtures/complex_struct.exs unless I load it like this: iex(1)> TheFunction.the_function(ComplexStruct.complex_struct()) ** (UndefinedFunctionError) undefined function ComplexStruct.complex_struct/0 (module ComplexStruct is not available) ComplexStruct.complex_struct() iex(1)> Code.loa...
2,3}) 3.5 But I have no access to fixtures/complex_struct.exs unless I load it like this: iex(1)> TheFunction.the_function(ComplexStruct.complex_struct()) ** (UndefinedFunctionError) undefined function ComplexStruct.complex_struct/0 (module ComplexStruct is not available) ComplexStruct.complex_struct() iex(1)> Code.loa...
[ 0.0137939453125, 0.01080322265625, -0.002166748046875, 0.0133056640625, 0.017333984375, 0.00946044921875, 0.0238037109375, -0.01043701171875, 0.019287109375, -0.0255126953125, 0.0098876953125, -0.020263671875, 0.00823974609375, 0.0059814453125, 0.018310546875, 0.0012664794921875, -0....
[ 79359, 8152, 38704, 765, 110, 17203, 30022, 54889, 277, 44974, 36716, 3355, 7, 117934, 72367, 1884, 17, 27750, 581, 97249, 10763, 2347, 137175, 10770, 71713, 18190, 18, 1067, 5983, 18468, 31611, 9232, 32354, 113197, 107838, 83279, 959, 19882,...
[ 0.1102294921875, 0.03265380859375, 0.2271728515625, 0.0172882080078125, 0.06640625, 0.165771484375, 0.1707763671875, 0.1177978515625, 0.03826904296875, 0.1883544921875, 0.1900634765625, 0.2171630859375, 0.09246826171875, 0.0279541015625, 0.1483154296875, 0.035400390625, 0.09692382812...
embed
50124865_c1
50124865
elixir
1
_web.ex the app does not compile even though it is not invoked from with chat_web.ex ... and excoveralls (test coverage reporting) reports that it's not being executed. I find this confusing / non-beginner-friendly and searching the Phoenix guide (docs) is not particularly insightful e.g: https://github.com/phoenixfram...
_web.ex the app does not compile even though it is not invoked from with chat_web.ex ... and excoveralls (test coverage reporting) reports that it's not being executed. I find this confusing / non-beginner-friendly and searching the Phoenix guide (docs) is not particularly insightful e.g: https://github.com/phoenixfram...
[ -0.00921630859375, 0.000644683837890625, -0.0184326171875, 0.01531982421875, -0.0079345703125, 0.036865234375, -0.00433349609375, -0.0205078125, 0.01129150390625, -0.009033203125, -0.0281982421875, 0.0027008056640625, 0.02587890625, 0.00982666015625, -0.00396728515625, 0.0201416015625,...
[ 101, 14051, 3355, 4027, 14602, 959, 9969, 1340, 23253, 1295, 3245, 1119, 63127, 5584, 6954, 154271, 13416, 117729, 8035, 71924, 297, 133720, 17997, 149201, 33, 4084, 64527, 81988, 18032, 89536, 67669, 21393, 11, 28560, 3034, 52080, 81979, 473...
[ 0.014373779296875, 0.1658935546875, 0.19384765625, 0.174560546875, 0.03753662109375, 0.1485595703125, 0.135498046875, 0.1588134765625, 0.1304931640625, 0.055450439453125, 0.139404296875, 0.041229248046875, 0.18017578125, 0.153076171875, 0.158447265625, 0.1812744140625, 0.076049804687...
embed
43103113_c0
43103113
elixir
0
Title: pipeline and placeholder arguments Problem title: pipeline and placeholder arguments Tags: elixir Problem: pipeline and placeholder arguments How is it possible to pass the pipeline placeholder to the second argument in a function? defdefmodule CamelCase do str = "The_Stealth_Warrior" def to_camel_case(str) do s...
pipeline and placeholder arguments pipeline and placeholder arguments elixir FunctionClauseError CamelCase The_Stealth_Warrior to_camel_case Regex need_to_pass_str_argument_here String.split Enum.map String.capitalize List.to_string ExUnit.start TestCamelCase ExUnit.Case TheStealthWarrior Error Regex.replace regex.ex:5...
[ -0.0274658203125, -0.00701904296875, -0.022216796875, 0.0035552978515625, 0.0010833740234375, 0.004913330078125, -0.00946044921875, -0.021484375, 0.00897216796875, 0.00250244140625, 0.007110595703125, 0.01611328125, -0.01129150390625, 0.0184326171875, 0.0179443359375, 0.0084228515625, ...
[ 137158, 2256, 136, 3687, 31958, 10750, 15296, 38308, 28670, 26253, 18468, 184520, 441, 6991, 68551, 289, 927, 71947, 4726, 42, 47, 7603, 58437, 11678, 3355, 3871, 13409, 9297, 155937, 35593, 23351, 4353, 316, 62346, 215652, 20650, 32036, 188,...
[ 0.1600341796875, 0.184814453125, 0.10028076171875, 0.16796875, 0.2188720703125, 0.243896484375, 0.0211639404296875, 0.177001953125, 0.0809326171875, 0.054962158203125, 0.0701904296875, 0.124267578125, 0.115234375, 0.0777587890625, 0.05474853515625, 0.0902099609375, 0.05731201171875, ...
embed
43615518_c0
43615518
elixir
0
Title: How to set UTF-8 atom in Phoenix.HTML.Form.select options? Problem title: How to set UTF-8 atom in Phoenix.HTML.Form.select options? Tags: elixir, phoenix-framework Problem: How to set UTF-8 atom in Phoenix.HTML.Form.select options? I want to render <select> options with Phoenix.HTML.Form module. select(form, :r...
How to set UTF-8 atom in Phoenix.HTML.Form.select options? How to set UTF-8 atom in Phoenix.HTML.Form.select options? elixir phoenix-framework ArgumentError How UTF-8 Phoenix.HTML.Form.select Admin User user_role erlang.binary_to_atom utf8 How to set UTF-8 atom in Phoenix.HTML.Form.select options? I want to render <sel...
[ 0.01416015625, 0.01092529296875, 0.011962890625, -0.005706787109375, -0.019287109375, -0.03857421875, -0.01214599609375, 0.01318359375, -0.029541015625, 0.027099609375, 0.0166015625, -0.02197265625, 0.034423828125, 0.020751953125, -0.000957489013671875, 0.00927734375, -0.006713867187...
[ 11249, 5423, 345, 30992, 17376, 34627, 23, 133720, 127068, 102973, 100184, 50717, 15296, 38308, 53073, 33, 4084, 160328, 18244, 112140, 18468, 7, 61443, 53400, 38937, 516, 72, 3066, 19155, 188, 5928, 486, 420, 1019, 3444, 89159, 88996, 92437,...
[ 0.07684326171875, 0.1715087890625, 0.05120849609375, 0.1953125, 0.2408447265625, 0.2457275390625, 0.03125, 0.2183837890625, 0.228515625, 0.2073974609375, 0.166015625, 0.2218017578125, 0.037017822265625, 0.1458740234375, 0.058563232421875, 0.06927490234375, 0.08868408203125, 0.05810...
embed
54197034_c0
54197034
elixir
0
Title: inserting multiple changesets in single transaction Problem title: inserting multiple changesets in single transaction Tags: ecto, elixir Problem: inserting multiple changesets in single transaction I have this bridge table : schema "rooms_units" do field(:date_from, :utc_datetime) field(:date_to, :utc_datetime)...
inserting multiple changesets in single transaction inserting multiple changesets in single transaction ecto elixir rooms_units date_from utc_datetime date_to belongs_to App.Room primary_key App..Unit Ecto.Changeset DateTime room_id unit_id App.RoomUnit Ecto.multi.insert_all inserting multiple changesets in single tran...
[ -0.02490234375, 0.0068359375, 0.0172119140625, -0.009033203125, 0.00135040283203125, -0.00103759765625, -0.01806640625, -0.02734375, -0.004302978515625, -0.0174560546875, 0.010986328125, 0.000308990478515625, 0.0262451171875, 0.01007080078125, -0.01953125, -0.00836181640625, -0.01525...
[ 183540, 214, 48716, 65572, 7831, 23, 11001, 124161, 60751, 15296, 38308, 112875, 309, 14481, 5622, 161063, 486, 6032, 188, 10617, 5659, 12724, 306, 158978, 19770, 85600, 241, 44150, 127008, 4188, 126, 25512, 70059, 17155, 532, 25072, 144227, ...
[ 0.24169921875, 0.05126953125, 0.2437744140625, 0.1973876953125, 0.250244140625, 0.048492431640625, 0.1776123046875, 0.23193359375, 0.1903076171875, 0.0594482421875, 0.207275390625, 0.1961669921875, 0.115478515625, 0.06573486328125, 0.04412841796875, 0.0491943359375, 0.0340576171875, ...
embed
44198300_c1
44198300
elixir
1
"sub_section.html", f: form) link "Add Sub Section", to: "#", "data-template": fields, id: "add_sub_section" end end # sub_sections.html.eex <%= inputs_for @f, :sub_sections, [multipart: true], fn fo -> %> <div class="row"> <div class="col-md-11"> <%= input fo, :field_name %> </div> <div class="col-md-1"> <a href="#" ...
"sub_section.html", f: form) link "Add Sub Section", to: "#", "data-template": fields, id: "add_sub_section" end end # sub_sections.html.eex <%= inputs_for @f, :sub_sections, [multipart: true], fn fo -> %> <div class="row"> <div class="col-md-11"> <%= input fo, :field_name %> </div> <div class="col-md-1"> <a href="#" ...
[ -0.01483154296875, 0.01409912109375, -0.01263427734375, -0.021240234375, -0.0283203125, 0.00311279296875, 0.0028228759765625, 0.00457763671875, -0.0029449462890625, -0.0296630859375, -0.0098876953125, -0.02197265625, 0.0206298828125, 0.041748046875, 0.01104736328125, -0.01385498046875,...
[ 22144, 7, 58994, 7693, 1238, 3173, 3126, 284, 4028, 8273, 140978, 47, 4904, 10135, 2982, 92558, 44457, 3564, 1614, 3355, 107730, 2472, 420, 144227, 17365, 29568, 14783, 5775, 30618, 15555, 8447, 54686, 16675, 28394, 11627, 18507, 5759, 8520, ...
[ 0.257568359375, 0.1944580078125, 0.24462890625, 0.1617431640625, 0.0567626953125, 0.181884765625, 0.1829833984375, 0.045196533203125, 0.15380859375, 0.279541015625, 0.28955078125, 0.07958984375, 0.02972412109375, 0.08111572265625, 0.08087158203125, 0.1544189453125, 0.1591796875, 0....
embed
59402037_c0
59402037
elixir
0
Title: Error: undefined function user/2 when running mix phoenix.server Problem title: Error: undefined function user/2 when running mix phoenix.server Tags: elixir, phoenix-framework Problem: Error: undefined function user/2 when running mix phoenix.server I created this module: defmodule Discuss.Topic do user Discuss...
Error: undefined function user/2 when running mix phoenix.server Error: undefined function user/2 when running mix phoenix.server elixir phoenix-framework CompileError Error phoenix.server Discuss.Topic Discuss.Web validate_required Compilation topic.ex topic.ex:2 erl_eval.erl:680 erl_eval.do_apply parallel_compiler.ex...
[ 0.00811767578125, 0.00372314453125, 0.00096893310546875, -0.003509521484375, 0.0054931640625, 0.025634765625, 0.000274658203125, 0.0029144287109375, 0.001861572265625, -0.08154296875, -0.021484375, -0.00787353515625, 0.0302734375, 0.029296875, 0.01422119140625, 0.0074462890625, -0.00...
[ 212059, 9232, 5983, 32354, 38937, 12477, 3229, 51042, 17664, 53073, 33, 4084, 39642, 15296, 38308, 160328, 15612, 1340, 18468, 212897, 77888, 30474, 44622, 67, 3181, 14, 28451, 3355, 304, 1405, 91092, 95103, 58875, 34759, 86549, 119125, 583, ...
[ 0.1378173828125, 0.10345458984375, 0.1710205078125, 0.1510009765625, 0.2149658203125, 0.255615234375, 0.05596923828125, 0.0986328125, 0.2362060546875, 0.07586669921875, 0.110595703125, 0.1278076171875, 0.1884765625, 0.03619384765625, 0.185546875, 0.05694580078125, 0.0838623046875, ...
embed
39012523_c1
39012523
elixir
1
registered with the given mechanism and name. The :via option expects a module that exports register_name/2 , unregister_name/1 , whereis_name/1 , and send/2 . One such example is the :global module which uses these functions for keeping the list of names of processes and their associated PIDs that are available globa...
registered with the given mechanism and name. The :via option expects a module that exports register_name/2 , unregister_name/1 , whereis_name/1 , and send/2 . One such example is the :global module which uses these functions for keeping the list of names of processes and their associated PIDs that are available globa...
[ -0.0072021484375, 0.00396728515625, 0.0057373046875, 0.035400390625, -0.00848388671875, 0.00543212890625, -0.006103515625, 0.00946044921875, 0.0045166015625, -0.033447265625, 0.0050048828125, -0.0022430419921875, 0.01129150390625, -0.01177978515625, -0.015869140625, 0.00836181640625, ...
[ 189893, 678, 34475, 191619, 9351, 3459, 35829, 41206, 88996, 31255, 68067, 11627, 12477, 51, 105199, 11583, 7440, 164, 25379, 27781, 152, 156566, 4527, 32354, 120260, 5303, 123055, 9433, 137272, 436, 7146, 19882, 7964, 33120, 25318, 38308, 110,...
[ 0.25732421875, 0.0728759765625, 0.03143310546875, 0.1744384765625, 0.199951171875, 0.27099609375, 0.2227783203125, 0.1602783203125, 0.2271728515625, 0.164306640625, 0.2548828125, 0.196533203125, 0.145751953125, 0.0572509765625, 0.2171630859375, 0.075927734375, 0.03216552734375, 0.0...
embed
66357182_c0
66357182
elixir
0
Title: Error: elixir_make 0.6.1 RETIRED! (invalid) Wrong permissions on the mix.exs file Problem title: Error: elixir_make 0.6.1 RETIRED! (invalid) Wrong permissions on the mix.exs file Tags: elixir Problem: Error: elixir_make 0.6.1 RETIRED! (invalid) Wrong permissions on the mix.exs file When I run: mix deps.get I get...
Error: elixir_make 0.6.1 RETIRED! (invalid) Wrong permissions on the mix.exs file Error: elixir_make 0.6.1 RETIRED! (invalid) Wrong permissions on the mix.exs file elixir Error elixir_make RETIRED Wrong mix.exs deps.get mix.lock Feb argon2_elixir ecto_sql ex_machina phoenix_ecto phoenix_html phoenix_live_dashboard phoe...
[ -0.0023193359375, 0.01708984375, 0.00921630859375, -0.002685546875, 0.01495361328125, 0.00567626953125, -0.03759765625, 0.00083160400390625, 0.004058837890625, 0.0244140625, -0.01019287109375, -0.021240234375, 0.0208740234375, 0.051025390625, -0.0015106201171875, -0.005218505859375, ...
[ 212059, 15296, 38308, 55898, 757, 173245, 627, 60939, 48321, 38, 7013, 35133, 168081, 7, 17664, 3355, 11435, 8, 6423, 3794, 21135, 43677, 187, 6126, 304, 6169, 60751, 99247, 1119, 192, 42072, 53073, 33, 4084, 7693, 24056, 155892, 24351, 630...
[ 0.190185546875, 0.120361328125, 0.267333984375, 0.182861328125, 0.095703125, 0.2255859375, 0.107666015625, 0.1927490234375, 0.173583984375, 0.0230255126953125, 0.131591796875, 0.14794921875, 0.237060546875, 0.1221923828125, 0.2489013671875, 0.195556640625, 0.137451171875, 0.1157226...
embed
76496127_c0
76496127
elixir
0
Title: Erlang/Elixir reraise equivalent for `catch :exit, e -&gt;`? Problem title: Erlang/Elixir reraise equivalent for `catch :exit, e -&gt;`? Tags: erlang, elixir Problem: Erlang/Elixir reraise equivalent for `catch :exit, e ->`? I'd like to catch and look at an :exit catch and decide programatically if I actually wa...
Erlang/Elixir reraise equivalent for `catch :exit, e -&gt;`? Erlang/Elixir reraise equivalent for `catch :exit, e -&gt;`? erlang elixir ArgumentError Erlang Elixir __STACKTRACE__ Process.exit Process.raise GenServer Erlang/Elixir reraise equivalent for `catch :exit, e ->`? I'd like to catch and look at an :exit catch a...
[ 0.00238037109375, 0.0283203125, -0.0031280517578125, 0.004425048828125, 0.00244140625, -0.01336669921875, 0.00008249282836914062, -0.00750732421875, -0.00011730194091796875, -0.026611328125, -0.007080078125, 0.01214599609375, -0.0032196044921875, 0.0135498046875, 0.0206298828125, 0.012...
[ 1004, 3066, 647, 150, 38308, 456, 12794, 13, 183234, 4460, 206, 23399, 28, 5386, 64, 20, 72, 15296, 112140, 18468, 25318, 22565, 20572, 37082, 10854, 123996, 15937, 193348, 33079, 1884, 105556, 6713, 152, 28288, 3919, 20653, 36663, 959, 772...
[ 0.15234375, 0.269775390625, 0.0161895751953125, 0.082275390625, 0.22900390625, 0.0933837890625, 0.22021484375, 0.09564208984375, 0.1761474609375, 0.1275634765625, 0.10321044921875, 0.2239990234375, 0.141357421875, 0.05108642578125, 0.0232391357421875, 0.00592041015625, 0.111572265625...
embed
39430717_c1
39430717
elixir
1
.Block do schema "blocks" do field :max_depth, Types.Cm timestamps() end @fields ~w(max_depth)a def changeset(struct, params \\ %{}) do struct |> cast(params, @fields) end end Now I try to save blocks to the db: defmodule Db.BlockHelpers do def new_block(attributes \\ %{}) do block = Dict.merge(%{ max_depth: 2 }, attri...
.Block do schema "blocks" do field :max_depth, Types.Cm timestamps() end @fields ~w(max_depth)a def changeset(struct, params \\ %{}) do struct |> cast(params, @fields) end end Now I try to save blocks to the db: defmodule Db.BlockHelpers do def new_block(attributes \\ %{}) do block = Dict.merge(%{ max_depth: 2 }, attri...
[ -0.0162353515625, 0.01470947265625, 0.004638671875, -0.0093994140625, 0.02490234375, 0.0047607421875, 0.009765625, -0.04443359375, 0.0208740234375, -0.01708984375, -0.00830078125, 0.0137939453125, 0.015380859375, -0.01220703125, -0.01068115234375, -0.002593994140625, -0.0162353515625...
[ 5, 166191, 54, 61903, 81409, 7, 44457, 24084, 168867, 60457, 39, 20028, 2537, 3564, 28394, 434, 420, 65572, 126, 36716, 121, 4432, 37702, 2500, 8256, 9790, 30098, 46389, 47, 40041, 8, 83279, 275, 60785, 21777, 3525, 191145, 60897, 1991, 4...
[ 0.050811767578125, 0.2200927734375, 0.09588623046875, 0.1917724609375, 0.228759765625, 0.07781982421875, 0.15478515625, 0.119384765625, 0.226806640625, 0.1551513671875, 0.121826171875, 0.009796142578125, 0.045806884765625, 0.0167999267578125, 0.10443115234375, 0.03302001953125, 0.060...
embed
77319814_c0
77319814
elixir
0
Title: Rendering error page in LiveView after async task returns error Problem title: Rendering error page in LiveView after async task returns error Tags: phoenix-framework, phoenix-live-view, elixir Problem: Rendering error page in LiveView after async task returns error Is there a better way to make this work? I wan...
Rendering error page in LiveView after async task returns error Rendering error page in LiveView after async task returns error phoenix-framework phoenix-live-view elixir Rendering LiveView result_of_async_workflow UnknownErrorPage Rendering error page in LiveView after async task returns error Is there a better way to...
[ -0.01275634765625, 0.00616455078125, 0.005279541015625, -0.025146484375, 0.004547119140625, -0.007293701171875, -0.0025482177734375, -0.00537109375, -0.0026092529296875, -0.039794921875, 0.00933837890625, -0.031494140625, 0.0186767578125, 0.013427734375, 0.0035247802734375, 0.013671875...
[ 63137, 4209, 18499, 9191, 23, 9251, 100474, 7103, 10, 12654, 238, 66211, 30646, 4084, 160328, 24056, 22751, 38308, 16750, 118664, 69723, 18468, 31611, 147101, 11522, 3917, 4488, 101966, 9598, 92, 35431, 7639, 3564, 38937, 64457, 26265, 73903, ...
[ 0.126220703125, 0.04644775390625, 0.2093505859375, 0.1871337890625, 0.00726318359375, 0.1484375, 0.33837890625, 0.0782470703125, 0.044158935546875, 0.1888427734375, 0.0941162109375, 0.20556640625, 0.16455078125, 0.04443359375, 0.07391357421875, 0.103515625, 0.20703125, 0.1414794921...
embed
38923666_c0
38923666
elixir
0
Title: Real-time application with Phoenix, without JavaScript Problem title: Real-time application with Phoenix, without JavaScript Tags: elixir, phoenix-framework Problem: Real-time application with Phoenix, without JavaScript I'm looking into building an application with a lot of real-time features. I've quickly skim...
Real-time application with Phoenix, without JavaScript Real-time application with Phoenix, without JavaScript elixir phoenix-framework Real-time Phoenix JavaScript Real-time application with Phoenix, without JavaScript I'm looking into building an application with a lot of real-time features. I've quickly skimmed over ...
[ -0.00830078125, 0.02099609375, -0.002532958984375, -0.0068359375, 0.0146484375, 0.007080078125, -0.0145263671875, 0.0205078125, -0.00604248046875, -0.038330078125, -0.001373291015625, -0.01043701171875, 0.0021820068359375, 0.0208740234375, 0.00445556640625, 0.0244140625, 0.0039367675...
[ 5120, 6032, 38415, 678, 133720, 15490, 17925, 15296, 38308, 53073, 33, 4084, 160328, 18244, 16487, 33976, 5915, 2773, 66139, 69405, 9851, 86723, 765, 49846, 18151, 1221, 1274, 69285, 2037, 56464, 62775, 98169, 51139, 60892, 32562, 28350, 42943,...
[ 0.170166015625, 0.1658935546875, 0.1844482421875, 0.13037109375, 0.29736328125, 0.149169921875, 0.27197265625, 0.0771484375, 0.2169189453125, 0.0789794921875, 0.1141357421875, 0.1239013671875, 0.11474609375, 0.0162200927734375, 0.044464111328125, 0.0791015625, 0.05523681640625, 0.1...
embed
35694016_c0
35694016
elixir
0
Title: Rendering templates using websockets Problem title: Rendering templates using websockets Tags: elixir, phoenix-framework Problem: Rendering templates using websockets I wonder if there is a way to render phoenix templates when adding content via websockets? What is the way to go if I want to add some complicated...
Rendering templates using websockets Rendering templates using websockets elixir phoenix-framework websockets Rendering Endpoint.broadcast user_room:123 new_comment comment_content MyApp.PostView.render comment.html Rendering templates using websockets I wonder if there is a way to render phoenix templates when adding ...
[ -0.0277099609375, 0.0189208984375, -0.0126953125, -0.033447265625, 0.000370025634765625, 0.0115966796875, -0.0198974609375, -0.007293701171875, -0.01007080078125, -0.0712890625, -0.0011749267578125, -0.0208740234375, 0.0240478515625, 0.005157470703125, -0.006103515625, 0.02587890625, ...
[ 63137, 4209, 110934, 7, 17368, 1467, 991, 27853, 15296, 38308, 53073, 33, 4084, 160328, 18878, 38496, 55741, 28905, 48636, 3525, 674, 6868, 69246, 2646, 39179, 100474, 18280, 7693, 32195, 3917, 89159, 154107, 10941, 1829, 15190, 96704, 45646, ...
[ 0.1441650390625, 0.0506591796875, 0.2861328125, 0.036651611328125, 0.07550048828125, 0.11328125, 0.13623046875, 0.2120361328125, 0.008544921875, 0.134521484375, 0.07110595703125, 0.10052490234375, 0.1636962890625, 0.08251953125, 0.041778564453125, 0.112060546875, 0.026519775390625, ...
embed
67068334_c1
67068334
elixir
1
, ["json"] end scope "/" do pipe_through :api forward "/api", Absinthe.Plug, schema: AssessmentApi.Web.Schema, json_codec: Jason forward "/graphiql", Absinthe.Plug.GraphiQL, schema: AssessmentApi.Web.Schema, json_codec: Jason end end How do I instrument the json_decoder portion of the application to find out how long i...
, ["json"] end scope "/" do pipe_through :api forward "/api", Absinthe.Plug, schema: AssessmentApi.Web.Schema, json_codec: Jason forward "/graphiql", Absinthe.Plug.GraphiQL, schema: AssessmentApi.Web.Schema, json_codec: Jason end end How do I instrument the json_decoder portion of the application to find out how long i...
[ -0.020263671875, 0.005401611328125, 0.0017242431640625, 0.0106201171875, -0.0167236328125, -0.007415771484375, -0.0164794921875, -0.00543212890625, -0.0103759765625, -0.005859375, -0.004730224609375, 0.00543212890625, 0.00909423828125, -0.00567626953125, 0.000308990478515625, 0.0181884...
[ 170, 1681, 3564, 70820, 64, 54, 137158, 222521, 40897, 40225, 27174, 73, 2347, 35159, 61903, 233397, 1434, 30474, 25452, 11883, 1647, 40899, 238, 85613, 41382, 99247, 37878, 19379, 866, 11249, 87, 13984, 454, 50718, 51744, 126826, 38415, 7413...
[ 0.128662109375, 0.252197265625, 0.163818359375, 0.189453125, 0.059844970703125, 0.0241851806640625, 0.1787109375, 0.15185546875, 0.171142578125, 0.1981201171875, 0.1126708984375, 0.0814208984375, 0.212158203125, 0.1566162109375, 0.1322021484375, 0.1182861328125, 0.145263671875, 0.1...
embed
62717640_c0
62717640
elixir
0
Title: Beginner in Elixir : parse CSV file Problem title: Beginner in Elixir : parse CSV file Tags: elixir, csv Problem: Beginner in Elixir : parse CSV file Hello I'm a beginner in Elixir and I want to parse and stock a CSV file in an Elixir object. But it's display that: ** (FunctionClauseError) no function clause mat...
Beginner in Elixir : parse CSV file Beginner in Elixir : parse CSV file elixir csv FunctionClauseError Beginner Elixir CSV Siren.parseCSV Youngstown stream.ex:482 Stream.filter stream.ex:1449 Stream.do_element_resource stream.ex:1609 Enumerable.Stream.do_each enum.ex:959 Enum.find task.ex:330 Mix.Task.run_task cli.ex:8...
[ -0.013916015625, 0.0172119140625, 0.00726318359375, -0.000885009765625, 0.0308837890625, -0.005767822265625, -0.0023040771484375, 0.00689697265625, -0.0023193359375, -0.00018978118896484375, -0.006622314453125, -0.01202392578125, -0.00634765625, 0.0025482177734375, -0.00244140625, 0.01...
[ 67053, 56, 23, 25318, 38308, 152, 366, 184, 313, 43486, 11435, 15296, 20763, 334, 28670, 26253, 18468, 31611, 10868, 33, 2500, 19283, 856, 44389, 7, 35461, 75973, 3355, 34605, 304, 115061, 120337, 12977, 62766, 60427, 22354, 6463, 316, 4158...
[ 0.14013671875, 0.12890625, 0.1500244140625, 0.1475830078125, 0.2861328125, 0.012176513671875, 0.1630859375, 0.126220703125, 0.1248779296875, 0.3095703125, 0.19091796875, 0.1090087890625, 0.1209716796875, 0.241943359375, 0.064697265625, 0.066650390625, 0.026824951171875, 0.029541015...
embed
45866245_c0
45866245
elixir
0
Title: Task.async_stream timeout behaviour Problem title: Task.async_stream timeout behaviour Tags: elixir Problem: Task.async_stream timeout behaviour In the Task.async_stream options , the :timeout parameter is described: The maximum amount of time (in milliseconds) each task is allowed to execute for. Defaults to 50...
Task.async_stream timeout behaviour Task.async_stream timeout behaviour elixir Task.async_stream timer.sleep Enum.to_list Task.Supervised.stream EXIT supervised.ex:209 Task.Supervised.stream_reduce enum.ex:1776 Enum.reverse enum.ex:2528 Task.async_stream timeout behaviour In the Task.async_stream options , the :timeout...
[ -0.00787353515625, 0.0196533203125, 0.00075531005859375, -0.032958984375, 0.0050048828125, -0.0054931640625, 0.0123291015625, 0.006622314453125, 0.0079345703125, -0.00823974609375, 0.0057373046875, -0.005096435546875, -0.005279541015625, 0.031982421875, 0.007354736328125, 0.00378417968...
[ 9598, 92, 11, 12654, 238, 86429, 1733, 6056, 224833, 15296, 38308, 21991, 170572, 316, 188, 6562, 5, 1824, 29426, 1126, 107, 106357, 3355, 11835, 37676, 3882, 50717, 152, 6032, 171859, 151552, 134234, 1380, 5117, 27781, 14602, 959, 51776, 9...
[ 0.1607666015625, 0.0850830078125, 0.007843017578125, 0.1861572265625, 0.06243896484375, 0.1900634765625, 0.1834716796875, 0.1839599609375, 0.1473388671875, 0.07244873046875, 0.189453125, 0.2335205078125, 0.1773681640625, 0.0828857421875, 0.0295257568359375, 0.0887451171875, 0.0120849...
embed
41143458_c0
41143458
elixir
0
Title: Ecto filter empty record Problem title: Ecto filter empty record Tags: ecto, elixir, phoenix-framework Problem: Ecto filter empty record I have an embedded association with two models: User and Address, and I connect them like this: defmodule App.Address do # ... def changeset(struct, params \\ %{}) do struct |>...
Ecto filter empty record Ecto filter empty record ecto elixir phoenix-framework Ecto App.Address inputs_for text_input filtered_addresses Enum.filter user_params map.address map.city Map.put Ecto filter empty record I have an embedded association with two models: User and Address, and I connect them like this: when I u...
[ -0.01220703125, -0.0159912109375, -0.010986328125, 0.010986328125, 0.00421142578125, 0.00162506103515625, 0.00927734375, -0.00787353515625, 0.0137939453125, -0.0203857421875, 0.004486083984375, 0.01055908203125, -0.009521484375, 0.03271484375, -0.00836181640625, -0.00958251953125, 0....
[ 241, 44150, 46312, 201505, 17164, 60751, 15296, 38308, 53073, 33, 4084, 160328, 5659, 161007, 107730, 7986, 73, 7077, 107421, 357, 316, 120337, 38937, 2500, 22288, 42719, 55720, 69819, 125413, 6626, 115774, 53400, 136, 49990, 37067, 4527, 12, ...
[ 0.1123046875, 0.29638671875, 0.227783203125, 0.2078857421875, 0.1871337890625, 0.1942138671875, 0.044708251953125, 0.152587890625, 0.0343017578125, 0.02752685546875, 0.08740234375, 0.08038330078125, 0.136962890625, 0.1214599609375, 0.1453857421875, 0.1109619140625, 0.0141448974609375...
embed
53908072_c0
53908072
elixir
0
Title: argon2 elixir compilation issue while mix ecto.create Problem title: argon2 elixir compilation issue while mix ecto.create Tags: erlang, phoenix-framework, elixir Problem: argon2 elixir compilation issue while mix ecto.create I am getting the below error while running mix ecto.create to create the postgres DB. =...
argon2 elixir compilation issue while mix ecto.create argon2 elixir compilation issue while mix ecto.create erlang phoenix-framework elixir argon2 ecto.create argon2_elixir You deps.compile deps.update deps.clean snitch_core Mix MAKE mix.exs elixir_make argon2 elixir compilation issue while mix ecto.create I am getting...
[ 0.00567626953125, 0.007049560546875, -0.01458740234375, 0.013671875, 0.00543212890625, 0.017578125, -0.0284423828125, -0.009765625, 0.005035400390625, -0.0018157958984375, -0.00677490234375, -0.01031494140625, 0.03369140625, 0.020263671875, 0.01251220703125, 0.00133514404296875, -0.0...
[ 187, 6126, 304, 15296, 38308, 98352, 31089, 12960, 17664, 60751, 7612, 2182, 72, 3066, 33, 4084, 160328, 6169, 8, 6423, 58875, 1340, 117008, 11030, 66, 6773, 206, 30854, 37286, 43711, 3355, 7, 55898, 1363, 35064, 18499, 51042, 28282, 1305, ...
[ 0.1025390625, 0.18505859375, 0.177490234375, 0.1072998046875, 0.2174072265625, 0.2425537109375, 0.1197509765625, 0.05560302734375, 0.256591796875, 0.236083984375, 0.1427001953125, 0.0782470703125, 0.0305938720703125, 0.1685791015625, 0.010498046875, 0.041778564453125, 0.0750122070312...
embed
34077143_c0
34077143
elixir
0
Title: How to update all models assigned to model? Problem title: How to update all models assigned to model? Tags: phoenix-framework, elixir, ecto Problem: How to update all models assigned to model? TimeStamp belongs to Card, Card has_many TimeStamps, in my case when user check 'assing_card' then How to assign to the...
How to update all models assigned to model? How to update all models assigned to model? phoenix-framework elixir ecto How assing_card TimeStampController time_stamp_id user_id time_stamp Repo.get TimeStamp Repo.preload String.to_integer time_stamps time_stamp.card Map.get Repo.update_all How to update all models assign...
[ -0.01519775390625, -0.01446533203125, 0.004425048828125, -0.01312255859375, 0.0023956298828125, 0, -0.018798828125, 0.002227783203125, 0.0198974609375, -0.047119140625, 0.002166748046875, -0.01312255859375, -0.00482177734375, 0.01031494140625, 0.00921630859375, -0.0216064453125, 0.00...
[ 11249, 47, 28350, 756, 115774, 95486, 297, 3299, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 10, 38001, 38931, 19055, 42378, 2676, 175904, 603, 1733, 590, 532, 38937, 853, 771, 4692, 63033, 6191, 42719, 117008, 5584, 10617, 23660, ...
[ 0.05828857421875, 0.1185302734375, 0.2127685546875, 0.1580810546875, 0.2467041015625, 0.2044677734375, 0.07354736328125, 0.2325439453125, 0.0148773193359375, 0.0350341796875, 0.1044921875, 0.08343505859375, 0.039794921875, 0.0190582275390625, 0.161865234375, 0.1844482421875, 0.046508...
embed
50592456_c0
50592456
elixir
0
Title: What are the reserved attributes in Elixir? Problem title: What are the reserved attributes in Elixir? Tags: keyword, elixir Problem: What are the reserved attributes in Elixir? I just spent a lot of time investigating why my code was returning nil: defmodule Test @impl 42 def foo, do: IO.inspect(@impl) It turns...
What are the reserved attributes in Elixir? What are the reserved attributes in Elixir? keyword elixir What Elixir Test IO.inspect British OTP before_compile What are the reserved attributes in Elixir? I just spent a lot of time investigating why my code was returning nil: It turns out that @impl is a reserved attribut...
[ -0.0108642578125, 0.0133056640625, -0.000965118408203125, -0.00830078125, 0.0244140625, 0.01263427734375, 0.005523681640625, 0.0062255859375, -0.00335693359375, 0.01275634765625, 0.0050048828125, -0.005523681640625, 0.0172119140625, 0.0206298828125, 0.000911712646484375, 0.024536132812...
[ 4865, 70488, 150380, 90, 23, 25318, 38308, 621, 70, 166117, 15296, 8647, 17780, 16711, 56101, 180, 23658, 8108, 58875, 1340, 15400, 18151, 30646, 214, 17324, 1374, 116120, 13, 9351, 149016, 4393, 5303, 7, 209806, 20903 ]
[ 0.03265380859375, 0.259765625, 0.222412109375, 0.1151123046875, 0.08056640625, 0.12841796875, 0.28369140625, 0.010986328125, 0.037353515625, 0.202880859375, 0.1024169921875, 0.13671875, 0.142578125, 0.09765625, 0.134033203125, 0.0311279296875, 0.1551513671875, 0.062255859375, 0.0...
embed
39461665_c0
39461665
elixir
0
Title: How do I map any given function over a list of values? Problem title: How do I map any given function over a list of values? Tags: elixir Problem: How do I map any given function over a list of values? I am splitting a string on a character and would like to trim the all the items in the resulting split. I would...
How do I map any given function over a list of values? How do I map any given function over a list of values? elixir UndefinedFunctionError How String.trim String.split Enum.map Did How do I map any given function over a list of values? I am splitting a string on a character and would like to trim the all the items in ...
[ -0.0203857421875, 0.009765625, 0.00250244140625, -0.007568359375, -0.018310546875, 0.0064697265625, 0.0206298828125, 0.0078125, -0.00250244140625, -0.0228271484375, -0.0003185272216796875, -0.013427734375, 0.00238037109375, 0.016357421875, 0.00994873046875, -0.00021266937255859375, 0...
[ 11249, 54, 87, 22288, 2499, 34475, 32354, 645, 5303, 142424, 15296, 38308, 79912, 5983, 97249, 18468, 31611, 23351, 214, 3996, 39, 7008, 4353, 357, 316, 62346, 10, 111, 65450, 1916, 79315, 98, 62816, 1884, 85247, 756, 55769, 41206, 4488, ...
[ 0.113037109375, 0.05450439453125, 0.064208984375, 0.236572265625, 0.069580078125, 0.1279296875, 0.233642578125, 0.17236328125, 0.16748046875, 0.1749267578125, 0.041229248046875, 0.19921875, 0.04736328125, 0.1591796875, 0.1248779296875, 0.06787109375, 0.06939697265625, 0.17175292968...
embed
73017858_c2
73017858
elixir
2
_header(conn, "accept", "application/json")} end describe "create_task:" do test "create task", %{conn: conn} do %{ token: [ token ] } = get_poster_token(conn) conn = post(conn, Routes.item_path(conn, :create_all, Code signals: Protocol.UndefinedError, __type__, create_task, OkBackendWeb.TaskControllerTest, ok_backend_...
_header(conn, "accept", "application/json")} end describe "create_task:" do test "create task", %{conn: conn} do %{ token: [ token ] } = get_poster_token(conn) conn = post(conn, Routes.item_path(conn, :create_all, Code signals: Protocol.UndefinedError, __type__, create_task, OkBackendWeb.TaskControllerTest, ok_backend_...
[ 0.012451171875, 0.007598876953125, -0.0247802734375, 0.0159912109375, 0.013427734375, -0.025390625, -0.0091552734375, -0.0181884765625, -0.00186920166015625, -0.0072021484375, 0.0233154296875, -0.000335693359375, -0.005218505859375, 0.0198974609375, -0.0225830078125, 0.0179443359375, ...
[ 101, 31251, 56, 2271, 19, 2263, 19462, 101687, 64, 170, 1681, 3564, 98363, 7612, 2182, 1073, 92, 12, 54, 3034, 66211, 158, 47, 1098, 2046, 4594, 6448, 1305, 106015, 217, 128405, 5584, 28864, 26073, 151607, 1067, 5983, 18468, 31611, 50986,...
[ 0.0567626953125, 0.1783447265625, 0.1148681640625, 0.1304931640625, 0.130615234375, 0.0345458984375, 0.164794921875, 0.16015625, 0.032257080078125, 0.112548828125, 0.156982421875, 0.1092529296875, 0.1556396484375, 0.1767578125, 0.132568359375, 0.2220458984375, 0.1038818359375, 0.04...
embed
46620882_c0
46620882
elixir
0
Title: Cannot use command line Elixir mix (macOS High Sierra) Problem title: Cannot use command line Elixir mix (macOS High Sierra) Tags: erlang, elixir Problem: Cannot use command line Elixir mix (macOS High Sierra) When i run command elixir -v or mix , it will return: {"init terminating in do_boot",{undef,[{elixir,st...
Cannot use command line Elixir mix (macOS High Sierra) Cannot use command line Elixir mix (macOS High Sierra) erlang elixir Cannot Elixir High Sierra do_boot start_cli start_em Crash erl_crash.dump...done Erlang OTP erts-8.0 source-6dc93c1 smp:4:4 async-threads:10 kernel-poll:false Eshell V8.0 Usage COMMAND Evaluates F...
[ -0.011474609375, 0.017822265625, 0.00958251953125, 0.0137939453125, -0.00003933906555175781, 0.003448486328125, -0.004364013671875, 0.005157470703125, -0.0024871826171875, 0, -0.006256103515625, -0.0172119140625, 0.0174560546875, 0.0289306640625, 0.0125732421875, -0.00933837890625, -...
[ 4171, 10869, 4527, 75101, 13315, 25318, 38308, 17664, 35572, 7285, 19694, 130454, 72, 3066, 15296, 80765, 4034, 150, 195, 34156, 127, 141, 41535, 693, 2676, 64007, 1004, 180, 23658, 933, 17376, 2389, 31344, 13545, 11591, 12654, 39116, 77924, ...
[ 0.0423583984375, 0.1435546875, 0.1580810546875, 0.1925048828125, 0.14892578125, 0.13330078125, 0.280029296875, 0.29296875, 0.0748291015625, 0.114990234375, 0.1400146484375, 0.253173828125, 0.0609130859375, 0.2296142578125, 0.123046875, 0.1383056640625, 0.0804443359375, 0.0921630859...
embed
63387392_c0
63387392
elixir
0
Title: Why have a supervision tree instead just one centralised supervisor? Problem title: Why have a supervision tree instead just one centralised supervisor? Tags: erlang-supervisor, erlang, elixir Problem: Why have a supervision tree instead just one centralised supervisor? I'm learning Elixir and Erlang/OTP and wou...
Why have a supervision tree instead just one centralised supervisor? Why have a supervision tree instead just one centralised supervisor? erlang-supervisor erlang elixir Why MainSupervisor StashWorker SubSupervisor SequenceWorker Why have a supervision tree instead just one centralised supervisor? I'm learning Elixir a...
[ 0.007171630859375, 0.040283203125, -0.006134033203125, -0.0003528594970703125, 0.00439453125, -0.001190185546875, 0.01458740234375, -0.0093994140625, 0.006500244140625, -0.0191650390625, -0.005645751953125, -0.01336669921875, 0.0093994140625, 0.0289306640625, 0.000942230224609375, -0.0...
[ 44084, 765, 1601, 25826, 53201, 64457, 1660, 1632, 9879, 52021, 51858, 72, 3066, 59104, 15296, 38308, 12321, 73903, 6512, 1495, 108259, 56, 8273, 944, 25318, 1004, 23658, 12330, 19441, 33976, 103210, 19882, 5426, 131011, 10, 332, 66398, 6897,...
[ 0.129150390625, 0.0338134765625, 0.2197265625, 0.230224609375, 0.24755859375, 0.1097412109375, 0.06646728515625, 0.1402587890625, 0.1474609375, 0.1033935546875, 0.2496337890625, 0.043212890625, 0.21435546875, 0.1824951171875, 0.03564453125, 0.18505859375, 0.09124755859375, 0.197998...
embed
49424763_c0
49424763
elixir
0
Title: Translate specific phases in a string in elixir Problem title: Translate specific phases in a string in elixir Tags: gettext, elixir, string Problem: Translate specific phases in a string in elixir I have a list with words that needs to be translated in strings, but not the whole string should be translated, onl...
Translate specific phases in a string in elixir Translate specific phases in a string in elixir gettext elixir string Translate list_with_words_that_needs_to_translate Enum.join String.replace Translate specific phases in a string in elixir I have a list with words that needs to be translated in strings, but not the wh...
[ -0.016845703125, -0.0203857421875, -0.011474609375, 0.0031280517578125, 0.005889892578125, -0.0123291015625, 0.006591796875, -0.01397705078125, 0.009521484375, -0.0037078857421875, -0.01806640625, 0.0107421875, -0.00193023681640625, 0.0157470703125, -0.0027618408203125, 0.029296875, ...
[ 11062, 19309, 29458, 93402, 7, 23, 79315, 15296, 38308, 2046, 22829, 5303, 76228, 47416, 86673, 86, 297, 188, 30145, 357, 316, 513, 23351, 214, 107, 23935, 34153, 27117, 3900, 143, 28271, 5608, 27781, 2831, 84751, 16750, 25379, 126371, 7477...
[ 0.1588134765625, 0.1610107421875, 0.18359375, 0.2130126953125, 0.083740234375, 0.06536865234375, 0.2177734375, 0.0989990234375, 0.25634765625, 0.07275390625, 0.2030029296875, 0.1451416015625, 0.04437255859375, 0.09869384765625, 0.01092529296875, 0.05108642578125, 0.0780029296875, 0...
embed
37601242_c0
37601242
elixir
0
Title: Why Is :fs.start_link/2 Undefined? Problem title: Why Is :fs.start_link/2 Undefined? Tags: elixir, interop Problem: Why Is :fs.start_link/2 Undefined? I'm attempting to use the fs library with Elixir. Elixir 1.2.5 and fs 0.9.2 on Windows 10. I've added fs to my dependencies in my mix.exs and it seems to be there...
Why Is :fs.start_link/2 Undefined? Why Is :fs.start_link/2 Undefined? elixir interop UndefinedFunctionError Why fs.start_link Undefined fs.known_events fs_watcher Why Is :fs.start_link/2 Undefined? I'm attempting to use the fs library with Elixir. Elixir 1.2.5 and fs 0.9.2 on Windows 10. I've added fs to my dependencie...
[ 0.01055908203125, 0.0062255859375, 0.0021209716796875, -0.020263671875, -0.000904083251953125, -0.0002956390380859375, 0.01531982421875, -0.00141143798828125, -0.00439453125, -0.0281982421875, -0.0098876953125, -0.022216796875, 0.0057373046875, 0.032958984375, 0.00323486328125, -0.0212...
[ 44084, 2071, 17447, 17137, 10187, 12477, 79912, 5983, 297, 15296, 38308, 1940, 2146, 97249, 18468, 1238, 7, 69723, 90141, 35414, 56, 81887, 4527, 35773, 1294, 25318, 48413, 757, 151309, 3773, 4068, 49814, 42548, 117538, 17664, 3355, 2685, 136...
[ 0.09619140625, 0.0190582275390625, 0.2220458984375, 0.1866455078125, 0.246337890625, 0.250244140625, 0.1240234375, 0.2119140625, 0.0789794921875, 0.03985595703125, 0.2396240234375, 0.08013916015625, 0.1553955078125, 0.125, 0.062744140625, 0.15673828125, 0.1414794921875, 0.120605468...
embed
58881406_c0
58881406
elixir
0
Title: How to write Elixir macro similar to Ecto&#x27;s field/2? Problem title: How to write Elixir macro similar to Ecto&#x27;s field/2? Tags: macros, elixir, ecto, abstract-syntax-tree Problem: How to write Elixir macro similar to Ecto's field/2? I'm learning Elixir and came across such situation: I have an Ecto sche...
How to write Elixir macro similar to Ecto&#x27;s field/2? How to write Elixir macro similar to Ecto&#x27;s field/2? macros elixir ecto abstract-syntax-tree How Elixir Ecto get_by Repo.all __MODULE__ r.column r.id How to write Elixir macro similar to Ecto's field/2? I'm learning Elixir and came across such situation: I ...
[ -0.00872802734375, -0.0002613067626953125, -0.00885009765625, 0.0235595703125, 0.004852294921875, 0.01611328125, -0.005462646484375, -0.00531005859375, -0.00775146484375, -0.056396484375, -0.0015869140625, 0.03955078125, -0.00244140625, -0.0206298828125, -0.0035400390625, -0.0202636718...
[ 11249, 47, 33022, 25318, 38308, 111789, 21373, 241, 44150, 3768, 44457, 12477, 15296, 60751, 164789, 86531, 62600, 2046, 1272, 853, 771, 5584, 12013, 397, 129984, 1690, 8447, 316, 19, 5, 532, 52080, 16648, 61903, 3444, 32354, 1884, 3794, 51...
[ 0.09088134765625, 0.05645751953125, 0.185302734375, 0.1094970703125, 0.27197265625, 0.2386474609375, 0.159423828125, 0.094482421875, 0.27587890625, 0.0267181396484375, 0.203125, 0.1641845703125, 0.066650390625, 0.1953125, 0.06829833984375, 0.0994873046875, 0.1229248046875, 0.132080...
embed
32692332_c0
32692332
elixir
0
Title: Where to put helper module on Phoenix Framework Problem title: Where to put helper module on Phoenix Framework Tags: elixir, phoenix-framework Problem: Where to put helper module on Phoenix Framework I want to add a helper module to do a get request using http://hexdocs.pm/httpoison/HTTPoison.Base.html But when ...
Where to put helper module on Phoenix Framework Where to put helper module on Phoenix Framework elixir phoenix-framework UndefinedFunctionError Ecto.Model Ecto.Query Shopper.Router.Helpers Where Phoenix Framework Phoenix.Controller Shopper.Repo Shopper.CallApi Compilation page_controller.ex Shopper.CallApi.__using__ pa...
[ -0.006500244140625, 0.00732421875, 0.00909423828125, -0.005889892578125, 0.011474609375, 0.0194091796875, 0.01495361328125, -0.029052734375, 0.001861572265625, -0.056396484375, -0.01531982421875, -0.0205078125, 0.0205078125, -0.0023956298828125, 0.0181884765625, -0.010986328125, -0.0...
[ 78662, 47, 3884, 4358, 56, 88996, 98, 133720, 202220, 15296, 38308, 53073, 33, 4084, 160328, 18244, 79912, 5983, 97249, 44150, 140290, 24211, 1264, 25208, 60785, 21777, 175904, 603, 771, 5584, 284, 1434, 15612, 14, 9191, 81988, 3355, 15190, ...
[ 0.0987548828125, 0.0362548828125, 0.131103515625, 0.21533203125, 0.2169189453125, 0.234375, 0.1024169921875, 0.268798828125, 0.22900390625, 0.0302886962890625, 0.164794921875, 0.054931640625, 0.044769287109375, 0.07928466796875, 0.0841064453125, 0.045013427734375, 0.006072998046875, ...
embed
53460350_c0
53460350
elixir
0
Title: Get stacktrace from inside Code.eval_quoted Problem title: Get stacktrace from inside Code.eval_quoted Tags: stack-trace, elixir Problem: Get stacktrace from inside Code.eval_quoted Is it possible to get a full stacktrace or see on which line an error gets throw when evaluating a quoted block in Elixir? For exam...
Get stacktrace from inside Code.eval_quoted Get stacktrace from inside Code.eval_quoted stack-trace elixir ArithmeticError inside Get Code.eval_quoted Test IO.puts Get stacktrace from inside Code.eval_quoted Is it possible to get a full stacktrace or see on which line an error gets throw when evaluating a quoted block ...
[ 0.01251220703125, 0.039306640625, -0.00002014636993408203, 0.0023956298828125, 0.0010223388671875, -0.01141357421875, 0.0213623046875, -0.00872802734375, -0.0084228515625, -0.0478515625, -0.0264892578125, 0.0191650390625, 0.007659912109375, -0.0005645751953125, -0.00185394287109375, 0....
[ 20779, 177261, 39989, 13, 1295, 46132, 28864, 1405, 68726, 15296, 38308, 8962, 282, 9523, 18468, 31611, 8647, 17780, 7077, 7722, 2046, 4393, 1957, 13315, 18499, 62163, 104250, 151575, 66747, 46389, 25318, 88996, 71924, 45831, 56, 3066, 104116, ...
[ 0.038726806640625, 0.1693115234375, 0.2347412109375, 0.1466064453125, 0.055511474609375, 0.1558837890625, 0.1600341796875, 0.1676025390625, 0.130126953125, 0.052093505859375, 0.25, 0.0948486328125, 0.0662841796875, 0.039154052734375, 0.09033203125, 0.162353515625, 0.079345703125, 0...
embed
39702797_c0
39702797
elixir
0
Title: Bad character code when parsing xml in exml Problem title: Bad character code when parsing xml in exml Tags: xml, erlang, elixir Problem: Bad character code when parsing xml in exml I have simple, elixir application: defmodule Interop do @moduledoc false def main(args) do Application.ensure_all_started :inets re...
Bad character code when parsing xml in exml Bad character code when parsing xml in exml xml erlang elixir Bad Interop Application.ensure_all_started httpc.request www.nbp.pl LastA.xml handle_response _headers Exml.parse IO.puts bad_character_code iso-8859-2 xmerl_ucs.erl:511 xmerl_ucs.to_unicode xmerl_scan.erl:709 xmer...
[ 0.005767822265625, 0.01483154296875, 0.0133056640625, -0.0089111328125, 0.017822265625, 0.0142822265625, -0.017578125, -0.01422119140625, -0.0087890625, -0.0084228515625, 0.01025390625, -0.029296875, -0.000873565673828125, 0.015625, 0.0062255859375, -0.01361083984375, 0.0234375, 0....
[ 12745, 62816, 18151, 3229, 366, 6953, 131492, 23, 28, 72, 3066, 15296, 38308, 5337, 2146, 104921, 33, 56851, 5584, 17137, 1621, 238, 75616, 275, 254, 2424, 21672, 284, 34831, 134719, 31251, 241, 2500, 17780, 7077, 6494, 9254, 2263, 40899, ...
[ 0.2015380859375, 0.2027587890625, 0.1971435546875, 0.03302001953125, 0.1571044921875, 0.06884765625, 0.293212890625, 0.0635986328125, 0.10040283203125, 0.05841064453125, 0.1939697265625, 0.0960693359375, 0.232666015625, 0.10986328125, 0.1990966796875, 0.11767578125, 0.02044677734375,...
embed
61460579_c0
61460579
elixir
0
Title: websockex: Error to connect ssl sockets with a CRLF json protocol Problem title: websockex: Error to connect ssl sockets with a CRLF json protocol Tags: sockets, websocket, erlang, elixir Problem: websockex: Error to connect ssl sockets with a CRLF json protocol I'm trying to connect to a socket (ssl) using webs...
websockex: Error to connect ssl sockets with a CRLF json protocol websockex: Error to connect ssl sockets with a CRLF json protocol sockets websocket erlang elixir WebSockex.ConnError Error CRLF WebSocketExample WebSockex start_link WebSockex.start_link __MODULE__ handle_frame IO.puts Received Message Type handle_cast ...
[ -0.000835418701171875, 0.0301513671875, -0.0159912109375, -0.0010528564453125, 0.00518798828125, -0.002960205078125, -0.01068115234375, -0.0029754638671875, -0.0189208984375, -0.0038299560546875, 0.002349853515625, -0.0166015625, 0.001983642578125, -0.0009613037109375, -0.00927734375, ...
[ 1467, 991, 20013, 425, 212059, 37067, 91, 24861, 221, 27853, 678, 25109, 58545, 1647, 1681, 91363, 72, 3066, 15296, 38308, 4002, 8912, 11935, 18468, 31611, 11, 4034, 10187, 17137, 12013, 397, 34831, 160328, 17780, 7077, 48205, 60457, 55741, ...
[ 0.09869384765625, 0.13525390625, 0.15771484375, 0.19970703125, 0.19140625, 0.170166015625, 0.03692626953125, 0.2313232421875, 0.0880126953125, 0.18505859375, 0.0244140625, 0.09637451171875, 0.2354736328125, 0.0751953125, 0.2015380859375, 0.1798095703125, 0.001190185546875, 0.171997...
embed
58983505_c0
58983505
elixir
0
Title: Invalid Elixir version requirement in mix.exs file Problem title: Invalid Elixir version requirement in mix.exs file Tags: elixir, elixir-mix Problem: Invalid Elixir version requirement in mix.exs file I'm trying to run mix deps.get . When I do, I get the following error: (Mix) Invalid Elixir version requirement...
Invalid Elixir version requirement in mix.exs file Invalid Elixir version requirement in mix.exs file elixir elixir-mix Invalid Elixir mix.exs deps.get Mix elixirc_paths Mix.env Mix.compilers start_permanent Erlang OTP erts-10.3.4 smp:8:8 ds:8:8:10 async-threads:1 Invalid Elixir version requirement in mix.exs file I'm ...
[ 0.00396728515625, 0.0196533203125, 0.01300048828125, 0.0027313232421875, -0.0007781982421875, 0.0024871826171875, -0.0302734375, -0.00168609619140625, -0.00006198883056640625, 0.010498046875, 0.006591796875, -0.017333984375, 0.01177978515625, 0.033447265625, 0.00537109375, 0.0140991210...
[ 360, 7013, 25318, 38308, 11389, 64209, 674, 17664, 3355, 7, 11435, 15296, 62015, 71, 8, 6423, 3794, 37286, 38365, 128405, 334, 5974, 4034, 669, 1004, 3066, 180, 23658, 72, 933, 172508, 2676, 15110, 12654, 39116, 25632, 18499, 3293, 83, 37...
[ 0.0219879150390625, 0.1622314453125, 0.1259765625, 0.260986328125, 0.19677734375, 0.13720703125, 0.03570556640625, 0.259033203125, 0.1829833984375, 0.1578369140625, 0.146728515625, 0.10211181640625, 0.187744140625, 0.003875732421875, 0.15380859375, 0.133056640625, 0.082763671875, 0...
embed
42753729_c1
42753729
elixir
1
that HttpPlatformHandler adds to the requests that it forwards to the Phoenix process, and I'm using a set of NIFS to call the Windows API to get the Windows SID and domain\username of the authenticated user in order to establish the session and authorize the user. Has anyone tried this before and seeing the same issu...
that HttpPlatformHandler adds to the requests that it forwards to the Phoenix process, and I'm using a set of NIFS to call the Windows API to get the Windows SID and domain\username of the authenticated user in order to establish the session and authorize the user. Has anyone tried this before and seeing the same issu...
[ 0.00823974609375, 0.0147705078125, -0.00140380859375, 0.01507568359375, -0.01434326171875, 0.00823974609375, 0.0034027099609375, -0.021484375, -0.006103515625, -0.0478515625, 0.0181884765625, 0.0311279296875, 0.0035858154296875, 0.01123046875, -0.004791259765625, 0.020263671875, -0.0...
[ 450, 572, 3062, 254, 117231, 5037, 135679, 603, 15190, 47, 50336, 40225, 133720, 9433, 17368, 5423, 20001, 36381, 11782, 3773, 61687, 2046, 159, 7146, 77758, 65918, 195734, 38937, 137633, 56002, 42179, 37842, 8108, 5701, 31089, 25318, 38308, ...
[ 0.0182342529296875, 0.0163116455078125, 0.0960693359375, 0.043792724609375, 0.11767578125, 0.124267578125, 0.22607421875, 0.1861572265625, 0.1668701171875, 0.032623291015625, 0.2049560546875, 0.1312255859375, 0.251220703125, 0.09814453125, 0.05010986328125, 0.041595458984375, 0.10522...
embed
74627464_c1
74627464
elixir
1
ina/ecto.ex:127: ExMachina.Ecto.params_for/3 test/booking/practitioners_test.exs:23: (test) Here's my lib/booking/factory.ex 1 defmodule Booking.Factory do 2 # with Ecto 3 use ExMachina.Ecto, repo: Booking.Repo 4 5 alias Booking.Practitioners.Practitioner 6 alias Booking.Products.Product 7 alias Booking.Repo 8 9 def pr...
ina/ecto.ex:127: ExMachina.Ecto.params_for/3 test/booking/practitioners_test.exs:23: (test) Here's my lib/booking/factory.ex 1 defmodule Booking.Factory do 2 # with Ecto 3 use ExMachina.Ecto, repo: Booking.Repo 4 5 alias Booking.Practitioners.Practitioner 6 alias Booking.Products.Product 7 alias Booking.Repo 8 9 def pr...
[ 0.017578125, 0.004608154296875, 0.0078125, 0.006744384765625, -0.0003910064697265625, 0.0133056640625, -0.0113525390625, -0.0283203125, 0.0022430419921875, -0.028564453125, -0.01513671875, -0.00433349609375, 0.027099609375, 0.007293701171875, 0.001220703125, -0.0299072265625, -0.0142...
[ 9873, 60751, 3355, 133249, 5443, 4613, 42072, 647, 44150, 2500, 8256, 2472, 18113, 3034, 14137, 214, 14170, 118, 23850, 6954, 24864, 11853, 759, 25474, 144810, 53, 106, 8, 420, 83279, 52722, 135518, 31667, 116, 241, 138, 4527, 5, 93392, 4...
[ 0.1353759765625, 0.2244873046875, 0.181640625, 0.1990966796875, 0.1920166015625, 0.163330078125, 0.23876953125, 0.0850830078125, 0.2484130859375, 0.11962890625, 0.1376953125, 0.05096435546875, 0.1588134765625, 0.1724853515625, 0.1944580078125, 0.108154296875, 0.1319580078125, 0.130...
embed
61376639_c1
61376639
elixir
1
Image(url, data, headers) { const response = await fetch(url, { method: "PUT", headers: headers, body: data }); return response; } const handleUpload = e => { const formData = new FormData(); formData.append("image", file); const myHeaders = new Headers(); myHeaders.append("ContentType", file.type); uploadImage(presign...
Image(url, data, headers) { const response = await fetch(url, { method: "PUT", headers: headers, body: data }); return response; } const handleUpload = e => { const formData = new FormData(); formData.append("image", file); const myHeaders = new Headers(); myHeaders.append("ContentType", file.type); uploadImage(presign...
[ -0.005767822265625, 0.002288818359375, 0.00074005126953125, 0.0013427734375, 0.0034027099609375, -0.0191650390625, 0.0223388671875, 0.0087890625, 0.00982666015625, 0.018310546875, 0.0206298828125, 0.020263671875, -0.00726318359375, 0.005523681640625, 0.01104736328125, -0.0279541015625,...
[ 22710, 25002, 2053, 10336, 1314, 158, 271, 57553, 634, 217, 7647, 206, 55300, 124599, 14361, 30646, 34831, 53234, 63033, 28, 3173, 137989, 15236, 9007, 37926, 11435, 759, 13025, 11, 14202, 44816, 3611, 25352, 196707, 50986, 70622, 216960, 951...
[ 0.226806640625, 0.2056884765625, 0.17626953125, 0.1871337890625, 0.138427734375, 0.05133056640625, 0.0693359375, 0.1571044921875, 0.0633544921875, 0.0251617431640625, 0.0684814453125, 0.0543212890625, 0.077880859375, 0.1336669921875, 0.1357421875, 0.00262451171875, 0.224609375, 0.1...
embed
34977959_c0
34977959
elixir
0
Title: Redirection inside a plug in Phoenix framework Problem title: Redirection inside a plug in Phoenix framework Tags: elixir, phoenix-framework Problem: Redirection inside a plug in Phoenix framework I'm trying to write a Plug which will authenticate users (checking session actually). I have trouble getting redirec...
Redirection inside a plug in Phoenix framework Redirection inside a plug in Phoenix framework elixir phoenix-framework Plug.Conn Redirection Phoenix Plug TestApp.page_path page_path TestApp.Plugs.Authenticate Plug.Conn.get_session current_user is_nil Phoenix.Controller.put_flash User Phoenix.Controller.redirect Redirec...
[ -0.000743865966796875, 0.00531005859375, 0.01275634765625, 0.0076904296875, -0.0174560546875, 0.005950927734375, -0.03173828125, -0.0306396484375, -0.0048828125, -0.06298828125, -0.00787353515625, 0.000705718994140625, -0.0027618408203125, 0.013671875, 0.006134033203125, -0.00576782226...
[ 853, 936, 58994, 46132, 76329, 133720, 170846, 23, 15296, 38308, 53073, 33, 4084, 160328, 194351, 11935, 19, 8647, 39179, 22469, 128405, 9191, 35159, 63250, 169234, 43581, 65918, 17324, 175904, 5544, 53400, 603, 107, 80581, 31577, 33022, 195734...
[ 0.120849609375, 0.1881103515625, 0.138916015625, 0.1824951171875, 0.2158203125, 0.250244140625, 0.20166015625, 0.049407958984375, 0.031982421875, 0.1575927734375, 0.0188446044921875, 0.0302734375, 0.05108642578125, 0.08868408203125, 0.2052001953125, 0.0762939453125, 0.0518798828125, ...
embed
26090500_c1
26090500
elixir
1
gen_fsm.erl:503: :gen_fsm.handle_msg/7 (stdlib) proc_lib.erl:237: :proc_lib.init_p_do_apply/3 nil iex(41)> Code signals: Protocol.UndefinedError, MatchError, Elixir, URLs, HTTPotion.start, HTTPotion.get, api.github.com, inets.start, ssl.start, httpc.request, String.Chars, EXIT, ssl_handshake, dec_hello_extensions, ssl...
gen_fsm.erl:503: :gen_fsm.handle_msg/7 (stdlib) proc_lib.erl:237: :proc_lib.init_p_do_apply/3 nil iex(41)> Code signals: Protocol.UndefinedError, MatchError, Elixir, URLs, HTTPotion.start, HTTPotion.get, api.github.com, inets.start, ssl.start, httpc.request, String.Chars, EXIT, ssl_handshake, dec_hello_extensions, ssl...
[ -0.01458740234375, 0.010986328125, 0.00921630859375, 0.00946044921875, -0.0001277923583984375, -0.02197265625, -0.01544189453125, -0.01519775390625, 0.00616455078125, -0.013671875, 0.0135498046875, -0.04736328125, 0.023193359375, 0.0242919921875, -0.0018310546875, -0.004241943359375, ...
[ 9226, 454, 17447, 39, 56, 141, 23837, 363, 12, 1409, 79628, 4432, 177, 32359, 271, 71, 5612, 10402, 24864, 966, 3454, 238, 73, 217, 254, 246, 9007, 538, 18113, 17324, 3355, 123001, 2740, 28864, 26073, 151607, 1067, 5983, 18468, 31611, 6...
[ 0.22412109375, 0.0078125, 0.139892578125, 0.1973876953125, 0.09857177734375, 0.10107421875, 0.0994873046875, 0.139404296875, 0.03582763671875, 0.1846923828125, 0.168701171875, 0.1297607421875, 0.0780029296875, 0.0584716796875, 0.102783203125, 0.010528564453125, 0.1834716796875, 0.1...
embed
58369722_c0
58369722
elixir
0
Title: Verifying Firebase ID Token in Elixir/Erlang Problem title: Verifying Firebase ID Token in Elixir/Erlang Tags: elixir, erlang, firebase-authentication, firebase, phoenix-framework Problem: Verifying Firebase ID Token in Elixir/Erlang I've set up Firebase for frontend authentication and I am sending the ID token,...
Verifying Firebase ID Token in Elixir/Erlang Verifying Firebase ID Token in Elixir/Erlang elixir erlang firebase-authentication firebase phoenix-framework Verifying Firebase Token Elixir Erlang HTTPoison.get cert_url Poison.Parser.parse Joken.peek_header Verifying Firebase ID Token in Elixir/Erlang I've set up Firebase...
[ 0.02587890625, -0.0023040771484375, -0.0098876953125, -0.0034942626953125, 0.025390625, -0.010986328125, 0.0198974609375, -0.00799560546875, -0.0162353515625, -0.042236328125, 0.00152587890625, -0.0005035400390625, -0.000728607177734375, 0.00067138671875, -0.00482177734375, 0.013122558...
[ 1446, 151138, 31143, 37382, 11338, 717, 1098, 23, 25318, 38308, 64, 18468, 3066, 15296, 72, 11476, 1003, 63250, 53073, 33, 4084, 160328, 1004, 135913, 40514, 3794, 35649, 25002, 64249, 191, 28636, 2500, 2177, 1081, 31251, 12912, 3611, 195734,...
[ 0.177490234375, 0.1259765625, 0.145263671875, 0.268310546875, 0.169189453125, 0.1275634765625, 0.204345703125, 0.025299072265625, 0.115966796875, 0.2445068359375, 0.02874755859375, 0.137939453125, 0.264892578125, 0.06329345703125, 0.07708740234375, 0.1004638671875, 0.06195068359375, ...
embed
49323979_c0
49323979
elixir
0
Title: How to unit test against gen_server callbacks? Problem title: How to unit test against gen_server callbacks? Tags: gen-server, erlang-otp, unit-testing, elixir Problem: How to unit test against gen_server callbacks? I have a case where a process starts, sends itself a message in the init block, and has a side ef...
How to unit test against gen_server callbacks? How to unit test against gen_server callbacks? gen-server erlang-otp unit-testing elixir How gen_server handle_info handle_call handle_cast How to unit test against gen_server callbacks? I have a case where a process starts, sends itself a message in the init block, and ha...
[ 0.0036468505859375, 0.0142822265625, -0.0034332275390625, 0.0062255859375, 0.0030059814453125, -0.019287109375, 0.001983642578125, -0.0029754638671875, -0.00225830078125, -0.0299072265625, -0.0033721923828125, 0.0087890625, 0.004119873046875, 0.0230712890625, 0.01324462890625, 0.009826...
[ 11249, 47, 25072, 3034, 26548, 9226, 39642, 11782, 12620, 454, 3066, 818, 254, 6954, 15296, 38308, 34831, 7319, 85763, 55741, 7, 7225, 9433, 4034, 68034, 26008, 23, 217, 46389, 5609, 21543, 234311, 84079, 105233, 83324, 69924, 28484, 16865, ...
[ 0.053436279296875, 0.0266265869140625, 0.212890625, 0.2347412109375, 0.1949462890625, 0.150390625, 0.2144775390625, 0.1607666015625, 0.2254638671875, 0.045501708984375, 0.154541015625, 0.031524658203125, 0.04156494140625, 0.158447265625, 0.003021240234375, 0.10791015625, 0.1436767578...
embed
49274238_c0
49274238
elixir
0
Title: How do i read a byte bit by bit with little endianness Problem title: How do i read a byte bit by bit with little endianness Tags: elixir, binary Problem: How do i read a byte bit by bit with little endianness I'm trying to read a byte bit by bit, but I found the order of the bits to be reversed. I was suggested...
How do i read a byte bit by bit with little endianness How do i read a byte bit by bit with little endianness elixir binary How test1::little-size test2::little-size test3::little-size test4::little-size test5::little-size test6::little-size test7::little-size test8::little-size How do i read a byte bit by bit with lit...
[ -0.00885009765625, 0.005157470703125, -0.00946044921875, 0.004486083984375, 0.00089263916015625, 0.006195068359375, -0.020751953125, -0.00384521484375, 0.0059814453125, -0.0004138946533203125, 0.0203857421875, -0.006195068359375, -0.0166015625, 0.0166015625, 0.022216796875, -0.00350952...
[ 11249, 54, 17, 12301, 390, 67, 4785, 678, 10176, 22, 27201, 7432, 15296, 38308, 2394, 6635, 3034, 82825, 150, 46401, 62539, 304, 363, 617, 758, 1019, 31577, 12989, 186, 39531, 5281, 42459, 31895, 16454, 44691, 76228, 6957, 3390, 17368, 40...
[ 0.068603515625, 0.036834716796875, 0.0880126953125, 0.216796875, 0.1221923828125, 0.09259033203125, 0.16455078125, 0.0712890625, 0.17529296875, 0.09442138671875, 0.172607421875, 0.09765625, 0.080322265625, 0.2197265625, 0.16552734375, 0.084228515625, 0.1435546875, 0.028839111328125...
embed
34864508_c0
34864508
elixir
0
Title: How can I load an association without preloading it? Problem title: How can I load an association without preloading it? Tags: ecto, elixir Problem: How can I load an association without preloading it? I have the following two models: schema "users" do field :email, :string field :crypted_password, :string field...
How can I load an association without preloading it? How can I load an association without preloading it? ecto elixir How crypted_password has_many exercise_entries ExerciseEntry Ecto.DateTime belongs_to User Repo.get u.exercise_entries Ecto.Association.NotLoaded Repo.preload How can I load an association without prelo...
[ 0.0089111328125, 0.005096435546875, -0.01068115234375, 0.01416015625, -0.0196533203125, -0.0098876953125, 0.0010528564453125, -0.004425048828125, 0.006103515625, -0.06640625, -0.00836181640625, -0.000720977783203125, -0.016845703125, 0.0145263671875, 0.0042724609375, -0.002700805664062...
[ 11249, 831, 72367, 142, 125413, 15490, 479, 63033, 60751, 15296, 38308, 136791, 297, 13409, 47416, 669, 53, 81979, 2517, 155534, 7768, 15123, 241, 44150, 86291, 70059, 10617, 53400, 853, 771, 3794, 46480, 15019, 214813, 122116, 15363, 4692, 6...
[ 0.032989501953125, 0.03759765625, 0.215087890625, 0.03717041015625, 0.232666015625, 0.131103515625, 0.149658203125, 0.2076416015625, 0.1815185546875, 0.05682373046875, 0.180908203125, 0.18798828125, 0.05780029296875, 0.07147216796875, 0.1214599609375, 0.02838134765625, 0.021148681640...
embed
33423766_c0
33423766
elixir
0
Title: Accepting a date in Phoenix JSON API Problem title: Accepting a date in Phoenix JSON API Tags: phoenix-framework, json, elixir Problem: Accepting a date in Phoenix JSON API In Phoenix I have this model schema "events" do field :start_time, Ecto.DateTime field :end_time, Ecto.DateTime belongs_to :calendar, Weozo....
Accepting a date in Phoenix JSON API Accepting a date in Phoenix JSON API phoenix-framework json elixir Accepting Phoenix JSON API start_time Ecto.DateTime end_time belongs_to Weozo.Calendar required_fields calendar_id optional_fields event_params Event.changeset Event Repo.insert put_status put_resp_header event_path ...
[ -0.01300048828125, 0.011474609375, 0.0047607421875, 0.013671875, -0.00061798095703125, -0.0145263671875, -0.0269775390625, 0.00836181640625, -0.00787353515625, -0.0216064453125, 0.0091552734375, 0.017333984375, -0.00518798828125, 0.0191650390625, -0.0096435546875, -0.0029296875, -0.0...
[ 111383, 214, 5622, 23, 133720, 821, 58627, 61687, 53073, 33, 4084, 160328, 1647, 1681, 15296, 38308, 4034, 6032, 44150, 86291, 70059, 3564, 10617, 7, 1401, 82471, 94553, 1506, 56065, 28394, 87939, 35829, 289, 454, 19732, 2500, 8256, 36943, ...
[ 0.1998291015625, 0.01519775390625, 0.2110595703125, 0.035888671875, 0.300048828125, 0.1270751953125, 0.22900390625, 0.197265625, 0.04583740234375, 0.04705810546875, 0.06182861328125, 0.086669921875, 0.09912109375, 0.1669921875, 0.03643798828125, 0.167236328125, 0.0809326171875, 0.1...
embed
56621792_c0
56621792
elixir
0
Title: how to change a list from one format to another Problem title: how to change a list from one format to another Tags: elixir Problem: how to change a list from one format to another I'm trying to change the format of a list using enum function. The original list looks like this myInitialList = [ {1, [ ["A3", "Ted...
how to change a list from one format to another how to change a list from one format to another elixir one Teddy gmail.com Katrin yahoo.com USA Enum.filter how to change a list from one format to another I'm trying to change the format of a list using enum function. The original list looks like this and I would like to...
[ 0.0001468658447265625, 0.0145263671875, -0.006500244140625, 0.0014495849609375, 0.000293731689453125, -0.00086212158203125, 0.0140380859375, 0.005157470703125, 0.01141357421875, 0.025146484375, 0.02587890625, 0.0162353515625, 0.007080078125, 0.021484375, 0.01092529296875, -0.0006866455...
[ 3642, 47, 15549, 10, 5303, 1295, 1632, 9384, 15700, 15296, 38308, 1413, 27376, 7095, 115761, 43741, 4602, 357, 316, 120337, 31577, 111, 17368, 22, 32354, 7311, 33342, 1884, 903, 46312, 36917, 35064, 16750, 35672, 6528, 45367, 72546, 183540, ...
[ 0.10467529296875, 0.15087890625, 0.224609375, 0.061767578125, 0.2413330078125, 0.151123046875, 0.1451416015625, 0.2398681640625, 0.150390625, 0.05316162109375, 0.181396484375, 0.0169525146484375, 0.1015625, 0.034332275390625, 0.1380615234375, 0.0579833984375, 0.06353759765625, 0.11...
embed
33550015_c1
33550015
elixir
1
ir/Supervisor.html # for other strategies and supported options opts = [strategy: :one_for_one, name: MyApp.Supervisor] Supervisor.start_link(children, opts) end But when I try to start the server it tells me that MarcoPolo is undefined: == Compilation error on file lib/myapp/orientdb_repo.ex == ** (UndefinedFunctionEr...
ir/Supervisor.html # for other strategies and supported options opts = [strategy: :one_for_one, name: MyApp.Supervisor] Supervisor.start_link(children, opts) end But when I try to start the server it tells me that MarcoPolo is undefined: == Compilation error on file lib/myapp/orientdb_repo.ex == ** (UndefinedFunctionEr...
[ -0.01214599609375, 0.0213623046875, 0.00031280517578125, 0.02734375, -0.015869140625, 0.0126953125, 0.0220947265625, -0.015869140625, -0.01239013671875, -0.052734375, -0.0205078125, -0.024169921875, 0.017333984375, 0.0174560546875, 0.0003204345703125, -0.006866455078125, -0.011535644...
[ 193, 73903, 51858, 7693, 3789, 50531, 8060, 50717, 233, 933, 151895, 3432, 3630, 2472, 2646, 39179, 4265, 17137, 10187, 237052, 3564, 4966, 9790, 4034, 10723, 14192, 38591, 73209, 31, 83, 9232, 5983, 69112, 15612, 14, 57860, 18499, 11435, 2...
[ 0.115234375, 0.182861328125, 0.29296875, 0.186279296875, 0.0367431640625, 0.1563720703125, 0.13427734375, 0.1732177734375, 0.161865234375, 0.1282958984375, 0.12548828125, 0.024658203125, 0.0804443359375, 0.06524658203125, 0.083984375, 0.1904296875, 0.18701171875, 0.1387939453125, ...
embed
40221918_c0
40221918
elixir
0
Title: How to call other functions from within Elixir GenServer handler? Problem title: How to call other functions from within Elixir GenServer handler? Tags: elixir, erlang-otp, erlang, function, gen-server Problem: How to call other functions from within Elixir GenServer handler? I have a GenServer that implements f...
How to call other functions from within Elixir GenServer handler? How to call other functions from within Elixir GenServer handler? elixir erlang-otp erlang function gen-server within How Elixir GenServer handle_call _from sync_all Enum.map GenServer.call Further handle_cast How to call other functions from within Elix...
[ -0.0103759765625, 0.010986328125, -0.00726318359375, 0.005462646484375, -0.005584716796875, -0.006622314453125, -0.000629425048828125, -0.0145263671875, 0.005126953125, -0.07080078125, 0.005126953125, -0.000041484832763671875, 0.003326416015625, 0.03759765625, 0.0145263671875, -0.00106...
[ 11249, 11782, 3789, 32354, 1295, 28032, 25318, 38308, 15937, 193348, 35863, 47, 15296, 72, 3066, 818, 254, 9226, 39642, 34831, 85763, 161063, 6002, 238, 5584, 357, 316, 62346, 55741, 29479, 123309, 11001, 35735, 48716, 3447, 49903, 959, 4488,...
[ 0.0621337890625, 0.1947021484375, 0.1435546875, 0.215087890625, 0.0838623046875, 0.129150390625, 0.09014892578125, 0.2091064453125, 0.143310546875, 0.2264404296875, 0.204833984375, 0.000762939453125, 0.0537109375, 0.038055419921875, 0.1724853515625, 0.041473388671875, 0.0650024414062...
embed
59291314_c0
59291314
elixir
0
Title: Elixir Phoenix Parse JSON as Struct Problem title: Elixir Phoenix Parse JSON as Struct Tags: phoenix-framework, elixir Problem: Elixir Phoenix Parse JSON as Struct Based on this answer , I know how to parse JSON to a struct using Poison.decode/2 : defmodule User do @derive [Poison.Encoder] defstruct [:address] e...
Elixir Phoenix Parse JSON as Struct Elixir Phoenix Parse JSON as Struct phoenix-framework elixir Elixir Phoenix Parse JSON Struct Poison.decode User Poison.Encoder Address MyAppWeb.Router MyAppWeb pipe_through MyController _json Here How Poison Elixir Phoenix Parse JSON as Struct Based on this answer , I know how to pa...
[ -0.01043701171875, 0.0189208984375, 0.0001850128173828125, 0.0164794921875, -0.004974365234375, 0.04150390625, -0.01007080078125, -0.00958251953125, 0.0034942626953125, -0.0211181640625, -0.0216064453125, 0.0145263671875, 0.01312255859375, 0.033203125, -0.0023651123046875, 0.0168457031...
[ 25318, 38308, 133720, 2392, 184, 821, 58627, 237, 63667, 15390, 53073, 33, 4084, 160328, 18244, 15296, 64249, 191, 112, 40899, 53400, 587, 820, 49990, 39179, 30474, 25208, 137158, 2646, 175904, 170, 1681, 11853, 3714, 3642, 366, 47, 36716, ...
[ 0.0902099609375, 0.219482421875, 0.261962890625, 0.156982421875, 0.1162109375, 0.1427001953125, 0.2440185546875, 0.079345703125, 0.1878662109375, 0.1051025390625, 0.035369873046875, 0.08026123046875, 0.12744140625, 0.075927734375, 0.022216796875, 0.046112060546875, 0.1685791015625, ...
embed