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
36008665_c0
36008665
elixir
0
Title: Configure multiple repos in Elixir app Problem title: Configure multiple repos in Elixir app Tags: erlang-supervisor, elixir, ecto Problem: Configure multiple repos in Elixir app I am trying to configure two repos in my Elixir app using Ecto . I need help to configure them so they are both supervised independent...
Configure multiple repos in Elixir app Configure multiple repos in Elixir app erlang-supervisor elixir ecto ArgumentError Supervisor.Spec Configure Elixir tds_ecto MyApp _type _args MyApp.Repo-A Task MyAppModule MyApp.Repo-B See elixir-lang.org Supervisor.html one_for_one MyApp.Supervisor Supervisor.start_link Repo-A E...
[ 0.002777099609375, 0.005889892578125, -0.01068115234375, 0.0205078125, -0.000396728515625, 0.00439453125, 0.005218505859375, -0.000560760498046875, 0.00897216796875, -0.005126953125, 0.0045166015625, -0.0062255859375, 0.0302734375, 0.02490234375, 0.00927734375, -0.009033203125, -0.00...
[ 1657, 59994, 48716, 64722, 25318, 38308, 4027, 23, 3066, 59104, 51858, 15296, 60751, 112140, 18468, 4265, 47107, 6468, 2646, 39179, 50986, 61477, 4332, 771, 284, 9598, 91616, 571, 3630, 73903, 17137, 10187, 853, 241, 44150, 9007, 37286, 29426...
[ 0.01361083984375, 0.168701171875, 0.227783203125, 0.270751953125, 0.11376953125, 0.2427978515625, 0.1722412109375, 0.0355224609375, 0.1500244140625, 0.0947265625, 0.188720703125, 0.0634765625, 0.1893310546875, 0.13427734375, 0.0360107421875, 0.10345458984375, 0.119873046875, 0.0424...
embed
37690530_c0
37690530
elixir
0
Title: Cannot get current user with guardian Problem title: Cannot get current user with guardian Tags: phoenix-framework, elixir Problem: Cannot get current user with guardian I'm using Guardian and trying to use Canary however, I can't seem to fetch the current user, canary needs the current_user in conn.assigns, I'v...
Cannot get current user with guardian Cannot get current user with guardian phoenix-framework elixir Cannot Guardian.Plug.authenticated Guardian.Plug.current_resource private_api Guardian.Plug.LoadResource Guardian.Plug.VerifyHeader Guardian.Plug.EnsureAuthenticated SessionController MyApp.Plug.CurrentUser _opts curren...
[ -0.02099609375, 0.00726318359375, 0.01177978515625, -0.0166015625, 0.00555419921875, -0.01220703125, 0.000629425048828125, -0.01141357421875, -0.0072021484375, -0.06884765625, 0.00958251953125, 0.018798828125, -0.020751953125, 0.004638671875, -0.01251220703125, 0.004180908203125, -0....
[ 4171, 10869, 2046, 43581, 38937, 678, 158031, 19, 53073, 33, 4084, 160328, 18244, 15296, 38308, 81589, 35159, 916, 92733, 7636, 163812, 107, 60427, 14375, 40897, 15896, 13025, 3674, 148735, 175904, 2646, 39179, 474, 1062, 2146, 933, 65918, 19...
[ 0.145751953125, 0.154052734375, 0.167724609375, 0.2724609375, 0.28076171875, 0.1676025390625, 0.2607421875, 0.18603515625, 0.07098388671875, 0.08380126953125, 0.1505126953125, 0.116943359375, 0.039947509765625, 0.09771728515625, 0.2081298828125, 0.31201171875, 0.1632080078125, 0.01...
embed
45239719_c0
45239719
elixir
0
Title: Phoenix Live Reload working intermittently Problem title: Phoenix Live Reload working intermittently Tags: livereload, spacemacs, phoenix-framework, emacs, elixir Problem: Phoenix Live Reload working intermittently I'm trying to figure out why Phoenix live reload works "most of the time" but not always. My confi...
Phoenix Live Reload working intermittently Phoenix Live Reload working intermittently livereload spacemacs phoenix-framework emacs elixir Phoenix Live Reload config.exs Watch bespoke_work BespokeWork.Web.Endpoint live_reload html.eex index.html.eex menu.html.eex index.html app.html.eex phx.digest Phoenix Live Reload wo...
[ -0.00025177001953125, 0.01300048828125, 0.004608154296875, -0.0208740234375, -0.01519775390625, 0.01361083984375, -0.0311279296875, 0.00799560546875, 0.007171630859375, -0.0303955078125, 0.00653076171875, -0.002227783203125, -0.004791259765625, 0.0037384033203125, 0.0211181640625, 0.01...
[ 133720, 9251, 853, 63033, 20697, 1940, 116119, 6867, 107, 32628, 35572, 33, 4084, 160328, 2263, 15296, 38308, 153837, 3355, 20413, 11955, 18244, 108259, 30474, 152378, 38496, 7693, 63262, 8026, 4027, 11521, 425, 4803, 26366, 15400, 456, 43240, ...
[ 0.253173828125, 0.1962890625, 0.09625244140625, 0.2418212890625, 0.1180419921875, 0.102294921875, 0.1737060546875, 0.190673828125, 0.04925537109375, 0.0250701904296875, 0.09259033203125, 0.0163421630859375, 0.034423828125, 0.03253173828125, 0.04620361328125, 0.006866455078125, 0.1458...
embed
53327071_c0
53327071
elixir
0
Title: handle_info :DOWN is not called after monitored process dies Problem title: handle_info :DOWN is not called after monitored process dies Tags: monitor, elixir, process Problem: handle_info :DOWN is not called after monitored process dies I am having an issue with Process.monitor/1 . My initial use case was to mo...
handle_info :DOWN is not called after monitored process dies handle_info :DOWN is not called after monitored process dies monitor elixir process Logger handle_info DOWN Process.monitor GenServer Temp.Server start_link GenServer.start_link __MODULE__ Temp.Monitor.monitor Temp.Monitor Logger.info Server Temp.Server.start...
[ -0.005340576171875, 0.0284423828125, 0.006591796875, 0.0233154296875, -0.0194091796875, -0.0101318359375, -0.0084228515625, -0.01104736328125, -0.007171630859375, -0.01806640625, 0.0020294189453125, 0.00860595703125, 0.0152587890625, 0.03955078125, 0.020751953125, 0.0155029296875, 0....
[ 34831, 7319, 13223, 108049, 959, 35839, 7103, 12983, 297, 9433, 14792, 454, 15296, 38308, 64906, 56, 6197, 123996, 167277, 15937, 193348, 37446, 4034, 10187, 17137, 46674, 22687, 7146, 23399, 49570, 31089, 5, 11583, 4527, 7225, 133720, 55969, ...
[ 0.250732421875, 0.25537109375, 0.191162109375, 0.25830078125, 0.09893798828125, 0.1627197265625, 0.1304931640625, 0.230224609375, 0.05706787109375, 0.1676025390625, 0.1878662109375, 0.02947998046875, 0.04345703125, 0.1636962890625, 0.1171875, 0.0156097412109375, 0.10357666015625, 0...
embed
27596489_c0
27596489
elixir
0
Title: Elixir / Elixir-mongo collection find breaks on Enum.to_list Problem title: Elixir / Elixir-mongo collection find breaks on Enum.to_list Tags: elixir, mongodb Problem: Elixir / Elixir-mongo collection find breaks on Enum.to_list This is my first go around with elixir, and I'm trying to make a simple web scraper ...
Elixir / Elixir-mongo collection find breaks on Enum.to_list Elixir / Elixir-mongo collection find breaks on Enum.to_list elixir mongodb ArgumentError Elixir Elixir-mongo Enum.to_list Mix Could JB.start EXIT enum.ex:1266 Enum.reduce enum.ex:1798 scraper.ex:8 JB.Scraper.scrape jobboard.ex:26 application_master.erl:272 a...
[ 0.004974365234375, 0.003021240234375, -0.0089111328125, -0.0036163330078125, -0.0177001953125, 0.0069580078125, -0.013671875, -0.007232666015625, -0.007232666015625, -0.037841796875, 0.01129150390625, 0.0106201171875, 0.0205078125, -0.002899169921875, 0.037841796875, -0.0093994140625, ...
[ 25318, 38308, 248, 39, 31525, 42486, 7413, 36356, 357, 316, 188, 6562, 15296, 2667, 7803, 275, 112140, 18468, 9, 37286, 191147, 821, 571, 17137, 29426, 6371, 22, 3355, 20927, 14604, 107, 106357, 22950, 16665, 120948, 56, 1019, 15182, 12447,...
[ 0.103271484375, 0.251220703125, 0.031402587890625, 0.04925537109375, 0.242919921875, 0.1964111328125, 0.138671875, 0.2093505859375, 0.1080322265625, 0.202880859375, 0.1884765625, 0.174560546875, 0.06903076171875, 0.08099365234375, 0.0584716796875, 0.0970458984375, 0.1953125, 0.0924...
embed
37634530_c0
37634530
elixir
0
Title: Elixir anonymous functions, captures, and partial applications Problem title: Elixir anonymous functions, captures, and partial applications Tags: elixir Problem: Elixir anonymous functions, captures, and partial applications I'm learning Elixir and I'm currently dealing with the semantics of captures and partia...
Elixir anonymous functions, captures, and partial applications Elixir anonymous functions, captures, and partial applications elixir Elixir erl_eval.expr is_function String.upcase Elixir anonymous functions, captures, and partial applications I'm learning Elixir and I'm currently dealing with the semantics of captures ...
[ -0.0025787353515625, -0.004791259765625, 0.0004062652587890625, 0.0211181640625, 0.00031280517578125, -0.00118255615234375, 0.0223388671875, -0.0128173828125, 0.002655029296875, 0.00653076171875, 0.0038299560546875, 0.0032501220703125, 0.005950927734375, 0.01263427734375, 0.0125122070312...
[ 25318, 38308, 52184, 10821, 32354, 141621, 2878, 86685, 15296, 72, 141, 13, 1405, 83613, 42, 83, 137175, 23351, 214, 2037, 58437, 52080, 484, 109109, 38415, 16031, 14783, 425, 103607, 1022, 997, 106, 3564, 6002, 86531, 156672, 16916, 212615, ...
[ 0.1119384765625, 0.22412109375, 0.191650390625, 0.04949951171875, 0.19287109375, 0.1368408203125, 0.0709228515625, 0.1094970703125, 0.04156494140625, 0.00250244140625, 0.049346923828125, 0.009429931640625, 0.206298828125, 0.055511474609375, 0.043914794921875, 0.0885009765625, 0.18176...
embed
42094980_c0
42094980
elixir
0
Title: WHERE clause with Timex.Duration in Elixir / Ecto Problem title: WHERE clause with Timex.Duration in Elixir / Ecto Tags: phoenix-framework, ecto, elixir Problem: WHERE clause with Timex.Duration in Elixir / Ecto I'm pretty new (a.k.a. noob) about Elixir and Phoenix. I'm learning elixir and Phoenix by creating AP...
WHERE clause with Timex.Duration in Elixir / Ecto WHERE clause with Timex.Duration in Elixir / Ecto phoenix-framework ecto elixir Ecto.Query.CompileError a WHERE Timex.Duration Elixir Ecto find_users_randomly user_id a.id is_nil a.last_time_get_msg_at or_where Timex.Duration.diff Duration.now order_by last_login_at Com...
[ -0.00836181640625, -0.000766754150390625, 0.010986328125, -0.0130615234375, 0.000492095947265625, -0.00897216796875, -0.0142822265625, 0.00848388671875, -0.0020904541015625, -0.07177734375, 0.0002651214599609375, 0.003753662109375, 0.004913330078125, -0.0026092529296875, -0.0029296875, ...
[ 601, 841, 30096, 70731, 13, 678, 19055, 425, 17726, 30494, 25318, 38308, 241, 44150, 23, 53073, 33, 4084, 160328, 18244, 60751, 15296, 41732, 1294, 108161, 1340, 18468, 31611, 7413, 223, 46258, 38937, 17324, 19777, 6032, 4432, 136913, 152462,...
[ 0.07232666015625, 0.18408203125, 0.2205810546875, 0.2188720703125, 0.0780029296875, 0.1146240234375, 0.22412109375, 0.1910400390625, 0.1451416015625, 0.1378173828125, 0.119873046875, 0.23046875, 0.078857421875, 0.2469482421875, 0.0411376953125, 0.03704833984375, 0.05657958984375, 0...
embed
68357161_c0
68357161
elixir
0
Title: Passing an env. variable dynamically to Application module, at runtime? Problem title: Passing an env. variable dynamically to Application module, at runtime? Tags: ecto, elixir, gen-server, erlang-otp Problem: Passing an env. variable dynamically to Application module, at runtime? In my opt application I have s...
Passing an env. variable dynamically to Application module, at runtime? Passing an env. variable dynamically to Application module, at runtime? ecto elixir gen-server erlang-otp Passing Application MyApp.Application _type _args Phoenix.PubSub MyApp.PubSub Phoenix.PubSub.PG2 MyAppLib.Repo MyAppWeb.Endpoint MyAppLib.Cach...
[ 0.007080078125, 0.005462646484375, -0.00173187255859375, -0.003021240234375, -0.01080322265625, -0.0021820068359375, -0.01348876953125, -0.0206298828125, 0.005157470703125, -0.0233154296875, 0.004364013671875, 0.0159912109375, 0.0255126953125, 0.00927734375, -0.00885009765625, 0.025390...
[ 28872, 214, 22, 334, 5, 77336, 84079, 25958, 47, 104921, 88996, 99, 11675, 6032, 60751, 15296, 38308, 9226, 39642, 72, 3066, 818, 254, 2646, 39179, 47677, 182867, 50986, 61477, 133720, 143145, 96472, 104820, 771, 15937, 193348, 108259, 4265, ...
[ 0.1295166015625, 0.01251220703125, 0.07958984375, 0.218994140625, 0.04962158203125, 0.264404296875, 0.1947021484375, 0.09600830078125, 0.0982666015625, 0.2186279296875, 0.1990966796875, 0.05133056640625, 0.1224365234375, 0.1651611328125, 0.1756591796875, 0.0281524658203125, 0.1708984...
embed
66617825_c0
66617825
elixir
0
Title: no function clause matching in Ecto.Multi.run/3 Problem title: no function clause matching in Ecto.Multi.run/3 Tags: ecto, elixir Problem: no function clause matching in Ecto.Multi.run/3 Following this tutorial https://curiosum.dev/blog/elixir-ecto-database-transactions alias Ecto.Multi alias ElixirRest.Account ...
no function clause matching in Ecto.Multi.run/3 no function clause matching in Ecto.Multi.run/3 ecto elixir FunctionClauseError Ecto.Query Logger Ecto.Multi.run Ecto.Multi ElixirRest.Account transfer_money acc1_id acc2_id Multi.new Multi.run retrieve_accounts_step retrieve_accounts verify_balances_step verify_balances ...
[ -0.00677490234375, 0.01129150390625, 0.0030517578125, -0.00445556640625, -0.0064697265625, 0.017822265625, -0.026611328125, -0.005401611328125, 0.001922607421875, -0.01007080078125, 0.0159912109375, 0.0146484375, -0.015625, 0.0111083984375, 0.0147705078125, -0.0084228515625, -0.00466...
[ 110, 32354, 70731, 13, 14858, 214, 241, 44150, 50657, 118, 16428, 18113, 60751, 15296, 38308, 28670, 26253, 18468, 31611, 41732, 64906, 25318, 1052, 525, 71013, 12302, 43260, 50015, 19335, 213499, 95528, 3996, 493, 173212, 39989, 61417, 93392, ...
[ 0.106689453125, 0.2056884765625, 0.2127685546875, 0.09515380859375, 0.1976318359375, 0.045623779296875, 0.068115234375, 0.2421875, 0.1324462890625, 0.117431640625, 0.15380859375, 0.1771240234375, 0.2113037109375, 0.0885009765625, 0.1964111328125, 0.1151123046875, 0.123291015625, 0....
embed
66449164_c0
66449164
elixir
0
Title: Installing Ejabberd module does not start underlying dependencies Problem title: Installing Ejabberd module does not start underlying dependencies Tags: ejabberd, elixir Problem: Installing Ejabberd module does not start underlying dependencies I am attempting to run a custom elixir plugin in Ejabberd to send an...
Installing Ejabberd module does not start underlying dependencies Installing Ejabberd module does not start underlying dependencies ejabberd elixir Installing Ejabberd module_install plugin_name PluginName.Mixfile Mix.Project build_embedded Mix.env start_permanent test_coverage ExCoveralls preferred_cli_env coveralls.d...
[ 0.01123046875, 0.0191650390625, -0.0101318359375, 0.0140380859375, -0.0019989013671875, 0.0179443359375, 0.0020751953125, -0.0185546875, 0.0048828125, 0.01220703125, 0.004058837890625, -0.01275634765625, -0.00897216796875, 0.0272216796875, 0.0086669921875, 0.007568359375, -0.01416015...
[ 107951, 241, 145, 102459, 71, 88996, 959, 4034, 1379, 538, 42548, 117538, 28, 15296, 38308, 80383, 69993, 11627, 187364, 163612, 594, 4084, 29822, 37286, 223353, 45367, 55720, 334, 669, 3034, 63127, 5443, 5465, 5584, 12601, 150, 29256, 119514...
[ 0.1583251953125, 0.1064453125, 0.1663818359375, 0.243408203125, 0.170166015625, 0.196044921875, 0.0985107421875, 0.134765625, 0.1455078125, 0.129150390625, 0.19921875, 0.080322265625, 0.0574951171875, 0.09381103515625, 0.218994140625, 0.098388671875, 0.1890869140625, 0.052734375, ...
embed
75557724_c0
75557724
elixir
0
Title: Kernel pid terminated error in application_controller after upgrading and dockerizing Elixir/Phoenix application Problem title: Kernel pid terminated error in application_controller after upgrading and dockerizing Elixir/Phoenix application Tags: phoenix-framework, elixir, docker Problem: Kernel pid terminated e...
Kernel pid terminated error in application_controller after upgrading and dockerizing Elixir/Phoenix application Kernel pid terminated error in application_controller after upgrading and dockerizing Elixir/Phoenix application phoenix-framework elixir docker config/runtime.exs Logger flow Kernel application_controller E...
[ -0.003173828125, 0.0108642578125, 0.004150390625, 0.00933837890625, 0.0037689208984375, -0.0045166015625, -0.01043701171875, -0.00885009765625, -0.0166015625, -0.01458740234375, 0.01141357421875, 0.01324462890625, 0.021728515625, 0.009765625, 0.0120849609375, 0.00872802734375, -0.001...
[ 119125, 583, 45226, 121011, 297, 18499, 38415, 81988, 603, 7103, 1257, 8961, 136, 54, 11050, 84382, 25318, 38308, 497, 33, 4084, 23, 53073, 160328, 15296, 153837, 6032, 3355, 64906, 86608, 133720, 11521, 425, 39642, 276, 21487, 11572, 856, ...
[ 0.21044921875, 0.1121826171875, 0.275390625, 0.248779296875, 0.06085205078125, 0.231689453125, 0.1533203125, 0.195556640625, 0.134765625, 0.1131591796875, 0.107177734375, 0.1875, 0.026031494140625, 0.090087890625, 0.1732177734375, 0.11083984375, 0.096923828125, 0.2247314453125, 0...
embed
34892313_c0
34892313
elixir
0
Title: Using helper functions in Elixir macros Problem title: Using helper functions in Elixir macros Tags: elixir, macros, metaprogramming Problem: Using helper functions in Elixir macros Continuing the Binding and unquote fragments example from the Elixir documentation... We have a macro that defines functions based ...
Using helper functions in Elixir macros Using helper functions in Elixir macros elixir macros metaprogramming MacroFun Using Elixir bind_quoted Enum.each Runner MacroFun.defkv Runner.foo _defkv def_modified_kv modified_kv Enum.map _devkv MacroFun._defkv Code.eval_quoted __ENV__ Using helper functions in Elixir macros C...
[ -0.0026092529296875, 0.01336669921875, 0.0164794921875, -0.019775390625, 0.00933837890625, -0.00701904296875, -0.002288818359375, -0.026611328125, 0.0166015625, -0.00159454345703125, -0.01953125, -0.0126953125, 0.01318359375, 0.01055908203125, 0.0179443359375, -0.01171875, -0.0341796...
[ 345, 4358, 56, 32354, 25318, 38308, 111789, 15296, 23550, 28966, 4727, 516, 97249, 68557, 68726, 357, 316, 41581, 208545, 112, 420, 49706, 3584, 13415, 47314, 73197, 62346, 18548, 28864, 1405, 11572, 856, 100761, 1843, 33770, 51, 38551, 27781...
[ 0.0955810546875, 0.243896484375, 0.2091064453125, 0.2293701171875, 0.1295166015625, 0.27392578125, 0.2130126953125, 0.023223876953125, 0.0845947265625, 0.0863037109375, 0.05108642578125, 0.1004638671875, 0.2003173828125, 0.142578125, 0.1923828125, 0.03350830078125, 0.1463623046875, ...
embed
69650976_c0
69650976
elixir
0
Title: Elixir-Phoenix: mix ecto.create and mix phx.server provoke same error but contain different postgres db parameters Problem title: Elixir-Phoenix: mix ecto.create and mix phx.server provoke same error but contain different postgres db parameters Tags: elixir, postgresql, phoenix-framework, ecto Problem: Elixir-Ph...
Elixir-Phoenix: mix ecto.create and mix phx.server provoke same error but contain different postgres db parameters Elixir-Phoenix: mix ecto.create and mix phx.server provoke same error but contain different postgres db parameters elixir postgresql phoenix-framework ecto Postgrex.Error Elixir-Phoenix ecto.create phx.ser...
[ 0.021484375, 0.0174560546875, 0.00128936767578125, 0.00518798828125, 0.01409912109375, 0.00145721435546875, -0.015869140625, -0.000530242919921875, 0.005706787109375, -0.01336669921875, 0.00604248046875, -0.0194091796875, 0.03759765625, 0.0023193359375, -0.00146484375, 0.006103515625, ...
[ 25318, 38308, 683, 497, 33, 4084, 17664, 60751, 7612, 2182, 11521, 425, 39642, 80675, 5701, 18499, 70541, 12921, 1305, 17562, 40041, 171859, 9, 136, 15296, 99247, 53073, 160328, 2795, 7134, 18468, 15937, 193348, 436, 7146, 15491, 30487, 56649...
[ 0.0960693359375, 0.2393798828125, 0.020660400390625, 0.045196533203125, 0.1153564453125, 0.140380859375, 0.267822265625, 0.256103515625, 0.172119140625, 0.1064453125, 0.126708984375, 0.14794921875, 0.174560546875, 0.1739501953125, 0.0526123046875, 0.1656494140625, 0.07403564453125, ...
embed
38316127_c0
38316127
elixir
0
Title: How to exclude nested model in Ecto Poison encoding Problem title: How to exclude nested model in Ecto Poison encoding Tags: elixir-poison, ecto, elixir Problem: How to exclude nested model in Ecto Poison encoding I have a simple model (short version) : defmodule MyApp.User do use Ecto.Model @derive {Poison.Enco...
How to exclude nested model in Ecto Poison encoding How to exclude nested model in Ecto Poison encoding elixir-poison ecto elixir How Ecto Poison MyApp.User Ecto.Model Poison.Encoder belongs_to MyApp.Company MyApp.GuardianSerializer Guardian.Serializer MyApp.Repo for_token User user.id Unknown from_token Repo.get How t...
[ -0.0103759765625, -0.0003566741943359375, -0.0118408203125, -0.00006866455078125, -0.01312255859375, -0.00555419921875, 0.0089111328125, 0.0019378662109375, 0.00897216796875, -0.0458984375, -0.002716064453125, 0.00213623046875, 0.00946044921875, 0.0240478515625, 0.001373291015625, -0.0...
[ 11249, 39041, 112, 8512, 71, 3299, 241, 44150, 64249, 191, 22, 587, 6238, 15296, 38308, 120178, 60751, 2646, 39179, 1062, 2189, 140290, 7768, 820, 10617, 108161, 198156, 51626, 52825, 81589, 4332, 771, 100, 6448, 53400, 38937, 532, 69723, 1...
[ 0.028839111328125, 0.2154541015625, 0.08197021484375, 0.252197265625, 0.1488037109375, 0.258544921875, 0.0843505859375, 0.2685546875, 0.2257080078125, 0.147705078125, 0.06695556640625, 0.163330078125, 0.007049560546875, 0.05194091796875, 0.19189453125, 0.191650390625, 0.1925048828125...
embed
57284969_c1
57284969
elixir
1
interval, t_agent) do t_do_loop(starting, ending, interval, t_agent) end defp t_do_loop(starting, ending, _interval, _t_agent) when starting >= ending, do: :noop defp t_do_loop(starting, ending, interval, t_agent) do Agent.update(t_agent, fn list -> ["true" | list] end) t_do_loop(starting + interval, ending, interval,...
interval, t_agent) do t_do_loop(starting, ending, interval, t_agent) end defp t_do_loop(starting, ending, _interval, _t_agent) when starting >= ending, do: :noop defp t_do_loop(starting, ending, interval, t_agent) do Agent.update(t_agent, fn list -> ["true" | list] end) t_do_loop(starting + interval, ending, interval,...
[ 0.000896453857421875, 0.0048828125, 0.0036468505859375, 0.032470703125, -0.0186767578125, 0.01226806640625, -0.01025390625, 0.006622314453125, 0.00958251953125, -0.03271484375, -0.007476806640625, 0.0191650390625, 0.01092529296875, 0.029052734375, 0.017333984375, -0.003570556640625, ...
[ 51514, 808, 83963, 54, 246, 28354, 17137, 214, 86658, 16, 3564, 8, 420, 254, 10433, 1405, 18, 3229, 72134, 977, 157, 2146, 54603, 117008, 4, 6, 14783, 5303, 9774, 13, 58, 268, 997, 7026, 132, 124999, 454, 3355, 532, 107, 7162, 1290, ...
[ 0.29541015625, 0.1123046875, 0.2474365234375, 0.042633056640625, 0.1546630859375, 0.22265625, 0.1162109375, 0.0716552734375, 0.1539306640625, 0.012298583984375, 0.1114501953125, 0.08135986328125, 0.0716552734375, 0.06976318359375, 0.130615234375, 0.191162109375, 0.0625, 0.002593994...
embed
50816115_c0
50816115
elixir
0
Title: elixir-phoenix app keep exiting itself inside docker container with swarm mode Problem title: elixir-phoenix app keep exiting itself inside docker container with swarm mode Tags: docker-swarm, elixir, docker, phoenix-framework Problem: elixir-phoenix app keep exiting itself inside docker container with swarm mod...
elixir-phoenix app keep exiting itself inside docker container with swarm mode elixir-phoenix app keep exiting itself inside docker container with swarm mode docker-swarm elixir docker phoenix-framework elixir:1.6.5 RUN local.hex local.rebar x86_64-linux-gnu libncursesw.so.5 libncursesw.so.6 WORKDIR phx_test ADD phx_te...
[ 0.01397705078125, 0.01324462890625, -0.00011682510375976562, -0.003143310546875, 0.0006561279296875, 0.00482177734375, 0.0078125, 0.0023345947265625, -0.01165771484375, -0.003082275390625, 0.011962890625, 0.0037384033203125, 0.0145263671875, 0.0128173828125, 0.005706787109375, 0.014648...
[ 15296, 38308, 22014, 33, 4084, 4027, 13695, 82230, 214, 68034, 46132, 54, 11050, 116419, 91, 145750, 13736, 53073, 160328, 136473, 130747, 4000, 1106, 1299, 15276, 13307, 2397, 6077, 104155, 25474, 48650, 910, 231355, 123237, 11521, 425, 6954, ...
[ 0.1075439453125, 0.2431640625, 0.0948486328125, 0.1224365234375, 0.139892578125, 0.2003173828125, 0.1397705078125, 0.254638671875, 0.0792236328125, 0.196044921875, 0.1661376953125, 0.0875244140625, 0.18701171875, 0.20654296875, 0.011138916015625, 0.219482421875, 0.115478515625, 0.0...
embed
75069265_c0
75069265
elixir
0
Title: Connecting to MySQL with Ecto in Docker Problem title: Connecting to MySQL with Ecto in Docker Tags: docker, elixir, ecto, docker-compose, mysql Problem: Connecting to MySQL with Ecto in Docker I am in the process of Dockerizing my project, and the following is my docker-compose.yml : version: '3.8' services: se...
Connecting to MySQL with Ecto in Docker Connecting to MySQL with Ecto in Docker docker elixir ecto docker-compose mysql DBConnection.ConnectionError RuntimeError Connecting MySQL Ecto Docker docker-compose.yml DB_HOST DB_DATABASE DB_PORT DB_USER DB_PASSWORD depends_on service_started mysql:latest mysql_native_password ...
[ 0.005859375, 0.0137939453125, 0.01483154296875, 0.01275634765625, 0.0174560546875, 0.01214599609375, -0.0255126953125, -0.010498046875, -0.012939453125, -0.016357421875, 0.0068359375, -0.00164794921875, 0.034423828125, 0.031494140625, -0.0125732421875, 0.000446319580078125, -0.020263...
[ 62448, 214, 47, 157146, 678, 241, 44150, 23, 984, 11050, 54, 15296, 38308, 60751, 277, 78381, 759, 99247, 57976, 235603, 18468, 31611, 28398, 6032, 53, 7237, 34274, 98185, 56566, 4516, 17137, 143, 76, 13409, 54133, 158897, 49068, 29048, 584...
[ 0.1943359375, 0.009979248046875, 0.117919921875, 0.23779296875, 0.09033203125, 0.1141357421875, 0.289794921875, 0.072998046875, 0.1324462890625, 0.2301025390625, 0.10052490234375, 0.045562744140625, 0.1390380859375, 0.1851806640625, 0.1259765625, 0.172119140625, 0.0855712890625, 0....
embed
56763244_c0
56763244
elixir
0
Title: put_assoc complains of wrong type Problem title: put_assoc complains of wrong type Tags: ecto, elixir Problem: put_assoc complains of wrong type I have Ecto schemas representing a directed graph -- there is a Node schema with a self-referential many-to-many relation through an intermediate NodeEdge schema. i.e. ...
put_assoc complains of wrong type put_assoc complains of wrong type ecto elixir ArgumentError put_assoc Node NodeEdge many_to_many MyApp.Node join_through MyApp.NodeEdge join_keys node_edges belongs_to NaiveDateTime.truncate NaiveDateTime.utc_now new_edges Enum.map result.edges curr_name inserted_at updated_at Repo.pre...
[ 0.0020751953125, 0.0028228759765625, 0.00262451171875, 0.00021839141845703125, 0.017333984375, 0.00162506103515625, -0.033447265625, -0.0032806396484375, 0.0177001953125, -0.0299072265625, 0.0159912109375, -0.0028076171875, 0.01458740234375, 0.0036468505859375, 0.00653076171875, -0.017...
[ 3884, 73395, 238, 186992, 44691, 10644, 60751, 15296, 38308, 112140, 18468, 438, 112, 69489, 5941, 188, 669, 53, 2646, 39179, 5021, 33284, 429, 19770, 110, 297, 4188, 10617, 353, 5844, 86291, 70059, 9774, 35613, 3525, 316, 62346, 16750, 642...
[ 0.2122802734375, 0.16650390625, 0.1378173828125, 0.2015380859375, 0.1895751953125, 0.2113037109375, 0.204833984375, 0.06500244140625, 0.225341796875, 0.21435546875, 0.0882568359375, 0.1552734375, 0.1478271484375, 0.1527099609375, 0.1556396484375, 0.14306640625, 0.124267578125, 0.03...
embed
58722525_c0
58722525
elixir
0
Title: Simple Api where create function send me 400 "Bad Request" in phoenix Problem title: Simple Api where create function send me 400 "Bad Request" in phoenix Tags: elixir, phoenix-framework Problem: Simple Api where create function send me 400 "Bad Request" in phoenix This post is identical to t...
Simple Api where create function send me 400 "Bad Request" in phoenix Simple Api where create function send me 400 "Bad Request" in phoenix elixir phoenix-framework Plug.Parsers.ParseError ParameterBindingException WebException WebCmdletWebResponseException Phoenix.ActionClauseError Ecto.Changeset S...
[ -0.0125732421875, -0.0057373046875, -0.002227783203125, -0.01153564453125, 0.00482177734375, 0.0198974609375, 0.0152587890625, 0.001861572265625, 0.0140380859375, -0.037109375, 0.009765625, -0.01007080078125, -0.0025177001953125, 0.025634765625, 0.01055908203125, 0.0032501220703125, ...
[ 60552, 5787, 14, 7440, 28282, 32354, 25379, 163, 4082, 157027, 853, 75616, 53073, 33, 4084, 23, 15296, 38308, 160328, 194351, 18468, 133720, 10763, 26253, 44150, 127008, 12745, 9795, 3240, 30474, 175904, 67362, 22631, 9146, 12620, 5584, 5655, ...
[ 0.23876953125, 0.160888671875, 0.14208984375, 0.125244140625, 0.184326171875, 0.1954345703125, 0.1312255859375, 0.0909423828125, 0.265380859375, 0.20556640625, 0.108642578125, 0.1954345703125, 0.060699462890625, 0.0662841796875, 0.096435546875, 0.01922607421875, 0.03387451171875, 0...
embed
65148856_c0
65148856
elixir
0
Title: elixir: find out the reason of process termination Problem title: elixir: find out the reason of process termination Tags: gen-server, signals, amqp, elixir, process Problem: elixir: find out the reason of process termination During performance test my application died with following log: 17:17:28.187 [info] SIG...
elixir: find out the reason of process termination elixir: find out the reason of process termination gen-server signals amqp elixir process Logger SIGTERM GenServer PID Last EXIT gen_server CRASH REPORT Process gen_server:handle_common_reply Supervisor amqp_connection_sup amqp_gen_connection:start_link amqp_params_net...
[ 0.00616455078125, 0.0279541015625, -0.0123291015625, 0.004669189453125, 0.00299072265625, -0.00933837890625, -0.003936767578125, 0.01025390625, 0.00762939453125, -0.02490234375, -0.00167083740234375, -0.001068115234375, 0.0028076171875, 0.02734375, 0.0184326171875, 0.020751953125, 0....
[ 15296, 38308, 12, 7413, 1810, 31635, 9433, 29527, 1363, 111, 9226, 39642, 26073, 444, 864, 254, 64906, 56, 31343, 14755, 15937, 193348, 436, 7146, 21672, 29426, 6371, 154791, 12927, 145269, 123996, 79628, 62479, 51858, 135457, 2037, 1409, 171...
[ 0.1148681640625, 0.25146484375, 0.011138916015625, 0.05426025390625, 0.06072998046875, 0.178955078125, 0.1669921875, 0.20654296875, 0.036102294921875, 0.0292816162109375, 0.1087646484375, 0.1361083984375, 0.1180419921875, 0.06707763671875, 0.098876953125, 0.1168212890625, 0.147216796...
embed
33136621_c0
33136621
elixir
0
Title: Ecto.Changeset related model error on update Problem title: Ecto.Changeset related model error on update Tags: elixir, ecto, phoenix-framework Problem: Ecto.Changeset related model error on update Ecto is giving me an error on updating a has_one association: Model in question: defmodule Something.Parent do has_o...
Ecto.Changeset related model error on update Ecto.Changeset related model error on update elixir ecto phoenix-framework Ecto.Changeset Something.Parent has_one Something.thing required_fields field1 field2 parent_params Repo.get Parent Repo.preload Parent.changeset Repo.update _parent put_flash parent_path edit.html Wh...
[ -0.0125732421875, 0.004302978515625, 0.00164794921875, -0.019775390625, 0.00122833251953125, 0.0072021484375, -0.015380859375, -0.009521484375, 0.00836181640625, -0.046630859375, -0.0115966796875, -0.004119873046875, -0.01025390625, 0.010986328125, 0.01806640625, -0.02294921875, -0.0...
[ 241, 44150, 127008, 4188, 126, 62548, 3299, 18499, 98, 28350, 15296, 38308, 60751, 53073, 33, 4084, 160328, 200905, 28636, 2517, 1556, 3630, 64113, 56065, 28394, 44457, 304, 49129, 2500, 8256, 771, 170918, 63033, 152028, 3509, 117008, 99547, ...
[ 0.0849609375, 0.260009765625, 0.1229248046875, 0.08978271484375, 0.182861328125, 0.095947265625, 0.1973876953125, 0.1541748046875, 0.1324462890625, 0.1734619140625, 0.034942626953125, 0.1533203125, 0.215087890625, 0.0232086181640625, 0.03466796875, 0.082275390625, 0.069091796875, 0...
embed
28587249_c0
28587249
elixir
0
Title: How can this code be better structured in Elixir? Problem title: How can this code be better structured in Elixir? Tags: elixir Problem: How can this code be better structured in Elixir? I'm learning Elixir as my first functional-style language. As a first simple project to familiarize myself with the environmen...
How can this code be better structured in Elixir? How can this code be better structured in Elixir? elixir How Elixir Prime is_factor not_nil is_nil Enum.map Enum.filter is_prime prime_factors System.argv String.strip String.to_integer IO.puts Prime.prime_factors PrimeFactors _factors PrimeFactors.of How can this code ...
[ -0.032470703125, -0.006805419921875, 0.00994873046875, 0.015625, 0.01507568359375, 0.00191497802734375, 0.01068115234375, -0.0498046875, 0.0146484375, -0.02490234375, 0.00677490234375, -0.00152587890625, -0.004180908203125, 0.0021514892578125, -0.01123046875, -0.002777099609375, -0.0...
[ 11249, 831, 903, 18151, 186, 11522, 45646, 71, 25318, 38308, 23, 15296, 56195, 83, 144810, 959, 17324, 357, 316, 62346, 120337, 114654, 20809, 12353, 61477, 23351, 59623, 6191, 17780, 7077, 135518, 22230, 4390, 52080, 5117, 123309, 40946, 468...
[ 0.0223236083984375, 0.0184173583984375, 0.0396728515625, 0.196533203125, 0.01971435546875, 0.123046875, 0.201416015625, 0.05206298828125, 0.1595458984375, 0.2744140625, 0.0206451416015625, 0.114501953125, 0.2293701171875, 0.0889892578125, 0.2396240234375, 0.1087646484375, 0.138916015...
embed
55038669_c0
55038669
elixir
0
Title: How to get Enum.reduce until list get empty Elixir Problem title: How to get Enum.reduce until list get empty Elixir Tags: elixir Problem: How to get Enum.reduce until list get empty Elixir I am trying to get all companies list from Intercom. with per_page it doesn't give more than 60 at once. There is another e...
How to get Enum.reduce until list get empty Elixir How to get Enum.reduce until list get empty Elixir elixir How Enum.reduce Elixir per_page api.intercom.io scroll_param intercom_url Authorization Bearer intercom_token Accept Accept:application HTTPoison.get response.status_code all_companies is_nil company.list b85a77...
[ -0.03271484375, -0.0172119140625, 0.0031585693359375, 0.000522613525390625, 0.0047607421875, 0.0186767578125, -0.01263427734375, -0.003875732421875, 0.0024261474609375, -0.0142822265625, 0.0267333984375, 0.0032501220703125, 0.00933837890625, 0.00872802734375, 0.017822265625, -0.0383300...
[ 11249, 2046, 357, 316, 5, 107, 106357, 24189, 5303, 201505, 25318, 38308, 15296, 117, 22469, 31470, 10433, 277, 846, 192046, 6276, 1940, 25002, 61804, 113132, 6448, 111383, 101687, 135913, 40514, 3794, 57553, 45215, 756, 46648, 83, 17324, 143...
[ 0.039947509765625, 0.0894775390625, 0.1380615234375, 0.23974609375, 0.0330810546875, 0.1951904296875, 0.26416015625, 0.13330078125, 0.1749267578125, 0.220947265625, 0.112548828125, 0.2406005859375, 0.051910400390625, 0.0626220703125, 0.1351318359375, 0.06866455078125, 0.0556640625, ...
embed
54253494_c0
54253494
elixir
0
Title: How can I change my data validation in phoenix/Elixir? Problem title: How can I change my data validation in phoenix/Elixir? Tags: phoenix-framework, mobile, elixir, android Problem: How can I change my data validation in phoenix/Elixir? i don't have experience with developing and this is not my first language, ...
How can I change my data validation in phoenix/Elixir? How can I change my data validation in phoenix/Elixir? phoenix-framework mobile elixir android How Elixir CREATE TABLE NOT phone_number inserted_at updated_at User validate_required validate_format A-Za-z0-9._ A-Za-z0-9 A-Za-z validate_cpf unique_constraint update_...
[ -0.0191650390625, 0.0003910064697265625, 0.0115966796875, 0.015380859375, 0.01507568359375, 0.01123046875, -0.01611328125, 0.002777099609375, 0.0042724609375, -0.02880859375, -0.0106201171875, -0.0181884765625, 0.0211181640625, 0.0224609375, 0.00823974609375, -0.010986328125, 0.01977...
[ 11249, 831, 15549, 759, 2053, 44622, 1363, 23, 53073, 33, 4084, 64, 647, 150, 38308, 160328, 18244, 14288, 15296, 54527, 25318, 175151, 8241, 384, 183057, 86725, 24089, 2606, 183540, 150011, 53400, 3181, 51727, 16737, 169, 2389, 15205, 39557,...
[ 0.0760498046875, 0.08544921875, 0.2271728515625, 0.06219482421875, 0.1817626953125, 0.259033203125, 0.1099853515625, 0.06787109375, 0.09466552734375, 0.1441650390625, 0.17236328125, 0.0285491943359375, 0.05859375, 0.1217041015625, 0.258544921875, 0.0616455078125, 0.04656982421875, ...
embed
73387985_c0
73387985
elixir
0
Title: Elixir / Erlang: Certificate Chain Validation Problem title: Elixir / Erlang: Certificate Chain Validation Tags: elixir, erlang, openssl, x509certificate Problem: Elixir / Erlang: Certificate Chain Validation I have a use case where the certificate chain has to be validated for PKI. I have two certs, one is the ...
Elixir / Erlang: Certificate Chain Validation Elixir / Erlang: Certificate Chain Validation elixir erlang openssl x509certificate Elixir Erlang Certificate Chain Validation Cert File.read software_signing.pem X509.Certificate.from_pem chain.pem public_key.pem_decode cert_chain_decoded Enum.map cert_chain public_key.pki...
[ 0.015625, 0.00994873046875, 0.00131988525390625, 0.032470703125, 0.0185546875, -0.0159912109375, 0.0115966796875, -0.0184326171875, -0.000827789306640625, -0.02978515625, 0.0062255859375, -0.0062255859375, 0.01513671875, 0.0159912109375, -0.0233154296875, -0.0034637451171875, -0.0214...
[ 25318, 38308, 1004, 3066, 83991, 67, 4841, 73, 25447, 85, 248, 15296, 72, 9803, 24861, 1022, 2525, 1126, 3443, 61093, 8759, 42724, 39116, 10975, 31304, 72508, 1193, 758, 26917, 56, 161063, 121293, 3835, 19770, 112, 40899, 35649, 115097, 357...
[ 0.1048583984375, 0.234375, 0.1243896484375, 0.24658203125, 0.2066650390625, 0.056549072265625, 0.1546630859375, 0.039031982421875, 0.15771484375, 0.06707763671875, 0.003082275390625, 0.084228515625, 0.076416015625, 0.0809326171875, 0.16259765625, 0.009124755859375, 0.138427734375, ...
embed
27346799_c0
27346799
elixir
0
Title: wxSplitterWindow.splitVertically not accepting windows in Elixir/Erlang Problem title: wxSplitterWindow.splitVertically not accepting windows in Elixir/Erlang Tags: elixir, wxerlang Problem: wxSplitterWindow.splitVertically not accepting windows in Elixir/Erlang I'm trying to get split windows working using WxEr...
wxSplitterWindow.splitVertically not accepting windows in Elixir/Erlang wxSplitterWindow.splitVertically not accepting windows in Elixir/Erlang elixir wxerlang Bitwise wx_const wxSplitterWindow.splitVertically Elixir Erlang SplitWindow wx.new wxFrame.new wxID_ANY wxFrame.center wxPanel.new wxBoxSizer.new wxSplitterWind...
[ 0.00579833984375, 0.00701904296875, -0.0169677734375, -0.006378173828125, -0.02294921875, -0.00921630859375, -0.002838134765625, -0.009521484375, 0.002471923828125, -0.005645751953125, 0.0189208984375, 0.00009393692016601562, 0.0228271484375, 0.0159912109375, 0.0098876953125, 0.0142211...
[ 148, 425, 31923, 150, 3055, 92049, 24293, 7008, 4353, 15896, 18, 71407, 959, 26946, 54825, 25318, 38308, 18468, 3066, 15296, 34058, 90825, 25553, 1004, 46474, 108386, 93333, 55956, 72295, 45082, 57339, 17780, 19346, 178712, 114986, 127167, 6545...
[ 0.06634521484375, 0.1158447265625, 0.054779052734375, 0.1436767578125, 0.122802734375, 0.1397705078125, 0.1270751953125, 0.0180206298828125, 0.140869140625, 0.136962890625, 0.030670166015625, 0.1231689453125, 0.0394287109375, 0.1209716796875, 0.166748046875, 0.06842041015625, 0.19445...
embed
58750122_c0
58750122
elixir
0
Title: Why is Process ID returning as undefined? Problem title: Why is Process ID returning as undefined? Tags: elixir Problem: Why is Process ID returning as undefined? I have Supervisor and its child Genserver with code below: defmodule MyApp.StatisticSupervisor do use DynamicSupervisor def start_link(_) do DynamicSu...
Why is Process ID returning as undefined? Why is Process ID returning as undefined? elixir Why Process MyApp.StatisticSupervisor DynamicSupervisor start_link DynamicSupervisor.start_link __MODULE__ start_statistic team_id DynamicSupervisor.start_child global_name MyApp.Statistic.Server DynamicSupervisor.init one_for_on...
[ 0.006103515625, -0.006103515625, -0.0014190673828125, -0.00787353515625, -0.0174560546875, -0.00750732421875, 0.0281982421875, -0.0172119140625, -0.0150146484375, -0.0224609375, -0.007171630859375, 0.01953125, 0.006103515625, 0.0238037109375, 0.0142822265625, 0.0308837890625, 0.01806...
[ 44084, 83, 123996, 11338, 30646, 214, 237, 9232, 5983, 297, 15296, 38308, 2646, 39179, 135206, 48242, 73903, 51858, 73327, 21068, 4034, 10187, 17137, 12013, 397, 17346, 7175, 532, 206, 38472, 7964, 193348, 217, 2472, 3630, 29041, 16711, 15937...
[ 0.1212158203125, 0.0248565673828125, 0.241943359375, 0.23291015625, 0.215087890625, 0.05291748046875, 0.043609619140625, 0.1343994140625, 0.2047119140625, 0.0258636474609375, 0.0863037109375, 0.2391357421875, 0.0830078125, 0.177734375, 0.1641845703125, 0.1217041015625, 0.161743164062...
embed
65386656_c0
65386656
elixir
0
Title: Elixir / Ecto Embedded struct - updated_at not getting updated Problem title: Elixir / Ecto Embedded struct - updated_at not getting updated Tags: phoenix-framework, postgresql, elixir, ecto Problem: Elixir / Ecto Embedded struct - updated_at not getting updated I have an Elixir struct with an embedded struct, f...
Elixir / Ecto Embedded struct - updated_at not getting updated Elixir / Ecto Embedded struct - updated_at not getting updated phoenix-framework postgresql elixir ecto Elixir Ecto Embedded updated_at MyApp.Post Ecto.Schema embeds_many MyApp.Comment embedded_schema belongs_to my_post put_embed Repo.update Map.put DateTim...
[ 0.00164031982421875, 0.00567626953125, 0.0155029296875, -0.002166748046875, -0.005096435546875, 0.005950927734375, -0.00579833984375, 0.00634765625, 0.005462646484375, -0.03271484375, 0.0164794921875, 0.008544921875, -0.0028533935546875, 0.0038604736328125, -0.000965118408203125, 0.003...
[ 25318, 38308, 241, 44150, 2775, 372, 69819, 36716, 150011, 257, 959, 20949, 53073, 33, 4084, 160328, 1305, 17562, 99247, 15296, 60751, 2646, 39179, 49411, 25452, 11883, 352, 13482, 669, 674, 55720, 7560, 10617, 4594, 195, 771, 117008, 42719, ...
[ 0.128662109375, 0.22412109375, 0.1024169921875, 0.2685546875, 0.092041015625, 0.2144775390625, 0.084228515625, 0.2313232421875, 0.21484375, 0.05010986328125, 0.09881591796875, 0.0799560546875, 0.00994873046875, 0.0294342041015625, 0.08331298828125, 0.0888671875, 0.0186767578125, 0....
embed
46449773_c1
46449773
elixir
1
_items, Shop.Accounting.LineItem has_many :products, through: [:line_items, :products] timestamps() end lib/shop/accounting/line_item.ex schema "line_items" do belongs_to :invoice, Shop.Accounting.Invoice belongs_to :product, Shop.Accounting.Product timestamps() end lib/shop/accounting/product.ex schema "products" do f...
_items, Shop.Accounting.LineItem has_many :products, through: [:line_items, :products] timestamps() end lib/shop/accounting/line_item.ex schema "line_items" do belongs_to :invoice, Shop.Accounting.Invoice belongs_to :product, Shop.Accounting.Product timestamps() end lib/shop/accounting/product.ex schema "products" do f...
[ 0.00142669677734375, -0.006072998046875, 0.01470947265625, 0.0281982421875, -0.0184326171875, 0.001007080078125, -0.01116943359375, 0.00701904296875, 0.00421142578125, -0.044921875, 0.01336669921875, 0.01373291015625, -0.006744384765625, 0.004547119140625, -0.00139617919921875, 0.01293...
[ 1486, 4432, 24211, 13400, 128396, 93232, 2982, 1556, 669, 53, 57877, 8305, 2256, 20028, 2537, 6423, 3564, 25474, 10534, 213499, 214, 217, 195, 3355, 61903, 10617, 188, 73, 965, 2980, 5, 4153, 77193, 44457, 11627, 91693, 5293, 6191, 58836, ...
[ 0.132568359375, 0.0899658203125, 0.196044921875, 0.12158203125, 0.0992431640625, 0.14013671875, 0.1397705078125, 0.0596923828125, 0.08526611328125, 0.07080078125, 0.211181640625, 0.0765380859375, 0.1700439453125, 0.025726318359375, 0.1025390625, 0.051513671875, 0.054901123046875, 0...
embed
40334486_c1
40334486
elixir
1
_user do conn else conn |> put_flash(:error, "You must be logged in to access that page") |> redirect(to: page_path(conn, :index)) |> halt() end end end And I know my :controller comes from here: defmodule Rumbl.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be us...
_user do conn else conn |> put_flash(:error, "You must be logged in to access that page") |> redirect(to: page_path(conn, :index)) |> halt() end end end And I know my :controller comes from here: defmodule Rumbl.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be us...
[ -0.0164794921875, 0.005615234375, -0.0184326171875, -0.0011749267578125, 0.015625, 0.034912109375, -0.0177001953125, -0.0264892578125, 0.00823974609375, -0.072265625, -0.0283203125, -0.0281982421875, 0.01348876953125, -0.005828857421875, 0.006805419921875, 0.005218505859375, -0.02233...
[ 101, 65918, 54, 158, 19, 37076, 3884, 420, 5544, 188800, 8110, 73088, 17203, 450, 9191, 456, 80581, 188, 128405, 2271, 152, 4711, 58810, 3564, 3714, 759, 81988, 603, 32497, 1295, 3688, 8, 83279, 13, 27976, 9030, 5, 30474, 1374, 29713, 8...
[ 0.080322265625, 0.22607421875, 0.115966796875, 0.1441650390625, 0.140625, 0.1109619140625, 0.07666015625, 0.1109619140625, 0.1527099609375, 0.1580810546875, 0.142578125, 0.1585693359375, 0.1376953125, 0.039306640625, 0.122314453125, 0.04217529296875, 0.1484375, 0.05322265625, 0.1...
embed
44093578_c0
44093578
elixir
0
Title: Phoenix error adding user to REST service Problem title: Phoenix error adding user to REST service Tags: phoenix-framework, elixir, rest Problem: Phoenix error adding user to REST service I made this call: curl -X POST -H "Content-Type: application/json" -d '{ "user": { "email": "leo.hetsch@testapp.com", "first_...
Phoenix error adding user to REST service Phoenix error adding user to REST service phoenix-framework elixir rest Phoenix REST POST Content-Type leo.hetsch testapp.com first_name last_name Hetsch test1 localhost:4000 Processing VirtualTeams.UserController.create Parameters FILTERED Pipelines api_token Builds validate_r...
[ -0.00135040283203125, 0.00469970703125, 0.0174560546875, -0.00116729736328125, 0.005645751953125, 0.0086669921875, -0.00897216796875, -0.0223388671875, -0.004913330078125, -0.0341796875, 0.0115966796875, 0.00225830078125, 0.01953125, 0.0218505859375, -0.0001544952392578125, -0.00354003...
[ 133720, 18499, 154107, 38937, 47, 627, 21828, 4516, 53073, 33, 4084, 160328, 18244, 15296, 38308, 10588, 81903, 70870, 196707, 6279, 1448, 3232, 3034, 9007, 11627, 1947, 418, 4000, 40294, 68037, 123996, 73303, 101409, 1062, 2189, 175904, 7612, ...
[ 0.32080078125, 0.201904296875, 0.2003173828125, 0.2354736328125, 0.11669921875, 0.1180419921875, 0.21142578125, 0.1337890625, 0.07452392578125, 0.0845947265625, 0.1048583984375, 0.07659912109375, 0.01226806640625, 0.03936767578125, 0.1556396484375, 0.1888427734375, 0.0621337890625, ...
embed
45818589_c0
45818589
elixir
0
Title: Mix task "release" not found error Problem title: Mix task "release" not found error Tags: edeliver, phoenix-framework, hex-pm, elixir, elixir-mix Problem: Mix task "release" not found error I was setting up an Ubuntu 16.04 server for my Elixir/Phoenix application with edeliver when edeliver ...
Mix task "release" not found error Mix task "release" not found error edeliver phoenix-framework hex-pm elixir elixir-mix Mix MIX_ENV erts-9.0 archive.install github.com phx_new.ez mix.exs MyApp.Mixfile Mix.Project MyApp elixirc_paths Mix.env Mix.compilers start_permanent Configuration OTP Type comp...
[ 0.0087890625, 0.0277099609375, 0.01953125, 0.0224609375, -0.00689697265625, -0.0042724609375, -0.0267333984375, 0.01263427734375, 0.009765625, 0.01025390625, 0.024658203125, -0.0206298828125, 0.04345703125, 0.0087890625, 0.0111083984375, 0.016845703125, -0.01123046875, 0.0099487304...
[ 37286, 66211, 233707, 74, 959, 14037, 18499, 28, 112, 134148, 53073, 33, 4084, 160328, 18244, 764, 425, 26822, 15296, 38308, 62015, 276, 21487, 11572, 856, 72, 933, 15205, 2389, 147488, 80383, 62270, 32102, 5, 11521, 54936, 1255, 17664, 335...
[ 0.3232421875, 0.24560546875, 0.2529296875, 0.000732421875, 0.1190185546875, 0.2154541015625, 0.1898193359375, 0.1090087890625, 0.1510009765625, 0.273193359375, 0.1055908203125, 0.1251220703125, 0.19775390625, 0.10345458984375, 0.02789306640625, 0.106201171875, 0.11083984375, 0.0453...
embed
59171197_c0
59171197
elixir
0
Title: How should I include javascript in a template in Phoenix 1.5 Problem title: How should I include javascript in a template in Phoenix 1.5 Tags: webpack, phoenix-framework, elixir Problem: How should I include javascript in a template in Phoenix 1.5 I'm trying to include a javascript file that uses chart.js in my ...
How should I include javascript in a template in Phoenix 1.5 How should I include javascript in a template in Phoenix 1.5 webpack phoenix-framework elixir ReferenceError javascript is How Phoenix Graph.draw Uncaught MIT chart.js phoenix_html MiniCssExtractPlugin TerserPlugin OptimizeCSSAssetsPlugin CopyWebpackPlugin mo...
[ -0.024658203125, -0.000843048095703125, -0.01287841796875, -0.0189208984375, 0.001708984375, 0.0228271484375, -0.003448486328125, 0.006927490234375, 0.01348876953125, -0.044677734375, -0.007720947265625, -0.007781982421875, -0.006805419921875, 0.0101318359375, 0.001129150390625, 0.0341...
[ 11249, 5608, 26698, 136951, 23, 110934, 133720, 22410, 1467, 29102, 53073, 33, 4084, 160328, 18244, 15296, 38308, 215996, 18468, 6524, 11727, 86905, 992, 408, 46526, 78999, 116287, 28175, 7693, 13468, 7, 39989, 35159, 2994, 2189, 43938, 53975, ...
[ 0.03192138671875, 0.058502197265625, 0.167724609375, 0.29833984375, 0.0638427734375, 0.265380859375, 0.255615234375, 0.2369384765625, 0.0133056640625, 0.2098388671875, 0.0426025390625, 0.0435791015625, 0.0823974609375, 0.027862548828125, 0.001495361328125, 0.018402099609375, 0.152587...
embed
54446824_c0
54446824
elixir
0
Title: Custom mix task not loading test environment Problem title: Custom mix task not loading test environment Tags: elixir-mix, elixir Problem: Custom mix task not loading test environment I am attempting to put together a custom mix task that will execute the mix test task in a specialized manner. My mix task is mix...
Custom mix task not loading test environment Custom mix task not loading test environment elixir-mix elixir Custom test.pretty Mix.Tasks.Test.Pretty Mix.Task Simply Hello.say Mix.env Mix.Task.run ExPrettyTest.Formatter Ecto.Adapters.SQL.Sandbox ecto_sql sandbox.ex:491 Ecto.Adapters.SQL.Sandbox.lookup_meta sandbox.ex:38...
[ 0.00445556640625, -0.0087890625, 0.0054931640625, 0.0111083984375, -0.00445556640625, 0.0128173828125, -0.0101318359375, -0.005859375, 0.009521484375, 0.0086669921875, 0.0169677734375, -0.00002968311309814453, -0.0103759765625, -0.002655029296875, 0.00933837890625, 0.0205078125, -0.0...
[ 130664, 17664, 66211, 959, 72367, 3034, 65998, 15296, 38308, 62015, 56359, 939, 37286, 9874, 111337, 19273, 15145, 35378, 20347, 33, 334, 16428, 5443, 102973, 44150, 22409, 2631, 158897, 60751, 99247, 19096, 11728, 3355, 202498, 241, 2940, 6474...
[ 0.2122802734375, 0.29638671875, 0.2337646484375, 0.0865478515625, 0.1724853515625, 0.223876953125, 0.189453125, 0.0560302734375, 0.1715087890625, 0.2366943359375, 0.1505126953125, 0.1724853515625, 0.285888671875, 0.17041015625, 0.1837158203125, 0.1575927734375, 0.14013671875, 0.122...
embed
59305584_c0
59305584
elixir
0
Title: At what point does Elixir features becomes a misdirection? Problem title: At what point does Elixir features becomes a misdirection? Tags: elixir, functional-programming, pattern-matching Problem: At what point does Elixir features becomes a misdirection? Generally speaking, Functional Programming prides itself ...
At what point does Elixir features becomes a misdirection? At what point does Elixir features becomes a misdirection? elixir functional-programming pattern-matching Elixir make_move game_state _guess game.state At what point does Elixir features becomes a misdirection? Generally speaking, Functional Programming prides ...
[ -0.0147705078125, -0.01025390625, -0.00433349609375, -0.01361083984375, 0.017333984375, -0.005645751953125, -0.025634765625, 0.0113525390625, -0.0004100799560546875, 0.006134033203125, -0.005859375, 0.00102996826171875, 0.010498046875, 0.0081787109375, 0.000316619873046875, -0.00188446...
[ 6275, 25318, 38308, 66139, 24209, 1239, 936, 58994, 10, 15296, 123309, 28966, 214, 103510, 98753, 3249, 432, 272, 6712, 61340, 21325, 28670, 10763, 27958, 30310, 8035, 34735, 158, 318, 5609, 171760, 24365, 99156, 106001, 31635, 18151, 92784, ...
[ 0.07635498046875, 0.1468505859375, 0.28125, 0.195068359375, 0.0919189453125, 0.13037109375, 0.1563720703125, 0.1710205078125, 0.013580322265625, 0.1094970703125, 0.1529541015625, 0.135986328125, 0.0819091796875, 0.15087890625, 0.139404296875, 0.053924560546875, 0.114013671875, 0.06...
embed
41713803_c1
41713803
elixir
1
} end def id(_socket), do: nil end blog_channel.ex defmodule Proto1.BlogChannel do use Proto1.Web, :channel def join("blog", _message, socket) do {:ok, socket } end def handle_in("getAll", params, socket) do IO.puts "Proto1.BlogChannel.handle_in \"all\" called" posts = Repo.all(Proto1.Post) push socket, "getAll", %{pos...
} end def id(_socket), do: nil end blog_channel.ex defmodule Proto1.BlogChannel do use Proto1.Web, :channel def join("blog", _message, socket) do {:ok, socket } end def handle_in("getAll", params, socket) do IO.puts "Proto1.BlogChannel.handle_in \"all\" called" posts = Repo.all(Proto1.Post) push socket, "getAll", %{pos...
[ 0.0179443359375, 0.0069580078125, 0.00311279296875, 0.001800537109375, -0.0022735595703125, 0.016357421875, -0.004852294921875, -0.024658203125, -0.00180816650390625, -0.049072265625, 0.0034027099609375, 0.008056640625, -0.0050048828125, -0.006805419921875, -0.00799560546875, 0.0137939...
[ 3564, 8, 420, 3447, 991, 27853, 54, 17324, 1415, 17032, 8876, 3355, 83279, 67241, 418, 94561, 127008, 4527, 30474, 33284, 9883, 74157, 221, 685, 34831, 3794, 43512, 121, 17780, 10752, 188, 79628, 5584, 35839, 32323, 771, 25944, 4594, 14361,...
[ 0.1202392578125, 0.073486328125, 0.054931640625, 0.110107421875, 0.10186767578125, 0.1959228515625, 0.01580810546875, 0.091796875, 0.1685791015625, 0.1204833984375, 0.1280517578125, 0.116455078125, 0.1468505859375, 0.2352294921875, 0.093017578125, 0.191162109375, 0.1259765625, 0.07...
embed
41992422_c0
41992422
elixir
0
Title: Why is my dynamically defined function undefined? Problem title: Why is my dynamically defined function undefined? Tags: elixir Problem: Why is my dynamically defined function undefined? I'm trying to dynamically define some functions within the __using__/1 macro of a module. These functions will have their name...
Why is my dynamically defined function undefined? Why is my dynamically defined function undefined? elixir UndefinedFunctionError function_for_# function_for_foo function_for_bar Why __using__ MyModule Keyword.get Enum.each bind_quoted function_for_ IO.puts Hello UserModule UserModule.function_for_foo hello_world UserM...
[ 0.0036163330078125, 0.0029754638671875, -0.0024871826171875, 0.006683349609375, -0.00086212158203125, 0.00543212890625, 0.004852294921875, -0.01092529296875, 0.004852294921875, -0.02587890625, -0.0283203125, -0.03466796875, 0.0028076171875, 0.017578125, 0.0031890869140625, 0.0004539489...
[ 44084, 759, 84079, 25958, 61924, 71, 32354, 9232, 5983, 297, 83, 15296, 38308, 79912, 97249, 18468, 31611, 2472, 4904, 3584, 31, 1299, 223, 214, 2646, 91616, 8782, 189755, 3794, 357, 316, 41581, 68557, 68726, 17780, 7077, 35378, 53400, 1371...
[ 0.133544921875, 0.035858154296875, 0.1734619140625, 0.06304931640625, 0.2059326171875, 0.07098388671875, 0.2386474609375, 0.1134033203125, 0.2001953125, 0.08807373046875, 0.010589599609375, 0.052978515625, 0.1993408203125, 0.0938720703125, 0.177490234375, 0.054046630859375, 0.1017456...
embed
29823363_c0
29823363
elixir
0
Title: Suppress stderr while running Mix Test in Elixir Problem title: Suppress stderr while running Mix Test in Elixir Tags: unit-testing, elixir, elixir-mix Problem: Suppress stderr while running Mix Test in Elixir I'm working with several external processes in my application. During tests the stderr output of severa...
Suppress stderr while running Mix Test in Elixir Suppress stderr while running Mix Test in Elixir unit-testing elixir elixir-mix Suppress Mix Test Elixir error.log pre_routing_rule Porcelain.Result _output Porcelain.shell Removing Rules.clear Rules.remove PREROUTING DNAT Suppress stderr while running Mix Test in Elixir...
[ 0.0140380859375, -0.001495361328125, 0.009033203125, -0.0002498626708984375, 0.008544921875, -0.00127410888671875, -0.00537109375, -0.0086669921875, -0.011474609375, 0.0242919921875, -0.01611328125, 0.016845703125, 0.0052490234375, 0.02685546875, 0.006500244140625, 0.0184326171875, -...
[ 47004, 11856, 6138, 820, 42, 12960, 51042, 37286, 8647, 23, 25318, 38308, 25072, 6954, 15296, 62015, 18499, 4867, 479, 14179, 1916, 882, 1818, 43252, 73, 7, 7136, 6056, 128019, 432, 139118, 26973, 23096, 14255, 1062, 27583, 618, 20697, 1735...
[ 0.162109375, 0.1353759765625, 0.1368408203125, 0.084228515625, 0.18115234375, 0.074462890625, 0.09783935546875, 0.238525390625, 0.196533203125, 0.03094482421875, 0.1082763671875, 0.217529296875, 0.0655517578125, 0.1295166015625, 0.047210693359375, 0.1689453125, 0.190185546875, 0.06...
embed
34857669_c0
34857669
elixir
0
Title: What is this Ecto Constraint Error trying to tell me? Problem title: What is this Ecto Constraint Error trying to tell me? Tags: elixir, phoenix-framework, ecto Problem: What is this Ecto Constraint Error trying to tell me? ** (Ecto.ConstraintError) constraint error when attempting to insert model: * foreign_key...
What is this Ecto Constraint Error trying to tell me? What is this Ecto Constraint Error trying to tell me? elixir phoenix-framework ecto Ecto.ConstraintError What Ecto Constraint Error foreign_key matches_person_id_fkey person_id star_id belongs_to Person Star Ecto.Changeset App.Match __meta__ ecto.Schema.Metadata ins...
[ 0.01165771484375, -0.00787353515625, 0.00665283203125, 0.0047607421875, 0.00714111328125, -0.01220703125, -0.031005859375, -0.0133056640625, 0.00933837890625, -0.0341796875, -0.006195068359375, 0.00543212890625, 0.01361083984375, 0.0155029296875, 0.00457763671875, -0.017822265625, 0....
[ 4865, 83, 903, 241, 44150, 1657, 2816, 4288, 212059, 31577, 14192, 163, 15296, 38308, 53073, 33, 4084, 160328, 18244, 60751, 11935, 18468, 31611, 110613, 19770, 14858, 30816, 532, 420, 3445, 6057, 10617, 15270, 4612, 127008, 4188, 126, 5659, ...
[ 0.061492919921875, 0.009765625, 0.10107421875, 0.10107421875, 0.27978515625, 0.08685302734375, 0.2039794921875, 0.1282958984375, 0.2227783203125, 0.0992431640625, 0.1087646484375, 0.03936767578125, 0.052459716796875, 0.1593017578125, 0.05548095703125, 0.0576171875, 0.119140625, 0.1...
embed
56836303_c1
56836303
elixir
1
:edit, :delete] defp assign_user(conn, _opts) do case conn.params do %{"user_id" => user_id} -> case Repo.get(Pxblog.Post.User, user_id) do nil -> invalid_user(conn) user -> assign(conn, :user, user) end _ -> invalid_user(conn) end end defp invalid_user(conn) do conn |> put_flash(:error, "Invalid user!") |> redirect(t...
:edit, :delete] defp assign_user(conn, _opts) do case conn.params do %{"user_id" => user_id} -> case Repo.get(Pxblog.Post.User, user_id) do nil -> invalid_user(conn) user -> assign(conn, :user, user) end _ -> invalid_user(conn) end end defp invalid_user(conn) do conn |> put_flash(:error, "Invalid user!") |> redirect(t...
[ -0.00885009765625, -0.0107421875, -0.0017852783203125, -0.0155029296875, -0.02294921875, 0.0155029296875, 0.00109100341796875, -0.0198974609375, 0.02294921875, -0.0380859375, 0.01318359375, -0.0079345703125, 0.003204345703125, 0.00262451171875, -0.006683349609375, -0.0126953125, -0.0...
[ 152, 45082, 4, 8520, 67, 268, 8, 420, 254, 95486, 65918, 2271, 19, 101, 2146, 933, 54, 7225, 158, 2500, 8256, 1745, 532, 38937, 853, 771, 3794, 683, 425, 9883, 49411, 1062, 2189, 17324, 56649, 3564, 6, 3884, 5544, 188800, 4153, 7013, ...
[ 0.029144287109375, 0.1915283203125, 0.031829833984375, 0.186767578125, 0.1524658203125, 0.000579833984375, 0.1414794921875, 0.1292724609375, 0.147216796875, 0.23876953125, 0.26220703125, 0.14453125, 0.1226806640625, 0.010101318359375, 0.1695556640625, 0.10198974609375, 0.022384643554...
embed
70784321_c0
70784321
elixir
0
Title: Enum.reduce_while vs Enum.reduce in Elixir Problem title: Enum.reduce_while vs Enum.reduce in Elixir Tags: elixir Problem: Enum.reduce_while vs Enum.reduce in Elixir I am a beginner at Elixir. Here are my queries. I have written two functions below. a) The first one uses Enum.reduce_while b) the second function ...
Enum.reduce_while vs Enum.reduce in Elixir Enum.reduce_while vs Enum.reduce in Elixir elixir Enum.reduce_while Enum.reduce Elixir IO.puts reduce_while is_power_pattern_present_in_grid max_row max_col chk1 is_power1_pattern_present_in_grid Enum.reduce_while vs Enum.reduce in Elixir I am a beginner at Elixir. Here are my...
[ -0.0098876953125, -0.0031890869140625, -0.01385498046875, 0.030029296875, 0.003753662109375, -0.0037384033203125, -0.0257568359375, -0.002166748046875, 0.0140380859375, -0.01519775390625, 0.0189208984375, 0.0167236328125, -0.003021240234375, 0.0244140625, 0.01312255859375, -0.002731323...
[ 357, 316, 107, 106357, 204610, 20209, 5, 25318, 38308, 23, 15296, 17780, 7077, 34390, 83, 62783, 4453, 22766, 55247, 120067, 18389, 15555, 8447, 3863, 92, 418, 59121, 6626, 32354, 5117, 4527, 876, 17932, 66339, 54529, 1295, 757, 138, 168398...
[ 0.1090087890625, 0.21337890625, 0.1680908203125, 0.224609375, 0.2484130859375, 0.1336669921875, 0.024169921875, 0.1116943359375, 0.2266845703125, 0.014434814453125, 0.059783935546875, 0.147705078125, 0.100830078125, 0.257568359375, 0.0156097412109375, 0.1527099609375, 0.13232421875, ...
embed
44551821_c0
44551821
elixir
0
Title: Composing data structures during reduce/fold Problem title: Composing data structures during reduce/fold Tags: elixir, functional-programming Problem: Composing data structures during reduce/fold I'm working on a Natural Language Processing project (and learning Elixir), and can't figure out the idiomatic way to...
Composing data structures during reduce/fold Composing data structures during reduce/fold elixir functional-programming Composing France Rue Paris MyModule.process Address street_number USA Maiden Lane Floor York reduce_while Mirabeau Place Composing data structures during reduce/fold I'm working on a Natural Language ...
[ 0.002685546875, -0.00193023681640625, 0.00188446044921875, 0.0245361328125, 0.004669189453125, 0.003662109375, -0.002655029296875, -0.0010833740234375, 0.002410888671875, -0.0098876953125, 0.0177001953125, 0.021240234375, 0.004730224609375, -0.01324462890625, -0.0021209716796875, 0.003...
[ 15612, 232, 214, 2053, 45646, 20271, 34390, 64, 42822, 15296, 38308, 123309, 28966, 9942, 4518, 13, 7270, 2646, 91616, 8782, 63923, 49990, 48800, 2606, 4602, 3596, 555, 239, 177542, 5753, 204610, 31231, 372, 916, 41076, 20697, 24955, 83658, ...
[ 0.1439208984375, 0.1278076171875, 0.000518798828125, 0.1318359375, 0.2320556640625, 0.115478515625, 0.2427978515625, 0.04168701171875, 0.18505859375, 0.0545654296875, 0.1939697265625, 0.118896484375, 0.09417724609375, 0.1590576171875, 0.1156005859375, 0.00909423828125, 0.1708984375, ...
embed
42520180_c1
42520180
elixir
1
Mini.Router do use Mini.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] plug Plug.Logger, log: :debug end scope "/", Mini do pipe_through :browser # Use the default b...
Mini.Router do use Mini.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] plug Plug.Logger, log: :debug end scope "/", Mini do pipe_through :browser # Use the default b...
[ -0.019775390625, 0.011474609375, 0.01904296875, -0.01348876953125, -0.00836181640625, 0.01068115234375, 0.0081787109375, -0.0035400390625, 0.00628662109375, 0.0048828125, -0.0294189453125, -0.014404296875, 0.0096435546875, -0.00083160400390625, 0.00183868408203125, 0.0079345703125, -...
[ 13468, 5, 12724, 25208, 54, 4527, 30474, 4, 133261, 42, 137158, 2256, 215725, 76329, 19462, 7693, 29362, 169234, 5544, 208202, 161063, 2472, 1505, 7077, 184, 57436, 31251, 1314, 3564, 40897, 1681, 194351, 113972, 12684, 112, 85779, 70820, 222...
[ 0.281982421875, 0.09039306640625, 0.1241455078125, 0.2332763671875, 0.09283447265625, 0.18701171875, 0.2025146484375, 0.01123046875, 0.1722412109375, 0.10595703125, 0.160400390625, 0.09246826171875, 0.1629638671875, 0.1871337890625, 0.1256103515625, 0.10516357421875, 0.077880859375, ...
embed
54995095_c1
54995095
elixir
1
:29: WebsocketCommunicator.translate/3 (websocketsample) lib/websocketsample_web/channels/timer_channel.ex:15: WebsocketsampleWeb.TimerChannel.handle_in/3 (phoenix) lib/phoenix/channel/server.ex:268: anonymous fn/4 in Phoenix.Channel.Server.handle_info/2 (websocketsample) lib/websocketsample_web/endpoint.ex:1: Websocke...
:29: WebsocketCommunicator.translate/3 (websocketsample) lib/websocketsample_web/channels/timer_channel.ex:15: WebsocketsampleWeb.TimerChannel.handle_in/3 (phoenix) lib/phoenix/channel/server.ex:268: anonymous fn/4 in Phoenix.Channel.Server.handle_info/2 (websocketsample) lib/websocketsample_web/endpoint.ex:1: Websocke...
[ -0.007659912109375, 0.023681640625, -0.01025390625, -0.0029144287109375, 0.01904296875, 0.00116729736328125, -0.001800537109375, -0.0101318359375, -0.00384521484375, -0.037109375, 0.00799560546875, 0.026123046875, 0.027587890625, 0.007781982421875, 0.0169677734375, -0.01458740234375, ...
[ 29223, 4002, 991, 27853, 166697, 2063, 1290, 30145, 19309, 18113, 14051, 433, 33209, 25474, 17032, 137644, 8876, 3355, 12221, 30474, 70059, 42, 127008, 79628, 4084, 39642, 28194, 1019, 52184, 14783, 17357, 133720, 193348, 7319, 3611, 38496, 152...
[ 0.12646484375, 0.08050537109375, 0.130126953125, 0.129150390625, 0.118408203125, 0.110107421875, 0.083740234375, 0.126708984375, 0.2152099609375, 0.1175537109375, 0.0838623046875, 0.0499267578125, 0.1241455078125, 0.0843505859375, 0.0977783203125, 0.2110595703125, 0.01446533203125, ...
embed
35537951_c0
35537951
elixir
0
Title: Elixir - Cannot invoke remote function inside match Problem title: Elixir - Cannot invoke remote function inside match Tags: pattern-matching, elixir, compiler-errors Problem: Elixir - Cannot invoke remote function inside match I'm working through a practice exercise on exercism and can't figure out why I'm gett...
Elixir - Cannot invoke remote function inside match Elixir - Cannot invoke remote function inside match pattern-matching elixir compiler-errors CompileError Elixir Cannot anagram.exs:19 String.codepoints lists.erl:1353 lists.mapfoldl AnagramTest ExUnit.Case Anagram.match Anagram Returns String.t Enum.sort scan_for_matc...
[ -0.01068115234375, 0.0235595703125, 0.00616455078125, -0.0028228759765625, 0.0167236328125, -0.006805419921875, -0.017578125, 0.0042724609375, -0.002655029296875, -0.01458740234375, -0.005340576171875, -0.018310546875, 0.020751953125, 0.0206298828125, 0.000637054443359375, -0.008544921...
[ 25318, 38308, 4171, 10869, 23, 23253, 148814, 32354, 46132, 14858, 103510, 98753, 15296, 9969, 34759, 188800, 15612, 1340, 18468, 3877, 25561, 3355, 23988, 23351, 40899, 38496, 5303, 14226, 42822, 141, 5710, 111337, 5443, 85600, 173340, 357, 31...
[ 0.12109375, 0.251220703125, 0.037445068359375, 0.1107177734375, 0.031219482421875, 0.17138671875, 0.2369384765625, 0.1617431640625, 0.1573486328125, 0.2352294921875, 0.1898193359375, 0.2122802734375, 0.08575439453125, 0.0791015625, 0.0797119140625, 0.09619140625, 0.041290283203125, ...
embed
40244645_c0
40244645
elixir
0
Title: How can I defimply for multiple modules at the same time? (macro attempt not working) Problem title: How can I defimply for multiple modules at the same time? (macro attempt not working) Tags: elixir Problem: How can I defimply for multiple modules at the same time? (macro attempt not working) I need all of my m...
How can I defimply for multiple modules at the same time? (macro attempt not working) How can I defimply for multiple modules at the same time? (macro attempt not working) elixir UndefinedFunctionError Units How MyApp.Convert ConvertMacro All defimpl_convert_for Enum.map Units.Convert to_standard_metric Units.to_standa...
[ -0.01251220703125, 0.010986328125, -0.00049591064453125, 0.00909423828125, 0.008544921875, 0.0228271484375, -0.01031494140625, -0.02734375, 0.010498046875, -0.00555419921875, -0.007354736328125, -0.0255126953125, 0.0196533203125, 0.0078125, -0.00640869140625, -0.0025482177734375, -0....
[ 11249, 831, 8, 1029, 2676, 538, 100, 48716, 88996, 5701, 1733, 15322, 81887, 959, 20697, 15296, 38308, 79912, 5983, 97249, 18468, 31611, 46640, 2646, 39179, 5, 11935, 11549, 1657, 55450, 516, 3164, 420, 116120, 2271, 2472, 357, 316, 62346, ...
[ 0.05450439453125, 0.055267333984375, 0.185302734375, 0.1177978515625, 0.1583251953125, 0.1651611328125, 0.1212158203125, 0.175537109375, 0.194580078125, 0.10888671875, 0.1134033203125, 0.1131591796875, 0.2052001953125, 0.08392333984375, 0.1134033203125, 0.067138671875, 0.207885742187...
embed
29500664_c0
29500664
elixir
0
Title: Elixir - Supervised processes appear to block program execution Problem title: Elixir - Supervised processes appear to block program execution Tags: concurrency, elixir, erlang-otp, erlang, functional-programming Problem: Elixir - Supervised processes appear to block program execution Writing a few small experim...
Elixir - Supervised processes appear to block program execution Elixir - Supervised processes appear to block program execution concurrency elixir erlang-otp erlang functional-programming Elixir Supervised Supervisor.start_link __MODULE__ process-1 p-1 process-2 p-2 process-3 p-3 one_for_one trap_exit IO.puts Testing W...
[ -0.0125732421875, 0.0257568359375, -0.00732421875, -0.005828857421875, 0.002105712890625, -0.00555419921875, 0.0228271484375, -0.00640869140625, 0.0216064453125, -0.016357421875, -0.01275634765625, 0.006134033203125, 0.004974365234375, 0.0230712890625, 0.01165771484375, 0.02880859375, ...
[ 25318, 38308, 4265, 1824, 297, 9433, 90, 108975, 47, 46389, 1528, 71924, 108636, 982, 15296, 72, 3066, 818, 254, 123309, 28966, 51858, 17137, 10187, 12013, 397, 915, 5759, 5428, 8316, 1632, 2472, 3630, 63819, 23399, 17780, 7077, 8647, 601, ...
[ 0.155517578125, 0.2861328125, 0.157470703125, 0.2247314453125, 0.0067138671875, 0.1844482421875, 0.0213470458984375, 0.1231689453125, 0.023223876953125, 0.23828125, 0.12060546875, 0.147705078125, 0.14892578125, 0.0789794921875, 0.1024169921875, 0.035614013671875, 0.204345703125, 0....
embed
38943811_c0
38943811
elixir
0
Title: Argument error in changeset Problem title: Argument error in changeset Tags: phoenix-framework, elixir Problem: Argument error in changeset schema "users" do field :name, :string field :username, :string field :password, :string, virtual: true field :password_hash, :string timestamps end def changeset(model, par...
Argument error in changeset Argument error in changeset phoenix-framework elixir ArgumentError Argument Programming Phoenix localhost:4000 GET Processing Rumbl.UserController.new Parameters Pipelines Sent PID Rumbl.Endpoint Server Request erlang.binary_to_existing_atom utf8 changeset.ex:402 Ecto.Changeset.process_empty...
[ 0.0011749267578125, -0.00677490234375, 0.006378173828125, -0.0030059814453125, 0.01434326171875, 0.006134033203125, -0.007720947265625, -0.02099609375, 0.0021820068359375, -0.019287109375, 0.004180908203125, -0.01513671875, 0.0186767578125, 0.041748046875, -0.00347900390625, -0.0247802...
[ 112140, 18499, 23, 65572, 126, 53073, 33, 4084, 160328, 18244, 15296, 38308, 18468, 31611, 27958, 133720, 4000, 40294, 68037, 79794, 123996, 27976, 9030, 1062, 2189, 175904, 54936, 1720, 29089, 93128, 59760, 7146, 152378, 38496, 22687, 75616, 3...
[ 0.323974609375, 0.229736328125, 0.0482177734375, 0.2305908203125, 0.21728515625, 0.047821044921875, 0.062164306640625, 0.118896484375, 0.09661865234375, 0.061279296875, 0.08123779296875, 0.2054443359375, 0.1773681640625, 0.0357666015625, 0.1358642578125, 0.2437744140625, 0.0389404296...
embed
46011294_c1
46011294
elixir
1
slug|_] = article_identifier |> String.split("-") article = XX.YY.get_current_article(slug) case article do nil -> Phoenix.Controller.redirect(conn, to: "/") article -> render conn, "index.html", articles: XX.YY.get_articles_for_menu!(), current_article: article end end def index(conn, _params) do render conn, "index.h...
slug|_] = article_identifier |> String.split("-") article = XX.YY.get_current_article(slug) case article do nil -> Phoenix.Controller.redirect(conn, to: "/") article -> render conn, "index.html", articles: XX.YY.get_articles_for_menu!(), current_article: article end end def index(conn, _params) do render conn, "index.h...
[ -0.0177001953125, -0.0194091796875, 0.00616455078125, -0.007293701171875, -0.005340576171875, 0.00933837890625, -0.0181884765625, -0.035888671875, 0.0030975341796875, -0.061767578125, -0.016357421875, 0.001251220703125, -0.019775390625, 0.00799560546875, -0.000354766845703125, -0.00592...
[ 13584, 177, 58745, 454, 268, 2203, 5582, 42485, 56, 2740, 23351, 214, 7008, 4353, 9, 14214, 108354, 3794, 163812, 26147, 7, 35159, 7225, 54, 17324, 133720, 175904, 603, 107, 80581, 2271, 47, 64, 89159, 158, 19, 4711, 7693, 38440, 2472, ...
[ 0.262451171875, 0.193359375, 0.06402587890625, 0.114013671875, 0.059722900390625, 0.0927734375, 0.2147216796875, 0.2099609375, 0.039031982421875, 0.005157470703125, 0.149169921875, 0.040069580078125, 0.022369384765625, 0.15771484375, 0.0870361328125, 0.1427001953125, 0.158203125, 0...
embed
78029208_c0
78029208
elixir
0
Title: Dialyzer cannot recognize types from dependencies Problem title: Dialyzer cannot recognize types from dependencies Tags: elixir, dialyzer Problem: Dialyzer cannot recognize types from dependencies Background I have an umbrella app where I use a dependecy called ETS . This dependency has a type called set_options...
Dialyzer cannot recognize types from dependencies Dialyzer cannot recognize types from dependencies elixir dialyzer dependencies Dialyzer set_options web_interface persistence.ex:11:20:unknown_type Unknown ETS.set_options ________________________________________________________________________________ persistence.ex:11...
[ -0.0027008056640625, 0.021240234375, -0.01104736328125, 0.00018978118896484375, 0.002960205078125, 0.0035247802734375, -0.030029296875, 0.0064697265625, -0.00225830078125, -0.0157470703125, -0.00063323974609375, -0.023193359375, 0.00640869140625, 0.04150390625, 0.021728515625, 0.017211...
[ 4512, 538, 4383, 53418, 125296, 52895, 1295, 42548, 117538, 15296, 38308, 879, 5423, 109585, 1467, 10433, 40404, 70560, 3355, 19993, 16619, 69723, 50986, 83435, 3509, 12424, 17664, 49966, 128405, 669, 37286, 334, 6456, 112, 4027, 80581, 9007, ...
[ 0.134033203125, 0.156982421875, 0.21728515625, 0.1121826171875, 0.1771240234375, 0.2247314453125, 0.0877685546875, 0.214599609375, 0.1143798828125, 0.041473388671875, 0.17724609375, 0.0994873046875, 0.13671875, 0.210693359375, 0.04241943359375, 0.0545654296875, 0.061309814453125, 0...
embed
40378770_c0
40378770
elixir
0
Title: Encoding json using poison with unicode Problem title: Encoding json using poison with unicode Tags: elixir-poison, elixir Problem: Encoding json using poison with unicode I'm using HTTPoison to get the elixir guide website and then parsing it with Floki to build a HTML 2 Jupyter Notebook transformer (with Markd...
Encoding json using poison with unicode Encoding json using poison with unicode elixir-poison elixir Poison.EncodeError poison Encoding HTTPoison Floki u0060 Floki.text childs_nodes Enum.join Poison.encode Elixir Port Reference PID encoder.ex:377 Poison.Encoder.Any.encode encoder.ex:255 Poison.Encoder.List.encode encod...
[ -0.01019287109375, -0.0091552734375, 0.00604248046875, 0.00018405914306640625, -0.019775390625, -0.004852294921875, 0.015869140625, 0.01300048828125, -0.006805419921875, -0.01953125, -0.00970458984375, -0.0023040771484375, 0.0269775390625, 0.01483154296875, 0.00506591796875, -0.0139770...
[ 357, 587, 1647, 1681, 17368, 5737, 191, 678, 60347, 112, 6238, 15296, 38308, 120178, 64249, 7768, 40899, 18468, 31611, 135913, 31, 40514, 38699, 301, 4598, 22829, 29041, 157, 316, 513, 33, 25318, 13791, 215996, 7146, 22, 820, 3355, 128919, ...
[ 0.06549072265625, 0.208984375, 0.114990234375, 0.2012939453125, 0.04229736328125, 0.204833984375, 0.193603515625, 0.052978515625, 0.1907958984375, 0.1380615234375, 0.0250244140625, 0.0433349609375, 0.201416015625, 0.193603515625, 0.215576171875, 0.06787109375, 0.2142333984375, 0.09...
embed
56512328_c0
56512328
elixir
0
Title: How does the elixir community recommend setting up integration tests with chromedriver? Problem title: How does the elixir community recommend setting up integration tests with chromedriver? Tags: selenium-chromedriver, testing, phoenix-framework, elixir Problem: How does the elixir community recommend setting u...
How does the elixir community recommend setting up integration tests with chromedriver? How does the elixir community recommend setting up integration tests with chromedriver? selenium-chromedriver testing phoenix-framework elixir How How does the elixir community recommend setting up integration tests with chromedrive...
[ -0.0084228515625, 0.004638671875, 0.006439208984375, -0.00439453125, -0.00634765625, 0.0191650390625, -0.01123046875, -0.01263427734375, 0.004669189453125, -0.02685546875, -0.00592041015625, 0.01043701171875, -0.00885009765625, 0.0118408203125, 0.00185394287109375, 0.01422119140625, ...
[ 11249, 15296, 38308, 26908, 67330, 53550, 1257, 157353, 109921, 678, 17656, 13450, 33926, 56, 34894, 53208, 7761, 13, 134234, 53073, 33, 4084, 160328, 18244, 17368, 2291, 7030, 15769, 32102, 6495, 162121, 497, 133720, 38415, 136, 10336, 9393, ...
[ 0.05804443359375, 0.07281494140625, 0.2327880859375, 0.1165771484375, 0.1160888671875, 0.1041259765625, 0.0699462890625, 0.263916015625, 0.250244140625, 0.1253662109375, 0.144287109375, 0.1612548828125, 0.210205078125, 0.118408203125, 0.09161376953125, 0.128662109375, 0.119873046875,...
embed
49985559_c1
49985559
elixir
1
} end end defp get_avatar(%{"email" => email} = attrs) do hash_email = :crypto.hash(:md5, email) |> Base.encode16 {:ok, Map.put(attrs, "avatar", "https://api.adorable.io/avatars/100/#{hash_email}")} end defp check_if_attr_exists(attr) do try do User.one(attr) key = attr |> Map.keys |> List.first |> Atom.to_string {:err...
} end end defp get_avatar(%{"email" => email} = attrs) do hash_email = :crypto.hash(:md5, email) |> Base.encode16 {:ok, Map.put(attrs, "avatar", "https://api.adorable.io/avatars/100/#{hash_email}")} end defp check_if_attr_exists(attr) do try do User.one(attr) key = attr |> Map.keys |> List.first |> Atom.to_string {:err...
[ -0.028564453125, -0.0030517578125, -0.01434326171875, 0.00238037109375, -0.00083160400390625, -0.0113525390625, -0.0037384033203125, -0.00634765625, 0.001434326171875, -0.036376953125, 0.00286865234375, 0.0201416015625, 0.00154876708984375, 0.0260009765625, 0.01708984375, -0.0294189453...
[ 51912, 3564, 8, 420, 254, 2046, 24047, 147, 3949, 25501, 58, 44357, 3340, 8152, 2203, 243, 4295, 16, 54, 1556, 127, 136791, 31, 5, 126234, 132, 54686, 758, 6, 44978, 33, 40899, 2485, 685, 42719, 7077, 27639, 4, 830, 696, 40897, 9601, ...
[ 0.042388916015625, 0.19921875, 0.154296875, 0.143310546875, 0.1400146484375, 0.1365966796875, 0.2193603515625, 0.204833984375, 0.0230560302734375, 0.161376953125, 0.003692626953125, 0.0263519287109375, 0.155517578125, 0.004119873046875, 0.06170654296875, 0.1055908203125, 0.1728515625...
embed
31198882_c1
31198882
elixir
1
_args) do IO.puts("Starting App") Sample.Supervisor.start_link end end supervisor.ex defmodule Sample.Supervisor do use Supervisor def start_link do Supervisor.start_link(__MODULE__, :ok) end def init(:ok) do children = [ worker(Sample.Worker, [[name: :sample_worker]]) ] # one_for_one: If one process dies, the supervi...
_args) do IO.puts("Starting App") Sample.Supervisor.start_link end end supervisor.ex defmodule Sample.Supervisor do use Supervisor def start_link do Supervisor.start_link(__MODULE__, :ok) end def init(:ok) do children = [ worker(Sample.Worker, [[name: :sample_worker]]) ] # one_for_one: If one process dies, the supervi...
[ -0.0146484375, 0.04296875, -0.0191650390625, 0.021484375, -0.0076904296875, 0.00738525390625, 0.01031494140625, -0.01043701171875, 0.01104736328125, -0.0242919921875, 0.00579833984375, 0.01202392578125, 0.040283203125, 0.03173828125, 0.01239013671875, -0.001953125, -0.003814697265625...
[ 101, 61477, 54, 17780, 7077, 126597, 214, 5659, 947, 33209, 73903, 51858, 17137, 10187, 3564, 1601, 3355, 8, 420, 83279, 4527, 4265, 4034, 12013, 397, 685, 23, 217, 20020, 4488, 108259, 11627, 18244, 1632, 2472, 9433, 14792, 10588, 67987, ...
[ 0.04339599609375, 0.1697998046875, 0.052459716796875, 0.1785888671875, 0.0701904296875, 0.16845703125, 0.1331787109375, 0.2080078125, 0.07586669921875, 0.1671142578125, 0.1285400390625, 0.2305908203125, 0.1422119140625, 0.2056884765625, 0.06256103515625, 0.163818359375, 0.12060546875...
embed
52786138_c0
52786138
elixir
0
Title: Using variables created by Macro.var Problem title: Using variables created by Macro.var Tags: macros, elixir Problem: Using variables created by Macro.var I'm trying "templatize" some redundant code. I can get it to generate compiler warnings about unused variables but I get "invalid quoted expressions" with I ...
Using variables created by Macro.var Using variables created by Macro.var macros elixir Using Macro.var Foo __using__ Enum.map Map.new Enum.zip IO.puts Macro Macro.to_string Using variables created by Macro.var I'm trying "templatize" some redundant code. I can get it to generate compiler warnings about unused variable...
[ -0.00762939453125, 0.006591796875, -0.013671875, -0.0098876953125, -0.00127410888671875, 0.008544921875, -0.01129150390625, 0.00738525390625, -0.00775146484375, -0.04833984375, -0.0152587890625, 0.006561279296875, 0.01324462890625, 0.025146484375, -0.001922607421875, -0.004302978515625...
[ 345, 77336, 75935, 390, 4727, 516, 1961, 6953, 7, 111789, 15296, 38308, 9572, 31, 223, 357, 316, 62346, 42719, 54936, 50836, 17780, 188, 91693, 31577, 2982, 70888, 731, 35405, 18151, 139392, 9969, 34759, 1631, 6977, 51, 33740, 73, 7013, 6...
[ 0.06591796875, 0.2529296875, 0.1097412109375, 0.01312255859375, 0.1524658203125, 0.2022705078125, 0.219970703125, 0.008819580078125, 0.0072021484375, 0.2291259765625, 0.08563232421875, 0.22265625, 0.1595458984375, 0.1253662109375, 0.02685546875, 0.109130859375, 0.2208251953125, 0.1...
embed
46238561_c0
46238561
elixir
0
Title: Minimalistic html/javascript package for connecting to Phoenix channels Problem title: Minimalistic html/javascript package for connecting to Phoenix channels Tags: elixir, javascript Problem: Minimalistic html/javascript package for connecting to Phoenix channels I'm looking for a way to create a minimalist dem...
Minimalistic html/javascript package for connecting to Phoenix channels Minimalistic html/javascript package for connecting to Phoenix channels elixir javascript ReferenceError SyntaxError declarations Minimalistic Phoenix app.js phoenix.js Responds Connect GUI Socket socket.connect socket.channel user:anonymous channe...
[ -0.0021209716796875, 0.01409912109375, 0.01324462890625, -0.007476806640625, 0.008056640625, 0.018798828125, 0.0018768310546875, -0.006317138671875, 0.0020599365234375, -0.05419921875, -0.0037384033203125, -0.02490234375, -0.01611328125, 0.01556396484375, -0.01507568359375, 0.005004882...
[ 119305, 48242, 7693, 24071, 32032, 98169, 37067, 133720, 86723, 15296, 38308, 136951, 215996, 18468, 31611, 19010, 86531, 21635, 4027, 28175, 53073, 33, 4084, 138646, 62448, 195490, 1061, 27853, 221, 135457, 17032, 38937, 66, 45757, 513, 130250, ...
[ 0.265380859375, 0.1285400390625, 0.1962890625, 0.1436767578125, 0.1602783203125, 0.1964111328125, 0.1373291015625, 0.2744140625, 0.169189453125, 0.078125, 0.2259521484375, 0.2066650390625, 0.08837890625, 0.108154296875, 0.0377197265625, 0.1170654296875, 0.19873046875, 0.20739746093...
embed
50193065_c0
50193065
elixir
0
Title: Ecto Changeset allowing a virtual association during the changeset isn't working Problem title: Ecto Changeset allowing a virtual association during the changeset isn't working Tags: phoenix-framework, elixir, ecto Problem: Ecto Changeset allowing a virtual association during the changeset isn't workin...
Ecto Changeset allowing a virtual association during the changeset isn't working Ecto Changeset allowing a virtual association during the changeset isn't working phoenix-framework elixir ecto Ecto Changeset App.Picture pictureable_id pictureable_type handle_polymorphic cast_attachments validate_required put_c...
[ 0.0024566650390625, -0.00885009765625, 0.00909423828125, 0.01409912109375, 0.0076904296875, -0.0018463134765625, -0.01953125, -0.00921630859375, -0.01544189453125, -0.0250244140625, 0.009521484375, 0.0267333984375, 0.00144195556640625, 0.035888671875, 0.001800537109375, -0.033203125, ...
[ 241, 44150, 87377, 3509, 190358, 20513, 125413, 20271, 65572, 126, 56112, 3768, 18, 20697, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 5659, 1771, 49726, 2886, 532, 50986, 34831, 135545, 178851, 37702, 235923, 44622, 152028, 108421, 18...
[ 0.0909423828125, 0.285400390625, 0.2469482421875, 0.2266845703125, 0.1453857421875, 0.232421875, 0.24658203125, 0.11962890625, 0.2115478515625, 0.1971435546875, 0.014892578125, 0.08673095703125, 0.04901123046875, 0.149169921875, 0.0430908203125, 0.06512451171875, 0.1317138671875, 0...
embed
38264575_c0
38264575
elixir
0
Title: Multiprocess is less efficient Problem title: Multiprocess is less efficient Tags: elixir Problem: Multiprocess is less efficient I currently learning Elixir through the website exercism.io. I had the problem "Sum Of Multiples" which is: If we list all the natural numbers up to but not including 20 that are mult...
Multiprocess is less efficient Multiprocess is less efficient elixir 1 Multiprocess SumOfMultiples Adds non_neg_integer Enum.reduce is_multiple Enum.map Enum.any Enum.sum Stream.chunk Stream.cycle do_to Multiprocess is less efficient I currently learning Elixir through the website exercism.io. I had the problem "Sum Of...
[ -0.020751953125, 0.0002460479736328125, 0.0004558563232421875, 0.00043487548828125, -0.021728515625, -0.00872802734375, -0.00128173828125, -0.004608154296875, 0.018798828125, -0.056640625, 0.002197265625, 0.01611328125, 0.01434326171875, 0.0272216796875, -0.000579833984375, 0.013793945...
[ 19335, 63923, 83, 40715, 93766, 15296, 38308, 106, 36335, 132887, 50657, 118, 99726, 29117, 351, 86, 177, 6191, 1505, 357, 316, 107, 106357, 144227, 8705, 62346, 4848, 11832, 115061, 3678, 75457, 52080, 25318, 56785, 7, 39, 846, 2967, 294, ...
[ 0.2169189453125, 0.274658203125, 0.08441162109375, 0.1951904296875, 0.23291015625, 0.09405517578125, 0.22705078125, 0.020050048828125, 0.2037353515625, 0.203369140625, 0.1568603515625, 0.1739501953125, 0.2032470703125, 0.1156005859375, 0.0562744140625, 0.007080078125, 0.0645141601562...
embed
73502508_c0
73502508
elixir
0
Title: Somehow Instream.Connection is not picking the defined config in dev environment? Problem title: Somehow Instream.Connection is not picking the defined config in dev environment? Tags: elixir-mix, elixir, influxdb Problem: Somehow Instream.Connection is not picking the defined config in dev environment? I have d...
Somehow Instream.Connection is not picking the defined config in dev environment? Somehow Instream.Connection is not picking the defined config in dev environment? elixir-mix elixir influxdb Somehow Instream.Connection MyModule.InfluxConnection otp_app my_app safe_query safe_write System.get_env INFLUXDB_DB price_servi...
[ -0.0098876953125, 0.005279541015625, 0.01123046875, 0.003662109375, 0.00982666015625, 0.005462646484375, 0.00060272216796875, -0.0267333984375, 0.0103759765625, -0.000946044921875, 0.00066375732421875, -0.01092529296875, 0.0026092529296875, 0.000946044921875, -0.000965118408203125, -0....
[ 47251, 360, 86429, 235603, 1830, 959, 39580, 61924, 153837, 33245, 65998, 71, 38308, 62015, 15296, 26794, 425, 48073, 2646, 91616, 8782, 4153, 18026, 18, 254, 9007, 759, 46002, 18781, 12353, 3794, 334, 5881, 919, 142469, 39463, 27167, 22584, ...
[ 0.0859375, 0.1558837890625, 0.275390625, 0.171630859375, 0.081787109375, 0.047637939453125, 0.1405029296875, 0.172119140625, 0.2314453125, 0.1761474609375, 0.1470947265625, 0.03778076171875, 0.14794921875, 0.16357421875, 0.00152587890625, 0.197998046875, 0.058135986328125, 0.190795...
embed
59995317_c0
59995317
elixir
0
Title: Is there a way to improve speed of generating a list with non-duplicate random numbers in Elixir? Problem title: Is there a way to improve speed of generating a list with non-duplicate random numbers in Elixir? Tags: performance, elixir Problem: Is there a way to improve speed of generating a list with non-dupli...
Is there a way to improve speed of generating a list with non-duplicate random numbers in Elixir? Is there a way to improve speed of generating a list with non-duplicate random numbers in Elixir? performance elixir random datetime Elixir Integer.parse IO.gets Amount What time1 DateTime.now Etc UTC Enum.to_list Enum.red...
[ -0.021240234375, -0.002716064453125, 0.00885009765625, -0.0196533203125, 0.0029144287109375, -0.0184326171875, 0.00927734375, -0.0125732421875, 0.002655029296875, -0.037353515625, 0.015625, 0.036376953125, 0.006683349609375, 0.0189208984375, 0.0023956298828125, 0.0037078857421875, -0...
[ 3917, 52295, 38352, 12663, 1916, 5303, 678, 351, 693, 52721, 96759, 101935, 25318, 38308, 23, 23718, 15296, 5622, 6032, 44401, 2500, 17780, 3794, 121147, 1733, 25512, 70059, 35613, 99577, 357, 316, 188, 6562, 107, 106357, 46258, 152462, 16711...
[ 0.07562255859375, 0.184326171875, 0.1893310546875, 0.131591796875, 0.027740478515625, 0.176025390625, 0.038177490234375, 0.132568359375, 0.0472412109375, 0.117431640625, 0.1561279296875, 0.1195068359375, 0.142578125, 0.29931640625, 0.03021240234375, 0.1533203125, 0.1142578125, 0.04...
embed
27464108_c0
27464108
elixir
0
Title: Phoenix can't start - Missing AppName.Endpoint.start_link Problem title: Phoenix can't start - Missing AppName.Endpoint.start_link Tags: elixir, phoenix-framework Problem: Phoenix can't start - Missing AppName.Endpoint.start_link Pheonix changes so frequently that I'm not sure that what I'm doing is ri...
Phoenix can't start - Missing AppName.Endpoint.start_link Phoenix can't start - Missing AppName.Endpoint.start_link elixir phoenix-framework UndefinedFunctionError Phoenix Missing AppName.Endpoint.start_link phoenix.start INFO REPORT Dec-2014::15:23:08 Mix Could phoenix_crud PhoenixCrud.start PhoenixCrud.Endp...
[ 0.0177001953125, 0.025390625, 0.0191650390625, 0.003021240234375, -0.012451171875, 0.02587890625, -0.005523681640625, -0.00032806396484375, 0.003662109375, -0.0272216796875, 0.002960205078125, -0.006103515625, 0.0218505859375, 0.0286865234375, 0.01153564453125, -0.019287109375, -0.00...
[ 133720, 831, 3768, 18, 4034, 16771, 214, 5659, 163612, 152378, 38496, 17137, 10187, 15296, 38308, 53073, 33, 4084, 160328, 79912, 5983, 97249, 18468, 123552, 145269, 57247, 37286, 191147, 47913, 71, 32721, 29426, 1601, 51858, 38472, 142173, 237...
[ 0.29248046875, 0.082763671875, 0.051788330078125, 0.0830078125, 0.205810546875, 0.128173828125, 0.041290283203125, 0.161376953125, 0.140625, 0.1376953125, 0.162109375, 0.199462890625, 0.239501953125, 0.0328369140625, 0.156982421875, 0.10028076171875, 0.1114501953125, 0.1484375, 0...
embed
78713863_c0
78713863
elixir
0
Title: How to change the tick labels from decimals to integer in ContEx library? Problem title: How to change the tick labels from decimals to integer in ContEx library? Tags: charts, elixir, phoenix-live-view Problem: How to change the tick labels from decimals to integer in ContEx library? Hello fellow learners. I am...
How to change the tick labels from decimals to integer in ContEx library? How to change the tick labels from decimals to integer in ContEx library? charts elixir phoenix-live-view decimals How ContEx Sage scores.sage Scientist scores.scientist Leader scores.leader Warrior scores.warrior Mother scores.mother Entrepreneu...
[ -0.00872802734375, -0.021484375, 0.0142822265625, -0.012939453125, 0.012939453125, 0.0030364990234375, -0.00982666015625, -0.01116943359375, -0.01043701171875, 0.0020904541015625, -0.01458740234375, 0.003875732421875, -0.01373291015625, 0.031982421875, 0.030029296875, -0.00143432617187...
[ 11249, 47, 15549, 1053, 2594, 67967, 7, 1295, 32380, 67553, 892, 1505, 1657, 18, 19279, 35773, 1294, 70, 23, 116287, 15296, 38308, 33, 4084, 24056, 22751, 947, 429, 47763, 4588, 45964, 147305, 38970, 5550, 4726, 115217, 432, 9319, 14400, ...
[ 0.089111328125, 0.0889892578125, 0.1983642578125, 0.203125, 0.1888427734375, 0.255126953125, 0.049835205078125, 0.089599609375, 0.193115234375, 0.1453857421875, 0.17333984375, 0.1871337890625, 0.1241455078125, 0.1502685546875, 0.195068359375, 0.159423828125, 0.04302978515625, 0.016...
embed
44895966_c0
44895966
elixir
0
Title: Phoenix 1.3 problems adding custom action "No function clause ... " Problem title: Phoenix 1.3 problems adding custom action "No function clause ... " Tags: phoenix-framework, elixir Problem: Phoenix 1.3 problems adding custom action "No function clause ... " Few day ago, I started using Phoe...
Phoenix 1.3 problems adding custom action "No function clause ... " Phoenix 1.3 problems adding custom action "No function clause ... " phoenix-framework elixir Phoenix UserController EventController event_id current_user put_status put_flash You Event page_path user_event_path event.user current_us...
[ -0.01495361328125, -0.00168609619140625, 0.01611328125, -0.0225830078125, -0.014404296875, 0.0059814453125, 0.00176239013671875, 0.0108642578125, 0.02978515625, -0.055908203125, -0.036865234375, -0.016845703125, -0.0047607421875, -0.007232666015625, 0.00119781494140625, -0.009399414062...
[ 133720, 41491, 44402, 154107, 114122, 22631, 5021, 32354, 70731, 41502, 33, 4084, 160328, 15296, 38308, 53400, 175904, 603, 36943, 19732, 532, 43581, 65918, 3884, 45215, 5544, 2583, 9191, 128405, 38937, 90141, 5440, 113053, 8945, 25208, 60785, ...
[ 0.2391357421875, 0.2291259765625, 0.1363525390625, 0.12890625, 0.1732177734375, 0.1998291015625, 0.11328125, 0.1973876953125, 0.209716796875, 0.001251220703125, 0.05340576171875, 0.047119140625, 0.0318603515625, 0.0126953125, 0.1058349609375, 0.06591796875, 0.1436767578125, 0.03004...
embed
47889905_c0
47889905
elixir
0
Title: Adding aggregate fields to elixir graphql Problem title: Adding aggregate fields to elixir graphql Tags: phoenix-framework, graphql, elixir, absinthe Problem: Adding aggregate fields to elixir graphql I am using absinthe with elixir (phoenix 1.3). I have a blog app that has Users, Posts, and Likes, and the likes...
Adding aggregate fields to elixir graphql Adding aggregate fields to elixir graphql phoenix-framework graphql elixir absinthe like Adding many_to_many liked_posts MyApp.Content.Post join_through liking_users MyApp.Accounts.User belongs_to liked_by Title MyApp.Content.Like like.post_id Post.getLikeCount resolution.sourc...
[ 0.01165771484375, 0.0015869140625, -0.0284423828125, 0.0126953125, 0.0074462890625, 0.0024261474609375, 0.016845703125, 0.004974365234375, 0.01416015625, -0.05908203125, -0.0135498046875, 0.0010528564453125, 0.00188446044921875, -0.007232666015625, 0.0026702880859375, -0.00759887695312...
[ 62, 59725, 197564, 13, 44457, 7, 47, 15296, 38308, 41382, 99247, 53073, 33, 4084, 160328, 1563, 1596, 2347, 1884, 5941, 188, 669, 53, 71, 4594, 2646, 39179, 25352, 49411, 33284, 222521, 400, 6048, 223, 71013, 10617, 1272, 48962, 156607, 2...
[ 0.08221435546875, 0.1058349609375, 0.2484130859375, 0.130126953125, 0.2484130859375, 0.0567626953125, 0.06768798828125, 0.10113525390625, 0.2332763671875, 0.1767578125, 0.222900390625, 0.04681396484375, 0.0806884765625, 0.13134765625, 0.113525390625, 0.148193359375, 0.1358642578125, ...
embed
43395455_c0
43395455
elixir
0
Title: Phoenix: Controller test vs view test? Problem title: Phoenix: Controller test vs view test? Tags: elixir, phoenix-framework Problem: Phoenix: Controller test vs view test? I have a controller: defmodule ParrotApi.MeetupController do use ParrotApi.Web, :controller alias ParrotApi.Meetup def index(conn, _params) ...
Phoenix: Controller test vs view test? Phoenix: Controller test vs view test? elixir phoenix-framework Logger Phoenix Controller ParrotApi.MeetupController ParrotApi.Web ParrotApi.Meetup _params one_hour_ago Timex.now Timex.shift Timex.to_unix Meetup m.timestamp Repo.all Repo.preload ParrotApi.MeetupView index.json ren...
[ -0.0120849609375, -0.0026397705078125, -0.00139617919921875, -0.0172119140625, 0.0167236328125, -0.00946044921875, -0.0145263671875, -0.021484375, 0.014404296875, -0.034912109375, -0.03857421875, 0.0267333984375, 0.00628662109375, 0.0089111328125, -0.002838134765625, 0.0250244140625, ...
[ 133720, 12, 27131, 603, 3034, 20209, 21455, 15296, 38308, 53073, 33, 4084, 160328, 18244, 64906, 56, 2392, 16210, 284, 1434, 6696, 126, 2037, 175904, 30474, 2500, 1632, 497, 13906, 19055, 425, 35613, 3767, 2480, 188, 309, 72626, 6032, 590, ...
[ 0.2626953125, 0.07550048828125, 0.224365234375, 0.1932373046875, 0.26708984375, 0.1717529296875, 0.281005859375, 0.0248565673828125, 0.193115234375, 0.049285888671875, 0.06378173828125, 0.105224609375, 0.0885009765625, 0.032684326171875, 0.1488037109375, 0.012542724609375, 0.02307128...
embed
75409050_c0
75409050
elixir
0
Title: How to get the top X results of a given category using Ecto? Problem title: How to get the top X results of a given category using Ecto? Tags: elixir, ecto Problem: How to get the top X results of a given category using Ecto? Background I have to queries that return a colossal amount of data on their own. I cann...
How to get the top X results of a given category using Ecto? How to get the top X results of a given category using Ecto? elixir ecto Ecto How Repo.all all_counts table_A item_A item_B table_B item_A.home_id item_B.home_id item_A.path item_B.path unfiltered_item filtered_item item_fruits_count item_A.fruits item_veggie...
[ 0.025146484375, 0.00042724609375, -0.0019989013671875, -0.00946044921875, -0.01055908203125, 0.007232666015625, -0.00927734375, -0.0228271484375, 0.0269775390625, -0.03662109375, -0.0015411376953125, -0.00323486328125, 0.00150299072265625, 0.006378173828125, 0.0026702880859375, -0.0043...
[ 11249, 2046, 2663, 1193, 50339, 34475, 95487, 17368, 241, 44150, 47, 70, 15296, 38308, 60751, 853, 771, 5, 5584, 756, 71013, 23180, 35735, 29552, 128405, 51, 120337, 217, 46312, 23129, 31998, 124308, 2053, 11435, 7319, 532, 8520, 5368, 1618...
[ 0.0784912109375, 0.128662109375, 0.16259765625, 0.2154541015625, 0.212158203125, 0.1092529296875, 0.1905517578125, 0.1038818359375, 0.132080078125, 0.308837890625, 0.004791259765625, 0.00701904296875, 0.056671142578125, 0.19677734375, 0.246826171875, 0.124755859375, 0.209716796875, ...
embed
43188260_c0
43188260
elixir
0
Title: How to fix error 'Could not check origin for Phoenix.Socket transport'? (Phoenix 1.2.1) Problem title: How to fix error 'Could not check origin for Phoenix.Socket transport'? (Phoenix 1.2.1) Tags: phoenix-framework, subdomain, elixir Problem: How to fix error 'Could not check origin for Phoen...
How to fix error 'Could not check origin for Phoenix.Socket transport'? (Phoenix 1.2.1) How to fix error 'Could not check origin for Phoenix.Socket transport'? (Phoenix 1.2.1) phoenix-framework subdomain elixir How Could Phoenix.Socket Phoenix Not check_origin UserSocket example.com another.com:888 ...
[ 0.0002422332763671875, 0.01165771484375, -0.0024566650390625, -0.00726318359375, 0.015380859375, -0.002532958984375, -0.013916015625, 0.0033721923828125, 0.00244140625, -0.01190185546875, -0.00156402587890625, -0.002655029296875, 0.0247802734375, -0.0135498046875, -0.0181884765625, 0.0...
[ 11249, 30022, 18499, 3768, 10625, 52366, 959, 12765, 59665, 100, 133720, 8912, 27853, 6181, 497, 33, 4084, 112842, 53073, 160328, 1614, 56206, 15296, 38308, 191147, 11205, 3929, 6820, 53400, 27781, 15700, 277, 49543, 3789, 194351, 90, 1176, 9...
[ 0.008819580078125, 0.12646484375, 0.1917724609375, 0.10284423828125, 0.03460693359375, 0.1282958984375, 0.1175537109375, 0.2198486328125, 0.268310546875, 0.029754638671875, 0.258544921875, 0.0966796875, 0.1614990234375, 0.223388671875, 0.0565185546875, 0.115478515625, 0.127685546875,...
embed
44172256_c0
44172256
elixir
0
Title: Elixir - Starting Agent to test Problem title: Elixir - Starting Agent to test Tags: elixir Problem: Elixir - Starting Agent to test I'm testing an endpoint to a ReST Api and the I'm storing the api key on an Agent which then I proceed to get the key from, I first added the Agent to a supervision tree and it was...
Elixir - Starting Agent to test Elixir - Starting Agent to test elixir RuntimeError Supervisor.Spec Elixir Starting Agent setup_all Module.start_link Valvex Supervisor.start_link one_for_one Obviously start_link Application.get_env System.get_env STEAM_TOKEN Agent.start_link __MODULE__ ExUnit ValvexTest PID Elixir - St...
[ -0.01416015625, 0.006072998046875, -0.0030975341796875, -0.0263671875, 0.01092529296875, -0.0137939453125, 0.018798828125, -0.005584716796875, -0.009033203125, -0.0260009765625, -0.01336669921875, 0.03662109375, 0.00958251953125, 0.0233154296875, 0.000949859619140625, -0.0159912109375,...
[ 25318, 38308, 13794, 214, 54603, 47, 3034, 15296, 28398, 6032, 18468, 31611, 4265, 51858, 47107, 169581, 5584, 63014, 17137, 10187, 4769, 272, 425, 1632, 3630, 4034, 104921, 3794, 33, 334, 12353, 202540, 8727, 47884, 12013, 5443, 85600, 11133...
[ 0.1385498046875, 0.27197265625, 0.14404296875, 0.11376953125, 0.2418212890625, 0.03228759765625, 0.20263671875, 0.0797119140625, 0.0225067138671875, 0.00592041015625, 0.09490966796875, 0.057952880859375, 0.1583251953125, 0.20263671875, 0.14013671875, 0.1544189453125, 0.14501953125, ...
embed
43891367_c0
43891367
elixir
0
Title: How to import users from csv file with elixir/phoenix? Problem title: How to import users from csv file with elixir/phoenix? Tags: elixir, phoenix-framework Problem: How to import users from csv file with elixir/phoenix? I have a csv file with a list of users and the following import method inside UserController...
How to import users from csv file with elixir/phoenix? How to import users from csv file with elixir/phoenix? elixir phoenix-framework users csv How user_params File.stream CSV.decode Enum.each User.changeset User Enum.at Repo.insert put_flash Imported user_path UsersController import_csv import_form.html import_csv_pa...
[ -0.0224609375, -0.0140380859375, -0.005035400390625, 0.01165771484375, 0.006256103515625, 0.0159912109375, -0.0068359375, -0.01507568359375, -0.004547119140625, -0.0296630859375, -0.0235595703125, -0.02978515625, 0.006439208984375, 0.05517578125, -0.00160980224609375, -0.0196533203125,...
[ 11249, 47, 24927, 72095, 1295, 20763, 334, 11435, 678, 15296, 38308, 22014, 33, 4084, 53073, 160328, 18244, 38937, 2500, 8256, 42724, 86429, 313, 43486, 112, 40899, 357, 316, 41581, 53400, 152028, 3509, 257, 771, 33657, 3884, 5544, 92966, 1...
[ 0.0703125, 0.001800537109375, 0.276123046875, 0.285400390625, 0.123291015625, 0.1455078125, 0.2322998046875, 0.1573486328125, 0.087890625, 0.0772705078125, 0.203857421875, 0.06744384765625, 0.12255859375, 0.1534423828125, 0.08233642578125, 0.0760498046875, 0.04400634765625, 0.22143...
embed
46651861_c0
46651861
elixir
0
Title: Docker error: standard_init_linux.go:185: exec user process caused "no such file or directory" Problem title: Docker error: standard_init_linux.go:185: exec user process caused "no such file or directory" Tags: postgresql, phoenix-framework, elixir, docker, docker-compose Problem: Docker erro...
Docker error: standard_init_linux.go:185: exec user process caused "no such file or directory" Docker error: standard_init_linux.go:185: exec user process caused "no such file or directory" postgresql phoenix-framework elixir docker docker-compose the Docker standard_init_linux.go:185 Dockerfile Sta...
[ 0.0123291015625, 0.00885009765625, -0.0017547607421875, 0.0233154296875, 0.005126953125, 0.0238037109375, 0.0078125, -0.0135498046875, 0.004669189453125, -0.0242919921875, 0.022705078125, 0.0091552734375, 0.0250244140625, 0.0361328125, -0.01495361328125, 0.00933837890625, -0.02404785...
[ 984, 11050, 18499, 5570, 73, 217, 2397, 6077, 519, 146111, 1119, 3240, 38937, 9433, 143434, 157, 6044, 11435, 707, 14364, 1305, 17562, 99247, 53073, 33, 4084, 160328, 15296, 38308, 54, 277, 78381, 29048, 58442, 133, 13794, 25318, 26708, 246...
[ 0.1512451171875, 0.305908203125, 0.193603515625, 0.1885986328125, 0.06341552734375, 0.119140625, 0.0943603515625, 0.13427734375, 0.134521484375, 0.271728515625, 0.08843994140625, 0.182861328125, 0.163330078125, 0.1424560546875, 0.148193359375, 0.1014404296875, 0.1434326171875, 0.18...
embed
40005119_c0
40005119
elixir
0
Title: In Elixir, using a simple_one_for_one supervisor and start_child, how can I set the child's ID in the supervisor? Problem title: In Elixir, using a simple_one_for_one supervisor and start_child, how can I set the child's ID in the supervisor? Tags: elixir, erlang-otp Problem: In Elixir, using a simple_...
In Elixir, using a simple_one_for_one supervisor and start_child, how can I set the child's ID in the supervisor? In Elixir, using a simple_one_for_one supervisor and start_child, how can I set the child's ID in the supervisor? elixir erlang-otp a Elixir simple_one_for_one start_child SupervisorTest.Worker.Su...
[ -0.02197265625, -0.000484466552734375, -0.00138092041015625, 0.003753662109375, 0.00921630859375, -0.01275634765625, 0.0211181640625, -0.0096435546875, 0.0123291015625, -0.01495361328125, -0.003173828125, 0.0146484375, -0.0081787109375, 0.034423828125, -0.0074462890625, -0.009826660156...
[ 25318, 38308, 17368, 8781, 3630, 2472, 1601, 51858, 4034, 206, 38472, 3642, 831, 5423, 70, 29041, 3768, 11338, 23, 15296, 72, 3066, 818, 254, 4265, 111337, 108259, 5, 73903, 10187, 17137, 12013, 397, 129984, 18244, 56, 15937, 193348, 85763,...
[ 0.12109375, 0.2427978515625, 0.0284271240234375, 0.1348876953125, 0.0704345703125, 0.07403564453125, 0.1832275390625, 0.2578125, 0.1417236328125, 0.1077880859375, 0.153076171875, 0.0487060546875, 0.03399658203125, 0.180908203125, 0.049468994140625, 0.2232666015625, 0.05401611328125, ...
embed
35278344_c0
35278344
elixir
0
Title: Docker compose linking appears to not work Problem title: Docker compose linking appears to not work Tags: docker-compose, docker, elixir, phoenix-framework, postgresql Problem: Docker compose linking appears to not work I'm using Docker Compose to run an Elixir/Phoenix app in development. The setup is pretty st...
Docker compose linking appears to not work Docker compose linking appears to not work docker-compose docker elixir phoenix-framework postgresql Docker Dockerfile ubuntu:14.04 MAINTAINER example.com RUN en_US.UTF-8 ENV LANG LANGUAGE en_US:en LC_ALL DEBIAN_FRONTEND packages.erlang-solutions.com erlang-solutions_1.0_all.d...
[ 0.0048828125, 0.0037994384765625, -0.0103759765625, 0.0274658203125, -0.00262451171875, 0.03515625, -0.01251220703125, -0.004364013671875, 0.0079345703125, -0.00994873046875, -0.01025390625, 0.0029144287109375, 0.0262451171875, 0.01446533203125, -0.019775390625, 0.004638671875, -0.01...
[ 984, 11050, 150350, 3126, 214, 135179, 959, 4488, 54, 277, 78381, 15296, 38308, 53073, 33, 4084, 160328, 17562, 99247, 29048, 58442, 133, 198996, 22635, 7709, 9267, 99820, 25585, 27781, 130747, 22, 8762, 17376, 856, 73386, 3358, 98064, 26943,...
[ 0.1397705078125, 0.259521484375, 0.310791015625, 0.1978759765625, 0.1236572265625, 0.096923828125, 0.076171875, 0.153076171875, 0.10113525390625, 0.1593017578125, 0.21044921875, 0.0310516357421875, 0.1884765625, 0.032135009765625, 0.07403564453125, 0.095947265625, 0.035003662109375, ...
embed
42574666_c0
42574666
elixir
0
Title: "Elixir + phoenix" filtering websocket messages Problem title: "Elixir + phoenix" filtering websocket messages Tags: elixir, phoenix-framework, websocket Problem: "Elixir + phoenix" filtering websocket messages I try to preprocess websocket incoming messages. In lobby_channel.ex file I have: ...
"Elixir + phoenix" filtering websocket messages "Elixir + phoenix" filtering websocket messages elixir phoenix-framework websocket ArgumentError Elixir lobby_channel.ex Chatroom.LobbyChannel Phoenix.Channel room:lobby _payload _private_room_id _params _socket handle_in new_move Chatroom.Move.changes...
[ -0.007232666015625, -0.00048828125, -0.00738525390625, 0.00738525390625, 0.0159912109375, 0.0247802734375, 0.00299072265625, 0.01544189453125, 0.0068359375, -0.012451171875, 0.004974365234375, -0.00110626220703125, 0.01129150390625, 0.017578125, -0.0225830078125, 0.0115966796875, -0....
[ 647, 150, 38308, 997, 53073, 33, 4084, 46312, 214, 1467, 991, 27853, 89914, 15296, 160328, 112140, 18468, 31611, 25318, 120806, 17032, 8876, 3355, 18032, 28905, 15363, 60060, 127008, 133720, 17155, 365, 21284, 63033, 158559, 2500, 34831, 3525, ...
[ 0.0185394287109375, 0.0848388671875, 0.240966796875, 0.173583984375, 0.0887451171875, 0.12158203125, 0.15478515625, 0.1883544921875, 0.01739501953125, 0.0697021484375, 0.1058349609375, 0.1337890625, 0.1474609375, 0.072998046875, 0.063720703125, 0.22412109375, 0.1441650390625, 0.032...
embed
65446116_c0
65446116
elixir
0
Title: GenServer with 1 HTTP request per second Problem title: GenServer with 1 HTTP request per second Tags: elixir Problem: GenServer with 1 HTTP request per second I have made this genserver defmodule Recorder do use GenServer def start_link(args) do id = Map.get(args, :id) GenServer.start_link(__MODULE__, args, nam...
GenServer with 1 HTTP request per second GenServer with 1 HTTP request per second elixir GenServer HTTP Recorder start_link Map.get GenServer.start_link __MODULE__ schedule_fetch_call handle_info jpeg_fetch IO.inspect DateTime.utc_now Fincher.request state.url Map.put Process.send_after get_children Enum.map image.jpg ...
[ -0.0203857421875, -0.0023651123046875, -0.004638671875, -0.0235595703125, -0.01123046875, 0.005889892578125, 0.01165771484375, -0.0191650390625, -0.004180908203125, -0.05029296875, -0.00077056884765625, 0.01348876953125, 0.00482177734375, -0.0025634765625, 0.00836181640625, -0.00221252...
[ 15937, 193348, 678, 106, 135913, 50336, 117, 17932, 15296, 38308, 54877, 4034, 10187, 42719, 17137, 12013, 397, 80889, 29362, 85763, 34831, 7319, 215109, 17780, 16711, 70059, 13316, 5372, 75616, 11341, 123996, 39285, 46327, 2046, 237052, 316, 6...
[ 0.193359375, 0.258544921875, 0.00714111328125, 0.1448974609375, 0.2225341796875, 0.223876953125, 0.08837890625, 0.2236328125, 0.062164306640625, 0.1658935546875, 0.11181640625, 0.05035400390625, 0.0740966796875, 0.094970703125, 0.06634521484375, 0.0206451416015625, 0.0001220703125, ...
embed
59394149_c0
59394149
elixir
0
Title: How to generate Signed URL for google cloud storage objects using service-accounts-for-instances Problem title: How to generate Signed URL for google cloud storage objects using service-accounts-for-instances Tags: google-cloud-platform, google-cloud-storage, elixir Problem: How to generate Signed URL for google...
How to generate Signed URL for google cloud storage objects using service-accounts-for-instances How to generate Signed URL for google cloud storage objects using service-accounts-for-instances google-cloud-platform google-cloud-storage elixir service-accounts-for-instances the How Signed URL service_account project_id...
[ 0.0185546875, 0.0252685546875, -0.0002498626708984375, -0.033203125, 0.011962890625, -0.0108642578125, -0.00482177734375, -0.0072021484375, -0.0037841796875, -0.0157470703125, -0.00921630859375, -0.039306640625, 0.01226806640625, 0.0096435546875, 0.0216064453125, -0.025634765625, -0....
[ 11249, 47, 139392, 48838, 297, 31862, 100, 26484, 76746, 132096, 36746, 4516, 213499, 2472, 116071, 182422, 172121, 140464, 15296, 38308, 13452, 14375, 136442, 19770, 108526, 221061, 186104, 23282, 25501, 759, 95322, 11065, 177, 22584, 531, 1162,...
[ 0.089111328125, 0.0210113525390625, 0.2113037109375, 0.235595703125, 0.132080078125, 0.2724609375, 0.0234222412109375, 0.16162109375, 0.1881103515625, 0.205078125, 0.1861572265625, 0.1708984375, 0.2188720703125, 0.060882568359375, 0.1287841796875, 0.10791015625, 0.05670166015625, 0...
embed
33982990_c0
33982990
elixir
0
Title: assign @changeset not available in eex template Problem title: assign @changeset not available in eex template Tags: phoenix-framework, elixir, ecto Problem: assign @changeset not available in eex template I am trying to learn the Phoenix's Form system with including the Ecto.Model's but i have encountered a pro...
assign @changeset not available in eex template assign @changeset not available in eex template phoenix-framework elixir ecto form_for user_path Login text_input Password password_input Name Surname Email email_input Phone Submit _params User.changeset User index.html IO.inspect Kpsz.Model.User Kpsz.Web phone_number ha...
[ -0.005767822265625, 0.00061798095703125, 0.01348876953125, -0.0296630859375, 0.01300048828125, -0.003997802734375, -0.0169677734375, -0.0027313232421875, 0.005401611328125, -0.039306640625, 0.00921630859375, -0.0167236328125, 0.02783203125, 0.041259765625, 0.006866455078125, -0.0244140...
[ 95486, 1374, 152028, 3509, 959, 19882, 23, 28, 3355, 110934, 53073, 33, 4084, 160328, 15296, 38308, 60751, 3173, 2472, 38937, 128405, 122986, 7986, 170461, 78506, 8018, 14886, 41761, 8273, 2500, 8256, 53400, 63262, 17780, 16711, 254, 1330, 14...
[ 0.279541015625, 0.159423828125, 0.2322998046875, 0.2337646484375, 0.0953369140625, 0.1893310546875, 0.06109619140625, 0.0711669921875, 0.18798828125, 0.2423095703125, 0.027191162109375, 0.03985595703125, 0.08837890625, 0.08404541015625, 0.040008544921875, 0.157958984375, 0.2294921875...
embed
44512534_c0
44512534
elixir
0
Title: Elixir Phoenix setting and using environment variables Problem title: Elixir Phoenix setting and using environment variables Tags: elixir, oauth, ueberauth, phoenix-framework Problem: Elixir Phoenix setting and using environment variables I have a phoenix app that is making an OAuth call to github. I want to sto...
Elixir Phoenix setting and using environment variables Elixir Phoenix setting and using environment variables elixir oauth ueberauth phoenix-framework environment Elixir Phoenix GITHUB_CLIENT_ID config.exs System.Config Ueberauth.Strategy.Github.OAuth client_id System.get_env client_secret GITHUB_SECRET_ID localhost:40...
[ -0.0023040771484375, 0.0184326171875, -0.01409912109375, -0.00250244140625, 0.011962890625, 0.0084228515625, -0.01153564453125, -0.01336669921875, -0.003448486328125, -0.0201416015625, -0.0164794921875, -0.009033203125, 0.0107421875, 0.0069580078125, -0.01495361328125, 0.01025390625, ...
[ 25318, 38308, 133720, 53550, 136, 17368, 65998, 77336, 15296, 36, 916, 927, 30108, 34, 53073, 33, 4084, 160328, 6371, 199324, 10927, 7146, 153837, 3355, 12353, 83671, 345, 97315, 217, 32102, 44593, 23282, 3794, 334, 164054, 9127, 441, 41116, ...
[ 0.139892578125, 0.248291015625, 0.30078125, 0.173583984375, 0.005523681640625, 0.093505859375, 0.16259765625, 0.2337646484375, 0.0791015625, 0.0804443359375, 0.1658935546875, 0.093994140625, 0.05780029296875, 0.109375, 0.07757568359375, 0.10498046875, 0.137451171875, 0.069091796875...
embed
68776587_c0
68776587
elixir
0
Title: Ecto.Multi - insert two related records Problem title: Ecto.Multi - insert two related records Tags: phoenix-framework, elixir, ecto Problem: Ecto.Multi - insert two related records I am trying to insert two related records. When I try to create a new user. I would like to first create a record in the pools tabl...
Ecto.Multi - insert two related records Ecto.Multi - insert two related records phoenix-framework elixir ecto Postgrex.Error Ecto.Multi full_name password_digest belongs_to EmployeeRewardApp.Role has_one EmployeeRewardApp.Points.Pool Virtual Fields password_confirmation role_id validate_required cast_assoc starting_poi...
[ -0.039794921875, -0.019287109375, -0.0084228515625, 0.000293731689453125, 0.008544921875, 0.0164794921875, -0.0245361328125, -0.0341796875, 0.019287109375, -0.039794921875, 0.0064697265625, 0.01263427734375, 0.0040283203125, 0.035400390625, 0.0159912109375, -0.021240234375, -0.011840...
[ 241, 44150, 5, 50657, 118, 183540, 6626, 62548, 115923, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 2795, 7134, 425, 18468, 31611, 4393, 454, 11627, 78506, 4803, 186, 10617, 7, 365, 1033, 19364, 39179, 12724, 3630, 13, 147534, 7192...
[ 0.09405517578125, 0.288330078125, 0.015380859375, 0.221923828125, 0.229248046875, 0.2437744140625, 0.17529296875, 0.2059326171875, 0.2039794921875, 0.0164794921875, 0.040863037109375, 0.0936279296875, 0.101806640625, 0.02166748046875, 0.03472900390625, 0.169189453125, 0.2159423828125...
embed
47586018_c0
47586018
elixir
0
Title: Create join table with Elixir and Phoenix Problem title: Create join table with Elixir and Phoenix Tags: phoenix-framework, elixir, ecto Problem: Create join table with Elixir and Phoenix I have Users and Leagues and then a join table users_leagues . The goal of what I'm trying do is simple create the join when ...
Create join table with Elixir and Phoenix Create join table with Elixir and Phoenix phoenix-framework elixir ecto Ecto Ecto.Changeset Ecto.Query Create Elixir Phoenix Users Leagues users_leagues Statcasters.League Ecto.Schema has_many Statcasters.Teams.Team Statcasters.UsersLeagues Statcasters.Coherence.User Coherence....
[ -0.003875732421875, -0.0269775390625, -0.0079345703125, -0.0191650390625, 0.009521484375, 0.0238037109375, -0.00933837890625, -0.006988525390625, 0.0206298828125, -0.02783203125, -0.004913330078125, 0.005462646484375, 0.0126953125, 0.0009613037109375, -0.0045166015625, 0.009521484375, ...
[ 151313, 33284, 23180, 678, 25318, 38308, 136, 133720, 53073, 33, 4084, 160328, 18244, 15296, 60751, 241, 44150, 127008, 4188, 126, 41732, 53400, 19175, 72095, 14507, 23888, 408, 37499, 233353, 25452, 11883, 1556, 669, 101409, 1062, 7, 1314, 3...
[ 0.133544921875, 0.2362060546875, 0.251708984375, 0.1064453125, 0.1185302734375, 0.2440185546875, 0.1104736328125, 0.252197265625, 0.04522705078125, 0.09796142578125, 0.11181640625, 0.0985107421875, 0.06036376953125, 0.06689453125, 0.182861328125, 0.05096435546875, 0.22607421875, 0....
embed
60786011_c0
60786011
elixir
0
Title: How to rollback database in docker container using elixir phoenix releases and the example MyApp.Release.rollback in the guides Problem title: How to rollback database in docker container using elixir phoenix releases and the example MyApp.Release.rollback in the guides Tags: phoenix-framework, database-migratio...
How to rollback database in docker container using elixir phoenix releases and the example MyApp.Release.rollback in the guides How to rollback database in docker container using elixir phoenix releases and the example MyApp.Release.rollback in the guides phoenix-framework database-migration docker ecto elixir RuntimeE...
[ -0.00653076171875, 0.0194091796875, 0.0093994140625, 0.007659912109375, -0.00970458984375, 0.0133056640625, -0.00897216796875, -0.02978515625, -0.009033203125, -0.0047607421875, 0.0218505859375, -0.0002498626708984375, 0.0233154296875, 0.01019287109375, -0.004119873046875, -0.006469726...
[ 11249, 47, 21972, 12620, 63399, 23, 54, 11050, 116419, 15296, 38308, 53073, 33, 4084, 54452, 27781, 2646, 39179, 133, 27722, 17997, 160328, 58849, 60751, 28398, 18468, 26824, 683, 7146, 87845, 49068, 17562, 27980, 246, 10433, 759, 9007, 18548...
[ 0.06976318359375, 0.007965087890625, 0.2064208984375, 0.282958984375, 0.2384033203125, 0.0745849609375, 0.108154296875, 0.2332763671875, 0.2357177734375, 0.08172607421875, 0.1943359375, 0.0665283203125, 0.1048583984375, 0.1195068359375, 0.1434326171875, 0.1285400390625, 0.08923339843...
embed
50917366_c0
50917366
elixir
0
Title: Ecto.Repo receives a struct that does not implement Access behaviour Problem title: Ecto.Repo receives a struct that does not implement Access behaviour Tags: phoenix-framework, functional-programming, elixir Problem: Ecto.Repo receives a struct that does not implement Access behaviour i have a problem with an E...
Ecto.Repo receives a struct that does not implement Access behaviour Ecto.Repo receives a struct that does not implement Access behaviour phoenix-framework functional-programming elixir UndefinedFunctionError Ecto.Changeset Ecto.Repo Access Elixirserver.Transactions.Bank Elixirserver.ContentDump Ecto.Schema Elixirserve...
[ 0.0033721923828125, 0.0003414154052734375, 0.004669189453125, 0.0078125, 0.00732421875, 0.005462646484375, -0.006561279296875, 0.01025390625, 0.022216796875, -0.010009765625, 0.03662109375, 0.0167236328125, 0.00848388671875, 0.00118255615234375, 0.0218505859375, -0.0032501220703125, ...
[ 241, 44150, 4332, 771, 53299, 36716, 450, 14602, 959, 29479, 40266, 224833, 5, 53073, 33, 4084, 160328, 123309, 28966, 15296, 38308, 79912, 5983, 97249, 18468, 127008, 126, 25318, 39642, 62624, 44713, 70323, 25352, 17726, 2676, 25452, 11883, ...
[ 0.09552001953125, 0.305908203125, 0.152099609375, 0.22119140625, 0.099853515625, 0.1953125, 0.003814697265625, 0.04144287109375, 0.1190185546875, 0.1915283203125, 0.2469482421875, 0.213623046875, 0.0214080810546875, 0.024322509765625, 0.05902099609375, 0.1158447265625, 0.107482910156...
embed
52362392_c0
52362392
elixir
0
Title: GenServer's code_change got invoked again even if vsn is fixed to last version in successive hot code upgrade? Problem title: GenServer's code_change got invoked again even if vsn is fixed to last version in successive hot code upgrade? Tags: elixir Problem: GenServer's code_change got invoked again ev...
GenServer's code_change got invoked again even if vsn is fixed to last version in successive hot code upgrade? GenServer's code_change got invoked again even if vsn is fixed to last version in successive hot code upgrade? elixir GenServer code_change server.ex next_number Sequence.Server.next_number Sequence....
[ -0.01116943359375, -0.0002002716064453125, 0.01495361328125, 0.028564453125, 0.0223388671875, -0.024169921875, -0.0206298828125, 0.000293731689453125, 0.00714111328125, 0.0157470703125, -0.0031585693359375, -0.005889892578125, 0.00311279296875, 0.0216064453125, 0.03125, -0.017333984375...
[ 15937, 193348, 3768, 18151, 152028, 23, 23253, 13438, 20209, 19, 188347, 4568, 11389, 208479, 8010, 116086, 83, 47, 15296, 38308, 10723, 3355, 11737, 2606, 944, 29062, 158661, 17932, 54452, 53418, 20600, 65771, 18499, 12684, 32354, 9433, 11341,...
[ 0.159912109375, 0.2406005859375, 0.0643310546875, 0.171142578125, 0.25390625, 0.001708984375, 0.1505126953125, 0.151123046875, 0.0750732421875, 0.0789794921875, 0.1376953125, 0.087890625, 0.14208984375, 0.080810546875, 0.13720703125, 0.202880859375, 0.001495361328125, 0.04208374023...
embed
66023428_c0
66023428
elixir
0
Title: Calling a GenServer fails due to an incorrect name Problem title: Calling a GenServer fails due to an incorrect name Tags: elixir, gen-server Problem: Calling a GenServer fails due to an incorrect name I have this GenServer in a library: defmodule MyLib.Cache do use GenServer def start_link([]) do IO.puts("****c...
Calling a GenServer fails due to an incorrect name Calling a GenServer fails due to an incorrect name elixir gen-server Supervisor.Spec Calling GenServer MyLib.Cache start_link IO.puts __MODULE__ GenServer.start_link MyLibCache MyApp.Application Application _type _args Phoenix.PubSub MyApp.PubSub Phoenix.PubSub.PG2 MyL...
[ -0.010498046875, 0.01336669921875, 0.00096893310546875, 0.00970458984375, -0.007781982421875, -0.0052490234375, 0.00579833984375, -0.01708984375, -0.0162353515625, -0.035400390625, -0.000560760498046875, 0.0284423828125, 0.021484375, 0.0022735595703125, 0.013916015625, -0.0255126953125...
[ 26265, 15937, 193348, 35782, 4743, 214552, 9351, 10, 47, 142, 15296, 38308, 9226, 39642, 4265, 51858, 47107, 214, 2646, 104820, 441, 46994, 4034, 10187, 6, 17780, 5, 7077, 7, 12013, 129984, 17137, 39179, 47677, 182867, 104921, 50986, 61477, ...
[ 0.1688232421875, 0.2054443359375, 0.27099609375, 0.1829833984375, 0.0902099609375, 0.1905517578125, 0.1849365234375, 0.05535888671875, 0.014312744140625, 0.0135498046875, 0.07867431640625, 0.2130126953125, 0.175537109375, 0.1875, 0.075927734375, 0.1451416015625, 0.1180419921875, 0....
embed
62525270_c0
62525270
elixir
0
Title: Creating access permissions with Pow Elixir phoenix Problem title: Creating access permissions with Pow Elixir phoenix Tags: elixir, authorization, phoenix-framework Problem: Creating access permissions with Pow Elixir phoenix I need to create some access validations in my application. And I need your help for t...
Creating access permissions with Pow Elixir phoenix Creating access permissions with Pow Elixir phoenix elixir authorization phoenix-framework Plug.Conn Creating Pow Elixir MyprojectWeb.EnsureRolePlug Example MyprojectWeb.Router.Helpers Routes Phoenix.Controller Pow.Plug Conn.t Plug.current_user has_role maybe_halt _ro...
[ 0.00016689300537109375, -0.024169921875, 0.01043701171875, -0.006683349609375, 0.0048828125, 0.015625, -0.0169677734375, -0.01177978515625, 0.0111083984375, -0.0322265625, -0.004608154296875, 0.0301513671875, 0.005462646484375, 0.009033203125, -0.020751953125, -0.0067138671875, -0.01...
[ 56781, 17203, 168081, 7, 678, 53982, 25318, 38308, 53073, 33, 4084, 15296, 42179, 160328, 194351, 11935, 2646, 95322, 30474, 7768, 56851, 12724, 133, 35159, 89536, 25208, 60785, 106015, 133720, 175904, 1657, 163812, 454, 65918, 1556, 516, 51139...
[ 0.1480712890625, 0.2080078125, 0.26123046875, 0.077880859375, 0.0692138671875, 0.23486328125, 0.1251220703125, 0.1954345703125, 0.0435791015625, 0.0677490234375, 0.10223388671875, 0.0736083984375, 0.1014404296875, 0.08636474609375, 0.1871337890625, 0.08526611328125, 0.031173706054687...
embed
43433705_c1
43433705
elixir
1
getCategories(conn) do categories = Api.Category |> Api.Repo.all conn |> put_resp_content_type("application/json") |> send_resp(200, Poison.encode!(%{categories: categories})) end What am I doing wrong? I set up the connections: application.ex: defmodule Api.Application do use Application def start( _type, _args ) do ...
getCategories(conn) do categories = Api.Category |> Api.Repo.all conn |> put_resp_content_type("application/json") |> send_resp(200, Poison.encode!(%{categories: categories})) end What am I doing wrong? I set up the connections: application.ex: defmodule Api.Application do use Application def start( _type, _args ) do ...
[ -0.031494140625, 0.01141357421875, 0.01385498046875, -0.005126953125, -0.007049560546875, 0.00799560546875, -0.006195068359375, -0.03955078125, -0.00182342529296875, -0.03466796875, 0.003936767578125, -0.0211181640625, -0.0167236328125, 0.008056640625, -0.01422119140625, 0.001205444335...
[ 2046, 161637, 90, 2271, 19, 54, 39283, 7, 5787, 14, 76775, 3081, 1294, 4332, 771, 5584, 158, 3884, 2109, 254, 69246, 50986, 101687, 170, 1681, 25379, 5955, 64249, 191, 33, 40899, 240153, 3564, 444, 87, 20594, 44691, 5423, 94878, 38415, ...
[ 0.1513671875, 0.27978515625, 0.1710205078125, 0.1495361328125, 0.1253662109375, 0.108154296875, 0.251220703125, 0.09326171875, 0.1619873046875, 0.1571044921875, 0.1207275390625, 0.1951904296875, 0.0205078125, 0.0970458984375, 0.1505126953125, 0.1187744140625, 0.126708984375, 0.0114...
embed
61120884_c0
61120884
elixir
0
Title: Issue in calling render_submit of a LiveViewComponent from the live_view test case Problem title: Issue in calling render_submit of a LiveViewComponent from the live_view test case Tags: phoenix-live-view, elixir, phoenix-framework Problem: Issue in calling render_submit of a LiveViewComponent from the live_view...
Issue in calling render_submit of a LiveViewComponent from the live_view test case Issue in calling render_submit of a LiveViewComponent from the live_view test case phoenix-live-view elixir phoenix-framework the Phoenix.LiveViewTest Issue render_submit LiveViewComponent live_view UserWeb.Users.Index Phoenix.LiveView U...
[ -0.032470703125, -0.0162353515625, 0.00927734375, -0.03759765625, -0.030029296875, -0.0142822265625, 0.004486083984375, 0.0096435546875, -0.002532958984375, -0.0208740234375, -0.00128936767578125, 0.00958251953125, 0.006011962890625, 0.0240478515625, -0.007293701171875, -0.019409179687...
[ 223317, 159029, 89159, 454, 22144, 4007, 9251, 100474, 10770, 54137, 1295, 6867, 22751, 3034, 7225, 53073, 33, 4084, 24056, 15296, 38308, 160328, 133720, 70567, 111337, 53400, 30474, 39659, 1062, 2189, 114977, 61340, 532, 3004, 18280, 63262, 76...
[ 0.1787109375, 0.1719970703125, 0.21337890625, 0.008697509765625, 0.140869140625, 0.1024169921875, 0.1468505859375, 0.27197265625, 0.1092529296875, 0.1998291015625, 0.028167724609375, 0.14892578125, 0.2301025390625, 0.1859130859375, 0.1541748046875, 0.0244140625, 0.025238037109375, ...
embed
38562675_c0
38562675
elixir
0
Title: Elixir Ecto Insert empty belongs_to Problem title: Elixir Ecto Insert empty belongs_to Tags: phoenix-framework, elixir, ecto Problem: Elixir Ecto Insert empty belongs_to First: I've found this topic but it does not work. I have a relation between two models Council(1)<->(n)Department and I want to insert a counc...
Elixir Ecto Insert empty belongs_to Elixir Ecto Insert empty belongs_to phoenix-framework elixir ecto Elixir Ecto Insert belongs_to Council Department Db2.Department many_to_many Db2.Student join_through Db2.StudentCouncil Db2.Period CREATE TABLE public.councils NOT DEFAULT councils_id_seq department_id inserted_at upd...
[ -0.0029449462890625, -0.00927734375, 0.005462646484375, 0.0174560546875, -0.004425048828125, -0.0169677734375, -0.025634765625, -0.04833984375, 0.0012969970703125, -0.0242919921875, -0.0028076171875, -0.010498046875, -0.0076904296875, 0.01275634765625, -0.0120849609375, -0.018676757812...
[ 25318, 38308, 241, 44150, 360, 33657, 201505, 186, 10617, 188, 53073, 33, 4084, 160328, 18244, 15296, 60751, 70615, 63557, 275, 5442, 4657, 17365, 5941, 669, 239825, 33284, 309, 391, 175151, 384, 183057, 3835, 587, 13003, 86725, 1514, 14676, ...
[ 0.115234375, 0.2261962890625, 0.118408203125, 0.3046875, 0.1436767578125, 0.26171875, 0.246826171875, 0.09942626953125, 0.2259521484375, 0.1517333984375, 0.06243896484375, 0.10040283203125, 0.1619873046875, 0.107421875, 0.052520751953125, 0.0845947265625, 0.2420654296875, 0.1888427...
embed
71968431_c0
71968431
elixir
0
Title: Elixir Supervisor not restarting timed-out Poolboy GenServers after DNS timeout Problem title: Elixir Supervisor not restarting timed-out Poolboy GenServers after DNS timeout Tags: elixir, dns Problem: Elixir Supervisor not restarting timed-out Poolboy GenServers after DNS timeout end end It makes the most sense...
Elixir Supervisor not restarting timed-out Poolboy GenServers after DNS timeout Elixir Supervisor not restarting timed-out Poolboy GenServers after DNS timeout elixir dns Socket.Error #PID Elixir Supervisor Poolboy GenServers DNS GenServer PID datagram.ex:46 Socket.Datagram.recv dns.ex:76 DNS.query dmarc_hijack dmarc.e...
[ -0.00897216796875, 0.02783203125, -0.006439208984375, 0.000286102294921875, 0.002532958984375, -0.0078125, 0.01129150390625, -0.008056640625, -0.007232666015625, 0.0034027099609375, 0.01104736328125, -0.005279541015625, -0.01397705078125, 0.035888671875, 0.01495361328125, 0.00074005126...
[ 25318, 38308, 4265, 51858, 959, 456, 17137, 1733, 71, 6056, 56718, 30885, 15937, 193348, 7103, 100976, 15296, 1779, 1061, 27853, 18468, 31611, 683, 7146, 436, 2053, 25561, 5, 3355, 32909, 334, 12, 11835, 944, 1294, 1727, 238, 454, 979, 13...
[ 0.09686279296875, 0.2431640625, 0.190673828125, 0.250732421875, 0.0966796875, 0.04718017578125, 0.149169921875, 0.1339111328125, 0.023284912109375, 0.1419677734375, 0.20166015625, 0.243896484375, 0.116455078125, 0.171875, 0.07562255859375, 0.1539306640625, 0.0352783203125, 0.081298...
embed
45605829_c0
45605829
elixir
0
Title: Understanding supervisor duty in Erlang/Elixir Problem title: Understanding supervisor duty in Erlang/Elixir Tags: erlang, erlang-stdlib, elixir Problem: Understanding supervisor duty in Erlang/Elixir I wrote a new library called director . It's a supervisor library. One of its feature is giving a fun with arity...
Understanding supervisor duty in Erlang/Elixir Understanding supervisor duty in Erlang/Elixir erlang erlang-stdlib elixir its Understanding Erlang Elixir director_test start_link director:start_link MODULE ChildSpec my_plan Count _Count Director Reason foo_crashed Understanding supervisor duty in Erlang/Elixir I wrote ...
[ -0.01171875, 0.0166015625, 0.004791259765625, -0.0016326904296875, -0.006866455078125, -0.010986328125, 0.0179443359375, -0.002899169921875, -0.006134033203125, -0.0311279296875, -0.0035552978515625, -0.0052490234375, 0.0096435546875, 0.0206298828125, 0.01806640625, 0.0106201171875, ...
[ 9626, 144057, 1601, 51858, 115, 939, 1004, 3066, 150, 38308, 72, 271, 5612, 15296, 6863, 25318, 14364, 6954, 4034, 10187, 17137, 98610, 123829, 47107, 759, 5868, 108210, 31068, 236267, 5775, 31, 15182, 54397, 3525, 35773, 1294, 60213, 68772, ...
[ 0.094482421875, 0.053985595703125, 0.231689453125, 0.286865234375, 0.166748046875, 0.1219482421875, 0.1328125, 0.243408203125, 0.05755615234375, 0.2147216796875, 0.0450439453125, 0.03997802734375, 0.1561279296875, 0.06317138671875, 0.0491943359375, 0.0882568359375, 0.2056884765625, ...
embed
50544738_c1
50544738
elixir
1
.Endpoint, otp_app: :grounded_warrior socket "/socket", MyAppWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, at: "/", from: :grounded_warrior, gzip: false, o...
.Endpoint, otp_app: :grounded_warrior socket "/socket", MyAppWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, at: "/", from: :grounded_warrior, gzip: false, o...
[ -0.0181884765625, 0.03271484375, 0.00213623046875, -0.0296630859375, -0.00787353515625, 0.0283203125, 0.0001964569091796875, -0.0128173828125, -0.001617431640625, -0.03369140625, -0.00848388671875, -0.01611328125, 0.0166015625, 0.01171875, -0.0020294189453125, 0.0042724609375, -0.010...
[ 5, 152378, 38496, 36, 18, 254, 9007, 12, 64330, 297, 4205, 4726, 42, 221, 27853, 991, 2646, 39179, 30474, 1062, 2189, 8912, 468, 5406, 272, 64, 201939, 102158, 5293, 334, 14364, 5608, 5423, 706, 50836, 29568, 51042, 53073, 33, 4084, 480...
[ 0.12060546875, 0.15087890625, 0.230224609375, 0.057525634765625, 0.115966796875, 0.129150390625, 0.1793212890625, 0.012054443359375, 0.187744140625, 0.134521484375, 0.134765625, 0.1944580078125, 0.10693359375, 0.0888671875, 0.191162109375, 0.061798095703125, 0.0816650390625, 0.1856...
embed
68456186_c0
68456186
elixir
0
Title: How to format elixir files with elixirls by default? Problem title: How to format elixir files with elixirls by default? Tags: elixirls, lua, neovim, elixir Problem: How to format elixir files with elixirls by default? I use elixirls lsp-client and efm-server (mainly for credo) for working with elixir-files in N...
How to format elixir files with elixirls by default? How to format elixir files with elixirls by default? elixirls lua neovim elixir How vim.lsp.buf.formatting vim.lsp.buf.formatting_sync init.lua LSP nvim_lsp Use on_attach custom_attach buf_set_keymap vim.api.nvim_buf_set_keymap buf_set_option vim.api.nvim_buf_set_opt...
[ -0.000728607177734375, 0.000736236572265625, -0.00079345703125, -0.021240234375, 0.00994873046875, 0.007476806640625, -0.007568359375, -0.005157470703125, 0.00104522705078125, 0.006744384765625, 0.00286865234375, 0.00002562999725341797, 0.0145263671875, 0.00848388671875, -0.0095825195312...
[ 11249, 47, 9384, 15296, 38308, 102158, 678, 8080, 390, 114977, 27761, 16169, 29671, 119916, 141, 7008, 978, 420, 51727, 1916, 12654, 23, 217, 822, 11, 339, 9434, 52438, 114122, 373, 19770, 62346, 40897, 109585, 81, 16498, 911, 54686, 49919,...
[ 0.0994873046875, 0.05877685546875, 0.263916015625, 0.147705078125, 0.31005859375, 0.2344970703125, 0.110107421875, 0.2364501953125, 0.107666015625, 0.276611328125, 0.1900634765625, 0.0997314453125, 0.26904296875, 0.28369140625, 0.068603515625, 0.1856689453125, 0.111572265625, 0.178...
embed
38160070_c0
38160070
elixir
0
Title: How to simulate Ruby&#x27;s until loop in Elixir? Problem title: How to simulate Ruby&#x27;s until loop in Elixir? Tags: recursion, elixir Problem: How to simulate Ruby's until loop in Elixir? I'm converting a Ruby project to Elixir. How does Ruby's until loop translate to Elixir? until scanner.eos? do tokens <<...
How to simulate Ruby&#x27;s until loop in Elixir? How to simulate Ruby&#x27;s until loop in Elixir? recursion elixir How Ruby Elixir scanner.eos lines.each_with_index StringScanner.new text.split StringScanner.eos is_pid String.t is_binary is_integer string_scanner Enum.find_value scanner_tokenizers IO.inspect StringSc...
[ -0.01495361328125, 0.012451171875, -0.00384521484375, 0.0302734375, -0.01092529296875, -0.01202392578125, 0.00531005859375, 0.004058837890625, -0.025634765625, -0.039306640625, 0.0111083984375, 0.018798828125, 0.01336669921875, 0.0052490234375, 0.0211181640625, -0.005462646484375, 0....
[ 11249, 47, 40226, 67, 158189, 3768, 7, 24189, 40956, 23, 25318, 38308, 195625, 1830, 15296, 218584, 13, 232, 124519, 41581, 76228, 4711, 23351, 214, 408, 13857, 54936, 7986, 4353, 83, 45226, 18, 19155, 6191, 79315, 16275, 357, 316, 111607, ...
[ 0.06915283203125, 0.102294921875, 0.24609375, 0.082763671875, 0.267578125, 0.07568359375, 0.0259857177734375, 0.2578125, 0.2186279296875, 0.0767822265625, 0.13720703125, 0.269775390625, 0.20166015625, 0.1009521484375, 0.1021728515625, 0.2254638671875, 0.0875244140625, 0.20703125, ...
embed
32478543_c0
32478543
elixir
0
Title: Using jquery ajax post to submit a POST request in Phoenix Framework Problem title: Using jquery ajax post to submit a POST request in Phoenix Framework Tags: phoenix-framework, jquery, ajax, elixir Problem: Using jquery ajax post to submit a POST request in Phoenix Framework We want to use our content editable,...
Using jquery ajax post to submit a POST request in Phoenix Framework Using jquery ajax post to submit a POST request in Phoenix Framework phoenix-framework jquery ajax elixir Using POST Phoenix Framework fetch_session fetch_flash put_secure_browser_headers TextEditor pipe_through Use PageController PostController post_...
[ 0.0072021484375, 0.0034637451171875, 0.0020599365234375, -0.0245361328125, 0.0059814453125, 0.005340576171875, -0.01806640625, 0.00113677978515625, -0.0147705078125, -0.06591796875, 0.00823974609375, 0.00469970703125, -0.00933837890625, -0.0106201171875, -0.01220703125, 0.0126342773437...
[ 345, 1647, 944, 1294, 7767, 425, 1305, 137447, 81903, 50336, 133720, 202220, 53073, 33, 4084, 160328, 15296, 38308, 7647, 169234, 5544, 184, 57436, 215725, 31251, 125270, 137158, 14231, 175904, 2795, 2500, 152028, 3509, 771, 4594, 128405, 64944...
[ 0.0177764892578125, 0.03466796875, 0.0958251953125, 0.0604248046875, 0.1412353515625, 0.10125732421875, 0.1656494140625, 0.122802734375, 0.156494140625, 0.1710205078125, 0.23291015625, 0.1956787109375, 0.03448486328125, 0.060272216796875, 0.0909423828125, 0.071044921875, 0.0485229492...
embed
49549080_c0
49549080
elixir
0
Title: Extension behavior for updated Postgrex version Elixir Phoenix Problem title: Extension behavior for updated Postgrex version Elixir Phoenix Tags: elixir Problem: Extension behavior for updated Postgrex version Elixir Phoenix I have this JSON module defmodule EvercamMedia.Types.JSON do @behaviour Ecto.Type def t...
Extension behavior for updated Postgrex version Elixir Phoenix Extension behavior for updated Postgrex version Elixir Phoenix elixir Extension Postgrex Elixir Phoenix EvercamMedia.Types.JSON Ecto.Type is_map is_binary is_list is_number EvercamMedia.Types.JSON.Extension Postgrex.TypeInfo Postgrex.Extension _parameters K...
[ -0.0072021484375, 0.00372314453125, 0.0211181640625, 0.02880859375, -0.01275634765625, 0.0069580078125, -0.01300048828125, 0.002838134765625, -0.00726318359375, -0.0001239776611328125, -0.0019683837890625, -0.003021240234375, 0.00799560546875, -0.01092529296875, 0.0028839111328125, 0.0...
[ 224545, 123166, 150011, 2795, 7134, 425, 11389, 25318, 38308, 133720, 15296, 78650, 9779, 72492, 196707, 1375, 58627, 44150, 83, 62346, 19155, 1294, 6562, 19279, 128872, 93147, 6276, 29089, 189755, 29362, 2844, 60457, 61340, 35773, 33, 40899, 1...
[ 0.25390625, 0.196533203125, 0.1370849609375, 0.128173828125, 0.23193359375, 0.155029296875, 0.125732421875, 0.108154296875, 0.2108154296875, 0.259521484375, 0.06890869140625, 0.108154296875, 0.1904296875, 0.1558837890625, 0.1612548828125, 0.09716796875, 0.2059326171875, 0.192749023...
embed
53127224_c0
53127224
elixir
0
Title: Cast certain changeset fields into an ecto :map field Problem title: Cast certain changeset fields into an ecto :map field Tags: single-table-inheritance, elixir, ecto Problem: Cast certain changeset fields into an ecto :map field I have a changeset that looks like this: %{ creator_id: "4", name: "a test with Gr...
Cast certain changeset fields into an ecto :map field Cast certain changeset fields into an ecto :map field single-table-inheritance elixir ecto Cast creator_id GraphQL place_id entree_id belongs_to Name.SubName.Creators Name.SubName.Places Name.SubName.Entrees Ecto.Changeset.cast Map.keys embeds_one embeds_many Cast c...
[ 0.0048828125, -0.00787353515625, 0.0093994140625, -0.0029449462890625, -0.0020599365234375, 0.00012683868408203125, -0.00921630859375, -0.00023174285888671875, 0.00628662109375, -0.00860595703125, 0.0172119140625, 0.0013275146484375, 0.004119873046875, 0.0576171875, -0.0164794921875, -...
[ 32301, 24233, 65572, 126, 44457, 3934, 60751, 152, 62346, 11001, 22819, 3334, 217, 15296, 38308, 179505, 532, 6524, 11727, 2737, 866, 3687, 1148, 10617, 96472, 163612, 63784, 143, 7768, 2921, 44150, 127008, 4188, 55741, 42719, 19770, 352, 134...
[ 0.209716796875, 0.1187744140625, 0.209716796875, 0.1917724609375, 0.2410888671875, 0.119140625, 0.227783203125, 0.024383544921875, 0.1754150390625, 0.1185302734375, 0.1405029296875, 0.1453857421875, 0.040740966796875, 0.049957275390625, 0.1787109375, 0.1239013671875, 0.05657958984375...
embed
44124451_c0
44124451
elixir
0
Title: AJAX Post request error: &quot;can&#x27;t be blank&quot;, [validation: :required] When sending JSON object in POST body Problem title: AJAX Post request error: &quot;can&#x27;t be blank&quot;, [validation: :required] When sending JSON object in POST body Tags: elixir, elixir-poison, ecto, ajax Problem: AJAX Post...
AJAX Post request error: &quot;can&#x27;t be blank&quot;, [validation: :required] When sending JSON object in POST body AJAX Post request error: &quot;can&#x27;t be blank&quot;, [validation: :required] When sending JSON object in POST body elixir elixir-poison ecto ajax Poison.EncodeError AJAX Post When JSON OPTIONS PI...
[ -0.01263427734375, 0.0091552734375, 0.021240234375, -0.002777099609375, -0.0137939453125, 0.00174713134765625, -0.0167236328125, -0.006072998046875, -0.00125885009765625, -0.005035400390625, 0.01214599609375, -0.005096435546875, 0.0123291015625, -0.0031890869140625, -0.0037078857421875, ...
[ 61179, 72850, 2795, 50336, 18499, 41502, 4398, 3768, 18, 186, 44237, 7013, 152, 3181, 2822, 14847, 135834, 821, 58627, 36746, 23, 81903, 14361, 15296, 38308, 120178, 191, 60751, 7767, 425, 64249, 7768, 40899, 18468, 28023, 436, 7146, 5787, ...
[ 0.1639404296875, 0.219970703125, 0.13720703125, 0.208984375, 0.18701171875, 0.01019287109375, 0.1341552734375, 0.133056640625, 0.0880126953125, 0.146240234375, 0.262939453125, 0.1138916015625, 0.01336669921875, 0.1429443359375, 0.0750732421875, 0.05535888671875, 0.1126708984375, 0....
embed
59654664_c0
59654664
elixir
0
Title: How to run a Elixir file with phoenix stack Problem title: How to run a Elixir file with phoenix stack Tags: phoenix-framework, elixir Problem: How to run a Elixir file with phoenix stack I'm new to the elixir ecosystem. I have a import script in my Elixir/Phoenix app and when I try to run it from the command li...
How to run a Elixir file with phoenix stack How to run a Elixir file with phoenix stack phoenix-framework elixir CompileError Mix.Ecto How Elixir users.ex users.ex:7 Mix.Tasks.Import.Users Mix.Task App.Shield.Resources.User parse_repo Enum.each Mix.shell.info User CSV ensure_repo ensure_started static_path Application....
[ 0.0013885498046875, -0.01507568359375, -0.0040283203125, 0.033935546875, -0.00506591796875, 0.01123046875, -0.00872802734375, -0.01171875, -0.000705718994140625, -0.0595703125, -0.01202392578125, 0.0004787445068359375, 0.0242919921875, 0.0224609375, 0.00799560546875, 0.004974365234375,...
[ 11249, 11675, 25318, 38308, 11435, 678, 53073, 33, 4084, 177261, 47, 10, 160328, 18244, 15296, 15612, 1340, 18468, 31611, 37286, 647, 44150, 72095, 3355, 966, 5, 9874, 1042, 7, 61637, 6982, 1062, 5659, 19388, 4332, 60427, 2189, 366, 184, ...
[ 0.04541015625, 0.201171875, 0.15625, 0.288330078125, 0.1932373046875, 0.146240234375, 0.095703125, 0.1373291015625, 0.1563720703125, 0.2313232421875, 0.0280914306640625, 0.01220703125, 0.100830078125, 0.023101806640625, 0.1156005859375, 0.10711669921875, 0.051605224609375, 0.075317...
embed
51696351_c0
51696351
elixir
0
Title: Unable to connect to web socket in Phoenix: Ignoring unmatched topic. But I think it matches Problem title: Unable to connect to web socket in Phoenix: Ignoring unmatched topic. But I think it matches Tags: phoenix-framework, websocket, elixir Problem: Unable to connect to web socket in Phoenix: Ignoring unmatch...
Unable to connect to web socket in Phoenix: Ignoring unmatched topic. But I think it matches Unable to connect to web socket in Phoenix: Ignoring unmatched topic. But I think it matches phoenix-framework websocket elixir Logger Unable Phoenix Ignoring But analysis:dn-ds.axin2 Protsci.UserSocket user_socket.ex analysis_...
[ -0.0118408203125, 0.03173828125, -0.0020599365234375, -0.018798828125, -0.000667572021484375, -0.000659942626953125, -0.01434326171875, -0.0103759765625, 0.0001697540283203125, -0.01507568359375, 0.005340576171875, 0.0036468505859375, 0.00015544891357421875, 0.0093994140625, -0.016357421...
[ 992, 2886, 37067, 1467, 221, 27853, 133720, 11137, 51, 98753, 28451, 5351, 14858, 23, 53073, 33, 4084, 160328, 991, 15296, 38308, 64906, 56, 2852, 114137, 6468, 11, 35815, 304, 1250, 933, 318, 2189, 8912, 38937, 3355, 73026, 14907, 62624, ...
[ 0.0294189453125, 0.1402587890625, 0.1524658203125, 0.120361328125, 0.1068115234375, 0.160888671875, 0.287353515625, 0.1173095703125, 0.044281005859375, 0.2275390625, 0.1925048828125, 0.03350830078125, 0.132080078125, 0.0369873046875, 0.0137939453125, 0.048980712890625, 0.087890625, ...
embed
39940272_c0
39940272
elixir
0
Title: Elixir GenServer cast and start_link Problem title: Elixir GenServer cast and start_link Tags: elixir, erlang-otp, gen-server Problem: Elixir GenServer cast and start_link These are my first 2 hours of Elixir so it might be a noobish question but I have some issues with spawning up a GenServer and casting it. I'...
Elixir GenServer cast and start_link Elixir GenServer cast and start_link elixir erlang-otp gen-server Test.Receiver Elixir GenServer start_link Test.Watcher ExFSWatch analyze_log file_path WHERE GET get_log System.cmd GenServer.start_link __MODULE__ GenServer.cast handle_cast IO.puts Elixir GenServer cast and start_li...
[ 0.0086669921875, 0.0267333984375, -0.000782012939453125, -0.002777099609375, 0.0233154296875, 0.0030517578125, -0.0035552978515625, -0.003021240234375, -0.0009613037109375, -0.027587890625, 0.000553131103515625, 0.01556396484375, -0.006500244140625, 0.018798828125, 0.009765625, -0.0260...
[ 25318, 38308, 15937, 193348, 37702, 136, 4034, 10187, 15296, 72, 3066, 818, 254, 9226, 39642, 8647, 4332, 329, 14, 814, 156378, 56, 5443, 36381, 7968, 53, 4867, 11435, 128405, 12353, 3931, 17137, 12013, 55741, 34831, 17780, 7077, 5117, 2197...
[ 0.1285400390625, 0.2454833984375, 0.18408203125, 0.26953125, 0.1688232421875, 0.0234527587890625, 0.1644287109375, 0.2213134765625, 0.033233642578125, 0.03265380859375, 0.193359375, 0.0643310546875, 0.0643310546875, 0.1661376953125, 0.19580078125, 0.1370849609375, 0.041656494140625, ...
embed
38470620_c0
38470620
elixir
0
Title: Elixir Arc: File is uploaded and processed but not stored in database Problem title: Elixir Arc: File is uploaded and processed but not stored in database Tags: ecto, phoenix-framework, elixir Problem: Elixir Arc: File is uploaded and processed but not stored in database I'm using elixirs Arc with Ecto and Amazo...
Elixir Arc: File is uploaded and processed but not stored in database Elixir Arc: File is uploaded and processed but not stored in database ecto phoenix-framework elixir Elixir Arc File Repo.get User Avatar.store my_file.png user.avatar MyApp.User MyApp.Web Arc.Ecto.Schema MyApp.Repo MyApp.Avatar.Type embeds_many billi...
[ -0.0018768310546875, 0.0023040771484375, -0.0045166015625, 0.0186767578125, -0.006988525390625, 0.0146484375, 0.003173828125, -0.0185546875, 0.00640869140625, -0.0019989013671875, 0.0040283203125, 0.01116943359375, -0.01104736328125, 0.025390625, 0.0018310546875, -0.020751953125, -0....
[ 25318, 38308, 51210, 42724, 70622, 9433, 1284, 959, 4343, 63399, 136, 60751, 33, 4084, 160328, 18244, 15296, 853, 771, 3794, 53400, 192893, 45804, 759, 29822, 128468, 38937, 24047, 147, 39179, 44150, 330, 867, 196707, 13482, 2193, 25501, 1929...
[ 0.0897216796875, 0.220458984375, 0.2144775390625, 0.2108154296875, 0.1668701171875, 0.0972900390625, 0.05596923828125, 0.105712890625, 0.1661376953125, 0.2017822265625, 0.02490234375, 0.1685791015625, 0.043853759765625, 0.07196044921875, 0.0833740234375, 0.00836181640625, 0.048767089...
embed