Method of get real-time logs

when I use the ChangeAccount method , it's works well
but it can't get login message , so we won't be able to know the result of the login, especially if the login fails for some reason.
We can get the latest information by reading the log file.
But unfortunately MT4 will take a long time to update the log file.
After I found a lot of information, I found the following method:
1, through some methods to make MT4 update the log file immediately
2, read the log file, and find the abnormal login information from it
the code : (in c#   It can also be implemented using MQL, only need to import the commands in user32.dll)
IntPtr  _tmHandle=Terminal handle;
while (_tmHandle!=IntPtr.Zero)
{
Thread.Sleep(300);
WindowsApi.SendMessage(_tmHandle,WindowsApiMsg.WM_COMMAND, 33117, 0); //open the log details window
bool find = false;
for (int i = 0; i < 10; i++)
{
Thread.Sleep(100);
IntPtr LogHandle = WindowsApi.FindWindowEx(IntPtr.Zero, IntPtr.Zero, null, @"\Logs");
if (LogHandle != IntPtr.Zero)
{
find = true;
WindowsApi.SendMessage(LogHandle, WindowsApiMsg.WM_CLOSE, 0, 0); //close the folder
}
else if (find)
{
break;
}
}
}
Reading the log file and analyzing the content is very simple,  can write it yourself as needed.

Hi, Thank you very much for feedback. I will use your code and will try to make similar solution to check state of function ChangeAccount.


Added ability to upload images to database and render them in the loc…

…alhost

Closing pull request due to problems arising from merge of main. Superceded by this pull request


A mention embed

so a lot of bots have this mention -> info embed. Would be very useful for gathering all that information in one place (removes the need for a ping and uptime command)

Okay, great, I'll be able to work on this.

In the above example you gave, are the contributors hard-coded into the embed?

Pull Request #11 fixing the issue.

Hard coded is fine, if they're used elsewhere in the future a locale file or alike should be implemented

Closed by #17


Command 'dotnet-outdated' conflicts with an existing command from another tool.

> dotnet tool install --global dotnet-outdated-tool
Skipping NuGet package signature verification.
Failed to create shell shim for tool 'dotnet-outdated-tool': Command 'dotnet-outdated' conflicts with an existing command from another tool.
Tool 'dotnet-outdated-tool' failed to install.

> dotnet tool list --global
Package Id              Version         Commands
---------------------------------------------------------
dotnet-mgcb-editor      <IP_ADDRESS>1      mgcb-editor
upgrade-assistant       0.4.336902      upgrade-assistant

> dotnet tool list
Package Id      Version      Commands      Manifest
---------------------------------------------------

I had to manually remove C:\users\User\.dotnet\tools\dotnet-outdated.exe, then it installed fine.


Issue 165 extendingfind

For issue #165

Only have access to the web interface atm so can't fix the merge :)


HTTPS Doesn't work?

I have set the app/config/app.php to use https://solder.rhodes.ml but the css and links still are using http is there away to fix this easily?

dup of #554, fixed by #556, please close

Cloudflare should be doing the 301 Redirects. But apparently Firefox doesn't like to follow HTTP at all if its served from a HTTPS URL

I've fixed the problem by manually going through and updating all the assets tags (and URL::to()) into the secure versions (like asset('/path/to/asset.js', true))

Cloudflare doesn't handle redirects, it just passes them through to the client. In my case, I didn't need to edit any actual PHP, just OpenSans.css... Perhaps the issue is with your server configuration?
Which server are you using, and would you mind sharing the relevant bits of the config?


feat(stats_historical): add origin statistics

Fixes https://github.com/fastly/go-fastly/issues/548

This looks great! While we're in here, would you be willing to add all of the other origin stats that are not currently included?

Thanks for the contribution!

My pleasure!


Fixed Tag Plane not closed in usage example (README)

Fixed Tag Plane not closed in usage example (README.md)

Thanks @lukasvlc3k


base_iface: Add driver

This commits adds a driver field to the base interface. It is meant to provide an information about the driver used by the specific interface if available. As some interfaces do not have any driver assigned (e.g. loopback), this field will not be always present.
As per https://docs.kernel.org/admin-guide/sysfs-rules.html, we are using sysfs and read the "driver"-link to get what's needed.

/close
Implementation in nispor via https://github.com/nispor/nispor/pull/265


[Open Optimization Competition 2020] - Nevergrad Performance Capture Benchmark

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context
This pull request regards the addition of a new benchmark to the nevergrad platform for the real-world noisy problem of 3D Human Performance Capture via fitting an animatable template 3D mesh to post-processed sensed 3D data.
The dataset consists of 3D captures of 11 human performances, recorded via the Multi-View Volumetric Capture System of [1]. For the purposes of this benchmark and for each performance, a 3D animatable template mesh has been created along with the selection of one individual target frame. The benchmark aims to assess the performance of nevergrad optimizers to the task of fitting the animatable template mesh (via its animation parameters) to the sensed 3D data of the selected performance’s target frame.
To realize the concept, along with this pull request, we release Windows binaries of a Performance Capture Benchmark Server (Perfcap benchmark server) which is able to serve Objective Function evaluations for arbitrary template mesh animation parameter values for each one of the designed experiments. To the nevergrad side, we implemented a python client to this benchmark server, which acts as an Objective Function proxy for every benchmarked optimizer.
I think this pull request is compatible with the latest version of nevegrad-master and benchmarking has been integrated natively, respecting nevergrad interfaces.
This code, mostly, contains newly added code compatible with the existing one. A small exception is that we added logging of the optimizer's recommendation value to the nevergrad logs as well as a naive mechanism to exclude fields from fight plots based on a naming convention.
While the current implementation supports single objective optimization, a future implementation of the python client may be able to support multi-objective optimization as well, without the need for updated binaries for the benchmark server.
A detailed documentation of this work (which will be continuously updated until our upcoming paper's submission) can be found in https://alexd314.github.io/nevergrad/.
A draft pre-liminary version of our paper can be found in https://drive.google.com/drive/folders/1vtCmmnM4BT-nuqpBMG3I2vZqibHcGWID?usp=sharing
Further, documentation of this work will be submited to GECCO 2021 for the purposes of the Open Optimization Competition 2020.
[1]: https://github.com/VCL3D/VolumetricCapture
Things to check
Modification to existing code-base:

nevergrad/benchmark/frozenexperiments.py (benchmark experiment registration)
nevergrad/benchmark/xpbase.py (Added recommendation value logging in benchmark experiment under "{recommendation}" key)
nevergrad/benchmark/plotting.py (Modified plotting.py to exclude description fields contained in "{}" from fight plots (Currently Performance Capture Benchmark adds an {experiment_tag_id} value to the description of the Experiment)).

Newly added code:

nevergrad/benchmark/perfcap/*

For this benchmark the objective function, can be implicitly parameterized via json files found in nevegrad/benchmark/perfcap/experiment_configuration.
RabbitMQ connection details (for communication with the benchmark server) are currently being read from rmqsettings.json found in the experiment_configuration folder, since I did not want to introduce changes to the benchmark interface.
How Has This Been Tested (if it applies)
We have tested the submitted code by following the steps described in the Benchmark Execution section of https://alexd314.github.io/nevergrad/.
Checklist

[ ] The documentation is up-to-date with the changes I made.
[X] I have read the CONTRIBUTING document and completed the CLA (see CLA).
[ ] All tests passed, and additional code has been covered with new tests.

Hi
Thank you for your PR, this looks like a lot of work ;)
Before diving in (I'll need some time), can you explain why you need to subclass Experiment and what you mean by "communication with the benchmark server"? I am very uneasy at modifying this part of the code for one use case. Same thing goes for changing the plotting tools xpbase and plotting. Eg: logging the recommendation can be desastrous in very high dimension

Hi,
Thanks for your reply.
TL;DR
In case subclassing Experiment or modifying xpbase and plotting is prohibitive, this PR can be very easily refactored to drop these requirements at the cost of losing some logging capabilities.
Detailed answer
For this PR it is important to understand the underlying real-world problem of 3D performance capture. In this problem, given an animatable 3D human mesh template we try to fit it, via its pose parameters, to a 3D reconstructed human mesh (called target mesh), generated from multi-view depthmaps acquired via RGB-D sensors capturing a human performance. The objective function evaluation requires loading and 3D processing of the recorded depthmaps, computing a 3D distance field in the GPU, for efficient run-time, as well as multiple GPU-accelerated rendering operations among others. Implementing the objective function evaluation pipeline in python would be both impractical and costly in terms of development time and run-time performance, not to mention the increased code-base size which would be required to import in nevergrad. Thus, for this real-world problem we chose to develop an external application executable (called Performance Capture Benchmark Server) which is distributed in Windows binary form that servers objective function evaluations. Its interface is based on RabbitMQ messaging. On the nevergrad side we implemented the objective function (class PerfcapFunction) which talks to the Benchmark Server via RabbitMQ messaging with dependency on the aio-pika python package. PerfcapFunction respects the nevergrad interface and aims to hide the behind-the-scenes message talking to the benchmark server. In particular, PerfcapFunction looks to nevergrad as a standard Objective Function implementation with function evaluations being typical blocking calls, hiding the async messaging to the benchmark server.
In the current implementation and at the end of each experiment, the benchmark server is able to dump the fited animated template and the target 3D reconstructed human mesh to two .ply files ( a 3D mesh format which can be imported in popular 3D authoring tools like Meshlab, 3D Studio Max, Maya, Blender, etc) in order to allow visual inspection of the template’s fit to the target mesh. To realize this dump process, the benchmark server needs to know the time the experiment finishes along with the optimizer’s recommendation. Because the end of the experiment along with optimizer’s recommendation cannot be known to the PerfcapFunction alone, as its interface does not have any relevant API, subclassing Experiment served this purpose: To add communication in order to notify the benchmark server about the end of the experiment and flush the .ply dumps.
To synchronize logging between nevergrad logs and benchmark server .ply dumps, the PerfcapFunction appends an {experiment_tag_id} field to its description. The .ply files for the same experiment are dumped as {experiment_tag_id}.ply by the benchmark server. Thus, the relation between visual results and nevergrad logs is preserved. Since {experiment_tag_id} is a logging attribute we needed to exclude it from columns participating in the fight plots in plotting.ply. To make it generic, we introduced a scheme that if a column name is enclosed in brackets (“{}”) it is omitted from the fight plots. (changes in plotting.py)
Finally, in xpbase.py we added recommendation logging (under “{recommendation}” - column, inside “{}” to also omit from flight plots) for completeness. This modification has no major value since the recommendation is also communicated to the benchmark server and appears in server’s additional logs.
Conclusively, modifications in xpbase.py can be easily dropped. In case automatic association between an experiment’s log and its visualization to the real-world problem is not something of interest, we can also drop {experiment_tag_id} from PerfcapFunction and further omit subclassing Experiment, since {experiment_tag_id} is the only reason for subclassing it.
In case we omit {experiment_tag_id}, we could add benchmark server command line functionality to dump the .ply files after reading the optimizer’s  recommendation value from a text file. In this case, visualization would be an external process outside the benchmark framework and would require clients of nevergrad to write the optimizer’s recommendation to a specified text file (probably with us providing some helper functions for this purpose).
However, in this real-world problem (and probably in other real-world problems), the success of the solution found by an optimizer cannot be solely assessed by the objective function value at the recommended point. This stems from the fact that, in our case, the objective function is an approximation to another metric (hausdorff distance) which is costly to evaluate. From a real-world perspective, the quality of the solution though, is eventually measured by Hausdorff distance and not by the objective function value at the recommendation point. This is common to most problems using a proxy/surrogate loss function, instead of the final objective for various reasons. Thus, the aforementioned logging functionality and visual inspection of the solution may be of an important value to real-world practitioners. This applies to real-world problems needing to assess the resulting recommendation via a metric other than the objective function value.
We do not argue that it has to be done the way we propose in this PR, but in general, would you consider a generic mechanism to log the optimizer’s recommendation value in the nevegrad’s benchmark framework ? In case yes, then we would be happy to contribute.

There is a system for logging the recommended value, this is "update_leaderboard". This is for information, I'm not saying that your system should not be merged in Nevergrad, Jeremy is the right person for knowing this :-)

aio_pika is missing in the dependencies ?
you might fix that in requirements/bench.txt or in .circleCI/config maybe ?

I guess the remaining errors are not a big deal, just differences in the text in the test of some command lines:
def test_commandline_launch() -> None:
    with tempfile.TemporaryDirectory() as folder:
        output = Path(folder) / "benchmark_launch_test.csv"
        # commandline test
        # TODO make it work on Windows!
        # TODO make it work again on the CI (Linux), this started failing with #630 for no reason
        with testing.skip_error_on_systems(FailedJobError, systems=("Windows", "Linux")):
            CommandFunction(command=[sys.executable, "-m", "nevergrad.benchmark", "additional_experiment",
                                     "--cap_index", "2", "--num_workers", "2", "--output", str(output),
                                     "--imports", str(Path(__file__).parent / "additional" / "example.py")])()
        assert output.exists()
        df = utils.Selector.read_csv(str(output))

      testing.assert_set_equal(df.columns, DESCRIPTION_KEYS | {"offset"})  # "offset" comes from the custom function

nevergrad/benchmark/test_core.py:54:

Sorry for taking so much time to read this, I have been on too many stuff at once and delayed this long reading a bit too much :s This should be better now.
My current thoughts (for discussions, this is not definitive):

OK for the {} pattern in the log, this can be useful, but we'll simplify it a bit (I'll explain later on in a review, no need to focus on this now)
"Because the end of the experiment along with optimizer’s recommendation cannot be known to the PerfcapFunction alone, as its interface does not have any relevant API"
actually it does, it's the evaluation_function (probably not very well advertised in the doc sorry :s) https://github.com/facebookresearch/nevergrad/blob/bcf82bd125687b1d09bf3b8329c3be238ab86fea/nevergrad/functions/base.py#L156-L166
With this you can do anything you want at the very end of the optimization, I've used it to log the results for some functions. Would that help avoid to subclass Experiment? Subclassing Experiment could have a huge cost for us in term of maintenance on the long run, so I am definitely against it, but it should be able to support most if not all requirements you can have.
With both the above points, I would tend to write the uid to nevergrad logs with {}, then write everything else (including recommendation, since it cannot reliably be dumped for all benchmarks without creating size problems) to dedicated files created by the ExperimentFunction. Would that work?
I have a concern for testing. If this runs only on Windows that will prevent a lot of the testing to be accurately done. Whatever we cannot test especially locally may end up either broken or take us too much time to maintain. We'd need to have mocked tests when possible, but even with this I cannot guarantee that we'll be able to maintain the code :s
Is there any license related to the files that are added? If so we need to deal with this as well. One option would be to import them on the run from an appropriate repo.

Once everything is clarified, I'll provide a more detailled review to move on (which may be a bit painful :s sorry although I don't expect it to be difficult, except for the mocking tests part :s)

Hello,
Thanks for your reply. Regarding (1), (2) and (3) I think I can manage to adapt the codebase rather easily. I haven't done a "hands on" investigation yet, but I am going to draft a preliminary implementation conforming to your suggestions and I can notify you about the updated code when it is ready or in case I find a difficulty (probably in short time from now).
Regarding (4),  I definitely understand the difficulties of automated testing and maintenance. How would you envision testing a real-world data driven benchmark contribution ? What are your current thoughts? I am asking in order to better understand your viewpoint and make proper suggestions.
For (5), are you referring to the files included in this PR or the externally provided binaries for the benchmark server ? In any case, files in this PR do not have any license.

Thanks for your reply. Regarding (1), (2) and (3) I think I can manage to adapt the codebase rather easily. I haven't done a "hands on" investigation yet, but I am going to draft a preliminary implementation conforming to your suggestions and I can notify you about the updated code when it is ready or in case I find a difficulty (probably in short time from now).

Great, while you're at it please move perfcap to nevergrad/functions. Also since we are getting more and more benchmarks, would there be a clearer name? performancecapture of perfcapture3d or something in these lines would be clearer in my opinion, but that's if the name is not "standard" already.

Regarding (4), I definitely understand the difficulties of automated testing and maintenance. How would you envision testing a real-world data driven benchmark contribution ? What are your current thoughts? I am asking in order to better understand your viewpoint and make proper suggestions.

I don't have enough visibililty for now, but I would start by isolating as much as possible whatever cannot be run easily into 1 function with a simple enough input and simple enough output that can be mocked during the tests. The smaller this function, the better...

For (5), are you referring to the files included in this PR or the externally provided binaries for the benchmark server ? In any case, files in this PR do not have any license.

both, where do they come from?

I can't see any binary in the PR (that's better this way actually, I don't think I would add a binary here if that's feasible to get it any other way), nor where it is supposed to be used, can you point to it?

Hello,
I have refactored the code-base based on your feedback. Indeed using ExperimentFunction's evaluation_function method I was able to accomplish exactly was I intended. More specifically,

I no longer subclass Experiment, I only subclass ExperimentFunction
I left the "{ }" trick for excluding fields in the fight plots, untouched. I know you already mentioned that we should change that but since you said that we can leave this for later, I did not touch it, yet
I removed logging of recommendation value (i.e reverted back all changes to nevergrad/benchmark/xpbase.py)
I moved most of the code-base to nevergrad/functions as you suggested. The only part of this PR that is not in nevergrad/functions is the code edited in frozenexperiments.py in order to register experiments to the benchmark registry.

The part of this PR that has dependency in nevergrad is isolated in Perfcap3DFunction which subclasses ExperimentFunction and uses nevergrad.parameterization.parameter.Scalar. These are the only dependencies to nevergrad in this PR (unless I am forgetting something now, which I think I don't). Other future change that might break things, could be either a python language specification change, or a python native library interface change or aio_pika package upgrades (and updates to interfaces). This information maybe useful when we will consider mocking and I am just mentioning them here just to initiate the discussion.
Regarding the binary (ie. the benchmark server itself) can be downloaded from here. Currently it does not come with any License either.

I am not yet clear where the executable is used, i don't see it being called in the called, what have I missed?
A test should basically mock this executable, so that all the code but it is actually tested, are you familiar with mocking?

Hi,
I have update the code base based on your comments. Basically, i added dynamic registration of experiments and automated downloading and execution of benchmark server executable and data. Interface has been simplified and other minor comments have also been followed according to your proposals.
Kind regards,
Alex

Hi,
I have update the code base based on your comments. Basically, i added dynamic registration of experiments and automated downloading and execution of benchmark server executable and data. Interface has been simplified and other minor comments have also been followed according to your proposals.
Kind regards,
Alex

Thanks for the updates, I've started reviewing this but a few things make it difficult:

can you please merge master
add the missing packages, for what I have seen you need at least to add py7zr>=0.11.3 and multivolumefile>=0.1.2 or else nothing will work
please try to add a few basic test on the function, mocking what is missing, without this it's a bit hard to figure out if it's working or not. I am currently trying to run the test suit but not sure if it will work at all, because if I understood correctly it's Windows only.
is it useful to run each test case independently from the other ones? I would rather have just one test case which aggregates on all the different cases. For now I have tried to avoid code doing dynamic registration as you did, so having only one xp to register would be better.

Also, automatic download is great, but we should not rely on the internet for the tests, so we will probably need to deactivate part of the automatic tests for these experiments (making it even more important to be able to have independent tests for the function). Not sure what will be the best option for now, I'll need to try when the above is solved.

Thanks for the updates, I've started reviewing this but a few things make it difficult:

can you please merge master
add the missing packages, for what I have seen you need at least to add py7zr>=0.11.3 and multivolumefile>=0.1.2 or else nothing will work
please try to add a few basic test on the function, mocking what is missing, without this it's a bit hard to figure out if it's working or not. I am currently trying to run the test suit but not sure if it will work at all, because if I understood correctly it's Windows only.
is it useful to run each test case independently from the other ones? I would rather have just one test case which aggregates on all the different cases. For now I have tried to avoid code doing dynamic registration as you did, so having only one xp to register would be better.

Also, automatic download is great, but we should not rely on the internet for the tests, so we will probably need to deactivate part of the automatic tests for these experiments (making it even more important to be able to have independent tests for the function). Not sure what will be the best option for now, I'll need to try when the above is solved.

After about 1h of running the tests (which is way too long :s before this PR the whole test suit was taking 15min, which is already way too long :s) , it crashed with ValueError: File is not a recognized excel file :s (on Mac though)

After about 1h of running the tests (which is way too long :s before this PR the whole test suit was taking 15min, which is already way too long :s) , it crashed with ValueError: File is not a recognized excel file :s (on Mac though)

Hello,
Thank you for your efforts to review the PR. I understand about the difficulties. Let's see if we can make something that meets all your requirements. Below is my feedback to your comments:

Thanks for the updates, I've started reviewing this but a few things make it difficult:
* can you please merge master

Done.

* run `black nevergrad` for the code formatting (`pip install black` if you don't have it)

Done.

* add the missing packages, for what I have seen you need at least to add `py7zr>=0.11.3` and `multivolumefile>=0.1.2` or else nothing will work

Done.

* please try to add a few basic test on the function, mocking what is missing, without this it's a bit hard to figure out if it's working or not. I am currently trying to run the test suit but not sure if it will work at all, because if I understood correctly it's Windows only.

I am not sure I understand what you mean by "missing". Could you please explain more? Do you mean about the requirement to download and connect to the executable and data ?

* is it useful to run each test case independently from the other ones? I would rather have just one test case which aggregates on all the different cases. For now I have tried to avoid code doing dynamic registration as you did, so having only one xp to register would be better.

Currently we have 11 different cases named 'perfcap_bench1" to "perfcap_bench11". What exactly do you mean run each test case independently from the other ones? Currently we actually have 11 different cases running independently. Maybe I there is something that I did not fully understand.
Concerning the dynamic registration, I'd be open to suggestions. That was a quick way that I could think of, in order to avoid duplicate code.

Also, automatic download is great, but we should not rely on the internet for the tests, so we will probably need to deactivate part of the automatic tests for these experiments (making it even more important to be able to have independent tests for the function). Not sure what will be the best option for now, I'll need to try when the above is solved.

Do you have already some logic integrated regarding this matter (ie. code path for no internet connection)?
What exactly do you mean independent tests for the function ? Do you mean skipping the connection to the actual benchmark server and serving dummy evaluations ?

This will all take some time sorry :s most PRs already require a lot of back and forth, but PRs which I cannot run easily may require even more :s

I understand. Let's see if we make it work.

After about 1h of running the tests (which is way too long :s before this PR the whole test suit was taking 15min, which is already way too long :s) , it crashed with ValueError: File is not a recognized excel file :s (on Mac though)

Hmm. I've never tried on Mac and this 'Value Error' for excel file I am sure I've never run into it. We need to investigate. Regarding the run time of the tests, they are actually very time consuming, and certainly depend on the number of repetitions. Currently, the budgets and optimizers evaluated are based on our paper submission regarding this benchmark, to GECCO '21. We kept the configuration the same as the one we used for our paper, for reproducibility. However, we can be flexible on this, if this is not very desirable for the purposes of this PR. Let's discuss further.

Currently we have 11 different cases named 'perfcap_bench1" to "perfcap_bench11". What exactly do you mean run each test case independently from the other ones? Currently we actually have 11 different cases running independently. Maybe I there is something that I did not fully understand.

One "experiment" function in nevergrad is usually a set of different test cases, so that everything is run, and results can be both aggregated and split upon different cases (the framework recognizes when the ExperimentFunction used different arguments). So instead of 11 registered experiments, I would just use "perfcap_experiment" and loop over the different arguments (= over experiment_filename) within the function. Also, if we do this, then no more need of dynamic registration.

I am not sure I understand what you mean by "missing". Could you please explain more? Do you mean about the requirement to download and connect to the executable and data ?
Do you have already some logic integrated regarding this matter (ie. code path for no internet connection)?
Do you mean skipping the connection to the actual benchmark server and serving dummy evaluations ?

Exactly, we must not expect the tests to download GB of data, nor run something that takes a full hour, so during the tests we need to mock the part of your code that does the downloading and the computation, and replace it with a dummy. Eg (from https://docs.python.org/3/library/unittest.mock.html#the-patchers):
>>> from io import StringIO
>>> def foo():
...     print('Something')
...
>>> @patch('sys.stdout', new_callable=StringIO)
... def test(mock_stdout):
...     foo()
...     assert mock_stdout.getvalue() == 'Something\n'

I've done this on several parts of the code, the closest one to your issue (avoiding downloading data) is this one:
https://github.com/facebookresearch/nevergrad/blob/ddcaec01126f5c3f28de2b6d1a69523d0cf05183/nevergrad/functions/mlda/datasets.py#L84-L88
Of course one could mock the whole ExperimentFunction, but then we would just test nothing so it would be pointless, the aim is to be figure out the deepest possible function that we can mock.

What exactly do you mean independent tests for the function ?

Currently your code is only called in the tests that tries to run parts of all the benchmarks, there is no test that just tries to call your function with some arguments and just check that it does not raise an exception. It may look stupid but actually that's really useful to make sure nothing is going completely wrong on the long term (I need this for maintenance)
Eg: something as simple as this:
https://github.com/facebookresearch/nevergrad/blob/ddcaec01126f5c3f28de2b6d1a69523d0cf05183/nevergrad/functions/rocket/test_core.py#L10-L14

Hmm. I've never tried on Mac and this 'Value Error' for excel file I am sure I've never run into it. We need to investigate. Regarding the run time of the tests, they are actually very time consuming, and certainly depend on the number of repetitions. Currently, the budgets and optimizers evaluated are based on our paper submission regarding this benchmark, to GECCO '21. We kept the configuration the same as the one we used for our paper, for reproducibility. However, we can be flexible on this, if this is not very desirable for the purposes of this PR. Let's discuss further.

I think if it works for you, and as long as the unit tests don't get in the way of development, we'll merge what is the closest to your submission, and nevermind if it is not working on Mac (again, as long as it does not get in the way for all the unit tests etc). The issue tough is that if at some point it requires maintenance, I may just completely break it or need to remove it because I won't be able to test it.


⚠ Samsung has degraded performance

In eb14574, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3276 ms

Resolved: Samsung performance has improved in 3de238b.


(SERVER-253) Documentation for subcommands

@KevinCorcoran @jbondpdx Here's the subcommand docs plucked from master

Looks alright to me at a glance.  @jbondpdx - feel free to merge if this looks good to you.

@jbondpdx Ampersand replaced!


error after vote in /search

In /search route
when click in vote button we get
TypeError: _this.props.updateStoreAfterVote is not a function
...

Seach component is not passing updateStoreAfterVote to Links component.

Hi @diogoalves, thanks so much for pointing this out and my sincere apologies for the delay! This issue was fixed with the latest update to the tutorial.  Please let me know if you're running into any further issues 🙂

@nikolasburk this does not fixed not in this repo not in the tutorial. still no updateStoreAfterVote passed to the  from


Unable to deploy mongodb in production using stable/mongodb

Is this a request for help?: Yes

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Version of Helm and Kubernetes:
kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.3", GitCommit:"721bfa751924da8d1680787490c54b9179b1fed0", GitTreeState:"clean", BuildDate:"2019-02-04T04:48:03Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.6", GitCommit:"b1d75deca493a24a2f87eb1efde1a569e52fc8d9", GitTreeState:"clean", BuildDate:"2018-12-16T04:30:10Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}

helm version
Client: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}

Which chart: stable/mongodb
What happened: When I am running the command helm install -f ./values-production.yaml stable/mongodb it shows following error:
Error: render error in "mongodb/templates/statefulset-secondary-rs.yaml": template: mongodb/templates/statefulset-secondary-rs.yaml:184:54: executing "mongodb/templates/statefulset-secondary-rs.yaml" at <.Values.metrics.live...>: can't evaluate field initialDelaySeconds in type interface {}

What you expected to happen: I expected it to launch mongodb replicase in kubernetes cluster with 1 primary, 1 secondary, and 1 arbiter
How to reproduce it (as minimally and precisely as possible):
Run helm install -f ./values-production.yaml stable/mongodb in recent version of helm
Anything else we need to know:

Thanks for reporting the issue @pntripathi9417
It was an issue with the readiness/liveness probes configuration. I just created a PR to fix it.


After upgrade to v12.2.5 and removal of node-sass ng test fails

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[x ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: ....
Description
After updating to version 12.2.5, when i run ng test, it fails as it cannot find node-sass. Which i had removed because the CLI was warning me it was going to be removed and i should migrate to Sass (dart-sass), which I did.
🔬 Minimal Reproduction
Upgrade to version 12.2.5
ng test
ERROR
I made no other changes to the test code or anything, just upgraded. Everything was working fine before hand.
🔥 Exception or Error

An unhandled exception occurred: Error in config file!
 Error: Cannot find module 'node-sass'
Require stack:
- /Users/gabriel.rivera/Projects/fcskyui-library/node_modules/karma-scss-preprocessor/dist/lib/index.js
- /Users/gabriel.rivera/Projects/fcskyui-library/projects/fcsky-shared-library/karma.conf.js
- /Users/gabriel.rivera/Projects/fcskyui-library/node_modules/karma/lib/config.js
- /Users/gabriel.rivera/Projects/fcskyui-library/node_modules/karma/lib/server.js
- /Users/gabriel.rivera/Projects/fcskyui-library/node_modules/karma/lib/index.js
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /usr/local/lib/node_modules/@angular/cli/bin/ng
See "/private/var/folders/lp/96kny5n10sxfygnzkywk0sth0000gq/T/ng-bE04ow/angular-errors.log" for further details.

🌍 Your Environment

{
  "name": "fcsky-shared-library",
  "version": "0.0.0",
  "scripts": {
    "preinstall": "npx npm-force-resolutions",
    "ng": "ng",
    "start": "npm run get-lib-version && ng serve -o",
    "serve-mac": "npm run get-lib-version && node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng serve",
    "serve-mac-ngrok": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng serve --disable-host-check",
    "build-lib": "ng build fcsky-shared-library",
    "build-tester": "ng build fcskyui-tester --prod",
    "build-watch": "ng build fcsky-shared-library --watch",
    "test": "ng test --browsers Chrome --code-coverage",
    "test-ci": "ng test  --browsers ChromeHeadlessCI --code-coverage --watch=false",
    "test-watch": "ng test --watch",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "npm-pack": "cd dist/fcsky-shared-library && npm pack",
    "package": "npm run get-lib-version && npm run build-lib && npm run npm-pack",
    "build-pack": "npm run package && npm run build-tester",
    "all": "npm run package && npm run start",
    "get-lib-version": "./replace-lib-version",
    "precommit": "run-s format:fix lint && ng test --watch=false",
    "format:fix": "pretty-quick --staged",
    "format:check": "prettier --config ./.prettierrc --list-different \"projects/fcsky-shared-library/src/lib/**/*{.ts,.js,.json,.scss,.html,.scss}\"",
    "format:lib": "prettier --config ./.prettierrc --write \"projects/fcsky-shared-library/src/lib/**/*{.ts,.js,.json,.scss,.html,.scss}\"",
    "sonar": "sonar-scanner"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~12.2.5",
    "@angular/cdk": "^12.2.5",
    "@angular/common": "~12.2.5",
    "@angular/compiler": "~12.2.5",
    "@angular/core": "~12.2.5",
    "@angular/flex-layout": "^12.0.0-beta.34",
    "@angular/forms": "~12.2.5",
    "@angular/localize": "^12.2.5",
    "@angular/material": "^12.2.5",
    "@angular/material-moment-adapter": "^12.2.5",
    "@angular/platform-browser": "~12.2.5",
    "@angular/platform-browser-dynamic": "~12.2.5",
    "@angular/router": "~12.2.5",
<EMAIL_ADDRESS>"^1.3.3",
    "@ngx-translate/core": "^11.0.1",
    "@ngx-translate/http-loader": "^4.0.0",
    "@tinymce/tinymce-angular": "^4.2.0",
    "@types/file-saver": "^2.0.1",
    "angular-resize-event": "^2.1.0",
    "bootstrap": "^4.5.3",
    "chart.js": "^2.9.4",
    "cloudinary-core": "^2.11.3",
    "core-js": "^2.5.4",
    "dhtmlx-gantt": "file:packages/gantt_7.0.1_ultimate",
    "file-saver": "^2.0.2",
    "fp-ts": "^2.9.5",
    "googleapis": "^64.0.0",
    "jquery": "^3.4.1",
    "leaflet": "^1.7.1",
    "leaflet.markercluster": "^1.4.1",
    "lodash-es": "^4.17.21",
    "moment": "^2.29.1",
    "ng2-pdf-viewer": "7.0.1",
    "ngx-ui-switch": "^11.0.1",
    "popper.js": "^1.16.0",
    "postcss-loader": "^4.0.4",
    "rxjs": "~6.6.3",
    "scroll-into-view-if-needed": "^2.2.24",
    "smoothscroll-polyfill": "^0.4.4",
    "tinymce": "5.0.15",
    "tslib": "^2.0.0",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~12.2.5",
    "@angular/cli": "~12.2.5",
    "@angular/compiler-cli": "~12.2.5",
    "@angular/language-service": "~12.2.5",
    "@types/jasmine": "^3.6.1",
    "@types/jasminewd2": "~2.0.8",
    "@types/node": "^12.11.1",
    "codelyzer": "^5.1.2",
    "husky": "^2.2.0",
    "jasmine-core": "~3.5.0",
    "jasmine-spec-reporter": "~5.0.0",
    "karma": "~6.3.4",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "~3.0.2",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "^1.5.0",
    "karma-scss-preprocessor": "^4.0.0",
    "ng-packagr": "^12.2.1",
    "node-sass-tilde-importer": "^1.0.2",
    "npm-force-resolutions": "0.0.3",
    "npm-run-all": "^4.1.5",
    "prettier": "^1.17.0",
    "pretty-quick": "^1.10.0",
    "protractor": "~7.0.0",
    "sonar-scanner": "^3.1.0",
    "ts-node": "~7.0.0",
    "tslint": "~6.1.0",
    "typescript": "~4.3.5"
  },
  "resolutions": {
    "webpack": "^5.0.0"
  }
}

{
  "$schema"<EMAIL_ADDRESS>  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "fcsky-shared-library": {
      "root": "projects/fcsky-shared-library",
      "sourceRoot": "projects/fcsky-shared-library/src",
      "projectType": "library",
      "prefix": "fcsky-shared",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:build",
          "options": {
            "tsConfig": "projects/fcsky-shared-library/tsconfig.lib.json",
            "project": "projects/fcsky-shared-library/ng-package.json",
            "assets": [
              "src/assets",
              {
                "glob": "*/*",
                "input": "src/assets",
                "output": "assets/"
              }
            ]
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "projects/fcsky-shared-library/src/test.ts",
            "tsConfig": "projects/fcsky-shared-library/tsconfig.spec.json",
            "karmaConfig": "projects/fcsky-shared-library/karma.conf.js"
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": [
              "projects/fcsky-shared-library/tsconfig.lib.json",
              "projects/fcsky-shared-library/tsconfig.spec.json"
            ],
            "exclude": ["**/node_modules/**"]
          }
        }
      }
    },
    "fcskyui-tester": {
      "root": "projects/fcskyui-tester/",
      "sourceRoot": "projects/fcskyui-tester/src/",
      "projectType": "application",
      "prefix": "app",
      "schematics": {},
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "dist/fcskyui-tester",
            "index": "projects/fcskyui-tester/src/index.html",
            "main": "projects/fcskyui-tester/src/main.ts",
            "polyfills": "projects/fcskyui-tester/src/polyfills.ts",
            "tsConfig": "projects/fcskyui-tester/tsconfig.app.json",
            "allowedCommonJsDependencies": [
              "fp-ts/lib/pipeable",
              "fp-ts/lib/Option",
              "cloudinary-core",
              "chart.js",
              "css-element-queries",
              "ng2-pdf-viewer",
              "file-saver"
            ],
            "assets": [
              "projects/fcskyui-tester/src/favicon.ico",
              "projects/fcskyui-tester/src/assets",
              {
                "glob": "**/*",
                "input": "projects/fcsky-shared-library/src/assets",
                "output": "./assets"
              },
              {
                "glob": "**/*",
                "input": "node_modules/tinymce/skins",
                "output": "/tinymce/skins/"
              },
              {
                "glob": "**/*",
                "input": "node_modules/tinymce/themes",
                "output": "/tinymce/themes/"
              },
              {
                "glob": "**/*",
                "input": "node_modules/tinymce/plugins",
                "output": "/tinymce/plugins/"
              }
            ],
            "styles": [
              "node_modules/bootstrap/scss/bootstrap.scss",
              "projects/fcskyui-tester/src/styles.scss",
              "node_modules/dhtmlx-gantt/codebase/dhtmlxgantt.css",
              {
                "input": "projects/fcsky-shared-library/src/assets/css/styles.scss"
              }
            ],
            "scripts": ["node_modules/jquery/dist/jquery.js"]
          },
          "configurations": {
            "production": {
              "fileReplacements": [
                {
                  "replace": "projects/fcskyui-tester/src/environments/environment.ts",
                  "with": "projects/fcskyui-tester/src/environments/environment.prod.ts"
                }
              ],
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": false,
              "extractCss": true,
              "namedChunks": false,
              "aot": true,
              "extractLicenses": true,
              "vendorChunk": false,
              "buildOptimizer": true,
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "8mb",
                  "maximumError": "15mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "6kb"
                }
              ]
            },
            "development": {
              "buildOptimizer": false,
              "optimization": false,
              "vendorChunk": true,
              "extractLicenses": false,
              "sourceMap": true,
              "namedChunks": true
            }
          },
          "defaultConfiguration": "production"
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "aot": true
          },
          "configurations": {
            "production": {
              "browserTarget": "fcskyui-tester:build:production"
            },
            "development": {
              "browserTarget": "fcskyui-tester:build:development"
            }
          },
          "defaultConfiguration": "development"
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "fcskyui-tester:build"
          }
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": ["projects/fcskyui-tester/tsconfig.app.json", "projects/fcskyui-tester/tsconfig.spec.json"],
            "exclude": ["**/node_modules/**"]
          }
        }
      }
    },
    "fcskyui-tester-e2e": {
      "root": "projects/fcskyui-tester-e2e/",
      "projectType": "application",
      "prefix": "",
      "architect": {
        "e2e": {
          "builder": "@angular-devkit/build-angular:protractor",
          "options": {
            "protractorConfig": "projects/fcskyui-tester-e2e/protractor.conf.js"
          },
          "configurations": {
            "production": {
              "devServerTarget": "fcskyui-tester:serve:production"
            },
            "development": {
              "devServerTarget": "fcskyui-tester:serve:development"
            }
          },
          "defaultConfiguration": "development"
        },
        "lint": {
          "builder": "@angular-devkit/build-angular:tslint",
          "options": {
            "tsConfig": "projects/fcskyui-tester-e2e/tsconfig.e2e.json",
            "exclude": ["**/node_modules/**"]
          }
        }
      }
    }
  },
  "defaultProject": "fcsky-shared-library",
  "schematics": {
    "@schematics/angular:component": {
      "style": "scss"
    }
  }
}

Thank you in advance for your time! Much appreciated.

It seems like you are using karma-scss-preprocessor, this is not needed with the Angular CLI. Removing this should solve the issue.


An Unknown Exception occurred. Please contact developer.

I'm getting this error. Idk how to proceed.

Please add the line  print(e) after line number 50 in core.py and share the printed message.

I got this:
Expecting value: line 1 column 1 (char 0)

Please share your updated code.


Extend the setlist file with Spotify URL

According to the played song, the setlist must be extended with a Spotify URL

How about using the Spotipy module?

Sure! :)


Use propertyURI for react store id

Coverage remained the same at 85.649% when pulling 137a0b968bde7fd03a7c7bff6aed0659c2e41b47 on use-prop-uri into 59a2362253108bbbe159fc2ef06599b5f500a23f on master.

Fixes #253


remove version from package.json files of packages

it gets added on release, see https://github.com/pouchdb/pouchdb-server/pull/240#discussion_r125226973

Great. Merge merge merge !
All misspelling thanks to my iPhone.

From: Gregor Martynus<EMAIL_ADDRESS>Sent: Monday, July 3, 2017 7:01:15 PM
To: pouchdb/pouchdb-server
Cc: garren smith; Mention
Subject: Re: [pouchdb/pouchdb-server] remove version from package.json files of packages (#241)
@gr2mhttps://github.com/gr2m requested your review on: pouchdb/pouchdb-server#241https://github.com/pouchdb/pouchdb-server/pull/241 remove version from package.json files of packages.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/pouchdb/pouchdb-server/pull/241#event-1148475766, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAK9AiFfcgNZZg3QGattWe53Umu9q-8lks5sKR5bgaJpZM4OMg9Y.


exec(open('main.py').read())   File "", line 16, in  AttributeError: 'NoneType' object has no attribute 'shape'

how i fix this error?

It is fixed now. Browse the image using the GUI.


Develop Video calling app Using Agora and Flutter

Topic Suggestion
Pre-submission advice
By following all our pre-submission advice and reviewing our Resources folder, you will maximise your chances of your topic being approved.
We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner.
Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles that will help you propose and write a successful article.
Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Proposal Submission
Develop Video calling app Using Agora and Flutter
Your title should be descriptive of the article/tutorial. Be Specific.
Use keyword research to improve your article's SEO.
Proposed article introduction
Real-time video talking drenches individuals in the sights and hints of human associations, keeping them occupied with your application longer. Bring significant distance minutes into the center with live video calls.
Agora’s Video Call can upgrade social applications with fun highlights like AR facial masks and audio cues. In contrast, business and instruction applications can profit by screen sharing, whiteboards, and that’s just the beginning.
For example, if the article is based on machine learning, use the following: [Machine learning] Introduction to Machine Learning.
If the article is based on developing an Android application, use the following: [Android] Developing Apps using Android.
ONLY viable topics to pick from:

API
Artificial Intelligence
Blockchain
Containers
Edge Computing
Languages
Machine Learning
Networking
Node.js
Security

Key takeaways

learn how to integrate Agora.io with flutter app
Create a simple video call application
Implement the video calls control

Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
References
-https://www.agora.io/en/blog/group-video-calling-using-the-agora-flutter-sdk/
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

The paragraph you provided has significant readability challenges. It even brings a plagiarism score of 100% from articles such as:
https://medium.com/flutterdevs/video-calling-in-flutter-7621ac5747dc
http://steigerhoutbeta2.smart-gamma.com/build-video-conference-app-using-flutter-and-agora-part-1-introduction.xhtml
Feel free to suggest another topic. Also pay attention to grammar. Thanks


Unable to access copy/paste in TextInput [Android]

Copy/paste appears to be breaking in Android when react-native-screens is used with react-navigation 4.0.10. I've replicated the issue using React Navigation's "Get Started" example in both Expo snack and a standalone repo.
Versions:
"react": "16.8.3",
"react-native": "0.60.5",
"react-native-gesture-handler": "1.3.0",
"react-native-screens": "^2.0.0-alpha.7",
"react-navigation": "4.0.10",
"react-navigation-stack": "1.9.3"

Replicable repo:
Expo Snack: https://snack.expo.io/@tombarton/react-native-screens-copy-paste-android
GitHub Repo: https://github.com/tombarton/react-native-screens-copy-paste

can confirm that this issue happened to us too.
to put more detail, text selection is not working on TextInput inside ScrollView.
It's working just fine inside View.

yes. this also breaks Android auto-fill for TextInputs that contain autoCompleteTypes like :

can somebody point us in the right direction here ? what can possibly cause this ? @kmagiera , willing to help , but not really sure where to start.

Thanks for pointing this out @compojoom. I'm closing this as a duplicate and lets track this issue on #205


Blank screen hosted aplication

Has anyone hosted the application? I hired a VPS but after the login screen the system shows a blank page.
Characteristics:

Ubuntu 16.04
JDK 1.8.120
Grails 3.1.14

Running with "./streama.war"

I have no messages at the console application.

Who are you?
Pada tanggal 10 Mar 2017 21.59, "robsonolivesa"<EMAIL_ADDRESS>menulis:

I have no messages at the console application.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dularion/streama/issues/338#issuecomment-285690083,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHd1at5zpBAURZZtf4ohVu7T0LEMdLlBks5rkWVNgaJpZM4MZbs7
.

Which version of streama are you trying to run? Or: Did you compile it yourself? In which case, did you use gradle assemble?
When you say: no console output, does the literally mean 0 output? That seems highly unlikely

I am running version 1.0.19 but I have changed the application.yml file with the host database information (password only). I generated the .war file through the "gredlew assemble" command.
On the console, no message appears after "Grails application running at http://localhost:8080 in environment: production", that is, no error is printed.

Work's fine with H2 database, with mysql no.

The problem is in the .war file. Running through intellijidea works perfectly, after deploy the system gets stopped on a blank page in the url /login/auth.

The problem is in file generation. WAR, even making the original source code of the application (1.0.18) and deploying it, the system continues with the same error. Assets are not in the app after deploy. But the Intellij Idea works perfectly.

I will open a new  issue .


Excessive CPU usage from mark and sweep GC when running Flutter gallery on macOS

Happens with 84c3eacc7ba0, it's quite easy to reproduce with flutter gallery, any example constantly animates (i.e. activity indicator) will do.
This is what shows up in profiler during animation:
1.93 min  100.0%. 	Flutter Gallery (18064)
24.59 s   21.2%	  dart::ThreadPool::WorkerLoop  0x5d12c8
23.32 s   20.1%	  dart::ThreadPool::WorkerLoop  0x5d1000
22.57 s   19.4%	  dart::ThreadPool::WorkerLoop  0x5cdd40
20.65 s   17.8%	  dart::ThreadPool::WorkerLoop  0x5d08e0
10.96 s    9.4%	  Main Thread  0x5b21c6
9.94 s    8.5%	:__1. ::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread  0x5b2264
3.32 s    2.8%	Thr. eadInterrupter::ThreadMain  0x5b451e

WorkerLoop stacktraces:
  15 libsystem_pthread.dylib 24593.0  thread_start
  14 libsystem_pthread.dylib 24593.0  _pthread_start
  13 FlutterMacOS 24593.0  dart::ThreadStart(void*)
  12 FlutterMacOS 24593.0  dart::ThreadPool::Worker::Main(unsigned long)
  11 FlutterMacOS 24592.0  dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)
  10 FlutterMacOS 18033.0  dart::ConcurrentMarkTask::Run()
   9 FlutterMacOS 17762.0  dart::MarkingVisitorBase<true>::DrainMarkingStack()
   8 FlutterMacOS 14011.0  dart::ObjectLayout::VisitPointersPredefined(dart::ObjectPointerVisitor*, long)
   7 FlutterMacOS 13033.0  dart::MarkingVisitorBase<true>::VisitPointers(dart::ObjectPtr*, dart::ObjectPtr*)
   6 FlutterMacOS 165.0  dart::BlockStack<64>::PopEmptyBlock()
   5 FlutterMacOS 93.0  operator new(unsigned long)
   4 libsystem_malloc.dylib 91.0  _malloc_zone_malloc
   3 libsystem_malloc.dylib 87.0  szone_malloc_should_clear
   2 libsystem_malloc.dylib 83.0  tiny_malloc_should_clear
   1 libsystem_malloc.dylib 33.0  tiny_malloc_from_free_list
   0 libsystem_malloc.dylib 10.0  tiny_free_list_add_ptr

Is this expected behavior? Should the GC really cause order of magnitude higher CPU load than dart code itself?

/cc @rmacnak-google

@dnfield Might be related to https://github.com/flutter/engine/commit/634e499bcc651f2320c01600a4e20cea06f00141 if too many GCs are happening.

My engine build is from couple of days ago, updating now, definitely doesn't have this commit yet.

Indeed, I can't seem to be able to reproduce this anymore after update.

I misspoke in first commit, I was actually on 2.10.0-54.0.dev. Anyway, the problem seems to be gone.

This was probably from the original attempt to use hint freed, which was far too aggressive and was triggering GCs at horrible times nearly every frame during animations.


Web: Show the subthreads on the subthread view.

Current state:
When the user clicks on the thread name on both the threads page and tweets page on web, the subthread view is opened.
Currently, the subthread view does not show the threads of the tweets in the subthread view.
Fix:
The subthread view should show the subthreads similar to the way subthreads are show on the main thread.
Unlike the main thread, clicking on a subthread name should open the current subthread in a threads page and the new subthread (the sub-sub thread as it were) open in the subthread view.

When user clicks on a subthread on the threadview it now opens that subthread.
https://github.com/param108/profile/commit/6d5491b3738559c4b291050d4483b85b30718dd9


Design: Apply colour changes to the components to make them compliant to policy.

To do:

[x] Update colour tokens library in github with new colours
[x] Load colour tokens into tokens plugin in figma
[x] Apply new colour tokens to figma library
[ ] Review design and dev to ensure we're using the same token values

Colour tokens have been updated in figma
https://www.figma.com/file/mh2maMG2NBtk41k1O1UGHV/Canadian-Digital-Service
---GC-Design-System?type=design&node-id=4-1006&mode=design&t=RuxakLTwSZ41AqZJ-0

Almost done reviewing tokens,
topnav has been updated to use the canada.ca hover style:
https://github.com/cds-snc/gcds-components/pull/219

Reviewed figma and github components and the rest of the style update work has been done in this PR just waiting for approval before merging
https://github.com/cds-snc/gcds-components/pull/221

@melaniebmn to review last PR.
@Lu-stack-art @ClementineHahn  to double check if that creates prompt for further assessment on issues raised during a11y testing (check what did we address and what did we not)


Implement NetworkAdapter

As oneview-redfish-user, I access "/redfish/v1/Chassis/<server_hardware_uuid>/NetworkAdapters/<deviceNumber>" and receive a NetworkAdapter object associated with this device at OneView's Server Hardware. The implementation show be as follow:

there should be one NetworkAdapter for  each NetworkInterface object. Both are mapped to a single network device at OneView.
in the property NetworkPorts, there should be a link to a collection of NetworkPorts
there should be an array of Controllers with a single Controller inside containing the number of physical ports available and number of device functions (how many virtual ports are there for a single physical port) on controllerCapabilities object
also on the single controller, in the Links property, there should be a NetworkPorts filled with an array of NetworkPort objects and a NetworkDeviceFuncions with an array of NetworkDeviceFunction objects.

Added a s to NetworkAdatper at the url:
"/redfish/v1/Chassis/<server_hardware_uuid>/NetworkAdapter/"
now it is:
"/redfish/v1/Chassis/<server_hardware_uuid>/NetworkAdapters/"

An example of a NetworkAdapter can be found here


Flexdatalist resizing issue

I have three autocomplete on my page and three of them in a same div side by side.and after result data if I resize the page my results is overlapping or something like that as you see on image
When I type a something

and after I resize

but if I use only one autocomplete than I don't get any issue and my last autocomplete is not overlapping and only it's working as expect
my js code
$('.input').flexdatalist({
    requestType: "POST",
    searchDisabled: true,
    searchByWord: true,
    searchContain: true,
    textProperty: '{name}',
    valueProperty: 'name',
    maxShownResults: 50,
    focusFirstResult: true,
    selectionRequired: true,
    groupBy: 'category',
    visibleProperties: ["name", "category", "description", "font"],
    searchIn: true,
    url: '/ajax/SearchOtel',
});

$('.input2').flexdatalist({
    requestType: "POST",
    searchDisabled: true,
    searchContain: true,
    textProperty: '{name}',
    valueProperty: 'id',
    groupBy: 'category',
    maxShownResults: 50,
    focusFirstResult: true,
    selectionRequired: true,
    visibleProperties: ["name", "category", "description", "font"],
    searchIn: true,
    url: '/ajax/SearchTur',
});

$('.input3').flexdatalist({
    requestType: "POST",
    searchDisabled: true,
    searchContain: false,
    textProperty: '{name}',
    valueProperty: 'address',
    selectionRequired: true,
    visibleProperties: ["icon", "name"],
    searchIn: ["name", "icon"],
    url: '/ajax/SearchTatilRehberi',
});

and my all autocomplete class and parents of autocomplete is different they are not using same css class thanks.
I want to give you a live example but I have no my own host and codepen is not supporting json file sorry
edit: I added alternate link please click here to see demo

Hi,
Thanks! I'll fix it!
Cheers!
Sérgio

it confuses from its various this variables in the _position function and how can we fix it for now ? I need to fix it thank you

Hi,
Check out https://github.com/sergiodlopes/jquery-flexdatalist/releases/tag/1.9.5.
Cheers!
Sérgio

yes I change code and get a new error
Uncaught TypeError: Cannot read property 'top' of undefined
    at n.fn.init.a._position (plugin.js?cdn=%2f%2fbetacontent.anitur.com.tr%2fweb:1904)
    at window.onresize (plugin.js?cdn=%2f%2fbetacontent.anitur.com.tr%2fweb:1904)

I change flexdatalist.js and .css but styling problem still goes on thanks for your help

check out the latest draft (1.9.5)

yes problem has been fixed if you don't check responsive with chrome google device toolbar , so if you wont check responsive with device toolbar It doesn's seem to be a problem. thanks but I guess the script has a little bug on the responsive size take care and take you so much again

absolutely if I've more than one flexdatalist on my page than is broken but if I've just one it's not broken and I have more than 30.000 visitors in a day I gotta change but i liked this autocomplete


How can I contribute

Hi, I'd like to get in touch with the author so we can start collaborating. I really would love a solid Svelte remotion alternative and I love to see what you've done
My discord is albert-lum#0513

Also can we do audio?

An issue:

imported font's via Google fonts do not load in outputted video
no way to create new components / files

Some ideas:

Support audio
ctrl+s to save files (re-rendering is triggered on every change
support typescript & css preprocessors (this may be already supported)


directory

to what directory does it get sent

I suppose you want to know where the files get sent to after running a command to save a file. If you used the command to initialize your user directory, then a folder outside of the index.js file's folder will be created, with the name of the server ID. Inside of the server folder you'll find every user directories that have used the initialize command, with each folder having the discord user ID of its owner.
I hope this was helpful. I'm also assuming the bot still works after all this time without maintenance

And

And what if you don’t use the command to initialise the directory?

Apologies for the delay. If the command is not used, the bot will attempt to access a directory that does not exist, and subsequently fail. Ideally, the bot would create the directory on its own, upon its first interaction with the user in that server, and "whitelist" them, not attempting to create the directory again. Sadly, the current implementation doesn't work that way
I have not updated it in a long while, and this probably wouldn't take priority, considering the possibility for remote code execution I did not patch, though that warning is included in the readme file.


undefined: canonicalDocsURL

I am using the generator to generate client libraries for EAP programs from a discovery doc, but due to a recent commit I now get this error:
waprin-macbookpro:google-api-go-client waprin$ go run google-api-go-generator/gen.go --api_json_file=discovery.json
google-api-go-generator/gen.go:1639: undefined: canonicalDocsURL
I think the commit was by @gmlewis .

Never mind, by putting docsurl.go before it worked I didn't remember having to do it before.


book: fix link to example sources

The build error seems unrelated to the change, we might have to pin the rust-nightly version
let's retry and see:
bors retry


Save output from vanilla templates to file

I almost always end up saving resources that I've created with vanilla templates to file(s) - it would be nice if I could do this as part of the template wizard; suggest to have a "Create file(s)" checkbox on the last page that would suggest filenames as we do when saving unsaved resources and allow me to select which project folder to save to.

We now have a button to save resources from a template directly to a folder


JavaFX Webview Optimization

The javascript does not run in a JavaFX Webview pane. I would enjoy if you optimized your otherwise wonderful game for my favorite browser, JavaFX Webview.

It doesn't work for netview either, the default xfce browser

I have no way of testing this, but I added a script that should build a more compatible version of the game in the babel branch. Try this:
$ git checkout babel
$ npm install
$ npm run start-compat

And see if it works in whatever browser you want by navigating to http://localhost:4000. You can then run npm run build to build the compatibility version of the game in the dist directory.

Similarly, I just tried to play the game on the Wii Internet Channel and it wouldn't work. It's a shame the devs are ignoring this group of users.

The babel functionality got merged into master (see #98), so the production version should be compatible with most reasonable browsers. As such, I'm closing this issue


Timer: Add support for rearming timer with new interval

Ugly alternative to #320

They eat our timers, our start_delays!

Not sure how strict we should be about this, but the bug fix should be applied to v1.1.x, but the new feature should go to v1.2.0.
I think to have it both and not being that bureaucratic, you could split it in 2 PRs, bug fix and feature, and we merge first the bug fix, release v1.1.3, then merge the feature and release v1.2.0.

For simplicity I think we can release all of this in v1.2.0 and that's it.


PatchMechlabLimitItems: Breaks filtering for MechEngineer & CustomComponents

Components show even for mechs they would be invalid on.

Rework now hides engines until scrolling is attempted, this also needs fixing.

Fixed in 6cea361193


Prepare code for breaking change in Protobuf C++ API.

Protobuf 6.30.0 will change the return types of Descriptor::name() and other methods to absl::string_view. This makes the code work both before and after such a change.

This change is

/gcbrun

/gcbrun

We're going to wait on merging these changed until we are closer to updating our dependencies to include protobuf v30.

/gcbrun

/gcbrun


Relax allowed ecto versions

I'm using phoenix_ecto v3.0.0-rc.0, and it fails along with absinthe_relay:
Failed to use "ecto" (versions 2.0.0-beta.0 to 2.0.0-rc.5) because
  absinthe_relay (version 0.9.2) requires ~> 1.0 or ~> 2.0
  phoenix_ecto (version 3.0.0-rc.0) requires ~> 2.0.0-rc

This PR relaxes the constraint.

Hey there!
Simply do
{:ecto, "2.0.0-rc.5", override: true}

We aren't going to try to track all RCs.
Thanks!

I didn't realize this option was available, thanks!


Outputs of true_fn and false_fn must have the same type: float32, uint8

Hi Thanks for this awesome project I have a problem when I try to train the model I get this error
Traceback (most recent call last):   File "src/train_softmax.py", line 582, in <module>     main(parse_arguments(sys.argv[1:]))   File "src/train_softmax.py", line 129, in main     image_batch, label_batch = facenet.create_input_pipeline(input_queue, image_size, nrof_preprocess_threads, batch_size_placeholder)   File "/Users/mohammadkhaleghi/AI/facenet/src/facenet.py", line 122, in create_input_pipeline     lambda:tf.image.per_image_standardization(image))   File "/opt/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func     return func(*args, **kwargs)   File "/opt/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 1274, in cond     "%s, %s" % (x.dtype.name, y.dtype.name)) ValueError: Outputs of true_fn and false_fn must have the same type: float32, uint8
any idea what can be problem?

Hello, for now I have the same issue but with the src/validate_on_lfw.py instead of the src/train_softmax.py.

any solution ?

???

could someone give a solution to this?

This error means that your image is uint8 format,
So you neet to add
 image = tf.to_float(image)

in "facenet/src/facenet.py:121".

pip install tensorflow-gpu==1.7

cannot run it with the error: ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.7 (from versions: none)

same error here. I could not install tensorflow==1.7 or tensorflow-gpu==1.7. Error: Could not find a version that satisfies the requirement

I managed to fix it by downgrading these:

pip install tensorflow==1.13.0rc1
pip install scipy==1.1.0 (optional)
pip install numpy==1.16.1 (optional)

Hi Thanks for this awesome project I have a problem when I try to train the model I get this error
Traceback (most recent call last): File "src/train_softmax.py", line 582, in <module> main(parse_arguments(sys.argv[1:])) File "src/train_softmax.py", line 129, in main image_batch, label_batch = facenet.create_input_pipeline(input_queue, image_size, nrof_preprocess_threads, batch_size_placeholder) File "/Users/mohammadkhaleghi/AI/facenet/src/facenet.py", line 122, in create_input_pipeline lambda:tf.image.per_image_standardization(image)) File "/opt/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func return func(*args, **kwargs) File "/opt/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/ops/control_flow_ops.py", line 1274, in cond "%s, %s" % (x.dtype.name, y.dtype.name)) ValueError: Outputs of true_fn and false_fn must have the same type: float32, uint8
any idea what can be problem?

you need change:
image = tf.cond(get_control_flag(control[0], FIXED_STANDARDIZATION),
lambda:(tf.cast(image, dtype=tf.float32) - 127.5)/128.0,
lambda:tf.image.per_image_standardization(tf.cast(image, dtype=tf.float32)))
in "facenet/src/facenet.py:122".

you need change: image = tf.cond(get_control_flag(control[0], FIXED_STANDARDIZATION), lambda:(tf.cast(image, dtype=tf.float32) - 127.5)/128.0, lambda:tf.image.per_image_standardization(tf.cast(image, dtype=tf.float32))) in "facenet/src/facenet.py:122".

Incredibly correct


Docs for enterprise license and migration

Explain that enterprise license will be entered in same all-in-one installer for users who land on installer page after getting the license.
Put migration notes and warnings.

Ed, thanks, fixed and sorry for hackish amend --force push, just being lazy for cherry-pick to master.


Currently opened filename loses highlight after its content is modified

When you switch between opened files their respective names are highlighted in the Open editors section of the File Explorer but once you type something - the highlight disappears. It's pretty annoying when you have a bunch of files opened and lose track of which one you are currently in.

I'm not sure I understand the problem, unless I've misunderstood, I can't reproduce the problem :/

Hello BearderBear! This seems to have been a quirk of VSCode addressed in the latest updates or something. I have just tried to reproduce the issue and the current file no longer loses the highlight. Thank you for you time! 🍯


crop_element method in visual_test.py doesn't work properly

Hello! I tried to assert_screenshot for a local chromedriver and it doesn't crop it properly.
As i see the problem is in crop_element method in visual_test.py
Also it works the same for appium(android and ios drivers)

test file example:
from selenium.webdriver.common.by import By
from toolium.pageobjects.page_object import PageObject
from toolium.pageelements.page_element import PageElement
class BasicSite(PageObject):
base_url = "https://www.basicwebsiteexample.com/"
basic_site_logo = PageElement(By.ID, "page-zones__template-widgets__companyname-companyname")
def test_sample(driver_wrapper):
driver_wrapper.driver.get(BasicSite.base_url)
BasicSite().basic_site_logo.assert_screenshot("page_logo")
In test i used pytest_fixtures from toolium library.
In properties.cfg I also tried to add a browser settings like window_width and window_height, but it doesn't help
Maybe you have an idea how to solve that problem?

@rgonalo Hello, can you check it by cloning this simple project? https://github.com/DuXspace/issue-288 (I'm using toolium 2.6.0)
I have no idea why it works in that way, I have already tried local firefox/chrome/Android Chrome/iOS safari on 2 different macos(m1, intel) with different screen resolutions.
Also i tried to run it on remote selenoid server, and it works properly, looks like somehow coordinates of web_element is wrong for local running.

We have already found the source of the problem. It happens in Mac retina displays or other devices (Android/iOS) which pixel ratio is not 1.
We will try to take the device pixel ratio in account when cropping elements in visaultesting, but in the meanwhile you could force in your tests the ratio to 1:
Chrome
[ChromeArguments]
force-device-scale-factor: 1

Firefox
[FirefoxPreferences]
layout.css.devPixelsPerPx: 1.0

@rgonalo Thank you very much for your help and help in solving the problem! But it won't to help for safari driver on iOS (https://appium.io/docs/en/drivers/safari/)
I thought a lot about just copying the visual testing file to our project, but due to the philosophy of the framework, which I really like, I would like this framework to be improved too.
Also there is a safari driver that does not support some selenium methods (commands), I would like to know one thing. Will you fix such things if I start creating tasks for these problems or if it is needed to be done by us.
I can create a list of problems and their solutions that we found and made on our side, I think this would be helpful for the universatility of the framework.

I would really appreciate that you become a toolium contributor. You can create the issues and fix them yourself or wait for us to solve them, but it would be faster if you push the solution.

@rgonalo @DuXspace Hi! Please take a look for my fix when you have time and give me feedback is issue fixed or not.

@rgonalo Looks like all works properly, can you check it too and merge it?

I've just reviewed and merged it. Thanks for contributing @DuXspace @VladimirPodolyan

@rgonalo is it possible to roll out current dev version to pypi?


Add REST endpoint to allow adding creds to DB via POST request

Drawbacks right now:

no validation beyond all fields being present and the credtype being either "hash" or "plaintext"
creds are added to DB one at a time, which is slow for large batches

Not sure what the best way is to update the wiki; let me know and I'll go ahead and do that too.
This PR closes #764.

@DakotaNelson can you provide me with an example of a request? I haven't been able to get it working with this format

Pretty sure it's the square brackets:
{
	"credentials": [{
		"credtype":"plaintext",
		"domain":"domain2",
		"username":"username2",
		"password":"password2",
		"host":"host"
	},
	{
		"credtype":"plaintext",
		"domain":"domain3",
		"username":"username3",
		"password":"password3",
		"host":"host"
	}]
}

Should I put a better error message in there for "hey there should be a list and we found an object"?

Ah thanks, i always appreciate verbose error output. I test this out again and merge if everything works.

Updated. I've also exported the Postman collection I used for testing: https://gist.github.com/DakotaNelson/189bb1b9fe2ff1c74f2f8da6522a3f47

Happy to help!


Fix broken links in samples README.md

The following page links don't point correctly to quickstart document.

Software Requirements
Runtime Environment Requirements

https://github.com/oracle/coherence-operator/pull/290


Only allow user editing of some geographic raster metadata

The following geographic raster metadata fields should be user editable

coverage place/area name
name
variable
units
method
comment

The following geographic raster metadata fields should be read from the geographic raster file and never be user editable.  User editing of these would result in an inconsistency between the file and the metadata which should be avoided.

rows
columns
cellDataType
bandcount

The following geographic raster metadata fields should be read from the geographic raster file and not editable from the landing page.

Coverage projection
Coverage units
Coverage northlimit
Coverage eastlimit
Coverage southlimit
Coverage westlimit
CellSizeXValue
CellSizeYValue
CellSizeUnit
noDataValue
However if this metadata is missing or incorrect there is a need for a user to be able to enter or correct this information.  A separate tool should be developed "Edit raster file metadata" that opens an editing interface where these fields may be entered or adjusted.  Then upon save this metadata should be written back to the file.

Editing for the selected extended metadata elements for raster resource type is implemented as indicated in this issue (i.e., noDataValue and all subelements of BandInformation are editable), which is pushed to my 82-raster-resource-new-workflow feature branch. The only issue is with coverage northlimit, southlimit, westlimit, and eastlimit, which are currently editable as implemented in hs_core as standard science metadata elements. To make these fields non-editable for raster resource type, Pabitra's input is needed in terms of whether we should make these fields non-editable like coordinate projection and units at the core metadata level, or provide some attribute settings that allow a specific resource type to override the default behavior to make these fields non-editable for the specific resource type.

Removed ready for testing label - more work is needed to make noDataValue not editable when it is extracted from the uploaded file, and only editable when no value is extracted.

finished additional work needed for making noDataValue not editable when it is extracteed from the uploaded file and only editable when no value is extracted. Fix pushed into github and a pull request has been created to merge into develop. One issue remains to make Coverage northlimit, southlimit, westlimit and eastlimit not editable for Raster resource type, which needs further discussion with Pabitra to get this taken care of by core metadata that allows specific resource type to set individual fields/forms for core metadata elements editable or not.

Tested it on alpha and metadata editing is working now except for Coverage metadata editing. Adding ready for testing label. Coverage metadata editing is captured in another issue #225, so suggest to close this issue if other metadata editing (except for Coverage) works.

See following Alfresco document for details on editable fields for raster resource https://my.alfresco.com/share/s/DeXkAhEgS8GjrgTWOSpp0w

Working satisfactorily on www.hydroshare.org


Swagger UI does not show on localhost webapi (.net core)

Hi new to all of it,so bear with me,
Watched video on how to integrate nswag with asp.net core.
I did as follows

    public void Configure(IApplicationBuilder app, IHostingEnvironment env)
    {
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }

        app.UseSwaggerUi(typeof(Startup).GetTypeInfo().Assembly, s =>
        {
            s.SwaggerRoute   = "/swagger_ui/v1/swagger.json";
            s.SwaggerUiRoute = "/swagger_ui";
        });

        app.UseMvc();
    }

3
http://localhost:50000/swagger
I get  404.  Am I missing the obvious?
I am using vs2017 15.5
thanks for any feedback

Thanks that worked.Sorry I was typing swagger,didnt realise


OpenSSL 1.1.0g Makefile issues

One traditional approach to source tree management is to create a source tree and to create a separate build tree (which sometimes requires creating links to the source tree). OpenSSL has a few files where it attempts to modify in-place, including ./configdata.pm (new file in 1.1.0g). If you extract a single source tree and create two build trees linking to the source tree files, the default Makefile will try to write through the symlink to the source tree. This is particularly bad if your two builds are for different configurations (e.g. gcc -m32 vs gcc -m64) since configdata.pm will contain incorrect information.
All file modifications (during the config step) should be done using a backup file mechanism, not in-place modification.

Errrr, don't symlink, just create a build tree for your purpose and run the config scripts from there.  Like this:
# assume the source is in /usr/src/openssl-1.1.0g
$ mkdir /var/tmp/openssl-1.1.0g-m32
$ mkdir /var/tmp/openssl-1.1.0g-m64

# build -m32
$ /usr/src/openssl-1.1.0g/Configure linux-x86
$ make

# build -m64
$ /usr/src/openssl-1.1.0g/Configure linux-x86_64
$ make

If you create a lot of symlinks to the source tree from the build tree, you're screwing things up royally...  and quite unnecessarely.  Just... don't.


Update comments about sizes

This was forgotten during https://github.com/laravel/settler/pull/215
I'm not sure of the "leaving ~5GB free for other volumes" comment is still valid?

I'm not sure of the "leaving ~5GB free for other volumes" comment is still valid?

It's fine to leave for now IMHO. I need to check again to see if this is accurate or not.


Horrible webpack performance (8x) when ExtractTextPlugin is present

I've tried many things already, and I can't get rid of the performance issues when using the ExtractTextPlugin.
This is my stats.json file WITH ExtractTextPlugin
stats.json.zip
And the configuration looks something like:
module.exports = {
    name: 'mycujoo-client',
    target: 'web',
    entry: './statics/mycujoo-app/index.js',

    output: {
        path: path.resolve('./dist/client'),
        filename: '[name].bundle.[hash].js',
        publicPath: '/dist/client/'
    },

    module: {
        loaders: [
            loaders.js,
            loaders.cssFile
        ].concat(commonLoaders)
    },

    plugins: [
        new ExtractTextPlugin('[name].bundle.[hash].css', { allChunks: true }),
        new AssetsPlugin({ path: path.join(__dirname, '..', 'dist') }),
        new webpack.optimize.OccurenceOrderPlugin(),
        new webpack.NoErrorsPlugin(),
        new webpack.DefinePlugin({
            'process.env': JSON.stringify(process.env)
        })
    ],

    resolve: { alias: alias },

    postcss: postcss
}

and my stats WITHOUT ExtractTextPlugin
stats.json.zip
module.exports = {
    name: 'mycujoo-client',
    target: 'web',
    entry: './statics/mycujoo-app/index.js',

    output: {
        path: path.resolve('./dist/client'),
        filename: '[name].bundle.[hash].js',
        publicPath: '/dist/client/'
    },

    module: {
        loaders: [
            loaders.js,
-           loaders.cssFile
+           loaders.cssInline
        ].concat(commonLoaders)
    },

    plugins: [
-       new ExtractTextPlugin('[name].bundle.[hash].css', { allChunks: true }),
        new AssetsPlugin({ path: path.join(__dirname, '..', 'dist') }),
        new webpack.optimize.OccurenceOrderPlugin(),
        new webpack.NoErrorsPlugin(),
        new webpack.DefinePlugin({
            'process.env': JSON.stringify(process.env)
        })
    ],

    resolve: { alias: alias },

    postcss: postcss
}

where
cssInline:  { test: /\.css$/, loader: 'style-loader!css-loader?sourceMap&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader' },
cssFile:    { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader') },

Because I'm generating two bundles, the performance is twice as bad.
I really don't know what to do.

Same issue here. (actually worse, 13x in my case)
Time with ExtractTextPlugin: 487878ms
Time without ExtractTextPlugin: 37175ms

Have you guys always had this performance issue or is it with specific releases of the plugin?

I have tried with 0.8.2 and 1.0.0 and I have the issue on both version

@alberto do you have any idea why?

No. I updated some package dependencies, and tweaked the configuration and the problem went away, but I don't know what was causing it.

Would you be so kind to provide me with your configuration? so I can compare with mine.

My config is a bit complex. Let me try to figure out what was it.

Try updating your loaders. One of this fixed it for me:
-    "autoprefixer-loader": "2.1.0",
+    "autoprefixer-loader": "3.1.0",
-    "css-loader": "0.17.0",
+    "css-loader": "0.23.1",
-    "extract-text-webpack-plugin": "0.8.2",
-    "file-loader": "0.8.4",
+    "extract-text-webpack-plugin": "0.9.1",
+    "file-loader": "0.8.5",
-    "html-loader": "0.3.0",
-    "html-webpack-plugin": "1.6.1",
+    "html-loader": "0.4.0",
+    "html-webpack-plugin": "1.7.0",,
-    "json-loader": "0.5.3",
+    "json-loader": "0.5.4",
-    "style-loader": "0.12.3",
+    "style-loader": "0.13.0",
-    "ts-loader": "0.5.5",
-    "tslint": "3.0.0",
-    "typescript": "1.6.2",
+    "ts-loader": "0.7.2",
+    "tslint": "3.2.1",
+    "typescript": "1.7.5",
-    "webpack-stream": "2.2.0",
+    "webpack-stream": "3.1.0",

still very slow to me.

Sorry, here is my config in case it helps: https://gist.github.com/alberto/c273f2623e13c256bacb

I have the same problem as well.

I believe this plugin is considerably slowing down my webpack builds as well. Are there any solutions to this?

still nothing?

Can you try against webpack 2?

Still slow here. Not 100% sure if it is because of ExtractTextPlugin or not but 99% sure. Using css imports in 20+ files so I cannot easily test it by removing it because it would break my whole webpack build 😕 but I'm using a very similar webpack config without ExtractTextLoader in another project of similar size and complexity and build times are around 3-5 times faster there.
Webpack develop build takes 13.027s on my machine and this is my config:
test: /\.s?css$/,
use: ExtractTextPlugin.extract({
    fallbackLoader: 'style-loader',
    loader: [
        isProduction()
            ? 'css-loader?camelCase&modules&importLoaders=1&localIdentName=[hash:base64:5]'
            : 'css-loader?camelCase&modules&importLoaders=1&localIdentName=[name]__[local]',
        'postcss-loader',
        'sass-loader'
    ]
})

new ExtractTextPlugin({
    filename: isProduction() ? 'css/[name].[hash].css' : 'css/[name].css',
}),

Webpack version is 2.2.0. Maybe postcss-loader or sass-loader are the cause. I dont know 😕

By simply setting disable: true I get 2x faster builds. 😢

im also getting really slow builds with extract text plugin - if i set disable:true my SASS builds take less than half as long. Im using a main SASS entry point that @imports around 10 SASS partials and some libraries (susy, bourbon, normalise).

I ran into this problem as well. I tracked it down to webpack-contrib/css-loader#124, using css-loader 0.14.5 dropped my build time by 30%.

@KazW that may well be a part of the issue, but if I only disable extract text plugin, and keep css-loader+sass-loader, it literally halves my build time. It seems clear that extract text plugin itself is a huge source of slowness

Seems issue related to css-loader, not extract-text-webpack-plugin.
/cc @matthewjumpsoffbuildings @GuilhermeMedeiros @manuelbieh @Hulkmaster @allenylzhou @alberto The problem is still present? If yes, please provide minimal reproducible test repo.

@evilebottnawi not in my experience - if i disable extract-text-webpack-plugin and leave css-loader and sass-loader enabled, my compile time halves.
it appears to have something to do with extract-text-webpack-plugin and sass includes. it seemed like the more sass includes i used (both from my own files and from npm sass libraries like susy and bourbon), the more the compile time increased.
i will attempt to make a test repo asap

@matthewjumpsoffbuildings just ping me when your do it

@matthewjumpsoffbuildings getting the same thing. extract-text-webpack-plugin is getting worse at a exponential rate, it is not scaling.

In essence extract-text is a hack to make up for a lack of first class css support in Webpack.
Trying to fix that problem here isn't practical nor would it be effective, Tobias is attacking the problem at its source. For those that have not read it yet, https://medium.com/webpack/the-new-css-workflow-step-1-79583bd107d7
Step 1 of a few on the road to solving the performance issues in the CSS workflow.


Add theme color for windows desktop app

hello，respect for every engineers.
can we change desktop app theme color to pink...it looks unharmonious

@pertrai1
theme_color in ngrx looks right

and I try to set theme_color in my own pwa,it is useful.

chrome70.0.3538.102
window 10

It's just a <meta> tag. Support doesn't matter because unsupported <meta name=x> values are ignored IIRC.

@def14nt that is correct. But I wonder why the need to file an issue for something that has very little support. And, because the issue was filed, I asked him to take it on. Anyone who sees this issue, it is open to tackle and do a PR.

@pertrai1 It's more of a niggle. It isn't important, but when you have extra time (when you're not working on smth important) you could file an issue I guess.
@vickmeng Thanks for filing the issue, but if you know how to fix this annoyance then you could have easily filed a pull request.

I'd like to provide a PR. I've noticed that a color is already defined because the default color in Chrome for Windows is gray, not the current blue. So it just need to be changed (instead of added).
But before I do that I have one question: I've noticed that the navigation header uses two different shades depending on which page is active. The homepage uses #d81b60 while the pages "Overview", "Reference" etc. use #c2185b which is slightly darker. (Is there a reason for that?)
I'd use the darker version if that's fine for everyone. I think a darker title bar over a lighter page header looks better than vice versa. On the sub pages the colors would match, which is also fine. Alternatively, I could use a third shade that's darker than the two other colors. What do you think?

This seems to be fixed: