Cannot find NREL compiled open_fast.exe file

Is your feature request related to a problem? Please describe.

I downloaded the open-fast.main zip file from GitHub, and unzipped the file to a folder on my computer.  I then successfully compiled the open_fast and discon files and ran a few of the test files.  Comparison of the analysis files (*.out)  I generated using my compiled open fast program with the analysis files provided by NREL showed minor differences. To investigate further, I would like to obtain the open_fast.exe and discon.dll files compiled by NREL.  These files were not in the folder created by unzipping the open-fast.main.zip file and I could not find them anywhere on your site.
Describe the solution you'd like
Would you either let me know where these compiled files are on github or send me copies by email.

Include NREL-compiled files in zip download.  Also, include all test files (now in a separate zip file) in the same open-fast.main.zip file.
Describe alternatives you've considered
<A clear and concise description of any alternative solutions or features you've considered.>
Additional context

What platform are you using?
For Windows, see the assets in the latest release: https://github.com/OpenFAST/openfast/releases/tag/v2.5.0
For macOS or Ubuntu, see the documentation.

Hello Rafael,
I am using Windows 10.  I downloaded the openfast_v2.5.0_binaries.zip file and found the compiled open fast programs.  However, when I tried to run openfast_x64.exe program I got an error statement indicating that I did not have the following files:
libifcoremd.dll.
libifportMD.dll
SVml)dispMd.dll
Libmmd.dll
The binaries zip file did come with some .dll’s, but not these.  Do you know where I can find these files?
Thanks,
Arnold
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Rafael M<EMAIL_ADDRESS>Sent: Monday, February 22, 2021 2:04 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [OpenFAST/openfast] Cannot find NREL compiled open_fast.exe file (#663)
What platform are you using?
For Windows, see the assets in the latest release: https://github.com/OpenFAST/openfast/releases/tag/v2.5.0
For macOS or Ubuntu, see the documentationhttps://openfast.readthedocs.io/en/master/source/install/index.html#download-binaries.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OpenFAST/openfast/issues/663#issuecomment-783601649, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS57QNBZ4J7MKRTKODP3OKLTAKTFNANCNFSM4X7SA3WA.

The last statement at the bottom of the page https://github.com/OpenFAST/openfast/releases/tag/v2.5.0 has a link to the redistributables from intel that contain those dlls:  https://software.intel.com/content/www/us/en/develop/articles/redistributable-libraries-for-intel-c-and-fortran-2020-compilers-for-windows.html

Your email suggests that I download and install a program from Intel that will provide these files.  If I do, these files will be placed into a folder generated by Intel (along with thousands of other files).  They would not be  available to the executable open_fast program unless you copy and paste them into a folder that can be accessed by open_fast.  I actually did so, and the program still did not run.
All previous versions of FAST compiled by NREL did not require installation of *.dll files from Intel.  All files necessary to run FAST.exe were in the appropriate FAST folder.  Additionally, the version of open fast that I compiled does not require these *.dll files either.
Has anyone at GitHub actually downloaded the files to see if they work?
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Andy<EMAIL_ADDRESS>Sent: Monday, February 22, 2021 4:37 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [OpenFAST/openfast] Cannot find NREL compiled open_fast.exe file (#663)
The last statement at the bottom of the page https://github.com/OpenFAST/openfast/releases/tag/v2.5.0 has a link to the redistributables from intel that contain those dlls: https://software.intel.com/content/www/us/en/develop/articles/redistributable-libraries-for-intel-c-and-fortran-2020-compilers-for-windows.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OpenFAST/openfast/issues/663#issuecomment-783691250, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS57QNDB2OHZTO7FAENVKGDTALE77ANCNFSM4X7SA3WA.

I previously  indicated that OpenFast.exe file obtained from GitHub does not work.  The issue is not with the Intel libraries—they are only used for compiling the source code.   My compiled version of OpenFast.exe did not require them at runtime.
Again, there is something wrong with the version of OpenFast.exe provided by GitHub and I suggest you try running it yourself.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Rafael M @.>
Sent: Tuesday, March 9, 2021 5:43 PM
To: @.>
Cc: @.>; @.>
Subject: Re: [OpenFAST/openfast] Cannot find NREL compiled open_fast.exe file (#663)
I appreciate your comments and understand that it can be challenging to make sense of the different locations for assets related to OpenFAST. Just to restate some of what you've pointed out:

Binaries for Windows: https://github.com/openfast/openfast/releases/latest
Binaries for macOS and Linux: use Condahttps://anaconda.org/conda-forge/openfast or Homebrewhttps://formulae.brew.sh/formula/openfast
Source code: https://github.com/openfast/openfast
Regression tests: included with the source code or https://github.com/openfast/r-test
Documentation: https://openfast.readthedocs.io/en/main/

Depending on your objective with OpenFAST, you could simply download the binaries and avoid looking at the source code. Alternatively, you could download the source code and compile yourself, and it sounds like you've already done this.
Regarding the OpenFAST executable finding the Intel libraries, see the instructionshttps://software.intel.com/content/www/us/en/develop/articles/redistributable-libraries-for-intel-c-and-fortran-2020-compilers-for-windows.html for the Intel redistributable package again as it describes how programs compiled with Intel compilers can find those libraries in "Installation instructions". If you've installed this per the instructions, OpenFAST will find the libraries.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OpenFAST/openfast/issues/663#issuecomment-794557766, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS57QNFKTFRVC74NQXWHFBTTC2JABANCNFSM4X7SA3WA.

@Acrbjr ,
The OpenFAST binaries from the Releases page on GitHub are compiled with cmake to be used with dynamic libraries, while the executable you build with the OpenFAST Visual Studio solution file links with static libraries.
Static libraries are included inside the executable that is generated, so you don't need them to run the code.
When you build with dynamic libraries, Windows also needs to open those libraries in order to run the program. While it doesn't search the entire computer, it does look in any location specified in the Windows PATH environment variable as well as in the directory where the main OpenFAST executable file is located to find those libraries. The Intel redistributable libraries do get put in a common location in C:\Program Files (86)\, but you don't need to touch them after they are installed in Intel's preferred location.
If you type
echo %PATH%

at a Windows command prompt, it should list that file location where the redistributable libraries are located (as well as many other locations). Then, you should be able to run the downloaded OpenFAST binaries from this command window in whatever directory you want. I have tried the binaries that NREL compiled and they do run on my PC.
If you don't see the file location when you echo the path environment variable, you may need to open a different instance of the command window to run OpenFAST. You will need to have opened the command window after installing the Intel libraries so that the path variable is updated.
If you do see the location in the path variable and the code still doesn't run, you may have installed the wrong version of the Intel libraries for the openfast exeuctable or there may be another library that is missing. Showing the error message when you attempt to run the code will be most helpful (preferably a screen shot).
Just for comparison, when you run the OpenFAST exe created with cmake, this is the list of libraries it needs to find:

When you run the OpenFAST exe created with the Visual Studio project, this is the list:

The differences don't mean something is "wrong". It's just different.

Thanks for your response.  I think the issue may be that I used newer versions of the Intel compiler and libraries.  I am using compiler version Compiler 2021.1.1 Major Release that includes the patch release 2021.1.2.  I also downloaded the Intel libraries separately.
Anyway, the reason I wanted to download the open_fast.exe program was to verify that my compiled version was working properly.  This is because I re-ran a few of the test files and found slight differences between the .out files I generated with those provided by NREL.
Is there a possibility that I could obtain the Open-Fast.exe program with static libraries so I could make sure I get the same results?
Thanks,
Acrbjr
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Bonnie @.>
Sent: Friday, March 12, 2021 1:02 PM
To: @.>
Cc: @.>; @.>
Subject: Re: [OpenFAST/openfast] Cannot find NREL compiled open_fast.exe file (#663)
@Acrbjrhttps://github.com/Acrbjr ,
The OpenFAST binaries from the Releases page on GitHub are compiled with cmake to be used with dynamic libraries, while the executable you build with the OpenFAST Visual Studio solution file links with static libraries.
Static libraries are included inside the executable that is generated, so you don't need them to run the code.
When you build with dynamic libraries, Windows also needs to open those libraries in order to run the program. While it doesn't search the entire computer, it does look in any location specified in the Windows PATH environment variable as well as in the directory where the main OpenFAST executable file is located to find those libraries. The Intel redistributable libraries do get put in a common location in C:\Program Files (86), but you don't need to touch them after they are installed in Intel's preferred location.
If you type
echo %PATH%
at a Windows command prompt, it should list that file location where the redistributable libraries are located (as well as many other locations). Then, you should be able to run the downloaded OpenFAST binaries from this command window in whatever directory you want. I have tried the binaries that NREL compiled and they do run on my PC.
If you don't see the file location when you echo the path environment variable, you may need to open a different instance of the command window to run OpenFAST. You will need to have opened the command window after installing the Intel libraries so that the path variable is updated.
If you do see the location in the path variable and the code still doesn't run, you may have installed the wrong version of the Intel libraries for the openfast exeuctable or there may be another library that is missing. Showing the error message when you attempt to run the code will be most helpful (preferably a screen shot).
Just for comparison, when you run the OpenFAST exe created with cmake, this is the list of libraries it needs to find:
[image]https://user-images.githubusercontent.com/6108781/110978868-20a86b80-8321-11eb-8aee-40f3f77f064d.png
When you run the OpenFAST exe created with the Visual Studio project, this is the list:
[image]https://user-images.githubusercontent.com/6108781/110978899-2c942d80-8321-11eb-82ae-b7f48211c3f1.png
The differences don't mean something is "wrong". It's just different.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/OpenFAST/openfast/issues/663#issuecomment-797660388, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS57QNHAKA2RRJH7KAO2DO3TDJCLRANCNFSM4X7SA3WA.


codeunit 2053 "Extension Management" - add procedure to retrieve GUID of not installed apps

Describe the request
The procedure would work similarly to the existing procedure GetLatestVersionPackageIdByAppId on the codeunit 2503. But instead of getting the latest Version it would get the PackageIDs of all the versions of the App, which are no longer installed but still published.
This procedure would have to be accesible through codeunit 2504.
Additional context
This would immensely simplify the process of deleting all the deprecated PTEs which are left behind when publishing new apps to a sandbox. Currently it is possible to delete the PTEs by running a loop over all possible versions with the procedure: GetSpecificVersionPackageIdByAppId . That is very inefficient or would have to be modified regularly to remain performant.
Internal work item: AB#505109

Hi @toanic! Extension Management is part of System Application and it is available at BcApps where we welcome all open source contributions. We would love for your contribution on this issue as well.


some README updates to prepare for 3.2 merge

TODO:

[ ] validate all links work
[ ] verify all the details and class names in "Internals" section are still correct and updated for 3.x
[ ] add details about how filtering with clustering works
[ ] run all the examples

all the links are broken right now because the branch is 3.2-integration or whatever, not master. Should I point them there are or are you planning to merge that branch to master @xedin?

actually, thinking on it a bit more, we probably don't want to link to this repo from doc/sasi.md right?

@jrwest Going to merge it into trunk (which is default cassandra branch), I was thinking of putting it into doc/SASI.md since that's where CQL3 documentation and other stuff leaves.

Has been incorporated into cassandra/doc/SASI.md


Fix Version File and Auto Upload to PyPi

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-457-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-457/1/index.html

Job PR-457-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-457/2/index.html

Job PR-457-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-457/3/index.html

Job PR-457-4 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-457/4/index.html

Job PR-457-5 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-457/5/index.html

Perhaps we can have a minimal version of this PR that just adds the create_version_file() to fix the defect, so we can release 0.0.8 manually after some manual testing. Then we can add the remainder of these changes after more careful review.

After 0.0.8 is tagged, we need to manually increase the version to 0.0.9 so that the pypi nightly can work properly.

Thanks. I will add some comments.
Actually, we should usually tag the release on GitHub then increase the version number for nightly build. However, this time is different, since 0.0.7 has been pushed to pypi.
We need to tag 0.0.8 on github, then increase the version to 0.0.9 again in next PR.

Add the comments to setup.py:
To release a new stable version on PyPi, simply tag the release on github, and the Github CI will automatically publish
a new stable version to PyPi using the configurations in .github/workflows/pypi_release.yml .
You need to increase the version number after stable release, so that the nightly pypi can work properly.

Feel free to tag 0.0.8 on github anytime you are ready, and increase the version to 0.0.9 after tagging.


Upgrade common 0.2.2

simphony-aviz currently does not support simphony-common 0.2.2 but this may be fixed within this week.  So we can wait a bit on that before making a release.
The Travis CI error on the push build is due to the fact that travis was particularly slow last night, so the job ran overtime and was canceled.

I also asked for a release for simphony-kratos. ref https://github.com/simphony/simphony-kratos/issues/23

@nathanfranklin The integration release is almost ready to go.  However I don't have a numerrin license for testing purposes.  Do you have one and can you try it on your end please?

@kitchoi , I just tested it.  All tests pass.

The line (https://github.com/simphony/simphony-framework/blob/upgrade-common-0.2.2/Makefile#L286) can be changed from:
(cd src/simphony-openfoam; haas foam_controlwrapper foam_internalwrapper -v)
to
haas foam_controlwrapper foam_internalwrapper -v)
as the simphony-openfoam devevelopers have addresssed https://github.com/simphony/simphony-openfoam/issues/25

Related to that, I suspect that https://github.com/simphony/simphony-framework/blob/upgrade-common-0.2.2/Makefile#L223-L228 and https://github.com/simphony/simphony-framework/blob/upgrade-common-0.2.2/Makefile#L75 could changed so that we don't need to keep src/simphony-numerrin after the installation occurs.  Note that I haven't tested this...

I think https://github.com/simphony/simphony-numerrin/issues/5  is closed so in theory we no longer have to run the tests in src/simphony-numerrin.  However, I tried running
haas numerrin_wrapper -v instead of cd src/simphony-numerrin; haas numerrin_wrapper -v (https://github.com/simphony/simphony-framework/blob/upgrade-common-0.2.2/Makefile#L24) but no tests were run.  I don't know what is going on there.

@nathanfranklin  I changed how simphony-numerrin is installed and tested.  Could you try again please?

@kitchoi ,  i used the framework to install/test simphony-numerrin. :+1:

@nathanfranklin. @itziakos  is it good to merge and release?

:+1:


trinity: small clean up

This also fixes the build with https://github.com/kernelslacker/trinity/commit/a5f32b9714613404e9f4699aaaad720f2bb033b4
Ping @dezgeg

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Built and tested locally :+1:
@Infinisil can you rebase onto the latest master to resolve the current merge conflict?

@Ma27 Done that

@Infinisil thanks!


No license specified

Was your work based on titu1994's code: https://github.com/titu1994/Inception-v4 ? It's published under MIT license. Can you include it to your repository as well?

I did not base this off of titu1994s code, I wrote this while looking at Googles tfslim implementation. If anything it should have the same license as theirs.

Thanks for providing details! Can you please just add a license file to the repository?

@zyavrik see 5dbb3533d3db1a00d39ab9b17aca55e190160cdb

Thanks! So, it's Apache - not MIT?

@zyavrik Original Inception V4 is license under Apache so since I wrote mine while referencing that implementation, yes it gets Apache. Apache is a very permissive license so I doubt you will run into any limitations.

Thanks!

I'm sorry, but can you also upload a license to keras-inception-resnetV2?

Is it Apache also?

The link to the keras-inception-resnetV2 that doesn't have license file: https://github.com/kentsommer/keras-inception-resnetV2


Remove nostrkey from localStorage

In order to get NoComment to work with a Resolvr created account, we must hack it to read the key nostrkey from localStorage. For now, we are setting this key anywhere we are calling setUserPrivateKey
Search for // https://github.com/Resolvr-io/resolvr.io/issues/66 to remove it
Also, delete public/NoComment.js

we're using next-auth and jwe cookies now


[docs] Move more prop docs into IntelliSense

Includes the following fixes to TypeScript types:

NativeSelect input only allows ReactElements not just any ReactNode
NativeSelect inputProps now allows all <select> attributes

Blocked until new release of typescript-to-proptypes

Blocked until new release of typescript-to-proptypes

With or without the unmerged PRs?

Blocked until new release of typescript-to-proptypes

With or without the unmerged PRs?

This PR only requires https://github.com/merceyz/typescript-to-proptypes/pull/7

Released, i'll take a look at your PRs this weekend


WinUI 2.6 - Light theme flyouts are semi transparent

Describe the bug

After upgrading to WinUI 2.6 and using the latest styles, the flyouts (Tooltip and Teachingtip in my case) have semi transparent backgrounds.
Steps to reproduce the bug

Steps to reproduce the behavior:

Create object with tooltip or teachingtip
Use WinUI 2.6 and open those

Expected behavior

Screenshots

Version Info

NuGet package version:

Windows app type:

UWP
Win32

Windows 10 version
Saw the problem?

Insider Build (19043)
Yes

October 2020 Update (19042)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop

Xbox

Surface Hub

IoT

Additional context

@chingucoding I think we've already fixed this, are you seeing a repro with the latest xaml controls gallery?

sorry, latest mux controls test app.

Doesn't repro in muxctestapp, closing now as it's fixed.


Update .travis.yml

I think that the built in node.js matrix isn't working for OSX so I think this will fix it cross-platform.

Issue has been solved.


start-stop-daemon: fix typo in manpage

Until now there was a small typo in the description of -m, --make-pidfile regarding the background option:
     -m, --make-pidfile
             Saves the pid of the daemon in the file specified by the -p, --pidfile option. Only useful when used with daemons that run
             in the foreground and forced into the background with the --b, --background option.

while in reality the abbreviation of --background is -b and not --b. This small PR fixes that :)

thx!


Add IdentifiedSet with SetAlgebra conformance

I often find myself using types like Dictionary<IdentifiableValue.ID, IdentifiableValue> to hold information. I’d prefer to use a Set, but I need O(1) subscript lookup.
IdentifiedArray is almost perfect for my needs, but maintains order instead of using set operations. Would it be possible to make an unordered counterpart?

@Saklad5 Thanks for the question! We probably won't have time to explore such a collection soon as we don't have a use case for it, but we're definitely open to helping get something across the finish line if you're interested in doing the exploratory work of what such a type's API would look like.
Are you interested in working on and submitting a PR?

If I end up needing it, certainly. I was thinking it could be similar to the implementation of IdentifiedArray, but with a Hashable requirement and SetAlgebra conformance similar to the unordered view of an OrderedSet.

The only reason OrderedSet limits SetAlgebra conformance to an unordered view is because it needs to discriminate based on order, which violates the necessary assumptions. Meanwhile, it uses a hash table to track position much like a dictionary with keys. An IdentifiedSet could conform directly.

@Saklad5 Sounds good! I'm going to convert this to a discussion where design/details could be fleshed out further. We try to keep our issues sections focussed on bug tracking over requested features.


Add Name property on BlobContainer

@isaacabraham
Did I understand the requirement in #53 correctly? If yes then this resolves #53.
I created get only property initialized with container name from constructor and added test for it.

Great - thanks again!


Request: add migration explanation from the old com.google.api.client.googleapis.auth.oauth2.GoogleCredential class

I've noticed the webpage of this repository doesn't explain how to leave the previous one :
https://googleapis.dev/java/google-api-client/latest/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.html
Is your feature request related to a problem? Please describe.
Yes, I can't find the appropriate functions that match the previous ones. There is no documentation.
Describe the solution you'd like
To have such explanation.
Describe alternatives you've considered
Maybe write it on the old repository ?
I requested this here for the sample I've found, but it hasn't been updated for a very long time. I can't find a similar sample by Google
Additional context
The code I use (here) is very similar and based on what I've found of using the repository to reach the old API, here.
Would be very appreciated if you could tell me at least for these cases how to use them, or provide a nice sample that provides the same thing, of reaching People API.

Here's a more updated code of what I use:
    @WorkerThread
    public static Services setUp(@Nullable final String serverAuthCode) throws IOException {
        final HttpTransport httpTransport = new NetHttpTransport();
        final JacksonFactory jsonFactory = JacksonFactory.getDefaultInstance();
        // Redirect URL for web based applications.
        // Can be empty too.
        final String redirectUrl = "urn:ietf:wg:oauth:2.0:oob";
        // Exchange auth code for access token
        final GoogleTokenResponse tokenResponse = new GoogleAuthorizationCodeTokenRequest(
                httpTransport, jsonFactory, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, serverAuthCode, redirectUrl)
                .execute();
        // Then, create a GoogleCredential object using the tokens from GoogleTokenResponse
        final GoogleCredential credential = new GoogleCredential.Builder()
                .setClientSecrets(GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET)
                .setTransport(httpTransport)
                .setJsonFactory(jsonFactory)
                .build();
        final String accessToken = tokenResponse.getAccessToken();
        credential.setFromTokenResponse(tokenResponse);
        final PeopleService peopleService = new PeopleService.Builder(httpTransport, jsonFactory, credential)
                .setApplicationName(getCurrentappPackageName())
                .build();
        final Services result = new Services();
        result.peopleService = peopleService.people();
        result.otherContactsService = peopleService.otherContacts();
        result.contactGroups = peopleService.contactGroups();
        final ContactsService contactsService = new ContactsService("contacts");
        contactsService.setOAuth2Credentials(credential);
        result.contactsService = contactsService;
        return result;
    }

I was following this official auth guide  to work with google directory api and got into deprecated GoogleCredential issue as well.
In order to use GoogleCredentials instead of deprecated one to authenticate I did:
// Replaced GoogleCredential builder with GoogleCredentials
GoogleCredentials credentials = GoogleCredentials
    .fromStream(new FileInputStream("PATH_TO_CREDENTIALS.JSON"))
    .createScoped(DirectoryScopes.MY_SPECIFIC_DIRECTORY_SCOPE_ENUM)
    .createDelegated("IMPERSONATED_ACCOUNT_EMAIL");
impersonated.refreshIfExpired();

// Now as old builder was returning different type - initialized HttpRequestInitializer
HttpRequestInitializer requestInitializer = new HttpCredentialsAdapter(impersonated);

// Passed requestInitializer to Directory api Builder
Directory service = new Directory.Builder(httpTransport, jsonFactory, null).setHttpRequestInitializer(requestInitializer).build();
// Rest of it is just using Directory service in this case

Hope this helps

@hmerdok How do I do this on Android though? How can I reach the json file there? I don't think it's really in the APK, no? And what's "DirectoryScopes.MY_SPECIFIC_DIRECTORY_SCOPE_ENUM" ?


Disable appveyor artifacts for now

Since we're running out of space

Note that we could 7z them.

Ideally we could just delete old artefacts, but people are asking here and getting their storage sized bump. I think we would quickly run through the extra 20GB though

I think the solution is:

7z the artifacts (GHC binaries tend to compress 10x)
produce artifacts nightly (appveyor if I remember correctly allows nightly builds)


added a c++ code for linked list.

added a c++ program to add new node with given data in a linked list at end.

thank you so much.
On Fri, Oct 2, 2020 at 10:30 AM Harshit Bansal<EMAIL_ADDRESS>wrote:

Merged #56 https://github.com/harshitbansal373/Hactoberfest2020/pull/56
into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/harshitbansal373/Hactoberfest2020/pull/56#event-3832368234,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALIMOSHT7DVGGU3DFJPM4YDSIVM7HANCNFSM4SAFAHDA
.

sir i request you to please label my PR as hactoberfest accepted or hactoberfest2020 to make it eligible to be counted as a vid PR in the fest at it was successfully merged to your repo.


Refs #26130 -- Converted changeform_view into CBV

Abstracted the view to a CBV to make post/get
separation clearer.
Hopefully this will make it more readable.

Closing because it doesn't feel like the best abstraction. Will try a little harder.


Add delete record api

resolve https://github.com/skiptests/astraea/issues/483 Add delete record api

Can you help me to start the workflow

done

@chia7712  感謝你的建議 PTAL

@chia7712  感謝您的建議  都很棒

@chia7712  沒問題  已修復 再麻煩啟動workflow


pull request for e2e test at 12/21/2016 16:26:21

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Intermittent SocketExceptions when running tests on Mac OS X

I am working with dart-sync-webdriver on Mac OS X and am encountering issues that raise a SocketException intermittently during the tests.  I took the following steps to setup my environment:
git clone https://github.com/google/dart-sync-webdriver.git
cd dart-sync-webdriver
pub get
./packages/sync_socket/../tool/build.sh
dart test/webdriver_test.dart

I started the Selenium server before calling the tests with the command:
java -jar ~/selenium-server-standalone-2.45.0.jar -Dwebdriver.chrome.driver=/Users/matthewbalvanz/bin/chromedriver

The environment appears to generally work as the browser is opening and the tests are interacting with the test page but approximately half of the tests then fail with a message like the following:
ERROR: Window size
  Test failed: Caught SocketException: Unable to connect to host
  package:sync_socket/src/socket.dart 18:59          _connect
  package:sync_socket/src/socket.dart 36:23          SocketSync.SocketSync
  package:sync_socket/src/http_client.dart 69:28     HttpClientRequestSync.HttpClientRequestSync._
  package:sync_socket/src/http_client.dart 27:11     HttpClientSync.getUrl
  package:sync_webdriver/src/web_driver.dart 240:35  WebDriver._get
  package:sync_webdriver/src/web_driver.dart 131:47  WebDriver.window
  test/src/window_test.dart 39:14                    main.<fn>.<fn>
  dart:isolate                                       _RawReceivePortImpl._handleMessage

When I perform the same steps in an Ubuntu environment I do not receive any SocketExceptions in the tests.

I've experienced this also.


The response issue between 0.5 and 7b

0.5b response is norm but 7b wrong
the same image,where i chage the code ispretrained = "/home/shihongyu/MMLM_models/lmms-lab/llava-onevision-qwen2-7b-ov" model_name = "llava_qwen" device = "cuda" device_map = "auto"
but response is diff
0.5b  response：['The image shows a conveyor belt in an industrial setting, likely part of a factory or processing plant. The conveyor is moving materials along its path, and there are some mechanical components visible on the left side of the frame.']
7b   response ：['!']

meet the same problem when using qwen2-7b-ov to inference, how to fix this? In the LLaVA wetchat group, someone says it may due to the version of transformers library, and a guy has updated its transformers library version to 4.41.2, then the response changes to [''], still not correct

I checked the output tensor of the decoder layers, and found that after the last decoder layer, the features of the last token were all "nans",

this is very weird. Because of this problem, I failed to reproduce the results on the video benchmarks. Does anyone know how to solve this problem?
@ZhangYuanhan-AI @Luodian

Here's my reproduced result with ov-7b.

My code is:
from operator import attrgetter
from llava.model.builder import load_pretrained_model
from llava.mm_utils import get_model_name_from_path, process_images, tokenizer_image_token
from llava.constants import IMAGE_TOKEN_INDEX, DEFAULT_IMAGE_TOKEN, DEFAULT_IM_START_TOKEN, DEFAULT_IM_END_TOKEN, IGNORE_INDEX
from llava.conversation import conv_templates, SeparatorStyle

import torch
import cv2
import numpy as np
from PIL import Image
import requests
import copy
import warnings
from decord import VideoReader, cpu

warnings.filterwarnings("ignore")
# Load the OneVision model
pretrained = "lmms-lab/llava-onevision-qwen2-7b-ov"
model_name = "llava_qwen"
device = "cuda"
device_map = "auto"
tokenizer, model, image_processor, max_length = load_pretrained_model(pretrained, None, model_name, device_map=device_map, attn_implementation="sdpa")

model.eval()

# Function to extract frames from video
def load_video(video_path, max_frames_num):
    if type(video_path) == str:
        vr = VideoReader(video_path, ctx=cpu(0))
    else:
        vr = VideoReader(video_path[0], ctx=cpu(0))
    total_frame_num = len(vr)
    uniform_sampled_frames = np.linspace(0, total_frame_num - 1, max_frames_num, dtype=int)
    frame_idx = uniform_sampled_frames.tolist()
    spare_frames = vr.get_batch(frame_idx).asnumpy()
    return spare_frames  # (frames, height, width, channels)

# Load and process video
video_path = "jobs.mp4"
video_frames = load_video(video_path, 16)
print(video_frames.shape) # (16, 1024, 576, 3)
image_tensors = []
frames = image_processor.preprocess(video_frames, return_tensors="pt")["pixel_values"].half().cuda()
image_tensors.append(frames)

# Prepare conversation input
conv_template = "qwen_1_5"
question = f"{DEFAULT_IMAGE_TOKEN}\nDescribe what's happening in this video."

conv = copy.deepcopy(conv_templates[conv_template])
conv.append_message(conv.roles[0], question)
conv.append_message(conv.roles[1], None)
prompt_question = conv.get_prompt()

input_ids = tokenizer_image_token(prompt_question, tokenizer, IMAGE_TOKEN_INDEX, return_tensors="pt").unsqueeze(0).to(device)
image_sizes = [frame.size for frame in video_frames]

# Generate response
cont = model.generate(
    input_ids,
    images=image_tensors,
    image_sizes=image_sizes,
    do_sample=False,
    temperature=0,
    max_new_tokens=4096,
    modalities=["video"],
)
text_outputs = tokenizer.batch_decode(cont, skip_special_tokens=True)
print(text_outputs[0])

Maybe you installed wrong version llava? like installed llava 1.5 instead of our current version llava? You can try to clean conda and install llava.

I've met the same response issue in 7b. But after I changed the torch version to 2.1.2 and transformers version to 4.40.0. The response shows correctly.
Loaded LLaVA model: lmms-lab/llava-onevision-qwen2-7b-ov
Loading vision tower: google/siglip-so400m-patch14-384
Model Class: LlavaQwenForCausalLM
['The image shows a radar chart, also known as a spider chart or a star chart, which is used to compare multiple quantitative variables. Each axis represents a different variable, and the values are plotted along these axes. The chart is color-coded to represent different categories or models, with lines connecting the points for each category.\n\nIn this particular radar chart, it appears to be comparing various models or systems across several performance metrics. The labels on the axes suggest that the metrics being compared could include aspects like "MMB-Vet," "Llava-1.5," "VQA," "GQA," "SQA-IMG," "TextVQA," "MME," "BLIP-2," "InstructBLIP," "Pope," and "Qwen-VL-Chat." The numbers along the axes likely represent scores or measurements of performance for each model in those respective categories.\n\nThe purpose of such a chart is to provide a visual summary of how each model performs relative to the others across all the measured attributes. It\'s a useful tool for quickly assessing strengths and weaknesses of different models or systems at a glance.']

Maybe u could use the same requirements.txt in the main branch.

I've met the same response issue in 7b. But after I changed the torch version to 2.1.2 and transformers version to 4.40.0. The response shows correctly.
Loaded LLaVA model: lmms-lab/llava-onevision-qwen2-7b-ov
Loading vision tower: google/siglip-so400m-patch14-384
Model Class: LlavaQwenForCausalLM
['The image shows a radar chart, also known as a spider chart or a star chart, which is used to compare multiple quantitative variables. Each axis represents a different variable, and the values are plotted along these axes. The chart is color-coded to represent different categories or models, with lines connecting the points for each category.\n\nIn this particular radar chart, it appears to be comparing various models or systems across several performance metrics. The labels on the axes suggest that the metrics being compared could include aspects like "MMB-Vet," "Llava-1.5," "VQA," "GQA," "SQA-IMG," "TextVQA," "MME," "BLIP-2," "InstructBLIP," "Pope," and "Qwen-VL-Chat." The numbers along the axes likely represent scores or measurements of performance for each model in those respective categories.\n\nThe purpose of such a chart is to provide a visual summary of how each model performs relative to the others across all the measured attributes. It\'s a useful tool for quickly assessing strengths and weaknesses of different models or systems at a glance.']

when i use the model llava-onevision-qwen2-0.5b-si,the response is correct,but when i change the model toI llava-onevision-qwen2-7b-si,I have the same  response  [''],can u give some advice.and this is my torh and transformers version.
open_clip_torch           2.26.1
torch                     2.1.2
torchvision               0.16.2
hf_transfer               0.1.8
transformers              4.40.0.dev0

Just did a quick run, should be ok with si as well.
Loaded LLaVA model: lmms-lab/llava-onevision-qwen2-7b-si
Loading vision tower: google/siglip-so400m-patch14-384
Model Class: LlavaQwenForCausalLM
["This image is a radar chart that compares the performance of different models on various metrics. The models being compared are BLIP-2, InstructBLIP, and Qwen-VL-Chat. The metrics being evaluated include VQA (Visual Question Answering), QA (Question Answering), GQA (General Question Answering), SQA-IMG (Specific Question Answering with Image), and POPE (Product of Perceptual and Language Evaluation). Each model's performance is represented by a line graph, and the highest score for each metric is indicated by a red dot."]

但在我将版本更改torch为 2.1.2 和transformers4.40.0 后。响应显示正确。
Loaded LLaVA model: lmms-lab/llava-onevision-qwen2-7b-ov
Loading vision tower: google/siglip-so400m-patch14-384
Model Class: LlavaQwenForCausalLM
['The image shows a radar chart, also known as a spider chart or a star chart, which is used to compare multiple quantitative variables. Each axis represents a different variable, and the values are plotted along these axes. The chart is color-coded to represent different categories or models, with lines connecting the points for each category.\n\nIn this particular radar chart, it appears to be comparing various models or systems across several performance metrics. The labels on the axes suggest that the metrics being compared could include aspects like "MMB-Vet," "Llava-1.5," "VQA," "GQA," "SQA-IMG," "TextVQA," "MME," "BLIP-2," "InstructBLIP," "Pope," and "Qwen-VL-Chat." The numbers along the axes likely represent scores or measurements of performance for each model in those respective categories.\n\nThe purpose of such a chart is to provide a visual summary of how each model performs relative to the others across all the measured attributes. It\'s a useful tool for quickly assessing strengths and weaknesses of different models or systems at a glance.']

you are ture,thanks  i have soved

I change my transformers from 4.40.0.dev to 0 4.40.0,but the result is still [''].and I have no idea to slove this.
sad...

I change my transformers from 4.40.0.dev to 0 4.40.0,but the result is still [''].and I have no idea to slove this. sad...

i redownload the project,only trans the torch and transformer,it can do.mybe you should compare you env and the requirements.txt

I redownload this repo,and tried transfoemers version:4.40.0.dev、4.40.0、4.41.2,the result is still [''].
some thing i do include:
All weight i use is local weight.below is my change.

Meta-Llama-3-8B-Instruct:llava/conversation.py,line387,
tokenizer=AutoTokenizer.from_pretrained("local_path/LLaVA-NeXT/Meta-Llama-3-8B-Instruct")

siglip-so400m-patch14-384:llava-onevision-qwen2-7b-si/config.json,line176,
ision_tower": "local_path/siglip-so400m-patch14-384",then some error about mismatch,I use this to fix it.https://github.com/LLaVA-VL/LLaVA-NeXT/issues/148#issuecomment-2298549964

then 0.5b model work fine,7b model result is always [''],below result is 7b model :
(llava) root@sugon:~/work/project/LLaVA-NeXT# python demo_single_image.py
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Loaded LLaVA model: /root/work/project/LLaVA-NeXT_bak/llava-onevision-qwen2-7b-si
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
You are using a model of type llava to instantiate a model of type llava_qwen. This is not supported for all configurations of models and can yield
Loading vision tower: /root/work/project/LLaVA-NeXT/siglip-so400m-patch14-384
Loading checkpoint shards: 100%|___________________________________________________________________________________________________________________
Model Class: LlavaQwenForCausalLM
['']

Updating to torch2.1.2 works for me. When I used torch2.0.1 before, 7b answered with many "!!!..."

Updating to torch2.1.2 works for me. When I used torch2.0.1 before, 7b answered with many "!!!..."
probable not work for me ,this is my torch version.

(llava) root@a123:~# pip list|grep torch
open_clip_torch           2.26.1
torch                     2.1.2
torchvision               0.16.2

Thanks a lot.finally,I found my problem because the weight file I downloaded was broken, and I fixed it by re-downloading the full weight file


Add ability to add item to Watchlist from actual item page

Description
Right now it seem only possible way to add item to your watchlist in Jellyseer is to do that from search page by clicking star button present over item poster.
I usually tend to go inside the item to check the ratings and decide whether it worth to be added to Watchlist.
But inside item page I dont see a way to add it to Watchlist and I need to go back and add it by searching it again.
It would be great to have this functionality also inside item page. Maybe the same star button over item cover or separate button/
Desired Behavior
Have ability to add item to your Jellyseer Watchlist from actual item page.
Additional Context
No response
Code of Conduct

[X] I agree to follow Jellyseerr's Code of Conduct

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on:

v2.0.0
GitHub release

Your semantic-release bot :package::rocket:


TF2HUD.Fixes schema is outdated.

Describe the issue
It seems like the hud editor is applying an older version of tf2 hud fixes, and is not up to date with all the current ongoing changes of tf2 hud fixes (the mp_tournament mode is still in the match hud, for example)
Desktop (please complete the following information):

OS: Windows 10, x64
App Version: 3.1
Selected HUD: tf2 hud fixes

It's also come to my attention that some of the "extras" explained and listed inside of the tf2 hud fixes github, aren't available to select on the tf2 hud editor, unless that's intentional?

Updated the branch for the HUD and the schema file. The only mistake I could find is that the color settings for the crosshair and hitmarker were not pointing to the correct file. Should be good now. Thanks!


Pages > Page that has never been published should return a 401 (not a 404)

Description
Pages > Page that has never been published (that have only one version pending to be published) should return a 401 (not a 404) for non-editor users.
Note: even if the registered user has view permission on the created page, as the page has not been published yet the view permission does not apply until the page is published.
Steps to reproduce

Log in as CM
Go to Persona Bar Pages
Create a Page marking the permission to be visible to registred user
Add a module
Do not publish the page
Log in as Registered User
Surf the URL of the created page

Current result

404 is returned

Expected result

To be consisten with how platform works and Engage module + Publisher we should return a Access Denied error (401 http status)

Affected version

[x] 8.0.0,
[x] 8.1.0
[x] 8.2.0

I don't have real strong opinions on this one, so if it fixes a specific problem in Engage/Publisher, I'm not going to argue.
However, conceptually, it seems that an end user without permissions shouldn't get a different response between querying a page that doesn't exist and a page that hasn't been published.  There's an information leakage there.
But, again, I'm okay with this theoretical/conceptual issue if there's a practical issue being solved. (Any differing thoughts from the rest of @dnnsoftware/tag?)

I'm with @bdukes on this. Personally, traditionally  I would expect a page that doesn't exist (IE non published) should be returning a 404, as that is the traditional sense of the issue.
If there is a specific reason that a "pending publish" page should show a 401 otherwise, I'm ok with it.

Upon further review, this issue was actually fixed back in March, closing this issue for now.  If we don't like this behavior, we will have to remove/reconfigure.

That's right @mitchelsellers. I've been back-filling issues which have been completed since 9.2 release so that we're clear on the scope for 9.2.1


[Typescript]: Editor should convert imports to type imports on save

There is a TS refactoring called "convert to type-only import", it would be highly useful if this could be run onSave like some other refactorings.

For those using eslint + typescript, there is an auto fixable rule for that https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-imports.md

Yes I see, however it splits the imports which isn't necessary anymore

Since this is more or less a style preference, it is a better fit for a linter instead of something in core VS Code
You can file feature request against ESLint if it currently doesn't behave as you expect


A hot fix for processing expected file

What's done:

rewritten reading expected warnings in a single file

Lgtm :)

I think we need to refactor WarnConfig and split it to different sub classes.
Now we have two groups of fields *IdxOut and *Idx: one of them for actual warning, the second one is for expected


Bug 1989600: Registry server RSS and CPU utilization too high during normal operation

/lgtm

/lgtm

/bugzilla refresh


[WIP]Update machine v0.15.0-rancher7-1

Add default monitoring node exporter port into aws node driver security group
https://github.com/rancher/rancher/issues/19187

will also get https://github.com/rancher/rancher/issues/15932 addressed

will be available in rc9


drivers: dma: Add Xilinx AXI DMA driver

The Xilinx AXI DMA Controller is commonly used in FPGA designs. For example, it is a part of the 1G/2.5G AXI Ethernet subsystem. This patch adds a driver for the Xilinx AXI DMA that supports single MM2S and S2MM channels as well as the control and status streams used by the AXI Ethernet subsystem.
I will send a pull request for MAC and MDIO drivers for the AXI Ethernet subsystem shortly.

@WorldofJARcraft  Is it on purpose that zephyr_library_sources_ifdef(CONFIG_XILINX_AXI_DMA dma_xilinx_axi_dma.c) is not included in zephyr/drivers/dma/CMakeLists.txt?
I'm fairly new to zephyr so forgive if I am missing something.

I have noticed that the DMA in conjunction with the Ethernet driver (https://github.com/zephyrproject-rtos/zephyr/pull/73986) stops receiving Ethernet packets at some point when CONFIG_NET_TC_RX_COUNT is not 0. Please do not merge while I investigate this.

I have noticed that the DMA in conjunction with the Ethernet driver (#73986) stops receiving Ethernet packets at some point when CONFIG_NET_TC_RX_COUNT is not 0. Please do not merge while I investigate this.

This is fixed; the cause was resetting the DMA multiple times.

I would like to do additional testing before this is eventually merged.
Should I convert this pull request back to a draft, or is it better to add a Do Not Merge label?

I would like to do additional testing before this is eventually merged. Should I convert this pull request back to a draft, or is it better to add a Do Not Merge label?

either works

I found a small issue in the Ethernet driver (it allocated a buffer that was slightly too small).
I am confident that the DMA driver works.


Review OPPRO-214 and upgrade substrait.

(you don't have to strictly follow this form)

Review PR: OPPRO-214, and upgrade substrait.

A clear and concise description of what is the intended usage scenario is.

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

https://github.com/Kyligence/ClickHouse/pull/59


ELEX: [Regression] Page fault exception

v0.90 introduced a regression in the game ELEX.
When starting a new game, an intro video is first played. After the video is done, the game switches to ingame graphics. Now, within a few seconds, the games crashes with an unhandled page fault exception in d3d11.
First chance exception: page fault on read access to 0x00000010 in 64-bit code (0x000000006a35d256).
Backtrace:
=>0 0x000000006a35d256 in d3d11 (+0x1d256) (0x00000000015df8e0)
1 0x000000006a35e0ff in d3d11 (+0x1e0fe) (0x0000000000000004)
2 0x00000001408d5e7d in elex (+0x8d5e7c) (0x00000000015dfaa0)
3 0x00000001402801f0 in elex (+0x2801ef) (0x000000000000000e)
4 0x0000000140093b15 in elex (+0x93b14) (0x0000000140f2e328)
5 0x000000014001fd23 in elex (+0x1fd22) (0x0000000140f2e328)
6 0x000000014002b615 in elex (+0x2b614) (0x00000000015dffd0)
7 0x000000014002b639 in elex (+0x2b638) (0x00000000015dffd0)
8 0x000000007bcbbac2 in ntdll (+0x7bac1) (0x00000000015dffd0)
I tried to create an apitrace, but unfortunately wined3d + apitrace makes the game stuck in a loading screen.
Therefore I went ahead to bisect the commit that introduced the regression. It turned out that  87f1cd238516bc76d9525a1f75314a27d6e53e68 is the one to blame. Building master with that commit reverted makes the crash go away.
### Software information
ELEX (GOG Version)
### System information

GPU: GTX 680
Driver: 396.54.09
Wine version: staging-3.19
DXVK version: git-master

### Log files

d3d11.log:
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0

dxgi.log:
info:  Game: ELEX.exe
info:  DXVK: v0.91-23-g0cfa5b1+
warn:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_physical_device_properties2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  GeForce GTX 680:
info:    Driver: 396.54.9
info:    Vulkan: 1.1.85
info:    Memory Heap[0]:
info:      Size: 4096 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:      Memory Type[8]: Property Flags = 0x1
info:    Memory Heap[1]:
info:      Size: 11954 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[9]: Property Flags = 0x6
info:      Memory Type[10]: Property Flags = 0xe
info:  Enabled device extensions:
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_dedicated_allocation
info:    VK_KHR_descriptor_update_template
info:    VK_KHR_get_memory_requirements2
info:    VK_KHR_image_format_list
info:    VK_KHR_maintenance1
info:    VK_KHR_maintenance2
info:    VK_KHR_sampler_mirror_clamp_to_edge
info:    VK_KHR_shader_draw_parameters
info:    VK_KHR_swapchain
info:  DXVK: Read 1010 valid state cache entries
info:  DXVK: Using 2 compiler threads
warn:  DXGI: MakeWindowAssociation: Ignoring flags

Can't reproduce, this works fine on my machine:

Is there anything special about your setup (Screen resolution, Game settings)?

It looks like this issue happens because that commit removed a nullptr check, so DXVK crashes when accessing the format right here:
https://github.com/doitsujin/dxvk/blob/87f1cd238516bc76d9525a1f75314a27d6e53e68/src/dxgi/dxgi_swapchain.cpp#L635

Edit: I find it weird that your crash appears in the D3D11 DLL, whereas the commit you mentioned only touches the DXGI DLL.

You might be able to get debug symbols in your backtrace if you use the winelib build.

There's nothing really special about my setup. Two screens, both at 1920x1080.
The games graphics settings are all set to highest. I will try again with lower settings.

I tested with highest settings as well.
Can you try removing one of your monitors? wine doesn't really support multi-monitor setups all that well.

Well, I tried

lowest graphics settings
vanilla wine 3.19
virtual wine desktop
unplugging second monitor
deleting pipeline cache

Nothing of that helped.

Only method that works, is the build without said commit. Which is really odd. As you said, that commit changed dxgi, but the crash happens in d3d11.

As expected, that's not in the slightest bit related to that DXGI commit. It also crashes in a function that is executed thousands of times per frame and just moves memory from one place to another, one would think that it is bug-free.
Can you test the 0.91 release binaries hosted on github? I wonder if this is something specific to your builds.

Same problems on my system with RX 580 and latest mesa/llvm. DXVK from release page.

I tried all binary releases back to v0.40. With v0.31 the game won't start anymore.
The crash happened with all of them. I can now, at least, confirm that the bisected commit isn't the cause.
The crash doesn't happen at some fix point. It just happens sometime within like 30 seconds after the intro video. On very rare occasions it doesn't happen at all.
That makes me think, it's some race condition caused by multithreading.

Well anyway, I can't reproduce the problem, so there's really not much I can do about it.

Ok, I'm closing the issue for now. I'll come back here when I found out more.

fwiw i just tried to start the game with wine 3.20 and I don't even get into the menu (same issue that I'm having with all staging builds). I still have an old wine 3.14 build around which runs the game fine, not sure what's going on there.

wined3d immediately segfaults for me.


[Request] Option to not use Passive Perception (5e)

Hi! I like the functionality of the module since it leads to some interesting possibilities, but, however, I'm running into a bit of an issue using it. Our group doesn't use Passive Perception as a perception floor, just for other specific circumstances. Would it be possible to get a 5e option where it doesn't use passive perception, and instead relies solely on the Spotting active effect or dice rolled?

Just a thought, but I noticed just today that they have included a number in the lower left on your token options if you right click. It is the value of that token's perception. You can manually change that to whatever number you like.
That said, it would still be handy to set a default so you didn't have to continually change the number manually.

Why not. This will be added in 3.12.


Issue

Hi all,
I have issues with starting this as a service. I installled according instructions, I changed in broadlink-mqtt.service the folder to /home/openhabian/broadlink-mqtt/mqtt.py. But I keep getting error below. Starting mqtt.py manually is working normally. Anybody any clue for a solution? Many thanks and best regards, GJ
openhabian@openhabian:/lib/systemd/system $ sudo systemctl daemon-reload
[sudo] password for openhabian:
openhabian@openhabian:/lib/systemd/system $ sudo systemctl start broadlink-mqtt.service
openhabian@openhabian:/lib/systemd/system $ sudo systemctl status broadlink-mqtt.service
● broadlink-mqtt.service - Broadlink MQTT Service
Loaded: loaded (/lib/systemd/system/broadlink-mqtt.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-08-22 12:34:51 CEST; 4s ago
Process: 18975 ExecStart=/usr/bin/python3 /home/openhabian/broadlink-mqtt/mqtt.py (code=exited, status=1/FAILURE)
Main PID: 18975 (code=exited, status=1/FAILURE)
CPU: 146ms
Aug 22 12:34:51 openhabian systemd[1]: Started Broadlink MQTT Service.
Aug 22 12:34:51 openhabian systemd[1]: broadlink-mqtt.service: Main process exited, code=exited, status=1/FAILURE
Aug 22 12:34:51 openhabian systemd[1]: broadlink-mqtt.service: Failed with result 'exit-code'.

What happens if you start the script using bash, not systemctl? E.g. using command
/usr/bin/python3 /home/openhabian/broadlink-mqtt/mqtt.py
?

Starts as normally. Remote commands to TV also working
openhabian@openhabian:~ $ /usr/bin/python3 /home/openhabian/broadlink-mqtt/mqtt.py
[2022-08-22 13:29:31,348] DEBUG Connected to 'RM4MINI' Broadlink device at '<IP_ADDRESS>' (MAC ec:0b:ae:9e:4d:d7) and started listening to MQTT commands at 'broadlink/#'
[2022-08-22 13:29:31,353] DEBUG Connected to MQTT broker, subscribing to topic broadlink/#

I'm still facing this issue....found out that the service is running now (see below).
But when I send mqtt command, nothing happens.
What can I do to find more information, what is going wrong?
openhabian@openhabian:~/broadlink-mqtt $ sudo journalctl -f -u broadlink-mqtt.service
-- Journal begins at Tue 2022-08-23 19:32:40 CEST. --
Aug 24 18:23:57 openhabian systemd[1]: Stopping Broadlink MQTT Service...
Aug 24 18:23:57 openhabian systemd[1]: broadlink-mqtt.service: Succeeded.
Aug 24 18:23:57 openhabian systemd[1]: Stopped Broadlink MQTT Service.
Aug 24 18:23:57 openhabian systemd[1]: broadlink-mqtt.service: Consumed 1.620s CPU time.
Aug 24 18:23:57 openhabian systemd[1]: Started Broadlink MQTT Service.
Aug 25 14:14:03 openhabian systemd[1]: Stopping Broadlink MQTT Service...
Aug 25 14:14:03 openhabian systemd[1]: broadlink-mqtt.service: Succeeded.
Aug 25 14:14:03 openhabian systemd[1]: Stopped Broadlink MQTT Service.
Aug 25 14:14:03 openhabian systemd[1]: broadlink-mqtt.service: Consumed 16.526s CPU time.
Aug 25 14:14:03 openhabian systemd[1]: Started Broadlink MQTT Service.
Aug 25 17:33:45 openhabian systemd[1]: Stopping Broadlink MQTT Service...
Aug 25 17:33:45 openhabian systemd[1]: broadlink-mqtt.service: Succeeded.
Aug 25 17:33:45 openhabian systemd[1]: Stopped Broadlink MQTT Service.
Aug 25 17:33:45 openhabian systemd[1]: broadlink-mqtt.service: Consumed 3.979s CPU time.
Aug 25 17:33:45 openhabian systemd[1]: Started Broadlink MQTT Service.

openhabian@openhabian:~/broadlink-mqtt $ systemctl list-units --type=service
UNIT                                                        LOAD   ACTIVE SUB     DESCRIPTION
alsa-restore.service                                        loaded active exited  Save/Restore Sound Card State
avahi-daemon.service                                        loaded active running Avahi mDNS/DNS-SD Stack
bluetooth.service                                           loaded active running Bluetooth service
broadlink-mqtt.service                                      loaded active running Broadlink MQTT Service

Is it possible to check what the script prints to the console?

Sorry for late reaction. The output when starting manually is below. Is there also a way to log a service?
Btw...in some way I get continuously every ~22 seconds the "WARNING OOOOPS! MQTT disconnection" message.
openhabian@openhabian:~ $ /usr/bin/python3 /home/openhabian/broadlink-mqtt/mqtt.py
[2022-09-07 16:56:57,671] DEBUG Connected to 'RM4MINI' Broadlink device at '<IP_ADDRESS>' (MAC ec:0b:ae:9e:4d:d7) and started listening to MQTT commands at 'broadlink/#'
[2022-09-07 16:56:57,678] DEBUG Connected to MQTT broker, subscribing to topic broadlink/#
[2022-09-07 16:57:08,693] WARNING OOOOPS! MQTT disconnection
[2022-09-07 16:57:19,709] DEBUG Connected to MQTT broker, subscribing to topic broadlink/#
[2022-09-07 16:57:30,724] WARNING OOOOPS! MQTT disconnection

It looks like there are two processes with the same MQTT client id connected to the MQTT broker at the same time

That was it....Many thx!

Issue with MQTT disconnection is solved.
Still running this as a service is not working.
Service looks active running, but when I send mqtt command, nothing happens.
openhabian@openhabian:~ $ systemctl list-units --type=service
UNIT                                                        LOAD   ACTIVE SUB     DESCRIPTION
alsa-restore.service                                        loaded active exited  Save/Restore Sound Card State
avahi-daemon.service                                        loaded active running Avahi mDNS/DNS-SD Stack
bluetooth.service                                           loaded active running Bluetooth service
broadlink-mqtt.service                                      loaded active running Broadlink MQTT Service
openhabian@openhabian:~ $ sudo systemctl status broadlink-mqtt.service
[sudo] password for openhabian:
● broadlink-mqtt.service - Broadlink MQTT Service
Loaded: loaded (/lib/systemd/system/broadlink-mqtt.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-08-25 18:21:01 CEST; 3 weeks 6 days ago
Main PID: 1091 (python3)
Tasks: 1 (limit: 4915)
CPU: 8min 24.330s
CGroup: /system.slice/broadlink-mqtt.service
└─1091 /usr/bin/python3 /home/openhabian/broadlink-mqtt/mqtt.py

could you please share your mqtt.log file?

Hmm...with starting manually no issues with "Unrecognized MQTT message power". Might be "Unknown" device. See below output of mqtt.log. First connect is service, second connect is starting manually after stopping service.
[2022-09-22 11:24:08,594] DEBUG Connected to 'Unknown' Broadlink device at '<IP_ADDRESS>' (MAC ec:0b:ae:9e:4d:d7) and started listening to MQTT commands at 'broadlink/#'
[2022-09-22 11:24:08,599] DEBUG Connected to MQTT broker, subscribing to topic broadlink/#
[2022-09-22 11:24:51,001] DEBUG Received MQTT message broadlink/masterbedroom/samsungtv power
[2022-09-22 11:24:51,002] WARNING Unrecognized MQTT message power
[2022-09-22 11:30:02,493] DEBUG Connected to 'RM4MINI' Broadlink device at '<IP_ADDRESS>' (MAC ec:0b:ae:9e:4d:d7) and started listening to MQTT commands at 'broadlink/#'
[2022-09-22 11:30:02,499] DEBUG Connected to MQTT broker, subscribing to topic broadlink/#


Unity 2022.1.14f1 IL2CPP android compilation leads to a ArgumentException: Object must be an array of primitives on Bugnag.Start()

Hello!
We had an issue on our project with the new version of Unity, it would seems the the "BlockCopy", when converted by IL2CPP doesn't support the parameter bugsnag sends it.
an empty 2022.1.14f1 project with the following script :
using BugsnagUnity;
using UnityEngine;
public class Test : MonoBehaviour
{
    void Start()
    {
        var config = BugsnagSettingsObject.LoadConfiguration();
        Bugsnag.Start(config);
    }
}

This will lead, once built with IL2CPP and run on an android device to the following exception, making the game unrunnable

2022-08-25 14:57:07.550 13677-10271/? E/Unity: ArgumentException: Object must be an array of primitives.
at System.Buffer.ByteLength (System.Array array) [0x00000] in <00000000000000000000000000000000>:0
at System.Buffer.BlockCopy (System.Array src, System.Int32 srcOffset, System.Array dst, System.Int32 dstOffset, System.Int32 count) [0x00000] in <00000000000000000000000000000000>:0
at BugsnagUnity.NativeInterface.BuildJavaStringDisposable (System.String input) [0x00000] in <00000000000000000000000000000000>:0
at BugsnagUnity.NativeInterface.ConvertStringArgsToNative (System.Object[] args) [0x00000] in <00000000000000000000000000000000>:0
at BugsnagUnity.NativeInterface.CallNativeVoidMethod (System.String methodName, System.String methodSig, System.Object[] args) [0x00000] in <00000000000000000000000000000000>:0
at BugsnagUnity.NativeClient.AddNativeMetadata (System.String section, System.Collections.Generic.IDictionary`2[TKey,TValue] data) [0x00000] in <00000000000000000000000000000000>:0
at BugsnagUnity.AutomaticDataCollector.SetDef

I have attached the sample project for which we were able to reproduce the issue on :
CustomBugsnagTest.zip
We were trying to find a solution to this, but in the meantime I am opening a ticket here, maybe someone has a solution for this?
Thank you very much!
Regards,

Hi 👋
Thanks for letting us know about this!
We are looking into this right now and will let you know what we find asap 👍

I am running into the same issue now, when things used to work fine. I recently updated from Unity 2020.3.32f1 to Unity 2020.3.38f1, not sure if that's related or not.

Thanks for the update.
We already have a fix that's being tested and should be released in the near future 👍

Hi @JinFox & @emrys90 - just to let you know a fix for this was released in v7.1.1 of bugsnag-unity. Thanks again for reporting!

Thank you for your awesome reactiveness!


Make golden tests easier to interpret

The consensus types that have golden tests contain types from cardano-ledger and cardano-ledger-specs (in a nested fashion). Maintaining compatibility for the ledger types is not directly our responsibility, but since we actually store them on disk and send them across the network, we have golden tests that test them.
Idea: instead of writing down the expected CBOR for those types, write the expected hash for the corresponding bytestring. This makes it more obvious that these types are not our responsibility and that our tests does not focus on them, but we still keep a basic check that they haven't accidentally changed.
Also, some golden tests mention the same type: the block contains the header, ExtLedgerState contains LedgerState, etc. By using variables in the expected CBOR, these connections would be clearer.

To state this a bit more explicitly: the ledger layer is responsible for a serialization format that is correct (produced correct CBOR, round trip tests), but they should not necessarily need to be aware of what gets stored on disk, what gets sent across the network etc. So it's good if the consensus layer (which is responsible for these things) verifies that the things we store on disk or are sent across the network don't have unintended serialization changes.


Added buffer pooling and cleaned up LowAllocationServer sample

@dotnet-bot test this please

@dotnet-bot test this please


Issue 57

This should resolve #57 as it provides a way to download an update file as well as specify any custom action to take when a user selects update from the dialog util.

@btkelly comments in!

Need to update Travis config file for build tools version?

Yup, totally forgot to do that. Good catch

Approved


Document minimum zarr

Offline I saw a user run into the following issue with the latest dask release and an old version of zarr (in this example I was using zarr=2.7.1):
In [1]: import dask.array as da

In [2]: da.to_zarr(da.ones(3), 'tmp.zarr', overwrite=True)

In [3]: da.from_zarr('tmp.zarr')
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[3], line 1
----> 1 da.from_zarr('tmp.zarr')

File ~/projects/dask/dask/dask/array/core.py:3593, in from_zarr(url, component, storage_options, chunks, name, inline_array, **kwargs)
   3591     else:
   3592         store = url
-> 3593     z = zarr.Array(store, read_only=True, path=component, **kwargs)
   3594 else:
   3595     z = zarr.Array(url, read_only=True, path=component, **kwargs)

File ~/mambaforge/envs/dask-py39/lib/python3.9/site-packages/zarr/core.py:158, in Array.__init__(self, store, path, read_only, chunk_store, synchronizer, cache_metadata, cache_attrs, partial_decompress)
    155 self._partial_decompress = partial_decompress
    157 # initialize metadata
--> 158 self._load_metadata()
    160 # initialize attributes
    161 akey = self._key_prefix + attrs_key

File ~/mambaforge/envs/dask-py39/lib/python3.9/site-packages/zarr/core.py:175, in Array._load_metadata(self)
    173 """(Re)load metadata from store."""
    174 if self._synchronizer is None:
--> 175     self._load_metadata_nosync()
    176 else:
    177     mkey = self._key_prefix + array_meta_key

File ~/mambaforge/envs/dask-py39/lib/python3.9/site-packages/zarr/core.py:184, in Array._load_metadata_nosync(self)
    182 try:
    183     mkey = self._key_prefix + array_meta_key
--> 184     meta_bytes = self._store[mkey]
    185 except KeyError:
    186     raise ArrayNotFoundError(self._path)

TypeError: string indices must be integers

This is due to dask not supporting zarr versions that old. I tried a more recent version (zarr=2.12.0 -- released June 23, 2022) and the example worked.
I've documented zarr=2.12.0 as our current minimum version in our install docs and pinned to 2.12.0 in our Python 3.8 build (this is a fine, but low-effort measure -- https://github.com/dask/dask/issues/10038 would be more complete).
@rabernat @joshmoore do you have any recommendations on a better minimum zarr version?

Note, the docs failure is unrelated to the changes here and being fixed in https://github.com/dask/dask/pull/10138

Digging into this failure a bit more as part of the mindeps testing in https://github.com/dask/dask/pull/10161, it looks like the underlying issue here is that for zarr<2.12.0, zarr.Array was expecting to receive a zarr.BaseStore as an initializing argument, whereas with >=2.12.0, it was generalized to accept strings and path-like objects representing a store location as well.
Based on the testing in #10161, it seems like Zarr roundtrips work as expected with zarr>=2.4.0, but for <2.12.0 we would require initializing a store before passing off to from_zarr; in your example, this would look like:
import dask.array as da
import zarr

da.to_zarr(da.ones(3), 'tmp.zarr', overwrite=True)
da.from_zarr(zarr.DirectoryStore('tmp.zarr'))

So our options here could either be:

Setting the min version to 2.4.0 and modifying tests to use this pattern if we're using zarr<2.12.0
Set the min version to 2.12.0

I don't really have a strong preference here, though based on feedback in #10161 seems like we would probably err towards bumping versions? For reference, 2.12.0 is ~9 months old.

Thanks @charlesbluca. Yeah, I have a preference for just setting 2.12.0 as the minimum. Given the current dask release doesn't work with, for example, zarr=2.4.0, setting the minimum to 2.12.0 seems to just be a better reflection of what's currently supported.

Sounds good -- done

Superseded by https://github.com/dask/dask/pull/10161


pubg mobile not working

on samsung s10 plus i did exactly what u said but cant change graphics to highers settings

also encountered the same problem

Please check with new release
https://github.com/rushiranpise/Game-Unlocker/releases/tag/6.0.0
Force Stop & Clear game app data after updating

i did try above brother but still its not working

have you found the solution?

test with this
Game Unlocker.zip


Add Export to Left-Hand Menu

As an ECMPS user, I want an export option in the left-hand menu so that I can use it to access the data download/export functionality
Acceptance Criteria:
Given I am an ECMPS user
When I review the left-hand menu in the Global-View
Then I see the 'Export' option
Given I am an ECMPS user
When I review the left-hand menu in the Workspace
Then I see the 'Export' option
Given I have located the export option for either of the views
When I click on it
Then I am navigated to the Select Configurations screen

Please add your planning poker estimate with ZenHub @addisgmichael

Test Case: TC758


⚠ AZ-Launcher has degraded performance

In 0d740e7, AZ-Launcher (https://az-launcher.nz/) experienced degraded performance:

HTTP code: 200
Response time: 1935 ms

Resolved: AZ-Launcher performance has improved in 8c06ebf after 4 minutes.


Add clippyx extension

Description

Screencast

Checklist

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

Hi 👋
Thanks for your contribution 💪
I have now tested your extension, and I have some feedback ready for you:

Is there a reason why all command has the same preferences, shouldn't it be enough to set for the extension itself?
I'm not sure what the preferences it for, does the end user knows for sure?
Maybe update the README with a link to the download page and tell a bit about it
Could you record me a screencast of the extensions flow?

I'm looking forward to testing this extension again 🔥
Request a new review when you are ready. Feel free to contact me here or at Slack if you have any questions.

Yes, it's different since it uses different models / modalities
The end user is already using CLIPPyX from the webui, but using it from raycast will be far more convinient
I updated it and added link to the main repo
here it is:

https://github.com/user-attachments/assets/c1f1456a-0c4c-454a-ab36-3d5aafffcbaa

Should be better now 🙂

Could you add at least one screenshot of the extension

Done ✅
Thank you for help


Rancher URL redirects to main URL instead alternate URL when using AzureAD auth provider

SURE-7746
Scenario:
User has AzureAD auth provider configured and is using 2 domains (e.g. main rancher URL rancher.publix.io and alternate URL rancher.publix.com) to manage Rancher.
The user has added an ingress to the cattle-system namespace for rancher.publix.com that points to the rancher service.
When the user goes to rancher.publix.com and attempts to authenticate with local authentication the authentication works and the URL in the browser remains at rancher.publix.com.
When they go to rancher.publix.com and authenticate with AzureAD the URL in the browser is redirected to the main rancher URL rancher.publix.io.
The user has added rancher.publix.com as a valid redirect URL in AzureAD alongside the main domain
Issue:
When they go to rancher.publix.com and authenticate with AzureAD the URL in the browser is redirected to the main rancher URL rancher.publix.io.
Docs task:
Per engineering this is a design limitation and we should document "it's not possible to have different redirect URLs for both domains automatically" and that "you can manually edit the azuread configuration and change the redirect URL as needed".

Addressed by https://github.com/rancher/rancher-docs/pull/1241.


converting lodash to peer-dependencies

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
9

Relevant Lines:
9

💛  - Coveralls


Throttling not clearing - sidekiq_throttle_as not working properly

Greetings,
sidekiq_throttle_as is not working properly as the jobs that are finishing are not clearing the keys.
The concurrency key is always stuck at max ( 20 )
redis.zrange('throttled:feed_listing_worker_concurrency_strategy:concurrency.v2', 0, -1).count  => 20
although there are currently 9 running jobs.
I've generated a worker to clear up the not running jids.
but the issue is that it isn't optimized and not working 100%.
Are there any suggestion of what am I doing wrong?
In 0_sidekiq:
Sidekiq::Throttled::Registry.add(:feed_listing_worker_concurrency_strategy, concurrency: { limit: 20 }) # limit all the feed listing workers concurrency combined
In the worker:
  include Sidekiq::Throttled::Worker
  sidekiq_throttle_as :feed_listing_worker_concurrency_strategy

Gems versions:
sidekiq-throttled (0.15.0)
sidekiq-pro (5.0.0)
sidekiq (5.2.8)

Can you check against v1.0.0.alpha?
I have plans on refactoring the internals of throttling (planning on switching gears to redis-throttle) completely, but before that would like to iron out all the sidekiq integration bugs first.

I'm closing this for now - feeel free to reopen.


Issues running wal -i

First of all, Elvish has reached a point where I can use it as my primary shell.  Huge thanks to @xiaq for all your hard work!
The problem
pywal generates and applies color schemes to various applications based on a picture.  When running wal -i from inside elvish, terminals occasionally stop accepting keyboard input.  I have tried this in both kitty and gnome-terminal.  Kitty also displays a random character in the prompt, which you can see in the screenshot.  This works fine in bash.

Technology used
Check the neofetch output in the screenshot for lots of information.
EDIT: I reproduced this in elvisn-HEAD on 8/15/21

Does that command run anything in the background? Since Elvish doesn't implement POSIX job control that can cause problems. Does the "random character" persist if you press Enter to get a new prompt? In your screen shot it appears to be the letter m. Is it always that letter? Also, it might be useful to first run the script command, then wal -i, then exit the subshell and examine the resulting typescript file.

Also, as I noted in the other issue you opened you should try to reproduce the problem using Elvish built from the current master branch. The 0.15.0 release isn't particularly old chronologically but in terms of the number of commits merged since that release it is ancient.

Maybe this will answer some of your questions

Does the "random character" persist if you press Enter to get a new prompt?
In the event that I can, yes.

In your screen shot it appears to be the letter m. Is it always that letter?
No.  It varies.  One time I got tt.

typescript file - In this session, it caused the terminal to stop accepting input, so I had to exit uncleanly.
I am certainly willing to try building and running master, but I will either need to find some time to set up a VM, or get some instructions on building w/ nix.

I was able to reproduce this on elvish-HEAD.

Closing this b/c this involves 3 different technologies and I have so far been unable to narrow down which is the cause.


WIP PRODX-21692 WIP: Added Credentials

WIP version. Just for discuss problems and find better ways

I noticed this PR, but I believe you posted it before I updated the info in the ticket, so I'll wait for you to update the code.


ARMOUR not applicable

This is spamming the console:
https://gyazo.com/d4cc58ece9c128bc8b0d7475c561d877
I am using the latest dev build from the jenkins website.

Getting this aswell
Paper 1.13 Latest Dev version.

I can confirm I get this as well using Paper #522, https://pastebin.com/7DF7HP30
Setting old-armour-strength enabled to false stops the error from occuring.

@Leomelonseeds @LoXR @darksaid98 Sorry lads, it appears this may be a very simple fix. Can you try test version 33 or greater?

I can confirm I get no errors anymore with the setting, enabled running the latest dev build#33 & paper 525. Thanks for the patch =)


Example config

Closes #19

Not sure if I totally understand how this is supposed to work, but I think it's supposed to auto-generate that example-config file for people after they install this package, but per the composer website:

Note: Only scripts defined in the root package's composer.json are executed. If a dependency of the root package specifies its own scripts, Composer does not execute those additional scripts.

If it's called "example-config" do we really need to .gitignore it?

Ok so I've got xdebug installed and I'm running composer test, it runs tests and generates code coverage but I get the following error output:
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /Users/jrhodes/php-project/php-sparkpost/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML.php on line 75

Call Stack:
    0.0002     247568   1. {main}() /Users/jrhodes/php-project/php-sparkpost/vendor/phpunit/phpunit/phpunit:0
    0.0846     593720   2. PHPUnit_TextUI_Command::main() /Users/jrhodes/php-project/php-sparkpost/vendor/phpunit/phpunit/phpunit:56
    0.0846     594344   3. PHPUnit_TextUI_Command->run() /Users/jrhodes/php-project/php-sparkpost/vendor/phpunit/phpunit/src/TextUI/Command.php:138
    0.2867    2639568   4. PHPUnit_TextUI_TestRunner->doRun() /Users/jrhodes/php-project/php-sparkpost/vendor/phpunit/phpunit/src/TextUI/Command.php:186
    6.1857   16081344   5. PHP_CodeCoverage_Report_HTML->process() /Users/jrhodes/php-project/php-sparkpost/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:471
   10.6320   22806344   6. date() /Users/jrhodes/php-project/php-sparkpost/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML.php:75

 done

Its because you don't have a default timezone set in your php.ini file.
Set: date.timezone = America/New_York in php.ini

Nice. OK this LGTM.


Add vagrant-cachier composer caching for root user

Problem / Motivation
Some component of the composer-based provisioning is running as root and using /root/.composer/... on the guest machine.
While Vagrantfile enables vagrant-cachier caching for the vagrant user (and the respective composer cache in /home/vagrant/.composer/cache), the root user doesn't have the same.
I suspect the Drush installation is doing this, but it probably doesn't matter.  In the bigger picture, I think it's likely that some tasks will run composer install as root in the course of a project based on DrupalVM.
Proposed solution
Add /root/.composer/cache as a vagrant-cachier cache.
This PR does that.

Unsure why the Travis build is failing.
Looking at the details, it appears to be stalling at the task Ensure the firewall is enabled and will start on boot., which should be unrelated to this PR.

Needs some work.


Update aws-java-sdk-dynamodb to 1.12.129

Updates com.amazonaws:aws-java-sdk-dynamodb from 1.11.1034 to 1.12.129.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" } ]

labels: library-update, early-semver-minor, semver-spec-minor

Superseded by #207.


Testing in vmware

Attempt at fixing VMWare, just to have the CI run.

@teg FTR I was debugging why ssh fails. Seems to be a problem with the ssh keys.

Cherry-picked in #797

Development of this continues in #797.


Funky Locomotion render issue

Funky Locomotion frames and blocks connected to the frames are not rendering correctly (flickering) when moving them on the ship

Will look into it


drivers: cc32xx: Convert drivers to use more new DT_INST macros

Changing more of DT_* prefixed macros that refer to instances to use
DT_INST macros.
Changed GPIO driver to use DT_INST_FOREACH to reduce code duplication.
A side-effect to using DT_INST_FOREACH is that GPIO ports A0 and A3
are now enabled, whereas they were originally disabled by default as
an optimization.

Hmm clocktime issue.


[loc][Query][TypeScript] Localizability of strings

Hi,
please help localization team to answer question from translator.
In case translator is not sure about context/meaning/localizability of string we raise a question to Core team.
Thanks in advance for the reply

Id
File Name Live Page Extended
String Resource ID
Full Source String
Extended Description
Answer Needed By

49,836
LanguageService\TypeScriptVisualStudio\bin\Release\localize\ENU\diagnosticMessages.generated.json
0;   "Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791"
Exponentiation cannot be   performed on 'bigint' values unless the 'target' option is set to 'es2016' or   later.
is the option name of   "target" translatable?

49,795
LanguageService\TypeScriptVisualStudio\bin\Release\localize\ENU\diagnosticMessages.generated.json
Replace_0_with_Promise_1_90036
Replace   '{0}' with   'Promise<{1}>'
Is     "Promise<{1}>" translatable?

Question | Answer
is the option name of "target" translatable? | 'target' is a compiler option
Is     "Promise<{1}>" translatable? |  No, Promise is a type and should remain as Promise

Thank you @DanielRosenwasser


Questions about topological formulation

Hello, Thank you for your great work! I have some questions after reading your paper:

you mention that σn denotes a tuple of monotonically increased functions and the braid set σn± belongs to BNa which means the braid set should be a set of functions. However, in the figure 2 of this paper, 𝜎1+ or 𝜎1- looks like a intersection of functions but not a function. Can you explain it in detail?
Also in the part of Topological formulation, you mention that σn+ means assertive and σn- means passive maneuvers. How to automatically distinguish between σn+ and σn- in the process of encoding.
Looking forward to your public code!

Hi, Thanks for your interest in our work.
Regarding the question of braids, 1) yes, this refers to braid interwine/crossing, which is the result from the transformation by braid function; 2) As indicated in equ.2, we considered 𝜎1+ and 𝜎1- together as 'interacted' topology. Hence, in our framework we treated them uniformly. A more intuitive understanding for this encoding process is simply to find intersections over pairs of transformed (lateral-temporal) future trajectories.

Thank you for your reply, this makes me understand more clearly


Policy catch invalid port wildcard

Catch & fix invalid port wildcards in mapstate Insert and Get. Wildcard port must have InvertedPortMask field at value 0xffff. Add runtime panics to find them and prevent regressions in future.
Fixes: #33037

/test

/test

/test


Ability to override generated classnames?

Hello,
I’m curious if there’s a way to change the naming of the class names that are automatically generated by TSS. Before we upgraded MUI and switched to TSS, we used the createGenerateClassname (https://mui.com/system/styles/api/#creategenerateclassname-options-class-name-generator) function to override class names for our specific project needs. I couldn’t find anything similar for classes generated by TSS.
For example, this class name was generated by TSS: "css-1fsy1xq-FeatureItems-features". I'd like to be able to change the algorithm that's used to generate it if that's possible.
Thanks!

Hello @jabakochashvilisunrun,
While TSS doesn't currently allow a complete override of the algorithm that generates class names, it still offers a high degree of customization.
Let’s break down the structure of the generated class names:
css-1fsy1xq-FeatureItems-features

css: This is the Emotion cache key, which you can customize. Learn more about cache customization here.
1fsy1xq: This is an automatically generated hash. It’s necessary for technical reasons and cannot be controlled directly.
FeatureItems: This is the name of the useStyles instance, typically matching the React component it’s used with. You can set it using .withName().
features: This is the rule name you've defined. For example:

const useStyles = tss.create({ features: { /* your styles */ } });

// Then

const { classes } = useStyles();

Let me know if this customization level meets your needs or if you’d like more granular control.

Thanks, ideally we'd like to have control over the automatically generated hash, but I understand that it cannot be controlled directly. that's what I wanted to check with you.
Thanks for the quick reply! closing this issue now

Well TSS has a plugin system that you could theorically use. You could overwrite the classes object so that it returns your extact desired class on top of the class required.
You could have:
const useStyles = tss.withName("FeatureItems")create({ features: { /* your styles */ } });

// Then

const { classes } = useStyles();

Be rendered as:

For example.
Let me know if you're intrested, I can provide more details.

@garronej thanks for the example. Unfortunately that's not something we're looking for.
we'd like to change the algorithm that's used to generate automatically generated hash (1fsy1xq)

I think you can acheive this with a stylisPlugins plugin:
import createCache from '@emotion/cache';
import { CacheProvider } from '@emotion/react';
import stylis from 'stylis';

// Example of a custom hash plugin
const customHashPlugin = (element) => {
  if (element.type === 'rule') {
    element.props = element.props.map((selector) => {
      // Replace the hash generation with your custom logic
      // For example, prepend a custom prefix or apply a different hashing function
      return selector.replace(/css-[a-z0-9]+/, 'custom-prefix-' + generateCustomHash(selector));
    });
  }
};

// Your custom hashing function
function generateCustomHash(input) {
  // Implement your custom hash function here
  return input.length.toString(16); // This is a simple example; replace with a real hash
}

// Set up Emotion cache with the custom stylis plugin
const cache = createCache({
  key: 'custom',
  stylisPlugins: [customHashPlugin],
});

// Then wrap your app with CacheProvider and the custom cache
function App() {
  return (
    <CacheProvider value={cache}>
      {/* Your application */}
    </CacheProvider>
  );
}

(It's chatGPT so it probably need to be ajusted)

Thank you so much! I'll play with this code. I really appreciate this!

@garronej I've played with this code, and I'm able to modify the hash value:
import createCache, { StylisElement } from '@emotion/cache';
import { CacheProvider } from '@emotion/react';

const hashOverridePlugin = (element: StylisElement) => {
  const props = element.props;
  const propsArr = typeof props === 'string' ? [props] : props;

  if (element.type === 'rule') {
    element.value = element.value.replace(/jest-[a-z0-9]+/, 'jest-uuid');
    element.props = propsArr.map((selector: string) => {
      return selector.replace(/jest-[a-z0-9]+/, 'jest-uuid');
    });
  }
};

const cache = createCache({
  key: 'jest',
  stylisPlugins: [hashOverridePlugin, console.log],
});

const customJestRenderer = (ui: ReactNode) => {
  function Wrapper({ children }: { children: ReactNode }) {
    return (
      <CacheProvider value={cache}>
        <ThemeProvider theme={customTheme}>{children}</ThemeProvider>
      </CacheProvider>
    );
  }

  return rtlRender(ui, { wrapper: Wrapper });
};

I'm able to verify with console.log plugin that the classnames are updating. Issue is that looks like this only updates the class names in generated stylesheet. DOM nodes still have the old classnames with hashes in it.
Do you have any suggestions on how to override that easily?
To add more context, we're trying to remove hashes from the jest snapshots.
Thank you

Hello @jabakochashvilisunrun,
Can you test if the problem steam for tss or if it's the expected behavior?
yarn add @emotion/css

import { StylisElement } from '@emotion/cache';
import { CacheProvider } from '@emotion/react';
import createEmotion from '@emotion/css/create-instance'

const hashOverridePlugin = (element: StylisElement) => {
  const props = element.props;
  const propsArr = typeof props === 'string' ? [props] : props;

  if (element.type === 'rule') {
    element.value = element.value.replace(/jest-[a-z0-9]+/, 'jest-uuid');
    element.props = propsArr.map((selector: string) => {
      return selector.replace(/jest-[a-z0-9]+/, 'jest-uuid');
    });
  }
};

const {
  css,
  cache
} = createEmotion({
  key: 'jest',
  stylisPlugins: [hashOverridePlugin, console.log],
});

const customJestRenderer = (ui: ReactNode) => {
  function Wrapper({ children }: { children: ReactNode }) {
    return (
      <CacheProvider value={cache}>
        <ThemeProvider theme={customTheme}>{children}</ThemeProvider>
      </CacheProvider>
    );
  }

  return rtlRender(ui, { wrapper: Wrapper });
};

// Look if the generated class name is correctly modified.
console.log(css({ border: "1px solid red" }));

Let me know what the css() call returns, if it's modified as expected or not.

Forget my previous message.
I think I got you, if it's for jest you can just use @emotion/jest:
https://emotion.sh/docs/@emotion/jest
The advantage of tss is that it's just an emotion adapter so you can use any emotion plugins.

@garronej thanks!
this is the output:
  console.log
    jest-1t3g54r

      at Object.<anonymous> (tests/utils/rtl-utils.tsx:30:9)

hash doesn't get overwritten

Thanks, will check out @emotion/jest

Thank you, that's exactly what we needed.
In case anyone else is wondering, this is how the final solution looks like:
// setupTests.ts
import { createSerializer } from '@emotion/jest';

// configures @emotion/jest to not insert styles and replaces className hash
expect.addSnapshotSerializer(
  createSerializer({
    includeStyles: false,
    classNameReplacer: (cn) => cn.replace(/css-[a-z0-9]+/, 'jest-uuid'),
  })
);

Thanks again!


Use Pathlib

Pathlib is a new(-ish) standard library module (introduced 3.4) that provides a cleaner and more reliable way to handle file paths than the old os.path methods.  They bake in OS-safety, adapting to Windows back-slashes and Unix forward-slashes seamlessly.  Switching to Pathlib cleans up the code a little and avoids possible Windows problems.
We also corrected some logic in the checking the hash of downloaded files in setup.py.

Builds seem to be failing in same way.

@wang-boyu Thank you for the catch - it doesn't happen with plain "pip install -e ."  But it seems like creating the parents fixes it.

Thanks for the fix! It is now working as expected. Two last things from my side:

CI is failing due to unsorted import in a file: https://github.com/projectmesa/mesa-geo/actions/runs/4803403604/jobs/8590648770?pr=149
You probably would need to squash all commits into one or two smaller commits

@rht is there any other changes you would like to make?

Fixed isort error and squashed commits. Merging now.

I missed the emails, but yeah LGTM.


Test performance of reduced pixel-read-pass frequency on slow-GPU hardware

Compare FPS after increasing pixel_read_pass threshold.

was it done? is it finished? @wdanilo @kazcw what was the result of the benchmarks?

I've added a debug option (in #6019) to make benchmarking this easy, and I've measured it on my development machine (negligable impact here). When I have the Intel Xe hardware, I'll run the same test on it and compare results.

@wdanilo @kazcw what is the status of the test? can we close the issue? If not, please add the progress summary and the next steps.

@kazcw did you run the tests on Ned's machine just to check if they have any impact?

@kazcw Bump

We did the tests. It looks that it does not have big effect. Also, a flag was added to the IDE to test it out easily. Closing.


Docs on creating extensions

This page shows what microsoft extensions are currently available: https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-extensions
But I cannot find a how-to on writing my own.
For example, I don't even know if this is possible with extensions, but I'd like to:

Register an extension
When my test suite finishes, my extension is passed information about that test suite
That extension checks if we're running in GitHub actions
If we are, it writes to the OUTPUT_SUMMARY file with an easy-to-read table of the results

If I correctly understand what you need, I think what you need builder.TestHost.AddTestSessionLifetimeHandle(new YourExtension());
This will notify you when the test session ended. In addition, you can also implement IDataConsumer (and use builder.TestHost.AddDataConsumer) to get information on tests while they run so that you can accumulate this information at the end when you get the OnTestSessionFinishingAsync callback.
This is documented in https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-architecture-extensions#the-itesthostprocesslifetimehandler-extensions and https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-architecture-extensions#the-idataconsumer-extensions