Allow cops to invalidate results cache

Internally at Flexport, we've written a few cops to enforce Rails Engine isolation. They've helped us incrementally modularize our system, and we think they might be valuable to others too. I'm working to open source them now.
For example, GlobalModelAccessFromEngine (https://github.com/flexport/rubocop-flexport/pull/5) forbids code within Rails Engines from directly accessing global models in the main app/ directory. Another example is EngineApiBoundary (https://github.com/flexport/rubocop-flexport/pull/6).
(Note: we considered upstream these to rubocop-rails, and @koic suggested we create our gem instead: https://github.com/rubocop-hq/rubocop-rails/pull/152#issuecomment-554839724)
These cops read from the filesystem, taking a holistic view of our codebase while they inspect. Unfortunately, this approach does not play nice with the RuboCop results cache. As a workaround, we created a custom lint.rb that wraps rubocop and busts the cache when needed using the --cache param. It works ok.
But it's not ideal, especially for broader use. This PR aims to fix the issue at its source by allowing cops themselves to invalidate the cache.
Example
Consider the following example:
(1) A filesystem contains these files:
app/models/my_model.rb
engines/my_engine/app/services/my_engine/my_service.rb

(2) We run rubocop engines/my_engine/app/services/my_engine/my_service.rb and find a violation -- service.rb contains MyModel.find(123).
(2b) During that run, a cached result is stored, keyed by: the inspected source code, the RuboCop config, command-line options, and executable version.
(3) We run the same command again. Cache is hit, same violation shown. All good.
(4) We move the model file into the engine. So now app/models/my_model.rb no longer exists and we have engines/my_engine/app/models/my_engine/my_model.rb.
(5) We run the same RuboCop command again. Because none of the cache key inputs changed, the same violation is shown again. This is incorrect.
(6) We run the same command again with --cache false and see that the violation no longer exists. This is correct.
Implementation overview
This PR allows cops to define an external_dependency_checksum method that busts the cache when their external dependencies change. Cops are responsible for computing their own checksum however they deem appropriate.
Among existing cops, I believe there are no use cases for this method. For the cops we've written, there are two types of external dependencies: (1) the presence or absence of certain files and/or (2) the contents of certain files.
Discussion
I recognize that this is perhaps an unusual use case for RuboCop. As an alternative, we could create our own repo with these cache-unfriendly cops and package them with a custom runner script that does cache busting inside the script. But that seems suboptimal. And I suspect other cops may make use of this feature in the future as well.
Feedback welcome! Thanks!

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

I'm fine with the proposed solution, but I'll defer to @jonas054 to evaluate the implementation.

Here's a blog post that goes into more detail about the Rails Engine cops mentioned in the PR description:
https://flexport.engineering/isolating-rails-engines-with-rubocop-210feaba3164
When this is merged, I will be able to full upstream those cops. Thanks!

Thanks!


invalid package url type: dotnet

Testing out capabilities on a small .NET test repo. The detector is finding a deps.json and reporting package type as dotnet ... should be nuget?

Submission API requires a PURL type

package_urlstring - Package-url (PURL) of dependency. See https://github.com/package-url/purl-spec for more details.

Purl Type nuget

Config
      - uses: anchore/sbom-action@v0
        if: runner.os != 'Windows'
        with:
          path: .
          dependency-snapshot: true

Logs showing the errror:
  "data": {
    "message": "invalid package url: in manifest \"ProCodeGuide.Samples.Automapper/bin/Debug/netcoreapp3.1/ProCodeGuide.Samples.Automapper.deps.json\" decoding<EMAIL_ADDRESS>invalid package url type: dotnet",
    "documentation_url": "https://docs.github.com/rest/reference/dependency-graph#create-a-snapshot-of-dependencies-for-a-repository"
  }

@felickz @kzantow I believe that we are experiencing the same / a very similar issue. Running anchore/sbom action with dependency submission via dependency-snapshot: true as a reusable job:
  dependency-submission:
    name: syft / dependency review
    runs-on: ubuntu-latest
    permissions:
      packages: read
      contents: write
    steps:
    - name: Login with registry
      if: inputs.registry != ''
      uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
      with:
        registry: ${{ inputs.registry }}
        username: ${{ inputs.repo_owner }}
        password: ${{ inputs.repo_token }}
    - name: Run
      uses: anchore/sbom-action@07978da4bdb4faa726e52dfc6b1bed63d4b56479 # v0.13.3
      with:
        image: ${{ inputs.image }}
        format: cyclonedx-json
        dependency-snapshot: true

This fails with: "invalid package url: in manifest \"docker.io/securesystemsengineering/connaisseur:v2.8.0:/bin/busybox\" decoding \"\": scheme is missing"

Complete log
```bash
Error uploading depdendency snapshot: {
  "url": "https://api.github.com/repos/xopham/connaisseur/dependency-graph/snapshots",
  "status": 422,
  "headers": {
    "access-control-allow-origin": "*",
    "access-control-expose-headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
    "connection": "close",
    "content-length": "279",
    "content-security-policy": "default-src 'none'",
    "content-type": "application/json; charset=utf-8",
    "date": "Mon, 27 Feb 2023 23:13:49 GMT",
    "referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
    "server": "GitHub.com",
    "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
    "vary": "Accept-Encoding, Accept, X-Requested-With",
    "x-content-type-options": "nosniff",
    "x-frame-options": "deny",
    "x-github-api-version-selected": "2022-11-28",
    "x-github-media-type": "github.v3; format=json",
    "x-github-request-id": "4410:2CE3:6E44F35:E35EE2B:63FD392D",
    "x-ratelimit-limit": "100",
    "x-ratelimit-remaining": "99",
    "x-ratelimit-reset": "1677539689",
    "x-ratelimit-resource": "dependency_snapshots",
    "x-ratelimit-used": "1",
    "x-xss-protection": "0"
  },
  "data": {
    "message": "invalid package url: in manifest \"docker.io/securesystemsengineering/connaisseur:v2.8.0:/bin/busybox\" decoding \"\": scheme is missing",
    "documentation_url": "https://docs.github.com/rest/reference/dependency-graph#create-a-snapshot-of-dependencies-for-a-repository"
  }
}
```

Great work by the way! Really enjoying the new anchore tooling :rocket:

We are exploring using Syft along with the Dependency track on a dotnet project. For the package URL "pkg:dotnet/xxxxxx ", the dependency tracker does not show any results.
If I correct the package URL to "pkg:nuget/xxxxxx" the dependency tracker lists associated vulnerabilities.
It seems Syft generated SBOMS are having wrong package URL "pkg:dotnet/xxxxxx " instead of "pkg:nuget/xxxxxx" .


add scanners and inventory report for dns information

using forseti version 2.5

I can run the following gcloud cli commands to see DNS details - can these be collected and reported on by forseti?
The inventory report should include:

count of managed zones
count of zones with "state" = on <-- this indicates DNSSEC is enabled
count of zones with "state" = off <-- this indicates DNSSEC is NOT enabled

$ gcloud dns managed-zones list
NAME  DNS_NAME   DESCRIPTION
vzxy  vzxy.net.  VZXY Network Domain
Then for each managed zone we need to collect the details with the "describe" command
$ gcloud dns managed-zones describe vzxy
creationTime: '2018-10-05T21:53:09.649Z'
description: VZXY Network Domain
dnsName: vzxy.net.
dnssecConfig:
defaultKeySpecs:

algorithm: rsasha256
keyLength: 2048
keyType: keySigning
kind: dns#dnsKeySpec
algorithm: rsasha256
keyLength: 1024
keyType: zoneSigning
kind: dns#dnsKeySpec
kind: dns#managedZoneDnsSecConfig
nonExistence: nsec3
state: on
id: '1605086928118992716'
kind: dns#managedZone
name: vzxy
nameServers:
ns-cloud-a1.googledomains.com.
ns-cloud-a2.googledomains.com.
ns-cloud-a3.googledomains.com.
ns-cloud-a4.googledomains.com.

Per our discussion last week, you guys would contributing here. We have assigned Hannah from the Forseti team to guide you.

Note that this data is included in the 2.5+ inventory when CAI is enabled. It is not pulled into the Inventory when CAI is not enabled for an organization.

CAI is enabled by default so the inventory is already collected and including this information.  We only need here.  We will make a new issue for the inventory report and then there will be 2 pull requests - one for each issue.
Writing the new involves a few steps:

collect the inventory data in JSON format - done
import data from inventory to data model - updating "importer.py" to include specific data desired for the scanner (DNS) - done - need to verify
create "dnssec_scanner.py" that will query the data model for information user
create "dnssec_rules_engine.py"
scanner "dnssec_rules.yaml" is one part of this request - we will also need to create a unit test python file.

This issue is stale and has not had any recent activity. If this is still a concern please reopen the issue. Thanks!


Fixed flash memory map for F72XXX chip_id

The F722RE uses the same flash memory map as 512kB flash f4 series. Without these changes the flash would be erased in pages of 2048bytes, rather than the full 16/64/128kb blocks on the hardware.
All the F72x and F73x devices have this same memory layout, so should be fixed by this commit.

Sorry for the late reply, but looks good. Thank you!


Document default creds

This documents the default login creds for the ubuntu and centos images in a README.md file in the appropriate directory.
This addresses #59

Merged, thanks!


Make the tests stable

This fixes #237, building on top of #236.
This change is very simple, just fixes a Karma config bug (arguably a Karma bug, see karma-runner/karma#2505), brings in the new resin-request and puts resin-io-modules/resin-request#78 and resin-io-modules/resin-request#79 to use.
End result is that we now output some debug info during the tests about the requests being made, and retry failing requests. The debug output is just so we can debug this better if it does start to go wrong later - it's a bit noisy for now, but we can remove it soon once we're sure this change makes the tests stable.

I see the following in the CI server logs:
{ Error: ENOENT: no such file or directory, open '.env'
  at Error (native)
  at Object.fs.openSync (fs.js:640:18)
  at Object.fs.readFileSync (fs.js:508:33)
  at Object.config (/home/travis/build/resin-io/resin-sdk/node_modules/dotenv/lib/main.js:30:37)
  at exports.loadEnv (/home/travis/build/resin-io/resin-sdk/tests/util.coffee:2:20)
  at module.exports (/home/travis/build/resin-io/resin-sdk/karma.conf.coffee:6:2)
  at Object.parseConfig (/home/travis/build/resin-io/resin-sdk/node_modules/karma/lib/config.js:377:5)
  at new Server (/home/travis/build/resin-io/resin-sdk/node_modules/karma/lib/server.js:56:20)
  at Object.exports.run (/home/travis/build/resin-io/resin-sdk/node_modules/karma/lib/cli.js:280:7)
  at Object.<anonymous> (/home/travis/build/resin-io/resin-sdk/node_modules/karma/bin/karma:3:23)
  at Module._compile (module.js:570:32)
  at Object.Module._extensions..js (module.js:579:10)
  at Module.load (module.js:487:32)
  at tryModuleLoad (module.js:446:12)
  at Function.Module._load (module.js:438:3)
  at Module.runMain (module.js:604:10)
  at run (bootstrap_node.js:394:7)
  at startup (bootstrap_node.js:149:9)
  at bootstrap_node.js:509:3
 errno: -2, code: 'ENOENT', syscall: 'open', path: '.env' }

Is that expected?

Notice that the debug logs are currently causing the authentication token to be printed in the CI servers, which means that anyone looking can get access to our testing accounts.

Can you edit the PR and make a PR to my branch please?

I see the following in the CI server logs:

Heh, it's because of dotenv module. I didn't expect it to do so and expected it to silently do nothing if the env file is missing. And also I didn't see this message before.

@emirotin Base branch changed.
@jviotti Yes, you're right, that's not good.
What should we do about this? Since it does initially look like this is now stable I'm no longer that worried about further debugging, so I could turn debugging off, and we can change the password. That doesn't totally solve the preexisting problem though - presumably anybody could submit a PR to this project that turns on debug, and immediately grab any new password we use?

@pimterry PRs from forks will not have access to the secure environment variables we put in the CI servers, and we can safely trust people with write access to these repos (whose PRs can read the secure environment variables), since they are the resin.io team.

Let's remove debug from this PR, merge it (it just goes to my branch), then figure out how to hide the token from the debug output.

Ah, and also wrap the dotenev.config in try/catch probably?

Hm, it shouldn't actually throw, it should be a warning, and

Dotenv outputs a warning to your console if missing a .env file. Suppress this warning using silent.
require('dotenv').config({silent: true});

Debug removed, dotenv silenced.

Also @jviotti you're totally right about the hiding secure vars thing for Travis, but the docs for Appveyor don't mention anything about that. They make it sound like it's all PRs or none for them, and you should only turn on vars in PRs for private repos: https://www.appveyor.com/docs/build-configuration/#secure-variables. Haven't tested though, is it just that the docs don't tell the whole story?

@pimterry Looks like a docs-induced confusion :) I use secure env vars in Appveyor for some projects, and under settings, I see:

Which is exactly what we need.

CI tests seem to be hung? No activity in Travis

Not sure why Travis has hung, but it's queued in their infrastructure, not our code, so there's not much we can do. We're in the queue. There were a few pushes in quick succession for this, and for each one we seem to trigger two builds (the push on the branch and the PR itself), on both Travis & Appveyor, each of which runs two jobs (for two node versions), each of which runs the entire test suite for Node and the Browser, twice (because of prepublish). They're currently taking 50+ minutes, per job, so our backlog might take a while.
I could kill jobs for all commits but the very latest batch, but I quite want to let the builds all run, just to confirm they're definitely now stable.
I'm not sure why we're notifying on branches and PRs and duplicating these builds. Could we stop doing that?
It'd also be good to find a way to not run the whole 20 minute test suite twice with each build (as discussed on Flowdoc). Sounds like that's not practical for now, but we need to be a little careful - if the builds go from the current ~50 minutes to 60 then we'll hit the Travis time limit, and the builds won't run at all.

Interestingly, one of the builds has failed: https://ci.appveyor.com/project/resin-io/resin-sdk/build/1.0.938/job/4w6t2nxcoxtcyg4g#L2414. No longer because of ETIMEDOUT, but because:
PhantomJS 2.1.1 (Windows 8 0.0.0) SDK Integration Tests given a logged in fresh user given a single application with two offline devices that share the same uuid root "before each" hook for "should be rejected with an error if there is an ambiguation between shorter uuids" FAILED
Request error: Data is referenced by uuid.
c:/Users/appveyor/AppData/Local/Temp/1/node_modules/resin-request/build/request.js:160:0

I'm pretty sure I actually know what this is: I'm running tests locally, and that test just failed randomly for me too, I think because it uses fixed device uuids.
Presumably device uuids must be unique across all devices, not just per-user? That would mean these tests will fail if anybody happens to be running those same few tests at the same time anywhere, which isn't great. Separate to the ETIMEDOUT issue, and unlikely to come up often normally, but still pretty messy.

Yeah, tests are not isolated and it's not great at all. Ideally we'd like to run each of them against of a separate fresh DB :(
UUIDs should be globally unique, and it looks like the tests try to delete a record that's FKed by something else.

UUIDs should be globally unique, and it looks like the tests try to delete a record that's FKed by something else.

Autogenerated ones will be, but the test explicitly provides fixed UUIDs: https://github.com/resin-io/resin-sdk/blob/af90835dee327bb450239bc768aeea56b09cdc6d/tests/integration.spec.coffee#L1129-L1130. I was assuming that that's why they're conflicting: both create the same device, and end up failing at some point because of the existing FK relationships (not sure where, maybe when you create new a device with an existing UUID but within a different application it explodes? Sounds like it should imo). Does that sound plausible?
I think we can find a way to isolate these though, at the cost of some extra complexity (assuming the above is right). I'll take a look tomorrow - let me know if I'm totally off track or if this isn't worth fixing.

The "data is referenced" is when you try to delete as far as I remember, but maybe it's also thrown when you violate the unique constraint? @Page- any ideas?
Generally, we could just generate a unique session ID and prepend it to every unique field we inject into the DB.
I'll merge this one now into my branch.

The "data is referenced" is when you try to delete something that is referenced by a foreign key, as far as I'm aware that's the only case


Fix for Windows FileStore issue NIFI-3579

this fixes NIFI-3579.

@mosermw  Incorporated your comments. please review. Once your review is approved , @joewitt or any other committer can help to get that merged.

+1 looks good, passes checkstyle, runs in NiFi on Windows when creating content_repository on startup and when it already exists.  I will squash and merge to master.  Thanks @PuspenduBanerjee

sure. I shall modify those and check in back.
Thanks & Regards,
Puspendu Banerjee
On Thu, Mar 16, 2017 at 11:59 AM, Michael Moser<EMAIL_ADDRESS>wrote:

@mosermw commented on this pull request.
In nifi-nar-bundles/nifi-framework-bundle/nifi-
framework/nifi-framework-core/src/main/java/org/apache/nifi/
controller/repository/FileSystemRepository.java
https://github.com/apache/nifi/pull/1580#discussion_r106473572:

@@ -392,8 +399,11 @@ public long getContainerUsableSpace(String containerName) throws IOException {
if (path == null) {
throw new IllegalArgumentException("No container exists with name " + containerName);
}

   return Files.getFileStore(path).getUsableSpace();

   long usableSpace=path.toFile().getUsableSpace();

   if(usableSpace==0) {

       throw new RuntimeException("System returned usable space of the partition for " + containerName + " is zero byte. Nifi can not create a zero sized FileSystemRepository");

Hi @PuspenduBanerjee https://github.com/PuspenduBanerjee, since
getContainerCapacity() and getContainerUsableSpace() are public methods, I
would prefer that we try to maintain their existing contract. I would
prefer to avoid even an extremely small chance of a RuntimeException.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/nifi/pull/1580#discussion_r106473572, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE2raFwemv-xHZFjHDmD_HfPuAoGZvW4ks5rmWpegaJpZM4MXrCF
.

@mosermw & @markap14 please look into the updated [PR#1602|https://github.com/apache/nifi/pull/1602]


Can't run on Welgl and Mobile

When i run your example project on editor,it's ok.
But when i build to webgl or apk file,it run not ok.

It can not open deeplink in webgl.
Also on mobile,it can not authen by browser,alway error.
Do i need to do more?
And more question : how to get {{SCHEMA}}://{YOUR_APP_PACKAGE_NAME}://auth
Thanks!

I am also facing this problem, have you found any workaround?

Hi @mubashar1199  @hiephn , We have added WebGL support in recent version, please check it out.


feat(cli): Added an --all flag to meltano state clear to delete all state IDs

Description

This PR introduces a feature allowing users to clear all states with the --all argument in meltano state clear command.
Design

state.clear_state to take in an extra argument --all.
state-id argument has become optional. However, user is prompted to serve one of either --all or state-id, and not both.
state_service.clear_all_states has been added that gets all state_ids and calls state_store_manager.clear() on all state_ids.
TestCliState.test_clear_all added to test this new functionality

To-Do:

[x] add a default clear_all() implementation in the base StateStoreManage
Eventually, clear_all() will be implemented in all StateStoreManagers to bulk delete the states.
[ ] Address errors in https://results.pre-commit.ci/run/github/378997214/1726756744.X8yggwgrQWKXwLLkifo0_w

Related Issues

Closes #8749

Thanks for getting this started @fauzxan!

@fauzxan let me know if you're still interested in moving forward with this PR

@all-contributors
please add @fauzxan for code.


Publish *.ts source?

(I'm .ts noob)
For any package when using editor (vscode) features such as jump to source, it currently opens published, generated *t.ts file within the package in node_modules because the *.ts file does not seem to be published? This means to see the inner workings I must have downloaded the source repo of any library and manually track down the source code. If I'm wrong here I'd appreciate any advice on how to get this to work and apologize for the noise.
https://github.com/Microsoft/TypeScript/issues/12358#issuecomment-261671260

Publishing only *.js + *.d.ts declarations is indeed the official guidance I've been following so far, but I too have occasionally struggled with the jump-to-source, but don't know how to work around it. Of course, I do have the source repo available, but when I need to check something in 95% of the cases I also just use either the .d.ts or the .js file for reference...


Version number mismatch

In the Using the Setup Wizard section the versions are not consistent - some are 9.9.0 and some are 9.9.1. In any case, the current version is 9.10.
It would be better not to reference the version number.
To be honest, the instructions are overly verbose - any competent enough to use Azure is not going to need a step by step instruction on clicking buttons on a Wizard.

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

ID: b1a589a2-216e-0dd3-e8ee-be57eccd5a8c
Version Independent ID: 90b09859-20d6-2efc-2f9f-62af0c63c366
Content: How to upgrade the Azure Monitor for VMs Dependency agent - Azure Monitor
Content Source: articles/azure-monitor/insights/vminsights-dependency-agent-maintenance.md
Service: azure-monitor
GitHub Login: @bwren
Microsoft Alias: bwren

Sorry for delay, I was checking with original author on this. We updated the article to just instruct user to follow the wizard for uninstall of old and install of new. Agree that there's really no reason to specify exact version numbers here.
#please-close


How to deploy client to subdirectory? https://subdomain.domain.com/subdirectory

Discussed in https://github.com/WongSaang/chatgpt-ui/discussions/223

Originally posted by rexeo-asia June 17, 2023
Reason:
I have a common domain: https://subdomain.domain.com/subdirectory, and each subdirectory is a reverse proxy of another app server machine across my on premise office. I've tried ask GPT3.5 for help but unable to do so
if react can refer like this: https://skryvets.com/blog/2018/09/20/an-elegant-solution-of-deploying-react-app-into-a-subdirectory/
but for nuxt3, I did try add /subdirectory/ to app.baseUrl and it work to serve the pages, however the django APIs(/api/**) messed up, any pointers?


Transpile esm output too

We're unable to upgrade fuse.js without these changes, could this be merged or at least looked at again?

@krisk this is the PR following #381

+1 I'd also like to see if this helps the IE compilation issues.
In the meantime, we are importing the common build instead which seems to be working ok. Slightly larger bundle size, but functional.

+1 this will fix the IE11 problem, verified it just with https://github.com/JulianH/Fuse/tree/fix-babelrc-for-ie11-object-spread

Still an issue in the 6.0.0 release. Would like to upgrade, but can't until the IE compatibility is addressed.

thanks for the PR, this will also address issues on firefox 52.

Not transpiling object spreads properly is breaking our IE11 & Microsoft Edge (non-Chromium) builds too. Would be great to get this merged and released!

Would be nice to have this fix in the next release.


Coders

Would be great to have encoders decoders in this package. PR welcome?

PR's are always welcome! Could you explain what you plan to implement?

Just an object with before, current, after.


Extended the functionality of TemplateFinder by adding an internal _s…

…earch_all_internal function that returns a list and takes a _SearchType param:

FIRST_MATCH: returns after a match is found (default); uses the current implementation in the search function
BEST_MATCH: returns the best out of all matches; uses the current implementation in the search function
ALL_MATCH: returns all the matches; implemented by removing the current result after each match

Replaced the implementation of the search function with an appropriate call to _search_all_internal.
Added a new function search_all that delegates its work to _search_all_internal.
The Anya / Drognan shopper search calls were replaced with search_all calls.
Updated gitignore to include the IntelliJ generated files.

Closed by #781 , thanks again for your help with this!


Update istio/proxy for 1.1rc4

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: duderino
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
If they are not already assigned, you can assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@duderino: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@duderino: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-unit-tests

prow/istio-integ-local-tests.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-integ-local-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@duderino: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-unit-tests

prow/istio-integ-local-tests.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-integ-local-tests

prow/istio-presubmit.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@duderino: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-unit-tests

prow/istio-integ-local-tests.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-integ-local-tests

prow/istio-presubmit.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-presubmit

prow/istio-integ-k8s-tests.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

The failures mean I have to wait a while (several hours) because the proxy images have not been synced to storage.googleapis yet.
Downloading envoy debug artifact: curl -fLSs https://storage.googleapis.com/istio-build/proxy/envoy-debug-8ddb2aab27a5d311adf81995f998df62e4c0e885.tar.gz
curl: (22) The requested URL returned error: 404

@linsun: changing LGTM is restricted to assignees, and assigning you to the PR failed.

In response to this:

/lgtm
validated the SHA

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: duderino, linsun
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/retest

@duderino: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@duderino: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
7fa2d33b8efe8f246a102283791ee7db1a9a7f67
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

  Looks like a rare flake.  https://circleci.com/gh/istio/istio/348356

Filed https://github.com/istio/istio/issues/12431 for the second flake


LibWeb+LibGfx: Small (un)premultiplied color data tweaks for SkiaPainter and ImageData

Fixes #1104
Before/after:

This change makes images look great :^)


Add yubozhao to member in the org.yaml

Hello all,
I would love to join the kubeflow project and continue to contribute to the community.
I added a model serving example for the Kubeflow website at:
https://github.com/kubeflow/website/pull/1927
And continue to update it at:
https://github.com/kubeflow/website/pull/3408
Help facilitate the BentoML contribution to the kubeflow manifest repo:
https://github.com/kubeflow/manifests/pull/2350
My sponsors are:
@DomFleischmann @jbottum
Output from the pytest result:
=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.10.4, pytest-7.2.1, pluggy-1.0.0
rootdir: /workspaces/internal-acls/github-orgs
plugins: anyio-3.6.2
collected 1 item

test_org_yaml.py .                                                                                [100%]

================================================================================================ 1 passed in 0.33s ================================================================================================

Please follow https://github.com/kubeflow/internal-acls#joining-kubeflow-github-organization

@chensun Thank you for the instructions and sorry for the delay.
I have updated the PR's description based on the requirements.  Let me know anything I can do to move this forward

@DomFleischmann Thank you for sponsoring me!

@yubozhao Thanks for updating the description, I'll approve and merge the PR. However, the change won't be effective until  https://github.com/kubeflow/internal-acls/issues/587 is resolved.
/lgtm
/approve


document supported env vars for Azure client in README

[x] I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested
Got feedback that it is hard to find the supported environment variables for Azure. This adds them next to the AzureOpenAI additional options in the README.
Additional context & links

@rattrayalex thank you so much!


Add longStackSupport into $Q

Original kriskowal/q have perfect debuging mode named "longStackSupport". It allows having good stacktraces while debugging Promises.
Such new feature in angular will be extremely helpful in debugging promises chains.
See https://github.com/kriskowal/q/wiki/API-Reference and other resources for details.

It may be that zone.js could help here. @btford do you have a view on this?


added BaseUri parameters

Fixes https://github.com/RamblingCookieMonster/RabbitMQTools/issues/36

good catch, thanks!


[Watson][8d066343-9359-438f-c471-09862b3d0224]CLR_EXCEPTION_System.InvalidOperationException_80131509_PresentationFramework.dll! System.Windows.Window.VerifyCanShow

Generated issue from Watson
Watson Link:  https://watsonportal.microsoft.com/Failure?FailureSearchText=8d066343-9359-438f-c471-09862b3d0224
ADO Link: https://microsoft.visualstudio.com/DefaultCollection/OS/_workitems#id=3689506&triage=true&fullScreen=true&_a=edit
Process: powerlauncher.exe
presentationframework.dll

Doesn't look specific to our application.  Not immediately actionable.

no us


Issues installing with composer require

It is quite probable that this is due to my incompetence with composer and apologies in advance if it is the case.
I tried installing this project with composer using:
composer require yswery/dns

The output is:
Using version ^1.0 for yswery/dns
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 11 installs, 0 updates, 0 removals
  - Installing symfony/event-dispatcher (v4.1.7): Loading from cache
  - Installing react/promise (v2.7.0): Loading from cache
  - Installing evenement/evenement (v3.0.1): Loading from cache
  - Installing react/event-loop (v1.0.0): Loading from cache
  - Installing react/stream (v1.0.0): Loading from cache
  - Installing react/promise-timer (v1.5.0): Loading from cache
  - Installing react/cache (v0.5.0): Loading from cache
  - Installing react/dns (v0.4.16): Loading from cache
  - Installing react/datagram (v1.4.0): Loading from cache
  - Installing react/socket (v0.8.12): Loading from cache
  - Installing yswery/dns (v1.0): Loading from cache
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/event-dispatcher suggests installing symfony/http-kernel ()
react/event-loop suggests installing ext-event (~1.0 for ExtEventLoop)
Writing lock file
Generating autoload files

Then, I tried to run the example script that comes with the project (I edited the autoload.php path), using:
php vendor/yswery/dns/example/example.php

This fails with:
PHP Fatal error:  Class 'Psr\Log\AbstractLogger' not found in /home/nikos/vendor/yswery/dns/src/EchoLogger.php on line 22

I then deleted everything and git-cloned this repo, and run from inside the project folder composer install. That installed a whole lot more packages and example.php succeeded.
Am I doing sth wrong?

It seems to be a quirk with how Composer resolves dependencies. psr/log was not explicitly required by composer.json but came along with symfony/event-dispatcher as a dependency of a dependency. This does not seem to be a problem if you are cloning the repo, only if you are installing using composer. This next push will fix it.

@tterranigma - Thanks for the issue, this has been fixed in v1.0.1

Alright! Is there a delay for it to appear on packagist?


Editor viewport global_canvas_transform auto reset when mouse hover on viewport

Godot version
3.4.2 stable[45eaa2daf] steam version
System information
windows 10
Issue description
When use set_global_canvas_transform() on editor viewport,  the editor viewport transform immediately

But when any input(keyboard pressed, or mouse hovered on canvas editor), it will be reset as before. And the transform only change the item on canvas but not the hints( grids, axis..etc)
Steps to reproduce
Add a tool script then call
get_tree().edited_scene_root.get_viewport().set_global_canvas_transform()
Minimal reproduction project
EditorCanvasTransform.zip

Finally I figure it out that you cannot change canvas item editor position by set the viewport's global_canvas_transform. I think the document should be point it out maybe.
For anyone who wants change editor center by code:
`#--------------------------------------------
#Canvas Item Editor hierarchy
#--Control
--ViewportContainer
--Viewport(edit_scene_root viewport)
--CanvasItemEditorViewport
--HScrollBar(CanvasItem Editor scrollbar)
--VScrollBar(CanvasItem Editor scrollbar)
--VBoxContainer
--VBoxContainer
#--------------------------------------------
func set_editor_centor(var _center: Vector2):#set editor 2d center
var v = get_tree().edited_scene_root.get_viewport()
var t = v.global_canvas_transform
var s = t.get_scale()
var _center_offset = (v.size/s.x)/2#canvas editor center offset
_center = _center - _center_offset
var p = v.get_parent().get_parent()
for i in p.get_children():
	print(i.get_class())
	if i.get_class() == "CanvasItemEditorViewport":
		for j in i.get_children():
			if j.get_class() == "HScrollBar":
				j.set_value(_center.x)
			elif j.get_class() == "VScrollBar":
				j.set_value(_center.y)`

See also https://github.com/godotengine/godot-proposals/issues/1302.

Reopening. #68696 was merged and changing global_canvas_transform is supposedly the recommended way to access canvas transform (and modify it). However this issue still persists.
Not sure how it should be solved.

In the meantime, here's a more robust solution for setting both zoom and position:
var editor = EditorInterface.get_base_control().find_child("@CanvasItemEditorViewport*", true, false)

var zoomer = editor.find_child("@EditorZoomWidget*", true, false)
zoomer.set_zoom(zoom)
zoomer.zoom_changed.emit(zoom)

var scroll = editor.find_child("@HScrollBar*", true, false)
scroll.value = pos.x
scroll = editor.find_child("@VScrollBar*", true, false)
scroll.value = pos.y


Support gateway

I don't want to use gateway in nodejs, I want to use it directly in rust, hoping to be supported.

A rust version of federation?

Why don't you make one yourself? I will consider it if you are willing to pay!


Failed to find GaudiAlgLib and GaudiKernel when building k4FWCore with my own Gaudi v35

Hi all,
When I build k4FWCore using the key4hep nightlies, there is no problem.
But when I switch to use Gaudi v35 built based on LCG98python3, the problem happens (please see below).

Following is the configure stage, there is no error:

[lint@lxslc709]$ mkdir k4FWCore-build
[lint@lxslc709]$ cd k4FWCore-build/
[lint@lxslc709]$ cmake ../k4FWCore
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0-cebb0/x86_64-centos7/bin/gcc
-- Check for working C compiler: /cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0-cebb0/x86_64-centos7/bin/gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0-cebb0/x86_64-centos7/bin/g++
-- Check for working CXX compiler: /cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0-cebb0/x86_64-centos7/bin/g++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found Python: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/bin/python3.7 (found suitable version "3.7.6", minimum required is "3.7") found components: Interpreter Development
-- Found ROOT: /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/cmake (found version 6.22.00)
-- Found TBB: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/include (found version "2020.2.11102.2") found components: tbb malloc malloc_proxy
-- Found UUID: /usr/include
--   Import target: UUID::uuid
-- Found ZLIB: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/lib/libz.so (found suitable version "1.2.11", minimum required is "1.2.11")
-- Found Rangev3: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/include
--   Import target: Rangev3::rangev3
-- Found cppgsl: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/include
--   Import target: cppgsl::cppgsl
-- Found nlohmann_json: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.6.1")
-- Found AIDA: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/src/cpp
--   Import target: AIDA::aida
-- Found XercesC: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/lib/libxerces-c.so (found version "3.2.3")
-- Found HepPDT: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/include
--   Import target: HepPDT::heppdt
-- Found CppUnit: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/include
--   Import target: CppUnit::cppunit
-- Found unwind: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/include
--   Import target: unwind::unwind
-- Found gperftools: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/include (found suitable version "2.7.0", minimum required is "2.7.0")
--   found components: gperftools tcmalloc tcmalloc_debug tcmalloc_and_profiler tcmalloc_minimal profiler
--   Import executable target: gperftools::pprof
-- Found Doxygen: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/bin/doxygen (found suitable version "1.8.15", minimum required is "1.8.15") found components: doxygen dot
-- Found jemalloc: /cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/lib/libjemalloc.so
--   Import target: jemalloc::jemalloc
-- Found Gaudi: /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/Gaudi/lib/cmake/Gaudi (found version 35.0)
-- Found podio: /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/podio/lib64/cmake/podio/podioConfig.cmake
-- Found EDM4HEP: /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/EDM4hep/lib64/cmake/EDM4HEP/EDM4HEPConfig.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build

Following is the make stage with VERBOSE=1:

[lint@lxslc709]$ make VERBOSE=1
/cvmfs/sft.cern.ch/lcg/releases/CMake/3.17.3-75516/x86_64-centos7-gcc8-opt/bin/cmake -S/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore -B/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build --check-build-system CMakeFiles/Makefile.cmake 0
/cvmfs/sft.cern.ch/lcg/releases/CMake/3.17.3-75516/x86_64-centos7-gcc8-opt/bin/cmake -E cmake_progress_start /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/CMakeFiles /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build'
make  -f k4FWCore/CMakeFiles/k4FWCore.dir/build.make k4FWCore/CMakeFiles/k4FWCore.dir/depend
make[2]: Entering directory `/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build'
cd /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build && /cvmfs/sft.cern.ch/lcg/releases/CMake/3.17.3-75516/x86_64-centos7-gcc8-opt/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore/k4FWCore /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/k4FWCore /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/k4FWCore/CMakeFiles/k4FWCore.dir/DependInfo.cmake --color=
Dependee "/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/k4FWCore/CMakeFiles/k4FWCore.dir/DependInfo.cmake" is newer than depender "/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/k4FWCore/CMakeFiles/k4FWCore.dir/depend.internal".
Dependee "/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/k4FWCore/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/k4FWCore/CMakeFiles/k4FWCore.dir/depend.internal".
Scanning dependencies of target k4FWCore
make[2]: Leaving directory `/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build'
make  -f k4FWCore/CMakeFiles/k4FWCore.dir/build.make k4FWCore/CMakeFiles/k4FWCore.dir/build
make[2]: Entering directory `/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build'
[  7%] Building CXX object k4FWCore/CMakeFiles/k4FWCore.dir/src/PodioDataSvc.cpp.o
cd /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/k4FWCore && /cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0-cebb0/x86_64-centos7/bin/g++  -Dk4FWCore_EXPORTS -I/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore/k4FWCore/include -isystem /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/podio/include -isystem /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/include  -fPIC   -std=gnu++17 -o CMakeFiles/k4FWCore.dir/src/PodioDataSvc.cpp.o -c /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore/k4FWCore/src/PodioDataSvc.cpp
[ 14%] Building CXX object k4FWCore/CMakeFiles/k4FWCore.dir/src/KeepDropSwitch.cpp.o
cd /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/k4FWCore && /cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0-cebb0/x86_64-centos7/bin/g++  -Dk4FWCore_EXPORTS -I/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore/k4FWCore/include -isystem /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/podio/include -isystem /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/include  -fPIC   -std=gnu++17 -o CMakeFiles/k4FWCore.dir/src/KeepDropSwitch.cpp.o -c /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore/k4FWCore/src/KeepDropSwitch.cpp
[ 21%] Linking CXX shared library libk4FWCore.so
cd /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/k4FWCore && /cvmfs/sft.cern.ch/lcg/releases/CMake/3.17.3-75516/x86_64-centos7-gcc8-opt/bin/cmake -E cmake_link_script CMakeFiles/k4FWCore.dir/link.txt --verbose=1
/cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0-cebb0/x86_64-centos7/bin/g++ -fPIC   -shared -Wl,-soname,libk4FWCore.so -o libk4FWCore.so CMakeFiles/k4FWCore.dir/src/PodioDataSvc.cpp.o CMakeFiles/k4FWCore.dir/src/KeepDropSwitch.cpp.o   -L/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/.plugins  -Wl,-rpath,/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build/.plugins:/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/podio/lib64:/cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib: -lGaudiAlgLib -lGaudiKernel /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/podio/lib64/libpodioRootIO.so /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libTree.so /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libNet.so /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libRIO.so /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libMathCore.so /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libImt.so /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libThread.so /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.00-be0a0/x86_64-centos7-gcc8-opt/lib/libCore.so -lpthread /tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/podio/lib64/libpodio.so
/cvmfs/sft.cern.ch/lcg/releases/binutils/2.30-e5b21/x86_64-centos7/bin/ld: cannot find -lGaudiAlgLib
/cvmfs/sft.cern.ch/lcg/releases/binutils/2.30-e5b21/x86_64-centos7/bin/ld: cannot find -lGaudiKernel
collect2: error: ld returned 1 exit status
make[2]: *** [k4FWCore/libk4FWCore.so] Error 1
make[2]: Leaving directory `/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build'
make[1]: *** [k4FWCore/CMakeFiles/k4FWCore.dir/all] Error 2
make[1]: Leaving directory `/tmp/ihep.ac.cn/cepcsw/a/prototype/releases/externals/98.0.0/testing/k4FWCore-build'
make: *** [all] Error 2
[lint@lxslc709]$ which cmake
/cvmfs/sft.cern.ch/lcg/views/LCG_98python3/x86_64-centos7-gcc8-opt/bin/cmake
[lint@lxslc709]$ cmake --version
cmake version 3.17.3

My current solution is adding the Gaudi:: prefix to the targets in the CMakeLists.txt files:
[lint@lxslc709]$ git diff
diff --git a/k4FWCore/CMakeLists.txt b/k4FWCore/CMakeLists.txt
index 55049ff..84bf189 100644
--- a/k4FWCore/CMakeLists.txt
+++ b/k4FWCore/CMakeLists.txt
@@ -10,7 +10,7 @@ gaudi_install(SCRIPTS)
 gaudi_add_library(k4FWCore
                  SOURCES src/PodioDataSvc.cpp
               src/KeepDropSwitch.cpp
-                  LINK GaudiAlgLib GaudiKernel podio::podioRootIO ROOT::Core ROOT::RIO ROOT::Tree
+                  LINK Gaudi::GaudiAlgLib Gaudi::GaudiKernel podio::podioRootIO ROOT::Core ROOT::RIO ROOT::Tree
                   )
 target_include_directories(k4FWCore PUBLIC
   $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
@@ -22,7 +22,7 @@ target_include_directories(k4FWCore PUBLIC
 file(GLOB k4fwcore_plugin_sources components/*.cpp)
 gaudi_add_module(k4FWCorePlugins
                  SOURCES ${k4fwcore_plugin_sources}
-                 LINK GaudiAlgLib GaudiKernel k4FWCore ROOT::Core ROOT::RIO ROOT::Tree)
+                 LINK Gaudi::GaudiAlgLib Gaudi::GaudiKernel k4FWCore ROOT::Core ROOT::RIO ROOT::Tree)
 target_include_directories(k4FWCorePlugins PUBLIC
   $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
   $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
diff --git a/test/k4TestFWCore/CMakeLists.txt b/test/k4TestFWCore/CMakeLists.txt
index 0101584..9f212b0 100644
--- a/test/k4TestFWCore/CMakeLists.txt
+++ b/test/k4TestFWCore/CMakeLists.txt
@@ -10,7 +10,7 @@ find_package(EDM4HEP)
 file(GLOB k4testfwcore_plugin_sources src/components/*.cpp)
 gaudi_add_module(k4TestFWCorePlugins
                  SOURCES ${k4testfwcore_plugin_sources}
-                 LINK GaudiAlgLib GaudiKernel k4FWCore ROOT::Core ROOT::RIO ROOT::Tree EDM4HEP::edm4hepDict EDM4HEP::edm4hep)
+                 LINK Gaudi::GaudiAlgLib Gaudi::GaudiKernel k4FWCore ROOT::Core ROOT::RIO ROOT::Tree EDM4HEP::edm4hepDict EDM4HEP::edm4hep)

 include(CTest)

Do you have any suggetions?
Thank you!
Tao

Hi Tao,
yes, I can reproduce the issue, but your patch fixes it. I'll open a PR and add a build test with LCG 99.
Thanks!

Hi Tao,
yes, I can reproduce the issue, but your patch fixes it. I'll open a PR and add a build test with LCG 99.
Thanks!


⚠ Bofrost.be has degraded performance

In 285f1b5, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1509 ms

Resolved: Bofrost.be performance has improved in 572a348.


blank.yml

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.

This pull request is unrelated to the IAM user guide. Closing pull request.


Fix solver count NaN on submit

This is both a bug report and it's fix.
Before my patch:
When you submit a flag, the solver count changes to NaN as shown in the video below.
https://github.com/pwncollege/dojo/assets/55092742/f9c55c5c-4b81-4a32-acf7-88853a7ddca6
After my patch:
When you submit a flag, the solver count correctly increases by one as shown in the video below.
https://github.com/pwncollege/dojo/assets/55092742/e57c2bd8-7a8a-497b-ab8a-0ae698bd180d
I added a .trim() call to remove whitespace before and after the solver count text. It was trying the parse the \n character which is why it returned NaN.

Thanks! Awesome to have this fixed :-)


Plugin on idea repository is  missing

https://plugins.jetbrains.com/plugin/8123?pr=idea

JetBrains developers deleted vue-for-idea from their repository because of significant bug reported by the community and lack of cooperation from author side. This topic may interest you: https://github.com/henjue/vue-for-idea/issues/46. Especially this comments: https://github.com/henjue/vue-for-idea/issues/46#issuecomment-245241199, https://github.com/henjue/vue-for-idea/issues/46#issuecomment-251399568.

It's to bad. I liked this plugin more.

I loved this plugin too. Is there any chance @henjue can republish this plugin to repository or release a zip for local installation?

fixed！


Add helper function for converting expression lists to Python

Codecov Report

:exclamation: No coverage uploaded for pull request base (datafusion-sql-planner@f87aa36). Click here to learn what that means.
The diff coverage is n/a.

@@                    Coverage Diff                    @@
##             datafusion-sql-planner     #631   +/-   ##
=========================================================
  Coverage                          ?   61.90%
=========================================================
  Files                             ?       73
  Lines                             ?     3615
  Branches                          ?      737
=========================================================
  Hits                              ?     2238
  Misses                            ?     1228
  Partials                          ?      149

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Collect from current node only information about node's VMs/CTs/etc

Currently, it collects data from every cluster node full set of cluster-wide metrics.
If you have twelve nodes in one cluster, you'll get a dozen of identical data.
It's an extremely duping of data and excessive resources waste.

There are multiple strategies to mitigate this problem. From the top of my head:

Setup a round robin DNS entry for scraping. I.e. instead of configuring 12 targets in your prometheus config, only specify the round robin DNS record containing all the pve nodes you want to scrape.
Only collect metrics from a subset of those nodes. For best results select nodes which are never down at the same time.

In the second case you might want to relabel the collected metrics after scraping and replace the instance label with something which does not change between machines.
The simplest relabel config is the following;
    metric_relabel_configs:
      - action: replace
        target_label: instance
        replacement: mycluster.example.com
      - action: labeldrop
        regex: exported_instance

It will force instance=mycluster.example.com and drop exported_instance completely.

Thank you for recommendations.
But, round-robin will lead to hanging requests if one node become unavailable. So, losing one node will lead to missing any information about what's going on — and just in the time when this information is viable.
Am I wrong?

Can't get a key how it will work.

But, round-robin will lead to hanging requests if one node become unavailable

It is certainly possible to configure two or more DNS round robin records and then distribute the IPs into those sets.

just a bunch of data, that will be labelled as an atomic unit

Relabelling is a constant source of confusion for prometheus users. I suggest to start with Life of a Label and then follow as many posts in the robust perception blog as necessary...
The ultimate goal of the metric_relabel_configs I've posted above is that any node can be scraped but the resulting metrics are identical with respect to the metric labels.

Ok, after couple of tries I've realized, that task cannot be ever done with any label manipulations.
pve_up{id="lxc/1077"} 1.0
pve_disk_size_bytes{id="lxc/1077"} 1.073741824e+011
pve_disk_usage_bytes{id="lxc/1077"} 7.857635328e+09
pve_memory_size_bytes{id="lxc/1077"} 3.4359738368e+010
pve_memory_usage_bytes{id="lxc/1077"} 4.165922816e+09
…et cetera…

are missing node label, and
pve_disk_size_bytes{id="node/pve1"} 3.33615857664e+011
pve_disk_size_bytes{id="storage/pve1/local-zfs"} 4.40453726208e+011
pve_memory_size_bytes{id="node/pve1"} 9.986310144e+010
pve_memory_usage_bytes{id="node/pve1"} 7.409995776e+010
…et cetera…

having the node label melted with others, or it just occasion and it's not a node anyway.
But,
pve_storage_info{id="storage/pve1/local-zfs",node="pve1",storage="local-zfs"} 1.0
pve_node_info{id="node/pve1",level="",name="pve1",nodeid="1"} 1.0
pve_onboot_status{id="lxc/1077",node="pve1",type="lxc"} 1.0

are include node label (but it called name in second line).
Thus, exporter just does not provide the complete infoset to operate with, and relabel will not help.
Also exported data are lacking SMART and phys disk info, that Proxmox provides.
Over all above, in a cluster dashboard shows quantum temperature of last scattering surface rather than CPU load for nodes (not for CTs/VMs), but it is not exporter's problem, anyway.
Possibly I can fix this, but it requires rewriting whole pipeline.

Do you like to know on which proxmox node a given container/VM is running?

Maybe you need joins (see this blog)? I suggest the following query to try and see whether this is what you need:
pve_cpu_usage_ratio * on (id) group_left(node) pve_guest_info

Do you like to know on which proxmox node a given container/VM is running?

Before all the things, I want to separate one node data from others.
VM, CT, Storage.
It helps greately, if every metric will be labeled with her appropriate node.
Also, it will be very nice to separate VM's/CT's Storage from Node Storage, for now they are mixed in pve_disk_size_bytes, and no size and usage in pve_storage*

Maybe you need joins

Without data separation by node you cannot calculate CPU/Memory/Disk/Net/any_other_load by node properly, because you cannot sum load by node, because you have no node information in CT/VM, isn't?

Yes, you can.
CPU load per node:
pve_cpu_usage_ratio * on (id) group_left(name) pve_node_info

CPU load per VM/CT with name and node labels added from pve_guest_info:
pve_cpu_usage_ratio * on (id) group_left(name) pve_guest_info

Disk usage per node with node label added from pve_storage_info:
pve_disk_usage_bytes * on(id) group_left(node) pve_storage_info

Keep reading the robust perception blog...

@maelstrom256 @znerol
Little late to this party as I was just getting started when I seen this question.  It got me thinking about using HAProxy to frontend this.  What I decided to do was run my 3 proxmox server in a round robin backend using HAProxy.  I created a 4th DNS record and an additional IP to frontend the 3 servers and to point Prometheus to it instead of my 3 proxmox servers.
So far it's working well.  Here's a sample configuration of HA proxy frontend and backend.
frontend proxmox-prometheus
bind			<IP_ADDRESS>:8006 name <IP_ADDRESS>:8006
mode			tcp
log			global
timeout client		30000
tcp-request inspect-delay	5s
acl			proxmox-prometheus	req.ssl_sni -i server-proxmox-0.domain.com
tcp-request content accept if { req.ssl_hello_type 1 }
use_backend proxmox-prometheus-back_ipvANY  if  proxmox-prometheus
backend proxmox-prometheus-back_ipvANY
mode			tcp
id			127
log			global
balance			roundrobin
timeout connect		30000
timeout server		30000
retries			3
option			httpchk GET /
server			server-proxmox-1 <IP_ADDRESS>:8006 id 104 check-ssl check inter 1000  weight 10 verify none
server			server-proxmox-2 <IP_ADDRESS>:8006 id 114 check-ssl check inter 1000  weight 10 verify none
server			server-proxmox-3 <IP_ADDRESS>:8006 id 115 check-ssl check inter 1000  weight 10 verify none

#156 landed.


Tool to Edit Enemy Speed

Describe the feature you'd like to see added
It would be nice a tool that you could edit the speed and size of each enemy in RE4, It would be very useful for challenges and making mods

This feature does exist in Raz0r's trainer, but only seems to work on Ganados, Zealots and Commandos. I think it is done by changing the speed of the animations themselves, as when I added custom animations to my Ganado's that trainer feature stopped working.
Since this has already been accomplished with the trainer, it should be easy enough to observe in ChearEngine and duplicate. @emoose maybe these two features could be added to the list of features we were hoping to plug into the debug flags? Have you had any time to try some of those out?

These features of the Raz0r trainer is very strange with certain types of id like Verdugo, but the Raz0r's besides being flawed you change them all I would like to be able to change the size and speed per separate id and each one can have a different size and different speed, something that you can't do with Raz0r's trainer, besides of course his trainer causes a lot of crash in the game

I don't know if that would fit for implementing on RE4 Tweaks, but since you guys added some stuff for modders and utilities in general i think it's worth a shot writing this, maybe even non modders can have a fun time playing with it.
you guys should be aware of Arrange Mode, made by Luis Webber. He uses a custom version of Companion that can be used for setting size/speed values for each individual enemy based on their IDs. for example:
[SpeedSize]
Enable = 1
Em0_ID = 0x15
Em0_Outfit = 0x04
Em0_Speed = 118
Em0_Size = 120
Em1_ID = 0x16
Em1_Outfit = 0x0b
Em1_Speed = 125
Em1_Size = 85
in this, only 15 04 and 16 0B would be changed from em15 and em16.
I have found another cool trick there as well that lets you change speed and sizes of the same ID:
Em11_ID = 0x2C
Em11_Outfit = 0x00
Em11_Speed = 110
Em11_Size = 100
Em32_ID = 0x2C
Em32_Outfit = 0x03
Em32_Speed = 160
Em32_Size = 100
Em36_ID = 0x2c
Em36_Outfit = 0x10
Em36_Speed = 160
Em36_Size = 100
you see, all of those will spawn a 2C 00 verdugo, the secondary byte does nothing. However, it will still apply the modified speed/size for that single ID. Pretty cool trick!

I don't know if that would fit for implementing on RE4 Tweaks, but since you guys added some stuff for modders and utilities in general i think it's worth a shot writing this, maybe even non modders can have a fun time playing with it.
you guys should be aware of Arrange Mode, made by Luis Webber. He uses a custom version of Companion that can be used for setting size/speed values for each individual enemy based on their IDs. for example:
[SpeedSize] Enable = 1 Em0_ID = 0x15 Em0_Outfit = 0x04 Em0_Speed = 118 Em0_Size = 120
Em1_ID = 0x16 Em1_Outfit = 0x0b Em1_Speed = 125 Em1_Size = 85
in this, only 15 04 and 16 0B would be changed from em15 and em16.
I have found another cool trick there as well that lets you change speed and sizes of the same ID:
Em11_ID = 0x2C Em11_Outfit = 0x00 Em11_Speed = 110 Em11_Size = 100
Em32_ID = 0x2C Em32_Outfit = 0x03 Em32_Speed = 160 Em32_Size = 100
Em36_ID = 0x2c Em36_Outfit = 0x10 Em36_Speed = 160 Em36_Size = 100
you see, all of those will spawn a 2C 00 verdugo, the secondary byte does nothing. However, it will still apply the modified speed/size for that single ID. Pretty cool trick!

Qingsheng has already found something regarding individual enemy speed:
"The address of the speed value is at the value of the enemy pointer + 0x298"

Qingsheng has already found something regarding individual enemy speed: "The address of the speed value is at the value of the enemy pointer + 0x298"

Thanks, that's the same as the offset I change at https://github.com/emoose/re4_tweaks/commit/61287e6138c12499341ede03b711814f0f2f0bc0, good to know I was changing the right spot.
For enemies it seems the speed stays changed even when they use different anims, but changing speed of player gives same issues as ditman glitch did (new anims reset speed back to 1), maybe that's just something that only happens with player char.
Tried looking into changing enemy scale too, but weird thing is that after reducing the scale the enemies seem to grow back to normal height over a few frames, kinda funny to see, with player char it seems to stay at the scale I changed to, but sometimes seems to ignore the new scale, not sure what's up with that, maybe I'm changing the wrong part to get scale changed properly.

@emoose could you give us the speed hex code and size per enemy id so we can test if it works, this is the functionality we are looking for the most

@emoose you're GOD, If you manage to implement this function it will be the best update for us modders we have been waiting for this for a long time

This is INSANE!

Done some cleanup & pushed current code to https://github.com/emoose/re4_tweaks/commit/072407d01e76dea476fc388a6dd4cec7cfce09e1

Release build can be found at https://github.com/emoose/re4_tweaks/actions/runs/2656204472 for anyone that wants to try it out, might make a draft PR for it soon too.
I'm not really sure what other cEm related things to add to it atm, if anyone notices any interesting fields inside the structs (pretty much anything from https://github.com/emoose/re4_tweaks/blob/master/dllmain/Game.h#L446 onward) let me know and I'll see about adding it.

I'm testing, can we keep the modifications when exit the map?

Amazing, and save configuration is essencial for use in the mods

@emoose this is the best update for us modders, seriously we've been wanting this for a long time, we just need the .ini to be able to use it perfectly

Made a start on trainer patches, added an Invincibility patch to the trainer section which should prevent taking damage from enemies, and skips enemy grabs (this works different to other invincibility patches I've seen, didn't have much luck with those... this seems to handle all enemy hits/grabs I tested fine though)
These patches will also be tied in with the debug flags used by the game too, eg. invincibility can be enabled with the DBG_PL_NOHIT flag (sounded like the most appropriate for it)
Source: https://github.com/emoose/re4_tweaks/commit/b3eb06fd2fb9226b560f3b3af9abb363ba89abea
Build soon at https://github.com/emoose/re4_tweaks/actions/runs/2657645609

I never thought I'd see the day where disabling map collision would be an actual feature. I've wanted to explore a lot of the OoB parts of certain areas and now I can. 😄
I did have a possible suggestion too, could we potentially see an addition to spawn objects/characters/enemies? I think it could be really fun to mess around with all of that, imo.
Seriously, thank you for implementing this. Because the trainer I was using for this game is very outdated lmao.

Hi, I'm trying to download the build but it doesn't exist anymore, can anyone help me?


Provide EL locale

This PR closes #553 by providing the .po file which contains the Greek translations

Coverage remained the same at 96.044% when pulling 932fd9d2b4dc486a09189952ca321e57d9946225 on TsimpDim:master into 624ad01afbc86fa15b4e652406f3bdcd01f36e00 on Tivix:master.

Hi,
as a user of rest-auth, thanks for the contribution!
This repo is not maintained anymore, so the development moved to dj-rest-auth. (reference: https://github.com/Tivix/django-rest-auth/issues/568)
It may be best, if you move this PR there. (and upgrade to using dj_rest_auth)
new repo link: https://github.com/jazzband/dj-rest-auth (I'm not the upkeeper of that repo, it just makes sense for me to help you merge your PR)
Many Thanks,
Barney

Ahhh I had no idea. Many thanks!


Not fully transparent on MacOS

System

MacOS Monterey Pro, V12.2,  M1 Chip

Flutter
Flutter 2.10.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 7e9793dee1 (13 days ago) • 2022-03-02 11:23:12 -0600
Engine • revision bd539267b4
Tools • Dart 2.16.1 • DevTools 2.9.2

Issue

Same code on MacOS and a windows PC. The Windows machine shows the background as it should when transparency is set but the MacOS machine doesn't show with 100% transparency. It's like 20% transparent maybe.
I did follow the extra steps for MacOS found here: https://alexmercerind.github.io/docs/flutter_acrylic/#macos but still no luck

Any advice? Thanks

Not a bug. Just make sure to set the alpha to 0.
await Window.setWindowAlphaValue(0);

Sorry for all the comments but this may actually be a bug. I want just the background to be transparent. Not all components within it. Equivalent code should ideally produce the same effect in different systems for Flutter.
As you can see with the Mac application, the whole screen is see through when the alpha is set. When the alpha is not set, the transparency isn't working well. In Windows it works as intended.
no alpha set

alpha set to .5

windows

Not all the effects are available on every platform, same for the available functions.
Both, macOS & Windows do it differently, we do not mimic the effect within Flutter but use system's APIs to achieve it. There is no way to make behaviour exactly the same, just pick the best one you find according to your requirement on each platform.

The macOS port offers a variety of different WindowEffects that map to equivalent NSVisualEffectView.Materials.
I have tried to make the Windows-only WindowEffects map to macOS Materials that are “as close as possible” to their Windows counterparts, but obviously, they aren't going to be the same.
None of those materials are completely invisible, though. That said, I believe there is some way to achieve what you want. The macOS terminal offers a way to customize both the opacity and the blur effect of the terminal window:

I'm not going to assign myself just yet, but I might do some research to find out if (and how) something like this may be possible.

Okay cool, I appreciate you potentially looking into it! I'll use the alpha for now set to .6/7 if Mac is the OS

Apparently making it possible to control the window's opacity and blur radius the same way the macOS terminal does is not really feasible since it relies on CGSSetWindowBackgroundBlurRadius, which is part of a non-public API whose usage may result in your app breaking in the future (and Apple does indeed deny App Store submissions if they happen to contain calls to this API).
Though if I understand correctly, all you're after is a way to make the window completely transparent, leaving only the Flutter view to be visible? That may be possible, although I'm unsure how well that would integrate into the current project structure.

Windows implementation is also completely undocumented in this plugin for Windows 10.
However, I guess real issue will be rejection by Apple's App Store. And I guess, not a good thing.

@Adrian-Samoticha Thanks for looking into that. My goal was to make the Flutter window transparent while leaving inside components visible. So to mimic how it looks in Windows above, but in MacOS. As of now it seems MacOS doesn't make the window transparent, and using the work around (setting the alpha) causes everything to be transparent.

Electron seems to support this out of the box:
https://www.electronjs.org/docs/latest/api/browser-window
search for "transparent"
seems to also have cross platform support. I don't see any usages of CGSSetWindowBackgroundBlurRadius, is it a special case somehow because they are using chromium?

Any update on this?

It's on my radar, though not actively being worked on at the moment.

Alright, some progress: 🙂

What's cool is that Visual Effect Subviews still work perfectly fine. What isn't cool is that miniaturizing/restoring the window causes significant performance issues and interestingly, Flutter-drawn widgets have a shadow applied to them, but it isn't being updated, so the window can quickly end up looking like this:

Either way, I'm happy to have progressed on this issue and will try to fix those issues.

Alright. I am sorry that it took me over eight months to resolve this issue, but #48 finally resolves it. However, there is a little bug that I couldn't fix (#49), so please be aware of that.

Appreciate it! @Adrian-Samoticha


Ring Doorbell

There is a mention here that this plugin has been made to work with Ring Doorbell video
https://github.com/homespun/homebridge-platform-ring-video-doorbell
(scroll down to bottom)
Can someone post any info on how to do this?
Thanks,
Jeff

After seeing the same post at homebridge-platform-ring-video-doorbell I came here for more info.  Anyone get this working?

Looking for the same

I came here for the exact same info, someone please help out!

Same here. It's incredible that despite so much reviews on Amazon (over 25,000 for the Doorbell and over 8,000 for the Pro model, with very high ranking) there is not a single person who tried homebridge plugins and report his testing here. Totally incomprehensible.

Lol, we are all in the same boat. I came on here hoping to find quite a few posts...Negative.

Anyone manage to get this working? I have the Ring plugin working set up as a motion sensor but no camera... @barkerja

I don’t believe it’s possible.
Sent from my iPhone.

On Dec 1, 2017, at 6:52 PM, kylerphillips<EMAIL_ADDRESS>wrote:
Anyone manage to get this working? I have the Ring plugin working set up as a motion sensor but no camera... @barkerja
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I confirmed with Ring that there video is only available from their apps or website.   No way to get it any other way except amazon show.
Jeff
Sent from my iPhone

On Dec 1, 2017, at 7:22 PM, sdorilas<EMAIL_ADDRESS>wrote:
I don’t believe it’s possible.
Sent from my iPhone.

On Dec 1, 2017, at 6:52 PM, kylerphillips<EMAIL_ADDRESS>wrote:
Anyone manage to get this working? I have the Ring plugin working set up as a motion sensor but no camera... @barkerja
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Looks like the thing we lack is a SIP implementation for Python.
http://www.kidder.io/2017/07/04/ring-doorbell-api/


added Georgian translations for packages

This branch has conflicts that must be resolved

I am sorry, but I cannot automatically merge this because you commited your changes to a 4 day old repository.
You need to update (rebase) your fork: https://robots.thoughtbot.com/keeping-a-github-fork-updated

I think it's done

Seems like you merged the branch and not rebased it.. so now you have a lot of extra commits, and I cannot accept it. Sorry, but I have recently started applying some stricter guidelines to contributions so that the git repository does not get polluted and potentially very messy (in the future) :/
Please take a moment to read this: https://github.com/andersevenrud/OS.js-v2/blob/master/CONTRIBUTING.md#making-and-submitting-changes

I recommend:

Make a backup of your new/changed files
Create a new fork
Clone a new repository from fork
Copy files into new repo
Commit and push
Create new pull-request


TypeError: Cannot read property 'appendChild' of null

This is a React (Gatsby) build. Not sure if I need to do anything other than the suggested method, but getting this error:
Source code below error
t-writer.js:612 Uncaught (in promise) TypeError: Cannot read property 'appendChild' of null
at Typewriter.createTextEl (t-writer.js:612)
at new Typewriter (t-writer.js:114)
at Object../src/pages/index.jsx (index.jsx:18)
at webpack_require (bootstrap 90016442abe2660a0884:555)
at fn (bootstrap 90016442abe2660a0884:86)
at Object../.cache/sync-requires.js (sync-requires.js:13)
at webpack_require (bootstrap 90016442abe2660a0884:555)
at fn (bootstrap 90016442abe2660a0884:86)
at Object../.cache/root.js (root.js:6)
at webpack_require (bootstrap 90016442abe2660a0884:555)
From my index.jsx:
...
import Typewriter from 't-writer.js';
const target = document.querySelector('.tw')
const options = {
loop: true
}
const writer = new Typewriter(target, {
loop: true,
typeColor: 'blue'
})
writer
.type('A simple syntax makes it easy.')
.rest(500)
.start()

Text

...

I'll look into this more extensively over the weekend.  However for now, are you sure that target the actual dom element
Text
 ?  To see, place a debugger under const target = ....


[TGER-46] Verify migration, factory, model were moved correctly

Verify migration, factory, model were moved correctly

I need to go ahead and merge this. I need that new migration as I'm working on updating the tger/tger repository.


Update governance page after AGM results

community vote according to https://blog.qgis.org/2022/10/04/qgis-annual-general-meeting-2022/

Should be good now.


Submitting additional file EBeam_VATamma_E.gds

Submitting additional file EBeam_VATamma_E.gds
Please note the only error is related to 'Fiber Array Configuration'. This is by design as I have named 3 of 4 GC's with separate text labels. Not sure how to convince the DRC that this is OK and will work with the automated testing equipment. The idea is based on one of the videos in the class lectures.

Opt_in label must be only on the second GC


⚠ Bofrost.be has degraded performance

In 7a5d72d, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1844 ms

Resolved: Bofrost.be performance has improved in aff2cee.


Return error for invalid exports

https://github.com/denoland/deno/issues/26031

cc @dsherret
(btw i dont have write access to repo)

btw thoughts on merging this crate into deno_config? a change to this crate has to go through 3 PRs to make it into Deno

thoughts on merging this crate into deno_config

It's very rare to update this crate and this is used without deno_config in node_resolver. Maybe if we updated the deno_config repo to be able to publish multiple crates, but I think it's not worth the effort atm.

@dsherret PTAL


Existing Themes aren't over-written on IMPORT

Frodo CLI version
Provide output of frodo -v
cli: v0.13.1
lib: v0.12.4
node: v16.15.1
Describe the issue
When importing a previously exported:  allThemes.json into a new environment, the existing themes are not over-written.  Instead, you wind up with duplicate themes.

I believe this issue to have the same root cause as #101 . I cannot dupe it with the fix to #101 in place.

Fixed in:
cli: v0.13.2
lib: v0.12.5


Style [GADT Proof of concept]

Wanted to show you this to address #12 (I think the inconsistency is mostly Style vs. the rest).
If we start to type things using GADTs we can achieve things like this
let pt = Style.bottom Pt 4.;

let pct = Style.bottom Pct 4.;

let animated = Style.bottom Animated (Animated.Value.create 1.0);

The neat thing is that everything is like using normal variants, but we don't need any additional parens. I think this would avoid a lot of a pain until https://github.com/facebook/reason/pull/953 lands

This is soo sweet. :shipit:

I don't understand though. :(. Why don't GADTs require parens? We are not using any property of GADTs here, besides the way they are parsed?

They also don't require to be in the namespace, i.e. the example above works although the GADT is defined inside Style 🤔.
But the parens thing makes sense: They are a separate argument to the function, i.e. you have let bottom: lengthOrAnimated 'a => 'a => style; So Pt is of type lengthOrAnimated float which fixes the second argument.

omg now I get it!! So in this example 4. is an argument to bottom and GADT's value is just Pt? Now I get it, and this is amazing.
let pt = Style.bottom Pt 4.;

I'm gonna implement this the moment I start building the app (later this week/at the end of next week).


Updating Readme: ->getBody() missing in Error Example.

->getBody() missing in Error Example.

Goo catch. Thanks!


Update readme with known windows flashing issue

Drag and drop fails on Windows, for the first time after updating daplink firmware, and as a result spurious failures in CI were observed.
Root cause: Windows tries to create "System Volume Information" folder in between transferring the program data.

Do you want to try this?
http://www.thewindowsclub.com/prevent-system-volume-information-folder-usb

I have tried that solution and added link to that in readme update as well

Just changing this setting didn't stop system volume information from getting created for me. I had to stop the service "Storage Service" in Services.msc.
CC @brandonboesch


interpolate does not follow other return conventions

We recently had a private communication regarding confusion with the interpolate function. The user was trying to do something like:
df_interp = df.filter().interpolate()

The returned object was not an interpolated dataframe. We advised the user as follows:
alldata = pyam.IamDataFrame(data='iamc15_scenario_data_world_r1.1.xlsx')
df = alldata.filter(variable='Emissions|CO2',scenario='SSP1-19') # save the filtered dataframe explicitly
df.interpolate(2063)  # interpolate the filtered dataframe

I would argue this breaks our implicit datamodel of dataframe methods returning a copy unless inplace=True is provided.
@danielhuppmann can you provide your thoughts?
While making such a change would break existing API, I think there is a strong argument for all functions to conform to our (from pandas) data model.

I agree that this is a relevant change to ensure consistency.
This will break a number of the scripts for the IPCC SR15 at https://github.com/iiasa/ipcc_sr15_scenario_analysis. Guess I'll have to figure out a way to inform users where API changes past release 0.2.0 may cause problems.

Thinking about this for a second...
@gidden, the expected behaviour is to return the extended IamDataFrame (original plus the interpolated data)? Or should we add another kwarg (e.g, append) to control that?
So options would be:

inplace=True, append=True: current behaviour
inplace=True, append=False: illegal
inplace=False, append=True: suggested new default, return extended IamDataFrame
inplace=False, append=False: return IamDataFrame of only the year to be interpolated

Follow-up question for option 4: should this return all rows for the interpolated year, or only those rows where that particular year was missing in the original data?

Here I think we are overloading the definitions of inplace and append. I would actually argue (against my earlier self) that inplace may not be correct here.
Normally, if we have an operation with inplace=True, it implies a mutation of the dataframe and a return type of None, e.g., df.reset_index(inplace=True). The main argument for doing this is to not make a copy.
However, we also have a convention within pyam to use the keyword append, which "translates" to: perform an operation (not a mutation) and append the result to the existing dataframe.
Here, interpolate is an operation and not a mutation. Thus, I would suggest only having append as a keyword. If False, then return the interpolated dataframe. If True, then append the data to the existing dataframe and return None.

ok, so we follow the (future) behaviour of pyam.IamDataFrame.aggregate() as discussed.

append=False (default): return `IamDataFrame´ with only newly interpolated values
append=True: append new values to self, return None

Sounds great to me!
On Tue, Aug 20, 2019 at 12:59 PM Daniel Huppmann<EMAIL_ADDRESS>wrote:

ok, so we follow the (future) behaviour of pyam.IamDataFrame.aggregate()
https://pyam-iamc.readthedocs.io/en/stable/api.html#pyam.IamDataFrame.aggregate
as discussed.

append=False (default): return `IamDataFrame´ with only newly
interpolated values
append=True: append new values to self, return None

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IAMconsortium/pyam/issues/240?email_source=notifications&email_token=AAKUAEJRQOHIUEJUTHBQZCTQFPFB5A5CNFSM4H4PQYIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4V4P7Y#issuecomment-522962943,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKUAEPH4PEXOA4KQQN34FLQFPFB5ANCNFSM4H4PQYIA
.

Coming back to this issue, @gidden, I’m wondering what the motivation and actual use case of append=False is? Why would one want to have ONLY the interpolated data, and is this a useful default?
Going through this thread again, I think that inplace is the more intuitive kwarg, either making a copy with additional data (default, False),  or appending the data to the original IamDataFrame.


Missing/broken resolvers in build.sbt

I'm trying to tackle #331 by first replicating a build with the current version of Polymer. However, when running sbt server/run, it appears that a dependency resolvers are missing from build.sbt:
resolvers += Resolver.bintrayRepo("maffoo", "maven")
After adding the resolver above, my build fails to resolve scalabrad-manager:
[info] Resolving org.labrad#scalabrad-manager_2.11;0.8.3 ...
[warn]  module not found: org.labrad#scalabrad-manager_2.11;0.8.3
[warn] ==== local: tried
[warn]   /home/ganden/.ivy2/local/org.labrad/scalabrad-manager_2.11/0.8.3/ivys/ivy.xml
[warn] ==== local-preloaded-ivy: tried
[warn]   /home/ganden/.sbt/preloaded/org.labrad/scalabrad-manager_2.11/0.8.3/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn]   file:////home/ganden/.sbt/preloaded/org/labrad/scalabrad-manager_2.11/0.8.3/scalabrad-manager_2.11-0.8.3.pom
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/labrad/scalabrad-manager_2.11/0.8.3/scalabrad-manager_2.11-0.8.3.pom
[warn] ==== bintray: tried
[warn]   http://jcenter.bintray.com/org/labrad/scalabrad-manager_2.11/0.8.3/scalabrad-manager_2.11-0.8.3.pom
[info] Resolving jline#jline;2.12.1 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.labrad#scalabrad-manager_2.11;0.8.3: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::

This is odd, as scalabrad-manager exists on Bintray at the JCenter URL listed above (try visiting it). Adding resolvers Resolver.bintrayRepo("labrad", "maven") or Resolver.jcenterRepo does not fix this.
A possibly-related oddity is that maffoo/jsonquote-play is on Scaladex and Bintray while scalabrad-manager is only on Bintray and not Scaladex. Scalabrad is on Scaladex and Bintray, but only up to version 0.7.
My only thought here is that this could possibly be an issue similar to bintray/gradle-bintray-plugin#217.
Can anyone point me in the right direction to getting this dependency? Thanks!

Actually, the issue with scalabrad-manager was on my end --- I was adding the Bintray resolver for it in the wrong place. It's still odd that Scaldex doesn't have scalabrad-manager, though.


any warkaround using google service ?

Hey, can you provide more context please?

The app is restricted on using google service,is there a way to not use it goal is not attaching the app to any provider

@khalilxg what kind of provider you would like to use? You mean instead of having google drive using other type of connectors from LlamaIndex?

Thanks, i've figure out google drive is top easy to use choice !


Try to recurrent the result but get lower AP

I just clone the latest code in github and run the step in readme.md file with the following changes(I download pretrained NeRF models and created sample dataset with BlenderProc here):

set the basedir and datadir root
in "run_nerf_noscale.py" file line 7, change "from optimization.utils.load_LINEMOD_noscale ..." to "from utils.load_LINEMOD_noscale ..."
run " python neural_sim_main.py --config ../configs/nerf_param_ycbv_general.txt --object_id 2 --expname exp_ycb_synthetic --psi_pose_cats_mode 5 --test_distribution 'one_1' --n_epochs 50", which append the n_epochs parameter

I think this config is similar to experiment YCB-synthetic dataset in your paper with id2 and no overlap setting. And the result would match the result in Fig.5 (a), which show the AP achieve 95%-100%. However, I get the "AP-2" in "save_result.txt" about 85% after 35 epochs and stop to rise. Do you have any idea to solve this problem?

I find that in your paper Fig 5 (a), two object id is Pitcher and Cheese Box, but in 4.2 Train/test biasness part shows that  "We introduce such pose biasness in two of the six objects, pitcher and driller." Which object would match the result in Fig5 (a) id2?

Thanks for your question! In the updated version, we fixed a previous OOD problem caused by detection.
For your question, please try to use a relatively smaller learning rate: e.g., 5e-5 or 1e-5 for the bi-level optimization. Yes, if you use our provided NeRF model and dataset, the config is similar to the YCB-synthetic dataset, and the results would match Fig.5 (a). We wrote a new wrapper for the main function so that the detailed hyperparameter may need a little adjustment accordingly. (For instance, the initial pose distribution, learning rate, optimizer)

Thanks for your answer. Besides, I find some problem in your dataset here, object 11. It may have some noise in backgroud, so your get_annotation function may return wrong annoation, which may be like:

The cv2.threshold result in:

Good point! Yes, we find the same issue that the NeRF may not be perfect especially when the training data has heavy shadow. We added some rules to eliminate the noise pixel, while the foreground extraction function may still need some improvement.


[Release] sdk/resourcemanager/kusto/armkusto/2.0.0

https://github.com/Azure/sdk-release-request/issues/3168

@lirenhe | @ArcturusZhang | @tadelesh
Please merge :)

@Aviv-Yaniv There are some breaking changes caused by our code gen change. We will fix it first and then release the SDK.

@tadelesh Appreciated!

Given the number of breaking changes, I'd like Mike/Jeffrey to review.

Given the number of breaking changes, I'd like Mike/Jeffrey to review.

@RickWinter This breaking is not from swagger. It is from the codegen change. Joel and I are working on it.

@JeffreyRichter I want to confirm with you such removal of unreferenced types (CloudError and CloudErrorBody are not used in any operations) should also be considered a client breaking and pump major version, right?

Technically this is breaking because customers could have used the types in their code even if they can't use them to talk to the service. However, we (the Azure Breaking Change Board) have been approving these as non-breaking because the chance of breaking customers is so low as they had no reason to use these types.

@RickWinter Please sign off.

@RickWinter Gentle ping to review

@tadelesh Could we mere please?