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
32843572_c0
32843572
elixir
0
Title: Retrieve ID of Ecto relationship without preload Problem title: Retrieve ID of Ecto relationship without preload Tags: elixir, ecto Problem: Retrieve ID of Ecto relationship without preload Supposing I have two Ecto models (along with their migrations): schema "projects" do field :name, :string belongs_to :clien...
Retrieve ID of Ecto relationship without preload Retrieve ID of Ecto relationship without preload elixir ecto Retrieve Ecto belongs_to MyApp.Client client_id has_many MyApp.Project Repo.get Project proj.id project.client.id project.client_id Repo.insert Client Test Retrieve ID of Ecto relationship without preload Suppo...
[ 0.0103759765625, -0.0010833740234375, 0.002593994140625, 0.0172119140625, -0.00185394287109375, -0.013427734375, -0.0101318359375, -0.01287841796875, -0.0087890625, -0.051513671875, 0.0145263671875, 0.0234375, -0.033935546875, -0.01043701171875, 0.0198974609375, -0.0133056640625, -0....
[ 200451, 11338, 111, 241, 44150, 76755, 15490, 479, 63033, 15296, 38308, 60751, 10617, 188, 2646, 39179, 150, 2517, 23282, 532, 1556, 669, 53, 223353, 853, 771, 3794, 27331, 502, 170, 13452, 222978, 33657, 91732, 8647, 6626, 115774, 212416, ...
[ 0.22314453125, 0.209228515625, 0.055084228515625, 0.1490478515625, 0.31201171875, 0.2076416015625, 0.0968017578125, 0.133544921875, 0.2266845703125, 0.0765380859375, 0.190673828125, 0.25146484375, 0.1025390625, 0.0227508544921875, 0.051849365234375, 0.154052734375, 0.08306884765625, ...
embed
42913395_c2
42913395
elixir
2
e2c203230204d617220323031372032303a32373a313720474d540d0a636f6e74656e742d6c656e6774683a20300d0a0d0a at io.netty.handler.ssl.SslHandler.decode(SslHandler.) .... And I can't to continue on my page. (without proxy, page is working) //page is correctly working only on Chrome and Nighty browsers edited: dev config: config :...
e2c203230204d617220323031372032303a32373a313720474d540d0a636f6e74656e742d6c656e6774683a20300d0a0d0a at io.netty.handler.ssl.SslHandler.decode(SslHandler.) .... And I can't to continue on my page. (without proxy, page is working) //page is correctly working only on Chrome and Nighty browsers edited: dev config: config :...
[ 0.0016021728515625, -0.0015716552734375, -0.0128173828125, -0.00347900390625, -0.0017242431640625, -0.004119873046875, -0.0205078125, 0.003692626953125, 0.005218505859375, -0.0024566650390625, -0.004852294921875, -0.01031494140625, 0.0101318359375, 0.028564453125, 0.00994873046875, 0.0...
[ 28, 304, 139911, 80347, 147758, 130252, 172725, 182058, 7739, 99, 22995, 1179, 939, 74258, 24861, 135679, 603, 112, 40899, 153, 3493, 87, 831, 18, 21342, 98, 759, 9191, 76228, 6056, 502, 50878, 83, 20697, 22469, 26785, 4734, 32178, 136, 3...
[ 0.0246734619140625, 0.04681396484375, 0.1002197265625, 0.0667724609375, 0.0611572265625, 0.0178985595703125, 0.005584716796875, 0.011932373046875, 0.059356689453125, 0.012969970703125, 0.2310791015625, 0.05120849609375, 0.1517333984375, 0.2354736328125, 0.1456298828125, 0.16015625, 0...
embed
44244239_c1
44244239
elixir
1
enserver (step by step call) The first step (create Notification is done by Phoenix controller and I want to isolate other two steps to 2 genserver calls: defmodule NotificationController do # ... def create(conn, params) do notification = # ... store body to %{}Notification # ... pid = GenServer.start_link(ProcessNoti...
enserver (step by step call) The first step (create Notification is done by Phoenix controller and I want to isolate other two steps to 2 genserver calls: defmodule NotificationController do # ... def create(conn, params) do notification = # ... store body to %{}Notification # ... pid = GenServer.start_link(ProcessNoti...
[ 0.003997802734375, -0.0010528564453125, -0.025390625, 0.024658203125, -0.00494384765625, 0.01287841796875, -0.00150299072265625, -0.0208740234375, -0.0004444122314453125, -0.034423828125, -0.0247802734375, 0.032958984375, 0.009033203125, 0.0130615234375, 0.0225830078125, 0.010131835937...
[ 22, 39642, 95528, 390, 29954, 11782, 5117, 7612, 2182, 11205, 41274, 16940, 133720, 185373, 3444, 54015, 67, 6626, 98441, 116, 9226, 8, 420, 83279, 175904, 603, 28282, 2271, 121, 4432, 54, 185325, 4343, 14361, 122116, 45226, 15937, 193348, ...
[ 0.1142578125, 0.25927734375, 0.1229248046875, 0.07281494140625, 0.165283203125, 0.171142578125, 0.053253173828125, 0.0992431640625, 0.06640625, 0.1649169921875, 0.1827392578125, 0.05230712890625, 0.214111328125, 0.232421875, 0.04412841796875, 0.175537109375, 0.06488037109375, 0.086...
embed
74273932_c0
74273932
elixir
0
Title: Add items to dict in elixir Problem title: Add items to dict in elixir Tags: elixir, dictionary, iterator, scoping, data-structures Problem: Add items to dict in elixir I have a nested dict in elixir, from which I want to save the latest items in a new dict. sorted_slides = [ %{ id: 1, visual_events: [ %{entity_...
Add items to dict in elixir Add items to dict in elixir elixir dictionary iterator scoping data-structures Add sorted_slides visual_events entity_id Enum.each slide.visual_events ve.entity_id Map.put IO.inspect Add items to dict in elixir I have a nested dict in elixir, from which I want to save the latest items in a n...
[ -0.01055908203125, 0.004730224609375, -0.0002689361572265625, -0.0133056640625, -0.00970458984375, 0.0186767578125, -0.01385498046875, -0.01092529296875, -0.00775146484375, -0.030517578125, 0.0245361328125, 0.025146484375, 0.0089111328125, 0.0230712890625, 0.027587890625, -0.0017166137...
[ 29117, 55769, 47, 61669, 23, 15296, 38308, 45, 10763, 720, 4597, 44679, 214, 2053, 137656, 17497, 71, 150, 988, 21176, 90141, 77630, 532, 316, 41581, 122753, 1824, 20605, 173, 42719, 17780, 16711, 6, 8512, 3444, 30098, 42850, 3525, 7311, ...
[ 0.1343994140625, 0.20068359375, 0.113037109375, 0.2498779296875, 0.0782470703125, 0.1131591796875, 0.257080078125, 0.062225341796875, 0.0975341796875, 0.1707763671875, 0.0992431640625, 0.1611328125, 0.0797119140625, 0.07183837890625, 0.1080322265625, 0.1192626953125, 0.08740234375, ...
embed
17648176_c0
17648176
elixir
0
Title: Why can't Elixir find __DIR__? Problem title: Why can't Elixir find __DIR__? Tags: elixir, elixir-mix Problem: Why can't Elixir find __DIR__? I'm trying to run mix test for elixir-json . When I do, I get ** (CompileError) /Users/me/Projects/elixir/json/test/json_test.exs:1: function '__DIR__'/0 undefin...
Why can't Elixir find __DIR__? Why can't Elixir find __DIR__? elixir elixir-mix CompileError Why Elixir __DIR__ Users Projects json_test.exs:1 Cellar erlang-r16 R16B01 parsetools-2.0.9 yeccpre.hrl:128 elixir_parser.yecctoken_end_location yeccpre.hrl:113 elixir_parser.yeccpars1 yeccpre.hrl:56 elixir_parser.yec...
[ 0.00098419189453125, 0.0245361328125, -0.00787353515625, 0.01025390625, 0.0031280517578125, 0.00112152099609375, -0.0027008056640625, 0.01318359375, -0.01416015625, -0.02783203125, -0.00029754638671875, 0.018310546875, -0.00445556640625, 0.00072479248046875, 0.038330078125, 0.011840820...
[ 44084, 831, 3768, 18, 25318, 38308, 7413, 5953, 123237, 14005, 15296, 62015, 15612, 1340, 18468, 31611, 53400, 27331, 1647, 1681, 6954, 3355, 19721, 10077, 320, 72, 3066, 2485, 6746, 366, 184, 89110, 143161, 2422, 4692, 2500, 1033, 6448, 36...
[ 0.1204833984375, 0.111083984375, 0.052642822265625, 0.06707763671875, 0.153564453125, 0.277099609375, 0.1700439453125, 0.10369873046875, 0.2315673828125, 0.12451171875, 0.11865234375, 0.2210693359375, 0.1026611328125, 0.0823974609375, 0.078125, 0.03009033203125, 0.1033935546875, 0....
embed
65113707_c1
65113707
elixir
1
a changeset based on the `struct` and `params`. """ def changeset(struct, params \\ %{}) do struct |> cast(params, [:name, :message]) |> validate_required([:name, :message]) end def recent_messages(limit \\ 10) do Chat.Repo.all(Chat.Message, limit: limit) end end mix.exs defp deps do [{:phoenix, "~> 1.2.5"}, {:phoenix...
a changeset based on the `struct` and `params`. """ def changeset(struct, params \\ %{}) do struct |> cast(params, [:name, :message]) |> validate_required([:name, :message]) end def recent_messages(limit \\ 10) do Chat.Repo.all(Chat.Message, limit: limit) end end mix.exs defp deps do [{:phoenix, "~> 1.2.5"}, {:phoenix...
[ -0.000484466552734375, 0.0198974609375, 0.0174560546875, 0.00037384033203125, 0.007354736328125, 0.015869140625, -0.01507568359375, -0.029541015625, 0.0026092529296875, -0.0137939453125, 0.011474609375, -0.010009765625, 0.01318359375, 0.006500244140625, -0.00897216796875, 0.01599121093...
[ 65572, 126, 35509, 36716, 136, 2500, 8256, 121, 4432, 1745, 54, 37702, 11627, 74157, 44622, 3181, 3564, 17309, 93343, 209, 18032, 771, 5584, 171126, 6011, 17475, 17664, 3355, 8, 6423, 33, 4084, 48413, 111596, 22144, 53855, 60751, 17596, 713...
[ 0.23193359375, 0.2369384765625, 0.0946044921875, 0.23486328125, 0.0758056640625, 0.11181640625, 0.1478271484375, 0.1226806640625, 0.129638671875, 0.03515625, 0.04998779296875, 0.0811767578125, 0.018463134765625, 0.139404296875, 0.1446533203125, 0.094970703125, 0.05364990234375, 0.1...
embed
62249995_c0
62249995
elixir
0
Title: Elixir - How do I manage routes using Cowboy (and nothing else)? Problem title: Elixir - How do I manage routes using Cowboy (and nothing else)? Tags: cowboy, http, elixir Problem: Elixir - How do I manage routes using Cowboy (and nothing else)? I'm restricted to only using Cowboy for a web server that handles a...
Elixir - How do I manage routes using Cowboy (and nothing else)? Elixir - How do I manage routes using Cowboy (and nothing else)? cowboy http elixir Cowboy Elixir How cowboy_req.path cowboy_req.reply router.call route.call IO.puts JSON.encode Elixir - How do I manage routes using Cowboy (and nothing else)? I'm restrict...
[ -0.01507568359375, 0.015869140625, 0.003631591796875, 0.0130615234375, -0.01043701171875, 0.0003204345703125, -0.0062255859375, 0.007110595703125, 0.01025390625, -0.045166015625, -0.006103515625, -0.02294921875, -0.0233154296875, 0.019775390625, 0.01495361328125, 0.01171875, -0.00836...
[ 25318, 38308, 11249, 111240, 36439, 7, 17368, 1311, 434, 30885, 33720, 37076, 552, 1621, 15296, 107, 864, 128405, 62479, 122188, 85763, 17780, 7077, 821, 58627, 33, 40899, 54, 87, 173072, 4734, 1467, 10723, 34831, 627, 21828, 61687, 3871, 4...
[ 0.1212158203125, 0.24755859375, 0.075927734375, 0.21923828125, 0.23876953125, 0.0416259765625, 0.12890625, 0.1124267578125, 0.1378173828125, 0.26611328125, 0.050506591796875, 0.03753662109375, 0.048797607421875, 0.10504150390625, 0.0921630859375, 0.0430908203125, 0.126708984375, 0....
embed
61242580_c0
61242580
elixir
0
Title: How to put a value in multiple maps that are nested (phoenix params) Problem title: How to put a value in multiple maps that are nested (phoenix params) Tags: phoenix-framework, elixir Problem: How to put a value in multiple maps that are nested (phoenix params) Pure elixir question: How to add a value in maps n...
How to put a value in multiple maps that are nested (phoenix params) How to put a value in multiple maps that are nested (phoenix params) phoenix-framework elixir How phone_numbers account_id Map.merge How to put a value in multiple maps that are nested (phoenix params) Pure elixir question: How to add a value in maps ...
[ -0.0093994140625, 0.00689697265625, -0.004180908203125, -0.00885009765625, -0.01385498046875, 0.0260009765625, -0.001129150390625, 0.0022430419921875, 0.019287109375, -0.04345703125, 0.0140380859375, -0.00286865234375, 0.0235595703125, 0.04638671875, 0.01611328125, -0.02587890625, -0...
[ 11249, 3884, 34292, 23, 48716, 22288, 8512, 71, 22014, 33, 4084, 121, 4432, 47, 10, 621, 53073, 160328, 18244, 15296, 38308, 24089, 2606, 1297, 15426, 532, 42719, 1991, 429, 118233, 9655, 15190, 5201, 1632, 14012, 959, 188347, 133720, 43701...
[ 0.093505859375, 0.1624755859375, 0.268798828125, 0.0953369140625, 0.2257080078125, 0.218994140625, 0.249755859375, 0.1259765625, 0.049346923828125, 0.10516357421875, 0.1375732421875, 0.1453857421875, 0.157958984375, 0.023681640625, 0.020416259765625, 0.008270263671875, 0.037170410156...
embed
44969934_c0
44969934
elixir
0
Title: Phoenix/Elixir - protocol Phoenix.Param not implemented for #PID&lt;0.890.0&gt; Problem title: Phoenix/Elixir - protocol Phoenix.Param not implemented for #PID&lt;0.890.0&gt; Tags: elixir, phoenix-framework Problem: Phoenix/Elixir - protocol Phoenix.Param not implemented for #PID<0.890.0> In my Phoenix app I am ...
Phoenix/Elixir - protocol Phoenix.Param not implemented for #PID&lt;0.890.0&gt; Phoenix/Elixir - protocol Phoenix.Param not implemented for #PID&lt;0.890.0&gt; elixir phoenix-framework Phoenix Elixir Phoenix.Param PID page_entries current_page Map.get Paginator.start_link index.html Next page_path Phoenix/Elixir - prot...
[ -0.0078125, 0.0142822265625, 0.0064697265625, -0.000030040740966796875, -0.010498046875, -0.00010156631469726562, -0.0029144287109375, -0.0240478515625, -0.00457763671875, -0.08447265625, -0.00009965896606445312, -0.027587890625, 0.010498046875, 0.029541015625, 0.0126953125, -0.0032806...
[ 133720, 64, 150, 38308, 91363, 55292, 39, 959, 29479, 100, 683, 7146, 132208, 1126, 99929, 15296, 53073, 33, 4084, 160328, 25318, 436, 9191, 2517, 43581, 22469, 42719, 74248, 1290, 17137, 10187, 63262, 4997, 128405, 4027, 17368, 15937, 39642,...
[ 0.2646484375, 0.01251220703125, 0.0777587890625, 0.226318359375, 0.220947265625, 0.147705078125, 0.08056640625, 0.0906982421875, 0.1845703125, 0.003997802734375, 0.081787109375, 0.2071533203125, 0.1258544921875, 0.1513671875, 0.15380859375, 0.035675048828125, 0.007598876953125, 0.0...
embed
26963870_c0
26963870
elixir
0
Title: How to run Elixir Supervisor in escript Problem title: How to run Elixir Supervisor in escript Tags: erlang-otp, erlang-supervisor, gen-server, elixir-mix, elixir Problem: How to run Elixir Supervisor in escript I have a mix project with as simple as possible a Supervisor and GenServer. When I call from iex: Ech...
How to run Elixir Supervisor in escript How to run Elixir Supervisor in escript erlang-otp erlang-supervisor gen-server elixir-mix elixir How Elixir Supervisor EchoCmd.Supervisor.start_link Hello GenServer.call EchoCmd.Echo How to run Elixir Supervisor in escript I have a mix project with as simple as possible a Superv...
[ -0.0019683837890625, 0.0174560546875, -0.002899169921875, 0.0159912109375, -0.00086212158203125, -0.0245361328125, 0.03271484375, -0.01080322265625, -0.0164794921875, -0.0240478515625, 0.00543212890625, 0.0106201171875, 0.01251220703125, 0.0216064453125, 0.032470703125, -0.006530761718...
[ 11249, 11675, 25318, 38308, 4265, 51858, 28, 32032, 23, 72, 3066, 818, 254, 59104, 9226, 39642, 15296, 62015, 241, 3089, 54686, 73903, 17137, 10187, 35378, 15937, 193348, 85763, 17664, 13452, 8781, 136, 11782, 1295, 17, 3355, 561, 40099, 13...
[ 0.0347900390625, 0.1466064453125, 0.1326904296875, 0.264892578125, 0.2110595703125, 0.276123046875, 0.1094970703125, 0.278076171875, 0.0064697265625, 0.048736572265625, 0.1820068359375, 0.038665771484375, 0.0625, 0.177978515625, 0.107666015625, 0.1309814453125, 0.0772705078125, 0.1...
embed
46386066_c0
46386066
elixir
0
Title: Convert list of codepoints (or binary) to string Problem title: Convert list of codepoints (or binary) to string Tags: elixir Problem: Convert list of codepoints (or binary) to string I've been working on the exercises from Dave Thomas's Programming in Elixir . I came across one that says to write a function (ca...
Convert list of codepoints (or binary) to string Convert list of codepoints (or binary) to string elixir Convert MyList.caesar MyList Enum.map perform_addition to_charlist to_string char_val Convert list of codepoints (or binary) to string I've been working on the exercises from Dave Thomas's Programming in Elixir . I ...
[ -0.01141357421875, -0.02978515625, -0.00396728515625, 0.03564453125, -0.0019683837890625, 0.0068359375, 0.0006866455078125, -0.0059814453125, -0.0091552734375, 0.005889892578125, -0.00738525390625, -0.0186767578125, -0.005767822265625, 0.043212890625, -0.025390625, -0.00897216796875, ...
[ 1657, 11549, 5303, 111, 18151, 38496, 7, 748, 2394, 6635, 47, 79315, 15296, 38308, 2646, 154663, 408, 90, 147, 357, 316, 62346, 51339, 12071, 9254, 6562, 91693, 21441, 1405, 20697, 81979, 103383, 14978, 27958, 25318, 36880, 33022, 32354, 85...
[ 0.0631103515625, 0.15234375, 0.1966552734375, 0.0164794921875, 0.1702880859375, 0.2261962890625, 0.010040283203125, 0.024871826171875, 0.164306640625, 0.1756591796875, 0.1080322265625, 0.27294921875, 0.10052490234375, 0.216064453125, 0.10650634765625, 0.263671875, 0.0953369140625, ...
embed
76779059_c2
76779059
elixir
2
_verify_hostname.erl:16, public_key, public_key.hrl, ssl_verify_fingerprint.erl:15:14, include_lib, ssl_verify_pk.erl:14:14, ssl_verify_fun_cert_helpers.erl:13:14, ssl_verify_fingerprint.erl:27:26, OTPCertificate, verify_fun, Cert, ssl_verify_pk.erl:26:26, ssl_verify_fun_cert_helpers.erl:23:34, AltSubject, select_exten...
_verify_hostname.erl:16, public_key, public_key.hrl, ssl_verify_fingerprint.erl:15:14, include_lib, ssl_verify_pk.erl:14:14, ssl_verify_fun_cert_helpers.erl:13:14, ssl_verify_fingerprint.erl:27:26, OTPCertificate, verify_fun, Cert, ssl_verify_pk.erl:26:26, ssl_verify_fun_cert_helpers.erl:23:34, AltSubject, select_exten...
[ 0.02880859375, -0.007171630859375, 0.0172119140625, 0.0196533203125, 0.0179443359375, -0.0235595703125, -0.01165771484375, -0.01318359375, -0.0059814453125, 0.0025634765625, 0.02880859375, -0.03271484375, 0.00144195556640625, 0.003875732421875, -0.01361083984375, 0.01104736328125, 0....
[ 101, 814, 40383, 40294, 11627, 56, 141, 22354, 4, 3835, 19770, 4097, 91, 24861, 176423, 35662, 5, 12221, 22635, 26698, 5612, 38988, 16498, 84563, 73866, 1314, 22618, 454, 27592, 28194, 84023, 12233, 61093, 67, 493, 8759, 18, 24864, 30197, ...
[ 0.07171630859375, 0.2137451171875, 0.251708984375, 0.19384765625, 0.218994140625, 0.1510009765625, 0.12255859375, 0.1719970703125, 0.045745849609375, 0.1446533203125, 0.2049560546875, 0.0751953125, 0.07073974609375, 0.23291015625, 0.1473388671875, 0.2276611328125, 0.00262451171875, ...
embed
69037940_c1
69037940
elixir
1
) iex(1)> TodoList.CsvImporter.import("todos.csv") %TodoList{ auto_id: 4, entries: %{ 1 => %{date: {:ok, ~D[2018-12-19]}, title: "Dentist"}, 2 => %{date: {:ok, ~D[2018-12-20]}, title: "Shopping"}, 3 => %{date: {:ok, ~D[2018-12-19]}, title: "Movies"} } } iex(2)> As you can see the error is on generating {:ok, DATE} inst...
) iex(1)> TodoList.CsvImporter.import("todos.csv") %TodoList{ auto_id: 4, entries: %{ 1 => %{date: {:ok, ~D[2018-12-19]}, title: "Dentist"}, 2 => %{date: {:ok, ~D[2018-12-20]}, title: "Shopping"}, 3 => %{date: {:ok, ~D[2018-12-19]}, title: "Movies"} } } iex(2)> As you can see the error is on generating {:ok, DATE} inst...
[ -0.00634765625, 0.004425048828125, -0.00186920166015625, 0.01068115234375, -0.01251220703125, 0.008544921875, -0.011474609375, 0.0069580078125, 0.0031585693359375, 0.0113525390625, -0.021728515625, 0.006256103515625, 0.015869140625, 0.0361328125, 0.0033416748046875, 0.0057373046875, ...
[ 17, 3355, 26657, 154663, 441, 67756, 61637, 6982, 56, 60270, 188, 1140, 4439, 334, 7763, 246, 1809, 532, 201, 112820, 106, 17489, 685, 1742, 9955, 8363, 44759, 54494, 50694, 116, 397, 78959, 10366, 138, 187430, 40970, 398, 18499, 12663, 1...
[ 0.0809326171875, 0.210205078125, 0.2225341796875, 0.2333984375, 0.01031494140625, 0.2076416015625, 0.0684814453125, 0.1707763671875, 0.0928955078125, 0.18408203125, 0.08251953125, 0.18603515625, 0.09033203125, 0.218505859375, 0.1195068359375, 0.178466796875, 0.1424560546875, 0.1094...
embed
44146843_c0
44146843
elixir
0
Title: Phoenix Framework Elixir: How to use helper function inside javascript Problem title: Phoenix Framework Elixir: How to use helper function inside javascript Tags: elixir, phoenix-framework Problem: Phoenix Framework Elixir: How to use helper function inside javascript I defined a helper function in the view: def...
Phoenix Framework Elixir: How to use helper function inside javascript Phoenix Framework Elixir: How to use helper function inside javascript elixir phoenix-framework Phoenix Framework Elixir How Repo.get Post Repo.preload post.comments comment.user.username escape_javascript MyApp.ApplicationHelpers.usernames post.id ...
[ 0.004791259765625, -0.010009765625, -0.0001697540283203125, -0.02490234375, 0.00408935546875, 0.0164794921875, -0.00012159347534179688, 0.00811767578125, 0.002838134765625, -0.09130859375, -0.02587890625, -0.0223388671875, 0.01141357421875, -0.01019287109375, 0.00787353515625, 0.024658...
[ 133720, 202220, 25318, 38308, 11249, 4527, 4358, 56, 32354, 46132, 136951, 15296, 53073, 33, 4084, 160328, 18244, 853, 771, 3794, 2795, 4692, 63033, 1305, 9035, 6868, 65918, 11627, 144281, 24071, 2646, 39179, 182867, 60785, 21777, 223, 4688, ...
[ 0.2392578125, 0.2064208984375, 0.1138916015625, 0.238525390625, 0.03155517578125, 0.1162109375, 0.216796875, 0.2122802734375, 0.1810302734375, 0.1214599609375, 0.2349853515625, 0.08056640625, 0.0303955078125, 0.052459716796875, 0.005157470703125, 0.083251953125, 0.06689453125, 0.10...
embed
72246332_c0
72246332
elixir
0
Title: Creating a minimal Plug based http server in an exs file Problem title: Creating a minimal Plug based http server in an exs file Tags: cowboy, elixir, plug Problem: Creating a minimal Plug based http server in an exs file I am trying to create a quick n dirty http server in an exs file that only sends the string...
Creating a minimal Plug based http server in an exs file Creating a minimal Plug based http server in an exs file cowboy elixir plug Plug.Conn Logger Creating Plug Mix.install plug_cowboy HWPlug.Plug _opts put_resp_content_type send_resp Hello World HWApp.Application Application _type _args Plug.Cowboy one_for_one HWAp...
[ 0.0054931640625, 0.004974365234375, -0.0004634857177734375, 0.018310546875, -0.0223388671875, 0.0234375, -0.00640869140625, -0.041259765625, 0.0103759765625, -0.018798828125, -0.00689697265625, -0.01019287109375, 0.0006561279296875, 0.0247802734375, 0.00194549560546875, -0.004150390625...
[ 56781, 20187, 194351, 35509, 1621, 10723, 1119, 7, 11435, 552, 434, 30885, 15296, 38308, 76329, 11935, 64906, 56, 37286, 80383, 572, 35159, 2146, 254, 69246, 50986, 2109, 35378, 6661, 1456, 39179, 47677, 104921, 61477, 8770, 2472, 3630, 73903...
[ 0.1258544921875, 0.248779296875, 0.1905517578125, 0.1207275390625, 0.17138671875, 0.19384765625, 0.16650390625, 0.1343994140625, 0.153564453125, 0.01409912109375, 0.0751953125, 0.1868896484375, 0.060028076171875, 0.1953125, 0.1568603515625, 0.044586181640625, 0.1282958984375, 0.059...
embed
49711018_c0
49711018
elixir
0
Title: How to debug no message matching on assert_receive Problem title: How to debug no message matching on assert_receive Tags: elixir, testing Problem: How to debug no message matching on assert_receive I have this test defmodule InfoSys.Backends.WolframTest do use ExUnit.Case, async: true alias InfoSys.WolFram test...
How to debug no message matching on assert_receive How to debug no message matching on assert_receive elixir testing How assert_receive InfoSys.Backends.WolframTest ExUnit.Case InfoSys.WolFram make_ref WolFram.start_link InfoSys.Result wolfram_test.exs:6 Reference wolfram_test.exs:11 How to debug no message matching on...
[ 0, 0.0267333984375, -0.0250244140625, 0.0238037109375, -0.00750732421875, 0.0072021484375, -0.004150390625, 0.00811767578125, -0.00384521484375, 0.01470947265625, 0.0103759765625, 0.01513671875, -0.00592041015625, 0.019287109375, 0.0194091796875, 0.01300048828125, 0.00439453125, -0...
[ 8, 85779, 110, 26008, 14858, 214, 98, 33657, 74105, 5844, 237, 15296, 38308, 134234, 14048, 65183, 3611, 232958, 2198, 111337, 5443, 85600, 929, 29087, 47390, 10187, 13924, 55334, 6954, 19993, 3034, 217063, 3714, 18831, 18499, 4084, 12877, 56...
[ 0.12939453125, 0.2342529296875, 0.1260986328125, 0.150146484375, 0.1883544921875, 0.1160888671875, 0.025421142578125, 0.163818359375, 0.1024169921875, 0.1253662109375, 0.00360107421875, 0.04595947265625, 0.179443359375, 0.1783447265625, 0.0308685302734375, 0.06201171875, 0.0698852539...
embed
46131827_c0
46131827
elixir
0
Title: Selecting items from ets/dets based on a function. Anyway to do in besides a tab2list |&gt; Enum.filter? Problem title: Selecting items from ets/dets based on a function. Anyway to do in besides a tab2list |&gt; Enum.filter? Tags: elixir, erlang Problem: Selecting items from ets/dets based on a function. Anyway ...
Selecting items from ets/dets based on a function. Anyway to do in besides a tab2list |&gt; Enum.filter? Selecting items from ets/dets based on a function. Anyway to do in besides a tab2list |&gt; Enum.filter? elixir erlang ets/dets Selecting Anyway tab2list Enum.filter ets.new named_table Data current_location ets.tab...
[ 0.004486083984375, 0.0033721923828125, -0.0096435546875, -0.0179443359375, 0.003570556640625, -0.016845703125, 0.00665283203125, 0.01129150390625, -0.0159912109375, -0.04296875, 0.0216064453125, 0.0164794921875, -0.00994873046875, -0.00396728515625, 0.00250244140625, 0.01251220703125, ...
[ 51620, 55769, 1295, 82, 7, 64, 3667, 35509, 98, 32354, 126786, 54, 988, 20928, 304, 6562, 357, 316, 120337, 23, 30338, 15296, 38308, 72, 3066, 24, 4806, 22819, 11809, 43581, 87632, 9843, 1391, 39799, 86, 56883, 3082, 23180, 114063, 678, ...
[ 0.17626953125, 0.1671142578125, 0.110107421875, 0.1934814453125, 0.1595458984375, 0.08154296875, 0.2298583984375, 0.1253662109375, 0.012298583984375, 0.1905517578125, 0.197265625, 0.049468994140625, 0.06488037109375, 0.119873046875, 0.0804443359375, 0.1177978515625, 0.07525634765625,...
embed
53802393_c1
53802393
elixir
1
4019886, "lng" : 24.7108114 }, "html_instructions" : "XXXX", "maneuver" : "turn-left", "polyline" : { "points" : "XXXX" }, "start_location" : { "lat" : 59.3943677, "lng" : 24.708647 }, "travel_mode" : "DRIVING" }, { ... }, { ... }, { ... }, { ... }, { ... }, { ... }, { ... }, { ... }, { ... } ], "traffic_speed_entry" :...
4019886, "lng" : 24.7108114 }, "html_instructions" : "XXXX", "maneuver" : "turn-left", "polyline" : { "points" : "XXXX" }, "start_location" : { "lat" : 59.3943677, "lng" : 24.708647 }, "travel_mode" : "DRIVING" }, { ... }, { ... }, { ... }, { ... }, { ... }, { ... }, { ... }, { ... }, { ... } ], "traffic_speed_entry" :...
[ -0.0084228515625, -0.00396728515625, 0.0294189453125, 0.005615234375, -0.0034332275390625, -0.00836181640625, 0.002349853515625, -0.0120849609375, -0.0067138671875, -0.00726318359375, -0.00933837890625, 0.000804901123046875, -0.012451171875, -0.0118408203125, 0.0045166015625, 0.0126342...
[ 1112, 109332, 910, 449, 58, 11585, 966, 69139, 129150, 7693, 188336, 7, 205378, 830, 47338, 34, 814, 152, 44, 987, 133, 2480, 135545, 2256, 38496, 51912, 17137, 87632, 10666, 2335, 11156, 161787, 170242, 4, 188734, 195807, 91844, 454, 61170...
[ 0.105712890625, 0.1396484375, 0.07183837890625, 0.0823974609375, 0.0115966796875, 0.0941162109375, 0.013946533203125, 0.048583984375, 0.05517578125, 0.145263671875, 0.190185546875, 0.011444091796875, 0.1334228515625, 0.011932373046875, 0.07159423828125, 0.199462890625, 0.1064453125, ...
embed
65951347_c0
65951347
elixir
0
Title: Unable to run `npm install` in fresh Phoenix project on Powershell windows Problem title: Unable to run `npm install` in fresh Phoenix project on Powershell windows Tags: elixir, npm-install, npm, phoenix-framework, webpack Problem: Unable to run `npm install` in fresh Phoenix project on Powershell windows Backg...
Unable to run `npm install` in fresh Phoenix project on Powershell windows Unable to run `npm install` in fresh Phoenix project on Powershell windows elixir npm-install npm phoenix-framework webpack the babel-loader@8.2.2 mini-css-extract-plugin@0.9.0 Unable Phoenix Powershell archive.install phx_new phx.new test_app n...
[ 0.003509521484375, 0.01043701171875, -0.0003814697265625, -0.0040283203125, 0.01336669921875, 0.0218505859375, -0.00164031982421875, -0.0024261474609375, 0.00060272216796875, -0.0159912109375, 0.0028228759765625, 0.002838134765625, 0.00909423828125, 0.00823974609375, -0.001800537109375, ...
[ 992, 2886, 11675, 19, 26822, 20600, 63335, 133720, 13452, 17170, 128019, 54825, 15296, 38308, 25037, 39, 80383, 53073, 33, 4084, 160328, 1467, 29102, 961, 4063, 63033, 56, 128423, 304, 7665, 4439, 112779, 145301, 143161, 147488, 11521, 425, 3...
[ 0.0350341796875, 0.1220703125, 0.12255859375, 0.05682373046875, 0.25439453125, 0.2003173828125, 0.125, 0.25244140625, 0.1221923828125, 0.1109619140625, 0.2152099609375, 0.103515625, 0.057525634765625, 0.2154541015625, 0.159912109375, 0.190185546875, 0.140625, 0.0252685546875, 0.0...
embed
48311339_c1
48311339
elixir
1
end And I'm using this macro in another module: defmodule PdfGenerator.BibTypes.Booklet do use PdfGenerator.BibTypes.TypeDefinition, mod: __MODULE__, style: "booklet", required: [:title], optional: [:author, :howpublished, :address, :month, :year, :note] end I want PdfGenerator.BibTypes.Booklet module, after macro exp...
end And I'm using this macro in another module: defmodule PdfGenerator.BibTypes.Booklet do use PdfGenerator.BibTypes.TypeDefinition, mod: __MODULE__, style: "booklet", required: [:title], optional: [:author, :howpublished, :address, :month, :year, :note] end I want PdfGenerator.BibTypes.Booklet module, after macro exp...
[ 0.01287841796875, 0.002197265625, -0.015380859375, 0.00927734375, -0.007354736328125, 0.00193023681640625, 0.023193359375, -0.0146484375, 0.0057373046875, -0.00958251953125, 0.000514984130859375, -0.012939453125, 0.01263427734375, -0.01287841796875, 0.01336669921875, -0.00445556640625,...
[ 3564, 3493, 17368, 903, 111789, 23, 15700, 88996, 8, 420, 83279, 221998, 105376, 56, 4597, 571, 2566, 196707, 37975, 1974, 4527, 187423, 943, 2811, 12013, 397, 20623, 14137, 56065, 5440, 35829, 1003, 47251, 179193, 107421, 15477, 46799, 48345...
[ 0.1549072265625, 0.03289794921875, 0.126220703125, 0.0791015625, 0.20703125, 0.00372314453125, 0.0516357421875, 0.193359375, 0.1505126953125, 0.1514892578125, 0.1595458984375, 0.182861328125, 0.148681640625, 0.094970703125, 0.1168212890625, 0.03369140625, 0.100341796875, 0.22705078...
embed
37755658_c0
37755658
elixir
0
Title: How to modify an Ecto changeset before inserting it into the repo? Problem title: How to modify an Ecto changeset before inserting it into the repo? Tags: elixir, phoenix-framework, ecto Problem: How to modify an Ecto changeset before inserting it into the repo? I'm really new to Phoenix/Elixir and I'm trying to...
How to modify an Ecto changeset before inserting it into the repo? How to modify an Ecto changeset before inserting it into the repo? elixir phoenix-framework ecto How Ecto put_specialty_array Ecto.Changeset put_change String.split How to modify an Ecto changeset before inserting it into the repo? I'm really new to Pho...
[ -0.00714111328125, -0.00421142578125, 0.016845703125, 0.01177978515625, -0.0030059814453125, 0.00112152099609375, -0.0277099609375, -0.0135498046875, 0.004241943359375, -0.015869140625, -0.006317138671875, 0.0166015625, 0.01165771484375, 0.0234375, 0.00130462646484375, 0.00741577148437...
[ 11249, 2811, 40383, 241, 44150, 65572, 126, 8108, 183540, 3934, 93392, 142, 15296, 38308, 53073, 33, 4084, 160328, 60751, 3884, 146981, 939, 19305, 127008, 4188, 152028, 23351, 214, 7008, 4353, 3525, 133720, 150, 7831, 16401, 4527, 28282, 283...
[ 0.0823974609375, 0.1761474609375, 0.1517333984375, 0.103271484375, 0.27197265625, 0.2049560546875, 0.191650390625, 0.1065673828125, 0.177490234375, 0.07550048828125, 0.201416015625, 0.000823974609375, 0.07037353515625, 0.18408203125, 0.031707763671875, 0.036834716796875, 0.078125, ...
embed
52775916_c0
52775916
elixir
0
Title: File Upload to Local using Acr in Elixir Problem title: File Upload to Local using Acr in Elixir Tags: file-upload, plug, elixir Problem: File Upload to Local using Acr in Elixir I am using Arc.Definition( https://github.com/stavro/arc ) for uploading an image to the Local Storage. My file_service.ex is below: d...
File Upload to Local using Acr in Elixir File Upload to Local using Acr in Elixir file-upload plug elixir Acr File Upload Local Elixir MyApp.FileService Arc.Definition Arc.Ecto.Definition image_types default_filename image.png __storage Arc.Storage.Local upload_image Plug.Upload resource_type resource_id image.path upl...
[ -0.022216796875, -0.0018310546875, 0.00144195556640625, 0.0169677734375, -0.0032196044921875, 0.006591796875, -0.01007080078125, -0.01239013671875, 0.0037384033203125, -0.0012359619140625, 0.0103759765625, 0.0255126953125, 0.033935546875, 0.03515625, 0.0128173828125, -0.01226806640625,...
[ 42724, 171958, 47, 24172, 17368, 9852, 42, 23, 25318, 38308, 11435, 94835, 76329, 15296, 39179, 174350, 121979, 51210, 187423, 943, 44150, 29569, 50986, 114977, 29822, 11627, 128468, 140464, 188, 29838, 203758, 70622, 37926, 194351, 53234, 63033,...
[ 0.135498046875, 0.197509765625, 0.1024169921875, 0.185791015625, 0.0304718017578125, 0.1351318359375, 0.2012939453125, 0.047393798828125, 0.119140625, 0.235595703125, 0.0888671875, 0.1363525390625, 0.1339111328125, 0.07342529296875, 0.06695556640625, 0.04736328125, 0.076416015625, ...
embed
72029645_c0
72029645
elixir
0
Title: Undefined Function Error after installing Phoenix Live Dashboard Problem title: Undefined Function Error after installing Phoenix Live Dashboard Tags: elixir, phoenix-live-view, phoenix-framework Problem: Undefined Function Error after installing Phoenix Live Dashboard Code signals: UndefinedFunctionError, Undef...
Undefined Function Error after installing Phoenix Live Dashboard Undefined Function Error after installing Phoenix Live Dashboard elixir phoenix-live-view phoenix-framework UndefinedFunctionError Undefined Error Phoenix Live Dashboard PID gerardWeb.Endpoint Server localhost:4000 Request GET Phoenix.HTML.attributes_esca...
[ 0.0081787109375, 0.016845703125, -0.0021820068359375, -0.0130615234375, 0.007598876953125, -0.01519775390625, 0.0029296875, -0.0030517578125, -0.00885009765625, -0.020263671875, -0.006011962890625, -0.045166015625, 0.017333984375, 0.000598907470703125, 0.0189208984375, 0.0191650390625,...
[ 79912, 5983, 297, 28670, 10763, 212059, 7103, 20600, 214, 133720, 9251, 1858, 127, 24351, 15296, 38308, 53073, 33, 4084, 24056, 22751, 160328, 97249, 18468, 31611, 436, 7146, 4155, 5861, 30474, 152378, 38496, 22687, 4000, 40294, 68037, 75616, ...
[ 0.110595703125, 0.220947265625, 0.042022705078125, 0.17333984375, 0.02215576171875, 0.1907958984375, 0.08837890625, 0.188232421875, 0.047393798828125, 0.2470703125, 0.2237548828125, 0.129638671875, 0.131591796875, 0.21728515625, 0.027984619140625, 0.186279296875, 0.055694580078125, ...
embed
73453449_c1
73453449
elixir
1
: Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps() ] end defp deps do [ {:phoenix, "~> 1.6.10"}, {:phoenix_html, "~> 3.0"}, {:phoenix_live_reload, "~> 1.2", only: :dev}, {:phoenix_live_view, "~> 0.17.5"}, {:floki, ">= 0.30.0", only: :test}, {:phoenix_live_dashboard, "~> 0.6"}, {:es...
: Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps() ] end defp deps do [ {:phoenix, "~> 1.6.10"}, {:phoenix_html, "~> 3.0"}, {:phoenix_live_reload, "~> 1.2", only: :dev}, {:phoenix_live_view, "~> 0.17.5"}, {:floki, ">= 0.30.0", only: :test}, {:phoenix_live_dashboard, "~> 0.6"}, {:es...
[ -0.00537109375, -0.01123046875, 0.01214599609375, -0.006256103515625, 0.0115966796875, -0.0017242431640625, 0.004669189453125, -0.0028839111328125, -0.00445556640625, -0.009521484375, -0.0185546875, -0.00897216796875, 0.0390625, 0.0264892578125, 0.017578125, 0.0108642578125, -0.02490...
[ 37286, 277, 5974, 1314, 4034, 669, 33, 334, 69112, 112348, 55109, 90, 8, 6423, 3564, 420, 254, 54, 22014, 4084, 51748, 963, 7693, 17596, 24056, 107, 63033, 34635, 4734, 18548, 22751, 107754, 136563, 52347, 301, 127089, 99929, 6954, 155892, ...
[ 0.294921875, 0.065673828125, 0.21630859375, 0.144287109375, 0.1180419921875, 0.08294677734375, 0.1112060546875, 0.1959228515625, 0.05865478515625, 0.1766357421875, 0.149658203125, 0.094970703125, 0.182861328125, 0.1630859375, 0.06793212890625, 0.031158447265625, 0.028472900390625, ...
embed
75581065_c0
75581065
elixir
0
Title: Elixir project cannot build due to Node OpenSSL crypto dependency Problem title: Elixir project cannot build due to Node OpenSSL crypto dependency Tags: openssl, elixir, node.js Problem: Elixir project cannot build due to Node OpenSSL crypto dependency I have an Elixir project running Alpine Linux 3.16 and a few...
Elixir project cannot build due to Node OpenSSL crypto dependency Elixir project cannot build due to Node OpenSSL crypto dependency openssl elixir node.js Elixir Node OpenSSL error:0308010C:digital routines::unsupported ENV NODE_OPTIONS RUN node.js Elixir project cannot build due to Node OpenSSL crypto dependency I hav...
[ -0.0201416015625, 0.005279541015625, -0.0064697265625, -0.00933837890625, 0.009521484375, -0.02099609375, -0.009521484375, -0.01007080078125, -0.000335693359375, 0.017822265625, 0.0174560546875, 0.00049591064453125, 0.02978515625, 0.04296875, -0.0169677734375, -0.0255126953125, -0.02...
[ 25318, 38308, 13452, 53418, 45367, 4743, 438, 112, 13527, 294, 30508, 215637, 42548, 9803, 24861, 15296, 110, 28175, 18499, 28724, 8318, 76327, 441, 140915, 124374, 309, 105363, 7338, 856, 9520, 8399, 20880, 130747, 165548, 13, 29908, 1031, 2...
[ 0.1297607421875, 0.275390625, 0.149658203125, 0.1337890625, 0.18115234375, 0.0555419921875, 0.1632080078125, 0.2159423828125, 0.1419677734375, 0.04833984375, 0.1827392578125, 0.159912109375, 0.1534423828125, 0.1156005859375, 0.14306640625, 0.069091796875, 0.124267578125, 0.14782714...
embed
37005909_c0
37005909
elixir
0
Title: Create a nested resource Problem title: Create a nested resource Tags: phoenix-framework, elixir Problem: Create a nested resource A User has_many emails . In a nested user#new form a new User can be created with one Email . Submitting this form creates a new User but not the associated EMail . The create functi...
Create a nested resource Create a nested resource phoenix-framework elixir Create User Email POST Processing MyApp.UserController.create Parameters _csrf_token eUYYy4 _utf8 example.com first_name John last_name Smith user_params User.changeset Repo.insert put_flash user_path new.html accepts_nested_attributes_for Creat...
[ -0.0021209716796875, 0.001861572265625, -0.01416015625, -0.0166015625, 0.0128173828125, 0.025146484375, -0.00408935546875, -0.015380859375, 0.00384521484375, -0.0478515625, 0.00091552734375, -0.01214599609375, 0.0001697540283203125, 0.038818359375, 0.002685546875, -0.01336669921875, ...
[ 151313, 10, 8512, 71, 177953, 53073, 33, 4084, 160328, 18244, 15296, 38308, 53400, 14886, 81903, 123996, 2646, 39179, 1062, 2189, 175904, 603, 7612, 2182, 1720, 29089, 22206, 6448, 108354, 617, 1019, 27781, 5117, 11627, 4939, 4568, 37700, 389...
[ 0.1900634765625, 0.052215576171875, 0.27783203125, 0.1837158203125, 0.2646484375, 0.05560302734375, 0.08251953125, 0.1337890625, 0.102783203125, 0.032073974609375, 0.09423828125, 0.209716796875, 0.2205810546875, 0.18603515625, 0.1060791015625, 0.023773193359375, 0.038726806640625, ...
embed
56475297_c0
56475297
elixir
0
Title: Using has_many - belongs_to association when using UUID (String) Problem title: Using has_many - belongs_to association when using UUID (String) Tags: uuid, has-many, phoenix-framework, belongs-to, elixir Problem: Using has_many - belongs_to association when using UUID (String) I'm trying to associate two models...
Using has_many - belongs_to association when using UUID (String) Using has_many - belongs_to association when using UUID (String) uuid has-many phoenix-framework belongs-to elixir UUID Using has_many belongs_to primary_key Phoenix.Param country_name UserManagement.User foreign_key country_id UserManagement.Country Usin...
[ -0.0235595703125, 0.01409912109375, -0.005401611328125, 0.01458740234375, -0.00457763671875, -0.01416015625, 0.00115966796875, -0.0181884765625, 0.005950927734375, -0.042236328125, 0.00616455078125, -0.01806640625, -0.00897216796875, 0.008544921875, -0.0234375, -0.040283203125, 0.009...
[ 345, 6953, 1556, 669, 53, 186, 10617, 188, 125413, 17368, 91916, 7146, 71713, 214, 2051, 532, 53073, 33, 4084, 160328, 18244, 15296, 38308, 158978, 19770, 133720, 55292, 23295, 11627, 53400, 228555, 1062, 2189, 110613, 108210, 31577, 30699, 6...
[ 0.1197509765625, 0.1114501953125, 0.21533203125, 0.231689453125, 0.20751953125, 0.0755615234375, 0.249267578125, 0.1868896484375, 0.2607421875, 0.0897216796875, 0.166015625, 0.213134765625, 0.1612548828125, 0.0955810546875, 0.08685302734375, 0.1646728515625, 0.0428466796875, 0.0563...
embed
42895206_c2
42895206
elixir
2
_call/2 (api) lib/api/endpoint.ex:1: Api.Endpoint.phoenix_pipeline/1 (api) lib/api/endpoint.ex:1: Api.Endpoint.call/2 When I used the command in iex -S mix Code signals: ArgumentError, Got, Fernet.Ecto.String.dump, encrypt_password, Ecto.Changeset, put_change, password_hash, phoenix.gen.json, User, valid_attrs, domain....
_call/2 (api) lib/api/endpoint.ex:1: Api.Endpoint.phoenix_pipeline/1 (api) lib/api/endpoint.ex:1: Api.Endpoint.call/2 When I used the command in iex -S mix Code signals: ArgumentError, Got, Fernet.Ecto.String.dump, encrypt_password, Ecto.Changeset, put_change, password_hash, phoenix.gen.json, User, valid_attrs, domain....
[ -0.0032501220703125, -0.00885009765625, -0.005157470703125, -0.0048828125, -0.01031494140625, -0.005889892578125, -0.01446533203125, -0.0142822265625, -0.0130615234375, -0.017822265625, -0.0015106201171875, 0.028076171875, 0.0191650390625, 0.04638671875, -0.0019378662109375, -0.0166015...
[ 101, 85763, 12477, 40897, 25474, 3611, 38496, 3355, 19721, 5787, 14, 152378, 22014, 33, 4084, 1434, 26338, 86, 11583, 87, 11814, 70, 75101, 23, 17, 20, 294, 17664, 28864, 26073, 112140, 18468, 31611, 53983, 8002, 1179, 44150, 71713, 693, ...
[ 0.060699462890625, 0.231689453125, 0.28662109375, 0.193603515625, 0.1297607421875, 0.136474609375, 0.1815185546875, 0.243408203125, 0.0655517578125, 0.1025390625, 0.08203125, 0.1143798828125, 0.037689208984375, 0.09759521484375, 0.1077880859375, 0.04571533203125, 0.1552734375, 0.05...
embed
73045604_c0
73045604
elixir
0
Title: What&#x27;s the difference between `raise` and `throw`? Problem title: What&#x27;s the difference between `raise` and `throw`? Tags: elixir Problem: What's the difference between `raise` and `throw`? In erlang, there is only throw , no raise . What's the difference between raise and throw in elixir? error produc...
What&#x27;s the difference between `raise` and `throw`? What&#x27;s the difference between `raise` and `throw`? elixir UndefinedFunctionError What open_imu Circuits.UART.start_link imu_port tty.usbserial-1410 Application.fetch_env Mechanics imu_speed Circuits.UART.open Logger.error GenServer Mechanics.MechanicsImu enoe...
[ 0.0086669921875, 0.017333984375, -0.0028076171875, -0.0169677734375, 0.007293701171875, -0.012939453125, -0.0098876953125, -0.01104736328125, 0.0140380859375, -0.021484375, 0.01513671875, -0.031982421875, 0.021240234375, -0.00970458984375, 0.0150146484375, -0.04248046875, 0.007141113...
[ 3768, 70, 60212, 17721, 12794, 13, 136, 927, 15555, 15296, 38308, 79912, 5983, 97249, 18468, 31611, 9803, 15608, 167190, 47136, 17137, 10187, 561, 6982, 15145, 51626, 16249, 963, 104921, 29362, 334, 230166, 175870, 59636, 64906, 188800, 15937, ...
[ 0.0716552734375, 0.01519775390625, 0.2083740234375, 0.09954833984375, 0.21533203125, 0.169189453125, 0.0821533203125, 0.101318359375, 0.233154296875, 0.0931396484375, 0.26171875, 0.043243408203125, 0.1326904296875, 0.0889892578125, 0.053314208984375, 0.0229949951171875, 0.07983398437...
embed
65804562_c0
65804562
elixir
0
Title: What does &quot;could not find migration runner process for #PID&lt;0.94.0&gt;&quot; mean in response to mix ecto.migrate? Problem title: What does &quot;could not find migration runner process for #PID&lt;0.94.0&gt;&quot; mean in response to mix ecto.migrate? Tags: ecto, phoenix-framework, elixir Problem: What ...
What does &quot;could not find migration runner process for #PID&lt;0.94.0&gt;&quot; mean in response to mix ecto.migrate? What does &quot;could not find migration runner process for #PID&lt;0.94.0&gt;&quot; mean in response to mix ecto.migrate? ecto phoenix-framework elixir RuntimeError What PID ecto.migrate ecto.gen....
[ 0.01190185546875, 0.0034637451171875, 0.0017547607421875, -0.00811767578125, -0.0019989013671875, 0.00074005126953125, -0.0220947265625, -0.029541015625, -0.0069580078125, -0.0262451171875, 0.00323486328125, 0.005767822265625, 0.0186767578125, 0.004241943359375, 0.02099609375, 0.008911...
[ 4865, 52366, 959, 7413, 212416, 142117, 9433, 683, 7146, 143161, 151152, 29459, 57553, 17664, 60751, 58849, 17957, 53073, 33, 4084, 160328, 15296, 38308, 28398, 6032, 18468, 436, 1409, 15190, 1003, 22469, 99247, 3355, 3559, 44150, 872, 163321, ...
[ 0.001068115234375, 0.1043701171875, 0.1319580078125, 0.194091796875, 0.2352294921875, 0.25390625, 0.161376953125, 0.070556640625, 0.1898193359375, 0.1824951171875, 0.236083984375, 0.09442138671875, 0.124267578125, 0.190673828125, 0.26953125, 0.162841796875, 0.11083984375, 0.0509948...
embed
53890723_c0
53890723
elixir
0
Title: How to update the sort order of my models when the position changes Problem title: How to update the sort order of my models when the position changes Tags: elixir Problem: How to update the sort order of my models when the position changes So I have a list of products, say 50 of them. def reorder_products(produ...
How to update the sort order of my models when the position changes How to update the sort order of my models when the position changes elixir How reorder_products product_id product_index sort_order products.length Enum.map p.sort_order How to update the sort order of my models when the position changes So I have a li...
[ -0.0233154296875, 0.01239013671875, -0.000873565673828125, -0.002532958984375, -0.006256103515625, 0.0002040863037109375, -0.033447265625, 0.002655029296875, 0.015869140625, -0.01263427734375, 0.00885009765625, 0.01556396484375, 0.0025177001953125, -0.005096435546875, 0.0084228515625, ...
[ 11249, 47, 28350, 70, 12096, 12989, 111, 759, 115774, 3229, 19069, 65572, 15296, 38308, 456, 80596, 57877, 12996, 532, 4711, 38742, 23986, 316, 62346, 62351, 5303, 836, 60751, 73111, 3299, 61903, 57266, 23, 111481, 38937, 24911, 15549, 115923...
[ 0.06036376953125, 0.0293426513671875, 0.1993408203125, 0.0271453857421875, 0.21533203125, 0.2108154296875, 0.033294677734375, 0.04931640625, 0.218994140625, 0.0880126953125, 0.1925048828125, 0.1810302734375, 0.06280517578125, 0.191162109375, 0.1175537109375, 0.2489013671875, 0.197509...
embed
19917502_c0
19917502
elixir
0
Title: Elixir build custom function with pattern matching and guards using macros? Problem title: Elixir build custom function with pattern matching and guards using macros? Tags: macros, dsl, erlang, elixir, function Problem: Elixir build custom function with pattern matching and guards using macros? I need to take a ...
Elixir build custom function with pattern matching and guards using macros? Elixir build custom function with pattern matching and guards using macros? macros dsl erlang elixir function macros Elixir SomeModule SomeMacros DSL is_north_america calculate_shipping_cost_with november_or_december is_south_america is_somewhe...
[ 0.00927734375, 0.0189208984375, -0.0004119873046875, -0.0157470703125, -0.00131988525390625, 0.0218505859375, -0.0166015625, 0.00860595703125, -0.0037994384765625, -0.0098876953125, -0.00494384765625, -0.027099609375, -0.01104736328125, -0.00946044921875, 0.01116943359375, -0.001266479...
[ 25318, 38308, 45367, 114122, 32354, 678, 103510, 14858, 214, 136, 56050, 7, 17368, 111789, 24861, 3066, 15296, 31384, 91616, 55450, 3666, 114479, 83, 157, 65158, 152644, 74481, 3767, 26783, 587, 271, 76228, 10574, 50718, 27417, 49760, 136913, ...
[ 0.1322021484375, 0.26318359375, 0.1781005859375, 0.1964111328125, 0.2115478515625, 0.02386474609375, 0.216796875, 0.212158203125, 0.090576171875, 0.0283050537109375, 0.22509765625, 0.11572265625, 0.06707763671875, 0.2147216796875, 0.1171875, 0.146728515625, 0.0889892578125, 0.08911...
embed
38383881_c0
38383881
elixir
0
Title: Elixir and functional input validation Problem title: Elixir and functional input validation Tags: elixir Problem: Elixir and functional input validation I'm trying to learn elixir(but mostly functional programming) I am implementing a very simple GenServer which basically wraps a list of entries. The maximum co...
Elixir and functional input validation Elixir and functional input validation elixir Application Elixir List handle_call param1 param2 param3 param1_max_size get_env param2_max_size max_items_count your_list_is_full check_this_args_please wrong_params_list Elixir and functional input validation I'm trying to learn elix...
[ -0.018310546875, -0.007598876953125, 0.0034027099609375, -0.0032958984375, 0.001800537109375, 0.01165771484375, -0.0135498046875, -0.021484375, 0.01458740234375, -0.0169677734375, 0.0252685546875, -0.026611328125, 0.019775390625, 0.024658203125, 0.004241943359375, 0.0133056640625, 0....
[ 25318, 38308, 136, 123309, 107730, 44622, 15296, 104921, 32036, 34831, 85763, 121, 39, 24084, 62539, 2046, 334, 18389, 1486, 71013, 6562, 25724, 12765, 61477, 44691, 2500, 8256, 1363, 31577, 30698, 56037, 29479, 8781, 15937, 193348, 137565, 530...
[ 0.13525390625, 0.25732421875, 0.09375, 0.21826171875, 0.2108154296875, 0.2293701171875, 0.1024169921875, 0.1331787109375, 0.12890625, 0.13818359375, 0.11328125, 0.09173583984375, 0.06854248046875, 0.06744384765625, 0.08856201171875, 0.0008544921875, 0.07269287109375, 0.12109375, ...
embed
40890885_c1
40890885
elixir
1
bl.DatabaseSeeder.insert_user end) Error after: mix run priv\repo\seeds.exs ** (UndefinedFunctionError) function Enum.take_random/1 is undefined or private. Did you mean one of: * take_random/2 (elixir) Enum.take_random(["Daniel", "Admin", "Goran", "Tomislav", "Marin"]) priv/repo/seeds.exs:27: Rumbl.DatabaseSeeder.inse...
bl.DatabaseSeeder.insert_user end) Error after: mix run priv\repo\seeds.exs ** (UndefinedFunctionError) function Enum.take_random/1 is undefined or private. Did you mean one of: * take_random/2 (elixir) Enum.take_random(["Daniel", "Admin", "Goran", "Tomislav", "Marin"]) priv/repo/seeds.exs:27: Rumbl.DatabaseSeeder.inse...
[ -0.01080322265625, -0.0235595703125, 0.013916015625, 0.004638671875, 0.0078125, 0.0299072265625, -0.01507568359375, -0.028564453125, -0.0203857421875, -0.04833984375, 0.0111083984375, 0.0106201171875, 0.03466796875, 0.010498046875, 0.01611328125, 0.00052642822265625, -0.0147705078125...
[ 10006, 137989, 37382, 81779, 820, 73, 33657, 65918, 3564, 212059, 7103, 17664, 11675, 46827, 107, 771, 184, 297, 7, 3355, 16459, 1067, 5983, 97249, 10763, 18468, 31611, 32354, 357, 316, 78219, 46258, 39, 11583, 83, 9232, 707, 14375, 29459, ...
[ 0.10009765625, 0.02642822265625, 0.1082763671875, 0.1907958984375, 0.1591796875, 0.016510009765625, 0.12744140625, 0.14453125, 0.1259765625, 0.2191162109375, 0.1087646484375, 0.25439453125, 0.153564453125, 0.2218017578125, 0.070068359375, 0.1988525390625, 0.08343505859375, 0.193603...
embed
62346666_c0
62346666
elixir
0
Title: Adding default to binary type in Ecto for Postgres [Elixir] Problem title: Adding default to binary type in Ecto for Postgres [Elixir] Tags: uuid, migration, elixir, ecto, postgresql Problem: Adding default to binary type in Ecto for Postgres [Elixir] I'm having a frustrating issue trying to set a default during...
Adding default to binary type in Ecto for Postgres [Elixir] Adding default to binary type in Ecto for Postgres [Elixir] uuid migration elixir ecto postgresql Adding Ecto Postgres Elixir Base.encode16 Logger.debug admin.id UUID.string_to_binary owner_id on_delete binary_id UTF-8 xd1f195852c5146a4b578d600fdbfc6d6 Postgre...
[ -0.000453948974609375, 0.006866455078125, 0.01226806640625, 0.01080322265625, 0.01165771484375, -0.015869140625, -0.0196533203125, -0.023681640625, -0.012451171875, -0.00433349609375, 0.00885009765625, 0.006500244140625, 0.01153564453125, 0.029052734375, -0.01239013671875, -0.001289367...
[ 62, 59725, 114977, 47, 2394, 6635, 10644, 241, 44150, 100, 2795, 17562, 150, 38308, 23, 2051, 532, 212416, 15296, 60751, 1305, 99247, 25318, 44978, 40899, 2485, 64906, 56, 112, 85779, 18022, 91916, 7146, 91693, 188, 19155, 1294, 101785, 852...
[ 0.10205078125, 0.1141357421875, 0.2998046875, 0.1109619140625, 0.2012939453125, 0.1602783203125, 0.225830078125, 0.0914306640625, 0.266357421875, 0.03448486328125, 0.08660888671875, 0.2210693359375, 0.06005859375, 0.1900634765625, 0.011932373046875, 0.05816650390625, 0.1075439453125,...
embed
34868476_c0
34868476
elixir
0
Title: Elixir distributed security and whitelisting allowed nodes Problem title: Elixir distributed security and whitelisting allowed nodes Tags: security, iptables, elixir Problem: Elixir distributed security and whitelisting allowed nodes TL;DR How to whitelist nodes that can Node.connect to Elixir? Any other securit...
Elixir distributed security and whitelisting allowed nodes Elixir distributed security and whitelisting allowed nodes security iptables elixir Elixir Node.connect INPUT ACCEPT inet_dist_listen_min inedist_listen_max Node.list net_kernel.allow Connection Elixir distributed security and whitelisting allowed nodes TL;DR H...
[ 0.01556396484375, 0.00994873046875, -0.0123291015625, 0.004241943359375, 0.002288818359375, -0.0189208984375, -0.0081787109375, 0.0181884765625, 0.0157470703125, -0.0034027099609375, -0.00201416015625, -0.00885009765625, 0.00238037109375, 0.01055908203125, 0.0036163330078125, -0.018188...
[ 25318, 38308, 15917, 48031, 35011, 6562, 107003, 110, 988, 6328, 19736, 15296, 438, 112, 135457, 136566, 126, 46295, 63844, 1249, 1419, 24084, 2043, 72083, 141, 41566, 62448, 831, 47, 209236, 49947, 36880, 6626, 12921, 10723, 8021, 29823, 125...
[ 0.158447265625, 0.297119140625, 0.19921875, 0.1439208984375, 0.1834716796875, 0.215087890625, 0.1644287109375, 0.130126953125, 0.1146240234375, 0.060150146484375, 0.133544921875, 0.1009521484375, 0.1357421875, 0.1824951171875, 0.18017578125, 0.06195068359375, 0.0164794921875, 0.048...
embed
70943910_c0
70943910
elixir
0
Title: Elixir Behaviour that returns the implementer&#x27;s struct type Problem title: Elixir Behaviour that returns the implementer&#x27;s struct type Tags: typespec, dialyzer, elixir Problem: Elixir Behaviour that returns the implementer's struct type I have a behaviour to abstract over parsing URL query parameters f...
Elixir Behaviour that returns the implementer&#x27;s struct type Elixir Behaviour that returns the implementer&#x27;s struct type typespec dialyzer elixir Elixir Behaviour Query from_query_params String.t SearchQuery Parses URL enforce_keys search_term __MODULE__ missing_search_term Elixir Behaviour that returns the im...
[ 0.014404296875, 0.033447265625, 0.0019073486328125, -0.000537872314453125, -0.005462646484375, 0.02099609375, 0.02392578125, -0.016845703125, 0.005767822265625, -0.0220947265625, 0.0018157958984375, -0.019775390625, 0.00799560546875, -0.0035247802734375, -0.00775146484375, 0.0277099609...
[ 25318, 38308, 873, 98409, 34639, 450, 30646, 29479, 56, 3768, 36716, 10644, 16711, 879, 538, 4383, 15296, 58836, 1295, 944, 2500, 8256, 23351, 18, 33086, 41732, 2392, 31862, 50930, 19770, 33938, 32166, 12013, 132283, 86250, 7, 224833, 164789,...
[ 0.1121826171875, 0.238525390625, 0.06951904296875, 0.185791015625, 0.10272216796875, 0.007537841796875, 0.172607421875, 0.167724609375, 0.1065673828125, 0.051116943359375, 0.20458984375, 0.203857421875, 0.2042236328125, 0.0250091552734375, 0.0736083984375, 0.10009765625, 0.0506591796...
embed
49471198_c0
49471198
elixir
0
Title: How to fix &quot;could not compile dependency :bcrypt_elixir&quot; error on Windows? Problem title: How to fix &quot;could not compile dependency :bcrypt_elixir&quot; error on Windows? Tags: cygwin, elixir-mix, phoenix-framework, elixir Problem: How to fix "could not compile dependency :bcrypt_elixir" error on W...
How to fix &quot;could not compile dependency :bcrypt_elixir&quot; error on Windows? How to fix &quot;could not compile dependency :bcrypt_elixir&quot; error on Windows? cygwin elixir-mix phoenix-framework elixir How bcrypt_elixir Windows phx.server You deps.compile deps.update deps.clean Mix MAKE mix.exs phoenix_pubsu...
[ 0.0093994140625, 0.0167236328125, 0.002349853515625, -0.0081787109375, 0.00150299072265625, 0.0181884765625, -0.00543212890625, -0.006256103515625, -0.0052490234375, -0.014404296875, -0.0247802734375, 0.0103759765625, 0.0281982421875, 0.025634765625, 0.007110595703125, 0.00860595703125...
[ 11249, 30022, 587, 52366, 959, 9969, 1340, 42548, 27771, 275, 136791, 6169, 38308, 18499, 98, 3773, 19932, 9494, 15296, 62015, 53073, 33, 4084, 160328, 876, 11521, 425, 39642, 8, 6423, 58875, 117008, 11030, 37286, 43711, 17664, 3355, 7, 111...
[ 0.01617431640625, 0.13818359375, 0.05804443359375, 0.1497802734375, 0.1380615234375, 0.173095703125, 0.1641845703125, 0.2095947265625, 0.087646484375, 0.0914306640625, 0.248291015625, 0.127197265625, 0.258544921875, 0.1783447265625, 0.0169677734375, 0.1751708984375, 0.026535034179687...
embed
48745312_c0
48745312
elixir
0
Title: Modify and return list of maps with get_and_update Elixir Problem title: Modify and return list of maps with get_and_update Elixir Tags: elixir Problem: Modify and return list of maps with get_and_update Elixir So my goal is to take a list of maps, such as: [%{"ts" => 1365111111, "url" => "http://example1.com"},...
Modify and return list of maps with get_and_update Elixir Modify and return list of maps with get_and_update Elixir elixir Modify get_and_update Elixir example1.com example2.com DateTime merge_maps new_maps Enum.map Map.get_and_update curr_value DateTime.from_unix mandrill.com Modify and return list of maps with get_an...
[ -0.023681640625, 0.017822265625, 0.00836181640625, -0.033447265625, -0.00927734375, -0.01953125, -0.0216064453125, -0.00244140625, 0.01019287109375, -0.0020599365234375, 0.007354736328125, 0.005615234375, 0.0230712890625, -0.004364013671875, 0.017333984375, -0.0067138671875, -0.01214...
[ 16269, 40383, 136, 30646, 5303, 22288, 7, 678, 2046, 2940, 117008, 25318, 38308, 15296, 27781, 25512, 70059, 42564, 62346, 3525, 357, 316, 42719, 3794, 64240, 27494, 161063, 309, 4084, 14134, 5713, 69236, 5646, 96760, 51, 1733, 590, 2676, 3...
[ 0.1651611328125, 0.152587890625, 0.035675048828125, 0.1939697265625, 0.1756591796875, 0.2125244140625, 0.07666015625, 0.019500732421875, 0.1387939453125, 0.1533203125, 0.22265625, 0.1220703125, 0.2529296875, 0.0968017578125, 0.12646484375, 0.08746337890625, 0.197265625, 0.148681640...
embed
38831903_c0
38831903
elixir
0
Title: params does not contain POST Body in Elixir / Phoenix Problem title: params does not contain POST Body in Elixir / Phoenix Tags: elixir, phoenix-framework Problem: params does not contain POST Body in Elixir / Phoenix I try to build a very simple REST API. It does not include a database or models. Here's my rout...
params does not contain POST Body in Elixir / Phoenix params does not contain POST Body in Elixir / Phoenix elixir phoenix-framework Logger Joken POST Body Elixir Phoenix Zentonies.Router Zentonies.Web fetch_session fetch_flash protect_from_forgery put_secure_browser_headers Zentonies pipe_through PageController Zenton...
[ -0.006927490234375, 0.024658203125, 0.009765625, -0.0011749267578125, -0.00182342529296875, 0.010009765625, -0.0022125244140625, -0.0172119140625, -0.005767822265625, -0.031494140625, 0.019775390625, -0.00457763671875, -0.013916015625, 0.006195068359375, 0.005950927734375, -0.014709472...
[ 121, 4432, 959, 70541, 81903, 43960, 23, 25318, 38308, 133720, 15296, 53073, 33, 4084, 160328, 64906, 56, 2177, 1098, 25908, 27706, 90, 25208, 7647, 169234, 5544, 59959, 1505, 184, 57436, 215725, 31251, 137158, 14231, 175904, 147101, 2500, 11...
[ 0.1748046875, 0.189453125, 0.08392333984375, 0.15185546875, 0.1910400390625, 0.23828125, 0.0555419921875, 0.0977783203125, 0.2266845703125, 0.2373046875, 0.061859130859375, 0.011505126953125, 0.0374755859375, 0.0955810546875, 0.0791015625, 0.145263671875, 0.0537109375, 0.1206054687...
embed
32813739_c0
32813739
elixir
0
Title: Composing an Ecto [v1] query with a dynamic amount of where filters Problem title: Composing an Ecto [v1] query with a dynamic amount of where filters Tags: elixir, ecto Problem: Composing an Ecto [v1] query with a dynamic amount of where filters This is a theoretical question but assume the data structure canno...
Composing an Ecto [v1] query with a dynamic amount of where filters Composing an Ecto [v1] query with a dynamic amount of where filters elixir ecto c Composing Ecto manufacturer_id search_prefix Enum.at Car c.manufacturer_id Composing an Ecto [v1] query with a dynamic amount of where filters This is a theoretical quest...
[ 0.01214599609375, 0.01312255859375, 0.00096893310546875, -0.0015411376953125, 0.0004673004150390625, 0.00372314453125, 0.0072021484375, 0.01470947265625, 0.0103759765625, -0.039794921875, -0.0120849609375, -0.015869140625, 0.0128173828125, -0.00116729736328125, -0.0120849609375, 0.0235...
[ 15612, 232, 241, 44150, 334, 76172, 41, 1294, 678, 84079, 41170, 7440, 46312, 142, 15296, 38308, 60751, 501, 142901, 42, 532, 33938, 4692, 55923, 357, 316, 257, 3980, 91468, 4524, 2053, 45646, 53418, 15549, 3642, 3444, 7, 2806, 150350, 20...
[ 0.1396484375, 0.139892578125, 0.096923828125, 0.265625, 0.0885009765625, 0.080322265625, 0.157958984375, 0.1268310546875, 0.021392822265625, 0.187744140625, 0.12451171875, 0.2076416015625, 0.2484130859375, 0.03521728515625, 0.02734375, 0.1907958984375, 0.20556640625, 0.078247070312...
embed
72681112_c0
72681112
elixir
0
Title: Ecto Query: Count/1 of left_joined value multiplied by outer_join value count Problem title: Ecto Query: Count/1 of left_joined value multiplied by outer_join value count Tags: phoenix-framework, ecto, postgresql, sql, elixir Problem: Ecto Query: Count/1 of left_joined value multiplied by outer_join value count ...
Ecto Query: Count/1 of left_joined value multiplied by outer_join value count Ecto Query: Count/1 of left_joined value multiplied by outer_join value count phoenix-framework ecto postgresql sql elixir item Ecto Query Count left_joined outer_join ecto_sql item.finished left_join bookmark.item_id item.id bookmark.deleted...
[ -0.004913330078125, -0.001068115234375, -0.01336669921875, 0.0181884765625, 0.017333984375, -0.00543212890625, -0.02294921875, -0.002471923828125, 0.0001659393310546875, -0.0439453125, 0.00098419189453125, -0.0230712890625, 0.00848388671875, 0.028564453125, -0.0152587890625, -0.0068969...
[ 241, 44150, 58836, 53, 108210, 11583, 111, 25737, 513, 73, 34292, 118126, 1810, 56, 54529, 53073, 33, 4084, 160328, 60751, 1305, 17562, 99247, 15296, 38308, 35735, 48310, 137081, 8520, 36849, 1991, 71013, 75414, 20537, 185685, 55769, 23180, 6...
[ 0.1092529296875, 0.27734375, 0.1690673828125, 0.103759765625, 0.201904296875, 0.1572265625, 0.0426025390625, 0.19482421875, 0.16064453125, 0.0540771484375, 0.1876220703125, 0.197998046875, 0.18310546875, 0.1209716796875, 0.1756591796875, 0.0079345703125, 0.032684326171875, 0.088623...
embed
52542201_c1
52542201
elixir
1
verify the hmac using Vault vault write transit/verify/key1/sha2-256 input=$(base64 <<< "hello-world") hmac="vault:v1:sEDTm/luPTmJ3AveP+wu8B+iXzJ89Rx43QxiWfT9ysM=" Key Value --- ----- valid false This returns false when I expect it to return true . Using Vault to generate HMAC vault write transit/hmac/key1/sha2-256 in...
Transit key in Vault Exporting the HMAC KEY to send to client Generating HMAC in Elixir I use the HMAC KEY from vault to generate hmac of my data Trying to verify the hmac using Vault This returns false when I expect it to return true . Using Vault to generate HMAC Clearly the Vault generated hmac yuKdushC10olNUHfkIj3...
[ -0.00408935546875, 0.000812530517578125, -0.01153564453125, -0.00118255615234375, 0.0281982421875, -0.01544189453125, -0.00775146484375, 0.000896453857421875, -0.01055908203125, 0.025390625, -0.01409912109375, 0.0263671875, 0.037841796875, -0.01397705078125, -0.0101318359375, -0.031494...
[ 162774, 22799, 3453, 7136, 134456, 46592, 15012, 186104, 25379, 23282, 155370, 25318, 38308, 4527, 1295, 307, 139392, 1096, 35572, 2053, 493, 40383, 17368, 30646, 98320, 41206, 29568, 345, 12921, 5701, 145581, 34475, 83, 959, 20594, 44691, 1266...
[ 0.23681640625, 0.19580078125, 0.1683349609375, 0.227294921875, 0.1390380859375, 0.1666259765625, 0.234375, 0.2000732421875, 0.05987548828125, 0.145751953125, 0.1494140625, 0.111328125, 0.2259521484375, 0.08392333984375, 0.056915283203125, 0.1531982421875, 0.189208984375, 0.09411621...
embed
48831241_c0
48831241
elixir
0
Title: Testing Phoenix controllers that are in nested folders Problem title: Testing Phoenix controllers that are in nested folders Tags: phoenix-framework, elixir, testing Problem: Testing Phoenix controllers that are in nested folders I have an elixir umbrella application which contains a phoenix app and an elixir ap...
Testing Phoenix controllers that are in nested folders Testing Phoenix controllers that are in nested folders phoenix-framework elixir testing Testing Phoenix AppName.File.Path.NameOfController index.html AppName.File.Path.NameOfControllerTest GET the_url some_path html_response Some Testing Phoenix controllers that ar...
[ -0.0213623046875, -0.0035247802734375, 0.003997802734375, -0.0093994140625, 0.006072998046875, 0.01300048828125, 0.000514984130859375, -0.02587890625, -0.00909423828125, -0.0201416015625, -0.01397705078125, -0.0096435546875, -0.01324462890625, 0.04150390625, 0.00506591796875, 0.0151367...
[ 8647, 214, 133720, 185373, 7, 23, 8512, 71, 78303, 53073, 33, 4084, 160328, 15296, 38308, 134234, 5659, 163612, 174350, 10519, 132887, 175904, 603, 63262, 7693, 111337, 79794, 25002, 3060, 128405, 134719, 286, 4134, 1165, 38415, 4027, 20697, ...
[ 0.206298828125, 0.062469482421875, 0.27880859375, 0.28125, 0.00128173828125, 0.0599365234375, 0.2174072265625, 0.11474609375, 0.1759033203125, 0.075927734375, 0.1021728515625, 0.14697265625, 0.061004638671875, 0.07080078125, 0.186767578125, 0.233154296875, 0.096435546875, 0.0024414...
embed
43947116_c0
43947116
elixir
0
Title: Using Elixir - Ecto for complex queries Problem title: Using Elixir - Ecto for complex queries Tags: phoenix-framework, ecto, elixir, mysql Problem: Using Elixir - Ecto for complex queries So I am in the process of converting a node app into Elixir and have some queries that I would like to use Ecto for but I ha...
Using Elixir - Ecto for complex queries Using Elixir - Ecto for complex queries phoenix-framework ecto elixir mysql Using Elixir Ecto INSERT INTO user_servers user_id server_id server_type_code active_flag create_date created_by SELECT SERVER COALESCE MAX CURRENT_TIMESTAMP WHERE Using Elixir - Ecto for complex queries ...
[ -0.01513671875, 0.004058837890625, 0.00634765625, 0.0250244140625, 0.00531005859375, 0.0030670166015625, -0.0233154296875, -0.013671875, 0.005645751953125, -0.037841796875, 0.01025390625, 0.00116729736328125, 0.018798828125, 0.00714111328125, -0.015625, 0.0031585693359375, -0.0135498...
[ 345, 6953, 25318, 38308, 20, 241, 44150, 100, 27140, 41, 10484, 53073, 33, 4084, 160328, 18244, 60751, 15296, 759, 99247, 64083, 56263, 213354, 38937, 39642, 532, 10723, 50986, 40899, 36457, 190872, 28282, 17489, 75935, 6755, 144832, 50935, 8...
[ 0.1246337890625, 0.0693359375, 0.146240234375, 0.29833984375, 0.03253173828125, 0.126708984375, 0.30224609375, 0.090576171875, 0.2193603515625, 0.1673583984375, 0.119873046875, 0.011138916015625, 0.03643798828125, 0.0970458984375, 0.093994140625, 0.0171661376953125, 0.2373046875, 0...
embed
60873744_c0
60873744
elixir
0
Title: Elixir: How to count urls in a string Problem title: Elixir: How to count urls in a string Tags: count, string, regex, elixir Problem: Elixir: How to count urls in a string Suppose I have a string: content = "Please visit https://www.google.com...\nOr visit http://my.website.io\nhttp://myfriends.website.com\nOr ...
Elixir: How to count urls in a string Elixir: How to count urls in a string count string regex elixir Elixir How Please www.google.com my.website.io myfriends.website.com www.myneigborsite.com visit.me.com Regex.scan Enum.count String.split Kernel Regex.match Elixir: How to count urls in a string Suppose I have a strin...
[ -0.032958984375, -0.0020904541015625, -0.013916015625, 0.0205078125, 0.0026092529296875, -0.005462646484375, -0.01611328125, -0.00439453125, -0.00518798828125, -0.03857421875, -0.0196533203125, -0.03759765625, 0.0145263671875, 0.0164794921875, 0.022216796875, -0.01123046875, 0.000039...
[ 25318, 38308, 11249, 47, 54529, 25002, 7, 23, 79315, 6835, 3355, 15296, 30607, 59875, 759, 181628, 846, 84240, 1176, 3422, 11090, 19922, 282, 11678, 4398, 357, 316, 71013, 23351, 214, 4353, 119125, 583, 98753, 10, 8622, 621, 190, 54, 17, ...
[ 0.11572265625, 0.2509765625, 0.06903076171875, 0.03070068359375, 0.2442626953125, 0.248291015625, 0.1007080078125, 0.0838623046875, 0.255615234375, 0.1395263671875, 0.1861572265625, 0.092041015625, 0.1474609375, 0.1326904296875, 0.0234375, 0.1065673828125, 0.14306640625, 0.1171875,...
embed
33792509_c0
33792509
elixir
0
Title: How to set values in the session session prior to making a request in tests Problem title: How to set values in the session session prior to making a request in tests Tags: elixir, phoenix-framework, session, testing Problem: How to set values in the session session prior to making a request in tests I have acti...
How to set values in the session session prior to making a request in tests How to set values in the session session prior to making a request in tests elixir phoenix-framework session testing ArgumentError How GET item_path html_response put_session current_user fetch_session How to set values in the session session p...
[ -0.004791259765625, 0.018798828125, 0.01019287109375, -0.01416015625, 0.01434326171875, -0.00909423828125, -0.0140380859375, -0.0167236328125, 0.000492095947265625, -0.01165771484375, 0.0162353515625, 0.0279541015625, -0.013427734375, 0.0123291015625, -0.003997802734375, 0.00634765625,...
[ 11249, 47, 5423, 142424, 23, 56002, 41928, 20662, 50336, 109921, 15296, 38308, 53073, 33, 4084, 160328, 134234, 112140, 18468, 79794, 35735, 128405, 7693, 134719, 3884, 169234, 43581, 65918, 7647, 206, 61972, 133720, 194351, 38415, 12921, 224833,...
[ 0.0657958984375, 0.05389404296875, 0.19140625, 0.20751953125, 0.05706787109375, 0.210693359375, 0.177001953125, 0.0989990234375, 0.217529296875, 0.242919921875, 0.038360595703125, 0.1226806640625, 0.058807373046875, 0.05120849609375, 0.0877685546875, 0.0445556640625, 0.1767578125, ...
embed
43449093_c0
43449093
elixir
0
Title: Phoenix.Template.UndefinedError when rendering templates - Phoenix 1.3 Problem title: Phoenix.Template.UndefinedError when rendering templates - Phoenix 1.3 Tags: elixir, phoenix-framework Problem: Phoenix.Template.UndefinedError when rendering templates - Phoenix 1.3 Following Sending Email with Phoenix documen...
Phoenix.Template.UndefinedError when rendering templates - Phoenix 1.3 Phoenix.Template.UndefinedError when rendering templates - Phoenix 1.3 elixir phoenix-framework Phoenix.Template.UndefinedError Phoenix welcome.html Myapp email.ex MyApp.Email Bamboo.Phoenix MyApp.EmailView welcome_text_email email_address new_email...
[ -0.002960205078125, 0.0277099609375, 0.00933837890625, -0.0010833740234375, -0.011474609375, 0.00372314453125, -0.017333984375, -0.0184326171875, -0.0010528564453125, -0.0205078125, -0.027587890625, -0.01385498046875, 0.04248046875, -0.0016937255859375, 0.021728515625, 0.00772094726562...
[ 133720, 159065, 19309, 1067, 5983, 297, 18468, 31611, 3229, 89159, 110934, 7, 41491, 15296, 38308, 53073, 33, 4084, 160328, 81907, 7693, 2646, 9007, 3340, 3355, 39179, 161994, 115990, 54487, 497, 100474, 22829, 25501, 107421, 27781, 91334, 3884...
[ 0.257568359375, 0.1854248046875, 0.150390625, 0.0904541015625, 0.1942138671875, 0.0428466796875, 0.1353759765625, 0.1307373046875, 0.031951904296875, 0.1553955078125, 0.2705078125, 0.068359375, 0.190185546875, 0.005828857421875, 0.145751953125, 0.0148162841796875, 0.053680419921875, ...
embed
33176560_c1
33176560
elixir
1
_params(track_params.album_art) track_params = track_params |> Map.delete(:album_art) |> Map.put(:sort_order, sort_order) try do Repo.get_by!(Track, sid: track_params.sid) |> Track.changeset(track_params) |> Ecto.Changeset.put_change(:album_art, album_art_params) |> Repo.update! rescue Ecto.NoResultsError -> Track.chan...
_params(track_params.album_art) track_params = track_params |> Map.delete(:album_art) |> Map.put(:sort_order, sort_order) try do Repo.get_by!(Track, sid: track_params.sid) |> Track.changeset(track_params) |> Ecto.Changeset.put_change(:album_art, album_art_params) |> Repo.update! rescue Ecto.NoResultsError -> Track.chan...
[ -0.0172119140625, 0.004425048828125, 0.0072021484375, -0.003997802734375, -0.01318359375, -0.00616455078125, -0.0069580078125, -0.007415771484375, 0.01904296875, 0.005767822265625, 0.007720947265625, 0.02685546875, -0.0027313232421875, 0.0186767578125, 0.0089111328125, -0.02001953125, ...
[ 101, 2500, 8256, 125728, 54981, 3960, 28560, 2203, 42719, 8520, 67, 7077, 62351, 80596, 12096, 9790, 853, 771, 3794, 1272, 86147, 78, 71, 5151, 69182, 152028, 3509, 44150, 127008, 4188, 126, 7156, 117008, 114777, 10178, 18468, 73, 33657, 38...
[ 0.013336181640625, 0.258056640625, 0.2431640625, 0.151611328125, 0.113525390625, 0.19873046875, 0.251953125, 0.04925537109375, 0.108154296875, 0.1690673828125, 0.100341796875, 0.03509521484375, 0.1270751953125, 0.1583251953125, 0.122314453125, 0.015594482421875, 0.059295654296875, ...
embed
69325750_c0
69325750
elixir
0
Title: Ejabberd sequential vs parallel server Problem title: Ejabberd sequential vs parallel server Tags: erlang, scalability, erlang-otp, elixir, ejabberd Problem: Ejabberd sequential vs parallel server As defined in Joe's book a TCP parallel server handle connections like this : {ok, Listen}=gen_tcp:listen(....), spa...
Ejabberd sequential vs parallel server Ejabberd sequential vs parallel server erlang scalability erlang-otp elixir ejabberd Ejabberd Listen gen_tcp:listen Socket gen_tcp:accept listen_tcp Port SockOpts ListenSocket Module State Sup Interval Proxy Ejabberd sequential vs parallel server As defined in Joe's book a TCP par...
[ 0.00970458984375, 0.037841796875, -0.01446533203125, 0.0038604736328125, 0.0028839111328125, -0.0107421875, -0.00579833984375, 0.00830078125, -0.01202392578125, -0.04248046875, 0.0211181640625, 0.0242919921875, 0.01025390625, 0.020263671875, 0.01129150390625, 0.00592041015625, 0.0123...
[ 241, 145, 102459, 71, 243228, 289, 20209, 95103, 10723, 72, 3066, 117906, 818, 254, 15296, 38308, 28, 159366, 9226, 121422, 63844, 1061, 27853, 19462, 44632, 13791, 39029, 8912, 63014, 22836, 47004, 5337, 1405, 1250, 50878, 61924, 40207, 1287...
[ 0.082275390625, 0.1336669921875, 0.2242431640625, 0.178466796875, 0.191162109375, 0.09881591796875, 0.13134765625, 0.23193359375, 0.1763916015625, 0.052459716796875, 0.2041015625, 0.1275634765625, 0.035400390625, 0.06597900390625, 0.015655517578125, 0.149169921875, 0.040985107421875,...
embed
77333957_c0
77333957
elixir
0
Title: Elixir [40, 60, 80] printed as &#x27;(&lt;P&#x27; Problem title: Elixir [40, 60, 80] printed as &#x27;(&lt;P&#x27; Tags: erlang, elixir-iex, elixir Problem: Elixir [40, 60, 80] printed as '( I did a fresh install of Elixir/Erlang on a current Ubuntu flavor (pop_os!). I hopped into iex, and tried the following co...
Elixir [40, 60, 80] printed as &#x27;(&lt;P&#x27; Elixir [40, 60, 80] printed as &#x27;(&lt;P&#x27; erlang elixir-iex elixir Elixir Enum.map IO.puts Program Start IO.inspect End Elixir [40, 60, 80] printed as '( I did a fresh install of Elixir/Erlang on a current Ubuntu flavor (pop_os!). I hopped into iex, and tried th...
[ -0.0103759765625, 0.00616455078125, -0.01007080078125, 0.01019287109375, -0.020751953125, 0.0294189453125, 0.002716064453125, -0.01031494140625, -0.0019683837890625, 0.006011962890625, 0.004791259765625, -0.01953125, 0.005126953125, 0.009033203125, 0.0106201171875, 0.0079345703125, -...
[ 25318, 38308, 2839, 1496, 4, 2248, 28412, 237, 6, 3768, 74, 683, 268, 132, 1230, 72, 3066, 15296, 14, 3355, 357, 316, 62346, 17780, 7077, 7663, 13794, 73, 16711, 18878, 63335, 20600, 64, 18468, 43581, 116890, 196634, 33554, 232, 145877, ...
[ 0.1829833984375, 0.312744140625, 0.228271484375, 0.2310791015625, 0.041412353515625, 0.2462158203125, 0.20361328125, 0.07147216796875, 0.003082275390625, 0.1116943359375, 0.003662109375, 0.19921875, 0.00360107421875, 0.003875732421875, 0.00347900390625, 0.0977783203125, 0.27319335937...
embed
32590508_c0
32590508
elixir
0
Title: Elixir&#x27;s Kernel.SpecialForms.case/2: multi clauses &quot;head&quot; to execute the same &quot;body&quot; Problem title: Elixir&#x27;s Kernel.SpecialForms.case/2: multi clauses &quot;head&quot; to execute the same &quot;body&quot; Tags: elixir Problem: Elixir's Kernel.SpecialForms.case/2: multi clauses "head...
Elixir&#x27;s Kernel.SpecialForms.case/2: multi clauses &quot;head&quot; to execute the same &quot;body&quot; Elixir&#x27;s Kernel.SpecialForms.case/2: multi clauses &quot;head&quot; to execute the same &quot;body&quot; elixir Elixir Kernel.SpecialForms.case clause1 clause2 value1 clause3 value3 Elixir's Kernel.Special...
[ 0.005462646484375, 0.0184326171875, -0.0172119140625, -0.01202392578125, 0.00341796875, -0.00982666015625, -0.003265380859375, 0.00982666015625, 0.021728515625, -0.01409912109375, 0.006927490234375, 0.0179443359375, 0.003936767578125, 0.0024261474609375, -0.002227783203125, -0.00306701...
[ 25318, 38308, 3768, 119125, 583, 216119, 102973, 58437, 12477, 6024, 70731, 90, 31251, 47, 71924, 5701, 37873, 15296, 34292, 363, 8781, 9655, 7225, 63805, 140505, 79929, 28875, 51584, 160193, 3444, 40368, 4453, 22766, 14858, 214, 13580, 29806, ...
[ 0.114501953125, 0.2587890625, 0.04962158203125, 0.134033203125, 0.10284423828125, 0.108642578125, 0.1781005859375, 0.16015625, 0.1693115234375, 0.196533203125, 0.212158203125, 0.0838623046875, 0.2081298828125, 0.0213775634765625, 0.16357421875, 0.1055908203125, 0.134521484375, 0.05...
embed
50125980_c1
50125980
elixir
1
/supervised.ex:88: Task.Supervised.do_apply/2 Function: #Function<4.100334649/0 in Ecto.Adapters.Postgres.run_query/2> file config/dev.exs: # Configure your database config :api_example, ApiExample.Repo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "api_example_dev", hostname: ...
/supervised.ex:88: Task.Supervised.do_apply/2 Function: #Function<4.100334649/0 in Ecto.Adapters.Postgres.run_query/2> file config/dev.exs: # Configure your database config :api_example, ApiExample.Repo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "api_example_dev", hostname: ...
[ 0.00860595703125, 0.006805419921875, 0.00799560546875, 0.0196533203125, 0.0021820068359375, -0.00010395050048828125, -0.01544189453125, -0.003570556640625, 0.00110626220703125, -0.01068115234375, 0.03125, -0.03466796875, -0.006317138671875, 0.014404296875, -0.00506591796875, 0.01843261...
[ 248, 59104, 1824, 297, 3355, 12772, 12, 9598, 92, 5, 73903, 246, 9007, 538, 12477, 28670, 468, 97249, 10763, 16093, 617, 3559, 124618, 167377, 107838, 23, 241, 44150, 22409, 2631, 23962, 49411, 17562, 16428, 454, 944, 11435, 153837, 18548, ...
[ 0.083740234375, 0.1773681640625, 0.2568359375, 0.14599609375, 0.11962890625, 0.2183837890625, 0.0242767333984375, 0.186767578125, 0.1156005859375, 0.029449462890625, 0.1822509765625, 0.1038818359375, 0.163818359375, 0.158447265625, 0.1748046875, 0.1822509765625, 0.0537109375, 0.198...
embed
45694191_c1
45694191
elixir
1
_path, events} do {"e:\\reporting_temp\\data\\mls_alltrans\\AllTrans - All MLS_postdate.txt", [:modified]} -> affix = File.stat!(file_path).mtime |> :calendar.universal_time_to_local_time |> Ecto.DateTime.from_erl() |> Calendar.Strftime.strftime!("%b %d (%a) %l:%M %P") result = AppState.changeset(%AppState{}, %{key: "a...
_path, events} do {"e:\\reporting_temp\\data\\mls_alltrans\\AllTrans - All MLS_postdate.txt", [:modified]} -> affix = File.stat!(file_path).mtime |> :calendar.universal_time_to_local_time |> Ecto.DateTime.from_erl() |> Calendar.Strftime.strftime!("%b %d (%a) %l:%M %P") result = AppState.changeset(%AppState{}, %{key: "a...
[ -0.00701904296875, -0.006378173828125, 0.01348876953125, 0.0113525390625, 0.0101318359375, -0.013916015625, -0.01287841796875, -0.00701904296875, -0.006622314453125, -0.007415771484375, 0.004364013671875, 0.034912109375, 0.016845703125, 0.0267333984375, -0.00506591796875, -0.0078735351...
[ 101, 128405, 47353, 8152, 54, 10666, 13, 12, 79770, 214, 454, 34224, 10135, 7237, 7, 5584, 30145, 43512, 62624, 20, 3164, 276, 19759, 4594, 17489, 5, 124326, 830, 13415, 47314, 268, 33079, 261, 55923, 2203, 42724, 17346, 90295, 29822, 39,...
[ 0.054779052734375, 0.2230224609375, 0.1710205078125, 0.010589599609375, 0.09539794921875, 0.010467529296875, 0.0537109375, 0.01080322265625, 0.211181640625, 0.0938720703125, 0.010772705078125, 0.2239990234375, 0.10540771484375, 0.16162109375, 0.145263671875, 0.1383056640625, 0.248657...
embed
48871480_c0
48871480
elixir
0
Title: Updating and merging Maps Elixir Problem title: Updating and merging Maps Elixir Tags: elixir, phoenix-framework Problem: Updating and merging Maps Elixir I am new to Elixir and functional programming in general. What I want is to update a value for a specific key in a map and then merge that map with another. H...
Updating and merging Maps Elixir Updating and merging Maps Elixir elixir phoenix-framework Updating Maps Elixir _id Oklahoma City United States country_short postal_code _version mandrill.com example.webhook mandrillapp.com user_id example.sender user_agent Mozilla Macintosh Intel Mac rv:1.9.1.8 Gecko Postbox user_agen...
[ -0.00098419189453125, 0.0064697265625, 0.0025177001953125, -0.021240234375, -0.000942230224609375, -0.00433349609375, -0.01214599609375, 0.0042724609375, -0.00022602081298828125, -0.007232666015625, 0.0030364990234375, 0.0245361328125, 0.0078125, 0.0032196044921875, 0.02880859375, -0.0...
[ 10091, 56464, 136, 1143, 9966, 103033, 25318, 38308, 15296, 53073, 33, 4084, 160328, 532, 238215, 6406, 14098, 46684, 23295, 186500, 67808, 40899, 46354, 14134, 42, 5713, 27781, 14051, 497, 685, 70773, 6366, 38937, 152452, 83963, 109875, 4727, ...
[ 0.1583251953125, 0.167236328125, 0.106201171875, 0.22314453125, 0.10650634765625, 0.273681640625, 0.1826171875, 0.289306640625, 0.1485595703125, 0.072265625, 0.09600830078125, 0.15380859375, 0.146240234375, 0.1334228515625, 0.314697265625, 0.2197265625, 0.121826171875, 0.1469726562...
embed
47099468_c0
47099468
elixir
0
Title: Why acquiring lock in Ecto tests doesn&#x27;t work? Problem title: Why acquiring lock in Ecto tests doesn&#x27;t work? Tags: elixir, ecto Problem: Why acquiring lock in Ecto tests doesn't work? Given this Ecto test: test "fails to acquire lock" do %{rows: [[lock_acquired]]} = Ecto.Adapters.SQL.query!(Repo, "SELE...
Why acquiring lock in Ecto tests doesn&#x27;t work? Why acquiring lock in Ecto tests doesn&#x27;t work? elixir ecto Why Ecto lock_acquired Ecto.Adapters.SQL.query Repo SELECT pg_try_advisory_lock pg_try_advisory_xact_lock Task.async Ecto.Adapters.SQL.Sandbox.allow ChargingIo.Repo timer.sleep Task.await Why acquiring lo...
[ -0.0157470703125, 0.008056640625, 0.0069580078125, -0.023193359375, 0.0004177093505859375, -0.0213623046875, -0.009765625, 0.005401611328125, 0.0108642578125, -0.020751953125, 0.0029144287109375, 0.0185546875, -0.005340576171875, 0.0194091796875, 0.005859375, 0.0301513671875, -0.0037...
[ 44084, 1030, 3181, 2852, 56776, 23, 241, 44150, 109921, 22027, 3768, 18, 4488, 15296, 38308, 60751, 2263, 22409, 2631, 23962, 158897, 944, 853, 771, 144832, 177, 15123, 712, 51858, 21135, 425, 47013, 9598, 12654, 11728, 41566, 21656, 31, 43...
[ 0.07470703125, 0.07061767578125, 0.16259765625, 0.038421630859375, 0.2154541015625, 0.045654296875, 0.0948486328125, 0.266845703125, 0.20361328125, 0.0654296875, 0.04931640625, 0.0997314453125, 0.1492919921875, 0.03594970703125, 0.1480712890625, 0.1937255859375, 0.041290283203125, ...
embed
51815919_c0
51815919
elixir
0
Title: Is it possible to not load associations after insertion with ExMachina? Problem title: Is it possible to not load associations after insertion with ExMachina? Tags: elixir, ex-unit Problem: Is it possible to not load associations after insertion with ExMachina? I'm using ex_machina to create fixture for my unit-...
Is it possible to not load associations after insertion with ExMachina? Is it possible to not load associations after insertion with ExMachina? elixir ex-unit ExMachina Repo.preload user_factory User comment_factory Comment Comment.get_last_comment Ecto.Association.NotLoaded Is it possible to not load associations afte...
[ 0.00787353515625, -0.0015869140625, -0.00396728515625, 0.01165771484375, 0.0042724609375, 0.000682830810546875, -0.004547119140625, -0.0177001953125, 0.01123046875, -0.032958984375, -0.002655029296875, -0.0019989013671875, -0.00069427490234375, -0.01495361328125, 0.0224609375, -0.00515...
[ 7722, 959, 72367, 151747, 7103, 241860, 678, 5443, 4613, 42072, 15296, 38308, 1119, 309, 853, 771, 4692, 63033, 38937, 144810, 53400, 6868, 16277, 19777, 277, 674, 241, 44150, 214813, 122116, 15363, 712, 17368, 192, 28282, 30022, 6644, 25072,...
[ 0.1688232421875, 0.18994140625, 0.2305908203125, 0.263427734375, 0.115966796875, 0.2095947265625, 0.10791015625, 0.210693359375, 0.156982421875, 0.251708984375, 0.063720703125, 0.1939697265625, 0.20361328125, 0.0867919921875, 0.0650634765625, 0.1435546875, 0.10711669921875, 0.18969...
embed
39558709_c0
39558709
elixir
0
Title: Edeliver - Impossible to access on port 4000 after successful deploy Problem title: Edeliver - Impossible to access on port 4000 after successful deploy Tags: edeliver, phoenix-framework, elixir Problem: Edeliver - Impossible to access on port 4000 after successful deploy I'm trying to deploy a simple phoenix ap...
Edeliver - Impossible to access on port 4000 after successful deploy Edeliver - Impossible to access on port 4000 after successful deploy edeliver phoenix-framework elixir Edeliver Impossible elixirhunt.prod erts-8.0 erl_child_setup Ssl run_erl erl_pipes Api.Endpoint www.elixirhunt.prod cache_static_manifest manifest.j...
[ -0.000164031982421875, 0.00860595703125, 0.0004596710205078125, -0.009521484375, -0.0024566650390625, -0.0038909912109375, -0.016845703125, 0.004425048828125, 0.00017642974853515625, -0.00177764892578125, 0.00994873046875, -0.0050048828125, 0.0263671875, -0.0009613037109375, 0.0213623046...
[ 131175, 14, 814, 239596, 17203, 11469, 34042, 7103, 65771, 8, 13158, 28, 112, 134148, 53073, 33, 4084, 160328, 18244, 15296, 38308, 15288, 18, 112348, 72, 933, 17376, 2389, 141, 206, 38472, 24861, 11675, 56, 1434, 13569, 152378, 6169, 82365...
[ 0.19189453125, 0.139404296875, 0.2646484375, 0.1871337890625, 0.1473388671875, 0.167236328125, 0.255126953125, 0.0523681640625, 0.118408203125, 0.05029296875, 0.137939453125, 0.08349609375, 0.1195068359375, 0.280517578125, 0.0279998779296875, 0.045867919921875, 0.09716796875, 0.074...
embed
67556658_c0
67556658
elixir
0
Title: Is everything in Elixir a reference type? Problem title: Is everything in Elixir a reference type? Tags: elixir Problem: Is everything in Elixir a reference type? Reading about Elixir immutability and how it avoids memory copying wherever possible, it seems like the only possible explanation, but I haven't seen ...
Is everything in Elixir a reference type? Is everything in Elixir a reference type? elixir Elixir Is everything in Elixir a reference type? Reading about Elixir immutability and how it avoids memory copying wherever possible, it seems like the only possible explanation, but I haven't seen it explicitly stated anywhere....
[ 0.00136566162109375, 0.020751953125, 0.0213623046875, 0.01361083984375, 0.01416015625, -0.00469970703125, -0.01129150390625, -0.00115203857421875, 0.0089111328125, 0.007598876953125, 0.0084228515625, -0.01141357421875, 0.0081787109375, 0.0185546875, 0.0027923583984375, 0.0098876953125,...
[ 2071, 26818, 23, 25318, 38308, 91067, 10644, 10, 15296, 566, 14311, 41159, 71864, 98323, 43658, 214, 187136, 1747, 96819, 3525, 12830, 47, 5303, 41018, 51776, 66161, 98441, 140909, 35299, 8770, 59935, 7311, 237259, 138, 201, 58055, 110, 988, ...
[ 0.022857666015625, 0.1851806640625, 0.078857421875, 0.1458740234375, 0.292724609375, 0.266357421875, 0.2279052734375, 0.03692626953125, 0.074462890625, 0.049041748046875, 0.16552734375, 0.1173095703125, 0.127197265625, 0.13330078125, 0.1285400390625, 0.004547119140625, 0.115234375, ...
embed
61205123_c0
61205123
elixir
0
Title: Elixir HTTPoisin.get avoid dedup in response data Problem title: Elixir HTTPoisin.get avoid dedup in response data Tags: duplicates, elixir, httpoison Problem: Elixir HTTPoisin.get avoid dedup in response data I am making call to HTTP Rest API in elixir url = "http://localhost:8080/getScoreData" case HTTPoison.g...
Elixir HTTPoisin.get avoid dedup in response data Elixir HTTPoisin.get avoid dedup in response data duplicates elixir httpoison Elixir HTTPoisin.get localhost:8080 HTTPoison.get status_code Logger.info overall_score Jason.decode OverallScore John Cena Sunny Michael Elixir HTTPoisin.get avoid dedup in response data I am...
[ -0.00640869140625, 0.005462646484375, 0.01422119140625, -0.01361083984375, 0.01446533203125, -0.0120849609375, 0.02392578125, 0.005096435546875, 0.0025482177734375, -0.015869140625, 0.0037078857421875, 0.0279541015625, -0.000782012939453125, -0.00555419921875, 0.003387451171875, -0.012...
[ 25318, 38308, 135913, 31, 9431, 3794, 71864, 8, 693, 254, 23, 57553, 2053, 171763, 15296, 1621, 40514, 4000, 40294, 4836, 10778, 40899, 64906, 56, 7319, 128512, 30854, 85613, 112, 9578, 5584, 4939, 23411, 151197, 11617, 11782, 49756, 61687, ...
[ 0.1488037109375, 0.2724609375, 0.220703125, 0.12353515625, 0.2298583984375, 0.1480712890625, 0.2193603515625, 0.1859130859375, 0.2095947265625, 0.1544189453125, 0.013427734375, 0.203857421875, 0.1141357421875, 0.179931640625, 0.1265869140625, 0.1209716796875, 0.23388671875, 0.04736...
embed
48413292_c0
48413292
elixir
0
Title: How to dynamically generate a Phoenix controller function with a map argument? Problem title: How to dynamically generate a Phoenix controller function with a map argument? Tags: macros, elixir, phoenix-framework Problem: How to dynamically generate a Phoenix controller function with a map argument? So I'm using...
How to dynamically generate a Phoenix controller function with a map argument? How to dynamically generate a Phoenix controller function with a map argument? macros elixir phoenix-framework How Phoenix id1 id2 create_some_function_by_number Macro.var Map.new Macro.escape How to dynamically generate a Phoenix controller...
[ -0.004302978515625, -0.0147705078125, 0.00102996826171875, -0.0002727508544921875, -0.00640869140625, 0.01214599609375, -0.0111083984375, -0.023681640625, 0.01324462890625, -0.06982421875, -0.02587890625, -0.0224609375, -0.00933837890625, 0.000370025634765625, 0.0054931640625, -0.00531...
[ 11249, 84079, 25958, 139392, 133720, 185373, 32354, 678, 22288, 10750, 47, 10, 111789, 7, 15296, 38308, 53073, 33, 4084, 160328, 18244, 3447, 418, 304, 28282, 43452, 137175, 1272, 2606, 1297, 4727, 516, 1961, 42719, 98224, 17368, 41491, 75935...
[ 0.0723876953125, 0.1951904296875, 0.087890625, 0.2216796875, 0.297607421875, 0.27978515625, 0.2066650390625, 0.06976318359375, 0.221435546875, 0.21728515625, 0.004852294921875, 0.0155487060546875, 0.2216796875, 0.000823974609375, 0.03521728515625, 0.17138671875, 0.078125, 0.1127929...
embed
52501966_c0
52501966
elixir
0
Title: Time compare in elixir phoenix framework Problem title: Time compare in elixir phoenix framework Tags: elixir, phoenix-framework Problem: Time compare in elixir phoenix framework I want to get an date input from user and compare(if it is at least 30min future) it whether it is future and save it to database. Dat...
Time compare in elixir phoenix framework Time compare in elixir phoenix framework elixir phoenix-framework now Time build_naive_datetime NaiveDateTime.from_iso8601 schedule_datetime_is_future schedule_datetime future_datetime DateTime.to_naive Timex.add Timex.now Timex.Duration.from_minutes Timex.compare Time compare i...
[ -0.028076171875, -0.009765625, 0.00543212890625, -0.0017547607421875, -0.02099609375, -0.01953125, 0.00189208984375, 0.000431060791015625, -0.0034332275390625, -0.055908203125, -0.0255126953125, 0.0302734375, 0.0247802734375, 0.01104736328125, -0.0181884765625, -0.0164794921875, -0.0...
[ 19055, 69101, 23, 15296, 38308, 53073, 33, 4084, 170846, 160328, 18244, 5036, 45367, 76, 5844, 17489, 6032, 353, 86291, 70059, 161063, 16369, 15276, 6746, 80889, 164, 3125, 6644, 22690, 25512, 188, 425, 4028, 17726, 67403, 16082, 3444, 2046, ...
[ 0.2017822265625, 0.2406005859375, 0.06085205078125, 0.056243896484375, 0.1890869140625, 0.0841064453125, 0.1192626953125, 0.140380859375, 0.19482421875, 0.0845947265625, 0.0784912109375, 0.0225830078125, 0.1434326171875, 0.07568359375, 0.1983642578125, 0.077392578125, 0.205322265625,...
embed
35306322_c0
35306322
elixir
0
Title: Arbitrary arguments in Elixir Macros - wrapping a body Problem title: Arbitrary arguments in Elixir Macros - wrapping a body Tags: macros, elixir Problem: Arbitrary arguments in Elixir Macros - wrapping a body I'm working on a small library dealing with ETS and I want to be able to exit functions early if the ta...
Arbitrary arguments in Elixir Macros - wrapping a body Arbitrary arguments in Elixir Macros - wrapping a body macros elixir Arbitrary Elixir Macros get_and_update is_ets_table create_error Arbitrary arguments in Elixir Macros - wrapping a body I'm working on a small library dealing with ETS and I want to be able to exi...
[ -0.00099945068359375, 0.01214599609375, -0.00188446044921875, -0.00653076171875, 0.00738525390625, 0.02685546875, -0.00128173828125, -0.007354736328125, 0.004669189453125, -0.00927734375, 0.00555419921875, 0.006927490234375, -0.011474609375, -0.00148773193359375, 0.035400390625, -0.004...
[ 242522, 1294, 10750, 25318, 38308, 4727, 3666, 137565, 10366, 14361, 111789, 15296, 2046, 2940, 117008, 83, 7831, 22819, 28282, 188800, 20697, 19336, 35773, 83435, 3444, 19048, 82230, 32354, 39395, 2174, 23180, 18, 32316, 831, 3884, 903, 56050,...
[ 0.170166015625, 0.09173583984375, 0.2442626953125, 0.111083984375, 0.211669921875, 0.0938720703125, 0.15283203125, 0.130126953125, 0.035247802734375, 0.1474609375, 0.207275390625, 0.04693603515625, 0.007049560546875, 0.05224609375, 0.1435546875, 0.0853271484375, 0.167724609375, 0.2...
embed
37222744_c0
37222744
elixir
0
Title: Running migrations on a server with exrm in Elixir Problem title: Running migrations on a server with exrm in Elixir Tags: elixir, migration, phoenix-framework Problem: Running migrations on a server with exrm in Elixir I need to run the migrations on a server where I've deployed my Phoenix app by exrm. Accordin...
Running migrations on a server with exrm in Elixir Running migrations on a server with exrm in Elixir elixir migration phoenix-framework Running Elixir my_app test1 Elixir.Release.Tasks my_app.sh Usage start_boot console_clean console_boot remote_console release_tasks test2 Using do_boot start_it start_em Crash erl_cra...
[ 0.00213623046875, -0.00433349609375, 0.0072021484375, 0.0167236328125, 0.0205078125, -0.00323486328125, -0.02880859375, -0.009765625, 0.00823974609375, -0.0262451171875, 0.0223388671875, 0.001495361328125, 0.0185546875, -0.0091552734375, 0.01434326171875, 0.00738525390625, 0.01531982...
[ 28398, 212416, 7, 98, 10723, 678, 1119, 42, 39, 25318, 38308, 23, 15296, 53073, 33, 4084, 160328, 592, 759, 9007, 3034, 133, 9874, 1042, 1495, 4034, 80765, 130250, 11030, 148814, 40777, 54452, 1073, 195, 34156, 141, 41535, 693, 2676, 6400...
[ 0.14111328125, 0.22412109375, 0.09075927734375, 0.043426513671875, 0.1904296875, 0.06695556640625, 0.0989990234375, 0.1461181640625, 0.1859130859375, 0.130126953125, 0.2607421875, 0.0218353271484375, 0.091064453125, 0.021484375, 0.0650634765625, 0.1171875, 0.0640869140625, 0.024932...
embed
40923140_c0
40923140
elixir
0
Title: Setting up Sentry in an Elixir app, getting undefined function String.trim/2 Problem title: Setting up Sentry in an Elixir app, getting undefined function String.trim/2 Tags: elixir, phoenix-framework, sentry, heroku Problem: Setting up Sentry in an Elixir app, getting undefined function String.trim/2 I'm follow...
Setting up Sentry in an Elixir app, getting undefined function String.trim/2 Setting up Sentry in an Elixir app, getting undefined function String.trim/2 elixir phoenix-framework sentry heroku UndefinedFunctionError Phoenix.ActionClauseError Setting Sentry Elixir String.trim web.1 MyApp.UserController.create event.ex:6...
[ -0.010009765625, 0.0118408203125, -0.0009307861328125, 0.01116943359375, -0.013427734375, -0.0037689208984375, 0.01397705078125, 0.0032958984375, -0.0001678466796875, -0.01611328125, 0.0045166015625, 0.005340576171875, 0.0184326171875, -0.0074462890625, 0.0361328125, 0.010498046875, ...
[ 503, 1257, 4311, 15123, 25318, 38308, 4027, 9232, 5983, 32354, 23351, 214, 3996, 39, 12477, 15296, 33, 4084, 160328, 9325, 1294, 40814, 319, 79912, 97249, 18468, 133720, 10763, 26253, 1467, 2646, 39179, 175904, 19732, 12424, 192134, 215175, 6...
[ 0.08984375, 0.06591796875, 0.17333984375, 0.271728515625, 0.09326171875, 0.242919921875, 0.179443359375, 0.0928955078125, 0.193603515625, 0.1474609375, 0.2158203125, 0.1434326171875, 0.1884765625, 0.127197265625, 0.2469482421875, 0.036834716796875, 0.036102294921875, 0.1015625, 0...
embed
74806750_c0
74806750
elixir
0
Title: Get Similar keys/values from 2 different nested structs in Elixir Problem title: Get Similar keys/values from 2 different nested structs in Elixir Tags: elixir Problem: Get Similar keys/values from 2 different nested structs in Elixir I have 2 nested structs, as below. %Test.Identities.MetaDetails{ browser_name:...
Get Similar keys/values from 2 different nested structs in Elixir Get Similar keys/values from 2 different nested structs in Elixir elixir 2 Get Similar Elixir Test.Identities.MetaDetails browser_name Chrome browser_version Test.Identities.MetaDetails.Confidence Other first_seen_at Test.Identities.MetaDetails.SeenAt ip...
[ -0.003265380859375, -0.0031280517578125, -0.00145721435546875, -0.01263427734375, 0.0128173828125, 0.0179443359375, 0.0002841949462890625, -0.006011962890625, 0.01202392578125, 0.016845703125, 0.006317138671875, 0.02197265625, 0.0233154296875, -0.000476837158203125, 0.012451171875, 0.0...
[ 20779, 209683, 22799, 64, 27494, 1295, 116, 12921, 8512, 71, 36716, 25318, 38308, 23, 15296, 8647, 37379, 6696, 102, 46741, 31842, 32178, 46354, 1029, 5117, 66079, 4233, 87632, 15363, 61689, 67808, 14237, 131711, 4568, 92134, 6460, 29908, 362...
[ 0.0633544921875, 0.22900390625, 0.191162109375, 0.0262908935546875, 0.1331787109375, 0.046173095703125, 0.148681640625, 0.1488037109375, 0.212646484375, 0.0823974609375, 0.1895751953125, 0.1031494140625, 0.2220458984375, 0.006561279296875, 0.06915283203125, 0.143310546875, 0.13830566...
embed
79208871_c1
79208871
elixir
1
true def handle_event("save", %{"form" => params}, socket) do case Accounts.register_user(params) do {:ok, _user} -> {:noreply, socket |> put_flash(:info, "User registered successfully!") |> redirect(to: ~p"/users/login")} {:error, %Ecto.Changeset{} = changeset} -> {:noreply, socket |> put_flash(:error, "Registration ...
true def handle_event("save", %{"form" => params}, socket) do case Accounts.register_user(params) do {:ok, _user} -> {:noreply, socket |> put_flash(:info, "User registered successfully!") |> redirect(to: ~p"/users/login")} {:error, %Ecto.Changeset{} = changeset} -> {:noreply, socket |> put_flash(:error, "Registration ...
[ -0.0196533203125, 0.0040283203125, 0.000682830810546875, -0.035888671875, -0.00811767578125, -0.00823974609375, -0.00787353515625, 0.0047607421875, 0.0113525390625, -0.0299072265625, -0.0032958984375, -0.010986328125, 0.0137939453125, 0.0233154296875, -0.004608154296875, -0.01251220703...
[ 29568, 8, 420, 34831, 90141, 108999, 830, 1745, 5037, 58, 121, 4432, 221, 27853, 54, 7225, 61417, 105199, 65918, 2500, 8256, 16, 10666, 12, 685, 4, 8152, 33079, 157, 62479, 6, 3884, 5544, 7319, 1062, 2189, 189893, 65771, 538, 3890, 2740...
[ 0.209228515625, 0.15576171875, 0.1072998046875, 0.264892578125, 0.298095703125, 0.26318359375, 0.001495361328125, 0.0787353515625, 0.26611328125, 0.001251220703125, 0.1497802734375, 0.1451416015625, 0.10211181640625, 0.236083984375, 0.033203125, 0.084228515625, 0.2308349609375, 0.2...
embed
68681315_c0
68681315
elixir
0
Title: Set request timeout at connection pool level using hackney and HTTPoison Problem title: Set request timeout at connection pool level using hackney and HTTPoison Tags: elixir, sockets, http, erlang Problem: Set request timeout at connection pool level using hackney and HTTPoison I am using httpoison which uses Ha...
Set request timeout at connection pool level using hackney and HTTPoison Set request timeout at connection pool level using hackney and HTTPoison elixir sockets http erlang hackney Set HTTPoison hackney_pool.child_spec connection_pool max_connections HTTPoison.get httpbin.org recv_timeout Set request timeout at connect...
[ -0.0120849609375, 0.01226806640625, 0.0025177001953125, -0.0054931640625, 0.006683349609375, -0.00002086162567138672, -0.0225830078125, -0.0230712890625, 0.005218505859375, -0.0103759765625, 0.017578125, -0.01470947265625, -0.0045166015625, 0.01092529296875, -0.006378173828125, -0.0018...
[ 19943, 50336, 1733, 6056, 94878, 19361, 17366, 85526, 10186, 135913, 31, 40514, 15296, 38308, 221, 27853, 1621, 3066, 20740, 206, 38472, 16711, 18389, 135457, 7568, 1478, 21954, 334, 6032, 136, 17368, 52922, 1379, 44462, 114977, 4527, 75935, ...
[ 0.088623046875, 0.2110595703125, 0.18603515625, 0.184326171875, 0.1517333984375, 0.15771484375, 0.162353515625, 0.1602783203125, 0.2200927734375, 0.1856689453125, 0.0762939453125, 0.201171875, 0.0233306884765625, 0.1640625, 0.043792724609375, 0.1461181640625, 0.10791015625, 0.14538...
embed
74091170_c0
74091170
elixir
0
Title: how to restrict file upload size in server side? Problem title: how to restrict file upload size in server side? Tags: elixir, phoenix-framework Problem: how to restrict file upload size in server side? In the template file <%= form_for @changeset, @action, [multipart: true], fn f -> %> <div class="form-group"> ...
how to restrict file upload size in server side? how to restrict file upload size in server side? elixir phoenix-framework form_for file_input Save batch_params IO.inspect Path.extname upload.filename File.cp upload.path Imports.create_batch put_flash Batch Routes.batch_path Ecto.Changeset new.html how to restrict file...
[ -0.01251220703125, -0.022216796875, 0.0283203125, 0.005126953125, 0.00148773193359375, -0.01031494140625, 0.0113525390625, 0.00946044921875, -0.009521484375, 0.00714111328125, -0.0166015625, -0.033203125, 0.024169921875, 0.0068359375, 0.01458740234375, -0.01092529296875, 0.0021820068...
[ 3642, 47, 173072, 11435, 70622, 13267, 23, 10723, 5609, 15296, 38308, 53073, 33, 4084, 160328, 18244, 3173, 73, 64944, 1777, 206, 17780, 16711, 108421, 3355, 11627, 42724, 121422, 128405, 92966, 7612, 2848, 5544, 21947, 106015, 44150, 127008, ...
[ 0.059844970703125, 0.01019287109375, 0.25390625, 0.15625, 0.2366943359375, 0.177490234375, 0.0587158203125, 0.1771240234375, 0.148681640625, 0.060638427734375, 0.1781005859375, 0.0557861328125, 0.06976318359375, 0.1083984375, 0.07098388671875, 0.0194091796875, 0.1268310546875, 0.03...
embed
38897007_c0
38897007
elixir
0
Title: Compilation Error: &quot;definitions with multiple clauses and default values require a function head&quot; Problem title: Compilation Error: &quot;definitions with multiple clauses and default values require a function head&quot; Tags: elixir, functional-programming Problem: Compilation Error: "definitions with...
Compilation Error: &quot;definitions with multiple clauses and default values require a function head&quot; Compilation Error: &quot;definitions with multiple clauses and default values require a function head&quot; elixir functional-programming CompileError a Compilation Error Pattern Matching math.pi geom.ex:20 Inste...
[ 0.0157470703125, 0.0185546875, 0.01025390625, 0.0069580078125, -0.01116943359375, 0.0034027099609375, -0.0238037109375, -0.0150146484375, 0.02490234375, 0.004608154296875, -0.0196533203125, -0.0107421875, 0.010498046875, 0.008056640625, 0.0247802734375, 0.0015411376953125, 0.01831054...
[ 15612, 14, 57860, 212059, 49919, 5256, 678, 48716, 70731, 90, 114977, 142424, 64209, 32354, 10336, 10, 15296, 38308, 123309, 28966, 1340, 18468, 31611, 9876, 22766, 67407, 48909, 1434, 700, 306, 3355, 16619, 175399, 5117, 18347, 4032, 17932, ...
[ 0.1048583984375, 0.0855712890625, 0.072265625, 0.165283203125, 0.1739501953125, 0.0433349609375, 0.08544921875, 0.1849365234375, 0.2152099609375, 0.06036376953125, 0.234130859375, 0.193359375, 0.171630859375, 0.1304931640625, 0.2138671875, 0.0098876953125, 0.031982421875, 0.1977539...
embed
52217185_c0
52217185
elixir
0
Title: Building changeset for entire association Problem title: Building changeset for entire association Tags: elixir, ecto Problem: Building changeset for entire association I read about cast_assoc/3 here .But documentation looks confusing. I want to build single changeset for the entire association and execute it in...
Building changeset for entire association Building changeset for entire association elixir ecto Building User Gallery.Web has_many Painting validate_required belongs_to __meta__ Ecto.Schema.Metadata Test Artist user_id Building changeset for entire association I read about cast_assoc/3 here .But documentation looks con...
[ -0.0208740234375, 0.0054931640625, 0.00445556640625, -0.00555419921875, 0.01611328125, 0.0228271484375, -0.018798828125, -0.0115966796875, 0.01165771484375, -0.039794921875, -0.01129150390625, 0.018310546875, 0.016845703125, 0.0302734375, 0.004669189453125, -0.01287841796875, -0.0086...
[ 104919, 65572, 126, 100, 64194, 125413, 15296, 38308, 60751, 53400, 84718, 30474, 669, 53, 147854, 214, 44622, 67, 3181, 2822, 10617, 35273, 241, 44150, 25452, 11883, 6696, 8656, 102, 8647, 69891, 38937, 532, 37702, 73395, 238, 18113, 209806,...
[ 0.212646484375, 0.1929931640625, 0.224609375, 0.072021484375, 0.15966796875, 0.22119140625, 0.052642822265625, 0.17138671875, 0.18017578125, 0.1287841796875, 0.1488037109375, 0.1007080078125, 0.03680419921875, 0.030120849609375, 0.155517578125, 0.07568359375, 0.16162109375, 0.05636...
embed
43486260_c0
43486260
elixir
0
Title: Getting conn in a model with Phoenix Framework? Problem title: Getting conn in a model with Phoenix Framework? Tags: phoenix-framework, elixir Problem: Getting conn in a model with Phoenix Framework? I'm trying to create a many to many relationship using the current user assignment in the connection. The problem...
Getting conn in a model with Phoenix Framework? Getting conn in a model with Phoenix Framework? phoenix-framework elixir Getting Phoenix Framework required_fields put_assoc validate_required unique_constraint associate_current_user user_id Repo.get User Getting conn in a model with Phoenix Framework? I'm trying to crea...
[ -0.0283203125, -0.0057373046875, 0.016357421875, 0.0021820068359375, 0.00640869140625, 0.007537841796875, -0.01953125, -0.01385498046875, 0.01312255859375, -0.09814453125, 0.00982666015625, -0.0181884765625, 0.00372314453125, 0.01031494140625, -0.0166015625, -0.0189208984375, -0.0174...
[ 210732, 158, 19, 23, 3299, 678, 133720, 202220, 53073, 33, 4084, 160328, 18244, 15296, 38308, 56065, 28394, 3884, 73395, 238, 44622, 67, 3181, 36998, 2271, 2816, 4288, 30699, 163812, 65918, 38937, 532, 771, 3794, 53400, 28282, 5941, 76755, ...
[ 0.1259765625, 0.1824951171875, 0.22021484375, 0.1322021484375, 0.2093505859375, 0.10552978515625, 0.25927734375, 0.234375, 0.013336181640625, 0.036529541015625, 0.084228515625, 0.0675048828125, 0.0570068359375, 0.009796142578125, 0.1396484375, 0.162841796875, 0.172607421875, 0.0643...
embed
48093790_c1
48093790
elixir
1
if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ - image: circleci/postgres:9.4 working_directory: ~/repo steps: - checkout # specify any bash command here prefixed with `run: ` - run: mix local.hex --force - run: mix local.rebar - run: mix ...
if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ - image: circleci/postgres:9.4 working_directory: ~/repo steps: - checkout # specify any bash command here prefixed with `run: ` - run: mix local.hex --force - run: mix local.rebar - run: mix ...
[ 0.017578125, -0.005645751953125, -0.00616455078125, 0.01446533203125, 0.00004291534423828125, -0.0030517578125, -0.00109100341796875, -0.0244140625, 0.0025177001953125, 0.002197265625, 0.024658203125, 0.0011138916015625, 0.01531982421875, 0.0289306640625, 0.003662109375, 0.015625, -0...
[ 2174, 63559, 468, 163731, 17304, 76104, 10, 35773, 1294, 111, 479, 978, 24908, 43079, 12937, 82063, 133, 318, 73011, 37926, 29569, 42154, 4594, 17562, 1126, 617, 20697, 80581, 30675, 107, 771, 98441, 12765, 6056, 40140, 18929, 2499, 87109, ...
[ 0.05230712890625, 0.1705322265625, 0.002197265625, 0.222900390625, 0.2783203125, 0.1658935546875, 0.014312744140625, 0.1741943359375, 0.108154296875, 0.0355224609375, 0.1495361328125, 0.0972900390625, 0.1285400390625, 0.25048828125, 0.098388671875, 0.1329345703125, 0.0919189453125, ...
embed
25921024_c1
25921024
elixir
1
)2> Application.get_env(:logjam, :forwarder) nil The generated sys.config in rel/my_app/releases/0.0.1/ looks like this: [{sasl,[{errlog_type,error}]}, {phoenix, [{'Elixir', [{'MyApp', [{'Router', [{cookies,true}, {debug_errors,true}, {host,<<"localhost">>}, {port,4000}, {session_key,<<"_rest_proxy_key">>}, {session_se...
)2> Application.get_env(:logjam, :forwarder) nil The generated sys.config in rel/my_app/releases/0.0.1/ looks like this: [{sasl,[{errlog_type,error}]}, {phoenix, [{'Elixir', [{'MyApp', [{'Router', [{cookies,true}, {debug_errors,true}, {host,<<"localhost">>}, {port,4000}, {session_key,<<"_rest_proxy_key">>}, {session_se...
[ 0.0096435546875, 0.0308837890625, -0.02978515625, -0.01031494140625, 0.00244140625, 0.0103759765625, -0.002593994140625, -0.0086669921875, 0.0022735595703125, -0.0016937255859375, 0.0020294189453125, 0.0196533203125, 0.014404296875, -0.01123046875, 0.00469970703125, -0.0007820129394531...
[ 304, 104921, 3794, 33, 334, 4867, 5095, 2472, 19364, 56, 17324, 139392, 71, 954, 7, 5, 153837, 7962, 1176, 9007, 233707, 99929, 50412, 33342, 1884, 903, 15796, 141, 50986, 188800, 22014, 4084, 647, 150, 38308, 31852, 39179, 25208, 36724, ...
[ 0.001861572265625, 0.1796875, 0.07611083984375, 0.1007080078125, 0.1871337890625, 0.1575927734375, 0.2216796875, 0.06182861328125, 0.169189453125, 0.110595703125, 0.1773681640625, 0.1513671875, 0.01220703125, 0.1363525390625, 0.034454345703125, 0.000030517578125, 0.285888671875, 0....
embed
60600711_c0
60600711
elixir
0
Title: Elixir / Phoenix: Server fails with eafnosupport in production Problem title: Elixir / Phoenix: Server fails with eafnosupport in production Tags: elixir, phoenix-framework Problem: Elixir / Phoenix: Server fails with eafnosupport in production I have a Phoenix Web application which starts well in development mo...
Elixir / Phoenix: Server fails with eafnosupport in production Elixir / Phoenix: Server fails with eafnosupport in production elixir phoenix-framework Elixir Phoenix Server ENV phx.server Failed Ranch HermesWeb.Endpoint.HTTP ranch_tcp:listen inet6 HermesWeb.Endpoint debug_errors code_reloader check_origin cache_static_...
[ -0.0017547607421875, 0.01141357421875, -0.00732421875, 0.0167236328125, 0.0125732421875, -0.01214599609375, -0.0213623046875, 0.009765625, -0.0078125, -0.000400543212890625, 0.0093994140625, 0.009765625, 0.024169921875, -0.0045166015625, 0.00518798828125, -0.00396728515625, -0.010070...
[ 25318, 38308, 133720, 22687, 35782, 678, 28, 2407, 157, 105363, 36049, 15296, 53073, 33, 4084, 160328, 7338, 856, 11521, 425, 39642, 190355, 33041, 206, 1840, 3716, 30474, 152378, 38496, 23658, 13028, 121422, 63844, 126, 910, 85779, 188800, 1...
[ 0.08203125, 0.198486328125, 0.23876953125, 0.1802978515625, 0.1634521484375, 0.040374755859375, 0.02923583984375, 0.142578125, 0.168212890625, 0.2227783203125, 0.1829833984375, 0.046722412109375, 0.0288848876953125, 0.057952880859375, 0.08270263671875, 0.06610107421875, 0.08099365234...
embed
68102342_c0
68102342
elixir
0
Title: How to modify join_defaults values in many_to_many changeset? Problem title: How to modify join_defaults values in many_to_many changeset? Tags: ecto, elixir, phoenix-framework Problem: How to modify join_defaults values in many_to_many changeset? I have a many to many relationship between Users and Organization...
How to modify join_defaults values in many_to_many changeset? How to modify join_defaults values in many_to_many changeset? ecto elixir phoenix-framework How join_defaults many_to_many Users Organizations Members organization_id user_id App.Users.User join_through App.Organizations.Members App.Organizations.Organizatio...
[ 0.004241943359375, 0.006195068359375, 0.00848388671875, -0.01025390625, -0.004241943359375, -0.01007080078125, -0.01123046875, -0.00836181640625, 0.01806640625, 0.0140380859375, -0.004638671875, 0.006500244140625, 0.0152587890625, 0.00848388671875, -0.000896453857421875, -0.00242614746...
[ 11249, 47, 2811, 40383, 33284, 214810, 7, 142424, 23, 5941, 188, 669, 53, 65572, 126, 60751, 15296, 38308, 53073, 33, 4084, 160328, 18244, 53400, 173101, 74057, 53702, 532, 38937, 5659, 1062, 100222, 27417, 152028, 3509, 241, 44150, 127008, ...
[ 0.10418701171875, 0.174560546875, 0.1798095703125, 0.162109375, 0.260009765625, 0.282958984375, 0.0955810546875, 0.187744140625, 0.011444091796875, 0.2049560546875, 0.1766357421875, 0.1356201171875, 0.1268310546875, 0.1812744140625, 0.1932373046875, 0.1502685546875, 0.024276733398437...
embed
61871840_c0
61871840
elixir
0
Title: Ecto fragment subquery with conditional where Problem title: Ecto fragment subquery with conditional where Tags: ecto, elixir, sql Problem: Ecto fragment subquery with conditional where I'm trying to use ecto perform a query with a subquery as one of the SELECT s. In SQL it looks like this ( player has_many vote...
Ecto fragment subquery with conditional where Ecto fragment subquery with conditional where ecto elixir sql Ecto SELECT has_many players.id player_id WHERE votes.player_id vote_count votes.type vote_count_query Player p.id vote_type Ecto fragment subquery with conditional where I'm trying to use ecto perform a query wi...
[ 0.0021820068359375, 0.009765625, -0.0038299560546875, -0.0167236328125, -0.013671875, -0.0186767578125, -0.01611328125, 0.003173828125, -0.00714111328125, -0.037353515625, -0.0086669921875, 0.0004482269287109375, 0.0126953125, 0.0184326171875, -0.0185546875, -0.007537841796875, -0.00...
[ 241, 44150, 38551, 1614, 944, 678, 35431, 289, 7440, 60751, 15296, 38308, 99247, 6755, 144832, 1556, 669, 53, 92865, 532, 58585, 841, 30096, 43374, 139570, 71013, 50986, 60560, 51339, 41, 237, 80866, 33342, 116311, 171859, 3444, 1294, 4173, ...
[ 0.10113525390625, 0.260498046875, 0.253173828125, 0.2034912109375, 0.1534423828125, 0.059967041015625, 0.1937255859375, 0.11376953125, 0.1778564453125, 0.21533203125, 0.0731201171875, 0.1640625, 0.1478271484375, 0.0792236328125, 0.1881103515625, 0.03302001953125, 0.07403564453125, ...
embed
52384877_c0
52384877
elixir
0
Title: Elixir marshal ISO 8583 message error with Erlang library Problem title: Elixir marshal ISO 8583 message error with Erlang library Tags: phoenix-framework, elixir, erlang, iso8583 Problem: Elixir marshal ISO 8583 message error with Erlang library Code signals: FunctionClauseError, Elixir, ISO, Erlang, msg1, erl8...
Elixir marshal ISO 8583 message error with Erlang library Elixir marshal ISO 8583 message error with Erlang library phoenix-framework elixir erlang iso8583 FunctionClauseError Elixir ISO Erlang msg1 erl8583_message.new msg2 erl8583_message.set_mti msg3 erl8583_message.set msg4 msg5 msg6 msg7 Test Message erl8583_marsha...
[ 0.0024261474609375, 0.01385498046875, -0.0235595703125, -0.00567626953125, -0.01312255859375, -0.00787353515625, -0.0233154296875, 0.00469970703125, 0.01416015625, 0.0037689208984375, 0.018798828125, -0.01104736328125, 0.02587890625, 0.0068359375, 0.004852294921875, -0.009765625, -0....
[ 25318, 38308, 10283, 4200, 17408, 9365, 17168, 26008, 18499, 678, 1004, 3066, 35773, 53073, 33, 4084, 160328, 18244, 15296, 72, 13882, 174923, 363, 28670, 26253, 18468, 68163, 177, 418, 74157, 54936, 304, 118, 966, 8647, 48205, 1727, 2420, ...
[ 0.1341552734375, 0.2406005859375, 0.11376953125, 0.1951904296875, 0.183349609375, 0.1728515625, 0.235107421875, 0.14990234375, 0.1937255859375, 0.0975341796875, 0.1614990234375, 0.252197265625, 0.1917724609375, 0.053680419921875, 0.07177734375, 0.12744140625, 0.1043701171875, 0.047...
embed
79380630_c1
79380630
elixir
1
(car, :brake_system, brake) end Objective The idea here is that I can create a Car and decide (and even change) which breaking system is used at runtime: > c = Car.new("Honda", Car.Brake.Bbs) %Car{ brand: "Honda", breaking_system: Car.Brake.Bbs } c = Car.change_brakes(c, Car.Brake.Abs) %Car{ brand: "Honda", breaking_sy...
(car, :brake_system, brake) end Objective The idea here is that I can create a Car and decide (and even change) which breaking system is used at runtime: > c = Car.new("Honda", Car.Brake.Bbs) %Car{ brand: "Honda", breaking_system: Car.Brake.Bbs } c = Car.change_brakes(c, Car.Brake.Abs) %Car{ brand: "Honda", breaking_sy...
[ 0, 0.00469970703125, -0.001129150390625, 0.00177001953125, 0.031982421875, 0.0128173828125, -0.00102996826171875, -0.010009765625, 0.01025390625, 0.01055908203125, 0.00118255615234375, 0.00323486328125, -0.00616455078125, 0.00860595703125, -0.01361083984375, -0.005340576171875, -0.00...
[ 3284, 2844, 350, 16751, 30316, 13, 3564, 134549, 5844, 6528, 28282, 3980, 28288, 15549, 116987, 5426, 11814, 11675, 6032, 501, 54936, 11193, 1127, 49960, 16145, 21851, 8796, 152028, 108230, 24988, 15649, 2060, 4127, 2967, 879, 538, 4383, 1276...
[ 0.1475830078125, 0.1328125, 0.095458984375, 0.1494140625, 0.1651611328125, 0.1082763671875, 0.070068359375, 0.1217041015625, 0.05780029296875, 0.051513671875, 0.1221923828125, 0.1605224609375, 0.0963134765625, 0.1175537109375, 0.1859130859375, 0.146728515625, 0.0821533203125, 0.022...
embed
45758886_c0
45758886
elixir
0
Title: Parsing and accessing untrusted XML Problem title: Parsing and accessing untrusted XML Tags: xml, erlang, elixir Problem: Parsing and accessing untrusted XML I have some kind of XML transformation gateway and it accepts XML in one format and produces it to the other from sources which I would rather not trust to...
Parsing and accessing untrusted XML Parsing and accessing untrusted XML xml erlang elixir Parsing XML fast_xml xmerl_xpath Parsing and accessing untrusted XML I have some kind of XML transformation gateway and it accepts XML in one format and produces it to the other from sources which I would rather not trust to. Now,...
[ 0.00787353515625, 0.02294921875, 0.00830078125, -0.01068115234375, 0.01129150390625, -0.0064697265625, -0.0185546875, -0.01165771484375, -0.0137939453125, -0.03173828125, 0.033935546875, -0.011962890625, -0.00616455078125, 0.007293701171875, 0.0128173828125, 0.0137939453125, -0.02722...
[ 2392, 6953, 136, 17203, 51, 182825, 92537, 131492, 72, 3066, 15296, 38308, 4271, 1022, 1991, 141, 425, 128405, 297, 167201, 70836, 7514, 26946, 9384, 27489, 3789, 97264, 2806, 43257, 959, 63207, 831, 1927, 686, 151134, 24941, 243, 4295, 271...
[ 0.191650390625, 0.1551513671875, 0.049591064453125, 0.1446533203125, 0.07861328125, 0.2197265625, 0.265869140625, 0.2021484375, 0.07861328125, 0.2265625, 0.0750732421875, 0.1895751953125, 0.1502685546875, 0.049407958984375, 0.1624755859375, 0.135986328125, 0.028228759765625, 0.1813...
embed
64927727_c1
64927727
elixir
1
_connection = inverter_impl.init(configs) state = %{ configs: configs, inverter_connection: inverter_connection, inverter_impl: inverter_impl } Logger.warn("inverter type #{state.inverter_impl}") {:noreply, state} end def handle_cast({:start_periodic_comm, configs}, state) do Logger.warn( "Actually Starting inverter pe...
_connection = inverter_impl.init(configs) state = %{ configs: configs, inverter_connection: inverter_connection, inverter_impl: inverter_impl } Logger.warn("inverter type #{state.inverter_impl}") {:noreply, state} end def handle_cast({:start_periodic_comm, configs}, state) do Logger.warn( "Actually Starting inverter pe...
[ -0.0133056640625, 0.00457763671875, -0.00836181640625, 0.026611328125, -0.00665283203125, -0.0157470703125, -0.01446533203125, -0.0081787109375, 0.006072998046875, -0.0191650390625, -0.006103515625, 0.016845703125, 0.01373291015625, 0.02734375, -0.0003032684326171875, -0.00604248046875...
[ 101, 135457, 1830, 2203, 131983, 56, 116120, 73, 217, 153837, 11341, 1745, 6, 64906, 4205, 814, 720, 10644, 61340, 157, 62479, 3564, 34831, 55741, 17137, 131692, 277, 39, 100582, 13794, 120164, 31436, 594, 4034, 29568, 85763, 16713, 685, 10...
[ 0.0777587890625, 0.2022705078125, 0.11572265625, 0.042327880859375, 0.2626953125, 0.158203125, 0.2166748046875, 0.0797119140625, 0.0831298828125, 0.2169189453125, 0.1939697265625, 0.0197296142578125, 0.0123291015625, 0.1728515625, 0.132080078125, 0.2032470703125, 0.150634765625, 0....
embed
36522652_c0
36522652
elixir
0
Title: Does elixir compile macro from shell call Problem title: Does elixir compile macro from shell call Tags: elixir Problem: Does elixir compile macro from shell call I have following code snippet: defmodule Play do defmacro mobile(expr) do IO.puts "I will compile" quote do IO.puts "#{inspect unquote(expr)}" unquote...
Does elixir compile macro from shell call Does elixir compile macro from shell call elixir shell Play Run Does IO.puts Execute playground.exs Run.run playground.exs:1 Play.mobile Does elixir compile macro from shell call I have following code snippet: When I compile this file, I've got following output As you can see, ...
[ -0.01361083984375, 0.012939453125, -0.01483154296875, 0.031494140625, 0.0024871826171875, 0.0213623046875, 0.02294921875, -0.006072998046875, -0.004791259765625, -0.00445556640625, -0.0274658203125, -0.0064697265625, -0.0023345947265625, 0.000789642333984375, 0.0089111328125, -0.001823...
[ 101790, 15296, 38308, 9969, 1340, 111789, 1295, 128019, 11782, 11356, 28398, 17780, 7077, 211603, 11301, 64330, 3355, 16428, 19721, 86831, 18151, 11435, 140992, 66747, 46389, 185188, 11675, 125195, 71924, 84751, 87388, 88996, 15612, 7986, 24927, ...
[ 0.061614990234375, 0.103271484375, 0.25390625, 0.1510009765625, 0.13720703125, 0.2342529296875, 0.1251220703125, 0.2125244140625, 0.1868896484375, 0.20166015625, 0.1666259765625, 0.17724609375, 0.1287841796875, 0.159423828125, 0.1202392578125, 0.1553955078125, 0.10260009765625, 0.1...
embed
47492361_c0
47492361
elixir
0
Title: Getting an association count with elixir and phoenix Problem title: Getting an association count with elixir and phoenix Tags: ecto, elixir, phoenix-framework Problem: Getting an association count with elixir and phoenix I'm trying to find how many teams belong to a league in my application. I can't seem to find...
Getting an association count with elixir and phoenix Getting an association count with elixir and phoenix ecto elixir phoenix-framework Ecto Ecto.Changeset Ecto.Query l Getting Statcasters.League Ecto.Schema has_many Statcasters.Teams.Team belongs_to Statcasters.Coherence.User League.first.teams.count league_limit left...
[ -0.00122833251953125, -0.01177978515625, -0.015869140625, -0.000759124755859375, 0.007598876953125, -0.01177978515625, 0.005126953125, -0.01544189453125, 0.01611328125, -0.06787109375, -0.0050048828125, 0.002044677734375, 0.0164794921875, 0.01544189453125, -0.00604248046875, 0.01501464...
[ 210732, 125413, 54529, 678, 15296, 38308, 136, 53073, 33, 4084, 60751, 160328, 18244, 241, 44150, 127008, 126, 41732, 23888, 408, 37499, 233353, 25452, 11883, 669, 53, 101409, 10617, 3334, 1062, 2189, 19175, 13448, 44420, 71013, 192428, 93343, ...
[ 0.0947265625, 0.2215576171875, 0.2108154296875, 0.11767578125, 0.072509765625, 0.2139892578125, 0.115478515625, 0.0655517578125, 0.07257080078125, 0.10760498046875, 0.181640625, 0.085693359375, 0.01446533203125, 0.053924560546875, 0.223876953125, 0.0399169921875, 0.0211334228515625, ...
embed
71436673_c0
71436673
elixir
0
Title: Translating imperative Algorithm to Elixir Problem title: Translating imperative Algorithm to Elixir Tags: functional-programming, elixir, algorithm Problem: Translating imperative Algorithm to Elixir I have an algorithm in python which I need to implement in a functional programming language, Elixir. input: lis...
Translating imperative Algorithm to Elixir Translating imperative Algorithm to Elixir functional-programming elixir algorithm Translating Algorithm Elixir first_item smalllist.append biglist.append Translating imperative Algorithm to Elixir I have an algorithm in python which I need to implement in a functional program...
[ -0.0006103515625, 0.004913330078125, 0.0140380859375, 0.013916015625, 0.00445556640625, 0.0244140625, -0.0224609375, -0.00909423828125, 0.01141357421875, 0.006622314453125, 0.00445556640625, 0.031982421875, -0.0137939453125, 0.03125, -0.0250244140625, 0.0037994384765625, -0.007171630...
[ 11062, 143, 222530, 13, 109847, 2783, 18337, 47, 25318, 38308, 123309, 28966, 15296, 234873, 5117, 217, 195, 19336, 6562, 9007, 3611, 17198, 50828, 3871, 29479, 56037, 46876, 107730, 5303, 370, 99726, 284, 571, 441, 919, 337, 16836, 10133, ...
[ 0.132568359375, 0.1842041015625, 0.279296875, 0.1160888671875, 0.1265869140625, 0.1253662109375, 0.0972900390625, 0.103271484375, 0.1346435546875, 0.27587890625, 0.163818359375, 0.108642578125, 0.093017578125, 0.2474365234375, 0.0784912109375, 0.078369140625, 0.0911865234375, 0.055...
embed
33995716_c0
33995716
elixir
0
Title: Right way to create a background job in an elixir phoenix app Problem title: Right way to create a background job in an elixir phoenix app Tags: phoenix-framework, elixir Problem: Right way to create a background job in an elixir phoenix app def create(conn, %{"data" => %{"attributes" => user_params}}) do change...
Right way to create a background job in an elixir phoenix app Right way to create a background job in an elixir phoenix app phoenix-framework elixir Right user_params User.changeset User Repo.insert UserMailer.send_welcome_email put_status show.json unprocessable_entity MyApp.ChangesetView error.json spawn_link Supervi...
[ -0.015380859375, 0.0152587890625, 0.0123291015625, -0.01141357421875, 0.004302978515625, 0.0230712890625, -0.00836181640625, -0.01361083984375, -0.002105712890625, -0.0498046875, -0.021484375, 0.0177001953125, 0.0169677734375, 0.02099609375, 0.0167236328125, 0.01507568359375, -0.0087...
[ 90911, 3917, 28282, 10, 76615, 12447, 15296, 38308, 53073, 33, 4084, 4027, 160328, 38937, 2500, 53400, 152028, 3509, 771, 33657, 17814, 56, 39285, 8420, 45738, 25501, 45215, 7639, 170, 1681, 63923, 2517, 2646, 39179, 127008, 4188, 126, 100474...
[ 0.0980224609375, 0.0836181640625, 0.1981201171875, 0.046844482421875, 0.2666015625, 0.2437744140625, 0.10009765625, 0.195556640625, 0.116943359375, 0.1595458984375, 0.1575927734375, 0.169677734375, 0.093994140625, 0.119140625, 0.01702880859375, 0.125244140625, 0.0760498046875, 0.06...
embed
48951076_c0
48951076
elixir
0
Title: Can&#x27;t create default for string array column (elixir list) in migration with Ecto Problem title: Can&#x27;t create default for string array column (elixir list) in migration with Ecto Tags: elixir, ecto, phoenix-framework Problem: Can't create default for string array column (elixir list) in migration with ...
Can&#x27;t create default for string array column (elixir list) in migration with Ecto Can&#x27;t create default for string array column (elixir list) in migration with Ecto elixir ecto phoenix-framework Can Ecto DfyDashboard.Repo.Migrations.AddLeadSourceToOffice Ecto.Migration lead_sources Event Facebook Google Online...
[ 0.026123046875, 0.0087890625, 0.0020294189453125, 0.0255126953125, 0.0036773681640625, -0.018798828125, -0.0155029296875, -0.028076171875, 0.01434326171875, 0.01220703125, 0.01531982421875, -0.015869140625, 0.0302734375, 0.01416015625, -0.0279541015625, -0.010498046875, -0.0208740234...
[ 4171, 3768, 18, 28282, 114977, 100, 79315, 10298, 53, 3365, 316, 6169, 38308, 5303, 212416, 241, 44150, 19, 15296, 60751, 53073, 33, 4084, 160328, 391, 18929, 19346, 24351, 4332, 771, 72482, 4028, 5267, 712, 211235, 7763, 94833, 594, 872, ...
[ 0.05560302734375, 0.07159423828125, 0.0283203125, 0.1966552734375, 0.298828125, 0.0657958984375, 0.227783203125, 0.1517333984375, 0.1064453125, 0.1455078125, 0.17822265625, 0.07171630859375, 0.218505859375, 0.193359375, 0.2110595703125, 0.0823974609375, 0.2861328125, 0.038208007812...
embed
46459820_c0
46459820
elixir
0
Title: GenStage: retry handle_demand when GenServer updates Problem title: GenStage: retry handle_demand when GenServer updates Tags: elixir, gen-server, genstage, phoenix-framework Problem: GenStage: retry handle_demand when GenServer updates If my GenStage's handle_demand/2 method looks like this: def handle_demand(d...
GenStage: retry handle_demand when GenServer updates GenStage: retry handle_demand when GenServer updates elixir gen-server genstage phoenix-framework GenStage handle_demand GenServer _state Queue.dequeue Logger.debug Queue updated_queue start_link GenServer.start_link __MODULE__ GenServer.call GenServer.cast handle_ca...
[ -0.01165771484375, 0.00958251953125, 0.00604248046875, -0.012451171875, -0.002227783203125, 0.0091552734375, 0.0023345947265625, -0.017822265625, -0.0198974609375, 0.0029144287109375, -0.0025482177734375, -0.0010986328125, -0.00787353515625, 0.01544189453125, 0.015869140625, 0.00170135...
[ 15937, 294, 16852, 456, 15123, 34831, 112, 12018, 3229, 193348, 114419, 15296, 38308, 9226, 39642, 29038, 53073, 33, 4084, 160328, 61340, 5813, 13388, 944, 64906, 85779, 150011, 4034, 10187, 17137, 12013, 85763, 55741, 161063, 12477, 55300, 333...
[ 0.1729736328125, 0.0362548828125, 0.2110595703125, 0.0601806640625, 0.1900634765625, 0.1844482421875, 0.12255859375, 0.1778564453125, 0.07611083984375, 0.2158203125, 0.17333984375, 0.047637939453125, 0.1728515625, 0.1358642578125, 0.1346435546875, 0.0911865234375, 0.000030517578125, ...
embed
47128598_c1
47128598
elixir
1
:8 ** (RuntimeError) casting assocs with cast/4 is not supported, use cast_assoc/3 instead code: changeset = AccessList.changeset(%AccessList{}, @valid_attr) stacktrace: (ecto) lib/ecto/changeset.ex:485: Ecto.Changeset.type!/2 (ecto) lib/ecto/changeset.ex:464: Ecto.Changeset.process_param/7 (elixir) lib/enum.ex:1826: E...
:8 ** (RuntimeError) casting assocs with cast/4 is not supported, use cast_assoc/3 instead code: changeset = AccessList.changeset(%AccessList{}, @valid_attr) stacktrace: (ecto) lib/ecto/changeset.ex:485: Ecto.Changeset.type!/2 (ecto) lib/ecto/changeset.ex:464: Ecto.Changeset.process_param/7 (elixir) lib/enum.ex:1826: E...
[ -0.0038909912109375, -0.006500244140625, 0.000888824462890625, 0.012451171875, 0.026123046875, -0.0257568359375, -0.024658203125, 0.00604248046875, 0.01373291015625, 0.0125732421875, 0.00567626953125, 0.01214599609375, -0.0030517578125, 0.03173828125, -0.0125732421875, -0.0045776367187...
[ 152, 1019, 16459, 163321, 6032, 18468, 31611, 176050, 63927, 4439, 678, 37702, 17357, 83, 959, 8060, 297, 4527, 73395, 238, 18113, 64457, 18151, 65572, 126, 2203, 40266, 154663, 5, 152028, 3509, 132, 39450, 26531, 24854, 8152, 4, 7013, 71, ...
[ 0.017791748046875, 0.1512451171875, 0.055877685546875, 0.12744140625, 0.1614990234375, 0.158447265625, 0.1888427734375, 0.2213134765625, 0.202392578125, 0.1373291015625, 0.042449951171875, 0.1864013671875, 0.2230224609375, 0.00897216796875, 0.0872802734375, 0.2237548828125, 0.0098266...
embed
34635463_c1
34635463
elixir
1
.319.0> terminating ** (exit) an exception was raised: ** (ErlangError) erlang error: {{:undef, [{Map, :get_and_update!, [%{"location" => %{"latitude" => 35.9628632, "longitude" => -86.8216522}, "name" => "Dover", "pickups" => 0}, "pickups", #Function<0.62518121/1 in BusTracker.MainWorker.handle_call/3>], []}, {BusTrac...
.319.0> terminating ** (exit) an exception was raised: ** (ErlangError) erlang error: {{:undef, [{Map, :get_and_update!, [%{"location" => %{"latitude" => 35.9628632, "longitude" => -86.8216522}, "name" => "Dover", "pickups" => 0}, "pickups", #Function<0.62518121/1 in BusTracker.MainWorker.handle_call/3>], []}, {BusTrac...
[ -0.0113525390625, 0.017333984375, 0.00250244140625, -0.01263427734375, -0.01513671875, 0.0012664794921875, 0.009765625, -0.01141357421875, 0.005645751953125, -0.0059814453125, -0.01153564453125, 0.013671875, 0.01031494140625, -0.007720947265625, 0.0262451171875, -0.007080078125, -0.0...
[ 5, 363, 2947, 2389, 2740, 121011, 214, 16459, 13, 23399, 142, 131527, 509, 165249, 18468, 3066, 31611, 72, 18499, 59437, 420, 166179, 3794, 2940, 117008, 38, 3949, 87632, 143, 35810, 2273, 11648, 3882, 169771, 10617, 21753, 20, 15276, 12012...
[ 0.087158203125, 0.129150390625, 0.2337646484375, 0.1636962890625, 0.0201263427734375, 0.225341796875, 0.1368408203125, 0.1279296875, 0.0557861328125, 0.2169189453125, 0.015472412109375, 0.255859375, 0.041015625, 0.16552734375, 0.1280517578125, 0.296142578125, 0.1588134765625, 0.137...
embed
38020424_c0
38020424
elixir
0
Title: How To Convert Latin-1 To UTF-8 With Elixir? Problem title: How To Convert Latin-1 To UTF-8 With Elixir? Tags: utf-8, elixir, character-encoding Problem: How To Convert Latin-1 To UTF-8 With Elixir? Elixir 1.3.0 Windows 10 Postgrex 0.11.2 Ecto 2.0.1 Postgres 9.4.4 I'm attempting to add records to a PostgreSQL da...
How To Convert Latin-1 To UTF-8 With Elixir? How To Convert Latin-1 To UTF-8 With Elixir? utf-8 elixir character-encoding Postgrex.Error How Convert Latin-1 UTF-8 Elixir ERROR character_not_in_repertoire UTF8 io.setopts standard_io latin1 File.open IO.binstream How To Convert Latin-1 To UTF-8 With Elixir? Elixir 1.3.0 ...
[ -0.00008249282836914062, 0.00994873046875, -0.00106048583984375, 0.01953125, 0.0030517578125, -0.01519775390625, -0.00848388671875, -0.00445556640625, -0.00543212890625, -0.001434326171875, -0.003326416015625, -0.022216796875, 0.00811767578125, 0.0189208984375, -0.0211181640625, -0.019...
[ 11249, 717, 1657, 11549, 42845, 5759, 345, 30992, 17376, 17106, 25318, 38308, 486, 420, 15296, 62816, 66332, 2795, 7134, 425, 18468, 151206, 10869, 1264, 59843, 1019, 22995, 184, 13784, 933, 5570, 846, 45137, 418, 42724, 59636, 17780, 7568, ...
[ 0.055023193359375, 0.111328125, 0.09375, 0.170166015625, 0.27734375, 0.24169921875, 0.0275726318359375, 0.208251953125, 0.2476806640625, 0.12109375, 0.141845703125, 0.269287109375, 0.072998046875, 0.1031494140625, 0.092529296875, 0.1337890625, 0.1302490234375, 0.04888916015625, 0...
embed
39863118_c0
39863118
elixir
0
Title: Phoenix CSRF token not matching Problem title: Phoenix CSRF token not matching Tags: phoenix-framework, csrf, elixir Problem: Phoenix CSRF token not matching Trying to get ajax working the Phoenix. I get the csrf token by doing the following so i have it: <input type="hidden" id="_csrf_token" name="_csrf_token" ...
Phoenix CSRF token not matching Phoenix CSRF token not matching phoenix-framework csrf elixir Phoenix CSRF _csrf_token get_csrf_token POST lesson_path xhr.setRequestHeader IiJndz5FeV9MMhIKMzggUTtmHUALAAAAkJ k4BxdiKmiaMUqsw hHAg7V4xpjnZsM8Z H1xw Plug.Conn.get_session csrf_token Map.get conn.req_cookies Phoenix CSRF toke...
[ 0.003570556640625, 0.035888671875, 0.0087890625, -0.044677734375, -0.0034027099609375, -0.0003814697265625, -0.01519775390625, 0.00897216796875, -0.006103515625, -0.033447265625, 0.00860595703125, 0.0147705078125, -0.0023040771484375, 0.0166015625, -0.0299072265625, -0.01153564453125, ...
[ 133720, 198956, 919, 47, 1098, 959, 14858, 214, 53073, 33, 4084, 160328, 18244, 20763, 22206, 15296, 38308, 4439, 6448, 2046, 199, 1681, 128405, 4097, 75616, 13025, 7605, 194351, 11935, 19, 3794, 169234, 42719, 864, 36724, 40858, 7767, 425, ...
[ 0.273681640625, 0.16064453125, 0.186279296875, 0.127685546875, 0.187744140625, 0.07037353515625, 0.2047119140625, 0.0087890625, 0.03729248046875, 0.045501708984375, 0.085693359375, 0.1182861328125, 0.0215301513671875, 0.058837890625, 0.226806640625, 0.0635986328125, 0.1536865234375, ...
embed
62601704_c1
62601704
elixir
1
.0.2 Benchmark suite executing with the following configuration: warmup: 0 ns time: 5 s memory time: 0 ns parallel: 1 inputs: none specified Estimated total run time: 5 s Benchmarking flat_map... Name ips average deviation median 99th % flat_map 1.70 K 588.45 μs ±14.33% 563 μs 1017.17 μs Operating System: macOS CPU Inf...
.0.2 Benchmark suite executing with the following configuration: warmup: 0 ns time: 5 s memory time: 0 ns parallel: 1 inputs: none specified Estimated total run time: 5 s Benchmarking flat_map... Name ips average deviation median 99th % flat_map 1.70 K 588.45 μs ±14.33% 563 μs 1017.17 μs Operating System: macOS CPU Inf...
[ -0.024169921875, -0.01251220703125, -0.000011622905731201172, -0.0057373046875, -0.0015106201171875, -0.00775146484375, 0.006622314453125, -0.00811767578125, 0.00144195556640625, 0.018798828125, -0.0084228515625, 0.0260009765625, -0.00909423828125, 0.033203125, -0.0031890869140625, -0....
[ 5, 133684, 3419, 206, 10015, 14947, 71924, 678, 70, 25632, 180346, 24814, 2037, 757, 1779, 1733, 190, 91, 98323, 12, 95103, 106, 107730, 7, 351, 13, 58735, 297, 60271, 3622, 11675, 49878, 62346, 27, 15757, 49380, 83080, 30170, 2320, 2450,...
[ 0.0867919921875, 0.287353515625, 0.2322998046875, 0.2203369140625, 0.248779296875, 0.254638671875, 0.169189453125, 0.0810546875, 0.014923095703125, 0.080322265625, 0.2215576171875, 0.1727294921875, 0.1343994140625, 0.1285400390625, 0.06817626953125, 0.1334228515625, 0.0928955078125, ...
embed
47149642_c0
47149642
elixir
0
Title: Elixir/Ecto not recognizing Foreign Key in Model Problem title: Elixir/Ecto not recognizing Foreign Key in Model Tags: database, ecto, elixir, one-to-many, postgresql Problem: Elixir/Ecto not recognizing Foreign Key in Model I am trying to retrieve and print an item in a one to many relationship (in this case I ...
Elixir/Ecto not recognizing Foreign Key in Model Elixir/Ecto not recognizing Foreign Key in Model database ecto elixir one-to-many postgresql Ecto.QueryError c Elixir Ecto Foreign Key Model GenServer PID association.ex:516 articles_id Newsly.Comments c.articles_id order_by enum.ex:1826 Enum enum.ex:1372 map_reduce quer...
[ 0.0106201171875, -0.00946044921875, -0.01336669921875, -0.001220703125, 0.01953125, 0.02294921875, -0.00537109375, -0.0107421875, -0.0003414154052734375, -0.0517578125, -0.003753662109375, 0.01129150390625, 0.00750732421875, 0.0047607421875, -0.00738525390625, -0.00958251953125, -0.0...
[ 25318, 38308, 64, 647, 44150, 959, 75530, 19, 184293, 26824, 13293, 23, 63399, 60751, 15296, 1632, 188, 669, 1305, 17562, 99247, 241, 41732, 18468, 31611, 501, 15937, 193348, 436, 7146, 125413, 3355, 910, 38440, 532, 1833, 538, 215284, 2614...
[ 0.1197509765625, 0.2305908203125, 0.024169921875, 0.0692138671875, 0.251953125, 0.056396484375, 0.0782470703125, 0.00811767578125, 0.186767578125, 0.2196044921875, 0.2047119140625, 0.0140380859375, 0.1104736328125, 0.2080078125, 0.08843994140625, 0.073486328125, 0.07958984375, 0.05...
embed
44329586_c1
44329586
elixir
1
path assets remote: * mix tasks namespace phx remote: Will use the following versions: remote: * Node 6.9.2 remote: Will export the following config vars: remote: DATABASE_URL remote: POOL_SIZE remote: SECRET_KEY_BASE remote: * MIX_ENV=prod remote: remote: -----> Installing binaries remote: Downloading node 6.9.2... r...
path assets remote: * mix tasks namespace phx remote: Will use the following versions: remote: * Node 6.9.2 remote: Will export the following config vars: remote: DATABASE_URL remote: POOL_SIZE remote: SECRET_KEY_BASE remote: * MIX_ENV=prod remote: remote: -----> Installing binaries remote: Downloading node 6.9.2... r...
[ -0.004974365234375, 0.016357421875, -0.0029449462890625, -0.0028533935546875, -0.001007080078125, 0.02734375, -0.0169677734375, -0.009765625, 0.01300048828125, -0.0037841796875, 0.0034942626953125, -0.01300048828125, 0.0291748046875, 0.01165771484375, -0.0019683837890625, 0.02124023437...
[ 60875, 181079, 148814, 12, 17664, 66211, 7, 210716, 11521, 425, 20255, 4527, 25632, 11389, 438, 112, 2289, 151309, 31255, 153837, 285, 49068, 95538, 137142, 9902, 75018, 41116, 186104, 571, 76783, 276, 21487, 11572, 856, 112348, 107951, 23035, ...
[ 0.2135009765625, 0.273193359375, 0.28759765625, 0.0163116455078125, 0.257080078125, 0.23779296875, 0.024017333984375, 0.234619140625, 0.177978515625, 0.18798828125, 0.07275390625, 0.09765625, 0.046417236328125, 0.150390625, 0.157958984375, 0.1435546875, 0.1292724609375, 0.253173828...
embed
40207360_c0
40207360
elixir
0
Title: plug in phoenix controller Problem title: plug in phoenix controller Tags: phoenix-framework, elixir Problem: plug in phoenix controller I'm writing a sample app to Phoenix framework. my authenticate.ex: defmodule Myapp.Plug.Authenticate do import Plug.Conn import Myapp.Router.Helpers import Phoenix.Controller d...
plug in phoenix controller plug in phoenix controller phoenix-framework elixir Plug.Conn Myapp.Router.Helpers Phoenix.Controller Myapp.Plug.Authenticate current_user get_session put_flash You session_path Myapp.SharedLinkController Myapp.Web Myapp.SharedLink Map.has_key conn.assigns plug in phoenix controller I'm writi...
[ -0.00811767578125, 0.004119873046875, 0.012939453125, 0.007232666015625, -0.0087890625, 0.02783203125, -0.0216064453125, -0.0244140625, 0.004730224609375, -0.05126953125, -0.01165771484375, -0.006439208984375, -0.0011138916015625, 0.0084228515625, -0.01165771484375, 0.007415771484375, ...
[ 76329, 23, 53073, 33, 4084, 185373, 160328, 18244, 15296, 38308, 194351, 11935, 19, 2646, 9007, 25208, 60785, 21777, 133720, 175904, 603, 35159, 1003, 63250, 43581, 65918, 169234, 3884, 5544, 56002, 128405, 69042, 64287, 42719, 19770, 158, 162,...
[ 0.2176513671875, 0.1798095703125, 0.1090087890625, 0.129638671875, 0.1849365234375, 0.292236328125, 0.086669921875, 0.065185546875, 0.05389404296875, 0.1806640625, 0.1820068359375, 0.0909423828125, 0.052947998046875, 0.0176544189453125, 0.1318359375, 0.0643310546875, 0.06787109375, ...
embed
76981712_c2
76981712
elixir
2
>, impl: Phoenix.HTML.FormData.Ecto.Changeset, id: "weight", name: "weight", data: %HealthTracker.HealthStats.Weight{__meta__: #Ecto.Schema.Metadata<:loaded, "weights">, id: 27, weight: 88888.1, user_id: 1, inserted_at: ~N[2023-08-26 04:35:49], updated_at: Code signals: KeyError, show, current_user, on_mount, HealthTra...
>, impl: Phoenix.HTML.FormData.Ecto.Changeset, id: "weight", name: "weight", data: %HealthTracker.HealthStats.Weight{__meta__: #Ecto.Schema.Metadata<:loaded, "weights">, id: 27, weight: 88888.1, user_id: 1, inserted_at: ~N[2023-08-26 04:35:49], updated_at: Code signals: KeyError, show, current_user, on_mount, HealthTra...
[ 0.006134033203125, 0.0084228515625, -0.0086669921875, -0.01446533203125, 0.0166015625, 0.01251220703125, -0.0036773681640625, 0.00421142578125, -0.00494384765625, -0.018798828125, -0.01373291015625, -0.003448486328125, 0.00958251953125, 0.041259765625, -0.0113525390625, 0.0116577148437...
[ 977, 116120, 133720, 127068, 102973, 137989, 647, 44150, 127008, 4188, 126, 3447, 165598, 9351, 2053, 1745, 177109, 28542, 11050, 135206, 12137, 22553, 35273, 25452, 11883, 6696, 8656, 102, 63033, 4, 12, 30284, 57888, 382, 49543, 206730, 38937,...
[ 0.05645751953125, 0.1539306640625, 0.292236328125, 0.221923828125, 0.181884765625, 0.1412353515625, 0.0167236328125, 0.2052001953125, 0.17578125, 0.1298828125, 0.17724609375, 0.0714111328125, 0.271240234375, 0.0703125, 0.1593017578125, 0.063232421875, 0.162353515625, 0.19873046875,...
embed
52755806_c0
52755806
elixir
0
Title: Size in MB of mnesia table Problem title: Size in MB of mnesia table Tags: elixir, erlang, mnesia Problem: Size in MB of mnesia table How do you read the :mnesia.info ? For example I only have one table, some_table, and :mnesia.info returns me this. ---> Processes holding locks <--- ---> Processes waiting for lo...
Size in MB of mnesia table Size in MB of mnesia table elixir erlang mnesia Size mnesia.info Processes Participant Coordinator Uncertain Active some_table System opt_disc Directory Mnesia.nonode NOT ram_copies disc_copies disc_only_copies mnesia.table_info Size in MB of mnesia table How do you read the :mnesia.info ? Fo...
[ 0.006561279296875, -0.0162353515625, 0.010986328125, 0.020263671875, -0.006103515625, -0.0087890625, 0.018798828125, 0.00006151199340820312, 0.00128173828125, -0.0162353515625, 0.0294189453125, 0.01806640625, -0.01611328125, 0.01470947265625, 0.0189208984375, 0.03857421875, 0.0089111...
[ 80378, 23, 12918, 111, 49097, 3478, 23180, 15296, 38308, 72, 3066, 7319, 123996, 72239, 1311, 43297, 106290, 88441, 3060, 22819, 12353, 43922, 31068, 276, 86, 157, 112, 86725, 13969, 59935, 12301, 39, 4734, 765, 1632, 30646, 903, 159029, 16...
[ 0.1387939453125, 0.08038330078125, 0.159423828125, 0.091064453125, 0.19580078125, 0.266845703125, 0.2244873046875, 0.0631103515625, 0.200927734375, 0.06036376953125, 0.194580078125, 0.2237548828125, 0.06689453125, 0.09033203125, 0.000335693359375, 0.10736083984375, 0.1085205078125, ...
embed
55211762_c0
55211762
elixir
0
Title: How to run many mix phx.gen.html commands in one .exs script Problem title: How to run many mix phx.gen.html commands in one .exs script Tags: phoenix-framework, elixir, elixir-mix Problem: How to run many mix phx.gen.html commands in one .exs script I'm trying to rum many mix phx.gen.html commands from a script...
How to run many mix phx.gen.html commands in one .exs script How to run many mix phx.gen.html commands in one .exs script phoenix-framework elixir elixir-mix How phx.gen.html Mix.Task.run Parser.parse Contacts Skype user_id:references:users Phone Address String.split System.cmd IO.inspect How to run many mix phx.gen.ht...
[ 0.0025787353515625, 0.017578125, -0.010009765625, 0.01904296875, -0.01129150390625, 0.002655029296875, -0.0107421875, -0.007171630859375, 0.015380859375, -0.041015625, -0.0208740234375, 0.004852294921875, 0.0125732421875, 0.0089111328125, 0.0003147125244140625, -0.0113525390625, 0.00...
[ 11249, 11675, 5941, 17664, 11521, 425, 1409, 7693, 75101, 7, 23, 1632, 3355, 26499, 5, 53073, 33, 4084, 160328, 15296, 38308, 62015, 37286, 9874, 1042, 16428, 2392, 2189, 2500, 184, 27627, 52940, 38937, 532, 239879, 223, 41761, 49990, 4353,...
[ 0.040496826171875, 0.1422119140625, 0.1962890625, 0.278564453125, 0.1456298828125, 0.172607421875, 0.167236328125, 0.17236328125, 0.2413330078125, 0.09503173828125, 0.070068359375, 0.118408203125, 0.1282958984375, 0.2120361328125, 0.012298583984375, 0.038726806640625, 0.0420837402343...
embed
51850217_c0
51850217
elixir
0
Title: Filter Genserver Termination Logs (translator_inspect_opts?) Problem title: Filter Genserver Termination Logs (translator_inspect_opts?) Tags: elixir, erlang-otp, gen-server Problem: Filter Genserver Termination Logs (translator_inspect_opts?) What is the best way to filter the logging output of a GenServer term...
Filter Genserver Termination Logs (translator_inspect_opts?) Filter Genserver Termination Logs (translator_inspect_opts?) elixir erlang-otp gen-server FunctionClauseError Filter Genserver Termination Logs translator_inspect_opts PID Module.handle_info path_to_file.ex:30 Last DOWN Reference function_clause Module.functi...
[ 0.0079345703125, 0.037353515625, -0.018310546875, -0.0185546875, 0.005889892578125, -0.00982666015625, -0.00005745887756347656, -0.0038604736328125, -0.01348876953125, -0.00579833984375, -0.00946044921875, -0.00823974609375, 0.017333984375, 0.0079345703125, 0.01007080078125, 0.02636718...
[ 128896, 15937, 39642, 27366, 2320, 13146, 30145, 143, 1290, 16711, 2146, 933, 15296, 38308, 72, 3066, 818, 254, 9226, 28670, 26253, 18468, 3900, 436, 7146, 63014, 79628, 7319, 60875, 29822, 3355, 1197, 21672, 108049, 215996, 32354, 18347, 137...
[ 0.2041015625, 0.14990234375, 0.2401123046875, 0.1636962890625, 0.045623779296875, 0.14599609375, 0.07763671875, 0.126953125, 0.09619140625, 0.1727294921875, 0.150146484375, 0.057586669921875, 0.029693603515625, 0.2017822265625, 0.0190582275390625, 0.1544189453125, 0.05517578125, 0....
embed
49183910_c0
49183910
elixir
0
Title: no process: the process is not alive, for connecting to mongo Problem title: no process: the process is not alive, for connecting to mongo Tags: elixir, mongodb Problem: no process: the process is not alive, for connecting to mongo Im using mongox fork on my elixir server it used to work well, untill today, when...
no process: the process is not alive, for connecting to mongo no process: the process is not alive, for connecting to mongo elixir mongodb Supervisor.Spec GenServer PID GenServer.call Mongo.PBKDF2Cache a9f40827e764c2e9d74318e934596194 EXIT gen_server.ex:766 scram.ex:66 Mongo.Connection.Auth.SCRAM.second_message scram.e...
[ 0.021484375, 0.023193359375, -0.003509521484375, -0.005340576171875, -0.0155029296875, 0.01409912109375, -0.0140380859375, -0.0137939453125, -0.00921630859375, -0.034423828125, 0.01336669921875, 0.015625, 0.005462646484375, 0.004974365234375, 0.0289306640625, 0.005889892578125, -0.01...
[ 110, 9433, 12, 70, 83, 959, 923, 272, 100, 37067, 214, 47, 14896, 31, 15296, 38308, 2667, 275, 4265, 51858, 47107, 15937, 193348, 7146, 85763, 7465, 519, 57842, 605, 38997, 46994, 29426, 9226, 39642, 178683, 2198, 3355, 14604, 235603, 673...
[ 0.13525390625, 0.2056884765625, 0.0069580078125, 0.05743408203125, 0.072021484375, 0.1480712890625, 0.1397705078125, 0.1474609375, 0.13330078125, 0.167236328125, 0.0283355712890625, 0.09796142578125, 0.17529296875, 0.2213134765625, 0.03936767578125, 0.180419921875, 0.075927734375, ...
embed