MSAL 2.0, msal-browser 2.9.0, PublicClientApplication is not implementing setActiveAccount and getActiveAccount methods from interface IPublicClientApplication

Library

[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Framework

[ ] Angular

Description
Recent update of msal-browser (2.9.0) fixed could of errors, but is missing the implementation of setActiveAccount and getActiveAccount methods.
Identity Provider

[x] Azure AD
[x] Azure B2C Custom Policy

Browsers/Environment

[x] Chrome
[x] Firefox
[x] Edge
[x] Safari
[ ] IE
[ ] Other (Please add browser name here)

This occurs within the angular samples too.  To replicate just clone the angular 10 or 11 projects in https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-angular-v2-samples/angular11-sample-app then run npm i and look at home.component.ts which shows the following.

This occurs within the angular samples too.  To replicate just clone the angular 10 or 11 projects in https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-angular-v2-samples/angular11-sample-app then run npm i and look at home.component.ts which shows the following.

@Hamedfal @zebslc Can you try reinstalling npm install @azure/msal-browser @azure/msal-angular. We will make sure to update our samples so this no longer occurs.

@Hamedfal @zebslc Can you try reinstalling npm install @azure/msal-browser @azure/msal-angular. We will make sure to update our samples so this no longer occurs.

Hi, this is still occurring - I uninstalled those two libraries first then re-installed and the same thing happens.  Is there an interim fix or workaround for these as currently they are both broken?
I am trying to evaluate this library atm as MSAL 2 is recommended by your documentation here:- https://docs.microsoft.com/en-gb/azure/active-directory/develop/scenario-spa-app-registration#redirect-uri-msaljs-20-with-auth-code-flow

Hi, this is still occurring - I uninstalled those two libraries first then re-installed and the same thing happens.  Is there an interim fix or workaround for these as currently they are both broken?
I am trying to evaluate this library atm as MSAL 2 is recommended by your documentation here:- https://docs.microsoft.com/en-gb/azure/active-directory/develop/scenario-spa-app-registration#redirect-uri-msaljs-20-with-auth-code-flow

Sorry, just noticed you had the PR there too so I have manually incorporated those changes in my sample :-)

Sorry, just noticed you had the PR there too so I have manually incorporated those changes in my sample :-)

@Hamedfal @zebslc Can you try reinstalling npm install @azure/msal-browser @azure/msal-angular. We will make sure to update our samples so this no longer occurs.

Thank you very much. It is working now.

@Hamedfal @zebslc Can you try reinstalling npm install @azure/msal-browser @azure/msal-angular. We will make sure to update our samples so this no longer occurs.

Thank you very much. It is working now.

issue resolved

issue resolved


Add cascading docs metadata

Adds cascading metadata to the docs so edit/view buttons work as expected
Partially addresses https://github.com/dapr/docs/issues/1895
Signed-off-by: Aaron Crawfis<EMAIL_ADDRESS>

Without cascading docs:

With cascading docs:

@AaronCrawfis the JS SDK link seems to be broken.

@AaronCrawfis the JS SDK link seems to be broken.

@shubham1172 this PR will need to be merged first: https://github.com/dapr/docs/pull/3612
The path_base_for_github_subdir Docsy parameter wasn't introduced until recently, which the main Dapr docs repo hasn't updated yet. The docs PR brings in the one partial template into the docs repo so the URL will be generated correctly. If you switch your docs branch to aacrawfi/meta-template it should generate as expected.

Thanks, it works now.


Missing documentation for crossover feature

Noticed in the failed CI-CD run that it was also mentioning missing docs on the crossover types, should fix.

Just checked back and noticed that the only reason this appears is because of the one where rayon and crossover are both enabled, should be fine without docs.


Add CSPC related test cases into openshift pipeline

openshift cluster is built on coreos.
To validate on coreos, cspc/csi-cstor tests are to be included into openshift pipeline

PR is in review https://github.com/mayadata-io/e2e-openshift/pull/385


Add tests for fs.promises.readdir

I can rewrite the tests in fs.readdir.spec.js to use Filer's Promises API

There are a few tests possible for this.  For example, if the path you specify is not found, if the path is actually a file, if the path exists and is a dir, etc.  Just pick one and do that, and let others add the remaining cases.

I'll test fs.promises.readdir by passing in a file.


Google issue

Access blocked: This app’s request is invalid
This is an error when trying to authenticate with google to give access to the spreadsheet.
https://developers.google.com/identity/protocols/oauth2/resources/oob-migration

Yeah looking at the google_drive gem I am not sure they have a quick fix for this.
I did found a post by someone recommending a way to get the authorization code.
https://stackoverflow.com/questions/71318804/google-oauth-2-0-failing-with-error-400-invalid-request-for-some-client-id-but/71491500#71491500

Yeah looking at the google_drive gem I am not sure they have a quick fix for this.
I did found a post by someone recommending a way to get the authorization code.
https://stackoverflow.com/questions/71318804/google-oauth-2-0-failing-with-error-400-invalid-request-for-some-client-id-but/71491500#71491500

Any news on this end?

We are also facing this issue. Has anyone made any progress?

Hey, also facing this issue with auth code. Any updates here?

@netbe I think this is an issue we cannot go along with. Either we make a fix or completely shut down this lib since it's useless atm.


Update charabia

Update Charabia v0.8.7,

Add Vietnamese Normalization (Ð and Đ into d)

Fixes #4357
Charabia versions:

https://github.com/meilisearch/charabia/releases/tag/v0.8.6
https://github.com/meilisearch/charabia/releases/tag/v0.8.7

bors merge


Tweak adjustType1ToUnicode for fonts with a predefined named encoding (bug 1811668, PR 14050 follow-up)

Please note: I cannot reproduce the problem reported in bug 1811668, regarding the context menu, and in any case it's not clear that that part is even a PDF Viewer bug.
Looking at bug 1811668 I couldn't help but noticing that the textLayer isn't correct, and it's unfortunately once again a problem with the adjustType1ToUnicode function. That's intended to help improve text-selection for fonts without a /ToUnicode-entry, and in many cases it does help (the original PR fixed lots of issues) however it's also caused some problems.
In order to improve text-selection in bug 1811668, we'll now properly ignore fonts that have a predefined named encoding specified since that's really the intention with PR #14050.

/botio-linux preview

/botio test

Thank you for improving this!

/botio makeref


chore: fixing typo in blog post

Another round of fixing my blog post, I'm on a roll.. 😂
This time, @smoya noticed a typo in my recently pubbed blog post, and this PR fixes it.

/rtm


[WIP] Inlined primitive types aren't decorate with validation attributes

I create this PR as a starting point. It's only a POC.
I detected that primitives types (see simple repro below) are inlined to not create wrapper around them (which is correct behavior). The issue here is that if the open api definition contains validation rules. NSwag do not generate the validation attributes.
The follow OpenApi 3.0 definition show the simplest reproduction of the issue (same issue with OpenApi 2.0).
I started this PR with a fix for this specific case (string maximum length). Is the current behavior the desired one or should we fix it? I would be happy to augment this PR to cover all validations.
openapi: "3.0.0"
info:
  version: 1.0.0
  title: Simple repro of missing validation in case of inlined type

paths:
  /echo:
    post:
      summary: Echo a simple message
      operationId: echo
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/message'
      responses:
        '200':
          description: the message to echo
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/message"

components:
  schemas:
    message:
      type: object
      required:
        - value
      properties:
        value:
          $ref: "#/components/schemas/string50"
    string50:
      type: string
      maxLength: 50

@RicoSutter did you had the time to have a look? Are my assumptions correct ?

Is this PR still WIP or ready?

For now I only handle one validation on string. If my corrections seems logic then I will finalize it tomorrow.

From: Rico Suter<EMAIL_ADDRESS>Sent: Tuesday, August 20, 2019 11:07:40 PM
To: RicoSuter/NJsonSchema<EMAIL_ADDRESS>Cc: Max<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [RicoSuter/NJsonSchema] [WIP] Inlined primitive types aren't decorate with validation attributes (#1039)
Is this PR still WIP or ready?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FRicoSuter%2FNJsonSchema%2Fpull%2F1039%3Femail_source%3Dnotifications%26email_token%3DABOP4JL7IRFSPABJFHGSLBTQFRMJZA5CNFSM4IKS6FW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4XVGVI%23issuecomment-523195221&data=02|01||ab34a65234cc4fb76f8e08d725b26fea|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637019320615634006&sdata=j%2Fdu4rHWkqUJmi9GFZVMrpfZXFtwkltFd22QpPkAt94%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABOP4JKZG7E34VMK4SJFFVDQFRMJZANCNFSM4IKS6FWQ&data=02|01||ab34a65234cc4fb76f8e08d725b26fea|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637019320615644011&sdata=H%2FHbdSJ6zlvvsazN3NWIy0gCpzgImHWYqzWtIJiFiCE%3D&reserved=0.

I think it's fine, yes.
Can you use ActualSchema instead of ActualTypeSchema?

And I think you dont need to check _property.MaxLength and _property.ActualTypeSchema.MaxLength, just adding the ActualSchema indirection _property.ActualSchema.MaxLength should be enough

Thanks for the feedback. I've finalized the PR :)

Thanks for the PR! v10.0.23


Unable to configure tab usage

Hi there,
I have went through documentation to check how to configure tab usage in files and it was pretty straightforward so my configuration is like this:

created .csharpierrc.json
added configuration properties shown in attachment.

With this configuration I am still unable to see tabs being used instead of spaces as seen in second picture (git diff).
This file is located at the root directory and it is being used locally by git hooks where tool is installed as global tool and in GitLab pipeline so we ensure configuration consistency among environments.
Thanks in advance for any help.
Kind regards!

Hey,
Are you using a version prior to 0.17.0? Support for tabs was added then. Otherwise from my testing I believe tabs are working as expected.
If you are on 0.17.0+, then maybe it isn't locating the configuration file. CSharpier will search starting in the path it is formatting up through parent directories until it finds one or reaches the root without finding one. Maybe you have another configuration file somewhere without tabs on. It will also look for .csharpierrc, .csharpierrc.json, .csharpierrc.yaml, and .csharpierrc.yml. I don't recall which one takes priority if it finds multiples in a directory.
You could also try changing printWidth to something small to see if it is picking up that option but not the tabs option. I tested out invalid json, and that errors out immediately.

Oh and including the option for preprocessorSymbolSets will slow down formatting. It will reformat each file using those symbols. CSharpier understands how to read basic conditional compilation, the option is there for anyone who has more complex logic in conditional compilation. I should perhaps move it out of the example config to avoid that problem. The rosyln and .net runtime repos are the only place I've really seem complex conditional compilation.

CSharpier requires .NET 6 to run which is independent from the version of .NET that a project is targeting. We have a project at work that still targets .NET 5, but it can be formatted with the latest csharpier. Updating CSharpier would mean anyone on your team plus any build systems would need to have .NET 6 installed which I could still see being a blocker.
For preprocessorSymbolSets you would only need to set it if you have something with conditional compilation that is not being formatted. CSharpier isn't smart enough to understand something like the following yet
#if FIRST
var willFormat =    true;
#elif SECOND && !THIRD
var willFormat =    false;
#else
var willFormat =    true;
#endif

I believe you'd need to set
"preprocessorSymbolSets": ["FIRST", "SECOND", ""]

The three sets will satisfy the 3 branches of the #if
CSharpier can understand basic conditionals like the following. If you only have basic conditionals, you should just leave preprocessorSymbolSets out of the configuration file.
#if DEBUG
var willFormat =    true;
#else
var willFormat =    true;
#endif

Hi @belav,
Thanks for clearing this out, now it is bit more understanable. :)
Kind regards!


Flutter's macos desktop app times out

In China.
[OpenAI] accessing endpoint: /models
[OpenAI] starting request to https://api.openai.com/v1/models
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Operation timed out
#0      IOClient.send
io_client.dart:88

#1      BaseClient._sendUnstreamed
base_client.dart:93

#2      _withClient
http.dart:164

#3      OpenAINetworkingClient.get
client.dart:21

#4      OpenAIModel.list

what do i need to do

hello, thank you for reaching out here!
the issue doesn't seem to be related directly to macOS.
it seems similar to #17, which throws an unexpected error for the list() method for models. However, I did research and found that China is not a supported country by OpenAI yet! so I guess their APIs are disabled in your region, please check the:
https://platform.openai.com/docs/supported-countries
the community noticed the issue for disabled countries by OpenAI, so the SDK baseUrl is exposed to be changed manually, so I guess you either need to use a VPN for another supported county or finding a proxy server that will make it work

hello, thank you for reaching out here!
the issue doesn't seem to be related directly to macOS.
it seems similar to #17, which throws an unexpected error for the list() method for models. However, I did research and found that China is not a supported country by OpenAI yet! so I guess their APIs are disabled in your region, please check the: https://platform.openai.com/docs/supported-countries
the community noticed the issue for disabled countries by OpenAI, so the SDK baseUrl is exposed to be changed manually, so I guess you either need to use a VPN for another supported county or finding a proxy server that will make it work

Thanks for you code. I solved this by change postStream method's implementation to Dio, and support proxy config temporary。


Bump fuel-types to v0.3

Fix by changing fuel_types::Color to fuel_types::AssetId, but don't actually percolate the changes upwards to the public API of fuel-tx.
Depends on

[x] https://github.com/FuelLabs/fuel-crypto/pull/13
[x] https://github.com/FuelLabs/fuel-crypto/pull/11

The public api is already being changed by using this new type, why not change the field names as well?


Country Code NI (Nicaragua) is missing

Describe the bug
If you request a price preview for a customer_ip_address located in Nicaragua, a ValueError is thrown with the message 'NI' is not a valid CountryCode. I can't share the IP address for privacy reasons, but the same bug also occurs if you manually try to construct the AddressPreview object with a country_code of NI.
Steps to reproduce
Run this:
from paddle_billing.Entities.Shared import AddressPreview

this_will_fail = AddressPreview.from_dict({"postal_code": None, "country_code": "NI"})

You will get the following error:
Traceback (most recent call last):
  File "C:\...\bug.py", line 3, in <module>
    this_will_fail = AddressPreview.from_dict({"postal_code": None, "country_code": "NI"})
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\...\.venv\Lib\site-packages\paddle_billing\Entities\Shared\AddressPreview.py", line 17, in from_dict
    country_code = CountryCode(data['country_code']),
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\enum.py", line 744, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\enum.py", line 1158, in __new__
    raise ve_exc
ValueError: 'NI' is not a valid CountryCode

Or, if you have an IP address from Nicaragua to test with:
import paddle_billing
from paddle_billing.Entities.PricingPreviews import PricePreviewItem
from paddle_billing.Resources.PricingPreviews.Operations import PreviewPrice

paddle = paddle_billing.Client(YOUR_API_KEY)

this_will_fail = paddle.pricing_previews.preview_prices(
	PreviewPrice(
		items=[PricePreviewItem(price_id=A_VALID_PRICE_ID, quantity=1)],
		customer_ip_address=AN_IP_FROM_NICARAGUA,
	)
)

And then you get this error:
Traceback (most recent call last):
  File "C:\...\bug.py", line 7, in <module>
    this_will_fail = paddle.pricing_previews.preview_prices(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\...\.venv\Lib\site-packages\paddle_billing\Resources\PricingPreviews\PricingPreviewsClient.py", line 20, in preview_prices
    return PricePreview.from_dict(parser.get_data())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\...\.venv\Lib\site-packages\paddle_billing\Entities\PricePreview.py", line 30, in from_dict
    address                   = AddressPreview.from_dict(data['address']) if data.get('address') else None,
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\...\.venv\Lib\site-packages\paddle_billing\Entities\Shared\AddressPreview.py", line 17, in from_dict
    country_code = CountryCode(data['country_code']),
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\enum.py", line 744, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\enum.py", line 1158, in __new__
    raise ve_exc
ValueError: 'NI' is not a valid CountryCode

Expected behavior
NI should be an accepted country code in paddle_billing.Entities.Shared.AddressPreview, because it's possible for Paddle's servers to respond with an address object that has the country code NI.
Alternatively, it should not be possible for Paddle's servers to respond with an address that has a country code of NI. (Though I'd recommend the former solution, since Nicaragua obviously is a valid country.)
Code snippets
See repro steps above.

Python version
Python 3.12
SDK version
paddle-python-sdk==0.1.3
API version
Paddle Version 1 (default)
Additional context
Update: The same problem happens with Russia (RU).

Hi @Alexander01998 👋
Thanks for raising this issue, there is definitely something we'll investigate further on the SDK side as we would not expect to be seeing a ValueError here.
However, unfortunately Nicaragua is not actually one of our currently supported countries which is why the value option does not exist within the SDK.
I'm going to keep this issue open and come back with updates while we work at making this error case more clear and better handled all around.

We've now released v0.2.0 with some changes around enums prevents this error at the SDK level 👍

Hey @mikeymike, thanks for the update, but there still seems to be a mismatch between which countries the SDK thinks are supported and which countries the API thinks are supported.
For example, I just found out that BL (Saint Barthélemy) is listed in the CountryCode enum, but requesting a price preview for it returns an error. The error message includes a list of supported countries that differs greatly from the CountryCode enum:
address.country_code must be one of the following: \"AD\", \"AE\", \"AF\", \"AG\", \"AI\", \"AL\", \"AM\", \"AN\",
 \"AO\", \"AR\", \"AS\", \"AT\", \"AU\", \"AW\", \"AX\", \"AZ\", \"BA\", \"BB\", \"BD\", \"BE\", \"BF\", \"BG\", \"BH\",
 \"BI\", \"BJ\", \"BM\", \"BN\", \"BO\", \"BQ\", \"BR\", \"BS\", \"BT\", \"BV\", \"BW\", \"BY\", \"BZ\", \"CA\", \"CC\",
 \"CF\", \"CG\", \"CH\", \"CI\", \"CK\", \"CL\", \"CM\", \"CN\", \"CO\", \"CR\", \"CU\", \"CV\", \"CW\", \"CX\", \"CY\",
 \"CZ\", \"DE\", \"DJ\", \"DK\", \"DM\", \"DO\", \"DZ\", \"EC\", \"EE\", \"EG\", \"EH\", \"ER\", \"ES\", \"ET\", \"FI\",
 \"FJ\", \"FK\", \"FM\", \"FO\", \"FR\", \"GA\", \"GB\", \"GD\", \"GE\", \"GF\", \"GG\", \"GH\", \"GI\", \"GL\", \"GM\",
 \"GN\", \"GP\", \"GQ\", \"GR\", \"GS\", \"GT\", \"GU\", \"GW\", \"GY\", \"HK\", \"HM\", \"HN\", \"HR\", \"HT\", \"HU\",
 \"ID\", \"IE\", \"IL\", \"IM\", \"IN\", \"IO\", \"IQ\", \"IR\", \"IS\", \"IT\", \"JE\", \"JM\", \"JO\", \"JP\", \"KE\",
 \"KG\", \"KH\", \"KI\", \"KM\", \"KN\", \"KP\", \"KR\", \"KW\", \"KY\", \"KZ\", \"LA\", \"LB\", \"LC\", \"LI\", \"LK\",
 \"LR\", \"LS\", \"LT\", \"LU\", \"LV\", \"LY\", \"MA\", \"MC\", \"MD\", \"ME\", \"MF\", \"MG\", \"MH\", \"MK\", \"ML\",
 \"MM\", \"MN\", \"MO\", \"MP\", \"MQ\", \"MR\", \"MS\", \"MT\", \"MU\", \"MV\", \"MW\", \"MX\", \"MY\", \"MZ\", \"NA\",
 \"NC\", \"NE\", \"NF\", \"NG\", \"NI\", \"NL\", \"NO\", \"NP\", \"NR\", \"NU\", \"NZ\", \"OM\", \"PA\", \"PE\", \"PF\",
 \"PG\", \"PH\", \"PK\", \"PL\", \"PM\", \"PN\", \"PR\", \"PS\", \"PT\", \"PW\", \"PY\", \"QA\", \"RE\", \"RO\", \"RS\",
 \"RU\", \"RW\", \"SA\", \"SB\", \"SC\", \"SD\", \"SE\", \"SG\", \"SH\", \"SI\", \"SJ\", \"SK\", \"SL\", \"SM\", \"SN\",
 \"SO\", \"SR\", \"ST\", \"SV\", \"SY\", \"SZ\", \"TC\", \"TD\", \"TF\", \"TG\", \"TH\", \"TJ\", \"TK\", \"TL\", \"TM\",
 \"TN\", \"TO\", \"TR\", \"TT\", \"TV\", \"TW\", \"TZ\", \"UA\", \"UG\", \"UM\", \"US\", \"UY\", \"UZ\", \"VA\", \"VC\",
 \"VE\", \"VG\", \"VI\", \"VN\", \"VU\", \"WF\", \"WS\", \"YE\", \"YT\", \"ZA\", \"ZM\", \"ZW\"

As you can see, RU and NI are included in this list, even though they aren't supposed to be supported countries, and BL is missing even though it's supposed to be supported. (There may be other differences that I haven't noticed yet.)
It seems like this might be a bug on the API side where it's using an outdated country list. If the API is maintained by a different team at Paddle, could you please let them know about this bug? It's really frustrating to find all these edge cases where a country works on one side but not the other.

Hey @Alexander01998 thanks for the extra details around this and the specific examples is great 🙏
I'll make sure this is raised with the relevant people here and get some clarity on the behaviour. I'll update here as things progress.

Hey @mikeymike, thanks for the follow-up on this issue and for escalating it with the team! 👍
By the way, I noticed that v0.2.0 isn't available on PyPi yet. It still shows 0.1.3 as the latest version. Is the new release supposed to be available there?

Hey @mikeymike, thanks for the follow-up on this issue and for escalating it with the team! 👍
By the way, I noticed that v0.2.0 isn't available on PyPi yet. It still shows 0.1.3 as the latest version. Is the new release supposed to be available there?

Hey @Alexander01998, thanks for flagging this, we have just released v0.2.1 on PyPi, there was an issue with one of the pipelines that was suppose to publish to PyPi.


CI ONLY Introduce the surface of the new linker API.

This commit introduces the portion of the new linker API described
in #2998 that is targeted for the 0.6.x series. It contains:

linker.StandardLinker._
linker.Semantics
linker.ModuleKind
linker.standard.OutputModeOps._

This is enough to implement the CLI, the sbt plugin, the QuickLinker and
partest's MainGenericRunner entirely in terms of the new API.
We deprecate Linker.apply in favor of StandardLinker.apply in order to
nudge other users of the linker towards the new API, assuming they use that
"easy" entry point (instead of manually manipulating front-end and back-end).

CI only for now. I need to add a second commit that makes the StandardLinker.Config available as an sbt setting.

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

OK the second commit is in. Available for review :)

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

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

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

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


feat: add ability to display image in toasts for artwork lists flow

This PR resolves []
Description
Some discussion you can find this Slack thread
Screenshots

Screenshot
Screenshot

Demo

Android
iOS

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

add ability to display image in toasts for artwork lists flow - dimatretyak

Need help with something? Have a look at our docs, or get in touch with us.

I was wondering how this would look for artworks that happen to match or clash with the colors of the toasts. Should we add a 1px white border here?

Some discussion of this here


Fix return type of mock, partialMock and spy methods in TestCase

This PR add support for the return type of the mock, partialMock and spy methods in Illuminate\Foundation\Testing\TestCase.
Without it you get the following error when calling a method.
Call to an undefined method  Mockery\MockInterface::someMethod()
Or when phpstan/phpstan-mockery is installed and you declare it as a property:
Tests\FooTest::$mock (App\Foo&Mockery\MockInterface) does not accept Mockery\MockInterface.

Thank you for your contribution. And specially for the tests!


ci: Add build step to run-cluster

Overview
The run-cluster workflow now also builds the commit by calling the build-commit workflow first.

Example of a successful run:
https://github.com/Eventual-Inc/Daft/actions/runs/12403736836

Example of a run that does not specify daft-version:
https://github.com/Eventual-Inc/Daft/actions/runs/12408535620
Example of a run that does specify daft-version:
https://github.com/Eventual-Inc/Daft/actions/runs/12408694177


More Psionic powers??

Psionic abilities rock, but I feel we need more! I was unable to find the place where Psionics go, so I just made this file. Is that OK? If not, feel free to move it.

About the PR
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Added fun!
remove: Removed fun!

It should be a .cs file and be placed in Content.Server\Nyanotrasen\Abilities\Psionics\Abilities if you want to follow.
This would allow you to test that feature and make sure it works how you want it to work.
Currently, it doesn't compile when placed there, so you might want to test it before you PR it.
Also, don't just PR stuff made by an AI.

you specified that you "brute forced an AI" to make this,

Is this real?

Closing for now. There are obvious issues with this.


Register Widths

The asymmetry of how Reg, RegNext, and RegInit set their widths can lead to unexpected behavior.
h/t @antonblanchard

Type of issue: bug report | feature request | other enhancement

Impact: API modification

Development Phase: request
Other information

There's an old PR referencing and documenting some of this behavior: https://github.com/freechipsproject/chisel3/pull/455
If the current behavior is a bug, please provide the steps to reproduce the problem:
Consider the following example. While foo, bar, and baz have almost identical construction, foo has an unset width, bar was a width of 8, and baz is a bundle with an internal signal of width 8.
package examples

import chisel3._
import chisel3.stage.{ChiselStage, ChiselGeneratorAnnotation}
import chisel3.internal.sourceinfo.UnlocatableSourceInfo

object NoInfo {
  implicit val noInfo = UnlocatableSourceInfo
}

import NoInfo._

class DelayedBundle extends Bundle {
  val in = UInt(8.W)
}

class Delayed extends MultiIOModule {
  val in = IO(Input(UInt(8.W)))
  val bundle = IO(Input(new DelayedBundle))

  /** The width of foo is unset */
  val foo = RegNext(in)

  /** The width of bar is set to 8.W */
  val bar = Reg(chiselTypeOf(in))
  bar := in

  /** The width of baz is set to 8.W */
  val baz = RegNext(bundle)

  Seq(foo, bar, baz).foreach(a => println(a.widthOption))

}

object Delayed extends App {
  (new ChiselStage).execute(Array.empty, Seq(ChiselGeneratorAnnotation(() => new Delayed)))
}

This results in the following FIRRTL:
circuit Delayed :
  module Delayed :
    input clock : Clock
    input reset : UInt<1>
    input in : UInt<8>
    input bundle : {in : UInt<8>}

    reg foo : UInt, clock
    foo <= in
    reg bar : UInt<8>, clock
    bar <= in
    reg baz : {in : UInt<8>}, clock
    baz.in <= bundle.in

To be very concrete, I have implicit classes for doing automatic conversion to bits, words, etc. (i.e., (Bits) => Vec[UInt]). These rely on having widths known. Using these methods on foo will cause the implicit class methods to error out complaining that they can't be used on something that has an unknown width. However, they work with bar. This is unintuitive behavior as it would seem that foo and bar are identical constructions.
I do realize that RegNext(0.U) is probably the reason why this exists the way it does.
What is the current behavior?
The width of a RegNext is always unset when given a subtype of Bits.
What is the expected behavior?
The width of a RegNext should be set to the type of whatever is next.
Please tell us about your environment:

What is the use case for changing the behavior?
This clarifies unintuitive behavior and unifies behavior for RegNext when given different types.

I'm hit by something which seems related without doing anything fancy and find it seriously annoying. In my case asBools fails because RegNext does not keep the width information, while y and z have know widths at elaboration time.
val s = RegNext(~y & z)
val t = x ^ s
(t).asBools()  // <---

results in chisel3.internal.ChiselException: Width of UInt(OpResult in KeccakCore) is unknown!
While this works:
val s = Reg(UInt(5.W))
s:= ~y & z
val t = x ^ s
(t).asBools()

and removing the Reg works too:
( x ^ (~y & z)).asBools()

Propagating the width from the RegNext is harder than it seems, because later assignments can increase the width.  For example,
val foo = RegNext(bar)
...
foo := baz

is legal, foo's width will be the larger of bar's and baz's.

This could get into the realm of "Chisel philosophy :)" and beyond my understanding, but as a designer I'd really like the second assignment to error out if the width is larger than what's explicitly set at instantiation.

I think the real issue here is that the RegNext API doesn't give the user a choice of setting the width. Conversely, when declaring a Reg a user has the choice of whether or not you specify a width (Reg(UInt()) vs. Reg(UInt(4.W))).
I think this is more an example of there being two different, desirable behaviors with RegNext providing an API for only one. Users who expect this (or understand Chisel internals) grok what's going on, but a user who just wants to delay a signal by a cycle is rightly confused.

The automatic width extension of Chisel tricked me also sometimes (e.g., had a 64-bit register file for some time in my 32-bit processor). So I personal am not super happy about it and lean slightly also towards getting an error. But I assume many people like it, so it is not a candidate for chisel3.strict.
Martin

Dev meeting result: this is a complicated issue that touches on identifying the correct behavior of widths. E.g, when are widths set, when are widths inferred. Also, any change to this will result in a lot of code silently breaking.
Therefore, this is better handled via an RFC on the full discussion of widths. I will transfer this to the RFCs repo and close this there once an RFC is written.


Update Client library for Google APIs

[x] Update the Client library for Google APIs to the latest version.

[x] Apply wpCloud\StatelessMedia\Google_Client namespace.

#392 is related.

Everything looks fine.


Loading REST resources for API version undefined, which doesn't match the default 2023-04

Issue summary
Shopify-api load-rest-resources breaks when trying to load rest-resources.
resources[firstResource].API_VERSION is undefined
Error is thrown here:
    if (config.apiVersion !== resources[firstResource].API_VERSION) {
        (0, logger_1.logger)(config).warning(`Loading REST resources for API version ${resources[firstResource].API_VERSION}, which doesn't match the default ${config.apiVersion}`);
    }

@shopify/shopify-app-express version: ^1.1.0
Node version: 18.13.0
Operating system: Windows 10

2023-06-05 05:30:38 | backend    | [shopify-api/WARNING] Loading REST resources for API version undefined, which doesn't match the default 2023-04
2023-06-05 05:30:38 | backend    | C:\web\projects\shopify-video-player\web\node_modules\@shopify\shopify-app-express\node_modules\@shopify\shopify-api\rest\load-rest-resources.js:17
2023-06-05 05:30:38 | backend    |         Object.entries(NewResource.HAS_ONE).map(([_attribute, klass]) => {
2023-06-05 05:30:38 | backend    |                ^
2023-06-05 05:30:38 | backend    |
2023-06-05 05:30:38 | backend    | TypeError: Cannot convert undefined or null to object
2023-06-05 05:30:38 | backend    |     at Function.entries (<anonymous>)
2023-06-05 05:30:38 | backend    |     at C:\web\projects\shopify-video-player\web\node_modules\@shopify\shopify-app-express\node_modules\@shopify\shopify-api\rest\load-rest-resources.js:17:16
2023-06-05 05:30:38 | backend    |     at Array.map (<anonymous>)
2023-06-05 05:30:38 | backend    |     at loadRestResources (C:\web\projects\shopify-video-player\web\node_modules\@shopify\shopify-app-express\node_modules\@shopify\shopify-api\rest\load-rest-resources.js:10:57)
2023-06-05 05:30:38 | backend    |     at Object.shopifyApi (C:\web\projects\shopify-video-player\web\node_modules\@shopify\shopify-app-express\node_modules\@shopify\shopify-api\lib\index.js:43:68)
2023-06-05 05:30:38 | backend    |     at shopifyApp (C:\web\projects\shopify-video-player\web\node_modules\@shopify\shopify-app-express\build\cjs\index.js:26:26)
2023-06-05 05:30:38 | backend    |     at file:///C:/web/projects/shopify-video-player/web/shopify.js:19:17
2023-06-05 05:30:38 | backend    |     at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
2023-06-05 05:30:38 | backend    |
2023-06-05 05:30:38 | backend    | Node.js v18.13.0
2023-06-05 05:30:38 | backend    | [nodemon] app crashed - waiting for file changes before starting...

Expected behavior
Error should not occur.
Actual behavior
Error occurs.
Steps to reproduce the problem

Run npm run dev

Issue was resolved by fixing the version from "@shopify/shopify-app-express": "^1.1.0" to "@shopify/shopify-app-express": "^2.1.1"


Rewrite NineSevenThree in Sass.

For v1.0.0, we're rewriting NineSevenThree in Sass, for more modularity and other neat features.

All .scss files are stored in _scss.
_scss/main.scss compiles to css/main.css and minifies into css/main.min.css.
Each components are broken into individual .scss files.
(Optional) Built files may be copied over to the dist folder for production.

Changed up a load of things:

Build process not more of less follows Primer's build process.
All Docs files are placed in /docs.
Use grunt publish to publish all contents to the gh-pages branch.


BUG

Describe the bug
Database seeding does not work
To Reproduce
Steps to reproduce the behavior:

php artisan db:seed

Expected behavior
That no exception is thrown

Thanks for opening the issue on our project! We appreciate your feedback and will look into the issue and keep you updated. Your contribution is valuable, and we welcome any further suggestions or feedback. Thank you!


[BUG] - initial settings in uiless.ts

UE Version:
UE 5.4
Frontend Version:
UE 5.4
Problem component
Frontend, typescript implementation
Description
The problem is visible when Signalling server does not run locally, but on some remote server (e.g. AWS) so that URL is not localhost but anything else. When using UILess mode, the frontend tries to connect to ws://localhost, fails and streaming does not work.
The Bug
Setting initial value for signalling server URL in Frontend/implementations/typescript/src/uiless.ts, line 10:
	const config = new Config({
		initialSettings: {
			AutoPlayVideo: true,
			AutoConnect: true,
			ss: "ws://localhost:80",   // <-- this line should be removed
			StartVideoMuted: true,
			WaitForStreamer: true,
		}
	});

Newly added check in file Frontend/library/src/Config/Config.ts, line 180:
	this.textParameters.set(
            TextParameters.SignallingServerUrl,
            new SettingText(
                TextParameters.SignallingServerUrl,
                'Signalling url',
                'Url of the signalling server',
                settings && settings.hasOwnProperty(TextParameters.SignallingServerUrl) ?    // <-- this and next line
                    settings[TextParameters.SignallingServerUrl] :
                    (location.protocol === 'https:' ? 'wss://' : 'ws://') +
                        window.location.hostname +
                        // for readability, we omit the port if it's 80
                        (window.location.port === '80' ||
                        window.location.port === ''
                            ? ''
                            : `:${window.location.port}`),
                useUrlParams
            )
        );

Because of this combination, the value for SignallingServerUrl remains as set in initial settings..
Steps to Reproduce:

set the HomepageFile in config.json to "uiless.js":

	"HomepageFile": "uiless.html",

run signalling server and try to open pixel streaming website
errors are visible in JS console (or developer tools) - the browser is trying to connect to localhost instead of correct server URL

Expected behavior

signalling server URL probably should not be set in initial settings

@nmalisa-sb Thanks for reporting this, I made the suggested fix and have backported it across all our supported versions.


bump version 0.34.0 -> 0.34.1

thanks to the non_exhaustive on the Config struct this is a non-breaking change.

will merge and release tomorrow unless nacked


DeeplabV3+ speed in Windows10 is 100ms

System information
Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 (1809)
Mobile device (e.g., Pixel 4, Samsung Galaxy 10) if the issue happens on mobile device: Coral TPU Usb Accerator with USB3.0
TensorFlow installed from (source or binary): pip install
https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp36-cp36m-win_amd64.whl
TensorFlow version (use command below):tflite 2.1
Python version:3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Please provide the entire URL of the model you are using?
https://github.com/google-coral/edgetpu/raw/master/test_data/deeplabv3_mnv2_dm05_pascal_quant_edgetpu.tflite
Describe the current behavior
Good Evening,
I had just got the coral usb accelerator. I am trying to run it in windows 10 with 8850h cpu.
I had setup the coral speed to max as I got same speed in the classify_image.py  sample
I repeat follow code for 200 time in the semantic_segmetation.py sample
engine.run_inference(img)
and notice it is now cpu bounded. A single core raise to 100%
The execution time is around 100ms.
Is there anything I can do to improve the speed?
I cannot switch to Linux as our application is bounded to window now.
Can I use TensorFlow C++ in windows 10? Will it lower the overhead in python?
Is this overhead speed expected? (50ms vs 100ms)
Is there a image segmentation model is faster for edgeTpu?
Run two tflite.Interpreter instance over single coral usb accelerator?
Run multiply usb accelerator?
Describe the expected behavior
the speed should be around 50ms
Code to reproduce the issue
Follow the python example code
https://github.com/google-coral/edgetpu/blob/master/scripts/run_python_examples.sh
-Thanks
Billy
Other info / logs
See above

@laibilly
Hello -
I don't think there should be that much difference between c++ vs python since our python api is actually just a wrapper of the c++ code (the overhead will only be the translating swig code).
Could you try running the basic_engine_benchmarks.py script instead of manual timing. To add the deeplab models to the benchmarks, you can just add these two lines to the basic_engine_reference_x86_64.csv file:
+ deeplabv3_mnv2_dm05_pascal_quant_edgetpu.tflite 50
+ deeplabv3_mnv2_pascal_quant_edgetpu.tflite 50

Could you also share how you are timing your inference? I think python's time library can yield different results for different platform (i suggest using time.perf_counter() for window).

Thanks for your reply
I had done following steps to setup the test environment
conda create --name edgetpu python=3.6
git clone https://github.com/google-coral/edgetpu.git
pip install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp36-cp36m-win_amd64.whl
pip install Pillow
pip install https://dl.google.com/coral/edgetpu_api/edgetpu-2.14.0-cp36-cp36m-win_amd64.whl

I don't know why my machine_info()  return AMD64, I had add the two line
deeplabv3_mnv2_dm05_pascal_quant_edgetpu.tflite 50
deeplabv3_mnv2_pascal_quant_edgetpu.tflite 50

to basic_engine_reference_x86_64.csv and make a new copy as basic_engine_reference_AMD64.csv
After that I can run
python benchmarks/basic_engine_benchmarks.py
without any problem
Before that it would report basic_engine_reference_AMD64.csv is not find
I had attached a screen recording for your reference
https://www.youtube.com/watch?v=ItRMRgf-WUs
Here is the test result
(edgetpu) C:\workspace\edgetpu>python benchmarks/basic_engine_benchmarks.py
-------------- Model 1 / 8 ---------------
Benchmark for [deeplabv3_mnv2_dm05_pascal_quant_edgetpu.tflite]
model path = C:\workspace\edgetpu\test_data\deeplabv3_mnv2_dm05_pascal_quant_edgetpu.tflite
input tensor shape = [  1 513 513   3]
100.37 ms (iterations = 200)
-------------- Model 2 / 8 ---------------
Benchmark for [deeplabv3_mnv2_pascal_quant_edgetpu.tflite]
model path = C:\workspace\edgetpu\test_data\deeplabv3_mnv2_pascal_quant_edgetpu.tflite
input tensor shape = [  1 513 513   3]
104.89 ms (iterations = 200)
-------------- Model 3 / 8 ---------------
Benchmark for [inception_v1_224_quant_edgetpu.tflite]
model path = C:\workspace\edgetpu\test_data\inception_v1_224_quant_edgetpu.tflite
input tensor shape = [  1 224 224   3]
3.17 ms (iterations = 200)
-------------- Model 4 / 8 ---------------
Benchmark for [inception_v4_299_quant_edgetpu.tflite]
model path = C:\workspace\edgetpu\test_data\inception_v4_299_quant_edgetpu.tflite
input tensor shape = [  1 299 299   3]
86.31 ms (iterations = 200)
-------------- Model 5 / 8 ---------------
Benchmark for [mobilenet_v1_1.0_224_quant_edgetpu.tflite]
model path = C:\workspace\edgetpu\test_data\mobilenet_v1_1.0_224_quant_edgetpu.tflite
input tensor shape = [  1 224 224   3]
2.32 ms (iterations = 200)
-------------- Model 6 / 8 ---------------
Benchmark for [mobilenet_v2_1.0_224_quant_edgetpu.tflite]
model path = C:\workspace\edgetpu\test_data\mobilenet_v2_1.0_224_quant_edgetpu.tflite
input tensor shape = [  1 224 224   3]
2.54 ms (iterations = 200)
-------------- Model 7 / 8 ---------------
Benchmark for [ssd_mobilenet_v1_coco_quant_postprocess_edgetpu.tflite]
model path = C:\workspace\edgetpu\test_data\ssd_mobilenet_v1_coco_quant_postprocess_edgetpu.tflite
input tensor shape = [  1 300 300   3]
12.49 ms (iterations = 200)
-------------- Model 8 / 8 ---------------
Benchmark for [ssd_mobilenet_v2_face_quant_postprocess_edgetpu.tflite]
model path = C:\workspace\edgetpu\test_data\ssd_mobilenet_v2_face_quant_postprocess_edgetpu.tflite
input tensor shape = [  1 320 320   3]
5.72 ms (iterations = 200)
basic_engine_benchmarks_AMD64_20200515-185951.csv  saved!
******************** Check results *********************
 * Unexpected high latency! [deeplabv3_mnv2_dm05_pascal_quant_edgetpu.tflite]
   Inference time: 100.366293 ms  Reference time: 50.0 ms
 * Unexpected high latency! [deeplabv3_mnv2_pascal_quant_edgetpu.tflite]
   Inference time:<PHONE_NUMBER>9999997 ms  Reference time: 50.0 ms
******************** Check finished! *******************

(edgetpu) C:\workspace\edgetpu>

previously I notice basic_engine.py had a latency reading at line 137
So I basically modify semantic_segmetation.py in line 119
from
_, raw_result = engine.run_inference(input_tensor)

into
for _ in range(500):
    latency, raw_result = engine.run_inference(input_tensor)
    print('latency %.1fms' % (latency ))

@laibilly I have an idea, but I may need your assistance, since I'm not great with Window. Basically, I need the md5sum hash of your libedgetpu.dll file. It should be something like this:
Get-FileHash c:\windows\system32\edgetpu.dll MD5 | Format-List

Hi,
I seem don't have a libedgetpu.dll but I have a edgetpu.dll
I create the md5 hash using a online service at
http://onlinemd5.com/
it show 069C864B0975C613C229A5979B5DDC3D
For your reference I uploaded my edgetpu.dll to
https://drive.google.com/drive/folders/1lFIPMnghkNypoKbHcJoNnE-5Ey63z8yZ
-Thanks
Billy

@laibilly Thank you!
You are definitely running the max frequencies for our latest runtime release.
I'll have to check with my team to see whether or not if this is a known platform limitation or not, will keep you updated.

will the EdgeTPU-DeepLab-slim in the TensorFlow DeepLab Model Zoo yield a better result?
Do you have a pre-compile EdgeTPU-DeepLab-slim model for that?
I had tried put the some pre-compile EdgeTPU-DeepLab-slim model by others
But they seem perform worst in edgetpu then the default model?
Which model do you suggest would archive 30fps in Windows?

@laibilly
Apologies for this issue, I have a colleague who can try to reproduce this issue on his window machine, will let you know what we can find.
It seems that there is an issue with the deeplab slim model that is being worked on right now but could you try our recently released unet model?

@laibilly by means of an update, I've spoke with our team and realizes that we haven't fully started benchmarking on window platform since the libraries supports for window/mac are quite new.
We are now actively working on this and we won't be able to tell if this is expected or not until we get some results and then work on optimization solution.
One thing to confirms that it's the edgetpu.dll maybe the reasons for this latency is to maybe try running it in a linux docker?
This method is a little sketchy, because I don't know how the linux docker image would interact with window + we don't officially supports docker, but in theory, this should works. If you are willing to try:

Create a Dockerfile with this content:

FROM tensorflow/tensorflow:1.15.0-py3

WORKDIR /home
ENV HOME /home
VOLUME /data
EXPOSE 8888
RUN cd ~
RUN apt-get update
RUN apt-get install -y git nano python-pip python-dev pkg-config wget usbutils

RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" \
| tee /etc/apt/sources.list.d/coral-edgetpu.list
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
RUN apt-get update
RUN apt-get install -y libedgetpu1-std python3-edgetpu edgetpu-examples

RUN mkdir coral && cd coral
RUN git clone https://github.com/google-coral/edgetpu.git

Build:

docker build -t "coral-edgetpu" .

Run:

docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb coral-edgetpu /bin/bash

Benchmarks:

echo "deeplabv3_mnv2_dm05_pascal_quant_edgetpu.tflite 50" > benchmarks/reference/basic_engine_reference_x86_64.csv
echo "deeplabv3_mnv2_pascal_quant_edgetpu.tflite 50" >> benchmarks/reference/basic_engine_reference_x86_64.csv
python3 benchmarks/basic_engine_benchmarks.py

My reasonable for this attempts is that you'll be using our well tested libedgetpu.so for linux platform instead of the window .dll. If you are still getting the same results, then there must be something else in window causing this latency, otherwise, then the latencies are coming from our library.
In either case, we are working on some of these numbers for window also, I can give you updates on that once we have it.

Thanks for your update, will test this method next week
Our application is a virtual background in wedding photobooth. We will push for some demo over this weekend in HongKong Wedding fair.
Here some demo video for your reference 😁
https://youtu.be/yc1L_Woba5s

@laibilly
Wow, that's pretty kool to see our application being used in the wedding industry!
Unfortunately I can't open that link as it is private!

oops sorry for the setting , now should be okay
https://youtu.be/yc1L_Woba5s

Hi
I had tried your method
the point I get stuck is at
docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb coral-edgetpu /bin/bash
In windows usb pass-through to linux container seem is not a resolved issues
ref1
ref2
ref3
I had tried both virtualbox & vmware.
Vmware show some progress

however the usb devices still didn't appear in the linux container
I will try the unet model
-Thanks
Billy

@laibilly are you still having issues?


Unexpected behaviour when elements contain text nodes

I have some HTML which is structured like this:

            important data
         and some rubbish

I am trying to analyse it with requests_html, hoping to extract the ' and some rubbish' part:
from requests_html import HTML
from lxml.etree import tostring

html = HTML(html='important data and some rubbish')
data = html.find('.data', first=True)
print(data.html)
# important data and some rubbish
print(data.text)
# important data and some rubbish
print(data.full_text)
# important data
print(tostring(data.lxml))
# b'important data'

Unexpected bits:

The “some rubbish” part of the text seems to have snuck in html, after the tag. In lxml terms, that's called a tail, but there is no tail property like in lxml.
It is also present in text, and as per above, there seems to be no way to distinguish the text inside and outside a tag. I can't tell rubbish from important data!
The lxml.Element however does not include it, which is inconsistent with the properties above, but it was suggested this one is actually correct. But then where is the node that contains ' and some rubbish'?
Element.full_text is advertised in the docs as “the full text content (including links)”, but since it just calls text_content() it does not contain any links (or any HTML at all) — documentation issue?
There's also an odd discrepancy in text being a superset of full_text.

This all seems inconsistent and is very confusing, so I am not sure what the behaviour should be. For reference, I asked this on StackOverflow before, but since this looks like a bug, I've decided to post it here too.

This does seem like a bug to me, however I am a slight beginner to this stuff and I am only 14.
My method would be to grab html.text and filter through for your text like the StackOverflow answer
But like you said this isn't in the nature of Requests-Html and an alternative would be to use BeatifulSoup which allows you to use a lxml parser doing BeautifulSoup(markup, "lxml")
Its a little more confusing than requests-html but it might be helpful for what you are doing :)


deps: update abseil

Commit Message: update abseil to head
Additional Description: there's a problem with cel-cpp using internal macro from abseil. To decouple absl from cel-cpp update, we have to patch cel-cpp temporarily.
Risk Level: low
Testing: regression

related #27303

@kyessenov windows build error seems legit. Not sure why it was not failing before. https://dev.azure.com/cncf/envoy/_build/results?buildId=137572&view=logs&j=b840a642-5ff3-5357-2e4b-e06e40b0cffd&t=67965174-5100-5631-9dc0-68b9f0aacb53&l=898
A cast should solve it.

/retest

/retest


add website icon for Shiny app

(favicon / .ico)
https://stackoverflow.com/questions/30096187/favicon-in-shiny

Made this work using this advice, actually: https://stackoverflow.com/questions/55187213/my-favicon-will-not-display-on-a-browser-tab-for-my-app-when-using-open-source-s
Added following code to dashboardBody:
tags$head(tags$link(rel = "shortcut icon", href = "favicon.ico"))


Upgrade to nvml 11.1

Update nvml.h and nvml.h.patch from cuda11.1-devel image
Add additional go boiler plate
Add basic test for additional device functions

Looks great overall. I think in the future it may be useful to split this into 4 commits -- one for each of the steps in https://github.com/NVIDIA/go-nvml#updating-the-code. It would have made it slightly easier to review and verify that everything was done from each of those steps.

I can look at doing that for this PR too. One issue that I see with that is that the commits then don't represent functional units, but since we're using merge commits to master this probably doesn't make too much difference.

@klueska since I rebased with the changes to the README in the correct commit, do you mind just giving this the once-over again?


Added threshold check for each rule from config.yml file

@mgrecar @dkarter could you please review this PR? This is the implementation of thresholds for each rule via config.yml or CLI -t 90,90,90,90

#40

:+1:


Remove underscore

Hello!
Thanks for this great plugin!
I am using the plugin in more than 5 projects now and just wanted to exclude the unused dependency.

Thanks for contributing !

@gomboc Can you please publish the latest version to npm? I really appreciate it, Thanks!

Published - version 1.1.0


Add lines after imports option?

Hi, thanks for the awesome project!
It would be nice to have an option to enforce 1 or 2 empty lines after import.
What do you think about it?
I could try to help if you think that this belongs to the package goal.
Have a good day :tada:
Best regards,
Artem.

it used to do this (2) before #9
but turns out pep8 is inconsistent on lines here:
import os

x = 5

import os

def f(): pass

(these are both ok)

I don't really want to add options, and if it were to pick any value it would be 2 which would undo the fix from #9

I didn't know about that.
I would prefer to enforce 2 spaces everywhere. But it only just my wish.
Feel free to close this issue if you don't want to push such constraints for all users.
Thanks for the quick response!

no problem and thanks for the issue!


Node notifier double logs

Describe the bug
Kurtosis is running two Lodestar nodes, which sometimes print a double status log milliseconds apart from each other
Jan-18 18:12:20.981 []                 info: Searching peers - peers: 0 - slot: 1 (skipped 1) - head: 0 0x2951…13a2 - finalized: 0x0000…0000:0
Jan-18 18:12:21.001 []                 info: Searching peers - peers: 0 - slot: 1 (skipped 1) - head: 0 0x2951…13a2 - finalized: 0x0000…0000:0

Jan-18 18:21:20.978 []                 info: Synced - slot: 46 - head: 46 0x2e36…104d - finalized: 0x0000…0000:0 - peers: 1
Jan-18 18:21:21.000 []                 info: Synced - slot: 46 - head: 46 0x2e36…104d - finalized: 0x0000…0000:0 - peers: 1

Expected behavior
Log once per slot
How to recreate
Not sure

Not able to recreate


PowerLauncher.exe throws on Windows User sign out / shutdown

ℹ Computer information

PowerToys version: v.0.25.0
PowerToy Utility: FancyZones, FileExplorer, Keyboard Manager, PowerRename, PowerToys Run and Shortcut Guide are active
Running PowerToys as Admin: Yes and No (tried both)
Windows build number: Windows 10 Pro Version 2004 (OS Build 19041.572)

📝 Provide detailed reproduction steps (if any)

Sign in
PowerToys auto starts (as admin or not, doesn't matter)
Sign out

✔ Expected result
No error should appear in the Event Log
❌ Actual result
Error popup on sign out + log present in Event Log:
Application: PowerLauncher.exe
CoreCLR Version: 4.700.20.47201
.NET Core Version: 3.1.9
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: Sequence contains no elements
   at System.Linq.ThrowHelper.ThrowNoElementsException()
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at PowerLauncher.ReportWindow.SetException(Exception exception)
   at PowerLauncher.ReportWindow..ctor(Exception exception)
   at PowerLauncher.Helper.ErrorReporting.Report(Exception e, Boolean waitForClose)
   at PowerLauncher.Helper.ErrorReporting.DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e)
   at System.Windows.Threading.Dispatcher.CatchException(Exception e)
   at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
   at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

📷 Screenshots
Popup is too quick, can't screenshot it.
Other
Similar to #2820, but different exception.

We should track down the issue and fix this, i don't think it is a drop everything item however

I was able to get the screenshot by recording a slo-mo, hope this helps

Not sure what's causing the exception on logoff since I am not able to reproduce it with the current master, but https://github.com/microsoft/PowerToys/pull/7935 is fixing an issue with the PT Run log file that wasn't created.

I got an error when logging out/shutting down too.

是的，我也遇到了这个问题。

I have the same problem, trace is identical but CoreCLR Version is 4.700.20.26901, and .NET Core Version 3.1.6

I just did a full system build five days ago using v0.25. I'm getting power launcher errors on shutdown and random FancyZone errors when dragging windows around. I was getting the power launcher errors before the rebuild too.

@Joe-Flash @JCavallo If I read the thread correctly, there's a fix from @crutkas committed for version 0.29. I'm guessing this issue will be closed when 0.29 is released, so no real need to report it anymore until then.
See this above:

@dstj Indeed, my bad I was looking for a matching PR :/
Thanks

sorry, fix was done by @davidegiacometti for 0.27!

Shipped with 0.27 release. https://github.com/microsoft/PowerToys/releases/tag/v0.27.0


diga-api.tk.de/diga/api/public/rest XMLReaderException

Problem
When trying to bill the "Techniker Krankenkasse" with a real code you get the following error:
DigaApiExceptionError(exception=com.alextherapeutics.diga.DigaXmlReaderException: Exception thrown when trying to read XML request body: ) It's coming from https://github.com/alex-therapeutics/diga-api-client/blob/34d18ee8f6bbacf0e6fa1b78ebaa22d1a15e0cf6/src/main/java/com/alextherapeutics/diga/implementation/DigaXmlJaxbRequestReader.java#L63 and on some further investigation the underlying exception is com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence
The insurance response report seems to have an invalid character somewhere eventhough in the header the encoding is set to utf-8
Solution
A possible temporary hack/workaround for this problem, that seems to work is casting the byte array as an utf-8 encoded string and back to a byte array:
Replacing this line https://github.com/alex-therapeutics/diga-api-client/blob/34d18ee8f6bbacf0e6fa1b78ebaa22d1a15e0cf6/src/main/java/com/alextherapeutics/diga/implementation/DigaXmlJaxbRequestReader.java#L62
with
var bytes = new String(decryptedReport.readAllBytes(), StandardCharsets.UTF_8).getBytes();

Thanks for the issue! I recall that when I was setting this up I noticed that some APIs specified different xml character encodings (some UTF-8, others some type of ISO standard) in their <?xml version="1.0" encoding="xxx"?> header. Did you get a chance to save the XML that gave this error, so you can tell me what the encoding was?
I like your hack as a short-term solution if it works, but if it is as I suspect then we need to support multiple encodings longterm by inspecting the xml header. You can probably (?) tell JAXB which encoding to use when unmarshalling.
That can be left as an issue for future work though if it seems difficult - I am a little swamped with work right now and cant look at that. I would accept a PR with the short-term hack though :)

The xml has utf-8 specified as an encoding. There a small output of the xm
<?xml version="1.0" encoding="UTF-8"?>
<rep:report xmlns:rep="http://www.xoev.de/de/validator/varl/1"
            xmlns:s="http://www.xoev.de/de/validator/framework/1/scenarios"
            varlVersion="1.0.0" valid="true">

I will prepare a PR (tomorrow morning) as soon as we talked to the technical contact person of the insurance to get more information

Okay, thanks for looking this up! It does sound like a possible error on their end, so it would be great if you asked them what's up. Let me know how it goes

#50


Cross Site Scripting

Vulnerable Endpoint: https://demo.craftcms.com/{token}/s/admin
Issue: Cross Site Scripting
Description:
Cross-site scripting, also known as XSS, is a type of computer security vulnerability typically found in web applications. XSS enables attackers to inject client-side scripts into web pages viewed by other users.
Steps To Reproduce:

Goto https://demo.craftcms.com/ and register
Goto email with which you have registered there will be links
Goto Control Panel URL https://demo.craftcms.com/{token}/s/admin
Login with admin password
In dashboard at the place of news entry and work entry "Short description" paste payload ">
Payload executed!!

POC

Hello Brad,
I would like to request cve-id for this vulnerability, Mind?

Responding to your email.


Does Squirrelly support conditional operators?

Is there support for this kind of logic:
{{if(options.somevalue === 1 && options.someothervalue === 1)}}
Display this
{{#else}}
Display this
{{/if}}

Handlebarsjs was my first try and it doesn't support it natively.  I read through the documentation and could not find the answer to this.

Hi @pbrianmackey, thanks for the question! There is support for conditionals, and they have exactly the syntax that you wrote down.
Here's an example:
https://runkit.com/nebrelbug/squirrelly-with-conditionals


@lalyos plz review

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1783/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1784/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1785/


fatal error C1083: Cannot open include file: 'ab sl/strings/string_view.h': No such file or directory

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (win10):
TensorFlow installed from (source):
TensorFlow version:1.14.
Python version:3.6
Bazel version (if compiling from source):0.22
GCC/Compiler version (if compiling from source):cmake3.13.5+MSbuild

Describe the problem
I want to build .dll and .lib of TF_C++ API on WIN10.    an error :cannot find absl. And， I have no idea to fix it.
Provide the exact sequence of commands / steps that you executed before running into the problem
cmake .. -Thost=x64 -A x64 -DCMAKE_BUILD_TYPE=Release -DSWIG_EXECUTABLE=D:/swigwin-4.0.0/swig.exe -DPYTHON_EXECUTABLE=D:/Anaconda3/envs/tfcc36/python.exe -DPYTHON_LIBRARIES=D:/Anaconda3/envs/tfcc36/libs/python36.lib -Dtensorflow_BUILD_ALL_KERNELS=ON -Dtensorflow_BUILD_CC_EXAMPLE=ON -Dtensorflow_BUILD_CC_TESTS=OFF -Dtensorflow_BUILD_CONTRIB_KERNELS=ON -Dtensorflow_BUILD_MORE_PYTHON_TESTS=OFF -Dtensorflow_BUILD_PYTHON_BINDINGS=ON -Dtensorflow_BUILD_PYTHON_TESTS=OFF -Dtensorflow_BUILD_SHARED_LIB=ON -Dtensorflow_DISABLE_EIGEN_FORCEINLINE=OFF -Dtensorflow_ENABLE_GPU=OFF -Dtensorflow_ENABLE_GRPC_SUPPORT=OFF -Dtensorflow_ENABLE_HDFS_SUPPORT=OFF -Dtensorflow_ENABLE_MKLDNN_SUPPORT=OFF -Dtensorflow_ENABLE_MKL_SUPPORT=OFF -Dtensorflow_ENABLE_POSITION_INDEPENDENT_CODE=ON -Dtensorflow_ENABLE_SNAPPY_SUPPORT=ON -Dtensorflow_ENABLE_SSL_SUPPORT=OFF -Dtensorflow_OPTIMIZE_FOR_NATIVE_ARCH=ON -Dtensorflow_VERBOSE=OFF
MSBuild /p:Configuration=Release ALL_BUILD.vcxproj
Any other info / logs
“D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\ALL_BUILD.vcxproj”(默认目标) (1) ->
“D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build_beam_search_ops.vcxproj”(默认目标) (2) ->
“D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\pywrap_tensorflow_internal.vcxproj”(默认目标) (3) ->
“D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\pywrap_tensorflow_internal_static.vcxproj”(默认目标) (4) ->
“D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_c.vcxproj”(默认目标) (5) ->
“D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_cc_framework.vcxproj”(默认目标) (6) ->
“D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_framework.vcxproj”(默认目标) (7) ->
“D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\proto_text.vcxproj”(默认目标) (8) ->
“D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj”(默认目标) (9) ->
(ClCompile 目标) ->
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\core\coding.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\gif\gif_io.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\core\status.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\core\threadpool.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\hash\crc32c.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\db\sqlite.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/gtl/array_slice.h(19): fatal error C1083: Cannot open include file: 'abs
l/types/span.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\lib\histogra
m\histogram.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\hash\hash.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\block_builder.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\path.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\inputbuffer.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\block.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\buffered_inputstream.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\format.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\iterator.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\inputstream_interface.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\record_writer.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\random_inputstream.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\record_reader.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\snappy\snappy_inputbuffer.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\snappy\snappy_outputbuffer.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\table.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\table_builder.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\two_level_iterator.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\zlib_inputstream.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\jpeg\jpeg_mem.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/gtl/array_slice.h(19): fatal error C1083: Cannot open include file: 'abs
l/types/span.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\lib\random\d
istribution_sampler.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\io\zlib_outputbuffer.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow\core\lib\png\png_io.cc(27): fatal error C1083: Cannot open include file: 'absl/ba
se/casts.h': No such file or directory [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/gtl/array_slice.h(19): fatal error C1083: Cannot open include file: 'abs
l/types/span.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\lib\random\r
andom_distributions.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\strings\numbers.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\strings\ordered_code.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/strings/proto_text_util.h(19): fatal error C1083: Cannot open include fi
le: 'absl/strings/str_cat.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core
\lib\strings\proto_text_util.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\monitoring\collection_registry.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\monitoring\sampler.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\strings\scanner.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/strings/str_util.h(22): fatal error C1083: Cannot open include file: 'ab
sl/base/macros.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\lib\string
s\str_util.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\strings\base64.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\li
b\strings\strcat.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow\core\lib\wav\wav_io.cc(22): fatal error C1083: Cannot open include file: 'absl/ba
se/casts.h': No such file or directory [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\fr
amework\resource_handle.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow\core\lib\strings\proto_serialization.cc(19): fatal error C1083: Cannot open inclu
de file: 'absl/memory/memory.h': No such file or directory [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_
core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\pl
atform\default\human_readable_json.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\pl
atform\file_system.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\pl
atform\file_system_helper.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\pl
atform\platform_strings.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\pl
atform\tensor_coding.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
D:\tfVS\tensorflow-r1.14\tensorflow/core/lib/core/stringpiece.h(29): fatal error C1083: Cannot open include file: 'ab
sl/strings/string_view.h': No such file or directory (compiling source file D:\tfVS\tensorflow-r1.14\tensorflow\core\pl
atform\windows\windows_file_system.cc) [D:\tfVS\tensorflow-r1.14\tensorflow\contrib\cmake\build\tf_core_lib.vcxproj]
105 个警告
48 个错误

Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@penghao1990,
The TensorFlow team does not officially support cmake, sorry. Please try out building from source with Bazel. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


feat: implement "misbehaviour detector" and slash

Extend the model integrated from #10010 with a misbehaviour detected and showcase a slashable offence get punished.
Likely best to setup a "slash-factory" for easily conveying proposals etc. Alternatively, could be conveyed with P2P messages, to be decided.

Might be useful to handle #10455 since the bitmap can be used again when needing to perform a slash.


Have you considered capturing Road Surface Quality data?

Hi, guys.
I have just discovered your brilliant work. I was thinking about a way to capture the quality of road surfaces, and using this information to add surface quality to OpenStreetMap, but it could also be used to help councils and governments to prioritise highway maintenance.
SmartRoadSense have done some good work here, but development has stopped, because they are busy with other projects. The client they use to capture data, is open source, but the backend algorithm they use, is CURRENTLY closed source (proprietary).
If you could help maintain or fork the app, this broad detail could be used for OSM, but the much deeper detail could be used elsewhere
My thoughts are here:
https://www.openstreetmap.org/user/chris_debian/diary
Thanks,
Chris | chris_debian

Hello,
Thank you for your message. Your idea of capturing road surface quality and incorporating it into OpenStreetMap for improved road maintenance prioritization is indeed intriguing.
We've taken note of your suggestion to consider adding this functionality to our roadmap. While we're excited about the potential, please understand that our resources and availability are factors we need to consider. We will assess the feasibility of maintaining or forking the app, as well as exploring the integration of deeper detail for other applications.
Thank you once again for your interest and valuable input.
Best regards,


Use new Pester syntax: -Parameter for Pester tests in Utility

PR Summary
Use new Pester syntax: -Parameter for Pester tests in Utility. #6245
Because of the number of tests in Utility, this PR only contains the updated Pester syntax. Issues, functional, or test style changes will be handled in separate PRs.
Items identified so far that need issues created:

[X] Get-Random.Tests.ps1: #6370

use of Should -Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) needs to be refactored
use of Should -Be @secondRandomNumber should be Should -Be @secondRandomNumber and tested

[X] Remove-Variable.Tests.ps1 #6371

use of Should -Be #nothing.  it should be Nothing at all. should be Should -BeNullOrEmpty

[X] Implicit.Remoting.Tests.ps1 #6372

use of Should -Not -Be NullOrEmpty should be Should -Not -BeNullOrEmpty and tested because of functional change

PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[X] Change is not breaking
[NA] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[X] Not Applicable
OR
[NA] User-facing Documentation needed

[NA] Issue filed - Issue link:

Testing - New and feature

[X] Not Applicable or can only be tested interactively
OR
[NA] Make sure you've added a new test if existing tests do not effectively test the code changed

[NA] Add [feature] if the change is significant or affects feature tests

I cleaned up the extra spaces across all files using \| Should -(\w+)\s\s+ to find them all.

I think @kalgiz already took care of these tests with her PR https://github.com/PowerShell/PowerShell/pull/6366

Sorry about that. I didn't see that other pull request then I did the work and submitted this PR. I reviewed the merge conflicts that now exist and this PR has nothing new to add any more.

@KevinMarquette Thanks for your contribution!
Sorry, we must explicitly write in the original Issue who grab the job.


Remove incompatible schema from Thickline

When users add Material (even empty) properties to Thickline is no longer renders. Since it is such a custom component, perhaps Thickline build schema should remove Material and other common properties.

Fixed in c41e68d.


Payload Motor/Blister Pack Integration Testing

Things need to be done for motor testing:

Test if phase mode works with Arduino, DRV8834 and the stepper motor. (tested to be working with pay-ssm)
If the phase mode works, test see if it provides enough force to pop the blister pack. (previous tests with pay-ssm showed it provided not enough torque)
Test if microstepping mode works with Arduino, DRV8834 and the stepper motor.
If this mode works, see if it provides enough force to pop the blister pack.
If none of the above works, see if there are other motor/driver options.

Hey Cindy! @Cindy471, we will also integrate with the distant sensing platform you build with the motor testing. Can combine our two arduino code together.

Bruno's feedbacks for the first iteration of code:

CONFIG pin should be wired in hardware
Remove duplicated for loop in microstepping mode
Have separate actuation function for Phase/Microstepping mode
Double check: set the xDECAY voltage with a resistor to ground or setting the voltage manually


Access token generated after SSO sign in is showing unauthorised while calling Graph API API with Group.Read.All permissions

Implemented SSO on teams tab. Granted consent for Group.Read.All permission. When using token for Graph API call, it is showing Unauthorised error. Also, same token is generated when app is installed in different tenants.

@v-smahaj Could you please use jwt.io to confirm if the access token has all the permissions granted?

I have checked token at jwt.io. It is only showing user_impersonation in scope. Other API permissions are not listed there.

@v-smahaj The current implementation of SSO only grants consent for user level permissions. Please check the known limitation with SSO here.

Currently, I am only getting Id token and I have to make another API call to get access token from Id token as I have to call Graph API with Group.Read.All permissions. Is there any workaround for this?

@v-smahaj This is a known limitation with SSO currently. We are working on making this experience better.


[NO-ISSUE]update doc to reflect snapshot BETA requirement

I have implemented these changes into #51


Fix glob for NRF building (name "nrf52840" was changed to "nrf52840dk")

Problem
Glob was too strict, failing to build after "dk" and "dongle" suffixes were created
Change overview
Replace the glob slightly
Testing
N/A - this is a cloudbuild update.

Marking as hotfix: this only affects external cloudbuild  integration, it  does not change functionality of the main SDK.


game code and other things

Hi Matthias,
I was wondering if you could also opensource the code for this game you made: http://matthiasschuetz.com/webgl-platforms-game/
I was trying to see how to use your game framework (like how to add a level, GUI, sound, etc.) and not everything was clear to me after looking through the documentation and the provided code demos.
Another thing I briefly looked at was to upgrade the Cannon.js code (upgrading Three.js worked fine after minor fixes), but got stuck somewhere. How difficult would it be to upgrade the Cannon.js code? Should I give it a try again and submit the issues here?
Something else I would be interested in (not sure how difficult that it be), is to also add a first-person mode, much like I coded in this small demo: http://spirare.js.org/app/examples/first-person-navmesh/index.html
Thanks for an interesting framework!
Jama

Hi,
sorry for the late answer, I was a little busy during the last weeks.
So concerning the code of my Platforms game, I think I can provide it here as open source. I will check the code, add some more comments and I will publish it soon!
The upgrade topic is a bit more tough: at the time of starting the THREE.BasicThirdPersonGame framework, there was this certain version of Cannon.js I used for the framework. When I was done with the project, there were newer versions of THREE.js and Cannon.js. And I also tried to update both of the frameworks but there were many obstacles. One pitfall lies in the fact that the Cannon.js code has been refactored in 0.6.0 and some methods still don't exist anymore or work different.
The only thing I can offer here is to retry the process by using the current versions of both libraries and see how far I can go.
Regarding the first-person mode I can say that it's not a trivial task since the framework was made for 3rd-person games. The critical point can be seen in this picture of the documentation:
http://matthiasschuetz.com/three-basicthirdpersongame/docs#basic-concept
The camera is always behind the player object and acts as follow-camera. A first-person camera would behave in a different fashion and you would additionally want to use the mouse to look around (like in your demo).
So for this, I could provide two possibilities:
You can fake a first-person mode by adjusting the parameters of the camera to something like this.
_game.player.cameraOffsetH = 10;
_game.player.cameraOffsetV = 2;
After finding a good camera position, you could hide the player model:
_game.player.mesh.visible = false;
That could do it but it would just be a shift of the 3rd-person follow-camera.
The other possibility is to check out this demo since it's made by the author of Cannon.js and integrates the physics engine into a first-person-like game:
https://schteppe.github.io/cannon.js/examples/threejs_fps.html
So far.

Hi,
Great to see you might opensource the larger demo game. Thanks.
Perhaps it would be a good idea to put the tutorial docs on github too in markdown format in  "doc" directory eg.? Then it would be easy make doc. changes as the code changes (and developers would also have the docs in their checkout). I could help with that documention conversion if you want (I am thinking of one big markdown tutorial file with the images and such and a table of contents).
The THREE.js upgrade was easy. I think I had to make 2 small changes, I could make a pull request for that if you want.
I am still in the process of learning more about Cannon.js (my older laptop is also not able to run all their demos), but will try to help with the library interface code upgrade once I understand it better. I think it is important to try and keep tracking the stable version of these libraries, so game developers can feel more confident about the future of the framework. I personally would like to use it to teach some young-adults to make (small) 3D web games.
I will have a go at using the FP-mode with Pointerlock using the model-hiding technique this weekend and report back here. Perhaps some other things could be improved for it to make FP-mode work nicely too.
Thanks!
Jama

Hi,
I got some news, so the Platforms demo game is now open source and available here:
https://github.com/matthias-schuetz/webgl-platforms-game
I also created a DOCS.md which contains the whole documentation of the website. It's added to the repository and can be found in the doc folder:
https://github.com/matthias-schuetz/THREE-BasicThirdPersonGame/blob/master/doc/DOCS.md
The last thing refers to the update of THREE.js and Cannon.js. I started updating both libraries to the current versions but it's still not running. THREE.js wasn't a problem but I'm currently stuck with Cannon.js. I'm going forward with the process and let you know when I have a kind of result.
Regards
Matthias

Fantastic! Great news. No hurries, take your time. I will follow the progress.
Jama