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
58375251_c0
58375251
elixir
0
Title: Elixir/Erlang - Split paragraph into sentences based on the language Problem title: Elixir/Erlang - Split paragraph into sentences based on the language Tags: elixir, erlang, nlp, parsing, split Problem: Elixir/Erlang - Split paragraph into sentences based on the language In Java there is a class called BreakItt...
Elixir/Erlang - Split paragraph into sentences based on the language Elixir/Erlang - Split paragraph into sentences based on the language elixir erlang nlp parsing split Elixir Erlang Split Elixir/Erlang - Split paragraph into sentences based on the language In Java there is a class called BreakItterator which allows m...
[ 0.00958251953125, 0.02001953125, -0.01434326171875, 0.00457763671875, -0.0015716552734375, 0.0036468505859375, 0.0084228515625, 0, -0.007110595703125, -0.03857421875, 0.00933837890625, 0.01416015625, -0.014404296875, 0.0103759765625, 0.03125, 0.01409912109375, -0.0027618408203125, ...
[ 25318, 38308, 64, 18468, 3066, 46474, 151268, 3934, 149357, 35509, 98, 46876, 15296, 72, 26775, 366, 6953, 65450, 1004, 41925, 18507, 35839, 131904, 568, 3055, 4597, 114864, 163, 47, 27875, 7986, 2499, 59121, 23, 51529, 1221, 84797, 49846, ...
[ 0.1209716796875, 0.260986328125, 0.03509521484375, 0.12890625, 0.281494140625, 0.248779296875, 0.2578125, 0.1646728515625, 0.2303466796875, 0.130615234375, 0.0287628173828125, 0.1824951171875, 0.1317138671875, 0.0968017578125, 0.1712646484375, 0.0997314453125, 0.001068115234375, 0....
embed
70058222_c0
70058222
elixir
0
Title: Checking Erlang OTP Release to execute different functions on Elixir Problem title: Checking Erlang OTP Release to execute different functions on Elixir Tags: erlang, elixir Problem: Checking Erlang OTP Release to execute different functions on Elixir I'm creating a new Elixir library that require to be executed...
Checking Erlang OTP Release to execute different functions on Elixir Checking Erlang OTP Release to execute different functions on Elixir erlang elixir Checking Erlang OTP Release Elixir crypto.hmac crypto.mac System.otp_release sha256 Checking Erlang OTP Release to execute different functions on Elixir I'm creating a ...
[ -0.022216796875, -0.0052490234375, -0.006866455078125, 0.017578125, 0.013671875, -0.0196533203125, -0.00836181640625, 0.00634765625, -0.0038909912109375, -0.0001220703125, 0.01068115234375, -0.0263671875, 0.036376953125, 0.005615234375, 0.01226806640625, -0.01422119140625, -0.0145874...
[ 38679, 1004, 3066, 180, 23658, 152590, 71924, 12921, 32354, 25318, 38308, 98, 72, 15296, 215637, 127, 35572, 12353, 818, 254, 233707, 9638, 127892, 105233, 35773, 1294, 64209, 678, 11389, 46876, 4527, 136791, 31, 91995, 1039, 123309, 17368, 2...
[ 0.2021484375, 0.1451416015625, 0.276611328125, 0.1265869140625, 0.2266845703125, 0.2205810546875, 0.1673583984375, 0.14794921875, 0.189453125, 0.1278076171875, 0.25390625, 0.0186767578125, 0.059417724609375, 0.071533203125, 0.1251220703125, 0.06658935546875, 0.1722412109375, 0.0853...
embed
30264656_c0
30264656
elixir
0
Title: Elixir: Capturing the rest of a map using pattern matching Problem title: Elixir: Capturing the rest of a map using pattern matching Tags: pattern-matching, elixir Problem: Elixir: Capturing the rest of a map using pattern matching I want to simultaneously match on a specific key in a map, and capture the rest o...
Elixir: Capturing the rest of a map using pattern matching Elixir: Capturing the rest of a map using pattern matching pattern-matching elixir CompileError pattern Elixir Capturing iex:10 IEx.Helpers handle_condition handle_expression Elixir: Capturing the rest of a map using pattern matching I want to simultaneously ma...
[ -0.00909423828125, -0.00274658203125, -0.0030364990234375, 0.00054931640625, -0.01458740234375, -0.004638671875, -0.00665283203125, -0.00136566162109375, 0.019287109375, -0.014404296875, 0.01434326171875, -0.0113525390625, 0.01043701171875, 0.0069580078125, 0.0133056640625, 0.010681152...
[ 25318, 38308, 14304, 109561, 10588, 111, 22288, 17368, 103510, 14858, 214, 12, 98753, 15296, 15612, 1340, 18468, 31611, 17, 3355, 15110, 87, 19279, 60785, 21777, 34831, 126940, 204629, 3444, 134477, 98, 29458, 22799, 136, 141621, 156377, 1884, ...
[ 0.1279296875, 0.248779296875, 0.13427734375, 0.0955810546875, 0.14013671875, 0.03253173828125, 0.15869140625, 0.041046142578125, 0.22900390625, 0.2374267578125, 0.1097412109375, 0.0173187255859375, 0.19775390625, 0.0882568359375, 0.07171630859375, 0.08056640625, 0.05474853515625, 0...
embed
51620186_c0
51620186
elixir
0
Title: Mix.exs file changes - (SyntaxError) mix.exs:65: unexpected token: "" (column 1, codepoint U+0000) Problem title: Mix.exs file changes - (SyntaxError) mix.exs:65: unexpected token: "" (column 1, codepoint U+0000) Tags: unicode, macos, elixir Problem: Mix.exs file changes - (SyntaxError) mix.e...
Mix.exs file changes - (SyntaxError) mix.exs:65: unexpected token: "" (column 1, codepoint U+0000) Mix.exs file changes - (SyntaxError) mix.exs:65: unexpected token: "" (column 1, codepoint U+0000) unicode macos elixir SyntaxError Mix.exs mix.exs:65 Mix.exs file changes - (SyntaxError) mix.exs:65: u...
[ 0.01336669921875, 0.02734375, 0.0013885498046875, 0.0162353515625, -0.00787353515625, 0.0150146484375, -0.007110595703125, 0.0009918212890625, -0.0048828125, 0.022216796875, -0.0167236328125, 0.00335693359375, 0.0152587890625, 0.02099609375, 0.01708984375, -0.0089111328125, 0.0025177...
[ 37286, 5, 3355, 7, 11435, 65572, 3371, 86531, 18468, 31611, 17664, 12424, 241957, 47, 1098, 8447, 316, 106, 18151, 38496, 345, 1328, 28568, 60347, 7840, 15296, 38308, 19010, 57, 7228, 4727, 11787, 19694, 130454, 147546, 102738, 50339, 56574, ...
[ 0.299072265625, 0.002960205078125, 0.1973876953125, 0.1585693359375, 0.149658203125, 0.1910400390625, 0.0233154296875, 0.1212158203125, 0.0887451171875, 0.0794677734375, 0.293212890625, 0.22265625, 0.1640625, 0.071533203125, 0.155517578125, 0.045654296875, 0.0665283203125, 0.046997...
embed
71021327_c0
71021327
elixir
0
Title: updating the database with single migration? Problem title: updating the database with single migration? Tags: elixir, ecto Problem: updating the database with single migration? I have a table that has "projects" that have this field workspace which takes an array of strings. So I have converted this to store a ...
updating the database with single migration? updating the database with single migration? elixir ecto value1 value2 updating the database with single migration? I have a table that has "projects" that have this field workspace which takes an array of strings. So I have converted this to store a single character I have ...
[ 0.0003032684326171875, -0.00469970703125, -0.005859375, 0.02685546875, 0.0123291015625, 0.0087890625, -0.00390625, -0.00830078125, 0.00762939453125, 0.0108642578125, 0.0155029296875, 0.00102996826171875, -0.01434326171875, 0.0023956298828125, -0.0164794921875, -0.0181884765625, -0.00...
[ 1257, 56464, 63399, 678, 11001, 212416, 15296, 38308, 60751, 34292, 418, 304, 23180, 95322, 44457, 4488, 65421, 51776, 10298, 79315, 117176, 4343, 62816, 59121, 11675, 3444, 28350, 2053, 5, 3871, 27494, 6713, 72367, 33342, 9844, 1884, 903 ]
[ 0.1357421875, 0.1419677734375, 0.237548828125, 0.063232421875, 0.2235107421875, 0.2410888671875, 0.0921630859375, 0.243408203125, 0.250244140625, 0.2000732421875, 0.0987548828125, 0.1611328125, 0.1650390625, 0.120361328125, 0.14794921875, 0.0638427734375, 0.1732177734375, 0.0515441...
embed
65736340_c0
65736340
elixir
0
Title: Elixir Session data after ajax call Problem title: Elixir Session data after ajax call Tags: authentication, axios, session, elixir Problem: Elixir Session data after ajax call I'm using the Phoenix framework to build my application. My users login with OAuth2, after which they are redirected to my webpage. My a...
Elixir Session data after ajax call Elixir Session data after ajax call authentication axios session elixir Elixir Session get_session Find SmiksAanvraag.User_Functions.getUser User_Functions.isAdmin IO.inspect Not www.localhost:4000 Map.get put_session configure_session axios.create X-Requested-With XMLHttpRequest doc...
[ 0.010009765625, 0.0166015625, -0.002685546875, -0.01507568359375, 0.005096435546875, 0.0166015625, 0.0003662109375, -0.0019989013671875, -0.00113677978515625, -0.03955078125, -0.005767822265625, 0.004791259765625, -0.015380859375, 0.0026092529296875, 0.00341796875, -0.0028228759765625,...
[ 25318, 38308, 148735, 2053, 7103, 7767, 425, 11782, 195734, 10, 78697, 7, 56002, 15296, 2046, 169234, 26040, 24965, 18070, 115414, 1062, 2189, 97249, 3794, 53400, 164, 1249, 17780, 16711, 11205, 1426, 98908, 40294, 68037, 42719, 3884, 222495, ...
[ 0.1328125, 0.27490234375, 0.230224609375, 0.168212890625, 0.1317138671875, 0.1768798828125, 0.1405029296875, 0.1778564453125, 0.1802978515625, 0.058135986328125, 0.197509765625, 0.1064453125, 0.2325439453125, 0.0950927734375, 0.01708984375, 0.196533203125, 0.0606689453125, 0.118652...
embed
35793871_c0
35793871
elixir
0
Title: Testing config / system env getters Problem title: Testing config / system env getters Tags: elixir Problem: Testing config / system env getters I have a function called Auth.app_id which tries to read app_id from app's config first, and if missing will look for system envs. What is the best practice to test suc...
Testing config / system env getters Testing config / system env getters elixir Testing Auth.app_id app_id Application.put_env System.put_env APPNAME_APP_ID Application.get_env System.get_env Testing config / system env getters I have a function called Auth.app_id which tries to read app_id from app's config first, and ...
[ -0.01312255859375, -0.0084228515625, -0.020751953125, -0.01470947265625, -0.00069427490234375, -0.01348876953125, -0.000812530517578125, -0.01116943359375, 0.0013427734375, -0.006866455078125, 0.01348876953125, 0.046630859375, -0.011474609375, 0.00537109375, 0.007293701171875, -0.00329...
[ 8647, 214, 153837, 248, 5426, 22, 334, 2046, 23962, 15296, 38308, 5655, 927, 9007, 532, 4027, 104921, 7077, 33, 12353, 66440, 182512, 40680, 7146, 3794, 32354, 5, 454, 1927, 12301, 1295, 5117, 132283, 6713, 18043, 2965, 41361, 3034, 6044, ...
[ 0.193603515625, 0.007415771484375, 0.2147216796875, 0.001800537109375, 0.13720703125, 0.114990234375, 0.23779296875, 0.18408203125, 0.205322265625, 0.06207275390625, 0.1907958984375, 0.1787109375, 0.1859130859375, 0.1463623046875, 0.1776123046875, 0.1478271484375, 0.142578125, 0.13...
embed
39018108_c1
39018108
elixir
1
. When I try to read first 2000 pages using Enum.each(1..2000, fn(x) -> Pages.next(Process.whereis(:pages)); end) the :pages process uses 1,1 GB of memory according to :observer.start() . When I try to read 10000 pages, the whole thing crashes: Crash dump is being written to: erl_crash.dump...done eheap_alloc: Cannot a...
. When I try to read first 2000 pages using Enum.each(1..2000, fn(x) -> Pages.next(Process.whereis(:pages)); end) the :pages process uses 1,1 GB of memory according to :observer.start() . When I try to read 10000 pages, the whole thing crashes: Crash dump is being written to: erl_crash.dump...done eheap_alloc: Cannot a...
[ 0.0106201171875, 0.0245361328125, -0.00396728515625, 0.004058837890625, 0.00390625, 0.01226806640625, -0.016357421875, -0.017333984375, -0.00872802734375, -0.0625, 0.037109375, -0.01373291015625, 0.0228271484375, 0.003082275390625, 0.033935546875, 0.0120849609375, 0.003662109375, -...
[ 9790, 12301, 5117, 3576, 37967, 357, 316, 41581, 13821, 14783, 425, 14231, 86, 29062, 10752, 26531, 136913, 164, 22469, 3564, 152, 7, 9433, 4527, 69276, 20331, 98323, 3522, 39642, 17137, 14847, 77433, 28271, 13580, 150631, 90, 34156, 127, 1...
[ 0.1304931640625, 0.1953125, 0.096435546875, 0.2081298828125, 0.2130126953125, 0.118408203125, 0.2322998046875, 0.203125, 0.17138671875, 0.0838623046875, 0.0518798828125, 0.1572265625, 0.0325927734375, 0.0972900390625, 0.01953125, 0.10516357421875, 0.03961181640625, 0.1214599609375,...
embed
22949127_c0
22949127
elixir
0
Title: First class patterns in Erlang? (Alternatives) Problem title: First class patterns in Erlang? (Alternatives) Tags: pattern-matching, first-class, erlang, elixir Problem: First class patterns in Erlang? (Alternatives) Is there a way to create first-class-like patterns in Erlang? I need to be able to create and pa...
First class patterns in Erlang? (Alternatives) First class patterns in Erlang? (Alternatives) pattern-matching first-class erlang elixir variables First Erlang Alternatives Instead Pattern Result Custom First class patterns in Erlang? (Alternatives) Is there a way to create first-class-like patterns in Erlang? I need t...
[ 0.0084228515625, 0.02783203125, 0.00677490234375, -0.0020904541015625, -0.0030517578125, -0.0038299560546875, -0.0128173828125, 0.00787353515625, 0.00531005859375, -0.036376953125, 0.01220703125, -0.0033721923828125, 0.0035247802734375, 0.00799560546875, 0.025390625, 0.01202392578125, ...
[ 23972, 18507, 103510, 7, 23, 1004, 3066, 31586, 42991, 98753, 5117, 67413, 72, 15296, 38308, 77336, 103905, 175399, 9876, 22766, 126684, 130664, 6210, 10, 3917, 28282, 5062, 3871, 19048, 136, 27875, 237, 79459, 3789, 32354, 621, 959, 54811, ...
[ 0.1558837890625, 0.19189453125, 0.2626953125, 0.044525146484375, 0.0684814453125, 0.1661376953125, 0.29296875, 0.07537841796875, 0.046844482421875, 0.1451416015625, 0.16748046875, 0.2279052734375, 0.1029052734375, 0.038421630859375, 0.205322265625, 0.1669921875, 0.122802734375, 0.0...
embed
70272339_c1
70272339
elixir
1
`%AAK.Cache.RedisServer{__meta__: #Ecto.Schema.Metadata<:built, "redis_servers">, id: nil, inserted_at: nil, server_url: nil, updated_at: nil, user: nil, user_id: nil}` is missing primary key value (ecto 3.7.1) lib/ecto/repo/schema.ex:967: anonymous fn/3 in Ecto.Repo.Schema.add_pk_filter!/2 (elixir 1.11.1) lib/enum.ex...
`%AAK.Cache.RedisServer{__meta__: #Ecto.Schema.Metadata<:built, "redis_servers">, id: nil, inserted_at: nil, server_url: nil, updated_at: nil, user: nil, user_id: nil}` is missing primary key value (ecto 3.7.1) lib/ecto/repo/schema.ex:967: anonymous fn/3 in Ecto.Repo.Schema.add_pk_filter!/2 (elixir 1.11.1) lib/enum.ex...
[ -0.011962890625, 0.0169677734375, 0.0196533203125, -0.004974365234375, 0.00811767578125, -0.005767822265625, -0.01556396484375, -0.00052642822265625, 0.004638671875, 0.00174713134765625, 0.01025390625, 0.00016880035400390625, 0.0301513671875, -0.0091552734375, 0.0196533203125, 0.018798...
[ 12971, 46994, 80852, 164, 193348, 35273, 647, 44150, 25452, 11883, 6696, 8656, 102, 978, 24908, 107, 3827, 39642, 3447, 17324, 183540, 257, 10723, 25002, 150011, 38937, 532, 83, 132283, 158978, 22799, 34292, 60751, 1031, 165830, 25474, 771, 7...
[ 0.1171875, 0.1278076171875, 0.1468505859375, 0.1209716796875, 0.1947021484375, 0.06903076171875, 0.00506591796875, 0.2308349609375, 0.1153564453125, 0.111083984375, 0.038604736328125, 0.015869140625, 0.10302734375, 0.016204833984375, 0.046875, 0.07086181640625, 0.1485595703125, 0.1...
embed
47269846_c0
47269846
elixir
0
Title: Can the port be specified for localhost using HTTPoison? Problem title: Can the port be specified for localhost using HTTPoison? Tags: elixir, httpoison Problem: Can the port be specified for localhost using HTTPoison? I'm working with a test in which I need to hit a service I'm running locally. The service is a...
Can the port be specified for localhost using HTTPoison? Can the port be specified for localhost using HTTPoison? elixir httpoison HTTPoison Can json_event my_url localhost:3000 service_call HTTPoison.post Can the port be specified for localhost using HTTPoison? I'm working with a test in which I need to hit a service ...
[ -0.0101318359375, 0.01458740234375, 0.01019287109375, 0.006011962890625, 0.0113525390625, -0.029541015625, -0.007110595703125, -0.01470947265625, 0.00124359130859375, -0.0216064453125, 0.0084228515625, 0.0034637451171875, 0.00860595703125, 0.028076171875, 0.00604248046875, -0.013366699...
[ 4171, 11469, 58735, 297, 100, 4000, 40294, 17368, 135913, 31, 40514, 15296, 38308, 1621, 1647, 1681, 90141, 759, 25002, 36605, 4516, 85763, 4594, 20697, 3034, 5962, 51042, 673, 7870, 38415, 821, 58627, 31470, 172554, 17287, 71924, 18151, 1849...
[ 0.071533203125, 0.2088623046875, 0.2366943359375, 0.045501708984375, 0.033355712890625, 0.16455078125, 0.1588134765625, 0.047454833984375, 0.1976318359375, 0.1202392578125, 0.224853515625, 0.09991455078125, 0.2066650390625, 0.10296630859375, 0.07861328125, 0.1396484375, 0.16040039062...
embed
27261235_c0
27261235
elixir
0
Title: Cannot generate Phoenix app on Windows Problem title: Cannot generate Phoenix app on Windows Tags: elixir, phoenix-framework Problem: Cannot generate Phoenix app on Windows I'm having serious trouble with using Elixir's Phoenix Framework on Windows8. After getting past most of the platform specific bugs an error...
Cannot generate Phoenix app on Windows Cannot generate Phoenix app on Windows elixir phoenix-framework Cannot Phoenix Windows Programming PROGRAMMING-PC Documents GitHub Elixir v0.6.1 phoenix.new Program Mix Could Files ar.cmd deps.compile Cannot generate Phoenix app on Windows I'm having serious trouble with using Eli...
[ 0.01092529296875, 0.0126953125, -0.00124359130859375, 0.002349853515625, 0.00072479248046875, 0.025146484375, -0.00384521484375, -0.007049560546875, 0.0024261474609375, -0.02197265625, -0.007293701171875, -0.0084228515625, 0.025390625, 0.0189208984375, 0.00141143798828125, 0.0127563476...
[ 4171, 10869, 139392, 133720, 4027, 98, 3773, 15296, 38308, 53073, 33, 4084, 160328, 18244, 27958, 59677, 12233, 43101, 217, 140505, 25318, 122887, 418, 54936, 7663, 37286, 191147, 42724, 187, 3931, 8, 6423, 58875, 1340, 85583, 63134, 202220, ...
[ 0.062255859375, 0.1385498046875, 0.222412109375, 0.29833984375, 0.20703125, 0.061279296875, 0.2034912109375, 0.059356689453125, 0.2147216796875, 0.08441162109375, 0.110107421875, 0.1444091796875, 0.09088134765625, 0.04736328125, 0.06427001953125, 0.051727294921875, 0.03668212890625, ...
embed
41225709_c0
41225709
elixir
0
Title: Refactor a case structure in a controller Problem title: Refactor a case structure in a controller Tags: phoenix-framework, elixir Problem: Refactor a case structure in a controller I have the following code in a controller. Obviously it screams for refactoring. But I don't know how to tackle it. How can refacto...
Refactor a case structure in a controller Refactor a case structure in a controller phoenix-framework elixir Refactor Repo.insert social_media_account social_media_account.provider Twitter put_flash user_social_media_account_path conn.assigns GitHub new.html Refactor a case structure in a controller I have the followin...
[ -0.012451171875, 0.0074462890625, -0.0029144287109375, -0.0020904541015625, 0.001678466796875, 0.003204345703125, -0.0281982421875, -0.01422119140625, 0.010986328125, -0.015869140625, 0.002960205078125, -0.0206298828125, 0.01361083984375, -0.0036163330078125, 0.005859375, 0.02001953125...
[ 853, 144810, 10, 7225, 45646, 23, 185373, 53073, 33, 4084, 160328, 18244, 15296, 38308, 771, 33657, 2265, 12333, 213499, 93136, 3610, 3884, 5544, 38937, 57801, 128405, 158, 162, 31304, 527, 217, 140505, 3525, 7693, 25632, 18151, 114382, 100, ...
[ 0.167724609375, 0.294189453125, 0.031646728515625, 0.238037109375, 0.2178955078125, 0.07440185546875, 0.30126953125, 0.038787841796875, 0.05706787109375, 0.1094970703125, 0.09521484375, 0.029815673828125, 0.07037353515625, 0.1832275390625, 0.15234375, 0.0589599609375, 0.1112060546875...
embed
48013620_c0
48013620
elixir
0
Title: Operating on an uploaded file Problem title: Operating on an uploaded file Tags: parsing, phoenix-framework, file-upload, elixir Problem: Operating on an uploaded file I'm trying to parse an uploaded file as follows: lib/thingy_web/controllers/things_controller.ex def create(conn, %{"data" => %Plug.Upload{conten...
Operating on an uploaded file Operating on an uploaded file parsing phoenix-framework file-upload elixir File.Error Operating thingy_web things_controller.ex Plug.Upload content_type things_params File.stream NimbleCSV.RFC4180.parse_stream Enum.map AllThings.create_things_params AllThings.create_things put_status local...
[ 0.006103515625, -0.00024127960205078125, 0.014404296875, 0.00154876708984375, 0.01092529296875, 0.001617431640625, -0.000606536865234375, -0.0311279296875, 0.00433349609375, -0.021240234375, -0.0179443359375, -0.01007080078125, 0.0050048828125, 0.0130615234375, -0.0057373046875, 0.0069...
[ 16556, 1916, 98, 70622, 297, 11435, 366, 53073, 33, 4084, 160328, 18244, 94835, 15296, 38308, 42724, 18468, 31611, 13580, 53, 14051, 8966, 81988, 603, 3355, 194351, 53234, 63033, 10941, 50986, 2500, 8256, 86429, 1520, 40099, 856, 54612, 617, ...
[ 0.1929931640625, 0.0743408203125, 0.152099609375, 0.1939697265625, 0.0469970703125, 0.1622314453125, 0.1385498046875, 0.0347900390625, 0.061279296875, 0.1158447265625, 0.081298828125, 0.0153350830078125, 0.1751708984375, 0.06591796875, 0.2080078125, 0.1395263671875, 0.076904296875, ...
embed
58463768_c0
58463768
elixir
0
Title: Using Enum.map to create a key map Problem title: Using Enum.map to create a key map Tags: elixir Problem: Using Enum.map to create a key map simple question, I have these 2 maps [{"Africa", 1}, {"America", 2}, {"Europe", 3}] [{"Congo", 1, 1}, {"France", 2, 3}, {"Spain", 3, 3}, {"USA", 4, 2}, {"Egypt", 5, 1}] I ...
Using Enum.map to create a key map Using Enum.map to create a key map elixir Using Enum.map Africa America Europe Congo France Spain USA Egypt continent_name continent_id Enum.filter country_name country_id country_continent_id Using Enum.map to create a key map simple question, I have these 2 maps I want to use Enum.m...
[ 0.00121307373046875, 0.00078582763671875, -0.0022125244140625, -0.01104736328125, -0.0255126953125, -0.000789642333984375, -0.00244140625, -0.005767822265625, 0.00421142578125, -0.01611328125, 0.0322265625, 0.0201416015625, 0.0150146484375, 0.0196533203125, -0.00946044921875, -0.012634...
[ 345, 6953, 357, 316, 5, 62346, 47, 28282, 10, 22799, 22288, 15296, 38308, 36941, 21629, 14713, 144613, 9942, 84740, 4602, 61527, 72852, 11627, 532, 120337, 23295, 216118, 8781, 9655, 6097, 116, 7, 3444, 4527, 136, 2046, 35064, 16750, 765, ...
[ 0.07098388671875, 0.05194091796875, 0.1622314453125, 0.266357421875, 0.0908203125, 0.247802734375, 0.031890869140625, 0.1602783203125, 0.03277587890625, 0.1983642578125, 0.249755859375, 0.12030029296875, 0.2286376953125, 0.1622314453125, 0.1378173828125, 0.1368408203125, 0.1708984375...
embed
57863023_c0
57863023
elixir
0
Title: Loading sub sections with a titles Problem title: Loading sub sections with a titles Tags: postgresql, elixir, ecto Problem: Loading sub sections with a titles I’m doing a few left_joins trying to preload some nested associations. I have sections , that have sub_sections , and I want to get all sub_sections that...
Loading sub sections with a titles Loading sub sections with a titles postgresql elixir ecto a Loading sub_sections is_nil sub2.title Article left_join sub2 a.id Loading sub sections with a titles I’m doing a few left_joins trying to preload some nested associations. I have sections , that have sub_sections , and I wan...
[ 0.01129150390625, 0.01708984375, -0.00634765625, 0.00274658203125, -0.01708984375, 0.0181884765625, 0.0020904541015625, -0.00714111328125, 0.00102996826171875, -0.031982421875, 0.007598876953125, -0.0023040771484375, 0.0000782012939453125, 0.01239013671875, 0.0191650390625, 0.019653320...
[ 228006, 1614, 40059, 678, 10, 44759, 1305, 17562, 99247, 15296, 38308, 60751, 7, 58994, 83, 17324, 5442, 5440, 24241, 25737, 513, 304, 532, 5425, 479, 63033, 8512, 151747, 3444, 2046, 756, 765, 110, 15190, 13315, 28271, 41, 1294, 30646, 8...
[ 0.184326171875, 0.21728515625, 0.17529296875, 0.1009521484375, 0.12451171875, 0.229248046875, 0.019989013671875, 0.128662109375, 0.142822265625, 0.05078125, 0.1766357421875, 0.2005615234375, 0.1051025390625, 0.1453857421875, 0.04345703125, 0.160400390625, 0.11669921875, 0.193603515...
embed
44300381_c1
44300381
elixir
1
join: c in Subcategory, on: c.id == pc.c_id, where: c.id in ^categories, where: s.id in ^shop_ids, group_by: [p.id, p.name, p.brand], select: %{product: p, categories: fragment("json_agg( DISTINCT (?, ?)) AS category", c.id, c.name), shops: fragment("json_agg( DISTINCT (?, ?, ?)) AS shop", s.id, s.name, s.point)} end ...
join: c in Subcategory, on: c.id == pc.c_id, where: c.id in ^categories, where: s.id in ^shop_ids, group_by: [p.id, p.name, p.brand], select: %{product: p, categories: fragment("json_agg( DISTINCT (?, ?)) AS category", c.id, c.name), shops: fragment("json_agg( DISTINCT (?, ?, ?)) AS shop", s.id, s.name, s.point)} end ...
[ 0.01458740234375, 0.0045166015625, -0.00018787384033203125, -0.006439208984375, -0.03564453125, -0.0220947265625, -0.00836181640625, 0.00628662109375, 0.0167236328125, -0.00982666015625, -0.0029296875, 0.006072998046875, -0.020751953125, -0.0096435546875, -0.00689697265625, 0.014221191...
[ 33284, 501, 23, 8273, 33478, 6504, 53, 98, 532, 69112, 36719, 238, 240153, 91, 10534, 30185, 21115, 1272, 915, 11627, 5, 43264, 36849, 1745, 57877, 39283, 38551, 170, 1681, 9815, 132, 62562, 54390, 43379, 705, 6483, 95487, 19927, 38496, 3...
[ 0.2607421875, 0.114501953125, 0.091064453125, 0.2054443359375, 0.1993408203125, 0.1925048828125, 0.05517578125, 0.0709228515625, 0.1312255859375, 0.06292724609375, 0.10986328125, 0.0147705078125, 0.2249755859375, 0.1666259765625, 0.142578125, 0.09735107421875, 0.1617431640625, 0.07...
embed
33187041_c1
33187041
elixir
1
Agent.start_link(fn -> [] end, name: __MODULE__) end def new_worker(pid) do # register pid with agent state in available worker list, etc. end def add_job(job_description) do # find idle worker and run job <... snip ...> end <... snip ...> end defmodule MyQuestion.Worker do use GenServer def start_link do # start work...
Agent.start_link(fn -> [] end, name: __MODULE__) end def new_worker(pid) do # register pid with agent state in available worker list, etc. end def add_job(job_description) do # find idle worker and run job <... snip ...> end <... snip ...> end defmodule MyQuestion.Worker do use GenServer def start_link do # start work...
[ -0.00439453125, 0.0113525390625, 0.00177001953125, 0.001953125, -0.01611328125, 0.0033111572265625, 0.009033203125, -0.00567626953125, -0.010009765625, -0.042236328125, -0.0196533203125, 0.02197265625, 0.0142822265625, 0.0234375, -0.0012664794921875, -0.006805419921875, 0.00154113769...
[ 54603, 17137, 10187, 14783, 33079, 3564, 12013, 397, 129984, 8, 420, 3525, 18244, 56, 45226, 54, 468, 68067, 23882, 11341, 19882, 4488, 5303, 15190, 36791, 112, 59478, 7413, 17, 19298, 136, 11675, 12447, 93, 83279, 2646, 195136, 1830, 10825...
[ 0.2257080078125, 0.1851806640625, 0.224853515625, 0.0953369140625, 0.039581298828125, 0.0968017578125, 0.0423583984375, 0.039337158203125, 0.037811279296875, 0.0831298828125, 0.0211334228515625, 0.0982666015625, 0.1461181640625, 0.1156005859375, 0.248291015625, 0.019866943359375, 0.0...
embed
44487146_c0
44487146
elixir
0
Title: What are the real benefits of using a bang function (Repo.get!) when building a json api? Problem title: What are the real benefits of using a bang function (Repo.get!) when building a json api? Tags: elixir, phoenix-framework Problem: What are the real benefits of using a bang function (Repo.get!) when building...
What are the real benefits of using a bang function (Repo.get!) when building a json api? What are the real benefits of using a bang function (Repo.get!) when building a json api? elixir phoenix-framework a What Repo.get User show.json What are the real benefits of using a bang function (Repo.get!) when building a json...
[ -0.0240478515625, 0.01220703125, 0.0191650390625, -0.00897216796875, 0.002593994140625, 0.00726318359375, 0.0087890625, 0.006439208984375, 0.010986328125, -0.03173828125, -0.0179443359375, 0.015380859375, -0.000888824462890625, -0.01019287109375, 0.01220703125, -0.012939453125, -0.00...
[ 4865, 2773, 72382, 111, 17368, 10, 11339, 32354, 4332, 771, 5, 3794, 8068, 3229, 33976, 1647, 1681, 31470, 621, 70, 15296, 38308, 53073, 33, 4084, 160328, 18244, 853, 53400, 7639, 170, 61687, 25318, 64, 497, 170846, 139392, 175904, 603, 9...
[ 0.06390380859375, 0.152099609375, 0.2098388671875, 0.027252197265625, 0.1380615234375, 0.034576416015625, 0.26611328125, 0.233154296875, 0.1290283203125, 0.2073974609375, 0.0938720703125, 0.2041015625, 0.0860595703125, 0.03411865234375, 0.14013671875, 0.1072998046875, 0.1888427734375...
embed
39542305_c0
39542305
elixir
0
Title: Unexpected behavior using Enum.map - only accepts anonymous function Problem title: Unexpected behavior using Enum.map - only accepts anonymous function Tags: elixir Problem: Unexpected behavior using Enum.map - only accepts anonymous function I have a List of Tuples : golden = [{%{"age" => 80, "name" => "Doroth...
Unexpected behavior using Enum.map - only accepts anonymous function Unexpected behavior using Enum.map - only accepts anonymous function elixir UndefinedFunctionError Enum.map Unexpected List Tuples Dorothy Rose Sophia Blanche Tuple.to_list Unexpected behavior using Enum.map - only accepts anonymous function I have a ...
[ -0.01385498046875, 0.0027923583984375, -0.0001468658447265625, -0.0081787109375, -0.0087890625, 0.0009765625, 0.00994873046875, 0.00640869140625, 0.0017242431640625, -0.0235595703125, 0.0079345703125, 0.009765625, 0.00040435791015625, 0.0274658203125, 0.0186767578125, 0.000511169433593...
[ 992, 83613, 13, 89829, 123166, 17368, 357, 316, 5, 62346, 4734, 26946, 52184, 10821, 32354, 15296, 38308, 79912, 5983, 97249, 18468, 32036, 1371, 99726, 151912, 3038, 24009, 163614, 217394, 8705, 188, 6562, 5659, 516, 934, 41766, 4527, 28960,...
[ 0.0266876220703125, 0.07421875, 0.0693359375, 0.0145111083984375, 0.1524658203125, 0.0277099609375, 0.144775390625, 0.250244140625, 0.0307159423828125, 0.2474365234375, 0.0654296875, 0.1402587890625, 0.2080078125, 0.1142578125, 0.19384765625, 0.0400390625, 0.1883544921875, 0.018569...
embed
52164001_c0
52164001
elixir
0
Title: Replace specific values in a struct with custom values Problem title: Replace specific values in a struct with custom values Tags: elixir Problem: Replace specific values in a struct with custom values I have different structs returned from database and i want to replace the value Ecto.Assoication.Notloaded with...
Replace specific values in a struct with custom values Replace specific values in a struct with custom values elixir Replace Ecto.Assoication.Notloaded __meta__ Ecto.Schema.Metadata cdc_location_class_id Ecto.Association.NotLoaded facility_id is_active Unit Replace specific values in a struct with custom values I have ...
[ -0.00457763671875, 0.01495361328125, -0.00052642822265625, 0.00130462646484375, -0.01104736328125, -0.0142822265625, -0.01544189453125, -0.01116943359375, 0.01239013671875, 0.0284423828125, -0.004180908203125, -0.006256103515625, 0.0162353515625, -0.0224609375, 0.01458740234375, 0.0083...
[ 853, 23935, 29458, 142424, 23, 36716, 678, 114122, 15296, 38308, 241, 44150, 10798, 14, 120639, 122116, 63033, 297, 35273, 25452, 11883, 102, 56329, 238, 87632, 67413, 532, 214813, 15363, 712, 178290, 83, 71232, 46640, 12921, 176377, 63399, 3...
[ 0.0885009765625, 0.1868896484375, 0.212890625, 0.2078857421875, 0.060791015625, 0.23193359375, 0.123779296875, 0.23486328125, 0.08056640625, 0.216552734375, 0.043212890625, 0.237060546875, 0.09112548828125, 0.06982421875, 0.1190185546875, 0.1444091796875, 0.208740234375, 0.03732299...
embed
51306028_c0
51306028
elixir
0
Title: Elixir Ecto - how to render associated Problem title: Elixir Ecto - how to render associated Tags: elixir, ecto, phoenix-framework Problem: Elixir Ecto - how to render associated I'm looking at the Ecto manual for the many-to-many schema function. I want to get a list of recipes and include all of the tags that ...
Elixir Ecto - how to render associated Elixir Ecto - how to render associated elixir ecto phoenix-framework Elixir Ecto list_recipes Repo.all Recipe Repo.preload phx.gen.json index.json render_many RecipeView recipe.json Elixir Ecto - how to render associated I'm looking at the Ecto manual for the many-to-many schema f...
[ -0.005279541015625, 0.00390625, 0.010498046875, 0.011962890625, 0.017822265625, -0.000949859619140625, -0.007781982421875, -0.00052642822265625, 0.01806640625, -0.060791015625, 0.003814697265625, -0.01220703125, -0.0115966796875, 0.0146484375, -0.006866455078125, 0.017822265625, -0.0...
[ 25318, 38308, 241, 44150, 3642, 89159, 137272, 15296, 60751, 53073, 33, 4084, 160328, 18244, 5303, 115052, 853, 771, 5584, 182378, 4692, 63033, 11521, 425, 1409, 170, 1681, 63262, 669, 53, 100474, 48564, 16487, 23009, 5941, 188, 61903, 32354,...
[ 0.0975341796875, 0.200439453125, 0.0953369140625, 0.263427734375, 0.07000732421875, 0.22265625, 0.2265625, 0.06549072265625, 0.2117919921875, 0.004058837890625, 0.02508544921875, 0.07110595703125, 0.06329345703125, 0.021453857421875, 0.10162353515625, 0.12744140625, 0.013946533203125...
embed
48256852_c0
48256852
elixir
0
Title: Deploy Phoenix application via docker and error with db connection Problem title: Deploy Phoenix application via docker and error with db connection Tags: mysql, phoenix-framework, elixir, docker-compose, ecto Problem: Deploy Phoenix application via docker and error with db connection I am very new to elixir and...
Deploy Phoenix application via docker and error with db connection Deploy Phoenix application via docker and error with db connection mysql phoenix-framework elixir docker-compose ecto Deploy Phoenix khana_repo:0.03 BROKER_BATCH_SIZE DATABASE_HOST DATABASE_NAME DATABASE_PASS DATABASE_USER Deploy Phoenix application via...
[ -0.00102996826171875, 0.006256103515625, 0.011474609375, 0.01019287109375, 0.0179443359375, 0.020263671875, -0.008544921875, -0.0213623046875, 0.006256103515625, -0.00970458984375, -0.00018787384033203125, -0.009765625, 0.045166015625, 0.0166015625, -0.0260009765625, -0.006439208984375...
[ 262, 13158, 53, 133720, 38415, 1829, 54, 11050, 136, 18499, 678, 40041, 94878, 759, 99247, 53073, 33, 4084, 160328, 15296, 38308, 277, 78381, 60751, 70144, 11, 771, 99929, 363, 84677, 34324, 75999, 9902, 49068, 182512, 98185, 1062, 3525, 8,...
[ 0.05303955078125, 0.1671142578125, 0.08056640625, 0.290283203125, 0.1622314453125, 0.1090087890625, 0.113525390625, 0.2457275390625, 0.07183837890625, 0.2169189453125, 0.07257080078125, 0.0980224609375, 0.1258544921875, 0.0894775390625, 0.1448974609375, 0.0748291015625, 0.09497070312...
embed
36771677_c1
36771677
elixir
1
oenix_ecto, :mongodb_ecto, :wikix]] end # Specifies which paths to compile per environment. defp elixirc_paths(:test), do: ["lib", "web", "test/support"] defp elixirc_paths(_), do: ["lib", "web"] # Specifies your project dependencies. # # Type `mix help deps` for examples and options. defp deps do [ {:phoenix, "~> 1.1....
oenix_ecto, :mongodb_ecto, :wikix]] end # Specifies which paths to compile per environment. defp elixirc_paths(:test), do: ["lib", "web", "test/support"] defp elixirc_paths(_), do: ["lib", "web"] # Specifies your project dependencies. # # Type `mix help deps` for examples and options. defp deps do [ {:phoenix, "~> 1.1....
[ -0.01385498046875, -0.00144195556640625, 0.0147705078125, 0.00579833984375, 0.000713348388671875, 0.01336669921875, -0.0146484375, -0.00640869140625, 0.00274658203125, -0.002593994140625, 0.005096435546875, -0.023193359375, 0.0028839111328125, 0.0225830078125, 0.00069427490234375, 0.01...
[ 36, 33, 4084, 60751, 152, 3796, 7803, 275, 13691, 425, 86245, 3564, 468, 24990, 27430, 90, 3129, 60875, 7, 47, 9969, 1340, 117, 65998, 5, 8, 420, 254, 88, 38365, 19437, 128405, 6954, 54, 5612, 14051, 105363, 13452, 42548, 117538, 60457,...
[ 0.091552734375, 0.118408203125, 0.23876953125, 0.28564453125, 0.0133056640625, 0.04638671875, 0.046539306640625, 0.08837890625, 0.1212158203125, 0.13037109375, 0.0272216796875, 0.1097412109375, 0.044586181640625, 0.1378173828125, 0.1317138671875, 0.1060791015625, 0.003265380859375, ...
embed
33657659_c0
33657659
elixir
0
Title: Elixir not starting up Problem title: Elixir not starting up Tags: erlang, elixir Problem: Elixir not starting up I am trying to run v1.0 of Elixir and I've installed Erlang 17.4. When I try to run iex I get a series of errors that I don't understand: $ iex -v Crash dump was written to: erl_crash.dump Kernel pid...
Elixir not starting up Elixir not starting up erlang elixir Elixir error_logger crash_report initial_call supervisor_bridge user_sup Argument__1 registered_name error_info Elixir.IEx.CLI start_user user_sup.erl supervisor_bridge.erl gen_server init_it gen_server.erl proc_lib init_p_do_apply proc_lib.erl kernel_sup trap...
[ -0.0106201171875, 0.01904296875, -0.00958251953125, 0.004730224609375, 0.00531005859375, 0.00347900390625, -0.005523681640625, -0.022705078125, -0.003875732421875, -0.017822265625, -0.0042724609375, -0.00384521484375, 0.00860595703125, 0.031005859375, 0.024169921875, 0.0034332275390625...
[ 25318, 38308, 959, 72134, 1257, 72, 3066, 15296, 18499, 365, 21407, 150631, 79770, 61475, 85763, 1601, 51858, 80728, 38937, 2037, 112140, 418, 189893, 11627, 7319, 20441, 425, 10927, 4034, 65918, 56, 141, 9226, 39642, 217, 10402, 5612, 9007, ...
[ 0.1617431640625, 0.297119140625, 0.10382080078125, 0.1669921875, 0.126953125, 0.0958251953125, 0.2568359375, 0.11376953125, 0.1732177734375, 0.06744384765625, 0.1160888671875, 0.1541748046875, 0.1512451171875, 0.0743408203125, 0.0927734375, 0.081787109375, 0.1563720703125, 0.135253...
embed
46902739_c0
46902739
elixir
0
Title: Difference between 2 DateTime in hours in Elixir Problem title: Difference between 2 DateTime in hours in Elixir Tags: datetime, elixir Problem: Difference between 2 DateTime in hours in Elixir My goal is to find a difference in hours between now and some provided date_time. I'm trying to do this this way: pry(1...
Difference between 2 DateTime in hours in Elixir Difference between 2 DateTime in hours in Elixir datetime elixir FunctionClauseError Difference DateTime Elixir dt1 Ecto.DateTime.to_erl Attempted to_erl Ecto.DateTime date_time.ex:608 Difference between 2 DateTime in hours in Elixir My goal is to find a difference in ho...
[ 0.005126953125, -0.005950927734375, -0.006744384765625, 0.001983642578125, 0.01043701171875, -0.0201416015625, -0.0211181640625, 0.026611328125, 0.01068115234375, -0.052490234375, -0.008056640625, 0.00390625, 0.017333984375, 0.0220947265625, 0.016357421875, -0.00677490234375, -0.0154...
[ 803, 18234, 6620, 17721, 116, 25512, 70059, 23, 21974, 25318, 38308, 5622, 6032, 15296, 28670, 26253, 18468, 31611, 18, 418, 44150, 86291, 188, 56, 141, 34224, 3674, 47, 3355, 170285, 69236, 7413, 60212, 5036, 3060, 62952, 31577, 11249, 300...
[ 0.079833984375, 0.171875, 0.0941162109375, 0.12646484375, 0.1754150390625, 0.183837890625, 0.2489013671875, 0.08612060546875, 0.2288818359375, 0.1380615234375, 0.257568359375, 0.10986328125, 0.187255859375, 0.1025390625, 0.07733154296875, 0.0931396484375, 0.06219482421875, 0.068908...
embed
54067054_c0
54067054
elixir
0
Title: Why are basic functions in Elixir (i.e. length/1) under the default Kernel module? Problem title: Why are basic functions in Elixir (i.e. length/1) under the default Kernel module? Tags: elixir Problem: Why are basic functions in Elixir (i.e. length/1) under the default Kernel module? The Kernel module in Elixir...
Why are basic functions in Elixir (i.e. length/1) under the default Kernel module? Why are basic functions in Elixir (i.e. length/1) under the default Kernel module? elixir Why Elixir i.e Kernel List List.length Why are basic functions in Elixir (i.e. length/1) under the default Kernel module? The Kernel module in Elix...
[ 0.0115966796875, 0.01611328125, 0.0068359375, 0.006988525390625, 0.019775390625, -0.0108642578125, 0.01165771484375, -0.002288818359375, 0.0162353515625, -0.0030517578125, -0.027099609375, -0.015380859375, 0.0146484375, 0.00860595703125, 0.000278472900390625, -0.01312255859375, 0.018...
[ 44084, 621, 62822, 32354, 7, 25318, 38308, 140909, 11583, 1379, 114977, 119125, 583, 88996, 23, 15296, 32036, 23986, 87344, 5915, 123309, 76242, 151107, 15490, 186607, 183114, 5941, 27992, 4734, 17311, 2053, 10644, 9157, 160404, 5303, 1884, 264...
[ 0.118896484375, 0.03997802734375, 0.1861572265625, 0.2281494140625, 0.05975341796875, 0.1712646484375, 0.30517578125, 0.1605224609375, 0.1787109375, 0.1470947265625, 0.2252197265625, 0.1893310546875, 0.1505126953125, 0.1920166015625, 0.06488037109375, 0.10455322265625, 0.186889648437...
embed
50382164_c0
50382164
elixir
0
Title: Handling result of start_link/3 when using Supervisor Problem title: Handling result of start_link/3 when using Supervisor Tags: erlang-supervisor, elixir Problem: Handling result of start_link/3 when using Supervisor I have a supervisor set up to supervise a Slack websocket: children = [ %{ id: Slack.Bot, start...
Handling result of start_link/3 when using Supervisor Handling result of start_link/3 when using Supervisor erlang-supervisor elixir Supervisor Handling start_link Slack.Bot MyBot api_token one_for_one MyBot.Supervisor Supervisor.start_link handle_info Handling result of start_link/3 when using Supervisor I have a supe...
[ -0.000476837158203125, 0.02587890625, 0.0034637451171875, 0.0026702880859375, -0.0157470703125, 0.0016021728515625, 0.0341796875, -0.016357421875, -0.003082275390625, -0.0361328125, -0.0166015625, 0.005340576171875, -0.00927734375, 0.0150146484375, 0.002471923828125, 0.003173828125, ...
[ 193237, 16750, 111, 4034, 10187, 18113, 17368, 4265, 51858, 72, 3066, 59104, 15296, 38308, 159, 123660, 137925, 2646, 31470, 6448, 3630, 73903, 17137, 34831, 7319, 1601, 1257, 41079, 1467, 991, 27853, 53299, 7, 67842, 11782, 12620, 89914, 70,...
[ 0.2200927734375, 0.209228515625, 0.0250396728515625, 0.164794921875, 0.26318359375, 0.24853515625, 0.086181640625, 0.2318115234375, 0.266845703125, 0.0357666015625, 0.182861328125, 0.1846923828125, 0.041900634765625, 0.1668701171875, 0.039581298828125, 0.226318359375, 0.215576171875,...
embed
64198427_c0
64198427
elixir
0
Title: How to generate list of consecutive integers with differents combinations? Problem title: How to generate list of consecutive integers with differents combinations? Tags: elixir, permutation Problem: How to generate list of consecutive integers with differents combinations? I would like to generate all possible ...
How to generate list of consecutive integers with differents combinations? How to generate list of consecutive integers with differents combinations? elixir permutation How Enum.map Enum.to_list a..6 Enum.shuffle Enum.take Enum.sort How to generate list of consecutive integers with differents combinations? I would like...
[ -0.01507568359375, 0.01434326171875, -0.006500244140625, 0.00360107421875, -0.0167236328125, 0.00182342529296875, -0.01092529296875, 0.0026397705078125, -0.000396728515625, -0.0262451171875, -0.01190185546875, 0.033935546875, 0.0166015625, 0.044921875, -0.005523681640625, -0.0082397460...
[ 11249, 47, 139392, 5303, 111, 148390, 13, 892, 26255, 678, 12921, 7, 162515, 15296, 38308, 117, 561, 22062, 357, 316, 62346, 188, 6562, 10, 910, 21493, 133, 78219, 62351, 1884, 756, 7722, 140909, 21162, 1295, 106, 305, 133063, 82449, 1046...
[ 0.0826416015625, 0.04510498046875, 0.2205810546875, 0.2103271484375, 0.05419921875, 0.23388671875, 0.056793212890625, 0.17626953125, 0.1580810546875, 0.1112060546875, 0.2401123046875, 0.11328125, 0.2242431640625, 0.0445556640625, 0.184326171875, 0.0276641845703125, 0.1180419921875, ...
embed
48485090_c0
48485090
elixir
0
Title: How to add jquery to phoenix 1.3 using npm Problem title: How to add jquery to phoenix 1.3 using npm Tags: phoenix-framework, jquery, elixir Problem: How to add jquery to phoenix 1.3 using npm There are good official phoenix docs explaining how to add an npm dependency (even uses jquery). Evidently, I am missing...
How to add jquery to phoenix 1.3 using npm How to add jquery to phoenix 1.3 using npm phoenix-framework jquery elixir npm $ How phoenix_html Hello jquery.min.js node_modules How to add jquery to phoenix 1.3 using npm There are good official phoenix docs explaining how to add an npm dependency (even uses jquery). Eviden...
[ -0.015625, 0.0208740234375, -0.0166015625, -0.01275634765625, 0.00897216796875, 0.033203125, -0.00885009765625, 0.0052490234375, 0.00726318359375, -0.056884765625, -0.0045166015625, -0.0296630859375, -0.00173187255859375, 0.00909423828125, -0.0218505859375, 0.01007080078125, -0.01165...
[ 11249, 15190, 1647, 944, 1294, 47, 53073, 33, 4084, 41491, 17368, 25037, 39, 160328, 15296, 38308, 3650, 7693, 35378, 1249, 28175, 110, 112, 83279, 3642, 42548, 27771, 4527, 132283, 51748, 195049, 4727, 11787, 1542, 181079, 9007, 70541, 11911...
[ 0.038482666015625, 0.1602783203125, 0.1153564453125, 0.1767578125, 0.1937255859375, 0.10638427734375, 0.09881591796875, 0.1541748046875, 0.160400390625, 0.230712890625, 0.029754638671875, 0.1527099609375, 0.1912841796875, 0.0731201171875, 0.045135498046875, 0.1717529296875, 0.0599060...
embed
73814602_c0
73814602
elixir
0
Title: Problem with MongoDB service error on MacOS12.6 Monterey Problem title: Problem with MongoDB service error on MacOS12.6 Monterey Tags: elixir, mongodb, phoenix-framework Problem: Problem with MongoDB service error on MacOS12.6 Monterey I've just upgraded to MacOS 12.6 and my Elixir/Phoenix app is no longer able ...
Problem with MongoDB service error on MacOS12.6 Monterey Problem with MongoDB service error on MacOS12.6 Monterey elixir mongodb phoenix-framework Mongo.Error Problem MongoDB MacOS12.6 Monterey Mongo.Protocol PID Name Status User File homebrew.mxcl.mongodb-community.plist Problem with MongoDB service error on MacOS12.6...
[ 0.015380859375, 0.026611328125, 0.01483154296875, 0.01031494140625, 0.003143310546875, 0.004669189453125, -0.0205078125, -0.020751953125, -0.005584716796875, -0.022705078125, 0.0018310546875, 0.00958251953125, 0.0186767578125, 0.007415771484375, 0.015869140625, -0.000530242919921875, ...
[ 15649, 678, 7465, 519, 39463, 4516, 18499, 4727, 7285, 418, 154784, 17629, 36840, 15296, 38308, 2667, 7803, 275, 53073, 33, 4084, 160328, 18468, 31611, 188, 436, 7146, 15757, 56504, 53400, 42724, 5368, 143006, 34937, 3796, 12303, 6562, 116086...
[ 0.1131591796875, 0.00494384765625, 0.133056640625, 0.21728515625, 0.271484375, 0.1549072265625, 0.189697265625, 0.0997314453125, 0.1302490234375, 0.0618896484375, 0.1968994140625, 0.148681640625, 0.2132568359375, 0.032470703125, 0.2108154296875, 0.076171875, 0.0787353515625, 0.1286...
embed
32540703_c0
32540703
elixir
0
Title: Make elixir app recompile and reload on source code change Problem title: Make elixir app recompile and reload on source code change Tags: elixir-iex, elixir-mix, elixir Problem: Make elixir app recompile and reload on source code change How to automatically recompile and reload my iex + mix application every ti...
Make elixir app recompile and reload on source code change Make elixir app recompile and reload on source code change elixir-iex elixir-mix elixir Make iex.exs Mix.Task.reenable compile.elixir Application.stop Mix.Project.config Mix.Task.run Application.start R.reload Make elixir app recompile and reload on source code...
[ -0.015625, 0.0189208984375, 0.0048828125, 0.01043701171875, -0.0064697265625, -0.000705718994140625, -0.00982666015625, 0.0179443359375, -0.001190185546875, -0.0299072265625, -0.00390625, -0.00494384765625, 0.000232696533203125, 0.029541015625, 0.0233154296875, 0.00726318359375, -0.0...
[ 26176, 15296, 38308, 4027, 456, 58875, 1340, 136, 63033, 98, 31344, 18151, 15549, 14, 3355, 62015, 17, 37286, 9874, 107, 33, 2886, 9969, 6169, 104921, 19111, 223353, 153837, 16428, 17137, 627, 5, 47, 191082, 997, 17664, 38415, 11907, 1733, ...
[ 0.09124755859375, 0.1400146484375, 0.2705078125, 0.201904296875, 0.151611328125, 0.1817626953125, 0.170654296875, 0.098388671875, 0.2291259765625, 0.0885009765625, 0.1634521484375, 0.1597900390625, 0.162353515625, 0.1143798828125, 0.237060546875, 0.2294921875, 0.120849609375, 0.259...
embed
41938263_c0
41938263
elixir
0
Title: How to replace uploaded image with Phoenix and Arc? Problem title: How to replace uploaded image with Phoenix and Arc? Tags: phoenix-framework, elixir Problem: How to replace uploaded image with Phoenix and Arc? I use Arc to upload images - it's basic structure of uploader - I don't do any custom or fancy action...
How to replace uploaded image with Phoenix and Arc? How to replace uploaded image with Phoenix and Arc? phoenix-framework elixir How Phoenix Arc Avatar.url phoenix.server thumb.png How to replace uploaded image with Phoenix and Arc? I use Arc to upload images - it's basic structure of uploader - I don't do any custom o...
[ -0.024169921875, 0.0113525390625, 0.006927490234375, 0.02294921875, -0.0181884765625, 0.01019287109375, -0.00543212890625, 0.0064697265625, -0.000972747802734375, -0.013671875, 0.006439208984375, 0.0130615234375, 0.02734375, 0.005523681640625, 0.0242919921875, -0.0115966796875, 0.000...
[ 11249, 47, 91995, 70622, 297, 29569, 678, 133720, 136, 51210, 53073, 33, 4084, 160328, 18244, 15296, 38308, 192893, 25002, 39642, 4911, 6492, 128468, 4527, 43079, 62822, 45646, 56, 114122, 61972, 44622, 27198, 11435, 21373, 27781, 78303, 4343, ...
[ 0.08111572265625, 0.04595947265625, 0.1910400390625, 0.190673828125, 0.0823974609375, 0.1851806640625, 0.1103515625, 0.2449951171875, 0.1627197265625, 0.231201171875, 0.053466796875, 0.08251953125, 0.07745361328125, 0.09295654296875, 0.049652099609375, 0.0265655517578125, 0.138793945...
embed
39926285_c0
39926285
elixir
0
Title: phoenix authenticate current_user Problem title: phoenix authenticate current_user Tags: elixir, authentication, phoenix-framework Problem: phoenix authenticate current_user I'm trying to write a small application to Phoenix. I did authentication by example http://meatherly.github.io/2015/05/11/phoenixauthentica...
phoenix authenticate current_user phoenix authenticate current_user elixir authentication phoenix-framework current_user conn.assigns.current_user IO.inspect Myfiles.User __meta__ Ecto.Schema.Metadata encrypted_password KLDREZ08084BhHXrJR8EAuQinHn.X2X9OlfylelYiK5KSinlxfTii inserted_at Ecto.DateTime password_confirmatio...
[ -0.00994873046875, -0.021728515625, 0.00604248046875, 0.005340576171875, -0.0023193359375, 0.02099609375, 0.000698089599609375, -0.002349853515625, -0.00616455078125, -0.068359375, -0.00102996826171875, 0.0007171630859375, -0.00024318695068359375, 0.014404296875, -0.011474609375, 0.006...
[ 53073, 33, 4084, 195734, 2182, 43581, 454, 65918, 15296, 38308, 2320, 160328, 18244, 158, 19, 162, 31304, 163812, 17780, 73, 16711, 2646, 29822, 1062, 2189, 35273, 241, 44150, 25452, 11883, 5, 6696, 8656, 102, 22, 136791, 13409, 47416, 3069...
[ 0.1439208984375, 0.179443359375, 0.189208984375, 0.26025390625, 0.161376953125, 0.2783203125, 0.0196380615234375, 0.2232666015625, 0.119140625, 0.2286376953125, 0.10736083984375, 0.1390380859375, 0.05511474609375, 0.055633544921875, 0.0214691162109375, 0.0604248046875, 0.191162109375...
embed
49286981_c0
49286981
elixir
0
Title: ecto select fields with map function as alias or different name Problem title: ecto select fields with map function as alias or different name Tags: alias, sql, elixir, ecto Problem: ecto select fields with map function as alias or different name iex(18)> fields = [:id] [:id] iex(19)> fields_map = %{id: :job_id}...
ecto select fields with map function as alias or different name ecto select fields with map function as alias or different name alias sql elixir ecto p j fields_map job_id Qber.V1.JobModel p.id Ecto.Query j.id ecto select fields with map function as alias or different name I want to select my fields dynamically with AS...
[ -0.003173828125, -0.008056640625, 0.01336669921875, 0.0086669921875, -0.026123046875, -0.00909423828125, -0.00457763671875, 0.0150146484375, -0.0028839111328125, -0.01361083984375, 0.0054931640625, 0.007232666015625, 0.0072021484375, 0.017822265625, 0.006072998046875, -0.0185546875, ...
[ 60751, 36849, 44457, 7, 678, 22288, 32354, 237, 55109, 12921, 9351, 99247, 15296, 38308, 915, 1647, 62346, 12447, 532, 2396, 1297, 856, 418, 194802, 140290, 241, 44150, 41732, 3444, 759, 84079, 25958, 6483, 123055, 98, 70, 18231, 111, 121, ...
[ 0.250732421875, 0.2353515625, 0.251708984375, 0.038055419921875, 0.083984375, 0.2381591796875, 0.1790771484375, 0.0845947265625, 0.2340087890625, 0.1641845703125, 0.1630859375, 0.1903076171875, 0.0972900390625, 0.18994140625, 0.045562744140625, 0.0965576171875, 0.1829833984375, 0.1...
embed
73230918_c0
73230918
elixir
0
Title: how to delete blank line which is inserted by vscode auto-formating function? Problem title: how to delete blank line which is inserted by vscode auto-formating function? Tags: visual-studio-code, elixir Problem: how to delete blank line which is inserted by vscode auto-formating function? My elixir code is as f...
how to delete blank line which is inserted by vscode auto-formating function? how to delete blank line which is inserted by vscode auto-formating function? visual-studio-code elixir Logger.debug calculate_line_point_test whole_angle math.pi start_angle math.atan InventoryMap.calculate_line_point get_angle how to delete...
[ -0.01123046875, -0.00927734375, -0.01251220703125, -0.0025787353515625, 0.0128173828125, -0.0169677734375, 0.029052734375, 0.0303955078125, 0.00750732421875, 0.0255126953125, 0.0034942626953125, -0.0162353515625, -0.0198974609375, 0.021728515625, 0.004150390625, 0.005157470703125, -0...
[ 3642, 47, 154109, 44237, 13315, 183540, 20209, 40899, 1809, 51727, 214, 32354, 21176, 52629, 15296, 38308, 64906, 56, 112, 85779, 74481, 2256, 38496, 6954, 28271, 109217, 48909, 1434, 13233, 1353, 166179, 6827, 3129, 18151, 30391, 9384, 16610, ...
[ 0.042449951171875, 0.00738525390625, 0.2249755859375, 0.2213134765625, 0.180419921875, 0.1552734375, 0.14111328125, 0.2318115234375, 0.1593017578125, 0.16943359375, 0.02178955078125, 0.0830078125, 0.1103515625, 0.107421875, 0.045867919921875, 0.2005615234375, 0.1162109375, 0.109985...
embed
54864001_c0
54864001
elixir
0
Title: Pattern matching a map within a map in the function header Problem title: Pattern matching a map within a map in the function header Tags: elixir, phoenix-framework Problem: Pattern matching a map within a map in the function header I currently have a params instance that looks like this: params: %{ "continent" ...
Pattern matching a map within a map in the function header Pattern matching a map within a map in the function header elixir phoenix-framework Pattern deleted_date Asia to_be_deleted continent_params Pattern matching a map within a map in the function header I currently have a params instance that looks like this: I am...
[ -0.026611328125, 0.00665283203125, 0.002532958984375, -0.01373291015625, -0.03662109375, 0.00150299072265625, -0.021240234375, -0.0040283203125, 0.0186767578125, -0.01068115234375, 0.029541015625, 0.005340576171875, 0.01483154296875, 0.01123046875, 0.0341796875, -0.01806640625, -0.03...
[ 9876, 22766, 14858, 214, 22288, 28032, 32354, 10336, 56, 23, 15296, 38308, 53073, 33, 4084, 160328, 154109, 71, 17489, 14237, 47, 372, 8520, 3674, 72852, 2500, 8256, 82424, 121, 4432, 110527, 33342, 31577, 103510, 26548, 22799, 29568, 12921, ...
[ 0.2186279296875, 0.1676025390625, 0.2408447265625, 0.037811279296875, 0.22216796875, 0.1802978515625, 0.1497802734375, 0.15185546875, 0.1256103515625, 0.04638671875, 0.06109619140625, 0.1640625, 0.05810546875, 0.06622314453125, 0.129638671875, 0.0772705078125, 0.1907958984375, 0.09...
embed
40061739_c1
40061739
elixir
1
.preload(:user) changeset = user |> build_assoc(:comments) |> Repo.preload(:routine) |> Comment.changeset(comment_params) |> Ecto.Changeset.put_assoc(:routine, routine) case Repo.insert(changeset) do {:ok, comment} -> conn |> put_flash(:info, "Your comment was successfully posted!") |> redirect(to: routine_path(conn, :...
.preload(:user) changeset = user |> build_assoc(:comments) |> Repo.preload(:routine) |> Comment.changeset(comment_params) |> Ecto.Changeset.put_assoc(:routine, routine) case Repo.insert(changeset) do {:ok, comment} -> conn |> put_flash(:info, "Your comment was successfully posted!") |> redirect(to: routine_path(conn, :...
[ -0.0167236328125, -0.0167236328125, -0.0225830078125, -0.004241943359375, -0.00439453125, 0.0037689208984375, -0.007415771484375, -0.0064697265625, 0.0184326171875, -0.059814453125, -0.01611328125, 0.006591796875, 0.0113525390625, 0.0152587890625, -0.01031494140625, 0.015869140625, -...
[ 5, 4692, 63033, 65918, 65572, 126, 2203, 38937, 45367, 73395, 238, 277, 9035, 853, 771, 14179, 10325, 16277, 152028, 3509, 674, 2500, 8256, 44150, 127008, 4188, 7077, 124374, 7225, 33657, 685, 6868, 158, 19, 3884, 5544, 7319, 509, 65771, ...
[ 0.000885009765625, 0.1417236328125, 0.2454833984375, 0.2113037109375, 0.2156982421875, 0.22021484375, 0.042816162109375, 0.1846923828125, 0.1324462890625, 0.0784912109375, 0.049591064453125, 0.11669921875, 0.1837158203125, 0.047882080078125, 0.1273193359375, 0.1295166015625, 0.142456...
embed
63910512_c0
63910512
elixir
0
Title: Insert or update data to the database in phoenix elixir Problem title: Insert or update data to the database in phoenix elixir Tags: ecto, phoenix-framework, elixir Problem: Insert or update data to the database in phoenix elixir I have got this in my database: [ %Element{id: 1, posx: 1, posy: 2, count1: 100, co...
Insert or update data to the database in phoenix elixir Insert or update data to the database in phoenix elixir ecto phoenix-framework elixir Insert Element count1 count2 Repo.insert Insert or update data to the database in phoenix elixir I have got this in my database: Now when I add new data I want to update the exis...
[ -0.0047607421875, -0.01312255859375, 0.009765625, 0.001708984375, 0.00823974609375, 0.0196533203125, -0.01019287109375, -0.01123046875, 0.00555419921875, -0.034423828125, 0.00848388671875, -0.0030975341796875, 0.0196533203125, -0.0118408203125, 0.0027923583984375, 0.00274658203125, -...
[ 360, 33657, 707, 28350, 2053, 47, 63399, 23, 53073, 33, 4084, 15296, 38308, 6, 60751, 160328, 18244, 48325, 54529, 304, 853, 771, 73, 4163, 903, 15190, 3525, 3444, 144573, 42805, 3864, 425, 48762, 53, 5701, 6626, 142424, 5, 6713, 1884, ...
[ 0.1075439453125, 0.220458984375, 0.0828857421875, 0.2032470703125, 0.1610107421875, 0.1109619140625, 0.235595703125, 0.0684814453125, 0.09478759765625, 0.1328125, 0.154541015625, 0.109130859375, 0.233154296875, 0.006927490234375, 0.189453125, 0.076171875, 0.03900146484375, 0.175415...
embed
57680929_c0
57680929
elixir
0
Title: How to query a third relation in Ecto Associations Problem title: How to query a third relation in Ecto Associations Tags: ecto, elixir Problem: How to query a third relation in Ecto Associations Snapmail |> preload(:user) |> preload(:snapmail_cameras) |> preload([snapmail_cameras: :camera]) |> preload([snapmail...
How to query a third relation in Ecto Associations How to query a third relation in Ecto Associations ecto elixir How Ecto Associations Snapmail snapmail_cameras vendor_model Repo.all snapmail_camera camera_id project_finished belongs_to User foreign_key user_id has_many SnapmailCamera How to query a third relation in ...
[ -0.0024871826171875, 0.0019989013671875, -0.00653076171875, 0.0185546875, 0.01171875, 0.004669189453125, -0.0223388671875, -0.00009775161743164062, 0.00811767578125, -0.042236328125, 0.0091552734375, 0.01025390625, -0.0164794921875, -0.0087890625, -0.01361083984375, -0.0001506805419921...
[ 11249, 41, 1294, 50960, 41911, 241, 44150, 56187, 60751, 15296, 38308, 121190, 2065, 76685, 124999, 116366, 51734, 771, 5584, 15593, 532, 13452, 48310, 67175, 10617, 188, 53400, 110613, 19770, 38937, 669, 53, 105272, 1704, 98423, 3447, 23180, ...
[ 0.018890380859375, 0.1231689453125, 0.109619140625, 0.240966796875, 0.2259521484375, 0.0643310546875, 0.2276611328125, 0.17138671875, 0.16943359375, 0.0243682861328125, 0.1319580078125, 0.1463623046875, 0.220703125, 0.1534423828125, 0.16015625, 0.1346435546875, 0.12548828125, 0.046...
embed
61967633_c0
61967633
elixir
0
Title: Dynamic dispatch in Elixir in this way Problem title: Dynamic dispatch in Elixir in this way Tags: elixir Problem: Dynamic dispatch in Elixir in this way I want to create a function with implementation which I'll embed in other modules, without having to re-implement it in those . It'll be something like this: d...
Dynamic dispatch in Elixir in this way Dynamic dispatch in Elixir in this way elixir Dynamic Elixir MyModuleWithFunction my_function IO.puts __MODULE__ m.var1 var1 Main print_data M1.my_function M2.my_function Dynamic dispatch in Elixir in this way I want to create a function with implementation which I'll embed in oth...
[ 0.00592041015625, -0.00151824951171875, -0.0040283203125, 0.0096435546875, 0.018310546875, -0.0004215240478515625, 0.0037384033203125, 0.00927734375, 0.012451171875, -0.07373046875, 0.0174560546875, -0.020263671875, -0.001373291015625, 0.006011962890625, 0.021240234375, 0.0098266601562...
[ 73327, 21068, 58580, 257, 206, 23, 25318, 38308, 903, 3917, 15296, 2646, 91616, 8782, 194583, 97249, 759, 137175, 17780, 7077, 12013, 397, 129984, 347, 1961, 285, 12321, 28412, 10135, 276, 418, 1176, 5442, 3444, 28282, 32354, 678, 208124, 3...
[ 0.16357421875, 0.1138916015625, 0.1304931640625, 0.12548828125, 0.10040283203125, 0.073486328125, 0.136962890625, 0.259521484375, 0.077392578125, 0.112548828125, 0.084228515625, 0.07244873046875, 0.082275390625, 0.09417724609375, 0.09722900390625, 0.1361083984375, 0.1156005859375, ...
embed
69611405_c0
69611405
elixir
0
Title: Elixir Phoenix Absinthe GraphQL API authentication in both web and mobile app&#x27;s Problem title: Elixir Phoenix Absinthe GraphQL API authentication in both web and mobile app&#x27;s Tags: absinthe, phoenix-framework, graphql, elixir Problem: Elixir Phoenix Absinthe GraphQL API authentication in both web and m...
Elixir Phoenix Absinthe GraphQL API authentication in both web and mobile app&#x27;s Elixir Phoenix Absinthe GraphQL API authentication in both web and mobile app&#x27;s absinthe phoenix-framework graphql elixir Elixir Phoenix Absinthe GraphQL API MyAppWeb.schema.ex Elixir Phoenix Absinthe GraphQL API authentication in...
[ 0.015869140625, 0.01373291015625, -0.003814697265625, 0.005218505859375, -0.0233154296875, 0.01519775390625, -0.001373291015625, 0.0101318359375, 0.0062255859375, -0.0203857421875, 0.0272216796875, -0.00091552734375, 0.007720947265625, 0.00250244140625, -0.0234375, 0.00506591796875, ...
[ 25318, 38308, 133720, 27174, 73, 2347, 6524, 11727, 2737, 866, 61687, 195734, 2320, 15044, 1467, 136, 14288, 4027, 3768, 23, 425, 7, 1563, 1596, 53073, 33, 4084, 160328, 41382, 99247, 15296, 2646, 39179, 30474, 5, 7560, 192, 3355, 25, 206...
[ 0.115478515625, 0.2034912109375, 0.250732421875, 0.16796875, 0.1556396484375, 0.22607421875, 0.1448974609375, 0.1514892578125, 0.1474609375, 0.15869140625, 0.2403564453125, 0.23486328125, 0.017974853515625, 0.088623046875, 0.164306640625, 0.0877685546875, 0.1719970703125, 0.1539306...
embed
48064714_c0
48064714
elixir
0
Title: Elixir Pass parameter into Plug for previous plug parameter Problem title: Elixir Pass parameter into Plug for previous plug parameter Tags: plug, elixir Problem: Elixir Pass parameter into Plug for previous plug parameter This may not be a Breadcrumble question, but how do I pass a parameter from a previous plu...
Elixir Pass parameter into Plug for previous plug parameter Elixir Pass parameter into Plug for previous plug parameter plug elixir Elixir Pass Plug set_merchant conn.params.merchant add_breadcrumb Dashboard conn.params.merchant_id _opt conn.params merchant_id MyApp.find_merchant Elixir Pass parameter into Plug for pre...
[ 0.009765625, 0.034423828125, -0.004608154296875, 0.0267333984375, -0.0107421875, 0.0040283203125, -0.00133514404296875, -0.01904296875, 0.01336669921875, -0.0439453125, 0.015380859375, -0.01446533203125, 0.006011962890625, 0.01116943359375, -0.0152587890625, -0.017333984375, -0.03015...
[ 25318, 38308, 28872, 171859, 3934, 194351, 100, 96362, 76329, 15296, 5423, 1991, 62956, 158, 19, 2500, 8256, 15190, 4134, 712, 47913, 6492, 1858, 24351, 5, 532, 2146, 1143, 2646, 39179, 111607, 6499, 40099, 3642, 54, 87, 27875, 10, 1295, ...
[ 0.1199951171875, 0.2392578125, 0.1895751953125, 0.28173828125, 0.1820068359375, 0.1962890625, 0.07879638671875, 0.14892578125, 0.197021484375, 0.0772705078125, 0.1094970703125, 0.1065673828125, 0.2049560546875, 0.0740966796875, 0.058807373046875, 0.1138916015625, 0.1240234375, 0.05...
embed
37604741_c0
37604741
elixir
0
Title: Can __using__ insert at end of a module? Problem title: Can __using__ insert at end of a module? Tags: elixir Problem: Can __using__ insert at end of a module? Lets say I have a module I'm making where pattern matching is the bulk of it's functionality, like a struct or fancy case statement; is there a way that ...
Can __using__ insert at end of a module? Can __using__ insert at end of a module? elixir SomeMacros Can __using__ Module NumberToNumber SwitchLib __MODULE__.convert Can __using__ insert at end of a module? Lets say I have a module I'm making where pattern matching is the bulk of it's functionality, like a struct or fan...
[ -0.016357421875, 0.0166015625, 0.0157470703125, 0.0125732421875, -0.018310546875, 0.005889892578125, -0.02294921875, -0.01806640625, -0.0054931640625, -0.036865234375, -0.0230712890625, -0.015380859375, 0.024169921875, -0.0037384033203125, 0.00836181640625, -0.01275634765625, -0.0170...
[ 4171, 5953, 223, 214, 14005, 183540, 99, 3564, 111, 88996, 15296, 38308, 31384, 3666, 63014, 13, 103332, 7763, 18444, 26278, 106101, 104820, 12013, 397, 129984, 2271, 11549, 20662, 103510, 14858, 11876, 92, 123309, 36716, 7225, 63805, 3917, 4...
[ 0.1094970703125, 0.0209503173828125, 0.1181640625, 0.1126708984375, 0.076171875, 0.2783203125, 0.115234375, 0.213623046875, 0.1156005859375, 0.26416015625, 0.0252227783203125, 0.142333984375, 0.045745849609375, 0.113525390625, 0.223388671875, 0.1077880859375, 0.1358642578125, 0.135...
embed
38494182_c0
38494182
elixir
0
Title: How can I detect a TCP timeout on an active socket in Elixir with gen_tcp? Problem title: How can I detect a TCP timeout on an active socket in Elixir with gen_tcp? Tags: elixir, gen-tcp, erlang Problem: How can I detect a TCP timeout on an active socket in Elixir with gen_tcp? I have a GenServer that is connect...
How can I detect a TCP timeout on an active socket in Elixir with gen_tcp? How can I detect a TCP timeout on an active socket in Elixir with gen_tcp? elixir gen-tcp erlang How TCP Elixir gen_tcp GenServer gen_tcp.connect handle_info IO.inspect gen_tcp.recv How can I detect a TCP timeout on an active socket in Elixir wi...
[ 0.014892578125, 0.0233154296875, -0.004180908203125, 0.0040283203125, 0.00787353515625, -0.02392578125, -0.0115966796875, 0.0059814453125, -0.0086669921875, -0.034912109375, 0.02978515625, -0.01007080078125, -0.0213623046875, 0.0223388671875, 0.01287841796875, 0.0079345703125, -0.008...
[ 11249, 96391, 384, 17854, 1733, 6056, 36457, 221, 27853, 25318, 38308, 9226, 121422, 831, 454, 15296, 72, 3066, 18, 15937, 193348, 135457, 34831, 7319, 17780, 16711, 31688, 334, 678, 37067, 148814, 94878, 233, 19155, 29568, 2256, 1409, 26973,...
[ 0.00164794921875, 0.18603515625, 0.0234527587890625, 0.1884765625, 0.172607421875, 0.1866455078125, 0.1563720703125, 0.060150146484375, 0.154052734375, 0.110107421875, 0.239990234375, 0.1544189453125, 0.1748046875, 0.0180816650390625, 0.0299224853515625, 0.05810546875, 0.014465332031...
embed
65841306_c0
65841306
elixir
0
Title: Elixir HTTP close connection error with Hackney {error: :closed} Problem title: Elixir HTTP close connection error with Hackney {error: :closed} Tags: tesla, elixir Problem: Elixir HTTP close connection error with Hackney {error: :closed} I am facing strange issue in my elixir app which is using Tesla as http cl...
Elixir HTTP close connection error with Hackney {error: :closed} Elixir HTTP close connection error with Hackney {error: :closed} tesla elixir Elixir HTTP Hackney hackney_options recv_timeout ssl_options verify_none Tesla.Adapter.Hackney should_retry Tesla.client Elixir HTTP close connection error with Hackney {error: ...
[ 0.01220703125, 0.0087890625, 0.02099609375, 0.00848388671875, 0.0142822265625, -0.01953125, -0.01104736328125, -0.0069580078125, -0.0087890625, -0.0072021484375, 0.01434326171875, -0.0198974609375, -0.005096435546875, 0.01458740234375, 0.030029296875, -0.03076171875, 0.0035400390625,...
[ 25318, 38308, 135913, 20903, 94878, 18499, 678, 52922, 10186, 188800, 155648, 71, 31785, 143, 15296, 85526, 109585, 21954, 334, 6032, 6056, 24861, 493, 40383, 70658, 22409, 2631, 720, 6495, 2594, 5608, 15123, 222978, 7808, 114453, 31089, 4027, ...
[ 0.1234130859375, 0.2666015625, 0.2330322265625, 0.212890625, 0.1593017578125, 0.1475830078125, 0.0845947265625, 0.1915283203125, 0.230712890625, 0.1446533203125, 0.19287109375, 0.03753662109375, 0.0794677734375, 0.0784912109375, 0.09002685546875, 0.138427734375, 0.1678466796875, 0....
embed
31507472_c0
31507472
elixir
0
Title: Attempt to connect to OrientDB with Elixir using the binary protocol returns invalid Session-ID Problem title: Attempt to connect to OrientDB with Elixir using the binary protocol returns invalid Session-ID Tags: elixir, orientdb Problem: Attempt to connect to OrientDB with Elixir using the binary protocol retur...
Attempt to connect to OrientDB with Elixir using the binary protocol returns invalid Session-ID Attempt to connect to OrientDB with Elixir using the binary protocol returns invalid Session-ID elixir orientdb the Attempt OrientDB Elixir Session-ID gen_tcp.connect to_char_list a_r _succes REQEST_CONNECT Negative byte_siz...
[ 0.0146484375, -0.00787353515625, -0.00012493133544921875, 0.004180908203125, -0.0026702880859375, -0.0155029296875, -0.027587890625, 0.00020885467529296875, -0.01361083984375, -0.0216064453125, 0.0194091796875, 0.0245361328125, -0.037109375, 0.001922607421875, -0.006103515625, -0.00561...
[ 34224, 37067, 70352, 39463, 678, 25318, 38308, 2394, 6635, 91363, 30646, 56649, 148735, 7146, 15296, 23509, 48073, 9226, 121422, 135457, 47, 9254, 6562, 226534, 2737, 91394, 221717, 390, 62539, 8647, 131470, 46354, 151607, 91732, 54092, 39285, ...
[ 0.0938720703125, 0.1580810546875, 0.2325439453125, 0.216064453125, 0.0516357421875, 0.0985107421875, 0.2470703125, 0.134765625, 0.10400390625, 0.1417236328125, 0.08624267578125, 0.17236328125, 0.1754150390625, 0.1424560546875, 0.031341552734375, 0.1876220703125, 0.1572265625, 0.083...
embed
45537370_c0
45537370
elixir
0
Title: Setup WebStorm for Elixir (Project SDK is not defined) Problem title: Setup WebStorm for Elixir (Project SDK is not defined) Tags: webstorm, elixir Problem: Setup WebStorm for Elixir (Project SDK is not defined) I've been trying to setup WebStorm to work with Elixir and I'm getting a Project SDK is not defined m...
Setup WebStorm for Elixir (Project SDK is not defined) Setup WebStorm for Elixir (Project SDK is not defined) webstorm elixir Setup WebStorm Elixir Project SDK Erlang OTP erts-9.0 smp:8:8 ds:8:8:10 async-threads:10 kernel-poll:false External Tools Setup WebStorm for Elixir (Project SDK is not defined) I've been trying ...
[ -0.0216064453125, 0.020263671875, -0.0267333984375, 0.00726318359375, 0.0023040771484375, 0.0033721923828125, -0.017822265625, -0.01336669921875, -0.0125732421875, -0.007476806640625, -0.0157470703125, -0.004852294921875, 0.0050048828125, 0.031494140625, 0.0234375, 0.006378173828125, ...
[ 19943, 2037, 4002, 294, 1290, 39, 100, 25318, 38308, 223353, 159, 45461, 959, 61924, 1467, 129857, 15296, 27331, 1004, 3066, 23658, 72, 933, 15205, 2389, 2676, 1019, 15110, 12654, 39116, 77924, 5877, 8710, 141070, 119296, 31577, 169581, 4488,...
[ 0.1168212890625, 0.053924560546875, 0.139404296875, 0.04254150390625, 0.1817626953125, 0.1737060546875, 0.038726806640625, 0.1182861328125, 0.273193359375, 0.136474609375, 0.061859130859375, 0.263671875, 0.0985107421875, 0.2073974609375, 0.096923828125, 0.2310791015625, 0.08923339843...
embed
77273891_c1
77273891
elixir
1
elixir/burrito/issues/111 Unfortunately, both fail to work for Windows 11. This leads me to try the shortcut approach. Here I create Windows shortcut to demo.bat and I specify in the target path the commands: Making a Windows shortcut start relative to where the folder is? Which in this case will be %windir%\system32\c...
elixir/burrito/issues/111 Unfortunately, both fail to work for Windows 11. This leads me to try the shortcut approach. Here I create Windows shortcut to demo.bat and I specify in the target path the commands: Making a Windows shortcut start relative to where the folder is? Which in this case will be %windir%\system32\c...
[ -0.0079345703125, 0.0159912109375, 0.01226806640625, 0.005096435546875, 0.00341796875, 0.0026702880859375, -0.00002086162567138672, -0.031494140625, -0.01025390625, -0.00860595703125, -0.0091552734375, 0.0201416015625, 0.0179443359375, 0.02587890625, 0.018310546875, -0.006011962890625,...
[ 15296, 38308, 5992, 40880, 174404, 97024, 185397, 15044, 35782, 4488, 3773, 4541, 16610, 19774, 51515, 28282, 53397, 2848, 40140, 30388, 60875, 75101, 4034, 35845, 7440, 78303, 936, 6460, 3931, 46480, 80750, 5885, 2967, 70, 130250, 11343, 13517...
[ 0.07720947265625, 0.25146484375, 0.04766845703125, 0.2252197265625, 0.07177734375, 0.1756591796875, 0.0009765625, 0.0153961181640625, 0.0921630859375, 0.06268310546875, 0.1322021484375, 0.1922607421875, 0.1165771484375, 0.1839599609375, 0.09307861328125, 0.049774169921875, 0.25732421...
embed
35677865_c0
35677865
elixir
0
Title: Is map lookup in Elixir O(1)? Problem title: Is map lookup in Elixir O(1)? Tags: elixir Problem: Is map lookup in Elixir O(1)? Hash-table-based dict/map structures provide O(1) lookup time. Yet I keep seeing implications that in Elixir, finding a matching function head is faster than looking up something in a ma...
Is map lookup in Elixir O(1)? Is map lookup in Elixir O(1)? elixir Elixir String.Unicode Is map lookup in Elixir O(1)? Hash-table-based dict/map structures provide O(1) lookup time. Yet I keep seeing implications that in Elixir, finding a matching function head is faster than looking up something in a map. For instance...
[ 0.000804901123046875, -0.0191650390625, 0.0126953125, -0.002471923828125, -0.002227783203125, -0.01708984375, 0.030517578125, -0.0052490234375, 0.01092529296875, -0.0235595703125, 0.01409912109375, 0.004669189453125, 0.0054931640625, 0.01165771484375, 0.01544189453125, 0.00174713134765...
[ 2071, 22288, 6713, 2037, 23, 25318, 38308, 180, 27750, 15296, 23351, 214, 85600, 40899, 162087, 22819, 77007, 61669, 62346, 45646, 22691, 1733, 17914, 90791, 14858, 32354, 10336, 4271, 56, 16487, 9969, 1340, 5303, 60347, 112, 124850, 3934, 59...
[ 0.03485107421875, 0.254638671875, 0.1627197265625, 0.175048828125, 0.08636474609375, 0.1361083984375, 0.26318359375, 0.2264404296875, 0.15234375, 0.09619140625, 0.14990234375, 0.0899658203125, 0.1121826171875, 0.2081298828125, 0.1365966796875, 0.1368408203125, 0.080322265625, 0.137...
embed
51639340_c0
51639340
elixir
0
Title: erlang/elixir parse OCSPResponse (asn.1) Problem title: erlang/elixir parse OCSPResponse (asn.1) Tags: elixir, erlang, ocsp Problem: erlang/elixir parse OCSPResponse (asn.1) Is there any way to parse OCSP response in erlang/elixir? Probably I don't understand something, but it is ASN.1 type OCSPResponse fails :p...
erlang/elixir parse OCSPResponse (asn.1) erlang/elixir parse OCSPResponse (asn.1) elixir erlang ocsp PKIX-CommonTypes-2009 OCSPResponse asn.1 public_key.der_decode asn1ct:compile Users ocsp_client ocsp.asn1 OCSP-2009:8 ATTRIBUTE EXTENSION OCSP-2009:180 OBJECT IDENTIFIER OCSP-2009:181 structured_error OCSP-2009 asn1ct_c...
[ -0.0130615234375, 0.0186767578125, -0.005584716796875, 0.005950927734375, 0.021728515625, -0.0067138671875, 0.0084228515625, -0.01416015625, -0.0098876953125, -0.015869140625, 0.01483154296875, -0.0030975341796875, 0.031982421875, 0.00121307373046875, -0.000591278076171875, 0.010131835...
[ 72, 3066, 6169, 38308, 366, 184, 91888, 9434, 94399, 13, 162, 19, 17727, 15296, 44043, 7008, 21487, 3796, 196707, 90967, 237, 418, 3835, 19770, 820, 112, 40899, 15390, 58875, 1340, 53400, 222978, 1019, 62353, 21170, 39425, 150260, 208585, 2...
[ 0.09503173828125, 0.2078857421875, 0.07861328125, 0.2437744140625, 0.1436767578125, 0.1070556640625, 0.15673828125, 0.211669921875, 0.1915283203125, 0.0290374755859375, 0.0253753662109375, 0.0780029296875, 0.045623779296875, 0.042205810546875, 0.08026123046875, 0.181396484375, 0.1220...
embed
73129419_c0
73129419
elixir
0
Title: ERL_AFLAGS history configure environment error Problem title: ERL_AFLAGS history configure environment error Tags: elixir Problem: ERL_AFLAGS history configure environment error I want to save iex shell history, and set ERL_AFLAGS as follows: When start iex, it give the error information. The os is mac os. erl v...
ERL_AFLAGS history configure environment error ERL_AFLAGS history configure environment error elixir ERL_AFLAGS iex_history shell_history shell_history_path HOME application_controller bad_environment_value Users Crash erl_crash.dump...done ERL_AFLAGS history configure environment error I want to save iex shell history...
[ -0.0172119140625, 0.00897216796875, -0.01397705078125, 0.01318359375, 0.032958984375, -0.01318359375, -0.013671875, -0.01251220703125, 0.000926971435546875, 0.0147705078125, 0.007415771484375, 0.0084228515625, 0.0079345703125, 0.0228271484375, 0.015380859375, -0.0238037109375, 0.0061...
[ 241, 30121, 28247, 91912, 294, 32692, 222495, 65998, 18499, 454, 15296, 38308, 17, 3355, 979, 86385, 128019, 128405, 70060, 38415, 81988, 603, 6494, 153210, 674, 27494, 53400, 34156, 127, 72, 141, 41535, 693, 2676, 64007, 3444, 30098, 5423, ...
[ 0.1171875, 0.250732421875, 0.1160888671875, 0.2181396484375, 0.06982421875, 0.174560546875, 0.264892578125, 0.19775390625, 0.1904296875, 0.0167388916015625, 0.08172607421875, 0.2294921875, 0.10186767578125, 0.241943359375, 0.0732421875, 0.11376953125, 0.2144775390625, 0.10961914062...
embed
38655990_c0
38655990
elixir
0
Title: Phoenix/Elixir: How to set the action in a test connection with Plug.Test.conn()? Problem title: Phoenix/Elixir: How to set the action in a test connection with Plug.Test.conn()? Tags: phoenix-framework, elixir Problem: Phoenix/Elixir: How to set the action in a test connection with Plug.Test.conn()? I wrote a l...
Phoenix/Elixir: How to set the action in a test connection with Plug.Test.conn()? Phoenix/Elixir: How to set the action in a test connection with Plug.Test.conn()? phoenix-framework elixir Phoenix Elixir How Plug.Test.conn MyPlugTest ExUnit.Case Plug.Test AppRouter.init Create Invoke AppRouter.call Assert conn.state co...
[ -0.025146484375, 0.012939453125, 0.0194091796875, 0.007781982421875, -0.003265380859375, 0.0093994140625, -0.01495361328125, -0.01251220703125, 0.00738525390625, -0.00439453125, -0.006317138671875, 0.0033111572265625, -0.01348876953125, -0.000270843505859375, -0.0225830078125, 0.008056...
[ 133720, 64, 647, 150, 38308, 11249, 5423, 70, 22631, 23, 3034, 94878, 194351, 111337, 2271, 19, 53073, 33, 4084, 160328, 18244, 15296, 25318, 2646, 35159, 5443, 85600, 5659, 25208, 151313, 23253, 85763, 158, 61340, 45215, 254, 37873, 678, 5...
[ 0.232421875, 0.0267486572265625, 0.00244140625, 0.0672607421875, 0.2186279296875, 0.07623291015625, 0.1968994140625, 0.022613525390625, 0.22412109375, 0.0732421875, 0.1976318359375, 0.1385498046875, 0.1890869140625, 0.218994140625, 0.1175537109375, 0.1002197265625, 0.011444091796875,...
embed
37409211_c1
37409211
elixir
1
lixir version elixir_version=1.2.3 # Always rebuild from scratch on every deploy? always_rebuild=true # ENV variables config_vars_to_export=(DATABASE_URL HOST) and # phoenix_static_buildpack.config # We can set the version of Node to use for the app here node_version=5.10.0 # We can set the version of NPM to use for th...
lixir version elixir_version=1.2.3 # Always rebuild from scratch on every deploy? always_rebuild=true # ENV variables config_vars_to_export=(DATABASE_URL HOST) and # phoenix_static_buildpack.config # We can set the version of Node to use for the app here node_version=5.10.0 # We can set the version of NPM to use for th...
[ -0.01904296875, 0.0123291015625, -0.017333984375, 0.002532958984375, -0.0026702880859375, 0.007049560546875, -0.0177001953125, -0.01123046875, 0.00634765625, 0.00775146484375, -0.01116943359375, -0.00445556640625, 0.01495361328125, 0.0133056640625, -0.00115966796875, 0.01263427734375, ...
[ 400, 38308, 11389, 15296, 46354, 33000, 120883, 203623, 456, 177149, 1295, 206597, 11907, 8, 13158, 11343, 107, 9774, 7338, 856, 77336, 153837, 1961, 180758, 49068, 95538, 572, 34274, 53073, 33, 4084, 201939, 29102, 5423, 438, 112, 4527, 4027...
[ 0.1005859375, 0.30029296875, 0.1463623046875, 0.0975341796875, 0.1754150390625, 0.0159454345703125, 0.1866455078125, 0.145263671875, 0.1221923828125, 0.22607421875, 0.024322509765625, 0.248291015625, 0.08447265625, 0.042327880859375, 0.1556396484375, 0.126953125, 0.129150390625, 0....
embed
60549053_c0
60549053
elixir
0
Title: Elixir HttpPoison not working to send multipart/form-data requests Problem title: Elixir HttpPoison not working to send multipart/form-data requests Tags: http, erlang, elixir Problem: Elixir HttpPoison not working to send multipart/form-data requests I have a very simple request to make but it looks like HttpPo...
Elixir HttpPoison not working to send multipart/form-data requests Elixir HttpPoison not working to send multipart/form-data requests http erlang elixir Elixir HttpPoison HTTPoison.post path.com file.xlsx task.name task.link Elixir HttpPoison not working to send multipart/form-data requests I have a very simple request...
[ 0.0115966796875, -0.003143310546875, -0.0017547607421875, -0.00180816650390625, -0.01104736328125, -0.01177978515625, 0.01312255859375, 0.004302978515625, -0.0031890869140625, 0.00604248046875, 0.0174560546875, -0.000812530517578125, -0.0035552978515625, 0.03466796875, -0.004791259765625...
[ 25318, 38308, 572, 3062, 254, 7192, 40514, 959, 20697, 47, 25379, 6024, 17365, 5037, 10135, 50336, 1621, 3066, 15296, 135913, 31, 5, 4594, 60875, 11435, 92595, 7, 425, 66211, 11627, 10187, 4552, 8781, 442, 33342, 18, 19048, 103608, 235923, ...
[ 0.1328125, 0.24853515625, 0.083740234375, 0.1083984375, 0.12890625, 0.1820068359375, 0.235107421875, 0.0657958984375, 0.1617431640625, 0.018585205078125, 0.117431640625, 0.180908203125, 0.20263671875, 0.2393798828125, 0.12939453125, 0.185302734375, 0.025787353515625, 0.158935546875...
embed
49434306_c0
49434306
elixir
0
Title: Dialyxir error order_by doesnt return Ecto.Query.t Problem title: Dialyxir error order_by doesnt return Ecto.Query.t Tags: typespec, dialyzer, ecto, elixir Problem: Dialyxir error order_by doesnt return Ecto.Query.t I have this method @spec modify_query(Ecto.Query.t) :: Ecto.Query.t def modify_query(query) do # ...
Dialyxir error order_by doesnt return Ecto.Query.t Dialyxir error order_by doesnt return Ecto.Query.t typespec dialyzer ecto elixir r Dialyxir order_by Ecto.Query.t modify_query Item Term Ecto.Query r.active r.start Data Dialyxir error order_by doesnt return Ecto.Query.t I have this method Then I chain that method with...
[ 0.01458740234375, 0.034423828125, -0.0012664794921875, -0.0072021484375, -0.000461578369140625, -0.01171875, -0.02978515625, -0.005859375, -0.0096435546875, -0.0303955078125, 0.01287841796875, -0.01495361328125, 0.00836181640625, 0.0078125, 0.000598907470703125, 0.022705078125, -0.02...
[ 4512, 538, 38308, 18499, 12989, 1272, 22027, 18, 30646, 241, 44150, 41732, 1294, 10644, 16711, 879, 4383, 60751, 15296, 1690, 2811, 944, 78426, 71232, 17137, 11809, 55300, 121293, 41, 18151, 43240, 26785, 198371, 959, 186992, 678, 6868, 988, ...
[ 0.1134033203125, 0.1312255859375, 0.2208251953125, 0.1866455078125, 0.20703125, 0.2069091796875, 0.027862548828125, 0.088134765625, 0.205078125, 0.043060302734375, 0.2259521484375, 0.1287841796875, 0.07861328125, 0.1256103515625, 0.138671875, 0.09808349609375, 0.1600341796875, 0.15...
embed
50365157_c0
50365157
elixir
0
Title: Elixir: Convert list of bits to binary Problem title: Elixir: Convert list of bits to binary Tags: elixir Problem: Elixir: Convert list of bits to binary I have a list of integers representing bits; e.g. [1,0,0,1,1,0,0,1,0,0,0,1,1,1,0,0] and I would like to convert it into a binary i.e. <<153, 28>> , I know that...
Elixir: Convert list of bits to binary Elixir: Convert list of bits to binary elixir Elixir Convert list_to_binary Enum.at Enum.drop List.duplicate Elixir: Convert list of bits to binary I have a list of integers representing bits; e.g. [1,0,0,1,1,0,0,1,0,0,0,1,1,1,0,0] and I would like to convert it into a binary i.e....
[ -0.0184326171875, 0.005157470703125, -0.006988525390625, 0.008544921875, -0.0042724609375, 0.00927734375, -0.041015625, -0.0185546875, 0.010009765625, -0.00762939453125, -0.0107421875, 0.000919342041015625, 0.0140380859375, 0.04638671875, 0.00872802734375, 0.00069427490234375, 0.0090...
[ 25318, 38308, 1657, 11549, 5303, 111, 4785, 47, 2394, 6635, 12, 7, 15296, 188, 19155, 1294, 357, 316, 257, 138810, 32036, 693, 52721, 765, 892, 26255, 33636, 63527, 206808, 1884, 96760, 3934, 10, 152830, 1372, 3714, 140909, 11343, 48716, ...
[ 0.129638671875, 0.2763671875, 0.07794189453125, 0.1651611328125, 0.2142333984375, 0.066162109375, 0.2177734375, 0.10479736328125, 0.20703125, 0.2261962890625, 0.011871337890625, 0.02490234375, 0.1094970703125, 0.087158203125, 0.1947021484375, 0.1680908203125, 0.06329345703125, 0.16...
embed
18017541_c1
18017541
elixir
1
-73.08477409999999}]}]}, {"location", [{"lat", 44.6654963}, {"lng", -73.01032}]}, {"location_type", "APPROXIMATE"}, {"viewport", [{"northeast", [{"lat", 44.772892}, {"lng", -72.92268890000001}]}, {"southwest", [{"lat", 44.6330508}, {"lng", -73.08477409999999}]}]}]}, {"types", ["locality", "political"]}]]}, {"status", ...
-73.08477409999999}]}]}, {"location", [{"lat", 44.6654963}, {"lng", -73.01032}]}, {"location_type", "APPROXIMATE"}, {"viewport", [{"northeast", [{"lat", 44.772892}, {"lng", -72.92268890000001}]}, {"southwest", [{"lat", 44.6330508}, {"lng", -73.08477409999999}]}]}]}, {"types", ["locality", "political"]}]]}, {"status", ...
[ -0.0072021484375, 0.0284423828125, 0.01513671875, -0.01031494140625, 0.00848388671875, -0.0021209716796875, 0.00848388671875, -0.0036773681640625, -0.00170135498046875, -0.0174560546875, 0.01092529296875, -0.0184326171875, 0.007080078125, -0.006072998046875, 0.0020599365234375, 0.01428...
[ 20, 13574, 5, 8318, 158657, 2839, 5046, 65040, 87632, 2335, 830, 5896, 170686, 186410, 363, 449, 76327, 6460, 50986, 14255, 1542, 27770, 8241, 22751, 6982, 13665, 4438, 12825, 197094, 49760, 25617, 98908, 170272, 45215, 9092, 1884, 125663, 21...
[ 0.041595458984375, 0.203125, 0.0224151611328125, 0.099853515625, 0.1396484375, 0.1019287109375, 0.1395263671875, 0.1614990234375, 0.1815185546875, 0.166015625, 0.031646728515625, 0.1544189453125, 0.13134765625, 0.0726318359375, 0.038726806640625, 0.0694580078125, 0.078125, 0.066162...
embed
53839886_c0
53839886
elixir
0
Title: edeliver can&#x27;t receive ping from deployed node Problem title: edeliver can&#x27;t receive ping from deployed node Tags: elixir, edeliver Problem: edeliver can't receive ping from deployed node I have an application that works and can be deployed just fine. I'm trying to connect from one Node to another on a...
edeliver can&#x27;t receive ping from deployed node edeliver can&#x27;t receive ping from deployed node elixir edeliver deployed Node.connect Node Ensures require_live_node NAME edeliver can't receive ping from deployed node I have an application that works and can be deployed just fine. I'm trying to connect from one ...
[ -0.0084228515625, 0.006988525390625, 0.0072021484375, 0.008056640625, 0.000732421875, 0.0034637451171875, -0.0047607421875, -0.005096435546875, -0.00946044921875, -0.0235595703125, 0.010498046875, -0.0284423828125, 0.015625, 0.003326416015625, -0.00921630859375, 0.0054931640625, -0.0...
[ 28, 112, 134148, 831, 3768, 18, 53299, 33429, 1295, 8, 13158, 53, 110, 15296, 38308, 438, 135457, 7, 64209, 24056, 157, 182512, 38415, 43240, 5885, 31577, 37067, 15700, 12921, 116491, 15549, 20, 11627, 57266, 759, 9007, 981, 1530, 129884, ...
[ 0.130615234375, 0.1998291015625, 0.30322265625, 0.096923828125, 0.078125, 0.100830078125, 0.1278076171875, 0.2144775390625, 0.06121826171875, 0.101318359375, 0.162841796875, 0.036956787109375, 0.1572265625, 0.09136962890625, 0.1973876953125, 0.17578125, 0.1285400390625, 0.063598632...
embed
41667126_c0
41667126
elixir
0
Title: How use schemas of SQL Server with tds_ecto? Problem title: How use schemas of SQL Server with tds_ecto? Tags: elixir, ecto Problem: How use schemas of SQL Server with tds_ecto? I have a model like this defmodule AppRest.Category do use AppRest.Web , :model schema "ventas.categories" do field :name, :string time...
How use schemas of SQL Server with tds_ecto? How use schemas of SQL Server with tds_ecto? elixir ecto How SQL Server tds_ecto AppRest.Category AppRest.Web ventas.categories _params Repo.all Category index.json SELECT inserted_at updated_at global.categories How use schemas of SQL Server with tds_ecto? I have a model li...
[ 0.005462646484375, 0.0191650390625, -0.00811767578125, 0.024169921875, -0.015869140625, -0.0137939453125, -0.026123046875, 0.004974365234375, -0.0023956298828125, -0.049072265625, 0.0111083984375, -0.01226806640625, -0.00579833984375, 0.02294921875, 0.00066375732421875, 0.007568359375,...
[ 11249, 4527, 61903, 7, 111, 80866, 22687, 678, 808, 6468, 454, 60751, 15296, 38308, 5659, 1052, 525, 76775, 3081, 30474, 127917, 240153, 2500, 8256, 853, 771, 5584, 49057, 63262, 170, 1681, 6755, 144832, 183540, 150011, 7964, 3299, 1884, 90...
[ 0.0751953125, 0.1370849609375, 0.272216796875, 0.1444091796875, 0.091796875, 0.1846923828125, 0.1710205078125, 0.07659912109375, 0.08935546875, 0.1541748046875, 0.049468994140625, 0.245361328125, 0.021728515625, 0.1661376953125, 0.0305938720703125, 0.0712890625, 0.0887451171875, 0....
embed
38137242_c2
38137242
elixir
2
Ar2KGH4gwohwHsz8Ony", state: :unset, status: nil} What do I need to do to solve this issue and test Code signals: Plug.Conn, Phoenix.Controller, How, user_id, get_session, Plug.Session.init, _app, encryption_salt, signing_salt, MyApp.Factory.create, put_req_header, vnd.api, Map.put, secret_key_base, String.duplicate, P...
Ar2KGH4gwohwHsz8Ony", state: :unset, status: nil} What do I need to do to solve this issue and test Code signals: Plug.Conn, Phoenix.Controller, How, user_id, get_session, Plug.Session.init, _app, encryption_salt, signing_salt, MyApp.Factory.create, put_req_header, vnd.api, Map.put, secret_key_base, String.duplicate, P...
[ -0.019775390625, -0.007598876953125, -0.00469970703125, -0.0296630859375, -0.00982666015625, 0.012451171875, -0.031494140625, -0.0137939453125, -0.00640869140625, 0.01129150390625, -0.00142669677734375, 0.0208740234375, 0.000522613525390625, 0.0162353515625, 0, -0.01556396484375, -0....
[ 1172, 41877, 116310, 299, 830, 11341, 3509, 10778, 6, 17324, 8152, 4865, 87, 3871, 54, 47, 86869, 903, 31089, 136, 3034, 28864, 26073, 194351, 5, 11935, 19, 133720, 175904, 603, 11249, 38937, 532, 2046, 169234, 294, 90, 6889, 73, 217, 9...
[ 0.05633544921875, 0.05950927734375, 0.07171630859375, 0.1063232421875, 0.0462646484375, 0.10308837890625, 0.03741455078125, 0.147216796875, 0.012908935546875, 0.083251953125, 0.0531005859375, 0.0235137939453125, 0.06622314453125, 0.0987548828125, 0.06591796875, 0.0281829833984375, 0....
embed
33068021_c0
33068021
elixir
0
Title: Creating a search bar in the permanent layout (app.html.eex) Problem title: Creating a search bar in the permanent layout (app.html.eex) Tags: search, elixir, phoenix-framework Problem: Creating a search bar in the permanent layout (app.html.eex) I am having a surprisingly hard time figuring out how to create a ...
Creating a search bar in the permanent layout (app.html.eex) Creating a search bar in the permanent layout (app.html.eex) search elixir phoenix-framework Creating app.html.eex Search search_parameter text_input Type search_query Creating a search bar in the permanent layout (app.html.eex) I am having a surprisingly har...
[ -0.000843048095703125, 0.04931640625, -0.0013275146484375, -0.0086669921875, 0.01116943359375, 0.00164794921875, -0.0038909912109375, -0.0024871826171875, 0.02099609375, -0.0859375, 0.0108642578125, -0.0225830078125, -0.0057373046875, 0.037841796875, -0.0216064453125, -0.01165771484375...
[ 56781, 33938, 1909, 23, 28123, 108802, 9007, 7693, 13, 3355, 15296, 38308, 53073, 33, 4084, 160328, 4027, 33086, 6276, 29089, 7986, 60457, 944, 212615, 7941, 26747, 28282, 28032, 110934, 133720, 202220, 16128, 15549, 4165, 12601, 19097, 2046, ...
[ 0.1326904296875, 0.23779296875, 0.2322998046875, 0.047149658203125, 0.165771484375, 0.21435546875, 0.125732421875, 0.1761474609375, 0.08740234375, 0.2015380859375, 0.030517578125, 0.1551513671875, 0.012908935546875, 0.0294342041015625, 0.07135009765625, 0.0426025390625, 0.16662597656...
embed
44359447_c0
44359447
elixir
0
Title: Update Map based on another nested Map iteration Problem title: Update Map based on another nested Map iteration Tags: elixir Problem: Update Map based on another nested Map iteration Immutability in Elixir is really blowing my mind and makes the languages so confusing to use. I need to iterate a nested map and ...
Update Map based on another nested Map iteration Update Map based on another nested Map iteration elixir Update Map Enum.reduce Predictor past_matches team1 team2 team3 init_indexes _scores Map.put n_games Enum.each put_in Update Map based on another nested Map iteration Immutability in Elixir is really blowing my mind...
[ -0.01251220703125, -0.00823974609375, 0.004119873046875, 0.01373291015625, -0.0089111328125, -0.005950927734375, -0.0216064453125, 0.00628662109375, 0.0101318359375, -0.0159912109375, 0.0283203125, 0.0208740234375, 0.036865234375, 0.0191650390625, 0.0252685546875, -0.0093994140625, -...
[ 28641, 42719, 35509, 15700, 8512, 71, 17, 720, 15296, 38308, 357, 316, 107, 106357, 7145, 14, 18770, 11015, 98753, 7175, 363, 4711, 129675, 41581, 3370, 14311, 41159, 25318, 6183, 102310, 7086, 46876, 55681, 4527, 3871, 8560, 22288, 8781, 2...
[ 0.1728515625, 0.1929931640625, 0.0928955078125, 0.110107421875, 0.2269287109375, 0.08551025390625, 0.0262603759765625, 0.1937255859375, 0.09613037109375, 0.2274169921875, 0.0985107421875, 0.1724853515625, 0.1529541015625, 0.21533203125, 0.1212158203125, 0.080322265625, 0.08056640625,...
embed
53449738_c0
53449738
elixir
0
Title: Implement Aliquot Sum and the Perfect Number algorithm Problem title: Implement Aliquot Sum and the Perfect Number algorithm Tags: elixir Problem: Implement Aliquot Sum and the Perfect Number algorithm Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification sche...
Implement Aliquot Sum and the Perfect Number algorithm Implement Aliquot Sum and the Perfect Number algorithm elixir Implement Aliquot Sum Perfect Number Abundant Deficient Prime Implement Aliquot Sum and the Perfect Number algorithm Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 12...
[ -0.00848388671875, 0.00958251953125, 0.0133056640625, 0.0269775390625, -0.00164031982421875, 0.01190185546875, -0.00176239013671875, 0.01202392578125, -0.0064697265625, 0.027099609375, -0.0162353515625, -0.0098876953125, -0.0201416015625, 0.01495361328125, 0.0093994140625, 0.0027770996...
[ 153941, 2132, 41502, 36335, 136, 70, 73171, 103332, 234873, 15296, 38308, 28025, 1236, 391, 110410, 56195, 30524, 2174, 14012, 83, 15787, 4, 130807, 660, 707, 104, 35509, 86653, 43676, 223, 25, 85769, 20, 5390, 18471, 40865, 1363, 150370, 6...
[ 0.24853515625, 0.179931640625, 0.32080078125, 0.286376953125, 0.0799560546875, 0.032470703125, 0.260498046875, 0.25439453125, 0.248046875, 0.0968017578125, 0.25048828125, 0.19482421875, 0.08087158203125, 0.10791015625, 0.3037109375, 0.195068359375, 0.1962890625, 0.1163330078125, ...
embed
36952703_c0
36952703
elixir
0
Title: Convert empty strings to nil before saving Problem title: Convert empty strings to nil before saving Tags: elixir, phoenix-framework Problem: Convert empty strings to nil before saving I have the following User model and want to make sure that nobody stores empty strings (e.g. a space) in the database. If somebo...
Convert empty strings to nil before saving Convert empty strings to nil before saving elixir phoenix-framework Convert User first_name last_name before_validation MyApp.User MyApp.Web required_fields optional_fields Creates Convert empty strings to nil before saving I have the following User model and want to make sure...
[ -0.0101318359375, -0.014404296875, 0.01116943359375, 0.0361328125, -0.0036163330078125, 0.0164794921875, 0.0045166015625, -0.025146484375, 0.00238037109375, 0.0037994384765625, 0.00836181640625, 0.01129150390625, -0.0069580078125, 0.030517578125, 0.01025390625, -0.007232666015625, 0....
[ 1657, 11549, 201505, 79315, 7, 47, 17324, 8108, 57, 6496, 15296, 38308, 53073, 33, 4084, 160328, 53400, 5117, 11627, 4568, 7013, 85, 39179, 2189, 30474, 56065, 28394, 35829, 151313, 25632, 3299, 3444, 9077, 37873, 4343, 32628, 63399, 176256, ...
[ 0.07208251953125, 0.18896484375, 0.250244140625, 0.2403564453125, 0.074951171875, 0.1279296875, 0.2418212890625, 0.1539306640625, 0.1251220703125, 0.10418701171875, 0.048583984375, 0.186767578125, 0.058349609375, 0.051483154296875, 0.103515625, 0.085205078125, 0.1624755859375, 0.09...
embed
29136874_c1
29136874
elixir
1
I'm interested in a solution across a number of use cases. Performance is important. I will run some benchmarks across various values of n for the solution and publish. Benchmark Update - 8th April 2015 6 workable solutions have been posted. Details of the benchmarks are available at https://gist.github.com/spitsw/fce...
I'm interested in a solution across a number of use cases. Performance is important. I will run some benchmarks across various values of n for the solution and publish. Benchmark Update - 8th April 2015 6 workable solutions have been posted. Details of the benchmarks are available at https://gist.github.com/spitsw/fce...
[ -0.01470947265625, -0.00848388671875, 0.0093994140625, -0.006591796875, 0.00360107421875, -0.013671875, 0.00543212890625, 0.004730224609375, 0.0029296875, -0.04345703125, 0.01806640625, -0.0177001953125, -0.010986328125, 0.0120849609375, -0.00830078125, 0.0030517578125, 0.00213623046...
[ 87, 60892, 23, 10, 29806, 36880, 14012, 111, 4527, 50218, 94030, 83, 5526, 1221, 11675, 3060, 240057, 7, 67842, 142424, 653, 80299, 3419, 206, 10015, 28641, 382, 7071, 918, 305, 4488, 2886, 51347, 44183, 77658, 621, 19882, 99, 271, 5, 1...
[ 0.0149993896484375, 0.19775390625, 0.0426025390625, 0.017059326171875, 0.223876953125, 0.1475830078125, 0.0643310546875, 0.008148193359375, 0.149658203125, 0.15869140625, 0.2020263671875, 0.0321044921875, 0.14111328125, 0.003692626953125, 0.1353759765625, 0.013763427734375, 0.2680664...
embed
36818101_c0
36818101
elixir
0
Title: How to get concurrent function (pmap) to use all cores in Elixir? Problem title: How to get concurrent function (pmap) to use all cores in Elixir? Tags: pmap, concurrency, elixir-iex, elixir, performance Problem: How to get concurrent function (pmap) to use all cores in Elixir? I'm new to Elixir, and I'm startin...
How to get concurrent function (pmap) to use all cores in Elixir? How to get concurrent function (pmap) to use all cores in Elixir? pmap concurrency elixir-iex elixir performance How Elixir How to get concurrent function (pmap) to use all cores in Elixir? I'm new to Elixir, and I'm starting to read through Dave Thomas'...
[ -0.0072021484375, -0.00151824951171875, -0.00165557861328125, 0.01226806640625, -0.01348876953125, -0.00762939453125, -0.00049591064453125, 0.0027313232421875, 0.003387451171875, -0.0419921875, 0.0025482177734375, 0.00555419921875, -0.003387451171875, 0.021240234375, 0.01544189453125, ...
[ 11249, 2046, 133244, 32354, 254, 62346, 4527, 756, 48052, 25318, 38308, 47, 23, 3592, 2631, 108636, 982, 15296, 14, 3355, 23718, 3525, 103383, 14978, 40881, 27958, 2060, 2408, 720, 97551, 14012, 55769, 108047, 75534, 209, 158887, 192509, 1409...
[ 0.0711669921875, 0.097900390625, 0.3017578125, 0.206298828125, 0.126220703125, 0.2841796875, 0.146728515625, 0.16357421875, 0.251220703125, 0.155029296875, 0.26611328125, 0.02117919921875, 0.0810546875, 0.05780029296875, 0.1630859375, 0.1697998046875, 0.13671875, 0.07940673828125, ...
embed
56087518_c0
56087518
elixir
0
Title: Is it bad practice to use raw-text SQL queries with Phoenix? Problem title: Is it bad practice to use raw-text SQL queries with Phoenix? Tags: elixir, phoenix-framework, ecto Problem: Is it bad practice to use raw-text SQL queries with Phoenix? I have a query that uses "AS" and "SUM". I am unable to find any app...
Is it bad practice to use raw-text SQL queries with Phoenix? Is it bad practice to use raw-text SQL queries with Phoenix? elixir phoenix-framework ecto SQL Phoenix SELECT SUM http_prox socks_prox is_ssl ssl_prox sneak_prox shopify_prox google_prox ebay_prox strawpoll_prox Is it bad practice to use raw-text SQL queries ...
[ -0.0033416748046875, -0.002471923828125, 0.004669189453125, 0.02392578125, -0.00970458984375, 0.001251220703125, -0.017578125, -0.00994873046875, 0.005157470703125, -0.0380859375, 0.01324462890625, 0.001922607421875, 0.00469970703125, 0.0093994140625, -0.0169677734375, 0.013427734375, ...
[ 2071, 442, 6494, 41361, 4527, 49649, 22829, 80866, 41, 10484, 678, 133720, 15296, 38308, 53073, 33, 4084, 160328, 18244, 60751, 6755, 144832, 127944, 1621, 64101, 221, 22824, 83, 24861, 34614, 344, 19927, 40383, 26484, 14089, 6363, 5877, 47, ...
[ 0.045196533203125, 0.037322998046875, 0.1431884765625, 0.2178955078125, 0.132568359375, 0.225830078125, 0.22998046875, 0.2406005859375, 0.1484375, 0.14453125, 0.12451171875, 0.27685546875, 0.033477783203125, 0.174560546875, 0.083984375, 0.0941162109375, 0.1446533203125, 0.111083984...
embed
50208279_c1
50208279
elixir
1
link to the JPEG in the file system. And I can delete it through hackney = [pool: :seaweedfs_download_pool, recv_timeout: 30_000_000] HTTPoison.delete!("#{url}?recursive=true", [], hackney: hackney) Here is the issue. If I am getting snapshots between 2 date ranges, and the date range is more than an hour. or a full h...
link to the JPEG in the file system. And I can delete it through hackney = [pool: :seaweedfs_download_pool, recv_timeout: 30_000_000] HTTPoison.delete!("#{url}?recursive=true", [], hackney: hackney) Here is the issue. If I am getting snapshots between 2 date ranges, and the date range is more than an hour. or a full h...
[ -0.0096435546875, 0.000919342041015625, -0.0142822265625, 0.0079345703125, -0.035400390625, 0.01348876953125, 0.0177001953125, 0.00543212890625, 0.00634765625, 0.01611328125, -0.0206298828125, 0.039794921875, 0.000553131103515625, 0.01043701171875, 0.0007781982421875, 0.000804901123046...
[ 3126, 47, 216281, 23, 11435, 5426, 831, 154109, 442, 8305, 85526, 10186, 20740, 184, 11, 1177, 297, 17447, 61754, 21954, 334, 6032, 6056, 496, 9508, 135913, 31, 40514, 8520, 67, 25002, 48650, 31089, 20949, 76685, 72697, 17721, 116, 5622, ...
[ 0.19287109375, 0.05780029296875, 0.31396484375, 0.0106201171875, 0.14013671875, 0.1370849609375, 0.01361083984375, 0.2469482421875, 0.0770263671875, 0.0148773193359375, 0.150390625, 0.212158203125, 0.145263671875, 0.046295166015625, 0.033294677734375, 0.06256103515625, 0.061584472656...
embed
68855832_c0
68855832
elixir
0
Title: module Bcrypt.Base is not available Problem title: module Bcrypt.Base is not available Tags: phoenix-framework, elixir Problem: module Bcrypt.Base is not available Code signals: UndefinedFunctionError, Bcrypt.Base, encrypt_password, changeset.valid, put_change, password_hash, Bcrypt.hash_pwd_salt, changeset.chan...
module Bcrypt.Base is not available module Bcrypt.Base is not available phoenix-framework elixir UndefinedFunctionError Bcrypt.Base encrypt_password changeset.valid put_change password_hash Bcrypt.hash_pwd_salt changeset.changes.password Server localhost:4000 Request POST Bcrypt.Base.gensalt_nif bcrypt_elixir bcrypt.ex...
[ 0.01318359375, -0.00421142578125, 0.0035400390625, 0.0015106201171875, -0.00262451171875, 0.00101470947265625, -0.00152587890625, -0.03564453125, 0.002105712890625, -0.022705078125, -0.003997802734375, 0.0208740234375, 0.019287109375, 0.033447265625, -0.002166748046875, -0.000766754150...
[ 88996, 335, 136791, 5, 63473, 13, 83, 959, 19882, 53073, 33, 4084, 160328, 15296, 38308, 79912, 5983, 97249, 18468, 22, 454, 13409, 47416, 65572, 126, 7013, 71, 3884, 152028, 78506, 126234, 37281, 85985, 7, 22687, 4000, 40294, 68037, 853, ...
[ 0.253173828125, 0.1707763671875, 0.319580078125, 0.0826416015625, 0.2301025390625, 0.142333984375, 0.034576416015625, 0.1329345703125, 0.2088623046875, 0.09375, 0.086181640625, 0.1427001953125, 0.1136474609375, 0.0850830078125, 0.231201171875, 0.08642578125, 0.1673583984375, 0.1401...
embed
52082990_c0
52082990
elixir
0
Title: Update Postgres table using Ecto/Elixir Problem title: Update Postgres table using Ecto/Elixir Tags: elixir, ecto Problem: Update Postgres table using Ecto/Elixir I have been learning Elixir lately and am wondering what is the correct syntax for solving my current issue. I am trying to update a model using Elixi...
Update Postgres table using Ecto/Elixir Update Postgres table using Ecto/Elixir elixir ecto Ecto/Elixir Update Postgres Ecto Elixir add_transaction coin_params Repo.get_by WalletCoin Repo.update _coin Repo.all index.json Update Postgres table using Ecto/Elixir I have been learning Elixir lately and am wondering what is...
[ -0.022216796875, -0.0012664794921875, -0.0174560546875, 0.010009765625, 0.0005950927734375, 0.0198974609375, -0.0235595703125, -0.00830078125, 0.0108642578125, -0.027587890625, 0.017333984375, 0.019775390625, -0.007476806640625, -0.00341796875, 0.015380859375, -0.00421142578125, -0.0...
[ 28641, 2795, 17562, 23180, 17368, 241, 44150, 64, 647, 150, 38308, 15296, 60751, 25318, 15190, 30145, 44713, 43780, 2500, 8256, 853, 771, 3794, 1272, 23706, 126, 10625, 73, 117008, 587, 5584, 63262, 170, 1681, 52080, 37838, 26785, 6002, 865...
[ 0.18359375, 0.0965576171875, 0.245361328125, 0.22119140625, 0.078125, 0.073486328125, 0.236083984375, 0.0634765625, 0.0357666015625, 0.10107421875, 0.2470703125, 0.0911865234375, 0.1973876953125, 0.126708984375, 0.09765625, 0.1065673828125, 0.0814208984375, 0.15185546875, 0.09960...
embed
49302900_c0
49302900
elixir
0
Title: Can I use the pipe and update syntax together with structs? Problem title: Can I use the pipe and update syntax together with structs? Tags: elixir Problem: Can I use the pipe and update syntax together with structs? I'm finding I want to update a struct pretty often, then pipe the result to another function. Th...
Can I use the pipe and update syntax together with structs? Can I use the pipe and update syntax together with structs? elixir Can my_struct my_field_in_struct a_new_value my_funct1 my_funct2 my_funct3 Can I use the pipe and update syntax together with structs? I'm finding I want to update a struct pretty often, then p...
[ -0.01055908203125, 0.0191650390625, 0.000286102294921875, 0.0038299560546875, -0.015869140625, -0.007232666015625, -0.021728515625, -0.018310546875, 0.009765625, -0.0086669921875, -0.000919342041015625, 0.036376953125, 0.02490234375, -0.00836181640625, 0.0252685546875, -0.0084228515625...
[ 4171, 4527, 137158, 136, 28350, 6002, 86531, 25842, 678, 36716, 7, 15296, 38308, 759, 28394, 73, 54936, 27494, 16498, 15390, 304, 363, 90791, 3444, 28875, 27983, 16750, 32354, 3871, 13695, 116987, 1257, 35978, 5915, 1884, 7311, 6494, 7464, ...
[ 0.08319091796875, 0.1263427734375, 0.242431640625, 0.088134765625, 0.198974609375, 0.158203125, 0.2242431640625, 0.1536865234375, 0.115966796875, 0.240234375, 0.052398681640625, 0.075927734375, 0.2032470703125, 0.07421875, 0.1546630859375, 0.00927734375, 0.0638427734375, 0.13647460...
embed
40824798_c0
40824798
elixir
0
Title: Phoenix endpoint server for tests won&#x27;t start Problem title: Phoenix endpoint server for tests won&#x27;t start Tags: phoenix-framework, elixir Problem: Phoenix endpoint server for tests won't start I am working on ex_admin and ran into a problem starting the Phoenix server. I am working on setting up integ...
Phoenix endpoint server for tests won&#x27;t start Phoenix endpoint server for tests won&#x27;t start phoenix-framework elixir #PID Phoenix EXIT PID Phoenix.Endpoint.Server ranch_listener_sup TestExAdmin.Endpoint.HTTP gen_server.call ranch_server set_new_listener_opts Plug.Adapters.Cowboy.Handler TestExAdmin.Endpoint P...
[ 0.0167236328125, 0.0205078125, -0.00689697265625, -0.00555419921875, -0.0059814453125, 0.00049591064453125, -0.0252685546875, -0.012939453125, 0.0002841949462890625, -0.0125732421875, -0.00811767578125, 0.01507568359375, 0.020751953125, 0.031005859375, 0.0184326171875, 0.00778198242187...
[ 133720, 3564, 38496, 10723, 100, 109921, 23742, 3768, 18, 4034, 53073, 33, 4084, 160328, 18244, 15296, 38308, 7146, 29426, 152378, 193348, 63844, 8647, 19279, 1249, 9226, 39642, 85763, 13028, 2146, 194351, 2631, 8770, 30885, 135679, 22409, 2069...
[ 0.2442626953125, 0.1204833984375, 0.1561279296875, 0.1826171875, 0.07177734375, 0.221435546875, 0.09368896484375, 0.03228759765625, 0.1083984375, 0.1885986328125, 0.029541015625, 0.033935546875, 0.08905029296875, 0.060760498046875, 0.0218658447265625, 0.03497314453125, 0.154052734375...
embed
62867287_c0
62867287
elixir
0
Title: Specify resource routes that require authenticated user in Elixir Phoenix Problem title: Specify resource routes that require authenticated user in Elixir Phoenix Tags: phoenix-framework, elixir Problem: Specify resource routes that require authenticated user in Elixir Phoenix I am using phx_gen_auth for user si...
Specify resource routes that require authenticated user in Elixir Phoenix Specify resource routes that require authenticated user in Elixir Phoenix phoenix-framework elixir authenticated Specify Elixir Phoenix phx_gen_auth require_authenticated_user router.ex PostController pipe_through Specify resource routes that req...
[ 0.007537841796875, -0.003570556640625, -0.01104736328125, -0.0031890869140625, -0.0035400390625, -0.01397705078125, -0.00130462646484375, 0.005859375, 0.017333984375, -0.03662109375, 0.00113677978515625, 0.00099945068359375, -0.004119873046875, 0.0233154296875, 0.000888824462890625, 0....
[ 24990, 40383, 177953, 36439, 7, 64209, 195734, 27686, 38937, 25318, 38308, 133720, 450, 23, 53073, 33, 4084, 160328, 18244, 15296, 11521, 425, 1409, 916, 92733, 7636, 65918, 122188, 3355, 2795, 175904, 603, 137158, 222521, 17368, 24092, 38415, ...
[ 0.175537109375, 0.076416015625, 0.2279052734375, 0.21875, 0.0045166015625, 0.158203125, 0.2078857421875, 0.1104736328125, 0.1732177734375, 0.1351318359375, 0.2386474609375, 0.26025390625, 0.00555419921875, 0.1383056640625, 0.06573486328125, 0.05804443359375, 0.063720703125, 0.08459...
embed
56730971_c0
56730971
elixir
0
Title: replacing null values from in map with some other value Problem title: replacing null values from in map with some other value Tags: enums, elixir, maps Problem: replacing null values from in map with some other value I have a map exchange_accounts = %{"BSE" => "yes", "MCX" => "", "NSE" => ""} I need to check fo...
replacing null values from in map with some other value replacing null values from in map with some other value enums elixir maps in exchange_accounts BSE MCX NSE client_id ASHA14 Map.replace replacing null values from in map with some other value I have a map I need to check for only empty values in this given map. if...
[ 0.0015411376953125, -0.0235595703125, -0.01318359375, 0.006317138671875, -0.0140380859375, 0.00518798828125, 0.012451171875, -0.00070953369140625, 0.019775390625, 0.035888671875, 0.0341796875, 0.0294189453125, 0.01531982421875, 0.017822265625, 0.02587890625, -0.000431060791015625, 0....
[ 456, 133266, 214, 56574, 142424, 1295, 23, 22288, 678, 3789, 34292, 22, 10321, 15296, 38308, 121122, 213499, 9127, 1542, 23282, 532, 62, 67619, 2592, 42719, 107, 23935, 3871, 12765, 100, 4734, 201505, 7413, 22799, 139550, 91995, 5608, 98816, ...
[ 0.083984375, 0.1727294921875, 0.0396728515625, 0.2457275390625, 0.2034912109375, 0.1353759765625, 0.1329345703125, 0.2310791015625, 0.08892822265625, 0.086181640625, 0.1507568359375, 0.0697021484375, 0.204833984375, 0.05615234375, 0.2012939453125, 0.1943359375, 0.1806640625, 0.1060...
embed
65051142_c1
65051142
elixir
1
oc false use Application import Supervisor.Spec @impl true def start(_type, _args) do gen_consumer_impl = Consumer.FactorialConsumer consumer_group_name = "Factorials" topic_names = ["factorials-to-be-calculated"] consumer_group_opts = [] children = [ supervisor( KafkaEx.ConsumerGroup, [gen_consumer_impl, consumer_grou...
oc false use Application import Supervisor.Spec @impl true def start(_type, _args) do gen_consumer_impl = Consumer.FactorialConsumer consumer_group_name = "Factorials" topic_names = ["factorials-to-be-calculated"] consumer_group_opts = [] children = [ supervisor( KafkaEx.ConsumerGroup, [gen_consumer_impl, consumer_grou...
[ 0.003997802734375, 0.012451171875, -0.0194091796875, 0.00086212158203125, -0.0125732421875, -0.006011962890625, -0.0015869140625, 0.0010528564453125, -0.0004711151123046875, 0.0078125, -0.02001953125, 0.0181884765625, 0.0198974609375, 0.0286865234375, 0.01300048828125, -0.00341796875, ...
[ 44043, 98320, 4527, 104921, 24927, 4265, 51858, 5, 294, 47107, 1374, 116120, 29568, 8, 420, 4034, 50986, 101, 61477, 7, 16, 54, 9226, 454, 25553, 316, 56, 2203, 76980, 135518, 77275, 11832, 107222, 51588, 11627, 58, 28451, 144810, 15403, ...
[ 0.2276611328125, 0.3115234375, 0.1768798828125, 0.26171875, 0.218505859375, 0.2235107421875, 0.29736328125, 0.034881591796875, 0.003448486328125, 0.26904296875, 0.0836181640625, 0.27734375, 0.168701171875, 0.01214599609375, 0.018310546875, 0.2081298828125, 0.23486328125, 0.02146911...
embed
33317367_c0
33317367
elixir
0
Title: Elixir, test supervisor restart policy Problem title: Elixir, test supervisor restart policy Tags: erlang-otp, elixir Problem: Elixir, test supervisor restart policy I am writing an OTP application with a supervisor tree. The main supervisor supervise two process a worker, QueueAddress, and another supervisor, Q...
Elixir, test supervisor restart policy Elixir, test supervisor restart policy erlang-otp elixir Elixir one_for_one simple_one_for_one Process.exit QueueManager Elixir.QueueManager Elixir, test supervisor restart policy I am writing an OTP application with a supervisor tree. The main supervisor supervise two process a w...
[ -0.01275634765625, 0.0230712890625, -0.0010223388671875, 0.0019378662109375, 0.00762939453125, -0.00848388671875, 0.0172119140625, -0.0035552978515625, -0.0052490234375, 0.0032958984375, 0.0115966796875, 0.01239013671875, 0.0027008056640625, 0.044921875, 0.0272216796875, 0.003570556640...
[ 25318, 38308, 3034, 1601, 51858, 456, 17137, 44930, 72, 3066, 818, 254, 15296, 1632, 2472, 3630, 8781, 123996, 23399, 5813, 13388, 12662, 33730, 41732, 32562, 180, 23658, 38415, 53201, 5201, 41079, 6626, 9433, 4488, 161007, 113857, 10176, 210...
[ 0.11865234375, 0.25390625, 0.1947021484375, 0.167724609375, 0.2354736328125, 0.0963134765625, 0.188720703125, 0.1822509765625, 0.0078125, 0.1829833984375, 0.07611083984375, 0.072998046875, 0.07659912109375, 0.0450439453125, 0.05743408203125, 0.0850830078125, 0.0849609375, 0.1400146...
embed
76631849_c0
76631849
elixir
0
Title: guard to check each character in the string Problem title: guard to check each character in the string Tags: elixir Problem: guard to check each character in the string My function takes a string and I need to check each individual character is either "0" or "1". How to do that? I have tried this: defguard is_bi...
guard to check each character in the string guard to check each character in the string elixir CompileError is_bit_string is_binary byte_size binary_part Only Called guard to check each character in the string My function takes a string and I need to check each individual character is either "0" or "1". How to do that?...
[ -0.01513671875, -0.005645751953125, -0.0024261474609375, -0.0062255859375, 0.0084228515625, 0.00933837890625, -0.01397705078125, -0.01092529296875, -0.0002288818359375, -0.000762939453125, -0.003021240234375, -0.038330078125, -0.00592041015625, 0.01806640625, 0.00775146484375, 0.015991...
[ 56050, 47, 12765, 12638, 62816, 23, 79315, 15296, 38308, 15612, 1340, 18468, 31611, 83, 3137, 91693, 19155, 1294, 390, 67, 62539, 2394, 6635, 17365, 87293, 26265, 297, 32354, 51776, 3871, 11651, 40101, 2389, 707, 418, 54, 37842, 37144, 71, ...
[ 0.27783203125, 0.08673095703125, 0.2218017578125, 0.1324462890625, 0.208251953125, 0.039215087890625, 0.1968994140625, 0.084228515625, 0.2391357421875, 0.076171875, 0.0850830078125, 0.08282470703125, 0.06683349609375, 0.09442138671875, 0.140380859375, 0.1951904296875, 0.152587890625,...
embed
59358955_c0
59358955
elixir
0
Title: Absinthe - Response formatting %{data: %{id: 1, name: &quot;Bob&quot;}} vs %{data: %{createUser: %{id: 1, name: &quot;Bob&quot;}}} Problem title: Absinthe - Response formatting %{data: %{id: 1, name: &quot;Bob&quot;}} vs %{data: %{createUser: %{id: 1, name: &quot;Bob&quot;}}} Tags: absinthe, elixir, graphql Prob...
Absinthe - Response formatting %{data: %{id: 1, name: &quot;Bob&quot;}} vs %{data: %{createUser: %{id: 1, name: &quot;Bob&quot;}}} Absinthe - Response formatting %{data: %{id: 1, name: &quot;Bob&quot;}} vs %{data: %{createUser: %{id: 1, name: &quot;Bob&quot;}}} absinthe elixir graphql Absinthe Response Bob CreateUser C...
[ -0.006439208984375, -0.00799560546875, 0.01080322265625, -0.01336669921875, 0.01080322265625, 0.0189208984375, 0.0052490234375, -0.0022125244140625, 0.011962890625, 0.0203857421875, 0.0274658203125, 0.01165771484375, 0.010009765625, -0.00128173828125, 0.012451171875, 0.005279541015625,...
[ 27174, 73, 2347, 92748, 9384, 1916, 10135, 532, 106, 9351, 571, 3522, 20209, 7612, 2182, 1062, 2189, 1563, 1596, 15296, 38308, 41382, 99247, 25027, 151313, 26785, 3917, 47, 10, 57553, 27781, 1118, 2053, 8306, 8512, 46132, 22799, 199334, 503...
[ 0.162353515625, 0.154052734375, 0.2490234375, 0.2176513671875, 0.2410888671875, 0.0634765625, 0.136474609375, 0.058837890625, 0.0736083984375, 0.0703125, 0.073486328125, 0.1431884765625, 0.14111328125, 0.1090087890625, 0.0850830078125, 0.1158447265625, 0.1533203125, 0.08251953125, ...
embed
51498443_c0
51498443
elixir
0
Title: Check if list element is within another list - Elixir Problem title: Check if list element is within another list - Elixir Tags: elixir Problem: Check if list element is within another list - Elixir If I have two lists: First list => [1,2,3] Second List => [3,4,5] I want this to return true because they both con...
Check if list element is within another list - Elixir Check if list element is within another list - Elixir elixir Check Elixir Enum.member first_list second_list user_teams MyApp.Team left_join p.owner_id user.id a.user_id t.id a.project_id Repo.all current_user_teams t.owner_id current_user.id p.id Enum.any user_proj...
[ -0.0240478515625, -0.0032806396484375, -0.006744384765625, 0.0172119140625, -0.00787353515625, 0.01007080078125, 0.002197265625, -0.0023040771484375, 0.0169677734375, -0.0361328125, 0.0213623046875, 0.0172119140625, 0.01806640625, 0.0196533203125, 0.0037384033203125, 0.00897216796875, ...
[ 38679, 2174, 5303, 12830, 83, 28032, 15700, 25318, 38308, 15296, 357, 316, 39, 27417, 5117, 6562, 17932, 38937, 44420, 2646, 39179, 101409, 25737, 513, 8770, 95322, 771, 43581, 65918, 765, 6626, 23972, 155761, 77648, 32036, 80389, 3444, 30646...
[ 0.18798828125, 0.111572265625, 0.239013671875, 0.188720703125, 0.0625, 0.220703125, 0.1514892578125, 0.10015869140625, 0.2232666015625, 0.058746337890625, 0.050079345703125, 0.1453857421875, 0.0196533203125, 0.1162109375, 0.034698486328125, 0.1827392578125, 0.08831787109375, 0.0726...
embed
44012737_c0
44012737
elixir
0
Title: Elixir EEx: Determinig current iteration while looping through maps or collections Problem title: Elixir EEx: Determinig current iteration while looping through maps or collections Tags: elixir, phoenix-framework Problem: Elixir EEx: Determinig current iteration while looping through maps or collections Let's ta...
Elixir EEx: Determinig current iteration while looping through maps or collections Elixir EEx: Determinig current iteration while looping through maps or collections elixir phoenix-framework Elixir EEx Determinig thread.posts post.html Elixir EEx: Determinig current iteration while looping through maps or collections L...
[ 0.0042724609375, -0.01190185546875, 0.005645751953125, -0.009521484375, -0.01226806640625, 0.00811767578125, 0.01361083984375, 0.0216064453125, 0.0074462890625, -0.046630859375, -0.00628662109375, 0.01904296875, 0.0208740234375, 0.002288818359375, 0.01904296875, 0.015625, -0.03442382...
[ 25318, 38308, 241, 19279, 12, 262, 30524, 872, 43581, 17, 720, 2320, 12960, 40956, 214, 8305, 22288, 707, 42486, 15296, 33, 4084, 160328, 18244, 86997, 4594, 110934, 4785, 27781, 67842, 170846, 19048, 12765, 63262, 16840, 3190, 5117, 748, 4...
[ 0.114501953125, 0.235595703125, 0.1053466796875, 0.221435546875, 0.00311279296875, 0.081298828125, 0.1767578125, 0.1719970703125, 0.23828125, 0.06219482421875, 0.2415771484375, 0.0335693359375, 0.050567626953125, 0.1563720703125, 0.028961181640625, 0.0999755859375, 0.1080322265625, ...
embed
42179838_c0
42179838
elixir
0
Title: Elixir phoenix strip white space from html output in render Problem title: Elixir phoenix strip white space from html output in render Tags: elixir, phoenix-framework Problem: Elixir phoenix strip white space from html output in render Does anyone know how to Strip html from whitespace with Elixir in phoenix? I ...
Elixir phoenix strip white space from html output in render Elixir phoenix strip white space from html output in render elixir phoenix-framework html Elixir Elixir phoenix strip white space from html output in render Does anyone know how to Strip html from whitespace with Elixir in phoenix? I do see String.strip but I ...
[ -0.008544921875, 0.005950927734375, 0.0036773681640625, 0.0064697265625, -0.0196533203125, 0.0081787109375, -0.007537841796875, 0.0015411376953125, 0.0031280517578125, -0.0167236328125, -0.00958251953125, 0.002960205078125, -0.0022125244140625, 0.0029296875, 0.00909423828125, 0.0329589...
[ 25318, 38308, 53073, 33, 4084, 43613, 35011, 32628, 1295, 7693, 140992, 89159, 23, 15296, 160328, 18244, 3714, 3642, 47, 126165, 65421, 678, 23351, 214, 59623, 134071, 30646, 959, 79315, 46132, 110934, 6183, 23816, 163846, 756, 17721, 69141, ...
[ 0.0975341796875, 0.2252197265625, 0.075927734375, 0.1060791015625, 0.1326904296875, 0.1796875, 0.1888427734375, 0.2418212890625, 0.115478515625, 0.232666015625, 0.16357421875, 0.17822265625, 0.05096435546875, 0.010406494140625, 0.0372314453125, 0.010009765625, 0.048065185546875, 0....
embed
37845707_c0
37845707
elixir
0
Title: Use Guardian without Model Problem title: Use Guardian without Model Tags: authentication, elixir, phoenix-framework Problem: Use Guardian without Model I want to know if it is possible to use Guardian without a user model, and how to use it. I use Phoenix just for a server, tiny API and channels. I have a datab...
Use Guardian without Model Use Guardian without Model authentication elixir phoenix-framework Use Guardian Model Guardian.serializer.for_token Guardian.encode_and_sign Guardian.Serializer for_token User user.id Unknown from_token Use Guardian without Model I want to know if it is possible to use Guardian without a user...
[ -0.00750732421875, 0.021728515625, 0.015869140625, -0.0299072265625, -0.00128936767578125, -0.015380859375, -0.0034637451171875, -0.0002727508544921875, -0.01263427734375, -0.0654296875, 0.01055908203125, 0.0021514892578125, -0.01953125, 0.0164794921875, 0, -0.01171875, 0.00090026855...
[ 36836, 81589, 15490, 13293, 195734, 15296, 38308, 53073, 33, 4084, 160328, 43048, 1799, 4383, 2472, 6448, 40899, 31304, 4233, 51626, 52825, 100, 53400, 38937, 532, 69723, 1295, 7722, 4527, 10, 3299, 133720, 10723, 57278, 61687, 86723, 63399, ...
[ 0.142333984375, 0.321533203125, 0.187744140625, 0.26171875, 0.1773681640625, 0.0665283203125, 0.1663818359375, 0.05133056640625, 0.06732177734375, 0.11328125, 0.095458984375, 0.1446533203125, 0.079345703125, 0.1529541015625, 0.068603515625, 0.133056640625, 0.18212890625, 0.12036132...
embed
51110989_c0
51110989
elixir
0
Title: Mix Hex add fork on github as new package Problem title: Mix Hex add fork on github as new package Tags: elixir-mix, elixir Problem: Mix Hex add fork on github as new package maybe a stupid question and maybe already asked but I would like to know, how I can add a modified fork as new package to hex. Don't want ...
Mix Hex add fork on github as new package Mix Hex add fork on github as new package elixir-mix elixir Mix Hex Mix Hex add fork on github as new package maybe a stupid question and maybe already asked but I would like to know, how I can add a modified fork as new package to hex. Don't want to know how register with hex ...
[ 0.005035400390625, 0.00909423828125, -0.000812530517578125, 0.00885009765625, -0.00933837890625, 0.0113525390625, -0.01220703125, 0.005218505859375, -0.01165771484375, 0.019287109375, 0.008544921875, -0.03759765625, -0.0086669921875, 0.0439453125, 0.00665283203125, -0.01025390625, -0...
[ 37286, 1529, 425, 15190, 100, 92, 62270, 32102, 237, 3525, 98169, 15296, 38308, 62015, 98, 110833, 3642, 831, 10, 73197, 47, 764, 68067, 678, 80299, 65572, 93392, 98816, 3126, 79315, 1647, 1681, 19802, 180346, 31089, 4527, 6528, 15549, 1766...
[ 0.26611328125, 0.2032470703125, 0.1971435546875, 0.16455078125, 0.179931640625, 0.1595458984375, 0.1136474609375, 0.1910400390625, 0.087646484375, 0.1220703125, 0.227783203125, 0.05364990234375, 0.1583251953125, 0.2073974609375, 0.017303466796875, 0.03955078125, 0.016845703125, 0.0...
embed
43143583_c0
43143583
elixir
0
Title: How to set up Browser Caching and Expiry Headers on the Phoenix Framework? Problem title: How to set up Browser Caching and Expiry Headers on the Phoenix Framework? Tags: browser-cache, phoenix-framework, caching, elixir, performance Problem: How to set up Browser Caching and Expiry Headers on the Phoenix Framew...
How to set up Browser Caching and Expiry Headers on the Phoenix Framework? How to set up Browser Caching and Expiry Headers on the Phoenix Framework? browser-cache phoenix-framework caching elixir performance How Browser Caching Expiry Headers Phoenix Framework liberty.ai Cache-Control Strict-Transport-Security Etag E6...
[ 0.00872802734375, 0.02294921875, -0.0013885498046875, 0.0040283203125, -0.0074462890625, 0.00946044921875, -0.03564453125, -0.0245361328125, 0.0279541015625, -0.0257568359375, -0.00921630859375, 0.0252685546875, 0.03076171875, 0.021728515625, -0.0057373046875, 0.0015716552734375, -0....
[ 11249, 47, 5423, 1257, 86976, 2041, 59207, 136, 60075, 14, 1294, 44816, 1314, 133720, 202220, 98, 31842, 408, 1430, 53073, 33, 4084, 160328, 18244, 377, 15296, 38308, 23718, 14788, 939, 508, 175904, 73425, 62624, 20287, 6936, 169898, 966, 1...
[ 0.06689453125, 0.007354736328125, 0.1275634765625, 0.0828857421875, 0.2490234375, 0.1785888671875, 0.1844482421875, 0.09906005859375, 0.14892578125, 0.1583251953125, 0.1649169921875, 0.213134765625, 0.148193359375, 0.283447265625, 0.2464599609375, 0.0229339599609375, 0.20751953125, ...
embed
33749774_c0
33749774
elixir
0
Title: Ecto: Casting %Plug.Upload to virtual field for file upload validations Problem title: Ecto: Casting %Plug.Upload to virtual field for file upload validations Tags: ecto, elixir, phoenix-framework Problem: Ecto: Casting %Plug.Upload to virtual field for file upload validations I would like to be able to trigger ...
Ecto: Casting %Plug.Upload to virtual field for file upload validations Ecto: Casting %Plug.Upload to virtual field for file upload validations ecto elixir phoenix-framework Ecto Casting Plug.Upload required_fields optional_fields save_image Ecto.Changeset image_url Cloudinary.upload put_change Image Ecto: Casting %Plu...
[ -0.00061798095703125, -0.002227783203125, 0.030517578125, 0.0123291015625, -0.007537841796875, 0.0113525390625, -0.0140380859375, -0.01336669921875, -0.0026702880859375, 0.00168609619140625, 0.01214599609375, 0.01416015625, 0.01507568359375, 0.04296875, -0.00689697265625, -0.0385742187...
[ 241, 44150, 32301, 214, 1745, 35159, 53234, 63033, 47, 20513, 44457, 11435, 70622, 44622, 60751, 15296, 38308, 53073, 33, 4084, 160328, 18244, 194351, 56065, 28394, 35829, 30098, 37926, 127008, 4188, 126, 29569, 25002, 48316, 73, 6635, 94835, ...
[ 0.0872802734375, 0.275146484375, 0.16015625, 0.0914306640625, 0.126220703125, 0.177001953125, 0.10211181640625, 0.182373046875, 0.06915283203125, 0.1845703125, 0.1910400390625, 0.1676025390625, 0.2269287109375, 0.20263671875, 0.2108154296875, 0.03985595703125, 0.166748046875, 0.023...
embed
42329401_c1
42329401
elixir
1
: [port: {:system, "PORT"}], url: [host: "localhost", port: {:system, "PORT"}], cache_static_manifest: "priv/static/manifest.json", server: true, root: ".", version: Mix.Project.config[:version], secret_key_base: System.get_env("SECRET_KEY_BASE") config :glitchr, Glitchr.Repo, adapter: Ecto.Adapters.Postgres, url: Syst...
: [port: {:system, "PORT"}], url: [host: "localhost", port: {:system, "PORT"}], cache_static_manifest: "priv/static/manifest.json", server: true, root: ".", version: Mix.Project.config[:version], secret_key_base: System.get_env("SECRET_KEY_BASE") config :glitchr, Glitchr.Repo, adapter: Ecto.Adapters.Postgres, url: Syst...
[ -0.010986328125, 0.00457763671875, -0.005615234375, -0.0201416015625, 0.00299072265625, 0.0081787109375, -0.0235595703125, -0.0191650390625, -0.0034637451171875, -0.00567626953125, -0.0020294189453125, -0.015869140625, 0.0196533203125, 0.01275634765625, -0.01226806640625, 0.01843261718...
[ 6982, 16751, 91599, 25002, 40294, 98908, 11469, 82365, 201939, 9051, 13576, 5293, 334, 170, 1681, 10723, 29568, 74855, 11389, 37286, 5, 223353, 153837, 46354, 23410, 19770, 37382, 12353, 3794, 33, 9127, 441, 41116, 186104, 571, 76783, 8773, 1...
[ 0.1689453125, 0.1231689453125, 0.1405029296875, 0.232666015625, 0.0714111328125, 0.023590087890625, 0.1258544921875, 0.1837158203125, 0.1324462890625, 0.089111328125, 0.161376953125, 0.006134033203125, 0.138916015625, 0.0271453857421875, 0.112060546875, 0.130859375, 0.075927734375, ...
embed
40844793_c0
40844793
elixir
0
Title: Wrong order showing in database data inserted using seeds.exs Problem title: Wrong order showing in database data inserted using seeds.exs Tags: ecto, elixir, phoenix-framework, postgresql Problem: Wrong order showing in database data inserted using seeds.exs I've used seeds.exs to populate with 65 entries my Po...
Wrong order showing in database data inserted using seeds.exs Wrong order showing in database data inserted using seeds.exs ecto elixir phoenix-framework postgresql seeds.exs Wrong Repo.all Evento Wrong order showing in database data inserted using seeds.exs I've used seeds.exs to populate with 65 entries my PostgreSQL...
[ 0.0194091796875, -0.005157470703125, -0.0024871826171875, 0.0038604736328125, 0.0126953125, 0.00095367431640625, -0.00830078125, -0.0145263671875, -0.006103515625, -0.0303955078125, 0.00531005859375, -0.0203857421875, 0.0146484375, 0.0294189453125, -0.00124359130859375, -0.005950927734...
[ 601, 35133, 12989, 141377, 23, 63399, 2053, 183540, 17368, 40, 297, 7, 3355, 60751, 15296, 38308, 33, 4084, 160328, 1305, 17562, 99247, 853, 771, 5584, 36943, 31, 11814, 5, 27623, 5684, 112820, 2795, 7134, 158897, 212416, 66596, 8781, 19213...
[ 0.0343017578125, 0.17529296875, 0.2127685546875, 0.176025390625, 0.0142822265625, 0.1904296875, 0.1395263671875, 0.1744384765625, 0.05242919921875, 0.13232421875, 0.199951171875, 0.115966796875, 0.170166015625, 0.15380859375, 0.0247344970703125, 0.1478271484375, 0.010101318359375, ...
embed
41886503_c1
41886503
elixir
1
important at this time {:ok, var!(pid, Cake)} = %Cake{} |> start_state # here's where the cake is no longer a lie and the name is set unquote(block) out = get_state(var!(pid, Cake)) :ok = stop_state(var!(pid, Cake)) out end end defmacro topping(block) do quote do # oh no! block gets evaluated here. even if I double qu...
important at this time {:ok, var!(pid, Cake)} = %Cake{} |> start_state # here's where the cake is no longer a lie and the name is set unquote(block) out = get_state(var!(pid, Cake)) :ok = stop_state(var!(pid, Cake)) out end end defmacro topping(block) do quote do # oh no! block gets evaluated here. even if I double qu...
[ -0.000637054443359375, 0.0238037109375, 0.0274658203125, -0.00885009765625, -0.008544921875, 0.002777099609375, 0.00927734375, -0.018798828125, -0.002349853515625, -0.01214599609375, -0.0130615234375, 0.0118408203125, 0.0108642578125, 0.011962890625, -0.01043701171875, -0.0050048828125...
[ 5526, 99, 903, 1733, 685, 285, 45226, 2041, 350, 1745, 20370, 4034, 61340, 3688, 7440, 86963, 83, 110, 51713, 28127, 9351, 5423, 51, 68726, 81409, 1810, 2046, 1961, 90295, 7279, 3564, 8, 420, 15322, 47, 26783, 66747, 13505, 46389, 151575,...
[ 0.251220703125, 0.023773193359375, 0.1070556640625, 0.1300048828125, 0.1458740234375, 0.178466796875, 0.1717529296875, 0.1888427734375, 0.16796875, 0.00836181640625, 0.1590576171875, 0.170166015625, 0.182373046875, 0.012908935546875, 0.006622314453125, 0.2481689453125, 0.009094238281...
embed
52353098_c0
52353098
elixir
0
Title: Render function not working correctly inside views Problem title: Render function not working correctly inside views Tags: phoenix-framework, elixir Problem: Render function not working correctly inside views This is my controller code: def index(conn, _params) do customers = Repo.all(Customer) render conn, "ind...
Render function not working correctly inside views Render function not working correctly inside views phoenix-framework elixir Render _params Repo.all Customer index.json render_many CustomerAdminView customer.json customer.id customer.user billing_contact customer.billing_contact Render function not working correctly ...
[ -0.029052734375, 0.006103515625, 0.0010833740234375, -0.006134033203125, -0.0028839111328125, -0.0025634765625, -0.049560546875, -0.00142669677734375, 0.0150146484375, -0.035400390625, -0.008544921875, -0.000766754150390625, 0.0179443359375, -0.00347900390625, 0.0177001953125, 0.006286...
[ 63137, 56, 32354, 20697, 26785, 46132, 16912, 53073, 33, 4084, 160328, 15296, 38308, 2500, 8256, 853, 771, 5584, 124765, 63262, 170, 1681, 89159, 669, 1249, 100474, 43373, 2193, 2069, 163891, 2721, 959, 185373, 18151, 89732, 104250, 70796, 10...
[ 0.2034912109375, 0.1546630859375, 0.1634521484375, 0.1143798828125, 0.11181640625, 0.1546630859375, 0.26904296875, 0.0472412109375, 0.080078125, 0.123779296875, 0.07025146484375, 0.060791015625, 0.166748046875, 0.03692626953125, 0.056365966796875, 0.00042724609375, 0.117919921875, ...
embed
48286101_c1
48286101
elixir
1
} = workout inserted_sets = maxreps |> (&(&1*config[:max_reps_percent]/100 |> max(1))).() |> round |> Pullapi.Numbers.gaussian( config[:standard_deviation], config[:cap_percent], config[:cut] ) |> Pullapi.Database.make_pullup_sets(workout_id) |> Pullapi.Database.add_rest_sets(config[:rest_intervals]) |> Enum.map(&Pulla...
} = workout inserted_sets = maxreps |> (&(&1*config[:max_reps_percent]/100 |> max(1))).() |> round |> Pullapi.Numbers.gaussian( config[:standard_deviation], config[:cap_percent], config[:cut] ) |> Pullapi.Database.make_pullup_sets(workout_id) |> Pullapi.Database.add_rest_sets(config[:rest_intervals]) |> Enum.map(&Pulla...
[ -0.000682830810546875, 0.0108642578125, -0.01251220703125, 0.01007080078125, -0.010009765625, 0.040771484375, 0.001708984375, -0.0595703125, 0.007110595703125, -0.022216796875, 0.007049560546875, 0.0208740234375, 0.00531005859375, 0.00787353515625, 0.000331878662109375, -0.002685546875...
[ 51912, 184732, 183540, 297, 3509, 18389, 33581, 132, 153837, 24084, 7, 1264, 16797, 268, 83123, 6, 58745, 2740, 16, 194, 68807, 167392, 40897, 18444, 26278, 5, 223, 39209, 66589, 118318, 4, 1065, 12, 15644, 454, 19774, 1388, 137989, 37382, ...
[ 0.0826416015625, 0.260986328125, 0.2406005859375, 0.1162109375, 0.2244873046875, 0.10791015625, 0.226806640625, 0.00030517578125, 0.18505859375, 0.083251953125, 0.00048828125, 0.041595458984375, 0.06494140625, 0.000457763671875, 0.12646484375, 0.0003662109375, 0.0001220703125, 0.00...
embed
37329127_c0
37329127
elixir
0
Title: Ecto: How to Inject data on changeset, without Model.Callbacks Problem title: Ecto: How to Inject data on changeset, without Model.Callbacks Tags: postgresql, phoenix-framework, elixir, ecto Problem: Ecto: How to Inject data on changeset, without Model.Callbacks Ecto.Model.Callbacks are now deprecated. I am tryi...
Ecto: How to Inject data on changeset, without Model.Callbacks Ecto: How to Inject data on changeset, without Model.Callbacks postgresql phoenix-framework elixir ecto Ecto How Inject Model.Callbacks before_insert IO.puts HELLO required_fields optional_fields put_change column_name inserted_at Ecto: How to Inject data o...
[ -0.01531982421875, -0.004791259765625, 0.0086669921875, 0.03759765625, 0.0177001953125, -0.0057373046875, -0.0274658203125, -0.01153564453125, -0.00457763671875, -0.0242919921875, -0.00592041015625, -0.0142822265625, 0.0054931640625, 0.0150146484375, 0.01080322265625, 0.006561279296875...
[ 241, 44150, 12, 11249, 360, 75161, 2053, 98, 65572, 126, 15490, 13293, 5584, 12620, 1305, 17562, 99247, 53073, 33, 4084, 160328, 15296, 38308, 60751, 441, 8108, 73, 33657, 17780, 7077, 572, 174444, 56065, 28394, 35829, 3884, 152028, 3365, 3...
[ 0.12353515625, 0.289306640625, 0.0216064453125, 0.08331298828125, 0.121337890625, 0.2342529296875, 0.1666259765625, 0.1279296875, 0.2108154296875, 0.2078857421875, 0.1380615234375, 0.2210693359375, 0.1400146484375, 0.263671875, 0.0290069580078125, 0.1356201171875, 0.1448974609375, ...
embed
53922106_c0
53922106
elixir
0
Title: Can a doctest parse a function with default arguments? Problem title: Can a doctest parse a function with default arguments? Tags: elixir Problem: Can a doctest parse a function with default arguments? The doctest fails for a function I wrote. The error message I get says that generate_operands/0 is undefined. M...
Can a doctest parse a function with default arguments? Can a doctest parse a function with default arguments? elixir CompileError Can generate_operands Generate Examples SimplePRNG.t num_probs num_ops equal_num max_power equal_mag SimplePRNGImpl IO.puts Compilation arithmetic_practice_test.exs arithmetic_practice.ex:25...
[ 0.009033203125, 0.01129150390625, -0.0021209716796875, 0.00555419921875, 0.00299072265625, 0.00830078125, -0.007110595703125, -0.0252685546875, 0.00830078125, -0.00811767578125, -0.017822265625, -0.003143310546875, 0.00830078125, 0.0311279296875, -0.01422119140625, 0.00445556640625, ...
[ 4171, 51584, 6954, 366, 184, 32354, 678, 114977, 10750, 7, 15296, 38308, 15612, 1340, 18468, 31611, 139392, 21473, 2208, 155370, 89536, 60552, 17255, 8066, 18, 13269, 79122, 68818, 105950, 2606, 18389, 62783, 15429, 2424, 17780, 7077, 14, 896...
[ 0.080078125, 0.16259765625, 0.2413330078125, 0.158447265625, 0.1171875, 0.201416015625, 0.1163330078125, 0.270263671875, 0.22216796875, 0.05181884765625, 0.06298828125, 0.19091796875, 0.07916259765625, 0.0743408203125, 0.05841064453125, 0.051177978515625, 0.202392578125, 0.15795898...
embed
67683591_c0
67683591
elixir
0
Title: How to overwrite only explicitly specified keys, as a part of a map, in a config? Problem title: How to overwrite only explicitly specified keys, as a part of a map, in a config? Tags: elixir, phoenix-framework Problem: How to overwrite only explicitly specified keys, as a part of a map, in a config? In config/c...
How to overwrite only explicitly specified keys, as a part of a map, in a config? How to overwrite only explicitly specified keys, as a part of a map, in a config? elixir phoenix-framework How my_app my_key key1 default-key1 key2 default-key2 key3 default-key3 key1-dev-value key1-prod-value dev.exs prod.exs How to over...
[ -0.01416015625, -0.00408935546875, 0.00069427490234375, -0.0269775390625, -0.00152587890625, -0.01312255859375, 0.00054931640625, -0.0186767578125, 0.0228271484375, 0.0291748046875, -0.0213623046875, 0.0291748046875, 0.023193359375, 0.0244140625, 0.02783203125, -0.0021820068359375, -...
[ 11249, 645, 434, 18781, 4734, 143726, 58735, 297, 22799, 7, 2831, 22288, 23, 153837, 237, 15296, 38308, 53073, 33, 4084, 160328, 18244, 759, 9007, 19770, 418, 114977, 304, 363, 18548, 27494, 112348, 33245, 3355, 502, 71, 3444, 756, 47143, ...
[ 0.06268310546875, 0.1710205078125, 0.177734375, 0.172607421875, 0.1234130859375, 0.1688232421875, 0.2039794921875, 0.0455322265625, 0.2176513671875, 0.08349609375, 0.0693359375, 0.1326904296875, 0.0192108154296875, 0.2213134765625, 0.041900634765625, 0.031890869140625, 0.159912109375...
embed
40766789_c0
40766789
elixir
0
Title: How Can I Use Kitto (/Dashing) With A Standard React Fetch API? Problem title: How Can I Use Kitto (/Dashing) With A Standard React Fetch API? Tags: reactjs, dashboard, elixir Problem: How Can I Use Kitto (/Dashing) With A Standard React Fetch API? The Short Story: How does Elixir/Kitto link its Ruby syntax with...
How Can I Use Kitto (/Dashing) With A Standard React Fetch API? How Can I Use Kitto (/Dashing) With A Standard React Fetch API? reactjs dashboard elixir How Can Use Kitto Dashing Standard React Fetch API How Can I Use Kitto (/Dashing) With A Standard React Fetch API? The Short Story: How does Elixir/Kitto link its Ruby...
[ 0.005279541015625, 0.0135498046875, 0.0086669921875, -0.01806640625, 0.01129150390625, -0.0137939453125, -0.002838134765625, 0.0023651123046875, -0.007598876953125, -0.00616455078125, 0.000051021575927734375, -0.025146484375, -0.0111083984375, -0.0133056640625, 0.00982666015625, -0.012...
[ 11249, 4171, 87, 36836, 23564, 188, 64, 11866, 54700, 17106, 20744, 853, 47013, 92962, 206, 61687, 16, 131300, 28175, 239721, 15296, 38308, 930, 15, 62, 82990, 30575, 14602, 25318, 605, 44144, 3126, 158189, 6002, 86531, 678, 63920, 32, 1657...
[ 0.098876953125, 0.0947265625, 0.022613525390625, 0.1881103515625, 0.2269287109375, 0.30712890625, 0.03790283203125, 0.135498046875, 0.252685546875, 0.10546875, 0.203125, 0.1082763671875, 0.2392578125, 0.1961669921875, 0.1453857421875, 0.19677734375, 0.000244140625, 0.1917724609375,...
embed
74174990_c0
74174990
elixir
0
Title: How to switch `elixir-ls` vscode plugin-in version for the same as local `erlang`, `elixir` verison to avoid `nif` bad lib problem? Problem title: How to switch `elixir-ls` vscode plugin-in version for the same as local `erlang`, `elixir` verison to avoid `nif` bad lib problem? Tags: elixirls, elixir Problem: Ho...
How to switch `elixir-ls` vscode plugin-in version for the same as local `erlang`, `elixir` verison to avoid `nif` bad lib problem? How to switch `elixir-ls` vscode plugin-in version for the same as local `erlang`, `elixir` verison to avoid `nif` bad lib problem? elixirls elixir the How otp-24 ElixirLS Elixir NIF Users...
[ -0.022216796875, -0.000476837158203125, -0.004119873046875, 0.01397705078125, 0.00157928466796875, -0.0087890625, -0.039306640625, 0.00640869140625, -0.001220703125, 0.003936767578125, 0.006195068359375, -0.0035247802734375, 0.0235595703125, 0.0166015625, 0.012939453125, -0.00711059570...
[ 11249, 101089, 6169, 38308, 9, 8080, 20209, 40899, 69993, 73, 11389, 5701, 4000, 56, 3066, 493, 40514, 71864, 93, 420, 6494, 25474, 2967, 15296, 36, 18, 254, 33503, 25318, 19759, 541, 29836, 53400, 43101, 27331, 75298, 304, 177149, 72367, ...
[ 0.07769775390625, 0.2327880859375, 0.120361328125, 0.277587890625, 0.0732421875, 0.2274169921875, 0.18603515625, 0.268310546875, 0.2269287109375, 0.1549072265625, 0.182373046875, 0.09259033203125, 0.09906005859375, 0.06243896484375, 0.2200927734375, 0.1004638671875, 0.1190185546875, ...
embed
39155592_c3
39155592
elixir
3
LCJpYXQiOjE0NzIxNjIzNTYsImlzcyI6IkNhbGx5YWNvcmUiLCJqdGkiOiI4OTQ3ZGVmNS1lYzNlLTQ2ZTEtODY2ZC0yYTFlOWUxNmZkMWYiLCJwZW0iOnt9LCJzdWIiOiJVc2VyOjk2OTAwIiwidHlwIjoidG9rZW4ifQ.BTYn7wjPlosztNmy3DKeRExzwBOiUG_ZLBJqUzUinDIpEl0xvUnb3EzYM7VaBpIT__JtVfZ0t7XET9D0LK0eMg, updated_at, schema.ex:397, Ecto.Repo.Schema.apply, schema.ex:341,...
LCJpYXQiOjE0NzIxNjIzNTYsImlzcyI6IkNhbGx5YWNvcmUiLCJqdGkiOiI4OTQ3ZGVmNS1lYzNlLTQ2ZTEtODY2ZC0yYTFlOWUxNmZkMWYiLCJwZW0iOnt9LCJzdWIiOiJVc2VyOjk2OTAwIiwidHlwIjoidG9rZW4ifQ.BTYn7wjPlosztNmy3DKeRExzwBOiUG_ZLBJqUzUinDIpEl0xvUnb3EzYM7VaBpIT__JtVfZ0t7XET9D0LK0eMg, updated_at, schema.ex:397, Ecto.Repo.Schema.apply, schema.ex:341,...
[ -0.0223388671875, 0.028076171875, 0.01171875, -0.0186767578125, 0.00201416015625, 0.0023040771484375, -0.00823974609375, 0.00531005859375, -0.0027008056640625, -0.033447265625, -0.00008535385131835938, 0.01531982421875, -0.0306396484375, -0.0016937255859375, -0.0078125, 0.01904296875, ...
[ 26943, 1375, 1723, 14, 670, 170, 647, 839, 568, 27143, 7, 169, 2408, 910, 72869, 724, 425, 758, 334, 3931, 1062, 864, 71, 301, 617, 23973, 2737, 363, 1511, 75166, 39, 418, 141, 27026, 304, 8241, 18, 181668, 441, 2389, 53, 43035, 919...
[ 0.07275390625, 0.040374755859375, 0.025482177734375, 0.01708984375, 0.01666259765625, 0.016815185546875, 0.0156707763671875, 0.016815185546875, 0.016754150390625, 0.0635986328125, 0.0161895751953125, 0.01617431640625, 0.0150299072265625, 0.0152740478515625, 0.02288818359375, 0.01647949...
embed
59535671_c0
59535671
elixir
0
Title: Elixir&#x27;s mix format ignores line length option in umbrella project Problem title: Elixir&#x27;s mix format ignores line length option in umbrella project Tags: code-formatting, elixir Problem: Elixir's mix format ignores line length option in umbrella project I have an Elixir project .formatter.exs file in ...
Elixir&#x27;s mix format ignores line length option in umbrella project Elixir&#x27;s mix format ignores line length option in umbrella project code-formatting elixir Elixir formatter.exs line_length mix.exs SomeModule lookup_data parameter1 parameter2 is_integer not_implemented Elixir's mix format ignores line length ...
[ -0.01806640625, 0.01312255859375, -0.00006079673767089844, -0.003021240234375, -0.00112152099609375, -0.0218505859375, 0.02490234375, 0.008544921875, 0.01422119140625, 0.01397705078125, -0.00872802734375, -0.0128173828125, 0.0072021484375, 0.01361083984375, 0.0120849609375, -0.00043106...
[ 25318, 38308, 3768, 17664, 9384, 124962, 13315, 140909, 35829, 286, 4134, 1165, 13452, 18151, 51727, 15296, 1483, 3055, 3355, 7, 23986, 91616, 8782, 6713, 10135, 171859, 6191, 959, 197648, 720, 11435, 4027, 74855, 33342, 927, 4989, 525, 30669...
[ 0.1072998046875, 0.247314453125, 0.044342041015625, 0.23486328125, 0.2213134765625, 0.150146484375, 0.1778564453125, 0.1280517578125, 0.1578369140625, 0.06134033203125, 0.1597900390625, 0.1312255859375, 0.1170654296875, 0.11962890625, 0.1749267578125, 0.046478271484375, 0.14208984375...
embed
42623947_c1
42623947
elixir
1
assert File.exists?(path) assert File.exists?(path2) # [path, path2] should be passed on to cleanup end defp cleanup(context) do Enum.each(context[:dirs], fn(x) -> File.rmdir(x) end) end end defmodule SimpleModule do def mkdir(path) do File.mkdir(path) end end Possible solutions? I now want to add a call to cleanup/1 ...
assert File.exists?(path) assert File.exists?(path2) # [path, path2] should be passed on to cleanup end defp cleanup(context) do Enum.each(context[:dirs], fn(x) -> File.rmdir(x) end) end end defmodule SimpleModule do def mkdir(path) do File.mkdir(path) end end Possible solutions? I now want to add a call to cleanup/1 ...
[ -0.0133056640625, 0.00160980224609375, 0.00433349609375, 0.023193359375, 0.0062255859375, 0.0029754638671875, 0.00994873046875, -0.019287109375, 0.01611328125, 0.003082275390625, -0.01312255859375, 0.03662109375, -0.004852294921875, 0.05859375, 0.017822265625, 0.002838134765625, -0.0...
[ 237, 33657, 42724, 54376, 7, 32, 128405, 10461, 60875, 90173, 5608, 115081, 98, 47, 46622, 2037, 3564, 8, 420, 254, 2271, 22829, 357, 316, 41581, 936, 14783, 83279, 60552, 91616, 8782, 51347, 15190, 11782, 11583, 678, 5303, 14364, 154109, ...
[ 0.044403076171875, 0.2230224609375, 0.2109375, 0.257080078125, 0.1688232421875, 0.034210205078125, 0.1611328125, 0.1463623046875, 0.06988525390625, 0.0888671875, 0.035736083984375, 0.117919921875, 0.1085205078125, 0.037261962890625, 0.183349609375, 0.1563720703125, 0.1285400390625, ...
embed
54184561_c0
54184561
elixir
0
Title: Code.LoadError on import_config &quot;#{Mix.env}.exs&quot; Problem title: Code.LoadError on import_config &quot;#{Mix.env}.exs&quot; Tags: elixir, elixir-mix Problem: Code.LoadError on import_config "#{Mix.env}.exs" I put import this on the config.exs file: use Mix.Config import_config "#{Mix.env}.exs" or import...
Code.LoadError on import_config &quot;#{Mix.env}.exs&quot; Code.LoadError on import_config &quot;#{Mix.env}.exs&quot; elixir elixir-mix Code.LoadError import_config Mix.env config.exs Mix.Config Users test.exs code.ex:1147 Code.find_file code.ex:706 Code.eval_file config.ex:187 Mix.Config.__import__ enum.ex:1925 Enum c...
[ -0.0031890869140625, 0.01214599609375, -0.009765625, 0.00982666015625, -0.0064697265625, -0.0093994140625, -0.00677490234375, -0.0118408203125, 0.0017547607421875, -0.0172119140625, -0.0228271484375, -0.014892578125, -0.00112152099609375, -0.005706787109375, 0.02490234375, 0.0047302246...
[ 28864, 15363, 712, 18468, 31611, 98, 24927, 153837, 594, 4084, 33, 334, 3355, 7, 15296, 38308, 62015, 37286, 83671, 53400, 3034, 18151, 13330, 111607, 29822, 1405, 140566, 60270, 316, 2588, 910, 91092, 9007, 98989, 91693, 3884, 903, 11435, ...
[ 0.1712646484375, 0.1295166015625, 0.049072265625, 0.146240234375, 0.105712890625, 0.0194549560546875, 0.227294921875, 0.21533203125, 0.0941162109375, 0.2137451171875, 0.08203125, 0.1588134765625, 0.1240234375, 0.07928466796875, 0.07421875, 0.2047119140625, 0.2357177734375, 0.243530...
embed