Mercurial support (ensure clean status, version bump, tag, push)

First of all thanks for all of your work on this project, it is amazing and a total revelation! I've started bringing it in at my workplace and setting it up for all of our projects.
My company is using mercurial for source control, so there were a few custom actions I had to implement to mimic the support fastlane has for git. I'm not sure if this is much use to anyone else as mercurial isn't too widely used, but I thought I'd share these back just in case.
All credit and my thanks to @lmirosevic for his git actions, which these were largely based off (especially the hg_commit_version_bump action). Cheers!

@sjrmanning thank you so much for your contribution, this is amazing! :+1:
I have never used mercurial myself and have no real way to test it. Are you using those actions already? Any questions that came up?
Would you be able to bring the code coverage change to +-0%? Right now it's a decrease of 0.64%
Thanks again, really appreciated :rocket:

@KrauseFx no problem at all, my pleasure!
I am currently using these actions in a Fastfile like this here.
The problem with the coverage is the big version bump commit action, same with the git version it's a little hard to test, but I've done my best. My ruby experience is very limited to be honest so I hope what I've done with that spec is okay (the action uses Helper.is_test extensively to skip over some things). It's mainly testing how it acts with changed files and what's expected to have changed during a version bump commit.

Looks good, thanks @sjrmanning :+1: Test coverage is now -0.14%, which is okay. Thanks again for your contribution, this will be in the next release :rocket:

Great! Thanks @KrauseFx! :smile:


glob patterns are not working during replacements

Describe the bug
When parsing the sfdx-project.json any replacement patterns using glob are not applied.
To Reproduce
Steps to reproduce the behavior:

Create a project with one or more platformEventSubscriberConfig files, which specify a user tag like SystemUser.
(Note: This requires you have a valid platform event and platform event subscriber to reference also in the project.)
Create add an element to the  "replacements" array like:
{
"glob": "src/**/*.platformEventSubscriberConfig-meta.xml",
"regexToReplace": "[A-Za-z0-9]+User",
"replaceWithFile": "replacements/EmptyXmlComment"
}
Create a file "replacements/EmptyXmlComment" that contains
Verify you can deploy your file to an org using the "sf project deploy start" command
Try the same with say a sfp running any stage that deploys the packages like quickdeploy.

Expected behavior
The string SystemUser should be replaced with the empty comment and successfully deploy.
Actual behavior
The replacement does not happen and there is an error that the SystemUser does not exist.
Platform Details (please complete the following information):
sfp  -- ❤ by flxbl.io ❤ -Version:39.0.3 -Release:June 24
Current runner version: '2.319.1'
Operating System
Ubuntu
22.04.5
LTS
Runner Image
Image: ubuntu-22.04
Version: 20240922.1.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240922.1/images/ubuntu/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240922.1
Runner Image Provisioner
2.0.384.1
Additional context
This is particular problematic for files where it is not possible to write a replacement string that is deployable without replacement.  As it means the replacement must always happen regardless of DEPLOY_TARGET for every file using that string that must be replaced.

@docbill  can you confirm where your replacements where stored ? in sfp, the package as such as is installed without the context of the repo. So unless this file is reachable within the context of the package, I do not think it would be supported.  We might have to have specific support around it

@docbill can you confirm where your replacements where stored ? in sfp, the package as such as is installed without the context of the repo. So unless this file is reachable within the context of the package, I do not think it would be supported. We might have to have specific support around it

We store all replacements in a replacement folder in our repo.  Here is a relevant sample:
    {
      "glob": "src/transactionlog-subscriber/**/PlatformEventSubscriberConfigs/*.platformEventSubscriberConfig-meta.xml",
      "stringToReplace": "<user>IntegrationUser</user>",
      "replaceWithFile": "replacements/prod/IntegrationUserTag",
      "replaceWhenEnv": [{
				"env": "DEPLOY_TARGET",
				"value": "PROD"
			}]
    }

A completely separate issue is I had to add a validation step in our build pipeline.   Because a value like "replacements/PROD/InegrationUserTag" would work locally on a case insensitive file system, but not during a build running in an Linux container.
I will reference that here, as it might help give you further context:
      # New step: Scan sfdx-project.json for "replaceWithFile" entries and check if files exist
      - name: 'Check replaceWithFile existence in sfdx-project.json'
        id: check-replaceWithFile
        run: |
          # Extract "replaceWithFile" values from sfdx-project.json and check if the files exist
          FILES=$(jq -r '.replacements[] | select(.replaceWithFile != null) | .replaceWithFile' sfdx-project.json|sort -u)
          if [[ -n "$FILES" ]]; then
            for file in $FILES; do
              if [[ ! -f "$file" ]]; then
                echo "Error: $file listed in sfdx-project.json does not exist in the branch."
                exit 1
              fi
            done
            echo "Existing files: $FILES"
          fi
        shell: bash

Here is another sample of a replacement that does not get performed when running sfp during the quickdeploy stage:
    {
      "glob": "src/transactionlog-subscriber/**/*.platformEventSubscriberConfig-meta.xml",
      "regexToReplace": "<user>[A-Za-z0-9]+User</user>",
      "replaceWithEnv": "UNSET_ENV_VARIABLE",
      "allowUnsetEnvVariable": true
    }

(This particular rule was last replacement in the list.  It acts as a fall through, when none of the other replacements applied.)

We do have a workaround.  Which is to list the relevent files in the ignores files and then explitly deploy them from a script.  e.g.
"postDeploymentScript": "scripts/deploy/subscriber-configs-post.sh",
#!/bin/bash

# https://docs.flxbl.io/sfp/building-artifacts/configuring-installation-behaviour-of-a-package/pre-post-deployment-script

packageName=$1
targetOrgUsername=$2
targetOrgAlias=$3
packageDir=$4
packagePath=$5

echo "=== Called $0 $* ==="
trap 'echo "=== Exit($?) $0 $* ==="' EXIT

orgArgs=()
if [[ -n "$targetOrgAlias" ]]
then
    orgArgs=("-o" "$targetOrgAlias")
fi
echo orgArgs="${orgArgs[*]}"

if [[ "$targetOrgUsername" != *"@"* ]] && [[ -z "${DEPLOY_TARGET#SCRATCH}" ]]
then
    targetOrgUsername=$(sf org list users --json "${orgArgs[@]}" | sed -n 's/.*"username": *"\([^"]*\)".*/\1/p' | head -n 1)
    [[ "$targetOrgUsername" == *"@"* ]] || echo "Failed to find username"
fi
if [[ "$targetOrgUsername" == *"test-"*"@"* ]]
then
    export SCRATCH_USER_TAG="<user>$targetOrgUsername</user>"
    export DEPLOY_TARGET=${DEPLOY_TARGET:-SCRATCH}
fi
echo DEPLOY_TARGET="$DEPLOY_TARGET"
echo SCRATCH_USER_TAG="$SCRATCH_USER_TAG"

if [[ -n "$targetOrgAlias" ]] && [[ -z "$DEPLOY_TARGET$SCRATCH_USER_TAG" ]]
then
    echo "Deployment not specified (DEPLOY_TARGET=$DEPLOY_TARGET, targetOrgUsername=$targetOrgUsername). Nothing to do."
    exit 0
fi

set -e

files=$(egrep -rl '<user>([A-Za-z0-9]+)User</user>' "${packagePath:-src}" |sed -n -e 's,^\(.*[.]platformEventSubscriberConfig-meta[.]xml\),-d \1,p')

[ -n "$files" ] || ( echo "No files found. Nothing to do."; exit 1 )

sf project deploy start "${orgArgs[@]}" --ignore-conflicts $files

It is ugly, but it works.

Thanks for the detailed write up @docbill. We will look into it


Simplify Lambert calculation functions

Rename the functions to be clear about what they do
Make sure they essentially just perform one thing

Nice job man, much clearer!


Nous P4 E14 RGBCW bulb, BK7231N + BP5758

this bulb:

nous-p4-rgbcw.zip

An update has been pushed that should include a profile for this device.  Please update your repo and give it a try.  Please see the instructions page ( https://github.com/tuya-cloudcutter/tuya-cloudcutter/blob/main/INSTRUCTIONS.md ) for any command or input changes.
If the new profile does not work, please re-open this ticket with details (including logs) of the failure.
Any feedback is appreciated.


Support for password generation?

Hi there! First of all, thanks for making this crate: I think Apple's password description DSL is very neat, and I'm glad to see that 1Password has already done the valuable work of making a high-quality Rust interface for their password rules :slightly_smiling_face:
This issue is a potential feature request: is there upstream interest in password generation support? In other words: would it be okay for this crate to grow functionality for generating passwords that are compatible with a given ruleset?
If so, I'm happy to try and contribute that functionality -- it's something I'd like to use as a potential downstream consumer of this crate. Otherwise, no problem at all: I can understand wanting to keep this crate's APIs small, and this is something I can do independently.
Thanks for your consideration!

Hello @woodruffw! Thanks for your interest in this crate and password rules, we love seeing folks jump on this spec so we can continue to push reliable password generation forward. 😄
Our intention for this crate is to keep it as small and scoped as possible and as such we'd like to keep it scoped to just the parser and not include any password generation capabilities.
I'm going to close this issue for now, but we'd be interested to see what you come up with in the password generation space!

Thank you for the fast response! That makes perfect sense; I'll pursue this independently.


Import or Use pype outside of pype executable

Description
It would be great to be able use build pype as python modul which can be imported. That is not possible right now as many of initialization parts of pype are based on current environments and executable which started the initialization.

To be able do that we have to change definition how to know that imported pype is from code or build.
We also have to dicard use of pype settings before pype version usage is defined.
Pype initialization also import pype inside before knowing which pype version is used (maybe won't when settings won't be loaded) which means that it is required to remove pype from sys.modules afterwards, but it is possible that meanwhile other part of code already imported and cached bad pype module.

[cuID:PYPE-1355]

we decided that at the moment this doesn't have enough use for it to be justifiable


VS 2015 released version - SQLiteAsyncConnection missing assembly reference

I am using the latest VS 2015 released version and installed SQLite.Net-PCL via Nuget package but when I try to use the SQLiteAsyncConnection I receive below error: I try to add using SQLite.Net.Async; but that is not found.
error CS0246: The type or namespace name 'SQLiteAsyncConnection' could not be found (are you missing a using directive or an assembly reference?)
Any ideas?

Have you included 'SQLite.Net.Async PCL' package? (https://www.nuget.org/packages/SQLite.Net.Async-PCL/)

Yep, that was it. Thanks I appreciate it.

After solving the same problem, I got these error:
CS0012	The type 'Func<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
at this line:  new SQLiteAsyncConnection(() =>
Any ideas?


Stand-alone binary

It would be useful to be able to npm install -g pretty-error, and get a pe-node binary or something like that, that enables pretty errors for whatever script you are trying to run - supporting something like --ignore-node and --ignore-module arguments for basic configuration. That way you don't have to hardcode it into your application or library, but you can still get pretty errors during development.
Is anything like this planned?
EDIT: For clarification, an invocation would look something like pe-node --ignore-node --ignore-module bluebird app.js

Apologies for the delay.
This is a great idea. My only concern is, how can it be used with other node-invoking binaries, like coffee? Because I rarely ever use node directly. Usually I call it from coffee or nodemon or something like that. And I suspect I'll be able to use pe-node that often if it doesn't work with other binaries.
One idea would be to use io.js' new -r flag. It would look something like this:
$ node script.js -r pretty-error/start
But that's only for io.js.
Thoughts?

I presume that it could work with /usr/bin/coffee, like is the case for other tools, because the coffee binary is really just a Javascript file.  This is basically how you use eg. nodemon with Coffeescript.
I don't know whether this also works on Windows, though.

@joepie91: This sounds like something we could do. How useful do you think this feature would be for you?
@alexgorbatchev: Hey Alex! Long time no see :) what do you think of this?

It would be quite useful :)
Especially when working with third-party code, it's not as easy to drop pretty-error into the codebase, but it'd still be nice to have pretty errors - a stand-alone binary would really help with that.
Plus the aforementioned benefit of not having to put what is effectively debugging code into your codebase permanently - for example, when running in production, you might be logging errors to a logfile instead, and then ANSI escape codes are not very practical.

Okay then :) I'll keep this issue open for now and get back to it the next chance I get.

You can now preload pretty-error into your code using node's --require argument:
$ node --require pretty-error/start your-module.js


[Fix]:Button bug when click outside of the text button not working.

Fixes button bug when we click outside of the text.

@love-sonkar - This change messed up the website.


Adding more detailed protocols section

Not finished yet Added a new qmd for the section on protocols and began to flesh out the text. Also added the assets for this new document. Will continue to draft this tomorrow.

Thanks, JD! Will go through and fix this up more concretely once I'm back.


ORC-1414: [Java] Upgrade java bench module to spark3.4

What changes were proposed in this pull request?
This PR is aimed to upgrade java bench module to spark3.4.
The PR also fix some compile errors.
Why are the changes needed?
To test & bench with the latest Spark version.
How was this patch tested?
N/A
Closes #1472

Let me backport this to branch-1.8.

Thank you, @deshanxiao and @williamhyun .


How to contribute?

Since my raised issue on #115 seems not going anywhere I decided by myself to contribute.
But the readme isn't very detailed to how the countries list is generated.
Can you please update the readme.md?
Thank you

Since the repository is just a cldr database dump in various formats, the only way to contribute is to checkout the repository and rebuild the list by running build script.

Hi, thanks for bringing attention to this.
Since the repository is just a cldr database dump in various formats, the only way to contribute is to checkout the repository and rebuild the list by running build script.
Cheers.

Hi,
But where? When I should change? Because I tried to update some SQL's and examples and build running top on another package.
So what's your suggestion?
Thank you,

This is the home page of CLDR project http://cldr.unicode.org/.


[RPI4_PI-OS]nginx-gen : exec format error

Error description:
nginx-gen restart in loop.
docker logs nginx-gen give : standard_init_linux.go:219: exec user process caused: exec format error
Steps to reproduce

First of all I am making my domain name pointing to my external ip address
I forwards ports 80 and 443 into my gateway.
I install raspberry OS light 32bit (on raspberry Pi 4 8Go, boot on ssd throuth USB)
I connect to my rpi4 and type "sudo apt update", "sudo apt upgrade"
I install docker with get-docker.sh from https://get.docker.com
I install docker-compose with apt install docker-compose
I am cloning docker-compose evertramos repo then "cd" into it.
I Copy ".env.sample" file and rename it as ".env" (no modification)
Then I use the ".start.sh" script
no error returned, evrything finish with done
in docker ps information nginx-gen is restarting in loop
in docker logs nginx-gen give lines of standard_init_linux.go:219: exec user process caused: exec format error
nginx-web and nginx-letsencrypt are up

Expected result
nginx-gen should be up
Error result
standard_init_linux.go:219: exec user process caused: exec format error
Comments
May be is it a 64bit image that try to run on a 32bit OS
in the issue #161, it seems possible to be operational on raspberry Pi 4
If any one have an idee ?
Thanks

I just try from a ubuntu 20.10 64bit from SDcard.
I have the same trouble

I found a working solution with a new image :
  nginx-gen:
    image: wouterds/rpi-docker-gen


Vagrant kube-up broken ?

I am trying to do a kube-up on vagrant and have run into a wierd situation:
I have my minions and master provisioned successfully but the cluster validation fails stating:
Validating master
Validating minion-1
...........
Waiting for each minion to be registered with cloud provider
Error from server: an error on the server has prevented the request from succeeding (get nodes)`

Tried logging into the master using vagrant ssh master Did a docker ps` and got the following:
[root@kubernetes-master vagrant]# docker ps
CONTAINER ID        IMAGE                                  COMMAND                CREATED             STATUS              PORTS               NAMES
128d79903e07        gcr.io/google_containers/etcd:2.0.9    "/usr/local/bin/etcd   10 minutes ago      Up 10 minutes                           k8s_etcd-container.ec4297e5_etcd-server-kubernetes-master_default_3595ac402f3a17c29dab95f3e0f64c76_b83db0a0
b4920ead7a98        gcr.io/google_containers/pause:0.8.0   "/pause"               10 minutes ago      Up 10 minutes                           k8s_POD.e4cc795_etcd-server-kubernetes-master_default_3595ac402f3a17c29dab95f3e0f64c76_2d010bf1
54997680c53f        gcr.io/google_containers/pause:0.8.0   "/pause"               10 minutes ago      Up 10 minutes                           k8s_POD.e4cc795_kube-controller-manager-kubernetes-master_default_76e6e56a342086715fea5d4615ae45eb_dd47273e
a60ff9fce5e2        gcr.io/google_containers/pause:0.8.0   "/pause"               10 minutes ago      Up 10 minutes                           k8s_POD.e4cc795_kube-apiserver-kubernetes-master_default_4bc2f91669a907e752c5109b23038b08_0a8f26d3
f3f0425d959f        gcr.io/google_containers/pause:0.8.0   "/pause"               10 minutes ago      Up 10 minutes                           k8s_POD.e4cc795_kube-scheduler-kubernetes-master_default_d3cad19e6b386384ee9db6ac06ffa27b_0d72491c

I see that only the pause containers have been created for the master components. I then try to debug the kubelet logs and did a journalctl -u kubelet and founf the following:
May 31 06:38:53 kubernetes-master kubelet[4362]: W0531 06:38:53.814807    4362 server.go:425] Could not load kubeconfig file /var/lib/kubelet/kubeconfig: stat /var/lib/kubelet/kubeconfig: no such file or directory. Trying auth path instead.
May 31 06:38:53 kubernetes-master kubelet[4362]: I0531 06:38:53.816683    4362 server.go:258] Using root directory: /var/lib/kubelet

May 31 06:38:55 kubernetes-master kubelet[4362]: E0531 06:38:55.080508    4362 kubelet.go:1535] error getting node: node kubernetes-master not found
May 31 06:38:55 kubernetes-master kubelet[4362]: E0531 06:38:55.179272    4362 kubelet.go:743] Unable to construct api.Node object for kubelet: failed to get external ID from cloud provider: Post http://kubernetes-master:8000/login: dial tcp <IP_ADDRESS>:8000: connection refused

and also,
May 31 06:39:04 kubernetes-master kubelet[4362]: E0531 06:39:04.919376    4362 manager.go:1535] Error running pod "kube-scheduler-kubernetes-master_default" container "kube-scheduler": API error (404): Cannot start container 1c4e13ff4af5afd2445afa0f51009ea03b8cebbf98f61fadb8cbd57969e35aa9: exec: "/bin/sh": stat /bin/sh: no such file or directory
May 31 06:39:04 kubernetes-master kubelet[4362]: E0531 06:39:04.947432    4362 manager.go:1535] Error running pod "kube-apiserver-kubernetes-master_default" container "kube-apiserver": API error (404): Cannot start container 430b81d3cc4670c1640b28c656b8e89a54fed3a3ef22f31da9ad0cca3cf6e04c: exec: "/bin/sh": stat /bin/sh: no such file or directory
May 31 06:39:05 kubernetes-master kubelet[4362]: E0531 06:39:05.053996    4362 manager.go:1535] Error running pod "kube-controller-manager-kubernetes-master_default" container "kube-controller-manager": API error (404): Cannot start container eb085a29dec4a6c39bf36e7c39a58ced5f8ac70e140920c52bae413459c8b05b: exec: "/bin/sh": stat /bin/sh: no such file or directory

Anything missing from my setup you think ?

I would try to recreate again to see if it occurs repeatedly.  It looks like the salt-api did not start.  On Master, do
sudo systemctl restart salt-api
Then check its status to see if it started listening on 8000.
Sent from my iPhone

On May 31, 2015, at 3:00 AM, Uday Ruddarraju<EMAIL_ADDRESS>wrote:
I am trying to do a kube-up on vagrant and have run into a wierd situation:
I have my minions and master provisioned successfully but the cluster validation fails stating:
Validating master
Validating minion-1
...........
Waiting for each minion to be registered with cloud provider
Error from server: an error on the server has prevented the request from succeeding (get nodes)`
Tried logging into the master using `vagrant ssh master
Did a docker ps and got the following:
[root@kubernetes-master vagrant]# docker ps
CONTAINER ID        IMAGE                                  COMMAND                CREATED             STATUS              PORTS               NAMES
128d79903e07        gcr.io/google_containers/etcd:2.0.9    "/usr/local/bin/etcd   10 minutes ago      Up 10 minutes                           k8s_etcd-container.ec4297e5_etcd-server-kubernetes-master_default_3595ac402f3a17c29dab95f3e0f64c76_b83db0a0
b4920ead7a98        gcr.io/google_containers/pause:0.8.0   "/pause"               10 minutes ago      Up 10 minutes                           k8s_POD.e4cc795_etcd-server-kubernetes-master_default_3595ac402f3a17c29dab95f3e0f64c76_2d010bf1
54997680c53f        gcr.io/google_containers/pause:0.8.0   "/pause"               10 minutes ago      Up 10 minutes                           k8s_POD.e4cc795_kube-controller-manager-kubernetes-master_default_76e6e56a342086715fea5d4615ae45eb_dd47273e
a60ff9fce5e2        gcr.io/google_containers/pause:0.8.0   "/pause"               10 minutes ago      Up 10 minutes                           k8s_POD.e4cc795_kube-apiserver-kubernetes-master_default_4bc2f91669a907e752c5109b23038b08_0a8f26d3
f3f0425d959f        gcr.io/google_containers/pause:0.8.0   "/pause"               10 minutes ago      Up 10 minutes                           k8s_POD.e4cc795_kube-scheduler-kubernetes-master_default_d3cad19e6b386384ee9db6ac06ffa27b_0d72491c
I see that only the pause containers have been created for the master components. I then try to debug the kubelet logs and did a journalctl - kubelet and founf the following:
May 31 06:38:53 kubernetes-master kubelet[4362]: W0531 06:38:53.814807    4362 server.go:425] Could not load kubeconfig file /var/lib/kubelet/kubeconfig: stat /var/lib/kubelet/kubeconfig: no such file or directory. Trying auth path instead.
May 31 06:38:53 kubernetes-master kubelet[4362]: I0531 06:38:53.816683    4362 server.go:258] Using root directory: /var/lib/kubelet
May 31 06:38:55 kubernetes-master kubelet[4362]: E0531 06:38:55.080508    4362 kubelet.go:1535] error getting node: node kubernetes-master not found
May 31 06:38:55 kubernetes-master kubelet[4362]: E0531 06:38:55.179272    4362 kubelet.go:743] Unable to construct api.Node object for kubelet: failed to get external ID from cloud provider: Post http://kubernetes-master:8000/login: dial tcp <IP_ADDRESS>:8000: connection refused
Anything missing from my setup you think ?
—
Reply to this email directly or view it on GitHub.

@derekwaynecarr Thanks for the help. I see that the salt-api process is running but I don't see it listening on 8000.
I see that the salt-api is running though and when I tried a telnet
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused
[root@kubernetes-master vagrant]# telnet <IP_ADDRESS> 8000
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.
Escape character is '^]'.
^]```

Which shows the salt-api is listening on 8000 on the master

Are you running with built code from HEAD?
There was a change to the vagrant cloud provider last week to have it listen on <IP_ADDRESS> to enable kubelet registration.
Is your kubelet on the node ever registering with API server if you issue a get nodes call?
Sent from my iPhone

On May 31, 2015, at 2:08 PM, Uday Ruddarraju<EMAIL_ADDRESS>wrote:
@derekwaynecarr Thanks for the help. I see that the salt-api process is running but I don't see it listening on 8000.
I see that the salt-api is running though and when I tried a telnet
[root@kubernetes-master vagrant]# telnet <IP_ADDRESS> 8000
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused
[root@kubernetes-master vagrant]# telnet <IP_ADDRESS> 8000
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.
Escape character is '^]'.
^]
Which shows the salt-api is listening on 8000 on the master
—
Reply to this email directly or view it on GitHub.

The API server itself has not started yet. As I posted, it failed during the creation of the apiserver, controller-manager and scheduler containers itself with the following messages:
May 31 06:39:04 kubernetes-master kubelet[4362]: E0531 06:39:04.919376    4362 manager.go:1535] Error running pod "kube-scheduler-kubernetes-master_default" container "kube-scheduler": API error (404): Cannot start container 1c4e13ff4af5afd2445afa0f51009ea03b8cebbf98f61fadb8cbd57969e35aa9: exec: "/bin/sh": stat /bin/sh: no such file or directory
May 31 06:39:04 kubernetes-master kubelet[4362]: E0531 06:39:04.947432    4362 manager.go:1535] Error running pod "kube-apiserver-kubernetes-master_default" container "kube-apiserver": API error (404): Cannot start container 430b81d3cc4670c1640b28c656b8e89a54fed3a3ef22f31da9ad0cca3cf6e04c: exec: "/bin/sh": stat /bin/sh: no such file or directory
May 31 06:39:05 kubernetes-master kubelet[4362]: E0531 06:39:05.053996    4362 manager.go:1535] Error running pod "kube-controller-manager-kubernetes-master_default" container "kube-controller-manager": API error (404): Cannot start container eb085a29dec4a6c39bf36e7c39a58ced5f8ac70e140920c52bae413459c8b05b: exec: "/bin/sh": stat /bin/sh: no such file or directory```

Did you do a make clean && make release-skip-tests before calling kube-up?
Sent from my iPhone

On May 31, 2015, at 5:31 PM, Uday Ruddarraju<EMAIL_ADDRESS>wrote:
The API server itself has not started yet. As I posted, it failed during the creation of the apiserver, controller-manager and scheduler containers itself with the following messages:
May 31 06:39:04 kubernetes-master kubelet[4362]: E0531 06:39:04.919376    4362 manager.go:1535] Error running pod "kube-scheduler-kubernetes-master_default" container "kube-scheduler": API error (404): Cannot start container 1c4e13ff4af5afd2445afa0f51009ea03b8cebbf98f61fadb8cbd57969e35aa9: exec: "/bin/sh": stat /bin/sh: no such file or directory
May 31 06:39:04 kubernetes-master kubelet[4362]: E0531 06:39:04.947432    4362 manager.go:1535] Error running pod "kube-apiserver-kubernetes-master_default" container "kube-apiserver": API error (404): Cannot start container 430b81d3cc4670c1640b28c656b8e89a54fed3a3ef22f31da9ad0cca3cf6e04c: exec: "/bin/sh": stat /bin/sh: no such file or directory
May 31 06:39:05 kubernetes-master kubelet[4362]: E0531 06:39:05.053996    4362 manager.go:1535] Error running pod "kube-controller-manager-kubernetes-master_default" container "kube-controller-manager": API error (404): Cannot start container eb085a29dec4a6c39bf36e7c39a58ced5f8ac70e140920c52bae413459c8b05b: exec: "/bin/sh": stat /bin/sh: no such file or directory```
—
Reply to this email directly or view it on GitHub.

:)
Yup, did make clean and make quick-release I'll try to debug more into this.

I'm having issues with 0.18.0 and Vagrant as  well.
   CGroup: /system.slice/kube-kubelet.service
           ├─1299 /opt/bin/kubelet --address=<IP_ADDRESS> --port=10250 --hostname_override=<IP_ADDRESS> --api_servers=<IP_ADDRESS>:8080 --cloud_provider=vagrant --allow_privileged=true --cluster_dns=<IP_ADDRESS> --cluster_domain=kubernetes.local --logtostderr=true --config=/opt/kubernetes/manifests/ --cadvisor_port=4194 --healthz_bind_address=<IP_ADDRESS> --healthz_port=10248
           └─1339 journalctl -f

Jun 01 11:31:37 node-01 kubelet[1299]: E0601 11:31:37.463995    1299 kubelet.go:737] Unable to construct api.Node object for kubelet: failed to get external ID from cloud provider: Post http://kubernetes-master:8000/login: dial tcp: lookup kubernetes-master: no such host

same here too. (under vagrant)

@AntonioMeireles removing --cloud_provider=vagrant and kube-register fixed it for me.
$ kubectl get minions
NAME           LABELS        STATUS
<IP_ADDRESS>   Schedulable   kubernetes.io/hostname=<IP_ADDRESS>   Ready
<IP_ADDRESS>   Schedulable   kubernetes.io/hostname=<IP_ADDRESS>   Ready

$ kubectl get pods
POD              IP           CONTAINER(S)   IMAGE(S)                                         HOST                        LABELS                                                STATUS    CREATED
kube-dns-rj7ra   <IP_ADDRESS>   etcd           gcr.io/google_containers/etcd:2.0.9              <IP_ADDRESS>/<IP_ADDRESS>   k8s-app=kube-dns,kubernetes.io/cluster-service=true   Running   3 minutes
                              kube2sky       gcr.io/google_containers/kube2sky:1.5
                              skydns         gcr.io/google_containers/skydns:2015-03-11-001

So the question remains if the vagrant cloud-provider code is broken.

Are you all using vagrant with virtual box or something different?  I can try to reproduce this today.  I was in process of moving vagrant to docker 1.6.
Sent from my iPhone

On Jun 1, 2015, at 7:53 AM, Paulo Pires<EMAIL_ADDRESS>wrote:
So the question remains if the vagrant cloud-provider code is broken.
—
Reply to this email directly or view it on GitHub.

@pires - did you change the IP address?  Expected to see <IP_ADDRESS> for ip of master

@derekwaynecarr to be clear, me and @AntonioMeireles are not using the kube-up but rather the Vagrant + CoreOS that relies on the binaries alone and follows CoreOS documentation, which we maintain in this project.
We don't use the salt API.

Ok.  That explains it.  But you use the vagrant cloud provider interface?
Sent from my iPhone

On Jun 1, 2015, at 8:06 AM, Paulo Pires<EMAIL_ADDRESS>wrote:
@derekwaynecarr to be clear, me and @AntonioMeireles are not using the kube-up but rather the Vagrant + CoreOS that relies on the binaries alone and follows CoreOS documentation, which we maintain in this project.
We don't use the salt API.
—
Reply to this email directly or view it on GitHub.

@derekwaynecarr used to, but removing it made the trick. It seems the code now that supports it is very opinionated about how you provision your cluster, right?

Hello,
I am still getting the error:
Each machine instance has been created/updated.
Now waiting for the Salt provisioning process to complete on each machine.
This can take some time based on your network, disk, and cpu speed.
It is possible for an error to occur during Salt provision of cluster and this could loop forever.
Validating master
Validating minion-1
......
Waiting for each minion to be registered with cloud provider
Error: an error on the server has prevented the request from succeeding (get nodes)

I pulled the latest and did not have any issues.
Thanks for the support. Closing this for now.

Still seeing this with vagrant setup. removing --cloud_provider=vagrant works for me.


QEA-1512: Add Element#jquery_click

React is proving to be a little bit troublesome with some element click interactions. Adding a jquery_click to get around those annoyances.

Seeing failed tests on Jenkins on this branch.

Looks like an environment issue firing up everything. Passed on retry.
https://jenkinsmaster0001s1mdw1.sendgrid.net/job/QEA/job/gridium_test/4/console


Access the attention map on slide-level

After applying prov-gigapath slide-encoder, how can I access the attention distribution for each tile on the whole slide?
Just like attention-based MIL did.
Is there any instruction?
Thank you very much for any help! I believe prov-gigapath may provide much better feature extraction for the whole slide than ABMIL.

@superhy I'm also curious about this. Have you found a solution yet?
@usuyama @ Could you please let us know if you have a solution on your end?


Bump PennyLane and Lightning minimum versions

Context: Merge only after Lightning has been released!

Looks like the docs build is failing to install pennylane for some reason

Looks like the docs build is failing to install pennylane for some reason

docs can't find PL 0.38 (only 0.37 is on pypi https://pypi.org/search/?q=pennylane)

I think read the docs can use the rc version of PennyLane.


Typo in README - Create Your B2C Commerce Client ID Allowed Scopes

Describe the bug
Documentation update - in the README.md, in the Create Your B2C Commerce Client ID section, the Allowed Scopes mentioned are:
mail
roles
tennantFilter
profile
tennantFilter has a typo (there should not be a double n - it should be "tenantFilter".  Confirmed this in the OCAPI documentation here:  https://documentation.b2c.commercecloud.salesforce.com/DOC2/index.jsp?topic=%2Fcom.demandware.dochelp%2Fcontent%2Fb2c_commerce%2Ftopics%2Faccount_manager%2Fb2c_account_manager_add_api_client_id.html
Screenshots

Issue fixed through PR #41 . Closing the issue


Cupertino fullscreenDialog breaks parallax effect

The bug appears with MaterialPageRoute on iOS or CupertinoPageRoute on iOS & Android.
We push the following pages in this order via the Navigator: home -> A -> B.
If A is pushed with fullscreenDialog: false and then we push B with fullscreenDialog: false, B enters the screen from the right and A moves to the left (with parallax effect => everything correct).
However, if A is pushed with fullscreenDialog: true and then B with fullscreenDialog: false, B enters the screen from the right, but A has no parallax effect.
This makes no sense because when pushing B, the parallax effect for A should only depend on how B enters the screen (from the right => parallax, from the bottom => no parallax). Currently it depends on how A was pushed.

Please add the output of flutter doctor -v.
The source for a minimal reproduction would be helpful.

Oh right, here's the output:
[√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Version 10.0.17134.165], locale en-DE)
    • Flutter version 0.5.1 at C:\Users\wkornewald\Documents\Applications\flutter
    • Framework revision c7ea3ca377 (9 weeks ago), 2018-05-29 21:07:33 +0200
    • Engine revision 1ed25ca7b7
    • Dart version 2.0.0-dev.58.0.flutter-f981f09760

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\wkornewald\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[!] Connected devices
    ! No devices available

! Doctor found issues in 1 category.

This is sensible. In iOS equivalent, it's a bit convoluted but if your A and B are wrapped in their own UINavigationController and the navigation controller was presented modally and B was shown from A, A would slide up on the way in and slide to the left in a parallax motion on the way out.
Should fix in Flutter.

Issue still exist on
flutter doctor -v
[✓] Flutter (Channel dev, v1.16.2, on Mac OS X 10.15.4 19E266, locale en-GB)
    • Flutter version 1.16.2 at /Users/taha/Code/flutter_dev
    • Framework revision 58cad787d8 (4 days ago), 2020-03-23 08:33:41 -0700
    • Engine revision 2d42c74a34
    • Dart version 2.8.0 (build 2.8.0-dev.16.0 ba8baa46b4)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.43.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (4 available)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.4
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E266
    • Chrome        • chrome                    • web-javascript • Google Chrome
      80.0.3987.149
    • Web Server    • web-server                • web-javascript • Flutter Tools

• No issues found!


oneof fields with default values get ignored when packed

Consider a message like this:
message Test {
  oneof foo {
    uint32 field1 = 1;
    uint32 field2 = 2;
  }
}

If I set field1 to 0, which is a default value in proto3, and pack the message, the result is empty. However, I should expect the packed data to include that field1 is set, that it's set to 0, and that field2 is unset.

I'll check.


Add non AWS S3 (eg Minio) support for log archiving

What is the problem that this PR is trying to fix?

In Enterprise, we have no way to move logs out of the database. In hosted we use S3. This is also an option in Enterprise but many users want to use their own backend such as Minio. Additionally in the case where users are not setting up an external S3 server it would be good for keeping DB sizes down to have a default, out of the box way to store these logs. So in an upcoming version of Enterprise we'll be shipping a minio container along side it.
This is also important to do before Enterprise 2.3 because 2.3 will require postgres 9.6 and some of our larger customers will not be able to upgrade due to their DB hosting vendor's restrictions on db size (one customer is looking at 1TB which would require many hours of downtime to upgrade since their vendor doesn't do pg_upgrade --link but instead favors a full dump).
At the moment, travis-logs only supports Amazon S3 endpoints. This PR fixes this by adding endpoint and a few other required or handy config options (eg, proxy_uri) configured via Travis.config

What approach did you choose and why?

I chose to use Travis.config and if the values we require for Enterprise are not set it uses the same things we use now in hosted. The idea that this is only a deviation for Enterprise, so hosted should not require any changes.

How can you test this?

Working on a method to test it locally, but will need to roll a test version of Travis Enterprise to confirm. The related PR for travis-enterprise (pardon the private PR) is here: https://github.com/travis-pro/travis-enterprise/pull/314

What feedback would you like?

Double checking that the approach is good and defaults will work how I expect. Also I'm curious about changing https://github.com/travis-ci/travis-logs/blob/master/lib/travis/logs/s3.rb#L44 to a set bucket name. The reason for this is that we will not be serving these through a subdomain and connecting the bucket to a host means that if the customer changes host names, we'll need to coordinate things there.
I'm curious what other implications this may have if I set this to be static in Enterprise.

@anarosas this looks good to me, and is needed by IBM
How can we get a final review and merge for this?

This looks good to me as well, but we need to confirm we have the correct values on our keychain


feat: AVIF Supported

Description
Here is an edition to support the .AVIF format on CodeIgniter 4.5.0, which is the successor to .webp in the years to come. Currently, only three browsers do not yet support AVIF (88.81% of browsers support this version).
https://caniuse.com/avif
The AVIF format is lighter than WEBP.
Here is an example of a comparison from my CodeIgniter CMS, for instance.

Warning, changing the format to a larger one than the original image increases its file size.
Exemple of use:
 $image->withFile($pathfolder.$newName)->convert(IMAGETYPE_AVIF)->save($pathfolderLarge.mb_url_title($newNameC).'.avif');
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

Thank you for sending PR!
But you created your PR branch from develop. It is wrong, and it runs incorrect GitHub Action checks, and some fails.
See "PHPUnit / Others (8.0)". Of course 4.5 does not support PHP 8.0.
Can you run git rebase --onto?
See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#if-you-sent-to-the-wrong-branch

Also, fix the coding style. If you run composer cs-fix, it fixes automatically.
   1) system/Images/Handlers/GDHandler.php (unary_operator_spaces, statement_indentation, not_operator_with_successor_space, no_extra_blank_lines, blank_line_before_statement, no_whitespace_in_blank_line)
      ---------- begin diff ----------
--- /home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/GDHandler.php
+++ /home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/GDHandler.php
@@ -274,7 +274,7 @@
                     throw ImageException::forSaveFailed();
                 }
                 break;
-
+
             case IMAGETYPE_AVIF:
                 if (! function_exists('imageavif')) {
                     throw ImageException::forInvalidImageCreate(lang('Images.avifNotSupported'));
@@ -376,11 +376,11 @@

                 return imagecreatefromwebp($path);

-             case IMAGETYPE_AVIF:
+            case IMAGETYPE_AVIF:
                 if (! function_exists('imagecreatefromavif')) {
                     throw ImageException::forInvalidImageCreate(lang('Images.avifNotSupported'));
                 }
-
+
                 return imagecreatefromavif($path);

             default:

      ----------- end diff -----------

   2) system/Images/Handlers/BaseHandler.php (trailing_comma_in_multiline, unary_operator_spaces, not_operator_with_successor_space, no_extra_blank_lines, blank_line_before_statement)
      ---------- begin diff ----------
--- /home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/BaseHandler.php
+++ /home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/BaseHandler.php
@@ -113,7 +113,7 @@
     protected $supportTransparency = [
         IMAGETYPE_PNG,
         IMAGETYPE_WEBP,
-        IMAGETYPE_AVIF
+        IMAGETYPE_AVIF,
     ];

     /**

      ----------- end diff -----------

Also, fix the coding style. If you run composer cs-fix, it fixes automatically.
   1) system/Images/Handlers/GDHandler.php (unary_operator_spaces, statement_indentation, not_operator_with_successor_space, no_extra_blank_lines, blank_line_before_statement, no_whitespace_in_blank_line)
      ---------- begin diff ----------
--- /home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/GDHandler.php
+++ /home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/GDHandler.php
@@ -274,7 +274,7 @@
                     throw ImageException::forSaveFailed();
                 }
                 break;
-
+
             case IMAGETYPE_AVIF:
                 if (! function_exists('imageavif')) {
                     throw ImageException::forInvalidImageCreate(lang('Images.avifNotSupported'));
@@ -376,11 +376,11 @@

                 return imagecreatefromwebp($path);

-             case IMAGETYPE_AVIF:
+            case IMAGETYPE_AVIF:
                 if (! function_exists('imagecreatefromavif')) {
                     throw ImageException::forInvalidImageCreate(lang('Images.avifNotSupported'));
                 }
-
+
                 return imagecreatefromavif($path);

             default:

      ----------- end diff -----------

   2) system/Images/Handlers/BaseHandler.php (trailing_comma_in_multiline, unary_operator_spaces, not_operator_with_successor_space, no_extra_blank_lines, blank_line_before_statement)
      ---------- begin diff ----------
--- /home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/BaseHandler.php
+++ /home/runner/work/CodeIgniter4/CodeIgniter4/system/Images/Handlers/BaseHandler.php
@@ -113,7 +113,7 @@
     protected $supportTransparency = [
         IMAGETYPE_PNG,
         IMAGETYPE_WEBP,
-        IMAGETYPE_AVIF
+        IMAGETYPE_AVIF,
     ];

     /**

      ----------- end diff -----------

Thanks for your help, i dont use composer for Github, i push directly from Github Website.

oh no i have delete the repo.. do you have possibilitie to re-open ?


UAT| IF we complete the payments for Summons ,Notice  by online still the payment details are displaying for nayamitra user

https://jam.dev/c/08d20844-58ef-4edc-b82c-48d2ef5cdcd9

@kashish384
It was discussed in the standup itself that for now, when we're doing online payment for summons or notice, the demand will always remain on Nyaymitra.
It will be removed once proper end to end online payment integration is done
c.c. @Ramu-kandimalla @rajeshcherukumalli

Hi @kashish384  @rajeshcherukumalli  We have same ticket logged by Client. i'm closing this ticket


migrated the obsolete xproj to the new csproj and updated nuget packages

Migrated the obsolete xproj to the new csproj (https://docs.microsoft…com/en-us/dotnet/core/migration/).
Updated nuget packages ( #21 ):

loggly-csharp <IP_ADDRESS> --> <IP_ADDRESS>
Newtonsoft.Json 9.0.1 --> 10.0.3
Serilog 2.0.0 --> 2.5.0
Serilog.Sinks.PeriodicBatching 2.0.0 --> 2.1.1
Serilog.Sinks.File 3.1.1 --> 3.2.0
Serilog.Sinks.RollingFile 3.2.0 --> 3.3.0
Serilog.Sinks.RollingFileAlternate 2.0.6 --> 2.0.9
Serilog.Sinks.Async 1.0.1 --> 1.1.0
Serilog.Enrichers.Environment 2.1.1 --> 2.1.2
Serilog.Enrichers.Process 2.0.0 --> 2.0.1

Great 👍
Issue with the build:
Collecting artifacts...
No artifacts found matching 'artifacts\Serilog.*.nupkg' path
Build success

The Serilog projects all generally use the same standardized Build.ps1 file - grabbing e.g. https://github.com/serilog/serilog-sinks-console/blob/dev/Build.ps1 and copying it in directly should fix this.

@nblumhardt
I reverted the Build.ps1 back to what it was. But i had to change the appveyor.yml in order to use the VS2017 image.
Everything works the same as it was now.

@tamirdresher awesome, merged!
I am going to bump the dev package version to 5.1 to reflect some change going on under the hood.

Thanks @nblumhardt
I'm happy that i could help.
Looking forward to use the new package


Tried to download the redis container, and got an error

Get https://index.docker.io/v1/repositories/library/redis/images: dial tcp: lookup index.docker.io on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:53: i/o timeout

Duplicate, see https://github.com/kitematic/kitematic/issues/718#issuecomment-115489049
Thanks for the issue!


Added community demo: Cal Buddy

Added my project, Cal Buddy, in community demos.

For the issue #606

@NathanTarbert please do review the pr once u can. thanks!

Nicely done @ChiragAgg5k!

@quest-bot loot #606


Unable to set Datasource property

Hi, I'm unable to assign the datasource property of your collectionview. So numberofBNBrows...() isn't being called. I tried to create my own accessors like
@property (nonatomic) idbnbDataSource;
No solution worked. Any fix? I'm creating my own instance of the collectionview programatically.
Jerrid

@jried31: Could you provide some code snippets? It helps to figure out the issue.

Close this, reopen if need be.


eventemitter2: listener arg to offAny is optional

@quarterto thanks mate!

note
https://github.com/asyncly/EventEmitter2/blob/b10d535456d98a71ebf3aa9f16d5d56014b3bd39/lib/eventemitter2.js#L512

Fantastic, thanks for merging.


Addresses path collisions on case-insensitive file systems

Replacement for #1581
Why are the changes necessary?
See issue description at https://github.com/thoughtbot/factory_bot/issues/1580
What changes are proposed?
The 2 conflicting file paths are:

docs/src/summary.md: An intro describing the contents
docs/src/SUMMARY.md: An index file listing the relevant individual docs

Renames docs/src/summary.md -> docs/src/readme.md
Renames docs/src/SUMMARY.md -> docs/src/summary.md

Note that the SUMMARY.md file has significance to mdbook.


Add 4 new record sets to anthropic-hh-rlhf

Close to open a clean PR: https://github.com/mlcommons/croissant/pull/670


feat: some branch feat

yeah this includes some pr comment

BEGIN_COMMIT_OVERRIDE
feat: add ability to override merged commit message
fix: another message
chore: a third message
END_COMMIT_OVERRIDE


<* Element> Name not autocompleting

Feature request or idea? Consider opening an
API review!

Summary
As a developer i would like for the  ability for my users (end users) to be able to autocomplete their credit card name from a saved card in browser.  Currently stripe elements allows the ability to autocomplete a credit card number if the user has it saved.  This also includes other elements such as CVC element and EXP element. This is great. However, another field that we would like to see autofilled is the name. Currently, when autofilling the card number the CVC and EXP are populated. The name is not populated, and the user either has to type it in or press into it and have the browser autofill it again.  The goal is to get all the information into the form from the card. I've attached a sample.

Other information
I see issue 199 asking for the same thing. However, this issue is now closed.

Upon the credit card, exp, and cvc autofilling, we would like the name to autofill as well.

All browsers, mobile and desktop.

thanks for the quick response @hofman-stripe!
Just to clarify, Autofilling a card holder name from a card Element would be possible with manual handling.: is not something we can do currently correct? As the on-change event object only has certain fields such as 1.

Correct, all of these would require new API surface that do not exist today. I was just trying to lay down the constraints we have to work with, and potential options.

Hey @stretch0, I can confirm that the constraints around cardNumber, cardExpiry, and other individual card collection Elements are still true today. Given the way those Elements are implemented, and customized with the style object, it's not possible to "add another input" into their iframe.
Feel free to check out the Payment Element, our new Element for collecting global payments, which specifically provides broader UI surface area (e.g. multiple inputs in the same iframe). The Payment Element also has a new approach for styling, the Appearance API.
I hope this helps you, and others, better understand your options here. For any additional questions or help with your integration, please reach out to Stripe Support directly.


About NeRF Dataset

Thanks for the great repo!
If I understood the code correctly, the NeRF Dataset in your code (nerf/provider.py) is getting each batch from the same image rays, randomly sampling, which is different from the original NeRF Dataset.
I want to ask if there's a reason you coded this way and also want to ask if there would be any performance degradation

since training with rays in the same image could bother training the scene generally(this is just my opinion) and
since the rays are sampled randomly, some rays could be less trained

@2j1ejyu Hi, these two behaviours in fact follow instant-ngp. In some early experiments I don't find these will cause significant performance degradation. You can modify them and try!

thank you so much for your quick reply! Have nice day :)


multiple spinners when loading the blog page

when loading the blog page there are multiple spinner

The spinner indicates a single post loading. If you are on a list page, say, a category of multiple posts, they are loaded separately so there are multiple spinners.


How to make it work?

This code doesn't work for me out of the box.
'npx tsc' doesn't do anything, requires first initialization of the tsconfig.json
NPM packages are very outdated and with vulnerabilities. Some dependencies are discontinued. Some are missing.
It seems like half of the logic/functions are missing to make this game fully working. No logic to determine winner, for example.
Code to find match doesn't work, there is no such "find_match" RPC. It seems like matchmaking logic in the latest server version is completely different.
Fix InGame.js :

this.turn attribute is not correct, should be this.playerTurn, probably.. or it is not used anywhere
data.winner coming from nowhere, missing functions/definitions/files? endGame doesn't work
json.board coming from nowhere, missing functions/definitions/files? updateBoard doesn't work
nakamaListener -> onmatchdata sends data only to remote peer, but not actually doing anything on the triggering player app.
there is no cell state tracking mechanism, you can update value of the previously set cell within the grid.
I would appreciate if someone with good dev skills and experience makes it a fully working example, which can be used in up-to-date Nakami server and NPM packages/dependencies. Plus with good step-by-step guide how to setup dev environment from scratch and make this thing work.

Looks like server-side code is missing. Found it in another repo:
https://github.com/Jackiexiao/xoxo-nextjs-nakama/tree/main/server

My bad, I missed this step:
Clone the Nakama Project Template
This issue can be closed.


[SPARK-34568][SQL] We should respect enableHiveSupport when initialize SparkSession

What changes were proposed in this pull request?
When SparkContext is initialed, if we want to start SparkSession, when we call
SparkSession.builder.enableHiveSupport().getOrCreate(), the SparkSession we created won't have hive support since
we have't reset existed SC's conf's spark.sql.catalogImplementation.
In this PR we use sharedState.conf to decide whether we should enable Hive Support.
Why are the changes needed?
We should respect enableHiveSupport
Does this PR introduce any user-facing change?
No
How was this patch tested?
Added UT

Gentle ping @HyukjinKwon  Since I am not familiar with python and r, hope for some help about python and r.

Test build #135553 has started for PR 31680 at commit 5dac115.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40134/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40134/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40134/

Test build #135553 has finished for PR 31680 at commit 5dac115.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

When SparkContext is initialed, if we want to start SparkSession, when we call SparkSession.builder.enableHiveSupport().getOrCreate(), the SparkSession we created won't have hive support

Is it true? In this case enableHiveSupport will add spark.sql.catalogImplementation to the initial configs for SparkSession and SharedState. And then, the config will be populated in the cloned SparkConf of SharedState, which is used to init the externalCatalog.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135553/

Test build #135558 has started for PR 31680 at commit 2d13c15.

When SparkContext is initialed, if we want to start SparkSession, when we call SparkSession.builder.enableHiveSupport().getOrCreate(), the SparkSession we created won't have hive support

Is it true? In this case enableHiveSupport will add spark.sql.catalogImplementation to the initial configs for SparkSession and SharedState. And then, the config will be populated in the cloned SparkConf of SharedState, which is used to init the externalCatalog.

But sessionStated is initialed according to SparkContext's conf
  lazy val sessionState: SessionState = {
    parentSessionState
      .map(_.clone(this))
      .getOrElse {
        val state = SparkSession.instantiateSessionState(
          SparkSession.sessionStateClassName(sparkContext.conf),
          self,
          initialSessionOptions)
        state
      }
  }

           SparkSession.sessionStateClassName(sharedState.conf),

seems correct to me

           SparkSession.sessionStateClassName(sharedState.conf),

seems correct to me

LGTM, I will try this way.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40139/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40139/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40139/

Test build #135558 has finished for PR 31680 at commit 2d13c15.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135558/

           SparkSession.sessionStateClassName(sharedState.conf),

seems correct to me

Hmmmm
private[spark] object HiveUtils extends Logging {

  def withHiveExternalCatalog(sc: SparkContext): SparkContext = {
    sc.conf.set(CATALOG_IMPLEMENTATION.key, "hive")
    sc
  }

Test build #135572 has started for PR 31680 at commit f73421a.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40153/

Test build #135572 has finished for PR 31680 at commit f73421a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135572/

           SparkSession.sessionStateClassName(sharedState.conf),

seems correct to me

Hmmmm
private[spark] object HiveUtils extends Logging {

  def withHiveExternalCatalog(sc: SparkContext): SparkContext = {
    sc.conf.set(CATALOG_IMPLEMENTATION.key, "hive")
    sc
  }

Can't we use SparkSession.builder().enableHiveSupport().sparkContext(sc).getOrCreate() in HiveContext？

retest this please

Test build #136630 has started for PR 31680 at commit f73421a.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136633/

Test build #136636 has started for PR 31680 at commit f9024fe.

Test build #136638 has started for PR 31680 at commit 2afad3b.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136630/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41213/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41216/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41216/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41219/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41219/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41219/

Test build #136636 has finished for PR 31680 at commit f9024fe.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136636/

Test build #136638 has finished for PR 31680 at commit 2afad3b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136638/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41213/

Gentle ping @maropu @yaooqinn Current way should be more suitable.

Test build #136659 has started for PR 31680 at commit 0ade784.

Test build #136659 has finished for PR 31680 at commit 0ade784.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136659/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41241/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41241/

Test build #136681 has started for PR 31680 at commit bfdd5eb.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41263/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41263/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41263/

Test build #136692 has started for PR 31680 at commit 858390b.

Test build #136694 has started for PR 31680 at commit 7030e5c.

Test build #136694 has finished for PR 31680 at commit 7030e5c.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136694/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41276/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41276/

Test build #136697 has started for PR 31680 at commit 6c114e1.

Test build #136681 has finished for PR 31680 at commit bfdd5eb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136681/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41274/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41274/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41274/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41279/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41279/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41279/

Test build #136701 has started for PR 31680 at commit b733d1e.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41282/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41282/

Test build #136692 has finished for PR 31680 at commit 858390b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136692/

Test build #136697 has finished for PR 31680 at commit 6c114e1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136697/

Test build #136701 has finished for PR 31680 at commit b733d1e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136701/

Test build #136716 has started for PR 31680 at commit 8d6548f.

Seems fine to me cc: @yaooqinn  @cloud-fan

Test build #136717 has started for PR 31680 at commit 3d86d79.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41304/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41304/

Test build #136722 has finished for PR 31680 at commit 97dfee2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #136717 has finished for PR 31680 at commit 3d86d79.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136722/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136717/

thanks, merging to master!


How to create CNAME record?

Cname record creation is missing in DNSMessage.swift.
i've tried
var aswer = DNSResource(name: "test.local", type: .cname, klass: .internet, TTL: 10, data: "localhost".data(using: .utf8)!)
But it is not working. Can you help me?

NEKit does not support it since there is no need for it inside NEKit. It is not design to be a general library for manipulating dns packets. Of course you can implement it and it should not be difficult.
On 5 Nov 2018, at 19:32, ZonD Eighty<EMAIL_ADDRESS>wrote:
Cname record creation is missing in DNSMessage.swift.
i've tried
var aswer = DNSResource(name: "test.local", type: .cname, klass: .internet, TTL: 10, data: "localhost".data(using: .utf8)!)
But it is not working. Can you help me?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


fix issue 1351: BUGS code parsing

failure is unrelated (test-ADlaplace) that I need to look into separately.


Move file

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 63.026%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
674

Relevant Lines:
1075

💛  - Coveralls


test codecov.yml

[Current coverage][cc-pull] is 38.50%

No coverage report found for master at ef78c3f.

Powered by Codecov. Last updated by [ef78c3f...7cf87ed][cc-compare]
[cc-base-branch]: https://codecov.io/gh/linkedin/pinot/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/linkedin/pinot/compare/ef78c3f0acb287a7238c08dfaa102d4641c1ae00...7cf87ed5648e4951b9f1c8003788076d87fa890d
[cc-pull]: https://codecov.io/gh/linkedin/pinot/pull/213?src=pr


can.Component with stache template has a memory leak if a content tag is used

When I use a can.Component with a stache template that has a content tag, then a mem leak occurs. If I remove the can.stache() behind the template definition the content tag actually stops working (i.e. "test4" does not appear in the page), I thought this was also supported in mustache.
Repro code below, the can.custom build is the current one ffom the site, with the stache plugin added. Using the latest 1.11 jquery version as well here.
<!DOCTYPE html>

	<title>Tests</title>
	<meta charset="utf-8">

test

Can you create a test like the ones listed here:
https://github.com/bitovi/canjs/blob/master/component/component_test.js#L1519
https://github.com/bitovi/canjs/blob/master/component/component_test.js#L1562
https://github.com/bitovi/canjs/blob/master/component/component_test.js#L1612
These test potential memory leaks around

Those tests won't work. The dom nodes are detached, so they're not reachable from code. That means they're not available through the can.view.nodeLists.
I've done some more testing, and it seems I'm getting 1 leaking document fragment per component that has a content tag. And all the contents in it leaks as well.
Doesn't matter if I instantiate them once of a million times. Luckily that means the problem is less severe than I thought. :)

Can you attach them? There is almost always a way to sniff out a memory leak.
Sent from my iPhone

On Jul 11, 2015, at 1:39 PM, Guido Smeets<EMAIL_ADDRESS>wrote:
Those tests won't work. The dom nodes are detached, so they're not reachable from code. That means they're not available through the can.view.nodeLists.
I've done some more testing, and it seems I'm getting 1 leaking document fragment per component that has a content tag. And all the contents in it leaks as well.
Doesn't matter if I instantiate them once of a million times. Luckily that means the problem is less severe than I thought. :)
—
Reply to this email directly or view it on GitHub.

@gsmeets anyway you can make a test?  Thanks!

Is it possible you are looking at the document fragment and elements created and used by the templates?
I can't seem to identify any other elements besides those.

Changing the test to:
<!DOCTYPE html>

test

I see:

Which is what I expect.  So it doesn't seem like there is a leak.


Move checkbox/toggle/radio/etc out from forms module

Right now checkbox/toggle/etc are hidden in a forms module ... they should be lifted up into separate modules per component.

Providing a forms module to conveniently import everything is probably a decent idea anyway, so we'll do that too


Why not refresh metadata when got ErrNotLeaderForPartition

We got some ErrNotLeaderForPartition error after retrying for 3 times, I wonder why the producer doesn't refresh metadata when got that error.
https://github.com/IBM/sarama/blob/d9abf3cfb14d41fbc059d0f36195603000b1aad2/async_producer.go#L1121-L1126

@ForeverSRC thanks for raising, a good question!
Refreshing metadata in the producer retry case was brought in as part of the Idempotent producer changes, but it's not clear that this refresh needs to be gated for idempotent-only retries

@ForeverSRC having updated my memory of this after re-reading the code, any retriabe error for a given broker producer should cause it to 'abandon' the broker, do a metadata refresh on the assumption it needs use a different broker producer because the topicpartition has moved:
https://github.com/IBM/sarama/blob/5f63a84f47c39bf08a1c276f1f6b5f1d754e9fc3/async_producer.go#L710-L724
You'd see this in sarama logger output as (e.g.,):
13:45:16.866724 producer/leader/my_topic/0 state change to [retrying-1]
13:45:16.866735 producer/leader/my_topic/0 abandoning broker 2

In my use case we got three ErrNotLeaderForPartition errors because the retry times is 3 and the interval is 100ms, so I'm not sure if the abandon logic works or not.


Ability to read/write pcap files

Describe the solution you'd like
it would be very nice to be able to read pcap files. This would allow troubleshooting of packers captured on other devices where this application doesn’t run.
Writing is also nice, but less important than reading.

Thanks for the feedback.
What would you expect after reading a pcap file?
I think that something should be changed with respect to the current views.
For example, the chart would be meaningless since data are not flowing in real-time.
Would it be suitable in your opinion the same current representation with charts and notifications removed?

This is all based on spending about 15min looking at things. Feel free to tell me if I've missed something, or don't understand how things already work. Also, none of this is criticism. This is a slick tool.
I think the charts and inspection would be useful. Things like traffic rate, network host, application protocol. These would be based on the sample that is read from the pcap file. It wouldn't have any realtime aspects associated (changing graphs, lists, etc), but would show the information in a time slice that equals the beginning-to-end of the capture.
Examples:

load a pcap and see how many bits/bytes were transmitted in the time slice captured
load a pcap and see which countries the associated IPs in the time slice belong to
load a pcap and see which protocols used how much of the bits/bytes from the first example

The inspection window giving an overview of the list of packets is nice. Being able to drill into more details of a packet would be awesome, but that may be different (related) feature.

Yeah, it's pretty much what I was thinking about, with the only difference that I had in mind to exclude charts.
Actually it would be nice to have them though.
Instead of reporting the number of seconds (on the x axis) I could report the corresponding timestamp and aggregate the data to display them in the same space of the current charts.
Aggregating data and not displaying them second by second, would make meaningless the data on the y axis though... but that's something I'll better think about.

Being able to drill into more details of a packet would be awesome, but that may be different (related) feature.

This request has already been raised, but I prefer to keep it separate for the moment.
Support for PCAP files will come earlier than support for packets payload in GUI (which possibly may never land if we'll provide the ability to also write PCAP).

Write of PCAP files has been implemented in #473.
I was starting to work also on PCAP files read, but I've realised that there are some aspects I was neglecting that will require me more time, and that's the reason why I'm postponing the introduction of this feature to version 1.4.
One of the aspects to keep in mind is that while reading PCAPs we don't have the knowledge about local IP addresses, so there is the need to completely change the approach used to identify traffic directionality.
A possible workaround is instantiate two different captures as suggested in https://github.com/rust-pcap/pcap/issues/299 (one dedicated to incoming traffic and the other dedicated to outgoing traffic), and this implies important architectural changes to the app backend.


SelfContained property for C# dotnet-isolated Functions

[Enter feedback here]
With dotnet8 the SelfContained property is no longer automatically set.  Is there recommendation on if it should be true or false?
C:\Program Files\dotnet\sdk\8.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(251,5): warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.

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

ID: 6ad5f362-cbfb-0621-4389-6378f50359e4
Version Independent ID: ebf1a8f3-ab9d-d295-e3a4-a982ed9df1e9
Content: Guide for running C# Azure Functions in an isolated worker process
Content Source: articles/azure-functions/dotnet-isolated-process-guide.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@Gamecock
Thanks for your feedback! We will investigate and update as appropriate.


Enhancement for storage of session password

Environment

Python version:  3.5.3
Peering Manager version:  master

I did not accurately convey my original thoughts around this in #62
My intention was to suggest that one could enter an encrypted or an unencrypted password into the field and have it remain in the original format that it was entered in.
It seems that any password that is entered is considered unencrypted, so it is encrypted when it is saved, stored in the database encrypted, but the unencrypted password is no longer retrievable.

Proposed Functionality
If a password is entered into the password field as clear text, it should be retrievable some how in it's original clear text format.
If a password is entered into the password field as an encrypted string, then no additional functionality is required.

Use Case
A bunch of sessions are configured with passwords, and the router is later switched to a different vendor that uses a different method of password encryption.  The original clear text passwords would be required so they could be re-encrypted when Peering Manager creates the configuration for the new hardware.

External Dependencies
Would need a way to prevent the clear-text passwords from being re-encrypted on each configuration deployment (and causing the issue that led to #62) but also preserve the original, clear-text password for future retrieval.

What we could imagine is to never touch the user input. Encrypted or not the password will then be stored as it is. Then we could solve the encryption issue at the router's template level.
Basically if the user wants passwords to be encrypted before sending them to the router, we can introduce a new Jinja2 filter called encrypt, for instance, that would then encrypt passwords when generating the configuration. The called to the Jinja2 filter inside the template would look like:
authentication-key "{{ session.password | encrypt }}";

With this we could recommend to any users to enter passwords in clear text and then let Peering Manager encrypt them when deploying if it was asked to do so.
That said this leads to another issue. With this the password will be re-encrypted at each configuration generation and encrypted strings have a good chance of being different. This means that Peering Manager will decide that the configuration has changed compared to the running configuration on the device.
To solve the re-encryption issue we would have to introduce another field to store the encrypted password and avoid it to be re-encrypted every time. This field would have to be reset in case of router vendor change though.


Ignore ClusterName for copySnapshot API

Issue #, if available:
v0.23.1 code-controller considers ClusterName as required field for snapshot, but memorydb copySnapshot API has empty ClusterName.
Description of changes:
Ignore ClusterName
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/retest

/approve

/lgtm


Fix missing files in codecov uploads

Codecov seems to have issues resolving paths that exist in multiple libraries and drops both files from the final coverage report.
For example:

lib/msal-common/src/utils/TimeUtils.ts
lib/msal-core/src/utils/TimeUtils.ts

Code coverage reports outputted by Jest and nyc use relative paths so the coverage report shows src/utils/TimeUtils.ts.
This PR mitigates this issue by setting the root directory to the relevant library during coverage report upload and then prefixing the relative paths to restore the repo file structure.

Codecov Report

Merging #3827 (2c0a9f4) into dev (79dfa3e) will increase coverage by 0.23%.
The diff coverage is n/a.

Flag
Coverage Δ

*Carryforward flag

msal-angular
95.65% <ø> (ø)

Carriedforward from 79dfa3e

msal-browser
84.27% <ø> (ø)

Carriedforward from 79dfa3e

msal-common
81.88% <ø> (ø)

Carriedforward from 79dfa3e

msal-core
73.02% <ø> (ø)

Carriedforward from 79dfa3e

msal-node
82.52% <ø> (+2.45%)
:arrow_up:

msal-react
93.77% <ø> (ø)

Carriedforward from 79dfa3e

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

lib/msal-node/src/crypto/GuidGenerator.ts
100.00% <0.00%> (ø)

lib/msal-node/src/crypto/PkceGenerator.ts
100.00% <0.00%> (ø)

lib/msal-node/src/packageMetadata.ts
100.00% <0.00%> (ø)

lib/msal-node/src/utils/Constants.ts
100.00% <0.00%> (ø)

lib/msal-node/src/index.ts
100.00% <0.00%> (ø)

lib/msal-node/src/config/Configuration.ts
100.00% <0.00%> (ø)


Bump addon-tools dependencies for kube-compare:v0.3.0 release

Signed-off-by: Jim Ramsay<EMAIL_ADDRESS>

Handled in #134


Update zio-schema, zio-schema-derivation to 0.4.15

About this PR
📦 Updates

dev.zio:zio-schema
dev.zio:zio-schema-derivation

from 0.4.13 to 0.4.15
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #934.


I would like to prohibit a particular li drag and drop, what should be done

Try using the items property as shown in the locked items example in README :)
If it's not exactly what you are looking for, try searching in the previously closed issues.


Display the smoothness slider correctly

Closes #2248
https://user-images.githubusercontent.com/3683420/186522954-a214ba75-9904-4183-87f0-2d7852f73872.mov

Good fix, thanks @sroy3 . Can we control its color / position? Now it looks foreign a bit (clearly let's merge and ship this first).

Good fix, thanks @sroy3 . Can we control its color / position? Now it looks foreign a bit (clearly let's merge and ship this first).

Color, it's possible. I simply added a background, but did not try changing the default of the slider. Position is a little harder. Adding the slider into the plot rectangle makes the plot really small. Like you mentioned, I was thinking we should iterate on this after merging the fix.

With theme accent color

Do not merge yet. Seems like there is a empty panel that pops up sometimes on other plots


fix: pass inherit to the entire svg

What:
Some icons do not inherit the color when inside the button

Why:
We set a rule to inherit the color just to svg path and was not including some SVGs elements

How:
Changed the class to include everything inside the SVG (e.g. g, circle, use)

Media:

If approved reject #288

Closing because we're going to follow up on #288 with a different strategy.


Add composer test script

Composer supports defining custom scripts. Major PHP projects started adapting this and are now all defining their own test scripts. Here are some examples:

https://github.com/composer/composer/blob/master/composer.json#L63-L65
https://github.com/Seldaek/monolog/blob/master/composer.json#L60-L63

The advantage of this is pretty obvious; you don't have to have a global phpunit/whatever setup and can just run composer test for each library that you want to start working with.

Doesn't hurt, thanks! :)


fibonacci is optimized

the Fibonacci code has been compact.

@HarendraSingh22  is there any problem in my pull request please let me know so that I can correct myself.


Python solution for Word break problem in DSA 450 - DP approach

💥 Proposal
(A clear and concise description of what the proposal is.)
Link for the problem: https://leetcode.com/problems/word-break/
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
YES

/assign


*p and p[0] are treated differently

using <stdio.h>::{printf, scanf};

fn foo(int *p) -> int {
  // return p[0]; // not ok
  return *p; // ok
}

export fn main() -> int {
    int mut y = 123;
    foo(&y);
    return 0;
}

thanks for the report!
that's an unfortunate side effect of the len vs safe theory.
because safe(p) is implicit, the prover knows *p is fine,
but len(p) is undefined, so p + anything is unprovable
a quick fix would be
 assert( = (safe(x) (> len(x) 0) )

but this slows down the prover dramatically
i'd prefer to not fix this until deref is correctly implemented. it actually needs to check len() as well because you might cast to a different pointer size and then deref

that again isn't implemented yet because i haven't found a good way yet to get target pointer sizes. the current prover VM just assumes 64bit.

Does SIZEOF_POINTER preprocessor symbol suffice?

yes, but the prepro is unavailable to zz.
One leasson learned from rust is that zz will never make assumptions about your target build system, so it cannot possibly know how to call your c compiler with the correct flags for your target.
the options are pretty much

just assume 64bit because the edges cases where 32bit has bugs that 64bit doesnt aren't worth it
add some sort of --architecture build flags

Well, you can shell-out to the target compiler (would need to be configured) with -dM -E flags to extract things like type sizes and endianness.
I guess 2 could also be a good option.

actually, this is fixed, isnt it?


glbinding: 3.0.2 -> 3.1.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/glbinding/versions.
meta.description for glbinding is: '"A C++ binding for the OpenGL API, generated using the gl.xml specification"'.
meta.homepage for glbinding is: '"https://github.com/cginternals/glbinding/"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 3.1.0 with grep in /nix/store/pzyd64fsd0vr6q7z7h3c5kppqk8sxhdj-glbinding-3.1.0
directory tree listing: https://gist.github.com/0b8d57b1cdb724350b2b61d830e0c9a4
du listing: https://gist.github.com/9970fdc11b692b8f2780e664134ac658

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
glbinding

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pzyd64fsd0vr6q7z7h3c5kppqk8sxhdj-glbinding-3.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A glbinding https://github.com/r-ryantm/nixpkgs/archive/a81f011b1556570002f01afae2588ea81b3767c0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pzyd64fsd0vr6q7z7h3c5kppqk8sxhdj-glbinding-3.1.0
ls -la /nix/store/pzyd64fsd0vr6q7z7h3c5kppqk8sxhdj-glbinding-3.1.0/bin

cc @mt-caret for testing.

@GrahamcOfBorg build glbinding


Unified SquidDatabase [2.0]

This is a large api change intended for SquiDB 2.0. The basic idea is to merge the responsibilities of AbstractDatabase and DatabaseDao into a single, unified class called SquidDatabase. This has several benefits:

The fact that DatabaseDao wrapped an AbstractDatabase subclass made it hard to know what kind of database you were talking to, especially in apps with multiple databases. Now, all that's required is to subclass SquidDatabase instead of AbstractDatabase--that part of the api remains the same. But now, you can now talk directly to your SquidDatabase subclass for all database I/O, which means you always know what kind of database you're talking to.
You can define custom database access methods directly in your database subclass using dao methods without also needing to create a subclass of DatabaseDao
Dao methods that work with model objects are now easily available from hooks like onUpgrade() and onTablesCreated().

Further changes intended for SquiDB 2.0 will build on this foundation.

LGTM


Didn't work?

I used Cynthia's ID and it said incorrect User Id. Same with my ID

Works for me. Are you sure you copied the User ID, and not Message ID?


Build error

Hello,
I'm getting an error when trying to build v1.2.7 with Gradle:
Execution failed for task ':mergeDebugResources'.
> /home/pierre/www/CAT-Android/res/menu/selectFile.xml: Error: 'F' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore

Renaming the file to selectfile.xml seems to fix the issue.

I almost couldn't believe that the capitalisation in a file is relevant these days, but yes, selectFile.xml should be selectfile.xml instead, and this requirement (no capitals) is actually there in the Android API description.
1.2.8 doesn't fix that yet. It should be fixed in the next maintenance version to allow our inclusion into the F-Droid repo.

Hello, the file name in the current release is now selectfile.xml so this should be resolved.

I still see selectFile.xml on master, am I missing something?

@GarethAyres hey did you forget to push your changes? as @Rudloff pointed the wrong filename is still there...

Hello,
I changed it locally, and pushed it, but for some reason this wasnt reflected on GitHub. So i have manually changed the file name now.
Gareth


Sample Chromecast does not play/pause, do I need to register my own receiver?

Question / Problem
Summary

What I've tried

If you need, you can regist it

I haven't tried the chromecast sample app in a while, this needs to be verified.


Specific website input password field gets all keypresses as input

This is a phone operator login page. Try entering a password in abc mode. All keypresses are input as character. I don't know what they're doing to cause this behavior:
https://www.sunrise.ch/mysunrise/en/residential/login

All keypresses are input as character.

I don't quite get what do you mean by this. Could you please clarify or if possible, record a video showing the problem?
For me, it works fine both in Firefox and Chrome, latest versions. Are you using some sort of a custom browser? If so, it may be causing the problem.


Allow MLA components to work with existing minio

Currently, deploy-seed.sh script will also deploy a minio instance on a KKP Seed cluster, we should make it possible to work with an existing minio instance.

Fixed in #71


Added a few advanced applications and dashboards

Dashboard for performing visual analytics of server logs
Equity Index performance time series analysis using fast interval selector
Added choropleth to Wealth Of Nations
Moved the data to the app folders
Added an Index nb which will serve as a starting point for accessing all the apps

I feel these advanced applications showcase the real power and interactivity of bqplot. More apps coming soon.

Adding notes for a review now

Thanks @ibdafna I fixed wild card imports. I'll look at other issues you mentioned

@ibadana I fixed all the issues you mentioned except the ones below:

Logs Dashboard

Donut plots do not show any labels

Applications/Wealth of Nations/Choropleth

Alignment of dropdown/play widgets doesn't fit in regular Jupyter notebook on maximum width

Big dashboards don't render in the narrow output cells of notebook. They render well on a full screen voila.
Maybe we add a comment in the index nb that these apps render well in voila?

That's cool, sure. Then yes, it would be sensible to add a disclaimer to let the users know these apps render better in voila compared to normal notebook. Although I must note that most people trying these out will probably not be aware of voila as the example notebooks are typically accessed using regular Jupyter notebook from the Binder link.
It might also be useful to submit these to the voila examples repo so they get more exposure in the right context!

@ibdafna added disclaimer about using voila.
IMHO, I think it's better to add these examples here. Not many people know how to build dashboards using bqplot and these examples provide code for doing the same.

LGTM!


Issue with npm lock file v3 and sub modules: "npm ERR! npm ci can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with npm install before continuing."

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
npm
Package manager version
NPM: 9.5.1
Language version
Node: 18.16.0
Manifest location and content before the Dependabot update

./package.json
./package-lock.json

dependabot.yml content
name: Dependabot Test

on:
  pull_request:
    paths:
      - 'package.json'
      - 'package-lock.json'

jobs:
  dependabot:
    runs-on: ubuntu-latest

    if: ${{ github.actor == 'dependabot[bot]' }}

    steps:
      - uses: actions/checkout@v3
        with:
          token: ${{ secrets.PERSONAL_ACCESS_TOKEN_GITHUB_TOKEN }}
          submodules: 'recursive'

      - uses: actions/setup-node@v3
        with:
          node-version: '18.x'
          cache: 'npm'

      - name: Setup SSH
        uses<EMAIL_ADDRESS>        with:
          ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

      - name: 'Installing Packages'
        run: npm ci
        env:
          GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN_GITHUB_TOKEN }}

      - name: Run Lint
        run: npm run lint:dry

      - name: Run Build
        run: npm run build:all:noemit

      - name: Run Tests
        run: npm run test

Updated dependency
No response
What you expected to see, versus what you actually saw
npm packages should install successfully.
What I Saw
api-shared is the submodule/package we're using.
npm ERR! code EUSAGE
npm ERR!
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR!
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
npm ERR! Missing<EMAIL_ADDRESS>from lock file
... list continues for everything within the submodule's dependencies

Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
These have been provided above in the form of the dependabot build/test yml
Related Issues

#6270 (has been closed, but doesn't seem resolved?)

Hi! I think #6718 should fix this issue!

It's now live!

I'm still getting:
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.

Nope, it should have worked immediately.
Can you tell me how to reproduce this issue? In the issue body, you didn't copy a .dependabot.yml file but the contents of a GitHub Action. I guess that's to proof that npm ci can't run on the manifests Dependabot is proposing, but I'd need a sample repository with the actual files in order to investigate more.