checkov: 2.0.1065 -> 2.0.1067

Description of changes
https://github.com/bridgecrewio/checkov/releases/tag/2.0.1067

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 169213 run on x86_64-linux 1

1 package built:

checkov


Investigation: Make it easier to export to local file system

Description
If possible, it would be nice to be able to always choose to save exports to the local file system. Some users experience not being able to save locally, and only can export via e.g. chat and e-mail apps.
There are however some users who have no problem exporting using their file browsers, so the problem might be with the individual phones.
Versions

Software Version: ??
OS: Android

@jensvesti: Could you briefly describe your findings?


Add simple KSPM dependency validation

Description
DAQ-1352
For the KSPM feature to work, an ActiveGate with thekubernetes-monitoring capability also needs to be deployed and configured. This can be simply validated in the webhook
How can this be tested?

Should be allowed:

apiVersion: dynatrace.com/v1beta3
kind: DynaKube
metadata:
  name: dk
  namespace: dynatrace
spec:
  apiUrl: https://<tenant>.dev.dynatracelabs.com/api
  kspm:
    enabled: true
  activeGate:
    capabilities:
      - kubernetes-monitoring

Should be rejected:

apiVersion: dynatrace.com/v1beta3
kind: DynaKube
metadata:
  name: dk
  namespace: dynatrace
spec:
  apiUrl: https://<tenant>.dev.dynatracelabs.com/api
  kspm:
    enabled: true
  activeGate: {}

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 64.45%. Comparing base (baa85b4) to head (ce23a92).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3965   +/-   ##
=======================================
  Coverage   64.44%   64.45%
=======================================
  Files         388      389    +1
  Lines       25851    25857    +6
=======================================
+ Hits        16660    16666    +6
  Misses       7892     7892
  Partials     1299     1299

Flag
Coverage Δ

unittests
64.45% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Remove codecov integration

Hi @tgianos
While we were not affected by the https://about.codecov.io/security-update/
We suggest to move away from this pattern of curling codecov.io to get the bash script
This is to prevent potential problems in the future

Coverage remained the same at 93.836% when pulling 1681b5244f688cec6ec26e5dce54108707f45f8c on rpalcolea:disable-code-cov into 23949da1e92fbe1ef7b197ad7259ee048817c027 on Netflix:master.


Fixes 'm365 setup' app registration to use 'CLI for M365'

Closes #6367

Ready to merge 🚀

Merged manually. Thank you for your awesome contribution 👏.
You Rock 🤩


chore(tooling): update node and typescript

Description

updates nodejs to the next lts version, 22
updated TS to the make it compatible with @types/node@22

Please note,

when you test this PR you need to remove the node_modules and install everything again
if you see Error: error:0308010C:digital envelope routines::unsupported then you have to add the NODE_OPTIONS=--openssl-legacy-provider before run yarn, eg: NODE_OPTIONS=--openssl-legacy-provider yarn start

Just a comment (haven't reviewed the changes): Can we make sure this thread is addressed? https://stackoverflow.com/a/70020984 Like the "moduleResolution" is set correctly? thanks!

Thanks for the tip
I updated the moduleResolution to node16, but I did not changed the exports in the package.json. That will be another PR

did you test this with the webclient? else lgtm


Accept more than one project

Currently, cargo sweep accepts one optional and positional argument as path to the project to sweep.
It would be good to have it accepting multiple paths.
cargo sweep [OPTS] project1 project2 project3

cargo-sweep is already capable of sweeping multiple projects (see --recursive implementation), so this should be easy to implement.

Mentoring instructions: Change https://github.com/holmgr/cargo-sweep//blob/475ac9ec16518596fc21cb2ea77bd8045b5a4a6d/src/cli.rs#L39-L40 to a Vec instead of Option, then change https://github.com/holmgr/cargo-sweep//blob/a36602ffb06c2b62f35d246e22dc33b5163a69b0/src/main.rs#L154-L160 to support multiple paths. I think everything else should "just work"

I've added some basic support but it only writes the timestamp into the first path. I'm assuming this isn't expected behaviour but I can't say i've used it enough to know what would be correct.

@social-anthrax that's amazing, thank you! I think for now we can give a hard error if you try to combine --stamp with either --recursive or multiple projects.

Recursive should still work fine as it'll save it to the root. I've added a check to make sure --stamp isn't set when multiple paths are passed.


You cannot render into anything but top root

I get this error after update RN.
i use Expo v18
the swiper is not shown, i have to to da hot reload, after that, it is shown

Same here, I can only use Swiper if it is the root of a render() result. I can provide a minimal example later if the devs are interested. Basically I can't use this component within a profile to swipe between profile images. The swiper should be nested within the screen. I use expo and react navigation.


Credential Verification fails if proof property has a local @context

Bug Description
import { verifiable } from<EMAIL_ADDRESS>
const result = await verifiable.credential.verify({ credential: vc, format: ["vc"], suite: [suite], documentLoader });

credential.verify fails if the given Verifiable Credential contains an embedded proof with local @context definition.
Example VC structure which is failing:
{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://www.w3.org/2018/credentials/examples/v1"
  ],
  ...,
  "issuer": "did:web:yigitcan.dev",
  "proof": {
    "@context": [
      "https://w3id.org/security/suites/jws-2020/v1"
    ],
    ...
  }
}

When vc.proof[@context] values are appended to vc[@context], the VC is verified correctly. Example:
{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://www.w3.org/2018/credentials/examples/v1",
     "https://w3id.org/security/suites/jws-2020/v1"
  ],
  ...,
  "issuer": "did:web:yigitcan.dev",
  "proof": {
    ...
  }
}

Easy Reproduce Steps
Data and code maybe found in this gist  to reproduce the issue.

Try executing the 03-reproduce.js. You should get a verification error.
In the same script; Either change the vc variable to VC data contained in 01-good-example-data.json, or manually add proper context to VC document.
Executing the script, you should have verification succeed.

Environment

Transmute Libraries: 0.7.0-unstable.80

The reason seems to be this line:
https://github.com/transmute-industries/verifiable-data/blob/e89a530073862f31e7f1d2904c53179625c2cd14/packages/linked-data-proof/src/ProofSet.ts#L106
ProofSet#_getProofs is expanding the proof after Document @context is set. Causing the Document context to be overwritten if the Proof has a context.

Thanks for this bug report!
proof property should not have a local context...
https://github.com/w3c/vc-jws-2020
Was withdrawn as a work item, and we will not be fixing issues with it, we are focused on implementing v2 data model in JWT
We'll probably deprecate the package in the future.


Is there an option for PSD calculations to use CUDA/CUFFT ?

It's all in the title. I've looked around, and it doesn't seem to be available; I just wanted to ask to make sure.
Thanks!

No not yet. Feel free to look at the ideas we've had about this sort of thing here, and comment there as well:
https://github.com/mne-tools/mne-python/issues/2722

thanks. I'll start by using cufft, and see if I get any speedups. will return with updates.


Make bulkActions non-nullable

It was already effectively non-nullable due to
bulkActions = settings.getAsInt(BULK_SIZE, BULK_SIZE_DEFAULT);

This commit changes the type and removes some Nullable annotations to
reflect that.

Codecov Report

Merging #6462 into master will decrease coverage by 0.08%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #6462      +/-   ##
============================================
- Coverage        83%   82.92%   -0.09%
+ Complexity    13054    13049       -5
============================================
  Files          1496     1496
  Lines         48519    48517       -2
  Branches       5861     5861
============================================
- Hits          40273    40231      -42
- Misses         5483     5516      +33
- Partials       2763     2770       +7

Impacted Files
Coverage Δ
Complexity Δ

...ate/operation/projectors/IndexWriterProjector.java
80.64% <ø> (-0.61%)
5 <0> (ø)

...eration/projectors/ColumnIndexWriterProjector.java
90.9% <ø> (-0.4%)
6 <0> (ø)

...nner/projection/AbstractIndexWriterProjection.java
67.05% <0%> (ø)
21 <0> (ø)
:arrow_down:

...n/java/io/crate/exceptions/JobKilledException.java
0% <0%> (-66.67%)
0% <0%> (-1%)

...ration/aggregation/statistics/moment/Variance.java
66.66% <0%> (-33.34%)
5% <0%> (-2%)

...a/io/crate/executor/transport/ActionListeners.java
33.33% <0%> (-22.23%)
2% <0%> (-1%)

...ion/aggregation/impl/GeometricMeanAggregation.java
59.09% <0%> (-21.22%)
11% <0%> (ø)

...o/crate/analyze/SafeExpressionToStringVisitor.java
83.33% <0%> (-16.67%)
7% <0%> (-1%)

...aggregation/impl/StandardDeviationAggregation.java
64.7% <0%> (-15.69%)
11% <0%> (ø)

...peration/aggregation/impl/VarianceAggregation.java
66.66% <0%> (-13.73%)
11% <0%> (ø)

... and 38 more

Continue to review full report at Codecov.

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


chore(merge-back): 2.3.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 51244c6e3debcd95125df42a0a86ee43c6fd955c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


fix(nodebuilder/blob): allow blob submit args to be pre-encoded

Closes #3082
When using the blobData arg from the celestia blob submit command, it now checks if the argument is a valid hex string or base64 string. If so, the canonical byte representation of these encodings is used for the blob. Otherwise, the previous behavior (encoding the ascii characters as bytes) is used.

Superseded by #3088


TST sklearn: better test infrastructure and more tests

https://github.com/huggingface/api-inference-community/pull/79 would need a better way to test improvements, but it'd make that PR quite large. This PR creates that infrastructure.
It includes a script which would create the repositories used in tests on the hub as well. It can easily be extended to other tasks and cases.
cc @osanseviero @BenjaminBossan @Narsil

Anything we can do to further help ?

You could merge if there are no red flags :D

I'll take a look at the PR as well if that's ok :)

I'll take a look at the PR as well if that's ok :)

that'd be really nice!

Shall we merge this?

Yes, merging!


proposal: errors: make different results from New not reflect.DeepEqual

Currently, in go1.6, different error values returned by errors.New(...) are equal (in the sense of the reflect.DeepEqual usage) if they have the same error message. This encourages people to write unit tests like the following:
want := errors.New("archive/tar: header field too long or contains invalid values")
if !reflect.DeepEqual(got, want) {
    ...
}

This is a poor test it assumes an exact error message and type for an unexported error from a given package. Instead, we should cause DeepEqual to always return false somehow by embedding some field in the concrete errorString type that always compares to false for anything but itself.
Thus, I expect the following to happen:
a := errors.New("foo")
b := errors.New("foo")

fmt.Println(a == a) // True
fmt.Println(a == b) // False
fmt.Println(reflect.DeepEqual(a, a)) // True
fmt.Println(reflect.DeepEqual(a, b)) // False (this is currently true on Go1.6)

We probably cannot change this in Go1 because the sheer number of tests this would probably break, but it may be worth considering for Go2.

What was your test testing? Was it the presence of the error, the presence
of a particular value, or the contents of the Error() string?
On Wed, 1 Jun 2016, 07:15 Joe Tsai<EMAIL_ADDRESS>wrote:

Currently, in go1.6, different error values returned by errors.New(...)
are equal (in the sense of the reflect.DeepEqual usage) if they have the
same error message. This encourages people to write unit tests like the
following:
want := errors.New("archive/tar: header field too long or contains invalid values")if !reflect.DeepEqual(got, want) {
...
}
This is a poor test it assumes an exact error message and type for an
unexported error from a given package. Instead, we should cause DeepEqual
to always return false somehow by embedding some field in the concrete
errorString type that always compares to false for anything but itself.
Thus, I expect the following to happen:
a := errors.New("foo")b := errors.New("foo")
reflect.DeepEqual(a, a) // True
reflect.DeepEqual(a, b) // False (this is currently true)
We probably cannot change this in Go1 because the sheer number of tests
this would probably break, but it may be worth considering for Go2.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/15910, or mute the thread
https://github.com/notifications/unsubscribe/AAAcA6-SWX9Hy-I6M7NkX3-dB23j8V0gks5qHKT5gaJpZM4Iq92H
.

I'm closing this. Inside Google, most tests have been moving towards cmp.Equal, which makes it more obvious when you're doing comparisons in a forward incompatible way.
Although, I still occasionally see direct string comparisons on error strings, I haven't seen a test use reflect.DeepEqual on an error they created themselves in a while.


Default external network algorithm is too opinionated

Finding the default external network from which to acquire IPs is pretty opinionated:

Prefer partition networks with network IDs that start with internet
Otherwise try to find an external network called internet

Firstly, it's a questionable convention that every adopter must call networks like this. Secondly, and more importantly, this algorithm can lead to confusing behavior because the CCM decides on its own where to acquire IPs from. In the current situation we have a problem that we want to slowly migrate from partition-specific internet networks to a global internet network. However, the CCM always prefers the partition-bound internet network over the global network, such that all new clusters still use the partition bound network, which makes the migration very hard.
This PR explicitly requires to configure an external network ID. This given network is then being used for acquiring IP addresses in case no specific pools were specified by the user.
Regarding Gardener integration the idea is the following:

Introduce a new field in the control plane provider config, e.g. cloudControllerManager.defaultExternalNetwork
If this field is undefined

Search for networks that have a tag called network.metal-stack.io/default-external (needs to be introduced, alternatively use internet network ID convention as before)
Iterate over the networks of the firewall config to check if the network is contained in the search result
Take the first network that meets this condition, otherwise (If there is no such network) fail the reconciliation

Great summary of the situation with a good solution :+1:

Done! :)


Local Gradle wrapper executables must exist at the root of the workspace folders?

vscode-gradle extensions: v3.4.5
Hi,
I notice that one of the requirement for the extension to work is "Local Gradle wrapper executables must exist at the root of the workspace folders".   As shown in the screenshot, the gradlew.bat is not at the root of the workspace (Tutorial1 folder), but at the root of the subfolder called demoMS1.  Can i check that vscode-gradle extension will not support such workspace configuration?

please ignore my query. I misunderstand the meaning of "Local Gradle wrapper executables must exist at the root of the workspace folders".

Btw this extension does support nested projects, you just need to enable that feature with the setting "gradle.nestedProjects".

Btw this extension does support nested projects, you just need to enable that feature with the setting "gradle.nestedProjects".
Thanks! Never know have such setting.

here's some reasoning as to why it's not enabled by default: https://github.com/badsyntax/vscode-gradle/issues/339#issuecomment-624597238

here's some reasoning as to why it's not enabled by default: #339 (comment)

Noted. Thanks.  But regardless of whether nested projects are enabled or not, the folder added to the workspace must contain a build.gradle file.  In order word, I can't add a folder A to the workspace, in which folder A does not have build.gradle, even if its subfolder folder B has. Not sure if my understanding is correct.

But regardless of whether nested projects are enabled or not, the folder added to the workspace must contain a build.gradle file.

if "gradle.nestedProjects": true, the folder added to the workspace does not need to contain any gradle build files.
Consider the following directory tree:
─── projecta
    └── projectb
        ├── build.gradle
        └── gradlew

If I open projecta with "gradle.nestedProjects": false, then the extension won't load the gradle projectb.
If I open projecta with "gradle.nestedProjects": true, then the extension will load the gradle projectb.
(To clarify, gradle project discovery is based on the wrapper scripts not the build.gradle files [as gradle projects can have multiple nested build.gradle files])
I think I need to update the README to make this more obvious. The following doesn't reflect what i've mentioned:

Local Gradle wrapper executables must exist at the root of the workspace folders

It should rather say something like:

Local Gradle wrapper executables must exist at the root of the Gradle projects

I'll update the README to reflect this. I'm going to re-open this ticket for tracking purposes.

I've updated the README. Hopefully it's a little clearer.

Thanks for updating the README to improve clarity.
I just come to realize i have misinterpret the meaning of gradle.nestedProjects.  I initially still thought nestedProjects refer to multi-project gradle where we have a root gradle project with one or more nested child gradle project. Then now i realize these are 2 different things. But now i get it that the "nestedProjects" means gradle projects that are nested inside the root folder, such that once this setting is set to true, the root folder no longer  need to have the local gradle wrapper executable.
Since we are on the topic of gradle.nestedProjects, just to highlight to you in my vscode IDE, i saw that there is no description for the gradle.nestedProjects (see screenshot), but other settings have.

Yes that's all correct.
Thanks for pointing out the missing description, i am fixing that with https://github.com/badsyntax/vscode-gradle/pull/745


Redirection to Relying Party Issue - Chrome

I have an odd case where a subset of users at one customer (IdP) are being shown the error view when using Chrome and being redirected to the hrd/issue endpoint. I have turned on tracing for identity server and I see requests being processed all the way through to the "Issuing a token for an external user" message output by the TokenService.GetOutputClaimsIdentity method but cannot get any more detail on what is happening. The exact same users are able to use IE without error, and a few users are able to use chrome without issue.
Is there anything else I can turn on to try and troubleshoot this issue? Has anyone else experienced this problem?

No idea. You'll have to do a lot of HTTP debugging I think to try to follow the trail of working vs. not working.


[gha][lbt] calculate PR number earlier for slack log

Changes PR number calculation to be in the first step
New button in Slack to Visit PR
Slack message uses the report.json

Canarying in CI

/canary

:broken_heart: Test Failed - Build images and run cluster test

/canary

:broken_heart: Test Failed - Build images and run cluster test

/canary

:broken_heart: Test Failed - Build images and run cluster test

/canary

:sunny: Canary successful

/canary

:sunny: Canary successful

I agree that there is value in running compat test on release branch and we can't assume that 'compat test runs elsewhere so there is no need to worry'.
We can probably land this and then work on activating compat test?
Leaving it to @sausagee to approve since I did not look in detail into the LBT code

@sausagee @andll agreed, thanks for the feedback! I've added the ability for LBT to build two sets of images if it is unable to find the right images to use for compat test (https://github.com/libra/libra/pull/5878 which is stacked on this PR) LBT + compat should now work for cherry-picking into release branches.

LBT + compat should now work for cherry-picking into release branches.

The PR title reads "[gha][lbt] don't run LBT on cherry-pick and update slack log #5701" ATM, update it to match the intent?

/land


Project Abandon?

We've recently been looking for scenario based mocking tools and came across Parrot.  I notice there have been very few commits and no activity for the better part of a year.
Was wondering if this project has been abandoned or is still in use.  Surprisingly there hasn't been a lot of options in the mock scenario space and Parrot seems to be the closest to what our team has been looking for.
Is Parrot still being used internally?  Is there any hope for continued development?

@doodirock Parrot is still heavily used internally by our teams at American Express.  Unfortunately, there hasn't been a lot of recent maintenance but we are in the midst of defining the roadmap for the project's revamp (adding websockets, updating docs, etc).  Let us know if your interested in jamming together on any new features.
I will follow up with the roadmap in the next couple of days.

Sounds great.  I definitely feel like there is a lot of room in this space and I think our team would love to contribute.  I look forward to checking out the roadmap.
Until then the team will be looking at implementing with our current build process.

@doodirock I have added issues and milestones to the project. Please feel free to join any discussions there.


When 20% pruning, one layer itself becomes zero, is this a problem?

When the sparse rate was 0.00001, the mAP showed a stable trend, but due to time constraints, only 20 epochs were sparsed and straightened. Do you think there's a problem?

You should conduct sufficient sparse training to ensure that there are many BN coefficients that tend to 0, so that this problem will not occur.

What is the criterion of being sufficient?  2. And although the map goes up steadily, l1 regularization can reverse the current sparsity calculation? Thank you for your reply

@uyzhang

I'm sorry, but where can I look that picture? Does it save every epoch?
During sparse training, my mAP rose stably from 0.5 to 0.65, for 20 epochs. Then, even if I increase the epoch, it becomes a saturation in the present, so isn't there much difference in BN sparsity Compared to 20 epochs, ?

As you can see from your Tensorboard, this picture represents the distribution of the BN coefficient.
Strangely, when I carry out sparse training, the mAP will drop. I guess your sparseness coefficient is too small to achieve the effect of sparse training. If the sparsity training is successful, it can be seen that most of the BN coefficients in the distribution map tend to 0. So the longer you train, the more coefficients tend to 0.

@uyzhang Thank you for your quick answerI
'll give it a try and tell you
In addition, BN bias also does l1 regualization in this repo, and then 10 times... Is there a reason why the origin paper only does the scaling factor?

It's just that it works better.


failed to load OpenAPI specification from absolute path

Hello,
I try to start openapi-mock with a locale specification file.
the file are not in the same folder (another mount point).
file configuration
openapi:
  specification_url: '/path/to/your/openapi-specification.yaml'

Start command
./openapi-mock serve -c my-mock-config.yaml
Error

failed to load OpenAPI specification from './/path/to/your/openapi-specification.yaml': open .//path/to/your/openapi-specification.yaml: no such file or directory

the path are prefixed with ./ and the file are found on local folder.
I think it's due to this line .
if specificationURLIsRelativeFilename(filename, fileConfig) {
	fileConfig.OpenAPI.SpecificationURL = filepath.Dir(filename) + "/" + fileConfig.OpenAPI.SpecificationURL
}

the  filepath.Dir(filename) + "/" +  prefix should be conditioned on the presence of a / at the beginning of the path to avoid this case.
shouldn't the function specificationURLIsRelativeFilename  only test if the path starts with ./ to validate a relative path?
A priori this self-correction does not seem necessary. Maybe checking the existence of the file with os.Stat(filename)  can be enough ?

Fixed in v0.3.3


How to update the genesis without shuting down my cluster?

Hello,
I'd like to update the genesis without shuting down my cluster.
Here is my genesis:
rawGenesisConfig:
  genesis:
    config:
      berlinblock: 0
      chainId: 1337
      ibft2:
        blockperiodseconds: 5
        epochlength: 30000
        requesttimeoutseconds: 10
    nonce: '0x0'
    timestamp: '0x58ee40ba'
    gasLimit: '0x3B9ACA00'
    difficulty: '0x1'
    mixHash: '0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365'
    coinbase: '0x0000000000000000000000000000000000000000'
    alloc:
      f90acf91bdab539aac3093e5c5b207b562354401:
        balance: '0x446c3b15f9926687d2c40534fdb564000000000000'
  blockchain:
    nodes:
      generate: true
      count: 6

Here is how I'd like to change it:
rawGenesisConfig:
  genesis:
    config:
      chainId: 1337
      algorithm:
        consensus: ibft2
        blockperiodseconds: 10
        epochlength: 30000
        requesttimeoutseconds: 20
    nonce: '0x0'
    gasLimit: '0xf7b760'
    difficulty: '0x1'
    coinbase: '0x0000000000000000000000000000000000000000'
    alloc:
      f90acf91bdab539aac3093e5c5b207b562354401:
        balance: '0x446c3b15f9926687d2c40534fdb564000000000000'
  blockchain:
    nodes:
      generate: true
      count: 4
    accountPassword: 'password'

According to the Besu documentation, it's recommended to use the transitions genesis configuration item in order to specify a future block number at which to change IBFT 2.0 network configuration in an existing network.
Thus, I configured my genesis like that:
rawGenesisConfig:
  genesis:
    config:
      berlinblock: 0
      chainId: 1337
      ibft2:
        blockperiodseconds: 5
        epochlength: 30000
        requesttimeoutseconds: 10
      transitions:
        ibft2:
          block: <FutureBlockNumber>,
          blockperiodseconds: <NewValue>
          requesttimeoutseconds: <NewValue>
    nonce: '0x0'
    timestamp: '0x58ee40ba'
    gasLimit: '0x3B9ACA00'
    difficulty: '0x1'
    mixHash: '0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365'
    coinbase: '0x0000000000000000000000000000000000000000'
    alloc:
      f90acf91bdab539aac3093e5c5b207b562354401:
        balance: '0x446c3b15f9926687d2c40534fdb564000000000000'
  blockchain:
    nodes:
      generate: true
      count: 6

However, I'd also like to update and add others values such as the gasLimit or the timestamp but I dont know how.
Can you help me please?
Regards,

Hello @0x3N3JVhPUV the helm charts in the repo do not support updates to the genesis ceremony after it has been deployed.
Bear in mind that updates to the genesis file are not considered minor in practise and require a fair amount of co-ordination. Additionally there are only certain things you are allowed to change via transitions
The simplest way to achieve what you want is to:

download the genesis configmap (follow steps from https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/)
update the configmap and restart all your nodes.

Hello @0x3N3JVhPUV the helm charts in the repo do not support updates to the genesis ceremony after it has been deployed.
Bear in mind that updates to the genesis file are not considered minor in practise and require a fair amount of co-ordination. Additionally there are only certain things you are allowed to change via transitions
The simplest way to achieve what you want is to:

download the genesis configmap (follow steps from https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/)
update the configmap and restart all your nodes.

Thank you @joshuafernandes !


Fix date tests on node 10

Resolves https://github.com/uphold/validator.js-asserts/issues/175.

You could instead switch dates from e.g 2000-01-01 00:00:00 to 2000-01-01T00:00:00Z.
Using timezone info makes it unambiguous.

In hindsight that would have been less trouble, yes 😄. I'll change the dates with time to that format, but wherever we're setting time to 0 I believe it's clearer to simply remove it, as it's not adding anything useful.

Fixed.

LGTM.
For context, quoting the Date documentation:

When the time zone offset is absent, date-only forms are interpreted as a UTC time and date-time forms are interpreted as local time.

So the issue here was that dates which included time without specifying the timezone (without Z) were interpreted as local time.
The solution is to remove the time where it's not needed or add the timezone (Z) to the end of date-time strings.


break in little pause

i am using the default code, but it looks like taking command very fast if I take a little pause it breaks the line and and prints it the
next line for example if i speak "how are you" its taking "how" then "are " in the next line,,,,
i can i reduce sensetivity of taking command??

You can change the threshold here: https://github.com/oliverguhr/wav2vec2-live/blob/a22f099010820776cf179a3d142411243b392d94/live_asr.py#L39
the value of vad is

an integer between 0 and 3. 0 is the least aggressive about filtering out non-speech, 3 is the most aggressive. (You can also set the mode when you create the VAD, e.g. vad = webrtcvad.Vad(3)):

refer to here:
https://github.com/wiseman/py-webrtcvad#how-to-use-it

Thanks @voidful! Did that solve your problem @Siyamfahad?


Surface cancelled project update on the projects page

:nut_and_bolt: Description: What code changed, and why?
This surfaces the cancelled status of a project update (a result of the user selecting "Stop Updating Projects").
:chains: Related Resources
:+1: Definition of Done
Once an update is cancelled, the Project Update Status column on the projects page will revert to "needs updating" rather than "OK".
Note that the modal becomes non-cancellable, and all its buttons disabled, during the time the update is being stopped (that's up to 10 seconds at present). That means you cannot use the UI for any other operations during that time.

:athletic_shoe: How to Build and Test the Change
start_all_services
rebuild components/authz-service
rebuild components/automate-gateway

Also rebuild automate-ui in your environment.
Create some projects with rules
Start a project update (Settings >> Projects >> Update Projects).
Quickly select "Stop Updating Projects" (which appears only once you have started an update).
Observe that the project update status has gone from "needs updating" to "updating" and then back to "needs updating".
For a project with no rules, the project update status will remain a constant "OK".
For projects with rules but no edits pending--this will not quite work until https://github.com/chef/automate/issues/1368 is addressed.
Thorough demo script

Do no update

Edit a rule
"Update Projects" to open modal
Cancel
=> Nothing happens

Do an update

Edit a rule
"Update Projects" to open modal
Confirm
=> Progress shown on the main page
=> Goes from Needs Updating to Updating to OK

Think about cancelling the update but waffle

Edit a rule
"Update Projects" to open modal
Confirm
"Stop Updating Projects" to open modal
Neither confirm nor deny (so update is not cancelled)
=> Progress shown in the modal; modal closes when operation completes;
=> Goes from Needs Updating to Updating to OK

Think about cancelling the update but decide not to

Edit a rule
"Update Projects" to open modal
Confirm
"Stop Updating Projects" to open modal
Close modal with "X" or "Cancel" (so update is not cancelled)
=> Progress shown on the main page
=> Goes from Needs Updating to Updating to OK

Cancel an update

Edit a rule
"Update Projects" to open modal
Confirm
"Stop Updating Projects" to open modal
Confirm
=> Progress shown in the modal; modal closes when operation completes;
=> Goes from Needs Updating to Updating to Needs Updating

:camera: Screenshots, if applicable

@msorens after you stop, since stopping seems to take some time.. could we leave the modal open, disable the primary button and change the label to <loading spinner> Stopping Project Update... until the stopping has finished.
Or leverage the full-content loading spinner.
Or let me know if you have other ideas.

Yes, that would definitely improve the UX. Your first suggestion there should be straightforward to do.

@susanev In one sense, a bit unexpected, yes. But I think our target audience understands the nature of asynchronous events (stuff in the pipeline still continues for a bit) so would not be confused by it. Also, I would expect that with any sizable installation, the number would not jump that dramatically.

I agree with @susanev, if I hit stop, I would expect the progress bar to stop (even if it's technically still going for a second on the backend)


where is gradient_accumulation

In dpo_trainer.py, I cannot find any gradient_accumulation, I thought there should be something like if steps % gradient_accumulation == 0 before backward and optimizer_step. Did I miss anything?

It is automatically managed by DeepSpeed, and the optimizer.step will only take effect after a number of accumulations.


Specify PosgreSQL major version only

This commit changes the PosgreSQL version to be the major version only since RDS minor version updates are automatically applied.

Should we do this for other Postgresql RDS instances (transition)? Does/Will MySQL have the same issue?

Yup, done that and it works with no changes planned


#102: deleting nested docs directly with block join query

Remove id query and added a first deletion by query to remove the children of those documents matching the deletion query.

Do you have any tests if this works? Looks good but hard to decide without any test

Yes, there is a delete by query test in place, although it does not cover all filter possibilities deletion by query is also used along in other tests.


Add tests for the conversions crate

Closes #599
Introduced changes
Add tests for the conversions crate

class_hash
contract_address
felt252
field_element
nonce
short_string
stark_felt
stark_hash

Breaking changes

N/A
Checklist

[X] Linked relevant issue
[ N/A] Updated relevant documentation
[X] Added relevant tests
[X] Performed self-review of the code
[N/A] Added changes to CHANGELOG.md

Added boundary values and error tests. Please your review 🔎


fix and improve arguments' description

fix typos, improve description according to runtime.GOMAXCPUS and runtime.NumCPU's descriptions
Signed-off-by: bruceauyeung<EMAIL_ADDRESS>

This change is


Fix integration test - label affinity in parallel

Fixes #1709. The issue is that the created containers using sh command exit before running ps -q, so the number of running containers ends up being 0 and not 2 as required. Not sure why this started happening recently, but changing the command from sh to top ensures they keep running.
Signed-off-by: Nishant Totla<EMAIL_ADDRESS>

Ping @dongluochen @vieux @chanwit

LGTM

LGTM


Make IP config argument for distpart consistent with the rest of GSF

Issue #, if available:
Description of changes:
All other launchers use --ip-config to refer to the IP list file, this PR makes the dist part launcher be consistent with th rest.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Also added a default value for the dgl-tool-path argument, the path provided is the one we use in the SM and local images. Otherwise the job fails if the argument is not provided.


[Bug] Dimensions from other semantic models not linked in DAG to metric

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When defining a metric by filtering on dimensions from another semantic model, only the primary semantic model is connected in the DAG.
Expected Behavior
All semantic models used in the metric definition are connected as upstream nodes
Steps To Reproduce

Define metric
Filter on condition from another semantic model
Generate docs
Serve docs

Relevant log output
No response
Environment
- OS: mcr.microsoft.com/devcontainers/python:3.12-bullseye
- Python: 3.12.3
- dbt: 1.8.3

Which database adapter are you using with dbt?
No response
Additional Context
In this case Public Health Centers is filtering on values from dimension_units via fact_contacts > link_contacts_units.

Thanks for reaching out @mattiasthalen !
Could you share example YAML code for these two steps to reproduce?

Define metric
Filter on condition from another semantic model

@dbeatty10, absolutely!
version: 2

semantic_models:
  - name: dimension_health_centers
    label: "Health Centers"
    description: "A semantic model for health centers"
    model: ref('dimension__units')

    entities:
      - name: health_center_snapshot_hk
        expr: unit_snapshot_hk
        type: primary

    dimensions:
      - name: health_center_management
        expr: unit__management
        label: "Health Center Management"
        type: categorical

  - name: fact_contacts
    label: "Contacts"
    description: "A semantic model for contacts"
    model: ref('fact__contacts')
    defaults:
      agg_time_dimension: measurement_year_month

    entities:
      - name: fact_record_snapshot_hk
        type: primary

      - name: health_center_snapshot_hk
        type: foreign

    dimensions:
      - name: measurement_year_month
        label: "Measurement Year Month"
        expr: (measurement_year_month||'-01')::date
        type: time
        type_params:
          time_granularity: month

    measures:
      - name: health_centers
        expr: health_center_snapshot_hk
        description: Number of health centers
        agg: count_distinct

metrics:
  - name: health_centers
    label: Health Centers
    description: Number of health centers
    type: simple
    type_params:
      measure:
        name: health_centers
        fill_nulls_with: 0
        join_to_timespine: true

  - name: health_centers_public
    label: Public Health Centers
    description: Number of public health centers
    type: derived
    type_params:
      expr: health_centers
      metrics:
        - name: health_centers
          filter: |
            coalesce({{ Dimension('health_center_snapshot_hk__health_center_management') }}, 'private') != 'private'

After connecting with @Jstein77 and @plypaul we've determined that this is a known limitation, but it's something that we'd like to make possible. I'm going to update this to be an accepted feature request accordingly.
More detail
The reason for the current limitation is because we resolve the filter at run time rather than parse time, so the dependencies don't get added to the manifest, so they aren't displayed in the lineage. We believe we can do something similar to the dependency resolution for saved queries in order to implement this.


Problem when compiling the remoteattestation sample code

Hi Yu,
Could you help check the following problem I encountered when compiling the remoteattestation?
When I make the Application program within your docker, the following error occurs:
make[1]: Leaving directory '/root/sgx/sgx_ustdc' cp ../../../sgx_ustdc/libsgx_ustdc.a ./lib /usr/bin/ld: cannot find -lsgx_ustdc collect2: error: ld returned 1 exit status
When I tried cp ../../../sgx_ustdc/libsgx_ustdc.a ./lib outside your docker, it shows permissioned denied, and a sudo solves the problem. But the problem persists even if I added sudo inside that line in the makefile when running within your docker. So it seems a problem with docker. Can you help circumvent this?
Thanks much!
Yang

Hi @mike123666 ,
Thanks for the bug report. I'll patch it today. Will keep you updated here.
Best,
Yu

I personally added a -L./lib somewhere.
On Fri 19 Oct 2018 at 21:01 Yu Ding<EMAIL_ADDRESS>wrote:

Hi @mike123666 https://github.com/mike123666 ,
Thanks for the bug report. I'll patch it today. Will keep you updated here.
Best,
Yu
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/baidu/rust-sgx-sdk/issues/42#issuecomment-431482491,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYtbNYEot-yLuc1t6AtVtG_KY_0YLLvfks5umi-MgaJpZM4XxVaw
.

Everything fixed in cc770441563785f48323c4093d44927ea1efb76b. Please check if it works! Thanks! @mike123666

@davidp94 Please help me check it out. Thanks!

Thank you @dingelish @davidp94 !

Hello again:) I got another problem compiling the program after configuring GeneralSettings.h like this:
static int rh_port = 22222;
static string rh_host = "localhost";

static string server_crt = "../server.crt"; //certificate for the HTTPS connection between the SP and the App
static string server_key = "../server.key"; //private key for the HTTPS connection

static string spid = "293XXXXXXXXXXXXXXXXXXXXXXXXXX0CB"; //SPID provided by Intel after registration for the IAS service
static const char *ias_crt = "../client.crt"; //location of the certificate send to Intel when registring for the IAS
static string ias_url = "https://test-as.sgx.trustedservices.intel.com:443/attestation/sgx/v2/";

When I make ServiceProvider, I got:

...
CXX  <=  ../Networking/Session.cpp
In file included from /usr/include/openssl/ssl.h:1699:0,
from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20,
from /usr/include/boost/asio/ssl/context_base.hpp:19,
from /usr/include/boost/asio/ssl/context.hpp:27,
from /usr/include/boost/asio/ssl.hpp:19,
from ../Networking/AbstractNetworkOps.h:39,
from ../Networking/Client.h:32,
from ../Networking/Client.cpp:29:
/usr/include/openssl/dtls1.h:176:1: internal compiler error: Segmentation fault
typedef struct hm_fragment_st {

When I make Application, I got:

...
CXX  <=  ../Networking/NetworkManager.cpp
In file included from /usr/include/boost/iterator/iterator_facade.hpp:16:0,
from /usr/include/boost/range/iterator_range_core.hpp:27,
from /usr/include/boost/range/iterator_range.hpp:13,
from /usr/include/boost/range/as_literal.hpp:22,
from /usr/include/boost/algorithm/string/trim.hpp:19,
from /usr/include/boost/algorithm/string.hpp:19,
from ../Networking/AbstractNetworkOps.h:44,
from ../Networking/Session.h:32,
from ../Networking/Session.cpp:29:
/usr/include/boost/iterator/detail/facade_iterator_category.hpp:53:5: internal compiler error: Segmentation fault
}

And I put server.key, server.crt, client.crt under the remoteattestation folder. The SPID is what I received from Intel after registration. Could you help check if this is a bug or I did it wrong with GeneralSettings.h? Thanks!

It works now. Thank you!


JBEHAVE-1136 Fixed example table generic parameter conversion.

If a generic variable is used in a parametrized example table, the "mapToType" method of the ExamplesTable converter throw a ClassCastException, when it gets the genericType of the field and wants to cast the Type to Class, but it is not possible, because it's type is a ParameterizedType instead of Class.
Methods of the ParameterConverter interface can accept Type object not just Class, so I think the Parameters interface doesn't need to restrict ability of the converters, it would be better if it is supported.
I fixed it and changed the Parameters interface and its implementation to support any object.

This PR is very helpful because not being able to use a collection (such as a list of numbers) inside an example table really sucks... I hope someone on the JBehave team review it and/or approve it.

Thank you I had the same problem, asking myself if the code has ever been tested one time since getGenericType returns a Type object. I was about to write the same patch as you did. Why this is not merged ?

@sylvainlecoy, I believe all changes are in master and available in 4.1:
https://github.com/jbehave/jbehave-core/commit/912b0e11e07267c0caf743da2b31a5befb9c0886
https://github.com/jbehave/jbehave-core/commit/94f290fe1b6d50b3f4c2d758f25280ac044f3860
This PR should be just closed.

@valfirst Ha yes it is I just checked out the code, thank you. And yes I was confused the PR was open but it should be closed actually.


Update kerberos-protocol-registry-kdc-configuration-keys.md

adding DefaultDomainSupportedEncTypes
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

@jobesancMS The changes are live. This PR will be closed.


Service Feasibility - Webmap not valid issue

Map does not have a point layer, widget should show an error message for "Access Point Layers". No checkboxes are generated if there's no point layer. (just trying with a different services with no point layer)

Should have similar result to this
access_point_issue2

@MikeMillerGIS Configuration widget pulls webmap layer names to display options for business layer and access point layers. These are the required parameters, configuration widget will display a proper message on load if any of these two parameters have no options to display from the selected webmap.
All other configuration parameters are validated while saving the configuration. Please confirm.

@MikeMillerGIS We are awaiting further direction on this.

I agree, these layers are required and an error should be presented on saving and not letting the widget save.  The error message shown is incorrect.  It should state that access point layers are required, not businesses.  A business layer is selected in the above screen shot.

@MikeMillerGIS
The error message graphic shown above was probably meant only to serve as an example to convey that an appropriate message should be shown for access point layers similar to business layers.
Just to confirm, do we need to display these error message on saving, and not during load of the widget configuration UI? Right now the 'no business' message is displayed on load, and no message is displayed for no access point layers on load. But messages for both are displayed on save.
Our understanding is that if business layer is not available in webmap the "No Business Layer available to continue" message to be displayed on load as well as on save.
If business layer is available, and there are no point layers available in webmap, then "No Access Point Layers available to continue"  message should be displayed on load as well as on save.

Yes, we can display the error message only on saving.

@MikeMillerGIS We will remove the error messages on load.
The widget already displays following messages on saving,

for no businesses "No Business Layer available to continue"  is displayed.
no access points "Please select minimum one Access point Layers" (please see screenshot)

We will change the error message for no access points to "No Access Point Layers available to continue" on saving.

@MikeMillerGIS
We have changed the error messages and will be providing it in 6/10 build.

verified


Require xarray

closes #64

Codecov Report

Merging #65 into master will increase coverage by 0.24%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
+ Coverage   98.53%   98.77%   +0.24%
==========================================
  Files          18       18
  Lines        1230     1229       -1
==========================================
+ Hits         1212     1214       +2
+ Misses         18       15       -3

Impacted Files
Coverage Δ

regionmask/test/test_mask.py
100% <100%> (ø)
:arrow_up:

regionmask/core/mask.py
96.51% <100%> (+2.96%)
:arrow_up:

Continue to review full report at Codecov.

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


Free Text Editor will Lose the First Line on Save when Adding more than One Lines by Enter Key

THIS DOES NOT HAPPEN IN FIREFOX WEB BROWSER
Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: Chrome Version 120.0.6099.130 (Official Build) (64-bit)
PDF.js version: v4.0.269
Is a browser extension: No

Steps to reproduce the problem:

Open a viewer to view an example PDF file.
Use free text to add some text with two or more lines.
Save the PDF file and reopen it using any PDF viewer.

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://mozilla.github.io/pdf.js/web/viewer.html

Duplicate of #17079


Feature: Quick folding/unfolding/jumping

If the user can folding/unfolding the blocks just by clicking the [title], that will be cool.
Besides, maybe a fast jump to the end/beginning of the block by clicking is also helpful.

A navigator tree in sidebar may be a wonderful idea.

jumping: provide links in hover message of title and end tags.
folding: provide Fold Button when the cursor is located on the title line and Focus Button at other times, this is not perfect but useful enough.
unfolding: this can be implemented with vscode built-in function, so it is not considered in the commits.

jumping: provide links in hover message of title and end tags.
folding: provide Fold Button when the cursor is located on the title line and Focus Button at other times, this is not perfect but useful enough.
unfolding: this can be implemented with vscode built-in function, so it is not considered in the commits.


what's the roadmap for .net core?

hi guys:
in "https://github.com/exceptionless/Exceptionless/issues/329"
you said “ We are working on an asp.net core release which has much much much better performance and will really be awesome release :)”
I 'm eager to get this.
aha, so what's the roadmap of the .net core release? :)

Hey, we have the master branch that’s asp.net core and we’ve been running it in production since Christmas, we’ve been working through all the issues that have came up and need to work on the release artifacts so we can cut a release soon

I'm going to close this as we plan to release asp.net core support for the next release and hopefully soon. If you need it now, you can grab it from the master branch and reply to this issue if you need any help :).

cool cool cool


How HopTB interfaces with wannier90

Dear Developer，
Can you please tell me how to interface HopTB with wannier90 on linux. I would be grateful if you could advise how to install and use it. Thank you for your patience in answering this question.
Best Regards,
Guo.

The package can be installed with the standard method in Julia: Pkg.install("HopTB").
The interface between HopTB and Wannier90 is HopTB.Interface.createmodelwannier, which reads a tb file from Wannier90.


end2end tests interfere with vuelidate

Hammerhead.js is the test proxy of testcafe, it seems to cause problems with vuelidate (and I think also some other vuejs parts)
https://sentry.io/foodsaving-worldwide/karrot/issues/403444035/
Error: Cannot read property '__isVuelidateAsyncVm' of undefined
  at Function.t._error (/hammerhead.js:2:2619)
  at value (/hammerhead.js:2:16693)
  at a.proxy (/ByDNSWUJM!s!utf-8/http://localhost:8080/js/0.b10023889641ee4a6df6.js:14:145145)
  at xr.get (/ByDNSWUJM!s!utf-8/http://localhost:8080/js/vendor.6d5a0794315c455965d9.js:7:44784)
  at xr.evaluate (/ByDNSWUJM!s!utf-8/http://localhost:8080/js/vendor.6d5a0794315c455965d9.js:7:45849)
...
(45 additional frame(s) were not displayed)

Might be solved by fixing the inList validator, will close for now.


Stack for i-xxx does not exist (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: xxx

We are trying to move our local micro-service architecture to Amazon Web Services with my little experience.
I have added the ConfigBean line, Maven Dependency and am trying to compile in an EC2 instance which then is sent to ECR and deployed on Fargate. I have attached an IAM role so that when I load Eureka with AWS Autoconfigure it doesn't throw an access key error as adding it to the config did not work. Now I am having the following error appear, which I can't figure out what it's trying to do in CloudFormation:

Stack for i-0d6112770e8cb97b2 does not exist (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: e1ac5b22-8b1c-43a5-b93c-e469a541fe46)

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cloud.aws.core.env.ResourceIdResolver.BEAN_NAME': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'stackResourceRegistryFactoryBean' defined in class path resource [org/springframework/cloud/aws/autoconfigure/context/ContextStackAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.aws.core.env.stack.config.StackResourceRegistryFactoryBean]: Factory method 'stackResourceRegistryFactoryBean' threw exception; nested exception is com.amazonaws.services.cloudformation.model.AmazonCloudFormationException: Stack for i-0d6112770e8cb97b2 does not exist (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: e1ac5b22-8b1c-43a5-b93c-e469a541fe46)
Where should I be looking at?

Try to ask at Spring, this is unrelated to Eureka, looks to me like you're missing the value for stack property.


Add Additional LnCurrencyUnit Tests and Improvements

This PR is open to add additional LnCurrenyUnit tests and functionality.
I have filled in additional unit tests, as well as added the ability to deserialize.

Exactly what i was looking for, thanks!


Move to Peril from ruby danger

This makes the file exist, I'll submit a PR to our Peril settings file to make it actually run.

last updated 5 hours ago, 👍

LGTM 👍


🐛 yellowstone availability response empty

closes #344

:tada: This PR is included in version 0.32.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


possible Typo in ErrorHandler.cpp

On line 30 of src/ErrorHandler.cpp there's statement that looks like this:
case INTERNAL_ERROR: 		return "INTERNAL ERRER";                 break;
Shouldn't this return "INTERNAL ERROR"?

Yes.


Changing Azure location and re-deploying results in deployment name conflict

Repro steps

Initialize the repository via azd init
azd provision
Open the .env file and change AZURE_LOCATION (e.g. from westus to eastus or similar).
Do azd provision  again.

Expected
Provisioning should succeed
Actual
Provisioning fails with deployment name conflict (a screenshot from Tim, who brought this scenario to my attention):

I re-produced this. The error included in original issue is misleading. Tim selected a region that was too busy to create the Cosmo DB account.
Pick a region that is ok. e.g., centralus, and the error message is:
...
Created Key vault: keyvaultrsiqo7swfrhqi
Created Azure Cosmos DB: cosmos-rsiqo7swfrhqi
Error: deployment failed: failed deploying: failed running az deployment sub create:
Deployment Error Details:
InvalidDeploymentLocation: Invalid deployment location 'centralus'. The deployment 'node810' already exists in location 'westus'.
Potential suggestion: Run azd down to delete all the existing infrastructure before re-deploying.

After talking through this, we should make sure we use unique deployment names to prevent this from happening.

I believe this is related to us using the environment name as the deployment name.  We may need to randomize the deployment name or include the location in the name.

Hello, I'm facing the same issue. It would be great if we had a way to specify the deployment name.
Currently if I have several projects using azd in the same subscription, if I use the same location my deployments at the sub level are being overwritten. If I change the location, I get the error mentionned here.


Problem sending an image

I have not problem sending texts,
but when I'm trying to send an image from PHP using GuzzleHttp\Client, it doesn't send anything
$httpClient = new \GuzzleHttp\Client();
$imageFile = 'PATH_TO_MY_IMAGE_FILE';
$params = [
  'chatId'=> $numberNotification,
  'file'=> [
    'mimetype'=> mime_content_type($imageFile),
    'filename'=> basename($imageFile),
    'data'=> base64_encode(file_get_contents($imageFile))
  ],
  'caption'=> 'Testing Image Send',
  'session'=> 'session_testing'
];
$endpoint = 'sendImage'
$apiUri = sprintf('%s/%s', $myApiBaseUrl, $endpoint);
$httpClient->post($apiUri, [
    'form_params' => $params,
    'headers' => ['X-Api-Key' => 'MY_API_KEY']
]);

Making a debug, my request are something like this
chatId: MY_NUMBER_NOTIFICATION
file[mimetype]: image/jpeg
file[filename]: file_test.jpeg
file[data]: HERE_BASE64_DATA
caption: Testing Image Send
session: session_testing

any idea what i'm doing wrong
file[mimetype] fails on BinaryFile , or getSchemaPath(BinaryFile) is failing? on MessageImageRequest file is empty
https://github.com/devlikeapro/whatsapp-http-api/blob/e1bf8cf735287bad241a89030f1daa2d1318ff2f/src/structures/chatting.dto.ts#L120-L138
https://github.com/devlikeapro/whatsapp-http-api/blob/e1bf8cf735287bad241a89030f1daa2d1318ff2f/src/structures/chatting.dto.ts#L140-L149

Hi! Have you solved the issue?

Hi! Have you solved the issue?

Yes, it was my mistake, I was using form_params instead of json, thanks

it would be nice a validation that warns of this mistake, like request must be application/json when sending file[mimetype] on form/url-encoded

What was the response for your request?
There's http status for that, I'm wondering if we send it or not
415 Unsupported Media Type

I don't remember anymore, but now everything is working without problems


When an ObsID is cleaned that already had a generated spectrum, single_temp_apec still fits that spectrum

Then at the end it tries to assign the results to a spectrum that is no longer associated with that source, then you get a NotAssociatedError as should happen in this circumstance.

I think what might be happening is that the SAS interface sees that the expected results file already exists, and as such doesn't run the fit. However that previously run results file used data from an observation that has been cleaned from the source.
I'm not absolutely sure this is the case though

The spectra obsids being found by the preparation stage of single_temp_apec seem to match the obsids the source object knows about after cleaning, so I don't think the problem is about which spectra are being fed into the fit actually.

I'm another step toward fixing this. For those sources (in the 100 or so I'm testing on) that have observations cleaned, and thus need a new fit running, the lookup of the index of the source object is wrong, and the result is trying to be assigned to the wrong source object - thus throwing the not associated errors. Not quite sure why this is happening yet though.


Fix Readme example according to issue #234

Fix a readme mistake on the datepicker customization example (issue #234).

Thanks!

Thank you for your reactivity! 😄


Fix #1595: Desugar object literals if they have duplicate keys.

This emulates the ES6 behavior of last-occurrence-wins in ES5,
whose strict mode considers duplicate keys in object literals as
early errors.

Review by @gzm0

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1613/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2096/
Test FAILed.

Dush!  I don't know what to do yet.

Ah, I will emit this instead:
var obj = {};
4;
obj['bar'] = 5;
obj['foo'] = 6;
obj

without obj['foo'] = for those that will end up being overwritten anyway. That can be decided statically.
(and of course 4 can be dce'ed in this case)

FILE A BUG!!! :P

I will, of course (assuming the master still exhibits the issue).

Updated.

If it does ==> Hall of Fame, level over 9000

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1614/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2097/
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1615/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/2098/
Test PASSed.

LGTM. But the compiler should also emit a warning if someone uses js.Dynamic.literal with named apply and duplicate names (we can just file an issue for that).


Upgrade ARM gcc compiler to 9.2.1

What do these changes do?
I tried to fix the build failure in #258 by upgrading the Aarch64 gcc version to 9.2. Unfortunately this didn't fix the build, but since the code is already here, this PR upgrades the compiler version anyway.
I don't think this upgrade has any downsides, but please correct me if I am wrong.
I ran buildifier, so only dfc27501e19cf2474c6263aaa097584bf8f5bae7 is relevant for review.
How Has This Been Tested?
CI
Benchmark Results
@Tombana do you think we should re-benchmark on the RP4?

Ah this might mean we can use C++17 features like if constexpr! When I tried previously it was fine except on Arm.

I just checked, that our Raspberry Pi has a new enough version of GLIBC require for this compiler to work.

Ah this might mean we can use C++17 features like if constexpr! When I tried previously it was fine except on Arm.

Currently, the TF is using C++14 (I checked a few months ago) and we have also hardcoded in LCE  configure here to be compile with c++14. So I am surprised how it has compiled it for you.

Currently, the TF is using C++14 (I checked a few months ago, they might have changed in the meantime) and we have also hardcoded it in LCE configure here to be compiled with c++14. So I am surprised how it has compiled it for you at all.

Yeah on reflection this won't quite allow us to use C++17 because this updates only the Aarch64 compiler, not the 32-bit Arm one, which also doesn't support it.


Support<EMAIL_ADDRESS>

Is there any plan to update dependencies?
Is there anything I can do to help?  Is it as simple as a PR that updates the package.json?

I've udpated all the dependencies and also re-enabled dependabot


there are thousands of errors when window resize

there are thousands of errors when window resize

also ,there are no api to refresh chart

Fixed here: https://github.com/frappe/charts/pull/238


Way of going from server::Request to the SSL connection

hyper 0.10 had https://docs.rs/hyper/0.10.12/hyper/server/request/struct.Request.html#method.ssl to take you from a server request to the SSL connection. This was needed for things like client certificates.
I don't see an equivilant to this functionality in 0.11, it'd be great to bring it back!

One could currently implement a ServerProto that is able to check the transport for anything before saying it is OK to be used with a Service.

I'm still learning my way around the tokio ecosystem, but for my application just being able to filter before my application isn't enough, I need the actual contents of the client certificates in the app itself.

A Service serves a connection. Would you need the certificate within the context of each request made on the same connection?

Yup. (https://github.com/alex/ct-tools is the application, it's an app specifically geared to help people interact with their client certs + certificate transparency)

So, we're considering that Request and Response gain a typemap-like thing that can contain extensions. The original thought is that it would be able to contain HTTP2 extensions, but it could be used to store anything. Perhaps a wrapper can set req.extensions_mut().set(some_cert), and users' services can check for the req.extensions().get::<Cert>() (or whatever the type is).

I'm not very familiar with the internals of hyper -- is the hyper 0.10 approach of exposing the ssl<T>() method no longer technically possible, or just not consistent with the API you're trying to offer?

The Request and Response have no concept of the underlying transport by design. So that previous method can't really work.

I suppose the extensions dealio makes as much sense as anything, given that constraint.

Another alternative is that since the Service is constructed at the start of the connection and used to serve all requests on it, the certificate could be grabbed in a NewService implementation and stored on the Service.
struct ClientCertService {
    cert: Option<Cert>,
}

impl Service for ClientCertService {
    fn call(req: Request) -> Self::Future {
        // check self.cert
    }
}

This would require NewService to gain a way to inspect the transport...

Hmmm, that makes a fair bit of sense to me.


[mysql-cdc、DataStreamApi] FlinkCDC_2.3.0 Use 'scan.startup.mode' = 'timestamp' will get errors when restart job from checkpoint/savepoint

Describe the bug(Please use English)
我在测试使用“从指定时间戳启动模式 + 动态加表功能“时，发现了问题。
1、首先同步a表，指定从1001这个时间戳启动
2、运行一段时间后，a表同步了5条数据，将任务停止到保存点
3、加入b表，将任务从保存点重新启动
4、任务没能启动成功
5、一开始是以为这个模式不支持动态添加表，于是去掉b表，将任务从保存点启动，依然报同样的错误
6、以下为启动命令与报错信息
【
I found a problem when testing the use of "starting mode from specified timestamp+dynamic adding table function".

First, synchronize table 'A', and specify to start from the timestamp 1001
After running for a period of time, table 'A' synchronizes 5 pieces of data , stops the job to the savepoint
Add table 'B' and restart the job from the save point
Job failed to start
At first, I thought that this mode did not support add tables dynamically, so I removed table 'B', started the job from the savepoint, but still get the same error
The following are job startup commands and error messages
】

7、期望的结果：
a表从保存点记录的位移点继续往后同步，动态新增的b表从时间戳1001开始同步
【
7. Expected results:
Table ‘A’ continues to synchronize backward from the displacement point recorded at the savepoint, and dynamically added table 'B' starts to synchronize from the timestamp 1001
】
Environment :

Flink version :  1.16.0
Flink CDC version: 2.3.0
Database and version:

@Ocean22 Hi, could you provide more detailed code and steps? cc @leonardBang for a look.

@Ocean22 Hi, could you provide more detailed code and steps? cc @leonardBang for a look.

Yes,of cource.

Steps are the following
1、Read mysql binlog data
2、Print data

补充：异常起始位置：

问题很容易复现，起始不用追加或变更表

启动服务，trigger savepoint
关闭服务，配置从trigger savepoint恢复服务，并且更改函数中的参数timestamp： .startupOptions(StartupOptions.timestamp(timestamp))
再次启动服务，剖出上边异常。

2.4.0 fixed this .

2.4.2还是有同样的问题


NiFi-10533: Update org.apache.commons.commons-configuration2 to 2.8.0 For NiFi Ranger

Summary
NIFI-10533
Update org.apache.commons.commons-configuration2 to 2.8.0 For NiFi Ranger from version 2.1.1. The move to version 2.8.0 remediates the following CVEs:
CVE-2022-23437
CVE-2022-23302
CVE-2022-22971{}
CVE-2022-22968{}
CVE-2022-22950{}
CVE-2020-15250{}
CVE-2019-17571
CVE-2018-8088
CVE-2018-1275
CVE-2018-1271
CVE-2018-1257
CVE-2016-5007
CVE-2012-0881
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[X] JDK 8
[X] JDK 11
[X] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Will work through apache ranger to solve this

@mr1716 what is pulling in the offending JAR precisely?  We had it in an exclusion list, no?


This is a bug with node-gyp

Hello, I have a problem with node-gyp, when  I try to install a package example dotenv I get a really annoying error.
I updated node-gyp
I updated npm
Nothing works.

Try with a new version of node-gyp? It looks like you have v5.1.0

Try with a new version of node-gyp? It looks like you have v5.1.0

I have update the version of node-gpy as ，but when i run it，it works on older one.why?

You are going backwards!  The error log now says you are using node-gyp v3.8.0 vs. https://github.com/nodejs/node-gyp/releases

You are going backwards!
The error log now says you are using node-gyp v3.8.0 vs. https://github.com/nodejs/node-gyp/releas

look the info of bottom，i have updated as
node-gyp -v 8.0.0
but it dose't work👀👀.
your help is needed

Can you please try @DeeDeeG instructions here or https://github.com/nodejs/node-gyp/wiki/Updating-npm's-bundled-node-gyp to try to get to a current node-gyp?

The log line npm ERR! node-gyp -v v3.8.0 is what matters.
Can you please try @DeeDeeG instructions here or
https://github.com/nodejs/node-gyp/wiki/Updating-npm's-bundled-node-gyp to try to get to a current node-gyp?

Thank you! i have tried to get to a new node-gyp https://github.com/nodejs/node-gyp/wiki/Updating-npm's-bundled-node-gyp  the day before yesterday,but it dose’t work.Finally，I find node-sass  is the key,when i abandon it，everything is ok

Nodes Sass is deprecated in favor of Dart Sass https://github.com/nodejs/node-gyp/labels/Node Sass --> Dart Sass


Investigate a better way to handle children of daemon threads

Now we're spawning children of children of daemon threads and we don't have a proper way implemented now to close the children threads.

https://github.com/ORNL/flowcept/pull/44


Bump framework

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5688808126


Fix for checkboxes and radio buttons not triggering form change event

Hey Aldeed,
This is a fix for #861. Checkboxes and radio buttons do not pass the infinite loop protection you have in place on the change form event handler. This adds compatibility for checkbox and radio buttons, and provides a framework for other input types if necessary in the future.
Cheers!

Actually I see I've made a mistake here, going to redo the request.


Support single delimiter version of expect![]

Pairs of braces are no longer necessary that we parse string literals. Allow users to omit the inner [].
This represents a significant change to the public API, and you might have other tooling that depends on the paired braces, so I understand if you don't want it upstream. I think it reads a bit nicer, though.
Depends on #26 (although it could be separated), and is similarly lacking in integration tests for now.

The primary motivation for [[]] is to hack around rustfmt suboptimal formatting. With one set of brackets, it adds two extra newlines per expect macro.

The primary motivation for [[]] is to hack around rustfmt suboptimal formatting. With one set of brackets, it adds two extra newlines per expect macro.

Ah, I didn't think of that. Worth noting that this isn't true for single-line expects, for which the terser syntax is most impactful.

Yeah, so let's do this:

support one or two delimiters, but not more
use one-delimited simple string for single-line cases
do not preserve user spelling. Ie, if the user writes expect![[r#"foo"#]], and we update this to bar, we don't take the original form into account and use expect!["bar"].

* do _not_ preserve user spelling. Ie, if the user writes `expect![[r#"foo"#]]`, and we update this to `bar`, we don't take the original form into account and use `expect!["bar"]`. Not that this is for the cases where we do update. If the test passes, it should pass with whatever flavor of delimiters.

This is implemented now (it requires #28). It does add some complexity, however. Let me know what you think.

Ping @matklad, in case this got lost during the holidays.

Sorry, this felt through the cracks, it looks good to me now!
bors r+


Scrutinizer Auto-Fixes

@JoseCage requested this pull request.
It consists of patches automatically generated for this project on Scrutinizer:
https://scrutinizer-ci.com/g/doesangueorg/doesangueweb/

Current coverage is 16.74% (diff: 0.00%)

Merging #26 into development will not change coverage

@@           development        #26   diff @@
=============================================
  Files               28         28
  Lines              203        203
  Methods             63         63
  Messages             0          0
  Branches             0          0
=============================================
  Hits                34         34
  Misses             169        169
  Partials             0          0

Powered by Codecov. Last update 1831fbd...70e7849


Test doc

Hey @xiafu-msft if you're happy with what appeared on docs.ms.com and what you see on github.io results, please merge this! Thank you so much!


store: Cleaned up API for test/benchmark purposes.

Signed-off-by: Bartlomiej Plotka<EMAIL_ADDRESS>

This is so we can use our structs for reliable go benchmarks from outside package (e.g to integrate multiple things): https://gist.github.com/bwplotka/cbcbbcd1802181b7785da11dcc0f5cfd#

Thanks for reviews, will update!

Rebased!

PTAL @yeya24 @prmsrswt


removed artifactory.em.nytimes.com from gradle

We haven't gotten CI moved to Travis yet. I'm assuming you ran clean and build after changes?

develop branch created, kindly reopen PR to it


ODS-Guideline > Typography

Typography Page
Screens : https://zpl.io/JEzKZen
Requirement
As a developer
I want to be able to see the available Typography available in the ODS Library
So That I see the names of the typos to use and understand their size  results in the code
DSM reference
General description
The page will propose to the user to describe the various typos available for this OS in the guidelines and support the light/dark switch.
UI specifications
Anatomy
Component
The Typographies will be the ones available in the Library for the developper to use
App Page

the main page still needs to be designed

Variants
NA
States
NA
Internationalization
To be treated later
UX specifications
Interaction

All:

none

Touch:

Nothing Specific

Keyboard:

Nothing Specific

Animations

NA

Accessibility
Visual Accessibility

taken into account within the design creation process

Usage Accessibility

(?) Focus order - from left to right  / ---inverted in R2L mode--- (this will not be added in the first iteration of the creation of this component)
(?) Focus loss expected behavior - NA
(?) Screen Reader - read only the Label alt description and not the color rectangle
(?) Switch Control

Technical specifications
Implementation tasks

[ ] Task 1
[ ] Task 2

Related tasks

[ ] Task 1
[ ] Task 2

looks ok to me, @mccart77 can you confirm?

Just one comment; some of the typography names have the font weight included and some of them do not. For example, 'Large Title' has not font weight but 'Callout Regular' has.
In the DSM we show the weight for each one but not as part of the name.

I have logged a dedicated ticket #155 to finalize this page for me

is it possible to give me zeplin access?

looks ok to me :)


Fast forward the 'master' branch to be in sync with 'openshift-master'

We're switching the branch names to be in sync with other openshift projects for build automation.

/lgtm


Fixing error message for exttab1 source file when optimizer is turned…

@changleicn @huor Please take a look.
Venky

looks better to have a jira for this and remove the extra spaces.

Can we make the test green now, and then adjust the error message (and the corresponding test) in a later story?
This is the last red test in our effort of a passing installcheck_good run for HAWQ without optimizer. Prolonging the red means that we'll continue to hide potential meaningful test failures.

ASF's jira server is down, as of Friday evening (Pacific time). So we don't have an associated jira issue.

This should be closed. We've made a new pull request that references a jira: https://github.com/apache/incubator-hawq/pull/449


fixed requirements for google colab

Little updates to requirements to be able to run nglod training (app.main) on Google Colab:

pysdf missing from requirements --> added to requirements.txt
Some flows use torch.clip, which is only available from torch 1.7.0 and onwards (tested with CUDA 11) --> requirements.txt updated
MeshDataset has a stale import spc statement which fails the training code --> removed from MeshDataset

Another change required to run training, and not included in this pull-request:
The armadillo_normalized.obj model is n/a, so possibly the normalization code of MeshDataset should be uncommented (I'm not sure how other flows may be affected).

Thanks for this contrib! A few points:

The pysdf dependency isn't actually needed (I've deleted it off the main branch just now) so the requirements don't need to be updated
I think torch.clip is an alias for torch.clamp which was introduced in 1.7.0. I'll replace all the clips with clamps and I think that should fix the versioning problem.

If you can update these 2 things I'll merge this branch, thanks!

Also thanks for pointing out the normalization issue- this was an update in the recent refactor. It has now been uncommented and the README is updated again to make this more clear.

Done


update build doc

Coverage decreased (-13.9%) to 63.754% when pulling 77db509a00dc0491050e09a69ab863a96b10ad7d on dixu/update-build-doc into 6d49a3177cb9622381fb6bbbbd9f529fee310572 on folder-refactor.


Upgrade SQLNexus to support .NET Framework 4.8/4.8.1

Tested this out. When we switch the target, naturally .NET framework 4.8 is required to be installed. We probably don't want to set this bar for now on all SQL Nexus users

@gambit9009 and @asavioli for comments

Associated PR #179
Commits:
435872b79e81abab682cd23bb4519857c941642f
7dc696d70d029732b64e3452982e681cf789c05b

Additional commit to upgrade remaining projects to 4.8
d6b165769501b77cd5a21285e77064ed28f8c5b6


bumps upstream image-builder to 0.1.19

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/test image-builder*

/approve

/retest

/approve

/lgtm
/approve

/override cert-manager-tooling-presubmit


Not a bug, but why use import "freechips.rocketchip.xxx" when rocket chip uses just xxx?

This makes it hard to diff your version of common files from rocket, coreplex, config, etc. I am unclear why this extra name specificity when I would assume you could just default this?
Also, why do you use "chip" vs. "rocketchip", and the better named "amba" vs. "uncore". I can understand that last one, but is it worth having a different name for the same files?

rocket-chip recently refactored its package hierarchy so it also now uses these new names "freechips.rocketchip" and "amba"

Ah, OK. Thanks. I guess I have a split in time between them.
Regards, Paul
On Jul 17, 2017, at 4:27 PM, Colin Schmidt <notifications<EMAIL_ADDRESS>wrote:
rocket-chip recently refactored its package hierarchy so it also now uses these new names "freechips.rocketchip" and "amba"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fucb-bar%2Fproject-template%2Fissues%2F14%23issuecomment-315914038&data=01|01|paul.kimelman%40nxp.com|43c6327bef9344efe41b08d4cd6b7127|686ea1d3bc2b4c6fa92cd99c5c301635|0&sdata=tQrGs9lZGNPPn2nGp5vBmF8gcT%2F2RtcqDRfxM2c4ITM%3D&reserved=0, or mute the threadhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVpF31ieB3NQ_tG6GMmSoX8ZacguXAfjks5sO-31gaJpZM4Oap0t&data=01|01|paul.kimelman%40nxp.com|43c6327bef9344efe41b08d4cd6b7127|686ea1d3bc2b4c6fa92cd99c5c301635|0&sdata=0kyneNrDQQAZ71Ea%2BTsNbMECPs9Zj99hdyA7K5tnTrc%3D&reserved=0.
--
Paul Kimelman – Automotive Platform Architecture
408.906.9676


BUG: hidden special workspaces not focusing; bugged positiononing

Good day to you!
My system config for current date:

latest hyprland commit
latest hycov commit
configure by NixOS home-manager module
multi-monitor setup

noticed some bugs:

clients from hidden special workspaces not focusing from overview, from visible special workspace - focusing

Bugged positioning or clients 'flying away' in overview:

'flying away' when only one client on monitor:
https://github.com/DreamMaoMao/hycov/assets/52028706/dbd96664-13f4-4deb-b173-a8c100ecaf8c
Thank you!

All your descriptions,
I'm not sure what you're talking about, but special workspaces should be excluded, I've already excluded special workspaces, you can try the latest code

The Angle of your video is so weird, I can't see anything

If these are clients on a particular workspace you can try the latest code first

may fixed: #49


question(auth): Using AngularFire instead of FirebaseAuth

Read the code. Impressive. Have a few questions hope you can answer and I can learn from you.

Why in your code auth-service.ts you're using FirebaseAuth instead of AngularFire?
Why use public here? Why not private like private af: AngularFire?
Why use auth$ to represent it? Why not just use auth...

  constructor(public auth$: FirebaseAuth, private af: AngularFire) {
   auth$.subscribe((state: FirebaseAuthState) => {
      this.authState = state;
    });
   /*af.auth.subscribe((state: FirebaseAuthState) => {
      this.authState= state;
    })*/
  }

Just personal preference – since the service only needs FirebaseAuth, no need to inject AngularFire proper.

I think public is a hold-over from previous iterations that may have exposed auth$ for components to subscribe to.

The $ suffix is a oft-used convention for identifying observable streams.

Nice. I just learned something from you reading this answer.

Thanks for the quick reply. Learnt something new. 👍


All projects from "Open Recent" list are opened after a new version has been installed

When updating VS Code to a new version, VS Code will open all projects from the "Open Recent" list on restart.

I suspect hot-exit since I did not work in this area otherwise.

I think this was to do with not handling the case where hot exit is disabled correctly.

This may be different to the original issue but closing multiple windows at once now doesn't seem to clean up the workspaces correctly, the root cause is likely multiple renderer processes trying to save the same file https://github.com/Microsoft/vscode/issues/14056

Closing as the code has change quite a bit since then and the rest I believe is a duplicate of #14056. We'll be doing a little internal test at Redmond before I push which should verify this is fixed.


[3.x] Fix fragcolor write locations in scene shaders

This will need careful checking by @clayjohn as I'm not super familiar with all the parts of the scene shaders.
Fixes #91967
Discussion
In retrospect, I'm not totally surprised I got these in slightly the wrong place, the #ifdef arrangements especially in the scene shaders are very difficult to follow (manually). I would welcome suggestions for glsl editor that will follow them sensibly, geany can identify from opening, but not from closing. Other than that I'm relying on find_in_files.
What makes things particularly difficult is that the comments in the scene shaders appear to be out of sync:
// scene.glsl line 2464
#endif //RENDER_DEPTH //ubershader-runtime

presumably should be not RENDER_DEPTH.
This appears to have happened several times in the shaders because files originally contained e.g.
#ifdef RENDER_DEPTH
#endif // RENDER_DEPTH

then an #else was inserted, and the ending comment became incorrect.
I suspect these shaders could do with a second pass PR correcting these comments (I haven't done in the same PR as it seems two different problems).
Additionally, I worked out that RENDER_DEPTH seems actually for the z pre-pass and shadow maps. If so perhaps a better define would be RENDER_DEPTH_ONLY, because depth is also rendered during normal passes, so the define is confusing.
Also, //ubershader-runtime seems to be put on every closing #endif, and I have no idea why, perhaps I can figure out from the ubershader PR. :grin:

Fixed one last tweak neither of us noticed - the GLES2 change would have broken RGBA shadows because it never wrote to glFragColor in the very last section :blush: .
Have fixed this.

Thanks!


Login not Possible An error occured accessing AlexaAPI

Describe the bug
After updating to 0.113.0 HA no login possible:
 Protokolldetails ( ERROR )

Logger: alexapy.helpers
Source: custom_components/alexa_media/config_flow.py:181
First occurred: 18:31:39 (4 occurrences)
Last logged: 18:51:09

    alexalogin.login((<alexapy.alexalogin.AlexaLogin object at 0x7f9397eacb80>,), {'cookies': {'session-id': '262-37933', 'session-id-time': '2224824323l', 'ubid-acbde': '260-929609', 'x-acbde': 'nVVWqW7Cni7EOBWNp', 'at-acbde': 'Atza|IwEBIAS3sThiLpu7STtzgUMovddh7G8d8HTLauAVXiEKh9IHTbqR6dpoJU9M2I61oopC8dow1CHUWdrtNRpfjB6EqSF9', 'sess-at-acbde': 'dD4QBnWO9QsFhB3xq7haoxMHuDHb4G8E=', 'sst-acbde': 'Sst1|PQFpKq37oxA41IIgJLQ50BCsC1CFyaaJbqXG9zZD4H3e-ZmH0szuig9klQ2crwnXQeoZ4LfPDYA_ZQpoFVAPLlPHP7hxXsSyaKt0j2FsYcgTeeNNA9CWEaUoDbewESzw3hZuj-cwsxs-1H1MOdLRlUu00-FHVdPz20GsyMYw', 'csrf': '-1382469230'}}): An error occured accessing AlexaAPI: An exception of type CookieError occurred. Arguments: ("Attempt to set a reserved key 'SameSite'",)

To Reproduce
Steps to reproduce the behavior:

After deleting the integration and reinstalation no login is not possible with my account.
Attached what i get, abouve the error in HA Log.

Expected behavior
Login with my account, login into api works.
Screenshots
If applicable, add screenshots to help explain your problem.

System details

Home-assistant (version): 0.113.0
Hassio (Yes/No): 1.12.0 (Please note you may have to restart hassio 2-3 times to load the latest version of alexapy after an update. This looks like a HA bug).
alexa_media  (version from const.py or HA startup): 2.10.0
alexapy (version from pip show alexapy or HA startup):

Logs
Please provide logs. We'll be most likely asking for them anyway.
Additional context
I restartet HA and the VM many times....

Please enable logs per the link in the template.

2020-07-25 10:33:51 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Creating new login
2020-07-25 10:33:51 DEBUG (MainThread) [alexapy.alexalogin] Trying to load pickled cookie from file<EMAIL_ADDRESS>2020-07-25 10:33:51 DEBUG (MainThread) [alexapy.alexalogin] Trying to load aiohttpCookieJar to session
2020-07-25 10:33:51 DEBUG (MainThread) [alexapy.alexalogin] Loaded 8 cookies
2020-07-25 10:33:51 DEBUG (MainThread) [alexapy.alexalogin] Using cookies to log in
2020-07-25 10:33:52 ERROR (MainThread) [alexapy.helpers] alexalogin.login((<alexapy.alexalogin.AlexaLogin object at 0x7f45f2f5e0>,), {'cookies': {'session-id': '262-29-4337933', 'session-id-time': '2224824323l', 'ubid-acbde': '260-00-19609', 'x-acbde': 'nVVWqwn0bni7EOBWNp', 'at-acbde': 'Atza|IwEBIAS3sThiWhF3biEKh9IHTbqR6dpoJU9M2Kto-eBT3LSz83LXLLMdU0YY_S6EqSF9', 'sess-at-acbde': 'dD4QBnMHuDHb4G8E=', 'sst-acbde': 'Sst1|PQFpKq37oWVZcG_rOxOJ_FaJbZmH0szunXQeoZ4LfPDYA_ZQpoFVAPLlPHP7hxXsWEaUoDbewESzw3hZuj-cwsxs-1H1MYLJUIkrA8uu2scs-BWE-BzQvLu00-FHVdPz20GgegJnDM_2MgEbhJkRd5VMYw', 'csrf': '-1382469230'}}): An error occured accessing AlexaAPI: An exception of type CookieError occurred. Arguments:
("Attempt to set a reserved key 'SameSite'",)
2020-07-25 10:33:52 WARNING (MainThread) [custom_components.alexa_media.config_flow] Unknown error: Attempt to set a reserved key 'SameSite'

After deleting the cookie: cookie from file<EMAIL_ADDRESS>and pressed twice to login in integration alexa player it worked.
The Frist press for login was not throwing an error, the second succeed.

After deleting the cookie: cookie from file<EMAIL_ADDRESS>and pressed twice to login in integration alexa player it worked.
The Frist press for login was not throwing an error, the second succeed.

Thanks a lot.  Had the same error and tried for hours to login...:-)

Finally I found this thread, I was already desperately trying to login, thanks a lot


FizzBuzzwithRandom.py

using random.randint get a random integer between 1-100.

Thank you for your PR!
Unfortunately a solution similar to yours has already been submitted :/
The goal is to find creative/abstract new solutions to FizzBuzz.
Please consult the readme for more information and see The top 5 samples here.
Thanks anyway! :)


Plan development of portfolio

Now that all of the setup for work on the portfolio is complete, the major features and implementation roadmap should be roughly outlined in order to smoothly deploy progressive improvements to the portfolio.  Consider creating the following:

List of features to implement in order
Gantt Chart to show schedule

Wiki entry finished: https://github.com/strigiforme/portfolio/wiki/Development-Plan


Ticker package

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

29 of 29 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 90.582%

Totals

Change from base Build<PHONE_NUMBER>3:
0.2%

Covered Lines:
1308

Relevant Lines:
1444

💛  - Coveralls


document events + one alteration for consistency

document new leave and join events
alter the update event to use pass key instead of { key }

@andrewosh anything here we should port in?


HOTFIX: start embedded kafka in KafkaStreamsTest to avoid hanging

The KafkaStreamsTest can occasionally hang if the test doesn't run fast enough. This is due to there being no brokers available on the broker.urls provided to the StreamsConfig. The KafkaConsumer does a poll and blocks causing the test to never complete.

LGTM

Good catch, thanks @dguy !


Add files via upload

@UltimateBoi First stage of verification passed, official domain is centralfoundationboys.co.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@UltimateBoi First stage of verification passed, official domain is centralfoundationboys.co.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Thank you so much 👍🏼

@UltimateBoi Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Management database update

logstash-filter-geoip currently shipped with Maxmind CC license databases. As Maxmind change the license type, this PR implements the idea of automatic database update to let users run with a up-to-date proprietary EULA database and thus be compliant.
Online mode
By default, the plugin runs in online mode which manages the download, unzip, daily check, clean up jobs. The new database should be used on-the-fly and if the plugin failed to check update for 30 days, the pipeline of geoip will stop.  There is an ongoing discussion on OSS/ Basic handling and backward compatibility, so a follow-up PR on these topics is expected
geoip { }

Offline mode
Users can run in offline mode if they don't want the plugin to do the update job, which means users take ownership to manage the database. Logstash < 7.12 will fallback to offline mode regardless of database settings because of the dependency of Agent#stop_pipeline.
geoip {
  database => "PATH_TO_DATABASE_FILE"
}

Summary of changes

fix failed test cases
upgrade gradle for java 11, fix legacy script and warning
fix broken database download script
implement database manager

check update
download and unzip
manage metadata
schedule job
clean up old database
shut down pipeline
check OSS (ongoing discussion)
add backward compatibility (ongoing discussion)

Related issues
Logstash PR https://github.com/elastic/logstash/pull/12582
Meta https://github.com/elastic/logstash/issues/12560

This PR will split to three

fix plugin CI
GeoIP database service move to logstash core
plugin use logstash core to manage database


Update podspec swift_version to 5

WeakDictionary appears to convert to Swift 5 fine without any source changes.
However, the podspec says swift_version = '4.2'.
Can we either update the swift_version to 5, or create a Swift-5 branch where the podspec has swift_version set to 5?
I wish there was a way to override the swift_version of a pod from within a Podfile, but sadly there isn't.

I am sure you have probably moved on with your life by now but if you would like to submit a PR I would be happy to get this updated.


Add Advantech interface

Company Info

Company name: Advantech
Company website: https://www.advantech.com/
GitHub presence: https://github.com/ADVANTECH-Corp/

PnP Device Info

Product website: https://www.advantech.com/products/f84b671b-953b-4585-98df-15076256d5f0/ipc-240/mod_3b4f78b6-e39d-4d42-b7d2-00e3859ec089

Model Submission Goals

Device certification

Code Owners & Reserved Names

@paul53huang

@paul53huang  can you update the PR with the base branch?

Hi @rido-min I just update to the mean branch.
Thanks!


Errors not handled?

Thanks very much for this code. Reading it, I noticed these errors:

https://github.com/elitan/hasura-backend-plus/blob/01e6b1b5f8ae4a6fd43c484ec27169a2ccbc9138/src/auth/auth.js#L144
https://github.com/elitan/hasura-backend-plus/blob/01e6b1b5f8ae4a6fd43c484ec27169a2ccbc9138/src/auth/auth.js#L183

don't seem to be handled, like the error is handled at:
https://github.com/elitan/hasura-backend-plus/blob/01e6b1b5f8ae4a6fd43c484ec27169a2ccbc9138/src/auth/auth.js#L33

They should indeed. Thanks for pointing it out!


Run php-cs-fixer

This change is

Cs-fixer is already checked on each Pull Request. You're not using the module cs fixer configuration here. (https://github.com/PrestaShop/php-coding-standards)

I'm closing this pull request since this repository is following the https://github.com/PrestaShop/php-coding-standards cs-fixer./
Thanks @MathiasReker


Fixes an upgrade compatibility breakage for the BQ write transform

This fixes https://github.com/apache/beam/issues/30031.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

cc: @robertwb @kennknowles I used the new "UpdateCompatibilityVersion" option to fix a transform upgrade breakage in this PR. And I believe we can fix future upgrade breakages in a similar way. Lemme know if you think there's a better way to address this :).

assign set of reviewers

PTAL. Thanks.


2024 refresh

Update repo for up to python 3.12 and current dependencies.

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella: