error MSB4057: The target "_GenerateRestoreGraphProjectEntry" does not exist in the project.

Get this error when trying to deploy a .Net Core project (generated by VS 2017 RC) to an azure web app from a github repository. Not really sure what it refers to, but here's the full log:
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment.
D:\home\site\repository\src\WebApplication1.csproj : error MSB4057: The target "_GenerateRestoreGraphProjectEntry" does not exist in the project.
Failed exitCode=1, command=dotnet restore "WebApplication1.sln"
An error has occurred during web site deployment.
\r\nD:\Program Files (x86)\SiteExtensions\Kudu\59.51212.2600\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"

When performing the mentioned command (dotnet restore) locally, it seems to work as expected.

Is your dotnet cli version 1.0.0-preview4-004233 as described in this stackoverflow thread?
can you run dotnet msbuild at command line?, I want to know your msbuild version:
C:\>dotnet --version
1.0.0-preview4-004079

C:\>dotnet msbuild
Microsoft (R) Build Engine version <IP_ADDRESS>
Copyright (C) Microsoft Corporation. All rights reserved.

I suspect that Azure's msbuild is not up to date with your VS, which can be the cause of this issue
But just in case, can you share a github repository that highlights your project structure so that I can try to reproduce the issue at my end, thanks

@watashiSHUN Hi. Here's the output from dotnet msbuild:
>dotnet msbuild
Microsoft (R) Build Engine version 15.1.458.808
Copyright (C) Microsoft Corporation. All rights reserved.

and dotnet --version
>dotnet --version
1.0.0-preview4-004233

I created a new asp.net core project using the template in Visual Studio 2017 RC (including the Web Api template). I Restored the Nuget packages, and then updated them to the latest (1.1.0). I also changed the csproj file to target .net core 1.1.
Here is a link to the repository: https://github.com/michaeldaw/websitetest
I created a new azure web app and set up the deployment options to source from that github repository. Here is a screenshot of the deployment process:

When I clicked on the "View Log" link for the final failed step, this log appeared:

It sounds like you're right about the msbuild version being behind on Azure.
Also, I wanted to mention that if I publish the project using a Publish Profile (generated in Visual Studio), it deploys the app correctly. This is why, if you navigate to the website shown in the screenshots (http://websitetest000.azurewebsites.net/api/values) you'll see the web api working.
I hope this is of some help. Let me know if there's more I can do.

Thanks for your repository, yup its a version problem:
D:\websitetest>dotnet restore
D:\websitetest\src\WebApplication1\WebApplication1.csproj : error MSB4057: The target "_GenerateRestoreGraphProjectEntry" does not exist in the project.

D:\websitetest>"C:\dotnet-dev-win-x64.latest\dotnet.exe" restore

Welcome to .NET Core!
---------------------
....

the reason that publish profile works is because VS build your project locally and then push it to azure whereas github deployment gets the source code and build your project remotely (in azure, with azure's build tools)
I will try to get you the schedule for azure's build tool updates
meanwhile if you need CI, you can probably work around this issue by uploading the latest dotnet cli (it's just some executables) to azure and change the build path.
I will need to test this solution and let you know later?

Thanks @watashiSHUN. The difference in where the project is built between CI and publishing didn't occur to me.
I'll find some time to try uploading the CLI. Seems like a valuable technique. As for testing it out yourself, I wouldn't go too far out of your way on my account. I'm satisfied with being able to use a publish profile for the time being. If it's simply a matter of time until the azure build tools are updated, then I can wait.
However, since .net core seems to be undergoing a lot of changes lately, I imagine people will continue to run in to issues like this. If there's some way to allow users to select/update their msbuild or cli version from the portal interface, it would probably solve some problems.

I'm seeing the same issue. Tried updating global.json with "version": "1.0.0-preview4-004233" with no luck.
Please keep us updated!

This issue also affects the default docker-image. which we use for running CI on bitbucket/pipelines. Everything works just fine using project.json files.
Locally the project works using msbuild and

dotnet --version
1.0.0-preview4-004233

Pipelines file:
`
image: microsoft/dotnet:1.1.0-sdk-msbuild
branches:
feature/*:
- step:
script: # We only test features, no deployment
- dotnet --version
- dotnet restore project.sln
`
output:
dotnet --version
+ dotnet --version
1.0.0-preview3-004056
Completed at 2017-01-03T13:00:08Z
dotnet restore Frontstage.sln
+ dotnet restore Frontstage.sln
==/opt/atlassian/pipelines/agent/build/src/OurProject/ourproject.csproj : error MSB4057: The target "_GenerateRestoreGraphProjectEntry" does not exist in the project.
......
Is there anywhere I can find a road-map or timeline suggesting when this will fixed?
Thanks.

@mikkel-busch not sure I understand your scenario. Are you even using Kudu here?

Preview4 tooling is now available on App Service, so this should now work for Kudu users.


fix: typo Github to GitHub

WHY
To fix the company and the product name to the correct spelling.
GitHub has large H not small h. This PR intends to correct these misspellings.

Seems the workflow can't solve the ref for the forked  repositories...


    The only problem is that I despise using crontab for things like this and prefer to use cron.d (so they can be more readily visible and checked into version control).  I decided to make a change to allow the cron.d format (basically it's just an extra column with the username).
I have a working change, but I'm not thrilled with it.  I wanted to have you take a look and basically say how you would prefer this feature be implemented.  My major issue is that the only way to do it less "ugly" is to make more far-reaching changes to the job and/or job_list classes.
Oh, I couldn't get your unit tests to run (both before and after I made changes).  For whatever reason, it errors out on the active_support require.  I'll probably take a look at it tomorrow and figure out whats happenening, but I thought you might know the source of that error off hand.
gems/rake-0.9.2/lib/rake/rake_test_loader.rb" "test/{functional,unit}/**/*_test.rb"
/home/jlawler/git/whenever/lib/whenever.rb:2:in require': no such file to load -- active_support/all (LoadError) 	from /home/jlawler/git/whenever/lib/whenever.rb:2 	from /home/jlawler/git/whenever/test/test_helper.rb:3:in require'
jlawler

It looks like you don't have the activesupport gem installed.
Also, whenever is designed to write to your crontab file - is that compatible with this cron.d format? I'm not at all familiar with it.


Limit the Intel presentation bug to Xorg only

Follow-up to #92 that narrows the workaround down a bit (to Xorg systems).
Helps #93 but doesn't completely address it.

This is a good start for sure. Since it limits the impact to xorg, lets go with that.
Is blade able to determine which of the gpu is primary? If so that might be a way to narrow the case down to "xorg with nvidia dgpu as primary"

I don't know how to determine the main adapter as seen by nvidia-prime.
Based on https://github.com/canonical/nvidia-prime/blob/587c5012be9dddcc17ab4d958f10a24fa3342b4d/prime-select#L56, we could check the contents of /etc/prime-discrete.


Correct numbering of steps

Previously number two occurred twice and number three was missing.
If this was on purpose to indicate that these two steps could be done in either order, feel free to just close this PR.
And maybe make it more explicit in the text additionally, to prevent more PRs and make it clear to the reader

Thanks! That wasn't an oversight. That was just a mistake :)


Use Type Definitions from NPM Packages

It would be amazing to be able to pull in the D3 types when using this plugin.

Any ideas on whether this might be possible? Happy to do specific configuration on a per-package basis if needed.

Yep, see #27, using ata is the main way to do this.


Use current versions of software in Appveyor.

With support for Python 2.7 ending today, it's probably a good time to update the software we test against. This PR updates the following software used in the Appveyor test:

Visual Studio 2019
Python 3.8
Scons 3.1.2

It also cleans up some of the artefacts in the .yml from using older versions.

Thanks!


Add Python Bottle Plugin Logo

logo

preview

Could you share the preview on the UI?

Is there a version by using white letters?

Is there a version by using white letters?

Unfortunately, nope.
I only find this one.


feat(RHTAPREL-172): rename pipelines

rename of release -> push-to-external-registry

pipeline to push snapshots to quay with no pyxis interactions

rename push-to-external-registry -> rh-push-to-external-registry

pipeline to push snapshots to quay with pyxis interactions

add .gitignore

This supercedes #301

Closing in favour of #302

FYI: Being testing via https://github.com/redhat-appstudio/tenants-config/pull/123

Can we target the development branch for this instead of main?

Can we target the development branch for this instead of main?

done


[ESSI-1379] Add confirmation for removing property definition

Closing in favor of resubmission without referencing essi


Support direct access of API specs and artifact contents

Currently API spec contents can be accessed as a field of the ApiSpec resource, which is returned by GetApiSpec and ListApiSpecs methods. Early users have pointed out that this can be awkward, particularly in transcoded interfaces. The situation is similar for artifacts. It seems that usage of both could be simplified with API methods that allow direct access to their contents.

#132 contains a first draft of an accessor for spec contents.

We've merged #132 and plan to make the same change for artifacts.
Following this, we'd like to make these methods the only way to download spec and artifact contents. The GetApiSpec/ListApiSpecs and GetArtifact/ListArtifacts methods would return all of the metadata associated with specs and artifacts but not the contents. This is currently the default behavior and we use a view argument to indicate when the contents should be returned. In a subsequent change we will remove the view argument and always return everything-but-the-contents from these methods. This would be a breaking change, but to a pre-1.0 implementation, and we think the simplicity provided would be worth the change.

We've fully committed to this now with #140 removing the view argument and contents fields from GetApiSpec/ListApiSpecs/GetArtifact/ListArtifacts responses.


Hypothesis-based test for --sort

This test should fail (and does locally). Maybe they're running too slowly? Added CI profile.

Also added bugfix. @hobarrera please review


Fix export in manifest

Your manifest file is incorrect, it contains the following:
Export-Package: com.microsoft.aad.com.microsoft.aad.msal4j;version="1.13.3"
This should be:
Export-Package: com.microsoft.aad.msal4j;version="1.13.3"
This makes your lib unusable in an OSGi environment unless we hack the manifest file.
https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/dev/msal4j-sdk/bnd.bnd
is incorrect

Thanks for finding this. We will update and include this in our next release.

This issue is fixed in the latest release. Please reopen this if the issue persists.


Empty window after first open on chrome

The first open on chrome works fine after that its a blank window with no content or location.
Quitting chrome allows you to open correctly but after that first open it continues to open blank windows.
OSX 10.10.5
Chrome 46.0.2490.80 (64-bit)

Hi, thanks for the report.
Can you give me some more details? Does it happen only with Chrome?
What do you mean "after first open"? I.e. you open a window, don't close it, then open once again?
Can you check what happens when you open it twice from command line?
npm install -g biased-opener
biased-opener --verbose --browsers 'chrome' 'http://example.org'
biased-opener --verbose --browsers 'chrome' 'http://example.org'

Once you run biased-opener once, regardless of what you do with the window. So yes those command line commands produce it.
Other browsers to not do this (tried on opera and safari), however and I don't know if this is related or needs its own issue:
All browsers [that I've tried (chrome, opera, safari)] open links in a new instance of the application, so I end up with multiple instances of the application running after using biased-opener a few times.

Regarding the second thing, that a new browser windows is opened each time, not sure if it can be fixed, at least for all browsers.
For me on Windows when I do ./chrome.exe or ./firefox.exe multiple times, I get a new window each time. Firefox supports a -new-tab switch that opens a new tab whenever possible but I am not sure if other browsers support similar switches. Will try to investigate later but quickly looking there's no such switch for Chrome


ETA (Estimated Time of Arrival) calculation.

I am trying to calculate ETA for a list of delivery jobs.
After getting a solution by following the path  Solution > Route> TourActivity we can access getArrTime and getEndTime methods.
Can we calculate the ETA of a delivery by startTime + getArrTime?  I tried this formula but I guess getArrTime only respects to service durations assinged to delivery job.
If someone confirm my formula I will search my implementation to where I made a mistake.
Thanks in advance.

Yes, I think your formula is correct.  In essence the TourActivity.getArrTime() can be considered an ETA for an activity.


Date format across different timezones

We are using graphql-date package to fetch data from our API and send it in to our front-end. The problem is that the date is wrong in some timezones.
We have this date in the database: 2018-04-24 02:00:00.000. While in Spain the date is 24th April, in Miami or Mexico it appears as 23rd April.
I'm not sure if it's an issue in the package or what's going on.
Thanks!

This package should not be converting dates. It uses new Date to convert numbers and strings to dates. So make sure you are passing the right dates in. Your DB may be writing GMT dates if you are just passing a date instance.

Thanks for answering @tjmehta :)


Trouble syncing planck.js with custom renderer

Hi, title probably says it all. For some reason two bodies don't collide when they should. I have two svg rectangles (yes, i use svg for rendering), their positions and dimensions are set in pixels but then i convert it to world coordinates for their "physics bodies" with worldScale of 30 (so 1 meter = 30 pixels). I convert back to pixels and update their positions every frame but when i play it they dont collide when they should be. Pls help me i have no idea what im doing wrong.
Heres the code as example:
example.html.zip
Thank you very much in advance ❤.

Oh, now i see the issue. But i still cannot figure out why are the shapes so offset (using wrong anchor points), i know im doing something wrong but i've been trying to figure it out for like 2 hours but cant seem to fix it. No matter what i do they still use wrong anchor. Can you please look at it again and tell me why is it happening? I would be so grateful ❤.
(Also thx for the side note, i never really thought about it until now but now i see that it was quite stupid of me to upload files like that).

Oh sorry, I have sent you on the wrong track! An Error in the anchors would have cancelled out here . Actually you just have to half the parameters of the Box contructor:
groundCollider.createFixture(pl.Box(parseFloat(ground.getAttribute("width")) / worldScale / 2, parseFloat(ground.getAttribute("height")) / worldScale / 2));
// ...
rectCollider.createFixture(pl.Box(parseFloat(rect.getAttribute("width")) / worldScale / 2, parseFloat(rect.getAttribute("height")) / worldScale / 2));

To see why check out this method. Basically, Box(1, 1) would have vertices (1, 1), (-1, 1), (-1, -1), (1, -1) and would therefore have width and height 2. Hope that helps!

I tried your solution just now but still no luck with it. I understand why the method works but for some reason visual body of rectangles and their physical bodies are no synced up. Isn't this happening because SVG rectangles have origin in top-left corner (or rather when i pass the SVG element X and Y this position is for top-left corner) and planck.js bodies dont? If not then i really dont understand why it doenst work.

Oh really? Then I have probably changed something else 😅 This is working on my side:
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <script src="https://cdnjs.cloudflare.com/ajax/libs/planck-js/0.2.7/planck.js" integrity="sha512-4JiVq51x4iADpEfQGRu0ZQxuBesVki6E4Yy45PPRcahnCGnki6s5PgdE2Lf/J/HZpxlgnbR0WMwurV+TN9sz+w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body>
    <svg width="800" height="600">
        <rect id="rect" x="370" y="100" width="50" height="50"></rect>
        <rect id="ground" x="200" y="400" width="400" height="50"></rect>
    </svg>

    <style>
        svg {
            outline: 2px solid black;
        }
    </style>

    <script>
        // create world
        var pl = planck, Vec2 = pl.Vec2;
        var world = planck.World(planck.Vec2(0, 3));

        // meters to pixels converting constant
        var worldScale = 30;

        //get the two svg shapes
        var ground = document.getElementById("ground");
        var rect = document.getElementById("rect");

        // create ground
        var groundCollider = world.createBody();
        groundCollider.createFixture(pl.Box(parseFloat(ground.getAttribute("width")) / worldScale / 2, parseFloat(ground.getAttribute("height")) / worldScale / 2));
        groundCollider.setPosition(Vec2(parseFloat(ground.getAttribute("x")) / worldScale, parseFloat(ground.getAttribute("y")) / worldScale));
        groundCollider.setUserData(ground);

        // create rectangle
        var rectCollider = world.createBody().setDynamic();
        rectCollider.createFixture(pl.Box(parseFloat(rect.getAttribute("width")) / worldScale / 2, parseFloat(rect.getAttribute("height")) / worldScale / 2));
        rectCollider.setPosition(Vec2(Vec2(parseFloat(rect.getAttribute("x")) / worldScale, parseFloat(rect.getAttribute("y")) / worldScale)));
        rectCollider.setMassData({
            mass : 1,
            center : Vec2(),
            I : 0
        });
        rectCollider.setUserData(rect);

        function loop() {
            world.step(1/60);
            world.clearForces();

            for (var body = world.getBodyList(); body; body = body.getNext()) {
                var bodyPosition = body.getPosition();
                var userData = body.getUserData();

                userData.setAttribute("x", bodyPosition.x * worldScale);
                userData.setAttribute("y", bodyPosition.y * worldScale);
            }

            window.requestAnimationFrame(loop);
        }

        loop();
    </script>
</body>
</html>

You are right, but it still works because Vec2(vec) just copies vec. As long as you don't have to deal with rotations the simplest solution is to update the loop method:
function loop() {
    world.step(1/60);
    world.clearForces();

    for (var body = world.getBodyList(); body; body = body.getNext()) {
        var bodyPosition = body.getPosition();
        var userData = body.getUserData();

        userData.setAttribute("x", bodyPosition.x * worldScale - parseFloat(userData.getAttribute('width')) / 2);
        userData.setAttribute("y", bodyPosition.y * worldScale - parseFloat(userData.getAttribute('height')) / 2);
    }

    window.requestAnimationFrame(loop);
}

But then the result does not look does not look like the SVG, because the bodies are initialized at the wrong position. To fix this:
// create ground
var groundCollider = world.createBody();
groundCollider.createFixture(pl.Box(parseFloat(ground.getAttribute("width")) / worldScale / 2, parseFloat(ground.getAttribute("height")) / worldScale / 2));
groundCollider.setPosition(Vec2(
    (parseFloat(ground.getAttribute("x")) + parseFloat(ground.getAttribute('width')) / 2) / worldScale,
    (parseFloat(ground.getAttribute("y")) + parseFloat(ground.getAttribute('height')) / 2) / worldScale));
groundCollider.setUserData(ground);
// ... (same with rect)

You could also just use the transform property, but then you would have to also change the x and y value in your SVG (e.g. I think <rect id="rect" x="370" y="100" width="50" height="50"></rect> would become <rect id="rect" x="370" y="100" width="75" height="75" transform="translate(-25 -25)"></rect> (but you would not have to change your code)

Omg it actually works, you are my saviour thank you so much for taking the time ❤.


fix: error in diags display

When we use the lspDiagNext, LspDiagPrev and lspDiagFirst commands, but the diag is not in the current screen, the above error display will appear in this case

When we use the lspDiagNext, LspDiagPrev and lspDiagFirst commands, but the diag is not in the current screen, the above error display will appear in this case


upgrade/fix/check all packages listed in the dependabot alerts

All packages need to be checked in order to avoid known exploits

Fixed by this and following commits


chore: Added Quine Resources

Fixes Issue - 1188

Closes #1188

Changes proposed
Added quine resources
https://www.youtube.com/playlist?list=PLnCV5fTAsUgpaLMY_Z8FqPxZ89v-_pcfY
Screenshots

Note to reviewers

@rupali-codes @CBID2 please review this pr

@rupali-codes plz review and merge this


polkit apparently taking 11.15 GB in the store

Describe the bug
I noticed, after running out of space, that within the last week or so, the size of my nix store has more than doubled. I've tried removing everything from profile, all result links, and ran garbage collection several times but it didn't do much. I stumbled on nix-du and found that, according to the output, the polkit package is using 11.15 GB of space on disk. Seeing as I can't really remove it, since everything depends on it, I was wondering if there might be a way to further debug or diagnose this to get the size under control.
To Reproduce
Unfortunately, I have no idea how this occurred.
Expected behavior
It should take a reasonable amount of space for what it contains
Screenshots
clip from the nix-du output:

Additional context
Add any other context about the problem here.
Notify maintainers

@worldofpeace
Metadata

system: "x86_64-linux"
host os: Linux 5.9.16, NixOS, 20.09.20201228.5adafbe (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20201201_5a6ddb3
nixpkgs: /nix/store/qzv8mdddhgs6w55bbi7pmbv5iamvnkqm-source

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: polkit
# a list of nixos modules affected by the problem
module:

This is just an artefact of the way nix-du labels its output nodes. It’s not telling you that polkit is taking up 11.15 GB; it’s telling you that if you were to remove everything on your system that depends on polkit, you’d save 11.15 GB.
$ nix-du --help
nix-du 0.3.3

This program outputs a graph on stdout in the dot format which may help you figuring out which gc-roots should be
removed in order to reclaim space in the nix store.

To get started, if you are interested in freeing, say, 500MB, run
`nix-du -s 500MB | tred | dot -Tsvg > /tmp/blah.svg`
and then view the result in a browser or dedicated software like zgrviewer.

Without options, `nix-du` outputs a graph where all nodes on which the same set of gc-roots depend are coalesced into
one. The resulting node has the size of the sum, and the label of an arbitrary component. An arrow from A to B means
that while A is alive, B is also alive.

As a rule of thumb, a node labeled `foo, 30KB` means that if you remove enough roots to get rid of this node, then you
will free `30KB`. The label `foo` may or may not have a meaning.

The actual size of polkit itself is
$ nix path-info -hs "$(nix eval --raw -f '<nixpkgs>' polkit)"
/nix/store/nzxrv1g1mn423dzyzpv3hs6n97502wdg-polkit-0.118-bin	 146.8K

and the total size of the closure of polkit’s dependencies is
$ nix path-info -hS "$(nix eval --raw -f '<nixpkgs>' polkit)"
/nix/store/nzxrv1g1mn423dzyzpv3hs6n97502wdg-polkit-0.118-bin	 232.2M

which you can break down individually with nix path-info -hrs.


Create similar interface to ethereum.tools.tester

The ethereum.tools.tester interface is really useful, it allows me to provide the source code for a smart-contract, have it automatically compiled, then interact with it as if it were a normal object.
This is documented at: https://github.com/ethereum/pyethereum/wiki/Using-pyethereum.tester
I think this is an invaluable component of the Python Ethereum ecosystem, but PyEthereum doesn't support the new opcodes (which are emitted as part of the standard prelude by the Solidity 0.5.x compiler), and eth-tester is not just incompatible with ethereum.tools.tester but doesn't provide an easy to use wrapper interface.
Cross-posting from the PyEthereum issue: https://github.com/ethereum/pyethereum/issues/897
Example:
import unittest
from ethereum.tools import tester
from binascii import hexlify
import bls

class TestBLSValidators(unittest.TestCase):
    def setUp(self):
        env = tester.get_env(None)
        env.config['BLOCK_GAS_LIMIT'] = 5**10
        chain = tester.Chain(env=env)

        with open('BN256G2.sol') as handle:
            source = handle.read()
            BN256G2 = chain.contract(source, language='solidity')
        with open('BLSValidators.sol') as handle:
            source = handle.read()
            self.contract = chain.contract(source, libraries={'BN256G2': hexlify(BN256G2.address)}, language='solidity')

    def test_ProvePublicKey(self):
        sk, pk = bls.bls_keygen()
        sig = bls.bls_prove_key(sk)
        print(self.contract.ProvePublicKey(bls.g2_to_list(pk), bls.g1_to_list(sig)))

ya, I think I'm just gonna give up on this for now.
Web3.py is a pain to use, and PyEVM won't deploy my contract:

eth.exceptions.OutOfGas: Out of gas: Needed<PHONE_NUMBER>244114039569722029634114410016020266953094191085303361019466583388654759774060364 - Remaining 2129283 - Reason: Expanding memory 0 -><PHONE_NUMBER>605064455585312431868615197199104358752

*rolleyes* wtf
Neither eth-tester or PyEVM seem to provide a nice way of emitting an opcode trace to find out why. At least with PyEthereum I can turn logging on, but I can't even seem to do that for py-evm.
It's a shame, the workflow for PyEthereum was really simple to use and let me write unittests for Solidity code in Python without needing hundreds of lines of bootstrap code.

@HarryR I'm sorry your experience has been what it is.  I've spoken with @kclowes who's leaving development of the web3 library that we've got some shortcomings to address with respect to the things you've surfaced.  Here's my take-away at what we're going to try to make better.

better and easier to find documentation in web3.py for the simple use case of source-code -> tests in as few lines as possible.
documentation on how to enable DEBUG logs for EVM execution so that you can get at the trace level information.

If you want to try and get at the trace logs, I think you can get there with something close to the following.
import logging
logger = logging.getLogger('eth')
logger.setLevel(0)  # might also work at 5 or 8, can't remember which is our DEBUG2 log level

You may also need to hook the logger up to the stdout stream or something to get at the logs.


server: fix check for ipv6 range overlap

Description
Fixes incorrect check for verifying IPv6 ranges overlap. This causes the inability to add multiple IPv6 ranges.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[x] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 4130

@blueorangutan test

@shwstppr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-4821)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42625 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6705-t4821-kvm-centos7.zip
Smoke tests completed. 100 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_08_upgrade_kubernetes_ha_cluster
Failure
806.11
test_kubernetes_clusters.py


Update MultiValue, Partial Widget and Animated

Updated druid version to use the disabled state from druid in PrismWrap (former PartialWidget).
Updated MultiCheckBox and MultiRadio to use Animated.
Removed the paint flag from Animated since all animations (at least all i know of) paint.

Thanks very much :)

This broke OptionNone because its Prism impl is no longer generic...


how to get last bot state

Hello,
Is there any way to get the last state executed by the bot. Like
let say I have states defined for my bot are given below.
ASK_NAME:
ASK_EMAIL:
ASK_ADDRESS:

ASK_NAME executed successfully then bot is on ASK_EMAIL state, Can I get the last executed state was ASK_NAME, is there any way to get this?
Regards
Qadir Hussain

Hmm yeah it might be useful to track a history of past state transitions, both for debugging and for complex bot behaviors.
In short, this is not currently supported but I can make some suggestions as to how it could or should be done:
One caveat is that storing such an ever-growing list of states in SmoochMemoryStore would be a bad idea, it is only designed to store user props as simple key value pairs, and there are field size limits.
It would make more sense to swap out SmoochMemoryStore with an implementation backed by a dedicated database. A redis list might be a good fit storing state history perhaps.

OK. thanks for the information. Do you have any plan to do this nearly.

No, I'm not actively working on this project.


s3-load step in makefile fails on missing elasticimages zipfile

elasticimages.tar.gz is reporting as a null file and therefor failing to docker load
<Contents>
<Key>elasticimages.tar.gz</Key>
<LastModified>2019-10-22T20:22:13.000Z</LastModified>
<ETag>"e2fd2ad5c8d74abdf4529fc19be992a5"</ETag>
<Size>20</Size>
<StorageClass>STANDARD</StorageClass>
</Contents>

You have to manually exclude it from s3-images to continue with s3-load.
This should be fixed with an s3-save from a known good install.

tangent thought - we currently use the undocumented s3-load to grab and extract the bundled images - can we circumvent that step and docker pull & retag the full set of the amazeeiolagoon *:master images that Jenkins stores on DockerHub - sort of a make pull followed by a make up?


Fix which errstr is used for syscallfmt.

We should use syserrstr, not errstr.
Signed-off-by: Ronald G. Minnich<EMAIL_ADDRESS>

LGTM


Can I use argoverse api for argoverse 2 motion forcasting dataset?

If I download the argoverse 2 map data and motion forcasting dataset following the argoverse api instead of av2-api, will it still work?

Hi @CoconutSweet999, you'll have to use the av2-api to interact with the data from the AV2 release.


Milestone 7 in Maven Central depends on local snapshot of GradlePlugins

Bug Report
Describe the Bug
EDC's release 0.0.1-milestone-7 in Maven Central depends on runtime-metamodel in a SNAPSHOT version. This cannot be resolved and therefore, the library cannot be used without a local build of GradlePlugins.
Expected Behavior
The library should build from Maven Central.
Observed Behavior
Consider the module asset-index-sql. According to its .pom, it declares a dependency
    <dependency>
      <groupId>org.eclipse.edc</groupId>
      <artifactId>runtime-metamodel</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>

This can only build if there is a local snapshot build of runtime-metamodel. Maven Central does not have the runtime-metamodel (yet).
Steps to Reproduce
Try to build EDC on a system with a clean local maven repository. Observe how many modules (not just asset-index-sql) fail due to an unmet dependency.
Context Information

Used version: 0.0.1-milestone-7
OS: Windows 10

Detailed Description
A build without a locally built runtime-metamodel results in the following (slightly edited) log:
 > Could not find org.eclipse.edc:runtime-metamodel:0.0.1-SNAPSHOT.
     Searched in the following locations:
       - file:$HOME/.m2/repository/org/eclipse/edc/runtime-metamodel/0.0.1-SNAPSHOT/maven-metadata.xml
       - file:$HOME/.m2/repository/org/eclipse/edc/runtime-metamodel/0.0.1-SNAPSHOT/runtime-metamodel-0.0.1-SNAPSHOT.pom
       - https://repo.maven.apache.org/maven2/org/eclipse/edc/runtime-metamodel/0.0.1-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/org/eclipse/edc/runtime-metamodel/0.0.1-SNAPSHOT/runtime-metamodel-0.0.1-SNAPSHOT.pom
       - https://maven.iais.fraunhofer.de/artifactory/eis-ids-public/org/eclipse/edc/runtime-metamodel/0.0.1-SNAPSHOT/maven-metadata.xml
       - https://maven.iais.fraunhofer.de/artifactory/eis-ids-public/org/eclipse/edc/runtime-metamodel/0.0.1-SNAPSHOT/runtime-metamodel-0.0.1-SNAPSHOT.pom
     Required by:
         project :provider > org.eclipse.edc:iam-mock:0.0.1-milestone-7
         project :provider > org.eclipse.edc:control-plane-core:0.0.1-milestone-7
         project :provider > org.eclipse.edc:catalog-api:0.0.1-milestone-7
         project :provider > org.eclipse.edc:contract-spi:0.0.1-milestone-7
         [snip ... most of EDC]

Possible Implementation
There is two possible solutions:

Publish a version of GradlePlugins containing a recent runtime-metamodel on Maven Central
Change EDC's published dependencies to point to some other place which contains a recent runtime-metamodel.

the root build.gradle.kts adds the Sonatype Snapshot repo to all subprojects.
//line 60:
val snapshotUrl = "https://oss.sonatype.org/content/repositories/snapshots/"

//line 128:
allprojects {
    repositories {
        mavenLocal()
        maven {
            url = uri(snapshotUrl)
        }
        mavenCentral()
        maven {
            url = uri("https://maven.iais.fraunhofer.de/artifactory/eis-ids-public/")
        }
    }
    // ...
}

I just verified that it can be resolved just fine. You can look at the snapshot repo directly.
I would advise to clear the local maven cache and gradle cache, and then rebuild your project with the --refresh-dependencies flag.


Document how to get to the underlying lower level Redis client and run both normal and module commands.

Document how to access the underying low level Redis client, in order to run commands it understands e.g. GET, SET plus those it doesn't which will mosty relate to modules e.g. BF.ADD.

Example of how to do this for reference:
from redis_om import get_redis_connection

redis_conn = get_redis_connection()
redis_conn.set("hello", "world")

Also this
class Customer(JsonModel):
    name: str

redis_conn = Customer.db()
redis_conn.set("hello", "world")

This also needs documenting for use in async code.

When documenting this, use expire as the example.


Enable the ExistentialAny feature on all the repos

Enable the ExistentialAny feature on all the repos.
The work was already done in PRs like #99, however we found that on Swift 5.8 toolchains there's an issue where the enable flag seems to propagate to dependees, so we will first disable the enforcement, until we require 5.9: #75.

More details on the issue: https://github.com/apple/swift-openapi-runtime/pull/26
And in https://github.com/apple/swift-openapi-runtime/pull/25#issuecomment-1635958854

We only disabled it on 5.8, but kept it enabled on 5.9.
So this issue tracks removing the conditional logic once we require 5.9, and have it enabled unconditionally.

Do we feel this issue has any residual value since we have CI for >= 5.9 which tests that we are using existential any in the whole codebase.
The only place we're not currently testing would be if we had code in an #if swift(<5.9) or similar, which we don't have.
Given we have #75, at some point we won't be using 5.8 at all, so I think this issue can probably be closed

Let me rename it, I meant to have it track the cleanup of the conditional logic, and block it on 5.9 adoption. We have a few more tasks like this, blocked on 5.9 adoption.

OK, I thought that's what you wanted this issue to be for. I just thought we could just roll this into a task when we make 5.9 the minimum version.

however we found that on Swift 5.8 toolchains there's an issue where the enable flag seems to propagate to dependencies

For me personally, this doesn't cause an problems as long as the code itself is existential-any-compatible, which it is, but i'm curious to know what is the issue if it's filed anywhere 🤔

however we found that on Swift 5.8 toolchains there's an issue where the enable flag seems to propagate to dependencies

For me personally, this doesn't cause any problems as long as the code itself is existential-any-compatible, which it is, but i'm curious to know what is the issue if it's filed anywhere 🤔

Well, it seems to have been fixed in 5.9 between 04-26 and 04-27, unfortunately it still seems to cause issues in 5.8, which is why we only enable it on 5.9.

Landed in main, will be released in 1.0.0-alpha.1.


PCV. mo missing Xi_out=Xi_in

Hi, Thank s for this great library.
Into the PCV.mo model, it miss the equation "Xi_out=Xi_in"
Best regards,
François

Can you explain this in more detail? The model TFS.FlowControl.PCV seems to be equation-balanced.

Hi,
the equation "Xi_out=Xi_in" has been forgotten (see the other models like partialValve.mo, MCV.mo...). Currently, the model TFS.FlowControl.PCV.mo is equation-balanced for a puresubstance, not for a mixture.
Best regards,
François


CLI commands as plugins

Let's do for Fiona what I did for Rasterio: make existing commands into plugins and allow plugins to be developed as external projects (https://github.com/mapbox/rasterio/pull/346).
As an example, I've got a fio buffer command sitting in a branch https://github.com/Toblerity/Fiona/blob/sequence-processing/fiona/fio/ops.py. Because of the Shapely dependency, this would be better as an external project.
If we design interfaces well, our plugins could implement the multicommand pipelining described in https://github.com/Toblerity/Fiona/issues/173.
/cc @geowurster

Took a shot at this in PR #225.
Command chaining was one of the first things I thought of.  Being able to avoid the JSON serialization hit and QGIS temp-files would be nice and a buffer command seems like a good place to start since its a streaming operation and ogr2ogr doesn't do it.

Re-implement according to https://github.com/mapbox/rasterio/commit/225179d30db07205108364c424d4094d61ebc4d3 and https://github.com/mapbox/rasterio/commit/2ef9e4815b05a35352f47298417ba223db2ca7d9
@sgillies can you assign this to me so I don't lose track?


fix inefficient load market info call (for volume and placing new order, for example)

...
added related tix ch6815 this tix would get fixed indirectly, leaving open until that happens.
-bthaile
...
@johndanz Just a reminder for when you start working on this ticket -- please try to break it up into smaller tasks once you get more info from Paul/Scott.
-adrake33

this isn't needed anymore because of new SDK structure. closing


Make cache an interface?

I would like to also have pooled disk caches as well as pooled memory caches. It would be useful if the cache code was an interface to allow this or other custom caches, though I know this has performance implications.
This late in the game the change my be too disruptive to existing code so just close the issue if its unlikely to be accepted.

It'd be better to work on a fork if you want to add more features to this package.


chore: remove the nightly workflow from build/test/deploy and add its own workflow

…

Description of changes
Fixes the broke master runs and creates a nightly workflow for running e2e test suite.

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #10368 (b939f8b) into master (18d4eec) will increase coverage by 0.01%.
The diff coverage is 62.85%.

@@            Coverage Diff             @@
##           master   #10368      +/-   ##
==========================================
+ Coverage   46.43%   46.45%   +0.01%
==========================================
  Files         697      697
  Lines       35164    35179      +15
  Branches     7126     7130       +4
==========================================
+ Hits        16329    16342      +13
- Misses      17046    17048       +2
  Partials     1789     1789

Impacted Files
Coverage Δ

...n/auth-stack-builder/auth-cognito-stack-builder.ts
69.69% <ø> (ø)

...tack-builder/auth-user-pool-group-stack-builder.ts
54.54% <ø> (ø)

...ackages/amplify-cli/src/init-steps/s9-onSuccess.ts
13.49% <33.33%> (+0.04%)
:arrow_up:

...formation/cdk-stack-builder/apigw-stack-builder.ts
61.61% <60.00%> (+0.15%)
:arrow_up:

...function-runtime-provider/src/utils/legacyBuild.ts
57.40% <61.53%> (+7.40%)
:arrow_up:

...der-awscloudformation/src/system-config-manager.ts
48.47% <100.00%> (+1.15%)
:arrow_up:

...dformation/src/utils/consolidate-apigw-policies.ts
68.37% <100.00%> (+0.54%)
:arrow_up:

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


Create a wiki page for contracts

Create a wiki page that has a list of all main net contracts and all Sejong contracts
BAND oracle on Sejong- cx900e2d17c38903a340a0181523fa2f720af9a798

For now let's start with descriptions of different testnet deployments and their addresses.


High GPU residency in latest version

in latest version, rendering is eating lots of GPU, like:

And mouth pointer could be really slow on the image.
Any idea about this?

@baizebing What is the dimension of image you load into PixelViewer? And what use case will cause high GPU usage as you mentioned?

Hi @hamster620  actually in any case, it would occupy GPU at more than 10%. And what's worse is that even if I close the image, the GPU high residency is still there.
Besides, I found the mouse cursor could be really unsmooth when hover on the image. Compared to this issue, I remember several versions ago, it's quite easy to use and smooth.
I'm using i9-10900 CPU and its integrated GPU with 64GB RAM.
Not sure if this can re-pro on your side?

Edition	Windows 11 Pro
Version	23H2
Installed on	3/18/2023
OS build	22631.3880
Serial number	4CV0508GH8
Experience	Windows Feature Experience Pack 1000.22700.1020.0
My OS info.

Edition	Windows 11 Pro
Version	23H2
Installed on	3/18/2023
OS build	22631.3880
Experience	Windows Feature Experience Pack 1000.22700.1020.0
My os info

@baizebing It may caused by the GUI framework (Avalonia) not working properly with your GPU driver. Please try disabling ANGLE in application options and check the symptom again. If the symptom is still there, then we may need to wait for upgrading GUI framework in the future.

For mouse cursor, we will consider showing system cursor and the pixel selector at same time instead of hiding system cursor.


Adding Picture into a merged cell is unable to adjust the alignment in the cell

Description

I tried to insert a picture into a merged cell and I wanted to align the picture with the cell as "center".
Steps to reproduce the issue:

Merge Cells
if err := f.MergeCell("Sheet1", "A1", "C6"); err != nil {  	......  }
Add Picture
if err := f.AddPicture("Sheet1", "A1", "image.png",  	&excelize.GraphicOptions{  		AutoFit:         true,  		LockAspectRatio: true,  	}); err != nil {  	......  }
Apply Alignment Style
centralStyle, err := f.NewStyle(&excelize.Style{  	Alignment: &excelize.Alignment{  		Horizontal: "center",  		Vertical:   "center",  	},  })  if err != nil {  	......  }

Describe the results you received:
The outcome picture in the cell is still align left not center.
I read the source code in github and found that there's a const PictureInsertType to control the picture insert type, but I got error with
Functional\excelize.go:163:4: unknown field InsertType in struct literal of type excelize.Picture Functional\excelize.go:163:16: undefined: PictureInsertTypePlaceInCell.
And the code I used for trying to involve the PictureInsertType.
	if err := f.AddPictureFromBytes("Sheet1", "A1", 		&excelize.Picture{Extension: ".png", File: file, Format: &excelize.GraphicOptions{AutoFit: true}, 			PictureInsertType: PictureInsertTypePlaceInCell}); err != nil { 		...... 	}
Describe the results you expected:
I found out that the picture insert type is "insert over cell" with the "AddPicture" function.
I'd like to know in which way can I configure the picture's alignment type or the picture insert type as "add picture into cell".
Output of go version:
go version go1.21.6 windows/amd64

Excelize version or commit ID:
github.com/xuri/excelize/v2 v2.8.1

Environment details (OS, Microsoft Excel™ version, physical, etc.):

Thanks for your issue. This library support gets the cell images inserted by IMAGE formula function by PR #1857, the PictureInsertType data type introduced by this PR, also reference commit 5dc22e8. You need to upgrade to the master branch code via command go get -u github.com/xuri/excelize/v2@master, this feature will be released in the next version, but as the documentation of the AddPicture function says: this function only supports adding pictures placed over the cells currently, and doesn't support adding pictures placed in cells or creating the Kingsoft WPS Office embedded image cells, so you can't change the picture place as in cells by PictureInsertType, and the alignment style also not use for image, which just take effect for text or rich-text in the cell. Currently, you can specify a value in OffsetX field to change image alignment with cells, for example:
f.AddPicture("Sheet1", "A1", "image.png",
    &excelize.GraphicOptions{
        AutoFit:         true,
        LockAspectRatio: true,
+       OffsetX:         10,
})

You can calculate offset value by merged cell range width and image width, the width of merged cell range can be got by cumulate width of each column width, get each column width by GetColWidth function. I'll consider adding support for adding pictures placed in cells. This feature will be like issue #1873, so I'll close this, and track the feature on that issue. If you have any questions, please let me know, and you can reopen this anytime. Contributions are welcome. I'll certainly accept that patch if somebody did that.

Appreciate for the information that will have PictureInsertType in the next version.
And also thanks for the tips for using the OffsetX  argument when using AddPicture. But I found the result is weird, and I don't know if it's because it's inserted into a merged cell. When tried to use OffsetX with a calculated number for center alignment purpose, the picture ended up being squeezed. (Snapshot pictures are as below: No OffsetX and With OffsetX)

Could you show us a complete, standalone example program or reproducible demo? Please provide the image file attachment if you can.

Here's the code:
`package main
import (
"fmt"
_ "image/png"
excelize "github.com/xuri/excelize/v2"
)
func main() {
f := excelize.NewFile()
// Set Column Width
if err := f.SetColWidth("Sheet1", "A", "G", 20); err != nil {
	fmt.Println(err)
}
// Merge Cells
if err := f.MergeCell("Sheet1", "A1", "C6"); err != nil {
	fmt.Println(err)
}
// Add Picture
if err := f.AddPicture("Sheet1", "A1", "IMAGE.png", &excelize.GraphicOptions{
	AutoFit:         true,
	LockAspectRatio: true,
	OffsetX:         90,
}); err != nil {
	fmt.Println(err)
}
// Save File
if err := f.SaveAs("Book1.xlsx"); err != nil {
	fmt.Println(err)
}

}
`
And the picture I inserted:

Thanks for your feedback. I think insert to the middle column of the merged cells column, and change image scale in your case would be more works, it should be like this:
f.AddPicture("Sheet1", "B1", "IMAGE.png", &excelize.GraphicOptions{
    OffsetX: 5,
    ScaleX:  0.135,
    ScaleY:  0.135,
})


Migrate azure-dev repo to use the new Check Enforcer and decommission the obsolete CheckEnforcer tool

Current Check Enforcer tool is a GitHub action living in azure-sdk-actions repo.
However, there is also an obsolete Check Enforcer in use, which should be decommissioned. I made a PR doing that here:

#4963

Turns out, we cannot delete it yet, as it is being used, at least by azure-dev repo. To migrate azure-dev to use the new Check Enforcer, we need to update the workflows in azure-dev repo to call into the GitHub action-based Check Enforcer workflow, .github/workflows/event.yml.
For details and alternative approaches we considered, see that PR's discussion, especially the Teams discussion linked from this comment.
Once we migrate azure-dev to the new Check Enforcer, we should decommission the old Check Enforcer by doing the following:

delete the source code and pipeline as proposed by #4963;
delete all eng/CHECKENFORCER files; CHECKENFORCER files are per-repo configs for what the help comments Check Enforcer made should read. These now live in the azure-sdk-actions repo and are no longer customizable on a per-repo basis;
update all docs to point to the new Check Enforcer.

Once we decommission the old Check Enforcer, we now should be able to also decomission WebhookRouter tools, as captured by this issue:

#4992

You should be unblocked on this now. These are done:

delete all eng/CHECKENFORCER files; CHECKENFORCER files are per-repo configs for what the help comments Check Enforcer made should read. These now live in the azure-sdk-actions repo and are no longer customizable on a per-repo basis;
update all docs to point to the new Check Enforcer.

I asked question related to that here:

https://github.com/Azure/azure-sdk-tools/issues/4992#issuecomment-1402484669

Per this comment and my discussion with @benbp I will delete the no longer used Azure resources related to CheckEnforcer. The exact list of resources I am going to delete is listed here, on Azure SDK / Engineering System Teams channel.

@weshaggard we could also go in and delete the github app, but I'm wondering whether we want to keep it around for future use given the steps it takes to onboard an app into azure (though I'm not a fan of continuing to use the old name).

I think the app is also shared with webhook router for the same reasons of setting up is costly so we should probably keep the app around until we decommission that as well.


fix render README in HACS

Better to use link to commit. So old readme won't be broken when file will be remove in latest master
https://raw.githubusercontent.com/AlexxIT/HassDiagnostics/101177ca7e4fcdc56242ab772e4a88224c9e162d/smart_log.png

Thanks!


az vm create: creates NSG in wrong location

This works:
az resource group create -n wusgroup -l "West US"
az vm create -n test -g wusgroup --image credativ:Debian:8:latest --authentication-type ssh

This breaks:
az resource group create -n wusgroup -l "East US"
az vm create -n test -g wusgroup --image credativ:Debian:8:latest --authentication-type ssh

It creates the NSG in West US and comes back with:
At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details. {
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "DeploymentFailed",
        "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
        "details": [
          {
            "code": "BadRequest",
            "message": "{\r\n  \"error\": {\r\n    \"code\": \"InvalidResourceReference\",\r\n    \"message\": \"Resource /subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/TESTGROUP/providers/Microsoft.Network/networkSecurityGroups/TESTNSG referenced by resource /subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/testgroup/providers/Microsoft.Network/networkInterfaces/testVMNic was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"NotFound\",\r\n        \"message\": \"Resource /subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/TESTGROUP/providers/Microsoft.Network/networkSecurityGroups/TESTNSG not found.\"\r\n      }\r\n    ]\r\n  }\r\n}"
          }
        ]
      }
    ]
  }
}

This should have been fixed with PR #599. It looks like the template being pulled down is still the old one with the hardcoded value.

@irl We've fixed the referenced templates and this should be fixed.


Property sources reloaded multiple times on restart

I'm trying to integrate a property source into my project using spring-cloud-context. When properties change, I need to do a full restart of the application context to refresh my beans (property reload is not sufficient). I noticed that at every restart, my property source is loaded once more. I explain...
This is the log when I boot the application:
2016-10-08 08:30:33.906  INFO 8648 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: MapPropertySource [name='myMap']

This is after the first restart:
2016-10-08 08:31:15.658  INFO 8648 --- [       Thread-3] b.c.PropertySourceBootstrapConfiguration : Located property source: MapPropertySource [name='myMap']
2016-10-08 08:31:15.662  INFO 8648 --- [       Thread-3] b.c.PropertySourceBootstrapConfiguration : Located property source: MapPropertySource [name='myMap']

And after the third:
2016-10-08 08:31:58.793  INFO 8648 --- [       Thread-6] b.c.PropertySourceBootstrapConfiguration : Located property source: MapPropertySource [name='myMap']
2016-10-08 08:31:58.795  INFO 8648 --- [       Thread-6] b.c.PropertySourceBootstrapConfiguration : Located property source: MapPropertySource [name='myMap']
2016-10-08 08:31:58.796  INFO 8648 --- [       Thread-6] b.c.PropertySourceBootstrapConfiguration : Located property source: MapPropertySource [name='myMap']

Is this just a log or is there something not unregistered correctly in spring-cloud-context?
I created a project to reproduce the issue: https://github.com/nicolaferraro/spring-cloud-context-example
I fire the restart using actuator:
curl -X POST http://localhost:8080/restart

Can you please use the latest v1.1.8.RELEASE and see if the problem persists? I would recommend using the spring-cloud-dependencies bom (Camden.SR6) rather than trying to manage the right version on your own.


[bug]:  FLUX model install - Model install error: InvokeAI/clip-vit-large-patch14-text-encoder::bfloat16

Is there an existing issue for this problem?

[X] I have searched the existing issues

Operating system
Linux
GPU vendor
Nvidia (CUDA)
GPU model
RTX
GPU VRAM
24
Version number
v5.4.0
Browser
Chrome
Python dependencies
No response
What happened
When I tried installing FLUX Schnell (Quantized) model via starter models I get this error, which makes it impossible to use FLUX:
[ModelInstallService]::ERROR --> Model install error: InvokeAI/clip-vit-large-patch14-text-encoder::bfloat16
ValidationError: 1 validation error for tagged-union[MainDiffusersConfig,MainCheckpointConfig,MainBnbQuantized4bCheckpointConfig,MainGGUFCheckpointConfig,VAEDiffusersConfig,VAECheckpointConfig,ControlNetDiffusersConfig,ControlNetCheckpointConfig,LoRALyCORISConfig,LoRADiffusersConfig,T5EncoderConfig,T5EncoderBnbQuantizedLlmInt8bConfig,TextualInversionFileConfig,TextualInversionFolderConfig,IPAdapterInvokeAIConfig,IPAdapterCheckpointConfig,T2IAdapterConfig,SpandrelImageToImageConfig,CLIPVisionDiffusersConfig,CLIPEmbedDiffusersConfig,CLIPLEmbedDiffusersConfig,CLIPGEmbedDiffusersConfig]
clip_embed.diffusers.variant
Input should be 'large' or 'gigantic' [type=enum, input_value=<ModelVariantType.Normal: 'normal'>, input_type=ModelVariantType]
For further information visit https://errors.pydantic.dev/2.7/v/enum
What you expected to happen
I would excpect that starter models work out of the box.
How to reproduce the problem
No response
Additional context
No response
Discord username
No response

same problem

I'm having the same problem too

I am also having this issue with importing any clip model such as
ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors
on HF and the original openai clip.

I am pretty sure this is the commit that broke the logic:
https://github.com/invoke-ai/InvokeAI/commit/b87f4e59a52c6481ce59a5cd980c947cda68aadd

My suggestion would be to add "normal" to types and it should resolve the problem, but do not have time to actually test it today...

This is fixed by #7275 and #7283.

@rrandrews the v5.4.0 release was marked as a prerelease and pulled because of this issue. The fix will be in the next stable release.

still broke 5.4.1
download with invokeai system everything works
then i take same stuff downloaded move to my shared model folder
point invoke at the files it just downloaded and doesnt work


Fixed #29258 -- Raised TypeError for invalid auth backend

Fixes https://code.djangoproject.com/ticket/29258
Raised a  TypeError when the type of backend passed to contrib.auth.login is invalid. Provides better error messaging.

Shouldn't this be in manage.py checks rather?

manage.py checks? Didn't get you..

Can you write a test for this?

@schinckel Is a test really required for it?
Just confirming as it was not mention in this ticket

Please put the check in an "else" block of the try/except.

Made all the requested changes


Can't use mac CLI

Hi.
When i try to call the CLI on my Mac, i get "keybase command not found"
I'm a n00b fixing things outside the OS GUI. I did try some stuff based on what i found, but still haven't been able to get it to work.
I've tried to create a sym link in /usr/local/bin, but when i call keybase, it gives me "-bash: /usr/local/bin/keybase: cannot execute binary file". I guess i'm doing something wrong.
When i copy keybase from the app-contents to /usr/local/bin and call keybase, i get "No app bundle: Unable to resolve bundle for valid path: /usr/local/bin/keybase; %!s()
▶ ERROR There were multiple errors: dial unix /Users/raoul/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock: connect: no such file or directory; dial unix /Users/raoul/Library/Caches/Keybase/keybased.sock: connect: no such file or directory"
The reason i need the CLI is the following: on my Mac i have 2 volumes. On one i have an environment i can work on. When a new OS version is released, i install it on the other volume. When everything works, i switch to that volume for working, and if a new version of the OS is released, i repeat. So i always have a working environment i can switch back to. Now: on 1 volume i installed Keybase. Than i decided i want to try a newer OS, so i installed it and all apps, including Keybase. But on install, it wants me to connect to the device Keybase is already installed on. I can't, because it is on the same device, but another volume. I found in the CLI i can remove a device from my device list. But i can't get the CLI to work. So now i'm stuck.
Could the remove/add device be added to the Keybase web environment?

(For now i've booted back into the other volume, ran the Keybase GUI, removed the device)

(back in my other volume ... logged in ... but removing that 1 device apparently has the consequence i'm kicked out of my teams ... i assume this has something to do with keys being destroyed?)

I like your setup!
I had a first-time installation just now, when I forgot to open a new terminal.  I haven't tracked down how keybase adds itself to the PATH -- it's not in ~/.bash_profile like I expect...
It's also a little weird that Keybase requires root on OSX, without explanation...
my log id: 6416dd07bb1da417a8a6921c


Move from MVP to MVVM

Using MVP leads to memory leaks during configuration changes.
One way of getting rig of it is using retain fragments.
Another way is to move to MVVM with Architecture Components
Links:

Architecting Android...Reloaded

Watch this docs as an example: https://github.com/android/nowinandroid/blob/main/docs/ArchitectureLearningJourney.md


How to linked ROS with OpenCV 3.4.5 dnn module? Error: undefined reference cv::dnn:experimental_dnn_v2::Net::Net()

Hi, I'm trying to use publisher-subcriber no to run my object recognition program by streaming images from my webcam. In my program, I am using readNetFromTensorflow function that provided by opencv_dnn library. But while I catkin_make on my workspace, there is always popup this error:
CMakeFiles/my_subscriber.dir/src/my_subscriber.cpp.o: In function `main':
my_subscriber.cpp:(.text+0x2ee): undefined reference to `cv::dnn::experimental_dnn_v2::readNetFromTensorflow(cv::String const&, cv::String const&)'
my_subscriber.cpp:(.text+0x30e): undefined reference to `cv::dnn::experimental_dnn_v2::Net::setPreferableBackend(int)'
my_subscriber.cpp:(.text+0x31a): undefined reference to `cv::dnn::experimental_dnn_v2::Net::setPreferableTarget(int)'
my_subscriber.cpp:(.text+0x4c4): undefined reference to `cv::dnn::experimental_dnn_v2::Net::~Net()'
my_subscriber.cpp:(.text+0x5f0): undefined reference to `cv::dnn::experimental_dnn_v2::Net::~Net()'
collect2: error: ld returned 1 exit status
image_transport_tutorial/CMakeFiles/my_subscriber.dir/build.make:176: recipe for target '/home/odroid/image_transport_ws/devel/lib/image_transport_tutorial/my_subscriber' failed
make[2]: *** [/home/odroid/image_transport_ws/devel/lib/image_transport_tutorial/my_subscriber] Error 1
CMakeFiles/Makefile2:1125: recipe for target 'image_transport_tutorial/CMakeFiles/my_subscriber.dir/all' failed
make[1]: *** [image_transport_tutorial/CMakeFiles/my_subscriber.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

And here is my program so far:
#include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>

#include <opencv2/highgui.hpp>
#include <opencv2/dnn.hpp>
#include <opencv2/calib3d.hpp>

using namespace std;
using namespace cv;

const size_t inWidth = 320;
const size_t inHeight = 320;
const char* classNames[] = {"background",
                            "A", "B", "C"};
cv_bridge::CvImagePtr cv_ptr;
int h,w;

void imageCallback(const sensor_msgs::ImageConstPtr& msg)
{

  try
  {
    cv_ptr = cv_bridge::toCvCopy(msg, sensor_msgs::image_encodings::BGR8);
    w = cv_ptr->image.cols;
    h = cv_ptr->image.rows;

    cv::waitKey(10);
  }
  catch (cv_bridge::Exception& e)
  {
    ROS_ERROR("Could not convert from '%s' to 'bgr8'.", msg->encoding.c_str());
  }
}

int main(int argc, char **argv)
{
  ros::init(argc, argv, "image_listener");
  ros::NodeHandle nh;
  cv::namedWindow("view");
  cv::startWindowThread();
  image_transport::ImageTransport it(nh);
  //! [Initialize network]
  cv::dnn::Net net = dnn::readNetFromTensorflow("/home/odroid/Desktop/Archive/frozen_inference_graph.pb","/home/odroid/Desktop/Archive/graph.pbtxt");
  net.setPreferableBackend(3);
  net.setPreferableTarget(1);
  //! [Initialize network]

  image_transport::Subscriber sub = it.subscribe("camera/image", 1, &imageCallback);
  //cv::Mat inputBlob = cv::dnn::blobFromImage(cv_ptr->image,1.0, Size(inWidth,inHeight),Scalar(127.5,127.5,127.5), true,false); //Convert Mat to batch of images

  //net.setInput(inputBlob);
  //Mat detection = net.forward();

  ros::spin();
  cv::destroyWindow("view");
}

If I comment cv::dnn::Net, I can build 100% complete.
And here is my CMakeLists.txt:
cmake_minimum_required(VERSION 3.1)

#Enable C++11
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)

project(image_transport_tutorial)

find_package(catkin REQUIRED COMPONENTS cv_bridge image_transport message_generation sensor_msgs)

# add the resized image message
add_message_files(DIRECTORY msg
   FILES ResizedImage.msg
)
generate_messages(DEPENDENCIES sensor_msgs)

catkin_package(CATKIN_DEPENDS cv_bridge image_transport message_runtime sensor_msgs)

find_package(OpenCV REQUIRED)
#Set OpenCV
set(OpenCV_INCLUDE_DIRS /usr/local/include/ /usr/local/include/opencv2/)

#Print some message showing some of them
message(STATUS "OpenCV library status:")
message(STATUS "config: ${OpenCV_DIR}")
message(STATUS "version: ${OpenCV_VERSION}")
message(STATUS "libraries: ${OpenCV_LIBRARIES}")
message(STATUS "include path: ${OpenCV_INCLUDE_DIRS}")

include_directories(include ${catkin_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS})

# add the publisher example
add_executable(my_publisher src/my_publisher.cpp)
add_dependencies(my_publisher ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(my_publisher ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})

# add the subscriber example
add_executable(my_subscriber src/my_subscriber.cpp)
add_dependencies(my_subscriber ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(my_subscriber ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})

# add the plugin example
add_library(resized_publisher src/manifest.cpp src/resized_publisher.cpp src/resized_subscriber.cpp)
add_dependencies(resized_publisher ${catkin_EXPORTED_TARGETS} ${${PROJECT_NAME}_EXPORTED_TARGETS})
target_link_libraries(resized_publisher ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})

# Mark executables and/or libraries for installation
install(TARGETS my_publisher my_subscriber resized_publisher
  ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

install(DIRECTORY launch/
        DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
)

install(DIRECTORY model/
        DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/model
)

install(FILES resized_plugins.xml
        DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)

**

UPDATES:

**
If I catkin_make by using opencv 3.3.1, which is built while I installed ROS Kinetic, I can compiled it 100% successful. But when I do some rosrun, it will cause some error. Here is the error:
Preprocessor/sub:Sub(Preprocessor/mul)(Preprocessor/sub/y) OpenCV Error: Unspecified error (Unknown layer type Sub in op Preprocessor/sub) in populateNet, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/dnn/src/tensorflow/tf_importer.cpp, line 1311
I have done some browsing for a few days and found a guy that saying it's because of cv_bridge and image_transport of the opencv that comes with ROS.Here the link:https://answers.ros.org/question/318146/using-opencv-dnn-module-with-ros/ Please help, Any help will be appreciate.

I finally solved this issue, here the solution:
$ cd ~/catkin_ws
$ git clone https://github.com/ros-perception/vision_opencv src/vision_opencv
$ git clone https://github.com/ros-perception/image_transport_plugins.git src/image_transport_plugins
$ catkin_make

Mantap!

I am not sure if you have seen the ROS support guidelines but we kindly ask to raise questions like this on answers.ros.org instead.
The rational for asking all kind of questions in a single place is:

There are many more people reading questions there so your chances on getting an answer and in a timely manner are much higher.
In the future other users will search there for similar problems and can find your question and the potential answers.
The issue tracker in this repo is used to track bugs, feature requests, etc. But your question is not such an action item.

Therefore I will close this ticket here for now. If you have asked your question on answers.ros.org please feel free to add a link to the question to this ticket so that future readers can find the related question.


CAPK should not required custom capk user

What steps did you take and what happened:
The current CAPK logic requires a SSH keys pair to be created and it modifies the cloud-init user-data generates by Kubeadm to add the custom user - capk - with the public SSH key authorizing it to SSH to each node. This is required so that CAPK can check that each node bootstrapped correctly.
What did you expect to happen:
Probing for the node health should be deferred to K8s, such that the readiness is reported on the VM(I). This could use one of the handlers provided by KubeVirt.
Environment:

Cluster-api version: v1beta1
Cluster-api-provider-kubevirt version: v1alpha1
Kubernetes version: (use kubectl version): v1.20.15
KubeVirt version: v1
OS (e.g. from /etc/os-release): CentOS 7

/kind bug

/remove-lifecycle

/remove-lifecycle stale

/remove-lifecycle rotten


unable to login to NPM

Hi,
While I am able to get to the NPM page, when I try to sign in I get Bad Gateway
Setup:
Running a Raspberry Pi 4 with Debian - arm7 and the following is on top:

Portainer
Hassio
OMV
Jellyfin
NextCloud

Guide followed: https://nginxproxymanager.com/setup/#running-the-app
docker-compose.yaml
version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: unless-stopped
    ports:
      # These ports are in format <host-port>:<container-port>
      - '80:80' # Public HTTP Port
      - '4443:4443' # Public HTTPS Port
      - '81:81' # Admin Web Port
      # Add any other Stream port you want to expose
      # - '21:21' # FTP
    environment:
      DB_MYSQL_HOST: "db"
      DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: "npm"
      DB_MYSQL_PASSWORD: "npm"
      DB_MYSQL_NAME: "npm"
      # Uncomment this if IPv6 is not enabled on your host
      DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
    depends_on:
      - db

  db:
    image: 'yobasystems/alpine-mariadb:latest'
    restart: unless-stopped
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
    volumes:
      - ./data/mysql:/var/lib/mysql

Log error:
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[2/6/2022] [10:19:01 AM] [Global   ] › ✖  error     ER_ACCESS_DENIED_ERROR: Access denied for user<EMAIL_ADDRESS>(using password: YES)
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01_perms.sh: executing...
Changing ownership of /data/logs to 0:0
[cont-init.d] 01_perms.sh: exited 0.
[cont-init.d] 01_s6-secret-init.sh: executing...
[cont-init.d] 01_s6-secret-init.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Disabling IPV6 in hosts
❯ Disabling IPV6 in hosts: /etc/nginx/conf.d
  ❯ /etc/nginx/conf.d/include/proxy.conf
  ❯ /etc/nginx/conf.d/include/block-exploits.conf
  ❯ /etc/nginx/conf.d/include/ip_ranges.conf
  ❯ /etc/nginx/conf.d/include/ssl-ciphers.conf
  ❯ /etc/nginx/conf.d/include/assets.conf
  ❯ /etc/nginx/conf.d/include/force-ssl.conf
  ❯ /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf
  ❯ /etc/nginx/conf.d/include/resolvers.conf
  ❯ /etc/nginx/conf.d/default.conf
  ❯ /etc/nginx/conf.d/production.conf
Disabling IPV6 in hosts
❯ Disabling IPV6 in hosts: /data/nginx
[2/6/2022] [10:19:44 AM] [Global   ] › ✖  error     ER_ACCESS_DENIED_ERROR: Access denied for user<EMAIL_ADDRESS>(using password: YES)
[2/6/2022] [10:19:45 AM] [Global   ] › ✖  error     ER_ACCESS_DENIED_ERROR: Access denied for user<EMAIL_ADDRESS>(using password: YES)
[2/6/2022] [10:19:46 AM] [Global   ] › ✖  error     ER_ACCESS_DENIED_ERROR: Access denied for user<EMAIL_ADDRESS>(using password: YES)

Figured it out, for anyone to know how to fix it. I had to delete /data from /nginx folder which had an old and incorrect database password saved in it.


feat: Use istio to provide Gateway API support

Ⅰ. Describe what this PR did
Use istio to provide Gateway API support.
For newly added envs:

PILOT_ENABLE_GATEWAY_API: If this is set to true, support for Kubernetes gateway-api (github.com/kubernetes-sigs/gateway-api) will be enabled. In addition to this being enabled, the gateway-api CRDs need to be installed. Default to true in istio.
PILOT_ENABLE_GATEWAY_API_STATUS: If this is set to true, gateway-api resources will have status written to them. Default to true in istio.
PILOT_ENABLE_GATEWAY_API_DEPLOYMENT_CONTROLLER: If this is set to true, gateway-api resources will automatically provision in cluster deployment, services, etc. Default to false in istio.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Gateway API resources for testing:
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: Gateway
metadata:
  name: higress-gateway
  namespace: higress-system
spec:
  gatewayClassName: istio
  listeners:
  - name: default
    hostname: "*.test.com"
    port: 80
    protocol: HTTP
    allowedRoutes:
      namespaces:
        from: All
---
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: HTTPRoute
metadata:
  name: http
  namespace: default
spec:
  parentRefs:
  - name: higress-gateway
    namespace: higress-system
  hostnames: ["www.test.com"]
  rules:
  - matches:
    - path:
        type: PathPrefix
        value: /
    filters:
    - type: RequestHeaderModifier
      requestHeaderModifier:
        add:
        - name: my-added-header
          value: added-value-higress
    backendRefs:
    - name: home-service # This needs to be changed to a valid local K8s service reference
      port: 8080

Ⅴ. Special notes for reviews

Codecov Report

Merging #543 (ba606b9) into main (8062625) will decrease coverage by 0.33%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #543      +/-   ##
==========================================
- Coverage   40.32%   40.00%   -0.33%
==========================================
  Files          45       45
  Lines        6184     6184
==========================================
- Hits         2494     2474      -20
- Misses       3517     3537      +20
  Partials      173      173

see 1 file with indirect coverage changes

When set PILOT_ENABLE_GATEWAY_API to true, will automatically install GWAPI related Resources(CRDs)?

When set PILOT_ENABLE_GATEWAY_API to true, will automatically install GWAPI related Resources(CRDs)?

So far, no. Should we?

So when you test this feature, you manually install gwapi resources?

So it will confuse people if they install the latest version of gwapi.
Two options:

Add docs to tell which latest gwapi version higress(binded istio) supports.
Include GWAPI resources into Helm Chart, and install them when enabling gwapi features.

WDYT @CH3CHO @johnlanni

@Xunzhuo I agree, we will add instructions like the "Supporting Istio CRD" section here.


deb: don't use recursive chown

It fixes W: maintainer-script-should-not-use-recursive-chown-or-chmod.
In postinst script, permission should be changed explicitly
to mitigate hardlink attacks.

Fixed.

Thanks!


Remove whitelist management

What this PR do?
This large refactoring changes the way the authentication API is used for both admins and volunteer collaborators of the collaborative training.
Now, the management of the allow-list  is done via the Access control feature available on the Hub and this server is only used to 1) manage the access passes delivered to the collaborators volunteering to join the collaborative training and 2) store for the administrators the private key of the experience.
Details

One experiment = an HF organization + a model
An allow-list = the members of an HF organization
The admins of an experiment = the HF members that have an admin role in the corresponding organization

New workflow
For the admins of the collaborative experiment

An administrator need to create a new organization on the HF site: https://huggingface.co/organizations/new
All other administrators must request to join the organization and/or the first administrator can send invitations
Administrators should communicate to volunteer collaborators the name of the organization and the model that will be hosted in this organization that will be trained collaboratively (this replaces experiment_id used previously)
Administrators should create the corresponding experiment on the authentication API by specifying:

"organization_name"
"model_name"
"coordinator_ip" (can be changed later with an update request)
"coordinator_port" (can be changed later with an update request)

Administrators must accept requests from willing collaborators to join the collaborative training (and give them a read role). By doing that the administrators will add the collaborator to the allow-list. These requests will be sent by email and can be viewed directly on the organization page.

For the volunteers of the collaborative experiment

He will have to create a huggingface account
He will have to ask to join the organization by clicking on the dedicated button on the organization's page
He will always have to connect to his local HF account when joining the collaborative training in order to share a token to the authentication API. This simply means that he will have to re-enter his username and password when asked by the software.

I am merging this PR as I will be deploying this changes but feel free to do a post review on it. I will use another branch to make the changes :slightly_smiling_face:


Factory method 'dataSource' threw exception; nested exception is io.shardingsphere.core.exception.ShardingException: java.sql.SQLException: Column name pattern can not be NULL or empty.

Question
I have two database with 4 tables in each.
db0{tbl0,tbl1,xtbl0,xtbl1}
db1{tbl2,tbl3,xtbl2,xtbl3}
I have configure application.properties but no datasource configuration. Is this problem means I should manually implement the datasource configuration?
Sorry for no demo code provided since the code should be private.
For English only, other languages will not accept.
Before asking a question, make sure you have:

Googled your question.
Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.

What is your version, SQL and sharding rule configuration?

4.0.0.RC2，sql 5.6,  two databases with 4 tables in each. I want to check
that whether should I implement the datasource. Besides, I have other
databases in the same project such as mongodb, mysql, they are correctly
configured and being used already, I want to use sharding-jdbc to configure
another database in the same project.
Liang Zhang<EMAIL_ADDRESS>于2019年11月16日周六 上午10:58写道：

What is your version, SQL and sharding rule configuration?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-shardingsphere/issues/3532?email_source=notifications&email_token=ADRPETNCYDAISZCOYC3WBBTQT5OUVA5CNFSM4JNY2F6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEHHYTQ#issuecomment-554597454,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADRPETNUUQKGHUBPTIHZUHLQT5OUVANCNFSM4JNY2F6A
.

According to this issue's title, io.shardingsphere.core.exception.ShardingException is very old version, not 4.0.0.RC2, do I make misunderstanding?

Oh, sorry for forgetting my change of code. Originally I used
sharding-jdbc-spring-boot-starter 3.1.0, and I encountered this problem.
董宗磊<EMAIL_ADDRESS>于2019年11月16日周六 下午9:05写道：

According to this issue's title,
io.shardingsphere.core.exception.ShardingException is very old version,
not 4.0.0.RC2, do I make misunderstanding?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-shardingsphere/issues/3532?email_source=notifications&email_token=ADRPETK4RUIXK6RSA4IXUMLQT7VZ7A5CNFSM4JNY2F6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEHRCQI#issuecomment-554635585,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADRPETNFMMS3WU7UN6MBDFLQT7VZ7ANCNFSM4JNY2F6A
.


[Amazon AWS] added Step Functions command

Description
added Step Functions command to search states
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi, @JonathanWbn
Thank you for kind review!! I updated codes, I'm so happy if you check them again😆


Support of Azure Functions Node.js v4 programming model

We've been using this package successfully for our Azure Functions using v3 programming model (with function.json files).
When we started our migration to v4 programming model we discovered that the parsing of multipart form data fails due to Exception: Missing Content-Type, even if headers from the request are identical as before.
Whats seems have changed is that @azure/functions package use a different definition of HttpRequest in version 4.
At the moment we are using the following workaround, but it would be preferable with support in @anzp/azure-function-multipart package:
const headers = {}
for (const [key, value] of request.headers.entries()) {
  headers[key] = value
}

const { files, fields } = await parseMultipartFormData(
  { ...request, body: Buffer.from(await request.arrayBuffer()) },
  { headers }
)

Did you find any alternative?

Did you find any alternative?

No, still using that workaround above.


[ISSUE #2020] Refactor Admin PageHelper to query list.

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2052 (0fdfaec) into master (53704ef) will decrease coverage by 0.56%.
The diff coverage is 7.89%.

@@             Coverage Diff              @@
##             master    #2052      +/-   ##
============================================
- Coverage     60.83%   60.26%   -0.57%
+ Complexity     4034     4020      -14
============================================
  Files           606      607       +1
  Lines         17833    17868      +35
  Branches       1704     1705       +1
============================================
- Hits          10848    10769      -79
- Misses         6110     6220     +110
- Partials        875      879       +4

Impacted Files
Coverage Δ

...che/shenyu/admin/controller/AppAuthController.java
100.00% <ø> (ø)

...enyu/admin/controller/DashboardUserController.java
100.00% <ø> (ø)

...he/shenyu/admin/controller/MetaDataController.java
100.00% <ø> (ø)

...ache/shenyu/admin/controller/PluginController.java
100.00% <ø> (ø)

...henyu/admin/controller/PluginHandleController.java
100.00% <ø> (ø)

...he/shenyu/admin/controller/ResourceController.java
100.00% <ø> (ø)

...apache/shenyu/admin/controller/RoleController.java
87.50% <ø> (ø)

...apache/shenyu/admin/controller/RuleController.java
100.00% <ø> (ø)

...he/shenyu/admin/controller/SelectorController.java
100.00% <ø> (ø)

.../shenyu/admin/controller/ShenyuDictController.java
100.00% <ø> (ø)

... and 17 more

Continue to review full report at Codecov.

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


traverse -> neotraverse

Recently made this https://x.com/puruvjdev/status/1811382220038234296. 100% drop-in replacement(in terms of API, neotraverse/legacy for older browsers & CJS support)
I'd love to make a PR, just not sure the format and which all files to touch. Would be nice to have a CONTRIBUTING.md explaining this 😄

You can add a new doc following this template:
https://github.com/es-tooling/module-replacements/blob/main/docs/templates/module.md
If you know of any other alternatives too, it would be worth listing those so people have options. No worries if you're not aware of any though


add micropython RP2040 i2c driver

what it do
adds an i2c driver that is compatible with the RP2040 port of micropython
depended on by
add support for micropython on RP2040 boards
status
✅ i2c driver seems to work

Updated to be a more generic MicroPython platform driver, not specific to RP2040.
Also updated platform driver imports like suggested to handle cases when other platform drivers are not included.
Will be reviewing this in more detail before merging.


mime: Loosen the ParseMediaType error checking

What version of Go are you using (go version)? 1.5.1
What operating system and processor architecture are you using? Ubuntu Intel 64 bits
What did you do? use mime.ParseMediaType
What did you expect to see? error mime: invalid media parameter
What did you see instead? no error or different type of error
The following is actually output from bad email client for an attachment mime header:

Content-Type: application/octet-stream; name=Viktoria C
Content-Disposition: attachment; filename=Viktoria C

This type of header email will output "mime: invalid media parameter" error under golang. But the same email when open/parse by Thunderbird and other C email library will give the attachment with file name Viktoria instead of Viktoria C.
I understand the main problem is the bad email client and not golang library but the same mail can be opened with other application which is not using Golang library may give the wrong perspective that Golang library capability - the fact is Golang error handling too good that expose those scapegoat buggy software problem. But just because of this tiny error the whole email can not be parsed.
May be Golang library can have something as this to discriminate certain error that can be recovered.

I'm sorry, I don't understand this bug report.  Can you be more precise about what you want changed?  Can you show a demonstration program?

using mime.ParseMediaType to parse the line Content-Type: application/octet-stream; name=Viktoria C or Content-Disposition: attachment; filename=Viktoria C will give error mime: invalid media parameter. I hope Golang library can parse these successfully such as other application which output the file name Viktoria.

For this kind of thing it really helps to show a code example.  Does this show the problem you are reporting?  http://play.golang.org/p/uZH0-U2Qgh .

If that is the problem, I think RFC 2045 is pretty clear: the value must be a token or a quoted string.  A token may not contain a space.  This works: http://play.golang.org/p/fb0OkjnU2L .

Ya. I understood the problem lie on the Content-Type: application/octet-stream; name=Viktoria C. Probably Golang library can treat the line as Content-Type: application/octet-stream; name=Viktoria with error instead of return empty and error.

Is this a bad email client that matters?
Which one?
Where is the bug report for their side?
I'd rather not violate RFCs unless there's a very good reason.

The bad email client that I mentioned most probably is using different non-Golang library for composing the email. I don't have any knowledge on the mail client but just our application received a raw email with this type of bad formatted Content-Type.
Ya, before I posted I did doubt about whether Golang team will even consider this. I just try it. You may not violent the RFC by still returning the error, just different type of error. But currently mime library return "", nil, error check this which wipe out any of the previously successfully parsed mediatype and params.
It would be easier if other email client give error for the same type of email but Thunderbird and some other mail client can read the email. But our email client application can not because we use Golang library to parse the email.
Anyway feel free to close it. There is always others workaround. Thank for the time.

I am closing because I don't see what we can usefully do.  Trying to sort out the meaning of a value that does not follow the RFC is not a job for the standard package.  That has to be done using some sort of application logic.