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
51779115_c0
51779115
elixir
0
Title: How to check state of exq job in phoenix framework? Problem title: How to check state of exq job in phoenix framework? Tags: elixir, phoenix-framework Problem: How to check state of exq job in phoenix framework? I am using exq as background processing in phoenix framework. Is there a way to check state of exq jo...
How to check state of exq job in phoenix framework? How to check state of exq job in phoenix framework? elixir phoenix-framework How How to check state of exq job in phoenix framework? I am using exq as background processing in phoenix framework. Is there a way to check state of exq jobs using job_id to know if it has ...
[ 0.000911712646484375, -0.0087890625, 0.00061798095703125, 0.0015869140625, -0.00848388671875, 0.002410888671875, -0.0017852783203125, -0.005096435546875, -0.006317138671875, -0.0281982421875, -0.00634765625, 0.005035400390625, 0.0262451171875, -0.0107421875, -0.0242919921875, 0.0142822...
[ 11249, 47, 12765, 11341, 111, 1119, 864, 12447, 23, 53073, 33, 4084, 170846, 15296, 38308, 160328, 18244, 17368, 237, 76615, 9433, 214, 3917, 74464, 454, 532, 3714, 2174, 140528, 707, 165523, 209806 ]
[ 0.0926513671875, 0.08154296875, 0.2235107421875, 0.1710205078125, 0.10595703125, 0.1536865234375, 0.205078125, 0.2001953125, 0.06500244140625, 0.0740966796875, 0.113037109375, 0.15185546875, 0.1923828125, 0.013580322265625, 0.1234130859375, 0.06597900390625, 0.06011962890625, 0.039...
embed
48859847_c0
48859847
elixir
0
Title: What's the equivalent of ruby print + $stdout.flush in elixir Problem title: What's the equivalent of ruby print + $stdout.flush in elixir Tags: elixir, ruby, stdout Problem: What's the equivalent of ruby print + $stdout.flush in elixir I can't find how to refresh a single line of output with Elixir. I...
What's the equivalent of ruby print + $stdout.flush in elixir What's the equivalent of ruby print + $stdout.flush in elixir elixir ruby stdout What stdout.flush What's the equivalent of ruby print + $stdout.flush in elixir I can't find how to refresh a single line of output with Elixir. In Ruby we can do this...
[ -0.018798828125, 0.01025390625, -0.000690460205078125, 0.0133056640625, -0.00121307373046875, -0.00677490234375, 0.0130615234375, -0.01214599609375, -0.0032806396484375, 0.0018157958984375, -0.006988525390625, 0.0003376007080078125, 0.005218505859375, 0.00848388671875, 0.0008621215820312...
[ 3768, 183234, 21922, 53, 28412, 997, 271, 1003, 18026, 1495, 23, 15296, 38308, 246, 6138, 3650, 47, 210651, 11001, 13315, 140992, 678, 25318, 360, 158189, 831, 2367, 4527 ]
[ 0.035858154296875, 0.150146484375, 0.1607666015625, 0.1488037109375, 0.207763671875, 0.112060546875, 0.049560546875, 0.1824951171875, 0.2152099609375, 0.1630859375, 0.03070068359375, 0.07525634765625, 0.256103515625, 0.036865234375, 0.1085205078125, 0.0261993408203125, 0.040863037109...
embed
48180695_c0
48180695
elixir
0
Title: Removing double quotes from a string Problem title: Removing double quotes from a string Tags: elixir Problem: Removing double quotes from a string I read different methods of strings in elixir. Converting strings into different types e.t.c Is it possible that we remove double quotes from a string? lets suppose ...
Removing double quotes from a string Removing double quotes from a string elixir a Removing inner_join Removing double quotes from a string I read different methods of strings in elixir. Converting strings into different types e.t.c Is it possible that we remove double quotes from a string? lets suppose we have a strin...
[ -0.00701904296875, 0.0179443359375, -0.0252685546875, 0.0245361328125, 0.004913330078125, 0.00830078125, -0.001617431640625, -0.003326416015625, -0.0042724609375, -0.015380859375, -0.022216796875, -0.0186767578125, -0.025634765625, 0.0174560546875, -0.01495361328125, 0.01904296875, 0...
[ 853, 432, 6496, 41929, 66747, 7, 1295, 79315, 15296, 38308, 75414, 513, 73, 12301, 12921, 150624, 23, 814, 3934, 52895, 442, 7722, 642, 87388, 1679, 3444, 1884, 2071 ]
[ 0.046417236328125, 0.1451416015625, 0.035400390625, 0.2362060546875, 0.27001953125, 0.11834716796875, 0.107177734375, 0.271240234375, 0.08929443359375, 0.2027587890625, 0.202392578125, 0.1895751953125, 0.130859375, 0.01033782958984375, 0.052032470703125, 0.047454833984375, 0.00452804...
embed
77358736_c1
77358736
elixir
1
00px; margin: 0; padding: 0;">Confirm your email now</a> <!--<![endif]--> </div> Code signals: MSO, v:roundrect, xmlns:v, urn:schemas-microsoft-com:vml, xmlns:w, urn:schemas-microsoft-com:office:word, www.google.com, height:50px, v-text-anchor:middle, width:260px, w:anchorlock, font-family:sans-serif, font-size:13px, f...
00px; margin: 0; padding: 0;">Confirm your email now</a> <!--<![endif]--> </div> Code signals: MSO, v:roundrect, xmlns:v, urn:schemas-microsoft-com:vml, xmlns:w, urn:schemas-microsoft-com:office:word, www.google.com, height:50px, v-text-anchor:middle, width:260px, w:anchorlock, font-family:sans-serif, font-size:13px, f...
[ -0.01385498046875, -0.000743865966796875, 0.0201416015625, 0.01275634765625, 0.0380859375, 0.0123291015625, 0.020751953125, 0.000949859619140625, 0.0169677734375, 0.0201416015625, 0.015869140625, 0.03857421875, -0.008544921875, -0.031982421875, 0.004302978515625, 0.004730224609375, 0...
[ 7227, 88684, 74, 92142, 12, 757, 249, 59725, 70902, 11935, 38949, 935, 3340, 5036, 11, 2740, 38, 17215, 420, 152745, 6, 30618, 28864, 26073, 7, 276, 13055, 81, 67688, 173247, 131492, 1779, 334, 2780, 19, 7560, 1510, 138410, 277, 7237, 4...
[ 0.1373291015625, 0.1861572265625, 0.114501953125, 0.18701171875, 0.035186767578125, 0.1097412109375, 0.0919189453125, 0.1585693359375, 0.0443115234375, 0.1453857421875, 0.274658203125, 0.1627197265625, 0.27685546875, 0.201171875, 0.0159759521484375, 0.04534912109375, 0.00753784179687...
embed
45386417_c1
45386417
elixir
1
-current-npm (missing): required by: world[nodejs-current-npm] musl-1.1.14-r14: breaks: musl-dev-1.1.14-r15[musl=1.1.14-r15] Code signals: #, Docker, Elixir, Phoenix, alpine-elixir:latest, alpine-elixir:1.3.4, MAINTAINER, Paul, Schoenfelder, gmail.com, Important, Update, ENV, Dockerfile, REFRESHED_AT, Set, CTRL, TERM, ...
-current-npm (missing): required by: world[nodejs-current-npm] musl-1.1.14-r14: breaks: musl-dev-1.1.14-r15[musl=1.1.14-r15] Code signals: #, Docker, Elixir, Phoenix, alpine-elixir:latest, alpine-elixir:1.3.4, MAINTAINER, Paul, Schoenfelder, gmail.com, Important, Update, ENV, Dockerfile, REFRESHED_AT, Set, CTRL, TERM, ...
[ -0.0279541015625, 0.00958251953125, -0.01202392578125, 0.0059814453125, 0.01165771484375, 0.0181884765625, 0.0284423828125, -0.002166748046875, 0.0103759765625, 0.019775390625, 0.0283203125, -0.002716064453125, -0.0034637451171875, 0.02587890625, -0.01904296875, 0.0022735595703125, -...
[ 20, 163812, 19, 26822, 45188, 214, 56065, 390, 8999, 157, 36294, 7, 8014, 141, 5759, 83783, 35748, 42, 2592, 36356, 18548, 1837, 2647, 28864, 26073, 468, 984, 11050, 25318, 38308, 133720, 117745, 13, 6169, 143, 6954, 172508, 9267, 99820, ...
[ 0.0309906005859375, 0.2281494140625, 0.0960693359375, 0.251220703125, 0.1868896484375, 0.13623046875, 0.212158203125, 0.0266265869140625, 0.1416015625, 0.1300048828125, 0.26123046875, 0.00225830078125, 0.159423828125, 0.21240234375, 0.04620361328125, 0.10137939453125, 0.1395263671875...
embed
37003813_c0
37003813
elixir
0
Title: Start and destroy system process in Elixir Problem title: Start and destroy system process in Elixir Tags: elixir, system Problem: Start and destroy system process in Elixir I want to start and destroy a system process. I know that to start a process, I can use System.cmd "my_app", [] , but it doesn't return a p...
Start and destroy system process in Elixir Start and destroy system process in Elixir elixir system Start Elixir System.cmd my_app Start and destroy system process in Elixir I want to start and destroy a system process. I know that to start a process, I can use System.cmd "my_app", [] , but it doesn't return a pid for ...
[ 0.00433349609375, 0.0252685546875, -0.021728515625, 0.0186767578125, -0.0020904541015625, 0.0014190673828125, -0.00885009765625, -0.01165771484375, 0.00726318359375, -0.034912109375, 0.007293701171875, 0.04248046875, 0.00014495849609375, 0.03564453125, 0.0157470703125, 0.00897216796875...
[ 13794, 136, 163684, 5426, 9433, 23, 25318, 38308, 15296, 12353, 3931, 71, 759, 9007, 3444, 47, 4034, 10, 3714, 831, 4527, 5, 1176, 442, 18, 30646, 45226, 38415, 53418, 119261, 16, 55300, 332, 66398, 29041, 90 ]
[ 0.165283203125, 0.135498046875, 0.268798828125, 0.2257080078125, 0.2105712890625, 0.0787353515625, 0.13671875, 0.273193359375, 0.08526611328125, 0.235107421875, 0.146484375, 0.1591796875, 0.10260009765625, 0.177001953125, 0.085205078125, 0.06085205078125, 0.1661376953125, 0.0313720...
embed
37656558_c0
37656558
elixir
0
Title: How to create an XML Http Request? Problem title: How to create an XML Http Request? Tags: elixir, phoenix-framework Problem: How to create an XML Http Request? In phoenixframework, I need to create a post request, to send parameters to another server. As I am newcomer to elixir, I am wondering how would I do so...
How to create an XML Http Request? How to create an XML Http Request? elixir phoenix-framework How XML Http Request How to create an XML Http Request? In phoenixframework, I need to create a post request, to send parameters to another server. As I am newcomer to elixir, I am wondering how would I do so? is there a libr...
[ 0.0081787109375, 0.018798828125, -0.0123291015625, -0.000667572021484375, 0.0167236328125, 0.0184326171875, -0.00726318359375, -0.000560760498046875, -0.00677490234375, -0.031982421875, 0.0255126953125, -0.03955078125, -0.0018157958984375, 0.0067138671875, -0.01019287109375, 0.00222778...
[ 11249, 47, 28282, 142, 92537, 572, 3062, 254, 853, 75616, 32, 15296, 38308, 53073, 33, 4084, 160328, 18244, 360, 3871, 10, 1305, 50336, 25379, 171859, 15700, 10723, 3525, 277, 56, 3642, 54, 35773, 1294, 60042, 7722, 173969, 15490, 20600 ]
[ 0.1025390625, 0.05926513671875, 0.181640625, 0.055999755859375, 0.262939453125, 0.058868408203125, 0.1351318359375, 0.1319580078125, 0.119384765625, 0.203857421875, 0.000152587890625, 0.0982666015625, 0.217041015625, 0.0833740234375, 0.1104736328125, 0.1468505859375, 0.115478515625, ...
embed
65453358_c0
65453358
elixir
0
Title: assign variable to the return of a case statement Elixir Problem title: assign variable to the return of a case statement Elixir Tags: elixir Problem: assign variable to the return of a case statement Elixir In Elixir, can I do foo = "" foo = case bar do _ -> "foo is now this value" end i.e assigning whatever th...
assign variable to the return of a case statement Elixir assign variable to the return of a case statement Elixir elixir Elixir assign variable to the return of a case statement Elixir In Elixir, can I do i.e assigning whatever the return of a case statement is to a variable in Elixir ( I know you can do the same with ...
[ 0.0159912109375, -0.004608154296875, -0.02392578125, 0.00592041015625, 0.01318359375, -0.0098876953125, -0.0045166015625, 0.00946044921875, 0.00592041015625, 0.00408935546875, 0.020751953125, 0.00933837890625, 0.01287841796875, 0.021484375, 0.01483154296875, 0.0052490234375, -0.01904...
[ 95486, 77336, 47, 30646, 7225, 63805, 25318, 38308, 111, 15296, 831, 87, 54, 214, 89778, 83, 23, 2174, 6494, 17823, 118 ]
[ 0.2388916015625, 0.30029296875, 0.10223388671875, 0.224365234375, 0.1890869140625, 0.2142333984375, 0.1324462890625, 0.25537109375, 0.005390167236328125, 0.0916748046875, 0.10504150390625, 0.0007753372192382812, 0.0582275390625, 0.0653076171875, 0.10357666015625, 0.01470947265625, 0....
embed
44241993_c0
44241993
elixir
0
Title: Pattern matching, Why I got unexpected result? Problem title: Pattern matching, Why I got unexpected result? Tags: elixir Problem: Pattern matching, Why I got unexpected result? I have rows equals to [%{a: 0, b: 10}, %{a: 1, b: 11}] if I do: Enum.map(rows, fn %{a: value} -> value end) I get: [0, 1] But, if I do:...
Pattern matching, Why I got unexpected result? Pattern matching, Why I got unexpected result? elixir Pattern Why Enum.map Pattern matching, Why I got unexpected result? I have rows equals to [%{a: 0, b: 10}, %{a: 1, b: 11}] if I do: I get: But, if I do: I get unexpected result: but not the expected result: [10, 11] Any...
[ -0.00927734375, -0.01165771484375, 0.00445556640625, 0.00714111328125, -0.0213623046875, -0.01141357421875, 0.00274658203125, 0.013671875, 0.0157470703125, 0.0242919921875, 0.0189208984375, 0.01104736328125, 0.026123046875, 0.014892578125, 0, -0.01385498046875, 0.01043701171875, -0...
[ 9876, 22766, 14858, 214, 44084, 87, 4163, 241957, 16750, 15296, 38308, 357, 316, 62346, 765, 15555, 105950, 757, 876, 209, 106, 534, 2174, 54, 2046, 4966, 1284, 959, 84751, 963, 6528 ]
[ 0.177490234375, 0.1875, 0.1973876953125, 0.087646484375, 0.1644287109375, 0.0838623046875, 0.09259033203125, 0.192626953125, 0.159423828125, 0.044921875, 0.1959228515625, 0.0911865234375, 0.1834716796875, 0.1663818359375, 0.027374267578125, 0.192138671875, 0.0958251953125, 0.090942...
embed
37122689_c1
37122689
elixir
1
, :edit, @user, email), class: "btn btn-default btn-xs" %> <%= link "Delete", to: user_email_path(@conn, :delete, @user, email), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %> </td> </tr> <% end %> </tbody> </table> Code signals: Don, User, Email, Delete, MyApp.User, MyApp.Web, Arc...
, :edit, @user, email), class: "btn btn-default btn-xs" %> <%= link "Delete", to: user_email_path(@conn, :delete, @user, email), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %> </td> </tr> <% end %> </tbody> </table> Code signals: Don, User, Email, Delete, MyApp.User, MyApp.Web, Arc...
[ -0.0103759765625, 0.0118408203125, -0.00274658203125, -0.0147705078125, 0.01025390625, 0.0164794921875, 0.00726318359375, -0.0013580322265625, 0.0033416748046875, -0.00726318359375, -0.029296875, 0.000576019287109375, -0.022216796875, 0.025390625, 0.02783203125, -0.010498046875, 0.01...
[ 45082, 1374, 65918, 3340, 18507, 16723, 19, 876, 18, 214810, 425, 7, 3949, 3126, 4657, 46485, 47, 38937, 25501, 128405, 981, 2271, 8520, 67, 55300, 2053, 12, 38949, 9077, 549, 1505, 37873, 22819, 28864, 26073, 7650, 53400, 14886, 262, 264...
[ 0.1783447265625, 0.1181640625, 0.130859375, 0.139404296875, 0.17138671875, 0.111083984375, 0.112060546875, 0.03955078125, 0.1142578125, 0.2486572265625, 0.1163330078125, 0.06610107421875, 0.0015869140625, 0.170166015625, 0.147216796875, 0.25341796875, 0.0745849609375, 0.15344238281...
embed
47503379_c0
47503379
elixir
0
Title: Perform calculation on Ecto result Problem title: Perform calculation on Ecto result Tags: elixir, phoenix-framework, ecto Problem: Perform calculation on Ecto result I want to perform calculation on Ecto result. I have a Products table, which have (color, rating, brand_id, price) . I want to group the rating by...
Perform calculation on Ecto result Perform calculation on Ecto result elixir phoenix-framework ecto Perform Ecto brand_id Perform calculation on Ecto result I want to perform calculation on Ecto result. I have a Products table, which have (color, rating, brand_id, price) . I want to group the rating by range (0-1, 1-2,...
[ 0.007232666015625, -0.01318359375, -0.0147705078125, -0.004547119140625, 0.0069580078125, -0.003082275390625, -0.021240234375, 0.0037384033203125, 0.0146484375, -0.0020751953125, -0.015380859375, 0.031982421875, 0.00909423828125, -0.000759124755859375, -0.01025390625, 0.002487182617187...
[ 169033, 74481, 1363, 98, 241, 44150, 16750, 15296, 38308, 53073, 33, 4084, 160328, 18244, 60751, 8796, 532, 87, 3444, 51339, 100815, 23180, 46133, 66038, 27167, 47, 21115, 37457, 82343, 15550, 10994, 20444, 39495, 54529, 38742, 12638, 32233, ...
[ 0.239501953125, 0.2440185546875, 0.11669921875, 0.1129150390625, 0.1351318359375, 0.28564453125, 0.2308349609375, 0.094482421875, 0.2042236328125, 0.05743408203125, 0.06756591796875, 0.1258544921875, 0.1324462890625, 0.0909423828125, 0.2230224609375, 0.1602783203125, 0.1348876953125,...
embed
56795544_c0
56795544
elixir
0
Title: Reference only digested files Problem title: Reference only digested files Tags: elixir, phoenix-framework Problem: Reference only digested files I have some folders (of static assets) from which I take some groups of images. With Path.wildcard/2 everything works wonderfully, but problems arise when I digest for...
Reference only digested files Reference only digested files elixir phoenix-framework Reference Path.wildcard Reference only digested files I have some folders (of static assets) from which I take some groups of images. With Path.wildcard/2 everything works wonderfully, but problems arise when I digest for production, t...
[ -0.01287841796875, 0.00174713134765625, -0.01416015625, 0.0126953125, -0.016357421875, 0.018798828125, 0.00506591796875, 0.01422119140625, 0.0263671875, -0.010986328125, -0.005035400390625, 0.018798828125, 0.0284423828125, 0.0279541015625, 0, -0.0107421875, -0.0186767578125, 0.0080...
[ 215996, 4734, 1466, 525, 297, 102158, 15296, 38308, 53073, 33, 4084, 160328, 18244, 108421, 41123, 71, 38931, 78303, 201939, 181079, 1295, 5646, 94407, 43079, 12477, 26818, 43240, 58867, 44402, 58944, 36049, 7413, 756, 2046, 171763, 3674, 11249...
[ 0.2474365234375, 0.1627197265625, 0.178466796875, 0.2247314453125, 0.07568359375, 0.2281494140625, 0.05859375, 0.19189453125, 0.0543212890625, 0.06396484375, 0.1336669921875, 0.12237548828125, 0.01381683349609375, 0.2066650390625, 0.13427734375, 0.07611083984375, 0.2548828125, 0.11...
embed
47095013_c0
47095013
elixir
0
Title: Pattern matching with pinned variables fail Problem title: Pattern matching with pinned variables fail Tags: elixir Problem: Pattern matching with pinned variables fail Why this pattern matching passes: %{"asd" => %{}} = %{"asd" => %{"qwe" => ""}} while this one doesn't (MatchError): x = %{} %{"asd" => ^x} = %{"...
Pattern matching with pinned variables fail Pattern matching with pinned variables fail elixir Pattern Pattern matching with pinned variables fail Why this pattern matching passes: %{"asd" => %{}} = %{"asd" => %{"qwe" => ""}} while this one doesn't (MatchError): x = %{} %{"asd" => ^x} = %{"asd" => %{"qwe" => ""}} ? Edi...
[ -0.01416015625, 0.01092529296875, 0.004608154296875, -0.00323486328125, 0.007415771484375, 0.009033203125, -0.02392578125, -0.0020599365234375, 0.02392578125, 0.00439453125, 0.01275634765625, -0.006622314453125, 0.02001953125, 0.007537841796875, 0.0118408203125, -0.00787353515625, -0...
[ 9876, 22766, 14858, 214, 678, 6520, 14534, 77336, 35782, 15296, 38308, 44084, 903, 103510, 10922, 7, 162, 71, 864, 1177, 12960, 1632, 22027, 18, 79520, 18468, 31611, 1022, 425, 39933, 26950, 8110, 105950, 3642, 831, 47, 22288 ]
[ 0.1470947265625, 0.0985107421875, 0.200439453125, 0.07342529296875, 0.06524658203125, 0.189453125, 0.10052490234375, 0.2000732421875, 0.189208984375, 0.058807373046875, 0.211181640625, 0.0631103515625, 0.072509765625, 0.2022705078125, 0.1307373046875, 0.061309814453125, 0.0791015625,...
embed
46336167_c1
46336167
elixir
1
76, Ecto.Repo.Schema.do_update, keyboard.ex:331, Euridime.Keyboard.set_user_wallet, keyboard.ex:136, Euridime.Keyboard.check_command, enum.ex:645, Enum, Enum.each, task.ex:9, Euridime.Task.pull_updates, Args, _type, _args, Define, Start, Ecto, Euridime.Repo, Euridime.Web.Endpoint, Task, Euridime.Task, pull_updates, Eur...
I'm not sure if it's something with my config, this is the Endpoint config I have for prod right now. And this is the dev.exs file I hope it has something to do with config, It's kinda annoying having to be restarting the app for minimal errors that should be just avoided. EDIT: I just noticed that the app sometimes c...
[ 0.00433349609375, -0.00360107421875, 0.0012054443359375, 0.022705078125, 0.0098876953125, 0.0299072265625, -0.0264892578125, -0.0038604736328125, 0.020751953125, -0.0098876953125, -0.0126953125, 0.01287841796875, 0.01177978515625, -0.0025787353515625, 0.01141357421875, 0.00747680664062...
[ 959, 9077, 9844, 759, 153837, 903, 18878, 38496, 765, 502, 71, 7108, 5036, 5, 33245, 3355, 7, 11435, 15673, 54, 8562, 8668, 38543, 19441, 456, 17137, 4027, 20187, 18499, 71864, 297, 172864, 156672, 70, 68018, 150631, 22027, 18, 459, 47353...
[ 0.0294189453125, 0.09344482421875, 0.015380859375, 0.0210113525390625, 0.198486328125, 0.054107666015625, 0.116455078125, 0.160400390625, 0.041900634765625, 0.1474609375, 0.1109619140625, 0.00933837890625, 0.06573486328125, 0.034393310546875, 0.26904296875, 0.19580078125, 0.126586914...
embed
47991388_c0
47991388
elixir
0
Title: Unpacking inner tarball failed: invalid argument Problem title: Unpacking inner tarball failed: invalid argument Tags: elixir-mix, elixir Problem: Unpacking inner tarball failed: invalid argument When I try to get the dependencies (mix deps.get) I´m receiving this error: Updating ecto (Hex package) Checking pack...
Unpacking inner tarball failed: invalid argument Unpacking inner tarball failed: invalid argument elixir-mix elixir Unpacking Unpacking inner tarball failed: invalid argument When I try to get the dependencies (mix deps.get) I´m receiving this error: Updating ecto (Hex package) Checking package ( https://repo.hex.pm/ta...
[ 0.01470947265625, 0.0255126953125, -0.00433349609375, 0.01953125, 0.00927734375, 0.005950927734375, -0.01513671875, 0.000949859619140625, 0.0172119140625, 0.0245361328125, 0.0030975341796875, -0.0033111572265625, 0.0081787109375, 0.06103515625, -0.00628662109375, 0.01043701171875, 0....
[ 992, 29102, 75414, 2405, 12126, 165523, 56649, 10750, 15296, 38308, 62015, 9790, 2046, 42548, 117538, 8, 6423, 3794, 217063, 18499, 10091, 56464, 60751, 841, 3355, 98169, 38679, 107, 771, 1106, 425, 26822, 867, 70147, 53489, 92962, 74694, 594...
[ 0.0572509765625, 0.197265625, 0.18701171875, 0.14599609375, 0.190185546875, 0.1611328125, 0.2047119140625, 0.218994140625, 0.054168701171875, 0.181396484375, 0.21240234375, 0.030029296875, 0.01067352294921875, 0.16259765625, 0.06884765625, 0.1356201171875, 0.1441650390625, 0.067565...
embed
60730489_c0
60730489
elixir
0
Title: HTTPoison - getting different response than a browser Problem title: HTTPoison - getting different response than a browser Tags: httpoison, elixir Problem: HTTPoison - getting different response than a browser I'm doing: HTTPoison.get! "https://www.nature.com/articles/d41586-020-00741-x" Which works fine in the ...
HTTPoison - getting different response than a browser HTTPoison - getting different response than a browser httpoison elixir HTTPoison HTTPoison.get www.nature.com d41586-020-00741-x HTTPoison - getting different response than a browser I'm doing: Which works fine in the browser but gives me a 303 when I try and fetch ...
[ -0.0184326171875, 0.01019287109375, 0.01129150390625, -0.0019378662109375, 0.0059814453125, -0.0057373046875, 0.0019989013671875, -0.006317138671875, 0.00179290771484375, -0.02294921875, 0.03369140625, 0.0240478515625, -0.013427734375, 0.0240478515625, -0.0029144287109375, -0.008056640...
[ 135913, 31, 40514, 20, 20949, 12921, 57553, 3501, 31842, 1621, 15296, 38308, 3794, 1426, 141762, 277, 8894, 189010, 113266, 77110, 425, 10, 20594, 130078, 43240, 5885, 23, 1284, 76199, 163, 496, 363, 87, 9790, 136, 7647, 9191, 678, 444, 4...
[ 0.22705078125, 0.1572265625, 0.27490234375, 0.01216888427734375, 0.1080322265625, 0.1708984375, 0.1937255859375, 0.1273193359375, 0.1944580078125, 0.11407470703125, 0.0982666015625, 0.223388671875, 0.0908203125, 0.0484619140625, 0.2235107421875, 0.049224853515625, 0.11334228515625, ...
embed
45040477_c0
45040477
elixir
0
Title: What is the recommended data type for handling Money (just 2-decimal places) in Elixir/Erlang? Problem title: What is the recommended data type for handling Money (just 2-decimal places) in Elixir/Erlang? Tags: erlang, elixir Problem: What is the recommended data type for handling Money (just 2-decimal places) i...
What is the recommended data type for handling Money (just 2-decimal places) in Elixir/Erlang? What is the recommended data type for handling Money (just 2-decimal places) in Elixir/Erlang? erlang elixir What Money Elixir Erlang What is the recommended data type for handling Money (just 2-decimal places) in Elixir/Erla...
[ 0.0189208984375, 0.004638671875, -0.01068115234375, 0.004638671875, 0.0177001953125, 0.020751953125, -0.005584716796875, 0.0113525390625, -0.00020885467529296875, -0.0064697265625, 0.002044677734375, -0.019287109375, 0.004425048828125, -0.0030975341796875, 0.0014190673828125, 0.0308837...
[ 4865, 70, 170198, 2053, 10644, 100, 45064, 81669, 20314, 4720, 170753, 44677, 25318, 38308, 18468, 3066, 23, 64, 72, 15296, 1004, 83, 54744, 142424, 678, 1660 ]
[ 0.08642578125, 0.031494140625, 0.1990966796875, 0.1993408203125, 0.2357177734375, 0.0404052734375, 0.185791015625, 0.26904296875, 0.12237548828125, 0.14453125, 0.1949462890625, 0.1636962890625, 0.1439208984375, 0.2529296875, 0.1407470703125, 0.283447265625, 0.043609619140625, 0.040...
embed
51170344_c0
51170344
elixir
0
Title: Check boolean condition with pipe operator? Problem title: Check boolean condition with pipe operator? Tags: elixir Problem: Check boolean condition with pipe operator? Imagine the result of a pipe operation is a value I want to check in a boolean condition def isGreaterThanZero? do num = |> some pipe which retu...
Check boolean condition with pipe operator? Check boolean condition with pipe operator? elixir Check Boolean.true Check boolean condition with pipe operator? Imagine the result of a pipe operation is a value I want to check in a boolean condition Can I somehow refactor this to:
[ 0.01483154296875, -0.0029449462890625, -0.01214599609375, 0.000476837158203125, 0.0002727508544921875, 0.000904083251953125, 0.00836181640625, -0.0185546875, -0.004486083984375, 0.0037689208984375, 0.00112152099609375, 0.025634765625, 0.0057373046875, 0.006561279296875, 0.0047607421875, ...
[ 38679, 337, 31, 34677, 35431, 678, 137158, 39933, 15296, 38308, 73783, 9774, 133196, 16750, 41018, 34292, 3444, 12765, 23, 144810, 47 ]
[ 0.2042236328125, 0.08795166015625, 0.1573486328125, 0.264892578125, 0.2239990234375, 0.1068115234375, 0.21728515625, 0.244873046875, 0.03857421875, 0.1885986328125, 0.1654052734375, 0.1534423828125, 0.093505859375, 0.1226806640625, 0.1668701171875, 0.121337890625, 0.041259765625, 0...
embed
37106555_c0
37106555
elixir
0
Title: Elixir Pry cannot execute private methods? Problem title: Elixir Pry cannot execute private methods? Tags: elixir, pry Problem: Elixir Pry cannot execute private methods? Can elixir's pry run private methods from within the module? Eg: defmodule Test do require IEx def foo do IEx.pry end defp bar do end end At w...
Elixir Pry cannot execute private methods? Elixir Pry cannot execute private methods? elixir pry IEx Elixir Pry Test IEx.pry Elixir Pry cannot execute private methods? Can elixir's pry run private methods from within the module? Eg: At which point a call to bar doesn't work. I'm very new to elixir, is there something I...
[ -0.0093994140625, 0.0206298828125, -0.0115966796875, 0.0301513671875, -0.001953125, 0.02587890625, -0.0010833740234375, -0.01324462890625, -0.0037689208984375, -0.0257568359375, -0.00726318359375, 0.0162353515625, -0.006561279296875, 0.0238037109375, 0.00244140625, -0.007659912109375, ...
[ 25318, 38308, 133400, 53418, 71924, 14375, 150624, 13, 15296, 78829, 87, 19279, 8647, 254, 1294, 4171, 11675, 1295, 28032, 88996, 6275, 11782, 47, 1909, 18, 4488, 44691, 7722 ]
[ 0.08758544921875, 0.2130126953125, 0.22314453125, 0.11590576171875, 0.11846923828125, 0.1700439453125, 0.1614990234375, 0.0267486572265625, 0.07940673828125, 0.1981201171875, 0.050140380859375, 0.092529296875, 0.132080078125, 0.046630859375, 0.161376953125, 0.050079345703125, 0.07061...
embed
50735443_c0
50735443
elixir
0
Title: How to quit after run IO.read(:stdio, :all) in the Elixir iex? Problem title: How to quit after run IO.read(:stdio, :all) in the Elixir iex? Tags: io, eof, elixir, elixir-iex Problem: How to quit after run IO.read(:stdio, :all) in the Elixir iex? I need test some input data flow, and use 'IO.read', but after ent...
How to quit after run IO.read(:stdio, :all) in the Elixir iex? How to quit after run IO.read(:stdio, :all) in the Elixir iex? io eof elixir elixir-iex How IO.read Elixir How to quit after run IO.read(:stdio, :all) in the Elixir iex? I need test some input data flow, and use 'IO.read', but after entering data i can't ex...
[ -0.005218505859375, 0.0019683837890625, -0.00384521484375, 0.0250244140625, -0.01019287109375, 0.004791259765625, 0.004669189453125, -0.00445556640625, -0.01080322265625, -0.009033203125, 0.009765625, -0.025634765625, 0.004730224609375, 0.007171630859375, 0.015869140625, -0.02233886718...
[ 11249, 47, 569, 18, 7103, 11675, 17780, 39116, 271, 5670, 5584, 25318, 38308, 17, 3355, 23, 22995, 28, 4390, 15296, 14, 5, 3034, 107730, 2053, 86608, 22, 33558, 831, 82230, 903, 13736, 71885, 30121, 1511, 1542, 64, 397, 4358, 121011, 28...
[ 0.06927490234375, 0.05059814453125, 0.1868896484375, 0.160888671875, 0.1397705078125, 0.11572265625, 0.23876953125, 0.207763671875, 0.09527587890625, 0.2177734375, 0.1456298828125, 0.1103515625, 0.2467041015625, 0.08740234375, 0.1700439453125, 0.042327880859375, 0.211669921875, 0.0...
embed
43296309_c0
43296309
elixir
0
Title: Elixir - Capture value from lambda Problem title: Elixir - Capture value from lambda Tags: elixir Problem: Elixir - Capture value from lambda Consider the following code snippet: def capture Functor.function(fn(value) -> ??? end) ??? end Assume that the lambda DOES get called exactly once for sure What would be ...
Elixir - Capture value from lambda Elixir - Capture value from lambda elixir lambda Elixir Capture Functor.function Elixir - Capture value from lambda Consider the following code snippet: Assume that the lambda DOES get called exactly once for sure What would be the preferred way to capture the first argument of the la...
[ 0.00750732421875, 0.005462646484375, -0.0081787109375, 0.01904296875, 0.0072021484375, -0.01507568359375, 0.0194091796875, -0.0004024505615234375, 0.00970458984375, -0.0322265625, -0.0208740234375, -0.027587890625, -0.02685546875, 0.0037078857421875, 0.0225830078125, 0.0033721923828125...
[ 25318, 38308, 14304, 6644, 34292, 1295, 21, 6492, 85, 15296, 28670, 18770, 5, 137175, 137399, 18151, 66596, 35839, 66161, 24145, 100, 9077, 12601, 2822, 3917, 141621, 5117, 10750, 14783, 27494, 23, 30646, 111, 55300 ]
[ 0.138671875, 0.28759765625, 0.16552734375, 0.120849609375, 0.188232421875, 0.118408203125, 0.0750732421875, 0.2281494140625, 0.18603515625, 0.0738525390625, 0.1190185546875, 0.116455078125, 0.010498046875, 0.1575927734375, 0.01995849609375, 0.0777587890625, 0.02685546875, 0.1514892...
embed
73216244_c0
73216244
elixir
0
Title: how to normalize angle radian value to 2*pi? Problem title: how to normalize angle radian value to 2*pi? Tags: elixir Problem: how to normalize angle radian value to 2*pi? I have to adjust the angle's radian value between [0,2 pi) if it is negative angle or too big angle than 2 pi. My code is as follows, and I h...
how to normalize angle radian value to 2*pi? how to normalize angle radian value to 2*pi? elixir math.pi how to normalize angle radian value to 2*pi? I have to adjust the angle's radian value between [0,2 pi) if it is negative angle or too big angle than 2 pi. My code is as follows, and I haven't found the related libr...
[ -0.0311279296875, -0.009033203125, -0.0123291015625, -0.0106201171875, 0.01220703125, 0.018798828125, -0.007110595703125, 0.02734375, -0.01190185546875, -0.01953125, -0.0028228759765625, 0.013427734375, -0.003143310546875, 0.0034942626953125, 0.01806640625, 0.00457763671875, -0.00396...
[ 3642, 47, 3638, 20650, 55291, 4567, 66, 34292, 116, 1639, 1434, 15296, 38308, 48909, 765, 126596, 17721, 304, 2147, 40907, 5792, 18151, 28960, 35773, 11522, 52295 ]
[ 0.07598876953125, 0.09014892578125, 0.162841796875, 0.1556396484375, 0.2147216796875, 0.1824951171875, 0.10040283203125, 0.1436767578125, 0.1268310546875, 0.019439697265625, 0.1815185546875, 0.019195556640625, 0.158447265625, 0.07379150390625, 0.0180511474609375, 0.1708984375, 0.0449...
embed
74712595_c0
74712595
elixir
0
Title: Compilation error in file and undefined function Problem title: Compilation error in file and undefined function Tags: phoenix-framework, elixir, ecto Problem: Compilation error in file and undefined function Code signals: CompileError, Compilation, toggle_complete, _params, _current_user, _claims, Payout, Repo....
Compilation error in file and undefined function Compilation error in file and undefined function phoenix-framework elixir ecto CompileError Compilation toggle_complete _params _current_user _claims Payout Repo.get _count Payouts.toggle_prize_claims Payouts.toggle_complete payout_simple.json payout_not_found payout_con...
[ 0.009521484375, -0.01458740234375, 0.00836181640625, -0.00029754638671875, -0.00147247314453125, 0.016357421875, -0.0087890625, -0.0194091796875, 0.0198974609375, -0.0018768310546875, -0.0252685546875, -0.02099609375, 0.0264892578125, 0.005645751953125, 0.0166015625, 0.002105712890625,...
[ 15612, 14, 57860, 18499, 23, 11435, 136, 9232, 5983, 32354, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 1340, 18468, 31611, 47, 129384, 277, 131801, 2500, 8256, 163812, 65918, 164779, 17166, 6056, 771, 71013, 188, 161917, 8783, 19156...
[ 0.1517333984375, 0.13330078125, 0.0634765625, 0.166259765625, 0.07421875, 0.2020263671875, 0.05364990234375, 0.107421875, 0.185546875, 0.17041015625, 0.0714111328125, 0.1090087890625, 0.1358642578125, 0.0748291015625, 0.023681640625, 0.044464111328125, 0.1591796875, 0.227294921875,...
embed
38458166_c0
38458166
elixir
0
Title: List.flatten returns unexpected value Problem title: List.flatten returns unexpected value Tags: elixir Problem: List.flatten returns unexpected value Version: 1.2.2, error: List.flatten ([a,[b]]) is expected to return ([a,b]). However, this does not work properly for some cases. For example, List.flatten ([11, ...
List.flatten returns unexpected value List.flatten returns unexpected value elixir List.flatten List.flatten returns unexpected value Version: 1.2.2, error: Why is this happening and what is the workaround, if any?
[ 0.00162506103515625, -0.00787353515625, -0.0025177001953125, 0.01080322265625, -0.001007080078125, 0.0098876953125, 0.003936767578125, -0.012451171875, 0.002227783203125, 0.052001953125, 0.00701904296875, -0.0113525390625, 0.0135498046875, 0.0220947265625, -0.0250244140625, -0.01428222...
[ 32036, 150632, 510, 30646, 241957, 34292, 15296, 38308, 7, 40647, 112842, 304, 18499, 44084, 83, 903, 123087, 2367, 4488, 11, 67688 ]
[ 0.2462158203125, 0.193115234375, 0.2159423828125, 0.203857421875, 0.2076416015625, 0.2076416015625, 0.1072998046875, 0.2529296875, 0.0193939208984375, 0.12445068359375, 0.1756591796875, 0.15771484375, 0.188720703125, 0.109619140625, 0.040985107421875, 0.0843505859375, 0.1227416992187...
embed
53854411_c1
53854411
elixir
1
: {_, b} = Comeonin.Argon2.add_hash("hello123") For pattern matching I tried this: case Comeonin.Argon2.add_hash("hello123") do {password, password_hash} -> ... end But I think once I understand how to deconstruct the pattern matching will be the same? Code signals: Understanding, Comeonin.Argon2.add_hash, hello123, Co...
: {_, b} = Comeonin.Argon2.add_hash("hello123") For pattern matching I tried this: case Comeonin.Argon2.add_hash("hello123") do {password, password_hash} -> ... end But I think once I understand how to deconstruct the pattern matching will be the same? Code signals: Understanding, Comeonin.Argon2.add_hash, hello123, Co...
[ -0.023681640625, -0.0074462890625, -0.0213623046875, 0.00439453125, -0.0115966796875, -0.005035400390625, -0.021240234375, -0.00125885009765625, 0.018310546875, -0.004302978515625, 0.019287109375, 0.0238037109375, 0.0194091796875, 0.0294189453125, 0.0020751953125, -0.000226020812988281...
[ 454, 876, 2203, 10592, 45118, 7614, 6126, 5442, 4028, 126234, 127, 13817, 48636, 1326, 103510, 14858, 214, 37842, 903, 7225, 54, 13409, 47416, 78506, 3564, 5351, 24145, 28219, 8, 2271, 36716, 5701, 28864, 26073, 9626, 144057, 33600, 31, 782...
[ 0.0072021484375, 0.058837890625, 0.006011962890625, 0.139892578125, 0.184326171875, 0.0748291015625, 0.1507568359375, 0.1622314453125, 0.10107421875, 0.18603515625, 0.04876708984375, 0.12451171875, 0.22412109375, 0.001617431640625, 0.224609375, 0.196533203125, 0.07586669921875, 0.0...
embed
30850925_c0
30850925
elixir
0
Title: Is Elixir&#x27;s System.cmd blocking Problem title: Is Elixir&#x27;s System.cmd blocking Tags: concurrency, elixir Problem: Is Elixir's System.cmd blocking I'd like to make a system that pulls github repositories automaticly using System.cmd("git",["pull", link]) Is this command blocking? If I start it concurren...
Is Elixir&#x27;s System.cmd blocking Is Elixir&#x27;s System.cmd blocking concurrency elixir Elixir System.cmd Is Elixir's System.cmd blocking I'd like to make a system that pulls github repositories automaticly using Is this command blocking? If I start it concurrently in many actors will I be always able to get as ma...
[ 0.0012664794921875, 0.035888671875, -0.0036163330078125, 0.0111083984375, -0.003936767578125, 0.0218505859375, 0.0025177001953125, -0.0040283203125, 0.00555419921875, -0.052490234375, -0.0113525390625, 0.01129150390625, 0.0091552734375, 0.00274658203125, -0.011474609375, 0.021850585937...
[ 2071, 25318, 38308, 3768, 12353, 3931, 71, 46389, 214, 108636, 982, 15296, 25, 7, 5, 1884, 3249, 5426, 50065, 62270, 32102, 456, 59111, 10484, 101038, 17368, 903, 75101, 4034, 133244, 5941, 39329, 11343, 19048, 221, 27853, 17475, 140013 ]
[ 0.058013916015625, 0.123046875, 0.25146484375, 0.068359375, 0.2208251953125, 0.18115234375, 0.11767578125, 0.2000732421875, 0.0914306640625, 0.1611328125, 0.12109375, 0.0833740234375, 0.012603759765625, 0.0223236083984375, 0.000274658203125, 0.048675537109375, 0.02069091796875, 0.1...
embed
77505959_c0
77505959
elixir
0
Title: How to call handle_event with params without using a form? Problem title: How to call handle_event with params without using a form? Tags: phoenix-framework, elixir, phoenix-live-view Problem: How to call handle_event with params without using a form? How do I call handle_event wish specific params without using...
How to call handle_event with params without using a form? How to call handle_event with params without using a form? phoenix-framework elixir phoenix-live-view a How handle_event How to call handle_event with params without using a form? How do I call handle_event wish specific params without using a form? I'd like ta...
[ -0.01239013671875, 0.01092529296875, -0.01422119140625, -0.0126953125, -0.0098876953125, -0.02783203125, 0.0184326171875, 0.00274658203125, 0.0072021484375, -0.033203125, 0.00982666015625, -0.04296875, -0.018798828125, 0.04150390625, -0.001922607421875, -0.0247802734375, -0.008544921...
[ 11249, 47, 11782, 34831, 454, 90141, 678, 121, 4432, 15490, 17368, 3173, 53073, 33, 4084, 160328, 18244, 15296, 38308, 24056, 22751, 32599, 29458, 1884, 23180, 15555, 41653, 44116, 28020, 3229, 123278, 96276, 19048, 185553, 47353, 11343, 1745 ]
[ 0.0928955078125, 0.036376953125, 0.16552734375, 0.2548828125, 0.045440673828125, 0.261962890625, 0.1090087890625, 0.178466796875, 0.1925048828125, 0.09600830078125, 0.04364013671875, 0.189697265625, 0.0762939453125, 0.1014404296875, 0.133544921875, 0.106689453125, 0.07574462890625, ...
embed
48325911_c0
48325911
elixir
0
Title: Updating a field using Ecto one-liner? Problem title: Updating a field using Ecto one-liner? Tags: elixir, ecto Problem: Updating a field using Ecto one-liner? In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? Ecto.Changeset.chan...
Updating a field using Ecto one-liner? Updating a field using Ecto one-liner? elixir ecto Ecto Updating User.find_by email.com Ecto.Changeset.change MyApp.User MyApp.Repo.update Updating a field using Ecto one-liner? In Ruby, I can go: How can I do something similar in Elixir?
[ -0.0017242431640625, 0.00148773193359375, -0.00165557861328125, 0.0025482177734375, 0.0260009765625, 0.01300048828125, -0.01055908203125, 0.0006866455078125, 0.0084228515625, -0.038818359375, -0.00555419921875, 0.025634765625, -0.00102996826171875, 0.006195068359375, 0.0181884765625, -...
[ 10091, 56464, 44457, 17368, 241, 44150, 1632, 9, 79852, 15296, 38308, 60751, 53400, 111607, 1272, 3340, 127008, 4188, 126, 152028, 2646, 39179, 1062, 2189, 4332, 771, 117008, 360, 158189, 831, 738, 54, 21373, 23, 25318 ]
[ 0.1683349609375, 0.1807861328125, 0.2529296875, 0.0693359375, 0.150634765625, 0.285888671875, 0.16796875, 0.043701171875, 0.252685546875, 0.091552734375, 0.2470703125, 0.22412109375, 0.156005859375, 0.1072998046875, 0.0186767578125, 0.103271484375, 0.110107421875, 0.033782958984375...
embed
24500994_c0
24500994
elixir
0
Title: Elixir or Hex portable package format? Problem title: Elixir or Hex portable package format? Tags: elixir Problem: Elixir or Hex portable package format? Is there any portable format for elixir code? Other than the obvious tar. For example, if I wanted to provide one or more modules to a client or fellow develop...
Elixir or Hex portable package format? Elixir or Hex portable package format? elixir Elixir Hex Elixir or Hex portable package format? Is there any portable format for elixir code? Other than the obvious tar. For example, if I wanted to provide one or more modules to a client or fellow developers on another team (witho...
[ -0.00103759765625, 0.0081787109375, -0.0084228515625, 0.01080322265625, 0.0035552978515625, -0.01220703125, 0.0118408203125, -0.00005269050598144531, -0.00396728515625, 0.02978515625, 0.018310546875, -0.0033111572265625, 0.00457763671875, 0.025390625, 0.0172119140625, 0.0103759765625, ...
[ 25318, 38308, 707, 1529, 425, 168627, 98169, 9384, 15296, 2071, 2685, 2499, 100, 18151, 64511, 3501, 162520, 2405, 2174, 36663, 22691, 1632, 1286, 88996, 23282, 145042, 106001, 15700, 7175, 6056, 62270, 32102, 2806, 35166, 16031, 46876, 621, ...
[ 0.1806640625, 0.300048828125, 0.102783203125, 0.2176513671875, 0.2384033203125, 0.23486328125, 0.2369384765625, 0.237548828125, 0.1617431640625, 0.015655517578125, 0.030792236328125, 0.054901123046875, 0.041534423828125, 0.196533203125, 0.0148468017578125, 0.00445556640625, 0.0822753...
embed
38005869_c0
38005869
elixir
0
Title: Can access @conn in json view template? Problem title: Can access @conn in json view template? Tags: phoenix-framework, elixir Problem: Can access @conn in json view template? I have some variables in conn.assigns and I am trying to get access to these variables via @conn in a json view render. Is this even poss...
Can access @conn in json view template? Can access @conn in json view template? phoenix-framework elixir Can show.json render_one Api.BlogView blog.json Can access @conn in json view template? I have some variables in conn.assigns and I am trying to get access to these variables via @conn in a json view render. Is this...
[ -0.023193359375, 0.006195068359375, 0.013671875, 0.000865936279296875, -0.005218505859375, 0.01708984375, -0.00994873046875, -0.003204345703125, 0.004852294921875, -0.042724609375, -0.00083160400390625, -0.00072479248046875, 0.01806640625, -0.0103759765625, -0.0015411376953125, 0.01867...
[ 4171, 17203, 1374, 2271, 19, 23, 1647, 1681, 21455, 110934, 33, 4084, 160328, 18244, 15296, 38308, 7639, 170, 89159, 3630, 5787, 14, 94561, 100474, 1415, 77336, 158, 162, 31304, 31577, 7722 ]
[ 0.0311279296875, 0.159912109375, 0.0941162109375, 0.11444091796875, 0.1290283203125, 0.03515625, 0.0919189453125, 0.1695556640625, 0.2232666015625, 0.258544921875, 0.0220794677734375, 0.0634765625, 0.053924560546875, 0.017181396484375, 0.0164337158203125, 0.149658203125, 0.0949707031...
embed
43554008_c0
43554008
elixir
0
Title: Having an issue with a pattern match character in my create user action Problem title: Having an issue with a pattern match character in my create user action Tags: elixir, phoenix-framework Problem: Having an issue with a pattern match character in my create user action Code signals: CompileError, Having, user_...
Having an issue with a pattern match character in my create user action Having an issue with a pattern match character in my create user action elixir phoenix-framework CompileError Having user_params User.changeset User Repo.insert put_flash user.name user_path new.html Compilation user_controller.ex user_controller.e...
[ -0.003265380859375, -0.00811767578125, 0.00262451171875, -0.01507568359375, -0.006683349609375, 0.0087890625, -0.022705078125, -0.004730224609375, 0.0194091796875, -0.0159912109375, 0.000354766845703125, -0.01531982421875, 0.036865234375, -0.005035400390625, 0.00445556640625, -0.005249...
[ 171855, 31089, 678, 103510, 14858, 62816, 28282, 38937, 22631, 15296, 38308, 53073, 33, 4084, 160328, 18244, 15612, 1340, 18468, 31611, 2500, 8256, 53400, 152028, 3509, 853, 771, 73, 33657, 3884, 420, 5544, 11627, 128405, 3525, 7693, 14, 8198...
[ 0.063720703125, 0.1390380859375, 0.007843017578125, 0.23828125, 0.2451171875, 0.19775390625, 0.1912841796875, 0.1768798828125, 0.17626953125, 0.061920166015625, 0.1630859375, 0.07012939453125, 0.09283447265625, 0.1390380859375, 0.09796142578125, 0.0357666015625, 0.098388671875, 0.0...
embed
33668981_c0
33668981
elixir
0
Title: What do these operators mean in Elixir? ~&gt;&gt;, &lt;&lt;~ Problem title: What do these operators mean in Elixir? ~&gt;&gt;, &lt;&lt;~ Tags: operators, elixir Problem: What do these operators mean in Elixir? ~>>, <<~ What do these operators mean in Elixir? ~>>, <<~ They are listed here http://elixir-lang.org/g...
What do these operators mean in Elixir? ~&gt;&gt;, &lt;&lt;~ What do these operators mean in Elixir? ~&gt;&gt;, &lt;&lt;~ operators elixir CompileError What Elixir iex:29 What do these operators mean in Elixir? ~>>, <<~ What do these operators mean in Elixir? ~>>, <<~ They are listed here http://elixir-lang.org/getting...
[ 0.00750732421875, -0.01007080078125, 0.010009765625, 0.0034637451171875, 0.0166015625, 0.00848388671875, -0.018310546875, 0.00616455078125, -0.005950927734375, 0.02392578125, -0.00860595703125, -0.000946044921875, 0.02490234375, 0.005157470703125, 0.021484375, -0.01202392578125, -0.0...
[ 4865, 54, 6097, 39933, 7, 29459, 23, 25318, 38308, 15296, 15612, 1340, 18468, 31611, 17, 3355, 29223, 10660, 145870, 6169, 3066, 17137, 402, 27744, 206469, 25632, 18499 ]
[ 0.1031494140625, 0.0233306884765625, 0.1341552734375, 0.268798828125, 0.13134765625, 0.1383056640625, 0.073974609375, 0.120361328125, 0.2469482421875, 0.0924072265625, 0.1055908203125, 0.09521484375, 0.05828857421875, 0.0287628173828125, 0.059814453125, 0.10693359375, 0.215576171875,...
embed
28705494_c0
28705494
elixir
0
Title: Lazy evaluation of expression in Elixir Problem title: Lazy evaluation of expression in Elixir Tags: clojure, elixir, lazy-evaluation Problem: Lazy evaluation of expression in Elixir I'm trying to figure out if there is a macro similar to delay in clojure to get a lazy expression/ variable that can be evaluated ...
Lazy evaluation of expression in Elixir Lazy evaluation of expression in Elixir clojure elixir lazy-evaluation Lazy Elixir Map.get Lazy evaluation of expression in Elixir I'm trying to figure out if there is a macro similar to delay in clojure to get a lazy expression/ variable that can be evaluated later. The use case...
[ -0.0009002685546875, -0.0023040771484375, -0.0020751953125, -0.01318359375, 0.004180908203125, -0.0038604736328125, 0.0257568359375, -0.007720947265625, 0.0264892578125, -0.0162353515625, -0.016845703125, 0.024169921875, 0.0004444122314453125, 0.005279541015625, 0.028076171875, 0.00149...
[ 239, 3285, 219836, 125195, 25318, 38308, 20450, 461, 107, 15296, 21, 159258, 42719, 3794, 26366, 111789, 21373, 8, 5259, 2046, 77336, 831, 151575, 14432, 4527, 7225, 114977, 34292, 18113, 63399, 11782, 12601, 35839, 44841 ]
[ 0.1318359375, 0.2041015625, 0.18603515625, 0.2017822265625, 0.08203125, 0.210205078125, 0.103271484375, 0.10400390625, 0.096435546875, 0.052947998046875, 0.1156005859375, 0.179443359375, 0.138427734375, 0.0987548828125, 0.00286865234375, 0.17236328125, 0.02764892578125, 0.121459960...
embed
48534316_c0
48534316
elixir
0
Title: What does method name /number on Elixir methods mean? Problem title: What does method name /number on Elixir methods mean? Tags: elixir Problem: What does method name /number on Elixir methods mean? I have been learning Elixir and have come accross the methods that you can use when using tuples. This applies to ...
What does method name /number on Elixir methods mean? What does method name /number on Elixir methods mean? elixir What Elixir put_elem What does method name /number on Elixir methods mean? I have been learning Elixir and have come accross the methods that you can use when using tuples. This applies to all methods but ...
[ 0.006591796875, 0.00701904296875, 0.00093841552734375, 0.0166015625, -0.0038299560546875, 0.01324462890625, -0.0098876953125, 0.004150390625, 0.020263671875, -0.03369140625, -0.011962890625, -0.03466796875, -0.0013275146484375, 0.0135498046875, -0.0022125244140625, 0.00335693359375, ...
[ 4865, 55300, 9351, 248, 2606, 1297, 98, 25318, 38308, 150624, 29459, 15296, 3884, 27889, 14602, 52080, 95665, 4527, 370, 99726, 2367, 11737, 47, 3293, 11814, 70, 18113, 8, 48345 ]
[ 0.048828125, 0.21826171875, 0.1517333984375, 0.1641845703125, 0.197265625, 0.216796875, 0.07977294921875, 0.1107177734375, 0.235595703125, 0.186767578125, 0.1317138671875, 0.06304931640625, 0.1259765625, 0.192138671875, 0.0377197265625, 0.0261077880859375, 0.0271759033203125, 0.049...
embed
72804625_c2
72804625
elixir
2
Wtf.MixProject, Mix.Project, start_permanent, Mix.env, Run, compile.app, extra_applications, ecto_sql, Wtf.Application, dep_from_hexpm, dep_from_git, github.com, my_dep.git, Wtf.Repo, Ecto.Repo, otp_app, Ecto.Adapters.Postgres, See, hexdocs.pm, Application.html, OTP, Applications, Application, _type, _args, Starts, Wt...
Wtf.MixProject, Mix.Project, start_permanent, Mix.env, Run, compile.app, extra_applications, ecto_sql, Wtf.Application, dep_from_hexpm, dep_from_git, github.com, my_dep.git, Wtf.Repo, Ecto.Repo, otp_app, Ecto.Adapters.Postgres, See, hexdocs.pm, Application.html, OTP, Applications, Application, _type, _args, Starts, Wt...
[ -0.0050048828125, 0.0186767578125, -0.006591796875, -0.002685546875, -0.005615234375, 0.0152587890625, -0.0032806396484375, -0.0172119140625, 0, -0.015625, -0.00714111328125, -0.0072021484375, 0.01007080078125, 0.0458984375, -0.00311279296875, -0.00958251953125, -0.01177978515625, ...
[ 601, 18, 420, 5, 594, 4084, 223353, 4, 37286, 4034, 1264, 669, 2517, 33, 334, 28398, 9969, 1340, 9007, 4173, 101687, 6, 60751, 454, 99247, 47677, 182867, 8, 254, 161063, 83613, 39, 15769, 62270, 32102, 277, 759, 112, 4332, 771, 241, 4...
[ 0.1336669921875, 0.1697998046875, 0.2320556640625, 0.121337890625, 0.17529296875, 0.23779296875, 0.265869140625, 0.086669921875, 0.2998046875, 0.170654296875, 0.0433349609375, 0.1292724609375, 0.089599609375, 0.046478271484375, 0.166748046875, 0.1517333984375, 0.1197509765625, 0.13...
embed
54877692_c2
54877692
elixir
2
12784 Code signals: Issue, external_ip, _build, BUCKET_NAME, hello.run, instance-startup.sh, HOME, RELEASE_URL, metadata.google.internal, Metadata-Flavor, Google, dl.google.com, cloud_sql_proxy.linux.amd64, cloud_sql_proxy, PROJECT_ID, PORT, Feb, INFO, Rlimits, hello_rc_exec.sh, Listening, hello:asia-east1:hello-db, s....
12784 Code signals: Issue, external_ip, _build, BUCKET_NAME, hello.run, instance-startup.sh, HOME, RELEASE_URL, metadata.google.internal, Metadata-Flavor, Google, dl.google.com, cloud_sql_proxy.linux.amd64, cloud_sql_proxy, PROJECT_ID, PORT, Feb, INFO, Rlimits, hello_rc_exec.sh, Listening, hello:asia-east1:hello-db, s....
[ 0.005645751953125, 0.007354736328125, 0.01336669921875, 0.01214599609375, -0.00634765625, -0.007720947265625, 0.00019073486328125, -0.02099609375, 0.014404296875, 0.0296630859375, -0.003082275390625, -0.0240478515625, 0.020751953125, 0.0032806396484375, -0.00244140625, 0.00279235839843...
[ 427, 157054, 28864, 26073, 7, 12, 223317, 173591, 3442, 177149, 22013, 441, 63787, 182512, 33600, 31, 16428, 110527, 17137, 2037, 5, 1495, 70060, 27587, 95538, 23550, 10135, 59875, 10433, 36939, 143, 3104, 1815, 42734, 277, 76746, 99247, 6410...
[ 0.18115234375, 0.351318359375, 0.259765625, 0.272705078125, 0.11767578125, 0.0299072265625, 0.228271484375, 0.158935546875, 0.1383056640625, 0.181396484375, 0.04425048828125, 0.03936767578125, 0.1224365234375, 0.1068115234375, 0.115478515625, 0.1451416015625, 0.1495361328125, 0.217...
embed
34885926_c0
34885926
elixir
0
Title: Can you run ExUnit tests in an environment other than &quot;test&quot; Problem title: Can you run ExUnit tests in an environment other than &quot;test&quot; Tags: elixir, unit-testing Problem: Can you run ExUnit tests in an environment other than "test" When you run ExUnit tests, they usually run in the "test" e...
Can you run ExUnit tests in an environment other than &quot;test&quot; Can you run ExUnit tests in an environment other than &quot;test&quot; elixir unit-testing Can ExUnit Can you run ExUnit tests in an environment other than "test" When you run ExUnit tests, they usually run in the "test" environment (Mix.env="test")...
[ 0.0004329681396484375, 0.0025177001953125, 0.000637054443359375, -0.0147705078125, -0.003326416015625, -0.00982666015625, 0.00010919570922851562, -0.0157470703125, 0.006988525390625, 0.034912109375, -0.020751953125, 0.01348876953125, 0.00799560546875, 0.01141357421875, -0.001686096191406...
[ 4171, 398, 11675, 5443, 85600, 18, 109921, 23, 65998, 3789, 3501, 6954, 142, 15296, 38308, 25072, 56104, 594, 4084, 33, 334, 3917, 765, 2856, 12921, 309, 217, 1884, 4527, 59994, 72898, 134234 ]
[ 0.08740234375, 0.049163818359375, 0.1708984375, 0.19384765625, 0.2384033203125, 0.1510009765625, 0.265625, 0.084228515625, 0.20751953125, 0.09375, 0.0975341796875, 0.2452392578125, 0.034088134765625, 0.05584716796875, 0.171142578125, 0.1884765625, 0.04547119140625, 0.03192138671875...
embed
31091697_c0
31091697
elixir
0
Title: Elixir - Difference between keyword lists and maps Problem title: Elixir - Difference between keyword lists and maps Tags: elixir Problem: Elixir - Difference between keyword lists and maps Just started with Elixir book by Dave Thomas. It talks about two concepts: Keyword lists [ name: "Dave", city: "Dallas", li...
Elixir - Difference between keyword lists and maps Elixir - Difference between keyword lists and maps elixir Elixir Difference Dave Dallas Programming Alabama Wisconsin Elixir - Difference between keyword lists and maps Just started with Elixir book by Dave Thomas. It talks about two concepts: Keyword lists Maps When w...
[ 0.0213623046875, -0.00013828277587890625, 0.003082275390625, 0.00286865234375, -0.00732421875, 0.01220703125, 0.00579833984375, 0.0078125, 0.000949859619140625, 0.029541015625, -0.00173187255859375, -0.00927734375, 0.01226806640625, 0.03173828125, -0.002716064453125, 0.004730224609375,...
[ 25318, 38308, 803, 18234, 6620, 17721, 166117, 5303, 136, 22288, 15296, 103383, 140151, 27958, 223660, 220474, 26859, 678, 12877, 390, 14978, 22120, 6626, 23755, 189755, 7, 103033, 14847, 2806, 398, 55076, 1632, 645, 3789 ]
[ 0.1668701171875, 0.31884765625, 0.1064453125, 0.208251953125, 0.1173095703125, 0.122802734375, 0.2347412109375, 0.260009765625, 0.07598876953125, 0.25830078125, 0.142822265625, 0.203857421875, 0.1400146484375, 0.140869140625, 0.1029052734375, 0.11151123046875, 0.06964111328125, 0.0...
embed
55342387_c0
55342387
elixir
0
Title: Elixir Phoenix web console Problem title: Elixir Phoenix web console Tags: elixir, phoenix-framework Problem: Elixir Phoenix web console Coming from the Rails world, I love the "Web console" debugger feature: https://www.reddit.com/r/rails/comments/8fqdg0/web_console_is_not_longer_showing_up_on_rails_52/ Is ther...
Elixir Phoenix web console Elixir Phoenix web console elixir phoenix-framework Elixir Phoenix Elixir Phoenix web console Coming from the Rails world, I love the "Web console" debugger feature: https://www.reddit.com/r/rails/comments/8fqdg0/web_console_is_not_longer_showing_up_on_rails_52/ Is there a way to have this in...
[ -0.00213623046875, 0.0220947265625, -0.00140380859375, 0.00921630859375, 0.01165771484375, 0.03369140625, -0.0198974609375, 0.0120849609375, 0.0037384033203125, -0.03955078125, 0.0031280517578125, 0.007568359375, 0.0289306640625, 0.0118408203125, -0.0032806396484375, 0.0262451171875, ...
[ 25318, 38308, 133720, 1467, 130250, 53073, 33, 4084, 160328, 18244, 85736, 7, 8999, 5161, 30474, 8, 978, 21407, 60213, 7564, 68823, 14051, 2271, 40777, 10869, 10617, 56, 31374, 2037, 191, 12744, 3917, 765, 903, 23, 678, 221, 27853, 21771, ...
[ 0.1090087890625, 0.2415771484375, 0.26904296875, 0.15185546875, 0.2427978515625, 0.03387451171875, 0.005828857421875, 0.028594970703125, 0.06048583984375, 0.0274200439453125, 0.154052734375, 0.06207275390625, 0.03009033203125, 0.1424560546875, 0.121337890625, 0.1143798828125, 0.15466...
embed
27434170_c0
27434170
elixir
0
Title: Is Stream.resource only from, not to? Problem title: Is Stream.resource only from, not to? Tags: elixir Problem: Is Stream.resource only from, not to? Reading through the documentation, Stream.resource seems only intended for creating a resource that one can read/get values from, not write/put to. Have I underst...
Is Stream.resource only from, not to? Is Stream.resource only from, not to? elixir Stream.resource Collectable Is Stream.resource only from, not to? Reading through the documentation, Stream.resource seems only intended for creating a resource that one can read/get values from, not write/put to. Have I understood corre...
[ -0.0023345947265625, 0.0302734375, -0.003082275390625, -0.0081787109375, 0.006561279296875, -0.0257568359375, 0.0096435546875, -0.006591796875, 0.00506591796875, -0.021240234375, 0.027099609375, -0.00160980224609375, 0.0308837890625, 0.029541015625, 0.002349853515625, -0.0098876953125,...
[ 2071, 115061, 5, 107, 60427, 4734, 1295, 959, 47, 15296, 38308, 138521, 2886, 209806, 179140, 100, 105233, 177953, 831, 12301, 3794, 142424, 33022, 7077, 217064, 16454, 44691, 28219, 10644, 8110, 28282, 75973 ]
[ 0.04388427734375, 0.288818359375, 0.0784912109375, 0.1490478515625, 0.269287109375, 0.116455078125, 0.1890869140625, 0.1322021484375, 0.173583984375, 0.08856201171875, 0.2130126953125, 0.1817626953125, 0.1832275390625, 0.0667724609375, 0.1268310546875, 0.0467529296875, 0.122436523437...
embed
38209736_c0
38209736
elixir
0
Title: Map key literal that starts with @ in elixir Problem title: Map key literal that starts with @ in elixir Tags: elixir Problem: Map key literal that starts with @ in elixir I'm writing some Elixir code that will make an HTTP POST request, where the body is a JSON document of options. One of the properties starts ...
Map key literal that starts with @ in elixir Map key literal that starts with @ in elixir elixir Map Poison.encode Map key literal that starts with @ in elixir I'm writing some Elixir code that will make an HTTP POST request, where the body is a JSON document of options. One of the properties starts with an @ symbol. N...
[ -0.00299072265625, 0.0034942626953125, -0.00762939453125, -0.01397705078125, -0.0296630859375, -0.0211181640625, 0.017333984375, 0.005859375, -0.01177978515625, -0.012939453125, 0.01495361328125, 0.035400390625, 0.027587890625, 0.01495361328125, 0.0172119140625, -0.0002841949462890625,...
[ 42719, 22799, 15659, 289, 4034, 678, 1374, 23, 15296, 38308, 64249, 191, 33, 40899, 32562, 25318, 18151, 135913, 81903, 50336, 14361, 821, 58627, 12937, 50717, 183871, 26582, 7722, 26785, 3917, 33022, 22288 ]
[ 0.21923828125, 0.2127685546875, 0.1380615234375, 0.1107177734375, 0.11138916015625, 0.05731201171875, 0.2132568359375, 0.07275390625, 0.0938720703125, 0.2288818359375, 0.203857421875, 0.12286376953125, 0.051025390625, 0.14208984375, 0.0399169921875, 0.07666015625, 0.0802001953125, ...
embed
41980495_c1
41980495
elixir
1
NOT used". I don't know why ... Then iex(2)> :mnesia.create_schema([node()]) {:error, {:EXIT, :function_clause}} It fails creating the schema (works fine when I dont specify a "custom" directory). Any ideas? Update 2 MUST use single quotes around the directory path (no idea why) Code signals: Handling, Test, Dev, Mnes...
NOT used". I don't know why ... Then iex(2)> :mnesia.create_schema([node()]) {:error, {:EXIT, :function_clause}} It fails creating the schema (works fine when I dont specify a "custom" directory). Any ideas? Update 2 MUST use single quotes around the directory path (no idea why) Code signals: Handling, Test, Dev, Mnes...
[ 0.0103759765625, 0.0108642578125, -0.004913330078125, 0.0279541015625, -0.020751953125, 0.0218505859375, 0.01123046875, -0.0126953125, 0.01416015625, -0.047119140625, -0.0035400390625, -0.004974365234375, 0.00180816650390625, -0.0022735595703125, 0.00130462646484375, 0.0108642578125, ...
[ 86725, 11814, 3714, 15400, 17, 3355, 40970, 39, 86, 3478, 7612, 2182, 7560, 192, 157, 112, 188800, 26939, 6371, 137175, 18347, 4032, 35782, 7, 105233, 61903, 18244, 5885, 13319, 40140, 18929, 11680, 5928, 14364, 53, 25647, 28641, 67699, 452...
[ 0.15380859375, 0.1881103515625, 0.054718017578125, 0.040618896484375, 0.0953369140625, 0.2069091796875, 0.087158203125, 0.0792236328125, 0.185546875, 0.206787109375, 0.116455078125, 0.0699462890625, 0.159423828125, 0.131103515625, 0.1390380859375, 0.157958984375, 0.1475830078125, 0...
embed
49466559_c0
49466559
elixir
0
Title: How to easily get nth String character in Elixir? Problem title: How to easily get nth String character in Elixir? Tags: elixir, string Problem: How to easily get nth String character in Elixir? In Ruby, I can easily get nth element of a string by "Hello"[0] #=> "H" . I am aware of String.slice/3 in Elixir and I...
How to easily get nth String character in Elixir? How to easily get nth String character in Elixir? elixir string How Elixir Hello String.slice How to easily get nth String character in Elixir? In Ruby, I can easily get nth element of a string by "Hello"[0] #=> "H" . I am aware of String.slice/3 in Elixir and I can do ...
[ -0.00762939453125, -0.0106201171875, 0.0059814453125, 0.0291748046875, -0.002685546875, 0.010498046875, 0.0228271484375, -0.022216796875, 0.01708984375, -0.0159912109375, 0.0125732421875, -0.038818359375, -0.0281982421875, 0.0240478515625, -0.0166015625, -0.00531005859375, 0.00421142...
[ 11249, 47, 72546, 2046, 653, 927, 23351, 214, 62816, 23, 25318, 38308, 15296, 79315, 35378, 13348, 360, 158189, 831, 12830, 111, 390, 841, 13817, 2389, 468, 107419, 18113, 54, 757, 77495, 55300, 57823, 16610, 3917 ]
[ 0.0550537109375, 0.03448486328125, 0.16845703125, 0.1187744140625, 0.2132568359375, 0.233154296875, 0.196044921875, 0.1251220703125, 0.1920166015625, 0.07257080078125, 0.12158203125, 0.275390625, 0.07025146484375, 0.1953125, 0.185302734375, 0.1395263671875, 0.0479736328125, 0.22253...
embed
36055816_c0
36055816
elixir
0
Title: Expected a truncated byte Problem title: Expected a truncated byte Tags: elixir Problem: Expected a truncated byte When I pass 2 size of bits as follow: iex(11)> <<2 :: size(2)>> I've got as output in the iex(I determine the size of the bit) <<2::size(2)>> But when I write following in the iex iex(12)> <<3 :: si...
Expected a truncated byte Expected a truncated byte elixir Expected Expected a truncated byte When I pass 2 size of bits as follow: I've got as output in the iex(I determine the size of the bit) But when I write following in the iex I've got but expected And by 4 I've got zero and for it is right, but with 3 why I've g...
[ 0.00830078125, -0.002105712890625, 0.001739501953125, 0.00041961669921875, -0.005584716796875, -0.01226806640625, 0.0002155303955078125, -0.00604248046875, 0.00762939453125, 0.037353515625, 0.0225830078125, 0.005889892578125, -0.014404296875, 0.01190185546875, 0.016357421875, -0.000362...
[ 60075, 13, 89829, 10, 14617, 16336, 3674, 390, 67, 15296, 38308, 27875, 116, 13267, 4785, 28960, 4163, 237, 140992, 17, 3355, 83324, 70, 4966, 33022, 25632, 23, 1284, 84751, 201, 45234, 7108, 678, 138, 15400, 272, 64457, 106 ]
[ 0.14111328125, 0.1424560546875, 0.12548828125, 0.016571044921875, 0.1513671875, 0.1602783203125, 0.051239013671875, 0.1290283203125, 0.10791015625, 0.0902099609375, 0.23095703125, 0.13671875, 0.1278076171875, 0.14208984375, 0.179443359375, 0.1224365234375, 0.04345703125, 0.02648925...
embed
45491034_c0
45491034
elixir
0
Title: Sendfile bug with Virtualbox, Vagrant and Cowboy Problem title: Sendfile bug with Virtualbox, Vagrant and Cowboy Tags: virtualbox, vagrant, phoenix-framework, elixir Problem: Sendfile bug with Virtualbox, Vagrant and Cowboy I'm using Vagrant with a Virtualbox provider to run a Elixir/Phoenix project but I'm runn...
Sendfile bug with Virtualbox, Vagrant and Cowboy Sendfile bug with Virtualbox, Vagrant and Cowboy virtualbox vagrant phoenix-framework elixir Sendfile Virtualbox Vagrant Cowboy Sendfile bug with Virtualbox, Vagrant and Cowboy I'm using Vagrant with a Virtualbox provider to run a Elixir/Phoenix project but I'm running i...
[ 0.0201416015625, 0.000885009765625, 0.01068115234375, 0.0164794921875, -0.02099609375, 0.0135498046875, -0.028564453125, 0.0107421875, 0, -0.021240234375, 0.02099609375, 0.03125, 0.0086669921875, 0.0311279296875, -0.005615234375, -0.006256103515625, -0.009765625, -0.00299072265625,...
[ 24044, 29822, 54608, 678, 73303, 11728, 3453, 30962, 18, 1311, 434, 30885, 20513, 107628, 15212, 53073, 33, 4084, 160328, 15296, 38308, 17368, 81450, 25318, 497, 13452, 51042, 3934, 903, 31089, 3794, 2271, 67709, 18548, 178323, 289, 89733, 29...
[ 0.1744384765625, 0.285400390625, 0.1944580078125, 0.0728759765625, 0.1932373046875, 0.21337890625, 0.140625, 0.1715087890625, 0.1304931640625, 0.053741455078125, 0.111572265625, 0.2105712890625, 0.1236572265625, 0.1083984375, 0.10595703125, 0.025848388671875, 0.06500244140625, 0.12...
embed
46654611_c0
46654611
elixir
0
Title: Get cursor position in command line (Elixir) Problem title: Get cursor position in command line (Elixir) Tags: elixir Problem: Get cursor position in command line (Elixir) I'm wondering if there is a way of capturing the absolute cursor position in command line from Elixir. I know that I have to use the followin...
Get cursor position in command line (Elixir) Get cursor position in command line (Elixir) elixir Get Elixir Get cursor position in command line (Elixir) I'm wondering if there is a way of capturing the absolute cursor position in command line from Elixir. I know that I have to use the following ansi escape sequence \03...
[ -0.01202392578125, 0.0206298828125, -0.007080078125, 0.0308837890625, 0.00311279296875, 0.01422119140625, 0.028564453125, -0.007232666015625, -0.0020599365234375, -0.01007080078125, 0.017578125, 0.005035400390625, -0.0036468505859375, 0.0230712890625, -0.01220703125, 0.01324462890625, ...
[ 20779, 13810, 42, 19069, 23, 75101, 13315, 647, 150, 38308, 15296, 25318, 149016, 3917, 3540, 109561, 70, 89931, 1295, 4527, 25632, 172, 144281, 944, 3956, 41872, 9513, 363, 1065, 910, 19, 71924, 28412, 66161, 2367, 16487, 100, 3642, 2046, ...
[ 0.1097412109375, 0.19091796875, 0.1776123046875, 0.2066650390625, 0.0372314453125, 0.169921875, 0.148193359375, 0.020294189453125, 0.080322265625, 0.251708984375, 0.088134765625, 0.1290283203125, 0.0290985107421875, 0.036834716796875, 0.0811767578125, 0.0775146484375, 0.0094299316406...
embed
57898168_c0
57898168
elixir
0
Title: NimbleCSV/CSV - newline in string causes csv to have extra lines Problem title: NimbleCSV/CSV - newline in string causes csv to have extra lines Tags: elixir Problem: NimbleCSV/CSV - newline in string causes csv to have extra lines I have a character in a string that is a newline. Checking what the character is ...
NimbleCSV/CSV - newline in string causes csv to have extra lines NimbleCSV/CSV - newline in string causes csv to have extra lines elixir NimbleCSV CSV NimbleCSV/CSV - newline in string causes csv to have extra lines I have a character in a string that is a newline. Checking what the character is with the ?character giv...
[ -0.0162353515625, -0.00872802734375, 0.01025390625, 0.02734375, -0.004547119140625, 0.0128173828125, 0.01007080078125, 0.002288818359375, -0.00186920166015625, 0.041015625, -0.03125, -0.01165771484375, 0.00262451171875, 0.04345703125, -0.01531982421875, -0.00860595703125, 0.020141601...
[ 1520, 40099, 19283, 856, 3525, 2256, 23, 79315, 113660, 20763, 334, 765, 4173, 124519, 15296, 38308, 43486, 62816, 38679, 2367, 678, 705, 9254, 2263, 720, 76199, 382, 98989, 43240, 5885, 23009, 137565, 44457, 41929, 66747, 3642, 831, 2046, ...
[ 0.105712890625, 0.22216796875, 0.1103515625, 0.25634765625, 0.1513671875, 0.2415771484375, 0.0679931640625, 0.2091064453125, 0.1348876953125, 0.1353759765625, 0.247314453125, 0.0667724609375, 0.1712646484375, 0.21533203125, 0.062744140625, 0.1993408203125, 0.279052734375, 0.2125244...
embed
43084640_c0
43084640
elixir
0
Title: Unusual elixir.vim auto indentation for case Problem title: Unusual elixir.vim auto indentation for case Tags: elixir, vim Problem: Unusual elixir.vim auto indentation for case Using autoindent in vim with the elixir.vim plugin I'm getting the following: Using the :set command I get the following: These options ...
Unusual elixir.vim auto indentation for case Unusual elixir.vim auto indentation for case elixir vim Unusual elixir.vim Unusual elixir.vim auto indentation for case Using autoindent in vim with the elixir.vim plugin I'm getting the following: Using the :set command I get the following: These options look right to me, e...
[ 0.006103515625, -0.00445556640625, -0.00738525390625, -0.00457763671875, 0.0115966796875, 0.00457763671875, -0.000087738037109375, 0.018798828125, -0.01470947265625, -0.000919342041015625, 0.004425048828125, 0.03857421875, -0.0125732421875, 0.00567626953125, -0.01080322265625, -0.01342...
[ 56979, 64010, 15296, 38308, 29671, 1809, 18597, 22062, 7225, 119916, 21704, 18, 69993, 25632, 152, 3509, 75101, 50717, 6713, 7108, 24371, 10287, 44084, 6044, 179459, 9384, 1916, 46389, 17368, 16169, 60212 ]
[ 0.048492431640625, 0.1036376953125, 0.067138671875, 0.219482421875, 0.2481689453125, 0.176025390625, 0.1666259765625, 0.09814453125, 0.1875, 0.2435302734375, 0.132568359375, 0.0875244140625, 0.1534423828125, 0.0288848876953125, 0.0177459716796875, 0.1680908203125, 0.1395263671875, ...
embed
38319847_c0
38319847
elixir
0
Title: How does Server.call work in elixir-mongo? Problem title: How does Server.call work in elixir-mongo? Tags: elixir, gen-server, mongodb Problem: How does Server.call work in elixir-mongo? I'm learning Elixir and attempting to use the elixir-mongo library . During the auth/1 command, A the function uses Server.cal...
How does Server.call work in elixir-mongo? How does Server.call work in elixir-mongo? elixir gen-server mongodb How Server.call How does Server.call work in elixir-mongo? I'm learning Elixir and attempting to use the elixir-mongo library . During the auth/1 command, A the function uses Server.call, piping in the MongoD...
[ 0.005828857421875, 0.0174560546875, -0.00185394287109375, 0.026611328125, -0.0179443359375, 0.006103515625, -0.00732421875, -0.0220947265625, -0.002838134765625, -0.044189453125, 0.0126953125, 0.01611328125, 0.001220703125, -0.00133514404296875, 0.0244140625, -0.0213623046875, 0.0135...
[ 11249, 14602, 22687, 5, 85763, 4488, 23, 15296, 38308, 39, 31525, 9226, 39642, 2667, 7803, 275, 52080, 25318, 81887, 35773, 133698, 531, 927, 11583, 75101, 62, 32354, 4527, 2147, 10366, 7465, 519, 39463, 50336, 79315, 193348, 18507, 959, 10...
[ 0.1090087890625, 0.10284423828125, 0.239013671875, 0.07293701171875, 0.250732421875, 0.1627197265625, 0.045745849609375, 0.05865478515625, 0.2132568359375, 0.0443115234375, 0.21923828125, 0.138916015625, 0.22900390625, 0.0828857421875, 0.044830322265625, 0.109619140625, 0.04077148437...
embed
51734149_c0
51734149
elixir
0
Title: Toggle Phoenix.Controller Level ExAdmin Problem title: Toggle Phoenix.Controller Level ExAdmin Tags: phoenix-framework, elixir Problem: Toggle Phoenix.Controller Level ExAdmin I'm new to Elixir/Phoenix & I'm using ex_admin for our back office, I would like to toggle the Phoenix. Controller log_level to info . It...
Toggle Phoenix.Controller Level ExAdmin Toggle Phoenix.Controller Level ExAdmin phoenix-framework elixir Toggle Phoenix.Controller Level ExAdmin Toggle Phoenix.Controller Level ExAdmin I'm new to Elixir/Phoenix & I'm using ex_admin for our back office, I would like to toggle the Phoenix. Controller log_level to info . ...
[ -0.01068115234375, -0.001373291015625, -0.004913330078125, 0.00860595703125, 0.024658203125, 0.01470947265625, -0.043212890625, -0.0128173828125, 0.00836181640625, -0.010986328125, 0.0274658203125, 0.004638671875, 0.0181884765625, 0.01055908203125, 0.0198974609375, 0.006561279296875, ...
[ 717, 129384, 133720, 175904, 603, 84136, 5443, 22409, 1249, 53073, 33, 4084, 160328, 18244, 15296, 38308, 5, 3525, 25318, 497, 1119, 135087, 4420, 23179, 2806, 1884, 47, 70, 27131, 12684, 67919, 3004, 20697, 5885, 10002, 1467, 88996, 26366, ...
[ 0.1143798828125, 0.1944580078125, 0.292724609375, 0.205078125, 0.185546875, 0.27099609375, 0.18505859375, 0.1390380859375, 0.1832275390625, 0.0677490234375, 0.10791015625, 0.1431884765625, 0.0872802734375, 0.0182037353515625, 0.0682373046875, 0.2176513671875, 0.014617919921875, 0.0...
embed
55593735_c0
55593735
elixir
0
Title: Elixir map_values in a map? Problem title: Elixir map_values in a map? Tags: elixir Problem: Elixir map_values in a map? Ain't there a standard lib function that would allow to execute a map_values function over a map : Map.map_values(%{a: 30, b: 45}, fn v -> v*2 end) # = %{a: 60, b: 90} The best way I found is:...
Elixir map_values in a map? Elixir map_values in a map? elixir Elixir map_values Map.map_values Enum.map map_fn Enum.into Elixir map_values in a map? Ain't there a standard lib function that would allow to execute a map_values function over a map : The best way I found is: which I find pretty heavy since I use this qui...
[ 0.0003986358642578125, 0.0013885498046875, -0.0013885498046875, -0.0262451171875, -0.0203857421875, -0.004119873046875, 0.0042724609375, -0.02197265625, -0.0017242431640625, 0.004974365234375, 0.016845703125, 0.01324462890625, -0.0021209716796875, 0.0179443359375, 0.0257568359375, -0.0...
[ 25318, 38308, 22288, 454, 27494, 90, 23, 10, 15296, 42719, 62346, 357, 316, 14783, 21579, 5570, 25474, 32354, 63769, 71924, 645, 2965, 3917, 14037, 7413, 28875, 99162, 4527, 32233, 27983 ]
[ 0.150146484375, 0.270751953125, 0.232177734375, 0.03350830078125, 0.2470703125, 0.1270751953125, 0.09600830078125, 0.03350830078125, 0.125, 0.21044921875, 0.1925048828125, 0.09368896484375, 0.2020263671875, 0.090087890625, 0.1307373046875, 0.1396484375, 0.1669921875, 0.177001953125...
embed
70903509_c0
70903509
elixir
0
Title: How to partially compare two maps? Problem title: How to partially compare two maps? Tags: elixir Problem: How to partially compare two maps? I'd like to compare two maps for partial equality, i.e. only for certain keys. For example I have the two maps: map1 = %{a: 1, b: 2, c: 3} map2 = %{a: 1, c: 3, d: 4} I'm o...
How to partially compare two maps? How to partially compare two maps? elixir How map1 map2 How to partially compare two maps? I'd like to compare two maps for partial equality, i.e. only for certain keys. For example I have the two maps: I'm only interested in comparing the two maps for keys :a and :c, so the above exa...
[ -0.0078125, 0.00010061264038085938, -0.0067138671875, -0.0145263671875, -0.0177001953125, -0.007415771484375, 0.01068115234375, -0.0146484375, 0.007537841796875, 0.044189453125, 0.00323486328125, 0.016357421875, 0.0177001953125, 0.047119140625, 0.00836181640625, -0.0108642578125, -0....
[ 11249, 47, 2878, 25958, 69101, 6626, 22288, 7, 15296, 38308, 418, 304, 1884, 100, 289, 28, 161789, 4734, 24233, 22799, 765, 60892, 37397, 214, 11, 136, 238, 70, 27781, 30646, 29568, 16610, 29806, 5915 ]
[ 0.1087646484375, 0.0947265625, 0.1793212890625, 0.1353759765625, 0.2479248046875, 0.12469482421875, 0.20166015625, 0.0865478515625, 0.037078857421875, 0.173583984375, 0.06982421875, 0.1409912109375, 0.053924560546875, 0.0273284912109375, 0.08221435546875, 0.050262451171875, 0.1643066...
embed
29260235_c1
29260235
elixir
1
LM key. Why aren't they showing up? I can't easily test this on other versions of Windows so this issue may be specific to Windows 8.x. If that's the case, that's fine; I'm just trying to insure I'm not coding something incorrectly. Code signals: FunctionClauseError, How, Use, Erlang, Win32Reg, Read, Windows, Registry,...
LM key. Why aren't they showing up? I can't easily test this on other versions of Windows so this issue may be specific to Windows 8.x. If that's the case, that's fine; I'm just trying to insure I'm not coding something incorrectly. Code signals: FunctionClauseError, How, Use, Erlang, Win32Reg, Read, Windows, Registry,...
[ 0.0008392333984375, 0.01177978515625, 0.0084228515625, -0.02783203125, -0.00634765625, -0.00074005126953125, -0.004150390625, -0.0174560546875, 0.01446533203125, -0.00946044921875, 0.00102996826171875, 0.01513671875, 0.0264892578125, 0.00970458984375, 0.0201416015625, -0.00787353515625...
[ 37150, 22799, 44084, 125381, 18, 1836, 141377, 1257, 831, 72546, 3034, 903, 11389, 3773, 31089, 29458, 3217, 425, 5885, 31577, 56851, 552, 6238, 214552, 28864, 26073, 28670, 10763, 26253, 18468, 31611, 11249, 36836, 1004, 3066, 17686, 6460, 5...
[ 0.254638671875, 0.266357421875, 0.0809326171875, 0.0819091796875, 0.123291015625, 0.07086181640625, 0.1641845703125, 0.156005859375, 0.01055908203125, 0.05029296875, 0.1297607421875, 0.0293121337890625, 0.0657958984375, 0.123779296875, 0.072021484375, 0.06353759765625, 0.171142578125...
embed
47389473_c1
47389473
elixir
1
Where to compile files to public: "../priv/static" }, // Configure your plugins plugins: { babel: { // Do not use ES6 compiler in vendor code ignore: [/vendor/] }, vue: { extractCSS: true, out: 'priv/static/css/components.css' } }, modules: { autoRequire: { "js/app.js": ["js/app"] } }, Code signals: Brunch, Not, Compi...
Where to compile files to public: "../priv/static" }, // Configure your plugins plugins: { babel: { // Do not use ES6 compiler in vendor code ignore: [/vendor/] }, vue: { extractCSS: true, out: 'priv/static/css/components.css' } }, modules: { autoRequire: { "js/app.js": ["js/app"] } }, Code signals: Brunch, Not, Compi...
[ -0.026123046875, 0.00927734375, 0.00885009765625, -0.00933837890625, 0.00775146484375, 0.032958984375, 0.0034637451171875, -0.011474609375, 0.00017642974853515625, -0.0107421875, -0.0191650390625, -0.01287841796875, 0.00885009765625, 0.038330078125, -0.00982666015625, -0.00184631347656...
[ 78662, 47, 9969, 1340, 102158, 3835, 5293, 334, 201939, 1657, 59994, 69993, 961, 4063, 959, 4527, 9764, 910, 34759, 116366, 18151, 124962, 1353, 1846, 31689, 125663, 180216, 12, 29568, 1810, 4439, 54137, 88996, 1809, 3181, 28175, 64, 9007, ...
[ 0.1357421875, 0.116943359375, 0.20947265625, 0.1876220703125, 0.217529296875, 0.24169921875, 0.072998046875, 0.1123046875, 0.20703125, 0.053497314453125, 0.1700439453125, 0.23388671875, 0.04754638671875, 0.1771240234375, 0.034820556640625, 0.04058837890625, 0.1142578125, 0.16552734...
embed
78852994_c0
78852994
elixir
0
Title: Listening on the same port for udp and tcp in elixir Problem title: Listening on the same port for udp and tcp in elixir Tags: dns, elixir Problem: Listening on the same port for udp and tcp in elixir Im writing a dns server purely in elixir just for fun and im struggling to get it to accept udp and tcp on port ...
Listening on the same port for udp and tcp in elixir Listening on the same port for udp and tcp in elixir dns elixir Listening Listening on the same port for udp and tcp in elixir Im writing a dns server purely in elixir just for fun and im struggling to get it to accept udp and tcp on port 53. I was also wonder if any...
[ 0.002227783203125, 0.030029296875, -0.02783203125, -0.00738525390625, 0.0189208984375, -0.01275634765625, -0.01495361328125, 0.00946044921875, 0.0081787109375, -0.057861328125, 0.006439208984375, -0.037841796875, 0.026611328125, 0.042236328125, 0.006317138671875, 0.0004444122314453125,...
[ 47969, 592, 98, 5701, 11469, 100, 1872, 254, 136, 808, 121422, 15296, 38308, 23, 104, 1779, 32562, 10723, 7477, 237875, 2046, 47, 26946, 8934, 32195, 67330, 4127, 35773, 6097, 221, 27853, 9226, 1674, 9803, 44632, 13695, 18499 ]
[ 0.243896484375, 0.05908203125, 0.05413818359375, 0.10498046875, 0.1739501953125, 0.0238494873046875, 0.12939453125, 0.1495361328125, 0.0888671875, 0.033233642578125, 0.1700439453125, 0.1312255859375, 0.238525390625, 0.0516357421875, 0.0142059326171875, 0.150146484375, 0.0584106445312...
embed
39636541_c0
39636541
elixir
0
Title: Elixir keyword list in function&#x27;s argument Problem title: Elixir keyword list in function&#x27;s argument Tags: elixir Problem: Elixir keyword list in function's argument given a function: def foo(a, opts \\ []), do: opts I can call this function this way: foo 1, b: 2 I know b: 2 is the same as [b: 2] , but...
Elixir keyword list in function&#x27;s argument Elixir keyword list in function&#x27;s argument elixir SyntaxError Elixir iex:1 Elixir keyword list in function's argument given a function: I can call this function this way: I know b: 2 is the same as [b: 2] , but I can't do that in iex, such as: so I want to know, why ...
[ 0.0179443359375, 0.000621795654296875, -0.00189208984375, -0.005706787109375, -0.005889892578125, -0.004730224609375, -0.005859375, 0.01251220703125, -0.020263671875, 0.01092529296875, -0.00244140625, -0.0078125, 0.006134033203125, 0.0137939453125, 0.01239013671875, -0.00830078125, 0...
[ 25318, 38308, 166117, 5303, 23, 32354, 3768, 10750, 15296, 19010, 86531, 18468, 17, 3355, 19721, 34475, 831, 11782, 3917, 3714, 876, 12, 116, 5701, 275, 18, 54, 15400, 7, 83, 12921 ]
[ 0.1318359375, 0.2410888671875, 0.21533203125, 0.177734375, 0.048492431640625, 0.1767578125, 0.082275390625, 0.2188720703125, 0.0914306640625, 0.0447998046875, 0.04486083984375, 0.054931640625, 0.09381103515625, 0.1888427734375, 0.04443359375, 0.000030517578125, 0.0828857421875, 0.0...
embed
55062986_c0
55062986
elixir
0
Title: convert a string into a map in Elixir Problem title: convert a string into a map in Elixir Tags: elixir, parsing Problem: convert a string into a map in Elixir I have a string something like this: ### image_date: 23/01/2019 ### pool2 wxcs 2211 pool3 wacs 1231 ### line_count: 1 ### I want to convert this to a map...
convert a string into a map in Elixir convert a string into a map in Elixir elixir parsing Elixir image_date pool2 pool3 line_count image_data npool3 convert a string into a map in Elixir I have a string something like this: I want to convert this to a map, something like: Can anyone help me with this?
[ -0.0181884765625, -0.0081787109375, -0.0223388671875, 0.018798828125, -0.0147705078125, 0.0179443359375, -0.011962890625, -0.01287841796875, 0.0198974609375, -0.000919342041015625, -0.0050048828125, 0.019775390625, 0.01507568359375, 0.02880859375, 0.005035400390625, -0.0084228515625, ...
[ 96760, 79315, 3934, 10, 22288, 23, 25318, 38308, 15296, 366, 6953, 29569, 17489, 19361, 304, 363, 13315, 71013, 10135, 20740, 765, 9844, 1884, 903, 3444, 47, 35672, 4358 ]
[ 0.167236328125, 0.279541015625, 0.1121826171875, 0.10394287109375, 0.255859375, 0.07183837890625, 0.11767578125, 0.236328125, 0.083251953125, 0.068115234375, 0.005340576171875, 0.0709228515625, 0.1031494140625, 0.08154296875, 0.0562744140625, 0.07940673828125, 0.0909423828125, 0.11...
embed
41488235_c0
41488235
elixir
0
Title: Converting nested tuple to list in elixir Problem title: Converting nested tuple to list in elixir Tags: elixir Problem: Converting nested tuple to list in elixir trying to do: def nested_tuple_to_list(tuple) when is_tuple(tuple) do ... end expecting to get: iex> example = {"foo", "bar", {"foo", "bar"}} iex> exa...
Converting nested tuple to list in elixir Converting nested tuple to list in elixir elixir Converting nested_tuple_to_list is_tuple example_as_list Converting nested tuple to list in elixir trying to do: expecting to get: my question is what is the best way to do this?
[ -0.0040283203125, 0.0037689208984375, -0.0181884765625, -0.0052490234375, 0.01513671875, 0.0262451171875, -0.0177001953125, -0.011962890625, 0.01507568359375, -0.0169677734375, -0.00726318359375, -0.01904296875, -0.0040283203125, 0.055419921875, -0.0164794921875, 0.023193359375, -0.0...
[ 814, 1916, 8512, 71, 370, 8705, 47, 5303, 15296, 38308, 458, 188, 6562, 83, 27781, 162, 23, 31577, 41206, 214, 2046, 2965, 3917, 54, 903 ]
[ 0.091552734375, 0.04180908203125, 0.2340087890625, 0.0965576171875, 0.1307373046875, 0.226806640625, 0.059814453125, 0.2215576171875, 0.08966064453125, 0.2113037109375, 0.134765625, 0.0771484375, 0.2177734375, 0.0765380859375, 0.1671142578125, 0.057647705078125, 0.01143646240234375, ...
embed
43435444_c1
43435444
elixir
1
end end end defp process_bracket(chunk, regex) do %{"bracket" => bracket, "count" => count, "tail" => tail} = Regex.named_captures(regex, chunk) if count == "" do [{:bracket, bracket, 1} | tokenize(tail)] else [{:bracket, bracket, String.to_integer(count)} | tokenize(tail)] end end end Code signals: Process, Chemistry...
end end end defp process_bracket(chunk, regex) do %{"bracket" => bracket, "count" => count, "tail" => tail} = Regex.named_captures(regex, chunk) if count == "" do [{:bracket, bracket, 1} | tokenize(tail)] else [{:bracket, bracket, String.to_integer(count)} | tokenize(tail)] end end end Code signals: Process, Chemistry...
[ -0.00921630859375, -0.02294921875, -0.0022430419921875, 0.00701904296875, 0.0069580078125, -0.00096893310546875, 0.000942230224609375, -0.022216796875, 0.013671875, 0.003570556640625, -0.005645751953125, 0.025634765625, -0.015625, 0.004791259765625, -0.00128173828125, 0.010498046875, ...
[ 3564, 8, 420, 254, 9433, 2844, 27853, 206, 3678, 6835, 3355, 54, 1745, 1620, 71013, 54529, 46741, 11678, 76, 4806, 15644, 54889, 10901, 7839, 92, 2174, 69112, 47, 1098, 20650, 37076, 23351, 188, 6191, 1505, 28864, 26073, 7, 123996, 83230,...
[ 0.2392578125, 0.168212890625, 0.1444091796875, 0.1534423828125, 0.1798095703125, 0.1807861328125, 0.203857421875, 0.06671142578125, 0.1807861328125, 0.1524658203125, 0.19189453125, 0.008056640625, 0.07427978515625, 0.1810302734375, 0.1700439453125, 0.18798828125, 0.223388671875, 0....
embed
79096264_c0
79096264
elixir
0
Title: How to use struct in .exs file Problem title: How to use struct in .exs file Tags: elixir-iex, elixir Problem: How to use struct in .exs file This is the content of my "test.exs" file. defmodule Person do defstruct name: "", age: 0, stage: :baby end bob = %Person{name: "Bob"} When I run it, I'm told: error: cann...
How to use struct in .exs file How to use struct in .exs file elixir-iex elixir How Person Bob How to use struct in .exs file This is the content of my "test.exs" file. When I run it, I'm told: So, How to use struct in .exs file where the struct is defined?
[ 0.0081787109375, 0.0128173828125, -0.00885009765625, 0.024658203125, 0.014892578125, 0.02099609375, 0.00213623046875, 0.014404296875, 0.00872802734375, -0.0269775390625, -0.003448486328125, 0.00787353515625, 0.00555419921875, 0.0025177001953125, 0.030517578125, -0.00787353515625, -0....
[ 11249, 47, 4527, 36716, 23, 5, 3355, 7, 11435, 6, 15296, 38308, 15270, 25027, 10941, 6954, 11675, 30745, 61924 ]
[ 0.062408447265625, 0.0205841064453125, 0.133544921875, 0.262939453125, 0.069580078125, 0.009735107421875, 0.164306640625, 0.1387939453125, 0.1363525390625, 0.00299072265625, 0.032073974609375, 0.1243896484375, 0.0528564453125, 0.0833740234375, 0.0247955322265625, 0.133544921875, 0.02...
embed
40456724_c0
40456724
elixir
0
Title: How do you delete a many to many association in ecto? Problem title: How do you delete a many to many association in ecto? Tags: phoenix-framework, ecto, elixir Problem: How do you delete a many to many association in ecto? It's not clear to me how to delete a many to many association in Ecto. I do not want to d...
How do you delete a many to many association in ecto? How do you delete a many to many association in ecto? phoenix-framework ecto elixir How Repo.delete How do you delete a many to many association in ecto? It's not clear to me how to delete a many to many association in Ecto. I do not want to delete the associated st...
[ -0.01025390625, 0.012451171875, -0.007659912109375, 0.0023651123046875, -0.000919342041015625, -0.0021820068359375, 0.017578125, -0.01483154296875, 0.031494140625, -0.0263671875, 0.0026092529296875, -0.0225830078125, -0.0079345703125, -0.01025390625, -0.01434326171875, 0.0184326171875,...
[ 11249, 54, 154109, 10, 5941, 47, 125413, 23, 60751, 53073, 33, 4084, 160328, 18244, 15296, 38308, 853, 771, 5, 8520, 67, 34735, 3642, 241, 44150, 137272, 45646, 76755, 81887, 7413, 33284, 222521, 23180, 442, 110, 158978, 22799, 35782 ]
[ 0.06671142578125, 0.011505126953125, 0.257568359375, 0.0789794921875, 0.22216796875, 0.2022705078125, 0.263916015625, 0.05218505859375, 0.255126953125, 0.002899169921875, 0.0178985595703125, 0.078857421875, 0.0704345703125, 0.03619384765625, 0.036895751953125, 0.1583251953125, 0.1043...
embed
38370452_c1
38370452
elixir
1
that how I can replicate the same thing in a query as we are using geo in our project and by the docs its clearly possible but am not getting the way how to do it. Code signals: ruby, Query, Ecto, Elixir, query.by_distance, by_distance, def_dataset_method, Geocoding.as_point, ST_DWithin, ST_SetSRID, ST_Point, point.ln...
that how I can replicate the same thing in a query as we are using geo in our project and by the docs its clearly possible but am not getting the way how to do it. Code signals: ruby, Query, Ecto, Elixir, query.by_distance, by_distance, def_dataset_method, Geocoding.as_point, ST_DWithin, ST_SetSRID, ST_Point, point.ln...
[ 0.0103759765625, 0.0036773681640625, -0.0140380859375, -0.009765625, -0.008544921875, -0.005157470703125, -0.0036163330078125, 0.01080322265625, -0.00299072265625, -0.08544921875, -0.01263427734375, -0.013427734375, -0.004669189453125, -0.006256103515625, -0.006072998046875, -0.0010833...
[ 450, 3642, 87, 831, 143126, 67, 70, 5701, 13580, 23, 41, 1294, 237, 17368, 20787, 2446, 13452, 390, 54, 6863, 123019, 7722, 1284, 959, 20949, 3917, 442, 28864, 26073, 7, 12, 21922, 53, 58836, 241, 44150, 25318, 38308, 1272, 56883, 8, ...
[ 0.0958251953125, 0.0885009765625, 0.024078369140625, 0.0928955078125, 0.30419921875, 0.1475830078125, 0.049652099609375, 0.13134765625, 0.1195068359375, 0.08392333984375, 0.1871337890625, 0.195556640625, 0.009552001953125, 0.12744140625, 0.2705078125, 0.03558349609375, 0.140625, 0....
embed
35994904_c0
35994904
elixir
0
Title: Runtime code reflection in Elixir Problem title: Runtime code reflection in Elixir Tags: reflection, abstract-syntax-tree, elixir Problem: Runtime code reflection in Elixir How does one extract the abstract syntax tree (AST) of a module or function at runtime in Elixir? Is there a way to do this in Elixir? defmo...
Runtime code reflection in Elixir Runtime code reflection in Elixir reflection abstract-syntax-tree elixir Runtime Elixir Car Kernel Runtime code reflection in Elixir How does one extract the abstract syntax tree (AST) of a module or function at runtime in Elixir? Is there a way to do this in Elixir?
[ 0.0113525390625, 0.01348876953125, 0.0093994140625, 0.01251220703125, 0.00152587890625, 0.00750732421875, 0.005401611328125, -0.00022220611572265625, -0.0167236328125, -0.04931640625, 0.003387451171875, -0.00074005126953125, -0.0194091796875, 0.03173828125, 0.0142822265625, 0.006744384...
[ 28398, 6032, 18151, 44961, 1830, 23, 25318, 38308, 164789, 12654, 86531, 62600, 15296, 3980, 119125, 14602, 1632, 125663, 6002, 53201, 48963, 111, 88996, 707, 32354, 99, 11675, 3917, 54, 903 ]
[ 0.09686279296875, 0.1602783203125, 0.1971435546875, 0.2047119140625, 0.06329345703125, 0.044342041015625, 0.1300048828125, 0.264404296875, 0.1854248046875, 0.06475830078125, 0.1839599609375, 0.1884765625, 0.070068359375, 0.131103515625, 0.09332275390625, 0.004337310791015625, 0.00390...
embed
28093580_c0
28093580
elixir
0
Title: How to get minimum and maximum value of each type in elixir Problem title: How to get minimum and maximum value of each type in elixir Tags: elixir Problem: How to get minimum and maximum value of each type in elixir How to get minimum and maximum value of each type in elixir? for example an integer, float and m...
How to get minimum and maximum value of each type in elixir How to get minimum and maximum value of each type in elixir elixir How limits.h INT_MIN INT_MAX How to get minimum and maximum value of each type in elixir How to get minimum and maximum value of each type in elixir? for example an integer, float and maximum p...
[ -0.002532958984375, -0.0152587890625, 0.00738525390625, 0.01409912109375, 0.00067138671875, 0.01019287109375, 0.0091552734375, 0.0032958984375, 0.007171630859375, 0.0150146484375, -0.0023956298828125, -0.0322265625, 0.0089111328125, 0.005584716796875, 0.0250244140625, 0.0084228515625, ...
[ 11249, 47, 2046, 15440, 136, 38132, 34292, 12638, 10644, 23, 15296, 38308, 111, 17475, 127, 59537, 84139, 83948, 892, 1505, 21917, 7722, 140909, 79315, 313, 61924, 209806, 52895 ]
[ 0.03955078125, 0.03814697265625, 0.1055908203125, 0.1981201171875, 0.1522216796875, 0.19140625, 0.1767578125, 0.1087646484375, 0.2144775390625, 0.0906982421875, 0.102294921875, 0.25341796875, 0.0169677734375, 0.1705322265625, 0.088134765625, 0.0902099609375, 0.1722412109375, 0.1501...
embed
46585165_c0
46585165
elixir
0
Title: Stop the Chain in pipe operator Problem title: Stop the Chain in pipe operator Tags: elixir Problem: Stop the Chain in pipe operator I have tre functions like this check_file(url) |>test |> foo check_file return {:ok,_} or {:error,_} I have Two function for pattern matching def test({:ok,_}) do IO.puts "ok"; end...
Stop the Chain in pipe operator Stop the Chain in pipe operator elixir Stop Chain check_file IO.puts Stop the Chain in pipe operator I have tre functions like this check_file return I have Two function for pattern matching If I got :error I don't want to call my last function (foo) but I'd like to show an error in Debu...
[ -0.01019287109375, -0.00628662109375, -0.0093994140625, 0.0250244140625, 0.0054931640625, 0.009033203125, -0.029541015625, -0.0023040771484375, -0.0054931640625, -0.0113525390625, 0.0029296875, -0.0108642578125, 0.023681640625, 0.0201416015625, 0.037841796875, 0.012939453125, -0.0046...
[ 42284, 70, 4841, 73, 23, 137158, 39933, 15296, 38308, 12765, 29822, 17780, 7077, 1360, 32354, 1884, 30646, 765, 32964, 103510, 14858, 214, 188800, 18, 3444, 11782, 4568, 3584, 31, 7639, 18499, 262, 85779 ]
[ 0.2213134765625, 0.1341552734375, 0.2022705078125, 0.134765625, 0.044342041015625, 0.1893310546875, 0.230712890625, 0.060943603515625, 0.192626953125, 0.174072265625, 0.156494140625, 0.1435546875, 0.0811767578125, 0.131591796875, 0.1690673828125, 0.057891845703125, 0.07666015625, 0...
embed
32032246_c0
32032246
elixir
0
Title: How to add a custom error message for a required field in Phoenix framework Problem title: How to add a custom error message for a required field in Phoenix framework Tags: phoenix-framework, elixir Problem: How to add a custom error message for a required field in Phoenix framework How can I change the error me...
How to add a custom error message for a required field in Phoenix framework How to add a custom error message for a required field in Phoenix framework phoenix-framework elixir How Phoenix required_fields How to add a custom error message for a required field in Phoenix framework How can I change the error message for ...
[ 0.0023040771484375, 0.017333984375, -0.0047607421875, 0.0137939453125, -0.0037689208984375, 0.0101318359375, 0.0035400390625, -0.01104736328125, 0.0223388671875, -0.017822265625, 0.00830078125, -0.0125732421875, 0.006256103515625, 0.01025390625, 0.0026092529296875, 0.0034942626953125, ...
[ 11249, 15190, 114122, 18499, 26008, 100, 56065, 44457, 133720, 170846, 47, 10, 53073, 33, 4084, 160328, 18244, 15296, 38308, 28394, 831, 15549, 3444, 7639, 157, 3917, 442, 201505, 64457, 114977, 34292, 4398, 18, 186, 44237 ]
[ 0.05096435546875, 0.11016845703125, 0.17724609375, 0.1844482421875, 0.1490478515625, 0.020721435546875, 0.1893310546875, 0.20654296875, 0.220703125, 0.1929931640625, 0.016937255859375, 0.0192108154296875, 0.00786590576171875, 0.016082763671875, 0.0169677734375, 0.0537109375, 0.031768...
embed
34049445_c0
34049445
elixir
0
Title: Bit-Count or Hamming-weight of a BitString in Elixir? Problem title: Bit-Count or Hamming-weight of a BitString in Elixir? Tags: bitstring, elixir, hammingweight Problem: Bit-Count or Hamming-weight of a BitString in Elixir? Please how can we efficiently calculate the hamming-weight of a bit-string in elixir? Ex...
Bit-Count or Hamming-weight of a BitString in Elixir? Bit-Count or Hamming-weight of a BitString in Elixir? bitstring elixir hammingweight Bit-Count Hamming-weight BitString Elixir Enum.count Integer.to_char_list Bit-Count or Hamming-weight of a BitString in Elixir? Please how can we efficiently calculate the hamming-w...
[ -0.00830078125, 0.006927490234375, -0.0262451171875, 0.004302978515625, 0.00946044921875, 0.015625, 0.01019287109375, -0.0157470703125, -0.007476806640625, -0.027099609375, -0.0029296875, -0.0250244140625, 0.0128173828125, 0.0322265625, -0.00543212890625, -0.00506591796875, 0.0134277...
[ 27774, 9, 108210, 707, 1391, 58838, 165598, 111, 10, 71713, 214, 23, 25318, 38308, 4785, 91693, 15296, 256, 357, 316, 71013, 44401, 188, 9254, 6562, 3642, 831, 93766, 74481, 67, 89536, 757, 275, 76327, 36053, 3559, 418, 1556, 190, 5423, ...
[ 0.205078125, 0.030517578125, 0.1884765625, 0.0704345703125, 0.162109375, 0.22412109375, 0.255859375, 0.03985595703125, 0.014862060546875, 0.1845703125, 0.114990234375, 0.093017578125, 0.119873046875, 0.25048828125, 0.1798095703125, 0.2186279296875, 0.1004638671875, 0.1478271484375,...
embed
37544655_c0
37544655
elixir
0
Title: Elixir stream audio to users Problem title: Elixir stream audio to users Tags: streaming, html5-audio, elixir, audio-streaming Problem: Elixir stream audio to users The following code streams a file to a process. I want to stream audio/mp3 to many users who will hear it via html5 audio tag. How can it be done vi...
Elixir stream audio to users Elixir stream audio to users streaming html5-audio elixir audio-streaming Elixir File.stream Test IO.puts Process stream_bytes song.mp3 Enum.each IO.inspect html5-audio Elixir stream audio to users The following code streams a file to a process. I want to stream audio/mp3 to many users who ...
[ -0.006988525390625, 0.00004029273986816406, -0.004608154296875, 0.013916015625, 0.00213623046875, 0.00469970703125, 0.01263427734375, -0.00762939453125, -0.0072021484375, -0.057861328125, 0.003143310546875, -0.00023174285888671875, 0.0147705078125, 0.04833984375, 0.0034027099609375, 0....
[ 25318, 38308, 75973, 18215, 47, 72095, 65296, 7693, 55426, 43521, 15296, 86429, 214, 42724, 8647, 17780, 7077, 123996, 61028, 11531, 2676, 363, 316, 41581, 16711, 25632, 18151, 11435, 9433, 3444, 64, 5941, 1221, 36802, 1829, 758, 7909, 11249,...
[ 0.1605224609375, 0.28955078125, 0.23974609375, 0.294189453125, 0.151123046875, 0.257568359375, 0.208984375, 0.156494140625, 0.188232421875, 0.2119140625, 0.12646484375, 0.25390625, 0.005126953125, 0.21728515625, 0.1912841796875, 0.153076171875, 0.07421875, 0.15869140625, 0.124877...
embed
55576901_c1
55576901
elixir
1
vals <- rowRecord do # Enum.each(vals, fn {key, val} -> IO.puts "#{key} --> #{val}" end) #end end) end I expect to run this: rows = convertRec(table) for rowRecord <- rows do for pairs <- rowRecord do Enum.each(pairs, fn {key, val} -> IO.puts "#{key} --> #{val}" end) end end and get name--> dave lesson --> maths ... b...
vals <- rowRecord do # Enum.each(vals, fn {key, val} -> IO.puts "#{key} --> #{val}" end) #end end) end I expect to run this: rows = convertRec(table) for rowRecord <- rows do for pairs <- rowRecord do Enum.each(pairs, fn {key, val} -> IO.puts "#{key} --> #{val}" end) end end and get name--> dave lesson --> maths ... b...
[ -0.006011962890625, -0.005615234375, -0.00445556640625, 0.026123046875, -0.01214599609375, -0.00933837890625, -0.00933837890625, -0.002593994140625, 0.0120849609375, 0.01318359375, 0.013916015625, 0.00130462646484375, 0.00982666015625, 0.0174560546875, -0.0034332275390625, -0.019775390...
[ 3502, 7, 15555, 4332, 32271, 357, 316, 41581, 1405, 14783, 19770, 17780, 7077, 3564, 3611, 41206, 11675, 96760, 238, 22819, 80836, 109637, 9351, 48, 272, 199, 1681, 48909, 18499, 18606, 31, 8447, 56, 2886, 959, 29479, 100, 685, 28864, 260...
[ 0.18603515625, 0.0941162109375, 0.1993408203125, 0.0491943359375, 0.2083740234375, 0.084716796875, 0.2484130859375, 0.1478271484375, 0.1754150390625, 0.09716796875, 0.1287841796875, 0.1575927734375, 0.0604248046875, 0.042999267578125, 0.00323486328125, 0.09423828125, 0.03765869140625...
embed
50290018_c0
50290018
elixir
0
Title: Replacing string with back reference preceeded with backslash Problem title: Replacing string with back reference preceeded with backslash Tags: string, regex, elixir Problem: Replacing string with back reference preceeded with backslash I want to replace all _ and % in a string with \_ and \% respectively. I tr...
Replacing string with back reference preceeded with backslash Replacing string with back reference preceeded with backslash string regex elixir Replacing String.replace _foo _bar Replacing string with back reference preceeded with backslash I want to replace all _ and % in a string with \_ and \% respectively. I tried ...
[ -0.021728515625, 0.03955078125, -0.017578125, 0.020263671875, -0.00897216796875, 0.0113525390625, 0.00640869140625, 0.01434326171875, 0.01324462890625, 0.02734375, 0.00823974609375, 0.0205078125, 0.0091552734375, 0.0137939453125, -0.00063323974609375, 0.006622314453125, -0.0068359375...
[ 853, 133266, 79315, 678, 4420, 91067, 76208, 26420, 5544, 7, 6835, 3355, 15296, 38308, 23351, 214, 107, 23935, 3584, 31, 1299, 297, 3444, 91995, 756, 101, 136, 1745, 41872, 454, 3949, 107013, 37842, 27489, 2389, 155965, 144281, 5117, 52490,...
[ 0.05181884765625, 0.15380859375, 0.2352294921875, 0.0537109375, 0.188720703125, 0.2171630859375, 0.0828857421875, 0.09918212890625, 0.203125, 0.0163726806640625, 0.121826171875, 0.1524658203125, 0.0858154296875, 0.2144775390625, 0.1649169921875, 0.03594970703125, 0.063720703125, 0....
embed
42709708_c0
42709708
elixir
0
Title: Updating a map entry by converting it to downcase in Elixir Problem title: Updating a map entry by converting it to downcase in Elixir Tags: elixir Problem: Updating a map entry by converting it to downcase in Elixir How can I update a value in a Map by taking a value of a key as initial one? Namely, I want to c...
Updating a map entry by converting it to downcase in Elixir Updating a map entry by converting it to downcase in Elixir elixir Updating Elixir Map.update key1 String.downcase Updating a map entry by converting it to downcase in Elixir How can I update a value in a Map by taking a value of a key as initial one? Namely, ...
[ -0.00054168701171875, -0.0111083984375, 0.0084228515625, 0.0024261474609375, 0.0019683837890625, -0.00787353515625, -0.0022430419921875, 0.01165771484375, 0.013916015625, 0.0126953125, 0.00653076171875, 0.0135498046875, 0.00787353515625, 0.02197265625, 0.02099609375, -0.003631591796875...
[ 10091, 56464, 22288, 42805, 96760, 47, 7565, 58437, 25318, 38308, 214, 23, 15296, 42719, 117008, 22799, 418, 23351, 34695, 831, 87, 28350, 10, 34292, 390, 35971, 111, 237, 61475, 1632, 3444, 79315, 6863, 92319, 7225, 5608, 7273, 144570 ]
[ 0.157470703125, 0.113525390625, 0.223876953125, 0.2135009765625, 0.1580810546875, 0.06732177734375, 0.1754150390625, 0.237548828125, 0.127197265625, 0.260498046875, 0.039581298828125, 0.08837890625, 0.0958251953125, 0.223876953125, 0.2012939453125, 0.2142333984375, 0.040863037109375,...
embed
46313985_c0
46313985
elixir
0
Title: Using atoms from declared structs in elixir works on repl but not in application Problem title: Using atoms from declared structs in elixir works on repl but not in application Tags: gen-server, elixir, erlang-otp Problem: Using atoms from declared structs in elixir works on repl but not in application Code sign...
Using atoms from declared structs in elixir works on repl but not in application Using atoms from declared structs in elixir works on repl but not in application gen-server elixir erlang-otp ArgumentError declared Using MyModule my_crazy_atom String.to_existing_atom my_crazy_atom2 erlang.binary_to_existing_atom utf8 Br...
[ 0.005706787109375, -0.00083160400390625, -0.00946044921875, 0.0269775390625, -0.0035552978515625, 0.0140380859375, 0.001861572265625, 0.00640869140625, -0.00750732421875, -0.03515625, 0.0184326171875, 0.0021820068359375, 0.0189208984375, 0.01177978515625, 0.048095703125, 0.016967773437...
[ 345, 6953, 34627, 7, 1295, 159978, 36716, 15296, 38308, 43240, 98, 456, 2424, 1284, 959, 23, 38415, 9226, 39642, 72, 3066, 818, 254, 112140, 18468, 31611, 2646, 91616, 8782, 759, 15182, 3285, 5928, 23351, 214, 188, 54376, 304, 19155, 1019...
[ 0.1246337890625, 0.037109375, 0.22900390625, 0.0623779296875, 0.1265869140625, 0.1826171875, 0.2086181640625, 0.1097412109375, 0.244384765625, 0.1361083984375, 0.1112060546875, 0.1019287109375, 0.203857421875, 0.033843994140625, 0.1099853515625, 0.05084228515625, 0.1795654296875, 0...
embed
38767537_c3
38767537
elixir
3
_vsn, s_vsn, c_version, SSH-2.0-Erlang, s_version, SSH-2.0-OpenSSH_7.2, ecdh-sha2-nistp256, ecdsa-sha2-nistp256, key_cb, ssh_file, io_cb, ssh_io, send_mac, hmac-sha2-256, recv_mac, aes256-ctr, encrypt_block_size, decrypt_block_size, c_lng, s_lng, user_ack, send_sequence, recv_sequence, random_length_padding, userauth_q...
_vsn, s_vsn, c_version, SSH-2.0-Erlang, s_version, SSH-2.0-OpenSSH_7.2, ecdh-sha2-nistp256, ecdsa-sha2-nistp256, key_cb, ssh_file, io_cb, ssh_io, send_mac, hmac-sha2-256, recv_mac, aes256-ctr, encrypt_block_size, decrypt_block_size, c_lng, s_lng, user_ack, send_sequence, recv_sequence, random_length_padding, userauth_q...
[ 0.01446533203125, 0.01153564453125, -0.01165771484375, 0.01275634765625, 0.01123046875, -0.0023956298828125, -0.016845703125, -0.00069427490234375, -0.0033721923828125, 0.031982421875, 0.003997802734375, -0.01507568359375, -0.0003833770751953125, 0.01007080078125, -0.0098876953125, 0.0...
[ 101, 18043, 19, 4, 91, 454, 501, 46354, 159, 12927, 73011, 18468, 3066, 103264, 294, 179642, 50061, 5471, 9, 2420, 18504, 42729, 254, 127892, 71574, 433, 22799, 275, 1495, 29822, 22995, 846, 25379, 35572, 21954, 334, 90, 42, 136791, 81409...
[ 0.0772705078125, 0.1820068359375, 0.1717529296875, 0.05450439453125, 0.09368896484375, 0.043670654296875, 0.0772705078125, 0.2012939453125, 0.10235595703125, 0.262939453125, 0.210205078125, 0.0740966796875, 0.266845703125, 0.132568359375, 0.0599365234375, 0.1829833984375, 0.011901855...
embed
50080317_c2
50080317
elixir
2
45, 74, 194, 222, 64, 89, 65, 146, 5, 228, 185, 2, 27, 104, 163, 184, 48, 57, 165, 116, 43, 31, 13, 85, 205, 57, 195, 184, 54, 147, 115, 80, 121, 99, 32, 156, 150, 118, 172, 35, 13, 71, 36, 203, 52, 59, 38, 163, 203, 164, 214, 200, 76, 174] While in Elixir I get: iex(1)> "32038ca6aa25db9377aaf54ac2de4059419205e4b9021b6...
45, 74, 194, 222, 64, 89, 65, 146, 5, 228, 185, 2, 27, 104, 163, 184, 48, 57, 165, 116, 43, 31, 13, 85, 205, 57, 195, 184, 54, 147, 115, 80, 121, 99, 32, 156, 150, 118, 172, 35, 13, 71, 36, 203, 52, 59, 38, 163, 203, 164, 214, 200, 76, 174] While in Elixir I get: iex(1)> "32038ca6aa25db9377aaf54ac2de4059419205e4b9021b6...
[ -0.0162353515625, -0.01153564453125, -0.013427734375, 0.006988525390625, 0.0031280517578125, -0.003204345703125, -0.0091552734375, 0.00112152099609375, 0.006072998046875, 0.01446533203125, 0.0198974609375, 0.0054931640625, -0.000164031982421875, 0.022705078125, -0.00762939453125, -0.02...
[ 2678, 4, 15124, 131192, 97400, 7911, 17853, 5684, 72726, 190, 133008, 48179, 116, 30284, 30994, 82414, 70642, 4572, 10149, 51497, 45773, 6260, 48877, 17480, 9365, 73930, 91809, 8983, 68113, 29187, 2248, 58865, 10078, 2789, 73176, 3252, 36460, ...
[ 0.28125, 0.15380859375, 0.2403564453125, 0.251708984375, 0.2164306640625, 0.18994140625, 0.18603515625, 0.1741943359375, 0.19775390625, 0.1239013671875, 0.1956787109375, 0.189697265625, 0.085205078125, 0.125244140625, 0.19189453125, 0.2056884765625, 0.1962890625, 0.1968994140625, ...
embed
29024125_c0
29024125
elixir
0
Title: Why did elixir change the notation for sending a message to a process? Problem title: Why did elixir change the notation for sending a message to a process? Tags: elixir Problem: Why did elixir change the notation for sending a message to a process? I noticed that in elixir version 0.10.1, you send a message to ...
Why did elixir change the notation for sending a message to a process? Why did elixir change the notation for sending a message to a process? elixir Why my_process Process.send Why did elixir change the notation for sending a message to a process? I noticed that in elixir version 0.10.1, you send a message to a process...
[ 0.003814697265625, 0.0037994384765625, -0.0118408203125, 0.037353515625, 0.00148773193359375, -0.0169677734375, -0.0120849609375, 0.00799560546875, -0.006561279296875, -0.029052734375, 0.0257568359375, 0.01171875, -0.0031585693359375, 0.04443359375, 0.0218505859375, 0.01171875, 0.001...
[ 44084, 15296, 38308, 15549, 110, 22062, 135834, 26008, 47, 9433, 759, 63923, 123996, 39285, 6777, 100, 156672, 23, 11389, 107754, 102014, 25379, 1884, 903, 615, 133684, 31635 ]
[ 0.078369140625, 0.12152099609375, 0.259521484375, 0.1492919921875, 0.1409912109375, 0.1396484375, 0.11859130859375, 0.1513671875, 0.122802734375, 0.18603515625, 0.11029052734375, 0.194580078125, 0.197509765625, 0.1767578125, 0.01202392578125, 0.00959014892578125, 0.0230712890625, 0...
embed
46889476_c1
46889476
elixir
1
0,34,58,32,34,100,114,101,115,115,34,125]) or that: q = from p in Product, where: fragment("? @> ?", p.categories, "[{\"id\": \"dress\"}]") , getting malformed array literal: "[{"id": "dress"}]" What I hoped was something like: q = from p in Product, where: fragment("? -> 'id' = ?", p.categories, "rochie") but not sure...
0,34,58,32,34,100,114,101,115,115,34,125]) or that: q = from p in Product, where: fragment("? @> ?", p.categories, "[{\"id\": \"dress\"}]") , getting malformed array literal: "[{"id": "dress"}]" What I hoped was something like: q = from p in Product, where: fragment("? -> 'id' = ?", p.categories, "rochie") but not sure...
[ -0.01904296875, 0.00469970703125, -0.004638671875, -0.004974365234375, -0.031982421875, -0.002288818359375, -0.01904296875, 0.0086669921875, 0.01904296875, -0.0107421875, 0.010986328125, 0.0167236328125, -0.0142822265625, -0.0162353515625, -0.0205078125, 0.002960205078125, -0.0169677...
[ 74992, 80389, 1019, 4, 6460, 10289, 3559, 129150, 35046, 103928, 63652, 268, 707, 450, 8096, 2203, 1295, 915, 23, 73111, 7440, 38551, 1374, 2740, 2953, 240153, 532, 107421, 20949, 960, 5037, 10298, 53, 15659, 289, 12, 15673, 132, 516, 553...
[ 0.1790771484375, 0.12841796875, 0.158203125, 0.0165252685546875, 0.147705078125, 0.1829833984375, 0.138671875, 0.1827392578125, 0.1473388671875, 0.13525390625, 0.15673828125, 0.040985107421875, 0.0187225341796875, 0.015106201171875, 0.2198486328125, 0.117431640625, 0.1495361328125, ...
embed
65333109_c0
65333109
elixir
0
Title: How to merge lists into a list of tuples in Elixir? Problem title: How to merge lists into a list of tuples in Elixir? Tags: tuples, elixir, list Problem: How to merge lists into a list of tuples in Elixir? What is the Elixir approach to merge two lists into a single list of tuples? list1 = [1, 2, 3, 4] list2 = ...
How to merge lists into a list of tuples in Elixir? How to merge lists into a list of tuples in Elixir? tuples elixir list How Elixir list1 list2 List How to merge lists into a list of tuples in Elixir? What is the Elixir approach to merge two lists into a single list of tuples? Each member of result is a tuple, whose ...
[ 0.01348876953125, 0.015380859375, 0.000518798828125, -0.007476806640625, 0.0106201171875, 0.017578125, -0.0228271484375, -0.01361083984375, 0.0145263671875, -0.01275634765625, 0.00634765625, 0.0018310546875, 0.000934600830078125, 0.03857421875, 0.00341796875, -0.01055908203125, -0.01...
[ 11249, 47, 42564, 5303, 7, 3934, 370, 99726, 25318, 38308, 23, 15296, 418, 304, 32036, 51515, 6626, 11001, 98423, 32786, 16750, 8705, 5117, 17932, 1295, 6, 5 ]
[ 0.1016845703125, 0.057037353515625, 0.258544921875, 0.280029296875, 0.0809326171875, 0.1273193359375, 0.1583251953125, 0.23828125, 0.1365966796875, 0.250244140625, 0.047882080078125, 0.10308837890625, 0.028411865234375, 0.10662841796875, 0.1639404296875, 0.12078857421875, 0.122558593...
embed
43375707_c1
43375707
elixir
1
field, wrap the function or field name in double quotes (elixir) expanding macro: Kernel.to_string/1 Is there a way for me to fix this somehow? I have thought of parsing the map and de-capitalizing all fields first, but I would rather not. Why can't I have capitalized keys for a struct? It seems like I can though, as ...
field, wrap the function or field name in double quotes (elixir) expanding macro: Kernel.to_string/1 Is there a way for me to fix this somehow? I have thought of parsing the map and de-capitalizing all fields first, but I would rather not. Why can't I have capitalized keys for a struct? It seems like I can though, as ...
[ 0.01416015625, -0.0125732421875, -0.0128173828125, 0.029296875, -0.0029296875, 0.0230712890625, 0.0242919921875, -0.00005078315734863281, 0.01220703125, 0.0034637451171875, 0.00016021728515625, -0.00213623046875, 0.01458740234375, 0.007293701171875, 0.00093841552734375, -0.00927734375,...
[ 44457, 137565, 32354, 707, 9351, 23, 41929, 66747, 7, 6169, 38308, 71062, 214, 111789, 119125, 583, 188, 91693, 11583, 2685, 3917, 47, 30022, 903, 209303, 17569, 366, 22288, 8, 215652, 84382, 756, 5117, 43257, 959, 44084, 831, 18, 765, 10...
[ 0.248046875, 0.207763671875, 0.19873046875, 0.020965576171875, 0.10302734375, 0.052734375, 0.122802734375, 0.199462890625, 0.1251220703125, 0.0887451171875, 0.2489013671875, 0.174560546875, 0.056610107421875, 0.2042236328125, 0.1651611328125, 0.138671875, 0.159423828125, 0.21008300...
embed
28267278_c0
28267278
elixir
0
Title: Elixir: Streaming into runs Problem title: Elixir: Streaming into runs Tags: stream, elixir Problem: Elixir: Streaming into runs I'd like to stream a list (pre-sorted) such as [1,1,1,2,2,2,2,2,2,3,3,4] so it becomes split into runs like this [[1,1,1],[2,2,2,2,2,2],[3,3],[ 4]] is there a neat way of doing this? I...
Elixir: Streaming into runs Elixir: Streaming into runs stream elixir Elixir Streaming Elixir: Streaming into runs I'd like to stream a list (pre-sorted) such as so it becomes split into runs like this is there a neat way of doing this? I've been studying: Stream.transform , Stream.take_while , Enum.split_while , Enum....
[ -0.005584716796875, -0.004852294921875, 0.017333984375, -0.006439208984375, -0.00518798828125, 0.004852294921875, -0.000301361083984375, -0.02880859375, 0.0029296875, -0.015869140625, 0.008544921875, 0.0230712890625, -0.00787353515625, 0.042724609375, -0.0196533203125, -0.0095825195312...
[ 25318, 38308, 12, 163274, 3934, 127877, 75973, 15296, 87, 71, 1884, 47, 10, 5303, 4692, 62351, 6044, 221, 24209, 65450, 903, 22021, 3917, 20594, 35187, 115061, 215175, 78219, 204610, 357, 316, 7008, 4353, 15866, 150632, 62346, 107, 106357, ...
[ 0.14892578125, 0.262451171875, 0.05859375, 0.2548828125, 0.1883544921875, 0.222412109375, 0.24462890625, 0.1119384765625, 0.00262451171875, 0.0298614501953125, 0.119873046875, 0.036285400390625, 0.043792724609375, 0.2171630859375, 0.1258544921875, 0.1688232421875, 0.0162200927734375,...
embed
38732453_c0
38732453
elixir
0
Title: Elixir/Phoenix/Timex: protocol Timex.Protocol not implemented for :error Problem title: Elixir/Phoenix/Timex: protocol Timex.Protocol not implemented for :error Tags: timex, phoenix-framework, elixir Problem: Elixir/Phoenix/Timex: protocol Timex.Protocol not implemented for :error Code signals: Protocol.Undefine...
Elixir/Phoenix/Timex: protocol Timex.Protocol not implemented for :error Elixir/Phoenix/Timex: protocol Timex.Protocol not implemented for :error timex phoenix-framework elixir Protocol.UndefinedError Elixir Phoenix Timex Timex.Protocol string_to_datetime String.split List.last Timex.parse YYYY h12 first_appointment Ti...
[ 0.013916015625, -0.007720947265625, 0.0262451171875, 0.0284423828125, -0.00933837890625, -0.01129150390625, -0.00250244140625, -0.01556396484375, 0.00191497802734375, -0.0400390625, 0.00457763671875, -0.020751953125, 0.0303955078125, -0.0025634765625, 0.007476806640625, 0.0068054199218...
[ 25318, 38308, 33, 4084, 70059, 425, 91363, 19055, 10752, 188, 8447, 959, 29479, 100, 188800, 1733, 160328, 15296, 151607, 1067, 5983, 18468, 31611, 133720, 79315, 17489, 6032, 23351, 4353, 32036, 19777, 2500, 108354, 1530, 5117, 140545, 44150, ...
[ 0.076904296875, 0.2010498046875, 0.04638671875, 0.1064453125, 0.2037353515625, 0.162841796875, 0.2420654296875, 0.211181640625, 0.0919189453125, 0.205810546875, 0.1455078125, 0.09930419921875, 0.196533203125, 0.0888671875, 0.1949462890625, 0.1461181640625, 0.06878662109375, 0.03808...
embed
30927635_c0
30927635
elixir
0
Title: In Elixir how do you initialize a struct with a map variable Problem title: In Elixir how do you initialize a struct with a map variable Tags: elixir Problem: In Elixir how do you initialize a struct with a map variable I know its possible to create a struct via %User{ email: 'blah@blah.com' } . But if I had a v...
In Elixir how do you initialize a struct with a map variable In Elixir how do you initialize a struct with a map variable elixir Elixir User blah.com In Elixir how do you initialize a struct with a map variable I know its possible to create a struct via %User{ email: 'blah@blah.com' } . But if I had a variable params =...
[ 0.01043701171875, 0.01055908203125, 0.0045166015625, -0.01483154296875, -0.0103759765625, 0.0057373046875, 0.00634765625, -0.00653076171875, 0.007354736328125, -0.01336669921875, -0.005615234375, 0.02197265625, 0.031005859375, 0.0162353515625, 0.0260009765625, -0.00811767578125, -0.0...
[ 360, 25318, 38308, 3642, 61475, 20650, 36716, 678, 10, 22288, 77336, 15296, 53400, 9932, 127, 277, 54, 7722, 28282, 1829, 1745, 1062, 2189, 3340, 275, 1566, 1902, 121, 4432, 25501, 3917, 17368, 18499, 831, 24649, 112, 442 ]
[ 0.054718017578125, 0.1419677734375, 0.2369384765625, 0.05670166015625, 0.2244873046875, 0.171875, 0.279541015625, 0.1524658203125, 0.0648193359375, 0.2098388671875, 0.30126953125, 0.10394287109375, 0.1092529296875, 0.09686279296875, 0.052642822265625, 0.0980224609375, 0.0179595947265...
embed
33695077_c1
33695077
elixir
1
6082402655259\r\n1342729635050601557\r\n1342815051384338027\r\n1361578683715077199\r\n1381265403472415423\r\n1387654405700676857\r\n1414719090657425471\r\n1438176310698548801\r\n1440426998028857687\r\n1444777794598883737\r\n1448786004429696643\r\n1449069084476072141\r\n1449922801627060913\r\n1459186197300152561\r\n1470...
1414719090657425471 n1438176310698548801 n1440426998028857687 n1444777794598883737 n1448786004429696643 n1449069084476072141 n1449922801627060913 n1459186197300152561 n1470497644058466497 n1497532721434112879 n1514370843858307907 n1528087672407582373 n1530255914631110911 n1537681216742780453 n1547498566041252091 n15633...
[ -0.007537841796875, -0.002960205078125, -0.023193359375, 0.00439453125, 0.0029754638671875, 0.00946044921875, 0.0025787353515625, 0.00830078125, 0.002349853515625, 0.004119873046875, -0.00518798828125, -0.01031494140625, -0.006927490234375, -0.01312255859375, 0.0263671875, 0.0017318725...
[ 616, 128497, 2947, 6463, 9016, 178021, 2588, 158222, 653, 2592, 10991, 2489, 15748, 54100, 183642, 161414, 6746, 2839, 179122, 5046, 4836, 103064, 12243, 180348, 131663, 158657, 104656, 170290, 49543, 363, 115252, 200439, 10715, 12465, 133572, 18...
[ 0.2218017578125, 0.263671875, 0.1900634765625, 0.1964111328125, 0.1722412109375, 0.2279052734375, 0.1729736328125, 0.259765625, 0.2249755859375, 0.1641845703125, 0.202392578125, 0.154541015625, 0.1527099609375, 0.1634521484375, 0.2227783203125, 0.189208984375, 0.2095947265625, 0.13...
embed
48634536_c0
48634536
elixir
0
Title: List of time stamps not sorting properly Problem title: List of time stamps not sorting properly Tags: elixir, phoenix-framework, sorting Problem: List of time stamps not sorting properly I have a list of maps each with a key stating the "inserted_at" time in which the items were inserted in my database. I want ...
List of time stamps not sorting properly List of time stamps not sorting properly elixir phoenix-framework sorting List List of time stamps not sorting properly I have a list of maps each with a key stating the "inserted_at" time in which the items were inserted in my database. I want to sort this list in descending or...
[ -0.004913330078125, -0.009521484375, 0.0164794921875, -0.033447265625, -0.0201416015625, -0.00946044921875, -0.0301513671875, -0.0093994140625, -0.0125732421875, -0.0024261474609375, 0.002685546875, -0.01611328125, 0.01611328125, 0.006378173828125, 0.0108642578125, 0.0009765625, -0.0...
[ 32036, 1733, 106507, 7, 959, 12096, 214, 155965, 15296, 38308, 53073, 33, 4084, 160328, 18244, 5303, 22288, 22799, 13254, 73, 33657, 297, 257, 55769, 183540, 63399, 3444, 47, 60887, 12989, 7639, 2684, 17309, 5117, 17569, 16487, 20903, 116, ...
[ 0.146728515625, 0.14794921875, 0.2080078125, 0.08740234375, 0.1085205078125, 0.2193603515625, 0.0706787109375, 0.167236328125, 0.02313232421875, 0.1400146484375, 0.026214599609375, 0.03863525390625, 0.10650634765625, 0.0919189453125, 0.05902099609375, 0.14306640625, 0.1292724609375, ...
embed
58656874_c0
58656874
elixir
0
Title: optimal method of elixir map bindings Problem title: optimal method of elixir map bindings Tags: elixir Problem: optimal method of elixir map bindings I have the following code: total_pages = res["payload"]["total pages"] current_page = res["payload"]["page"] total_entities = res["payload"]["total entities"] que...
optimal method of elixir map bindings optimal method of elixir map bindings elixir total_pages current_page total_entities unprocessed_entities optimal method of elixir map bindings I have the following code: where res is a http response map. What is the Elixir way of binding these values?
[ -0.015869140625, 0.012451171875, -0.000736236572265625, -0.0233154296875, 0.0008392333984375, -0.0087890625, 0.0033721923828125, -0.005523681640625, 0.01361083984375, -0.02197265625, -0.00335693359375, -0.0213623046875, 0.010498046875, 0.021240234375, 0.007171630859375, 0.0291748046875...
[ 24087, 55300, 111, 15296, 38308, 22288, 128239, 7, 3622, 22469, 43581, 21616, 2449, 51, 63923, 25632, 18151, 7440, 3332, 83, 1621, 57553, 4865, 25318, 3917, 6097, 142424 ]
[ 0.20361328125, 0.1748046875, 0.032806396484375, 0.118896484375, 0.300048828125, 0.2266845703125, 0.2457275390625, 0.00936126708984375, 0.152587890625, 0.2215576171875, 0.1343994140625, 0.087646484375, 0.0116424560546875, 0.0479736328125, 0.13916015625, 0.06317138671875, 0.14953613281...
embed
44153889_c2
44153889
elixir
2
send_resp, Poison.encode, Ecto.Schema, Poison.Encoder, Ecto.Changeset.cast, Ecto.Changeset.validate_required, Healtheries, Meat, Dairy, Confectionary, Dessert, Baking, Condiments, Beverages, Yummy, Chocolate, Bits, PID, Api.Router, Server, Request, POST, ok.errors, repo.ex:33, Api.Repo.insertProductCategories, router....
send_resp, Poison.encode, Ecto.Schema, Poison.Encoder, Ecto.Changeset.cast, Ecto.Changeset.validate_required, Healtheries, Meat, Dairy, Confectionary, Dessert, Baking, Condiments, Beverages, Yummy, Chocolate, Bits, PID, Api.Router, Server, Request, POST, ok.errors, repo.ex:33, Api.Repo.insertProductCategories, router....
[ -0.020751953125, 0.0108642578125, 0.005035400390625, 0.005615234375, -0.002899169921875, 0.0036468505859375, -0.029541015625, -0.02490234375, 0.018310546875, 0.005828857421875, 0.00555419921875, 0.0000324249267578125, 0.00726318359375, 0.0035858154296875, 0.00244140625, 0.0008125305175...
[ 25379, 454, 2109, 254, 4, 64249, 191, 5, 33, 40899, 241, 44150, 25452, 11883, 7768, 587, 820, 127008, 4188, 126, 55741, 7013, 17489, 3181, 2822, 19102, 13, 10484, 1215, 257, 52935, 1294, 102668, 10763, 6635, 5581, 33657, 15082, 214, 46347...
[ 0.199462890625, 0.0311431884765625, 0.1890869140625, 0.228271484375, 0.0220489501953125, 0.249755859375, 0.2142333984375, 0.052093505859375, 0.1234130859375, 0.254638671875, 0.03875732421875, 0.2310791015625, 0.1099853515625, 0.1368408203125, 0.0635986328125, 0.1597900390625, 0.12792...
embed
46367673_c0
46367673
elixir
0
Title: How to create tar file in Elixir by Erlang Problem title: How to create tar file in Elixir by Erlang Tags: elixir Problem: How to create tar file in Elixir by Erlang I tried several times to create directory to .tar archive. but I didn't succeed. Example code for creating .tar format. (with erlang) {:ok , filena...
How to create tar file in Elixir by Erlang How to create tar file in Elixir by Erlang elixir How Elixir Erlang File.ls Users Desktop erl_tar.create test.tar How to create tar file in Elixir by Erlang I tried several times to create directory to .tar archive. but I didn't succeed. Example code for creating .tar format. ...
[ 0.0098876953125, -0.0000514984130859375, -0.00250244140625, 0.006072998046875, 0.00750732421875, -0.0091552734375, -0.0013885498046875, 0.00677490234375, -0.00494384765625, -0.0062255859375, 0.0211181640625, 0.0247802734375, -0.0021514892578125, 0.02734375, 0.0177001953125, 0.000637054...
[ 11249, 47, 28282, 2405, 11435, 23, 25318, 38308, 390, 1004, 3066, 15296, 42724, 8080, 53400, 141423, 72, 141, 867, 7612, 3034, 37842, 20028, 14364, 147488, 214493, 89536, 18151, 105233, 9384, 76228, 35782, 4358 ]
[ 0.0653076171875, 0.048919677734375, 0.155517578125, 0.263916015625, 0.165771484375, 0.073974609375, 0.1265869140625, 0.2386474609375, 0.1048583984375, 0.1319580078125, 0.2445068359375, 0.08831787109375, 0.109375, 0.1129150390625, 0.07781982421875, 0.136962890625, 0.0733642578125, 0...
embed
66696409_c0
66696409
elixir
0
Title: How to replace elements in an array in elixir Problem title: How to replace elements in an array in elixir Tags: elixir Problem: How to replace elements in an array in elixir I want to replace all occurrences of 2 with 3. I want to do this without using the value of the index because that would be hardcoding. Wh...
How to replace elements in an array in elixir How to replace elements in an array in elixir elixir How replace_at Enum.each IO.puts How to replace elements in an array in elixir I want to replace all occurrences of 2 with 3. I want to do this without using the value of the index because that would be hardcoding. What I...
[ -0.033447265625, -0.000553131103515625, -0.0206298828125, -0.00433349609375, -0.003692626953125, 0.019287109375, -0.0245361328125, -0.0020599365234375, 0.00579833984375, 0.00640869140625, 0.016357421875, -0.00836181640625, 0.003997802734375, -0.0025787353515625, 0.0184326171875, -0.001...
[ 11249, 47, 91995, 80854, 23, 10298, 53, 15296, 38308, 142, 257, 357, 316, 41581, 17780, 7077, 3444, 756, 74918, 42, 69098, 116, 678, 1031, 15490, 34292, 63262, 7941, 587 ]
[ 0.071533203125, 0.06866455078125, 0.1944580078125, 0.2099609375, 0.081298828125, 0.1949462890625, 0.1448974609375, 0.10345458984375, 0.2364501953125, 0.0200653076171875, 0.07330322265625, 0.06402587890625, 0.156982421875, 0.126953125, 0.156982421875, 0.10565185546875, 0.0681762695312...
embed
23622542_c0
23622542
elixir
0
Title: Elixir function clauses: list of strings vs list of numbers vs tuple of strings vs tuple of numbers Problem title: Elixir function clauses: list of strings vs list of numbers vs tuple of strings vs tuple of numbers Tags: elixir, pattern-matching Problem: Elixir function clauses: list of strings vs list of number...
Elixir function clauses: list of strings vs list of numbers vs tuple of strings vs tuple of numbers Elixir function clauses: list of strings vs list of numbers vs tuple of strings vs tuple of numbers elixir pattern-matching Elixir Elixir function clauses: list of strings vs list of numbers vs tuple of strings vs tuple ...
[ 0.0023651123046875, 0.0162353515625, 0.001983642578125, 0.00390625, -0.004669189453125, -0.0069580078125, -0.01611328125, -0.0076904296875, 0.01483154296875, 0.019287109375, -0.01007080078125, -0.036865234375, 0.00026702880859375, 0.01220703125, 0.0084228515625, 0.01080322265625, 0.0...
[ 25318, 38308, 32354, 70731, 90, 5303, 111, 79315, 20209, 101935, 370, 8705, 15296, 103510, 98753, 3444, 40140, 18929, 201, 678, 25632, 14, 1573, 334 ]
[ 0.140625, 0.258056640625, 0.187255859375, 0.2396240234375, 0.156494140625, 0.1395263671875, 0.03790283203125, 0.209716796875, 0.116943359375, 0.1348876953125, 0.10430908203125, 0.141845703125, 0.10479736328125, 0.1905517578125, 0.1512451171875, 0.06243896484375, 0.1361083984375, 0....
embed
65765426_c0
65765426
elixir
0
Title: how to create a folder in google storage? Elixir Problem title: how to create a folder in google storage? Elixir Tags: elixir, phoenix-framework Problem: how to create a folder in google storage? Elixir This is working, but only the file is created at the root and not the folder {:ok, object} = GoogleApi.Storage...
how to create a folder in google storage? Elixir how to create a folder in google storage? Elixir elixir phoenix-framework Elixir GoogleApi.Storage.V1.Api.Objects.storage_objects_insert_simple bucket_id Path.basename file_path how to create a folder in google storage? Elixir This is working, but only the file is create...
[ 0.0126953125, -0.00494384765625, -0.00958251953125, -0.00714111328125, 0.0023956298828125, 0.009521484375, -0.0005340576171875, -0.01263427734375, 0.0011444091796875, 0.00836181640625, 0.01611328125, -0.038818359375, -0.0010986328125, 0.005523681640625, 0.00714111328125, -0.01806640625...
[ 3642, 28282, 78303, 23, 26484, 132096, 25318, 38308, 47, 10, 15296, 33, 4084, 160328, 18244, 1815, 1434, 188, 29838, 856, 418, 75161, 140464, 187694, 33657, 191560, 373, 27853, 532, 108421, 37382, 11627, 11435, 128405, 20697, 4734, 75935, 99,...
[ 0.02996826171875, 0.1575927734375, 0.255126953125, 0.068359375, 0.181884765625, 0.242431640625, 0.0931396484375, 0.2264404296875, 0.01201629638671875, 0.0156402587890625, 0.03692626953125, 0.00447845458984375, 0.07684326171875, 0.0638427734375, 0.0263214111328125, 0.08746337890625, 0...
embed
33092707_c0
33092707
elixir
0
Title: How to use BigQuery API from elixir code Problem title: How to use BigQuery API from elixir code Tags: elixir, google-bigquery, google-cloud-platform Problem: How to use BigQuery API from elixir code How to use BigQuery from elixir code? I would like to use Big Query web API from elixir code. Although there is n...
How to use BigQuery API from elixir code How to use BigQuery API from elixir code elixir google-bigquery google-cloud-platform elixir How BigQuery API How to use BigQuery API from elixir code How to use BigQuery from elixir code? I would like to use Big Query web API from elixir code. Although there is no elixir client...
[ -0.0194091796875, 0.0235595703125, -0.00531005859375, -0.00080108642578125, 0.00909423828125, -0.0003414154052734375, 0.00848388671875, -0.0045166015625, -0.0128173828125, -0.016845703125, -0.00130462646484375, -0.0186767578125, 0.003936767578125, 0.00860595703125, 0.0031890869140625, ...
[ 11249, 47, 4527, 14195, 41732, 1294, 61687, 1295, 15296, 38308, 18151, 26484, 32976, 944, 182422, 172121, 2806, 1884, 58836, 53, 1467, 110, 23282, 45461, 35773, 9191, 1221, 4516, 15426, 17368, 765, 1119, 3240, 1375, 156416, 22, 40899, 202319 ...
[ 0.1263427734375, 0.08966064453125, 0.1693115234375, 0.1756591796875, 0.2286376953125, 0.2388916015625, 0.261474609375, 0.1385498046875, 0.1097412109375, 0.263427734375, 0.20166015625, 0.0894775390625, 0.1363525390625, 0.19970703125, 0.12451171875, 0.1077880859375, 0.01025390625, 0....
embed
55759006_c0
55759006
elixir
0
Title: How to send http request to Stripe instead of curl request? Problem title: How to send http request to Stripe instead of curl request? Tags: elixir, httpoison Problem: How to send http request to Stripe instead of curl request? I can send curl request to Stripe API successfully, just like this: curl https://api....
How to send http request to Stripe instead of curl request? How to send http request to Stripe instead of curl request? elixir httpoison How Stripe api.stripe.com sk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx How to send http request to Stripe instead of curl request? I can send curl request to Stripe API successfully, j...
[ -0.01361083984375, 0.00799560546875, -0.0035247802734375, -0.0225830078125, 0.00946044921875, 0.0068359375, 0.0034027099609375, -0.00092315673828125, 0.010498046875, -0.0159912109375, 0.034912109375, 0.0240478515625, -0.0137939453125, 0.0291748046875, 0.008544921875, -0.000295639038085...
[ 11249, 25379, 1621, 50336, 47, 126165, 13, 64457, 9709, 141, 15296, 38308, 31, 40514, 31470, 7655, 1081, 11380, 6954, 111, 61687, 65771, 1884, 25318, 42548, 135913 ]
[ 0.04779052734375, 0.12139892578125, 0.21240234375, 0.1954345703125, 0.0960693359375, 0.240966796875, 0.21826171875, 0.11773681640625, 0.160888671875, 0.1651611328125, 0.0435791015625, 0.2152099609375, 0.01297760009765625, 0.17431640625, 0.0777587890625, 0.1175537109375, 0.18103027343...
embed
55008162_c0
55008162
elixir
0
Title: Elixir - Merging two maps with similar key names and values as lists? Problem title: Elixir - Merging two maps with similar key names and values as lists? Tags: elixir, list, maps, nested, concatenation Problem: Elixir - Merging two maps with similar key names and values as lists? I have two maps: a = %{ list: [...
Elixir - Merging two maps with similar key names and values as lists? Elixir - Merging two maps with similar key names and values as lists? elixir list maps nested concatenation Elixir Merging Elixir - Merging two maps with similar key names and values as lists? I have two maps: I wish to merge/concat the two nested li...
[ 0.011474609375, 0.006134033203125, -0.0072021484375, -0.000644683837890625, 0.01226806640625, 0.017333984375, -0.0050048828125, 0.00038909912109375, 0.025146484375, 0.019287109375, -0.004913330078125, -0.007568359375, 0.0164794921875, 0.04638671875, 0.005950927734375, -0.0191650390625,...
[ 25318, 38308, 20, 6035, 9966, 6626, 22288, 7, 678, 21373, 22799, 123055, 142424, 237, 5303, 136, 15296, 8512, 71, 158, 4460, 33, 765, 32599, 47, 42564, 2271, 16750, 53894, 7225, 43257 ]
[ 0.1785888671875, 0.31298828125, 0.06610107421875, 0.2022705078125, 0.13134765625, 0.1864013671875, 0.1964111328125, 0.03057861328125, 0.085205078125, 0.170654296875, 0.12225341796875, 0.09429931640625, 0.1314697265625, 0.08123779296875, 0.2186279296875, 0.048431396484375, 0.113769531...
embed
48231055_c0
48231055
elixir
0
Title: Pattern match on substring in Elixir Problem title: Pattern match on substring in Elixir Tags: elixir Problem: Pattern match on substring in Elixir How can I pattern match on a string where passing either side of the semicolon will return true? In other words, is there a simple way to pattern match it contains t...
Pattern match on substring in Elixir Pattern match on substring in Elixir elixir Pattern Elixir matched_string Pattern match on substring in Elixir How can I pattern match on a string where passing either side of the semicolon will return true? In other words, is there a simple way to pattern match it contains the subs...
[ -0.0196533203125, 0.02197265625, 0.004791259765625, 0.0186767578125, -0.01226806640625, -0.0029754638671875, -0.006134033203125, 0.000461578369140625, 0.004974365234375, -0.0068359375, 0.029296875, 0.003173828125, 0.00885009765625, 0.0299072265625, 0.0086669921875, -0.01470947265625, ...
[ 9876, 22766, 14858, 98, 1614, 91693, 25318, 38308, 23, 15296, 297, 11249, 831, 87, 103510, 79315, 452, 40101, 5609, 40, 46029, 4759, 30646, 29568, 8781, 3917, 70541 ]
[ 0.1705322265625, 0.197265625, 0.235107421875, 0.053680419921875, 0.1873779296875, 0.2366943359375, 0.10736083984375, 0.2298583984375, 0.01275634765625, 0.05682373046875, 0.0128631591796875, 0.0024318695068359375, 0.0261383056640625, 0.0032863616943359375, 0.23876953125, 0.2100830078125...
embed
70775478_c1
70775478
elixir
1
such as `p` in `from p in Post` * named bindings, such as `as(:post)` in `from Post, as: :post` * parent named bindings, such as `parent_as(:post)` in a subquery How can I preload the associations and just return the two desired Preference records? Code signals: Ecto.Query.CompileError, p, Post, How, Ecto, WHERE, Pref...
such as `p` in `from p in Post` * named bindings, such as `as(:post)` in `from Post, as: :post` * parent named bindings, such as `parent_as(:post)` in a subquery How can I preload the associations and just return the two desired Preference records? Code signals: Ecto.Query.CompileError, p, Post, How, Ecto, WHERE, Pref...
[ -0.00494384765625, 0.01177978515625, -0.0034942626953125, 0.019775390625, -0.008544921875, 0.00885009765625, 0.0001010894775390625, -0.0130615234375, 0.0167236328125, -0.058349609375, 0.01019287109375, 0.00885009765625, 0.0013885498046875, -0.0024871826171875, -0.006805419921875, 0.012...
[ 6044, 254, 23, 161063, 915, 2795, 24, 4806, 128239, 162, 4594, 237, 49129, 99547, 1614, 944, 11249, 831, 87, 479, 63033, 70, 151747, 1660, 30646, 6626, 104851, 436, 239879, 115923, 28864, 26073, 241, 44150, 41732, 1294, 108161, 1340, 18468,...
[ 0.045318603515625, 0.1431884765625, 0.0478515625, 0.19775390625, 0.133544921875, 0.1785888671875, 0.0697021484375, 0.07275390625, 0.208984375, 0.142578125, 0.1392822265625, 0.1229248046875, 0.1705322265625, 0.1431884765625, 0.1966552734375, 0.142822265625, 0.1190185546875, 0.045745...
embed
42619396_c0
42619396
elixir
0
Title: A type declaration-description in an Elixir file -- is it really? Or anything else? Problem title: A type declaration-description in an Elixir file -- is it really? Or anything else? Tags: elixir Problem: A type declaration-description in an Elixir file -- is it really? Or anything else? I've seen this in an Eli...
A type declaration-description in an Elixir file -- is it really? Or anything else? A type declaration-description in an Elixir file -- is it really? Or anything else? elixir Elixir __MODULE__ var1 String.t var2 var3 var4 var5 var6 A type declaration-description in an Elixir file -- is it really? Or anything else? I've...
[ 0.0245361328125, 0.009521484375, -0.01165771484375, 0.0025787353515625, 0.003875732421875, 0.00177001953125, -0.003936767578125, 0.00811767578125, 0.0048828125, 0.0167236328125, 0.00191497802734375, -0.007537841796875, 0.0025482177734375, 0.0191650390625, -0.0010986328125, 0.0244140625...
[ 10644, 21635, 1363, 112, 59478, 25318, 38308, 11435, 83, 442, 6183, 37076, 62, 9, 23, 23937, 15296, 12013, 397, 129984, 285, 23351, 18, 617, 910, 903, 4865, 2367, 100, 14602, 54 ]
[ 0.2298583984375, 0.19921875, 0.075439453125, 0.11865234375, 0.2249755859375, 0.109375, 0.2451171875, 0.16162109375, 0.061187744140625, 0.0828857421875, 0.1329345703125, 0.0364990234375, 0.0261383056640625, 0.021087646484375, 0.026214599609375, 0.01361083984375, 0.06243896484375, 0....
embed
64726122_c3
64726122
elixir
3
AAAACbQAAAAtfY3NyZl90b2tlbm0AAAAYR2ZLcnEtaUtiR0xVSUlEWnViZTNxTllBbQAAAA9jdXJyZW50X3VzZXJfaWRtAAAAJDMzYWZiYWFmLWE0YjYtNDQ0NS05M2NkLWJiZDkzMWExMzI2ZQ.PaaEneIk1STc430uXlUm3ItoBnBnp5fdkQFaTr4gILc, HttpOnly, HTTP, SAMEORIGIN, FkUr7USdNzJbU4YAAA0h, DOCTYPE, X-UA-Compatible, Demo, App, app.css, FhZ4IAh7KhErdCFlPjwRNypQDEozCy9...
AAAACbQAAAAtfY3NyZl90b2tlbm0AAAAYR2ZLcnEtaUtiR0xVSUlEWnViZTNxTllBbQAAAA9jdXJyZW50X3VzZXJfaWRtAAAAJDMzYWZiYWFmLWE0YjYtNDQ0NS05M2NkLWJiZDkzMWExMzI2ZQ.PaaEneIk1STc430uXlUm3ItoBnBnp5fdkQFaTr4gILc, HttpOnly, HTTP, SAMEORIGIN, FkUr7USdNzJbU4YAAA0h, DOCTYPE, X-UA-Compatible, Demo, App, app.css, FhZ4IAh7KhErdCFlPjwRNypQDEozCy9...
[ 0.00860595703125, 0.0255126953125, 0.007537841796875, -0.021728515625, 0.0108642578125, -0.0012969970703125, -0.0186767578125, -0.0059814453125, -0.000125885009765625, -0.0120849609375, 0.00396728515625, 0.0032196044921875, 0.0133056640625, 0.01275634765625, -0.014404296875, 0.00194549...
[ 155616, 15012, 72898, 15467, 28848, 1723, 363, 63543, 5039, 48543, 85054, 102, 118, 47207, 93193, 111351, 8194, 1197, 16444, 4, 3062, 20320, 135913, 159, 70171, 46965, 108526, 120959, 27143, 21907, 1193, 20004, 10770, 10974, 2661, 42506, 5659, ...
[ 0.149658203125, 0.033905029296875, 0.06072998046875, 0.0128173828125, 0.008544921875, 0.009033203125, 0.00787353515625, 0.023773193359375, 0.13916015625, 0.0225830078125, 0.011322021484375, 0.013427734375, 0.0201416015625, 0.0196533203125, 0.004302978515625, 0.002410888671875, 0.0021...
embed
40448378_c0
40448378
elixir
0
Title: Why are there two ways of indicating error in Elixir? Problem title: Why are there two ways of indicating error in Elixir? Tags: elixir, error-handling Problem: Why are there two ways of indicating error in Elixir? Some Elixir functions have 2 variants for indicating error Return a tuple e.g. File.open which ret...
Why are there two ways of indicating error in Elixir? Why are there two ways of indicating error in Elixir? elixir error-handling Why Elixir File.open io_device Why are there two ways of indicating error in Elixir? Some Elixir functions have 2 variants for indicating error Return a tuple e.g. File.open which returns so...
[ 0.003875732421875, -0.0023956298828125, -0.0050048828125, 0.01202392578125, 0.01373291015625, 0.002044677734375, -0.02001953125, -0.0234375, 0.005157470703125, -0.02099609375, 0.020751953125, -0.0174560546875, 0.00335693359375, 0.01953125, 0.006927490234375, -0.002349853515625, 0.002...
[ 44084, 2685, 6626, 48322, 114141, 214, 18499, 23, 25318, 38308, 15296, 54885, 42724, 59636, 22995, 112, 20375, 32354, 765, 116, 20117, 173340, 370, 8705, 5, 30646, 685, 188800, 29691, 425, 9202, 131527, 91177, 12601, 2965, 41361 ]
[ 0.09661865234375, 0.02392578125, 0.1492919921875, 0.10321044921875, 0.189453125, 0.0899658203125, 0.21435546875, 0.0280609130859375, 0.1268310546875, 0.26611328125, 0.0888671875, 0.152587890625, 0.2080078125, 0.189453125, 0.1751708984375, 0.09307861328125, 0.181884765625, 0.1395263...
embed
37680988_c0
37680988
elixir
0
Title: Phoenix channels: send push to a particular client Problem title: Phoenix channels: send push to a particular client Tags: elixir, phoenix-framework Problem: Phoenix channels: send push to a particular client Hi I am trying to reimplement whatsapp functionality using elixir phoenix. I am having a problem figurin...
Phoenix channels: send push to a particular client Phoenix channels: send push to a particular client elixir phoenix-framework Phoenix Phoenix channels: send push to a particular client Hi I am trying to reimplement whatsapp functionality using elixir phoenix. I am having a problem figuring out the following: if all pe...
[ 0.01165771484375, 0.0203857421875, 0.003173828125, 0.006744384765625, -0.00823974609375, 0.014892578125, -0.0047607421875, -0.00177764892578125, 0.00384521484375, -0.02880859375, 0.00537109375, -0.00005125999450683594, 0.010009765625, 0.0186767578125, -0.0069580078125, 0.0250244140625,...
[ 133720, 86723, 7, 25379, 25944, 47, 10, 17311, 23282, 15296, 38308, 53073, 33, 4084, 160328, 18244, 31577, 456, 197648, 125072, 123309, 17368, 2967, 26747, 2174, 756, 3395, 3245, 17155, 75204, 26008, 3444, 101785, 10778, 74105, 7639, 41929, 1...
[ 0.295166015625, 0.22509765625, 0.044097900390625, 0.1495361328125, 0.251708984375, 0.1544189453125, 0.05242919921875, 0.196533203125, 0.263916015625, 0.0684814453125, 0.15673828125, 0.093994140625, 0.11279296875, 0.1168212890625, 0.0826416015625, 0.0142822265625, 0.00762939453125, ...
embed
45447136_c0
45447136
elixir
0
Title: Phoenix pattern match in controller Problem title: Phoenix pattern match in controller Tags: phoenix-framework, elixir Problem: Phoenix pattern match in controller I want to have 2 index functions in my controller, one if there is call with an id and one if there is an id with a search query string. For some rea...
Phoenix pattern match in controller Phoenix pattern match in controller phoenix-framework elixir Phoenix localhost:4000 Phoenix pattern match in controller I want to have 2 index functions in my controller, one if there is call with an id and one if there is an id with a search query string. For some reason the 2nd fun...
[ -0.00775146484375, -0.00125885009765625, 0.000507354736328125, -0.0030975341796875, -0.00537109375, -0.000522613525390625, -0.00653076171875, -0.025390625, 0.0155029296875, -0.04931640625, -0.00921630859375, -0.03662109375, 0.0032806396484375, 0.000009655952453613281, 0.0050048828125, ...
[ 133720, 103510, 14858, 23, 185373, 53073, 33, 4084, 160328, 15296, 38308, 4000, 40294, 68037, 3444, 765, 116, 63262, 32354, 1632, 11782, 3447, 136, 2174, 33938, 41, 1294, 79315, 2208, 83, 8306, 35839 ]
[ 0.2568359375, 0.221923828125, 0.214599609375, 0.061065673828125, 0.27392578125, 0.0413818359375, 0.056304931640625, 0.03753662109375, 0.046295166015625, 0.0325927734375, 0.145263671875, 0.05914306640625, 0.09564208984375, 0.1297607421875, 0.08807373046875, 0.03369140625, 0.1290283203...
embed
55129931_c0
55129931
elixir
0
Title: Umbrella application error when trying to create a migration with ecto elixir Problem title: Umbrella application error when trying to create a migration with ecto elixir Tags: migration, elixir, ecto Problem: Umbrella application error when trying to create a migration with ecto elixir I'm trying to create a mi...
Umbrella application error when trying to create a migration with ecto elixir Umbrella application error when trying to create a migration with ecto elixir migration elixir ecto umbrella ecto.gen.migration migration_name Cannot Umbrella application error when trying to create a migration with ecto elixir I'm trying to ...
[ -0.000858306884765625, 0.01031494140625, 0.0038299560546875, 0.010009765625, 0.01129150390625, 0.001190185546875, -0.017578125, -0.021484375, -0.01092529296875, -0.007720947265625, 0.0040283203125, -0.0179443359375, 0.023193359375, 0.014404296875, 0.01312255859375, -0.0108642578125, ...
[ 2793, 4134, 1165, 38415, 18499, 31577, 28282, 10, 212416, 678, 60751, 15296, 38308, 6, 286, 1409, 58849, 30494, 11627, 10869, 70, 75101, 17664, 44084 ]
[ 0.1331787109375, 0.23046875, 0.2235107421875, 0.1976318359375, 0.1947021484375, 0.098876953125, 0.135986328125, 0.035614013671875, 0.211181640625, 0.06591796875, 0.219482421875, 0.0943603515625, 0.2220458984375, 0.0228424072265625, 0.0924072265625, 0.1328125, 0.1239013671875, 0.124...
embed