(everything) Add es the cli for everything to the everything package

Expected Behavior
Everything has a cli that's available. It would be really helpful if this was included with the everything package.
Current Behavior
Currently the cli is not included with everything, so a user needs to download it on their own and add it to their path.
Possible Solution
I can think of two solutions:

Include es as part of everything.
Create an everything-cli package that takes everything as a dependency.

Steps to Reproduce (for bugs)
N/A: Not a bug
Context
I love Everything for the speed of searching on filenames. Recently I had a need to search for all files with a particular name on my system and found the Everything cli.
Your Environment
N/A: Not a bug with the package. Anywhere that Everything is supported could theoretically benefit from the cli.

A Chocolatey package is only allowed to install one piece of software.
If the author ships it in one bundle / package we could argue that it's one.
As far as I can tell, everything-cli is another piece of software and therefor requires it's own package ID.

Its already included.

We should look to pull the CLI out of the package and make it available separately.

No we shouldn't. Feel free to pursue this in your own spare time.

@majkinetor I've reopened the issue until we can address the issues that have been raised by both myself and @mkevenaar. Please leave it open.

This has nothing to do with this ticket. This ticket is about es not being included while it is. Create a new one for discussion. Thanks for keeping this place in order.

Opening again, as requested by @pauby

Amazing behavior. Good job guys. Hope you are proud for your typical useless shenanigan in making this places harder to maintain.

We should look to pull the CLI out of the package and make it available separately.

Should it be added as a dependency to the everything package? It would prevent a breaking change (for people currently using it via the everything package).

I can understand the desire for this, but it's not a dependency on the package itself. But as you said, it would avoid this being a breaking change.

I've discovered that es requires everything to be running to work, so the dependency actually needs to go the other way.

The es has been approved.


【ESP32-C3/BLE Feature】Some info about Extended ADV, the max number of connections (IDFGH-5938)

Hi Espressif Experts,
Regarding the ESP32-C3, I would like to inquire something about BLE features, the details are as below:

As we all know, the ESP32-C3 can support full features of BLE 5.0, including the Coded PHY, 1M PHY, 2M PHY, Extended ADV, but I don't know if all of them are available for users? I mean that the current SDK can support all of BLE 5.0 features already? I tried to consult the ESP-IDF and found that Coded PHY,1M PHY, 2M PHY will be possible, but I am not sure if all Extended Adv features can be supported as the Extended Adv includes period extended adv, chained extended adv, etc.
I also looked into the lots of materials online, I still cannot confirm the max number of BLE connections that can be supported. a lot of answers told me the number is 8 or 9, is it possible to implement more than 8 connections, such as 20,30 or more connections. can the Espressif guys help me double confirm?
I tried to find something about BLE stack, it told me that the ESP32-C3 will use Bluedroid host or Nimble host, but the controller is developed by espressif based on CEVA IP, Am I correct?

Reason:
I am preparing to write some BLE tutorials about ESP32-C3, the info above is important for me as I need to make the outline for this BLE series tutorials.
could you give me your hands, thanks in advance

I can only answer on point (1):

all 3 PHY are supported,
extended ADV - supported,
periodic advertising with sync scan supported,
multi-advertising - supported

Basically all API with _ext_ in name are BLE 5, plus few functions that are without _ext_:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/bluetooth/esp_gap_ble.html

I can only answer on point (1):

all 3 PHY are supported,
extended ADV - supported,
periodic advertising with sync scan supported,
multi-advertising - supported

Basically all API with _ext_ in name are BLE 5, plus few functions that are without _ext_: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-reference/bluetooth/esp_gap_ble.html
PS if you would like to test or add some info in your tutorials, then some or most BLE 5 from bludroid are added in arduino-esp32 https://github.com/espressif/arduino-esp32/tree/master/libraries/BLE/examples

Hi @chegewara Bro,
Many thanks for your detailed responses. regarding point1, some of them are clear, but the chained advertisement is supported or not? also, the max advertising length can be up to 1650 bytes for extended adv?
as for the other two points, could you help me check with your teammates even though you can only answer the point1?
thanks again and waiting for your news.

Sorry, but i have no knowledge about chained advertising, just didnt test it yet.
I also have to disappoint you, but i dont have teammates, i guess espressif have policy to not hire chegewaras.
Here is one more info, i hope it can help you:
https://esp32.com/viewtopic.php?f=19&t=21011#p77540

Hi @chegewara Bro,
it doesn't matter, Actually, I have implemented the BLE 5.0 new features with other platforms. the purpose is to know if the esp32-c3 can support them as well, but I still cannot confirm as the lack of materials.
so let's waiting for the feedback from espressif guys together at this moment.
at last, many thanks your kindly help.

any updates about it?

@xiaolongba
The max number of BLE connections of ESP32C3 is 9.

@xiewenxiang
thanks. where can I find this info? other two doubts, could you help me double-check?

appended more info here, the last doubt I mentioned, it seems that it is the new feature from BLE spec 5.2, not BLE spec 5.0. so you can ignore this doubt, other doubts above can help me check again?
thanks in advance.

Hi @Sushant-Espressif Bro,
any updates about it? I need your help, pls.

Hi @Sushant-Espressif Bro,
you are a good man.

Answer for both the questions is same :-)
Support in controller as well as host stack is needed. Both Bluedroid and Nimble stack support these features. For Nimble stack, make sure that required features are enabled from menuconfig (component config --> Bluetooth --> Nimble options ). For Bluedroid stack it is enabled by default. In BLE controller as well these features are enabled by default.

great, clear. but could you help me check the following doubt:

at this moment, the max connections of esp32-c3 BLE controller have been fixed to 9? it is impossible to increase the number of connections? even if the host stack can support more than 9 or more, the final connections are still 9?  correct?

waiting for your feedback, I promise that this is the last question about it😂

Hi All ,
Very nice discussion and very helpfull thank you!
I have a question if you could answer it , i tried Nimble spp_client and server . But i am unable to connect more than 1 device (esp32c3) .
All the detail is mentioned in that link it includes all the testing and results
https://github.com/espressif/esp-idf/issues/8619
Thanks in advance , if you could help me in this regard,

@iamcalledusman
Hello Bro,
ESP32-C3 can only support Bluetooth LE only, but SPP is the feature that is from Bluetooth classic. I think you should implement these two examples with ESP32

Hello Bro,
Thank you so much for the response! Right I will try to implement it with esp32.
Thank You!


Does CAMTEMP header keyword ever work?

After a quick look at random images from the Fall 2017 ARTN runs, it looks like the CAMTEMP header keyword is always set to -999.9.
Is this always the case?  If so, we should get help from Lesser.

The images I took today show the correct CAMTEMP


Refreshing stack with an org secret in it deleted the secret from the stack (but not GitHub) when it shouldn't have

Hello!

Vote on this issue by adding a 👍 reaction
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)

Issue details

When creating an organization secret and assigning it to a repository, then refreshing the stack the secret resource is deleted from the stack but not from GitHub. Also, the secret should never be deleted from the stack or GitHub, we're just running a refresh
Steps to reproduce

Clone this repo: https://github.com/pierskarsenbarg/github-secrets
Add org name and GitHub access token to config (pulumi config set github:owner {organization name} followed by pulumi config set github:token {token} - token can be created from here)
Run pulumi up to create resources
Run pulumi refresh without changing anything. You'll see the ActionsOrganizationSecret marked for deletion. If you then select yes you'll see that the resource is deleted from the stack, but if you look at the organization secrets in GitHub, you'll see that the secret is still there

Expected:
Nothing to happen
Actual:
GitHub org secret resource is deleted from the stack

This is an issue from the underlying TF provider:
https://github.com/integrations/terraform-provider-github/issues/974
You can work around this bug by using the embedded selectedRepositoryIds in the ActionsOrganizationSecret resource itself instead of using the separate ActionsOrganizationSecretRepositories resource.


Update copyright to 2022

Trivial PR for testing all the CI mechanisms after the org/name transition.

@osrf-jenkins run tests

@osrf-jenkins run tests please

@osrf-jenkins run tests

@osrf-jenkins run tests

I believe this can be closed now


[IT DateTimeV2]Add extremely common mistakes to the names of the days of the week

The correct way to write the day of Monday in Italian is "Lunedì", with stress on the last "i". This is getting correctly recognized. On the other hand, most Italians would write "Lunedi", expecially when typing and this is not currently recognized as a day. The same is also true for the other days like "Martedì", "Mercoledì" (which also is often spelled as "Mercoldì"), "Giovedì" and "Venerdì". The rate at which italians write these days wrong is so high that right now this feature is virtually unusable, even though it is technically correct.
I think that the recognition in the italian language would be greatly improved by adding these very common spelling mistakes.

Agree.


Lightning Masterclass - Attribute not defined

🐛 Bug
Hi All
first of all: thank you for a great package making the development for beginners like me a lot easier.
I tried to follow the implementation from the lightning masterclass and ran into two issues, the first one of which is documented here, the second one can be found here
So, to the issue:
When trying to use a validation and a training dataloader, with the training and validation split happening in the train_dataloader, in this way:
train_data = datasets.MNIST('data', train=True, download=True, transform=transforms.ToTensor())
self.train, self.val = random_split(train_data, [55000, 5000])

I get an error in the val_dataloader, saying
Exception has occurred: ModuleAttributeError
'ResNet' object has no attribute 'val'

This is what my val_dataloader looks like:
def val_dataloader(self):
    val_loader = DataLoader(self.val, batch_size=16)
    return val_loader

Please reproduce using the BoringModel
import torch
from pytorch_lightning import LightningModule
from torch.utils.data import Dataset

MNIST.resources = [
            ('https://ossci-datasets.s3.amazonaws.com/mnist/train-images-idx3-ubyte.gz', 'f68b3c2dcbeaaa9fbdd348bbdeb94873'),
            ('https://ossci-datasets.s3.amazonaws.com/mnist/train-labels-idx1-ubyte.gz', 'd53e105ee54ea40749a09fcbcd1e9432'),
            ('https://ossci-datasets.s3.amazonaws.com/mnist/t10k-images-idx3-ubyte.gz', '9fb629c4189551a2d022fa330f9573f3'),
            ('https://ossci-datasets.s3.amazonaws.com/mnist/t10k-labels-idx1-ubyte.gz', 'ec29112dd5afa0611ce80d1b7f02629c')
        ]

class BoringModel(LightningModule):

    def __init__(self):
        super().__init__()
        self.layer = torch.nn.Linear(32, 2)

    def forward(self, x):
        return self.layer(x)

    def loss(self, batch, prediction):
        # An arbitrary loss to have a loss that updates the model weights during `Trainer.fit` calls
        return torch.nn.functional.mse_loss(prediction, torch.ones_like(prediction))

    def training_step(self, batch, batch_idx):
        output = self.layer(batch)
        loss = self.loss(batch, output)
        return {"loss": loss}

    def training_step_end(self, training_step_outputs):
        return training_step_outputs

    def training_epoch_end(self, outputs) -> None:
        torch.stack([x["loss"] for x in outputs]).mean()

    def validation_step(self, batch, batch_idx):
        output = self.layer(batch)
        loss = self.loss(batch, output)
        return {"x": loss}

    def validation_epoch_end(self, outputs) -> None:
        torch.stack([x['x'] for x in outputs]).mean()

    def test_step(self, batch, batch_idx):
        output = self.layer(batch)
        loss = self.loss(batch, output)
        self.log('fake_test_acc', loss)
        return {"y": loss}

    def test_epoch_end(self, outputs) -> None:
        torch.stack([x["y"] for x in outputs]).mean()

    def configure_optimizers(self):
        optimizer = torch.optim.SGD(self.layer.parameters(), lr=0.1)
        lr_scheduler = torch.optim.lr_scheduler.StepLR(optimizer, step_size=1)
        return [optimizer], [lr_scheduler]

    def train_dataloader(self):

        train_data = datasets.MNIST('data', train=True, download=True, transform=transforms.ToTensor())
        self.train, self.val = random_split(train_data, [55000, 5000])
        train_loader = DataLoader(self.train, batch_size=16)
        return train_loader

    def val_dataloader(self):
        val_loader = DataLoader(self.val, batch_size=16)
        return val_loader

To run:
def test_x(tmpdir):
    # init model
    model = BoringModel()

    # Initialize a trainer
    trainer = pl.Trainer(
        max_epochs=1,
        progress_bar_refresh_rate=20
    )

    # Train the model ⚡
    trainer.fit(model)

    trainer.test(test_dataloaders=test)

test_x(tmpdir)

Output:
PU available: True, used: False
TPU available: False, using: 0 TPU cores
/usr/local/lib/python3.7/dist-packages/pytorch_lightning/utilities/distributed.py:68: UserWarning: GPU available but not used. Set the --gpus flag when calling the script.
  warnings.warn(*args, **kwargs)

  | Name  | Type   | Params
---------------------------------
0 | layer | Linear | 66
---------------------------------
66        Trainable params
0         Non-trainable params
66        Total params
0.000     Total estimated model params size (MB)

---------------------------------------------------------------------------

AttributeError                            Traceback (most recent call last)

<ipython-input-13-1f9f6fbe4f6c> in <module>()
----> 1 test_x(tmpdir)

11 frames

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py in __getattr__(self, name)
    946                 return modules[name]
    947         raise AttributeError("'{}' object has no attribute '{}'".format(
--> 948             type(self).__name__, name))
    949
    950     def __setattr__(self, name: str, value: Union[Tensor, 'Module']) -> None:

AttributeError: 'BoringModel' object has no attribute 'val'

Expected behavior
Model training as it should
Environment

PyTorch Version (e.g., 1.0): 1.7.1

OS (e.g., Linux): Ubuntu 20.04

How you installed PyTorch (conda, pip, source): pip

Python version: 3.8.5

CUDA/cuDNN version: 11.0

GPU models and configuration: GeForce GTX1060

Any other relevant information:

pl version: 1.2.7

Additional context
Attempted fix 1:
added
self.train =None
self.val = None

to the init():
added a def get_dataset(self):
 def get_dataset(self):
        train_data = datasets.MNIST('data', train=True, download=True, transform=transforms.ToTensor())
        self.train, self.val = random_split(train_data, [55000, 5000])

and then changed the call inside val_dataloader and train_dataloader to:
if self.val is None:
            self.get_dataset()

Output:
TypeError: 'Subset' object is not callable
in trainer.fit(model)
Attempted fix 2:
Inverted the order:
def train_dataloader(self):
    train_loader = DataLoader(self.train, batch_size=16)
    return train_loader

def val_dataloader(self):

        train_data = datasets.MNIST('data', train=True, download=False, transform=transforms.ToTensor())
        self.train, self.val = random_split(train_data, [55000, 5000])
        val_loader = DataLoader(self.val, batch_size=16)
        return val_loader

Output:
Exception has occurred: TypeError
'Subset' object is not callable
  File "/home/nicolas/.virtualenv/pytorch/lightning/firstvid.py", line 203, in <module>
    trainer.fit(model)

Any help would be greatly appreciated
Many thanks
Cheers
Nico

@NicoMandel do you see a difference if you pass num_sanity_val_steps=0 on the Trainer? If so, what's happening is that val_dataloader() is being called as part of a sanity check, designed to fail fast in case you have any issues in your LightningModule. in this case, self.val is being defined in the train_dataloader function, which may not have been called yet.
I'd recommend defining the splits in either the module's constructor, prepare_data, or setup functions to avoid this issue

Per @ananthsub suggestion, try this for the dataloading part:
class BoringModel(LightningModule):

    def __init__(self):
        super().__init__()
        self.layer = torch.nn.Linear(32, 2)
        train_data = datasets.MNIST('data', train=True, download=True, transform=transforms.ToTensor())
        self.train, self.val = random_split(train_data, [55000, 5000])

    def train_dataloader(self):
        train_loader = DataLoader(self.train, batch_size=16)
        return train_loader

    def val_dataloader(self):
        val_loader = DataLoader(self.val, batch_size=16)
        return val_loader

...

Hi guys thank you for the help.
I now tried moving the following two lines around in multiple ways:
train_data = datasets.MNIST('data', train=True, download=False, transform=transforms.ToTensor())
self.train, self.val = random_split(dataset, [55000, 5000])

As part of train_dataloader(self) - including num_sanity_val_steps=0 as an argument for the trainer leads to training and stop at Epoch 0, 91% with the error:

Exception has occurred: TypeError
'Subset' object is not callable

In the val_dataloader with, num_sanity_val_steps=0:

Exception has occurred: TypeError
object of type 'method' has no len()

Using setup(self) and prepare_data(self) as suggested in the video

def prepare_data(self):
        datasets.MNIST('data', train=True, download=True, transform=transforms.ToTensor())

def setup(self):
        dataset = datasets.MNIST('data', train=True, download=False, transform=transforms.ToTensor())
        self.train, self.val = random_split(dataset, [55000, 5000])

Returns the error (in the .fit() step):
Exception has occurred: TypeError
setup() takes 1 positional argument but 2 were given

In __init__(self), at the end:

# lightning - defining the loss
self.loss = nn.CrossEntropyLoss()

# lightning - dataset setup
dataset = datasets.MNIST('data', train=True, download=False, transform=transforms.ToTensor())
self.train, self.val = random_split(dataset, [55000, 5000])

Returns with:
Exception has occurred: TypeError
'Subset' object is not callable

IN the trainer.fit function.

Changing the setup function to use setup(self, stage), according to the docs

def setup(self, stage):

        if stage=='fit':
            dataset = datasets.MNIST('data', train=True, download=False, transform=transforms.ToTensor())
            self.train, self.val = random_split(dataset, [55000, 5000])

results in the usual:
Exception has occurred: TypeError
'Subset' object is not callable

Ideas:

Could any of this be related to the change of the MNIST resource: that any of these sources has a different format?

datasets.MNIST.resources = [
         ('https://ossci-datasets.s3.amazonaws.com/mnist/train-images-idx3-ubyte.gz', 'f68b3c2dcbeaaa9fbdd348bbdeb94873'),
          ('https://ossci-datasets.s3.amazonaws.com/mnist/train-labels-idx1-ubyte.gz', 'd53e105ee54ea40749a09fcbcd1e9432'),
          ('https://ossci-datasets.s3.amazonaws.com/mnist/t10k-images-idx3-ubyte.gz', '9fb629c4189551a2d022fa330f9573f3'),            ('https://ossci-datasets.s3.amazonaws.com/mnist/t10k-labels-idx1-ubyte.gz', 'ec29112dd5afa0611ce80d1b7f02629c')
        ]

Could this be a naming issue, that train or val should be renamed into other comprehensive names?

Is there any way to make these error messages more comprehensive, turning on file / function passing?

Thank you guys for the help, I genuinely appreciate it and I am really starting to question my sanity here...

Changing the naming from self.train, self.val to self.train_data, self.val_data actually seemed to fix the issue!

Oh yes, not that I look at it again, self.train was a bad name because train is an existing method in nn.Module! Overwriting that is going to fail, and then when trainer is trying to call model.train(), it tries to call the dataset.
Did all the other points resolve as well?

Yes, thank you for that confirmation. I can now get the model to go to training at least - I am surprised it did not throw any errors in the mentioned masterclass video.
I am still a little confused concerning the use of accuracy, which is addressed in another issue. Any help there would also be greatly appreciated.
Many thanks for the clarification!


Add missing glyphicons accessors.

Add missing bootstrap-select Data-API constants

Coverage remained the same at 100.0% when pulling 72ca2182539f9aa59900fabf09a768633d0f7c49 on glyphicons into 2d8ec85b6b42b3e92814ec8c450759cd5ccd11df on master.


Export struct OSLQuery::Parameter for Windows

Description
On Windows, osltoy fails to link because of a missing OSLQuery::Parameter constructor. Even when a class is properly exported, nested structs or classes within this class must be exported too.
Tests
Just made myself sure it compiles and links :-^

LGTM, thanks.

Fixes #895


issue: Update README for [#76] Could not get script via 'curl -vsS https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash'

[#76] Could not get script via 'curl -vsS https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash'

solution:
Update README.MD & README_ZH.MD, remarking that manually download the script instead of CURL
Signed-off-by: lyp830414<EMAIL_ADDRESS>

Now updated README.md & README_ZH.md, please have a review @SamYuan1990

Updated again and added some note information for README. @SamYuan1990

Close due to signature & commits are confused


[BUG]  one_hot arg is not working in  ToTarget(Block) class

Bug description

Steps/Code to reproduce bug
I am getting the following error when I set one_hot=True in the ToTarget as mm.Loader(train, batch_size=128, transform=mm.ToTarget(schema, "user_country", one_hot=True))
---------------------------------------------------------------------------
InvalidArgumentError                      Traceback (most recent call last)
Cell In [11], line 2
      1 model.compile(run_eagerly=False, optimizer='adam')
----> 2 model.fit(loader, epochs=1)

File /usr/local/lib/python3.8/dist-packages/merlin/models/tf/models/base.py:856, in BaseModel.fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_batch_size, validation_freq, max_queue_size, workers, use_multiprocessing, train_metrics_steps, pre, **kwargs)
    853     self._reset_compile_cache()
    854     self.train_pre = pre
--> 856 out = super().fit(**fit_kwargs)
    858 if pre:
    859     del self.train_pre

File /usr/local/lib/python3.8/dist-packages/keras/utils/traceback_utils.py:67, in filter_traceback.<locals>.error_handler(*args, **kwargs)
     65 except Exception as e:  # pylint: disable=broad-except
     66   filtered_tb = _process_traceback_frames(e.__traceback__)
---> 67   raise e.with_traceback(filtered_tb) from None
     68 finally:
     69   del filtered_tb

File /usr/local/lib/python3.8/dist-packages/tensorflow/python/eager/execute.py:54, in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
     52 try:
     53   ctx.ensure_initialized()
---> 54   tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
     55                                       inputs, attrs, num_outputs)
     56 except core._NotOkStatusException as e:
     57   if name is not None:

InvalidArgumentError: Graph execution error:

Detected at node 'Reshape' defined at (most recent call last):
    File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
      exec(code, run_globals)
    File "/usr/local/lib/python3.8/dist-packages/ipykernel_launcher.py", line 17, in <module>
      app.launch_new_instance()
    File "/usr/local/lib/python3.8/dist-packages/traitlets/config/application.py", line 982, in launch_instance
      app.start()
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/kernelapp.py", line 712, in start
      self.io_loop.start()
    File "/usr/local/lib/python3.8/dist-packages/tornado/platform/asyncio.py", line 215, in start
      self.asyncio_loop.run_forever()
    File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
      self._run_once()
    File "/usr/lib/python3.8/asyncio/base_events.py", line 1859, in _run_once
      handle._run()
    File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
      self._context.run(self._callback, *self._args)
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/kernelbase.py", line 510, in dispatch_queue
      await self.process_one()
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/kernelbase.py", line 499, in process_one
      await dispatch(*args)
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/kernelbase.py", line 406, in dispatch_shell
      await result
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/kernelbase.py", line 730, in execute_request
      reply_content = await reply_content
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/ipkernel.py", line 383, in do_execute
      res = shell.run_cell(
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/zmqshell.py", line 528, in run_cell
      return super().run_cell(*args, **kwargs)
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 2885, in run_cell
      result = self._run_cell(
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 2940, in _run_cell
      return runner(coro)
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/async_helpers.py", line 129, in _pseudo_sync_runner
      coro.send(None)
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 3139, in run_cell_async
      has_raised = await self.run_ast_nodes(code_ast.body, cell_name,
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 3318, in run_ast_nodes
      if await self.run_code(code, result, async_=asy):
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 3378, in run_code
      exec(code_obj, self.user_global_ns, self.user_ns)
    File "/tmp/ipykernel_234/224013731.py", line 2, in <module>
      model.fit(loader, epochs=1)
    File "/usr/local/lib/python3.8/dist-packages/merlin/models/tf/models/base.py", line 856, in fit
      out = super().fit(**fit_kwargs)
    File "/usr/local/lib/python3.8/dist-packages/keras/utils/traceback_utils.py", line 64, in error_handler
      return fn(*args, **kwargs)
    File "/usr/local/lib/python3.8/dist-packages/keras/engine/training.py", line 1409, in fit
      tmp_logs = self.train_function(iterator)
    File "/usr/local/lib/python3.8/dist-packages/keras/engine/training.py", line 1051, in train_function
      return step_function(self, iterator)
    File "/usr/local/lib/python3.8/dist-packages/keras/engine/training.py", line 1040, in step_function
      outputs = model.distribute_strategy.run(run_step, args=(data,))
    File "/usr/local/lib/python3.8/dist-packages/keras/engine/training.py", line 1030, in run_step
      outputs = model.train_step(data)
    File "/usr/local/lib/python3.8/dist-packages/merlin/models/tf/models/base.py", line 677, in train_step
      outputs = self.call_train_test(x, y, sample_weight=sample_weight, training=True)
    File "/usr/local/lib/python3.8/dist-packages/merlin/models/tf/models/base.py", line 605, in call_train_test
      self.adjust_predictions_and_targets(predictions, targets)
    File "/usr/local/lib/python3.8/dist-packages/merlin/models/tf/models/base.py", line 662, in adjust_predictions_and_targets
      targets[k] = tf.reshape(targets[k], tf.shape(predictions[k]))
Node: 'Reshape'
Detected at node 'Reshape' defined at (most recent call last):
    File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
      exec(code, run_globals)
    File "/usr/local/lib/python3.8/dist-packages/ipykernel_launcher.py", line 17, in <module>
      app.launch_new_instance()
    File "/usr/local/lib/python3.8/dist-packages/traitlets/config/application.py", line 982, in launch_instance
      app.start()
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/kernelapp.py", line 712, in start
      self.io_loop.start()
    File "/usr/local/lib/python3.8/dist-packages/tornado/platform/asyncio.py", line 215, in start
      self.asyncio_loop.run_forever()
    File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
      self._run_once()
    File "/usr/lib/python3.8/asyncio/base_events.py", line 1859, in _run_once
      handle._run()
    File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
      self._context.run(self._callback, *self._args)
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/kernelbase.py", line 510, in dispatch_queue
      await self.process_one()
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/kernelbase.py", line 499, in process_one
      await dispatch(*args)
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/kernelbase.py", line 406, in dispatch_shell
      await result
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/kernelbase.py", line 730, in execute_request
      reply_content = await reply_content
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/ipkernel.py", line 383, in do_execute
      res = shell.run_cell(
    File "/usr/local/lib/python3.8/dist-packages/ipykernel/zmqshell.py", line 528, in run_cell
      return super().run_cell(*args, **kwargs)
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 2885, in run_cell
      result = self._run_cell(
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 2940, in _run_cell
      return runner(coro)
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/async_helpers.py", line 129, in _pseudo_sync_runner
      coro.send(None)
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 3139, in run_cell_async
      has_raised = await self.run_ast_nodes(code_ast.body, cell_name,
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 3318, in run_ast_nodes
      if await self.run_code(code, result, async_=asy):
    File "/usr/local/lib/python3.8/dist-packages/IPython/core/interactiveshell.py", line 3378, in run_code
      exec(code_obj, self.user_global_ns, self.user_ns)
    File "/tmp/ipykernel_234/224013731.py", line 2, in <module>
      model.fit(loader, epochs=1)
    File "/usr/local/lib/python3.8/dist-packages/merlin/models/tf/models/base.py", line 856, in fit
      out = super().fit(**fit_kwargs)
    File "/usr/local/lib/python3.8/dist-packages/keras/utils/traceback_utils.py", line 64, in error_handler
      return fn(*args, **kwargs)
    File "/usr/local/lib/python3.8/dist-packages/keras/engine/training.py", line 1409, in fit
      tmp_logs = self.train_function(iterator)
    File "/usr/local/lib/python3.8/dist-packages/keras/engine/training.py", line 1051, in train_function
      return step_function(self, iterator)
    File "/usr/local/lib/python3.8/dist-packages/keras/engine/training.py", line 1040, in step_function
      outputs = model.distribute_strategy.run(run_step, args=(data,))
    File "/usr/local/lib/python3.8/dist-packages/keras/engine/training.py", line 1030, in run_step
      outputs = model.train_step(data)
    File "/usr/local/lib/python3.8/dist-packages/merlin/models/tf/models/base.py", line 677, in train_step
      outputs = self.call_train_test(x, y, sample_weight=sample_weight, training=True)
    File "/usr/local/lib/python3.8/dist-packages/merlin/models/tf/models/base.py", line 605, in call_train_test
      self.adjust_predictions_and_targets(predictions, targets)
    File "/usr/local/lib/python3.8/dist-packages/merlin/models/tf/models/base.py", line 662, in adjust_predictions_and_targets
      targets[k] = tf.reshape(targets[k], tf.shape(predictions[k]))
Node: 'Reshape'
2 root error(s) found.
  (0) INVALID_ARGUMENT:  Input to reshape is a tensor with 128 values, but the requested shape has 8064
	 [[{{node Reshape}}]]
	 [[gradient_tape/model_3/xl_net_block_3/prepare_transformer_inputs_4/RaggedToTensor/strided_slice/_250]]
  (1) INVALID_ARGUMENT:  Input to reshape is a tensor with 128 values, but the requested shape has 8064
	 [[{{node Reshape}}]]
0 successful operations.
0 derived errors ignored. [Op:__inference_train_function_18262]

Please run the code below to repro the issue. you can see that when generate a batch from the Loader, the target is not one-hot encoded.
from merlin.datasets.synthetic import generate_data
train = generate_data("sequence-testing", num_rows=1000)
schema = train.schema.select_by_name(
    ["item_id_seq", "categories", "user_country"]
)
schema["user_country"] = schema["user_country"].with_tags(
    schema["user_country"].tags + "target"
)
train.schema = schema

model = mm.Model(
    mm.InputBlockV2(
        schema,
        embeddings=mm.Embeddings(schema, sequence_combiner=None),
    ),
    mm.XLNetBlock(
        d_model=48,
        n_head=8,
        n_layer=2,
        post='sequence_mean',
    ),
    mm.CategoricalOutput(
        to_call=schema["user_country"],
    ),
)

loader = mm.Loader(train, batch_size=128, transform=mm.ToTarget(schema, "user_country", one_hot=True))

# print the label from the batch you can see that it is not one-hot encoded
batch = next(iter(loader))
batch[1]

model.compile(run_eagerly=False, optimizer='adam')
model.fit(loader, epochs=1)

@rnyak , please triage this bug


fix(contentmodal): z-index and data-testid - CCR-267

Proposed Changes
Please use the Jira Key followed by the changes

JIRAKEY-1234

Some change
Another change

Checklist

[ ] I have added or updated unit tests
[ ] I have added or updated integration tests (if appropriate)
[ ] I have added or updated documentation / readme (if appropriate)
[ ] I have verified that my changes have not introduced new lint errors
[ ] I have added a GitHub labels to the PR for either patch, minor, or major

Testing Instructions

:rocket: PR was released in v1.19.7 :rocket:


No access to created store

Some tests need access to dispatch, e.g. when testing if the right URLs are fetched.
Could be convenient to use store created by redux-actions-assertions instead of creating new one.
const fetchSpy = sinon.spy();
mock(window.fetch, fetchSpy);

store.dispatch(fetchData()).then(() => {
  expect(fetchSpy).to.have.been.calledWith('/api/data');
}).then(done).catch(done);

Right now you are forced to use done callback, which not allows you to do actions after assertion and this is not flexible.
We can solve it by returning promise from assertions.
Then you will be able to perform:
return expect(fetchData())
  .toDispatchActions(expectedActions)
  .then(() => {
    expect(fetchSpy).to.have.been.calledWith('/api/data');
  });

Implemented with https://github.com/redux-things/redux-actions-assertions-js/pull/2


Fix issue 183 - install git in Debian non-slim variants

Closes #183
Seems some of the Dockerfiles weren't synced up w/ the latest code changes in here. I should add a CI check for that.
Also adds support for specifying multiple variant filters on the build-images command line (e.g. :build-tool tools-deps :distro :debian/bullseye).

@Quantisan I'm going to go ahead and merge this. Let me know if you have any feedback, though.


feat(jwt): Support JSON Web Encyption (JWE)

What is the feature you are proposing?
Add support for encryption and decryption of JWE based on RFC#7516. Could be via a middleware or utility functions, like the current JWT module. The plaintext can be any arbitrary data.

seems very interesting. i am going to try to implement  and contribute. wish me luck :d


Accented letters not rendering correctly

Describe the bug

Accented letters are not correctly rendered.
I've tried using different fonts, each one of them has this same issue only in F# Interactive (.Net Core) terminals.
Steps to reproduce

Open an F# file
Highlight a piece of code
Press Alt + Enter to execute it, or simply open a F# Interactive (.Net Core) terminal
Try entering accented letters, such as à, è, ì, ò, ù. This also happens with other characters: £, é, ç, °, §, …

Expected behaviour

Every character should be rendered correctly.
Screenshots

Machine info

OS: Windows
.NET SDK version: 5.0.201
Ionide version: 5.4.1

I believe this is the same as https://github.com/ionide/ionide-vscode-fsharp/issues/1498

Yes it is, this also happens with paths.
in my case, every #silentCd directive fails because there's always an accented letter in the path it tries to cd to.
Should I close this?

Try the fsiExtraParameters fix here:
https://github.com/ionide/ionide-vscode-fsharp/issues/1236#issuecomment-725891973

Try the fsiExtraParameters fix here:
#1236 (comment)

it works, thank you!


ctlptl get registries -oname do return prefixed names

Problem
If i run ctlptl get registries -oname then i get only following prefixed output:
registry.ctlptl.dev/ctlptl-registry-kind

This issue is related to #307.
Expected
With following registries:
NAME                   HOST ADDRESS     CONTAINER ADDRESS   AGE
ctlptl-registry-kind   <IP_ADDRESS>:5000   <IP_ADDRESS>:5000     1m

I would expect the following not prefixed output:
ctlptl-registry-kind

For a workaround see #307.
Output of ctlptl version:
v0.8.22, built 2023-08-30

This is working as intended. We try to maintain compatibility with kubectl, and in fact use the same underlying printing libraries as kubectl. Those libraries interpret -o name to [resource]/[name]. See: https://github.com/kubernetes/kubernetes/issues/5906


GNUInstallDir Enhancements in build scripts

resolves #___
Summary of proposed changes:

Updated GNU install LIBDIR CMAKE flag default value in build scripts.

As there are open discussions regarding this change proposed and plans, Moving this changes back to WIP (draft)

As per design reviews (LIBASAN), alternative approach was recommended for the proposed changes across all modules. Hence for now this PR we are closing. Will be updating/proposing with new changes once ready. Thanks for the reviews/comments provided.


Reuse neighborqueue during hnsw index build (attempt 2)

This changes HnswGraphBuilder to re-use the same candidates queues for adding nodes by allocating them in the Builder instance.
This saves about 2.5% of build time and takes memory allocations of NQ long[] from 25% of total to 0%.  JFR runs are attached.
The difference from the first attempt (which actually made things slower) is that it preserves the original code's behavior of using a 1-sized queue for the search in the levels above where the node actually gets added.
main.jfr.gz
nq2.jfr.gz

Additionally, the original change only re-used the candidates queues within a single addNode call, so this is improved in that respect as well.

cc @msokolov @benwtrent @zhaih

Hey @jbellis the change looks nice to me. But, I ran https://github.com/mikemccand/luceneutil knnPerTest and saw no change at all in indexing time.
Am I missing something? Could you provide the benchmark you ran to track the 2.5% improvement?

I'm using the million-row sift dataset via this harness https://github.com/jbellis/hnswdemo/tree/benchmarking
I believe what is happening is that allocation is basically free and there is enough slack across the JVM in these synthetic benchmarks to soak up the extra GC required -- I do not see any changes when run normally, either.  So I forced it to a single core with
$ taskset -c 0-1 ./gradlew runTexmex -PsiftName=sift
(it is a hyperthreaded core so i give it logical cores 0-1)
Also if you take a look at the jfr files it is very clear that a significant amount of allocation is gone.

CI says this test is failing
   >     java.lang.AssertionError: Missing backcompat test files:
   >       9.6.0-cfs
   >       9.7.0-cfs
   >         at __randomizedtesting.SeedInfo.seed([6833F9FB78703710:78EC16BBCCE7213C]:0)
   >         at junit@4.13.1/org.junit.Assert.fail(Assert.java:89)
   >         at org.apache.lucene.backward_index.TestBackwardsCompatibility.testAllVersionsTested(TestBackwardsCompatibility.java:818)

Not sure how that's related to this code or how to fix it
tests pass locally

Not sure how that's related to this code or how to fix it

I think this is due to newly cut 9.7 branch so we probably just need to wait a bit more. I see all the auto testing is complaining too.

@jbellis if you are ready, I can merge and backport this change.


0 AES File found

I wanted to extract the audio files from the new release game "Wuthering Waves" on Epic Games (Non-Steam).

C:\Users\parij\Downloads\AESKeyFinder-By-GHFear-main>echo off
QuickBMS generic files extractor and reimporter 0.9.2 (64bit test)
by Luigi Auriemma
e-mail<EMAIL_ADDRESS>web:    aluigi.org
(Nov 25 2018 - 11:44:48)
               quickbms.aluigi.org  Homepage
                        zenhax.com  ZenHAX Forum
                 @zenhax @quickbms  Twitter & Scripts

No SteamStub DMR detected. Hit Enter/Return to continue scanning!
Press any key to continue . . .
QuickBMS generic files extractor and reimporter 0.9.2 (64bit test)
by Luigi Auriemma
e-mail<EMAIL_ADDRESS>web:    aluigi.org
(Nov 25 2018 - 11:44:48)
               quickbms.aluigi.org  Homepage
                        zenhax.com  ZenHAX Forum
                 @zenhax @quickbms  Twitter & Scripts

Unreal Engine Version: 4.26 [ is supported ]
By downloading and using this tool you agree that this tool is for research purposes only and that I (GHFear) am not responsible for what (you) the end user does with it.
Press any key to continue . . .
QuickBMS generic files extractor and reimporter 0.9.2 (64bit test)
by Luigi Auriemma
e-mail<EMAIL_ADDRESS>web:    aluigi.org
(Nov 25 2018 - 11:44:48)
               quickbms.aluigi.org  Homepage
                        zenhax.com  ZenHAX Forum
                 @zenhax @quickbms  Twitter & Scripts

open input file C:\Users\parij\Downloads\AESKeyFinder-By-GHFear-main\Client-Win64-Shipping.exe

open script scripts\findaes.bms

set output folder .
offset           filesize   filename

..........::::::::::256-BIT AES KEY RECOVERY - BY GHFEAR::::::::::.......... SCAN: 1/3 : Version 2.0
Finding 256-bit AES Keys in Client-Win64-Shipping.exe (This should be pretty quick!).

0 files found in 3 seconds
coverage file 0   1821%<PHONE_NUMBER> 69521304   . offset<PHONE_NUMBER>24cee4

QuickBMS generic files extractor and reimporter 0.9.2 (64bit test)
by Luigi Auriemma
e-mail<EMAIL_ADDRESS>web:    aluigi.org
(Nov 25 2018 - 11:44:48)
               quickbms.aluigi.org  Homepage
                        zenhax.com  ZenHAX Forum
                 @zenhax @quickbms  Twitter & Scripts

open input file C:\Users\parij\Downloads\AESKeyFinder-By-GHFear-main\Client-Win64-Shipping.exe

open script scripts\findaes2.bms

set output folder .
offset           filesize   filename

..........::::::::::256-BIT AES KEY RECOVERY - BY GHFEAR::::::::::.......... SCAN: 2/3 : Version 2.0
Finding 256-bit AES Keys in Client-Win64-Shipping.exe (This should be pretty quick!).

0 files found in 3 seconds
coverage file 0   1825%<PHONE_NUMBER> 69521304   . offset<PHONE_NUMBER>24cee3

QuickBMS generic files extractor and reimporter 0.9.2 (64bit test)
by Luigi Auriemma
e-mail<EMAIL_ADDRESS>web:    aluigi.org
(Nov 25 2018 - 11:44:48)
               quickbms.aluigi.org  Homepage
                        zenhax.com  ZenHAX Forum
                 @zenhax @quickbms  Twitter & Scripts

open input file C:\Users\parij\Downloads\AESKeyFinder-By-GHFear-main\Client-Win64-Shipping.exe

open script scripts\findaes3.bms

set output folder .
offset           filesize   filename

..........::::::::::256-BIT AES KEY RECOVERY - BY GHFEAR::::::::::.......... SCAN: 3/3 : Version 2.0
Finding 256-bit AES Keys in Client-Win64-Shipping.exe (This should be pretty quick!).

0 files found in 3 seconds
coverage file 0   1820%<PHONE_NUMBER> 69521304   . offset<PHONE_NUMBER>24cee4
Press any key to continue . . .

Any tips to stop me from sucking on my thumb is welcome...

It's probably due to an Epic Games DRM or some sort of Prevention method in place by the game Developers, if this was Steam I would be able to help, but unfortunately I know next to nothing about how games distributed on Epic Games Store work.

Guess what? I need to learn to open exes' now...
Btw, it has its own launcher which is downloaded from epic, from which the game is to be downloaded.

Than this guide probably wouldn't work for you, a Launcher and a Game are quite different.

No, I was talking about that game.
First we need to download the launcher from Epic store, then download the game from the Launcher, after that we have to launch the game from the launcher which will open the game in another shipping.exe
2 step process instead of direct launch from epic


⚠ BeyondHD has degraded performance

In 0eccef7, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 11537 ms

Resolved: BeyondHD performance has improved in 34da508.


Does amplify push api -y push all APIs?

Amplify CLI Version
12.2.3
Question
Ideally I would want to push a single API.
Because if I change a single REST API,
I shouldn't have to wait for the GraphQL API or other unchanged REST APIs to be pushed.

Hey @redjonzaci, thank you for reaching out. The amplify push api, will push all changes for a category and does not support pushing a single API if multiple API resource with changes are present.
Command documentation:
https://docs.amplify.aws/cli/commands/push/#subcommands

transferring to Amplify API repository.

Yes like @ykethan mentioned, when you run amplify push, it shows the full changeset and pushes them at once.

Thank you!


fix url for app service pricing

@shawnweisfeld,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@shawnweisfeld : Thanks for your contribution to the Azure documentation! The author, @azdocprs, has been notified to review your proposed change.

@odvoskin - Please review the proposed changes.  Thanks

Verfied


WIP: Circle CI and Fix failing tests

Deploy preview for hopeful-hamilton-4090b9 ready!
Built with commit fc373bb35a76e6692d5b96eebd38554eed7767ee
https://deploy-preview-692--hopeful-hamilton-4090b9.netlify.com

Closing in favor of the cleaner #700


Remaining code cleanup - Use of f.erase!

L514:
inner[0].faces.each { |f| f.erase! if(f != face) }

You commented earlier:
"Is this (f.erase!) safe? Erasing from the collection it iterates might
be problematic. It's normally safer to collect entities to erase and bulk
erase them after iterating. It's also faster to erase in bulk than individual entities"
That may be so, but I don't know how to do that. I don't really even know what this line is doing - how can you erase a 'face' that isn't a face?
And because there are so few faces, I doubt if speed matters.

Just an FYI, as to why this was failing.
Error: #<SyntaxError: D:/Documents/GitHub/my-sketchup-shapes/src/su_shapes/shapes.rb:515:
syntax error, unexpected '}', expecting keyword_then or ';' or '\n'

  faces = inner[0].faces.select { |f| if f != face}

If you read the error message, it says it was expecting a "then" keyword, which implies it also expected a statement.
WHY? Because you left the "if" inside the block, when you changed the code to use select. This method and others like any?, find and find_all only need a block that evaluates to boolean TRUE or FALSE.
So simply the expression f != face or f != outer_face will evaluate boolean and satisfy the select method's internal test when the yield from the block returns upon each iteration.

Thanks, Dan. At least I now understand what was going on then, which I certainly didn't at the time!


Cannot stub sub-child-component on mounted

Version
1.0.0-beta.16
Reproduction link
https://codesandbox.io/s/9z96nkvyor
Steps to reproduce
My TestComponent has a ChildComponent that I want to test (to add in my snapshot, because it's a slot template)
My ChildComponent contains an AppHeader, that I want to stub (so my snap should not depend on it)
I am mounting with some stubs:
const wrapper = mount(TestComponent, {
        stubs,
      });
const stubs = {
        AppHeader: '<div class="stub-appheader"/>'
      };

But the AppHeader is not stubbed in my test
What is expected?
I expect to generate a component with sub-component that can be stubbed
What is actually happening?
Sub-component are not stubbed

I think this is similar to this other issue #649
At the moment, stubs only works on the components declared in the component you pass to shallowMount and mount. I think we need to implement the dive or depth idea suggested in the above issue.
I generally find using mount generates a better snapshot that catches more errors. In practice, your component does depend on the children it renders, so I think using mount is a more accurate and useful way to use snapshots.
Is there a particular reason you can't use mount?  Until we implement the depth feature, I think that's the best way to accomplish what you are trying to achieve.

I agree with you about the ´dive ´
However using ´mount ´ in the snapshot test of the main components will
generate a lot of noise while editing a sub-...-sub-sub-component. Because
you will have to update the snapshots of all the parents, grand parents,
..., and grand-...-grand-parents.
For now, I agree with you. We can’t do better than ´mount ´but I hope
solving this bug will change that.
Le mar. 5 juin 2018 à 17:22, Lachlan<EMAIL_ADDRESS>a écrit :

I think this is similar to this other issue #649
https://github.com/vuejs/vue-test-utils/issues/649
At the moment, stubs only works on the components declared in the
component you pass to shallowMount and mount. I think we need to
implement the dive or depth idea suggested in the above issue.
I generally find using mount generates a better snapshot that catches
more errors. In practice, your component does depend on the children it
renders, so I think using mount is a more accurate and useful way to use
snapshots.
Is there a particular reason you can't use mount? Until we implement the
depth feature, I think that's the best way to accomplish what you are
trying to achieve.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue-test-utils/issues/682#issuecomment-394751052,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH-dRt8YyMDLaAkBzm01vEbQ5rWcvTYQks5t5qIqgaJpZM4UayFH
.

--
Pierre Trollé
I welcome VSRE emails. Learn more at http://vsre.info/

imho, dive and depth  would be nice to have but not related to this bug and wouldn't help jest snapshots, would they?
Consider the following:
<Header/>
<Body>
  <LazyLoaded/>
  <Cards>
      <Card/>
      .....
  </Cards>
</Body>
<Footer/>

I'd like to stub only LazyLoaded because I am not interested into it, and I'd like the snapshots rendering the whole tree except LazyLoaded (because of something I don't really care)...

Maybe I am not using snapshots correctly, but to me, snapshots should capture the entire dom as rendered, aka actual html elements like <div>, <input> etc, not custom components. At least from my point of view, the snapshot should contain the actual dom that will be rendered in the browser, so you should use mount, not shallowMount. I want to know if my the actual dom I'm sending to the browser is correct or not.
If you want to make sure <Body>, <Cards> and <Card> are rendered, write this:
const wrapper = shallowMount(Foo)

expect(wrapper.find({ name: "Body" }).exists()).toBe(true)
expect(wrapper.find({ name: "Cards" }).exists()).toBe(true)
expect(wrapper.findAll({ name: "Card" })).toHaveLength(4)

It is much clearer what should and shouldn't exist that a snapshot, and if one of the components suddenly disappears you will get " should exists, but doesnt" instead of having to manually compare two snapshots.
Instead of going out of your way to avoid testing something you don't care about, just focus on testing what you do care about.

Whatever your preference for snapshot tests, this is a bug that we'll fix


Store incoming and outgoing randomness

It's not enough to store incoming and outgoing randomness in the DB, as this is cryptographic data without which funds might be lost. As the DB schema changes, this randomness can get lost if it's not also written to disk in the files incoming_randomness.dat and outgoing_randomness.dat found in <data_dir>/<network>/wallet.
For each incoming/outgoing transaction, we probably want to store the randomness as well as the block height and block digest in which the UTXO was mined. Then recovering the membership proofs and populating the wallet DB should not be too hard.

I'm a little confused. Please elaborate.

Storing sender randomness and AOCL index should be sufficient. From this data, the mutator set membership proof can be restored.

[ArchivalMutatorSet](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html) has a method called restore_membership_proof that we can call on startup. The new data structure IncomingUtxoRecoveryData contains the data needed. The function to restore the database should probably be implemented as a method on GlobalState since it will read data from both the wallet and the archival state.
This function should take the digest of the block tip, maybe as a lock on LightState, and then see if it can find a matching MonitoredUtxo in the database for each IncomingUtxoRecoveryData instance. If it cannot, it can generate a new MonitoredUtxo from the IncomingUtxoRecoveryData and the ArchivalMutatorSet and then insert this into the wallet DB.

With e1327631512d3ddc90947870871f27affca62ed7, we can now restore monitored UTXOs/the wallet database from disk.


Add NOTICE file for the controller server

As the title mentioned, this PR adds the NOTICE file for the controller dependencies.

It will be better to use the script to generate NOTICE and its license file automatically.

	github.com/gin-gonic/gin v1.9.1 x
	github.com/go-playground/validator/v10 v10.14.0
	github.com/go-redis/redis/v8 v8.11.5 x
	github.com/go-resty/resty/v2 v2.12.0
	github.com/go-zookeeper/zk v1.0.3 x
	github.com/olekukonko/tablewriter v0.0.5 x
	github.com/prometheus/client_golang v1.11.1 x
	github.com/spf13/cobra v1.8.0 x
	github.com/stretchr/testify v1.8.3 x
	go.etcd.io/etcd v3.3.27+incompatible x
	go.etcd.io/etcd/client/v3 v3.5.4 x
	go.uber.org/atomic v1.7.0 x
	go.uber.org/zap v1.21.0 x
	gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0 x

seems licenses for github.com/go-playground/validator/v10, github.com/go-resty/resty/v2 is missing..


I can't get games list

I use new version rclone and mounted success, now the program looks is ok.
But the remote windows has nothing.
I use rclone_ffa_271221.conf and rclone_all_271221.conf file.
In the config file the expire is 2021-11-09 : "expiry":"2021-11-09T19:01:42.8610979-05:00".
Please tell me how I can do?

My system is macos

I get game list now. I'm download rclone file from https://rclone.org/downloads/ to replace the old version that copy from macos /usr/local/bin/rclone.
thanks a lot

Yes. I found reason  https://github.com/vKolerts/sidenoder/issues/25#issuecomment-1018618845


feat: remove nodejieba from peerDependencies

Coverage remained the same at 78.316% when pulling e76bb6490b749cab6b17607349ab04f226d8eee4 on steve/drop-nodejieba into 08b99674b16cc67772f20eed9c82c40d509b1f17 on master.


Save state issue solved.

Found the issue.  If you are using retro achievements and have hardcore mode active it disables the ability to load save states.
that explains why it happened on both versions of retro arch and the two different cores.
Just wanted to follow up in case anyone else has the same issue. Now you know what’s going on.

Ahh that makes sense.  Thank you very much for sharing that.

Ahh that makes sense.  Thank you very much for sharing that.


🐛 Remove navtabs.js

This commit will revert a previous change introducing the navtabs.js file to make the nav tabs work for Hydra because it inadvertently broke things for Hyku.

favoring modifying instead of removing #843


Bug fixes, some minor improvements, and exporting a HTML file for audio-only inputs without YouTube feature

…en writing files, 3-digit millisecond precision, and exporting a HTML file for audio-only inputs without YouTube

This is great, thank you very much.
I just added the changes, other that 3-digit timestamps, because whisper makes 0.02s audio samples.


Add interceptor for metric pixels

Task/Issue URL: https://app.asana.com/0/1125189844152671/1208490557030193/f
Description
Adds an interceptor to be used with metric pixels for a/b/n framework
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#5163  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @marcosholgado and the rest of your teammates on  Graphite


Can't add dependency  in my  project.It shows Error

@pankajjangid I'm sorry. I have to apologise because it's still not available on maven/jcenter. I hope it will be available between today and tomorrow. I'll send you an update when it becomes available for download.

Please ,do it fast ,it is look like very useful & great .
Thanks

@pankajjangid You can use the jitpack version until it gets published officially.
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
compile 'com.github.SchibstedSpain:Leku:0e6cef1b0d'
}

@pankajjangid It's now available with the correct package on jcenter so you don't need anymore the jitpack version. Sorry for the inconvenience. Hope this library is useful for you. Enjoy!

compile 'com.schibstedspain.android:leku:1.0.0'

If you have more problems don't hesitate to create more "issues". 😉
Regards.
Solved with the PR #10


⚠ Bofrost.lu has degraded performance

In 6cfcfa6, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1320 ms

Resolved: Bofrost.lu performance has improved in 39f816e after 6 minutes.


Tags support

Tag support.
Tags are different to categories, but very similar from a tech perspective. Tags are more "freeform" - a post could have many tags, whereas categories are more structured in nature. Categories can also have their own RSS feeds, tags won't (for now at least - perhaps could reconsider).
Suggested features:

Multiple tags per post
Needs a URL prefix, configurable, but default would be "/tag/foo" or "/tags/foo"
URLs should support multiple tags, e.g. "/tag/foo+bar" or "/tag/foo/bar/"
Perhaps plugin hooks to support additional functionality - e.g. auto-generate tags based on content.

Suggested database schema:

title
slug

(similar to category but no  description required)


[AutoPR hdinsight/resource-manager] [HDInsight] - Update configuration related APIs

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5477

(message created by the CI based on PR content)

Codecov Report

Merging #4683 into restapi_auto_hdinsight/resource-manager will decrease coverage by 0.01%.
The diff coverage is 26.08%.

@@                             Coverage Diff                             @@
##           restapi_auto_hdinsight/resource-manager    #4683      +/-   ##
===========================================================================
- Coverage                                    49.49%   49.48%   -0.02%
===========================================================================
  Files                                         6341     6344       +3
  Lines                                       177577   177668      +91
===========================================================================
+ Hits                                         87889    87912      +23
- Misses                                       89688    89756      +68

Impacted Files
Coverage Δ

.../hdinsight/operations/configurations_operations.py
74.66% <10.52%> (-21.77%)
:arrow_down:

...ure-mgmt-hdinsight/azure/mgmt/hdinsight/version.py
100% <100%> (ø)
:arrow_up:

...e/mgmt/hdinsight/operations/clusters_operations.py
59.85% <11.62%> (-9.18%)
:arrow_down:

...-hdinsight/azure/mgmt/hdinsight/models/__init__.py
52.58% <50%> (-0.15%)
:arrow_down:

...t/models/update_gateway_settings_parameters_py3.py
50% <50%> (ø)

...zure/mgmt/hdinsight/models/gateway_settings_py3.py
55.55% <55.55%> (ø)

...gmt/hdinsight/models/cluster_configurations_py3.py
66.66% <66.66%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 874ca27...13c911f. Read the comment docs.

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4762


meta: make named types implicitly visible on first use

Add some tests that use meta_any across boundaries and guarantee that they won't break in future.

See this repo for further details on a corner case.

Currently, it's not enough to give a name to a type and share the context to make meta work across boundaries.
We need also to put somewhere a line like the following:
entt::meta<uint32_t>().type();

It's annoying and may seem superfluous. Probably named types should be make visible implicitly on first use. Currently, only the meta node is created but it's not automatically exported yet.

Implicit registration for named types requires also a reset all function to invoke when we release a library.
This is because we don't know anymore where a type is made visible and there is the risk of dangling meta types.
We can use the local context to keep track of locally created types. A local implicit chain is required on the meta_type too.

I'm closing this issue without changes because making the named types implicitly visible at first use would introduce a subtle problem.
In short, it's impossible to detect when two or more different types are made visible with the same name, locally or across boundaries. For example, when the main and the shared context record two different types with the same identifier.


Proposal for a "Spacing" axis ('spac') has been submitted. Please discuss in this thread.

@PeterCon having a link to the proposal would help, I think
https://github.com/Microsoft/OpenTypeDesignVariationAxisTags/blob/master/Proposals/Spacing_Axis/ProposalSummary.md

Yes, that's the link. Thanks for adding.

This proposal has the additional benefit that it should implement "functional spacing" or control the "perceived effects of spacing", i.e. as an optical axis, it could, depending on design, employ additional tricks:
If certain glyphs clash unpleasantly at tighter spacing, then some glyphs could either vary slightly (for example an overhanging terminal if an "f" might be shortened).
Also, with feature variations, the creator could explicitly decide at what point to enable or disable certain ligatures.
This axis could employ width adjustment of certain glyphs, for example marks that range over several glyphs.
As a result, the user would get correctly "respaced" text (tightened or loosened) with all kinds of corrections that are necessary to make the result "look good".

Also, if a design is multi-script or non-Latin, the designer could specify that only certain glyphs are subject to spacing while others aren't (because it is not desired).
For connected designs (e.g. calligraphic scripts or Arabic), the font could implement the functional notion of "spacing" differently — similar to how Arabic justification works.

For Indic scripts that use a topline, as the distance between the distinctive changes, the topline could also scale accordingly so it never gets interrupted.
For color fonts or fonts that have a "reversed body" or a "background" (a visible "black" rectangle box and "white" letterforms inside), that background could also stretch so that it remains continuous.
Generally, any types of connections between the glyphs where it is desired that these connections remain connected when spacing is changed, could vary in width of the ink so that they indeed remain connected, while the distinctive or constituting parts of letterforms could change their distance between them.
This is different from the width axis where the constituting parts of the letterforms change their width, including counters.

In vertical typesetting, can we use this axis to adjust the vertical spacing?

I think it might be safer to consider a separate axis "vspc".

Even only because the "spac" axis might likely interact with the "kern" feature but the "vspc" axis could interact with the "vkrn" feature. Since the same glyphs would need different aspects changed if we are changing horizontal vs. vertical spacing, it might be better to consider two separate axes.
(I know: I think it's a bit annoying that so many things related to vertical typesetting get a "v" prefix while things for horizontal typesetting get away with no prefix. That's pure directionism and a clear sign of discrimination.)

Potentially, if the implementation of a spacing axis in a font only affects glyph metrics but not outlines or glyph selection (GSUB), then it could be used for both vertical and horizontal layout: both metrics would be affected by the setting for that axis, but only one or the other will get used in a given layout.
But I suspect many would like to make changes to outlines or glyph selection in ways that assume one direction or the other. So, Adam's suggestion of a separate vertical spacing axis may be preferable.
Btw, one important thing to note: when talking about "vertical" layout, the thing that matters is not the orientation of the baseline relative to a frame or page, but rather the layout mode used for individual runs of text along that baseline. For example, if connected Arabic or Devanagari text appears within a vertical line of CJK text, such that the Arabic/Devanagari has expected horizontal-layout appearance if the page is rotated 90 degrees CCW, then that Arabic or Devanagari run is using a horizontal layout mode. An alternative layout mode for Arabic or Devanagari might be to stack characters or clusters with the glyphs rotated 90 degrees relative to the baseline.

The name of this axis is too broad for all scripts and designs.
Whether it is vertical or horizontal, proportional or monospace is important to the name and definition.
Thanks.

Btw, one important thing to note: when talking about "vertical" layout, the thing that matters is not the orientation of the baseline relative to a frame or page, but rather the layout mode used for individual runs of text along that baseline.

Ah, it's important to distinguish upright and sideways (for those unfamiliar, please refer CSS Writing Modes or UAX #50). I agree with @twardoch on the "vspc" axis, and in vertical typesetting, smart applications may adjust "vspc" for upright glyphs and "spac" for sideways glyphs.
Instead of "spac"/"vspc", it would be clearer to call them "xspc"/"yspc" based on the glyph coordinate system, but we have many "v"s in the OpenType world already.

This is nice axis that may enable very interesting scenarios, but spec is not at the point that is sufficient to start using it. Spacing support from the font requires more complex definition than just (sorry for speaking bluntly from perspective of layout engine) "increasing/decreasing width of glyphs with potential adjustments in context of neighbor glyphs".
Tracking or spacing is applied between glyphs. This means that first or last glyph in the run doesn't get width increase. This means variable font should somehow be aware of context surrounding particular run of text inside paragraph. More complex scenario involves tracking between runs of different scripts, fonts, or layout direction. CSS letter-spacing doesn't provide a lot of typographic freedom, but it allows layout engine to control this kind of scenarios. We need similar control for spacing, but at the same time enable full potential of proposed axis.
Current proposal doesn't cover this. In fact, I don't know of any existing mechanism to support necessary functionality by simply creating another instance with different values of 'spac' axis and let font to the work. But we may be able to invent one, probably by using combination of variation axis, layout features, and/or protocol for interaction between font and layout engine.

Regarding the spacing axis, and Frank’s comments on TypeDrawers, http://typedrawers.com/discussion/2088/otvar-spacing-axis
...the idea of including, what is over the range a given spacing axis, a replacement for tracking, is an example of an axis’ potential conflict with application functionality where “double-transformations” can occur.
E.G., Axis-Praxis ignorance of blended axes, when set off to randomly selecting Amstelvar instances, is a cousin-like example of this. Selecting a random instance among the registered axes far from Amstelvar's default, and then selecting a parametric axis location far from the default, is likely to produce instances with a unintended double-deltas, double-transforming some parts of glyphs. This has been evident for over a year, and should be no surprise to the design audience.
The situation in the Spacing axis’ case, is that a variable font with such an axis needs to inform the OS to tell the app to change the behavior of the tracking, to avoid allowing it twice. This situation has cases everywhere. Variable fonts can contain a wght axis that should not be faux bolded, a wdth axis that should not be horizontally scaled, opsz that should not be zoomed, and a slant axis should not be reslanted by unwitting double-transformation.
If, e.g. an application currently working as Axis-Praxis does, were set loose finding arbitrary instances among the registered axes of a variable font, and among the instances with an application’s faux bolding, skewing, horizontal scaling and zooming, the majority of instances would be more screwed up than instances Amstelvar produces, not for the least of reasons being, that all of Amstelvar’s transformations are controllable in the variations, and thus can be subset out of existence without disturbing any applications.
Many unregistered axes, like variable fonts with stroked contours, underlines, drop shadows or baseline shifts, could be double-transformed as well., which makes the current mode of slowly moving, Particularly  on variations that already exist the world, somewhat misguided imho.
And I think a Spacing axis is something that falls directly into this category.

Axis-Praxis ignorance of blended axes

Here is a GIF snapshot of what knowledge of blended axes looks like :)

I’m gonna keep this thread on topic, and I guess now John and Frank should demonstrate deployment of a spacing access.
Sent from my iPad

On May 15, 2018, at 8:20 PM, John Hudson<EMAIL_ADDRESS>wrote:
What you're calling blended axes — a good term, by the way — are just one possible implementation of a relationship between parametric and optical axes. They happen to be the implementation that is currently possible within the OT variations architecture, but double-transformation is potentially problematic for any implementation that involves mixing parametric and optical axes within the same architectural space. Even if we come up with an architecture for virtual or meta axes instead of blended axes, there need to be rules and probably technical controls to prevent mixing transformations within the variable design space.
I emphasised that last clause because I think the problem of double transformations from mixing parametric and optical axis adjustments in variable space is different from the problem of double transformation from software applying two different text layout or display mechanisms to the same glyphs. All the currently registered OT variations axes have specifically defined functionality in layout, and constitute new, variable font specific mechanisms to achieve kinds of display that can already be achieved using different mechanisms with static fonts. Indeed, it is the pre-existence of such standard mechanisms — weight class, for example — that made it easy to define the scale and behaviour of the initial five registered axes in ways that would be interoperable with existing display outcomes. This is also why I think some kind of tracking axis looks like it could be a viable candidate for similar treatment, since tracking mechanisms already exist, have some standard scales, and it would be possible to define axis behaviour in these terms. In the same way that the optical weight or width axis replaces the mechanisms of family mapping and weight/width class, I would assume a tracking axis would replace the tracking function as applied to text in non-variable fonts.
That's not to say that some software could easily get it wrong, but that the correct behaviour can be defined in the axis registry without any change being needed to the format; whereas, I am not sure that is the case with regard to the problem of double transformations within the design space from mixing different axis types.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Lpozo i000 update tests

Improve the coverage adding new tests and reviewing others for modules utils.py and media.py

I have not modified the tests for profile.py


oil: 0.9.6 -> 0.9.7

Motivation for this change
upstream update, no announcement for this release
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@abathur you might be interested by this (although there isn't much to review really).


Map text sizes to font sizes

Map text sizes to font sizes where it makes sense.

BEFORE
AFTER (No visual changes expected)

Closes https://github.com/lifeomic/chroma-react/issues/52


Removeflag

What was wrong?
output_values defaults to ALL_OUTPUT_VALUES in , wanted to be able to remove certain flags from that list
How was it fixed?
Now it defaults to None and is set to ALL_OUTPUT_VALUES in case removeflag doesnt exist in kwargs, if removeflag exists it passes the same list minus the removeflag
Cute Animal Picture

put a cute animal picture here.

Closing


KAFKA-17781 add psutil to e2e dockerfile and upgrade ducktape version

Jira: https://issues.apache.org/jira/browse/KAFKA-17781
when I run e2e on 3.9 branch, is has error about ModuleNotFoundError: No module named 'psutil'
That ducktape 0.12 is released (https://github.com/confluentinc/ducktape/releases/tag/v0.12.0), and it requires psutil now (https://github.com/confluentinc/ducktape/commit/33447b6e3a867deec6c5835631d1b1d22d3fea21)
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

It is work on my local mechine.


Update the AUTOCUT issues with the latest build fail information

Description
Update the AUTOCUT issues with the latest build fail information
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/3809
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Tested invoking gh cli commands
gh issue list --repo prudhvigodithi/job-scheduler -S "[RELEASE] Release version 2.9.0 in:title" --json number --jq '.[0].number' ----> outputs 25
gh issue comment 25 --repo prudhvigodithi/job-scheduler --body "testcomment"-----> outputs https://github.com/prudhvigodithi/job-scheduler/issues/25#issuecomment-1648766065

Tested using the library with the distribution build: https://ci-staging.opensearch.org/job/pgodithi/job/distribution-build-opensearch/6522/
Closed Issue: https://github.com/opensearch-project/performance-analyzer/issues/452


Config consistency

Here is the config update.
I havent changed most of the documentation, so these are not really the official config. However, we should move to deprecating the old format quickly.
See commit messages for further details.

I patched this into my own repo (is current with yours), and looks like
some typos?
root@agent-p:~/faucet/tests# ./faucet_mininet_test.py
required binary/library ryu-manager --version version is 4.4
required binary/library ovs-vsctl --version version is 2.3
required binary/library tcpdump -h version is 4.5
required binary/library nc present (nc from the netcat-openbsd)
required binary/library vconfig present (the VLAN you are talking about)
required binary/library fuser -V version is 22.2
required binary/library mn --version version is 2.2
required binary/library exabgp --version version is 3.4
required binary/library pip show influxdb version is 3.0
required binary/library pylint --version version is 1.6
No config file found, using default configuration
No config file found, using default configuration
************* Module org.onfsdn.faucet.gauge
E:141,38: Undefined variable 'sef' (undefined-variable)
E:147,37: Undefined variable 'ryudp' (undefined-variable)
E:148,26: Undefined variable 'ryudp' (undefined-variable)
lint of gauge.py returns an error
pylint must pass with no errors
On Fri, Aug 5, 2016 at 10:56 AM, KitL<EMAIL_ADDRESS>wrote:

Here is the config update.
I havent changed most of the documentation, so these are not really the
official config. However, we should move to deprecating the old format
quickly.
See commit messages for further details.
You can view, comment on, or merge this pull request online at:
https://github.com/REANNZ/faucet/pull/149
Commit Summary

Add concurrencytest to dependencies
Change gauge docker to use docker-compose for db
Big Config Changes.

File Changes

M Dockerfile.gauge
https://github.com/REANNZ/faucet/pull/149/files#diff-0 (42)
M README.docker.md
https://github.com/REANNZ/faucet/pull/149/files#diff-1 (29)
A docker-compose.yaml
https://github.com/REANNZ/faucet/pull/149/files#diff-2 (32)
M setup.py https://github.com/REANNZ/faucet/pull/149/files#diff-3
(2)
A src/ryu_faucet/org/onfsdn/faucet/conf.py
https://github.com/REANNZ/faucet/pull/149/files#diff-4 (11)
A src/ryu_faucet/org/onfsdn/faucet/config_parser.py
https://github.com/REANNZ/faucet/pull/149/files#diff-5 (248)
A src/ryu_faucet/org/onfsdn/faucet/db_conf.py
https://github.com/REANNZ/faucet/pull/149/files#diff-6 (23)
M src/ryu_faucet/org/onfsdn/faucet/dp.py
https://github.com/REANNZ/faucet/pull/149/files#diff-7 (264)
M src/ryu_faucet/org/onfsdn/faucet/faucet.py
https://github.com/REANNZ/faucet/pull/149/files#diff-8 (18)
M src/ryu_faucet/org/onfsdn/faucet/gauge.py
https://github.com/REANNZ/faucet/pull/149/files#diff-9 (440)
M src/ryu_faucet/org/onfsdn/faucet/port.py
https://github.com/REANNZ/faucet/pull/149/files#diff-10 (40)
M src/ryu_faucet/org/onfsdn/faucet/valve.py
https://github.com/REANNZ/faucet/pull/149/files#diff-11 (7)
M src/ryu_faucet/org/onfsdn/faucet/vlan.py
https://github.com/REANNZ/faucet/pull/149/files#diff-12 (66)
A src/ryu_faucet/org/onfsdn/faucet/watcher.py
https://github.com/REANNZ/faucet/pull/149/files#diff-13 (331)
A src/ryu_faucet/org/onfsdn/faucet/watcher_conf.py
https://github.com/REANNZ/faucet/pull/149/files#diff-14 (39)
M tests/config/testconfig.yaml
https://github.com/REANNZ/faucet/pull/149/files#diff-15 (65)
A tests/config/testconfigv2.yaml
https://github.com/REANNZ/faucet/pull/149/files#diff-16 (60)
A tests/config/testgaugeconfig.conf
https://github.com/REANNZ/faucet/pull/149/files#diff-17 (1)
A tests/config/testgaugeconfig.yaml
https://github.com/REANNZ/faucet/pull/149/files#diff-18 (29)
M tests/faucet_mininet_test.py
https://github.com/REANNZ/faucet/pull/149/files#diff-19 (53)
M tests/test_config.py
https://github.com/REANNZ/faucet/pull/149/files#diff-20 (195)

Patch Links:

https://github.com/REANNZ/faucet/pull/149.patch
https://github.com/REANNZ/faucet/pull/149.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/REANNZ/faucet/pull/149, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEgZ10ukS_m3dWWfcEySrtHY_z9Gt7p4ks5qcm4BgaJpZM4JdM3r
.

Can I suggest also - you have some nicely separable changes (Eg the docker change). Perhaps they could be submitted as part of a separate PR?


Include scss-lint configuration file

It would be great to have a scss-lint file included in the stylesheets assets folder.
As I mostly copy over the _variables.scss file and as consistency reason.

Since this is just an autogenerated translation of the upstream repo, I don't really see what the point would be.

The point is to allow sass lint or style lint to cover bootstrap, as part of continuous integration.
Sass-lint now supports ignored files. Otherwise, here is partial gulp task to automatically clean bootstrap-variables.scss. See gulp-stylefmt Github site for details on its configuration.
const replace         = require('gulp-replace'),
stylefmt        = require('gulp-stylefmt');
gulp.task('stylefmt', function () {
return gulp.src('src/bootstrap-variables.scss')
.pipe(replace('"', "'"))
.pipe(replace(" 0", " "))
.pipe(stylefmt())
.pipe(gulp.dest('dest/'));
});
// for some reason, quotes & zeros did not automatically clean up.


Added infrastructure for varnish purging and a test

Moving Varnish purging to change-propagation.
cc @wikimedia/services

Coverage decreased (-0.7%) to 92.72% when pulling 650142bac4df1d4aec63618f9bc947b05d6c4cc8 on Pchelolo:purge into 98a865aea548074df8a9cba7576aacc8b477dde0 on wikimedia:master.

Coverage decreased (-0.7%) to 92.72% when pulling 9285ba6a8ebdee9e5d5682aabe0229a2e7349135 on Pchelolo:purge into 98a865aea548074df8a9cba7576aacc8b477dde0 on wikimedia:master.

:+1: on the code change from me.
How (in which order) should we deploy this?

@gwicke I think that these PRs that add use-cases for change-prop should go one-by-one.

@Pchelolo, another concern for migrating purging is executing those purges twice. Can we target only a subset of purges at first?

@gwicke For that we will add a more targeted match in puppet config, but here we need the whole thing right away

Aren't purges supposed to be handled by a separate service (as we discussed with the Performance team) that listens to the resource_changed topic?

@d00rman, my understanding is that purge handling in the change propagation service would be a temporary solution, until the separate purge service arrives & takes over. I would not be surprised if that will take some time, and will require some more thinking around XKey & timing of purges.

This doesn't look right to me. The service purges RESTBase content as soon as MW emits a purge event? There is a strong possibility there will be a window of time where the content has been purged, but not yet re-rendered. The correct way would be for it to match api/rest_v1 routes in the resource_change (which are anyway emitted by RESTBase) and then purge that content.

@d00rman but that's exactly what's happening (https://github.com/wikimedia/change-propagation/pull/16/files#diff-541b6e195e9da580fc0bd42761ee761fR85)

Coverage decreased (-0.8%) to 93.962% when pulling d784ea5960c3982bc7cbb4c55855933b12d8ffdc on Pchelolo:purge into a9ec7376cf1b35626ce16e2bb28bdfec71a8849a on wikimedia:master.

@d00rman I've addressed your comments

Coverage decreased (-0.8%) to 94.318% when pulling 6314be91dc2c8cd768d1d2d6fb43d610e9998d96 on Pchelolo:purge into 0dc5c4248fea56ab3254be441a38fd974d3098eb on wikimedia:master.


Why does my add to cart work on remote, but not on local ?

This has happened to me on all my next commerce projects. Any chance I can debug this ?

I also Have same Problem

Same issue here with Shopify integration.  Doesn't throw of console error either.

Hey there! Thank you for opening this issue. We have decided to take Next.js Commerce in a new direction and will be closing out current PRs and issues due to this change. Please see this PR for more details: https://github.com/vercel/commerce/pull/966


Release 1.0.2

1.0.2 (2017-08-28)
Compatibility

Kuzzle
Proxy

1.0.0
1.0.0

Bug fixes

[ #94 ] Fix error code in case of timeout   (ballinette)

Codecov Report

Merging #97 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #97   +/-   ##
=======================================
  Coverage   97.78%   97.78%
=======================================
  Files          17       17
  Lines         678      678
=======================================
  Hits          663      663
  Misses         15       15

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aaefcea...c0c036a. Read the comment docs.


Field Typing and missing attributes

So apologies if this is incorrect as I dont have any clue about rust with python but the following things I have spotted in the bflw file:

datetime incorrectly typed
unused fields (I think they are not implemented) not correctly typed such as orders, matches, line max min, key line defs
Order of class in file (im not sure if this is a non issue but my interpreter doesnt like it)
some of the typing on the object references was off

Again apologies if none of this makes sense to how rust works with python. below ive made some changes and added some comments. Would be good to see if anything makes sense in changing:
from datetime import datetime
from typing import Iterator, Optional, Sequence, List, Dict, Any
import betfair_data

class BflwAdapter(Iterator[betfair_data.File]): ...

class MarketDefinitionRunner:
    adjustment_factor: Optional[float] = None
    bsp: Optional[float] = None
    handicap: float
    name: Optional[str] = None
    removal_date: Optional[datetime] = None
    selection_id: int
    sort_priority: int
    status: str

class MarketDefinition:
    bet_delay: int
    betting_type: str
    bsp_market: bool
    bsp_reconciled: bool
    complete: bool
    country_code: str
    cross_matching: bool
    discount_allowed: bool
    each_way_divisor: Optional[str] = None #TODO added missing
    event_id: str
    event_name: Optional[str] = None # changed from eventName
    event_type_id: str
    in_play: bool
    key_line_definitions: Optional[Dict[str, Any]] = None #TODO added create objs? seems to be different from market_book version
    line_interval: Optional[float] = None #TODO lineMinUnit: Optional[float] = None
    line_max_unit: Optional[float] = None #TODO lineMaxUnit: Optional[float] = None
    line_min_unit: Optional[float] = None #TODO lineInterval: Optional[float] = None
    market_base_rate: float
    market_time: datetime
    market_type: str
    name: Optional[str] = None
    number_of_active_runners: int
    number_of_winners: int
    open_date: datetime
    persistence_enabled: bool
    price_ladder_definition: Dict[str, Any] #TODO create an obj? priceLadderDefinition: Dict[str, str]
    race_type: str # raceType: Optional[str] = None
    regulators: List[str]
    runners: List[MarketDefinitionRunner]
    runners_voidable: bool
    settled_time: Optional[datetime] = None
    status: str
    suspend_time: Optional[datetime] = None
    timezone: str
    turn_in_play_enabled: bool
    venue: Optional[str]
    version: int

class RunnerBook:
    adjustment_factor: float
    ex: betfair_data.RunnerBookEX
    handicap: float
    last_price_traded: Optional[float] = None
    removal_date: Optional[datetime] = None
    selection_id: int
    sp: betfair_data.RunnerBookSP
    status: str
    total_matched: float
    matches: List[Any] = []
    orders: List[Any] = []

class MarketBook:
    bet_delay: int
    bsp_reconciled: bool
    complete: bool
    cross_matching: bool
    inplay: bool
    is_market_data_delayed: bool
    last_match_time: datetime
    market_definition: MarketDefinition
    market_id: str
    number_of_active_runners: int
    number_of_runners: int
    number_of_winners: int
    publish_time: datetime
    publish_time_epoch: int
    runners: List[RunnerBook]
    runners_voidable: bool
    status: str
    total_available: float
    total_matched: float
    version: int
    streaming_snap: bool #TODO added for compatability
    streaming_unique_id: int #TODO added for compatability
    streaming_update: Dict[str, Any] #TODO added the last delta message

    _data: Dict[str, Any] #TODO added dict version of market_book object

class File(Iterator[Sequence[MarketBook]]):
    def __init__(self, path: str, bytes: bytes, cumulative_runner_tv: bool = True) -> None: ...
    file_name: str

Possibly any attribute on the BaseResource also
 def __init__(self, **kwargs):
        self.elapsed_time = kwargs.pop("elapsed_time", None)
        now = datetime.datetime.utcnow()
        self._datetime_created = now
        self._datetime_updated = now
        self._data = kwargs


How to disable automatic syntax highlighting in blocks of code?

From what I understand, highlight.js working underneath Marp does automatic syntax highlighting.  I am also able to specify my desired syntax color scheme manually. I am not sure how I can disable any syntax highlighting in a code block.

Does specifying language as text help?

It's perfect! Thanks a lot! Where did you find it?

It's the standard way to set the language for markdown code blocks and text
blocks are unformatted
On 24 Aug 2016 5:43 PM, "Mateusz Piotrowski"<EMAIL_ADDRESS>wrote:

It's perfect! Thanks a lot! Where did you find it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yhatt/marp/issues/81#issuecomment-241983055, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAX7DsiOWlwHPg_oPQ24AnEwLGOur7z0ks5qi_YDgaJpZM4Jrf3m
.


"az ml online-deployment update" doesn't update instance_type from yaml file

Hi,
We are trying to change the instance_type of an existing online-endpoint deployment from "defaultinstancetype" to something else (already created).
We updated the yaml file that was used to create the endpoint originally to point to the new instance_type
---
$schema: https://azuremlschemas.azureedge.net/latest/kubernetesOnlineDeployment.schema.json

endpoint_name: ENDPOINT_NAME_00
type: kubernetes
name: DEPLOYMENT_NAME_00

instance_type: NEW_INST_TYPE_00
# instance_type: defaultinstancetype
instance_count: 1
...

Command executed
az ml online-deployment update -f ./azml.deployment.yml -o json --resource-group RGNAME --subscription SUBS_ID --workspace-name WS_NAME
Any alternative besides the following?

remove/redeploy endpoint+deployment
deploy new deployment, move traffic there, to then remove previous deployment?

We were not able to finds anything in the documentation mentioning that instance_types cannot be created.
If argument is ignored, prob would be safer to either abort update or, at least, provide a warning (even if in verbose mode).
Thanks

Hi Joao, today deployment update can't change instance type. The recommended behavior is #2 as you mentioned that deploy a new deployment, move traffic there, and delete the old one.  This method is much more secure than updating the old deployment itself.

Thanks.
Maybe this could be added to documentation or, as above, provided as warning on "az ml online-deployment update".


Added touchgrass command

This adds the touchgrass command which tells the specified user to go outside and touch grass, perhaps taking a shower while they're at it.

Closing because I implemented this in robbit


Move regular Hive numbers into spreadsheet

Rather than listing here: https://www.notion.so/lbry/Swarm-Initiative-f27006038feb489f8f5322f851175a1e
This can be a sheet inside of the existing one rather than an entirely new document.
Please also create a weekly event reminder to do this.

updated here: https://docs.google.com/spreadsheets/d/17nygut0eOZYOB1rs1piaXjD7jiJ3WloVptzjq8esbVA/edit?pli=1#gid=1102324130
i set reminder.


Enhance the lib documentation with scaladoc

It's necessary to enhance the library documentation with better scala docs

Opened a pull request #12

thx @victormazevedo


Checking login status before adding products into the wishlist

Displaying additional warnings to check if the user is logged in to the account or not before adding products into the wishlist.

This will inform users to login first and then add the products to the Wishlist


to_{binary format} does not provide a mechanism for specifying a custom allocator for the returned type.

What is the issue you have?
basic_json provides an allocator that is passed to the types used for deserialisation, but there is no way of specify an allocator to use for the object that is returned by to_bson, to_cbor, and so on.  The adaptor for output is explicitly specialised on std::vector without providing a mechanism for specifying the allocator that std::vector uses.

You are right, allocators are currently not supported. I think it would be possible to add such support by adjusting the output and input iterators.

#2989 is ready to review.


Devops: Add Ubuntu 22.04 to testing matrix

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.78%. Comparing base (eba5ede) to head (9975e2d).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
- Coverage   95.48%   93.78%   -1.70%
==========================================
  Files           2        2
  Lines         177      177
==========================================
- Hits          169      166       -3
- Misses          8       11       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.