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
76369669_c0
76369669
elixir
0
Title: Waffle-Ecto Changeset Field Image Resize | Phoenix/Elixir Problem title: Waffle-Ecto Changeset Field Image Resize | Phoenix/Elixir Tags: phoenix-framework, elixir, ecto Problem: Waffle-Ecto Changeset Field Image Resize | Phoenix/Elixir I am trying to apply ImageMagick transformations to a Waffle-Ecto image in a ...
Waffle-Ecto Changeset Field Image Resize | Phoenix/Elixir Waffle-Ecto Changeset Field Image Resize | Phoenix/Elixir phoenix-framework elixir ecto Ecto.Changeset Waffle-Ecto Changeset Field Image Resize Phoenix Elixir App.Images.Image Ecto.Schema Waffle.Ecto.Schema App.ImageUploader.Type cast_attachments Waffle-Ecto Cha...
[ 0.0023040771484375, -0.00909423828125, 0.00787353515625, 0.019775390625, 0.02099609375, -0.0000591278076171875, 0.00543212890625, -0.0126953125, -0.0064697265625, 0.027099609375, 0.0194091796875, 0.03564453125, -0.00151824951171875, 0.01416015625, -0.0069580078125, -0.0184326171875, ...
[ 3316, 4902, 133, 9, 647, 44150, 87377, 3509, 117657, 22710, 853, 62539, 133720, 64, 150, 38308, 53073, 33, 4084, 160328, 18244, 15296, 60751, 241, 127008, 4188, 126, 25318, 5659, 216960, 25452, 53234, 63033, 196707, 37702, 235923, 31577, 5991...
[ 0.191162109375, 0.2291259765625, 0.1806640625, 0.018768310546875, 0.119873046875, 0.2880859375, 0.1910400390625, 0.2271728515625, 0.1842041015625, 0.1864013671875, 0.0909423828125, 0.224609375, 0.20654296875, 0.002166748046875, 0.090576171875, 0.2354736328125, 0.0076904296875, 0.02...
embed
46651506_c1
46651506
elixir
1
.html", changeset: changeset) end def create(conn, %{"user" => user_params}) do case Auths.create_user(user_params) do {:ok, user} -> conn |> put_flash(:info, "Welcome! Happy writing :)") |> redirect(to: "/users/signin") {:error, %Ecto.Changeset{} = changeset} -> render(conn, "new.html", changeset: changeset) end end d...
.html", changeset: changeset) end def create(conn, %{"user" => user_params}) do case Auths.create_user(user_params) do {:ok, user} -> conn |> put_flash(:info, "Welcome! Happy writing :)") |> redirect(to: "/users/signin") {:error, %Ecto.Changeset{} = changeset} -> render(conn, "new.html", changeset: changeset) end end d...
[ -0.003143310546875, 0.00030517578125, 0.00933837890625, -0.01904296875, 0.00055694580078125, 0.0235595703125, 0.00177001953125, -0.00860595703125, 0.01544189453125, -0.0257568359375, -0.000579833984375, -0.04248046875, 0.0177001953125, 0.02197265625, -0.004180908203125, -0.006439208984...
[ 5, 7693, 65572, 126, 3564, 8, 28282, 2271, 19, 65918, 38937, 2500, 8256, 5655, 927, 7612, 685, 158, 3884, 5544, 7319, 583, 45738, 32506, 32562, 80581, 223, 31304, 73, 188800, 44150, 127008, 4188, 89159, 54936, 1144, 694, 91067, 4027, 13, ...
[ 0.0254364013671875, 0.2222900390625, 0.1644287109375, 0.183349609375, 0.046722412109375, 0.06793212890625, 0.1295166015625, 0.0989990234375, 0.1063232421875, 0.146484375, 0.1322021484375, 0.10064697265625, 0.120361328125, 0.08758544921875, 0.0926513671875, 0.047027587890625, 0.062622...
embed
48030705_c0
48030705
elixir
0
Title: How to return select values when join with ecto Problem title: How to return select values when join with ecto Tags: ecto, elixir, phoenix-framework Problem: How to return select values when join with ecto I'm using ecto 2.2.6. I'm trying left join by ecto. At first, I used List to return select values with sing...
How to return select values when join with ecto How to return select values when join with ecto ecto elixir phoenix-framework m How Repo.all left_join g.id m.group_id group_id group_name m.id m.name g.group_name Enum.map How to return select values when join with ecto I'm using ecto 2.2.6. I'm trying left join by ecto....
[ 0.006805419921875, -0.0169677734375, -0.007659912109375, 0.01031494140625, -0.01904296875, -0.01141357421875, -0.00982666015625, 0.01287841796875, 0.0281982421875, -0.020263671875, -0.004974365234375, 0.00531005859375, 0.0103759765625, 0.01531982421875, -0.00640869140625, -0.0040588378...
[ 11249, 30646, 36849, 142424, 3229, 33284, 678, 60751, 47, 15296, 38308, 53073, 33, 4084, 160328, 18244, 347, 853, 771, 5584, 25737, 513, 73, 706, 532, 51588, 21115, 11627, 357, 316, 62346, 17368, 41187, 43652, 31577, 390, 32036, 11001, 2318...
[ 0.0904541015625, 0.2308349609375, 0.255126953125, 0.2437744140625, 0.046630859375, 0.2166748046875, 0.1324462890625, 0.25732421875, 0.021331787109375, 0.031585693359375, 0.1588134765625, 0.000701904296875, 0.016571044921875, 0.0927734375, 0.08837890625, 0.035064697265625, 0.055328369...
embed
48616477_c0
48616477
elixir
0
Title: How to creating GraphQL queries from an Elixir API? Problem title: How to creating GraphQL queries from an Elixir API? Tags: elixir, phoenix-framework, graphql, ecto Problem: How to creating GraphQL queries from an Elixir API? I have an Elixir API that can use Graphiql to send queries to my database, all the cru...
How to creating GraphQL queries from an Elixir API? How to creating GraphQL queries from an Elixir API? elixir phoenix-framework graphql ecto an How GraphQL Elixir API list_of Graphical.UserResolver.all How to creating GraphQL queries from an Elixir API? I have an Elixir API that can use Graphiql to send queries to my ...
[ -0.0059814453125, 0.00970458984375, 0.0004711151123046875, 0.00185394287109375, 0.002349853515625, 0.01611328125, 0.01409912109375, -0.01904296875, 0.0028839111328125, -0.050048828125, -0.000827789306640625, -0.000392913818359375, -0.002349853515625, 0.030029296875, 0.006317138671875, ...
[ 11249, 47, 105233, 6524, 11727, 2737, 866, 41, 10484, 1295, 25318, 38308, 61687, 142, 15296, 53073, 33, 4084, 160328, 41382, 99247, 60751, 5303, 4390, 189682, 1062, 2189, 86918, 5584, 831, 4527, 19379, 25379, 63399, 22684, 71, 11782, 20697, ...
[ 0.074951171875, 0.0161285400390625, 0.1944580078125, 0.1856689453125, 0.17431640625, 0.17626953125, 0.1767578125, 0.184814453125, 0.1689453125, 0.10443115234375, 0.12744140625, 0.2437744140625, 0.2286376953125, 0.041473388671875, 0.07586669921875, 0.007080078125, 0.034576416015625, ...
embed
78087540_c0
78087540
elixir
0
Title: What exactly is flushed by flush/0 in Elixir? Problem title: What exactly is flushed by flush/0 in Elixir? Tags: port, elixir Problem: What exactly is flushed by flush/0 in Elixir? I'm still an absolute newbie in Elixir: I stumbled over the following example in the documentation or Port objects: port = Port.open...
What exactly is flushed by flush/0 in Elixir? What exactly is flushed by flush/0 in Elixir? port elixir What Elixir Port Port.open port.flush StringIO.flush Kernel.flush What exactly is flushed by flush/0 in Elixir? I'm still an absolute newbie in Elixir: I stumbled over the following example in the documentation or Po...
[ 0.00159454345703125, 0.018798828125, -0.01611328125, 0.027099609375, -0.0135498046875, -0.002227783203125, -0.00052642822265625, -0.00421142578125, 0.00543212890625, 0.0172119140625, 0.00159454345703125, -0.00009632110595703125, 0.0014801025390625, 0.0233154296875, 0.0032501220703125, ...
[ 4865, 66161, 83, 14838, 67175, 390, 1495, 107838, 23, 25318, 38308, 11469, 15296, 13791, 59636, 18026, 23351, 214, 17780, 119125, 583, 89931, 3525, 9014, 27781, 209806, 36746, 11249, 132, 3714, 2367, 442, 5608, 5, 28219, 54, 4439, 32354, 14...
[ 0.10516357421875, 0.1466064453125, 0.09002685546875, 0.286865234375, 0.2059326171875, 0.1041259765625, 0.2132568359375, 0.263671875, 0.0810546875, 0.142822265625, 0.26220703125, 0.2008056640625, 0.1226806640625, 0.1728515625, 0.158203125, 0.26025390625, 0.129638671875, 0.0390625, ...
embed
40977087_c0
40977087
elixir
0
Title: Generate custom number for primary key and validation Problem title: Generate custom number for primary key and validation Tags: elixir, ecto Problem: Generate custom number for primary key and validation I have following schema: @primary_key false schema "companies" do field :number, :integer, primary_key: true...
Generate custom number for primary key and validation Generate custom number for primary key and validation elixir ecto Generate primary_key company_class country_iso password_hash has_many Busiket.Contact on_delete delete_all Generate custom number for primary key and validation I have following schema: How can I gene...
[ -0.01177978515625, 0.007293701171875, 0.006439208984375, 0.01007080078125, -0.004119873046875, -0.00147247314453125, 0.00090789794921875, -0.0152587890625, 0.007568359375, -0.0517578125, -0.0279541015625, 0.007568359375, -0.0081787109375, 0.0260009765625, -0.016845703125, -0.0258789062...
[ 155370, 67, 114122, 14012, 100, 158978, 22799, 136, 44622, 1363, 15296, 38308, 60751, 19770, 14380, 67413, 23295, 16369, 78506, 126234, 1556, 669, 53, 667, 172, 3473, 233695, 8520, 154109, 25632, 61903, 11249, 831, 139392, 44457, 10, 65572, 1...
[ 0.1998291015625, 0.0728759765625, 0.23388671875, 0.213134765625, 0.0704345703125, 0.1878662109375, 0.1937255859375, 0.0806884765625, 0.2235107421875, 0.014739990234375, 0.064453125, 0.1824951171875, 0.2332763671875, 0.1695556640625, 0.1292724609375, 0.1746826171875, 0.109619140625, ...
embed
41987301_c0
41987301
elixir
0
Title: Phoenix Views - Adding an options arg to View render/ 2, Issue with overriding render/3 Problem title: Phoenix Views - Adding an options arg to View render/ 2, Issue with overriding render/3 Tags: elixir, phoenix-framework Problem: Phoenix Views - Adding an options arg to View render/ 2, Issue with overriding re...
Phoenix Views - Adding an options arg to View render/ 2, Issue with overriding render/3 Phoenix Views - Adding an options arg to View render/ 2, Issue with overriding render/3 elixir phoenix-framework Phoenix Views Adding View Issue show.json Keyword.fetch render_one post.user App.UserView Phoenix.View.render Phoenix V...
[ -0.0194091796875, 0.01171875, 0.01422119140625, -0.003387451171875, -0.000949859619140625, -0.0223388671875, -0.0164794921875, -0.00823974609375, 0.000568389892578125, -0.021484375, -0.025146484375, 0.0027313232421875, 0.0169677734375, -0.00994873046875, 0.009521484375, 0.0220947265625...
[ 133720, 89732, 62, 59725, 50717, 79459, 47, 29805, 89159, 116, 223317, 645, 416, 18113, 38308, 53073, 33, 4084, 160328, 7639, 170, 1681, 189755, 29362, 3630, 1305, 65918, 5659, 1062, 2189, 100474, 18280, 6238, 903, 18499, 31577, 15190, 121, ...
[ 0.2198486328125, 0.259521484375, 0.0675048828125, 0.089111328125, 0.2408447265625, 0.1214599609375, 0.0313720703125, 0.24560546875, 0.172607421875, 0.043426513671875, 0.1630859375, 0.057891845703125, 0.125732421875, 0.1507568359375, 0.142822265625, 0.027618408203125, 0.03182983398437...
embed
45260845_c0
45260845
elixir
0
Title: Parsing file into nested dictionary Problem title: Parsing file into nested dictionary Tags: elixir Problem: Parsing file into nested dictionary I have a config file that I would like to read with the following format [key_1] inner_key_1 inner_entry_1 inner_key_2 inner_entry_2 inner_key_3 inner_entry_3 inner_key...
Parsing file into nested dictionary Parsing file into nested dictionary elixir Parsing key_1 inner_key_1 inner_entry_1 inner_key_2 inner_entry_2 inner_key_3 inner_entry_3 inner_key_4 inner_entry_4 key_2 inner_key_5 inner_entry_5 inner_key_6 inner_entry_6 inner_key_7 inner_entry_7 inner_key_8 inner_entry_8 Parsing file ...
[ -0.019287109375, 0.0030364990234375, -0.01373291015625, -0.005950927734375, 0.01446533203125, 0.01446533203125, -0.0137939453125, -0.0111083984375, 0.01019287109375, 0.00579833984375, -0.0164794921875, 0.004058837890625, -0.0181884765625, 0.031494140625, 0.015869140625, 0.0089111328125...
[ 2392, 6953, 11435, 3934, 8512, 71, 45, 10763, 6635, 15296, 38308, 22799, 115187, 75414, 19770, 33, 15123, 617, 1019, 153837, 1884, 12301, 9384, 291, 48398, 25318, 63134, 228113, 123309, 56037, 115061, 35773, 69307, 84434 ]
[ 0.1463623046875, 0.036407470703125, 0.170654296875, 0.1434326171875, 0.2244873046875, 0.1329345703125, 0.063720703125, 0.1453857421875, 0.06982421875, 0.08221435546875, 0.224609375, 0.126220703125, 0.0399169921875, 0.1279296875, 0.1142578125, 0.0291290283203125, 0.0712890625, 0.003...
embed
77907783_c0
77907783
elixir
0
Title: Phoenix + Elixir: outdated static file is served Problem title: Phoenix + Elixir: outdated static file is served Tags: phoenix-framework, elixir Problem: Phoenix + Elixir: outdated static file is served I have a sitemap file that is located in priv/static/sitemaps/sitemap1.xml ▾ priv/ ▸ gettext/ ▸ repo/ ▾ static...
Phoenix + Elixir: outdated static file is served Phoenix + Elixir: outdated static file is served phoenix-framework elixir Phoenix Elixir sitemap1.xml sitemap.xml favicon.ico robots.txt static_paths MyApp.ex www.myapp.com Phoenix + Elixir: outdated static file is served I have a sitemap file that is located in priv/sta...
[ 0.01251220703125, 0.0157470703125, 0.026123046875, 0.0074462890625, -0.00738525390625, 0.01507568359375, -0.01806640625, -0.001068115234375, 0.00592041015625, -0.0191650390625, 0.006927490234375, -0.0125732421875, 0.01080322265625, 0.0159912109375, 0.0164794921875, 0.003814697265625, ...
[ 133720, 997, 25318, 38308, 1810, 85, 3674, 201939, 11435, 83, 149976, 53073, 33, 4084, 160328, 18244, 15296, 1764, 62346, 418, 131492, 1071, 686, 2271, 5197, 11329, 124326, 128405, 2646, 39179, 3355, 1176, 9007, 105866, 46827, 11090, 49814, 7...
[ 0.255126953125, 0.1700439453125, 0.11328125, 0.2276611328125, 0.16259765625, 0.2198486328125, 0.1060791015625, 0.2470703125, 0.2034912109375, 0.0455322265625, 0.203369140625, 0.04888916015625, 0.0692138671875, 0.09136962890625, 0.08984375, 0.0098876953125, 0.080078125, 0.1301269531...
embed
55485632_c0
55485632
elixir
0
Title: How to encrypt data before inserting it in a bytea column Problem title: How to encrypt data before inserting it in a bytea column Tags: ecto, pgcrypto, elixir Problem: How to encrypt data before inserting it in a bytea column I'm trying to find a way to directly insert data through a bytea column directly. How ...
How to encrypt data before inserting it in a bytea column How to encrypt data before inserting it in a bytea column ecto pgcrypto elixir How PGCRYPTO PGP_SYM_ENCRYPT AES_KEY How to encrypt data before inserting it in a bytea column I'm trying to find a way to directly insert data through a bytea column directly. How sh...
[ 0.00726318359375, -0.0220947265625, 0.000804901123046875, 0.01031494140625, -0.0242919921875, -0.00848388671875, -0.0038604736328125, -0.00421142578125, -0.0040283203125, -0.04052734375, 0.0225830078125, 0.018798828125, -0.003173828125, 0.0198974609375, -0.017333984375, -0.01123046875,...
[ 11249, 47, 22, 136791, 2053, 8108, 183540, 214, 23, 390, 17615, 3365, 316, 60751, 915, 177, 31, 15296, 38308, 52873, 22578, 94588, 8727, 436, 32566, 65311, 11572, 441, 34388, 22693, 62, 6706, 186104, 10, 19, 3917, 105237, 8305, 5608, 54, ...
[ 0.09619140625, 0.06341552734375, 0.112060546875, 0.31005859375, 0.1649169921875, 0.1634521484375, 0.21044921875, 0.031402587890625, 0.080322265625, 0.115478515625, 0.28076171875, 0.1483154296875, 0.1630859375, 0.1693115234375, 0.024017333984375, 0.07763671875, 0.1612548828125, 0.06...
embed
40228219_c0
40228219
elixir
0
Title: What's the alternative of before_filter from Rails in Phoenix/Elixir? Problem title: What's the alternative of before_filter from Rails in Phoenix/Elixir? Tags: elixir, rest, phoenix-framework Problem: What's the alternative of before_filter from Rails in Phoenix/Elixir? In my Phoenix application, I ha...
What's the alternative of before_filter from Rails in Phoenix/Elixir? What's the alternative of before_filter from Rails in Phoenix/Elixir? elixir rest phoenix-framework Rails What before_filter Phoenix Elixir MyApp.MyController MyApp.Web authenticate_user_by_api_key What's the alternative of before_filter fr...
[ -0.0030059814453125, 0.005828857421875, -0.00145721435546875, -0.00799560546875, -0.005584716796875, -0.01397705078125, -0.005096435546875, 0.01025390625, 0.0011749267578125, -0.042236328125, -0.00262451171875, 0.0166015625, -0.012939453125, 0.018310546875, -0.00909423828125, 0.0025939...
[ 4865, 3768, 30700, 8108, 120337, 1295, 85736, 7, 23, 133720, 150, 38308, 454, 15296, 10588, 53073, 33, 4084, 160328, 25318, 2646, 39179, 31852, 175904, 603, 30474, 195734, 65918, 40897, 19770, 64, 38415, 137158, 136, 70820, 831, 59959, 442, ...
[ 0.041900634765625, 0.07373046875, 0.1943359375, 0.1837158203125, 0.304443359375, 0.0867919921875, 0.220947265625, 0.07440185546875, 0.04931640625, 0.2481689453125, 0.0711669921875, 0.226806640625, 0.0278167724609375, 0.064453125, 0.16162109375, 0.04327392578125, 0.05078125, 0.09393...
embed
55834474_c0
55834474
elixir
0
Title: Elixir zero hour time as 24 Problem title: Elixir zero hour time as 24 Tags: elixir, erlang Problem: Elixir zero hour time as 24 I need to convert an erlang time stamp to NaiveDateTime in elixir. NaiveDateTime.from_erl {{2019, 4, 24}, {24, 0, 0}} {:error, :invalid_time} The docs for NaiveDateTime (and all other ...
Elixir zero hour time as 24 Elixir zero hour time as 24 elixir erlang Elixir NaiveDateTime.from_erl invalid_time Helpers naive_date_time naive_dt NaiveDateTime.add Elixir zero hour time as 24 I need to convert an erlang time stamp to NaiveDateTime in elixir. The docs for NaiveDateTime (and all other time modules in eli...
[ -0.010986328125, -0.01953125, -0.0018463134765625, -0.005889892578125, 0.006072998046875, -0.0341796875, -0.0169677734375, 0.0023345947265625, -0.00616455078125, -0.0172119140625, 0.03173828125, 0.01434326171875, -0.0015869140625, 0.0123291015625, 0.016357421875, -0.010498046875, -0....
[ 25318, 38308, 45234, 56816, 1733, 237, 744, 15296, 72, 3066, 353, 5844, 86291, 70059, 161063, 56, 141, 56649, 6032, 39527, 24, 17489, 13384, 4028, 3871, 96760, 106507, 47, 23, 581, 54, 4439, 88996, 959, 8060, 17408, 15276, 6746, 146731, 2...
[ 0.1005859375, 0.2392578125, 0.1876220703125, 0.1884765625, 0.1651611328125, 0.0687255859375, 0.188720703125, 0.09771728515625, 0.088134765625, 0.2342529296875, 0.1229248046875, 0.16748046875, 0.1318359375, 0.18603515625, 0.048919677734375, 0.0252227783203125, 0.09912109375, 0.15539...
embed
53767235_c1
53767235
elixir
1
_coins}) do IO.puts "Starting a person" {:ok, %{private_key: private_key, public_key: public_key, num_of_coins: num_of_coins}} end def start_link({private_key, public_key, address, num_of_coins}) do IO.puts "Starting a person" GenServer.start_link( __MODULE__, {private_key, public_key, address, num_of_coins} name: {:gl...
_coins}) do IO.puts "Starting a person" {:ok, %{private_key: private_key, public_key: public_key, num_of_coins: num_of_coins}} end def start_link({private_key, public_key, address, num_of_coins}) do IO.puts "Starting a person" GenServer.start_link( __MODULE__, {private_key, public_key, address, num_of_coins} name: {:gl...
[ -0.00738525390625, 0.0184326171875, -0.012939453125, 0.00799560546875, -0.01336669921875, 0.016845703125, 0.0208740234375, -0.00970458984375, -0.004241943359375, -0.050048828125, -0.0186767578125, 0.005218505859375, 0.01483154296875, 0.029541015625, 0.0228271484375, -0.0194091796875, ...
[ 101, 587, 5425, 54, 17780, 7077, 126597, 214, 10, 3445, 685, 158559, 454, 19770, 14375, 3835, 13269, 4390, 3564, 4034, 10187, 29823, 15937, 193348, 17137, 12013, 397, 129984, 9351, 156566, 157, 57964, 41206, 9226, 39642, 51042, 1284, 2046, ...
[ 0.036590576171875, 0.132080078125, 0.1146240234375, 0.0355224609375, 0.2047119140625, 0.09063720703125, 0.2197265625, 0.1541748046875, 0.058837890625, 0.18603515625, 0.088134765625, 0.0806884765625, 0.0211181640625, 0.1337890625, 0.068359375, 0.0811767578125, 0.1199951171875, 0.102...
embed
38158773_c0
38158773
elixir
0
Title: extracting strings after traversing errors in Ecto Elixir Problem title: extracting strings after traversing errors in Ecto Elixir Tags: elixir, ecto Problem: extracting strings after traversing errors in Ecto Elixir As in Ecto, we have changeset and in the case of invalid changeset, we can traverse errors accor...
extracting strings after traversing errors in Ecto Elixir extracting strings after traversing errors in Ecto Elixir elixir ecto Ecto Elixir to_date requested_by from_date Enum extracting strings after traversing errors in Ecto Elixir As in Ecto, we have changeset and in the case of invalid changeset, we can traverse er...
[ 0.0257568359375, -0.0106201171875, -0.00830078125, 0.00775146484375, 0.021728515625, -0.0027923583984375, -0.01373291015625, -0.002685546875, 0.00531005859375, -0.022216796875, 0.0106201171875, -0.0157470703125, 0.0159912109375, 0.0240478515625, 0.00031280517578125, 0.0201416015625, ...
[ 125663, 214, 79315, 7, 7103, 37317, 18499, 241, 44150, 25318, 38308, 23, 15296, 60751, 47, 17489, 50336, 1295, 357, 316, 65572, 126, 56649, 4937, 37676, 4552, 96704, 821, 58627, 2046, 80560, 19279, 532, 831, 18, 186, 44237, 36746, 16750, ...
[ 0.20751953125, 0.009429931640625, 0.2442626953125, 0.035430908203125, 0.10357666015625, 0.197021484375, 0.1971435546875, 0.083740234375, 0.2357177734375, 0.123046875, 0.217529296875, 0.005859375, 0.0892333984375, 0.180419921875, 0.08544921875, 0.09130859375, 0.12646484375, 0.070373...
embed
75237892_c0
75237892
elixir
0
Title: Is There a Way to Fetch a Type Attribute in An Ecto Query Problem title: Is There a Way to Fetch a Type Attribute in An Ecto Query Tags: elixir, ecto, phoenix-framework Problem: Is There a Way to Fetch a Type Attribute in An Ecto Query I have an Ecto Schema with payments containing an amount field. That field's ...
Is There a Way to Fetch a Type Attribute in An Ecto Query Is There a Way to Fetch a Type Attribute in An Ecto Query elixir ecto phoenix-framework Ecto.Query.CompileError p Post There Way Fetch Type Attribute Ecto Query Payment payment.amount.currency_code currency_code payment.amount Can parent_as Is There a Way to Fet...
[ 0.00640869140625, -0.00093841552734375, -0.0022125244140625, 0.00762939453125, -0.0086669921875, -0.01324462890625, -0.00531005859375, 0.024658203125, -0.0029296875, -0.058837890625, 0.009521484375, 0.0220947265625, -0.007415771484375, 0.00726318359375, -0.022216796875, 0.0115966796875...
[ 2071, 8622, 10, 42261, 47, 92962, 206, 60457, 1913, 191145, 23, 893, 241, 44150, 58836, 53, 15296, 38308, 60751, 53073, 33, 4084, 160328, 18244, 41732, 1294, 108161, 18468, 2795, 17166, 81997, 121147, 64240, 40899, 226649, 4171, 49129, 162, ...
[ 0.04180908203125, 0.1304931640625, 0.08441162109375, 0.173583984375, 0.031463623046875, 0.23095703125, 0.1641845703125, 0.302490234375, 0.140869140625, 0.26416015625, 0.03656005859375, 0.043304443359375, 0.1400146484375, 0.283935546875, 0.1990966796875, 0.118408203125, 0.059631347656...
embed
55729029_c0
55729029
elixir
0
Title: Map group by several values in Elixir Problem title: Map group by several values in Elixir Tags: elixir Problem: Map group by several values in Elixir So I have this Map map = [ %{id: 2, brand: "TUTU", reference: "1234"}, %{id: 2, brand: "TUTU", reference: "4567"}, %{id: 3, brand: "TOTO", reference: "789456"} ] ...
Map group by several values in Elixir Map group by several values in Elixir elixir Map Elixir TUTU TOTO Enum.group_by entry.brand Map group by several values in Elixir So I have this Map And I would like do group it by ID to get something like this : I tried to use Enum.group_by like this But the result looked like thi...
[ 0.012939453125, -0.0108642578125, -0.0247802734375, -0.0150146484375, -0.01446533203125, 0.00592041015625, -0.01287841796875, 0.01806640625, -0.0034637451171875, 0.00299072265625, -0.0130615234375, 0.033935546875, 0.0069580078125, 0.0272216796875, -0.001251220703125, 0.0031280517578125...
[ 42719, 21115, 390, 40368, 142424, 25318, 38308, 23, 15296, 384, 89861, 58796, 357, 316, 51588, 1272, 42805, 43264, 765, 903, 2806, 1884, 54, 442, 11338, 2046, 37842, 16750, 54811, 12319, 20903, 29806, 13319, 3714, 3642, 831, 456, 3004, 5303...
[ 0.23974609375, 0.252685546875, 0.10107421875, 0.1722412109375, 0.200927734375, 0.1278076171875, 0.25732421875, 0.020233154296875, 0.092041015625, 0.045928955078125, 0.1688232421875, 0.20263671875, 0.099853515625, 0.21484375, 0.2666015625, 0.1573486328125, 0.2044677734375, 0.2131347...
embed
62160503_c2
62160503
elixir
2
ison: ~> 0.11 or ~> 1.0. ===> [appsignal:1.7.0-alpha.4], Bad dependency version for httpoison: ~> 0.11 or ~> 1.0. ===> [appsignal:1.6.0-beta.1], Bad dependency version for httpoison: ~> Code signals: Elixir, Package, rebar3, Erlang, OTP, Erts, erts-10.4.3, smp:12:12, ds:12:12:10, async-threads:1, Eshell, V10.4.3, Bad, ...
ison: ~> 0.11 or ~> 1.0. ===> [appsignal:1.7.0-alpha.4], Bad dependency version for httpoison: ~> 0.11 or ~> 1.0. ===> [appsignal:1.6.0-beta.1], Bad dependency version for httpoison: ~> Code signals: Elixir, Package, rebar3, Erlang, OTP, Erts, erts-10.4.3, smp:12:12, ds:12:12:10, async-threads:1, Eshell, V10.4.3, Bad, ...
[ -0.01483154296875, 0.00714111328125, 0.01116943359375, 0.002899169921875, 0.00335693359375, 0.015625, -0.022216796875, -0.013916015625, 0.004486083984375, 0.023193359375, 0.0101318359375, -0.018798828125, 0.0027313232421875, 0.0296630859375, 0.00063323974609375, 0.00592041015625, -0....
[ 83, 191, 12, 6780, 2740, 107754, 418, 707, 53855, 5, 182906, 9007, 165992, 19721, 129884, 289, 14612, 617, 12745, 42548, 27771, 11389, 100, 1621, 31, 40514, 122336, 2389, 59865, 28864, 26073, 25318, 38308, 56607, 456, 1299, 363, 1004, 3066,...
[ 0.177978515625, 0.257080078125, 0.10235595703125, 0.029571533203125, 0.104736328125, 0.19140625, 0.1595458984375, 0.111083984375, 0.1712646484375, 0.061279296875, 0.02252197265625, 0.1915283203125, 0.267822265625, 0.07220458984375, 0.1849365234375, 0.018157958984375, 0.17138671875, ...
embed
48605399_c0
48605399
elixir
0
Title: Elixir: float to formatted string Problem title: Elixir: float to formatted string Tags: floating-point, string, elixir Problem: Elixir: float to formatted string I do a simple code kata in codewars , solving followed problem: Series: 1 + 1/4 + 1/7 + 1/10 + 1/13 + 1/16 +... I've got an error about test like this...
Elixir: float to formatted string Elixir: float to formatted string floating-point string elixir Elixir TestSeries fixture:6 Assertion fixture:7 Solution Series gen_series do_sum make_format x-1 Enum.reduce io_lib.format Enum.at Elixir: float to formatted string I do a simple code kata in codewars , solving followed pr...
[ -0.007415771484375, -0.01287841796875, -0.0167236328125, 0.007110595703125, 0.01495361328125, 0.004119873046875, 0.0267333984375, 0.00543212890625, 0.014404296875, 0.039794921875, 0.005096435546875, -0.0091552734375, -0.01275634765625, 0.0081787109375, -0.004058837890625, 0.01623535156...
[ 25318, 38308, 21917, 257, 47, 9384, 3674, 79315, 26518, 38496, 15296, 8647, 138724, 30022, 910, 16865, 187895, 64876, 9226, 32832, 54, 11832, 3249, 51727, 5759, 357, 316, 107, 106357, 22995, 5612, 8781, 18151, 3441, 4205, 3115, 134629, 2967, ...
[ 0.1378173828125, 0.283447265625, 0.199951171875, 0.135498046875, 0.123779296875, 0.1865234375, 0.08441162109375, 0.2232666015625, 0.035675048828125, 0.13623046875, 0.08935546875, 0.0921630859375, 0.06439208984375, 0.060333251953125, 0.0307159423828125, 0.08319091796875, 0.09033203125...
embed
45874229_c0
45874229
elixir
0
Title: Elixir/Phoenix geographical load balancer Problem title: Elixir/Phoenix geographical load balancer Tags: load-balancing, phoenix-framework, elixir, latency Problem: Elixir/Phoenix geographical load balancer I'am trying to make a geographical load balancer with elixir/phoenix, so that when clients initially conne...
Elixir/Phoenix geographical load balancer Elixir/Phoenix geographical load balancer load-balancing phoenix-framework elixir latency Elixir Phoenix PageController server1.domain.com server2.domain.com Elixir/Phoenix geographical load balancer I'am trying to make a geographical load balancer with elixir/phoenix, so that ...
[ 0.02392578125, 0.00909423828125, -0.00653076171875, -0.013916015625, 0.000568389892578125, 0.0220947265625, 0.01361083984375, 0.0084228515625, 0.0079345703125, -0.0546875, -0.00180816650390625, -0.01324462890625, 0.0224609375, -0.014404296875, -0.0111083984375, -0.0025482177734375, -...
[ 25318, 38308, 64, 683, 497, 33, 4084, 20787, 48461, 72367, 40197, 42, 31695, 60636, 53073, 160328, 15296, 19161, 133720, 14231, 175904, 603, 10723, 56206, 5442, 289, 31577, 3249, 678, 22014, 3229, 19802, 61475, 37067, 39580, 20903, 271, 133, ...
[ 0.1199951171875, 0.25244140625, 0.059478759765625, 0.014190673828125, 0.048828125, 0.1119384765625, 0.1512451171875, 0.12744140625, 0.154052734375, 0.2158203125, 0.2423095703125, 0.1656494140625, 0.211669921875, 0.1156005859375, 0.051025390625, 0.08251953125, 0.1146240234375, 0.153...
embed
41511876_c1
41511876
elixir
1
.changeset(book, book_params) case Repo.update(changeset) do {:ok, book} -> conn |> put_flash(:info, "Book updated successfully.") |> redirect(to: book_path(conn, :show, book)) {:error, changeset} -> render(conn, "edit.html", book: book, changeset: changeset) end end /web/templates/book/form.html.eex <div class="form-g...
.changeset(book, book_params) case Repo.update(changeset) do {:ok, book} -> conn |> put_flash(:info, "Book updated successfully.") |> redirect(to: book_path(conn, :show, book)) {:error, changeset} -> render(conn, "edit.html", book: book, changeset: changeset) end end /web/templates/book/form.html.eex <div class="form-g...
[ -0.0137939453125, 0.01123046875, 0.014404296875, 0.0023040771484375, 0.0035247802734375, 0.01025390625, -0.0224609375, 0.0032806396484375, 0.00848388671875, -0.03662109375, 0.001800537109375, -0.0240478515625, 0.01318359375, 0.0008544921875, 0.01519775390625, -0.004638671875, -0.0059...
[ 5, 152028, 3509, 14137, 12877, 2500, 8256, 7225, 853, 771, 117008, 685, 158, 3884, 5544, 7319, 37975, 150011, 65771, 80581, 188, 128405, 2271, 19, 31374, 188800, 65572, 126, 89159, 45082, 7693, 14051, 2982, 92558, 5037, 3355, 30618, 51588, ...
[ 0.0142364501953125, 0.198974609375, 0.2120361328125, 0.1502685546875, 0.1441650390625, 0.0999755859375, 0.140625, 0.1259765625, 0.09527587890625, 0.18212890625, 0.208984375, 0.08941650390625, 0.0242462158203125, 0.0201263427734375, 0.10107421875, 0.0736083984375, 0.1693115234375, 0...
embed
34256940_c0
34256940
elixir
0
Title: unique_constraint on 2 fields not being recognized Problem title: unique_constraint on 2 fields not being recognized Tags: phoenix-framework, elixir, ecto Problem: unique_constraint on 2 fields not being recognized * unique: special_event_user If you would like to convert this constraint into an error, please ca...
unique_constraint on 2 fields not being recognized unique_constraint on 2 fields not being recognized phoenix-framework elixir ecto unique_constraint unique_index event_id user_id special_event_user required_fields optional_fields foreign_key_constraint Integer.parse Repo.one User.unique_user User get_session put_flash...
[ -0.005218505859375, -0.0002727508544921875, 0.0155029296875, -0.01031494140625, 0.0146484375, 0.004364013671875, -0.0162353515625, -0.00775146484375, 0.0245361328125, -0.0147705078125, -0.01080322265625, 0.025390625, 0.01019287109375, 0.00958251953125, 0.00482177734375, -0.006256103515...
[ 36998, 2271, 2816, 4288, 98, 116, 44457, 959, 8035, 125296, 53073, 33, 4084, 160328, 15296, 38308, 60751, 4711, 19732, 532, 38937, 5361, 90141, 65918, 56065, 28394, 35829, 110613, 19770, 44401, 2500, 853, 771, 3630, 53400, 34, 45602, 169234, ...
[ 0.294921875, 0.1300048828125, 0.2222900390625, 0.15673828125, 0.0687255859375, 0.1824951171875, 0.249755859375, 0.1126708984375, 0.0740966796875, 0.174072265625, 0.0241851806640625, 0.04217529296875, 0.07757568359375, 0.096923828125, 0.0595703125, 0.1756591796875, 0.202392578125, 0...
embed
43715884_c0
43715884
elixir
0
Title: Iterate through multiple keys on map Problem title: Iterate through multiple keys on map Tags: elixir Problem: Iterate through multiple keys on map I have this code: {drop_off_lat, _ } = case student_model.drop_off_lat do nil -> {0.0, 0} value -> {Float.parse(value), 0} end {drop_off_lng, _ } = case student_mode...
Iterate through multiple keys on map Iterate through multiple keys on map elixir Iterate drop_off_lat student_model.drop_off_lat Float.parse drop_off_lng student_model.drop_off_lng pick_up_lat student_model.pick_up_lat pick_up_lng student_model.pick_up_lng Iterate through multiple keys on map I have this code: for each...
[ 0, -0.025390625, -0.01019287109375, -0.025146484375, -0.0108642578125, -0.0057373046875, 0.0245361328125, -0.028076171875, 0.00775146484375, -0.008544921875, 0.0004215240478515625, 0.00494384765625, 0.0234375, 0.004486083984375, 0.0034637451171875, 0.016357421875, -0.0091552734375, ...
[ 8560, 67, 8305, 48716, 22799, 98, 22288, 7, 15296, 38308, 36069, 16713, 2335, 9836, 51734, 138810, 38699, 257, 2500, 449, 39580, 2037, 18151, 100, 12638, 175199, 6863, 17324, 91995, 678, 757, 21917, 366, 6953, 11389, 20697, 12319, 94928, 10...
[ 0.2449951171875, 0.08416748046875, 0.15283203125, 0.1839599609375, 0.236083984375, 0.042877197265625, 0.1680908203125, 0.04217529296875, 0.06903076171875, 0.22705078125, 0.1435546875, 0.2030029296875, 0.1614990234375, 0.1663818359375, 0.20703125, 0.147216796875, 0.1368408203125, 0....
embed
48770122_c0
48770122
elixir
0
Title: How to pattern match on two kind of parameters in action with phoenix Problem title: How to pattern match on two kind of parameters in action with phoenix Tags: phoenix-framework, elixir Problem: How to pattern match on two kind of parameters in action with phoenix I would like to match two kind of parameter set...
How to pattern match on two kind of parameters in action with phoenix How to pattern match on two kind of parameters in action with phoenix phoenix-framework elixir How index_path main_id IndexController sub_id index.html form_for Enum.map item_name How to pattern match on two kind of parameters in action with phoenix ...
[ -0.02880859375, 0.002105712890625, -0.0037841796875, -0.0091552734375, -0.004302978515625, -0.01953125, -0.0224609375, 0.0035552978515625, 0.0166015625, -0.0255126953125, 0.0179443359375, -0.037353515625, 0.0029144287109375, 0.020751953125, -0.000293731689453125, -0.0223388671875, 0....
[ 11249, 47, 103510, 14858, 98, 6626, 8562, 171859, 7, 22631, 678, 53073, 33, 4084, 160328, 15296, 38308, 63262, 128405, 5201, 532, 31471, 175904, 603, 1614, 7693, 3173, 357, 316, 62346, 35735, 11627, 1884, 5423, 121, 4432, 1810, 53299, 5701,...
[ 0.06793212890625, 0.03656005859375, 0.247314453125, 0.265380859375, 0.08905029296875, 0.190185546875, 0.1533203125, 0.210693359375, 0.008758544921875, 0.1463623046875, 0.08648681640625, 0.073486328125, 0.1177978515625, 0.1412353515625, 0.05322265625, 0.0323486328125, 0.169677734375, ...
embed
37107726_c0
37107726
elixir
0
Title: How can I pass functions to the macros in elixir? Problem title: How can I pass functions to the macros in elixir? Tags: ecto, elixir Problem: How can I pass functions to the macros in elixir? I'm working on a module which expands functionalities of other modules when use d. The problem is that sometimes I want ...
How can I pass functions to the macros in elixir? How can I pass functions to the macros in elixir? ecto elixir How Included __using__ another_bunch_of_things_in_pipe Poor file:web user.ex How can I pass functions to the macros in elixir? I'm working on a module which expands functionalities of other modules when use d...
[ 0.010009765625, 0.01416015625, -0.005096435546875, 0.00543212890625, 0.00262451171875, 0.00116729736328125, -0.007354736328125, -0.01611328125, 0.00653076171875, -0.07666015625, -0.01165771484375, 0.004638671875, -0.007720947265625, 0.0224609375, 0.006500244140625, -0.00177001953125, ...
[ 11249, 831, 27875, 32354, 7, 47, 111789, 23, 15296, 38308, 60751, 8942, 31353, 223, 15700, 17643, 206, 4390, 64113, 73, 1434, 1081, 167626, 11435, 14051, 38937, 3355, 87, 70, 20697, 88996, 71062, 123309, 104, 2967, 33022, 114122, 18151, 809...
[ 0.05889892578125, 0.0574951171875, 0.182373046875, 0.252197265625, 0.10546875, 0.119873046875, 0.23046875, 0.06396484375, 0.1083984375, 0.25927734375, 0.177001953125, 0.006072998046875, 0.090087890625, 0.0487060546875, 0.043121337890625, 0.025146484375, 0.042388916015625, 0.0525817...
embed
48494655_c0
48494655
elixir
0
Title: How to add field in existing table phoenix Problem title: How to add field in existing table phoenix Tags: phoenix-framework, elixir, ecto Problem: How to add field in existing table phoenix So I'm a newbie in phoenix. I created a simple api in my phoenix project the problem is that i want to add another field i...
How to add field in existing table phoenix How to add field in existing table phoenix phoenix-framework elixir ecto How todo.ex TodoApi.Todo TodoApi.Web validate_required How to add field in existing table phoenix So I'm a newbie in phoenix. I created a simple api in my phoenix project the problem is that i want to add...
[ 0.001434326171875, 0.01275634765625, 0.01275634765625, 0.035400390625, 0.00433349609375, 0.01031494140625, 0.0045166015625, -0.01324462890625, -0.0019073486328125, -0.03955078125, 0.03955078125, -0.00933837890625, 0.007110595703125, 0.0299072265625, 0.0030670166015625, -0.016357421875,...
[ 11249, 47, 15190, 44457, 23, 144573, 23180, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 1973, 3355, 26657, 1434, 7763, 246, 284, 30474, 44622, 67, 107, 3181, 3525, 9014, 8781, 31470, 13452, 2967, 3444, 15700, 759, 42179, 61607, 992...
[ 0.119873046875, 0.107177734375, 0.2054443359375, 0.314697265625, 0.136474609375, 0.274658203125, 0.278076171875, 0.1151123046875, 0.1549072265625, 0.184326171875, 0.108642578125, 0.055450439453125, 0.0653076171875, 0.188720703125, 0.2109375, 0.215576171875, 0.1827392578125, 0.19018...
embed
40938529_c0
40938529
elixir
0
Title: Google maps Api - A place between two points Problem title: Google maps Api - A place between two points Tags: google-maps, elixir, api Problem: Google maps Api - A place between two points I've never used the google api before, but over lunch I was trying to think of a fun weekend project. I'm trying to learn E...
Google maps Api - A place between two points Google maps Api - A place between two points google-maps elixir api Google Api Google maps Api - A place between two points I've never used the google api before, but over lunch I was trying to think of a fun weekend project. I'm trying to learn Elixir. So I thought to mysel...
[ -0.011474609375, 0.0108642578125, 0.01226806640625, -0.0267333984375, -0.0050048828125, 0.030517578125, 0.0059814453125, -0.0218505859375, -0.01513671875, -0.024169921875, 0.0130615234375, -0.01434326171875, -0.01080322265625, 0.025146484375, 0.00830078125, -0.005767822265625, -0.005...
[ 1815, 22288, 7, 5787, 14, 20, 62, 3687, 17721, 6626, 26847, 26484, 62346, 15296, 38308, 31470, 8306, 11814, 8108, 645, 40781, 31577, 5351, 7477, 14000, 13452, 30698, 25318, 17569, 35978, 2806, 1884, 7413, 96759, 34475, 31913, 678, 2967, 448...
[ 0.179443359375, 0.1895751953125, 0.08349609375, 0.207763671875, 0.217529296875, 0.0147552490234375, 0.1173095703125, 0.1934814453125, 0.2342529296875, 0.1724853515625, 0.1907958984375, 0.1683349609375, 0.1761474609375, 0.0762939453125, 0.2320556640625, 0.223876953125, 0.11181640625, ...
embed
46922406_c0
46922406
elixir
0
Title: order by in Repo.preload Problem title: order by in Repo.preload Tags: ecto, elixir Problem: order by in Repo.preload I would like to understand in the queries done by a Repo.preload , why there is an order by clause. App.Repo.get(Sopitas.Continent, 1) |> App.Repo.preload(:countries) The queries executed are: [d...
order by in Repo.preload order by in Repo.preload ecto elixir Repo.preload App.Repo.get Sopitas.Continent App.Repo.preload QUERY SELECT sm_id inserted_at updated_at WHERE continent_id ORDER order by in Repo.preload I would like to understand in the queries done by a Repo.preload , why there is an order by clause. The q...
[ 0.0186767578125, 0.0035247802734375, -0.008056640625, 0.0203857421875, -0.018310546875, -0.01324462890625, -0.006744384765625, -0.00537109375, -0.0022125244140625, -0.052490234375, 0.0076904296875, -0.0023651123046875, -0.009765625, -0.0286865234375, -0.0234375, 0.0011138916015625, -...
[ 12989, 390, 23, 853, 771, 4692, 63033, 60751, 15296, 38308, 5659, 4332, 65018, 5232, 31847, 18, 21389, 6755, 144832, 14050, 532, 183540, 150011, 72852, 33172, 18044, 28219, 41, 15400, 2685, 83, 142, 70731, 13, 10484, 71924, 15190, 9433, 173...
[ 0.25830078125, 0.2259521484375, 0.06817626953125, 0.1107177734375, 0.1842041015625, 0.131103515625, 0.231689453125, 0.178955078125, 0.055389404296875, 0.1865234375, 0.06866455078125, 0.049041748046875, 0.0611572265625, 0.177734375, 0.0728759765625, 0.017303466796875, 0.10076904296875...
embed
43797899_c0
43797899
elixir
0
Title: Using vue.js with Phoenix failed so far Problem title: Using vue.js with Phoenix failed so far Tags: elixir, phoenix-framework, vue.js Problem: Using vue.js with Phoenix failed so far I follow this tutorial to learn to use vue.js in a Phoenix web app. So far I made until I should get the word Vuechat in browser,...
Using vue.js with Phoenix failed so far Using vue.js with Phoenix failed so far elixir phoenix-framework vue.js Using vue.js Phoenix May Resolving app.js Could my-app.vue Users Documents Elixir Possible package.json Using vue.js with Phoenix failed so far I follow this tutorial to learn to use vue.js in a Phoenix web a...
[ -0.0057373046875, 0.007476806640625, -0.0059814453125, -0.004547119140625, 0.009765625, 0.03515625, 0.00128936767578125, -0.015869140625, 0.000942230224609375, -0.04345703125, -0.01019287109375, -0.02978515625, 0.0302734375, 0.0235595703125, -0.02490234375, 0.009033203125, -0.0092773...
[ 345, 31689, 5, 28175, 678, 133720, 165523, 221, 2060, 15296, 38308, 53073, 33, 4084, 160328, 4347, 132944, 4027, 191147, 759, 9007, 1783, 13, 53400, 43101, 25318, 115861, 98169, 170, 1681, 28960, 57143, 30698, 4527, 1467, 2046, 2565, 35443, ...
[ 0.07220458984375, 0.296142578125, 0.06256103515625, 0.212646484375, 0.1075439453125, 0.247314453125, 0.173828125, 0.000274658203125, 0.093994140625, 0.034759521484375, 0.202392578125, 0.04290771484375, 0.021697998046875, 0.0997314453125, 0.07122802734375, 0.119140625, 0.1226806640625...
embed
34025243_c1
34025243
elixir
1
:h heart hipe_unified_loader iex(1)> :h heart hipe_unified_loader iex(1)> :hackney :hackney iex(2)> method = :get :get iex(3)> URL = 'https://friendpaste.com' ** (MatchError) no match of right hand side value: 'https://friendpaste.com' iex(3)> url = 'https://friendpaste.com' 'https://friendpaste.com' iex(4)> headers =...
:h heart hipe_unified_loader iex(1)> :h heart hipe_unified_loader iex(1)> :hackney :hackney iex(2)> method = :get :get iex(3)> URL = 'https://friendpaste.com' ** (MatchError) no match of right hand side value: 'https://friendpaste.com' iex(3)> url = 'https://friendpaste.com' 'https://friendpaste.com' iex(4)> headers =...
[ -0.0196533203125, 0.01287841796875, 0.0181884765625, 0.0223388671875, 0.00170135498046875, 0.003021240234375, 0.00677490234375, -0.0157470703125, -0.00653076171875, -0.03955078125, -0.006927490234375, -0.0556640625, -0.0107421875, -0.006561279296875, 0.01708984375, -0.0113525390625, ...
[ 127, 26498, 26177, 13, 309, 47314, 63033, 56, 17, 3355, 27750, 139509, 10186, 55300, 3794, 69829, 31862, 84240, 134665, 277, 79520, 18468, 31611, 110, 14858, 7108, 3535, 5609, 34292, 25002, 10336, 8783, 169073, 50717, 685, 10778, 27582, 23282...
[ 0.0797119140625, 0.18701171875, 0.181396484375, 0.1890869140625, 0.10205078125, 0.15966796875, 0.2108154296875, 0.10693359375, 0.0662841796875, 0.1839599609375, 0.007843017578125, 0.1513671875, 0.21923828125, 0.145263671875, 0.06719970703125, 0.0294342041015625, 0.1546630859375, 0....
embed
49815155_c0
49815155
elixir
0
Title: warning variable unused in assert Problem title: warning variable unused in assert Tags: elixir, testing, phoenix-framework, assert Problem: warning variable unused in assert I can test the content after a redirection like this assert "/url" = redir_path = redirected_to(conn, 302) conn = get(recycle(conn), redir...
warning variable unused in assert warning variable unused in assert elixir testing phoenix-framework assert redir_path redirected_to html_response Content url_path warning variable unused in assert I can test the content after a redirection like this But I cannot add a param variable to the assert url like this: It com...
[ -0.0167236328125, -0.0093994140625, -0.00830078125, 0.007415771484375, -0.000881195068359375, -0.00604248046875, -0.02587890625, -0.0029296875, -0.004364013671875, -0.0218505859375, -0.00439453125, 0.00592041015625, 0.00482177734375, 0.021484375, 0.03369140625, 0.006103515625, -0.011...
[ 1631, 592, 77336, 51, 33740, 23, 237, 33657, 15296, 38308, 134234, 33, 4084, 160328, 456, 936, 128405, 80581, 188, 7693, 134719, 70870, 25002, 3034, 10941, 7103, 58994, 1884, 903, 53418, 15190, 121, 39, 186992, 61924, 60875, 8108, 17368, 24...
[ 0.11865234375, 0.056793212890625, 0.261474609375, 0.08642578125, 0.2030029296875, 0.0285797119140625, 0.07537841796875, 0.2349853515625, 0.04046630859375, 0.1669921875, 0.1883544921875, 0.0219573974609375, 0.088623046875, 0.0325927734375, 0.07147216796875, 0.12939453125, 0.1242675781...
embed
32811831_c0
32811831
elixir
0
Title: Why is the variable not being rebound in this elixir infinite stream? Problem title: Why is the variable not being rebound in this elixir infinite stream? Tags: elixir Problem: Why is the variable not being rebound in this elixir infinite stream? I have the following: counter = 0 try do for _ <- Stream.cycle([:o...
Why is the variable not being rebound in this elixir infinite stream? Why is the variable not being rebound in this elixir infinite stream? elixir Why Stream.cycle IO.puts Counter After Finished Why is the variable not being rebound in this elixir infinite stream? I have the following: From what I've read, I thought th...
[ -0.01953125, 0.01904296875, -0.01531982421875, 0.0081787109375, 0.0093994140625, 0.00946044921875, 0.0174560546875, 0.00982666015625, 0.01123046875, -0.015869140625, -0.0157470703125, 0.00396728515625, 0.0263671875, 0.036865234375, 0.02734375, 0.0205078125, 0.00122833251953125, 0.0...
[ 44084, 83, 77336, 959, 8035, 456, 99091, 903, 15296, 38308, 54241, 13, 75973, 23, 115061, 75457, 17780, 7077, 197956, 24372, 13316, 164, 5252, 17569, 105416, 997, 106, 89817, 69112, 138, 35431, 29568, 140992, 62163, 4420, 47, 61475, 34292, ...
[ 0.130126953125, 0.03887939453125, 0.251953125, 0.14208984375, 0.1109619140625, 0.129638671875, 0.2685546875, 0.03948974609375, 0.0565185546875, 0.201416015625, 0.119873046875, 0.02227783203125, 0.200927734375, 0.013458251953125, 0.1776123046875, 0.1573486328125, 0.1429443359375, 0....
embed
68913250_c0
68913250
elixir
0
Title: Stacktrace in erlang tracer Problem title: Stacktrace in erlang tracer Tags: elixir, beam, trace, erlang Problem: Stacktrace in erlang tracer Is it possible to return a stacktrace in a trace? I'm using :dbg.tp/3 and :dbg.tracer/2 to get a trace along with the calling module. I tried caller function (see in docs:...
Stacktrace in erlang tracer Stacktrace in erlang tracer elixir beam trace erlang Stacktrace dbg.tp dbg.tracer erl_eval do_apply handler_fun _pid _ignored IO.puts process_dump Stacktrace in erlang tracer Is it possible to return a stacktrace in a trace? I'm using :dbg.tp/3 and :dbg.tracer/2 to get a trace along with the...
[ 0.004852294921875, 0.03271484375, -0.01544189453125, 0.0021209716796875, -0.00787353515625, -0.0052490234375, 0.0030059814453125, -0.004150390625, -0.0150146484375, -0.0771484375, -0.005950927734375, 0.02197265625, 0.006011962890625, 0.01336669921875, 0.0162353515625, 0.019287109375, ...
[ 6512, 32111, 99407, 23, 72, 3066, 1152, 3443, 15296, 38308, 186, 302, 144851, 11821, 18, 254, 39989, 56, 141, 1405, 9007, 538, 35863, 16498, 45226, 167790, 17780, 9433, 693, 2676, 7722, 30646, 10, 177261, 13, 17368, 18113, 12477, 2046, 33...
[ 0.1610107421875, 0.1148681640625, 0.26513671875, 0.07403564453125, 0.101806640625, 0.224609375, 0.1785888671875, 0.167724609375, 0.04229736328125, 0.166748046875, 0.0841064453125, 0.06915283203125, 0.258544921875, 0.09564208984375, 0.00994873046875, 0.06982421875, 0.259521484375, 0...
embed
46079031_c1
46079031
elixir
1
, so I am sure I'm not just seeing dev. Using Encrypted session, but the endpoint I am using doesn't fetch or update the sesssion If I raise an exception at the beginning of the controller method, it will be received by chrome/curl in ~3ms The responses are small (< 600 bytes) Phoenix 1.3 MySql -- mariaex 0.8.3 Ecto 2....
, so I am sure I'm not just seeing dev. Using Encrypted session, but the endpoint I am using doesn't fetch or update the sesssion If I raise an exception at the beginning of the controller method, it will be received by chrome/curl in ~3ms The responses are small (< 600 bytes) Phoenix 1.3 MySql -- mariaex 0.8.3 Ecto 2....
[ -0.0123291015625, 0.0181884765625, 0.0130615234375, -0.028564453125, -0.0048828125, 0.007781982421875, -0.0174560546875, -0.01531982421875, 0.0133056640625, -0.0184326171875, 0.01080322265625, 0.00714111328125, 0.0025482177734375, 0.01251220703125, 0.0086669921875, -0.00044059753417968...
[ 9077, 86681, 33245, 345, 6953, 357, 136791, 56002, 1284, 3564, 38496, 17368, 22027, 18, 7647, 707, 28350, 3401, 7, 6889, 138804, 131527, 86595, 185373, 55300, 75204, 17656, 13450, 64, 16820, 141, 23, 363, 4432, 57553, 621, 19336, 16093, 633...
[ 0.04803466796875, 0.1138916015625, 0.1607666015625, 0.057525634765625, 0.0235137939453125, 0.05230712890625, 0.281005859375, 0.207763671875, 0.015594482421875, 0.1131591796875, 0.17041015625, 0.1029052734375, 0.07421875, 0.1214599609375, 0.1378173828125, 0.014984130859375, 0.17163085...
embed
59101375_c0
59101375
elixir
0
Title: Where should I call initialization code in Phoenix, which might involve connection to a db? Problem title: Where should I call initialization code in Phoenix, which might involve connection to a db? Tags: elixir, erlang-otp, phoenix-framework Problem: Where should I call initialization code in Phoenix, which mig...
Where should I call initialization code in Phoenix, which might involve connection to a db? Where should I call initialization code in Phoenix, which might involve connection to a db? elixir erlang-otp phoenix-framework Where Phoenix MyAppWeb.Endpoint Where should I call initialization code in Phoenix, which might invo...
[ 0.01348876953125, 0.02001953125, -0.0003948211669921875, -0.006134033203125, 0.0140380859375, 0.00494384765625, 0.00274658203125, -0.0286865234375, 0.005157470703125, -0.044921875, -0.0026397705078125, -0.0189208984375, 0.0186767578125, 0.0135498046875, -0.0145263671875, 0.000740051269...
[ 78662, 5608, 11782, 61475, 47691, 18151, 23, 133720, 13648, 83687, 94878, 40041, 47, 15296, 38308, 72, 3066, 818, 254, 53073, 33, 4084, 160328, 18244, 2646, 39179, 30474, 152378, 38496, 25318, 41761, 38415, 73882, 63920, 64209, 50336, 63399, ...
[ 0.1444091796875, 0.07525634765625, 0.1673583984375, 0.22021484375, 0.1607666015625, 0.22265625, 0.08734130859375, 0.292236328125, 0.0809326171875, 0.100830078125, 0.1219482421875, 0.1634521484375, 0.03875732421875, 0.04638671875, 0.1956787109375, 0.041534423828125, 0.2059326171875, ...
embed
37350893_c0
37350893
elixir
0
Title: elixir ecto: test has_many association Problem title: elixir ecto: test has_many association Tags: unit-testing, testing, tdd, elixir, ecto Problem: elixir ecto: test has_many association I am a newbie in elixir, so don't be too harsh I have following models: defmodule MyApp.Device do use MyApp.Web, :model schem...
elixir ecto: test has_many association elixir ecto: test has_many association unit-testing testing tdd elixir ecto has_many MyApp.Device MyApp.Web belongs_to MyApp.User Registration.changeset Registration valid_attrs Ecto.Changeset.apply_changes Registration.to_user IO.puts elixir ecto: test has_many association I am a...
[ -0.00506591796875, -0.000850677490234375, 0.0029144287109375, 0.01324462890625, 0.006378173828125, 0.0037841796875, -0.018310546875, -0.013916015625, 0.006011962890625, -0.0615234375, -0.015380859375, 0.0162353515625, -0.007537841796875, 0.007415771484375, 0.0006103515625, -0.02734375,...
[ 15296, 38308, 60751, 12, 3034, 1556, 669, 53, 125413, 25072, 6954, 134234, 808, 4028, 2646, 39179, 4657, 20375, 30474, 10617, 188, 2189, 19685, 152028, 3509, 35604, 27639, 241, 44150, 127008, 126, 9007, 65918, 17780, 7077, 444, 3525, 9014, ...
[ 0.1090087890625, 0.2283935546875, 0.2364501953125, 0.03594970703125, 0.24462890625, 0.1466064453125, 0.1622314453125, 0.126220703125, 0.234375, 0.1549072265625, 0.209228515625, 0.2464599609375, 0.0251312255859375, 0.103759765625, 0.045654296875, 0.1458740234375, 0.06964111328125, 0...
embed
34474778_c0
34474778
elixir
0
Title: Phoenix Framework Query Parameters Problem title: Phoenix Framework Query Parameters Tags: phoenix-framework, functional-programming, elixir Problem: Phoenix Framework Query Parameters I'm attempting to build a query based on the parameters in the query string. I just started learning Elixir/OTP and functional p...
Phoenix Framework Query Parameters Phoenix Framework Query Parameters phoenix-framework functional-programming elixir e Phoenix Framework Query Parameters Enum.reduce Event DateTimeParser.parse ISO:Extended:Z e.time e.event_type_id Phoenix Framework Query Parameters I'm attempting to build a query based on the paramete...
[ -0.0172119140625, 0.0038299560546875, 0.0067138671875, -0.015869140625, -0.0213623046875, -0.0201416015625, -0.0135498046875, 0.0074462890625, 0.0037078857421875, -0.0498046875, -0.00787353515625, -0.026611328125, 0.0113525390625, 0.0064697265625, -0.025146484375, 0.00848388671875, -...
[ 133720, 202220, 58836, 53, 1720, 29089, 53073, 33, 4084, 160328, 18244, 123309, 28966, 15296, 38308, 28, 357, 316, 107, 106357, 36943, 25512, 70059, 28636, 2189, 2500, 17408, 35548, 1511, 6032, 90141, 50986, 532, 81887, 45367, 41, 1294, 35509...
[ 0.271484375, 0.215576171875, 0.2022705078125, 0.0975341796875, 0.1529541015625, 0.1839599609375, 0.03546142578125, 0.06610107421875, 0.07696533203125, 0.11083984375, 0.06854248046875, 0.173828125, 0.1263427734375, 0.063720703125, 0.2269287109375, 0.0955810546875, 0.08160400390625, ...
embed
44458472_c1
44458472
elixir
1
/Documents/Work/Erlang/Elixir/api_pager/deps/cowboy/src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4 Controller.ex: def upload_user_avatar(conn, %{"upload_file" => upload_file}) do IO.inspect(upload_file) json(conn, %{"message" => "Action will created, but file uploading still not working..."}) end There is some...
/Documents/Work/Erlang/Elixir/api_pager/deps/cowboy/src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4 Controller.ex: def upload_user_avatar(conn, %{"upload_file" => upload_file}) do IO.inspect(upload_file) json(conn, %{"message" => "Action will created, but file uploading still not working..."}) end There is some...
[ -0.032470703125, 0.0013580322265625, -0.00738525390625, 0.0072021484375, -0.0223388671875, 0.03125, -0.007171630859375, -0.01263427734375, -0.01397705078125, -0.006256103515625, 0.003509521484375, 0.004302978515625, 0.0159912109375, 0.022216796875, 0.006195068359375, -0.0150146484375, ...
[ 248, 239469, 108259, 18468, 3066, 150, 38308, 40897, 11902, 56, 112, 6423, 587, 434, 30885, 19437, 18606, 31, 8447, 141, 161041, 46480, 85691, 17357, 27131, 603, 3355, 8, 70622, 65918, 24047, 2271, 94835, 29822, 54, 17780, 16711, 1647, 1681...
[ 0.005706787109375, 0.17333984375, 0.146728515625, 0.0965576171875, 0.2646484375, 0.08258056640625, 0.25341796875, 0.157958984375, 0.197998046875, 0.1226806640625, 0.0689697265625, 0.0709228515625, 0.0604248046875, 0.1346435546875, 0.25390625, 0.1522216796875, 0.1309814453125, 0.155...
embed
36908606_c0
36908606
elixir
0
Title: Use OR instead of AND in the validation Problem title: Use OR instead of AND in the validation Tags: phoenix-framework, elixir Problem: Use OR instead of AND in the validation I have a user where I want to make sure that a user has at least a first_name or a last_name or a nickname . The user doesn't have to hav...
Use OR instead of AND in the validation Use OR instead of AND in the validation phoenix-framework elixir Use first_name last_name Vutuv.User Vutuv.Web required_fields optional_fields Creates Use OR instead of AND in the validation I have a user where I want to make sure that a user has at least a first_name or a last_n...
[ -0.00970458984375, -0.0029754638671875, 0.0024871826171875, 0.0235595703125, -0.00531005859375, 0.01385498046875, -0.00014209747314453125, 0.000583648681640625, 0.004730224609375, -0.0167236328125, 0.0103759765625, -0.01220703125, 0.0037994384765625, 0.0284423828125, -0.0050048828125, ...
[ 36836, 33172, 64457, 111, 48762, 23, 70, 44622, 1363, 53073, 33, 4084, 160328, 18244, 15296, 38308, 5117, 11627, 4568, 35443, 69782, 1062, 2189, 30474, 56065, 28394, 35829, 289, 151313, 38937, 3444, 3249, 9077, 1556, 19713, 707, 128911, 765, ...
[ 0.173583984375, 0.330810546875, 0.2283935546875, 0.0860595703125, 0.255126953125, 0.0794677734375, 0.007537841796875, 0.2705078125, 0.1500244140625, 0.0791015625, 0.0994873046875, 0.1611328125, 0.140380859375, 0.0863037109375, 0.0938720703125, 0.228271484375, 0.1229248046875, 0.167...
embed
34112954_c0
34112954
elixir
0
Title: Phoenix Ecto how to handle NoResultsError Problem title: Phoenix Ecto how to handle NoResultsError Tags: ecto, phoenix-framework, json, elixir Problem: Phoenix Ecto how to handle NoResultsError In my Phoenix JSON API I am getting an Ecto NoResultsError when I request an object that doesn't exist in the database....
Phoenix Ecto how to handle NoResultsError Phoenix Ecto how to handle NoResultsError ecto phoenix-framework json elixir NoResultsError Phoenix Ecto my_model Repo.get MyModel get_format show.html MyProject.MyModelView Laired.Web show.json Phoenix Ecto how to handle NoResultsError In my Phoenix JSON API I am getting an Ec...
[ -0.0255126953125, 0.00732421875, -0.0017547607421875, -0.01226806640625, 0.00531005859375, -0.007354736328125, -0.00439453125, -0.01507568359375, 0.01373291015625, -0.0286865234375, -0.0220947265625, -0.01513671875, -0.01556396484375, 0.0031280517578125, 0.0174560546875, 0.003295898437...
[ 133720, 241, 44150, 3642, 34831, 438, 4332, 10178, 933, 18468, 31611, 47, 60751, 53073, 33, 4084, 160328, 1647, 1681, 15296, 38308, 759, 51734, 771, 2646, 140290, 51727, 7639, 7693, 223353, 31852, 100474, 2822, 30474, 170, 821, 58627, 61687, ...
[ 0.254638671875, 0.133056640625, 0.294921875, 0.0556640625, 0.1688232421875, 0.19482421875, 0.1165771484375, 0.15625, 0.0894775390625, 0.13916015625, 0.1708984375, 0.002532958984375, 0.2158203125, 0.046142578125, 0.056427001953125, 0.0794677734375, 0.0272979736328125, 0.079162597656...
embed
72170033_c0
72170033
elixir
0
Title: Explain this Elixir binary search implementation Problem title: Explain this Elixir binary search implementation Tags: elixir Problem: Explain this Elixir binary search implementation Good day. I have some Elixir code that does a Binary search . I'm having a hard time understanding the logic behind it. Could som...
Explain this Elixir binary search implementation Explain this Elixir binary search implementation elixir Explain Elixir Binary not_found _key tuple_size Explain this Elixir binary search implementation Good day. I have some Elixir code that does a Binary search . I'm having a hard time understanding the logic behind it...
[ -0.0111083984375, 0.009033203125, 0.01239013671875, 0.00177764892578125, 0.006561279296875, 0.01397705078125, 0.00043487548828125, -0.01434326171875, 0.023193359375, 0.023193359375, -0.007080078125, 0.00146484375, 0.00098419189453125, 0.05126953125, 0.035888671875, -0.00396728515625, ...
[ 60075, 16442, 903, 25318, 38308, 2394, 6635, 33938, 208124, 15296, 54092, 1294, 959, 151645, 19770, 370, 8705, 62539, 18151, 14602, 7941, 1733, 100094, 62775, 50155, 73342, 12638, 32354 ]
[ 0.0845947265625, 0.1578369140625, 0.0809326171875, 0.10992431640625, 0.257080078125, 0.157958984375, 0.07244873046875, 0.1888427734375, 0.158203125, 0.07452392578125, 0.186767578125, 0.12261962890625, 0.11541748046875, 0.17626953125, 0.1466064453125, 0.082763671875, 0.147216796875, ...
embed
38896624_c0
38896624
elixir
0
Title: Clojure Web (HttpKit, Manifold) vs Elixir/Pheonix Problem title: Clojure Web (HttpKit, Manifold) vs Elixir/Pheonix Tags: clojure, elixir, http-kit, phoenix-framework Problem: Clojure Web (HttpKit, Manifold) vs Elixir/Pheonix I am currently weighing up the use of Elixir vs Clojure for running a web server to hand...
Clojure Web (HttpKit, Manifold) vs Elixir/Pheonix Clojure Web (HttpKit, Manifold) vs Elixir/Pheonix clojure elixir http-kit phoenix-framework Clojure Web HttpKit Manifold Elixir Pheonix Clojure Web (HttpKit, Manifold) vs Elixir/Pheonix I am currently weighing up the use of Elixir vs Clojure for running a web server to ...
[ 0.0130615234375, 0.017822265625, -0.01458740234375, -0.0048828125, 0.00341796875, 0.0024871826171875, 0.00043487548828125, -0.00146484375, -0.0034332275390625, -0.0233154296875, -0.00970458984375, -0.007415771484375, 0.005523681640625, -0.0032501220703125, 0.00848388671875, -0.00585937...
[ 51053, 461, 107, 4002, 3062, 254, 605, 217, 49377, 42822, 16, 20209, 25318, 38308, 64, 45689, 13, 191, 4084, 20450, 15296, 1621, 9488, 53073, 33, 160328, 18244, 13000, 841, 82424, 642, 6958, 214, 70, 4527, 51042, 10, 1467, 10723, 34831, ...
[ 0.18896484375, 0.2183837890625, 0.197265625, 0.201416015625, 0.08935546875, 0.003509521484375, 0.11865234375, 0.1439208984375, 0.0802001953125, 0.1978759765625, 0.003082275390625, 0.08575439453125, 0.1304931640625, 0.25634765625, 0.042449951171875, 0.058197021484375, 0.06878662109375...
embed
51179425_c0
51179425
elixir
0
Title: How to clean data in every test case in Phoenix Problem title: How to clean data in every test case in Phoenix Tags: phoenix-framework, elixir, ecto Problem: How to clean data in every test case in Phoenix If 2nd test case runs after 1st test case then it is getting failed as the database is having ReservationIn...
How to clean data in every test case in Phoenix How to clean data in every test case in Phoenix phoenix-framework elixir ecto How Phoenix MyProj.TestABC ExUnit.Case MyProj.Models.ReservationInfo MyProj.Repo Create Coordinates reservation_result ReservationInfo.create Shouldn ReservationInfo.get_all How to clean data in...
[ -0.002471923828125, 0.01806640625, -0.001434326171875, 0.009765625, 0.01544189453125, -0.006988525390625, 0.018798828125, 0.005340576171875, 0.00921630859375, -0.00970458984375, -0.01153564453125, -0.00174713134765625, -0.00384521484375, 0.00628662109375, 0.004364013671875, 0.015625, ...
[ 11249, 47, 46622, 2053, 23, 11907, 3034, 7225, 133720, 53073, 33, 4084, 160328, 18244, 15296, 38308, 60751, 2646, 10752, 170, 111337, 186944, 5443, 85600, 441, 6991, 140290, 65756, 93147, 771, 151313, 43297, 18433, 128487, 7612, 3794, 5584, 1...
[ 0.06683349609375, 0.057403564453125, 0.252685546875, 0.1845703125, 0.089599609375, 0.189208984375, 0.208984375, 0.188720703125, 0.255615234375, 0.04376220703125, 0.013458251953125, 0.0531005859375, 0.068603515625, 0.025146484375, 0.0367431640625, 0.1463623046875, 0.18359375, 0.0549...
embed
75056587_c0
75056587
elixir
0
Title: Using existing entries in an Ecto changeset function Problem title: Using existing entries in an Ecto changeset function Tags: changeset, ecto, elixir, validation Problem: Using existing entries in an Ecto changeset function I have a business_hours table (using MySQL) which contains the following fields: locatio...
Using existing entries in an Ecto changeset function Using existing entries in an Ecto changeset function changeset ecto elixir validation Using Ecto business_hours location_id starting_time e.g ending_time a.starting_time b.ending_time a.ending_time b.starting_time a.day b.day a.location_id b.location_id Using existin...
[ 0.00848388671875, -0.0034332275390625, 0.0224609375, -0.01031494140625, 0.02685546875, 0.00180816650390625, -0.03076171875, -0.006683349609375, 0.003448486328125, -0.03564453125, -0.01171875, 0.027099609375, 0.034423828125, 0.0224609375, -0.0012969970703125, 0.000766754150390625, -0....
[ 345, 6953, 144573, 112820, 90, 241, 44150, 65572, 126, 32354, 60751, 15296, 38308, 44622, 8063, 497, 12824, 31913, 532, 72134, 6032, 86658, 17137, 6238, 5636, 876, 87632, 23180, 157146, 70541, 25632, 44457, 105233, 67, 3525, 42805, 14602, 959...
[ 0.122314453125, 0.0179290771484375, 0.2744140625, 0.21728515625, 0.050201416015625, 0.104248046875, 0.279296875, 0.2005615234375, 0.1978759765625, 0.1856689453125, 0.2347412109375, 0.07958984375, 0.1883544921875, 0.214599609375, 0.1573486328125, 0.1754150390625, 0.0933837890625, 0....
embed
39221484_c0
39221484
elixir
0
Title: How to get caller module name in included module? Problem title: How to get caller module name in included module? Tags: elixir, ecto, phoenix-framework Problem: How to get caller module name in included module? How to get caller module in included MyApp.MyUniversalModule and get by on field_name argument? defmo...
How to get caller module name in included module? How to get caller module name in included module? elixir ecto phoenix-framework MyApp.MyUniversalModule How gen_and_check_unique field_name random_string MyApp.MyQueryableModule Repo.get_by crypto.strong_rand_bytes Base.url_encode64 binary_part MyApp.Web How to get call...
[ 0.0015106201171875, 0.0201416015625, 0.013671875, 0.0201416015625, -0.002685546875, 0.0074462890625, 0.01165771484375, -0.0126953125, -0.01348876953125, -0.06591796875, 0.01708984375, -0.0016632080078125, 0.0244140625, -0.0012664794921875, -0.0052490234375, -0.0234375, -0.0244140625,...
[ 11249, 2046, 11782, 56, 88996, 9351, 23, 99201, 15296, 38308, 60751, 53073, 33, 4084, 160328, 18244, 2646, 39179, 31852, 65305, 91616, 8782, 9226, 2940, 78292, 34, 45602, 44457, 11627, 96759, 91693, 41732, 1294, 2886, 853, 771, 3794, 1272, ...
[ 0.046661376953125, 0.07037353515625, 0.1746826171875, 0.1673583984375, 0.2496337890625, 0.148193359375, 0.0614013671875, 0.2176513671875, 0.027587890625, 0.167724609375, 0.175048828125, 0.020294189453125, 0.0280609130859375, 0.0870361328125, 0.06512451171875, 0.00762939453125, 0.0535...
embed
38940520_c0
38940520
elixir
0
Title: Phoenix IEx.pry not putting a break point in code Problem title: Phoenix IEx.pry not putting a break point in code Tags: phoenix-framework, elixir Problem: Phoenix IEx.pry not putting a break point in code I wanted to debug Controllers in Phoenix the way i used to do with Rails by simply putting binding.pry at a...
Phoenix IEx.pry not putting a break point in code Phoenix IEx.pry not putting a break point in code phoenix-framework elixir IEx Phoenix IEx.pry binding.pry Rumbl.UserController Rumbl.Web _params Repo.all Rumbl.User index.html Cannot PID users_controller.ex:6 Phoenix IEx.pry not putting a break point in code I wanted t...
[ -0.007049560546875, 0.01953125, -0.00012874603271484375, 0.01043701171875, -0.0057373046875, 0.031005859375, -0.005859375, -0.0089111328125, 0.000244140625, -0.052734375, -0.01336669921875, -0.005706787109375, 0.01080322265625, 0.02685546875, 0.0029754638671875, 0.0264892578125, -0.0...
[ 133720, 87, 19279, 254, 1294, 959, 118620, 36356, 6275, 23, 18151, 10, 53073, 33, 4084, 160328, 15296, 38308, 128239, 27976, 9030, 1062, 2189, 175904, 30474, 2500, 771, 5584, 63262, 7693, 10869, 436, 7146, 72095, 81988, 3355, 910, 8, 85779,...
[ 0.2186279296875, 0.1138916015625, 0.18896484375, 0.1107177734375, 0.199462890625, 0.07208251953125, 0.09539794921875, 0.20703125, 0.1849365234375, 0.05072021484375, 0.1961669921875, 0.00885009765625, 0.002471923828125, 0.03607177734375, 0.0877685546875, 0.040191650390625, 0.019912719...
embed
39679869_c0
39679869
elixir
0
Title: How to extract a number value from a string containing CSS rules Problem title: How to extract a number value from a string containing CSS rules Tags: elixir, phoenix-framework Problem: How to extract a number value from a string containing CSS rules Given a string with a format similar to this: "color: blue; pa...
How to extract a number value from a string containing CSS rules How to extract a number value from a string containing CSS rules elixir phoenix-framework a How CSS String.split Enum.map Regex.match String.replace How to extract a number value from a string containing CSS rules Given a string with a format similar to t...
[ -0.0242919921875, -0.01409912109375, -0.01116943359375, 0.0213623046875, 0.003936767578125, -0.01025390625, -0.011962890625, -0.00099945068359375, 0.016357421875, -0.0189208984375, -0.015380859375, 0.0223388671875, -0.0174560546875, 0.0203857421875, 0.003570556640625, 0.0091552734375, ...
[ 11249, 125663, 10, 14012, 34292, 1295, 79315, 70541, 214, 59279, 91736, 47, 15296, 38308, 53073, 33, 4084, 160328, 18244, 23351, 7008, 4353, 357, 316, 62346, 11678, 3355, 98753, 107, 23935, 9384, 21373, 1884, 22410, 89778, 2685, 5809, 46474, ...
[ 0.0760498046875, 0.23291015625, 0.012542724609375, 0.2398681640625, 0.2198486328125, 0.1077880859375, 0.2432861328125, 0.1431884765625, 0.0947265625, 0.241455078125, 0.2181396484375, 0.0256805419921875, 0.05706787109375, 0.165283203125, 0.056732177734375, 0.071533203125, 0.1337890625...
embed
55391903_c1
55391903
elixir
1
0:00:04] do so (now or later) by using -b with the checkout command again. Example: [00:00:04] [00:00:04] git checkout -b <new-branch-name> [00:00:04] [00:00:04] ./sources/asdf/bin/asdf plugin-add elixir [00:00:04] initializing plugin repository... [00:00:04] Cloning into '/home/appveyor/projects/amqp-filter-exchange/s...
0:00:04] do so (now or later) by using -b with the checkout command again. Example: [00:00:04] [00:00:04] git checkout -b <new-branch-name> [00:00:04] [00:00:04] ./sources/asdf/bin/asdf plugin-add elixir [00:00:04] initializing plugin repository... [00:00:04] Cloning into '/home/appveyor/projects/amqp-filter-exchange/s...
[ -0.0162353515625, 0.01324462890625, -0.00799560546875, -0.0047607421875, -0.00390625, 0.0037689208984375, -0.00982666015625, -0.0181884765625, 0.0206298828125, -0.0007476806640625, 0.010986328125, 0.01397705078125, 0.002197265625, 0.001739501953125, 0.00604248046875, -0.0118408203125, ...
[ 757, 6632, 33296, 268, 54, 221, 15, 35613, 707, 14432, 16, 390, 17368, 20, 275, 12765, 6056, 75101, 13438, 5, 89536, 7049, 62270, 54936, 21684, 206, 11627, 6, 60427, 7, 162, 71, 420, 7568, 69993, 9, 11, 4028, 15296, 38308, 61475, 8438...
[ 0.039520263671875, 0.0180816650390625, 0.08709716796875, 0.00555419921875, 0.1429443359375, 0.1553955078125, 0.0269775390625, 0.2464599609375, 0.1649169921875, 0.244384765625, 0.064697265625, 0.07373046875, 0.10107421875, 0.08685302734375, 0.13818359375, 0.2176513671875, 0.2895507812...
embed
77517270_c0
77517270
elixir
0
Title: Testing raw sql queries in elixir Problem title: Testing raw sql queries in elixir Tags: elixir, ecto Problem: Testing raw sql queries in elixir I'm trying to unit test a raw sql query but not getting any results. My test does a number of inserts like: Repo.insert!(%Inquiry{<fields>}) My inquiries select part do...
Testing raw sql queries in elixir Testing raw sql queries in elixir elixir ecto Testing Repo.insert Inquiry SELECT Ecto.Adapters.SQL.query Repo Repo.all Ecto.Adapters.SQL.Sandbox.checkout Ecto.Adapters.SQL.Sandbox.mode Testing raw sql queries in elixir I'm trying to unit test a raw sql query but not getting any results...
[ -0.003692626953125, 0, 0.0081787109375, 0.0205078125, -0.01611328125, -0.00714111328125, -0.02587890625, -0.0123291015625, 0.001617431640625, -0.0164794921875, 0.0166015625, 0.01116943359375, 0.00081634521484375, 0.022705078125, -0.0079345703125, 0.016357421875, 0.0000829696655273437...
[ 8647, 49649, 91, 99247, 41, 10484, 23, 15296, 38308, 60751, 853, 771, 73, 33657, 360, 3181, 6755, 144832, 44150, 22409, 2631, 23962, 158897, 944, 11728, 78292, 6056, 61170, 31577, 25072, 3034, 1294, 959, 20949, 2499, 50339, 14012, 183540, 3...
[ 0.2325439453125, 0.2176513671875, 0.0180511474609375, 0.2125244140625, 0.1368408203125, 0.0677490234375, 0.0357666015625, 0.07598876953125, 0.2288818359375, 0.16455078125, 0.05584716796875, 0.13525390625, 0.009063720703125, 0.1182861328125, 0.0188751220703125, 0.169921875, 0.00302124...
embed
69354690_c2
69354690
elixir
2
fd7VZaIziyF8NRy47j1ErrES3DS 8m5zPoR/d+qyrQs0pg1S7Wgr9AwstpwM6yFEKhK507S4gdBuVWqyIVuiI/Hcmw== -----END RSA PUBLIC KEY----- But if I create a test_public_key.txt file with this given key as content and run GnuPG to evaluate it, this happens: $ gpg --show-keys test_public_key.txt gpg: no valid OpenPGP data found. I'm wond...
fd7VZaIziyF8NRy47j1ErrES3DS 8m5zPoR/d+qyrQs0pg1S7Wgr9AwstpwM6yFEKhK507S4gdBuVWqyIVuiI/Hcmw== -----END RSA PUBLIC KEY----- But if I create a test_public_key.txt file with this given key as content and run GnuPG to evaluate it, this happens: $ gpg --show-keys test_public_key.txt gpg: no valid OpenPGP data found. I'm wond...
[ -0.015869140625, 0.0164794921875, 0.01043701171875, -0.01361083984375, 0.03271484375, 0.0086669921875, -0.000823974609375, -0.0087890625, -0.00144195556640625, 0.00141143798828125, 0.021484375, 0.01544189453125, 0.0009918212890625, 0.019775390625, -0.025634765625, 0.01129150390625, -...
[ 179913, 39015, 130424, 212330, 186104, 2174, 28282, 3034, 57964, 19770, 124326, 11435, 903, 34475, 22799, 10941, 11675, 539, 52873, 151575, 96276, 3650, 78872, 177, 31374, 110, 35604, 13527, 683, 32566, 2053, 14037, 149016, 132283, 28864, 26073, ...
[ 0.01287841796875, 0.04180908203125, 0.1458740234375, 0.114501953125, 0.13037109375, 0.005096435546875, 0.0966796875, 0.1815185546875, 0.1473388671875, 0.1788330078125, 0.195556640625, 0.111328125, 0.0178070068359375, 0.035400390625, 0.175048828125, 0.1044921875, 0.031341552734375, ...
embed
55520505_c0
55520505
elixir
0
Title: Guardian.Plug.VerifyHeader do nothing if no token / wrong token Problem title: Guardian.Plug.VerifyHeader do nothing if no token / wrong token Tags: elixir, guardian, phoenix-framework Problem: Guardian.Plug.VerifyHeader do nothing if no token / wrong token From router: pipeline :possibly_authorized do plug(:fet...
Guardian.Plug.VerifyHeader do nothing if no token / wrong token Guardian.Plug.VerifyHeader do nothing if no token / wrong token elixir guardian phoenix-framework Guardian.Plug.VerifyHeader possibly_authorized fetch_session Guardian.Plug.Pipeline BoilerplateWeb.Guardian error_handler BoilerplateWeb.AuthErrorController G...
[ 0.007354736328125, 0.0111083984375, 0.00897216796875, -0.006866455078125, -0.00433349609375, -0.01129150390625, -0.00506591796875, -0.00151824951171875, 0.00897216796875, -0.0130615234375, 0.01416015625, 0.0184326171875, -0.016845703125, 0.00823974609375, -0.01483154296875, -0.00497436...
[ 81589, 683, 35159, 15896, 40383, 13025, 38970, 54, 33720, 2174, 110, 47, 1098, 44691, 15296, 38308, 158031, 19, 53073, 33, 4084, 160328, 144681, 1003, 5922, 7647, 169234, 26338, 34759, 92558, 30474, 198156, 3378, 18499, 74258, 18468, 175904, ...
[ 0.2744140625, 0.01934814453125, 0.1875, 0.189697265625, 0.1676025390625, 0.17529296875, 0.1630859375, 0.0784912109375, 0.19775390625, 0.0850830078125, 0.10546875, 0.1461181640625, 0.197265625, 0.17626953125, 0.03240966796875, 0.1427001953125, 0.1749267578125, 0.00006103515625, 0....
embed
47099359_c0
47099359
elixir
0
Title: Elixir - Check if string is empty Problem title: Elixir - Check if string is empty Tags: phoenix-framework, websocket, elixir Problem: Elixir - Check if string is empty I am playing with Elixir and Phoenix Framework for the first time after following this Tutorial .. I have a simple client/server app. chat/lib/c...
Elixir - Check if string is empty Elixir - Check if string is empty phoenix-framework websocket elixir Elixir Check Phoenix Framework ChatWeb.RoomChannel Phoenix.Channel room:lobby _message _private_room_id _params _socket handle_in new_msg Elixir - Check if string is empty I am playing with Elixir and Phoenix Framewor...
[ -0.0159912109375, 0.00628662109375, 0.004974365234375, 0.0303955078125, -0.00012111663818359375, 0.024169921875, 0.01251220703125, -0.0027618408203125, 0.002899169921875, -0.00726318359375, 0.021728515625, -0.026611328125, -0.0019683837890625, 0.00112152099609375, -0.0162353515625, 0.0...
[ 25318, 38308, 38679, 2174, 79315, 83, 201505, 33, 4084, 160328, 18244, 1467, 991, 27853, 15296, 133720, 202220, 18032, 30474, 12724, 127008, 17155, 365, 60060, 74157, 158559, 28905, 34831, 4432, 75169, 183447, 8781, 23282, 39642, 4027, 3245, 56...
[ 0.1209716796875, 0.259033203125, 0.1976318359375, 0.109619140625, 0.2381591796875, 0.064453125, 0.2353515625, 0.00994873046875, 0.06207275390625, 0.0533447265625, 0.027801513671875, 0.0203094482421875, 0.042724609375, 0.1182861328125, 0.050384521484375, 0.2159423828125, 0.17297363281...
embed
77459843_c0
77459843
elixir
0
Title: How to extract a tarball? Problem title: How to extract a tarball? Tags: tar, elixir, compression, zip Problem: How to extract a tarball? Background I have a release file inside a tarball . However I want the final release to have some additional files and to move things around, for the convenience of the user. ...
How to extract a tarball? How to extract a tarball? tar elixir compression zip How File File.open Unzip How to extract a tarball? Background I have a release file inside a tarball . However I want the final release to have some additional files and to move things around, for the convenience of the user. This means I ne...
[ 0.01141357421875, 0.005645751953125, -0.00518798828125, 0.0216064453125, 0.0167236328125, -0.01336669921875, -0.01434326171875, 0.004669189453125, 0.00433349609375, 0.01318359375, -0.01214599609375, 0.0135498046875, -0.0140380859375, 0.04150390625, -0.006622314453125, 0.00872802734375,...
[ 11249, 47, 125663, 10, 2405, 12126, 15296, 38308, 375, 48448, 68330, 42724, 59636, 992, 50836, 64330, 54452, 11435, 46132, 3444, 2704, 78301, 102158, 25813, 10932, 50080, 3871, 54, 138, 8966, 31501, 15390, 10941, 3934, 78303, 4173, 55769, 118...
[ 0.09722900390625, 0.0439453125, 0.234619140625, 0.068115234375, 0.249755859375, 0.24755859375, 0.0673828125, 0.1832275390625, 0.1181640625, 0.153564453125, 0.155517578125, 0.10455322265625, 0.1209716796875, 0.076416015625, 0.1871337890625, 0.017730712890625, 0.1077880859375, 0.1312...
embed
39717553_c0
39717553
elixir
0
Title: Read a charlist in non utf-8 encoding Problem title: Read a charlist in non utf-8 encoding Tags: elixir, character-encoding, encoding, string Problem: Read a charlist in non utf-8 encoding Assume we get a charlist from the foreign source, and it basically represents a string in some legacy 1-byte encoding like I...
Read a charlist in non utf-8 encoding Read a charlist in non utf-8 encoding elixir character-encoding encoding string Read utf-8 ISO-8859-2 CodepageX to_string Latin1 ISO-8859-1 utf8 IO.chardata_to_string Codepagex.from_string iso_8859_1 Codepagex.to_string iso_8859_2 Read a charlist in non utf-8 encoding Assume we get...
[ -0.00299072265625, -0.00750732421875, -0.003387451171875, 0.011474609375, 0.0003833770751953125, 0.00830078125, 0.005523681640625, -0.0035400390625, -0.013916015625, -0.0016326904296875, 0.006805419921875, -0.0283203125, 0.0035400390625, 0.019287109375, -0.0133056640625, -0.00793457031...
[ 4764, 21441, 6562, 351, 486, 420, 17376, 22, 587, 6238, 23, 15296, 38308, 62816, 66332, 79315, 17408, 189128, 5428, 28864, 22469, 1542, 47, 91693, 42845, 418, 187800, 179219, 1019, 17780, 9254, 10135, 188, 425, 161063, 13882, 12772, 12975, ...
[ 0.1600341796875, 0.1824951171875, 0.2498779296875, 0.1453857421875, 0.060272216796875, 0.0924072265625, 0.1844482421875, 0.0682373046875, 0.1572265625, 0.1112060546875, 0.0162353515625, 0.0821533203125, 0.2161865234375, 0.1328125, 0.1651611328125, 0.216064453125, 0.130859375, 0.240...
embed
58086057_c1
58086057
elixir
1
, non_null(:string) 9 field :description, non_null(:string) 10 end 11 12 query do 13 field :all_links, non_null(list_of(non_null(:link))) 14 end 15 end 16 17 field :all_links, non_null(list_of(non_null(:link))) do 18 resolve &NewsResolver.all_links/3 19 end This is how my lib/community_web/resolvers/news_resolver.ex lo...
, non_null(:string) 9 field :description, non_null(:string) 10 end 11 12 query do 13 field :all_links, non_null(list_of(non_null(:link))) 14 end 15 end 16 17 field :all_links, non_null(list_of(non_null(:link))) do 18 resolve &NewsResolver.all_links/3 19 end This is how my lib/community_web/resolvers/news_resolver.ex lo...
[ -0.00191497802734375, -0.011962890625, -0.000274658203125, 0.03369140625, -0.0010833740234375, 0.02685546875, 0.01165771484375, -0.0012969970703125, 0.005645751953125, -0.058349609375, -0.0289306640625, -0.00048828125, 0.0252685546875, 0.032958984375, -0.007781982421875, -0.00130462646...
[ 351, 139550, 91693, 483, 44457, 112, 59478, 209, 3564, 41, 702, 5584, 10187, 6562, 4390, 6431, 616, 729, 543, 103608, 22418, 4332, 86918, 953, 25474, 12303, 14051, 107, 8748, 7864, 7177, 42, 3355, 33342, 1884, 8, 420, 83279, 66069, 30474,...
[ 0.07763671875, 0.131103515625, 0.1195068359375, 0.0899658203125, 0.1534423828125, 0.0443115234375, 0.140625, 0.01190185546875, 0.041717529296875, 0.051605224609375, 0.0306396484375, 0.036285400390625, 0.1561279296875, 0.090576171875, 0.0143280029296875, 0.0183868408203125, 0.00643920...
embed
53037717_c0
53037717
elixir
0
Title: Elixir run &quot;clear&quot; command using System on macOS Problem title: Elixir run &quot;clear&quot; command using System on macOS Tags: elixir Problem: Elixir run "clear" command using System on macOS I have an elixir game of life implementation that prints a 'board' to STDOUT and I want to clear the screen b...
Elixir run &quot;clear&quot; command using System on macOS Elixir run &quot;clear&quot; command using System on macOS elixir System Elixir System.cmd IEx.Helpers IEx.Helpers.clear Elixir run "clear" command using System on macOS I have an elixir game of life implementation that prints a 'board' to STDOUT and I want to ...
[ 0.00041961669921875, 0.01806640625, -0.00396728515625, 0.02587890625, -0.005615234375, 0.004974365234375, 0.0224609375, -0.01080322265625, -0.004425048828125, 0.01190185546875, -0.0218505859375, 0.0279541015625, 0.00049591064453125, -0.0029144287109375, 0.002288818359375, 0.00463867187...
[ 25318, 38308, 11675, 119488, 75101, 17368, 12353, 19138, 7285, 15296, 3931, 87, 19279, 60785, 21777, 98, 6712, 111, 6897, 208124, 28412, 24351, 47, 16992, 397, 52001, 3444, 34735, 49119, 8108, 2448, 11737, 11389, 45443, 209806, 23468, 159029, ...
[ 0.104736328125, 0.2325439453125, 0.170654296875, 0.26953125, 0.1849365234375, 0.041778564453125, 0.185302734375, 0.13134765625, 0.13232421875, 0.08966064453125, 0.1483154296875, 0.080322265625, 0.1668701171875, 0.1309814453125, 0.160400390625, 0.013519287109375, 0.0621337890625, 0....
embed
40144437_c0
40144437
elixir
0
Title: Problems with the sockets work when proxy nginx on sub location Problem title: Problems with the sockets work when proxy nginx on sub location Tags: elixir, phoenix-framework Problem: Problems with the sockets work when proxy nginx on sub location Problems with the sockets work when proxy nginx on sub location. ...
Problems with the sockets work when proxy nginx on sub location Problems with the sockets work when proxy nginx on sub location elixir phoenix-framework Problems server_name phoenix_chat_example access_log phoenix_chat_example.access.log error_log phoenix_chat_example.error.log utf8 proxy_pass localhost:4000 proxy_http...
[ -0.004425048828125, 0.0166015625, -0.002044677734375, -0.02001953125, -0.0113525390625, 0.0296630859375, -0.0014495849609375, 0.01806640625, 0.0150146484375, -0.004180908203125, -0.004669189453125, 0.023193359375, 0.01385498046875, -0.00628662109375, -0.00762939453125, 0.00041580200195...
[ 15649, 678, 221, 27853, 7, 4488, 3229, 502, 50878, 234, 73, 425, 98, 1614, 31913, 70, 15296, 38308, 53073, 33, 4084, 160328, 10723, 11627, 21393, 11, 17203, 4867, 113041, 18499, 188800, 420, 1019, 13409, 4000, 40294, 68037, 46354, 31251, ...
[ 0.1563720703125, 0.0251312255859375, 0.1300048828125, 0.2376708984375, 0.045318603515625, 0.1680908203125, 0.0765380859375, 0.156494140625, 0.269775390625, 0.0933837890625, 0.1650390625, 0.1585693359375, 0.09375, 0.236572265625, 0.1995849609375, 0.002349853515625, 0.05657958984375, ...
embed
46479325_c0
46479325
elixir
0
Title: Two Phoenix apps in an umbrella Problem title: Two Phoenix apps in an umbrella Tags: elixir, phoenix-framework Problem: Two Phoenix apps in an umbrella so I've got a big phoenix project that only does json. Brunch et al not even installed. Now we're creating public-facing pages that needs to be SEO friendly, so ...
Two Phoenix apps in an umbrella Two Phoenix apps in an umbrella elixir phoenix-framework Two Phoenix phx.server Two Phoenix apps in an umbrella so I've got a big phoenix project that only does json. Brunch et al not even installed. Now we're creating public-facing pages that needs to be SEO friendly, so we're going to ...
[ -0.00109100341796875, 0.00775146484375, 0.002105712890625, 0.017822265625, -0.00927734375, 0.01708984375, -0.0223388671875, -0.00026702880859375, 0.0189208984375, -0.0269775390625, 0.004974365234375, -0.002471923828125, 0.037353515625, 0.037109375, 0.01409912109375, 0.00927734375, -0...
[ 32964, 133720, 49966, 23, 142, 286, 4134, 1165, 15296, 38308, 53073, 33, 4084, 160328, 11521, 425, 39642, 6957, 13452, 1647, 1681, 32173, 206, 82, 144, 959, 20600, 105233, 3835, 91468, 37967, 15284, 101786, 5570, 31842, 137158, 2256, 89159, ...
[ 0.173583984375, 0.283447265625, 0.250732421875, 0.07830810546875, 0.06732177734375, 0.100830078125, 0.2020263671875, 0.16845703125, 0.035980224609375, 0.1661376953125, 0.082763671875, 0.052154541015625, 0.1234130859375, 0.108154296875, 0.1195068359375, 0.14501953125, 0.1839599609375,...
embed
33988756_c0
33988756
elixir
0
Title: Phoenix template rendering slow with link and helper functions Problem title: Phoenix template rendering slow with link and helper functions Tags: elixir, phoenix-framework Problem: Phoenix template rendering slow with link and helper functions I'm finding rendering templates slow using the link function and gen...
Phoenix template rendering slow with link and helper functions Phoenix template rendering slow with link and helper functions elixir phoenix-framework Phoenix phoenix.gen.html Author name:string index.html.eex Show author_path Phoenix template rendering slow with link and helper functions I'm finding rendering template...
[ -0.0016937255859375, -0.021240234375, 0.0186767578125, -0.00927734375, -0.0201416015625, -0.0023040771484375, -0.025634765625, -0.021484375, -0.00084686279296875, -0.08154296875, -0.025390625, -0.0272216796875, -0.00101470947265625, 0.015625, 0.0037384033203125, 0.002716064453125, 0....
[ 133720, 110934, 89159, 72803, 678, 3126, 136, 4358, 56, 32354, 15296, 38308, 53073, 33, 4084, 160328, 1409, 7693, 61804, 9351, 91693, 63262, 3355, 17367, 42179, 128405, 90791, 214, 139392, 60875, 11675, 17664, 916, 927, 168660, 2271, 19, 3137...
[ 0.268798828125, 0.27783203125, 0.17578125, 0.216064453125, 0.021514892578125, 0.189697265625, 0.01202392578125, 0.1551513671875, 0.101318359375, 0.1402587890625, 0.01312255859375, 0.1505126953125, 0.0716552734375, 0.103759765625, 0.1219482421875, 0.04254150390625, 0.1199951171875, ...
embed
65386564_c0
65386564
elixir
0
Title: Using the cons operator &quot;|&quot; with Keyword lists Problem title: Using the cons operator &quot;|&quot; with Keyword lists Tags: elixir Problem: Using the cons operator "|" with Keyword lists I'm trying to define a function where I specify part of a keyword list, and then match the remaining opts as the ta...
Using the cons operator &quot;|&quot; with Keyword lists Using the cons operator &quot;|&quot; with Keyword lists elixir Using Keyword my_func IO.inspect another_arg even_more_args Using the cons operator "|" with Keyword lists I'm trying to define a function where I specify part of a keyword list, and then match the r...
[ 0.01324462890625, 0.02197265625, -0.001922607421875, -0.008544921875, -0.01080322265625, -0.0052490234375, -0.025634765625, 0.0108642578125, 0.000682830810546875, -0.0179443359375, 0.0166015625, 0.004730224609375, 0.02294921875, 0.01507568359375, 0.009521484375, -0.01055908203125, 0....
[ 345, 158, 7, 39933, 41502, 58745, 678, 189755, 5303, 15296, 38308, 759, 16498, 17780, 16711, 61477, 3853, 17678, 31577, 61924, 32354, 40140, 2831, 166117, 14858, 233, 933, 46741, 6528, 16627, 70541, 126340, 534, 427, 9969, 1340, 35782, 25632,...
[ 0.0296173095703125, 0.20361328125, 0.10791015625, 0.171875, 0.034698486328125, 0.1798095703125, 0.11669921875, 0.1953125, 0.1661376953125, 0.0589599609375, 0.1729736328125, 0.060302734375, 0.047698974609375, 0.10260009765625, 0.064453125, 0.096923828125, 0.01580810546875, 0.0773925...
embed
43187996_c0
43187996
elixir
0
Title: Elixir, Phoenix: inject parameters in action on routing step Problem title: Elixir, Phoenix: inject parameters in action on routing step Tags: elixir, erlang, phoenix-framework Problem: Elixir, Phoenix: inject parameters in action on routing step Lets say we have some routes similar to these get "/user-:user/", ...
Elixir, Phoenix: inject parameters in action on routing step Elixir, Phoenix: inject parameters in action on routing step elixir erlang phoenix-framework Elixir Phoenix user-:user MyController same_action email-:email page-:page some_custom_value same_method params_parsed_from_url make_search_by Elixir, Phoenix: inject...
[ -0.018798828125, -0.005218505859375, -0.0005035400390625, 0.009521484375, -0.00909423828125, 0.009521484375, -0.00592041015625, 0.00616455078125, 0.0108642578125, -0.048828125, -0.02783203125, -0.0235595703125, -0.01129150390625, 0.0024261474609375, -0.005523681640625, 0.00436401367187...
[ 25318, 38308, 4, 133720, 115049, 171859, 7, 23, 22631, 98, 22629, 1916, 29954, 15296, 72, 3066, 53073, 33, 4084, 160328, 38937, 65918, 2646, 175904, 603, 5701, 44713, 3340, 25501, 9191, 22469, 11680, 5928, 27494, 1928, 121, 2500, 25002, 862...
[ 0.10308837890625, 0.2432861328125, 0.008453369140625, 0.251708984375, 0.2376708984375, 0.2509765625, 0.07373046875, 0.08612060546875, 0.1722412109375, 0.032379150390625, 0.142578125, 0.0823974609375, 0.1644287109375, 0.056365966796875, 0.0181427001953125, 0.1954345703125, 0.010955810...
embed
45451511_c0
45451511
elixir
0
Title: How do I modify the elixir source code and test it out locally with mix in a phoenix repo or other Elixir application? Problem title: How do I modify the elixir source code and test it out locally with mix in a phoenix repo or other Elixir application? Tags: elixir Problem: How do I modify the elixir source code...
How do I modify the elixir source code and test it out locally with mix in a phoenix repo or other Elixir application? How do I modify the elixir source code and test it out locally with mix in a phoenix repo or other Elixir application? elixir How Elixir YOUR_LOCAL_ELIXIR_PATH kernel.ex How do I modify the elixir sour...
[ 0.0035247802734375, 0.0361328125, -0.0029754638671875, 0.018310546875, 0.0125732421875, 0.0032806396484375, -0.031982421875, 0.0205078125, 0.00518798828125, -0.0263671875, 0.001129150390625, -0.01043701171875, 0.005706787109375, 0.0206298828125, 0.0208740234375, 0.007720947265625, -0...
[ 11249, 2811, 40383, 15296, 38308, 31344, 18151, 3034, 1810, 4000, 17664, 53073, 33, 4084, 93392, 25318, 38415, 213942, 124448, 53692, 1542, 14688, 65135, 841, 77924, 583, 3355, 87, 678, 23, 6275, 62270, 20450, 75101, 1723, 76234, 7568, 14, ...
[ 0.06573486328125, 0.2110595703125, 0.1673583984375, 0.1534423828125, 0.301025390625, 0.2115478515625, 0.205810546875, 0.197509765625, 0.10693359375, 0.1256103515625, 0.248291015625, 0.07025146484375, 0.1097412109375, 0.1455078125, 0.1630859375, 0.18896484375, 0.1300048828125, 0.097...
embed
50848778_c1
50848778
elixir
1
log on to the server and npm install, it works. package.json { "repository": {}, "license": "MIT", "scripts": { "deploy": "brunch build --production", "watch": "brunch watch --stdin" }, "dependencies": { "phoenix": "file:../deps/phoenix", "phoenix_html": "file:../deps/phoenix_html" }, "devDependencies": { "babel-brunc...
log on to the server and npm install, it works. package.json { "repository": {}, "license": "MIT", "scripts": { "deploy": "brunch build --production", "watch": "brunch watch --stdin" }, "dependencies": { "phoenix": "file:../deps/phoenix", "phoenix_html": "file:../deps/phoenix_html" }, "devDependencies": { "babel-brunc...
[ -0.0257568359375, 0.0240478515625, -0.01123046875, -0.00152587890625, -0.0004138946533203125, 0.01446533203125, 0.005279541015625, -0.01068115234375, -0.003814697265625, -0.007293701171875, 0.0084228515625, -0.01104736328125, 0.0255126953125, 0.01483154296875, -0.0059814453125, 0.01660...
[ 12684, 98, 10723, 25037, 39, 20600, 442, 43240, 98169, 170, 1681, 59111, 147881, 95409, 32032, 13158, 11911, 19, 206, 45367, 57877, 35414, 39544, 3035, 105254, 22014, 33, 4084, 29822, 112, 6423, 7693, 18548, 26885, 402, 4063, 910, 83783, 14...
[ 0.111083984375, 0.114013671875, 0.130859375, 0.177734375, 0.182373046875, 0.1944580078125, 0.0809326171875, 0.16015625, 0.1610107421875, 0.10211181640625, 0.1705322265625, 0.060150146484375, 0.07220458984375, 0.1580810546875, 0.10418701171875, 0.06500244140625, 0.085693359375, 0.07...
embed
48895184_c0
48895184
elixir
0
Title: Elixir Ecto update_all doesn&#x27;t always work Problem title: Elixir Ecto update_all doesn&#x27;t always work Tags: elixir, ecto Problem: Elixir Ecto update_all doesn't always work We have an identities-users relationship where an identity can have many users. There is a method to link users to be tied to one i...
Elixir Ecto update_all doesn&#x27;t always work Elixir Ecto update_all doesn&#x27;t always work elixir ecto Elixir Ecto update_all ZB.User u.identity_id to_link_identity.id ZB.Repo.update_all identity_id user.identity_id ZB.Repo.delete to_link_identity Elixir Ecto update_all doesn't always work We have an identities-us...
[ -0.00506591796875, 0.0019989013671875, -0.0020599365234375, 0.00250244140625, 0.01025390625, 0.023681640625, 0.0012664794921875, 0.0036773681640625, 0.00677490234375, -0.01507568359375, 0.00396728515625, 0.0159912109375, 0.0164794921875, 0.0101318359375, 0.00653076171875, 0.00177001953...
[ 25318, 38308, 241, 44150, 28350, 5584, 22027, 3768, 18, 11343, 4488, 15296, 60751, 567, 571, 1062, 2189, 75, 52128, 2481, 454, 532, 47, 10187, 5, 4332, 771, 117008, 182324, 38937, 8520, 67, 31943, 2449, 223, 1314, 76755, 831, 5941, 72095,...
[ 0.128662109375, 0.2410888671875, 0.1192626953125, 0.2978515625, 0.2337646484375, 0.21240234375, 0.0833740234375, 0.078125, 0.1146240234375, 0.1600341796875, 0.1826171875, 0.0938720703125, 0.2095947265625, 0.08465576171875, 0.08673095703125, 0.044097900390625, 0.07177734375, 0.04129...
embed
74328219_c1
74328219
elixir
1
97: Mirror.Imports.import_product/3 (elixir 1.14.1) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2 (mirror 0.1.0) lib/mirror/imports.ex:467: Mirror.Imports.extract_csv/1 mirror_a.exs:14: (file) (elixir 1.14.1) lib/kernel/parallel_compiler.ex:347: anonymous fn/5 in Kernel.ParallelCompiler.spawn_workers/7 ** (CompileEr...
97: Mirror.Imports.import_product/3 (elixir 1.14.1) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2 (mirror 0.1.0) lib/mirror/imports.ex:467: Mirror.Imports.extract_csv/1 mirror_a.exs:14: (file) (elixir 1.14.1) lib/kernel/parallel_compiler.ex:347: anonymous fn/5 in Kernel.ParallelCompiler.spawn_workers/7 ** (CompileEr...
[ -0.01611328125, -0.00008153915405273438, 0.0091552734375, 0.027099609375, -0.0145263671875, 0.010009765625, -0.00058746337890625, -0.021240234375, -0.012939453125, 0.0032806396484375, -0.01336669921875, 0.00628662109375, 0.0089111328125, 0.006683349609375, 0.012451171875, -0.0138549804...
[ 14819, 150481, 61637, 6982, 60270, 57877, 18113, 6169, 38308, 38245, 120518, 16, 25474, 33, 316, 5, 3355, 22354, 10057, 357, 62346, 12477, 9, 6562, 7, 64, 180033, 15, 4326, 31611, 107754, 181709, 112779, 15390, 454, 334, 11583, 191551, 11, ...
[ 0.20654296875, 0.3251953125, 0.128662109375, 0.2325439453125, 0.218994140625, 0.2003173828125, 0.12451171875, 0.06463623046875, 0.1712646484375, 0.1087646484375, 0.21044921875, 0.00531005859375, 0.09735107421875, 0.0413818359375, 0.15185546875, 0.0057373046875, 0.1439208984375, 0.0...
embed
68436947_c0
68436947
elixir
0
Title: Difference between elixir:eval_forms and compile in elixir_compiler Problem title: Difference between elixir:eval_forms and compile in elixir_compiler Tags: erlang, compiler-construction, elixir Problem: Difference between elixir:eval_forms and compile in elixir_compiler In elixir_compiler.erl (and some other pl...
Difference between elixir:eval_forms and compile in elixir_compiler Difference between elixir:eval_forms and compile in elixir_compiler erlang compiler-construction elixir Difference elixir:eval_forms elixir_compiler elixir_compiler.erl eval_forms Forms Args allows_fast_compilation Result _Binding erl_eval Difference b...
[ -0.0023651123046875, 0.00762939453125, -0.0211181640625, -0.0005340576171875, 0.0093994140625, 0.0005950927734375, 0.021728515625, -0.00165557861328125, -0.0174560546875, -0.011474609375, -0.00156402587890625, -0.0027618408203125, 0.0093994140625, 0.0296630859375, 0.00177764892578125, ...
[ 803, 18234, 6620, 17721, 15296, 38308, 13, 1405, 5037, 136, 9969, 1340, 58875, 34759, 23, 72, 3066, 238478, 56, 141, 28, 15236, 1172, 9405, 114864, 39473, 277, 5974, 126684, 16882, 33770, 98352, 18151, 16940, 6626, 12921, 48322, 25632, 1010...
[ 0.062408447265625, 0.1895751953125, 0.0300445556640625, 0.08685302734375, 0.10089111328125, 0.2216796875, 0.0841064453125, 0.250732421875, 0.2607421875, 0.03912353515625, 0.183837890625, 0.2470703125, 0.1507568359375, 0.15576171875, 0.011077880859375, 0.0836181640625, 0.1788330078125...
embed
54894293_c0
54894293
elixir
0
Title: Subscription with Authorization: Skip trigger if condition isn&#x27;t met Problem title: Subscription with Authorization: Skip trigger if condition isn&#x27;t met Tags: elixir, absinthe, phoenix-framework Problem: Subscription with Authorization: Skip trigger if condition isn't met I have a Phoenix web applicati...
Subscription with Authorization: Skip trigger if condition isn&#x27;t met Subscription with Authorization: Skip trigger if condition isn&#x27;t met elixir absinthe phoenix-framework Subscription Authorization Skip Comment Topic User.member_of context.user commment.topic Subscription with Authorization: Skip trigger if ...
[ -0.00933837890625, 0.0230712890625, 0.0218505859375, -0.01129150390625, -0.03125, -0.003265380859375, 0.01904296875, 0.00701904296875, 0.01611328125, -0.00469970703125, -0.01397705078125, 0.032958984375, -0.020751953125, 0.03369140625, 0.0027923583984375, 0.004852294921875, 0.0037078...
[ 8273, 59478, 678, 61804, 47691, 91958, 185553, 2174, 35431, 56112, 3768, 18, 435, 15296, 38308, 1563, 1596, 2347, 53073, 33, 4084, 160328, 16277, 134912, 53400, 27417, 43701, 65918, 375, 39, 119499, 133720, 1467, 38415, 17368, 27174, 73, 1614...
[ 0.1793212890625, 0.2587890625, 0.08740234375, 0.13232421875, 0.123779296875, 0.2320556640625, 0.265625, 0.0986328125, 0.2197265625, 0.03509521484375, 0.0238189697265625, 0.0775146484375, 0.164306640625, 0.047576904296875, 0.164306640625, 0.106689453125, 0.1160888671875, 0.236450195...
embed
35356444_c0
35356444
elixir
0
Title: How could i make this calculator in Elixir better? Problem title: How could i make this calculator in Elixir better? Tags: elixir Problem: How could i make this calculator in Elixir better? I am incredibly new to Elixir in terms of getting into learning it, i come from no programming background. Is there a bette...
How could i make this calculator in Elixir better? How could i make this calculator in Elixir better? elixir How Elixir Numbers Addition Subtract Divide Multiply IO.puts Numbers.Addition.add Numbers.Subtract.sub Numbers.Divide.div Numbers.Multiply.mul CPUs-MacBook-Air:lib add.exs How could i make this calculator in Eli...
[ -0.0235595703125, -0.0078125, -0.00732421875, 0.0146484375, 0.0166015625, 0.0024566650390625, 0.0218505859375, -0.036865234375, 0.000885009765625, -0.0208740234375, -0.0201416015625, -0.017822265625, 0.00537109375, 0.015869140625, 0.0169677734375, -0.0150146484375, -0.0166015625, -...
[ 11249, 5809, 17, 3249, 903, 154993, 23, 25318, 38308, 11522, 15296, 103332, 29117, 14, 8273, 39989, 76278, 112, 19335, 62479, 17780, 7077, 12071, 4028, 96472, 22144, 14055, 33193, 30618, 50657, 118, 15458, 86039, 55450, 37975, 60044, 5612, 15...
[ 0.083984375, 0.0908203125, 0.034423828125, 0.0616455078125, 0.09161376953125, 0.278564453125, 0.0782470703125, 0.140869140625, 0.261474609375, 0.1544189453125, 0.106689453125, 0.156982421875, 0.082763671875, 0.04486083984375, 0.055908203125, 0.1143798828125, 0.1343994140625, 0.1289...
embed
29033361_c0
29033361
elixir
0
Title: Can Elixir / Erlang copy a process, including its memory? Problem title: Can Elixir / Erlang copy a process, including its memory? Tags: elixir, erlang, process Problem: Can Elixir / Erlang copy a process, including its memory? I'm considering solving a problem using Elixir, mainly because of the ability to spaw...
Can Elixir / Erlang copy a process, including its memory? Can Elixir / Erlang copy a process, including its memory? elixir erlang process Can Elixir Erlang Can Elixir / Erlang copy a process, including its memory? I'm considering solving a problem using Elixir, mainly because of the ability to spawn large numbers of pr...
[ 0.0028533935546875, 0.017333984375, -0.0198974609375, 0.0400390625, -0.000293731689453125, -0.01171875, 0.007476806640625, -0.0026397705078125, 0.004058837890625, -0.0162353515625, 0.00897216796875, 0.017822265625, 0.0166015625, 0.048828125, 0.01513671875, 0.01611328125, -0.009765625...
[ 4171, 25318, 38308, 248, 1004, 3066, 43658, 9433, 26719, 6863, 98323, 10, 15296, 72, 179635, 3115, 2967, 17368, 81273, 5623, 7710, 21334, 101935, 64720, 106117, 3444, 28282, 40368, 124524, 72367, 29458, 561, 2053, 71200, 44841, 756, 4527, 570...
[ 0.130615234375, 0.16162109375, 0.283935546875, 0.0894775390625, 0.1641845703125, 0.294921875, 0.2437744140625, 0.19921875, 0.09222412109375, 0.0318603515625, 0.1995849609375, 0.022979736328125, 0.0902099609375, 0.110595703125, 0.06524658203125, 0.053985595703125, 0.069580078125, 0....
embed
55559141_c0
55559141
elixir
0
Title: Is it possible to launch an interactive elixir shell and call a function immediately? Problem title: Is it possible to launch an interactive elixir shell and call a function immediately? Tags: elixir, elixir-iex Problem: Is it possible to launch an interactive elixir shell and call a function immediately? In eli...
Is it possible to launch an interactive elixir shell and call a function immediately? Is it possible to launch an interactive elixir shell and call a function immediately? elixir elixir-iex MyApp.Module MyApp MyApp.Module.OtheName OtherName.function Is it possible to launch an interactive elixir shell and call a functi...
[ -0.00147247314453125, 0.01361083984375, -0.0018310546875, 0.031982421875, -0.00003886222839355469, 0.007415771484375, 0.0191650390625, -0.00994873046875, 0.007415771484375, -0.037353515625, 0.00762939453125, 0.005523681640625, -0.0135498046875, 0.0152587890625, 0.020263671875, -0.01367...
[ 2071, 7722, 83184, 212398, 15296, 38308, 128019, 136, 11782, 32354, 109312, 442, 10, 14, 3355, 2646, 39179, 91616, 8782, 670, 2347, 163612, 137175, 47, 142, 360, 831, 4527, 70, 17, 678, 43701, 38415, 25632, 75101, 1601, 3535, 53, 2633, 40...
[ 0.0279083251953125, 0.16650390625, 0.210205078125, 0.2181396484375, 0.12939453125, 0.2474365234375, 0.271240234375, 0.051116943359375, 0.2059326171875, 0.2232666015625, 0.197509765625, 0.016021728515625, 0.006195068359375, 0.09515380859375, 0.2080078125, 0.11279296875, 0.190307617187...
embed
45517636_c0
45517636
elixir
0
Title: Websockets on elixir code Problem title: Websockets on elixir code Tags: websocket, sockets, elixir Problem: Websockets on elixir code I'm currently creating a chat using elixir. but anytime i try running the app, the websocket gives an error on sever console The client's requested channel transport version "2.0...
Websockets on elixir code Websockets on elixir code websocket sockets elixir Websockets WebSocket localhost:4000 eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJVc2VyOjMiLCJleHAiOjE1MDQ0OTE1NTQsImlhdCI6MTUwMTg5OTU1NCwiaXNzIjoiU2xpbmciLCJqdGkiOiIyNWY5NDZkNy1jNDg5LTRiYWMtYjJkNS0zZDA4OTdkNDU1ZWMiLCJuYmYiOjE1MDE4OTk1NTMsIn...
[ 0.000732421875, 0.03271484375, -0.0113525390625, -0.01708984375, 0.006927490234375, 0.006927490234375, -0.0167236328125, 0.00811767578125, -0.01031494140625, -0.01409912109375, -0.010009765625, -0.0108642578125, 0.011962890625, 0.00162506103515625, 0.002685546875, 0.00079345703125, -...
[ 4002, 991, 27853, 98, 15296, 38308, 18151, 1467, 221, 8912, 4000, 40294, 12, 68037, 72869, 33205, 10581, 17304, 1197, 212059, 2043, 12501, 1052, 77980, 91394, 11766, 47744, 119089, 82424, 105233, 3245, 17368, 2499, 6032, 9790, 51042, 4027, 76...
[ 0.1455078125, 0.1746826171875, 0.2259521484375, 0.1011962890625, 0.1173095703125, 0.250244140625, 0.202880859375, 0.11572265625, 0.1041259765625, 0.1680908203125, 0.11083984375, 0.14208984375, 0.01727294921875, 0.1943359375, 0.028411865234375, 0.03106689453125, 0.019561767578125, 0...
embed
32725953_c0
32725953
elixir
0
Title: &quot;iex -S mix&quot; returns error server cannot start in Mac Problem title: &quot;iex -S mix&quot; returns error server cannot start in Mac Tags: phoenix-framework, macos, elixir, elixir-iex Problem: "iex -S mix" returns error server cannot start in Mac I was trying to start up my mix project in elixir on Mac...
&quot;iex -S mix&quot; returns error server cannot start in Mac &quot;iex -S mix&quot; returns error server cannot start in Mac phoenix-framework macos elixir elixir-iex Mac _build project_name Elixir.Mix.Tasks.Proddata.beam Mix Could Exq.start Exq.Manager EXIT connection_error Erlang OTP erts-7.0.3 smp:4:4 async-threa...
[ 0.001190185546875, 0.0286865234375, 0.000499725341796875, 0.016357421875, -0.00830078125, 0.0103759765625, -0.01458740234375, 0.00604248046875, 0.00543212890625, -0.021484375, 0.00836181640625, -0.004669189453125, 0.0279541015625, 0.025146484375, 0.0179443359375, -0.0035400390625, -0...
[ 14, 3355, 20, 294, 17664, 30646, 18499, 10723, 53418, 4034, 23, 4727, 33, 4084, 160328, 7840, 15296, 38308, 177149, 13452, 25318, 594, 9874, 10752, 10135, 372, 302, 37286, 191147, 5443, 864, 17137, 12662, 33730, 29426, 6371, 94878, 188800, ...
[ 0.0875244140625, 0.199951171875, 0.03173828125, 0.146484375, 0.244140625, 0.1290283203125, 0.123291015625, 0.1787109375, 0.1363525390625, 0.162841796875, 0.032470703125, 0.1634521484375, 0.019561767578125, 0.190673828125, 0.056976318359375, 0.0750732421875, 0.06353759765625, 0.2181...
embed
60599327_c0
60599327
elixir
0
Title: Avoid compile warning &quot;clauses with the same name and arity (number of arguments) should be grouped together&quot; Problem title: Avoid compile warning &quot;clauses with the same name and arity (number of arguments) should be grouped together&quot; Tags: compilation, elixir-mix, elixir Problem: Avoid compi...
Avoid compile warning &quot;clauses with the same name and arity (number of arguments) should be grouped together&quot; Avoid compile warning &quot;clauses with the same name and arity (number of arguments) should be grouped together&quot; compilation elixir-mix elixir Avoid nowarn_unused_vars Avoid compile warning "cl...
[ 0.0054931640625, 0.008056640625, 0.0086669921875, -0.01483154296875, -0.03857421875, 0.00946044921875, -0.017822265625, 0.004241943359375, 0.0140380859375, -0.00372314453125, -0.0281982421875, -0.005767822265625, 0.0211181640625, 0.031005859375, -0.007598876953125, 0.00335693359375, ...
[ 84361, 532, 9969, 1340, 1631, 592, 18347, 29001, 678, 5701, 9351, 136, 187, 2481, 2606, 10750, 5608, 37769, 25842, 1297, 98352, 15296, 38308, 62015, 110, 4205, 19, 309, 33740, 1961, 20697, 25318, 13452, 375, 5974, 37286, 5915, 70731, 6977, ...
[ 0.161865234375, 0.1011962890625, 0.1470947265625, 0.163330078125, 0.13818359375, 0.08251953125, 0.105712890625, 0.093017578125, 0.05963134765625, 0.107666015625, 0.1007080078125, 0.05352783203125, 0.12744140625, 0.157958984375, 0.032135009765625, 0.1953125, 0.04150390625, 0.2032470...
embed
36087215_c0
36087215
elixir
0
Title: Single application-wide process to be accessed by child processes Problem title: Single application-wide process to be accessed by child processes Tags: erlang-otp, elixir Problem: Single application-wide process to be accessed by child processes I'm writing an Elixir application where some of the processes that...
Single application-wide process to be accessed by child processes Single application-wide process to be accessed by child processes erlang-otp elixir Single Cuid.start_link Cuid.generate ch72gsb320000udocl363eofy Single application-wide process to be accessed by child processes I'm writing an Elixir application where s...
[ 0.01519775390625, 0.002685546875, -0.0091552734375, -0.01251220703125, -0.0078125, 0.0078125, 0.0009918212890625, -0.017578125, 0.0101318359375, -0.09375, -0.005035400390625, 0.01123046875, -0.00714111328125, 0.025390625, 0.005706787109375, 0.00830078125, -0.01446533203125, 0.02587...
[ 43609, 38415, 113458, 9433, 17203, 297, 390, 29041, 72, 3066, 818, 254, 15296, 38308, 3003, 532, 17137, 10187, 48281, 3863, 12825, 275, 6460, 28568, 127968, 53, 90, 32562, 25318, 63399, 12663, 36998, 42485, 115923, 183540, 17368, 36587, 7146,...
[ 0.18994140625, 0.145751953125, 0.17431640625, 0.200927734375, 0.1529541015625, 0.0184173583984375, 0.0263519287109375, 0.1856689453125, 0.02801513671875, 0.1888427734375, 0.0703125, 0.0987548828125, 0.07867431640625, 0.2451171875, 0.2154541015625, 0.2420654296875, 0.112548828125, 0...
embed
54099266_c0
54099266
elixir
0
Title: Adding and removing records with a many to many relationship in Ecto Problem title: Adding and removing records with a many to many relationship in Ecto Tags: ecto, phoenix-framework, elixir Problem: Adding and removing records with a many to many relationship in Ecto I have 2 ecto schema models that have a man_...
Adding and removing records with a many to many relationship in Ecto Adding and removing records with a many to many relationship in Ecto ecto phoenix-framework elixir Adding Ecto Users many_to_many Location join_through locations_users Locations User add_location remove_location Adding and removing records with a many...
[ -0.01300048828125, 0.00897216796875, -0.006500244140625, -0.0014190673828125, 0.003509521484375, 0.0029296875, -0.006317138671875, 0.0084228515625, 0.0242919921875, -0.04296875, -0.00098419189453125, -0.0166015625, 0.00106048583984375, 0.0033111572265625, 0.004638671875, -0.01348876953...
[ 62, 59725, 136, 49146, 115923, 678, 5941, 47, 76755, 241, 44150, 6496, 60751, 53073, 33, 4084, 160328, 18244, 15296, 38308, 53400, 188, 669, 90788, 33284, 222521, 31913, 223, 15190, 87632, 87388, 23, 116, 61903, 115774, 332, 53, 3355, 3299,...
[ 0.11474609375, 0.14208984375, 0.0584716796875, 0.161865234375, 0.21533203125, 0.08392333984375, 0.2154541015625, 0.1748046875, 0.19970703125, 0.12939453125, 0.297119140625, 0.010345458984375, 0.23828125, 0.00994873046875, 0.04107666015625, 0.1090087890625, 0.0999755859375, 0.014602...
embed
36838456_c0
36838456
elixir
0
Title: How to use a Phoenix controller variable in JavaScript? Problem title: How to use a Phoenix controller variable in JavaScript? Tags: reactjs, phoenix-framework, elixir Problem: How to use a Phoenix controller variable in JavaScript? How do I use a variable from Phoenix controller in my JavaScript? I'm using Reac...
How to use a Phoenix controller variable in JavaScript? How to use a Phoenix controller variable in JavaScript? reactjs phoenix-framework elixir How Phoenix JavaScript Familytree.PageController Familytree.Web Familytree.Users Familytree.Tags Familytree.UserTag Familytree.Plugs.Auth scrub_params add_tag delete_tag _para...
[ -0.0147705078125, -0.003326416015625, -0.006866455078125, -0.01177978515625, 0.00921630859375, 0.01312255859375, -0.015869140625, 0.00506591796875, 0.00012302398681640625, -0.08935546875, -0.00885009765625, -0.029296875, 0.0159912109375, 0.0238037109375, -0.00634765625, 0.0281982421875...
[ 11249, 47, 4527, 133720, 185373, 77336, 23, 17925, 10, 131300, 28175, 53073, 33, 4084, 160328, 18244, 15296, 38308, 59745, 62600, 147101, 175904, 603, 66448, 35159, 67362, 47485, 2500, 15190, 6936, 154109, 771, 5584, 53400, 12298, 63262, 7693, ...
[ 0.08001708984375, 0.008453369140625, 0.1455078125, 0.28662109375, 0.286376953125, 0.247314453125, 0.033935546875, 0.2330322265625, 0.02313232421875, 0.158935546875, 0.135009765625, 0.043487548828125, 0.0670166015625, 0.12060546875, 0.040374755859375, 0.0164794921875, 0.0255126953125,...
embed
32373678_c0
32373678
elixir
0
Title: Showing the usual and database specific validation errors at the same time with Ecto Problem title: Showing the usual and database specific validation errors at the same time with Ecto Tags: ecto, elixir, phoenix-framework Problem: Showing the usual and database specific validation errors at the same time with E...
Showing the usual and database specific validation errors at the same time with Ecto Showing the usual and database specific validation errors at the same time with Ecto ecto elixir phoenix-framework Showing Ecto Repo.Insert Repo.update Showing the usual and database specific validation errors at the same time with Ect...
[ 0.020751953125, 0.004974365234375, 0.01153564453125, -0.01080322265625, 0.00750732421875, 0.00262451171875, -0.027587890625, -0.0140380859375, 0.01153564453125, -0.038818359375, -0.00885009765625, 0.00543212890625, 0.036865234375, 0.0361328125, -0.019775390625, 0.0181884765625, -0.02...
[ 17367, 115723, 136, 63399, 29458, 44622, 1363, 18499, 5701, 678, 241, 44150, 60751, 15296, 38308, 53073, 33, 4084, 160328, 18244, 853, 771, 4153, 33657, 117008, 133196, 3173, 3340, 78506, 44457, 116, 47, 36998, 70541, 40715, 382, 124850, 1736...
[ 0.1103515625, 0.1588134765625, 0.06640625, 0.19482421875, 0.1964111328125, 0.216796875, 0.04913330078125, 0.2208251953125, 0.0638427734375, 0.00811767578125, 0.111572265625, 0.27587890625, 0.2025146484375, 0.042572021484375, 0.1688232421875, 0.020263671875, 0.03350830078125, 0.1151...
embed
75997002_c1
75997002
elixir
1
apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils openjdk-17-jdk openssl libssl-dev asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git asdf install erlang 24.2.1 # Install Elixir asdf pl...
apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils openjdk-17-jdk openssl libssl-dev asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git asdf install erlang 24.2.1 # Install Elixir asdf pl...
[ -0.022216796875, 0.0169677734375, -0.0145263671875, -0.01055908203125, 0.000087738037109375, -0.0206298828125, -0.0157470703125, -0.00086212158203125, 0.005401611328125, 0.0289306640625, 0.015380859375, -0.0167236328125, 0.0022430419921875, 0.017578125, 0.0013580322265625, -0.007141113...
[ 1747, 18, 3794, 53, 20600, 45367, 90, 7, 80973, 1809, 70547, 347, 617, 25474, 19, 48650, 55426, 18548, 434, 425, 5386, 92, 132265, 27495, 11016, 20268, 109191, 39529, 1495, 21710, 65037, 9, 1277, 3454, 5775, 254, 131492, 18504, 1003, 7870...
[ 0.134765625, 0.0950927734375, 0.1278076171875, 0.146728515625, 0.189697265625, 0.1412353515625, 0.10888671875, 0.102783203125, 0.127197265625, 0.2130126953125, 0.247802734375, 0.0570068359375, 0.212158203125, 0.142333984375, 0.0176239013671875, 0.1741943359375, 0.1473388671875, 0.1...
embed
69505500_c0
69505500
elixir
0
Title: Does Elixir/Erlang Random/Rand Seed need to be called on each process? Problem title: Does Elixir/Erlang Random/Rand Seed need to be called on each process? Tags: seed, elixir, erlang, random Problem: Does Elixir/Erlang Random/Rand Seed need to be called on each process? From Hashrockets blog post on " The Adven...
Does Elixir/Erlang Random/Rand Seed need to be called on each process? Does Elixir/Erlang Random/Rand Seed need to be called on each process? seed elixir erlang random Does Elixir Erlang Random Rand Seed random:uniform Does Elixir/Erlang Random/Rand Seed need to be called on each process? From Hashrockets blog post on ...
[ 0.006195068359375, 0.01214599609375, 0.003997802734375, -0.0084228515625, 0.00836181640625, -0.007537841796875, 0.0186767578125, -0.0159912109375, -0.0076904296875, -0.0537109375, -0.0020599365234375, 0.0133056640625, 0.0140380859375, 0.04736328125, 0.0296630859375, -0.00457763671875, ...
[ 101790, 25318, 38308, 18468, 3066, 39643, 306, 1052, 2940, 503, 297, 3871, 35839, 98, 12638, 9433, 40, 15296, 72, 96759, 1004, 5980, 5037, 162087, 32491, 7831, 121635, 155370, 103332, 9893, 42244, 56, 73432, 136, 20450, 141, 104227, 114864, ...
[ 0.01275634765625, 0.10406494140625, 0.2276611328125, 0.099365234375, 0.239501953125, 0.174072265625, 0.1134033203125, 0.05230712890625, 0.1409912109375, 0.1661376953125, 0.2208251953125, 0.107177734375, 0.1910400390625, 0.06732177734375, 0.10546875, 0.1385498046875, 0.156982421875, ...
embed
58179213_c1
58179213
elixir
1
server_only, :honor_cipher_order}}]} Failed to fetch record for 'hexpm/phoenix_pubsub' from registry (using cache) {:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]} Failed to fetch record for 'hexpm/postgrex' from registry (using cache) {:failed_con...
server_only, :honor_cipher_order}}]} Failed to fetch record for 'hexpm/phoenix_pubsub' from registry (using cache) {:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]} Failed to fetch record for 'hexpm/postgrex' from registry (using cache) {:failed_con...
[ -0.009033203125, -0.01324462890625, 0.000896453857421875, 0.001007080078125, 0.000164031982421875, -0.00927734375, -0.01422119140625, -0.008544921875, 0.01531982421875, 0.0252685546875, 0.029052734375, -0.0322265625, 0.011474609375, 0.0038604736328125, -0.020751953125, -0.0087890625, ...
[ 10723, 191, 538, 186164, 318, 94266, 80596, 190355, 7647, 206, 17164, 127, 83613, 39, 22014, 33, 4084, 111596, 22144, 21478, 53, 223, 82365, 120540, 135457, 188, 107421, 107, 771, 1106, 425, 26822, 126384, 126, 109585, 39642, 4594, 7134, 33...
[ 0.1439208984375, 0.0919189453125, 0.056427001953125, 0.271240234375, 0.0985107421875, 0.1973876953125, 0.1416015625, 0.152099609375, 0.12548828125, 0.009368896484375, 0.165283203125, 0.051300048828125, 0.0968017578125, 0.0992431640625, 0.03082275390625, 0.06597900390625, 0.1108398437...
embed
42026127_c1
42026127
elixir
1
schema "subjects" do field :lvl, :integer field :title, :string field :week, :integer belongs_to :user, Kz.User has_many :subjectclasses, Kz.Subjectclass timestamps() end schema "schedules" do field :subject_id, :integer field :weekday, :integer belongs_to :timeslot, Kz.Timeslot timestamps() end schema "users" do fiel...
schema "subjects" do field :lvl, :integer field :title, :string field :week, :integer belongs_to :user, Kz.User has_many :subjectclasses, Kz.Subjectclass timestamps() end schema "schedules" do field :subject_id, :integer field :weekday, :integer belongs_to :timeslot, Kz.Timeslot timestamps() end schema "users" do fiel...
[ -0.01373291015625, -0.003387451171875, -0.010009765625, 0.01153564453125, -0.01171875, -0.0037994384765625, -0.00811767578125, -0.0218505859375, -0.007415771484375, -0.05322265625, 0.000640869140625, 0.00341796875, -0.0093994140625, 0.00506591796875, -0.0220947265625, -0.012939453125, ...
[ 61903, 44, 22144, 75161, 7, 58, 54, 44457, 3723, 141, 6191, 1505, 5440, 91693, 47477, 10617, 65918, 341, 169, 1062, 2189, 1556, 669, 53, 67413, 96472, 20028, 2537, 6423, 3564, 7560, 10360, 90, 532, 5636, 70141, 12631, 70059, 223, 1314, ...
[ 0.296875, 0.010772705078125, 0.1885986328125, 0.230224609375, 0.0689697265625, 0.0310211181640625, 0.0943603515625, 0.224609375, 0.056915283203125, 0.048736572265625, 0.0938720703125, 0.10791015625, 0.1201171875, 0.1510009765625, 0.1427001953125, 0.115234375, 0.1697998046875, 0.022...
embed
42249650_c1
42249650
elixir
1
module.desc}" end) |> Enum.join("\n") end end In other place I dynamically define which module to use for process received commands: case BServer.Command.get(message) do nil -> false command -> BServr.User.get(user_attributes) |> command.process end Faced with the problem that the Agent starts only when compiled and do...
module.desc}" end) |> Enum.join("\n") end end In other place I dynamically define which module to use for process received commands: case BServer.Command.get(message) do nil -> false command -> BServr.User.get(user_attributes) |> command.process end Faced with the problem that the Agent starts only when compiled and do...
[ -0.006195068359375, -0.00150299072265625, -0.00099945068359375, 0.0257568359375, 0.000560760498046875, 0.029541015625, 0.007720947265625, 0.00115966796875, 0.00799560546875, -0.033935546875, -0.0084228515625, 0.01544189453125, 0.0196533203125, 0.00958251953125, 0.007354736328125, -0.01...
[ 88996, 988, 238, 3564, 357, 316, 513, 73, 84079, 61924, 4527, 9433, 75204, 75101, 7, 335, 193348, 10770, 12018, 3794, 74157, 17324, 98320, 84145, 56, 5704, 1062, 2189, 65918, 257, 191145, 63923, 2967, 54603, 4034, 4734, 3229, 375, 5974, 9...
[ 0.2188720703125, 0.1851806640625, 0.10498046875, 0.098388671875, 0.0960693359375, 0.1890869140625, 0.1368408203125, 0.07403564453125, 0.142333984375, 0.1492919921875, 0.09228515625, 0.109130859375, 0.126220703125, 0.25048828125, 0.004241943359375, 0.1104736328125, 0.20947265625, 0....
embed
50914907_c0
50914907
elixir
0
Title: Unit testing a periodic timer via handle_info Problem title: Unit testing a periodic timer via handle_info Tags: async-await, elixir, gen-server, unit-testing Problem: Unit testing a periodic timer via handle_info I have a GenServer which performs a periodic action like so: defmodule Hello use GenServer def init...
Unit testing a periodic timer via handle_info Unit testing a periodic timer via handle_info async-await elixir gen-server unit-testing Unit handle_info Hello GenServer Process.send_after MyMock start_supervised Process.send Unit testing a periodic timer via handle_info I have a GenServer which performs a periodic actio...
[ 0.000640869140625, 0.0020751953125, 0.000362396240234375, 0.0026092529296875, 0.0125732421875, -0.016357421875, 0.0096435546875, -0.00439453125, 0.00148773193359375, -0.037841796875, 0.00518798828125, 0.0291748046875, 0.016845703125, 0.0185546875, 0.025390625, 0.0208740234375, -0.000...
[ 46640, 134234, 120164, 21991, 1829, 34831, 7319, 12654, 238, 7978, 217, 15296, 38308, 9226, 39642, 25072, 6954, 35378, 15937, 193348, 123996, 39285, 46327, 2646, 9083, 2594, 4034, 59104, 1824, 454, 51339, 22631, 26366, 2965, 3034, 442, 61475, ...
[ 0.199951171875, 0.211181640625, 0.2176513671875, 0.2646484375, 0.050384521484375, 0.2257080078125, 0.236328125, 0.1524658203125, 0.06201171875, 0.0946044921875, 0.01068115234375, 0.03564453125, 0.1683349609375, 0.147216796875, 0.147705078125, 0.1959228515625, 0.1632080078125, 0.011...
embed
76844553_c0
76844553
elixir
0
Title: Elixir install dependencies command `mix deps.get` is throwing error Problem title: Elixir install dependencies command `mix deps.get` is throwing error Tags: elixir, elixir-mix, erlang-otp, erlang, elixir-iex Problem: Elixir install dependencies command `mix deps.get` is throwing error 23:31:44.455 [notice] App...
Elixir install dependencies command `mix deps.get` is throwing error Elixir install dependencies command `mix deps.get` is throwing error elixir elixir-mix erlang-otp erlang elixir-iex ArgumentError MatchError #PID Elixir deps.get Application ssl_app.start EXIT Module.put_attribute xyz.MixProject module.ex:2310 Module....
[ 0.00701904296875, 0.02197265625, -0.0032806396484375, -0.00171661376953125, -0.005096435546875, -0.01422119140625, -0.01385498046875, -0.0103759765625, -0.00323486328125, 0.0018463134765625, 0.01446533203125, -0.013916015625, 0.0194091796875, 0.03271484375, 0.0186767578125, -0.00178527...
[ 25318, 38308, 20600, 42548, 117538, 75101, 62015, 8, 6423, 3794, 104250, 18499, 15296, 72, 3066, 818, 254, 14, 3355, 112140, 18468, 67407, 683, 7146, 104921, 24861, 9007, 17137, 29426, 6371, 63014, 191145, 32189, 594, 4084, 223353, 88996, 963...
[ 0.15576171875, 0.272705078125, 0.1575927734375, 0.20068359375, 0.0919189453125, 0.206787109375, 0.242431640625, 0.199462890625, 0.221435546875, 0.1678466796875, 0.1627197265625, 0.193359375, 0.064453125, 0.07513427734375, 0.23583984375, 0.0865478515625, 0.0902099609375, 0.005584716...
embed
33060827_c1
33060827
elixir
1
out.") |> redirect(to: "/") end end And the Javascript: $(".js-login").on("click", e => { e.preventDefault() $(".js-login-alert").hide() }) $("#login").on("submit", e => { e.preventDefault() let form = $("#login") let data = { _csrf_token: $( 'input[name="_csrf_token"]' ).val(), user: { email: form.find('input[name="e...
out.") |> redirect(to: "/") end end And the Javascript: $(".js-login").on("click", e => { e.preventDefault() $(".js-login-alert").hide() }) $("#login").on("submit", e => { e.preventDefault() let form = $("#login") let data = { _csrf_token: $( 'input[name="_csrf_token"]' ).val(), user: { email: form.find('input[name="e...
[ -0.025634765625, 0.03564453125, 0.00341796875, -0.034912109375, -0.00994873046875, -0.0062255859375, -0.0235595703125, 0.031982421875, -0.005279541015625, -0.0771484375, 0.02294921875, -0.0037384033203125, -0.00543212890625, 0.019775390625, 0.00396728515625, -0.0027618408203125, 0.00...
[ 1810, 18939, 58745, 2740, 456, 80581, 188, 64, 3564, 3493, 74181, 12, 3650, 28175, 4867, 73, 51029, 191, 132, 123278, 830, 28, 44357, 10666, 5, 214335, 187423, 11, 7136, 16, 289, 2529, 979, 112, 51912, 58, 22144, 4007, 18, 2633, 3173, ...
[ 0.228759765625, 0.055206298828125, 0.002593994140625, 0.0032958984375, 0.101806640625, 0.22607421875, 0.06927490234375, 0.177978515625, 0.0860595703125, 0.03369140625, 0.271240234375, 0.0157623291015625, 0.07281494140625, 0.2244873046875, 0.1510009765625, 0.171875, 0.007415771484375,...
embed
36061446_c0
36061446
elixir
0
Title: How to assign to a local variable in an anonymous function in Elixir? Problem title: How to assign to a local variable in an anonymous function in Elixir? Tags: elixir Problem: How to assign to a local variable in an anonymous function in Elixir? I want to find the prime factors of a number. I wrote: defmodule P...
How to assign to a local variable in an anonymous function in Elixir? How to assign to a local variable in an anonymous function in Elixir? elixir How Elixir Prime is_integer Stream.unfold Enum.to_list Stream.iterate Stream.filter Stream.take How to assign to a local variable in an anonymous function in Elixir? I want ...
[ -0.0194091796875, 0.0130615234375, 0.0023193359375, -0.009521484375, 0.0230712890625, -0.019287109375, 0.0033721923828125, -0.0225830078125, 0.0155029296875, -0.049560546875, 0.005157470703125, 0.0062255859375, 0.0233154296875, 0.012451171875, 0.00860595703125, -0.0064697265625, -0.0...
[ 11249, 47, 95486, 4000, 77336, 52184, 10821, 32354, 25318, 38308, 23, 15296, 56195, 83, 6191, 1505, 115061, 42822, 357, 316, 188, 6562, 1486, 17957, 120337, 78219, 3444, 7413, 20809, 120103, 14012, 2967, 13315, 22408, 30646, 370, 8705, 420, ...
[ 0.080322265625, 0.13525390625, 0.2496337890625, 0.1805419921875, 0.27294921875, 0.2139892578125, 0.1256103515625, 0.1920166015625, 0.1351318359375, 0.267578125, 0.06158447265625, 0.07421875, 0.2130126953125, 0.051910400390625, 0.09521484375, 0.0933837890625, 0.1201171875, 0.1055908...
embed
45132082_c0
45132082
elixir
0
Title: Java decrypting RSA encrypted data ArrayIndexOutOfBoundsException: too much data for RSA block Problem title: Java decrypting RSA encrypted data ArrayIndexOutOfBoundsException: too much data for RSA block Tags: java, android, cryptography, elixir, phoenix-framework Problem: Java decrypting RSA encrypted data Arr...
Java decrypting RSA encrypted data ArrayIndexOutOfBoundsException: too much data for RSA block Java decrypting RSA encrypted data ArrayIndexOutOfBoundsException: too much data for RSA block java android cryptography elixir phoenix-framework ArrayIndexOutOfBoundsException java.lang.ArrayIndexOutOfBoundsException Java RS...
[ 0.003143310546875, 0.026611328125, 0.00238037109375, 0.006561279296875, 0.0206298828125, -0.011474609375, 0.004608154296875, 0.007598876953125, 0.0108642578125, -0.000579833984375, 0.0057373046875, -0.033447265625, 0.004852294921875, 0.020263671875, 0.0021820068359375, -0.0245361328125...
[ 41925, 8, 136791, 130424, 22, 2053, 69253, 39659, 79858, 132887, 7030, 63928, 5792, 5045, 100, 46389, 79, 330, 54527, 15296, 38308, 53073, 33, 4084, 160328, 3066, 14375, 19770, 5443, 179947, 162429, 63033, 72508, 14288, 26551, 38937, 86831, 6...
[ 0.25048828125, 0.11376953125, 0.216064453125, 0.23193359375, 0.0142822265625, 0.192626953125, 0.07244873046875, 0.1329345703125, 0.1072998046875, 0.13037109375, 0.1102294921875, 0.1690673828125, 0.140869140625, 0.188720703125, 0.065185546875, 0.1871337890625, 0.112060546875, 0.1872...
embed
57331864_c0
57331864
elixir
0
Title: How to insert unescaped text in Elixir Temple template? Problem title: How to insert unescaped text in Elixir Temple template? Tags: temple, elixir Problem: How to insert unescaped text in Elixir Temple template? I'm experimenting with Temple elixir library and have some troubles with escaped values. Basically I...
How to insert unescaped text in Elixir Temple template? How to insert unescaped text in Elixir Temple template? temple elixir How Elixir Temple scripts_js How to insert unescaped text in Elixir Temple template? I'm experimenting with Temple elixir library and have some troubles with escaped values. Basically I have som...
[ -0.0069580078125, -0.01043701171875, 0.000873565673828125, -0.00142669677734375, -0.01422119140625, -0.0024871826171875, -0.0018768310546875, -0.0034637451171875, -0.0006561279296875, -0.053955078125, 0.003753662109375, 0.006744384765625, 0.0089111328125, 0.03271484375, 0.0179443359375, ...
[ 11249, 183540, 773, 98224, 71, 7986, 23, 25318, 38308, 46068, 110934, 110664, 15296, 26499, 28175, 28007, 35773, 63134, 144281, 142424, 3444, 49814, 49649, 11341, 185373, 16750, 37842, 678, 2878, 289, 114122, 82761, 8060, 136951, 27781, 64977, ...
[ 0.059814453125, 0.203857421875, 0.0982666015625, 0.1912841796875, 0.0882568359375, 0.197021484375, 0.046356201171875, 0.064208984375, 0.205322265625, 0.2183837890625, 0.2420654296875, 0.146240234375, 0.0545654296875, 0.1600341796875, 0.1119384765625, 0.07696533203125, 0.1207275390625...
embed
31101267_c0
31101267
elixir
0
Title: Is it assumed that you run mix deps.compile after updating config.exs? Problem title: Is it assumed that you run mix deps.compile after updating config.exs? Tags: elixir, phoenix-framework Problem: Is it assumed that you run mix deps.compile after updating config.exs? I've started using Elixir + Phoenix Framewor...
Is it assumed that you run mix deps.compile after updating config.exs? Is it assumed that you run mix deps.compile after updating config.exs? elixir phoenix-framework deps.compile config.exs not_logged_in_url MyApp.MyRepo MyApp.MyUser Is it assumed that you run mix deps.compile after updating config.exs? I've started u...
[ -0.00921630859375, 0.00848388671875, -0.000732421875, 0.006378173828125, -0.0152587890625, 0.033447265625, -0.019775390625, 0.0072021484375, 0.001068115234375, 0.0025634765625, -0.01318359375, -0.0172119140625, 0.0159912109375, 0.0291748046875, 0.015380859375, -0.01031494140625, -0.0...
[ 2071, 41591, 71, 11675, 17664, 8, 6423, 5, 58875, 1340, 7103, 1257, 56464, 153837, 3355, 7, 15296, 38308, 53073, 33, 4084, 160328, 18244, 959, 365, 25002, 2646, 39179, 31852, 4332, 771, 2189, 25318, 997, 133720, 202220, 49504, 181050, 35773...
[ 0.017425537109375, 0.18017578125, 0.0540771484375, 0.13232421875, 0.26123046875, 0.2120361328125, 0.203125, 0.0263671875, 0.1522216796875, 0.1805419921875, 0.091552734375, 0.12158203125, 0.1246337890625, 0.19921875, 0.1209716796875, 0.0660400390625, 0.01666259765625, 0.15625, 0.0...
embed
42929471_c0
42929471
elixir
0
Title: Elixir macro rewriting module methods and global __using__ macro Problem title: Elixir macro rewriting module methods and global __using__ macro Tags: macros, elixir Problem: Elixir macro rewriting module methods and global __using__ macro With elixir's __using__ macro and with the aid of __on_definition__ I can...
Elixir macro rewriting module methods and global __using__ macro Elixir macro rewriting module methods and global __using__ macro macros elixir /foo/bar/ Elixir __using__ __on_definition__ XXX IO.inspect Elixir macro rewriting module methods and global __using__ macro With elixir's __using__ macro and with the aid of _...
[ -0.020263671875, 0.01007080078125, -0.01708984375, 0.0146484375, 0.00543212890625, 0.01544189453125, -0.00421142578125, -0.004058837890625, -0.003875732421875, -0.052490234375, -0.016357421875, -0.00897216796875, -0.0072021484375, 0.01458740234375, 0.0184326171875, -0.027587890625, -...
[ 25318, 38308, 111789, 456, 199332, 88996, 150624, 136, 7964, 223, 214, 15296, 3584, 31, 1299, 191, 49919, 44585, 17780, 16711, 17106, 5953, 36442, 831, 13695, 28560, 756, 1884, 91995, 678, 3789, 208124, 686, 28282, 3525, 3444, 87388, 144573, ...
[ 0.128662109375, 0.25634765625, 0.244384765625, 0.12060546875, 0.18017578125, 0.2025146484375, 0.20068359375, 0.0262908935546875, 0.125244140625, 0.1268310546875, 0.1175537109375, 0.10614013671875, 0.06298828125, 0.074462890625, 0.1507568359375, 0.178955078125, 0.14208984375, 0.1557...
embed
38264367_c0
38264367
elixir
0
Title: Undefined method cast after update to Ecto 2.0 Problem title: Undefined method cast after update to Ecto 2.0 Tags: ecto, elixir, phoenix-framework Problem: Undefined method cast after update to Ecto 2.0 I recently migrated to latest versions of phoenix and ecto. Now I have changed code of a model, according to e...
Undefined method cast after update to Ecto 2.0 Undefined method cast after update to Ecto 2.0 ecto elixir phoenix-framework CompileError Undefined Ecto Spaces.Tag Spaces.Web Changed Ecto.Schema tag.ex:23 phoenix_ecto phoenix_html phoenix_live_reload scrivener_ecto phoenix_html_simplified_helpers ex_doc Undefined method...
[ -0.002166748046875, 0.005584716796875, 0.007659912109375, 0.0230712890625, 0.0213623046875, 0.0196533203125, -0.0242919921875, -0.00921630859375, 0.0042724609375, -0.0255126953125, -0.00008344650268554688, -0.043212890625, 0.0037841796875, -0.01007080078125, 0.01300048828125, 0.0106201...
[ 79912, 5983, 297, 55300, 37702, 7103, 28350, 47, 241, 44150, 16655, 60751, 15296, 38308, 53073, 33, 4084, 160328, 18244, 15612, 1340, 18468, 31611, 43045, 66448, 30474, 87377, 25452, 11883, 7909, 3355, 24864, 7693, 24056, 63033, 125608, 1679, ...
[ 0.144287109375, 0.218994140625, 0.02996826171875, 0.2108154296875, 0.2171630859375, 0.091552734375, 0.1802978515625, 0.0430908203125, 0.0933837890625, 0.2568359375, 0.2138671875, 0.1959228515625, 0.05047607421875, 0.1600341796875, 0.05126953125, 0.09130859375, 0.13623046875, 0.0852...
embed
74160526_c1
74160526
elixir
1
do: ["lib"] # Aliases are shortcuts or tasks specific to the current project. # For example, to install project dependencies and perform other setup tasks, run: # # $ mix setup # # See the documentation for `Mix` for more info on aliases. defp aliases do [ setup: ["deps.get", "ecto.setup"], "ecto.setup": ["ecto.create...
do: ["lib"] # Aliases are shortcuts or tasks specific to the current project. # For example, to install project dependencies and perform other setup tasks, run: # # $ mix setup # # See the documentation for `Mix` for more info on aliases. defp aliases do [ setup: ["deps.get", "ecto.setup"], "ecto.setup": ["ecto.create...
[ -0.00836181640625, -0.002532958984375, 0.02587890625, 0.0240478515625, -0.004974365234375, 0.01043701171875, -0.0213623046875, 0.0142822265625, 0.00445556640625, 0.02783203125, -0.00390625, -0.006591796875, 0.02099609375, 0.023681640625, 0.00238037109375, 0.00112152099609375, -0.0198...
[ 54, 12, 5612, 468, 2132, 162, 90, 621, 16610, 19774, 707, 66211, 29458, 47, 43581, 13452, 5, 27781, 20600, 42548, 117538, 136, 51339, 3789, 169581, 11675, 3650, 17664, 209806, 594, 4084, 3004, 55109, 8, 420, 254, 112, 6423, 3794, 60751, ...
[ 0.1531982421875, 0.008636474609375, 0.224365234375, 0.0819091796875, 0.254150390625, 0.2705078125, 0.2431640625, 0.123779296875, 0.1549072265625, 0.2337646484375, 0.03369140625, 0.19775390625, 0.1922607421875, 0.099609375, 0.1585693359375, 0.1746826171875, 0.003875732421875, 0.0571...
embed
43680280_c1
43680280
elixir
1
89MB read Socket errors: connect 0, read 30, write 0, timeout 0 Requests/sec: 4478.30 Transfer/sec: 3.09MB ./wrk -t4 -c200 -d30S --timeout 2000 "http://localhost:4000/anythingelse" Running 30s test @ http://localhost:4000/indexjhtml 4 threads and 200 connections Thread Stats Avg Stdev Max +/- Stdev Latency 30.88ms 49.6...
89MB read Socket errors: connect 0, read 30, write 0, timeout 0 Requests/sec: 4478.30 Transfer/sec: 3.09MB ./wrk -t4 -c200 -d30S --timeout 2000 "http://localhost:4000/anythingelse" Running 30s test @ http://localhost:4000/indexjhtml 4 threads and 200 connections Thread Stats Avg Stdev Max +/- Stdev Latency 30.88ms 49.6...
[ -0.01336669921875, -0.003753662109375, 0.01141357421875, -0.0220947265625, -0.0054931640625, -0.0081787109375, -0.03271484375, -0.01507568359375, 0.010986328125, -0.04150390625, 0.0184326171875, -0.00086212158203125, -0.010009765625, 0.0166015625, 0.02392578125, 0.00653076171875, 0.0...
[ 17853, 12689, 12301, 1061, 27853, 18499, 37067, 757, 496, 33022, 1733, 6056, 853, 75616, 39797, 157376, 1197, 73509, 6463, 5429, 92, 617, 5955, 294, 6032, 3576, 98908, 40294, 68037, 64113, 5557, 28398, 7, 3034, 4711, 170, 7693, 201, 86997, ...
[ 0.0958251953125, 0.0654296875, 0.1485595703125, 0.0648193359375, 0.193359375, 0.1884765625, 0.142578125, 0.0706787109375, 0.1878662109375, 0.048004150390625, 0.068359375, 0.0660400390625, 0.002471923828125, 0.164306640625, 0.101318359375, 0.08599853515625, 0.1632080078125, 0.190185...
embed
73812876_c0
73812876
elixir
0
Title: Elixir CSV Issue Problem title: Elixir CSV Issue Tags: elixir, csv Problem: Elixir CSV Issue UPDATE: CSV now looks like this: 01|Data1\n02|Data2\n01|Data3 and no errors have thrown. However the IO inspect prints an email array / list? [] so I not sure if that is something to do with my code? ORIGINAL POST: I am ...
Elixir CSV Issue Elixir CSV Issue elixir csv NimbleCSV.ParseError Elixir CSV Issue Data1 n02 Data2 n01 Data3 NimbleCSV.define MyParser File.stream data.csv NimbleCSV.RFC4180.parse_stream Stream.map Enum.to_list IO.inspect Elixir CSV Issue UPDATE: CSV now looks like this: 01|Data1\n02|Data2\n01|Data3 and no errors have ...
[ -0.0028839111328125, 0.0164794921875, -0.001495361328125, 0.01336669921875, 0.01904296875, 0.0157470703125, -0.00836181640625, 0.0023956298828125, -0.00384521484375, 0.015869140625, -0.02294921875, -0.003021240234375, 0.00811767578125, 0.0166015625, 0.01220703125, -0.014892578125, 0....
[ 25318, 38308, 313, 43486, 223317, 15296, 20763, 334, 1520, 40099, 19283, 856, 28636, 18468, 11809, 418, 9550, 304, 6746, 363, 64552, 2646, 2189, 42724, 86429, 2053, 4439, 54612, 39425, 2500, 115061, 62346, 357, 316, 188, 6562, 17780, 73, 16...
[ 0.129638671875, 0.262939453125, 0.068603515625, 0.28173828125, 0.1856689453125, 0.086669921875, 0.10662841796875, 0.193115234375, 0.10009765625, 0.259765625, 0.125732421875, 0.26220703125, 0.12255859375, 0.1346435546875, 0.0823974609375, 0.03179931640625, 0.1383056640625, 0.0307006...
embed
41958867_c0
41958867
elixir
0
Title: What is the equal sign within a function parameter in Elixir? Problem title: What is the equal sign within a function parameter in Elixir? Tags: elixir Problem: What is the equal sign within a function parameter in Elixir? I have defined a Foo module like this: defmodule Foo do def hello(x = %{name: name}) do IO...
What is the equal sign within a function parameter in Elixir? What is the equal sign within a function parameter in Elixir? elixir What Elixir Foo IO.inspect Foo.hello Alice What is the equal sign within a function parameter in Elixir? I have defined a Foo module like this: If I run the Foo.hello(%{name: "Alice"}) , I ...
[ 0.003875732421875, 0.0024871826171875, 0.004180908203125, 0.006072998046875, 0.017822265625, -0.01708984375, -0.001708984375, 0.005706787109375, 0.00347900390625, -0.00799560546875, 0.025390625, -0.006500244140625, 0.033447265625, 0.016845703125, 0.0157470703125, -0.013427734375, -0....
[ 4865, 105950, 24092, 28032, 32354, 171859, 23, 25318, 38308, 83, 70, 15296, 9572, 31, 17780, 16711, 127, 13817, 66083, 61924, 88996, 11675, 11627, 284, 13348, 16750, 456, 434, 18781, 15490, 151134, 123309, 44084, 7722, 3638, 14858, 39933, 100...
[ 0.038787841796875, 0.218017578125, 0.243408203125, 0.1751708984375, 0.2041015625, 0.2449951171875, 0.058074951171875, 0.1214599609375, 0.26513671875, 0.0377197265625, 0.045257568359375, 0.080078125, 0.1697998046875, 0.15478515625, 0.1455078125, 0.12744140625, 0.0634765625, 0.217651...
embed
50419643_c2
50419643
elixir
2
ales.LineItem{ id: "f4cefa4a-301c-434a-9a1d-636c8284c380", name: "Kevin", person_id: 8, phone_number: "5559872478" } ] ], page_number: 1, page_size: 5, total_entries: 1, total_pages: 1 } This is something expected… because line_itmes is a list itself in Order schema. so it is nested list, Pagination recognize line_item...
ales.LineItem{ id: "f4cefa4a-301c-434a-9a1d-636c8284c380", name: "Kevin", person_id: 8, phone_number: "5559872478" } ] ], page_number: 1, page_size: 5, total_entries: 1, total_pages: 1 } This is something expected… because line_itmes is a list itself in Order schema. so it is nested list, Pagination recognize line_item...
[ -0.0106201171875, 0.007171630859375, 0.002593994140625, -0.00384521484375, -0.0010986328125, 0.0284423828125, -0.01544189453125, 0.00994873046875, 0.01611328125, -0.055908203125, 0.01611328125, -0.01422119140625, 0.0125732421875, 0.01104736328125, 0.00958251953125, -0.0038604736328125,...
[ 27424, 93232, 568, 2982, 3447, 1021, 122367, 152697, 15205, 173300, 175283, 84701, 9351, 15017, 2082, 3445, 532, 382, 24089, 2606, 87357, 185752, 2357, 19051, 9191, 106, 62539, 190, 3622, 2517, 22469, 3293, 9844, 84751, 6637, 13315, 454, 217,...
[ 0.220703125, 0.258544921875, 0.06817626953125, 0.252197265625, 0.063232421875, 0.0174407958984375, 0.1092529296875, 0.1326904296875, 0.0250396728515625, 0.1236572265625, 0.1153564453125, 0.1427001953125, 0.052001953125, 0.07147216796875, 0.183837890625, 0.1119384765625, 0.06689453125...
embed
41818391_c0
41818391
elixir
0
Title: URL Encoding Lists in Elixir Problem title: URL Encoding Lists in Elixir Tags: elixir Problem: URL Encoding Lists in Elixir OK, totally stumped on this one and the docs don't have much. I would like to encode a nested list like this: URI.encode_query(%{group: %{names: ["first", "second", "third", "fourth"]}}) Ba...
URL Encoding Lists in Elixir URL Encoding Lists in Elixir elixir Protocol.UndefinedError URL Encoding Lists Elixir URI.encode_query String.Chars URL Encoding Lists in Elixir OK, totally stumped on this one and the docs don't have much. I would like to encode a nested list like this: Basically, this structure is a group...
[ 0, 0.00384521484375, -0.008056640625, 0.00726318359375, -0.00775146484375, -0.00726318359375, 0.01104736328125, -0.005401611328125, -0.006805419921875, -0.00543212890625, -0.0159912109375, -0.026123046875, 0.032470703125, 0.0308837890625, -0.0137939453125, 0.005584716796875, -0.02355...
[ 31862, 357, 587, 6238, 32036, 23, 25318, 38308, 15296, 151607, 1067, 5983, 18468, 46492, 33, 40899, 944, 23351, 214, 84068, 112668, 48708, 20051, 54, 1884, 22, 8512, 5303, 903, 45646, 21115, 57266, 123055, 18499, 10752, 188, 8447, 1062, 913...
[ 0.229248046875, 0.079345703125, 0.205322265625, 0.090087890625, 0.2451171875, 0.07269287109375, 0.1241455078125, 0.26806640625, 0.0867919921875, 0.20947265625, 0.12158203125, 0.229248046875, 0.11474609375, 0.202880859375, 0.10302734375, 0.2548828125, 0.110107421875, 0.1759033203125...
embed
27337186_c0
27337186
elixir
0
Title: Bound expressions inside a condition in a cond block in Elixir? Problem title: Bound expressions inside a condition in a cond block in Elixir? Tags: conditional-statements, elixir Problem: Bound expressions inside a condition in a cond block in Elixir? Is there any way to have multiple bound expressions in a con...
Bound expressions inside a condition in a cond block in Elixir? Bound expressions inside a condition in a cond block in Elixir? conditional-statements elixir Bound Elixir Yes String.replace String.upcase A-Za-z String.length Whoa Bound expressions inside a condition in a cond block in Elixir? Is there any way to have m...
[ -0.03515625, 0.006744384765625, -0.0030364990234375, -0.000217437744140625, 0.02001953125, 0.001495361328125, 0.0211181640625, -0.005615234375, 0.0252685546875, 0.0133056640625, -0.007049560546875, 0.0016632080078125, 0.007720947265625, 0.01153564453125, 0.00433349609375, 0.01831054687...
[ 2460, 7030, 125195, 7, 46132, 35431, 23, 158, 71, 46389, 25318, 38308, 289, 61340, 15296, 32635, 23351, 214, 107, 23935, 2037, 58437, 62, 16737, 169, 23986, 40469, 3917, 765, 48716, 99091, 21373, 7722, 1974, 128239, 20625, 142508, 68557, 77...
[ 0.1259765625, 0.2044677734375, 0.2457275390625, 0.00994873046875, 0.1619873046875, 0.249267578125, 0.1429443359375, 0.1505126953125, 0.1502685546875, 0.213134765625, 0.103759765625, 0.2470703125, 0.0892333984375, 0.112060546875, 0.06109619140625, 0.1339111328125, 0.1553955078125, 0...
embed
40255608_c0
40255608
elixir
0
Title: How to properly create a Plug module? Problem title: How to properly create a Plug module? Tags: phoenix-framework, elixir Problem: How to properly create a Plug module? I can create my own Plug Module this way http://www.phoenixframework.org/docs/understanding-plug#section-module-plugs Say, I wanted to check if...
How to properly create a Plug module? How to properly create a Plug module? phoenix-framework elixir How Plug condition1 my_key my_controller action1 How to properly create a Plug module? I can create my own Plug Module this way http://www.phoenixframework.org/docs/understanding-plug#section-module-plugs Say, I wanted ...
[ -0.0086669921875, 0.00830078125, 0.00604248046875, 0.0006256103515625, -0.0098876953125, 0.031005859375, -0.008544921875, -0.032470703125, 0.0150146484375, -0.0179443359375, 0.00701904296875, 0.00897216796875, 0.026611328125, 0.0015869140625, -0.0164794921875, -0.002685546875, -0.026...
[ 11249, 47, 155965, 28282, 10, 194351, 88996, 53073, 33, 4084, 160328, 18244, 15296, 38308, 35431, 418, 759, 19770, 81988, 603, 22631, 10002, 63014, 13, 3917, 22014, 145301, 58994, 83279, 36663, 12765, 2174, 2685, 10336, 50336, 34292, 174537, ...
[ 0.07769775390625, 0.00787353515625, 0.1480712890625, 0.18310546875, 0.0513916015625, 0.261474609375, 0.287353515625, 0.03106689453125, 0.06561279296875, 0.1083984375, 0.0745849609375, 0.0693359375, 0.06341552734375, 0.17822265625, 0.1806640625, 0.0181427001953125, 0.059478759765625, ...
embed
69607619_c1
69607619
elixir
1
, so the question: are the two methods the same or are they differents ? if we consider that they are the same that means that a listen socket is just a variable and the special thing in a socket (listening for incoming connections) start when we run gen_tcp:accept/1 . because if not, we have a case when 20 processes s...
, so the question: are the two methods the same or are they differents ? if we consider that they are the same that means that a listen socket is just a variable and the special thing in a socket (listening for incoming connections) start when we run gen_tcp:accept/1 . because if not, we have a case when 20 processes s...
[ -0.00634765625, 0.0223388671875, -0.036376953125, 0.017333984375, 0.00897216796875, -0.018310546875, 0.004302978515625, 0.0009002685546875, 0.00872802734375, -0.0625, 0.0140380859375, 0.0203857421875, 0.011962890625, 0.0223388671875, 0.002593994140625, -0.01080322265625, 0.0055847167...
[ 9655, 621, 6626, 150624, 70, 5701, 707, 1836, 12921, 7, 16916, 26950, 10, 44632, 221, 27853, 83, 77336, 5361, 13580, 12897, 592, 100, 277, 94878, 4034, 11675, 9226, 454, 121422, 2263, 19462, 11583, 7225, 387, 9433, 12008, 178463, 5117, 55...
[ 0.034912109375, 0.016754150390625, 0.119140625, 0.2301025390625, 0.050018310546875, 0.1640625, 0.004302978515625, 0.00836181640625, 0.175048828125, 0.0533447265625, 0.03375244140625, 0.018341064453125, 0.00506591796875, 0.301513671875, 0.1409912109375, 0.2333984375, 0.01263427734375,...
embed
48552208_c0
48552208
elixir
0
Title: Elixir &quot;case clause error&quot; while pattern matching HTTPoison response Problem title: Elixir &quot;case clause error&quot; while pattern matching HTTPoison response Tags: phoenix-framework, httpoison, elixir Problem: Elixir "case clause error" while pattern matching HTTPoison response I'm using Httpoison...
Elixir &quot;case clause error&quot; while pattern matching HTTPoison response Elixir &quot;case clause error&quot; while pattern matching HTTPoison response phoenix-framework httpoison elixir HTTPoison.Error Elixir HTTPoison HTTPoison.get api_url HTTPoison.Response status_code IO.puts IO.inspect USD Elixir "case claus...
[ -0.02880859375, 0.01300048828125, -0.0026702880859375, -0.0159912109375, 0.0147705078125, -0.0084228515625, -0.0076904296875, -0.00009679794311523438, 0.016357421875, -0.0106201171875, 0.00738525390625, 0.00054931640625, -0.002716064453125, -0.017333984375, 0.029296875, -0.005157470703...
[ 25318, 38308, 58437, 70731, 13, 18499, 12960, 103510, 14858, 135913, 31, 40514, 57553, 214, 33, 4084, 160328, 1621, 15296, 18468, 3794, 31470, 25002, 94399, 10778, 40899, 17780, 16711, 19052, 3062, 120178, 191, 2046, 50336, 7225, 63805, 18151, ...
[ 0.1324462890625, 0.24853515625, 0.1986083984375, 0.2047119140625, 0.089599609375, 0.1751708984375, 0.01824951171875, 0.1898193359375, 0.171630859375, 0.1607666015625, 0.0751953125, 0.189697265625, 0.1500244140625, 0.0179595947265625, 0.0201873779296875, 0.079345703125, 0.029159545898...
embed