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
32449234_c0
32449234
elixir
0
Title: Observer is not available - Elixir Problem title: Observer is not available - Elixir Tags: elixir Problem: Observer is not available - Elixir I am working on ubuntu 14.04 LTS. I installed elixir as per instructions given in the offical website ran the following lines in console and everything works fine Add Erla...
Observer is not available - Elixir Observer is not available - Elixir elixir Observer Elixir Add Erlang Solutions packages.erlang-solutions.com erlang-solutions_1.0_all.deb Run Observer is not available - Elixir I am working on ubuntu 14.04 LTS. I installed elixir as per instructions given in the offical website ran th...
[ 0.00213623046875, 0.0238037109375, 0.00183868408203125, 0.01025390625, 0.002655029296875, 0.00201416015625, 0.012451171875, -0.004119873046875, 0.00022792816162109375, 0.000926971435546875, 0.0079345703125, -0.0341796875, 0.0439453125, -0.0025634765625, 0.0126953125, -0.00909423828125,...
[ 3545, 39642, 83, 959, 19882, 25318, 38308, 15296, 29117, 1004, 3066, 109339, 98169, 166589, 72, 7, 102107, 5584, 47923, 28398, 20697, 198996, 6370, 7709, 12763, 20600, 167934, 5773, 13028, 25632, 124519, 130250, 26818, 43240, 5885, 11675, 3522,...
[ 0.18896484375, 0.310302734375, 0.030853271484375, 0.0992431640625, 0.1678466796875, 0.109130859375, 0.2685546875, 0.0870361328125, 0.039794921875, 0.044830322265625, 0.1981201171875, 0.1124267578125, 0.0870361328125, 0.1173095703125, 0.03594970703125, 0.037109375, 0.0345458984375, ...
embed
72099688_c0
72099688
elixir
0
Title: How to define a function with multiple clauses and optional parameters in elixir Problem title: How to define a function with multiple clauses and optional parameters in elixir Tags: elixir Problem: How to define a function with multiple clauses and optional parameters in elixir I'm trying to understand how to p...
How to define a function with multiple clauses and optional parameters in elixir How to define a function with multiple clauses and optional parameters in elixir elixir How Instead first_clause second_clause How to define a function with multiple clauses and optional parameters in elixir I'm trying to understand how to...
[ 0.01422119140625, 0.0203857421875, 0.0067138671875, 0.0213623046875, -0.0091552734375, -0.01007080078125, -0.01214599609375, -0.00124359130859375, 0.038818359375, 0.0078125, -0.002105712890625, -0.026123046875, 0.005706787109375, 0.0186767578125, 0.0206298828125, 0.0289306640625, 0.0...
[ 11249, 47, 61924, 32354, 678, 48716, 70731, 90, 136, 35829, 289, 171859, 23, 15296, 38308, 175399, 5117, 18347, 4032, 17932, 155965, 33022, 25318, 114977, 4806, 1631, 592, 12319, 80934, 111, 10554, 28960, 67330, 27169, 11389, 70147 ]
[ 0.054840087890625, 0.01287841796875, 0.210693359375, 0.19384765625, 0.076416015625, 0.190185546875, 0.2164306640625, 0.086669921875, 0.06103515625, 0.1661376953125, 0.092041015625, 0.1859130859375, 0.034088134765625, 0.08099365234375, 0.2174072265625, 0.13720703125, 0.045013427734375...
embed
40106803_c0
40106803
elixir
0
Title: Using :inner_lateral in Ecto Elixir Problem title: Using :inner_lateral in Ecto Elixir Tags: ecto, elixir Problem: Using :inner_lateral in Ecto Elixir I was trying to use ecto's :inner_lateral And I wrote this query SnapshotExtractor |> order_by(desc: :created_at) |> limit(1) |> join(:inner_lateral, [se], cam in...
Using :inner_lateral in Ecto Elixir Using :inner_lateral in Ecto Elixir ecto elixir Using inner_lateral Ecto Elixir SnapshotExtractor order_by created_at SELECT WHERE cam.id se.camera_id se.from_date se.to_date se.interval se.schedule cam.exid cam.timezone Repo.one Ecto.DateTime Friday Monday Saturday Sunday Thursday T...
[ 0.01409912109375, 0.00096893310546875, -0.0093994140625, 0.0240478515625, -0.0185546875, -0.00848388671875, -0.0283203125, -0.006195068359375, -0.011474609375, -0.060791015625, 0.013916015625, 0.0133056640625, -0.0037689208984375, -0.0015716552734375, 0, -0.017578125, -0.03564453125,...
[ 345, 73, 1679, 141636, 241, 44150, 25318, 38308, 23, 60751, 15296, 75414, 121190, 72697, 19279, 1517, 18770, 12989, 1272, 75935, 144832, 7384, 124999, 17489, 10433, 1405, 7560, 693, 3355, 532, 18979, 771, 3630, 86291, 70059, 41626, 68318, 728...
[ 0.038604736328125, 0.08642578125, 0.1583251953125, 0.2403564453125, 0.048828125, 0.222412109375, 0.0906982421875, 0.1937255859375, 0.0181884765625, 0.193359375, 0.0804443359375, 0.164794921875, 0.1033935546875, 0.1807861328125, 0.0177001953125, 0.1617431640625, 0.1268310546875, 0.1...
embed
52803619_c0
52803619
elixir
0
Title: Retrieve all state from GenServer Problem title: Retrieve all state from GenServer Tags: elixir Problem: Retrieve all state from GenServer I have a an array of atoms for state in my GenServer. I don't want to just pop off the the last item in the queue, I want to pop off all the state at once. Current Code (NOT ...
Retrieve all state from GenServer Retrieve all state from GenServer elixir GenServer Retrieve ScoreTableQueue handle_call _from handle_cast PID gen_server initial_call Status Parent Logged State GenServer.call Retrieve all state from GenServer I have a an array of atoms for state in my GenServer. I don't want to just p...
[ -0.0025177001953125, 0.0006866455078125, -0.01031494140625, 0.01483154296875, -0.0201416015625, 0.00173187255859375, 0.012939453125, -0.017333984375, -0.028076171875, -0.0311279296875, 0.03173828125, 0.0186767578125, 0.006591796875, 0.01708984375, -0.004669189453125, 0.00634765625, -...
[ 200451, 756, 11341, 1295, 15937, 193348, 15296, 38308, 168071, 618, 2886, 41732, 13388, 34831, 85763, 161063, 55741, 436, 7146, 9226, 39642, 61475, 56504, 170918, 64906, 22836, 10298, 34627, 87, 3444, 7426, 5773, 4568, 35735, 41, 24145, 114063,...
[ 0.200927734375, 0.158203125, 0.22705078125, 0.078125, 0.1552734375, 0.255126953125, 0.0711669921875, 0.1912841796875, 0.1405029296875, 0.083740234375, 0.112060546875, 0.1217041015625, 0.03594970703125, 0.141845703125, 0.1331787109375, 0.062347412109375, 0.07720947265625, 0.04458618...
embed
65697359_c0
65697359
elixir
0
Title: Is there an elegant way to return the input of a function used in Elixir pipelines? Problem title: Is there an elegant way to return the input of a function used in Elixir pipelines? Tags: elixir Problem: Is there an elegant way to return the input of a function used in Elixir pipelines? I have some Elixir code ...
Is there an elegant way to return the input of a function used in Elixir pipelines? Is there an elegant way to return the input of a function used in Elixir pipelines? elixir Elixir generate_and_process_foo generate_foo transform_foo process_foo Function.side_effect Is there an elegant way to return the input of a func...
[ -0.006561279296875, -0.00543212890625, -0.01446533203125, 0.0006561279296875, 0.00090789794921875, -0.017822265625, -0.0103759765625, -0.0142822265625, -0.000911712646484375, -0.050537109375, 0.00066375732421875, 0.02490234375, -0.015869140625, 0.039306640625, 0.01080322265625, 0.00958...
[ 27650, 3917, 47, 30646, 70, 107730, 111, 32354, 11814, 25318, 38308, 137158, 59801, 2685, 142, 15296, 139392, 2940, 63923, 3584, 31, 27198, 9433, 28670, 8752, 171760, 10, 23, 18151, 51339, 5609, 959, 517, 34292, 3444, 5775, 43257, 6397, 188...
[ 0.199951171875, 0.0950927734375, 0.06439208984375, 0.238525390625, 0.032958984375, 0.235107421875, 0.0889892578125, 0.2237548828125, 0.1436767578125, 0.1158447265625, 0.26025390625, 0.16650390625, 0.211181640625, 0.012725830078125, 0.01043701171875, 0.07305908203125, 0.1990966796875,...
embed
71138597_c0
71138597
elixir
0
Title: Dialyzer does not catch errors on returned functions Problem title: Dialyzer does not catch errors on returned functions Tags: elixir, typing, functional-programming, dialyzer Problem: Dialyzer does not catch errors on returned functions Background While playing around with dialyzer, typespecs and currying, I wa...
Dialyzer does not catch errors on returned functions Dialyzer does not catch errors on returned functions elixir typing functional-programming dialyzer Dialyzer Erlang OTP erts-12.2.1 smp:12:12 ds:12:12:10 async-threads:1 Elixir c5aab0d6e71e5522e77beff7ba9e08f8e02bad90dfbeffae60eaf0cb47e29488 c7987d15e899c7a2f34f5420d2...
[ 0.0089111328125, 0.007293701171875, -0.002685546875, -0.015869140625, 0, 0.00177764892578125, -0.000911712646484375, -0.006439208984375, -0.0029449462890625, -0.004974365234375, -0.00176239013671875, -0.0240478515625, 0.0081787109375, 0.0203857421875, 0.03662109375, 0.020751953125, -...
[ 4512, 538, 4383, 959, 105556, 18499, 98, 176377, 32354, 15296, 38308, 11417, 123309, 28966, 879, 1004, 3066, 23658, 933, 9955, 68107, 2676, 12654, 39116, 25318, 109613, 56216, 117396, 21732, 11969, 69328, 26040, 27026, 38679, 6002, 86531, 89110...
[ 0.124267578125, 0.17919921875, 0.222900390625, 0.084716796875, 0.1695556640625, 0.185791015625, 0.02606201171875, 0.181884765625, 0.1533203125, 0.045166015625, 0.236083984375, 0.1646728515625, 0.103759765625, 0.07562255859375, 0.0888671875, 0.052825927734375, 0.1973876953125, 0.108...
embed
33637418_c0
33637418
elixir
0
Title: Elixir + Phoenix on Heroku : Timeout error after 15 seconds Problem title: Elixir + Phoenix on Heroku : Timeout error after 15 seconds Tags: phoenix-framework, heroku, elixir, cowboy Problem: Elixir + Phoenix on Heroku : Timeout error after 15 seconds Context: I'm running a elixir+phoenix app https://github.com/...
Elixir + Phoenix on Heroku : Timeout error after 15 seconds Elixir + Phoenix on Heroku : Timeout error after 15 seconds phoenix-framework heroku elixir cowboy CaseClauseError Elixir Phoenix Heroku Timeout web.1 request_id cfaf-476f-a145-12d234b61c55 POST stub_urls stubonweb.herokuapp.com PID StubOnWeb.Endpoint Server s...
[ -0.0003681182861328125, 0.0118408203125, -0.0072021484375, -0.031005859375, 0.00921630859375, -0.00885009765625, 0.00531005859375, -0.01409912109375, -0.01422119140625, -0.0301513671875, 0.0042724609375, -0.00604248046875, 0.006591796875, -0.0015106201171875, 0.007293701171875, 0.00717...
[ 25318, 38308, 997, 133720, 98, 56889, 319, 19055, 6056, 18499, 7103, 423, 94131, 53073, 33, 4084, 160328, 40814, 15296, 552, 434, 30885, 43731, 26253, 18468, 1467, 50336, 1021, 162518, 11663, 81903, 136057, 25002, 18784, 8345, 14051, 90865, 9...
[ 0.1319580078125, 0.262939453125, 0.1453857421875, 0.277099609375, 0.07440185546875, 0.19140625, 0.2086181640625, 0.217041015625, 0.2183837890625, 0.2178955078125, 0.11669921875, 0.2288818359375, 0.2020263671875, 0.08453369140625, 0.105712890625, 0.1126708984375, 0.1239013671875, 0....
embed
37955240_c0
37955240
elixir
0
Title: How to configure Phoenix to serve different apps based on different IPs Problem title: How to configure Phoenix to serve different apps based on different IPs Tags: elixir, phoenix-framework Problem: How to configure Phoenix to serve different apps based on different IPs I would like to know how to make Phoenix ...
How to configure Phoenix to serve different apps based on different IPs How to configure Phoenix to serve different apps based on different IPs elixir phoenix-framework How Phoenix IPs endpoint.ex How to configure Phoenix to serve different apps based on different IPs I would like to know how to make Phoenix serve diff...
[ -0.0018157958984375, 0.006988525390625, 0.000579833984375, 0.02197265625, -0.01263427734375, 0.019287109375, -0.015869140625, -0.005218505859375, 0.01513671875, -0.026123046875, -0.0142822265625, 0.0120849609375, 0.0081787109375, 0.027587890625, -0.0120849609375, -0.00069427490234375, ...
[ 11249, 47, 222495, 133720, 21265, 12921, 49966, 35509, 98, 8021, 15296, 38308, 53073, 33, 4084, 160328, 18244, 7, 3564, 38496, 3355, 3642, 3249, 11675, 5701, 10723, 6275, 5659, 284, 136, 4027, 571, 51042, 11469, 111256, 50336, 1193, 1542, 9...
[ 0.08367919921875, 0.0716552734375, 0.241455078125, 0.30859375, 0.2044677734375, 0.1937255859375, 0.23193359375, 0.149658203125, 0.0101318359375, 0.19384765625, 0.0703125, 0.1983642578125, 0.09381103515625, 0.0926513671875, 0.1290283203125, 0.069580078125, 0.000885009765625, 0.03207...
embed
76377060_c0
76377060
elixir
0
Title: How to Convert updated_at to Conventional 12 Hour Format with My Time Zone? Problem title: How to Convert updated_at to Conventional 12 Hour Format with My Time Zone? Tags: elixir, timezone, ecto, datetime, datetime-conversion Problem: How to Convert updated_at to Conventional 12 Hour Format with My Time Zone? I...
How to Convert updated_at to Conventional 12 Hour Format with My Time Zone? How to Convert updated_at to Conventional 12 Hour Format with My Time Zone? elixir timezone ecto datetime datetime-conversion How Convert updated_at Conventional Hour Format Time Zone Calendar.strftime How to Convert updated_at to Conventional ...
[ -0.0167236328125, -0.009521484375, 0.01495361328125, -0.01025390625, 0.006805419921875, 0.00055694580078125, -0.003204345703125, 0.0186767578125, -0.00848388671875, -0.01171875, 0.0289306640625, 0.012939453125, 0.004425048828125, -0.0079345703125, 0.005889892578125, 0.0008392333984375,...
[ 11249, 1657, 11549, 150011, 454, 257, 47, 155358, 289, 427, 133250, 60972, 678, 2646, 19055, 81597, 15296, 38308, 1733, 18979, 60751, 5622, 6032, 2271, 46354, 105115, 9297, 420, 133720, 241, 44150, 76199, 590, 2676, 24, 4806, 13379, 3444, 9...
[ 0.0726318359375, 0.117431640625, 0.2017822265625, 0.214599609375, 0.06719970703125, 0.21484375, 0.093505859375, 0.1810302734375, 0.112060546875, 0.2010498046875, 0.233154296875, 0.2305908203125, 0.0830078125, 0.0955810546875, 0.13037109375, 0.161865234375, 0.080322265625, 0.1942138...
embed
33399767_c0
33399767
elixir
0
Title: Proper way to use different Layouts for Templates in Phoenix Problem title: Proper way to use different Layouts for Templates in Phoenix Tags: phoenix-framework, elixir Problem: Proper way to use different Layouts for Templates in Phoenix Is the proper/simplest way to change the Layout of a Template to use the p...
Proper way to use different Layouts for Templates in Phoenix Proper way to use different Layouts for Templates in Phoenix phoenix-framework elixir Proper Layouts Templates Phoenix put_layout MyPhoenix.AController MyPhoenix.Web _params LayoutA.html page1.html page2.html MyPhoenix.BController LayoutB.html Proper way to u...
[ 0.00799560546875, -0.004913330078125, 0.0125732421875, 0.00848388671875, 0.02001953125, 0.0031585693359375, -0.0228271484375, -0.004669189453125, 0.034423828125, -0.03125, -0.0025482177734375, 0.0034332275390625, 0.006134033203125, 0.00885009765625, -0.0028839111328125, 0.0172119140625...
[ 1250, 1264, 3917, 4527, 12921, 211032, 100, 196631, 7, 23, 133720, 53073, 33, 4084, 160328, 15296, 38308, 3884, 5259, 6056, 2646, 497, 175904, 603, 30474, 8256, 7693, 27798, 191560, 271, 15549, 55300, 28032, 27131, 22631, 8781, 27781, 3444, ...
[ 0.0628662109375, 0.077880859375, 0.05072021484375, 0.099853515625, 0.153076171875, 0.27880859375, 0.042755126953125, 0.2403564453125, 0.05987548828125, 0.0416259765625, 0.251220703125, 0.00970458984375, 0.066162109375, 0.07427978515625, 0.0197296142578125, 0.008544921875, 0.12890625,...
embed
68472194_c1
68472194
elixir
1
because of this. Worse, because the error messages occur asynchronously with the test, it's a pain to track down which test is missing the cleanup—you'll get the error some time after the offending test completes, but who knows how long after! Copy & paste the test macro from the ExUnit source into our shared test cod...
because of this. Worse, because the error messages occur asynchronously with the test, it's a pain to track down which test is missing the cleanup—you'll get the error some time after the offending test completes, but who knows how long after! Copy & paste the test macro from the ExUnit source into our shared test cod...
[ -0.0111083984375, 0.029052734375, 0.00537109375, 0.0025787353515625, -0.00012111663818359375, 0.015869140625, -0.005645751953125, -0.039794921875, 0.01263427734375, -0.0155029296875, -0.01153564453125, 0.00830078125, -0.007232666015625, 0.026611328125, 0.0172119140625, 0.0140380859375,...
[ 6637, 111, 903, 5, 145062, 184, 18499, 89914, 74918, 12654, 101966, 678, 3034, 442, 10, 24503, 28560, 7565, 3129, 83, 132283, 46622, 2037, 1733, 29114, 6238, 28484, 93002, 38, 146930, 619, 71099, 111789, 5443, 85600, 18, 31344, 2446, 99764,...
[ 0.122802734375, 0.059661865234375, 0.12646484375, 0.0249481201171875, 0.03955078125, 0.043060302734375, 0.2056884765625, 0.1220703125, 0.0753173828125, 0.074951171875, 0.1005859375, 0.052978515625, 0.24658203125, 0.016143798828125, 0.00665283203125, 0.06317138671875, 0.0640869140625,...
embed
67778331_c1
67778331
elixir
1
seed_script) do IO.puts("Running seed script..") # # CODE FAILS AT THIS STEP # Code.eval_file(seed_script) end end defp priv_path_for(repo, filename) do app = Keyword.get(repo.config, :otp_app) repo_underscore = repo |> Module.split() |> List.last() |> Macro.underscore() priv_dir = "#{:code.priv_dir(app)}" Code signals...
seed_script) do IO.puts("Running seed script..") # # CODE FAILS AT THIS STEP # Code.eval_file(seed_script) end end defp priv_path_for(repo, filename) do app = Keyword.get(repo.config, :otp_app) repo_underscore = repo |> Module.split() |> List.last() |> Macro.underscore() priv_dir = "#{:code.priv_dir(app)}" Code signals...
[ 0.01519775390625, 0.0196533203125, 0.005035400390625, 0.018798828125, 0.0196533203125, 0.004669189453125, 0.00970458984375, -0.0247802734375, 0.0113525390625, -0.0283203125, 0.00982666015625, 0.0020904541015625, 0.00634765625, 0.0201416015625, 0.000324249267578125, -0.0086669921875, ...
[ 40, 297, 454, 32032, 54, 17780, 7077, 163321, 592, 26499, 5, 8244, 8399, 15491, 16444, 17672, 12232, 9956, 185567, 28864, 13, 1405, 29822, 184, 3564, 8, 420, 254, 46827, 128405, 2472, 107, 771, 11435, 11627, 4027, 189755, 3794, 153837, 81...
[ 0.1688232421875, 0.21875, 0.0221405029296875, 0.2469482421875, 0.060211181640625, 0.1788330078125, 0.06866455078125, 0.13916015625, 0.105224609375, 0.258056640625, 0.009674072265625, 0.1497802734375, 0.1103515625, 0.111572265625, 0.10235595703125, 0.013946533203125, 0.0052490234375, ...
embed
31746087_c0
31746087
elixir
0
Title: exrm failed to build release Problem title: exrm failed to build release Tags: phoenix-framework, exrm, elixir Problem: exrm failed to build release I try to use exrm in my elixir project but it shows a very mysterious behaviour. This is my mix.exs: defmodule MyApp.Mixfile do use Mix.Project def project do [app:...
exrm failed to build release exrm failed to build release phoenix-framework exrm elixir MyApp.Mixfile Mix.Project my_app build_embedded Mix.env start_permanent MyApp Generating Generated fis_api Failed Please exrm failed to build release I try to use exrm in my elixir project but it shows a very mysterious behaviour. T...
[ -0.0189208984375, 0.031005859375, 0.007476806640625, 0.0035247802734375, -0.00012159347534179688, 0.00750732421875, -0.033203125, -0.01031494140625, 0.0003490447998046875, 0.01544189453125, 0.010986328125, -0.01141357421875, 0.01611328125, 0.0091552734375, 0.006622314453125, 0.00274658...
[ 1119, 42, 39, 165523, 45367, 54452, 53073, 33, 4084, 160328, 15296, 38308, 2646, 39179, 594, 29822, 37286, 223353, 759, 9007, 55720, 334, 4034, 669, 155370, 43894, 40897, 190355, 47, 9790, 4527, 13452, 824, 93905, 224833, 17664, 3355, 7, 51...
[ 0.139404296875, 0.21435546875, 0.1942138671875, 0.234130859375, 0.1988525390625, 0.203857421875, 0.030029296875, 0.039642333984375, 0.1446533203125, 0.0811767578125, 0.07427978515625, 0.2071533203125, 0.06219482421875, 0.160888671875, 0.083740234375, 0.1944580078125, 0.2314453125, ...
embed
73973639_c0
73973639
elixir
0
Title: How do I define new guards in Elixir? Problem title: How do I define new guards in Elixir? Tags: elixir Problem: How do I define new guards in Elixir? I'm trying make an extra guard for Elixir that tests if a Decimal is zero. I'm struggling; I'm not sure if should be use a defmacro, a defguard, both, or somethin...
How do I define new guards in Elixir? How do I define new guards in Elixir? elixir CompileError Decimal.Extended How Elixir Decimal Decimal.new Decimal.eq Kernel.defguard Decimal.Ex.Test IO.inspect Compilation helpers.ex helpers.ex:20 Decimal.Extended.zero Decimal.Ex.Test.test How do I define new guards in Elixir? I'm ...
[ -0.01513671875, 0.002655029296875, 0.0033416748046875, -0.007415771484375, 0.0196533203125, 0.0086669921875, -0.017578125, -0.00022220611572265625, -0.01068115234375, 0.01495361328125, -0.0166015625, -0.02685546875, -0.01080322265625, 0.016357421875, 0.01104736328125, -0.00288391113281...
[ 61924, 3525, 56050, 7, 23, 25318, 38308, 11249, 15296, 15612, 1340, 18468, 31611, 49132, 2749, 35548, 54936, 864, 119125, 583, 112, 420, 32116, 19279, 111337, 17780, 16711, 4358, 3355, 16619, 80510, 6954, 4173, 109921, 2174, 45234, 237875, 45...
[ 0.185791015625, 0.15771484375, 0.250244140625, 0.1407470703125, 0.06024169921875, 0.12109375, 0.247314453125, 0.009429931640625, 0.08514404296875, 0.06170654296875, 0.036956787109375, 0.046875, 0.01519775390625, 0.1663818359375, 0.12841796875, 0.1153564453125, 0.09161376953125, 0.0...
embed
31838764_c0
31838764
elixir
0
Title: special characters as option arguments in sigils Problem title: special characters as option arguments in sigils Tags: elixir Problem: special characters as option arguments in sigils In my progress of learning Elixir, I am trying to make a simple sigil to parse csv's. I have managed to make a sigil to do this, ...
special characters as option arguments in sigils special characters as option arguments in sigils elixir CommaSigil sigil_v String.rstrip String.split Enum.map Example test2 test3 Elixir Example.test IO.inspect Example.test2 Example.test3 special characters as option arguments in sigils In my progress of learning Elixi...
[ -0.0174560546875, -0.00164031982421875, 0.0036163330078125, -0.01123046875, -0.0096435546875, 0.0113525390625, -0.0036468505859375, 0.0198974609375, 0.0002422332763671875, 0.00726318359375, -0.0308837890625, -0.0159912109375, 0.033203125, 0.0213623046875, -0.02587890625, 0.014282226562...
[ 5361, 124850, 237, 35829, 10750, 1144, 7870, 15296, 38308, 3288, 8859, 8726, 379, 334, 23351, 59623, 4353, 316, 62346, 89536, 3034, 25318, 6954, 17780, 16711, 52080, 31577, 3249, 8781, 366, 184, 20763, 145755, 53418, 4488, 678, 27781, 2819, ...
[ 0.192138671875, 0.205810546875, 0.0596923828125, 0.2041015625, 0.1776123046875, 0.16650390625, 0.17822265625, 0.04351806640625, 0.173583984375, 0.0469970703125, 0.06024169921875, 0.1748046875, 0.161376953125, 0.17236328125, 0.078125, 0.105224609375, 0.0745849609375, 0.0732421875, ...
embed
62751361_c0
62751361
elixir
0
Title: Formulae.Combinators.permutations/2 wants an actual integer and not a variable Problem title: Formulae.Combinators.permutations/2 wants an actual integer and not a variable Tags: elixir Problem: Formulae.Combinators.permutations/2 wants an actual integer and not a variable The code: require Formulae.Combinators ...
Formulae.Combinators.permutations/2 wants an actual integer and not a variable Formulae.Combinators.permutations/2 wants an actual integer and not a variable elixir ArgumentError Formulae.Combinators Formulae.Combinators.permutations train_stations is_list number_of_trains first..last range.ex:63 Range.new trains.ex:86...
[ -0.0118408203125, 0.0086669921875, -0.0001850128173828125, -0.01025390625, 0.018310546875, 0.00921630859375, -0.0177001953125, -0.01251220703125, 0.00135040283203125, -0.0439453125, -0.0020599365234375, 0.0194091796875, 0.021728515625, 0.03466796875, 0.004119873046875, -0.017822265625,...
[ 72791, 13, 10770, 19155, 22230, 1264, 14311, 21094, 12477, 86171, 8561, 892, 1505, 959, 77336, 15296, 38308, 112140, 18468, 5, 25550, 41311, 83, 6562, 14012, 1517, 5425, 5117, 19777, 37457, 3355, 15748, 142462, 54936, 15276, 137879, 10, 18151...
[ 0.2115478515625, 0.1177978515625, 0.09466552734375, 0.2435302734375, 0.1363525390625, 0.0777587890625, 0.251220703125, 0.1258544921875, 0.175537109375, 0.1466064453125, 0.1981201171875, 0.158935546875, 0.1746826171875, 0.119384765625, 0.2249755859375, 0.072509765625, 0.1787109375, ...
embed
78107820_c0
78107820
elixir
0
Title: Disambiguate "arity denotation" and "arithmetic division" in Elixir Problem title: Disambiguate "arity denotation" and "arithmetic division" in Elixir Tags: elixir Problem: Disambiguate "arity denotation" and "arithmetic division" in Elixir I learned that &(X.f/1) denotes ...
Disambiguate "arity denotation" and "arithmetic division" in Elixir Disambiguate "arity denotation" and "arithmetic division" in Elixir elixir Disambiguate Elixir X.f Disambiguate "arity denotation" and "arithmetic division" in Elixir I learned that &(X.f/1) denotes the use of th...
[ -0.0035552978515625, -0.000713348388671875, -0.013427734375, -0.006072998046875, -0.01422119140625, -0.00124359130859375, 0.0216064453125, 0.0004558563232421875, 0.013916015625, 0.00457763671875, -0.005401611328125, -0.00064849853515625, -0.00007486343383789062, 0.0033721923828125, 0, ...
[ 28540, 16407, 147, 2481, 8, 157, 22062, 136, 8962, 282, 9523, 91853, 25318, 38308, 23, 15296, 1193, 5, 420, 619, 1542, 11583, 4527, 141621, 39933, 32354, 1238, 61924, 46132, 88996, 1556, 187, 615, 217064, 484, 109109, 3540, 109561, 6002, ...
[ 0.1046142578125, 0.0577392578125, 0.177978515625, 0.255615234375, 0.1083984375, 0.160888671875, 0.085693359375, 0.04962158203125, 0.1512451171875, 0.0723876953125, 0.0650634765625, 0.264892578125, 0.0958251953125, 0.25341796875, 0.0163421630859375, 0.052398681640625, 0.095458984375, ...
embed
56610377_c0
56610377
elixir
0
Title: Build series of datetimes with exclusions in Elixir Problem title: Build series of datetimes with exclusions in Elixir Tags: datetime, functional-programming, elixir Problem: Build series of datetimes with exclusions in Elixir I would like to generate a list of available time slots between two dates whilst remov...
Build series of datetimes with exclusions in Elixir Build series of datetimes with exclusions in Elixir datetime functional-programming elixir Build Elixir time_slots start_time end_time booking_start booking_end start_date end_date start_end available_slots Build series of datetimes with exclusions in Elixir I would l...
[ -0.014404296875, 0.00107574462890625, 0.009765625, -0.01220703125, -0.017333984375, 0.0007781982421875, -0.0223388671875, 0.0087890625, 0.0123291015625, -0.0245361328125, -0.00653076171875, 0.038330078125, 0.01434326171875, 0.0247802734375, 0.01385498046875, 0.000621795654296875, -0....
[ 121137, 36549, 5622, 70141, 678, 39041, 63239, 25318, 38308, 6032, 123309, 28966, 15296, 1733, 12631, 4034, 3564, 100124, 17137, 3611, 17489, 19882, 1884, 139392, 5303, 121892, 17721, 6626, 112474, 217982, 49146, 12877, 370, 99726, 5155, 70541, ...
[ 0.1590576171875, 0.133544921875, 0.092041015625, 0.1827392578125, 0.04473876953125, 0.169189453125, 0.0928955078125, 0.09130859375, 0.226318359375, 0.1402587890625, 0.097412109375, 0.07452392578125, 0.04046630859375, 0.1512451171875, 0.166015625, 0.03436279296875, 0.0304107666015625,...
embed
36329712_c0
36329712
elixir
0
Title: How to build erlang dependency with rebar and make at once in Elixir project Problem title: How to build erlang dependency with rebar and make at once in Elixir project Tags: elixir, elixir-mix Problem: How to build erlang dependency with rebar and make at once in Elixir project I wrote a erlport wrapper for eli...
How to build erlang dependency with rebar and make at once in Elixir project How to build erlang dependency with rebar and make at once in Elixir project elixir elixir-mix How Elixir github.com erlport.git ex_doc Users How to build erlang dependency with rebar and make at once in Elixir project I wrote a erlport wrappe...
[ -0.007293701171875, 0.017333984375, -0.0115966796875, -0.007659912109375, 0.00982666015625, 0.0048828125, -0.014404296875, 0.00872802734375, -0.0023193359375, 0.002197265625, 0.0068359375, -0.0257568359375, 0.02197265625, 0.034912109375, 0.0189208984375, 0.0118408203125, -0.018676757...
[ 11249, 45367, 72, 3066, 42548, 27771, 678, 456, 1299, 3249, 24145, 25318, 38308, 13452, 136, 15296, 62015, 62270, 32102, 141, 6982, 15769, 1119, 29713, 53400, 23, 137565, 1264, 2967, 9969, 1340, 237, 51046, 147, 180758, 134456, 17664, 3355, ...
[ 0.034820556640625, 0.141845703125, 0.1488037109375, 0.2413330078125, 0.18994140625, 0.117919921875, 0.055694580078125, 0.136962890625, 0.238525390625, 0.1275634765625, 0.13232421875, 0.10986328125, 0.221435546875, 0.1341552734375, 0.032318115234375, 0.05401611328125, 0.17578125, 0....
embed
72829610_c0
72829610
elixir
0
Title: Cast assoc for denormalized database in Elixir Ecto Problem title: Cast assoc for denormalized database in Elixir Ecto Tags: phoenix-framework, elixir, ecto Problem: Cast assoc for denormalized database in Elixir Ecto I have a denormalized database for high performence part of app which consists of 3 schemas: de...
Cast assoc for denormalized database in Elixir Ecto Cast assoc for denormalized database in Elixir Ecto phoenix-framework elixir ecto Postgrex.Error Cast Elixir Ecto has_many cast_assoc b_id belongs_to db_columns a_id ERROR not_null_violation Cast assoc for denormalized database in Elixir Ecto I have a denormalized dat...
[ 0.0078125, 0.006988525390625, 0.01318359375, 0.01483154296875, 0.03125, -0.00054931640625, -0.009521484375, -0.00396728515625, 0.0022430419921875, -0.03564453125, 0.0032196044921875, 0.010498046875, 0.004669189453125, 0.0380859375, -0.017822265625, -0.035888671875, -0.010009765625, ...
[ 32301, 63927, 238, 100, 8, 33176, 29367, 63399, 25318, 38308, 241, 44150, 33, 4084, 160328, 18244, 15296, 60751, 2795, 7134, 425, 18468, 31611, 1556, 669, 53, 37702, 73395, 876, 532, 10617, 40041, 8447, 316, 151206, 959, 139550, 158993, 111...
[ 0.217041015625, 0.1966552734375, 0.1556396484375, 0.0323486328125, 0.15625, 0.17236328125, 0.1104736328125, 0.212646484375, 0.1092529296875, 0.201416015625, 0.10205078125, 0.267333984375, 0.0322265625, 0.0869140625, 0.06884765625, 0.034454345703125, 0.056427001953125, 0.20141601562...
embed
54523667_c0
54523667
elixir
0
Title: Kernel.--/2 weird behaviour Problem title: Kernel.--/2 weird behaviour Tags: elixir Problem: Kernel.--/2 weird behaviour Consider the following code: iex|1 ▶ [:foo, :bar] -- [:foo, :bar] #⇒ [] So far, so good. But: iex|2 ▶ [:foo, :bar] -- [] -- [:foo, :bar] #⇒ [:foo, :bar] Even more, it’s not about right-to-left...
Kernel.--/2 weird behaviour Kernel.--/2 weird behaviour elixir Kernel IO.inspect Enum.reduce Kernel.--/2 weird behaviour Consider the following code: So far, so good. But: Even more, it’s not about right-to-left: Am I missing something obvious? What’s going on here? There should not be any magic, since Kernel.--/2 is s...
[ 0.0184326171875, 0.009033203125, 0.00714111328125, 0.00836181640625, -0.0030975341796875, 0.00531005859375, -0.0172119140625, 0.003082275390625, 0.017578125, -0.0031280517578125, 0.0130615234375, 0.0203857421875, 0.01904296875, 0.0115966796875, -0.005859375, -0.01263427734375, -0.000...
[ 119125, 583, 9, 12477, 179459, 224833, 15296, 38308, 17780, 16711, 357, 316, 107, 106357, 70, 18151, 2060, 221, 4127, 4966, 7108, 188, 2480, 132283, 162520, 98, 3688, 49846, 102329, 56, 3066, 133, 44084, 148390, 1614, 39989, 5303, 50339, 11...
[ 0.1829833984375, 0.1671142578125, 0.06512451171875, 0.21630859375, 0.174072265625, 0.1767578125, 0.0290069580078125, 0.18701171875, 0.12939453125, 0.11474609375, 0.044219970703125, 0.16259765625, 0.119384765625, 0.1827392578125, 0.0255279541015625, 0.05975341796875, 0.08056640625, ...
embed
62985043_c0
62985043
elixir
0
Title: module EEx is not available Problem title: module EEx is not available Tags: elixir, elixir-mix, docker Problem: module EEx is not available I'm creating an app and when I run it locally things run fine. However, when I run it inside a docker container, during runtime I get the error: ** (UndefinedFunctionError)...
module EEx is not available module EEx is not available elixir elixir-mix docker EEx extra_applicatoins mix.exs MyApp.Application extra_applications elixir:1.10 ENV MIX_ENV LANG C.UTF-8 RUN local.hex local.rebar ARG LOG_LEVEL WORKDIR COPY deps.get ENTRYPOINT my_app module EEx is not available I'm creating an app and wh...
[ 0.006256103515625, 0.005218505859375, 0.00130462646484375, 0.01336669921875, 0.009765625, 0.019775390625, 0.0037994384765625, -0.01470947265625, 0.00482177734375, 0.00634765625, 0.024658203125, -0.01458740234375, 0.034912109375, 0.033447265625, 0.0011444091796875, -0.00286865234375, ...
[ 88996, 241, 19279, 959, 19882, 15296, 38308, 62015, 54, 11050, 4173, 9007, 11048, 188, 17664, 3355, 2646, 39179, 47677, 182867, 101687, 963, 7338, 856, 276, 21487, 73386, 17376, 130747, 4000, 1106, 425, 1299, 48802, 47510, 51442, 231355, 1232...
[ 0.2587890625, 0.180419921875, 0.279541015625, 0.1053466796875, 0.18798828125, 0.113525390625, 0.2213134765625, 0.1971435546875, 0.0980224609375, 0.2255859375, 0.154052734375, 0.18896484375, 0.1429443359375, 0.027374267578125, 0.230224609375, 0.260986328125, 0.042022705078125, 0.139...
embed
54680958_c0
54680958
elixir
0
Title: Mysql Connection error on a new Phoenix 1.4 project Problem title: Mysql Connection error on a new Phoenix 1.4 project Tags: elixir, mysql, phoenix-framework Problem: Mysql Connection error on a new Phoenix 1.4 project I'm trying to setup a brand new phoenix 1.4 project with mysql on a macbook pro and I ran into...
Mysql Connection error on a new Phoenix 1.4 project Mysql Connection error on a new Phoenix 1.4 project elixir mysql phoenix-framework RuntimeError FunctionClauseError Mysql Connection Phoenix ecto.create phx.new GenServer PID exception.The You show_sensitive_data_on_connection_error protocol.ex:1092 Mariaex.Protocol.p...
[ 0.003265380859375, 0.0230712890625, 0.0120849609375, 0.00144195556640625, 0.00299072265625, 0.0125732421875, -0.032958984375, -0.0262451171875, 0.0037384033203125, -0.022216796875, -0.00787353515625, -0.0301513671875, 0.015380859375, 0.001251220703125, -0.01202392578125, -0.01495361328...
[ 2646, 7, 99247, 62448, 1830, 18499, 3525, 133720, 48733, 13452, 98, 15296, 38308, 759, 53073, 33, 4084, 160328, 28398, 6032, 18468, 31611, 28670, 26253, 60751, 7612, 2182, 11521, 425, 54936, 15937, 193348, 436, 7146, 131527, 2583, 7639, 17630...
[ 0.1817626953125, 0.0906982421875, 0.267822265625, 0.21142578125, 0.050933837890625, 0.1961669921875, 0.121337890625, 0.287109375, 0.2447509765625, 0.1524658203125, 0.01287841796875, 0.080322265625, 0.1815185546875, 0.1268310546875, 0.0728759765625, 0.030548095703125, 0.09490966796875...
embed
77079053_c0
77079053
elixir
0
Title: (Elixir/Erlang) :ets.select_count returns 0 Problem title: (Elixir/Erlang) :ets.select_count returns 0 Tags: elixir, erlang, ets Problem: (Elixir/Erlang) :ets.select_count returns 0 I'm writing a program using Elixir and I have a very strange error. I have a table, which contains some values stored like that: {a...
(Elixir/Erlang) :ets.select_count returns 0 (Elixir/Erlang) :ets.select_count returns 0 elixir erlang ets Elixir Erlang ets.select_count ets.select ets.new ets.insert IO.puts select_count (Elixir/Erlang) :ets.select_count returns 0 I'm writing a program using Elixir and I have a very strange error. I have a table, whic...
[ -0.00860595703125, 0.01422119140625, -0.0030059814453125, 0.005828857421875, -0.0123291015625, -0.0238037109375, -0.01483154296875, -0.003448486328125, 0.01055908203125, -0.01507568359375, 0.01025390625, 0.00154876708984375, 0.01220703125, 0.032470703125, 0.013427734375, -0.00494384765...
[ 647, 150, 38308, 18468, 3066, 7831, 7, 100184, 71013, 30646, 757, 64, 15296, 72, 82, 25318, 1004, 33657, 17780, 36849, 32562, 1528, 17368, 765, 4552, 114453, 18499, 23180, 70541, 142424, 4343, 1884, 876, 62, 36998, 34292, 831, 119140, 3444,...
[ 0.019561767578125, 0.08489990234375, 0.2396240234375, 0.1041259765625, 0.2509765625, 0.176513671875, 0.02880859375, 0.1614990234375, 0.1943359375, 0.1929931640625, 0.1744384765625, 0.0018310546875, 0.0760498046875, 0.0867919921875, 0.1114501953125, 0.10321044921875, 0.0816650390625, ...
embed
58283392_c1
58283392
elixir
1
:handle_cast, 2, [file: 'lib/graphitex/client.ex', line: 86]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 637]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 711]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}, %{socket: nil}) (stdlib) gen_server.erl:673: :g...
:handle_cast, 2, [file: 'lib/graphitex/client.ex', line: 86]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 637]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 711]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}, %{socket: nil}) (stdlib) gen_server.erl:673: :g...
[ -0.005859375, 0.0267333984375, -0.000202178955078125, -0.00061798095703125, -0.005767822265625, -0.024658203125, -0.016845703125, 0.0024566650390625, -0.006927490234375, 0.00762939453125, -0.00982666015625, -0.0181884765625, 0.00323486328125, -0.004058837890625, -0.00186920166015625, -...
[ 79628, 55741, 116, 29822, 5612, 41382, 14, 24371, 222978, 3355, 13315, 17281, 1409, 39642, 15123, 4453, 201, 5, 196049, 4432, 305, 217, 9007, 991, 27853, 17324, 9226, 195192, 30524, 2182, 18113, 174923, 12988, 10402, 1126, 538, 21672, 26008, ...
[ 0.14990234375, 0.162353515625, 0.0288543701171875, 0.082763671875, 0.07574462890625, 0.16162109375, 0.0242767333984375, 0.132080078125, 0.17138671875, 0.1370849609375, 0.03448486328125, 0.058837890625, 0.1646728515625, 0.150390625, 0.09161376953125, 0.08990478515625, 0.03533935546875...
embed
34476915_c0
34476915
elixir
0
Title: elixir plug: correct way to get form data from a post request Problem title: elixir plug: correct way to get form data from a post request Tags: elixir Problem: elixir plug: correct way to get form data from a post request I'm playing around with the plug router and trying to read the body of a simple post reque...
elixir plug: correct way to get form data from a post request elixir plug: correct way to get form data from a post request elixir a create_item _conn read_body send_resp parse_form_data elixir plug: correct way to get form data from a post request I'm playing around with the plug router and trying to read the body of ...
[ 0.0089111328125, 0.02294921875, -0.01336669921875, -0.000331878662109375, 0.00531005859375, 0.02001953125, -0.005035400390625, -0.00616455078125, 0.01043701171875, -0.0361328125, 0.036376953125, -0.0201416015625, -0.006500244140625, 0.00171661376953125, -0.00182342529296875, -0.0063476...
[ 15296, 38308, 76329, 26785, 3917, 2046, 3173, 2053, 1295, 1305, 50336, 28282, 217, 195, 2271, 12301, 37873, 25379, 2109, 254, 366, 184, 5037, 10135, 75169, 122188, 14361, 8781, 581, 2646, 137447, 89159, 9351, 73, 7077, 27494, 9191, 79315, 3...
[ 0.094970703125, 0.2183837890625, 0.2203369140625, 0.1192626953125, 0.05413818359375, 0.1121826171875, 0.255126953125, 0.1824951171875, 0.07476806640625, 0.1328125, 0.2041015625, 0.1287841796875, 0.08782958984375, 0.093505859375, 0.09716796875, 0.139404296875, 0.1749267578125, 0.049...
embed
39182881_c0
39182881
elixir
0
Title: How to Push a New Elixir Release on a Cluster Using exrm? Problem title: How to Push a New Elixir Release on a Cluster Using exrm? Tags: exrm, elixir Problem: How to Push a New Elixir Release on a Cluster Using exrm? I do have a simple elixir app running on one node, exrm is doing his job properly by upgrading/d...
How to Push a New Elixir Release on a Cluster Using exrm? How to Push a New Elixir Release on a Cluster Using exrm? exrm elixir How Push Elixir Release Cluster Using sync_nodes_optional sync_nodes_timeout x.x.x appname.tar.gz targethost:deploy How to Push a New Elixir Release on a Cluster Using exrm? I do have a simple...
[ 0.0030517578125, 0.0213623046875, -0.00457763671875, 0.0106201171875, 0.006805419921875, 0.00099945068359375, -0.017333984375, -0.01397705078125, 0.0181884765625, -0.0029144287109375, 0.010009765625, -0.01251220703125, 0.00628662109375, -0.01611328125, -0.00274658203125, -0.00185394287...
[ 11249, 114405, 2356, 25318, 38308, 152590, 98, 140077, 1515, 345, 1119, 42, 39, 15296, 6002, 157, 109585, 6032, 6056, 1022, 4027, 11627, 867, 30388, 40294, 112, 13158, 10, 8781, 51042, 1632, 110, 20594, 1919, 12447, 155965, 1257, 8961, 3469...
[ 0.0726318359375, 0.259521484375, 0.12939453125, 0.1243896484375, 0.271484375, 0.2078857421875, 0.04046630859375, 0.1756591796875, 0.16650390625, 0.07550048828125, 0.123046875, 0.184814453125, 0.20751953125, 0.09912109375, 0.1485595703125, 0.100341796875, 0.099365234375, 0.089477539...
embed
38037325_c0
38037325
elixir
0
Title: Elixir: how to post on a rest API (redmine) with httpotion Problem title: Elixir: how to post on a rest API (redmine) with httpotion Tags: elixir, json, redmine, rest Problem: Elixir: how to post on a rest API (redmine) with httpotion Hello I am trying to create and issue posting to Redmine API def createIssue(i...
Elixir: how to post on a rest API (redmine) with httpotion Elixir: how to post on a rest API (redmine) with httpotion elixir json redmine rest Elixir API project_id Example priority_id tracker_id Poison.Encoder.encode HTTPotion.post issues.json basic_auth Started POST Processing IssuesController JSON Parameters Current...
[ -0.007476806640625, -0.0146484375, 0.0225830078125, 0.0118408203125, -0.00555419921875, -0.01611328125, -0.01123046875, -0.0089111328125, -0.018798828125, -0.0096435546875, 0.031982421875, 0.0012359619140625, -0.00469970703125, -0.01336669921875, 0.0034637451171875, -0.01116943359375, ...
[ 25318, 38308, 3642, 1305, 98, 10588, 61687, 2822, 2962, 678, 1621, 31, 1363, 47, 15296, 1647, 1681, 4842, 13452, 532, 89536, 25343, 53, 28560, 56, 64249, 191, 587, 820, 40899, 135913, 4594, 37348, 170, 62822, 916, 13794, 81903, 123996, 22...
[ 0.1119384765625, 0.252685546875, 0.0645751953125, 0.1876220703125, 0.0919189453125, 0.194580078125, 0.1954345703125, 0.13232421875, 0.228271484375, 0.05810546875, 0.138671875, 0.09130859375, 0.1182861328125, 0.04144287109375, 0.0711669921875, 0.001251220703125, 0.1063232421875, 0.1...
embed
49777501_c0
49777501
elixir
0
Title: Phoenix framework Ecto give default value to timestamp Problem title: Phoenix framework Ecto give default value to timestamp Tags: phoenix-framework, elixir, ecto Problem: Phoenix framework Ecto give default value to timestamp I would like to know how auto fill "updated_at" and "inserted_at" columns generated by...
Phoenix framework Ecto give default value to timestamp Phoenix framework Ecto give default value to timestamp phoenix-framework elixir ecto Phoenix Ecto utc_datetime inserted_at updated_at ecto.migrate BOOLEAN DEFAULT NOT TIMESTAMP Phoenix framework Ecto give default value to timestamp I would like to know how auto fil...
[ 0.00341796875, -0.00028228759765625, 0.0272216796875, 0.003753662109375, 0.001220703125, -0.018310546875, -0.0166015625, -0.0031280517578125, -0.00543212890625, -0.00384521484375, -0.007293701171875, -0.004730224609375, 0.008544921875, 0.0274658203125, -0.013427734375, 0.0020751953125,...
[ 133720, 170846, 241, 44150, 8337, 114977, 34292, 47, 1733, 590, 2676, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 486, 238, 17489, 6032, 183540, 257, 150011, 58849, 137142, 105621, 1514, 14676, 82643, 86725, 110500, 22565, 1884, 3714, ...
[ 0.2452392578125, 0.2044677734375, 0.06268310546875, 0.25390625, 0.113525390625, 0.27734375, 0.1951904296875, 0.07244873046875, 0.143310546875, 0.1744384765625, 0.1865234375, 0.0169219970703125, 0.054901123046875, 0.09228515625, 0.0888671875, 0.06573486328125, 0.042205810546875, 0.1...
embed
76995109_c1
76995109
elixir
1
# The home page is often custom made, # so skip the default app layout. render(conn, :home, layout: false) end end What stands out to me here is that the warning refers to HelloWeb.HelloWeb.PageController though the module is named HelloWeb.PageController . I don't know the cause of the discrepancy, or even if it is r...
# The home page is often custom made, # so skip the default app layout. render(conn, :home, layout: false) end end What stands out to me here is that the warning refers to HelloWeb.HelloWeb.PageController though the module is named HelloWeb.PageController . I don't know the cause of the discrepancy, or even if it is r...
[ -0.000881195068359375, 0.0118408203125, 0.01055908203125, 0.00482177734375, 0.003692626953125, 0.0184326171875, -0.0167236328125, -0.0238037109375, -0.003631591796875, -0.049560546875, -0.00286865234375, -0.027587890625, 0.01153564453125, 0.0054931640625, -0.00156402587890625, -0.00123...
[ 5368, 9191, 83, 27983, 114122, 7228, 21658, 114977, 4027, 108802, 89159, 2271, 19, 29552, 98320, 3564, 9157, 1631, 592, 15005, 35378, 30474, 841, 13817, 147101, 175904, 603, 88996, 24, 4806, 87, 17116, 107, 3180, 31089, 44084, 18151, 12663, ...
[ 0.154296875, 0.1900634765625, 0.01983642578125, 0.140380859375, 0.1981201171875, 0.1397705078125, 0.1842041015625, 0.231201171875, 0.1810302734375, 0.262451171875, 0.151123046875, 0.069091796875, 0.010833740234375, 0.151123046875, 0.1251220703125, 0.048980712890625, 0.014175415039062...
embed
43850074_c0
43850074
elixir
0
Title: How can I get the user's name when using Oauth facebook with Phoenix? Problem title: How can I get the user's name when using Oauth facebook with Phoenix? Tags: oauth, phoenix-framework, elixir Problem: How can I get the user's name when using Oauth facebook with Phoenix? I'm using Oauth with facebook,...
How can I get the user's name when using Oauth facebook with Phoenix? How can I get the user's name when using Oauth facebook with Phoenix? oauth phoenix-framework elixir Oauth How Phoenix Ueberauth.Auth Ueberauth.Auth.Credentials expires_at refresh_token EAALqHWlJR50BAJYqHNIxcwLB9ayK2yzzaZBVqNHgLeAxz4MOoMaPG...
[ 0.017822265625, 0.0015716552734375, 0.01275634765625, 0.00372314453125, 0.007110595703125, 0.0277099609375, 0.003387451171875, 0.0047607421875, 0.0103759765625, -0.0322265625, -0.0107421875, -0.031005859375, -0.0023193359375, -0.0037689208984375, 0.004730224609375, 0.0032958984375, -...
[ 11249, 831, 87, 2046, 70, 38937, 3768, 74, 9351, 17368, 180, 916, 927, 10899, 678, 133720, 3229, 36, 53073, 33, 4084, 160328, 18244, 15296, 38308, 345, 13, 30108, 34, 67362, 2822, 80973, 14700, 50964, 210651, 6448, 47, 1098, 50986, 1517, ...
[ 0.081298828125, 0.08001708984375, 0.025177001953125, 0.1600341796875, 0.0487060546875, 0.221435546875, 0.1136474609375, 0.0640869140625, 0.2369384765625, 0.10467529296875, 0.1187744140625, 0.2047119140625, 0.2183837890625, 0.1927490234375, 0.1373291015625, 0.26611328125, 0.0080261230...
embed
51010131_c1
51010131
elixir
1
_name/lib/project_name_web/schema.ex:253: Purchased_at :utc_datetime is not defined in your schema. Types must exist if referenced. /home/vinay/Documents/project_name/lib/project_name_web/schema.ex:136: Joining_date :utc_datetime is not defined in your schema. Types must exist if referenced. /home/vinay/Documents/proje...
_name/lib/project_name_web/schema.ex:253: Purchased_at :utc_datetime is not defined in your schema. Types must exist if referenced. /home/vinay/Documents/project_name/lib/project_name_web/schema.ex:136: Joining_date :utc_datetime is not defined in your schema. Types must exist if referenced. /home/vinay/Documents/proje...
[ 0.01092529296875, -0.0040283203125, -0.006072998046875, 0.0211181640625, -0.021240234375, 0.008544921875, -0.031982421875, 0.0135498046875, 0.0022430419921875, -0.036865234375, -0.0089111328125, -0.0162353515625, 0.03125, -0.004486083984375, -0.00604248046875, 0.01202392578125, -0.01...
[ 11627, 5612, 95322, 14051, 7560, 192, 3355, 21224, 363, 16915, 28661, 297, 257, 1003, 238, 17489, 6032, 83, 959, 61924, 23, 61903, 60457, 8110, 32316, 91067, 29552, 27533, 53, 239469, 454, 131281, 113053, 214, 123439, 25474, 2055, 1596, 234...
[ 0.0657958984375, 0.1475830078125, 0.1417236328125, 0.11376953125, 0.1572265625, 0.1614990234375, 0.146240234375, 0.0909423828125, 0.122314453125, 0.1800537109375, 0.22607421875, 0.11474609375, 0.1339111328125, 0.165283203125, 0.1019287109375, 0.150390625, 0.216064453125, 0.03436279...
embed
43682469_c0
43682469
elixir
0
Title: confusing error message on constraint error Problem title: confusing error message on constraint error Tags: postgresql, phoenix-framework, elixir, ecto Problem: confusing error message on constraint error Ecto is throwing me the following error: ** (exit) an exception was raised: ** (Ecto.ConstraintError) const...
confusing error message on constraint error confusing error message on constraint error postgresql phoenix-framework elixir ecto Ecto.ConstraintError res_users_login_key unique_constraint res_users_login_index Indexes res_users_pkey PRIMARY KEY UNIQUE CONSTRAINT _key _index confusing error message on constraint error E...
[ -0.00077056884765625, 0.00030517578125, 0.0235595703125, -0.01708984375, 0.022216796875, -0.0079345703125, -0.0216064453125, -0.005889892578125, 0.0162353515625, -0.0174560546875, 0.0111083984375, -0.000873565673828125, 0.0220947265625, 0.01953125, -0.0030059814453125, 0.0091552734375,...
[ 55681, 6953, 18499, 26008, 98, 158, 2816, 4288, 1305, 17562, 99247, 4084, 160328, 15296, 38308, 60751, 241, 44150, 11935, 18468, 3332, 223, 4867, 73, 19770, 36998, 2271, 1314, 4711, 31471, 105029, 186104, 8274, 149577, 14452, 59020, 59537, 10...
[ 0.1339111328125, 0.06915283203125, 0.231201171875, 0.1075439453125, 0.0794677734375, 0.0994873046875, 0.197021484375, 0.145263671875, 0.05609130859375, 0.1199951171875, 0.1416015625, 0.021240234375, 0.00128173828125, 0.011077880859375, 0.121337890625, 0.1898193359375, 0.0772705078125...
embed
54607314_c2
54607314
elixir
2
24:33.873 [error] Postgrex.Protocol (#PID<0.245.0>) failed to connect: ** (Postgrex.Error) FATAL 28000 (invalid_authorization_specification) role "postgres" does not exist 21:24:33.873 [error] Postgrex.Protocol (#PID<0.246.0>) Code signals: Postgrex.Error, DBConnection.ConnectionError, queue, queue_target, Heroku, Phoe...
24:33.873 [error] Postgrex.Protocol (#PID<0.245.0>) failed to connect: ** (Postgrex.Error) FATAL 28000 (invalid_authorization_specification) role "postgres" does not exist 21:24:33.873 [error] Postgrex.Protocol (#PID<0.246.0>) Code signals: Postgrex.Error, DBConnection.ConnectionError, queue, queue_target, Heroku, Phoe...
[ 0.01904296875, 0.0179443359375, 0.004364013671875, 0.0145263671875, -0.0076904296875, -0.0123291015625, -0.013427734375, -0.04150390625, 0.0040283203125, 0.0033111572265625, 0.0206298828125, -0.020751953125, 0.0021820068359375, 0.002471923828125, -0.0016632080078125, 0.01055908203125, ...
[ 744, 31191, 19308, 363, 188800, 2795, 7134, 425, 5, 10752, 188, 8447, 4904, 683, 7146, 133684, 617, 187461, 165523, 47, 37067, 16459, 49411, 18468, 31611, 15491, 30487, 116, 87774, 73, 7013, 1003, 5922, 47691, 159975, 31486, 4594, 17562, 14...
[ 0.13037109375, 0.177001953125, 0.1539306640625, 0.114501953125, 0.231689453125, 0.1507568359375, 0.22119140625, 0.197509765625, 0.036102294921875, 0.0775146484375, 0.1541748046875, 0.1480712890625, 0.0159149169921875, 0.07373046875, 0.168701171875, 0.119384765625, 0.062103271484375, ...
embed
36457934_c0
36457934
elixir
0
Title: Writing a custom assertion macro Problem title: Writing a custom assertion macro Tags: elixir Problem: Writing a custom assertion macro Sometimes I have to compare multiline strings in my Elixir tests and it is hard to read when all the lines are printed inline like line1\nline2\nline3 . I would like to write a ...
Writing a custom assertion macro Writing a custom assertion macro elixir ExUnit.AssertionError CustomCompare Writing line1 nline2 nline3 CompareAssertion __using__ translate_assertion Macro.escape Expected render_columns col_a col_b Writing a custom assertion macro Sometimes I have to compare multiline strings in my El...
[ -0.0263671875, 0.00049591064453125, -0.01214599609375, 0.0252685546875, -0.0179443359375, 0.016357421875, -0.004302978515625, -0.0142822265625, 0.00341796875, 0.0263671875, -0.005889892578125, 0.023193359375, 0.0037078857421875, -0.0084228515625, 0.0115966796875, 0.004425048828125, 0...
[ 213185, 114122, 10, 16865, 1363, 111789, 15296, 38308, 5443, 85600, 284, 18468, 130664, 108161, 1046, 13315, 418, 2256, 304, 363, 113307, 13, 3900, 19309, 4727, 516, 98224, 60075, 89159, 8447, 316, 3365, 11, 275, 69101, 6024, 79315, 25318, ...
[ 0.1531982421875, 0.2119140625, 0.07403564453125, 0.22607421875, 0.095703125, 0.226318359375, 0.06854248046875, 0.2044677734375, 0.068115234375, 0.0888671875, 0.029693603515625, 0.046966552734375, 0.15771484375, 0.14599609375, 0.1275634765625, 0.0816650390625, 0.017913818359375, 0.1...
embed
53006128_c0
53006128
elixir
0
Title: ExUnit triggers Empty Error with setup_all block Problem title: ExUnit triggers Empty Error with setup_all block Tags: ex-unit, elixir Problem: ExUnit triggers Empty Error with setup_all block I have a test which requires preinserted data. So I am trying to setup those data with setup_all callback as those data ...
ExUnit triggers Empty Error with setup_all block ExUnit triggers Empty Error with setup_all block ex-unit elixir ExUnit Empty Error setup_all create_languages create_regions create_currencies create_user update_core region_id get_region create_core Cores.update_core region.id core.region_id IO.inspect ExUnit triggers E...
[ 0.00946044921875, -0.01373291015625, -0.008544921875, 0.01611328125, 0.0033416748046875, -0.00390625, -0.00077056884765625, -0.0244140625, 0.0223388671875, 0.01708984375, -0.01153564453125, -0.00020694732666015625, 0.0137939453125, -0.005950927734375, 0.0262451171875, 0.013427734375, ...
[ 5443, 85600, 18, 185553, 31678, 939, 212059, 678, 169581, 5584, 46389, 1119, 309, 217, 15296, 38308, 28282, 196651, 80938, 65918, 28350, 30854, 10776, 2046, 31365, 117008, 56458, 17780, 16711, 3034, 144570, 479, 33657, 2053, 11782, 12620, 831, ...
[ 0.157470703125, 0.2120361328125, 0.06719970703125, 0.1884765625, 0.1754150390625, 0.134765625, 0.159423828125, 0.0228118896484375, 0.1932373046875, 0.177490234375, 0.164794921875, 0.1512451171875, 0.1405029296875, 0.003082275390625, 0.046630859375, 0.1815185546875, 0.10400390625, 0...
embed
60151752_c0
60151752
elixir
0
Title: Recursive macro Elixir Problem title: Recursive macro Elixir Tags: elixir, macros Problem: Recursive macro Elixir I am playing around with Elixir macros - specifically macros that call themselves which is something that I do often in Scheme. I have created a little test macro below however it just hangs iex - no...
Recursive macro Elixir Recursive macro Elixir elixir macros Recursive Elixir RecMac test_rec IO.puts Started Done Where RecMac.test_rec IO.inspect Recursive macro Elixir I am playing around with Elixir macros - specifically macros that call themselves which is something that I do often in Scheme. I have created a littl...
[ -0.01141357421875, 0.023193359375, 0.0118408203125, 0.0213623046875, 0.005615234375, 0.02587890625, -0.005126953125, -0.0040283203125, 0.0167236328125, -0.006439208984375, -0.010498046875, -0.0296630859375, -0.0020751953125, 0.00799560546875, 0.0269775390625, -0.0128173828125, -0.003...
[ 853, 48650, 5844, 111789, 25318, 38308, 15296, 48224, 55450, 3034, 31688, 17780, 7077, 13794, 984, 78662, 6954, 16711, 75169, 10932, 11782, 61261, 27983, 34702, 282, 75935, 10176, 35064, 1660, 10756, 7, 17, 3355, 33720, 28412, 47, 130250, 149...
[ 0.07940673828125, 0.2205810546875, 0.1846923828125, 0.23876953125, 0.1087646484375, 0.262451171875, 0.055938720703125, 0.11962890625, 0.1640625, 0.1961669921875, 0.1583251953125, 0.175537109375, 0.0625, 0.1187744140625, 0.07574462890625, 0.0151824951171875, 0.138671875, 0.098999023...
embed
58905681_c0
58905681
elixir
0
Title: How to destructure/decode JSON within the function&#x27;s arguments? Problem title: How to destructure/decode JSON within the function&#x27;s arguments? Tags: phoenix-framework, elixir Problem: How to destructure/decode JSON within the function's arguments? I'm very new to Elixir and am trying to build my first ...
How to destructure/decode JSON within the function&#x27;s arguments? How to destructure/decode JSON within the function&#x27;s arguments? phoenix-framework elixir How JSON phx.new AuthWeb.AuthController AuthWeb IO.puts google.com router.ex XPOST localhost:4000 FILTERED How to destructure/decode JSON within the function...
[ -0.006195068359375, 0.01007080078125, -0.014404296875, -0.004547119140625, 0.01458740234375, 0.005157470703125, -0.02197265625, 0.01123046875, -0.0028533935546875, -0.0311279296875, 0.003265380859375, -0.0191650390625, -0.00634765625, 0.0240478515625, -0.0029754638671875, 0.02355957031...
[ 11249, 47, 8, 137656, 64, 112, 40899, 821, 58627, 28032, 32354, 3768, 10750, 32, 53073, 33, 4084, 160328, 18244, 15296, 38308, 11521, 425, 54936, 5655, 927, 30474, 67362, 175904, 603, 17780, 7077, 26484, 277, 122188, 3355, 45005, 34274, 400...
[ 0.08038330078125, 0.04241943359375, 0.2275390625, 0.30712890625, 0.0836181640625, 0.193115234375, 0.2430419921875, 0.200439453125, 0.265380859375, 0.166748046875, 0.1905517578125, 0.0762939453125, 0.2271728515625, 0.00494384765625, 0.026580810546875, 0.046905517578125, 0.085571289062...
embed
40478062_c0
40478062
elixir
0
Title: Ecto query for self-referencing association Problem title: Ecto query for self-referencing association Tags: elixir, ecto, join, phoenix-framework Problem: Ecto query for self-referencing association So I've implemented a User self-referencing association as a way for a user to follow another user ...the typical...
Ecto query for self-referencing association Ecto query for self-referencing association elixir ecto join phoenix-framework Ecto User App.User has_many App.Follower foreign_key followed_id user2 followed_by Follower belongs_to Ecto query for self-referencing association So I've implemented a User self-referencing associ...
[ 0.01361083984375, -0.0054931640625, 0.000888824462890625, 0.0198974609375, -0.0093994140625, 0.00537109375, 0.001922607421875, 0.01007080078125, 0.012451171875, -0.040283203125, -0.005859375, 0.0028076171875, -0.00994873046875, 0.0157470703125, -0.000316619873046875, -0.00933837890625,...
[ 241, 44150, 41, 1294, 100, 15970, 107, 69988, 214, 125413, 15296, 38308, 60751, 33284, 53073, 33, 4084, 160328, 53400, 5659, 1062, 2189, 1556, 669, 53, 27591, 41566, 56, 110613, 19770, 134629, 532, 38937, 304, 77168, 10617, 29479, 3917, 47,...
[ 0.108154296875, 0.29541015625, 0.1719970703125, 0.1533203125, 0.036529541015625, 0.1585693359375, 0.110107421875, 0.229248046875, 0.05389404296875, 0.21240234375, 0.047332763671875, 0.1669921875, 0.225830078125, 0.157470703125, 0.0240020751953125, 0.041778564453125, 0.099365234375, ...
embed
34258853_c0
34258853
elixir
0
Title: How does broadcasting from a Phoenix Channel hit clients on other nodes? Problem title: How does broadcasting from a Phoenix Channel hit clients on other nodes? Tags: phoenix-framework, elixir, actioncable Problem: How does broadcasting from a Phoenix Channel hit clients on other nodes? I'm trying to compare Pho...
How does broadcasting from a Phoenix Channel hit clients on other nodes? How does broadcasting from a Phoenix Channel hit clients on other nodes? phoenix-framework elixir actioncable a How Phoenix Channel How does broadcasting from a Phoenix Channel hit clients on other nodes? I'm trying to compare Phoenix Channels wit...
[ 0.0025787353515625, 0.0169677734375, 0.01202392578125, 0.0185546875, 0.0017242431640625, 0.01409912109375, 0.00482177734375, -0.006134033203125, -0.0034637451171875, -0.020263671875, 0.004425048828125, -0.0194091796875, 0.01165771484375, 0.01031494140625, -0.018798828125, 0.01019287109...
[ 11249, 226347, 214, 1295, 133720, 55969, 5962, 19802, 3789, 110, 988, 53073, 33, 4084, 160328, 38308, 22631, 238, 2886, 14602, 69101, 85736, 7, 57945, 441, 4002, 8912, 27853, 4527, 6096, 164, 34831, 105269, 96472, 26008, 756, 106117, 138, 6...
[ 0.0810546875, 0.197021484375, 0.05975341796875, 0.03521728515625, 0.267822265625, 0.21044921875, 0.1600341796875, 0.229248046875, 0.1064453125, 0.10888671875, 0.141845703125, 0.0108642578125, 0.0509033203125, 0.078125, 0.0452880859375, 0.10986328125, 0.10107421875, 0.01466369628906...
embed
48557128_c0
48557128
elixir
0
Title: Ecto: How to preload records with selecting another joined columns Problem title: Ecto: How to preload records with selecting another joined columns Tags: ecto, phoenix-framework, elixir Problem: Ecto: How to preload records with selecting another joined columns Are there any ways to preload records by selecting...
Ecto: How to preload records with selecting another joined columns Ecto: How to preload records with selecting another joined columns ecto phoenix-framework elixir Ecto.QueryError post Ecto How User PostTag Tag has_many post_tags post.user_id user.id post.id post.title user_name user.name Repo.all AAA John BBB Mike Ect...
[ 0.00007772445678710938, -0.01129150390625, -0.00665283203125, 0.031494140625, -0.00762939453125, -0.002960205078125, -0.0079345703125, 0.00750732421875, 0.006378173828125, -0.055908203125, 0.014404296875, 0.0022735595703125, -0.0361328125, 0.0027618408203125, -0.01611328125, 0.01367187...
[ 241, 44150, 12, 11249, 479, 63033, 115923, 678, 36849, 15700, 33284, 3365, 316, 60751, 33, 4084, 160328, 18244, 15296, 38308, 18468, 31611, 53400, 2795, 66448, 4837, 1556, 669, 53, 1305, 75985, 65918, 38937, 5440, 771, 5584, 155616, 4939, 3...
[ 0.0771484375, 0.26904296875, 0.0037841796875, 0.0628662109375, 0.1434326171875, 0.21826171875, 0.178955078125, 0.051483154296875, 0.1181640625, 0.1173095703125, 0.181640625, 0.122314453125, 0.1234130859375, 0.2021484375, 0.006378173828125, 0.058837890625, 0.07684326171875, 0.021697...
embed
36114097_c0
36114097
elixir
0
Title: Ecto SQL Fragment fails, why? Problem title: Ecto SQL Fragment fails, why? Tags: elixir, ecto, sql Problem: Ecto SQL Fragment fails, why? Trying to execute SQL fragment: Repo.all from p in Posts, where: fragment("lower(?) in ?", p.title, ^["some-title"]) But it fails, it generates following SQL and the error: SE...
Ecto SQL Fragment fails, why? Ecto SQL Fragment fails, why? elixir ecto sql Postgrex.Error ArgumentError p Ecto SQL Fragment Repo.all Posts p.title SELECT WHERE ERROR syntax_error Postgrex Please Ecto SQL Fragment fails, why? Trying to execute SQL fragment: But it fails, it generates following SQL and the error: UPDATE...
[ 0.007568359375, -0.00144195556640625, -0.002655029296875, -0.0048828125, -0.01806640625, -0.0006256103515625, -0.007354736328125, 0.0045166015625, -0.017333984375, -0.018798828125, 0.006317138671875, 0.0189208984375, -0.017822265625, -0.004425048828125, -0.002716064453125, 0.0033569335...
[ 241, 44150, 80866, 235871, 35782, 7, 15400, 15296, 38308, 60751, 91, 99247, 2795, 7134, 425, 18468, 31611, 112140, 915, 771, 5584, 5440, 6755, 144832, 30096, 151206, 6002, 86531, 188800, 30607, 40858, 71924, 38551, 139392, 25632, 18499, 161521,...
[ 0.0743408203125, 0.24462890625, 0.2015380859375, 0.25390625, 0.1817626953125, 0.0213775634765625, 0.0753173828125, 0.037628173828125, 0.1695556640625, 0.2205810546875, 0.006683349609375, 0.16748046875, 0.1009521484375, 0.157958984375, 0.1136474609375, 0.060272216796875, 0.01116943359...
embed
66043381_c0
66043381
elixir
0
Title: Elixir: DBConnection queue_target and queue_interval explained Problem title: Elixir: DBConnection queue_target and queue_interval explained Tags: dbconnection, elixir, timeout Problem: Elixir: DBConnection queue_target and queue_interval explained I am reading DBConnection documentation . And I don't quite unde...
Elixir: DBConnection queue_target and queue_interval explained Elixir: DBConnection queue_target and queue_interval explained dbconnection elixir timeout Elixir.DBConnection.ConnectionError Elixir DBConnection queue_target queue_interval Elixir: DBConnection queue_target and queue_interval explained I am reading DBConn...
[ 0.015869140625, -0.0019989013671875, -0.00982666015625, 0.00799560546875, -0.00506591796875, -0.00860595703125, -0.0238037109375, -0.0235595703125, 0.0033416748046875, -0.00311279296875, 0.017822265625, -0.019287109375, 0.005218505859375, 0.0120849609375, -0.01416015625, -0.00891113281...
[ 25318, 38308, 12, 57976, 235603, 1830, 41, 13388, 867, 3794, 136, 10433, 1405, 189050, 40041, 135457, 15296, 1733, 6056, 39463, 18468, 209806, 28219, 73342, 27781, 4027, 4552, 41018, 71924, 120164, 4488, 56, 1884, 765, 106, 67403, 756, 5423, ...
[ 0.10791015625, 0.2218017578125, 0.011871337890625, 0.177490234375, 0.1912841796875, 0.0848388671875, 0.1292724609375, 0.1387939453125, 0.1820068359375, 0.1861572265625, 0.06317138671875, 0.111572265625, 0.1630859375, 0.100341796875, 0.09912109375, 0.1456298828125, 0.0638427734375, ...
embed
61318880_c0
61318880
elixir
0
Title: Why does a Highcharts chart disappear after mounting the LiveView a second time? Problem title: Why does a Highcharts chart disappear after mounting the LiveView a second time? Tags: phoenix-live-view, elixir, phoenix-framework Problem: Why does a Highcharts chart disappear after mounting the LiveView a second t...
Why does a Highcharts chart disappear after mounting the LiveView a second time? Why does a Highcharts chart disappear after mounting the LiveView a second time? phoenix-live-view elixir phoenix-framework Why Highcharts LiveView live_patch Dashboard live_redirect dashboard_live.html.leex chart_id Why does a Highcharts ...
[ -0.004913330078125, -0.0140380859375, -0.00177001953125, -0.0032806396484375, 0.0166015625, -0.0126953125, -0.0157470703125, 0.01080322265625, 0.004913330078125, -0.021240234375, 0.009521484375, -0.0269775390625, -0.0181884765625, -0.0157470703125, 0.013427734375, 0.0089111328125, -0...
[ 44084, 14602, 19694, 9254, 933, 116287, 213566, 7103, 931, 128396, 9251, 100474, 17932, 1733, 33, 4084, 24056, 22751, 15296, 38308, 160328, 6867, 4453, 1858, 24351, 80581, 239721, 7693, 133, 3355, 532, 23752, 11814, 25318, 92134, 133684, 133720...
[ 0.102294921875, 0.019287109375, 0.14697265625, 0.2291259765625, 0.1131591796875, 0.24072265625, 0.204833984375, 0.06524658203125, 0.028045654296875, 0.101318359375, 0.1365966796875, 0.294921875, 0.1661376953125, 0.1280517578125, 0.013092041015625, 0.06060791015625, 0.0816650390625, ...
embed
46116583_c0
46116583
elixir
0
Title: Why elixir debugger is calling built-in function instead of mine if they have same name Problem title: Why elixir debugger is calling built-in function instead of mine if they have same name Tags: elixir, debugging, beam, erlang Problem: Why elixir debugger is calling built-in function instead of mine if they ha...
Why elixir debugger is calling built-in function instead of mine if they have same name Why elixir debugger is calling built-in function instead of mine if they have same name elixir debugging beam erlang IEx Why Test call_put IEx.pry call_get IO.puts Doing Test.call_get Break test.ex:7 Test.get Why elixir debugger is ...
[ -0.0025634765625, 0.00799560546875, 0.00142669677734375, 0.01324462890625, 0.0067138671875, 0.017333984375, 0.01336669921875, -0.00537109375, 0.023193359375, -0.033935546875, 0.018798828125, 0.0196533203125, -0.0034637451171875, -0.007720947265625, 0.0279541015625, -0.00640869140625, ...
[ 44084, 15296, 38308, 8, 978, 21407, 159029, 88303, 73, 32354, 64457, 5665, 2174, 5701, 9351, 765, 36659, 186, 302, 72, 3066, 87, 19279, 8647, 11782, 7077, 1294, 3794, 17780, 85763, 131904, 3034, 3355, 966, 8781, 88996, 116, 36356, 38496, ...
[ 0.07275390625, 0.08892822265625, 0.21923828125, 0.131591796875, 0.21728515625, 0.158203125, 0.129150390625, 0.133544921875, 0.13818359375, 0.17822265625, 0.1295166015625, 0.1512451171875, 0.0235137939453125, 0.1146240234375, 0.0875244140625, 0.0154876708984375, 0.0103759765625, 0.0...
embed
58507261_c1
58507261
elixir
1
_TIMING.jpg"] They mostly in my local drive through which I am doing File.ls(@picture_directory) all these are pictures for 3 cameras, which have an identifier as cameras = %{ "Camera_1_615696208_" => "nch1-zcpes", "camera2_615696156_" => "nch2-zkhcy", "192.168.1.225_01_" => "nch3-ipljs" } left sides are the prefix bef...
_TIMING.jpg"] They mostly in my local drive through which I am doing File.ls(@picture_directory) all these are pictures for 3 cameras, which have an identifier as cameras = %{ "Camera_1_615696208_" => "nch1-zcpes", "camera2_615696156_" => "nch2-zkhcy", "192.168.1.225_01_" => "nch3-ipljs" } left sides are the prefix bef...
[ 0.0062255859375, -0.0213623046875, -0.0037841796875, 0.01214599609375, 0.00555419921875, 0.012451171875, -0.005218505859375, -0.00738525390625, -0.01165771484375, -0.040283203125, 0.0074462890625, 0.0205078125, 0.005584716796875, -0.00933837890625, -0.00286865234375, 0.0011444091796875...
[ 68665, 23186, 25687, 10660, 153161, 23, 4000, 22648, 8305, 42724, 8080, 18695, 80581, 756, 6097, 75073, 100, 138, 15593, 42485, 1745, 105272, 1704, 1837, 196325, 154782, 206, 20268, 13569, 124999, 304, 155740, 18504, 10684, 2947, 93657, 144025,...
[ 0.269775390625, 0.2369384765625, 0.1722412109375, 0.05572509765625, 0.0777587890625, 0.0379638671875, 0.061798095703125, 0.0867919921875, 0.1334228515625, 0.151611328125, 0.120361328125, 0.04132080078125, 0.034454345703125, 0.00213623046875, 0.006988525390625, 0.1800537109375, 0.0364...
embed
67200268_c0
67200268
elixir
0
Title: After live_redirect form does not throw phx-change Problem title: After live_redirect form does not throw phx-change Tags: phoenix-live-view, phoenix-framework, elixir Problem: After live_redirect form does not throw phx-change I have a problem with handling phx-change on a form in LiveView. I am creating a sear...
After live_redirect form does not throw phx-change After live_redirect form does not throw phx-change phoenix-live-view phoenix-framework elixir After live_redirect search_list Search handle_event IO.inspect Searching After live_redirect form does not throw phx-change I have a problem with handling phx-change on a form...
[ -0.0179443359375, 0.018798828125, 0.00592041015625, 0.0008544921875, -0.01043701171875, -0.0108642578125, 0.0015716552734375, 0.0107421875, 0.00113677978515625, -0.01611328125, 0.01068115234375, -0.00927734375, 0.003692626953125, 0.032470703125, 0.01043701171875, -0.01708984375, -0.0...
[ 24372, 6867, 107, 80581, 3173, 959, 104250, 11521, 425, 152028, 53073, 33, 4084, 24056, 22751, 160328, 15296, 38308, 33938, 6562, 33086, 34831, 90141, 17780, 16711, 2967, 45064, 9251, 100474, 105233, 44457, 46312, 5303, 36746, 168398, 77679, 33...
[ 0.07122802734375, 0.1781005859375, 0.07952880859375, 0.20947265625, 0.1761474609375, 0.0933837890625, 0.1619873046875, 0.1246337890625, 0.1566162109375, 0.2142333984375, 0.0277252197265625, 0.0252227783203125, 0.070556640625, 0.12109375, 0.2261962890625, 0.050872802734375, 0.01333618...
embed
44350218_c0
44350218
elixir
0
Title: Bootstrap tooltips in eex templates Problem title: Bootstrap tooltips in eex templates Tags: elixir, phoenix-framework, twitter-bootstrap Problem: Bootstrap tooltips in eex templates I have a bootstrap tooltip. A test link works OK here: <a data-tooltip="I am tooltip text" data-placement="left">Clickame</a> I ha...
Bootstrap tooltips in eex templates Bootstrap tooltips in eex templates elixir phoenix-framework twitter-bootstrap Bootstrap Clickame post_path Bootstrap tooltips in eex templates I have a bootstrap tooltip. A test link works OK here: I have an eex link: I tried to wrap anchor tags around the link: ... didn't work. The...
[ 0.021484375, 0.00469970703125, 0.0147705078125, -0.033935546875, 0.0203857421875, 0.00738525390625, 0.0152587890625, 0.0142822265625, -0.002197265625, -0.064453125, -0.0218505859375, -0.0128173828125, -0.0111083984375, 0.0074462890625, -0.004913330078125, -0.006683349609375, -0.01184...
[ 58800, 7, 107617, 55516, 41201, 23, 28, 3355, 110934, 38308, 4084, 160328, 34776, 80765, 21138, 15516, 1305, 128405, 49935, 30019, 3034, 3126, 43240, 14315, 137565, 72988, 69141, 10932, 4488, 25647, 158189, 98, 85736, 345, 92285, 678, 188, 12...
[ 0.102294921875, 0.008270263671875, 0.247314453125, 0.162841796875, 0.25048828125, 0.005218505859375, 0.0638427734375, 0.19091796875, 0.2265625, 0.1517333984375, 0.0625, 0.0721435546875, 0.1119384765625, 0.044036865234375, 0.0672607421875, 0.1827392578125, 0.0396728515625, 0.1291503...
embed
44188165_c0
44188165
elixir
0
Title: Elixir Genserver access it&#x27;s own struct data Problem title: Elixir Genserver access it&#x27;s own struct data Tags: elixir, gen-server Problem: Elixir Genserver access it's own struct data I have an elixir Genserver module that gets initialized with a defstruct But I can't figure out how to access the data ...
Elixir Genserver access it&#x27;s own struct data Elixir Genserver access it&#x27;s own struct data elixir gen-server handle_info Elixir Genserver test_data get_info GenServer.call handle_call _from state.info do_test GenServer.info print_your_own_data_test IO.put self.info Elixir Genserver access it's own struct data ...
[ -0.002593994140625, 0.01409912109375, -0.0042724609375, 0.0147705078125, 0.01495361328125, 0.0023345947265625, 0.01043701171875, -0.012939453125, 0.00041961669921875, -0.039794921875, 0.0078125, 0.0047607421875, -0.00156402587890625, 0.0240478515625, 0.0064697265625, 0.024169921875, ...
[ 25318, 38308, 15937, 39642, 17203, 442, 3768, 10002, 36716, 2053, 15296, 9226, 34831, 7319, 3034, 10135, 2046, 193348, 85763, 161063, 11341, 6954, 28412, 154176, 8770, 17780, 7077, 15970, 88996, 61475, 678, 8, 420, 26366, 1295, 450, 81113, 14...
[ 0.106689453125, 0.2120361328125, 0.158935546875, 0.222900390625, 0.176513671875, 0.037261962890625, 0.07867431640625, 0.1705322265625, 0.2109375, 0.1446533203125, 0.076904296875, 0.116943359375, 0.1396484375, 0.1234130859375, 0.108642578125, 0.1080322265625, 0.03302001953125, 0.206...
embed
44430685_c0
44430685
elixir
0
Title: Elixir List Comprehension to Create a New List of Structs Problem title: Elixir List Comprehension to Create a New List of Structs Tags: ex-unit, list-comprehension, elixir, elixir-mix Problem: Elixir List Comprehension to Create a New List of Structs I'm quite new to Elixir, and trying to yield a new list of st...
Elixir List Comprehension to Create a New List of Structs Elixir List Comprehension to Create a New List of Structs ex-unit list-comprehension elixir elixir-mix Protocol.UndefinedError Elixir List Comprehension Create Structs ServiceX.update_holdings Holding client_id company_id update_holdings Enumerable Elixir List C...
[ -0.01226806640625, 0.006500244140625, -0.00982666015625, 0.01104736328125, 0.0027923583984375, 0.00823974609375, 0.01953125, 0.00592041015625, 0.0059814453125, 0.00823974609375, -0.01458740234375, -0.0167236328125, 0.0250244140625, -0.024658203125, 0.0048828125, -0.002838134765625, 0...
[ 25318, 38308, 32036, 142158, 3220, 6889, 47, 151313, 2356, 111, 63667, 15390, 1119, 309, 5303, 4692, 15296, 62015, 151607, 1067, 5983, 18468, 31611, 12349, 1542, 117008, 16200, 5180, 73436, 23282, 532, 14380, 28350, 316, 3525, 11180, 36716, 4...
[ 0.120849609375, 0.2213134765625, 0.2021484375, 0.144287109375, 0.162353515625, 0.05255126953125, 0.000762939453125, 0.09918212890625, 0.085693359375, 0.0192718505859375, 0.174560546875, 0.138671875, 0.105712890625, 0.088623046875, 0.201171875, 0.0921630859375, 0.0758056640625, 0.18...
embed
62831496_c2
62831496
elixir
2
ifs" => nil, "categorie_entreprise" => "PME", "tranche_effectifs" => nil, "identifiant_association" => nil, "sexe" => nil, "prenom_2" => nil, "caractere_employeur" => "N", "nom" => nil, "created_at" => "2020-07-02T02:56:19.773+02:00", "economie_sociale_solidaire" => "N", "prenom_4" => nil, "date_fin" => nil, "date_debu...
ifs" => nil, "categorie_entreprise" => "PME", "tranche_effectifs" => nil, "identifiant_association" => nil, "sexe" => nil, "prenom_2" => nil, "caractere_employeur" => "N", "nom" => nil, "created_at" => "2020-07-02T02:56:19.773+02:00", "economie_sociale_solidaire" => "N", "prenom_4" => nil, "date_fin" => nil, "date_debu...
[ -0.0172119140625, 0.027587890625, -0.0017242431640625, 0.00860595703125, 0.004486083984375, 0.017578125, -0.00531005859375, -0.005340576171875, 0.015380859375, -0.0111083984375, -0.0078125, 0.01116943359375, 0.002685546875, -0.003875732421875, 0.01348876953125, 0.0167236328125, -0.00...
[ 2174, 7, 44357, 17324, 240153, 49801, 58, 10611, 830, 50713, 1430, 171760, 70253, 42485, 1236, 107035, 13802, 13, 26344, 306, 304, 6, 4, 3284, 58967, 107, 207289, 44, 839, 1687, 7612, 27686, 454, 257, 49409, 44727, 9550, 23988, 5, 14546, ...
[ 0.2412109375, 0.1641845703125, 0.1009521484375, 0.20556640625, 0.260009765625, 0.2015380859375, 0.0029296875, 0.2021484375, 0.003204345703125, 0.1318359375, 0.1473388671875, 0.1517333984375, 0.122314453125, 0.1951904296875, 0.0792236328125, 0.1851806640625, 0.1651611328125, 0.09954...
embed
56455990_c0
56455990
elixir
0
Title: Phoenix: Could not compile dependency :ranch Problem title: Phoenix: Could not compile dependency :ranch Tags: elixir, erlang, phoenix-framework, rebar3 Problem: Phoenix: Could not compile dependency :ranch Background I have created a project using mix phx.new my_app --no-ecto and everything looked fine. However...
Phoenix: Could not compile dependency :ranch Phoenix: Could not compile dependency :ranch elixir erlang phoenix-framework rebar3 Phoenix Could phx.new my_app phx.server deps.get Compiling Command OTP Mix otp-21 rebar3 Workspace islands_interface _build You deps.compile deps.update deps.clean Distributor Ubuntu Descript...
[ -0.0078125, 0.00567626953125, -0.001983642578125, 0.0172119140625, 0.0029144287109375, 0.01220703125, -0.0162353515625, -0.004974365234375, -0.01068115234375, -0.014892578125, 0.0072021484375, -0.01422119140625, 0.0194091796875, 0.0267333984375, 0.01068115234375, 0.016357421875, -0.0...
[ 133720, 191147, 959, 9969, 1340, 42548, 27771, 1603, 206, 15296, 38308, 3066, 53073, 33, 4084, 160328, 456, 1299, 363, 11521, 425, 54936, 759, 9007, 39642, 8, 6423, 3794, 15612, 49725, 123573, 23658, 37286, 254, 24589, 65421, 90695, 10433, ...
[ 0.25341796875, 0.1239013671875, 0.095703125, 0.15966796875, 0.12744140625, 0.1795654296875, 0.0789794921875, 0.160888671875, 0.1392822265625, 0.0260162353515625, 0.1595458984375, 0.1536865234375, 0.0307159423828125, 0.05322265625, 0.06884765625, 0.067138671875, 0.0413818359375, 0.1...
embed
46636560_c0
46636560
elixir
0
Title: Elixir reuse channel functionalities when only connected to 1 channel Problem title: Elixir reuse channel functionalities when only connected to 1 channel Tags: elixir, erlang, phoenix-channels Problem: Elixir reuse channel functionalities when only connected to 1 channel I have a lot of channels doing different...
Elixir reuse channel functionalities when only connected to 1 channel Elixir reuse channel functionalities when only connected to 1 channel elixir erlang phoenix-channels Elixir starting_channel game_channel food_channel chat_channel handle_in show_room_happy_users _payload happy_users Presence.list Elixir reuse channe...
[ -0.0184326171875, 0.02392578125, 0.00494384765625, 0.007232666015625, -0.01007080078125, -0.0225830078125, -0.0257568359375, -0.032470703125, 0.0026397705078125, -0.044677734375, -0.005706787109375, -0.0028533935546875, -0.00592041015625, 0.03369140625, -0.00506591796875, 0.00558471679...
[ 25318, 38308, 156883, 86723, 123309, 3229, 4734, 162711, 47, 106, 15296, 72, 3066, 53073, 33, 4084, 17032, 8876, 72134, 6712, 15381, 3245, 34831, 73, 7639, 28905, 157976, 223, 21284, 63033, 17723, 20703, 6620, 6562, 31075, 765, 5915, 20594, ...
[ 0.1236572265625, 0.25830078125, 0.273193359375, 0.239990234375, 0.1898193359375, 0.0416259765625, 0.1475830078125, 0.1663818359375, 0.072265625, 0.145263671875, 0.07159423828125, 0.0352783203125, 0.1954345703125, 0.00958251953125, 0.026611328125, 0.081787109375, 0.162109375, 0.1618...
embed
66657186_c0
66657186
elixir
0
Title: Pattern matching with a map inside a map (Elixir) Problem title: Pattern matching with a map inside a map (Elixir) Tags: pattern-matching, elixir Problem: Pattern matching with a map inside a map (Elixir) I have the following function working in an Elixir app: def emojify(%Conv{status: 200, resp_headers: resp_he...
Pattern matching with a map inside a map (Elixir) Pattern matching with a map inside a map (Elixir) pattern-matching elixir Pattern Elixir Conv resp_headers Content-Type conv.resp_body resp_body Pattern matching with a map inside a map (Elixir) I have the following function working in an Elixir app: I'd like to refacto...
[ -0.017333984375, 0.0038909912109375, -0.004638671875, -0.003570556640625, 0.007598876953125, 0.0037689208984375, -0.0302734375, 0.02294921875, 0.0174560546875, 0.02685546875, 0.03759765625, 0.01275634765625, 0.020263671875, 0.024658203125, 0.032470703125, 0.00836181640625, -0.0251464...
[ 9876, 22766, 14858, 214, 678, 22288, 46132, 647, 150, 38308, 103510, 98753, 15296, 25318, 1657, 334, 27582, 31251, 1314, 70870, 196707, 158, 2109, 254, 37873, 25632, 32354, 20697, 4027, 1884, 456, 144810, 27169, 3871, 2174, 28987, 3917, 10941...
[ 0.191650390625, 0.18701171875, 0.243408203125, 0.09619140625, 0.13427734375, 0.1990966796875, 0.1607666015625, 0.019989013671875, 0.0859375, 0.232177734375, 0.2427978515625, 0.2103271484375, 0.0875244140625, 0.0992431640625, 0.097900390625, 0.1455078125, 0.17041015625, 0.1540527343...
embed
38754335_c0
38754335
elixir
0
Title: Why functions in default values in Ecto models schema evaluate only once and how to fix? Problem title: Why functions in default values in Ecto models schema evaluate only once and how to fix? Tags: ecto, elixir Problem: Why functions in default values in Ecto models schema evaluate only once and how to fix? I h...
Why functions in default values in Ecto models schema evaluate only once and how to fix? Why functions in default values in Ecto models schema evaluate only once and how to fix? ecto elixir Why Ecto Ticketing.User Ticketing.Web first_name last_name hashed_password activation_key Ecto.UUID.generate Builds validate_requi...
[ 0.004608154296875, 0.00104522705078125, 0.02587890625, -0.006317138671875, 0.0072021484375, -0.01251220703125, -0.01953125, -0.0213623046875, 0.005279541015625, -0.025634765625, -0.01470947265625, 0.0155029296875, 0.01300048828125, 0.033935546875, 0.0098876953125, -0.00628662109375, ...
[ 44084, 32354, 23, 114977, 142424, 241, 44150, 115774, 61903, 151575, 4734, 24145, 3642, 30022, 13, 60751, 15296, 38308, 80304, 214, 1062, 2189, 30474, 11627, 4568, 1556, 5252, 13409, 47416, 34704, 19770, 41317, 7146, 48281, 121137, 44622, 3181,...
[ 0.13037109375, 0.182861328125, 0.007843017578125, 0.2484130859375, 0.1658935546875, 0.1070556640625, 0.294677734375, 0.19189453125, 0.226318359375, 0.1923828125, 0.125244140625, 0.20068359375, 0.002349853515625, 0.1204833984375, 0.01922607421875, 0.225830078125, 0.00335693359375, 0...
embed
44207633_c0
44207633
elixir
0
Title: Elixir / Ecto / Postgres trying to get integer from query but get char list instead? Problem title: Elixir / Ecto / Postgres trying to get integer from query but get char list instead? Tags: elixir, ecto Problem: Elixir / Ecto / Postgres trying to get integer from query but get char list instead? This would seem...
Elixir / Ecto / Postgres trying to get integer from query but get char list instead? Elixir / Ecto / Postgres trying to get integer from query but get char list instead? elixir ecto ArgumentError ArithmeticError query n Elixir Ecto Postgres Polo.Repo.all Polo.Account.Number n.account account_numbers SELECT IO.inspect I...
[ -0.005584716796875, -0.0064697265625, -0.00799560546875, 0.0242919921875, 0.000850677490234375, 0.025634765625, -0.0093994140625, 0.000244140625, -0.0074462890625, -0.029052734375, 0.0009002685546875, -0.041015625, -0.0140380859375, 0.0216064453125, -0.002197265625, -0.0179443359375, ...
[ 25318, 38308, 248, 241, 44150, 2795, 17562, 31577, 2046, 892, 1505, 1295, 41, 1294, 1284, 21441, 5303, 64457, 15296, 60751, 112140, 18468, 31611, 8962, 282, 653, 32174, 4332, 771, 5584, 5, 39450, 71013, 18444, 26278, 213499, 15426, 454, 260...
[ 0.1605224609375, 0.260009765625, 0.049285888671875, 0.10577392578125, 0.27099609375, 0.1141357421875, 0.219970703125, 0.12255859375, 0.092529296875, 0.154052734375, 0.1597900390625, 0.111328125, 0.1566162109375, 0.1168212890625, 0.06658935546875, 0.20556640625, 0.1851806640625, 0.1...
embed
73636856_c2
73636856
elixir
2
-group"> <label for="password">Password</label> <.ignore> <span style="float: right;"><a href="<%= Routes.password_reset_path(Endpoint, :show) Code signals: Phoenix.LiveView.HTMLTokenizer.ParseError, Phoenix.LiveView.Helpers, Phoenix.View, PenWeb.ErrorHelpers, PenWeb.Gettext, PenWeb.HeexIgnore, macbook:pen, Compiling, ...
-group"> <label for="password">Password</label> <.ignore> <span style="float: right;"><a href="<%= Routes.password_reset_path(Endpoint, :show) Code signals: Phoenix.LiveView.HTMLTokenizer.ParseError, Phoenix.LiveView.Helpers, Phoenix.View, PenWeb.ErrorHelpers, PenWeb.Gettext, PenWeb.HeexIgnore, macbook:pen, Compiling, ...
[ -0.00177001953125, 0.002197265625, 0.00124359130859375, -0.012939453125, 0.00141143798828125, -0.0135498046875, -0.007080078125, -0.00433349609375, -0.00225830078125, -0.030029296875, -0.035400390625, -0.00970458984375, -0.00592041015625, 0.048095703125, -0.0076904296875, 0.01428222656...
[ 51588, 70902, 4426, 152526, 100, 13409, 47416, 139117, 167790, 13, 19332, 20623, 52347, 7108, 77867, 3949, 106015, 2109, 126, 128405, 152378, 38496, 31374, 28864, 26073, 12, 133720, 70567, 100474, 127068, 7763, 1098, 52825, 28636, 18468, 31611, ...
[ 0.179931640625, 0.040008544921875, 0.003753662109375, 0.1651611328125, 0.05377197265625, 0.131591796875, 0.2408447265625, 0.1446533203125, 0.1185302734375, 0.00872802734375, 0.0621337890625, 0.0592041015625, 0.04443359375, 0.04486083984375, 0.039703369140625, 0.03643798828125, 0.2432...
embed
40599790_c0
40599790
elixir
0
Title: Select multiple items using multiple keys from a Map in Elixir Problem title: Select multiple items using multiple keys from a Map in Elixir Tags: elixir Problem: Select multiple items using multiple keys from a Map in Elixir I am trying to implement the Modbus protocol in Elixir as an exercise to learn Elixir a...
Select multiple items using multiple keys from a Map in Elixir Select multiple items using multiple keys from a Map in Elixir elixir multiple a Select Map Elixir Select multiple items using multiple keys from a Map in Elixir I am trying to implement the Modbus protocol in Elixir as an exercise to learn Elixir and to fu...
[ -0.006683349609375, -0.01031494140625, 0.0042724609375, 0.010009765625, -0.0152587890625, -0.0145263671875, -0.00262451171875, -0.00057220458984375, 0.01361083984375, -0.00714111328125, 0.004058837890625, -0.00396728515625, 0.00787353515625, 0.0167236328125, 0.005859375, 0.000180244445...
[ 51620, 48716, 55769, 17368, 22799, 1295, 42719, 25318, 38308, 23, 15296, 16269, 4223, 91363, 28670, 27958, 2053, 3299, 12282, 46389, 68067, 2811, 12301, 50336, 3173, 36716, 10723, 43799, 72134, 2174, 757, 190, 30646, 142424, 138, 1398, 47644, ...
[ 0.172119140625, 0.252197265625, 0.189453125, 0.054229736328125, 0.215576171875, 0.0770263671875, 0.2169189453125, 0.1199951171875, 0.2193603515625, 0.004730224609375, 0.0799560546875, 0.12109375, 0.1815185546875, 0.14501953125, 0.013336181640625, 0.03387451171875, 0.1005859375, 0.1...
embed
42286996_c1
42286996
elixir
1
4ce274dcaf9bb16/.heroku/node/bin/npm" "install" "--quiet" "--unsafe-perm" "--userconfig" "/tmp/build_23f60aac277eab15b4ce274dcaf9bb16/npmrc" remote: npm ERR! node v6.9.2 remote: npm ERR! npm v3.10.9 remote: npm ERR! path /tmp/build_23f60aac277eab15b4ce274dcaf9bb16/deps/phoenix remote: npm ERR! code ENOENT remote: npm E...
4ce274dcaf9bb16/.heroku/node/bin/npm" "install" "--quiet" "--unsafe-perm" "--userconfig" "/tmp/build_23f60aac277eab15b4ce274dcaf9bb16/npmrc" remote: npm ERR! node v6.9.2 remote: npm ERR! npm v3.10.9 remote: npm ERR! path /tmp/build_23f60aac277eab15b4ce274dcaf9bb16/deps/phoenix remote: npm ERR! code ENOENT remote: npm E...
[ -0.016845703125, 0.021240234375, 0.01025390625, 0.0076904296875, 0.00897216796875, 0.033203125, -0.004150390625, -0.03564453125, -0.0035400390625, -0.00115203857421875, 0.002349853515625, -0.0267333984375, 0.0179443359375, 0.00183868408203125, -0.007110595703125, 0.01007080078125, -0...
[ 201, 3768, 2485, 64, 90865, 319, 157, 7568, 19, 26822, 80383, 3181, 126, 309, 115840, 1264, 39, 65918, 153837, 2676, 177149, 3742, 19437, 148814, 12, 25037, 151206, 38, 110, 112, 81, 165160, 304, 97109, 143161, 60875, 6423, 22014, 33, 408...
[ 0.0064697265625, 0.013397216796875, 0.1192626953125, 0.0287017822265625, 0.1776123046875, 0.2052001953125, 0.1239013671875, 0.1290283203125, 0.042022705078125, 0.25390625, 0.1673583984375, 0.0997314453125, 0.0305938720703125, 0.030487060546875, 0.166748046875, 0.098388671875, 0.23107...
embed
79071190_c0
79071190
elixir
0
Title: I need help sending a put event on AWS Eventbridge Problem title: I need help sending a put event on AWS Eventbridge Tags: elixir, aws-event-bridge, elixir-poison Problem: I need help sending a put event on AWS Eventbridge I’m fighting with this code defmodule MyApp.Eventbridge do @moduledoc false require Logger...
I need help sending a put event on AWS Eventbridge I need help sending a put event on AWS Eventbridge elixir aws-event-bridge elixir-poison Protocol.UndefinedError Logger AWS Eventbridge MyApp.Eventbridge send_event_to_eventbridge Source DetailType Detail Renault EventBusName event_json Poison.encode Logger.info Send E...
[ -0.0120849609375, -0.010498046875, 0.00162506103515625, -0.01123046875, 0.017822265625, 0.0034942626953125, 0.01458740234375, 0.00799560546875, -0.00897216796875, -0.027099609375, 0.0089111328125, 0.0213623046875, 0.0111083984375, 0.0228271484375, 0.00016021728515625, -0.0115966796875,...
[ 3871, 4358, 135834, 3884, 19732, 98, 62, 52143, 36943, 80728, 15296, 38308, 19725, 90141, 120178, 191, 151607, 1067, 5983, 18468, 31611, 64906, 2646, 39179, 192134, 25379, 188, 77641, 88645, 196707, 60855, 7235, 163612, 170, 1681, 64249, 33, ...
[ 0.0631103515625, 0.155029296875, 0.1727294921875, 0.2086181640625, 0.252685546875, 0.0682373046875, 0.055999755859375, 0.184814453125, 0.2232666015625, 0.278076171875, 0.098876953125, 0.2486572265625, 0.1668701171875, 0.207763671875, 0.208984375, 0.150390625, 0.1849365234375, 0.051...
embed
34817140_c0
34817140
elixir
0
Title: What is wrong with this elixir map example? Problem title: What is wrong with this elixir map example? Tags: elixir Problem: What is wrong with this elixir map example? I would have imagine that the following would work, based on articles I found online: iex(9)> q %{one: 1, two: 2} iex(10)> nq = %{ q | three: 4}...
What is wrong with this elixir map example? What is wrong with this elixir map example? elixir KeyError What maps.update erl_eval.erl:255 erl_eval.expr lists.erl:1262 lists.foldl Erlang OTP erts-7.2 source-e6dd627 smp:4:4 async-threads:10 kernel-poll:false Interactive Elixir Ctrl ENTER What is wrong with this elixir ma...
[ -0.01708984375, 0.0181884765625, 0.0059814453125, -0.032470703125, -0.00750732421875, 0.00156402587890625, -0.011474609375, 0.0087890625, -0.00110626220703125, -0.00860595703125, 0.0111083984375, 0.0096435546875, 0.0244140625, 0.01806640625, 0.0107421875, -0.0017242431640625, -0.0200...
[ 4865, 83, 44691, 678, 903, 15296, 38308, 22288, 27781, 26824, 18468, 31611, 7, 117008, 72, 141, 1405, 56, 135455, 42, 5303, 10837, 42822, 1004, 3066, 180, 23658, 933, 179642, 31344, 4028, 910, 3768, 2676, 617, 12654, 39116, 15110, 77924, ...
[ 0.0751953125, 0.0567626953125, 0.1988525390625, 0.104736328125, 0.1014404296875, 0.10565185546875, 0.256591796875, 0.2113037109375, 0.2264404296875, 0.12939453125, 0.1553955078125, 0.12841796875, 0.04931640625, 0.180419921875, 0.039154052734375, 0.0802001953125, 0.191650390625, 0.0...
embed
36746002_c0
36746002
elixir
0
Title: Why does phoenix controller returns a json which can&#x27;t be recognized as JSON Problem title: Why does phoenix controller returns a json which can&#x27;t be recognized as JSON Tags: phoenix-framework, elixir, elixir-poison Problem: Why does phoenix controller returns a json which can't be recognized as JSON I...
Why does phoenix controller returns a json which can&#x27;t be recognized as JSON Why does phoenix controller returns a json which can&#x27;t be recognized as JSON phoenix-framework elixir elixir-poison Why JSON user_id user_avatar_url avatar.png avatar_url JSON.parse put_session user.id Poison.encode Poison.Encoder Ha...
[ -0.01904296875, -0.00146484375, -0.007537841796875, -0.00921630859375, -0.0106201171875, 0.02099609375, -0.0205078125, 0.00946044921875, 0.0054931640625, -0.042724609375, -0.01043701171875, 0.0177001953125, 0.009765625, 0.01953125, 0.005767822265625, 0.009033203125, -0.0113525390625,...
[ 44084, 53073, 33, 4084, 185373, 30646, 1647, 1681, 831, 3768, 18, 125296, 821, 58627, 237, 160328, 18244, 15296, 38308, 120178, 191, 38937, 532, 24047, 147, 25002, 166204, 128468, 2500, 3884, 169234, 64249, 40899, 587, 820, 1950, 17245, 1062,...
[ 0.1175537109375, 0.1005859375, 0.1490478515625, 0.178955078125, 0.24609375, 0.150634765625, 0.1419677734375, 0.208984375, 0.06585693359375, 0.040191650390625, 0.09222412109375, 0.1419677734375, 0.1539306640625, 0.2132568359375, 0.03021240234375, 0.07568359375, 0.013671875, 0.012542...
embed
51152230_c0
51152230
elixir
0
Title: Plug Parser: raising ParseError Problem title: Plug Parser: raising ParseError Tags: plug, json, html-parsing, elixir Problem: Plug Parser: raising ParseError I'm writing a Plug Parser that among other things decodes JSON using Poison (I'd prefer to let Plug.Parsers.JSON do that, but I need to read the raw reque...
Plug Parser: raising ParseError Plug Parser: raising ParseError plug json html-parsing elixir ParseError Plug.Parsers.ParseError Plug Parser Plug.Parsers.JSON Poison.decode Plug Parser: raising ParseError I'm writing a Plug Parser that among other things decodes JSON using Poison (I'd prefer to let Plug.Parsers.JSON do...
[ -0.004150390625, 0.03662109375, -0.010498046875, 0.00677490234375, -0.02001953125, 0.031005859375, -0.023193359375, -0.03857421875, 0.0093994140625, -0.000789642333984375, -0.0225830078125, 0.01007080078125, 0.01318359375, 0.001312255859375, 0.004974365234375, -0.01080322265625, -0.0...
[ 194351, 2392, 2189, 12, 40129, 214, 184, 18468, 31611, 76329, 1647, 1681, 7693, 2500, 6953, 15296, 38308, 28636, 7, 1314, 1375, 58627, 64249, 191, 112, 40899, 32562, 54940, 3789, 8966, 8, 821, 17368, 568, 25, 71, 12601, 47, 5, 54, 450, ...
[ 0.22412109375, 0.204345703125, 0.2000732421875, 0.006103515625, 0.2015380859375, 0.03253173828125, 0.119140625, 0.211181640625, 0.169189453125, 0.169677734375, 0.1192626953125, 0.1807861328125, 0.1318359375, 0.16552734375, 0.03369140625, 0.05596923828125, 0.1881103515625, 0.0870361...
embed
61274306_c0
61274306
elixir
0
Title: Migrate data from another Repo in Ecto migration Problem title: Migrate data from another Repo in Ecto migration Tags: elixir, ecto, database-migration Problem: Migrate data from another Repo in Ecto migration Similar to this question: Using a Repo in an Ecto migration , I've got an Ecto migration where I'd like...
Migrate data from another Repo in Ecto migration Migrate data from another Repo in Ecto migration elixir ecto database-migration RuntimeError another Ecto.Query AnotherApp Migrate Repo Ecto MyApp.Repo.Migrations.CreateFoo Ecto.Migration import_from_AnotherApp AnotherApp.Foo AnotherApp.Repo.all Enum.each Insert MyApp An...
[ -0.0011749267578125, -0.0020751953125, -0.00701904296875, 0.0179443359375, 0.01055908203125, -0.010009765625, -0.0147705078125, -0.00518798828125, 0.0098876953125, -0.0546875, 0.0072021484375, -0.004913330078125, 0.0147705078125, 0.0272216796875, 0.00032806396484375, -0.0125732421875, ...
[ 130446, 67, 2053, 1295, 15700, 853, 771, 23, 241, 44150, 212416, 15296, 38308, 60751, 63399, 58849, 28398, 6032, 18468, 31611, 41732, 116267, 39179, 2646, 4332, 594, 72482, 63784, 27591, 872, 24927, 161063, 126340, 5584, 316, 41581, 33657, 17...
[ 0.2303466796875, 0.0911865234375, 0.1767578125, 0.118408203125, 0.1435546875, 0.112060546875, 0.183349609375, 0.043792724609375, 0.1116943359375, 0.26513671875, 0.1949462890625, 0.0731201171875, 0.173583984375, 0.225341796875, 0.116943359375, 0.1170654296875, 0.0762939453125, 0.060...
embed
57028017_c0
57028017
elixir
0
Title: In Elixir, How can I extract a lambda to a named function when the lambda is in a closure? Problem title: In Elixir, How can I extract a lambda to a named function when the lambda is in a closure? Tags: elixir, closures, extract, lambda, function Problem: In Elixir, How can I extract a lambda to a named function...
In Elixir, How can I extract a lambda to a named function when the lambda is in a closure? In Elixir, How can I extract a lambda to a named function when the lambda is in a closure? elixir closures extract lambda function ArgumentError Elixir How Item Enum.find item.id has_target_id Compilation fake_repo.ex kernel.ex:5...
[ 0.008544921875, 0.01068115234375, 0.01953125, -0.0021209716796875, 0.02001953125, -0.0086669921875, 0.0042724609375, 0.0038909912109375, -0.00054168701171875, -0.005584716796875, -0.006195068359375, -0.0103759765625, -0.01239013671875, 0.01470947265625, 0.019775390625, 0.00494384765625...
[ 25318, 38308, 11249, 831, 87, 125663, 21, 6492, 85, 47, 24, 4806, 32354, 3229, 83, 23, 170224, 360, 15296, 112140, 78426, 357, 316, 111607, 35735, 532, 1556, 867, 15612, 106287, 107, 771, 3355, 77924, 10991, 119125, 583, 33657, 157, 13717...
[ 0.1181640625, 0.26806640625, 0.08154296875, 0.0704345703125, 0.008209228515625, 0.24169921875, 0.08673095703125, 0.243408203125, 0.1865234375, 0.09588623046875, 0.074462890625, 0.115234375, 0.204833984375, 0.034881591796875, 0.038604736328125, 0.0845947265625, 0.216552734375, 0.039...
embed
38709444_c1
38709444
elixir
1
web/resolver/reviewer.ex:519: App.Resolver.Reviewer.sc_data/1 (elixir) expanding macro: Kernel.|>/2 (app) web/resolver/reviewer.ex:520: App.Resolver.Reviewer.sc_data/1 (elixir) lib/kernel/parallel_compiler.ex:116: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1 ^C BREAK: (a)bort (c)ontinue (p)roc info (i)n...
web/resolver/reviewer.ex:519: App.Resolver.Reviewer.sc_data/1 (elixir) expanding macro: Kernel.|>/2 (app) web/resolver/reviewer.ex:520: App.Resolver.Reviewer.sc_data/1 (elixir) lib/kernel/parallel_compiler.ex:116: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1 ^C BREAK: (a)bort (c)ontinue (p)roc info (i)n...
[ -0.0028076171875, 0.02294921875, -0.0002994537353515625, -0.006866455078125, 0.000244140625, 0.01141357421875, -0.0025634765625, -0.0108642578125, -0.01190185546875, -0.046142578125, -0.0186767578125, -0.0012359619140625, 0.01611328125, 0.01214599609375, 0.01300048828125, 0.01068115234...
[ 1467, 107, 86918, 132340, 56, 3355, 37374, 1126, 5659, 4332, 22751, 10382, 10135, 11583, 6169, 38308, 71062, 214, 111789, 119125, 583, 12477, 9007, 143886, 25474, 72083, 6276, 1229, 58875, 34759, 120620, 52184, 14783, 17357, 55292, 108161, 1934...
[ 0.1212158203125, 0.0770263671875, 0.1988525390625, 0.262451171875, 0.16845703125, 0.130126953125, 0.0867919921875, 0.145263671875, 0.170654296875, 0.08447265625, 0.23193359375, 0.017303466796875, 0.0780029296875, 0.0936279296875, 0.07720947265625, 0.192138671875, 0.212890625, 0.098...
embed
36487866_c0
36487866
elixir
0
Title: What is &quot;|&gt;&quot; in elixir? Problem title: What is &quot;|&gt;&quot; in elixir? Tags: elixir Problem: What is "|>" in elixir? What does |> stand for in elixir? In this code examples extracted from code generated by Phoenix, it looks like the var |> function_call(a,b,c) syntax allows to call multiple fun...
What is &quot;|&gt;&quot; in elixir? What is &quot;|&gt;&quot; in elixir? elixir What function_call HelloPhoenix.PostController HelloPhoenix.Web post_params Repo.get Post Post.changeset Repo.update show.json put_status unprocessable_entity HelloPhoenix.ChangesetView error.json HelloPhoenix.Post required_fields optional...
[ 0.00146484375, 0.000522613525390625, 0.009033203125, 0.013671875, 0.0108642578125, 0.0189208984375, -0.0213623046875, 0.004364013671875, 0.01092529296875, -0.0159912109375, -0.0032196044921875, 0.0189208984375, -0.007537841796875, 0.007537841796875, 0.00933837890625, -0.004730224609375...
[ 4865, 83, 41502, 58745, 1230, 5386, 23, 15296, 38308, 74, 32354, 85763, 35378, 683, 497, 33, 4084, 49411, 175904, 603, 30474, 1305, 8256, 853, 771, 2795, 152028, 3509, 117008, 7639, 170, 1681, 45215, 63923, 2886, 127008, 4188, 126, 100474, ...
[ 0.051788330078125, 0.0513916015625, 0.07177734375, 0.1256103515625, 0.041168212890625, 0.162841796875, 0.1046142578125, 0.138427734375, 0.286376953125, 0.02227783203125, 0.204833984375, 0.1875, 0.164306640625, 0.0235748291015625, 0.049652099609375, 0.1024169921875, 0.1192626953125, ...
embed
38798557_c0
38798557
elixir
0
Title: Is it possible to track user presence from different topic? Problem title: Is it possible to track user presence from different topic? Tags: elixir, phoenix-framework Problem: Is it possible to track user presence from different topic? I use Phoenix framework for my Elixir application with WebSocket connection. ...
Is it possible to track user presence from different topic? Is it possible to track user presence from different topic? elixir phoenix-framework different Presence user_id after_join _params handle_info presence_state Presence.list Presence.track socket.assigns online_at System.system_time Phoenix.Presence Is it possib...
[ -0.01177978515625, 0.017333984375, 0.0005340576171875, -0.003570556640625, -0.01019287109375, 0.0089111328125, 0.0111083984375, 0.02001953125, 0.0001163482666015625, -0.051025390625, 0.0130615234375, 0.0225830078125, -0.0023040771484375, 0.020263671875, -0.0128173828125, -0.00451660156...
[ 2071, 7722, 28560, 38937, 169424, 1295, 12921, 28451, 15296, 38308, 53073, 33, 4084, 160328, 18244, 20703, 6620, 532, 513, 2500, 8256, 34831, 7319, 61340, 6562, 125728, 221, 27853, 31304, 1118, 6032, 133720, 19273, 7, 442, 47, 4527, 170846, ...
[ 0.030792236328125, 0.1683349609375, 0.2318115234375, 0.2091064453125, 0.2239990234375, 0.1507568359375, 0.2027587890625, 0.2490234375, 0.0411376953125, 0.197021484375, 0.06256103515625, 0.080810546875, 0.103515625, 0.074462890625, 0.0341796875, 0.1639404296875, 0.1461181640625, 0.0...
embed
36389277_c0
36389277
elixir
0
Title: Looping a map and updating key values in Elixir Problem title: Looping a map and updating key values in Elixir Tags: loops, increment, elixir, dictionary Problem: Looping a map and updating key values in Elixir def sort(someString) do countSubstring = fn(_, "") -> 0 (str, sub) -> length(String.split(str, sub)) -...
Looping a map and updating key values in Elixir Looping a map and updating key values in Elixir loops increment elixir dictionary Looping Elixir String.split Map.put_new Looping a map and updating key values in Elixir What I am trying to do here is to pass a string into the sort module. For example let's pass the strin...
[ 0.0157470703125, -0.006378173828125, -0.01171875, -0.00408935546875, -0.0152587890625, -0.0006561279296875, 0.0181884765625, -0.006744384765625, 0.006561279296875, -0.006927490234375, 0.00982666015625, 0.00003075599670410156, 0.0091552734375, 0.0250244140625, 0.0223388671875, -0.012451...
[ 199694, 214, 22288, 136, 1257, 56464, 22799, 142424, 25318, 38308, 10, 40956, 158661, 15296, 45, 10763, 23351, 4353, 42719, 7077, 54936, 31577, 27875, 79315, 3934, 12096, 88996, 20861, 759, 9351, 83, 21895, 115081, 28282, 201, 275, 238, 71, ...
[ 0.2093505859375, 0.08740234375, 0.221923828125, 0.043609619140625, 0.1209716796875, 0.1605224609375, 0.1810302734375, 0.1663818359375, 0.128662109375, 0.25390625, 0.0278167724609375, 0.2376708984375, 0.1806640625, 0.0804443359375, 0.02764892578125, 0.07110595703125, 0.121337890625, ...
embed
42151064_c0
42151064
elixir
0
Title: Elixir Ecto - How to Upsert/Increment Problem title: Elixir Ecto - How to Upsert/Increment Tags: ecto, phoenix-framework, elixir Problem: Elixir Ecto - How to Upsert/Increment I have a model that I would like to execute in Phoenix/Elixir. The model basically computes a rolling sum of the amount spent by a user. ...
Elixir Ecto - How to Upsert/Increment Elixir Ecto - How to Upsert/Increment ecto phoenix-framework elixir Elixir Ecto How Upsert Increment Receipts Amount Repo.insert Users.changeset Users on_conflict Elixir Ecto - How to Upsert/Increment I have a model that I would like to execute in Phoenix/Elixir. The model basicall...
[ -0.0177001953125, -0.002044677734375, 0.009033203125, -0.0013580322265625, -0.004638671875, 0.01385498046875, -0.0034332275390625, 0.0184326171875, 0.0242919921875, -0.039794921875, 0.003173828125, 0.016845703125, -0.0086669921875, 0.0257568359375, 0.028564453125, -0.0078125, -0.0155...
[ 25318, 38308, 241, 44150, 11249, 47, 10091, 33657, 64, 4153, 7612, 674, 60751, 53073, 33, 4084, 160328, 18244, 15296, 8942, 107, 93908, 3442, 933, 121147, 853, 771, 73, 53400, 152028, 3509, 98, 2271, 134225, 3299, 1884, 71924, 23, 133720, ...
[ 0.1219482421875, 0.237060546875, 0.103515625, 0.2568359375, 0.0994873046875, 0.0211029052734375, 0.175048828125, 0.2470703125, 0.07110595703125, 0.079345703125, 0.189208984375, 0.1357421875, 0.192138671875, 0.00286865234375, 0.04327392578125, 0.0933837890625, 0.0965576171875, 0.054...
embed
39950510_c1
39950510
elixir
1
resp: 6 6 iex(4)> Test.add_list([1,2,3,4]) ==> call: add_list([1, 2, 3, 4]) <== resp: 10 10 However, the third function appears to hang - specifically it hangs at unquote(args) : iex(5)> Test.neg(-1) So my question is, what causes the call to neg to hang? While I think I have an idea, I'd like to confirm (or refute) m...
resp: 6 6 iex(4)> Test.add_list([1,2,3,4]) ==> call: add_list([1, 2, 3, 4]) <== resp: 10 10 However, the third function appears to hang - specifically it hangs at unquote(args) : iex(5)> Test.neg(-1) So my question is, what causes the call to neg to hang? While I think I have an idea, I'd like to confirm (or refute) m...
[ -0.02099609375, 0.005645751953125, 0.01300048828125, 0.01300048828125, -0.0130615234375, 0.00909423828125, 0.0225830078125, 0.009521484375, 0.0179443359375, 0.0108642578125, -0.0096435546875, -0.031982421875, 0.00102996826171875, 0.01483154296875, 0.00439453125, 0.005706787109375, 0....
[ 27582, 305, 17, 3355, 99217, 8647, 4028, 6562, 82449, 11782, 15190, 138, 201, 69112, 209, 50960, 32354, 135179, 10756, 99, 51, 68726, 61477, 124534, 86, 177, 110218, 113660, 47, 108, 100094, 3229, 70731, 65572, 18811, 66747, 125195, 115081, ...
[ 0.142333984375, 0.1129150390625, 0.02069091796875, 0.114013671875, 0.07666015625, 0.1658935546875, 0.07684326171875, 0.15478515625, 0.0411376953125, 0.1629638671875, 0.1365966796875, 0.055816650390625, 0.06231689453125, 0.032135009765625, 0.0814208984375, 0.2147216796875, 0.185791015...
embed
63293631_c1
63293631
elixir
1
.raise_sql_call_error/1 (ecto_sql 3.4.5) lib/ecto/adapters/sql.ex:526: Ecto.Adapters.SQL.execute/5 (ecto 3.4.5) lib/ecto/repo/queryable.ex:192: Ecto.Repo.Queryable.execute/4 (ecto 3.4.5) lib/ecto/repo/queryable.ex:17: Ecto.Repo.Queryable.all/3 (vepo 0.1.0) lib/vepo_web/services/product_service.ex:392: VepoWeb.ProductSe...
.raise_sql_call_error/1 (ecto_sql 3.4.5) lib/ecto/adapters/sql.ex:526: Ecto.Adapters.SQL.execute/5 (ecto 3.4.5) lib/ecto/repo/queryable.ex:192: Ecto.Repo.Queryable.execute/4 (ecto 3.4.5) lib/ecto/repo/queryable.ex:17: Ecto.Repo.Queryable.all/3 (vepo 0.1.0) lib/vepo_web/services/product_service.ex:392: VepoWeb.ProductSe...
[ -0.003997802734375, 0.0140380859375, -0.013427734375, 0.01129150390625, 0.0031280517578125, -0.005859375, -0.035888671875, -0.034423828125, -0.00011968612670898438, -0.037109375, -0.01080322265625, -0.00021266937255859375, 0.005767822265625, 0.00439453125, -0.006317138671875, -0.008605...
[ 5, 12794, 13, 7, 99247, 85763, 188800, 11583, 60751, 1031, 104867, 16, 25474, 177528, 64, 3355, 33915, 910, 241, 44150, 22409, 2631, 23962, 158897, 46480, 85691, 12147, 107, 771, 944, 2886, 23988, 304, 12, 4332, 41732, 1294, 17357, 15, 22...
[ 0.03955078125, 0.2283935546875, 0.061553955078125, 0.0145721435546875, 0.259033203125, 0.2364501953125, 0.260986328125, 0.09326171875, 0.2294921875, 0.07550048828125, 0.19873046875, 0.013641357421875, 0.15283203125, 0.2218017578125, 0.0143585205078125, 0.0537109375, 0.0565185546875, ...
embed
37512534_c0
37512534
elixir
0
Title: Ecto+Phoenix: How to make resource paths with a different key than :id? Problem title: Ecto+Phoenix: How to make resource paths with a different key than :id? Tags: phoenix-framework, elixir, ecto Problem: Ecto+Phoenix: How to make resource paths with a different key than :id? I have an application where resourc...
Ecto+Phoenix: How to make resource paths with a different key than :id? Ecto+Phoenix: How to make resource paths with a different key than :id? phoenix-framework elixir ecto Ecto Phoenix How payment_path Payment payment.uuid UUID.encode Ecto+Phoenix: How to make resource paths with a different key than :id? I have an a...
[ 0.0084228515625, -0.01458740234375, 0.0142822265625, -0.004669189453125, 0.007568359375, -0.006439208984375, 0.01007080078125, -0.016357421875, 0.00811767578125, -0.0517578125, -0.01220703125, 0.0147705078125, -0.02197265625, 0.017333984375, -0.00439453125, -0.0067138671875, -0.02368...
[ 241, 44150, 1328, 683, 497, 33, 4084, 11249, 3249, 177953, 60875, 7, 678, 12921, 22799, 3501, 152, 532, 47, 53073, 160328, 18244, 15296, 38308, 60751, 133720, 81997, 454, 128405, 17166, 674, 17349, 91916, 7146, 40899, 38415, 65514, 57, 6339...
[ 0.087158203125, 0.267822265625, 0.1651611328125, 0.035430908203125, 0.0777587890625, 0.115478515625, 0.1654052734375, 0.1021728515625, 0.122314453125, 0.226806640625, 0.2366943359375, 0.09228515625, 0.0894775390625, 0.1820068359375, 0.2127685546875, 0.080078125, 0.05694580078125, 0...
embed
59270525_c1
59270525
elixir
1
following https://elixirschool.com/en/lessons/ecto/associations/ the association should be automatic... In the todo controller I have: def index(conn, _params) do todos = Main.list_todos() render(conn, "index.json", todos: todos) end and list_todos = def list_todos do Repo.all(Todo) end EDIT: In the controller I put: ...
following https://elixirschool.com/en/lessons/ecto/associations/ the association should be automatic... In the todo controller I have: def index(conn, _params) do todos = Main.list_todos() render(conn, "index.json", todos: todos) end and list_todos = def list_todos do Repo.all(Todo) end EDIT: In the controller I put: ...
[ -0.005157470703125, 0.006500244140625, 0.0076904296875, 0.01397705078125, -0.016845703125, -0.0019989013671875, -0.0036468505859375, -0.009765625, 0.00750732421875, -0.060791015625, 0.0042724609375, -0.00830078125, -0.024658203125, 0.0198974609375, -0.001434326171875, -0.014892578125, ...
[ 25632, 6169, 38308, 48738, 9393, 60751, 107035, 70, 125413, 5608, 186, 101038, 27, 360, 1973, 185373, 765, 8, 420, 63262, 2271, 19, 2500, 8256, 54, 2194, 12321, 6562, 188, 1140, 89159, 4711, 170, 1681, 3564, 5303, 853, 771, 5, 5584, 776...
[ 0.0845947265625, 0.0582275390625, 0.2174072265625, 0.1605224609375, 0.03448486328125, 0.1973876953125, 0.2298583984375, 0.0333251953125, 0.3359375, 0.086181640625, 0.1063232421875, 0.320556640625, 0.006256103515625, 0.003021240234375, 0.248046875, 0.28857421875, 0.024017333984375, ...
embed
53986399_c0
53986399
elixir
0
Title: Can I add assigns to the “main socket” after the connection is already established? Problem title: Can I add assigns to the “main socket” after the connection is already established? Tags: websocket, phoenix-framework, elixir Problem: Can I add assigns to the “main socket” after the connection is already establi...
Can I add assigns to the “main socket” after the connection is already established? Can I add assigns to the “main socket” after the connection is already established? websocket phoenix-framework elixir Can i.e user_id socket.assigns Can I add assigns to the “main socket” after the connection is already established? As...
[ 0.01171875, 0.007537841796875, 0.007568359375, -0.0025787353515625, -0.0216064453125, 0.0057373046875, -0.0086669921875, 0.0181884765625, -0.006439208984375, -0.03125, 0.0107421875, -0.01397705078125, 0.00860595703125, 0.0133056640625, 0.0021209716796875, 0.0027313232421875, 0.004211...
[ 4171, 15190, 95486, 7, 47, 24931, 221, 27853, 7103, 94878, 21771, 170920, 1467, 991, 53073, 33, 4084, 160328, 18244, 15296, 38308, 17, 13, 38937, 532, 162, 31304, 87, 23282, 5117, 37067, 678, 10723, 63923, 75935, 16401, 33284, 29458, 86723,...
[ 0.10223388671875, 0.2081298828125, 0.2822265625, 0.17041015625, 0.098876953125, 0.188232421875, 0.15966796875, 0.2081298828125, 0.1405029296875, 0.1871337890625, 0.172119140625, 0.2138671875, 0.058074951171875, 0.094482421875, 0.017730712890625, 0.049530029296875, 0.1109619140625, ...
embed
25635206_c0
25635206
elixir
0
Title: &quot;undefined function defexception&quot; Error on Elixir app compilation Problem title: &quot;undefined function defexception&quot; Error on Elixir app compilation Tags: erlang, elixir Problem: "undefined function defexception" Error on Elixir app compilation While compiling one app, i am getting below error ...
&quot;undefined function defexception&quot; Error on Elixir app compilation &quot;undefined function defexception&quot; Error on Elixir app compilation erlang elixir CompileError Error Elixir Compiled base.ex behaviour.ex Compilation query_parser.ex query_parser.ex:2 elixir.erl:188 elixir.quoted_to_erl erl_eval.erl:657...
[ 0.0164794921875, 0.02490234375, 0.00616455078125, -0.00506591796875, 0.0225830078125, 0.01104736328125, 0.00933837890625, -0.00616455078125, -0.00811767578125, -0.00885009765625, -0.02001953125, -0.040283203125, 0.0242919921875, 0.0201416015625, 0.03271484375, 0.003631591796875, -0.0...
[ 59437, 5983, 32354, 8, 2242, 425, 63928, 212059, 98, 25318, 38308, 4027, 98352, 72, 3066, 15296, 15612, 1340, 18468, 31611, 14, 6259, 3647, 3355, 224833, 2500, 304, 56, 112511, 68726, 188, 1405, 210344, 9007, 538, 141, 155740, 6423, 58875, ...
[ 0.088623046875, 0.1832275390625, 0.1632080078125, 0.157470703125, 0.14501953125, 0.09124755859375, 0.184326171875, 0.1630859375, 0.06781005859375, 0.14013671875, 0.2734375, 0.15771484375, 0.20947265625, 0.04681396484375, 0.2073974609375, 0.099365234375, 0.1259765625, 0.078857421875...
embed
35915623_c0
35915623
elixir
0
Title: (ArgumentError) incorrect padding while running mix local.hex Problem title: (ArgumentError) incorrect padding while running mix local.hex Tags: elixir, elixir-mix Problem: (ArgumentError) incorrect padding while running mix local.hex I'm new to Elixir. In a local folder, I'm trying to run mix local.hex , but it...
(ArgumentError) incorrect padding while running mix local.hex (ArgumentError) incorrect padding while running mix local.hex elixir elixir-mix ArgumentError local.hex base.ex:676 Base.do_decode64 local.ex:91 Mix.Local.find_matching_versions_from_signed_csv local.hex.ex:30 Mix.Tasks.Local.Hex.run cli.ex:58 Mix.CLI.run_ta...
[ 0.008544921875, 0.018310546875, -0.01104736328125, 0.014892578125, 0.00482177734375, 0.00799560546875, -0.032958984375, -0.0137939453125, -0.0019378662109375, -0.0064697265625, 0.002288818359375, -0.0283203125, 0.041015625, 0.0419921875, 0.01470947265625, -0.015380859375, -0.00579833...
[ 7614, 1234, 674, 18468, 31611, 214552, 249, 59725, 12960, 51042, 17664, 4000, 1106, 425, 15296, 38308, 62015, 112140, 3647, 3355, 181137, 44978, 112, 40899, 13307, 12183, 37286, 203758, 111607, 98753, 46354, 31304, 334, 1197, 9874, 841, 16428, ...
[ 0.0241851806640625, 0.1593017578125, 0.02569580078125, 0.115234375, 0.0948486328125, 0.2149658203125, 0.1693115234375, 0.199951171875, 0.059234619140625, 0.12841796875, 0.266357421875, 0.153076171875, 0.164794921875, 0.16943359375, 0.097900390625, 0.2386474609375, 0.261962890625, 0...
embed
51226919_c1
51226919
elixir
1
url, non_null(:string)) field(:upload_url, non_null(:string)) end I am using GraphQL implemented with Absinthe, I have added to the resolvers as follows: def presign_url(_, _, _) do {:ok, Server.Posts.get_presign_url()} end This is the upload URL generated: { "data": { "presignUrl": { "url": "http://s3.amazonaws.com/my...
not match error when pushing image to bucket using presigned url In a React Native application with an Elixir/Phoenix back end I am attempting to have a user create a photo that will push to an S3 bucket using an AWS presigned url. I am using the Hex package ex_aws to expose the API. While I am relatively new to the E...
[ -0.0030364990234375, 0.0057373046875, 0.005279541015625, -0.0091552734375, -0.00732421875, 0.017578125, 0.0181884765625, -0.0106201171875, -0.001495361328125, 0.00299072265625, 0.002288818359375, 0.012451171875, -0.003997802734375, 0.002899169921875, -0.0003108978271484375, -0.01721191...
[ 959, 14858, 18499, 25944, 29569, 47, 373, 27853, 17368, 479, 31304, 297, 25002, 853, 47013, 353, 4935, 38415, 25318, 38308, 33, 4084, 4420, 3564, 81887, 38937, 28282, 16186, 159, 363, 62, 52143, 1529, 425, 98169, 1119, 15519, 7, 172554, 6...
[ 0.111572265625, 0.254638671875, 0.215576171875, 0.1680908203125, 0.1888427734375, 0.099365234375, 0.099853515625, 0.20703125, 0.03472900390625, 0.108154296875, 0.1829833984375, 0.046173095703125, 0.1727294921875, 0.044219970703125, 0.173583984375, 0.086181640625, 0.155029296875, 0....
embed
74134447_c0
74134447
elixir
0
Title: When changeset cast, how to set permitted fields by all fields? Problem title: When changeset cast, how to set permitted fields by all fields? Tags: phoenix-framework, elixir Problem: When changeset cast, how to set permitted fields by all fields? My code is as follows: defp import_product(importer, head, produc...
When changeset cast, how to set permitted fields by all fields? When changeset cast, how to set permitted fields by all fields? phoenix-framework elixir When import_product IO.inspect head_a Enum.map Enum.slice String.to_existing_atom product_a Map.new List.zip params_new Ecto.Changeset.cast Mirror.Imports.Product chan...
[ -0.00830078125, -0.005645751953125, 0.00506591796875, 0.03759765625, 0.0087890625, -0.0096435546875, -0.0118408203125, 0.01141357421875, -0.00213623046875, 0.0260009765625, 0.00408935546875, 0.00714111328125, 0.011962890625, 0.03076171875, -0.01483154296875, -0.0296630859375, -0.0036...
[ 14847, 65572, 126, 37702, 3642, 47, 5423, 28897, 3674, 44457, 7, 390, 756, 53073, 33, 4084, 160328, 18244, 15296, 38308, 24927, 57877, 17780, 16711, 10336, 357, 316, 62346, 13348, 23351, 54376, 5928, 12996, 42719, 32036, 50836, 44150, 127008,...
[ 0.0615234375, 0.2099609375, 0.19580078125, 0.1790771484375, 0.0726318359375, 0.001495361328125, 0.1788330078125, 0.229248046875, 0.11328125, 0.256103515625, 0.033935546875, 0.0887451171875, 0.1343994140625, 0.005340576171875, 0.033203125, 0.083984375, 0.073974609375, 0.047088623046...
embed
41821254_c0
41821254
elixir
0
Title: Concatenating multiple lists in Elixir Problem title: Concatenating multiple lists in Elixir Tags: elixir Problem: Concatenating multiple lists in Elixir I am learning Elixir and found myself having to concat multiple lists together where I have a beginning, middle, and end. Simplified example: a = [1,2] b = [3,...
Concatenating multiple lists in Elixir Concatenating multiple lists in Elixir elixir Concatenating Elixir is_list Enum.reverse Enum.reduce Way Concatenating multiple lists in Elixir I am learning Elixir and found myself having to concat multiple lists together where I have a beginning, middle, and end. Simplified examp...
[ -0.01214599609375, 0.01385498046875, 0.008544921875, 0.000507354736328125, -0.0016937255859375, -0.007110595703125, 0.00433349609375, 0.01708984375, 0.0341796875, -0.0137939453125, -0.01007080078125, -0.005279541015625, 0.015380859375, 0.029541015625, 0.00439453125, -0.027587890625, ...
[ 1657, 4460, 33, 26518, 48716, 5303, 7, 23, 25318, 38308, 15296, 83, 6562, 357, 316, 107, 37676, 106357, 42261, 52080, 158, 25842, 86595, 86991, 3564, 27781, 20594, 137107, 20028, 75973, 3444, 14486, 1672, 54397, 32354, 34831, 1957, 17368, 8...
[ 0.0855712890625, 0.2115478515625, 0.1236572265625, 0.042022705078125, 0.2171630859375, 0.256103515625, 0.04449462890625, 0.043304443359375, 0.131103515625, 0.24951171875, 0.0938720703125, 0.1014404296875, 0.208251953125, 0.05059814453125, 0.157470703125, 0.0902099609375, 0.1763916015...
embed
52909767_c0
52909767
elixir
0
Title: Confusion about run time and libraries in Elixir Problem title: Confusion about run time and libraries in Elixir Tags: elixir Problem: Confusion about run time and libraries in Elixir I'm trying to use an MQTT library in elixir known as Tortoise. Whenever I use iex -S mix I can get the sending of messages to wor...
Confusion about run time and libraries in Elixir Confusion about run time and libraries in Elixir elixir Tortoise Confusion Elixir Tortoise.Registry Tortoise.Supervisor.start_child Mqtt.Begin one_for_one Tortoise.Supervisor.start_link client_id Mqtt.Handler Tortoise.Transport.Tcp Confusion about run time and libraries ...
[ -0.00592041015625, -0.00628662109375, -0.0033721923828125, 0.012451171875, 0.009033203125, -0.005462646484375, -0.004669189453125, 0.0074462890625, -0.00152587890625, -0.036865234375, -0.01019287109375, 0.0036773681640625, 0.0152587890625, 0.033447265625, 0.00616455078125, -0.004394531...
[ 92105, 11675, 1733, 136, 35773, 10484, 25318, 38308, 15296, 6653, 188, 3075, 54601, 14, 73903, 51858, 17137, 206, 38472, 864, 3062, 6820, 3630, 10187, 23282, 135679, 62624, 6982, 121422, 23, 4527, 2737, 13739, 17, 3355, 294, 17664, 135834, ...
[ 0.1314697265625, 0.08966064453125, 0.1328125, 0.0166168212890625, 0.2012939453125, 0.1162109375, 0.1085205078125, 0.23876953125, 0.06671142578125, 0.10693359375, 0.1451416015625, 0.195068359375, 0.0966796875, 0.1058349609375, 0.154296875, 0.219970703125, 0.1199951171875, 0.05377197...
embed
37805237_c0
37805237
elixir
0
Title: Macros and module attributes in Elixir 1.3 Problem title: Macros and module attributes in Elixir 1.3 Tags: elixir, macros Problem: Macros and module attributes in Elixir 1.3 Elixir 1.3.0-rc1 compiler can't compile one of my macros. It was okay in Elixir 1.2.6. defmodule M do defmacro ifa(a, exp) do if (Macro.exp...
Macros and module attributes in Elixir 1.3 Macros and module attributes in Elixir 1.3 elixir macros ArgumentError M Macros Elixir Macro.expand_once __ENV__ Foo M.ifa IO.puts Foo.main elixir-1.3.0-rc1 foobar.exs get_attribute module.ex:1144 Module.assert_not_compiled module.ex:1066 Module.get_attribute kernel.ex:2360 Ke...
[ -0.01318359375, 0.005859375, -0.01202392578125, 0.0028228759765625, 0.017822265625, 0.00830078125, 0.003173828125, 0.01458740234375, -0.0019989013671875, -0.01202392578125, -0.01361083984375, 0.01202392578125, 0.009033203125, 0.0079345703125, 0.00494384765625, -0.0191650390625, -0.02...
[ 4727, 3666, 136, 88996, 150380, 90, 23, 25318, 38308, 41491, 15296, 111789, 112140, 18468, 31611, 276, 516, 83613, 2940, 191, 329, 11572, 856, 9572, 31, 32307, 17780, 7077, 24931, 5759, 132265, 19437, 418, 5775, 1299, 3355, 2046, 257, 19114...
[ 0.145751953125, 0.1812744140625, 0.08453369140625, 0.2357177734375, 0.23876953125, 0.045745849609375, 0.021026611328125, 0.160400390625, 0.2705078125, 0.26123046875, 0.103271484375, 0.240478515625, 0.1942138671875, 0.09967041015625, 0.023345947265625, 0.1351318359375, 0.16064453125, ...
embed
50053903_c0
50053903
elixir
0
Title: Elixir - Converting gzip compressed and base64 encoded API response to string Problem title: Elixir - Converting gzip compressed and base64 encoded API response to string Tags: elixir Problem: Elixir - Converting gzip compressed and base64 encoded API response to string I had to create a SignalR client because I...
Elixir - Converting gzip compressed and base64 encoded API response to string Elixir - Converting gzip compressed and base64 encoded API response to string elixir Elixir Converting base64 API Base.decode64 jZC7DsIwDEX xXOIEjuJ44w8tgKChgFQV36i6r TvpAqQOAlUnR87OsW9pDgUm zap03oOAAydrggoIbpHsL FJwhiWWvnYyl4ATJaNOpEcEJCVGbq...
[ -0.012451171875, 0.01531982421875, 0.003662109375, 0.003936767578125, 0.006591796875, 0.010498046875, -0.023681640625, -0.00787353515625, -0.006927490234375, 0.0164794921875, 0.0126953125, 0.0120849609375, 0.0120849609375, 0.03662109375, -0.00927734375, 0.0194091796875, -0.0008811950...
[ 25318, 38308, 20, 1657, 814, 1916, 706, 50836, 375, 11856, 136, 3647, 13307, 22, 40899, 61687, 57553, 79315, 15296, 44978, 112, 1647, 966, 26939, 128468, 97, 5612, 6967, 2053, 188800, 28282, 144000, 1052, 23282, 9790, 27774, 2921, 425, 1467...
[ 0.1444091796875, 0.259521484375, 0.003143310546875, 0.032318115234375, 0.137451171875, 0.0258331298828125, 0.052764892578125, 0.21435546875, 0.0911865234375, 0.1722412109375, 0.017791748046875, 0.1568603515625, 0.2261962890625, 0.0149993896484375, 0.1676025390625, 0.16357421875, 0.13...
embed
38551798_c1
38551798
elixir
1
000 @chunk_size 128 def init(opts), do: opts def start() do Plug.Adapters.Cowboy.http Plugtest, [], port: @port {:ok, _pid} = PubSub.start_link() spawn fn -> stream_from_file(@file_path, @chunk_size) end end def call(conn, _opts) do conn = conn |> send_chunked(200) |> put_resp_content_type("audio/mpeg") :ok = PubSub.su...
000 @chunk_size 128 def init(opts), do: opts def start() do Plug.Adapters.Cowboy.http Plugtest, [], port: @port {:ok, _pid} = PubSub.start_link() spawn fn -> stream_from_file(@file_path, @chunk_size) end end def call(conn, _opts) do conn = conn |> send_chunked(200) |> put_resp_content_type("audio/mpeg") :ok = PubSub.su...
[ -0.0223388671875, 0.00074005126953125, 0.01153564453125, 0.0010833740234375, -0.01470947265625, 0.00011301040649414062, -0.00531005859375, -0.0155029296875, 0.007720947265625, -0.037109375, -0.0003986358642578125, 0.00787353515625, 0.0091552734375, 0.0228271484375, 0.007568359375, 0.00...
[ 2445, 1374, 206, 3678, 62539, 26560, 8, 420, 23, 217, 2146, 933, 54, 233, 4034, 16, 194351, 5, 22409, 2631, 23962, 441, 8770, 30885, 5475, 6954, 268, 11469, 6982, 685, 45226, 8152, 105269, 96472, 17137, 454, 10187, 5623, 7710, 6, 14783,...
[ 0.234619140625, 0.1182861328125, 0.0882568359375, 0.180908203125, 0.151123046875, 0.2283935546875, 0.1107177734375, 0.094482421875, 0.0738525390625, 0.1282958984375, 0.1746826171875, 0.15869140625, 0.06256103515625, 0.17529296875, 0.1458740234375, 0.01214599609375, 0.2471923828125, ...
embed
42725388_c0
42725388
elixir
0
Title: Phoenix mix - compile can&#x27;t find dependency of dependency Problem title: Phoenix mix - compile can&#x27;t find dependency of dependency Tags: elixir, elixir-mix, phoenix-framework Problem: Phoenix mix - compile can't find dependency of dependency In my Phoenix app, I am having an issue where mix seems to be...
Phoenix mix - compile can&#x27;t find dependency of dependency Phoenix mix - compile can&#x27;t find dependency of dependency elixir elixir-mix phoenix-framework Phoenix mix.exs deps.get mix.lock deps.compile DEP Users phoenix_app jwt.app deps.unlock deps.clean Phoenix mix - compile can't find dependency of dependency ...
[ 0.016357421875, 0.018310546875, 0.00628662109375, 0.000423431396484375, -0.0033111572265625, 0.024658203125, -0.01043701171875, 0.0069580078125, 0.0020294189453125, -0.00970458984375, -0.0177001953125, -0.01025390625, 0.027099609375, 0.0439453125, -0.000629425048828125, 0.012939453125,...
[ 133720, 17664, 9969, 1340, 3768, 18, 7413, 42548, 27771, 111, 15296, 38308, 62015, 53073, 33, 4084, 160328, 3355, 8, 6423, 3794, 21135, 58875, 1514, 683, 53400, 9007, 309, 11030, 831, 4027, 31089, 51, 2886, 117538, 49814, 254, 9803, 6448, ...
[ 0.2293701171875, 0.254638671875, 0.1556396484375, 0.1478271484375, 0.03717041015625, 0.06463623046875, 0.1324462890625, 0.21337890625, 0.08038330078125, 0.033843994140625, 0.017730712890625, 0.1361083984375, 0.187744140625, 0.03106689453125, 0.04412841796875, 0.102783203125, 0.063049...
embed
74332019_c0
74332019
elixir
0
Title: how to deal with the `scrivener`&#x27;s the `phoenix` dependence version error problem? Problem title: how to deal with the `scrivener`&#x27;s the `phoenix` dependence version error problem? Tags: phoenix-framework, elixir Problem: how to deal with the `scrivener`'s the `phoenix` dependence version error problem...
how to deal with the `scrivener`&#x27;s the `phoenix` dependence version error problem? how to deal with the `scrivener`&#x27;s the `phoenix` dependence version error problem? phoenix-framework elixir mix phoenix_ecto ecto_sql phoenix_html phoenix_live_reload phoenix_live_view phoenix_live_dashboard Mix.env telemetry_m...
[ -0.004852294921875, 0.0225830078125, 0.0162353515625, 0.0096435546875, 0.002166748046875, -0.0028533935546875, -0.0179443359375, 0.00567626953125, 0.00067138671875, -0.0123291015625, 0.0145263671875, -0.021728515625, 0.0213623046875, 0.0089111328125, 0.024169921875, 0.0035400390625, ...
[ 3642, 35142, 678, 16126, 1353, 56, 3768, 22014, 33, 4084, 215131, 11389, 18499, 2967, 53073, 160328, 18244, 15296, 38308, 17664, 60751, 99247, 7693, 24056, 63033, 22751, 155892, 37286, 334, 1928, 186518, 5877, 76329, 30885, 40099, 758, 30441, ...
[ 0.03033447265625, 0.1251220703125, 0.04400634765625, 0.113525390625, 0.125732421875, 0.1610107421875, 0.0259246826171875, 0.04437255859375, 0.1324462890625, 0.1492919921875, 0.22900390625, 0.188720703125, 0.1939697265625, 0.1187744140625, 0.052276611328125, 0.06854248046875, 0.017807...
embed
44531335_c1
44531335
elixir
1
, and then still it is not really clear to me how to add properties so the eventual AST is correct. For completeness, here is my lexer: Definitions. Rules. {Type_Regular} : {token, {type_regular, TokenLine}}. {Type_Warning} : {token, {type_warning, TokenLine}}. {Char} : {token, {char, TokenLine, TokenChars}}. {Space} :...
, and then still it is not really clear to me how to add properties so the eventual AST is correct. For completeness, here is my lexer: Definitions. Rules. {Type_Regular} : {token, {type_regular, TokenLine}}. {Type_Warning} : {token, {type_warning, TokenLine}}. {Char} : {token, {char, TokenLine, TokenChars}}. {Space} :...
[ -0.0125732421875, -0.00933837890625, 0.022705078125, 0.01153564453125, -0.01123046875, 0.00579833984375, -0.01190185546875, -0.01904296875, -0.01458740234375, -0.02001953125, 0.01220703125, 0.02783203125, -0.01611328125, -0.007080078125, 0.0016021728515625, 0.02490234375, 0.015380859...
[ 6, 7068, 7464, 6183, 34735, 163, 3642, 15190, 183871, 221, 70, 57693, 48963, 83, 26785, 5, 28484, 7432, 3688, 759, 95, 34058, 155455, 139118, 196707, 54601, 35975, 6448, 33, 50986, 144867, 717, 1098, 93232, 71947, 4205, 84068, 9254, 141012,...
[ 0.029632568359375, 0.00927734375, 0.0673828125, 0.0186004638671875, 0.1468505859375, 0.0244598388671875, 0.036865234375, 0.189697265625, 0.295654296875, 0.0462646484375, 0.02032470703125, 0.1376953125, 0.2391357421875, 0.1011962890625, 0.1751708984375, 0.00518798828125, 0.0751953125,...
embed
33461345_c0
33461345
elixir
0
Title: How can I get the current operating system name in Elixir? Problem title: How can I get the current operating system name in Elixir? Tags: elixir Problem: How can I get the current operating system name in Elixir? In Ruby, I would use the RUBY_PLATFORM constant to determine what operating system (Mac, Windows, L...
How can I get the current operating system name in Elixir? How can I get the current operating system name in Elixir? elixir How Elixir RUBY_PLATFORM self.open_document Don Kernel.system System.cmd os.type Darwin How can I get the current operating system name in Elixir? In Ruby, I would use the RUBY_PLATFORM constant ...
[ 0.00174713134765625, 0.01214599609375, -0.005035400390625, 0.031494140625, 0.009765625, -0.0184326171875, -0.007232666015625, -0.00160980224609375, -0.02880859375, -0.0126953125, 0.0181884765625, -0.002716064453125, 0.00054931640625, 0.0012359619140625, -0.0034027099609375, 0.004760742...
[ 11249, 831, 2046, 70, 43581, 172852, 5426, 9351, 23, 25318, 38308, 15296, 46845, 36354, 683, 38705, 98533, 15970, 59636, 117432, 7650, 119125, 583, 16751, 12353, 3931, 362, 50986, 131455, 87, 360, 158189, 2806, 4527, 53697, 83324, 2367, 55450...
[ 0.048248291015625, 0.085693359375, 0.150634765625, 0.1131591796875, 0.2061767578125, 0.20703125, 0.213134765625, 0.2059326171875, 0.11669921875, 0.161865234375, 0.294921875, 0.1143798828125, 0.1358642578125, 0.190673828125, 0.0850830078125, 0.1356201171875, 0.23388671875, 0.0698242...
embed
61391458_c0
61391458
elixir
0
Title: Programmatically determine a dependency version in Elixir Mix Task Problem title: Programmatically determine a dependency version in Elixir Mix Task Tags: phoenix-framework, elixir-mix, hex-pm, elixir Problem: Programmatically determine a dependency version in Elixir Mix Task Is there a way to programmatically t...
Programmatically determine a dependency version in Elixir Mix Task Programmatically determine a dependency version in Elixir Mix Task phoenix-framework elixir-mix hex-pm elixir Programmatically Elixir Mix Task mix.lock Programmatically determine a dependency version in Elixir Mix Task Is there a way to programmatically...
[ 0.01202392578125, 0.0181884765625, 0.0205078125, 0.006195068359375, 0.01007080078125, 0.01031494140625, -0.0146484375, 0.0179443359375, -0.00098419189453125, -0.014404296875, -0.015869140625, -0.0174560546875, 0.002777099609375, 0.017333984375, 0.00238037109375, 0.0281982421875, -0.0...
[ 27958, 257, 71407, 83324, 42548, 27771, 11389, 25318, 38308, 37286, 9598, 92, 53073, 33, 4084, 160328, 15296, 62015, 764, 425, 26822, 17664, 21135, 3917, 47, 11720, 43581, 20600, 23, 114122, 66211, 98169, 145823, 75101, 3444, 111, 133720, 389...
[ 0.140869140625, 0.07904052734375, 0.0210723876953125, 0.1697998046875, 0.21484375, 0.126220703125, 0.2227783203125, 0.1063232421875, 0.2066650390625, 0.250732421875, 0.1683349609375, 0.0831298828125, 0.08514404296875, 0.12744140625, 0.1343994140625, 0.06866455078125, 0.0687255859375,...
embed
65573781_c0
65573781
elixir
0
Title: Using pipe on next line in iex (syntax error before: &#x27;|&gt;&#x27;) Problem title: Using pipe on next line in iex (syntax error before: &#x27;|&gt;&#x27;) Tags: pipe, elixir, elixir-iex Problem: Using pipe on next line in iex (syntax error before: '|>') In chains of pipes in Elixir, it's standard to place th...
Using pipe on next line in iex (syntax error before: &#x27;|&gt;&#x27;) Using pipe on next line in iex (syntax error before: &#x27;|&gt;&#x27;) pipe elixir elixir-iex SyntaxError Using IO.inspect Kernel Integer.to_string iex:2:1 Using pipe on next line in iex (syntax error before: '|>') In chains of pipes in Elixir, it...
[ -0.01171875, 0.0101318359375, -0.018798828125, 0.03173828125, -0.00701904296875, -0.00173187255859375, -0.0157470703125, -0.003936767578125, -0.01226806640625, -0.0296630859375, -0.01190185546875, 0.023193359375, 0.0084228515625, -0.0010528564453125, 0.01239013671875, -0.00442504882812...
[ 345, 6953, 137158, 98, 11737, 13315, 17, 3355, 12654, 86531, 18499, 8108, 3768, 15296, 38308, 14, 19010, 18468, 17780, 16711, 119125, 583, 44401, 188, 91693, 304, 19721, 23, 58745, 2740, 121293, 7, 25318, 5570, 3687, 99, 86595, 70, 9790, ...
[ 0.1083984375, 0.00384521484375, 0.2467041015625, 0.0997314453125, 0.156982421875, 0.18115234375, 0.10308837890625, 0.2078857421875, 0.06402587890625, 0.1402587890625, 0.1402587890625, 0.0836181640625, 0.08740234375, 0.0706787109375, 0.2431640625, 0.0843505859375, 0.03173828125, 0.0...
embed
56020117_c0
56020117
elixir
0
Title: Phoenix - no function clause matching in ProjWeb.UserController.sign_in/2 Problem title: Phoenix - no function clause matching in ProjWeb.UserController.sign_in/2 Tags: phoenix-framework, elixir Problem: Phoenix - no function clause matching in ProjWeb.UserController.sign_in/2 I have defined the following routes...
Phoenix - no function clause matching in ProjWeb.UserController.sign_in/2 Phoenix - no function clause matching in ProjWeb.UserController.sign_in/2 phoenix-framework elixir Phoenix ProjWeb.UserController.sign_in router.ex ProjWeb pipe_through sign_up UserController sign_in user_params example.com Krishna SUPER_SECRET_P...
[ -0.01068115234375, 0.016845703125, -0.002288818359375, -0.0220947265625, -0.00982666015625, 0.006439208984375, -0.0142822265625, -0.0098876953125, 0.01251220703125, -0.017333984375, -0.01385498046875, -0.0230712890625, 0.000713348388671875, 0.0179443359375, 0.0028228759765625, 0.002334...
[ 133720, 110, 32354, 70731, 13, 14858, 214, 1250, 170, 30474, 1062, 2189, 175904, 603, 31304, 73, 12477, 53073, 33, 4084, 160328, 15296, 38308, 122188, 3355, 137158, 222521, 24092, 53400, 38937, 2500, 27781, 55420, 55452, 441, 41116, 98185, 19...
[ 0.272705078125, 0.1016845703125, 0.15771484375, 0.2059326171875, 0.1009521484375, 0.178955078125, 0.07550048828125, 0.11181640625, 0.10711669921875, 0.1856689453125, 0.020263671875, 0.0765380859375, 0.1708984375, 0.140625, 0.1104736328125, 0.133056640625, 0.1826171875, 0.0347595214...
embed
57805387_c1
57805387
elixir
1
_params}) do case Video.create_videos(videos_params) do {:ok, videos} -> conn |> put_flash(:info, "Videos created successfully.") |> redirect(to: videos_path(conn, :show, videos)) {:error, %Ecto.Changeset{} = changeset} -> render(conn, "new.html", changeset: changeset) end end def show(conn, %{"id" => id}) do videos = ...
_params}) do case Video.create_videos(videos_params) do {:ok, videos} -> conn |> put_flash(:info, "Videos created successfully.") |> redirect(to: videos_path(conn, :show, videos)) {:error, %Ecto.Changeset{} = changeset} -> render(conn, "new.html", changeset: changeset) end end def show(conn, %{"id" => id}) do videos = ...
[ -0.01123046875, -0.00182342529296875, 0.01318359375, -0.018310546875, 0.019775390625, 0.00008392333984375, -0.005340576171875, -0.01458740234375, 0.010009765625, -0.0177001953125, -0.025390625, -0.04833984375, 0.021728515625, 0.032958984375, 0.0027313232421875, 0.01434326171875, -0.0...
[ 101, 2500, 8256, 54, 7225, 2692, 7612, 2182, 10248, 132, 685, 21930, 158, 19, 3884, 420, 5544, 7319, 25073, 7, 75935, 65771, 456, 80581, 188, 128405, 2271, 31374, 188800, 44150, 127008, 4188, 126, 65572, 89159, 54936, 7693, 3564, 7639, 17...
[ 0.0782470703125, 0.1612548828125, 0.17626953125, 0.1068115234375, 0.1602783203125, 0.2274169921875, 0.1429443359375, 0.0784912109375, 0.2452392578125, 0.001800537109375, 0.1392822265625, 0.2218017578125, 0.08056640625, 0.06768798828125, 0.09765625, 0.03485107421875, 0.1746826171875, ...
embed
39337301_c2
39337301
elixir
2
title, :string field :body, :string has_one :image, Blog.Image belongs_to :user, Blog.User timestamps() end def changeset(struct, params \\ %{}) do struct |> cast(params, [:title, :body, :user_id]) |> validate_required([:title, :body, :user_id]) end end my image.ex: defmodule Code signals: Ecto.CastError, POST, Process...
title, :string field :body, :string has_one :image, Blog.Image belongs_to :user, Blog.User timestamps() end def changeset(struct, params \\ %{}) do struct |> cast(params, [:title, :body, :user_id]) |> validate_required([:title, :body, :user_id]) end end my image.ex: defmodule Code signals: Ecto.CastError, POST, Process...
[ 0.01324462890625, 0.002593994140625, 0.0162353515625, 0.004913330078125, 0.01324462890625, 0.0166015625, -0.008056640625, -0.0301513671875, 0.01019287109375, -0.0069580078125, 0.0037078857421875, 0.04248046875, 0.005096435546875, 0.0147705078125, 0.005889892578125, -0.0255126953125, ...
[ 44759, 4, 152, 91693, 44457, 37873, 1556, 3630, 37926, 5061, 216960, 10617, 188, 65918, 1062, 2189, 20028, 2537, 6423, 3564, 8, 420, 65572, 126, 36716, 121, 1745, 54, 37702, 2500, 8256, 5440, 532, 44622, 3181, 759, 29569, 3355, 83279, 288...
[ 0.263916015625, 0.0208740234375, 0.065673828125, 0.2303466796875, 0.217041015625, 0.1993408203125, 0.160888671875, 0.15673828125, 0.189697265625, 0.218994140625, 0.223388671875, 0.1646728515625, 0.1173095703125, 0.16650390625, 0.0816650390625, 0.1217041015625, 0.0261077880859375, 0...
embed
55141449_c1
55141449
elixir
1
_filepath(request_path, query_string)}") |> halt() false -> conn |> Plug.Conn.register_before_send(&PagesWeb.Plugs.Cache.save_html_to_cache/1) |> put_resp_header("x-phoenix-cache", "false") end end def call(conn, _default) do conn end def save_html_to_cache( %Plug.Conn{request_path: request_path, query_string: query_st...
_filepath(request_path, query_string)}") |> halt() false -> conn |> Plug.Conn.register_before_send(&PagesWeb.Plugs.Cache.save_html_to_cache/1) |> put_resp_header("x-phoenix-cache", "false") end end def call(conn, _default) do conn end def save_html_to_cache( %Plug.Conn{request_path: request_path, query_string: query_st...
[ 0.004486083984375, 0.0087890625, 0.038330078125, -0.0201416015625, -0.01025390625, 0.01300048828125, -0.022705078125, -0.0240478515625, 0.0167236328125, -0.049560546875, -0.0250244140625, -0.017333984375, -0.013427734375, 0.01239013671875, 0.0152587890625, -0.00775146484375, -0.03784...
[ 101, 29822, 128405, 107, 75616, 41, 1294, 91693, 58810, 98320, 158, 19, 194351, 11935, 105199, 89700, 39285, 147101, 30474, 35159, 46994, 108999, 7693, 188, 408, 11583, 3884, 2109, 254, 31251, 56, 425, 22014, 33, 4084, 1430, 8710, 3564, 8, ...
[ 0.05584716796875, 0.179443359375, 0.2578125, 0.050537109375, 0.176513671875, 0.1005859375, 0.08843994140625, 0.1923828125, 0.2003173828125, 0.1591796875, 0.1163330078125, 0.152587890625, 0.2183837890625, 0.1337890625, 0.224609375, 0.0848388671875, 0.06829833984375, 0.0968017578125,...
embed
72884892_c0
72884892
elixir
0
Title: Elixir: comparison with nil is forbidden as it is unsafe Problem title: Elixir: comparison with nil is forbidden as it is unsafe Tags: elixir, ecto Problem: Elixir: comparison with nil is forbidden as it is unsafe case id do nil -> raw_id_by_name_tenant(@default_name, nil) _ -> id end end defp raw_id_by_name_ten...
Elixir: comparison with nil is forbidden as it is unsafe Elixir: comparison with nil is forbidden as it is unsafe elixir ecto ArgumentError Elixir Application mt_consumer MTConsumer.Application.start MTConsumer EXIT is_nil builder.ex:551 Ecto.Query.Builder.not_nil mt_model location.ex:36 MTModel.Location.raw_id_by_name...
[ -0.0189208984375, -0.0033721923828125, 0.003082275390625, 0.00165557861328125, 0.0023956298828125, 0.001556396484375, 0.0262451171875, -0.0198974609375, -0.01611328125, -0.03662109375, 0.0186767578125, 0.0220947265625, 0.013916015625, -0.0189208984375, -0.00140380859375, -0.0107421875,...
[ 25318, 38308, 12, 225490, 678, 17324, 83, 69871, 57415, 237, 51, 115840, 15296, 60751, 112140, 18468, 104921, 18, 25553, 316, 36812, 11832, 47677, 182867, 17137, 29426, 6371, 45367, 56, 3355, 145110, 241, 44150, 41732, 121137, 10869, 51734, 3...
[ 0.1541748046875, 0.279296875, 0.01123046875, 0.260498046875, 0.1463623046875, 0.2197265625, 0.033355712890625, 0.16015625, 0.1602783203125, 0.080322265625, 0.0714111328125, 0.2244873046875, 0.117919921875, 0.235595703125, 0.2176513671875, 0.09912109375, 0.120849609375, 0.1138916015...
embed
36758255_c0
36758255
elixir
0
Title: How are functions ordered when calling multi defined functions with the same name Problem title: How are functions ordered when calling multi defined functions with the same name Tags: elixir Problem: How are functions ordered when calling multi defined functions with the same name Hi guys I'm just following alo...
How are functions ordered when calling multi defined functions with the same name How are functions ordered when calling multi defined functions with the same name elixir How MyList MyList.length How are functions ordered when calling multi defined functions with the same name Hi guys I'm just following along with the ...
[ 0.0103759765625, 0.0303955078125, 0.0019989013671875, 0.0238037109375, 0.00799560546875, 0.000682830810546875, 0.01007080078125, -0.002166748046875, 0.02734375, -0.034912109375, 0.003997802734375, -0.0263671875, 0, 0.0289306640625, 0.0177001953125, -0.0021209716796875, -0.00540161132...
[ 11249, 32354, 12989, 297, 159029, 6024, 61924, 678, 5701, 9351, 621, 15296, 38308, 2646, 154663, 23986, 927, 51484, 25632, 55741, 46204, 150, 8283, 47823, 123309, 35509, 56037, 46876, 25225, 5303, 114122, 140909, 221, 43240, 6782, 28219, 7311, ...
[ 0.07867431640625, 0.2354736328125, 0.2200927734375, 0.080810546875, 0.13525390625, 0.1658935546875, 0.1864013671875, 0.0267486572265625, 0.1160888671875, 0.1129150390625, 0.002471923828125, 0.0838623046875, 0.211669921875, 0.09918212890625, 0.223388671875, 0.069580078125, 0.021743774...
embed
50321904_c0
50321904
elixir
0
Title: validate a nested json using Ecto.changeset schemaless Problem title: validate a nested json using Ecto.changeset schemaless Tags: elixir, phoenix-framework Problem: validate a nested json using Ecto.changeset schemaless I've started to write an application with Elixir and Phoenix, but I am a little bit lost. Ba...
validate a nested json using Ecto.changeset schemaless validate a nested json using Ecto.changeset schemaless elixir phoenix-framework Ecto.changeset Alan C-137 person_id Foo.Person Map.keys validate a nested json using Ecto.changeset schemaless I've started to write an application with Elixir and Phoenix, but I am a l...
[ -0.006500244140625, 0.020263671875, 0.0159912109375, 0.037353515625, 0.00482177734375, -0.0031280517578125, -0.0079345703125, 0.0014190673828125, 0.00191497802734375, -0.047119140625, -0.0030670166015625, 0.0123291015625, 0.017822265625, 0.050537109375, 0, 0.0022430419921875, -0.0092...
[ 44622, 67, 8512, 71, 1647, 1681, 17368, 241, 44150, 152028, 3509, 61903, 9393, 15296, 38308, 53073, 33, 4084, 160328, 44576, 313, 128780, 3445, 532, 9572, 31, 160054, 42719, 19770, 5, 26859, 33022, 38415, 678, 25318, 136, 133720, 10176, 728...
[ 0.2474365234375, 0.08489990234375, 0.244384765625, 0.163330078125, 0.130615234375, 0.2130126953125, 0.037841796875, 0.0777587890625, 0.275390625, 0.2169189453125, 0.2203369140625, 0.1982421875, 0.2548828125, 0.058624267578125, 0.1973876953125, 0.04345703125, 0.0712890625, 0.1120605...
embed
49279809_c0
49279809
elixir
0
Title: Join 3 tables using ecto query Problem title: Join 3 tables using ecto query Tags: ecto, join, select, elixir, sql Problem: Join 3 tables using ecto query Here is a scenario with Postgres CREATE TABLE "hearings" ( "hearing_id" int4 NOT NULL, "date" timestamp NOT NULL, "time" varchar(32), "committee" varchar(255)...
Join 3 tables using ecto query Join 3 tables using ecto query ecto join select elixir sql ecto h Join CREATE TABLE hearing_id int4 NOT category_id DEFAULT hearing_category_link SELECT LEFT hearings.hearing_id hearing_category_link.hearing_id hearing_category_link.category_id categories.category_id hl.hearing_id h.heari...
[ -0.00150299072265625, -0.0079345703125, -0.0091552734375, -0.0108642578125, -0.00921630859375, 0.004486083984375, -0.022216796875, 0.002471923828125, 0.004730224609375, -0.0634765625, -0.018798828125, -0.0262451171875, 0.007415771484375, 0.0037689208984375, -0.02392578125, -0.001609802...
[ 113053, 138, 23180, 7, 17368, 60751, 41, 1294, 6, 33284, 36849, 15296, 38308, 99247, 1096, 175151, 384, 183057, 129271, 532, 617, 86725, 95487, 1514, 14676, 33478, 6504, 10187, 144832, 25217, 90431, 214, 39283, 75084, 106117, 2795, 17562, 206...
[ 0.2088623046875, 0.2147216796875, 0.262451171875, 0.104248046875, 0.072998046875, 0.24462890625, 0.175537109375, 0.1019287109375, 0.001495361328125, 0.2135009765625, 0.09185791015625, 0.036041259765625, 0.1737060546875, 0.170166015625, 0.1080322265625, 0.1087646484375, 0.155639648437...
embed
39744696_c0
39744696
elixir
0
Title: How to implement an &quot;assert_difference&quot; for ExUnit Problem title: How to implement an &quot;assert_difference&quot; for ExUnit Tags: ex-unit, testing, elixir Problem: How to implement an "assert_difference" for ExUnit I'd like to test how a function changes something in the database. I'm struggling wit...
How to implement an &quot;assert_difference&quot; for ExUnit How to implement an &quot;assert_difference&quot; for ExUnit ex-unit testing elixir a How assert_difference ExUnit ActiveSupport::TestCase Post.create See Post.published.count post.publish Post.count records_before count_records records_after MyApp.Repo.one M...
[ -0.00029754638671875, -0.0001506805419921875, -0.021240234375, 0.01556396484375, -0.005157470703125, 0.009033203125, -0.0274658203125, -0.0216064453125, 0.0106201171875, -0.00787353515625, 0.0067138671875, 0.01275634765625, -0.01507568359375, 0.029541015625, 0.0211181640625, -0.0042724...
[ 11249, 29479, 142, 162, 33657, 428, 18234, 6620, 100, 5443, 85600, 18, 1119, 309, 217, 134234, 15296, 38308, 237, 88441, 2037, 6982, 111337, 441, 6991, 2795, 7612, 6872, 179193, 71013, 1305, 115923, 89700, 54529, 32271, 39179, 771, 3630, 30...
[ 0.0721435546875, 0.21240234375, 0.060089111328125, 0.0833740234375, 0.2369384765625, 0.13037109375, 0.2344970703125, 0.1947021484375, 0.07275390625, 0.19580078125, 0.24755859375, 0.124267578125, 0.20263671875, 0.1683349609375, 0.05267333984375, 0.2086181640625, 0.0771484375, 0.2115...
embed
39524701_c1
39524701
elixir
1
_user, :post) So this app has users and posts, and is trying to link them. But I don't see how it gets achieved. How does the database/Ecto know which user id to link with which post id? Anyway, I tried doing this in my app's iex : iex(46)> Ecto.build_assoc(user1, :rooms, room1) %Elemental.TxChat.Room{__meta__: #Ecto.S...
_user, :post) So this app has users and posts, and is trying to link them. But I don't see how it gets achieved. How does the database/Ecto know which user id to link with which post id? Anyway, I tried doing this in my app's iex : iex(46)> Ecto.build_assoc(user1, :rooms, room1) %Elemental.TxChat.Room{__meta__: #Ecto.S...
[ -0.0159912109375, 0.01165771484375, 0.006561279296875, -0.01397705078125, 0.00543212890625, 0.019775390625, -0.0048828125, 0.005706787109375, 0.0208740234375, -0.0439453125, 0.00174713134765625, -0.015869140625, 0.003875732421875, -0.02001953125, -0.01019287109375, -0.002960205078125, ...
[ 101, 65918, 152, 4594, 4027, 1556, 72095, 136, 32323, 31577, 3126, 2856, 18, 1957, 3642, 62163, 69307, 11249, 14602, 63399, 647, 44150, 3714, 3129, 38937, 3447, 47, 678, 1305, 37842, 17, 3355, 117413, 241, 177149, 73395, 238, 418, 28905, ...
[ 0.03369140625, 0.196044921875, 0.04144287109375, 0.16845703125, 0.1982421875, 0.007720947265625, 0.2196044921875, 0.039825439453125, 0.1715087890625, 0.07000732421875, 0.2437744140625, 0.01422119140625, 0.007965087890625, 0.0645751953125, 0.04022216796875, 0.006439208984375, 0.107604...
embed