Check SPID SAML Response

Sono stati implementati tutti i controlli sulla response SAML di Spid.
E' stato introdotto uno switch, nella configurazione del identity provider, per abilitare e disabilitare i messaggi di debug.
Per come sono strutturati i casi di test di AGID i seguenti check risultano uguali: 56 = 51, 84 = 73, 91 = 88, 93 = 90

Thanks for the contribution!
Since the IdP Entity ID validation should actually be performed for standard SAML federations too, I opened a PR against upstream Keycloak (https://github.com/keycloak/keycloak/pull/11084) that also adds automated tests for the feature.
I also reverted the change to the pom.xml (versioning is handled by maven release) and I reverted some import ordering that is intentionally not alphabetical to reduce code diffs against upstream Keycloak (helps in making sure the codebase is aligned to upstream code).
A few more days of testing and I'll publish a new release.

The upstream contribution has been merged and the issuer check is now part of Keycloak.


Maximize/restore by double click

Maximize/restore windows by double click.

To maximize the window, double-click inside it. Click again to restore. When the window is maximized, its size is anchored to the terminal window. The size will be restored automatically when the window is unlinked.
This feature is available in preview v<IP_ADDRESS>.


Icons not working in profile

Is there an existing issue for this?

[X] Yes, I have searched the existing issues and none of them match my problem.

Product Variant
Cloud (https://rxresu.me)
Current Behavior
Icons are not working in the section of profile
Expected Behavior
No response
Steps To Reproduce
No response
What browsers are you seeing the problem on?
No response
What template are you using?
None
Anything else?
No response

Is there a timeline for a fix for this? The PDF's I generate against the Leafish template don't contain the linked in icon despite the builder displaying it

Is there any fix for this?

I also have this issue, it works in the UI but when exporting the icons are broken


sails 0.11.0-rc8: Models overwrite global names

I had a model named "File" that overloaded global.File and sails crashed when i used io.socket.get() in the client, because in ..../has-binary-data/index.js it uses  "instanceof File" and File is no longer a class( constructor function ) or undefined.

It's well documented that Sails globalizes your models by default.  Sounds like your use case conflicts with Socket.io 1.0 in this case.  If renaming your model isn't an option, I'd suggest turning off Sails globals--you can always re-globalize the other ones besides File in your bootstrap if you life.

The globalization in the application is perfectly ok, but i think it's very dangerous, when the system itself breaks, how do you now that the names of your models doesn't conflict? In this case it crashed, so i could find it, but in general, there could be more subtile effects. I think there should be some namespace protection, maybe using node-modules as a barrier between the sails-api and the application.


No file named 'setup_conda_env.sh'

I'm following the instuctions in https://behavior.stanford.edu/omnigibson/getting_started/installation.html#setup to install the omnigibson and I found that the setup_conda_env.sh is missed, who can help? thanks

Hi @Draculair, that documentation is a bit outdated, please use this updated link instead.

Thanks

Hi @Draculair, that documentation is a bit outdated, please use this updated link instead.

I've encountered a new problem. When I run ./scripts/setup.sh, This error occured:
(base) draculair@draculair-ubuntu20:~/OmniGibson$ ./scripts/setup.sh
We found Isaac Sim installed at /home/draculair/.local/share/ov/pkg/isaac_sim-2022.2.0. OmniGibson will use it by default.
If you want to use a different one, please type in the path containing isaac-sim.sh here (press enter to skip) >>>

Using Isaac Sim at /home/draculair/.local/share/ov/pkg/isaac_sim-2022.2.0

The new conda environment will be named omnigibson by default.
If you want to use a different name, please type in here (press enter to skip) >>>

Using omnigibson as the conda environment name

./scripts/setup.sh: 行 30: /home/draculair/.local/share/ov/pkg/isaac_sim-2022.2.0/python: No such file or directory.

Can you help? Thank you

Hi, can you checkout the og-develop branch and try again? This bug was fixed a couple weeks ago but we have not had a chance to release it.
Also we released the docs again on the original link you used. Thanks for the heads up.

Hello, I followed the updated instructions, and I have checkout the branch to og-develop. But I still have a problem when downloading OmniGibson dataset. First, the process failed due to 'scipy' module missing. After I pip installed the module, the process again failed and suggested that the 'omni' module is missing.

I don't know why but you have to run it in the terminal but not in vscode.

I don't know why but you have to run it in the terminal but not in vscode.

Actually, I did run the command in the terminal on a Linux machine. Did you succeed by checkout the og-develop branch?

yeah, I've checkout to og-develop.

You do have Isaac Sim installed and you can launch it from the Omniverse Launcher, correct?

You do have Isaac Sim installed and you can launch it from the Omniverse Launcher, correct?

Yes I have installed Isaac Sim and I can launch it.

When you call the omnigibson setup script it finds the right version of Isaac Sim? Also when you go into the Python interpreter in the omnigibson env and you do import omni what happens?

When you call the omnigibson setup script it finds the right version of Isaac Sim? Also when you go into the Python interpreter in the omnigibson env and you do import omni what happens?

It seems that the setup script finds the right version of Isaac Sim.

After the omnigibson environment is created, I call the conda activate command and the following error occurs.

If I ignore this error and continue to run the command to download the dataset, the process collapses due to 'scipy' module missing:

After I pip install scipy and rerun the download command, it says the omni module is missing:

If I go into the python interpreter in omnigibson env and import omni, the same error occurs:

Hi @yuanfei-Wang, are you using bash or zsh? Could you show us your ~/.local/share/ov/pkgs/isaac_sim-2022.2.0/setup_conda_env.sh?

Yes this stuff should be executed using bash. You can go into a bash session (bash --login) and do it there.

Yes, I was using zsh. After changing into a bash session, the above errors disappeared. Thanks a lot!


iOS - Search - "No options available for the selected group of expenses." is truncated

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

issue found when validating #44820
Version Number: 9.0.7-4
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: applause internal team
Slack conversation:
Action Performed:
Precondition:

User has at least one paid expense.

Launch New Expensify app.
Go to Search.
Tap on the dropdown.
Select Finished.
Long tap on any expense.
Tap Select.
Tap on the "1 selected" dropdown.

Expected Result:
The content "No options available for the selected group of expenses." will be displayed in two lines (no truncation).
Actual Result:
The content "No options available for the selected group of expenses." is truncated.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/963369bf-58c8-4be4-9e33-2f798d859448

View all open jobs on GitHub

Hmm I feel like this is using an incorrect style anyways, why not use a style that matches what we are doing on desktop?

It should basically look identical to that, just in bottom-docked mobile format. cc @Expensify/design for any thoughts too!

cc @filip-solecki in case you have any context there as to why we didn't reuse the same styles from desktop.

TBH I am not sure if we need this Modal anymore. I am working on Download functionality and AFAIK user can download every single transaction, so there will always be at least one option

It seems to be coming from https://github.com/Expensify/App/pull/44820. Would you be able to make a quick follow up fix?

Yes, I will prepare it right now

TBH I am not sure if we need this Modal anymore. I am working on Download functionality and AFAIK user can download every single transaction, so there will always be at least one option, but yes, looks like quick styling fix

I agree with this btw.. with the option to Download being added to the menu imminently, it makes this kinda' obsolete.

This issue come from https://github.com/Expensify/App/pull/44820. @rushatgabhane Could you take over this one?

I just did a quick test and looks good!

Doesn't look like this was CPed - will request one

This issue is fixed. No further action required. Thanks all!


PKCS7padding support

Could you please consider implementing support for PKCS7padding?

PKCS7padding (on Android) is actually PKCS5padding in Java on Desktop


Added api

Use Axios with createAsyncThunk to make your HTTP requests to the backend
Fetch your books from the Bookstore API after the component has rendered
refactor  add book and remove book features to persist your changes in the server

Hi @misikir21,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that isn't runnning

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag @topeogunleye in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


xml.etree.ElementTree.ParseError: XML or text declaration not at start of entity: line 1, column 2 while resetting gd32f470zg

Description
pyocd crashes while using the following command to reset a GD32F470ZG chip.
Command
# pyocd reset --target gd32f470zg
0000498 W Board ID 5V-I is not recognized [mbed_board]
Exception in thread load-svd:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/root/.local/share/pipx/venvs/pyocd/lib/python3.9/site-packages/pyocd/debug/svd/loader.py", line 72, in run
    self._svd_location.load()
  File "/root/.local/share/pipx/venvs/pyocd/lib/python3.9/site-packages/pyocd/debug/svd/loader.py", line 48, in load
    self.device = SVDParser.for_xml_file(self.filename).get_device()
  File "/root/.local/share/pipx/venvs/pyocd/lib/python3.9/site-packages/pyocd/debug/svd/parser.py", line 74, in for_xml_file
    return cls(ET.parse(path), remove_reserved)
  File "/usr/lib/python3.9/xml/etree/ElementTree.py", line 1229, in parse
    tree.parse(source, parser)
  File "/usr/lib/python3.9/xml/etree/ElementTree.py", line 580, in parse
    self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: XML or text declaration not at start of entity: line 1, column 2
0000848 W Invalid coresight component, cidr=0x0 [rom_table]

Environments
# uname -a
Linux pve 5.15.116-1-pve #1 SMP PVE 5.15.116-1 (2023-08-29T13:46Z) x86_64 GNU/Linux

# pyocd --version
0.36.0

try to this

During the use of the script, an XML or text declaration not at start of entity error message will be reported, as \ cmsis pack manager \ cmsis pack manager \ GigaDevice \ GD32F4xx_ There is an issue with the XML format in the DFP \ 3.0.3. pack file, which contains an extra space; The solution is to open 3.0.3. pack in the format of a compressed file and rename the file with the suffix. svd in the SVD folder as<? XML version="1.0" encoding="utf-8" standalone="no" Remove the preceding space


AUR Installation Error future returned by spawn_http_server is not Send

When trying to update the utility to the newest version, it fails with the error message in the title.
error: future cannot be sent between threads safely
   --> daemon/src/main.rs:283:22
    |
283 |           tokio::spawn(spawn_http_server(
    |  ______________________^
284 | |             usb_tx.clone(),
285 | |             httpd_tx,
286 | |             broadcast_tx.clone(),
287 | |             http_settings.clone(),
288 | |             file_paths.clone(),
289 | |         ));
    | |_________^ future returned by `spawn_http_server` is not `Send`

I'm using yay for updating all apps/packages.

Make sure you're running the latest version of rust (rustup update) should fix it.

Oh thanks for the fast answer. Apparently it's a different update mechanism.


Google+ Implemention

Could you implement google+ as well?

google+ auth codes is supported by the code. You can do client.auth_provider = 2; to switch key type to google.
But how to generate google auth key i do not know. You can investigate it
yourself, i'm little busy for that.
2016-01-23 1:21 GMT+02:00 Zephyr Vi Britannia<EMAIL_ADDRESS>
Could you implement google+ as well?
—
Reply to this email directly or view it on GitHub
https://github.com/pulviscriptor/agario-client/issues/64.

Pulviscriptor please find a way to implement google+!

@pulviscriptor I have already attempted by looking at web requests to look for the auth key but I couldn't find it. At least tell us what requested url has the auth key?

@Zephyr-Vi
I do not know URL and do not know is it hard or not to get it.
You can look how "fun" it was searching FB URL https://github.com/pulviscriptor/agario-client/issues/42
When i will have some free time for it, i will look what i can do.

Relevent parts on agar.io script :
(function(a) {
function b() {
var a = document.createElement("script");
a.type = "text/javascript";
a.async = !0;
a.src = "//
apis.google.com/js/client:platform.js?onload=gapiAsyncInit";
var b = document.getElementsByTagName("script")[0];
b.parentNode.insertBefore(a, b);
f = !0
}
var d = {},
f = !1;
c.gapiAsyncInit = function() {
e(d).trigger("initialized")
};
a.google = {
oa: function() {
b()
},
ma: function(a, b) {
c.gapi.client.load("plus", "v1", function() {
console.log("fetching me profile");
gapi.client.plus.people.get({
userId: "me"
}).execute(function(a) {
b(a)
})
})
}
};
a.wa = function(a) {
f || b();
"undefined" !== typeof gapi ? a() :
e(d).bind("initialized", a)
};
return a
})(p);
var Ec = function(a) {
function b(a) {
c.MC.doLoginWithGPlus(a);
p.cache.login_info = [a, "google"];
p.I.M(a, "google")
}
                function d(a) {
                    g.userInfo.picture = a;
                    e(".agario-profile-picture").attr("src", a)
                }
                var f = null,
                    k = {
                        client_id: A.gplus_client_id,
                        cookie_policy: "single_host_origin",
                        scope: "profile email"
                    };
                a.ea = {
                    Y: function() {
                        return f
                    },
                    init: function() {
                        var a = this,
                            b = g && "1" == g.loginIntent && "google"

== g.context;
p.wa(function() {
c.gapi.ytsubscribe.go("agarYoutube");
c.gapi.load("auth2", function() {
f = c.gapi.auth2.init(k);
f.attachClickHandler(document.getElementById("gplusLogin"), {}, function(a)
{
console.log("googleUser : " + a)
}, function(a) {
console.log("failed to login in
google plus: ", JSON.stringify(a, void 0, 2))
});
f.currentUser.listen(_.bind(a.va, a));
b && 1 == f.isSignedIn.get() &&
f.signIn()
})
})
},
va: function(a) {
if (f && a && f.isSignedIn.get() && !pb) {
pb = !0;
g.loginIntent = "1";
var e = a.getAuthResponse(),
k = e.access_token;
c.Y = e;
console.log("loggedIn with G+!");
var h = a.getBasicProfile();
a = h.getImageUrl();
void 0 == a ? p.google.ma(e, function(a) {
a.result.isPlusUser ? (a &&
d(a.image.url), b(k), a && (g.userInfo.picture = a.image.url),
g.userInfo.socialId = h.getId(), Ma()) : (alert("Please add Google+ to your
Google account and try again.\nOr you can login with another account."),
c.logout())
}) : (d(a), g.userInfo.picture = a,
g.userInfo.socialId = h.getId(), Ma(), b(k));
g.context = "google";
c.updateStorage()
}
},
pa: function() {
f && (f.signOut(), pb = !1)
}
};
return a
}(p);
c.gplusModule = Ec;
var ec = function() {
p.ea.pa()
};
c.logoutGooglePlus = ec;
More info about G+ api :
https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiclientloadname--------version-callback
Le sam. 23 janv. 2016 à 11:31, pulviscriptor<EMAIL_ADDRESS>a
écrit :

@Zephyr-Vi https://github.com/Zephyr-Vi
I do not know URL and do not know is it hard or not to get it.
You can look how "fun" it was searching FB URL #42
https://github.com/pulviscriptor/agario-client/issues/42
When i will have some free time for it, i will look what i can do.
—
Reply to this email directly or view it on GitHub
https://github.com/pulviscriptor/agario-client/issues/64#issuecomment-174169179
.

I figured out how to do it myself. :P

Could you contribute and share the code so we can expand agario client script

@Zephyr-Vi
You can just share URL or method how to obtain token and i will do the rest.
Just if you want to share.

https://accounts.google.com/o/oauth2/auth?redirect_uri=storagerelay%3A%2F%2Fhttp%2Fagar.io%3Fid%3Dauth758713&response_type=permission&scope=email profile openid&openid.realm=&client_id=686981379285-oroivr8u2ag1dtm3ntcs6vi05i3cpv0j.apps.googleusercontent.com&ss_domain=http%3A%2F%2Fagar.io&fetch_basic_profile=true
@pulviscriptor Could that url help?

@pulviscriptor This might be the solution for G+, https://github.com/althjs/social-oauth-client#google

@hassanila97
I'm can't implement it any time soon, can't find time to investigate how it works.
If you/somebody can do it, that would be great.

@pulviscriptor
Okay, I've investigated it so it works like this, also can you give me credit in the code for doing this so something like "//Thanks to Zephyr for telling me how it works (https://github.com/Zephyr-Vi)".
First overall we have to load the client_id and login_hint which is used in the request to get our token!
https://accounts.google.com/o/oauth2/auth?redirect_uri=storagerelay://http/agar.io?id=XXXXX&response_type=permission&scope=email profile openid&openid.realm=&client_id=XXXXX&ss_domain=http://agar.io&fetch_basic_profile=true
This url seems to be static which gives you a static "login_hint" but the "client_id" seems to change. The cookies sent it the request doesn't seem to effect it which believes me to think it is unneeded.
Which returns a html format:
<!DOCTYPE html>
<html>

    <head>
        <title>Connecting ...</title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
        <script src='https://ssl.gstatic.com/accounts/o/3403534109-storagerelay.js'></script>
    </head>

    <body>
        <script type="text/javascript">
            var done = function () {
                window.close();
            };
            lso.relayAuthResponseByWebStorageEvent('http:\/\/agar.io', 'xxxxx', 'xxxx', {
                "login_hint": "xxxx"
                , "client_id": "xxxx"
            }, done);

        </script>
    </body>

</html>

GET https://accounts.google.com/o/oauth2/iframerpc?action=issueToken&response_type=token id_token&scope=openid profile email&client_id=686981379285-oroivr8u2ag1dtm3ntcs6vi05i3cpv0j.apps.googleusercontent.com&login_hint=XXXXX&ss_domain=http://agar.io&origin=http://agar.io HTTP/1.1
Which returns a JSON object:
{"token_type":"Bearer","access_token":"ya29.qwKKAbBa8AZrYob09lc2J0DWkfhZhn1QnEoZuBxTCLeecLpK_Khjh-erQthp0hlWps9sJX8","scope":"https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/plus.me openid email profile","login_hint":"XXXXX","expires_in":3600,"id_token":"XXXX","session_state":{"extraQueryParams":{"authuser":"0"}}}
I did more research by looking into the code and the token used is called "access_token":
var e = a.getAuthResponse() , g = e.access_token;
No problem for me doing this. ;)

Great work

@pulviscriptor  Szammi, henopied and I finally finished our google plus token finder(Couldnt think of the right word for it). I have no idea how to use github so henopied is working on adding it in a pull request

@DaAwesomeRazor
Great! I'm bad at investigations of HTTP stuff and can't find free day for it.

@DaAwesomeRazor No credits for me figuring out the requests? :-1:


Fix submodule tests on Windows

uncommitted/test_integration.py (repo_with_submodule): Force the
submodule add and also use it's explicit name.
(test_submodule): Use os.sep for Windows compat.

See https://ci.appveyor.com/project/fleimgruber/uncommitted/build/master-40 for details.


Can't receive message.

I can't receive message from other users. Does this terminal tool support this function?

https://github.com/goorockey/node-wechat-terminal/issues/8#issuecomment-485636379

I can't receive message from other users. Does this terminal tool support this function?

#8


deployment of docs.perl6.org

How should we deploy docs.perl6.org?

On the server from @niner there is currently no docker installed.
So far I started the same way the "old" system was installed with creating a user for each site, and a webserver (yet used nginx instead of apache this time) is serving the page or proxying to whatever serving on localhost.
Btw. current Dockerfile serves using morbo, what is not the production ready config. I would rather prefer hypnotoad instead.
Or should we point docs.perl6.org to the github pages setup?

What's the prefered way to trigger to update?
cron + update.sh?

Right now it's just a bunch of static pages. It's also installed in https://perl6docs.github.io. First approximation would be to mirror that site, since it pretty much has everything.
However, as long as we're at it we'd like to do this #2909 as well as introduce every improvement @antoniogamiz has brought to the table.
Re: 2 Also, there should be a way to deploy it automatically when a push is done to master. Previously there was a cron job that checked the repo every 10 minutes, and downloaded and built the documentation. Something more push-like (as opposed to pull) like a push web hook would be much more convenient. It can be done just the way it did (in the previous permanent infrastructure), anyway, if it's too much trouble.

If github pages are the prefered deployment, you can just add docs.perl6.org on github side as custom domain and on DNS side I add a CNAME record pointing to it. Should we try to do this? If you like to play first we can try the same with docs.p6c.org as a test?

On 2 Aug 2019, at 19:21, Juan Julián Merelo Guervós<EMAIL_ADDRESS>wrote:
Right now it's just a bunch of static pages. It's also installed in https://perl6docs.github.io. First approximation would be to mirror that site, since it pretty much has everything.
However, as long as we're at it we'd like to do this #2909 as well as introduce every improvement @antoniogamiz has brought to the table.
Re: 2 Also, there should be a way to deploy it automatically when a push is done to master. Previously there was a cron job that checked the repo every 10 minutes, and downloaded and built the documentation. Something more push-like (as opposed to pull) like a push web hook would be much more convenient. It can be done just the way it did (in the previous permanent infrastructure), anyway, if it's too much trouble.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi,
El sáb., 3 ago. 2019 a las 0:05, Roman Baumer<EMAIL_ADDRESS>escribió:

If github pages are the prefered deployment, you can just add
docs.perl6.org on github side as custom domain and on DNS side I add a
CNAME record pointing to it. Should we try to do this? If you like to play
first we can try the same with docs.p6c.org as a test?

OK. I can do that, starting with docs.p6c.org, just in case.

docs.p6c.org changed on DNS side.
$ dig docs.p6c.org

; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> docs.p6c.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23899
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;docs.p6c.org.                  IN      A

;; ANSWER SECTION:
docs.p6c.org.           300     IN      CNAME   perl6docs.github.io.
perl6docs.github.io.    3599    IN      A       <IP_ADDRESS>
perl6docs.github.io.    3599    IN      A       <IP_ADDRESS>
perl6docs.github.io.    3599    IN      A       <IP_ADDRESS>
perl6docs.github.io.    3599    IN      A       <IP_ADDRESS>

;; Query time: 188 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Sat Aug 03 07:18:27 UTC 2019
;; MSG SIZE  rcvd: 138

Deployed now at http://docs.p6c.org/ Please stress-test it for any bug that might be in the static-HTML only infrastructure.

Seems like this issue isn't relevant anymore. Perhaps it could be closed.


[FEATURE] Consider exposing TargetingKey with all value exporters

Requirements
Similar to the Java SDK [1], Dotnet SDK EvaluationContext should include targetingKey with bulk exporters.
Currently EvaluationContext  exposes AsDictionary() [2] as well as GetEnumerator()[3], but they do not include the targetingKey, which is stored in a dedicated field.
AC
Include the targetingKey in bulk exporters and refactor of the property to match with this change
[1] - https://github.com/open-feature/java-sdk/issues/801
[2] - https://github.com/open-feature/dotnet-sdk/blob/v1.4.1/src/OpenFeature/Model/EvaluationContext.cs#L76
[3] - https://github.com/open-feature/dotnet-sdk/blob/v1.4.1/src/OpenFeature/Model/EvaluationContext.cs#L90

The addition of the TargetingKey property has presented some problems for the LaunchDarkly provider. We had supported using attributes with the name "key" (convenient coming from an LD context) as well as "targetingKey". The TargetingKey not being in the map just meant we basically were unaware of it.
I wonder if we should have just made it short-hand for "targetingKey" as a member of the underlying structure. If we just export it, then we have to use some kind of name that will shadow whatever we pick. (Likely "targetingKey").
Instead we could adjust the general Set method to have restrictions on "targetingKey". We do something similar in LD contexts where if you call the set function with a built-in attribute we do our best, and then log if we cannot handle it.
Similar situation: https://github.com/launchdarkly/dotnet-sdk-common/blob/d248d74b29fb0d1e27771c5810b8277fd256e266/src/LaunchDarkly.CommonSdk/ContextBuilder.cs#L272

@kinyoklion I think I understand what you're suggesting, but I want to be sure... Are you suggesting that you think the targeting key setter/getter should just retrieve a "special" property from the map (probably targetingKey?
I think that's fine, if so. I think the real problem is just that people will expect the AsDictionary() and GetEnumerator() to convey a targeting key, somehow if it's set.

@toddbaert Yeah, I am suggesting that the key of "targetingKey" and the setter/getter for targetingKey should operate on the same value.
Which either requires a specially interacted with field or a special entry in the map with specialized logic for the set/get generic mechanisms.
Set("targetingKey", "potato");
TargetingKey = "potato";
var targetingKey = Get("targetingKey");
var targetingKey = TargetingKey
Should all basically be setting/getting the same field, and that field should also be in the dictionary.

I'm fine with that. I'll add it to the description, and try to get to it myself if nobody else does first.

I'm starting on this.


AvRadio and AvRadioGroup is not working in Project while using.

Here I have attached screenshot of the issue. On selection of radio i can see the value in the form but can not see selected radio button on UI. Looks like Issue with onchangeventhandler.

(image has been edited to remove company identifiers)

You are using mobx with v1 which requires availity-mobx-reactstrap-validation for all of the components.
I recommend using<EMAIL_ADDRESS>which no longer needs the wrapper library.


CAPD ignoring controlPlane version in machine spec

/kind bug
What steps did you take and what happened:
$ capdctl cluster -cluster-name zecora -namespace zecora | kubectl apply -f-
cluster.cluster.k8s.io/zecora created
$ capdctl control-plane -cluster-name zecora -namespace zecora -version v1.14.0 | kubectl apply -f-
machine.cluster.k8s.io/my-machine created
$ kubectl get machines -n zecora my-machine -o jsonpath='{.spec.versions.controlPlane}'
v1.14.0
$ kubectl get secret -n zecora kubeconfig-zecora -o json | jq -r '.data.kubeconfig' | base64 -d > /tmp/zecora.yaml
$ kubectl --kubeconfig /tmp/zecora.yaml version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-17T00:58:35Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

What did you expect to happen:
The reported version by kubectl should've been 1.14.0
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
$ git rev-parse HEAD
c3b249bb607ccc244a2ab8cb73b4ca241039fff1
$ docker version
Client:
 Version:           18.09.5
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        e8ff056
 Built:             Thu May  9 23:11:19 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.09.5
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       e8ff056
  Built:            Thu May  9 22:59:19 2019
  OS/Arch:          linux/amd64
  Experimental:     false
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

I am pretty sure this is fixed, this could use verification

/assign
/lifecycle active

/unassign
/remove lifecycle

/remove-lifecycle active

just needs to be verified


Source Pre-Processing

Is it possible to pre-process source code using a Babel plugin? For example, say I liked the idea behind literate coffeescript and I wanted to apply that to JavaScript as a Babel plugin (thus creating literate JavaScript). CoffeeScript appears to accomplish this by commenting out markdown lines before running the code through the compiler.

No, you can't do this as a Babel plugin, by the time plugins run the file has already been parsed.

What would be your recommendation? It would be cool if Babel could support pre-processing.

Pass the preprocessed code to Babel somehow

Key word somehow. :smile:

Heh, you can pass transformed code to babel.transform however you want


RN Nov 11 release

Minor nit. Add "parameters" to the sentence,  "Previously, if you ran force:mdapi:describemetadata with both --resultfile and --json


moving from tab to tab

if I open the first python file, kite works perfectly fine,
but when I open a second file and go back and forth between those two python files,
kite stops working.

When you switch between files, do you still see the "kite" logo in the bottom right corner of VS Code?

Closing due to age and lack of clarity on the issue. If more information is provided, we can reopen.


Bump iOS version number to 2.64.2 (12)

Change-Id: I56ea5019258b477e6f6ab29dcfa8e7c43b974145

This should be merged after all iOS related PRs for nb193 but before ucr is merged into master.


Property 'forEach' does not exist on type 'NodeList'

Hello! Great library! I am getting an error on querySelectorAll() in conjunction with .forEach(). Simple repo:
import { DOMParser } from "https://deno.land/x/deno_dom/deno-dom-wasm.ts";

const html = '

';
const parser = new DOMParser();
const dom = parser.parseFromString(html, "text/html");
dom?.querySelectorAll(".div")?.forEach((el) => {
  console.log(el);
});

The error:
error: TS2339 [ERROR]: Property 'forEach' does not exist on type 'NodeList'.
dom?.querySelectorAll("div")?.forEach((el) => {

I can clearly see that forEach is defined here, so I’m unsure where that type error is even coming from.
I’m on Deno 1.5.3.
I should add that adding // @ts-ignore on that line works for now. So the library works great! It’s only a type that Deno can’t seem to find.

Oh thanks, forgot to add this to the interface here https://github.com/b-fuze/deno-dom/blob/fd7774b38abce90a895f9f9d95583646ffa5d149/src/dom/node-list.ts#L94


Add URP components and channels into clickable map

Description
Add URP components and channels into clickable map
Type of change

Documentation update

Testing steps
N/A
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.


add an enumeration for Network types that could be referenced by NetworkOptions

…orkOptions.
Addresses #1642
Signed-off-by: Paul Harris<EMAIL_ADDRESS>

Networks are not an enumeration. --network https://github.com/eth2-clients/eth2-testnets/raw/master/prysm/Sapphire(v0.9.4)/config.yaml is totally valid.

being able to use --network in this way is good to know, and pretty much means the change I was planning is invalid. I'll close this PR, and potentially put in a test case to show this usage so we know about it in future.


Refactoring code

Hey @liyasthomas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: dbf3f9e0-0f19-11ea-97d2-e7d533c125a8

Hey @liyasthomas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: b336c9a0-0f1a-11ea-97d2-e7d533c125a8

Hey @liyasthomas,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 0c58d270-0f1c-11ea-97d2-e7d533c125a8


Update workloads execution

This is a series of updated related to wlgen workload executions which mainly:

simplify the code to run commands in foreground/backgroud
allows to specify different CPUs and/or CGroups at each run (without need to reconfigure the workload)

This series should also fix and close #162

This has to be rebased on top of master.


Targeted tag name cannot be null or whitespace.

When i run in Debug mode it working fine. But when i publish it and run with dotnet via cmd it throw this exception:

An error occurred during the compilation of a resource required to process this request. Please review the following specific error details and modify your source code appropriately.
...\TNHeThong\TNLoi\ChucNang\TNChucNang.QuanTriHeThong\Views\Home\Index.cshtml
Targeted tag name cannot be null or whitespace.

TNHeThong.zip
Please change " apm.FeatureProviders.Prepend(new NhaCungCapUngDung());" to " apm.FeatureProviders.Add(new NhaCungCapUngDung());"
line 198 BoQuanLyChucNang.cs
It's working fine with .NET Core 1.1.

https://github.com/aspnet/Mvc/issues/7029


Debug array ops

Links
Addresses this issue: (shortfin) Need debug-print support for f16 arrays and other types not supported array.array types
Description
This PR implements some common functions to be used in the debug context, to achieve better visibility into the values of a device_array at runtime. This is primarily achieved by converting the device_array into an np.array. From there, we have a few useful functions for viewing the state of an array.
Supported Functions

to_np: Convert shortfin.array.device_array to np.array
dump_array: Dump contents of array to debug logs
fill_array: Convert to np array, and fill with specific values
find_mode: Find the mode of an np.array, along a specified dimension
log_tensor_stats: Log the following stats for a tensor:

NaN Count
Shape & dtype
Min
Max
Mode
First 10 Elements
Last 10 Elements

Looked into it a bit.
Seems like we have a debug environment variable used by setup.py (which contains settings used by pip install -e .)
https://github.com/nod-ai/SHARK-Platform/blob/main/shortfin/setup.py#L209

Updated to throw:
EnvironmentError(         "Debug module should only be imported in Debug mode (SHORTFIN_CMAKE_BUILD_TYPE=Debug)" )
if Debug module is imported without proper env value.
Added patch in tests to ensure env is set properly when debug tests are run, which does make the tests a little less pretty unfortunately. Had to move the debug_array import into each individual test for it to honor the patched value.

Looked into it a bit.
Seems like we have a debug environment variable used by setup.py (which contains settings used by pip install -e .)
https://github.com/nod-ai/SHARK-Platform/blob/main/shortfin/setup.py#L209

Updated to throw:
EnvironmentError( "Debug module should only be imported in Debug mode (SHORTFIN_CMAKE_BUILD_TYPE=Debug)" )
if Debug module is imported without proper env value.
Added patch in tests to ensure env is set properly when debug tests are run, which does make the tests a little less pretty unfortunately. Had to move the debug_array import into each individual test for it to honor the patched value.
Also added a line to skip debug tests if numpy is not installed, which occurred in one of the CI run failures.

We should not tie this to debug builds. Generally, the availability of features that aid in building shortfin applications should always be available. You only want to gate on the debug build type for things like asserts, expensive checks, etc.

Ok, looking at the whole thing, let's just make the primitives part of the regular API but only exposed if numpy is available. I think that shortfin.array.nputils or something like that is fine. Let's prefix functions intended for debugging with debug_ or something vs having a completely separate debugging namespace/setup.

Working on the suggested changes now. Will reach out if I hit any blockers

Rewrote to implement ArrayProtocol on device_array, if numpy is available, which allows direct np.array(device_array) instead of needing to have a function with some custom logic.
Moved functions to shortfin.array.np_utils. Is imported and publicly available only when numpy is installed


[New Feature]: Missing Fields Notification

Description of the new feature/enhancement
Sometimes a new version of a package is submitted, and the manifest isn't as rich or complete as the "latest" version of that package. I'd like to have a label added to those PRs like "Manifest-Metadata-Consistency".
In addition, I would like an informational message indicating which fields are present in the latest version of the manifest and not in the current PR.
This is not a blocking behavior, but an informational one. This would make it easier for moderators to validate the quality of the current PR. Sometimes the new PR is exactly what is needed, and other times, the missing fields add value.
Proposed technical implementation details (optional)
No response

Related to https://github.com/microsoft/winget-pkgs/issues/92688

[Policy] Area-Validation-Pipeline

I've just built the means to check for missing fields into my PR Watcher. Currently it only checks for AppsAndFeaturesEntries, but other fields could be added.

It gathers the version number from WinGet, then uses this to build the installer yaml URL.
It downloads this then checks it for the field.
Then it checks the current manifest for the field.
If the two answers don't match, it alerts.

Should this be increased to check all manifest fields, or only specific ones?
Also, should we move this from the approval step of the process and into the validation step?


allow me to not care in the slightest about these events

We have a loop going that sometimes takes quite a while (https://github.com/hubblestack/hubble/blob/develop/hubblestack/extmods/modules/pulsar.py#L726). Occasionally, if the loop takes too long or something happens externally during the loop, some of the watches seem to disappear doing the process_events(). I'm not totally sure what causes it. Is it the kernel canceling the watch and therefore get_watch(raw_event.wd) is failing? are we externally modifying the watchlist during the process_events()? Not sure. What I can say is that it's always very shortly lived temp files that trigger this error.
I'm confident the missing watches are safe to ignore. The 30,000 hosts reporting this error for /opt/specialthing/whatever is wasting quite a lot of space in our log analyzer. And we'd really rather keep watching the specialthing/whatever directory, even though it has quite a lot of tempfiles that pop in/out.
Let me know if you think this is a wrongheaded way to solve the problem or have a better idea what else we could fix.
Thanks.

👍


fix: data api arrayValue columns always rendered as  in console.

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Move code to default case in switch statement instead of leaving it outside of the statement

Describe the issue (if no issue has been made)
The code which handles the case in which a valid rendering API has not been selected is placed outside of the switch block.
PR impact (Make sure to add closing keywords)
List of related issues/PRs this will solve:

Impact
Issue/PR

Code in function is not consistent
None

Proposed fix (Make sure you've read on how to contribute to Hazel)
Use the default case of the switch statement to control the behaviour if the value is incorrect.
Additional context
This solution adds elegance, makes the code easier to read and perhaps allows the compiler to better optimize it.

Althought it may not matter in this case,
i believe leaving "invalid Renderer API case" outside the switch statement and not using "default" in switch statement is better if the logic is correct; because

all other options of switch cases return from the function if it matches  if not then we already cover the default value and return nullptr
and there are some notes with Jason Turners book (c++ best practices) about not use the default in switch statements that returns (if possible ); it is mostly about compiler not catching when all options in switch are not evaluate if default is used ; he gives this as an example
"
Unhandled case;
enum class Values {
val1,
val2,
val3 // added a new value
};
std::string_view get_name(Values value) {
switch (value) {
case Values::val1: return "val1";
case Values::val2: return "val2";
default: return "unknown";
}
// no compiler diagnostic that val3 is unhandled
}
Instead, prefer code like this:
Avoid default In switch Statements 56
Prefered version
enum class Values {
val1,
val2,
val3 // added a new value
};
std::string_view get_name(Values value) {
switch (value) {
case Values::val1: return "val1";
case Values::val2: return "val2";
} // unhandled enum value warning now
return "unknown";
}
"

It will also warn you if there are cases not handled in the switch statement, where it will not if you use the default case. I'll mark this as a suggestion, but i'll close it as this has no (significant) impact at this point.


[1108] Handle unknown users

Context
It's possible for an existing DfE Sign-in user to try accessing Publish, but they're not a known user in the Manage Courses database.
Changes proposed in this pull request
This is a temporary stop-gap which redirects unknown users to Manage Courses UI.
Manage Courses UI then shows a "we don't know who you are" page to those users.
Guidance to review
I paired with @defong on this.

 Handle unknown users in Manage Courses Frontend


Feature request: Use tags or vendor extension to mark operations with labels as per swagger editor/UI

Hi,
We have a need to label our operations with tags to call out certain information.  See image.
Perhaps you can use a vendor extension for this ?  Given the description of x-traitTag I was hoping it would work for this
"In Swagger two operations can have multiply tags. This property distinguish between tags that are used to group operations (default) from tags that are used to mark operation with certain trait (true value)"

@andrewjtech123 ,
x-traitTag should actually work for this but the label is very unnoticeable. It is displayed under method name:

Do you have ideas where to move this? Or just make it of some other more contrast color?

for now we used an image embedded in markdown.  You can see it on the calls
marked "To be implemented".  We modeled our design off the way labels look
in the swagger editor output on right panel.
https://andrewjtech123.github.io/rebilly-validschema/
On Tue, Nov 22, 2016 at 6:42 PM, Roman Hotsiy<EMAIL_ADDRESS>wrote:

@andrewjtech123 https://github.com/andrewjtech123 ,
x-traitTag should actually work for this but the label is very
unnoticeable. It is displayed under method name:
[image: image]
https://cloud.githubusercontent.com/assets/3975738/20546447/c96e0200-b11d-11e6-87c8-5926de82a335.png
Do you have ideas where to move this? Or just make it of some other more
contrast color?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Rebilly/ReDoc/issues/141#issuecomment-262399440, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGaJ92hpLD5wr7j68Vx7v6l7n5gMYPzeks5rA33RgaJpZM4K5Xgg
.

I noticed that it says in your docs that x-traitTag is deprecated ? Does that mean you are removing support for the vendor extension?  We need it for pushing documentation into left navigation such as response codes.
https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md#x-traitTag

In ReDoc the OpenAPI/Swagger standard tags are used for grouping routes in the left panel. This is similar to how tags are used for rendering in swagger-UI, but this is different that in swagger-editor (is that where your screenshot comes from?).

Closing as out of scope
Feel free to open a new issue!


Update puppeteer

Updating puppeteer fixes issue #125

@zfcsoftware This should fix the issue with docker images not running correctly. Please review and run any necessary tests.