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
78799882_c0
78799882
elixir
0
Title: Broken pipe error with Ports between Elixir and C Problem title: Broken pipe error with Ports between Elixir and C Tags: c, erlang, erlang-ports, elixir Problem: Broken pipe error with Ports between Elixir and C I am attempting to write a program in Elixir that connects to a C program via Port and erl_interface ...
Broken pipe error with Ports between Elixir and C Broken pipe error with Ports between Elixir and C c erlang erlang-ports elixir Broken Ports Elixir Port erl_interface EXIT x.x Port.open exit_status Port.command erlang.term_to_binary File.read stdlib.h string.h unistd.h erl_comm.h ei.h ei_x_buff res_buf ei_init ei_x_ne...
[ 0.0115966796875, -0.003173828125, -0.0301513671875, -0.00433349609375, 0.002655029296875, -0.004791259765625, -0.0198974609375, -0.01806640625, 0.0118408203125, -0.00799560546875, 0.0185546875, 0.002166748046875, 0.012939453125, 0.023681640625, 0.02685546875, -0.006378173828125, 0.00...
[ 13177, 1098, 137158, 18499, 13791, 17721, 25318, 38308, 136, 313, 501, 72, 3066, 6982, 15296, 141, 10433, 40404, 29426, 6371, 1022, 425, 59636, 82230, 45215, 12018, 32166, 188, 19155, 42724, 39116, 6138, 5612, 127, 79315, 51, 277, 475, 1237...
[ 0.165283203125, 0.1224365234375, 0.248291015625, 0.17236328125, 0.208740234375, 0.1085205078125, 0.1170654296875, 0.261962890625, 0.03009033203125, 0.113525390625, 0.032379150390625, 0.0693359375, 0.209228515625, 0.161865234375, 0.0966796875, 0.1317138671875, 0.044952392578125, 0.0...
embed
45569199_c1
45569199
elixir
1
eds.exs ... more than once. They are in postgres when I check psql: name_of_gallery | character varying(255) | future_plans_title | character varying(255) * The user can't save forms anymore. Saving a user form (which worked before) returns: KeyError at POST /posts key :topics not found in: %{changeset: #Ecto.Changeset...
eds.exs ... more than once. They are in postgres when I check psql: name_of_gallery | character varying(255) | future_plans_title | character varying(255) * The user can't save forms anymore. Saving a user form (which worked before) returns: KeyError at POST /posts key :topics not found in: %{changeset: #Ecto.Changeset...
[ 0.006072998046875, 0.00384521484375, 0.00152587890625, -0.0224609375, 0.000457763671875, -0.01806640625, -0.01312255859375, -0.01409912109375, 0.013427734375, -0.038330078125, -0.0026397705078125, -0.005828857421875, 0.0047607421875, 0.0191650390625, 0.03369140625, -0.00311279296875, ...
[ 2223, 7, 3355, 153, 1286, 3501, 24145, 10660, 621, 23, 1305, 17562, 12765, 24014, 99247, 9351, 4390, 151570, 62816, 285, 38543, 70265, 22690, 5868, 5440, 38937, 831, 18, 30098, 3173, 176683, 6496, 79786, 8108, 30646, 26824, 18468, 31611, 99...
[ 0.1488037109375, 0.1162109375, 0.1956787109375, 0.01837158203125, 0.0772705078125, 0.07720947265625, 0.14208984375, 0.0479736328125, 0.038421630859375, 0.0526123046875, 0.05535888671875, 0.2166748046875, 0.114990234375, 0.1162109375, 0.227294921875, 0.046173095703125, 0.1505126953125...
embed
57280210_c0
57280210
elixir
0
Title: Elixir: Specifying `key_type` for a map, where `key_type` is an enumerated type Problem title: Elixir: Specifying `key_type` for a map, where `key_type` is an enumerated type Tags: elixir, types, typespec Problem: Elixir: Specifying `key_type` for a map, where `key_type` is an enumerated type I have a function t...
Elixir: Specifying `key_type` for a map, where `key_type` is an enumerated type Elixir: Specifying `key_type` for a map, where `key_type` is an enumerated type elixir types typespec Elixir Specifying key_type value_type home_sharing_rate home_sharing_days home_sharing_booking income_year income_month Jan Feb Mar Apr Ma...
[ -0.0040283203125, -0.0079345703125, -0.008056640625, -0.0244140625, -0.024169921875, -0.00494384765625, -0.0223388671875, 0.01275634765625, 0.008544921875, 0.01348876953125, -0.0033111572265625, 0.0036773681640625, 0.017578125, 0.021240234375, 0.0033416748046875, 0.012939453125, -0.0...
[ 25318, 38308, 24990, 151138, 19770, 50986, 22288, 189085, 10644, 100, 15296, 52895, 16711, 22799, 34292, 5368, 2420, 17957, 5636, 14137, 91763, 46799, 15477, 3342, 43677, 1784, 13328, 23177, 21693, 33649, 15360, 25755, 85168, 29552, 73, 45738, ...
[ 0.115234375, 0.2386474609375, 0.174072265625, 0.08673095703125, 0.1688232421875, 0.264892578125, 0.170654296875, 0.1920166015625, 0.2364501953125, 0.025604248046875, 0.0679931640625, 0.2125244140625, 0.197509765625, 0.1591796875, 0.12255859375, 0.03753662109375, 0.1171875, 0.049133...
embed
46554941_c0
46554941
elixir
0
Title: Adding a relationship in Ecto (Phoenix 1.3) Problem title: Adding a relationship in Ecto (Phoenix 1.3) Tags: ecto, phoenix-framework, elixir Problem: Adding a relationship in Ecto (Phoenix 1.3) I am trying to establish a one-to-many relationship. A user can create any number of posts. Phoenix 1.3, Ecto 2.2.1 #mi...
Adding a relationship in Ecto (Phoenix 1.3) Adding a relationship in Ecto (Phoenix 1.3) ecto phoenix-framework elixir Adding Ecto Phoenix MyApp.Repo.Migrations.CreateUsersPosts Ecto.Migration password_hash users_id on_delete delete_all MyApp.User MyApp.Web Poison.Encoder has_many MyApp.Post Ecto.Schema belongs_to seeds...
[ 0.01068115234375, -0.000499725341796875, 0.00836181640625, 0.00186920166015625, -0.004547119140625, 0.01348876953125, -0.00799560546875, -0.01104736328125, 0.0111083984375, -0.05029296875, -0.000186920166015625, 0.0146484375, -0.00439453125, 0.0040283203125, 0.0162353515625, -0.0240478...
[ 62, 59725, 10, 76755, 23, 241, 44150, 683, 497, 33, 4084, 41491, 60751, 53073, 160328, 18244, 15296, 38308, 133720, 2646, 39179, 4332, 771, 72482, 63784, 1062, 7, 49411, 872, 78506, 126234, 72095, 532, 8520, 154109, 5584, 30474, 64249, 191,...
[ 0.12744140625, 0.169189453125, 0.1240234375, 0.27587890625, 0.04827880859375, 0.1099853515625, 0.28759765625, 0.00732421875, 0.054351806640625, 0.10028076171875, 0.126953125, 0.2032470703125, 0.2222900390625, 0.06689453125, 0.1387939453125, 0.111083984375, 0.0784912109375, 0.194335...
embed
68010688_c0
68010688
elixir
0
Title: docker run Error loading shared library libstdc++.so.6 and libgcc_s.so.1 Problem title: docker run Error loading shared library libstdc++.so.6 and libgcc_s.so.1 Tags: docker-compose, docker, elixir, phoenix-framework, alpine-linux Problem: docker run Error loading shared library libstdc++.so.6 and libgcc_s.so.1 ...
docker run Error loading shared library libstdc++.so.6 and libgcc_s.so.1 docker run Error loading shared library libstdc++.so.6 and libgcc_s.so.1 docker-compose docker elixir phoenix-framework alpine-linux Error so.6 libgcc_s.so.1 erts-12.0.2 beam.smp __cxa_begin_catch _ZSt24__throw_out_of_range_fmtPKcz _Znwm _ZSt20__t...
[ 0.0111083984375, 0.01495361328125, 0.0021209716796875, 0.02587890625, 0.00531005859375, 0.007720947265625, -0.011474609375, -0.00848388671875, 0.00732421875, -0.00909423828125, 0.027587890625, 0.0023040771484375, 0.01904296875, 0.03955078125, 0.010009765625, -0.0028533935546875, -0.0...
[ 54, 11050, 11675, 212059, 72367, 214, 99764, 35773, 1294, 25474, 271, 71, 238, 37223, 991, 910, 136, 177, 10060, 7, 418, 277, 78381, 15296, 38308, 53073, 33, 4084, 160328, 117745, 13, 2397, 6077, 221, 72, 933, 9955, 133684, 186, 302, 26...
[ 0.127197265625, 0.2646484375, 0.1898193359375, 0.20556640625, 0.15478515625, 0.02679443359375, 0.1905517578125, 0.2264404296875, 0.05914306640625, 0.1251220703125, 0.09228515625, 0.038421630859375, 0.0792236328125, 0.251953125, 0.1656494140625, 0.1953125, 0.0992431640625, 0.0263366...
embed
71145676_c0
71145676
elixir
0
Title: Dialyzer cannot recognize error in function using polymorphic types Problem title: Dialyzer cannot recognize error in function using polymorphic types Tags: types, elixir, dialyzer Problem: Dialyzer cannot recognize error in function using polymorphic types Background I am trying out polymorphic typing with dial...
Dialyzer cannot recognize error in function using polymorphic types Dialyzer cannot recognize error in function using polymorphic types types elixir dialyzer polymorphic Dialyzer Option Test validate_name String.t String.length Compiling Finding PLTs Checking PLT syntax_tools ignore_warnings mix.exs Starting check_plt ...
[ 0.005279541015625, -0.0069580078125, 0.01361083984375, -0.00665283203125, -0.0048828125, 0.005889892578125, -0.009765625, -0.02294921875, 0.0016937255859375, 0.00872802734375, 0.0166015625, -0.0208740234375, 0.0084228515625, -0.00164031982421875, 0.01007080078125, 0.00173187255859375, ...
[ 4512, 538, 4383, 53418, 125296, 18499, 23, 32354, 17368, 35874, 178851, 52895, 15296, 38308, 879, 86769, 8647, 44622, 67, 11627, 23351, 18, 23986, 26040, 436, 27026, 38679, 89110, 124962, 4205, 17664, 12765, 2424, 217, 23935, 617, 363, 11969,...
[ 0.131103515625, 0.1817626953125, 0.2022705078125, 0.10064697265625, 0.1495361328125, 0.20458984375, 0.049041748046875, 0.1502685546875, 0.0361328125, 0.171142578125, 0.2099609375, 0.1966552734375, 0.05047607421875, 0.1898193359375, 0.0751953125, 0.207275390625, 0.10595703125, 0.184...
embed
76541873_c1
76541873
elixir
1
apt-get install -y build-essential curl \ && curl -fsSL https://deb.nodesource.com/setup_17.x | bash - \ && apt-get install -y nodejs WORKDIR /app RUN mix local.hex --force && \ mix local.rebar --force ENV MIX_ENV="prod" COPY mix.exs mix.lock ./ RUN mix deps.get --only $MIX_ENV RUN mkdir config # to be re-compiled. CO...
apt-get install -y build-essential curl \ && curl -fsSL https://deb.nodesource.com/setup_17.x | bash - \ && apt-get install -y nodejs WORKDIR /app RUN mix local.hex --force && \ mix local.rebar --force ENV MIX_ENV="prod" COPY mix.exs mix.lock ./ RUN mix deps.get --only $MIX_ENV RUN mkdir config # to be re-compiled. CO...
[ -0.00958251953125, 0.0033721923828125, -0.00738525390625, 0.01458740234375, -0.003692626953125, 0.007354736328125, -0.008056640625, -0.022216796875, 0.01263427734375, 0.0111083984375, 0.027099609375, -0.010986328125, 0.032470703125, 0.0238037109375, 0.004730224609375, 0.00958251953125,...
[ 1747, 18, 9, 3794, 20600, 20, 53, 45367, 90, 7, 80973, 9709, 141, 6, 41872, 619, 1230, 17447, 30508, 3975, 47923, 5, 157, 112, 60427, 277, 64, 3509, 2037, 2489, 425, 58745, 87109, 110, 36294, 231355, 123237, 248, 9007, 130747, 17664, ...
[ 0.20556640625, 0.1517333984375, 0.0192108154296875, 0.180419921875, 0.2423095703125, 0.054931640625, 0.173583984375, 0.1890869140625, 0.1219482421875, 0.13525390625, 0.1739501953125, 0.2110595703125, 0.1986083984375, 0.039825439453125, 0.055145263671875, 0.061187744140625, 0.08337402...
embed
53326267_c0
53326267
elixir
0
Title: Elixir: There is no process currently associated with the given name Problem title: Elixir: There is no process currently associated with the given name Tags: elixir Problem: Elixir: There is no process currently associated with the given name Elixir gives me an error that says that there is something to do with...
Elixir: There is no process currently associated with the given name Elixir: There is no process currently associated with the given name elixir Crowller.Data Crowller.Controller Elixir There mix.exs Crowller.MixProject Mix.Project start_permanent Mix.env Run compile.app Crowller.Application Application key_groups Crow...
[ 0.0013885498046875, 0.00726318359375, -0.0036468505859375, 0.0302734375, -0.0098876953125, -0.00164794921875, 0.006805419921875, -0.009033203125, 0.00933837890625, -0.00836181640625, 0.002410888671875, 0.0087890625, 0.01336669921875, 0.0299072265625, 0.02099609375, 0.006134033203125, ...
[ 25318, 38308, 110, 9433, 82424, 137272, 678, 34475, 9351, 83, 15296, 135451, 14155, 137989, 175904, 603, 8622, 17664, 3355, 594, 4084, 223353, 37286, 4034, 669, 334, 28398, 9969, 9007, 47677, 104921, 22799, 51588, 193348, 9598, 17137, 14858, ...
[ 0.166015625, 0.297607421875, 0.1546630859375, 0.1961669921875, 0.1988525390625, 0.1934814453125, 0.0266876220703125, 0.1363525390625, 0.09722900390625, 0.000091552734375, 0.131591796875, 0.19140625, 0.23876953125, 0.076416015625, 0.161376953125, 0.02197265625, 0.08514404296875, 0.2...
embed
32468172_c0
32468172
elixir
0
Title: Ecto creating unique index failed for Mysql/Mariadb Problem title: Ecto creating unique index failed for Mysql/Mariadb Tags: elixir, ecto, mariadb, mysql Problem: Ecto creating unique index failed for Mysql/Mariadb I try to do the following migration: defmodule Shopper.Repo.Migrations.MakeNameUniqueShopper do us...
Ecto creating unique index failed for Mysql/Mariadb Ecto creating unique index failed for Mysql/Mariadb elixir ecto mariadb mysql Mariaex.Error Ecto Mysql Mariadb Shopper.Repo.Migrations.MakeNameUniqueShopper Ecto.Migration unique_index name_unique Running Shopper.Repo.Migrations.MakeNameUniqueShopper.change shoppers_n...
[ -0.000911712646484375, 0.0211181640625, 0.031982421875, -0.01116943359375, 0.0125732421875, -0.006500244140625, -0.02001953125, -0.01214599609375, 0.013427734375, -0.00159454345703125, 0.0113525390625, 0.0001010894775390625, 0.02783203125, -0.00640869140625, 0.0013885498046875, -0.0202...
[ 241, 44150, 105233, 36998, 63262, 165523, 100, 2646, 7, 99247, 161749, 48073, 15296, 38308, 60751, 5786, 275, 759, 5379, 3355, 18468, 24211, 1264, 5, 4332, 771, 594, 72482, 5256, 76978, 13, 163612, 1062, 45602, 78959, 872, 454, 4711, 9351, ...
[ 0.1446533203125, 0.302001953125, 0.161865234375, 0.272705078125, 0.25634765625, 0.2069091796875, 0.016754150390625, 0.15625, 0.04193115234375, 0.182861328125, 0.18994140625, 0.191650390625, 0.07574462890625, 0.19140625, 0.2430419921875, 0.0716552734375, 0.0836181640625, 0.108032226...
embed
53651812_c0
53651812
elixir
0
Title: Calling a GenServer from another GenServer Problem title: Calling a GenServer from another GenServer Tags: elixir, gen-server Problem: Calling a GenServer from another GenServer I have a project where I use 2 GenServers The first GenServer named "State" maintains the state, the second GenServer named "Updates" m...
Calling a GenServer from another GenServer Calling a GenServer from another GenServer elixir gen-server another Calling GenServer start_link Supervisor.start_link __MODULE__ _arg Updates State Supervisor.init rest_for_one GenServer.start_link handle_call _from Updates.get_updates get_updates GenServer.call Calling a Ge...
[ -0.01458740234375, 0.0263671875, 0.003631591796875, 0.0034942626953125, -0.0108642578125, 0.0033721923828125, 0.0166015625, -0.0244140625, 0.004638671875, -0.04150390625, -0.0004673004150390625, 0.0167236328125, -0.003204345703125, 0.0301513671875, 0.01611328125, 0.003021240234375, 0...
[ 26265, 214, 15937, 193348, 1295, 15700, 15296, 38308, 9226, 39642, 4034, 10187, 4265, 51858, 17137, 12013, 397, 61477, 28641, 22836, 5, 73, 217, 10588, 3630, 34831, 85763, 117008, 2046, 10, 13452, 4527, 116, 5117, 24, 135206, 13, 76104, 113...
[ 0.164306640625, 0.0523681640625, 0.1826171875, 0.265625, 0.09930419921875, 0.1107177734375, 0.0736083984375, 0.1865234375, 0.1473388671875, 0.19384765625, 0.105224609375, 0.151123046875, 0.12158203125, 0.1982421875, 0.08953857421875, 0.0249176025390625, 0.0009765625, 0.084533691406...
embed
53445520_c0
53445520
elixir
0
Title: DynamicSupervisor - problem with communication with the workers Problem title: DynamicSupervisor - problem with communication with the workers Tags: erlang, erlang-supervisor, erlang-otp, elixir Problem: DynamicSupervisor - problem with communication with the workers I have a problem with communication with the ...
DynamicSupervisor - problem with communication with the workers DynamicSupervisor - problem with communication with the workers erlang erlang-supervisor erlang-otp elixir RuntimeError #PID DynamicSupervisor GenServer.call action_project project_id erlang.pid_to_list GenServer PID handle_call gen_server.ex:693 MyApplica...
[ -0.01458740234375, 0.025390625, -0.00140380859375, -0.0027923583984375, -0.0028533935546875, -0.0206298828125, 0.004547119140625, -0.0004825592041015625, -0.00323486328125, -0.03857421875, 0.005767822265625, 0.01007080078125, 0.00982666015625, 0.00958251953125, 0.013916015625, -0.00399...
[ 73327, 21068, 73903, 51858, 2967, 678, 36398, 70, 133325, 72, 3066, 59104, 818, 254, 15296, 38308, 28398, 6032, 18468, 31611, 683, 7146, 15937, 193348, 85763, 22631, 95322, 13452, 532, 45226, 6562, 436, 34831, 9226, 39642, 3355, 14212, 2646, ...
[ 0.1634521484375, 0.1309814453125, 0.1845703125, 0.260986328125, 0.16455078125, 0.114990234375, 0.22265625, 0.0076904296875, 0.180908203125, 0.044219970703125, 0.205322265625, 0.166259765625, 0.08514404296875, 0.09356689453125, 0.058563232421875, 0.197509765625, 0.06695556640625, 0....
embed
57313279_c0
57313279
elixir
0
Title: Problem serving multiple dynamic images with Phoenix (some load, some dont) Problem title: Problem serving multiple dynamic images with Phoenix (some load, some dont) Tags: elixir, phoenix-framework, dynamic-image-generation Problem: Problem serving multiple dynamic images with Phoenix (some load, some dont) Tec...
Problem serving multiple dynamic images with Phoenix (some load, some dont) Problem serving multiple dynamic images with Phoenix (some load, some dont) elixir phoenix-framework dynamic-image-generation File.Error Problem Phoenix _params Repo.all Image index.html Plug.Upload ImageContext.create_image Routes.page_path Re...
[ 0.0013275146484375, 0.0035858154296875, 0.00799560546875, 0.003753662109375, -0.005645751953125, 0.021484375, -0.00823974609375, -0.005615234375, 0.017578125, -0.033203125, -0.0087890625, 0.0284423828125, 0.02294921875, 0.00897216796875, 0.0135498046875, 0.005889892578125, 0.00121307...
[ 15649, 520, 48716, 84079, 43079, 678, 133720, 43452, 72367, 3060, 13319, 15296, 38308, 53073, 33, 4084, 160328, 37926, 48281, 42724, 18468, 31611, 2500, 8256, 771, 5584, 22710, 63262, 7693, 194351, 63033, 22829, 106015, 22469, 69246, 29822, 989...
[ 0.125244140625, 0.15283203125, 0.1923828125, 0.2177734375, 0.2298583984375, 0.05426025390625, 0.260009765625, 0.0239105224609375, 0.1497802734375, 0.0204010009765625, 0.10028076171875, 0.0400390625, 0.18896484375, 0.037841796875, 0.1009521484375, 0.1019287109375, 0.06640625, 0.1560...
embed
48748676_c0
48748676
elixir
0
Title: Multiplayer game - Elixir channels Problem title: Multiplayer game - Elixir channels Tags: websocket, phoenix-channels, erlang-otp, elixir Problem: Multiplayer game - Elixir channels I'm beginner in Elixir. I have an elixir application for a multiplayer game that simply replicates the received command to all pla...
Multiplayer game - Elixir channels Multiplayer game - Elixir channels websocket phoenix-channels erlang-otp elixir Game.Error Multiplayer Elixir GameWeb.GameChannel GameWeb Game.GameState Map.has_key GameState.games GameState.get_game Map.put player2 GameState.update_game GameState.create_game player1 _topic _payload _...
[ -0.025390625, 0.005157470703125, 0.0001983642578125, 0.00052642822265625, 0.0101318359375, 0.0028228759765625, -0.0181884765625, -0.00604248046875, -0.00494384765625, -0.02978515625, 0.01220703125, -0.00323486328125, 0.00238037109375, 0.033203125, -0.02001953125, 0.0118408203125, -0....
[ 19335, 139570, 6712, 25318, 38308, 86723, 1467, 991, 27853, 53073, 33, 4084, 17032, 8876, 72, 3066, 818, 254, 15296, 13547, 18468, 31611, 30474, 107576, 127008, 135206, 42719, 10557, 19770, 129675, 35311, 7077, 58585, 304, 117008, 7612, 119499,...
[ 0.1202392578125, 0.1881103515625, 0.1136474609375, 0.137451171875, 0.27685546875, 0.187744140625, 0.07403564453125, 0.115234375, 0.1929931640625, 0.0213165283203125, 0.049407958984375, 0.09686279296875, 0.11474609375, 0.1409912109375, 0.0098876953125, 0.19580078125, 0.06695556640625,...
embed
39430717_c0
39430717
elixir
0
Title: Ecto custom types: How do I represent a field in a model as a specific type? Problem title: Ecto custom types: How do I represent a field in a model as a specific type? Tags: ecto, elixir Problem: Ecto custom types: How do I represent a field in a model as a specific type? I have a schema, where I want one of th...
Ecto custom types: How do I represent a field in a model as a specific type? Ecto custom types: How do I represent a field in a model as a specific type? ecto elixir CaseClauseError Ecto How Db.Types.Cm Units.Cm Ecto.Type is_integer Cm.new is_float Db.Block max_depth Types.Cm Db.BlockHelpers new_block Dict.merge Block ...
[ 0.0125732421875, 0.00040435791015625, 0.00396728515625, 0.01043701171875, 0.01171875, 0.01434326171875, -0.0081787109375, -0.0255126953125, 0.0034332275390625, -0.02490234375, -0.006561279296875, -0.000736236572265625, -0.00897216796875, -0.01104736328125, -0.01214599609375, -0.0055541...
[ 241, 44150, 114122, 52895, 12, 11249, 54, 87, 33636, 44457, 23, 3299, 237, 29458, 10644, 60751, 15296, 38308, 43731, 26253, 18468, 275, 196707, 441, 39, 46640, 83, 6191, 54936, 52347, 166191, 18389, 168867, 60457, 60785, 81409, 60897, 1991, ...
[ 0.09326171875, 0.28564453125, 0.2398681640625, 0.253662109375, 0.000396728515625, 0.1005859375, 0.0279541015625, 0.0572509765625, 0.2469482421875, 0.234130859375, 0.040191650390625, 0.2216796875, 0.03643798828125, 0.152587890625, 0.229736328125, 0.2222900390625, 0.049774169921875, ...
embed
62738820_c0
62738820
elixir
0
Title: List possible train routes on a given model railway Problem title: List possible train routes on a given model railway Tags: elixir Problem: List possible train routes on a given model railway I want to calculate the available routes on a given model railway. Assumptions: All trains only start and stop on define...
List possible train routes on a given model railway List possible train routes on a given model railway elixir List Trains.list_routes ICE Hamburg Frankfurt red_train blue_train Trains Documentation Returns Examples Station list_routes station1 station2 train1 train2 train_stations List possible train routes on a given...
[ -0.0196533203125, 0.00014209747314453125, -0.005279541015625, -0.012451171875, -0.0013580322265625, -0.0277099609375, -0.0274658203125, -0.0196533203125, 0.01019287109375, -0.0306396484375, 0.00124359130859375, 0.006927490234375, 0.01904296875, 0.04248046875, 0.0034332275390625, -0.003...
[ 32036, 7722, 25550, 36439, 7, 98, 34475, 3299, 68823, 7514, 15296, 38308, 137879, 6562, 133261, 31722, 33112, 37061, 4842, 1517, 73, 57571, 43101, 173340, 89536, 38488, 5303, 29398, 418, 304, 41311, 3444, 74481, 19882, 71836, 3164, 4734, 4034...
[ 0.185302734375, 0.2100830078125, 0.22412109375, 0.2099609375, 0.0709228515625, 0.069580078125, 0.089111328125, 0.2364501953125, 0.09490966796875, 0.1075439453125, 0.06195068359375, 0.166259765625, 0.1988525390625, 0.1529541015625, 0.2054443359375, 0.1727294921875, 0.2113037109375, ...
embed
47204350_c0
47204350
elixir
0
Title: Running Migrations Automatically pre_start in Elixir-Distillery-Release on Windows Problem title: Running Migrations Automatically pre_start in Elixir-Distillery-Release on Windows Tags: database-migration, distillery, elixir, windows, batch-file Problem: Running Migrations Automatically pre_start in Elixir-Dist...
Running Migrations Automatically pre_start in Elixir-Distillery-Release on Windows Running Migrations Automatically pre_start in Elixir-Distillery-Release on Windows database-migration distillery elixir windows batch-file Running Migrations Automatically pre_start Elixir-Distillery-Release Windows pre_start_hook RELEAS...
[ 0.00787353515625, -0.019287109375, -0.006683349609375, 0.0213623046875, 0.0059814453125, -0.00909423828125, -0.00946044921875, -0.02978515625, 0.0101318359375, -0.025390625, 0.01806640625, 0.02197265625, 0.016845703125, -0.0038909912109375, 0.0184326171875, -0.01239013671875, -0.0099...
[ 28398, 592, 180809, 7, 51719, 479, 454, 17137, 23, 25318, 38308, 14055, 178043, 53, 4332, 133, 6991, 98, 3773, 63399, 58849, 45, 15296, 54825, 1777, 29822, 497, 627, 27587, 76783, 162727, 123237, 141, 72, 80581, 30675, 933, 15205, 5, 418,...
[ 0.1177978515625, 0.1015625, 0.2349853515625, 0.07525634765625, 0.208251953125, 0.1793212890625, 0.01239013671875, 0.2130126953125, 0.05987548828125, 0.1107177734375, 0.2327880859375, 0.06866455078125, 0.2227783203125, 0.118896484375, 0.0233917236328125, 0.1241455078125, 0.01744079589...
embed
76435398_c1
76435398
elixir
1
()} | {:error, changeset} def changeset(tag \\ %__MODULE__{}, attrs) do tag |> cast(attrs, @required_fields) |> validate_required(@required_fields) |> unique_constraint(:etiqueta) |> foreign_key_constraint(:categoria_id) |> apply_action(:parse) end end And finally, my current upsert/2 implementation, which receives in ...
()} | {:error, changeset} def changeset(tag \\ %__MODULE__{}, attrs) do tag |> cast(attrs, @required_fields) |> validate_required(@required_fields) |> unique_constraint(:etiqueta) |> foreign_key_constraint(:categoria_id) |> apply_action(:parse) end end And finally, my current upsert/2 implementation, which receives in ...
[ -0.0108642578125, -0.00016880035400390625, 0.02001953125, -0.01129150390625, 0.0157470703125, -0.0030059814453125, -0.0181884765625, -0.0216064453125, 0.01116943359375, -0.032958984375, -0.0079345703125, 0.01434326171875, 0.0111083984375, 0.004364013671875, 0.01220703125, -0.0087280273...
[ 58745, 188800, 65572, 126, 8, 420, 6936, 12013, 397, 129984, 243, 4295, 54, 7909, 37702, 27639, 1374, 3181, 28394, 44622, 36998, 2271, 2816, 20873, 110613, 19770, 4288, 33478, 80273, 532, 59911, 44713, 2500, 3564, 43581, 1257, 33657, 12477, ...
[ 0.000640869140625, 0.17919921875, 0.1995849609375, 0.189697265625, 0.06829833984375, 0.0276031494140625, 0.188232421875, 0.07843017578125, 0.05828857421875, 0.070556640625, 0.0750732421875, 0.098876953125, 0.03106689453125, 0.200439453125, 0.0322265625, 0.007537841796875, 0.004882812...
embed
39669113_c0
39669113
elixir
0
Title: Trying to create a sha256 key and hash in Elixir (converting from python code) Problem title: Trying to create a sha256 key and hash in Elixir (converting from python code) Tags: google-cloud-storage, python, sha256, elixir Problem: Trying to create a sha256 key and hash in Elixir (converting from python code) I...
Trying to create a sha256 key and hash in Elixir (converting from python code) Trying to create a sha256 key and hash in Elixir (converting from python code) google-cloud-storage python sha256 elixir python base64 hashlib os Trying sha256 Elixir os.urandom Key sSHA256 base64.encodestring hashlib.sha256 crypto.strong_ra...
[ -0.000499725341796875, -0.007171630859375, 0.00016880035400390625, -0.03955078125, 0.0162353515625, -0.00823974609375, 0.0050048828125, -0.01458740234375, 0.004486083984375, 0.01300048828125, 0.00994873046875, 0.00567626953125, 0.029296875, 0.0277099609375, -0.004058837890625, -0.00209...
[ 40858, 28282, 9638, 127892, 22799, 136, 1556, 127, 23, 25318, 38308, 814, 1295, 17198, 50828, 18151, 26484, 182422, 140464, 15296, 3647, 13307, 5612, 362, 14952, 3815, 26824, 67619, 40899, 91693, 2420, 215637, 6639, 37214, 61028, 44978, 126234,...
[ 0.091552734375, 0.0889892578125, 0.1170654296875, 0.250244140625, 0.158447265625, 0.02166748046875, 0.1693115234375, 0.1220703125, 0.029083251953125, 0.1181640625, 0.244140625, 0.088134765625, 0.0496826171875, 0.06573486328125, 0.13427734375, 0.1658935546875, 0.10302734375, 0.09124...
embed
65248111_c1
65248111
elixir
1
lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2 (stdlib 3.13.2) proc_lib.erl:226: :proc_lib.init_p_do_apply/3 Function: #Function<0.28410304/0 in Server.loop_acceptor/1> Args: [] I was hoping to understand why the error is occurring or how to get suggestions on how I might go about debugging this problem. Any ...
lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2 (stdlib 3.13.2) proc_lib.erl:226: :proc_lib.init_p_do_apply/3 Function: #Function<0.28410304/0 in Server.loop_acceptor/1> Args: [] I was hoping to understand why the error is occurring or how to get suggestions on how I might go about debugging this problem. Any ...
[ -0.0027618408203125, 0.017333984375, -0.004364013671875, 0.006103515625, 0.01434326171875, -0.00799560546875, -0.0048828125, -0.00408935546875, -0.006256103515625, -0.00640869140625, 0.0223388671875, 0.0054931640625, 0.0286865234375, 0.0247802734375, -0.00162506103515625, 0.00994873046...
[ 25474, 1073, 92, 59104, 1824, 297, 3355, 5039, 9598, 73903, 73, 23253, 13, 39, 1021, 12477, 271, 5612, 45151, 107033, 10402, 56, 141, 910, 217, 254, 246, 9007, 538, 18113, 28670, 97249, 133684, 13903, 963, 167555, 107838, 22687, 28354, 92...
[ 0.11083984375, 0.1331787109375, 0.1060791015625, 0.1295166015625, 0.2318115234375, 0.1051025390625, 0.211669921875, 0.217041015625, 0.1517333984375, 0.173095703125, 0.0584716796875, 0.1961669921875, 0.06744384765625, 0.032318115234375, 0.21337890625, 0.1800537109375, 0.07086181640625...
embed
55158738_c0
55158738
elixir
0
Title: Que failing with Distillery release and Docker Problem title: Que failing with Distillery release and Docker Tags: phoenix-framework, elixir, docker, distillery Problem: Que failing with Distillery release and Docker I have setup a Docker environment with Distillery to generate a release of my application. My Ap...
Que failing with Distillery release and Docker Que failing with Distillery release and Docker phoenix-framework elixir docker distillery UndefinedFunctionError Que Distillery Docker Que.add SyncWorker _job Syncing Error GenServer.call Que.Server SolarisCards.ShopifyIntegration.Workers.SyncWorker add_job EXIT ExUtils.Mo...
[ 0.0019683837890625, -0.0035552978515625, 0.01336669921875, 0.0035858154296875, -0.01092529296875, 0.00787353515625, 0.00006198883056640625, -0.034912109375, 0.0030670166015625, -0.00457763671875, 0.00726318359375, 0.0002498626708984375, 0.035888671875, 0.00469970703125, 0, 0.0189208984...
[ 5813, 35782, 214, 678, 803, 178043, 53, 54452, 136, 984, 11050, 53073, 33, 4084, 160328, 15296, 38308, 54, 45, 79912, 5983, 97249, 18468, 4028, 217835, 108259, 36791, 4843, 60636, 212059, 15937, 193348, 85763, 56944, 164, 156119, 78959, 40383...
[ 0.223876953125, 0.201904296875, 0.0161895751953125, 0.07318115234375, 0.070068359375, 0.2215576171875, 0.1470947265625, 0.149169921875, 0.0239715576171875, 0.08740234375, 0.224853515625, 0.004119873046875, 0.0288543701171875, 0.1202392578125, 0.10009765625, 0.037567138671875, 0.18200...
embed
56134528_c0
56134528
elixir
0
Title: How to reduce a list to a single value Problem title: How to reduce a list to a single value Tags: elixir Problem: How to reduce a list to a single value I'm currently reading the Programming Elixir 1.6 Book, and on page 88 there's a challenge to create a function (mapsum) that accepts a list, and a function. Th...
How to reduce a list to a single value How to reduce a list to a single value elixir How Answer Final _fun How to reduce a list to a single value I'm currently reading the Programming Elixir 1.6 Book, and on page 88 there's a challenge to create a function (mapsum) that accepts a list, and a function. This mapsum funct...
[ -0.026611328125, 0.005889892578125, 0.0133056640625, 0.00811767578125, -0.0162353515625, 0.006683349609375, -0.0238037109375, 0.00299072265625, 0.02001953125, -0.0157470703125, 0.0078125, -0.0128173828125, -0.0005035400390625, 0.019775390625, 0.0159912109375, 0.005859375, 0.000018239...
[ 11249, 34390, 10, 5303, 47, 11001, 34292, 15296, 38308, 130373, 27188, 16498, 16454, 27958, 25318, 51748, 27432, 14073, 66801, 28282, 32354, 62346, 11832, 26946, 22288, 134598, 62952, 171859, 8560, 645, 11907, 12830, 195625, 21543, 14012, 50339, ...
[ 0.08056640625, 0.247314453125, 0.094482421875, 0.251708984375, 0.1494140625, 0.2415771484375, 0.2379150390625, 0.0950927734375, 0.216552734375, 0.1488037109375, 0.14892578125, 0.134521484375, 0.040924072265625, 0.0714111328125, 0.08526611328125, 0.160400390625, 0.05450439453125, 0....
embed
71193174_c0
71193174
elixir
0
Title: Message passing in Elixir Problem title: Message passing in Elixir Tags: elixir, functional-programming, erlang-otp Problem: Message passing in Elixir Recently I have started learning Elixir but I struggle a little bit on the implementation part. I think I did understand the concepts of supervisor and children b...
Message passing in Elixir Message passing in Elixir elixir functional-programming erlang-otp Message Elixir Supervisor start_link Supervisor.start_link __MODULE__ _type _args NameForA NameForB one_for_one See hexdocs.pm Supervisor.html Message passing in Elixir Recently I have started learning Elixir but I struggle a l...
[ 0.0093994140625, 0.019287109375, -0.003173828125, 0.0130615234375, -0.00543212890625, -0.00141143798828125, 0.0123291015625, -0.018798828125, -0.00555419921875, -0.039306640625, 0.00567626953125, 0.0125732421875, 0.0240478515625, 0.060546875, 0.00162506103515625, 0.01068115234375, 0....
[ 48205, 4588, 452, 6953, 23, 25318, 38308, 15296, 123309, 28966, 72, 3066, 818, 254, 4265, 51858, 4034, 10187, 17137, 12013, 397, 50986, 61477, 15757, 18537, 284, 571, 1632, 2472, 3630, 764, 29713, 26822, 52080, 151994, 208124, 23755, 1601, ...
[ 0.1871337890625, 0.1090087890625, 0.141357421875, 0.051788330078125, 0.03436279296875, 0.1348876953125, 0.25146484375, 0.0794677734375, 0.141845703125, 0.105224609375, 0.0211639404296875, 0.156982421875, 0.0455322265625, 0.057769775390625, 0.1751708984375, 0.2303466796875, 0.0625, ...
embed
63425485_c1
63425485
elixir
1
_000, restart: :permanent, type: :supervisor } end end The Dynamic One: defmodule Squareup.DynamicJourneySupervisor do use DynamicSupervisor def start_link(init_arg) do DynamicSupervisor.start_link(__MODULE__, init_arg, name: __MODULE__) end def start_child(init_args) do # If MyWorker is not using the new child specs, ...
_000, restart: :permanent, type: :supervisor } end end The Dynamic One: defmodule Squareup.DynamicJourneySupervisor do use DynamicSupervisor def start_link(init_arg) do DynamicSupervisor.start_link(__MODULE__, init_arg, name: __MODULE__) end def start_child(init_args) do # If MyWorker is not using the new child specs, ...
[ 0.00008058547973632812, 0.01123046875, -0.0125732421875, -0.00555419921875, -0.00148773193359375, -0.01263427734375, 0.01483154296875, -0.01116943359375, 0.017578125, -0.0198974609375, -0.0123291015625, 0.01458740234375, 0.006805419921875, 0.00732421875, -0.00469970703125, 0.0044860839...
[ 101, 9508, 456, 17137, 669, 2517, 10644, 59104, 51858, 3564, 73327, 21068, 6561, 12, 8, 420, 83279, 68305, 2037, 29673, 16604, 474, 10186, 73903, 54, 4527, 4034, 10187, 73, 217, 61477, 397, 23, 9351, 12013, 129984, 206, 38472, 2646, 10825...
[ 0.0150299072265625, 0.146484375, 0.0914306640625, 0.192138671875, 0.059814453125, 0.002593994140625, 0.132568359375, 0.163330078125, 0.27685546875, 0.07440185546875, 0.173828125, 0.1387939453125, 0.1973876953125, 0.00811767578125, 0.1455078125, 0.1351318359375, 0.191162109375, 0.15...
embed
74791558_c0
74791558
elixir
0
Title: How do I use a has_one to refer to non primary key column? Elixir Problem title: How do I use a has_one to refer to non primary key column? Elixir Tags: ecto, elixir Problem: How do I use a has_one to refer to non primary key column? Elixir I have a table @primary_key false schema "user_reward_entries" do field(...
How do I use a has_one to refer to non primary key column? Elixir How do I use a has_one to refer to non primary key column? Elixir ecto elixir How has_one Elixir primary_key user_reward_entries Ecto.UUID read_after_writes belongs_to Transaction User user_id accounts_transactions user_reward_entry UserRewardEntry compl...
[ -0.0135498046875, 0.0101318359375, 0.01263427734375, -0.0125732421875, 0.0113525390625, -0.0228271484375, 0.004608154296875, -0.018310546875, 0.001007080078125, -0.0458984375, 0.00909423828125, 0.0216064453125, -0.012939453125, 0.0181884765625, -0.018798828125, -0.0230712890625, -0.0...
[ 11249, 4527, 1556, 454, 3630, 15005, 351, 158978, 22799, 3365, 316, 19, 25318, 38308, 47, 60751, 15296, 19770, 38937, 107, 19364, 2517, 241, 44150, 41317, 7146, 12301, 10617, 11062, 53400, 532, 15426, 30145, 7768, 15123, 140528, 486, 223, 1...
[ 0.038482666015625, 0.1392822265625, 0.2423095703125, 0.07916259765625, 0.250732421875, 0.218505859375, 0.15087890625, 0.143798828125, 0.176025390625, 0.1666259765625, 0.18310546875, 0.0733642578125, 0.10986328125, 0.25146484375, 0.0221710205078125, 0.179443359375, 0.057769775390625, ...
embed
57456437_c1
57456437
elixir
1
, id, requestor) end end def upload(_, _response, _starting, _camera_exid, _id, _requestor), do: :noop Now,, my question is how I can supervise this method? Sometimes it gets failed on ElixirDropbox.Files.UploadSession.start(client, true, image_save_path) this part. I also have added a supervisor for it, but it's not r...
, id, requestor) end end def upload(_, _response, _starting, _camera_exid, _id, _requestor), do: :noop Now,, my question is how I can supervise this method? Sometimes it gets failed on ElixirDropbox.Files.UploadSession.start(client, true, image_save_path) this part. I also have added a supervisor for it, but it's not r...
[ -0.00531005859375, 0.014404296875, 0.0181884765625, -0.00750732421875, -0.007293701171875, 0.0034637451171875, 0.039794921875, -0.0194091796875, 0.003814697265625, 0.00005173683166503906, -0.0235595703125, 0.0201416015625, 0.01611328125, 0.01483154296875, 0.0179443359375, 0.00457763671...
[ 3447, 50336, 748, 3564, 8, 420, 70622, 132, 134719, 17137, 214, 124999, 3355, 532, 107, 7162, 1290, 54, 157, 2146, 9655, 3642, 831, 1601, 41079, 903, 55300, 160193, 165523, 25318, 38308, 28437, 11728, 174350, 53234, 63033, 294, 90, 6889, ...
[ 0.09912109375, 0.1837158203125, 0.1961669921875, 0.0989990234375, 0.1466064453125, 0.11767578125, 0.2269287109375, 0.01177978515625, 0.2197265625, 0.1898193359375, 0.07879638671875, 0.2044677734375, 0.135986328125, 0.18408203125, 0.05615234375, 0.1258544921875, 0.158447265625, 0.03...
embed
53179912_c0
53179912
elixir
0
Title: Edeliver Phoenix release fails Problem title: Edeliver Phoenix release fails Tags: elixir, distillery, edeliver, phoenix-framework Problem: Edeliver Phoenix release fails I'm trying to release a phoenix application with edeliver following the steps explained here . I have browsed the internet and found some peop...
Edeliver Phoenix release fails Edeliver Phoenix release fails elixir distillery edeliver phoenix-framework an Edeliver Phoenix Authorizing Ensuring Output FAILED current_shell SHELL You receive.denyCurrentBranch APP BUILD_HOST BUILD_USER BUILD_AT RELEASE_DIR GIT_CLEAN_PATHS _build STAGING_HOSTS STAGING_USER TEST_AT PRO...
[ 0, 0.0169677734375, 0.01007080078125, 0.016357421875, -0.005340576171875, -0.00921630859375, -0.024169921875, -0.02197265625, -0.00634765625, 0.0198974609375, 0.0244140625, -0.00396728515625, 0.02197265625, -0.007049560546875, -0.01251220703125, 0.01397705078125, -0.0169677734375, ...
[ 131175, 14, 814, 133720, 54452, 35782, 7, 15296, 38308, 45, 178043, 53, 28, 112, 134148, 53073, 33, 4084, 160328, 18244, 61804, 13538, 563, 11388, 38409, 43581, 128019, 18883, 56051, 53299, 555, 474, 15724, 1603, 66440, 22013, 16444, 34274, ...
[ 0.1424560546875, 0.1129150390625, 0.224609375, 0.2352294921875, 0.1688232421875, 0.22119140625, 0.0258331298828125, 0.01068115234375, 0.142822265625, 0.00750732421875, 0.1341552734375, 0.06280517578125, 0.0693359375, 0.105712890625, 0.255126953125, 0.0450439453125, 0.086181640625, ...
embed
76830773_c0
76830773
elixir
0
Title: Calculating average of seconds in list of maps Elixir Problem title: Calculating average of seconds in list of maps Elixir Tags: elixir Problem: Calculating average of seconds in list of maps Elixir I have this sample data [ %{ check_in_time: 60, imaging_time: 180, lab_time: 120, vital_time: 60, pharmacy_time: 1...
Calculating average of seconds in list of maps Elixir Calculating average of seconds in list of maps Elixir elixir Calculating Elixir check_in_time imaging_time lab_time vital_time pharmacy_time Enum.reduce acc.check_in_time acc.imaging_time acc.lab_time acc.pharmacy_time acc.vital_time sum_average Calculating average ...
[ -0.01129150390625, -0.01953125, 0.0040283203125, -0.00457763671875, -0.00927734375, -0.0252685546875, -0.006256103515625, 0.005950927734375, 0.000225067138671875, -0.0235595703125, 0.014892578125, 0.0020599365234375, 0.041015625, 0.0157470703125, 0.010986328125, 0.00148773193359375, ...
[ 212467, 26518, 83080, 111, 94131, 5303, 22288, 25318, 38308, 23, 15296, 12765, 73, 6032, 86898, 60054, 30306, 220505, 316, 107, 106357, 50015, 78292, 6114, 163414, 3760, 10554, 8216, 7, 121413, 2053, 756, 77630, 13379, 1733, 3444, 69307, 7448...
[ 0.1602783203125, 0.0164947509765625, 0.22998046875, 0.008697509765625, 0.2705078125, 0.13671875, 0.1654052734375, 0.109375, 0.231689453125, 0.0171966552734375, 0.06903076171875, 0.109130859375, 0.0926513671875, 0.107666015625, 0.083740234375, 0.060394287109375, 0.1082763671875, 0.1...
embed
50051933_c0
50051933
elixir
0
Title: Ecto validation and query fail with no error Problem title: Ecto validation and query fail with no error Tags: elixir, ecto, changeset, phoenix-framework Problem: Ecto validation and query fail with no error Hello :) I have a little problem when I try to insert data with a form. When I do insert, the redirection...
Ecto validation and query fail with no error Ecto validation and query fail with no error elixir ecto changeset phoenix-framework Ecto.Query g Ecto.Changeset Ecto HexProjectWeb.UserController HexProjectWeb HexProject.Accounts HexProject.Accounts.User HexProject.Gender _params HexProject.Repo.all Gender g.name g.id Acco...
[ -0.00982666015625, -0.001495361328125, 0.0002689361572265625, -0.00927734375, 0.0036468505859375, 0.0089111328125, -0.0263671875, -0.01104736328125, -0.00665283203125, -0.0234375, -0.00213623046875, -0.022705078125, 0.0174560546875, 0.031494140625, -0.0040283203125, -0.001190185546875,...
[ 241, 44150, 44622, 1363, 136, 41, 1294, 35782, 678, 110, 18499, 15296, 38308, 60751, 65572, 126, 53073, 33, 4084, 160328, 41732, 706, 127008, 4188, 1529, 425, 223353, 30474, 175904, 71013, 1062, 724, 23894, 2500, 4332, 771, 5584, 527, 11627...
[ 0.1290283203125, 0.279541015625, 0.2484130859375, 0.036041259765625, 0.048583984375, 0.1412353515625, 0.0183868408203125, 0.2061767578125, 0.053955078125, 0.07672119140625, 0.2152099609375, 0.04693603515625, 0.1795654296875, 0.25, 0.1390380859375, 0.1180419921875, 0.01690673828125, ...
embed
33550015_c0
33550015
elixir
0
Title: How to use Phoenix with a different db driver than ecto? For example OrientDB Problem title: How to use Phoenix with a different db driver than ecto? For example OrientDB Tags: elixir, phoenix-framework Problem: How to use Phoenix with a different db driver than ecto? For example OrientDB I'm trying to wrap my h...
How to use Phoenix with a different db driver than ecto? For example OrientDB How to use Phoenix with a different db driver than ecto? For example OrientDB elixir phoenix-framework UndefinedFunctionError Supervisor.Spec How Phoenix OrientDB phoenix_html phoenix_live_reload marco_polo MyApp.OrientRepo MarcoPolo _type _a...
[ -0.004486083984375, 0.0213623046875, -0.00909423828125, 0.0167236328125, -0.01708984375, 0.037353515625, -0.006683349609375, -0.01165771484375, -0.00616455078125, -0.036376953125, -0.00311279296875, -0.0101318359375, 0.01348876953125, -0.0179443359375, -0.007080078125, -0.012451171875,...
[ 11249, 4527, 133720, 678, 12921, 40041, 27941, 3501, 60751, 27781, 70352, 39463, 15296, 38308, 53073, 33, 4084, 160328, 79912, 5983, 97249, 18468, 4265, 51858, 47107, 7693, 24056, 107, 63033, 45983, 57603, 2646, 39179, 165168, 4332, 771, 38591,...
[ 0.0689697265625, 0.1448974609375, 0.2822265625, 0.09649658203125, 0.1375732421875, 0.1571044921875, 0.2076416015625, 0.0183563232421875, 0.1964111328125, 0.0203094482421875, 0.2138671875, 0.211669921875, 0.06121826171875, 0.201904296875, 0.05487060546875, 0.060394287109375, 0.1590576...
embed
75437929_c0
75437929
elixir
0
Title: Elixir Phoenix - How to create and import javascript files into specific templates Problem title: Elixir Phoenix - How to create and import javascript files into specific templates Tags: assets, elixir, javascript, phoenix-framework Problem: Elixir Phoenix - How to create and import javascript files into specifi...
Elixir Phoenix - How to create and import javascript files into specific templates Elixir Phoenix - How to create and import javascript files into specific templates assets elixir javascript phoenix-framework Phoenix.Router.NoRouteError javascript Elixir Phoenix How custom.js app.js Routes.static_path GET MyAppWeb.Rout...
[ -0.00634765625, -0.00008058547973632812, -0.01385498046875, -0.001678466796875, -0.007537841796875, 0.0081787109375, 0.005218505859375, -0.00066375732421875, 0.0059814453125, -0.056396484375, -0.0130615234375, -0.021240234375, 0.01177978515625, 0.017578125, 0.01483154296875, 0.01623535...
[ 25318, 38308, 133720, 11249, 28282, 136, 24927, 136951, 102158, 3934, 29458, 110934, 181079, 15296, 53073, 33, 4084, 160328, 12724, 25208, 5021, 18468, 114122, 28175, 4027, 106015, 128405, 79794, 2646, 39179, 30474, 759, 9007, 122188, 22932, 8576...
[ 0.1192626953125, 0.2349853515625, 0.2705078125, 0.063232421875, 0.153564453125, 0.05303955078125, 0.2095947265625, 0.272705078125, 0.1556396484375, 0.1123046875, 0.183837890625, 0.257080078125, 0.1961669921875, 0.07110595703125, 0.001617431640625, 0.0260162353515625, 0.093017578125, ...
embed
56616859_c0
56616859
elixir
0
Title: Using List Comprehensions to generate potential combinations Problem title: Using List Comprehensions to generate potential combinations Tags: elixir Problem: Using List Comprehensions to generate potential combinations I need to generate sets of series data with some already-determined values to test against an...
Using List Comprehensions to generate potential combinations Using List Comprehensions to generate potential combinations elixir Using List Comprehensions generate_sample_data valid_lists Enum.find_index List.update_at Enum.each SampleData.generate_sample_data Using List Comprehensions to generate potential combination...
[ -0.01708984375, 0.034423828125, -0.009521484375, 0.022705078125, -0.007080078125, 0.01806640625, -0.004547119140625, -0.00335693359375, -0.00087738037109375, -0.02099609375, -0.01031494140625, -0.00014591217041015625, 0.029052734375, 0.041748046875, -0.00982666015625, 0.01080322265625,...
[ 345, 32036, 142158, 3220, 63239, 139392, 38516, 162515, 15296, 38308, 433, 33209, 10135, 35604, 6562, 357, 316, 111607, 4711, 117008, 257, 41581, 947, 137989, 48281, 3871, 5423, 36549, 2053, 21771, 30524, 142424, 3034, 26548, 234873, 121413, 33...
[ 0.02880859375, 0.268310546875, 0.1812744140625, 0.19287109375, 0.109130859375, 0.19287109375, 0.207275390625, 0.236572265625, 0.07818603515625, 0.23681640625, 0.0843505859375, 0.1671142578125, 0.1158447265625, 0.1192626953125, 0.1795654296875, 0.023406982421875, 0.1373291015625, 0....
embed
54401486_c0
54401486
elixir
0
Title: Connecting erlang observer to remote machine via public IP Problem title: Connecting erlang observer to remote machine via public IP Tags: erlang, ssh, elixir Problem: Connecting erlang observer to remote machine via public IP Background I have a machine in production running an elixir application (no access to ...
Connecting erlang observer to remote machine via public IP Connecting erlang observer to remote machine via public IP erlang ssh elixir Connecting public_ip public_ip:4369 public_ip:42877 app_name mah_cookie my_app_name connect_to Name watchdog.sh CRON pam_unix cron:session Connecting erlang observer to remote machine ...
[ -0.005859375, 0.03857421875, -0.0076904296875, 0.0015106201171875, 0.00921630859375, -0.02294921875, -0.031494140625, 0.006683349609375, 0.001434326171875, -0.043212890625, 0.00445556640625, -0.0250244140625, 0.031982421875, -0.011474609375, 0.011962890625, -0.00823974609375, 0.01519...
[ 62448, 72, 3066, 160073, 47, 148814, 36279, 3835, 8021, 1829, 91, 1495, 15296, 38308, 3442, 33210, 14212, 33529, 182055, 4027, 454, 11627, 7356, 212087, 759, 9007, 37067, 188, 15757, 39544, 38507, 45077, 19377, 309, 4084, 71138, 169234, 26828...
[ 0.1815185546875, 0.131103515625, 0.27587890625, 0.307373046875, 0.09185791015625, 0.2049560546875, 0.1619873046875, 0.1427001953125, 0.14111328125, 0.0288238525390625, 0.01275634765625, 0.170166015625, 0.08740234375, 0.219970703125, 0.10791015625, 0.0517578125, 0.1829833984375, 0.0...
embed
43174241_c0
43174241
elixir
0
Title: Create closure in Elixir Problem title: Create closure in Elixir Tags: elixir, closures Problem: Create closure in Elixir I have a Sequence struct that consists of a state and a generator function which generates the new state from the old one. I want to write a limit function that returns a new sequence that sh...
Create closure in Elixir Create closure in Elixir elixir closures Create Elixir Sequence old_state new_state lim_gen create_limit_gen IO.puts Sequence.limit Sequence.generate GenServer ETS Create closure in Elixir I have a Sequence struct that consists of a state and a generator function which generates the new state f...
[ -0.0050048828125, 0.0291748046875, 0.00238037109375, -0.001953125, 0.0269775390625, -0.002777099609375, 0.00142669677734375, 0.002349853515625, 0.00579833984375, -0.045166015625, -0.01373291015625, 0.0146484375, 0.00579833984375, 0.03564453125, 0.03369140625, 0.003173828125, -0.01531...
[ 151313, 170224, 23, 25318, 38308, 15296, 503, 944, 10332, 61340, 3525, 32060, 1409, 28282, 93343, 17780, 7077, 48281, 15937, 193348, 83435, 3956, 36716, 58055, 11341, 145823, 32354, 139392, 1295, 3444, 33022, 17475, 30646, 40, 66161, 653, 20028...
[ 0.148681640625, 0.2587890625, 0.045501708984375, 0.0975341796875, 0.2435302734375, 0.052581787109375, 0.0518798828125, 0.10595703125, 0.0904541015625, 0.1590576171875, 0.106201171875, 0.1458740234375, 0.1417236328125, 0.1151123046875, 0.2095947265625, 0.163330078125, 0.1568603515625,...
embed
66488923_c0
66488923
elixir
0
Title: {:amqp_msg, {:P_basic, ...:undefined, :undefined, :undefined, :undefined} AMQP error :( Problem title: {:amqp_msg, {:P_basic, ...:undefined, :undefined, :undefined, :undefined} AMQP error :( Tags: amqp, elixir, rabbitmq, exrabbitpool, erlang Problem: {:amqp_msg, {:P_basic, ...:undefined, :undefined, :undefined, ...
{:amqp_msg, {:P_basic, ...:undefined, :undefined, :undefined, :undefined} AMQP error :( {:amqp_msg, {:P_basic, ...:undefined, :undefined, :undefined, :undefined} AMQP error :( amqp elixir rabbitmq exrabbitpool erlang amqp_msg P_basic AMQP queue_config queue_name some_queue_name some_exchange_name queue_options exchange...
[ 0.00518798828125, 0.044921875, -0.01953125, 0.006561279296875, -0.006927490234375, -0.00787353515625, -0.01373291015625, -0.0147705078125, 0.0008544921875, 0.00102996826171875, 0.011474609375, -0.0001659393310546875, 0.033203125, 0.0225830078125, 0.014404296875, 0.025634765625, -0.01...
[ 302, 864, 254, 4432, 177, 402, 27744, 5983, 9677, 2737, 683, 18499, 31124, 444, 15296, 38308, 152131, 18, 1119, 16977, 3137, 20740, 3066, 436, 41, 13388, 153837, 3060, 944, 3355, 152028, 109585, 121122, 68557, 22629, 19770, 5443, 10545, 217...
[ 0.0767822265625, 0.1114501953125, 0.130859375, 0.062255859375, 0.06304931640625, 0.074951171875, 0.0989990234375, 0.03802490234375, 0.1392822265625, 0.173095703125, 0.1610107421875, 0.2197265625, 0.0322265625, 0.061279296875, 0.018035888671875, 0.174560546875, 0.115478515625, 0.029...
embed
50124865_c0
50124865
elixir
0
Title: Why/How/When to use the __using__(which) macro in Phoenix Controller/View/etc? Problem title: Why/How/When to use the __using__(which) macro in Phoenix Controller/View/etc? Tags: elixir, phoenix-framework, macros Problem: Why/How/When to use the __using__(which) macro in Phoenix Controller/View/etc? Context Insi...
Why/How/When to use the __using__(which) macro in Phoenix Controller/View/etc? Why/How/When to use the __using__(which) macro in Phoenix Controller/View/etc? elixir phoenix-framework macros Why How When __using__ Phoenix Controller View _web.ex chat_web.ex is_atom __MODULE__ Why/How/When to use the __using__(which) mac...
[ -0.00689697265625, 0.002899169921875, 0.0038909912109375, 0.005462646484375, 0.004913330078125, 0.016845703125, -0.0213623046875, -0.00762939453125, 0.0029449462890625, -0.052978515625, -0.008056640625, -0.039306640625, 0.0087890625, 0.0003604888916015625, 0.001953125, -0.0021667480468...
[ 44084, 64, 81826, 186048, 4527, 5953, 223, 214, 14005, 143321, 111789, 23, 133720, 27131, 603, 100474, 111879, 15296, 38308, 53073, 33, 4084, 160328, 18244, 11249, 14847, 29805, 14051, 3355, 3245, 83, 5928, 12013, 397, 187040, 11907, 150, 400...
[ 0.143310546875, 0.037506103515625, 0.08807373046875, 0.1361083984375, 0.129150390625, 0.10601806640625, 0.16552734375, 0.1795654296875, 0.1353759765625, 0.2164306640625, 0.2366943359375, 0.0236053466796875, 0.2274169921875, 0.1767578125, 0.1585693359375, 0.23046875, 0.060821533203125...
embed
45306648_c0
45306648
elixir
0
Title: After Renaming Elixir/Phoenix Codebase: variable &quot;X&quot; does not exist and is being expanded to &quot;X()&quot; Problem title: After Renaming Elixir/Phoenix Codebase: variable &quot;X&quot; does not exist and is being expanded to &quot;X()&quot; Tags: phoenix-framework, elixir Problem: After Renaming Elix...
After Renaming Elixir/Phoenix Codebase: variable &quot;X&quot; does not exist and is being expanded to &quot;X()&quot; After Renaming Elixir/Phoenix Codebase: variable &quot;X&quot; does not exist and is being expanded to &quot;X()&quot; phoenix-framework elixir official hex After Renaming Elixir Phoenix Codebase phx.s...
[ -0.01300048828125, -0.000789642333984375, -0.00174713134765625, 0.027587890625, 0.01953125, 0.032470703125, 0.004852294921875, 0.0133056640625, 0.0185546875, -0.01348876953125, -0.00384521484375, -0.01904296875, 0.032958984375, -0.00177001953125, 0.01239013671875, 0.0247802734375, -0...
[ 24372, 15790, 302, 214, 25318, 38308, 497, 33, 4084, 28864, 37382, 77336, 1542, 14602, 959, 32316, 8035, 71062, 53073, 160328, 15296, 51521, 764, 425, 133720, 11521, 39642, 17664, 3355, 8, 6423, 11030, 3794, 26349, 177149, 56, 29822, 37286, ...
[ 0.0830078125, 0.11376953125, 0.16552734375, 0.01812744140625, 0.108642578125, 0.20068359375, 0.05194091796875, 0.1121826171875, 0.12548828125, 0.1265869140625, 0.2186279296875, 0.2568359375, 0.150390625, 0.01373291015625, 0.09490966796875, 0.1998291015625, 0.0270843505859375, 0.168...
embed
79033601_c1
79033601
elixir
1
end scope "/", HelloWeb do pipe_through :browser get "/", PageController, :home get "/hello", HelloController, :index get "/hello/:messenger", HelloController, :show # resources "/users", UserController end # Enable LiveDashboard and Swoosh mailbox preview in development if Application.compile_env(:hello, :dev_routes)...
end scope "/", HelloWeb do pipe_through :browser get "/", PageController, :home get "/hello", HelloController, :index get "/hello/:messenger", HelloController, :show # resources "/users", UserController end # Enable LiveDashboard and Swoosh mailbox preview in development if Application.compile_env(:hello, :dev_routes)...
[ -0.00927734375, 0.002227783203125, -0.00531005859375, 0.02294921875, -0.0038604736328125, -0.01300048828125, 0.016845703125, -0.006256103515625, -0.0037994384765625, -0.025390625, -0.020263671875, -0.04248046875, 0.02978515625, 0.01116943359375, 0.017822265625, 0.009765625, -0.013488...
[ 3564, 70820, 64, 35378, 30474, 54, 137158, 222521, 215725, 2046, 14231, 175904, 603, 29552, 13817, 4711, 70288, 1505, 31374, 65514, 44, 53400, 2886, 9251, 19346, 24351, 136, 159, 3613, 32067, 6648, 11728, 479, 22751, 34754, 104921, 58875, 334...
[ 0.18017578125, 0.2288818359375, 0.1796875, 0.215576171875, 0.2783203125, 0.0208892822265625, 0.1339111328125, 0.1116943359375, 0.1522216796875, 0.0330810546875, 0.06170654296875, 0.21923828125, 0.176513671875, 0.045989990234375, 0.2161865234375, 0.0970458984375, 0.0297088623046875, ...
embed
36139812_c0
36139812
elixir
0
Title: Phoenix Framework: undefined function LetsPlan.Event.fetch/2. But the fetch function is not documented anywhere Problem title: Phoenix Framework: undefined function LetsPlan.Event.fetch/2. But the fetch function is not documented anywhere Tags: elixir, phoenix-framework Problem: Phoenix Framework: undefined func...
Phoenix Framework: undefined function LetsPlan.Event.fetch/2. But the fetch function is not documented anywhere Phoenix Framework: undefined function LetsPlan.Event.fetch/2. But the fetch function is not documented anywhere elixir phoenix-framework UndefinedFunctionError Phoenix Framework LetsPlan.Event.fetch But Repo....
[ -0.01806640625, -0.0006561279296875, 0.0263671875, -0.005523681640625, -0.0005035400390625, -0.0130615234375, -0.0023040771484375, -0.0140380859375, 0.0032501220703125, -0.0546875, -0.0107421875, -0.00543212890625, -0.0052490234375, -0.00390625, 0.00848388671875, -0.004791259765625, ...
[ 133720, 202220, 9232, 5983, 32354, 10842, 7, 78680, 192134, 29362, 12477, 4966, 7647, 206, 83, 959, 12937, 297, 151107, 15296, 38308, 53073, 33, 4084, 160328, 18244, 79912, 97249, 18468, 771, 36943, 7639, 7693, 7146, 152378, 38496, 22687, 402...
[ 0.277099609375, 0.2481689453125, 0.1068115234375, 0.1983642578125, 0.182373046875, 0.1630859375, 0.0252685546875, 0.26318359375, 0.207275390625, 0.1654052734375, 0.1905517578125, 0.052398681640625, 0.1746826171875, 0.1781005859375, 0.001617431640625, 0.10638427734375, 0.2003173828125...
embed
68213072_c0
68213072
elixir
0
Title: Merging a chunked file using streams corrupts end file Problem title: Merging a chunked file using streams corrupts end file Tags: elixir Problem: Merging a chunked file using streams corrupts end file I'm working on a chunked upload feature. Currently I'm trying to merge together the chunks to create back the o...
Merging a chunked file using streams corrupts end file Merging a chunked file using streams corrupts end file elixir streams Merging full_file_path Briefly.create state.upload_chunk_files Enum.sort sort_chunk_paths Enum.reduce File.open build_file chunk_path full_file IO.binwrite File.read upload_chunk_files File.strea...
[ -0.006927490234375, 0.003814697265625, 0.0203857421875, -0.028076171875, -0.004852294921875, -0.007110595703125, -0.0021820068359375, -0.0252685546875, -0.004791259765625, 0.01226806640625, 0.029052734375, 0.0244140625, 0.02392578125, 0.03662109375, 0.0250244140625, -0.0186767578125, ...
[ 6035, 9966, 7839, 12225, 11435, 17368, 75973, 7, 66157, 3564, 15296, 38308, 4393, 29822, 128405, 101936, 7612, 11341, 94835, 206, 3678, 357, 316, 62351, 12096, 107, 106357, 42724, 59636, 45367, 92, 17780, 7568, 18781, 39116, 70622, 86429, 115...
[ 0.1981201171875, 0.0648193359375, 0.222412109375, 0.1505126953125, 0.164794921875, 0.1309814453125, 0.2386474609375, 0.08221435546875, 0.260498046875, 0.1536865234375, 0.06292724609375, 0.193359375, 0.144287109375, 0.167236328125, 0.112548828125, 0.0704345703125, 0.0212249755859375, ...
embed
35379022_c0
35379022
elixir
0
Title: Accessing in between entity in phoenix template Problem title: Accessing in between entity in phoenix template Tags: ecto, elixir, phoenix-framework Problem: Accessing in between entity in phoenix template I'm making kind of school presence tracker but I have encountered an issue. I have two main entities User, ...
Accessing in between entity in phoenix template Accessing in between entity in phoenix template ecto elixir phoenix-framework Accessing has_many Presence Stuff on_delete fetch_and_delete belongs_to Kpsz.Model.User foreign_key user_id Kpsz.Model.Event event_id col-lg-6 Nazwa event.name event.users col-md-2 user.class us...
[ -0.00494384765625, -0.007476806640625, 0.0167236328125, 0.0031585693359375, -0.006683349609375, 0.002044677734375, 0.0155029296875, 0.00970458984375, -0.005523681640625, -0.06103515625, -0.0128173828125, 0.0159912109375, -0.00335693359375, -0.005035400390625, -0.0096435546875, -0.00515...
[ 40266, 214, 23, 17721, 77630, 939, 53073, 33, 4084, 110934, 60751, 15296, 38308, 160328, 1556, 669, 53, 20703, 6620, 2907, 21493, 98, 8520, 67, 7647, 2940, 10617, 1330, 140290, 1062, 110613, 19770, 38937, 192134, 19732, 3365, 13545, 353, 12...
[ 0.221923828125, 0.051788330078125, 0.1441650390625, 0.279052734375, 0.1800537109375, 0.11279296875, 0.0906982421875, 0.113525390625, 0.167236328125, 0.295166015625, 0.159912109375, 0.0560302734375, 0.18115234375, 0.092529296875, 0.072021484375, 0.091552734375, 0.0770263671875, 0.14...
embed
76396387_c1
76396387
elixir
1
umbling_dice/deps/cowboy/src/cowboy_stream_h.erl:295 :cowboy_stream_h.request_process/3 stdlib proc_lib.erl:240 :proc_lib.init_p_do_apply/3 The error message seems to suggest that I'm not actually submitting via LiveView but by an HTTP Post. I've seen things in other solutions like "clean and rerun npm install" or chan...
umbling_dice/deps/cowboy/src/cowboy_stream_h.erl:295 :cowboy_stream_h.request_process/3 stdlib proc_lib.erl:240 :proc_lib.init_p_do_apply/3 The error message seems to suggest that I'm not actually submitting via LiveView but by an HTTP Post. I've seen things in other solutions like "clean and rerun npm install" or chan...
[ -0.01318359375, 0.013671875, 0.004547119140625, -0.0181884765625, 0.002532958984375, -0.000720977783203125, 0.00098419189453125, 0.01446533203125, -0.01336669921875, -0.0250244140625, 0.00139617919921875, -0.0213623046875, 0.0111083984375, 0.0177001953125, -0.00156402587890625, 0.02172...
[ 286, 79298, 48226, 112, 6423, 434, 30885, 19437, 587, 86429, 127, 141, 29223, 758, 75616, 63923, 18113, 6138, 5612, 10402, 62635, 9007, 538, 18499, 26008, 37202, 42459, 959, 20653, 137447, 1916, 1829, 9251, 100474, 390, 135913, 2795, 51347, ...
[ 0.086181640625, 0.21484375, 0.2047119140625, 0.123779296875, 0.1092529296875, 0.088134765625, 0.20654296875, 0.0966796875, 0.01141357421875, 0.19677734375, 0.0413818359375, 0.0423583984375, 0.06494140625, 0.08349609375, 0.1173095703125, 0.04693603515625, 0.050628662109375, 0.025421...
embed
52652324_c0
52652324
elixir
0
Title: Elixir Redix name-based pool example - Supervisor signature doesn&#x27;t exist Problem title: Elixir Redix name-based pool example - Supervisor signature doesn&#x27;t exist Tags: erlang-otp, elixir, phoenix-framework Problem: Elixir Redix name-based pool example - Supervisor signature doesn't exist So I am havin...
Elixir Redix name-based pool example - Supervisor signature doesn&#x27;t exist Elixir Redix name-based pool example - Supervisor signature doesn&#x27;t exist erlang-otp elixir phoenix-framework UndefinedFunctionError Elixir Redix Supervisor start_link children_redix Gives Mix Could Gametime.Application.start RedixSuper...
[ -0.0162353515625, 0.00872802734375, -0.0093994140625, -0.015380859375, -0.006591796875, 0.017822265625, 0.01239013671875, -0.00897216796875, 0.0262451171875, 0.00157928466796875, 0.01177978515625, -0.0264892578125, 0.01287841796875, 0.021484375, 0.004638671875, 0.0022735595703125, -0...
[ 25318, 38308, 6096, 4084, 9351, 77007, 19361, 27781, 4265, 51858, 138256, 22027, 3768, 18, 32316, 72, 3066, 818, 254, 15296, 33, 160328, 5983, 97249, 18468, 4034, 10187, 20020, 2822, 77878, 37286, 191147, 13547, 6032, 47677, 182867, 17137, 73...
[ 0.09832763671875, 0.18798828125, 0.1708984375, 0.1846923828125, 0.05340576171875, 0.1070556640625, 0.1573486328125, 0.1812744140625, 0.184814453125, 0.2086181640625, 0.21142578125, 0.038818359375, 0.038299560546875, 0.051788330078125, 0.15234375, 0.000701904296875, 0.1429443359375, ...
embed
55247242_c0
55247242
elixir
0
Title: Application not restarting after normal exit Problem title: Application not restarting after normal exit Tags: erlang-supervisor, elixir, elixir-mix Problem: Application not restarting after normal exit I am trying to connect to mqtt using tortoise . When my connection drops it connects on the with no problem bu...
Application not restarting after normal exit Application not restarting after normal exit erlang-supervisor elixir elixir-mix Application one_to_one connection.ex SslMqtt.MixProject Mix.Project ssl_mqtt start_permanent Mix.env Run compile.app SslMqtt.Application extra_applications dep_from_hexpm dep_from_git github.com...
[ -0.01177978515625, 0.0201416015625, 0.006195068359375, 0.006195068359375, 0.0108642578125, 0.00074005126953125, 0.0123291015625, -0.0037841796875, 0.006927490234375, -0.0166015625, 0.00189208984375, -0.008056640625, -0.00506591796875, 0.030029296875, 0.01336669921875, -0.00885009765625...
[ 104921, 959, 456, 17137, 214, 7103, 3638, 82230, 72, 3066, 59104, 51858, 15296, 38308, 62015, 1632, 188, 3630, 94878, 3355, 24861, 864, 3062, 594, 4084, 223353, 37286, 4034, 669, 334, 28398, 9969, 1340, 9007, 159, 47677, 182867, 4173, 10168...
[ 0.1837158203125, 0.1131591796875, 0.1204833984375, 0.2181396484375, 0.0645751953125, 0.137939453125, 0.156982421875, 0.2335205078125, 0.066650390625, 0.198486328125, 0.1541748046875, 0.2379150390625, 0.046173095703125, 0.16015625, 0.2230224609375, 0.058135986328125, 0.1014404296875, ...
embed
42609234_c0
42609234
elixir
0
Title: defimpl Phoenix.Param to override to_param causes (FunctionClauseError) no function clause matching in Phoenix.Param.Rumbl.Video.to_param/1 Problem title: defimpl Phoenix.Param to override to_param causes (FunctionClauseError) no function clause matching in Phoenix.Param.Rumbl.Video.to_param/1 Tags: phoenix-fram...
defimpl Phoenix.Param to override to_param causes (FunctionClauseError) no function clause matching in Phoenix.Param.Rumbl.Video.to_param/1 defimpl Phoenix.Param to override to_param causes (FunctionClauseError) no function clause matching in Phoenix.Param.Rumbl.Video.to_param/1 phoenix-framework web-development-server...
[ -0.01123046875, 0.00408935546875, 0.01165771484375, 0.0020751953125, -0.002197265625, 0.0184326171875, -0.0118408203125, -0.0177001953125, -0.0025177001953125, -0.00836181640625, -0.00732421875, -0.037109375, 0.0098876953125, 0.002655029296875, 0.00946044921875, -0.00093841552734375, ...
[ 8, 420, 116120, 133720, 55292, 39, 47, 645, 416, 112, 6276, 113660, 97249, 26253, 18468, 31611, 110, 32354, 70731, 13, 14858, 316, 9030, 25073, 188, 11583, 53073, 33, 4084, 160328, 1467, 39642, 15296, 38308, 28670, 27976, 1202, 3355, 28960,...
[ 0.1463623046875, 0.096923828125, 0.271240234375, 0.25, 0.1583251953125, 0.04095458984375, 0.170654296875, 0.074951171875, 0.16650390625, 0.08624267578125, 0.1605224609375, 0.175537109375, 0.07354736328125, 0.1083984375, 0.1107177734375, 0.0745849609375, 0.021026611328125, 0.1307373...
embed
49827069_c1
49827069
elixir
1
end def change_user do @user_schema.changeset @user_schema.__struct__, %{} end def update_user(user, params) do @repo.update change_user(user, params) end def create_user(params) do @repo.insert change_user(params) end Enum.each [Magnify.Coherence.Invitation], fn module -> name = module |> Module.split |> List.last |>...
end def change_user do @user_schema.changeset @user_schema.__struct__, %{} end def update_user(user, params) do @repo.update change_user(user, params) end def create_user(params) do @repo.insert change_user(params) end Enum.each [Magnify.Coherence.Invitation], fn module -> name = module |> Module.split |> List.last |>...
[ -0.0172119140625, -0.004425048828125, 0.0108642578125, 0.0120849609375, 0.00107574462890625, 0.0126953125, -0.002227783203125, 0.00064849853515625, 0.00946044921875, -0.01068115234375, -0.018310546875, 0.0172119140625, 0.00958251953125, 0.001312255859375, 0.007781982421875, -0.00787353...
[ 3564, 8, 420, 15549, 65918, 54, 1374, 454, 7560, 192, 152028, 3509, 5, 36716, 4, 8152, 28350, 121, 4432, 16, 107, 771, 117008, 28282, 132, 2500, 8256, 33657, 357, 316, 41581, 54084, 19, 40383, 10625, 3334, 6620, 4153, 3760, 2320, 268, ...
[ 0.1971435546875, 0.1875, 0.1270751953125, 0.2454833984375, 0.280029296875, 0.0894775390625, 0.092041015625, 0.01312255859375, 0.1322021484375, 0.09228515625, 0.1954345703125, 0.162841796875, 0.035308837890625, 0.1607666015625, 0.01336669921875, 0.013092041015625, 0.18798828125, 0.1...
embed
70048668_c0
70048668
elixir
0
Title: Displaying form errors in Phoenix 1.6 Problem title: Displaying form errors in Phoenix 1.6 Tags: phoenix-framework, elixir Problem: Displaying form errors in Phoenix 1.6 I have the following template code in a new Phoenix 1.6 project : <%= form_for @changeset, @action, fn f -> %> <%= if @changeset.action do %> <...
Displaying form errors in Phoenix 1.6 Displaying form errors in Phoenix 1.6 phoenix-framework elixir Displaying Phoenix form_for changeset.action Invalid mb-3 text_input error_tag current_user conn.assigns.current_user Enum.join RepositoryManager.get_repository_by_owner_and_slug repo.organisation Enum.find org.users cu...
[ 0.00164031982421875, 0.01104736328125, 0.004547119140625, -0.033935546875, 0.0216064453125, 0.017333984375, -0.0133056640625, 0.0032958984375, -0.000888824462890625, 0.003997802734375, 0.007232666015625, -0.016845703125, 0.0108642578125, 0.022705078125, 0.01708984375, 0.0169677734375, ...
[ 90045, 3173, 18499, 7, 23, 133720, 51748, 214, 53073, 4084, 160328, 15296, 38308, 65572, 126, 44713, 7013, 39369, 8316, 7986, 73, 6936, 43581, 65918, 158, 31304, 163812, 357, 316, 513, 59111, 12662, 8770, 35159, 93392, 40098, 111607, 30910, ...
[ 0.1455078125, 0.2471923828125, 0.2138671875, 0.051727294921875, 0.03497314453125, 0.2430419921875, 0.2371826171875, 0.011993408203125, 0.012451171875, 0.04095458984375, 0.05816650390625, 0.033843994140625, 0.14013671875, 0.142578125, 0.1566162109375, 0.098876953125, 0.1236572265625, ...
embed
51066534_c0
51066534
elixir
0
Title: Back an ecto model with custom sql instead of a table Problem title: Back an ecto model with custom sql instead of a table Tags: ecto, elixir Problem: Back an ecto model with custom sql instead of a table I've got this situation where I generate an intermediate table with some custom sql. In my app I have a mode...
Back an ecto model with custom sql instead of a table Back an ecto model with custom sql instead of a table ecto elixir Ecto Ecto.Query some_other_table Back EventBridge.C3poEvent Ecto.Schema intermediate_table_name access_dates some_conditions get_model Model Back an ecto model with custom sql instead of a table I've ...
[ 0.00823974609375, 0.021240234375, -0.01312255859375, 0.01214599609375, -0.01373291015625, -0.0084228515625, 0.01141357421875, 0.0057373046875, 0.00823974609375, -0.08154296875, -0.0081787109375, -0.006439208984375, -0.0260009765625, 0.0068359375, -0.0050048828125, -0.01202392578125, ...
[ 26828, 142, 60751, 3299, 678, 114122, 91, 99247, 64457, 23180, 15296, 38308, 241, 44150, 41732, 3060, 126340, 22819, 36943, 91854, 363, 771, 192134, 25452, 11883, 81814, 2182, 11627, 17203, 17489, 126940, 2046, 51734, 13293, 16648, 139392, 4027...
[ 0.1890869140625, 0.0137939453125, 0.2332763671875, 0.25830078125, 0.03125, 0.201904296875, 0.0225067138671875, 0.2047119140625, 0.1444091796875, 0.186279296875, 0.05633544921875, 0.169921875, 0.083251953125, 0.256103515625, 0.0538330078125, 0.005157470703125, 0.04852294921875, 0.17...
embed
29459584_c0
29459584
elixir
0
Title: Minimal example of HTTP server doing asynchronous database queries? Problem title: Minimal example of HTTP server doing asynchronous database queries? Tags: elixir, asynchronous Problem: Minimal example of HTTP server doing asynchronous database queries? I'm playing with different asynchronous HTTP servers to se...
Minimal example of HTTP server doing asynchronous database queries? Minimal example of HTTP server doing asynchronous database queries? elixir asynchronous Plug.Conn Supervisor.Spec Minimal HTTP pg_sleep al:al SQL SELECT http.createServer pg.connect client.query res.writeHead res.end Result result.rows console.log Serv...
[ -0.00665283203125, 0.000579833984375, 0.004730224609375, -0.00142669677734375, -0.006256103515625, 0.00286865234375, -0.004608154296875, -0.0289306640625, 0.0034637451171875, -0.057373046875, 0.01043701171875, 0.00145721435546875, -0.00714111328125, 0.006317138671875, -0.01177978515625, ...
[ 119305, 27781, 135913, 10723, 20594, 10, 12654, 101966, 63399, 41, 10484, 15296, 38308, 194351, 11935, 4265, 51858, 47107, 177, 170572, 144, 289, 80866, 6755, 144832, 1621, 7612, 193348, 135457, 23282, 944, 3332, 13025, 712, 3611, 126684, 16750...
[ 0.2164306640625, 0.184326171875, 0.2015380859375, 0.139404296875, 0.028411865234375, 0.060455322265625, 0.10986328125, 0.1439208984375, 0.1602783203125, 0.118896484375, 0.051361083984375, 0.06695556640625, 0.2415771484375, 0.12109375, 0.05682373046875, 0.135009765625, 0.1737060546875...
embed
59436198_c0
59436198
elixir
0
Title: Do I have to do anything to make Plugs work in test environment (Elixir / Phoenix)? Problem title: Do I have to do anything to make Plugs work in test environment (Elixir / Phoenix)? Tags: phoenix-framework, plug, elixir Problem: Do I have to do anything to make Plugs work in test environment (Elixir / Phoenix)?...
Do I have to do anything to make Plugs work in test environment (Elixir / Phoenix)? Do I have to do anything to make Plugs work in test environment (Elixir / Phoenix)? phoenix-framework plug elixir RuntimeError Plugs Elixir Phoenix check_url_existence link_params Link Links.create_link put_status put_resp_header Routes...
[ -0.0240478515625, -0.00537109375, 0.00921630859375, -0.0052490234375, -0.00836181640625, 0.0172119140625, -0.01904296875, -0.0279541015625, -0.00762939453125, -0.0201416015625, -0.01336669921875, -0.004974365234375, 0.007110595703125, -0.000942230224609375, -0.000644683837890625, 0.006...
[ 984, 765, 47, 54, 23937, 3249, 194351, 7, 4488, 23, 3034, 65998, 150, 38308, 133720, 647, 53073, 33, 4084, 160328, 18244, 76329, 15296, 18468, 31611, 25318, 12765, 25002, 116311, 3126, 2500, 12779, 57890, 7612, 10187, 3884, 45215, 31251, 10...
[ 0.000152587890625, 0.080810546875, 0.0249481201171875, 0.06219482421875, 0.115478515625, 0.06292724609375, 0.25390625, 0.115478515625, 0.16162109375, 0.06085205078125, 0.2158203125, 0.1697998046875, 0.07080078125, 0.206787109375, 0.2646484375, 0.003448486328125, 0.04498291015625, 0...
embed
59507191_c0
59507191
elixir
0
Title: Create non associated records with changeset Problem title: Create non associated records with changeset Tags: ecto, elixir, phoenix-framework Problem: Create non associated records with changeset I'm working on creating a local db schema for a remote API, and I have some problems. # CatalogObject schema "catalo...
Create non associated records with changeset Create non associated records with changeset ecto elixir phoenix-framework Create CatalogObject catalog_objects has_one item_data ItemData foreign_key catalog_object_id item_variation_data ItemVariationData belongs_to catalog_object API Response UA3XRLH75LEFRXCF2YWEUKB Steak...
[ -0.00141143798828125, 0.0030364990234375, -0.0213623046875, 0.008056640625, 0.01953125, 0.00567626953125, -0.0247802734375, -0.00982666015625, 0.007781982421875, -0.03125, 0.00592041015625, -0.0038604736328125, 0.0213623046875, 0.0205078125, 0.000946044921875, -0.0220947265625, 0.001...
[ 151313, 351, 137272, 115923, 678, 65572, 126, 60751, 15296, 38308, 53073, 33, 4084, 160328, 150917, 46471, 75161, 71426, 187694, 1556, 3630, 35735, 10135, 78426, 137989, 110613, 19770, 532, 21690, 2320, 81827, 14, 10617, 61687, 92748, 6873, 869...
[ 0.1259765625, 0.1634521484375, 0.1934814453125, 0.2088623046875, 0.062255859375, 0.2098388671875, 0.2115478515625, 0.1802978515625, 0.04888916015625, 0.1669921875, 0.03558349609375, 0.034912109375, 0.128173828125, 0.1026611328125, 0.20166015625, 0.0986328125, 0.1165771484375, 0.186...
embed
51002365_c0
51002365
elixir
0
Title: Checking if user is authenticated in Phoenix templates Problem title: Checking if user is authenticated in Phoenix templates Tags: phoenix-framework, guardian, elixir Problem: Checking if user is authenticated in Phoenix templates I am working on a phoenix application . The authentication part is implemented wit...
Checking if user is authenticated in Phoenix templates Checking if user is authenticated in Phoenix templates phoenix-framework guardian elixir Checking Phoenix Guardian admin_app_web app.html.eex header.html.eex sidebar.html.eex main.html.eex DOCTYPE utf-8 X-UA-Compatible header.html flash.html main.html footer.html s...
[ -0.0004673004150390625, 0.00494384765625, 0.005218505859375, -0.00933837890625, 0.003173828125, 0.012939453125, -0.00970458984375, 0.01226806640625, -0.0025177001953125, -0.047607421875, 0.016357421875, -0.0419921875, -0.01318359375, 0.00152587890625, -0.0021209716796875, -0.0075073242...
[ 38679, 214, 2174, 38937, 83, 195734, 27686, 23, 133720, 110934, 53073, 33, 4084, 160328, 18244, 158031, 19, 15296, 38308, 81589, 18022, 9007, 14051, 4027, 7693, 13, 3355, 10336, 5609, 1299, 5201, 120959, 27143, 17376, 20004, 10974, 30128, 576...
[ 0.1824951171875, 0.0120849609375, 0.11767578125, 0.16943359375, 0.1024169921875, 0.24169921875, 0.197021484375, 0.08258056640625, 0.282470703125, 0.2900390625, 0.049774169921875, 0.07818603515625, 0.1190185546875, 0.0733642578125, 0.003173828125, 0.1456298828125, 0.06640625, 0.0601...
embed
44004662_c0
44004662
elixir
0
Title: Ecto changeset validates only one association per time Problem title: Ecto changeset validates only one association per time Tags: elixir, ecto, validation Problem: Ecto changeset validates only one association per time Could someone help me understand how changeset validation works with associations in order to...
Ecto changeset validates only one association per time Ecto changeset validates only one association per time elixir ecto validation Ecto Post Comment Like Post.create_changeset Ecto.Changeset.put_assoc comments_changeset likes_changeset Repo.insert ecto.Changeset Ecto changeset validates only one association per time ...
[ 0.0169677734375, -0.00823974609375, 0.00982666015625, 0.00885009765625, 0.0205078125, -0.0079345703125, -0.004302978515625, -0.01177978515625, 0.0179443359375, -0.021240234375, -0.01007080078125, 0.0216064453125, 0.015869140625, 0.0194091796875, -0.005279541015625, 0.01470947265625, ...
[ 241, 44150, 65572, 126, 44622, 4734, 1632, 125413, 117, 1733, 15296, 38308, 60751, 2795, 16277, 18852, 7612, 152028, 3509, 127008, 4188, 73395, 24626, 1884, 771, 28219, 1363, 43240, 678, 151747, 7639, 18499, 24145, 27781, 73342, 56649, 156607, ...
[ 0.0987548828125, 0.271484375, 0.2166748046875, 0.208251953125, 0.240966796875, 0.1248779296875, 0.142822265625, 0.229248046875, 0.0859375, 0.14697265625, 0.0699462890625, 0.17919921875, 0.237548828125, 0.129638671875, 0.18115234375, 0.17626953125, 0.031158447265625, 0.1455078125, ...
embed
36814185_c0
36814185
elixir
0
Title: Getting error while running Ecto Seed file Problem title: Getting error while running Ecto Seed file Tags: postgresql, elixir, ecto, phoenix-framework Problem: Getting error while running Ecto Seed file I am new in Phoenix Framework and Elixir. I am trying to run seeder function for multiple time . though it is ...
Getting error while running Ecto Seed file Getting error while running Ecto Seed file postgresql elixir ecto phoenix-framework FunctionClauseError Faker Getting Ecto Seed FatLobster.Repo FatLobster.Recipe FatLobster.Place FatLobster.Review RecurssionSeed multiply_seeder recipe_seed place_seed review_seed Repo.insert Re...
[ 0.004608154296875, 0.0123291015625, -0.00396728515625, -0.0023956298828125, 0.0191650390625, 0.0010833740234375, -0.004241943359375, -0.0014495849609375, 0.00116729736328125, -0.039794921875, 0.0028228759765625, 0.007415771484375, 0.018798828125, 0.017333984375, 0.015625, -0.0148315429...
[ 210732, 18499, 12960, 51042, 241, 44150, 503, 297, 11435, 1305, 17562, 99247, 15296, 38308, 60751, 53073, 33, 4084, 160328, 28670, 26253, 18468, 3036, 1728, 24967, 866, 3522, 1515, 771, 115052, 143, 22751, 48650, 6889, 4233, 6024, 62479, 184,...
[ 0.0848388671875, 0.228271484375, 0.0814208984375, 0.1448974609375, 0.1092529296875, 0.271240234375, 0.189697265625, 0.2225341796875, 0.1573486328125, 0.052978515625, 0.1483154296875, 0.1436767578125, 0.044891357421875, 0.181884765625, 0.171630859375, 0.019775390625, 0.036651611328125...
embed
72164856_c0
72164856
elixir
0
Title: Elixir mox - mocking service used by genserver Problem title: Elixir mox - mocking service used by genserver Tags: ex-unit, elixir, mocking, mox Problem: Elixir mox - mocking service used by genserver I'm using Mox to mock a service Pokemon.Api (mock is called Pokemon.ApiMock ) and everythings works fine. I have...
Elixir mox - mocking service used by genserver Elixir mox - mocking service used by genserver ex-unit elixir mocking mox Mox.VerificationError Mox Elixir Pokemon.Api Pokemon.ApiMock Pokemon.Case DynamicSupervisor Genserver PID Pokemon.ApiMock.get_by_id mox.ex:713 Mox.verify_mock_or_all ex_unit on_exit_handler.ex:143 Ex...
[ -0.0037078857421875, 0.00124359130859375, 0.01348876953125, -0.010009765625, 0.015380859375, -0.005645751953125, 0.0255126953125, -0.0026397705078125, -0.011474609375, -0.0169677734375, -0.004791259765625, 0.0194091796875, 0.00946044921875, -0.00628662109375, 0.0225830078125, -0.012878...
[ 25318, 38308, 931, 425, 41324, 4516, 11814, 9226, 39642, 20, 1119, 309, 15296, 2501, 15896, 41274, 18468, 181812, 284, 1434, 9083, 2594, 441, 6991, 73327, 21068, 73903, 51858, 15937, 436, 7146, 5, 3794, 454, 1272, 532, 3355, 12, 966, 2681...
[ 0.13623046875, 0.2744140625, 0.1781005859375, 0.257568359375, 0.17724609375, 0.1597900390625, 0.1312255859375, 0.1170654296875, 0.2108154296875, 0.00921630859375, 0.143310546875, 0.06591796875, 0.084228515625, 0.2119140625, 0.1068115234375, 0.07086181640625, 0.03851318359375, 0.202...
embed
53141823_c0
53141823
elixir
0
Title: Handling error for large queries and sending 413 response Problem title: Handling error for large queries and sending 413 response Tags: elixir, ex-unit, plug, unit-testing Problem: Handling error for large queries and sending 413 response I have a voice note upload function. I was writing tests and as part of i...
Handling error for large queries and sending 413 response Handling error for large queries and sending 413 response elixir ex-unit plug unit-testing Plug.Conn.InvalidQueryError Plug.Exception Handling Couchdb.Connector.Storage.storage_down CouchdbHelperFunctions.db_props create_user_data.username user_data UserManager....
[ -0.00335693359375, 0.0242919921875, -0.004058837890625, -0.004913330078125, 0.003570556640625, 0.00107574462890625, -0.0172119140625, -0.0157470703125, 0.0016937255859375, -0.0230712890625, 0.01904296875, 0.01043701171875, 0.009521484375, -0.0123291015625, 0.005523681640625, 0.01208496...
[ 193237, 18499, 21334, 41, 10484, 135834, 201, 2681, 57553, 15296, 38308, 1119, 309, 76329, 25072, 6954, 194351, 11935, 7013, 41732, 18468, 63928, 1311, 12665, 48073, 235603, 188, 29838, 140464, 34695, 60785, 97249, 36290, 28282, 65918, 10135, 3...
[ 0.174072265625, 0.20166015625, 0.1209716796875, 0.1424560546875, 0.06695556640625, 0.0743408203125, 0.1060791015625, 0.214599609375, 0.188720703125, 0.05712890625, 0.1767578125, 0.1136474609375, 0.0504150390625, 0.137451171875, 0.09600830078125, 0.115234375, 0.1453857421875, 0.0497...
embed
35813526_c0
35813526
elixir
0
Title: Ecto add/3 default not working properly Problem title: Ecto add/3 default not working properly Tags: elixir, ecto, phoenix-framework Problem: Ecto add/3 default not working properly I have trouble with getting default value to use. I believe that I have set it up properly but it doesn't seem to work. When querie...
Ecto add/3 default not working properly Ecto add/3 default not working properly elixir ecto phoenix-framework Ecto Ep.Teacher Ep.Web has_many Ep.Test on_delete fetch_and_delete required_fields optional_fields CREATE TABLE public.teachers NOT DEFAULT teachers_id_seq CONSTRAINT teachers_pkey PRIMARY KEY OIDS ALTER OWNER ...
[ 0.0244140625, 0.0003528594970703125, 0.0034942626953125, -0.000301361083984375, -0.00872802734375, -0.0096435546875, -0.0177001953125, -0.0341796875, -0.007110595703125, -0.005279541015625, 0.0224609375, -0.0014190673828125, 0.01165771484375, 0.03564453125, -0.0022125244140625, -0.0142...
[ 241, 44150, 15190, 18113, 114977, 20697, 155965, 15296, 38308, 60751, 53073, 33, 4084, 160328, 43816, 10476, 934, 30474, 669, 111337, 8520, 67, 56065, 28394, 35829, 175151, 384, 183057, 3835, 1314, 86725, 1514, 14676, 148729, 864, 59020, 19770,...
[ 0.07098388671875, 0.264892578125, 0.15966796875, 0.247314453125, 0.274658203125, 0.1309814453125, 0.1385498046875, 0.0290374755859375, 0.1572265625, 0.2000732421875, 0.005157470703125, 0.01458740234375, 0.07904052734375, 0.0596923828125, 0.047760009765625, 0.06549072265625, 0.1212158...
embed
78059388_c0
78059388
elixir
0
Title: Attempting to understand the difference in computed result for a Math.imul (javascript) recreation in Elixir Problem title: Attempting to understand the difference in computed result for a Math.imul (javascript) recreation in Elixir Tags: javascript, elixir, math Problem: Attempting to understand the difference ...
Attempting to understand the difference in computed result for a Math.imul (javascript) recreation in Elixir Attempting to understand the difference in computed result for a Math.imul (javascript) recreation in Elixir javascript elixir math Attempting Math.imul Elixir ToUint32 integer-unsigned-32 binary.decode_unsigned...
[ -0.03466796875, 0.000690460205078125, 0.005279541015625, -0.0015106201171875, 0.001190185546875, 0.0079345703125, -0.012451171875, -0.005126953125, 0.003814697265625, -0.0123291015625, 0.0177001953125, 0.03076171875, -0.00616455078125, 0.02734375, 0.0211181640625, 0.0023345947265625, ...
[ 34224, 1916, 28219, 60212, 375, 7077, 16750, 78804, 464, 202, 24071, 32032, 89011, 25318, 38308, 136951, 15296, 48909, 717, 1062, 4288, 6460, 892, 1505, 309, 31304, 108760, 2394, 112, 40899, 20697, 13452, 5570, 55300, 123309, 29479, 176377, 3...
[ 0.0960693359375, 0.0222930908203125, 0.1304931640625, 0.2005615234375, 0.0343017578125, 0.1240234375, 0.1541748046875, 0.1588134765625, 0.180419921875, 0.2330322265625, 0.1453857421875, 0.171630859375, 0.2138671875, 0.1572265625, 0.28125, 0.2298583984375, 0.084716796875, 0.13830566...
embed
47336985_c0
47336985
elixir
0
Title: HTTP 500 Deploying Elixir/Phoenix to AWS Elastic Beanstalk Problem title: HTTP 500 Deploying Elixir/Phoenix to AWS Elastic Beanstalk Tags: phoenix-framework, nginx, elixir, amazon-web-services, amazon-ec2 Problem: HTTP 500 Deploying Elixir/Phoenix to AWS Elastic Beanstalk I'm having trouble with the elixir/phoen...
HTTP 500 Deploying Elixir/Phoenix to AWS Elastic Beanstalk HTTP 500 Deploying Elixir/Phoenix to AWS Elastic Beanstalk phoenix-framework nginx elixir amazon-web-services amazon-ec2 Degraded Warning daemon HTTP Deploying Elixir Phoenix AWS Elastic Beanstalk Environment Severe Command Incorrect Expected app-8412-171116_11...
[ 0.005828857421875, 0.0157470703125, 0.01416015625, -0.0189208984375, 0.0022125244140625, 0.0250244140625, 0.0089111328125, -0.019775390625, 0.0019683837890625, 0.017333984375, 0.006072998046875, 0.0260009765625, 0.0108642578125, -0.001678466796875, 0.005615234375, 0.0048828125, -0.02...
[ 135913, 2101, 262, 13158, 38543, 25318, 38308, 64, 497, 33, 4084, 47, 62, 52143, 37905, 28692, 131806, 7, 139109, 53073, 160328, 234, 73, 425, 15296, 2527, 5870, 14051, 22584, 304, 8961, 5550, 592, 74768, 133720, 686, 1900, 48752, 123573, ...
[ 0.22802734375, 0.2330322265625, 0.103271484375, 0.169189453125, 0.04779052734375, 0.1456298828125, 0.2451171875, 0.03363037109375, 0.050384521484375, 0.105712890625, 0.1300048828125, 0.0946044921875, 0.0295257568359375, 0.1798095703125, 0.1905517578125, 0.10723876953125, 0.181640625,...
embed
49904009_c0
49904009
elixir
0
Title: Elixir: Getting the pid of a process inside a supervisor Problem title: Elixir: Getting the pid of a process inside a supervisor Tags: elixir Problem: Elixir: Getting the pid of a process inside a supervisor I have two kind of processes to be started by a supervisor: some workers and a controller to which the wo...
Elixir: Getting the pid of a process inside a supervisor Elixir: Getting the pid of a process inside a supervisor elixir Elixir Getting XYZ.MySup Supervisor start_link XYZ.Controller XYZ.Worker_1 XYZ.Worker arg_1 Supervisor.init one_for_one Supervisor.which_children EXIT Supervisor.start_child XYZ.Worker_3 arg_3 Elixir...
[ -0.009033203125, 0.0087890625, -0.00213623046875, -0.00555419921875, -0.000255584716796875, -0.01458740234375, 0.010986328125, -0.019775390625, -0.00183868408203125, -0.062255859375, -0.015380859375, 0.0244140625, -0.0126953125, 0.034423828125, 0.007293701171875, 0.0191650390625, -0....
[ 25318, 38308, 210732, 70, 45226, 111, 9433, 46132, 1601, 51858, 12, 15296, 143907, 1511, 31852, 294, 2037, 4265, 4034, 10187, 6, 175904, 603, 108259, 56, 5, 79459, 73, 217, 1632, 454, 2472, 3630, 143321, 237052, 29426, 6371, 17137, 38472, ...
[ 0.1444091796875, 0.25732421875, 0.1309814453125, 0.0953369140625, 0.261474609375, 0.12646484375, 0.1929931640625, 0.190185546875, 0.2041015625, 0.263916015625, 0.012786865234375, 0.0865478515625, 0.045928955078125, 0.05609130859375, 0.1253662109375, 0.035736083984375, 0.1590576171875...
embed
62796719_c0
62796719
elixir
0
Title: Elixir : how to display a structured data element? Problem title: Elixir : how to display a structured data element? Tags: csv, erlang, elixir Problem: Elixir : how to display a structured data element? I'm trying to parse a CSV file. Actually I have this code : alias NimbleCSV.RFC4180, as: CSV defmodule Siren d...
Elixir : how to display a structured data element? Elixir : how to display a structured data element? csv erlang elixir Elixir NimbleCSV.RFC4180 CSV Siren IO.puts File.stream name.csv original_line CSV.parse_stream filter_line Stream.filter JeremyGuthrie Stream.map String.to_integer Float.parse NimbleCSV.define MyParse...
[ -0.0164794921875, 0.006103515625, -0.0086669921875, 0.0111083984375, 0.033935546875, 0.0213623046875, 0.0194091796875, 0.00927734375, 0.00494384765625, 0.0244140625, -0.010498046875, -0.01104736328125, 0.0022430419921875, 0.0150146484375, 0.01416015625, 0.0137939453125, 0.02099609375...
[ 25318, 38308, 3642, 44116, 45646, 71, 2053, 12830, 20763, 334, 72, 3066, 15296, 1520, 40099, 19283, 856, 54612, 617, 39425, 43486, 10868, 33, 17780, 7077, 42724, 86429, 9351, 4439, 7311, 2256, 2500, 46312, 115061, 120337, 169707, 22769, 68332...
[ 0.1307373046875, 0.25830078125, 0.07275390625, 0.21826171875, 0.2340087890625, 0.0887451171875, 0.160400390625, 0.199951171875, 0.070068359375, 0.1649169921875, 0.008331298828125, 0.1461181640625, 0.080810546875, 0.05682373046875, 0.184326171875, 0.05157470703125, 0.16357421875, 0....
embed
61732637_c0
61732637
elixir
0
Title: Compile Error - User.__struct__/1 is undefined, cannot expand struct User Problem title: Compile Error - User.__struct__/1 is undefined, cannot expand struct User Tags: elixir, phoenix-framework Problem: Compile Error - User.__struct__/1 is undefined, cannot expand struct User I'm building a simple app following...
Compile Error - User.__struct__/1 is undefined, cannot expand struct User Compile Error - User.__struct__/1 is undefined, cannot expand struct User elixir phoenix-framework CompileError Ecto.Changeset Compile Error User.__struct__ User Programming Phoenix Compilation rumbl_web user_controller.ex user_controller.ex:19 R...
[ -0.0003986358642578125, -0.0017547607421875, -0.00830078125, 0.012939453125, 0.0025177001953125, 0.040771484375, -0.00130462646484375, -0.012451171875, -0.0030517578125, -0.0286865234375, -0.02001953125, -0.01025390625, 0.020751953125, 0.0155029296875, 0.0262451171875, -0.0042724609375...
[ 15612, 1340, 212059, 53400, 14005, 36716, 11583, 83, 9232, 5983, 53418, 71062, 15296, 38308, 53073, 33, 4084, 160328, 18468, 31611, 241, 44150, 127008, 4188, 126, 27958, 133720, 14, 7853, 9030, 14051, 38937, 81988, 3355, 23988, 65787, 7237, 3...
[ 0.1783447265625, 0.182861328125, 0.2064208984375, 0.2498779296875, 0.03668212890625, 0.227783203125, 0.195068359375, 0.009033203125, 0.1109619140625, 0.2032470703125, 0.1348876953125, 0.2249755859375, 0.054931640625, 0.1729736328125, 0.054931640625, 0.0682373046875, 0.1236572265625, ...
embed
63274985_c0
63274985
elixir
0
Title: Our phoenix app failed to start due to telemetry Problem title: Our phoenix app failed to start due to telemetry Tags: elixir, phoenix-framework, telemetry Problem: Our phoenix app failed to start due to telemetry Our team is developing a Phoenix project and this week a new member joined us. He tries to work in ...
Our phoenix app failed to start due to telemetry Our phoenix app failed to start due to telemetry elixir phoenix-framework telemetry UndefinedFunctionError Our beam_load.c Error telemetry_app BEAM Use Application telemetry_app.start EXIT application_master.erl:277 application_master.start_it_old hex.info Hex Elixir OTP...
[ 0.005035400390625, 0.01507568359375, 0.0020599365234375, 0.016845703125, 0.01031494140625, 0.004364013671875, 0.01019287109375, -0.0106201171875, -0.00347900390625, -0.0208740234375, 0.01507568359375, -0.01434326171875, 0.0279541015625, 0.01434326171875, 0.011474609375, 0.0040283203125...
[ 22929, 53073, 33, 4084, 4027, 165523, 4034, 4743, 5501, 1928, 15296, 38308, 160328, 18244, 79912, 5983, 97249, 18468, 186, 302, 63033, 238, 212059, 9007, 9622, 8922, 104921, 17137, 29426, 6371, 38415, 47327, 27592, 966, 217, 18345, 764, 425, ...
[ 0.0777587890625, 0.0938720703125, 0.1175537109375, 0.15869140625, 0.18310546875, 0.170654296875, 0.1639404296875, 0.03778076171875, 0.1724853515625, 0.20458984375, 0.05853271484375, 0.1993408203125, 0.08770751953125, 0.004180908203125, 0.0162506103515625, 0.10504150390625, 0.07629394...
embed
50550509_c0
50550509
elixir
0
Title: Elixir: compile warning &quot;the result of the expression is ignored &quot; Problem title: Elixir: compile warning &quot;the result of the expression is ignored &quot; Tags: elixir, erlang Problem: Elixir: compile warning "the result of the expression is ignored " I'm implementing a crash function in a GenServe...
Elixir: compile warning &quot;the result of the expression is ignored &quot; Elixir: compile warning &quot;the result of the expression is ignored &quot; elixir erlang ArithmeticError Elixir GenServer handle_cast worker.ex:47 math.sin Enum.reduce worker.ex:50 Erlang OTP erts-9.2 smp:4:4 ds:4:4:10 async-threads:10 kerne...
[ -0.01806640625, 0.00087738037109375, 0.00830078125, -0.016845703125, -0.0035858154296875, 0.001068115234375, -0.0166015625, -0.01171875, 0.0028533935546875, -0.005401611328125, -0.0078125, 0.00775146484375, -0.0030059814453125, 0.00994873046875, 0.0211181640625, 0.002227783203125, -0...
[ 25318, 38308, 9969, 1340, 1631, 592, 16750, 111, 125195, 83, 124962, 71, 15296, 72, 3066, 8962, 18468, 15937, 193348, 34831, 55741, 4488, 56, 33573, 48909, 1596, 316, 107, 106357, 3355, 23837, 1004, 23658, 933, 151309, 2676, 15110, 12654, 3...
[ 0.1187744140625, 0.25341796875, 0.16162109375, 0.1641845703125, 0.164306640625, 0.060638427734375, 0.2020263671875, 0.01385498046875, 0.2296142578125, 0.06671142578125, 0.18701171875, 0.12353515625, 0.06170654296875, 0.0289459228515625, 0.2220458984375, 0.054229736328125, 0.057678222...
embed
39127627_c0
39127627
elixir
0
Title: Remove association (for many to many) in Ecto Problem title: Remove association (for many to many) in Ecto Tags: ecto, elixir, phoenix-framework Problem: Remove association (for many to many) in Ecto I have a User and Program model which have a many-to-many association. They create associations successfully, so ...
Remove association (for many to many) in Ecto Remove association (for many to many) in Ecto ecto elixir phoenix-framework Remove Ecto Myapp.ProgramController associate_user _params _csrf_token _method _utf8 Integer.parse Repo.get_by User Repo.preload Program pid_list user.programs Enum.map x.id List.insert_at program.i...
[ -0.00714111328125, 0.00118255615234375, -0.007232666015625, 0.0120849609375, -0.004241943359375, 0.01409912109375, -0.00592041015625, 0.006256103515625, 0.0181884765625, -0.0272216796875, 0.0003490447998046875, -0.0167236328125, -0.01507568359375, -0.01171875, -0.003143310546875, -0.00...
[ 181139, 125413, 2472, 5941, 47, 23, 241, 44150, 60751, 15296, 38308, 53073, 33, 4084, 160328, 2646, 9007, 148968, 175904, 603, 30699, 65918, 2500, 22206, 6448, 1019, 44401, 853, 771, 53400, 4692, 63033, 7663, 45226, 38937, 18749, 316, 62346, ...
[ 0.2208251953125, 0.272705078125, 0.11328125, 0.20361328125, 0.1571044921875, 0.040771484375, 0.1151123046875, 0.28125, 0.203369140625, 0.07647705078125, 0.2294921875, 0.0628662109375, 0.068603515625, 0.0972900390625, 0.119873046875, 0.069580078125, 0.1563720703125, 0.1063232421875,...
embed
37601204_c0
37601204
elixir
0
Title: Display attributes of an has_many through connection Problem title: Display attributes of an has_many through connection Tags: elixir, phoenix-framework Problem: Display attributes of an has_many through connection I have an invoice which has_many line_items which belongs_to products too. On invoice#show I want ...
Display attributes of an has_many through connection Display attributes of an has_many through connection elixir phoenix-framework Display has_many line_items line_item.product.name phoenix.new my_app ecto.create phoenix.gen.html Invoice Product price:integer LineItem invoice_id:references:invoices product_id:reference...
[ -0.0108642578125, -0.0067138671875, 0.00555419921875, -0.00131988525390625, 0.006744384765625, -0.004852294921875, -0.01239013671875, 0.00003933906555175781, 0.0023956298828125, -0.0206298828125, -0.0172119140625, -0.0128173828125, 0.0021514892578125, 0.0181884765625, -0.021728515625, ...
[ 90045, 150380, 90, 142, 1556, 669, 53, 8305, 94878, 111, 15296, 38308, 53073, 33, 4084, 160328, 18244, 13315, 1486, 217, 195, 57877, 11627, 759, 9007, 60751, 7612, 1409, 7693, 360, 965, 2980, 73111, 27167, 6191, 16777, 2982, 23, 239879, 7...
[ 0.1982421875, 0.232421875, 0.0711669921875, 0.08245849609375, 0.183837890625, 0.1988525390625, 0.1695556640625, 0.20166015625, 0.199951171875, 0.03582763671875, 0.0673828125, 0.1849365234375, 0.0823974609375, 0.0977783203125, 0.1488037109375, 0.117919921875, 0.004425048828125, 0.19...
embed
34183574_c0
34183574
elixir
0
Title: problems with Scraping a Website with Elixir Problem title: problems with Scraping a Website with Elixir Tags: elixir, hound, selenium Problem: problems with Scraping a Website with Elixir I'm trying to get a simple hound test working with my app, I figured out its an error with selenium. This is the code: In mi...
problems with Scraping a Website with Elixir problems with Scraping a Website with Elixir elixir hound selenium MatchError HTTPoison.Error configuration the them Scraping Website Elixir Scraper.Mixfile Mix.Project build_embedded Mix.env start_permanent OTP Type compile.app Dependencies Hex github.com mydep.git Example ...
[ -0.0054931640625, 0.0074462890625, -0.0218505859375, 0.003662109375, 0.007049560546875, 0.012939453125, -0.0140380859375, -0.01104736328125, -0.003509521484375, -0.028564453125, -0.00848388671875, -0.00165557861328125, -0.00762939453125, 0.0096435546875, 0.0299072265625, -0.00056457519...
[ 44402, 219536, 214, 14737, 678, 25318, 38308, 15296, 739, 7030, 34894, 53208, 67407, 18468, 135913, 31, 40514, 31611, 180346, 2856, 56, 594, 4084, 29822, 37286, 223353, 45367, 55720, 334, 4034, 669, 23658, 60457, 9969, 1340, 9007, 26885, 1529...
[ 0.1456298828125, 0.2257080078125, 0.0787353515625, 0.1820068359375, 0.1160888671875, 0.1162109375, 0.2379150390625, 0.0714111328125, 0.089599609375, 0.1961669921875, 0.18310546875, 0.180908203125, 0.1444091796875, 0.114990234375, 0.1513671875, 0.022125244140625, 0.192138671875, 0.0...
embed
52673725_c0
52673725
elixir
0
Title: Can&#x27;t return Repo.All from Ecto DB in elixir/phoenix Problem title: Can&#x27;t return Repo.All from Ecto DB in elixir/phoenix Tags: elixir, json, phoenix-framework, rest, database Problem: Can't return Repo.All from Ecto DB in elixir/phoenix I'm trying to return all the comments I have in an Ecto database i...
Can&#x27;t return Repo.All from Ecto DB in elixir/phoenix Can&#x27;t return Repo.All from Ecto DB in elixir/phoenix elixir json phoenix-framework rest database ArgumentError Ecto Can Repo.All _params IO.puts Comments comments.json render_many PageView onecomment.json comment.children comment.downvotes comment.upvotes c...
[ -0.00750732421875, -0.003082275390625, -0.00958251953125, 0.011474609375, 0.010009765625, 0.01177978515625, -0.01708984375, 0.00121307373046875, 0.0167236328125, -0.051025390625, -0.00872802734375, 0.01312255859375, 0.0189208984375, 0.0166015625, -0.004119873046875, 0.01165771484375, ...
[ 4171, 3768, 30646, 853, 771, 43512, 1295, 241, 44150, 57976, 15296, 38308, 22014, 33, 4084, 23, 1647, 1681, 53073, 160328, 10588, 63399, 112140, 18468, 2500, 17780, 7077, 11427, 24626, 170, 89159, 669, 14231, 100474, 1632, 6868, 237052, 34695...
[ 0.082275390625, 0.0762939453125, 0.211181640625, 0.1484375, 0.2169189453125, 0.201904296875, 0.03558349609375, 0.0902099609375, 0.285400390625, 0.1673583984375, 0.04437255859375, 0.1766357421875, 0.026702880859375, 0.054290771484375, 0.110595703125, 0.000946044921875, 0.0293426513671...
embed
67404687_c1
67404687
elixir
1
I know for sure that the wrapper uses cached data in both cases : My code : def show(conn, %{"service_name" => service_name}) do Logger.debug("Top of show func") case Cachex.get(:proxies, service_name) do {:ok, nil} -> Logger.debug("Service #{service_name} not found in cache") proxy = Health.get_proxy_by_name!(service...
ex ) to put my data in cache When data is cached, using postman to request my wrapper's api it takes ~100ms to get a response and phoenix's logs say things like [info] Sent 200 in 1ms But, I ever shut the database down, it goes up to 3 whole seconds for postman to get a response, phoenix logs still say that kind of thi...
[ 0.01043701171875, 0.0196533203125, 0.005828857421875, -0.017333984375, -0.004302978515625, 0.01043701171875, -0.00433349609375, 0.000606536865234375, 0.0267333984375, -0.0257568359375, -0.00726318359375, 0.0286865234375, 0.005645751953125, -0.007293701171875, 0.01544189453125, 0.000816...
[ 1119, 3884, 759, 2053, 23, 82365, 71, 1305, 669, 50336, 137565, 1264, 31470, 51776, 3559, 4432, 2046, 57553, 53073, 33, 4084, 12684, 7, 5154, 8966, 7319, 63999, 1781, 106, 4966, 17669, 8633, 18, 63399, 7565, 60899, 1257, 138, 28271, 94131...
[ 0.106689453125, 0.059112548828125, 0.008575439453125, 0.156005859375, 0.0657958984375, 0.275634765625, 0.08477783203125, 0.1151123046875, 0.1607666015625, 0.1390380859375, 0.1861572265625, 0.1864013671875, 0.1065673828125, 0.06768798828125, 0.1328125, 0.130126953125, 0.05307006835937...
embed
35135752_c0
35135752
elixir
0
Title: Elixir serial port connection Problem title: Elixir serial port connection Tags: elixir, serial-port Problem: Elixir serial port connection I'm exploring connecting to a serial device with Elixir. The only library I've found is this one . I'm still trying to wrap my head around Genservers and before I start writ...
Elixir serial port connection Elixir serial port connection elixir serial-port Elixir elixir_serial Serial.start_link PID Serial.open ttyUSB0 Serial.set_speed Serial.connect Serial.send_data handle_info IO.puts Elixir serial port connection I'm exploring connecting to a serial device with Elixir. The only library I've ...
[ 0.00119781494140625, 0.01470947265625, -0.01953125, -0.001953125, 0.002838134765625, -0.00482177734375, 0.00023365020751953125, -0.007080078125, 0.00848388671875, -0.037353515625, 0.0159912109375, -0.0269775390625, -0.00567626953125, 0.0262451171875, -0.007049560546875, -0.000553131103...
[ 25318, 38308, 35686, 11469, 94878, 15296, 6982, 184, 51626, 135188, 17137, 10187, 436, 7146, 59636, 15145, 76129, 2389, 3509, 175870, 135457, 39285, 10135, 34831, 7319, 17780, 7077, 24649, 37067, 75186, 4734, 35773, 14037, 903, 137565, 10336, 1...
[ 0.1517333984375, 0.28173828125, 0.2379150390625, 0.1712646484375, 0.148193359375, 0.0899658203125, 0.1409912109375, 0.11572265625, 0.1812744140625, 0.21240234375, 0.094482421875, 0.1209716796875, 0.0504150390625, 0.124267578125, 0.0555419921875, 0.099853515625, 0.1068115234375, 0.0...
embed
35756250_c0
35756250
elixir
0
Title: has_many, through associations in Ecto Problem title: has_many, through associations in Ecto Tags: phoenix-framework, ecto, elixir Problem: has_many, through associations in Ecto I'm still trying to grok how to deal with creating/updating has_many, through: associations in Ecto . I've re-read José's post on asso...
has_many, through associations in Ecto has_many, through associations in Ecto phoenix-framework ecto elixir has_many Ecto Mp.Dish Mp.Web dish_dietary_prefs Mp.DishDietaryPref on_delete delete_all on_replace dietary_prefs dietary_pref Mp.DietaryPref Ecto.Schema belongs_to Dish POST Processing Mp.Api.DishController.creat...
[ -0.0216064453125, -0.0155029296875, 0.0142822265625, 0.0027618408203125, -0.01043701171875, 0.00787353515625, -0.0211181640625, -0.011962890625, 0, -0.015625, 0.00009107589721679688, 0.00689697265625, 0.0125732421875, -0.009765625, -0.0184326171875, 0.00567626953125, -0.032958984375,...
[ 1556, 669, 53, 8305, 151747, 241, 44150, 53073, 33, 4084, 160328, 18244, 60751, 15296, 38308, 9621, 397, 4745, 30474, 45, 1495, 74148, 6635, 4692, 17447, 17048, 867, 19273, 420, 98, 8520, 154109, 5584, 23935, 25969, 1294, 25452, 11883, 1061...
[ 0.230224609375, 0.2413330078125, 0.192138671875, 0.1185302734375, 0.2381591796875, 0.088623046875, 0.274658203125, 0.032867431640625, 0.038543701171875, 0.1175537109375, 0.1175537109375, 0.0162811279296875, 0.217529296875, 0.0765380859375, 0.1849365234375, 0.047943115234375, 0.058776...
embed
31977215_c0
31977215
elixir
0
Title: Elixir Task - Graceful shutdown Problem title: Elixir Task - Graceful shutdown Tags: elixir, task, shutdown Problem: Elixir Task - Graceful shutdown I have Elixir Task, which takes some time (10 seconds). When the application is upgrading, this task is killed by Task.Supervisor despite on shutdown: 30000 : =SUPE...
Elixir Task - Graceful shutdown Elixir Task - Graceful shutdown elixir task shutdown Elixir Task Graceful Task.Supervisor SUPERVISOR REPORT Aug-2015::00:03:09 tasks_sup Context child_terminated Reason Offender Elixir.Task.Supervised start_link restart_type child_type MyApp Application MyApp.Supervisor.start_link MyApp....
[ -0.01324462890625, 0.033203125, 0.009521484375, -0.009033203125, -0.0026702880859375, -0.01611328125, 0.007232666015625, 0.007659912109375, -0.002716064453125, -0.030517578125, -0.00160980224609375, 0.0194091796875, -0.01708984375, 0.030029296875, 0.01123046875, 0.0262451171875, 0.01...
[ 25318, 38308, 9598, 92, 102809, 7844, 8633, 18, 34695, 15296, 66211, 73903, 51858, 55452, 11839, 122262, 145269, 23177, 44906, 30628, 2037, 22829, 29041, 30524, 27686, 236267, 9791, 23894, 9874, 1824, 4034, 10187, 456, 17137, 50986, 2646, 39179...
[ 0.1678466796875, 0.282470703125, 0.2529296875, 0.167236328125, 0.1820068359375, 0.18505859375, 0.15478515625, 0.1019287109375, 0.197998046875, 0.107666015625, 0.265625, 0.1502685546875, 0.19677734375, 0.12353515625, 0.135986328125, 0.095947265625, 0.14111328125, 0.03253173828125, ...
embed
50635661_c0
50635661
elixir
0
Title: Ecto join with dynamically built conditions Problem title: Ecto join with dynamically built conditions Tags: ecto, elixir Problem: Ecto join with dynamically built conditions I'm trying to build an Ecto query with a left join with optional extra conditions on the join. I'll try to describe it with the typical po...
Ecto join with dynamically built conditions Ecto join with dynamically built conditions ecto elixir Ecto posts_with_comments some_var Post p.some_field is_nil Comment post_id p.id Repo.all t.approved Ecto join with dynamically built conditions I'm trying to build an Ecto query with a left join with optional extra condi...
[ 0.004547119140625, 0.003997802734375, 0.002227783203125, -0.024658203125, -0.0069580078125, -0.00078582763671875, -0.024169921875, 0.005157470703125, 0.00057220458984375, -0.032958984375, -0.01458740234375, 0.00628662109375, -0.0050048828125, -0.01556396484375, -0.00836181640625, 0.020...
[ 241, 44150, 33284, 678, 84079, 25958, 88303, 27289, 60751, 15296, 38308, 32323, 76228, 277, 9035, 1961, 2795, 43452, 28394, 83, 17324, 16277, 1305, 532, 771, 808, 2631, 66187, 45367, 41, 1294, 25737, 35829, 4173, 98363, 222201, 136, 24626, ...
[ 0.110595703125, 0.278076171875, 0.2030029296875, 0.0254058837890625, 0.156494140625, 0.010589599609375, 0.1275634765625, 0.1910400390625, 0.23974609375, 0.086669921875, 0.2049560546875, 0.1365966796875, 0.050323486328125, 0.0980224609375, 0.1546630859375, 0.1383056640625, 0.134399414...
embed
26569257_c0
26569257
elixir
0
Title: How to run an Elixir escript on Windows 8.1 Problem title: How to run an Elixir escript on Windows 8.1 Tags: elixir, windows, escript Problem: How to run an Elixir escript on Windows 8.1 I'm creating a mix escript, and all seems well, but I can't invoke the generated escript executable. >mix escript.build lib/cm...
How to run an Elixir escript on Windows 8.1 How to run an Elixir escript on Windows 8.1 elixir windows escript How Elixir Windows cmdlineutil.ex:2 Compiled cmdlineutil.ex Generated cmdlineutil.app Consolidated Access Collectable Enumerable Inspect List.Chars Range.Iterator String.Chars _build MIX_ENV CmdLineUtil.Echo I...
[ 0.00274658203125, 0.00811767578125, 0.006134033203125, 0.0235595703125, 0.00689697265625, 0.003173828125, -0.00933837890625, -0.017333984375, -0.00927734375, 0.00830078125, 0.0035247802734375, 0.018798828125, 0.01226806640625, 0.00653076171875, 0.0189208984375, 0.007110595703125, 0.0...
[ 11249, 47, 11675, 142, 25318, 38308, 28, 32032, 98, 3773, 70885, 15296, 54825, 1827, 71, 2256, 3675, 3355, 304, 15612, 155370, 9007, 97281, 40266, 138521, 2886, 316, 16711, 32036, 84068, 142462, 720, 177149, 276, 21487, 856, 54686, 93232, 3...
[ 0.06756591796875, 0.03338623046875, 0.1646728515625, 0.03814697265625, 0.13818359375, 0.252685546875, 0.134033203125, 0.297119140625, 0.087158203125, 0.1583251953125, 0.264892578125, 0.0904541015625, 0.109375, 0.123046875, 0.03802490234375, 0.1246337890625, 0.1300048828125, 0.13439...
embed
65591612_c0
65591612
elixir
0
Title: Location for a Phoenix helper in a hex package Problem title: Location for a Phoenix helper in a hex package Tags: elixir, phoenix-framework Problem: Location for a Phoenix helper in a hex package I created an alternative phx.gen.html which creates templates with TailwindCSS. It works fine. I'd like to share it ...
Location for a Phoenix helper in a hex package Location for a Phoenix helper in a hex package elixir phoenix-framework ExampleWeb.ErrorHelpers Location Phoenix phx.gen.html phx_tailwind_generators phx_tailwind_generators:main README.md phx_tailwind_generators.ex mix.exs tailwind.gen.html controller.ex controller_test.e...
[ 0.016357421875, -0.00032806396484375, 0.00213623046875, -0.01708984375, 0.00323486328125, 0.024169921875, 0.0179443359375, -0.0400390625, -0.004730224609375, -0.0299072265625, 0.0025482177734375, -0.000640869140625, 0.0218505859375, -0.01361083984375, 0.009765625, 0.00933837890625, -...
[ 90788, 100, 133720, 4358, 56, 764, 425, 98169, 23, 15296, 38308, 53073, 33, 4084, 160328, 89536, 8705, 30474, 18468, 31611, 60785, 21777, 11521, 1409, 46741, 50777, 48281, 24931, 188300, 10611, 54686, 3355, 17664, 185373, 6954, 27211, 7693, 3...
[ 0.19677734375, 0.0135498046875, 0.257568359375, 0.213623046875, 0.1546630859375, 0.171142578125, 0.1624755859375, 0.167236328125, 0.00390625, 0.03564453125, 0.1402587890625, 0.0386962890625, 0.055999755859375, 0.0616455078125, 0.0518798828125, 0.1011962890625, 0.05999755859375, 0.1...
embed
40999346_c0
40999346
elixir
0
Title: need to set :references option for association :contacts when schema has no primary key Problem title: need to set :references option for association :contacts when schema has no primary key Tags: elixir, ecto Problem: need to set :references option for association :contacts when schema has no primary key I have...
need to set :references option for association :contacts when schema has no primary key need to set :references option for association :contacts when schema has no primary key elixir ecto ArgumentError primary_key read_after_writes has_many Busiket.Contact belongs_to Busiket.Company foreign_key association.ex:329 Ecto....
[ 0.0152587890625, 0.027587890625, -0.000324249267578125, 0.00921630859375, 0.00701904296875, -0.01495361328125, -0.005706787109375, 0.0069580078125, 0.0029144287109375, -0.02392578125, 0.00244140625, 0.01416015625, -0.0179443359375, 0.0250244140625, -0.0003108978271484375, -0.0186767578...
[ 3871, 5423, 239879, 7, 35829, 125413, 163891, 61903, 1556, 110, 158978, 22799, 152, 3229, 15296, 38308, 60751, 112140, 18468, 19770, 12301, 46327, 669, 667, 172, 3473, 233695, 10617, 108161, 110613, 1126, 241, 44150, 214813, 36716, 10289, 25452...
[ 0.0877685546875, 0.173828125, 0.26416015625, 0.0855712890625, 0.222900390625, 0.2027587890625, 0.2314453125, 0.2420654296875, 0.02435302734375, 0.1259765625, 0.12890625, 0.1826171875, 0.002410888671875, 0.0148468017578125, 0.0433349609375, 0.1685791015625, 0.1845703125, 0.187377929...
embed
54294504_c1
54294504
elixir
1
Web, :controller alias Api.Marketing alias Api.Marketing.UpdateRequest action_fallback ApiWeb.FallbackController def index(conn, _params) do update_requests = Marketing.list_update_requests() render(conn, "index.json", update_requests: update_requests) end def create(conn, %{"update_request" => update_request_params}) ...
Web, :controller alias Api.Marketing alias Api.Marketing.UpdateRequest action_fallback ApiWeb.FallbackController def index(conn, _params) do update_requests = Marketing.list_update_requests() render(conn, "index.json", update_requests: update_requests) end def create(conn, %{"update_request" => update_request_params}) ...
[ -0.01190185546875, 0.037841796875, 0.0216064453125, 0.0031280517578125, 0.003082275390625, 0.03955078125, -0.018310546875, -0.0123291015625, 0.01190185546875, 0.0205078125, -0.000827789306640625, -0.00762939453125, 0.0103759765625, 0.00110626220703125, 0.0096435546875, -0.0058288574218...
[ 4002, 152, 81988, 603, 55109, 5787, 14, 5, 118565, 214, 152872, 4332, 75616, 22631, 9146, 12620, 30474, 919, 5584, 175904, 8, 420, 63262, 2271, 19, 101, 2500, 8256, 16, 54, 28350, 107, 7, 2203, 19790, 6562, 117008, 132, 89159, 4711, 170...
[ 0.1845703125, 0.076904296875, 0.2232666015625, 0.1749267578125, 0.207763671875, 0.1566162109375, 0.1573486328125, 0.023651123046875, 0.1942138671875, 0.125, 0.16552734375, 0.05780029296875, 0.18994140625, 0.1353759765625, 0.1229248046875, 0.163818359375, 0.172119140625, 0.040191650...
embed
33185655_c0
33185655
elixir
0
Title: Phoenix and Ecto field x in `join` does not exist in the model source in query Problem title: Phoenix and Ecto field x in `join` does not exist in the model source in query Tags: elixir, phoenix-framework, ecto Problem: Phoenix and Ecto field x in `join` does not exist in the model source in query Sup, i was wor...
Phoenix and Ecto field x in `join` does not exist in the model source in query Phoenix and Ecto field x in `join` does not exist in the model source in query elixir phoenix-framework ecto p m Phoenix Ecto Hangman.MasterCat Hangman.Web has_many Hangman.Category Hangman.Word belongs_to _params MasterCat Category c.master...
[ 0.00909423828125, 0.004364013671875, 0.005340576171875, 0.005401611328125, 0.01495361328125, 0.00921630859375, -0.01507568359375, -0.0037689208984375, 0.01300048828125, -0.048828125, 0.01397705078125, -0.023193359375, 0.01275634765625, -0.014404296875, -0.01171875, 0.0033721923828125, ...
[ 133720, 136, 241, 44150, 44457, 1022, 513, 73, 14602, 959, 32316, 23, 3299, 31344, 41, 15296, 38308, 53073, 33, 4084, 160328, 60751, 347, 43454, 669, 116527, 76775, 30474, 3081, 164805, 10617, 2500, 18897, 49057, 47327, 4460, 532, 915, 771,...
[ 0.31201171875, 0.1566162109375, 0.09619140625, 0.29638671875, 0.25634765625, 0.1612548828125, 0.2081298828125, 0.152099609375, 0.0107421875, 0.107666015625, 0.198974609375, 0.0050048828125, 0.1832275390625, 0.1827392578125, 0.1165771484375, 0.038360595703125, 0.1859130859375, 0.046...
embed
68466903_c0
68466903
elixir
0
Title: How to run ExUnit tests with erlang debugger? Problem title: How to run ExUnit tests with erlang debugger? Tags: testing, ex-unit, erlang, debugging, elixir Problem: How to run ExUnit tests with erlang debugger? Background I have a small function with some branching logic and I have some tests for it. I would li...
How to run ExUnit tests with erlang debugger? How to run ExUnit tests with erlang debugger? testing ex-unit erlang debugging elixir How ExUnit DebuggerTest.greet DebugerTest Hola IO.puts spanish_greet normal_greet DebugerTestTest ExUnit.Case DebugerTest.greet Hello fail_greet debugger.start int.ni int.break How to run ...
[ 0.0003299713134765625, 0.0186767578125, 0.00188446044921875, -0.01080322265625, 0.00020503997802734375, 0.00174713134765625, -0.00469970703125, -0.0031280517578125, -0.0126953125, -0.032958984375, 0.003265380859375, 0.005523681640625, 0.018798828125, 0.0205078125, 0.0341796875, 0.03906...
[ 11249, 11675, 5443, 85600, 18, 109921, 678, 72, 3066, 8, 978, 21407, 134234, 1119, 309, 36659, 15296, 38308, 262, 111337, 7134, 126, 1505, 47958, 17780, 7077, 27734, 3638, 35378, 35782, 17137, 93, 70751, 19336, 32354, 32845, 59207, 62775, 4...
[ 0.061981201171875, 0.135986328125, 0.1842041015625, 0.201416015625, 0.11669921875, 0.196533203125, 0.056884765625, 0.115478515625, 0.2376708984375, 0.111572265625, 0.2032470703125, 0.1700439453125, 0.157958984375, 0.1790771484375, 0.1190185546875, 0.0291748046875, 0.04803466796875, ...
embed
76491842_c0
76491842
elixir
0
Title: Changing endpoint.ex to “use Desktop.Endpoint” breaks Desktop app Problem title: Changing endpoint.ex to “use Desktop.Endpoint” breaks Desktop app Tags: phoenix-live-view, elixir, desktop-application Problem: Changing endpoint.ex to “use Desktop.Endpoint” breaks Desktop app Background I have created a fresh Phoe...
Changing endpoint.ex to “use Desktop.Endpoint” breaks Desktop app Changing endpoint.ex to “use Desktop.Endpoint” breaks Desktop app phoenix-live-view elixir desktop-application UndefinedFunctionError Changing endpoint.ex Desktop.Endpoint Desktop phx.new.web web_interface application.ex WebInterface.Application Applicat...
[ 0.00152587890625, 0.01483154296875, 0.000896453857421875, 0.01220703125, 0.016845703125, 0.0174560546875, 0.006317138671875, -0.0179443359375, 0.0042724609375, -0.0279541015625, 0.0081787109375, 0.000736236572265625, 0.0101318359375, 0.033203125, 0.0228271484375, 0.007537841796875, -...
[ 108193, 214, 3564, 38496, 5, 3355, 47, 4032, 141423, 152378, 36356, 4027, 53073, 33, 4084, 24056, 22751, 15296, 38308, 86983, 101687, 79912, 5983, 97249, 18468, 11521, 425, 54936, 14051, 1467, 10433, 38415, 4002, 44851, 47677, 104921, 18878, ...
[ 0.192626953125, 0.00390625, 0.165283203125, 0.2044677734375, 0.023773193359375, 0.228759765625, 0.043731689453125, 0.1314697265625, 0.264404296875, 0.171630859375, 0.1949462890625, 0.18701171875, 0.06768798828125, 0.06903076171875, 0.0704345703125, 0.165283203125, 0.2047119140625, ...
embed
52785331_c1
52785331
elixir
1
PGHOST: db ports: # Mapping the port to make the Phoenix app accessible outside of the container - "4000:4000" depends_on: # The db container needs to be started before we start this container - db db: # We use the predefined Postgres image image: postgres:9.6 environment: # Set user/password for Postgres POSTGRES_USE...
PGHOST: db ports: # Mapping the port to make the Phoenix app accessible outside of the container - "4000:4000" depends_on: # The db container needs to be started before we start this container - db db: # We use the predefined Postgres image image: postgres:9.6 environment: # Set user/password for Postgres POSTGRES_USE...
[ 0.0025482177734375, 0.01483154296875, 0.003082275390625, 0.006195068359375, 0.0242919921875, 0.010986328125, -0.003173828125, -0.0296630859375, 0.0220947265625, -0.01513671875, 0.0130615234375, 0.00555419921875, 0.030517578125, 0.0172119140625, -0.0135498046875, 0.0096435546875, -0.0...
[ 436, 41877, 34274, 12, 40041, 11469, 7, 468, 911, 26783, 3249, 133720, 4027, 81522, 50782, 111, 116419, 68037, 56566, 27117, 186, 26859, 8108, 4034, 903, 1401, 4527, 1653, 13, 5983, 2795, 17562, 29569, 1305, 201464, 65998, 19943, 38937, 134...
[ 0.1627197265625, 0.18408203125, 0.25927734375, 0.0819091796875, 0.1771240234375, 0.1978759765625, 0.004119873046875, 0.0307159423828125, 0.1243896484375, 0.0897216796875, 0.01214599609375, 0.28466796875, 0.2125244140625, 0.18408203125, 0.1494140625, 0.0231170654296875, 0.22119140625,...
embed
53620841_c0
53620841
elixir
0
Title: Elixir postgrex with poolboy example on Windows fails with &#x27;module DBConnection.Poolboy not available&#x27; Problem title: Elixir postgrex with poolboy example on Windows fails with &#x27;module DBConnection.Poolboy not available&#x27; Tags: windows-10, postgrex, elixir Problem: Elixir postgrex with poolboy...
Elixir postgrex with poolboy example on Windows fails with &#x27;module DBConnection.Poolboy not available&#x27; Elixir postgrex with poolboy example on Windows fails with &#x27;module DBConnection.Poolboy not available&#x27; windows-10 postgrex elixir UndefinedFunctionError configuration the them Elixir Windows DBConn...
[ 0.00958251953125, -0.001983642578125, -0.00592041015625, 0.00927734375, 0.006561279296875, 0.00921630859375, 0.005645751953125, -0.03515625, -0.00396728515625, 0.00069427490234375, 0.01080322265625, -0.0233154296875, 0.0234375, -0.01141357421875, 0.00238037109375, 0.00640869140625, -...
[ 25318, 38308, 1305, 7134, 425, 678, 19361, 30885, 27781, 3773, 35782, 3768, 83279, 57976, 235603, 7192, 929, 19882, 959, 54825, 9193, 15296, 79912, 5983, 97249, 18468, 180346, 2856, 206, 38472, 16711, 2795, 188, 196707, 62539, 205378, 22916, ...
[ 0.1190185546875, 0.250244140625, 0.1090087890625, 0.208984375, 0.1446533203125, 0.052978515625, 0.1695556640625, 0.2744140625, 0.1925048828125, 0.1571044921875, 0.167724609375, 0.064453125, 0.1400146484375, 0.110595703125, 0.1136474609375, 0.0982666015625, 0.1827392578125, 0.162231...
embed
34300162_c0
34300162
elixir
0
Title: Elixir macro expansion problems, but only in a comprehension Problem title: Elixir macro expansion problems, but only in a comprehension Tags: macros, elixir Problem: Elixir macro expansion problems, but only in a comprehension As part of our Dev Book Club at work, I wrote a random password generator in Elixir. ...
Elixir macro expansion problems, but only in a comprehension Elixir macro expansion problems, but only in a comprehension macros elixir FunctionClauseError Protocol.UndefinedError Macros Elixir macros.ex define_alphabet String.length choose_ String.at random.uniform generate_password.ex GeneratePassword Macros.define_a...
[ 0.0002994537353515625, -0.0025634765625, -0.003997802734375, -0.0035247802734375, 0.00037384033203125, -0.009033203125, 0.0086669921875, 0.0054931640625, 0.001556396484375, -0.0107421875, -0.01104736328125, -0.0067138671875, 0.03173828125, 0.011474609375, 0.0052490234375, 0.00332641601...
[ 25318, 38308, 111789, 14700, 66, 44402, 1284, 4734, 23, 46683, 3220, 15296, 28670, 26253, 18468, 31611, 151607, 1067, 5983, 4727, 3666, 3355, 61924, 229231, 23351, 23986, 55076, 96759, 5980, 5037, 139392, 13409, 47416, 155370, 139117, 64552, 88...
[ 0.1357421875, 0.264892578125, 0.221435546875, 0.091552734375, 0.159423828125, 0.1728515625, 0.033843994140625, 0.0728759765625, 0.05255126953125, 0.132080078125, 0.140869140625, 0.08526611328125, 0.08837890625, 0.0574951171875, 0.07025146484375, 0.0439453125, 0.1119384765625, 0.024...
embed
45076208_c0
45076208
elixir
0
Title: Elixir- Cannot save Ecto.DateTime into Postgres database, where saving Ecto.Date works Problem title: Elixir- Cannot save Ecto.DateTime into Postgres database, where saving Ecto.Date works Tags: phoenix-framework, ecto, elixir Problem: Elixir- Cannot save Ecto.DateTime into Postgres database, where saving Ecto.D...
Elixir- Cannot save Ecto.DateTime into Postgres database, where saving Ecto.Date works Elixir- Cannot save Ecto.DateTime into Postgres database, where saving Ecto.Date works phoenix-framework ecto elixir Elixir Cannot Ecto.DateTime Postgres Ecto.Date user_id session_expiry Ecto.DateTime.cast Timex.to_datetime Timex.shi...
[ 0.013427734375, 0.0064697265625, -0.0037384033203125, 0.008544921875, 0.006072998046875, -0.0166015625, -0.0157470703125, -0.005523681640625, 0.0036163330078125, -0.0245361328125, 0.00274658203125, 0.026611328125, 0.01214599609375, -0.000736236572265625, -0.0279541015625, 0.00775146484...
[ 25318, 38308, 9, 4171, 10869, 30098, 241, 44150, 5, 86291, 70059, 3934, 2795, 17562, 63399, 6496, 43240, 7440, 53073, 33, 4084, 160328, 60751, 15296, 38937, 454, 532, 56002, 83613, 14, 1294, 55741, 19055, 425, 188, 17489, 6032, 3767, 35613,...
[ 0.1395263671875, 0.2744140625, 0.04034423828125, 0.07135009765625, 0.17333984375, 0.169921875, 0.097900390625, 0.2841796875, 0.046875, 0.188232421875, 0.247314453125, 0.09521484375, 0.0982666015625, 0.234619140625, 0.1619873046875, 0.04437255859375, 0.09368896484375, 0.014144897460...
embed
38568954_c0
38568954
elixir
0
Title: Starting an app using supervisor in Elixir which would automatically restart on error Problem title: Starting an app using supervisor in Elixir which would automatically restart on error Tags: erlang-supervisor, elixir, task Problem: Starting an app using supervisor in Elixir which would automatically restart on...
Starting an app using supervisor in Elixir which would automatically restart on error Starting an app using supervisor in Elixir which would automatically restart on error erlang-supervisor elixir task MatchError supervisor Supervisor.Spec Starting Elixir ServiceMonitor Application _type _args ServiceMonitor.Registry.s...
[ -0.0113525390625, 0.0277099609375, 0.00141143798828125, 0.0084228515625, 0.0142822265625, -0.0003948211669921875, 0.0284423828125, -0.005889892578125, 0.0093994140625, -0.031005859375, 0.00128173828125, -0.0128173828125, 0.02685546875, 0.025146484375, 0.0260009765625, -0.00130462646484...
[ 13794, 4027, 17368, 1601, 51858, 23, 25318, 38308, 3129, 2806, 191082, 456, 17137, 98, 18499, 214, 72, 3066, 59104, 15296, 66211, 67407, 18468, 31611, 4265, 47107, 12349, 46674, 26111, 104921, 50986, 61477, 3509, 1632, 3630, 54601, 2046, 169,...
[ 0.1446533203125, 0.1788330078125, 0.1102294921875, 0.198974609375, 0.251708984375, 0.083251953125, 0.1468505859375, 0.240966796875, 0.016143798828125, 0.046539306640625, 0.1788330078125, 0.1343994140625, 0.20947265625, 0.0899658203125, 0.21240234375, 0.0182952880859375, 0.03689575195...
embed
47458611_c0
47458611
elixir
0
Title: Fitbit OAuth2 refresh token returns invalid_grant Problem title: Fitbit OAuth2 refresh token returns invalid_grant Tags: oauth, elixir, fitbit, phoenix-framework Problem: Fitbit OAuth2 refresh token returns invalid_grant I'm trying to refresh the Fitbit access token by using the refresh token. Now as mentioned h...
Fitbit OAuth2 refresh token returns invalid_grant Fitbit OAuth2 refresh token returns invalid_grant oauth elixir fitbit phoenix-framework Fitbit OAuth2 invalid_grant refresh_url api.fitbit.com grant_type refresh_token token.refresh_token refresh_headers Authorization Basic Base.encode64 my_app_id:my_app_secret Content-...
[ 0.0130615234375, 0.004974365234375, 0.0081787109375, -0.01409912109375, -0.000560760498046875, -0.019287109375, -0.017578125, -0.025146484375, 0.004241943359375, 0.031005859375, 0.037841796875, 0.0031280517578125, -0.01177978515625, 0.003509521484375, -0.010986328125, -0.012451171875, ...
[ 21736, 3137, 180, 67362, 927, 304, 210651, 47, 1098, 30646, 56649, 30962, 36, 916, 15296, 38308, 11177, 53073, 33, 4084, 160328, 25002, 31470, 16086, 80731, 50986, 6448, 29087, 105027, 31251, 61804, 91692, 44978, 40899, 13307, 759, 9007, 532,...
[ 0.193359375, 0.1923828125, 0.09661865234375, 0.18505859375, 0.1209716796875, 0.1817626953125, 0.239990234375, 0.147705078125, 0.1649169921875, 0.171142578125, 0.202880859375, 0.14990234375, 0.0751953125, 0.1549072265625, 0.0343017578125, 0.1348876953125, 0.16259765625, 0.0172729492...
embed
51811823_c0
51811823
elixir
0
Title: Why Doesn&#x27;t Message Priority Sort My Messages In RabbitMQ? Problem title: Why Doesn&#x27;t Message Priority Sort My Messages In RabbitMQ? Tags: rabbitmq, elixir Problem: Why Doesn't Message Priority Sort My Messages In RabbitMQ? I run elixir program with producer and consumer. And I set priority for my mess...
Why Doesn&#x27;t Message Priority Sort My Messages In RabbitMQ? Why Doesn&#x27;t Message Priority Sort My Messages In RabbitMQ? rabbitmq elixir Why Doesn Message Priority Sort Messages RabbitMQ Basic.publish my_exchange my_queue Connection.open Application.get_env Channel.open Basic.qos prefetch_count _consumer_tag Bas...
[ 0.0026092529296875, 0.04736328125, -0.0196533203125, -0.005126953125, 0.003753662109375, 0.01031494140625, -0.00958251953125, -0.00421142578125, -0.01190185546875, 0.00927734375, 0.0213623046875, 0.033203125, 0.013427734375, 0.01446533203125, 0.006591796875, -0.005584716796875, -0.00...
[ 44084, 101790, 19, 3768, 18, 48205, 4588, 168857, 53, 53666, 2646, 52467, 360, 71916, 594, 2737, 152131, 39, 864, 15296, 38308, 91692, 179193, 759, 3355, 152028, 944, 59636, 104921, 334, 55969, 10618, 29362, 71013, 25553, 316, 6936, 15537, ...
[ 0.0997314453125, 0.0180816650390625, 0.032012939453125, 0.0308837890625, 0.0841064453125, 0.18603515625, 0.1126708984375, 0.206298828125, 0.1153564453125, 0.22900390625, 0.07196044921875, 0.09039306640625, 0.022003173828125, 0.150634765625, 0.07366943359375, 0.156982421875, 0.1043701...
embed
43516596_c0
43516596
elixir
0
Title: phoenix canary not_found handler Problem title: phoenix canary not_found handler Tags: elixir, phoenix-framework Problem: phoenix canary not_found handler I use canary lib in my phoenix app. I wrote in config.exs: config :canary, repo: MyApp.Repo, unauthorized_handler: {MyApp.Helpers, :handle_unauthorized}, not_...
phoenix canary not_found handler phoenix canary not_found handler elixir phoenix-framework RuntimeError FunctionClauseError Logger Plug.Conn not_found MyApp.Repo unauthorized_handler MyApp.Helpers handle_unauthorized not_found_handler handle_not_found Phoenix.Controller put_status put_view MyApp.ErrorView Canada.Can My...
[ -0.02197265625, 0.0042724609375, 0.0203857421875, -0.002044677734375, -0.0107421875, -0.000736236572265625, -0.005584716796875, -0.0225830078125, 0.00201416015625, -0.02490234375, -0.021484375, -0.0260009765625, 0.017333984375, 0.0017242431640625, 0.0038604736328125, -0.01275634765625,...
[ 53073, 33, 4084, 831, 6635, 959, 454, 151645, 35863, 15296, 38308, 160328, 28398, 18468, 31611, 28670, 26253, 64906, 194351, 11935, 19, 2646, 39179, 5, 4332, 771, 220, 1003, 5922, 29367, 74258, 60785, 21777, 34831, 1946, 10869, 133720, 175904...
[ 0.09832763671875, 0.1292724609375, 0.1614990234375, 0.1705322265625, 0.2008056640625, 0.1727294921875, 0.0103759765625, 0.205322265625, 0.291259765625, 0.0731201171875, 0.2091064453125, 0.07421875, 0.02520751953125, 0.0955810546875, 0.06005859375, 0.11083984375, 0.09381103515625, 0...
embed
61131186_c0
61131186
elixir
0
Title: Phoenix Framework: Validate route parameter in the router Problem title: Phoenix Framework: Validate route parameter in the router Tags: elixir, phoenix-framework Problem: Phoenix Framework: Validate route parameter in the router Parameter Validation I want to be able to do in the Phoenix Router the validation o...
Phoenix Framework: Validate route parameter in the router Phoenix Framework: Validate route parameter in the router elixir phoenix-framework Phoenix Framework Validate TasksWeb.Router TasksWeb fetch_session fetch_live_flash protect_from_forgery put_secure_browser_headers put_root_layout TasksWeb.LayoutView pipe_through...
[ -0.01470947265625, -0.003204345703125, 0.0174560546875, 0.01385498046875, -0.01007080078125, -0.015869140625, -0.0211181640625, -0.003814697265625, 0.0076904296875, -0.046630859375, 0.007720947265625, -0.015380859375, 0.0201416015625, 0.0225830078125, -0.0341796875, -0.0024261474609375...
[ 133720, 202220, 25447, 17489, 36439, 171859, 23, 122188, 15296, 38308, 53073, 33, 4084, 160328, 18244, 9598, 30474, 12724, 25208, 1224, 7647, 169234, 24056, 5544, 59959, 161063, 1505, 215725, 31251, 148920, 5259, 100474, 137158, 14231, 175904, 26...
[ 0.2469482421875, 0.231201171875, 0.221435546875, 0.1968994140625, 0.222900390625, 0.2376708984375, 0.0413818359375, 0.217041015625, 0.0721435546875, 0.190673828125, 0.049163818359375, 0.080322265625, 0.1138916015625, 0.104736328125, 0.030181884765625, 0.11767578125, 0.128662109375, ...
embed
34471538_c0
34471538
elixir
0
Title: Unable to understand import via __using__ macro Elixir/Phoenix Problem title: Unable to understand import via __using__ macro Elixir/Phoenix Tags: phoenix-framework, elixir Problem: Unable to understand import via __using__ macro Elixir/Phoenix I am using Phoenix framework and trying to create a plug for authent...
Unable to understand import via __using__ macro Elixir/Phoenix Unable to understand import via __using__ macro Elixir/Phoenix phoenix-framework elixir UndefinedFunctionError via Plug.Conn Unable __using__ Elixir Phoenix ChhutiServer.GoogleAuthController ChhutiServer.Web ChhutiServer.Plugs.GoogleAuth ChhutiServer.Behavi...
[ -0.0191650390625, 0.0103759765625, 0.0026397705078125, -0.002288818359375, -0.00555419921875, 0.0230712890625, -0.01123046875, -0.033203125, 0.00016307830810546875, -0.0537109375, -0.00848388671875, -0.0361328125, 0.0205078125, 0.0017547607421875, 0.015625, -0.006683349609375, -0.032...
[ 992, 2886, 28219, 24927, 1829, 5953, 223, 214, 111789, 25318, 38308, 64, 497, 33, 4084, 53073, 160328, 18244, 15296, 79912, 5983, 97249, 18468, 31611, 194351, 11935, 133720, 1132, 118, 193348, 16630, 67362, 175904, 5, 35159, 7, 98409, 927, ...
[ 0.020416259765625, 0.1229248046875, 0.22119140625, 0.252685546875, 0.097412109375, 0.056640625, 0.0958251953125, 0.039642333984375, 0.1640625, 0.139404296875, 0.251953125, 0.0280609130859375, 0.046661376953125, 0.1204833984375, 0.1353759765625, 0.041259765625, 0.1083984375, 0.06927...
embed
44229264_c0
44229264
elixir
0
Title: Trouble with Phoenix / Ecto Changeset Problem title: Trouble with Phoenix / Ecto Changeset Tags: ecto, changeset, elixir, phoenix-framework Problem: Trouble with Phoenix / Ecto Changeset I'm having a terrible time with Ecto Changeset. I'm trying to simply create a new form with an "empty" Changeset. The controll...
Trouble with Phoenix / Ecto Changeset Trouble with Phoenix / Ecto Changeset ecto changeset elixir phoenix-framework UndefinedFunctionError Ecto.Changeset Trouble Phoenix Ecto Changeset Session.changeset Session Site.Session.changeset Site.SessionController Site.Web Site.Session login_form _params login_form.html requir...
[ 0.0014801025390625, 0.00714111328125, 0.0233154296875, -0.0013885498046875, 0.02587890625, -0.0108642578125, -0.00701904296875, -0.01513671875, -0.00238037109375, -0.03564453125, 0.00225830078125, -0.0011749267578125, 0.0025634765625, 0.0224609375, -0.000339508056640625, -0.01507568359...
[ 119671, 2661, 678, 133720, 248, 241, 44150, 87377, 3509, 60751, 65572, 126, 15296, 38308, 53073, 33, 4084, 160328, 79912, 5983, 97249, 18468, 127008, 4188, 148735, 152028, 20897, 294, 90, 175904, 73655, 5037, 56065, 28394, 35829, 121137, 75616,...
[ 0.162109375, 0.1033935546875, 0.12109375, 0.2401123046875, 0.013336181640625, 0.055694580078125, 0.232421875, 0.1910400390625, 0.175048828125, 0.1834716796875, 0.1507568359375, 0.1552734375, 0.04931640625, 0.1998291015625, 0.05279541015625, 0.07470703125, 0.1107177734375, 0.0914306...
embed
74255910_c1
74255910
elixir
1
.Plug.put_config(Application.get_env(:pow_api_template, :pow)) |> PowResetPassword.Plug.create_reset_token(%{"email" => "test@example.com"}) valid_params = %{"id" => token, "user" => %{"password" => @new_password, "password_confirmation" => @new_password}} conn = post(conn, Routes.password_path(conn, :reset_password, v...
.Plug.put_config(Application.get_env(:pow_api_template, :pow)) |> PowResetPassword.Plug.create_reset_token(%{"email" => "test@example.com"}) valid_params = %{"id" => token, "user" => %{"password" => @new_password, "password_confirmation" => @new_password}} conn = post(conn, Routes.password_path(conn, :reset_password, v...
[ 0.00110626220703125, -0.00799560546875, 0.004180908203125, -0.0133056640625, -0.007080078125, -0.0174560546875, 0.0035247802734375, -0.0166015625, -0.00201416015625, -0.00726318359375, 0.001434326171875, 0.0223388671875, 0.00396728515625, 0.019775390625, 0.019775390625, -0.000210762023...
[ 35159, 7077, 153837, 47677, 182867, 334, 771, 434, 40897, 2982, 92558, 53982, 4332, 3509, 139117, 47416, 2109, 126, 6448, 25501, 6954, 3355, 11, 33209, 35604, 2500, 47, 1098, 65918, 13409, 54936, 23044, 158, 19, 1305, 2271, 106015, 128405, ...
[ 0.19384765625, 0.044525146484375, 0.1812744140625, 0.051055908203125, 0.1181640625, 0.0740966796875, 0.0904541015625, 0.183837890625, 0.1663818359375, 0.1458740234375, 0.1746826171875, 0.2086181640625, 0.087646484375, 0.15869140625, 0.1026611328125, 0.1717529296875, 0.0750732421875, ...
embed
51099974_c0
51099974
elixir
0
Title: Start workers when a DynamicSupervisor starts Problem title: Start workers when a DynamicSupervisor starts Tags: elixir Problem: Start workers when a DynamicSupervisor starts I've implement a DynamicSupervisor that handle workers that use Process.send_after/3 to send push notification with some time precision. I...
Start workers when a DynamicSupervisor starts Start workers when a DynamicSupervisor starts elixir Start DynamicSupervisor Process.send_after start_child Task.async start_lost_children DynamicSupervisor.init MyApp.Worker DynamicSupervisor.start_child __MODULE__ Reference DOWN PID handle_info Start workers when a Dynami...
[ -0.005889892578125, 0.0152587890625, -0.01287841796875, -0.00634765625, -0.01239013671875, -0.00116729736328125, 0.017578125, 0.000301361083984375, 0.004913330078125, -0.048095703125, 0.003936767578125, 0.01422119140625, 0.011962890625, 0.0211181640625, 0.0167236328125, 0.0021057128906...
[ 13794, 133325, 3229, 73327, 21068, 73903, 51858, 4034, 15296, 38308, 123996, 39285, 46327, 206, 38472, 9598, 12654, 45014, 237052, 73, 217, 2646, 39179, 108259, 56, 17137, 12013, 215996, 6197, 108049, 436, 7146, 34831, 7319, 7, 29479, 18113, ...
[ 0.211181640625, 0.235595703125, 0.11669921875, 0.172119140625, 0.112548828125, 0.193115234375, 0.22412109375, 0.186767578125, 0.06982421875, 0.2012939453125, 0.1116943359375, 0.0831298828125, 0.137451171875, 0.12744140625, 0.185546875, 0.102783203125, 0.13427734375, 0.1302490234375...
embed
56390063_c0
56390063
elixir
0
Title: Storing module names inside map in database Problem title: Storing module names inside map in database Tags: ecto, database, elixir Problem: Storing module names inside map in database I am creating a notification service for an IOT app using Elixir/Ecto/Phoenix. A sensor in this app can have multiple values e.g...
Storing module names inside map in database Storing module names inside map in database ecto database elixir Storing acqdat_sensor_notifications rule_values alarm_status belongs_to Sensor on_replace NotificationPolicyA module_preferences NotificationPolicyB pref1 value1 pref2 value2 ecto_enum Storing module names insid...
[ 0.01434326171875, 0.007476806640625, -0.01068115234375, 0.022216796875, -0.00347900390625, 0.0021514892578125, 0.019287109375, -0.000812530517578125, -0.002166748046875, -0.0220947265625, -0.007171630859375, 0.00274658203125, 0.015380859375, 0.01123046875, 0.00994873046875, -0.01043701...
[ 23604, 88996, 123055, 46132, 22288, 63399, 23, 60751, 15296, 38308, 52633, 18, 163839, 10869, 41274, 7, 79986, 27494, 28949, 45215, 186, 10617, 171069, 98, 23935, 11205, 106144, 284, 239879, 571, 479, 34292, 304, 33, 316, 105233, 10, 185325, ...
[ 0.1995849609375, 0.25048828125, 0.1783447265625, 0.155517578125, 0.2076416015625, 0.201416015625, 0.0168609619140625, 0.2261962890625, 0.059478759765625, 0.211669921875, 0.042999267578125, 0.0882568359375, 0.197021484375, 0.108642578125, 0.1104736328125, 0.002685546875, 0.177734375, ...
embed
43843782_c0
43843782
elixir
0
Title: Elixir simple_one_for_one supervisor&#x27;s start_child terminates with undefined handle_call/3 Problem title: Elixir simple_one_for_one supervisor&#x27;s start_child terminates with undefined handle_call/3 Tags: erlang-supervisor, elixir Problem: Elixir simple_one_for_one supervisor's start_child terminates wit...
Elixir simple_one_for_one supervisor&#x27;s start_child terminates with undefined handle_call/3 Elixir simple_one_for_one supervisor&#x27;s start_child terminates with undefined handle_call/3 erlang-supervisor elixir UndefinedFunctionError Elixir simple_one_for_one start_child handle_call QueueSupervisor Supervisor sta...
[ -0.0076904296875, 0.0147705078125, -0.017333984375, 0.001678466796875, -0.0078125, -0.0230712890625, 0.03076171875, -0.025390625, 0.00408935546875, -0.0303955078125, 0.00482177734375, 0.0010986328125, 0.0157470703125, 0.0186767578125, 0.00653076171875, -0.004913330078125, 0.005371093...
[ 25318, 38308, 8781, 3630, 2472, 1601, 51858, 3768, 4034, 206, 38472, 121011, 9232, 5983, 34831, 85763, 18113, 3066, 59104, 15296, 79912, 97249, 18468, 5813, 13388, 73903, 4265, 10187, 15937, 193348, 17137, 12013, 3299, 944, 28282, 13293, 41732,...
[ 0.08624267578125, 0.20458984375, 0.1549072265625, 0.061737060546875, 0.06304931640625, 0.16064453125, 0.24462890625, 0.013275146484375, 0.1343994140625, 0.041259765625, 0.10723876953125, 0.104248046875, 0.10125732421875, 0.18359375, 0.1448974609375, 0.14501953125, 0.12255859375, 0....
embed
45950683_c0
45950683
elixir
0
Title: Phoenix: Supervisor ignores name, new processes Problem title: Phoenix: Supervisor ignores name, new processes Tags: phoenix-framework, elixir Problem: Phoenix: Supervisor ignores name, new processes I've got an application.ex that looks like this: defmodule Qtrain.Application do use Application def start(_type,...
Phoenix: Supervisor ignores name, new processes Phoenix: Supervisor ignores name, new processes phoenix-framework elixir Supervisor.Spec Phoenix Supervisor application.ex Qtrain.Application Application _type _args QtrainWeb.Endpoint Qtrain.Supervisor Qtrain.Requests Supervisor.start_link one_for_one config_change _new ...
[ 0.00994873046875, 0.00689697265625, 0.00927734375, 0.0036773681640625, -0.017578125, 0.0004291534423828125, 0.020751953125, -0.0206298828125, 0.0001811981201171875, 0.00075531005859375, 0.0052490234375, 0.006866455078125, 0.0020599365234375, 0.026611328125, -0.0035858154296875, -0.0036...
[ 133720, 4265, 51858, 124962, 9351, 3525, 9433, 53073, 33, 4084, 160328, 18244, 15296, 38308, 47107, 38415, 3355, 2396, 1517, 73, 47677, 182867, 104921, 50986, 61477, 30474, 152378, 38496, 73903, 75616, 17137, 10187, 1632, 153837, 152028, 50336, ...
[ 0.25390625, 0.1849365234375, 0.2529296875, 0.1900634765625, 0.17041015625, 0.128173828125, 0.1585693359375, 0.01641845703125, 0.03216552734375, 0.068115234375, 0.0531005859375, 0.03173828125, 0.0306396484375, 0.148681640625, 0.1029052734375, 0.1724853515625, 0.17529296875, 0.012908...
embed
42334123_c0
42334123
elixir
0
Title: How do I persist Phoenix.HTML radio button states to a PostgreSQL database while still making them a group? Problem title: How do I persist Phoenix.HTML radio button states to a PostgreSQL database while still making them a group? Tags: elixir, html, phoenix-framework Problem: How do I persist Phoenix.HTML radio...
How do I persist Phoenix.HTML radio button states to a PostgreSQL database while still making them a group? How do I persist Phoenix.HTML radio button states to a PostgreSQL database while still making them a group? elixir html phoenix-framework How Phoenix.HTML PostgreSQL XYZ.User XYZ.Web first_name last_name validate...
[ 0.00341796875, -0.018798828125, 0.003936767578125, -0.01123046875, -0.00408935546875, 0.03564453125, -0.021728515625, 0.0115966796875, 0.011962890625, -0.0123291015625, -0.000576019287109375, 0.02001953125, 0.0135498046875, 0.01611328125, -0.021240234375, -0.0107421875, 0.00668334960...
[ 11249, 70560, 133720, 127068, 5977, 77679, 117249, 47, 2795, 7134, 158897, 63399, 7464, 20662, 21115, 5, 2856, 15296, 38308, 7693, 53073, 33, 4084, 160328, 143907, 1062, 30474, 5117, 11627, 4568, 44622, 3181, 2189, 175904, 2500, 53400, 152028, ...
[ 0.072265625, 0.24072265625, 0.253662109375, 0.262451171875, 0.2403564453125, 0.229248046875, 0.1497802734375, 0.09661865234375, 0.05181884765625, 0.1080322265625, 0.1690673828125, 0.175048828125, 0.05755615234375, 0.031951904296875, 0.18603515625, 0.004608154296875, 0.017669677734375...
embed
65532853_c0
65532853
elixir
0
Title: Elixir/Phoenix add a. related entity to an existing one via form Problem title: Elixir/Phoenix add a. related entity to an existing one via form Tags: ecto, elixir, phoenix-framework Problem: Elixir/Phoenix add a. related entity to an existing one via form I am quite new to elixir/phoenix and I am struggeling a ...
Elixir/Phoenix add a. related entity to an existing one via form Elixir/Phoenix add a. related entity to an existing one via form ecto elixir phoenix-framework Elixir Phoenix projects_controller Clients.get_project Clients.change_work_item BudgetItem project_id project.id show.html form_for changeset.action Oops Please...
[ -0.0177001953125, -0.00732421875, -0.000568389892578125, -0.0106201171875, 0.006195068359375, -0.001251220703125, 0.00244140625, -0.01361083984375, 0.01904296875, -0.04296875, 0.0155029296875, -0.00238037109375, -0.016357421875, 0.032470703125, 0.00616455078125, -0.042236328125, -0.0...
[ 25318, 38308, 64, 683, 497, 33, 4084, 15190, 10, 62548, 77630, 939, 47, 144573, 1632, 3173, 60751, 15296, 53073, 160328, 133720, 77635, 81988, 603, 91732, 3794, 95322, 152028, 18244, 217, 95457, 2982, 13452, 532, 7639, 7693, 65572, 126, 447...
[ 0.1143798828125, 0.2303466796875, 0.034210205078125, 0.0067138671875, 0.0509033203125, 0.10205078125, 0.14013671875, 0.1761474609375, 0.033355712890625, 0.2322998046875, 0.2064208984375, 0.06561279296875, 0.1016845703125, 0.200439453125, 0.073974609375, 0.2286376953125, 0.16723632812...
embed
33316661_c0
33316661
elixir
0
Title: Running a Phoenix application release with exrm crashes Problem title: Running a Phoenix application release with exrm crashes Tags: elixir, exrm, phoenix-framework, release Problem: Running a Phoenix application release with exrm crashes I am trying to create a release of a stock Phoenix application (based on E...
Running a Phoenix application release with exrm crashes Running a Phoenix application release with exrm crashes elixir exrm phoenix-framework release Running Phoenix my_app STEPS.md Kernel application_controller application_start_failure failed_to_start_child Elixir.MyApp.Endpoint Elixir.Phoenix.CodeReloader.Server Eli...
[ -0.0025482177734375, 0.0166015625, 0.015380859375, 0.0048828125, 0.01177978515625, -0.0040283203125, -0.0238037109375, -0.0191650390625, 0.00823974609375, -0.0213623046875, 0.01318359375, 0.000850677490234375, 0.02587890625, 0.0008392333984375, 0.00714111328125, -0.00013065338134765625...
[ 28398, 592, 133720, 38415, 54452, 678, 1119, 42, 39, 150631, 10, 15296, 38308, 53073, 33, 4084, 160328, 759, 9007, 185567, 294, 54686, 119125, 583, 81988, 603, 17137, 120540, 3408, 165523, 454, 38472, 25318, 5, 31852, 39179, 152378, 38496, ...
[ 0.1412353515625, 0.022552490234375, 0.26171875, 0.1790771484375, 0.1417236328125, 0.093994140625, 0.10308837890625, 0.155029296875, 0.1614990234375, 0.21044921875, 0.006683349609375, 0.072998046875, 0.216796875, 0.033905029296875, 0.0545654296875, 0.1676025390625, 0.0458984375, 0.1...
embed
38335903_c1
38335903
elixir
1
po #Allows us to use our User model as User.(function) alias Test.User #These are @fields ~w(username email password encrypted_password user_id_hash password_confirmation)a #These are the required fields as atoms for the validate_required method. @required_fields_atoms ~w(username email password password_confirmation)a...
po #Allows us to use our User model as User.(function) alias Test.User #These are @fields ~w(username email password encrypted_password user_id_hash password_confirmation)a #These are the required fields as atoms for the validate_required method. @required_fields_atoms ~w(username email password password_confirmation)a...
[ -0.0224609375, -0.01019287109375, 0.01385498046875, -0.0042724609375, 0.01275634765625, 0.001373291015625, -0.00051116943359375, -0.0218505859375, 0.0198974609375, -0.0341796875, -0.002532958984375, 0.0206298828125, 0.00138092041015625, 0.020263671875, 0.01165771484375, -0.005401611328...
[ 160, 468, 284, 41566, 1821, 4527, 2446, 53400, 3299, 237, 137175, 55109, 8647, 5, 1062, 2189, 3957, 184, 1374, 28394, 434, 65918, 11627, 3340, 78506, 22, 136791, 13409, 47416, 38937, 532, 126234, 2271, 23044, 56065, 44457, 34627, 44622, 67,...
[ 0.246337890625, 0.02685546875, 0.01214599609375, 0.114990234375, 0.054962158203125, 0.1053466796875, 0.05914306640625, 0.20458984375, 0.250244140625, 0.06536865234375, 0.155029296875, 0.189453125, 0.228759765625, 0.04083251953125, 0.160888671875, 0.2071533203125, 0.024261474609375, ...
embed
61420322_c0
61420322
elixir
0
Title: Elixir - Assigning the result of a complex if statement to a variable Problem title: Elixir - Assigning the result of a complex if statement to a variable Tags: elixir Problem: Elixir - Assigning the result of a complex if statement to a variable How would I make error variable always equal to a string? It is ni...
Elixir - Assigning the result of a complex if statement to a variable Elixir - Assigning the result of a complex if statement to a variable elixir Elixir Assigning user_product user_product.voted_not_vegan Whoops You UserProduct.changeset voted_not_vegan Api.Repo.update IO.puts Success Reported Product.changeset not_ve...
[ -0.00823974609375, -0.02001953125, 0.004180908203125, 0.0179443359375, 0.0201416015625, 0.00067138671875, -0.0262451171875, 0.0057373046875, 0.0101318359375, 0.0235595703125, 0.004241943359375, 0.0033721923828125, 0.00274658203125, -0.005828857421875, 0.00176239013671875, 0.01281738281...
[ 25318, 38308, 1301, 31304, 16750, 27140, 2174, 63805, 77336, 15296, 38937, 57877, 965, 3674, 10869, 272, 1972, 68818, 53400, 10752, 77193, 152028, 3509, 43374, 5787, 14, 4332, 771, 117008, 17780, 144053, 34798, 73111, 959, 71013, 66416, 12996, ...
[ 0.1265869140625, 0.2578125, 0.0277252197265625, 0.19189453125, 0.1510009765625, 0.18505859375, 0.170654296875, 0.192138671875, 0.282958984375, 0.0679931640625, 0.1209716796875, 0.1552734375, 0.1270751953125, 0.04937744140625, 0.102294921875, 0.138671875, 0.12841796875, 0.0767211914...
embed