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
44706839_c0
44706839
elixir
0
Title: Elixir Enum member? for multiple elements Problem title: Elixir Enum member? for multiple elements Tags: elixir, enums Problem: Elixir Enum member? for multiple elements Enum.member/2 is only able to check for one elements membership. Like Enum.member ["abc", "def", "ghi", "123", "hello"], "abc" -> true Is there...
Elixir Enum member? for multiple elements Elixir Enum member? for multiple elements elixir enums Elixir Enum Enum.member Elixir Enum member? for multiple elements Enum.member/2 is only able to check for one elements membership. Like Enum.member ["abc", "def", "ghi", "123", "hello"], "abc" -> true Is there a way to use ...
[ -0.01055908203125, -0.0201416015625, 0.00830078125, 0.00994873046875, -0.005706787109375, 0.01531982421875, 0.02294921875, -0.006591796875, 0.0037384033203125, -0.00811767578125, 0.020751953125, 0.017333984375, 0.0419921875, 0.0289306640625, 0.006439208984375, -0.002197265625, -0.001...
[ 25318, 38308, 357, 316, 32786, 100, 48716, 80854, 15296, 22, 10321, 39, 27417, 12477, 4734, 19048, 12765, 1632, 209274, 5, 2055, 238, 112, 420, 18651, 48636, 13817, 29568, 3917, 4527, 52184, 32354, 175199, 55769, 30646, 214, 98320, 959, 992...
[ 0.0916748046875, 0.226318359375, 0.1109619140625, 0.2364501953125, 0.262451171875, 0.05816650390625, 0.1917724609375, 0.1966552734375, 0.06280517578125, 0.0791015625, 0.1439208984375, 0.09674072265625, 0.24560546875, 0.1827392578125, 0.072021484375, 0.09686279296875, 0.177978515625, ...
embed
39574075_c0
39574075
elixir
0
Title: How can I specify format in the Phoenix.ConnTest? Problem title: How can I specify format in the Phoenix.ConnTest? Tags: phoenix-framework, elixir, ex-unit Problem: How can I specify format in the Phoenix.ConnTest? I have a pretty simple code in the phoenix controller. It does some stuff and returns content depe...
How can I specify format in the Phoenix.ConnTest? How can I specify format in the Phoenix.ConnTest? phoenix-framework elixir ex-unit How Phoenix.ConnTest _params get_format put_status How can I specify format in the Phoenix.ConnTest? I have a pretty simple code in the phoenix controller. It does some stuff and returns ...
[ -0.0284423828125, 0.01611328125, 0.01556396484375, -0.00077056884765625, 0.0020599365234375, -0.0341796875, 0.002593994140625, -0.00738525390625, 0.01007080078125, 0.00133514404296875, 0.018798828125, -0.0157470703125, -0.021728515625, -0.015869140625, -0.0028839111328125, -0.000602722...
[ 11249, 831, 40140, 18929, 9384, 133720, 11935, 19, 111337, 33, 4084, 160328, 18244, 15296, 38308, 1119, 309, 2500, 8256, 2046, 51727, 3884, 45215, 23, 8781, 18151, 53073, 185373, 30646, 10941, 96819, 43240, 2967, 134234, 3034, 7693, 58580, 25...
[ 0.0223846435546875, 0.03924560546875, 0.1795654296875, 0.129150390625, 0.266357421875, 0.20849609375, 0.0614013671875, 0.062469482421875, 0.2587890625, 0.037261962890625, 0.0736083984375, 0.042999267578125, 0.0020751953125, 0.0052490234375, 0.1177978515625, 0.044677734375, 0.02545166...
embed
40849431_c1
40849431
elixir
1
.reg_date_open, reg_date_close, event.reg_date_close, event.rules, Map.put_new, render_many, event.activities, Project.ActivityView, activity.json, PID, Project.Endpoint, Server, localhost:4000, Request, GET, encoder.ex:354, Poison.Encoder.Any.encode, encoder.ex:213, Poison.Encoder.Map.encode, encoder.ex:214, Poison.En...
.reg_date_open, reg_date_close, event.reg_date_close, event.rules, Map.put_new, render_many, event.activities, Project.ActivityView, activity.json, PID, Project.Endpoint, Server, localhost:4000, Request, GET, encoder.ex:354, Poison.Encoder.Any.encode, encoder.ex:213, Poison.Encoder.Map.encode, encoder.ex:214, Poison.En...
[ -0.0233154296875, -0.006011962890625, -0.0008392333984375, -0.00286865234375, -0.0111083984375, -0.0294189453125, -0.029052734375, -0.0026397705078125, 0.0157470703125, -0.040771484375, -0.027587890625, 0.00021076202392578125, 0.0208740234375, 0.0203857421875, 0.006256103515625, -0.011...
[ 6, 5, 10901, 17489, 59636, 4, 6835, 155648, 19732, 13500, 90, 42719, 7077, 54936, 89159, 669, 53, 71234, 31075, 27331, 164414, 2481, 100474, 103488, 170, 1681, 436, 7146, 152378, 38496, 22687, 4000, 40294, 12, 68037, 853, 75616, 79794, 22, ...
[ 0.024444580078125, 0.167724609375, 0.2373046875, 0.17041015625, 0.1995849609375, 0.03173828125, 0.2176513671875, 0.1522216796875, 0.1707763671875, 0.1324462890625, 0.061981201171875, 0.15478515625, 0.038818359375, 0.0628662109375, 0.187255859375, 0.06805419921875, 0.07391357421875, ...
embed
49538951_c0
49538951
elixir
0
Title: How to get monitoring stats on Erlang Ranch Problem title: How to get monitoring stats on Erlang Ranch Tags: cowboy, elixir, erlang, ranch Problem: How to get monitoring stats on Erlang Ranch I'm new to Elixir. I'm getting timeouts from my Elixir app during load testing. Any idea how to find out, at any point in...
How to get monitoring stats on Erlang Ranch How to get monitoring stats on Erlang Ranch cowboy elixir erlang ranch How Erlang Ranch max_connections How to get monitoring stats on Erlang Ranch I'm new to Elixir. I'm getting timeouts from my Elixir app during load testing. Any idea how to find out, at any point in time, ...
[ -0.018310546875, 0.0145263671875, -0.00084686279296875, -0.000804901123046875, 0.0123291015625, 0.01483154296875, -0.01068115234375, -0.01031494140625, 0.003753662109375, -0.04443359375, 0.026123046875, -0.0205078125, 0.02001953125, -0.004974365234375, 0.014404296875, 0.005126953125, ...
[ 11249, 2046, 97204, 63841, 1004, 3066, 33041, 206, 434, 30885, 15296, 38308, 72, 13028, 18389, 135457, 17514, 98, 25318, 1733, 6056, 4027, 72367, 134234, 6528, 7413, 1810, 5941, 94878, 9803, 50336, 41, 1257, 89289, 9433, 110, 112, 5962, 983...
[ 0.03448486328125, 0.0797119140625, 0.2423095703125, 0.2088623046875, 0.113525390625, 0.261962890625, 0.1290283203125, 0.1307373046875, 0.04730224609375, 0.134765625, 0.043060302734375, 0.191162109375, 0.0299530029296875, 0.09112548828125, 0.1297607421875, 0.1400146484375, 0.045135498...
embed
43713921_c0
43713921
elixir
0
Title: Is there a way to send files over websockets through phoenix channels? Problem title: Is there a way to send files over websockets through phoenix channels? Tags: phoenix-channels, phoenix-framework, elixir Problem: Is there a way to send files over websockets through phoenix channels? I am working on a chat fea...
Is there a way to send files over websockets through phoenix channels? Is there a way to send files over websockets through phoenix channels? phoenix-channels phoenix-framework elixir Is there a way to send files over websockets through phoenix channels? I am working on a chat feature right now and was wondering if the...
[ -0.0024871826171875, 0.005767822265625, -0.00726318359375, -0.00439453125, -0.014404296875, 0.0034332275390625, -0.00012302398681640625, -0.0045166015625, -0.007049560546875, -0.0308837890625, 0.01397705078125, 0.000039577484130859375, 0.0120849609375, 0.01373291015625, -0.00271606445312...
[ 2071, 2685, 10, 3917, 25379, 102158, 645, 1467, 991, 27853, 8305, 53073, 33, 4084, 86723, 47, 17032, 8876, 160328, 18244, 38308, 20697, 3245, 60213, 23468, 2060, 51, 226534, 5885, 1621, 8306, 53299, 11435, 3564, 6528, 4527, 4420, 47593, 678...
[ 0.019775390625, 0.056396484375, 0.049713134765625, 0.1121826171875, 0.1591796875, 0.2154541015625, 0.12353515625, 0.1502685546875, 0.146240234375, 0.1953125, 0.0887451171875, 0.1065673828125, 0.1370849609375, 0.1787109375, 0.2052001953125, 0.0301971435546875, 0.07958984375, 0.12268...
embed
27324995_c0
27324995
elixir
0
Title: Elixir: IEx.pry error: IEx shell running? Problem title: Elixir: IEx.pry error: IEx shell running? Tags: elixir Problem: Elixir: IEx.pry error: IEx shell running? On Elixir Sips 33 - Pry: While I'm trying to use IEx.pry, I have something basic like this: require IEx defmodule IexPryTest do def add(a, b) do c = a...
Elixir: IEx.pry error: IEx shell running? Elixir: IEx.pry error: IEx shell running? elixir IEx Elixir IEx.pry IexPryTest IexPryTest.add Cannot PID iex_pry_test.ex:24 Elixir: IEx.pry error: IEx shell running? On Elixir Sips 33 - Pry: While I'm trying to use IEx.pry, I have something basic like this: I get this Pry error...
[ -0.01129150390625, 0.023193359375, -0.004425048828125, 0.01708984375, -0.009521484375, 0.03173828125, 0.00689697265625, -0.0142822265625, -0.00439453125, -0.03515625, -0.00099945068359375, 0.01031494140625, -0.0033721923828125, 0.0224609375, 0.0164794921875, 0.0281982421875, 0.005798...
[ 25318, 38308, 87, 19279, 5, 254, 1294, 18499, 128019, 51042, 12, 15296, 3355, 683, 111337, 4028, 10869, 436, 7146, 17, 6954, 25732, 602, 6423, 3912, 133400, 31577, 4527, 62822, 903, 5351, 83, 16792, 450, 1295, 3773, 70885, 60212, 157666, ...
[ 0.12353515625, 0.246337890625, 0.1600341796875, 0.23291015625, 0.044219970703125, 0.1114501953125, 0.236572265625, 0.1748046875, 0.2349853515625, 0.170166015625, 0.008392333984375, 0.06622314453125, 0.19677734375, 0.0931396484375, 0.141357421875, 0.041259765625, 0.0440673828125, 0....
embed
39218143_c0
39218143
elixir
0
Title: How to recompile assets -- images/css/js -- in phoenix/elixir? Problem title: How to recompile assets -- images/css/js -- in phoenix/elixir? Tags: brunch, elixir, phoenix-framework, npm Problem: How to recompile assets -- images/css/js -- in phoenix/elixir? After I've called "bunch build" for the 1st time in my ...
How to recompile assets -- images/css/js -- in phoenix/elixir? How to recompile assets -- images/css/js -- in phoenix/elixir? brunch elixir phoenix-framework npm How How to recompile assets -- images/css/js -- in phoenix/elixir? After I've called "bunch build" for the 1st time in my new project, the assets from web/sta...
[ -0.0322265625, 0.0030364990234375, -0.0152587890625, 0.01220703125, 0.0008392333984375, 0.02587890625, -0.015380859375, 0.0106201171875, 0.0034027099609375, -0.005950927734375, 0.004119873046875, -0.000308990478515625, 0.018798828125, 0.0224609375, 0.010986328125, 0.000843048095703125,...
[ 11249, 47, 456, 58875, 1340, 181079, 43079, 4439, 28175, 23, 53073, 33, 4084, 6169, 38308, 51537, 206, 15296, 160328, 18244, 25037, 39, 64, 35839, 17643, 45367, 271, 1733, 13452, 1467, 201939, 71200, 46827, 26785, 15549, 2856, 11782, 33720, ...
[ 0.095458984375, 0.0811767578125, 0.1845703125, 0.2088623046875, 0.1739501953125, 0.25, 0.1746826171875, 0.1201171875, 0.1883544921875, 0.06353759765625, 0.0838623046875, 0.1240234375, 0.1693115234375, 0.09796142578125, 0.2249755859375, 0.099609375, 0.11328125, 0.06134033203125, 0...
embed
39048742_c0
39048742
elixir
0
Title: Separate statements in anonymous functions Problem title: Separate statements in anonymous functions Tags: lambda, elixir Problem: Separate statements in anonymous functions I'm trying to write a simple function to turn a stream of words into title case. However, I'm hung up on restructuring the resulting tuple ...
Separate statements in anonymous functions Separate statements in anonymous functions lambda elixir Separate titlecase_once Stream.cycle Stream.map String.Casing.titlecase_once How Enum.take Separate statements in anonymous functions I'm trying to write a simple function to turn a stream of words into title case. Howev...
[ 0.003997802734375, -0.0196533203125, -0.02392578125, 0.0017242431640625, 0.01190185546875, -0.0108642578125, 0.013916015625, 0.0025634765625, 0.0147705078125, -0.031005859375, -0.0019378662109375, 0.02001953125, -0.00634765625, 0.044921875, 0.01165771484375, -0.004638671875, -0.02441...
[ 503, 6276, 67, 63805, 7, 52184, 10821, 32354, 23, 21, 6492, 85, 15296, 38308, 44759, 58437, 191, 329, 115061, 75457, 62346, 23351, 214, 20370, 6953, 5440, 11249, 357, 316, 78219, 31577, 33022, 8781, 15504, 75973, 34153, 3934, 7225, 80756, ...
[ 0.0966796875, 0.23486328125, 0.1385498046875, 0.252685546875, 0.0361328125, 0.2061767578125, 0.10357666015625, 0.20458984375, 0.00933837890625, 0.002960205078125, 0.1378173828125, 0.0914306640625, 0.0675048828125, 0.2039794921875, 0.1876220703125, 0.2293701171875, 0.12451171875, 0....
embed
39206226_c0
39206226
elixir
0
Title: How to run Elixir from a thumb drive and without batch file launchers? Problem title: How to run Elixir from a thumb drive and without batch file launchers? Tags: erlang, usb-drive, elixir Problem: How to run Elixir from a thumb drive and without batch file launchers? I have Erlang and Elixir installed on my thu...
How to run Elixir from a thumb drive and without batch file launchers? How to run Elixir from a thumb drive and without batch file launchers? erlang usb-drive elixir a How Elixir How to run Elixir from a thumb drive and without batch file launchers? I have Erlang and Elixir installed on my thumb drive. The launcher for...
[ 0.00946044921875, 0.025146484375, -0.01416015625, 0.021484375, -0.0050048828125, 0.01287841796875, 0.011474609375, -0.010498046875, 0, -0.020751953125, -0.004638671875, 0.00927734375, -0.01116943359375, 0.01287841796875, 0.020751953125, -0.0023956298828125, 0.0164794921875, -0.0001...
[ 11249, 47, 11675, 25318, 38308, 1295, 4911, 6492, 22648, 15490, 1777, 11435, 83184, 1314, 72, 3066, 1821, 275, 88400, 15296, 136, 1004, 20600, 56, 3773, 21947, 103723, 51684, 71924, 2886, 13909, 186085, 10696, 46389, 75101, 105876, 127877, 45...
[ 0.06842041015625, 0.0101318359375, 0.166748046875, 0.1513671875, 0.3017578125, 0.122314453125, 0.109130859375, 0.1099853515625, 0.1256103515625, 0.1158447265625, 0.13818359375, 0.12646484375, 0.13623046875, 0.048004150390625, 0.060089111328125, 0.246826171875, 0.03619384765625, 0.0...
embed
42198609_c0
42198609
elixir
0
Title: Phoenix channels, set maximum amount of users per channel Problem title: Phoenix channels, set maximum amount of users per channel Tags: websocket, phoenix-framework, elixir Problem: Phoenix channels, set maximum amount of users per channel I have simple chat app created with Elixir+Phoenix and now it's like - e...
Phoenix channels, set maximum amount of users per channel Phoenix channels, set maximum amount of users per channel websocket phoenix-framework elixir Phoenix Phoenix channels, set maximum amount of users per channel I have simple chat app created with Elixir+Phoenix and now it's like - everyone can join one single roo...
[ 0.0019989013671875, -0.00055694580078125, 0.005340576171875, -0.007049560546875, -0.00885009765625, 0.0250244140625, -0.007293701171875, -0.004180908203125, 0.00701904296875, -0.0283203125, -0.01068115234375, -0.00811767578125, 0.004791259765625, 0.00921630859375, -0.003326416015625, 0...
[ 133720, 86723, 7, 5423, 38132, 41170, 72095, 117, 1467, 991, 27853, 53073, 33, 4084, 160328, 15296, 38308, 8781, 3245, 4027, 75935, 25318, 1328, 497, 1884, 30309, 831, 33284, 1632, 11001, 17155, 3444, 3249, 4488, 38937, 30957, 1919, 17378, ...
[ 0.293701171875, 0.241455078125, 0.075439453125, 0.1365966796875, 0.185302734375, 0.131103515625, 0.2364501953125, 0.1328125, 0.054931640625, 0.05596923828125, 0.104736328125, 0.0594482421875, 0.1163330078125, 0.1522216796875, 0.0811767578125, 0.05963134765625, 0.2108154296875, 0.08...
embed
55546610_c0
55546610
elixir
0
Title: Functions as arguments -- What is happening here? Problem title: Functions as arguments -- What is happening here? Tags: elixir Problem: Functions as arguments -- What is happening here? I am going through some Elixir koans and I'm a bit stumped on what is happening in these lines of code. def times_five_and_the...
Functions as arguments -- What is happening here? Functions as arguments -- What is happening here? elixir Functions What times_five_and_then You Place ___ Functions as arguments -- What is happening here? I am going through some Elixir koans and I'm a bit stumped on what is happening in these lines of code. For ___ , ...
[ 0.000957489013671875, 0.0089111328125, 0.0012359619140625, -0.00121307373046875, 0.01470947265625, 0.00543212890625, -0.0140380859375, 0.000797271728515625, -0.004852294921875, -0.0291748046875, 0.00147247314453125, 0.00933837890625, -0.0235595703125, 0.03564453125, 0.004669189453125, ...
[ 28670, 10763, 7, 237, 10750, 4210, 4865, 83, 123087, 3688, 15296, 38308, 20028, 1029, 272, 2940, 92733, 2583, 41076, 116185, 25318, 298, 10133, 4785, 48708, 20051, 2367, 23, 124519, 18151, 1326, 70, 26785, 35166, 805, 9077, 15400, 88353, 67...
[ 0.163818359375, 0.145751953125, 0.0924072265625, 0.157470703125, 0.26953125, 0.03228759765625, 0.11724853515625, 0.1361083984375, 0.201171875, 0.1693115234375, 0.08245849609375, 0.2147216796875, 0.2061767578125, 0.1864013671875, 0.1668701171875, 0.0977783203125, 0.135009765625, 0.0...
embed
55903278_c0
55903278
elixir
0
Title: Combine date and time to a datetime Problem title: Combine date and time to a datetime Tags: timex, elixir, datetime, time, date Problem: Combine date and time to a datetime How can I convert a Date and a Time to a DateTime ? Say I have the following date and time iex> date = ~D[2018-01-01] iex> time = ~T[00:00:...
Combine date and time to a datetime Combine date and time to a datetime timex elixir datetime time date Combine Date Time DateTime Timex Timex.add Timex.to_datetime Timex.Duration.from_time Combine date and time to a datetime How can I convert a Date and a Time to a DateTime ? Say I have the following date and time How...
[ -0.017333984375, 0.00543212890625, 0.000736236572265625, 0.0244140625, -0.0018157958984375, -0.0159912109375, -0.022216796875, 0.0113525390625, -0.01031494140625, -0.058837890625, -0.003753662109375, 0.02294921875, 0.010986328125, 0.026611328125, -0.0274658203125, -0.0045166015625, -...
[ 106935, 86, 5622, 136, 1733, 47, 10, 6032, 425, 15296, 38308, 25512, 19055, 70059, 4028, 188, 17489, 30494, 161063, 11249, 831, 87, 96760, 25916, 765, 25632, 70163, 6097, 140992, 468, 86291, 1742, 45669, 6746, 110095, 21032, 1511, 46622, 39...
[ 0.2410888671875, 0.1265869140625, 0.2073974609375, 0.17822265625, 0.2344970703125, 0.1595458984375, 0.107421875, 0.261962890625, 0.167236328125, 0.068603515625, 0.2076416015625, 0.2337646484375, 0.253173828125, 0.302490234375, 0.06683349609375, 0.121337890625, 0.1368408203125, 0.04...
embed
45506314_c0
45506314
elixir
0
Title: Send Datadog tags in exometer Problem title: Send Datadog tags in exometer Tags: phoenix-framework, statsd, datadog, erlang, elixir Problem: Send Datadog tags in exometer I am using exometer and the exometer_report_statsd reporter to report Phoenix endpoints response times to Datadog via dogstatsd. From a Plug, ...
Send Datadog tags in exometer Send Datadog tags in exometer phoenix-framework statsd datadog erlang elixir Send Datadog exometer.update app_name resp_time app_name.webapp.resp_time Send Datadog tags in exometer I am using exometer and the exometer_report_statsd reporter to report Phoenix endpoints response times to Dat...
[ 0.01336669921875, 0.021728515625, 0.00396728515625, -0.0255126953125, -0.01043701171875, 0.0223388671875, -0.005523681640625, 0.010986328125, 0.01251220703125, -0.038330078125, 0.024658203125, 0.01318359375, 0.0078125, 0.00457763671875, 0.00555419921875, 0.006500244140625, -0.0010910...
[ 24044, 11809, 38507, 69141, 23, 1119, 102220, 53073, 33, 4084, 160328, 63841, 71, 2053, 72, 3066, 15296, 38308, 117008, 4027, 11627, 27582, 6032, 14051, 9007, 2109, 254, 79770, 17346, 105757, 13416, 133720, 3564, 38496, 57553, 20028, 10269, 1...
[ 0.103271484375, 0.1439208984375, 0.2276611328125, 0.234130859375, 0.034149169921875, 0.175537109375, 0.267333984375, 0.05047607421875, 0.0487060546875, 0.07550048828125, 0.1014404296875, 0.091796875, 0.0860595703125, 0.109375, 0.0142364501953125, 0.17724609375, 0.0335693359375, 0.1...
embed
44089685_c0
44089685
elixir
0
Title: Build Select HTML Options using Enum Problem title: Build Select HTML Options using Enum Tags: elixir Problem: Build Select HTML Options using Enum Assuming map = %{"One" => 1, "Two" => 2,"Three" => 3} I'm trying to build a String for select options like: <option value=1> "One" </option> <option value=2> "Two" <...
Build Select HTML Options using Enum Build Select HTML Options using Enum elixir Protocol.UndefinedError Enum Build Select HTML Options One Two Three Enum.reduce String.Chars Build Select HTML Options using Enum Assuming map = %{"One" => 1, "Two" => 2,"Three" => 3} I'm trying to build a String for select options like: ...
[ -0.0123291015625, -0.00830078125, 0.0036468505859375, 0.01116943359375, -0.0260009765625, -0.01177978515625, -0.016357421875, -0.003753662109375, -0.00714111328125, 0.00142669677734375, -0.005126953125, -0.0220947265625, 0.0279541015625, 0.00927734375, 0.016357421875, 0.0177001953125, ...
[ 121137, 51620, 19097, 152448, 17368, 357, 316, 15296, 38308, 151607, 1067, 5983, 18468, 31611, 6561, 32964, 129335, 107, 106357, 23351, 214, 84068, 66596, 22288, 1745, 62068, 106, 618, 3613, 116, 13, 138, 31577, 45367, 36849, 50717, 1884, 329...
[ 0.189697265625, 0.226806640625, 0.23486328125, 0.2379150390625, 0.03228759765625, 0.134521484375, 0.2255859375, 0.05267333984375, 0.179931640625, 0.1617431640625, 0.05859375, 0.1539306640625, 0.08245849609375, 0.0760498046875, 0.0770263671875, 0.09161376953125, 0.1248779296875, 0.1...
embed
69664875_c0
69664875
elixir
0
Title: Erlang Socket at OS Level Problem title: Erlang Socket at OS Level Tags: linux, freebsd, elixir, erlang-otp, erlang Problem: Erlang Socket at OS Level I am so confused about multi-thread networking. Since a Socket is an OS Level structure, handling sockets at Erlang BEAM VM level has an equivalent at OS Level, a...
Erlang Socket at OS Level Erlang Socket at OS Level linux freebsd elixir erlang-otp erlang Erlang Socket Level Erlang Socket at OS Level I am so confused about multi-thread networking. Since a Socket is an OS Level structure, handling sockets at Erlang BEAM VM level has an equivalent at OS Level, and there are multi op...
[ 0.01531982421875, 0.023681640625, -0.017578125, -0.017578125, 0.0081787109375, -0.0113525390625, 0.00075531005859375, 0.002777099609375, -0.0194091796875, -0.023681640625, 0.0205078125, 0.017822265625, 0.018798828125, 0.0234375, 0.006072998046875, -0.00396728515625, -0.0050048828125,...
[ 1004, 3066, 1061, 27853, 99, 11787, 84136, 11508, 6077, 4092, 16145, 71, 38308, 72, 818, 254, 55681, 6024, 927, 39116, 172532, 45646, 45064, 221, 9622, 8922, 43084, 17366, 183234, 50717, 34831, 95103, 94878, 100184, 160, 5877, 28219, 765, 2...
[ 0.156005859375, 0.269287109375, 0.1602783203125, 0.2042236328125, 0.035736083984375, 0.1783447265625, 0.233642578125, 0.0240020751953125, 0.01812744140625, 0.01544189453125, 0.0767822265625, 0.024871826171875, 0.135986328125, 0.07305908203125, 0.03131103515625, 0.0299072265625, 0.030...
embed
58572961_c0
58572961
elixir
0
Title: (FunctionClauseError) no function clause matching in CheckersgameWeb.GamesChannel.handle_in/3 Problem title: (FunctionClauseError) no function clause matching in CheckersgameWeb.GamesChannel.handle_in/3 Tags: elixir Problem: (FunctionClauseError) no function clause matching in CheckersgameWeb.GamesChannel.handle...
(FunctionClauseError) no function clause matching in CheckersgameWeb.GamesChannel.handle_in/3 (FunctionClauseError) no function clause matching in CheckersgameWeb.GamesChannel.handle_in/3 elixir FunctionClauseError CheckersgameWeb.GamesChannel.handle_in handle_in IO.puts (FunctionClauseError) no function clause matchin...
[ -0.008544921875, 0.01318359375, 0.0025787353515625, 0.0101318359375, -0.015625, 0.0107421875, -0.01177978515625, -0.0308837890625, 0.005462646484375, -0.016845703125, -0.0096435546875, -0.0152587890625, -0.0030059814453125, 0.0162353515625, 0.00665283203125, 0.0255126953125, -0.00479...
[ 97249, 10763, 26253, 13, 18468, 31611, 110, 32354, 70731, 14858, 214, 38679, 1314, 35311, 30474, 107576, 127008, 8876, 79628, 73, 18113, 15296, 38308, 28670, 34831, 17780, 7077, 33976, 12765, 6712, 53073, 33, 4084, 5962, 3934, 441, 18499, 104...
[ 0.166748046875, 0.0828857421875, 0.1861572265625, 0.093017578125, 0.1181640625, 0.1265869140625, 0.0809326171875, 0.18408203125, 0.19189453125, 0.153564453125, 0.00250244140625, 0.22021484375, 0.1436767578125, 0.0718994140625, 0.12890625, 0.11083984375, 0.0887451171875, 0.046905517...
embed
34739491_c0
34739491
elixir
0
Title: PostGis nearest neighbors query with Ecto Problem title: PostGis nearest neighbors query with Ecto Tags: elixir, postgis, phoenix-framework, ecto Problem: PostGis nearest neighbors query with Ecto could you help me to write this kind of PostGis query with Ecto DSL? SELECT streets.gid, streets.name FROM nyc_stree...
PostGis nearest neighbors query with Ecto PostGis nearest neighbors query with Ecto elixir postgis phoenix-framework ecto PostGis Ecto SELECT streets.gid streets.name nyc_streets nyc_subway_stations WHERE streets.geom ST_Expand subways.geom ORDER ST_Distance ASC PostGis nearest neighbors query with Ecto could you help ...
[ 0.01129150390625, -0.000949859619140625, -0.00933837890625, -0.01171875, -0.01202392578125, -0.003814697265625, 0.00860595703125, -0.0191650390625, -0.002166748046875, -0.0537109375, 0.013427734375, -0.004608154296875, 0.001251220703125, 0.000545501708984375, -0.01434326171875, 0.00387...
[ 2795, 724, 164, 43573, 525, 208244, 7, 41, 1294, 678, 241, 44150, 15296, 38308, 1305, 12964, 53073, 33, 4084, 160328, 18244, 60751, 6755, 144832, 48800, 52493, 11627, 600, 238, 5967, 22144, 7514, 41311, 429, 306, 16992, 114363, 1614, 102966...
[ 0.1136474609375, 0.180908203125, 0.1612548828125, 0.1221923828125, 0.1295166015625, 0.22607421875, 0.0997314453125, 0.1383056640625, 0.1220703125, 0.06915283203125, 0.11328125, 0.25048828125, 0.07696533203125, 0.1756591796875, 0.0743408203125, 0.2060546875, 0.040374755859375, 0.046...
embed
51426483_c0
51426483
elixir
0
Title: Is there a way to directly return a value from a tuple in Elixir? Problem title: Is there a way to directly return a value from a tuple in Elixir? Tags: elixir Problem: Is there a way to directly return a value from a tuple in Elixir? Given a function that returns a tuple, is there a way to pluck and return a pa...
Is there a way to directly return a value from a tuple in Elixir? Is there a way to directly return a value from a tuple in Elixir? elixir a Elixir get_result Is there a way to directly return a value from a tuple in Elixir? Given a function that returns a tuple, is there a way to pluck and return a particular value fr...
[ 0.008544921875, 0.0035247802734375, -0.0037841796875, 0.00762939453125, 0.0013275146484375, -0.01397705078125, -0.02783203125, -0.0123291015625, 0.04052734375, -0.025634765625, 0.01324462890625, 0.0228271484375, -0.0291748046875, 0.020263671875, 0.00872802734375, 0.00145721435546875, ...
[ 10, 3917, 47, 105237, 30646, 34292, 1295, 370, 8705, 23, 25318, 38308, 15296, 2046, 2109, 7136, 2685, 32354, 12266, 2594, 136, 17311, 5701, 13315, 27983, 103510, 12336, 55391, 16750, 41324, 214, 35064, 27169, 3871, 17932, 18151, 55300 ]
[ 0.020477294921875, 0.119384765625, 0.0419921875, 0.1920166015625, 0.218017578125, 0.17578125, 0.114501953125, 0.126953125, 0.2181396484375, 0.056121826171875, 0.1239013671875, 0.25830078125, 0.0806884765625, 0.0821533203125, 0.1126708984375, 0.1790771484375, 0.012908935546875, 0.14...
embed
47544684_c0
47544684
elixir
0
Title: Use custom serializer like MessagePack with Phoenix Framework Problem title: Use custom serializer like MessagePack with Phoenix Framework Tags: phoenix-framework, elixir, msgpack Problem: Use custom serializer like MessagePack with Phoenix Framework Phoenix 1.3 Elixir 1.5.2 compiled with Erlang 20 I have an And...
Use custom serializer like MessagePack with Phoenix Framework Use custom serializer like MessagePack with Phoenix Framework phoenix-framework elixir msgpack Use MessagePack Phoenix Framework Use custom serializer like MessagePack with Phoenix Framework Phoenix 1.3 Elixir 1.5.2 compiled with Erlang 20 I have an Android ...
[ 0.022216796875, 0.01129150390625, -0.0020751953125, -0.002166748046875, -0.020751953125, 0.004913330078125, -0.00946044921875, 0.010498046875, -0.00677490234375, -0.042236328125, 0.015869140625, -0.0026092529296875, 0.01348876953125, 0.0216064453125, 0.006317138671875, 0.01177978515625...
[ 36836, 114122, 35686, 52825, 1884, 48205, 4588, 205956, 678, 133720, 202220, 53073, 33, 4084, 160328, 18244, 15296, 38308, 68163, 177, 29102, 41491, 25318, 158296, 5974, 1004, 3066, 387, 3952, 14288, 4027, 70802, 135913, 10723, 58136, 78779, 17...
[ 0.08416748046875, 0.1890869140625, 0.18310546875, 0.1734619140625, 0.0478515625, 0.087890625, 0.097412109375, 0.275390625, 0.039581298828125, 0.2432861328125, 0.2103271484375, 0.02545166015625, 0.076904296875, 0.108154296875, 0.08544921875, 0.0261077880859375, 0.045806884765625, 0....
embed
77387552_c2
77387552
elixir
2
-10-27 13:11:48Z]}, Code signals: ArgumentError, u, put_assoc, date_creation, naive_datetime, belongs_to, BackEndService.Users.User, many_to_many, join_through, users_teams, utc_datetime, hash_password, has_many, BackEndService.Clocks.Clock, BackEndService.Teams.Team, get_users, users_from_list_query, User, u.id, Repo....
-10-27 13:11:48Z]}, Code signals: ArgumentError, u, put_assoc, date_creation, naive_datetime, belongs_to, BackEndService.Users.User, many_to_many, join_through, users_teams, utc_datetime, hash_password, has_many, BackEndService.Clocks.Clock, BackEndService.Teams.Team, get_users, users_from_list_query, User, u.id, Repo....
[ 0.01251220703125, -0.00732421875, -0.00909423828125, 0.0030975341796875, 0.01373291015625, -0.0076904296875, -0.004119873046875, -0.006622314453125, 0.010986328125, -0.0145263671875, -0.01953125, 0.0069580078125, 0.0257568359375, 0.017822265625, -0.00726318359375, -0.0054931640625, -...
[ 52486, 3768, 702, 19993, 34605, 268, 8152, 4, 28864, 26073, 7, 12, 112140, 18468, 31611, 75, 3884, 73395, 238, 5622, 7612, 2320, 24, 5844, 17489, 6032, 10617, 188, 26828, 152378, 121979, 1062, 1314, 5, 2189, 5941, 669, 53, 33284, 222521, ...
[ 0.099853515625, 0.0733642578125, 0.003448486328125, 0.026092529296875, 0.027862548828125, 0.0286102294921875, 0.1217041015625, 0.049957275390625, 0.25146484375, 0.251708984375, 0.10205078125, 0.0162353515625, 0.28271484375, 0.1405029296875, 0.1923828125, 0.1907958984375, 0.1744384765...
embed
44140873_c0
44140873
elixir
0
Title: How to typespec generics in Elixir Problem title: How to typespec generics in Elixir Tags: elixir, erlang, types, generics Problem: How to typespec generics in Elixir I have an implementation of a Balanced Search Tree in elixir which serves as a key value store. I have a method from_list which takes a list of ke...
How to typespec generics in Elixir How to typespec generics in Elixir elixir erlang types generics How Elixir from_list key_type value_type How to typespec generics in Elixir I have an implementation of a Balanced Search Tree in elixir which serves as a key value store. I have a method from_list which takes a list of k...
[ 0.000934600830078125, 0.01458740234375, -0.006072998046875, -0.028564453125, 0.00531005859375, 0.00555419921875, -0.004730224609375, -0.0167236328125, 0.0036468505859375, -0.0172119140625, 0.004058837890625, -0.029541015625, 0.025390625, -0.00022792816162109375, -0.0147705078125, 0.011...
[ 11249, 47, 10644, 16711, 189534, 7, 23, 25318, 38308, 15296, 72, 3066, 52895, 1295, 6562, 22799, 50986, 34292, 208124, 131176, 33086, 101344, 21265, 4343, 55300, 5303, 370, 99726, 30646, 53201, 678, 3917, 4527, 903, 37515, 46876, 18499, 4848,...
[ 0.076416015625, 0.03570556640625, 0.1986083984375, 0.258056640625, 0.2215576171875, 0.0927734375, 0.0565185546875, 0.1109619140625, 0.2255859375, 0.06268310546875, 0.03448486328125, 0.1959228515625, 0.18359375, 0.1038818359375, 0.143798828125, 0.07501220703125, 0.18896484375, 0.129...
embed
41138746_c0
41138746
elixir
0
Title: Converting List to Map, Elixir way Problem title: Converting List to Map, Elixir way Tags: elixir Problem: Converting List to Map, Elixir way I have a function which returns a Map, converted from List(:erlang.memory()). It works as I expected, but it doesn't seem to be beautiful. How can I refine the snippet to ...
Converting List to Map, Elixir way Converting List to Map, Elixir way elixir Converting List Map Elixir processes_used atom_used erlang.memory List.to_tuple Converting List to Map, Elixir way I have a function which returns a Map, converted from List(:erlang.memory()). It works as I expected, but it doesn't seem to be ...
[ -0.016845703125, 0.000209808349609375, -0.0234375, 0.013427734375, -0.007080078125, -0.01495361328125, -0.0185546875, -0.00811767578125, 0.0118408203125, -0.03857421875, 0.013671875, 0.013427734375, 0.0155029296875, 0.048583984375, 0.005828857421875, 0.00213623046875, -0.012084960937...
[ 1657, 814, 1916, 32036, 47, 42719, 25318, 38308, 3917, 15296, 9433, 33740, 34627, 72, 3066, 109005, 188, 458, 8705, 32354, 30646, 117176, 1295, 56, 5, 43240, 237, 84751, 22027, 18, 48903, 34923, 11249, 831, 18831, 1212, 70, 93, 58134, 128...
[ 0.042083740234375, 0.14306640625, 0.0670166015625, 0.25732421875, 0.110107421875, 0.256103515625, 0.12939453125, 0.259765625, 0.14892578125, 0.095703125, 0.1251220703125, 0.1134033203125, 0.185546875, 0.08270263671875, 0.23193359375, 0.154541015625, 0.115234375, 0.121337890625, 0...
embed
57653216_c0
57653216
elixir
0
Title: Elixir Testing: Ensure a module defines a callback Problem title: Elixir Testing: Ensure a module defines a callback Tags: callback, elixir, testing, behavior Problem: Elixir Testing: Ensure a module defines a callback I'm trying write a test that verifies that a behaviour defines the callbacks it's supposed to....
Elixir Testing: Ensure a module defines a callback Elixir Testing: Ensure a module defines a callback callback elixir testing behavior Elixir Testing Ensure MyModule my_callback MyModule.__info__ Elixir Testing: Ensure a module defines a callback I'm trying write a test that verifies that a behaviour defines the callba...
[ -0.006195068359375, 0.00007724761962890625, -0.01141357421875, 0.0155029296875, 0.0283203125, 0.01324462890625, 0.0157470703125, -0.009033203125, 0.0020751953125, -0.0228271484375, -0.006317138671875, -0.01531982421875, 0.00194549560546875, 0.020751953125, -0.004150390625, 0.0161132812...
[ 25318, 38308, 8647, 357, 56851, 88996, 61924, 11782, 12620, 15296, 134234, 123166, 2646, 91616, 8782, 759, 85763, 7319, 214, 12, 7, 10, 31577, 33022, 3034, 173, 58726, 224833, 134598, 47, 5608, 54, 903, 3444, 63284, 11583, 1374, 150380, 159...
[ 0.1373291015625, 0.25634765625, 0.2110595703125, 0.1317138671875, 0.173095703125, 0.2607421875, 0.2083740234375, 0.1937255859375, 0.244140625, 0.1055908203125, 0.1954345703125, 0.1534423828125, 0.1214599609375, 0.1197509765625, 0.13037109375, 0.1021728515625, 0.1676025390625, 0.081...
embed
75654751_c1
75654751
elixir
1
) do from(p in Products, where: p.inserted_at >= ^start_date) end def get_products_by_insertion_date(nil, end_date) do from(p in Products, where: p.inserted_at <= ^end_date) end def get_products_by_insertion_date(start_date, end_date) do from(p in Products, where: p.inserted_at >= ^start_date and p.inserted_at <= ^end_...
) do from(p in Products, where: p.inserted_at >= ^start_date) end def get_products_by_insertion_date(nil, end_date) do from(p in Products, where: p.inserted_at <= ^end_date) end def get_products_by_insertion_date(start_date, end_date) do from(p in Products, where: p.inserted_at >= ^start_date and p.inserted_at <= ^end_...
[ -0.031005859375, -0.00897216796875, -0.0098876953125, 0.0184326171875, -0.02197265625, 0.008544921875, -0.036376953125, -0.00897216796875, -0.006103515625, -0.038818359375, 0.00775146484375, 0.0142822265625, 0.0172119140625, -0.00946044921875, -0.002838134765625, -0.007171630859375, ...
[ 1388, 54, 1295, 254, 23, 100815, 7440, 915, 73, 33657, 297, 257, 17137, 17489, 3564, 8, 420, 2046, 57877, 1272, 241860, 17324, 132, 3611, 18499, 34292, 1549, 3742, 45669, 2681, 53418, 186, 37702, 47, 10644, 1003, 238, 6032, 41, 28864, 2...
[ 0.00726318359375, 0.07562255859375, 0.2490234375, 0.103759765625, 0.08978271484375, 0.260986328125, 0.1220703125, 0.1038818359375, 0.0222930908203125, 0.119140625, 0.003082275390625, 0.1326904296875, 0.095947265625, 0.1451416015625, 0.115478515625, 0.03192138671875, 0.013916015625, ...
embed
33194974_c0
33194974
elixir
0
Title: How to render a transparent gif pixel in Phoenix? Problem title: How to render a transparent gif pixel in Phoenix? Tags: elixir, phoenix-framework Problem: How to render a transparent gif pixel in Phoenix? Coming from a Rails background I was hoping I could render a transparent pixel gif. To do this on Rails I s...
How to render a transparent gif pixel in Phoenix? How to render a transparent gif pixel in Phoenix? elixir phoenix-framework How Phoenix gif_data GIF89a x01 x00 x80 xC0 xF9 x04 x012 respond_to format.gif content_type How to render a transparent gif pixel in Phoenix? Coming from a Rails background I was hoping I could r...
[ -0.0093994140625, 0.00775146484375, 0.010498046875, 0.004180908203125, 0.012451171875, -0.00738525390625, -0.005035400390625, -0.00469970703125, -0.0026397705078125, -0.00872802734375, -0.0059814453125, -0.000010192394256591797, 0.000705718994140625, 0.0291748046875, -0.004058837890625, ...
[ 11249, 89159, 70267, 3016, 420, 98009, 23, 133720, 47, 15296, 38308, 53073, 33, 4084, 160328, 18244, 10135, 108527, 18949, 11, 6746, 7049, 4836, 1126, 7709, 304, 35644, 9384, 735, 10941, 50986, 1295, 85736, 7, 76615, 156377, 98, 77947, 4662...
[ 0.04437255859375, 0.1763916015625, 0.2322998046875, 0.1490478515625, 0.138671875, 0.197998046875, 0.0775146484375, 0.239990234375, 0.013824462890625, 0.0025634765625, 0.126220703125, 0.045501708984375, 0.044036865234375, 0.0833740234375, 0.049652099609375, 0.000091552734375, 0.074951...
embed
43198976_c0
43198976
elixir
0
Title: How To Validate Bcrypt Passwords Which Have $2y$ prefix? Problem title: How To Validate Bcrypt Passwords Which Have $2y$ prefix? Tags: phoenix-framework, elixir, bcrypt Problem: How To Validate Bcrypt Passwords Which Have $2y$ prefix? Lets say i have a set of passwords using Bcrypt with $2y$ prefix.Now i am movi...
How To Validate Bcrypt Passwords Which Have $2y$ prefix? How To Validate Bcrypt Passwords Which Have $2y$ prefix? phoenix-framework elixir bcrypt How Validate Bcrypt Passwords Which Have Comeonin.Bcrypt.checkpw stored_hash Argument Comeonin How To Validate Bcrypt Passwords Which Have $2y$ prefix? Lets say i have a set ...
[ 0.003173828125, 0.00160980224609375, 0.0172119140625, 0.03515625, 0.000926971435546875, 0.0120849609375, -0.006866455078125, 0.00848388671875, -0.0098876953125, -0.005340576171875, 0.006622314453125, 0.0150146484375, 0.032470703125, -0.00457763671875, -0.0078125, 0.01177978515625, -0...
[ 11249, 717, 25447, 17489, 335, 136791, 170461, 130078, 31901, 78790, 53, 183114, 4369, 53073, 33, 4084, 160328, 18244, 15296, 38308, 876, 10592, 45118, 571, 78292, 254, 434, 4343, 126234, 112140, 5423, 78506, 17368, 98567, 47, 4165, 237, 256,...
[ 0.07537841796875, 0.052215576171875, 0.20263671875, 0.1590576171875, 0.1480712890625, 0.27587890625, 0.2135009765625, 0.04339599609375, 0.066650390625, 0.1588134765625, 0.1845703125, 0.262939453125, 0.015411376953125, 0.005340576171875, 0.0242462158203125, 0.0762939453125, 0.07415771...
embed
41220253_c0
41220253
elixir
0
Title: My doctest does not return correctly. What am I doing wrong Problem title: My doctest does not return correctly. What am I doing wrong Tags: doctest, elixir Problem: My doctest does not return correctly. What am I doing wrong I have the following files. If you look in app.ex the doctest says 2 + 2 is 3. I am int...
My doctest does not return correctly. What am I doing wrong My doctest does not return correctly. What am I doing wrong doctest elixir What App Adds Examples App.add AppTest ExUnit.Case Finished Randomized My doctest does not return correctly. What am I doing wrong I have the following files. If you look in app.ex the ...
[ 0.00811767578125, 0.01458740234375, -0.0084228515625, 0.006927490234375, -0.003936767578125, 0.0322265625, 0.0072021484375, -0.0250244140625, -0.00150299072265625, 0.00958251953125, 0.0037078857421875, 0.0035247802734375, -0.0146484375, 0.04833984375, 0.000652313232421875, -0.003311157...
[ 51584, 6954, 959, 30646, 26785, 4865, 444, 87, 20594, 44691, 15296, 38308, 5659, 29117, 89536, 4028, 111337, 5443, 85600, 6991, 13316, 164, 39643, 306, 29367, 25632, 102158, 6713, 4027, 3355, 17378, 116, 997, 83, 1031, 91177, 31577, 3249, 3...
[ 0.1759033203125, 0.29541015625, 0.07452392578125, 0.1798095703125, 0.140869140625, 0.022735595703125, 0.001251220703125, 0.006256103515625, 0.051849365234375, 0.135986328125, 0.07391357421875, 0.20263671875, 0.1075439453125, 0.0784912109375, 0.13232421875, 0.044769287109375, 0.256103...
embed
36069342_c0
36069342
elixir
0
Title: How to fetch data using Phoenix Framework? Problem title: How to fetch data using Phoenix Framework? Tags: phoenix-framework, javascript, elixir Problem: How to fetch data using Phoenix Framework? I have a server where the Phoenix Framework is installed. Now, I am trying to fetch the data sent from the server us...
How to fetch data using Phoenix Framework? How to fetch data using Phoenix Framework? phoenix-framework javascript elixir Phoenix How Framework How to fetch data using Phoenix Framework? I have a server where the Phoenix Framework is installed. Now, I am trying to fetch the data sent from the server using their client ...
[ 0.0086669921875, 0.00726318359375, 0.007568359375, 0.00653076171875, 0.0230712890625, 0.01043701171875, 0.00032806396484375, 0.023681640625, 0.002960205078125, -0.06640625, 0.01263427734375, -0.02880859375, 0.012939453125, 0.004241943359375, -0.01446533203125, 0.002655029296875, -0.0...
[ 11249, 47, 7647, 206, 2053, 17368, 133720, 202220, 53073, 33, 4084, 160328, 18244, 136951, 15296, 38308, 10723, 20600, 31577, 9325, 1295, 23282, 64977, 35773, 1294, 179933, 86991, 110, 209806, 458, 77275, 3642, 29479, 11675, 5609, 65514, 19097,...
[ 0.1053466796875, 0.055908203125, 0.18701171875, 0.156494140625, 0.1771240234375, 0.099609375, 0.271240234375, 0.2548828125, 0.04632568359375, 0.0721435546875, 0.1236572265625, 0.09844970703125, 0.0775146484375, 0.1480712890625, 0.033660888671875, 0.1500244140625, 0.114501953125, 0....
embed
74279492_c1
74279492
elixir
1
the grid with the cells returned by open_to() . My Elixir pseudo code is as follows: def generate(mz) do Enum.map(mz.grid, fn({{x, y}, c1}) -> neighbors = [Grid.cell_to(mz, x, y, :north), Grid.cell_to(mz, x, y, :east)] c2_dir = select_the_neighbor(neighbors) # returns one of :north, :east or nil # Here! open_to return...
the grid with the cells returned by open_to() . My Elixir pseudo code is as follows: def generate(mz) do Enum.map(mz.grid, fn({{x, y}, c1}) -> neighbors = [Grid.cell_to(mz, x, y, :north), Grid.cell_to(mz, x, y, :east)] c2_dir = select_the_neighbor(neighbors) # returns one of :north, :east or nil # Here! open_to return...
[ -0.023193359375, 0.00006437301635742188, -0.00970458984375, 0.00787353515625, 0.0084228515625, -0.01031494140625, -0.01080322265625, -0.002288818359375, 0.0084228515625, -0.016357421875, 0.0078125, 0.05078125, -0.0004177093505859375, 0.018310546875, 0.006622314453125, -0.0242919921875,...
[ 120067, 678, 38750, 7, 176377, 9803, 188, 25318, 38308, 74189, 18151, 28960, 8, 420, 139392, 39, 169, 357, 316, 62346, 14783, 113, 418, 208244, 724, 19040, 34680, 65158, 31945, 71, 4438, 501, 304, 936, 36849, 2347, 86, 6958, 3422, 30646, ...
[ 0.263916015625, 0.151123046875, 0.24267578125, 0.08740234375, 0.152099609375, 0.1787109375, 0.2454833984375, 0.1142578125, 0.254150390625, 0.2100830078125, 0.1961669921875, 0.0231781005859375, 0.0712890625, 0.024261474609375, 0.2005615234375, 0.02777099609375, 0.151123046875, 0.070...
embed
57676014_c2
57676014
elixir
2
ixfile, Mix.Project, search_service, elixirc_paths, Mix.env, Mix.compilers, start_permanent, SearchService.Application, extra_applications, geo_postgis, runtime_tools, phoenix_pubsub, plug_cowboy, ecto_sql, phoenix_ecto, phoenix_html, phoenix_live_reload, elixir_uuid, scrivener_ecto, cors_plug, plug_static_index_html, ...
ixfile, Mix.Project, search_service, elixirc_paths, Mix.env, Mix.compilers, start_permanent, SearchService.Application, extra_applications, geo_postgis, runtime_tools, phoenix_pubsub, plug_cowboy, ecto_sql, phoenix_ecto, phoenix_html, phoenix_live_reload, elixir_uuid, scrivener_ecto, cors_plug, plug_static_index_html, ...
[ -0.00433349609375, -0.0023651123046875, 0.01519775390625, -0.003997802734375, -0.005615234375, 0.01104736328125, -0.0155029296875, -0.011962890625, 0.0164794921875, 0.0033721923828125, -0.0034332275390625, 0.003448486328125, 0.00323486328125, 0.018310546875, 0.00087738037109375, 0.0086...
[ 6, 4084, 29822, 4, 37286, 5, 223353, 33938, 22584, 88, 38365, 19437, 128405, 33, 334, 5974, 1314, 4034, 1264, 669, 2517, 33086, 121979, 47677, 182867, 4173, 101687, 7, 20787, 4594, 12964, 11675, 6032, 89110, 53073, 454, 111596, 22144, 76329...
[ 0.046600341796875, 0.1710205078125, 0.3359375, 0.0977783203125, 0.263916015625, 0.1036376953125, 0.1864013671875, 0.190185546875, 0.22216796875, 0.03173828125, 0.1220703125, 0.1453857421875, 0.2076416015625, 0.09326171875, 0.150390625, 0.1807861328125, 0.08770751953125, 0.125488281...
embed
62903190_c3
62903190
elixir
3
XBS5ozRpe2l2VXq8NI58HydIhZA, QUERY, SELECT, comment_count, retweet_count, like_count, profile_id, inserted_at, updated_at, WHERE, REFUSED, CONNECTION, Phoenix.Socket, TweeterApi.Accounts, TweeterApi.Accounts.Guardian, Channels, TweeterApiWeb.FeedChannel, _connect_info, Guardian.resource_from_token, _claims, current_pro...
XBS5ozRpe2l2VXq8NI58HydIhZA, QUERY, SELECT, comment_count, retweet_count, like_count, profile_id, inserted_at, updated_at, WHERE, REFUSED, CONNECTION, Phoenix.Socket, TweeterApi.Accounts, TweeterApi.Accounts.Guardian, Channels, TweeterApiWeb.FeedChannel, _connect_info, Guardian.resource_from_token, _claims, current_pro...
[ -0.00016880035400390625, 0.007781982421875, 0.0167236328125, -0.003936767578125, -0.0003376007080078125, 0.000946044921875, 0.000255584716796875, -0.0047607421875, -0.00127410888671875, -0.021728515625, 0.0048828125, -0.014892578125, 0.022705078125, 0.01153564453125, -0.0047607421875, ...
[ 1193, 20429, 4, 21389, 34388, 6755, 144832, 6868, 71013, 456, 223378, 1884, 60641, 532, 183540, 257, 150011, 841, 30096, 9069, 47744, 14452, 91394, 133720, 8912, 27853, 140654, 56, 284, 1434, 39450, 198156, 3378, 55969, 30474, 30154, 127008, ...
[ 0.0059814453125, 0.021697998046875, 0.0335693359375, 0.13427734375, 0.143310546875, 0.0792236328125, 0.17578125, 0.203857421875, 0.1700439453125, 0.08154296875, 0.2181396484375, 0.1954345703125, 0.22265625, 0.1192626953125, 0.1468505859375, 0.04705810546875, 0.125732421875, 0.01394...
embed
41953600_c0
41953600
elixir
0
Title: How to make edeliver write pid of started phoenix server? Problem title: How to make edeliver write pid of started phoenix server? Tags: elixir, edeliver, phoenix-framework, systemd Problem: How to make edeliver write pid of started phoenix server? I deploy phoenix application with edeliver to my server. In case...
How to make edeliver write pid of started phoenix server? How to make edeliver write pid of started phoenix server? elixir edeliver phoenix-framework systemd How How to make edeliver write pid of started phoenix server? I deploy phoenix application with edeliver to my server. In case of sudden server restart I want my ...
[ -0.0036773681640625, 0.0115966796875, 0.0098876953125, 0.00019359588623046875, -0.0004425048828125, 0.004302978515625, -0.00946044921875, 0.01214599609375, -0.0150146484375, -0.0341796875, 0.00469970703125, 0.00616455078125, 0.02099609375, 0.020263671875, 0.00188446044921875, 0.0184326...
[ 11249, 47, 3249, 28, 112, 134148, 33022, 45226, 111, 26859, 53073, 33, 4084, 10723, 15296, 38308, 160328, 5426, 71, 6, 8, 13158, 38415, 7225, 8932, 456, 17137, 3444, 9007, 15226, 4126, 191082, 12983, 55516, 4358, 144570, 11435, 4343, 174653...
[ 0.08172607421875, 0.0207672119140625, 0.095458984375, 0.1221923828125, 0.1409912109375, 0.295166015625, 0.1888427734375, 0.260986328125, 0.0792236328125, 0.1446533203125, 0.0650634765625, 0.1199951171875, 0.1524658203125, 0.1812744140625, 0.0440673828125, 0.152587890625, 0.0222015380...
embed
46502455_c0
46502455
elixir
0
Title: What is the difference between assign and put_session in Plug.Conn of the Phoenix Framework? Problem title: What is the difference between assign and put_session in Plug.Conn of the Phoenix Framework? Tags: elixir, session, phoenix-framework Problem: What is the difference between assign and put_session in Plug....
What is the difference between assign and put_session in Plug.Conn of the Phoenix Framework? What is the difference between assign and put_session in Plug.Conn of the Phoenix Framework? elixir session phoenix-framework What put_session Plug.Conn Phoenix Framework What is the difference between assign and put_session in...
[ 0.002593994140625, 0.004791259765625, 0.01409912109375, -0.0024261474609375, 0.0048828125, 0.013427734375, -0.0264892578125, -0.000019311904907226562, -0.003173828125, 0.003448486328125, 0.0177001953125, 0.000232696533203125, 0.01043701171875, 0.01263427734375, -0.0203857421875, -0.004...
[ 60212, 95486, 3884, 169234, 194351, 11935, 19, 133720, 202220, 17721, 136, 38308, 56002, 4084, 160328, 18244, 4865, 454, 209806, 26822, 145301, 35159, 6626, 32354, 63769, 3082, 22799, 27494, 80836, 158 ]
[ 0.1697998046875, 0.20751953125, 0.139404296875, 0.2008056640625, 0.1552734375, 0.1025390625, 0.1058349609375, 0.1943359375, 0.1688232421875, 0.05157470703125, 0.031524658203125, 0.10888671875, 0.1629638671875, 0.0711669921875, 0.04595947265625, 0.05584716796875, 0.000946044921875, ...
embed
43403540_c1
43403540
elixir
1
) do {:ok, worklog} -> conn |> put_status(:created) |> put_resp_header("location", worklog_path(conn, :show, worklog)) |> render("show.json", worklog: worklog) {:error, changeset} -> conn |> put_status(:unprocessable_entity) |> render(MyApi.ChangesetView, "error.json", changeset: changeset) end end POST request: { "wor...
) do {:ok, worklog} -> conn |> put_status(:created) |> put_resp_header("location", worklog_path(conn, :show, worklog)) |> render("show.json", worklog: worklog) {:error, changeset} -> conn |> put_status(:unprocessable_entity) |> render(MyApi.ChangesetView, "error.json", changeset: changeset) end end POST request: { "wor...
[ -0.0140380859375, -0.01214599609375, 0.01171875, -0.007293701171875, -0.01043701171875, -0.0113525390625, -0.0162353515625, -0.0225830078125, -0.0024566650390625, -0.02783203125, 0.019775390625, 0.0240478515625, 0.0086669921875, -0.006103515625, -0.0184326171875, -0.0218505859375, -0...
[ 1388, 54, 685, 4488, 4867, 33079, 158, 19, 6, 58745, 2740, 3884, 45215, 7612, 27686, 2109, 254, 31251, 56, 87632, 128405, 2271, 31374, 89159, 170, 1681, 188800, 65572, 126, 309, 63923, 2886, 2517, 2481, 31852, 284, 1434, 127008, 4188, 100...
[ 0.0469970703125, 0.1343994140625, 0.1783447265625, 0.162353515625, 0.261474609375, 0.04541015625, 0.1405029296875, 0.1248779296875, 0.0244903564453125, 0.01025390625, 0.034423828125, 0.142822265625, 0.19775390625, 0.1495361328125, 0.1624755859375, 0.1107177734375, 0.16748046875, 0....
embed
72512494_c0
72512494
elixir
0
Title: Programmatically composing a ~H sigil in LiveView Problem title: Programmatically composing a ~H sigil in LiveView Tags: elixir, liveview, phoenix-framework Problem: Programmatically composing a ~H sigil in LiveView how can I populate a part of or a whole ~H sigil with a variable? I’m trying to use it to insert ...
Programmatically composing a ~H sigil in LiveView Programmatically composing a ~H sigil in LiveView elixir liveview phoenix-framework Programmatically LiveView html_codes Programmatically composing a ~H sigil in LiveView how can I populate a part of or a whole ~H sigil with a variable? I’m trying to use it to insert so...
[ -0.0206298828125, -0.0111083984375, 0.0033416748046875, -0.00118255615234375, -0.01708984375, -0.0024871826171875, 0.00213623046875, 0.0301513671875, 0.0034027099609375, -0.060302734375, -0.00897216796875, -0.02294921875, 0.007415771484375, 0.022216796875, 0.0030670166015625, 0.0053710...
[ 27958, 257, 9969, 232, 6780, 841, 1144, 379, 9251, 100474, 15296, 38308, 6867, 22751, 4084, 160328, 7693, 40899, 71407, 3642, 831, 27623, 2831, 28271, 678, 10, 77336, 31577, 4527, 183540, 144573, 23180, 1108, 11322, 9191, 37842, 150624, 16750...
[ 0.1253662109375, 0.097412109375, 0.12646484375, 0.09649658203125, 0.0263671875, 0.141357421875, 0.149658203125, 0.1561279296875, 0.148193359375, 0.27978515625, 0.00518798828125, 0.1224365234375, 0.058929443359375, 0.247802734375, 0.0338134765625, 0.04095458984375, 0.1341552734375, ...
embed
46229664_c0
46229664
elixir
0
Title: Idiomatic Elixir to filter a list of maps by specific not null key values? Problem title: Idiomatic Elixir to filter a list of maps by specific not null key values? Tags: elixir Problem: Idiomatic Elixir to filter a list of maps by specific not null key values? I'm brand new to elixir, and am trying to figure ou...
Idiomatic Elixir to filter a list of maps by specific not null key values? Idiomatic Elixir to filter a list of maps by specific not null key values? elixir Idiomatic Elixir filter_events events.select Enum.filter Map.has_key Idiomatic Elixir to filter a list of maps by specific not null key values? I'm brand new to el...
[ -0.00482177734375, 0.0017547607421875, -0.00122833251953125, -0.0213623046875, 0.002044677734375, -0.0186767578125, 0.035400390625, 0.000820159912109375, 0.00543212890625, 0.006439208984375, -0.00787353515625, 0.01470947265625, 0.00038909912109375, 0.034423828125, -0.0089111328125, -0....
[ 5670, 47148, 25318, 38308, 47, 46312, 5303, 22288, 7, 390, 29458, 959, 56574, 22799, 142424, 15296, 90141, 47353, 100184, 357, 316, 120337, 42719, 10557, 19770, 3525, 26366, 26785, 3917, 456, 434, 18781, 903, 21922, 53, 55300, 23, 11522, 12...
[ 0.1385498046875, 0.1783447265625, 0.1395263671875, 0.27001953125, 0.03717041015625, 0.251708984375, 0.1300048828125, 0.16455078125, 0.027099609375, 0.07440185546875, 0.1502685546875, 0.12255859375, 0.1593017578125, 0.139404296875, 0.1402587890625, 0.1204833984375, 0.11962890625, 0....
embed
34948331_c0
34948331
elixir
0
Title: How to implement a resetable countdown timer with a GenServer in Elixir or Erlang Problem title: How to implement a resetable countdown timer with a GenServer in Elixir or Erlang Tags: gen-server, timer, elixir, countdown Problem: How to implement a resetable countdown timer with a GenServer in Elixir or Erlang ...
How to implement a resetable countdown timer with a GenServer in Elixir or Erlang How to implement a resetable countdown timer with a GenServer in Elixir or Erlang gen-server timer elixir countdown How GenServer Elixir Erlang How to implement a resetable countdown timer with a GenServer in Elixir or Erlang How do we im...
[ 0.0162353515625, -0.004180908203125, 0.006378173828125, 0.00927734375, 0.01385498046875, -0.005096435546875, -0.0172119140625, -0.0111083984375, -0.00726318359375, -0.03515625, 0.0130615234375, -0.0026092529296875, 0.011474609375, 0.0260009765625, 0.0172119140625, 0.009033203125, -0....
[ 11249, 47, 29479, 168398, 2886, 54529, 34695, 21991, 678, 15937, 193348, 25318, 38308, 1004, 3066, 9226, 39642, 15296, 54, 9, 51339, 66211, 188347, 41170, 5154, 1496, 94131, 3917, 4420, 8108, 28, 127966, 61972, 14922, 29256, 43585, 10588, 214...
[ 0.07708740234375, 0.015777587890625, 0.20458984375, 0.2257080078125, 0.1759033203125, 0.1536865234375, 0.19140625, 0.298828125, 0.1021728515625, 0.1610107421875, 0.251708984375, 0.1029052734375, 0.2264404296875, 0.119873046875, 0.25732421875, 0.14453125, 0.19580078125, 0.0648803710...
embed
57117213_c2
57117213
elixir
2
RailroadServer.Database.Repo.Migrations.CreateRailroadSystems, Ecto.Migration, unique_index, RailroadServer.Database.Repo.Migrations.CreateDepos, insert_railway_system, system_name, RailroadSystem, RailroadSystem.changeset, put_assoc, create_depos, cs.valid, Repo.insert, Uses, Enum.map, Depo.changeset, Depo, QUERY, IN...
RailroadServer.Database.Repo.Migrations.CreateRailroadSystems, Ecto.Migration, unique_index, RailroadServer.Database.Repo.Migrations.CreateDepos, insert_railway_system, system_name, RailroadSystem, RailroadSystem.changeset, put_assoc, create_depos, cs.valid, Repo.insert, Uses, Enum.map, Depo.changeset, Depo, QUERY, IN...
[ -0.013427734375, -0.007354736328125, 0.00171661376953125, 0.0087890625, 0.015625, 0.003448486328125, -0.0284423828125, -0.0205078125, 0.0113525390625, -0.023193359375, 0.00823974609375, 0.017578125, 0.01611328125, 0.0146484375, -0.006561279296875, -0.01348876953125, -0.01422119140625...
[ 85736, 52562, 193348, 137989, 37382, 4332, 771, 594, 72482, 5256, 63784, 2182, 12248, 379, 84293, 4, 241, 44150, 5, 872, 30494, 36998, 4711, 4657, 7522, 183540, 68823, 7514, 16751, 5426, 11627, 152028, 3509, 3884, 73395, 28282, 112, 20763, ...
[ 0.1568603515625, 0.18505859375, 0.2203369140625, 0.0791015625, 0.1676025390625, 0.0853271484375, 0.1724853515625, 0.0745849609375, 0.1566162109375, 0.074462890625, 0.134521484375, 0.04254150390625, 0.1339111328125, 0.055328369140625, 0.2120361328125, 0.0133056640625, 0.08380126953125...
embed
57239948_c0
57239948
elixir
0
Title: Why does a charlist not get displayed as a list? Problem title: Why does a charlist not get displayed as a list? Tags: elixir Problem: Why does a charlist not get displayed as a list? I am trying to iterate a charlist with the Enum.map function, but it does not behave how I would expect it to behave. The first l...
Why does a charlist not get displayed as a list? Why does a charlist not get displayed as a list? elixir Why Enum.map ABCD Why does a charlist not get displayed as a list? I am trying to iterate a charlist with the Enum.map function, but it does not behave how I would expect it to behave. The first line does not treat ...
[ 0.002044677734375, -0.0218505859375, 0.0157470703125, 0.00958251953125, 0.0087890625, 0.0159912109375, 0.0093994140625, 0.0140380859375, -0.001129150390625, -0.000762939453125, -0.0107421875, -0.0230712890625, -0.01446533203125, 0.0223388671875, -0.01171875, 0.0118408203125, 0.006011...
[ 44084, 21441, 6562, 959, 2046, 44116, 297, 237, 5303, 15296, 38308, 357, 316, 62346, 47457, 397, 8560, 32354, 68991, 41206, 13315, 85689, 28219, 15400, 2811, 151138, 52184, 10821, 30646, 284, 571, 441, 56112 ]
[ 0.1031494140625, 0.1591796875, 0.2303466796875, 0.111328125, 0.0265960693359375, 0.151611328125, 0.03436279296875, 0.07501220703125, 0.1680908203125, 0.001434326171875, 0.1634521484375, 0.07757568359375, 0.1981201171875, 0.1875, 0.13427734375, 0.1109619140625, 0.103759765625, 0.094...
embed
37894997_c2
37894997
elixir
2
Any information would be great thanks The Primary Key for my characters table is guid Code signals: Ecto.QueryError, c, Field, Struct, has_many, belongs_to, primary_key, rest_bonus, is_logout_resting, honor_highest_rank, honor_standing, stored_honor_rating, stored_dishonorable_kills, stored_honorable_kills, power1, po...
Any information would be great thanks The Primary Key for my characters table is guid Code signals: Ecto.QueryError, c, Field, Struct, has_many, belongs_to, primary_key, rest_bonus, is_logout_resting, honor_highest_rank, honor_standing, stored_honor_rating, stored_dishonorable_kills, stored_honorable_kills, power1, po...
[ -0.0140380859375, 0.003204345703125, -0.001190185546875, -0.00860595703125, 0.013916015625, -0.0029754638671875, 0.01251220703125, -0.0162353515625, 0.020263671875, -0.029296875, -0.0103759765625, -0.01177978515625, -0.00183868408203125, 0.021240234375, -0.008056640625, 0.013916015625,...
[ 28541, 4677, 6782, 45458, 581, 19012, 1294, 26824, 100, 759, 124850, 23180, 83, 2497, 532, 28864, 26073, 7, 241, 44150, 41732, 18468, 31611, 501, 117657, 63667, 15390, 1556, 669, 53, 10617, 188, 158978, 19770, 10588, 84686, 26989, 1003, 210...
[ 0.0390625, 0.1876220703125, 0.028228759765625, 0.05810546875, 0.0247955322265625, 0.1707763671875, 0.159423828125, 0.278076171875, 0.039947509765625, 0.0789794921875, 0.2391357421875, 0.251953125, 0.05462646484375, 0.214599609375, 0.1783447265625, 0.2237548828125, 0.252685546875, 0...
embed
35015260_c0
35015260
elixir
0
Title: Elixir Koans - Enum.take with Negative Numbers Prints Ascii Problem title: Elixir Koans - Enum.take with Negative Numbers Prints Ascii Tags: elixir Problem: Elixir Koans - Enum.take with Negative Numbers Prints Ascii I was running through some Elixir Koans and came across the following: think "taking some items ...
Elixir Koans - Enum.take with Negative Numbers Prints Ascii Elixir Koans - Enum.take with Negative Numbers Prints Ascii elixir Elixir Koans Enum.take Negative Numbers Prints Ascii Elixir Koans - Enum.take with Negative Numbers Prints Ascii I was running through some Elixir Koans and came across the following: After spe...
[ 0.01031494140625, -0.013916015625, -0.0120849609375, 0.02099609375, -0.00933837890625, 0.006072998046875, 0.0098876953125, 0.0196533203125, -0.011474609375, 0.03662109375, 0.02099609375, -0.01165771484375, 0.00726318359375, 0.029296875, -0.0223388671875, -0.0128173828125, 0.020629882...
[ 25318, 38308, 1204, 10133, 357, 316, 78219, 678, 221717, 13, 103332, 39754, 1301, 26506, 51042, 8305, 5915, 17, 3355, 24372, 28007, 44084, 14602, 28412, 1810, 237, 68018, 136, 5303, 87, 41206, 3789, 20028, 96276, 99, 361 ]
[ 0.0758056640625, 0.203125, 0.1131591796875, 0.1392822265625, 0.067138671875, 0.1553955078125, 0.1392822265625, 0.07611083984375, 0.2059326171875, 0.0159149169921875, 0.1512451171875, 0.181884765625, 0.08697509765625, 0.248291015625, 0.039703369140625, 0.003662109375, 0.00732421875, ...
embed
35214447_c0
35214447
elixir
0
Title: Making System Calls with Options Problem title: Making System Calls with Options Tags: elixir Problem: Making System Calls with Options I understand that I can do simple things like System.cmd("echo", ["hello"]) but suppose I wanted to do something like run a Ruby process Normally in the shell I could do somethi...
Making System Calls with Options Making System Calls with Options elixir Making System Calls Options System.cmd Making System Calls with Options I understand that I can do simple things like System.cmd("echo", ["hello"]) but suppose I wanted to do something like run a Ruby process Normally in the shell I could do somet...
[ 0.00167083740234375, 0.006866455078125, -0.0031280517578125, 0.035888671875, 0.003082275390625, 0.002593994140625, -0.0022735595703125, -0.0126953125, -0.002227783203125, -0.00750732421875, -0.0177001953125, 0.006805419921875, 0.0036773681640625, 0.0233154296875, -0.0184326171875, 0.01...
[ 13676, 12353, 26265, 7, 678, 152448, 214, 15296, 38308, 3931, 28219, 831, 54, 8781, 8966, 71, 3089, 127, 13817, 139124, 36663, 9844, 1884, 11675, 158189, 9433, 23, 128019, 5809, 21922, 53, 20, 13, 7077, 8999, 37842, 143834, 21373, 882, 12...
[ 0.0963134765625, 0.193603515625, 0.2139892578125, 0.02581787109375, 0.1104736328125, 0.268310546875, 0.03167724609375, 0.05303955078125, 0.2137451171875, 0.1680908203125, 0.050384521484375, 0.04852294921875, 0.06561279296875, 0.07257080078125, 0.05413818359375, 0.14404296875, 0.19116...
embed
52079075_c0
52079075
elixir
0
Title: Can I use Dialyzer GUI or the dialyzer command line tool directly without dialyxir for elixir code? Problem title: Can I use Dialyzer GUI or the dialyzer command line tool directly without dialyxir for elixir code? Tags: erlang, elixir, dialyzer Problem: Can I use Dialyzer GUI or the dialyzer command line tool d...
Can I use Dialyzer GUI or the dialyzer command line tool directly without dialyxir for elixir code? Can I use Dialyzer GUI or the dialyzer command line tool directly without dialyxir for elixir code? erlang elixir dialyzer Can Dialyzer GUI Can I use Dialyzer GUI or the dialyzer command line tool directly without dialyx...
[ -0.0019378662109375, 0.002288818359375, -0.00060272216796875, 0.0079345703125, 0.00445556640625, -0.0020599365234375, 0.005096435546875, -0.004241943359375, -0.00933837890625, -0.0107421875, 0.0035400390625, -0.0194091796875, -0.000293731689453125, 0.01129150390625, 0.023193359375, -0....
[ 4171, 4527, 4512, 538, 4383, 195490, 879, 75101, 13315, 55516, 105237, 15490, 38308, 15296, 18151, 72, 3066, 13452, 17664, 11782, 4552, 19336, 93, 18499, 34844, 144851, 31344, 78301, 9384, 50717, 19882, 959, 51727, 49649, 100 ]
[ 0.06072998046875, 0.07958984375, 0.1204833984375, 0.1514892578125, 0.2010498046875, 0.21533203125, 0.10693359375, 0.1278076171875, 0.07183837890625, 0.123291015625, 0.134765625, 0.1002197265625, 0.21875, 0.04290771484375, 0.148681640625, 0.0205230712890625, 0.13818359375, 0.0851440...
embed
69949133_c0
69949133
elixir
0
Title: How to pass command line arguments to Mix Release built Problem title: How to pass command line arguments to Mix Release built Tags: elixir-mix, erlang, elixir Problem: How to pass command line arguments to Mix Release built I am trying to pass command-line arguments to my elixir release. I have built the releas...
How to pass command line arguments to Mix Release built How to pass command line arguments to Mix Release built elixir-mix erlang elixir How Mix Release MIX_ENV _build arg1 arg2 Hello.nodes node1 How to pass command line arguments to Mix Release built I am trying to pass command-line arguments to my elixir release. I h...
[ 0.0034942626953125, 0.00830078125, 0.000408172607421875, 0.01263427734375, -0.0067138671875, -0.0211181640625, -0.020751953125, -0.01507568359375, -0.009521484375, -0.0106201171875, 0.01806640625, -0.00153350830078125, 0.02294921875, 0.0017242431640625, 0.0012664794921875, 0.0004692077...
[ 11249, 27875, 75101, 13315, 10750, 47, 37286, 152590, 88303, 15296, 38308, 62015, 72, 3066, 276, 21487, 11572, 856, 177149, 79459, 418, 304, 35378, 157, 988, 110, 112, 7, 31577, 2256, 54452, 17368, 14240, 19048, 4034, 112348, 7568, 1405, 45...
[ 0.048583984375, 0.1343994140625, 0.216796875, 0.127197265625, 0.222900390625, 0.08660888671875, 0.26123046875, 0.1986083984375, 0.1925048828125, 0.06884765625, 0.1854248046875, 0.21142578125, 0.01055908203125, 0.155517578125, 0.112060546875, 0.199462890625, 0.0288238525390625, 0.15...
embed
41403571_c0
41403571
elixir
0
Title: matching a key of type map in map with elixir Problem title: matching a key of type map in map with elixir Tags: elixir Problem: matching a key of type map in map with elixir Learning Elixir basics I tried tried this, which does what I expect, gg=%{:a => 1, 2 => :b, %{ :a => 5 } => 8} gg[:a] # give 2 %{ :a => k ...
matching a key of type map in map with elixir matching a key of type map in map with elixir elixir CompileError hello.exs:46 lists.erl:1338 lists.foreach code.ex:363 Code.require_file matching a key of type map in map with elixir Learning Elixir basics I tried tried this, which does what I expect, but what's the specif...
[ -0.005950927734375, 0.007537841796875, 0.00244140625, -0.0306396484375, 0.001556396484375, -0.00958251953125, 0.005889892578125, 0.01068115234375, 0.012939453125, -0.0101318359375, 0.00653076171875, 0.00567626953125, 0.0262451171875, 0.0001354217529296875, 0.01019287109375, -0.00497436...
[ 14858, 214, 22799, 111, 10644, 22288, 23, 678, 15296, 38308, 15612, 1340, 18468, 31611, 33600, 31, 3355, 32909, 5303, 141, 22618, 10991, 89700, 934, 18151, 127968, 28864, 3181, 107, 29822, 114344, 25318, 62822, 37842, 3129, 41206, 29458, 2967...
[ 0.2021484375, 0.06671142578125, 0.198974609375, 0.07012939453125, 0.185546875, 0.1685791015625, 0.060028076171875, 0.11767578125, 0.10919189453125, 0.2364501953125, 0.10821533203125, 0.11163330078125, 0.11297607421875, 0.037109375, 0.0592041015625, 0.0489501953125, 0.05816650390625, ...
embed
29056605_c1
29056605
elixir
1
and some languages are using readline binding libraries if there's not native one. [A little more update - 2015/3/22] I was trying with NIF approach (as similar as encurses) to use readline library. I could make it somewhat work on erlang (erl), but stuck on elixir side. When reading inputs from C libraries (readline ...
and some languages are using readline binding libraries if there's not native one. [A little more update - 2015/3/22] I was trying with NIF approach (as similar as encurses) to use readline library. I could make it somewhat work on erlang (erl), but stuck on elixir side. When reading inputs from C libraries (readline ...
[ -0.003814697265625, -0.01031494140625, 0.00003933906555175781, 0.018798828125, -0.005706787109375, 0.000316619873046875, 0.01409912109375, -0.00101470947265625, -0.00634765625, -0.0341796875, 0.0036163330078125, -0.021728515625, -0.0004596710205078125, -0.0022125244140625, 0.008178710937...
[ 3060, 46876, 17368, 12301, 2256, 128239, 35773, 10484, 2174, 2685, 959, 24, 4935, 31577, 541, 29836, 51515, 21373, 22, 48650, 4527, 1294, 4488, 72, 3066, 56, 141, 179933, 15296, 38308, 5609, 16454, 107730, 1295, 313, 39116, 44954, 420, 6201...
[ 0.0197601318359375, 0.1954345703125, 0.1002197265625, 0.2078857421875, 0.25634765625, 0.2198486328125, 0.191650390625, 0.087158203125, 0.01751708984375, 0.006591796875, 0.0537109375, 0.05499267578125, 0.09136962890625, 0.01312255859375, 0.0177764892578125, 0.193115234375, 0.146362304...
embed
75815452_c0
75815452
elixir
0
Title: How to allow Phoenix handle multiple domains? Problem title: How to allow Phoenix handle multiple domains? Tags: elixir, phoenix-framework Problem: How to allow Phoenix handle multiple domains? A web application in Phoenix. Nginx is used as a reverse proxy. At the moment, as it normally will, the web application...
How to allow Phoenix handle multiple domains? How to allow Phoenix handle multiple domains? elixir phoenix-framework How Phoenix How to allow Phoenix handle multiple domains? A web application in Phoenix. Nginx is used as a reverse proxy. At the moment, as it normally will, the web application handles requests for a si...
[ -0.015380859375, 0.01300048828125, 0.01220703125, 0.01177978515625, 0.00092315673828125, 0.014892578125, 0.0302734375, 0.00982666015625, 0.014404296875, -0.032958984375, -0.01092529296875, -0.02001953125, 0.0023193359375, 0.01416015625, -0.017578125, 0.006195068359375, 0.009033203125...
[ 11249, 63769, 133720, 34831, 48716, 77758, 7, 47, 15296, 38308, 53073, 33, 4084, 160328, 18244, 1467, 38415, 23, 9487, 73, 425, 11814, 237, 39531, 184, 502, 50878, 3095, 3638, 50336, 11001, 4263, 6275, 100976, 3789, 5701, 10723, 15549, 1221...
[ 0.1109619140625, 0.153076171875, 0.318603515625, 0.1937255859375, 0.267333984375, 0.2398681640625, 0.1480712890625, 0.0968017578125, 0.040985107421875, 0.1795654296875, 0.09661865234375, 0.099853515625, 0.1356201171875, 0.10101318359375, 0.05633544921875, 0.0906982421875, 0.138549804...
embed
36961176_c0
36961176
elixir
0
Title: How to apply a custom validation rule to a model in phoenix framework Problem title: How to apply a custom validation rule to a model in phoenix framework Tags: phoenix-framework, elixir, ecto Problem: How to apply a custom validation rule to a model in phoenix framework I want to add a custom validation rule in...
How to apply a custom validation rule to a model in phoenix framework How to apply a custom validation rule to a model in phoenix framework phoenix-framework elixir ecto How required_fields optional_fields validate_length my_awesome_validation How to apply a custom validation rule to a model in phoenix framework I want...
[ 0.0023651123046875, 0.004913330078125, 0.001983642578125, 0.0185546875, 0.0220947265625, 0.01263427734375, -0.0174560546875, -0.000835418701171875, 0.0052490234375, -0.04296875, 0.0169677734375, -0.0155029296875, 0.009033203125, 0.02197265625, -0.006256103515625, -0.014892578125, -0....
[ 11249, 59911, 114122, 44622, 1363, 79986, 47, 3299, 23, 53073, 33, 4084, 170846, 10, 160328, 18244, 15296, 38308, 60751, 56065, 28394, 35829, 67, 23986, 759, 1177, 43452, 7013, 85, 3444, 15190, 18151, 4865, 5608, 33022, 32354, 104250, 18499 ]
[ 0.0771484375, 0.154296875, 0.2308349609375, 0.2269287109375, 0.10638427734375, 0.17822265625, 0.0916748046875, 0.211669921875, 0.045623779296875, 0.06829833984375, 0.111572265625, 0.1483154296875, 0.220947265625, 0.007171630859375, 0.0966796875, 0.03485107421875, 0.0227203369140625, ...
embed
32648894_c0
32648894
elixir
0
Title: How to determine from which module a specific function was imported in elixir Problem title: How to determine from which module a specific function was imported in elixir Tags: elixir Problem: How to determine from which module a specific function was imported in elixir When multiple external modules are include...
How to determine from which module a specific function was imported in elixir How to determine from which module a specific function was imported in elixir elixir which How ModuleB method_b ModuleA SomeModuleImportingModuleB method_a ModuleB.method_b How to determine from which module a specific function was imported i...
[ -0.00162506103515625, 0.006072998046875, -0.000972747802734375, 0.0380859375, -0.0021209716796875, 0.00933837890625, 0.004302978515625, -0.00897216796875, -0.0002918243408203125, -0.036376953125, -0.005279541015625, -0.032958984375, -0.00144195556640625, 0.017822265625, 0.003494262695312...
[ 11249, 47, 83324, 1295, 3129, 88996, 29458, 32354, 509, 76242, 71, 15296, 38308, 23, 63014, 13, 571, 55300, 275, 284, 31384, 91616, 61637, 6982, 11, 1928, 7352, 48716, 173591, 99201, 159029, 4527, 81814, 23468, 3917, 34475, 20653, 61924 ]
[ 0.056732177734375, 0.0323486328125, 0.150390625, 0.1353759765625, 0.06884765625, 0.239501953125, 0.158203125, 0.1805419921875, 0.04754638671875, 0.2403564453125, 0.09100341796875, 0.0869140625, 0.225830078125, 0.052978515625, 0.1337890625, 0.010009765625, 0.08984375, 0.178588867187...
embed
42134925_c0
42134925
elixir
0
Title: Split items into multiple items in Elixir Problem title: Split items into multiple items in Elixir Tags: elixir Problem: Split items into multiple items in Elixir I have a list of addresses and I need to fix the records, some of the records have the house number as a range and I need to split it into multiple re...
Split items into multiple items in Elixir Split items into multiple items in Elixir elixir Split Elixir EnumTesting list_stuff Enum.filter needs_fixing String.contains item.nr Split items into multiple items in Elixir I have a list of addresses and I need to fix the records, some of the records have the house number as...
[ -0.034423828125, 0.00099945068359375, -0.0233154296875, -0.00135040283203125, 0.0130615234375, 0.0133056640625, 0.0064697265625, -0.01708984375, 0.00180816650390625, 0.01104736328125, 0.00189971923828125, 0.0255126953125, 0.00396728515625, 0.0159912109375, 0.000614166259765625, -0.0084...
[ 46474, 55769, 3934, 48716, 25318, 38308, 23, 15296, 357, 316, 111337, 5303, 271, 21493, 5, 120337, 27117, 55923, 214, 23351, 98102, 35735, 53313, 29823, 3871, 30022, 115923, 18276, 14012, 37457, 65450, 11249, 2806, 189085, 645, 52721, 67, 600...
[ 0.2376708984375, 0.228271484375, 0.1959228515625, 0.2294921875, 0.1317138671875, 0.2420654296875, 0.035369873046875, 0.09735107421875, 0.07293701171875, 0.168212890625, 0.1153564453125, 0.1226806640625, 0.021514892578125, 0.1015625, 0.0270843505859375, 0.163330078125, 0.1268310546875...
embed
46599512_c1
46599512
elixir
1
"} ) Without resorting to raw queries, is it possible to write ecto commands that add Aaron and Bob to the Airport, then another that removes Bob from the Airport in this scenario? This would need to insert a record into table users_organizations without the use of a schema such as MyApp.Accounts.UsersOrganizations . I...
"} ) Without resorting to raw queries, is it possible to write ecto commands that add Aaron and Bob to the Airport, then another that removes Bob from the Airport in this scenario? This would need to insert a record into table users_organizations without the use of a schema such as MyApp.Accounts.UsersOrganizations . I...
[ -0.017578125, 0.0025177001953125, -0.0164794921875, 0.0211181640625, -0.005401611328125, 0.005828857421875, 0.0022735595703125, -0.005889892578125, 0.010498046875, -0.0157470703125, 0.00341796875, 0.0026397705078125, 0.0096435546875, 0.0184326171875, 0, -0.03515625, 0.00482177734375,...
[ 44, 8152, 177417, 70634, 49649, 41, 10484, 83, 7722, 33022, 60751, 75101, 7, 15190, 124188, 136, 25027, 47, 48938, 7068, 15700, 87388, 1295, 106117, 183540, 17164, 23180, 72095, 53404, 15490, 4527, 61903, 2646, 39179, 71013, 1062, 100222, 476...
[ 0.07110595703125, 0.0858154296875, 0.087890625, 0.08251953125, 0.165771484375, 0.091552734375, 0.06890869140625, 0.0189056396484375, 0.1337890625, 0.13525390625, 0.252685546875, 0.25830078125, 0.08740234375, 0.140380859375, 0.2364501953125, 0.1009521484375, 0.2000732421875, 0.07580...
embed
41381791_c0
41381791
elixir
0
Title: Ecto displays parsed query but not search results Problem title: Ecto displays parsed query but not search results Tags: postgresql, elixir, ecto Problem: Ecto displays parsed query but not search results Here is what I get when I search for a database record using Ecto: jxxmbp:lookup carlson$ ./lookup --title f...
Ecto displays parsed query but not search results Ecto displays parsed query but not search results postgresql elixir ecto Ecto jxxmbp:lookup QUERY SELECT WHERE Lookup.Note Ecto.Query.where Lookup.Repo.all Ecto displays parsed query but not search results Here is what I get when I search for a database record using Ect...
[ 0.023681640625, 0.0147705078125, -0.019775390625, 0.021484375, 0.0010528564453125, 0.0223388671875, -0.00970458984375, -0.00628662109375, 0.004241943359375, -0.02685546875, -0.000705718994140625, -0.011474609375, -0.0211181640625, 0.02294921875, -0.0031280517578125, 0.021484375, -0.0...
[ 241, 44150, 44116, 366, 5281, 41, 1294, 1284, 959, 33938, 50339, 1305, 17562, 99247, 15296, 38308, 6, 60751, 1647, 52219, 254, 64747, 2037, 21389, 144832, 60818, 110361, 41732, 5, 136913, 771, 5584, 2046, 100, 63399, 17164, 17368, 3444, 115...
[ 0.126708984375, 0.28466796875, 0.1820068359375, 0.15380859375, 0.132080078125, 0.13818359375, 0.1212158203125, 0.068115234375, 0.1385498046875, 0.1820068359375, 0.1754150390625, 0.00445556640625, 0.11767578125, 0.09619140625, 0.04833984375, 0.1456298828125, 0.011688232421875, 0.240...
embed
24104180_c0
24104180
elixir
0
Title: How do I get request body in phoenix? Problem title: How do I get request body in phoenix? Tags: elixir, erlang, phoenix-framework Problem: How do I get request body in phoenix? I'm trying to build a phoenix application, and I handle a POST request. I want to get the request body, and I can't seem to find any do...
How do I get request body in phoenix? How do I get request body in phoenix? elixir erlang phoenix-framework How MyApp.Controllers.Pages Phoenix.Controller conn.adapter MyApp.Router Phoenix.Router XPOST localhost:4000 How do I get request body in phoenix? I'm trying to build a phoenix application, and I handle a POST re...
[ -0.00016880035400390625, 0.0272216796875, 0.0162353515625, 0.006744384765625, 0.00897216796875, 0.031005859375, -0.00555419921875, -0.0242919921875, -0.00787353515625, -0.04931640625, 0.0234375, -0.005126953125, -0.01165771484375, -0.0101318359375, 0.001312255859375, 0.0142822265625, ...
[ 11249, 2046, 50336, 14361, 23, 53073, 33, 4084, 54, 87, 15296, 38308, 72, 3066, 160328, 18244, 2646, 39179, 175904, 603, 147101, 133720, 158, 177528, 25208, 12724, 45005, 34274, 4000, 40294, 68037, 45367, 38415, 34831, 81903, 3444, 70, 209806...
[ 0.0711669921875, 0.1298828125, 0.2568359375, 0.282958984375, 0.1180419921875, 0.1158447265625, 0.1373291015625, 0.2041015625, 0.015106201171875, 0.0209503173828125, 0.0335693359375, 0.171142578125, 0.05767822265625, 0.200927734375, 0.0731201171875, 0.042510986328125, 0.04046630859375...
embed
34375493_c0
34375493
elixir
0
Title: Elixir, Pattern Matching, and Nested Lists Problem title: Elixir, Pattern Matching, and Nested Lists Tags: elixir, list Problem: Elixir, Pattern Matching, and Nested Lists I'm going through Dave Thomas Programming Elixir book, and I am confused about some of the results in the pattern matching section of the boo...
Elixir, Pattern Matching, and Nested Lists Elixir, Pattern Matching, and Nested Lists elixir list Elixir Pattern Matching Nested Lists Elixir, Pattern Matching, and Nested Lists I'm going through Dave Thomas Programming Elixir book, and I am confused about some of the results in the pattern matching section of the book...
[ -0.01336669921875, 0.0174560546875, 0.006591796875, 0.007720947265625, 0.00616455078125, 0.01324462890625, -0.0033721923828125, 0.00634765625, 0.0133056640625, 0.004150390625, 0.0177001953125, -0.016357421875, -0.000301361083984375, 0.0181884765625, 0.0029754638671875, -0.0205078125, ...
[ 25318, 38308, 9876, 22766, 67407, 214, 28701, 71, 32036, 136, 15296, 5303, 8305, 103383, 14978, 27958, 12877, 55681, 50339, 103510, 14858, 40059, 27781, 11, 2203, 418, 116, 138, 206019, 5608, 214493, 1284, 34292, 10, 64457, 83, 4358, 73342, ...
[ 0.1190185546875, 0.25390625, 0.1485595703125, 0.1654052734375, 0.2305908203125, 0.0626220703125, 0.20361328125, 0.08709716796875, 0.20166015625, 0.005157470703125, 0.07440185546875, 0.134033203125, 0.0037841796875, 0.1513671875, 0.16357421875, 0.11376953125, 0.09918212890625, 0.097...
embed
40044562_c0
40044562
elixir
0
Title: Similar controllers in different namespaces/scopes -- how to distinguish between them? Problem title: Similar controllers in different namespaces/scopes -- how to distinguish between them? Tags: phoenix-framework, elixir Problem: Similar controllers in different namespaces/scopes -- how to distinguish between th...
Similar controllers in different namespaces/scopes -- how to distinguish between them? Similar controllers in different namespaces/scopes -- how to distinguish between them? phoenix-framework elixir Similar MyApp.Controller1 MyApp.Namespace1.Controller1 phoenix.routes some_path GET MyApp.HomeController1 namespace1 Simi...
[ 0.007232666015625, 0.005035400390625, 0.00518798828125, -0.003143310546875, -0.00225830078125, -0.000858306884765625, 0.005157470703125, -0.01373291015625, -0.00897216796875, -0.04248046875, -0.004608154296875, -0.0081787109375, 0.00994873046875, 0.01153564453125, 0.01214599609375, -0....
[ 209683, 185373, 7, 23, 12921, 210716, 70820, 3642, 157167, 1495, 17721, 2856, 53073, 33, 4084, 160328, 18244, 15296, 38308, 2646, 39179, 175904, 603, 418, 163612, 65421, 133261, 128405, 79794, 55376, 116, 21373, 44679, 42822, 15005, 4711, 25002...
[ 0.233642578125, 0.28173828125, 0.0841064453125, 0.045928955078125, 0.160400390625, 0.2230224609375, 0.1732177734375, 0.042724609375, 0.1566162109375, 0.109375, 0.141357421875, 0.0755615234375, 0.067138671875, 0.10400390625, 0.14892578125, 0.10137939453125, 0.05133056640625, 0.04986...
embed
52527926_c0
52527926
elixir
0
Title: Put simply, how does Ecto know that a struct is &quot;Stale&quot; Problem title: Put simply, how does Ecto know that a struct is &quot;Stale&quot; Tags: elixir, ecto Problem: Put simply, how does Ecto know that a struct is "Stale" In the Changeset documentation , it says: When a conflict happens (a record which ...
Put simply, how does Ecto know that a struct is &quot;Stale&quot; Put simply, how does Ecto know that a struct is &quot;Stale&quot; elixir ecto StaleEntryError Put Ecto Stale Put simply, how does Ecto know that a struct is "Stale" In the Changeset documentation , it says: There are a number of conversations on StackOve...
[ 0.005157470703125, -0.00531005859375, 0.00994873046875, -0.004852294921875, 0.031982421875, 0.0172119140625, -0.01116943359375, -0.00885009765625, 0.0011444091796875, 0.0087890625, -0.0067138671875, 0.005126953125, -0.01019287109375, 0.0185546875, 0.02392578125, 0.0185546875, -0.0302...
[ 19577, 42856, 3642, 241, 44150, 3714, 450, 36716, 83, 42378, 133, 10, 15296, 38308, 60751, 6512, 7768, 15123, 18468, 31611, 87377, 3509, 209806, 77104, 118664, 140505, 30022, 106117, 110, 187136, 93002, 131964, 70, 1379, 538, 191619 ]
[ 0.09716796875, 0.1190185546875, 0.058807373046875, 0.1234130859375, 0.281005859375, 0.161376953125, 0.025390625, 0.2393798828125, 0.0836181640625, 0.20947265625, 0.2271728515625, 0.006134033203125, 0.045501708984375, 0.16845703125, 0.2294921875, 0.177490234375, 0.1287841796875, 0.1...
embed
50692199_c0
50692199
elixir
0
Title: Stream STDOUT to file Problem title: Stream STDOUT to file Tags: elixir, stream Problem: Stream STDOUT to file I'm trying to stream STDOUT/ :stdio into a file using a Task . I've tried variations on piping and Enum.each as well as putting each function in the parent process and none of these solutions produce an...
Stream STDOUT to file Stream STDOUT to file elixir stream Stream STDOUT Task Enum.each OutputWriter Task.start IO.stream File.write Path.join output.txt Stream STDOUT to file I'm trying to stream STDOUT/ :stdio into a file using a Task . I've tried variations on piping and Enum.each as well as putting each function in ...
[ -0.003936767578125, 0.012939453125, -0.0031890869140625, 0.004669189453125, 0.003509521484375, -0.01373291015625, 0.00909423828125, -0.009033203125, -0.017333984375, 0.022216796875, -0.0120849609375, 0.0242919921875, 0.0037689208984375, 0.047119140625, 0.00897216796875, 0.0018463134765...
[ 115061, 16992, 397, 52001, 47, 11435, 15296, 38308, 75973, 9598, 92, 357, 316, 41581, 13538, 7077, 2783, 56, 17137, 17780, 86429, 42724, 18781, 108421, 513, 140992, 124326, 31577, 64, 152, 271, 5670, 3934, 37842, 143834, 2147, 10366, 12638, ...
[ 0.2362060546875, 0.1617431640625, 0.128662109375, 0.25634765625, 0.1405029296875, 0.1982421875, 0.095703125, 0.2099609375, 0.235595703125, 0.1519775390625, 0.092529296875, 0.08331298828125, 0.1519775390625, 0.188720703125, 0.07037353515625, 0.0823974609375, 0.05633544921875, 0.0133...
embed
52338159_c0
52338159
elixir
0
Title: Obtaining 3 days ago in Elixir using NaiveDateTime Problem title: Obtaining 3 days ago in Elixir using NaiveDateTime Tags: elixir, phoenix-framework Problem: Obtaining 3 days ago in Elixir using NaiveDateTime In RailsLand you can leverage methods that allow you to say things like this Time.now - 1.day or 3.days....
Obtaining 3 days ago in Elixir using NaiveDateTime Obtaining 3 days ago in Elixir using NaiveDateTime elixir phoenix-framework NaiveDateTime Obtaining Elixir Time.now days.ago NaiveDateTime.utc_now Obtaining 3 days ago in Elixir using NaiveDateTime In RailsLand you can leverage methods that allow you to say things like...
[ -0.024658203125, 0.005462646484375, 0.01397705078125, 0.0169677734375, 0.0164794921875, -0.01507568359375, -0.00775146484375, 0.01507568359375, 0.006805419921875, -0.0517578125, -0.0030517578125, 0.006988525390625, 0.003936767578125, 0.022216796875, -0.000919342041015625, -0.001953125,...
[ 3545, 102, 14653, 138, 13312, 6650, 25318, 38308, 17368, 353, 5844, 86291, 70059, 23, 15296, 53073, 33, 4084, 160328, 18244, 19055, 35613, 13906, 85736, 7, 94646, 831, 21962, 150624, 63769, 5154, 8966, 1884, 903, 615, 5636, 707, 1031, 3034,...
[ 0.0968017578125, 0.1368408203125, 0.041595458984375, 0.201416015625, 0.2093505859375, 0.26513671875, 0.1365966796875, 0.270263671875, 0.057373046875, 0.1439208984375, 0.18505859375, 0.16650390625, 0.2122802734375, 0.029266357421875, 0.07391357421875, 0.0166778564453125, 0.05303955078...
embed
54509146_c0
54509146
elixir
0
Title: Why is string interpolation not working when constructing a href link? Problem title: Why is string interpolation not working when constructing a href link? Tags: phoenix-framework, elixir Problem: Why is string interpolation not working when constructing a href link? The below string interpolation works fine ex...
Why is string interpolation not working when constructing a href link? Why is string interpolation not working when constructing a href link? phoenix-framework elixir Why html_email_body Hello confirm_url account2 Why is string interpolation not working when constructing a href link? The below string interpolation work...
[ -0.00579833984375, -0.01470947265625, 0.00060272216796875, 0.0228271484375, -0.00035858154296875, -0.00160980224609375, -0.00732421875, 0.01904296875, 0.00836181640625, -0.0267333984375, -0.0203857421875, -0.0164794921875, 0.00762939453125, 0.000606536865234375, 0.0220947265625, -0.020...
[ 44084, 83, 79315, 1940, 5877, 2320, 959, 20697, 64549, 77867, 420, 3126, 53073, 33, 4084, 160328, 18244, 15296, 38308, 7693, 25501, 37873, 35378, 39563, 25002, 15426, 304, 35064, 43240, 5885, 40494, 7909, 2831, 79516, 34292, 3975, 13817, 4863...
[ 0.09576416015625, 0.01605224609375, 0.2431640625, 0.166259765625, 0.1920166015625, 0.067626953125, 0.0986328125, 0.1383056640625, 0.1337890625, 0.1597900390625, 0.143798828125, 0.17138671875, 0.004913330078125, 0.020355224609375, 0.09716796875, 0.062744140625, 0.029388427734375, 0....
embed
73636240_c2
73636240
elixir
2
, PenWeb.Gettext, Endpoint.path, Endpoint, phoenix_view, Phoenix.View.render, PenWeb.LoginView, show.html, Hello, Phoenix.LiveView.Rendered, Log, Phoenix.View.render_to_string, pen_web, show.html.heex:2, phoenix_live_view, engine.ex:124, Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata, view.ex:482, show.html.heex...
, PenWeb.Gettext, Endpoint.path, Endpoint, phoenix_view, Phoenix.View.render, PenWeb.LoginView, show.html, Hello, Phoenix.LiveView.Rendered, Log, Phoenix.View.render_to_string, pen_web, show.html.heex:2, phoenix_live_view, engine.ex:124, Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata, view.ex:482, show.html.heex...
[ -0.0147705078125, -0.001617431640625, 0.0093994140625, 0.0022430419921875, 0.000247955322265625, -0.008544921875, -0.007110595703125, -0.0017852783203125, 0.0006561279296875, -0.05810546875, -0.0103759765625, -0.018310546875, -0.005615234375, 0.0224609375, 0.001617431640625, 0.00137329...
[ 4, 4267, 30474, 724, 126, 22829, 18878, 38496, 128405, 53073, 33, 4084, 22751, 133720, 100474, 18280, 42, 113972, 73, 7639, 5, 7693, 35378, 70567, 23894, 297, 13146, 188, 91693, 5551, 14051, 1106, 3355, 304, 24056, 87907, 109589, 127068, 54...
[ 0.07598876953125, 0.2196044921875, 0.2763671875, 0.051788330078125, 0.0745849609375, 0.22314453125, 0.14697265625, 0.2115478515625, 0.18115234375, 0.0872802734375, 0.0848388671875, 0.131591796875, 0.276123046875, 0.261474609375, 0.265869140625, 0.131591796875, 0.033477783203125, 0....
embed
58503561_c0
58503561
elixir
0
Title: Reason for name parameter in ets:new for unnamed tables Problem title: Reason for name parameter in ets:new for unnamed tables Tags: ets, elixir, erlang Problem: Reason for name parameter in ets:new for unnamed tables Looking at the documentation for ets:new I see that the Name parameter is mandatory. Also when ...
Reason for name parameter in ets:new for unnamed tables Reason for name parameter in ets:new for unnamed tables ets elixir erlang Reason ets:new Name named_table Reason for name parameter in ets:new for unnamed tables Looking at the documentation for ets:new I see that the Name parameter is mandatory. Also when the opt...
[ 0.020263671875, 0.00714111328125, 0.005340576171875, 0.01263427734375, -0.00201416015625, 0.0029296875, 0.015869140625, -0.00518798828125, 0.006317138671875, 0.0169677734375, 0.0140380859375, -0.008056640625, -0.0106201171875, 0.006805419921875, 0.00147247314453125, 0.00002264976501464...
[ 236267, 100, 9351, 171859, 82, 7, 54936, 85589, 4806, 23180, 38308, 72, 3066, 15757, 24, 22819, 209806, 12, 83, 81678, 1294, 50717, 32354, 30646, 64457, 42485, 56, 11814, 17203, 3229, 959, 2367, 70, 4127, 44084, 442, 17669, 4527, 75935, 4...
[ 0.2069091796875, 0.101806640625, 0.212646484375, 0.256591796875, 0.14599609375, 0.126220703125, 0.1849365234375, 0.0986328125, 0.166015625, 0.2216796875, 0.1534423828125, 0.01153564453125, 0.18310546875, 0.24951171875, 0.1414794921875, 0.2010498046875, 0.07257080078125, 0.002319335...
embed
69638967_c0
69638967
elixir
0
Title: Convert postgresql ~* as ecto Problem title: Convert postgresql ~* as ecto Tags: elixir, ecto Problem: Convert postgresql ~* as ecto Is this the correct way to convert postgresql ~* syntax in ecto? When I convert the ecto back into SQL, it is different. It uses or's instead of the original ~* SQL SELECT col1, FR...
Convert postgresql ~* as ecto Convert postgresql ~* as ecto elixir ecto Convert SELECT col1 table1 WHERE AAA CcC t1.col1 sssp0 Convert postgresql ~* as ecto Is this the correct way to convert postgresql ~* syntax in ecto? When I convert the ecto back into SQL, it is different. It uses or's instead of the original ~* SQ...
[ 0.01019287109375, 0.003143310546875, -0.01019287109375, 0.0098876953125, -0.0201416015625, 0.01025390625, -0.0220947265625, 0.0084228515625, -0.0137939453125, -0.0238037109375, 0.03173828125, 0.0172119140625, 0.0181884765625, 0.0242919921875, -0.01123046875, 0.0002384185791015625, -0...
[ 1657, 11549, 1305, 17562, 99247, 6780, 1639, 237, 6, 60751, 15296, 38308, 6755, 144832, 3365, 418, 23180, 155616, 441, 8447, 7008, 2389, 903, 26785, 3917, 47, 96760, 6002, 86531, 23, 4420, 3934, 80866, 12921, 4527, 707, 25, 64457, 111, 73...
[ 0.0706787109375, 0.178955078125, 0.09466552734375, 0.193603515625, 0.234130859375, 0.1156005859375, 0.1458740234375, 0.08984375, 0.0177459716796875, 0.27880859375, 0.066650390625, 0.1875, 0.0653076171875, 0.1805419921875, 0.1103515625, 0.039886474609375, 0.138671875, 0.172485351562...
embed
64823366_c1
64823366
elixir
1
{error_code: "404", reason_given: "Resource not found."}) {:error, %HTTPoison.Error{reason: reason}} -> conn |> put_status(500) |> put_resp_content_type("application/vnd.api+json") |> json(%{error_code: "500", reason_given: reason}) end final_conn where MyLib.index is simply def index(conn, headers \\ [], query_string)...
{error_code: "404", reason_given: "Resource not found."}) {:error, %HTTPoison.Error{reason: reason}} -> conn |> put_status(500) |> put_resp_content_type("application/vnd.api+json") |> json(%{error_code: "500", reason_given: reason}) end final_conn where MyLib.index is simply def index(conn, headers \\ [], query_string)...
[ -0.023681640625, 0.0034332275390625, 0.005615234375, -0.00531005859375, -0.00482177734375, -0.0184326171875, 0.001434326171875, -0.013916015625, 0.0027923583984375, -0.037353515625, 0.015869140625, -0.01123046875, 0.005218505859375, 0.030029296875, -0.007171630859375, -0.0196533203125,...
[ 188800, 40899, 2839, 617, 31635, 107409, 4332, 60427, 959, 14037, 18544, 23658, 31, 40514, 18468, 31611, 1283, 1681, 158, 19, 3884, 45215, 4283, 2109, 254, 69246, 50986, 101687, 334, 2208, 40897, 1328, 170, 1647, 2704, 2271, 2646, 104820, 4...
[ 0.1754150390625, 0.1522216796875, 0.1668701171875, 0.197509765625, 0.1646728515625, 0.1375732421875, 0.1376953125, 0.266845703125, 0.1221923828125, 0.16796875, 0.045074462890625, 0.038360595703125, 0.0828857421875, 0.236083984375, 0.0867919921875, 0.14697265625, 0.0341796875, 0.162...
embed
38602879_c0
38602879
elixir
0
Title: post to slack api with httpotion elixir Problem title: post to slack api with httpotion elixir Tags: api, elixir, post Problem: post to slack api with httpotion elixir Just dealing with a syntax error here. Trying to send the payload in the body of the HTTPotion request. Trying to send the data as json, but not ...
post to slack api with httpotion elixir post to slack api with httpotion elixir api elixir post SyntaxError HTTPotion HTTPotion.post hooks.slack.com a00000 b0000 XXXXXXX Pokemon icon_emoji Content-Type iex:1 post to slack api with httpotion elixir Just dealing with a syntax error here. Trying to send the payload in the...
[ -0.00762939453125, 0.01904296875, -0.000644683837890625, 0.01025390625, -0.0184326171875, -0.0021209716796875, 0.0045166015625, -0.00830078125, -0.015380859375, -0.00531005859375, 0.015380859375, 0.00140380859375, -0.005615234375, -0.016357421875, 0.00518798828125, -0.00083160400390625...
[ 1305, 47, 91, 123660, 31470, 678, 1621, 31, 1363, 15296, 38308, 19010, 86531, 18468, 135913, 4594, 150522, 7, 181155, 28568, 44585, 205378, 181812, 47989, 121505, 70870, 196707, 17, 3355, 19721, 184017, 6002, 18499, 40858, 25379, 8783, 63033, ...
[ 0.164794921875, 0.1346435546875, 0.04718017578125, 0.23876953125, 0.176025390625, 0.0625, 0.1383056640625, 0.1158447265625, 0.1368408203125, 0.1180419921875, 0.24951171875, 0.119384765625, 0.197998046875, 0.112548828125, 0.14892578125, 0.14599609375, 0.16650390625, 0.0638427734375,...
embed
48153390_c1
48153390
elixir
1
.ex:1127: anonymous fn/4 in Kernel.Typespec.typespec/3 (elixir) lib/enum.ex:1899: Enum."-reduce/3-lists^foldl/2-0-"/3 (elixir) lib/kernel/typespec.ex:1127: Kernel.Typespec.typespec/3 (elixir) lib/kernel/typespec.ex:828: anonymous fn/4 in Kernel.Typespec.typespec/3 (elixir) lib/enum.ex:1899: Enum."-reduce/3-lists^foldl/...
.ex:1127: anonymous fn/4 in Kernel.Typespec.typespec/3 (elixir) lib/enum.ex:1899: Enum."-reduce/3-lists^foldl/2-0-"/3 (elixir) lib/kernel/typespec.ex:1127: Kernel.Typespec.typespec/3 (elixir) lib/kernel/typespec.ex:828: anonymous fn/4 in Kernel.Typespec.typespec/3 (elixir) lib/enum.ex:1899: Enum."-reduce/3-lists^foldl/...
[ 0.006439208984375, -0.008056640625, -0.0147705078125, 0.01177978515625, -0.0040283203125, 0.004486083984375, -0.0274658203125, -0.000759124755859375, -0.014404296875, 0.00628662109375, 0.01239013671875, -0.0172119140625, 0.0252685546875, 0.0137939453125, -0.0186767578125, 0.01257324218...
[ 5, 3355, 19993, 3768, 52184, 10821, 14783, 17357, 119125, 583, 196707, 16711, 50986, 18113, 6169, 38308, 25474, 33, 316, 24033, 5046, 357, 107, 106357, 6562, 42822, 203808, 72083, 175283, 141, 30145, 2685, 2499, 3917, 47, 10644, 3060, 4785, ...
[ 0.030059814453125, 0.16845703125, 0.084716796875, 0.239501953125, 0.1982421875, 0.10296630859375, 0.1478271484375, 0.2568359375, 0.143798828125, 0.1353759765625, 0.177490234375, 0.3056640625, 0.1851806640625, 0.195556640625, 0.062347412109375, 0.1663818359375, 0.1136474609375, 0.05...
embed
72712497_c0
72712497
elixir
0
Title: function nil.id/0 is undefined - Elixir, Phoenix Problem title: function nil.id/0 is undefined - Elixir, Phoenix Tags: phoenix-framework, elixir Problem: function nil.id/0 is undefined - Elixir, Phoenix I can't figure out how to do the check correctly to hide the actions from the user <%= if @current_user.id == ...
function nil.id/0 is undefined - Elixir, Phoenix function nil.id/0 is undefined - Elixir, Phoenix phoenix-framework elixir nil.id Elixir Phoenix current_user.id post.user_id Edit Routes.post_path Delete function nil.id/0 is undefined - Elixir, Phoenix I can't figure out how to do the check correctly to hide the actions...
[ -0.0159912109375, -0.01544189453125, 0.0240478515625, -0.0240478515625, 0.010986328125, 0.01092529296875, 0.032470703125, -0.0174560546875, -0.003875732421875, -0.0615234375, -0.01409912109375, 0.00186920166015625, -0.00958251953125, -0.0098876953125, 0.015869140625, 0.01007080078125, ...
[ 32354, 17324, 532, 107838, 83, 9232, 5983, 297, 25318, 38308, 133720, 53073, 33, 4084, 160328, 18244, 15296, 43581, 65918, 1305, 42079, 106015, 4594, 128405, 262, 46485, 5, 831, 26366, 54, 12765, 26785, 1274, 112, 70, 61972, 1295, 38937, 95...
[ 0.2144775390625, 0.2239990234375, 0.158935546875, 0.270751953125, 0.039886474609375, 0.1529541015625, 0.2271728515625, 0.044219970703125, 0.1082763671875, 0.25341796875, 0.2457275390625, 0.0189208984375, 0.033355712890625, 0.08807373046875, 0.1168212890625, 0.0276641845703125, 0.0795...
embed
43820625_c0
43820625
elixir
0
Title: Can you pass a function as a message in Elixir/Erlang? Problem title: Can you pass a function as a message in Elixir/Erlang? Tags: elixir Problem: Can you pass a function as a message in Elixir/Erlang? It is said that functions are first class citizens in Elixir/Erlang. Can functions be passed as messages? While...
Can you pass a function as a message in Elixir/Erlang? Can you pass a function as a message in Elixir/Erlang? elixir Can Elixir Erlang Agent get_and_update Can you pass a function as a message in Elixir/Erlang? It is said that functions are first class citizens in Elixir/Erlang. Can functions be passed as messages? Whi...
[ 0.00457763671875, 0.021484375, 0.0018768310546875, 0.007080078125, -0.0033416748046875, -0.01202392578125, -0.004638671875, 0.0087890625, 0.01495361328125, -0.052001953125, 0.0155029296875, 0.020751953125, -0.0135498046875, 0.0074462890625, 0.018798828125, 0.006622314453125, 0.005493...
[ 4171, 27875, 32354, 237, 10, 26008, 23, 25318, 38308, 18468, 3066, 15296, 1004, 54603, 2046, 2940, 117008, 398, 5117, 18507, 130367, 64, 115081, 89914, 61687, 3794, 83963, 7477, 1733, 6056, 19692, 28987, 136, 28350, 41018, 34627, 1771, 3917, ...
[ 0.0872802734375, 0.2010498046875, 0.27001953125, 0.1417236328125, 0.019256591796875, 0.2022705078125, 0.048675537109375, 0.12255859375, 0.2412109375, 0.1258544921875, 0.26904296875, 0.0789794921875, 0.1314697265625, 0.2139892578125, 0.154541015625, 0.1129150390625, 0.2183837890625, ...
embed
46543893_c0
46543893
elixir
0
Title: Database threads per request using Ecto Problem title: Database threads per request using Ecto Tags: psql, ecto, json, elixir, architecture Problem: Database threads per request using Ecto A typical Elixir web application will usually have a postgresql backend, with Ecto queries coupled with the API logic. Howev...
Database threads per request using Ecto Database threads per request using Ecto psql ecto json elixir architecture Ecto Database GenServer Database threads per request using Ecto A typical Elixir web application will usually have a postgresql backend, with Ecto queries coupled with the API logic. However since cowboy c...
[ 0.0194091796875, 0.0147705078125, -0.0260009765625, -0.00543212890625, -0.0103759765625, 0.018310546875, 0.003509521484375, -0.019775390625, -0.004791259765625, -0.07080078125, -0.004425048828125, -0.002838134765625, -0.0008392333984375, 0.0211181640625, -0.01190185546875, 0.0035858154...
[ 187781, 86997, 7, 117, 50336, 17368, 241, 44150, 24014, 99247, 60751, 1647, 1681, 15296, 38308, 159958, 15937, 193348, 222201, 25318, 1467, 38415, 1221, 56104, 765, 10, 1305, 17562, 4420, 3611, 678, 41, 24941, 61687, 62775, 16792, 552, 434, ...
[ 0.183349609375, 0.262939453125, 0.0196380615234375, 0.1287841796875, 0.218994140625, 0.045257568359375, 0.1141357421875, 0.313720703125, 0.1312255859375, 0.2275390625, 0.2196044921875, 0.0372314453125, 0.1422119140625, 0.0841064453125, 0.241455078125, 0.15869140625, 0.1734619140625, ...
embed
33644132_c0
33644132
elixir
0
Title: How can I make a module from the current project available inside of dependency? Problem title: How can I make a module from the current project available inside of dependency? Tags: elixir, elixir-mix Problem: How can I make a module from the current project available inside of dependency? I'm creating an Elixi...
How can I make a module from the current project available inside of dependency? How can I make a module from the current project available inside of dependency? elixir elixir-mix UndefinedFunctionError the How MyApp.Repo.all MyApp.Repo How can I make a module from the current project available inside of dependency? I'...
[ -0.0146484375, 0.0106201171875, 0.005035400390625, 0.0145263671875, 0.005889892578125, 0.014892578125, 0.006134033203125, -0.00726318359375, -0.0004138946533203125, -0.0673828125, 0.00113677978515625, -0.031982421875, 0.0198974609375, 0.039306640625, 0.004486083984375, -0.0185546875, ...
[ 11249, 831, 3249, 88996, 1295, 43581, 13452, 19882, 46132, 42548, 27771, 15296, 38308, 62015, 79912, 5983, 97249, 18468, 31611, 2646, 39179, 4332, 771, 5584, 10, 111, 105233, 25318, 35773, 1294, 17664, 66211, 58735, 1176, 9007, 133720, 4027, ...
[ 0.05194091796875, 0.0526123046875, 0.1259765625, 0.252197265625, 0.148193359375, 0.141357421875, 0.1376953125, 0.137451171875, 0.1221923828125, 0.19677734375, 0.1243896484375, 0.0706787109375, 0.2222900390625, 0.2115478515625, 0.07391357421875, 0.1796875, 0.1058349609375, 0.0825195...
embed
67575160_c0
67575160
elixir
0
Title: Mix command not found Heroku run Problem title: Mix command not found Heroku run Tags: elixir, heroku Problem: Mix command not found Heroku run Deploying on Heroku a Elixir Phoenix project it is saying that mix command not found on command heroku run 'POOL_SIZE=2 mix test.task' I pushed the code before running a...
Mix command not found Heroku run Mix command not found Heroku run elixir heroku 7.52.0 Mix Heroku POOL_SIZE test.task phx.server hello.task Warning Running run.4395 Free Mix command not found Heroku run Deploying on Heroku a Elixir Phoenix project it is saying that mix command not found on command heroku run 'POOL_SIZE...
[ 0.0020294189453125, 0.0135498046875, 0.0091552734375, 0.0181884765625, -0.005096435546875, 0.0225830078125, -0.01055908203125, -0.00799560546875, -0.005035400390625, -0.012939453125, -0.00095367431640625, -0.00750732421875, 0.0277099609375, 0.012451171875, 0.000476837158203125, 0.00860...
[ 37286, 75101, 959, 14037, 56889, 319, 11675, 15296, 38308, 40814, 121908, 73011, 436, 137142, 9902, 3034, 1073, 11521, 425, 39642, 33600, 5550, 28398, 617, 131715, 5153, 13158, 25318, 133720, 13452, 17664, 683, 19157, 55257, 25944, 18151, 51042...
[ 0.30224609375, 0.260009765625, 0.07513427734375, 0.135498046875, 0.1995849609375, 0.1953125, 0.1473388671875, 0.0732421875, 0.20166015625, 0.139404296875, 0.096923828125, 0.05950927734375, 0.0163726806640625, 0.1475830078125, 0.1090087890625, 0.1424560546875, 0.1180419921875, 0.068...
embed
57736313_c0
57736313
elixir
0
Title: Caching on Heroku CI Problem title: Caching on Heroku CI Tags: dialyzer, continuous-integration, phoenix-framework, elixir, heroku Problem: Caching on Heroku CI I am setting up Heroku CI with Elixir Phoenix buildpack. I want to start using Dialyzer. Diazlyer is a static analysis tool that before the first run ta...
Caching on Heroku CI Caching on Heroku CI dialyzer continuous-integration phoenix-framework elixir heroku Caching Heroku Caching on Heroku CI I am setting up Heroku CI with Elixir Phoenix buildpack. I want to start using Dialyzer. Diazlyer is a static analysis tool that before the first run takes at least a couple of m...
[ -0.01080322265625, 0.00139617919921875, 0.00118255615234375, 0.00151824951171875, -0.0000705718994140625, 0.005218505859375, -0.01214599609375, -0.021484375, -0.000911712646484375, 0.01904296875, -0.010986328125, 0.022705078125, -0.016357421875, 0.0302734375, 0.0038604736328125, 0.0273...
[ 2041, 59207, 98, 56889, 319, 26550, 879, 538, 4383, 62005, 100743, 4084, 160328, 15296, 38308, 40814, 53550, 25318, 133720, 45367, 29102, 3444, 4034, 17368, 4512, 169, 56, 201939, 114137, 55516, 8108, 5117, 11675, 24941, 14633, 28282, 6892, 6...
[ 0.1881103515625, 0.167724609375, 0.0701904296875, 0.18603515625, 0.1971435546875, 0.201904296875, 0.080078125, 0.17431640625, 0.2032470703125, 0.0618896484375, 0.08740234375, 0.0762939453125, 0.039764404296875, 0.0025634765625, 0.1878662109375, 0.1119384765625, 0.016387939453125, 0...
embed
41742937_c0
41742937
elixir
0
Title: Programatically accessing the definition of typespec Problem title: Programatically accessing the definition of typespec Tags: types, reflection, elixir Problem: Programatically accessing the definition of typespec How might I access the definition of a typespec within my code? I wish to use it within a macro in...
Programatically accessing the definition of typespec Programatically accessing the definition of typespec types reflection elixir Programatically MyMod Code.get_type my_type Elixir Programatically accessing the definition of typespec How might I access the definition of a typespec within my code? I wish to use it withi...
[ 0.0140380859375, 0.01055908203125, 0.009765625, 0.01385498046875, 0, -0.005889892578125, 0.006561279296875, -0.0045166015625, -0.0101318359375, -0.0390625, 0.021728515625, -0.010498046875, -0.01287841796875, 0.009033203125, 0.01214599609375, 0.02392578125, -0.00933837890625, 0.0231...
[ 26523, 18, 71407, 17203, 80934, 10644, 16711, 52895, 44961, 1830, 15296, 38308, 2646, 91616, 28864, 3794, 50986, 759, 25318, 13648, 111, 10, 28032, 18151, 32599, 4527, 111789, 58093, 6397, 88996, 5809, 11782, 32354, 31852, 30646, 48963, 125195 ...
[ 0.16796875, 0.0626220703125, 0.024627685546875, 0.1722412109375, 0.214599609375, 0.222900390625, 0.3076171875, 0.2264404296875, 0.1845703125, 0.053558349609375, 0.0631103515625, 0.1748046875, 0.0767822265625, 0.19287109375, 0.134521484375, 0.09844970703125, 0.2587890625, 0.06951904...
embed
59088615_c1
59088615
elixir
1
cYrrkO2sCnMu5KlInYb7zOTRohBZ+vLgmuHnqw1Pp4UPHMORgPMT+hYoKwSxEWodHPCycBInIzCiEFawmeEU2FYrU53idtBEhkjCrGt5PK4aWmOnUcKwBxemUQRhgAIkC4p51BI53WjN2wNlgyM8azInFCuk5vakJsJksyEq7ia0LcE9TlZ+ygL/0JYmvyiopLhaVc0LnpW/ixtdXwa16oEHNyOajO1r0=</key> <key prekey='true' receiver='fedora@im-docker.rationaletech.com' rid='2509209946'>Myjlg...
YgUD lIZVSsSl9I719XpG9y27qfOJRQtLdP1k Myjlg7TYDAg3MAQSIQVIPzGNN0nypISB7FPrljHFu2U1v xutcn75JTF6CmHdhohBZ hYoKwSxEWodHPCycBInIzCiEFdf7SVhrxDiAtIYvgDzGxELyv5SBvbTKXJ2w0koLlbycQRhgAIkDfUOb09tsKnC3MHiMgaKS8jDzp0Hf7bB58VZke4zhP5JYYCVEMBcNFZGPZmsdyfFERgZ qOWuL7w4tvECY6OIoOL7oYcDZaws MwohBdoQz6FKWe8sCrYSUWy pFw2iZhUnvCF EAEYA...
[ 0.0025787353515625, 0.0174560546875, -0.01031494140625, -0.000759124755859375, 0.0089111328125, -0.00286865234375, 0.01513671875, -0.0206298828125, 0.0172119140625, 0.00555419921875, 0.0279541015625, 0.0240478515625, -0.004608154296875, -0.0162353515625, 0.018798828125, 0.0142211914062...
[ 990, 177, 26119, 96, 22628, 47207, 7, 141, 1126, 568, 2947, 53, 3768, 68538, 18, 866, 92, 2646, 170, 14686, 966, 27143, 6538, 363, 163175, 24455, 2389, 299, 254, 571, 34, 1062, 334, 10438, 27765, 6873, 1375, 910, 441, 39, 841, 127, ...
[ 0.1114501953125, 0.06317138671875, 0.22021484375, 0.0875244140625, 0.101806640625, 0.0986328125, 0.034332275390625, 0.0345458984375, 0.032958984375, 0.0347900390625, 0.146484375, 0.07476806640625, 0.114013671875, 0.014923095703125, 0.0343017578125, 0.133544921875, 0.1202392578125, ...
embed
60379922_c0
60379922
elixir
0
Title: How can I use &lt;% link %&gt; tag inside javascript code. I am using Phoenix Framework Problem title: How can I use &lt;% link %&gt; tag inside javascript code. I am using Phoenix Framework Tags: elixir, font-awesome, javascript, phoenix-framework, jquery Problem: How can I use <% link %> tag inside javascript ...
How can I use &lt;% link %&gt; tag inside javascript code. I am using Phoenix Framework How can I use &lt;% link %&gt; tag inside javascript code. I am using Phoenix Framework elixir font-awesome javascript phoenix-framework jquery Phoenix How Framework Routes.session_path How can I use <% link %> tag inside javascript...
[ -0.01312255859375, -0.00372314453125, -0.0036773681640625, -0.019287109375, 0.01190185546875, 0.00104522705078125, 0.0177001953125, 0.01214599609375, -0.0035552978515625, -0.0869140625, -0.0185546875, -0.01953125, 0, 0.001220703125, -0.004791259765625, -0.00665283203125, -0.001045227...
[ 11249, 831, 4527, 1277, 3949, 3126, 1745, 5386, 7909, 46132, 136951, 18151, 17368, 133720, 202220, 15296, 38308, 12401, 1177, 43452, 33, 4084, 160328, 18244, 944, 106015, 169234, 128405, 104921, 84079, 15190, 3884, 40788, 227865, 87, 2271, 1792...
[ 0.041168212890625, 0.032623291015625, 0.1376953125, 0.0215301513671875, 0.1353759765625, 0.2410888671875, 0.0999755859375, 0.06048583984375, 0.21728515625, 0.146484375, 0.2064208984375, 0.1695556640625, 0.027679443359375, 0.2125244140625, 0.191162109375, 0.0159759521484375, 0.1483154...
embed
36248829_c0
36248829
elixir
0
Title: Why do library dependencies need to be listed in a project&#x27;s applications? Problem title: Why do library dependencies need to be listed in a project&#x27;s applications? Tags: elixir, erlang-otp Problem: Why do library dependencies need to be listed in a project's applications? What is the purpose of librar...
Why do library dependencies need to be listed in a project&#x27;s applications? Why do library dependencies need to be listed in a project&#x27;s applications? elixir erlang-otp Why left_pad Why do library dependencies need to be listed in a project's applications? What is the purpose of library dependencies( which onl...
[ 0.0087890625, 0.004547119140625, 0.0013885498046875, -0.0007171630859375, -0.01043701171875, 0.009765625, -0.007232666015625, 0.0017852783203125, 0.01513671875, 0.00927734375, 0.01544189453125, -0.06591796875, 0.0022125244140625, 0.046630859375, 0.0166015625, -0.03173828125, 0.002807...
[ 44084, 35773, 1294, 42548, 117538, 3871, 145870, 13452, 3768, 86685, 47, 15296, 38308, 72, 3066, 818, 254, 25737, 4299, 23, 60042, 4734, 22691, 32354, 237, 38415, 67330, 99201, 87344, 8781, 151117, 25318, 98169, 11343, 19882, 106001, 27771, 6...
[ 0.09124755859375, 0.200927734375, 0.1351318359375, 0.2332763671875, 0.1378173828125, 0.0908203125, 0.2215576171875, 0.14306640625, 0.0163116455078125, 0.1617431640625, 0.030487060546875, 0.055023193359375, 0.2117919921875, 0.0222625732421875, 0.17724609375, 0.08905029296875, 0.076049...
embed
38787230_c0
38787230
elixir
0
Title: Ecto returns numbers in scientific (exponential) notation Problem title: Ecto returns numbers in scientific (exponential) notation Tags: elixir, ecto Problem: Ecto returns numbers in scientific (exponential) notation I don't know if it's an Ecto's or Elixir's issue. When I have a number in database like 1000, 15...
Ecto returns numbers in scientific (exponential) notation Ecto returns numbers in scientific (exponential) notation elixir ecto Ecto incoming_transfers DOUBLE MySQL Ecto returns numbers in scientific (exponential) notation I don't know if it's an Ecto's or Elixir's issue. When I have a number in database like 1000, 150...
[ 0.0166015625, -0.0031890869140625, 0.0027618408203125, 0.007476806640625, 0.0245361328125, 0.006072998046875, -0.007415771484375, 0.0004367828369140625, 0.00335693359375, -0.0037841796875, 0.015869140625, 0.0208740234375, -0.00860595703125, 0.029296875, 0.013671875, -0.0013961791992187...
[ 241, 44150, 30646, 101935, 23, 57456, 157034, 19, 80973, 110, 22062, 15296, 38308, 60751, 277, 141325, 6197, 1062, 125149, 157146, 3714, 7, 25318, 31089, 14847, 765, 10, 14012, 63399, 1884, 4382, 4, 106, 29213, 3021, 442, 237, 53855, 13, ...
[ 0.161376953125, 0.326416015625, 0.2305908203125, 0.195556640625, 0.05413818359375, 0.204345703125, 0.15087890625, 0.06640625, 0.15087890625, 0.155517578125, 0.0989990234375, 0.103759765625, 0.2176513671875, 0.27685546875, 0.1241455078125, 0.194580078125, 0.087890625, 0.12744140625,...
embed
71071565_c0
71071565
elixir
0
Title: Elixir recovering erl_crash.dump from a k8s pod with memory issues Problem title: Elixir recovering erl_crash.dump from a k8s pod with memory issues Tags: elixir Problem: Elixir recovering erl_crash.dump from a k8s pod with memory issues I have Elixir code running on Kubernetes pods which crashes from what I sus...
Elixir recovering erl_crash.dump from a k8s pod with memory issues Elixir recovering erl_crash.dump from a k8s pod with memory issues elixir a Elixir erl_crash.dump k8s Crash erl_crash.dump...done Elixir recovering erl_crash.dump from a k8s pod with memory issues I have Elixir code running on Kubernetes pods which cras...
[ 0.000949859619140625, 0.05126953125, -0.0037994384765625, -0.0064697265625, 0.0191650390625, 0.004974365234375, -0.00131988525390625, -0.00830078125, -0.0038604736328125, 0.0048828125, 0.0152587890625, -0.0027008056640625, 0.007720947265625, 0.0230712890625, 0.0277099609375, 0.00473022...
[ 25318, 38308, 192026, 72, 141, 41535, 693, 2676, 1019, 7, 855, 98323, 37348, 15296, 472, 34156, 127, 64007, 18151, 51042, 96305, 3196, 1636, 150631, 92610, 31089, 238, 1379, 2146, 14364, 20133, 1991, 12684, 26008, 3917, 33022, 11435, 47, 91...
[ 0.147705078125, 0.269287109375, 0.10162353515625, 0.0928955078125, 0.152587890625, 0.195556640625, 0.146240234375, 0.174560546875, 0.1451416015625, 0.05596923828125, 0.16357421875, 0.1392822265625, 0.10308837890625, 0.0772705078125, 0.0168609619140625, 0.1343994140625, 0.045074462890...
embed
59571543_c0
59571543
elixir
0
Title: &quot;(ArithmeticError) bad argument in arithmetic expression&quot; when trying to connect nodes when machine alias has hyphens Problem title: &quot;(ArithmeticError) bad argument in arithmetic expression&quot; when trying to connect nodes when machine alias has hyphens Tags: elixir Problem: "(ArithmeticError) b...
&quot;(ArithmeticError) bad argument in arithmetic expression&quot; when trying to connect nodes when machine alias has hyphens &quot;(ArithmeticError) bad argument in arithmetic expression&quot; when trying to connect nodes when machine alias has hyphens elixir ArithmeticError Node.connect DAL-SW-JH-LT DAL "(Arithmeti...
[ -0.00015544891357421875, 0.00616455078125, -0.0242919921875, 0.01171875, 0, 0.01507568359375, -0.012451171875, 0.0069580078125, -0.00156402587890625, -0.012451171875, 0.0010528564453125, -0.031494140625, 0.006988525390625, -0.007080078125, -0.00970458984375, -0.02001953125, -0.003417...
[ 41502, 7614, 8962, 282, 9523, 18468, 31611, 6494, 10750, 187, 125195, 31577, 37067, 110, 988, 3229, 36279, 55109, 1556, 2119, 88322, 15296, 38308, 438, 112, 135457, 63589, 89023, 1375, 841, 27026, 6, 57143, 134598, 25842, 72134, 1257, 3622, ...
[ 0.003021240234375, 0.0257110595703125, 0.166748046875, 0.11279296875, 0.1021728515625, 0.1427001953125, 0.1678466796875, 0.1591796875, 0.2587890625, 0.01470947265625, 0.1722412109375, 0.075439453125, 0.1610107421875, 0.1417236328125, 0.129150390625, 0.02239990234375, 0.1190185546875,...
embed
36579279_c0
36579279
elixir
0
Title: nested list comprehension in elixir Problem title: nested list comprehension in elixir Tags: elixir Problem: nested list comprehension in elixir cols = [[r+c for r in row_indexes] for c in col_indexes] rows = [[r+c for c in col_indexes] for r in row_indexes] boxes = [[r+c for c in C for r in R] for C in col_box_...
nested list comprehension in elixir nested list comprehension in elixir elixir row_indexes col_indexes row_box_indexes col_box_indexes nested list comprehension in elixir In order to learn Elixir I would like to resolve this problem: https://projecteuler.net/problem=96 In order to go through the board I would start lik...
[ -0.01531982421875, 0.0103759765625, 0.0029296875, 0.017333984375, -0.0068359375, 0.0023345947265625, 0.00162506103515625, 0.00494384765625, -0.004852294921875, 0, 0.0069580078125, -0.01031494140625, 0.0174560546875, 0.020263671875, -0.02783203125, -0.01416015625, 0.00433349609375, ...
[ 8512, 71, 5303, 46683, 3220, 6889, 23, 15296, 38308, 15555, 4711, 90, 3365, 11728, 30698, 25318, 103608, 2967, 95322, 4615, 603, 38953, 11648, 8305, 45443, 360, 17198, 50828, 237875, 17368, 37842, 1284, 3884, 1632, 678, 756, 16750, 4127, 73...
[ 0.251708984375, 0.1171875, 0.2216796875, 0.17333984375, 0.17529296875, 0.0516357421875, 0.061614990234375, 0.09942626953125, 0.245361328125, 0.1591796875, 0.1624755859375, 0.03466796875, 0.1160888671875, 0.1412353515625, 0.060699462890625, 0.10296630859375, 0.080322265625, 0.068908...
embed
51691121_c2
51691121
elixir
2
7stud/.kiex/elixirs/elixir-1.4.1/bin/elixir ~$ which mix /Users/7stud/.kiex/elixirs/elixir-1.4.1/bin/mix ~$ I searched google for .kiex , and it looks like I must have installed the kiex version manager for elixir at some point. There were also some lines in my .bash_profile that installed kiex shims. I commented out t...
7stud/.kiex/elixirs/elixir-1.4.1/bin/elixir ~$ which mix /Users/7stud/.kiex/elixirs/elixir-1.4.1/bin/mix ~$ I searched google for .kiex , and it looks like I must have installed the kiex version manager for elixir at some point. There were also some lines in my .bash_profile that installed kiex shims. I commented out t...
[ -0.00049591064453125, 0.0177001953125, 0.007110595703125, 0.004913330078125, -0.00592041015625, -0.000507354736328125, -0.00958251953125, 0.004669189453125, -0.0022430419921875, 0.0084228515625, -0.00262451171875, -0.0181884765625, -0.00162506103515625, 0.018310546875, 0.021728515625, ...
[ 361, 3506, 301, 3355, 6169, 38308, 91977, 7568, 17664, 1062, 7, 1314, 32359, 62015, 33938, 26484, 5, 8110, 20600, 200, 11389, 31095, 15296, 124519, 87109, 58395, 6544, 4432, 6868, 51, 1183, 28864, 26073, 8, 6423, 3794, 1529, 425, 191147, ...
[ 0.10296630859375, 0.208251953125, 0.15966796875, 0.251953125, 0.1170654296875, 0.2822265625, 0.12060546875, 0.1341552734375, 0.2313232421875, 0.06011962890625, 0.08258056640625, 0.07537841796875, 0.09149169921875, 0.1973876953125, 0.0166015625, 0.0748291015625, 0.0582275390625, 0.0...
embed
33951071_c0
33951071
elixir
0
Title: Mix Project Without a lib path Problem title: Mix Project Without a lib path Tags: elixir-mix, elixir, hex-pm Problem: Mix Project Without a lib path I have an existing ruby project that contains a list of protocol-buffer definitions. I would like to setup a mix.exs file and generate a hex package based on those...
Mix Project Without a lib path Mix Project Without a lib path elixir-mix elixir hex-pm Mix Project Without mix.exs elixir_lib Mix Project Without a lib path I have an existing ruby project that contains a list of protocol-buffer definitions. I would like to setup a mix.exs file and generate a hex package based on those...
[ 0.007080078125, 0.01025390625, -0.000843048095703125, 0.0069580078125, -0.023681640625, -0.00457763671875, -0.0074462890625, 0.021728515625, 0.01318359375, 0.0035858154296875, 0.00543212890625, -0.034912109375, 0.019775390625, 0.02783203125, 0.0240478515625, -0.00799560546875, 0, -...
[ 37286, 27331, 177417, 25474, 60875, 15296, 38308, 62015, 764, 425, 26822, 17664, 3355, 7, 5612, 144573, 21922, 53, 13452, 70541, 91363, 123759, 56, 80934, 1884, 169581, 11435, 139392, 98169, 222495, 4527, 64, 14364, 5, 102158, 196163, 30203, ...
[ 0.26025390625, 0.14599609375, 0.1395263671875, 0.1630859375, 0.150390625, 0.06640625, 0.17236328125, 0.2098388671875, 0.1646728515625, 0.1640625, 0.1068115234375, 0.28271484375, 0.19287109375, 0.13818359375, 0.2049560546875, 0.05352783203125, 0.1304931640625, 0.09906005859375, 0....
embed
56717042_c1
56717042
elixir
1
db=1.5ms decode=0.1ms queue=0.2ms [ %App.Accounts.User{ __meta__: #Ecto.Schema.Metadata<:loaded, "users">, credential: #Ecto.Association.NotLoaded<association :credential is not loaded>, id: 1, inserted_at: ~N[2019-06-21 16:39:46], ... ] iex(2)> Repo.all Credential [debug] QUERY OK source="credentials" db=5.5ms queue=...
db=1.5ms decode=0.1ms queue=0.2ms [ %App.Accounts.User{ __meta__: #Ecto.Schema.Metadata<:loaded, "users">, credential: #Ecto.Association.NotLoaded<association :credential is not loaded>, id: 1, inserted_at: ~N[2019-06-21 16:39:46], ... ] iex(2)> Repo.all Credential [debug] QUERY OK source="credentials" db=5.5ms queue=...
[ -0.0004825592041015625, 0.00128936767578125, -0.00933837890625, 0.0220947265625, 0.010986328125, 0.0030059814453125, -0.0264892578125, -0.0064697265625, 0.00579833984375, -0.04052734375, -0.01806640625, -0.0252685546875, 0.0015869140625, 0.0026702880859375, -0.0174560546875, -0.0064086...
[ 40041, 1369, 42876, 4432, 8, 40899, 102014, 41, 13388, 133684, 39179, 39450, 71013, 1062, 2189, 35273, 647, 44150, 5, 25452, 11883, 6696, 8656, 102, 63033, 223, 1314, 10291, 80973, 214813, 122116, 15363, 712, 107035, 89921, 83, 959, 72367, ...
[ 0.172607421875, 0.012298583984375, 0.1669921875, 0.165283203125, 0.167236328125, 0.2325439453125, 0.1568603515625, 0.1014404296875, 0.07757568359375, 0.13427734375, 0.15966796875, 0.035888671875, 0.1943359375, 0.07586669921875, 0.0911865234375, 0.100341796875, 0.054901123046875, 0....
embed
41789423_c0
41789423
elixir
0
Title: Elixir/PhoenixFramework - How do I get test.secret.exs to automatically load in test environment? Problem title: Elixir/PhoenixFramework - How do I get test.secret.exs to automatically load in test environment? Tags: elixir, phoenix-framework Problem: Elixir/PhoenixFramework - How do I get test.secret.exs to aut...
Elixir/PhoenixFramework - How do I get test.secret.exs to automatically load in test environment? Elixir/PhoenixFramework - How do I get test.secret.exs to automatically load in test environment? elixir phoenix-framework Elixir PhoenixFramework How test.secret.exs Application.get_env my_app my_settings Mix.Config setti...
[ 0.0103759765625, 0.0164794921875, -0.00787353515625, -0.0224609375, 0.002410888671875, 0.0030670166015625, -0.00159454345703125, 0.0150146484375, 0.007080078125, 0.00244140625, -0.0025634765625, 0.026123046875, -0.0047607421875, 0.007171630859375, 0.005523681640625, 0.01190185546875, ...
[ 25318, 38308, 497, 33, 4084, 108386, 282, 18244, 11249, 2046, 3034, 164054, 3355, 7, 191082, 72367, 65998, 47, 23, 15296, 53073, 160328, 133720, 104921, 3794, 334, 759, 9007, 89840, 37286, 83671, 53550, 54, 959, 1257, 1176, 30646, 17324, 70...
[ 0.1309814453125, 0.2254638671875, 0.03466796875, 0.0872802734375, 0.09722900390625, 0.09722900390625, 0.015472412109375, 0.0970458984375, 0.0736083984375, 0.044281005859375, 0.2255859375, 0.28466796875, 0.18310546875, 0.11767578125, 0.201416015625, 0.1641845703125, 0.133056640625, ...
embed
49390909_c0
49390909
elixir
0
Title: Evaluate Elixir command from cmdline - module is not available Problem title: Evaluate Elixir command from cmdline - module is not available Tags: erlang, elixir, elixir-iex Problem: Evaluate Elixir command from cmdline - module is not available I’m finding that if I do the following everything works as expected...
Evaluate Elixir command from cmdline - module is not available Evaluate Elixir command from cmdline - module is not available erlang elixir elixir-iex cmdline Evaluate Elixir MyModule.process MyModule HOSTNAME Evaluate Elixir command from cmdline - module is not available I’m finding that if I do the following everythi...
[ -0.01043701171875, 0.005035400390625, -0.007293701171875, 0.032470703125, 0.0087890625, 0.004486083984375, 0.02490234375, -0.00897216796875, -0.004150390625, -0.0269775390625, -0.008544921875, -0.00439453125, 0.03369140625, 0.0030059814453125, -0.004669189453125, 0.00213623046875, -0...
[ 151228, 67, 25318, 38308, 75101, 1295, 1827, 71, 2256, 88996, 959, 19882, 72, 3066, 15296, 14, 3355, 2646, 91616, 8782, 63923, 34274, 182512, 26818, 43240, 84751, 9790, 18499, 3714, 26698, 42548, 117538, 17664, 17368, 20, 13, 49938 ]
[ 0.2080078125, 0.097900390625, 0.139404296875, 0.254638671875, 0.1685791015625, 0.0202789306640625, 0.10986328125, 0.0305938720703125, 0.149658203125, 0.1915283203125, 0.0699462890625, 0.1485595703125, 0.01934814453125, 0.1531982421875, 0.09393310546875, 0.01275634765625, 0.1214599609...
embed
40417347_c0
40417347
elixir
0
Title: How to write to a file in RAM in elixir? Problem title: How to write to a file in RAM in elixir? Tags: elixir Problem: How to write to a file in RAM in elixir? So if I open a file in RAM memory (see below code 2) with Elixir, how do I write to that file in RAM and then retrieve its contents once the writing is d...
How to write to a file in RAM in elixir? How to write to a file in RAM in elixir? elixir CaseClauseError How RAM Port io.ex:495 IO.write File.open text.txt file_descriptor ram_file How to write to a file in RAM in elixir? So if I open a file in RAM memory (see below code 2) with Elixir, how do I write to that file in R...
[ -0.007781982421875, 0.012939453125, -0.023681640625, 0.01458740234375, 0.0177001953125, -0.0098876953125, -0.01544189453125, -0.00518798828125, -0.0048828125, -0.00927734375, 0.022216796875, 0.0260009765625, -0.000667572021484375, 0.01312255859375, 0.0211181640625, -0.002899169921875, ...
[ 11249, 47, 33022, 11435, 23, 26959, 15296, 38308, 43731, 26253, 18468, 13791, 22995, 3355, 127351, 17780, 434, 18781, 42724, 59636, 7986, 124326, 71, 121707, 13969, 29822, 9803, 98323, 18151, 678, 25318, 3642, 456, 3996, 10941, 32562, 16940, ...
[ 0.0775146484375, 0.221923828125, 0.2484130859375, 0.193603515625, 0.1375732421875, 0.24267578125, 0.1207275390625, 0.283203125, 0.060699462890625, 0.059326171875, 0.021942138671875, 0.1348876953125, 0.1409912109375, 0.0601806640625, 0.2066650390625, 0.18505859375, 0.06060791015625, ...
embed
71425776_c0
71425776
elixir
0
Title: Ecto faking migrations Problem title: Ecto faking migrations Tags: ecto, elixir, phoenix-framework Problem: Ecto faking migrations What's the best way to fake a migration? I have big database table where I need to remove duplicates and in the same transaction add unique index. This is the safest and easiest way ...
Ecto faking migrations Ecto faking migrations ecto elixir phoenix-framework Ecto Ecto faking migrations What's the best way to fake a migration? I have big database table where I need to remove duplicates and in the same transaction add unique index. This is the safest and easiest way to resolve this issue. But when th...
[ -0.009765625, -0.00604248046875, 0.0179443359375, -0.0198974609375, 0.006256103515625, 0.003143310546875, -0.0098876953125, -0.011962890625, -0.00311279296875, -0.004119873046875, 0.0093994140625, 0.016357421875, 0.0198974609375, 0.038330078125, 0.00897216796875, -0.0118408203125, -0...
[ 241, 44150, 1071, 6048, 212416, 60751, 15296, 38308, 53073, 33, 4084, 160328, 2965, 3917, 47, 106287, 63399, 23180, 3871, 87388, 171763, 5701, 124161, 15190, 36998, 63262, 57, 13576, 1544, 525, 103608, 31089, 109921, 4034, 35782, 110, 41392, ...
[ 0.0716552734375, 0.258544921875, 0.1905517578125, 0.0986328125, 0.2205810546875, 0.1881103515625, 0.04876708984375, 0.150146484375, 0.022979736328125, 0.027496337890625, 0.091552734375, 0.08160400390625, 0.102294921875, 0.07049560546875, 0.087890625, 0.265869140625, 0.1046142578125, ...
embed
54088107_c0
54088107
elixir
0
Title: Make aliases dynamic in umbrella apps mix file Problem title: Make aliases dynamic in umbrella apps mix file Tags: elixir, phoenix-framework Problem: Make aliases dynamic in umbrella apps mix file I have a seed file and I added it inside one of the apps mix file and it should always run before the tests. It work...
Make aliases dynamic in umbrella apps mix file Make aliases dynamic in umbrella apps mix file elixir phoenix-framework Make app_name seeds.exs Make aliases dynamic in umbrella apps mix file I have a seed file and I added it inside one of the apps mix file and it should always run before the tests. It works well from ro...
[ 0.00128173828125, 0.01611328125, 0.023681640625, 0.0130615234375, 0.00665283203125, 0.0201416015625, -0.0079345703125, 0.02197265625, 0.0012054443359375, -0.014892578125, 0.007293701171875, -0.00439453125, 0.0380859375, 0.0390625, 0.019287109375, 0.002349853515625, -0.00738525390625,...
[ 26176, 55109, 90, 84079, 23, 286, 4134, 1165, 49966, 17664, 11435, 15296, 38308, 53073, 33, 4084, 160328, 4027, 11627, 40, 297, 7, 3355, 49814, 46132, 11343, 11675, 8108, 109921, 43240, 5299, 1295, 74855, 36663, 3034, 11651, 104250, 18499, ...
[ 0.126708984375, 0.255126953125, 0.1734619140625, 0.217041015625, 0.04559326171875, 0.057373046875, 0.1558837890625, 0.1688232421875, 0.1708984375, 0.221435546875, 0.15771484375, 0.0552978515625, 0.17236328125, 0.05084228515625, 0.063232421875, 0.130126953125, 0.10211181640625, 0.21...
embed
23342383_c0
23342383
elixir
0
Title: The best way to verify a zip file function in Elixir Problem title: The best way to verify a zip file function in Elixir Tags: erlang, elixir Problem: The best way to verify a zip file function in Elixir I have a path library which has a zip function in it, and while writing the unit test, I tried to find the be...
The best way to verify a zip file function in Elixir The best way to verify a zip file function in Elixir erlang elixir Elixir The best way to verify a zip file function in Elixir I have a path library which has a zip function in it, and while writing the unit test, I tried to find the best way to verify that the zip f...
[ 0.005645751953125, -0.000812530517578125, -0.005035400390625, 0.029541015625, -0.0030670166015625, -0.007659912109375, -0.0198974609375, -0.0038909912109375, 0.00701904296875, 0.017822265625, 0.0012664794921875, 0.01220703125, 0.018310546875, 0.0238037109375, 0.01220703125, 0.035400390...
[ 2965, 3917, 47, 493, 40383, 68330, 11435, 32354, 23, 25318, 38308, 72, 3066, 15296, 60875, 35773, 1294, 25072, 3034, 43240, 26785, 7639, 10846, 48322, 5351, 113307, 347, 71, 758, 31805, 26548, 121413, 32036, 1810, 10941, 4989, 32382, 57767, ...
[ 0.12890625, 0.0772705078125, 0.0428466796875, 0.17919921875, 0.2008056640625, 0.2548828125, 0.1822509765625, 0.1705322265625, 0.08123779296875, 0.13525390625, 0.257080078125, 0.057891845703125, 0.1883544921875, 0.10107421875, 0.134765625, 0.0994873046875, 0.02264404296875, 0.112060...
embed
52445633_c0
52445633
elixir
0
Title: Why does phoenix install will elixir 1.4 when I only have 1.7.3 installed on the machine? Problem title: Why does phoenix install will elixir 1.4 when I only have 1.7.3 installed on the machine? Tags: phoenix-framework, elixir Problem: Why does phoenix install will elixir 1.4 when I only have 1.7.3 installed on ...
Why does phoenix install will elixir 1.4 when I only have 1.7.3 installed on the machine? Why does phoenix install will elixir 1.4 when I only have 1.7.3 installed on the machine? phoenix-framework elixir Why Supervisor.Spec mix.exs Why does phoenix install will elixir 1.4 when I only have 1.7.3 installed on the machin...
[ -0.004791259765625, 0.006805419921875, 0.0162353515625, -0.00335693359375, -0.0098876953125, 0.00543212890625, -0.00909423828125, 0.003265380859375, 0.003387451171875, 0.00183868408203125, -0.0028076171875, -0.033935546875, -0.004486083984375, 0.00994873046875, 0.000301361083984375, 0....
[ 44084, 14602, 53073, 33, 4084, 20600, 1221, 15296, 38308, 48733, 3229, 4734, 615, 145515, 36279, 160328, 18244, 4265, 51858, 294, 47107, 17664, 5, 3355, 7, 5120, 38415, 11435, 509, 7464, 17368, 8, 4692, 1106, 425, 29713, 26822, 6169, 73903,...
[ 0.141357421875, 0.04730224609375, 0.1217041015625, 0.1800537109375, 0.18798828125, 0.17529296875, 0.1885986328125, 0.1473388671875, 0.253173828125, 0.260986328125, 0.0272064208984375, 0.0870361328125, 0.09112548828125, 0.23046875, 0.095947265625, 0.0634765625, 0.0208740234375, 0.17...
embed
46683860_c0
46683860
elixir
0
Title: How to debug an Elixir application in production? Problem title: How to debug an Elixir application in production? Tags: elixir, phoenix-framework, erlang Problem: How to debug an Elixir application in production? This is not particularly about my current problem, but more like in general. Sometimes I have a pro...
How to debug an Elixir application in production? How to debug an Elixir application in production? elixir phoenix-framework erlang How Elixir How to debug an Elixir application in production? This is not particularly about my current problem, but more like in general. Sometimes I have a problem that only happens in pr...
[ -0.0079345703125, 0.018310546875, -0.000164031982421875, 0.0264892578125, -0.003753662109375, 0.017822265625, -0.0140380859375, 0.01611328125, 0.004119873046875, -0.0181884765625, 0.0157470703125, -0.0059814453125, 0.0308837890625, 0.0206298828125, 0.0242919921875, 0.0301513671875, -...
[ 11249, 47, 8, 85779, 25318, 38308, 38415, 23, 36049, 142, 15296, 53073, 33, 4084, 160328, 18244, 72, 3066, 43581, 2967, 160193, 96276, 180346, 1884, 2685, 2965, 51515, 118479, 127877, 15490, 48461, 65998, 246, 11050, 33245, 831, 4527, 87, 2...
[ 0.1068115234375, 0.0672607421875, 0.18701171875, 0.30029296875, 0.152099609375, 0.2841796875, 0.1912841796875, 0.1220703125, 0.2381591796875, 0.02313232421875, 0.103759765625, 0.0143280029296875, 0.0416259765625, 0.0931396484375, 0.0679931640625, 0.0292205810546875, 0.035400390625, ...
embed
60692298_c0
60692298
elixir
0
Title: How to match atom parameter to cond statement clause Problem title: How to match atom parameter to cond statement clause Tags: elixir, conditional-statements Problem: How to match atom parameter to cond statement clause I want to place the following functions into one function: def discount(:standard), do: &stan...
How to match atom parameter to cond statement clause How to match atom parameter to cond statement clause elixir conditional-statements How Shop.standard Shop.bronze Shop.silver Shop.gold How to match atom parameter to cond statement clause I want to place the following functions into one function: Something like this:...
[ -0.0115966796875, -0.0047607421875, -0.009033203125, -0.001617431640625, -0.0164794921875, -0.0032501220703125, 0.01300048828125, 0.013427734375, -0.00421142578125, 0.00180816650390625, 0.01708984375, 0.00238037109375, -0.0024261474609375, -0.00579833984375, 0.0164794921875, 0.00909423...
[ 11249, 47, 14858, 34627, 171859, 158, 71, 63805, 70731, 13, 15296, 38308, 35431, 289, 61340, 24211, 66589, 46080, 731, 10801, 814, 122558, 3444, 3687, 25632, 32354, 3934, 1632, 3642, 16082, 152, 36467, 113307, 69112, 4488 ]
[ 0.08538818359375, 0.1109619140625, 0.221435546875, 0.213134765625, 0.214599609375, 0.128173828125, 0.1678466796875, 0.2003173828125, 0.1566162109375, 0.06787109375, 0.03753662109375, 0.1614990234375, 0.1253662109375, 0.046600341796875, 0.1279296875, 0.1365966796875, 0.1396484375, 0...
embed
36803272_c0
36803272
elixir
0
Title: Validate ISO8601 start_time is before ISO8601 end_time in elixir/ecto/timex Problem title: Validate ISO8601 start_time is before ISO8601 end_time in elixir/ecto/timex Tags: ecto, elixir Problem: Validate ISO8601 start_time is before ISO8601 end_time in elixir/ecto/timex I'm working on json request using phoenix ...
Validate ISO8601 start_time is before ISO8601 end_time in elixir/ecto/timex Validate ISO8601 start_time is before ISO8601 end_time in elixir/ecto/timex ecto elixir Validate ISO8601 start_time end_time Validate ISO8601 start_time is before ISO8601 end_time in elixir/ecto/timex I'm working on json request using phoenix w...
[ -0.0020751953125, 0.0198974609375, 0.0096435546875, 0.0218505859375, -0.00604248046875, -0.0034637451171875, -0.0284423828125, -0.0020294189453125, 0.00052642822265625, -0.020751953125, 0.031005859375, 0.030029296875, 0.02490234375, 0.0218505859375, -0.00994873046875, -0.011962890625, ...
[ 25447, 17489, 17408, 15276, 6746, 4034, 454, 6032, 8108, 3564, 15296, 38308, 60751, 425, 83, 20697, 1647, 1681, 50336, 53073, 33, 4084, 136, 9384, 3444, 44622, 67, 977, 18499, 176377, 15044, 44457, 17137, 2647, 40715, 7068, 3611, 186, 11739...
[ 0.17919921875, 0.0767822265625, 0.1617431640625, 0.1802978515625, 0.2115478515625, 0.1614990234375, 0.0196990966796875, 0.2001953125, 0.1558837890625, 0.13623046875, 0.0736083984375, 0.2144775390625, 0.2259521484375, 0.1751708984375, 0.0196990966796875, 0.024658203125, 0.0849609375, ...
embed
42247660_c0
42247660
elixir
0
Title: Running mix task of sub app in umbrella projects root crashes Problem title: Running mix task of sub app in umbrella projects root crashes Tags: elixir Problem: Running mix task of sub app in umbrella projects root crashes I made a simple task in the sub app(phoenix framework) of an umbrella project. defmodule M...
Running mix task of sub app in umbrella projects root crashes Running mix task of sub app in umbrella projects root crashes elixir UndefinedFunctionError Running Mix.Tasks.Apidocs Generate Mix.Task Crawls Mix.Task.run phoenix.swagger.generate snappy_api_v1.json sub_app Example.Mixfile.application swagger.generate.ex:45...
[ 0.00067901611328125, 0.021728515625, 0.01470947265625, 0.0020751953125, -0.00738525390625, 0.004852294921875, -0.01611328125, -0.0040283203125, 0.004730224609375, -0.0017242431640625, -0.00150299072265625, -0.00003838539123535156, 0.018798828125, 0.023193359375, 0.01470947265625, -0.01...
[ 28398, 17664, 66211, 111, 1614, 4027, 23, 286, 4134, 1165, 77635, 74855, 150631, 90, 15296, 38308, 79912, 5983, 97249, 18468, 37286, 9874, 89109, 4439, 155370, 1042, 34734, 27751, 16428, 53073, 33, 4084, 634, 21407, 48281, 76685, 6493, 40897,...
[ 0.132080078125, 0.2822265625, 0.217041015625, 0.048980712890625, 0.2379150390625, 0.18212890625, 0.05194091796875, 0.060791015625, 0.160400390625, 0.1483154296875, 0.11669921875, 0.212890625, 0.219482421875, 0.047760009765625, 0.069580078125, 0.222412109375, 0.053863525390625, 0.16...
embed
47794930_c0
47794930
elixir
0
Title: Ecto add many_to_many with extra fields Problem title: Ecto add many_to_many with extra fields Tags: elixir, many-to-many, ecto Problem: Ecto add many_to_many with extra fields I followed this instruction http://blog.roundingpegs.com/an-example-of-many-to-many-associations-in-ecto-and-phoenix/ to create a many_t...
Ecto add many_to_many with extra fields Ecto add many_to_many with extra fields elixir many-to-many ecto Ecto many_to_many Ecto add many_to_many with extra fields I followed this instruction http://blog.roundingpegs.com/an-example-of-many-to-many-associations-in-ecto-and-phoenix/ to create a many_to_many association. B...
[ -0.00726318359375, -0.004486083984375, -0.019775390625, 0.01153564453125, -0.0035400390625, 0.00341796875, 0.0023040771484375, 0.007476806640625, 0.01385498046875, -0.027587890625, -0.0059814453125, -0.015625, 0.01953125, 0.025634765625, 0.000270843505859375, -0.030029296875, -0.0071...
[ 241, 44150, 15190, 5941, 188, 669, 53, 678, 4173, 44457, 15296, 38308, 60751, 134629, 188336, 67688, 1081, 9405, 3355, 11, 33209, 107035, 2940, 33, 4084, 28282, 125413, 3871, 3060, 23180, 72095, 53404, 21094, 1884, 25737, 33284, 7225, 3299, ...
[ 0.07611083984375, 0.251220703125, 0.133544921875, 0.215576171875, 0.20849609375, 0.1683349609375, 0.1292724609375, 0.10247802734375, 0.1634521484375, 0.25146484375, 0.06011962890625, 0.1973876953125, 0.1962890625, 0.031646728515625, 0.10888671875, 0.072998046875, 0.07958984375, 0.0...
embed
45655274_c0
45655274
elixir
0
Title: Ecto schema with a tsrange field Problem title: Ecto schema with a tsrange field Tags: postgresql, phoenix-framework, ecto, elixir Problem: Ecto schema with a tsrange field I have a Postgres table with a tsrange column , and I'd like to include that in my Ecto module's schema . I see that Postgrex.Range exists ....
Ecto schema with a tsrange field Ecto schema with a tsrange field postgresql phoenix-framework ecto elixir ArgumentError Ecto Postgrex.Range valid_at schema.ex:1785 Ecto.Schema.check_type schema.ex:1473 Ecto.Schema.__field__ Ecto schema with a tsrange field I have a Postgres table with a tsrange column , and I'd like t...
[ -0.000881195068359375, -0.00010156631469726562, 0.01043701171875, 0.007568359375, -0.00151824951171875, -0.007415771484375, -0.0103759765625, -0.0111083984375, -0.002593994140625, -0.0228271484375, 0.0262451171875, 0.028564453125, 0.0177001953125, -0.005889892578125, -0.010009765625, -...
[ 241, 44150, 61903, 678, 61636, 94250, 44457, 10, 1305, 17562, 99247, 53073, 33, 4084, 160328, 60751, 15296, 38308, 112140, 18468, 31611, 2795, 7134, 425, 1052, 51459, 35604, 257, 3355, 12951, 25452, 11883, 78292, 50986, 13574, 28394, 23180, 3...
[ 0.129638671875, 0.303955078125, 0.274169921875, 0.08203125, 0.123046875, 0.243408203125, 0.22119140625, 0.0142974853515625, 0.0237274169921875, 0.1834716796875, 0.1551513671875, 0.003021240234375, 0.039031982421875, 0.0750732421875, 0.05938720703125, 0.2174072265625, 0.0531005859375,...
embed
53059471_c0
53059471
elixir
0
Title: Where is `__info__/1` documented? Problem title: Where is `__info__/1` documented? Tags: elixir Problem: Where is `__info__/1` documented? Found this in Ecto.Repo.Supervisor and I was wondering where the other options to __info__/1 are documented: def compile_config(repo, opts) do # (...) behaviours = for {:beha...
Where is `__info__/1` documented? Where is `__info__/1` documented? elixir Where __info__ Ecto.Repo.Supervisor compile_config adapter.__info__ Module Where is `__info__/1` documented? Found this in Ecto.Repo.Supervisor and I was wondering where the other options to __info__/1 are documented: The Module documentation on...
[ -0.00604248046875, 0.00897216796875, 0.01251220703125, 0.01513671875, -0.0111083984375, -0.00113677978515625, 0.0177001953125, -0.01373291015625, -0.00732421875, -0.01226806640625, 0.0155029296875, -0.024169921875, -0.005157470703125, -0.000568389892578125, 0.00390625, 0.00163269042968...
[ 78662, 14005, 7319, 11583, 1135, 12937, 297, 15296, 38308, 5953, 241, 44150, 4332, 771, 73903, 51858, 9969, 1340, 153837, 123666, 63014, 83, 7440, 3789, 50717, 47, 13, 209806, 4734, 41392 ]
[ 0.0684814453125, 0.08642578125, 0.27490234375, 0.2274169921875, 0.0268402099609375, 0.205078125, 0.12158203125, 0.06683349609375, 0.2083740234375, 0.04754638671875, 0.030914306640625, 0.1876220703125, 0.06451416015625, 0.12646484375, 0.131103515625, 0.223388671875, 0.0765380859375, ...
embed
76572274_c0
76572274
elixir
0
Title: UndefinedFunctionError when creating LiveView Problem title: UndefinedFunctionError when creating LiveView Tags: elixir, phoenix-framework Problem: UndefinedFunctionError when creating LiveView Hello I’m trying to create my first LiveView in Phoenix I have: router.ex scope "/", TestWeb do pipe_through :browser l...
UndefinedFunctionError when creating LiveView UndefinedFunctionError when creating LiveView elixir phoenix-framework UndefinedFunctionError LiveView TestWeb pipe_through AppLive TestWeb.AppLive live_view _params _session _socket GET TestWeb.AppLive.__live__ UndefinedFunctionError when creating LiveView Hello I’m trying...
[ 0.010498046875, 0.005706787109375, 0.0020599365234375, -0.01483154296875, 0.00732421875, -0.0206298828125, 0.0145263671875, -0.00677490234375, 0.00069427490234375, -0.03857421875, 0.0093994140625, -0.0390625, 0.0247802734375, 0.005035400390625, 0.00653076171875, 0.010986328125, -0.02...
[ 79912, 5983, 297, 97249, 10763, 18468, 31611, 105233, 9251, 100474, 15296, 38308, 53073, 33, 4084, 160328, 8647, 30474, 137158, 222521, 5659, 70567, 39179, 6867, 22751, 2500, 8256, 169234, 991, 27853, 79794, 24056, 31577, 28282, 5117, 133720, 1...
[ 0.1114501953125, 0.1905517578125, 0.07550048828125, 0.17529296875, 0.0838623046875, 0.1331787109375, 0.1046142578125, 0.1522216796875, 0.157470703125, 0.31884765625, 0.033538818359375, 0.157470703125, 0.031402587890625, 0.01788330078125, 0.061798095703125, 0.098388671875, 0.114257812...
embed
40899360_c0
40899360
elixir
0
Title: FunctionClauseError when calling :wxFrame.new from Elixir Problem title: FunctionClauseError when calling :wxFrame.new from Elixir Tags: elixir, wxwidgets Problem: FunctionClauseError when calling :wxFrame.new from Elixir I have just two questions :) What's wrong? How do I understand what's wrong without asking ...
FunctionClauseError when calling :wxFrame.new from Elixir FunctionClauseError when calling :wxFrame.new from Elixir elixir wxwidgets FunctionClauseError Elixir WxConstants wxFrame.new wx.new wxID_ANY Game Life wxFrame.erl:111 wx_ref FunctionClauseError when calling :wxFrame.new from Elixir I have just two questions :) ...
[ -0.0034637451171875, 0.0089111328125, -0.011474609375, -0.016845703125, -0.01806640625, -0.002777099609375, 0.0166015625, -0.012451171875, -0.007354736328125, -0.015869140625, -0.003692626953125, -0.0223388671875, 0.004119873046875, -0.014892578125, 0.0024566650390625, -0.013916015625,...
[ 28670, 10763, 26253, 13, 18468, 31611, 159029, 434, 425, 108386, 282, 54936, 1295, 25318, 38308, 5, 15296, 148, 32306, 3794, 601, 11935, 42539, 7146, 93333, 13547, 16505, 97024, 29087, 6626, 17582, 44691, 28219, 118664, 18151, 13538, 88996, 1...
[ 0.1180419921875, 0.0780029296875, 0.1541748046875, 0.08837890625, 0.1663818359375, 0.123046875, 0.13330078125, 0.1304931640625, 0.12548828125, 0.22119140625, 0.132080078125, 0.220703125, 0.0885009765625, 0.1351318359375, 0.262451171875, 0.008819580078125, 0.092041015625, 0.09063720...
embed
35692702_c0
35692702
elixir
0
Title: Guards for module plugs? Problem title: Guards for module plugs? Tags: elixir, phoenix-framework Problem: Guards for module plugs? Pardon the newbie question, but I've found plenty of examples of guarding function plugs like so: plug :assign_welcome_message, "Hi!" when action in [:index, :show] But I have found ...
Guards for module plugs? Guards for module plugs? elixir phoenix-framework Guards assign_welcome_message Guardian.Plug.EnsurePermissions Mp.Api.AuthController protected_action Guards for module plugs? Pardon the newbie question, but I've found plenty of examples of guarding function plugs like so: But I have found no e...
[ -0.0235595703125, 0.01153564453125, 0.01251220703125, -0.017822265625, -0.000659942626953125, 0.023681640625, -0.0260009765625, -0.0146484375, -0.001068115234375, -0.034912109375, 0.006439208984375, -0.010498046875, 0.0167236328125, 0.002471923828125, -0.0211181640625, -0.0018310546875...
[ 135440, 7, 100, 88996, 76329, 15296, 38308, 53073, 33, 4084, 160328, 18244, 95486, 8420, 45738, 74157, 81589, 683, 35159, 7768, 56851, 15277, 54916, 1434, 67362, 175904, 30312, 44713, 4445, 9014, 87794, 27781, 56050, 214, 32354, 1884, 221, 11...
[ 0.276123046875, 0.1409912109375, 0.0992431640625, 0.260009765625, 0.2193603515625, 0.049102783203125, 0.1632080078125, 0.083251953125, 0.10888671875, 0.140625, 0.09271240234375, 0.01373291015625, 0.1541748046875, 0.0723876953125, 0.10888671875, 0.0843505859375, 0.25048828125, 0.001...
embed
42347723_c1
42347723
elixir
1
, it works because current_user2 updates and is passed along as I expect it to be. Is there a reason I cannot assign the current user like this and why it is always nil? Are there any steps I am missing to do this for current_user in particular? Edit Here's where current_user is being set in the auth plug def call(conn...
, it works because current_user2 updates and is passed along as I expect it to be. Is there a reason I cannot assign the current user like this and why it is always nil? Are there any steps I am missing to do this for current_user in particular? Edit Here's where current_user is being set in the auth plug def call(conn...
[ -0.0458984375, 0.006134033203125, 0.0023651123046875, 0.00714111328125, 0.002227783203125, 0.03271484375, -0.0003604888916015625, -0.00946044921875, 0.0238037109375, -0.04638671875, 0.002197265625, 0.0198974609375, -0.000579833984375, -0.0034332275390625, 0.0024566650390625, -0.0052185...
[ 6, 442, 43240, 6637, 43581, 454, 65918, 304, 114419, 115081, 33233, 237, 41206, 31635, 53418, 95486, 70, 38937, 1884, 903, 15400, 83, 11343, 17324, 98441, 132283, 54, 17311, 7440, 8035, 5423, 23, 531, 927, 76329, 8, 420, 11782, 2271, 19, ...
[ 0.0030517578125, 0.09722900390625, 0.190185546875, 0.0089111328125, 0.273681640625, 0.1153564453125, 0.28076171875, 0.19921875, 0.200927734375, 0.1220703125, 0.1185302734375, 0.06378173828125, 0.147216796875, 0.04327392578125, 0.115234375, 0.251708984375, 0.060577392578125, 0.29907...
embed