Confusing Double-Negative in Lambda Definition

https://github.com/MicrosoftDocs/azure-docs/blob/7189052293ccf3bf6d896b42253d96f79d940236/articles/azure-resource-manager/bicep/bicep-functions-lambda.md?plain=1#L43

The lambda expression applied to each input array element. If false, the item will be filtered out of the output array.

Rewording this would make it easier to understand the true/false relationship. Example:

The lambda expression is applied to each input array element. If the result is true, the item will be included in the output array; otherwise, the item is discarded.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: fe79e380-35c0-a134-0c41-28ccdeafc30e
Version Independent ID: faffde9d-a3d5-10b6-7720-bfa4fc863a3b
Content: Bicep functions - lambda - Azure Resource Manager
Content Source: articles/azure-resource-manager/bicep/bicep-functions-lambda.md
Service: azure-resource-manager
Sub-service: bicep
GitHub Login: @mumian
Microsoft Alias: jgao

@nerddtvg Thanks for sharing this feedback. We have verified and updated the document as required. The update will go live in less than 24 hours. Thanks again!


The m3u8 file saved as .txt cannot be played.

Hello, I can't play the link below.
HLS: https://finlandiya.club/cdn/down/c5c5142c38cb63cb33b10bd43fdc423f/720p/720p.txt

@Serkan-Karacelikler First of all please don't share links to copyrighted content.
Second, you are not providing any details, not sure what you're trying to do and what does it have to do with this plugin.

@Serkan-Karacelikler First of all please don't share links to copyrighted content.
Second, you are not providing any details, not sure what you're trying to do and what does it have to do with this plugin.

I say Is there a way to run .txt links with exoplayer?

You have to loop through the file as array

Can you show an example?

file="/path/to/file.m3u8"
duration="1.337"
make_playlist() {
echo "#EXTM3U"
echo "#EXT-X-MEDIA-SEQUENCE:${1}"
echo "#EXT-X-DISCONTINUITY-SEQUENCE:${1}"
echo "#EXT-X-DISCONTINUITY"
echo "#EXTINF:${duration},"
echo "http://example.com/live01.ts"
echo
}
for ((x=0;;x++)); do
make_playlist "${x}" > "${file}"
sleep "${duration}"
done


Add Zone.onEnter / onLeave

It would be convenient to have a callback for zone.onEnter and zone.onLeave in the ZoneDescriptions.

Hi. Will it be implemented? It would be very convenient.

I'm wary about adding more overhead to zone entry/exit (it will cost, at least one lookup of "is onZoneEnterOrExit overridden").
At a fundamental level, a zone isn't being "enterede" and "exited", it's just that the currently executing code has a zone associated with it. That zone can be changed in a number of ways, mostly by Zone.run, but internally (e.g., in the microtask queue) it's also being done just by selecting the zone and running the code.
Entering a zone is usually somewhat well-delimited, but exiting is harder to define. Are you exiting a zone when you enter another zone with zone.run? Are you reentering the original zone when that call returns? Does it matter whether the new zone is/is not a child of the original zone? Maybe you should only call onExit when you switch to a zone that has a different onEnter/onExit implementation registered, not one that inherits the current one (like we do for error handlers). But that might add even more overhead in the checks, or maybe it's just one identical check on the _onEnterExitHandler property.
In any case, it's not without cost, even if you don't use it. There is no such thing as a free lunch :)


Build library for single, double and extended precison

This will be needed for https://github.com/pyNFFT/pyNFFT/pull/63

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Looks good to me.

I see the following warnings, but this should not be the fault of this PR. The same thing has occurred for other packages like VTK where various build-time paths get included in the pkgconfig files
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=32498&view=logs&jobId=1bf226d3-0e2f-52d8-fa93-7d9e633347b3&taskId=c09a5a47-eec3-5700-9284-6f1bd7b23501&lineStart=13290&lineEnd=13291&colStart=1&colEnd=1

Do you mean the "hardcoded path" warnings? I've seen those a lot, too. Not sure if something needs to be done, though.

Yes. I think it is only a problem if some oneuses pkg-config. We can just ignore it for now


Added functionality and tests to get a collection of a given length b…

…ased on the average probabilities of each effect.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

63 of 63 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 99.138%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
460

Relevant Lines:
464

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

63 of 63 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 99.138%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
460

Relevant Lines:
464

💛  - Coveralls


Plots of Cast Study Maps

...now that Bastian sent the shapefiles for his routes, get-to-plotting, please 🏃♂

INITAL RESULTS
@michaelweinold @arebe337
So I've had a play around plotting the data that Bastian gave us. Still very much WIP, will put in a considerable amount of time tomorrow to add everything that needs to be added. I will try to add terrain and other information tomorrow. This now serves as a little taste of what's to come.
But from an inital assessment both the route for Melbourne-Sydney and the one for LA-San Francisco seem to relatively closely match what has been planned by lawmakers as you can see below. 😃
Melbourne-Sydney
This one looks very good! It actually takes the perfect route through the valley in the "Southern Highlands"

LA-San Francisco
This one deviates around Madera and continues up to Stockton on the actual route. This actually still is "good" since it's still taking a real route. In real-life they might have taking the route down to Gilroy for other reasons. Still the tool seems a success I would say.

Lagos-Abuja
And finally the new (yet to be released) official HSR project from Lagos to Abuja!

Nice, nice, nice! I will think of a way to extract the proposed routes to GPS coordinates, such that we can overlay it on the calculated routes. Great work! ✨

@michaelweinold @arebe337
This would be my proposal for the maps that could go on the poster. I found a nice set of map styles from mapbox that also show terrain:

Looks great - where is the associated code?

Should now be in the PR, which I have no released from draft.

@dodedic, please add the extracted routes from the proposed routes in https://github.com/sustainableaviation/demandmap/issues/34 and open a PR.

So this is how it's looking currently.
green = real, purple = model
California

Australia

Nota bene: Mapbox operates under a non-free license. I would suggest you look for alternative map tile providers for the interactive maps. For static maps, we can simply use the Natural Earth terrain tiles:

I will add them to the repo later today.


TfJob creation failed due to webhook validation failure

What happened?

Tried creating a TfJob using the following manifest:

❯ kubectl apply -n kubeflow-user-example-com -f - <<EOF
apiVersion: kubeflow.org/v1
kind: TFJob
metadata:
  name: tfjob-simple
spec:
  tfReplicaSpecs:
    PS:
      replicas: 1
      restartPolicy: OnFailure
      template:
        metadata:
          annotations:
            sidecar.istio.io/inject: "false"
        spec:
          containers:
            - name: tensorflow
              image: kubeflow/tf-mnist-with-summaries:latest
              command:
                - "python"
                - "/var/tf_mnist/mnist_with_summaries.py"
    Worker:
      replicas: 2
      restartPolicy: OnFailure
      template:
        metadata:
          annotations:
            sidecar.istio.io/inject: "false"
        spec:
          containers:
            - name: tensorflow
              image: kubeflow/tf-mnist-with-summaries:latest
              command:
                - "python"
                - "/var/tf_mnist/mnist_with_summaries.py"
EOF

❯ k get ValidatingWebhookConfiguration validator.tfjob.training-operator.kubeflow.org -o yaml
Error from server (NotFound): validatingwebhookconfigurations.admissionregistration.k8s.io "validator.tfjob.training-operator.kubeflow.org" not found

Not sure but there might be some flakiness in the training-operator kubeflow mode installation.
What did you expect to happen?

TfJob should have been created but create failed with the following error

Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "validator.tfjob.training-operator.kubeflow.org": failed to call webhook: Post "[https://training-operator.kubeflow.svc:443/validate-kubeflow-org-v1-tfjob?timeout=10s](https://training-operator.kubeflow.svc/validate-kubeflow-org-v1-tfjob?timeout=10s)": context deadline exceeded

Environment

Installed kubeflow 1.9-rc1 using the following command present in kubeflow/manifest repo.

while ! kustomize build example | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 20; done

This has been resolved as part of this PR: https://github.com/kubeflow/manifests/pull/2786


Is there an existing issue for this?

[X] I have searched the existing issues

Package/Plugin version
9.0.0
Platforms

[X] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Web
[X] Windows

Flutter doctor

Flutter doctor

[√] Flutter (Channel stable, 3.10.6, on Microsoft Windows [Version 10.0.22000.2176], locale en-ZA)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.2)
[√] VS Code (version 1.81.0)
[√] Connected device (3 available)
[√] Network resources

! Doctor found issues in 3 categories.

Minimal code example

Code sample

import 'package:flutter/material.dart';
import 'package:flutter_form_builder/flutter_form_builder.dart';

class MakeListingPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Make a Listing"),
        backgroundColor: Color(0xFF00944D),
      ),
      body: Padding(
        padding: const EdgeInsets.all(16.0),
        child: ListView(
          children: [
            FormBuilder(
              child: Column(
                children: [
                  FormBuilderTextField(
                    name: 'carModel',
                    decoration: InputDecoration(labelText: 'Car Model'),
                    validator: FormBuilderValidators.required(context),
                  ),
                  FormBuilderTextField(
                    name: 'country',
                    decoration: InputDecoration(labelText: 'Country'),
                    validator: FormBuilderValidators.required(context),
                  ),
                  FormBuilderTextField(
                    name: 'price',
                    decoration: InputDecoration(labelText: 'Price'),
                    keyboardType: TextInputType.number,
                    validator: FormBuilderValidators.compose([
                      FormBuilderValidators.required(context),
                      FormBuilderValidators.numeric(context),
                    ]),
                  ),
                  // Add more form fields as needed
                  SizedBox(height: 20),
                  ElevatedButton(
                    onPressed: () {
                      if (FormBuilder.of(context).validate()) {
                        // Perform the listing submission logic here
                        // Access form values using FormBuilder.of(context).value
                      }
                    },
                    child: Text('Submit Listing'),
                    style: ElevatedButton.styleFrom(
                      primary: Color(0xFF00944D),
                      textStyle: TextStyle(color: Colors.white),
                    ),
                  ),
                ],
              ),
            ),
          ],
        ),
      ),
    );
  }
}

Current Behavior
i have installed the dependency and imported the package, but tyhe method isn't recognized
Expected Behavior
the method should work since i have imported the package
Steps To Reproduce
run flutter pub add flutter_form_builder
import 'package:flutter_form_builder/flutter_form_builder.dart';
use the the method
Aditional information
No response

@Papatee04 Hey. The validators related logic is in a separate repo. Add the form_builder_validators: ^9.0.0 to the pubspec.yaml.
For more context: https://pub.dev/packages/form_builder_validators

What method do you try use? ´FormBuilder.of(context).validate()´?
You need use key on FormBuilder to validate the form. Take a look on readme examples

@Papatee04 Hey. The validators related logic is in a separate repo. Add the form_builder_validators: ^9.0.0 to the pubspec.yaml.
For more context: https://pub.dev/packages/form_builder_validators

This instruction should be added in the package readme, or endorsed together with this package.


[release-4.13][manual] e2e: rte: backport local tests

move local exoporter tests in their own suite, backporting from 4.14
partial backport of #653

/backport release-4.12

/backport release-4.12

/cherry-pick release-4.12

/lgtm
/approve


Everything: Rich text redux

About the PR
Content half of space-wizards/RobustToolbox#2213
Requires space-wizards/RobustToolbox#2213
Changelog
:cl:

add: Rich text is now... rich-er. Expect more fancy text effects as the system gets adopted.

Conflicts


Fastlane With Jenkins

[x] Updated fastlane to the latest version
[x] I have read the [Contribution Guidelines]

For making the build automated,am using fastlane with jenkins,Can i know the steps to execute that.
Is this possible that when the user push the code to github all the fastlane commands start executing when user press build now button in jenkins.i have tried pilot upload command,which works fine,but i have to make the ipa through terminal and then upload the build to github and then build is uploaded to testflight after pressing the build now button.So it is possible to make fastfile and all the things when the buildnow is pressed in jenkins.

Start with Fastfile, and create lanes, then try use Gym tool to build IPA, sending your file to github can be done with fastlane git plugin and
Fastfile
lane :your_lane do
  gym
  git_commit // you will have to search how to do it
  pilot
end

seems to be easy, right? : )

@CurlyHeir Thanks for the response :)
Is this possible that if the person just uploads a project to the github without any fastfile or any fastlane component in it and all the lanes or fastline would generate when buildnow in jenkins is triggered by writing down all the commands in execute shell.

YES,
you can use shell in jenkins and write each command, passing all parameters.
you don't really have to declare lanes in Fastfile (but that apporoarch is rather poinless)


Extract common fields for any chargeback type

There are three chargeback types: for VMs, for container images, and for container projects.
The parent class Chargeback assumes that certain fields are always present (defined by all of its descendants). Let's define these columns top-level as they are kinda requirement as of now.
This idea was brought up in discussion with @gtanzillo
@miq-bot add_label refactoring, chargeback
@miq-bot assign @gtanzillo

LGTM 👍


Inclusion of CPDP convergence  OTG model

Redocly view: https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/cpdp-convergence/artifacts/openapi.yaml&nocors#tag/Monitor/operation/get_metrics

Initial structure added.
TBD:
metric_group in convergence metrics
@arkajyoti-cloud


TF2 + GH

I am getting list of error as I am trying to change TF2 BERT from using tfhub bert to hugging face bert.
The accuracy and results are not similar to using tfhub bert besides I am getting all the error above.
I am using this:
from transformers import BertConfig, AutoTokenizer, TFAutoModel
model_name = "bert-base-uncased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
config = BertConfig.from_pretrained(model_name, num_labels=2, return_dict=True,output_hidden_states=True,use_cache=True,output_attentions=True)
bert = TFAutoModel.from_pretrained(model_name, config=config)

@Rababalkhalifa,
Could you please let us know the TensorFlow version you are using?
I did not face any warnings while running the code with TF v2.4.1. Please find the gist of it here. Thanks!

Also, you can suppress the warning messages by changing the log level at the start of the program
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
import tensorflow as tf

or you can set the autograph verbosity level using
import os
import tensorflow as tf
os.environ['AUTOGRAPH_VERBOSITY'] = 1

Thanks!

I am using tf 2.4.1 in colab.
The code was fine before changing to HF layers. All what I did is changing the tokenizer and bert parts.
using batch encoder and replacing this:
encoder = hub.KerasLayer(tfhub_handle_encoder, trainable=True, name='encoder')
with:
net = bert(inputs['input_word_ids'], attention_mask=inputs['input_mask'])[0]

I am using tf 2.4.1 in colab.

@Rababalkhalifa,
Could you please share the Colab notebook with us, so that we can look into this? Thanks!

contact me in r.alkhalifah @ hotmail

@ymodak,
I was able to reproduce the issue with TF v2.4.1, TF v2.5.0-rc0 and TF-nightly. Please find the gist of it here. Thanks!

I think huggingface/transformers repository is right place for this issue since the you have imports from transformers module. Please try posting this issue on transformers repository. Thanks!

from transformers import BertConfig, AutoTokenizer, TFAutoModel


feature: easier configuration

LazyVim uses conform.nvim for formatting.
To make configuration easier, we added some extra options to conform.nvim:

opts.format: default options used by require("conform").format()
opts.formatters: instead of just adding new formatters, you can also override the default options for any formatter
opts.formatters[NAME].extra_args: extra arguments passed to the formatter command.
If you want to fully override the args, just use args instead of extra_args.

This all works as expected in LazyVim, but I believe these changes would benefit others as well.
Ideally, I also prefer not to deviate from a plugin's options.
Would you be open to accept a PR for this? If so I can create one.
Example
{
  -- LazyVim will use these options when formatting with the conform.nvim formatter
  format = {
    timeout_ms = 1000,
  },
  formatters_by_ft = {
    lua = { "stylua" },
    fish = { "fish_indent" },
    sh = { "shfmt" },
  },
  -- LazyVim will merge the options you set here with builtin formatters.
  -- You can also define any custom formatters here.
  ---@type table<string,table>
  formatters = {
    injected = { options = { ignore_errors = true } },
    -- # Example of using dprint only when a dprint.json file is present
    dprint = {
      condition = function(ctx)
        return vim.fs.find({ "dprint.json" }, { path = ctx.filename, upward = true })[1]
      end,
    },
    --
    -- Example of using shfmt with extra args
    shfmt = {
      extra_args = { "-i", "2", "-ci" },
    },
  },
}

I'm on board with the opts.format idea, though I'd prefer a more explicit name like default_format_opts.
I went back and forth on the formatter merging. I like that it's very simple right now; there's no magic you just set the values to what you want and they are used directly. But I do see the convenience value from merging the configs. I think it's worth trying out so I can get a feel for if this is intuitive or if it adds too much complexity. I've put up a PR with the initial implementation and will continue iterating on it this weekend

Looks good!

I've merged the config changes! Formatter configs get merged now and there's an easier way to add additional command line arguments.
I think I might backpedal on the other piece, though. While I think it makes sense for LazyVim to include a way to change the default options passed in to conform.format(), I don't know that it makes sense at the library level. Especially since it can change the default format mode from sync to async, it can make it difficult to tell what the behavior of conform.format() is going to be just by looking at the options passed in at the callsite.

That's awesome, thanks!
And yes, makes sense not to include the defaults. User can for sure mess it up.
I think I'll just use the existing format_on_save options and unset them before setting up conform.

Is extra_args the current grammar to add extra arguments, or is it prepend_args/args as per the docs?

@folke after some more thought on the shape of the config, I've ended up doing what you suggested in the beginning and added default_format_opts as a means of customizing the default behavior of conform.format. See #491 for the complete list of config changes

Thank you for letting me know. Just updated LazyVim!


Remove version: Jackett.Jackett version 0.21.1230

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.1230/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


ci: pin url dependency version to build with rust 1.63

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.531%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1060

Relevant Lines:
1211

💛  - Coveralls


Update for Odo v2.0.1

What does this PR do?
Update devfile integration test for Odo v2.0.1
What issues does this PR fix or reference?
Is your PR tested? Consider putting some instruction how to test your changes

/test v4.5-integration-e2e

/assign @amitkrout  - please review. Thanks,

@josephca odo is running the same test against 4.2, 4.3, 4.5 and 4.6 through pr job and periodic job. Lets not duplicate the effort.
Lets run devfile integration test against latest odo master by writing a script that clone the odo master branch and run the devfile specific test through devfile/integration-tests pr and periodic job.
$ cat devfiletest.sh
#!/bin/sh

# fail if some commands fails
set -e
# show commands
set -x

export CI="openshift"
make configure-installer-tests-cluster
make bin
mkdir -p $GOPATH/bin
make goget-ginkgo
export PATH="$PATH:$(pwd):$GOPATH/bin"
export ARTIFACTS_DIR="/tmp/artifacts"
export CUSTOM_HOMEDIR=$ARTIFACTS_DIR

# Copy kubeconfig to temporary kubeconfig file
# Read and Write permission to temporary kubeconfig file
TMP_DIR=$(mktemp -d)
cp $KUBECONFIG $TMP_DIR/kubeconfig
chmod 640 $TMP_DIR/kubeconfig
export KUBECONFIG=$TMP_DIR/kubeconfig

# Login as developer
odo login -u developer -p password@123

# Check login user name for debugging purpose
oc whoami
make test-integration-devfile

cp -r reports $ARTIFACTS_DIR

odo logout

I will share the detail steps on how to do it in my next comment.

@josephca odo is running the same test against 4.2, 4.3, 4.5 and 4.6 through pr job and periodic job. Lets not duplicate the effort.
Lets run devfile integration test against latest odo master by writing a script that clone the odo master branch and run the devfile specific test through devfile/integration-tests pr and periodic job.
$ cat devfiletest.sh
#!/bin/sh

# fail if some commands fails
set -e
# show commands
set -x

export CI="openshift"
make configure-installer-tests-cluster
make bin
mkdir -p $GOPATH/bin
make goget-ginkgo
export PATH="$PATH:$(pwd):$GOPATH/bin"
export ARTIFACTS_DIR="/tmp/artifacts"
export CUSTOM_HOMEDIR=$ARTIFACTS_DIR

# Copy kubeconfig to temporary kubeconfig file
# Read and Write permission to temporary kubeconfig file
TMP_DIR=$(mktemp -d)
cp $KUBECONFIG $TMP_DIR/kubeconfig
chmod 640 $TMP_DIR/kubeconfig
export KUBECONFIG=$TMP_DIR/kubeconfig

# Login as developer
odo login -u developer -p password@123

# Check login user name for debugging purpose
oc whoami
make test-integration-devfile

cp -r reports $ARTIFACTS_DIR

odo logout

I will share the detail steps on how to do it in my next comment.

@josephca You need to create another pr in release repo to consume the file openshiftci-presubmit-devfiles-tests.sh after pr #6 goes into master.

@josephca You need to create another pr in release repo to consume the file openshiftci-presubmit-devfiles-tests.sh after pr #6 goes into master.

@josephca odo is running the same test against 4.2, 4.3, 4.5 and 4.6 through pr job and periodic job. Lets not duplicate the effort.
Lets run devfile integration test against latest odo master on the fly by writing a script that clone the odo master branch and run the devfile specific test through devfile/integration-tests pr and periodic job.
$ cat devfiletest.sh
#!/bin/sh

# fail if some commands fails
set -e
# show commands
set -x

git clone https://github.com/openshift/odo $GOPATH/src/github.com/openshift/odo
cd $GOPATH/src/github.com/openshift/odo

export CI="openshift"
make configure-installer-tests-cluster
make bin
mkdir -p $GOPATH/bin
make goget-ginkgo
export PATH="$PATH:$(pwd):$GOPATH/bin"
export ARTIFACTS_DIR="/tmp/artifacts"
export CUSTOM_HOMEDIR=$ARTIFACTS_DIR

# Copy kubeconfig to temporary kubeconfig file
# Read and Write permission to temporary kubeconfig file
TMP_DIR=$(mktemp -d)
cp $KUBECONFIG $TMP_DIR/kubeconfig
chmod 640 $TMP_DIR/kubeconfig
export KUBECONFIG=$TMP_DIR/kubeconfig

# Login as developer
odo login -u developer -p password@123

# Check login user name for debugging purpose
oc whoami
make test-integration-devfile

cp -r reports $ARTIFACTS_DIR

odo logout

I will share the detail steps on how to do it in my next comment.

@josephca odo is running the same test against 4.2, 4.3, 4.5 and 4.6 through pr job and periodic job. Lets not duplicate the effort.
Lets run devfile integration test against latest odo master on the fly by writing a script that clone the odo master branch and run the devfile specific test through devfile/integration-tests pr and periodic job.
$ cat devfiletest.sh
#!/bin/sh

# fail if some commands fails
set -e
# show commands
set -x

git clone https://github.com/openshift/odo $GOPATH/src/github.com/openshift/odo
cd $GOPATH/src/github.com/openshift/odo

export CI="openshift"
make configure-installer-tests-cluster
make bin
mkdir -p $GOPATH/bin
make goget-ginkgo
export PATH="$PATH:$(pwd):$GOPATH/bin"
export ARTIFACTS_DIR="/tmp/artifacts"
export CUSTOM_HOMEDIR=$ARTIFACTS_DIR

# Copy kubeconfig to temporary kubeconfig file
# Read and Write permission to temporary kubeconfig file
TMP_DIR=$(mktemp -d)
cp $KUBECONFIG $TMP_DIR/kubeconfig
chmod 640 $TMP_DIR/kubeconfig
export KUBECONFIG=$TMP_DIR/kubeconfig

# Login as developer
odo login -u developer -p password@123

# Check login user name for debugging purpose
oc whoami
make test-integration-devfile

cp -r reports $ARTIFACTS_DIR

odo logout

I will share the detail steps on how to do it in my next comment.

@amitkrout Thanks for the feedback and I agree to bring in and test with the latest odo code on the fly. Yes, I, also, was going to add the periodic execution of the tests after this PR gets merged first. :)

@josephca odo is running the same test against 4.2, 4.3, 4.5 and 4.6 through pr job and periodic job. Lets not duplicate the effort.
Lets run devfile integration test against latest odo master on the fly by writing a script that clone the odo master branch and run the devfile specific test through devfile/integration-tests pr and periodic job.
$ cat devfiletest.sh
#!/bin/sh

# fail if some commands fails
set -e
# show commands
set -x

git clone https://github.com/openshift/odo $GOPATH/src/github.com/openshift/odo
cd $GOPATH/src/github.com/openshift/odo

export CI="openshift"
make configure-installer-tests-cluster
make bin
mkdir -p $GOPATH/bin
make goget-ginkgo
export PATH="$PATH:$(pwd):$GOPATH/bin"
export ARTIFACTS_DIR="/tmp/artifacts"
export CUSTOM_HOMEDIR=$ARTIFACTS_DIR

# Copy kubeconfig to temporary kubeconfig file
# Read and Write permission to temporary kubeconfig file
TMP_DIR=$(mktemp -d)
cp $KUBECONFIG $TMP_DIR/kubeconfig
chmod 640 $TMP_DIR/kubeconfig
export KUBECONFIG=$TMP_DIR/kubeconfig

# Login as developer
odo login -u developer -p password@123

# Check login user name for debugging purpose
oc whoami
make test-integration-devfile

cp -r reports $ARTIFACTS_DIR

odo logout

I will share the detail steps on how to do it in my next comment.

@josephca odo is running the same test against 4.2, 4.3, 4.5 and 4.6 through pr job and periodic job. Lets not duplicate the effort.
Lets run devfile integration test against latest odo master on the fly by writing a script that clone the odo master branch and run the devfile specific test through devfile/integration-tests pr and periodic job.
$ cat devfiletest.sh
#!/bin/sh

# fail if some commands fails
set -e
# show commands
set -x

git clone https://github.com/openshift/odo $GOPATH/src/github.com/openshift/odo
cd $GOPATH/src/github.com/openshift/odo

export CI="openshift"
make configure-installer-tests-cluster
make bin
mkdir -p $GOPATH/bin
make goget-ginkgo
export PATH="$PATH:$(pwd):$GOPATH/bin"
export ARTIFACTS_DIR="/tmp/artifacts"
export CUSTOM_HOMEDIR=$ARTIFACTS_DIR

# Copy kubeconfig to temporary kubeconfig file
# Read and Write permission to temporary kubeconfig file
TMP_DIR=$(mktemp -d)
cp $KUBECONFIG $TMP_DIR/kubeconfig
chmod 640 $TMP_DIR/kubeconfig
export KUBECONFIG=$TMP_DIR/kubeconfig

# Login as developer
odo login -u developer -p password@123

# Check login user name for debugging purpose
oc whoami
make test-integration-devfile

cp -r reports $ARTIFACTS_DIR

odo logout

I will share the detail steps on how to do it in my next comment.

@amitkrout Thanks for the feedback and I agree to bring in and test with the latest odo code on the fly. Yes, I, also, was going to add the periodic execution of the tests after this PR gets merged first. :)

Unit test is failing due to
 make: *** No rule to make target `openshiftci-presubmit-unittests'.  Stop.
error: failed to execute wrapped command: exit status 2

We don't need Unit test CI verification in the test integration repo. @josephca Please create a pr to remove https://github.com/openshift/release/blob/master/ci-operator/config/devfile/integration-tests/devfile-integration-tests-master.yaml from OpenShift release repo.
How to remove:

Checkout a new branch in release repo
Delete the file https://github.com/openshift/release/blob/master/ci-operator/config/devfile/integration-tests/devfile-integration-tests-master.yaml
Run make jobs
Commit the changes and push the branch

Unit test is failing due to
 make: *** No rule to make target `openshiftci-presubmit-unittests'.  Stop.
error: failed to execute wrapped command: exit status 2

We don't need Unit test CI verification in the test integration repo. @josephca Please create a pr to remove https://github.com/openshift/release/blob/master/ci-operator/config/devfile/integration-tests/devfile-integration-tests-master.yaml from OpenShift release repo.
How to remove:

Checkout a new branch in release repo
Delete the file https://github.com/openshift/release/blob/master/ci-operator/config/devfile/integration-tests/devfile-integration-tests-master.yaml
Run make jobs
Commit the changes and push the branch

/test v4.5-integration-e2e

/test v4.5-integration-e2e

Looping odo QE @prietyc123 for more guidance.

Looping odo QE @prietyc123 for more guidance.

Unit test is failing due to
 make: *** No rule to make target `openshiftci-presubmit-unittests'.  Stop.
error: failed to execute wrapped command: exit status 2

We don't need Unit test CI verification in the test integration repo. @josephca Please create a pr to remove https://github.com/openshift/release/blob/master/ci-operator/config/devfile/integration-tests/devfile-integration-tests-master.yaml from OpenShift release repo.
How to remove:

Checkout a new branch in release repo
Delete the file https://github.com/openshift/release/blob/master/ci-operator/config/devfile/integration-tests/devfile-integration-tests-master.yaml
Run make jobs
Commit the changes and push the branch

Agreed and removing the place holder unit test by https://github.com/openshift/release/pull/15136

Unit test is failing due to
 make: *** No rule to make target `openshiftci-presubmit-unittests'.  Stop.
error: failed to execute wrapped command: exit status 2

We don't need Unit test CI verification in the test integration repo. @josephca Please create a pr to remove https://github.com/openshift/release/blob/master/ci-operator/config/devfile/integration-tests/devfile-integration-tests-master.yaml from OpenShift release repo.
How to remove:

Checkout a new branch in release repo
Delete the file https://github.com/openshift/release/blob/master/ci-operator/config/devfile/integration-tests/devfile-integration-tests-master.yaml
Run make jobs
Commit the changes and push the branch

Agreed and removing the place holder unit test by https://github.com/openshift/release/pull/15136

@amitkrout I think ci/prow/v4.5-integration-e2e  is expected to be failed until the script file used by this PR and ci-operator config/job are in-synch. So, I suggest merging this PR first then fix the ci-operator config/job afterward. Any suggestion?

@amitkrout I think ci/prow/v4.5-integration-e2e  is expected to be failed until the script file used by this PR and ci-operator config/job are in-synch. So, I suggest merging this PR first then fix the ci-operator config/job afterward. Any suggestion?

/retest

/retest

/test all

/test all


Launch shortcut stopped working on Mac

The Shortcut I set for the popup (Cmd+s) has stopped working for me. I additionally tried Cmd+E and that does not work either. Nothing happens when I press it. I have tried removing and reinstalling the extension. This is my version of chrome: Version 48.0.2564.116 (64-bit)

Same here, but the pop up just opens and closes really quickly. I can see it it quickly fade in and then out.
This problem started happening after the chrome update that lets you choose which extensions you see next to the address bar and which are hidden in the burger menu.
This might be useful: https://groups.google.com/a/chromium.org/forum/#!searchin/chromium-extensions/upcoming/chromium-extensions/7As9MKhav5E/dNiZDoSCCQAJ

Thanks for reporting this, I am also experiencing it now that my browser updated to 49.0.2623.87, it seems to impact any extension I map a keyboard shortcut to "activate the extension", the other keyboard mappings still work.  It's strange that I cannot find any bug reports that relate to this being a broader issue, I will keep digging.

I found this but it seems old... https://bugs.chromium.org/p/chromium/issues/detail?id=497188&q=extension keyboard shortcuts&colspec=ID Pri M Stars ReleaseBlock Component Status Owner Summary OS Modified
I just realized the example extension is QuickTabs!

OK, I deleted Chrome off my mac, re-downloaded it from https://www.google.com/chrome/ and reinstalled it.  The extension seems to be working correctly now, possibly an issue in the chrome update process?
I'm going to close this ticket for the moment but if there is still an issue after you try reinstalling please reopen it and I will look into it further =)

It only starts happening after you click on an extension that's hidden inside the burger menu. Restarting chrome fixes the issue. I haven't tried uninstalling chrome but could you see if the issue persists even after uninstalling?

@kapman I thought it had fixed the issue but it didn't.
If I assign a shortcut to other extensions they also fail to display their popup window, this is starting to smell like a Chrome issue :(

I have opened a new ticket with the Chrome guys here https://bugs.chromium.org/p/chromium/issues/detail?id=594420 please add any other information I may have missed =)

I was able to resolve the issue by rebooting chrome and my computer.

@pblesi I tried doing the full system reboot (I also tried deleting and re-downloading Chrome) but I am still experiencing this issue.  I notice you are using the older 48.x version of Chrome (my version is 49.0.2623.87 (64-bit)), has your Chrome updated?

Does anyone have a workaround or is the restart really the only way around this? Wow that's awful ...

Ok, so it's a niche market and very specific, but I was able to get it to work via Keyboard Maestro in the meantime using this guy's AppleScript example:
https://forum.keyboardmaestro.com/t/click-chrome-extension-button/2909/6
(hey it's a hack but it works 👍  )

@rcherny thanks for sharing the workaround.  This bug is brutal, my best suggestion would be to bump the open chrome ticket and hopefully create enough action for someone to at least review it, that way someone might pick it up and fix it :|

For the record. I was able to fix it, but only temporarily. It seems to work after system reboot, but then stops working after a period of time. I'm not sure what the exact trigger is.

@pblesi restarting Chrome should be enough to resolve the issue until you next use the burger menu.

For me, shortcut stops working after I plug or unplug a monitor and chrome moves to another display. Although it doesn't happen always.. feels random. :/ Restarting chrome makes shortcut work again.

Hi All, my Chrome version just updated to "Version 52.0.2743.82 (64-bit)" and the extension shortcut seems to be working even after accessing the burger menu.
Let me know if you experience the same thing and I will close this bug (finally) =)
Evan


The pull today tasks command only retrieve tasks in specific project

Thank you for your hard work on such a wonderful project
I'm having weird behavior with the pull today's tasks commands described below

Versions:

logseq: 0.6.9
logseq-todoist-plugin: 4.1.8

The pull today's tasks command only retrieves tasks in a specific project. As I debug in the dev tool, I think the root cause is that like the request to the Todoist API includes the project_id parameter, not sure if it's intentional
When testing the command with the project having due today tasks, the plugin does not render the tasks to the UI even though the API does return the tasks (image below)

Sounds like a bug.
Could you try with v4.1.9?

The pull today's tasks works as expected. You rock!!!


allow for authentication

Allow for authentication in auth.rb , otherwise won't allow for read if auth is enabled on mongos.
Here is the error
raise OperationFailure(msg % errmsg, code)
pymongo.errors.OperationFailure: command {'getnonce': 1} failed: Writes and Javascript execution are disallowed in this interface.
Added below lines in auth.rb , please check if its hold good.
elsif  (query['getnonce'] || query['authenticate']) == 1
return true, nil

Diff :
git diff HEAD
diff --git a/lib/mongo-proxy/auth.rb b/lib/mongo-proxy/auth.rb
index cae2d40..7b2a439 100644
--- a/lib/mongo-proxy/auth.rb
+++ b/lib/mongo-proxy/auth.rb
@@ -117,6 +117,10 @@ class AuthMongo
return true, nil
end

   ## allow  authentication

   elsif  (query['getnonce'] || query['authenticate']) == 1

      return true, nil

   # allow ismaster query, listDatabases query

Hey @girishbin, thanks for creating this issue. Would you be willing to create a pull req with this proposed change?


Empty issue

Describe the bug
A clear and concise description of what the bug is.
Versions (OS, Maven, Java, and others, as appropriate):

Affected version(s) of this project: [e.g. 1.10.0]
OS: [e.g. CentOS 7.5]
Others:

To Reproduce
Steps to reproduce the behavior (or a link to an example repository that reproduces the problem):

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Issue opened with no content. Open a new issue with appropriate content if needed.


eos.contract issue

the following error would be encountered while use the sample 1 approach, but sample 2 works fine, btw,KeyProvider.getKeys() return a promise

api < error          { message: 'transaction declares authority '{"actor":"bob","permission":"active"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [{"actor":"dice","permission":"eosio.code"}], and provided keys []',

sample 1
	async withdraw(to, asset) {
		let eos = Eos({
			keyProvider: KeyProvider.getKeys()
		})
		return eos.contract(contractDeployAcct).then(contract => contract.withdraw(to, asset))
	}

sample 2
async withdraw(to, asset) {
		eos = Eos({
			keyProvider: KeyProvider.getKeys()
		})

		return eos.transaction(
			{
			  actions: [
				{
				  account: contractDeployAcct,
				  name: 'deposit',
				  data: {
					from: from,
					a: asset,
				  },
				  authorization: [{
					actor: from,
					permission: 'active'
				  }]
				}
			  ]
			}
		  )
	}

getKeys returns key paths and private keys... KeyProvider needs just private keys.  You can map them to the correct array.
https://github.com/EOSIO/eosjs-keygen/blob/master/API.md#keypathprivate--object
But what you probably want to do is link them directly:
https://github.com/EOSIO/eosjs-keygen/blob/master/API.md#keystorekeyproviderparam--arraypubkeywif

see: https://github.com/eosio/eosjs-keygen#usage


Pin SFS-Python version

Currently, only sfs is required.
Since the API of SFS-Python is likely to change from time to time, it would be good to require a specific version to make sure all code examples actually work.

Good point, I will adjust this before the DAGA. I just have to check if I want to go with sfs 0.4 or 0.5

You could start by pinning sfs==0.4.* now, because without that, the build will break with the upcoming release of SFS 0.5.0.
At some later point, you could update the code examples and change the required version to sfs==0.5.*.

I updated the API to the upcoming sfs and pinned the version to sfs>=0.5.0


Show errors using Flycheck

At the moment there is no integration, it will improve the Emacs workflow.

This can be solved easily if we do #5


Show view definition?

Is there a command similar to \sf (function) which would allow to display a view's definition?

This could be a feature request, but I'm happy enough to close it with the below query which I'm able to run and obtain the information.
SELECT definition
FROM sys.sql_modules
WHERE OBJECT_ID = OBJECT_ID('MyViewNameHere')


Fix network counters on OmniOS

Fix network counters on OmniOS.  Previously this was broken and counters such as rbytes were returning zero because it was missing the appropriate arguments to kstat(1M).
This could be seen by:
$ sh if.sh | grep rbyte
ixgbe0:intrbytes        L<PHONE_NUMBER>2
ixgbe0:rbytes   L<PHONE_NUMBER>4
ixgbe0:intrbytes        L<PHONE_NUMBER>6
ixgbe0:rbytes   L<PHONE_NUMBER>9
ixgbe0:rbytes   L<PHONE_NUMBER>4
ixgbe0:rbytes   L<PHONE_NUMBER>9
ixgbe0:intrbytes        L       0
ixgbe0:rbytes   L       0

After the fix:
$ sh if.sh
link:0:ixgbe0:brdcstrcv L       22315
link:0:ixgbe0:brdcstxmt L       676
link:0:ixgbe0:collisions        L       0
link:0:ixgbe0:ierrors   L       10344
link:0:ixgbe0:ifspeed   L<PHONE_NUMBER>
link:0:ixgbe0:ipackets  L       31136805
link:0:ixgbe0:ipackets64        L       31136805
link:0:ixgbe0:link_duplex       L       2
link:0:ixgbe0:link_state        L       1
link:0:ixgbe0:multircv  L       79146
link:0:ixgbe0:multixmt  L       11
link:0:ixgbe0:norcvbuf  L       0
link:0:ixgbe0:noxmtbuf  L       0
link:0:ixgbe0:obytes    L       203251171
link:0:ixgbe0:obytes64  L<PHONE_NUMBER>
link:0:ixgbe0:oerrors   L       0
link:0:ixgbe0:opackets  L       8072737
link:0:ixgbe0:opackets64        L       8072742
link:0:ixgbe0:rbytes    L<PHONE_NUMBER>
link:0:ixgbe0:rbytes64  L<PHONE_NUMBER>4
link:0:ixgbe0:unknowns  L       78837

Bandwidth graphs are much happier looking now.

Altering if.sh like this would cause the metric names to change which would be disconcerting for anyone currently using. Added an alternative 'iflink.sh' which will use the link: module to pull the metrics.


Inconsistent error names

The PsbtParseError and ParseAmountError are inconsistent names. We have many other parsing errors and they are typically called ParseError then users can use one level of path to qualify if they wish e.g., psbt::ParseError would be more consistent.

Yeah, we could change these ones. But I don't think in general we can do this -- e.g. I would expect the PSBT module to have multiple kinds of parse errors. In rust-minscript we definitely have this situation.
I also don't really think this matters ... if you are explicitly naming errors in your code then you need to be reading through docs anyway because they're named inconsistently throughout the entire ecosystem. But if you want to make this change, I'm cool with it.

No worries, thanks.


🐛 fix direct blog migration and permission fixture options

This PR contains two fixes:

direct blog migration (see #7297)
change permission fixture options for migration scripts (see #7317)

TODO

[x] think about if we need a test
[x] tidy up
[x] upgrade from 0.7 to 0.10
[x] upgrade from 0.8 to 0.10
[x] upgrade from 0.9 to 0.10

ready for review 👍 i didn't add a test for initialise the sitemaps inside the sitemap handler. we have some route tests and they would fail if the logic would be wrong (also added some console.logs to verify the first request initialises the sitemaps). also tested manually: boot the server and verify sitemaps are available.


[ new ] drop

This PR adds drop n xs, which returns the suffix of xs after the first n elements, or the empty array (A 0 empty) if n >= size.
This implementation utilizes take since there is no backend support (chez, js) to permanently move an array's position to a new index.
Thanks to @dunhamsteve for helping with getting drop to compile.
Thanks to @stefan-hoeck for helping with proofs and implementation.
This PR closes https://github.com/stefan-hoeck/idris2-array/issues/45.
Test:
module Main

import Data.Array
import Data.Array.Indexed

%default total

partial
main : IO ()
main = do
  let test   = A 10 $ array (fromList [0,1,2,3,4,5,6,7,8,9])
  let drop'  = drop 3 test
  let drop'' = drop 10 test
  putStrLn $ show test.arr
  putStrLn $ show drop'.arr
  putStrLn $ show drop''.arr

Output:
array [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
array [3, 4, 5, 6, 7, 8, 9]
array []

@stefan-hoeck
This should be ready for you to look at when you have time.

Sorry for the long silence. I'll review this now.

Only two minor changes then this is ready for merging. Thanks again for doing this.

Only two minor changes then this is ready for merging. Thanks again for doing this.

You're welcome, I'm happy to be able to contribute.  Thank you for your help and guidance with this PR!


fix(electron): save AlwaysOnTop preferences to avoid setting insconsistencies

re https://discord.com/channels/1173649313734328441/1201478264112296046

Ill try to test after work today or tomorrow and see if I can reproduce this and if it effects the tauri version, see if the always on top is triggering and if not why though I already assume you've done this. I just wanted to check that this isn't an issue that's somehow not effecting tauri but is effecting electron or if it need a common fix.

I checked both Tauri and Electron connectors in the renderer app.
Both are using the useEffect to inform the backend of this setting on app start. Anyway, take a look in case I missed something :)

Sorry haven't had a chance to test this yet given the nature of wanting to test the startup behaviour needing to reboot. Code looks fine though I'll perform a local test first.

Noticed the latest version release o Tauri has the issue on restart too on windows at least. This probably needs a frontend change to emit these settings on ready though this may be a good idea too.

Yeah! The problem I see here is that we are already doing that 😟 Both connectors emmit the event on the app load so this should be working.
https://github.com/zidoro/pomatez/blob/d802264f6e01f1b6ba4d4477d09a1e746d4b7f97/app/renderer/src/contexts/connectors/TauriConnector.tsx#L142-L146
https://github.com/zidoro/pomatez/blob/d802264f6e01f1b6ba4d4477d09a1e746d4b7f97/app/renderer/src/contexts/connectors/ElectronConnector.tsx#L69-L73
BTW I cannot reproduce this (I'm using windows and all is working well for me)


a11y review of navigation designs

Provide feedback on accessibility of latest PF4 navigation designs.

I met with @mattnolting to review what he had. A document has been started that captures open questions and related resources relative to navigation. There are still a couple of items we should test, which are noted in this document.
https://docs.google.com/document/d/14I07k477dd2BssR02osOAWflC9uWeFdUM-5b7LbBn_A/edit?usp=sharing

I tested the open questions and noted them in the document linked above.


Is there a limit to how much edit-config can be logged when using -c MSG option?

I am using this option to log/see the edit-config coming in to netopeer2-server.  What I noticed is that it works great for shorter edit-configs, but on longer edit-configs, when it spans more than ~70-100 lines, it gets cut's off and only less than 100 (varies) shows up.  Is there a limit set somewhere that can be changed?
.....
bbf-qos-cls:classifier-entry
bbf-qos-cls:nameclassifier_eg2</bbf-qos-cls:name>
bbf-qos-cls:filter-operationbbf-qos-cls:match-all-filter</bbf-qos-cls:filter-operation>
bbf-qos-cls:classifier-action-entry-cfg
bbf-qos-cls:action-typebbf-qos-cls:scheduling-traffic-clas
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...

Could you please provide the whole output? I think the message is not "cut off" but simply split into several chunks and each chunk is written separately in the debug output since that is how libnetconf2 is sending it.

I use the netopeer2-cli to send the edit-config.  I have included the last bits from the connect from the netopeer2-cli (which has a lot of output).  The edit config I sent after is starting from "----------------", which only 1st part is logged to the output.  The complete edit-config I sent is attached.
#1024
[DBG]: LN: Session 1: sending message:
legal notices.";
revision 2019-10-09 {
description
"Initial revision.";
reference
"TR-451: Section 5.2.1 vOMCI Function Connectivity";
}
grouping onu-criteria-grouping {
description
"The choice allows to specify combinations of ONU criteria
values or allows to indicate any ONU.";
choice onu-criterion {
default "any-onu";
description
"ONU selection criterion values";
case any-onu {
leaf any-onu {
type empty;
description
"Identifies any ONU";
}
}
  case onu-vendor {
    leaf onu-vendor {
      type bbf-vomci-types:onu-vendor-id;
      description
        "ONU vendor as defined in the TC layer ONU-ID.";
    }
  }

  case onu-serial-number {
    leaf onu-serial-number {
      type bbf-xpon-types:onu-serial-number;
      description
        "ONU serial number as defined in the TC layer
         ONU serial number.";
    }
  }

[DBG]: LN: Session 1: sending message:
#30
[DBG]: LN: Session 1: sending message:
}
}
}

[DBG]: LN: Session 1: sending message:

[INF]: NP: Session 1: thread 0 event new RPC.

[DBG]: LN: Session 1: received message:
mergetest-then-set
<bbf-xpongemtcont:xpongemtcont xmlns:bbf-xpongemtcont="urn:bbf:yang:bbf-xpongemtcont">
bbf-xpongemtcont:traffic-descriptor-profiles
bbf-xpongemtcont:traffic-descriptor-profile
bbf-xpongemtcont:nameTDP0</bbf-xpongemtcont:name>
bbf-xpongemtcont:assured-bandwidth10000000</bbf-xpongemtcont:assured-bandwidth>
bbf-xpongemtcont:fixed-bandwidth10000000</bbf-xpongemtcont:fixed-bandwidth>
bbf-xpongemtcont:maximum-bandwidth5000000000</bbf-xpongemtcont:maximum-bandwidth>
</bbf-xpongemtcont:traffic-descriptor-profile>
</bbf-xpongemtcont:traffic-descriptor-profiles>
</bbf-xpongemtcont:xpongemtcont>

<bbf-l2-d4r:l2-dhcpv4-relay-profiles xmlns:bbf-l2-d4r="urn:bbf:yang:bbf-l2-dhcpv4-relay">
bbf-l2-d4r:l2-dhcpv4-relay-profile
bbf-l2-d4r:nameDHCP_Default</bbf-l2-d4r:name>
bbf-l2-d4r:max-packet-size1500</bbf-l2-d4r:max-packet-size>
bbf-l2-d4r:option82-format
bbf-l2-d4r:access-loop-suboptions/
bbf-l2-d4r:default-circuit-id-syntax/
bbf-l2-d4r:default-remote-id-syntaxN-VID:N2VID</bbf-l2-d4r:default-remote-id-syntax>
bbf-l2-d4r:start-numbering-from-zerofalse</bbf-l2-d4r:start-numbering-from-zero>
bbf-l2-d4r:use-leading-zeroesfalse</bbf-l2-d4r:use-leading-zeroes>
bbf-l2-d4r:suboptionsremote-id</bbf-l2-d4r:suboptions>
</bbf-l2-d4r:option82-format>
</bbf-l2-d4r:l2-dhcpv4-relay-profile>
</bbf-l2-d4r:l2-dhcpv4-relay-profiles>

<bbf-qos-cls:classifiers xmlns:bbf-qos-cls="urn:bbf:yang:bbf-qos-classifiers">
bbf-qos-cls:classifier-entry
bbf-qos-cls:nameclassifier_eg0</bbf-qos-cls:name>
bbf-qos-cls:filter-operationbbf-qos-cls:match-all-filter</bbf-qos-cls:filter-operation>
bbf-qos-cls:classifier-action-entry-cfg
bbf-qos-cls:action-typebbf-qos-cls:scheduling-traffic-class</bbf-qos-cls:action-type>
bbf-qos-cls:scheduling-traffic-class0</bbf-qos-cls:scheduling-traffic-class>
</bbf-qos-cls:classifier-action-entry-cfg>
bbf-qos-cls:match-criteria
bbf-qos-cls:any-protocol/
bbf-qos-cls:dscp-rangeany</bbf-qos-cls:dscp-range>
bbf-qos-cls:match-all/
<bbf-qos-plc:pbit-marking-list xmlns:bbf-qos-plc="urn:bbf:yang:bbf-qos-policing">
bbf-qos-plc:index0</bbf-qos-plc:index>
bbf-qos-plc:pbit-value0</bbf-qos-plc:pbit-value>
</bbf-qos-plc:pbit-marking-list>
</bbf-qos-cls:match-criteria>
</bbf-qos-cls:classifier-entry>
bbf-qos-cls:classifier-entry
bbf-qos-cls:nameclassifier_eg1</bbf-qos-cls:name>
bbf-qos-cls:filter-operationbbf-qos-cls:match-all-filter</bbf-qos-cls:filter-operation>
bbf-qos-cls:classifier-action-entry-cfg
bbf-qos-cls:action-typebbf-qos-cls:scheduling-traffic-class</bbf-qos-cls:action-type>
bbf-qos-cls:scheduling-traffic-class1</bbf-qos-cls:scheduling-traffic-class>
</bbf-qos-cls:classifier-action-entry-cfg>
bbf-qos-cls:match-criteria
bbf-qos-cls:any-protocol/
bbf-qos-cls:dscp-rangeany</bbf-qos-cls:dscp-range>
bbf-qos-cls:match-all/
<bbf-qos-plc:pbit-marking-list xmlns:bbf-qos-plc="urn:bbf:yang:bbf-qos-policing">
bbf-qos-plc:index0</bbf-qos-plc:index>
bbf-qos-plc:pbit-value1</bbf-qos-plc:pbit-value>
</bbf-qos-plc:pbit-marking-list>
</bbf-qos-cls:match-criteria>
</bbf-qos-cls:classifier-entry>
bbf-qos-cls:classifier-entry
bbf-qos-cls:nameclassifier_eg2</bbf-qos-cls:name>
bbf-qos-cls:filter-operationbbf-qos-cls:match-all-filter</bbf-qos-cls:filter-operation>
bbf-qos-cls:classifier-action-entry-cfg
bbf-qos-cls:action-typebbf-qos-cls:scheduling-traffic-clas
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: NP: edit-config error-option "stop-on-error" not supported, rollback-on-error will be performed.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[WRN]: LY: Augmentations from modules "bbf-xpon" and "bbf-ghn" have fatal hash collision.
[WRN]: LY: It will cause no errors if module "bbf-xpon" is always loaded before "bbf-ghn".
[WRN]: LY: Augmentations from modules "bbf-xpon" and "bbf-ghn" have fatal hash collision.
[WRN]: LY: It will cause no errors if module "bbf-xpon" is always loaded before "bbf-ghn".
[WRN]: LY: Augmentations from modules "bbf-xpon" and "bbf-ghn" have fatal hash collision.
[WRN]: LY: It will cause no errors if module "bbf-xpon" is always loaded before "bbf-ghn".
[DBG]: LN: Session 1: sending message:
#93
[DBG]: LN: Session 1: sending message:

[DBG]: LN: Session 1: sending message:

[INF]: NP: Session 1: thread 3 event new RPC.
[ERR]: LN: Session 1: session idle timeout elapsed.
[INF]: NP: Session 1: thread 2 event session terminated.
[INF]: NP: Generated new event (netconf-session-end).
All-1-infra.txt

Right, the truncating was occurring deeper in the code that I looked, sorry. Should be fixed now.

Thank you, we will test it out.


Multi-device sample

Commits from DEB packaging and CI updates have been left out. Updated CI passing can be checked here.

FYI: the branch has conflicts because it's based on KhronosGroup/main instead of StreamHPC/main.


Updating pipeline steps through API doesn't work

I am having the same issue as described here https://github.com/buildkite/docs/issues/628#issue-557168133, updating the steps of a pipeline doesn't work as described in the documentation here - https://buildkite.com/docs/apis/rest-api/pipelines#update-a-pipeline.
I have tried the below with no luck, it does not return an error only the unchanged yaml:
curl -H "Authorization: Bearer $TOKEN" -X PATCH "https://api.buildkite.com/v2/organizations/rob-roms/pipelines/pe-deployment" -d '{"steps":[{"type":"script","command":"echo hello"}]}'

Hey @robbalmbra sorry for the super late reply on this  :(
This was related to a change we made using configuration value, there was also an issue raised in the forum https://forum.buildkite.community/t/pipeline-updates-through-api-dont-update-env/439.
We have since updated the docs https://github.com/buildkite/docs/pull/808 to reflect the correct payload, apologies for the confusion around this.


Only insert external repos token if supplied

Addresses a bug reported by @lcartey that we accidentally introduced in https://github.com/github/codeql-action/pull/357 which was breaking the workflow for people using a workaround we suggested at https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#accessing-private-repositories and also a version using a deploy key and rewriting to a SSH URL.
The PR changes it so we only insert the external repositories token into the URL if it is explicitly supplied and don't fall back to using the main github token. Also avoids adding in a double slash to the URL sometimes.
@chrisgavin do you think this is ok? Why was the falling back to the other token there? It's unlikely to have access to other repos. Was it just in case it did to avoid having to add the token argument twice?
Merge / deployment checklist

[ ] Confirm this change is backwards compatible with existing workflows.
[ ] Confirm the readme has been updated if necessary.

I think the implicit credentials should technically still work, so the fallback is still there; it's just in a different place.

Could you explain what you mean here?
Also I now realise that I haven't actually tried testing that this fixes the bug. If the github token is being picked up through some other means there's a chance this won't fix anything.

I think the implicit credentials should technically still work, so the fallback is still there; it's just in a different place.

Could you explain what you mean here?
Also I now realise that I haven't actually tried testing that this fixes the bug. If the github token is being picked up through some other means there's a chance this won't fix anything.

The GITHUB_TOKEN is stored in the Git configuration of the runner automatically when you do a checkout so it will also be used for Git operations against external repositories even if we don't pass it explicitly.

The GITHUB_TOKEN is stored in the Git configuration of the runner automatically when you do a checkout so it will also be used for Git operations against external repositories even if we don't pass it explicitly.

I've tested this out in all possible configurations that I could think of and it seems to be working as expected.

If you use the workaround from https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#accessing-private-repositories with an old version of the codeql-action (before this week's update) then it works
If you change the branch to main then it fails
If you change the branch to this one then it works again (still using the workaround)
If you change to using external-repository-token then it still works

I've tested this out in all possible configurations that I could think of and it seems to be working as expected.

If you use the workaround from https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#accessing-private-repositories with an old version of the codeql-action (before this week's update) then it works
If you change the branch to main then it fails
If you change the branch to this one then it works again (still using the workaround)
If you change to using external-repository-token then it still works


[Swift 2.3] Ad-hoc sign stdlib dylibs

This resolves current test failures on CI.

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

rdar://problem/27432896

@swift-ci Test and merge.

@swift-ci Please smoke test

@swift-ci Please smoke test.

@swift-ci Please smoke test.

@swift-ci Please smoke test

@swift-ci Please smoke test.

@swift-ci Please smoke test.

@swift-ci Please test.


Enable MATS for Facility Unit/Attributes Program filter

Definition of Ready

[ ] Does this meet the INVEST criteria?
[ ] Does this have a clearly defined user?
[ ] Does this have an estimate?
[ ] Does this have acceptance criteria?
[ ] Does this have sufficient context for the specific functionality being developed (design, business rules, etc.)
[ ] Does this have a dev link been provided in the design?
[ ] Is this traceable to a feature, epic, or PI?

User Story
As a user
I want to be able to filter by MATS Programs for Facility/Unit Attributes
So that I can accurately refine my data query
Acceptance Criteria
Given a user navigates to CAMPD CDD and selects facility/unit attributes as a data type
When the user enters in a time period
and goes to select a Program
Then MATS is displayed as an Annual Program
Given a user is querying for data with the facility/unit attributes
When the user selects MATS Program
and the User selects Preview Data
Then the data is filtered to only display MATS Programs
Development Notes
Does this Story require 508 Testing?

[ ] Implementing a new authoring tool that will produce code / content for the application
[ ] Implementing a 3rd party widget that will be part of the application
[ ] Adding new / updating custom functionality
[ ] Adding new / updating a page template
[ ] Adding new / replacing existing functionality (unless the replacement has already passed 508 testing)
[ ] Full Site Review prior to a scheduled EPA 508 review
[ ] Planning a video that will appear on the application
[ ] Producing a video that will appear on the application
[ ] Producing Training materials
[ ] Producing documents

Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Testing
Test Case: TC909
Tester: Maegan wood
Definition of Done

[ ] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[ ] Has the code been unit tested and peer reviewed?
[ ] Have the functional tests been executed?
[ ] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Is the user story ready to be deployed to the test/staging environments?

@tlageman-epa tc909 has passed

@tlageman-epa TC909 Repassed


[NEW GAME] Othello/Reversi

i want to add a new game to the library othello also know as reversi
The game starts with an 8x8 board with two initial black and two initial white pieces placed in the center.
Players take turns placing their colored pieces on the board. A move is valid if it results in the flipping of at least one opponent's piece in a straight line (horizontally, vertically, or diagonally).
some of the features are :
-to flip the token
-cascading effects
-the corners and edges of the board have special strategic significance in Othello

Hi @RitiChandak , I am assigning this task to you. Kindly complete within a week. Good luck!

Hi @panwar8279, I will do my best to complete this project within a week. Could you please consider upgrading the level? Thank you!


Device Connection Issue

Hey , really helpfull package , am trying to port this in dart ,
but stuck at one point , its not connecting to my ble device
Start Scan , Discover ScanResult , Stop Scan
these methods works Fine
but when i call Connect device , nothing happens on my ble device
here are few logs am printing
{ cmd: 'connect', address: 'd559393bb359', _id: 0 }
{ _type: 'Start' }
StateChange : poweredOn
{
_type: 'response',
_id: 0,
result: 'BluetoothLE#BluetoothLE30:c9:ab:f0:77:e2-d5:59:39:3b:b3:59'
}

Fixed :
For Others : We need to call any function to contact with Ble Device after Connect Command , Like call Discover Services after Connect , will make connection


[Polkadot] Different Address derived from same secret phrase.

Describe the bug
When importing Polkadot account, different address is derived from same secret phrase compared to subkey.
To Reproduce

Run subkey(https://substrate.dev/docs/en/knowledgebase/integrate/subkey), and generate secret phrase and address.

% subkey generate --network polkadot
Secret phrase `napkin protect market echo rent lawn purpose brief decline device season shell` is account:
  Secret seed:      0xeae090bfa7231482606fb30758eeddaec67ee99c3228be61f9a1be82216e086c
  Public key (hex): 0x28fc375edd89c6eb9f3683ae03cd023184f4867a7895b47298b5c98221a2c125
  Account ID:       0x28fc375edd89c6eb9f3683ae03cd023184f4867a7895b47298b5c98221a2c125
  SS58 Address:     1vjqgKwXEowW1Ya54nfSVGaoYEvtHGH7JenrzykczgwpwXJ

copy secret phrase napkin protect market echo rent lawn purpose brief decline device season shell and import polkadot wallet into Trust wallet from this secret phrase.
Created address was:13E7KDY5TA8RTUwEwpSDFbgMdfb4n2jLHegjdgRNWU42SDdk
Expected behavior
Address in Trust Wallet should be same as address in subkey. In this case , it should be 1vjqgKwXEowW1Ya54nfSVGaoYEvtHGH7JenrzykczgwpwXJ.
Screenshots
Additional context
I'm not using this secret phrase as wallet.

This is a known issue, wallet core uses ed25519 for polkadot, subkey uses sr25519 and different derive paths


Release is not being auto singed by github token

https://aeternity-blockchain.atlassian.net/browse/SW-1344

@CedrikNikita Please investigate of the root cause of the issue


[FEATURE] Document OPENSEARCH_JAVA_HOME

Signed-off-by: Andriy Redko<EMAIL_ADDRESS>Description
Documents usage of the OPENSEARCH_JAVA_HOME environment variable
Issues Resolved
Closes https://github.com/opensearch-project/documentation-website/issues/396
Check List

[X] Commits are signed per the DCO using --signoff

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.

@stockholmux @dblock the last one, documentation  updates :)

@reta , we recently added a DCO check that requires you to sign off your commits. For information on how to fix your commit, refer to this page.

@reta , we recently added a DCO check that requires you to sign off your commits. For information on how to fix your commit, refer to this page.

Huhh .. It is signed but committing Github changes breaks it ... I will fix that ...

@reta , we recently added a DCO check that requires you to sign off your commits. For information on how to fix your commit, refer to this page.

Huhh .. It is signed but committing Github changes breaks it ... I will fix that ...

@reta: You need to sign every commit you make to OpenSearch docs. It looks like by commiting my suggestion, GitHub signed on my behalf but didn't sign on yours [Which is odd]. A fast fix would be to close this PR, open a new branch, and then open a new PR with a signed commit.
I'm going to investigate a workaround for committing suggestions.

I'll check in with our devs and see when we can merge in this PR. Thanks @reta!

@keithhc2 thank you,  just to save you some time (hopefully): the change is for 1.3.0+


Update setup.sh to use codespace secrets for certs

setup.sh is currently using a shared key vault for App gateway, and cluster ingress certificates. Update the script to use the codespace secrets and remove requirement on the shared key vault. This will allow a deployment to use the instance key vault that is created by the ARM template.
The values in the AKS cluster ARM templates that need updates are appGatewayListenerCertificate, aksIngressControllerCertificate, and aksIngressControllerKey

@AAkindele - I believe this is done - can we close?

That has not been done yet. Only airs-setup.sh is using the codespace secrets.


Add status indicator to status bar

It would be very useful to have some type of indicator (spinner, whatever) in the status bar that updates whenever the graphql lang server is working.
While the implementation is not identical, here is an example from flow-vs-code ext that provides this feature.
Example showing another ext with this feature:

Related issue: https://github.com/graphql/graphql-language-service/issues/230


fyi unicodes in readme.md

just fyi these don't seem to be fully portable, mebbe try normal markdown instead of unicodes

The error appears to be specific to the Chrome browser on Mac (I'm not sure, but the Safari is OK), likely stemming from the utilization of a particular font. We have addressed this issue by adjusting the fonts, and it should be resolved now.

Glad you pointed it out! I believe it's resolved now


minor do not update progress if job id is not set

Proposed changes
ProgressManager is only support Bulk Load job now, so if job id is not set(-1), do not update progress.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

LGTM


AttributeError: module 'can' has no attribute 'Listener'

You should probably add the cantools version that you have installed.

@juleq It's the latest on 37.1.0

Have nothing to test at hand, off for vacation. But appears to be specific to your setup somehow since CI should complain on a generic fault.
Try removing it and reinstall using pip3.

Hey, it worked!
Thanks !!!

@mjeri You can post your error or confirm that it looks as the one above.
To provide some confidence: I am on an M1, too. I have never had this issue.
It is likely some environmental issue related to system/user installed python or their respective pips.
The 'which' command is your friend to find out to which installation your shell will resolve to.

Yes, fully agree that it's most likely something from the environment that breaks this.
To verify things I've also tried to clone and build the project. I'm appending the log here of the make. The error message at the bottom is always the same.
A few more details, just to share, after the python3 -m pip install cantools (also tried out with pip3 install cantools) I have no access to other commands like candump and such. If I which cantools it resolves to /opt/homebrew/bin/cantools which first made me think I have a duplicate installation via brew but if I pip uninstall the cantools then bin is gone from the homebrew directory :3
➜  cantools git:(master) make
python3 setup.py test
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing cantools.egg-info/PKG-INFO
writing dependency_links to cantools.egg-info/dependency_links.txt
writing entry points to cantools.egg-info/entry_points.txt
writing requirements to cantools.egg-info/requires.txt
writing top-level names to cantools.egg-info/top_level.txt
reading manifest file 'cantools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'cantools.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "/Users/marco/work/cantools/setup.py", line 14, in <module>
    setup(name='cantools',
  File "/opt/homebrew/lib/python3.9/site-packages/setuptools/__init__.py", line 155, in setup
    return distutils.core.setup(**attrs)
  File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup
    return run_commands(dist)
  File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
    dist.run_commands()
  File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
    self.run_command(cmd)
  File "/opt/homebrew/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/opt/homebrew/lib/python3.9/site-packages/setuptools/command/test.py", line 224, in run
    self.run_tests()
  File "/opt/homebrew/lib/python3.9/site-packages/setuptools/command/test.py", line 227, in run_tests
    test = unittest.main(
  File<EMAIL_ADDRESS>line 100, in __init__
    self.parseArgs(argv)
  File<EMAIL_ADDRESS>line 147, in parseArgs
    self.createTests()
  File<EMAIL_ADDRESS>line 158, in createTests
    self.test = self.testLoader.loadTestsFromNames(self.testNames,
  File<EMAIL_ADDRESS>line 220, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File<EMAIL_ADDRESS>line 220, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File<EMAIL_ADDRESS>line 191, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/opt/homebrew/lib/python3.9/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File<EMAIL_ADDRESS>line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/Users/marco/work/cantools/tests/test_monitor.py", line 15, in <module>
    from cantools.subparsers.monitor import Monitor
  File "/Users/marco/work/cantools/cantools/__init__.py", line 7, in <module>
    from . import tester
  File "/Users/marco/work/cantools/cantools/tester.py", line 28, in <module>
    class Listener(can.Listener):
AttributeError: module 'can' has no attribute 'Listener'
make: *** [test] Error 1

What version of python-can do you have? Maybe try to uninstall and reinstall after checking its version. I saw that the python-can version is not pinned and has no minimum required version…

It's 4.0.0
I have checked with pip list and found a can module in version 0.0.0 which I don't yet understand where it's coming from. Could it be related to this one? Removing this one manually gave me now different error messages, so it's an indicator that it's somehow related to this module. Also: a pip3 install cantools doesn't add the can package again. Sorry if this is distracting information, I'm not so much into python. Do you have such a can module on your system?
The error without the can package on my system:
➜  work cantools --version
Traceback (most recent call last):
  File "/opt/homebrew/bin/cantools", line 5, in <module>
    from cantools.__init__ import _main
  File "/opt/homebrew/lib/python3.9/site-packages/cantools/__init__.py", line 7, in <module>
    from . import tester
  File "/opt/homebrew/lib/python3.9/site-packages/cantools/tester.py", line 7, in <module>
    import can
ModuleNotFoundError: No module named 'can'

Try removing can, python-can and cantools. Then install cantools using pip3.

That seemed to have worked \o/
Wow, thank you so much for the support!

For later reference: There is a pypi package called "can" (color automator or something) which could be installed accidentally by a user (not sure anyone ever really wanted to install that). If installed, it will have a naming collision with the ever so popular python-can package. cantools (this project) uses python-can for CAN bus access. If it finds the "can" package instead, above error will be reported.


Custom column type does not pass schema validation

I attempted to create a custom column type (UUID) and implemented BlackbirdColumnWrappable and BlackbirdStorableAsText as follows:
extension UUID: BlackbirdColumnWrappable, BlackbirdStorableAsText {
    public static func fromValue(_ value: Blackbird.Value) -> UUID? {
        guard case let Blackbird.Value.text(stringValue) = value else {
            return nil
        }
        return UUID(uuidString: stringValue)
    }

    public func unifiedRepresentation() -> String {
        self.uuidString
    }

    public static func from(unifiedRepresentation: String) -> UUID {
        return UUID(uuidString: unifiedRepresentation)!
    }
}

I also added an init(from:) decoder to my model as show in the comments of BlackbirdSchema.swift.
However, my model does not pass the schema validation because instead of using the BlackbirdDefaultsDecoder, which supplies a valid default for UUID,  it uses the BlackbirdSQLiteDecoder which bypasses the if statement in my init(from:) to test for the BlackbirdDefaultsDecoder and provide a valid default.
Should the decoder at the following line be BlackbirdDefaultsDecoder to ensure the testRow has the right default for the column?
https://github.com/marcoarment/Blackbird/blob/2f15d7fae9f3821b43b7a945af38273fcb955157/Sources/Blackbird/BlackbirdModel.swift#L826C1-L835C10
Or am I just on the wrong path and this is not a feature Blackbird is supporting?

Having the same issue, I'm attempting to store a Decimal as a custom column type (either blob or text would work for my purposes)


Revamp test page

This new page will make testing and developing easier than ever. We can now benefit from auto-reload when developing invoices.

Codecov Report

Merging #42 into master will decrease coverage by 4.45%.
The diff coverage is 15.38%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage    78.7%   74.25%   -4.46%
==========================================
  Files          12       12
  Lines         155      167      +12
  Branches       35       37       +2
==========================================
+ Hits          122      124       +2
- Misses         28       36       +8
- Partials        5        7       +2

Impacted Files
Coverage Δ

src/pages/invoice.js
93.61% <0%> (ø)
:arrow_up:

src/lib/utils.js
54.16% <16.66%> (-12.5%)
:arrow_down:

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 9cd63b3...91b5952. Read the comment docs.


Fix typo on feature.rst

Coverage remained the same at 93.472% when pulling bafaf902fd41572ce0f07165d070ec39b51674c5 on caiotaniguchi:patch-1 into 3e2586b7c7ef23e78fe3c7802bdc2ab72ec9c3e0 on rushter:master.


Product I add are not credited to me

What

Product I add are not credited to me

Steps to reproduce the behavior

Connect yourself to Smoothie (you can restart the app if you want as well)
Add a new product
Look for the owner on web

Expected behavior

my account should have been credited

Part of

#503

Screenshot/Mockup/Before-After

https://world.openfoodfacts.org/product/4046719055869/test-huh-test

@teolemon needs to be tested again after next release


append

ist there a way to use jquerygo.append?

I cannot think of a reason why you would want to append an HTML element within a test or an automation task. What is your use case?

i need to execute some js code on the website, i cannot execute over jquerygo because of some missing features like checking if a dom exists.
as a workarround i thouhgt i might convert them to string, put them in a script element and append them to my html element.

A better way to do that is to just use PhantomJS to evaluate javascript on the page, like so.
  // Get the page.
  $.getPage(function(page) {
    page.evaluate(function(args) {
      console.log('We are executing JavaScript on the page! Here are some arguments...');
      console.log(args);
      return {returnParam: 'returnValue'};;
    }, function(retVal) {
      console.log('We are done executing! The value of the return is.');
      console.log(retVal);
    }, {
      someArg: 'value_of_arg'
    });
});

wow, i didn't know, thx  :+1:


[WIP] ARROW-4648: [C++] Use underscores in source file names

The rule is:

underscores in C++ source file names
underscores in .so / .a file names
hyphens in executable file names
hyphens in pkgconfig file names

I perused this, and it looks good to me.  It seems that this change triggered a bunch of IWYU lint issues.

@emkornfield Yes, I'll fix the lint issues at the end.

Looks good to me also.

Rebased and hopefully fixed lint failures. Will wait for CI and merge if green.

Travis-CI: https://travis-ci.org/pitrou/arrow/builds/573853109
There's a hung Travis-CI job. It also happens on master, so not related to this PR: https://travis-ci.org/apache/arrow/builds/573842140

AppVeyor: https://ci.appveyor.com/project/pitrou/arrow/builds/26798788


Define attribute requirements

What are the minimum attributes that are needed to satisfy the Geoblacklight schema requirements.

Notes to start with: https://docs.google.com/document/d/10Vy70CX7vIYD03fRM8gogU1PbBH-KgnXxFyDjfUCDAA/edit#

We want to look at GeoJSON-LD as a possible solution for bounding box, projections, etc.

https://github.com/geoblacklight/geoblacklight-schema/blob/master/docs/geoblacklight-schema.markdown

Our working document: https://docs.google.com/spreadsheets/d/1QgnrLijeUOV-tFsyRE7fZpY4n_5D-8PJO3o8VxORPiw/edit?usp=sharing

Links to the Curation Concerns basic and required metadata gems
https://github.com/projecthydra-labs/curation_concerns/blob/88af416bd2fb1088827a090f2ecf98cbb61a2ca5/curation_concerns-models/app/models/concerns/curation_concerns/basic_metadata.rb
https://github.com/projecthydra-labs/curation_concerns/blob/88af416bd2fb1088827a090f2ecf98cbb61a2ca5/curation_concerns-models/app/models/concerns/curation_concerns/required_metadata.rb

I'm going to close this one and create another for the outstanding issue of the multivalued attributes.


chore: bump version and lockfile

see title

Codecov Report
Base: 87.01% // Head: 86.90% // Decreases project coverage by -0.12% :warning:

Coverage data is based on head (25dd2cc) compared to base (68bcc7d).
Patch coverage: 89.74% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
- Coverage   87.01%   86.90%   -0.12%
==========================================
  Files          12       12
  Lines         285      313      +28
==========================================
+ Hits          248      272      +24
- Misses         37       41       +4

Impacted Files
Coverage Δ

storage3/_async/file_api.py
86.48% <86.66%> (-1.02%)
:arrow_down:

storage3/_sync/file_api.py
86.48% <86.66%> (-1.02%)
:arrow_down:

storage3/types.py
93.54% <100.00%> (+2.24%)
:arrow_up:

storage3/utils.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Also offer BibTeX citation snippet

Hello :-)
would this be of interest as well? It's the same snippet that Zenodo exports.
Cheers!

This seems like a good addition to me.
Alternatively, we could include BibTeX
or a copy of what's in Export on the bottom right of https://zenodo.org/record/853492#.WtiO1y-ZOJQ
I'm not sure which would be best.

This is a super useful addition @katrinleinweber !

@yadudoc @annawoodard  Did you read my comment above?

Alternatively, we could include "BibTeX"

I don't follow, this PR is bibtex.

or a copy of what's in Export on the bottom right of https://zenodo.org/record/853492#.WtiO1y-ZOJQ
I think this would be nice but will take more time; we should open it as a separate issue.

we could copy the "BibTex" link from the zenodo page, and let it resolve back to the Zenodo page itself
Or we could copy all the output options from the zenodo page.

basically, my question is we should duplicate the bibtex info on our page or point (link) to what zenodo generates directly

I would say that far and away bibtex will be the most common citation method, so I prefer putting the text directly as is done in this PR, because it saves people time. We can add a link separately, i.e., "for more options, visit here"

You're welcome, and thanks for merging :-)


Solved missing invert attribute bug

Solves issue #7725 🙌

@ACMCMC - thanks for taking the time to report and debug/resolve this.
Would you be able to look at creating a unit test to cover this DB specific issue, it would be very easy for something like this to be missed/inverted ;)  in the future and it would be great to have a test to cover it.

Would you be able to look at creating a unit test to cover this DB specific issue, it would be very easy for something like this to be missed/inverted ;) in the future and it would be great to have a test to cover it.

Yes! Of course, that's a great idea 🙌 I will add a commit to this PR with that unit test. However, do you think it's better to add it only to the MySQL backend (test_mysql_backend.py), or to instead create a general test that applies to every backend (test_backends.py), and specialize that test in the MySQL backend, to add other MySQL-specific features to the test?

@ACMCMC Since the bug occurs when running a standard non-database-specific query, I think it'd be most useful to write it as a general test for all backends - that way we'll catch any similar bugs if they exist on the other backends.

The latest commit on the branch is the requested change on the unit tests. I chose not to add another test, which would contribute to a higher delay when running all the suite of tests of Wagtail. Instead, I just modified the test_plain_text_multiple_words_and test, to test for a 3+ words case.
The tests are now failing because of it, as described in #7727 . I will submit another commit with the fix for that issue.

The latest commit on the branch is the requested change on the unit tests. I chose not to add another test, which would contribute to a higher delay when running all the suite of tests of Wagtail. Instead, I just modified the test_plain_text_multiple_words_and test, to test for a 3+ words case.
The tests are now failing because of it, as described in #7727 . I will submit another commit with the fix for that issue.


Failed to deploy lambda - utility-layer

Hi there,
Trying to deploy the CDK backend (step 2) and get thrown the below error upon building the backend, all lambdas successfully build up until the last one "utility-layer". I cannot for the life of me get this to build and cannot figure out why. I managed to successfully build manually the other lambdas, but cannot get this last one to work.
Account is an IAM admin configured correctly. Running on windows.
Any insight?
Cheers
build utility-layer

<EMAIL_ADDRESS>build C:\Users\Jay\video-call-escalation\cdk-backend\lambdas\utility-layer
esbuild *.js --bundle --platform=node --external:aws-sdk --outdir=build --target=node12

error: Cannot read directory "node_modules/*.js": The filename, directory name, or volume label syntax is incorrect.

error: Cannot read directory "../../node_modules/*.js": The filename, directory name, or volume label syntax is incorrect.

error: Cannot read directory "../../../../node_modules/*.js": The filename, directory name, or volume label syntax is incorrect.

error: Cannot read directory "*.js": The filename, directory name, or volume label syntax is incorrect.

error: Could not resolve "*.js"

5 errors
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: esbuild *.js --bundle --platform=node --external:aws-sdk --outdir=build --target=node12
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\Jay\AppData\Roaming\npm-cache_logs\2021-04-12T22_46_03_383Z-debug.log
utility-layer build failed
bash: prompt: command not found
/c/Users/Jay/video-call-escalation/cdk-backend
INFO: cdk.context.json not present, nothing to remove
Deploying cdk-backend
`

Could you please check if node-modules have been properly installed? Can you see node-modules folder in the utility-layer folder? If not, please run npm install while in utility-layer folder.

Hi there --
Yes, node modules is in the utility layer folder.
It's a strange error.

I think this might be a problem with esbuild on Windows. From the logs you provided, it's looking for node_modules/*.js using the /, while Windows would require \ instead. Based onesbuild official documentation, Windows is supported, and after installing esbuild on Windows, you should get esbuild.exe after the installation. Could you please check if you've got esbuild.exe?
To check the version on Windows, you could run:
.\node_modules\.bin\esbuild --version

Hi
I'm using a Mac chip M1. I got that error with both Chrome and Safari.
Thanks for your help.
Le mar. 27 avr. 2021 à 05:17, Milos Cosic @.***> a
écrit :

I think this might be a problem with esbuild on Windows. From the logs
you provided, it's looking for node_modules/*.js using the /, while
Windows would require \ instead. Based onesbuild official documentation,
Windows is supported, and after installing esbuild on Windows, you should
get esbuild.exe after the installation. Could you please check if you've
got esbuild.exe?
To check the version on Windows, you could run:
.\node_modules.bin\esbuild --version
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/amazon-connect/video-call-escalation/issues/1#issuecomment-827454643,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEKAWQVUEHHPTJMCKBCHYGTTKZ6L7ANCNFSM422FZMXQ
.

--
Luc Pâquet
@.***

Hi
I have esbuild version 0.11.15 installed, I have re-attempted to run the deploy.sh to no success. Still fails at the utility layer.
I have also attempted to do this on Ubuntu with no success.
Cheers

You can try to build it 'manually', on your Ubuntu, go to cd video-call-escalation/cdk-backend/lambdas/utility-layer and just run npm run build

Upon running npm build manually in WSL I get:

<EMAIL_ADDRESS>build
esbuild *.js --bundle --platform=node --external:aws-sdk --outdir=build --target=node12

But that is it. No cloudformation url as per the instructions.

That's fine, you still need to run the deploy.

Cheers


docs: Remove babel-jest from "required dependencies" for using Babel

Summary
The "Using Babel" section of Getting Started includes babel-jest in the step "install required dependencies." But as the same doc page points out in a note, "babel-jest is automatically installed when installing Jest." It comes in as a dependency through the chain jest ➡ @jest/core ➡ jest-config ➡ babel-jest.
Therefore, installing babel-jest is redundant at best. At worst, it means that two competing versions of babel-jest could exist in a project's node_modules tree.

Users should install babel-jest (and @babel/core etc.) themselves. If they do, that's what's used, no conflict. That means users can control it. We also come with a version to be more zero config, but it's still best practice to include your own

Users should install babel-jest (and @babel/core etc.) themselves. If they do, that's what's used, no conflict.

I believe the behavior there depends on the particular package manager (and, potentially, its configuration). But to take one example, if I use yarn v1 out of the box, and I install, say, jest@26 and babel-jest@27, then I'm going to have two different versions of babel-jest in my node_modules tree, and jest itself will use babel-jest@26: It's installed in node_modules/jest-config/node_modules/babel-jest, so it's what require.resolve('babel-jest') will yield from within jest-config.

I still feel that the "Getting Started" doc should not advise users to install both jest and babel-jest. It's redundant at best, and at worst it may lead to multiple versions of babel-jest being installed, as described in my previous comment.


Here's my use case, how would you suggest I apply your library to it?

I opened #1 with a clear idea of my needs, but not of how they relate to this package. So I'll describe what I'm trying to do, and I'd appreciate your insight in how your library can be used for it.
I'm making a falling-block puzzle game (think Tetris or Puyo Puyo or Columns) with multiplayer. Each block has a different shape, and each shape in turn is made of pieces from a fixed set of colors. These shapes and colors are represented in my game as ScriptableObjects.
The set of possible shapes and colors expands at fixed intervals; this is currently done by replacing the active probability distribution with a new preset one (as opposed to modifying it in-place).
The shapes and colors are determined randomly, but in multiplayer mode both players must get the same sequence of pieces (including color and shape). It's still random, but both players get the same seed at the start of the game and both RNGs are running at the same rate.
It's okay if colors and shapes use different RNGs, or even different seeds; however, both players must get the same set of seeds at the start of the game.
I have a gut feeling that Random-Generators will better fit this use case than my current implementation, but I don't know what that would look like in practice. What would you suggest?

For this you need to modify a provider. I'll rewrite all the providers a little so that they all can be modified at runtime.

Perfect, thank you.

Look at https://github.com/ZorPastaman/Random-Generators/commit/bfd15ff0b546aa6cc3617f81ea353076cb3098f6 . I make seed in providers modifiable.

Beautiful! I can't wait to get started integrating this into my game. Thank you very much!


Permit alternate ring implementation

e.g., jump consistent hash ring, Hilbert ring…
https://en.wikipedia.org/wiki/Hilbert_curve
r @jwolski

:dancer:

I'm sure the test is failing because of some silly reason. I'll look into it.... SOON

the failure looks just like other tchannel .listen bugs we've fixed elsewhere. 10:1 odds anybody?

Rebased on the Master and now it is :green_apple: :green_apple:

LEGGGITTTT