Files used in unit tests remain in /tmp

Describe the bug
After rake test, the following files remained in /tmp.

/tmp/SERVERENGINE_SOCKETMANAGER_*
/tmp/fluentd-lock-*
/tmp/fluent/

To Reproduce

rake test
ls /tmp

Expected behavior
Files created by tests should be deleted.
Your Environment
- Fluentd version: 1.15.3
- Operating system: Ubuntu 22.04
- Kernel version: 5.15.0-58-generic

Your Configuration
-

Your Error Log
-

Additional context
No response

Thanks for your report!
I ran a few tests first, but no temporary files were left.
$ bundle exec rake test TESTOPTS="-t'SupervisorTest'"
$ bundle exec rake test TESTOPTS="-t'FileOutputTest'"

Some specific tests may be the cause.
I am concerned that it may be difficult to identify which test is the cause...
I am running all tests in my local environment now.

Wow! Thanks!
I can confirm those files are left in /tmp/ after running all tests.
We might also consider the idea that since it is in /tmp/, it is not a problem if it remains to some extent.
If there is a test where we obviously forget something, it would be nice to fix it.


subresource

Hi
I think it would be interesting to have an option in subresource that is simple+not simple
so as to have the taxonomic orders and the scientific name id together
to be able to work on associations in a complex way

Hi @bonushenricus, we added a new extended BA endpoint which is deployed on the sfg.taxonworks.org production server (but not all of the sandbox servers yet). I added it to the unreleased version of the R package, so if you re-install the development version it should be callable with:
tw_ba(subresource='extended')

In the background it will call:
https://sfg.taxonworks.org/api/v1/biological_associations/extended?page=0&per=50&project_token=ZEJhFp9sq8kBfks15qAbAg
Please let me know if you need anything else.


Demo: detachable legend and click-to-toggle-visibility

Adds a demo example for the detacheable legend control + plot modification options.
What remains to be done

[x] properly setup de demo : need help to structure the example with an additional control for the legend viewer (need help @swharden)
[x] include the detached legend options and features in the appropriate control
[x] figure how to track toggling of visibile / invisible plots (see suggestions in #3842
[ ] figure how to handle plots without text in legend
[x] figure how to change painting of legend item based on toggled state of the plottable
[x] figure how to handle legend resize
[x] properly restore initial legend state upon detached legend closing
[x] trigger detached legend update after a modification

@swharden If you could just setup the demo example properly so that an additional control can be created for the legend viewer that would be great. I really don't know how to do that correctly.

@swharden If you could just setup the demo example properly so that an additional control can be created for the legend viewer that would be great. I really don't know how to do that correctly.

Sorry for the delayed response on this!
To get your app to appear in the list, make sure the Form inherits IDemoWindow, then it will show up automatically.
I'll go ahead and do this now and commit back to this branch...

Give it a try now! I also added a shortcut which can help during development: when the demo window first launches, press CTRL+D and your detachable legend window will open-up without you having to choose it from the list 👍

... give me a few more minutes and I'll get you started with a pop-up window and a skia canvas ...

All right @BambOoxX, some of my changes so far were a bit confusing, but this is a really strong start. I'm excited to see what you're able to do from here! Maybe it's even close to done? 🚀

@swharden Nice ! I'll have a look at this later. I'll keep you posted.

@swharden I think I'm missing something, where is  the logic that handles the varying column / rows of Legend upon rendering located ? I could not find it...

@swharden I think I'm missing something, where is the logic that handles the varying column / rows of Legend upon rendering located ? I could not find it...

https://github.com/ScottPlot/ScottPlot/blob/ab72fe6b4406aa84a5e5d203152e5c4ba6dd1dfa/src/ScottPlot5/ScottPlot5/Primitives/Legend.cs#L90
https://github.com/ScottPlot/ScottPlot/blob/ab72fe6b4406aa84a5e5d203152e5c4ba6dd1dfa/src/ScottPlot5/ScottPlot5/Primitives/Legend.cs#L214-L226
https://github.com/ScottPlot/ScottPlot/blob/32bc1432f620473dba23c36ce2054c450878d817/src/ScottPlot5/ScottPlot5/LegendLayouts/Wrapping.cs#L26-L40

I'm appreciating that this is not very simple 😅
If it becomes too much, let me know and we can take a look together! I'm down to zoom if it helps.

@swharden So the base is working. One can trigger visibility and change plottable properties, without actually tracking the plottables. The only compromise is that I had to add some methods in Legend to be visibility aware, otherwise the painted legend would have had masked plottables. Let me know what you think of these modifications.
I still could not properly trigger updates of the detached legend yet, only of the Plot itself, except by changing the size of the control containing the detached legend.

Last thing I believe is how to handle specific legend item cases. Since I don't use that functionality (yet), could you point me towards potentially problematic cases ?

Hey @BambOoxX, I have a little time right now... rather than me run this and try to figure out what's going on, do you have interest in hopping on a Zoom call where you can share your screen and show me what you've got going so far? I'm cool either way. If you're interested you can send me a DM on Discord and I'll send you a zoom link

One can trigger visibility and change plottable properties, without actually tracking the plottables

I still could not properly trigger updates of the detached legend yet

This looks pretty good! I have the code running on my box now and I'm taking a closer look...

Ah, this is probably what you were asking:
private void LegendControl_SomeAction(SKControl sender, EventArgs ee)
            // TODO : How to trigger legend repaint ?

answer:
sender.Invalidate();

Hey @BambOoxX, I think I got this far enough that you can take it from here 🚀
I'm not making any more edits to this branch until I hear back from you (to minimize risk of merge conflicts)
Let me know if you have further questions or if/when you think this is ready to merge! Thanks again for all your hard work on this -- these are some pretty advanced behaviors

@swharden Nice ! There are still minor glitches with the markers that I have to sort out, but otherwise things look close to ready !

No rush, but let me know if you think this will be done in an hour or two and I will hold off making the next release until this is ready to merge.
I think the core changes to the main library have already been made, so if you want we could merge this now and you can continue to refine the demo later. Up to you!

No rush, but let me know if you think this will be done in an hour or two and I will hold off making the next release until this is ready to merge.
I think the core changes to the main library have already been made, so if you want we could merge this now and you can continue to refine the demo later. Up to you!

I think you can release the rest without merging this for the moment, there is no rush. I'll try and finish this tomorrow.
In the meantime, you could reopen #3842 to warn potentially interested people

Also one thing that bothers me is that ideally the control should fit the legend, and  without shadow. Do you see a good way to do that ?

Also one thing that bothers me is that ideally the control should fit the legend, and without shadow. Do you see a good way to do that ?

I think I can do this! I'll make some commits to this branch for the next several minutes.

I think you can release the rest without merging this for the moment, there is no rush. I'll try and finish this tomorrow.

I recognize the remaining work is in the demo app (not the core library), so I'll modify this PR make the demo not appear in the demo list and you can take as long as you need to refine the demo, but I'll go ahead and merge this so I can release and not deal with long-running open branches that can be hard to merge later
Thanks again for all your work on this!

I'll modify this PR make the demo not appear in the demo list and you can take as long as you need to refine the demo

Note that after 7c06c99de5ecb94bb719882b6797a419464524b2 it no longer appears in the list but CTRL+D will still launch it from the main screen of the demo app

figure how to handle plots without text in legend

If you want to hack this in for now and we can come up with a more elegant solution later. I'm okay with a "magic value" that shows the shape but no text. Maybe something like
myScatterPlot.LegendText = "INTENTIONALLY_EMPTY";

You could get a little less hacky and make something like this:
// LegendItem.cs
public static string EmptyText = "{{empty}}";

// allowing users to do this
myScatterPlot.LegendText = LegendItem.EmptyText;

@nilsakesson I'm not sure I understand your demand, could you elaborate ? There is definitely room for additional options.

I made a WPF app with WPF native elements to invoke the events for the plot. Call it a "detachable legend" if you like. If there are multiple Signals in the same plot it's very convenient to change the y-axis of the signal in the options of it.


fix: windows functionality and tests

There are four issues when running on windows:

https://github.com/bazel-contrib/rules_bazel_integration_test/issues/330
https://github.com/bazel-contrib/rules_bazel_integration_test/issues/331
https://github.com/bazel-contrib/rules_bazel_integration_test/issues/332
https://github.com/bazel-contrib/rules_bazel_integration_test/issues/333

This PR fixes 3 and 4.
There are related PRs in bazel-skylib and bazel-starlib. There is no dependency -- the PRs can close in any order.

https://github.com/cgrindel/bazel-starlib/pull/446 (fixes 1)
https://github.com/bazelbuild/bazel-skylib/pull/527 (fixes 2)

Test results:
Before:
--enable_runfiles: 0 pass
--noenable_runfiles: 0 pass
After this PR:
--enable_runfiles: 52 pass, 19 failures
--noenable_runfiles: 51 pass, 20 failures (17 are doc diff-tests due to bazel-starlib)
After this PR, together with wip PRs for 1 and 2:
--enable_runfiles: 71 pass, 0 failures
--noenable_runfiles: 51 pass, 20 failures (all due to bazel-starlib)

I approved the CI.


[Feature] REST-API - Swagger-Promote as a Service

User story
The requirement is to have Swagger-Promote running as a service in front of each API-Manager instead of running it individually for each API. With that, new options would be possible as basically every REST-Client can easily promote/replicate an API into the API-Manager.
With that the following issues will be solved:

[ ] Axway-API-Management-Plus/apimanager-swagger-promote#144
[ ] Axway-API-Management-Plus/apimanager-swagger-promote#143

Additional context
Has been prototyped during the API-Management Hackathon in Paris. See here:
https://github.com/axwayhackathon/apimanager-swagger-promote

Hi @cwiechmann, are there any updates about the topic. Is Q2 this year still a valid date?
And do you plan to integrate APIM CLI as service into API Manager?

@jschaefer77, the changes I made as part of the refactoring into the apim -cli had this feature in mind. I basically fully separated the code, that is reading the API-Config from the code, that is replicating the API-Config into the API-Manager.
With that now in place, an HTTP Server instead of the JSONConfigLoader can read the data (from the InputStream) and hand it over to the same API replicating implementation.
Nevertheless, I think end of Q2 is no longer realistic as the migration took longer. I aim for end of Q3.

And do you plan to integrate APIM CLI as service into API Manager?
The service would run in front of the API-Manager (e.g. as a Docker-Container)

hi @cwiechmann, great. thx for the info.

Hi @cwiechmann , are there any updates/progress about that topic.

Hi @cwiechmann , are there any updates/progress about that topic.

Hi @jschaefer77, no progress sorry and I cannot say, when this becomes available. Please don't count on it for now.

Hi @jschaefer77, no progress sorry and I cannot say, when this becomes available. Please don't count on it for now.

Finally no bandwidth to implement this.


ValueError: Length mismatch: Expected axis has 21 elements, new values have 11 elements

Bug description
Talos fails upon completion of all rounds in parameter search because of a mismatch between axis and new values.

[x] I'm up-to-date with the latest release:
[x] I've confirmed that my Keras model works outside of Talos.

Output of shape for x and y
X.shape = (16, 208, 208, 3)
Y.shape = (16, 208, 208, 10)
Talos params dictionary
p = {
    "dropout": [0],
    "decay": [0.0],
    "lr": [1e-4],
    "sigma_noise": [0],
    #"pretrain": [2, 0],
    #"class_weights": [False, True],
    "loss_func": [tversky_loss]
}

The Keras model wired for Talos
def talos_presets(weight_path, cls_wgts, static_params, train_generator, val_generator):
    """Initialize a talos model object for hyper-parameter search

    :param weight_path: Path to the base weight folder
    :type weight_path: str
    :param cls_wgts: A list containing the weights applied to each class,
        or None
    :type cls_wgts: None, or List of floats
    :param params: Dictionary of fixed parameters in the model
    :type params: Dict
    :param train_generator: Generator function for training data
    :type train_generator: Class
    :param train_generator: Generator function for validation data
    :type train_generator: Class
    """
    def talos_model(x, y, val_x, val_y, params):
        """Talos model setup

        :param x: Dummy input needed for talos framework
        :type x: Array-like
        :param y: Dummy input needed for talos framework
        :type y: Array-like
        :param val_x: Dummy input needed for talos framework
        :type val_x: Array-like
        :param val_y: Dummy input needed for talos framework
        :type val_y: Array-like
        :param params: Hyperparameters supplied by talos
        :type params: Dict
        """
        # Dummy inputs
        _ = x, y, val_x, val_y
        params.update(static_params)
        if params["loss_func"] == "cat_CE":
            loss_func = categorical_crossentropy
        elif params["loss_func"] == "cat_FL":
            cat_focal_loss = categorical_focal_loss()
            loss_func = cat_focal_loss
        elif hasattr(params["loss_func"], '__call__'):
            loss_func = params["loss_func"]
        else:
            raise NameError("Wrong loss function name")
        # mse, mae, binary_crossentropy, jaccard2_loss, categorical_crossentropy,
        # tversky_loss, categorical_focal_loss
        if params["class_weights"] is False:
            class_weights = [1 if k != 12 else 0 for k in cls_wgts.keys()]
        else:
            class_weights = ([v for v in cls_wgts.values()],)
        try:
            loss_name = params["loss_func"].__name__
        except AttributeError:
            loss_name = params["loss_func"].__str__()
        model_base_path = osp.join(
            weight_path,
            params["today_str"],
            "{}-{}epochs-bs_{}".format(
                loss_name,
                str(params["nb_epoch"]),
                str(params["batch_size"]),
            ))

        if not os.path.exists(model_base_path):
            os.makedirs(model_base_path, exist_ok=True)

        modelpath = osp.join(
            model_base_path,
            "talos_U-net_model-"
            + "decay_{}-drop_{}-weights_{}-pretrain_{}-sigma_{}.h5".format(
                params["decay"],
                params["dropout"],
                params["class_weights"],
                params["pretrain"],
                params["sigma_noise"],
            ),
        )
        log_path = (
            "./logs/"
            + "{}/lossfunc_{}/decay_{}-drop_{}-weights_{}-pretrain_{}-sigma_{}/".format(
                params["today_str"],
                loss_name,
                params["decay"],
                params["dropout"],
                params["class_weights"],
                params["pretrain"],
                params["sigma_noise"],
            )
        )

        if params["pretrain"] != 0:
            print(
                "starting with frozen layers\nclass weights: {}".format(class_weights)
            )
            model = u_net(
                params["shape"],
                int(params["nb_filters_0"]),
                sigma_noise=params["sigma_noise"],
                depth=4,
                dropout=params["dropout"],
                output_channels=params["num_cls"],
                batchnorm=params["batchnorm"],
                pretrain=params["pretrain"],
            )
            model.compile(
                loss=loss_func,
                optimizer=Adam(lr=params["lr"], decay=params["decay"]),
                metrics=["acc"],
            )

            history = model.fit_generator(
                generator=train_generator,
                epochs=10,
                validation_data=val_generator,
                use_multiprocessing=True,
                workers=30,
                class_weight=class_weights,
                verbose=params["verbose"],
            )

            pretrain_layers = [
                "block{}_conv{}".format(block, layer)
                for block in range(1, params["pretrain"] + 1)
                for layer in range(1, 3)
            ]
            for n in pretrain_layers:
                model.get_layer(name=n).trainable = True
            print("layers unfrozen\n")

            model.compile(
                loss=loss_func,
                optimizer=Adam(lr=params["lr"], decay=params["decay"]),
                metrics=["acc"],
            )

            history = model.fit_generator(
                generator=train_generator,
                epochs=params["nb_epoch"],
                validation_data=val_generator,
                use_multiprocessing=True,
                workers=30,
                class_weight=class_weights,
                verbose=params["verbose"],
                callbacks=[
                    TQDMNotebookCallback(
                        metric_format="{name}: {value:0.4f}",
                        leave_inner=True,
                        leave_outer=True,
                    ),
                    TensorBoard(
                        log_dir=log_path,
                        histogram_freq=0,
                        batch_size=params["batch_size"],
                        write_graph=True,
                        write_grads=False,
                        write_images=True,
                        embeddings_freq=0,
                        update_freq="epoch",
                    ),
                    EarlyStopping(
                        monitor="loss",
                        min_delta=0.0001,
                        patience=10,
                        verbose=0,
                        mode="auto",
                    ),
                    ReduceLROnPlateau(
                        monitor="loss", factor=0.1, patience=3, min_lr=1e-7, verbose=1
                    ),
                    PatchedModelCheckpoint(
                        modelpath, verbose=0, monitor="loss", save_best_only=True
                    ),
                ],
            )
        else:
            print("No layers frozen at start\nclass weights: {}".format(class_weights))
            model = u_net(
                params["shape"],
                int(params["nb_filters_0"]),
                sigma_noise=params["sigma_noise"],
                depth=4,
                dropout=params["dropout"],
                output_channels=params["num_cls"],
                batchnorm=params["batchnorm"],
                pretrain=params["pretrain"],
            )

            model.compile(
                loss=loss_func,
                optimizer=Adam(lr=params["lr"], decay=params["decay"]),
                metrics=["acc"],
            )

            history = model.fit_generator(
                generator=train_generator,
                epochs=params["nb_epoch"],
                validation_data=val_generator,
                use_multiprocessing=True,
                workers=30,
                class_weight=class_weights,
                verbose=params["verbose"],
                callbacks=[
                    TQDMNotebookCallback(
                        metric_format="{name}: {value:0.4f}",
                        leave_inner=True,
                        leave_outer=True,
                    ),
                    TensorBoard(
                        log_dir=log_path,
                        histogram_freq=0,
                        batch_size=params["batch_size"],
                        write_graph=True,
                        write_grads=False,
                        write_images=True,
                        embeddings_freq=0,
                        update_freq="epoch",
                    ),
                    EarlyStopping(
                        monitor="loss",
                        min_delta=0.0001,
                        patience=10,
                        verbose=0,
                        mode="auto",
                    ),
                    ReduceLROnPlateau(
                        monitor="loss", factor=0.1, patience=3, min_lr=1e-7, verbose=1
                    ),
                    PatchedModelCheckpoint(
                        modelpath, verbose=0, monitor="loss", save_best_only=True
                    ),
                ],
            )
        return history, model
    return talos_model

Traceback
-------------------------------------------------------------------------
100%|██████████| 1/1 [1:43:42<00:00, 6222.81s/it]
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-70-acd959206821> in <module>()
     83     # functional_model=True,
     84     # grid_downsample=0.1,
---> 85     params=p,
     86 )
     87

~/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/talos/scan/Scan.py in __init__(self, x, y, params, model, experiment_name, x_val, y_val, val_split, random_method, performance_target, fraction_limit, round_limit, time_limit, boolean_limit, reduction_method, reduction_interval, reduction_window, reduction_threshold, reduction_metric, minimize_loss, seed, clear_session, disable_progress_bar, print_params, debug)
    170         # input parameters section ends
    171
--> 172         self.runtime()
    173
    174     def runtime(self):

~/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/talos/scan/Scan.py in runtime(self)
    175
    176         from .scan_run import scan_run
--> 177         self = scan_run(self)

~/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/talos/scan/scan_run.py in scan_run(self)
     32     # finish
     33     from ..logging.logging_finish import logging_finish
---> 34     self = logging_finish(self)
     35
     36     from .scan_finish import scan_finish

~/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/talos/logging/logging_finish.py in logging_finish(self)
      4
      5     # save the results
----> 6     self = result_todf(self)
      7
      8     return self

~/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/talos/logging/results.py in result_todf(self)
     46     cols = self.result[0]
     47     self.result = pd.DataFrame(self.result[1:])
---> 48     self.result.columns = cols
     49
     50     return self

~/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/pandas/core/generic.py in __setattr__(self, name, value)
   4383         try:
   4384             object.__getattribute__(self, name)
-> 4385             return object.__setattr__(self, name, value)
   4386         except AttributeError:
   4387             pass

pandas/_libs/properties.pyx in pandas._libs.properties.AxisProperty.__set__()

~/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/pandas/core/generic.py in _set_axis(self, axis, labels)
    643
    644     def _set_axis(self, axis, labels):
--> 645         self._data.set_axis(axis, labels)
    646         self._clear_item_cache()
    647

~/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/pandas/core/internals.py in set_axis(self, axis, new_labels)
   3321             raise ValueError(
   3322                 'Length mismatch: Expected axis has {old} elements, new '
-> 3323                 'values have {new} elements'.format(old=old_len, new=new_len))
   3324
   3325         self.axes[axis] = new_labels

ValueError: Length mismatch: Expected axis has 21 elements, new values have 11 elements

Can you try the v.0.6 version:
pip install git+http://github.com/autonomio/talos@daily-dev
The logging aspect is entirely rebuilt in it, and these kinds of issues should no longer appear.

@mikkokotila I am already running 0.6 which I installed after the latest merge from params-api. Did you make significant changes to the logging in the last month or so?

I did not. Thanks for clarification. I'll try to look into this tomorrow.

In the meantime, can you share your experiment log? Or the first rows of it.

Sorry, I am not sure what you are referring to. Do you mean the output during scanning?

On the machine where you are working, there is a a .csv file being updated on each permutation throughout the experiment, which is identical to what is being stored in the end to the scan_object. That one.

Here it is (i renamed it .txt because github complained about the .csv format)
062519213324.csv.txt

Looking at the log, it does seem like some weird stuff is going on in the first and last columns. The last column looks like it should have been 11 individual columns, based on the contents of the bottom row, but I don't see why it would think so. Is it related to how I pass static and dynamic parameters into the model? I made a nested function for my model to handle some technical difficulties related to generators and in the beginning of the inner function, I update the params dictionary with all the static parameters that I pass to the outer function, such that I can freely switch back and forth between having the parameters be part of the parameter space and not take up unnecessary in the log file or clutter the correlation matrix.

Just to be safe, can you do:
import talos
talos.__version__

I can see that the parameter dictionary you are posting above does not match the model or the expected output you mention. Is it that you add parameters after starting the experiment? The headers columns are based on reading the parameter dictionary at the beginning of the experiment. So that would cause a problem.

Here is the requested version output:
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import talos
/home/bjarne/.pyenv/versions/anaconda3-5.2.0/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Using TensorFlow backend.
>>> talos.__version__
'0.6.0'

I am ssh'ing from my phone, so the sanity check will have to wait until later.
Regarding the parameters, as I mentioned, I am combining two dictionaries inside the model function in order to minimize rewriting code when I want to change parameters to test while also keeping the number of tracked parameters to a minimum, in order to avoid cluttering the correlation matrix with static parameters.

I ran your MWE and it completed without error. The output csv is here:
062719235236.csv.txt

Regarding the parameters, as I mentioned, I am combining two dictionaries inside the model function in order to minimize rewriting code when I want to change parameters to test while also keeping the number of tracked parameters to a minimum, in order to avoid cluttering the correlation matrix with static parameters.

That will be the cause of this. What we do is create a record for the parameters at the beginning of the scan, and then universally use that throughout the pipeline to ensure consistency. If you load all your parameters in the params dictionary as intended use assumes, you will no longer suffer from this.
It seems that you have a justification for doing things otherwise, so I think we can explore that as a feature request. The best way to do that would be to create a new ticket for that specific request, and provide an example where you use the minimal() from above, but altered in a way that makes your case blatantly clear.
Regarding this ticket, I'll leave it open just in case for a couple of days, but it seems that the issue itself is resolved by a) using the intended approach b) escalating to a feature requested the new use.
Thanks a lot for working together to figure this out.

I decided to rewrite the function such that all parameters are copied to an internalized dictionary at the very start of the inner function which avoids tampering with the params dict fed by talos.Scan. This fixed the issue. For reference, the relevant changes are:
def talos_presets(weight_path, cls_wgts, static_params, train_generator, val_generator):

    ...

    def talos_model(x, y, val_x, val_y, params):

        ...

        # Dummy inputs
        _ = x, y, val_x, val_y
        internal_params = OrderedDict()
        internal_params.update(static_params)
        internal_params.update(params)

        ...

        return history, model
    return talos_model

Thanks to you too :) I'm glad you got it sorted out. And likewise, have a nice day!

I ran into this issue today. I was passing input_shape and num_classes into my params dict (with the goal of consolidating all model-related variables in one place), which was the apparent cause of the issue. After removing these variables from the params dict, the error went away.


Remove AxisCommunications.AXISVideoCaptureDriver 1.0.0 to AxisCommuni…

…cationsAB.AXISVideoCaptureDriver 1.0.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

URL: http://ftp.axis.com/pub/axis/software/cam_srv/capture_driver/latest/AxisVideoCaptureDriverSetup.msi
Status Code: 200
(Automated message - build 643)


Compress the notify json message

This is required to remove newlines.
This also fixes #33
@FinnStutzenstein I changed the key of the first object from channelID to channel_id. I think this is consistent to the other keys. Could you change the client?

Done. Works fine


filelight: Update to version 22.04.3

updated file URLs

[x] I have read the Contributing Guide.

/verify

config location: $Env:AppData\filelight
(This is a reminder. No need to modify anything regard to this.)

thank you @issaclin32 !

/verify

/verify


🏗  Database Schema

Design and implement Database Schema that accommodates data storage for various statistics and machine learning. The following are specific tasks that need to be completed related to this:

[x] Re-format student relation to ensure unique username per person.
[ ] Add check to Sign-Up to ensure students know if their username is available.
[x] Change UUIDs to use BINARY(16) datatype.

Progress was made on this in #33.


backend-next: fixes for development on Windows

Hey, I just made a Pull Request!
Turns out that the new development setup for backends doesn't work very well on Windows. This switches to using a graceful shutdown method for the backend child process on Windows, as well as fixes a bug where fast IPC responses would be lost on Windows, because we registered the message handler too late.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@freben nah these are unrelated fixes


feat: added scale_factor for custom global scaling

I added a global option scale_factor, so we can globally scale the image.
The default scale_factor is 1.0.

Now we can scale it to some other numbers.

It seems working fine on my markdown and typst files. It also works with telescope preview.

Looks great, thank you!


Agree on a standard section and question order

If we want to implement sections in the Weaver, per https://github.com/SuffolkLITLab/docassemble-ALWeaver/issues/138, it would help to have some consensus on standard question groupings, as well as the default order for some questions common to all interviews.
Here's my first draft:

Intro
Can I ... (get a restraining order? stop my eviction?) - e.g., a screening page
My name
My claim/defenses
My information
Information about the other side
Court selection
Review
Signature
Download and next steps

It might be a really nice project to have someone (student?) audit some popular forms on LHI to see what sections are used by high quality guided interviews.

See https://github.com/SuffolkLITLab/form-explorer/issues/20 for a way to achieve in the Weaver

This sparked a good discussion, but there is already some nascent code in the Weaver, which is where the rest of the discussion will end up happening. We also have a document on this.


Update containers to latest ubi

[x] https://github.com/ManageIQ/container-httpd/pull/69
[x] https://github.com/ManageIQ/container-httpd-init/pull/19
[x] https://github.com/ManageIQ/manageiq-pods/pull/813
[x] https://github.com/ManageIQ/manageiq-rpm_build/pull/266

All merged, closing


vitest 0.34.3 - incorrect/missing stack traces with workspaces

Describe the bug
I've got a mono repo setup, with some aliases and other configs and vitest is failing to provide stack traces (or if it does provide them they are not being translated back to the source maps).
I've attached a simple reproduction (I'm using Remix) via StackBlitz.
In my investigations I came across packages/vitest/src/node/error.ts:43:
  const parserOptions: StackTraceParserOptions = {
    // only browser stack traces require remapping
    getSourceMap: file => project.getBrowserSourceMapModuleById(file),
  }

If I changed this to be project.getSourceMapModuleById(file) it seemed to work?
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-b8e5f1?file=package.json
System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.20.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm
    pnpm: 8.6.10 - /usr/local/bin/pnpm
  npmPackages:
    @vitest/ui: latest => 0.34.3
    vite: latest => 4.4.9
    vitest: latest => 0.34.3

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I think I've narrowed this down further to when there is a setup file in a mono-repo setup? If I remove the setup files it appears to be ok...

As I answered in PR, the function should only be defined for browser for now because they are patched before that when running in node, and should already be resolved.

@sheremet-va intersting -- in my reproduction case above that isn't the case, there is some source mapping that isn't occurring that should be (and is if it's not limited to run for the browser only).
It might be something to do with remix's installGlobals() though if there's a reliance on node internals

in my reproduction case above that isn't the case

Yes, in your case there is something that prevents it, so it's bug that needs investigating. If you want, you can look into this and why it doesn't return correct source map in your case:
https://github.com/vitest-dev/vitest/blob/bf8393643ab3764ab9d727b6d064f2123832e82f/packages/vite-node/src/source-map.ts#L61

@sheremet-va Righto so debugging that a bit further:
#1. For this example project the installSourcemapsSupport function is called and the install function is called but the retrieveSourceMap function never is used.
#2. Looking at entry.js in the dist and debugging it, my test files are in the module cache that the getSourceMap things use.
I'll keep digging…

Tracked it down, Remix uses source-map-support as well and importing @remix-run/node does:
import sourceMapSupport from "source-map-support";

sourceMapSupport.install();

I don't know enough about what that might do but I'd argue that is why things are getting mangled.

Ok so I don't even know if this is really "fixable". There is Error.prepareStackTrace which is called by V8 and is what vitest and "source-map-support" both set.
Vitest does this on process launch which means further invocations of it wipe out what Vitest is trying to do.

Yeah, remix shouldn't call it for Vitest.

@sheremet-va Yea I'll open a ticket on Remix side, this is more their issue as there is no way to "disable" it and it should allow an override to the auto installing of it.


Add contributors

@all-contributors please add @Cheukting for infra platform

@all-contributors please add @Cheukting for infra platform

@all-contributors please add @trallard  for infra maintenance

@all-contributors please add @Zac-HD for eventOrganizing ideas question


Escape broken links for contoso.com

https://dev.azure.com/msft-skilling/Content/_workitems/edit/173987

@stevewhims
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@Saisang Can you escape the other URLs as well, e.g. info.contoso.com, so that the formatting is the same for all of the URLs?

@drewbatgit I've just updated them.

Next time, can we please NOT have one writer set as assignee, and a different writer set as reviewer? That's as bad as > 1 person set to either of those lists. Thanks! :) -Steve

@drewbatgit I've just updated them.

I've been asking vendors to leave anything alone that doesn't need to be escaped. I see your point about consistency, but these were already italicized to make them stand out; only the actual uri/url needed escaping. When there are multiple valid stylistic approaches, as here, it would be good if we still had the Style Council. Anyhoo, I don't mind the changes here so I'll take them (evn though, as I say, I'm asking for something different in other PRs). :)
-Steve

@stevewhims - Those are all actual URLs, I believe. There's nothing magic about the www subdomain. But it was out of character for me to nitpick about something so insignificant. I would normally just say fine. But now that I'm trying to defend it, I would say that at some point in the future, urls with different subdomains may turn into build warnings, so maybe it will save us some headaches in the future to fix them now.

@stevewhims - Those are all actual URLs, I believe. There's nothing magic about the www subdomain. But it was out of character for me to nitpick about something so insignificant. I would normally just say fine. But now that I'm trying to defend it, I would say that at some point in the future, urls with different subdomains may turn into build warnings, so maybe it will save us some headaches in the future to fix them now.

No, that's good! I don't recognize the word "nitpick", personally. :) Something's either right or wrong (IMHO). But that's why we have Won't Fix as a resolution (for wrong things that are also low-pri). But now I'm interested in looking up exactly what a uri/url's definition is. I would have thought that "contoso.com" was not one, but I'll find out later. :) I was just meaning "things that appear as hyperlinks in the docs". That's an interesting thought about fixing things before they become a problem. But again I could go either way on that concept, too--"in advance" (but we might fix things that'd never need fixing) vs. "just in time" (but we might have to go into the same topic more than once). Interesting.

Thanks for reviewing!


Docs: Fix column name in ingestion rollup doc

Description
Fix the referred column name from "count" to "num_rows" as "count" vs. "COUNT(*)" might be a little confusing in this example.

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

Thanks for the reminder, @FrankChen021!
I have updated the changes.

@kfaraz Could you fix the CI?

Sure, @FrankChen021 , I will try to get this done today.


Update community.sitecore.net to community.sitecore.com

With the launch of the new Community portal, we should update references to the old domain to the new domain.

Fixed this with a quick text change in the TS files with the links.


Jgc/ef integration

Issue #26 resolved .
EF Integration works in Jabbr Core. Models and Migration added
Commands to run migration:
Add-Migration <insert name>
Update-Database
For now we will be using LocalDB until we set up our azure database. The Connection string will create a JabbrCoreDB in localDB for you.

There's a ChatRoomChatUser1 here, determine if this class is needed or even used anywhere. It looks like in the initial source we have the mapping from here: Was is just a typo in the old code base? Any reason its not ChatRoomChatUser? Lets assume that's what it should be unless we find evidence otherwise and change it for this pull request.
// Relationships
this.HasMany(r => r.AllowedUsers)
    .WithMany(u => u.AllowedRooms)
    .Map(m =>
        {
            m.ToTable("ChatRoomChatUser1");
            m.MapLeftKey("ChatRoom_Key");
            m.MapRightKey("ChatUser_Key");
        });

ChatRoomChatUsers and ChatRoomChatUser1 are different join tables. Because EF core does not support many to many relationships and the mapping files are no longer used, the new migrations created both join tables as actual models.
Looking at the ChatRoomMap.cs file from original Jabbr, we see that ChatRoomChatUsers was a join table for Owners of  room and ChatRoomChatUser1 is a join table for Allowed Users of a room. See below.
`   this.HasMany(r => r.AllowedUsers)
.WithMany(u => u.AllowedRooms)
.Map(m =>
{
m.ToTable("ChatRoomChatUser1");
m.MapLeftKey("ChatRoom_Key");
m.MapRightKey("ChatUser_Key");
});
        this.HasMany(r => r.Owners)
            .WithMany(u => u.OwnedRooms)
            .Map(m =>
                {
                    m.ToTable("ChatRoomChatUsers");
                    m.MapLeftKey("ChatRoom_Key");
                    m.MapRightKey("ChatUser_Key");
                });`

The AllowedUsers and Owners property existed in the ChatRoom.cs file of original Jabbr (see below):
public ChatRoom()         {             Owners = new SafeCollection<ChatUser>();             Messages = new SafeCollection<ChatMessage>();             Users = new SafeCollection<ChatUser>();             AllowedUsers = new SafeCollection<ChatUser>();             Attachments = new SafeCollection<Attachment>();         }
And it was just replaced with the model names in the ChatRooms.cs file of  Jabbr-Core (see below):
public ChatRooms()         {             Attachments = new HashSet<Attachments>();             ChatMessages = new HashSet<ChatMessages>();             ChatRoomChatUser1 = new HashSet<ChatRoomChatUser1>(); //Allowed Users             ChatRoomChatUsers = new HashSet<ChatRoomChatUsers>(); //Room Owners             ChatUserChatRooms = new HashSet<ChatUserChatRooms>(); //Users              Notifications = new HashSet<Notifications>();         }

Kill (for now) the join tables that don't make sense but keep a backup around. As soon as we start getting some unit tests in place it will be clear whats failing. This way we don't end up with a bunch of untouched code (though we can always profile it)

fixes #22 and fixes #26


Don't lowercase service IDs

Service IDs are stored as uppercase
Old URLs may be in lower case but they are in the /services/x-xxx-xxx format,
and the redirect uppercases them to /g-cloud/services/X-XXX-XXXX

:+1: :shipit:


how to get tuple for tensorflow in c++

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):win10
TensorFlow installed from (source or binary):source
TensorFlow version (use command below):rc1.5
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:8.0/7.1
GPU model and memory:Nvidia GT
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Rewrite tracking code from python to c++.
I don't know how to get tuple in c++.
The python and c++ code as following:
Source code / logs
python code:
lstm2_outputs, state2 = tf.nn.dynamic_rnn(lstm2, lstm2_inputs, initial_state=state2, swap_memory=swap_memory)
state2 is a tuple,state2[0] has shape(1,1024),state2[1] has shape(1,1024).
c++ code:
Status run_status = session->Run({ { "Placeholder",place_ } ,{ "Placeholder_1",place1_ } ,{ "Placeholder_2",place2_ } ,{ "Placeholder_3",place3_ }  ,{ "Placeholder_4",place4_ }, { "Placeholder_5",place5_ } },output_tensor_names, {}, { &outputs });
output_tensor_names:re3/lstm1/rnn/transpose_1,re3/lstm2/rnn/transpose_1,
why outputs[0]'s shape is(1,1,1024),outputs[1]'s shape is(1,1,1024),I think they should be (2,1,1024) according the output of python.
The python is the original code which is absolutely,i think my c++ code goes wrong!
in python code:
feed_dict = {
self.imagePlaceholder : [croppedInput0, croppedInput1],
self.prevLstmState : lstmState,
self.batch_size : 1,
}
in c++ code ,i write it like this:
Status run_status = session->Run({ { "Placeholder",place_ } ,{ "Placeholder_1",place1_ } ,{ "Placeholder_2",place2_ } ,{ "Placeholder_3",place3_ }  ,{ "Placeholder_4",place4_ }, { "Placeholder_5",place5_ } },output_tensor_names, {}, { &outputs });
the shape is: place_ (2,227,227,3),place1_~place_4(1,1024),does the problem from here?
my model node is like ：
node {
name: "Placeholder"
op: "Placeholder"
attr {
key: "dtype"
value {
type: DT_UINT8
}
}
attr {
key: "shape"
value {
shape {
dim {
size: -1
}
dim {
size: 227
}
dim {
size: 227
}
dim {
size: 3
}
}
}
}
}
node {
name: "Placeholder_1"
op: "Placeholder"
attr {
key: "dtype"
value {
type: DT_FLOAT
}
}
attr {
key: "shape"
value {
shape {
dim {
size: -1
}
dim {
size: 1024
}
}
}
}
}
node {
name: "Placeholder_2"
op: "Placeholder"
attr {
key: "dtype"
value {
type: DT_FLOAT
}
}
attr {
key: "shape"
value {
shape {
dim {
size: -1
}
dim {
size: 1024
}
}
}
}
}
some body know why?Give my great appreciation to you!

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


PITM can not work when enable url rewrite in config.php

As PITM is based on url parameters, when url rewrite enabled, PITM can not get the task id.

hey,
yeah it's the same problem with the docker version in #5
I'm not using the url-rewrite feature, I'll need to figure out a way to implement and debug this

I opened a new pull request to solve it.

will do
thank you very much!

You are welcome

I merged it, created a new release and a merge request for the plugin installer 👍


Android: Tab labels flicker and disappear on initial render

Before submitting a new issue

[X] I tested using the latest version of the library, as the bug might be already fixed.
[X] I tested using a supported version of react native.
[X] I checked for possible duplicate issues, with possible answers.

Bug summary
Description
On Android, the bottom tab labels briefly appear during initial render, then disappear, leaving only the icons visible. This behavior doesn't occur on iOS where everything works as expected.
Expected Behavior
Tab labels should remain visible alongside their icons on Android, just as they do on iOS.
Actual Behavior

On initial render, tab labels appear briefly
As soon as the icons load, the labels disappear
Only icons remain visible in the tab bar
This only happens on Android, iOS works correctly

Additional Information
Tried various solutions including:

Explicit tabBarLabel props
screenOptions with tabBarShowLabel: true
Pre-loading icons
Custom tab bar styling
None of these approaches resolved the issue

(Note that I've seen this issue since I started to use the package a couple months ago so I guess it's a running issue not something recently introduced. It works in a very very simple app, but whenever you have a more complex layout with Expo Router it seems to break but unsure about that if that's the reason.)
https://github.com/user-attachments/assets/9ad2fd7b-effd-4393-8467-b34604b9bf70

Library version
0.7.8
Environment info
## Environment
- `@bottom-tabs/react-navigation`: 0.7.8
- React Native: 0.76.x (New Architecture)
- Expo SDK: 52
- Platform: Android

Steps to reproduce
Reproduction

Create a basic Expo Router app with bottom tabs
Implement bottom tabs using the following code:

Reproducible sample code
// BottomTabs.tsx
import { withLayoutContext } from 'expo-router';
import { createNativeBottomTabNavigator } from '@bottom-tabs/react-navigation';

export const Tabs = withLayoutContext(createNativeBottomTabNavigator().Navigator);

// _layout.tsx
import { Tabs } from "@/shared/components/Navigation/BottomTabs";
import { Platform } from "react-native";

const TabLayout = () => {
  return (
    <Tabs
      initialRouteName="explore"
      tabLabelStyle={{
        fontSize: 11,
        fontWeight: "500",
      }}
    >
      <Tabs.Screen
        name="explore"
        options={{
          title: "Explore",
          tabBarIcon: () =>
            Platform.select({
              ios: { sfSymbol: "figure.run" },
              android: require("@/shared/assets/icons/directions_run.svg"),
            }),
        }}
      />
      {/* Other tab screens... */}
    </Tabs>
  );
};

export default TabLayout;

Hey, thanks for reporting the issue and providing a detailed description!
Does it happen when you have 4 tabs or only 3?
I will look into this 👍🏻

Thanks man!
No idea, let me try to add more tabs and I'll write something here.

Funny enough, I installed react-native-edge-to-edge and rebuilt the Android app and the issue is gone!!! 🎉
Never thought that could the issue. Maybe that's something to add to the documentation for others to know about, what do you think?
Sorry for making you check on that issue.

Funny enough, I installed react-native-edge-to-edge and rebuilt the Android app and the issue is gone!!! 🎉
Never thought that could the issue. Maybe that's something to add to the documentation for others to know about, what do you think?
Sorry for making you check on that issue.

Whaat 🤣 it should work without the other library. But I'm glad that you are unblocked!
I'll investigate the issue in the upcoming days!


how to extract address,city,state form response

how to extract address,city,state form response

This probably very US centric so be aware, but I think this should be a method or helper methods added to the places' Address object.  Here is what I'm doing:
    import { Address as gAddress} from "ngx-google-places-autocomplete/objects/address";
    import { AddressComponent as gAddressComponent } from "ngx-google-places-autocomplete/objects/addressComponent";

    public static fromGooglePlace( addr : gAddress ) : Address {
       let address = new Address();
       let houseNumber = Address.findType(addr,"street_number");
       let street = Address.findType( addr, "route");

       address.street = street && houseNumber ? `${houseNumber} ${street}` : null;
       address.street = address.street ? address.street : street;

       address.city = Address.findType(addr, "locality");
       address.state = Address.findType(addr, "administrative_area_level_1");
       address.zipcode = Address.findType( addr, "postal_code" );

       address.validated = houseNumber != null && street  != null && address.city  != null && address.state  != null && address.zipcode != null;

       return address;
     }

I had to create an alias for the Address object in the places library from my own version of Address.  So gAddress is places' Address object.

Suppose i have this function [handleAddressChange(event)] and how to call your function [public static fromGooglePlace( addr : gAddress ) : Address {}]
My function
handleAddressChange(event){
this.lng = event.geometry.location.lng();
this.lat = event.geometry.location.lat();
}

@chubbard plz check it.
//Map address
lat:any = [];
lng:any = [];
houseNumber:string ='';
street:string = '';
mapPaostalCode:number =0;
mapAddress:any={};
mapCity:string='';
mapcountry:string='';
mapState:string = '';
mapUserAddress:string='';
handleAddressChange(event)
{
   console.log(event);
    this.lat = event.geometry.location.lat();
    this.lng = event.geometry.location.lng();
    this.fulladdress = event.formatted_address;
    for(let i=1; i<event.address_components.length;i++)
    {
        this.mapAddress = event.address_components[i];
        if(this.mapAddress.long_name !=''){

            if(this.mapAddress.types[0] =="street_number"){
                this.houseNumber = this.mapAddress.long_name;
            }else{
                this.houseNumber ='';
            }
            if(this.mapAddress.types[0] =="route"){
                this.street = this.mapAddress.long_name;
            }else
            {
                this.street ='';
            }

            if(this.mapAddress.types[0] =="locality"){
                this.mapCity  = this.mapAddress.long_name;
            }else
            {
                this.mapCity ='';
            }
            if(this.mapAddress.types[0] =="administrative_area_level_1"){
                this.mapState = this.mapAddress.long_name;
            }else
            {
                this.mapState ='';
            }
            if(this.mapAddress.types[0] =="country"){
                this.mapcountry = this.mapAddress.long_name;
            }
            else
            {
                this.mapcountry ='';
            }
            if(this.mapAddress.types[0] =="postal_code"){
                //this.mapPaostalCode  = this.mapAddress.long_name+',';
            }
            else
            {
               // this.mapPaostalCode ='';
            }
            let streets = this.street && this.houseNumber ?(this.houseNumber+', '+this.street):'';
            this.mapAddress = streets ? streets : this.street;
        }

    }
    console.log(this.mapAddress);
    console.log(this.mapCity);
    console.log(this.mapState);
    console.log(this.mapcountry);
}

I think your function will be brittle because it uses this.mapAddress.types[0] to compare against.  If the type  you are looking for isn't in the first position then it won't find it even though it could've been given to you.  Also, it could break if Google changes the order of those types it gives back.  So it might work today, but in the future if it shifts out of the first position it'll break.  That's why I was using a method like helper function findType() to abstract that out so it was simple to look for types in a robust manner.  Also let i = 1 should be let i = 0.
I also wouldn't use this.mapAddress as the iterator.  You just need a local variable to iterate over the components so I'd convert that to a local variable.  And in the future never re-use a variable for another purpose.  Re-assigning this.mapAddress at the end like will create untold defects if you aren't very careful then even if you are careful the next guy won't be and it'll break like all hell.  That assignment
and let streets should be moved outside of your for loop.  Do it once and only once.  Plus those if / else will overwrite this.mapAddress so that code isn't going to work.  This proves my point exactly about not re-using that variable because you have to very careful not to screw it up.  You don't need the else statements inside the loop.
And I noticed some typos like mapPaostalCode, and this isn't defined this.fulladdress.  It works because Javascript isn't strict, but FYI.

@chubbard, Thanks for your code snippet. Looks good, i will also try that out. But where do i place this code? Did you place it in the same file where one is using the ngx-google-places-autocomplete?

Hi @P-PATHAK ,
I think you should use address_components https://db.tt/rhjHi8itCi
Here is an example of lookup function
    public getComponentByType(address: Address, type: string): AddressComponent {
        if(!type)
            return null;

        if (!address || !address.address_components || address.address_components.length == 0)
            return null;

        type = type.toLowerCase();

        for (let comp of address.address_components) {
            if(!comp.types || comp.types.length == 0)
                continue;

            if(comp.types.findIndex(x => x.toLowerCase() == type) > -1)
                return comp;
        }

        return null;
    }

And usage example
       let x = this.getComponentByType(address,"street_number");


The Frontiers Update

Modes, sets, and accurate damage calculation have been added for gens 3 and 4. Right now the only sets are for Emerald, Platinum, and HeartGold/SoulSilver.
Some small aspects of the calc have been adjusted to accommodate these gens, namely levels for their open level formats.
Basic testing has been done and everything seems to work well.

Closing in order to PR from master branch and include additional commits.


revisit efficiency of serialization of tensors of std::complex

see @shiozaki comment: https://github.com/BTAS/BTAS/commit/17ea3375c02d08db7352860f025d387676252a7b#commitcomment-9230781

@shiozaki which version of boost do you use? It seems that the native serialization of std::array was introduced only in 1.56 and it does not play along with the optimizations in issue #40 ...

it was based on 1.54 or something like that. std::array is irrelevant to boost::serialization::make_array used in varray.h. But I saw that actually varray.h is calling btas::make_array, so it is fine (see btas/serialization.h).
Looking at boost/serialization/complex.hpp it may be fine by now (but I do not know).

so I guess this issue can be closed


Migrate from fedora to rhel

It was proposed that its better to use a rhel base image than fedora for security reasons.
Changes in this PR:

Using rhel9/python-39
Using USER 0 on line 8 (new file) because curl can't write otherwise
Removed line 15 (old file) since we're using a rhel9 image with python 3.9 installed.
Removing curl on line 19 (old file) since its already installed and tmux since I don't think we're using.
Using the rhel-0-baseos rpm tool

Needed to create a sudoers dir since was getting a new error

Will close this PR and work on a new one.


Apache installation and configuration doc update

This further addresses #821 and should close #1123
Also added a section discussing the process and thread count settings for Apache.

@jeromekelleher warning added. Might the flask debug mode be useful to developers who want to use the interactive debugger?

Thanks @kozbo. I think we should keep development and deployment considerations separate where possible. I think it just causes potential confusion to mention DEBUG here at all in the deployment section. Developers will almost always be using the development server CLI in any case, I would imagine.

Debug setting description removed. Ready for merge?

Great, thanks @kozbo. +1.
Could you squash these commits please? For small changes like this it's good to keep it to a single commit --- it makes life a bit easier when doing large merges between branches.

OK, should be good to go.


How to display using Android 12L's tablet mode?

Android 12L update (now available in LineageOS 19 also) supports an optimised view for tablets, which would also work really well for scrcpy mirroring to any larger screen.
How can I get scrcpy to display using this layout?

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Kubuntu (Linux)
scrcpy version: 1.21
installation method: apt
device model: Xiaomi Pocophone F1
Android version: 12.1

I don't have the bug denoted in that issue, I'm able to still use scrcpy to mirror my phone fine. However I'm trying to ask how I can use scrcpy to show a display that uses Android 12L's tablet mode instead.


Dots in the padded image

In the padded image, there are many new "dots" compared to the original one, is this behavior intentional?  Your code works like a charm, sorry :)


feat(sdk): Add W&B -> W&B Importer

Description
Adds back tooling to migrate select data from one W&B instance to a second W&B instance.
Users can migrate:

Runs
Artifact (sequences)
Reports

Some data will not migrate exactly, e.g. dates will show up as at import-time instead of original run-time.
Testing
e2e tests for each of runs, artifacts, reports

Moving this to the March release for now :)


Remove Default FavIcon from Docs

We don't have anything to replace it with for now, just remove it so we do not see the Docusaurus logo 🙂

Hello,
I'd take this.


Project still active?

Hi,
it looks quite nice what you have here. But is the project still active? And if so, will there be support for the next few years?

I'm not actively developing this these days and I would never make the mistake of promising long term support :)
You're welcome to use at your own risk and submit pull requests if you find bugs!


💭 Fatal Error on App Initialization: IllegalArgumentException - width must be positive in CameraDeviceDetails.getFormats

Question
I’m experiencing a fatal error on app initialization after updating to react-native-vision-camera version 4.2.0. The error occurs before the camera is opened, and I’m seeing a high number of these crashes reported in Firebase Crashlytics, especially on Xiaomi devices (74%) running Android 10 (81%).
After updating to react-native-vision-camera version 4.2.0, I’ve observed a significant number of crashes related to this error in Firebase Crashlytics, the error occurs before the camera is opened and is predominantly on Xiaomi devices.
I’m reaching out to see if anyone has experienced this issue before and can offer guidance on how to resolve it. Any tips or solutions would be greatly appreciated since the issue isn’t reproducible on all devices I have access to.
What I tried
1.	The app crashes on startup before the camera screen is displayed.
2.	I have not been able to reproduce the issue on my local device as I don’t have access to the specific models where this error is prevalent.

Below is a simplified example of how the  component is being used in the app:
import React, { useState, useEffect } from 'react';
import { Camera, useCameraDevice, useCodeScanner } from 'react-native-vision-camera';
import { View } from 'react-native';

const QrCodePaymentScreen = () => {
  const [activeCamera, setCameraActive] = useState(true);
  const device = useCameraDevice('back');

  const codeScanner = useCodeScanner({
    codeTypes: ['qr'],
    onCodeScanned: (codes) => {
      // Handle scanned QR codes
    },
  });

  useEffect(() => {
    // Example logic that might trigger the camera to start
    setCameraActive(true);
  }, []);

  if (!device) {
    return <ActivityIndicator size="large" />;
  }

  return (
    <View style={{ flex: 1 }}>
      <Camera
        audio={false}
        device={device}
        style={{ flex: 1 }}
        isActive={activeCamera}
        codeScanner={codeScanner}
      />
    </View>
  );
};

export default QrCodePaymentScreen;
VisionCamera Version
4.2.0
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Logs from Crashlytics:
`CameraDeviceDetails.getFormats
java.lang.IllegalArgumentException - width must be positive
Fatal Exception: java.lang.IllegalArgumentException
width must be positive
com.android.internal.util.Preconditions.checkArgumentPositive (Preconditions.java:275)
android.hardware.camera2.params.StreamConfigurationDuration. (StreamConfigurationDuration.java:58)
android.hardware.camera2.marshal.impl.MarshalQueryableStreamConfigurationDuration$MarshalerStreamConfigurationDuration.unmarshal (MarshalQueryableStreamConfigurationDuration.java:68)
android.hardware.camera2.marshal.impl.MarshalQueryableStreamConfigurationDuration$MarshalerStreamConfigurationDuration.unmarshal (MarshalQueryableStreamConfigurationDuration.java:45)
android.hardware.camera2.marshal.impl.MarshalQueryableArray$MarshalerArray.unmarshal (MarshalQueryableArray.java:93)
android.hardware.camera2.impl.CameraMetadataNative.getBase (CameraMetadataNative.java:567)
android.hardware.camera2.impl.CameraMetadataNative.getBase (CameraMetadataNative.java:537)
android.hardware.camera2.impl.CameraMetadataNative.getStreamConfigurationMap (CameraMetadataNative.java:1258)
android.hardware.camera2.impl.CameraMetadataNative.access$400 (CameraMetadataNative.java:89)
android.hardware.camera2.impl.CameraMetadataNative$5.getValue (CameraMetadataNative.java:605)
android.hardware.camera2.impl.CameraMetadataNative.get (CameraMetadataNative.java:437)
android.hardware.camera2.impl.CameraMetadataNative.get (CameraMetadataNative.java:400)
android.hardware.camera2.CameraCharacteristics.get (CameraCharacteristics.java:235)
androidx.camera.camera2.internal.compat.CameraCharacteristicsBaseImpl.get (CameraCharacteristicsBaseImpl.java:40)
androidx.camera.camera2.internal.compat.CameraCharacteristicsCompat.get (CameraCharacteristicsCompat.java:108)
androidx.camera.camera2.internal.compat.CameraCharacteristicsCompat.getStreamConfigurationMapCompat (CameraCharacteristicsCompat.java:134)
androidx.camera.camera2.internal.Camera2CameraInfoImpl.getSupportedResolutions (Camera2CameraInfoImpl.java:434)
com.mrousavy.camera.core.CameraDeviceDetails.getFormats (CameraDeviceDetails.kt:118)
com.mrousavy.camera.core.CameraDeviceDetails.toMap (CameraDeviceDetails.kt:79)
com.mrousavy.camera.react.CameraDevicesManager.getDevicesJson (CameraDevicesManager.kt:87)
com.mrousavy.camera.react.CameraDevicesManager.sendAvailableDevicesChangedEvent (CameraDevicesManager.kt:94)
com.mrousavy.camera.react.CameraDevicesManager$initialize$1.invokeSuspend (CameraDevicesManager.kt:71)
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:108)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
java.lang.Thread.run (Thread.java:919)
`

Same error here!
I see it mostly on Redmi Note 8 (android 9 10 and 11)

You created a question. Not a bug report.
Please fill out the bug report template, that's what it's for!

You created a question. Not a bug report. Please fill out the bug report template, that's what it's for!

Done!
https://github.com/mrousavy/react-native-vision-camera/issues/3180
Thank you very much.


Refactor StorableResources

I was investigating using C++20, and the only problem seemed to be in StorableResources, so I refactored it a bit.
As we don't have unit tests covering that class, the changes may bear a little extra scrutiny.
For some background on re-writing the operator delegation (<=, <, >=, >), see:
https://stackoverflow.com/questions/38579088/c-why-implement-op-in-terms-of-op-and-not-the-other-way-around

I feel like that's a bit of an abuse of const. It would make more sense as a debug aid to temporarily mark the field as const and see if there are any unintended writes to it. I don't think it should be marked as const and then casted just to write to it. Casting away const and then writing to it is technically undefined behaviour.
The main purpose of const_cast is to pass const values to functions where parameters were not marked as const (perhaps in legacy code) but ideally should have been marked as const. In that case, the parameters are not being written to, so no undefined behaviour is invoked when you cast away const to pass a value to such a function.

Perhaps there is a deeper architectural issue that needs to be discussed here over why you wanted to mark that value as const. I'm afraid I don't quite have the full high level context to discuss that though.

Well, I can't find it now, but I did once come across a Stack Overflow question where someone had mistakenly used empty() instead of clear(), so it can happen. Plus I've come across naming recommendations that have called out early C++ standard methods for bad practice, and I believe empty() was one of their examples. I'm inclined to agree. Especially since a quick glance over the method names can and does cause people to confuse the two.

Was just thinking, maybe you want to call the field mPlayerResourcesCache if that's all it really is. The name would help indicate that it's not the primary source of resources and should not be drawn from.
A cache value though is necessarily not const. If it was const, it couldn't be updated without invoking undefined behaviour.

Was just thinking, maybe you want to call the field mPlayerResourcesCache if that's all it really is. The name would help indicate that it's not the primary source of resources and should not be drawn from.
A cache value though is necessarily not const. If it was const, it couldn't be updated without invoking undefined behaviour.

I wouldn't be opposed to that. Really marking it as const is a hold over from changing the way resources were stored. Originally all of the players resources were stored in that value. Each turn that value would be updated. Before the v0.8.0 tag I moved the actual storage of resources into individual structures. This meant that the mPlayerResources value became useless and didn't actually pull resources from where they were being stored. So I instead marked it const and used it as a tally for the display in the HUD.
This really could easily be changed to anything else. At the time it was to ensure that I'd gotten all the areas mPlayerResources was being used for actual storage. It was part of an iterative change set that I never got around to replacing with 'correct' code (see above comment on a much better way to do it).

I'm not sure there's much to gain by using a raw std::array<int, 4> instead of a StorableResources in MapViewState. The class was meant to represent a collection of resources, which that field is. It makes total sense to use that class, even if you don't intend to use all of the operations it provides.
This seems more like a scope and accessibility concern, rather than a const concern. I think your real intent here is to limit the scope of when that value is accessible for writing, rather than preventing all writes to it.

This might be an area to revisit for refactoring as a separate issue. Sounds like there have been changing requirements that may require an updated design. Not too sure what that would be at the moment though.

I'm not sure there's much to gain by using a raw std::array<int, 4> instead of a StorableResources in MapViewState. The class was meant to represent a collection of resources, which that field is. It makes total sense to use that class, even if you don't intend to use all of the operations it provides.
This seems more like a scope and accessibility concern, rather than a const concern. I think your real intent here is to limit the scope of when that value is accessible for writing, rather than preventing all writes to it.
This might be an area to revisit for refactoring as a separate issue. Sounds like there have been changing requirements that may require an updated design. Not too sure what that would be at the moment though.

You're way over thinking this.
I don't care if it's a StorableResource or a std::array<int, 4> or four separate int variables. Implementation details are irrelevant. The point of it being const at all was a tool to help me find where I needed to make changes to the code when I was changing how the game dealt with moving around resources and that was it. It should have been changed after that to a non-const member and renamed to something more specific but I forgot to do that (months ago).
Let's just call it mResourcesCount, leave it as a non-const StorableResources, merge the changes and move on.


build prefix

Change buildtags to use "folder style" format

Fixes #40
Change from "build-BRANCH_NAME-TIMESTAMP" to
"builds/BRANCH_NAME/TIMESTAMP"

Coverage increased (+0.2%) to 99.598% when pulling 92f4b59359d93fb278b25492c60d802e64fa05e6 on build-prefix into 48951bee96cb88566995297a1496c642cefb6618 on master.

Coverage increased (+0.2%) to 99.598% when pulling 3880927f91da25e5528823a1d1f2fb058725da34 on build-prefix into 48951bee96cb88566995297a1496c642cefb6618 on master.


[BUG] changing username in profile does not work

Description
When username is changed in Profile, even though a popup says that the change was successful the change actually doesn't take place. Subsequent login requires the old username, old username is what appears everywhere in the gui except on the Profile page.
Similarly if the username is changed successfully via the web client or admin that change is not reflected in Profile.
Devices and Versions

Your Rocket.Chat.Android version: 3.0.0
Your Rocket.Chat Server version: 0.69.1 and open.rocket.chat

May be a caching problem?

@localguru clearing cache has no impact on the username change not taking effect. Regarding when the new name was changed via web client, the name change appears right away in chats and at the top of the nav drawer. Seems like it should also do so on the Profile page regardless of cache state. (It does indeed change in Profile when cache is cleared and log back in.)


feat(model): adds PRE in the FabricType enum

Our organization uses DEV, PRE, and PRO as standard names for the usual environments.
The missing PRE in the FabricType forces us to do mappings (eg EI --> PRE) everywhere. So kindly requesting adding PRE.
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

@sgomezvillamor Can you rebase on latest master? Looks like there may be some changes that were not made by you appearing in the PR diff


Needless "changed"

I'm not sure about how the pip module works, but is really necessary that every time a playbook runs the following should happen (the 2 last install are always changed):
TASK: [angstwad.docker_ubuntu | Upgrade latest pip, setuptools, docker-py and docker-compose with pip] ***
ok: [fe-web1-acc] => (item={'version': u'latest', 'name': 'pip'})
ok: [fe-web1-acc] => (item={'version': u'latest', 'name': 'setuptools'})
changed: [fe-web1-acc] => (item={'version': u'latest', 'name': 'docker-py'})
changed: [fe-web1-acc] => (item={'version': u'latest', 'name': 'docker-compose'})

pip module's idempotent operations leave a bit to be desired.  two options:

fix in upstream ansible pip module
provide a pull request that uses the changed_when key to modify this behavior to make the play idempotent
changed_when docs are here.

If it's pip which is to blame, so be it.
Thanks for speedy response.


Design System > Version 8.3.3 >Elements > Button > Size not working proper selecting large size change the background icon.

Describe the bug
Size not working proper selecting large size change the background icon.
Steps to reproduce bug
1.Go to 'https://dev-react.raaghu.ai/'
2. Navigate to 'Design System > Version 8.3.3 >Elements > Button > Rounded button > Controls > size > Large'
Actual result-
Size not working proper selecting large size change the background icon.
Screenshots

Expected result-
Selecting large size should be large.
Desktop (please complete the following information):
-OS: [Windows 10 Enterprise]
-Browser [ edge]
-Version [ 125.0.2535.92]

Fixed on dev

Fixed on stage

Fixed on staging


Improve the UI of the Contact us page

Hi @norovoo , I would like to contribute by improving the UI of the Contact us page. I have attached an updated version for your reference.
If it doesn't have any conflicts with your existing design, Please do assign me this issue under hacktoberfest2024.

Sure. Thank you

I have merged the PR. Make sure your commit message include the issue number like Closed #21.


Cannot Run New Project

When simply creating a new project for .NET Core (ASP.NET Core Web Application (.NET Core)), and attempting to run it, without any modifications to the starting template, via IIS is starts on https://localhost:6179/ where I receive an error of "This site can’t provide a secure connection".
When debugging via Kestrel, it start on http://localhost:5000/, which I receive an error of:
info: Microsoft.AspNetCore.Server.Kestrel[17]
Connection id "0HKUKAV4I0LKI" bad request data: "Malformed request: MethodIncomplete"
Microsoft.AspNetCore.Server.Kestrel.BadHttpRequestException: Malformed request: MethodIncomplete
info: Microsoft.AspNetCore.Server.Kestrel[17]
Connection id "0HKUKAV4I0LKJ" bad request data: "Malformed request: MethodIncomplete"
Microsoft.AspNetCore.Server.Kestrel.BadHttpRequestException: Malformed request: MethodIncomplete
However, using the (ASP.NET Core Web Application (.NET Framework)) template I am able to run the website using IIS, but get the above error again when using Kestrel, also the Debug opens the site in https:// not http:// by default, when the Kestrel Server is opened bound to http://.
My Setup:
Microsoft Visual Studio Enterprise 2015
Version 14.0.25425.01 Update 3
Microsoft .NET Framework
Version 4.6.01590
ASP.NET and Web Tools 2015.1 14.1.20810.0
ASP.NET and Web Tools 2015.1
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0
For additional information, visit http://www.asp.net/
Bundler & Minifier 2.1.279
Adds support for bundling and minifying JavaScript, CSS and HTML files in any project.
Image Optimizer 3.6.93
Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization.
Image Sprites 1.3.40
Boost your website's performance by creating image sprites to reduce the amount of HTTP requests needed.
Image Optimizer 3.6.93
Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization.
Image Sprites 1.3.40
Boost your website's performance by creating image sprites to reduce the amount of HTTP requests needed.
Microsoft .NET Core Tools (Preview 2) 14.1.20810.0
Microsoft .NET Core Tools (Preview 2)
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.40715.2
NuGet Package Manager 3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Visual Studio 2015 Tools for Docker - Preview 0.31
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a Docker Container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Web Compiler 1.11.319
Compiler for LESS, Sass and CoffeeScript files
Web Essentials 2015.3 3.0.235
Adds many useful features to Visual Studio for web developers. Requires Visual Studio 2015

For Kestrel (no ISS; no reverse-proxy) see: https://github.com/aspnet/KestrelHttpServer/issues/969
For IIS, do not configure Kestrel. Setup IIS for secure endpoints in the normal way. The reverse-proxy between IIS and Kestrel will run on an insecure random port picked by the IISIntegration middleware.

What I am saying is the default template, right out of the box in VS, cannot build/run. Simply creating a project with either template, and it will not run.

I see. There's a templates repo with issues at https://github.com/aspnet/Templates/issues <-- The devs monitoring that might not see this here in Home; so if you determine that the OOB template has a problem, you might want to move this issue over there, where more template dev :eyes: will see it.

Well, that didn't work :(. No responses.


Fix Mh-dep fesc

Added more flexibility with identifying ionizing band.

Merging since the test suite fail is due to problem introduced by numpy 1.21 -> 1.22. Passes locally, need to resolve this eventually.


[DEVOPS-268] iohk cache

Add scripts/build/cardano-sl.nix.sh which builds any package from the Cardano's package set (and defaults to cardano-sl-static, if no output is provided)
..and actually, it uses the IOHK binary cache, so most of the time the build will fetch the binaries from hydra.iohk.io
Document this new script the Nix-based build procedure in README.md: https://github.com/input-output-hk/cardano-sl/tree/devops-268-iohk-cache/node#building-cardano-with-nix

Domen wants the script be dropped, and the documentation replaced with a reference on how to configure Nix to pick up the binary cache, instead.

@domenkozar, updated.  As you said we might also want to copy this documentation in the main Cardano documentation repository.

A sister PR in the cardanodocs.com repository: https://github.com/input-output-hk/cardanodocs.com/pull/54

OS X timed out.

Can it be closed then?

@domenkozar, what remains to be done here?

As https://github.com/input-output-hk/cardanodocs.com/pull/54 already contains information and https://github.com/input-output-hk/cardano-sl/issues/1700 notes that we have multiple sources of documentation, I suggest we remove all text for bulding/installing cardano-sl and provide a link to correct cardanodocs section.
cc @denisshevchenko

@domenkozar, done.

@deepfire this still wasn't merged as CI is failling, once https://github.com/input-output-hk/cardano-sl/pull/1940 is merged, let's rebase it.


Vagrant up failed, vagrant unable to communicate with guest machine within configured time period

Issue Type
can't do "vagrant up"

Bug Report / Support Request

Your Environment
Vagrant 1.9.2
VirtualBox -5.1.22-115126
Your OS
windows 10  version 1703
Full console output
https://gist.github.com/suesCL/1ba9713bd23bd76d048d468729937003
Summary
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

@suesCL It's likely your command line environment doesn't support SSH.
You will need SSH when using vagrant, take a look at this page for more info - http://docs.drupalvm.com/en/latest/getting-started/installation-windows/#command-line-environment

Thanks! I have tried the steps below and used Cmder command line instead of git bash,
Delete ~/.vagrant.d/insecure_private_key
Run vagrant ssh-config
Restart the VM with vagrant reload
It still gives the console output.  Any ideas?

You might need to destroy the existing VM and rebuild in Cmder --
vagrant destroy
vagrant up

@suesCL - I'm going to close this issue for now, as I'm hoping @thom8's advice fixed the problem for you. If not, please let us know.

Getting stuck at the following issue
tamim@LMS:~/fullstack$ vagrant reload
==> default: [vagrant-hostsupdater] Removing hosts
==> default: Attempting graceful shutdown of VM...
default: Guest communication could not be established! This is usually because
default: SSH is not running, the authentication information was changed,
default: or some other networking issue. Vagrant will force halt, if
default: capable.
==> default: Forcing shutdown of VM...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 80 (guest) => 8080 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: <IP_ADDRESS>:2222
default: SSH username: vagrant
default: SSH auth method: private key
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
I have tried using Vagrant destroy and reload, but the issue still persist.
Please provide some help.

suahmed31, Same here, Did you find the solution?

@dziugass No, till now I didnt have any solution to the above mentioned issue. Waiting for someone to help!!

There are many, many reasons that issue can happen—networking issues, VPN issues, proxy issues, etc. Also see: https://github.com/geerlingguy/drupal-vm/issues/1533#issuecomment-325836426 — make sure you're using a command line environment that has SSH available.

U  can   enter the   BIOS , Configuration> Intel Virtual Tech>Enable

Select your Ubuntu server, click on Settings, go to Network tab and make sure that your Cable Connected option is selected.

On same settings window, I changed network adapter to another with "server" in description, and Vagrant finally run.

Had this issue quite a few times now till I finally noticed a pattern. Every time I am in a place with slow internet speed or bad connection over the WiFi vagrant up resulted in timeout.
Today I was once again looking for a solution better than vagrant destroy -> vagrant up till I just-in-case switched to my phone 4G connection (USB tethering) as it is faster than the current WiFi connection.
Hopefully it helps someone.

vagrant destroy
vagrant up
Worked..!!
Wasted 4 hours in it.

vagrant destroy
vagrant up
Worked..!!
Wasted 4 hours in it.

Not for me it didn't....

@mhenden - If it's a Vagrant-related issue, maybe search through the vagrant issue queue and see if you can find any helpful advice. Otherwise see if the error messages you're seeing have any good search keywords that can help find something. Also consider opening a new issue for what you're seeing.

I followed the steps that Carlosleanam had posted here and it worked at the first attempt itself. Thanks to Waheed and Carlosleanam.

I had the same problem on windows 10 and the solution for me was to enable Intel Virtualization from the BIOS menu. You can visit https://stackoverflow.com/questions/23293071/timed-out-while-waiting-for-the-machine-to-boot-when-vagrant-up for more.

vagrant destroy
vagrant up
Worked..!!
Wasted 4 hours in it.

worked like charm

I have fixed this issue by open Oracle VM VirtualBox Manager go to homestead setting - > network tab - >Adaptor 2 - > promiscuous mode: and select Allow all option

Issue Type
can't do "vagrant up"

Bug Report / Support Request

Your Environment
Vagrant 1.9.2 VirtualBox -5.1.22-115126
Your OS
windows 10 version 1703
Full console output
https://gist.github.com/suesCL/1ba9713bd23bd76d048d468729937003
Summary
Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that Vagrant had when attempting to connect to the machine. These errors are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly working and you're able to connect to the machine. It is a common problem that networking isn't setup properly in these boxes. Verify that authentication configurations are also setup properly, as well.
If the box appears to be booting properly, you may want to increase the timeout ("config.vm.boot_timeout") value.

Just run your shell as administrator

@suesCL  Thanks! I have tried the steps below and used Cmder command line instead of git bash,
Delete ~/.vagrant.d/insecure_private_key
Run vagrant ssh-config
Restart the VM with vagrant reload
THANKYOU @suesCL
worked for me, for me it worked in git bash, deleted that file (insecure_private_key) and ran vagrant reload.
vagrant ssh-config this command shows location of the file

I've changed the WinRM timeout from 120 seconds to 30 minutes and now the guest completes the boot and machine attempts connect.
config.winrm.timeout =   1800 # 30 minutes
config.vm.boot_timeout = 1800 # 30 minutes

vagrant destroy
vagrant up
Worked like crazy... spent less than 5 minutes on it


Add a default command to "cook"

desired outcome:
npx flamegrill -s adsf -n asdf

oasis:testcra ken$ flamegrill
options: {"command":"cook"}
ERROR: The "scenario" argument is required.

Sorry, this is already the case.


Fix accessibility reported by pa11y

These are accessibility issues reported by pa11y. These are not raised by wave, none of this have any affect visually or functionally, but it is a better change code wise.
Issued addressed:

Duplicate id in same page
Missing alt tags
Missing title for iframes

@Ziip-dev I have fixed the text, note the PlumX is a tool not abbreviation, it is mentioned in the text above, so guess we can't do much there.
Also, I have fixed what was bugging me before, the redundant img tags, have fixed that in css


v1.7.0 commands result in libsecret shared object missing file error

Errors occured
root@fd3a80fb4415:/home# npx airswap debug
AirSwap CLI 1.7.0 — https://www.airswap.io/
    Error: libsecret-1.so.0: cannot open shared object file: No such file or directory
root@fd3a80fb4415:/home# npx airswap chain
AirSwap CLI 1.7.0 — https://www.airswap.io/
    Error: libsecret-1.so.0: cannot open shared object file: No such file or directory
root@fd3a80fb4415:/home# npx airswap quote:stream
AirSwap CLI 1.7.0 — https://www.airswap.io/
    Error: libsecret-1.so.0: cannot open shared object file: No such file or directory

This occurs for both node 10 and node 14. Version shown for npx airswap help  in save env as above commands:
VERSION
  airswap/1.7.0 linux-x64 node-v14.17.5

Can be replicated using docker image node:14 and node:10:
docker run -it node:14 bash

cd /home && npm init -y && npm i airswap

# all commands thereafter attempting to invoke airswap commands raises errors
npx airswap debug

Hi @Ziinc this appears to be a similar issue: https://github.com/livepeer/livepeerjs/issues/380
We'll likely be able to make it an optional dependency, where you'd provide a private key for each command. In the meantime, installing libsecret-1-dev (Debian, Ubuntu etc.) or libsecret-devel (RedHat, Fedora etc.) should do the trick.
An updated version 1.7.1 was just published to handle this more gracefully.


Missing submodule repos

Hi!
I was trying to use this repo but it has a git submodule pointing to a no longer existing repo: https://github.com/ExpectationMax/torch_persistent_homology/tree/eea88014ba6acd72f5003680afd7a26b4057ce23
Could be possible to restore that third repo or to include it here?
Maybe @ExpectationMax?
Thanks!

Sorry for the delay! The repo is now public :) Feel free to reopen the issue in case something still isn't working.


IMP: merge fastq_stats_* visualizers into a single action

Closes #70

Hi there,
I need help with the format to import in test_stats.py.
The plugin itself transforms SingleLanePerSamplePairedEndFastqDirFmt and SingleLanePerSampleSingleEndFastqDirFmt to CasavaOneEightSingleLanePerSampleDirFmt. In the unittests it doesn't work like this so I get a TypeError: 'BoundFile' object is not subscriptable because of the different format of the manifest in Type CasavaOneEightSingleLanePerSampleDirFmt.
I would like to import these formats to use the given MANIFEST for both tests. I also tried to transform the input manual to  CasavaOneEightSingleLanePerSampleDirFmt with no success.
Any suggestions?

Hey @angrybee! The easiest solution is to just invoke the plugin action via the framework (rather than importing the function manually). You can see an example of that here:
https://github.com/qiime2/q2-vsearch/blob/f718620f0a56560b4cdb0f6cba33de4cbda16940/q2_vsearch/tests/test_cluster_features.py#L567-L612

Thx @thermokarst for the hint which opened a lot of more questions and now I know way to much about qiime2-code-details :)
For me it was not possible to reuse demux-1 because qiime complained that the data I wanted to import as se-Reads are having forward and reverse reads. So you also did a good job there. Because of this I copied the forward reads to a new folder and changed the MANIFEST there. If anybody has a better solution feel free to tell me.
Otherwise I would say, job done, happy to be reviewed.


Switch to Docker Hub for images

Now config is injected at runtime, there aren’t any secrets in our container images. We could push them to Docker Hub instead! This means Travis doesn't need to have any access to AWS.

[ ] Switch the Travis build scripts to push to Docker Hub instead
[ ] Revoke the Travis credentials in ECR
[ ] (Maybe?) Decommission our ECR repos – I’m not sure what the cost/benefit of keeping them up would be

We spent $0.66 on ECR last month, so not using Docker Hub is hardly burning a hole in our pocket. Would be nice to be consistent with the UX team tho.

Closing as there’s no pressing need for this. The ECR stuff works fine.


Update redux-saga version dependency

Current tutorial instructions aren't compatible with ^0.8.0 (a.k.a 0.8.x).

Dup of https://github.com/yelouafi/redux-saga-beginner-tutorial/pull/4


Update join form to use a resized iframe

Lib:
https://github.com/davidjbradshaw/iframe-resizer-react
Original post:
https://stackoverflow.com/questions/54451689/have-iframe-merge-with-parent-body-using-only-1-scrollbar-for-whole-page-alw

Decided it's easier to add a "Join" button that directs to the form instead of using an iframe. Iframes are a mess and the convenience isn't worth the tradeoff of the complexity and hassle cross-browser troubleshooting...


Remove broken line emphasis

Github markup doesn't really support line emphasis properly.

@arky the docs are not supposed to render perfectly on GitHub because we use MyST syntax. Please take a look at these articles.

https://training.plone.org/5/contributing/writing-docs-guide.html
https://training.plone.org/5/contributing/setup-build.html

I think this is what you want:
```{code-block} jsx
:emphasize-lines: 2,5

import React from 'react';
import { DefaultView } from '@plone/volto/components';
const SuccessStoryView = props => {
  return <DefaultView {...props} />;
};

export default SuccessStoryView;
```

Also to save you some time and effort, we recommend that you build the docs locally before creating a PR. That way you only rebuild changed files, instead of the entire 300+ pages and the entire stack each time.

Closing in favor of #569.


2.0 update breaks persp-modestring

'(persp-modestring persp-modestring)

this no longer prints persp-mode info in the modeline.

persp-modestring is no longer a variable, because Emacs removed support for frame-local variables. Instead, you now have to do '(:eval (persp-mode-line)).

works like a charm!  thanks for the help.  :-)


Add consistent Logging facility

The logging module from the Python Standard Library should be used to provide consitent logging across the library

Resolved in c3ab8a0


[MNOE-358] Fix dev mailer

The mail adapter is set in a class variable of MailAdapter. This doesn't
work well with class reloading in development.
Use a config.to_prepare block to fix this issue.

This causes the following error in dev when sending email after the classes have been reloaded:
NoMethodError (undefined method `deliver' for nil:NilClass ...

Easy to reproduce by sending an email (eg: forgot password) then changing a class (eg: ApplicationController) and sending an email again.