Option to run action as a Docker image

Hi @highbyte
What do you think of providing this action as a prebuild Docker image? I saw you have started on a GitHub action to create and publish a Docker image to a registry, but currently the action.yml points to the Dockerfile in the "runs" section.
Our experience is that building version 2.2.3 adds about 2 minutes to the run time of our GitHub actions. Using a prebuild version would be nice in order to save some build minutes.

@rafaelschlatter There is now a pre-release version<EMAIL_ADDRESS>with a pre-built docker image. In my own workflows I've observed that the time for downloading the pre-built image is approx. half the time it took for building it (35 vs 77 seconds). Definitely a worthwhile change.

@rafaelschlatter There is now a pre-release version<EMAIL_ADDRESS>with a pre-built docker image. In my own workflows I've observed that the time for downloading the pre-built image is approx. half the time it took for building it (35 vs 77 seconds). Definitely a worthwhile change.

@highbyte in our first usages we saw a reduction of ca 90 secs (ca 2 min for building, vs ca 30 secs for pulling). Very much appreciated!

@rafaelschlatter Thanks for the perf tip! Release version published as<EMAIL_ADDRESS>(no changes from beta)


fix for shortcut presumption

fixes #189

I had just made my own version of this. 😄 This looks good though!

Thanks!


Why did you use kGE to estimate area and not the usual units of measurement

I don't understand that why and how did you use kGE to estimate the area and not the usual units of measurement.
can you teach me how the EDA can convert from the micro met to kGE

For the "usual units of measurement", I assume you mean some sort of area (micrometers squared, or similar). The problem is that this value scales with the process node, for rather obvious reasons!
Fortunately, it turns out that "the number of gates" is less dependent on the process node that we use, so is a more stable area estimate. There's a (very bare-bones) note about it at Wikipedia.

I synthesized by cadence genus like above, so i don't know that is true or false.


feat(ci): enable spell-check-partial for docs, simulator, tools, and vehicle dir

Description
Enable spell-check-partial for following directories

docs
simulator
tools
vehicle

Related links
N/A

Tests performed
Check that those directories do NOT include any typos detected in spell-check-all

Notes for reviewers
Please check that those directories do NOT include any typos detected in spell-check-all

Interface changes
N/A

Effects on system behavior
N/A

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

There are already no errors in new directories for spell-check-partial!
https://github.com/autowarefoundation/autoware.universe/actions/runs/5653529159/job/15314857934?pr=4327

Forgot this!


Added Educba free android app development course

Added free android app development course with Certification in educba

kindly add it sir


merge from arlac77/template-github,arlac77/template-kronos-module

README.md

docs(README): update from template

:tada: This PR is included in version 9.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Expense module: UI and Integration

What

UI for all pages.
Edit and Delete methods added expense_controller
API Integration
Mobile responsive pages.

Preview:

What's Remaining

Download expense functionality.
Expense summary API and integration
PieChart
Client list API is not present

@Shruti-Apte Filter button has no functionality,
Should we remove it if it's not part of this Ticket?

@Shruti-Apte Please work on changes discussed on call


Revert the Action

Is there any way to revert the switch from controller?
I am supposed to show a dialog confirming the switch which is happening. The issue is that it switches anyway if I select either of the options. I need  a way to restrict/ revert the switch.
Thanks!

Hi @bilalTechverx,
The concept of Revert is strictly related to the application context, and means nothing in more general purpose. In your use case revert is the previous value before hitting any submit or confirmation button, but how can I know how many times a user have toggle the value of a switcher?
If the answer is "only one time" then you can just switch back the value you currently have. In all the other cases, if the user haven't changed the switcher value or he has switched it several times then the directive has no way to remember witch was the original value. This could be solved application side from your part.
You need to save the switcher value when the controller loads itself and use it when you want to perform the "Revert" action.
var mySwitcherValue = $scope.switcherValue; // init phase

$scope.onRevert = function () {
   var confirmationResult = confirm('Are you sure you want to revert?');
   if (confirmationResult) { // perform revert
      $scope.switcherValue = mySwitcherValue;
   }
};

Hope this helps :)


Why does Provider.of( listen: false) will still trigger the widget rebuild?

main.dart.zip

Hi @jims57
From what I can see, the issue is related to a 3rd party plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments, possibly providing a minimal reproducible code sample that does not use 3rd party plugins, and I will reopen it.
Thank you

@TahaTesser I tried the sample according to the doc, which is written at Flutter site. So I expect that the Provider.of issue is related to Flutter. Right?


Principle of setting 'hash_bucket_size' parameter ?

Question 1:
In wide_n_deep_tutorial.py, there is a hyper-parameter named hash_bucket_size for both tf.feature_column.categorical_column_with_hash_bucket and tf.feature_column.crossed_column methods,  and the value is hash_bucket_size=1000.
But why 1000? How to set this parameter ?
Question 2:
The second question about crossed_columns , that is,
crossed_columns = [     tf.feature_column.crossed_column(         ["education", "occupation"], hash_bucket_size=1000),     tf.feature_column.crossed_column(         [age_buckets, "education", "occupation"], hash_bucket_size=1000),     tf.feature_column.crossed_column(         ["native_country", "occupation"], hash_bucket_size=1000) ]  in wide_n_deep_tutorial.py,
Why choose ["education", "occupation"], [age_buckets, "education", "occupation"] and ["native_country", "occupation"] as crossed_columns , are there any rule of thumb ?

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


Inconsistent results when adding and removing perms through code

What i'm trying to do if u need it:
So i'm making a simple addon plugin where it takes a permission that has a number and increase it or decrease it so for example if i had a permission pets.number.4 the command would recognize the player has that permission and would remove it and add pets.number.5 instead.
however when i add and remove perms through vault api it fails a lot of times without returning a false value meaning there is no way of making sure if the permission was actually added or removed. so i made a simple block of code to test that the problem isn't from me.
my code:
inside a command executer:

                        player = Bukkit.getOfflinePlayer(UUID.fromString("356c9d6f-c039-4efa-a82a-13c34cb1f1ca"));                         for(int i = 0; i < 100; i++)                         {                             int j = i -1;                             boolean b1 = perms.playerRemove(null, player, "why." + j);                             boolean b2 = perms.playerAdd(null, player, "why." + i);                             if(!b1 || !b2)                             {                                 sender.sendMessage("Fail at " + i);                             }                         }
perms is defined on the enable method as
Permission perms = getServer().getServicesManager().getRegistration(Permission.class).getProvider();
and the result of this code inside my permissions file in the first 5 runs was:
[1]:
why.99
why.7
[2]:
- why.99
- why.95
- why.91
- why.85
- why.76
- why.63
- why.59
- why.55
- why.37
- why.23
- why.22
[3]:
- why.99
- why.76
[4]:
- why.99
- why.90
- why.85
- why.84
- why.81
- why.73
- why.70
- why.67
- why.60
- why.42
- why.39
- why.27
- why.22
- why.19
- why.0
[5]:
- why.99
- why.39
- why.11
as you can see there is absolutely no pattern or logic behind the results especially since i didn't get any fail messages.
my permissionex version: "1.23.4"
my vault version: 1.5.6-b49
i do not have any other permission managing plugins
Please help me to keep using your awesome plugin :)
thanks in advance

Programming stuff; @zml2008 will have to handle this ticket.

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


Implement fs filecopy

A first implementation, directly calls into objects_api.copy_object after some input validation.
Only allows copies within a repo, since that limitation is imposed by the lakeFS client.
Does not check for a protocol, assumes string paths.
Adds a test as well.
Closes #79.

Codecov Report
Patch coverage: 69.23% and project coverage change: -0.84% :warning:

Comparison is base (2c2f9e5) 92.00% compared to head (b227c23) 91.16%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
- Coverage   92.00%   91.16%   -0.84%
==========================================
  Files           7        7
  Lines         350      362      +12
  Branches       54       57       +3
==========================================
+ Hits          322      330       +8
- Misses         13       15       +2
- Partials       15       17       +2

Files Changed
Coverage Δ

src/lakefs_spec/spec.py
89.37% <66.66%> (-1.17%)
:arrow_down:

src/lakefs_spec/hooks.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add site search to home page

Resolves #21867
Brief summary of changes in this PR:

A search bar has been added to the navigation bar on the home page.
Corresponding CSS and script have also been added.
Screenshots have been below to show how the search bar looks on desktop and mobile devices.

Search on Desktop

Search on Mobile

/cc @sftim (For review and feedback as requestor for this feature)

For review and feedback as requestor for this feature.
/cc @sftim

I'm not keen on the way that the navigation jumps between the main and other pages. How about either:

moving the search form outside of the page header
rendering the magnifying glass search on every page

?

@sftim Thanks for feedback will look into this.
Also, one more thing about rendering search option on every pages, looking at the feature description #21867 below; I was under the assumption it was meant to be only for the homepage.

Add a facility to search the website to the main page, https://kubernetes.io/

@sftim I suggest expanding scope of this feature by adding a search option in the navbar for all pages, as it offers more convenience and flexibility to users than a search input field solely on the homepage. Although we already have a search field in the sidebar for pages, having the search option in the navbar means users can access it easily from any page, improving the user experience and making the website more user-friendly. Moreover, having the search option in the navbar ensures users can quickly find what they're looking for, regardless of the page they're on.

I suggest expanding scope of this feature by adding a search option in the navbar for all pages, as it offers more convenience and flexibility to users than a search input field solely on the homepage. Although we already have a search field in the sidebar for pages, having the search option in the navbar means users can access it easily from any page, improving the user experience and making the website more user-friendly. Moreover, having the search option in the navbar ensures users can quickly find what they're looking for, regardless of the page they're on.

OK, here's how to make that work:

File a new issue about having a site search in the website header
Close this PR
Open a PR that adds that site search. Ideally, copy as much as is feasible from upstream Docsy.
Leave the site search in the sidebar; it's not a problem to have multiple ways for readers to search.

Closing this PR in favour of new issue to expand the scope of this feature by adding a search option for all pages.
/close


chore: Upgrade dependencies

Hi everyone!
Here is a PR to upgrade outdated dependencies that do not bring any special change.
Matomo/Sentry/Camera require a bit of work and tests.
So this upgrade should be OK, but as always, please test it

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 7.16%. Comparing base (4d9c7fc) to head (1d7d9c9).
Report is 251 commits behind head on develop.

Files
Patch %
Lines

packages/smooth_app/lib/query/product_query.dart
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5490      +/-   ##
==========================================
- Coverage     9.54%   7.16%   -2.39%
==========================================
  Files          325     391      +66
  Lines        16411   20408    +3997
==========================================
- Hits          1567    1462     -105
- Misses       14844   18946    +4102

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fix injection in case if there is no style-element

You check if (currentStyleTags.length - 1 === index && styleAlreadyAdded === false) { inside currentStyleTags.forEach. But what if currentStyleTags is empty?

Looks good, thanks for the PR @tonn!


Updated Jinjiang's personal information

Updated some information about myself:

Not work for Alibaba / maintain Weex any more, for a while actually.
Moved to Singapore from China.
Added some ecosystem projects I personally created.
Thanks.

Would you update docs-next with the new info as well?

Sure. Will do the same thing :-)

👍


Add place_id to GoogleAddress

For https://github.com/geocoder-php/Geocoder/issues/749
Cheers,
Chris

Hey.
Thank you for your contribution, but this repository is READ ONLY. You should close this PR and make a new one at http://github.com/geocoder-php/Geocoder.
Regards
The bot at SubtreeSplit.com

ups


Adding searchWithPagination support for the RegistryCPI and RegistryImpl

Supun, very nice, great job with this feature. I am revieweing rest of the code, meanwhile, can you uncommit the modules/registry/airavata-jpa-registry/bin/airavata.log from the PR

I created a new pull request.
On Sun, Apr 26, 2015 at 8:25 AM, Suresh Marru<EMAIL_ADDRESS>wrote:

Supun, very nice, great job with this feature. I am revieweing rest of the
code, meanwhile, can you uncommit the
modules/registry/airavata-jpa-registry/bin/airavata.log from the PR
—
Reply to this email directly or view it on GitHub
https://github.com/apache/airavata/pull/7#issuecomment-96313420.

--
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa


Sexual activity - Kenya

Use data from DHS on percentage of women who have had sex within the last 4 weeks by age.  This should include only women who have ever had sex as debut is parameterized elsewhere

Kenya data

2014
Age
Last 4 weeks
Last year
1+ years ago
Never had sex
Re-normed to only sexually active

15
11.4
15.3
9.6
63.7
0.31

20
49.2
28.0
12.3
10.5
0.55

25
63.0
25.9
9.0
1.9
0.64

30
69.0
22.3
7.8
0.8
0.70

35
64.9
20.3
14.2
0.6
0.65

40
60.3
20.0
19.1
0.4
0.61

45
57.1
17.4
25.0
0.4
0.57

Senegal data
| Likelihood of sex by timing |   |   |   |
-- | -- | -- | -- | -- | --
  | Last 4 weeks | Within last year | 1+ years ago | Never had sex | Re-normed to only sexually active
15-19 | 11.5 | 9.1 | 2.2 | 77.2 | 50.4
20-24 | 35.5 | 18.9 | 9.1 | 36.5 | 55.9
25-29 | 49.6 | 29.0 | 7.9 | 13.6 | 57.3
30-34 | 57.4 | 25.0 | 12.0 | 5.6 | 60.8
35-39 | 64.4 | 20.1 | 12.5 | 3.1 | 66.4
40-44 | 64.5 | 17.8 | 13.2 | 4.4 | 67.5
45-49 | 66.8 | 16.8 | 14.3 | 2.1 | 68.2


[ADD]: ADVENTURES OF CAPTAIN CALLISTO GAME 👾

PR Description 📜

This PR is about adding Adventures Of Captain Callisto Game

Fixes #1133

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Screenshots 📸

Thank you soo much for contributing to our repository 💗

Thank you @0xabdulkhalid ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @0xabdulkhalid , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


#30 Add bounds property to map

Create a Bounds property reflecting the map bounds, and an event for tracking changes on the bounds.

I've rebased this branch onto the latest master.


Unhandled exception at 0x00007FFB13FBD9F0 (flutter_windows.dll) in flet.exe

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
after update to flet=0.24.1
when use page.window.destroy() show error Unhandled exception at 0x00007FFB13FBD9F0 (flutter_windows.dll) in flet.exe
it work fine with flet==0.23.2

Code sample
Code
import flet as ft

def main(page: ft.Page):
    def window_event(e):
        if e.data == "close":
            page.window.destroy()

    page.window.prevent_close = True
    page.window.on_event = window_event

    page.add(ft.Text("Hello, World!"))

ft.app(main)

To reproduce
.
Expected behavior
No response
Screenshots / Videos

Captures
[Upload media here]

Operating System
macOS
Operating system details
win64
Flet version
flet==0.24.1
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]

Additional details
it work fine with flet==0.23.2

Which Version of windows do you have?
Your code works as expected on my windows 10.

win 10
any suggest to solve error


Automated cherry pick of #6663: fix: 优化安全组同步逻辑

Cherry pick of #6663 on release/3.2.
#6663: fix: 优化安全组同步逻辑

Codecov Report

Merging #6731 into release/3.2 will decrease coverage by 0.33%.
The diff coverage is 6.87%.

@@               Coverage Diff               @@
##           release/3.2    #6731      +/-   ##
===============================================
- Coverage         7.03%    6.70%   -0.34%
===============================================
  Files              650      665      +15
  Lines           111812   118925    +7113
===============================================
+ Hits              7869     7974     +105
- Misses          103334   110342    +7008
  Partials           609      609

Flag
Coverage Δ

#aFlag
6.70% <6.87%> (-0.34%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/baremetal/tasks/bm_register.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/ipmiprobe.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/fetch.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/namevalidator.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/opslog.go
1.49% <0.00%> (-0.02%)
:arrow_down:

pkg/cloudcommon/db/scoperesource.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/tenantcache.go
2.96% <0.00%> (-0.32%)
:arrow_down:

pkg/cloudcommon/policy/resources.go
0.00% <ø> (ø)

pkg/cloudprovider/cloudprovider.go
1.53% <0.00%> (ø)

pkg/cloudprovider/instance.go
0.00% <ø> (ø)

... and 68 more

Continue to review full report at Codecov.

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


Refactor precision calculation

Refactor the calculation of precision to pick all users with a certainty over x percent where x needs to be found by hyperparameter search.  Also introduce recall and calculate F-score.

We are also going to try picking all users that have an above average certainty.


fix renderer bug under safari

Description
After update from next 5 to next 6, everything was working correctly except safari styling. Either two things happened:

infinite reload with webpack under development mode
classes got assigned to other elements as well, not just components which were using it, resulting in wrong styling

Example
I've already spent a couple of hours trying to make such a project for bug demo, but I don't consider that it worth the effort considering the simplicity of the fix.
Versioning

Minor
fela-bindings
Checklist
Quality Assurance

You can also run yarn run check to run all 4 commands at once.

[x] The code was formatted using Prettier (yarn run format)
[x] The code has no linting errors (yarn run lint)
[x] All tests are passing (yarn run test)
[x] There are no flow-type errors (yarn run flow)

Changes
If one of the following checks doesn't make sense due to the type of PR, just check them.

[x] Tests have been added/updated
[x] Documentation has been added/updated
[x] My changes have proper flow-types

Omg, really? That was pretty simple indeed!
Strange this is: I have similar issues with Next at the moment, but I've not even used Fela at all by now. Just prototyped with inline style...
Anyways, will merge that as soon as possible.
Thanks for your PR =)


Why is the carbon binary so large?

This is the dependency graph obtained by analyzing the go program using https://gsa.zxilly.dev/, which shows that carbon takes up a lot of space.

The results of using tui mode analysis show that these structures and functions take up a lot of space.

Because each call creates a new Carbon object, it is possible to consider returning a pointer to reuse the object, thereby reducing the pressure of memory allocation and garbage collection. However, the entire project needs to be refactored, which is too destructive.

Do you have any good optimization plans?

Do you have any good optimization plans?

No, maybe this can be optimized in future v3 version.


如何用xorm实现not in

在xorm里只找到了In语句, 没找到not in语句, 请问要用哪个方法达到这个目的?

目前只能用Where("a not in (?,?,?)", slice...)

This feature have been implemented in branch builder and will be merged to master some time later.

The newest version v0.6.0 has resolved this issue. You can Where(builder.NotIn("a", 1, 2, 3)).


Inactivate known external links when needed

Bug/issue #, if applicable: 118834404
Summary
This adds logic to inactivate links to pages from other targets unless they have been included in the same combined archive.
Dependencies
https://github.com/apple/swift-docc-plugin/pull/84
Testing
You can use the archives from this fixture for the convenience of testing purposes:
archives.zip
Steps:

Run VUE_APP_DEV_SERVER_PROXY=/path/to/Combined\ ExternalLinks\ Documentation.doccarchive npm run serve and open http://localhost:8080/documentation/outer/outerclass/dosomething(with:)
Verify that all the links to "Inner" pages work, including in the declaration
Run VUE_APP_DEV_SERVER_PROXY=/path/to/Outer.doccarchive npm run serve and open http://localhost:8080/documentation/outer/outerclass/dosomething(with:)
Verify that all the links to "Inner" pages are no longer linked
Check for any other regressions with links and linked declaration types using other fixture content.

Known issues:
Due to the way that the Render JSON and Navigator JSON are loaded independently by the renderer, it's possible that the links in step 4 may be initially linked for a very brief moment until the navigator has finished loading. I've discussed this with @d-ronnqvist, and this limitation is acceptable for now given the way that things are structured.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[X] Added tests
[X] Ran npm test, and it succeeded
[X] Updated documentation if necessary

Do we plan to have a separate PR for known external asset references? Or is that not a concern?

I don't believe that's a concern but @d-ronnqvist let me know if I'm mistaken.

We use the Reference component in couple of other places, like tutorials, button link, cards, mentioned in, relationships, etc. Do we also need to make this change there? or is it only a concern for links in the primary content and declarations?

The ContentNode change here is at a layer higher than Reference and determines which data gets passed to Reference, so it should apply anywhere that component is used, which I believe is sufficient (in addition to the declaration change).

I tried my best to understand why this is needed, but I obviously don't have all the context. Maybe this won't work for obvious reasons I'm not aware of. But have you considered maybe removing items from the references object if their module name is not included in the includedArchiveIdentifiers list? Then we just let existing logic in each component to take over.

I haven't tried this, but this could potentially be a better approach, although it might be difficult to find the right layer to add this logic. I can look into it.

We use the Reference component in couple of other places, like tutorials, button link, cards, mentioned in, relationships, etc. Do we also need to make this change there? or is it only a concern for links in the primary content and declarations?

The ContentNode change here is at a layer higher than Reference and determines which data gets passed to Reference, so it should apply anywhere that component is used, which I believe is sufficient (in addition to the declaration change).

What about components that use Reference directly, not through ContentNode or LinkableToken like the examples I gave above? I'm not sure if those components can end up with external links though.

I tried my best to understand why this is needed, but I obviously don't have all the context. Maybe this won't work for obvious reasons I'm not aware of. But have you considered maybe removing items from the references object if their module name is not included in the includedArchiveIdentifiers list? Then we just let existing logic in each component to take over.

I haven't tried this, but this could potentially be a better approach, although it might be difficult to find the right layer to add this logic. I can look into it.

I haven't thought too deeply into this, but maybe when we set references in the DocumentationTooicStore?

I think the referencesProvider mixin was the right place to do this. I've opened an alternate PR with that approach: #878 — let me know what you think (I think I prefer this approach as well).

Closing in favor of #878


Edit Context: indentation no longer respected

see comments in https://github.com/microsoft/vscode/issues/234132#event-15601851290

I don't have tried with insider, only on 1.96.0
IN the inline VSC you can edit a ts file and see the indentations are respected, then add the editor.experimentalEditContextEnabled: true option and see the indentation fail. No other options are needed.
Maybe has simply been fixed in insider.

Hi thank you for the comment, I am still not able to reproduce the issue with the settings on the latest stable release as you can see on the screen recording. I will wait to see if other users notify me of the same problem.
https://github.com/user-attachments/assets/a19c605f-6a7c-4d51-b4a3-4457c1733862


When using a dataFormat column hiding breaks

When using a custom formatter, the ability to hide the column fails. The column header disappears as it should but data associated to the column does not.

Hey @AllenFang thanks for your responsiveness!
To clarify, no I mean when I apply a dataFormatter and through the <TableColumnHeader /> component change the property of hidden the columns that should disappear fail to disappear.
When I get a chance I'll give an example. Little tired at the moment.

OK, give me an examples in near days. Thanks :)

this issue is still alive.

I've fix this issue, will release in near future.

I've released on v1.4.3 for fixing this bug :)


Fix issues with typing.overload

This should fix #525 and also the def __init__() overloading which is not explicitly part of that issue.
The fix simply makes use of the existing is_overload property also in the case that definition.is_magic is true. Previously, this was somehow missed in the inlined if-else construct. I expanded that part to more explicit statements and used a new variable.
I also tried #555 and at least added a match for "typing.overload". But I don't know if pydocstyle is able to infer if a decorator is actually a name bound at import by something like: from typing import overload as my_overload.
If not, then I don't see a way to "know" if a given decorator is a typing.overload.
If this is ok, I'd add tests as well.
TODO:

[ ] Add unit tests and integration tests where applicable.
[ ] Add a line to the release notes (docs/release_notes.rst) under "Current Development Version".
Make sure to include the PR number after you open and get one.

I noticed a strange side effect. When using the changes of this PR, D105 is never detected.

Should be fixed now. I missed that the evaluation of the error codes dict is delayed.


Feat/grid view

Description
Implements a grid layout option. Screenshot
Context
Resolves Issue #23
More details

Repo names for this view don't link to their repos.
I had some trouble rendering emojis with the colon syntax (:star:) but using the unicode character directly seemed to work ok.

Thank you so much! I love the view seen in your screenshot, I will test it later, but the tests seems to be failing due to black formatting, don't worry about that at the moment, although if you have black installed you can run black . and push the changes. If you don't then don't worry about it 😀

Awesome! Looks gorgeous on my computer, thanks for your contribution ;)

@all-contributors please add @swellander for code

✨ released on version 2.9.0, added you to list of contributors :)

Hey. The grid layout looks great!
There is a gotcha to be aware of, with regards to truncating the title text with ellipsis. Asian characters can take up 2 “cells” in the terminal. So a title in Chinese may have a length of 10, but will be as wide as 20 characters of a Western alphabet.
You might want to use this method to truncate the title, which is aware of Asian characters.

Thanks for your suggestion, I will try it out :)


Allow users to specify tolerations/nodeSelectors in the operators provisioner object

I'd like to be able to add nodeSelectors/tolerations to the operators provisioner object to determine where the trident provisioners deployment is run, as this currently is not an option in the provisioner objects spec.

Hi, I've added a PR to fix this https://github.com/NetApp/trident/pull/565. Hope you like it

This issue is resolved with commits e167c7 and c7c167d. This change will be included with the Trident 22.01 release.


lambda fixes

Tested this out with Flightfinder and different syntaxes and it all seems pretty good.
Also noticed that ` works pretty well also.

Will cherry pick to release asap


Account backend connection to account UI

[ ] keyethereum uses scrypt [ which is a problem ]

[ ] show ganache addresses with testnet name


Making a profile

I have not found any documentation on making a profile in v86. I am hosting a version on my own website for testing.
Is there a tutorial on how to make a profile for v86?

There's no tutorial, sorry.
The profiles are defined in main.js. Simpler examples can be found here. The interface is documented here.

Feel free to reopen if you still have questions.

So I found out how to make a profile.
Profiles are defined in build\v86_all.js as well as src\browser\main.js. Adding
{id:"mikeos",Na:{url:"images/mikeos.img",size:737280},name:"MikeOS"}
to v86_all.js and adding
{
id: "mikeos",
fda: {
"url": "http://computernewb.com/x86emu/images/mikeos.img",
"async": true,
},
name: "MikeOS 4.5",
},
allows users to navigate to my fork of v86 and run MikeOS 4.5 (very minimal DOS-like OS that comes with games and apps)
http://computernewb.com/x86emu/?profile=mikeos


Make the Guide content area wider

I think we should make the guide area wider.

This may be fixed already.

The guides look fine in Chrome, Safari, Firefox.


Instructions for use of the benchmark datasets and metrics on custom generative models

Hi @txie-93, I'm enjoying digging into the manuscript, and congratulations on its acceptance to ICLR! It is really nice to see the comparison with FTCP and other methods, and CDVAE certainly has some impressive results.
Would you mind providing some instructions in the repository for using the benchmark datasets and the metrics on a custom generative model? For example, how would this look for FTCP or the slew of other generative models in this space (i.e. the general inverse design ones)?

Hi Sterling, thank you for your interest.
Use our datasets on other models
Our datasets are csv files where each row contains a crystal with its cif string. Both FTCP and Cond-DFC-VAE have utilities and guideline to configure the model for cif data source. Maybe that is also the case for other crystal generative models, given the common use of cif for crystals?
To adopt G-SchNet, we processed the crystals to ASE atoms. I am enclosing my code here:
import numpy as np
import pandas as pd

from pathlib import Path
from tqdm import tqdm
from ase import Atoms

from pymatgen.core.structure import Structure
from pymatgen.core.lattice import Lattice

def abs_cap(val, max_abs_val=1):
    return max(min(val, max_abs_val), -max_abs_val)

def lattice_params_to_matrix(a, b, c, alpha, beta, gamma):
    angles_r = np.radians([alpha, beta, gamma])
    cos_alpha, cos_beta, cos_gamma = np.cos(angles_r)
    sin_alpha, sin_beta, sin_gamma = np.sin(angles_r)

    val = (cos_alpha * cos_beta - cos_gamma) / (sin_alpha * sin_beta)
    # Sometimes rounding errors result in values slightly > 1.
    val = abs_cap(val)
    gamma_star = np.arccos(val)

    vector_a = [a * sin_beta, 0.0, a * cos_beta]
    vector_b = [
        -b * sin_alpha * np.cos(gamma_star),
        b * sin_alpha * np.sin(gamma_star),
        b * cos_alpha,
    ]
    vector_c = [0.0, 0.0, float(c)]
    return np.array([vector_a, vector_b, vector_c])

def build_crystal(crystal_str, niggli=True, primitive=False, supercell=False):
    """Build crystal from cif string."""
    crystal = Structure.from_str(crystal_str, fmt='cif')
    if primitive:
        crystal = crystal.get_primitive_structure()
    if niggli:
        crystal = crystal.get_reduced_structure()
    canonical_crystal = Structure(
        lattice=Lattice.from_parameters(*crystal.lattice.parameters),
        species=crystal.species,
        coords=crystal.frac_coords,
        coords_are_cartesian=False,
    )
    return canonical_crystal

def get_ase_atoms(cif):
    crystal = build_crystal(cif)
    lattice = lattice_params_to_matrix(*crystal.lattice.abc, *crystal.lattice.angles)
    at = Atoms(scaled_positions=crystal.frac_coords,
               numbers=np.array(crystal.atomic_numbers),
               cell=lattice, pbc=True)
    return at

and then one can follow the instruction to build dataset objects for G-SchNet.
Use our benchmark metrics
A dictionary containing the following is all you need for evaluation:
frac_coords: fractional coordinates of each atom, shape (num_evals, N, 3)
atom_types: atomic number of each atom, shape (num_evals, N)
lengths: the lengths of the lattice, shape (num_evals, M, 3)
angles: the angles of the lattice, shape (num_evals, M, 3)
num_atoms: the number of atoms in each material, shape (num_evals, M)
Any crystal generative models would generate these quantities to be complete.
Our evaluation scripts for computing metrics are independent of CDVAE. One just need to save these quantities as a torch pickle file, and then run compute_metrics.py with that file as input. See https://github.com/txie-93/cdvae/blob/main/scripts/compute_metrics.py#L267 on how the saved crystals are loaded.
Hope this helps.

@kyonofx thank you! As I was browsing further, also noticed the README in the data directory. I appreciate the extra clarification here.

Our evaluation scripts for computing metrics are independent of CDVAE.

@kyonofx while the scripts are in separate files/folders from cdvae, there are import dependencies that trace back to CDVAE:
https://github.com/txie-93/cdvae/blob/f857f598d6f6cca5dc1ea0582d228f12dcc2c2ea/scripts/compute_metrics.py#L19-L21
https://github.com/txie-93/cdvae/blob/f857f598d6f6cca5dc1ea0582d228f12dcc2c2ea/scripts/eval_utils.py#L15-L18

@kyonofx I'm planning to expose these metrics in their own package plus additional metric(s). Would you recommend that I try to splice out the functionality or package CDVAE as a whole onto PyPI and Anaconda? #14

Hi,
I think it might be the easiest to splice out the evaluation code as they only compose a small fraction of the cdvae codebase.

separating it out is ☠

Note that this is mainly due to some metric(s) requiring predictions from a CDVAE submodel (i.e. property regressor).


Clean up dependencies pom.xml files

It sems that, when the rdf4j project was splitted into different (rdf4j, rdf4j-storage, rdf4j-tools...) subprojects, the pom.xml files inherited most of the dependencies of the old pom.xml, whether they are actually used or not (e.g. commons-codec, file-upload)
Benefit: it works
Drawback: poms are bigger, unsure of dependencies are actually used or not, and arguably harder to maintain/avoid the "dependency hell"

Related: #1467. I will need to re-shuffle and reorganize the main poms anyway, so I'll close this issue for now.


Where is the issue tracker for drone.io?

There is uservoice and the support email. This issue tracker is only for the open-source version of drone.

@anacrolix you can submit issues or feedback to https://drone.uservoice.com/forums/176976-feedback-for-drone-io
this repository is dedicated to the open source version of drone, which is a re-write of the drone service to deeply integrate with docker. This version will eventually replace the legacy codebase powering drone.io once we reach a more stable release, hopefully end of summer.


Clan event - only a portion of my XP is being calculated

Hi team,
our clan event started at 10:00 PM MT on 9/30.
I leveled up my thieving from about a level 36 to 56 from 10:00 PM 9/30 - 7:30ish PM 10/01
the clan event shows I only went up three skill levels during that period of time - and my chart only shows I made progress starting at around 4:00 am MT 10:01 - what is going on?
I leveled up to much more than what the clan event shows- is there anyway to check this?
everyone else’s scores appear to be accurate.
my OSRS username is ItsMeJess3
My clan: Clan Generous
Thanks,
Jess

Competition started at 10 PM MT (September 30th)
Your first "update" after the competition started wasn't until 5 AM MT (October 1st), which had you at 136,608 exp on the hiscores
Your latest "update" has you at 194,803 exp on the hiscores.

This means you've only gained 58,195 since the competition started. And this is what the competition page says, this is correct.

Your "start" exp is the first update AFTER the competition starts, and your "end" exp is the last update BEFORE it ends.

So although I started gaining XP for this even when it started - you’re saying that because I had been singed in before it started, and didn’t sign out until 7am - 9 hours after it started, this sign out technically counted as the first update?

What I’m saying is - what causes an update? Is it signing out? Because I didn’t play more after signing out at 7 - so I don’t know why you’re seeing I’ve gained 58k XP - I believe the XP I was at when the event started should be my starting XP - which should show I gained a lot more than 58k XP

What I’m saying is - what causes an update? Is it signing out?

When you logout, the hiscores update.
WOM uses the hiscores as the source of truth, so if the hiscores aren't yet updated (because you didn't logout), then we can't know what exp you have in-game. This is why we recommend ocompetition participants logout AND update themselves when the competition starts. So that their very first "update" within the competition, is accurate to their in-game exp.
Secondly, WOM doesn't just keep checking everyone's hiscores at all times, it needs to be told to check someone's hiscores, that's what an "update" is. It's the user telling WOM: "Hey, i've gained some exp since you've last seen me, please go check my hiscores and save the new stats"
There's a few ways you might be updated:

Clicking the "Update" button on player profiles
Clicking the "Update all" button on group profiles (only updates really outdated players, so not guaranteed to update you in particular)
Using the /update command in our discord bot
Using our API to request an update

And finally, WOM will try to update all players when the competition starts, but this is not guaranteed to be successful as it depends on peak times and the hiscores' behaving well, so it's advised to always baby-sit the beginning and ending of competitions to ensure participants were properly updated.

Working as intended, closing this.


All plugins and TS grammars are downloaded sequentially

I don't know if this is because I use Lix, but each time I rebuild my system, Nix firstly downloads sequentially all plugins & grammars, and only then starts to download other packages in parallel
You can reproduce it by building .#my-nvim at https://github.com/PerchunPak/nixos-dotfiles/commit/d56031f225ce5ae964a4b4e7018ec5d26a39a402 (I noticed this issue before the referenced commit as well, though don't know how long ago)

All plugins AND grammars?
If it were just grammars, it might be because of how I was handling the grammars with the bugs? I am hopeful that would be solved whenever your grammar PR goes through and I can go back to not aggregating them?
But the plugins too?
Ill have to check this out.
By the way I did at least fix the cache missing recently, if you dont use propagatedBuildInputs, it no longer misses the cache on neovim itself. So that should be nice at least, not building from source.

It might also be because it is a function that is called and has to be evaluated before the packages are added to your packages list, and the evaluator doesnt know how to treat that lazily and do it in a parallel manner? If so that fix would have to be in nix itself, or in your case, Lix.

So, yeah, basically, either your PR and my adjustment to match it solves the issue, or its an issue in the evaluator?

I think I have found the issue:

When the store path needs to be accessed, evaluation will be paused, the corresponding store object realised, and then evaluation resumed.
Since the Nix language evaluator is sequential, it only finds store paths to read from one at a time. While realisation is always parallel, in this case it cannot be done for all required store paths at once, and is therefore much slower than otherwise.

https://nix.dev/manual/nix/2.24/language/import-from-derivation

$ nix build .#my-nvim --option allow-import-from-derivation false --show-trace                                                                        39s
warning: input 'nixCats' has an override for a non-existent input 'nixpkgs'
error:
       … while evaluating 'strict' to select 'drvPath' on it
         at /builtin/derivation.nix:1:552:
       … while calling the 'derivationStrict' builtin
         at /builtin/derivation.nix:1:208:
       … while evaluating derivation 'neovim-0.10.2'
         whose name attribute is located at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'postBuild' of derivation 'neovim-0.10.2'
         at /nix/store/2z48234wwnnb12128k9wb9d6pqfdx36f-source/nix/builder/wrapper.nix:131:3:
          130|   # nixCats: modified to start with packagename instead of nvim to avoid collisions with multiple neovims
          131|   postBuild = lib.optionalString stdenv.isLinux ''
             |   ^
          132|     mkdir -p $out/share/applications

       … from call site
         at /nix/store/2z48234wwnnb12128k9wb9d6pqfdx36f-source/nix/builder/wrapper.nix:173:19:
          172|     export NVIM_RPLUGIN_MANIFEST=$out/rplugin.vim
          173|     makeWrapper ${lib.escapeShellArgs manifestWrapperArgs} ${wrapperArgsStr}
             |                   ^
          174|

       … while calling 'concatMapStringsSep'
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/strings.nix:232:5:
          231|     f:
          232|     list: concatStringsSep sep (map f list);
             |     ^
          233|

       … while calling the 'concatStringsSep' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/strings.nix:232:11:
          231|     f:
          232|     list: concatStringsSep sep (map f list);
             |           ^
          233|

       … while calling 'escapeShellArg'
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/strings.nix:1056:20:
         1055|   */
         1056|   escapeShellArg = arg:
             |                    ^
         1057|     let

       … while evaluating a branch condition
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/strings.nix:1060:7:
         1059|     in
         1060|       if match "[[:alnum:],._+:@%/-]+" string == null
             |       ^
         1061|       then "'${replaceStrings ["'"] ["'\\''"] string}'"

       … while calling the 'match' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/strings.nix:1060:10:
         1059|     in
         1060|       if match "[[:alnum:],._+:@%/-]+" string == null
             |          ^
         1061|       then "'${replaceStrings ["'"] ["'\\''"] string}'"

       … while evaluating the second argument passed to builtins.match

       … while calling the 'toString' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/strings.nix:1058:16:
         1057|     let
         1058|       string = toString arg;
             |                ^
         1059|     in

       … while calling the 'getAttr' builtin
         at /builtin/derivation.nix:1:500:
       … while calling the 'derivationStrict' builtin
         at /builtin/derivation.nix:1:208:
       … while evaluating derivation 'vim-pack-dir'
         whose name attribute is located at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'passAsFile' of derivation 'vim-pack-dir'
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/trivial-builders/default.nix:60:9:
           59|         inherit buildCommand name;
           60|         passAsFile = [ "buildCommand" ]
             |         ^
           61|           ++ (derivationArgs.passAsFile or [ ]);

       … while evaluating the attribute 'passAsFile'
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/buildenv/default.nix:87:5:
           86|     # XXX: The size is somewhat arbitrary
           87|     passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ];
             |     ^
           88|   }

       … while evaluating a branch condition
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/buildenv/default.nix:87:18:
           86|     # XXX: The size is somewhat arbitrary
           87|     passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ];
             |                  ^
           88|   }

       … in the argument of the not operator
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/buildenv/default.nix:87:48:
           86|     # XXX: The size is somewhat arbitrary
           87|     passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ];
             |                                                ^
           88|   }

       … while calling the 'lessThan' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/buildenv/default.nix:87:48:
           86|     # XXX: The size is somewhat arbitrary
           87|     passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ];
             |                                                ^
           88|   }

       … while calling the 'stringLength' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/buildenv/default.nix:87:21:
           86|     # XXX: The size is somewhat arbitrary
           87|     passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else [ ];
             |                     ^
           88|   }

       … while calling the 'toJSON' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/buildenv/default.nix:82:12:
           81|             nativeBuildInputs buildInputs;
           82|     pkgs = builtins.toJSON chosenOutputs;
             |            ^
           83|     extraPathsFrom = lib.optional includeClosures (writeClosure pathsForClosure);

       … while evaluating list element at index 0

       … while evaluating attribute 'paths'
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/buildenv/default.nix:57:5:
           56|   chosenOutputs = map (drv: {
           57|     paths =
             |     ^
           58|       # First add the usual output(s): respect if user has chosen explicitly,

       … while evaluating list element at index 0
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/buildenv/default.nix:57:5:
           56|   chosenOutputs = map (drv: {
           57|     paths =
             |     ^
           58|       # First add the usual output(s): respect if user has chosen explicitly,

       … while calling the 'getAttr' builtin
         at /builtin/derivation.nix:1:500:
       … while calling the 'derivationStrict' builtin
         at /builtin/derivation.nix:1:208:
       … while evaluating derivation 'packdir-start'
         whose name attribute is located at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'buildCommand' of derivation 'packdir-start'
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/trivial-builders/default.nix:59:17:
           58|         enableParallelBuilding = true;
           59|         inherit buildCommand name;
             |                 ^
           60|         passAsFile = [ "buildCommand" ]

       … while calling the 'concatStringsSep' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/trivial-builders/default.nix:549:9:
          548|       cd $out
          549|       ${lib.concatStrings linkCommands}
             |         ^
          550|     '';

       … from call site
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/trivial-builders/default.nix:534:22:
          533|
          534|       linkCommands = lib.mapAttrsToList
             |                      ^
          535|         (name: path: ''

       … while calling 'mapAttrsToList'
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/attrsets.nix:1095:5:
         1094|     f:
         1095|     attrs:
             |     ^
         1096|     map (name: f name attrs.${name}) (attrNames attrs);

       … while calling the 'map' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/attrsets.nix:1096:5:
         1095|     attrs:
         1096|     map (name: f name attrs.${name}) (attrNames attrs);
             |     ^
         1097|

       … while calling the 'attrNames' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/attrsets.nix:1096:39:
         1095|     attrs:
         1096|     map (name: f name attrs.${name}) (attrNames attrs);
             |                                       ^
         1097|

       … while evaluating a branch condition
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/trivial-builders/default.nix:529:9:
          528|       entries' =
          529|         if (lib.isAttrs entries) then entries
             |         ^
          530|         # We do this foldl to have last-wins semantics in case of repeated entries

       … while calling the 'isAttrs' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/pkgs/build-support/trivial-builders/default.nix:529:13:
          528|       entries' =
          529|         if (lib.isAttrs entries) then entries
             |             ^
          530|         # We do this foldl to have last-wins semantics in case of repeated entries

       … while calling the 'map' builtin
         at /nix/store/2z48234wwnnb12128k9wb9d6pqfdx36f-source/nix/builder/vim-pack-dir.nix:80:23:
           79|     let mkEntryFromDrv = drv: { name = "${prefix}/${lib.getName drv}"; path = drv; };
           80|     in linkFarm name (map mkEntryFromDrv drvs);
             |                       ^
           81|

       … while calling the 'filter' builtin
         at /nix/store/2z48234wwnnb12128k9wb9d6pqfdx36f-source/nix/builder/vim-pack-dir.nix:102:20:
          101|     # filter out all the grammars so we can group them up
          102|     startPlugins = grammarMatcher false allPlugins;
             |                    ^
          103|

       … while calling anonymous lambda
         at /nix/store/2z48234wwnnb12128k9wb9d6pqfdx36f-source/nix/builder/vim-pack-dir.nix:18:42:
           17|
           18|   grammarMatcher = yes: builtins.filter (drv: let
             |                                          ^
           19|     # if we get to split them up, we can include even if not a dir

       … in the argument of the not operator
         at /nix/store/2z48234wwnnb12128k9wb9d6pqfdx36f-source/nix/builder/vim-pack-dir.nix:23:37:
           22|     cond = ! isOldGrammarType && new drv || old drv;
           23|     match = if yes then cond else ! cond;
             |                                     ^
           24|   in

       … in the right operand of the OR (||) operator
         at /nix/store/2z48234wwnnb12128k9wb9d6pqfdx36f-source/nix/builder/vim-pack-dir.nix:22:42:
           21|     old = drv: lib.pathIsDirectory "${drv.outPath}/parser";
           22|     cond = ! isOldGrammarType && new drv || old drv;
             |                                          ^
           23|     match = if yes then cond else ! cond;

       … from call site
         at /nix/store/2z48234wwnnb12128k9wb9d6pqfdx36f-source/nix/builder/vim-pack-dir.nix:22:45:
           21|     old = drv: lib.pathIsDirectory "${drv.outPath}/parser";
           22|     cond = ! isOldGrammarType && new drv || old drv;
             |                                             ^
           23|     match = if yes then cond else ! cond;

       … while calling 'old'
         at /nix/store/2z48234wwnnb12128k9wb9d6pqfdx36f-source/nix/builder/vim-pack-dir.nix:21:11:
           20|     new = drv: builtins.pathExists "${drv.outPath}/parser";
           21|     old = drv: lib.pathIsDirectory "${drv.outPath}/parser";
             |           ^
           22|     cond = ! isOldGrammarType && new drv || old drv;

       … from call site
         at /nix/store/2z48234wwnnb12128k9wb9d6pqfdx36f-source/nix/builder/vim-pack-dir.nix:21:16:
           20|     new = drv: builtins.pathExists "${drv.outPath}/parser";
           21|     old = drv: lib.pathIsDirectory "${drv.outPath}/parser";
             |                ^
           22|     cond = ! isOldGrammarType && new drv || old drv;

       … while calling 'pathIsDirectory'
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/filesystem.nix:111:21:
          110|   */
          111|   pathIsDirectory = path:
             |                     ^
          112|     pathExists path && pathType path == "directory";

       … in the left operand of the AND (&&) operator
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/filesystem.nix:112:21:
          111|   pathIsDirectory = path:
          112|     pathExists path && pathType path == "directory";
             |                     ^
          113|

       … while calling the 'pathExists' builtin
         at /nix/store/6m6k8qywb1px8jdhai52bnszy77w5nhh-source/lib/filesystem.nix:112:5:
          111|   pathIsDirectory = path:
          112|     pathExists path && pathType path == "directory";
             |     ^
          113|

       … while realising the context of path '/nix/store/8g2pm567jn1kqmmr33dzcmwa2ysv8kc2-vimplugin-alpha-nvim-2024-09-30/parser'

       error: cannot build '/nix/store/fm8m7wy91krwxfcxb4099xr0zwa6cn4a-vimplugin-alpha-nvim-2024-09-30.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled

Also, if you're talking about https://github.com/NixOS/nixpkgs/pull/344849, it should not touch withAllGrammars users, only those who use custom grammars.

Oh! Wait! Youre right! Because that one PR overwrote the old one that copied the queries.
I guess that means I can make that update now then!
And, Ah.... Ok.
Hmmmmmm....
I will have to think about that....
I was using pathExists to check if an item was a grammar or not.

Do I go back to matching on the name? That feels so unfortunate though... I will have to find a new way to match on grammars.
It will take some time but hopefully I can come up with one, if not, then I suppose I will go back to matching on the name.

On the bright side, while this issue is a thing, fixing the cache missing on nvim itself a few days ago at least means that it will still be significantly faster than before, even with this.

Also, that is happening after stuff has been sorted, so it also only goes over the plugins and grammars that you actually include, so it wont cause evaluation of things in categories not included in the current package.
I really just dont want to go back to matching on the name though.... but they dont have any special attributes yet as far as I can tell.
But after your PR goes through I might be able to match on the presence of installQueries attribute in the derivation without causing a build?
So that might be a good method of approach?

Hmmmmm matching on the generated name would kinda have the same effect as checking for installQueries though tbh. Both things are set by that same function.... Whether I match on the name or the installQueries attribute, it would still require lazy.nvim users to use the withPlugins or withAllGrammars methods...
I can go back to matching on the name if I cant think of anything else in a few weeks or so?

Ehhhh its fine. Should be fixed.

please test with Lix though.

 Was me. I screwed up my own substitor settings an hour ago and forgot. Will fix and try again XD

nix build .\#my-nvim --option allow-import-from-derivation false --show-trace
warning: Git tree '/home/birdee/temp/PakNvim/nixos-dotfiles' is dirty
[1/22/24 buil

Ok, now that I am no longer ignoring the main nixos cache, this looks a lot better XD

Yaaay
Also, whoa it opens into ranger thats kinda cool


Share function definitions for with setup

Because with and setup define many variables, a large test
case could get really slow when compiling, as it would define
many variables in the same module body, causing some chunks
during compilation to become really slow.
To solve this, we store this code in anonymous functions and
reuse it throughout the test case.
As an example, this test suite goes from 50s to 3s to run on
my machine: https://github.com/limhoff-r7/slow-shouldi

Thanks for finding the issue and fixing it! :heart:


ClassCastException fix for LAN games

This change will fix the ClassCastException that was caused by the unchecked cast from PlayerEntity to ServerPlayerEntity which resulted in LAN games to a crash on the server side.

Most of these are simple changes and if you enable maintainer commits I could fix them for you

SoundManager is doesn't import PlayerEntity which results in an error

I am sorry, I forgot to copy the whole file.
I am new to Github, I don't know how to sync my files from Eclipse to Github.
I will add the missing import and remove the unused import.

Sorry for my mistakes, I haven't found out yet how to sync between Eclipse and GitHub.
But I think it should work now.

I am new to Github, I don't know how to sync my files from Eclipse to Github.

No worries, thanks for the PR!

The formatting thing is being weird so I'm going to go ahead and merge then fix the formatting


3.9.0: documentation build fails with cannot import name 'set_module' from 'numpy.core.overrides' error message

Looks like documentation build fails
+ /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v7.3.7

Traceback (most recent call last):
  File "/usr/lib64/python3.10/site-packages/numpy/__init__.py", line 130, in <module>
    from numpy.__config__ import show as show_config
  File "/usr/lib64/python3.10/site-packages/numpy/__config__.py", line 4, in <module>
    from numpy.core._multiarray_umath import (
  File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 74, in <module>
    from . import numeric
  File "/usr/lib64/python3.10/site-packages/numpy/core/numeric.py", line 27, in <module>
    from .overrides import set_array_function_like_doc, set_module
ImportError: cannot import name 'set_module' from 'numpy.core.overrides' (/usr/lib64/python3.10/site-packages/numpy/core/overrides.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/sphinx/config.py", line 509, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/home/tkloczko/rpmbuild/BUILD/mpl-sphinx-theme-3.9.0/docs/conf.py", line 4, in <module>
    import matplotlib  # noqa: F401
  File "/usr/lib64/python3.10/site-packages/matplotlib/__init__.py", line 156, in <module>
    import numpy
  File "/usr/lib64/python3.10/site-packages/numpy/__init__.py", line 135, in <module>
    raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
        its source directory; please exit the numpy source tree, and relaunch
        your python interpreter from there.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/sphinx/cmd/build.py", line 332, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
  File "/usr/lib/python3.10/site-packages/sphinx/application.py", line 211, in __init__
    self.config = Config.read(self.confdir, confoverrides or {}, self.tags)
  File "/usr/lib/python3.10/site-packages/sphinx/config.py", line 309, in read
    namespace = eval_config_file(filename, tags)
  File "/usr/lib/python3.10/site-packages/sphinx/config.py", line 522, in eval_config_file
    raise ConfigError(msg % traceback.format_exc()) from exc
sphinx.errors.ConfigError: There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib64/python3.10/site-packages/numpy/__init__.py", line 130, in <module>
    from numpy.__config__ import show as show_config
  File "/usr/lib64/python3.10/site-packages/numpy/__config__.py", line 4, in <module>
    from numpy.core._multiarray_umath import (
  File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 74, in <module>
    from . import numeric
  File "/usr/lib64/python3.10/site-packages/numpy/core/numeric.py", line 27, in <module>
    from .overrides import set_array_function_like_doc, set_module
ImportError: cannot import name 'set_module' from 'numpy.core.overrides' (/usr/lib64/python3.10/site-packages/numpy/core/overrides.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/sphinx/config.py", line 509, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/home/tkloczko/rpmbuild/BUILD/mpl-sphinx-theme-3.9.0/docs/conf.py", line 4, in <module>
    import matplotlib  # noqa: F401
  File "/usr/lib64/python3.10/site-packages/matplotlib/__init__.py", line 156, in <module>
    import numpy
  File "/usr/lib64/python3.10/site-packages/numpy/__init__.py", line 135, in <module>
    raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
        its source directory; please exit the numpy source tree, and relaunch
        your python interpreter from there.

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib64/python3.10/site-packages/numpy/__init__.py", line 130, in <module>
    from numpy.__config__ import show as show_config
  File "/usr/lib64/python3.10/site-packages/numpy/__config__.py", line 4, in <module>
    from numpy.core._multiarray_umath import (
  File "/usr/lib64/python3.10/site-packages/numpy/core/__init__.py", line 74, in <module>
    from . import numeric
  File "/usr/lib64/python3.10/site-packages/numpy/core/numeric.py", line 27, in <module>
    from .overrides import set_array_function_like_doc, set_module
ImportError: cannot import name 'set_module' from 'numpy.core.overrides' (/usr/lib64/python3.10/site-packages/numpy/core/overrides.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/sphinx/config.py", line 509, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/home/tkloczko/rpmbuild/BUILD/mpl-sphinx-theme-3.9.0/docs/conf.py", line 4, in <module>
    import matplotlib  # noqa: F401
  File "/usr/lib64/python3.10/site-packages/matplotlib/__init__.py", line 156, in <module>
    import numpy
  File "/usr/lib64/python3.10/site-packages/numpy/__init__.py", line 135, in <module>
    raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
        its source directory; please exit the numpy source tree, and relaunch
        your python interpreter from there.

List of installed modules in build env
Package                       Version
----------------------------- -----------
alabaster                     0.7.16
Babel                         2.15.0
build                         1.2.1
charset-normalizer            3.3.2
contourpy                     1.2.1
cycler                        0.12.1
defusedxml                    0.7.1
docutils                      0.20.1
exceptiongroup                1.1.3
fonttools                     4.51.0
idna                          3.7
imagesize                     1.4.1
importlib_metadata            7.1.0
iniconfig                     2.0.0
installer                     0.7.0
Jinja2                        3.1.4
kiwisolver                    1.4.5
MarkupSafe                    2.1.5
matplotlib                    3.8.4
numpy                         1.26.4
olefile                       0.47
packaging                     24.0
pillow                        10.3.0
pluggy                        1.4.0
Pygments                      2.18.0
pyparsing                     3.1.2
pyproject_hooks               1.0.0
pytest                        8.1.1
python-dateutil               2.9.0.post0
requests                      2.31.0
setuptools                    69.4.0
snowballstemmer               2.2.0
Sphinx                        7.3.7
sphinxcontrib-applehelp       1.0.8
sphinxcontrib-devhelp         1.0.6
sphinxcontrib-htmlhelp        2.0.5
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          1.0.7
sphinxcontrib-serializinghtml 1.1.10
tokenize_rt                   5.2.0
tomli                         2.0.1
urllib3                       2.2.1
wheel                         0.43.0
zipp                          3.18.2

Your numpy is broken; I don't know why you think this is something we can fix.


flet/client: rename main binary from flet to flet_client

Please Describe The Problem To Be Solved
I am one of the maintainers of this package in nixpkgs. IMO the packaging now is very complete. I was the one that added the client to nixpkgs but there is a small annoying issue: both the client and the python library expose the flet command.
(Optional): Suggest A Solution
Just rename the main binary of the client from flet to flet_client. I think it can be done changing that binary name in CMakeLists.txt. It would need to also be changed in the code so Python knows how to launch the client.
If you guys for some reason don't care, a Nix-only fix wouldn't be hard too. A mv in a postInstall phase and a change in meta.mainProgram would give the same results without risk of breakage in your side.

I'm going to do that for 0.24 or 0.25 release as part of #3163.
I suggest we name it flet_runner though. I don't like this old "Flet client" name, because it's no longer a client :)


image: fix for openssh-server installation

Purpose of pull request
This commit fixes a build warning/error that occurs when installing openssh-server. The build warning/error is below.
WARNING: emlinux-image-base-1.0-r0 do_rootfs_postprocess: Looks like you have ssh host keys in the image but did  not install "sshd-regen-keys". This image should not be  deployed more than once.
ERROR: emlinux-image-base-1.0-r0 do_rootfs_postprocess: Install the package or forcefully remove this check!

The warning and error are caused by a function in isar's commit 0f7ce73b1bf30da52b0cf7a8c9b1ebb7828b2684. To resolve them, it is necesarry to install sshd-regen-keys manually.
This commit will install it automatically when openssh-server is installed.
Build Test
added following line into conf/local.conf.
MACHINE = 'qemuarm64'
IMAGE_PREINSTALL:append = " openssh-server"

and build by bitbake.
$ bitbake emlinux-image-base

@hiromotai7
MACHINE = 'qemuarm64'

EMLinux support qemu-arm64 not qemuarm64. Please confirm it.

MACHINE = 'qemuarm64'

EMLinux support qemu-arm64 not qemuarm64. Please confirm it.

Right. fixed it.


Unexpected Behavior When Scanning Non-Existing and Latest Versions of npm Packages

Description:
I was playing around with Vet locally and encountered a couple of issues when scanning one of my npm libraries:

The latest version of the package is 1.0.2. However, when scanning with that version, no vulnerabilities or issues were detected, despite known security vulnerabilities. Ideally, when the latest version of a package is provided, it should run and display results in the CLI. Is this expected behavior? [fig:1]
When I tried scanning with version 11.0.0 (which doesn’t exist), the system suggested updating to 1.0.2, even though 11.0.0 is not available. Ideally, Vet should flag an invalid version as feedback. Shouldn’t it? [fig:2]

Steps to reproduce:

Run vet scan --purl<EMAIL_ADDRESS>Observe that no vulnerabilities are detected for a package with known security issues.
Run vet scan --purl<EMAIL_ADDRESS>Observe the incorrect suggestion for an update to 1.0.2.

Expected behavior:

When scanning with the latest version, results should be displayed in the CLI.
When scanning with a non-existent version, the system should raise feedback indicating the version is invalid.

Screenshots:

@AmalChandru Thanks for reporting this. Lets talk about [1] first.
I tried running
vet scan --purl<EMAIL_ADDRESS>--transitive --filter 'true'

This tells me the package and its transitive dependencies (upto a certain depth). I don't see any vulnerabilities reported by vet. Can you share how you identified "known vulnerabilities" in this version of the package?
When I run the same command but with our default policy, I do see some violations:
vet scan --purl<EMAIL_ADDRESS>--transitive --filter-suite ./samples/filter-suites/fs-generic.yml

At this point, I am not sure how to check the known vulnerabilities for<EMAIL_ADDRESS>because I don't see anything on deps.dev or osv.dev. Can you help?

I believe my choice of the term "known vulnerabilities" might have caused some confusion. What I intended to highlight is the major version drift in the direct dependency (can pose a security vulnerability), which is already being detected by Vet. As shown in Fig. 2, it's indicating that one library is out of date due to a major version drift in the direct dependencies.

@AmalChandru I believe the bug related to major version drift especially where it is asking to update 11.0.0 (non-existent) version to 1.0.2 (latest known) is somewhere here:
https://github.com/safedep/vet/blob/main/pkg/reporter/summary.go#L447
This needs some analysis on how to handle this case.

Thanks for the pointer @abhisek 🙏
Currently, the packageUpdateVersionForRemediationAdvicefunction uses semver.Diff to check for differences between the user-specified version and the current version. However, this approach can produce misleading outputs because it only checks for differences and does not validate whether the user-specified version exists or is valid. If the versions differ, it always returns the latest version (as shown in the printed console statements).
To improve this, what about adding a check to determine if the user-specified version is greater than the current version ?  If it is, we can notify the user that the provided version is invalid or implement an alternative feedback mechanism.
Here’s an example of how this could be implemented:
// Check if the user input version is greater than the current version
userVersion, _ := semver.NewVersion(pkg.PackageDetails.Version)
currentVersion, _ := semver.NewVersion(insightsCurrentVersion)

if userVersion.GreaterThan(currentVersion) {
    fmt.Printf("Provided version %s is greater than the current version %s.\n", pkg.PackageDetails.Version, insightsCurrentVersion)
    return "Provided version is not valid."
}

@AmalChandru How about change UPDATE TO column name to LATEST KNOWN? This way we are using a more correct naming because "Latest Known" is really what is coming from the backend. This way the table message will be more clear and specific. What do you think?

@abhisek Addressing the column naming first makes sense as a foundational step before tackling the broader version-handling logic.  I'll go ahead and raise a PR to update the column name.


chromiumWrapper : Flash not found, garbage collected?

'Shockwave Flash has crashed' appears on the top whenever I visit almost any website, including github, I have 'enablePepperFlash = true;' set in my configuration.nix and it was working as of 3 weeks ago until I updated to the latest git HEAD yesterday

This should have been addressed by 9343f6f4612301f9954ada94252701a2304c271c.


GROOVY-9591: no error for dynamic variable in closure in static context

https://issues.apache.org/jira/browse/GROOVY-9591

Merged. Thanks.


CUBLAS_STATUS_NOT_INITIALIZED

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

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version: tf-nightly
Python version: 3.8.5
Installed using virtualenv? pip? conda?: conda
Bazel version (if compiling from source): n/a
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.1 / 7.6.5
GPU model and memory: GeFroce 2080 Ti (X2)

Describe the problem
I'm struggling to get off the ground here with multi-gpu tensorflow.  I've eventually gotten stuck with"cublas not initialized."  Thank you for having a look.
Provide the exact sequence of commands / steps that you executed before running into the problem
print("Num GPUs Available: ", len(tf.config.experimental.list_physical_devices('GPU')))
gpus = tf.config.experimental.list_physical_devices('GPU')
if gpus:
Create 2 virtual GPUs with 1GB memory each
try:
tf.config.experimental.set_virtual_device_configuration(
gpus[0],
[tf.config.experimental.VirtualDeviceConfiguration(memory_limit=1024),
tf.config.experimental.VirtualDeviceConfiguration(memory_limit=1024)])
logical_gpus = tf.config.experimental.list_logical_devices('GPU')
print(len(gpus), "Physical GPU,", len(logical_gpus), "Logical GPUs")
except RuntimeError as e:
# Virtual devices must be set before GPUs have been initialized
print(e)
mirrored_strategy = tf.distribute.MirroredStrategy()
(x_train, y_train), (x_test, y_test) = fashion_mnist.load_data()
x_train = x_train[:,:,:,np.newaxis] / 255.0
x_test = x_test[:,:,:,np.newaxis] / 255.0
y_train = to_categorical(y_train)
y_test = to_categorical(y_test)
with mirrored_strategy.scope():
model4 = Sequential()
model4.add(Conv2D(filters=64, kernel_size=2, padding='same', activation='relu', input_shape=(28,28, 1)))
model4.add(Conv2D(filters=64, kernel_size=2))
model4.add(MaxPooling2D(pool_size=2))
model4.add(Flatten())
model4.add(Dense(10, activation='softmax'))
model4.compile(loss='categorical_crossentropy', optimizer='adam', metrics=['accuracy'])
model4.summary()
model4.fit(x_train, y_train, epochs=2, validation_split=0.1)
_, test_acc = model4.evaluate(x_test, y_test)
print(test_acc)
model4.save_weights('cnn.h5')
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
(base_gpu) C:\Users\Mo\BTC>python test.py
2020-08-12 23:09:37.482332: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-12 23:09:40.326028: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library nvcuda.dll
2020-08-12 23:09:40.483740: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:67:00.0 name: GeForce RTX 2080 Ti computeCapability: 7.5
coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 11.00GiB deviceMemoryBandwidth: 573.69GiB/s
2020-08-12 23:09:40.497852: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 1 with properties:
pciBusID: 0000:68:00.0 name: GeForce RTX 2080 Ti computeCapability: 7.5
coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 11.00GiB deviceMemoryBandwidth: 573.69GiB/s
2020-08-12 23:09:40.515569: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-12 23:09:40.530217: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-12 23:09:40.545759: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-12 23:09:40.552588: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-12 23:09:40.566705: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-12 23:09:40.574656: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-12 23:09:40.597844: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2020-08-12 23:09:40.602568: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0, 1
Num GPUs Available:  2
2020-08-12 23:09:40.606521: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-08-12 23:09:40.672282: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x227a512f230 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-08-12 23:09:40.700825: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-08-12 23:09:41.131362: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:67:00.0 name: GeForce RTX 2080 Ti computeCapability: 7.5
coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 11.00GiB deviceMemoryBandwidth: 573.69GiB/s
2020-08-12 23:09:41.146897: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 1 with properties:
pciBusID: 0000:68:00.0 name: GeForce RTX 2080 Ti computeCapability: 7.5
coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 11.00GiB deviceMemoryBandwidth: 573.69GiB/s
2020-08-12 23:09:41.183979: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-12 23:09:41.228784: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-12 23:09:41.251706: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-12 23:09:41.259688: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-12 23:09:41.303717: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-12 23:09:41.328316: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-12 23:09:41.353029: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2020-08-12 23:09:41.379921: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0, 1
2020-08-12 23:09:42.687780: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-12 23:09:42.695670: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0 1
2020-08-12 23:09:42.700946: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N N
2020-08-12 23:09:42.723277: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 1:   N N
2020-08-12 23:09:42.747771: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1024 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2080 Ti, pci bus id: 0000:67:00.0, compute capability: 7.5)
2020-08-12 23:09:42.782663: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 1024 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2080 Ti, pci bus id: 0000:67:00.0, compute capability: 7.5)
2020-08-12 23:09:42.814118: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:2 with 8582 MB memory) -> physical GPU (device: 1, name: GeForce RTX 2080 Ti, pci bus id: 0000:68:00.0, compute capability: 7.5)
2020-08-12 23:09:42.864267: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x22831d21960 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-08-12 23:09:42.889142: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce RTX 2080 Ti, Compute Capability 7.5
2020-08-12 23:09:42.914052: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (1): GeForce RTX 2080 Ti, Compute Capability 7.5
2 Physical GPU, 3 Logical GPUs
WARNING:tensorflow:NCCL is not supported when using virtual GPUs, fallingback to reduction to one device
Model: "sequential"

Layer (type)                 Output Shape              Param #
conv2d (Conv2D)              (None, 28, 28, 64)        320

conv2d_1 (Conv2D)            (None, 27, 27, 64)        16448

max_pooling2d (MaxPooling2D) (None, 13, 13, 64)        0

flatten (Flatten)            (None, 10816)             0

dense (Dense)                (None, 10)                108170
Total params: 124,938
Trainable params: 124,938
Non-trainable params: 0

2020-08-12 23:09:44.300510: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:118] None of the MLIR optimization passes are enabled (registered 1)
Epoch 1/2
2020-08-12 23:09:47.355213: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-12 23:09:47.364005: E tensorflow/stream_executor/cuda/cuda_blas.cc:225] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.387331: E tensorflow/stream_executor/cuda/cuda_blas.cc:225] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.431316: E tensorflow/stream_executor/cuda/cuda_blas.cc:225] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.473173: E tensorflow/stream_executor/cuda/cuda_blas.cc:225] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.491439: E tensorflow/stream_executor/cuda/cuda_blas.cc:225] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.499352: E tensorflow/stream_executor/cuda/cuda_blas.cc:225] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.539511: E tensorflow/stream_executor/cuda/cuda_blas.cc:225] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.569205: E tensorflow/stream_executor/cuda/cuda_blas.cc:225] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.593318: E tensorflow/stream_executor/cuda/cuda_blas.cc:225] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.605302: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2020-08-12 23:09:47.643972: E tensorflow/stream_executor/cuda/cuda_dnn.cc:325] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.643972: E tensorflow/stream_executor/cuda/cuda_dnn.cc:325] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.673588: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Error retrieving driver version: Unimplemented: kernel reported driver version not implemented on Windows
2020-08-12 23:09:47.649853: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Error retrieving driver version: Unimplemented: kernel reported driver version not implemented on Windows
2020-08-12 23:09:47.700174: E tensorflow/stream_executor/cuda/cuda_dnn.cc:325] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.723925: E tensorflow/stream_executor/cuda/cuda_dnn.cc:325] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.746358: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Error retrieving driver version: Unimplemented: kernel reported driver version not implemented on Windows
2020-08-12 23:09:47.769343: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Error retrieving driver version: Unimplemented: kernel reported driver version not implemented on Windows
2020-08-12 23:09:47.819798: E tensorflow/stream_executor/cuda/cuda_dnn.cc:325] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.844975: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Error retrieving driver version: Unimplemented: kernel reported driver version not implemented on Windows
2020-08-12 23:09:47.870709: E tensorflow/stream_executor/cuda/cuda_dnn.cc:325] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED
2020-08-12 23:09:47.880941: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Error retrieving driver version: Unimplemented: kernel reported driver version not implemented on Windows
Traceback (most recent call last):
File "test.py", line 55, in
model4.fit(x_train, y_train, epochs=2, validation_split=0.1)
File "C:\Users\Mo\anaconda3\envs\base_gpu\lib\site-packages\tensorflow\python\keras\engine\training.py", line 103, in _method_wrapper
return method(self, *args, **kwargs)
File "C:\Users\Mo\anaconda3\envs\base_gpu\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1102, in fit
tmp_logs = self.train_function(iterator)
File "C:\Users\Mo\anaconda3\envs\base_gpu\lib\site-packages\tensorflow\python\eager\def_function.py", line 787, in call
result = self._call(*args, **kwds)
File "C:\Users\Mo\anaconda3\envs\base_gpu\lib\site-packages\tensorflow\python\eager\def_function.py", line 847, in _call
return self._stateless_fn(*args, **kwds)
File "C:\Users\Mo\anaconda3\envs\base_gpu\lib\site-packages\tensorflow\python\eager\function.py", line 2922, in call
return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
File "C:\Users\Mo\anaconda3\envs\base_gpu\lib\site-packages\tensorflow\python\eager\function.py", line 1853, in _filtered_call
return self._call_flat(
File "C:\Users\Mo\anaconda3\envs\base_gpu\lib\site-packages\tensorflow\python\eager\function.py", line 1933, in _call_flat
return self._build_call_outputs(self._inference_function.call(
File "C:\Users\Mo\anaconda3\envs\base_gpu\lib\site-packages\tensorflow\python\eager\function.py", line 552, in call
outputs = execute.execute(
File "C:\Users\Mo\anaconda3\envs\base_gpu\lib\site-packages\tensorflow\python\eager\execute.py", line 59, in quick_execute
tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.UnknownError: 4 root error(s) found.
(0) Unknown:  Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node replica_2/sequential/conv2d/Conv2D (defined at C:\Users\Mo\anaconda3\envs\base_gpu\lib\threading.py:932) ]]
[[div_no_nan_1/ReadVariableOp_4/_88]]
(1) Unknown:  Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node replica_2/sequential/conv2d/Conv2D (defined at C:\Users\Mo\anaconda3\envs\base_gpu\lib\threading.py:932) ]]
(2) Unknown:  Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node replica_2/sequential/conv2d/Conv2D (defined at C:\Users\Mo\anaconda3\envs\base_gpu\lib\threading.py:932) ]]
[[gradient_tape/replica_1/sequential/conv2d/BiasAdd/BiasAddGrad/_144]]
(3) Unknown:  Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node replica_2/sequential/conv2d/Conv2D (defined at C:\Users\Mo\anaconda3\envs\base_gpu\lib\threading.py:932) ]]
[[AddN_2/_132]]
0 successful operations.
0 derived errors ignored. [Op:__inference_train_function_3014]

@chocolate-skyr
Can you see the issues with similar error #35029, #9489 and see if it helps you.Thanks!

Thank you.  What ended up working fixing my issue was:
reinstalling python with conda which downgraded the cuda toolkit / cudnn to appropriate versions

@chocolate-skyr
Glad to know your issue was resolved.Please, close this thread as your issue was resolved. Thanks!