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
74168878_c0
74168878
elixir
0
Title: Why does this Supervisor not start the Genserver? Problem title: Why does this Supervisor not start the Genserver? Tags: gen-server, erlang-otp, elixir Problem: Why does this Supervisor not start the Genserver? When the Supervisor code below is invoked I expect the GenServer to start. The GenServer does not star...
Why does this Supervisor not start the Genserver? Why does this Supervisor not start the Genserver? gen-server erlang-otp elixir Why Supervisor Genserver App.Service start_link GenServer.start_link __MODULE__ get_state GenServer.call set_state handle_call _from new_state App.Supervisor Supervisor.start_link Supervisor....
[ -0.021484375, 0.03076171875, -0.01214599609375, -0.0107421875, -0.0012359619140625, -0.0140380859375, 0.027587890625, -0.029296875, -0.00396728515625, -0.0147705078125, -0.0028228759765625, 0.009765625, 0.00738525390625, 0.037353515625, 0.000640869140625, -0.01123046875, 0.0081176757...
[ 44084, 14602, 903, 4265, 51858, 959, 4034, 15937, 39642, 9226, 72, 3066, 818, 254, 15296, 38308, 5659, 121979, 10187, 193348, 17137, 454, 12013, 61340, 85763, 5423, 34831, 73903, 17780, 16711, 123996, 436, 7146, 70, 18151, 35064, 23253, 41206...
[ 0.109130859375, 0.027008056640625, 0.073486328125, 0.1822509765625, 0.2469482421875, 0.15087890625, 0.169677734375, 0.1595458984375, 0.25244140625, 0.1448974609375, 0.032989501953125, 0.1571044921875, 0.0770263671875, 0.09014892578125, 0.059326171875, 0.1693115234375, 0.1046142578125...
embed
60444767_c0
60444767
elixir
0
Title: Running mix ecto.create command for creating a database in a Phoenix project with a postgresql instaled by brew Problem title: Running mix ecto.create command for creating a database in a Phoenix project with a postgresql instaled by brew Tags: elixir-mix, elixir, macos, phoenix-framework Problem: Running mix ec...
Running mix ecto.create command for creating a database in a Phoenix project with a postgresql instaled by brew Running mix ecto.create command for creating a database in a Phoenix project with a postgresql instaled by brew elixir-mix elixir macos phoenix-framework Postgrex.Error Running ecto.create Phoenix MacBook-Pro...
[ 0.0294189453125, 0.0250244140625, 0.0191650390625, 0.0294189453125, 0.016845703125, 0.007415771484375, -0.01708984375, -0.0162353515625, -0.0079345703125, -0.025146484375, 0.0157470703125, -0.0120849609375, 0.037353515625, 0.010498046875, -0.008544921875, -0.00157928466796875, -0.012...
[ 28398, 592, 17664, 60751, 5, 7612, 2182, 75101, 105233, 63399, 133720, 13452, 678, 1305, 17562, 99247, 17283, 143006, 15296, 38308, 62015, 291, 7840, 4084, 160328, 2795, 7134, 425, 18468, 31611, 137265, 10752, 4657, 112, 587, 15937, 193348, 4...
[ 0.1187744140625, 0.0938720703125, 0.2607421875, 0.250732421875, 0.01055908203125, 0.1639404296875, 0.0693359375, 0.231201171875, 0.144775390625, 0.18017578125, 0.221435546875, 0.111572265625, 0.052642822265625, 0.0621337890625, 0.184814453125, 0.16845703125, 0.10546875, 0.224731445...
embed
43493716_c0
43493716
elixir
0
Title: Phoenix API: How do I test a POST / create when I don't know the ID of the new resource? Problem title: Phoenix API: How do I test a POST / create when I don't know the ID of the new resource? Tags: testing, phoenix-framework, elixir Problem: Phoenix API: How do I test a POST / create when I don't know...
Phoenix API: How do I test a POST / create when I don't know the ID of the new resource? Phoenix API: How do I test a POST / create when I don't know the ID of the new resource? testing phoenix-framework elixir Phoenix API How POST user_params spaghetti.com image_url www.google.com build_conn Router.call resp...
[ -0.0018310546875, -0.0130615234375, 0.0020599365234375, -0.01104736328125, 0.01263427734375, 0.0086669921875, 0.005889892578125, -0.0106201171875, 0.0005950927734375, -0.0159912109375, 0.02685546875, 0.0247802734375, -0.00775146484375, -0.006195068359375, 0.015869140625, -0.00259399414...
[ 133720, 61687, 11249, 87, 3034, 81903, 28282, 3229, 2301, 3768, 18, 3714, 11338, 3525, 177953, 248, 134234, 53073, 33, 4084, 160328, 18244, 15296, 38308, 38937, 2500, 8256, 217904, 277, 29569, 25002, 59875, 45367, 2271, 106015, 42, 85763, 575...
[ 0.276123046875, 0.20654296875, 0.052001953125, 0.00689697265625, 0.262939453125, 0.2239990234375, 0.18359375, 0.08172607421875, 0.06292724609375, 0.06353759765625, 0.10791015625, 0.1337890625, 0.1796875, 0.122314453125, 0.22216796875, 0.0144195556640625, 0.20849609375, 0.0447998046...
embed
75299244_c0
75299244
elixir
0
Title: Run blockscout on M1 chip Problem title: Run blockscout on M1 chip Tags: apple-m1, secp256k1, elixir Problem: Run blockscout on M1 chip I'm trying to run blockscout on my local machine (M1 chip). Following this guide, I'm getting this error: Generated mix_erlang_tasks app c_src/build_deps.sh Cloning into 'secp25...
Run blockscout on M1 chip Run blockscout on M1 chip apple-m1 secp256k1 elixir directive Bitwise Run Generated mix_erlang_tasks c_src build_deps.sh Cloning secp256k1 Enumerating Counting Compressing Total Receiving MiB Resolving HEAD d333521 Merge Support OpenSSL ENABLE_OPENSSL_TESTS AC_CONFIG_AUX_DIR ltmain.sh AC_CONFI...
[ -0.0028076171875, 0.0250244140625, -0.01287841796875, -0.0037689208984375, 0.00860595703125, -0.0042724609375, -0.00604248046875, -0.00421142578125, -0.0115966796875, -0.01409912109375, 0.021484375, 0.0244140625, 0.00799560546875, -0.005126953125, 0.0189208984375, 0.006561279296875, ...
[ 28398, 46389, 12064, 1003, 98, 276, 418, 59420, 108787, 39, 19216, 254, 127892, 15296, 38308, 8951, 27774, 90825, 155370, 17664, 56, 3066, 1073, 19437, 45367, 112, 6423, 1495, 51053, 92, 15537, 1311, 128396, 142158, 33867, 1208, 571, 132944, ...
[ 0.1004638671875, 0.18896484375, 0.1981201171875, 0.19775390625, 0.056121826171875, 0.1217041015625, 0.14599609375, 0.1270751953125, 0.10693359375, 0.042572021484375, 0.06689453125, 0.056182861328125, 0.1865234375, 0.068603515625, 0.175048828125, 0.0958251953125, 0.0279541015625, 0....
embed
38033817_c0
38033817
elixir
0
Title: How to make forms and transactions play well in phoenix + ecto? Problem title: How to make forms and transactions play well in phoenix + ecto? Tags: phoenix-framework, elixir, ecto Problem: How to make forms and transactions play well in phoenix + ecto? I'm playing with Phoenix + Ecto and I stumbled upon somethi...
How to make forms and transactions play well in phoenix + ecto? How to make forms and transactions play well in phoenix + ecto? phoenix-framework elixir ecto How Invitation User Repo.transaction Repo.insert User.email_changeset Invitation.changeset Ecto.Changeset.change user_id user.id Repo.rollback _changeset Ecto.Cha...
[ -0.007568359375, 0.006195068359375, 0.0009307861328125, -0.03466796875, 0.00946044921875, -0.00031280517578125, -0.00994873046875, -0.003143310546875, -0.01953125, -0.053955078125, 0.0021209716796875, 0.02490234375, -0.00024127960205078125, 0.048828125, 0.017578125, -0.0093994140625, ...
[ 11249, 47, 3249, 3173, 136, 124161, 7, 11301, 5299, 23, 53073, 33, 4084, 997, 60751, 160328, 18244, 15296, 38308, 360, 3760, 2320, 53400, 853, 771, 30145, 44713, 33657, 25501, 152028, 3509, 241, 44150, 127008, 4188, 126, 38937, 532, 27722, ...
[ 0.08447265625, 0.001800537109375, 0.08636474609375, 0.23974609375, 0.14697265625, 0.21533203125, 0.020660400390625, 0.1708984375, 0.1319580078125, 0.06976318359375, 0.0640869140625, 0.08740234375, 0.1124267578125, 0.173828125, 0.2218017578125, 0.0889892578125, 0.061126708984375, 0....
embed
32724868_c0
32724868
elixir
0
Title: Using ecto to store custom information Problem title: Using ecto to store custom information Tags: ecto, elixir, phoenix-framework Problem: Using ecto to store custom information I am re-implementing an application I originally wrote in Rails in Phoenix in which users can create custom fields using PostgreSQL's ...
Using ecto to store custom information Using ecto to store custom information ecto elixir phoenix-framework Using Using ecto to store custom information I am re-implementing an application I originally wrote in Rails in Phoenix in which users can create custom fields using PostgreSQL's JSONB record type. As an example,...
[ 0.0211181640625, 0.00061798095703125, -0.0038604736328125, 0.01611328125, -0.005157470703125, -0.00518798828125, -0.007598876953125, 0.0067138671875, 0.0189208984375, -0.041259765625, 0.0206298828125, 0.0064697265625, -0.0184326171875, 0.00701904296875, -0.008056640625, -0.004974365234...
[ 345, 6953, 60751, 47, 4343, 114122, 4677, 15296, 38308, 53073, 33, 4084, 160328, 18244, 456, 197648, 38415, 7311, 54397, 23, 85736, 7, 133720, 72095, 28282, 44457, 2795, 7134, 158897, 821, 58627, 571, 17164, 10644, 27781, 116120, 18811, 61903...
[ 0.1031494140625, 0.044281005859375, 0.286865234375, 0.0302734375, 0.1978759765625, 0.256591796875, 0.1971435546875, 0.0576171875, 0.205078125, 0.0299072265625, 0.037841796875, 0.0943603515625, 0.1202392578125, 0.05340576171875, 0.0169219970703125, 0.107177734375, 0.1131591796875, 0...
embed
70501304_c0
70501304
elixir
0
Title: How to convert old liveview app to new Phoenix version? Problem title: How to convert old liveview app to new Phoenix version? Tags: elixir, phoenix-live-view Problem: How to convert old liveview app to new Phoenix version? Background I am in the process of porting an old LiveView app to the newest version of Ph...
How to convert old liveview app to new Phoenix version? How to convert old liveview app to new Phoenix version? elixir phoenix-live-view How Phoenix phx.new web_interface web_interface_web LC_MESSAGES How to convert old liveview app to new Phoenix version? Background I am in the process of porting an old LiveView app t...
[ -0.0078125, 0.0218505859375, -0.006622314453125, 0.0166015625, 0.006256103515625, 0.0262451171875, -0.00933837890625, 0.002227783203125, 0.013427734375, -0.0086669921875, 0.01202392578125, -0.02490234375, 0.01031494140625, -0.00384521484375, -0.002166748046875, 0.00543212890625, -0.0...
[ 11249, 47, 96760, 10332, 6867, 22751, 4027, 3525, 133720, 11389, 15296, 38308, 53073, 33, 4084, 24056, 11521, 425, 54936, 1467, 10433, 40404, 14051, 26943, 78787, 6703, 196, 1916, 9251, 100474, 122336, 43317, 41206, 11675, 17664, 157, 60751, ...
[ 0.0858154296875, 0.1044921875, 0.208984375, 0.1549072265625, 0.17822265625, 0.3232421875, 0.1776123046875, 0.1392822265625, 0.26171875, 0.135986328125, 0.013519287109375, 0.140869140625, 0.078857421875, 0.07086181640625, 0.093994140625, 0.1455078125, 0.1025390625, 0.12158203125, ...
embed
51663420_c0
51663420
elixir
0
Title: How do you import a custom module defined in another file? Problem title: How do you import a custom module defined in another file? Tags: elixir Problem: How do you import a custom module defined in another file? a.exs: defmodule A do def greet, do: IO.puts "hello" end b.exs: defmodule B do import A def say_hel...
How do you import a custom module defined in another file? How do you import a custom module defined in another file? elixir CompileError UndefinedFunctionError a How IO.puts say_hello elixir_programs b.exs Erlang OTP erts-9.3 smp:4:4 ds:4:4:10 async-threads:10 kernel-poll:false b.exs:2 a.exs app1.exs A.greet Interacti...
[ 0.005157470703125, 0.00238037109375, -0.012451171875, 0.0439453125, 0.00106048583984375, 0.0157470703125, 0.004364013671875, -0.0181884765625, 0.006439208984375, -0.00897216796875, 0.001068115234375, -0.0155029296875, -0.00799560546875, 0.01019287109375, 0.010009765625, -0.003341674804...
[ 11249, 54, 24927, 114122, 88996, 61924, 71, 23, 15700, 11435, 10, 15296, 38308, 15612, 1340, 18468, 31611, 79912, 5983, 97249, 17780, 7077, 5154, 127, 13817, 18749, 876, 3355, 1004, 3066, 180, 23658, 72, 933, 15205, 363, 2676, 617, 12654, ...
[ 0.05078125, 0.016387939453125, 0.299072265625, 0.256103515625, 0.276123046875, 0.22216796875, 0.09521484375, 0.1224365234375, 0.1546630859375, 0.1839599609375, 0.032440185546875, 0.09918212890625, 0.252685546875, 0.091552734375, 0.12841796875, 0.0867919921875, 0.0802001953125, 0.06...
embed
44548691_c0
44548691
elixir
0
Title: How to pass tests, that fails due to unloaded associations? Problem title: How to pass tests, that fails due to unloaded associations? Tags: ecto, elixir, phoenix-framework Problem: How to pass tests, that fails due to unloaded associations? I have written the following test. test "list_users/1 returns all users...
How to pass tests, that fails due to unloaded associations? How to pass tests, that fails due to unloaded associations? ecto elixir phoenix-framework How list_users user_2 Accounts.list_users Ecto.Association.NotLoaded MyApp.Accounts.Tenant __meta__ Ecto.Schema.Metadata pharma-13 inserted_at some_logo_path.png Pharma u...
[ 0.0208740234375, 0.00180816650390625, -0.012451171875, 0.006805419921875, -0.00689697265625, -0.005767822265625, 0.00872802734375, -0.0169677734375, 0.0018463134765625, -0.0390625, 0.0068359375, 0.0213623046875, -0.004486083984375, 0.022705078125, 0.004180908203125, 0.005828857421875, ...
[ 11249, 47, 27875, 109921, 450, 35782, 7, 4743, 51, 63033, 297, 151747, 60751, 15296, 38308, 53073, 33, 4084, 160328, 18244, 5303, 223, 1314, 38937, 304, 61417, 6562, 241, 44150, 214813, 122116, 15363, 712, 39179, 71013, 87286, 1236, 35273, ...
[ 0.068603515625, 0.0234832763671875, 0.1649169921875, 0.21337890625, 0.018218994140625, 0.1964111328125, 0.0726318359375, 0.07635498046875, 0.10211181640625, 0.2218017578125, 0.041259765625, 0.2159423828125, 0.1942138671875, 0.0535888671875, 0.1629638671875, 0.040618896484375, 0.05249...
embed
56226647_c1
56226647
elixir
1
8350>, fetched: #MapSet<[{"hexpm", "elixir_make"}, {"hexpm", "font_metrics"}, {"hexpm", "msgpax"}, {"hexpm", "plug"}, {"hexpm", "scenic"}, {"hexpm", "scenic_clock"}, {"hexpm", "scenic_driver_glfw"}, {"hexpm", "scenic_sensor"}]>, path: "h:/.hex/cache.ets", pending: #MapSet<[]>, waiting: %{}} Client #PID<0.91.0> is alive...
8350>, fetched: #MapSet<[{"hexpm", "elixir_make"}, {"hexpm", "font_metrics"}, {"hexpm", "msgpax"}, {"hexpm", "plug"}, {"hexpm", "scenic"}, {"hexpm", "scenic_clock"}, {"hexpm", "scenic_driver_glfw"}, {"hexpm", "scenic_sensor"}]>, path: "h:/.hex/cache.ets", pending: #MapSet<[]>, waiting: %{}} Client #PID<0.91.0> is alive...
[ 0.00384521484375, 0.0186767578125, 0.01434326171875, 0.00099945068359375, 0.0032806396484375, -0.01312255859375, -0.0159912109375, -0.00933837890625, 0.018310546875, -0.0023193359375, 0.0123291015625, -0.004119873046875, 0.0228271484375, 0.015380859375, 0.033203125, -0.01019287109375, ...
[ 382, 45160, 2740, 7647, 74694, 468, 166179, 294, 126, 127, 83613, 39, 6169, 38308, 55898, 75635, 186518, 14263, 44, 145301, 31146, 21135, 33926, 17463, 163839, 60875, 1106, 425, 408, 7831, 96819, 89289, 91732, 683, 7146, 143161, 102107, 83, ...
[ 0.1126708984375, 0.27392578125, 0.05767822265625, 0.1756591796875, 0.1612548828125, 0.00970458984375, 0.185791015625, 0.158203125, 0.1556396484375, 0.038482666015625, 0.06292724609375, 0.114501953125, 0.1143798828125, 0.2440185546875, 0.11474609375, 0.1724853515625, 0.1502685546875, ...
embed
65097749_c1
65097749
elixir
1
def create(conn, %{"user" => user_params}) do with {:ok, %User{} = user} <- Account.create_user(user_params) do conn |> put_status(:created) |> put_resp_header("location", Routes.user_path(conn, :show, user)) |> render("show.json", user: user) end end def deposit(conn, %{"id" => id, "amount" => amount}) do user = Acco...
def create(conn, %{"user" => user_params}) do with {:ok, %User{} = user} <- Account.create_user(user_params) do conn |> put_status(:created) |> put_resp_header("location", Routes.user_path(conn, :show, user)) |> render("show.json", user: user) end end def deposit(conn, %{"id" => id, "amount" => amount}) do user = Acco...
[ -0.012939453125, -0.0042724609375, -0.00090789794921875, -0.005584716796875, -0.006744384765625, 0.0086669921875, 0.01251220703125, -0.006072998046875, 0.02587890625, -0.022216796875, 0.007568359375, -0.00177764892578125, 0.007049560546875, 0.01458740234375, 0.011474609375, -0.01135253...
[ 8, 420, 28282, 2271, 19, 1745, 65918, 44357, 38937, 2500, 8256, 54, 678, 685, 1062, 2189, 61417, 7612, 2182, 158, 3884, 45215, 27686, 2109, 254, 31251, 87632, 106015, 128405, 31374, 89159, 170, 1681, 3564, 40370, 532, 3447, 121147, 41170, ...
[ 0.1024169921875, 0.04229736328125, 0.2203369140625, 0.1549072265625, 0.1302490234375, 0.0236358642578125, 0.2108154296875, 0.0185089111328125, 0.186279296875, 0.1658935546875, 0.16748046875, 0.0286407470703125, 0.06146240234375, 0.137451171875, 0.039093017578125, 0.12548828125, 0.194...
embed
34808255_c1
34808255
elixir
1
all with selected key? posts = Post |> Repo.all |> Repo.preload(tags: from(t in Myapp.Tag, select: fragment("?::json->?", t.name, "pl"))) Error: ** (BadMapError) expected a map, got: "narty" (stdlib) :maps.find(:id, "narty") (elixir) lib/map.ex:27: Map.fetch!/2 (elixir) lib/enum.ex:1387: Enum."-reduce/3-lists^foldl/2-...
all with selected key? posts = Post |> Repo.all |> Repo.preload(tags: from(t in Myapp.Tag, select: fragment("?::json->?", t.name, "pl"))) Error: ** (BadMapError) expected a map, got: "narty" (stdlib) :maps.find(:id, "narty") (elixir) lib/map.ex:27: Map.fetch!/2 (elixir) lib/enum.ex:1387: Enum."-reduce/3-lists^foldl/2-...
[ 0.00982666015625, -0.0284423828125, 0.0026092529296875, 0.00095367431640625, -0.01092529296875, -0.00213623046875, 0.001617431640625, -0.0022125244140625, 0.005126953125, -0.052734375, 0.004241943359375, 0.01708984375, -0.016357421875, -0.01104736328125, -0.0002994537353515625, 0.02111...
[ 756, 678, 133291, 22799, 32, 32323, 2203, 2795, 853, 771, 5584, 4692, 63033, 75985, 1295, 18, 2646, 9007, 66448, 36849, 38551, 170, 1681, 808, 11627, 2424, 212059, 16459, 157027, 166179, 18468, 31611, 84751, 22288, 4163, 2322, 939, 271, 71,...
[ 0.1881103515625, 0.119384765625, 0.2259521484375, 0.250244140625, 0.024627685546875, 0.2169189453125, 0.0172271728515625, 0.1561279296875, 0.0826416015625, 0.1856689453125, 0.14794921875, 0.09716796875, 0.1656494140625, 0.19775390625, 0.081787109375, 0.0287017822265625, 0.09313964843...
embed
54173383_c0
54173383
elixir
0
Title: How to refactor case statements with excessive nesting Problem title: How to refactor case statements with excessive nesting Tags: phoenix-framework, pattern-matching, elixir, functional-programming Problem: How to refactor case statements with excessive nesting In many situations I find myself needing to patter...
How to refactor case statements with excessive nesting How to refactor case statements with excessive nesting phoenix-framework pattern-matching elixir functional-programming How Repo.get Experiment experiment_id Error experiment.active Repo.all experiment_results How to refactor case statements with excessive nesting ...
[ -0.003997802734375, 0.00592041015625, -0.01544189453125, 0.0005340576171875, 0.01422119140625, -0.006805419921875, -0.0108642578125, -0.0225830078125, 0.030517578125, -0.017822265625, 0.0111083984375, -0.00836181640625, 0.003387451171875, 0.0177001953125, 0.0106201171875, -0.0008583068...
[ 11249, 47, 456, 144810, 7225, 63805, 678, 218527, 4909, 1916, 7, 33, 4084, 160328, 103510, 98753, 15296, 38308, 123309, 28966, 853, 771, 3794, 146797, 28007, 532, 212059, 71232, 5584, 2109, 7136, 113949, 14858, 36716, 68034, 44457, 61972, 818...
[ 0.05218505859375, 0.0222015380859375, 0.159912109375, 0.281494140625, 0.2012939453125, 0.2197265625, 0.06573486328125, 0.21044921875, 0.1629638671875, 0.1461181640625, 0.030975341796875, 0.03399658203125, 0.0992431640625, 0.05804443359375, 0.1917724609375, 0.1875, 0.033050537109375, ...
embed
43433567_c1
43433567
elixir
1
rotApi.ConnCase setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end describe "#create" do test "returns the user when the email and password match", %{conn: conn} do email = "eric@spaghetti.com" password = "ilovemodals" user = insert(:user, email: email, password_hash: Comeonin.Bc...
rotApi.ConnCase setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end describe "#create" do test "returns the user when the email and password match", %{conn: conn} do email = "eric@spaghetti.com" password = "ilovemodals" user = insert(:user, email: email, password_hash: Comeonin.Bc...
[ -0.01275634765625, -0.0015716552734375, -0.0037841796875, -0.02001953125, 0.006805419921875, 0.0025482177734375, -0.01129150390625, -0.0164794921875, 0.001251220703125, -0.0032958984375, 0.003448486328125, 0.021484375, 0.0067138671875, 0.007476806640625, 0.00677490234375, 0.00344848632...
[ 20788, 284, 1434, 11935, 19, 441, 6991, 169581, 1745, 2271, 12, 158, 54, 685, 3884, 107, 864, 31251, 19462, 101687, 170, 1681, 3564, 98363, 7612, 2182, 3034, 65395, 38937, 3340, 136, 78506, 14858, 56, 1771, 981, 7, 11902, 1448, 118, 277...
[ 0.184326171875, 0.061859130859375, 0.2069091796875, 0.1533203125, 0.1536865234375, 0.222412109375, 0.1854248046875, 0.25439453125, 0.07611083984375, 0.1739501953125, 0.0165863037109375, 0.1646728515625, 0.029388427734375, 0.12744140625, 0.05780029296875, 0.08184814453125, 0.150756835...
embed
58575596_c0
58575596
elixir
0
Title: in `insert` does not match type :integer Problem title: in `insert` does not match type :integer Tags: phoenix-framework, elixir Problem: in `insert` does not match type :integer value "2" for Takso.Sales.Booking.estimated_distance in insert does not match type :integer Hello I insert nr 2 into text field & pres...
in `insert` does not match type :integer in `insert` does not match type :integer phoenix-framework elixir Takso.Sales.Booking.estimated_distance text_input estimated_distance validate_required _params Booking.changeset Booking new.html booking_params booking_struct Repo.insert in `insert` does not match type :integer ...
[ -0.01422119140625, -0.0291748046875, 0.005615234375, 0.00171661376953125, 0.0033416748046875, 0.021240234375, -0.042236328125, -0.0235595703125, -0.014404296875, -0.0235595703125, -0.0023040771484375, -0.011962890625, 0.00567626953125, 0.021240234375, -0.0106201171875, -0.0048828125, ...
[ 23, 73, 33657, 14602, 959, 14858, 10644, 6191, 1505, 53073, 33, 4084, 160328, 18244, 15296, 38308, 2561, 991, 52779, 37975, 214, 72992, 56883, 7986, 25902, 3674, 329, 44622, 3181, 2500, 52722, 152028, 3509, 7693, 100124, 36716, 853, 771, 34...
[ 0.03741455078125, 0.128662109375, 0.2449951171875, 0.0285797119140625, 0.12158203125, 0.179931640625, 0.1954345703125, 0.154541015625, 0.1292724609375, 0.03167724609375, 0.05279541015625, 0.1160888671875, 0.0933837890625, 0.0169830322265625, 0.056243896484375, 0.19580078125, 0.172851...
embed
41711038_c0
41711038
elixir
0
Title: &#x27;Cannot find memcached proc&#x27; error when running Phoenix app in Elixir Problem title: &#x27;Cannot find memcached proc&#x27; error when running Phoenix app in Elixir Tags: session, plug, phoenix-framework, memcached, elixir Problem: 'Cannot find memcached proc' error when running Phoenix app in Elixir d...
&#x27;Cannot find memcached proc&#x27; error when running Phoenix app in Elixir &#x27;Cannot find memcached proc&#x27; error when running Phoenix app in Elixir session plug phoenix-framework memcached elixir RuntimeError ArgumentError Cannot Phoenix Elixir PID MyApp.Endpoint Server localhost:4000 Request GET plug_sessi...
[ 0.004608154296875, 0.014404296875, 0.0091552734375, 0.004608154296875, 0.01251220703125, -0.00054931640625, 0.0125732421875, -0.0113525390625, 0.0019989013671875, -0.04541015625, 0.0036163330078125, 0.03271484375, 0.01422119140625, 0.0223388671875, 0.01416015625, 0.00616455078125, -0...
[ 3768, 10869, 7413, 7199, 59863, 297, 10402, 18499, 51042, 133720, 4027, 25318, 38308, 56002, 76329, 53073, 33, 4084, 160328, 15296, 28398, 6032, 18468, 112140, 4171, 436, 7146, 2646, 39179, 152378, 38496, 22687, 4000, 40294, 68037, 75616, 79794...
[ 0.07568359375, 0.1181640625, 0.173583984375, 0.1630859375, 0.2476806640625, 0.1435546875, 0.2073974609375, 0.1494140625, 0.08050537109375, 0.271728515625, 0.1488037109375, 0.1405029296875, 0.236083984375, 0.1534423828125, 0.162353515625, 0.04400634765625, 0.054656982421875, 0.09863...
embed
42334123_c1
42334123
elixir
1
for the source code above is as follows. div class="form-group"> <input checked="checked" id="user_lawyer_true" name="user[lawyer]" type="radio" value="true"> <label for="user_user_lawyer">Lawyer</label> <input id="user_firm_true" name="user[firm]" type="radio" value="true"> <label for="user_user_firm">Firm</label> di...
for the source code above is as follows. div class="form-group"> <input checked="checked" id="user_lawyer_true" name="user[lawyer]" type="radio" value="true"> <label for="user_user_lawyer">Lawyer</label> <input id="user_firm_true" name="user[firm]" type="radio" value="true"> <label for="user_user_firm">Firm</label> di...
[ 0.0007781982421875, -0.0150146484375, 0.014892578125, 0.000560760498046875, -0.01513671875, 0.0211181640625, -0.019287109375, 0.023681640625, 0.01904296875, -0.016845703125, 0.00885009765625, 0.0079345703125, 0.0130615234375, 0.03271484375, -0.00927734375, -0.019775390625, 0.01080322...
[ 100, 31344, 18151, 36917, 83, 28960, 18221, 18507, 5037, 51588, 73, 7077, 12765, 78292, 65918, 19729, 8889, 9774, 38446, 34292, 152526, 2729, 5014, 56, 38949, 6159, 42, 137447, 1916, 3173, 1221, 30098, 111, 29568, 47, 3365, 316, 63399, 1716...
[ 0.051727294921875, 0.197998046875, 0.1658935546875, 0.0872802734375, 0.027679443359375, 0.036712646484375, 0.12158203125, 0.05975341796875, 0.2086181640625, 0.15966796875, 0.052520751953125, 0.0228424072265625, 0.1649169921875, 0.13525390625, 0.14013671875, 0.1224365234375, 0.1350097...
embed
39192265_c0
39192265
elixir
0
Title: Can Phoenix call an Elixir app? Problem title: Can Phoenix call an Elixir app? Tags: phoenix-framework, elixir, channel Problem: Can Phoenix call an Elixir app? I have an Elixir app running on a cluster of nodes (n1@127.0.0.1 and n2@127.0.0.1), let's call it Myapp.Server . Inside of it, I have a module run(param...
Can Phoenix call an Elixir app? Can Phoenix call an Elixir app? phoenix-framework elixir channel Can Phoenix Elixir Myapp.Server.run any_number Can Phoenix call an Elixir app? I have an Elixir app running on a cluster of nodes (n1@127.0.0.1 and n2@127.0.0.1), let's call it Myapp.Server . Inside of it, I have a module r...
[ 0.01080322265625, 0.01416015625, 0.0004329681396484375, 0.023193359375, 0.0177001953125, 0.02099609375, 0.0205078125, -0.01361083984375, 0.0244140625, -0.06494140625, 0.0125732421875, -0.0174560546875, 0.0244140625, 0.02490234375, -0.005157470703125, -0.00732421875, 0.002731323242187...
[ 4171, 133720, 11782, 142, 25318, 38308, 4027, 53073, 33, 4084, 160328, 18244, 15296, 86723, 2646, 9007, 193348, 16428, 2499, 2606, 1297, 51042, 234737, 110, 988, 418, 1530, 129884, 102014, 304, 187040, 88996, 11675, 6276, 29089, 69236, 5470, ...
[ 0.1317138671875, 0.289306640625, 0.200927734375, 0.0701904296875, 0.17041015625, 0.29833984375, 0.228271484375, 0.0697021484375, 0.0999755859375, 0.1263427734375, 0.11767578125, 0.083984375, 0.1314697265625, 0.141845703125, 0.137939453125, 0.22314453125, 0.2119140625, 0.16040039062...
embed
46385155_c1
46385155
elixir
1
Client.User.registration_changeset/2) end end User model defmodule HappyClient.User do use HappyClient.Web, :model schema "users" do field :email, :string field :name, :string field :password_hash, :string field :is_admin, :boolean, default: false field :is_operator, :boolean, default: false belongs_to :organization, H...
Client.User.registration_changeset/2) end end User model defmodule HappyClient.User do use HappyClient.Web, :model schema "users" do field :email, :string field :name, :string field :password_hash, :string field :is_admin, :boolean, default: false field :is_operator, :boolean, default: false belongs_to :organization, H...
[ -0.015380859375, -0.0111083984375, 0.01373291015625, -0.003570556640625, 0.023193359375, 0.000850677490234375, -0.021484375, -0.01904296875, 0.01214599609375, -0.01129150390625, -0.01470947265625, -0.00531005859375, 0.005828857421875, 0.0235595703125, 0.0106201171875, -0.031982421875, ...
[ 91732, 1062, 2189, 52201, 1363, 152028, 3509, 12477, 3564, 53400, 3299, 8, 420, 83279, 32506, 441, 150, 2517, 54, 4527, 5, 30474, 51734, 61903, 223, 1314, 44457, 25501, 91693, 11627, 13409, 47416, 126234, 164, 135087, 142484, 114977, 98320, ...
[ 0.218994140625, 0.125244140625, 0.14501953125, 0.177490234375, 0.024444580078125, 0.181640625, 0.177734375, 0.167236328125, 0.1524658203125, 0.1572265625, 0.23681640625, 0.1234130859375, 0.12255859375, 0.1883544921875, 0.190673828125, 0.0170745849609375, 0.1441650390625, 0.13061523...
embed
51226116_c0
51226116
elixir
0
Title: Elixir version error when running Mix docs Problem title: Elixir version error when running Mix docs Tags: elixir, elixir-mix, asdf-vm Problem: Elixir version error when running Mix docs Kindly help with this iisue. I do have system installed Elixir which is version 1.3 and I using asdf. Here is mix.exs file htt...
Elixir version error when running Mix docs Elixir version error when running Mix docs elixir elixir-mix asdf-vm Mix.ElixirVersionError Elixir Mix ElixirLS You v1.3.3 mix.exs loadpaths.ex:51 Mix.Tasks.Loadpaths.check_elixir_version loadpaths.ex:26 Mix.Tasks.Loadpaths.run task.ex:296 Mix.Task.run_task compile.ex:83 Mix.T...
[ -0.001068115234375, 0.0022735595703125, 0.00146484375, -0.01202392578125, 0.0140380859375, 0.0024261474609375, -0.025634765625, 0.0011444091796875, -0.010986328125, -0.00653076171875, -0.0113525390625, -0.005584716796875, 0.01513671875, 0.0069580078125, 0.02587890625, -0.0093994140625,...
[ 25318, 38308, 11389, 18499, 3229, 51042, 37286, 54, 4439, 15296, 62015, 237, 71, 420, 334, 39, 647, 150, 178390, 18468, 19759, 2583, 81046, 363, 17664, 3355, 72367, 128405, 37374, 9874, 78292, 6169, 46354, 28194, 16428, 66211, 133572, 1073, ...
[ 0.15283203125, 0.27294921875, 0.232177734375, 0.15771484375, 0.0148468017578125, 0.1114501953125, 0.2685546875, 0.1629638671875, 0.125732421875, 0.07257080078125, 0.191162109375, 0.03167724609375, 0.022308349609375, 0.116455078125, 0.0229034423828125, 0.04620361328125, 0.016387939453...
embed
63163754_c0
63163754
elixir
0
Title: Phoenix - no function clause matching in DieterDierenWeb.UserController.show/2 Problem title: Phoenix - no function clause matching in DieterDierenWeb.UserController.show/2 Tags: elixir, phoenix-framework Problem: Phoenix - no function clause matching in DieterDierenWeb.UserController.show/2 I am trying to make ...
Phoenix - no function clause matching in DieterDierenWeb.UserController.show/2 Phoenix - no function clause matching in DieterDierenWeb.UserController.show/2 elixir phoenix-framework Plug.Conn Phoenix DieterDierenWeb.UserController.show Plug.Cowboy.Conn before_send Plug.CSRFProtection.call Phoenix.Controller.fetch_flas...
[ -0.0296630859375, -0.00482177734375, 0.01434326171875, -0.0250244140625, -0.00897216796875, 0.0125732421875, -0.00173187255859375, -0.01019287109375, 0.007537841796875, -0.00848388671875, -0.0281982421875, -0.00885009765625, -0.007720947265625, 0.00970458984375, 0.028076171875, -0.0029...
[ 133720, 110, 32354, 70731, 13, 14858, 214, 23, 622, 720, 397, 4921, 30474, 1062, 2189, 175904, 603, 31374, 12477, 20, 15296, 38308, 53073, 33, 4084, 160328, 18244, 194351, 11935, 8770, 30885, 8108, 39285, 19283, 54612, 127942, 85763, 29362, ...
[ 0.325927734375, 0.17236328125, 0.208984375, 0.2113037109375, 0.14794921875, 0.2098388671875, 0.125, 0.047515869140625, 0.11083984375, 0.1544189453125, 0.08709716796875, 0.1558837890625, 0.1937255859375, 0.077392578125, 0.08404541015625, 0.215576171875, 0.10321044921875, 0.149536132...
embed
35756250_c1
35756250
elixir
1
dietary_prefs" => "2,1"}, "vendor_id" => "4"} (With additional parameters for "dish" removed for this SO post.) How do I handle this in my controller? Specifically, I want this behavior: For POST requests (create actions), create the necessary records in dish_dietary_prefs to associate this new Dish with the given Diet...
dietary_prefs" => "2,1"}, "vendor_id" => "4"} (With additional parameters for "dish" removed for this SO post.) How do I handle this in my controller? Specifically, I want this behavior: For POST requests (create actions), create the necessary records in dish_dietary_prefs to associate this new Dish with the given Diet...
[ -0.0230712890625, -0.0189208984375, 0.01123046875, 0.007080078125, -0.0234375, 0.0244140625, 0.00128936767578125, -0.013427734375, 0.0079345703125, 0.01025390625, -0.01080322265625, 0.0003204345703125, 0.0286865234375, -0.0027923583984375, -0.00396728515625, 0.006378173828125, -0.041...
[ 25969, 1294, 4692, 17447, 44357, 304, 418, 1353, 1846, 532, 617, 78301, 171859, 7, 71, 4745, 184750, 15969, 11249, 34831, 903, 23, 759, 185373, 25958, 3444, 123166, 81903, 50336, 7612, 61972, 28282, 63559, 115923, 45, 1495, 74148, 6635, 306...
[ 0.1903076171875, 0.1708984375, 0.201904296875, 0.1929931640625, 0.04937744140625, 0.038238525390625, 0.00225830078125, 0.1168212890625, 0.07550048828125, 0.091064453125, 0.08514404296875, 0.031005859375, 0.182373046875, 0.000152587890625, 0.105224609375, 0.1417236328125, 0.0985107421...
embed
48968320_c0
48968320
elixir
0
Title: Elixir binary matching combine &#x27;bytes&#x27; &amp; &#x27;integer&#x27; Problem title: Elixir binary matching combine &#x27;bytes&#x27; &amp; &#x27;integer&#x27; Tags: pattern-matching, parsing, elixir Problem: Elixir binary matching combine 'bytes' & 'integer' Problem I want to make a custom file packer writ...
Elixir binary matching combine &#x27;bytes&#x27; &amp; &#x27;integer&#x27; Elixir binary matching combine &#x27;bytes&#x27; &amp; &#x27;integer&#x27; pattern-matching parsing elixir Elixir First Second Get name_length name_bytes Filename buffer_size buffer_bytes Elixir binary matching combine 'bytes' & 'integer' Proble...
[ -0.01202392578125, 0.00238037109375, 0.0076904296875, 0.0196533203125, -0.02294921875, 0.0064697265625, -0.01531982421875, 0.004058837890625, 0.01611328125, 0.002197265625, 0.01324462890625, -0.0067138671875, 0.0027008056640625, 0.0208740234375, 0.005950927734375, 0.012451171875, -0....
[ 25318, 38308, 2394, 6635, 14858, 214, 70163, 3768, 61028, 25133, 6191, 1505, 103510, 98753, 366, 15296, 23972, 77648, 20779, 9351, 23986, 42724, 11627, 373, 18234, 62539, 619, 15649, 3444, 3249, 114122, 11435, 43824, 56, 59121, 1284, 2967, 76...
[ 0.1390380859375, 0.2861328125, 0.1588134765625, 0.1168212890625, 0.214111328125, 0.1102294921875, 0.2022705078125, 0.06304931640625, 0.180419921875, 0.0185546875, 0.13330078125, 0.1705322265625, 0.1912841796875, 0.195556640625, 0.0853271484375, 0.108154296875, 0.05560302734375, 0.1...
embed
32864685_c1
32864685
elixir
1
et, MyApp.Repo) conn |> put_flash(:info, "Your account was created") |> redirect(to: "/") else conn |> put_flash(:info, "Unable to create account") |> render("new.html", changeset: changeset) end end end So, with all that I'm pretty sure my username and email fields in User are unique indexes. I also make sure that the...
et, MyApp.Repo) conn |> put_flash(:info, "Your account was created") |> redirect(to: "/") else conn |> put_flash(:info, "Unable to create account") |> render("new.html", changeset: changeset) end end end So, with all that I'm pretty sure my username and email fields in User are unique indexes. I also make sure that the...
[ 0.0027313232421875, -0.006683349609375, 0.0234375, -0.0072021484375, 0.01446533203125, 0.00848388671875, -0.0264892578125, -0.01092529296875, 0.004364013671875, -0.022216796875, -0.01373291015625, 0.0021820068359375, 0.01171875, 0.00714111328125, 0.0023345947265625, -0.00909423828125, ...
[ 82, 2646, 39179, 4332, 771, 158, 19, 3884, 5544, 7319, 15426, 509, 75935, 80581, 188, 14256, 2886, 28282, 89159, 54936, 7693, 65572, 126, 3564, 28875, 9077, 38937, 11627, 136, 3340, 44457, 53400, 36998, 63262, 159029, 2271, 2816, 44622, 152...
[ 0.1322021484375, 0.1280517578125, 0.2188720703125, 0.1317138671875, 0.183349609375, 0.076171875, 0.030731201171875, 0.050262451171875, 0.105712890625, 0.0975341796875, 0.2200927734375, 0.0633544921875, 0.1627197265625, 0.1060791015625, 0.0712890625, 0.03582763671875, 0.127685546875, ...
embed
52827614_c0
52827614
elixir
0
Title: Use Ecto.Multi to update a table twice in the same transaction Problem title: Use Ecto.Multi to update a table twice in the same transaction Tags: phoenix-framework, elixir, ecto Problem: Use Ecto.Multi to update a table twice in the same transaction Consider a scenario where you are trying to model the logging ...
Use Ecto.Multi to update a table twice in the same transaction Use Ecto.Multi to update a table twice in the same transaction phoenix-framework elixir ecto Use Ecto.Multi Multi.new Multi.insert transaction_changeset Multi.update account_changeset Repo.transaction previous_account_changeset current_account_changeset Use...
[ -0.0277099609375, -0.004364013671875, 0.00836181640625, 0.0101318359375, 0.0172119140625, 0.015625, -0.0206298828125, 0.0089111328125, 0.014892578125, -0.0279541015625, 0.0255126953125, 0.01806640625, -0.003173828125, 0.01336669921875, 0.0169677734375, -0.0096435546875, -0.0151367187...
[ 36836, 241, 44150, 5, 50657, 118, 47, 28350, 23180, 186351, 23, 5701, 124161, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 19335, 54936, 73, 33657, 152028, 3509, 117008, 15426, 853, 771, 30145, 96362, 213499, 43581, 106117, 31577, 329...
[ 0.090087890625, 0.1019287109375, 0.28125, 0.06793212890625, 0.2294921875, 0.213623046875, 0.055633544921875, 0.2095947265625, 0.21923828125, 0.24609375, 0.0767822265625, 0.1490478515625, 0.1944580078125, 0.0701904296875, 0.0838623046875, 0.130615234375, 0.124755859375, 0.0844116210...
embed
52481523_c0
52481523
elixir
0
Title: Pheonix(MySQL) Database for helloPheonix.repo could not be created Problem title: Pheonix(MySQL) Database for helloPheonix.repo could not be created Tags: elixir, mysql Problem: Pheonix(MySQL) Database for helloPheonix.repo could not be created I've configured files to use MySQL as my default database from postg...
Pheonix(MySQL) Database for helloPheonix.repo could not be created Pheonix(MySQL) Database for helloPheonix.repo could not be created elixir mysql Mariaex.Error Pheonix MySQL Database helloPheonix.repo Users hello_phoenix ecto.create Note mix.exs:57 GenServer PID db_connection connection.ex:163 DBConnection.Connection....
[ 0.01171875, 0.029296875, 0.01513671875, 0.0208740234375, 0.008056640625, -0.00089263916015625, -0.0155029296875, -0.035888671875, 0.0008392333984375, -0.0035400390625, -0.003204345703125, -0.017333984375, 0.0260009765625, -0.002166748046875, -0.0162353515625, 0.00836181640625, -0.021...
[ 13000, 13, 191, 4084, 31852, 158897, 187781, 33600, 31, 45689, 107, 771, 5809, 959, 75935, 15296, 38308, 759, 99247, 5379, 3355, 18468, 157146, 53400, 22014, 33, 60751, 7612, 18622, 17664, 35315, 15937, 193348, 7146, 40041, 135457, 94878, 138...
[ 0.111083984375, 0.0867919921875, 0.13427734375, 0.166015625, 0.1024169921875, 0.1964111328125, 0.18310546875, 0.1041259765625, 0.12451171875, 0.0755615234375, 0.09814453125, 0.177734375, 0.08404541015625, 0.12451171875, 0.160888671875, 0.053253173828125, 0.166015625, 0.0849609375, ...
embed
68260803_c0
68260803
elixir
0
Title: How can I configure the live dashboard and a JSON API under the same scope? Problem title: How can I configure the live dashboard and a JSON API under the same scope? Tags: phoenix-framework, elixir Problem: How can I configure the live dashboard and a JSON API under the same scope? I'm setting up an API server,...
How can I configure the live dashboard and a JSON API under the same scope? How can I configure the live dashboard and a JSON API under the same scope? phoenix-framework elixir Phoenix.Router.NoRouteError Phoenix.LiveDashboard.Router How JSON API ExampleApiWeb.Router ExampleApiWeb fetch_session protect_from_forgery pip...
[ -0.01409912109375, 0.026611328125, -0.016357421875, -0.01263427734375, -0.0020294189453125, -0.020263671875, -0.003997802734375, 0.01141357421875, -0.01373291015625, -0.0286865234375, 0.011962890625, -0.01220703125, 0.0025482177734375, -0.009033203125, 0.0130615234375, 0.01055908203125...
[ 11249, 831, 222495, 6867, 239721, 136, 821, 58627, 61687, 1379, 5701, 70820, 53073, 33, 4084, 160328, 18244, 15296, 38308, 133720, 12724, 25208, 6743, 18468, 70567, 19346, 24351, 89536, 1434, 30474, 7647, 169234, 59959, 161063, 2472, 1505, 1371...
[ 0.05499267578125, 0.03607177734375, 0.2171630859375, 0.197998046875, 0.314208984375, 0.0948486328125, 0.14990234375, 0.244873046875, 0.225341796875, 0.10382080078125, 0.1077880859375, 0.214111328125, 0.010955810546875, 0.02703857421875, 0.06121826171875, 0.07257080078125, 0.006317138...
embed
44792474_c0
44792474
elixir
0
Title: Using a table alias/query expression in an Ecto fragment? Problem title: Using a table alias/query expression in an Ecto fragment? Tags: postgrex, elixir, ecto Problem: Using a table alias/query expression in an Ecto fragment? Starting with this query as the basis for an Ecto version: select folder_id, json_agg(...
Using a table alias/query expression in an Ecto fragment? Using a table alias/query expression in an Ecto fragment? postgrex elixir ecto Ecto.Query.CompileError folder_memberships Using Ecto folder_id json_agg p.id folder_memberships.profile_id Profile FolderMembership link.profile_id link.folder_id group_by Repo.all C...
[ -0.012939453125, 0.001861572265625, -0.01080322265625, 0.0155029296875, -0.0238037109375, -0.00543212890625, 0.0103759765625, 0.028076171875, -0.00482177734375, -0.04052734375, -0.0208740234375, 0.03759765625, -0.005615234375, 0.0228271484375, 0.0003108978271484375, 0.0126953125, -0....
[ 345, 6953, 10, 23180, 55109, 944, 1294, 125195, 241, 44150, 38551, 23, 1305, 7134, 425, 15296, 38308, 60751, 41732, 108161, 1340, 18468, 31611, 78303, 39, 27417, 16070, 532, 1647, 1681, 9815, 915, 58395, 121858, 30077, 3126, 42822, 21115, 1...
[ 0.1173095703125, 0.0526123046875, 0.00347900390625, 0.2218017578125, 0.2578125, 0.123046875, 0.0819091796875, 0.2227783203125, 0.09942626953125, 0.276123046875, 0.2364501953125, 0.015899658203125, 0.024139404296875, 0.142578125, 0.0740966796875, 0.04315185546875, 0.173828125, 0.202...
embed
57468314_c0
57468314
elixir
0
Title: Why does my Enum.reduce based implementation of Enum.all? return an empty list? Problem title: Why does my Enum.reduce based implementation of Enum.all? return an empty list? Tags: elixir Problem: Why does my Enum.reduce based implementation of Enum.all? return an empty list? The Elixir help page for Enum.reduce...
Why does my Enum.reduce based implementation of Enum.all? return an empty list? Why does my Enum.reduce based implementation of Enum.all? return an empty list? elixir Why Enum.reduce Enum.all Enum ListsRec5 ListsRec5.all Why does my Enum.reduce based implementation of Enum.all? return an empty list? The Elixir help pag...
[ -0.0078125, -0.01806640625, -0.004913330078125, 0.0123291015625, -0.00119781494140625, 0.0234375, -0.00433349609375, -0.004913330078125, 0.001617431640625, 0.0172119140625, 0.0294189453125, 0.0181884765625, -0.0029144287109375, 0.02490234375, 0.0069580078125, -0.0045166015625, -0.020...
[ 44084, 357, 316, 107, 106357, 35509, 208124, 5584, 30646, 201505, 5303, 15296, 38308, 32036, 758, 32, 25318, 4358, 18113, 32354, 831, 29479, 2663, 11583, 43240, 26785, 2684, 1733, 50218, 23253, 966, 37457, 134234, 34292, 40715, 361, 115081, 3...
[ 0.06585693359375, 0.07373046875, 0.1959228515625, 0.1627197265625, 0.209228515625, 0.07000732421875, 0.146240234375, 0.1474609375, 0.1348876953125, 0.182373046875, 0.152099609375, 0.007476806640625, 0.1864013671875, 0.1416015625, 0.0828857421875, 0.00885009765625, 0.050933837890625, ...
embed
47898296_c0
47898296
elixir
0
Title: mix will not recompile apps when change &quot;config.exs&quot; in umbrella Problem title: mix will not recompile apps when change &quot;config.exs&quot; in umbrella Tags: elixir, elixir-mix Problem: mix will not recompile apps when change "config.exs" in umbrella ➜ tree . ├── README.md ├── _build │ └── dev │ ├──...
mix will not recompile apps when change &quot;config.exs&quot; in umbrella mix will not recompile apps when change &quot;config.exs&quot; in umbrella elixir elixir-mix config.exs README.md _build Elixir.Collectable.beam Elixir.Enumerable.beam Elixir.IEx.Info.beam Elixir.Inspect.beam Elixir.List.Chars.beam Elixir.String...
[ -0.000629425048828125, 0.0220947265625, -0.00518798828125, -0.0002346038818359375, 0.004730224609375, -0.002410888671875, -0.03369140625, 0.00616455078125, 0.0115966796875, 0.0274658203125, -0.01104736328125, -0.01904296875, 0.0098876953125, 0.043212890625, 0.029296875, -0.01318359375,...
[ 17664, 1221, 959, 456, 58875, 1340, 49966, 15549, 153837, 3355, 7, 286, 4134, 1165, 15296, 38308, 62015, 188300, 10611, 54686, 177149, 25318, 8996, 22819, 372, 302, 2606, 425, 93147, 16711, 84068, 605, 1224, 9007, 6954, 3034, 73866, 24927, ...
[ 0.265625, 0.03515625, 0.0904541015625, 0.121826171875, 0.1583251953125, 0.14501953125, 0.1705322265625, 0.125732421875, 0.19580078125, 0.157958984375, 0.1181640625, 0.046173095703125, 0.137451171875, 0.123046875, 0.06097412109375, 0.2098388671875, 0.2900390625, 0.047515869140625, ...
embed
45825409_c1
45825409
elixir
1
08-22 18:26:10.007796]} And I see this error: Request: POST /api/v1/sessions ** (exit) an exception was raised: ** (MatchError) no match of right hand side value: %MyApp.User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, avatar_url: nil, email: "me@myapp.com", handle: "mark", id: 2, inserted_at: ~N[2017-08-22 18:2...
08-22 18:26:10.007796]} And I see this error: Request: POST /api/v1/sessions ** (exit) an exception was raised: ** (MatchError) no match of right hand side value: %MyApp.User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, avatar_url: nil, email: "me@myapp.com", handle: "mark", id: 2, inserted_at: ~N[2017-08-22 18:2...
[ 0.0076904296875, 0.0198974609375, -0.01104736328125, -0.0233154296875, -0.01361083984375, 0.021728515625, -0.0038909912109375, -0.011962890625, -0.016357421875, -0.0216064453125, 0.00023937225341796875, 0.01324462890625, 0.007080078125, -0.01361083984375, -0.00726318359375, -0.00215148...
[ 3843, 28194, 37509, 104656, 910, 1957, 903, 18499, 853, 75616, 81903, 40897, 334, 50412, 169234, 7, 16459, 13, 23399, 131527, 165249, 79520, 18468, 31611, 110, 14858, 111, 7108, 3535, 5609, 34292, 31852, 39179, 1062, 2189, 35273, 647, 44150, ...
[ 0.0174102783203125, 0.05352783203125, 0.028289794921875, 0.03271484375, 0.00726318359375, 0.1131591796875, 0.0863037109375, 0.216552734375, 0.008209228515625, 0.149169921875, 0.2191162109375, 0.17578125, 0.1480712890625, 0.1126708984375, 0.2349853515625, 0.1004638671875, 0.0591735839...
embed
66223352_c0
66223352
elixir
0
Title: `changeset()` spec requires nullable type which is not logically nullable Problem title: `changeset()` spec requires nullable type which is not logically nullable Tags: dialyzer, elixir, types, typespec Problem: `changeset()` spec requires nullable type which is not logically nullable I have the following code: ...
`changeset()` spec requires nullable type which is not logically nullable `changeset()` spec requires nullable type which is not logically nullable dialyzer elixir types typespec Ecto.Changeset Foo Ecto.Schema __MODULE__ String.t baz_id embedded_schema Ecto.Changeset.t unique_constraint `changeset()` spec requires null...
[ 0.01123046875, -0.006683349609375, 0.023193359375, 0.00787353515625, 0.007476806640625, -0.003662109375, -0.01214599609375, -0.017578125, 0.009521484375, 0.0089111328125, 0.006591796875, 0.01080322265625, -0.000843048095703125, 0.0311279296875, 0.004302978515625, 0.008544921875, 0.00...
[ 152028, 3509, 132, 48502, 144570, 9229, 2661, 10644, 83, 959, 12684, 71407, 879, 538, 4383, 15296, 38308, 52895, 16711, 44150, 127008, 4188, 126, 9572, 31, 25452, 12013, 397, 129984, 23351, 18, 16627, 532, 55720, 7560, 36998, 2816, 25632, 1...
[ 0.22705078125, 0.2265625, 0.1129150390625, 0.2080078125, 0.1396484375, 0.2161865234375, 0.179443359375, 0.16748046875, 0.01617431640625, 0.100341796875, 0.115234375, 0.0614013671875, 0.1246337890625, 0.119140625, 0.163330078125, 0.04443359375, 0.1593017578125, 0.1400146484375, 0....
embed
74328219_c0
74328219
elixir
0
Title: how to use `ecto.Multi delete` and avoid error when the query get_by return nil? Problem title: how to use `ecto.Multi delete` and avoid error when the query get_by return nil? Tags: elixir, ecto Problem: how to use `ecto.Multi delete` and avoid error when the query get_by return nil? My original code is as foll...
how to use `ecto.Multi delete` and avoid error when the query get_by return nil? how to use `ecto.Multi delete` and avoid error when the query get_by return nil? elixir ecto FunctionClauseError CompileError p0 ecto.Multi get_by Mirror.Imports.Picture p.picture_name picture_name_list Repo.delete_all Repo.get_by Mirror.I...
[ -0.031005859375, 0.00701904296875, 0.0034027099609375, 0.021240234375, -0.0172119140625, -0.00098419189453125, 0.0103759765625, -0.0211181640625, -0.00408935546875, -0.0030364990234375, 0.024658203125, 0.01531982421875, 0.0177001953125, 0.00665283203125, 0.01904296875, -0.023193359375,...
[ 3642, 4527, 60751, 50657, 118, 154109, 71864, 18499, 41, 1294, 2046, 1272, 30646, 17324, 15296, 38308, 28670, 26253, 18468, 31611, 15612, 1340, 2389, 150481, 61637, 6982, 1771, 18695, 49726, 6562, 853, 771, 8520, 5584, 10752, 77193, 13269, 53...
[ 0.061737060546875, 0.132080078125, 0.2587890625, 0.222900390625, 0.2171630859375, 0.30126953125, 0.1876220703125, 0.234130859375, 0.1224365234375, 0.0831298828125, 0.1304931640625, 0.17626953125, 0.169921875, 0.1712646484375, 0.047088623046875, 0.181396484375, 0.097900390625, 0.051...
embed
69132738_c0
69132738
elixir
0
Title: Elixir Function Evaluation Problem title: Elixir Function Evaluation Tags: elixir Problem: Elixir Function Evaluation New to the Elixir language, I definitely appreciate the concise syntax and powerful runtime environment. The simple question below is under what circumstances will the get_horizontal_line() funct...
Elixir Function Evaluation Elixir Function Evaluation elixir Elixir Evaluation get_horizontal_line String.duplicate Binds Forces IO.puts Does Elixir Function Evaluation New to the Elixir language, I definitely appreciate the concise syntax and powerful runtime environment. The simple question below is under what circum...
[ -0.01251220703125, 0.013427734375, 0.0087890625, -0.0013427734375, 0.000278472900390625, 0.006500244140625, 0.01141357421875, -0.00799560546875, -0.01055908203125, 0.0022430419921875, -0.00689697265625, -0.03662109375, 0.0086669921875, 0.00106048583984375, -0.0012359619140625, 0.011352...
[ 25318, 38308, 28670, 10763, 151228, 15296, 2046, 156634, 1803, 2256, 23351, 214, 693, 52721, 16666, 6468, 59591, 17780, 7077, 101790, 1363, 2356, 46876, 77947, 318, 86531, 113138, 11675, 6032, 65998, 8781, 9655, 35064, 1379, 170420, 1221, 132, ...
[ 0.1317138671875, 0.281494140625, 0.1666259765625, 0.0806884765625, 0.2237548828125, 0.0916748046875, 0.10638427734375, 0.1710205078125, 0.1536865234375, 0.225830078125, 0.1351318359375, 0.03387451171875, 0.0616455078125, 0.1783447265625, 0.1375732421875, 0.0753173828125, 0.1998291015...
embed
45533345_c0
45533345
elixir
0
Title: Rendering img in an eex template: protocol Phoenix.HTML.Safe not implemented Problem title: Rendering img in an eex template: protocol Phoenix.HTML.Safe not implemented Tags: elixir, phoenix-framework Problem: Rendering img in an eex template: protocol Phoenix.HTML.Safe not implemented I have a project display p...
Rendering img in an eex template: protocol Phoenix.HTML.Safe not implemented Rendering img in an eex template: protocol Phoenix.HTML.Safe not implemented elixir phoenix-framework Rendering Phoenix.HTML.Safe post.body post.title post.project_pic file_name pexels-photo-144322 updated_at Ecto.DateTime project_pic Citybuil...
[ -0.00109100341796875, -0.0172119140625, 0.0272216796875, 0.022216796875, 0.0162353515625, 0.005462646484375, -0.0157470703125, -0.0125732421875, -0.0038299560546875, -0.041748046875, -0.0033721923828125, 0.002166748046875, -0.007568359375, 0.0037994384765625, 0.0091552734375, 0.0114746...
[ 63137, 4209, 566, 177, 28, 3355, 110934, 91363, 133720, 127068, 5464, 2242, 959, 29479, 15296, 38308, 53073, 33, 4084, 160328, 1305, 37873, 95322, 18695, 11435, 280, 52851, 57595, 11548, 150011, 44150, 13452, 177149, 223353, 683, 1771, 196707, ...
[ 0.132080078125, 0.010833740234375, 0.11474609375, 0.0806884765625, 0.062225341796875, 0.1953125, 0.2418212890625, 0.222412109375, 0.24072265625, 0.258544921875, 0.1627197265625, 0.174072265625, 0.112548828125, 0.1893310546875, 0.03955078125, 0.21240234375, 0.060882568359375, 0.0813...
embed
39276214_c0
39276214
elixir
0
Title: Elixir Ecto - unknown field Problem title: Elixir Ecto - unknown field Tags: ecto, elixir Problem: Elixir Ecto - unknown field Trying to copy trello example, can't make changeset work with foreignkeys: Migration: defmodule Final.Repo.Migrations.CreateKw do use Ecto.Migration def change do create table(:kw) do ad...
Elixir Ecto - unknown field Elixir Ecto - unknown field ecto elixir Elixir Ecto Final.Repo.Migrations.CreateKw Ecto.Migration keyo_id users_id unique_index Final.Kw Final.Web Final.Repo belongs_to Final.Keyo Final.User required_fields optional_fields Final.Kw.changeset Elixir Ecto - unknown field Trying to copy trello ...
[ 0.00537109375, 0.0004138946533203125, 0.0004138946533203125, -0.004608154296875, 0.01483154296875, 0.00994873046875, 0.004364013671875, -0.03125, -0.003662109375, -0.00634765625, 0.005279541015625, 0.00022792816162109375, 0.016357421875, 0.02783203125, -0.00714111328125, -0.0380859375,...
[ 25318, 38308, 241, 44150, 51, 69723, 44457, 60751, 15296, 27188, 771, 72482, 434, 594, 872, 30494, 311, 1410, 532, 72095, 36998, 4711, 30474, 4332, 10617, 162429, 31, 1062, 2189, 56065, 28394, 35829, 152028, 3509, 40858, 43658, 1360, 9284, ...
[ 0.094970703125, 0.22265625, 0.08447265625, 0.268310546875, 0.063720703125, 0.193115234375, 0.2119140625, 0.195556640625, 0.04205322265625, 0.1517333984375, 0.1097412109375, 0.1160888671875, 0.0789794921875, 0.013275146484375, 0.0887451171875, 0.0185699462890625, 0.052337646484375, ...
embed
63430946_c0
63430946
elixir
0
Title: How to compare DateTime objects in Ecto query where clause? Problem title: How to compare DateTime objects in Ecto query where clause? Tags: postgresql, elixir, ecto Problem: How to compare DateTime objects in Ecto query where clause? I have a query, where I'd like to grab all records still in the future. def ge...
How to compare DateTime objects in Ecto query where clause? How to compare DateTime objects in Ecto query where clause? postgresql elixir ecto s How DateTime Ecto get_scheduled_notification_pushes_from_date DateTime.utc_now ScheduledPush s.status s.utc_schedule_time Repo.all Comparison Comparing Modules utc_schedule_ti...
[ -0.020751953125, 0.00518798828125, -0.0096435546875, 0.0035400390625, -0.00616455078125, -0.01251220703125, -0.0004520416259765625, -0.0052490234375, 0.01153564453125, -0.024658203125, -0.0067138671875, 0.0194091796875, 0.0140380859375, -0.00933837890625, -0.0037841796875, -0.011657714...
[ 11249, 47, 69101, 25512, 70059, 36746, 241, 44150, 41, 1294, 7440, 70731, 13, 1305, 17562, 99247, 15296, 38308, 60751, 91, 2046, 7560, 10360, 10869, 41274, 1766, 114942, 161063, 17489, 1003, 238, 35613, 230074, 33768, 45215, 693, 6032, 771, ...
[ 0.054718017578125, 0.012451171875, 0.2113037109375, 0.171875, 0.237548828125, 0.1795654296875, 0.1134033203125, 0.2724609375, 0.09588623046875, 0.0948486328125, 0.12939453125, 0.184814453125, 0.119384765625, 0.016510009765625, 0.16064453125, 0.12109375, 0.017486572265625, 0.1309814...
embed
35417028_c0
35417028
elixir
0
Title: How do I map and group_by at the same time? Problem title: How do I map and group_by at the same time? Tags: elixir Problem: How do I map and group_by at the same time? As an example, let's say I have an enumerable collection of pairs {first, second} . Grouping these pairs using Enum.group_by(collection, fn {fir...
How do I map and group_by at the same time? How do I map and group_by at the same time? elixir How group_by Enum.group_by Map map_group_by _first _second Enum.reduce Dict.update How do I map and group_by at the same time? As an example, let's say I have an enumerable collection of pairs {first, second} . Grouping these...
[ 0, 0.00897216796875, -0.01165771484375, -0.0213623046875, -0.02392578125, 0.0167236328125, -0.02294921875, -0.00799560546875, 0.009521484375, -0.0166015625, 0.0010223388671875, 0.030029296875, 0.019775390625, 0.01611328125, 0.0003185272216796875, -0.00811767578125, -0.03564453125, ...
[ 11249, 87, 22288, 136, 21115, 1272, 5701, 1733, 15296, 38308, 357, 316, 51588, 42719, 13448, 271, 191633, 107, 106357, 60897, 18, 117008, 54, 454, 27781, 189085, 2661, 42486, 80836, 17932, 10760, 17368, 16750, 22799, 83324, 115081, 52184, 323...
[ 0.07861328125, 0.026824951171875, 0.2493896484375, 0.1392822265625, 0.2479248046875, 0.2080078125, 0.12451171875, 0.13623046875, 0.07623291015625, 0.19775390625, 0.07330322265625, 0.1796875, 0.2181396484375, 0.219482421875, 0.04449462890625, 0.031707763671875, 0.126708984375, 0.072...
embed
59579199_c0
59579199
elixir
0
Title: Issue when deploying with Gigalixir Problem title: Issue when deploying with Gigalixir Tags: phoenix-framework, gigalixir, elixir Problem: Issue when deploying with Gigalixir When I try to deploy with gigalixir I get this error. I don’t know why it’s so difficult to deploy elixir… -----> Checking Erlang and Elix...
Issue when deploying with Gigalixir Issue when deploying with Gigalixir phoenix-framework gigalixir elixir Issue Gigalixir Checking Erlang Elixir Will Stack cedar-14 Using Installing otp-21.zip OTP Command GIGALIXIR_SHOULD_CLEAN_CACHE tmppIn5TT USER us.gcr.io gigalixir-152404 herokuish:latest git.gigalixir.com sizzling...
[ 0.00909423828125, 0.01458740234375, 0.00189208984375, -0.01165771484375, 0.000732421875, 0.003570556640625, -0.00775146484375, -0.0230712890625, -0.0012359619140625, 0.01104736328125, 0.0098876953125, -0.0120849609375, 0.0205078125, 0.00136566162109375, 0.00958251953125, 0.014038085937...
[ 223317, 3229, 8, 13158, 38543, 678, 5174, 27685, 38308, 53073, 33, 4084, 160328, 169858, 150, 15296, 38679, 1004, 3066, 25318, 20255, 6512, 2594, 405, 1506, 16249, 107951, 36, 18, 254, 24589, 50836, 180, 23658, 123573, 42887, 88946, 21487, ...
[ 0.186279296875, 0.06427001953125, 0.098876953125, 0.2030029296875, 0.0765380859375, 0.11181640625, 0.1199951171875, 0.18310546875, 0.25537109375, 0.00469970703125, 0.0284271240234375, 0.080810546875, 0.082763671875, 0.1561279296875, 0.13916015625, 0.10302734375, 0.1517333984375, 0....
embed
70361495_c0
70361495
elixir
0
Title: Why does Phoenix&#x27;s Ecto skip IDs when the previous insert was an error? Problem title: Why does Phoenix&#x27;s Ecto skip IDs when the previous insert was an error? Tags: phoenix-framework, elixir, ecto Problem: Why does Phoenix's Ecto skip IDs when the previous insert was an error? I am new to Phoenix and I...
Why does Phoenix&#x27;s Ecto skip IDs when the previous insert was an error? Why does Phoenix&#x27;s Ecto skip IDs when the previous insert was an error? phoenix-framework elixir ecto Postgrex.Error Why Phoenix Ecto IDs Test.Projects.create_project Test QUERY ERROR INSERT INTO inserted_at updated_at VALUES RETURNING no...
[ -0.00775146484375, -0.005462646484375, 0.0040283203125, 0.0205078125, 0.001983642578125, 0.015380859375, -0.0216064453125, -0.01092529296875, 0.00537109375, -0.0167236328125, 0.015380859375, -0.0177001953125, -0.005767822265625, -0.0034332275390625, 0.0203857421875, 0.01300048828125, ...
[ 44084, 14602, 133720, 3768, 241, 44150, 21658, 11338, 7, 3229, 96362, 183540, 509, 18499, 142, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 2795, 7134, 425, 18468, 31611, 8647, 223353, 7612, 95322, 21389, 151206, 64083, 56263, 213354, ...
[ 0.143310546875, 0.04144287109375, 0.254638671875, 0.05865478515625, 0.1015625, 0.27783203125, 0.1982421875, 0.2052001953125, 0.04083251953125, 0.031463623046875, 0.123046875, 0.263671875, 0.0229644775390625, 0.2298583984375, 0.0115966796875, 0.035186767578125, 0.042633056640625, 0....
embed
50206303_c0
50206303
elixir
0
Title: Nested association queries. Query scope Problem title: Nested association queries. Query scope Tags: ecto, phoenix-framework, elixir Problem: Nested association queries. Query scope I'm trying to scope records to what belong to the current user. But I'm not having much success. Here is what I'm trying: def show(...
Nested association queries. Query scope Nested association queries. Query scope ecto phoenix-framework elixir Protocol.UndefinedError Nested Query user_id Map.get Statcasters.Guardian.Plug.current_resource Repo.get User Repo.preload user.leagues Ecto.Queryable Statcasters.League __meta__ Ecto.Schema.Metadata inserted_a...
[ -0.01446533203125, -0.005767822265625, -0.0030975341796875, 0.00167083740234375, 0.00518798828125, 0.00194549560546875, -0.0004405975341796875, 0.000560760498046875, 0.0111083984375, -0.0673828125, 0.0027618408203125, -0.0004673004150390625, -0.01190185546875, 0.020751953125, 0.003219604...
[ 28701, 71, 125413, 41, 10484, 58836, 53, 70820, 60751, 53073, 33, 4084, 160328, 18244, 15296, 38308, 151607, 1067, 5983, 297, 18468, 31611, 38937, 532, 42719, 3794, 23888, 408, 37499, 198156, 3378, 5, 35159, 163812, 60427, 853, 771, 53400, ...
[ 0.223876953125, 0.114501953125, 0.2203369140625, 0.1885986328125, 0.082275390625, 0.1944580078125, 0.087158203125, 0.24462890625, 0.1971435546875, 0.0352783203125, 0.056854248046875, 0.112060546875, 0.09912109375, 0.01348876953125, 0.0570068359375, 0.185791015625, 0.1783447265625, ...
embed
61890972_c0
61890972
elixir
0
Title: WebpackChunkName uses current working directory instead of web root Problem title: WebpackChunkName uses current working directory instead of web root Tags: vue.js, inertiajs, webpack, elixir Problem: WebpackChunkName uses current working directory instead of web root I'm running a Vue app with inertia js. My ap...
WebpackChunkName uses current working directory instead of web root WebpackChunkName uses current working directory instead of web root vue.js inertiajs webpack elixir WebpackChunkName webpack.config.js Pages module.default vue.js WebpackChunkName uses current working directory instead of web root I'm running a Vue app...
[ 0.000164031982421875, -0.0076904296875, 0.002288818359375, 0.005126953125, -0.0145263671875, 0.03515625, 0.0023193359375, 0.004119873046875, -0.01153564453125, -0.044921875, 0.01165771484375, 0.0059814453125, -0.0106201171875, 0.018798828125, -0.00848388671875, -0.0042724609375, 0.00...
[ 4002, 29102, 15982, 3678, 163612, 4527, 43581, 20697, 14364, 53, 64457, 111, 1467, 74855, 31689, 28175, 23, 56, 118, 1122, 15296, 38308, 153837, 14231, 88996, 214810, 51042, 35443, 13, 4027, 4526, 1647, 7, 38415, 46132, 78303, 35064, 5, 114...
[ 0.0955810546875, 0.23486328125, 0.060272216796875, 0.15771484375, 0.2308349609375, 0.09326171875, 0.1680908203125, 0.1256103515625, 0.149658203125, 0.056640625, 0.12255859375, 0.000244140625, 0.1051025390625, 0.24267578125, 0.25244140625, 0.1685791015625, 0.052734375, 0.13232421875...
embed
42137797_c0
42137797
elixir
0
Title: Elixir Ecto: How to write a migration with belongs_to and has_many? Problem title: Elixir Ecto: How to write a migration with belongs_to and has_many? Tags: postgresql, phoenix-framework, elixir, ecto Problem: Elixir Ecto: How to write a migration with belongs_to and has_many? I have two models , Person and Pet ...
Elixir Ecto: How to write a migration with belongs_to and has_many? Elixir Ecto: How to write a migration with belongs_to and has_many? postgresql phoenix-framework elixir ecto Elixir Ecto How belongs_to has_many Person Pet MyApp.Person MyApp.Web MyApp.Pet validate_required Iloveproblems.Repo.Migrations.CreatePersonsAn...
[ -0.007415771484375, 0.0184326171875, -0.005340576171875, 0.0216064453125, -0.0081787109375, 0.007110595703125, -0.006591796875, -0.0194091796875, -0.00494384765625, -0.044677734375, -0.004150390625, 0.0166015625, 0.004974365234375, 0.0277099609375, -0.00933837890625, -0.026611328125, ...
[ 25318, 38308, 241, 44150, 12, 11249, 47, 33022, 10, 212416, 678, 186, 10617, 188, 136, 1556, 669, 53, 1305, 17562, 99247, 33, 4084, 160328, 18244, 15296, 60751, 15270, 26516, 2646, 39179, 160054, 30474, 683, 126, 44622, 3181, 25003, 38953, ...
[ 0.1253662109375, 0.2413330078125, 0.1192626953125, 0.278564453125, 0.0262908935546875, 0.122314453125, 0.0252532958984375, 0.213623046875, 0.1229248046875, 0.264404296875, 0.12255859375, 0.14892578125, 0.2396240234375, 0.22900390625, 0.0794677734375, 0.1971435546875, 0.225830078125, ...
embed
39362641_c0
39362641
elixir
0
Title: phoenix module ExAws.S3.Client is not loaded and could not be found Problem title: phoenix module ExAws.S3.Client is not loaded and could not be found Tags: phoenix-framework, elixir, amazon-s3 Problem: phoenix module ExAws.S3.Client is not loaded and could not be found I use the library https://github.com/Cargo...
phoenix module ExAws.S3.Client is not loaded and could not be found phoenix module ExAws.S3.Client is not loaded and could not be found phoenix-framework elixir amazon-s3 CompileError ExAws.S3.Client Compilation s3.ex s3.ex:2 Kernel.use Minion.S3 parallel_compiler.ex:116 Kernel.ParallelCompiler.spawn_compilers Minion e...
[ -0.0098876953125, 0.0108642578125, -0.005126953125, 0.00506591796875, 0.00159454345703125, 0.0140380859375, 0.014892578125, 0.003936767578125, -0.01177978515625, -0.0096435546875, -0.010986328125, -0.0035247802734375, 0.01385498046875, -0.00994873046875, 0.01031494140625, -0.0012741088...
[ 53073, 33, 4084, 88996, 5443, 284, 19725, 294, 363, 441, 150, 2517, 959, 72367, 5809, 14037, 160328, 15296, 38308, 2527, 5870, 7, 15612, 1340, 18468, 14, 91, 3355, 304, 119125, 13468, 191, 95103, 58875, 34759, 120620, 1229, 108161, 19341, ...
[ 0.076904296875, 0.1397705078125, 0.146240234375, 0.2078857421875, 0.140625, 0.048004150390625, 0.18701171875, 0.10498046875, 0.2047119140625, 0.010955810546875, 0.173828125, 0.1695556640625, 0.0826416015625, 0.173828125, 0.060577392578125, 0.173583984375, 0.09033203125, 0.012908935...
embed
42359256_c0
42359256
elixir
0
Title: How does Enum.map works with Task.await? Problem title: How does Enum.map works with Task.await? Tags: async-await, concurrency, elixir, asynchronous Problem: How does Enum.map works with Task.await? How does Elixir Enum.map([Task.t], &Task.await) work? async_1 = Task.async(fn -> IO.inspect("done async 1") 1 end...
How does Enum.map works with Task.await? How does Enum.map works with Task.await? async-await concurrency elixir asynchronous How Enum.map Task.await Task.t async_1 Task.async IO.inspect async_2 Task PID Reference How does Enum.map works with Task.await? How does Elixir Enum.map([Task.t], &Task.await) work? From the co...
[ -0.016845703125, -0.000606536865234375, -0.008056640625, -0.0050048828125, -0.01239013671875, 0.01361083984375, 0.004638671875, 0.0038299560546875, -0.004791259765625, -0.009521484375, 0.01251220703125, 0.0155029296875, -0.005523681640625, 0.0213623046875, 0.0150146484375, -0.000356674...
[ 11249, 357, 316, 5, 62346, 43240, 678, 9598, 92, 7978, 217, 12654, 238, 108636, 982, 15296, 38308, 101966, 18, 115187, 17780, 16711, 304, 436, 7146, 25318, 9874, 4488, 12684, 41206, 17932, 17137, 214, 3525, 66211, 168360, 8108, 64007, 10, ...
[ 0.030364990234375, 0.11328125, 0.2176513671875, 0.02203369140625, 0.21337890625, 0.1275634765625, 0.06097412109375, 0.16552734375, 0.11767578125, 0.1796875, 0.218017578125, 0.1734619140625, 0.0626220703125, 0.0938720703125, 0.055938720703125, 0.0279388427734375, 0.183837890625, 0.1...
embed
32783910_c0
32783910
elixir
0
Title: Replacing map entries using a macro Problem title: Replacing map entries using a macro Tags: elixir Problem: Replacing map entries using a macro I would appreciate some help in understanding whats going on here and as a secondary thought if its a correct/non-smelly way to do things. I have two Modules in their o...
Replacing map entries using a macro Replacing map entries using a macro elixir a ModuleA Replacing mapA_lookup is_atom Dict.get ModuleB a_value_from_MapA ModuleA.mapA_lookup mapB_lookup Replacing map entries using a macro I would appreciate some help in understanding whats going on here and as a secondary thought if it...
[ 0, 0.0037841796875, 0.005889892578125, 0.018310546875, -0.000949859619140625, -0.000576019287109375, 0.001220703125, 0.010009765625, 0.007171630859375, -0.0164794921875, -0.0068359375, 0.01708984375, 0.00537109375, 0.00823974609375, 0.023681640625, -0.004608154296875, 0.0046081542968...
[ 853, 133266, 22288, 112820, 90, 17368, 10, 111789, 15296, 38308, 63014, 13, 284, 64747, 2037, 83, 11, 5928, 60897, 18, 3794, 571, 27494, 161063, 166179, 62346, 77947, 4358, 100094, 37526, 26785, 12746, 3917, 6626, 10002, 102158, 4527, 2046, ...
[ 0.0997314453125, 0.1815185546875, 0.2283935546875, 0.194091796875, 0.05059814453125, 0.1011962890625, 0.07763671875, 0.26416015625, 0.09033203125, 0.228515625, 0.1722412109375, 0.051422119140625, 0.147705078125, 0.12255859375, 0.13916015625, 0.03753662109375, 0.00225830078125, 0.20...
embed
55067009_c0
55067009
elixir
0
Title: Elixir Unexpected Floating Point Result Difference Between Enum.Sum and My Custom Sum Function Problem title: Elixir Unexpected Floating Point Result Difference Between Enum.Sum and My Custom Sum Function Tags: elixir, floating-point Problem: Elixir Unexpected Floating Point Result Difference Between Enum.Sum an...
Elixir Unexpected Floating Point Result Difference Between Enum.Sum and My Custom Sum Function Elixir Unexpected Floating Point Result Difference Between Enum.Sum and My Custom Sum Function elixir floating-point Elixir Unexpected Floating Point Result Difference Between Enum.Sum Custom Sum Homework Homework.sum Elixir ...
[ -0.018310546875, -0.0093994140625, 0.000644683837890625, -0.005706787109375, -0.0184326171875, 0.006866455078125, -0.0031890869140625, -0.007568359375, 0.01806640625, 0.002197265625, 0.0014190673828125, 0.007568359375, 0.01275634765625, 0.01953125, 0.00933837890625, -0.0030059814453125...
[ 25318, 38308, 992, 83613, 13, 89829, 38699, 26518, 41097, 126684, 803, 18234, 6620, 357, 316, 5, 294, 2646, 130664, 36335, 28670, 15296, 21917, 38496, 2005, 18244, 11832, 1177, 5368, 29479, 25632, 10554, 32354, 30646, 5303, 101935, 25072, 303...
[ 0.1199951171875, 0.21728515625, 0.0736083984375, 0.1085205078125, 0.0892333984375, 0.0509033203125, 0.164794921875, 0.107421875, 0.15576171875, 0.1778564453125, 0.066162109375, 0.1585693359375, 0.039459228515625, 0.07232666015625, 0.226806640625, 0.031524658203125, 0.096435546875, ...
embed
38277893_c1
38277893
elixir
1
line,647}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,247}]}]} Offender: [{pid,<0.2009.0>}, {id,'Elixir.ExAws.Config.AuthCache'}, {mfargs, {'Elixir.ExAws.Config.AuthCache',start_link, [[{name,'Elixir.ExAws.Config.AuthCache'}]]}}, {restart_type,permanent}, {shutdown,5000}, {child_type,worker}] 22:35:41....
line,647}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,247}]}]} Offender: [{pid,<0.2009.0>}, {id,'Elixir.ExAws.Config.AuthCache'}, {mfargs, {'Elixir.ExAws.Config.AuthCache',start_link, [[{name,'Elixir.ExAws.Config.AuthCache'}]]}}, {restart_type,permanent}, {shutdown,5000}, {child_type,worker}] 22:35:41....
[ 0.0035552978515625, 0.0128173828125, -0.00762939453125, 0.00147247314453125, 0.0032196044921875, -0.004241943359375, -0.015869140625, -0.006591796875, 0.01220703125, 0.01123046875, -0.01470947265625, 0.01019287109375, -0.000255584716796875, 0.004852294921875, 0.0233154296875, -0.003204...
[ 13315, 195807, 8152, 3454, 238, 5612, 217, 254, 246, 9007, 538, 363, 29822, 5, 56, 141, 2256, 142430, 9791, 23894, 45226, 2389, 15841, 532, 647, 150, 38308, 19279, 284, 19725, 83671, 67362, 441, 3814, 9405, 17137, 10187, 46994, 50986, 669...
[ 0.136962890625, 0.1390380859375, 0.003753662109375, 0.1160888671875, 0.148681640625, 0.2496337890625, 0.05560302734375, 0.039276123046875, 0.050262451171875, 0.1287841796875, 0.1358642578125, 0.1553955078125, 0.1046142578125, 0.022186279296875, 0.1292724609375, 0.14794921875, 0.10754...
embed
46963124_c0
46963124
elixir
0
Title: Disconnected from Phoenix channel when sending multiple large messages in a small time frame Problem title: Disconnected from Phoenix channel when sending multiple large messages in a small time frame Tags: phoenix-framework, large-data, elixir, channel Problem: Disconnected from Phoenix channel when sending mul...
Disconnected from Phoenix channel when sending multiple large messages in a small time frame Disconnected from Phoenix channel when sending multiple large messages in a small time frame phoenix-framework large-data elixir channel Phoenix Disconnected Disconnected from Phoenix channel when sending multiple large message...
[ -0.0020904541015625, 0.01904296875, -0.01007080078125, -0.00098419189453125, -0.0048828125, -0.0012969970703125, -0.00958251953125, 0.0126953125, 0.02685546875, -0.011474609375, 0.011474609375, 0.0089111328125, 0.02197265625, 0.01434326171875, 0.0030975341796875, 0.00738525390625, 0....
[ 6206, 135457, 297, 1295, 133720, 86723, 135834, 48716, 21334, 89914, 19336, 1733, 123789, 3229, 53073, 33, 4084, 160328, 10135, 15296, 38308, 14380, 58696, 35992, 25318, 49347, 16751, 170846, 22829, 4027, 2347, 115835, 58309, 23282, 37067, 98169,...
[ 0.095947265625, 0.242431640625, 0.031829833984375, 0.1490478515625, 0.2890625, 0.2373046875, 0.124267578125, 0.18310546875, 0.115966796875, 0.1629638671875, 0.133544921875, 0.058349609375, 0.1602783203125, 0.018890380859375, 0.0576171875, 0.0288543701171875, 0.116455078125, 0.10888...
embed
60662077_c0
60662077
elixir
0
Title: Use elixir-google-api to create a folder in GDrive Problem title: Use elixir-google-api to create a folder in GDrive Tags: google-api, elixir Problem: Use elixir-google-api to create a folder in GDrive I am trying to use elixir-google-api to create an application that maintains files and folders on GDrive. I hav...
Use elixir-google-api to create a folder in GDrive Use elixir-google-api to create a folder in GDrive google-api elixir Use GDrive create_folder File.create type_folder optional_params Map.merge standard_params GoogleApi.Drive.V3.Api.Files.drive_files_create Map.to_list IO.inspect Use elixir-google-api to create a fold...
[ 0.0025177001953125, -0.01025390625, -0.008056640625, 0.00909423828125, -0.01025390625, 0.000335693359375, -0.006805419921875, -0.04296875, -0.0026702880859375, 0.0181884765625, 0.0306396484375, -0.0245361328125, -0.006988525390625, 0.00390625, -0.006744384765625, -0.004608154296875, ...
[ 36836, 15296, 38308, 59875, 40897, 47, 28282, 78303, 23, 527, 142994, 9, 26484, 42822, 42724, 7612, 2182, 10644, 35829, 2500, 8256, 42719, 1991, 429, 5570, 1815, 284, 1434, 5, 856, 363, 174350, 7, 88400, 454, 29822, 188, 6562, 17780, 1671...
[ 0.06488037109375, 0.1234130859375, 0.265380859375, 0.18310546875, 0.2083740234375, 0.0306854248046875, 0.1798095703125, 0.2481689453125, 0.0849609375, 0.1141357421875, 0.29443359375, 0.0259246826171875, 0.1641845703125, 0.145263671875, 0.109619140625, 0.095947265625, 0.00180053710937...
embed
65532853_c1
65532853
elixir
1
of the data in elixir. My workaround is now that I have a hidden field in the view that "stores" the project_id ( <%= hidden_input f, :project_id %> ). This works, but I am unhappy with it, because the user can meddle with it and well - it feels wrong to "misuse" the view to do this. Can any of you by any chance expla...
of the data in elixir. My workaround is now that I have a hidden field in the view that "stores" the project_id ( <%= hidden_input f, :project_id %> ). This works, but I am unhappy with it, because the user can meddle with it and well - it feels wrong to "misuse" the view to do this. Can any of you by any chance expla...
[ -0.0224609375, -0.0013885498046875, -0.01153564453125, -0.0247802734375, 0.00457763671875, -0.006988525390625, 0.0034637451171875, -0.0247802734375, -0.00017452239990234375, -0.04931640625, -0.00469970703125, -0.0167236328125, -0.00653076171875, 0.013427734375, -0.0037689208984375, -0....
[ 111, 2053, 23, 15296, 38308, 4488, 11, 67688, 5036, 765, 204105, 44457, 21455, 7, 23723, 13452, 532, 73, 7077, 1238, 95322, 43240, 51, 157976, 38937, 831, 128, 19298, 12319, 44691, 2179, 4032, 73342, 3642, 903, 56104, 16940, 29806, 18151, ...
[ 0.1162109375, 0.17529296875, 0.0250244140625, 0.1177978515625, 0.2744140625, 0.0799560546875, 0.02459716796875, 0.140625, 0.0098876953125, 0.035675048828125, 0.239501953125, 0.2286376953125, 0.2479248046875, 0.029022216796875, 0.166259765625, 0.1827392578125, 0.1793212890625, 0.060...
embed
48409482_c0
48409482
elixir
0
Title: UTF8, codepoints, and their representation in Erlang and Elixir Problem title: UTF8, codepoints, and their representation in Erlang and Elixir Tags: unicode, elixir, erlang Problem: UTF8, codepoints, and their representation in Erlang and Elixir going through Elixir's handling of unicode: iex> String.codepoints(...
UTF8, codepoints, and their representation in Erlang and Elixir UTF8, codepoints, and their representation in Erlang and Elixir unicode elixir erlang UTF8 Erlang Elixir String.codepoints c2a7 UTF8, codepoints, and their representation in Erlang and Elixir going through Elixir's handling of unicode: very good, and byte_...
[ 0.015380859375, -0.00396728515625, 0.0074462890625, 0.01287841796875, 0.005096435546875, 0.0057373046875, 0.015380859375, 0.00927734375, -0.004425048828125, 0.02392578125, -0.00885009765625, -0.0286865234375, 0.00238037109375, 0.027587890625, -0.0263671875, -0.00384521484375, 0.00378...
[ 345, 30992, 1019, 18151, 38496, 18811, 1004, 3066, 25318, 38308, 136, 60347, 15296, 72, 23351, 40899, 304, 11, 966, 45064, 111, 112, 4552, 4127, 390, 67, 62539, 12477, 959, 201, 190, 4568, 21441, 35971, 116, 1636, 2046, 705, 39933, 748, ...
[ 0.0259246826171875, 0.191162109375, 0.2332763671875, 0.16455078125, 0.204833984375, 0.1510009765625, 0.1357421875, 0.27734375, 0.1044921875, 0.2366943359375, 0.004852294921875, 0.151123046875, 0.0755615234375, 0.06903076171875, 0.070556640625, 0.192626953125, 0.1929931640625, 0.012...
embed
48838061_c1
48838061
elixir
1
failed_operation, failed_value, changes_so_far} end end Here is what my two IO.inspect s show: product: %{"brand" => "B.B.", "categories" => "[object Object]", "description" => "very drab ears ", "name" => "be", "not_vegan_count" => "0", "number_of_votes" => "0", "price" => "344", "rating" => "0", "shop" => "[object O...
failed_operation, failed_value, changes_so_far} end end Here is what my two IO.inspect s show: product: %{"brand" => "B.B.", "categories" => "[object Object]", "description" => "very drab ears ", "name" => "be", "not_vegan_count" => "0", "number_of_votes" => "0", "price" => "344", "rating" => "0", "shop" => "[object O...
[ -0.0240478515625, 0.01171875, 0.008544921875, 0.013671875, -0.0037078857421875, 0.006256103515625, -0.035400390625, -0.039306640625, 0.01611328125, 0.018310546875, 0.00921630859375, 0.0076904296875, 0.0167236328125, 0.005462646484375, 0.0009613037109375, -0.012939453125, -0.019409179...
[ 165523, 21473, 1363, 27494, 65572, 991, 3814, 3564, 83, 759, 6626, 17780, 5, 73, 16711, 18, 91, 7639, 12996, 1745, 43264, 571, 240153, 187694, 134549, 44, 59478, 104643, 104, 16977, 67896, 7, 11627, 372, 10869, 272, 1972, 71013, 2389, 965...
[ 0.257568359375, 0.1812744140625, 0.029052734375, 0.1846923828125, 0.2119140625, 0.10693359375, 0.170166015625, 0.1751708984375, 0.007568359375, 0.01312255859375, 0.09716796875, 0.20947265625, 0.06341552734375, 0.044891357421875, 0.20361328125, 0.06072998046875, 0.03265380859375, 0....
embed
39768422_c0
39768422
elixir
0
Title: Starting a process inside controller Problem title: Starting a process inside controller Tags: elixir, phoenix-framework Problem: Starting a process inside controller Consider such module: defmodule Sampple do def start(nick, password, state \\ %State{}) do {:ok, client} = ExIrc.start_client! GenServer.start(__M...
Starting a process inside controller Starting a process inside controller elixir phoenix-framework Logger Starting Sampple State ExIrc.start_client GenServer.start __MODULE__ Logger.debug Sending handle_info ExIrc.Client.msg state.client state.channel Cgas.Controller Cgas.Web _args get_session Sample.enter Starting a p...
[ -0.0016937255859375, 0.0052490234375, -0.01165771484375, 0.000885009765625, -0.00127410888671875, 0.00008630752563476562, -0.00604248046875, -0.0033111572265625, -0.01324462890625, -0.06884765625, -0.0089111328125, 0.0284423828125, 0.00616455078125, 0.0277099609375, 0.00921630859375, 0...
[ 13794, 214, 9433, 46132, 185373, 10, 15296, 38308, 53073, 33, 4084, 160328, 18244, 64906, 56, 3362, 6366, 133, 22836, 5443, 568, 19437, 17137, 222978, 15937, 193348, 12013, 397, 129984, 112, 85779, 24044, 34831, 7319, 150, 11341, 17032, 3923,...
[ 0.22265625, 0.057525634765625, 0.1884765625, 0.2344970703125, 0.3447265625, 0.0236663818359375, 0.08917236328125, 0.197509765625, 0.077880859375, 0.060333251953125, 0.114990234375, 0.099853515625, 0.033721923828125, 0.170166015625, 0.12890625, 0.1121826171875, 0.140380859375, 0.098...
embed
40538741_c0
40538741
elixir
0
Title: Is leex a good choice for writing a template engine lexer? Problem title: Is leex a good choice for writing a template engine lexer? Tags: template-engine, leex, lexical-analysis, elixir, erlang Problem: Is leex a good choice for writing a template engine lexer? I am in the initial design phase of implementing a...
Is leex a good choice for writing a template engine lexer? Is leex a good choice for writing a template engine lexer? template-engine leex lexical-analysis elixir erlang Here some_variable Is leex a good choice for writing a template engine lexer? I am in the initial design phase of implementing a jinja2-like template ...
[ 0.01446533203125, 0.001800537109375, 0.0074462890625, 0.007415771484375, -0.002105712890625, 0.0146484375, 0.0101318359375, -0.004852294921875, 0.0140380859375, -0.0198974609375, 0.00244140625, 0.0361328125, 0.016357421875, -0.000701904296875, 0.014404296875, 0.0194091796875, -0.0101...
[ 95, 3355, 4127, 44126, 32562, 110934, 87907, 34058, 10, 100, 128897, 75675, 21533, 174976, 15296, 38308, 72, 3066, 11853, 3060, 21690, 4331, 93402, 29479, 890, 1648, 18504, 5062, 46876, 25318, 70035, 3535, 36880, 88996, 1004, 33342, 64004, 51...
[ 0.1182861328125, 0.247802734375, 0.1002197265625, 0.1182861328125, 0.1400146484375, 0.241943359375, 0.159423828125, 0.2391357421875, 0.011688232421875, 0.0289306640625, 0.1571044921875, 0.0909423828125, 0.1044921875, 0.1082763671875, 0.01458740234375, 0.1822509765625, 0.0222015380859...
embed
53141823_c1
53141823
elixir
1
_note_file stacktrace: (plug) lib/plug/conn.ex:845: Plug.Conn.fetch_query_params/2 (plug) lib/plug/parsers.ex:256: Plug.Parsers.call/2 (backend) lib/backend_web/endpoint.ex:1: BackendWeb.Endpoint.plug_builder_call/2 (backend) lib/backend_web/endpoint.ex:1: BackendWeb.Endpoint.call/2 (phoenix) lib/phoenix/test/conn_test...
_note_file stacktrace: (plug) lib/plug/conn.ex:845: Plug.Conn.fetch_query_params/2 (plug) lib/plug/parsers.ex:256: Plug.Parsers.call/2 (backend) lib/backend_web/endpoint.ex:1: BackendWeb.Endpoint.plug_builder_call/2 (backend) lib/backend_web/endpoint.ex:1: BackendWeb.Endpoint.call/2 (phoenix) lib/phoenix/test/conn_test...
[ 0.0027008056640625, 0.0361328125, 0.0084228515625, -0.00909423828125, 0.01483154296875, 0.0125732421875, -0.020263671875, -0.031494140625, -0.005615234375, -0.0294189453125, -0.0033111572265625, -0.01422119140625, 0.01251220703125, -0.00927734375, -0.0130615234375, 0.01019287109375, ...
[ 48345, 29822, 177261, 39989, 13, 145301, 25474, 2271, 19, 3355, 1019, 4633, 194351, 11935, 29362, 944, 2500, 8256, 12477, 7, 1314, 127892, 28636, 85763, 12620, 3611, 14051, 38496, 26828, 30474, 177149, 56, 4084, 6954, 133720, 111337, 12147, 3...
[ 0.240966796875, 0.17236328125, 0.15380859375, 0.226318359375, 0.0750732421875, 0.1895751953125, 0.1173095703125, 0.061920166015625, 0.04150390625, 0.1796875, 0.040618896484375, 0.16064453125, 0.215087890625, 0.09417724609375, 0.055908203125, 0.0771484375, 0.0850830078125, 0.0524597...
embed
44229264_c1
44229264
elixir
1
et.do_cast/4 (site) web/controllers/session_controller.ex:9: Site.SessionController.login_form/2 (site) web/controllers/session_controller.ex:3: Site.SessionController.action/2 (site) web/controllers/session_controller.ex:3: Site.SessionController.phoenix_controller_pipeline/2 (site) lib/site/endpoint.ex:1: Site.Endpoi...
et.do_cast/4 (site) web/controllers/session_controller.ex:9: Site.SessionController.login_form/2 (site) web/controllers/session_controller.ex:3: Site.SessionController.action/2 (site) web/controllers/session_controller.ex:3: Site.SessionController.phoenix_controller_pipeline/2 (site) lib/site/endpoint.ex:1: Site.Endpoi...
[ -0.0087890625, 0.0245361328125, 0.007537841796875, 0.00738525390625, 0.00555419921875, -0.01458740234375, -0.0106201171875, 0.0004100799560546875, -0.003753662109375, -0.034912109375, -0.00531005859375, -0.0181884765625, 0.00148773193359375, 0.0260009765625, -0.00689697265625, -0.00842...
[ 82, 246, 55741, 17357, 11090, 1467, 81988, 169234, 603, 3355, 1126, 12, 20897, 294, 90, 6889, 175904, 4867, 73, 5037, 12477, 363, 44713, 22014, 33, 4084, 1434, 26338, 25474, 3611, 152378, 38496, 87705, 133261, 28194, 12724, 25208, 4453, 857...
[ 0.189697265625, 0.1510009765625, 0.201416015625, 0.2325439453125, 0.1707763671875, 0.143310546875, 0.2244873046875, 0.1904296875, 0.1617431640625, 0.0672607421875, 0.1199951171875, 0.0106201171875, 0.16650390625, 0.06854248046875, 0.1326904296875, 0.07489013671875, 0.2529296875, 0....
embed
42053331_c0
42053331
elixir
0
Title: Simplify Phoenix controller actions Problem title: Simplify Phoenix controller actions Tags: phoenix-framework, elixir Problem: Simplify Phoenix controller actions In my Phoenix application I have the following actions in controller: def edit(conn, %{"id" => topic_id}) do topic = Repo.get(Topic, topic_id) change...
Simplify Phoenix controller actions Simplify Phoenix controller actions phoenix-framework elixir Simplify Phoenix topic_id Repo.get Topic Topic.changeset topic_params Repo.update _topic put_flash Updated topic_path set_topic Discuss.TopicController.set_topic Simplify Phoenix controller actions In my Phoenix application...
[ 0.006195068359375, -0.00433349609375, 0.0162353515625, -0.018310546875, 0.0096435546875, -0.01336669921875, -0.01416015625, -0.0027923583984375, 0.00701904296875, -0.034423828125, -0.0147705078125, 0.00909423828125, -0.0064697265625, -0.0035552978515625, 0.00543212890625, 0.0126953125,...
[ 55331, 28574, 53, 133720, 185373, 61972, 53073, 33, 4084, 160328, 15296, 38308, 28451, 532, 771, 3794, 134912, 152028, 3509, 2500, 8256, 117008, 119499, 3884, 5544, 28641, 128405, 5423, 212897, 77888, 175904, 603, 38415, 23, 3293, 13315, 171763...
[ 0.1224365234375, 0.1448974609375, 0.049560546875, 0.267333984375, 0.2481689453125, 0.1785888671875, 0.0206756591796875, 0.013092041015625, 0.047393798828125, 0.04888916015625, 0.03607177734375, 0.1641845703125, 0.1943359375, 0.0149688720703125, 0.093505859375, 0.02630615234375, 0.172...
embed
76147500_c0
76147500
elixir
0
Title: DynamicSupervisor.start_child(...) ----&gt; error &gt; already started Problem title: DynamicSupervisor.start_child(...) ----&gt; error &gt; already started Tags: elixir, gen-server, erlang Problem: DynamicSupervisor.start_child(...) ----> error > already started I have this code: defmodule MyApp.JobRunner do us...
DynamicSupervisor.start_child(...) ----&gt; error &gt; already started DynamicSupervisor.start_child(...) ----&gt; error &gt; already started elixir gen-server erlang DynamicSupervisor.start_child MyApp.JobRunner DynamicSupervisor MyApp.MyWorker start_link _arg DynamicSupervisor.start_link __MODULE__ IO.puts DynamicSup...
[ -0.004119873046875, 0.01165771484375, -0.0059814453125, -0.012939453125, 0.005767822265625, -0.0113525390625, 0.013427734375, -0.003936767578125, -0.001373291015625, -0.038330078125, 0.000888824462890625, 0.00872802734375, 0.005950927734375, 0.0218505859375, 0.01220703125, -0.009155273...
[ 73327, 21068, 73903, 51858, 17137, 206, 38472, 139666, 5386, 18499, 21771, 26859, 15296, 38308, 9226, 39642, 72, 3066, 2646, 39179, 194802, 163321, 31852, 108259, 56, 4034, 10187, 61477, 12013, 397, 17780, 5, 73, 217, 1632, 2472, 3630, 15190,...
[ 0.153564453125, 0.1431884765625, 0.18701171875, 0.2529296875, 0.181640625, 0.0989990234375, 0.1632080078125, 0.031097412109375, 0.0217437744140625, 0.2178955078125, 0.278076171875, 0.268310546875, 0.0635986328125, 0.2008056640625, 0.148193359375, 0.1590576171875, 0.034881591796875, ...
embed
40060674_c0
40060674
elixir
0
Title: Who can explain the strange result when I use Module names in nested modules in Elixir? Problem title: Who can explain the strange result when I use Module names in nested modules in Elixir? Tags: elixir Problem: Who can explain the strange result when I use Module names in nested modules in Elixir? I found this...
Who can explain the strange result when I use Module names in nested modules in Elixir? Who can explain the strange result when I use Module names in nested modules in Elixir? elixir Who Module Elixir Foo Foo.Bar test1 IO.inspect Foo.Baz test2 Other.Baz Foo.Foo.Bar.test1 Foo.Foo.Baz Foo.Foo.Bar.test2 Both Foo.Other.Baz...
[ 0.001495361328125, 0.0011138916015625, -0.0028076171875, 0.019775390625, 0.03271484375, 0.00830078125, 0.003448486328125, 0.00579833984375, 0.01220703125, 0.00537109375, 0.0036773681640625, -0.001922607421875, 0.0252685546875, 0.026123046875, 0, -0.01202392578125, -0.0023345947265625...
[ 40469, 831, 73342, 114453, 16750, 4527, 63014, 13, 123055, 23, 8512, 71, 88996, 25318, 38308, 15296, 9572, 31, 25267, 3034, 418, 17780, 16711, 571, 1828, 304, 64511, 27591, 6954, 62, 441, 18151, 181653, 241957, 41206, 109921, 27489, 74729, ...
[ 0.073974609375, 0.05865478515625, 0.1700439453125, 0.126220703125, 0.1246337890625, 0.10693359375, 0.1949462890625, 0.1300048828125, 0.1563720703125, 0.045989990234375, 0.2091064453125, 0.12939453125, 0.2318115234375, 0.11083984375, 0.254638671875, 0.058441162109375, 0.139404296875, ...
embed
53524611_c0
53524611
elixir
0
Title: how to make post request using tesla in elixir Problem title: how to make post request using tesla in elixir Tags: tesla, phoenix-framework, httpoison, elixir Problem: how to make post request using tesla in elixir I'm trying to make post request using tesla but getting error: (CaseClauseError) no case clause ma...
how to make post request using tesla in elixir how to make post request using tesla in elixir tesla phoenix-framework httpoison elixir CaseClauseError tesla hackney_request.erl:312::hackney_request.handle_body hackney_request.erl:81::hackney_request.perform hackney.erl:372::hackney.send_request hackney.ex:69 Tesla.Adap...
[ 0.01446533203125, 0.0128173828125, 0.0033416748046875, -0.00885009765625, 0.01043701171875, -0.0089111328125, -0.0125732421875, -0.0054931640625, -0.01165771484375, -0.004791259765625, 0.018310546875, 0.00775146484375, -0.0023651123046875, 0.005767822265625, 0.003814697265625, -0.00805...
[ 3642, 3249, 1305, 50336, 17368, 31785, 143, 23, 15296, 38308, 47, 33, 4084, 160328, 18244, 40514, 43731, 26253, 18468, 85526, 10186, 107, 75616, 27321, 139509, 79628, 37873, 13556, 5037, 108265, 39285, 14212, 70658, 2631, 2594, 85763, 4594, 3...
[ 0.057891845703125, 0.083251953125, 0.1812744140625, 0.240478515625, 0.125732421875, 0.149169921875, 0.172119140625, 0.0914306640625, 0.08935546875, 0.23681640625, 0.01177978515625, 0.026214599609375, 0.0894775390625, 0.064208984375, 0.0295562744140625, 0.12451171875, 0.05953979492187...
embed
32471065_c0
32471065
elixir
0
Title: Is it possible to dynamically access module by string or symbol? Problem title: Is it possible to dynamically access module by string or symbol? Tags: elixir Problem: Is it possible to dynamically access module by string or symbol? I'm trying to write a set of macros all of which would have to depend on the know...
Is it possible to dynamically access module by string or symbol? Is it possible to dynamically access module by string or symbol? elixir SomeOtherModule SomeOtherModule.foo MacrosUser MyMacros __using__ __aliases__ module_path Enum.join __MODULE__ Is it possible to dynamically access module by string or symbol? I'm try...
[ -0.0031890869140625, -0.00994873046875, 0.000537872314453125, 0.019775390625, -0.005035400390625, 0.01019287109375, -0.007232666015625, 0.0155029296875, 0.0021820068359375, -0.060546875, -0.001373291015625, -0.01385498046875, 0.00191497802734375, -0.00439453125, -0.00689697265625, -0.0...
[ 2071, 7722, 84079, 25958, 17203, 88996, 390, 79315, 707, 26582, 15296, 38308, 31384, 670, 9319, 91616, 8782, 3584, 31, 3666, 1062, 2189, 2646, 55450, 223, 41763, 128405, 357, 316, 513, 12013, 397, 129984, 31577, 33022, 111789, 7, 56566, 513...
[ 0.0230560302734375, 0.173828125, 0.221435546875, 0.1065673828125, 0.2213134765625, 0.288330078125, 0.09747314453125, 0.244140625, 0.089111328125, 0.252685546875, 0.0615234375, 0.2017822265625, 0.0845947265625, 0.0914306640625, 0.1390380859375, 0.156982421875, 0.129638671875, 0.1043...
embed
72164856_c1
72164856
elixir
1
module Pokemon.Server do .... @impl true def handle_info(:get, state) do # bit weird, but only for demonstration purposes :) _ = api_imp().get_by_id(1) {:noreply, state} end def api_imp() do Application.get_env(:pokemon, :api) end end Case defmodule Pokemon.Case do use ExUnit.CaseTemplate setup _ do Mox.stub_with(Pokem...
module Pokemon.Server do .... @impl true def handle_info(:get, state) do # bit weird, but only for demonstration purposes :) _ = api_imp().get_by_id(1) {:noreply, state} end def api_imp() do Application.get_env(:pokemon, :api) end end Case defmodule Pokemon.Case do use ExUnit.CaseTemplate setup _ do Mox.stub_with(Pokem...
[ -0.004974365234375, -0.00006246566772460938, 0.0166015625, 0.010009765625, 0.004730224609375, -0.000438690185546875, 0.0157470703125, -0.023681640625, -0.000946044921875, -0.008056640625, -0.0027008056640625, 0.0230712890625, -0.0052490234375, -0.004150390625, 0.0166015625, -0.00364685...
[ 88996, 181812, 5, 193348, 54, 116120, 29568, 8, 420, 34831, 7319, 3794, 11341, 4785, 179459, 32837, 60042, 31470, 64357, 532, 62479, 3564, 104921, 334, 24468, 74768, 40897, 43731, 83279, 441, 6991, 4527, 5443, 85600, 159065, 169581, 2501, 425...
[ 0.1907958984375, 0.252685546875, 0.040008544921875, 0.2130126953125, 0.058990478515625, 0.0183563232421875, 0.0251922607421875, 0.09967041015625, 0.049835205078125, 0.234130859375, 0.21630859375, 0.1510009765625, 0.155029296875, 0.001556396484375, 0.079345703125, 0.0780029296875, 0.0...
embed
36750417_c1
36750417
elixir
1
do use Tracker.Web, :model schema "gates" do field :name, :string field :direction_in, :boolean, default: false field :antenna, :integer belongs_to :reader, Tracker.Reader has_many :events, Tracker.Event timestamps end @required_fields ~w(name direction_in antenna) @optional_fields ~w() def changeset(model, params \\ ...
do use Tracker.Web, :model schema "gates" do field :name, :string field :direction_in, :boolean, default: false field :antenna, :integer belongs_to :reader, Tracker.Reader has_many :events, Tracker.Event timestamps end @required_fields ~w(name direction_in antenna) @optional_fields ~w() def changeset(model, params \\ ...
[ -0.0020294189453125, -0.006805419921875, -0.002105712890625, -0.0252685546875, 0.00323486328125, -0.0341796875, 0.001220703125, -0.00787353515625, 0.0069580078125, -0.06005859375, -0.0029754638671875, 0.000499725341796875, -0.01263427734375, 0.000885009765625, 0.0191650390625, -0.01129...
[ 54, 4527, 69182, 56, 5, 30474, 51734, 61903, 42118, 7, 58, 44457, 11627, 91693, 936, 58994, 73, 142484, 5073, 114977, 98320, 65646, 76, 6191, 1505, 10617, 1283, 820, 31345, 1556, 669, 53, 90141, 192134, 20028, 2537, 3564, 3181, 28394, 482...
[ 0.10009765625, 0.1444091796875, 0.271728515625, 0.18701171875, 0.03521728515625, 0.22119140625, 0.2294921875, 0.186767578125, 0.2237548828125, 0.12353515625, 0.012481689453125, 0.206298828125, 0.1385498046875, 0.112060546875, 0.0675048828125, 0.1182861328125, 0.07379150390625, 0.04...
embed
56262856_c0
56262856
elixir
0
Title: In Elixir ExUnit, how do I guarantee that the Supervisor will create a new GeNserver? Problem title: In Elixir ExUnit, how do I guarantee that the Supervisor will create a new GeNserver? Tags: erlang-otp, erlang, gen-server, ex-unit, elixir Problem: In Elixir ExUnit, how do I guarantee that the Supervisor will c...
In Elixir ExUnit, how do I guarantee that the Supervisor will create a new GeNserver? In Elixir ExUnit, how do I guarantee that the Supervisor will create a new GeNserver? erlang-otp erlang gen-server ex-unit elixir Elixir ExUnit Supervisor GeNserver KV.Supervisor.start_link KV.RegistryClient.create KV.RegistryClient S...
[ -0.019775390625, 0.0111083984375, -0.000774383544921875, -0.0211181640625, 0.00787353515625, -0.0224609375, 0.000621795654296875, -0.006256103515625, 0.00616455078125, -0.02490234375, 0.004730224609375, 0.00311279296875, 0.002655029296875, 0.0130615234375, 0.02197265625, 0.003463745117...
[ 25318, 38308, 5443, 85600, 18, 3642, 142027, 4265, 51858, 1221, 28282, 3525, 2206, 839, 39642, 72, 3066, 818, 254, 9226, 1119, 309, 15296, 114796, 73903, 17137, 10187, 150, 7612, 237052, 45226, 10901, 590, 119261, 71013, 111337, 21478, 6954, ...
[ 0.099853515625, 0.1998291015625, 0.148681640625, 0.17724609375, 0.0648193359375, 0.046661376953125, 0.2496337890625, 0.16650390625, 0.2139892578125, 0.051300048828125, 0.148681640625, 0.1104736328125, 0.128662109375, 0.09381103515625, 0.24169921875, 0.04010009765625, 0.1761474609375,...
embed
35535407_c0
35535407
elixir
0
Title: How elixir keep the accumulator Problem title: How elixir keep the accumulator Tags: elixir Problem: How elixir keep the accumulator I am trying to understand elixir stream. First I have a list that iterate through a range and multiple with 2. iex(5)> stream = 1..3 |> ...(5)> Enum.map(&IO.inspect(&1)) |> ...(5)>...
How elixir keep the accumulator How elixir keep the accumulator elixir How Enum.map IO.inspect Enum.reduce Stream.map IO.puts erl_eval.expr How elixir keep the accumulator I am trying to understand elixir stream. First I have a list that iterate through a range and multiple with 2. Here everything is clear, every enum ...
[ -0.034423828125, 0.01318359375, -0.0126953125, 0.0123291015625, 0.0078125, 0.01434326171875, -0.0012054443359375, -0.00555419921875, -0.00160980224609375, -0.022216796875, 0.0242919921875, -0.004669189453125, 0.018798828125, 0.041015625, 0.023681640625, -0.0026702880859375, -0.017211...
[ 11249, 15296, 38308, 13695, 183278, 1290, 70, 357, 316, 62346, 17780, 16711, 107, 106357, 115061, 72, 141, 1405, 83613, 28219, 75973, 5303, 8560, 8305, 37457, 48716, 787, 26818, 34735, 11907, 22, 30646, 17, 22759, 20028, 12830, 45367, 4734, ...
[ 0.0859375, 0.1070556640625, 0.245849609375, 0.2373046875, 0.232421875, 0.19775390625, 0.020355224609375, 0.0902099609375, 0.1824951171875, 0.1097412109375, 0.1387939453125, 0.1009521484375, 0.15283203125, 0.218017578125, 0.1761474609375, 0.00482177734375, 0.04486083984375, 0.184692...
embed
28907523_c0
28907523
elixir
0
Title: Elixir compile-time code injection / AOP Problem title: Elixir compile-time code injection / AOP Tags: erlang, elixir, aop Problem: Elixir compile-time code injection / AOP I've previously used AOP-style code to separate Logic from Logging, and been very pleased with the results. I recognize that opinions on AOP...
Elixir compile-time code injection / AOP Elixir compile-time code injection / AOP erlang elixir aop Elixir AOP Project.Logic LoggingInjection.inject Project.Logging work_do_stuff some_result Project.Logic.work_do_stuff before_work_do_stuff Log.write after_work_do_stuff LoggingInjection logging_module What Elixir compil...
[ -0.013427734375, -0.008544921875, 0.00897216796875, 0.00616455078125, 0.007354736328125, 0.01397705078125, 0.00982666015625, -0.00054931640625, -0.004638671875, -0.031005859375, -0.0201416015625, -0.004302978515625, -0.023193359375, 0.008544921875, 0.01300048828125, -0.029052734375, ...
[ 25318, 38308, 9969, 1340, 6032, 18151, 115049, 1830, 62, 20880, 72, 3066, 15296, 10, 2146, 27331, 113972, 1771, 64906, 214, 1559, 73, 75161, 15363, 36659, 4488, 246, 271, 21493, 3060, 7136, 18244, 8108, 13146, 18781, 7103, 459, 83279, 4865,...
[ 0.1539306640625, 0.288330078125, 0.1705322265625, 0.1575927734375, 0.197509765625, 0.2264404296875, 0.2222900390625, 0.0601806640625, 0.12255859375, 0.265869140625, 0.04852294921875, 0.182373046875, 0.1021728515625, 0.049102783203125, 0.190673828125, 0.1136474609375, 0.1424560546875,...
embed
74946349_c1
74946349
elixir
1
ok, %{state | ref: task.ref}} end # The task completed successfully def handle_info({ref, answer}, %{ref: ref} = state) do Process.demonitor(ref, [:flush]) {:stop, :normal, %{state | ref: nil}} end # The task failed def handle_info({:DOWN, ref, :process, _pid, reason}, %{ref: ref} = state) do {:stop, :shutdown, %{state...
ok, %{state | ref: task.ref}} end # The task completed successfully def handle_info({ref, answer}, %{ref: ref} = state) do Process.demonitor(ref, [:flush]) {:stop, :normal, %{state | ref: nil}} end # The task failed def handle_info({:DOWN, ref, :process, _pid, reason}, %{ref: ref} = state) do {:stop, :shutdown, %{state...
[ -0.01220703125, 0.0267333984375, 0.003997802734375, -0.0037689208984375, -0.01031494140625, -0.0032501220703125, 0.00823974609375, -0.00003790855407714844, 0.000804901123046875, -0.01470947265625, -0.004150390625, 0.0299072265625, 0.005157470703125, 0.0341796875, 0.00201416015625, 0.00...
[ 3664, 61340, 18831, 66211, 29087, 3564, 140528, 65771, 34831, 7319, 35166, 11341, 123996, 112, 167277, 18026, 19111, 33176, 17324, 165523, 13223, 108049, 63923, 45226, 31635, 24278, 34695, 121011, 23399, 64906, 56, 85779, 10752, 26531, 7565, 1564...
[ 0.013763427734375, 0.1458740234375, 0.197265625, 0.19775390625, 0.2071533203125, 0.044677734375, 0.130126953125, 0.108642578125, 0.15283203125, 0.14990234375, 0.09234619140625, 0.1241455078125, 0.09814453125, 0.1502685546875, 0.1993408203125, 0.13623046875, 0.1036376953125, 0.22448...
embed
56804183_c0
56804183
elixir
0
Title: Render different errors for different pipelines (:api and :browser)? Problem title: Render different errors for different pipelines (:api and :browser)? Tags: phoenix-framework, http, elixir, api Problem: Render different errors for different pipelines (:api and :browser)? In my current Phoenix project I have bo...
Render different errors for different pipelines (:api and :browser)? Render different errors for different pipelines (:api and :browser)? phoenix-framework http elixir api Render router.ex AppWeb pipe_through config.exs render_errors AppWeb.ErrorView template_not_found Render different errors for different pipelines (:...
[ -0.01275634765625, 0.013916015625, -0.01446533203125, -0.00616455078125, -0.007080078125, -0.01104736328125, -0.030029296875, -0.0186767578125, 0, -0.0189208984375, 0.00592041015625, -0.0242919921875, 0.02294921875, 0.0098876953125, 0.005218505859375, 0.0267333984375, -0.003540039062...
[ 63137, 56, 12921, 18499, 7, 100, 137158, 59801, 40897, 215725, 136, 53073, 33, 4084, 160328, 1621, 15296, 38308, 31470, 122188, 3355, 5659, 30474, 222521, 153837, 89159, 188800, 18468, 31611, 100474, 110934, 10869, 151645, 133720, 13452, 15044, ...
[ 0.1990966796875, 0.0718994140625, 0.214111328125, 0.250732421875, 0.0196380615234375, 0.050628662109375, 0.1771240234375, 0.16943359375, 0.1649169921875, 0.2088623046875, 0.041748046875, 0.025482177734375, 0.03204345703125, 0.0743408203125, 0.05255126953125, 0.0626220703125, 0.017837...
embed
65458600_c0
65458600
elixir
0
Title: Use error_tag without the span or with a different class Problem title: Use error_tag without the span or with a different class Tags: elixir, phoenix-framework Problem: Use error_tag without the span or with a different class I use Tailwind CSS 2.0 in a Phoenix application. The error_tag in a form gives me a he...
Use error_tag without the span or with a different class Use error_tag without the span or with a different class elixir phoenix-framework Use error_tag text-gray-700 Passwort mt-1 password_input px-3 py-2 border-gray-300 placeholder-gray-400 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm m...
[ -0.0164794921875, 0.029296875, -0.01324462890625, -0.026611328125, 0.01007080078125, 0.0037841796875, -0.01287841796875, -0.0203857421875, -0.01361083984375, -0.024658203125, 0.00738525390625, -0.0107421875, -0.006134033203125, 0.0185546875, -0.0126953125, 0.0218505859375, -0.0125122...
[ 36836, 18499, 454, 6936, 15490, 27734, 707, 678, 12921, 18507, 15296, 38308, 53073, 33, 4084, 160328, 18244, 7986, 5739, 53, 15128, 231305, 18, 5759, 78506, 88684, 8316, 17198, 5428, 132988, 75974, 3687, 31958, 83754, 32153, 2852, 19904, 519,...
[ 0.09381103515625, 0.23779296875, 0.039794921875, 0.2578125, 0.128173828125, 0.209716796875, 0.004119873046875, 0.06805419921875, 0.072998046875, 0.1767578125, 0.047515869140625, 0.1485595703125, 0.060089111328125, 0.05633544921875, 0.1077880859375, 0.0875244140625, 0.005645751953125,...
embed
34953211_c0
34953211
elixir
0
Title: error during installing phoenix framework Problem title: error during installing phoenix framework Tags: phoenix-framework, elixir Problem: error during installing phoenix framework Trying out phoenix and Elixir for the first time. Stuck at the very end while running the project. mix phoenix.server Anyone had th...
error during installing phoenix framework error during installing phoenix framework phoenix-framework elixir phoenix.server deps.clean sql.ex:420 Ecto.Adapters.SQL.start_link supervisor.erl:343 supervisor.do_start_child supervisor.erl:326 supervisor.start_children supervisor.erl:292 supervisor.init_children gen_server....
[ 0.0205078125, 0.0201416015625, 0.019287109375, 0.0023651123046875, 0.00848388671875, 0.00628662109375, -0.006134033203125, -0.020263671875, -0.00150299072265625, -0.0244140625, 0.0068359375, -0.021484375, 0.00738525390625, 0.0004405975341796875, -0.006561279296875, 0.0196533203125, -...
[ 18499, 20271, 20600, 214, 53073, 33, 4084, 170846, 160328, 18244, 15296, 38308, 39642, 8, 6423, 11030, 66, 99247, 3355, 120377, 241, 44150, 22409, 2631, 23962, 158897, 17137, 10187, 1601, 51858, 206, 38472, 29902, 237052, 217, 9226, 73, 5612,...
[ 0.1478271484375, 0.1614990234375, 0.1920166015625, 0.06829833984375, 0.10015869140625, 0.15234375, 0.1614990234375, 0.2354736328125, 0.1219482421875, 0.048431396484375, 0.063720703125, 0.227783203125, 0.0904541015625, 0.0662841796875, 0.0762939453125, 0.08038330078125, 0.045257568359...
embed
36814185_c1
36814185
elixir
1
: Faker.Lorem.sentence, cover_img: Faker.Avatar.image_url, picture_one: Faker.Avatar.image_url, picture_two: Faker.Avatar.image_url, picture_three: Faker.Avatar.image_url, user_id: Enum.random(1..100), upvote_count: Enum.random(1..1000), downvote_count: Enum.random(1..250), }) end end RecurssionSeed.multiply_seeder(1,2...
: Faker.Lorem.sentence, cover_img: Faker.Avatar.image_url, picture_one: Faker.Avatar.image_url, picture_two: Faker.Avatar.image_url, picture_three: Faker.Avatar.image_url, user_id: Enum.random(1..100), upvote_count: Enum.random(1..1000), downvote_count: Enum.random(1..250), }) end end RecurssionSeed.multiply_seeder(1,2...
[ -0.006622314453125, 0.021484375, 0.000946044921875, -0.0123291015625, 0.004058837890625, 0.0040283203125, -0.006195068359375, -0.0181884765625, 0.0003566741943359375, -0.035400390625, -0.0030670166015625, 0.015869140625, 0.01300048828125, 0.009765625, 0.015869140625, -0.0252685546875, ...
[ 3036, 1728, 192022, 12832, 6620, 29256, 464, 330, 867, 37926, 25002, 49726, 3630, 55547, 38937, 316, 46258, 3559, 965, 71013, 14105, 7565, 24291, 3564, 853, 48650, 6889, 4233, 297, 144227, 62479, 184, 27802, 88942, 11675, 40, 75101, 33949, ...
[ 0.1463623046875, 0.19140625, 0.162109375, 0.06842041015625, 0.07098388671875, 0.1124267578125, 0.06500244140625, 0.076171875, 0.1187744140625, 0.072265625, 0.0802001953125, 0.10052490234375, 0.029693603515625, 0.0235748291015625, 0.064208984375, 0.0909423828125, 0.06964111328125, 0...
embed
76073330_c0
76073330
elixir
0
Title: Count items in Phoenix&#x27;s Presence in constant time Problem title: Count items in Phoenix&#x27;s Presence in constant time Tags: phoenix-framework, elixir Problem: Count items in Phoenix's Presence in constant time I'm using Phoenix with LiveView and I have this code in one of my views. The part where I upda...
Count items in Phoenix&#x27;s Presence in constant time Count items in Phoenix&#x27;s Presence in constant time phoenix-framework elixir Count Phoenix Presence handle_info presence_diff _payload Payload users_count map_size Presence.list some_topic Map List Count items in Phoenix's Presence in constant time I'm using P...
[ -0.00946044921875, 0.002685546875, 0.01055908203125, -0.013916015625, 0.004425048828125, -0.0225830078125, 0.0004253387451171875, -0.00101470947265625, 0.005035400390625, -0.053466796875, 0.0064697265625, -0.0033111572265625, 0.02734375, 0.03662109375, -0.0089111328125, 0.0098876953125...
[ 108210, 55769, 133720, 3768, 20703, 6620, 23, 53697, 1733, 53073, 4084, 160328, 18244, 15296, 38308, 34831, 7319, 169424, 152462, 63033, 17166, 72095, 71013, 22288, 62539, 6562, 119499, 42719, 32036, 678, 9251, 100474, 18151, 16912, 28350, 221, ...
[ 0.1981201171875, 0.2244873046875, 0.25634765625, 0.07135009765625, 0.1947021484375, 0.1568603515625, 0.0517578125, 0.1668701171875, 0.1749267578125, 0.0251617431640625, 0.0732421875, 0.10638427734375, 0.0311279296875, 0.05511474609375, 0.187255859375, 0.12353515625, 0.0677490234375, ...
embed
44504268_c0
44504268
elixir
0
Title: How do you write a file per chunk in a Stream in Elixir Problem title: How do you write a file per chunk in a Stream in Elixir Tags: elixir Problem: How do you write a file per chunk in a Stream in Elixir I have a problem where I need to read in a very large file and then print the results of a parse per chunk. ...
How do you write a file per chunk in a Stream in Elixir How do you write a file per chunk in a Stream in Elixir elixir each How Stream Elixir chunk_size new_file_name crypto.hash md5 Integer.to_string os.system_time Base.encode16 file_path File.stream read_ahead Stream.drop Stream.map Prepare Stream.chunk MapSet.new Cr...
[ -0.0133056640625, 0.0029144287109375, 0.020263671875, -0.01544189453125, -0.00946044921875, -0.000316619873046875, -0.00225830078125, -0.0247802734375, 0.00787353515625, 0.0177001953125, -0.01708984375, 0.020751953125, 0.0179443359375, 0.043212890625, 0.01361083984375, 0.00267028808593...
[ 11249, 54, 33022, 11435, 117, 7839, 92, 23, 115061, 25318, 38308, 10, 15296, 12638, 62539, 3525, 29822, 11627, 215637, 126234, 71, 758, 44401, 188, 91693, 362, 6032, 44978, 40899, 2485, 128405, 42724, 86429, 12301, 31251, 138810, 6, 62346, ...
[ 0.07958984375, 0.038330078125, 0.2249755859375, 0.2174072265625, 0.1640625, 0.2125244140625, 0.154052734375, 0.072021484375, 0.2437744140625, 0.1402587890625, 0.239501953125, 0.0289459228515625, 0.095458984375, 0.0904541015625, 0.1444091796875, 0.035491943359375, 0.157958984375, 0....
embed
46454700_c1
46454700
elixir
1
.Event.ImportEvent.import(event) end) {:noreply, events, number} end end defmodule CoachActivity.Event.Consumer do use GenStage def start_link() do GenStage.start_link(CoachActivity.Event.Consumer, :ok) end def init(:ok) do {:consumer, :the_state_does_not_matter} end def handle_events(events, _from, state) do # Wait fo...
.Event.ImportEvent.import(event) end) {:noreply, events, number} end end defmodule CoachActivity.Event.Consumer do use GenStage def start_link() do GenStage.start_link(CoachActivity.Event.Consumer, :ok) end def init(:ok) do {:consumer, :the_state_does_not_matter} end def handle_events(events, _from, state) do # Wait fo...
[ -0.01220703125, 0.0150146484375, -0.01904296875, 0.01025390625, -0.01116943359375, -0.0216064453125, -0.00787353515625, -0.00174713134765625, -0.01214599609375, -0.0291748046875, -0.03173828125, 0.005218505859375, 0.0091552734375, 0.042724609375, 0.004974365234375, -0.0186767578125, ...
[ 5, 192134, 61637, 6982, 60270, 90141, 16, 3564, 157, 107, 62479, 47353, 14012, 8, 420, 83279, 131466, 164414, 2481, 11935, 11832, 56, 54, 4527, 15937, 294, 16852, 4034, 10187, 17137, 454, 132, 10625, 934, 4, 152, 685, 23, 217, 12, 10666...
[ 0.074951171875, 0.26806640625, 0.161376953125, 0.2222900390625, 0.25244140625, 0.267333984375, 0.01092529296875, 0.184326171875, 0.053680419921875, 0.010711669921875, 0.16162109375, 0.20556640625, 0.08349609375, 0.12841796875, 0.1358642578125, 0.1988525390625, 0.21826171875, 0.1876...
embed
33978529_c0
33978529
elixir
0
Title: Confused about why an Elixir Ecto validation test is not working Problem title: Confused about why an Elixir Ecto validation test is not working Tags: ecto, elixir, phoenix-framework, testing Problem: Confused about why an Elixir Ecto validation test is not working I have a user model that looks like this: defmo...
Confused about why an Elixir Ecto validation test is not working Confused about why an Elixir Ecto validation test is not working ecto elixir phoenix-framework testing Confused Elixir Ecto MyApp.User password_confirmation required_fields optional_fields validate_length MyApp.UserTest MyApp.ModelCase MyApp.Repo valid_at...
[ -0.00921630859375, -0.00188446044921875, 0.01397705078125, 0.0078125, 0.015380859375, -0.0159912109375, -0.0213623046875, -0.0169677734375, 0.00104522705078125, 0.0029754638671875, -0.00164794921875, 0.01611328125, 0.006072998046875, 0.044677734375, -0.00927734375, 0.00531005859375, ...
[ 106161, 33740, 15400, 25318, 38308, 241, 44150, 44622, 1363, 3034, 959, 20697, 60751, 15296, 53073, 33, 4084, 160328, 18244, 134234, 2646, 39179, 2189, 78506, 23044, 56065, 28394, 35829, 23986, 111337, 140290, 4332, 771, 35604, 150, 5900, 2590,...
[ 0.1058349609375, 0.05450439453125, 0.1075439453125, 0.112060546875, 0.2227783203125, 0.1002197265625, 0.25439453125, 0.2117919921875, 0.0178680419921875, 0.205322265625, 0.1259765625, 0.1640625, 0.1934814453125, 0.04547119140625, 0.01092529296875, 0.046630859375, 0.080810546875, 0....
embed
31977215_c1
31977215
elixir
1
.Supervisor]}] {:reply, children, state} end def handle_info({:task, data}, state) do Task.Supervisor.async(:tasks_sup, MyApp.TaskRunner, :perform, [data]) end def handle_info(_, state) do {:noreply, state} end end defmodule MyApp.TaskRunner do def perform(data) do # some 10 secs job end end Is there any thoughts or as...
.Supervisor]}] {:reply, children, state} end def handle_info({:task, data}, state) do Task.Supervisor.async(:tasks_sup, MyApp.TaskRunner, :perform, [data]) end def handle_info(_, state) do {:noreply, state} end end defmodule MyApp.TaskRunner do def perform(data) do # some 10 secs job end end Is there any thoughts or as...
[ -0.0228271484375, 0.02685546875, 0.00113677978515625, -0.006591796875, -0.01361083984375, -0.0164794921875, 0.020263671875, -0.01544189453125, 0.006378173828125, -0.03662109375, 0.008056640625, 0.033447265625, -0.00897216796875, 0.02099609375, 0.00555419921875, 0.013671875, 0.0181884...
[ 73903, 51858, 62479, 20020, 11341, 3564, 8, 420, 34831, 7319, 1073, 92, 2053, 9598, 5, 12654, 238, 7, 2037, 2646, 39179, 9874, 1042, 163321, 1679, 5037, 10135, 157, 83279, 51339, 209, 19216, 12447, 38514, 237259, 40485, 24189, 1264, 67229, ...
[ 0.2152099609375, 0.257568359375, 0.0699462890625, 0.21484375, 0.1121826171875, 0.115478515625, 0.09124755859375, 0.04638671875, 0.1749267578125, 0.1470947265625, 0.17041015625, 0.136474609375, 0.0914306640625, 0.1883544921875, 0.009857177734375, 0.204833984375, 0.041534423828125, 0...
embed
51037914_c1
51037914
elixir
1
manually it works iex(1)> GenStage.start_link(A, 0, name: A) {:ok, #PID<0.195.0>} iex(2)> GenStage.start_link(B, 2, name: B) {:ok, #PID<0.197.0>} iex(3)> GenStage.start_link(C, :ok) {:ok, #PID<0.199.0>} [0, 2, 4, 6, 8] [10, 12, 14, 16, 18] [20, 22, 24, 26, 28] [30, 32, 34, 36, 38] ‘(*,.0’ Then it suggest it can be add...
manually it works iex(1)> GenStage.start_link(A, 0, name: A) {:ok, #PID<0.195.0>} iex(2)> GenStage.start_link(B, 2, name: B) {:ok, #PID<0.197.0>} iex(3)> GenStage.start_link(C, :ok) {:ok, #PID<0.199.0>} [0, 2, 4, 6, 8] [10, 12, 14, 16, 18] [20, 22, 24, 26, 28] [30, 32, 34, 36, 38] ‘(*,.0’ Then it suggest it can be add...
[ -0.007415771484375, 0.0216064453125, -0.007049560546875, 0.0032501220703125, -0.006103515625, 0.0223388671875, 0.011962890625, -0.00555419921875, 0.00848388671875, -0.007598876953125, -0.01708984375, -0.00262451171875, 0.0135498046875, 0.05517578125, 0.0152587890625, -0.010986328125, ...
[ 23009, 538, 442, 43240, 17, 3355, 27750, 15937, 294, 16852, 17137, 10187, 284, 757, 9351, 62, 685, 683, 7146, 102014, 1126, 187461, 571, 116, 335, 129884, 69829, 441, 5046, 963, 427, 616, 543, 1549, 744, 29620, 1372, 1197, 2789, 4442, 4...
[ 0.2459716796875, 0.11181640625, 0.125, 0.165771484375, 0.1365966796875, 0.240234375, 0.0256805419921875, 0.170654296875, 0.1390380859375, 0.2022705078125, 0.1451416015625, 0.1802978515625, 0.058990478515625, 0.0899658203125, 0.041961669921875, 0.00933837890625, 0.07470703125, 0.018...
embed
45592956_c0
45592956
elixir
0
Title: How can I run &quot;fire and forget&quot; tasks from a controller without test warnings? Problem title: How can I run &quot;fire and forget&quot; tasks from a controller without test warnings? Tags: elixir, phoenix-framework Problem: How can I run "fire and forget" tasks from a controller without test warnings? ...
How can I run &quot;fire and forget&quot; tasks from a controller without test warnings? How can I run &quot;fire and forget&quot; tasks from a controller without test warnings? elixir phoenix-framework DBConnection.ConnectionError a How Reviews.create Task.async new_review Task.await Postgrex.Protocol PID Task.forget_...
[ 0.00543212890625, 0.01080322265625, -0.0113525390625, -0.0118408203125, 0.0164794921875, -0.004241943359375, -0.00970458984375, -0.032470703125, 0.00154876708984375, -0.0247802734375, -0.0067138671875, 0.0262451171875, 0.0029449462890625, 0.0128173828125, 0.00124359130859375, 0.0202636...
[ 11249, 831, 11675, 73702, 136, 90820, 66211, 1295, 185373, 15490, 3034, 1631, 6977, 15296, 38308, 53073, 33, 4084, 160328, 57976, 235603, 35881, 7612, 9598, 12654, 132340, 7978, 217, 7134, 425, 188, 7146, 92, 2472, 3794, 115095, 10, 133720, ...
[ 0.034454345703125, 0.04693603515625, 0.14013671875, 0.20947265625, 0.1845703125, 0.236572265625, 0.2435302734375, 0.1337890625, 0.262939453125, 0.113525390625, 0.1575927734375, 0.1263427734375, 0.05535888671875, 0.0198211669921875, 0.1434326171875, 0.03607177734375, 0.03546142578125,...
embed
38091540_c0
38091540
elixir
0
Title: Testing token authentication Problem title: Testing token authentication Tags: phoenix-framework, elixir Problem: Testing token authentication I am struggling at testing api endpoint which requires token header. The idea is to test two cases, with and without authentication token. I've come up with the following...
Testing token authentication Testing token authentication phoenix-framework elixir Testing MyApi.SecretControllerTest MyApi.ConnCase MyApi Repo User Session create_user create_session put_req_header Bearer session.token User.changeset gmail.com Repo.insert Session.create_changeset user_id user.id build_conn json_respon...
[ -0.008056640625, 0.0159912109375, -0.004180908203125, -0.0263671875, 0.007598876953125, -0.0177001953125, -0.0069580078125, -0.00701904296875, -0.01348876953125, -0.0260009765625, 0.01611328125, 0.05078125, -0.0260009765625, 0.0205078125, -0.004730224609375, 0.0024871826171875, -0.00...
[ 8647, 214, 47, 1098, 195734, 2320, 53073, 33, 4084, 160328, 18244, 15296, 38308, 2646, 284, 1434, 237051, 175904, 603, 111337, 11935, 441, 6991, 853, 771, 53400, 148735, 28282, 65918, 169234, 3884, 107, 864, 31251, 56, 113132, 56002, 6448, ...
[ 0.2069091796875, 0.075439453125, 0.142822265625, 0.1995849609375, 0.186767578125, 0.0246734619140625, 0.04864501953125, 0.06805419921875, 0.1131591796875, 0.08837890625, 0.03338623046875, 0.076416015625, 0.1968994140625, 0.078125, 0.03582763671875, 0.1507568359375, 0.141845703125, ...
embed
27444943_c0
27444943
elixir
0
Title: Elixir in Emacs: UndefinedFunctionError: module is not available Problem title: Elixir in Emacs: UndefinedFunctionError: module is not available Tags: emacs, elixir Problem: Elixir in Emacs: UndefinedFunctionError: module is not available I have created a mix project and for learning purposes, am putting all my ...
Elixir in Emacs: UndefinedFunctionError: module is not available Elixir in Emacs: UndefinedFunctionError: module is not available emacs elixir UndefinedFunctionError Elixir Emacs Project.Client1 IO.puts Project.MyLibrary.myFunc Users Client2.ex Client2.ex:1 Project.Client2 Compilation Project.MyLibrary Client2.ex:10 pa...
[ 0.004119873046875, -0.0086669921875, -0.0107421875, 0.02294921875, 0.003509521484375, 0.003021240234375, -0.0101318359375, 0.0054931640625, -0.0108642578125, -0.0159912109375, -0.012451171875, -0.002349853515625, 0.020263671875, 0.020263671875, 0.005645751953125, -0.0225830078125, -0...
[ 25318, 38308, 23, 85269, 4439, 79912, 5983, 297, 97249, 18468, 31611, 88996, 83, 959, 19882, 352, 2263, 15296, 27331, 150, 418, 17780, 31852, 104820, 3701, 1176, 53400, 91732, 5442, 3355, 304, 15612, 15110, 95103, 58875, 34759, 8821, 119125, ...
[ 0.154052734375, 0.2626953125, 0.05999755859375, 0.166748046875, 0.1685791015625, 0.118408203125, 0.2032470703125, 0.034820556640625, 0.1317138671875, 0.123046875, 0.080078125, 0.2349853515625, 0.03887939453125, 0.1123046875, 0.188720703125, 0.0748291015625, 0.1226806640625, 0.08227...
embed
45235312_c0
45235312
elixir
0
Title: how can i access data inside map in elixir Problem title: how can i access data inside map in elixir Tags: elixir, phoenix-channels, phoenix-framework Problem: how can i access data inside map in elixir i have simple chat app written using phoenix framework. i want to access some data inside the socket this is t...
how can i access data inside map in elixir how can i access data inside map in elixir elixir phoenix-channels phoenix-framework _user IO.inspect after_join JOIN room:Testuser PhoenixChat.RoomChannel Transport Phoenix.Transports.WebSocket Parameters Phoenix.Socket Testuser channel_pid PID PhoenixChat.Endpoint PhoenixCha...
[ -0.004180908203125, 0.0181884765625, 0.0022430419921875, -0.0167236328125, 0.0126953125, 0.01513671875, -0.0034637451171875, 0.0147705078125, -0.0014801025390625, -0.04150390625, 0.0045166015625, -0.011962890625, 0.0223388671875, -0.007720947265625, -0.002777099609375, 0.0216064453125,...
[ 3642, 831, 17, 17203, 2053, 46132, 22288, 23, 15296, 38308, 53073, 33, 4084, 17032, 8876, 160328, 18244, 65918, 17780, 16711, 513, 21253, 17155, 111337, 133720, 171126, 12724, 127008, 20913, 62624, 6982, 8912, 27853, 8647, 86723, 45226, 7146, ...
[ 0.062255859375, 0.0902099609375, 0.0902099609375, 0.2083740234375, 0.1767578125, 0.216552734375, 0.214599609375, 0.0850830078125, 0.08905029296875, 0.2119140625, 0.023193359375, 0.06768798828125, 0.1112060546875, 0.0732421875, 0.0811767578125, 0.0631103515625, 0.00872802734375, 0.1...
embed
39861376_c1
39861376
elixir
1
Belong_Model, %{name: "I belong", belongs_to: has}) And this is where it fails: ** (Ecto.CastError) expected params to be a map, got: `%Example.Has_Model{__meta__: #Ecto.Schema.Metadata<:loaded, "has_models">, id: 1, inserted_at: #Ecto.DateTime<2016-10-04 19:39:38>, name: "I have", updated_at: #Ecto.DateTime<2016-10-04...
Belong_Model, %{name: "I belong", belongs_to: has}) And this is where it fails: ** (Ecto.CastError) expected params to be a map, got: `%Example.Has_Model{__meta__: #Ecto.Schema.Metadata<:loaded, "has_models">, id: 1, inserted_at: #Ecto.DateTime<2016-10-04 19:39:38>, name: "I have", updated_at: #Ecto.DateTime<2016-10-04...
[ -0.0240478515625, 0.000392913818359375, 0.007232666015625, 0.0038604736328125, -0.01153564453125, -0.01300048828125, -0.0267333984375, -0.0203857421875, 0.00848388671875, -0.0233154296875, -0.005035400390625, -0.005279541015625, 0.016357421875, 0.0233154296875, -0.00060272216796875, -0...
[ 873, 10617, 140290, 1745, 11627, 568, 186, 188, 12, 1556, 903, 442, 35782, 7, 16459, 647, 44150, 5, 174830, 18468, 31611, 84751, 121, 4432, 10, 22288, 4163, 19279, 11, 33209, 6495, 35273, 25452, 6696, 8656, 63033, 10557, 51734, 3447, 106,...
[ 0.161376953125, 0.31005859375, 0.302734375, 0.0175018310546875, 0.1036376953125, 0.147705078125, 0.1715087890625, 0.21826171875, 0.000579833984375, 0.246826171875, 0.0162811279296875, 0.0723876953125, 0.2069091796875, 0.120361328125, 0.052337646484375, 0.058807373046875, 0.2414550781...
embed
46992652_c0
46992652
elixir
0
Title: Find bridge days in a list of days Problem title: Find bridge days in a list of days Tags: phoenix-framework, elixir Problem: Find bridge days in a list of days I want to find "bridge days" from a list of days. The list: days = [ %{value: ~D[2017-04-01], categories: ["weekend"]}, %{value: ~D[2017-04-02], categor...
Find bridge days in a list of days Find bridge days in a list of days phoenix-framework elixir Find bridge_days number_of_invested_vacation_days Find bridge days in a list of days I want to find "bridge days" from a list of days. The list: The month as rendered on the webpage: Somebody who wants to maximize his/her vac...
[ -0.02001953125, -0.0150146484375, 0.00994873046875, 0.0230712890625, -0.0047607421875, 0.01544189453125, -0.0194091796875, 0.0218505859375, 0.0036773681640625, -0.017822265625, -0.0015869140625, 0.00020503997802734375, -0.0052490234375, 0.0184326171875, -0.014404296875, -0.000453948974...
[ 26040, 80728, 13312, 23, 5303, 111, 53073, 33, 4084, 160328, 18244, 15296, 38308, 5636, 7, 14012, 4390, 42232, 297, 330, 120639, 3444, 7413, 1295, 31150, 79516, 1467, 22469, 37873, 86171, 39771, 20650, 166021, 2806, 5646, 209, 534, 427, 167...
[ 0.1240234375, 0.26513671875, 0.1995849609375, 0.0703125, 0.168701171875, 0.054595947265625, 0.030731201171875, 0.044219970703125, 0.0906982421875, 0.10205078125, 0.0826416015625, 0.0270233154296875, 0.150634765625, 0.180419921875, 0.01715087890625, 0.1102294921875, 0.012115478515625,...
embed
50639959_c0
50639959
elixir
0
Title: Why can&#x27;t you define a materialized view using bound parameters in PostgreSQL? Problem title: Why can&#x27;t you define a materialized view using bound parameters in PostgreSQL? Tags: elixir, postgresql, ecto Problem: Why can't you define a materialized view using bound parameters in PostgreSQL? I've tracke...
Why can&#x27;t you define a materialized view using bound parameters in PostgreSQL? Why can&#x27;t you define a materialized view using bound parameters in PostgreSQL? elixir postgresql ecto bound Why PostgreSQL query_contains_extern_params ERROR ERRCODE_FEATURE_NOT_SUPPORTED Repo.query CREATE MATERIALIZED VIEW SELECT ...
[ -0.0159912109375, 0.0159912109375, -0.0035400390625, 0.0023040771484375, 0.01611328125, 0.0014495849609375, -0.0225830078125, -0.021484375, 0.003509521484375, -0.03173828125, 0.01531982421875, -0.0301513671875, 0.007720947265625, -0.0057373046875, -0.01556396484375, 0.00482177734375, ...
[ 44084, 831, 3768, 18, 61924, 4912, 29367, 21455, 17368, 99091, 171859, 2795, 7134, 158897, 15296, 38308, 1305, 17562, 99247, 60751, 41, 1294, 98102, 3355, 22766, 2500, 8256, 151206, 9688, 30018, 8575, 18409, 91599, 771, 944, 175151, 9267, 105...
[ 0.093505859375, 0.087646484375, 0.0282440185546875, 0.06964111328125, 0.203369140625, 0.25390625, 0.151123046875, 0.262939453125, 0.052093505859375, 0.2310791015625, 0.2283935546875, 0.08929443359375, 0.1768798828125, 0.2076416015625, 0.03936767578125, 0.2186279296875, 0.064331054687...
embed
56208860_c0
56208860
elixir
0
Title: Httpoison request to elasticsearch server gives me econnrefused error, while curling the same thing doesn&#x27;t Problem title: Httpoison request to elasticsearch server gives me econnrefused error, while curling the same thing doesn&#x27;t Tags: elixir, curl, http, elasticsearch Problem: Httpoison request to el...
Httpoison request to elasticsearch server gives me econnrefused error, while curling the same thing doesn&#x27;t Httpoison request to elasticsearch server gives me econnrefused error, while curling the same thing doesn&#x27;t elixir curl http elasticsearch HTTPoison.Error Httpoison HTTPoison.get localhost:9200 XGET es0...
[ -0.006134033203125, 0.0033416748046875, 0.00738525390625, 0.004180908203125, 0.01214599609375, -0.015869140625, -0.0115966796875, -0.028564453125, -0.003570556640625, -0.0162353515625, 0.003448486328125, 0.01031494140625, -0.0024871826171875, 0.0146484375, 0.003936767578125, -0.0142211...
[ 572, 3062, 120178, 191, 50336, 47, 128766, 86250, 10723, 28, 2271, 29087, 33740, 18499, 12960, 9709, 2069, 5701, 13580, 22027, 3768, 19, 15296, 38308, 141, 1621, 135913, 31, 40514, 18468, 3794, 4000, 40294, 1126, 5955, 1193, 79794, 198, 674...
[ 0.0396728515625, 0.0784912109375, 0.220458984375, 0.1390380859375, 0.1483154296875, 0.0228424072265625, 0.22314453125, 0.2431640625, 0.136474609375, 0.047454833984375, 0.08837890625, 0.1729736328125, 0.14013671875, 0.147705078125, 0.07415771484375, 0.1651611328125, 0.1690673828125, ...
embed
53179912_c1
53179912
elixir
1
" BUILD_HOST="206.189.109.156" BUILD_USER="deploy" BUILD_AT="~/myapps/builds" RELEASE_DIR="~/myapps/builds/" # prevent re-installing node modules; this defaults to "." GIT_CLEAN_PATHS="_build rel priv/static" # STAGING_HOSTS="206.189.109.156" # STAGING_USER="deploy" # TEST_AT="/home/deploy/staging" PRODUCTION_HOSTS="fr...
" BUILD_HOST="206.189.109.156" BUILD_USER="deploy" BUILD_AT="~/myapps/builds" RELEASE_DIR="~/myapps/builds/" # prevent re-installing node modules; this defaults to "." GIT_CLEAN_PATHS="_build rel priv/static" # STAGING_HOSTS="206.189.109.156" # STAGING_USER="deploy" # TEST_AT="/home/deploy/staging" PRODUCTION_HOSTS="fr...
[ -0.02197265625, 0.0189208984375, -0.004150390625, 0.002532958984375, -0.002471923828125, 0.01324462890625, -0.01513671875, -0.0240478515625, 0.006500244140625, 0.00341796875, 0.01495361328125, 0.005462646484375, 0.01312255859375, -0.00136566162109375, 0.00128936767578125, 0.00726318359...
[ 22013, 16444, 397, 841, 34274, 22422, 139652, 142180, 106000, 155740, 58, 1062, 50184, 112, 13158, 53, 454, 14609, 64, 1176, 9007, 7, 177149, 27587, 123237, 468, 56282, 456, 80383, 110, 88996, 114977, 47, 527, 6371, 164887, 9330, 65135, 381...
[ 0.1182861328125, 0.1649169921875, 0.0885009765625, 0.133056640625, 0.13818359375, 0.01153564453125, 0.09197998046875, 0.11669921875, 0.111328125, 0.138427734375, 0.011474609375, 0.0948486328125, 0.1165771484375, 0.1771240234375, 0.157958984375, 0.0325927734375, 0.0113525390625, 0.1...
embed
33811899_c1
33811899
elixir
1
, 'alt1.aspmx.l.google.com'}, {5, 'alt2.aspmx.l.google.com'}] I also tried directly from erlang shell and I have exactly the same behaviour: 1> inet_res:lookup("disneur.me", in, mx, [{timeout, 10}, {retry, 5}]). [] 2> inet_res:lookup("disneur.me", in, mx, [{timeout, 10}, {retry, 5}]). [] 3> inet_res:lookup("disneur.me"...
, 'alt1.aspmx.l.google.com'}, {5, 'alt2.aspmx.l.google.com'}] I also tried directly from erlang shell and I have exactly the same behaviour: 1> inet_res:lookup("disneur.me", in, mx, [{timeout, 10}, {retry, 5}]). [] 2> inet_res:lookup("disneur.me", in, mx, [{timeout, 10}, {retry, 5}]). [] 3> inet_res:lookup("disneur.me"...
[ -0.0164794921875, 0.0181884765625, 0.025146484375, -0.0240478515625, 0.017578125, -0.01422119140625, 0.007049560546875, 0.0267333984375, -0.00151824951171875, -0.014892578125, 0.036865234375, 0.000347137451171875, -0.004608154296875, -0.007476806640625, 0.00665283203125, 0.009643554687...
[ 7010, 418, 162, 26822, 425, 141, 59875, 277, 758, 5442, 37842, 105237, 1295, 72, 3066, 128019, 66161, 5701, 224833, 126, 2109, 64747, 3827, 86, 474, 282, 6032, 6056, 209, 107, 15123, 190, 201, 963, 363, 617, 15400, 6044, 19714, 1771, 22...
[ 0.1090087890625, 0.047515869140625, 0.0293121337890625, 0.0750732421875, 0.1280517578125, 0.05078125, 0.1478271484375, 0.1138916015625, 0.0826416015625, 0.0810546875, 0.08447265625, 0.058807373046875, 0.0259246826171875, 0.06927490234375, 0.2548828125, 0.2059326171875, 0.053253173828...
embed
73065870_c1
73065870
elixir
1
_transform/2 (LOCAL_PATH/calendo/deps/parse_trans/src/parse_trans_codegen.erl, line 147) in call from compile:foldl_transform/3 (compile.erl, line 1147) in call from compile:fold_comp/4 (compile.erl, line 418) in call from compile:internal_comp/5 (compile.erl, line 402) in call from compile:'-internal_fun/2-anonymous-0...
_transform/2 (LOCAL_PATH/calendo/deps/parse_trans/src/parse_trans_codegen.erl, line 147) in call from compile:foldl_transform/3 (compile.erl, line 1147) in call from compile:fold_comp/4 (compile.erl, line 418) in call from compile:internal_comp/5 (compile.erl, line 402) in call from compile:'-internal_fun/2-anonymous-0...
[ 0.0012664794921875, 0.001617431640625, 0.01031494140625, 0.009521484375, 0.00732421875, -0.00714111328125, -0.016357421875, -0.02001953125, -0.0111083984375, -0.035888671875, 0.0007781982421875, 0.0030670166015625, 0.014892578125, 0.0289306640625, 0.01904296875, -0.00433349609375, -0...
[ 215175, 12477, 124448, 7842, 65135, 841, 57965, 557, 112, 6423, 2500, 184, 30145, 19437, 40899, 1409, 56, 141, 13315, 68113, 11782, 9969, 1340, 42822, 18113, 74329, 58875, 17357, 56641, 12147, 10433, 16498, 66, 45757, 23320, 83679, 17664, 8, ...
[ 0.27734375, 0.2215576171875, 0.049896240234375, 0.000518798828125, 0.1173095703125, 0.07867431640625, 0.068115234375, 0.129150390625, 0.14794921875, 0.134765625, 0.10009765625, 0.06787109375, 0.20166015625, 0.03985595703125, 0.07391357421875, 0.1536865234375, 0.033843994140625, 0.1...
embed
75824221_c0
75824221
elixir
0
Title: Ecto Multi.run returns clause matching anonymous fn/2 error Problem title: Ecto Multi.run returns clause matching anonymous fn/2 error Tags: elixir, phoenix-framework, ecto Problem: Ecto Multi.run returns clause matching anonymous fn/2 error Code signals: FunctionClauseError, Ecto, Multi.run, Phoenix, Multi.new,...
Ecto Multi.run returns clause matching anonymous fn/2 error Ecto Multi.run returns clause matching anonymous fn/2 error elixir phoenix-framework ecto FunctionClauseError Ecto Multi.run Phoenix Multi.new line_items Orders.update_line_items_state approve_order _changes Repo.update Order.changeset Orders.calculate_order_t...
[ -0.00927734375, -0.01495361328125, 0.01177978515625, 0.00787353515625, 0.003753662109375, 0.0130615234375, -0.024658203125, -0.00830078125, 0.0252685546875, -0.02001953125, 0.00872802734375, 0.0216064453125, -0.00677490234375, -0.00994873046875, 0.01251220703125, -0.0054931640625, -0...
[ 241, 44150, 19335, 5, 16428, 30646, 70731, 13, 14858, 52184, 10821, 14783, 12477, 18499, 214, 15296, 38308, 53073, 33, 4084, 160328, 18244, 60751, 28670, 10763, 26253, 18468, 31611, 133720, 54936, 13315, 1486, 81206, 117008, 61340, 35707, 15202...
[ 0.1171875, 0.298583984375, 0.2880859375, 0.0265350341796875, 0.19140625, 0.179931640625, 0.2049560546875, 0.0662841796875, 0.1983642578125, 0.1881103515625, 0.0268707275390625, 0.1279296875, 0.2137451171875, 0.2122802734375, 0.010986328125, 0.0677490234375, 0.1943359375, 0.05789184...
embed
34471538_c1
34471538
elixir
1
:1: ChhutiServer.GoogleAuthController (module) (elixir) lib/kernel/parallel_compiler.ex:100: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/8 I understand the error is due to elixir looking for ChhutiServe.Plugs.GoogleAuth.ChhuttiServer.Plugs.GoogleAuth instead of ChhuttiServe.Plugs.GoogleAuth . And I am als...
:1: ChhutiServer.GoogleAuthController (module) (elixir) lib/kernel/parallel_compiler.ex:100: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/8 I understand the error is due to elixir looking for ChhutiServe.Plugs.GoogleAuth.ChhuttiServer.Plugs.GoogleAuth instead of ChhuttiServe.Plugs.GoogleAuth . And I am als...
[ -0.0022735595703125, 0.0057373046875, -0.005767822265625, -0.0150146484375, 0.00482177734375, 0.02880859375, 0.0021820068359375, -0.0341796875, -0.00982666015625, -0.047119140625, -0.0096435546875, -0.0225830078125, 0.0218505859375, 0.0072021484375, 0.01263427734375, -0.001350402832031...
[ 82825, 3751, 1132, 118, 193348, 16630, 67362, 927, 175904, 603, 83279, 6169, 38308, 25474, 72083, 6276, 1229, 141, 58875, 34759, 3355, 3559, 52184, 10821, 14783, 17357, 23, 119125, 583, 55292, 108161, 19341, 7710, 5974, 1314, 23538, 28219, 18...
[ 0.06561279296875, 0.059051513671875, 0.1260986328125, 0.1563720703125, 0.1973876953125, 0.1124267578125, 0.2000732421875, 0.0941162109375, 0.2249755859375, 0.11474609375, 0.13427734375, 0.091796875, 0.263427734375, 0.1083984375, 0.16796875, 0.09619140625, 0.162353515625, 0.07714843...
embed
29459584_c1
29459584
elixir
1
parallel. Each request takes 300ms to complete and because we have 2 batches of 10 requests executed in parallel, it takes 600ms overall. Now I'm trying to do the same with Elixir, since I heard it does asynchronous I/O transparently. Here is my naive approach: defmodule Toto do import Plug.Conn def init(options) do {...
parallel. Each request takes 300ms to complete and because we have 2 batches of 10 requests executed in parallel, it takes 600ms overall. Now I'm trying to do the same with Elixir, since I heard it does asynchronous I/O transparently. Here is my naive approach: defmodule Toto do import Plug.Conn def init(options) do {...
[ -0.0164794921875, 0.0096435546875, -0.00982666015625, -0.00732421875, -0.006988525390625, 0.0023040771484375, 0.0111083984375, -0.039306640625, -0.0027618408203125, -0.0673828125, -0.000701904296875, 0.0174560546875, 0.01092529296875, 0.01361083984375, -0.01507568359375, -0.00601196289...
[ 95103, 98423, 50336, 51776, 2668, 4432, 28484, 116, 1777, 209, 71924, 23, 6331, 128512, 31577, 54, 5701, 678, 25318, 38308, 49782, 14602, 12654, 101966, 10821, 87, 64, 670, 70267, 24, 5844, 51515, 8, 420, 83279, 37816, 24927, 194351, 11935,...
[ 0.295654296875, 0.0706787109375, 0.227294921875, 0.11572265625, 0.178955078125, 0.183837890625, 0.154052734375, 0.048797607421875, 0.157470703125, 0.1268310546875, 0.137451171875, 0.05047607421875, 0.1624755859375, 0.094970703125, 0.08941650390625, 0.00531005859375, 0.04583740234375,...
embed
66973782_c0
66973782
elixir
0
Title: How to specify module implementation at compile time in Elixir? Problem title: How to specify module implementation at compile time in Elixir? Tags: elixir Problem: How to specify module implementation at compile time in Elixir? I have an application that should support multiple types of storages. At the moment,...
How to specify module implementation at compile time in Elixir? How to specify module implementation at compile time in Elixir? elixir How Elixir App.Filestorage String.t App.S3 App.Swift App.Foo do_stuff App.Filestorage.store result_file Swift How to specify module implementation at compile time in Elixir? I have an a...
[ 0.016357421875, 0.0098876953125, -0.0079345703125, 0.0089111328125, 0.005584716796875, 0.0030364990234375, 0.0106201171875, 0.00592041015625, -0.00592041015625, -0.006591796875, -0.0220947265625, -0.019775390625, 0.006256103515625, -0.00008106231689453125, 0.0050048828125, 0.0112915039...
[ 11249, 40140, 18929, 88996, 208124, 99, 9969, 1340, 1733, 25318, 38308, 15296, 5659, 174350, 140464, 429, 23351, 363, 2452, 2480, 27591, 21493, 45804, 16750, 29822, 130643, 23, 38415, 8060, 48716, 52895, 132096, 159, 63769, 55076, 4420, 3611, ...
[ 0.069091796875, 0.208740234375, 0.1004638671875, 0.27392578125, 0.2371826171875, 0.0152130126953125, 0.136474609375, 0.176025390625, 0.1510009765625, 0.131591796875, 0.2705078125, 0.07489013671875, 0.13525390625, 0.1090087890625, 0.12646484375, 0.0291748046875, 0.068115234375, 0.19...
embed
43554193_c0
43554193
elixir
0
Title: Cannot start phoenix server Problem title: Cannot start phoenix server Tags: phoenix-framework, elixir Problem: Cannot start phoenix server 21:03:23.486 [error] Task #PID<0.185.0> started from #PID<0.70.0> terminating ** (File.Error) could not write to file "/Users/joseph/sites/super/_build/dev/consolidated/Elix...
Cannot start phoenix server Cannot start phoenix server phoenix-framework elixir File.Error #PID Cannot phoenix.server phoenix_pubsub phoenix_ecto phoenix_html phoenix_live_reload EXIT PID Users _build Elixir.Ecto.Queryable.beam file.ex:719 File.write compile.protocols.ex:127 Mix.Tasks.Compile.Protocols.consolidate sup...
[ 0.018310546875, 0.0152587890625, 0.004150390625, 0.0045166015625, -0.00144195556640625, 0.0023193359375, -0.01446533203125, -0.00147247314453125, 0.003692626953125, 0.015625, -0.0203857421875, -0.00567626953125, 0.052001953125, 0.0478515625, 0.01165771484375, 0.00897216796875, -0.013...
[ 4171, 10869, 4034, 53073, 33, 4084, 10723, 160328, 18244, 15296, 38308, 42724, 18468, 31611, 683, 7146, 39642, 111596, 22144, 60751, 7693, 24056, 63033, 29426, 436, 53400, 177149, 25318, 647, 44150, 2886, 372, 302, 11435, 2947, 9969, 133249, ...
[ 0.05145263671875, 0.1529541015625, 0.1900634765625, 0.13037109375, 0.1700439453125, 0.16796875, 0.233642578125, 0.118408203125, 0.0535888671875, 0.07757568359375, 0.220947265625, 0.1221923828125, 0.088623046875, 0.05352783203125, 0.0841064453125, 0.1746826171875, 0.193115234375, 0....
embed
45349903_c1
45349903
elixir
1
: undefined function plug_function_name/1 How can I do that in a better way but to keep my code dry? My intension here is to use plug_function_name within my test module to generate the same function names and to call the generated plug functions in the tests: defmodule ClubHomepage.Web.AuthByRoleTest do use ClubHomepa...
: undefined function plug_function_name/1 How can I do that in a better way but to keep my code dry? My intension here is to use plug_function_name within my test module to generate the same function names and to call the generated plug functions in the tests: defmodule ClubHomepage.Web.AuthByRoleTest do use ClubHomepa...
[ -0.000823974609375, -0.007171630859375, 0.0030364990234375, -0.0130615234375, -0.027099609375, 0.006072998046875, -0.0037689208984375, -0.03466796875, 0.01275634765625, 0.00144195556640625, -0.007537841796875, 0.01165771484375, -0.0225830078125, 0.0164794921875, -0.006744384765625, 0.0...
[ 9232, 5983, 297, 32354, 76329, 137175, 11627, 11583, 831, 54, 450, 11522, 1284, 13695, 18151, 36898, 128872, 4527, 454, 28032, 3034, 88996, 139392, 5701, 123055, 11782, 109921, 8, 420, 83279, 7687, 55376, 22469, 30474, 67362, 927, 75358, 1272...
[ 0.0941162109375, 0.192138671875, 0.049530029296875, 0.1951904296875, 0.192138671875, 0.187744140625, 0.17822265625, 0.100830078125, 0.032135009765625, 0.0609130859375, 0.047210693359375, 0.09423828125, 0.0144195556640625, 0.082275390625, 0.1654052734375, 0.1630859375, 0.1114501953125...
embed
28820953_c0
28820953
elixir
0
Title: .. automatically completes module path after import. MyMo.. works the same as MyModule. by autocomplete, ends with MyMo..:ok Problem title: .. automatically completes module path after import. MyMo.. works the same as MyModule. by autocomplete, ends with MyMo..:ok Tags: import, pattern-matching, elixir Problem: ...
.. automatically completes module path after import. MyMo.. works the same as MyModule. by autocomplete, ends with MyMo..:ok .. automatically completes module path after import. MyMo.. works the same as MyModule. by autocomplete, ends with MyMo..:ok import pattern-matching elixir SyntaxError pattern-matching MyMo MyMod...
[ -0.018310546875, -0.00408935546875, -0.015869140625, 0.0201416015625, -0.00604248046875, 0.002777099609375, 0.024658203125, -0.00106048583984375, -0.01422119140625, -0.0181884765625, -0.00933837890625, -0.0015106201171875, 0.005126953125, 0.007476806640625, 0.0026397705078125, -0.02429...
[ 1468, 191082, 28484, 88996, 60875, 7103, 24927, 2646, 9083, 43240, 5701, 91616, 8782, 1809, 277, 131801, 3564, 678, 685, 103510, 98753, 15296, 38308, 86531, 18468, 48224, 17780, 627, 35662, 144227, 70141, 241, 35378, 17, 3355, 1019, 5, 59725,...
[ 0.060333251953125, 0.2166748046875, 0.227783203125, 0.2174072265625, 0.2113037109375, 0.12841796875, 0.260009765625, 0.1990966796875, 0.25244140625, 0.0867919921875, 0.030731201171875, 0.138427734375, 0.1346435546875, 0.19189453125, 0.142578125, 0.239501953125, 0.07098388671875, 0....
embed
48919714_c0
48919714
elixir
0
Title: With Phoenix, how can I broadcast many subtopics while rejecting out those unwanted? Problem title: With Phoenix, how can I broadcast many subtopics while rejecting out those unwanted? Tags: elixir, phoenix-framework Problem: With Phoenix, how can I broadcast many subtopics while rejecting out those unwanted? I ...
With Phoenix, how can I broadcast many subtopics while rejecting out those unwanted? With Phoenix, how can I broadcast many subtopics while rejecting out those unwanted? elixir phoenix-framework Phoenix events:2018-02-01 handle_out Socket.assign handle_in With Phoenix, how can I broadcast many subtopics while rejecting...
[ 0.005279541015625, 0.0238037109375, 0.0145263671875, 0.00421142578125, -0.0277099609375, -0.016357421875, -0.01312255859375, 0.0113525390625, 0.01239013671875, -0.0196533203125, -0.000637054443359375, -0.00518798828125, 0.0103759765625, 0.034912109375, -0.01373291015625, -0.00848388671...
[ 17106, 133720, 3642, 831, 226347, 5941, 1614, 119499, 7, 12960, 456, 75161, 1810, 51, 3206, 3674, 15296, 38308, 53073, 33, 4084, 160328, 18244, 47353, 1742, 43627, 6746, 34831, 6056, 1061, 27853, 162, 31304, 73, 5426, 19802, 34601, 25632, 2...
[ 0.09967041015625, 0.285400390625, 0.07635498046875, 0.0574951171875, 0.25, 0.1783447265625, 0.2239990234375, 0.29541015625, 0.02899169921875, 0.04827880859375, 0.0797119140625, 0.194091796875, 0.1136474609375, 0.02252197265625, 0.09539794921875, 0.053253173828125, 0.0198822021484375,...
embed
65664160_c0
65664160
elixir
0
Title: How to update from deprecated Supervisor.spec to new Supervisor.behaviour? Problem title: How to update from deprecated Supervisor.spec to new Supervisor.behaviour? Tags: erlang-supervisor, elixir, gen-server Problem: How to update from deprecated Supervisor.spec to new Supervisor.behaviour? Background I am tryi...
How to update from deprecated Supervisor.spec to new Supervisor.behaviour? How to update from deprecated Supervisor.spec to new Supervisor.behaviour? erlang-supervisor elixir gen-server deprecated How Supervisor.spec Supervisor.behaviour A.Server Supervisor start_link Supervisor.start_link __MODULE__ one_for_one start_...
[ -0.01007080078125, 0.0174560546875, 0.004302978515625, 0.0078125, 0.0028839111328125, 0.0067138671875, -0.0015106201171875, -0.00970458984375, 0.00482177734375, -0.029541015625, 0.00946044921875, -0.0002460479736328125, 0.0172119140625, 0.02197265625, 0.0213623046875, -0.00221252441406...
[ 11249, 47, 28350, 1295, 8, 4692, 4460, 4265, 51858, 16711, 3525, 372, 98409, 34639, 72, 3066, 59104, 15296, 38308, 9226, 39642, 62, 193348, 4034, 10187, 17137, 12013, 397, 1632, 3630, 206, 38472, 45367, 1601, 25826, 53201, 4027, 15937, 4107...
[ 0.0863037109375, 0.1181640625, 0.2266845703125, 0.1102294921875, 0.0958251953125, 0.1641845703125, 0.13427734375, 0.17626953125, 0.2440185546875, 0.204833984375, 0.1256103515625, 0.0419921875, 0.14990234375, 0.1304931640625, 0.05322265625, 0.19775390625, 0.1712646484375, 0.04086303...
embed
34524875_c0
34524875
elixir
0
Title: How to manage package interdependencies in mix? Problem title: How to manage package interdependencies in mix? Tags: elixir, elixir-mix Problem: How to manage package interdependencies in mix? I've got a couple useful libraries I've build for elixir. I've put them both up on hex. I already use library A in libra...
How to manage package interdependencies in mix? How to manage package interdependencies in mix? elixir elixir-mix How mix.exs How to manage package interdependencies in mix? I've got a couple useful libraries I've build for elixir. I've put them both up on hex. I already use library A in library B, and I've just incorp...
[ 0.0023193359375, -0.00909423828125, 0.017333984375, 0.03076171875, -0.0155029296875, 0.009033203125, -0.0257568359375, 0.01422119140625, 0.00909423828125, 0.0213623046875, 0.0037994384765625, -0.001251220703125, 0.003509521484375, 0.0341796875, 0.0194091796875, -0.0028839111328125, -...
[ 11249, 47, 111240, 98169, 1940, 105254, 13, 117538, 23, 17664, 15296, 38308, 62015, 3355, 7, 24941, 80234, 35773, 10484, 45367, 15044, 764, 425, 21771, 4527, 62, 335, 49504, 42548, 1294, 18, 37842, 49146, 10, 1295, 8, 6423, 78303, 21135, ...
[ 0.08642578125, 0.026031494140625, 0.1990966796875, 0.2313232421875, 0.1407470703125, 0.21728515625, 0.1173095703125, 0.1275634765625, 0.08251953125, 0.28662109375, 0.07452392578125, 0.195556640625, 0.2646484375, 0.13623046875, 0.047119140625, 0.01220703125, 0.06866455078125, 0.1356...
embed
55844715_c1
55844715
elixir
1
aliases: aliases() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger, :plug_cowboy], mod: {Tow.Application, []} ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Aliases are shortcuts or tasks specific to th...
aliases: aliases() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger, :plug_cowboy], mod: {Tow.Application, []} ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Aliases are shortcuts or tasks specific to th...
[ -0.0019989013671875, 0.010986328125, -0.0028839111328125, 0.0240478515625, 0.007568359375, 0.01202392578125, -0.01324462890625, 0.0074462890625, 0.0068359375, 0.0086669921875, -0.00518798828125, -0.0108642578125, 0.00726318359375, 0.053466796875, 0.0147705078125, 0.015869140625, -0.0...
[ 55109, 90, 12, 132, 3564, 468, 28398, 62015, 4358, 9969, 1340, 9007, 58, 47, 30698, 1672, 86685, 8, 420, 38415, 54, 4173, 101687, 7, 365, 21407, 145301, 454, 434, 30885, 268, 4, 2811, 7763, 47677, 182867, 8152, 10114, 254, 88, 38365, ...
[ 0.308349609375, 0.2352294921875, 0.0606689453125, 0.060028076171875, 0.09912109375, 0.020538330078125, 0.1275634765625, 0.30517578125, 0.1968994140625, 0.1461181640625, 0.1781005859375, 0.1776123046875, 0.0139617919921875, 0.07916259765625, 0.1142578125, 0.035736083984375, 0.20007324...
embed