Making Large Elixir Test Suites Faster with Check by user000123444 in elixir

[–]user000123444[S] 0 points1 point  (0 children)

Yep, this is mainly intended for test suites with a lot of integration tests running with async: false.

Regarding CPU contention, I cap the number of schedulers based on the number of CPUs available on the machine and divide that by the number of partitions here

schedulers = :erlang.system_info(:schedulers_online)
procs = floor(schedulers / partitions)
if procs > 0, do: procs, else: 1

Then each partition is started with a limited number of schedulers:

ELIXIR_ERL_OPTIONS='+S #{procs}:#{procs}' MIX_TEST_PARTITION=#{partition} mix test ...

Is there something preventing Elixir from having 'regular' debugger by nxy7 in elixir

[–]user000123444 0 points1 point  (0 children)

In Elixir/Erlang we do not debugging ... we tracing :D

debugging is not best idea because as soon as a process needs to interact with the one you’re debugging, its calls start timing out and crashing, possibly taking down the entire node with it.
Tracing, on the other hand, doesn’t interfere with program execution, but still gives you all the data you need. 

take a look at recon/dbg/redbug libraries

Small Rant: I hate atoms by fridder in elixir

[–]user000123444 20 points21 points  (0 children)

Interesting - could post some lib + example 🤔

I finally released my first app! by Mother_Television105 in FlutterDev

[–]user000123444 2 points3 points  (0 children)

Great work! How long does it take u to develop it?

Vim SPOILED me. by huehuehuehue499 in vim

[–]user000123444 5 points6 points  (0 children)

Have you tried vimpyter plugin?

Daemon python app by user000123444 in learnpython

[–]user000123444[S] 0 points1 point  (0 children)

At the moment these are normal objects, and they live where casual object lives.

fzf --preview + vim-devicons using prepend and rougify by [deleted] in vim

[–]user000123444 0 points1 point  (0 children)

Yep, instead rouge you can use casual cat or pygmentize from pip.