URL linking to cmdlet help for New-CSOnlineSession is invalid

The link to new-csonlinesession points to https://docs.microsoft.com/en-us/powershell/module/teams/new-csonlinesession?view=teams-ps which returns a 404 error.

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

ID: 173b5929-529b-938b-b6ab-59f05a5d69a8
Version Independent ID: 0a3dfe5e-938f-933d-637e-b7449e3b8aa5
Content: Microsoft Teams PowerShell Release Notes - Microsoft Teams
Content Source: Teams/teams-powershell-release-notes.md
Service: msteams
GitHub Login: @brandber
Microsoft Alias: brandber

@cimares  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@cimares thank you for pointing this out. Is this the correct link that should be there ? https://docs.microsoft.com/powershell/module/skype/new-csonlinesession?view=skype-ps

That's from the old Skype Module document.. looking at the link, it's correct and in keeping with every other cmdlet listed on this page, but there's no Teams specific content available at it, hence the 404 error.
Whilst the skype content is valid, it should really be created as a new page under the Teams modules URL.

Thanks @cimares, I will follow up and get back to you soonest.

@brandber please can you have a look at this issue? I can only find the link that applies to the Skype Module document not Teams.

@cimares it seems like the article has been updated with the information. Please confirm so we can close the issue. Thanks again.


Detect "reached limit on number of templates" error on import

2015-12-15 08:55:44 UTC: Exception: POST:400 http://xxxxx.cartodb.com:80/api/v1/map/named?api_key=xxxxx{\"errors\":[\"User 'xxxx' reached limit on number of templates (4096/4096)\"]}
2015-12-15 08:55:44 UTC:
 [\"/home/ubuntu/www/production.cartodb.com/releases/xxx/services/named-maps-api-wrapper/lib/named-maps-wrapper/named_map.rb:49:in `block in create_new'\"

Should we be raising a specific exception for this directly in the named maps wrapper?

Can you provide the full stack trace?
There's already an HTTPResponseError. The exception should be more specific. See the file named-maps-wrapper/exceptions.rb.
@rochoa are the 400 errors just used for the limit on templates?

400 is the generic way of saying ... the client did/sent something wrong.
We could raise 409 Conflict for this case.

This was still pending to merge, but it seems that the 409 error just got added into Windshaft: https://github.com/CartoDB/Windshaft-cartodb/issues/346#event-512497962 so I can work into improving that part before merging.

I just merged it to master. I had the code in a git stash since a few weeks ago but forgot to push it.

@rochoa when do you plan this to be deployed (if it isn't already)? No rush, just for me to know to work on the improvement after that happens.

End of week, worst case scenario.

:+1:


The ckpt has a social decoder, but the code does not.

Thanks for your code. I encountered several questions when reproducing this paper.
I hope you can help me solve these questions.

Code did not have a social decoder, but the ckpt you provided has. I'm interested in how you trained this ckpt.
What is the classification loss you choose for six trajectory proposals? CrossEntropy or KL and what is the target ?
What is the loss weight for reg loss and cls loss?
Thanks for your project again and I really hope to get your reply.

这是来自QQ邮箱的假期自动回复邮件。

您好，我已经收到邮件，会尽快给您回复。by小溪


Resizing window to a size gives different result than start at that size

Steps to reproduce

Start the example webpage with a large browser window
Shrink your browser window
Refresh the page

You'll notice at step (3), all the elements shift slightly. This is unexpected for two reasons:

For a user, re-rendering the page shouldn't cause the elements to all shift slightly
For a developer, it's hard to know what your page will look like when using this library because the result will vary slightly depending on if a user got to a screen size by shrinking their screen or if they got to it by starting at that screen size

I have the same issue while using react-fitty within a card CSS Grid. Upon resizing the window, the text resizes way over its parent container and breaks the styles of all elements within the card.

For now, I've solved the above by creating a 'rerenderOnResize' wrapper component to auto-rerender my card components when the windowSize changes. This seems to be the best solution.


cannot import name 'BlockBlobService'

Hi,
I have azure-storage-blob version 0.37.1 and still i get an error when i import BlockBlobService.
from azure.storage.blob import BlockBlobService # import azure sdk packages
Error message:
ImportError: cannot import name 'BlockBlobService'
Here is a list of existing azure storage packages in my current virtual environment:
azure-storage-blob==0.37.1
azure-storage-common==0.37.1
azure-storage-nspkg==2.0.0
How can i fix this?
Thanks.

Hi @melzoghbi, that seems very odd, could you please do a pip freeze?
Normally you should see the following azure packages:
azure-common==1.1.8
azure-nspkg==2.0.0
azure-storage-blob==0.37.1
azure-storage-common==0.37.1
azure-storage-nspkg==2.0.0

Which version of python are you using?

This is what i got when i executed pip freeze:
azure-common==1.1.8
azure-nspkg==2.0.0
azure-storage-blob==0.37.1
azure-storage-common==0.37.1
azure-storage-nspkg==2.0.0

@melzoghbi which version of Python are you using?

3.6.3 This is the Python version i am running on my notebook.

Hi @melzoghbi, I'm unable to reproduce this problem. It does not seem to be a problem with the storage package. Could you please try again with a different virtual environment? Thanks!

I get the same error with Python 2.7.12

Got the same on 3.6.4

got the same error on Python 3.6.5

Works perfectly fine for me:
virtualenv venv
source venv/bin/activate
pip install azure-storage-blob==0.37.1
python

from azure.storage.blob import BlockBlobService

pip freeze output
asn1crypto==0.24.0
azure-common==1.1.16
azure-nspkg==3.0.2
azure-storage-blob==0.37.1
azure-storage-common==0.37.1
azure-storage-nspkg==3.0.0
certifi==2018.10.15
cffi==1.11.5
chardet==3.0.4
cryptography==2.3.1
enum34==1.1.6
futures==3.2.0
idna==2.7
ipaddress==1.0.22
pycparser==2.19
python-dateutil==2.7.3
requests==2.19.1
six==1.11.0
urllib3==1.23

python --version output
Python 2.7.10

I'd suggest updating to a newer version and improving the verbosity. As @zezha-msft said, it sounds like something with your overall system setup isn't correct...

@zezha-msft can you please reopen this issue?
Steps to reproduce:
Environment and Python version:
conda create -n myenv python=3.5 azure

Output of pip freeze:
azure==3.0.0
azure-common==1.1.18
azure-mgmt==0.20.1
azure-mgmt-common==0.20.0
azure-mgmt-compute==0.20.1
azure-mgmt-network==0.20.1
azure-mgmt-nspkg==2.0.0
azure-mgmt-resource==0.20.1
azure-mgmt-storage==0.20.0
azure-nspkg==3.0.2
azure-servicebus==0.20.1
azure-servicemanagement-legacy==0.20.1
azure-storage==0.20.3

Error (note that only the second import statement throws an error):
>>> import azure.storage.blob
>>> from azure.storage.blob import BlockBlobService
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'BlockBlobService'

Still getting this error.

Your code might still be using the legacy Python BlobSDK (https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-python-legacy)
But you might have update the library to the latest version.
Use this SDK now for updated code https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-python

That didn't work for me. Still getting this issue.

How do we move past this?

Hi @courtenayparserr
probably you are using the most recent package？
If the package version is 12.0.0 then try to create a new virtual environment and do:
pip install azure-storage-blob==2.1.0
You will be able to import BlockBlobService

Hi @courtenayparserr
Would you like to provide the pip freeze outcome？

azure-common==1.1.23
azure-storage-blob==2.1.0
azure-storage-common==2.1.0
certifi==2019.9.11
cffi==1.13.2
chardet==3.0.4
cryptography==2.8
idna==2.8
pycparser==2.19
python-dateutil==2.8.1
requests==2.22.0
six==1.13.0
urllib3==1.25.7

Hi @xiafu-msft
Any progress here?

Hi @courtenayparserr
Your pip freeze result is exactly the same as mine....

For me it worked after I installed azure package:
pip install azure
I noticed that it uninstalls latest version of azure-storage-blob
Now I have these:
pip freeze
adal==1.2.2
azure==4.0.0
azure-applicationinsights==0.1.0
azure-batch==4.1.3
azure-common==1.1.23
azure-core==1.0.0
azure-cosmosdb-nspkg==2.0.2
azure-cosmosdb-table==1.0.6
azure-datalake-store==0.0.48
azure-eventgrid==1.3.0
azure-graphrbac==0.40.0
azure-keyvault==1.1.0
azure-loganalytics==0.1.0
azure-mgmt==4.0.0
azure-mgmt-advisor==1.0.1
azure-mgmt-applicationinsights==0.1.1
azure-mgmt-authorization==0.50.0
azure-mgmt-batch==5.0.1
azure-mgmt-batchai==2.0.0
azure-mgmt-billing==0.2.0
azure-mgmt-cdn==3.1.0
azure-mgmt-cognitiveservices==3.0.0
azure-mgmt-commerce==1.0.1
azure-mgmt-compute==4.6.2
azure-mgmt-consumption==2.0.0
azure-mgmt-containerinstance==1.5.0
azure-mgmt-containerregistry==2.8.0
azure-mgmt-containerservice==4.4.0
azure-mgmt-cosmosdb==0.4.1
azure-mgmt-datafactory==0.6.0
azure-mgmt-datalake-analytics==0.6.0
azure-mgmt-datalake-nspkg==3.0.1
azure-mgmt-datalake-store==0.5.0
azure-mgmt-datamigration==1.0.0
azure-mgmt-devspaces==0.1.0
azure-mgmt-devtestlabs==2.2.0
azure-mgmt-dns==2.1.0
azure-mgmt-eventgrid==1.0.0
azure-mgmt-eventhub==2.6.0
azure-mgmt-hanaonazure==0.1.1
azure-mgmt-iotcentral==0.1.0
azure-mgmt-iothub==0.5.0
azure-mgmt-iothubprovisioningservices==0.2.0
azure-mgmt-keyvault==1.1.0
azure-mgmt-loganalytics==0.2.0
azure-mgmt-logic==3.0.0
azure-mgmt-machinelearningcompute==0.4.1
azure-mgmt-managementgroups==0.1.0
azure-mgmt-managementpartner==0.1.1
azure-mgmt-maps==0.1.0
azure-mgmt-marketplaceordering==0.1.0
azure-mgmt-media==1.0.0
azure-mgmt-monitor==0.5.2
azure-mgmt-msi==0.2.0
azure-mgmt-network==2.7.0
azure-mgmt-notificationhubs==2.1.0
azure-mgmt-nspkg==3.0.2
azure-mgmt-policyinsights==0.1.0
azure-mgmt-powerbiembedded==2.0.0
azure-mgmt-rdbms==1.9.0
azure-mgmt-recoveryservices==0.3.0
azure-mgmt-recoveryservicesbackup==0.3.0
azure-mgmt-redis==5.0.0
azure-mgmt-relay==0.1.0
azure-mgmt-reservations==0.2.1
azure-mgmt-resource==2.2.0
azure-mgmt-scheduler==2.0.0
azure-mgmt-search==2.1.0
azure-mgmt-servicebus==0.5.3
azure-mgmt-servicefabric==0.2.0
azure-mgmt-signalr==0.1.1
azure-mgmt-sql==0.9.1
azure-mgmt-storage==2.0.0
azure-mgmt-subscription==0.2.0
azure-mgmt-trafficmanager==0.50.0
azure-mgmt-web==0.35.0
azure-nspkg==3.0.2
azure-servicebus==0.21.1
azure-servicefabric==<IP_ADDRESS>
azure-servicemanagement-legacy==0.20.6
azure-storage-blob==1.5.0
azure-storage-common==1.4.2
azure-storage-file==1.4.0
azure-storage-queue==1.4.0
certifi==2019.9.11
cffi==1.13.2
chardet==3.0.4
cryptography==2.8
idna==2.8
isodate==0.6.0
msrest==0.6.10
msrestazure==0.6.2
oauthlib==3.1.0
pycparser==2.19
PyJWT==1.7.1
python-dateutil==2.8.1
requests==2.22.0
requests-oauthlib==1.3.0
six==1.13.0
urllib3==1.25.7

Hi I am having problem importing BlockBlobService using both azure-storage-blob==2.1.0 and azure-storage-blob==12.0.0 under Python 3.7.6.

I think there is some dependency bug in the source code  (version  azure-storage-blob==2.1.0 )  of blockblobservice.py and init.py under site-packages/azure/storage/blob/  directory.  Because when I type in
from azure.storage.blob.blockblobservice import BlockBlobService
it worked.

Hi @harmonyliu
to use BlockBlobService  in azure-storage-blob==2.1.0
make sure you have a clean virtual environment(It's highly recommended to create a new one)
and just do pip install azure-storage-blob==2.1.0
No extra command is needed.
Let me know if it's still not working

This works for me
pip install azure-storage --upgrade
pip install azure-storage-blob --upgrade
pip install azure --upgrade
after this pip freeze gives
azure==4.0.0
azure-storage==0.36.0
azure-storage-blob==1.5.0

This worked for me
azure-batch==6.0.0
azure-storage-blob==1.4.0

This is very confusing...

Per @lmazuel in this thread two days ago, "azure-storage is an incompatible old version of azure-storage-blob. You cannot install them at the same time, and that will create terrible conflicts."
This directly conflicts with @yashpatel7025 's "solution" above.
As outlined in the thread with @lmazuel, I could NOT install BlobServiceClient.

To get it working, I had to uninstall azure-storage then !pip install -U azure-storage-blob to fix the problem.

NOW, I can't install BlockBlobService which exhibits nearly the same error as I had with BlobServiceClient from the other day!
I'm trying to use the elegant code found here to directly download large binary files from the web straight to a blob.
I'm using Azure Notebooks and Azure Databricks so no, I can't complicate things with using venv's. These are basically hosted Jupyter notebooks without access to the OS which hosts them.

import os, uuid, json
from azure.identity import ClientSecretCredential
from azure.common.credentials import ServicePrincipalCredentials
from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient, BlockBlobService
from azure.mgmt.resource import ResourceManagementClient
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-63-d1e5e411e620> in <module>
      2 from azure.identity import ClientSecretCredential
      3 from azure.common.credentials import ServicePrincipalCredentials
----> 4 from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient, BlockBlobService
      5 from azure.mgmt.resource import ResourceManagementClient

ImportError: cannot import name 'BlockBlobService'

!pip freeze azure packages:

azure==4.0.0
azure-applicationinsights==0.1.0
azure-batch==4.1.3
azure-cli-core==2.0.54
azure-cli-nspkg==3.0.4
azure-cli-telemetry==1.0.4
azure-common==1.1.23
azure-core==1.4.0
azure-cosmosdb-nspkg==2.0.2
azure-cosmosdb-table==1.0.6
azure-datalake-store==0.0.48
azure-eventgrid==1.3.0
azure-graphrbac==0.40.0
azure-identity==1.3.1
azure-keyvault==1.1.0
azure-kusto-data==0.0.38
azure-kusto-ingest==0.0.38
azure-loganalytics==0.1.0
azure-mgmt==4.0.0
azure-mgmt-advisor==1.0.1
azure-mgmt-applicationinsights==0.1.1
azure-mgmt-authorization==0.50.0
azure-mgmt-batch==5.0.1
azure-mgmt-batchai==2.0.0
azure-mgmt-billing==0.2.0
azure-mgmt-cdn==3.1.0
azure-mgmt-cognitiveservices==3.0.0
azure-mgmt-commerce==1.0.1
azure-mgmt-compute==4.6.2
azure-mgmt-consumption==2.0.0
azure-mgmt-containerinstance==1.5.0
azure-mgmt-containerregistry==2.8.0
azure-mgmt-containerservice==4.4.0
azure-mgmt-cosmosdb==0.4.1
azure-mgmt-datafactory==0.6.0
azure-mgmt-datalake-analytics==0.6.0
azure-mgmt-datalake-nspkg==3.0.1
azure-mgmt-datalake-store==0.5.0
azure-mgmt-datamigration==1.0.0
azure-mgmt-devspaces==0.1.0
azure-mgmt-devtestlabs==2.2.0
azure-mgmt-dns==2.1.0
azure-mgmt-eventgrid==1.0.0
azure-mgmt-eventhub==2.6.0
azure-mgmt-hanaonazure==0.1.1
azure-mgmt-iotcentral==0.1.0
azure-mgmt-iothub==0.5.0
azure-mgmt-iothubprovisioningservices==0.2.0
azure-mgmt-keyvault==1.1.0
azure-mgmt-loganalytics==0.2.0
azure-mgmt-logic==3.0.0
azure-mgmt-machinelearningcompute==0.4.1
azure-mgmt-managementgroups==0.1.0
azure-mgmt-managementpartner==0.1.1
azure-mgmt-maps==0.1.0
azure-mgmt-marketplaceordering==0.1.0
azure-mgmt-media==1.0.0
azure-mgmt-monitor==0.5.2
azure-mgmt-msi==0.2.0
azure-mgmt-network==2.7.0
azure-mgmt-notificationhubs==2.1.0
azure-mgmt-nspkg==3.0.2
azure-mgmt-policyinsights==0.1.0
azure-mgmt-powerbiembedded==2.0.0
azure-mgmt-rdbms==1.9.0
azure-mgmt-recoveryservices==0.3.0
azure-mgmt-recoveryservicesbackup==0.3.0
azure-mgmt-redis==5.0.0
azure-mgmt-relay==0.1.0
azure-mgmt-reservations==0.2.1
azure-mgmt-resource==2.0.0
azure-mgmt-scheduler==2.0.0
azure-mgmt-search==2.1.0
azure-mgmt-servicebus==0.5.3
azure-mgmt-servicefabric==0.2.0
azure-mgmt-signalr==0.1.1
azure-mgmt-sql==0.9.1
azure-mgmt-storage==2.0.0
azure-mgmt-subscription==0.2.0
azure-mgmt-trafficmanager==0.50.0
azure-mgmt-web==0.35.0
azure-nspkg==3.0.2
azure-servicebus==0.21.1
azure-servicefabric==<IP_ADDRESS>
azure-servicemanagement-legacy==0.20.6
azure-storage-blob==12.3.0
azure-storage-common==2.1.0
azure-storage-file==1.4.0
azure-storage-queue==2.1.0
azureml-automl-core==<IP_ADDRESS>
azureml-contrib-notebook==1.0.72
azureml-core==1.0.72
azureml-dataprep==1.1.30
azureml-dataprep-native==13.1.0
azureml-defaults==1.0.72
azureml-explain-model==1.0.72
azureml-interpret==<IP_ADDRESS>
azureml-model-management-sdk==1.0.1b6.post1
azureml-opendatasets==<IP_ADDRESS>
azureml-pipeline==1.0.72
azureml-pipeline-core==1.0.72
azureml-pipeline-steps==1.0.72
azureml-sdk==1.0.72
azureml-telemetry==1.0.72
azureml-train==1.0.72
azureml-train-automl==1.0.72
azureml-train-core==1.0.72
azureml-train-restclients-hyperdrive==1.0.72

There is a new message when trying to download !pip install azure saying something to the effect of "After vX.0 of azure, downloading all packages at once is deprecated. Please download packages individually", we really need these dependencies fixed.
One of the goals of using python within notebooks is the concept of reproducability. Its evident from this string and others around the web that simply importing azure modules at this time is not reproducable.
Lets get this fixed once and for all. What can I do to help test?

Ok. I've been able to figure out how to get BlobServiceClient and BlockBlobService running in Azure Notebooks (thanks in part to @harmonyliu!):

!pip uninstall azure -y
!pip install azure==4.0.0
from azure.storage.blob.blockblobservice import BlockBlobService
from azure.storage.blob import BlobServiceClient
Hope this helps

@SeaDude I think that solution doesn't work anymore, I've tried quite a few times with every possible solution.
I need to know if anyone is able to run BlobServiceClient and BlockBlobService together.

Hi @prakharcode
You cannot import BlobServiceClient(in package version 12..) and BlockBlobService(package version <= 2.1.0) at the same time by pip install. because they are sharing the same namespace azure.storage.blob but the code for these two versions are totally different.
While it seems azure CLI has a multi version api package, and if you really want to use v12 and v2.1.0 together, let's see if they can help

@xiafu-msft In the same situation as @prakharcode, not sure what your solution entails we do. Should we test it out with multiple version of the Azure CLI?

@vipulgupta2048 I just left the old version (v2.1) altogether and implemented everything on (v12.0) :)

I am trying to move from azure-storage-blob==1.5.0 to 12.3.2, but I can't figure out for the life of me how to import BlockBlobService in the new version!
With 1.5.0, I import and use as follows:
import azure.storage.blob as azureblob
...
self.configFile = json.loads(azureblob.BlockBlobService(account_name = '****', account_key='*****==').get_blob_to_text('config',configFileName).content)

When I do that, though, I get the << Module 'azure.storage.blob' has no 'BlockBlobService' member >> error on the attempt to connect to the blob.
I've tried a bunch of different ways to import the blockblobservice object, but just can't seem to come up with anything that works.

Hi @dxkaufman
Thanks for reaching out. There's no BlockBlobService in version>=12.0.0. Please see the wiki https://github.com/Azure/azure-storage-python/wiki#frequently-encountered-problem-no-module-named-azurestorageblob
To get text content of blob in v12.3.2, you should do the following thing
        bsc = BlobServiceClient(
            self.account_url(storage_account, "blob"),
            credential=account_key)

        blob_client = bsc.get_blob_client(your_container_name, your_blob_name)

        blob_client.upload_blob(text_data)

        # Act
        stream = blob_client.download_blob(max_concurrency=2, encoding='UTF-8')
        content = stream.readall()  # this will give you the text content

Hi @xiafu-msft
Thanks for the quick response. I was starting to get that idea, although I was looking at SDK documentation that seemed to indicate it was still part of the model. I think the docs aren't super clear about what version they relate to.
I appreciate the sample. All the samples I was looking at last night seem to create a container before accessing it, even when the description is just for reading a blob. I found that a little confusing, though I surmised that the assumption was that the container didn't exist yet, and your example seems to make that clearer.
Dylan

I was getting a similar issue. The following post got me thinking

I think there is some dependency bug in the source code (version azure-storage-blob==2.1.0 ) of blockblobservice.py and init.py under site-packages/azure/storage/blob/ directory. Because when I type in
from azure.storage.blob.blockblobservice import BlockBlobService
it worked.

I changed the import statement to
import azure.storage.blob._blob_service_client
and it worked

@xiafu-msft,
Thank you for the example of how to use BlobServiceClient to get a BlobClient. I now see this option listed in the SDK docs here.
An alternative is to instantiate a separate BlobClient using a SAS. Not sure if its any easier, but the way I did it was:
blob_client = BlobClient.from_blob_url(blob_url = sas_token)

with open("./sampleFile.txt", "rb") as data:
    blob_client.upload_blob(data)

Acho que há algum bug de dependência no código-fonte (versão azure-storage-blob == 2.1.0) de blockblobservice.py e init .py em site-packages / azure / storage / blob / directory. Porque quando eu digito
from azure.storage.blob.blockblobservice import BlockBlobService
funcionou.

Thakns harmonyliu, its work for me.

For me it was just
pip install azure-storage-blob==2.1.0

I'm seeing this error and have yet to find a solution that works is 2021.
Python version: 3.8.5
File "data_functions.py", line 35, in <module>
    from azure.storage.blob import BlobClient
ImportError: cannot import name 'BlobClient' from 'azure.storage.blob' (/tmp/_MEIXh7p9M/azure/storage/blob/__init__.pyc)

pip freeze
azure==4.0.0
azure-common==1.1.24
azure-core==1.15.0
azure-storage-blob==12.8.1
azure-storage-common==1.4.0
azure-storage-file==1.4.0
azure-storage-file-datalake==12.0.0b7
azure-storage-file-share==12.0.1
azure-storage-queue==1.4.0

How can I get this code to run?

You seem to have far too much (& incompatible) stuff installed.
Do not mix this repo and similar storage libraries with azure-sdk-for-python libraries.
$ python --version
> Python 3.8.10

$ pip install azure-storage-blob
> ...

$ pip freeze
> azure-core==1.15.0
> azure-storage-blob==12.8.1
> certifi==2021.5.30
> cffi==1.14.5
> chardet==4.0.0
> cryptography==3.4.7
> idna==2.10
> isodate==0.6.0
> msrest==0.6.21
> oauthlib==3.1.1
> pycparser==2.20
> requests==2.25.1
> requests-oauthlib==1.3.0
> six==1.16.0
> urllib3==1.26.5

$ python -c "from azure.storage.blob import BlobClient" && echo $?
> 0

I suggest to use pip-tools (or pipenv or poetry) to clean up your virtual environment.
Or completely delete it and rebuild it properly.

Hi @harmonyliu to use BlockBlobService in azure-storage-blob==2.1.0 make sure you have a clean virtual environment(It's highly recommended to create a new one) and just do pip install azure-storage-blob==2.1.0 No extra command is needed.
Let me know if it's still not working

this worked for me when I was dealing with BlockBlobService import issues

Hi
I wanna write xlsx file directly into azure blob. I am trying the following but getting error:
from azure.storage.blob import (
BlockBlobService
)

Pls suggest any better method if possible
Thanks

Hi @xiafu-msft Any suggestions on the above please :)

This works for me
pip install azure-storage --upgrade pip install azure-storage-blob --upgrade pip install azure --upgrade
after this pip freeze gives
azure==4.0.0 azure-storage==0.36.0 azure-storage-blob==1.5.0
now I am able to run following from azure.storage.blob import BlockBlobService, PublicAccess

you are a legend, worked for me. thanks!


Update collection-index.yml

Add Skyramp tooling to Collections

@samruddhikhandale -- much thanks! We had a formatting typo on our side and have updated our feature. How/when does collection crawling take place to update the enumerated features listed?

Hi @texmachina, the crawler runs once per day (automatically), and we also manually run it when anyone adds a new entry to the index.
I ran the crawler now, let me know if there are any issues.

@samruddhikhandale - looks good! Thanks again for all of your help. 😄


Viruses?

Hello. I have a problem.
I can't download from this link:
https://github.com/skeeto/w64devkit/releases/download/v2.0.0/w64devkit-x64-2.0.0.exe
Google Chrome says it's a virus and won't let you download the program:

I checked the link use VirusTotal and it says all is well:

https://www.virustotal.com/gui/url/4bff821231567fbe7765ee563a7953a0380279e83d87e0816baa37d298c977b6

Yeah, Chrome does its own screening in addition to the Windows stuff, but
you should be able to override it with some effort. It will treat you like
a child and fight you at each step, but ultimately you're in charge… for
now. Look for the word "Keep" (at least in English locales) when you mouse
over the download entry. It might be behind an ellipsis "more" button.
To see if I could figure out the "Keep" navigation, I just downloaded it
in a fresh Windows+Chrome install, but it didn't stop me. So perhaps its
reputation improved enough just now. Maybe your followup Virus Total scan
gave it a clean bill of health. I believe its connected to Chrome's
download screen after all.

Microsoft Edge says the same thing and won't let me download the file...
However, the software author can manually write that it is an error:
 https://feedback.smartscreen.microsoft.com/feedback.aspx

the same by Windows Security scanner

@tdiz in this screen there is a way to click "allow" which should stop defender harassing you for this occasion.

this is virus, probably repo is compromised


Investigate getting a gov.uk domain

What
Investigate getting a gov.uk domain for the Prototype Kit site
Why

as an official gov.uk service we should have a domain
Some users are getting blocked on our current domain

Meeting GOV.UK policy team on Thursday

We met for discussion, agreement reached, follow up: #66


Post release automated changes for storage releases

Post release automated changes for azure-arm-storage-profile-2020-09-01-hybrid

API change check
API changes are not detected in this pull request.


ARROW-10485: [R] Accept partitioning in open_dataset when file paths are hive-style

Also fixes ARROW-14743

CI failures are unrelated

@jonkeane do you want to give this another look?


Add a test for target elements not yet added to the DOM

This adds a test which fails in IE 11 on Windows 7 with this bug https://connect.microsoft.com/IE/feedback/details/829392/calling-getboundingclientrect-on-an-html-element-that-has-not-been-added-to-the-dom-causes-unspecified-error
This issue was not caught before, because all elements tested are added with the test fixtures. The getBoundingClientRect bug in IE 11 is specific to elements created using document.createElement() that have not yet been added to the DOM.
This should be fixed with #205

Thanks! Can you rebase against gh-pages to pick up the latest changes? It looks like your test is failing because it's making some old assumptions.

@philipwalton I rebased against gh-pages. This branch only contains a new test "handles target elements not yet added to the DOM" that should fail in IE. The fix is in https://github.com/WICG/IntersectionObserver/pull/205

Thanks!


Add support for search-guard deployed as a Debian package, to

correspond with the Debian package provided by Elasticsearch.

This is per se a good idea but if we introduce this it would have several implications:

We need to maintain and test it
One may ask why we do not offer rpm's as well
Full power of deb and rpm is only unleashed if we can somehow push them into an official repository or we need to set one up ourself which both need to managed and tested for every release.

For the same reasons we do also not offer official docker images.
So for us it would be more beneficial if someone else can provide an maintain deb or rpm builds.

Happy to contribute RPM packaging as well, DEB was my immediate need.
Not asking for binaries, just the ability to build binaries of my choice without a major headache to fit in with our development lifecycle.
Separately, getting search-guard* into major distros or available for major distros will make the lives of those who install it massively easier. The days of downloading and installing software by hand are long long gone.


Mxnet R Package Installation Doc Bug

Wrong:
# current repo doc:  https://github.com/apache/incubator-mxnet/tree/master/R-package
cran <- getOption("repos")
cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/"
options(repos = cran)
install.packages("mxnet",dependencies = T)

Correct:
cran <- getOption("repos")
cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/"
options(repos = cran)
install.packages("mxnet",dependencies = T)

Reference
https://stackoverflow.com/questions/43872455/mxnet-package-installation-in-r

@sandeep-krishnamurthy  Could you please tag this as Documentation

same issue like:
#10088
#7985

I summarise an installation example on GPU/linux in detail for Chinese users:
https://segmentfault.com/a/1190000013899075

I recommend someone officially public a stable version mxnet package to CRAN, just like pip install mxnet-cu80, which can make installation and development easier.

This issue has been resolved in the latest master. @sandeep-krishnamurthy please close this issue.
@harryprince feel free to reopen if the problem persists.


[VP9D] resolution change check removed if VA used

Can been removed when VA surface reallocation patch implemented.
MDP-53745

@IlyaSergeyev, isn't this the same as MDP-52037?

@IlyaSergeyev, isn't this the same as MDP-52037?

Yes


Create Anagrammanipulatorr.java

Kindly create an issue for this pr and use proper pr template given in the readme file


Fixing error trying to access locationBeforeTransitions of undefined when hot reloading

I have had a bug recently on my app based on the starter-kit. When hot-reloading, it was showing an error (forcing a browser refresh) stating that it could not access locationBeforeTransitions of undefined.
It looks like checking if the state exists in syncHistoryWithStore fixes the error:
const history = syncHistoryWithStore(browserHistory, store, {
  selectLocationState: (state) => state && state.router // instead of => state.router
})

Has anyone had the same issue ?

Sorry, this is actually solved in this pull request: #876


chore(driver): Remove backend dependence from driver construction

Description

Problem*

Resolves #1680
Summary*

This removes language and is_opcode_supported arguments from the construction of the Driver. This is a half-measure while #1394 is outstanding. I tried to update that PR with upstream changes and all the tests were failing, so we should merge this intermediate step so I can continue moving forwards on fixing dependency resolution inside the LSP.
Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

While working on this, I noticed that we should be implementing Copy on the Language enum. See https://github.com/noir-lang/acvm/pull/406
PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

How does this block dependency resolution?

How does this block dependency resolution?

We want to store a Context and use references to it, which is leading me to pretty much remove Driver completely. Moving these values to function arguments makes this possible.


RELEASER_PROJECTS_TO_SKIP list with spaces after comma doesn't fail

See https://jenkins.spring.io/view/Spring Cloud/view/Releaser/job/spring-cloud-meta-releaser/97/

Fixed via https://github.com/spring-cloud/spring-cloud-jenkins-jobs/commit/5397d1bf32c146532117029ba7635c36db486df3


partially initialized module 'streamlit' has no attribute 'title'

Very cool project.
> python ./examples/streamlitchat.py
Traceback (most recent call last):
  File "/Users/jeng/ai/languagemodels/./examples/streamlitchat.py", line 8, in <module>
    import streamlit as st
  File "/Users/jeng/ai/languagemodels/examples/streamlit.py", line 11, in <module>
    st.title("[languagemodels](https://github.com/jncraton/languagemodels) Demo")
    ^^^^^^^^
AttributeError: partially initialized module 'streamlit' has no attribute 'title' (most likely due to a circular import)

I just learned what streamlit was and it looks like it is running on my computer, so it doesn't make sense that the script doesn't work.
> streamlit hello

      👋 Welcome to Streamlit!

      If you’d like to receive helpful onboarding emails, news, offers, promotions,
      and the occasional swag, please enter your email address below. Otherwise,
...

Nevermind! I played with streamlit more and can see I need to run it like this. Maybe the readme needs to make this clear.
streamlit run examples/streamlit.py


Multiple image selection memory leak

Hi,
This bug is not actually a problem in BSImagePicker, but is in fact related to the function used to get the image from the asset.
I have a for loop that iterates over all the assets returned by BSImagePicker, and calls the following function to get a UIImage for each asset in turn:
    func getImageAsset( asset: PHAsset ) -> UIImage? {
        let manage    = PHImageManager.default( )
        let option       = PHImageRequestOptions( )
        let targetSize = CGSize( width: asset.pixelWidth, height: asset.pixelHeight )

        option.resizeMode      = .none
        option.isSynchronous = true

        var image: UIImage? = nil
        manager.requestImage(for: asset, targetSize: targetSize, contentMode: .default, options: option, resultHandler: { ( result, info ) in
            image = result!
        })
        return image;
    }

The image returned by this function is then saved to another location on disk, and an entry recorded in an sqlite table.
However, if I select too many images, the program is killed because memory runs out, and after having profiled the application, I found the location of the memory that is not being freed:

Notice the purple graph, which is for VM: IOSurface. If you look to the bottom right, you will see the stack, and the reference to NewTrayViewController.getImageAsset( asset: ) which is the function listed above. As you can see, the memory allocated during the above function is not cleaned up after each iteration of the for loop, but only releases when the entire view goes out of scope.
Would you perhaps know of another way to iterate over the assets, so that the images returned are freed after each use? Or do I somehow have to explicitly release the asset or image?

I don't see anything immediately wrong with the code. But can give you some tips/recommendations that might help you.
        let targetSize = CGSize( width: asset.pixelWidth, height: asset.pixelHeight )

I would reconsider if I really need the full image or if it would be fine to request a smaller version. The full image will probably several megabytes.
        option.isSynchronous = true

I wouldn't recommend anyone using synchronous fetching. The asset might not be on the phone if a user has enabled iCloud photos and if you are requesting the full asset that can take quite a while to fetch. As it looks like you are doing it from the main thread that will freeze the entire UI/app. And possible make the watchdog terminate the app if you do it for too long.
        manager.requestImage(for: asset, targetSize: targetSize, contentMode: .default, options: option, resultHandler: { ( result, info ) in
            image = result!
        })

One thing to keep in mind with requestImage is that you can get multiple callbacks for the same asset. First you can get a low quality/fast image and later the high quality version.
You can set that behavior with the deliveryMode property on PHImageRequestOptions.

Firstly, thank you for the quick response and feedback.
We use the full image because we process it and send it through a couple ML models, and don't want any interference from any libraries that scale or resize the image in a way we are not expecting. So we kinda need the full image.
You are correct in that it shouldn't be done on the main UI thread, so I will look into fixing that and again thank you for the suggestion.
Besides the suggestions, can you think of anything or suggest anything further to try to get the closure to release the UIImage on each iteration? I have already tried to move the requestImage into a separate function call that only returned -> UIImage?, but the behaviour remained the same. I also tried to move the entire requestImage into a separate class that only returned a UIImage, and again, the same behaviour.
Any ideas or suggestions would be greatly appreciated.

We use the full image because we process it and send it through a couple ML models, and don't want any interference from any libraries that scale or resize the image in a way we are not expecting. So we kinda need the full image.

I'm by no means an ML expert. But I did develop a feature for a popular classified ads platform that recognized the images a user uploaded so they didn't have to select category. And that worked fine with something in the range of 100x100 to 300x300 images.
Of course you know best what you need, my only point is that it doesn't always need to be 5000x5000 because it is being processed by ML.

Any ideas or suggestions would be greatly appreciated.

I'm a bit lazy, do you think you could provide a fully working example I can try out? :p


MERGE INTO WHEN NOT MATCHED THEN INSERT * fails on schema evolution (new column at source) when run via SQL

Problem
When trying to run MERGE INTO command in spark sql with clause:
WHEN NOT MATCHED THEN INSERT *  getting error:
org.apache.spark.sql.AnalysisException: Unable to find the column 'col2' of the target table from the INSERT columns: id. INSERT clause must specify value for all the columns of the target table.
This only happens for insert part and only when this is executed via spark sql (as per below steps to reproduce)
Steps to reproduce
Version: Spark 3.0.0 with delta-core 0.7.0

    val conf = new SparkConf()
    .set("spark.master", "local")
      .set("spark.sql.extensions", "io.delta.sql.DeltaSparkSessionExtension")
      .set("spark.sql.catalog.spark_catalog", "org.apache.spark.sql.delta.catalog.DeltaCatalog")
      .set("spark.databricks.delta.schema.autoMerge.enabled", "true")

    var spark = SparkSession
      .builder()
      .appName("delta lake test")
      .config(conf)
      .getOrCreate()

    val data = spark.range(0)
    print(data.columns.mkString(","))
    data.write.format("delta").mode("Overwrite").save("local_path")

    var data2 = spark.range(2,20).toDF
    data2 = data2.withColumn("col2", lit("1").cast("String"))
    print(data2.show(100, false))
    data2.createOrReplaceTempView("table2")

    val dt2 = spark.read.format("delta").load("local_path")
    dt2.createOrReplaceTempView("test2")

   // ERROR HAPPENING ON THIS STATEMENT
    spark.sql("merge into test2 as t using table2 as s on t.id = s.id WHEN MATCHED THEN UPDATE SET * WHEN NOT MATCHED THEN INSERT *  ")

removing WHEN NOT MATCHED INSERT * clause makes the statement work (i get new schema with col2 added)
spark.sql("merge into test2 as t using table2 as s on t.id = s.id WHEN MATCHED THEN UPDATE SET *")

running update/insert via Scala API also works
    val kk = DeltaTable.forPath("local_path")
    kk.alias("t").merge(
        data2.alias("s"),
        "t.id = s.id")
      .whenMatched().updateAll()
      .whenNotMatched().insertAll()
      .execute()

Expected Result
Both Spark SQL and API merge work in the same way and allow for schema evolution with option "spark.databricks.delta.schema.autoMerge.enabled" set to "true"
in this case, as per https://docs.delta.io/latest/delta-update.html#merge-examples&language-scala
i would expect new column to be added, which works for api version.

I've hit this too, with the python api , databricks 7.4 and 7.3

I had another look at this on delta-core 0.8.0, and the error is gone, but schema evolution still does not work (MERGE statement completes successfully, but any source columns not present in target table are ignored).
From looking into the code, schema evolution on MERGE directly from SQL statement is not supported yet?
Would be great to add this.

We're literally in production (for 1 year) with Delta and this doesn't work, causing pain and trouble. Delta 0.8.0/Spark 3 on EMR 6.2. We're indeed also using Spark SQL.

Lately I found that this specific error also happens with this very misleading message when there is a type mismatch on the merge condition
on t.id = s.id

For example if t.id and s.id aren't the same type.


Fix patching django.utils.timezone.now on kpi tests.

Tests where failing because we only patched now in api/views.py namespace and not in base/utils.py.

@akatsoulas r?

Coverage increased (+0.03%) to 92.08% when pulling b093a4e7966dbaff685c08b0cbf370c7aae82b56 on johngian:fix-tests into 79563b8ef0a65dd91f31a360a40d191c314943c2 on mozilla:remo-api.

r+


Download resources

Use this issue to discuss the Download resources in the ONS Design System

Preview of this in the design system has a page of extreme length and it slowly auto-scrolls upwards back into view. (The scrolling back up in the gif below is not user controlled.)

@armstrongb I noticed this also. I thought it was my computer playing funny buggers.
I would suspect this has something to do with the iframe resize, and not the component itself.


Add tooling to spin up local environments

Summary
...
Checklist

[x] PR contains a single logical change (to build a better changelog).
[x] Update the documentation.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.

Just another source of inspiration: In K8up we also did a KIND setup, but based on make: https://github.com/k8up-io/k8up/tree/master/e2e

Vcluster uses k3s, here we're using kind: We should at least document that so that there is awareness that it isn't the same Kubernetes distro.

Vcluster uses k3s, here we're using kind: We should at least document that so that there is awareness that it isn't the same Kubernetes distro.

I don't really care what we use, but APUB-155 (internal) explicitly asks for kind


docs : Added Necessary Files

Added contributing.md,
Change log
Code of conduct
Fixed indentation in readme.

@Janhvi52 can you please check if any change is required


Normal listing but successful msg show bulk

when listing a single item, msg show Bulk listing tx completed
it should be changed The listing is successful

Update as following table

Current
Single

All NFTs have been approved successfully
NFT have been approved successfully

Approval are not fully successful! xxx approvals completed successfully
Approval is not successful!

Bulk listing on marketplace..
Listing on marketplace..

All NFTs have been listed successfully
NFT has been listed successfully

Bulk listings are not fully successful! xxx listings completed successfully.
The listings is not fully successful!

@mitchdoan please review on pretest


Strange issue where opentok 1.0.3 Android built with Intel XDK truncates footer

Running into a strange issue, I have the opentok 1.0.3 Android built with Intel XDK v1826 (cordova 4.1.2 android builds) successfully but upon deployment, the footer of the app does not show anymore.
More detailed points:

The app just been stripped down to bare essentials such that there are no custom code anymore and only a basic header/footer bar in the app
I've removed all third party plugins and even the cordova plugins have been removed
The same code builds fine and the footer shows up fine for iOS builds.
I've tried not including the opentok.js file, no difference (footer does not show)
If I use opentok 1.0.2, the footer does show up

Anyone else have this issue?  Not quite sure how to proceed in tracking this one down...

bizarre...  I can actually get video running with 1.0.3 but the app is unusable as the UI's footer gets pushed way down.  If I switch to 1.0.2, the UI is fine but then I get a JSON error when trying to activate video (same code used in both with the proper opentok.js respectively).
It's as if something changed in 1.0.3 that actually messes with the webview somehow.  For example, I also have a background image for my main view.  In 1.0.2, it gets contained and sized properly to fit the screen but in 1.0.3, the background image is full sized so you would have to scroll to see the entire image, thus, it pushes the footer of the app to the way bottom.
Is there anything that changed in opentok 1.0.3 that somehow touches/adjusts the webview, its meta viewport settings, or anything like that?

update:
I'm now able to get the footer to display properly by removing this line in the opentok 1.0.3 plugin.xml file:

-or-
by making the targetSdkVersion = 19
My best guess is that when the targetSdkVersion is set to 17, the default Lollipop browser goes into quirksmode regarding the webview's viewport and does weird things...
Now.. I'm able to get one on one video going and all but there's still an issue in which it seems like the video of the publisher and subscriber position and width/height is calculated based off of the webview's dimensions and not the viewport's, so all the video are very small and positions are off...


System.Collections.Generic.KeyNotFoundException: The given key 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Kits\Debugging Tools for Windows (X86)\Debugging Help.lnk' was not present in the dictionary.

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
?
2023-07-09.txt
✔ Expected Behavior
No response
❌ Actual Behavior
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.22621.0
IntPtr Length: 8
x64: True
Date: 09/07/2023 00:17:30
Exception:
System.Collections.Generic.KeyNotFoundException: The given key 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Kits\Debugging Tools for Windows (X86)\Debugging Help.lnk' was not present in the dictionary.
at System.Collections.Concurrent.ConcurrentDictionary2.ThrowKeyNotFoundException(TKey key)    at System.Collections.Concurrent.ConcurrentDictionary2.get_Item(TKey key)
at Wox.Infrastructure.Image.ImageCache.get_Item(String path)
at Wox.Infrastructure.Image.ImageLoader.LoadAsync(String path, Boolean generateThumbnailsFromFiles, Boolean loadFullImage)
at Wox.Infrastructure.Image.ImageLoader.<>c.<b__16_1>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Other Software
No response

/dup https://github.com/microsoft/PowerToys/issues/25848


[bazel] New rules: //sw/device/lib/base/BUILD

Convert //sw/device/lib/base/BUILD to the new build rules.

Fixed by #19852


Change the thread pool size to minimumIdle on blocked initialization

Update addConnectionExecutor core pool size from available processors to minimum idle connections configured for performance improvement.
Link to issue Change the thread pool size to minimumIdle on blocked initialization

Potential IllegalArgumentException from ThreadPoolExecutor.setMaximumPoolSize?


fix: an incorrect return after checking TAU

Codecov Report
Base: 70.12% // Head: 70.30% // Increases project coverage by +0.17% :tada:

Coverage data is based on head (05303c3) compared to base (2dfa494).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #74      +/-   ##
===========================================
+ Coverage    70.12%   70.30%   +0.17%
===========================================
  Files           21       21
  Lines         3411     3411
===========================================
+ Hits          2392     2398       +6
+ Misses        1019     1013       -6

Flag
Coverage Δ

unittests
70.30% <100.00%> (+0.17%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...s/light_client/components/send_last_state_proof.rs
91.28% <100.00%> (+1.91%)
:arrow_up:

src/storage.rs
93.14% <0.00%> (-0.80%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[docs] Have inline previews for most of the demos

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

Summary 💡
Bring "inline previews" for as many demos as possible.
Examples 🌈

https://next.material-ui.com/components/buttons/#contained-buttons
Motivation 🔦
Inline previews were introduced in #17831 by @mbrookes. We have done a couple of iteration it increases their usage in the codebase. However, I believe we have never pushed it to its full potential. For instance: https://next.material-ui.com/components/accordion/.
This would match with the answers of the survey: docs - smaller demos.
Benchmark

https://sancho-ui.com/components/breadcrumb/ Note that being able to edit the demos directly is even simpler than opening in CodeSandbox.

I want to start taking this task #25268 (comment) and I have the following proposal for the page Chip https://gist.github.com/vicasas/d2ca635459db9139756c4fda0382a63c

@vicasas It llooks good. Will we render a standard and outlined chip in each section?

@oliviertassinari If exact, one of each variant, something like TextField.
I will try to upload a PR as Draft as soon as possible so that we can review a preview

This issue is related to #24640. It basically empowers. The more inline previews we have, the more interesting it will be to be able to edit the demos live.


Matrel vac improvements

Fixes some matrel bloating issues. There were a few things going on here:

Long running-xacts block autovac garbage collection, so long-running stream insertions will now periodically commit to prevent this from happening
Table stats weren't being reported often enough after sync_combine, which prevented that autovac from realizing that a matrel was due for a vacuum
Since we don't call heap_delete when deleting an expired SW tuple, a tuple's TOAST rows weren't being marked for deletion

The default naptime for the autovac also isn't ideal for update-heavy matrels, so I globally lowered it from 60s to 15s. It's not a table-level parameter.

Nice dude!

Can you give this one more once over? I made a few changes and there are still some potential issues, but this fixes most of what we were seeing and should be fine until #1068 puts all of this to rest.

Lgtm!


Factorial Using Big Integer

Have you read the Contributing Guidelines on Pull Requests?
yes
Description
(Write your answer here.)
Checklist

[yes ] I've read the contribution guidelines.
[yes ] I've checked the issue list before deciding what to submit.
[ yes] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Factorial Using Big Integer #1651 as assigned by @shraddhavp

@ErzaTitania-2001 There is already an ongoing PR #1663 on this.

@ErzaTitania-2001 There is already a PR #1663 on this.

okay @iamrajiv


dzi url without extension

Greetings,
what a great library !
Back to the point,
I need to expose my generated dzi xml with a url like http://example.com/A123, so without .dzi extension. My files are in http://example.com/A123_files
The missing extension somewhat confuses tiles url building, and the browser try to retrieve urls like http://example.com/A1239/0_0.jpg instead of http://example.com/A123_files/9/0_0.jpg.
I tried to change the regex that builds tilesUrl in dzitilesource.js line 142 this way and it seems to work
options.tilesUrl = url.replace(/([^\/]+)(.(dzi|xml|js))|\?|\/?$/, '$1_files/');

Good point! I think you'll actually want to change the regex to ([^\/]+)(\.(dzi|xml|js))?(\?.*|$) though.
Would you be up for making a pull request with this?

Sure,
I've come with these cases:

Data url
Tiles root url

/path/my.dzi
/path/my_files/

/path/my
/path/my_files/

/my/
/my_files/

my.xml
my_files/

/p/foo.dzi?a=1&b=2
/p/foo_files/

If the cases are OK, the pull request implementing this is #835

this breaks the case:
/iipsrv?DeepZoom=/my.dzi

I would suggest changing regex to /([^\/]+?)(\.(dzi|xml|js))?(\?[^\/]*)?\/?$/
that seem to cover mentioned cases as well as mine


Add password reset

Highlights:

Adds optional value default argument to getInput to allow populating input fields on creation (specifically used to populate hidden fields in this PR)
Adds user_id, signature and timestamp as hidden fields to the reset password form
Renames existing Reset Password component, view and route to Forgot Password
Adds new Reset Password component, view and route to allow user to submit their new password

Questions:

Is it fine for me to add the link-text.form-submit css class to src.css.citizen-engagement-app.webflow.css? I am only concerned because it has webflow in the name, so I am not sure if this will be overridden during an import?

 forgotten password | As a user I would like to be able to change my password when I've forgotten my old password

 forgotten password | As a user I would like to be able to change my password when I've forgotten my old password


Forcing save on server stopping

As the title says, i've modified totaleconomy to force saving the config when the server's closing.
Before this pr, it just asked the config to save, but only if you were lucky enough to have the autosaver task to run when the server was closing, or you had the "save-interval" value set to 0, otherwise your modifies weren't actually stored.
I've experienced this bug in a plugin where i tried to give back some money to the player when the server was stopping.
Another issue was that the event fired on Order.DEFAULT, which isn't the ideal order if you're implementing an api. Now it uses Order.LAST which i think represents better its importance.

Thanks for submitting this PR. I'll most likely get around to checking it out this weekend.


Timing Errors (workaround for widescale tests)

We have never carefully studied timing errors and the structure of MTH5 makes severe timing errors extremely unlikely, but it is possible to have some minor errors.  These should eventually be addressed in MTH5, with a generic solution.
For now these are impeding the widescale test processing, and a workaround will be put into aurora.
This issue was encountered when processing Station ORF10 with remote reference ORG10.
Recall that the KernelDataset has a dataframe which lists runs that need to be processed.
When there is a remote reference station, the rows of the dataframe are organized such that rows 0 and 1 correspond to a simultaneous data at Local and Reference stations respectively.
The same is true of rows 2 & 3, 4&5, and so on.
What goes wrong is that when loading the time series from mth5, the "paired" time series can have differing length.  Even if the TS are off by a single sample (which is the only problem I have seen so far), this can mean that the STFT spectrograms can have one more or one fewer spectral estimate.
For example, here is a run-pair:
A time series corresponding to ORF10, run=006 is loaded with
starttime 2006-09-07 22:50:22, and endtime 2006-09-18 14:59:13.875000. This TS has 7377056 samples
A time series corresponding to ORG10, run=002 is loaded with identical start and end times, but the TS has 7377055 samples.  We could call this a timing error -- technically it is, but seriously we are looking at +/- one sample of, in this case 8Hz data, over the course of 11 days, so it is trivial.

TS ORF10 006 (7377056,) 2006-09-07 22:50:22+00:00 2006-09-18 14:59:13.875000+00:00
TS ORG10 002 (7377055,) 2006-09-07 22:50:22+00:00 2006-09-18 14:59:13.875000+00:00

However, as it turns out, with default windows of length 128, and 96-sample advance (32-sample overlap) the ORF10 TS has exactly enough samples for 76844 spectral estimates, but the ORG10 TS is one sample shy, so it can only come up with 76843 spectral estimates.  What goes wrong downstream is in effective_degrees_of_freedom_weights but what went wrong was that we started with non-uniformly sampled data.
The proposed workaround is to drop FCs that do not match one another.  There are various ways to go about this.
A fairly straightforward solution would be to check the timestamps from local and RR are in agreement for each chunk right before the spectrograms are merged across all runs.
The request dataframes are attached
ORF09_request_dataframe.csv
ORG10_request_dataframe.csv
tfk_dataset.csv
tfk_dataset_time_periods.csv

N.B. My previous commit message incorrectly referenced 289, should have been 293, sigh ...


doc: Target v1.1.2 by default in documentation

:grey_question: About
v1.1.2 has been released, cf tweet :

:dart: Actions
This PR documents the most up-to-date version.

:+1:


pages in sub-directory fail to render

The image shows the content structure, where the file messages/index.html does not render when using hugo server or building the full site.
If the file messages/index.html is renamed, the server picks up the change and does build the corresponding page.

Thanks for getting in touch, but it feels like this is a question  that would be better suited to the Hugo Discussion Forum.  We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug. You may also find the answers you search for in Hugo Documentation.

The full content tree is this: /content/stories/crypto/2018-02-15-crypto_09/messages.
Let me know if there is anything I can do to help.

Let meticknow if there is anything I can do to help.

You can start by reading my post and tell me if that makes sense to you. If you want to have fully static content, you can move it to /static.

I'm still a bit confused, if that is the case shouldn't a file called messages.html be accessible at crypto_09/messages.html ? What happens is that the html file is ignored.
Putting that folder in /static would alienate a folder from it's context and I am trying to avoid that.

I'm new to hugo but I was having a similar issue. My content folder looked like
content/
├── biography.md
├── index.md
└── work
    ├── 1.md
    └── _index.md

Running hugo was not picking up content in the work folder, but hugo server would correctly detect and build these pages when they changed. The fix was to rename my root index.md to _index.md.
There is a significant difference between how hugo treats index and _index.
Putting index.html into a folder tells hugo that this is the last piece of content in this part of the content tree and not to look further. Everything else within the subfolder is part of a "bundle" now.
Putting _index.html into a folder is a way of defining content and front matter that gets displayed at the root of a section.
Long story short, try renaming index.html to _index.html and see if the rest of the content in that section starts getting built.

I have an similar issue. In the about the file is only rendered when it is _index.md named.
The same behaviour is happening in the awesome project directory.

content
├── _index.md
├── de
│   ├── _index.md
│   ├── about
│   │   └── index.md
│   ├── projects
│   │   ├── _index.md
│   │   └── awesome
│   │       └── index.md
│   ├── team
│   │   └── _index.md
│   └── theses
│       └── _index.md
└── en
    ├── about
    │   └── index.md
    ├── projects
    │   ├── _index.md
    │   └── ourpuppet
    │       └── index.md
    ├── team
    │   └── _index.md
    └── theses
        └── _index.md

@aethr +1 with your sharp observation. I had been investigating this issue for weeks already.


MiniTabBar Swift 3 no longer support in XCode 10.2

Getting following issue after upgrade XCode to 10.2:
Swift 3 mode has been deprecated and will be removed in a later version of Xcode. Please migrate "MiniTabBar" to Swift 4.2 using "Convert > To Current Swift Syntax…" in the Edit menu. (in target 'MiniTabBar')
May i know will this plugin support Swift 4.2~5 in future?

Hello @LSmint ,
This plugin doesnt use the third party library MiniTabBar anymore. It uses the native API UITabBAr.
If you upgrade the plugin to the latest version you wont have this issue anymore but there is some breaking changes since the use of MiniTabBar.
Please follow the README to upgrade.
And install it with the following command:
tns plugin add nativescript-bottombar@next

Thank alot! @rhanb
For Notification, in MiniTabBar we can using BottomBar.setNotification(value, index) to update the bar badge. How it works in UITabBar to update badge dynamically?

@LSmint simply change the value of the badge property
API here https://github.com/rhanb/nativescript-bottombar/blob/master/API_DOCUMENTATION.md#bottombaritem
set badge to null to hide it


Constructor injection in validators

Is it possible to do something like below:
public class CustomerCreateValidator : AbstractValidator<CustomerViewModel>
{
    readonly ApplicationUserManager _userManager;

    public CustomerCreateValidator(ApplicationUserManager userManager)
    {
        _userManager = userManager;

        RuleFor(c => c.Email).Must(EmailExist).WithMessage("Email is already registered");
    }

    bool EmailExist(string email)
    {
        return _userManager.FindByEmail(email) != null;
    }
}

I have ApplicationUserManager registered in my UnityConfig.

Yes that's perfectly possible. FluentValidation  validators are no
different from any other class so you can inject whatever you like.
On Friday, 12 February 2016, Ibrahim Islam<EMAIL_ADDRESS>wrote:

Is it possible to do something like below:
public class CustomerCreateValidator : AbstractValidator
{
readonly ApplicationUserManager _userManager;
public CustomerCreateValidator(ApplicationUserManager userManager)
{
    _userManager = userManager;

    RuleFor(c => c.Email).Must(EmailExist).WithMessage("Email is already registered");
}

bool EmailExist(string email)
{
    return _userManager.FindByEmail(email) != null;
}

}
I have ApplicationUserManager registered in my UnityConfig.
—
Reply to this email directly or view it on GitHub
https://github.com/JeremySkinner/FluentValidation/issues/204.

@JeremySkinner  Actually, I get an exception saying that there were no parameterless constructor found. Once I added another parameterless constructor the validator fired as expected. I followed the MVC integration tutorial from the Wiki.

That'll be because you're using the built-in validator factory which relies
on attributes. You need to use a custom ValidatorFactory implementation
that calls into your container to instantiated the validator. Check this
page in the documentation:
https://github.com/JeremySkinner/FluentValidation/wiki/i.-IoC
On Friday, 12 February 2016, Ibrahim Islam<EMAIL_ADDRESS>wrote:

@JeremySkinner https://github.com/JeremySkinner Actually, I get an
exception saying that there were no parameterless constructor found. Once I
added another parameterless constructor the validator fired as expected. I
followed the MVC integration tutorial from the Wiki.
—
Reply to this email directly or view it on GitHub
https://github.com/JeremySkinner/FluentValidation/issues/204#issuecomment-183417705
.

I think the doc says how to inject a validator but if you will see my code I want to actually inject something into the validator itself. I am not seeing any example to do this.

I think you misunderstood my last comment.
In order to inject something into your validator, you need to create the
validator using the ioc container. This means the validator must be
registered with the container. You then need a custom validator factory
that will call into your container to create the validator instance, which
is what the page I linked to explains how to do.
On Saturday, 13 February 2016, Ibrahim Islam<EMAIL_ADDRESS>wrote:

I think the doc says how to inject a validator but if you will see my code
I want to actually inject something into the validator itself. I am not
seeing any example to do this.
—
Reply to this email directly or view it on GitHub
https://github.com/JeremySkinner/FluentValidation/issues/204#issuecomment-183752660
.

Maintenance / Cleanup: closing because the question appears to be answered and there hasn't been any activity in a few months.


Revise the ITF format

Closes #2732. In this PR, we further simplify the ITF format by always representing integers as { "#bigint": "num" }, instead of having two cases, namely, num for small integers and { "#bigint": "num" } for big integers. This should simplify the usage of ITF in tests.

Codecov Report

Merging #2733 (59fe194) into main (403eb14) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2733   +/-   ##
=======================================
  Coverage   78.52%   78.52%
=======================================
  Files         463      463
  Lines       15904    15900    -4
  Branches     2563     2539   -24
=======================================
- Hits        12488    12486    -2
+ Misses       3416     3414    -2

Files Changed
Coverage Δ

...in/scala/at/forsyte/apalache/io/itf/ItfToTla.scala
98.05% <100.00%> (ø)

...syte/apalache/io/lir/ItfCounterexampleWriter.scala
96.00% <100.00%> (-0.30%)
:arrow_down:

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Null check when valve pipes start leaking on server.

Server crash when attaching a valve pipe to a new flash boiler built where a smaller setup had previously been.
Time: 1/7/15 6:18 PM
Description: Ticking block entity

java.lang.NullPointerException: Ticking block entity
    at flaxbeard.steamcraft.tile.TileEntityValvePipe.func_145845_h(TileEntityValvePipe.java:207)
    at net.minecraft.world.World.func_72939_s(World.java:1939)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Added a null check for the steam network (only place I saw that could NPE) and did some minor cleanup in the general vicinity.

Upon further examination of the code involved, I think some significant cleanup/dedupe could happen between the regular steam pipe and valve pipe and plan on taking a whack at that if I have time this week.

Going to merge this, looks good to me.


Failed to load content! Please check your Plex settings and try again.

Hello,
Does anybody know why I get this error:
Failed to load content!
Please check your Plex settings and try again.
?

Still can't figure it out!
2022-10-22 07:10:58,786 ERROR    main.py:internal_error HTTPConnectionPool(host='<IP_ADDRESS>', port=32400): Read timed out. (read timeout=30)
Sat Oct 22 07:10:58 2022 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /content/dupes (ip <IP_ADDRESS>) !!!
Sat Oct 22 07:10:58 2022 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /content/dupes (<IP_ADDRESS>)
OSError: write error
[pid: 36|app: 0|req: 3/52] <IP_ADDRESS> () {42 vars in 2276 bytes} [Sat Oct 22 07:08:36 2022] GET /content/dupes => generated 0 bytes in 142128 msecs (HTTP/1.1 500) 3 headers in 0 bytes (0 switches on core 0)

I'm getting :
2022/12/24 05:08:35 [error] 13#13: *31 upstream timed out (110: Connection timed out) while reading response header from upstream, client: <IP_ADDRESS>, server: , request: "GET /content/dupes HTTP/1.1", upstream: "uwsgi://unix:///tmp/uwsgi.sock", host: "<IP_ADDRESS>", referrer: "http://<IP_ADDRESS>/"
Trying to clean 800 items from a movie library with 46 000 items

I'm getting something similar but on the initial load (before I can even select anything to clean up).  My timeout appears to be around 100 seconds.  I just see the error:

In my log it simply states:
uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /content/dupes (<IP_ADDRESS>)
OSError: write error
[pid: 17|app: 0|req: 4/17] <IP_ADDRESS> () {40 vars in 605 bytes} [Tue Jan 10 11:52:28 2023] GET /content/dupes => generated 0 bytes in 111529 msecs (HTTP/1.1 200) 3 headers in 0 bytes (0 switches on core 0)
my directory is tens of TBs with a lot of files (and probably a ton of dups)...

I am getting the same issue on larger libraries but working fine on smaller ones. I am now configuring for a single library at a time but the TV Shows library just fails.

I am getting the same issue, i got a large library

i have update the script and add a new option : https://github.com/polzy/Cleanarr work for me with frontend and backend and PLEX_TIMEOUT=12000
If your backend is on a remote server, use this cmd with--host=IP.remote.server :
PLEX_BASE_URL="http://plex_address:32400" PLEX_TOKEN="somerandomstring" LIBRARY_NAMES="Movies" PLEX_TIMEOUT=12000 FLASK_APP=main python -m flask run --host=IP.remote.server
and for frontend :
REACT_APP_BACKEND_URL="http://IP.remote.server:5000/" yarn start

So this is a fork ?  Can you add the docker to the unraid docker repository ? ( kinda a newbie when it comes to dockers )

Yeah I am with you here. How can I get this into my docker image on a Synology NAS?

@polzy 's update has been merged, to those experiencing this issue please try the new PLEX_TIMEOUT environment variable and report back with your experiences

I'm still having the same issue...
For context on my environment:
-Unraid is datastorage (<IP_ADDRESS>)
-Plex is on Remote host (<IP_ADDRESS>)
--Plex looks to Unraid for files
---I run the docker from Unraid on with it's own bridged IP (<IP_ADDRESS>)
So, the docker (on Unraid) goes to Plex which goes back to Unraid
----I look at everything from a client machine (not either of the servers)
I've pulled the latest docker from Unraid and I've set the PLEX_TIMEOUT to various lengths starting at 12000 then doubling it after each failure until I gave up at 96000.
I've tried Chome and Firefox (adjusted browser timeout in this one) but the result is the same on both.  I'm not too smart with Docker or Unraid.  I know enough to make things go and I'm dangerous enough to completely hose my environment.  But, This is all a bit out of my norm so I just try to make sense of it all.
*after the browser shows it timed out and tosses the "Failed to load content! ..." message the logs show that Cleanaar is still flipping through files for a while... until eventually I get :
Thu Jan 19 13:00:05 2023 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /content/dupes (ip <IP_ADDRESS>) !!!
Thu Jan 19 13:00:05 2023 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /content/dupes (<IP_ADDRESS>)
OSError: write error
[pid: 15|app: 0|req: 3/14] <IP_ADDRESS> () {40 vars in 631 bytes} [Thu Jan 19 12:54:07 2023] GET /content/dupes => generated 0 bytes in 358468 msecs (HTTP/1.1 200) 3 headers in 0 bytes (0 switches on core 0)
when the browser shows the timeout message I am seeing this in the Cleanaar logs:
plexwrapper  2023-01-19 12:45:02,647 DEBUG    plexwrapper.py:get_dupe_content Found media: plex://movie/5d776c84fb0d55001f589daa
database     2023-01-19 12:45:02,647 DEBUG    database.py:get_ignored_item content_key /library/metadata/44410
2023/01/19 12:45:03 [error] 11#11: *9 upstream timed out (110: Connection timed out) while reading response header from upstream, client: <IP_ADDRESS>, server: , request: "GET /content/dupes HTTP/1.1", upstream: "uwsgi://unix:///tmp/uwsgi.sock", host: "<IP_ADDRESS>", referrer: "http://<IP_ADDRESS>/"
<IP_ADDRESS> - - [19/Jan/2023:12:45:03 -0500] "GET /content/dupes HTTP/1.1" 504 167 "http://<IP_ADDRESS>/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0" "-"
plexwrapper  2023-01-19 12:45:03,041 DEBUG    plexwrapper.py:get_dupe_content Found media: plex://movie/5d77696596b655001fdcda1f
database     2023-01-19 12:45:03,041 DEBUG    database.py:get_ignored_item content_key /library/metadata/40624

Getting timeouts still.  Did I set the parameter right ?
Is it possible just to have it in the docker creater/edit page without going into advanced view ?
Btw.. any idea why I have to go into console and create the config directory every time I update or change anything with the docker ?  If not it says : [Errno 2] No such file or directory: '/config/db.json'
Might be because it's never had a successful refresh since it always times out ?

I get the below with a timeout set to 96000. GUI error is "Failed to load content! Please check your Plex settings and try again." and logged error is:
2023/01/20 04:00:59 [error] 11#11: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: <IP_ADDRESS>, server: , request: "GET /content/dupes HTTP/1.1", upstream: "uwsgi://unix:///tmp/uwsgi.sock", host: "<IP_ADDRESS>:8008", referrer: "http://<IP_ADDRESS>:8008/"

I ran a few checks today to see if I can figure out the issue.  I looked at Folder Count, File Count, and Directory Size.
In a directory (KidsTV) that was 6.75 TB in size and has 302 Folders (base level) with 6664 files Cleanaar worked
In a directory (KidsVids) which is 1.5 TB in size and has 812 Folders (base level) with 858 files Cleanaar worked
In a directory (TestVids) which was 2.2 TB in size and has 1293 Folder (base level) with 1492 files Cleanaar worked
Then I copied more vids to the (TestVids) directory increasing its contents to 1915 Folders with 5125 files (rescanned the library, optimized the database, refreshed metadata, emptied trash, then rescanned the library and optimized the DB again) I checked Cleanaar and this one failed after adding additional content.
I've also noticed that if the directory is smaller files (TV) it scans a lot faster (watching logs) and if it is larger (Movie) files it seems to take a LOT longer to flip through.  I thought this was odd since it is presumably using the Plex db/index anyway...
I don't know if this is useful or not but I thought I would share that I found that adding content did cause the failure.  Though it does not appear to be directory size but perhaps file size or number of base level folders.


Fix delete on containers

Previously, the delete operation did not remove the corresponding meta and acl files. It also failed when trying to delete an empty container.

Ready for merge.

Considering opening an issue on whether ACLs should survive delete.   It's unclear.   There are use cases on either side of that.    On w3.org they do.

This is the ACL document which lives within the container. If the container is deleted, it would be impossible to keep the ACL document.

Fixing tests, stand by

:+


Fix crash in textDocument/typeDefinition

Motivation

I noticed this showing up in some crash logs at Stripe.
Test plan

See included automated tests.
Some of the cases I couldn't find test cases for. I've implemented them so that
they won't crash anymore, but it would be nice to have tests for them.

I am willing to believe that this is better, but it is not clear to me why this fixes crashes. Does some later part of the code believe that certain types must have locations returned by this query? Returning no locations for everything that's not handled by the typecase, as is currently done, seems reasonable...but apparently that's not the case?

idk if this was always the case or if this was only the behavior implemented once we started using TypePtr, but it looks like the default case of a typecase on TypePtr throws. This is the behavior of the test added here on master:

idk if this was always the case

It looks like that behavior predates john's TypePtr changes.

Ah right.  Sure would be nice to get a static error for that.


Torch & CUDA

Thanks for developing GWANN.
I try to run it, I can simulate and train. However, once I go for the real data I got the following issue:
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False.
If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

What's the solution? Of course I'm running the command with the --cpu flag.
Many thanks

Thank you for the feedback.
I've updated the code per the error message. That said, this likely is a system specific issue, thus I'm not able to replicate the error to verify the fix works. Can you please give it a go?

Many thanks for the answer. Something worked, the error changed into
python GWANN.py run \
> --vcf $TEMPDIR/subset.vcf \
> --pheno $TEMPDIR/phenoFile.csv \
> --trait TRAIT \
> --output $TEMPDIR/primo \
> --model $TEMPDIR/GWANN/models/model.pt \
> --cpu
save vcf
reload vcf
parse vcf
final_vcf torch.Size([5536, 242])
n_snps 5536
Traceback (most recent call last):
  File "GWANN.py", line 610, in <module>
    cli()
  File "/home/mwyler/miniconda3/envs/Py3/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/mwyler/miniconda3/envs/Py3/lib/python3.8/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/mwyler/miniconda3/envs/Py3/lib/python3.8/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/mwyler/miniconda3/envs/Py3/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/mwyler/miniconda3/envs/Py3/lib/python3.8/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "GWANN.py", line 157, in run
    net.load_state_dict(torch.load(model,torch.device(device))['model_state_dict'])
  File "/home/mwyler/miniconda3/envs/Py3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1482, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for Net:
	Missing key(s) in state_dict: "lin_seq.2.weight", "lin_seq.2.bias".
	Unexpected key(s) in state_dict: "lin_seq.3.weight", "lin_seq.3.bias".

Now I don't know which specific information you need. I'm running it in a conda env with python 3.8. The installation is made with git clone, as described. The machine runs on ubuntu 16.04 (shame on me).

Thank you for bringing this to our attention.
This issue is with the saved model found in the git (rather with the algorithm or code) and we're looking into it.


readAsArrayBuffer on IE throwing SecurityError

While uploading a xlsx file on IE 11.11.18362.0, I faced the following error (event.target.error.name: Error Code: SecurityError).
I'm not facing this issue in the other browsers and for those browsers I'm using readAsBinaryString.
	if (_reader.readAsBinaryString) { 	        _reader.readAsBinaryString(oFile); 	} else { 	       _reader.readAsArrayBuffer(oFile); 	  }
In this case when we are on IE 11, it's entering the else condition.
I've tested with both large and small files, and none is working.

Can you reproduce this issue in our public demos https://oss.sheetjs.com/ or https://oss.sheetjs.com/sheetjs ?

@SheetJSDev I've found out that it was due to a security setting in the xlsx file, so unchecking the security setting did the trick and now I'm able to upload. Thank you.


pose refinement or no?

I noticed that the pose smooth loss is commented out. Does it mean there is no pose refinement? Or adding pose refinement performs worse? Thanks!
https://github.com/JanaldoChen/Anim-NeRF/blob/232d471b4d207175c00bea54377b36c46fd675f8/train.py#L248

Yes, there is pose refinement, the pose parameters is refined by set optim_body_params: True in configs/people_snapshot/male-3-casual.yaml. But in the last version, I canceled the pose regularization while added the normal regularization mentioned in https://arxiv.org/pdf/2104.10078.pdf


find some pages

Hi
any page had id, how use page.find() with id()  (if page name unknown) to find necessary page, in php
iterate all page for (eg  if  page.id() == $ id) find current id or something else?

I see you asked this question on the Discord chat.  That IS the correct place for asking basic questions about Grav usage. Also, try searching on learn.getgrav.org.
The Github issues list is intended for bug reporting and complex questions about Grav internals and things that are not suited to other formats.
Cheers,

I not find this on learn.getgrav.org,
about this no answer, only page find by route, path and other...


Added instructions to provision spot managed node group

What this PR does / why we need it:
Provide instructions on how to create spot managed node group
Which issue(s) this PR fixes:
https://app.asana.com/0/0/1203288845869770/f
Fixes #
Quality checks

[x] My content adheres to the style guidelines
[x] I ran make test or make e2e-test and it was successful

EKS Workshop
    Fundamentals
      Managed Node Groups
        Spot instances
          - Spot instances
          ✔ Add Spot Managed Node Group (3913ms)
          ✔ Deploy an Application on Spot Instances (6025ms)
          ✔ Cleanup (2410ms)

  3 passing (12s)
  1 pending

This is being re-done by the fundamentals working group


The output is ignoring path in RequestMapping

When I generate the json file the output should be /userstore/clients/{clientId}/customers/{externalCustomerId} but it is leaving out the externalCustomerId part.
@Api(value = "Customer")
@RestController()
@RequestMapping("/userstore/clients/{clientId}/customers")
public class CustomersController {

  @ApiOperation(value = "Retrieve customer")
  @RequestMapping(
          path = "/{externalCustomerId}",
          method = RequestMethod.GET
  )
  public Customer retrieveCustomer(
          @PathVariable(value = "clientId") long clientId,
          @PathVariable(value = "externalCustomerId") String externalCustomerId
  ) throws StoreAccessException {
    return customerStore.retrieveCustomer(clientId, externalCustomerId);
  }

Output
"/userstore/clients/{clientId}/customers" : {
      "get" : {
        "tags" : [ "Customer" ],
        "summary" : "Retrieve customer",
        "description" : "",
        "operationId" : "retrieveCustomer",
        "parameters" : [ {
          "name" : "clientId",
          "in" : "path",
          "required" : true,
          "type" : "integer",
          "format" : "int64"
        }, {
          "name" : "externalCustomerId",
          "in" : "path",
          "required" : true,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/Customer"
            }
          }
        }
      }
    },

@JasonQuinn :
I had the same problem. It was fixed by replacing (path = "/something") with (value = "/something").

Its no fix .. its a workaround.  Please fix this bug, as both params mus be supported. Btw. i confirm this BUG

Looks like fixed in 3.1.5-SNAPSHOT. @JasonQuinn could you verify?


Corrections needed for default ros_control configuration

I just finished setting up the ur_modern_driver using ros_control with the velocity based position control.  I was following the suggested usage instructions in the readme but I ran into some issues.
Primarily it was the suggested naming of the controllers.
The suggested names are:

vel_based_pos_traj_controller #or pos_based_pos_traj_controller

I believe the names need to be:

/velocity_based_position_trajectory_controller #or /position_based_position_trajectory_controller

It was also not entirely clear to me that when implementing the ros_contol based approach that I would need packages that are found in the old universal_robots driver, namely the urXX_movit_config and ur_description packages.  The readme just needs a couple of sentences to point this out.
If you agree with these corrections, I've made them to my branch and can submit a pull request.

@miguelprada pointed out that these changes made the ur10 and ur5 config files disagree with the documentation.  It seems that the ur3 was the original odd man out.
Since nobody has mentioned this before I'm guessing the majority of users are working with the ur10 and the ur5.  I feel like it would be best to update the ur3 to coincide with those files.

I think I agree, although your latest commits in #79 have the opposite changes (i.e. modify UR5 and UR10 configurations to match UR3).

Yeah, sorry about that.  I made those changes, then thought better of it, and then immediately got distracted by a squirrel.  Anyway, my latest commits should bring everything into agreement.

Thanks for the commit! I've merged the changes


Docker Image Not Found

Description
docker pull nvcr.io/nvidia/tritonserver:20.03-tf1-py3
nvcr.io/nvidia/tritonserver:20.03-tf1-py3 not found: manifest unknown: manifest unknown
Triton Information
20.03
nvcr.io/nvidia/tritonserver:20.03-py3 is working
To Reproduce
in document, to use Tensorflow 1.15, need a tag 20.03-tf1-py3,
but folloing is not working
docker pull nvcr.io/nvidia/tritonserver:20.03-tf1-py3

Currently triton only supports TF1, so the nvcr.io/nvidia/tritonserver:20.03-py3 container has TF1 support. TF2 support is planned for future.
The documentation mentioning the -tf1- naming is for the TF container only.


Add mesh export interface to viewer

(This is now essentially #809 plus the two files in nerfstudio/viewer, right?)


Fix small typo in npx tailwindcss command

This PR fixes a small typo in the docs for assets compilation "tailwindcss" was spelled with an extra "d" which could cause users to copy the wrong command and trying to run it.

Thanks @percymamedy!


Bug: attribute hm missing

Hi,
I got this bug when trying to use nixos-rebuild:
$ sudo nixos-rebuild switch --upgrade-all --flake path:///home/pol/Code/drupol/nixos-x260/ -v
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.X4uECp/nixos-rebuild path:///home/pol/Code/drupol/nixos-x260/#nixosConfigurations."x260".config.system.build.nixos-rebuild -v
error: attribute 'hm' missing

       at /nix/store/d404zjk70v18jpzwaizl7p288pafzff0-source/modules/files.nix:58:40:

           57|   config = lib.mkIf (builtins.length (builtins.attrNames cfg) > 0) {
           58|     home.activation.configure-plasma = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
             |                                        ^
           59|       $DRY_RUN_CMD ${script}
       Did you mean one of id or or?

It looks like you may be trying to use this package as a NixOS module, when it's actually a Home Manager module.  Import it into your Home Manager configuration.  If you use flakes there's an example flake in the example directory.

Indeed, I noticed that I was importing the file at the wrong place.
However, moving the file at the right spot is also throwing the same issue.
Here's the relevant part of the flake.nix:
    nixosConfigurations = {
      x260 = nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";
        modules = [
          ({ nixpkgs.overlays = [ (final: prev: { bobthefish-src = inputs.bobthefish; }) ]; })
          (import ./hosts/common/config.nix)
          (import ./hosts/x260/configuration.nix)
          (import ./hosts/common/packages.nix)
          (import ./hosts/common/packages-desktop.nix)
          home-manager.nixosModules.home-manager
          {
            home-manager.useGlobalPkgs = true;
            home-manager.useUserPackages = true;
            home-manager.users.pol.imports = [
              ./hosts/common/home.nix
              ./hosts/common/kdeplasma.nix # <- generated by rc2nix
              { home.stateVersion = "22.05"; }
            ];
          }
        ];
        extraModules = [
          inputs.plasma-manager.homeManagerModules.plasma-manager
        ];
        specialArgs = inputs;
      };
  };

In this case your extraModules belongs to NixOS, not Home Manager.  With your configuration you should be able to move plasma-manger into your Home Manager import list:
home-manager.users.pol.imports = [
  inputs.plasma-manager.homeManagerModules.plasma-manager
  ./hosts/common/home.nix
  ./hosts/common/kdeplasma.nix # <- generated by rc2nix
  { home.stateVersion = "22.05"; }
];

Indeed, this works fine now, thanks !!!


Support applications that use a custom username field

Use Django's indirection for getting the username.
This respects applications that have set User.USERNAME_FIELD to something else.

I'm experimenting with this lib in an app that uses a different field for the username, and I think this should make that work. I haven't tested this in detail locally yet, as I'm still sorting out some of the plumbing, but I'm reasonably confident this will behave as expected.

Looks good. Thanks for the patch!

Published as 0.2.5


Add zoom-out effect while searching #24

Description

Add a zoom-out effect when searching for drones.
Related Issue
#24
Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Works and looks beautiful! ❤
Thank you so much for the help.


Please add build prerequisites - I have trouble building it (please help)

Is your feature request related to a problem? Please describe.
Please see my uber-painful build experience:  https://gist.github.com/TrygveK/ae2a799f3b683ef8dfa9311810bb515c
One at-a-time dependency needs to be installed.
then it fails at
Program python3 found: YES (/usr/bin/python3)
WARNING: Python files installed by Meson might not be found by python interpreter.
 This warning can be avoided by setting "python.platlibdir" option.
WARNING: Python files installed by Meson might not be found by python interpreter.
 This warning can be avoided by setting "python.purelibdir" option.

meson.build:485:2: ERROR: Python dependency not found

Describe the solution you'd like
a clear set of dependencies would do.

or a precompiled build.

Hello, there is actually such a list already, it's on the wiki! :)
https://github.com/libratbag/libratbag/wiki/Building-from-source


Epic: Code Action MVP

As a Noir developer, I want to prove and verify my Noir program with custom inputs using the Noir VS Code extension.
Similar to https://github.com/noir-lang/vscode-noir/issues/10 but in the form of code actions, which should get us quicker to market.
### Tasks
- [ ] https://github.com/noir-lang/vscode-noir/pull/25
- [ ] https://github.com/noir-lang/vscode-noir/issues/11
- [ ] Verify

Epic is no longer relevant.


Kitematic for the FAQ

It took me hours to figure the strange behaviour out. I had removed Docker-For-Mac before installing dinghy and was not able to connect Kitematic. No idea why.
It took me hours to figure out the reason: Kitematic simply forces me to install Docker-For-Mac.
Install it and I can use dinghy. Put Docker-For-Mac into trash and dinghy becomes unaccessible by Kitematic, too.

Did you file an issue with the Kitematic project? They might want to display a better error message if somebody mistakenly deletes Docker for Mac, maybe thinking they don't need it anymore now that they're using Kitematic.
What sort of symptoms did you see when it wasn't working? Some sort of error message? We'd want to add the exact error to the FAQ for people searching for an answer.

I found a workaround for this problem. Try it out: https://github.com/kane-c/kitemagic
See also: https://github.com/docker/kitematic/issues/231

I'm closing this due to inactivity, please re-open if you'd like to add more details for the FAQ entry. Thanks.


part 'app_router.gr.dart'; does not exist

Hi there, I'm trying to run your project using latest flutter 3.3.10 and with vscode.
I think the pubspec is the same as you wrote it, though, so it shouldn't matter what version/s I'm using correct?
I'm getting several errors such as "The argument type 'AppRouter' can't be assigned to the parameter type 'StackRouter'." in mainldart, but I think this error (in title) seems to be at the root of it all.
I'm assuming it has to do with a missing dependency somewhere.
I would really like to get this running, thank you!

Have you generated code? After flutter pub get, please run flutter pub run build_runner build --delete-conflicting-outputs to generate the .gr.dart files.

I don't know what that question means.  I tried that command and it finished successfuly but with some warnings about "anazlyzer versioon doen't match SDK".  The project still did not build and run after that... with more navigator/nagivation related syntax error messages in  the debug console.  I then ran "flutter packages upgrade" in order to upgrade the analyzer.   Then on the next build attempt it gave a multidex (android) 64k limit error so I changed the minSDKVerion in the app/build.gradle to 21.  Then It appears to build successfully for Android.  If it is at all possible, I am sure other beginner devs wanting to run this project would appreciate if the repo could be updated/fixed so that it would not immediately load with errors and build on the first attempt without these obstacles.

Cool, I will update the repo to work on latest Flutter.


mysql password containing non-alphanumeric characters not accepted

From @fvanrenterghem on June 3, 2014 1:15
I had created a database user and database for the installation, with a password containing characters like < and .
This is advised against in the mysql documentation, but not prohibited. The user could access the database from the command line. Using these credentials results in an error to connect to the database during the online setup of red.
Copied from original issue: friendica/red#479

From @ghost on August 23, 2014 21:29
Worked for me, albeit with MariaDB, since there's been nothing from the OP for months, assumed fixed.

From @friendica on June 3, 2014 2:6
Should be fixed.


feat(client): esm support draft

closes https://github.com/prisma/prisma/issues/5030
closes https://github.com/vercel/next.js/issues/46070
closes https://github.com/prisma/prisma/issues/14484
closes https://github.com/prisma/prisma/issues/15614

@millsp Thank you for your great contribution to this. Esm is something that many NodeJS backend engineers are migrating. I found that more and more developers packaged as esm by default, and many third-party packages only provide esm. It's not a problem to allow cjs to be imported in tsconfig, but newer bundlers always don't support it. Like swc, I have to keep track of whether my imports are import or import type which is very annoying. Looking forward to this pr can enter the official version soon.
My blessings online for your hard work~

@millsp is this PR and version from this going to be replaced by #21858? Can we expect new ESM release anytime soon?

See https://github.com/prisma/prisma/pull/21858


Warn on extra-source-files which don't exist

As in subject. We can do this fairly easily so I wonder if it makes sense for hpack to do so.
I think cabal warns itself later so if hpack is going fairly strictly for just translating yaml -> cabal then it's not that important. OTOH hpack already warns on missing source dirs…

Actually it seems that if we introduce globbing, warnings become pretty necessary anyway because it's hard to decide between whether a user put in a file path which doesn't exist or a glob which doesn't match anything.

Fixed on master.


Support MySQL 8

While doing #227 / #228, I setup some MySQL 8 testing which currently fail. There's already  issue #189 which will need resolving to support v8 but I suspect there's more issues to tackle as well.
It's worth having some labels configured for:

mysql 8
mysql 5.7
mariadb 10

So that if a problem is db specific it can be highlighted. It will also make it easy to filter issues based on db type.
Perhaps use this ticket as a parent ticket for any other issues that need resolving so that MySQL 8 can be supported

It's worth having some labels

Added


Error loading checkpoint_mir-1k.pth

When loading checkpoint_mir-1k.pth in the /harmof0/checkpoints/ directory, the following error was thrown:

RuntimeError: Error(s) in loading state_dict for HarmoF0:
size mismatch for block_2.0.weight: copying a param with shape torch.Size([64, 32, 1, 3]) from checkpoint, the shape in current model is torch.Size([64, 32, 3, 3]).
size mismatch for block_3.0.weight: copying a param with shape torch.Size([128, 64, 1, 3]) from checkpoint, the shape in current model is torch.Size([128, 64, 3, 3]).
size mismatch for block_4.0.weight: copying a param with shape torch.Size([128, 128, 1, 3]) from checkpoint, the shape in current model is torch.Size([128, 128, 3, 3]).

It seems that checkpoint has different network dimensions from the default one. Is that checkpoint still available?

The checkpoint mir-1k.pth is updated. It should work now.