Check that there is no text after the metadata

It would be cool to check whether there is some text after the metadata block, because that sometimes happens unintentionally when squashing commits together, e.g. in my https://github.com/nodejs/node/commit/c5545f2c63fe30b0cfcdafab18c26df8286881d0.
(I may find the time to look into this myself, but just in case I don’t, I want to have mentioned it)

I like it. I'll go ahead and work on this. On another note, git-fixit is what I use for daily squashing (although it uses fixup instead of squash so the commit messages aren't melded into the previous)

Just published<EMAIL_ADDRESS>The rule will be disabled if --no-validate-metadata flag is passed to core-validate-commit, otherwise, it will be enabled. Thanks!

Wow, that was fast! Thanks, it works! :tada:


Update font on outdatedbrowser.com

Could you update font on page outdatedbrowser.com? Czech lang have not char Č and Ř.

And not detect my Czech lang, default lang is English on your page.

On Ubuntu 14.04.1, Chrome Version 39.0.2171.71 (64-bit)

.da-slide .da-txt h2 {
font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;

The font we are using has those accents.
http://www.typography.com/fonts/gotham/characters/gothamscreensmartmedium
Maybe the reason is not detecting the  Czech lang, is because I made a mistake with the lang atribute (cz insted of cs). I will try that out and ask your feedback, if you dont mind.
Cheers

Thanks @JosefJezek
We just fixed this issue, if you find any other bug with accents feel free to shout at us ;)
Cheers


[SPARK-GREENPLUM-9] Fix the bug when creating temp table.

What changes were proposed in this pull request?
In a GreenplumOptions, if its table option is in a format that both schema and rawTableName are closured by double quotes.
Such as :
"schemaName"."tableName"

So we can not  append a randomString on the end of options.table directly.
How was this patch tested?
Unit test.

In the first place, should we allow table to contain dbschema information? or which schema info should have higher priority？

In the first place, should we allow table to contain dbschema information? or which schema info should have higher priority？

The table option is extended from JDBCOptions.
In this project, we invoke some JDBC util method, which take table option as parameter.
So we can implement this in the future.


Connecting to Mongo

I'm hosting my db on MongoHQ and followed the query string connection as they specified (I'm able to log in through my nodejs - express app).  Still getting this error when I try to connect:
/home/ubuntu/.rvm/gems/ruby-2.1.1/gems/mongo-1.10.0.rc1/lib/mongo/functional/authentication.rb:205:in `issue_authentication': Failed to authenticate user 'analytics' on db 'admin'. (Mongo::AuthenticationError)

mongodb://user:pass@candidate.12.mongolayer.com:10280/dbname
mongodb://user:pass@candidate.12.mongolayer.com:10280/admin
(tried both and neither work - slightly different errors).
thoughts?

For the record, the need for admin access can be avoided with --only-db.

Was anyone able to get this working with Compose (MongoHQ)? If so can you share more details and what options you ended up using? I've tried many times with the --only-db option and that still does not work.

I'm using Compose as well, didn't find a solution yet.

Looks like I forgot to specify the dbname! --only-db [dbname]

Hm I did do that, any chance you can post the exact command (without credentials obviously)

For reference this is what I tried but it fails at the listDatabases command:
mongodb://$USER:$PASSWORD@$HOST:$PORT?replicaSet=set-$REPLICA&readPreference=secondary --only-db $DB

@AndrewBarba Perhaps you forgot to specify the the DB after the port?
mosql --mongo mongodb://$USER:$PASSWORD@$HOST:$PORT/$DB?replicaSet=set-$REPLICA&readPreference=secondary --only-db $DB
Btw, you should include both addresses in the replicaset uri, since you don't which will be primary or secondary e.g.
mosql --mongo mongodb://user:password@candidate.1.mongolayer.com:1234,candidate.2.mongolayer.com:5678/dbname?replicaSet=set-xxxyyyzzz&readPreference=secondary --only-db dbname


[BUG] left sidemenu, all categories dissapear when pressing "hide all" "show all"

Describe the bug
left sidemenu, all categories dissapear when pressing "hide all" "show all"
To Reproduce
Steps to reproduce the behavior:

Go to (https://mapgenie.io/once-human/maps/nalcott)
Click on 'hide all'
see error, left sidemenu categories dissapeared

Expected behavior
side menu categories shouldn't dissapear
Screenshots

Desktop (please complete the following information):

OS: windows
Browser chrome
Version 126.0.6478.127

In case it helps, the same thing is happening is to me but only after trying to create a preset, in fact I came here to report that. I was able to solve it by exporting, deleting the presets information from the .json and importing again.

In case it helps, the same thing is happening is to me but only after trying to create a preset, in fact I came here to report that. I was able to solve it by exporting, deleting the presets information from the .json and importing again.

Hi, i have the same problem currently it totally brick mapgenie from edge for me unless i remove this extention
How to export and delete preset information like you said? look around and don't see any menu to do that at all, i'm using it from once human game.

On the right side of the search bar.

And then on the fourth tab.

And than using a text editor remove both the presets and presetsOrder entries from the .json file and reimport it.

Hi, i have the same problem currently it totally brick mapgenie from edge for me unless i remove this extention

How to export and delete preset information like you said? look around and don't see any menu to do that at all, i'm using it from once human game.

On the right side of the search bar.
And then on the fourth tab.
And then using a text editor remove both the presets and presetsOrder entries from the .json file and reimport it.

Thank for such a detail instruction, i manage to fix it now!


Allow Server Access from other devices

I would love to be able to point my ipad to my computer and access the server, unfourtunately I can only access it at localhost:8080 but not at 192.xxx.x.xxx:8080.

Can you set ‘httpd-host’
‘’’elisp
(require simple-httpd)
(setq httpd-host “<IP_ADDRESS>”)
‘’’
I think this can be added as a customizable in the future
On 14 May 2020 Thu at 02:44 RyanGreenup<EMAIL_ADDRESS>wrote:

I would love to be able to point my ipad to my computer and access the
server, unfourtunately I can only access it at localhost:8080 but not at
192.xxx.x.xxx:8080.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/org-roam/org-roam-server/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE45IL467PWFHMPX3USYLG3RRMWFBANCNFSM4NAGRJDA
.

Can you set httpd-host
(require 'simple-httpd)
(setq httpd-host “<IP_ADDRESS>”)

Ahh perfect thanks. This works really well!
I've noticed also that it seems to work better on Firefox than Safari in iOS and the warning is far less obtrusive.
Now I just have to figure out how to implement basic http authentication.

Added new customizable variables.
org-roam-server-host, org-roam-server-port, org-roam-server-authenticate
You can set org-roam-server-host to "<IP_ADDRESS>" to access from other devices.
If you want authentication, you can set org-roam-server-authenticate to t then you have to provide the token while opening the webpage. When you set org-roam-server-authenticate to t it will give you the token while starting the server. Then you can send the token to your iPad to login easily because the token is rather long with 64 characters.


Publish the vscode-knative extension to Open VSX

This extension does not appear to be available from Open VSX, https://open-vsx.org
Due to the terms of use published on the Micorsoft marketplace, this extension is thus not available to users of open source builds of VS Code such as vscodium, or che-code included with Eclipse Che / OpenShift Dev Spaces.
Please consider publishing this extension to https://open-vsx.org

Thanks for raising this @cgruver. We would publish the extension to open-vsx with the next release.

Awesome!
Thanks.


[Feature]: One more allowed domain for images and badges - cloudback.it

Related Problem
Cloudback is a SaaS providing automatic daily backups and instant restores of GitHub repositories, metadata, and LFS. The service is  available via GitHub Marketplace. The domain of the service is cloudback.it.
One of the features of Cloudback is a backup status badge, which is used to display the repository backup status. Please see the badge example below:

According to the NuGet documentation, there is a list of allowed domains for images and badges. We would like to request the addition of the cloudback.it domain to the allowed domains list.
Thank you!
The Elevator Pitch

Additional Context and Details
No response

Also, please see the example of the badge which doesn't display properly on nuget.org website.
GitHub README:

NuGet.org:

Related issue: https://github.com/NuGet/NuGetGallery/issues/10198


make Rule constructor public

Currently to build an empty Rule object I need to use following as a workaround:
        ByteArrayInputStream input = new ByteArrayInputStream("".getBytes(StandardCharsets.UTF_8));
        OpeningHoursParser parser = new OpeningHoursParser(input);
        Rule emptyRule;
        try {
            ArrayList<Rule> rules = parser.rules(true);
            emptyRule = rules.get(0);
        } catch (ParseException e) {
            e.printStackTrace();
            throw new RuntimeException();
        }

To avoid XY problem: I want an empty Rule object as I want to check whatever given opening_hours object is using certain subset of opening hours syntax. To do this I

create an empty Rule object
add to this empty rule only constructs known to be supported, copying them from the original rule
compare whatever it equals original one

Alternative solution would be to check for all constructs known to be unsupported on the Rule object, but I think that it is far more likely to fail due to missing something.

And to make this less theoretical - code that I mentioned is at https://github.com/westnordost/StreetComplete/compare/master...matkoniecz:resurvey (in file src/main/java/de/westnordost/streetcomplete/quests/opening_hours/OpeningHoursTagParser.kt) and it is implementation of https://github.com/westnordost/StreetComplete/issues/1651

and now the hacky workaround is in https://github.com/westnordost/StreetComplete/pull/1676 - I would be happy to avoid it, but I have no good ideas how it can be done

I'm still weighing if this actually makes sense, what would work is making a copy of the original object, and then removing  the bits that are unsupported, but I agree that is likely somewhat error prone.

I originally used this method and discovered in debugging that I missed some properties, that is why I switched to this variant. Especially as confirming whatever one actually tracked down all special cases is a tricky thing (2012-2022 Feb+ Mo[1] -5 days 09:00-(sunset+00:50) and its friends is saying hello)
And removing the bits that are unsupported would have greater potential to fail in case of adding new functionality covering yet another special OH syntax.

Thanks


0.18.0 just got released, bump the version

Coverage remained the same at 37.782% when pulling 4a5d9cca75e50cc0c17bdac43669ece5a1c49b4c on alanren/bump-import into 921beebd79b09f7f0ec036e8c63249750a97a8f2 on main.


ReadonlyRecord: map: add support for structs

This is very exciting - this is something I've wanted to be able to do in fp-ts for quite a long time.

@kalda341 do you mean fp-ts v2? It should already be possible, I copied the typings from v2.

@gcanti Even better, I must have missed that one!


[BUG/Guest User Evaluation]

Describe the bug

It appears that the is_guest function in utils.py evaluates to True even when the "acct" claim evaluates to 0, where 0 indicates that the user is a tenant member and 1 indicates that the user is a guest. Here is the function for reference:
def is_guest(claims: Dict[str, Any]) -> bool:
    """
    Check if the user is a guest user
    """
    # if the user has set up `acct` claim in Azure, that's most efficient. 0 = tenant member, 1 = guest
    if claims.get('acct') == 1:
        return True
    # formula: idp exist and idp != iss: guest user
    claims_iss: str = claims.get('iss', '')
    idp: str = claims.get('idp', claims_iss)
    return idp != claims_iss

According to the Access token claims reference, the idp "Records the identity provider that authenticated the subject of the token. This value is identical to the value of the Issuer claim unless the user account isn't in the same tenant as the issuer, such as guests. Use the value of iss if the claim isn't present. For personal accounts being used in an organizational context (for instance, a personal account invited to a Microsoft Entra tenant), the idp claim may be 'live.com' or an STS URI containing the Microsoft account tenant 9188040d-6c67-4c5b-b112-36a304b66dad."
In my case, I am using a personal Azure account created for testing and I have assigned myself to both the client and API applications. The access token obtained includes the following claims:
"iss": "https://login.microsoftonline.com/MY_TENANT_ID/v2.0"
"idp": "live.com"
"acct": 0
The expected behavior is that as a tenant member assigned to the app, I would not evaluate to "guest" user. Is this assumption correct? Would it make sense to check if claims.get('acct') == 0 as well?
To Reproduce

To reproduce this behavior, create an Azure Active Directory (Microsoft Entra ID) instance and add a user to it. Follow the Azure configuration and FastAPI configuration examples from the FastAPI-Azure-Auth docs to set up the OpenAPI docs and API configurations. Assign the user to the enterprise apps as described in the user assignment required section of the Guest User docs. Run the app and try authenticating and testing the endpoint in the OpenAPI docs.
Stack trace

Not applicable. Response consists of {"detail": "Guest users not allowed"}
Your configuration

I am using the Azure configuration and FastAPI configuration from the FastAPI-Azure-Auth docs.

We consider personal accounts invited to a tenant for guest users. This is very much intended from my side.
All tests can be found here.
If you'd like to allow for personal users, you should:

allow guest users
create a new dependency, and only check for acct claims:

def `deny_guest(user: Annotaded[User, azure_scheme):
    if claims.get('acct') == 1:
        raise InvalidAuthHTTP(detail="guest user not allowed")
    return user

Written on phone, might have some syntax errors.
Please also see #201

I'll close this, but I still get notified of any comments.

Hi @JonasKs
Thank you for reviewing my question, for your prompt response, and for your work on this project. I am confused why my user would be considered a guest, considering that it is listed as a tenant member, but I think I just need additional clarification. I do notice that when I run the single tenant example referenced above using my admin user, it works and the API response is {"message": "Hello World"} from the OpenAPI docs as SPA. So perhaps when I created my Azure Active Directory (Microsoft Entra ID) instance, I did so as an admin role and invited another personal account of mine to be a member.

Hi @yksnilowyrahcaz, this is more of a general decision - a personal user isn't a company user (e.g. <name>@intility.no), and that's why we consider it a guest account. You're allowed to disagree, but in general, for bigger companies this is true.
I want users of this library to be extra protected by default, and opt out, instead of having a potential security flaw without knowing.
I can assure you there is plenty of APIs in the world which unintentionally allow guest users to use them, and Azure themselves had a security incident because of it a year or so ago.


Add negative prompts

Add negative prompts to /imagine_horde and perhaps the other ones. We need to figure out a way to make optional arguments.

Add negative prompts to /imagine_horde and perhaps the other ones. We need to figure out a way to make optional arguments.

async def imagine(ctx, prompt: str, negative: str = None,

Done! Thanks!


[LG 2020 Model]Unable to open the app in appium inspector due to below error

Original error: unknown error: unexpected command response (Session info: content shell=)
[debug] [W3C] Matched W3C error code 'unknown error' to UnknownError
[debug] [Chromedriver@0cab] UnknownError: An unknown server-side error occurred while processing the command. Original error: unknown error: unexpected command response
[debug] [Chromedriver@0cab]   (Session info: content shell=)
[debug] [Chromedriver@0cab]     at errorFromW3CJsonCode (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:923:25)
[debug] [Chromedriver@0cab]     at ProxyRequestError.getActualError (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:798:14)
[debug] [Chromedriver@0cab]     at JWProxy.command (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:340:19)
[debug] [Chromedriver@0cab]     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[debug] [Chromedriver@0cab]     at Chromedriver.startSession (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/node_modules/appium-chromedriver/lib/chromedriver.js:597:5)
[debug] [Chromedriver@0cab]     at Chromedriver.start (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/node_modules/appium-chromedriver/lib/chromedriver.js:528:7)
[debug] [Chromedriver@0cab]     at WebOSDriver.startChromedriver (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:182:5)
[debug] [Chromedriver@0cab]     at WebOSDriver.createSession (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:153:5)
[debug] [Chromedriver@0cab]     at AppiumDriver.createSession (/opt/homebrew/lib/node_modules/appium/lib/appium.js:336:35)
[Chromedriver@0cab] Chromedriver exited unexpectedly with code null, signal SIGTERM
[debug] [Chromedriver@0cab] Changed state to 'stopped'
[Chromedriver@0cab] An unknown server-side error occurred while processing the command. Original error: unknown error: unexpected command response
[Chromedriver@0cab]   (Session info: content shell=)
[debug] [AppiumDriver@09a1] Event 'newSessionStarted' logged at<PHONE_NUMBER>097 (18:20:06 GMT+0530 (India Standard Time))
[debug] [AppiumDriver@09a1] Encountered internal error running command: Error: An unknown server-side error occurred while processing the command. Original error: unknown error: unexpected command response
[debug] [AppiumDriver@09a1]   (Session info: content shell=)
[debug] [AppiumDriver@09a1]     at Object.errorAndThrow (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/support/lib/logging.js:115:34)
[debug] [AppiumDriver@09a1]     at Chromedriver.start (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/node_modules/appium-chromedriver/lib/chromedriver.js:553:16)
[debug] [AppiumDriver@09a1]     at WebOSDriver.startChromedriver (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:182:5)
[debug] [AppiumDriver@09a1]     at WebOSDriver.createSession (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:153:5)
[debug] [AppiumDriver@09a1]     at AppiumDriver.createSession (/opt/homebrew/lib/node_modules/appium/lib/appium.js:336:35)
[HTTP] <-- POST /session 500 10342 ms - 825

@jlipps @boneskull @KazuCocoa Please help in this regards.

It is an important topic. issues are present in TV’s of LG.
Drivers are able to launch the app in TV with the Desired capabilities,But to inspect the app its not able to launch in appium inspector the 3 error mentioned above.
Let me know if full logs are needed.

\cf4 [Chromedriver@0cab]\cf2 Set chromedriver binary as: /Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/node_modules/appium-chromedriver/chromedriver/mac/chromedriver_mac64_v107.0.5304.62

Did you tried appium:chromedriverExecutable? We addressed as:

In our testing, we've found Chromedriver 2.36 to work with most TVs.

https://github.com/headspinio/appium-lg-webos-driver#capabilities

@KazuCocoa ,I not tried with this appium:chromedriverExecutable
I will give a try and get back in this ASAP.

@KazuCocoa The suggestion worked out.Now by using the "chromedriverExecutable" desired capability i am able to launch the app in inspector and appium.
Thanks 👍
Closing the issue

@KazuCocoa Unable to close the issue due to restriction.Please close the same.

btw there is no explicit support for this driver in the inspector.


Issue in Predicting Images

Hi
I'm having an issue in predicting the images;

Please let me know how can I resolve them?
Thanks
Arafat

Exact same issue here.

Hi @Mimetis, yes, I figured out later and not only this. The other way to achieve is to set the Custom Vision project as Default by choosing this;

You're Right !! thx for the tips :)

Yes, you have to have already set a default iteration if you don't provide an explicit iteration ID. You can see an example of how to set a default iteration programatically in the sample code:
https://github.com/Microsoft/Cognitive-CustomVision-Windows/blob/master/Samples/CustomVision.Sample/Program.cs#L95


Facing Problem on Ethereum A1

Not able to claim ETH A1 Taiko faucets

plz see: https://discord.com/channels/984015101017346058/1058399121234468904


Scroll-to-top animation added

Pull Request
Title
Add animation to scroll to top button
Description
Add floating to and down animation to scroll to top button
Related Issues
Fixes #262
Changes Made
Added a custom css file to styles and added those css class names to scroll to top button.
Checklist

[x] I have tested the changes locally
[x] Documentation has been updated (if necessary)
[x] Changes are backward-compatible

Screenshots (if applicable)

Additional Notes

Footer

@VaibhavArora314 please check my pull request

@VaibhavArora314 changed animation to 1.7s and distance to 15px please check

@VaibhavArora314 done


Issue #398: Abstract Delta code from main/core code

Description
Abstract Delta code from the core code
Type of change
Code refactoring
Checklist:
Here is the list of things you should do before submitting this pull request:

[x] New feature / bug fix has been committed following the Contribution guide.
[ ] Add logging to the code following the Contribution guide.
[ ] Add comments to the code (make it easier for the community!).
[ ] Change the documentation.
[ ] Add tests.
[ ] Your branch is updated to the main branch (dependent changes have been merged).

Closing this PR as it served as a proof-of-concept refactoring.
The actual refactoring has been completed in the refactor branch.


python310Packages.jmp: 4b94370 -> 260e5ba

Description of changes
Upgrades jmp to the latest commit in the main upstream branch (https://github.com/deepmind/jmp/commit/260e5ba01f46b10c579a61393e6c7e546aeae93e), which fixes the breakage since #183051 was merged (removes dependence on tree_multimap).
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

8 packages failed to build:

python310Packages.distrax
python310Packages.elegy
python310Packages.rlax
python310Packages.treex
python39Packages.distrax
python39Packages.elegy
python39Packages.rlax
python39Packages.treex

4 packages built:

python310Packages.dm-haiku
python310Packages.jmp
python39Packages.dm-haiku
python39Packages.jmp


compute_hazards does not work for loaded models

I was trying to understand why the concordance index was inconsistent when calculating from a loaded model (see this comment here) and discovered this problem: model.X and model.partial_hazard are not correctly saved in save_model.
How to replicate:

Run DeepSurv Example jupyter notebook
Save the trained model with model.save_model('bestparams.json', weights_file='bestweights.h5')
Load the model with model2 = deepsurv.deep_surv.load_model_from_json('bestparams.json', weights_fp='bestweights.h5')
In one cell, run the following repeatedly. Notice that with the original model, partial_hazards is consistent.

compute_hazards = theano.function(inputs = [model.X],outputs = -model.partial_hazard)
partial_hazards= compute_hazards(x_train)
print(partial_hazards)

In another cell, run the same code with the saved and then reloaded model. Notice that the value of partial_hazards changes with each run of the cell.

model2 = deepsurv.deep_surv.load_model_from_json('bestparams.json', weights_fp='bestweights.h5')
compute_hazards = theano.function(inputs = [model2.X],outputs = -model2.partial_hazard)
partial_hazards2 = compute_hazards(x_train2)
print(partial_hazards2)

This results in an inconsistent concordance index, since you must compute the hazards to get the concordance. I have tried to fix it myself but I don't think I understand Theano tensors well enough. Hope this can be addressed soon.

Update: this post is a partial fix in that it makes the loaded model cell consistent with each run, but the c-c-index values are not the same as the model that was trained in the notebook. For example, if the in-notebook model c-index is [1,2,3], the loaded model cell is now [4,5,6] every time the cell is run, but this is obviously not the same as the other c-index from the same model.


Add inputs to the Wire Freezer to allow linking/unlinking via other methods

Pretty much just copied and pasted code, already tested and should work fine.

Closed, making a different PR to add some e2 functions for this


Roll Flutter Engine from 9ab2603db24f to 0e102cd57a39 (1 revision)

https://github.com/flutter/engine/compare/9ab2603db24f...0e102cd57a39
2023-08-28<EMAIL_ADDRESS>Roll Skia from 0d39172f35d2 to fe4f018ef935 (1 revision) (flutter/engine#45169)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Create a K8s event attached to the policy report at each update

Closes #68

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.038%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
289

Relevant Lines:
314

💛  - Coveralls


docs: rework documentation on models

In this PR I rework the main sections of the documentation on models themselves.
I split existing documentation to make for smaller pages and add to many of the sections.
We still need to add more documentation, on the ModelLibrary, and the assets.
The best way to review is to run mkdocs serve and check the progression in the following sections (the first ones):
  - Developer guide:
    - 'library/overview.md'
    - Models:
      - 'library/models/overview.md'
      - Getting predictions: 'library/models/using_models.md'
      - Configuring models: 'library/models/configuring_models.md'
      - Assets: 'library/models/model_with_assets.md'
      - Dependencies: 'library/models/models_with_dependencies.md'
      - Validation: 'library/models/validation.md'
      - Batching: 'library/models/batching.md'
      - Testing: 'library/models/testing.md'
      - Async: 'library/models/asynchronous_models.md'
      - Organizing models: 'library/models/organizing.md'

Thanks for the review @tgenin


⚠ GitLab Server has degraded performance

In 9f11419, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 14767 ms

Resolved: GitLab Server performance has improved in 6592e1f.


Allow #[pin_project(!Unpin)] to impl !Unpin

Suppose I have the following trait definition:
trait Trait {}
impl<T: Unpin> Trait for T {}

And I use it from another crate. Then this will not have overlapping impls:
struct Struct;
impl !Unpin for Struct {}
impl Trait for Struct {}

... because Rust understands that this doesn't overlap with the blanket impl in the trait definition. But this will not work:
struct Struct2(std::marker::PhantomPinned);
impl Trait for Struct {}

Nor will any other trick that isn't a straight up impl !Unpin.
Right now, if you use pin_project with a struct, you cannot impl !Unpin for that struct, which means that struct cannot implement Trait if it does not fall under the blanket impl. Would you accept a PR adding some way to impl !Unpin? For example, something like:
// creates an `impl !Unpin`, instead of an impl Unpin conditional on the impossible
#[pin_project(!Unpin=negative_impls)]
struct Struct { ... }

( In particular, I want this for https://github.com/google/crubit/blob/main/rs_bindings_from_cc/support/ctor.rs )

I'm not opposed to supporting unstable features under an explicit option.
However, negative_impls breaks pin_project's soundness (#340), so I prefer not to provide features that require negative_impls to be enabled until that problem is fixed.

https://github.com/taiki-e/pin-project/issues/340 has been fixed so I mark this as no longer blocked.
That said, we now know that there is a way to emulate full native_impls on stable Rust (https://github.com/taiki-e/pin-project/issues/340#issuecomment-2428002670), so we can consider using that in #[pin_project(!Unpin)]. (Aside from whether we want to rely on it, since it sounds like a compiler bug)

Btw, the same trick observed in #340 would allow to perform a negative impl here, without needing an unstable feature (although an opt-in for the proper unstable feature usage would probably be desirable).
See https://docs.rs/negative for a PoC


cannot find -lclntsh on win8 64bits

i meet this problem where run cmd go get github.com/mattn/go-oci8。i'v seen this issue in annother project,how can i solve this problem in this project,thanks!
https://github.com/tgulacsi/goracle/issues/11

Because we don't know where you did install oracle. If you MUST specify WHERE you did install oracle. For go-oci8, you can use oci8.pc file to specify the location. This mean we can't do go get. Please see README.md

If you mean the -l flag, you can modify oci8.pc to specify -loci instead.

thanks,i'v modify oci8.pc and solved this problem


Missing code?

Where is the "SubmitRequest" method? I can't figure out what is used to actually send the request queries to the server.
Thanks,
Laura

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

ID: 2700fc00-4872-6fcf-65e0-ab9fd5fde2a1
Version Independent ID: e828bbb5-2c22-17f2-32aa-aa3773c55806
Content: Build an Azure Cosmos DB .NET Framework, Core application using the Gremlin API
Content Source: articles/cosmos-db/create-graph-dotnet.md
Service: cosmos-db
Sub-service: cosmosdb-graph
GitHub Login: @christopheranderson
Microsoft Alias: chrande

@cc-laura Thank you for the feedback. We are actively investigating and will get back to you soon.

@cc-laura Please check the highlighted section in yellow where we are making the submit request:

Please let us know if you have more queries around it.

@cc-laura Awaiting your response on this.

Hi,
I see the call to SubmitRequest, but where is it defined?
Thanks,
Laura
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: AnuragSharma-MSFT @.>
Sent: Monday, April 26, 2021 11:30:12 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Laura Hernandez @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Missing code? (#74247)
@cc-laurahttps://github.com/cc-laura Awaiting your response on this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/74247#issuecomment-827304616, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APMSHRIXXWHKBYEOXIOSKN3TKY4VJANCNFSM43NIFBQQ.

@cc-laura In the same article, there is link provided to download the entire code from git repo. You need to download the code and the implementation of SubmitRequest is defined there.

Pasting it for you reference:

@cc-laura We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Hi,
Yes, that's what I needed to see. I'm sorry I didn't think to download the code.
One other question, the only sample I see is sending strings via the SubmitAsync, is there no way to simply call methods? I thought in the .net driver, I would be able to simply execute something like g.V().has('category', 'X') and not sending it as a string, but actually chaining method calls.


Inclusion of catalog items inside other catalog items

Goes together with https://github.com/apache/brooklyn-server/pull/124

My thought on this is that the behaviour we are describing here, and I don't just mean the newly added stuff in this PR, is complicated enough that we should expand the text to at least include examples of each of the possibilities.  At minimum I'd say the new material needs illustration.
E.g.
Entries can be URL to another catalog file to include, inheriting the meta from the current hierarchy. For example:
brooklyn.catalog:
  displayName: Foo
  brooklyn.libraries:
  - http://some.server.or.other/path/my.jar
  items:
  - classpath:my-catalog-entries.bom
  - id: use-from-my-catalog
    item:
      type: some-type-defined-in-my-catalog-entries

In this case a jar file is added as a library, and then catalog items are added from the "my-catalog-entries.bom" file it contains, followed by an additional item that makes use of the definitions in the included file.
And similarly for the include case.  We should cover the various supported scenarios.
A question - do we really need the "include" keyword? Does the use of a URL as the item not do the same thing?  If we can avoid "include" it might avoid confusion as to whether to use it or not.

+1 for an example, will add one.
include must be used when the context is a map - if you have sibling properties. It may be used if the link is the only thing in the item description. In your example adding an include: will work as well, turning the list item from a string to a map with a single entry.

Worth adding this as a comment in the docs.

will do

@neykov the comments above are nice to have but can be a follow-on PR.  this is a good addition already so merging.

@ahgittin can you have a look at the related apache/brooklyn-server#124 PR as well. The docs here are incorrect without it merged.


switch button class to id for activation

Switch jquery code to use the ID rather than the class for binding the click handler. This allows us to style all buttons with one class (now poorly named .downloadBtn).

This is great! Can you rebase?


The WebSocket implementation is not thread safe.

see WebSocketImplementation's implementation for example SendAsync

Hi Ying,
Thank you for your observation. The WebSocketImplementation class is not meant to be thread safe. This must not be confused with not being able to use it in a multithreaded environment. Of course this library is designed to be used very concurrently with many simultaneous connections. However, the WebSockImplementation class really just a private connection between a server and a client, independent of all other connections. It does not really make sense to call SendAsync from multiple threads especially since this library supports continuation frames. The idea is to have one thread for receiving and another for sending. Max two threads per unique WebSocket connection. This is the most you can get out of a full duplex tcp connection anyway.

Thanks for the reply. I was wrong about how to send data in different threads. It turns out that I need to make sure thread safe in the caller when call SendAsync protect the data integrity to the client.
Thanks very much for your information. I will close it.


Fix the position of search bar

Describe the bug

Currently, the search bar is inconsistent. Please see the screenshot for clear understanding of this issue.

Possible solution
-Change the position of search bar
Screenshots

Please assign me this issue under gssoc21

please assign it to me . i am a participant of GSSoC'21

issue #205 is already opened for the same


Checkbox in RKE2 create/edit cluster config form is not clickable

Setup

Rancher version: v2.10-f1b486de4051becd030fc6f4f98785285548a910-head
Browser type & version: Chrome Version 130.0.6723.59 (Official Build) (arm64)

Describe the bug
Checkbox "Raise error if kernel parameters are different than expected kubelet defaults" in RKE2 create/edit cluster config form is not clickable
To Reproduce
1- From the side menu bar in the UI, go to Clusters Management
2- Hit Create
3- Select RKE2
4- In the Cluster Config session of the form, go to the Advanced tab
5- Try to select the checkbox "Raise error if kernel parameters are different than expected kubelet defaults" at the very bottom
Result
Checkbox in RKE2 create/edit cluster config form is not clickable and consequently cannot be enabled
Expected Result
User should be able to select/unselect the checkbox. The checkbox should enable the feature when selected and disable it when unselected.
Screenshots
https://github.com/user-attachments/assets/499d68be-6d83-4e16-a756-1984729537d1

This worked in 2.9.x so this is a regression.

picking this one up. Lost rancher org access. Cannot assign to me

Based on code freeze coming up in 2 days, @jordojordo can you take a look at this today if you have time?

Tested in:
Rancher v2.10-e615207c8cd924c092b55a9301e7378878706d19-head
Dashboard master 190f486
Checkbox is clickable.


#301 fix bug

Description
Fixes #301
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works
[ ] Any dependent changes have been merged and published in downstream modules

Just merged this into the node-to-edge branch I'm working on (#271) and it looks like there is another bug which this doesn't fix... sorry!
ipdb> model.concatenated_algebraic.children[0].children[0].children[0]
MatrixMultiplication(-0x17b15d5f1166fdd5, @, children=['Sparse Matrix (9, 8)', 'Sparse Matrix (8, 9) @ function (electrolyte_conductivity_Capiglia1999)(domain concatenation * Typical electrolyte concentration) / 96485.33289 ** 2.0 * function (electrolyte_diffusivity_Capiglia1999)(Typical electrolyte concentration) * Typical electrolyte concentration / 8.3144598 * Reference temperature * domain concatenation ** Bruggeman coefficient * Typical electrolyte concentration / Maximum concentration in negative electrode / Negative electrode width + Separator width + Positive electrode width ** 2.0 / function (electrolyte_diffusivity_Capiglia1999)(Typical electrolyte concentration) / 96485.33289 * Maximum concentration in negative electrode * Negative electrode width + Separator width + Positive electrode width / Typical current density / Number of electrodes connected in parallel to make a cell * Electrode depth * Electrode height * 2.0 * 1.0 - Cation transference number * Sparse Matrix (8, 9) @ domain concatenation / Sparse Matrix (8, 9) @ domain concatenation - Sparse Matrix (8, 9) @ domain concatenation'], domain=['negative electrode', 'separator', 'positive electrode'])
ipdb> model.concatenated_algebraic.children[0].children[0].children[0].evaluate(0,y0)
array([0., 0., 0., 0., 0., 0., 0., 0., 0.])
ipdb> model.concatenated_algebraic.children[0].children[0].children[0].simplify()
MatrixMultiplication(0x10a9d0cab9b52b09, @, children=['Sparse Matrix (9, 9)', 'Vector of length 9 * function (electrolyte_conductivity_Capiglia1999)(1000.0 * y[18:27]) * Sparse Matrix (8, 9) @ y[18:27] / Sparse Matrix (8, 9) @ y[18:27] - Sparse Matrix (8, 9) @ y[27:36]'], domain=[])
ipdb> model.concatenated_algebraic.children[0].children[0].children[0].simplify().evaluate(0,y0)
*** ValueError: operands could not be broadcast together with shapes (9,1) (8,1)

Here it looks like (A @ u1) * ( (B @ u2) / (C @ u3) - D @ u4) is getting changed to A @ ( u1 * ( ( (B @ u2) / (C @ u3) - D @ u4 ) )

this should be fixed now @rtimms

Codecov Report

Merging #302 into master will decrease coverage by 0.48%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #302      +/-   ##
==========================================
- Coverage   97.63%   97.15%   -0.49%
==========================================
  Files          53       53
  Lines        3093     3939     +846
==========================================
+ Hits         3020     3827     +807
- Misses         73      112      +39

Impacted Files
Coverage Δ

pybamm/expression_tree/binary_operators.py
97.03% <100%> (-2.1%)
:arrow_down:

pybamm/expression_tree/unary_operators.py
94.14% <0%> (-2.39%)
:arrow_down:

pybamm/expression_tree/vector.py
98.18% <0%> (-1.82%)
:arrow_down:

pybamm/expression_tree/broadcasts.py
96.34% <0%> (-1.62%)
:arrow_down:

pybamm/expression_tree/concatenations.py
98.84% <0%> (-1.16%)
:arrow_down:

pybamm/solvers/dae_solver.py
96.22% <0%> (-1.15%)
:arrow_down:

pybamm/solvers/scikits_ode_solver.py
94.44% <0%> (-0.91%)
:arrow_down:

pybamm/solvers/scikits_dae_solver.py
94.73% <0%> (-0.82%)
:arrow_down:

pybamm/models/base_models.py
99.19% <0%> (-0.81%)
:arrow_down:

... and 6 more

Continue to review full report at Codecov.

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


speedfan 4.52 fails (requires elevation)

Installing speedfan results in:
speedfan452.exe (2.9 MB) [====================================================================================] 100%
Checking hash of speedfan452.exe ... ok.
Running installer... error.
ERROR Exception calling "Start" with "0" argument(s): "The requested operation requires elevation"
Installation aborted. You might need to run 'scoop uninstall speedfan' before trying again.
Installing 'speedfan' (4.52) [64bit]
Running pre-install script...

There is no UAC prompt, and scoop.exe exits with error code 1.
The scoop app dir contains only the installer, and three 0-byte files created for persist:
    Directory: ~\scoop\apps\speedfan\4.52

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----        2020-10-13   9:35 AM        3086696 speedfan452.exe
-a----        2020-10-13  10:00 AM              0 speedfanevents.cfg
-a----        2020-10-13  10:00 AM              0 speedfanparams.cfg
-a----        2020-10-13  10:00 AM              0 speedfansens.cfg

It appears speedfan installs some kind of system driver, so it's likely it does require escalation -- it just shouldn't be failing in scoop like this, with no UAC prompt. This is the same version in the original PR (#1074) and 4.52 appears to be released in 2015, so I'm assuming this isn't a new issue, or something specific to my system.

Yes, it does work with sudo. I think the issue here is more that this failure results in scoop saying speedfan is installed when it actually failed.
I have two suggested fixes, but I don't know what's better:
Use sudo during install
The manifest would be changed:
    "depends": "sudo",
    "installer": {
        "script": "sudo $fname /S /D=$dir"
    }

(Note: untested)
I believe this would show UAC prompt when needed, and should fix the problem.
Change scoop to allow "requires elevation" flag
This would make scoop aware of a package that requires elevation, and it could take care of sudo or another mechanism to elevate, and could be generally useful to other packages too.


Restricted APIs for Lab 4

the following 4 for Main class as well as Collection API for classes other than ImmutableMap
edit: letting everyone know what APIs are restricted and what will give an instant F so that you do not have to waste time resubmitting

you can try refer to #211 and #184

i did this too and its because i was using the get() method in another class which is not allowed

Yup, I think you can try exploring other methods in Optional that will help to return .


VIDEOJS: ERROR: Error: HTTP error status: 0

I have taken the "Wavesurfer Plugin Video Example" and change the video file to be played to:
    // load file     player.src({src: 'test.mp4', type: 'video/mp4'});
When loading the page I get  "ERROR: Error: HTTP error status: 0". The video file plays, but no waveform is displayed.
Any ideas?
Thanks
videojswavesurfer.zip

@esukmonica are you able to play the video file directly in the browser using a URL?

Yes, I can play the video in Chrome via: http://localhost/video/test.mp4
However, if I replace
player.src({src: 'test.MP4', type: 'video/mp4'});
with
player.src({src: 'http://localhost/video/test.mp4', type: 'video/mp4'});
then I still get the same error and no waveform, but now I cannot play the video neither. I do not get any of the player controls either (play, volume buttons)
video.min.js:12 VIDEOJS: ERROR: Error: HTTP error status: 0     at wavesurfer.js:2850:11

Tests are being done with: Chrome Version 99.0.4844.51/Windows 10 Pro
Thanks

Can you try other browsers, e.g. firefox or edge?

Firefox: 98.0 (64-bit). Applies to both scenarios (having a video source as URL or within the page)

Video cannot be played
No waveform
No video controls

EDGE: Version 99.0.1150.36 (Official build) (64-bit), behaves in the same way as chrome. if video is within page, it can be played but no waveform is displayed, if video source uses the video URL, the video cannot be played and no waveform is displayed

The regular example works ok: https://collab-project.github.io/videojs-wavesurfer/demo/video.html
Can you try a different video, and maybe also paste output of ffprobe (part of ffmpeg) for the video here.

Thanks thijstriemstra
All working now. The error was caused by opening the .html directly from disk.
I have now opened the html via the URL and I get the waveform


Add limit note about system fields

Status
Ready
Related Issues
fixes: link to the issue
Description
A few sentences describing the overall goals of the pull request's commits.
Screenshots
Paste here any images that will help the reviewer

@MosheEichler Doc review compeleted.


Creating NativeBrokerPlugin requires process.exit() to shutdown node

Core Library
MSAL Node (@azure/msal-node)
Core Library Version
2.7.0
Wrapper Library
MSAL Node Extensions (@azure/msal-node-extensions)
Wrapper Library Version
1.0.15
Public or Confidential Client?
Public
Description
Node does not shutdown after simply creating a NativeBrokenPlugin
Error Message
None. Node just stays running unless process.exit() is called. I suspect that the NativeBrokerPlugin is listening on a socket and it will continue listening until someone shuts it down. Perhaps offer a way to shutdown the NativeBrokerPlugin when we're done with it.
e.g.
const plugin = new NativeBrokerPlugin()
plugin.dispose()
MSAL Logs
None. Despite trace being turned on
Network Trace (Preferrably Fiddler)

[ ] Sent
[ ] Pending

MSAL Configuration
{
      auth: {
        clientId: 'clientId',
        authority: 'https://login.microsoftonline.com/facac3c4-e2a5-4257-af76-205c8a821ddb/'
      },
      broker: {
        nativeBrokerPlugin: new NativeBrokerPlugin()
      },
      system: {
        loggerOptions: {
          logLevel: LogLevel.Trace,
          loggerCallback: ( level, message, containsPii ): void => {
            if ( containsPii ) {
              return;
            }
            switch ( level ) {
              case LogLevel.Error:
                console.error( message );
                return;
              case LogLevel.Info:
                console.info( message );
                return;
              case LogLevel.Verbose:
                console.debug( message );
                return;
              case LogLevel.Warning:
                console.warn( message );
                return;
              default:
                console.log( message );
                return;
            }
          }
        }
      }
}

Relevant Code Snippets
import {
  LogLevel,
  PublicClientApplication
} from '@azure/msal-node';
import { NativeBrokerPlugin } from '@azure/msal-node-extensions';

/******************************************************************************
* Handlers
******************************************************************************/
process.on( 'unhandledRejection', ( reason, promise ) => {
  console.log( 'Unhandled Rejection at:', promise, 'reason:', reason );
} );

process.on( 'exit', ()=>console.log( 'Process exit' ) );

/******************************************************************************
* Top Level - First Program Line
******************************************************************************/
main().then( ()=>{
  console.log( 'All done in main' );
} ).catch( console.log );

/******************************************************************************
* Function: main
******************************************************************************/
async function main(): Promise<void> {

  const cApplication = new PublicClientApplication(
    {
      auth: {
        clientId: 'clientId',
        authority: 'https://login.microsoftonline.com/facac3c4-e2a5-4257-af76-205c8a821ddb/'
      },
      broker: {
        nativeBrokerPlugin: new NativeBrokerPlugin()
      },
      system: {
        loggerOptions: {
          logLevel: LogLevel.Trace,
          loggerCallback: ( level, message, containsPii ): void => {
            if ( containsPii ) {
              return;
            }
            switch ( level ) {
              case LogLevel.Error:
                console.error( message );
                return;
              case LogLevel.Info:
                console.info( message );
                return;
              case LogLevel.Verbose:
                console.debug( message );
                return;
              case LogLevel.Warning:
                console.warn( message );
                return;
              default:
                console.log( message );
                return;
            }
          }
        }
      }
    }
  );

  //process.exit();

}

Reproduction Steps
Transpile and run the following typescript.
Node does not exit properly unless the process.exit() call is uncommented
Expected Behavior
I would not expect to have to call process.exit()
Identity Provider
Entra ID (formerly Azure AD) / MSA
Browsers Affected (Select all that apply)
Other
Regression
No response
Source
External (Customer)

This issue is not stale and still needs attention. Thank you
On Mon, May 13, 2024 at 8:30 AM microsoft-github-policy-service[bot] <
@.***> wrote:

@TheBlueRage https://github.com/TheBlueRage This issue has been
automatically marked as stale because it is marked as requiring author
feedback but has not had any activity for 5 days. If your issue has
been resolved please let us know by closing the issue. If your issue has
not been resolved please leave a comment to keep this open. It will be
closed automatically in 7 days if it remains stale.
—
Reply to this email directly, view it on GitHub
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/7076#issuecomment-2107586224,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOPZQFMMYLLWDDLVCMUHD2TZCC6ABAVCNFSM6AAAAABHG46LISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBXGU4DMMRSGQ
.
You are receiving this because you were mentioned.Message ID:
<AzureAD/microsoft-authentication-library-for-js/issues/7076/2107586224@
github.com>


[BugFix] Better RSVP Button

@EdwinZhanCN merged, but i noticed the text is not visible since it's the same color as the background.


Quick README cleanup.

Hey there! Awesome library - thanks a lot!
I just noticed a couple of little things in the README file that could use a bit of cleanup. Hope it helps!

Merged in 92baaa0b79021888cf71d23104438474451b9ff5 -- I had to resolve a couple of conflicts as I had just updated the README as well :)


ionic lib update : Invalid version: 1.2.1

Hello,
With the latest CLI version (v1.7.12), when I want to update the lib in a project, it shows the error "Invalid version: 1.2.1"
$ ionic lib update
Are you sure you want to replace /Users/myuser/Documents/ionic_projects/myproject/www/lib/ionic with an updated version of Ionic?
(yes/no): yes
Latest version: 1.2.1  (released 2015-12-17)
Downloading: https://github.com/driftyco/ionic-bower/archive/v1.2.1.zip
[=============================]  100%  0.0s
Invalid version: 1.2.1
$

+1 same issue here. it appears like the zip url is invalid.

+1

+1 same herew

+1

+1

Issue appears resolved now.  Update successful.

Yes it's now ok on my side. I close this ticket.


[Snyk] Upgrade @mui/material from 5.6.1 to 5.16.7

Snyk has created this PR to upgrade @mui/material from 5.6.1 to 5.16.7.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 114 versions ahead of your current version.

The recommended version was released on a month ago.

Release notes

Package name: @mui/material

5.16.7 - 2024-08-09Aug 9, 2024
A big thanks to the 3 contributors who made this release possible.
<EMAIL_ADDRESS>
[material-ui][mui-system] Add support for version runtime checks (#43233) @ DiegoAndai

Docs

[docs] Fix 301 @ oliviertassinari

Core

[website] Fix wrong link in pricing table (@ zanivan) (#43143) @ zanivan
[website] Add blog link to pricing table (@ zanivan) (#43140) @ zanivan

All contributors of this release in alphabetical order: @ DiegoAndai, @ oliviertassinari, @ zanivan

5.16.6 - 2024-07-30
Jul 30, 2024
A big thanks to the 5 contributors who made this release possible.
<EMAIL_ADDRESS>
[Divider] Enable borderStyle enhancement in divider with children (#43059) @ anuujj

Docs

[material-ui][Card] Update CardMedia description (#43121) @ shahzaibdev1
[material-ui] Replace deprecated <ListItem button/> with ListItemButton component in routing libraries list example (#43114) @ aliharis99
[material-ui][Snackbar] Improve close reason type in demos (#43105) @ sai6855

Core

[code-infra] Use the same CI names on master & next (#43064) @ mnajdova

All contributors of this release in alphabetical order: @ aliharis99, @ anuujj, @ mnajdova, @ sai6855, @ shahzaibdev1

5.16.5 - 2024-07-25Jul 25, 2024
A big thanks to the 4 contributors who made this release possible.
<EMAIL_ADDRESS>
[utils] Add dependency to @ mui/types (@ mnajdova) (#43047) @ mnajdova

Docs

[material-ui][joy-ui][Autocomplete] Fix Hint demo (@ ManthanGajjar) (#43039) @ ManthanGajjar
Fix CHANGELOG convention @ oliviertassinari
[material-ui] Fix broken image links in blog template on master branch (#42969) @ navedqb

All contributors of this release in alphabetical order: @ ManthanGajjar, @ mnajdova, @ navedqb, @ oliviertassinari
Full Changelog: v5.16.4...v5.16.5

5.16.4 - 2024-07-16

5.16.3 - 2024-07-16

5.16.2 - 2024-07-16

5.16.1 - 2024-07-11

5.16.0 - 2024-07-05

5.15.21 - 2024-06-28

5.15.20 - 2024-06-12

5.15.19 - 2024-05-29

5.15.18 - 2024-05-16

5.15.17 - 2024-05-08

5.15.16 - 2024-05-01

5.15.15 - 2024-04-04

5.15.14 - 2024-03-19

5.15.13 - 2024-03-13

5.15.12 - 2024-03-05

5.15.11 - 2024-02-24

5.15.10 - 2024-02-12

5.15.9 - 2024-02-08

5.15.8 - 2024-02-06

5.15.7 - 2024-01-31

5.15.6 - 2024-01-22

5.15.5 - 2024-01-17

5.15.4 - 2024-01-10

5.15.3 - 2024-01-03

5.15.2 - 2023-12-25

5.15.1 - 2023-12-19

5.15.0 - 2023-12-12

5.14.20 - 2023-12-05

5.14.19 - 2023-11-29

5.14.18 - 2023-11-14

5.14.17 - 2023-11-06

5.14.16 - 2023-10-31

5.14.15 - 2023-10-24

5.14.14 - 2023-10-17

5.14.13 - 2023-10-10

5.14.12 - 2023-10-04

5.14.11 - 2023-09-26

5.14.10 - 2023-09-18

5.14.9 - 2023-09-13

5.14.8 - 2023-09-05

5.14.7 - 2023-08-29

5.14.6 - 2023-08-24

5.14.5 - 2023-08-14

5.14.4 - 2023-08-08

5.14.3 - 2023-08-01

5.14.2 - 2023-07-25

5.14.1 - 2023-07-19

5.14.0 - 2023-07-11

5.13.7 - 2023-07-04

5.13.6 - 2023-06-23

5.13.5 - 2023-06-12

5.13.4 - 2023-06-05

5.13.3 - 2023-05-29

5.13.2 - 2023-05-22

5.13.1 - 2023-05-17

5.13.0 - 2023-05-10

5.12.3 - 2023-05-02

5.12.2 - 2023-04-25

5.12.1 - 2023-04-17

5.12.0 - 2023-04-11

5.11.16 - 2023-04-04

5.11.15 - 2023-03-28

5.11.14 - 2023-03-21

5.11.13 - 2023-03-14

5.11.12 - 2023-03-06

5.11.11 - 2023-02-28

5.11.10 - 2023-02-20

5.11.9 - 2023-02-14

5.11.8 - 2023-02-07

5.11.7 - 2023-01-31

5.11.6 - 2023-01-23

5.11.5 - 2023-01-18

5.11.4 - 2023-01-09

5.11.3 - 2023-01-02

5.11.2 - 2022-12-26

5.11.1 - 2022-12-20

5.11.0 - 2022-12-13

5.10.17 - 2022-12-06

5.10.16 - 2022-11-28

5.10.15 - 2022-11-22

5.10.14 - 2022-11-15

5.10.13 - 2022-11-07

5.10.12 - 2022-10-31

5.10.11 - 2022-10-25

5.10.10 - 2022-10-18

5.10.9 - 2022-10-11

5.10.8 - 2022-10-03

5.10.7 - 2022-09-27

5.10.6 - 2022-09-19

5.10.5 - 2022-09-12

5.10.4 - 2022-09-06

5.10.3 - 2022-08-29

5.10.2 - 2022-08-23

5.10.1 - 2022-08-16

5.10.0 - 2022-08-09

5.9.3 - 2022-08-01

5.9.2 - 2022-07-25

5.9.1 - 2022-07-18

5.9.0 - 2022-07-12

5.8.7 - 2022-07-04

5.8.6 - 2022-06-27

5.8.5 - 2022-06-21

5.8.4 - 2022-06-14

5.8.3 - 2022-06-07

5.8.2 - 2022-05-31

5.8.1 - 2022-05-23

5.8.0 - 2022-05-17

5.7.0 - 2022-05-10

5.6.4 - 2022-05-02

5.6.3 - 2022-04-25

5.6.2 - 2022-04-18

5.6.1 - 2022-04-11

    from @mui/material GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

🎉 Snyk hasn't found any issues so far.
✅ security/snyk check is completed. No issues were found. (View Details)


Adds "how we work" section across READMEs

Description
Adds "how we work" section in various READMEs.
Based on feedback from the Celo Foundation and external contributors, it's not clear how to reach us.
My goal with this PR is to be (particularly) explicit that we have a strong preference for GitHub.
My goal is to display this information on npmjs.org (for each package) and celo.docs.org, which is where most of our users interface with our products. I hypothesize that most folks don't know that celo-org/developer-tooling is where we work and encourage communication.
Tested
Docs-only changes
Related issues
N/A
Backwards compatibility
Yes, docs-only change
Documentation
Yes, docs change

I forgot to run yarn run docs to auto-generate the new docs files. I hypothesise this made this CI step fail.

Ready for review, all checks pass ✅


Send *_MSG macros' explanations directly to the _err_print_error().

Should fix #32276.
Currently the m_msg explanations sent to the *_MSG macros are being sent to _err_print_error() function via the ERR_EXPLAIN macro. The ERR_EXPLAIN macros stores a copy of the message in the OS singleton. The _err_print_error() then retrieves a pointer to the copy stored in the OS singleton. Since it appears as if the only function using the message stored in the OS singleton is the _err_print_error() function, there is no reason to store it there, and the m_msg can be sent directly to _err_print_error().
I think the reason the m_msg is currently sometimes not printed, is that _err_print_error() also deletes the message stored in the OS singleton. Since the error handlers may be running in a separate thread, they may not have a chance to print the message before it is deleted. Sending them the original message and not a copy that is subsequently deleted, should solve the problem.

Seems good, but I think we should probably get rid of ERR_EXPLAIN completely if we no longer store the error string for later print.

I agree, but it's still being used elsewhere:

https://github.com/godotengine/godot/blob/5f4ab5c77ded1c078c8e3543727d576d837942e0/drivers/png/png_driver_common.cpp#L46
https://github.com/godotengine/godot/blob/5f4ab5c77ded1c078c8e3543727d576d837942e0/editor/plugins/version_control_editor_plugin.cpp#L111
https://github.com/godotengine/godot/blob/5f4ab5c77ded1c078c8e3543727d576d837942e0/editor/plugins/version_control_editor_plugin.cpp#L122
https://github.com/godotengine/godot/blob/5f4ab5c77ded1c078c8e3543727d576d837942e0/editor/plugins/version_control_editor_plugin.cpp#L142
https://github.com/godotengine/godot/blob/5f4ab5c77ded1c078c8e3543727d576d837942e0/modules/assimp/editor_scene_importer_assimp.cpp#L151
https://github.com/godotengine/godot/blob/5f4ab5c77ded1c078c8e3543727d576d837942e0/modules/assimp/import_utils.h#L372
https://github.com/godotengine/godot/blob/5f4ab5c77ded1c078c8e3543727d576d837942e0/modules/gdscript/language_server/gdscript_workspace.cpp#L120
https://github.com/godotengine/godot/blob/5f4ab5c77ded1c078c8e3543727d576d837942e0/modules/xatlas_unwrap/register_types.cpp#L68

I believe that's an exhaustive list.
I was going to submit a separate PR, which I though would get a 4.0 milestone tag, to change these, and then submit a PR to eliminate the EXPLAIN macro and all the baggage that comes with it:

bool _err_error_exists
void _err_set_last_error()
void _err_clear_last_error()
void OS::set_last_error(const char*)
const char *OS::get_last_error() const

The last of which returns an unsafe pointer, and the probable source of #32276.
However if you prefer I can update this PR. I can add them as separate commits to make it easier to review: We can always squash them before merging.

I agree, but it's still being used elsewhere:

Many of those don't need ERR_EXPLAIN per se, they were just authored before the _MSG macros were added, but merged after the mass review of all ERR_EXPLAIN uses.
The ERR_EXPLAINC might be a bit more tricky, but I guess we can find a way around it.

However, if you prefer, I can update this PR. I can add them as separate commits to make it easier to review: We can always squash them before merging.

I'm not 100% sure, it's true that it's maybe a bit too involved for 3.2 so late - but at the same time I assume that it might not be a lot more code changes than what this PR already does, so we might as well fix it all properly to have a sane base for 4.0 and 3.2.x releases.
If you don't mind, maybe you can indeed push these changes as separate commit, and we can see if they're safe enough for 3.2 or if we should go with the minimal changes to fix #32276 and leave the rest for 4.0?

I've added two commits. The first to remove the uses of the ERR_EXPLAIN macros. The second to remove the ERR_EXPLAIN macros and everything they needed to support it.
Note: I also have PR #33391, which will need to be rebased after this PR anyway, to which these two commits can be added instead.

The changes look good to me. It seems safe enough for 3.2 and it's a very welcome cleanup and bugfix IMO.
We can keep the three commits as is, it makes sense to have them separate I think.

Thanks!

I should note that it does break compat with C++ modules written outside of Godot, it's time to replace those outdated macros now. 😛


Update environment to include the pandas nightly build

ci failure is from notebooks that we already know don't run (see next PR)


MNXTI CSR clarifications?

Section 3.8.7 "Next Interrupt Handler Address and Interrupt-Enable CSR"
It seems like the use of CSRRS was added after the text was written, leading to some inconsistencies.

text refers to "mstatus CSR is used for the RMW portion of the operation" but the CSRRS example only affects the bottom 5 bits of mstatus.
text refers to "must have a level greater than the saved interrupt level mcause.mpil" but the CSRRS example does not check this value, and instead uses rs1[23:16]. Maybe this is intentional but there is no explanation...
It seems weird that CSRRS is permitted but not CSRRC.
Similarly weird, the CSRRSI immediate cannot include non-zero immediate values for bits 0, 2, and 4 but no such restriction applies to CSRRS or CSRRCI.

Perhaps it would be helpful to be more explicit, say "mie and sie bits of the mstatus CSR are used for the RMW portion of the operation; no other bits may be set in the CSRRS/I or CSRRC/I operand"
It may be useful to describe in the conditions for a "suitable" pending interrupt, that those tests are independent of global interrupt enable (which appears to be the case, by inference from the example interrupt handler code in the SW section).

text refers to "must have a level greater than the saved interrupt level mcause.mpil" but the CSRRS example does not check this value, and instead uses rs1[23:16]. Maybe this is intentional but there is no explanation...

I also would like to know the use-case of csrrs rd, xnxti, rs1 (rs1 != x0).  All of sample codes in Appendix use only csrrsi/csrrci xnxti.
The use-case for csrrs rd, xnxti, x0 is described:

This can be used to determine if an interrupt could be taken without actually updating mil and exccode.

But in this case mcause.mpil should be used instead of x0[23:16].  Pseudo-code for this is very simple and easy to implement by reusing logic for csrrsi/csrrci xnxti.
 if (clic.priv==M && clic.level > mcause.mpil && clic.level > mintthresh.th) {
   rd = VTBASE + XLEN/8 * clic.id; // Return pointer to trap handler entry.
 } else {
   rd = 0;
 }

The current specification of csrrs rd, xnxti, rs1 (rs1 may be x0) has no known use-case and is not easy to implement.


Run the release

Release it - unless automated remember to write changelog etc.

The release have been done in a beta feature where the binary can be downloaded from AWS. I will postpone this issue to a real release in the next milestone

okay


[11.x] Optimize container by caching reflection data

It's another slight improvement for large applications with many dependencies. In Laravel we can define services with interfaces as scoped or singleton to force single creation. But for services without an interface (or those declared by using the bind method), there is no need to use scoped or singleton, so every time the service is needed a new instance needs to be created, and in the case of complex applications it could be quite slow. As the first improvement, we can cache data retrieved by using reflection to make those new instances a little bit faster. For a small number of services, it isn't a big optimization, but for a larger number of services, it could mean a few milliseconds per request, which could be a nice optimization.
Benchmarks
It was tested on the example application with a few nested dependencies similar to the following structure:
.Service1
..Service11
....ServiceA
....ServiceB
....ServiceC
....ServiceD
..Service12
....ServiceA
....ServiceB
....ServiceC
....ServiceD
..Service13
....ServiceA
....ServiceB
....ServiceC
....ServiceD
..Service14
....ServiceA
....ServiceB
....ServiceC
....ServiceD
..Service15
....ServiceA
....ServiceB
....ServiceC
....ServiceD
BEFORE
ab -n 1000 -c 1 http://<IP_ADDRESS>:8080/
This is ApacheBench, Version 2.3 <$Revision: 1903618 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking <IP_ADDRESS> (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests

Server Software:        nginx/1.25.5
Server Hostname:        <IP_ADDRESS>
Server Port:            8080

Document Path:          /
Document Length:        2 bytes

Concurrency Level:      1
Time taken for tests:   44.335 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      1128000 bytes
HTML transferred:       2000 bytes
Requests per second:    22.56 [#/sec] (mean)
Time per request:       44.335 [ms] (mean)
Time per request:       44.335 [ms] (mean, across all concurrent requests)
Transfer rate:          24.85 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.3      0       8
Processing:    34   44   9.8     41     133
Waiting:       34   44   9.8     41     133
Total:         35   44   9.8     41     133

Percentage of the requests served within a certain time (ms)
  50%     41
  66%     43
  75%     45
  80%     47
  90%     55
  95%     65
  98%     73
  99%     81
 100%    133 (longest request)

AFTER
ab -n 1000 -c 1 http://<IP_ADDRESS>:8080/
This is ApacheBench, Version 2.3 <$Revision: 1903618 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking <IP_ADDRESS> (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests

Server Software:        nginx/1.25.5
Server Hostname:        <IP_ADDRESS>
Server Port:            8080

Document Path:          /
Document Length:        2 bytes

Concurrency Level:      1
Time taken for tests:   35.608 seconds
Complete requests:      1000
Failed requests:        0
Total transferred:      1128000 bytes
HTML transferred:       2000 bytes
Requests per second:    28.08 [#/sec] (mean)
Time per request:       35.608 [ms] (mean)
Time per request:       35.608 [ms] (mean, across all concurrent requests)
Transfer rate:          30.94 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.2      0       4
Processing:    29   35   7.9     33     110
Waiting:       29   35   7.9     33     110
Total:         29   35   7.9     33     110

Percentage of the requests served within a certain time (ms)
  50%     33
  66%     34
  75%     36
  80%     37
  90%     41
  95%     51
  98%     59
  99%     72
 100%    110 (longest request)

Above results as diff.

Clearly this is not going to go forward, a waste of time.

This looks very promising!
Did you run these benchmarks with OPcache enabled? If not, could you post the results with it enabled?

@rojtjo It was tested with enabled Opcache. Here is the screenshot from Blackfire:

Can we maybe get some real world benchmarks on apps that would simulate a bit more "typical" Laravel application in production with a couple of database queries?

I agree, I could give it a try, but right now all my apps are in 10.x, I didn't yet migrate to 11.x, and I'm wondering if the performance might be due to just the change to properties rather than methods in the reflection, because from my previous testing I noticed that php already caches the result of new ReflectionClass() because the first call always takes ~20 times more time than subsequent calls

@taylorotwell It doesn't make any sense to create an app with SQL queries, because this change doesn't impact queries, it only impacts the container. I know that it is an imagined example, but I was motivated by seeing something like this in one of the apps that I maintain:

@Tofandel I've created the repository with a comparison. You can check it here: https://github.com/sarven/laravel-optimization-test
Before
Time: 19.366332292557ms
Memory: 20.48 KB

After
Time: 15.390226840973ms
Memory: 10.24 KB

It's counterintuitive, but seems like in the cached version memory usage is even lower. I don't know how PHP works under the hood, so can't explain that.
I'm thinking if the possibility to flush this cache is required or not.
BTW I would want to improve the whole container, so this is the first of a few smaller changes. I would want to introduce something like a compilation of the container before deploying the application. It should improve the situation when in large monolithic apps you can see a profile like this:

where the whole request time is 500ms (Blackfire time, not the real one)

Going to hold off on this one for now, but may revisit it in the future.


Animations triggering very late / on the wrong trigger point (for big viewports)

For some reason that I can't seem to understand, the animations trigger when the element in question reaches the top of my viewport.. (so, very late..) I've tried both the default, as well as data-aos-anchor-placement="top-center" .
I'm initializing the plugin as such:
AOS.init({
  once: true,
});

AOS.refresh();

Here's a video of the problem: https://expirebox.com/download/be03de89751f76c62f5f8912a96eb275.html
What makes this even MORE weird is that it works when I serve my website from a dev server (browsersync actually) . and it also works as intended when I make the viewport size a bit narrower or shorter...!

 If you load images that are pushing your other elements down after they load you might want to add AOS.refresh() on window load event, or just set:
AOS.init({
  startEvent: 'load',
});

Also make sure you initialize AOS right before closing </body> tag or on DOMContentReady event.

@michalsnik startEvent: 'load' does the job, but I don't understand why; you mean the trigger point is miscalculated because it's calculated too early?
I load the script with defer by the way;

Hey. Defer makes sure your script doesn't block initial DOM render, so it loads your script after DOM is ready. It's great, but when DOM is ready it doesn't mean your images are. If images don't have a height set they will enlarge as they load, pushing your other elements down. So when you init AOS on DOMContentLoaded it calculates positions of [data-aos] elements but their positions might change when your images finishes loading. Window's event load is being triggered when everything on a page is loaded, including images - that's why this setting makes it work perfectly.
The best solution however is as follows:
AOS.init();

window.addEventListener('load', function() {
  AOS.refresh();
});

Thanks. It's probably that then. Just for investigative reasons I'll try to make a minimal test case without images.

Might I recommend you add this to the README? I lost a lot of time before finding this closed issue. Thanks!

I'm planning to add whole FAQ section with all repeatedly asked questions @ryandeussing :)

Hey,
It would be really great if this is added to the README, I had to go through quite some issues to identify which one was relevant. But hugely appreciated @gkatsanos for the debugging explanation, I had exactly the same, and @michalsnik thanks for the solution!
Cheers

Having the same issue on WordPress, and the problem is exactly caused by an images lazy loading plugin, when I disable it, AOS works just fine, otherwise, the animations trigger more and more late as I scroll down, I understand the issue by reading the comments here, but how do I solve it?
I've tried this solution:
window.addEventListener('load', function() {
  AOS.refresh();
});

but still having the problem.


Adding models generated from clusters and handling uploads through String objects

I've changed the clusters tests to adapt to the batckend changes


sriov vf metrics disappear or have 0 values while pulling from exporter

We tried using sriov-network-metric-exporter to collect vf metrics from our sriov devices. We are observing that the vf metrics disappear or appear with value 0 (against the actual value). They return the actual value occasionally though. Are we missing some args? Could you please give us some insights?
We got 0 values in this try
cp-bm25a2:~> curl <IP_ADDRESS>:9808/metrics | grep sriov_vf_rx_bytes
sriov_vf_rx_bytes{numa_node="1",pciAddr="0000:d8:02.0",pf="enp216s0f0",vf="0"} 0
sriov_vf_rx_bytes{numa_node="1",pciAddr="0000:d8:02.1",pf="enp216s0f0",vf="1"} 0
sriov_vf_rx_bytes{numa_node="1",pciAddr="0000:d8:02.2",pf="enp216s0f0",vf="2"} 0
sriov_vf_rx_bytes{numa_node="1",pciAddr="0000:d8:02.3",pf="enp216s0f0",vf="3"} 0
The metrics disappeared together here
cp-bm25a2:~> curl <IP_ADDRESS>:9808/metrics | grep sriov_vf_rx_bytes
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  6215    0  6215    0     0  1323k      0 --:--:-- --:--:-- --:--:-- 1517k
Metrics appeared correctly in this run but again they either disappear have 0 values in next tries too.
cp-bm25a2:~> curl <IP_ADDRESS>:9808/metrics | grep sriov_vf_rx_bytes
sriov_vf_rx_bytes{numa_node="1",pciAddr="0000:d8:02.0",pf="enp216s0f0",vf="0"} 378
sriov_vf_rx_bytes{numa_node="1",pciAddr="0000:d8:02.1",pf="enp216s0f0",vf="1"} 378
0sriov_vf_rx_bytes{numa_node="1",pciAddr="0000:d8:02.2",pf="enp216s0f0",vf="2"} 378
sriov_vf_rx_bytes{numa_node="1",pciAddr="0000:d8:02.3",pf="enp216s0f0",vf="3"} 378
`
Version used: v0.1-1
Args set:
--path.kubecgroup=/host/kubecgroup
--path.sysbuspci=/host/sys/bus/pci/devices/
--path.sysclassnet=/host/sys/class/net
--path.cpucheckpoint=/host/cpu_manager_state
--path.kubeletSocket=/host/kubelet.sock
--collector.kubepoddevice=true
Attaching the sriov-network-metric-exporter pod logs.
sriov-network-metric-exporter.log
Note: We tried even with a gap of 10s between subsequent requests (as thought the default rate limit might have kicked in) and still see this behaviour.

@eoghanlawless My bad, we were trying to query the metrics from service and it kept routing to different nodes each time and so we got different results. Sorry for the confusion and I am closing this.
Thanks for the support!


Added support for _TZ3000_gjnozsaz / TS011F

Hi @ferdyh, thanks for the PR. I will not merge the code as the device has already been added to me development code. Sorry for the delay releasing an update.. will speed up :)


_bounceColor worldspawn key support

_bounceColor allows setting R G B value for radiosity light, if q3map_lightImage is missing from shader, instead of falling back to qer_editorImage or averaging color from texture map. If a shader has q3map_lightImage, this key is ignored for that shader.

i think we can also add _bounceImage


Hardcoded references assuming /docs at the root of the folder structure were removed.

There are hardcoded references throughout the code assuming that the root folder in the repo is /docs. These are now all coming from docConfig.pathToDocs

These are now all coming from docConfig.pathToDocs


Feature: cinder or manilla endpoint for mounting userdata in an openstack VM

Might be interesting to see this. In theory it might perform faster than WebDAV

@madsi1m EOS provides this integration, would that be okay?

That looks useful, my reading of that was that its for creating new shares.   Another thing I was thinking was mounting existing shares from Owncloud into a OpenStack VM if possible - ie, if someone has existing research data they want to process, they can just mount it and go.  The translation between Openstack auth and Owncloud auth is the interesting bit there.

Hi @brad-marshall , for that what is needed in an integration between the WebDav layer and the OpenStack API. For you case, once you move to OCIS and persist the shares into EOS, you'll be able to expose EOS to any VM, that is what we do for example for SWAN

I think a more generic CS3API Manila driver could be interesting, then its just not restricted to EOS.  We've got end users wanting a GPFS driver, for example, and being able to mount stuff from there similar to whats in EOS could be useful.  We should have a test openstack deployment soon, can investigate how it could work, and see if I can get the EOS mounting working too.

@brad-marshall that will be very interesting. For EOS there should be already a Manila driver, for its status better to ask Andreas.


Still <IP_ADDRESS> version in Hassio with Hassos

Description of problem:
The version of add on is <IP_ADDRESS> I've tried to reload the add on repository, reboot the host, restart of server but non updating of add on the version <IP_ADDRESS> is not available
**Zigbee2mqtt add-on version and platform
//
// ><EMAIL_ADDRESS>// Supervisor 2021.03.6
// Core 2021.03.4
// HassOS 5.12

Sorry i've notice that my repository was the old danielwelch one. Now i choose the right one and everything is right


Issue while calling activity

I have crated method to call activity methods.but my existing application activity methods contain context and calling some other java virtual methods.So is there any solution for this problem?
I am calling method using this
var test = new com.tns.TestObject();
console.log(test.doSomething());
It will call java method but it don't have activity context and calling failed to virtual method.
So is there any way in native script to call activity method with context?

This issue was moved to NativeScript/android-runtime#854


Update for current JIRA versions

The doco above says the plugin us supported up to to JIRA 7.2.
JIRA is now at version 7.9. Is this supported?
I ran this in JIRA 7.8 and it worked fine.

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

ID: d38cad90-6574-38c2-3262-059a9f975064
Version Independent ID: dd08d5c5-65a4-c2cc-8b51-7a35268dde68
Content: Tutorial: Azure Active Directory integration with Microsoft Azure Active Directory single sign-on for JIRA
Content Source: articles/active-directory/active-directory-saas-jiramicrosoft-tutorial.md
Service: active-directory
Product: unspecified
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@andrew-best-diaxion Yes, we support up to version 7.8 We forgot to update the version in the section. We will get this done. We have not tested the plugin on 7.9 yet but we will get that done.

@andrew-best-diaxion We are doing an estimation of this work and will get done soon. After our testing we will also update the doc for the supported versions. For now we will close this ticket as we have created the task internally for us.
#please-close

JIRA has now moved onto 7.11 and the documentation has not been updated as previously advised. I think some attention to this is warranted.

A request to address the gap between the Atlassian product velocity and the modules velocity has been raised at https://feedback.azure.com/forums/374982-azure-active-directory-application-requests/suggestions/34909684-update-atlassian-jira-and-confluence-sso-userprov


Support pki file?

This kind of kubeconfig is not recognized by headlamp.

Hi @AGou-ops . Can you give us more info about your setup? Mac/Linux/Windows/In-Cluster? If Linux, what Headlamp build have you installed? What is the Headlamp version you are using?
Thanks in advance.

@joaquimrocha yes.

MacOS 14.6.1 m1 pro chip.
Headlamp 0.25.1

If I replace the pki file with base64 data, the cluster will connect properly.

cc/ @knrt10

Let me check. Thank you for reporting

@AGou-ops Do you have access to backend? If so, can you paste logs when you try to use the file directly. I am not sure but I think the path pki/admin.pem might be the issue. Headlamp might not be able to load the path. Instead of just pki/admin.pem. Can you try changing it to absolute path from your home directory. Something like /Users/username/pathtopkifile? Please try and let me know. Thanks

@knrt10 yes. The path and access permissions are both ok, because I can access the cluster normally via kubectl command.

 `~/.kube/config`
❯ k config view
apiVersion: v1
clusters:
- cluster:
    certificate-authority: pki/ca.pem
    server: https://xxx.xxx.xxx.xxx:16443
  name: kubernetes
contexts:
- context:
    cluster: kubernetes
    user: kubernetes-admin
  name: kubernetes-admin@kubernetes
current-context: kubernetes-admin@kubernetes
kind: Config
preferences: {}
users:
- name: kubernetes-admin
  user:
    client-certificate: pki/admin.pem
    client-key: pki/admin.key
❯ k cluster-info
Kubernetes control plane is running at https://xxx.xxx.xxx.xxx:16443
CoreDNS is running at https://xxx.xxx.xxx.xxx:16443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

After changing to an absolute path, it works. So, this relative path config is not supported now?
Thanks.


dep ensure failing with "failed to prune nested vendor directories"

BLUF: dep ensure works as expected on a Vagrant-managed VM when I run it manually inside the VM, but fails when run with the ansible provisioner.

Dep version, Go version:

dep:
 version     : v0.5.0
 build date  : 2018-07-26
 git hash    : 224a564
 go version  : go1.10.3
 go compiler : gc
 platform    : linux/amd64
 features    : ImportDuringSolve=false

go version go1.10.1 linux/amd64

dep is running in a Vagrant-managed Ubuntu VM hosted on OSX 10.13.3. The ansible task for dep ensure looks like this:
- name: dep ensure
  become: yes
  become_user: "{{ user }}"
  environment:
    GOPATH: "{{ gopath }}"
    GOBIN: "{{ gobin }}"
    PATH: "{{ ansible_env.PATH }}:{{ gobin }}"
    DEPNOLOCK: 1
  command: dep ensure -v
  args:
    chdir: "/home/{{ user }}/cloud/go/src/magma"

This command consistently fails with the following error output:
{
  "changed": true,
  "cmd": [
    "dep",
    "ensure",
    "-v"
  ],
  "delta": "0:00:56.848447",
  "end": "2018-07-27 22:09:23.660286",
  "msg": "non-zero return code",
  "rc": 1,
  "start": "2018-07-27 22:08:26.811839",
  "stderr_lines": [
    "# Bringing vendor into sync",
    "(1/74) Wrote github.com/prometheus/client_model@master: missing from vendor",
    "(2/74) Wrote github.com/valyala/bytebufferpool@master: missing from vendor",
    "(3/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "(4/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "(5/74) Wrote github.com/jmespath/go-jmespath@0b12d6b5: missing from vendor",
    "(6/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "(7/74) Wrote github.com/go-openapi/errors@master: missing from vendor",
    "(8/74) Wrote github.com/valyala/fasttemplate@master: missing from vendor",
    "(9/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "(10/74) Wrote github.com/beorn7/perks@master: missing from vendor",
    "(11/74) Wrote github.com/hashicorp/hcl@master: missing from vendor",
    "(12/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "(13/74) Wrote github.com/ishidawataru/sctp@master: missing from vendor",
    "(14/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "(15/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "(16/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "(17/74) Wrote github.com/golang/protobuf@master: missing from vendor",
    "(18/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "(19/74) Wrote github.com/mitchellh/mapstructure@master: missing from vendor",
    "(20/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "(21/74) Wrote<EMAIL_ADDRESS>missing from vendor",
    "grouped write of manifest, lock and vendor: failed to export github.com/go-swagger/go-swagger: failed to prune nested vendor directories: remove /home/vagrant/cloud/go/src/magma/.vendor-new/github.com/go-swagger/go-swagger/vendor/golang.org/x/sys/unix: directory not empty"
  ],
  "stdout": "",
  "stdout_lines": []
}

Things get weird when I try to repro this on the VM. When I run dep ensure on the VM directly with the same environment, everything succeeds. The files under the unix directory that are unable to be pruned have 644 permissions (-rw-r--r--) and are owned as expected by the vagrant user.
This issue came up a few weeks back for me when I was still installing dep with go get. I resolved it by switching to the new install.sh installation procedure, but I guess the release cut yesterday must have included the commit that introduced this. I'm pretty thoroughly stumped by this at the moment, would appreciate any help I can get on this. Thanks :)

Yeah, I'm running Virtualbox 5.1.30 on my machine.

@ibrasho i feel like we've seen this before. does this seem familiar to you?

Same problem here with Windows 10 host, Vagrant 2.2.2, VirtualBox 5.2.26 (latest from today) & dep 0.5.

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


Improving title card

Responsiveness and Animation Ending.

@abeersaqib Can you add more detail to this issue? Is there some design spec for it?


training language model on custom data fails

my dataset trains with no issues on huggingface trainer.  I have no experience with hydra.  I have a feeling I'm missing something basic.
! python train.py \   task=nlp/language_modeling dataset.cfg.train_file = "/content/gdrive/MyDrive/nlp-chart/train charts.csv" \   dataset.cfg.validation_file = "/content/gdrive/MyDrive/nlp-chart/test charts.csv"
traceback
2021-04-24 11:44:44.333439: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0 Traceback (most recent call last):   File "train.py", line 88, in <module>     hydra_entry()   File "/usr/local/lib/python3.7/dist-packages/hydra/main.py", line 33, in decorated_main     config_name=config_name,   File "/usr/local/lib/python3.7/dist-packages/hydra/_internal/utils.py", line 370, in _run_hydra     lambda: hydra.run(   File "/usr/local/lib/python3.7/dist-packages/hydra/_internal/utils.py", line 214, in run_and_report     raise ex   File "/usr/local/lib/python3.7/dist-packages/hydra/_internal/utils.py", line 211, in run_and_report     return func()   File "/usr/local/lib/python3.7/dist-packages/hydra/_internal/utils.py", line 373, in <lambda>     overrides=args.overrides,   File "/usr/local/lib/python3.7/dist-packages/hydra/_internal/hydra.py", line 90, in run     run_mode=RunMode.RUN,   File "/usr/local/lib/python3.7/dist-packages/hydra/_internal/hydra.py", line 524, in compose_config     from_shell=from_shell,   File "/usr/local/lib/python3.7/dist-packages/hydra/_internal/config_loader_impl.py", line 149, in load_configuration     from_shell=from_shell,   File "/usr/local/lib/python3.7/dist-packages/hydra/_internal/config_loader_impl.py", line 223, in _load_configuration_impl     parsed_overrides = parser.parse_overrides(overrides=overrides)   File "/usr/local/lib/python3.7/dist-packages/hydra/core/override_parser/overrides_parser.py", line 100, in parse_overrides     ) from e.__cause__ hydra.errors.OverrideParseException: Error parsing override 'dataset.cfg.train_file' missing EQUAL at '<EOF>' See https://hydra.cc/docs/next/advanced/override_grammar/basic for details

Hi @enpassanty! Thanks for checking out the repo, make sure there are no spaces on either side of the equals sign
! python train.py \ task=nlp/language_modeling dataset.cfg.train_file="/content/gdrive/MyDrive/nlp-chart/train charts.csv" \ dataset.cfg.validation_file="/content/gdrive/MyDrive/nlp-chart/test charts.csv"
Could you try this and let me know if it works?

that fixed the problem.  thanks!


Popover blurs focusing TextField.

I two main Components in this situation:

TextField for inputting
Popover manual for showing inputting tips.
When users are texting something, they may need to look up some tips, they could hover to a tip zone to trigger the popover manual.
Unfortunately, the popover blurs the TextFiled, users have to relocate TextFiled cursor location.

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

The Popover has no effects on other components.
Current Behavior 😯

The Popover blurs TextField.
Steps to Reproduce 🕹

Link: https://codesandbox.io/s/yq1oox38k1

Text something in TextField
Hover on Popover trigger
TextField lose focus

Context 🔦

Your Environment 🌎

Tech
Version

Material-UI
v4.0.0-alpha.7

React
v16.8

Browser
Version 73.0.3683.86 (Official Build) (64-bit)

TypeScript
3.4.3

etc.

Things to know when using the Popover component:
The component is built on top of the Modal component.
The scroll and click away are blocked unlike with the Popper component.

-- https://material-ui.com/utils/popover/
Your codesandbox doesn't have a textfield so it's hard to replicate. I think you should rather use a Tooltip or Popper for your use case.

@eps1lon Sorry, I updated Reproduction link.

@eps1lon Sorry, I updated Reproduction link.

Yeah as I said: a Popper or Tooltip is more appropriate. A Popover is intended to block the background.

Thanks, Popper is the correct choice


Lock orientation portrait not working! ( iOS 9.x , Android 5.x )

So I'm working with the intel XDK IDE and I've installed this plugin.
I want to keep my app locked in portrait, but for some reason when I rotate my phone the screen starts rotating too, thus ignoring this plugin completely.
Is there any way to fix it? or do I just have to accept this and move on..?

I've also been experiencing similar issues with iOS 9.3, screen.lockOrientation("landscape") doesn't seem to lock the screen anymore.
The only way I can achieve this is by modifying the Deployment settings within xCode (setting orientation to landscape under Device Orientation), but then I can't use the plugin to lock/unlock like I used to... it will always stay landscape.

Same here. Appears to be broken in 9.3.

It looks like the plugin creator is aware of the issue.
bug link
"In testing I was able to switch the orientation with the below, however have not been able to lock it to that orientation yet. I will continue to investigate as I have time but as always, pull requests welcome."

Yep broken for me in iOS 9.3.1 on my iPhone. My iPad has 9.2 and it seems to be working fine.
I have
<preference name="orientation" value="portrait" />
I want to unlock this for tablets in my universal app. But when I add the plugin it will unlock the orientation change iPhone 9.3 no matter what. Too bad. I would love to unlock portrait orientation for iPads and Android Tablets.

It seems that this plugin unlocks the orientation regardless of the preference listed in the config.xml file.
Setting window.screen.lockOrientation('portrait') in onDeviceReady() solved my issue.

hi, i see that you've managed to make it work
but for me in iOS is still broken
i've coded a function inside the $rootScope.on("$stateChangeSuccess.... to lock the screen in landscape when a certain view gets called. Android works as expected...ios ignores it completely

Please ask this publicly in the thread. Include your config and relevant code. Your question might help someone else.

On May 17, 2016, at 3:32 AM, Vahn84<EMAIL_ADDRESS>wrote:
hi, i see that you've managed to make it work
but for me in iOS is still broken
i've coded a function inside the $rootScope.on("$stateChangeSuccess.... to lock the screen in landscape when a certain view gets called. Android works as expected...ios ignores it completely
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/gbenvenuti/cordova-plugin-screen-orientation/issues/100#issuecomment-219680094

@TawabG - @gbenvenuti has released 1.4.2 which should fix at least the iOS part of this issue. Will you try 1.4.2 and provide an update, please?

v1.4.2 works on iPhone 5s with iOS 9.3.2

@rbarriuso - thanks for the confirmation, I'll close this as resolved.
OP or other commenters - please provide additional feedback if this issue is not resolved for you.


[Panic] if run with --statistics to a file without linter errors

I ran the command ruff --statistics main.py and got an error. File main.py is empty.
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', ruff_cli\src\printer.rs:379:21
stack backtrace:
   0:     0x7ff7eb613e65 - <unknown>
   1:     0x7ff7eb0715bb - <unknown>
   2:     0x7ff7eb60bbe1 - <unknown>
   3:     0x7ff7eb617012 - <unknown>
   4:     0x7ff7eb616c5d - <unknown>
   5:     0x7ff7eb2e2487 - <unknown>
   6:     0x7ff7eb617980 - <unknown>
   7:     0x7ff7eb6176d3 - <unknown>
   8:     0x7ff7eb61543f - <unknown>
   9:     0x7ff7eb6173b4 - <unknown>
  10:     0x7ff7eb6c4475 - <unknown>
  11:     0x7ff7eb6c431c - <unknown>
  12:     0x7ff7eb2d993d - <unknown>
  13:     0x7ff7eb2e8f47 - <unknown>
  14:     0x7ff7eb2deede - <unknown>
  15:     0x7ff7eb2ea781 - <unknown>
  16:     0x7ff7eb22c576 - <unknown>
  17:     0x7ff7eb60482d - <unknown>
  18:     0x7ff7eb30656c - <unknown>
  19:                0x2 - <unknown>
  20:     0x7ff7eb6c26c1 - <unknown>
  21:     0x7ff7eb6c23cc - <unknown>
  22:     0x7ffb53b67034 - BaseThreadInitThunk
  23:     0x7ffb53e026a1 - RtlUserThreadStart

environment: ruff 0.0.238, Windows 10

Thank you! Will fix.