Win 11 support

Hello, I tried to contact you on LinkedIn but couldn't reach you. After setting up all the files, I encountered this error. After some research, I realized that the script seems to only work on UNIX systems. Is it possible to add support for Windows systems, please?
C:\Users\Solo\telegram-discord-bridge>python forwarder.py --start
Traceback (most recent call last):
  File "C:\Users\Solo\telegram-discord-bridge\forwarder.py", line 326, in <module>
    controller(__start, __stop, __background)
  File "C:\Users\Solo\telegram-discord-bridge\forwarder.py", line 295, in controller
    start_bridge(loop)
  File "C:\Users\Solo\telegram-discord-bridge\forwarder.py", line 212, in start_bridge
    event_loop.run_until_complete(main())
  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
    return future.result()
  File "C:\Users\Solo\telegram-discord-bridge\forwarder.py", line 255, in main
    clients = await init_clients()
  File "C:\Users\Solo\telegram-discord-bridge\forwarder.py", line 164, in init_clients
    event_loop.add_signal_handler(
  File "C:\Program Files\Python310\lib\asyncio\events.py", line 553, in add_signal_handler
    raise NotImplementedError
NotImplementedError

https://stackoverflow.com/questions/58014623/python-asyncio-notimplementederror

The usage on Windows might have some limitations, but you can follow the progress from this branch.
I'll providing instructions also to run it in Docker.


cannot boot this firmware

Hello,
The image cannot be booted, the device is in a boot loop. Any idea?
LG

@heradon
What device do you upload code to?
Please also share config you're using to upload
Boot logs will be helpful as well


[BUG] Not responsive

Description

I would like to make it responsive. It is not all responsive in mobile view
Screenshots
No response
Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

Yes surely. Please assign this issue to me

Fixed the responsiveness. Creating a pr

@ShwetKhatri2001 please check https://github.com/ShwetKhatri2001/AR-Webstore/pull/122


Sync eng/common directory with azure-sdk-tools for PR 3860

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/3860  See eng/common workflow

The links that are failing verification are not introduced by this PR. Going to override and merge.


New feature: bitcoin rate

λbitcoin gives the current conversion rate bitcoin <-> usd.

A public REST API to  is available at https://api.cryptowat.ch/
Usage example:
https://api.cryptowat.ch/markets/bitfinex/btcusd/price
returns the following JSON data structure:
{"result":{"price":8048.9},"allowance":{"cost":939943,"remaining":7999060057}}

Done in 23e01a3c5d071d1ec6fbefb22c47f7677243f76e


[Translation ja] src/content/ja/fundamentals/design-and-ux/ux-basics/index.md

Check out a review request at GitLocalize

@googlebot I consent

@petele this translation is good to merege.

:tada: This has been pushed live to https://developers.google.com/web/


Elasticsearch 5.4

Hi,
I'm currently trying to use elasticsearch-odm with elasticsearch 5.4.0 but the ODM doesn't seem compatible with this version.  Do you plan on upgrading the ODM ?
thank you

Hi,
Just wondering if theres any traction on this or .. should we fork the project and try and add support?
/Stephen.

If it can help, i have a version working on Elasticsearch 5.x here :
https://github.com/bloublou2014/elasticsearch-odm/tree/es-5.x

@bloublou2014 - You should open a PR with your 5.X updates!

Since each Elasticsearch version requires some slight modifications i can't make a PR and break project working with previous versions of ES and with zackiles repo.
I created elasticsearch-odm-2 and elasticsearch-odm-5 on npm to go further.
This repo is not working with es 2.x and 5.x, Zackiles probably does not work anymore on this topic.
There is also other forks with es5.x.

Very sound reasoning - I've been using elasticsearch-odm-5 since yesterday and it's fantastic :) Thanks for all your hard work!


Refactor Tradfri base class

Description:
This is a continuation of the refactoring of the Tradfri library.
This PR refactors the new Tradfri base class into one class that will be the common denominator for devices and groups and one class that will be inherited by devices (cover, light, sensor, switch).
Related issue (if applicable): relates to #26863
Related issue (if applicable): fixes #
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

@MartinHjelmare had to move one of the attributes up to the base class


Fell out of stackage

It seems that text-icu fell out of stackage nightly: https://github.com/fpco/stackage/blob/master/build-constraints.yaml It would be nice to have it back in.

text-icu is in nightly and lts at present, so this can probably be closed now.


Calibration data for test data

Are you using the calibration parameters for test data too, like how you used for point cloud generation? < generate_lidar >
Also , could you give an idea as to what the 'Tr_velo_to_cam' parameter is ? <kitti_util >

Thank You.

Hi,

Yes. We use the calibration files inside the testing folder to generate test point clouds. You can simply modify the calib_dir.

This is the projection matrix from velodyne to camera coordinate.

@mileyan , thank you for your reply.
I understand that the calibration file is generated for individual images of Kitti. Is it possible for an alternative to these calibration files,or a way for generating these for our custom data as well.
Thank You

Yes, you can generate the calibration files for your custom data. You can try to use this tool http://www.cvlibs.net/software/calibration/ .

Yes, you can generate the calibration files for your custom data. You can try to use this tool http://www.cvlibs.net/software/calibration/ .

Hi, that link seems to be dead. Did you keep that tool on your local and could you share?
I have searched for a while but i cannot find any breakthroughs...

Yes, you can generate the calibration files for your custom data. You can try to use this tool http://www.cvlibs.net/software/calibration/ .

Hi, that link seems to be dead. Did you keep that tool on your local and could you share? I have searched for a while but i cannot find any breakthroughs...
EDIT: How can I get P2, R0_rect and Tr_velo_to_cam matrices?

have you slove this problem？


App chooses wrong servant position to cast a skill on

I have a 3 turn farming set up with waver, a clasic one, but not only waver 1st skill but also suit NP up skill is casted onto the servant on the 3rd possition when is supposed to be casted onto the servant on 2nd possition.
I'm using a samgsung galaxy A42 5G

https://github.com/Fate-Grand-Automata/FGA/wiki/Troubleshooting#uses-skills-on-wrong-servant-or-doesnt-use-skills-at-all


We never trigger component: Remove those events

@jonmv or @mpolden please review

Not sure this is 100% true. I think FailureRedeployer can still end up triggering component if it's considered dead.
I thought about throwing (or logging) if something triggers component a few weeks ago. Maybe we should do that now.

Yes, I think this could happen and that this fixes it:
Retried jobs isRunning for too long, and:
public boolean isRunning(Instant timeoutLimit) {
    if ( ! lastTriggered.isPresent()) return false;

Right. LGTM then (except the typo) :-)


Enable messages to be transferred with multiple frames via a specialized Writer

A call such as WebSocket.PipedMessage(bool isString) would return a Writer-inherited class to which one can pipe data to. To ensure the message gets terminated, all streams will need to have a new OnEnd event.

A call such as WebSocket.PipedMessage(bool isString) would return a Writer-inherited class to which one can pipe data to. To ensure the message gets terminated, all streams will need to have a new OnEnd event.

Done, but only for binary messages, and it should suffice.


Inconsistent footer font size in Chrome for Android

This is caused by Chrome for Android's Font Boosting and can be disabled by setting the CSS max-height: 1000000px on the footer element.

Fixed in v1.0.1.


pull request for e2e test at 01/31/2017 21:15:10

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


EXOActiveSyncDeviceAccessRule

Pull Request (PR) description
Add DSC resource EXOActiveSyncDeviceAccessRule
This Pull Request (PR) fixes the following issues

This change is

Codecov Report

Merging #382 into Dev will increase coverage by 0.59%.
The diff coverage is 97.77%.

@@            Coverage Diff             @@
##              Dev     #382      +/-   ##
==========================================
+ Coverage   89.72%   90.31%   +0.59%
==========================================
  Files          83       92       +9
  Lines        8807     9924    +1117
  Branches       10       10
==========================================
+ Hits         7902     8963    +1061
- Misses        895      951      +56
  Partials       10       10

Impacted Files
Coverage Δ

...AccessRule/MSFT_EXOActiveSyncDeviceAccessRule.psm1
97.77% <97.77%> (ø)

...s/MSFT_EXOSharingPolicy/MSFT_EXOSharingPolicy.psm1
97.82% <0%> (ø)

...esOrganization/MSFT_EXOOnPremisesOrganization.psm1
98.11% <0%> (ø)

...AvailabilityConfig/MSFT_EXOAvailabilityConfig.psm1
89.47% <0%> (ø)

...FT_EXOPolicyTipConfig/MSFT_EXOPolicyTipConfig.psm1
97.59% <0%> (ø)

...Relationship/MSFT_EXOOrganizationRelationship.psm1
96.12% <0%> (ø)

...ces/MSFT_EXORemoteDomain/MSFT_EXORemoteDomain.psm1
75.19% <0%> (ø)

...EmailAddressPolicy/MSFT_EXOEmailAddressPolicy.psm1
97.97% <0%> (ø)

..._EXOOwaMailboxPolicy/MSFT_EXOOwaMailboxPolicy.psm1
99.34% <0%> (ø)

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 95d48f5...d50261b. Read the comment docs.


Support multiple instances

Hello,
We are running multiple instances of Neo4j and use them in a NestJs application. We perform our migrations on application bootstrap with the help of Morpheus4j.
Hence, we are wondering if there is a way to apply the migrations to all instances which are loaded in the application - each instance is a separate host.
Thanks in advance,
Kiril

Kiril, that's something that you should be able to achieve with NestJs itself. I need to think over on how to make the config something that you can inject multiple times into the service. Something like this:
import { Injectable, Module } from '@nestjs/common';
import { MorpheusModule, MorpheusService } from 'morpheus4j';
import { ConfigService, ConfigModule } from '@nestjs/config';

@Injectable()
export class CustomMigrationService {
  constructor(
    private readonly morpheusService: MorpheusService,
    private readonly configService: ConfigService,
  ) {}

  async onApplicationBootstrap() {
    const configs = [
      {
        scheme: this.configService.get('DB1_SCHEME'),
        host: this.configService.get('DB1_HOST'),
        port: this.configService.get('DB1_PORT'),
        username: this.configService.get('DB1_USERNAME'),
        password: this.configService.get('DB1_PASSWORD'),
        migrationsPath: './neo4j/db1/migrations',
      },
      {
        scheme: this.configService.get('DB2_SCHEME'),
        host: this.configService.get('DB2_HOST'),
        port: this.configService.get('DB2_PORT'),
        username: this.configService.get('DB2_USERNAME'),
        password: this.configService.get('DB2_PASSWORD'),
        migrationsPath: './neo4j/db2/migrations',
      },
    ];

    for (const config of configs) {
      await this.morpheusService.runMigrationsFor(config);
    }
  }
}

@Module({
  imports: [
    ConfigModule.forRoot(),
    MorpheusModule,
  ],
  providers: [CustomMigrationService],
})
export class DbModule {}

This way you can define your own service and execute the migrations for each config that you have.
Again, in order to do this I need to do some refactoring, so I'll think it over.

Hello again,
I had pretty much the same vision. It would be very neat to have these configs as an array. Thanks for considering it!

@ksmv-7 Do you mind testing the feature from the linked branch? I exposed the Morpheus service and updated the NestJs example with some comments and an extra example. Let me know how it goes.

I pushed another making the lazy module optional.
Also, your code should look like this:
Neo4jModule.forRootAsync({
    imports: [MorpheusModule],
    inject: [MorpheusService],
    useFactory: async (morpheusService: MorpheusService): Promise<Neo4jInstance[]> => {
      const neo4jInstanceManager = Neo4jInstancesManager.getInstance();
      const neo4jInstances = await neo4jInstanceManager.getDbInstances();
      const instancesAndDrivers = await createDrivers(neo4jInstances);
      for (const instance of neo4jInstances) {
        delete instance.databaseType
        delete instance.database
        await morpheusService.runMigrationsFor(instance);
      }
      return Object.values(instancesAndDrivers).map((pair, index) => ({
        ...neo4jInstances[index],
        pair,
      }));
    },
  })

No need to execute MorpheusModule.registerAsync since you are going to use the MorpheusService by yourself.

@marianozunino Hi again, sorry I didn't have the chance to test it again until now.
It is working amazing.
Would it be just possible to change the
public async runMigrationsFor(config: Neo4jConfig): Promise<void> {
    ConfigLoader.validateConfig(config);
    this.logger.debug(
      'Running migrations for config ' + JSON.stringify(config),
    );
    await this.executeMigrations(config);
  }

to
public async runMigrationsFor(config: Neo4jConfig): Promise<void> {
    ConfigLoader.validateConfig(config);
    this.logger.debug(
      'Running migrations for config ' + JSON.stringify(config.database),
    );
    await this.executeMigrations(config);
  }

for security reasons? This way people will now on which database it is executed without logging the password.
Again, thank you very much!


merge package template from arlac77/npm-package-template

Updated standard to latest version

Coverage remained the same at 76.389% when pulling f613d85206866727b965dbf9e51dcd2a79e5efa7 on template-sync-1 into 1c72b3da31344346c2631ba7bf2127afe8c11a09 on master.

Coverage remained the same at 76.389% when pulling f613d85206866727b965dbf9e51dcd2a79e5efa7 on template-sync-1 into 1c72b3da31344346c2631ba7bf2127afe8c11a09 on master.

Codecov Report

Merging #77 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #77   +/-   ##
=======================================
  Coverage   76.38%   76.38%
=======================================
  Files          13       13
  Lines          72       72
=======================================
  Hits           55       55
  Misses         17       17

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 1c72b3d...f613d85. Read the comment docs.


Cant filter on tags

Running: python cloudmapper.py prepare --account main --tags tagkey=tagvalue
I'm running this within a venv and it ends up building data with 0 nodes and then erroring out
(File "_pyjq.pyx", line 209, in _pyjq.Script.all (_pyjq.c:2561)
_pyjq.ScriptRuntimeError: Cannot iterate over null (null)) - presumably because there are no nodes.
The tag is used though so it should populate some resources - i have tried multiple ways of formatting the command with the same results.

I'm sorry but I am not able to continue maintaining and supporting the network visualization functionality of CloudMapper.

I'm closing this issue as the network diagram functionality of CloudMapper is no longer being maintained.  Other features of CloudMapper, such as the audit functionality, is still maintained. If someone is interested in maintaining the network diagram functionality they can look at the issues tagged unmaintained_functionality for all the issues related to this that have been closed as they will unfortunately not be worked on by me.


Submenus possible?

There is no word about submenus - are they possible with the current code?

The page has been remove, where could I find it now?

I think it got removed since dropdown menus are currently implemented in themes, Antimatter and other ones as well.
E.g. https://github.com/getgrav/grav-theme-antimatter#dropdown-menu

would be great could create custom menus like this

menu:
    - text: menu
      url: https://github.com/getgrav/grav
       - icon: submenu here
         url: http://twitter.com/getgrav

is there any way for achieve this? thanks

`{% set current_parent = page.parent.parent.title %}
{% set options = { items: {'@page': '/' ~ current_parent|lower}} %}
{% set my_collection = page.collection(options) %}

{{ current_parent }}

    {% for p in my_collection %}
    {% set current_page = (page.parent.title or p.menu) ? 'active' : '' %}

        {{ p.menu }}

    {% endfor %}

`


[UI] Next 20 records button not loading the last N records (with N less than 20)

Thanks,
How can I reproduce it? I've tested several query filters with results between 21 and 39 and I always can fetch all data using next button

Closing this as I can't reproduce it. Might be related to my connection issues that day


Add github integration

Description
Add GitHub integration as doc providing information about the configuration and usage.

https://github.com/convisoappsec/conviso-docs/pull/400


fix(docz-core): extend base config instead of overwriting user config

Description
Some of the users configuration gets overwritten by the default ocnfig.
Extended description over here: https://github.com/pedronauck/docz/issues/935#issuecomment-524492223

Thanks for this pull request @axe312ger,
Could you please close this PR and open a new one to the dev branch ?

Sure :)


chore(flutter_test): updated 'matchesGoldenFile' documentation

This is a follow-up after a discussion in this PR.
Closes #95733
I have made a change in the flutter_test package but it's not a breaking one, it's just documentation.
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on [Discord].

test-exempt: only affects comments
Please do make sure to check what it ends up looking like once this lands, sometimes dartdoc's markdown is finicky.

@Piinks @goderbauer may you get the chance to review this too please?


File changes missed after TeamCity Swabra removes entire checkout directory on Windows

In one build we've seen Gradle fail to compile a subproject (:build-agent-maven-test-distribution:compileJava) because it ended up compiling against outdated version of classes for one of the dependency subprojects (:test-distribution-client).
This is a serious issue as it affects build reliability. Here's the result of a very long investigation about how that happened:

We ended up with the wrong classes because we loaded the results for :test-distribution-client:compileJava with the wrong cache key (3be04def081300037cfdc35044441cae) – (scan link).
The cache key matched the cache key (correctly) calculated by a previous build on the same daemon that was actually compiling against the earlier version of the source code.
In the failing build we used the same (but not incorrect) cache key because Gradle believed that the sources were unchanged compared to the previous build.
This happened because we did not get notifications when the new version of the source code was checked out by Git.

So how did we miss these notifications?
It turns out that we've been using a TeamCity plugin called Swabra in that specific build. The purpose of this plugin seems to be to restore build checkout directories to their original state before a new build is started. Swabra does two strange things.
First, on Windows, Swabra uses cmd.exe /c rd /s /q <directory> to delete stuff that actually results in files deleted to be reported via their short paths, even on NTFS. We might need to follow up on this, but it ended up being a red herring wrt this issue.
Secondly, and this will be important, the previous build of the same project on the same machine failed to check out from Git. Most probably because there was a forced push to the PR or something. The assumption is that this circumstance resulted in Swabra losing track of things, and deleting the checkout directory:
17:29:20 Swabra
17:29:20   Checkout directory state is unknown. Need a clean checkout directory snapshot - forcing clean checkout
17:29:20 Clearing temporary directory: C:\tcagent1\temp\buildTmp
17:29:20 Failed to delete file: C:\tcagent1\temp\buildTmp\hsperfdata_tcagent1\10968
17:29:20 Failed to delete file: C:\tcagent1\temp\buildTmp\hsperfdata_tcagent1\15552
17:29:20 Failed to delete file: C:\tcagent1\temp\buildTmp\hsperfdata_tcagent1\4332
17:29:20 Unable to cleanup build temporary directory: C:\tcagent1\temp\buildTmp

https://builds.gradle.org/buildConfiguration/Enterprise_Master_Component_MavenTestDistributionExtension_CrossVersion_GroupRecentWindows/45017572?buildTab=log&focusLine=42&linesState=38.42
What happened here was that Swabra deleted the whole checkout directory (C:\tcagent1\work\8d3306ac5f39e07b), which is also the project root, and thus the thing Gradle was watching. Doing so should have been reported to Gradle, which should have invalidate the relevant parts of the VFS, but that clearly didn't happen. Why?
The first impression was that this might be related to the short paths being reported when deleting directories via cmd.exe /c rm ..., but it turns out that we'd still get the long path of the root of the deletion. It also turns out that Swabra uses a different way to delete the whole checkout directory in this case...
https://github.com/JetBrains/teamcity-swabra/blob/a6f46f3050c8fb7e71c5d40a871af19eb8152d45/agent/src/jetbrains/buildServer/swabra/Swabra.java#L453-L462
Long story short, Swabra ends up first renaming the checkout directory, and then deleting it.
Now, Windows curiously does not send any notification about the watched directory being renamed, so Gradle stays ignorant of that fact. But even more curiously, that's not the cause of our issue either, as when the directory is deleted, we still report the events as if they happened against the old location.
However, in the current build, Swabra fails to delete some content in the renamed directory, and hence we don't get the notification that the watched directory was deleted (because it hasn't been), and we keep watching it in the new location (C:\tcagent1\temp\buildTmp), but Gradle keeps thinking that it's watching it in the old location (C:\tcagent1\work\8d3306ac5f39e07b).
And then TeamCity re-creates the checkout directory (C:\tcagent1\work\8d3306ac5f39e07b) and populates it by checking out the code afresh.
When Gradle is invoked to build C:\tcagent1\work\8d3306ac5f39e07b again in the same daemon, it thinks whatever is remaining in its VFS is still valid, and does not detect that the source code for :test-distribution-client has changed.
There.

cc: @gradle/execution, @paplorinc

One thing we could easily do to prevent this specific problem of Swabra renaming the watched directory is to prevent renaming. We can do it by removing FILE_SHARE_DELETE from the flags we give when we open the watched directory. This would prevent the watched directory from being deleted or renamed.
https://github.com/gradle/native-platform/blob/0f0b4440a027fe795a6d7304c498243b15f4fc8e/file-events/src/file-events/headers/win_fsnotifier.h#L19
This is what IDEs typically do, but it also means that Gradle daemons would need to be killed before their watched directories could be deleted.
As we can't observe the rename, I'm not sure what else we could do.

We could also reach out to JetBrains to make Swabra delete the checkout directory in a better way.

Yet another option, just to have everything on the table, is to somehow not enable FSW on CI by default. This would obviously require Gradle to be aware somehow whether we are running on CI or not.

There's another thing we can do: we could (perhaps at the start of the build, or every ten minutes etc.) check if our watchers still point to where they are supposed to. We keep hold of a file handle that we can use to retrieve the full path of the watched directory, and match it against the registered location.
We could do something like FileWatcher.stopWatchingMovedLocations() that would stop watching anything that is not pointing to its originally registered location anymore.
I wonder how useful this would be for other operating systems. Probably not very.

We could also go crazy, and check the current location of the watched directory against the registered path every time we receive notifications. This would slow things down to some degree, though probably not in any significant way. It's a less leaky solution than checking the location at arbitrary times, and it does not require changing the native-platfomr file watching APIs. It also doesn't require the consumer of the API to be aware of this problem at all.

We could also go crazy, and check the current location of the watched directory against the registered path every time we receive notifications.

This has the problem of not detecting if somebody only moves the project directory, but doesn't delete/modify any files in it. Gradle would keep thinking that it watches the location of the project directory, but it actually doesn't.

It looks like other file watchers like Watchman also allow for FILE_SHARE_DELETE. This is another reason not to forbid it.

Yet another option would be to change the API of file watching in native-platform, exposing more of the underlying infrastructure. Specifically, we could expose each WatchPoint, and let them report relative paths on Windows at least. This way at least native-platform would stay consistent when watched directories have been moved around. It would still require some sort of way for Gradle to confirm that the watched directories are still where they were in the beginning.

I think I'd like to do the following:

have an API for the Windows-specific watcher where it specifically returns the current mapping from original path -> current path
Gradle should call this new API and unregister any paths and drop VFS where the current path is different to the original
optional: let native-platform reports the (absolute) paths correctly after a directory has been moved by always looking up the current path of the watch root when reporting changes
optional: add an API to prevent watch roots being deleted if necessary

I have filed https://youtrack.jetbrains.com/issue/TW-72497 to fix the short names thing with Swabra. The rename+delete thing is not something they should fix I think.

PR to add the necessary functionality in native-platform: https://github.com/gradle/native-platform/pull/290

This is now fixed on release via https://github.com/gradle/gradle/pull/17922.


Weapon inventory ammo fix

Closes #126.
Closes #122.

I now see why the sniper was so good 😹

@BrandonPacewic Can you decrease the interval before someone can swap there weapon again. Everything else looks fine

@BrandonPacewic Would this script function with multiples of the same weapon?

@BrandonPacewic Would this script function with multiples of the same weapon?

Yes.

@BrandonPacewic When swapping between weapons the ammo goes back to the max. Also why does adding a weapon move it to the front of the List?

@BrandonPacewic It should thats why I'm confused

@BrandonPacewic I'm getting an error with the index

Can you let me know what you are doing to cause the problem? Apparently I am not a very good tester as I can't get anything to happen with it.

@BrandonPacewic ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <88e4733ac7bc4ae1b496735e6b83bbd3>:0)
WeaponInventory.ChangeWeapon (System.Int32 newWeaponIndex, System.Boolean force) (at Assets/Scripts/Player/WeaponInventory.cs:158)
WeaponInventory.Start () (at Assets/Scripts/Player/WeaponInventory.cs:81)

@BrandonPacewic Why do we need a 3rd party list for the inventory?

@BrandonPacewic Why do we need a 3rd party list for the inventory?

We don't but it's already there for the map.

Also closes #159.

@Galaxy25 Hopefully got everything this time.

I'm getting ready to merge and updating the change log - please @me if any other changes are pushed.


add everything to use asciidoctor-diagram as asciidoctorj-diagram

done at Hackergarten Basel January 2015 by @maximmo and @madmas

I guess this is related to #265 and means that https://github.com/asciidoctor/asciidoctor-maven-examples will have to be updated soon :+1:

@abelsromero thanks for linking the right issue and for the hint - we adpoted it and created a PR :)

@lordofthejars will it be possible for you to publish a preview version in bintray? That way I can merge the maven examples with litle effort. Otherwise I'll have to set a comment about requiring to work with a local version, you know, download ... sources and install :cry:

Any chance of getting that preview? If it's not possible I'll keep the PR https://github.com/asciidoctor/asciidoctor-maven-examples/pull/12 in wait

Nice!
For future work, I'd like to find a way to reuse the ClasspathHelper stuff in the test suite. I didn't know how to do that in Gradle, so for now I just copied the files...but now we have 3 copies of the file and it's time to think about keeping it DRY.

Hi, I've tried to use asciidoctorj-diagram-1.3.0.preview.1 in combination with the maven-site-plugin but it doesn't recognize it. Using it like in the hackergarten example works fine.
This is how my maven config looks like:
<build>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-site-plugin</artifactId>
      <version>3.4</version>
      <dependencies>
        <dependency>
          <groupId>org.asciidoctor</groupId>
          <artifactId>asciidoctor-maven-plugin</artifactId>
          <version>1.5.2</version>
        </dependency>
        <dependency>
          <groupId>org.asciidoctor</groupId>
          <artifactId>asciidoctorj-diagram</artifactId>
          <version>1.3.0.preview.1</version>
       </dependency>
      </dependencies>
      <configuration>
        <sourceDirectory>src/docs/asciidoc</sourceDirectory>
        <requires>
          <require>asciidoctor-diagram</require>
        </requires>
      </configuration>
    </plugin>
  </plugins>
</build>

The problem is probably that the configuration should be at asciidoctor-maven-plugin. but maven doesn't allow this. Any hints?


How to update api token (cleaning up old DVCS connections)

We have Github integrated with Jira. I'm getting emails warning that it is using old style tokens which are insecure.
What is the procedure for updating the tokens for the plusin?
thanks

We have the same issue, unfortunately I didn't configure the integration in the first place and the person who did is no longer around so it's not clear whether we migrated from DVCS to the app. All I can see is that our Jira Cloud instance is showing DVCS as not configured at the organisation level and the "GitHub for Jira" app is installed/configured. From the GitHub side the Jira Github App is installed/configured, plus I can see that there is an OAuth app called "JIRA", which I've rotated the secret for to try to flush out what is using it (I'm assuming it's not the Jira/Github app integration as that still seems to work fine since).
The email certainly seems to suggest that it's a Jira DVCS connector that is causing the issue I just can't work out where from:

We noticed that an application, JIRA, owned by an organization you are an admin of, [SNIP], used a token with an outdated format to access the GitHub API on October 19th, 2021 at 18:07 (UTC), with a user-agent header of JIRA DVCS Connector Vertigo/1001.0.0-SNAPSHOT.

@kourosh-eminence @jgtr-coats thank you for the response. This is a known issue. Even though DVCS integration was deprecated and replaced by the GitHub App, the tokens that had been used by DVCS still live Jira's database. We are now actively working on cleaning up the database and removing them altogether.

I don't quite understand whether they are the same thing or different integration methods.

They are completely different. The old (DVCS) tokens are not used anymore for syncing GitHub data and can be safely revoked on GitHub side because the new integration (this app) is a GitHub App, while the old integration (DVCS) was an OAuth app.
To remove the old OAuth application (that was used for DVCS) from GitHub, you could go navigate to GitHub.com -> [You Org] -> Settings -> Developer Settings -> OAuth apps -> [App name] - > Advanced -> Delete the application
Could you please let me know if it makes sense? I'll update this issue once we finish the cleanup on our end, although even after that you might still would like to revoke the tokens on GitHub side because Jira doesn't have control over it.

Hi - I can understand the old DVCS token sitting around in the Jira database, but the warning email makes it sounds as though Jira has actually used it for an API call. I'd be interested to know why that is?

Hey @aingham. Given that it has been over a month since we last heard from you, I'm going to go ahead and close this issue. Please feel free to reopen/reach out again if you need help with anything.


Dark Souls III

IDK
[2023-08-10 22:19:39.463] [modengine] [info] ModEngine version 2.0.0-preview3-d673e6000e50d5c559364b6276057f6bde09accb initializing for Dark Souls 3
[2023-08-10 22:19:39.463] [modengine] [info] Local settings loaded: true, Global settings loaded: true
[2023-08-10 22:19:39.463] [modengine] [info] Main thread ID: 27428
[2023-08-10 22:19:39.469] [modengine] [info] Enabling extension base
[2023-08-10 22:19:39.469] [modengine] [info] Enabled extension base
[2023-08-10 22:19:39.469] [modengine] [info] Enabling extension mod_loader
[2023-08-10 22:19:39.469] [modengine] [info] Installing mod location mod
[2023-08-10 22:19:39.470] [modengine] [info] Resolved mod path to D:\Games\Dark Souls 3\Game\mod
[2023-08-10 22:19:39.470] [modengine] [info] Enabled extension mod_loader
[2023-08-10 22:19:39.470] [modengine] [info] Enabling extension scylla_hide
[2023-08-10 22:19:39.470] [modengine] [info] Found valid ScyllaHide injector. Injecting into game.
[2023-08-10 22:19:39.470] [modengine] [info] Starting ScyllaHide injector: D:\Games\Dark Souls 3\Game\modengine2\tools\scyllahide\InjectorCLIx64.exe pid:15972 ./HookLibraryx64.dll nowait
[2023-08-10 22:19:39.475] [modengine] [info] Launched Scyllahide process.
[2023-08-10 22:19:39.622] [modengine] [info] ScyllaHide successfully injected
[2023-08-10 22:19:39.622] [modengine] [info] Enabled extension scylla_hide
[2023-08-10 22:19:39.746] [modengine] [error] Failed to apply a patch
[2023-08-10 22:19:39.747] [modengine] [info] Applied 3 hooks
[2023-08-10 22:19:39.753] [modengine] [info] Starting worker thread

i turn off scylla here
[2023-08-10 22:55:38.093] [modengine] [info] ModEngine version 2.0.0-preview3-d673e6000e50d5c559364b6276057f6bde09accb initializing for Dark Souls 3
[2023-08-10 22:55:38.093] [modengine] [info] Local settings loaded: true, Global settings loaded: true
[2023-08-10 22:55:38.093] [modengine] [info] Main thread ID: 10948
[2023-08-10 22:55:38.101] [modengine] [info] Enabling extension base
[2023-08-10 22:55:38.101] [modengine] [info] Enabled extension base
[2023-08-10 22:55:38.101] [modengine] [info] Enabling extension mod_loader
[2023-08-10 22:55:38.101] [modengine] [info] Installing mod location mod1
[2023-08-10 22:55:38.101] [modengine] [info] Resolved mod path to D:\Games\Dark Souls 3\Game\mod1
[2023-08-10 22:55:38.101] [modengine] [info] Installing mod location mod2
[2023-08-10 22:55:38.101] [modengine] [info] Resolved mod path to D:\Games\Dark Souls 3\Game\mod2
[2023-08-10 22:55:38.101] [modengine] [info] Installing mod location mod3
[2023-08-10 22:55:38.101] [modengine] [info] Resolved mod path to D:\Games\Dark Souls 3\Game\mod3
[2023-08-10 22:55:38.101] [modengine] [info] Enabled extension mod_loader
[2023-08-10 22:55:38.204] [modengine] [error] Failed to apply a patch
[2023-08-10 22:55:38.204] [modengine] [info] Applied 3 hooks
[2023-08-10 22:55:38.208] [modengine] [info] Starting worker thread


Add normalization and decomposing to VCF2DB

Description of feature
Add normalization and decomposing to VCF2DB

commands
[2023-07-10T09:36Z] gunzip -c /projects/exome/NVQ_762/samples_A00785_762-merged/work/gemini/D2311500-joint-gatk-haplotype-joint.vcf.gz | bcftools view -f 'PASS,.'  | vcfallelicprimitives -t DECOMPOSED --keep-geno | sed 's/ID=AD,Number=./ID=AD,Number=R/' | vt decompose -s -  | vt normalize -n -r /software/bcbio/genomes/Hsapiens/hg38/seq/hg38.fa -  | awk '{ gsub("./-65", "./."); print $0 }' | sed -e 's/Number=A/Number=1/g' | bgzip -c > /projects/exome/NVQ_762/samples_A00785_762-merged/work/bcbiotx/tmp34r7mplz/D2311500-joint-gatk-haplotype-joint-decompose.vcf.gz

decompose and normalisation can also be done by bcftools if more convenient. I'm not really sure the other commands are still relevant.

Allright thanks! I'll have a look when I start working on this

Added in #150


int *available = new int[size] breaks everything

Declaring on ln 48 in the reader.h header, when declared dynamically in this scope, the entire process segfaults (I think...) and Windows doesn't catch the error.

Still not sure what the issue could be here, but I resolved it by answering the problem a different way. I created a data structure for the simulation that contains n, m, and the resource vectors Available, Allocation, and Max. So far, no further problems. The data structure can be found in simulation.h.


Changes that remove methods from a project are shown as StChange in changes browser

Ideally, it should be shown as RemoveMethod

and when trying to file it in, we get an error:


Install headers and pkg-config metadata for DXVK Native

When building a native library for Linux, it's conventional to install header files to a subdirectory of /usr/include, and install pkg-config metadata describing how a dependent project can make use of the library.
In the case of DXVK, the current Fedora packaging https://src.fedoraproject.org/rpms/dxvk-native/tree/rawhide (which is somewhat outdated, currently still on 1.9) has added dxvk-native-d3d9.pc and dxvk-native-d3d11.pc, which lets a dependent project use dependencies like dependency('dxvk-native-d3d9 >= 1.9') or their build system's equivalent to learn the right include directories, libraries and recursive dependencies.
Newer Fedora packaging under review in https://bugzilla.redhat.com/show_bug.cgi?id=2152207, which unifies the Wine and native packaging for DXVK, seems to be using dxvk-d3d9.pc and dxvk-d3d10.pc instead, so the dependency would be dependency('dxvk-d3d9 >= 2.1'). Is that an intentional or unintentional change?
DXVK Native isn't currently packaged in Debian at all (Debian only builds the Wine-compatible version), but I'm looking into updating the packaging to also build DXVK Native, similar to what's planned in Fedora. I'd like to make the Debian packaging consistent with what's in Fedora so that the same source code can work in both places, ideally via the upstream project installing the necessary headers and pkg-config itself.
Does the upstream project have a preference for what its "official" name is, when used as a Linux library by games like Portal 2?
cc @Conan-Kudo @flibitijibibo @Joshua-Ashton

Newer Fedora packaging under review in https://bugzilla.redhat.com/show_bug.cgi?id=2152207, which unifies the Wine and native packaging for DXVK, seems to be using dxvk-d3d9.pc and dxvk-d3d10.pc instead, so the dependency would be dependency('dxvk-d3d9 >= 2.1'). Is that an intentional or unintentional change?

We'd had it provide the old name using pc Provides, so probably the unintentional part is not having that Provides if it's not already there.

OK, sounds good. Expecting dependent projects to check for dxvk-d3d9 etc. seems more normal to me, so I'll go with that unless the project maintainers specifically prefer dxvk-native-*.

From discussion on #3322, it seems that DXVK Native is not yet considered to be fully API- or ABI-stable (for example https://github.com/doitsujin/dxvk/issues/3322#issuecomment-1491919970 would be an ABI break), so it might be premature to be packaging it in distros or the Steam Runtime (@Joshua-Ashton, if you disagree with that assessment, I'll leave it to you to negotiate with @doitsujin about what the stability level is.)
I'm going to continue to prototype packaging in the hope that I can catch any other issues that block API/ABI stability before it's too late to change them, but I won't push for its inclusion in Debian or the Steam Runtime for the time being.


Added Ichimoku Overlay Indicator!

Added Ichimoku Overlay Indicator! - If not the most important indicator out there, definitely among the most important and widely used!

Will open a new PR!


dimension ordering

a couple internal spots where the variables are assumed to be ordered by (depth, lat, lon). fix that.

note: can use xr_ds = xr_ds.transpose("depth", "latitude", "longitude")


Add commodity / account directives for format supported syntax.

We'll support the syntax below.
account foo
    alias bar
    note note
    ; comment

commodity JPY
    alias ￥
    alias 日本円
    note 日本円です
    ; comment

More sub-directives would follow.

Part of #57


Pybullet: create dedicated sensor/actuator/state classes in physics_bridge

change string checks with dict checks similar to control_modes
Make callback/srvs creation more clear

Create an actuators and a state/observation folder in the  eager_bridge_pybullet package, that contain classes which specify how actions/states/observations can be implemented in pybullet.
People that wish to add their own implementation, must add it to the pybullet bridge package (instead of having  a way to easily specify a custom location, as it encourages users to create PRs and become a contributor.


Possible Spotify API Compatibility?

Would it be possible to use the Spotify Web API with Nadeko Bot to fetch Music and Saved Playlists from Spotify's Music catalogue?
How hard would it be to add more commands such as !!spq !!sppl (Spotify Que and Playlist) and then have it play through the Discord Voice Chat?
It seems similar to the other APIs but I'd like to know how hard (If possible) such a thing would be to set up.
Thanks for any Answers/help.

This was requested several times, right now there's no plans for it due to several complexities and other things right now.

Would it be possible for someone to do personally on their own?

Would it be possible for someone to do personally on their own?

Anything is possible like that, sure, if you want to implement it I'm sure it would be looked at. Or am I reading this wrong?

No, no. I was just wondering if it was possible. I'm in no rush to attempt a project this big anyway. Thank you very much for the fast reply.


Tag title not htmlEncoded

The tagClass, itemValue, itemText are all encoded. For some reason, only itemTitle is left out exposing a potential XSS vunerability.

https://nodesecurity.io/advisories/124


Windows XP says: Setup did not find any hard drives installed on your computer

How do I fix this issue? Every time I boot an iso, it says that it cannot find any hard drives on my computer.

Follow the installation process in qemu: https://github.com/copy/v86/blob/master/docs/windows-xp.md


TypeError: sequence item 0: expected str instance, bytes found

Installed with 'sudo pip3 install gcalcli'. First run generates a token and outputs "Authentication successful', then dumps a stack trace ending with the subject line.

Stack trace:

Authentication successful.
Traceback (most recent call last):
  File "/usr/local/bin/gcalcli", line 11, in
    sys.exit(main())
  File "/usr/local/lib/python3.4/dist-packages/gcalcli/cli.py", line 147, in main
    cal_names=cal_names, printer=printer, **vars(parsed_args)
  File "/usr/local/lib/python3.4/dist-packages/gcalcli/gcal.py", line 66, in __init__
    self._get_cached()
  File "/usr/local/lib/python3.4/dist-packages/gcalcli/gcal.py", line 193, in _get_cached
    self.get_cal_service().calendarList().list()
  File "/usr/local/lib/python3.4/dist-packages/gcalcli/gcal.py", line 157, in get_cal_service
    http=self._google_auth())
  File "/usr/local/lib/python3.4/dist-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/googleapiclient/discovery.py", line 224, in build
    requested_url, discovery_http, cache_discovery, cache, developerKey)
  File "/usr/local/lib/python3.4/dist-packages/googleapiclient/discovery.py", line 274, in _retrieve_discovery_doc
    resp, content = http.request(actual_url)
  File "/usr/local/lib/python3.4/dist-packages/oauth2client/transport.py", line 175, in new_request
    redirections, connection_type)
  File "/usr/local/lib/python3.4/dist-packages/oauth2client/transport.py", line 282, in request
    connection_type=connection_type)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1138, in request
    headers = self._normalize_headers(headers)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1106, in _normalize_headers
    return _normalize_headers(headers)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 194, in _normalize_headers
    return dict([ (key.lower(), NORMALIZE_SPACE.sub(value, ' ').strip())  for (key, value) in headers.items()])
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 194, in
    return dict([ (key.lower(), NORMALIZE_SPACE.sub(value, ' ').strip())  for (key, value) in headers.items()])
TypeError: sequence item 0: expected str instance, bytes found

Try again...

 Authentication successful.
Traceback (most recent call last):
  File "/usr/local/bin/gcalcli", line 11, in
    sys.exit(main())
  File "/usr/local/lib/python3.4/dist-packages/gcalcli/cli.py", line 147, in main
    cal_names=cal_names, printer=printer, **vars(parsed_args)
  File "/usr/local/lib/python3.4/dist-packages/gcalcli/gcal.py", line 66, in __init__
    self._get_cached()
  File "/usr/local/lib/python3.4/dist-packages/gcalcli/gcal.py", line 193, in _get_cached
    self.get_cal_service().calendarList().list()
  File "/usr/local/lib/python3.4/dist-packages/gcalcli/gcal.py", line 157, in get_cal_service
    http=self._google_auth())
  File "/usr/local/lib/python3.4/dist-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/googleapiclient/discovery.py", line 224, in build
    requested_url, discovery_http, cache_discovery, cache, developerKey)
  File "/usr/local/lib/python3.4/dist-packages/googleapiclient/discovery.py", line 274, in _retrieve_discovery_doc
    resp, content = http.request(actual_url)
  File "/usr/local/lib/python3.4/dist-packages/oauth2client/transport.py", line 175, in new_request
    redirections, connection_type)
  File "/usr/local/lib/python3.4/dist-packages/oauth2client/transport.py", line 282, in request
    connection_type=connection_type)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1138, in request
    headers = self._normalize_headers(headers)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1106, in _normalize_headers
    return _normalize_headers(headers)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 194, in _normalize_headers
    return dict([ (key.lower(), NORMALIZE_SPACE.sub(value, ' ').strip())  for (key, value) in headers.items()])
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 194, in
    return dict([ (key.lower(), NORMALIZE_SPACE.sub(value, ' ').strip())  for (key, value) in headers.items()])
TypeError: sequence item 0: expected str instance, bytes found

Linux asdf 3.16.0-8-amd64 #1 SMP Debian 3.16.64-2 (2019-04-01) x86_64 GNU/Linux

python --version
Python 2.7.9

python3 --version
Python 3.4.2

expected str instance, bytes found

That's a classic py2 vs py3 error message.  I wonder if something in setup.py isn't written correctly for your setuptools.  I can install gcalcli with pip3 on my debian system without an error, so I may need some help figuring out how to repro this.

OK, I need to upgrade my distro I guess.


Failed to Build

Does this affect the legacy HoloToolkit (master) or the Mixed Reality Toolkit (mrtk_release)?
HoloToolkit
Describe the bug
Can't deploy to my HoloLens using the build window. It used to work fine
but all of a sudden it doesn't work anymore.
Getting this error:
Deployment Add operation with target volume C: on Package Template3D_<IP_ADDRESS>_x86__pzq3xp76mxafg from:  (HelloMRWorld_<IP_ADDRESS>_x86.appx)  failed with error 0x80004005. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.(Unspecified error
)
UnityEngine.Debug:LogError(Object)
HoloToolkit.Unity.BuildDeployPortal:GetInstallStatus(ConnectInfo) (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployPortal.cs:530)
HoloToolkit.Unity.BuildDeployPortal:InstallApp(String, ConnectInfo, Boolean) (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployPortal.cs:482)
HoloToolkit.Unity.BuildDeployWindow:InstallOnTargetDevice(String, ConnectInfo) (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployWindow.cs:1309)
HoloToolkit.Unity.<DeployGUI>c__AnonStorey6:<>m__0() (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployWindow.cs:928)
UnityEditor.EditorApplication:Internal_CallDelayFunctions()

To Reproduce
Using Unity2018.1.19f1
HoloToolkit 2<IP_ADDRESS>
Configure project settings, build AppX (works)
Then try to Install it on HoloLense. Doesn't work
Expected behavior
Installed project on my Lense.
Actual behavior
See error above
Screenshots

Unity Editor Version
2018.1.9f1
Mixed Reality Toolkit Release Version
HoloToolkit2<IP_ADDRESS>

PS: Opening the project in VS2017 and trying to deploy it from there doesn't work eighter

Is it possible, that you still have an older version of the app installed on the Hololens? Sometimes there is a problem with version numbering of the packages and Hololens won't allow to install an older version of an already installed app.
IMO there are two things you could try:

uninstall the app using device portal
increasing the version number of the package

We have found that using the build window will 100% of the time fail.
I recommend building using release, x86 and then building in VS and deploying via usb cable manually. see if this mitigates the issue as it did for us

We have found that using the holotoolkit build window will 100% of the time fail.

Please open an issue describing the problems you're running into.

It worked for me after I did a hard reset on the HoloLens.
However, a few things to consider when using the build window (In my case using Unity2018.1.9f1)
It only worked with .Net as scripting backend so far. Also building for IL2CPP took ages.
Make sure, that you remove the app manually from the HoloLens when deploying a new version, otherwise it won't override.
Sometimes when the (successfully) built project can't get deployed it helps to delete the APPX package folder and then rebuild.
And last, when you can't see your app versions in the Deploy Options it helps to close and reopen the build window.
Just some things you may consider when using the build window.
Cheers,
Dinesh

@DineshPunni Have you tried if it works using the latest Unity 2014.4 (LTS) version? I am now building with Unity 2017.4.11f using IL2CPP and it works 100% reliable when I use the Build All button and deploy afterwards. It is also very important, that the version number of the new .appx is higher than the one installed.
AFAIK the HTK is also specifically aimed to work with Unity 2017.4, so the Unity version might cause trouble. In my experience so far it works best to use the matching/LTS Unity version. So if you do not absolutely need some of the newer features I would recommend upgrading Unity at a slower pace.
I think I remember we also had some build issue this year where we had to reset the Hololens, but since a colleague of me was doing that I unfortunately don't know any more details.
Hope I could help you.

HTK requires unity 2017.4
Closing older HTK issue as we are no longer actively working on HTK.
Please upgrade to MRTK V2 for the latest fixes.


goog.i18n.datetimesymbols is inconsistent

This issue was imported from Closure Library's previous home at http://closure-library.googlecode.com
The link to the original issue is:
https://code.google.com/p/closure-library/issues/detail?id=531

Fixed


BUG: Lots of Warnings and dependencies issues

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
While Inspecting the page I found some key value prop warnings and dependencies, styling warnings, unsupported use of  tags, etc  which are important to look at and should be resolved because many times these warnings create a lot of issues while production deployment
Add ScreenShots
Screencast from 19-06-23 12:32:30 AM IST.webm
What browser are you seeing the problem on?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'23 contributor
[X] I want to work on this issue

Hey @Piyusharora2003  Thanks for reminding me  accidentally i deleted all the GitHub emails thus I forgot about this issue please wait I am currently working on it and about to push those changes by tomorrow
Sorry for inconvience @TechSpiritSS

waiting for one more day

Fixed the issue

@TechSpiritSS can i work on this issue as their is no response from the asigned from 2 weeks

Done changes   https://github.com/MonalikaPatnaik/UMatter/pull/1007
Kindly do let me know if there is any more changes  need to be followed
Thank You :)


Create etcd client for tests

Part of:  https://keboola.atlassian.net/browse/BA-41

(mergnute zmeny z main)

(rebased)


fixed typos in testing.adoc

fixed some trivial typos

@Ainges Many thanks for contribution. It's greatly, appreciated :)
Could you please target the pr to main branch instead ?
Also, do we really need to have this small fix in branch 3.15.x ? If yes, then we generally add a backport label to the pr.

Thanks for your help. This is indeed my first contribution to any open source project. :)
I will create a new PR based on main. I think that would be a cleaner solution, right?


Bump styletron v5

Description

edits baseui styled wrapper to perform fewer operations outside of styletron-react. now it only applies a simple wrapper injecting the $theme
previously styled() calls were not type-checked, this is the cause of most code-churn as well as moving props type def to function generic rather than typing argument to style function.
changes prettier parser to flow
edits babel config to enable callable generic syntax

Scope

[x] Major: Breaking Change

todos:
[ ] write migration notes
[ ] remove usage of $ref

Good job!

There are also some visual changes introduces to datepicker (its dropdown icons have incorrect color), pagination, side-navigation, button's left/right padding.


Cargo often recompiles dependencies when using config

Selecting the gtk chrome is done by running ./stormlicht.py run --chrome gtk. Internally, this passes
the chrome=gtk cfg parameter to cargo. Presumably, this config is then applied to all dependencies, not just
stormlicht, causing huge frequent rebuilds.
Not sure if this is a cargo issue or something that can be fixed here.

https://github.com/rust-lang/cargo/issues/8716


Strange display issues

I just installed this plugin using the latest version of NeoVim (built from master), but for some reason the display is pretty messed up for me...

does :Man work fine? Also can you remove this line and then take a screenshot.

:Man works:

But :Nman still doesn't, even after commenting out the line you mentioned. Although the weird characters are slightly different now:

@adambiggs this is really weird, that line is supposed to remove all of the ^H characters. Do you have anything odd about your setup? Could you try duplicating that line, e.g. doing it twice and see what happens?

Closing due to no further information.

I encountered the same issue and found out it was due to set gdefault. This causes %substitute,\b,,g to only replace the first occurrence instead of all occurrence in a line.

I've actually fixed that bug in the neovim man.vim
I don't use vim (or neovim) anymore so I haven't bothered porting the neovim man.vim over. Here is the PR for the fix for this https://github.com/neovim/neovim/pull/5182
If you could please open a PR to fix this, it would be much appreciated. However, if possible, you should try neovim as man.vim is officially supported there (and its entirely based on this plugin).


Use KAFKA as a new technologie part in the project

As a stakeholder I want the dev team to analyse and use new technologies in the project so that the dev teams get improved on KAFKA
Remark: This ticket is at it's first definition just a kind of reminder that the stakeholder wants to see new technologies in use. In this case we do have to think about an useful use this technologie for the marketplace project. As soon we have a plan, we will define also the acceptance criteria and Dod.
DoR:

[ ] The team does have a plan how to use KAFKA in the marketplace. The usecase is clear and documented in this ticket
[ ] We got a license to install KAFKA on our environment

Acceptance critera:

[ ]

DoD:

[ ]

Kafka is regarding server, thus this is not part of my task from testing point of view. You may assign to developer.  Thanks. @LanaKast


The Peaq Node is not starting

I used the Node Installation Guide
https://docs.peaq.io/node-operators/run-an-agung-node-peaq-testnet/peaq-node-installation-guide
I downloaded the file
https://github.com/peaqnetwork/peaq-network-node/releases/download/agung-apr-7-2022/peaq-node-agung-apr-7-2022.tar.gz
unpacked its contents and installed and mark it as executable.
I got an error when trying to launch:
Error: Input("Error opening spec file ``: No such file or directory (os error 2)")

Environment

Operating system: Ubuntu 20.04.4 LTS
Total memory: 8Gb
Processor: Intel Xeon, 4 Core

Ok. Syncing has started.
In the node installation guide, you should also correct the name of the archive file. On github now the file is named
peaq-node-agung-apr-7-2022.tar.gz

In the startup script start_node.sh it should be like in the guide
--chain local
or should I change to
--chain agung
??

hi

Close this issue because currently we are the parachain and the README has updated


Possible memory leak in BFGSOpt::minimize?

Description:

RDKit Version: 2016.09.2
Platform: docker container based on centos:7.3.1611

There appears to be a memory leak in my code. This is the relevant output from Valgrind's memcheck:
==12286== 276,768 bytes in 1 blocks are definitely lost in loss record 2,362 of 2,362
==12286==    at 0x4C2A888: operator new[](unsigned long) (vg_replace_malloc.c:423)
==12286==    by 0x5D4213C: int BFGSOpt::minimize<ForceFieldsHelper::calcEnergy, ForceFieldsHelper::calcGradient>(unsigned int, double*, double, unsigned int&, double&, ForceFieldsHelper::calcEnergy, ForceFieldsHelper::calcGradient, unsigned int, std::vector<RDKit::Snapshot, std::allocator<RDKit::Snapshot> >*, double, unsigned int) (in /opt/rdkit/lib/libForceField.so.1.2016.09.2)
==12286==    by 0x5D3FA15: ForceFields::ForceField::minimize(unsigned int, std::vector<RDKit::Snapshot, std::allocator<RDKit::Snapshot> >*, unsigned int, double, double) (in /opt/rdkit/lib/libForceField.so.1.2016.09.2)
==12286==    by 0x77F3638: RDKit::MMFF::MMFFOptimizeMolecule(RDKit::ROMol&, int, std::string, double, int, bool) (MMFF.h:54)

... (The rest of the stack trace is from my code) ...

==12286== LEAK SUMMARY:
==12286==    definitely lost: 276,768 bytes in 1 blocks
==12286==    indirectly lost: 0 bytes in 0 blocks
==12286==      possibly lost: 114,992 bytes in 81 blocks
==12286==    still reachable: 1,846,129 bytes in 23,415 blocks
==12286==                       of which reachable via heuristic:
==12286==                         stdstring          : 464,801 bytes in 3,501 blocks
==12286==                         length64           : 47,604 bytes in 103 blocks
==12286==                         multipleinheritance: 380 bytes in 4 blocks
==12286==         suppressed: 0 bytes in 0 blocks

I don't have an exact piece of code to reproduce the error, but this is the function that I have written that calls MMFFOptimizeMolecule():
  std::vector<RDGeom::Point3D> parse_coords(RDKit::ROMol& mol) const {
    std::vector<RDGeom::Point3D> pos_list;

    RDKit::ROMol* mol_H = RDKit::MolOps::addHs(mol);

    RDKit::DGeomHelpers::EmbedMolecule(mol);

    int embed_mol_result = RDKit::DGeomHelpers::EmbedMolecule(*mol_H);

    if (embed_mol_result < 0) {
      std::stringstream ss;
      ss << "Mol failed to Embed, it may contain a (nH): "
         << RDKit::MolToSmiles(mol);
      throw std::logic_error(ss.str());
    }

    RDKit::MMFF::MMFFOptimizeMolecule(*mol_H);

    RDKit::Conformer& conformer = mol.getConformer();
    RDKit::Conformer& conformer_H = mol_H->getConformer();

    for (auto it = mol.beginAtoms(); it != mol.endAtoms(); ++it) {
      unsigned atom_idx = (*it)->getIdx();
      RDGeom::Point3D position = RDGeom::Point3D(conformer_H.getAtomPos(atom_idx));
      conformer.setAtomPos(atom_idx, position);
      pos_list.push_back(position);
    }

    delete mol_H;

    return pos_list;
  }

I know the extra copy of the molecule with hydrogens added looks a little funky. But I've made sure to delete it at the end. If I am doing something weird please let me know.
Thanks,
Anushervon

nvm, I was able to fix it by using ROMOL_SPTR instead:
std::vector<RDGeom::Point3D> parse_coords(RDKit::ROMol& mol) const {
    std::vector<RDGeom::Point3D> pos_list;

    RDKit::ROMOL_SPTR mol_H(RDKit::MolOps::addHs(mol));

    RDKit::DGeomHelpers::EmbedMolecule(mol);

    int embed_mol_result = RDKit::DGeomHelpers::EmbedMolecule(*mol_H);

    if (embed_mol_result < 0) {
      std::stringstream ss;
      ss << "Mol failed to Embed, it may contain a (nH): "
         << RDKit::MolToSmiles(mol);
      throw std::logic_error(ss.str());
    }

    RDKit::MMFF::MMFFOptimizeMolecule(*mol_H);

    RDKit::Conformer& conformer = mol.getConformer();
    RDKit::Conformer& conformer_H = mol_H->getConformer();

    for (auto it = mol.beginAtoms(); it != mol.endAtoms(); ++it) {
      unsigned atom_idx = (*it)->getIdx();
      RDGeom::Point3D position = RDGeom::Point3D(conformer_H.getAtomPos(atom_idx));
      conformer.setAtomPos(atom_idx, position);
      pos_list.push_back(position);
    }

    return pos_list;


why split gates along dimension 2?

Hi, I can not understand why in the following code, the reshaped_gates is split along dimension 2 rather than 1, since output of reshaped_gates is a 4 x rnn_size matrix.
  -- Reshape to (batch_size, n_gates, hid_size)
  -- Then slize the n_gates dimension, i.e dimension 2
  local reshaped_gates =  nn.Reshape(4,params.rnn_size)(gates)
  local sliced_gates = nn.SplitTable(2)(reshaped_gates)

Could anybody explain it? Thx in advance!

Same question, I will do some experiment to check if this is a bug..

The batch size is the No.1 dim; the 4 gates stuff is the No.2 dim. Plus nn.Reshape() supports batch processing. Therefore this is correct.


Merge master to release-4.0 branch to pick bugfix #6677 to 4.0.0-beta.1

What have you changed?
This PR merges master to release-4.0 branch to pick bugfix #6677 to v4.0.0-beta.1, the next release of 4.0.
We merges master insteadn of cherry-picking because we will merge master to release-4.0 again in the future, and cherry-picking may cause troubles.
What is the type of the changes?

Bugfix (a change which fixes an issue)

How is the PR tested?

Unit test
Integration test

/run-all-tests

/test


Redesign cards on landing page

Issues Identification
Closes: #847
Description
Summary
The cards are redesigned with a new look. Also added images missing in

Testimonials
Login

Details
Include any detailed information about the changes in this pull request.
Types of Changes
Please check the boxes that apply

[ ] Bugfix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Please check the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes do not break the current system and pass all existing test cases
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Screenshots
Before

After

Additional Information
Please provide any other information that is relevant to this pull request.

@aditya-bhaumik Please review this PR.

@ArchanRD press on commit suggestion no need to make a separate commit

@aditya-bhaumik Done ✅


s3 provider not parsing JSON

Hi dear maintainers!
It looks like the s3 provider does not parse JSON as described on the docs.. I have successfully parsed a YAML file but not a JSON file using the vals eval command
browsing the code we can see that there doesn't seem to be any json unmarshalling other than in google sheets provider
Could you please confirm if this is really the case?
Cheers!

@pimguilherme YAML is a superset of JSON so even though there isn't a specific JSON unmarshalling code in vals, our YAML unmarhsalling code should unmarshal your JSON data just fine!
Could you give us a full reproduction example?

Here's the part of the s3 provider that does json/yaml parsing https://github.com/helmfile/vals/blob/332f4886d5c78a7abaeb64ce5e29f6ded53bcdbe/pkg/providers/s3/s3.go#L72-L85

Triaging an issue almost an year later 🤦
Thanks for your detailed report @pimguilherme! I consider this as a bug- not sure what's causing it but it isn't what I expected.
If anyone is still reading this issue and interested in contributing a patch- PR is always welcomed!


ImportMesh has different behavior than in stable

See:
https://www.babylonjs-playground.com/index.html#17MXFZ#33
https://www.babylonjs-playground.com/indexStable.html#17MXFZ#33
Observe that in the stable version the ufo is loaded in front but in most recent it is loaded behind.
Expected it to be loaded in front.

I think it is expected as gltf spec recently defined the front direction but @bghgary can confirm that

Closing, this was caused by camera being at 0,0,0 and calling lookat 0,0,0 which behavior is undefined


[Feature Request]: Improving Preloader

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The current Loading has no preloader. The screen becomes blank when the website loads. Enhancing the preloader, and improving the styling of the preloader design would greatly improve the user experience and website presentation
Use Case
The proposed preloader enhancement would significantly improve the user experience and website presentation. A visually appealing preloader would provide a more engaging and interactive experience, reducing the perceived loading time and preventing the screen from appearing blank. Additionally, a well-designed preloader would contribute to a more polished and professional overall appearance of the website, leaving a positive first impression on visitors.
Benefits
A visually engaging preloader can help to make the website feel more responsive and reduce user frustration. Moreover, a customized preloader can be designed to align with the website's branding and style, creating a more cohesive and memorable experience for users.
Screenshot/Mockup
https://github.com/user-attachments/assets/88c859b3-2864-49a7-b8d6-b9d9025455f5
@mansiruhil13   can you assign this issue to me with labels "gssoc-ext" with levels ,"hacktoberfest-accepted";
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

thank you for assigning this to me.


About the value motion_module_pe_multiplier？

Nice work! When I train on sample_n_frames=32 ,  what should I set the value of the motion_module_pe_multiplier to? Is it okay to keep the value as 1? What is the basis of the principle here? Thank you!

Hello. Thank you. Motion module trained with position encoding 24. This
multiplier stack original module side by side by multiplying by factor 2.
If you set it to 2, then position encoding will have capacity of 48 frames,
3 - 72, 4 - 96 and so on.
ср, 18 окт. 2023 г., 09:49 Tho @.***>:

[image: image]
https://user-images.githubusercontent.com/26833394/276069121-6e1d64c5-a39f-47a7-88fb-3d2a70f2a50a.png
Nice work! When I train on sample_n_frames=32 , what should I set the
value of the motion_module_pe_multiplier to? Is it okay to keep the
value as 1? What is the basis of the principle here? Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/tumurzakov/AnimateDiff/issues/14, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADLQLGISAEWKPXXK5G6NPDX75GWBAVCNFSM6AAAAAA6E2LZ5CVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DQNZUG43DMOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Automatic action to assign color based on priority

Expected behaviour
Issue #99 requested task cards be color coded based on task priority, but the ticket was closed because priority was not being added at the time. Now that tasks can be assigned a priority, rather than priority being based on the position in the column, it would be great to have an automatic action to assign a color based on the assigned priority.
Actual behaviour
Currently color coding, based on priority is unavailable.
Steps to reproduce
none

+1

Definitely worth an implementation. Priority is worthless without colors and sorting by priority!

I'd also find this automatic action helpful, and searched the issues specifically to see if it had already been submitted.

+1
This feature would be awesome! :)

This feature is now available in the development branch.


Nextjs

Hey,
I'm trying to use this library in a nextjs project. If I'm on the page where chart is, i get this error:
Server Error
ReferenceError: regeneratorRuntime is not defined

I know this is a SSR issue but I'm new to nextjs so I'm not sure how to fix it. Any ideas?

Hi! @jonasgroendahl I have the same problem, did you fix it?

I fixed this importing the module like this
const Chart = dynamic(() =>   import("react-charts").then(mod => mod.Chart),   { ssr: false } )
https://nextjs.org/docs/advanced-features/dynamic-import


Implement Number protocol for PyComplex

Implementation based on #3507.

I think Implementing missing PySequenceMethods, PyMappingMethods, PyNumberMethods for some types can be good first issue for first-comer. How do you think?


fix: improve error appearance according to the design in #1397

improve error appearance according to the design in #1397

Inadvertently pushed last merged commit to your branch when syncing, sorry for that 😓

Did a soft reset and new signed commit force pushed. We'll see if this lets me merge.


[R11 Bugbash] Use common file selection dialog between "Import Schema" and "Open" project

Describe the bug
Opening a project gives us this beautiful UI where we can navigate the directory. However, "Import Schema" in Forms takes us to the OS native file picker. Perhaps we should align them to give user better experience.
Version
            Bot Framework Composer

            Version:  1.2.1-nightly.191674.827857c
            Electron: 8.2.4
            Chrome: 80.0.3987.165
            NodeJS: 12.13.0
            V8: 8.0.426.27-electron.0

Browser

[x] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to "Forms (Preview)"
Click "+" to create a new form
Give it a name
Click "Import Schema"

Expected behavior
The same pretty UI file picker as the rest of the application.
Actual behavior
The native OS file picker is used.
Screenshots

Additional context

Will revisit for Composer 1.4.

(pro of OS file picker over custom one: built in searching and sorting)


fetch_tools: 0.2.1-0 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository fetch_tools to 0.2.1-0:

upstream repository: https://github.com/fetchrobotics/fetch_tools.git
release repository: https://github.com/fetchrobotics-gbp/fetch_tools-release.git
distro file: melodic/distribution.yaml
bloom version: 0.7.2
previous version for package: 0.2.0-0

fetch_tools
* Fixups for indigo->melodic; package format (#13 <https://github.com/fetchrobotics/fetch_tools/issues/13>)
  - Updates to debug_snapshot
  - Warning about common failure case when using debug_snapshot
* Contributors: Eric Relson

I've also opened PR to blacklist this from debian-source:

https://github.com/ros-infrastructure/ros_buildfarm_config/pull/129

Holding for sync


⚠ Bofrost.de has degraded performance

In e89d470, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 987 ms

Resolved: Bofrost.de performance has improved in c88fb8f after 6 minutes.


chrome remote desktop issues

cant connect to the rdp
Chrome Remote Desktop is starting up on the remote computer. Please try again in a minute.

I have mentioned this in #23


async blob client download_blob error: 'NoneType' object has no attribute 'request'

azure.storage.blob.aio:
12.8.1:
Linux:
3.8.5:

Describe the bug
Get one new BlobClient to download blob by using azure.storage.blob.aio. And want to download a set of blobs in asynchronous manner with a precreated ContainerClient. Then the asynchronous performance is not ideal.
To Reproduce
Steps to reproduce the behavior:
class MyClass(object):

    def __init__(self, account_name, account_key, container_name):
        self.account_name = account_name
        self.account_key = account_key
        self.container_name = container_name
        self.container_client = self._get_container_client()

    def _get_container_client(self):
        account_url = AZURE_ACCOUNT_URL_FORMAT.format(account_name=self.account_name)
        return ContainerClient(account_url = account_url,
                            container_name = self.container_name,
                            credential = self.account_key)

    async def list_item(self, name_starts_with="", delimiter="/", item_type=(BlobPrefix,)):
        item_list = []
        async with self.container_client as client:
            async for item in client.walk_blobs(name_starts_with=name_starts_with, delimiter = delimiter):
                if isinstance(item, item_type):
                    item_list.append(item)
        return item_list

    async def read_file(self, filepath):
        blob_client = self.container_client.get_blob_client(filepath)
        try:
            downloader = await blob_client.download_blob()
            return await downloader.readall()
        except ResourceNotFoundError:
            return None

    async def fetch_all_files(self):
        dir_list = await self.list_item(delimiter="/", item_type=(BlobPrefix,))

        path_formatted = "{folder}/dummy_file"
        filepath = [ path_formatted.format(folder=dir.name.strip("/")) for dir in dir_list ]
        print(filepath)

        task_list = [self.read_file(path) for path in filepath]
        done, _ = await asyncio.wait(task_list)
        return done

async def main():
    azure_class = MyClass(account_name=ACCOUNT_NAME, account_key=ACCOUNT_KEY, container_name=CONTAINER_NAME)

    print( await azure_class.fetch_all_files() )

if __name__ == "__main__":
    asyncio.run( main() )

python run logs
> python azure_test.py
['folder1/dummy_file', 'folder2/dummy_file']
{<Task finished name='Task-4' coro=<MyClass.read_file() done, defined at azure_test.py:40> exception=AttributeError("'NoneType' object has no attribute 'request'")>, <Task finished name='Task-5' coro=<MyClass.read_file() done, defined at azure_test.py:40> exception=AttributeError("'NoneType' object has no attribute 'request'")>}
Task exception was never retrieved
future: <Task finished name='Task-4' coro=<MyClass.read_file() done, defined at azure_test.py:40> exception=AttributeError("'NoneType' object has no attribute 'request'")>
Traceback (most recent call last):
  File "azure_test.py", line 43, in read_file
    downloader = await blob_client.download_blob()
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/tracing/decorator_async.py", line 74, in wrapper_use_tracer
    return await func(*args, **kwargs)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/aio/_blob_client_async.py", line 464, in download_blob
    await downloader._setup()  # pylint: disable=protected-access
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/aio/_download_async.py", line 250, in _setup
    self._response = await self._initial_request()
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/aio/_download_async.py", line 293, in _initial_request
    location_mode, response = await self._clients.blob.download(
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/_generated/aio/operations/_blob_operations.py", line 174, in download
    pipeline_response = await self._client._pipeline.run(request, stream=True, **kwargs)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 215, in run
    return await first_node.send(pipeline_request)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  [Previous line repeated 5 more times]
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/policies/_redirect_async.py", line 64, in send
    response = await self.next.send(request)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/_shared/policies_async.py", line 99, in send
    response = await self.next.send(request)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/_shared/policies_async.py", line 56, in send
    response = await self.next.send(request)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 116, in send
    await self._sender.send(request.http_request, **request.context.options),
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/_shared/base_client_async.py", line 180, in send
    return await self._transport.send(request, **kwargs)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/transport/_aiohttp.py", line 184, in send
    result = await self.session.request(    # type: ignore
AttributeError: 'NoneType' object has no attribute 'request'
Task exception was never retrieved
future: <Task finished name='Task-5' coro=<MyClass.read_file() done, defined at azure_test.py:40> exception=AttributeError("'NoneType' object has no attribute 'request'")>
Traceback (most recent call last):
  File "azure_test.py", line 43, in read_file
    downloader = await blob_client.download_blob()
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/tracing/decorator_async.py", line 74, in wrapper_use_tracer
    return await func(*args, **kwargs)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/aio/_blob_client_async.py", line 464, in download_blob
    await downloader._setup()  # pylint: disable=protected-access
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/aio/_download_async.py", line 250, in _setup
    self._response = await self._initial_request()
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/aio/_download_async.py", line 293, in _initial_request
    location_mode, response = await self._clients.blob.download(
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/_generated/aio/operations/_blob_operations.py", line 174, in download
    pipeline_response = await self._client._pipeline.run(request, stream=True, **kwargs)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 215, in run
    return await first_node.send(pipeline_request)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  [Previous line repeated 5 more times]
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/policies/_redirect_async.py", line 64, in send
    response = await self.next.send(request)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/_shared/policies_async.py", line 99, in send
    response = await self.next.send(request)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/_shared/policies_async.py", line 56, in send
    response = await self.next.send(request)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 83, in send
    response = await self.next.send(request)  # type: ignore
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/_base_async.py", line 116, in send
    await self._sender.send(request.http_request, **request.context.options),
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/storage/blob/_shared/base_client_async.py", line 180, in send
    return await self._transport.send(request, **kwargs)
  File "/home/myname/tools/miniconda3/envs/exporter/lib/python3.8/site-packages/azure/core/pipeline/transport/_aiohttp.py", line 184, in send
    result = await self.session.request(    # type: ignore
AttributeError: 'NoneType' object has no attribute 'request'

Expected behavior
Asynchronous download should be able to work successfully.
And except that asynchronous method should be able to outperform synchronous download for a set of blobs.
Additional context
There are two blobs in storage container: folder1/dummy_file and folder2/dummy_file.

Thanks @michael1011101!
Adding @xiafu-msft and @tasherif-msft from the Storage team to help take a look.
I believe you could expect to see this error if the client had been "closed".
For example, if I call container_client.get_blob_client() - the resulting blob client is sharing a connection with the parent container client. Therefore, if the async with statement is exited for the container, the blob clients will also be closed.

Therefore, if the async with statement is exited for the container, the blob clients will also be closed.

I'm not very clear about that. So does it mean that it cannot use container client with async with statement?

Hi @michael1011101 I believe the issue here has to do with async with self.container_client as client:
This context manager will close the session object created for your client instance. i.e, you'd have to reinstantiate or avoid using a context manager if you're planning to use this client in multiple places and only close it in the final call.
Let me know if this helps

I believe the issue here has to do with async with self.container_client as client

Correct. I remove the line of async with self.container_client as client and it works for me.
Then there are two lines of the logs that confuse me.
...
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f08b7a6ddf0>
Unclosed connector
...

Does it mean that I need to close the client session and connector manually? Could you give me an example?

Hi @michael1011101, yes there is an unclosed connection once you remove the context manager because you wouldn't have closed the connection.
You're either going to have to improve your logic so that you use your context manager at a better location. Or manually .open() and .close() appropriately.
At the moment you're using self.container_client closing it then attempting to reuse its connection later on, hence your issue.

Hi @tasherif-msft ,

You're either going to have to improve your logic so that you use your context manager at a better location.
I am use these codes for the first time. So you means a better location, could you give me an example? or help me to find the better place.

@michael1011101 Tamer is asking you to refactor your code, we cannot help you with that as it can depend on a host of other factors that we do not have visibility into.


Update version of oav being consumed by Model Validation to 3.2.11

Where-ever this configuration is located, need to update to version contained in this PR.

Merged this pr prior to merging this check update. We want additionalProperties errors to pop.

How to regression test oav
Context and setup
Current version of oav being used was 3.2.2. Before we can a  that PR, we need to ensure that the newer version of oav doesn't cause new breaks. Please note this is all on my WSL install.
cd <oav-repo-root>
cd regression/azure-rest-api-specs
git pull
npm install -g<EMAIL_ADDRESS>
followed by running:
mkdir -p regression_specs_against_322
for i in $(find ./ -iname "*.json" -type f -exec bash -c '[[ ! "$0" =~ .*examples.* && "$0" =~ .*specification.* ]]' {} \; -print); \
   do newloc=${i////.};oav validate-spec $i > "./regression_specs_against_322/${newloc:2}.out" ; \
   done

mkdir -p regression_examples_against_322
for i in $(find ./ -iname "*.json" -type f -exec bash -c '[[ ! "$0" =~ .*examples.* && "$0" =~ .*specification.* ]]' {} \; -print); \
   do newloc=${i////.};oav validate-example $i > "./regression_examples_against_322/${newloc:2}.out" ; \
   done

After letting that churn through, we need to install 3.2.11 and run the same things, then compare the outputs.
npm install -g<EMAIL_ADDRESS>
mkdir -p regression_specs_against_3211
for i in $(find ./ -iname "*.json" -type f -exec bash -c '[[ ! "$0" =~ .*examples.* && "$0" =~ .*specification.* ]]' {} \; -print); \
   do newloc=${i////.};oav validate-spec $i > "./regression_specs_against_3211/${newloc:2}.out" ; \
   done

mkdir -p regression_examples_against_3211
for i in $(find ./ -iname "*.json" -type f -exec bash -c '[[ ! "$0" =~ .*examples.* && "$0" =~ .*specification.* ]]' {} \; -print); \
   do newloc=${i////.};oav validate-example $i > "./regression_examples_against_3211/${newloc:2}.out" ; \
   done

Processing of output
I copy-paste the outputs of the oav invocations from the CLI that invoked them. I placed those in four files:

example_regression_output_322.txt
example_regression_output_3211.txt
spec_regression_output_322.yml
spec_regression_output_3211.yml

Other than that, we now have four folders generated alongside where we :

regression_examples_against_322
regression_specs_against_322
regression_examples_against_3211
regression_specs_against_3211

The files present within each folder represent each individually parsed spec.

[x] Find out when stuff is printed by oav for both examples and specs

Looks like we need to examine the text output from spec run, and then look at the per-file output for the examples run. Not certain why it's different, but it is!

Processing examples output
For examples, we examine the per-file output within the regression_against_blah folders. For specs checks, we need to examine the actual output to CLI.
import os
import sys
import re

cwd = os.getcwd()
full_path = os.path.join(cwd, sys.argv[1])
all_files = os.listdir(full_path)
outputs = []
codelines = {}
line_regex = re.compile(r"^\s*code\:\s*\'([A-Za-z_-]+)\'\,\s*$", flags=re.MULTILINE)
destination_file = f"{sys.argv[1]}.csv"

# used to count instances of a key entry
def record_entry(new_value, dict):
   if new_value in dict.keys():
      dict[new_value] += 1
   else:
      dict[new_value] = 1

# processes an output file and provides the summary for correlation in a CSV file later.
# location present for debugging purposes :P
def process_output_file(content, location) -> str:
   matches = [m.strip() for m in line_regex.findall(content)]
   result_dict = {}
   result_list = []

   for match in matches:
      record_entry(match, result_dict)

   for key in result_dict:
      result_list.append(f"{key}: {result_dict[key]}")

   return ",".join(result_list)

with open(destination_file, 'w', encoding='utf-8') as output:
   for file_output in all_files:
      location = os.path.join(full_path, file_output)
      result = '' # default error

      with open(location, 'r') as f:
         content = f.read()
         if "Validation completes without errors." in content:
            result = '' # no error detected for this file
         else:
            # An error file looks like this:

            # Error reported:
            # {
            #   code: 'XMS_EXAMPLE_NOTFOUND_ERROR',
            #   message: 'x-ms-example not found in StorageAccounts_CheckNameAvailability.',
            #   schemaUrl: './specification/storage/resource-manager/Microsoft.Storage/stable/2016-01-01/storage.json',
            #   exampleUrl: undefined,
            #   schemaPosition: { line: 22, column: 15 },
            #   schemaJsonPath: undefined,
            #   examplePosition: undefined,
            #   exampleJsonPath: undefined,
            #   severity: 0,
            #   source: 'global',
            #   operationId: 'StorageAccounts_CheckNameAvailability',
            #   level: '\x1B[31merror\x1B[39m'
            # }
            # {
            #   code: 'XMS_EXAMPLE_NOTFOUND_ERROR',
            #   message: 'x-ms-example not found in StorageAccounts_Create.',
            #   schemaUrl: './specification/storage/resource-manager/Microsoft.Storage/stable/2016-01-01/storage.json',
            #   exampleUrl: undefined,
            #   schemaPosition: { line: 56, column: 14 },
            #   schemaJsonPath: undefined,
            #   examplePosition: undefined,
            #   exampleJsonPath: undefined,
            #   severity: 0,
            #   source: 'global',
            #   operationId: 'StorageAccounts_Create',
            #   level: '\x1B[31merror\x1B[39m'
            # }
            # so we effectively need just to count the number of code: '<ERRORCODE>' to summarize the issues in this output
            # https://regex101.com/r/6eO4k8/1
            result = process_output_file(content, location)
      output.write(f"{file_output},\"{result}\"{os.linesep}")

Generate the summary with:
cd <oav root>/regression/azure-rest-api-specs
python path/to/summarizer.py regression_examples_against_3211
python path/to/summarizer.py regression_examples_against_322

Processing specifications output
To get the specifications output, you need to grab the CLI output from the original command invocation. Unfortunately oav is not set up so that a simply > redirect from validate-spec like we do for validate-example will work. For that one, we need to copy-paste the actual CLI output and process THAT as a file.
This is what that looks like in a python script. (Examine spec_regression_output_322.yml for the output copy-pasted from CLI)
import os
import sys
import re
from typing import List

cwd = os.getcwd()
full_path = os.path.join(cwd, sys.argv[1])

def is_issue_start(line: str):
    return line.startswith("Semantically validating ")

def record_entry(new_value, dict):
    if new_value in dict.keys():
        dict[new_value] += 1
    else:
        dict[new_value] = 1

def get_name_from_error_output(content) -> str:
    line_regex = re.compile(r"Semantically validating ([\.\/\-\_a-zA-Z0-9]+)\s*", flags=re.MULTILINE)
    matches = [m.strip() for m in line_regex.findall(content)]

    return matches[0].replace("./", "")

def process_error_output(content) -> str:
    line_regex = re.compile(r"^\s*code\:\s*([A-Za-z_-]+)\s*$", flags=re.MULTILINE)
    matches = [m.strip() for m in line_regex.findall(content)]
    result_dict = {}
    result_list = []

    for match in matches:
        record_entry(match, result_dict)

    for key in result_dict:
        result_list.append(f"{key}: {result_dict[key]}")

    return ",".join(result_list)

def get_error_chunks(location: str) -> List[str]:
    with open(location, 'r') as f:
        content = f.readlines()

    all_issues = []
    current_issue = []
    in_issue = False

    if content:
        line = content.pop(0)

        while line:
            if in_issue:
                if is_issue_start(line):
                    all_issues.append("".join(current_issue))
                    current_issue = [ line ]
                else:
                    current_issue.append(line)
            else:
                if is_issue_start(line):
                    in_issue = True
                    current_issue.append(line)

            if content:
                line = content.pop(0)
            else:
                line = None

        if current_issue:
            all_issues.append("".join(current_issue))

    return all_issues

errors = get_error_chunks(full_path)

with open('output.csv', 'w', encoding='utf-8') as f:
    for error in errors:
        error_detail = process_error_output(error)
        name = get_name_from_error_output(error)
        f.write(f"{name},\"{error_detail.strip()}\"")

Generate the summary with:
cd <oav root>/regression/azure-rest-api-specs
python /path/to/specification_output_summarizer.py spec_regression_output_3211.yml
# grab output
python /path/to/specification_output_summarizer.py spec_regression_output_322.yml
# grab output

Viewable Excel Diff
Visible here

Rolled to Prod


Add Seed phrase T&C for case create one

Describe the task
Add Seed phrase T&C for case create one
To reproduce the behavior

Open the SubWallet app
Import/attach account successfully without EVM account
Go to Browser tab
Visit to any EVM dApp
On the popup connect, click on "Create one" then observe the screen displayed

Actual: Do not show Seed phrase T&C
Expect: Show the T&C seed phrase

Can't reproduce, need to recheck again! @Sokol142196