[elixir-core:10795] [Proposal] Make function return values accessible in Mix.Tasks.Profile.#{Profiler}.profile

2022-02-20 Thread Tobias Pfeiffer
Hey everyone, I'm finally working on a new Benchee release that will include profiling after benchmark runs. I did notice one problem, using the programmatic interface of the tasks (like: https://hexdocs.pm/mix/main/Mix.Tasks.Profile.Eprof.html#profile/2) it only prints the report but doesn't

Re: [elixir-core:10795] [Proposal] Make function return values accessible in Mix.Tasks.Profile.#{Profiler}.profile

2022-02-20 Thread José Valim
Good call, I think it should return the result directly. A PR is welcome! -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [elixir-core:10793] [Proposal] Add methods to URI to aid in manual building & validating URIs

2022-02-20 Thread José Valim
Hi Mat, thanks for starting this discussion! Quick question: don't you want to normalize the URI? I assume they already have to follow a strict format in the HTTP case that is ready to use as is. So doing any sort of normalization would be additional work. We could perform some minimal validation

[elixir-core:10797] JOB | Development Manager (Edinburgh, UK)

2022-02-20 Thread James Tobin
Hello, I'm working with a software house (they build applications for their financial clients) - that wants to establish an office in Edinburgh and are therefore looking to hire a development manager - someone to open and manage the office as well as code (Core Java, Javascript, Python, React

Re: [elixir-core:10798] [Proposal] Make function return values accessible in Mix.Tasks.Profile.#{Profiler}.profile

2022-02-20 Thread Tobias Pfeiffer
In the spirit of me not promising OSS work and then not doing it (yes I still have mox back of my mind) I did it straight away, as it was also rather easy and I had looked at it today: https://github.com/elixir-lang/elixir/pull/11657 Thanks for the quick answer! José Valim schrieb am Sonntag,

Re: [elixir-core:10798] [Proposal] exit_task in Task.async_stream to expose the element it timed out on

2022-02-20 Thread vtm
Hi, i really want to add this zip_inputs method. what do you think? if yes, I'll do the PR, but what kind of zip do you want? ``` [{:ok, _input_, output}] [{:error, _input_, :timeout}] or something along the lines of [{_input_, {:ok, output}] [{_input_, {:error, :timeout}] пт, 18 февр. 2022 г. в

Re: [elixir-core:10799] [Proposal] exit_task in Task.async_stream to expose the element it timed out on

2022-02-20 Thread José Valim
{:ok, {input, output}} and so on. A PR is welcome! On Mon, Feb 21, 2022 at 08:40 vtm wrote: > Hi, i really want to add this zip_inputs method. > what do you think? > if yes, I'll do the PR, but what kind of zip do you want? > ``` > [{:ok, _input_, output}] > [{:error, _input_, :timeout}] > or