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
39720007_c0
39720007
elixir
0
Title: String.split diferrent behaviour in iex and on phoenix webapi Problem title: String.split diferrent behaviour in iex and on phoenix webapi Tags: phoenix-framework, elixir Problem: String.split diferrent behaviour in iex and on phoenix webapi String.split returns an array when is run on iex console. But on Phoeni...
String.split diferrent behaviour in iex and on phoenix webapi String.split diferrent behaviour in iex and on phoenix webapi phoenix-framework elixir String.split arrkeys1 output:abcd String.split diferrent behaviour in iex and on phoenix webapi String.split returns an array when is run on iex console. But on Phoenix, i...
[ -0.00787353515625, -0.007110595703125, -0.00860595703125, 0.00518798828125, -0.017333984375, 0.0159912109375, 0.010009765625, 0.0126953125, 0.01116943359375, -0.00836181640625, 0.004241943359375, -0.01080322265625, 0.02685546875, 0.008544921875, 0.0050048828125, -0.01263427734375, 0....
[ 23351, 214, 7008, 4353, 45, 2875, 15724, 224833, 17, 3355, 136, 98, 53073, 33, 4084, 1467, 40897, 23, 160328, 15296, 38308, 187, 14897, 4778, 418, 140992, 2055, 71574, 5, 30646, 10298, 11675, 130250, 4966, 133720, 1221, 87388, 65450, 8, 9...
[ 0.1727294921875, 0.1068115234375, 0.07659912109375, 0.211181640625, 0.04754638671875, 0.12109375, 0.1287841796875, 0.1573486328125, 0.09197998046875, 0.208984375, 0.084228515625, 0.08349609375, 0.080810546875, 0.1165771484375, 0.1724853515625, 0.08697509765625, 0.201904296875, 0.00...
embed
66508466_c1
66508466
elixir
1
) Presence.track( self(), topic, socket.id, %{} ) assign(socket, :current_visitors_count, initial_count) end end Code signals: Phoenix.LiveView, Count, current_visitors, current_users, current_user, current_visitors_count, current_users_count, handle_info, ExampleWeb.PageLive, ExampleWeb, live_view, _params, assign_cur...
) Presence.track( self(), topic, socket.id, %{} ) assign(socket, :current_visitors_count, initial_count) end end Code signals: Phoenix.LiveView, Count, current_visitors, current_users, current_user, current_visitors_count, current_users_count, handle_info, ExampleWeb.PageLive, ExampleWeb, live_view, _params, assign_cur...
[ 0.00946044921875, 0.015380859375, 0.0228271484375, -0.01318359375, -0.00089263916015625, -0.0150146484375, 0.003265380859375, 0.0089111328125, -0.00445556640625, -0.0712890625, 0.00341796875, 0.01025390625, 0.00341796875, 0.03076171875, -0.01422119140625, 0.00775146484375, -0.0003242...
[ 1388, 20703, 6620, 5, 125728, 132, 15970, 28451, 221, 27853, 532, 1745, 95486, 991, 163812, 37712, 22230, 71013, 61475, 3564, 28864, 26073, 7, 133720, 70567, 100474, 108210, 43581, 223, 1314, 65918, 34831, 7319, 89536, 30474, 147101, 6867, 22...
[ 0.008514404296875, 0.201171875, 0.1656494140625, 0.0255584716796875, 0.27587890625, 0.041778564453125, 0.18212890625, 0.1951904296875, 0.0777587890625, 0.175048828125, 0.1007080078125, 0.003631591796875, 0.178955078125, 0.072509765625, 0.1343994140625, 0.16748046875, 0.1416015625, ...
embed
58435674_c0
58435674
elixir
0
Title: Elixir split string with regex Problem title: Elixir split string with regex Tags: regex, elixir Problem: Elixir split string with regex I have the following line, I need to split strings keeping separators >>String.split("hello()", ~r{(?=\W)|(?=\d)(?<=\D)}) >>["hello","(",")"] In that case is working correctly,...
Elixir split string with regex Elixir split string with regex regex elixir Elixir String.split hello1 Elixir split string with regex I have the following line, I need to split strings keeping separators In that case is working correctly, but I need to add some changes and I don't know how to do it. It must split the st...
[ -0.0267333984375, -0.0189208984375, -0.0213623046875, 0.0247802734375, -0.02587890625, 0.006988525390625, -0.0019683837890625, 0.010498046875, 0.0034027099609375, -0.0296630859375, -0.0126953125, 0.0177001953125, 0.005767822265625, 0.0057373046875, 0.00799560546875, -0.004425048828125,...
[ 25318, 38308, 65450, 79315, 678, 6835, 3355, 15296, 23351, 214, 7008, 4353, 33600, 31, 418, 25632, 13315, 3871, 7, 120260, 37451, 22230, 7225, 20697, 26785, 15190, 65572, 3714, 8110, 9, 11, 275, 22027, 18, 765, 101935, 127, 13817 ]
[ 0.1199951171875, 0.2440185546875, 0.2193603515625, 0.2197265625, 0.094970703125, 0.13916015625, 0.18994140625, 0.07293701171875, 0.165771484375, 0.06256103515625, 0.04278564453125, 0.166748046875, 0.09979248046875, 0.10797119140625, 0.078125, 0.03094482421875, 0.042938232421875, 0....
embed
34915747_c0
34915747
elixir
0
Title: How to write a list of integers to a file as 16 bit values in Elixir Problem title: How to write a list of integers to a file as 16 bit values in Elixir Tags: elixir Problem: How to write a list of integers to a file as 16 bit values in Elixir I have a list of integers with values between [0-65535]. I need to wr...
How to write a list of integers to a file as 16 bit values in Elixir How to write a list of integers to a file as 16 bit values in Elixir elixir How Elixir How to write a list of integers to a file as 16 bit values in Elixir I have a list of integers with values between [0-65535]. I need to write these to a file as 16 ...
[ 0.002593994140625, -0.0098876953125, -0.0022125244140625, 0.015380859375, -0.0157470703125, 0.00677490234375, -0.0167236328125, -0.006011962890625, 0.003814697265625, 0.044189453125, 0.01007080078125, -0.0164794921875, 0.005767822265625, 0.0272216796875, 0.0185546875, -0.008056640625, ...
[ 11249, 47, 33022, 5303, 892, 26255, 11435, 237, 611, 4785, 142424, 25318, 38308, 23, 15296, 17721, 2389, 9, 161689, 5843, 3871, 54, 903, 933, 136, 23035, 3642, 51339, 142477, 100, 96760, 2394, 6635 ]
[ 0.07000732421875, 0.1085205078125, 0.17822265625, 0.15478515625, 0.1578369140625, 0.1514892578125, 0.168701171875, 0.09002685546875, 0.2047119140625, 0.1854248046875, 0.171875, 0.13427734375, 0.2469482421875, 0.0767822265625, 0.08984375, 0.034912109375, 0.0496826171875, 0.007446289...
embed
65211741_c0
65211741
elixir
0
Title: How to handle try and rescue errors in Elixir Problem title: How to handle try and rescue errors in Elixir Tags: elixir Problem: How to handle try and rescue errors in Elixir paths |> Task.async_stream(upload_file, max_concurrency: 10, timeout: :infinity) |> Stream.run() end Code signals: File.Error, #PID, How, ...
How to handle try and rescue errors in Elixir How to handle try and rescue errors in Elixir elixir File.Error #PID How Elixir File.read IO.inspect EvercamMedia.S3.do_save_multiple Task PID file.ex:354 evercam_media s3.ex:46 do_something do_save_multiple upload_file src_path dest_path ExAws.S3.put_object public_read ExA...
[ -0.00665283203125, 0.017822265625, 0.00469970703125, -0.006988525390625, 0.020263671875, -0.005889892578125, 0.000576019287109375, -0.014404296875, 0.0017547607421875, -0.0172119140625, -0.01556396484375, -0.01806640625, -0.000926971435546875, 0.0322265625, 0.041015625, 0.0039672851562...
[ 11249, 34831, 9790, 136, 114777, 13, 18499, 7, 25318, 38308, 23, 15296, 42724, 18468, 31611, 683, 7146, 39116, 17780, 16711, 78650, 9779, 72492, 363, 246, 108999, 144227, 9598, 436, 11435, 27144, 617, 17669, 12333, 32909, 54, 64113, 70622, ...
[ 0.044769287109375, 0.1888427734375, 0.21484375, 0.1553955078125, 0.2110595703125, 0.10791015625, 0.265869140625, 0.1187744140625, 0.1361083984375, 0.271240234375, 0.049835205078125, 0.101806640625, 0.1707763671875, 0.1390380859375, 0.1729736328125, 0.025726318359375, 0.1021728515625,...
embed
34711072_c0
34711072
elixir
0
Title: How do I enable compression on channels in Phoenix? Problem title: How do I enable compression on channels in Phoenix? Tags: elixir, phoenix-framework Problem: How do I enable compression on channels in Phoenix? I've got a channel in phoenix that pushes out ~4KB of data, a lot of it highly repeating and was wond...
How do I enable compression on channels in Phoenix? How do I enable compression on channels in Phoenix? elixir phoenix-framework How Phoenix How do I enable compression on channels in Phoenix? I've got a channel in phoenix that pushes out ~4KB of data, a lot of it highly repeating and was wondering if there was a way t...
[ -0.0205078125, 0.0189208984375, 0.013916015625, 0.025390625, 0.0074462890625, 0.0157470703125, -0.0002536773681640625, -0.00141143798828125, -0.002349853515625, -0.014404296875, -0.020751953125, 0.01611328125, 0.02197265625, 0.03369140625, -0.0145263671875, 0.0272216796875, -0.040527...
[ 11249, 54, 87, 22, 2886, 375, 48448, 98, 86723, 7, 23, 133720, 15296, 38308, 53073, 33, 4084, 160328, 18244, 25944, 90, 1810, 617, 39709, 2053, 5915, 442, 103210, 119140, 149016, 3917, 15504, 100, 33342, 8781, 20697, 185373, 7722, 12937 ]
[ 0.07659912109375, 0.04937744140625, 0.049346923828125, 0.0892333984375, 0.1510009765625, 0.16455078125, 0.256591796875, 0.1251220703125, 0.2088623046875, 0.07904052734375, 0.0947265625, 0.26123046875, 0.041351318359375, 0.1776123046875, 0.093505859375, 0.09014892578125, 0.1376953125,...
embed
52482825_c1
52482825
elixir
1
") end end test "valid color" do assert ValidColor.valid?("red") end end This seems to be a case when a blank? helper function is useful, as I have done in this example. There seems to be a sentiment among Elixir programmers that this type of helper method is unnecessary and can be done with pattern matching . How can ...
") end end test "valid color" do assert ValidColor.valid?("red") end end This seems to be a case when a blank? helper function is useful, as I have done in this example. There seems to be a sentiment among Elixir programmers that this type of helper method is unnecessary and can be done with pattern matching . How can ...
[ -0.023681640625, -0.023193359375, 0.007537841796875, 0.019287109375, -0.0191650390625, -0.00408935546875, -0.01953125, -0.01214599609375, 0.023193359375, 0.026123046875, 0.00885009765625, 0.0125732421875, 0.0047607421875, 0.030029296875, 0.00994873046875, 0.021240234375, -0.012512207...
[ 44, 16, 3564, 3034, 7013, 71, 10576, 54, 237, 33657, 25447, 10625, 1484, 2822, 37202, 7225, 44237, 32, 4358, 56, 32354, 80234, 27781, 37022, 25318, 38308, 77848, 10644, 55300, 51, 86, 26531, 16940, 103510, 14858, 214, 29479, 1884, 28864, ...
[ 0.08447265625, 0.00787353515625, 0.21826171875, 0.2420654296875, 0.1876220703125, 0.1407470703125, 0.232421875, 0.027740478515625, 0.041229248046875, 0.141845703125, 0.1947021484375, 0.11328125, 0.1910400390625, 0.1865234375, 0.00848388671875, 0.012603759765625, 0.219970703125, 0.1...
embed
67723720_c0
67723720
elixir
0
Title: How to invoke webpack on `mix test` command Problem title: How to invoke webpack on `mix test` command Tags: elixir-mix, elixir, phoenix-framework Problem: How to invoke webpack on `mix test` command I am writing a small test app that exists only when tests are ran, otherwise not. Therefore I would like to have ...
How to invoke webpack on `mix test` command How to invoke webpack on `mix test` command elixir-mix elixir phoenix-framework How package.json test_pack How to invoke webpack on `mix test` command I am writing a small test app that exists only when tests are ran, otherwise not. Therefore I would like to have webpack perf...
[ -0.00439453125, -0.003204345703125, -0.0252685546875, -0.0015716552734375, -0.006683349609375, 0.02099609375, 0.003021240234375, 0.0205078125, 0.0150146484375, -0.0205078125, 0.0159912109375, 0.005859375, 0.00970458984375, 0.03662109375, -0.0032196044921875, 0.0252685546875, -0.00318...
[ 11249, 23, 23253, 1467, 29102, 98, 62015, 3034, 75101, 15296, 38308, 53073, 33, 4084, 160328, 98169, 170, 1681, 13, 32562, 19336, 4027, 32316, 109921, 13028, 1884, 51339, 110896, 43658, 214, 3229, 26859, 49814, 57134, 133, 25037, 39, 11675, ...
[ 0.05242919921875, 0.0292510986328125, 0.1461181640625, 0.135986328125, 0.273681640625, 0.034393310546875, 0.227783203125, 0.2486572265625, 0.166015625, 0.0281219482421875, 0.149169921875, 0.000762939453125, 0.0272369384765625, 0.08990478515625, 0.0738525390625, 0.141357421875, 0.0695...
embed
34411289_c0
34411289
elixir
0
Title: Matching the rest of a URL for parameters in router.ex Problem title: Matching the rest of a URL for parameters in router.ex Tags: phoenix-framework, elixir Problem: Matching the rest of a URL for parameters in router.ex How do you match the end of the path in router.ex such as the one below. The structure of th...
Matching the rest of a URL for parameters in router.ex Matching the rest of a URL for parameters in router.ex phoenix-framework elixir Matching URL router.ex www.example.com Matching the rest of a URL for parameters in router.ex How do you match the end of the path in router.ex such as the one below. The structure of t...
[ -0.012939453125, -0.00665283203125, -0.0030059814453125, 0.0162353515625, -0.003509521484375, 0.002593994140625, 0.01263427734375, 0.0015106201171875, 0.0130615234375, -0.0380859375, 0.0032806396484375, -0.03271484375, 0.00130462646484375, 0.00994873046875, -0.00970458984375, -0.014648...
[ 67407, 214, 10588, 111, 31862, 100, 171859, 122188, 3355, 53073, 33, 4084, 160328, 15296, 38308, 11, 33209, 7, 23, 11249, 54, 14858, 3564, 60875, 5, 35064, 45646, 959, 188347, 5809, 90926, 831, 2046, 64, 12, 13448, 271, 141621, 5117, 237,...
[ 0.2088623046875, 0.0765380859375, 0.097412109375, 0.04327392578125, 0.185546875, 0.03515625, 0.1798095703125, 0.2196044921875, 0.1810302734375, 0.004425048828125, 0.0135498046875, 0.0706787109375, 0.04339599609375, 0.038116455078125, 0.161865234375, 0.01104736328125, 0.04974365234375...
embed
46767560_c0
46767560
elixir
0
Title: What are the benefits of using &quot;apply&quot; over &quot;normal&quot; module function invocation? Problem title: What are the benefits of using &quot;apply&quot; over &quot;normal&quot; module function invocation? Tags: elixir Problem: What are the benefits of using "apply" over "normal" module function invoc...
What are the benefits of using &quot;apply&quot; over &quot;normal&quot; module function invocation? What are the benefits of using &quot;apply&quot; over &quot;normal&quot; module function invocation? elixir What Enum Enum.reverse What are the benefits of using "apply" over "normal" module function invocation? I'm lea...
[ -0.0257568359375, -0.0016021728515625, 0.0064697265625, 0.023193359375, 0.01263427734375, 0.0157470703125, 0.0201416015625, 0.0250244140625, 0.0120849609375, -0.041748046875, 0.006256103515625, 0.0030364990234375, 0.0098876953125, 0.01611328125, 0.015869140625, -0.0157470703125, -0.0...
[ 4865, 70, 72382, 17368, 9007, 538, 645, 33176, 88996, 32354, 23, 202010, 15296, 38308, 357, 316, 107, 37676, 621, 111, 52080, 25318, 32195, 2367, 59911, 47, 23253, 64457, 3638, 5117, 11522 ]
[ 0.039459228515625, 0.040740966796875, 0.1968994140625, 0.1390380859375, 0.2137451171875, 0.23828125, 0.132568359375, 0.19580078125, 0.19287109375, 0.1724853515625, 0.0858154296875, 0.1812744140625, 0.053466796875, 0.2132568359375, 0.08203125, 0.17724609375, 0.0721435546875, 0.20629...
embed
53773292_c0
53773292
elixir
0
Title: Mocking 3rd party libraries in development Problem title: Mocking 3rd party libraries in development Tags: phoenix-framework, elixir Problem: Mocking 3rd party libraries in development What is the elixir way to mock 3rd party libraries. So during registration I want to send out an email to the user. In developme...
Mocking 3rd party libraries in development Mocking 3rd party libraries in development phoenix-framework elixir Mocking Mocking 3rd party libraries in development What is the elixir way to mock 3rd party libraries. So during registration I want to send out an email to the user. In development I want the email module to ...
[ -0.01123046875, -0.002410888671875, -0.0042724609375, -0.0081787109375, 0.021484375, 0.017578125, -0.01434326171875, 0.01519775390625, 0.004058837890625, 0.00021839141845703125, -0.00469970703125, 0.0023651123046875, 0.0029449462890625, 0.0084228515625, 0.0220947265625, -0.007720947265...
[ 2501, 41324, 138, 4216, 19085, 35773, 10484, 34754, 23, 53073, 33, 4084, 160328, 18244, 15296, 38308, 3917, 47, 8698, 92, 20271, 164498, 3444, 25379, 1810, 3340, 38937, 88996, 4527, 12921, 140992, 12684, 144851, 64457, 6183, 135834, 50717, 90...
[ 0.175048828125, 0.1590576171875, 0.1375732421875, 0.09674072265625, 0.1165771484375, 0.2034912109375, 0.10272216796875, 0.160888671875, 0.0221405029296875, 0.05828857421875, 0.0999755859375, 0.151611328125, 0.07550048828125, 0.0143890380859375, 0.0955810546875, 0.23828125, 0.05413818...
embed
45797347_c0
45797347
elixir
0
Title: Connection Refused in elixir on windows7 Problem title: Connection Refused in elixir on windows7 Tags: websocket, javascript, elixir Problem: Connection Refused in elixir on windows7 WebSocket Connection to ws://localhost:4000/phoenix/live_reload/socket/websocket?vsn=2.0.0 failed: Error in connection establishme...
Connection Refused in elixir on windows7 Connection Refused in elixir on windows7 websocket javascript elixir Connection Refused windows7 localhost:4000 live_reload Elixir Phoenix Framework Connection Refused in elixir on windows7 WebSocket Connection to ws://localhost:4000/phoenix/live_reload/socket/websocket?vsn=2.0....
[ 0.00084686279296875, 0.024658203125, -0.01446533203125, -0.010009765625, 0.01092529296875, -0.0179443359375, -0.0137939453125, 0.0047607421875, -0.0081787109375, -0.0228271484375, -0.0006561279296875, -0.022705078125, 0.0040283203125, 0.011962890625, -0.0025634765625, 0.007476806640625...
[ 62448, 53295, 33740, 23, 15296, 38308, 98, 54825, 966, 1467, 991, 27853, 136951, 4000, 40294, 68037, 6867, 107, 63033, 25318, 133720, 202220, 4002, 8912, 47, 148, 98908, 22014, 4084, 24056, 14051, 18043, 55257, 99929, 165523, 3293, 18499, 742...
[ 0.1944580078125, 0.1744384765625, 0.148681640625, 0.059783935546875, 0.1343994140625, 0.27685546875, 0.022735595703125, 0.1136474609375, 0.1632080078125, 0.0706787109375, 0.12109375, 0.1630859375, 0.1519775390625, 0.050537109375, 0.1370849609375, 0.197509765625, 0.0908203125, 0.066...
embed
75946800_c0
75946800
elixir
0
Title: Take a fs path as a param in phoenix Problem title: Take a fs path as a param in phoenix Tags: elixir, phoenix-framework Problem: Take a fs path as a param in phoenix So i want a route that can take a fs path as a parameter like this: GET "/test/*fs_path", FsController, :fsc this pattern that i used here: *fs_pa...
Take a fs path as a param in phoenix Take a fs path as a param in phoenix elixir phoenix-framework Take GET fs_path FsController file.json directoryfile.json Take a fs path as a param in phoenix So i want a route that can take a fs path as a parameter like this: GET "/test/*fs_path", FsController, :fsc this pattern tha...
[ -0.015625, -0.00054168701171875, 0.00592041015625, -0.01483154296875, -0.006805419921875, -0.00147247314453125, 0.000041484832763671875, 0.00311279296875, 0.00469970703125, -0.046630859375, 0.021240234375, -0.00408935546875, -0.00555419921875, 0.037353515625, -0.006744384765625, 0.0011...
[ 46673, 10, 1238, 7, 60875, 237, 121, 39, 23, 53073, 33, 4084, 15296, 38308, 160328, 18244, 79794, 128405, 563, 175904, 603, 11435, 5, 170, 1681, 14364, 29822, 3444, 36439, 831, 5646, 171859, 1884, 6954, 17447, 238, 103510, 14858, 49903, 8...
[ 0.0946044921875, 0.038330078125, 0.15478515625, 0.1575927734375, 0.243896484375, 0.08477783203125, 0.1265869140625, 0.119384765625, 0.045440673828125, 0.09588623046875, 0.126708984375, 0.1578369140625, 0.054290771484375, 0.1583251953125, 0.08917236328125, 0.024505615234375, 0.0810546...
embed
42062654_c0
42062654
elixir
0
Title: Converting File.stat!(file_path).mtime into local timezone in Erlang/Elixir Problem title: Converting File.stat!(file_path).mtime into local timezone in Erlang/Elixir Tags: erlang, datetime, elixir Problem: Converting File.stat!(file_path).mtime into local timezone in Erlang/Elixir The file last modified time (m...
Converting File.stat!(file_path).mtime into local timezone in Erlang/Elixir Converting File.stat!(file_path).mtime into local timezone in Erlang/Elixir erlang datetime elixir Converting File.stat file_path Erlang Elixir PST Converting File.stat!(file_path).mtime into local timezone in Erlang/Elixir The file last modifi...
[ 0.004180908203125, -0.000492095947265625, 0.0042724609375, 0.00726318359375, 0.017822265625, -0.01446533203125, -0.02099609375, 0.017333984375, 0.0007476806640625, -0.022216796875, 0.0159912109375, 0.0390625, 0.01220703125, 0.016357421875, 0.0166015625, 0.0006866455078125, -0.0162353...
[ 1657, 814, 1916, 42724, 17346, 90295, 29822, 128405, 39, 6032, 3934, 4000, 1733, 18979, 1004, 3066, 647, 150, 38308, 64, 72, 5622, 15296, 11435, 25318, 436, 8545, 23, 4568, 73197, 37202, 35509, 99577, 102971, 370, 8705, 18, 30646, 20288, ...
[ 0.083251953125, 0.1695556640625, 0.0657958984375, 0.193115234375, 0.236572265625, 0.041259765625, 0.1505126953125, 0.1705322265625, 0.091064453125, 0.285400390625, 0.1375732421875, 0.19140625, 0.2027587890625, 0.2054443359375, 0.187744140625, 0.3251953125, 0.0294647216796875, 0.091...
embed
58024808_c0
58024808
elixir
0
Title: if rebinding doesn’t mutate the existing memory location of a variable, how do i get the old value after a rebind. forexample: Problem title: if rebinding doesn’t mutate the existing memory location of a variable, how do i get the old value after a rebind. forexample: Tags: elixir, erlang Problem: if rebinding d...
if rebinding doesn’t mutate the existing memory location of a variable, how do i get the old value after a rebind. forexample: if rebinding doesn’t mutate the existing memory location of a variable, how do i get the old value after a rebind. forexample: elixir erlang cat_poop if rebinding doesn’t mutate the existing me...
[ -0.0164794921875, 0.01177978515625, -0.027587890625, 0.0203857421875, -0.002593994140625, 0.011474609375, 0.00130462646484375, 0.0159912109375, 0.0203857421875, -0.018310546875, 0.0152587890625, 0.0022125244140625, 0.0115966796875, 0.0103759765625, 0.0302734375, 0.0150146484375, -0.0...
[ 2174, 456, 128239, 22027, 18, 31158, 13, 144573, 98323, 31913, 77336, 3642, 54, 17, 2046, 70, 10332, 34292, 7103, 10, 89817, 73945, 11, 33209, 38308, 72, 3066, 7515, 771, 2146, 47, 3525, 5117 ]
[ 0.0323486328125, 0.1591796875, 0.239501953125, 0.05517578125, 0.081298828125, 0.1190185546875, 0.040924072265625, 0.1195068359375, 0.1319580078125, 0.1378173828125, 0.215087890625, 0.04730224609375, 0.0350341796875, 0.0323486328125, 0.143310546875, 0.05596923828125, 0.1549072265625, ...
embed
43716688_c0
43716688
elixir
0
Title: Updating a nested map in Elixir Problem title: Updating a nested map in Elixir Tags: elixir Problem: Updating a nested map in Elixir I have a 2-level-nested map, how can I update each value on the 2nd level? Right now I'm doing this: items = Enum.map(items, fn(a) -> a.items2 = Enum.map(a.items2, fn(a2) -> Map.pu...
Updating a nested map in Elixir Updating a nested map in Elixir elixir Updating Elixir Enum.map a.items2 Map.put some_key Updating a nested map in Elixir I have a 2-level-nested map, how can I update each value on the 2nd level? Right now I'm doing this: An error: I basically know what this means, but how to fix it? No...
[ -0.02587890625, 0.0021514892578125, 0.00543212890625, -0.006866455078125, 0.01007080078125, 0.018798828125, -0.0225830078125, -0.0091552734375, 0.004913330078125, 0.0031280517578125, 0.0203857421875, 0.023193359375, 0.03515625, 0.0216064453125, 0.0242919921875, -0.00848388671875, -0....
[ 10091, 56464, 8512, 71, 22288, 23, 25318, 38308, 10, 15296, 357, 316, 62346, 1486, 4432, 304, 42719, 7077, 19770, 4720, 67919, 86, 14437, 3642, 831, 28350, 12638, 34292, 98, 116, 2208, 17366, 18499, 198343, 3714, 2367, 903, 26950, 1284, 3...
[ 0.1416015625, 0.10430908203125, 0.24658203125, 0.1488037109375, 0.20654296875, 0.07196044921875, 0.11572265625, 0.2242431640625, 0.072509765625, 0.084716796875, 0.0496826171875, 0.1488037109375, 0.15283203125, 0.0960693359375, 0.09710693359375, 0.1307373046875, 0.1649169921875, 0.0...
embed
76580665_c2
76580665
elixir
2
ellman-group1-sha1", Code signals: RuntimeError, Elixir, sshex, Unable, FibreTestUi.Ssh, SSHEx.connect, Password, modify_algorithms, diffie-hellman-group-exchange-sha1, public_key, list_port_status, SSHEx.cmd, exec_timeout, Timeout, Did, sshex.ex:100, iex:2, diffie-hellman-group1-sha1, Connection, Version, Encryption, ...
ellman-group1-sha1", Code signals: RuntimeError, Elixir, sshex, Unable, FibreTestUi.Ssh, SSHEx.connect, Password, modify_algorithms, diffie-hellman-group-exchange-sha1, public_key, list_port_status, SSHEx.cmd, exec_timeout, Timeout, Did, sshex.ex:100, iex:2, diffie-hellman-group1-sha1, Connection, Version, Encryption, ...
[ -0.007415771484375, 0.0164794921875, -0.01708984375, 0.024169921875, -0.00848388671875, -0.0111083984375, -0.0224609375, -0.005584716796875, 0.01141357421875, -0.0091552734375, -0.014404296875, 0.023681640625, 0.01708984375, 0.005889892578125, -0.004180908203125, 0.01092529296875, -0...
[ 88, 73094, 51588, 20268, 2420, 418, 830, 28864, 26073, 7, 28398, 6032, 18468, 31611, 25318, 38308, 91, 7816, 425, 992, 2886, 3698, 4134, 111337, 1062, 14, 1495, 159, 12927, 19279, 135457, 170461, 2811, 100628, 2783, 71337, 478, 79544, 669, ...
[ 0.07275390625, 0.254150390625, 0.221435546875, 0.0867919921875, 0.1483154296875, 0.06884765625, 0.0302734375, 0.19921875, 0.2327880859375, 0.0203094482421875, 0.1241455078125, 0.1376953125, 0.11181640625, 0.1488037109375, 0.092529296875, 0.23876953125, 0.017547607421875, 0.13684082...
embed
29580768_c0
29580768
elixir
0
Title: How to pattern match Ecto query error Problem title: How to pattern match Ecto query error Tags: elixir, ecto Problem: How to pattern match Ecto query error Like other functions in elixir (as well as Ecto's own transactions), I want to pattern match to handle potential errors with Ecto queries. Like this: case R...
How to pattern match Ecto query error How to pattern match Ecto query error elixir ecto How Ecto Repo.get User How to pattern match Ecto query error Like other functions in elixir (as well as Ecto's own transactions), I want to pattern match to handle potential errors with Ecto queries. Like this: Obviously this does n...
[ -0.00677490234375, 0.0198974609375, -0.01416015625, -0.0140380859375, 0.006683349609375, -0.000293731689453125, -0.0341796875, -0.011962890625, -0.00115966796875, -0.040771484375, 0.018310546875, -0.00921630859375, 0.002197265625, -0.000835418701171875, 0.0140380859375, 0.0095825195312...
[ 11249, 47, 103510, 14858, 241, 44150, 41, 1294, 18499, 15296, 38308, 60751, 853, 771, 3794, 53400, 32354, 10002, 124161, 3444, 34831, 38516, 10484, 959, 4488, 3642, 831, 122116, 213039, 7, 7136, 44402, 479, 63033 ]
[ 0.08038330078125, 0.038055419921875, 0.2451171875, 0.2529296875, 0.13232421875, 0.278076171875, 0.136962890625, 0.0849609375, 0.2083740234375, 0.07568359375, 0.20166015625, 0.2427978515625, 0.0755615234375, 0.1612548828125, 0.109130859375, 0.2276611328125, 0.1160888671875, 0.047698...
embed
62162329_c0
62162329
elixir
0
Title: HTTPoison.request!/5 raises %HTTPoison.Error with weird reason Problem title: HTTPoison.request!/5 raises %HTTPoison.Error with weird reason Tags: httpoison, elixir Problem: HTTPoison.request!/5 raises %HTTPoison.Error with weird reason After upgrading to Elixir 1.10.3, a call to HTTPoison.request!() raised a HT...
HTTPoison.request!/5 raises %HTTPoison.Error with weird reason HTTPoison.request!/5 raises %HTTPoison.Error with weird reason httpoison elixir HTTPoison.Error HTTPoison.request sslv3 tlsv1.2 tlsv1.1 tlsv1 HTTPoison.request!/5 raises %HTTPoison.Error with weird reason After upgrading to Elixir 1.10.3, a call to HTTPoiso...
[ -0.004669189453125, 0.0186767578125, 0.001617431640625, -0.013916015625, -0.00421142578125, -0.00131988525390625, -0.0013885498046875, -0.01513671875, -0.01519775390625, 0.0283203125, 0.0162353515625, -0.00994873046875, 0.01275634765625, -0.0029754638671875, 0.006927490234375, -0.00228...
[ 135913, 31, 40514, 107, 75616, 38, 12147, 138804, 1745, 18544, 23658, 18468, 31611, 678, 179459, 31635, 1621, 15296, 38308, 91, 7, 3723, 363, 75137, 67756, 48400, 92134, 1257, 8961, 214, 47, 25318, 38245, 170179, 11782, 90295, 165249, 3447, ...
[ 0.2464599609375, 0.14111328125, 0.2626953125, 0.073974609375, 0.181640625, 0.03411865234375, 0.1470947265625, 0.1788330078125, 0.0462646484375, 0.113525390625, 0.029937744140625, 0.1693115234375, 0.1722412109375, 0.0645751953125, 0.176513671875, 0.1640625, 0.10284423828125, 0.11303...
embed
78547827_c0
78547827
elixir
0
Title: The error regarding to Opencensus Absinthe Plug. Traced_pipeline is undefined or private Problem title: The error regarding to Opencensus Absinthe Plug. Traced_pipeline is undefined or private Tags: opencensus, elixir, phoenix-live-view Problem: The error regarding to Opencensus Absinthe Plug. Traced_pipeline is...
The error regarding to Opencensus Absinthe Plug. Traced_pipeline is undefined or private The error regarding to Opencensus Absinthe Plug. Traced_pipeline is undefined or private opencensus elixir phoenix-live-view Opencensus Absinthe Plug Traced_pipeline member_graphql Plug.Telemetry event_prefix member_graphql_http de...
[ -0.00531005859375, -0.0169677734375, -0.0022735595703125, 0.0038604736328125, -0.008056640625, -0.0166015625, -0.01129150390625, -0.0037994384765625, 0.00052642822265625, -0.026611328125, -0.0037078857421875, 0.025390625, 0.03125, 0.01043701171875, 0.01165771484375, 0.00133514404296875...
[ 18499, 118861, 13527, 35481, 223, 27174, 73, 2347, 194351, 4937, 37534, 1434, 26338, 86, 9232, 5983, 707, 14375, 9803, 15296, 38308, 53073, 33, 4084, 24056, 22751, 32786, 41382, 99247, 1928, 19732, 55923, 5475, 114977, 2500, 7647, 169234, 264...
[ 0.2017822265625, 0.011688232421875, 0.15185546875, 0.1907958984375, 0.1097412109375, 0.1312255859375, 0.1497802734375, 0.215576171875, 0.239990234375, 0.1998291015625, 0.204833984375, 0.1142578125, 0.236328125, 0.1446533203125, 0.1099853515625, 0.1983642578125, 0.0919189453125, 0.2...
embed
38626568_c0
38626568
elixir
0
Title: How to authenticate user using Ueberauth and Guardian in Phoenix framework Problem title: How to authenticate user using Ueberauth and Guardian in Phoenix framework Tags: phoenix-framework, elixir, ueberauth Problem: How to authenticate user using Ueberauth and Guardian in Phoenix framework Is there any tutorial...
How to authenticate user using Ueberauth and Guardian in Phoenix framework How to authenticate user using Ueberauth and Guardian in Phoenix framework phoenix-framework elixir ueberauth Ueberauth How Guardian Phoenix How to authenticate user using Ueberauth and Guardian in Phoenix framework Is there any tutorial or help...
[ 0.00927734375, 0.011962890625, 0.00872802734375, -0.00823974609375, 0.000583648681640625, 0.01055908203125, -0.0120849609375, -0.00118255615234375, -0.005523681640625, -0.03857421875, 0.01531982421875, -0.0264892578125, 0.0059814453125, 0.00726318359375, -0.00872802734375, -0.004943847...
[ 11249, 47, 195734, 2182, 38937, 17368, 345, 13, 30108, 34, 927, 136, 81589, 23, 133720, 170846, 53073, 33, 4084, 160328, 18244, 15296, 38308, 75, 57143, 4358, 28960, 11, 72095, 181050, 452, 10033, 35773, 29479, 2320 ]
[ 0.087646484375, 0.044219970703125, 0.2178955078125, 0.1444091796875, 0.198974609375, 0.1058349609375, 0.11669921875, 0.10791015625, 0.148193359375, 0.1322021484375, 0.1744384765625, 0.1124267578125, 0.2607421875, 0.045196533203125, 0.240478515625, 0.2176513671875, 0.05889892578125, ...
embed
70102293_c0
70102293
elixir
0
Title: Transform Process ID (`pid`) in Elixir to Tuple or string; Parse `pid` to other types Problem title: Transform Process ID (`pid`) in Elixir to Tuple or string; Parse `pid` to other types Tags: elixir Problem: Transform Process ID (`pid`) in Elixir to Tuple or string; Parse `pid` to other types How do I transform...
Transform Process ID (`pid`) in Elixir to Tuple or string; Parse `pid` to other types Transform Process ID (`pid`) in Elixir to Tuple or string; Parse `pid` to other types elixir Transform Process Elixir Tuple Parse PID my_pid Transform Process ID (`pid`) in Elixir to Tuple or string; Parse `pid` to other types How do ...
[ 0.007537841796875, 0.00970458984375, -0.0242919921875, 0.0228271484375, 0.01226806640625, -0.0087890625, -0.0189208984375, -0.01318359375, -0.006500244140625, -0.01007080078125, -0.00311279296875, 0.0162353515625, -0.01123046875, 0.038330078125, -0.00262451171875, 0.02587890625, -0.0...
[ 11062, 5037, 123996, 11338, 45226, 25318, 38308, 47, 1371, 8705, 707, 79315, 2392, 3789, 52895, 15296, 436, 7146, 759, 184, 54, 87, 27198, 3934, 10, 370, 4806, 2046 ]
[ 0.115478515625, 0.1729736328125, 0.2242431640625, 0.2103271484375, 0.251708984375, 0.0975341796875, 0.2227783203125, 0.06402587890625, 0.1038818359375, 0.22265625, 0.0750732421875, 0.228271484375, 0.103271484375, 0.001251220703125, 0.09686279296875, 0.0394287109375, 0.1785888671875, ...
embed
40719082_c0
40719082
elixir
0
Title: How to return a collection of files from a given directory in Elixir? Problem title: How to return a collection of files from a given directory in Elixir? Tags: directory, file, elixir, collections Problem: How to return a collection of files from a given directory in Elixir? In Ruby, I can use target_files = Di...
How to return a collection of files from a given directory in Elixir? How to return a collection of files from a given directory in Elixir? directory file elixir collections a How Elixir target_files Dir foo.rb bar.rb baz.rb How to return a collection of files from a given directory in Elixir? In Ruby, I can use which ...
[ 0.018310546875, -0.00811767578125, -0.0179443359375, -0.006561279296875, -0.019775390625, 0.0201416015625, -0.01141357421875, -0.01202392578125, 0.00933837890625, -0.0311279296875, 0.01397705078125, 0.014892578125, -0.0091552734375, 0.036865234375, 0.006866455078125, -0.00787353515625,...
[ 11249, 47, 30646, 42486, 102158, 1295, 34475, 14364, 53, 23, 25318, 38308, 10, 11435, 15296, 7, 30388, 29822, 19946, 5775, 31, 13471, 1909, 16627, 360, 158189, 4527, 10298, 756, 111, 14858, 214, 21373 ]
[ 0.0732421875, 0.0521240234375, 0.2353515625, 0.241943359375, 0.188720703125, 0.0997314453125, 0.084716796875, 0.1302490234375, 0.0855712890625, 0.06634521484375, 0.1444091796875, 0.28515625, 0.03192138671875, 0.1217041015625, 0.10693359375, 0.008636474609375, 0.1953125, 0.151367187...
embed
41121179_c1
41121179
elixir
1
]] ... ** (Postgrex.Error) ERROR 42703 (undefined_column): column s2.test_a_id does not exist ... The '...ON s2."test_a_id"...' should be '...ON s2."test_id"...' How can I preload the teams correctly? Code signals: Postgrex.Error, Preloading, Test, generate_schema, embeds_one, on_replace, many_to_many, Team, join_throu...
]] ... ** (Postgrex.Error) ERROR 42703 (undefined_column): column s2.test_a_id does not exist ... The '...ON s2."test_a_id"...' should be '...ON s2."test_id"...' How can I preload the teams correctly? Code signals: Postgrex.Error, Preloading, Test, generate_schema, embeds_one, on_replace, many_to_many, Team, join_throu...
[ -0.0012969970703125, -0.006256103515625, -0.01348876953125, 0.031494140625, 0.006103515625, -0.01141357421875, -0.0087890625, -0.014892578125, 0.0084228515625, -0.026611328125, 0.01953125, 0.0220947265625, -0.0216064453125, -0.017333984375, -0.00537109375, 0.0213623046875, -0.0037231...
[ 86245, 16459, 49411, 7134, 425, 18468, 31611, 151206, 24638, 201, 104283, 363, 59437, 5983, 8447, 316, 3365, 19, 91, 5442, 6954, 11, 454, 532, 14602, 959, 32316, 153, 15513, 5608, 186, 11249, 831, 87, 479, 63033, 70, 87199, 26785, 28864, ...
[ 0.0458984375, 0.008575439453125, 0.072509765625, 0.183349609375, 0.188720703125, 0.1158447265625, 0.1536865234375, 0.147705078125, 0.13134765625, 0.0966796875, 0.1871337890625, 0.19482421875, 0.077392578125, 0.19091796875, 0.1383056640625, 0.189208984375, 0.16748046875, 0.048187255...
embed
55076064_c0
55076064
elixir
0
Title: how to add state param for Uberauth in Elixir Problem title: how to add state param for Uberauth in Elixir Tags: elixir, ueberauth, phoenix-framework, omniauth Problem: how to add state param for Uberauth in Elixir During oAuth process it's good to set state param to authorize url for security. When I checked Üb...
how to add state param for Uberauth in Elixir how to add state param for Uberauth in Elixir elixir ueberauth phoenix-framework omniauth Uberauth Elixir how to add state param for Uberauth in Elixir During oAuth process it's good to set state param to authorize url for security. When I checked Überauth Shopify https://g...
[ 0.0162353515625, 0.0137939453125, -0.004241943359375, -0.0167236328125, -0.0220947265625, 0.009521484375, 0.006866455078125, -0.00174713134765625, 0.0020294189453125, -0.00159454345703125, 0.0228271484375, -0.031982421875, 0.005615234375, 0.0279541015625, -0.012939453125, -0.0123291015...
[ 3642, 15190, 11341, 121, 39, 100, 77987, 916, 927, 23, 25318, 38308, 15296, 30108, 34, 53073, 33, 4084, 160328, 31337, 36, 67362, 9433, 4127, 5423, 42179, 25002, 48031, 12765, 16089, 24211, 40383, 15769, 32102, 110227, 5922, 10534, 5612, 15...
[ 0.03607177734375, 0.167236328125, 0.203369140625, 0.1861572265625, 0.169921875, 0.04803466796875, 0.1531982421875, 0.24169921875, 0.216552734375, 0.049285888671875, 0.1265869140625, 0.260498046875, 0.08819580078125, 0.076904296875, 0.0780029296875, 0.009307861328125, 0.04449462890625...
embed
21278350_c0
21278350
elixir
0
Title: Gen_bunny (Erlang / Elixir) subscribe to queue (Rabbitmq) using bunnyc Problem title: Gen_bunny (Erlang / Elixir) subscribe to queue (Rabbitmq) using bunnyc Tags: rabbitmq, publish-subscribe, erlang, amqp, elixir Problem: Gen_bunny (Erlang / Elixir) subscribe to queue (Rabbitmq) using bunnyc Does anyone know how...
Gen_bunny (Erlang / Elixir) subscribe to queue (Rabbitmq) using bunnyc Gen_bunny (Erlang / Elixir) subscribe to queue (Rabbitmq) using bunnyc rabbitmq publish-subscribe erlang amqp elixir bunnyc Gen_bunny Erlang Elixir Rabbitmq Gen_bunny (Erlang / Elixir) subscribe to queue (Rabbitmq) using bunnyc Does anyone know how ...
[ -0.01336669921875, 0.03564453125, -0.01141357421875, 0.0185546875, -0.0026702880859375, -0.00830078125, -0.016845703125, -0.004150390625, -0.011474609375, -0.02880859375, -0.0004177093505859375, 0.00897216796875, 0.016357421875, 0.01300048828125, -0.0020751953125, 0.00885009765625, -...
[ 15937, 17643, 299, 18468, 3066, 25318, 38308, 1614, 34601, 47, 41, 13388, 10545, 217, 39, 864, 17368, 7271, 238, 454, 152131, 18, 80299, 22144, 72, 15296, 1004, 71916, 3714, 3642, 831, 9226, 19048, 37067, 25944, 26008, 2046, 55300, 53299, ...
[ 0.12841796875, 0.1201171875, 0.188232421875, 0.03912353515625, 0.1947021484375, 0.0165863037109375, 0.1583251953125, 0.1624755859375, 0.2122802734375, 0.0955810546875, 0.123291015625, 0.169677734375, 0.043853759765625, 0.033782958984375, 0.0943603515625, 0.14599609375, 0.056579589843...
embed
28863020_c0
28863020
elixir
0
Title: How would one run a functions with same name? Problem title: How would one run a functions with same name? Tags: elixir Problem: How would one run a functions with same name? I am new Elixir and really enjoying it. I hit a wall when trying to use functions with same name. Here is an example defmodule ChangeName ...
How would one run a functions with same name? How would one run a functions with same name? elixir How ChangeName String.capitalize String.downcase How would one run a functions with same name? I am new Elixir and really enjoying it. I hit a wall when trying to use functions with same name. Here is an example I am usin...
[ -0.003753662109375, -0.016845703125, -0.00421142578125, 0.0223388671875, 0.000667572021484375, 0.00885009765625, 0.0036773681640625, 0.0064697265625, 0.009521484375, 0.0016326904296875, 0.001678466796875, -0.004364013671875, 0.014892578125, 0.0257568359375, 0.01287841796875, -0.0137939...
[ 11249, 2806, 1632, 11675, 32354, 7, 678, 5701, 9351, 10, 15296, 38308, 87377, 163612, 23351, 214, 215652, 20650, 34695, 58437, 3525, 25318, 6183, 25225, 5962, 58982, 31577, 4527, 27781, 17368, 17, 3355, 62822, 11782, 11549, 15644, 118, 119066...
[ 0.10052490234375, 0.084228515625, 0.021514892578125, 0.170166015625, 0.218994140625, 0.08673095703125, 0.09613037109375, 0.1407470703125, 0.1783447265625, 0.0172576904296875, 0.0684814453125, 0.224609375, 0.2197265625, 0.2205810546875, 0.1517333984375, 0.03790283203125, 0.185546875, ...
embed
53662911_c0
53662911
elixir
0
Title: When I run phx.server, what compile time gaurantees do I get? Problem title: When I run phx.server, what compile time gaurantees do I get? Tags: elixir, phoenix-framework Problem: When I run phx.server, what compile time gaurantees do I get? I'm a little uncertain as to what compile time safety checks I get with...
When I run phx.server, what compile time gaurantees do I get? When I run phx.server, what compile time gaurantees do I get? elixir phoenix-framework When phx.server When I run phx.server, what compile time gaurantees do I get? I'm a little uncertain as to what compile time safety checks I get with elixir + phoenix. I a...
[ 0.006988525390625, -0.013916015625, 0.0098876953125, 0.015869140625, -0.01171875, 0.0177001953125, -0.0135498046875, 0.006011962890625, -0.000812530517578125, -0.0113525390625, -0.0211181640625, -0.005706787109375, 0.033935546875, 0.01055908203125, -0.018310546875, 0.00982666015625, ...
[ 11675, 11521, 425, 39642, 9969, 1340, 1733, 37144, 2733, 90, 2046, 15296, 38308, 53073, 33, 4084, 160328, 18244, 14847, 5, 10176, 106290, 81900, 12765, 678, 997, 16031, 21922, 53, 136, 146232, 7440, 186, 115840, 939, 37202, 39580, 2037, 242...
[ 0.0863037109375, 0.1373291015625, 0.1966552734375, 0.208984375, 0.1318359375, 0.129638671875, 0.1512451171875, 0.1497802734375, 0.20263671875, 0.089111328125, 0.04937744140625, 0.04931640625, 0.2030029296875, 0.0831298828125, 0.10040283203125, 0.1541748046875, 0.07293701171875, 0.0...
embed
37240502_c0
37240502
elixir
0
Title: How to add a global error to an Ecto Changeset Problem title: How to add a global error to an Ecto Changeset Tags: phoenix-framework, ecto, elixir Problem: How to add a global error to an Ecto Changeset I want to set an error on an Ecto.Changeset that is not specific to a field. In my case, I have a login form a...
How to add a global error to an Ecto Changeset How to add a global error to an Ecto Changeset phoenix-framework ecto elixir How Ecto Changeset How to add a global error to an Ecto Changeset I want to set an error on an Ecto.Changeset that is not specific to a field. In my case, I have a login form and I want to set an ...
[ 0.014404296875, 0.01220703125, -0.00811767578125, -0.00799560546875, 0.00933837890625, 0.005462646484375, -0.0269775390625, -0.00738525390625, -0.005157470703125, -0.0400390625, 0.025634765625, 0.007537841796875, 0.023193359375, 0.03955078125, -0.003021240234375, 0.004241943359375, -...
[ 11249, 15190, 10, 7964, 18499, 47, 241, 44150, 87377, 3509, 142, 53073, 33, 4084, 160328, 18244, 60751, 15296, 38308, 3444, 5423, 98, 127008, 4188, 126, 959, 29458, 44457, 73655, 3173, 3340, 78506, 56649, 7464, 127308, 707, 3229, 201505, 36...
[ 0.07958984375, 0.17333984375, 0.073486328125, 0.2127685546875, 0.284912109375, 0.07745361328125, 0.108642578125, 0.279541015625, 0.1943359375, 0.2049560546875, 0.0273590087890625, 0.0264892578125, 0.043792724609375, 0.1015625, 0.09515380859375, 0.01531982421875, 0.2269287109375, 0....
embed
45874390_c0
45874390
elixir
0
Title: cURL&#x27;ing a Phoenix socket Problem title: cURL&#x27;ing a Phoenix socket Tags: phoenix-framework, sockets, channel, elixir, curl Problem: cURL'ing a Phoenix socket Is there a way to curl (or something similar) a phoenix socket? Let's say my server is running on localhost:4000, and my endpoint has: defmodule ...
cURL&#x27;ing a Phoenix socket cURL&#x27;ing a Phoenix socket phoenix-framework sockets channel elixir curl Phoenix MyApp.Endpoint Phoenix.Endpoint otp_app my_app MyApp.UserSocket cURL'ing a Phoenix socket Is there a way to curl (or something similar) a phoenix socket? Let's say my server is running on localhost:4000, ...
[ 0.0032958984375, 0.0242919921875, 0.000835418701171875, -0.006683349609375, 0.003997802734375, 0.01123046875, -0.00921630859375, -0.0006256103515625, -0.0027313232421875, -0.0361328125, 0.00087738037109375, -0.017333984375, 0.0107421875, 0.006378173828125, -0.01904296875, -0.0038604736...
[ 501, 95538, 3768, 214, 133720, 221, 27853, 10, 53073, 33, 4084, 160328, 18244, 86723, 15296, 38308, 9709, 141, 2646, 39179, 152378, 38496, 36, 18, 254, 9007, 759, 1062, 2189, 8912, 25, 2071, 2685, 3917, 47, 21373, 10723, 51042, 98, 4000, ...
[ 0.0357666015625, 0.251953125, 0.046783447265625, 0.073486328125, 0.2841796875, 0.15625, 0.255859375, 0.0556640625, 0.102783203125, 0.1077880859375, 0.163330078125, 0.0738525390625, 0.06024169921875, 0.1441650390625, 0.031982421875, 0.16455078125, 0.2147216796875, 0.2427978515625, ...
embed
57514413_c0
57514413
elixir
0
Title: Check if all elements in list have a :ok element Problem title: Check if all elements in list have a :ok element Tags: list-comprehension, functional-programming, elixir Problem: Check if all elements in list have a :ok element I have one list of tuples like this [ {:ok, {"0000 0000 "}}, {:ok, %{AM01: %{"C4" => ...
Check if all elements in list have a :ok element Check if all elements in list have a :ok element list-comprehension functional-programming elixir Check AM01 AM04 Check if all elements in list have a :ok element I have one list of tuples like this The first element of tuple :ok represents the map ok. How ca n I reduce ...
[ -0.006683349609375, -0.0120849609375, 0.0030517578125, 0.006927490234375, 0.00396728515625, -0.00433349609375, -0.00457763671875, 0.0096435546875, 0.0050048828125, 0.02685546875, 0.0186767578125, -0.0201416015625, 0.0274658203125, 0.0269775390625, -0.023681640625, 0.004425048828125, ...
[ 38679, 2174, 756, 80854, 23, 5303, 765, 10, 152, 685, 12830, 4692, 3220, 123309, 28966, 15296, 38308, 9677, 6746, 7709, 1632, 370, 99726, 1884, 5117, 8705, 33636, 22288, 3664, 34390, 167201, 12765, 678, 357, 316, 5584 ]
[ 0.1522216796875, 0.07373046875, 0.12152099609375, 0.19677734375, 0.0850830078125, 0.186767578125, 0.0692138671875, 0.024505615234375, 0.04205322265625, 0.230224609375, 0.203369140625, 0.01556396484375, 0.028533935546875, 0.0845947265625, 0.057464599609375, 0.0011682510375976562, 0.11...
embed
39194531_c0
39194531
elixir
0
Title: Accumulate a list in an `Enum.each` loop Problem title: Accumulate a list in an `Enum.each` loop Tags: list, elixir Problem: Accumulate a list in an `Enum.each` loop I have a method that receives a list of strings, and generates a list of list of words. def some(words) do result = [] Enum.each(words, fn word -> ...
Accumulate a list in an `Enum.each` loop Accumulate a list in an `Enum.each` loop list elixir Accumulate Enum.each Accumulate a list in an `Enum.each` loop I have a method that receives a list of strings, and generates a list of list of words. This method doesn't work as expected, since it always returns an empty list....
[ 0.00946044921875, -0.0103759765625, -0.0172119140625, 0.019287109375, -0.004364013671875, 0.02001953125, 0.003173828125, 0.01300048828125, -0.00141143798828125, -0.0166015625, 0.0260009765625, 0.0021209716796875, 0.00970458984375, 0.0203857421875, 0.015869140625, 0.021240234375, -0.0...
[ 29899, 6407, 19309, 5303, 23, 647, 2606, 41581, 40956, 15296, 38308, 357, 316, 55300, 53299, 79315, 139392, 111, 34153, 22027, 18, 4488, 84751, 11343, 30646, 201505, 77336, 208429, 214, 18151, 5429 ]
[ 0.0897216796875, 0.2034912109375, 0.1556396484375, 0.228515625, 0.043609619140625, 0.027679443359375, 0.208984375, 0.1925048828125, 0.19482421875, 0.07232666015625, 0.2064208984375, 0.082763671875, 0.2198486328125, 0.14306640625, 0.05413818359375, 0.1712646484375, 0.109130859375, 0...
embed
41239657_c3
41239657
elixir
3
:25, main.proto_2_0, proto_2_0.go:58, main.main, main.go:51, Sent, PID, Utopia.Endpoint, Server, Request, String.Chars, Porcelain.Result, chars.ex:3, String.Chars.impl_for, chars.ex:17, String.Chars.to_string, react_io.ex:2, Utopia.ReactIO.json_call, page_controller.ex:12, Utopia.PageController.index, page_controller.e...
:25, main.proto_2_0, proto_2_0.go:58, main.main, main.go:51, Sent, PID, Utopia.Endpoint, Server, Request, String.Chars, Porcelain.Result, chars.ex:3, String.Chars.impl_for, chars.ex:17, String.Chars.to_string, react_io.ex:2, Utopia.ReactIO.json_call, page_controller.ex:12, Utopia.PageController.index, page_controller.e...
[ 0.004364013671875, 0.00823974609375, 0.01904296875, 0.0130615234375, -0.010009765625, -0.005462646484375, -0.0020904541015625, -0.01348876953125, -0.004119873046875, -0.0263671875, 0.00872802734375, -0.020751953125, 0.00860595703125, 0.034423828125, 0.01031494140625, 0.007568359375, ...
[ 21224, 5201, 18606, 31, 304, 2389, 22664, 519, 33593, 24931, 37374, 63999, 436, 7146, 345, 186617, 152378, 38496, 22687, 853, 75616, 23351, 84068, 1818, 43252, 73, 4332, 7, 7136, 21441, 3355, 363, 116120, 2472, 22950, 188, 91693, 131300, 84...
[ 0.1783447265625, 0.12841796875, 0.169921875, 0.1705322265625, 0.05841064453125, 0.1304931640625, 0.259765625, 0.132080078125, 0.2081298828125, 0.1180419921875, 0.168212890625, 0.18896484375, 0.0633544921875, 0.16259765625, 0.0931396484375, 0.290771484375, 0.1341552734375, 0.1757812...
embed
59216777_c0
59216777
elixir
0
Title: How to validate required in nested map Problem title: How to validate required in nested map Tags: elixir Problem: How to validate required in nested map I'm working with Elixir. I receive some attributes and I'm using them to create a location . Attributes is something like: attrs = %{latitude: 123.2, longitude...
How to validate required in nested map How to validate required in nested map elixir How validate_required How to validate required in nested map I'm working with Elixir. I receive some attributes and I'm using them to create a location . Attributes is something like: attrs = %{latitude: 123.2, longitude: 123.4, metada...
[ -0.01263427734375, 0.005523681640625, 0.01434326171875, 0.007354736328125, -0.01153564453125, -0.0146484375, 0.01904296875, -0.0130615234375, 0.006439208984375, -0.01348876953125, 0.003570556640625, -0.01904296875, 0.011962890625, 0.0279541015625, -0.004730224609375, -0.003860473632812...
[ 11249, 47, 44622, 67, 56065, 23, 8512, 71, 22288, 15296, 38308, 107, 3181, 2822, 20697, 678, 25318, 53299, 150380, 17368, 28282, 31913, 1913, 191145, 243, 4295, 2203, 143, 35810, 427, 107033, 152050, 172508, 23550, 10135, 6032, 590, 5357, 5...
[ 0.09088134765625, 0.039276123046875, 0.26220703125, 0.1722412109375, 0.2880859375, 0.1021728515625, 0.2440185546875, 0.1531982421875, 0.2105712890625, 0.109619140625, 0.243896484375, 0.115966796875, 0.2147216796875, 0.143798828125, 0.062286376953125, 0.008270263671875, 0.099243164062...
embed
53716854_c0
53716854
elixir
0
Title: Phoenix Elixir kafka_ex Connection Problem title: Phoenix Elixir kafka_ex Connection Tags: apache-kafka, elixir, phoenix-framework Problem: Phoenix Elixir kafka_ex Connection I got two errors during inital connection: [error] Could not connect to broker "9fac7e99f3bd":9092 because of error {:error, :econnrefused...
Phoenix Elixir kafka_ex Connection Phoenix Elixir kafka_ex Connection apache-kafka elixir phoenix-framework Phoenix Elixir kafka_ex Connection Phoenix Elixir kafka_ex Connection I got two errors during inital connection: I used kafka_ex version 0.9.0 and I only have one kafka and one zookeeper. Pls help what should I d...
[ 0.0213623046875, 0.0198974609375, -0.006988525390625, 0.00135040283203125, 0.0208740234375, -0.0034332275390625, -0.00860595703125, 0.00274658203125, 0.0003108978271484375, -0.014404296875, -0.008056640625, -0.01025390625, 0.0283203125, 0.01043701171875, -0.00140380859375, -0.002929687...
[ 133720, 25318, 38308, 156, 420, 161, 3355, 62448, 1830, 2241, 1430, 15296, 53073, 33, 4084, 160328, 18244, 87, 4163, 6626, 18499, 20271, 485, 1803, 94878, 11814, 454, 11389, 143161, 5, 2389, 136, 4734, 765, 1632, 71321, 184308, 29016, 4358,...
[ 0.24609375, 0.13134765625, 0.2017822265625, 0.10809326171875, 0.2293701171875, 0.1981201171875, 0.2252197265625, 0.165283203125, 0.03143310546875, 0.0975341796875, 0.07550048828125, 0.0760498046875, 0.08245849609375, 0.10528564453125, 0.152099609375, 0.09478759765625, 0.0303039550781...
embed
64555551_c1
64555551
elixir
1
4) end The issue here is that since there is no counter, I don't have a way of returning a different output depending on the number of calls a function was called. To be fair, Mock does offer a way to returns different outputs when the input is different. However, this is not the case. The input is the same, the only d...
4) end The issue here is that since there is no counter, I don't have a way of returning a different output depending on the number of calls a function was called. To be fair, Mock does offer a way to returns different outputs when the input is different. However, this is not the case. The input is the same, the only d...
[ -0.00830078125, 0.00579833984375, 0.003875732421875, 0.0250244140625, -0.0157470703125, 0.0101318359375, 0.0118408203125, 0.01556396484375, 0.023193359375, 0.022705078125, -0.005859375, 0.0167236328125, -0.0008087158203125, 0.0390625, 0.028564453125, -0.01483154296875, 0.014770507812...
[ 13956, 3564, 31089, 2685, 83, 110, 105416, 3917, 30646, 214, 12921, 140992, 96819, 14012, 11782, 7, 32354, 35839, 2501, 2594, 18645, 107730, 959, 7225, 5701, 140931, 5256, 69307, 69236, 17368, 28864, 26073, 3034, 76228, 432, 208071, 22819, 18...
[ 0.08428955078125, 0.208984375, 0.1328125, 0.013397216796875, 0.0226287841796875, 0.0677490234375, 0.2396240234375, 0.05657958984375, 0.1488037109375, 0.0091552734375, 0.1680908203125, 0.2086181640625, 0.075439453125, 0.0589599609375, 0.17919921875, 0.018646240234375, 0.16259765625, ...
embed
43214387_c0
43214387
elixir
0
Title: HTTP 1.0 request with HTTPoison Problem title: HTTP 1.0 request with HTTPoison Tags: elixir, httpoison, http-1.0 Problem: HTTP 1.0 request with HTTPoison How do I make a HTTP/1.0 request with HTTPoison? I don't know which version it's using, but I'm assuming it's not 1.0 by default. I am integrating with some ac...
HTTP 1.0 request with HTTPoison HTTP 1.0 request with HTTPoison elixir httpoison http-1.0 HTTP HTTPoison http-1.0 HTTP 1.0 request with HTTPoison How do I make a HTTP/1.0 request with HTTPoison? I don't know which version it's using, but I'm assuming it's not 1.0 by default. I am integrating with some accounting softwa...
[ 0.0031585693359375, -0.0047607421875, 0.007415771484375, 0.01361083984375, -0.01153564453125, 0.003997802734375, -0.01806640625, -0.0142822265625, -0.00897216796875, -0.0223388671875, 0.024169921875, 0.005767822265625, -0.017578125, -0.0086669921875, -0.0146484375, -0.0303955078125, ...
[ 135913, 53855, 50336, 678, 31, 40514, 15296, 38308, 1621, 102107, 11249, 54, 87, 3249, 10, 64, 3714, 11389, 442, 17368, 66596, 959, 114977, 78779, 15426, 214, 10975, 35839, 81669, 108259, 7, 67330, 7722, 71864, 116, 17932, 1733, 6056, 8, ...
[ 0.263916015625, 0.265380859375, 0.2529296875, 0.1368408203125, 0.183837890625, 0.28271484375, 0.10302734375, 0.2132568359375, 0.1519775390625, 0.27197265625, 0.0467529296875, 0.06427001953125, 0.0240631103515625, 0.132080078125, 0.047698974609375, 0.10308837890625, 0.02557373046875, ...
embed
46936479_c0
46936479
elixir
0
Title: Mock function elixir Problem title: Mock function elixir Tags: elixir, testing Problem: Mock function elixir I have a function like this def foo_bar() do Enum.reduce_while( image_options, 0, fn image_option, _foo -> case image_option["destination"] do "s3" -> case response = Upload.upload_on_s3(foo, bar) do {:ok...
Mock function elixir Mock function elixir elixir testing Mock foo_bar Enum.reduce_while image_options image_option _foo Upload.upload_on_s3 Mock function elixir I have a function like this I want to test foo_bar in unit test. How can I mock Upload.upload_on_s3(foo, bar) function?
[ -0.017822265625, 0.01220703125, -0.0093994140625, -0.00799560546875, -0.00067138671875, -0.0020751953125, 0.006561279296875, 0.0026702880859375, -0.0157470703125, 0.01123046875, 0.01226806640625, 0.019775390625, 0.002105712890625, 0.024658203125, 0.0111083984375, -0.0213623046875, 0....
[ 2501, 2594, 32354, 15296, 38308, 134234, 5775, 31, 1299, 357, 316, 107, 106357, 204610, 29569, 109585, 3584, 171958, 94835, 191, 363, 1884, 3444, 3034, 25072, 11249, 831, 8698, 92, 7, 1909 ]
[ 0.189453125, 0.1929931640625, 0.1678466796875, 0.1126708984375, 0.2479248046875, 0.1844482421875, 0.1143798828125, 0.09893798828125, 0.189208984375, 0.03118896484375, 0.1517333984375, 0.054595947265625, 0.138671875, 0.1119384765625, 0.07452392578125, 0.1793212890625, 0.08245849609375...
embed
37915814_c0
37915814
elixir
0
Title: Can we have anonymous function inside defmodules? Problem title: Can we have anonymous function inside defmodules? Tags: elixir Problem: Can we have anonymous function inside defmodules? Can we do Something like defmodule EmailMatch do match_email = fn(id) -> Regex.run ~r/[a-zA-Z]+\s*\@[a-zA-Z]+\.[a-z]+/, id end...
Can we have anonymous function inside defmodules? Can we have anonymous function inside defmodules? elixir UndefinedFunctionError Can EmailMatch match_email Regex.run EmailMatch.match_email sdkj.net Can we have anonymous function inside defmodules? Can we do Something like and use it like: albeit above gives:
[ 0.00189971923828125, 0.00799560546875, 0.01336669921875, 0.0028228759765625, 0.035400390625, -0.00098419189453125, 0.00982666015625, 0.00067138671875, -0.00518798828125, -0.03564453125, -0.0213623046875, 0.01904296875, 0.00567626953125, 0.00909423828125, 0.029541015625, -0.014709472656...
[ 4171, 765, 52184, 10821, 32354, 46132, 8, 420, 83279, 90, 642, 15296, 38308, 5983, 97249, 14886, 79520, 206, 14858, 25501, 11678, 3355, 16428, 98753, 5740, 170, 200905, 1884, 4527, 372, 217, 36917, 76199 ]
[ 0.07745361328125, 0.06732177734375, 0.2266845703125, 0.187744140625, 0.19677734375, 0.1279296875, 0.1517333984375, 0.1444091796875, 0.1820068359375, 0.07318115234375, 0.0059661865234375, 0.04046630859375, 0.1846923828125, 0.09515380859375, 0.1058349609375, 0.087890625, 0.132202148437...
embed
38805542_c0
38805542
elixir
0
Title: Handle every exception in phoenix and implement an action after it Problem title: Handle every exception in phoenix and implement an action after it Tags: phoenix-framework, elixir Problem: Handle every exception in phoenix and implement an action after it Let's say I have an usual phoenix app. I want to track e...
Handle every exception in phoenix and implement an action after it Handle every exception in phoenix and implement an action after it phoenix-framework elixir Handle ExcetpionTracker.action Handle every exception in phoenix and implement an action after it Let's say I have an usual phoenix app. I want to track every ex...
[ -0.014892578125, 0.010009765625, -0.025634765625, -0.00775146484375, 0.00714111328125, 0.0201416015625, 0.0050048828125, -0.0029144287109375, -0.004058837890625, -0.059814453125, 0.000743865966796875, 0.0003147125244140625, 0.003082275390625, -0.0032501220703125, 0.0205078125, 0.013183...
[ 10639, 133, 11907, 131527, 23, 53073, 33, 4084, 136, 29479, 22631, 7103, 442, 160328, 18244, 15296, 38308, 110823, 126, 80381, 28542, 11050, 44713, 115723, 4027, 3444, 28560, 26818, 1647, 1681, 1305, 409, 603, 25379, 54, 4527, 1831, 2844, 3...
[ 0.16015625, 0.1163330078125, 0.200927734375, 0.260986328125, 0.060028076171875, 0.09423828125, 0.1304931640625, 0.169189453125, 0.019866943359375, 0.1600341796875, 0.1759033203125, 0.129150390625, 0.033721923828125, 0.087646484375, 0.0565185546875, 0.0626220703125, 0.1783447265625, ...
embed
41386155_c1
41386155
elixir
1
rebuilding, but I still get the same error when building the release. I'm stumped, and don't understand why this should have just started happening when, AFAIK, the build environment has not changed - and if it had, wouldn't rebuilding it with Vagrant fix it? Thanks Paul Code signals: File.Error, Unable, Phoenix, Gene...
rebuilding, but I still get the same error when building the release. I'm stumped, and don't understand why this should have just started happening when, AFAIK, the build environment has not changed - and if it had, wouldn't rebuilding it with Vagrant fix it? Thanks Paul Code signals: File.Error, Unable, Phoenix, Gene...
[ -0.00154876708984375, 0.014404296875, -0.00335693359375, 0.026611328125, 0.00970458984375, 0.01446533203125, -0.020751953125, -0.01806640625, 0.00994873046875, 0.0004405975341796875, 0.01483154296875, -0.00946044921875, 0.0235595703125, 0.0174560546875, -0.01043701171875, 0.01373291015...
[ 456, 146049, 1284, 7464, 2046, 5701, 18499, 3229, 33976, 70, 54452, 48708, 20051, 28219, 15400, 5608, 26859, 123087, 151334, 17756, 45367, 65998, 959, 98816, 678, 3453, 30962, 18, 30022, 10208, 28864, 26073, 42724, 18468, 31611, 992, 2886, 13...
[ 0.1729736328125, 0.280517578125, 0.037689208984375, 0.117431640625, 0.0283660888671875, 0.13720703125, 0.2216796875, 0.049041748046875, 0.213134765625, 0.00018310546875, 0.17578125, 0.04107666015625, 0.03143310546875, 0.052764892578125, 0.02655029296875, 0.0170745849609375, 0.0257263...
embed
31396132_c1
31396132
elixir
1
For my use, I don't even need to ever get back the response from the task, I just need it to execute. Any guidance on where to go would be helpful. I've read through the getting started guide but honestly it left me more confused because when I try to do what is done it never turns out as it does in the application. T...
For my use, I don't even need to ever get back the response from the task, I just need it to execute. Any guidance on where to go would be helpful. I've read through the getting started guide but honestly it left me more confused because when I try to do what is done it never turns out as it does in the application. T...
[ -0.0137939453125, 0.025634765625, -0.00016498565673828125, 0.01055908203125, 0.0076904296875, 0.01220703125, 0.019775390625, -0.0174560546875, 0.01458740234375, -0.03125, 0.016845703125, -0.0033111572265625, -0.0023040771484375, 0.02099609375, -0.0145263671875, 0.005615234375, 0.0048...
[ 4527, 18, 3871, 17669, 2046, 4420, 70, 57553, 1295, 66211, 1660, 442, 47, 71924, 13, 196219, 7440, 738, 98893, 20949, 26859, 17997, 42551, 55681, 9790, 54, 16940, 8306, 15504, 1810, 237, 23, 38415, 201010, 28864, 26073, 7, 4265, 51858, 47...
[ 0.1072998046875, 0.052825927734375, 0.1705322265625, 0.029693603515625, 0.0340576171875, 0.1300048828125, 0.004241943359375, 0.212646484375, 0.06982421875, 0.2247314453125, 0.043975830078125, 0.045989990234375, 0.0787353515625, 0.216552734375, 0.07568359375, 0.1434326171875, 0.100891...
embed
75132306_c2
75132306
elixir
2
.Cowboy.child_spec, __MODULE__, Logger.error, Exception.format, __STACKTRACE__, PID, cowboy_protocol, Server, localhost:8080, Request, GET, Plug.Conn, Plug.Adapters.Cowboy.Conn, body_params, Plug.Conn.Unfetched, path_info, path_params, plug_route, HelloWorld.Web.do_match, query_params, query_string, remote_ip, req_cook...
.Cowboy.child_spec, __MODULE__, Logger.error, Exception.format, __STACKTRACE__, PID, cowboy_protocol, Server, localhost:8080, Request, GET, Plug.Conn, Plug.Adapters.Cowboy.Conn, body_params, Plug.Conn.Unfetched, path_info, path_params, plug_route, HelloWorld.Web.do_match, query_params, query_string, remote_ip, req_cook...
[ -0.00860595703125, 0.0169677734375, -0.005523681640625, -0.0106201171875, 0.003021240234375, 0.007080078125, -0.009521484375, -0.00885009765625, 0.00103759765625, -0.0263671875, -0.017333984375, -0.0169677734375, 0.00174713134765625, 0.0029449462890625, 0.004058837890625, 0.00115203857...
[ 5, 441, 8770, 30885, 206, 38472, 16711, 4, 5953, 12013, 397, 129984, 64906, 56, 188800, 5443, 63928, 51727, 22565, 20572, 37082, 10854, 436, 7146, 552, 434, 18606, 31, 8447, 22687, 4000, 40294, 12, 4836, 853, 75616, 79794, 194351, 11935, ...
[ 0.0819091796875, 0.06866455078125, 0.201171875, 0.299560546875, 0.148681640625, 0.2459716796875, 0.283203125, 0.0164337158203125, 0.013336181640625, 0.0872802734375, 0.0875244140625, 0.0765380859375, 0.1527099609375, 0.109375, 0.1806640625, 0.006378173828125, 0.13134765625, 0.15454...
embed
45159941_c0
45159941
elixir
0
Title: Get current environment in Phoenix (Elixir) Problem title: Get current environment in Phoenix (Elixir) Tags: elixir, phoenix-framework Problem: Get current environment in Phoenix (Elixir) in Ruby on rails we can call Rails.env to fetch current ENV. (or Rails.env.development? ) I was wondering if Phoenix Elixir h...
Get current environment in Phoenix (Elixir) Get current environment in Phoenix (Elixir) elixir phoenix-framework Get Phoenix Elixir Rails.env Rails.env.development System.get_env MIX_ENV Get current environment in Phoenix (Elixir) in Ruby on rails we can call Rails.env to fetch current ENV. (or Rails.env.development? )...
[ -0.0191650390625, -0.0059814453125, 0.003021240234375, 0.0208740234375, 0.01080322265625, 0.005340576171875, -0.0054931640625, 0.006622314453125, -0.00836181640625, -0.0281982421875, 0.0284423828125, 0.039306640625, 0.0081787109375, 0.00457763671875, -0.0125732421875, 0.02001953125, ...
[ 20779, 43581, 65998, 23, 133720, 647, 150, 38308, 15296, 53073, 33, 4084, 160328, 18244, 25318, 85736, 7, 334, 229815, 12353, 3794, 276, 21487, 11572, 856, 158189, 98, 673, 7870, 831, 11782, 5, 7647, 7338, 21373, 5570, 88303, 97249, 594, ...
[ 0.114501953125, 0.2254638671875, 0.2362060546875, 0.09149169921875, 0.276611328125, 0.05206298828125, 0.1007080078125, 0.25244140625, 0.087646484375, 0.06134033203125, 0.1383056640625, 0.1429443359375, 0.078857421875, 0.02557373046875, 0.130126953125, 0.233154296875, 0.10406494140625...
embed
42802355_c0
42802355
elixir
0
Title: protocol Phoenix.Param not implemented for [token: &quot;12345&quot;] Problem title: protocol Phoenix.Param not implemented for [token: &quot;12345&quot;] Tags: elixir, phoenix-framework Problem: protocol Phoenix.Param not implemented for [token: "12345"] I have this in router.ex: get "/my_url/my_url2/:token", M...
protocol Phoenix.Param not implemented for [token: &quot;12345&quot;] protocol Phoenix.Param not implemented for [token: &quot;12345&quot;] elixir phoenix-framework Phoenix.Param my_url my_url2 MySuperController my_action my_super_url protocol Phoenix.Param not implemented for [token: "12345"] I have this in router.ex:...
[ -0.01165771484375, -0.00164794921875, 0.0159912109375, -0.0019073486328125, -0.008056640625, 0.00019931793212890625, -0.001800537109375, -0.00677490234375, -0.00145721435546875, -0.05419921875, -0.0002536773681640625, -0.0230712890625, 0.020263671875, 0.000705718994140625, 0.001831054687...
[ 91363, 133720, 55292, 39, 959, 29479, 297, 100, 6448, 1530, 96060, 5, 33, 12, 15296, 38308, 53073, 4084, 160328, 759, 25002, 304, 2646, 73903, 175904, 603, 44713, 59104, 765, 903, 122188, 3355, 14847, 87, 11782, 2046, 18499, 30022 ]
[ 0.270263671875, 0.302978515625, 0.1837158203125, 0.1190185546875, 0.1400146484375, 0.2137451171875, 0.1180419921875, 0.08349609375, 0.1331787109375, 0.1292724609375, 0.31591796875, 0.00189208984375, 0.077392578125, 0.00726318359375, 0.05224609375, 0.1776123046875, 0.0750732421875, ...
embed
33050065_c1
33050065
elixir
1
5, [file: 'gen_server.erl', line: 661]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 239]}]}}, {:child, :undefined, GenEvent, {GenEvent, :start_link, [name: {:global, :x}]}, :permanent, 5000, :worker, :dynamic}}} What am I doing wrong? Code signals: OTP, Start, GenEvent, Supervisor, Name, GenEvent.sta...
5, [file: 'gen_server.erl', line: 661]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 239]}]}}, {:child, :undefined, GenEvent, {GenEvent, :start_link, [name: {:global, :x}]}, :permanent, 5000, :worker, :dynamic}}} What am I doing wrong? Code signals: OTP, Start, GenEvent, Supervisor, Name, GenEvent.sta...
[ -0.00982666015625, 0.021484375, 0.00109100341796875, -0.0260009765625, -0.021484375, -0.006011962890625, 0.0152587890625, -0.00885009765625, 0.0038299560546875, -0.031982421875, -0.01104736328125, 0.00022602081298828125, 0.00799560546875, 0.029296875, 0.021484375, 0.0012969970703125, ...
[ 190, 29822, 1409, 39642, 56, 141, 13315, 11251, 3454, 238, 5612, 73, 217, 254, 246, 9007, 538, 138, 9323, 206, 38472, 59437, 5983, 15937, 192134, 105376, 17137, 10187, 11627, 156566, 425, 669, 19692, 18244, 242554, 444, 87, 20594, 44691, ...
[ 0.10302734375, 0.12158203125, 0.1734619140625, 0.21728515625, 0.05438232421875, 0.099853515625, 0.03228759765625, 0.119873046875, 0.042022705078125, 0.05682373046875, 0.1654052734375, 0.0180206298828125, 0.095458984375, 0.02593994140625, 0.08441162109375, 0.109130859375, 0.1362304687...
embed
43020578_c0
43020578
elixir
0
Title: Setting cookies before a redirect in Phoenix Framework Elixir Problem title: Setting cookies before a redirect in Phoenix Framework Elixir Tags: phoenix-framework, elixir, cookies Problem: Setting cookies before a redirect in Phoenix Framework Elixir I am noticing that my cookies are not being set when I perform...
Setting cookies before a redirect in Phoenix Framework Elixir Setting cookies before a redirect in Phoenix Framework Elixir phoenix-framework elixir cookies Setting Phoenix Framework Elixir put_resp_cookie some_condition Setting cookies before a redirect in Phoenix Framework Elixir I am noticing that my cookies are not...
[ 0.000194549560546875, 0.01519775390625, 0.0140380859375, -0.0033416748046875, 0.00787353515625, 0.00054168701171875, -0.017822265625, 0.0002727508544921875, 0.0130615234375, 0.01165771484375, 0.00116729736328125, 0.014404296875, 0.01171875, 0.002288818359375, 0.00848388671875, -0.00186...
[ 503, 19514, 4136, 8108, 456, 80581, 133720, 202220, 25318, 38308, 53073, 33, 4084, 160328, 18244, 15296, 3884, 2109, 254, 212087, 3060, 126940, 23, 959, 8035, 5423, 51339, 185373, 32354, 248, 3584, 31, 64, 1299, 9332, 3917 ]
[ 0.1328125, 0.036956787109375, 0.275634765625, 0.12841796875, 0.092041015625, 0.2335205078125, 0.202880859375, 0.192626953125, 0.102294921875, 0.23828125, 0.01611328125, 0.038970947265625, 0.0657958984375, 0.07318115234375, 0.07537841796875, 0.0791015625, 0.08837890625, 0.1212158203...
embed
49403559_c0
49403559
elixir
0
Title: Modify column in list of lists Problem title: Modify column in list of lists Tags: elixir Problem: Modify column in list of lists I have a list of list, as such list = [[title, description, ~N[2018-01-01 23:00:07], comment, user], [title, description, ~N[2018-03-02 12:10:18], comment, user]] Now I need to conver...
Modify column in list of lists Modify column in list of lists elixir Modify new_list Enum.map modify_date Modify column in list of lists I have a list of list, as such Now I need to convert every NaiveDateTime to Erlang date (or Unix timestamp). I believe I can do something like But I can't figure out how to make modif...
[ -0.0211181640625, -0.0037384033203125, 0.00701904296875, 0.0133056640625, -0.00811767578125, -0.00170135498046875, -0.0201416015625, 0.020751953125, 0.007415771484375, 0.0026092529296875, -0.004058837890625, 0.0059814453125, 0.0140380859375, 0.0208740234375, -0.027587890625, -0.0108642...
[ 16269, 40383, 3365, 316, 23, 5303, 111, 19, 15296, 38308, 3525, 6562, 357, 62346, 2811, 17489, 3871, 96760, 11907, 353, 5844, 86291, 70059, 47, 1004, 3066, 5622, 992, 4084, 1733, 590, 2676, 18822, 1884, 26366, 3249, 11583, 4734, 52490, 50...
[ 0.151123046875, 0.20458984375, 0.1519775390625, 0.1715087890625, 0.036407470703125, 0.2049560546875, 0.10546875, 0.0182037353515625, 0.06695556640625, 0.204833984375, 0.03564453125, 0.1846923828125, 0.0443115234375, 0.109375, 0.14208984375, 0.1524658203125, 0.0306396484375, 0.14428...
embed
62018166_c0
62018166
elixir
0
Title: Phoenix Corsica plug - Cross-Origin Request Blocked Problem title: Phoenix Corsica plug - Cross-Origin Request Blocked Tags: phoenix-framework, elixir, cors, axios Problem: Phoenix Corsica plug - Cross-Origin Request Blocked Code signals: Phoenix, Corsica, Cross-Origin, Request, Blocked, Same, Origin, Policy, fa...
Phoenix Corsica plug - Cross-Origin Request Blocked Phoenix Corsica plug - Cross-Origin Request Blocked phoenix-framework elixir cors axios Phoenix Corsica Cross-Origin Request Blocked Same Origin Policy fajalobi.org CORS Unhandled Error Network Url.value X-Requested-With XMLHttpRequest document.head.querySelector fetc...
[ 0.00836181640625, 0.0260009765625, 0.0206298828125, -0.01007080078125, 0.00799560546875, 0.010986328125, 0.003997802734375, -0.00592041015625, 0.01129150390625, -0.0218505859375, -0.004791259765625, 0.0025177001953125, -0.004180908203125, 0.015869140625, -0.0169677734375, 0.00126647949...
[ 133720, 5631, 7, 2063, 76329, 47832, 670, 10384, 73, 853, 75616, 80231, 297, 53073, 33, 4084, 160328, 18244, 15296, 38308, 8231, 10, 78697, 99908, 119862, 80042, 1071, 57566, 964, 1478, 70555, 294, 992, 79628, 212059, 28997, 4143, 27494, 11...
[ 0.222412109375, 0.1766357421875, 0.1209716796875, 0.2110595703125, 0.1842041015625, 0.158935546875, 0.07281494140625, 0.149169921875, 0.0772705078125, 0.083251953125, 0.1531982421875, 0.2073974609375, 0.064453125, 0.03857421875, 0.0465087890625, 0.0982666015625, 0.1016845703125, 0....
embed
49611699_c0
49611699
elixir
0
Title: Counting number of occurrence of each char (Elixir)? Problem title: Counting number of occurrence of each char (Elixir)? Tags: elixir Problem: Counting number of occurrence of each char (Elixir)? In JS, I can do something like this: function countIt(str){ let obj = {}; for(let i = 0; i < str.length; i++){ if(!ob...
Counting number of occurrence of each char (Elixir)? Counting number of occurrence of each char (Elixir)? elixir Counting Elixir str.length console.log Map Counting number of occurrence of each char (Elixir)? In JS, I can do something like this: What is the best way to count the occurrence of each character with Map in...
[ 0.0019683837890625, -0.0101318359375, -0.006011962890625, -0.00141143798828125, 0.006500244140625, -0.005706787109375, 0.0020599365234375, 0.00013446807861328125, 0.01611328125, -0.0257568359375, -0.018310546875, -0.01806640625, 0.0264892578125, 0.06982421875, -0.00146484375, -0.005584...
[ 1311, 128396, 14012, 111, 74918, 42, 6620, 12638, 21441, 647, 150, 38308, 15296, 25318, 7704, 23986, 130250, 4867, 42719, 360, 64977, 2965, 3917, 47, 54529, 62816, 678, 23, 179635, 14311, 41159 ]
[ 0.126708984375, 0.159912109375, 0.1346435546875, 0.0179901123046875, 0.1800537109375, 0.156494140625, 0.1014404296875, 0.12347412109375, 0.2113037109375, 0.058197021484375, 0.1124267578125, 0.281005859375, 0.103759765625, 0.1549072265625, 0.06463623046875, 0.060882568359375, 0.183715...
embed
42611376_c0
42611376
elixir
0
Title: Elixir list comprehension Problem title: Elixir list comprehension Tags: elixir Problem: Elixir list comprehension I have a list of tuples : m=[{5, 3}, {6, 6}, {7, 10}] Now I want to create a second list such that for each tuple of values inside m I will insert "A" if first value>second value and "B" if first < ...
Elixir list comprehension Elixir list comprehension elixir Elixir Elixir list comprehension I have a list of tuples : Now I want to create a second list such that for each tuple of values inside m I will insert "A" if first value>second value and "B" if first < second. So in this case the list will result in ["A","B"] ...
[ 0.0034027099609375, 0.00933837890625, 0.01025390625, 0.0146484375, 0.00140380859375, 0.00958251953125, 0.0184326171875, 0.00958251953125, 0.01025390625, 0.037353515625, 0.01226806640625, -0.00885009765625, 0.04248046875, 0.01177978515625, -0.01416015625, 0.0011749267578125, -0.009948...
[ 25318, 38308, 5303, 46683, 3220, 6889, 15296, 87, 765, 111, 370, 99726, 3444, 28282, 17932, 6044, 12638, 8705, 142424, 46132, 347, 183540, 284, 2174, 5117, 34292, 2740, 191633, 136, 571, 4426, 70, 16750, 190, 363, 361, 16093, 50258, 11814, ...
[ 0.10009765625, 0.222412109375, 0.23095703125, 0.125732421875, 0.1201171875, 0.0513916015625, 0.05706787109375, 0.0213165283203125, 0.04327392578125, 0.0225372314453125, 0.126220703125, 0.236083984375, 0.08612060546875, 0.1357421875, 0.1534423828125, 0.0283050537109375, 0.0400390625, ...
embed
66559076_c0
66559076
elixir
0
Title: Elixir: How do I check if an element exists in a specific index of a tuple in an array? Problem title: Elixir: How do I check if an element exists in a specific index of a tuple in an array? Tags: tuples, elixir Problem: Elixir: How do I check if an element exists in a specific index of a tuple in an array? For ...
Elixir: How do I check if an element exists in a specific index of a tuple in an array? Elixir: How do I check if an element exists in a specific index of a tuple in an array? tuples elixir Elixir How Elixir: How do I check if an element exists in a specific index of a tuple in an array? For example, I would like to ch...
[ 0.002349853515625, 0.007659912109375, -0.013916015625, 0.0142822265625, -0.007354736328125, -0.0086669921875, 0.01190185546875, -0.013671875, 0.007293701171875, -0.010498046875, 0.0030364990234375, 0.00738525390625, -0.006622314453125, 0.00872802734375, -0.004730224609375, 0.0063171386...
[ 25318, 38308, 11249, 54, 87, 12765, 2174, 12830, 32316, 7, 23, 29458, 63262, 370, 8705, 10298, 53, 111, 99726, 15296, 12, 1884, 47, 209, 756, 757, 927, 12638, 88303, 32354, 903, 8560, 1081, 100 ]
[ 0.1048583984375, 0.2340087890625, 0.089599609375, 0.06707763671875, 0.062103271484375, 0.24755859375, 0.1123046875, 0.234619140625, 0.2100830078125, 0.05816650390625, 0.11572265625, 0.1580810546875, 0.22607421875, 0.1055908203125, 0.1962890625, 0.1318359375, 0.10308837890625, 0.025...
embed
51080466_c0
51080466
elixir
0
Title: Can&#x27;t access a params key in &quot;conn&quot; Problem title: Can&#x27;t access a params key in &quot;conn&quot; Tags: elixir, phoenix-framework Problem: Can't access a params key in "conn" I have this in my app: defp aaabbbcc(conn, params) do conn = Plug.Conn.fetch_query_params(conn) Logger.info("#{Kernel.i...
Can&#x27;t access a params key in &quot;conn&quot; Can&#x27;t access a params key in &quot;conn&quot; elixir phoenix-framework Can Plug.Conn.fetch_query_params Logger.info Kernel.inspect some_custom_params Plug.Conn Access Can't access a params key in "conn" I have this in my app: Exception: Wasn't the line Plug.Conn.f...
[ -0.00885009765625, 0.00732421875, 0.01220703125, -0.006988525390625, -0.00335693359375, 0.01275634765625, -0.006805419921875, -0.0223388671875, 0.0048828125, -0.0255126953125, 0.018310546875, -0.0146484375, 0.01202392578125, -0.00020122528076171875, -0.021728515625, -0.026123046875, ...
[ 4171, 3768, 18, 17203, 121, 4432, 22799, 23, 2271, 19, 10, 15296, 38308, 53073, 33, 4084, 160328, 18244, 194351, 11935, 29362, 206, 944, 1294, 2500, 8256, 64906, 56, 7319, 119125, 583, 16711, 11680, 5928, 40266, 4027, 63928, 13315, 16, 13...
[ 0.052520751953125, 0.06787109375, 0.06475830078125, 0.1864013671875, 0.18310546875, 0.192626953125, 0.20556640625, 0.054656982421875, 0.17431640625, 0.180419921875, 0.029632568359375, 0.042144775390625, 0.1507568359375, 0.041046142578125, 0.043701171875, 0.10504150390625, 0.087097167...
embed
50699173_c0
50699173
elixir
0
Title: Is it possible to use string interpolation with the pipe operator? Problem title: Is it possible to use string interpolation with the pipe operator? Tags: elixir Problem: Is it possible to use string interpolation with the pipe operator? When, for example, you are mutating a string through several pipe steps and...
Is it possible to use string interpolation with the pipe operator? Is it possible to use string interpolation with the pipe operator? elixir Hello-World String.downcase String.slice String.to_atom var_ Is it possible to use string interpolation with the pipe operator? When, for example, you are mutating a string throug...
[ 0.00299072265625, -0.0086669921875, -0.003753662109375, 0.0255126953125, -0.00250244140625, -0.0020751953125, -0.007049560546875, 0.00921630859375, 0.005096435546875, -0.02001953125, -0.001129150390625, 0.020751953125, 0.0238037109375, 0.01177978515625, 0.0147705078125, 0.0088500976562...
[ 7722, 4527, 79315, 1940, 5877, 2320, 678, 137158, 39933, 442, 15296, 38308, 35378, 70646, 23351, 214, 34695, 58437, 13348, 188, 5928, 285, 2071, 47, 31158, 8305, 40368, 98441, 3444, 15190, 237, 77336, 175399 ]
[ 0.17041015625, 0.1510009765625, 0.25390625, 0.1514892578125, 0.1859130859375, 0.126953125, 0.115478515625, 0.2086181640625, 0.224853515625, 0.03704833984375, 0.0266876220703125, 0.17822265625, 0.119140625, 0.10076904296875, 0.177734375, 0.0733642578125, 0.07342529296875, 0.12817382...
embed
47860047_c0
47860047
elixir
0
Title: Deploy elixir phoenix application to heroku - Can not add buildpack Problem title: Deploy elixir phoenix application to heroku - Can not add buildpack Tags: elixir, web-deployment, phoenix-framework, heroku Problem: Deploy elixir phoenix application to heroku - Can not add buildpack So I am trying to deploy my E...
Deploy elixir phoenix application to heroku - Can not add buildpack Deploy elixir phoenix application to heroku - Can not add buildpack elixir web-deployment phoenix-framework heroku Deploy Can Deploy elixir phoenix application to heroku - Can not add buildpack So I am trying to deploy my Elixir phoenix web application...
[ -0.0086669921875, 0.0196533203125, 0.006866455078125, 0.006988525390625, -0.00689697265625, 0.0302734375, 0.00811767578125, -0.017578125, -0.0159912109375, -0.0133056640625, 0.01007080078125, -0.032958984375, 0.0123291015625, 0.0218505859375, -0.0164794921875, 0.01806640625, -0.02905...
[ 262, 13158, 15296, 38308, 53073, 33, 4084, 38415, 47, 40814, 319, 4171, 959, 15190, 45367, 29102, 1467, 112, 160328, 18244, 53, 31577, 8, 25318, 56889, 25632, 17997, 1106, 425, 29713, 26822, 22014, 90865, 903, 18499 ]
[ 0.0616455078125, 0.1588134765625, 0.09869384765625, 0.2015380859375, 0.1048583984375, 0.141357421875, 0.15478515625, 0.16650390625, 0.09747314453125, 0.15380859375, 0.216796875, 0.09521484375, 0.10589599609375, 0.1414794921875, 0.175048828125, 0.26708984375, 0.1083984375, 0.0238647...
embed
21817774_c0
21817774
elixir
0
Title: How to do patternmatching against HashDict in elixir? Problem title: How to do patternmatching against HashDict in elixir? Tags: pattern-matching, elixir Problem: How to do patternmatching against HashDict in elixir? How can I do pattern matching against HashDict in Elixir? I can not find any decent information ...
How to do patternmatching against HashDict in elixir? How to do patternmatching against HashDict in elixir? pattern-matching elixir How HashDict How to do patternmatching against HashDict in elixir? How can I do pattern matching against HashDict in Elixir? I can not find any decent information anywhere. So example I ha...
[ -0.028076171875, 0.00135040283203125, -0.00933837890625, 0.00885009765625, 0.000766754150390625, -0.00193023681640625, -0.0025634765625, 0.005645751953125, 0.004180908203125, -0.006378173828125, 0.01611328125, 0.004608154296875, 0.005035400390625, 0.028076171875, 0.0196533203125, -0.00...
[ 11249, 47, 54, 103510, 98753, 214, 26548, 162087, 14055, 15390, 23, 15296, 38308, 831, 14858, 25318, 27781, 99091, 77336, 3444, 2046, 116, 3034, 23755, 79520, 18468, 31611, 110, 111, 7108, 3535, 5609, 34292 ]
[ 0.05792236328125, 0.0229339599609375, 0.06494140625, 0.2108154296875, 0.25439453125, 0.1181640625, 0.1876220703125, 0.1480712890625, 0.1563720703125, 0.1339111328125, 0.0306854248046875, 0.06964111328125, 0.218994140625, 0.0241546630859375, 0.2110595703125, 0.0931396484375, 0.0806884...
embed
46600255_c2
46600255
elixir
2
sub.bind, args.outsubport, outsub.setsockopt, zmq.SUBSCRIBE, zmq.ROUTER, inreq.bind, args.inreqport, outref.bind, args.outrefport, req.bind, args.reqport, zmq.PUB, repub.bind, args.repubport, zmq.Poller, poller.register, zmq.POLLIN, UDP, socket.socket, socket.AF_INET, socket.SOCK_DGRAM, cs.setsockopt, socket.SOL_SOCKET...
sub.bind, args.outsubport, outsub.setsockopt, zmq.SUBSCRIBE, zmq.ROUTER, inreq.bind, args.inreqport, outref.bind, args.outrefport, req.bind, args.reqport, zmq.PUB, repub.bind, args.repubport, zmq.Poller, poller.register, zmq.POLLIN, UDP, socket.socket, socket.AF_INET, socket.SOCK_DGRAM, cs.setsockopt, socket.SOL_SOCKET...
[ -0.01019287109375, 0.0068359375, 0.002838134765625, 0.0167236328125, 0.00640869140625, 0.01495361328125, -0.01348876953125, -0.0185546875, 0.03173828125, 0.01507568359375, 0.00506591796875, -0.0074462890625, 0.015380859375, 0.029052734375, -0.0184326171875, 0.0086669921875, -0.009704...
[ 1614, 5, 89817, 4, 79459, 7, 6056, 22144, 6982, 1810, 3509, 991, 60635, 6328, 97, 39, 864, 32338, 14495, 16625, 20090, 14255, 1062, 14755, 23, 107, 73, 628, 55751, 796, 456, 26214, 571, 111596, 73209, 603, 160, 14155, 105199, 120148, 46...
[ 0.2861328125, 0.0458984375, 0.275634765625, 0.0496826171875, 0.2047119140625, 0.03387451171875, 0.17919921875, 0.258544921875, 0.262939453125, 0.1683349609375, 0.1435546875, 0.0594482421875, 0.073486328125, 0.1893310546875, 0.07025146484375, 0.0408935546875, 0.162841796875, 0.17883...
embed
58234227_c0
58234227
elixir
0
Title: compile_time_purge_matching doesn&#x27;t work during testing Problem title: compile_time_purge_matching doesn&#x27;t work during testing Tags: testing, logging, elixir, elixir-mix Problem: compile_time_purge_matching doesn't work during testing The following config.exs config :logger, compile_time_purge_matching...
compile_time_purge_matching doesn&#x27;t work during testing compile_time_purge_matching doesn&#x27;t work during testing testing logging elixir elixir-mix compile_time_purge_matching SomeModule level_lower_than config.exs compile_time_purge_matching doesn't work during testing The following config.exs Above code works...
[ -0.010986328125, 0.0174560546875, -0.019775390625, -0.00262451171875, -0.00482177734375, 0.00653076171875, -0.0133056640625, 0.006317138671875, 0.00078582763671875, 0.01165771484375, -0.0137939453125, 0.0341796875, 0.0059814453125, -0.003265380859375, 0.010009765625, -0.0068359375, -...
[ 9969, 1340, 6032, 4717, 429, 98753, 214, 22027, 18, 4488, 20271, 134234, 3768, 459, 15296, 38308, 62015, 91616, 8782, 17366, 17336, 153837, 3355, 7, 92437, 18151, 43240, 51042, 1295, 128019, 17664, 3034, 123019, 366, 180346, 645, 19040, 555 ]
[ 0.1463623046875, 0.16943359375, 0.181884765625, 0.1810302734375, 0.13232421875, 0.2091064453125, 0.1160888671875, 0.0193023681640625, 0.027557373046875, 0.10986328125, 0.09405517578125, 0.205322265625, 0.008026123046875, 0.055999755859375, 0.04400634765625, 0.1597900390625, 0.1927490...
embed
45379833_c0
45379833
elixir
0
Title: Elixir Date.diff/2 is undefined or private Problem title: Elixir Date.diff/2 is undefined or private Tags: elixir Problem: Elixir Date.diff/2 is undefined or private I am new to Elixir and trying to run some scripts from elixir documentation, testing Date structure gave a strange result because Date.compare(~D[2...
Elixir Date.diff/2 is undefined or private Elixir Date.diff/2 is undefined or private elixir UndefinedFunctionError Elixir Date.diff Date.compare Elixir Date.diff/2 is undefined or private I am new to Elixir and trying to run some scripts from elixir documentation, testing Date structure gave a strange result because D...
[ 0.005828857421875, 0.0030670166015625, -0.00031280517578125, 0.0277099609375, -0.00750732421875, 0.0020904541015625, 0.003143310546875, -0.0021209716796875, 0.000885009765625, -0.00640869140625, -0.019287109375, -0.0107421875, 0.023193359375, 0.0177001953125, 0.0150146484375, -0.015319...
[ 25318, 38308, 25512, 152462, 12477, 9232, 5983, 297, 707, 14375, 15296, 79912, 97249, 18468, 31611, 277, 16082, 83, 11675, 26499, 209806, 134234, 45646, 114453, 397, 4131, 40866, 2485, 6780, 3882, 30646, 152, 1277, 12960, 31577, 5, 903, 18499...
[ 0.10675048828125, 0.2459716796875, 0.166748046875, 0.23779296875, 0.175048828125, 0.103515625, 0.1815185546875, 0.037078857421875, 0.030609130859375, 0.1949462890625, 0.081787109375, 0.08453369140625, 0.1220703125, 0.053192138671875, 0.0074462890625, 0.07879638671875, 0.1844482421875...
embed
44562513_c0
44562513
elixir
0
Title: Email templates using bamboo without phoenix Problem title: Email templates using bamboo without phoenix Tags: plug, email, elixir, bamboo Problem: Email templates using bamboo without phoenix I am working on app in elixir . It sends email to clients. I am using bamboo library for sending emails. So far, emails ...
Email templates using bamboo without phoenix Email templates using bamboo without phoenix plug email elixir bamboo bamboo Email bamboo.phoenix Email templates using bamboo without phoenix I am working on app in elixir . It sends email to clients. I am using bamboo library for sending emails. So far, emails are working ...
[ -0.0002994537353515625, 0.0225830078125, -0.00555419921875, 0.0076904296875, -0.0140380859375, 0.0191650390625, -0.019287109375, -0.01226806640625, -0.005767822265625, -0.035888671875, -0.00933837890625, -0.00592041015625, 0.0054931640625, 0.004180908203125, 0.031494140625, -0.00738525...
[ 14886, 110934, 7, 17368, 81020, 54487, 15490, 53073, 33, 4084, 76329, 3340, 15296, 38308, 22014, 20697, 4027, 25379, 19802, 35773, 135834, 2060, 5885, 31577, 209806, 5, 959, 45064, 50336, 3917, 23 ]
[ 0.1553955078125, 0.2489013671875, 0.0220947265625, 0.0833740234375, 0.1226806640625, 0.21435546875, 0.154052734375, 0.07427978515625, 0.1209716796875, 0.130859375, 0.1573486328125, 0.14208984375, 0.045989990234375, 0.1456298828125, 0.07427978515625, 0.05078125, 0.0849609375, 0.0916...
embed
75340102_c0
75340102
elixir
0
Title: Mystery output in elixir Problem title: Mystery output in elixir Tags: elixir Problem: Mystery output in elixir def factorize(number) do test = factors(number) Enum.filter(test,fn x -> prime?(x) == true end) end def prime?(n) do [1,n] === factors(n) end def factors(1), do: [1] def factors(n) when n < 1 do "Pleas...
Mystery output in elixir Mystery output in elixir elixir Mystery Enum.filter Please Mystery output in elixir I have these three functions and if I run factorize(13) or any other prime I get a '\r' or other random output and I don't understand why.
[ -0.00457763671875, 0.007568359375, -0.013671875, 0.0029144287109375, 0.01220703125, 0.0145263671875, 0.01483154296875, -0.004669189453125, -0.0078125, 0.01007080078125, 0.02294921875, -0.0086669921875, 0.000225067138671875, 0.00628662109375, -0.01397705078125, -0.0050048828125, -0.00...
[ 2646, 1515, 53, 140992, 23, 15296, 38308, 357, 316, 120337, 30607, 765, 6097, 17262, 32354, 2174, 11675, 31461, 20650, 63258, 20809, 2046, 10, 41872, 42, 707, 3789, 96759, 2301, 18, 28219, 15400 ]
[ 0.1068115234375, 0.207275390625, 0.0897216796875, 0.2401123046875, 0.05560302734375, 0.1307373046875, 0.27685546875, 0.09088134765625, 0.1724853515625, 0.2286376953125, 0.08544921875, 0.026947021484375, 0.0382080078125, 0.133056640625, 0.1708984375, 0.006683349609375, 0.10595703125, ...
embed
49670548_c1
49670548
elixir
1
.1", :"tlsv1.2"], # or {":system", ALLOWED_TLS_VERSIONS"} w/ comma seprated values (e.g. "tlsv1.1,tlsv1.2") ssl: false, # can be `true` retries: 1, no_mx_lookups: false # can be `true` What am I doing wrong? Please help. Code signals: Bamboo.SMTPAdapter.SMTPError, Bamboo, Send, your_email_address, There, SMTP, retries_...
.1", :"tlsv1.2"], # or {":system", ALLOWED_TLS_VERSIONS"} w/ comma seprated values (e.g. "tlsv1.1,tlsv1.2") ssl: false, # can be `true` retries: 1, no_mx_lookups: false # can be `true` What am I doing wrong? Please help. Code signals: Bamboo.SMTPAdapter.SMTPError, Bamboo, Send, your_email_address, There, SMTP, retries_...
[ -0.006072998046875, 0.0281982421875, 0.01470947265625, -0.00885009765625, 0.0045166015625, -0.0260009765625, -0.0255126953125, 0.006683349609375, 0.0017547607421875, 0.05322265625, 0.00616455078125, -0.0030670166015625, -0.00034332275390625, -0.0078125, 0.0037384033203125, -0.002838134...
[ 5, 418, 8080, 334, 48400, 468, 707, 12, 16751, 58837, 168891, 397, 41445, 294, 33255, 118596, 96117, 40, 32246, 297, 142424, 18, 92134, 91, 24861, 98320, 831, 9774, 10267, 10484, 106, 110, 425, 64747, 444, 87, 20594, 44691, 4358, 28864, ...
[ 0.07598876953125, 0.06207275390625, 0.1336669921875, 0.17626953125, 0.163818359375, 0.076171875, 0.0247344970703125, 0.014373779296875, 0.147216796875, 0.05731201171875, 0.133056640625, 0.06109619140625, 0.17431640625, 0.08905029296875, 0.1280517578125, 0.08642578125, 0.2100830078125...
embed
73728683_c0
73728683
elixir
0
Title: how to write document for defp function? Problem title: how to write document for defp function? Tags: elixir Problem: how to write document for defp function? when adding document to private function by @doc , in vscode compiler gives the warning message. I can't find @docp for @doc . defp check_subscript!/3 is...
how to write document for defp function? how to write document for defp function? elixir check_subscript is_integer how to write document for defp function? when adding document to private function by @doc , in vscode compiler gives the warning message. I can't find @docp for @doc . function is as follows:
[ -0.01165771484375, 0.0223388671875, 0.00677490234375, 0.017333984375, 0.004669189453125, 0.01025390625, -0.011962890625, -0.0147705078125, -0.00921630859375, 0.022216796875, 0.0228271484375, -0.00933837890625, 0.00848388671875, 0.0174560546875, 0.016845703125, 0.000522613525390625, 0...
[ 3642, 33022, 12937, 100, 8, 420, 254, 32354, 47, 15296, 38308, 12765, 22144, 32032, 83, 6191, 1505, 154107, 14375, 1374, 29713, 20209, 40899, 9969, 34759, 1631, 592, 26008, 831, 7413, 28960 ]
[ 0.0714111328125, 0.18994140625, 0.2288818359375, 0.10357666015625, 0.1795654296875, 0.1343994140625, 0.1787109375, 0.20068359375, 0.051727294921875, 0.05596923828125, 0.1871337890625, 0.1732177734375, 0.1416015625, 0.207763671875, 0.08001708984375, 0.1243896484375, 0.1109619140625, ...
embed
49841139_c0
49841139
elixir
0
Title: Elixir map to proper(unescaped) json Problem title: Elixir map to proper(unescaped) json Tags: elixir Problem: Elixir map to proper(unescaped) json How to conver elixir map to normal JSON that I can use in instagram/slack urls? Doing Poison.encode!(map) converts it to something like "{\"key\":3}" which gets reje...
Elixir map to proper(unescaped) json Elixir map to proper(unescaped) json elixir Elixir Poison.encode IO.puts example.com Elixir map to proper(unescaped) json How to conver elixir map to normal JSON that I can use in instagram/slack urls? Doing Poison.encode!(map) converts it to something like "{\"key\":3}" which gets ...
[ -0.0069580078125, -0.0084228515625, -0.00006008148193359375, -0.00341796875, -0.034423828125, 0.00004029273986816406, 0.006561279296875, 0.018310546875, -0.00494384765625, 0.00543212890625, -0.000316619873046875, -0.0034332275390625, 0.029296875, 0.02783203125, 0.015380859375, -0.00233...
[ 25318, 38308, 22288, 47, 27798, 1811, 98224, 71, 1647, 1681, 15296, 64249, 191, 33, 40899, 17780, 7077, 27781, 158, 814, 3638, 821, 58627, 4527, 68246, 123660, 25002, 62346, 96760, 19770, 363, 34590, 31470, 3564, 38496, 71403, 831, 95486, 1...
[ 0.127685546875, 0.287841796875, 0.2330322265625, 0.1317138671875, 0.1937255859375, 0.06353759765625, 0.21826171875, 0.05224609375, 0.125732421875, 0.2015380859375, 0.1171875, 0.2196044921875, 0.1845703125, 0.0712890625, 0.2208251953125, 0.1524658203125, 0.1409912109375, 0.147460937...
embed
68055769_c0
68055769
elixir
0
Title: What does double backslash mean in elixir? Problem title: What does double backslash mean in elixir? Tags: elixir Problem: What does double backslash mean in elixir? I looked upon the internet about what double backslash means in elixir. And I came across a code where it is used. But I am still am unable to unde...
What does double backslash mean in elixir? What does double backslash mean in elixir? elixir What Concat IO.puts Concat.join Hello Hello_world What does double backslash mean in elixir? I looked upon the internet about what double backslash means in elixir. And I came across a code where it is used. But I am still am u...
[ 0.0264892578125, -0.0023651123046875, 0.002105712890625, 0.0155029296875, 0.01300048828125, 0.034423828125, 0.00689697265625, 0.009765625, 0.015869140625, 0.0026092529296875, -0.00115203857421875, -0.0281982421875, 0.016357421875, 0.000934600830078125, -0.0220947265625, 0.0006561279296...
[ 4865, 14602, 41929, 4420, 7, 5544, 29459, 23, 15296, 38308, 1657, 4460, 17780, 7077, 513, 73, 35378, 32554, 2367, 26950, 18151, 11814, 28219, 27781, 35064 ]
[ 0.07159423828125, 0.062042236328125, 0.2156982421875, 0.208740234375, 0.07977294921875, 0.2098388671875, 0.134765625, 0.071044921875, 0.10736083984375, 0.2230224609375, 0.09210205078125, 0.1959228515625, 0.1387939453125, 0.04736328125, 0.099853515625, 0.04132080078125, 0.132568359375...
embed
42207425_c0
42207425
elixir
0
Title: How to create decentralized reference for File.stream? Problem title: How to create decentralized reference for File.stream? Tags: elixir Problem: How to create decentralized reference for File.stream? Its common that after creating a stream, people will run the stream to start streaming! sounds direct. Like: Fi...
How to create decentralized reference for File.stream? How to create decentralized reference for File.stream? elixir How File.stream Stream.run How to create decentralized reference for File.stream? Its common that after creating a stream, people will run the stream to start streaming! sounds direct. Like: But, how can...
[ 0.0272216796875, 0.013671875, 0.0020294189453125, 0.002899169921875, 0.0177001953125, -0.027587890625, -0.007110595703125, -0.0244140625, 0.00604248046875, -0.04736328125, -0.0025634765625, 0.00933837890625, 0.01153564453125, 0.050048828125, 0.0118408203125, -0.0033111572265625, 0.00...
[ 11249, 47, 28282, 8, 58905, 29367, 91067, 100, 42724, 5, 86429, 15296, 38308, 115061, 16428, 39210, 7103, 105233, 75973, 11675, 4034, 65296, 102678, 8951, 3642, 831, 1305, 85781, 51042, 24189, 3871, 3917, 1957, 68067, 4527, 14432, 7722, 31577...
[ 0.100830078125, 0.0279388427734375, 0.1846923828125, 0.164306640625, 0.2181396484375, 0.1517333984375, 0.275390625, 0.05621337890625, 0.2440185546875, 0.0258636474609375, 0.259765625, 0.08306884765625, 0.2088623046875, 0.2181396484375, 0.133544921875, 0.04632568359375, 0.038024902343...
embed
29967086_c0
29967086
elixir
0
Title: Are Elixir variables really immutable? Problem title: Are Elixir variables really immutable? Tags: elixir, immutability Problem: Are Elixir variables really immutable? In Dave Thomas's book Programming Elixir he states "Elixir enforces immutable data" and goes on to say: In Elixir, once a variable references a l...
Are Elixir variables really immutable? Are Elixir variables really immutable? elixir immutability Elixir Are Elixir variables really immutable? In Dave Thomas's book Programming Elixir he states "Elixir enforces immutable data" and goes on to say: This sounds like "it won't ever change unless you change it" so I'm conf...
[ 0.0086669921875, 0.005279541015625, -0.003173828125, 0.0064697265625, 0.00897216796875, 0.0224609375, -0.0003662109375, 0.01055908203125, -0.0042724609375, 0.0184326171875, 0.0020904541015625, -0.00011444091796875, 0.0084228515625, 0.025390625, 0.0191650390625, 0.01708984375, -0.0089...
[ 15901, 25318, 38308, 77336, 6183, 566, 561, 22819, 15296, 14311, 41159, 7, 103383, 14978, 12877, 27958, 647, 150, 22, 50930, 2053, 102678, 23742, 18, 17669, 15549, 117934, 55681, 60212, 17721, 21144, 136, 128239, 27781, 127308, 98893 ]
[ 0.0108642578125, 0.133544921875, 0.275390625, 0.26123046875, 0.128173828125, 0.09210205078125, 0.1689453125, 0.1434326171875, 0.07672119140625, 0.1822509765625, 0.169189453125, 0.01861572265625, 0.122314453125, 0.142333984375, 0.04705810546875, 0.106201171875, 0.04241943359375, 0.1...
embed
43569863_c0
43569863
elixir
0
Title: Is there a tool in Elixir that can display a break down of how an expression is evaluated? Problem title: Is there a tool in Elixir that can display a break down of how an expression is evaluated? Tags: elixir Problem: Is there a tool in Elixir that can display a break down of how an expression is evaluated? I h...
Is there a tool in Elixir that can display a break down of how an expression is evaluated? Is there a tool in Elixir that can display a break down of how an expression is evaluated? elixir Elixir Enum.map Enum.intersperse Is there a tool in Elixir that can display a break down of how an expression is evaluated? I have ...
[ -0.00885009765625, -0.005401611328125, -0.008544921875, 0.02490234375, -0.01129150390625, 0.0260009765625, 0.012451171875, -0.01104736328125, 0.005279541015625, -0.005096435546875, 0.0006561279296875, 0.01318359375, 0.016357421875, 0.019287109375, 0.002349853515625, -0.0034942626953125...
[ 55516, 23, 25318, 38308, 831, 44116, 10, 36356, 7565, 111, 3642, 125195, 151575, 297, 15296, 357, 316, 62346, 10433, 20595, 184, 2685, 83, 1632, 79852, 26785, 6002, 86531, 903, 34695 ]
[ 0.2452392578125, 0.07012939453125, 0.129150390625, 0.254638671875, 0.040496826171875, 0.1685791015625, 0.04541015625, 0.143798828125, 0.1451416015625, 0.06011962890625, 0.097900390625, 0.2457275390625, 0.2001953125, 0.1014404296875, 0.058685302734375, 0.0316162109375, 0.142333984375,...
embed
30385287_c2
30385287
elixir
2
0.065892", "-0.029419", "0.03784", "0.064259", "0.044593", "-0.0024933", "-0.053087", "-0.0779", "-0.083477", "-0.084059", "-0.084085", "-0.084085", "-0.083913", "-0.081747", "-0.071199", "-0.046784", "-0.016896", "0.016849", "0.063589", "0.081406", "0.07693", "0.050708", "-0.0032174", "-0.054017", "-0.078116", "-0.083...
0.065892", "-0.029419", "0.03784", "0.064259", "0.044593", "-0.0024933", "-0.053087", "-0.0779", "-0.083477", "-0.084059", "-0.084085", "-0.084085", "-0.083913", "-0.081747", "-0.071199", "-0.046784", "-0.016896", "0.016849", "0.063589", "0.081406", "0.07693", "0.050708", "-0.0032174", "-0.054017", "-0.078116", "-0.083...
[ 0.0045166015625, -0.01080322265625, -0.032470703125, 0.01611328125, 0.000820159912109375, 0.0123291015625, 0.00994873046875, 0.0155029296875, 0.01165771484375, 0.03955078125, -0.0011138916015625, -0.0115966796875, -0.001312255859375, -0.0185546875, -0.006805419921875, 0.00811767578125,...
[ 89678, 192066, 12231, 830, 44, 9, 99929, 4235, 617, 2947, 363, 157054, 171701, 12975, 4633, 11591, 37509, 2357, 23320, 5, 8194, 1197, 19308, 104656, 17168, 158657, 8318, 2839, 12951, 9323, 2681, 13556, 139091, 15770, 165217, 9271, 182149, 160...
[ 0.246337890625, 0.28466796875, 0.249755859375, 0.1409912109375, 0.084716796875, 0.2215576171875, 0.2186279296875, 0.1983642578125, 0.1282958984375, 0.16162109375, 0.1429443359375, 0.2470703125, 0.1759033203125, 0.1619873046875, 0.05926513671875, 0.1654052734375, 0.2169189453125, 0....
embed
35448718_c2
35448718
elixir
2
phoenix_live_reload, Aliases, ecto.setup, See, Mix, ecto.create, ecto.migrate, seeds.exs, ecto.reset, ecto.drop, Define, localhost:4001, app_host, app_port, Start, Use, Chrome, PhantomJs, ChromeDriver, chrome_driver, HelloPhoenix.SampleTest, HelloPhoenix.ConnCase, Hound.Helpers, hound_session, IO.puts, GET, navigate_t...
phoenix_live_reload, Aliases, ecto.setup, See, Mix, ecto.create, ecto.migrate, seeds.exs, ecto.reset, ecto.drop, Define, localhost:4001, app_host, app_port, Start, Use, Chrome, PhantomJs, ChromeDriver, chrome_driver, HelloPhoenix.SampleTest, HelloPhoenix.ConnCase, Hound.Helpers, hound_session, IO.puts, GET, navigate_t...
[ -0.006927490234375, 0.02099609375, 0.0150146484375, 0.01214599609375, 0.00115203857421875, 0.005767822265625, -0.01080322265625, 0.0003986358642578125, -0.00238037109375, -0.052490234375, 0.0014801025390625, -0.002960205078125, 0.0081787109375, -0.000705718994140625, 0.025146484375, 0....
[ 53073, 33, 4084, 454, 24056, 107, 63033, 4, 2132, 162, 90, 60751, 5, 3509, 2037, 6872, 37286, 7612, 2182, 58849, 17957, 40, 297, 3355, 2109, 126, 138810, 262, 64552, 4000, 40294, 22932, 6746, 4027, 6982, 13794, 36836, 32178, 206640, 1375,...
[ 0.1435546875, 0.1788330078125, 0.2010498046875, 0.013214111328125, 0.2110595703125, 0.101318359375, 0.2420654296875, 0.05621337890625, 0.169677734375, 0.1341552734375, 0.099853515625, 0.2115478515625, 0.0477294921875, 0.11767578125, 0.0867919921875, 0.2030029296875, 0.167724609375, ...
embed
42251540_c0
42251540
elixir
0
Title: Can I parse long arguments with Elixir&#x27;s built-in OptionParser? Problem title: Can I parse long arguments with Elixir&#x27;s built-in OptionParser? Tags: elixir, arguments Problem: Can I parse long arguments with Elixir's built-in OptionParser? I am using Elixir's OptionParser , but I am having problems par...
Can I parse long arguments with Elixir&#x27;s built-in OptionParser? Can I parse long arguments with Elixir&#x27;s built-in OptionParser? elixir arguments Can Elixir OptionParser OptionParser.parse Unknown Can I parse long arguments with Elixir's built-in OptionParser? I am using Elixir's OptionParser , but I am having...
[ 0.017333984375, 0.01373291015625, 0.00145721435546875, 0.01220703125, 0.010986328125, -0.002532958984375, 0.009521484375, -0.005706787109375, 0.0037384033203125, 0.0079345703125, -0.01116943359375, -0.005218505859375, 0.006500244140625, 0.007110595703125, -0.009033203125, 0.00427246093...
[ 4171, 87, 366, 184, 4989, 10750, 7, 678, 25318, 38308, 3768, 88303, 73, 86769, 28636, 2189, 15296, 2500, 992, 69723, 17368, 44402, 6953, 381, 5252, 176005, 1884, 959, 48903, 4488, 35829, 93002, 7722, 209303 ]
[ 0.078369140625, 0.03216552734375, 0.1546630859375, 0.1103515625, 0.1485595703125, 0.2130126953125, 0.065673828125, 0.05902099609375, 0.09564208984375, 0.2406005859375, 0.03662109375, 0.099365234375, 0.0985107421875, 0.1793212890625, 0.155029296875, 0.1585693359375, 0.043365478515625,...
embed
68548702_c0
68548702
elixir
0
Title: Elixir custom task does not show up on &quot;mix help&quot; Problem title: Elixir custom task does not show up on &quot;mix help&quot; Tags: elixir-mix, elixir Problem: Elixir custom task does not show up on "mix help" Is the following code not enough to list a custom task on mix help ? defmodule Mix.Tasks.Start...
Elixir custom task does not show up on &quot;mix help&quot; Elixir custom task does not show up on &quot;mix help&quot; elixir-mix elixir Elixir Mix.Tasks.Start Mix.Task Starts App IO.puts Starting Elixir custom task does not show up on "mix help" Is the following code not enough to list a custom task on mix help ? I t...
[ 0.0198974609375, 0.0186767578125, 0.01361083984375, 0.025390625, -0.01153564453125, 0.02099609375, -0.0028076171875, -0.01470947265625, 0.00128173828125, 0.023681640625, -0.005126953125, -0.02099609375, -0.0157470703125, 0.0235595703125, 0.00787353515625, 0.01141357421875, 0.00279235...
[ 25318, 38308, 114122, 66211, 959, 7639, 1257, 98, 62015, 4358, 15296, 37286, 9874, 1042, 126597, 13794, 5659, 17780, 7077, 25632, 18151, 20174, 5303, 17664, 17569, 65177, 1290, 186500, 29713, 456, 58875, 1340, 8035, 145870 ]
[ 0.1143798828125, 0.2430419921875, 0.2171630859375, 0.224365234375, 0.113525390625, 0.10406494140625, 0.056488037109375, 0.045166015625, 0.2015380859375, 0.189453125, 0.069091796875, 0.1962890625, 0.1607666015625, 0.11279296875, 0.0791015625, 0.0823974609375, 0.048583984375, 0.06616...
embed
46963124_c2
46963124
elixir
2
wss, 'broker.dexyde.com', 443, '/socket/websocket?user_token=SFMyNTY.g3QAAAACZAAEZGF0YW4HAIClCS9hXAVkAAZzaWduZWRuBgC9YkVUXwE.ZRbhkBm4BxzGEXLynPpfXDuGTcuZQMdhgcJszmZd3zo'}, {Phoenix.Channels.GenSocketClient.Transport.WebSocketClient, %{keepalive: 30000, socket: #PID<0.469.0>}}, <<31, 139, 8, 0, 0, 0, 0, 0, 0, 3, 188, 18...
wss, 'broker.dexyde.com', 443, '/socket/websocket?user_token=SFMyNTY.g3QAAAACZAAEZGF0YW4HAIClCS9hXAVkAAZzaWduZWRuBgC9YkVUXwE.ZRbhkBm4BxzGEXLynPpfXDuGTcuZQMdhgcJszmZd3zo'}, {Phoenix.Channels.GenSocketClient.Transport.WebSocketClient, %{keepalive: 30000, socket: #PID<0.469.0>}}, <<31, 139, 8, 0, 0, 0, 0, 0, 0, 3, 188, 18...
[ 0.005157470703125, 0.036376953125, -0.0145263671875, -0.004119873046875, 0.0064697265625, -0.0120849609375, -0.0037994384765625, 0.00909423828125, -0.005584716796875, -0.00848388671875, -0.0120849609375, -0.002197265625, 0.0185546875, 0.005615234375, -0.016845703125, 0.00531005859375, ...
[ 148, 7, 6369, 1728, 39659, 53, 112, 277, 126384, 991, 27853, 14051, 65918, 6448, 27143, 497, 33, 4084, 127008, 8876, 105376, 8912, 150, 62624, 6982, 30474, 2517, 50453, 46363, 28568, 221, 683, 7146, 121254, 14212, 5016, 58166, 382, 757, 1...
[ 0.0867919921875, 0.12841796875, 0.1417236328125, 0.12060546875, 0.1253662109375, 0.08465576171875, 0.2054443359375, 0.037628173828125, 0.2364501953125, 0.104736328125, 0.159912109375, 0.06640625, 0.1239013671875, 0.1021728515625, 0.04754638671875, 0.0145111083984375, 0.066650390625, ...
embed
39463710_c0
39463710
elixir
0
Title: Passing raw SQL query as an argument to Repo.all() in Ecto Problem title: Passing raw SQL query as an argument to Repo.all() in Ecto Tags: elixir, sql, ecto Problem: Passing raw SQL query as an argument to Repo.all() in Ecto Ecto.Adapters.SQL.query(Repo, "Select * from table", []) seems to execute the query and ...
Passing raw SQL query as an argument to Repo.all() in Ecto Passing raw SQL query as an argument to Repo.all() in Ecto elixir sql ecto table Passing SQL Repo.all Ecto Ecto.Adapters.SQL.query Repo Select Passing raw SQL query as an argument to Repo.all() in Ecto Ecto.Adapters.SQL.query(Repo, "Select * from table", []) se...
[ 0.0130615234375, 0.005401611328125, -0.0024566650390625, 0.032470703125, -0.0135498046875, -0.0057373046875, -0.0186767578125, -0.0089111328125, -0.0181884765625, -0.02734375, 0.01904296875, 0.0006866455078125, -0.0147705078125, 0.038330078125, -0.0220947265625, 0.01202392578125, -0....
[ 28872, 49649, 80866, 41, 1294, 237, 10750, 47, 853, 771, 5584, 241, 44150, 15296, 38308, 99247, 60751, 23180, 22409, 2631, 23962, 158897, 944, 51620, 4332, 294, 100184, 661, 1295, 37202, 71924, 30646, 2053, 3917, 61924, 35509, 115081, 132, ...
[ 0.146484375, 0.2191162109375, 0.2034912109375, 0.148681640625, 0.1357421875, 0.06524658203125, 0.2509765625, 0.0740966796875, 0.151123046875, 0.22314453125, 0.1688232421875, 0.0673828125, 0.2342529296875, 0.038543701171875, 0.1474609375, 0.173095703125, 0.177978515625, 0.1606445312...
embed
65141941_c0
65141941
elixir
0
Title: Can I send a string to the system pager in Elixir? Problem title: Can I send a string to the system pager in Elixir? Tags: elixir, pager, shell Problem: Can I send a string to the system pager in Elixir? I'm writing a little command-line app in Elixir, and trying to display some data in a paged format, similar t...
Can I send a string to the system pager in Elixir? Can I send a string to the system pager in Elixir? elixir pager shell Can Elixir System.cmd Erlang os.cmd Silently Can I send a string to the system pager in Elixir? I'm writing a little command-line app in Elixir, and trying to display some data in a paged format, sim...
[ 0.00726318359375, 0.031982421875, -0.01470947265625, 0.02490234375, 0.0185546875, 0.0159912109375, 0.0002880096435546875, -0.03076171875, -0.00848388671875, 0.00982666015625, 0.0194091796875, 0.0196533203125, -0.00152587890625, 0.01226806640625, 0.009521484375, -0.0026702880859375, -...
[ 4171, 25379, 79315, 47, 5426, 2070, 56, 23, 25318, 38308, 87, 10, 15296, 128019, 12353, 3931, 71, 1004, 3066, 362, 602, 22042, 538, 70, 32562, 10176, 75101, 2256, 4027, 44116, 2053, 9384, 21373, 62270, 12684, 51515, 88303, 130732, 79786 ]
[ 0.081787109375, 0.1578369140625, 0.237060546875, 0.1319580078125, 0.165771484375, 0.171630859375, 0.1668701171875, 0.06103515625, 0.1153564453125, 0.263916015625, 0.0197601318359375, 0.038116455078125, 0.07403564453125, 0.179931640625, 0.159912109375, 0.1220703125, 0.01751708984375, ...
embed
55813085_c0
55813085
elixir
0
Title: Elixir - Timex detecting when British Summer Time starts and ends Problem title: Elixir - Timex detecting when British Summer Time starts and ends Tags: timezone, elixir, timex Problem: Elixir - Timex detecting when British Summer Time starts and ends I found out that Timex.Timezone.convert(t, "Europe/London") r...
Elixir - Timex detecting when British Summer Time starts and ends Elixir - Timex detecting when British Summer Time starts and ends timezone elixir timex Elixir Timex British Summer Time Timex.Timezone.convert Europe London DateTime Elixir - Timex detecting when British Summer Time starts and ends I found out that Time...
[ 0.010009765625, 0.00634765625, 0.024658203125, 0.011962890625, 0.0133056640625, -0.0032806396484375, 0.005706787109375, 0.0205078125, -0.01470947265625, -0.00396728515625, 0.0234375, 0.0341796875, 0.01275634765625, 0.024658203125, 0.0233154296875, -0.009033203125, 0.00372314453125, ...
[ 25318, 38308, 20, 19055, 425, 96391, 214, 3229, 56101, 79428, 4034, 136, 3564, 7, 1733, 18979, 15296, 70059, 2271, 11549, 14713, 9020, 25512, 5, 18, 99733, 64, 231454, 30646, 36746, 111, 903, 9384, 86291, 32196, 40866, 2357, 618, 2489, 66...
[ 0.1146240234375, 0.255615234375, 0.004058837890625, 0.2086181640625, 0.2275390625, 0.1314697265625, 0.01171875, 0.050872802734375, 0.1923828125, 0.2120361328125, 0.08392333984375, 0.0716552734375, 0.181396484375, 0.0684814453125, 0.190673828125, 0.1971435546875, 0.057373046875, 0.2...
embed
36701671_c0
36701671
elixir
0
Title: How do you configure the log files written to rel/myproject/log? Problem title: How do you configure the log files written to rel/myproject/log? Tags: elixir, exrm Problem: How do you configure the log files written to rel/myproject/log? I've built my Elixir project and made a release with EXRM. When I copied it...
How do you configure the log files written to rel/myproject/log? How do you configure the log files written to rel/myproject/log? elixir exrm How How do you configure the log files written to rel/myproject/log? I've built my Elixir project and made a release with EXRM. When I copied it to a target server and started it...
[ -0.004608154296875, 0.033203125, -0.0021209716796875, -0.00142669677734375, 0.00054931640625, -0.007476806640625, -0.004974365234375, -0.00183868408203125, 0.018310546875, 0.03564453125, 0.00732421875, -0.0026397705078125, 0.00482177734375, -0.00823974609375, 0.011962890625, -0.0048217...
[ 11249, 54, 222495, 12684, 102158, 59121, 47, 7962, 1176, 95322, 4867, 15296, 38308, 1119, 42, 39, 64, 88303, 25318, 13452, 54452, 678, 29426, 25656, 71200, 30388, 10723, 26859, 17723, 21771, 3540, 109561, 130250, 140992, 56, 3066, 5, 418, 1...
[ 0.0628662109375, 0.047332763671875, 0.2471923828125, 0.2178955078125, 0.2109375, 0.1153564453125, 0.08978271484375, 0.188720703125, 0.078369140625, 0.1617431640625, 0.2071533203125, 0.0836181640625, 0.2496337890625, 0.0648193359375, 0.064697265625, 0.080078125, 0.006072998046875, 0...
embed
43071062_c0
43071062
elixir
0
Title: a 3 level deep relationship in Ecto -- how to preload Problem title: a 3 level deep relationship in Ecto -- how to preload Tags: phoenix-framework, elixir, ecto Problem: a 3 level deep relationship in Ecto -- how to preload I have quite a several level relationship of models in my project. In a controller I have...
a 3 level deep relationship in Ecto -- how to preload a 3 level deep relationship in Ecto -- how to preload phoenix-framework elixir ecto Ecto var1 Repo.get Model1 Repo.preload child_items1 child_items2 child_items3 a 3 level deep relationship in Ecto -- how to preload I have quite a several level relationship of model...
[ 0.004425048828125, -0.0179443359375, -0.01953125, 0.0123291015625, 0.015380859375, 0.012451171875, -0.0228271484375, -0.00616455078125, 0.01434326171875, -0.058349609375, 0.010009765625, -0.0133056640625, 0.006072998046875, 0.026611328125, 0.00732421875, -0.00830078125, -0.0261230468...
[ 138, 17366, 53894, 76755, 241, 44150, 3642, 479, 63033, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 285, 853, 771, 13293, 4692, 29041, 1486, 363, 23, 40368, 115774, 13452, 185373, 43240, 5885, 1632, 56, 12638, 304, 5941, 4432 ]
[ 0.171630859375, 0.224853515625, 0.17041015625, 0.1856689453125, 0.08721923828125, 0.276611328125, 0.04150390625, 0.1595458984375, 0.218994140625, 0.00628662109375, 0.03302001953125, 0.0821533203125, 0.07623291015625, 0.0192108154296875, 0.037322998046875, 0.1612548828125, 0.223876953...
embed
39704772_c0
39704772
elixir
0
Title: Elixir receive message: how do I run multiple statements? Problem title: Elixir receive message: how do I run multiple statements? Tags: elixir Problem: Elixir receive message: how do I run multiple statements? How do I code multiple statements in a single Elixir receive do pattern match? This works: def pong se...
Elixir receive message: how do I run multiple statements? Elixir receive message: how do I run multiple statements? elixir Elixir IO.puts Elixir receive message: how do I run multiple statements? How do I code multiple statements in a single Elixir receive do pattern match? This works: But what if I cannot put them all...
[ -0.00982666015625, 0.001861572265625, -0.0238037109375, 0.032470703125, -0.009033203125, 0.014404296875, 0.00482177734375, 0.01226806640625, 0.022705078125, -0.01153564453125, 0.009521484375, -0.0252685546875, 0.013427734375, 0.0167236328125, 0.0220947265625, 0.016845703125, -0.00115...
[ 25318, 38308, 53299, 26008, 3642, 11675, 48716, 63805, 7, 15296, 17780, 7077, 18151, 11001, 54, 103510, 14858, 43240, 13315, 1620, 27853, 3564, 70731, 4488 ]
[ 0.09619140625, 0.2276611328125, 0.1756591796875, 0.10235595703125, 0.0341796875, 0.1568603515625, 0.2098388671875, 0.225830078125, 0.0330810546875, 0.039794921875, 0.114501953125, 0.0240936279296875, 0.135986328125, 0.0623779296875, 0.074951171875, 0.1358642578125, 0.10577392578125, ...
embed
19636547_c0
19636547
elixir
0
Title: Elixir - find sub-bitstring within larger bitstring Problem title: Elixir - find sub-bitstring within larger bitstring Tags: erlang, elixir, bitstring, substring, testing Problem: Elixir - find sub-bitstring within larger bitstring How would I go about finding if a sub-bitstring is present with another bitstring...
Elixir - find sub-bitstring within larger bitstring Elixir - find sub-bitstring within larger bitstring erlang elixir bitstring substring testing Elixir some_substring_function Elixir - find sub-bitstring within larger bitstring How would I go about finding if a sub-bitstring is present with another bitstring in Elixir...
[ 0.01397705078125, 0.006072998046875, 0.00408935546875, 0.0277099609375, -0.00506591796875, 0.01495361328125, 0.0169677734375, 0.01190185546875, 0.01251220703125, -0.00726318359375, 0.006500244140625, -0.00531005859375, 0.006195068359375, 0.0081787109375, 0.01556396484375, 0.00221252441...
[ 25318, 38308, 7413, 1614, 3137, 91693, 28032, 150679, 4785, 72, 3066, 15296, 134234, 3060, 196842, 2852, 137175, 2806, 738, 1672, 90791, 2174, 10, 9, 13379, 678, 15700, 23, 3871, 493, 1193, 32316, 174653, 990, 60042, 8781, 3917, 54, 903, ...
[ 0.12060546875, 0.255126953125, 0.117919921875, 0.2022705078125, 0.127685546875, 0.2156982421875, 0.1414794921875, 0.1024169921875, 0.124755859375, 0.012542724609375, 0.13916015625, 0.07275390625, 0.1783447265625, 0.090087890625, 0.09674072265625, 0.1434326171875, 0.1519775390625, 0...
embed
30297825_c0
30297825
elixir
0
Title: Disable Elixir Ecto Debug output Problem title: Disable Elixir Ecto Debug output Tags: debugging, elixir, ecto Problem: Disable Elixir Ecto Debug output Whatever in iex> or using mix run -e "My.code" when I run the mix project using ecto, the Ecto's Debugging Mechanism display a bunch of SQLs like below 16:42:12...
Disable Elixir Ecto Debug output Disable Elixir Ecto Debug output debugging elixir ecto Disable Elixir Ecto Debug My.code SELECT WHERE account_name Disable Elixir Ecto Debug output Whatever in iex> or using mix run -e "My.code" when I run the mix project using ecto, the Ecto's Debugging Mechanism display a bunch of SQL...
[ 0.0233154296875, 0.01275634765625, 0.00579833984375, 0.00628662109375, 0.00982666015625, 0.0068359375, -0.041259765625, 0.01483154296875, -0.005767822265625, -0.020751953125, 0.02880859375, -0.0201416015625, 0.0303955078125, 0.030029296875, 0.004425048828125, 0.01202392578125, -0.022...
[ 6206, 2886, 25318, 38308, 241, 44150, 262, 85779, 140992, 8, 978, 15296, 60751, 2646, 40899, 144832, 15426, 11627, 17, 3355, 17664, 11675, 13, 31852, 13452, 36659, 1215, 17032, 8780, 44116, 147306, 80866, 35064, 13319, 3871, 176683, 831, 1550...
[ 0.09814453125, 0.17822265625, 0.107666015625, 0.218017578125, 0.1263427734375, 0.30517578125, 0.1488037109375, 0.2822265625, 0.2010498046875, 0.177001953125, 0.209716796875, 0.07012939453125, 0.2332763671875, 0.0972900390625, 0.1783447265625, 0.10009765625, 0.14599609375, 0.0076904...
embed
64628987_c0
64628987
elixir
0
Title: How to send a message from one scene to another using Scenic? Problem title: How to send a message from one scene to another using Scenic? Tags: elixir Problem: How to send a message from one scene to another using Scenic? I've got a component named ComponentX with a function def handle_info(:do_x, state) do I t...
How to send a message from one scene to another using Scenic? How to send a message from one scene to another using Scenic? elixir ArgumentError one Scenic How ComponentX handle_info do_x Application.ComponentX Process.send How to send a message from one scene to another using Scenic? I've got a component named Compone...
[ -0.0216064453125, 0.0181884765625, -0.004425048828125, 0.0220947265625, -0.0262451171875, 0.0166015625, 0.01171875, 0.0006561279296875, 0.01123046875, -0.05029296875, 0.0235595703125, 0.0216064453125, -0.0001583099365234375, 0.052734375, 0.0140380859375, 0.0089111328125, 0.0130615234...
[ 11249, 47, 25379, 26008, 1295, 1632, 28302, 15700, 17368, 152365, 1771, 15296, 38308, 112140, 18468, 31611, 3288, 54137, 1542, 34831, 7319, 54, 425, 104921, 10770, 123996, 39285, 10, 82761, 32354, 8, 246, 11341, 9790, 11782, 5201, 47677, 1828...
[ 0.069091796875, 0.1351318359375, 0.16796875, 0.1793212890625, 0.12353515625, 0.08648681640625, 0.236328125, 0.122802734375, 0.1214599609375, 0.23388671875, 0.2303466796875, 0.044586181640625, 0.203369140625, 0.2220458984375, 0.1190185546875, 0.106689453125, 0.06866455078125, 0.1778...
embed
36254866_c1
36254866
elixir
1
exception) it throws the following: ** (Postgrex.Error) ERROR (not_null_violation): null value in column "exception_id" violates not-null constraint table: entries column: exception_id What I want basically to first create an Exception (if it does not exist) and than create a new Entry of a system error and put the pr...
exception) it throws the following: ** (Postgrex.Error) ERROR (not_null_violation): null value in column "exception_id" violates not-null constraint table: entries column: exception_id What I want basically to first create an Exception (if it does not exist) and than create a new Entry of a system error and put the pr...
[ 0.00897216796875, 0.007171630859375, -0.004913330078125, -0.02099609375, 0.0233154296875, 0.000021338462829589844, 0.00445556640625, -0.0194091796875, 0.0010833740234375, -0.046142578125, 0.00921630859375, 0.018798828125, 0.0037994384765625, 0.016845703125, 0.0224609375, -0.0224609375,...
[ 131527, 442, 104250, 25632, 16459, 49411, 7134, 425, 18468, 31611, 151206, 24638, 10869, 139550, 158993, 2320, 56574, 34292, 3365, 316, 3355, 63928, 532, 54567, 1636, 959, 158, 2816, 4288, 23180, 112820, 90, 3444, 198343, 5117, 28282, 5443, 3...
[ 0.255615234375, 0.04193115234375, 0.1123046875, 0.08056640625, 0.1016845703125, 0.037750244140625, 0.1485595703125, 0.110107421875, 0.0894775390625, 0.089599609375, 0.134521484375, 0.1251220703125, 0.1209716796875, 0.1678466796875, 0.1689453125, 0.023712158203125, 0.1986083984375, ...
embed
42338515_c0
42338515
elixir
0
Title: When using datetime -- warning, when using utc_datetime instead -- exception Problem title: When using datetime -- warning, when using utc_datetime instead -- exception Tags: phoenix-framework, ecto, elixir Problem: When using datetime -- warning, when using utc_datetime instead -- exception When generating a co...
When using datetime -- warning, when using utc_datetime instead -- exception When using datetime -- warning, when using utc_datetime instead -- exception phoenix-framework ecto elixir datetime utc_datetime When naive_datetime Mix Unknown When using datetime -- warning, when using utc_datetime instead -- exception When ...
[ 0.007415771484375, -0.0093994140625, 0.0096435546875, 0.004669189453125, 0.00616455078125, -0.00238037109375, -0.01007080078125, 0.0101318359375, 0.0091552734375, -0.03662109375, -0.00982666015625, -0.00469970703125, 0.023681640625, 0.01007080078125, 0.0023345947265625, -0.008422851562...
[ 14847, 17368, 5622, 6032, 4210, 1631, 592, 3229, 486, 238, 454, 17489, 64457, 131527, 53073, 33, 4084, 160328, 18244, 60751, 15296, 38308, 24, 5844, 37286, 69723, 12663, 10, 3365, 316, 111, 10644, 58, 87, 91995, 678, 70, 1003 ]
[ 0.05450439453125, 0.1337890625, 0.18701171875, 0.26123046875, 0.03387451171875, 0.12841796875, 0.1016845703125, 0.014251708984375, 0.15966796875, 0.10107421875, 0.0523681640625, 0.179443359375, 0.1217041015625, 0.1929931640625, 0.024139404296875, 0.04833984375, 0.1080322265625, 0.0...
embed
39211173_c0
39211173
elixir
0
Title: How do I stream into a file in Elixir? Problem title: How do I stream into a file in Elixir? Tags: elixir Problem: How do I stream into a file in Elixir? How do I take a stream and write each line to a file? Say I have a file of words which I stream in using File.stream!, I do some transform on them (here I'm re...
How do I stream into a file in Elixir? How do I stream into a file in Elixir? elixir How Elixir Stream.map String.replace Enum.to_list h_ll_ fr__nd How do I stream into a file in Elixir? How do I take a stream and write each line to a file? Say I have a file of words which I stream in using File.stream!, I do some tran...
[ -0.0146484375, -0.008056640625, -0.000942230224609375, -0.0140380859375, 0.01019287109375, 0.0030975341796875, 0.0029296875, -0.01312255859375, 0.0026702880859375, 0.0242919921875, 0.00543212890625, -0.001983642578125, 0.0240478515625, 0.039794921875, 0.000659942626953125, -0.002685546...
[ 11249, 54, 87, 75973, 3934, 11435, 23, 25318, 38308, 15296, 6, 115061, 62346, 23351, 214, 107, 23935, 357, 316, 188, 6562, 14119, 10, 5646, 136, 33022, 12638, 13315, 47, 34153, 17368, 42724, 86429, 38, 27198, 35593, 456, 133266, 2244, 842...
[ 0.0997314453125, 0.0391845703125, 0.045013427734375, 0.273193359375, 0.225830078125, 0.2117919921875, 0.1458740234375, 0.167236328125, 0.2939453125, 0.1116943359375, 0.008087158203125, 0.251708984375, 0.125, 0.131103515625, 0.03778076171875, 0.05389404296875, 0.1395263671875, 0.072...
embed
35974234_c0
35974234
elixir
0
Title: Where is Elixir 1.2.x for Ubuntu? Problem title: Where is Elixir 1.2.x for Ubuntu? Tags: elixir Problem: Where is Elixir 1.2.x for Ubuntu? I was following the newbie instructions and now see this error when I try to run Phoenix Hex was built against against Elixir 1.0.5 and you are running 1.1.0-dev, please run ...
Where is Elixir 1.2.x for Ubuntu? Where is Elixir 1.2.x for Ubuntu? elixir Where Elixir Ubuntu Hex local.hex Where is Elixir 1.2.x for Ubuntu? I was following the newbie instructions and now see this error when I try to run Phoenix All I did was sudo apt-get install elixir from Ubuntu. I feel like I should be on 1.0.5 ...
[ 0.007049560546875, 0.0115966796875, -0.0038604736328125, -0.00127410888671875, 0.006378173828125, 0.020751953125, 0.000614166259765625, -0.0179443359375, 0.019287109375, 0.018798828125, 0.01202392578125, -0.03466796875, 0.0213623046875, 0.0108642578125, 0.01043701171875, -0.00205993652...
[ 78662, 83, 25318, 38308, 112842, 425, 100, 116890, 15296, 1529, 4000, 1106, 25632, 9014, 167934, 903, 18499, 9790, 11675, 133720, 166, 246, 1747, 18, 3794, 20600, 1295, 12319, 1884, 5608, 186, 98, 615, 93645, 36541, 7565, 44286, 2725, 6097,...
[ 0.13623046875, 0.105712890625, 0.1932373046875, 0.343017578125, 0.257080078125, 0.20361328125, 0.12646484375, 0.2242431640625, 0.1561279296875, 0.1717529296875, 0.1405029296875, 0.1556396484375, 0.0106201171875, 0.081298828125, 0.0426025390625, 0.019866943359375, 0.15869140625, 0.0...
embed
69979357_c0
69979357
elixir
0
Title: Elixir Phoenix app returning 431 error when headers are longer than ~4000 chars Problem title: Elixir Phoenix app returning 431 error when headers are longer than ~4000 chars Tags: elixir, http-headers, phoenix-framework Problem: Elixir Phoenix app returning 431 error when headers are longer than ~4000 chars My ...
Elixir Phoenix app returning 431 error when headers are longer than ~4000 chars Elixir Phoenix app returning 431 error when headers are longer than ~4000 chars elixir http-headers phoenix-framework Elixir Phoenix Elixir Phoenix app returning 431 error when headers are longer than ~4000 chars My Phoenix app has started ...
[ -0.000843048095703125, 0.0220947265625, -0.00093841552734375, 0.005523681640625, 0.0027618408203125, -0.000640869140625, -0.01953125, 0.021240234375, 0.01409912109375, -0.007537841796875, 0.00433349609375, 0.0020904541015625, 0.00653076171875, 0.020751953125, 0.021728515625, -0.0101318...
[ 25318, 38308, 133720, 4027, 30646, 171816, 18499, 3229, 10336, 1314, 51713, 68037, 21441, 3501, 15296, 1621, 31251, 53073, 33, 4084, 160328, 26859, 57553, 9191, 50336, 38937, 31842, 183278, 5792, 5941, 4136, 1764, 1632, 1614, 56206, 4552, 77758...
[ 0.109130859375, 0.23583984375, 0.273681640625, 0.171875, 0.1087646484375, 0.261962890625, 0.178955078125, 0.005096435546875, 0.1715087890625, 0.135986328125, 0.148681640625, 0.173095703125, 0.154296875, 0.01287841796875, 0.077880859375, 0.065185546875, 0.1346435546875, 0.0468139648...
embed
48895313_c0
48895313
elixir
0
Title: Elixir can&#x27;t find get/2 function in page_controller_test.exs Problem title: Elixir can&#x27;t find get/2 function in page_controller_test.exs Tags: phoenix-framework, elixir Problem: Elixir can't find get/2 function in page_controller_test.exs I get an error that says cant find get/2 function, this is in th...
Elixir can&#x27;t find get/2 function in page_controller_test.exs Elixir can&#x27;t find get/2 function in page_controller_test.exs phoenix-framework elixir Elixir page_controller_test.exs ExUnit.Case GET html_response Welcome Phoenix Elixir can't find get/2 function in page_controller_test.exs I get an error that says...
[ -0.0224609375, 0.005157470703125, 0.01092529296875, -0.0011749267578125, 0.0196533203125, -0.0027008056640625, -0.0247802734375, -0.0191650390625, 0.007781982421875, -0.04833984375, 0.00970458984375, -0.012939453125, -0.0101318359375, -0.0107421875, 0.00830078125, -0.00098419189453125,...
[ 25318, 38308, 831, 3768, 18, 7413, 2046, 12477, 32354, 9191, 81988, 603, 6954, 3355, 33, 4084, 160328, 15296, 5443, 85600, 79794, 7693, 134719, 91334, 133720, 23, 18499, 45767, 3034, 75935, 28282, 13452, 98816, 44691 ]
[ 0.13037109375, 0.24609375, 0.0579833984375, 0.04644775390625, 0.0780029296875, 0.1646728515625, 0.175048828125, 0.2763671875, 0.1876220703125, 0.13818359375, 0.15576171875, 0.09722900390625, 0.14453125, 0.130859375, 0.0074462890625, 0.052703857421875, 0.0213165283203125, 0.10803222...
embed
39503185_c0
39503185
elixir
0
Title: How do I render a controller action without a layout? Problem title: How do I render a controller action without a layout? Tags: layout, phoenix-framework, action, controller, elixir Problem: How do I render a controller action without a layout? I have a particular controller action that I want to render without...
How do I render a controller action without a layout? How do I render a controller action without a layout? layout phoenix-framework action controller elixir How Hello.PageController Hello.Web put_layout _params landing.html How do I render a controller action without a layout? I have a particular controller action tha...
[ -0.02783203125, 0.0277099609375, 0.006317138671875, -0.0023345947265625, 0.00015735626220703125, 0.01202392578125, -0.0185546875, -0.0220947265625, 0.009765625, -0.0322265625, -0.0220947265625, -0.0038909912109375, -0.00109100341796875, -0.0030059814453125, 0.00092315673828125, 0.02905...
[ 11249, 89159, 185373, 22631, 15490, 10, 108802, 53073, 33, 4084, 160328, 15296, 38308, 35378, 147101, 175904, 603, 30474, 3884, 5259, 6056, 2500, 8256, 132260, 7693, 3444, 2499, 76329, 17366, 4488 ]
[ 0.04266357421875, 0.1964111328125, 0.260009765625, 0.1943359375, 0.160400390625, 0.05999755859375, 0.260009765625, 0.003326416015625, 0.0274505615234375, 0.0797119140625, 0.01519775390625, 0.021453857421875, 0.149658203125, 0.120361328125, 0.0875244140625, 0.1551513671875, 0.08935546...
embed
33695077_c4
33695077
elixir
4
33753 Example: iex(134)> s|> Enum.to_list iex(135)> s|> String.to_integer|> Primes.factorize|> Enum.to_list Code signals: Specify, line_end, Elixir, File.stream, File.read, Projects, Telegram, PQ.txt, n1124138842463513719, n1137145765766942221, n1159807134726147157, n1162386423249503807, n1166092057686212149, n11929349...
33753 Example: iex(134)> s|> Enum.to_list iex(135)> s|> String.to_integer|> Primes.factorize|> Enum.to_list Code signals: Specify, line_end, Elixir, File.stream, File.read, Projects, Telegram, PQ.txt, n1124138842463513719, n1137145765766942221, n1159807134726147157, n1162386423249503807, n1166092057686212149, n11929349...
[ -0.0191650390625, -0.003509521484375, -0.00738525390625, 0.00823974609375, 0.004302978515625, 0.00335693359375, -0.0023956298828125, -0.006683349609375, 0.004669189453125, -0.01043701171875, 0.00994873046875, -0.0050048828125, 0.01055908203125, 0.003173828125, -0.0108642578125, -0.0078...
[ 129176, 14226, 89536, 8705, 17, 3355, 121763, 91, 357, 316, 188, 6562, 120840, 23351, 214, 6191, 1505, 56195, 144810, 20650, 28864, 26073, 7, 24990, 40383, 13315, 3611, 25318, 38308, 42724, 86429, 39116, 27331, 86026, 436, 2737, 124326, 653, ...
[ 0.1490478515625, 0.1494140625, 0.147216796875, 0.0391845703125, 0.1024169921875, 0.20703125, 0.13525390625, 0.1002197265625, 0.10986328125, 0.2012939453125, 0.15478515625, 0.212646484375, 0.1192626953125, 0.1292724609375, 0.06195068359375, 0.14453125, 0.134521484375, 0.189331054687...
embed
75829925_c1
75829925
elixir
1
do @enforce_keys def new(map) do try do struct!(__MODULE__, map) rescue ArgumentError -> missing_keys = @enforce_keys -- Map.keys(map) raise FooError, missing_fields: missing_keys end end end with the resulting struct creation being changed to: try do attributes = %{description: "Lorem ipsum dolor..."} a = Foo.new(att...
do @enforce_keys def new(map) do try do struct!(__MODULE__, map) rescue ArgumentError -> missing_keys = @enforce_keys -- Map.keys(map) raise FooError, missing_fields: missing_keys end end end with the resulting struct creation being changed to: try do attributes = %{description: "Lorem ipsum dolor..."} a = Foo.new(att...
[ -0.008544921875, 0.0011749267578125, -0.01092529296875, -0.01422119140625, 0.0096435546875, 0.00848388671875, 0.0157470703125, 0.0030975341796875, 0.003753662109375, 0.016357421875, 0.01385498046875, 0.0157470703125, 0.00193023681640625, 0.01031494140625, 0.01348876953125, -0.025878906...
[ 54, 1374, 33, 50930, 19770, 420, 3525, 132, 62346, 9790, 36716, 90295, 12013, 397, 129984, 22288, 114777, 112140, 18468, 31611, 132283, 42719, 5, 7, 138804, 9572, 31, 28394, 3564, 166635, 98816, 150380, 59478, 192022, 3601, 3052, 7673, 10, ...
[ 0.07366943359375, 0.0975341796875, 0.0284576416015625, 0.22607421875, 0.1749267578125, 0.03131103515625, 0.206787109375, 0.025787353515625, 0.201171875, 0.0723876953125, 0.2242431640625, 0.0609130859375, 0.07781982421875, 0.0830078125, 0.1182861328125, 0.1517333984375, 0.18359375, ...
embed
33919581_c0
33919581
elixir
0
Title: How can I pass IO into an elixir function that is passed into another function Problem title: How can I pass IO into an elixir function that is passed into another function Tags: elixir Problem: How can I pass IO into an elixir function that is passed into another function I want to run a function in a certain d...
How can I pass IO into an elixir function that is passed into another function How can I pass IO into an elixir function that is passed into another function elixir How File.cd Cli.run IO.puts How can I pass IO into an elixir function that is passed into another function I want to run a function in a certain directory,...
[ 0.010498046875, -0.00958251953125, 0.004913330078125, 0.0164794921875, -0.0098876953125, 0.0118408203125, -0.00506591796875, -0.0184326171875, -0.01123046875, -0.029541015625, -0.0155029296875, 0.0162353515625, -0.00860595703125, 0.033447265625, 0.01318359375, 0.0125732421875, -0.012...
[ 11249, 831, 87, 27875, 17780, 3934, 15296, 38308, 32354, 115081, 15700, 42724, 71574, 313, 150, 16428, 7077, 7, 3444, 11675, 24233, 14364, 18151, 5, 450, 3034, 3095, 11814, 105237, 442, 23 ]
[ 0.0772705078125, 0.0791015625, 0.0162506103515625, 0.1884765625, 0.2685546875, 0.163818359375, 0.0875244140625, 0.2451171875, 0.2335205078125, 0.1309814453125, 0.095458984375, 0.1474609375, 0.08880615234375, 0.0214996337890625, 0.126708984375, 0.1739501953125, 0.1256103515625, 0.00...
embed
54835640_c1
54835640
elixir
1
then the process virtual memory continues to grow... And I'm noticing the same behaviour with an even simpler script: IO.stream(:stdio, :line) |> Stream.into(IO.stream(:stdio, :line)) |> Stream.run() I'm wondering how can I control the memory usage of that script (buffer, number of lines in memory)? Do you have sugges...
then the process virtual memory continues to grow... And I'm noticing the same behaviour with an even simpler script: IO.stream(:stdio, :line) |> Stream.into(IO.stream(:stdio, :line)) |> Stream.run() I'm wondering how can I control the memory usage of that script (buffer, number of lines in memory)? Do you have sugges...
[ -0.0169677734375, 0.014404296875, -0.017333984375, 0.0341796875, 0.000545501708984375, -0.022705078125, 0.0128173828125, -0.0005035400390625, 0.006561279296875, -0.043212890625, -0.0081787109375, 0.003570556640625, 0.02587890625, 0.048583984375, 0.01495361328125, 0.005615234375, 0.02...
[ 7068, 9433, 20513, 98323, 136622, 47, 55993, 27, 9523, 5701, 224833, 8781, 42, 26499, 17780, 86429, 271, 5670, 2256, 115061, 21579, 16428, 149016, 3642, 831, 6226, 70, 127689, 450, 123759, 14012, 124519, 23, 157666, 29479, 62775, 11522, 36069...
[ 0.042755126953125, 0.19140625, 0.2467041015625, 0.25927734375, 0.12939453125, 0.061767578125, 0.1923828125, 0.008758544921875, 0.0457763671875, 0.049896240234375, 0.1239013671875, 0.131103515625, 0.02655029296875, 0.260498046875, 0.20556640625, 0.241943359375, 0.147705078125, 0.243...
embed
33813688_c0
33813688
elixir
0
Title: In Elixir why can I not use different notations when creating a map? Problem title: In Elixir why can I not use different notations when creating a map? Tags: elixir Problem: In Elixir why can I not use different notations when creating a map? There are 2 different syntaxes of defining a map: map = %{:a => 1, :b...
In Elixir why can I not use different notations when creating a map? In Elixir why can I not use different notations when creating a map? elixir SyntaxError Elixir iex:37 In Elixir why can I not use different notations when creating a map? There are 2 different syntaxes of defining a map: Using both as follows while de...
[ 0.00057220458984375, 0.005706787109375, -0.005706787109375, -0.0091552734375, -0.0021820068359375, -0.0150146484375, -0.0034027099609375, 0.0022735595703125, -0.000644683837890625, 0.01312255859375, -0.0022735595703125, 0.0096435546875, 0.0208740234375, 0.00286865234375, 0.0245361328125,...
[ 25318, 38308, 15400, 831, 959, 4527, 12921, 21094, 105233, 22288, 360, 15296, 19010, 86531, 18468, 30225, 116, 6002, 102, 31195, 13204, 449, 10, 345, 15044, 28960, 43240, 11814, 3789, 12989, 104250, 18499, 44084, 11787, 116890, 6281, 617, 837...
[ 0.1396484375, 0.24267578125, 0.11553955078125, 0.069580078125, 0.194580078125, 0.1065673828125, 0.171630859375, 0.1219482421875, 0.13330078125, 0.212646484375, 0.01453399658203125, 0.0845947265625, 0.0191497802734375, 0.0908203125, 0.036712646484375, 0.07708740234375, 0.0411682128906...
embed
61442999_c0
61442999
elixir
0
Title: MediaRecorder&#x27;s Webm blobs produce a broken video Problem title: MediaRecorder&#x27;s Webm blobs produce a broken video Tags: elixir, web-mediarecorder, webm, base64 Problem: MediaRecorder's Webm blobs produce a broken video Code signals: #, MediaRecorder, Webm, Blob, h264, decode_slice_header, PPS, navigat...
MediaRecorder&#x27;s Webm blobs produce a broken video MediaRecorder&#x27;s Webm blobs produce a broken video elixir web-mediarecorder webm base64 # MediaRecorder Webm Blob h264 decode_slice_header PPS navigator.mediaDevices.getUserMedia audio:true mediaRecorder.ondataavailable window.FileReader reader.readAsDataURL e....
[ -0.00616455078125, 0.00811767578125, -0.005035400390625, 0.0189208984375, -0.01153564453125, 0.0294189453125, -0.0185546875, -0.0162353515625, 0.0062255859375, -0.0017242431640625, -0.0230712890625, -0.0172119140625, 0.02001953125, 0.0205078125, -0.0017242431640625, -0.004180908203125,...
[ 4794, 4332, 32271, 56, 3768, 4002, 39, 29695, 16145, 27489, 148431, 1202, 15296, 38308, 1467, 12333, 31688, 80596, 3647, 13307, 54231, 275, 1096, 71041, 8, 40899, 13348, 31251, 12211, 294, 56136, 20375, 72492, 18215, 9774, 2450, 76896, 174350...
[ 0.1566162109375, 0.03265380859375, 0.177734375, 0.1226806640625, 0.06982421875, 0.1883544921875, 0.1990966796875, 0.173828125, 0.12255859375, 0.1405029296875, 0.1961669921875, 0.16162109375, 0.0732421875, 0.204345703125, 0.1356201171875, 0.10064697265625, 0.0821533203125, 0.0512695...
embed
77405858_c2
77405858
elixir
2
allow_upload, wasm_module, max_entries, max_file_size, Loading, show_modal, Upload, Bot, Version, simple_form, uploads.wasm_module.entries, upload_errors, uploads.wasm_module, text-red-500, error_to_string, live_file_input, Enter, Saving, mt-8, mb-4, Uploaded, Versions, px-6, py-3, border-b-2, border-gray-300, Name, A...
allow_upload, wasm_module, max_entries, max_file_size, Loading, show_modal, Upload, Bot, Version, simple_form, uploads.wasm_module.entries, upload_errors, uploads.wasm_module, text-red-500, error_to_string, live_file_input, Enter, Saving, mt-8, mb-4, Uploaded, Versions, px-6, py-3, border-b-2, border-gray-300, Name, A...
[ -0.020263671875, 0.00433349609375, 0.007232666015625, -0.00469970703125, -0.00421142578125, 0.01953125, 0.0267333984375, -0.0167236328125, 0.00830078125, -0.0020599365234375, 0.00171661376953125, -0.032470703125, 0.0224609375, 0.015625, 0.000335693359375, -0.0057373046875, 0.01757812...
[ 63769, 94835, 4, 509, 39, 83279, 13, 18389, 2517, 10484, 29822, 62539, 228006, 7639, 432, 2465, 171958, 23674, 40647, 8781, 5037, 70622, 13689, 188800, 7986, 2822, 121993, 18499, 188, 91693, 6867, 73, 60816, 6496, 347, 18, 17376, 39369, 115...
[ 0.1878662109375, 0.260986328125, 0.0251312255859375, 0.193359375, 0.223876953125, 0.2430419921875, 0.04803466796875, 0.1588134765625, 0.149658203125, 0.136962890625, 0.165771484375, 0.1141357421875, 0.195068359375, 0.128173828125, 0.1441650390625, 0.10986328125, 0.2139892578125, 0....
embed
39975640_c0
39975640
elixir
0
Title: 2 separate controllers for the same end point in html and json or a single one? Problem title: 2 separate controllers for the same end point in html and json or a single one? Tags: rest, elixir, phoenix-framework Problem: 2 separate controllers for the same end point in html and json or a single one? I have the ...
2 separate controllers for the same end point in html and json or a single one? 2 separate controllers for the same end point in html and json or a single one? rest elixir phoenix-framework 2 separate controllers for the same end point in html and json or a single one? I have the end points "/customers" and "/api/v1/cu...
[ -0.004547119140625, -0.01055908203125, 0.005218505859375, -0.0205078125, -0.00323486328125, 0.01318359375, -0.019287109375, -0.011962890625, 0.0274658203125, -0.045654296875, -0.0036773681640625, 0.00445556640625, 0.006622314453125, -0.0081787109375, 0.005279541015625, -0.004150390625,...
[ 116, 84797, 185373, 7, 100, 5701, 3564, 6275, 7693, 136, 1647, 1681, 707, 11001, 1632, 32, 23, 10588, 15296, 38308, 53073, 33, 4084, 160328, 18244, 26847, 64, 11680, 188, 31648, 40897, 334, 50412, 107013, 5303, 59463, 765, 28282, 12921, 6...
[ 0.1927490234375, 0.235107421875, 0.330810546875, 0.1790771484375, 0.0345458984375, 0.1357421875, 0.1500244140625, 0.135498046875, 0.2384033203125, 0.10186767578125, 0.1304931640625, 0.2044677734375, 0.0439453125, 0.1746826171875, 0.1019287109375, 0.001708984375, 0.03643798828125, 0...
embed
45926173_c0
45926173
elixir
0
Title: How to set application_name for postgres connections in Elixir Problem title: How to set application_name for postgres connections in Elixir Tags: elixir, ecto Problem: How to set application_name for postgres connections in Elixir The code below in config.exs will set the application_name in postgresql to "myap...
How to set application_name for postgres connections in Elixir How to set application_name for postgres connections in Elixir elixir ecto How application_name Elixir DB.Repo Ecto.Adapters.Postgres ahv2 How to set application_name for postgres connections in Elixir The code below in config.exs will set the application_n...
[ 0.0072021484375, 0.0181884765625, 0.002685546875, 0.0166015625, 0.0022430419921875, -0.001220703125, -0.0133056640625, -0.01153564453125, 0.005950927734375, -0.02294921875, 0.0213623046875, -0.02197265625, -0.0003871917724609375, 0.001739501953125, -0.0201416015625, -0.012939453125, ...
[ 11249, 47, 5423, 38415, 454, 11627, 100, 1305, 17562, 94878, 25318, 38308, 23, 15296, 60751, 57976, 4332, 771, 241, 44150, 22409, 2631, 23962, 49411, 1263, 334, 304, 18151, 35064, 153837, 3355, 99247, 1176, 9007, 4527, 110, 112, 9351, 64457...
[ 0.040313720703125, 0.03692626953125, 0.1527099609375, 0.2103271484375, 0.06072998046875, 0.193603515625, 0.049102783203125, 0.07720947265625, 0.21435546875, 0.1595458984375, 0.1259765625, 0.253173828125, 0.020751953125, 0.08837890625, 0.16162109375, 0.0909423828125, 0.034027099609375...
embed
77137246_c1
77137246
elixir
1
't really tell me much more. The application documentation doesn't really say anything. I am pretty sure all I want is 'Elixir.MyProjectTest.Application' to be included in the applications section of my_project.app . Is this something I am not allowed to do? If not, what am I missing? Code signals: Add, MyProjectTest.A...
't really tell me much more. The application documentation doesn't really say anything. I am pretty sure all I want is 'Elixir.MyProjectTest.Application' to be included in the applications section of my_project.app . Is this something I am not allowed to do? If not, what am I missing? Code signals: Add, MyProjectTest.A...
[ -0.009765625, 0.030517578125, -0.003662109375, 0.01190185546875, 0.00799560546875, 0.011962890625, 0.0013580322265625, -0.0150146484375, 0.033203125, -0.00714111328125, 0.0233154296875, -0.0255126953125, -0.00372314453125, 0.040283203125, 0.005523681640625, -0.01141357421875, -0.0106...
[ 18, 6183, 14192, 1286, 38415, 209806, 5154, 23937, 28875, 9077, 756, 3444, 647, 150, 38308, 31852, 223353, 111337, 47677, 182867, 99201, 86685, 40059, 759, 95322, 9007, 903, 959, 107003, 54, 132283, 28864, 26073, 29117, 2646, 104921, 50986, 6...
[ 0.0233154296875, 0.03533935546875, 0.058013916015625, 0.03033447265625, 0.1552734375, 0.1627197265625, 0.0212860107421875, 0.010711669921875, 0.0029296875, 0.044769287109375, 0.032470703125, 0.1220703125, 0.011199951171875, 0.081298828125, 0.2213134765625, 0.09033203125, 0.1693115234...
embed
48929159_c0
48929159
elixir
0
Title: How to remove the firsts n characters from a string in Elixir? Problem title: How to remove the firsts n characters from a string in Elixir? Tags: string, elixir Problem: How to remove the firsts n characters from a string in Elixir? I have a list of strings. Each of those strings starts with n characters I want...
How to remove the firsts n characters from a string in Elixir? How to remove the firsts n characters from a string in Elixir? string elixir a str How Elixir new_string old_string my_list Enum.map Remove How to remove the firsts n characters from a string in Elixir? I have a list of strings. Each of those strings starts...
[ -0.0189208984375, 0.005767822265625, -0.01068115234375, 0.041259765625, -0.01318359375, -0.00830078125, 0.0205078125, -0.0135498046875, 0.0213623046875, -0.030517578125, 0.005401611328125, -0.005279541015625, -0.003936767578125, 0.02783203125, -0.00799560546875, -0.015869140625, 0.02...
[ 11249, 47, 87388, 5117, 7, 653, 124850, 1295, 79315, 23, 25318, 38308, 15296, 7704, 3525, 91693, 10332, 759, 6562, 357, 316, 62346, 181139, 70, 5303, 98423, 4034, 3444, 2046, 31351, 111, 831, 4527, 48636, 23937, 1884, 69307 ]
[ 0.06622314453125, 0.031982421875, 0.20068359375, 0.161376953125, 0.0350341796875, 0.1903076171875, 0.218017578125, 0.1046142578125, 0.2415771484375, 0.0845947265625, 0.142578125, 0.27001953125, 0.1094970703125, 0.1380615234375, 0.07977294921875, 0.1842041015625, 0.0943603515625, 0....
embed