Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged elixir

0 votes
566 views
1 answer
    I have a following simple module. defmodule Flow.F1 do def t1 do ["one", "two", "three"] |> ... //stackoverflow.com/questions/65829241/parallel-processing-in-flow-is-not-parallel...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
753 views
1 answer
    Background I am toying with Phoenix LiveView and I have setup an app with mix phx.new demo --live --no-ecto ... /65830776/mix-release-not-working-on-phoenix-live-view-demo-app...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
756 views
1 answer
    I'm using GoogleApi.Storage.V1.Api.Objects.storage_objects_insert_simple to upload files to Google Storage. However, ... storage-file-to-have-content-disposition-inline-instead-o...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
626 views
1 answer
    I'm trying to use nested assigns but cannot find a way to update its values Imagine I have this: def mount ... /65842391/how-to-update-the-value-of-nested-assigns-in-liveview...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
925 views
1 answer
    What is an easy and quick way to encode some Ecto struct from a query in IEx? I'm not looking for how to ... /65846311/how-to-encode-ecto-query-results-into-json-quickly-in-iex...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
637 views
1 answer
    I am building an admin tool app for our system. I want to record every action made by every user. ... .com/questions/65884754/phoenix-callback-action-between-controller-and-view...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
696 views
1 answer
    I have an app that requires diplomat Elixir package and grpc Elixir package, but as soon as I am ... .com/questions/65913980/caseclauseerror-no-case-clause-matching-syntax-proto2...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
512 views
1 answer
    I'm trying to make the most out of the conveniences/automagic of the Phoenix/Ecto frameworks to handle database INSERTs ... -value-on-join-table-record-for-many-to-many-association...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
713 views
1 answer
    I'm following a book "Programming Phoenix >= 1.4", got stuck at "Testing Logged-Out Users" (Integration Tests, ... a-book-programming-phoenix-1-4-got-stuck-at-testing-logged-out...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
624 views
1 answer
    This function: defp entries(query, page_number, page_size) do offset = page_size * (page_number - 1) query |> ... .com/questions/38844103/cannot-use-xxx-outside-of-match-clauses...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
452 views
1 answer
    I'm trying out a square and a cube function. Why does square work while cube blows up? square ... from:https://stackoverflow.com/questions/16997059/inconsistent-functions-behavior...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    How do you create a unique index on two columns in Ecto, which would correspond to this: CREATE TABLE someTable ... /creating-a-unique-constraint-on-two-columns-together-in-ecto...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
709 views
1 answer
    I'm trying to build a vagrant server for dabbling with elixir and phoenix, but after installing all requirements ... couldnt-find-preset-es2015-relative-to-directory-web-static-js...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
715 views
1 answer
    I have a List of required keys (required_keys): (我有一个必需键列表(required_keys):) ["artist", "track", "year"] and a Map (params): ... 错误的,但不确定如何进行模式匹配 ) ask by Midwire translate from so...
asked Mar 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
706 views
1 answer
    I have a List of required keys (required_keys): (我有一个必需键列表(required_keys):) ["artist", "track", "year"] and a Map (params): ... 错误的,但不确定如何进行模式匹配 ) ask by Midwire translate from so...
asked Feb 21, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
735 views
1 answer
    I created an alternative phx.gen.html which creates templates with TailwindCSS. It works fine. I'd like ... system? The repo: https://github.com/wintermeyer/tailwind_phx_generators...
asked Feb 19, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
626 views
1 answer
    Background I have a specific test where I need to spawn a cowboy server listening on port 8082 that returns some static ... . Questions How can I start a cowboy server in ExUnit?...
asked Feb 19, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
889 views
1 answer
    I followed this tutorial and created a build with few modifications. After generating a build with dockerfile, when ... good solution to change permission after build is generated?...
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
761 views
1 answer
    I customize the phx.gen.html template to use TailwindCSS. In the :show template I use this code: <%= for {{k, _}, ... the value of bg_color between "bg-gray-50" and "bg-white"?...
asked Feb 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
865 views
1 answer
    I know that in elixir to remove duplicate values from a list, you need to use Enum.uniq(my_list). Given a list of [1, 1, 2, ... [2, 4, 5]. Is there a way not to use nested loops?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
731 views
1 answer
    Background I am trying to build a supervision tree in my app, where a given GenServer will have to supervise other ... I update my code so it does not use deprecated functions?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...