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
43160646_c0
43160646
elixir
0
Title: Elixir app using CQEx fails to start LZ4 Problem title: Elixir app using CQEx fails to start LZ4 Tags: elixir Problem: Elixir app using CQEx fails to start LZ4 Apologies for the long-windedness! I have a small app that uses CQEx to write to Cassandra (for various reasons, I am constrained to Cassandra 2.1, so I ...
Elixir app using CQEx fails to start LZ4 Elixir app using CQEx fails to start LZ4 elixir CQEx Elixir LZ4 protocol_version prod.exs dev.exs mix.exs Centos erl_crash.dump Slogan Kernel application_controller application_start_failure failed_to_start_child kernel_safe_sup on_load_function_failed Elixir app using CQEx fail...
[ 0.0040283203125, 0.03173828125, -0.023681640625, -0.00015735626220703125, 0.006256103515625, -0.00958251953125, 0.002471923828125, -0.0098876953125, 0.008544921875, -0.01361083984375, -0.0021514892578125, 0.025390625, 0.004058837890625, 0.0203857421875, 0.0128173828125, 0.0031280517578...
[ 25318, 38308, 4027, 17368, 313, 2737, 19279, 35782, 4034, 339, 1511, 617, 15296, 91363, 46354, 3355, 33245, 17664, 81366, 232, 72, 141, 41535, 693, 2676, 83241, 1972, 119125, 583, 38415, 81988, 17137, 120540, 165523, 206, 38472, 77924, 115840...
[ 0.1348876953125, 0.279541015625, 0.197509765625, 0.070556640625, 0.04571533203125, 0.13916015625, 0.204345703125, 0.1688232421875, 0.10546875, 0.05340576171875, 0.1300048828125, 0.19970703125, 0.0880126953125, 0.142822265625, 0.06768798828125, 0.2054443359375, 0.099365234375, 0.220...
embed
54004142_c1
54004142
elixir
1
test" commands. (mix) lib/mix.ex:323: Mix.raise/1 lib/mix/tasks/compile.make.ex:100: Mix.Tasks.Compile.ElixirMake.run/1 (mix) lib/mix/task.ex:316: Mix.Task.run_task/3 (mix) lib/mix/tasks/compile.all.ex:68: Mix.Tasks.Compile.All.run_compiler/2 (mix) lib/mix/tasks/compile.all.ex:52: Mix.Tasks.Compile.All.do_compile/4 (m...
test" commands. (mix) lib/mix.ex:323: Mix.raise/1 lib/mix/tasks/compile.make.ex:100: Mix.Tasks.Compile.ElixirMake.run/1 (mix) lib/mix/task.ex:316: Mix.Task.run_task/3 (mix) lib/mix/tasks/compile.all.ex:68: Mix.Tasks.Compile.All.run_compiler/2 (mix) lib/mix/tasks/compile.all.ex:52: Mix.Tasks.Compile.All.do_compile/4 (m...
[ -0.0028533935546875, 0.00384521484375, 0.005523681640625, 0.01300048828125, 0.0245361328125, 0.0002288818359375, -0.0223388671875, 0.020263671875, -0.00164031982421875, 0.0033111572265625, -0.0123291015625, -0.016357421875, 0.03515625, 0.0257568359375, 0.01043701171875, 0.0032653808593...
[ 3034, 58, 75101, 62015, 25474, 3355, 29902, 363, 37286, 12794, 11583, 1073, 58875, 1340, 55898, 3559, 9874, 1042, 108161, 150, 38308, 76978, 16428, 27321, 910, 18113, 5584, 16028, 43512, 33915, 17357, 24864, 52184, 14783, 34539, 365, 9007, 31...
[ 0.232421875, 0.057342529296875, 0.2171630859375, 0.2264404296875, 0.0970458984375, 0.1298828125, 0.059478759765625, 0.0972900390625, 0.232421875, 0.16162109375, 0.1058349609375, 0.131103515625, 0.0758056640625, 0.10113525390625, 0.122802734375, 0.09246826171875, 0.0848388671875, 0....
embed
70940068_c0
70940068
elixir
0
Title: Same code showing different runtime on PC and online compiler Problem title: Same code showing different runtime on PC and online compiler Tags: elixir, runtime Problem: Same code showing different runtime on PC and online compiler For an assignment in university, we had to compare the execution time of ordered ...
Same code showing different runtime on PC and online compiler Same code showing different runtime on PC and online compiler elixir runtime Same Same code showing different runtime on PC and online compiler For an assignment in university, we had to compare the execution time of ordered lists and ordered trees. Random v...
[ 0.0162353515625, -0.00177001953125, -0.00445556640625, -0.0283203125, -0.0004558563232421875, -0.007110595703125, 0.01190185546875, -0.017333984375, 0.0033416748046875, -0.036376953125, 0.000545501708984375, -0.00799560546875, 0.0048828125, 0.005615234375, 0.00518798828125, -0.00793457...
[ 99908, 18151, 141377, 12921, 11675, 6032, 98, 6107, 1118, 9969, 34759, 15296, 38308, 95486, 152363, 69101, 71924, 1733, 12989, 5303, 136, 1360, 39643, 142424, 139392, 49814, 53201, 144996, 88996, 759, 26367, 32036, 13267, 51312, 116, 617, 2681,...
[ 0.125244140625, 0.2025146484375, 0.06884765625, 0.1768798828125, 0.123291015625, 0.1827392578125, 0.06256103515625, 0.167724609375, 0.1708984375, 0.181884765625, 0.16552734375, 0.07305908203125, 0.20703125, 0.10302734375, 0.081298828125, 0.13525390625, 0.113037109375, 0.15014648437...
embed
77364166_c1
77364166
elixir
1
(Ecto.Query.CompileError) \`"#{wp.first_name} #{p.last_name}"` is not a valid query expression. Only literal binaries and strings are allowed, dynamic values need to be explicitly interpolated in queries with ^ I had partial success by doing the following: def search_persons_by_name(name) do all_names = String.split(n...
(Ecto.Query.CompileError) \`"#{wp.first_name} #{p.last_name}"` is not a valid query expression. Only literal binaries and strings are allowed, dynamic values need to be explicitly interpolated in queries with ^ I had partial success by doing the following: def search_persons_by_name(name) do all_names = String.split(n...
[ -0.01025390625, -0.003997802734375, -0.00811767578125, 0.038330078125, -0.043701171875, 0.017333984375, -0.000820159912109375, 0.0011749267578125, 0.0020599365234375, -0.033203125, -0.0023651123046875, 0.0185546875, 0.01806640625, 0.026123046875, -0.0159912109375, 0.005767822265625, ...
[ 647, 44150, 41732, 1294, 108161, 1340, 18468, 31611, 4904, 73547, 13448, 271, 11627, 254, 19777, 83, 959, 35604, 41, 125195, 87293, 15659, 289, 23035, 10484, 136, 79315, 107003, 84079, 142424, 3871, 143726, 1940, 5877, 13331, 2878, 36272, 8, ...
[ 0.02294921875, 0.243896484375, 0.1640625, 0.1702880859375, 0.145751953125, 0.1588134765625, 0.11865234375, 0.161865234375, 0.010345458984375, 0.1766357421875, 0.0989990234375, 0.076904296875, 0.1947021484375, 0.1009521484375, 0.146484375, 0.0166168212890625, 0.0899658203125, 0.1950...
embed
41665236_c1
41665236
elixir
1
, :body %> <% end %> <button name="button" type="submit">Create</button> <% end %> for the controller I try to use include empty item_comment by default in the new action, and try to put another inputs_for inside the todo_items/inputs_for in the html form, but nothing works at all changeset = TodoList.changeset(%TodoLi...
, :body %> <% end %> <button name="button" type="submit">Create</button> <% end %> for the controller I try to use include empty item_comment by default in the new action, and try to put another inputs_for inside the todo_items/inputs_for in the html form, but nothing works at all changeset = TodoList.changeset(%TodoLi...
[ -0.012451171875, 0.000019669532775878906, -0.0186767578125, -0.028564453125, -0.0020599365234375, 0.0025482177734375, 0.006378173828125, -0.0167236328125, 0.0074462890625, -0.02490234375, 0.0262451171875, -0.00933837890625, 0.0208740234375, 0.040283203125, -0.0130615234375, -0.01342773...
[ 37873, 8789, 1507, 22144, 4007, 63784, 2182, 100, 185373, 9790, 4527, 26698, 201505, 35735, 277, 674, 114977, 3525, 22631, 3884, 15700, 107730, 7, 2472, 46132, 1973, 1486, 73, 7077, 7693, 3173, 33720, 43240, 756, 65572, 126, 26657, 154663, ...
[ 0.08062744140625, 0.10443115234375, 0.054840087890625, 0.1063232421875, 0.0853271484375, 0.1885986328125, 0.151123046875, 0.00506591796875, 0.253662109375, 0.041290283203125, 0.045501708984375, 0.1083984375, 0.177490234375, 0.1798095703125, 0.125244140625, 0.201171875, 0.221313476562...
embed
61818273_c0
61818273
elixir
0
Title: Trying to use route session delete to sign out but that route is trying to redirect to session get Problem title: Trying to use route session delete to sign out but that route is trying to redirect to session get Tags: elixir, phoenix-framework Problem: Trying to use route session delete to sign out but that rou...
Trying to use route session delete to sign out but that route is trying to redirect to session get Trying to use route session delete to sign out but that route is trying to redirect to session get elixir phoenix-framework Trying pow_session_path GET Pow.Phoenix.SessionController POST DELETE Sign Out Routes.pow_session...
[ 0.00750732421875, -0.0015869140625, 0.01031494140625, -0.011474609375, 0.00811767578125, 0.009033203125, -0.00799560546875, 0.005859375, 0.0162353515625, -0.042724609375, -0.0223388671875, -0.0274658203125, -0.005157470703125, 0.01531982421875, -0.002105712890625, -0.0118408203125, -...
[ 40858, 4527, 36439, 56002, 154109, 24092, 1810, 31577, 456, 80581, 47, 2046, 15296, 38308, 53073, 33, 4084, 160328, 18244, 23827, 169234, 128405, 53982, 497, 294, 90, 175904, 603, 81903, 20866, 60136, 48838, 13538, 106015, 771, 434, 131423, 5...
[ 0.06640625, 0.047149658203125, 0.2071533203125, 0.1810302734375, 0.226806640625, 0.123291015625, 0.1636962890625, 0.1036376953125, 0.074951171875, 0.1932373046875, 0.057342529296875, 0.011444091796875, 0.050872802734375, 0.16845703125, 0.050537109375, 0.091064453125, 0.1068115234375,...
embed
38277893_c2
38277893
elixir
2
region: "us-east-1", scheme: "https://", secret_access_key: [{:system, "AWS_SECRET_ACCESS_KEY"}, :insta nce_role]}, service: :s3}}, 5000) ** (EXIT) an exception was raised: ** (Poison.SyntaxError) Unexpected token: < (poison) Code signals: Elixir.Poison.SyntaxError, Poison.SyntaxError, ExAws, Phoenix, Arc, SUPERVISOR,...
region: "us-east-1", scheme: "https://", secret_access_key: [{:system, "AWS_SECRET_ACCESS_KEY"}, :insta nce_role]}, service: :s3}}, 5000) ** (EXIT) an exception was raised: ** (Poison.SyntaxError) Unexpected token: < (poison) Code signals: Elixir.Poison.SyntaxError, Poison.SyntaxError, ExAws, Phoenix, Arc, SUPERVISOR,...
[ -0.00897216796875, 0.034912109375, -0.004791259765625, -0.00537109375, 0.0020599365234375, 0.0035552978515625, -0.00110626220703125, -0.006072998046875, 0.0123291015625, 0.03173828125, -0.0164794921875, 0.00531005859375, 0.01531982421875, 0.00029754638671875, 0.0126953125, 0.0092163085...
[ 10776, 12, 223, 9, 13, 4438, 5759, 830, 150370, 4397, 696, 23410, 113041, 19770, 16751, 284, 52143, 9127, 441, 41116, 15012, 194695, 454, 186104, 58, 8152, 4, 74380, 6, 3956, 516, 133, 268, 4516, 7, 363, 47391, 19692, 16459, 26939, 6371...
[ 0.2384033203125, 0.032928466796875, 0.138671875, 0.01544189453125, 0.06390380859375, 0.12890625, 0.189453125, 0.022308349609375, 0.197021484375, 0.1976318359375, 0.1588134765625, 0.2646484375, 0.2176513671875, 0.2010498046875, 0.1580810546875, 0.056732177734375, 0.2227783203125, 0....
embed
69649378_c0
69649378
elixir
0
Title: No function clause matching in Access.get/3 Problem title: No function clause matching in Access.get/3 Tags: plug, elixir Problem: No function clause matching in Access.get/3 In my free time I am learning elixir, and now I am trying to develop simple Elixir API. Everything works fine, besides when I try to inser...
No function clause matching in Access.get/3 No function clause matching in Access.get/3 plug elixir FunctionClauseError Access.get IO.inspect conn.body_params process_insert BstInsertion.insert missing_insert send_resp _tree _value Poison.encode Received No function clause matching in Access.get/3 In my free time I am ...
[ -0.001220703125, 0.0009918212890625, 0.00872802734375, -0.017333984375, 0.002166748046875, 0.00131988525390625, -0.00933837890625, -0.0341796875, 0, -0.02685546875, 0.0021820068359375, 0.006439208984375, -0.01153564453125, -0.02294921875, 0.0181884765625, -0.01495361328125, -0.024414...
[ 438, 32354, 70731, 13, 14858, 214, 40266, 3794, 18113, 76329, 15296, 38308, 28670, 26253, 18468, 17780, 16711, 37873, 2500, 9433, 73, 33657, 335, 271, 4153, 2189, 132283, 25379, 2109, 254, 62600, 27494, 64249, 191, 33, 40899, 1733, 8781, 25...
[ 0.115234375, 0.1954345703125, 0.231689453125, 0.1290283203125, 0.201171875, 0.09381103515625, 0.21240234375, 0.1651611328125, 0.230224609375, 0.1427001953125, 0.06298828125, 0.1865234375, 0.0833740234375, 0.1494140625, 0.09625244140625, 0.07415771484375, 0.04766845703125, 0.0789794...
embed
41273822_c0
41273822
elixir
0
Title: APNS through socket on GCE stops working after a few hours Problem title: APNS through socket on GCE stops working after a few hours Tags: apple-push-notifications, google-compute-engine, elixir, erlang, ssl Problem: APNS through socket on GCE stops working after a few hours Here's a interesting problem I starte...
APNS through socket on GCE stops working after a few hours APNS through socket on GCE stops working after a few hours apple-push-notifications google-compute-engine elixir erlang ssl APNS GCE connect_socket timeout_seconds ssl.connect APNS.Logger.debug APNS.Logger.error connection_failed ssl_closed handle_info socket_a...
[ -0.0103759765625, 0.009765625, -0.00396728515625, -0.0098876953125, -0.00093841552734375, -0.007415771484375, -0.020263671875, -0.017333984375, -0.0157470703125, 0.0155029296875, 0.024658203125, -0.0042724609375, -0.0003223419189453125, 0.0137939453125, 0.02734375, 0.003265380859375, ...
[ 16885, 22479, 8305, 221, 27853, 527, 10854, 7279, 20697, 7103, 10, 10846, 21974, 108787, 7332, 127, 10869, 41274, 26484, 128897, 15296, 38308, 72, 3066, 91, 24861, 37067, 991, 1733, 6056, 191633, 7, 5, 135457, 113972, 1505, 112, 85779, 1888...
[ 0.1693115234375, 0.250732421875, 0.078857421875, 0.10260009765625, 0.140869140625, 0.087890625, 0.20458984375, 0.1290283203125, 0.1014404296875, 0.038330078125, 0.00177001953125, 0.03515625, 0.143798828125, 0.133056640625, 0.139892578125, 0.101318359375, 0.12158203125, 0.1072998046...
embed
76158984_c0
76158984
elixir
0
Title: How to properly create, observe and destroy lots of pre-defined jobs at runtime? Problem title: How to properly create, observe and destroy lots of pre-defined jobs at runtime? Tags: elixir Problem: How to properly create, observe and destroy lots of pre-defined jobs at runtime? I plan to create a web service wh...
How to properly create, observe and destroy lots of pre-defined jobs at runtime? How to properly create, observe and destroy lots of pre-defined jobs at runtime? elixir How Job1 do_work1 Job2 do_work2 Job10 DynamicSupervisor Task.async Task.start GenServer How to properly create, observe and destroy lots of pre-defined...
[ 0.000492095947265625, 0.0245361328125, -0.017822265625, -0.00482177734375, 0.00360107421875, -0.00592041015625, 0.00634765625, -0.01202392578125, 0.01275634765625, -0.0301513671875, -0.0302734375, -0.00634765625, 0.00830078125, 0.0224609375, 0.01300048828125, 0.019775390625, 0.021362...
[ 11249, 155965, 28282, 139999, 163684, 71358, 111, 479, 9, 112, 5983, 74464, 99, 11675, 6032, 136, 297, 15296, 38308, 32664, 418, 54, 18244, 304, 963, 73327, 21068, 73903, 51858, 9598, 12654, 92, 17137, 15937, 193348, 47, 1774, 1467, 4516, ...
[ 0.07568359375, 0.1455078125, 0.189453125, 0.21484375, 0.2274169921875, 0.18896484375, 0.037200927734375, 0.207275390625, 0.047637939453125, 0.135498046875, 0.236083984375, 0.245361328125, 0.109130859375, 0.161865234375, 0.206298828125, 0.04718017578125, 0.1016845703125, 0.052520751...
embed
36170123_c1
36170123
elixir
1
redirect(to: user_path(conn, :index)) {:error, changeset} -> render(conn, "new.html", changeset: changeset) end end EEX example here: <h1>New User</h1> <%= form_for @changeset, user_path(@conn, :create), fn f -> %> <div class="form-group"> <%= text_input f, :name, placeholder: "Name", class: "form-control" %> </div> <...
redirect(to: user_path(conn, :index)) {:error, changeset} -> render(conn, "new.html", changeset: changeset) end end EEX example here: <h1>New User</h1> <%= form_for @changeset, user_path(@conn, :create), fn f -> %> <div class="form-group"> <%= text_input f, :name, placeholder: "Name", class: "form-control" %> </div> <...
[ 0.0001621246337890625, -0.01611328125, 0.00037384033203125, -0.015625, 0.0019989013671875, 0.01043701171875, -0.0004425048828125, -0.01806640625, -0.00689697265625, -0.03271484375, 0.0003681182861328125, -0.0252685546875, 0.034423828125, 0.0162353515625, -0.006988525390625, -0.01300048...
[ 456, 80581, 188, 38937, 128405, 2271, 19, 4711, 188800, 65572, 126, 89159, 54936, 7693, 3564, 241, 26939, 27781, 3688, 46568, 53400, 3173, 2472, 1374, 152028, 3509, 981, 7612, 14783, 30618, 5037, 51588, 7986, 1238, 3687, 163612, 81988, 6, 6...
[ 0.1104736328125, 0.2496337890625, 0.1414794921875, 0.20068359375, 0.22509765625, 0.1064453125, 0.1104736328125, 0.1624755859375, 0.189697265625, 0.1219482421875, 0.1461181640625, 0.1820068359375, 0.0867919921875, 0.15625, 0.0533447265625, 0.08416748046875, 0.1888427734375, 0.120605...
embed
27459948_c0
27459948
elixir
0
Title: Mongodb authentication using elixir-mongo Problem title: Mongodb authentication using elixir-mongo Tags: elixir, mongodb Problem: Mongodb authentication using elixir-mongo I have just started using Elixir, so I figure I have some basic misunderstanding going on here. Here is the code... defmodule Mdb do def conn...
Mongodb authentication using elixir-mongo Mongodb authentication using elixir-mongo elixir mongodb UndefinedFunctionError elixir-mongo Mongodb Mdb this_db Mongo.connect db-test.some-mongo-server.com Mongo.db Mongo.auth Mdb.connect Mongo.Server id_prefix Port mdb_play mdb.ex:7 Mongodb authentication using elixir-mongo I...
[ 0.005615234375, 0.01373291015625, 0.0081787109375, 0.0030059814453125, -0.00848388671875, 0.01348876953125, -0.0159912109375, -0.008056640625, -0.006744384765625, -0.046142578125, 0.015625, -0.00109100341796875, -0.00396728515625, 0.00147247314453125, 0.00927734375, -0.00506591796875, ...
[ 7465, 7803, 275, 195734, 17368, 15296, 38308, 39, 31525, 2667, 79912, 5983, 97249, 18468, 31611, 48073, 903, 519, 135457, 40041, 6954, 43452, 39642, 916, 276, 193348, 4692, 55923, 13791, 20706, 3355, 966, 26859, 25318, 26366, 62822, 1239, 246...
[ 0.16943359375, 0.16748046875, 0.1925048828125, 0.237548828125, 0.05987548828125, 0.093017578125, 0.2379150390625, 0.05096435546875, 0.246826171875, 0.0869140625, 0.0733642578125, 0.2154541015625, 0.1656494140625, 0.1317138671875, 0.1207275390625, 0.200439453125, 0.0965576171875, 0....
embed
48062594_c0
48062594
elixir
0
Title: How to reduce List of Maps in Elixir Problem title: How to reduce List of Maps in Elixir Tags: elixir Problem: How to reduce List of Maps in Elixir I have a list of maps that I want to reduce since it often includes name-duplicates, but I can't just use Enum.uniq because I want to add up the count-column, for ex...
How to reduce List of Maps in Elixir How to reduce List of Maps in Elixir elixir How List Maps Elixir all_maps Enum.group_by Enum.map Enum.reduce x.count acc.count How to reduce List of Maps in Elixir I have a list of maps that I want to reduce since it often includes name-duplicates, but I can't just use Enum.uniq bec...
[ -0.0084228515625, -0.00811767578125, 0.000553131103515625, 0.0172119140625, -0.004364013671875, -0.012451171875, -0.019775390625, 0.0017547607421875, 0.0106201171875, 0.0019378662109375, -0.00185394287109375, -0.006988525390625, 0.045166015625, 0.034912109375, -0.00482177734375, -0.005...
[ 11249, 34390, 32036, 111, 103033, 23, 25318, 38308, 15296, 756, 62346, 357, 316, 51588, 1272, 107, 106357, 1022, 71013, 50015, 5303, 22288, 3444, 27983, 9351, 693, 52721, 4527, 5, 5980, 864, 15190, 1257, 54529, 8447, 16750, 90791, 1360, 136...
[ 0.0599365234375, 0.241943359375, 0.188232421875, 0.0902099609375, 0.254638671875, 0.0755615234375, 0.1287841796875, 0.2342529296875, 0.1015625, 0.06085205078125, 0.1954345703125, 0.09912109375, 0.1827392578125, 0.1468505859375, 0.06768798828125, 0.1112060546875, 0.1661376953125, 0....
embed
37915531_c0
37915531
elixir
0
Title: Ecto assoc_constraint doesn&#x27;t work Problem title: Ecto assoc_constraint doesn&#x27;t work Tags: phoenix-framework, elixir, ecto Problem: Ecto assoc_constraint doesn't work I have a Review model, which schema has belongs_to User notation. Each review should belongs to user, so user_id column is mandatory. de...
Ecto assoc_constraint doesn&#x27;t work Ecto assoc_constraint doesn&#x27;t work phoenix-framework elixir ecto Ecto assoc_constraint Review belongs_to User user_id required_fields optional_fields validate_length MyReelty.Repo.Migrations.AddUserIdToReviews Ecto.Migration on_delete Review.changeset valid_params Repo.inser...
[ -0.01080322265625, -0.000698089599609375, 0.01806640625, 0.004974365234375, 0.0057373046875, 0.000942230224609375, -0.01806640625, -0.0038909912109375, 0.0196533203125, -0.04638671875, 0.0068359375, 0.01141357421875, 0.0091552734375, 0.0257568359375, -0.0022125244140625, -0.02282714843...
[ 241, 44150, 63927, 238, 2271, 2816, 4288, 22027, 3768, 18, 4488, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 35881, 10617, 53400, 38937, 532, 56065, 28394, 35829, 44622, 23986, 2646, 4332, 6704, 53, 771, 594, 72482, 1062, 7763, 227...
[ 0.0975341796875, 0.283447265625, 0.1759033203125, 0.1695556640625, 0.1070556640625, 0.2117919921875, 0.1611328125, 0.09906005859375, 0.0484619140625, 0.1092529296875, 0.1627197265625, 0.054107666015625, 0.07733154296875, 0.1156005859375, 0.109130859375, 0.0675048828125, 0.07604980468...
embed
59535490_c0
59535490
elixir
0
Title: Ecto query to also include records with no has_many associated records? Problem title: Ecto query to also include records with no has_many associated records? Tags: has-many, postgresql, elixir, ecto Problem: Ecto query to also include records with no has_many associated records? I wrote this query to find all r...
Ecto query to also include records with no has_many associated records? Ecto query to also include records with no has_many associated records? has-many postgresql elixir ecto records papa Ecto has_many inner_join account.email example.com papa.status location.papa_id papa.id Some Papas ZERO location.state group_by acc...
[ -0.00194549560546875, 0.020751953125, -0.016845703125, 0.0130615234375, -0.00469970703125, 0.00150299072265625, -0.0031280517578125, -0.01177978515625, 0.0029296875, -0.0157470703125, 0.0155029296875, -0.0150146484375, -0.00933837890625, 0.01348876953125, -0.002593994140625, -0.0207519...
[ 241, 44150, 41, 1294, 2843, 26698, 115923, 678, 110, 1556, 669, 53, 137272, 47, 1305, 17562, 99247, 15296, 38308, 60751, 14726, 75414, 513, 15426, 25501, 27781, 45215, 31913, 41592, 532, 17523, 7, 567, 48952, 61340, 21115, 27417, 25724, 116...
[ 0.1112060546875, 0.283935546875, 0.1439208984375, 0.1341552734375, 0.0389404296875, 0.1033935546875, 0.2076416015625, 0.035247802734375, 0.1190185546875, 0.1162109375, 0.1070556640625, 0.053558349609375, 0.16552734375, 0.00518798828125, 0.001434326171875, 0.0986328125, 0.133666992187...
embed
43703527_c0
43703527
elixir
0
Title: Elixir- Block GenServer while handling info Problem title: Elixir- Block GenServer while handling info Tags: gen-server, rabbitmq, elixir Problem: Elixir- Block GenServer while handling info I have a a GenServer which takes care of my Rabbitmq connection. The following callback tries to reconnect to the server i...
Elixir- Block GenServer while handling info Elixir- Block GenServer while handling info gen-server rabbitmq elixir Elixir Block GenServer handle_info DOWN Logger.info Rabbit open_connection get_current_connection _conn_string _app GenServer.call get_cuurent_connection handle_call _pid Elixir- Block GenServer while hand...
[ -0.032958984375, 0.035400390625, -0.001953125, 0.004364013671875, -0.007232666015625, -0.01336669921875, -0.00787353515625, -0.0072021484375, 0.0069580078125, -0.054931640625, 0.0108642578125, 0.006134033203125, 0.00390625, 0.00848388671875, -0.008056640625, 0.02490234375, -0.0006752...
[ 25318, 38308, 80231, 15937, 193348, 12960, 45064, 3004, 9, 9226, 39642, 152131, 18, 39, 864, 15296, 34831, 7319, 6197, 108049, 64906, 56, 71916, 9803, 135457, 2046, 163812, 2271, 91693, 9007, 85763, 1010, 22127, 45226, 517, 94878, 25632, 1178...
[ 0.112548828125, 0.21484375, 0.251220703125, 0.15869140625, 0.275146484375, 0.063232421875, 0.171630859375, 0.19580078125, 0.02044677734375, 0.12890625, 0.155029296875, 0.1298828125, 0.09979248046875, 0.0499267578125, 0.138671875, 0.05340576171875, 0.1552734375, 0.1373291015625, 0...
embed
68769833_c0
68769833
elixir
0
Title: Elixir - compare 2 lists and update the latest items Problem title: Elixir - compare 2 lists and update the latest items Tags: elixir Problem: Elixir - compare 2 lists and update the latest items I have 2 lists: alist = [ %{"a" => 1}, %{"b" => 2}, %{"c" => 3}] blist = [ %{"a" => 3}, %{"c" => 4}] What is the most...
Elixir - compare 2 lists and update the latest items Elixir - compare 2 lists and update the latest items elixir Elixir updated_alist Enum.map JSON content_a content_b updated_content Map.merge merged_content Elixir - compare 2 lists and update the latest items I have 2 lists: What is the most effecient way of compare ...
[ -0.0155029296875, 0.00390625, -0.00653076171875, 0.00140380859375, -0.002410888671875, 0.017578125, -0.00732421875, 0.01080322265625, 0.00921630859375, 0.037841796875, 0.01123046875, 0.02783203125, 0.0286865234375, 0.00885009765625, 0.0218505859375, -0.017333984375, 0.001220703125, ...
[ 25318, 38308, 69101, 116, 5303, 136, 28350, 42850, 55769, 15296, 150011, 11, 6562, 357, 316, 62346, 821, 58627, 10941, 275, 69246, 42719, 1991, 429, 42564, 71, 765, 2684, 16670, 45964, 3917, 2856, 10, 2174, 2348, 271, 3525, 34292, 27188, ...
[ 0.14306640625, 0.26513671875, 0.2183837890625, 0.15625, 0.2137451171875, 0.046905517578125, 0.19189453125, 0.1175537109375, 0.1654052734375, 0.0994873046875, 0.16064453125, 0.0394287109375, 0.210693359375, 0.0712890625, 0.1739501953125, 0.1529541015625, 0.08026123046875, 0.15112304...
embed
49393712_c1
49393712
elixir
1
, :controller def create(conn, %{"document" => document_params}) do {:ok, doc} = document_params |> Document.new case Document.save(doc) do {:ok, record} -> conn |> put_status(201) |> render(Data.DocumentView, "document.json", payload: Document.find(record._id)) {:error, map_of_errors} -> conn |> put_status(422) |> ren...
, :controller def create(conn, %{"document" => document_params}) do {:ok, doc} = document_params |> Document.new case Document.save(doc) do {:ok, record} -> conn |> put_status(201) |> render(Data.DocumentView, "document.json", payload: Document.find(record._id)) {:error, map_of_errors} -> conn |> put_status(422) |> ren...
[ -0.0262451171875, -0.0164794921875, 0.0004405975341796875, -0.018310546875, 0.0174560546875, 0.0064697265625, -0.034423828125, -0.025390625, 0.006622314453125, -0.034423828125, 0.0052490234375, -0.01446533203125, 0.0078125, -0.02099609375, 0.0096435546875, -0.01165771484375, 0.006805...
[ 4, 152, 81988, 603, 8, 420, 28282, 132, 2271, 19, 1745, 117432, 12937, 2500, 8256, 54, 685, 51584, 2203, 43101, 54936, 7225, 108999, 29713, 17164, 158, 3884, 45215, 100991, 89159, 137989, 239469, 100474, 170, 1681, 8783, 63033, 111607, 3227...
[ 0.018829345703125, 0.06353759765625, 0.2332763671875, 0.1689453125, 0.1318359375, 0.126220703125, 0.212158203125, 0.0257415771484375, 0.17236328125, 0.1363525390625, 0.08538818359375, 0.2486572265625, 0.2183837890625, 0.1314697265625, 0.159912109375, 0.0770263671875, 0.1365966796875,...
embed
50168264_c0
50168264
elixir
0
Title: How do you communicate with an Elixir Agent from within a Phoenix Controller? Problem title: How do you communicate with an Elixir Agent from within a Phoenix Controller? Tags: phoenix-framework, elixir Problem: How do you communicate with an Elixir Agent from within a Phoenix Controller? It's great to be learni...
How do you communicate with an Elixir Agent from within a Phoenix Controller? How do you communicate with an Elixir Agent from within a Phoenix Controller? phoenix-framework elixir within How Elixir Agent Phoenix Controller HelloBlockchain.Monitor start_link Agent.start_link Agent.update Map.put Agent.get Map.get How d...
[ -0.0130615234375, 0.004638671875, 0.006439208984375, 0.00445556640625, 0.02392578125, 0.0037384033203125, -0.0057373046875, 0.003631591796875, 0.0024871826171875, -0.0546875, -0.017822265625, 0.01409912109375, 0.03271484375, 0.00457763671875, -0.0003204345703125, 0.016845703125, -0.0...
[ 11249, 127219, 67, 678, 25318, 38308, 54603, 1295, 28032, 133720, 27131, 603, 142, 53073, 33, 4084, 160328, 18244, 15296, 35378, 166191, 115097, 46674, 26111, 4034, 10187, 17137, 117008, 42719, 7077, 3794, 54, 6782, 52080, 46876, 39395, 20174, ...
[ 0.0709228515625, 0.2335205078125, 0.1083984375, 0.178955078125, 0.10009765625, 0.2347412109375, 0.253662109375, 0.111328125, 0.1898193359375, 0.254638671875, 0.206298828125, 0.1812744140625, 0.041778564453125, 0.00665283203125, 0.038787841796875, 0.07208251953125, 0.06451416015625, ...
embed
39180333_c0
39180333
elixir
0
Title: Why are all exceptions not build on the same model in Elixir? Problem title: Why are all exceptions not build on the same model in Elixir? Tags: elixir Problem: Why are all exceptions not build on the same model in Elixir? While playing with loading and evaluating files (mainly for config loading), I came across...
Why are all exceptions not build on the same model in Elixir? Why are all exceptions not build on the same model in Elixir? elixir Code.LoadError SyntaxError TokenMissingError xxxError Why Elixir Why are all exceptions not build on the same model in Elixir? While playing with loading and evaluating files (mainly for co...
[ 0.00909423828125, 0.0213623046875, -0.0228271484375, -0.00994873046875, 0.0177001953125, -0.00897216796875, 0.004638671875, -0.004364013671875, -0.0037078857421875, 0.00469970703125, 0.00830078125, -0.02783203125, 0.015869140625, -0.005462646484375, 0.0157470703125, 0.01055908203125, ...
[ 44084, 756, 131527, 959, 45367, 98, 5701, 3299, 25318, 38308, 15296, 28864, 15363, 18468, 31611, 19010, 86531, 717, 1098, 135261, 20112, 7, 72367, 102158, 153837, 10644, 18499, 831, 138804, 11435, 22027, 18, 32316, 114211, 29822, 26008, 6002, ...
[ 0.0902099609375, 0.0711669921875, 0.2286376953125, 0.066650390625, 0.1451416015625, 0.05682373046875, 0.1141357421875, 0.1947021484375, 0.10693359375, 0.25390625, 0.0645751953125, 0.0992431640625, 0.04266357421875, 0.1083984375, 0.1202392578125, 0.010986328125, 0.1441650390625, 0.0...
embed
47753462_c1
47753462
elixir
1
) end end The data attribute for the above looks like this: %{"attributes" => %{"description" => nil, "inserted_at" => "2017-12-01T14:20:58.423Z", "updated_at" => "2017-12-11T10:36:24.073Z", "email" => "test@gmail.com"}, "id" => "292", "relationships" => %{"group" => %{"data" => %{"id" => "1", "type" => "groups"}}}, "t...
) end end The data attribute for the above looks like this: %{"attributes" => %{"description" => nil, "inserted_at" => "2017-12-01T14:20:58.423Z", "updated_at" => "2017-12-11T10:36:24.073Z", "email" => "test@gmail.com"}, "id" => "292", "relationships" => %{"group" => %{"data" => %{"id" => "1", "type" => "groups"}}}, "t...
[ -0.004241943359375, -0.00201416015625, -0.00909423828125, -0.005645751953125, 0.01953125, 0.0274658203125, -0.031982421875, 0.00213623046875, 0.0054931640625, 0.0125732421875, -0.0093994140625, 0.0311279296875, 0.004669189453125, 0.01470947265625, 0.0225830078125, -0.0069580078125, -...
[ 3564, 2053, 150380, 13, 36917, 33342, 1884, 903, 257, 191145, 112, 59478, 17324, 73, 33657, 3259, 31435, 6746, 3742, 1511, 117008, 1662, 25501, 6954, 7095, 532, 4235, 304, 107, 57860, 16070, 51588, 10135, 50986, 223, 1314, 2967, 9790, 15549...
[ 0.1263427734375, 0.182373046875, 0.2322998046875, 0.0528564453125, 0.1273193359375, 0.1357421875, 0.0341796875, 0.00799560546875, 0.08734130859375, 0.192138671875, 0.06024169921875, 0.198974609375, 0.1024169921875, 0.0048828125, 0.1224365234375, 0.151123046875, 0.07635498046875, 0....
embed
60267746_c0
60267746
elixir
0
Title: How do I avoid ExUnit.start() error when running mix test Problem title: How do I avoid ExUnit.start() error when running mix test Tags: elixir-mix, elixir Problem: How do I avoid ExUnit.start() error when running mix test When I run mix test on my project, I get the following error and I don't understand why: $...
How do I avoid ExUnit.start() error when running mix test How do I avoid ExUnit.start() error when running mix test elixir-mix elixir RuntimeError How ExUnit.start Compiling Compilation myproject_web email_controller_test.ex ExUnit.Case ExUnit ex_unit ExUnit.Case.__using__ email_controller_test.ex:2 MyProjectWeb.EmailC...
[ 0.004974365234375, 0.01141357421875, -0.0019989013671875, -0.0196533203125, 0.005950927734375, 0.004150390625, -0.0177001953125, -0.0159912109375, 0.00433349609375, -0.023681640625, -0.01324462890625, 0.01055908203125, 0.005523681640625, 0.029541015625, 0.01220703125, 0.005859375, 0....
[ 71864, 5443, 85600, 18, 17137, 132, 18499, 51042, 17664, 3034, 15296, 38308, 62015, 28398, 6032, 18468, 15612, 49725, 14, 759, 95322, 14051, 3340, 81988, 603, 6954, 3355, 1119, 309, 2646, 223353, 30474, 161994, 175904, 111337, 119125, 73866, ...
[ 0.159423828125, 0.183349609375, 0.2098388671875, 0.1141357421875, 0.1849365234375, 0.053497314453125, 0.1544189453125, 0.0762939453125, 0.26318359375, 0.1978759765625, 0.05340576171875, 0.149658203125, 0.232666015625, 0.0162353515625, 0.0161590576171875, 0.055572509765625, 0.06683349...
embed
33926291_c0
33926291
elixir
0
Title: How does recursion work in Elixir Problem title: How does recursion work in Elixir Tags: recursion, elixir Problem: How does recursion work in Elixir Simple function in Elixir, returning a list of numbers from to : defmodule MyList do def span(_), do: raise "Should be 2 args" def span(from, to) when from > to, d...
How does recursion work in Elixir How does recursion work in Elixir recursion elixir to + How Elixir MyList Should MyList.span How does recursion work in Elixir Simple function in Elixir, returning a list of numbers from to : I have no slightest clue, why this works and return a list of numbers. I just can't get my hea...
[ -0.01708984375, 0.03125, -0.0003814697265625, 0.00323486328125, 0.001251220703125, 0.0244140625, -0.013671875, -0.0003185272216796875, 0.00640869140625, -0.031982421875, 0.0078125, -0.01226806640625, -0.008544921875, 0.032470703125, 0.01708984375, -0.01007080078125, -0.002197265625, ...
[ 11249, 14602, 195625, 1830, 4488, 23, 25318, 38308, 15296, 47, 997, 2646, 154663, 151117, 19332, 60552, 32354, 30646, 214, 5303, 101935, 1295, 29786, 15400, 43240, 136, 831, 18, 10336, 10932, 5117, 40956, 41591, 25632, 4865, 11737, 106, 116, ...
[ 0.10528564453125, 0.090576171875, 0.25439453125, 0.19384765625, 0.1619873046875, 0.097412109375, 0.1357421875, 0.2568359375, 0.0780029296875, 0.181884765625, 0.0372314453125, 0.08984375, 0.1845703125, 0.0633544921875, 0.1539306640625, 0.097412109375, 0.136962890625, 0.1536865234375...
embed
34867129_c0
34867129
elixir
0
Title: Preloading both sides of an Ecto.Association Problem title: Preloading both sides of an Ecto.Association Tags: elixir, ecto, phoenix-framework Problem: Preloading both sides of an Ecto.Association How can I preload both sides of a has_many and belongs_to association with Ecto? For example, in a situation that wh...
Preloading both sides of an Ecto.Association Preloading both sides of an Ecto.Association elixir ecto phoenix-framework Preloading Ecto.Association has_many belongs_to belong_to MyApp.Article MyApp.Comments MyApp.Comment Does Article Comment Repo.get Repo.preload Preloading both sides of an Ecto.Association How can I p...
[ 0.01300048828125, 0.000019431114196777344, -0.0118408203125, 0.024658203125, -0.01104736328125, -0.004241943359375, -0.0034027099609375, -0.006866455078125, 0.00176239013671875, -0.06640625, 0.0164794921875, 0.010498046875, -0.0101318359375, 0.004058837890625, 0.0002994537353515625, 0....
[ 1914, 63033, 214, 15044, 5609, 241, 44150, 5, 214813, 15296, 38308, 60751, 53073, 33, 4084, 160328, 18244, 1556, 669, 53, 10617, 2646, 39179, 89329, 215284, 10770, 674, 24241, 16277, 853, 771, 3794, 4692, 831, 87, 479, 125413, 678, 5582, ...
[ 0.185302734375, 0.2548828125, 0.0232696533203125, 0.154296875, 0.173583984375, 0.104736328125, 0.28271484375, 0.00018310546875, 0.19775390625, 0.0718994140625, 0.1624755859375, 0.2275390625, 0.02630615234375, 0.054168701171875, 0.1112060546875, 0.11767578125, 0.0618896484375, 0.166...
embed
39381111_c0
39381111
elixir
0
Title: Ecto associations from ltree Problem title: Ecto associations from ltree Tags: ecto, elixir Problem: Ecto associations from ltree I have a Topics model that form a hierarchy with a parent_id key. I'd like to quickly be able to access the path without doing recursive selects so there's an additional hierarchy fie...
Ecto associations from ltree Ecto associations from ltree ecto elixir ltree t Ecto parent_id App.Topic App.Web belongs_to foreign_key SELECT WHERE Repo.get Topic Repo.preload has_many Ecto associations from ltree I have a Topics model that form a hierarchy with a parent_id key. I'd like to quickly be able to access the...
[ 0.017578125, 0.0244140625, -0.01708984375, 0.003265380859375, -0.004180908203125, -0.01904296875, 0.006072998046875, 0.0020294189453125, -0.0032501220703125, -0.0986328125, -0.00860595703125, -0.0089111328125, -0.01416015625, 0.009765625, -0.000301361083984375, -0.00970458984375, -0....
[ 241, 44150, 151747, 1295, 96, 62600, 60751, 15296, 38308, 808, 49129, 532, 5659, 77888, 1771, 30474, 10617, 110613, 19770, 6755, 144832, 771, 134912, 4692, 63033, 669, 3299, 3173, 1791, 147, 7668, 22799, 1884, 69405, 17203, 60875, 15490, 1956...
[ 0.10711669921875, 0.294677734375, 0.1912841796875, 0.0285797119140625, 0.0755615234375, 0.274169921875, 0.2271728515625, 0.0269622802734375, 0.161865234375, 0.0286102294921875, 0.118896484375, 0.079833984375, 0.1424560546875, 0.1356201171875, 0.0189666748046875, 0.064453125, 0.042755...
embed
49232227_c0
49232227
elixir
0
Title: AJAX request abort on large query string Elixir Plug Problem title: AJAX request abort on large query string Elixir Plug Tags: elixir, ajax Problem: AJAX request abort on large query string Elixir Plug I am sending 2 large query string in AJAX requests, which are basically, a Base64 encoding of a jpeg(s). When t...
AJAX request abort on large query string Elixir Plug AJAX request abort on large query string Elixir Plug elixir ajax AJAX Elixir Plug Plug.Parsers query_string_length json_decoder Poison post_max_size AJAX request abort on large query string Elixir Plug I am sending 2 large query string in AJAX requests, which are bas...
[ 0.014404296875, 0.020751953125, 0.004425048828125, -0.026123046875, -0.0240478515625, 0.01080322265625, -0.0067138671875, 0.0146484375, -0.00927734375, -0.0233154296875, 0.0035552978515625, -0.002105712890625, -0.00634765625, 0.015869140625, -0.00160980224609375, -0.0103759765625, -0...
[ 61179, 72850, 50336, 64853, 21334, 41, 1294, 79315, 25318, 38308, 194351, 98, 15296, 7767, 425, 28636, 1314, 91693, 454, 23986, 927, 1647, 1681, 50718, 51744, 64249, 191, 1305, 24084, 62539, 135834, 116, 7, 4, 3129, 621, 44978, 13307, 22, ...
[ 0.16259765625, 0.2327880859375, 0.2144775390625, 0.2666015625, 0.1324462890625, 0.13818359375, 0.1273193359375, 0.2403564453125, 0.0966796875, 0.2431640625, 0.251708984375, 0.046356201171875, 0.0804443359375, 0.15673828125, 0.11181640625, 0.0755615234375, 0.041229248046875, 0.18481...
embed
79121977_c0
79121977
elixir
0
Title: Is it possible to define recursive entity structure with Elixir Spark? Problem title: Is it possible to define recursive entity structure with Elixir Spark? Tags: elixir, dsl, ash-framework Problem: Is it possible to define recursive entity structure with Elixir Spark? defmodule Im.Dsl.Entities.ReceiveCmd do def...
Is it possible to define recursive entity structure with Elixir Spark? Is it possible to define recursive entity structure with Elixir Spark? elixir dsl ash-framework Elixir Spark Im.Dsl.Entities.ReceiveCmd Spark.Dsl.Entity Receive Im.Commands.Receive Im.Dsl.Entities.IfCondCmd.cmd Im.Dsl.Entities.ReceiveCmd.cmd user1 u...
[ 0.01019287109375, 0.01080322265625, -0.016357421875, 0.0244140625, 0.01007080078125, 0.00811767578125, 0.0087890625, 0.0023193359375, 0.0135498046875, -0.031494140625, -0.01556396484375, 0.038330078125, -0.0181884765625, 0.0255126953125, 0.0235595703125, 0.01556396484375, -0.01940917...
[ 7722, 61924, 195625, 5844, 77630, 939, 45646, 678, 25318, 38308, 152810, 15296, 104, 24861, 10, 1495, 160328, 3370, 7768, 118, 329, 54686, 18, 93908, 10770, 12018, 3931, 397, 38937, 304, 26008, 418, 3060, 65918, 126340, 831, 5701, 10644, 29...
[ 0.1597900390625, 0.2032470703125, 0.22509765625, 0.170654296875, 0.189208984375, 0.1417236328125, 0.239013671875, 0.06689453125, 0.0760498046875, 0.2205810546875, 0.2354736328125, 0.06097412109375, 0.013916015625, 0.151611328125, 0.0020751953125, 0.11328125, 0.0889892578125, 0.0827...
embed
47904085_c0
47904085
elixir
0
Title: How to display typespecs from a named function through iex Problem title: How to display typespecs from a named function through iex Tags: typespec, elixir, elixir-iex Problem: How to display typespecs from a named function through iex You can display typespecs from a module thorugh t command on iex, i.e: iex(1)...
How to display typespecs from a named function through iex How to display typespecs from a named function through iex typespec elixir elixir-iex a urllib2 urlparse How Enum Enumerable.t allow_fragments Parse URL Note e.g How to display typespecs from a named function through iex You can display typespecs from a module ...
[ -0.006561279296875, 0.01544189453125, 0.008056640625, 0.0244140625, -0.004180908203125, 0.00665283203125, 0.01483154296875, 0.0091552734375, -0.00872802734375, -0.01031494140625, 0.007110595703125, -0.01312255859375, 0.00592041015625, 0.002685546875, 0.007476806640625, 0.03466796875, ...
[ 11249, 44116, 10644, 16711, 7, 1295, 24, 4806, 32354, 8305, 17, 3355, 15296, 38308, 14, 25002, 5612, 304, 2500, 184, 357, 316, 56, 2886, 18, 63769, 6000, 177, 9035, 2392, 31862, 88996, 14461, 58968, 808, 75101, 3642, 1957, 70, 107, 3767...
[ 0.027435302734375, 0.1656494140625, 0.2230224609375, 0.2685546875, 0.08172607421875, 0.0738525390625, 0.08502197265625, 0.1163330078125, 0.1629638671875, 0.07183837890625, 0.08355712890625, 0.1822509765625, 0.00885009765625, 0.1953125, 0.06805419921875, 0.0389404296875, 0.12438964843...
embed
62126958_c1
62126958
elixir
1
) |> Repo.preload(:genders) end def create_client(attrs \\ %{}) do %Client{} |> IO.inspect() |> Client.changeset(attrs) |> Repo.insert() end In the Add form: <%= select(f, :gender_id, @all_genders) %> <%= error_tag f, :gender_id %> I have the form show the Gender dropdown, however, when I submit I get an error: assign ...
) |> Repo.preload(:genders) end def create_client(attrs \\ %{}) do %Client{} |> IO.inspect() |> Client.changeset(attrs) |> Repo.insert() end In the Add form: <%= select(f, :gender_id, @all_genders) %> <%= error_tag f, :gender_id %> I have the form show the Gender dropdown, however, when I submit I get an error: assign ...
[ -0.0128173828125, -0.00811767578125, -0.01220703125, 0.0017547607421875, 0.000751495361328125, -0.0167236328125, -0.01470947265625, -0.0203857421875, -0.01324462890625, -0.0228271484375, 0.00323486328125, -0.013671875, 0.0194091796875, 0.0164794921875, -0.007232666015625, -0.0038299560...
[ 853, 771, 4692, 63033, 1409, 14202, 3564, 28282, 222978, 27639, 4295, 150, 2517, 17780, 16711, 91732, 152028, 3509, 33657, 29117, 3173, 36849, 420, 23200, 532, 1374, 5584, 18499, 6936, 1238, 7639, 527, 23894, 36069, 34695, 137447, 142, 95486,...
[ 0.1019287109375, 0.174072265625, 0.09991455078125, 0.1343994140625, 0.282470703125, 0.2457275390625, 0.017364501953125, 0.1339111328125, 0.239501953125, 0.044677734375, 0.0958251953125, 0.1361083984375, 0.038818359375, 0.169921875, 0.178466796875, 0.1951904296875, 0.1212158203125, ...
embed
76629837_c0
76629837
elixir
0
Title: OpenTelemetry Propagation in Erlang/Elixir - an example Problem title: OpenTelemetry Propagation in Erlang/Elixir - an example Tags: elixir, erlang, open-telemetry, distributed-tracing Problem: OpenTelemetry Propagation in Erlang/Elixir - an example I have a gRPC API and want to add Otel based tracing to it. Eve...
OpenTelemetry Propagation in Erlang/Elixir - an example OpenTelemetry Propagation in Erlang/Elixir - an example elixir erlang open-telemetry distributed-tracing OpenTelemetry.Tracer OpenTelemetry Propagation Erlang Elixir otel_propagator_text_map.extract _parent otel_tracer.current_span_ctx span_ctx Tracer.start_span T...
[ 0.000621795654296875, 0.005157470703125, 0.010009765625, -0.00201416015625, -0.0091552734375, -0.0191650390625, 0.0064697265625, -0.004669189453125, -0.01470947265625, -0.03466796875, -0.00848388671875, 0.0174560546875, -0.01007080078125, 0.006805419921875, 0.0027313232421875, 0.004821...
[ 13527, 75809, 1928, 1294, 1250, 11902, 1004, 3066, 150, 38308, 27781, 15296, 72, 9803, 3025, 15917, 39989, 28542, 3443, 25318, 44258, 3454, 4597, 22829, 62346, 112779, 99547, 163812, 19332, 27734, 15390, 4937, 17137, 21991, 170572, 3611, 5423, ...
[ 0.1427001953125, 0.1243896484375, 0.146484375, 0.047821044921875, 0.028228759765625, 0.15625, 0.117431640625, 0.2392578125, 0.04278564453125, 0.208740234375, 0.1376953125, 0.04681396484375, 0.07421875, 0.1116943359375, 0.092529296875, 0.1259765625, 0.1505126953125, 0.111083984375, ...
embed
39299162_c0
39299162
elixir
0
Title: How to update a supervision tree on a live code upgrade? Problem title: How to update a supervision tree on a live code upgrade? Tags: erlang, erlang-otp, elixir Problem: How to update a supervision tree on a live code upgrade? An issue I’ve run into with live code upgrades is when there’s a change to a supervis...
How to update a supervision tree on a live code upgrade? How to update a supervision tree on a live code upgrade? erlang erlang-otp elixir How MyApp.Worker1 MyApp.Worker2 MyApp.Worker3 MySupervisor.init my_app remote_console Supervisor.start_child How to update a supervision tree on a live code upgrade? An issue I’ve r...
[ -0.0018157958984375, 0.03466796875, 0.003265380859375, 0.00067138671875, 0.000392913818359375, -0.010986328125, 0.0016937255859375, 0.006500244140625, 0.0002269744873046875, -0.01385498046875, 0.006256103515625, -0.0181884765625, 0.0147705078125, 0.01007080078125, 0.025390625, 0.006530...
[ 11249, 28350, 1601, 25826, 53201, 98, 6867, 18151, 116086, 47, 72, 3066, 818, 254, 15296, 38308, 2646, 39179, 108259, 56, 418, 304, 363, 73903, 51858, 73, 217, 759, 9007, 148814, 40777, 4265, 17137, 206, 38472, 31089, 3934, 15549, 45646, ...
[ 0.091796875, 0.2139892578125, 0.19775390625, 0.2294921875, 0.2430419921875, 0.030670166015625, 0.1832275390625, 0.1875, 0.2239990234375, 0.011688232421875, 0.0810546875, 0.236572265625, 0.09222412109375, 0.093994140625, 0.08447265625, 0.2158203125, 0.0933837890625, 0.1712646484375,...
embed
28291854_c0
28291854
elixir
0
Title: Open modules in Elixir? Problem title: Open modules in Elixir? Tags: elixir Problem: Open modules in Elixir? Ruby has open classes, which are very handy (though reviled by some), and Elixir borrows heavily from Ruby, so I expected Elixir to allow me to reopen a module and add macros to it after having closed it,...
Open modules in Elixir? Open modules in Elixir? elixir Open Elixir Math IO.puts Open modules in Elixir? Ruby has open classes, which are very handy (though reviled by some), and Elixir borrows heavily from Ruby, so I expected Elixir to allow me to reopen a module and add macros to it after having closed it, but this di...
[ -0.007171630859375, 0.0047607421875, 0.00372314453125, 0.01031494140625, 0.01544189453125, 0.0147705078125, 0.00445556640625, -0.0003337860107421875, -0.0023040771484375, -0.02978515625, -0.002716064453125, -0.0230712890625, 0.00145721435546875, -0.0022430419921875, 0.0198974609375, -0...
[ 13527, 88996, 7, 23, 25318, 38308, 32, 15296, 78804, 17780, 7077, 158189, 1556, 9803, 61112, 4552, 3535, 197271, 15226, 6259, 3060, 3017, 15555, 17305, 5115, 1295, 84751, 63769, 59636, 15190, 111789, 7103, 19441, 155738, 959, 4488, 37842, 391...
[ 0.2303466796875, 0.284912109375, 0.08673095703125, 0.08245849609375, 0.1531982421875, 0.299560546875, 0.003448486328125, 0.1002197265625, 0.1837158203125, 0.1668701171875, 0.117919921875, 0.2288818359375, 0.0181884765625, 0.1844482421875, 0.195068359375, 0.053802490234375, 0.07165527...
embed
74920644_c0
74920644
elixir
0
Title: How to move all files of folder from another folder to same S3 bucket in script elixir Problem title: How to move all files of folder from another folder to same S3 bucket in script elixir Tags: amazon-s3, bucket, elixir Problem: How to move all files of folder from another folder to same S3 bucket in script eli...
How to move all files of folder from another folder to same S3 bucket in script elixir How to move all files of folder from another folder to same S3 bucket in script elixir amazon-s3 bucket elixir another How Script.Elixir list_objects_in_bucket my_bucket ExAws.S3.list_objects max_keys ExAws.request extract_only_route...
[ -0.00150299072265625, 0.006988525390625, -0.0269775390625, 0.01806640625, 0.01519775390625, -0.0013885498046875, 0.0013427734375, 0.0020599365234375, 0.004150390625, 0.004364013671875, -0.0003261566162109375, -0.000701904296875, -0.0034942626953125, 0.0277099609375, -0.005828857421875, ...
[ 11249, 25813, 756, 102158, 111, 78303, 1295, 15700, 47, 5701, 159, 363, 373, 27853, 26499, 15296, 38308, 2527, 5870, 7, 84654, 647, 150, 5303, 187694, 73, 978, 759, 5443, 19725, 294, 6562, 18389, 19770, 125663, 191, 133261, 43658, 59665, ...
[ 0.023529052734375, 0.1689453125, 0.11181640625, 0.163330078125, 0.049468994140625, 0.157470703125, 0.0855712890625, 0.09765625, 0.1065673828125, 0.123779296875, 0.0643310546875, 0.1859130859375, 0.10552978515625, 0.135009765625, 0.1866455078125, 0.07769775390625, 0.208984375, 0.016...
embed
67839220_c0
67839220
elixir
0
Title: Calculate total price in a view Problem title: Calculate total price in a view Tags: phoenix-framework, elixir Problem: Calculate total price in a view I am a newbie to elixir and what I'm trying to do is calculate the total price of items in the user's cart and display it in the cart page. I wrote a function wh...
Calculate total price in a view Calculate total price in a view phoenix-framework elixir Calculate Your Cart book.title book.original_price Routes.cart_path book_slug book.slug total_price price_with_shipping Enum.reduce total_amount acc.total_amount Map.get Total Calculate total price in a view I am a newbie to elixir...
[ 0.00213623046875, 0.0103759765625, 0.00921630859375, -0.0267333984375, 0.013427734375, -0.018798828125, -0.01153564453125, 0.005859375, -0.0020751953125, -0.04931640625, -0.0263671875, -0.004608154296875, -0.0166015625, 0.02294921875, 0.033203125, 0.0162353515625, -0.013916015625, ...
[ 212467, 2182, 3622, 27167, 23, 10, 21455, 53073, 33, 4084, 160328, 18244, 15296, 38308, 85186, 12877, 5440, 124524, 5293, 106015, 3284, 128405, 35159, 329, 76228, 3767, 26783, 316, 107, 106357, 121147, 50015, 188, 1803, 42719, 3794, 33867, 90...
[ 0.2113037109375, 0.0828857421875, 0.203857421875, 0.2130126953125, 0.10028076171875, 0.0662841796875, 0.267333984375, 0.0258636474609375, 0.04638671875, 0.09619140625, 0.08544921875, 0.0479736328125, 0.07073974609375, 0.1953125, 0.13427734375, 0.09710693359375, 0.0350341796875, 0.0...
embed
76981712_c1
76981712
elixir
1
angeset, id: "weight", name: "weight", data: %HealthTracker.HealthStats.Weight{ __meta__: #Ecto.Schema.Metadata<:loaded, "weights">, id: 27, weight: 88888.1, user_id: 1, inserted_at: ~N[2023-08-26 04:35:49], updated_at: ~N[2023-08-26 04:35:58] }, hidden: [id: 27], params: %{"weight" => "88888.1"}, errors: [], options: ...
access current_user from the socket. That allowed me to reach out to socket.assigns.current_user.id whenever I need. But unfortunately the socket does not contain the current_user when I press Edit within the Show modal. This view http://localhost:4000/weights/27/show/edit This is from the logs: I don't understand why...
[ -0.0034942626953125, -0.007415771484375, 0.00083160400390625, -0.0262451171875, 0.0038604736328125, 0.01434326171875, -0.0084228515625, 0.0078125, -0.0079345703125, -0.00982666015625, -0.0004405975341796875, 0.0126953125, 0.01507568359375, 0.01708984375, 0.01068115234375, 0.01556396484...
[ 17203, 43581, 454, 65918, 1295, 221, 27853, 58359, 1810, 162, 31304, 7, 163812, 532, 217684, 3871, 104272, 14602, 959, 70541, 24234, 42079, 28032, 17367, 28020, 21455, 98908, 68037, 165598, 3768, 31374, 45082, 12684, 28219, 15400, 95486, 297, ...
[ 0.1624755859375, 0.2476806640625, 0.036468505859375, 0.26611328125, 0.078369140625, 0.1260986328125, 0.22705078125, 0.0770263671875, 0.022552490234375, 0.03076171875, 0.181884765625, 0.004852294921875, 0.2265625, 0.11181640625, 0.0911865234375, 0.07476806640625, 0.067626953125, 0.0...
embed
56138353_c0
56138353
elixir
0
Title: Elixir: ExAws: DynamoDB: query-filter Problem title: Elixir: ExAws: DynamoDB: query-filter Tags: amazon-dynamodb, amazon-web-services, elixir Problem: Elixir: ExAws: DynamoDB: query-filter I'm using the library https://github.com/ex-aws/ex_aws_dynamo , and I'm having issues getting a working example of query-fil...
Elixir: ExAws: DynamoDB: query-filter Elixir: ExAws: DynamoDB: query-filter amazon-dynamodb amazon-web-services elixir ValidationException Elixir ExAws DynamoDB key_condition_expression highlight_request_id expression_attribute_values c692e65e-618f-45a3-ac12-d8103e6444c8 query_filter range_id attribute_value_list ORGAN...
[ 0.004913330078125, 0.01806640625, -0.002105712890625, -0.033203125, 0.01422119140625, -0.00799560546875, -0.0022430419921875, -0.01226806640625, -0.00531005859375, 0.0301513671875, 0.00118255615234375, -0.0008087158203125, 0.011474609375, -0.0027923583984375, -0.01611328125, -0.0006217...
[ 25318, 38308, 5443, 284, 19725, 73327, 432, 39463, 41, 1294, 120337, 2527, 5870, 17872, 6144, 48073, 14051, 22584, 15296, 25447, 85, 63928, 22799, 126940, 204629, 127308, 75616, 532, 125195, 191145, 27494, 14212, 12424, 1819, 63620, 88471, 3745...
[ 0.08062744140625, 0.2333984375, 0.1019287109375, 0.05755615234375, 0.16845703125, 0.0762939453125, 0.10186767578125, 0.1805419921875, 0.1474609375, 0.1785888671875, 0.245849609375, 0.06573486328125, 0.104248046875, 0.040557861328125, 0.1851806640625, 0.1331787109375, 0.0208740234375,...
embed
43002414_c0
43002414
elixir
0
Title: How do I connect to MemSQL from Elixir Problem title: How do I connect to MemSQL from Elixir Tags: singlestore, elixir Problem: How do I connect to MemSQL from Elixir MemSQL is binary compatible with Mysql and uses the same drivers. However this nice-in-theory does not seem to apply when you connect from Elixir ...
How do I connect to MemSQL from Elixir How do I connect to MemSQL from Elixir singlestore elixir Elixir How MemSQL How do I connect to MemSQL from Elixir MemSQL is binary compatible with Mysql and uses the same drivers. However this nice-in-theory does not seem to apply when you connect from Elixir with mariaex or mysq...
[ 0.0130615234375, 0.005126953125, 0.004119873046875, 0.017333984375, 0.00775146484375, 0.0113525390625, -0.02685546875, 0.004608154296875, 0.00189971923828125, -0.03857421875, 0.004608154296875, -0.0260009765625, -0.0021514892578125, 0.006683349609375, -0.0030517578125, -0.0083618164062...
[ 11249, 37067, 47, 17443, 158897, 1295, 25318, 38308, 11001, 45804, 15296, 2394, 6635, 146731, 678, 2646, 7, 99247, 4527, 5701, 27941, 26267, 59911, 5786, 11, 3355, 759, 864, 74070, 17106, 5885, 53418, 41, 22, 2886, 19155, 18606, 31, 8447, ...
[ 0.045318603515625, 0.2022705078125, 0.1229248046875, 0.2373046875, 0.30810546875, 0.1444091796875, 0.1839599609375, 0.27490234375, 0.160400390625, 0.1717529296875, 0.097412109375, 0.1397705078125, 0.1134033203125, 0.1318359375, 0.046966552734375, 0.1295166015625, 0.05584716796875, ...
embed
54180329_c0
54180329
elixir
0
Title: How to make async requests using HTTPoison? Problem title: How to make async requests using HTTPoison? Tags: httpoison, elixir, asynchronous Problem: How to make async requests using HTTPoison? Background We have an app that deals with a considerable amount of requests per second. This app needs to notify an ext...
How to make async requests using HTTPoison? How to make async requests using HTTPoison? httpoison elixir asynchronous HTTPoison How HTTPoison.get How to make async requests using HTTPoison? Background We have an app that deals with a considerable amount of requests per second. This app needs to notify an external servi...
[ -0.0208740234375, 0.0220947265625, 0.00872802734375, 0.00555419921875, -0.006103515625, 0.01141357421875, 0.00145721435546875, -0.0164794921875, -0.0020599365234375, -0.0177001953125, 0.01025390625, -0.005889892578125, -0.0037689208984375, 0.005126953125, 0.0172119140625, -0.0225830078...
[ 11249, 3249, 10, 12654, 238, 50336, 7, 17368, 135913, 31, 40514, 1621, 15296, 38308, 101966, 3794, 4027, 8, 16765, 150675, 41170, 17932, 27117, 959, 173591, 4516, 79794, 11782, 294, 10723, 134549, 151814, 4527, 517, 57553, 3714, 165523, 33022...
[ 0.0645751953125, 0.0838623046875, 0.0557861328125, 0.220458984375, 0.108154296875, 0.226318359375, 0.02825927734375, 0.05133056640625, 0.2120361328125, 0.1318359375, 0.244384765625, 0.08642578125, 0.0587158203125, 0.182861328125, 0.1536865234375, 0.14306640625, 0.1265869140625, 0.0...
embed
37601658_c0
37601658
elixir
0
Title: How can I get my library code to recompile if the application environment changes? Problem title: How can I get my library code to recompile if the application environment changes? Tags: elixir Problem: How can I get my library code to recompile if the application environment changes? I'm writing an Elixir libra...
How can I get my library code to recompile if the application environment changes? How can I get my library code to recompile if the application environment changes? elixir How SomeModule Application.get_env some_lib dictionary_file do_some_processing config.exs dictionary.txt deps.compile external_resource How can I g...
[ -0.0140380859375, -0.01251220703125, -0.018310546875, 0.024658203125, -0.007049560546875, 0.00457763671875, -0.007781982421875, 0.0137939453125, -0.0054931640625, -0.0164794921875, -0.004180908203125, -0.014404296875, -0.00872802734375, 0.04541015625, 0.0206298828125, -0.00421142578125...
[ 11249, 831, 2046, 759, 35773, 1294, 18151, 47, 456, 58875, 1340, 2174, 38415, 65998, 65572, 15296, 38308, 31384, 91616, 8782, 104921, 3794, 33, 334, 3060, 5612, 45, 10763, 6635, 29822, 43452, 63923, 153837, 3355, 124326, 8, 6423, 173591, 10...
[ 0.0379638671875, 0.049072265625, 0.06365966796875, 0.0528564453125, 0.1824951171875, 0.0997314453125, 0.184814453125, 0.0367431640625, 0.1849365234375, 0.1990966796875, 0.1734619140625, 0.11181640625, 0.1480712890625, 0.16943359375, 0.187255859375, 0.0836181640625, 0.22021484375, 0...
embed
28444469_c0
28444469
elixir
0
Title: Please suggest idiomatic Elixir for multi typed arguments Problem title: Please suggest idiomatic Elixir for multi typed arguments Tags: elixir Problem: Please suggest idiomatic Elixir for multi typed arguments I am trying to improve the code for my Elixir library which looks like this: def dirs(path, regex_dir ...
Please suggest idiomatic Elixir for multi typed arguments Please suggest idiomatic Elixir for multi typed arguments elixir Please Elixir regex_dir is_bitstring is_list file_path String.valid do_dirs dirs_list Finder.new Finder.with_directory_regex Regex.compile Finder.only_directories Finder.find Path.expand Enum.to_li...
[ -0.0157470703125, -0.0028533935546875, 0.00946044921875, 0.007598876953125, -0.000743865966796875, 0.005096435546875, -0.02587890625, -0.005828857421875, 0.001953125, -0.041259765625, 0.0111083984375, -0.0018768310546875, -0.0002422332763671875, 0.0252685546875, -0.0035247802734375, 0....
[ 30607, 42459, 49666, 9523, 25318, 38308, 100, 6024, 10644, 71, 10750, 15296, 6835, 3355, 936, 83, 3137, 91693, 6562, 11435, 128405, 23351, 7013, 54, 5402, 7, 26040, 56, 80581, 10901, 11678, 58875, 191, 111607, 108421, 316, 188, 62351, 52295...
[ 0.0902099609375, 0.117919921875, 0.1903076171875, 0.134033203125, 0.1558837890625, 0.272705078125, 0.06024169921875, 0.1727294921875, 0.2001953125, 0.0550537109375, 0.215576171875, 0.1304931640625, 0.11279296875, 0.142333984375, 0.1444091796875, 0.1082763671875, 0.1201171875, 0.205...
embed
36454312_c1
36454312
elixir
1
="help-block text-danger"></p> </div> <div class="form-group"> <%= email_input f, :email, [class: "form-control", placeholder: "Votre e-mail *", required: "", 'data-validation-required-message': "Merci de bien vouloir rentrer votre email"] %> <p class="help-block text-danger"></p> </div> <div class="form-group"> <%= te...
="help-block text-danger"></p> </div> <div class="form-group"> <%= email_input f, :email, [class: "form-control", placeholder: "Votre e-mail *", required: "", 'data-validation-required-message': "Merci de bien vouloir rentrer votre email"] %> <p class="help-block text-danger"></p> </div> <div class="form-group"> <%= te...
[ -0.00439453125, 0.0262451171875, -0.00095367431640625, -0.023681640625, 0.0118408203125, 0.0191650390625, -0.00872802734375, 0.01116943359375, -0.006317138671875, -0.048583984375, -0.01275634765625, -0.023681640625, 0.016357421875, 0.01300048828125, -0.0111083984375, 0.021728515625, ...
[ 22422, 73866, 81409, 7986, 549, 1505, 254, 30618, 18507, 5037, 51588, 3949, 1369, 3340, 73, 7077, 1238, 152, 25501, 81988, 3687, 31958, 36635, 2921, 28, 2065, 661, 56065, 10135, 7013, 3181, 74157, 44, 30248, 318, 8, 1806, 184160, 203224, ...
[ 0.0032958984375, 0.2088623046875, 0.2406005859375, 0.2181396484375, 0.142333984375, 0.1649169921875, 0.0198974609375, 0.1600341796875, 0.10693359375, 0.2445068359375, 0.181396484375, 0.03997802734375, 0.0399169921875, 0.1802978515625, 0.1199951171875, 0.1572265625, 0.1488037109375, ...
embed
47315529_c0
47315529
elixir
0
Title: Specifying a string value in the type definition for the Elixir typespecs Problem title: Specifying a string value in the type definition for the Elixir typespecs Tags: dialyzer, elixir, erlang, typechecking, static-analysis Problem: Specifying a string value in the type definition for the Elixir typespecs Is it...
Specifying a string value in the type definition for the Elixir typespecs Specifying a string value in the type definition for the Elixir typespecs dialyzer elixir erlang typechecking static-analysis Specifying Elixir Role Exnumerator valid_attributes String.t Role.t User.t Ecto.Changeset.t User User.changeset Repo.ins...
[ 0.00787353515625, -0.0111083984375, -0.0057373046875, 0.0172119140625, -0.0035858154296875, -0.01031494140625, -0.0081787109375, -0.01123046875, -0.005523681640625, 0.01416015625, 0.005645751953125, 0.005096435546875, 0.005523681640625, 0.0146484375, 0, 0.033935546875, -0.00601196289...
[ 24990, 151138, 79315, 34292, 10644, 80934, 25318, 38308, 16711, 879, 538, 4383, 15296, 72, 3066, 78292, 201939, 174976, 2777, 133, 5443, 2606, 56, 4597, 35604, 191145, 23351, 214, 18, 53400, 44150, 127008, 126, 152028, 3509, 771, 7722, 61924,...
[ 0.1806640625, 0.0760498046875, 0.220947265625, 0.1859130859375, 0.28125, 0.173828125, 0.057037353515625, 0.1885986328125, 0.216064453125, 0.043701171875, 0.111083984375, 0.166259765625, 0.0133056640625, 0.015533447265625, 0.16259765625, 0.1209716796875, 0.06854248046875, 0.08679199...
embed
59388537_c0
59388537
elixir
0
Title: Why does pattern matching Map with Tuple inside Stream/Enum module in Elixir Works? Problem title: Why does pattern matching Map with Tuple inside Stream/Enum module in Elixir Works? Tags: elixir Problem: Why does pattern matching Map with Tuple inside Stream/Enum module in Elixir Works? If I have understood cor...
Why does pattern matching Map with Tuple inside Stream/Enum module in Elixir Works? Why does pattern matching Map with Tuple inside Stream/Enum module in Elixir Works? elixir Why Map Tuple Stream Enum Elixir Works Stream.filter Enum.map TodoList auto_id add_entry todo_list Map.put todo_list.auto_id new_entries todo_lis...
[ -0.00628662109375, -0.00104522705078125, -0.002960205078125, -0.03271484375, 0.00128936767578125, -0.01324462890625, -0.01068115234375, 0.01202392578125, 0.0206298828125, 0.008544921875, 0.01458740234375, 0.007415771484375, 0.00927734375, 0.044677734375, 0.01458740234375, 0.00180053710...
[ 44084, 14602, 103510, 14858, 214, 42719, 678, 1371, 8705, 46132, 115061, 647, 2606, 88996, 25318, 38308, 27985, 15296, 357, 316, 120337, 62346, 26657, 154663, 1809, 532, 15190, 15123, 1973, 6562, 8913, 3525, 2517, 10484, 42805, 17489, 370, 99...
[ 0.119140625, 0.030181884765625, 0.2198486328125, 0.202392578125, 0.0755615234375, 0.244140625, 0.12158203125, 0.1380615234375, 0.2413330078125, 0.117431640625, 0.22998046875, 0.054595947265625, 0.236083984375, 0.1727294921875, 0.112060546875, 0.258544921875, 0.15087890625, 0.090637...
embed
49957973_c0
49957973
elixir
0
Title: Phoenix undefined function cast error Problem title: Phoenix undefined function cast error Tags: terminal, phoenix-framework, elixir Problem: Phoenix undefined function cast error I am going along with the Programmming Phoneix book and I am getting an error rumbl master % → iex -S mix Erlang/OTP 20 [erts-9.3] [s...
Phoenix undefined function cast error Phoenix undefined function cast error terminal phoenix-framework elixir CompileError Phoenix Erlang OTP erts-9.3 smp:8:8 ds:8:8:10 async-threads:10 kernel-poll:false Compiling Compilation user.ex user.ex:6 lists.erl:1338 lists.foreach erl_eval.erl:670 erl_eval.do_apply parallel_com...
[ 0.0020294189453125, 0.010498046875, 0.01092529296875, 0.011962890625, 0.0133056640625, 0.017822265625, -0.0113525390625, -0.00191497802734375, 0.000934600830078125, -0.04345703125, -0.00927734375, -0.0361328125, 0.0181884765625, 0.0211181640625, 0.01043701171875, -0.00177001953125, -...
[ 133720, 9232, 5983, 32354, 37702, 18499, 33949, 53073, 33, 4084, 160328, 18244, 15296, 38308, 15612, 1340, 18468, 1004, 3066, 180, 23658, 72, 933, 15205, 363, 2676, 1019, 12654, 39116, 77924, 583, 5877, 8710, 49725, 14, 38937, 3355, 910, 53...
[ 0.25244140625, 0.1065673828125, 0.1861572265625, 0.1820068359375, 0.196044921875, 0.15625, 0.166259765625, 0.036865234375, 0.0672607421875, 0.1226806640625, 0.0718994140625, 0.0139617919921875, 0.056549072265625, 0.1744384765625, 0.07501220703125, 0.06915283203125, 0.0780029296875, ...
embed
72599297_c1
72599297
elixir
1
(params[start_idx..stop_idx], tensor_opts[:shape], opts) params_map = Map.put(params_map, key, curr_param) {params_map, stop_idx, params} end) |> then(&elem(&1, 0)) |> Enum.reduce(%{}, fn {k, v}, params_map -> put_in(params_map, Enum.map(String.split(k, "."), &Access.key(&1, %{})), v) end) end def extract_template(para...
(params[start_idx..stop_idx], tensor_opts[:shape], opts) params_map = Map.put(params_map, key, curr_param) {params_map, stop_idx, params} end) |> then(&elem(&1, 0)) |> Enum.reduce(%{}, fn {k, v}, params_map -> put_in(params_map, Enum.map(String.split(k, "."), &Access.key(&1, %{})), v) end) end def extract_template(para...
[ 0.00518798828125, -0.006103515625, 0.0033111572265625, 0.00250244140625, -0.0185546875, -0.0020599365234375, 0.00885009765625, -0.0185546875, 0.00469970703125, -0.031494140625, -0.004547119140625, -0.0240478515625, 0.0152587890625, 0.01116943359375, 0.017333984375, -0.0079345703125, ...
[ 2500, 8256, 17137, 532, 425, 19111, 1492, 4970, 2146, 933, 2420, 1081, 233, 121, 4432, 454, 62346, 2203, 42719, 7077, 22799, 64240, 6276, 39, 7279, 3564, 27889, 757, 357, 316, 107, 106357, 14783, 92, 81, 73, 71713, 214, 4353, 39450, 265...
[ 0.1661376953125, 0.18408203125, 0.1201171875, 0.046630859375, 0.12353515625, 0.129638671875, 0.13134765625, 0.168212890625, 0.1612548828125, 0.10205078125, 0.1285400390625, 0.1005859375, 0.1595458984375, 0.2196044921875, 0.2335205078125, 0.0153350830078125, 0.28173828125, 0.0411376...
embed
45953997_c1
45953997
elixir
1
| changes]} end else {:not_found, email} -> case CameraShareRequest.create_share_request(camera, email, caller, params["rights"], params["message"]) do {:ok, camera_share_request} -> send_email_notification(caller, camera, email, camera_share_request.message, camera_share_request.key) CameraActivity.log_activity(calle...
| changes]} end else {:not_found, email} -> case CameraShareRequest.create_share_request(camera, email, caller, params["rights"], params["message"]) do {:ok, camera_share_request} -> send_email_notification(caller, camera, email, camera_share_request.message, camera_share_request.key) CameraActivity.log_activity(calle...
[ -0.003326416015625, 0.019287109375, 0.0033416748046875, -0.002899169921875, 0.0027618408203125, 0.004302978515625, -0.03955078125, -0.0205078125, 0.00201416015625, 0.00958251953125, 0.00799560546875, 0.019775390625, -0.0012969970703125, 0.019775390625, 0.022705078125, -0.00083160400390...
[ 58745, 65572, 8152, 3564, 37076, 10869, 151645, 3340, 33079, 7225, 44813, 69042, 4332, 75616, 7612, 2182, 67886, 107, 124999, 11782, 56, 4, 121, 4432, 58, 54969, 7, 268, 74157, 429, 16, 54, 685, 15593, 25379, 454, 25501, 41274, 132, 6827,...
[ 0.05072021484375, 0.2327880859375, 0.00543212890625, 0.1334228515625, 0.06951904296875, 0.1513671875, 0.18701171875, 0.1768798828125, 0.034027099609375, 0.1307373046875, 0.2205810546875, 0.213134765625, 0.0662841796875, 0.18505859375, 0.11376953125, 0.048431396484375, 0.213134765625,...
embed
73087584_c0
73087584
elixir
0
Title: `private` module not export private function when environment :test Problem title: `private` module not export private function when environment :test Tags: elixir Problem: `private` module not export private function when environment :test I want to test private function so use private module hex private doc pa...
`private` module not export private function when environment :test `private` module not export private function when environment :test elixir UndefinedFunctionError Logger Mechanics.Servo Private check_head Logger.debug rest::binary _::8 Mechanics.Test Mechanics.Servo.check_head Mechanics.MixProject Mix.Project start_...
[ -0.0017242431640625, -0.007659912109375, -0.00823974609375, 0.01116943359375, 0.009033203125, 0.0019683837890625, -0.002685546875, -0.01458740234375, 0.00136566162109375, 0.021728515625, 0.013916015625, -0.0147705078125, 0.00008487701416015625, 0.0162353515625, 0.0205078125, -0.0084838...
[ 158559, 13, 88996, 959, 31255, 14375, 32354, 3229, 65998, 6954, 15296, 38308, 79912, 5983, 97249, 18468, 64906, 56, 230166, 63771, 965, 86111, 12765, 31251, 85779, 10588, 19155, 1019, 111337, 78292, 594, 4084, 223353, 37286, 669, 334, 3034, 7...
[ 0.1695556640625, 0.124755859375, 0.182861328125, 0.0621337890625, 0.2237548828125, 0.19580078125, 0.1739501953125, 0.019378662109375, 0.171630859375, 0.186767578125, 0.0654296875, 0.1865234375, 0.03570556640625, 0.113525390625, 0.108154296875, 0.024078369140625, 0.09185791015625, 0...
embed
30290032_c0
30290032
elixir
0
Title: Plug Parser Unsupported Media Type error for :delete requests in Exunit tests Problem title: Plug Parser Unsupported Media Type error for :delete requests in Exunit tests Tags: elixir Problem: Plug Parser Unsupported Media Type error for :delete requests in Exunit tests In my tests, I'm hitting the router with j...
Plug Parser Unsupported Media Type error for :delete requests in Exunit tests Plug Parser Unsupported Media Type error for :delete requests in Exunit tests elixir Plug Parser Unsupported Media Type Exunit Myapp.Router.call Plug.Conn.fetch_params response.status Plug Parser Unsupported Media Type error for :delete reque...
[ -0.0155029296875, 0.034912109375, 0.003631591796875, 0.00628662109375, -0.0162353515625, -0.000255584716796875, -0.0201416015625, -0.03857421875, 0.0098876953125, 0.0211181640625, 0.0002803802490234375, -0.000583648681640625, -0.001312255859375, 0.01190185546875, 0.01556396484375, -0.0...
[ 194351, 2392, 2189, 992, 105363, 4794, 60457, 18499, 8520, 67, 50336, 5443, 309, 217, 109921, 15296, 38308, 9007, 12724, 25208, 85763, 2500, 45215, 5962, 122188, 1647, 1681, 36439, 68186, 43240, 5885, 154109, 55300, 11343, 35782, 10941, 10644, ...
[ 0.187744140625, 0.1446533203125, 0.1353759765625, 0.03253173828125, 0.2283935546875, 0.1728515625, 0.195068359375, 0.1070556640625, 0.1566162109375, 0.106689453125, 0.162841796875, 0.0706787109375, 0.15478515625, 0.13671875, 0.1494140625, 0.012298583984375, 0.159423828125, 0.083007...
embed
53856353_c0
53856353
elixir
0
Title: How to correctly write a transaction and bubble up the errors Problem title: How to correctly write a transaction and bubble up the errors Tags: phoenix-framework, elixir, ecto Problem: How to correctly write a transaction and bubble up the errors Ok because of the multiple levels of returns I am getting a littl...
How to correctly write a transaction and bubble up the errors How to correctly write a transaction and bubble up the errors phoenix-framework elixir ecto the How create_account company_name Repo.transaction Account.create_account Account Account.changeset Repo.insert How to correctly write a transaction and bubble up t...
[ -0.0031280517578125, 0.005035400390625, -0.026123046875, -0.0093994140625, 0.004119873046875, 0.003173828125, -0.018798828125, -0.0191650390625, 0.00958251953125, -0.01470947265625, 0.0164794921875, -0.00390625, 0.00970458984375, 0.03515625, 0.0101318359375, -0.0027923583984375, -0.0...
[ 11249, 26785, 538, 33022, 124161, 136, 373, 73163, 1257, 18499, 10, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 70, 28282, 213499, 14380, 11627, 853, 771, 30145, 44713, 61417, 7612, 2182, 152028, 3509, 73, 33657, 48716, 90926, 30646,...
[ 0.07110595703125, 0.1478271484375, 0.001495361328125, 0.1986083984375, 0.2454833984375, 0.051788330078125, 0.110107421875, 0.2071533203125, 0.142822265625, 0.2442626953125, 0.014251708984375, 0.02252197265625, 0.0357666015625, 0.106689453125, 0.07611083984375, 0.040191650390625, 0.05...
embed
31479412_c0
31479412
elixir
0
Title: Display table data from RethinkDB in Phoenix Framework Problem title: Display table data from RethinkDB in Phoenix Framework Tags: html, rethinkdb, phoenix-framework, elixir Problem: Display table data from RethinkDB in Phoenix Framework I'm attempting to display data from my databases in RethinkDB (using the re...
Display table data from RethinkDB in Phoenix Framework Display table data from RethinkDB in Phoenix Framework html rethinkdb phoenix-framework elixir RethinkDB Display Phoenix Framework Phoenix.HTML.Safe RethinkDB.Collection first_name Carlos bdb8-7a4dac6528d5 last_name Santos c84658fc-e4a4-4cb6-8107-b011ca996abd c09fe...
[ 0.01043701171875, 0.011962890625, 0.004150390625, -0.007354736328125, 0.01519775390625, 0.0145263671875, 0.000507354736328125, 0.001983642578125, -0.0022125244140625, -0.05712890625, 0.013916015625, -0.01153564453125, -0.002716064453125, -0.00016117095947265625, -0.006317138671875, 0.0...
[ 90045, 23180, 2053, 1295, 853, 201950, 39463, 133720, 202220, 23, 7693, 456, 48073, 33, 4084, 160328, 18244, 15296, 38308, 127068, 5464, 2242, 78457, 133, 5117, 24856, 1019, 4568, 49350, 13903, 192066, 124618, 53400, 175904, 100474, 30474, 2500...
[ 0.2159423828125, 0.257080078125, 0.1971435546875, 0.037078857421875, 0.108642578125, 0.2393798828125, 0.2388916015625, 0.2379150390625, 0.224609375, 0.021087646484375, 0.1688232421875, 0.05767822265625, 0.180419921875, 0.012908935546875, 0.09027099609375, 0.0938720703125, 0.035003662...
embed
39155592_c2
39155592
elixir
2
:59:16>} (ecto) lib/ecto/repo/schema.ex:397: Ecto.Repo.Schema.apply/4 (ecto) lib/ecto/repo/schema.ex:341: anonymous fn/9 in Ecto.Repo.Schema.do_delete/4 lib/guardian_db.ex:98: GuardianDb.on_revoke/2 (guardian) lib/guardian.ex:131: Guardian.revoke!/3 (phoenixexample) web/controllers/api/v1/session_controller.ex:30: Phoe...
:59:16>} (ecto) lib/ecto/repo/schema.ex:397: Ecto.Repo.Schema.apply/4 (ecto) lib/ecto/repo/schema.ex:341: anonymous fn/9 in Ecto.Repo.Schema.do_delete/4 lib/guardian_db.ex:98: GuardianDb.on_revoke/2 (guardian) lib/guardian.ex:131: Guardian.revoke!/3 (phoenixexample) web/controllers/api/v1/session_controller.ex:30: Phoe...
[ -0.01373291015625, 0.0172119140625, 0.00933837890625, -0.0159912109375, 0.009033203125, -0.0162353515625, -0.014404296875, -0.01318359375, 0.004119873046875, -0.0166015625, 0.004150390625, 0.004974365234375, -0.0089111328125, 0.01336669921875, 0.002685546875, 0.01513671875, -0.021484...
[ 26451, 22354, 8152, 60751, 16, 25474, 107, 771, 7560, 192, 3355, 149729, 12, 241, 44150, 4332, 25452, 11883, 9007, 538, 17357, 30197, 82825, 52184, 10821, 14783, 22364, 23, 8520, 32116, 3378, 48073, 16665, 81589, 397, 275, 191, 23253, 12477...
[ 0.09893798828125, 0.0992431640625, 0.006744384765625, 0.23974609375, 0.01068115234375, 0.1690673828125, 0.1048583984375, 0.17822265625, 0.171142578125, 0.109130859375, 0.0777587890625, 0.1409912109375, 0.03875732421875, 0.08453369140625, 0.2484130859375, 0.1126708984375, 0.1751708984...
embed
70978818_c0
70978818
elixir
0
Title: Elixir/Erlang: Set permissions at time of open/write/mkdir? Problem title: Elixir/Erlang: Set permissions at time of open/write/mkdir? Tags: permissions, erlang, elixir Problem: Elixir/Erlang: Set permissions at time of open/write/mkdir? I'm writing a few config files and directory structure from my Elixir/Erlan...
Elixir/Erlang: Set permissions at time of open/write/mkdir? Elixir/Erlang: Set permissions at time of open/write/mkdir? permissions erlang elixir Elixir Erlang Set Elixir/Erlang: Set permissions at time of open/write/mkdir? I'm writing a few config files and directory structure from my Elixir/Erlang service, and want s...
[ -0.0023193359375, 0.009033203125, 0.016357421875, -0.01513671875, 0.0025634765625, -0.01611328125, -0.0137939453125, 0.0025177001953125, -0.002105712890625, 0.019775390625, -0.01251220703125, 0.02294921875, 0.0211181640625, 0.03369140625, 0.000553131103515625, 0.008544921875, -0.0043...
[ 25318, 38308, 18468, 3066, 19943, 168081, 7, 1733, 9803, 434, 18781, 19201, 936, 99, 72, 15296, 1004, 111, 32562, 10, 10846, 153837, 102158, 136, 14364, 53, 45646, 4516, 4, 3444, 29458, 98, 15044, 70, 3387, 425, 42, 9, 55479, 132, 58087...
[ 0.109619140625, 0.264892578125, 0.137451171875, 0.268798828125, 0.1873779296875, 0.26708984375, 0.0633544921875, 0.1759033203125, 0.18505859375, 0.0472412109375, 0.1181640625, 0.1046142578125, 0.197998046875, 0.004058837890625, 0.086181640625, 0.08416748046875, 0.13134765625, 0.039...
embed
54066733_c1
54066733
elixir
1
: value}) do Logger.info "decoded input value:" case Poison.decode(value) do {:ok, result} -> {:ok, result} _ -> :error end end defp decode(%Absinthe.Blueprint.Input.Null{}) do {:ok, nil} end defp decode(_) do :error end defp encode(value), do: value object :user do field(:id, :id) field(:email, :string) field(:passwor...
: value}) do Logger.info "decoded input value:" case Poison.decode(value) do {:ok, result} -> {:ok, result} _ -> :error end end defp decode(%Absinthe.Blueprint.Input.Null{}) do {:ok, nil} end defp decode(_) do :error end defp encode(value), do: value object :user do field(:id, :id) field(:email, :string) field(:passwor...
[ 0.001251220703125, -0.006927490234375, 0.00299072265625, 0.00469970703125, -0.00003910064697265625, 0.012939453125, -0.0181884765625, 0.002685546875, 0.002593994140625, 0.0087890625, 0.01336669921875, 0.0220947265625, 0.0194091796875, -0.003204345703125, 0.01531982421875, 0.00352478027...
[ 34292, 54, 64906, 56, 7319, 112, 40899, 107730, 7225, 64249, 191, 27494, 13, 685, 16750, 188800, 3564, 8, 420, 254, 24988, 1596, 2347, 114567, 35662, 18444, 17324, 36746, 65918, 44457, 532, 25501, 91693, 13409, 13448, 11627, 19777, 4588, 22...
[ 0.248779296875, 0.06195068359375, 0.1817626953125, 0.180419921875, 0.19921875, 0.1622314453125, 0.2059326171875, 0.1551513671875, 0.03656005859375, 0.201416015625, 0.1539306640625, 0.1583251953125, 0.04254150390625, 0.10198974609375, 0.0924072265625, 0.1744384765625, 0.07635498046875...
embed
55309620_c0
55309620
elixir
0
Title: How to convert erlang module (wxImage) const/array to a list in Elixir? Problem title: How to convert erlang module (wxImage) const/array to a list in Elixir? Tags: elixir, wxerlang Problem: How to convert erlang module (wxImage) const/array to a list in Elixir? I am trying to manipulate a "test.jpg" image in El...
How to convert erlang module (wxImage) const/array to a list in Elixir? How to convert erlang module (wxImage) const/array to a list in Elixir? elixir wxerlang FunctionClauseError How Elixir Imedit2 _file File.open happy737.txt IO.puts _output File.read wxImage.getData to_charlist is_list is_tuple IO.binwrite File.clos...
[ 0.0020751953125, -0.015869140625, -0.0172119140625, -0.000278472900390625, 0.00885009765625, 0.01519775390625, 0.0005950927734375, 0.004913330078125, 0.0042724609375, 0.009521484375, 0.0166015625, 0.02099609375, 0.007080078125, -0.006378173828125, 0.005340576171875, -0.01708984375, -...
[ 11249, 96760, 72, 3066, 88996, 434, 425, 216960, 158, 271, 19305, 53, 47, 5303, 25318, 38308, 64, 23, 15296, 148, 34058, 28670, 26253, 18468, 31611, 3370, 45082, 304, 29822, 42724, 59636, 17723, 115252, 124326, 17780, 7077, 6056, 39116, 137...
[ 0.01385498046875, 0.15673828125, 0.12548828125, 0.254638671875, 0.18798828125, 0.0936279296875, 0.1016845703125, 0.265380859375, 0.1173095703125, 0.1759033203125, 0.16552734375, 0.1015625, 0.079345703125, 0.20068359375, 0.1029052734375, 0.248779296875, 0.0243682861328125, 0.0052490...
embed
51371005_c0
51371005
elixir
0
Title: After a spawned Elixir process crashes, no other processes are spawned Problem title: After a spawned Elixir process crashes, no other processes are spawned Tags: erlang, elixir Problem: After a spawned Elixir process crashes, no other processes are spawned In my program, after each line from a CSV file is read,...
After a spawned Elixir process crashes, no other processes are spawned After a spawned Elixir process crashes, no other processes are spawned erlang elixir After Elixir Downloader.CLI Downloader.Parser Downloader.Getter _args Enum.map Parser.run handle_download image_id Getter IO.inspect After a spawned Elixir process ...
[ -0.00193023681640625, 0.022216796875, -0.01019287109375, 0.01263427734375, 0.01263427734375, 0.00946044921875, 0.002410888671875, -0.01116943359375, -0.006805419921875, -0.0137939453125, -0.01708984375, -0.00567626953125, 0.004364013671875, 0.0264892578125, 0.031005859375, 0.0073242187...
[ 24372, 5623, 7710, 297, 25318, 38308, 9433, 150631, 90, 110, 3789, 72, 3066, 15296, 4857, 56, 10927, 28636, 10429, 61477, 316, 62346, 2392, 34831, 61754, 29569, 532, 2206, 17780, 16711, 1528, 7103, 12638, 13315, 313, 43486, 11435, 12301, 35...
[ 0.10009765625, 0.1143798828125, 0.121826171875, 0.03192138671875, 0.122314453125, 0.271484375, 0.1636962890625, 0.2021484375, 0.0748291015625, 0.0780029296875, 0.0784912109375, 0.048187255859375, 0.18310546875, 0.10107421875, 0.1099853515625, 0.0264129638671875, 0.091064453125, 0.0...
embed
41370058_c1
41370058
elixir
1
, :phoenix_pubsub, :phoenix_html, :cowboy, :logger, :ejabberd, :gettext, :phoenix_ecto, :postgrex]] end # Specifies which paths to compile per environment. defp elixirc_paths(:test), do: ["lib", "web", "test/support"] defp elixirc_paths(_), do: ["lib", "web"] # Aliases are shortcuts or tasks specific to the current pro...
, :phoenix_pubsub, :phoenix_html, :cowboy, :logger, :ejabberd, :gettext, :phoenix_ecto, :postgrex]] end # Specifies which paths to compile per environment. defp elixirc_paths(:test), do: ["lib", "web", "test/support"] defp elixirc_paths(_), do: ["lib", "web"] # Aliases are shortcuts or tasks specific to the current pro...
[ -0.002532958984375, 0.0228271484375, 0.00445556640625, 0.00860595703125, 0.00799560546875, 0.0107421875, -0.0130615234375, 0.001373291015625, -0.0045166015625, -0.006103515625, 0.000888824462890625, -0.0255126953125, 0.02734375, 0.0262451171875, 0.002105712890625, 0.01153564453125, -...
[ 152, 22014, 33, 4084, 111596, 22144, 7693, 434, 30885, 365, 21407, 18856, 102459, 71, 3794, 22829, 60751, 7134, 425, 3564, 24990, 27430, 60875, 47, 9969, 1340, 117, 65998, 8, 420, 254, 88, 38365, 19437, 128405, 6954, 5612, 14051, 105363, ...
[ 0.008697509765625, 0.0701904296875, 0.089599609375, 0.211181640625, 0.0947265625, 0.2144775390625, 0.13623046875, 0.04058837890625, 0.1591796875, 0.075439453125, 0.1419677734375, 0.15576171875, 0.2080078125, 0.138427734375, 0.08837890625, 0.07122802734375, 0.2147216796875, 0.054565...
embed
47877722_c0
47877722
elixir
0
Title: erlang/elixir gen_tcp connect - not connecting but telnet wil Problem title: erlang/elixir gen_tcp connect - not connecting but telnet wil Tags: erlang, sockets, gen-tcp, elixir Problem: erlang/elixir gen_tcp connect - not connecting but telnet wil I have a (zebra) printer that I can telnet to: jasongoodwin$ tel...
erlang/elixir gen_tcp connect - not connecting but telnet wil erlang/elixir gen_tcp connect - not connecting but telnet wil erlang sockets gen-tcp elixir gen_tcp Trying Connected Escape Unit Socket DataOutputStream clientSocket.getOutputStream outToServer.writeBytes clientSocket.close gen_tcp.connect erlang/elixir gen_...
[ 0.000164031982421875, 0.0189208984375, -0.031982421875, -0.00311279296875, -0.003204345703125, -0.0361328125, -0.03466796875, -0.01544189453125, -0.0052490234375, -0.01953125, 0.029541015625, 0.00043487548828125, 0.01397705078125, -0.0145263671875, -0.003509521484375, -0.00242614746093...
[ 72, 3066, 6169, 38308, 9226, 454, 121422, 37067, 959, 1284, 8131, 1179, 3562, 18, 221, 27853, 15296, 40858, 62448, 181540, 46640, 1061, 79858, 115061, 23282, 1810, 7763, 193348, 155648, 135457, 64, 214, 731, 2844, 110264, 831, 47, 25379, 20...
[ 0.1114501953125, 0.25830078125, 0.10546875, 0.22998046875, 0.174072265625, 0.062255859375, 0.19482421875, 0.177490234375, 0.1044921875, 0.044281005859375, 0.1199951171875, 0.182373046875, 0.1280517578125, 0.05108642578125, 0.009521484375, 0.11376953125, 0.08062744140625, 0.03414916...
embed
69747033_c0
69747033
elixir
0
Title: How do I connect Ecto to CockroachDB Serverless? Problem title: How do I connect Ecto to CockroachDB Serverless? Tags: cockroachcloud, elixir, ecto, database, cockroachdb Problem: How do I connect Ecto to CockroachDB Serverless? I'd like to use CockroachDB Serverless for my Ecto application. How do I specify the...
How do I connect Ecto to CockroachDB Serverless? How do I connect Ecto to CockroachDB Serverless? cockroachcloud elixir ecto database cockroachdb Postgrex.Error How Ecto CockroachDB Serverless GenServer PID FATAL sqlserver_rejected_establishment_of_sqlconnection db_connection connection.ex:100 DBConnection.Connection.c...
[ 0.01129150390625, 0.021240234375, -0.00164794921875, 0.021728515625, -0.00506591796875, -0.001953125, -0.016845703125, 0.0040283203125, 0.006744384765625, 0.00012683868408203125, -0.00177764892578125, -0.019775390625, 0.01025390625, 0.00008726119995117188, -0.00921630859375, 0.00598144...
[ 11249, 37067, 241, 44150, 47, 1311, 2594, 516, 934, 39463, 22687, 9393, 99070, 182422, 15296, 38308, 60751, 63399, 28657, 275, 2795, 7134, 425, 18468, 31611, 15937, 193348, 436, 7146, 15491, 30487, 99247, 39642, 34590, 29511, 4390, 135457, 40...
[ 0.051605224609375, 0.2086181640625, 0.10455322265625, 0.29150390625, 0.134033203125, 0.06866455078125, 0.018341064453125, 0.1319580078125, 0.09478759765625, 0.19970703125, 0.1634521484375, 0.2342529296875, 0.0628662109375, 0.172119140625, 0.03924560546875, 0.1690673828125, 0.19311523...
embed
70691756_c0
70691756
elixir
0
Title: generating times list with step in elixir Problem title: generating times list with step in elixir Tags: elixir Problem: generating times list with step in elixir I have such data as [ %{since: ~T[13:30:00], till: ~T[14:30:00]}, %{since: ~T[10:30:00], till: ~T[11:30:00]} ] I am trying to generate timeslots betwe...
generating times list with step in elixir generating times list with step in elixir elixir Enum.map Time.diff slot.till slot.since Enum.reduce List.last Time.add List.flatten Enum.sort generating times list with step in elixir I have such data as I am trying to generate timeslots between since and till (both including)...
[ -0.0126953125, 0.006134033203125, 0.017578125, -0.022705078125, -0.012451171875, -0.01312255859375, -0.00897216796875, -0.0079345703125, 0.00537109375, -0.03955078125, -0.018798828125, 0.0167236328125, -0.00015926361083984375, 0.036376953125, 0.0025177001953125, -0.005279541015625, -...
[ 12663, 1916, 20028, 5303, 678, 29954, 23, 15296, 38308, 357, 316, 62346, 19055, 152462, 24897, 30394, 42380, 107, 106357, 32036, 19777, 4028, 150632, 510, 62351, 2053, 31577, 139392, 12631, 17721, 16792, 570, 26719, 423, 14633, 16750, 37842, ...
[ 0.1710205078125, 0.0316162109375, 0.1878662109375, 0.192626953125, 0.0943603515625, 0.2254638671875, 0.056793212890625, 0.10028076171875, 0.2364501953125, 0.03277587890625, 0.1383056640625, 0.091064453125, 0.1552734375, 0.144287109375, 0.146240234375, 0.1490478515625, 0.068603515625,...
embed
54305308_c1
54305308
elixir
1
13, "children": [{"id": 16, "children": [], "parent_id": 13}], "parent_id": 10}], "parent_id": null}] The code: def build_tree(levels): ids_to_nodes = [] for i in range(len(levels)): level = levels[i] ids_to_nodes.append({}) for node in level: ids_to_nodes[i][node["id"]] = node if i > 0: for node in level: levels[i - ...
13, "children": [{"id": 16, "children": [], "parent_id": 13}], "parent_id": 10}], "parent_id": null}] The code: def build_tree(levels): ids_to_nodes = [] for i in range(len(levels)): level = levels[i] ids_to_nodes.append({}) for node in level: ids_to_nodes[i][node["id"]] = node if i > 0: for node in level: levels[i - ...
[ -0.020751953125, 0.00848388671875, -0.0167236328125, -0.001312255859375, 0.0023040771484375, 0.013671875, -0.032958984375, -0.0037689208984375, -0.0068359375, -0.0400390625, 0.004180908203125, 0.0087890625, 0.0089111328125, 0.032470703125, 0.01165771484375, -0.005859375, -0.022216796...
[ 17480, 237052, 532, 611, 99547, 702, 209, 56574, 18151, 8, 420, 45367, 62600, 132, 67919, 3447, 188, 157, 988, 17, 37457, 1977, 17366, 90926, 9007, 110, 23, 2174, 757, 112, 20, 106, 30646, 2389, 27494, 20903, 271, 47, 29479, 903, 15296,...
[ 0.1697998046875, 0.189697265625, 0.106689453125, 0.1331787109375, 0.10693359375, 0.162353515625, 0.0762939453125, 0.029144287109375, 0.1844482421875, 0.1171875, 0.10748291015625, 0.2061767578125, 0.266845703125, 0.05560302734375, 0.260498046875, 0.1590576171875, 0.1680908203125, 0....
embed
63293631_c0
63293631
elixir
0
Title: Ecto - Select an array field from a postgresql database Problem title: Ecto - Select an array field from a postgresql database Tags: ecto, elixir, postgresql Problem: Ecto - Select an array field from a postgresql database query: SELECT DISTINCT ON (s2."id") json_agg( DISTINCT (p0."id", p0."name", p0."brand", p0...
Ecto - Select an array field from a postgresql database Ecto - Select an array field from a postgresql database ecto elixir postgresql Postgrex.Error a p Ecto Select shop_id create_unique_shop_query_no_keyword shop_ids products_shops_categories Product ProductShop p.id ps.p_id Shop s.id ps.s_id ProductCategory pc.p_id ...
[ 0.01251220703125, 0.000263214111328125, 0.00445556640625, 0.00750732421875, -0.0040283203125, -0.015869140625, -0.0269775390625, -0.00946044921875, 0.0211181640625, -0.0172119140625, 0.0145263671875, 0.0302734375, -0.00823974609375, -0.005035400390625, 0.0002994537353515625, -0.0061950...
[ 241, 44150, 51620, 10298, 53, 44457, 1295, 1305, 17562, 99247, 63399, 60751, 15296, 38308, 2795, 7134, 425, 18468, 31611, 10, 915, 19927, 532, 28282, 34, 45602, 10534, 944, 157, 47416, 30185, 38742, 240153, 73111, 78959, 24014, 24211, 91, 3...
[ 0.11376953125, 0.302001953125, 0.18310546875, 0.1650390625, 0.0723876953125, 0.21826171875, 0.044464111328125, 0.040130615234375, 0.13818359375, 0.1534423828125, 0.1368408203125, 0.2362060546875, 0.082275390625, 0.196533203125, 0.018524169921875, 0.1207275390625, 0.0736083984375, 0...
embed
51151707_c0
51151707
elixir
0
Title: Stripe-Elixir How to get &quot;payment source&quot; Problem title: Stripe-Elixir How to get &quot;payment source&quot; Tags: elixir, phoenix-framework, stripe-elixir, stripe.js Problem: Stripe-Elixir How to get "payment source" I am using this package to incorporate Stripe into a phoenix app: https://github.com/...
Stripe-Elixir How to get &quot;payment source&quot; Stripe-Elixir How to get &quot;payment source&quot; elixir phoenix-framework stripe-elixir stripe.js Stripe-Elixir How StripeTestWeb.PaymentController StripeTestWeb Stripe.API _params customer_data Stripe.Customer.create Stripe.Subscription.create plan_D9JehUOiyPGtgp ...
[ 0.00958251953125, 0.0167236328125, -0.004364013671875, -0.0281982421875, 0.0045166015625, 0.00148773193359375, 0.000148773193359375, 0.007476806640625, 0.00933837890625, -0.04248046875, 0.0045166015625, 0.03857421875, -0.0191650390625, 0.0167236328125, -0.0032806396484375, 0.0109252929...
[ 126165, 13, 647, 150, 38308, 11249, 2046, 21284, 674, 31344, 15296, 53073, 33, 4084, 160328, 43613, 6169, 28175, 111337, 30474, 104709, 175904, 74220, 2500, 43373, 10135, 63749, 7612, 96472, 59478, 1774, 78872, 63262, 177953, 45188, 51584, 2500...
[ 0.258544921875, 0.211669921875, 0.061431884765625, 0.1068115234375, 0.2498779296875, 0.027130126953125, 0.0919189453125, 0.1732177734375, 0.129638671875, 0.251708984375, 0.0904541015625, 0.04486083984375, 0.0625, 0.1263427734375, 0.048065185546875, 0.2275390625, 0.09613037109375, 0...
embed
74034432_c2
74034432
elixir
2
: 0, quota_sec: 1, quota_state: "VIGENTE", start_date: ~U[2020-03-06 00:00:00Z] }, %{ balance_sub_code: "123456789ABCDEF", bill_number: "0", delayed_quota_history_days: 0, due_date: ~U[2020-03-25 00:00:00Z], inte_adjust: "A", loan_code: "999-399-06-00-00002", payment_date: ~U[1970-01-01 00:00:00Z], plan_number: 0, prev...
: 0, quota_sec: 1, quota_state: "VIGENTE", start_date: ~U[2020-03-06 00:00:00Z] }, %{ balance_sub_code: "123456789ABCDEF", bill_number: "0", delayed_quota_history_days: 0, due_date: ~U[2020-03-25 00:00:00Z], inte_adjust: "A", loan_code: "999-399-06-00-00002", payment_date: ~U[1970-01-01 00:00:00Z], plan_number: 0, prev...
[ -0.00180816650390625, 0.0002841949462890625, -0.00634765625, -0.00872802734375, 0.0260009765625, -0.017333984375, 0.000957489013671875, -0.0003204345703125, 0.035888671875, 0.0023040771484375, -0.02001953125, -0.0038909912109375, 0.00946044921875, 0.01806640625, -0.01385498046875, -0.0...
[ 152, 757, 4, 81732, 39797, 106, 454, 61340, 11839, 724, 64018, 4034, 17489, 6780, 1062, 49409, 37151, 9016, 110095, 6632, 1511, 268, 51912, 1745, 40197, 22144, 40899, 12, 190875, 13683, 153781, 186944, 202001, 830, 54727, 2606, 2389, 8, 525...
[ 0.034881591796875, 0.1591796875, 0.00433349609375, 0.29052734375, 0.19580078125, 0.106201171875, 0.012420654296875, 0.1763916015625, 0.1396484375, 0.1448974609375, 0.231689453125, 0.1695556640625, 0.12890625, 0.00286865234375, 0.0638427734375, 0.18408203125, 0.1552734375, 0.1273193...
embed
36354376_c0
36354376
elixir
0
Title: Unable to pass correctly an argument in a template Problem title: Unable to pass correctly an argument in a template Tags: elixir, phoenix-framework Problem: Unable to pass correctly an argument in a template I have this inside "web/templates/module/headerHC.html.eex": <%= for element <- MyProject.PageView.Recur...
Unable to pass correctly an argument in a template Unable to pass correctly an argument in a template elixir phoenix-framework Unable MyProject.PageView.Recursion.buildElements header_linkNumber FabricaASA.ModuleView headerHC.html header_class Recursion MyProject.ModuleView.header_linkNumber __aliases__ Unable to pass ...
[ -0.0238037109375, 0.007293701171875, -0.005157470703125, -0.00531005859375, 0.00628662109375, 0.007598876953125, -0.005584716796875, 0.00244140625, 0.01165771484375, -0.061279296875, -0.01080322265625, -0.052001953125, 0.0191650390625, 0.032470703125, 0.016357421875, -0.0079345703125, ...
[ 992, 2886, 27875, 26785, 10750, 23, 110934, 15296, 38308, 53073, 33, 4084, 160328, 2646, 223353, 147101, 100474, 4332, 48650, 1830, 177149, 19929, 10336, 56, 10187, 18444, 41351, 12056, 30106, 8782, 73265, 7693, 67413, 165428, 42, 6889, 91616, ...
[ 0.050445556640625, 0.1619873046875, 0.1676025390625, 0.1986083984375, 0.26611328125, 0.1212158203125, 0.2841796875, 0.07220458984375, 0.188232421875, 0.048583984375, 0.059112548828125, 0.118408203125, 0.089599609375, 0.0404052734375, 0.1590576171875, 0.07781982421875, 0.234130859375,...
embed
23391665_c0
23391665
elixir
0
Title: Can&#x27;t get the environment variables in Elixir project Problem title: Can&#x27;t get the environment variables in Elixir project Tags: elixir, elixir-mix Problem: Can't get the environment variables in Elixir project I defined a environment variable related to the guide-started , my mix.exs is defmodule Basi...
Can&#x27;t get the environment variables in Elixir project Can&#x27;t get the environment variables in Elixir project elixir elixir-mix Can Elixir Basic.Mixfile Mix.Project Configuration OTP Type compile.app Basic List github.com foobar.git MIX_ENV application.get_env application.get_all_env included_applications Can't...
[ -0.01708984375, 0.01019287109375, -0.007720947265625, 0.0191650390625, 0.01092529296875, -0.0093994140625, -0.0093994140625, 0.00970458984375, -0.00286865234375, -0.00311279296875, 0.0048828125, 0.00921630859375, -0.000957489013671875, 0.043701171875, -0.00063323974609375, -0.000143051...
[ 4171, 3768, 18, 2046, 65998, 77336, 7, 25318, 38308, 13452, 15296, 62015, 91692, 594, 4084, 29822, 37286, 223353, 59994, 180, 23658, 60457, 9969, 1340, 9007, 32036, 62270, 32102, 5775, 1299, 15769, 276, 21487, 11572, 856, 38415, 3794, 33, 3...
[ 0.06231689453125, 0.04815673828125, 0.05902099609375, 0.1395263671875, 0.211669921875, 0.275146484375, 0.06866455078125, 0.131103515625, 0.25634765625, 0.1397705078125, 0.0751953125, 0.20751953125, 0.13623046875, 0.052215576171875, 0.0849609375, 0.164306640625, 0.1737060546875, 0.0...
embed
53491469_c0
53491469
elixir
0
Title: Converting external strings to atoms Problem title: Converting external strings to atoms Tags: phoenix-framework, elixir Problem: Converting external strings to atoms On p. 25 in "Programming Phoenix 1.4 (ebook, beta)", there is an aside by Chris McCord that says: In the world action in our controllers, the exte...
Converting external strings to atoms Converting external strings to atoms phoenix-framework elixir Converting Converting external strings to atoms On p. 25 in "Programming Phoenix 1.4 (ebook, beta)", there is an aside by Chris McCord that says: Paraphrasing, the quote says: Huh? I think what he is trying to say is that...
[ 0.00830078125, -0.005096435546875, -0.00469970703125, 0.00653076171875, -0.000782012939453125, 0.0146484375, -0.005035400390625, 0.00830078125, -0.00194549560546875, -0.01190185546875, 0.014892578125, -0.00958251953125, 0.0244140625, 0.035888671875, 0.017822265625, 0.00811767578125, ...
[ 1657, 814, 1916, 173591, 79315, 7, 47, 34627, 53073, 33, 4084, 160328, 18244, 15296, 38308, 714, 172895, 133720, 48733, 14137, 51703, 8752, 31745, 85283, 6651, 179665, 66747, 145074, 5351, 31577, 25379, 1647, 1681, 2053, 678, 805, 19879, 9169...
[ 0.0623779296875, 0.1610107421875, 0.04144287109375, 0.225341796875, 0.27685546875, 0.058807373046875, 0.125, 0.271484375, 0.0226898193359375, 0.05401611328125, 0.1383056640625, 0.0880126953125, 0.0253448486328125, 0.09417724609375, 0.255615234375, 0.06396484375, 0.099365234375, 0.2...
embed
54622264_c0
54622264
elixir
0
Title: Connection refused when running mix ecto.setup command, packages installed with asdf Problem title: Connection refused when running mix ecto.setup command, packages installed with asdf Tags: asdf-vm, elixir, graphql, postgresql Problem: Connection refused when running mix ecto.setup command, packages installed w...
Connection refused when running mix ecto.setup command, packages installed with asdf Connection refused when running mix ecto.setup command, packages installed with asdf asdf-vm elixir graphql postgresql Connection ecto.setup Connection refused when running mix ecto.setup command, packages installed with asdf I'm tryin...
[ 0.007293701171875, 0.0162353515625, 0.007415771484375, 0.0103759765625, 0.0024261474609375, -0.001312255859375, -0.028564453125, -0.0301513671875, -0.0020904541015625, -0.031982421875, -0.006195068359375, -0.0224609375, 0.0206298828125, 0.0177001953125, 0.01019287109375, 0.011779785156...
[ 62448, 1830, 128120, 71, 51042, 17664, 60751, 3509, 2037, 75101, 98169, 20600, 678, 237, 420, 334, 39, 15296, 38308, 41382, 99247, 1305, 17562, 5, 28960, 6524, 11727, 2737, 866, 57143, 11814, 72, 3066, 19138, 14137, 29954, 11675, 25632, 184...
[ 0.1689453125, 0.02496337890625, 0.201416015625, 0.03509521484375, 0.04229736328125, 0.2294921875, 0.2252197265625, 0.107666015625, 0.09442138671875, 0.11767578125, 0.16015625, 0.10333251953125, 0.038604736328125, 0.034210205078125, 0.1676025390625, 0.015289306640625, 0.04183959960937...
embed
42826918_c0
42826918
elixir
0
Title: Display values from list of structs in Elixir / EEx Problem title: Display values from list of structs in Elixir / EEx Tags: elixir, loops, phoenix-framework Problem: Display values from list of structs in Elixir / EEx I have a list of structs in elixir and I want to loop over them to display the values from eac...
Display values from list of structs in Elixir / EEx Display values from list of structs in Elixir / EEx elixir loops phoenix-framework list Display Elixir EEx InvoiceApplication.Billing.LineItem __meta__ Ecto.Schema.Metadata billing_line_items currency_type currency_value inserted_at Ecto.Association.NotLoaded invoice_...
[ 0.0167236328125, -0.027099609375, 0.00885009765625, -0.018798828125, 0.01080322265625, 0.0140380859375, -0.0026092529296875, 0.0142822265625, 0.0247802734375, 0.0113525390625, 0, -0.00506591796875, 0.0169677734375, -0.00086212158203125, 0.0172119140625, 0.00701904296875, 0.0116577148...
[ 90045, 142424, 1295, 5303, 111, 36716, 7, 25318, 38308, 241, 19279, 23, 15296, 40956, 53073, 33, 4084, 160328, 18244, 360, 965, 182867, 192948, 93232, 2982, 35273, 44150, 102, 2193, 2069, 2256, 1486, 226649, 50986, 27494, 183540, 214813, 1221...
[ 0.1737060546875, 0.214599609375, 0.1156005859375, 0.162353515625, 0.0295562744140625, 0.2247314453125, 0.0684814453125, 0.1046142578125, 0.239501953125, 0.09625244140625, 0.1990966796875, 0.037506103515625, 0.06890869140625, 0.171142578125, 0.00628662109375, 0.050872802734375, 0.0999...
embed
71009489_c1
71009489
elixir
1
e1f -tls1_3 -ciphersuites TLS_AES_128_GCM_SHA256 This application compiles, and when you run the server and connect a client the following message occurs: ** (exit) exited in: :gen_statem.call(#PID<0.187.0>, {:start, :infinity}, :infinity) ** (EXIT) an exception was raised: ** (MatchError) no match of right hand side v...
e1f -tls1_3 -ciphersuites TLS_AES_128_GCM_SHA256 This application compiles, and when you run the server and connect a client the following message occurs: ** (exit) exited in: :gen_statem.call(#PID<0.187.0>, {:start, :infinity}, :infinity) ** (EXIT) an exception was raised: ** (MatchError) no match of right hand side v...
[ -0.00897216796875, -0.006103515625, -0.005889892578125, -0.00836181640625, -0.0184326171875, -0.0062255859375, -0.006195068359375, -0.0035858154296875, -0.000553131103515625, 0.000720977783203125, 0.0189208984375, -0.003265380859375, 0.0086669921875, 0.01251220703125, 0.01708984375, -0...
[ 28, 420, 8080, 363, 94266, 68879, 90, 20602, 294, 6706, 81764, 36498, 67619, 127892, 38415, 9969, 1340, 3229, 11675, 10723, 37067, 23282, 25632, 26008, 74918, 16459, 13, 23399, 82230, 23, 1409, 7, 138776, 85763, 7146, 102014, 1019, 129884, ...
[ 0.017913818359375, 0.07147216796875, 0.142578125, 0.075439453125, 0.101806640625, 0.125732421875, 0.0687255859375, 0.1693115234375, 0.095703125, 0.0926513671875, 0.1668701171875, 0.1236572265625, 0.029632568359375, 0.1796875, 0.16552734375, 0.135986328125, 0.170654296875, 0.0324096...
embed
25086697_c0
25086697
elixir
0
Title: How To Send IO To An Erlang Port? Problem title: How To Send IO To An Erlang Port? Tags: spawn, elixir, port Problem: How To Send IO To An Erlang Port? I'm trying to hack together a little CLI for Windows and, inspired by James Smith's Elixirconf talk, I was trying to use a Port to drive the interaction. So this...
How To Send IO To An Erlang Port? How To Send IO To An Erlang Port? spawn elixir port #PID How Send Erlang Port Interactive Elixir Ctrl ENTER Port.open stderr_to_stdout exit_status Note EXIT PID How To Send IO To An Erlang Port? I'm trying to hack together a little CLI for Windows and, inspired by James Smith's Elixirc...
[ -0.007537841796875, 0.0167236328125, -0.011474609375, 0.01531982421875, -0.0086669921875, 0.0040283203125, -0.02490234375, -0.0172119140625, -0.00080108642578125, -0.01708984375, 0.0211181640625, 0.00136566162109375, 0.02197265625, 0.0272216796875, 0.0052490234375, 0.0089111328125, -...
[ 11249, 717, 24044, 17780, 1004, 3066, 13791, 893, 5623, 7710, 15296, 38308, 11469, 683, 7146, 5337, 71232, 25318, 68847, 116563, 59636, 6138, 42, 188, 271, 1003, 82230, 45215, 18622, 29426, 6371, 436, 85526, 25842, 10176, 10927, 3773, 191722,...
[ 0.09124755859375, 0.1510009765625, 0.1805419921875, 0.2418212890625, 0.1529541015625, 0.319091796875, 0.2236328125, 0.0215606689453125, 0.133544921875, 0.12548828125, 0.047149658203125, 0.223388671875, 0.1722412109375, 0.013092041015625, 0.10595703125, 0.0931396484375, 0.012115478515...
embed
33777594_c0
33777594
elixir
0
Title: (BadArityError) why its throwing error? Problem title: (BadArityError) why its throwing error? Tags: elixir Problem: (BadArityError) why its throwing error? Simple elixir program to separate out odd and even numbers and then printing those. iex(22)> c("testmap.ex") testmap.ex:1: warning: redefining module TestMo...
(BadArityError) why its throwing error? (BadArityError) why its throwing error? elixir BadArityError testmap.ex testmap.ex:1 TestModule TestModule.test_map_reduce TestModule.pretty_print enum.ex:1047 Enum.map lists.erl:1262 lists.foldl test_map_reduce Enum.reduce Map.put pretty_print number_map IO.inspect (BadArityErro...
[ -0.0240478515625, -0.012939453125, -0.015380859375, -0.01806640625, -0.00173187255859375, 0.0140380859375, -0.00946044921875, -0.0081787109375, 0.00011587142944335938, 0.006195068359375, 0.00848388671875, -0.0274658203125, 0.026123046875, 0.0262451171875, 0.019775390625, -0.00891113281...
[ 157027, 7614, 2481, 18468, 31611, 15400, 6863, 104250, 214, 18499, 15296, 38308, 12745, 3034, 62346, 3355, 19721, 8647, 91616, 8782, 5, 6954, 106357, 56359, 939, 35662, 316, 13330, 357, 5303, 10837, 42822, 141, 107, 42719, 28875, 14012, 17780...
[ 0.12158203125, 0.1556396484375, 0.173095703125, 0.1097412109375, 0.1058349609375, 0.140869140625, 0.134033203125, 0.200439453125, 0.1116943359375, 0.2178955078125, 0.064453125, 0.2095947265625, 0.1336669921875, 0.1405029296875, 0.1962890625, 0.154541015625, 0.05999755859375, 0.0897...
embed
70272339_c0
70272339
elixir
0
Title: Update record in Elixir using Ecto Problem title: Update record in Elixir using Ecto Tags: ecto, elixir, phoenix-framework Problem: Update record in Elixir using Ecto I need to update, table 1 with a primary key of table2, Table1 = Redis_server Table2 = User_server Code def update_redis_server(redis_server, user...
Update record in Elixir using Ecto Update record in Elixir using Ecto ecto elixir phoenix-framework Ecto.NoPrimaryKeyValueError Ecto Update Elixir update_redis_server redis_server redis_server.id user_id user.id RedisServer Repo.preload RedisServer.changeset IO.inspect Repo.update ChangeSet Inspect AAK.POS.HelperFuncti...
[ -0.01123046875, 0.0030364990234375, 0.0078125, 0.007354736328125, 0.0169677734375, 0.00775146484375, -0.03271484375, 0.003936767578125, -0.001312255859375, 0.00164794921875, 0.0098876953125, 0.01239013671875, 0.027587890625, 0.004150390625, 0.027099609375, -0.01214599609375, 0.002593...
[ 28641, 17164, 25318, 38308, 17368, 241, 44150, 60751, 15296, 33, 4084, 160328, 5021, 145111, 6635, 162429, 856, 50770, 18468, 28350, 107, 3827, 39642, 4842, 164, 38937, 6096, 193348, 853, 771, 4692, 63033, 152028, 3509, 17780, 16711, 117008, ...
[ 0.179443359375, 0.212890625, 0.126220703125, 0.2490234375, 0.07684326171875, 0.0975341796875, 0.26953125, 0.2127685546875, 0.07550048828125, 0.015869140625, 0.1009521484375, 0.07208251953125, 0.0546875, 0.075439453125, 0.00726318359375, 0.1058349609375, 0.04315185546875, 0.08380126...
embed
40422655_c0
40422655
elixir
0
Title: Elixir: extract element from nested lists Problem title: Elixir: extract element from nested lists Tags: elixir Problem: Elixir: extract element from nested lists I have the following JSON file with some mixed data. For example, I want to extract from social_link link for Facebook. [ [ "social_links", [ { "image...
Elixir: extract element from nested lists Elixir: extract element from nested lists elixir nested Elixir social_link social_links example.com facebook.svg www.facebook.com Example Facebook twitter.svg twitter.com Twitter linkedin.svg www.linkedin.com Linkedin rounded_googleplus.svg plus.google.com Google Plus JSON.pars...
[ 0.0018463134765625, 0.03369140625, -0.01092529296875, 0.0245361328125, 0.0089111328125, 0.02099609375, 0.01806640625, 0.005035400390625, 0.00170135498046875, -0.020751953125, -0.005401611328125, -0.0262451171875, -0.006988525390625, 0.0205078125, 0.00286865234375, 0.006072998046875, ...
[ 25318, 38308, 125663, 12830, 1295, 8512, 71, 5303, 12, 15296, 2265, 10187, 27781, 10899, 67756, 32314, 89536, 1431, 34776, 3610, 73, 12779, 297, 68807, 32108, 1001, 59875, 1815, 8183, 821, 58627, 2500, 1096, 1495, 7, 100184, 25632, 11435, 1...
[ 0.1646728515625, 0.29150390625, 0.2244873046875, 0.19189453125, 0.10186767578125, 0.2406005859375, 0.1572265625, 0.21875, 0.012054443359375, 0.1134033203125, 0.131591796875, 0.1717529296875, 0.10418701171875, 0.1444091796875, 0.106689453125, 0.1124267578125, 0.049407958984375, 0.17...
embed
45825409_c2
45825409
elixir
2
["json"] plug Guardian.Plug.VerifyHeader end scope "/api", MyApp do pipe_through :api scope "/v1" do post "/sessions", SessionsController, :create end end ... # web/controllers/session_controller.ex defmodule MyApp.SessionsController do use MyApp.Web, :controller alias MyApp.{Repo, User} plug :scrub_params, "session" ...
["json"] plug Guardian.Plug.VerifyHeader end scope "/api", MyApp do pipe_through :api scope "/v1" do post "/sessions", SessionsController, :create end end ... # web/controllers/session_controller.ex defmodule MyApp.SessionsController do use MyApp.Web, :controller alias MyApp.{Repo, User} plug :scrub_params, "session" ...
[ 0.0036773681640625, 0.0142822265625, -0.01806640625, -0.00982666015625, -0.017578125, 0.00897216796875, -0.007049560546875, -0.00958251953125, -0.020263671875, -0.031494140625, -0.005767822265625, 0.011474609375, -0.003631591796875, 0.00016021728515625, -0.01171875, 0.006439208984375, ...
[ 170, 1681, 268, 76329, 81589, 5, 35159, 15896, 40383, 13025, 38970, 3564, 70820, 40897, 2646, 39179, 54, 137158, 222521, 6, 334, 418, 1305, 169234, 148735, 7, 175904, 7612, 2182, 1467, 81988, 603, 3355, 8, 420, 83279, 294, 90, 63239, 4527...
[ 0.134033203125, 0.187744140625, 0.012908935546875, 0.238037109375, 0.27587890625, 0.03680419921875, 0.201171875, 0.2159423828125, 0.193359375, 0.1851806640625, 0.1669921875, 0.099853515625, 0.169921875, 0.121826171875, 0.1368408203125, 0.2374267578125, 0.0283203125, 0.13671875, 0...
embed
40462964_c0
40462964
elixir
0
Title: Preload nested associations in ecto Problem title: Preload nested associations in ecto Tags: elixir, ecto Problem: Preload nested associations in ecto I have 4 models, which are associated as Form has_many :form_fields, FormField, on_delete: :delete_all has_many :fields, through: [:form_fields, :field] has_many ...
Preload nested associations in ecto Preload nested associations in ecto elixir ecto Preload has_many form_fields FormField on_delete delete_all Condition belongs_to Form Field form_id field_id Preload nested associations in ecto I have 4 models, which are associated as Form Field FormField Condition I want to write a q...
[ -0.02490234375, 0.00970458984375, -0.0255126953125, 0.0140380859375, -0.00286865234375, -0.000698089599609375, 0.00982666015625, -0.00469970703125, 0.0101318359375, -0.06494140625, -0.000560760498046875, -0.01171875, -0.004425048828125, 0.01385498046875, 0.01129150390625, -0.0145874023...
[ 1914, 63033, 8512, 71, 151747, 60751, 23, 15296, 38308, 1556, 669, 53, 3173, 28394, 15236, 6159, 19388, 98, 8520, 67, 154109, 5584, 46347, 10617, 117657, 532, 44457, 765, 201, 115774, 137272, 3444, 33022, 41, 2046, 124901, 3447, 51529, 3323...
[ 0.135498046875, 0.273681640625, 0.2177734375, 0.048919677734375, 0.1905517578125, 0.23388671875, 0.005523681640625, 0.06085205078125, 0.1890869140625, 0.020233154296875, 0.051849365234375, 0.043243408203125, 0.250244140625, 0.2119140625, 0.20458984375, 0.1348876953125, 0.161010742187...
embed
33906315_c0
33906315
elixir
0
Title: Elixir Ecto adding computed value only on create Problem title: Elixir Ecto adding computed value only on create Tags: phoenix-framework, elixir, ecto Problem: Elixir Ecto adding computed value only on create What is the best practice approach for adding a computed value on create/insert? Should I create a uniqu...
Elixir Ecto adding computed value only on create Elixir Ecto adding computed value only on create phoenix-framework elixir ecto Elixir Ecto MyBlog.Post MyBlog.Web title_slug required_fields optional_fields create_changeset generate_title_slug put_change __some_slug_generation_code__ update_changeset Elixir Ecto adding ...
[ 0.0137939453125, -0.00014400482177734375, 0.0174560546875, -0.00014019012451171875, 0.003936767578125, 0.01092529296875, -0.0159912109375, -0.010986328125, 0.019287109375, -0.019287109375, -0.009765625, 0.01953125, 0.001434326171875, 0.016357421875, 0.00665283203125, 0.007659912109375,...
[ 25318, 38308, 241, 44150, 154107, 375, 7077, 34292, 4734, 98, 28282, 53073, 33, 4084, 160328, 18244, 15296, 6, 60751, 2646, 94561, 30474, 44759, 35159, 56065, 28394, 35829, 152028, 3509, 139392, 5440, 3884, 48281, 40899, 28350, 2965, 41361, 5...
[ 0.10107421875, 0.202880859375, 0.108154296875, 0.269287109375, 0.190185546875, 0.09320068359375, 0.2109375, 0.2349853515625, 0.10101318359375, 0.0955810546875, 0.216552734375, 0.0203857421875, 0.05194091796875, 0.1300048828125, 0.10064697265625, 0.00213623046875, 0.05029296875, 0.0...
embed
59245277_c1
59245277
elixir
1
webpack'); const { CleanWebpackPlugin } = require('clean-webpack-plugin'); const mainPath = path.resolve('angular', 'src', 'app') const mainEntryFile = path.join(mainPath, 'main.ts') const HtmlWebpackPlugin = require("html-webpack-plugin") const helpers = require('./helpers') module.exports = (env, options) => ({ optim...
webpack'); const { CleanWebpackPlugin } = require('clean-webpack-plugin'); const mainPath = path.resolve('angular', 'src', 'app') const mainEntryFile = path.join(mainPath, 'main.ts') const HtmlWebpackPlugin = require("html-webpack-plugin") const helpers = require('./helpers') module.exports = (env, options) => ({ optim...
[ -0.027099609375, 0.006500244140625, -0.00946044921875, -0.0201416015625, -0.01153564453125, 0.0157470703125, 0.005157470703125, -0.00994873046875, 0.01611328125, -0.015625, -0.031494140625, 0.01470947265625, 0.01214599609375, 0.02978515625, -0.010986328125, 0.00885009765625, -0.00738...
[ 1467, 29102, 3142, 158, 271, 73133, 30474, 683, 35159, 73, 64209, 11030, 66, 14051, 145301, 5201, 10519, 60875, 107, 86918, 1463, 35975, 19437, 9007, 7768, 15123, 174350, 513, 24931, 933, 18, 7237, 7693, 4358, 1314, 73866, 88996, 180758, 33...
[ 0.1400146484375, 0.3173828125, 0.0225372314453125, 0.0452880859375, 0.1102294921875, 0.26123046875, 0.1259765625, 0.1314697265625, 0.19091796875, 0.1505126953125, 0.1864013671875, 0.1912841796875, 0.208984375, 0.098876953125, 0.1871337890625, 0.10748291015625, 0.1973876953125, 0.16...
embed
71855241_c0
71855241
elixir
0
Title: genserver implementation to open redis state Problem title: genserver implementation to open redis state Tags: gen-server, elixir Problem: genserver implementation to open redis state I want to open a Redis connection and I have written a code something like this for persistent connection within the system. The ...
genserver implementation to open redis state genserver implementation to open redis state gen-server elixir RuntimeError #PID start_link __MODULE__ GenServer.start_link Keyword.merge handle_info _conn localhost:6379 Redix.start_link IO.inspect Process.monitor conn.pid Process.send_after reconnect_interval Redix.command...
[ -0.0206298828125, 0.00518798828125, -0.0004444122314453125, 0.005828857421875, 0.00372314453125, -0.0107421875, -0.0123291015625, -0.01116943359375, -0.01336669921875, -0.02783203125, 0.004669189453125, -0.01104736328125, 0.0250244140625, 0.00543212890625, -0.00093841552734375, 0.00799...
[ 9226, 39642, 208124, 47, 9803, 4842, 164, 11341, 15296, 38308, 28398, 6032, 18468, 31611, 683, 7146, 4034, 10187, 12013, 397, 15937, 193348, 17137, 189755, 1991, 34831, 7319, 2271, 4000, 40294, 141520, 6096, 4084, 17780, 16711, 123996, 167277, ...
[ 0.1700439453125, 0.226318359375, 0.1915283203125, 0.045257568359375, 0.178466796875, 0.15966796875, 0.1663818359375, 0.1490478515625, 0.09600830078125, 0.203857421875, 0.0772705078125, 0.08447265625, 0.1180419921875, 0.103759765625, 0.099609375, 0.2032470703125, 0.12109375, 0.17980...
embed
79547443_c1
79547443
elixir
1
The updated hook runs after the DOM update, and the event arrives too late, causing timing issues. Performance also concerns me. Ditching DataTables for a Native Solution Idea: Use a Phoenix-native table library or custom implementation. Issue: DataTables.js is heavily used in this project, and replacing it risks brea...
The updated hook runs after the DOM update, and the event arrives too late, causing timing issues. Performance also concerns me. Ditching DataTables for a Native Solution Idea: Use a Phoenix-native table library or custom implementation. Issue: DataTables.js is heavily used in this project, and replacing it risks brea...
[ -0.01141357421875, 0.0169677734375, 0.005126953125, -0.0159912109375, 0.00506591796875, 0.006256103515625, 0.00164031982421875, 0.01434326171875, -0.01177978515625, -0.015869140625, -0.005401611328125, -0.00616455078125, -0.0157470703125, 0.0198974609375, -0.01953125, 0.00177001953125,...
[ 150011, 150522, 127877, 7103, 69285, 28350, 4, 19732, 54410, 7, 5792, 72399, 216806, 5527, 214, 37348, 94030, 50509, 3011, 59207, 11809, 618, 19736, 353, 4935, 187895, 77298, 36836, 133720, 76, 23180, 35773, 114122, 208124, 223317, 28175, 17305...
[ 0.186279296875, 0.24365234375, 0.1273193359375, 0.111572265625, 0.183837890625, 0.1812744140625, 0.000640869140625, 0.148193359375, 0.1229248046875, 0.00067138671875, 0.0802001953125, 0.18310546875, 0.0399169921875, 0.1593017578125, 0.036041259765625, 0.1077880859375, 0.1265869140625...
embed
37981287_c0
37981287
elixir
0
Title: Why use do/else keywords to if in Elixir? Problem title: Why use do/else keywords to if in Elixir? Tags: elixir Problem: Why use do/else keywords to if in Elixir? Been working on learning Elixir, and I'm a little curious about the different ways of doing a single-line if/else. I started with... if left_side_wins...
Why use do/else keywords to if in Elixir? Why use do/else keywords to if in Elixir? elixir Why Elixir left_side_wins Humanity Machine print_winner Why use do/else keywords to if in Elixir? Been working on learning Elixir, and I'm a little curious about the different ways of doing a single-line if/else. I started with.....
[ 0.0057373046875, 0.002655029296875, 0.00396728515625, 0.020263671875, 0.0011749267578125, -0.0040283203125, 0.01031494140625, -0.0081787109375, -0.000579833984375, -0.008056640625, 0.0242919921875, -0.018310546875, 0.01202392578125, 0.0198974609375, 0.00125885009765625, 0.009765625, ...
[ 44084, 4527, 54, 64, 5557, 166117, 7, 47, 2174, 23, 25318, 38308, 15296, 25737, 8752, 9494, 135493, 53, 68311, 28412, 1679, 20697, 52080, 193844, 12921, 48322, 20594, 11001, 2256, 26859, 678, 153, 137158, 370, 8705, 155965, 100, 40101, 1596...
[ 0.1375732421875, 0.1229248046875, 0.152099609375, 0.09527587890625, 0.253173828125, 0.1905517578125, 0.07806396484375, 0.03741455078125, 0.2303466796875, 0.05621337890625, 0.10076904296875, 0.2462158203125, 0.05657958984375, 0.1046142578125, 0.1412353515625, 0.14697265625, 0.12268066...
embed
32923613_c0
32923613
elixir
0
Title: ArgumentError: binary.split/3 in authentication with phoenix Problem title: ArgumentError: binary.split/3 in authentication with phoenix Tags: elixir, phoenix-framework, authentication Problem: ArgumentError: binary.split/3 in authentication with phoenix I am using addict with phoenix for user authentication. I ...
ArgumentError: binary.split/3 in authentication with phoenix ArgumentError: binary.split/3 in authentication with phoenix elixir phoenix-framework authentication ArgumentError binary.split POST lg_email lg_password data.responseText.toSource data.responseText PID MyApp.Endpoint Server localhost:4000 Request binary.erl:...
[ -0.00171661376953125, 0.017578125, -0.0108642578125, -0.010986328125, -0.0244140625, 0.0128173828125, -0.0162353515625, 0.001983642578125, -0.0120849609375, -0.0322265625, 0.006561279296875, -0.01177978515625, 0.0115966796875, 0.029052734375, 0.006378173828125, -0.01007080078125, 0.0...
[ 112140, 18468, 31611, 2394, 6635, 7008, 4353, 18113, 195734, 2320, 678, 53073, 33, 4084, 23, 15296, 38308, 160328, 18244, 81903, 177, 25501, 454, 13409, 2053, 5, 134719, 13, 174379, 188, 211235, 436, 7146, 2646, 39179, 152378, 38496, 22687, ...
[ 0.251220703125, 0.1776123046875, 0.1217041015625, 0.180419921875, 0.17138671875, 0.07684326171875, 0.2061767578125, 0.2271728515625, 0.189208984375, 0.06585693359375, 0.12060546875, 0.1099853515625, 0.146728515625, 0.1478271484375, 0.05126953125, 0.075927734375, 0.207275390625, 0.0...
embed
78603462_c0
78603462
elixir
0
Title: How to test a Phoenix application with Bypass? Problem title: How to test a Phoenix application with Bypass? Tags: bypass, elixir, phoenix-live-view Problem: How to test a Phoenix application with Bypass? Background I have a Phoenix application, freshly created. This app has an endpoint that makes a request to a...
How to test a Phoenix application with Bypass? How to test a Phoenix application with Bypass? bypass elixir phoenix-live-view HTTPoison.Error How Phoenix Bypass MyApp.ApplicationTest ExUnit.Case HTTPoison external_service_port Bypass.open Bypass.expect_once GET Plug.Conn.resp Rate MyApp.Application.start IO.inspect APP...
[ -0.013427734375, 0.0106201171875, 0.01312255859375, -0.00140380859375, 0.00113677978515625, 0.0023651123046875, -0.01226806640625, -0.03125, -0.00075531005859375, -0.0126953125, 0.003265380859375, 0.0225830078125, 0.0272216796875, 0.0198974609375, 0.0218505859375, -0.00909423828125, ...
[ 11249, 47, 3034, 133720, 38415, 678, 3311, 13409, 32, 10, 390, 15296, 38308, 53073, 33, 4084, 24056, 22751, 135913, 31, 40514, 18468, 2646, 39179, 47677, 182867, 111337, 5443, 85600, 173591, 22584, 6982, 59636, 83613, 79794, 194351, 11935, 13...
[ 0.088134765625, 0.0538330078125, 0.244384765625, 0.2861328125, 0.2164306640625, 0.11669921875, 0.166015625, 0.236328125, 0.00567626953125, 0.0233306884765625, 0.1380615234375, 0.053131103515625, 0.1671142578125, 0.123779296875, 0.1090087890625, 0.1533203125, 0.163330078125, 0.21191...
embed
36267450_c1
36267450
elixir
1
archive: $ ls c/Users/me/.mix/archives hex-0.9.0.ez kafka_ex-0.5.0.ez I can't figure out how to satisfy the dependencies in my project though. $ mix deps.get $ mix deps * kafka_ex (c:/Users/me/.mix/archives/kafka_ex-0.5.0.ez) the dependency is not available $ iex -S mix Eshell V7.2 (abort with ^G) Unchecked dependenci...
archive: $ ls c/Users/me/.mix/archives hex-0.9.0.ez kafka_ex-0.5.0.ez I can't figure out how to satisfy the dependencies in my project though. $ mix deps.get $ mix deps * kafka_ex (c:/Users/me/.mix/archives/kafka_ex-0.5.0.ez) the dependency is not available $ iex -S mix Eshell V7.2 (abort with ^G) Unchecked dependenci...
[ 0.00201416015625, 0.018310546875, 0.0152587890625, 0.004638671875, 0.00653076171875, 0.004638671875, -0.0186767578125, 0.016357421875, -0.01025390625, 0.00482177734375, 0.00653076171875, -0.015625, 0.007720947265625, 0.020751953125, 0.01025390625, 0.0052490234375, -0.01361083984375, ...
[ 147488, 3650, 96, 1062, 7, 282, 62015, 764, 425, 143161, 2389, 1255, 156, 420, 161, 3355, 23320, 187461, 831, 26366, 40407, 42548, 117538, 13452, 17664, 8, 6423, 3794, 27771, 959, 19882, 17, 241, 128019, 310, 179642, 2055, 19135, 678, 133...
[ 0.23193359375, 0.0367431640625, 0.002288818359375, 0.03680419921875, 0.0615234375, 0.1173095703125, 0.2178955078125, 0.120361328125, 0.16552734375, 0.15576171875, 0.0784912109375, 0.12353515625, 0.101318359375, 0.2098388671875, 0.191162109375, 0.2021484375, 0.059112548828125, 0.203...
embed
35180059_c0
35180059
elixir
0
Title: Detached process does not write to file &amp; rpc call fails with error from connected node Problem title: Detached process does not write to file &amp; rpc call fails with error from connected node Tags: elixir Problem: Detached process does not write to file & rpc call fails with error from connected node I've...
Detached process does not write to file &amp; rpc call fails with error from connected node Detached process does not write to file &amp; rpc call fails with error from connected node elixir connected Detached File.open IO.write file_path Node.connect Node.list rpc.call Log csv_path EXIT Detached process does not write...
[ -0.0002422332763671875, 0.0177001953125, -0.0059814453125, 0.004119873046875, -0.001983642578125, -0.00274658203125, 0.0024566650390625, 0.005462646484375, -0.005401611328125, -0.0137939453125, -0.0164794921875, -0.02734375, -0.00262451171875, 0.0537109375, 0.00885009765625, -0.0028991...
[ 579, 934, 297, 9433, 959, 33022, 47, 11435, 57095, 11782, 35782, 18499, 162711, 110, 112, 15296, 38308, 42724, 59636, 17780, 18781, 128405, 438, 135457, 6562, 85763, 13146, 334, 29426, 1295, 25318, 4027, 83184, 4034, 15490, 149, 35829, 43240,...
[ 0.0970458984375, 0.1888427734375, 0.055206298828125, 0.15283203125, 0.080078125, 0.163818359375, 0.1002197265625, 0.14208984375, 0.095947265625, 0.0963134765625, 0.096435546875, 0.1395263671875, 0.143798828125, 0.1204833984375, 0.138671875, 0.0303955078125, 0.25048828125, 0.1015625...
embed
48829592_c0
48829592
elixir
0
Title: How to use environment variables in a .service script Problem title: How to use environment variables in a .service script Tags: systemd, linux, elixir, bash Problem: How to use environment variables in a .service script I have an elixir project on a linux server. I have created a .service script which will star...
How to use environment variables in a .service script How to use environment variables in a .service script systemd linux elixir bash How my_app Unit Description app_name Service Type User Restart Environment MIX_ENV PORT WorkingDirectory ExecStart phoenix.server Install WantedBy multi-user.target How to use environmen...
[ -0.00537109375, 0.015869140625, -0.02392578125, 0.016845703125, 0.007720947265625, 0.00286865234375, -0.0106201171875, 0.0029144287109375, 0.004638671875, -0.025390625, -0.0005950927734375, 0.0289306640625, 0.00537109375, 0.0279541015625, -0.010986328125, 0.0045166015625, -0.01531982...
[ 11249, 4527, 65998, 77336, 7, 23, 10, 5, 22584, 26499, 47, 5426, 11508, 6077, 15296, 38308, 87109, 759, 9007, 46640, 70643, 4027, 11627, 12349, 60457, 53400, 853, 17137, 686, 1900, 276, 21487, 11572, 856, 122390, 27985, 184911, 3240, 126597...
[ 0.085205078125, 0.17578125, 0.2041015625, 0.2734375, 0.1080322265625, 0.0555419921875, 0.0190582275390625, 0.06787109375, 0.26318359375, 0.251220703125, 0.005645751953125, 0.049652099609375, 0.044342041015625, 0.0726318359375, 0.09197998046875, 0.1981201171875, 0.1707763671875, 0.0...
embed
42611116_c0
42611116
elixir
0
Title: Strange syntax error in with..do..else statement Problem title: Strange syntax error in with..do..else statement Tags: phoenix-framework, elixir Problem: Strange syntax error in with..do..else statement I have a syntax error that I don't know where it comes from. Here is my function (in persona_from_auth.ex): # ...
Strange syntax error in with..do..else statement Strange syntax error in with..do..else statement phoenix-framework elixir SyntaxError Strange with..do..else oauth2 find_or_create Auth check_github_email auth.info.email check_google_email Compilation persona_from_auth.ex persona_from_auth.ex:18 parallel_compiler.ex:117...
[ 0.000576019287109375, 0.01409912109375, -0.0242919921875, 0.003326416015625, -0.005859375, 0.0157470703125, -0.005889892578125, 0.0125732421875, 0.0026092529296875, -0.0255126953125, 0.0021820068359375, -0.01519775390625, 0.002349853515625, 0.0036163330078125, 0.022216796875, -0.000720...
[ 187791, 6002, 86531, 18499, 23, 678, 246, 5, 5557, 63805, 53073, 33, 4084, 160328, 15296, 38308, 19010, 18468, 36, 916, 927, 304, 7413, 748, 7612, 5655, 12765, 15769, 32102, 25501, 531, 15612, 14, 5132, 161063, 3355, 24033, 95103, 58875, ...
[ 0.189208984375, 0.135009765625, 0.1898193359375, 0.1629638671875, 0.0545654296875, 0.1470947265625, 0.1351318359375, 0.0250244140625, 0.2418212890625, 0.217041015625, 0.041107177734375, 0.07745361328125, 0.102294921875, 0.07696533203125, 0.1182861328125, 0.250244140625, 0.10217285156...
embed
32152093_c0
32152093
elixir
0
Title: Distributed Elixir example doesn&#x27;t work Problem title: Distributed Elixir example doesn&#x27;t work Tags: elixir Problem: Distributed Elixir example doesn't work I have a very simple Elixir code sample I want to run on different nodes. The first node is on my laptop, the second one is a Raspberry Pi, access...
Distributed Elixir example doesn&#x27;t work Distributed Elixir example doesn&#x27;t work elixir #PID Distributed Elixir node1 Hello IO.puts node2 Node.spawn_link Hello.world EXIT PID latin1 utf8 Please UTF-8 Interactive Ctrl ENTER Distributed Elixir example doesn't work I have a very simple Elixir code sample I want t...
[ 0.00433349609375, 0.02099609375, -0.0145263671875, 0.0166015625, 0.0150146484375, -0.005828857421875, 0.0079345703125, -0.0159912109375, -0.00482177734375, -0.02978515625, 0.0033416748046875, -0.017333984375, -0.0035247802734375, 0.004364013671875, -0.0038299560546875, -0.0070190429687...
[ 75571, 3674, 25318, 38308, 27781, 22027, 3768, 18, 4488, 15296, 683, 7146, 110, 112, 418, 35378, 17780, 7077, 304, 438, 19341, 7710, 10187, 32554, 29426, 6371, 436, 45137, 420, 1019, 30992, 17376, 5337, 71232, 68847, 116563, 8781, 18151, 12...
[ 0.27392578125, 0.102294921875, 0.1676025390625, 0.301025390625, 0.273681640625, 0.0595703125, 0.06231689453125, 0.066650390625, 0.1622314453125, 0.119873046875, 0.0196685791015625, 0.1217041015625, 0.103515625, 0.1544189453125, 0.041015625, 0.1697998046875, 0.152099609375, 0.007537...
embed
65674331_c0
65674331
elixir
0
Title: Add to each enumerable a calculated value Problem title: Add to each enumerable a calculated value Tags: elixir, ecto, phoenix-framework Problem: Add to each enumerable a calculated value I am trying to fetch "work_items" from the database, calculate a value, add it to the respective work_item and then continue,...
Add to each enumerable a calculated value Add to each enumerable a calculated value elixir ecto phoenix-framework CompileError Ecto.query Add list_work_items WorkItem select_merge work_item work_item_value Repo.all work_item.duration_in_minutes work_item.hourly_rate_in_cents phx.server tracking.ex:22 Fourty.Tracking.li...
[ -0.0108642578125, -0.00213623046875, -0.0002231597900390625, -0.0189208984375, -0.01611328125, -0.002777099609375, -0.0274658203125, -0.006103515625, 0.0166015625, -0.044189453125, -0.005279541015625, 0.00640869140625, 0.00994873046875, 0.0189208984375, -0.002960205078125, -0.011352539...
[ 29117, 47, 12638, 189085, 2661, 10, 74481, 3674, 34292, 15296, 38308, 60751, 53073, 33, 4084, 160328, 18244, 15612, 1340, 18468, 241, 44150, 944, 5303, 1486, 27985, 2982, 36849, 1991, 429, 4488, 217, 195, 27494, 853, 771, 5584, 3020, 67403,...
[ 0.1878662109375, 0.1771240234375, 0.1964111328125, 0.2359619140625, 0.225830078125, 0.05120849609375, 0.24609375, 0.13037109375, 0.2152099609375, 0.06097412109375, 0.190185546875, 0.2333984375, 0.059814453125, 0.050445556640625, 0.123291015625, 0.125244140625, 0.174072265625, 0.100...
embed
63688109_c0
63688109
elixir
0
Title: How to update a many-to-many association with Ecto Problem title: How to update a many-to-many association with Ecto Tags: associations, phoenix-framework, elixir Problem: How to update a many-to-many association with Ecto I have a Phoenix app with two resources that have a many to many relationship. To simplify...
How to update a many-to-many association with Ecto How to update a many-to-many association with Ecto associations phoenix-framework elixir How Ecto MyApp.Posts.Post on_replace put_assoc __MODULE__ tag_ids Tags.by_ids Repo.preload validate_required How to update a many-to-many association with Ecto I have a Phoenix app...
[ 0.0084228515625, 0.01312255859375, 0.01019287109375, -0.0037384033203125, 0.018310546875, -0.007537841796875, -0.00970458984375, -0.006378173828125, 0.01318359375, -0.037841796875, 0.01708984375, 0.0031280517578125, -0.00494384765625, -0.004150390625, 0.01336669921875, 0.00196838378906...
[ 11249, 28350, 5941, 188, 669, 53, 125413, 678, 241, 44150, 151747, 53073, 33, 4084, 160328, 18244, 15296, 38308, 2646, 39179, 49411, 98, 107, 23935, 3884, 73395, 238, 7909, 30185, 12298, 1272, 771, 4692, 63033, 44622, 3181, 133720, 4027, 66...
[ 0.0362548828125, 0.1937255859375, 0.16748046875, 0.1773681640625, 0.1278076171875, 0.06298828125, 0.234619140625, 0.0858154296875, 0.1141357421875, 0.279052734375, 0.2198486328125, 0.007080078125, 0.02001953125, 0.042236328125, 0.06982421875, 0.02801513671875, 0.058929443359375, 0....
embed
43568312_c0
43568312
elixir
0
Title: What is the correct syntax for this Elixir expression? Problem title: What is the correct syntax for this Elixir expression? Tags: anonymous-function, elixir Problem: What is the correct syntax for this Elixir expression? I have been proferred this code snippet, which the author has not tested, |> (fn l ->[?[, E...
What is the correct syntax for this Elixir expression? What is the correct syntax for this Elixir expression? anonymous-function elixir CompileError What Elixir Enum.map File.stream tmp.csv DataMorph.structs_from_csv iso_country File.write output.txt iex:55 Mod.fun Kernel What is the correct syntax for this Elixir expr...
[ -0.00823974609375, 0.0103759765625, -0.0167236328125, 0.0137939453125, -0.0023651123046875, 0.00909423828125, -0.002197265625, -0.0040283203125, 0.00011730194091796875, -0.0247802734375, -0.00689697265625, 0.010009765625, -0.0038604736328125, 0.01953125, 0.0174560546875, -0.01177978515...
[ 26785, 6002, 86531, 100, 903, 25318, 38308, 125195, 52184, 10821, 137175, 15296, 15612, 1340, 18468, 31611, 357, 316, 62346, 42724, 86429, 2676, 4439, 334, 11809, 101398, 11727, 36716, 13882, 71013, 140992, 124326, 17, 3355, 28565, 16269, 16498...
[ 0.1588134765625, 0.1363525390625, 0.2125244140625, 0.02520751953125, 0.059661865234375, 0.1185302734375, 0.267333984375, 0.210205078125, 0.145751953125, 0.06573486328125, 0.1378173828125, 0.095703125, 0.0894775390625, 0.1068115234375, 0.10064697265625, 0.021209716796875, 0.0466003417...
embed
62860596_c0
62860596
elixir
0
Title: In Elixir, how can I split a string with non-word characters are separators, but also allow for math operators like +, -, etc.? Problem title: In Elixir, how can I split a string with non-word characters are separators, but also allow for math operators like +, -, etc.? Tags: string, separator, split, regex, eli...
In Elixir, how can I split a string with non-word characters are separators, but also allow for math operators like +, -, etc.? In Elixir, how can I split a string with non-word characters are separators, but also allow for math operators like +, -, etc.? string separator split regex elixir Elixir x002 x013 Regex.split...
[ -0.03662109375, -0.001708984375, -0.032958984375, 0.0086669921875, -0.02197265625, 0.01007080078125, 0.0087890625, -0.013671875, 0.0120849609375, -0.0164794921875, 0.001007080078125, 0.0201416015625, -0.009765625, 0.006744384765625, -0.0186767578125, -0.00830078125, 0.0067138671875, ...
[ 25318, 38308, 3642, 831, 65450, 79315, 678, 351, 47416, 124850, 37451, 22230, 63769, 48909, 39933, 997, 20, 360, 621, 38310, 748, 6835, 3355, 15296, 97259, 6746, 363, 11678, 7008, 4353, 107730, 91693, 23351, 214, 23935, 10, 85689, 756, 237,...
[ 0.095703125, 0.24658203125, 0.044769287109375, 0.034423828125, 0.227783203125, 0.2291259765625, 0.053680419921875, 0.1376953125, 0.1181640625, 0.133056640625, 0.201904296875, 0.1312255859375, 0.0950927734375, 0.10693359375, 0.128662109375, 0.111328125, 0.033477783203125, 0.00173950...
embed
57164639_c0
57164639
elixir
0
Title: Phoenix - Send bytes in POST response Problem title: Phoenix - Send bytes in POST response Tags: phoenix-framework, elixir Problem: Phoenix - Send bytes in POST response I have an application that generates a PDF in memory. I need to return that PDF back to the browser. The request is of type POST but I am havin...
Phoenix - Send bytes in POST response Phoenix - Send bytes in POST response phoenix-framework elixir Phoenix Send POST send_download doc.pdf put_resp_content_type put_resp_header html.pdf send_file Phoenix - Send bytes in POST response I have an application that generates a PDF in memory. I need to return that PDF back...
[ -0.0206298828125, 0.00225830078125, 0.02294921875, 0.0034942626953125, -0.0184326171875, -0.004241943359375, -0.0277099609375, -0.013916015625, -0.000827789306640625, -0.006805419921875, 0.01531982421875, 0.00133514404296875, 0.004547119140625, 0.021484375, -0.00531005859375, 0.0201416...
[ 133720, 24044, 390, 1636, 23, 81903, 57553, 20, 53073, 33, 4084, 160328, 18244, 15296, 38308, 25379, 61754, 51584, 15483, 3884, 2109, 254, 69246, 50986, 31251, 7693, 29822, 38415, 139392, 6859, 98323, 30646, 4420, 31842, 50336, 10644, 44402, ...
[ 0.28857421875, 0.15771484375, 0.1676025390625, 0.1663818359375, 0.072509765625, 0.1746826171875, 0.220947265625, 0.0103759765625, 0.062469482421875, 0.05059814453125, 0.07940673828125, 0.0989990234375, 0.03759765625, 0.0628662109375, 0.169677734375, 0.1729736328125, 0.2291259765625, ...
embed
71661664_c1
71661664
elixir
1
: "http://purl.org/ontology/bibo/status/", file: "bibo.ttl", case_violations: :ignore ) ## book function defintions # START:book def book() do import RDF.Sigils alias RDF.NS.{XSD} ~I<urn:isbn:978-1-68050-252-7> |> RDF.type(BIBO.Book) |> DC.creator( ~I<https://twitter.com/bgmarx>, ~I<https://twitter.com/josevalim>, ~I<h...
: "http://purl.org/ontology/bibo/status/", file: "bibo.ttl", case_violations: :ignore ) ## book function defintions # START:book def book() do import RDF.Sigils alias RDF.NS.{XSD} ~I<urn:isbn:978-1-68050-252-7> |> RDF.type(BIBO.Book) |> DC.creator( ~I<https://twitter.com/bgmarx>, ~I<https://twitter.com/josevalim>, ~I<h...
[ -0.006256103515625, 0.01373291015625, 0.003021240234375, 0.01806640625, -0.005096435546875, -0.03173828125, -0.01409912109375, -0.00506591796875, -0.006195068359375, -0.0087890625, 0.01361083984375, -0.01165771484375, -0.0184326171875, -0.004974365234375, 0.0196533203125, 0.01831054687...
[ 4717, 141, 1478, 7934, 25443, 964, 837, 45215, 11435, 5, 3062, 7225, 158993, 167790, 173894, 12877, 32354, 45154, 5256, 188359, 14137, 8, 420, 24927, 627, 38997, 8859, 8726, 7, 55109, 22479, 1542, 22916, 568, 61320, 14773, 91092, 2525, 2817...
[ 0.07470703125, 0.094482421875, 0.04083251953125, 0.114501953125, 0.089111328125, 0.1265869140625, 0.2283935546875, 0.134521484375, 0.1798095703125, 0.067626953125, 0.09039306640625, 0.087890625, 0.1800537109375, 0.059112548828125, 0.012481689453125, 0.260986328125, 0.2420654296875, ...
embed
60132856_c0
60132856
elixir
0
Title: Running Elixir app on Windows: Can&#x27;t set short node name Problem title: Running Elixir app on Windows: Can&#x27;t set short node name Tags: elixir, elixir-mix Problem: Running Elixir app on Windows: Can't set short node name I built an Elixir app using mix release and when I run it using .\_build\prod\rel\p...
Running Elixir app on Windows: Can&#x27;t set short node name Running Elixir app on Windows: Can&#x27;t set short node name elixir elixir-mix the Running Elixir Windows Can _build error_logger info_msg include_executables_for start_permanent Mix.env Set my_app RELEASE_DISTRIBUTION RELEASE_NODE release.name Running Elix...
[ 0.00074005126953125, 0.025146484375, 0.0211181640625, 0.01214599609375, 0.004241943359375, -0.0184326171875, -0.0086669921875, -0.0213623046875, -0.004669189453125, 0.0169677734375, 0.00665283203125, 0.0179443359375, 0.0213623046875, 0.000820159912109375, 0.01025390625, 0.0096435546875...
[ 28398, 592, 25318, 38308, 4027, 98, 3773, 4171, 3768, 18, 5423, 16610, 110, 112, 9351, 15296, 62015, 177149, 18499, 365, 21407, 3004, 26698, 46480, 19774, 19736, 4034, 669, 37286, 33, 334, 19943, 759, 9007, 27587, 62353, 8575, 8399, 54452, ...
[ 0.08636474609375, 0.10986328125, 0.1302490234375, 0.25830078125, 0.1534423828125, 0.00836181640625, 0.177001953125, 0.067138671875, 0.045684814453125, 0.040252685546875, 0.1259765625, 0.150634765625, 0.153076171875, 0.1165771484375, 0.1334228515625, 0.0897216796875, 0.1806640625, 0...
embed
36129835_c0
36129835
elixir
0
Title: Compile elixir permission denied Problem title: Compile elixir permission denied Tags: elixir Problem: Compile elixir permission denied When I want to compile my project on windows, I've got compiler permission denied: D:\Elixir\issues>iex -S mix Eshell V7.2.1 (abort with ^G) Compiled lib/issues.ex Compiled lib/...
Compile elixir permission denied Compile elixir permission denied elixir File.Error #PID Compile Elixir Eshell V7.2.1 Compiled issues.ex github_issues.ex cli.ex EXIT PID _build compile.elixir file.ex:1061 File.open elixir.ex:246 Mix.Compilers.Elixir.write_manifest elixir.ex:112 Mix.Compilers.Elixir.compile_manifest ser...
[ 0.00174713134765625, 0.0216064453125, -0.00153350830078125, -0.0179443359375, -0.005584716796875, -0.006622314453125, -0.0206298828125, -0.003082275390625, -0.0098876953125, -0.00186920166015625, -0.021240234375, 0.0012969970703125, 0.0260009765625, 0.050048828125, 0.01019287109375, 0....
[ 15612, 1340, 15296, 38308, 168081, 8, 93, 42724, 18468, 31611, 683, 7146, 25318, 241, 128019, 310, 966, 68107, 14, 37348, 3355, 62270, 32102, 174404, 95701, 29426, 6371, 436, 177149, 9969, 6169, 11435, 11540, 59636, 25732, 910, 37286, 108161,...
[ 0.1558837890625, 0.1578369140625, 0.1219482421875, 0.224853515625, 0.2052001953125, 0.12158203125, 0.1641845703125, 0.126220703125, 0.06103515625, 0.057037353515625, 0.06982421875, 0.1396484375, 0.144287109375, 0.07318115234375, 0.2398681640625, 0.03466796875, 0.09173583984375, 0.1...
embed
43407088_c1
43407088
elixir
1
opts = [strategy: :one_for_one, name: Workers.UrlSupervisor] Supervisor.start_link(children, opts) end end defmodule Workers.DomainSupervisor do def start_link(id) do import Supervisor.Spec, warn: false children = [worker(Task, [&Workers.Domain.worker/0], [id: {Workers.Domain, id}, restart: :permanent])] opts = [strat...
opts = [strategy: :one_for_one, name: Workers.UrlSupervisor] Supervisor.start_link(children, opts) end end defmodule Workers.DomainSupervisor do def start_link(id) do import Supervisor.Spec, warn: false children = [worker(Task, [&Workers.Domain.worker/0], [id: {Workers.Domain, id}, restart: :permanent])] opts = [strat...
[ -0.008056640625, 0.008056640625, 0.006103515625, 0.0021209716796875, -0.007537841796875, 0.01434326171875, 0.0322265625, -0.0167236328125, -0.00128173828125, -0.033935546875, -0.0130615234375, 0.00958251953125, 0.01416015625, 0.0101318359375, 0.0029754638671875, -0.016845703125, 0.01...
[ 233, 933, 2203, 151895, 3432, 12, 3630, 2472, 4, 9351, 27985, 1314, 48743, 141, 73903, 51858, 4265, 17137, 10187, 237052, 16, 3564, 8, 420, 83279, 8331, 24931, 4034, 132, 532, 24927, 294, 47107, 1631, 19, 98320, 20020, 18244, 56, 9874, ...
[ 0.25634765625, 0.2264404296875, 0.084716796875, 0.1766357421875, 0.07421875, 0.001800537109375, 0.1236572265625, 0.09765625, 0.00213623046875, 0.019134521484375, 0.1812744140625, 0.181640625, 0.115478515625, 0.048736572265625, 0.15380859375, 0.2210693359375, 0.156982421875, 0.18395...
embed
44201201_c0
44201201
elixir
0
Title: How to test a function call from a different module Problem title: How to test a function call from a different module Tags: testing, elixir Problem: How to test a function call from a different module There are probably lots of similar questions here but I still don't understand how it's done. Let's say I have ...
How to test a function call from a different module How to test a function call from a different module testing elixir a How ModuleOne do_something do_first_thing do_second_thing ModuleTwo.do_something ModuleTwo Twitter API How to test a function call from a different module There are probably lots of similar questions...
[ 0.004547119140625, 0.0091552734375, -0.00019550323486328125, 0.0250244140625, 0.0203857421875, 0.013427734375, 0.01361083984375, -0.00994873046875, 0.000278472900390625, -0.0191650390625, 0.00001436471939086914, -0.006072998046875, -0.0128173828125, 0.031494140625, 0.0240478515625, -0....
[ 11249, 47, 3034, 32354, 11782, 1295, 10, 12921, 88996, 134234, 15296, 38308, 63014, 13, 62068, 54, 43452, 64113, 13448, 271, 191633, 618, 3613, 246, 3610, 61687, 28219, 16940, 127918, 109921, 171763, 62775, 9969, 1340, 6032, 8698, 92, 135913,...
[ 0.0792236328125, 0.018402099609375, 0.2308349609375, 0.1748046875, 0.2037353515625, 0.156005859375, 0.032867431640625, 0.2005615234375, 0.2347412109375, 0.1895751953125, 0.07177734375, 0.192626953125, 0.129150390625, 0.0284271240234375, 0.170166015625, 0.07568359375, 0.00592041015625...
embed
74751387_c1
74751387
elixir
1
1)> {:ok, product} = Factory.product_factory |> Booking.Repo.insert iex(12)> {:ok, practictioner} = Factory.practitioner_factory |> Booking.Repo.insert iex(13)> attrs = %{product: product, practictioner: practictioner} %{ practictioner: %Booking.Practitioners.Practitioner{ __meta__: #Ecto.Schema.Metadata<:loaded, "prac...
1)> {:ok, product} = Factory.product_factory |> Booking.Repo.insert iex(12)> {:ok, practictioner} = Factory.practitioner_factory |> Booking.Repo.insert iex(13)> attrs = %{product: product, practictioner: practictioner} %{ practictioner: %Booking.Practitioners.Practitioner{ __meta__: #Ecto.Schema.Metadata<:loaded, "prac...
[ -0.01171875, 0.0079345703125, -0.001495361328125, 0.006072998046875, -0.0003070831298828125, 0.018310546875, -0.0294189453125, -0.03515625, 0.0015411376953125, -0.03515625, -0.0184326171875, 0.01129150390625, 0.01904296875, 0.00141143798828125, -0.019287109375, -0.001617431640625, 0....
[ 4879, 2740, 12, 685, 4, 12996, 2203, 144562, 5, 57877, 144810, 53, 6, 58745, 52722, 4332, 771, 73, 33657, 17, 3355, 134186, 16, 74082, 23850, 8152, 14170, 118, 63258, 243, 4295, 1745, 24854, 37975, 214, 50344, 23835, 7, 5953, 35273, 140...
[ 0.125732421875, 0.07086181640625, 0.0139617919921875, 0.172119140625, 0.0068359375, 0.24609375, 0.06732177734375, 0.2496337890625, 0.052978515625, 0.2271728515625, 0.182373046875, 0.0902099609375, 0.006591796875, 0.006256103515625, 0.2822265625, 0.10302734375, 0.1861572265625, 0.06...
embed
38015711_c0
38015711
elixir
0
Title: What is the exact meaning of the equal sign in Elixir? Problem title: What is the exact meaning of the equal sign in Elixir? Tags: equals, functional-programming, elixir, elixir-iex Problem: What is the exact meaning of the equal sign in Elixir? I don't get what exactly means the equal sign in Elixir. What is un...
What is the exact meaning of the equal sign in Elixir? What is the exact meaning of the equal sign in Elixir? equals functional-programming elixir elixir-iex MatchError What Elixir What is the exact meaning of the equal sign in Elixir? I don't get what exactly means the equal sign in Elixir. What is unclear is that it ...
[ 0.004486083984375, 0.02880859375, 0.0181884765625, 0.00518798828125, 0.017822265625, -0.01318359375, -0.002227783203125, 0.0169677734375, 0.0111083984375, -0.00188446044921875, 0.02490234375, -0.01409912109375, 0.0234375, 0.01202392578125, 0.003021240234375, 0.007171630859375, 0.0091...
[ 24763, 91084, 105950, 24092, 23, 25318, 38308, 123309, 28966, 15296, 3355, 67407, 18468, 31611, 4865, 70, 66161, 26950, 119488, 33342, 17664, 95486, 103510, 14858, 41018, 7, 39933, 25737, 5609, 2203, 7108, 23972, 6626, 124519, 10422, 1022, 136,...
[ 0.1124267578125, 0.1507568359375, 0.25146484375, 0.2379150390625, 0.05670166015625, 0.1080322265625, 0.2371826171875, 0.09027099609375, 0.07421875, 0.053955078125, 0.0902099609375, 0.1024169921875, 0.06610107421875, 0.0301971435546875, 0.006866455078125, 0.0494384765625, 0.0326538085...
embed
37835717_c0
37835717
elixir
0
Title: How to create an Anonymous function with a guard using macros? Problem title: How to create an Anonymous function with a guard using macros? Tags: elixir Problem: How to create an Anonymous function with a guard using macros? I have been working on a macro to generate anonymous functions dynamically. The functio...
How to create an Anonymous function with a guard using macros? How to create an Anonymous function with a guard using macros? elixir macros How Anonymous condition_function clause1 clause2 fun_clauses Elixir Kernel Builder.condition_function erl_eval.expr How to create an Anonymous function with a guard using macros? I...
[ -0.00726318359375, 0.0126953125, 0.017578125, -0.0159912109375, 0.0037994384765625, 0.0048828125, 0.00191497802734375, 0.00616455078125, -0.00084686279296875, -0.0213623046875, -0.000823974609375, -0.00775146484375, -0.0029296875, -0.00787353515625, 0.02734375, -0.008544921875, -0.02...
[ 11249, 28282, 180585, 32354, 678, 56050, 17368, 111789, 7, 10, 15296, 38308, 35431, 137175, 70731, 304, 7477, 18347, 25318, 119125, 583, 121137, 126940, 141, 1405, 83613, 20697, 139392, 52184, 84079, 116, 5117, 13, 30646, 149842, 647, 3229, 2...
[ 0.054290771484375, 0.1483154296875, 0.2763671875, 0.234375, 0.091552734375, 0.26171875, 0.046661376953125, 0.2288818359375, 0.051849365234375, 0.049957275390625, 0.030303955078125, 0.2137451171875, 0.1751708984375, 0.2047119140625, 0.199462890625, 0.040283203125, 0.097412109375, 0....
embed