Azure sdk update

Motivation for this change
Things done

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

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

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

All modules build without error in python 3.7

The commit messages do not follow CONTRIBUTING.md.

The commit messages do not follow CONTRIBUTING.md.

Yep- sorry about that. Originally I wanted to save on the number of commits, but that doesn't quite work for following the contributing guide.
Thanks!

Alright, let's do first Python2 :crossed_fingers:
@GrahamcOfBorg build python2Packages.azure-applicationinsights python2Packages.azure-batch python2Packages.azure-common python2Packages.azure-cosmosdb-nspkg python2Packages.azure-cosmosdb-table python2Packages.azure-datalake-store python2Packages.azure-eventgrid python2Packages.azure-graphrbac python2Packages.azure-keyvault python2Packages.azure-loganalytics python2Packages.azure-mgmt-advisor python2Packages.azure-mgmt-applicationinsights python2Packages.azure-mgmt-authorization python2Packages.azure-mgmt-batch python2Packages.azure-mgmt-batchai python2Packages.azure-mgmt-billing python2Packages.azure-mgmt-cdn python2Packages.azure-mgmt-cognitiveservices python2Packages.azure-mgmt-commerce python2Packages.azure-mgmt-compute python2Packages.azure-mgmt-consumption python2Packages.azure-mgmt-containerinstance python2Packages.azure-mgmt-containerservice python2Packages.azure-mgmt-cosmosdb python2Packages.azure-mgmt-datafactory python2Packages.azure-mgmt-datalake-analytics python2Packages.azure-mgmt-datalake-nspkg python2Packages.azure-mgmt-datalake-store python2Packages.azure-mgmt-datamigration python2Packages.azure-mgmt-devspaces python2Packages.azure-mgmt-devtestlabs python2Packages.azure-mgmt-dns python2Packages.azure-mgmt-eventgrid python2Packages.azure-mgmt-eventhub python2Packages.azure-mgmt-hanaonazure python2Packages.azure-mgmt-iotcentral python2Packages.azure-mgmt-iothub python2Packages.azure-mgmt-iothubprovisioningservices python2Packages.azure-mgmt-keyvault python2Packages.azure-mgmt-loganalytics python2Packages.azure-mgmt-logic python2Packages.azure-mgmt-machinelearningcompute python2Packages.azure-mgmt-managementgroups python2Packages.azure-mgmt-managementpartner python2Packages.azure-mgmt-maps python2Packages.azure-mgmt-marketplaceordering python2Packages.azure-mgmt-media python2Packages.azure-mgmt-monitor python2Packages.azure-mgmt-msi python2Packages.azure-mgmt-network python2Packages.azure-mgmt-notificationhubs python2Packages.azure-mgmt-policyinsights python2Packages.azure-mgmt-powerbiembedded python2Packages.azure-mgmt-rdbms python2Packages.azure-mgmt-recoveryservices python2Packages.azure-mgmt-recoveryservicesbackup python2Packages.azure-mgmt-redis python2Packages.azure-mgmt-relay python2Packages.azure-mgmt-reservations python2Packages.azure-mgmt-resource python2Packages.azure-mgmt-scheduler python2Packages.azure-mgmt-search python2Packages.azure-mgmt-servicebus python2Packages.azure-mgmt-servicefabric python2Packages.azure-mgmt-signalr python2Packages.azure-mgmt-sql python2Packages.azure-mgmt-storage python2Packages.azure-mgmt-subscription python2Packages.azure-mgmt-trafficmanager python2Packages.azure-mgmt-web python2Packages.azure-servicebus python2Packages.azure-servicefabric python2Packages.azure-servicemanagament-legacy python2Packages.azure-storage-blob python2Packages.uamqp

I had a typo in keyvault =/
Just force pushed the fix

I see the same typo in service{bus,fabric} and uamqp- pushing those fixes shortly

~Alright, let's do first Python2 crossed_fingers~
~@GrahamcOfBorg build python2Packages.azure-applicationinsights python2Packages.azure-batch python2Packages.azure-common python2Packages.azure-cosmosdb-nspkg python2Packages.azure-cosmosdb-table python2Packages.azure-datalake-store python2Packages.azure-eventgrid python2Packages.azure-graphrbac python2Packages.azure-keyvault python2Packages.azure-loganalytics python2Packages.azure-mgmt-advisor python2Packages.azure-mgmt-applicationinsights python2Packages.azure-mgmt-authorization python2Packages.azure-mgmt-batch python2Packages.azure-mgmt-batchai python2Packages.azure-mgmt-billing python2Packages.azure-mgmt-cdn python2Packages.azure-mgmt-cognitiveservices python2Packages.azure-mgmt-commerce python2Packages.azure-mgmt-compute python2Packages.azure-mgmt-consumption python2Packages.azure-mgmt-containerinstance python2Packages.azure-mgmt-containerservice python2Packages.azure-mgmt-cosmosdb python2Packages.azure-mgmt-datafactory python2Packages.azure-mgmt-datalake-analytics python2Packages.azure-mgmt-datalake-nspkg python2Packages.azure-mgmt-datalake-store python2Packages.azure-mgmt-datamigration python2Packages.azure-mgmt-devspaces python2Packages.azure-mgmt-devtestlabs python2Packages.azure-mgmt-dns python2Packages.azure-mgmt-eventgrid python2Packages.azure-mgmt-eventhub python2Packages.azure-mgmt-hanaonazure python2Packages.azure-mgmt-iotcentral python2Packages.azure-mgmt-iothub python2Packages.azure-mgmt-iothubprovisioningservices python2Packages.azure-mgmt-keyvault python2Packages.azure-mgmt-loganalytics python2Packages.azure-mgmt-logic python2Packages.azure-mgmt-machinelearningcompute python2Packages.azure-mgmt-managementgroups python2Packages.azure-mgmt-managementpartner python2Packages.azure-mgmt-maps python2Packages.azure-mgmt-marketplaceordering python2Packages.azure-mgmt-media python2Packages.azure-mgmt-monitor python2Packages.azure-mgmt-msi python2Packages.azure-mgmt-network python2Packages.azure-mgmt-notificationhubs python2Packages.azure-mgmt-policyinsights python2Packages.azure-mgmt-powerbiembedded python2Packages.azure-mgmt-rdbms python2Packages.azure-mgmt-recoveryservices python2Packages.azure-mgmt-recoveryservicesbackup python2Packages.azure-mgmt-redis python2Packages.azure-mgmt-relay python2Packages.azure-mgmt-reservations python2Packages.azure-mgmt-resource python2Packages.azure-mgmt-scheduler python2Packages.azure-mgmt-search python2Packages.azure-mgmt-servicebus python2Packages.azure-mgmt-servicefabric python2Packages.azure-mgmt-signalr python2Packages.azure-mgmt-sql python2Packages.azure-mgmt-storage python2Packages.azure-mgmt-subscription python2Packages.azure-mgmt-trafficmanager python2Packages.azure-mgmt-web python2Packages.azure-servicebus python2Packages.azure-servicefabric python2Packages.azure-servicemanagament-legacy python2Packages.azure-storage-blob python2Packages.uamqp~
EDIT: Eval still failing, @mwilsoninsight can you PTAL? Thanks!

Yep- had a typo in the metadata that found its way into a few other files due to copy/pasta. It just passed all the checks, so I think it should be all set :crossed_fingers:

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/nixops-travis-ci-test-failure-on-azure-private-ip-pr/2441/12

@GrahamcOfBorg build python2Packages.azure-applicationinsights python2Packages.azure-batch python2Packages.azure-common python2Packages.azure-cosmosdb-nspkg python2Packages.azure-cosmosdb-table python2Packages.azure-datalake-store python2Packages.azure-eventgrid python2Packages.azure-graphrbac python2Packages.azure-keyvault python2Packages.azure-loganalytics python2Packages.azure-mgmt-advisor python2Packages.azure-mgmt-applicationinsights python2Packages.azure-mgmt-authorization python2Packages.azure-mgmt-batch python2Packages.azure-mgmt-batchai python2Packages.azure-mgmt-billing python2Packages.azure-mgmt-cdn python2Packages.azure-mgmt-cognitiveservices python2Packages.azure-mgmt-commerce python2Packages.azure-mgmt-compute python2Packages.azure-mgmt-consumption python2Packages.azure-mgmt-containerinstance python2Packages.azure-mgmt-containerservice python2Packages.azure-mgmt-cosmosdb python2Packages.azure-mgmt-datafactory python2Packages.azure-mgmt-datalake-analytics python2Packages.azure-mgmt-datalake-nspkg python2Packages.azure-mgmt-datalake-store python2Packages.azure-mgmt-datamigration python2Packages.azure-mgmt-devspaces python2Packages.azure-mgmt-devtestlabs python2Packages.azure-mgmt-dns python2Packages.azure-mgmt-eventgrid python2Packages.azure-mgmt-eventhub python2Packages.azure-mgmt-hanaonazure python2Packages.azure-mgmt-iotcentral python2Packages.azure-mgmt-iothub python2Packages.azure-mgmt-iothubprovisioningservices python2Packages.azure-mgmt-keyvault python2Packages.azure-mgmt-loganalytics python2Packages.azure-mgmt-logic python2Packages.azure-mgmt-machinelearningcompute python2Packages.azure-mgmt-managementgroups python2Packages.azure-mgmt-managementpartner python2Packages.azure-mgmt-maps python2Packages.azure-mgmt-marketplaceordering python2Packages.azure-mgmt-media python2Packages.azure-mgmt-monitor python2Packages.azure-mgmt-msi python2Packages.azure-mgmt-network python2Packages.azure-mgmt-notificationhubs python2Packages.azure-mgmt-policyinsights python2Packages.azure-mgmt-powerbiembedded python2Packages.azure-mgmt-rdbms python2Packages.azure-mgmt-recoveryservices python2Packages.azure-mgmt-recoveryservicesbackup python2Packages.azure-mgmt-redis python2Packages.azure-mgmt-relay python2Packages.azure-mgmt-reservations python2Packages.azure-mgmt-resource python2Packages.azure-mgmt-scheduler python2Packages.azure-mgmt-search python2Packages.azure-mgmt-servicebus python2Packages.azure-mgmt-servicefabric python2Packages.azure-mgmt-signalr python2Packages.azure-mgmt-sql python2Packages.azure-mgmt-storage python2Packages.azure-mgmt-subscription python2Packages.azure-mgmt-trafficmanager python2Packages.azure-mgmt-web python2Packages.azure-servicebus python2Packages.azure-servicefabric python2Packages.azure-servicemanagament-legacy python2Packages.azure-storage-blob python2Packages.uamqp

Blerg- I see a failure with python2. I've only built with 3.7 so far, so tomorrow I'll start building for 3.6, 3.5, and 2.7 and sort out any failures :salute:

@mwilsoninsight thank you for working on this! Please ping me when it's ready for another review.

@mwilsoninsight thank you for working on this! Please ping me when it's ready for another review.

@kalbasit with today's work, it builds successfully against python2.7.
python3.6 threw a deprecation warning while building pylint =/
If context helps, I use a build.nix file with each version of python made using withPackages (ps: [<each of these packages>]) for testing builds/installs
3.5 threw up with the error that it didn't support contextvars-2.4 (which I don't think any of these modules reference...)

Thanks for the PR. Please have a look also at https://github.com/NixOS/nixpkgs/pull/49657#issuecomment-435567034. How are we going to maintain this large set of packages?

What's up with removing bytecode? That should not be necessary as we create it during build time. Or was this bytecode part of the sdist?

@FRidh the rm statements were necessary to get the modules to build without complaining about colliding files.
These colliding files were of the same path but respective to azure-common and . The files in question were .py and .pyc files that existed in both locations.
The error I encountered primarily regarded namespacing concerns, so I figured that because azure-common was a propogatedBuildInput for many packages, that it may be creating the same file in those various locations throughout the nix store, but that the existence of the same files in those libs causes python confusion during namespace declaration.
To be totally honest, I'm not a Pythonista by trade, so I'm doing ~some~ major guess-work here.

When did you encounter the collisions, when you used python.withPackages?

I encountered it when I used nix-env -if build.nix
build.nix (swapping out XY for whichever python version I want to test):
with import /home/mwilson/nixpkgs {};

let
  azpkgs =
    ps: with ps;
    [ <each>
      <of>
      <these>
      <packages>
      ...
    ];

  withAzurePackages =
    pythonVersion:
    pythonVersion.withPackages azpkgs;

  self = {
    py37 = withAzurePackages python37;
    py36 = withAzurePackages python36;
    py35 = withAzurePackages python35;
    py27 = withAzurePackages python27;
  };
in
  self.pyXY

With certain packages, they would not build because a file in it's lib path collided with the same file in azure-common's lib path (or similar, but azure-common was by far the most frequent to collide with)
I assume I could have just written the same lines in azure-common, but I thought that may not work due to the whole propagatedBuildInput

@FRidh as for:

Please have a look also at #49657 (comment). How are we going to maintain this large set of packages?

I hadn't given it thought previously- at least no more than, "I should really update these to all use pip once Microsoft fixes the pip release to include code changes from at least ~Feb. 2018". Beyond that, I was planning on revisiting these and updating them as new releases are made to pip for the official repository.
If I'm to maintain these going forward, I'll likely set up a small home-brewed tool for this specific set of packages that will periodically (or more likely, ad-hoc) scrape the pip metadata for changes (values from curl https://pypi.org/pypi/<package-name>/json | jq compared to values in nixpkgs/pkgs/development/python-modules/<package-name>/default.nix) and then handle them individually as they crop up.
This only works for packages in pip that contain current-code tho- there are still a few pulled from GitHub to get past the Feb 2018 wheel compatibility update.
The tool mentioned in the comment you linked to looked promising, but the links on that page lead to 404s at the moment, so I'm not sure what this generated.nix would be. There's still a lot I don't know about nix[pkgs] (and python), but I'm eager to maintain Azure support in NixOps, so I'm open to pretty much anything =]

That utility has moved to https://github.com/nix-community/nixpkgs-pytools/.

I just tried the following:

cloned the tool
cd nixpkgs-pytools
nix-shell
cd ~/nixpkgs/pkgs/development/python-modules/azure-applicationinsights
mv default.nix temp
python-package-init --version 0.1.0 azure-applicationinsights
edited the resultant default.nix to include extension="zip";, doCheck = false; (I think I'm missing some dependencies for the tests with applicationinsights- either way, they're failing at the moment, so I'm just turning them off to see if it'll even build), and maintainers
edited ~/build.nix to only include azure-applicationinsights in the list of packages
nix-env -if ~/build.nix

Result:
collision between '/nix/store/<sha>-python3.7-azure-common-1.1.19/lib/python3.7/site-packages/azure/__pycache__/__init__.cpython-37.pyc' and '/nix/store/<sha>-python3.7-azure-applicationinsights-0.1.0/lib/python3.7/site-packages/azure/__pycache__/__init__.cpython-37.pyc'

I've been wondering if it has anything to do with this excerpt from the default.nix for azure-common, but I don't know enough about python namespacing to tell for sure:
postInstall = ''
    echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
  '';

Haven't tried yet, but pretty sure this only occurs when creating the python.withPackages env, and that is documented behaviour; use python.buildEnv instead.

Haven't tried yet, but pretty sure this only occurs when creating the python.withPackages env, and that is documented behaviour; use python.buildEnv instead.

Can do. Not too excited to redo all of this work, but it'll be worth it in the long run.
Many thanks for pointing me to nixpkgs-pytools as well- should make the work go a bit smoother =]

You don't have to redo anything. It's just that these rm commands likely need to be removed.

You don't have to redo anything. It's just that these rm commands likely need to be removed.

Fair enough- taking a look now 👍

@FRidh there's a strange inconsistency with the package set currently available from pip that is labeled as azure-4.0.0 and the src code available from GitHub tagged as azure_4.0.0- not only do some packages' versions differ between the two (servicemanagement-legacy is 0.20.6 via pip, but .7 via the tagged src code...), but they also strip the tests from the src.
This means both that testing is disabled and that, while most packages are being fetched from pip, some are being fetched from GitHub- introducing an inconsistency in module definition.
If this is considered a problem, a solution could be changing each package to be fetched from GitHub rather than pip. @FRidh, do you believe this is worth pursuing?

vimplugins does a similar thing to update packages https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/update.py
I would love to have these changes rolled in, is there anything i could to do to help?
I've confirmed that python37 and python27 are able to build using the the script below
python36 is broken due to a pylint issue but #61648 should fix that once it merges.
python35 is broken due to:
$ nix-build testall.nix -A py35
error: contextvars-2.4 not supported for interpreter python3.5
(use '--show-trace' to show detailed location information)

testall.nix
with import ./. {};

let
  azpkgs =
    ps: with ps;
    [
      azure-applicationinsights
      azure-batch
      azure-common
      azure-cosmosdb-nspkg
      azure-cosmosdb-table
      azure-datalake-store
      azure-eventgrid
      azure-graphrbac
      azure-keyvault
      azure-loganalytics
      azure-mgmt-advisor
      azure-mgmt-applicationinsights
      azure-mgmt-authorization
      azure-mgmt-batch
      azure-mgmt-batchai
      azure-mgmt-billing
      azure-mgmt-cdn
      azure-mgmt-cognitiveservices
      azure-mgmt-commerce
      azure-mgmt-compute
      azure-mgmt-consumption
      azure-mgmt-containerinstance
      azure-mgmt-containerservice
      azure-mgmt-cosmosdb
      azure-mgmt-datafactory
      azure-mgmt-datalake-analytics
      azure-mgmt-datalake-nspkg
      azure-mgmt-datalake-store
      azure-mgmt-datamigration
      azure-mgmt-devspaces
      azure-mgmt-devtestlabs
      azure-mgmt-dns
      azure-mgmt-eventgrid
      azure-mgmt-eventhub
      azure-mgmt-hanaonazure
      azure-mgmt-iotcentral
      azure-mgmt-iothub
      azure-mgmt-iothubprovisioningservices
      azure-mgmt-keyvault
      azure-mgmt-loganalytics
      azure-mgmt-logic
      azure-mgmt-machinelearningcompute
      azure-mgmt-managementgroups
      azure-mgmt-managementpartner
      azure-mgmt-maps
      azure-mgmt-marketplaceordering
      azure-mgmt-media
      azure-mgmt-monitor
      azure-mgmt-msi
      azure-mgmt-network
      azure-mgmt-notificationhubs
      azure-mgmt-policyinsights
      azure-mgmt-powerbiembedded
      azure-mgmt-rdbms
      azure-mgmt-recoveryservices
      azure-mgmt-recoveryservicesbackup
      azure-mgmt-redis
      azure-mgmt-relay
      azure-mgmt-reservations
      azure-mgmt-resource
      azure-mgmt-scheduler
      azure-mgmt-search
      azure-mgmt-servicebus
      azure-mgmt-servicefabric
      azure-mgmt-signalr
      azure-mgmt-sql
      azure-mgmt-storage
      azure-mgmt-subscription
      azure-mgmt-trafficmanager
      azure-mgmt-web
      azure-servicebus
      azure-servicefabric
      azure-storage-blob
    ];

  withAzurePackages =
    pythonVersion:
    pythonVersion.withPackages azpkgs;

in
  {
    py37 = withAzurePackages python37;
    py36 = withAzurePackages python36;
    py35 = withAzurePackages python35;
    py27 = withAzurePackages python27;
  }

bump @kalbasit  on your changes
bump @FRidh  on reponse to mwilson's question

I did some more digging, looks like most of the packages have a reliance on contextvars, which is incompatible with python3.5. Not sure if it's worth the effort to find the most recent packages that don't require contextvars and freeze them for python35.... seeing as this package set has been neglected for a while now.

@jonringer thanks for the link to vim's solution to this issue! I'll look into getting something similar set up down the line (possibly when azure-5.0.0 comes along)
I also got the same results with building against various python versions: 2.7 and 3.7 being the viable interpreters. I think both the py35 and py36 issues are acceptable due to them being errors in different packages, but that's just my opinion. =]
I spoke with @lmazuel about the packaging of azure-4.0.0 this past week- here's what I understand:

the release of wheel-0.31.0 broke the build process for all packages under azure (the .whl still works tho, so the affected user base was minimal)
azure-4.0.0 supposedly includes all code that fixes this issue as part of its release, but azure-servicemanagement-legacy-0.27.0 was missed
this means that even if GitHub src were used, for a subset of packages, a different commit would be necessary
given the fix is to alter the azure_4.0.0 tag to include code that would compile against wheel-0.31.0, @lmazuel's suggestion was instead to downgrade the wheel version during the build process

Given this information, I don't think I'm going to pursue the tests available from GitHub src until azure-5.0.0 is released (and hopefully doesn't have any missed releases that fail to compile from src).
Instead, I'll be working this week to remove the postInstall steps from my commits and just take the pypi src where possible (and make sure I have accounted for all of the dependencies in this pkg set).

@mwilsoninsight I just checked the azure_4.0.0 tag, and I can release the 0.20.7 as it was in that tag if it helps. There is no difference with 0.20.6, the testsuite was not compatible with Python 3.7, and when I updated it and I updated the version number by habit. That should allow you to package azure_4.0.0 "as-is".
For wheel, there is nothing I can really do :(.
Finally solution indeed would be to do azure 5.0.0, but timeline is incertain right now for this.

@mwilsoninsight I just checked the azure_4.0.0 tag, and I can release the 0.20.7 as it was in that tag if it helps. There is no difference with 0.20.6, the testsuite was not compatible with Python 3.7, and when I updated it and I updated the version number by habit. That should allow you to package azure_4.0.0 "as-is".
For wheel, there is nothing I can really do :(.
Finally solution indeed would be to do azure 5.0.0, but timeline is incertain right now for this.

No worries!
Unfortunately this creates a damned-if-you-do-damned-if-you-don't situation for including these modules in nixpkgs (nix peeps, feel free to correct me on this).
As far as I see it our options currently are:

we keep fetching some src from GitHub and some src from pip

this now means we're treating packages uniquely- not a huge concern, but consistency allows for smoother automation (and, arguably, conceptual understanding)
we now have to be sure the GitHub src matches a pip release or, more likely, that it at least builds
on the upside, this is largely already done, so the updates/tweaks are arguably minor

~we fetch everything from pip~

the src doesn't build as distributed (and yes, we could downgrade the version of wheel, but then we're right back to the consistency concern)
It would also require somehow using ./pkgs/top-level/python-packages.nix or ./pkgs/development/python-modules/wheel/default.nix to override the version of wheel available to the build environment

I need some advice on how to do this if that's the route we'd like to go down

we fetch everything from GitHub

this is the most attractive option IMHO:

we can preserve the tests
given a single tag, in which all modules build with wheel-latest, we can build all modules with minimal disk space usage
automation is consistent for all packages (for dependencies: providing GitHub src is tagged in a straight-forward manner and one of those tags matches a current pip release (I believe that was the case for most/all of the ones I came across))

however, 4.0.0 has a very small, yet very frustrating issue in which one or so packages don't build with wheel-latest, so at the moment, we'd be right back to the same consistency concern we have with fetching from pip

IMO, it all ends up being a wash in the current state of things, so I feel it's best to make the smallest amount of changes for the time being and patiently await the next azure-x.y.z tag to make the switch to fetchFromGitHub. =]

@kalbasit I think this is ready to merge (providing the extant 3.5 (pylint) and 3.6 (contextvars) errors are acceptable) =]
@FRidh, I think @jonringer's suggestion of deriving something from vim's python update script is a reasonable solution.
Originally I was planning on using these updates to revamp the Azure backend to NixOps, but coming up with the update script first may be more prudent.
Any Python folks willing to contribute in that regard would be extremely welcome- it'll be on my back-burner otherwise.

@mwilsoninsight I'm not a pythonista, but my job is azure related (work on AzureML), so I would definitely like to have something like this as it's going to be my future for a while.

@lmazuel there have been a few releases to sub-modules since I originally opened this issue- as such, the most recent round of force-pushed changes includes most of them.
This ended up resolving the failed build against wheel-0.31.0 for everything except the following (current pip release still won't build out-of-the-box):
azure-servicemanagement-legacy
azure-mgmt-billing
azure-mgmt-commerce
Those are instead being fetched from GitHub.
Also, azure-cosmosdb-table-1.0.5 is the latest of its versions, but it requires azure-storage-common~=1.1- this means I left off the v2.0.1 upgrades of azure-storage-{common,file,queue,blob} at the moment so that the entire feature set of azure-4.0.0 could be included without breaking builds.

@mwilsoninsight we may want to remove lines like this for python3:
azure-mgmt-storage
  postInstall = ''
    echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
    echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
  '';

Due to how https://www.python.org/dev/peps/pep-0420/ works, if we have an init.py at that directory path then the interpreter will load it as a regular module, this is a problem because all the packages are supposed to be loaded under a namespace (think directory). So, it's not an issue when you load and use one package, but if you have many (and some packages of dependencies on sibling packages) it's going to load only the first in the python path that matches, and the others get "shadowed".
Removing the init.py's has the intended effect, in which python3 will attempt to find the package by traversing all the paths in PYTHONPATH. Since it won't find a "module"(__init.py) at something like "azure" it will continue traversing.

@mwilsoninsight we may want to remove lines like this for python3:

Cool beans! I was wondering if that was a possibility for some of these, but I didn't quite know how class-loading would work in the end, so I left those as they were added by @olcai.
So something like the following for all of the packages with a postInstall that writes a (or a few) __init__.py files?:
postInstall = if isPy3k then "" else ''
  echo $import_declare_namespace_statement >> $desired_directory/__init__.py
'';

Hey @mwilsoninsight , @jonringer is right, if you sure you use Python 3, kill these files :). I actually have a conditional dependency to do NOT install them on Python 3.
If you really have to, for some reasons, don't use this prehistoric syntax but this:
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

https://github.com/pypa/sample-namespace-packages

Hey @mwilsoninsight , @jonringer is right, if you sure you use Python 3, kill these files :). I actually have a conditional dependency to do NOT install them on Python 3.

Sweet!
With this confirmation, I've included the if isPy3k then "" else ''echo $the_thing >> $the_place/__init__.py''; fix in the latest rebase- meaning any builds against Python 3 will not include the extraneous __init__.py files. =]

hmm, how did this get labeled as erlang and nixos?

hmm, how did this get labeled as erlang and nixos

ugh.. bad git history... I accidentally pulled in some commits from other projects by trying to update the future branch- should be fixed now, but ofborg tends to lag behind by a few minutes

@mwilsoninsight looks like your update script may already exist https://github.com/NixOS/nixpkgs/pull/50983

@jonringer that looks like it may do the trick!
I'm taking a look into it :+1:

well, even if some packages get "left behind", i think infrequently updating manually shouldn't be too bad. I think a lot of pain with this PR is that there's only been like... 5ish of these ever, out of the 100+ in the pypi repo.

@FRidh @mwilsoninsight @kalbasit I think this is ready to merge.
Can't wait to drop my huge overlay for these changes. lol

The referenced update script only updates the version and hash, but not any of the dependencies.
I'm a bit skeptical to including this in Nixpkgs without a close-to-automated way of maintaining it. How often does upstream update these packages, and change dependencies? The good thing is that it doesn't depend much on other, non-azure, packages so it's less likely to break in that regard.
As users, do you "expect" a working version on master, or only on stable?

@FRidh

How often does upstream update these packages

Per package, not too often, but they seem to have independent release cycles per package. Some are more "stable" in feature scope and others are "very active"

..., and change dependencies?

Rarely ever.
Most of the packages are a vertical slice of the entire Azure platform, the majority of them will rely only on [ msrest msrestazure azure-common~=1.1 ] but no "web" of sibling dependencies. Azure-common is the only real concerning dependency, but it hasn't had a minor bump for 3 years now.
@lmazuel would be better equipped to answer how likely there will be issues with changing dependencies in the future.

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/10

I wonder how this PR relates to the file pkgs/development/python-modules/azure/default.nix. I recently tried to install that package, but it failed. I believe (but did not thoroughly research) that it is a package that has basically been broken since its initial creation. In any case, the goal of that package is:

This package does not contain any code in itself. It installs a set of packages that provide Microsoft Azure functionality.

But this is not reflected at all in its nix expression. I would think such an expression would contain many propagatedBuildInputs.
Back to the present PR: since this PR is an "Azure SDK update", perhaps we can use it as an opportunity to fix the mentioned umbrella-package (include all the referenced packages). Alternatively, we might drop the umbrella package altogether.

@vanschelven correct, the pythonPackages.azure is currently broken. The setup.py for it can be found https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure/setup.py and you can see that it just exports a common selection of the azure namespace packages, which aren't expressed in pkgs/development/python-modules/azure/default.nix
I think the umbrella package is fine, and it aligns with what you would expect with what you would expect to be there on pypi, it just doesn't work while the dependencies don't exist. Which this PR should remedy.

bump @kalbasit  @FRidh
The core parts of these namespace packages have been fairly stable for the past few years. And seeing as this will be a part of my work life for the foreseeable future, I'll be sure to keep it up to date.
@mwilsoninsight if you want, you can add me as a maintainer, or I'll just add myself if there are updates to certain packages. I'm sure iterating over 80 commits isn't the most fun.

All the lib.optional need to be replaced by lib.optionals because they're lists that get appended. What happens now is that a list gets inserted into a list and appended to a list resulting in nested lists.
At this point, don't bother anymore with the commit per package rule, I don't think it's worth it, especially when adding this many closely-related packages.
Python 2.7 and 3.7 is what we "support". 3.5 and 3.6, while installable, we don't build on Hydra.
After these changes and a rebase it can be merged.

@FRidh original author hasn't been seen in the past 3-ish weeks, is it alright if i hijack this PR? not sure what the protocol for this would be.
If i do hijack it, i would just do another commit where i would add myself as a maintainer and apply the optionals changes

I fixed all the lib.optional -> lib.optionals and rebased the PR over master. I tested locally on my NixOS and I'm able to build all packages over on Python2 and Python3. I'm going to give ofborg a try, and merge if it works. @FRidh please let me know if you have any reservations against merging this PR.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nixops-travis-ci-test-failure-on-azure-private-ip-pr/2441/13


spring.cloud.consul.host in bootstrap.properties / yml

http://cloud.spring.io/spring-cloud-consul/spring-cloud-consul.html says that spring.cloud.consul.host and spring.cloud.consul.port should be changed in application.yml. This is wrong - it only works if it is set in bootstrap.properties. I did not try .yml but assume it is the same.

It's not wrong if you aren't using consul config. But it does need to be noted similar to what we did in zookeeper: http://cloud.spring.io/spring-cloud-zookeeper/spring-cloud-zookeeper.html#_registering_with_zookeeper

In fact, it's already there: https://github.com/spring-cloud/spring-cloud-consul/blob/master/docs/src/main/asciidoc/spring-cloud-consul.adoc#registering-with-consul
The site just needs to be updated.

Actually I'm not using Consul nor Spring Cloud Config...
On Jun 6, 2016 21:29, "Spencer Gibb"<EMAIL_ADDRESS>wrote:

It's not wrong if you aren't using consul config. But it does need to be
noted similar to what we did in zookeeper:
http://cloud.spring.io/spring-cloud-zookeeper/spring-cloud-zookeeper.html#_registering_with_zookeeper
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spring-cloud/spring-cloud-consul/issues/194#issuecomment-224062501,
or mute the thread
https://github.com/notifications/unsubscribe/AAgTpvQir-_Q6vl0i7mvbdLFnExPf12dks5qJHUzgaJpZM4Iu4wo
.

I'm confused then. When you said "I'm not using Consul" I assume you mean "Consul Config". If you are using spring-cloud-starter-consul-all or spring-cloud-starter-consul-config, then it will need to go in bootstrap, otherwise it shouldn't. If that's not the case, can you describe your setup?

You are right - I'm not using Consul Config but also not Spring Cloud
Config.
On Jun 6, 2016 22:49, "Spencer Gibb"<EMAIL_ADDRESS>wrote:

I'm confused then. When you said "I'm not using Consul" I assume you mean
"Consul Config". If you are using spring-cloud-starter-consul-all or
spring-cloud-starter-consul-config, then it will need to go in bootstrap,
otherwise it shouldn't. If that's not the case, can you describe your setup?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spring-cloud/spring-cloud-consul/issues/194#issuecomment-224083643,
or mute the thread
https://github.com/notifications/unsubscribe/AAgTpp-zpqrrB3114xLs52sL1UdWMt2lks5qJIfHgaJpZM4Iu4wo
.

Which starter are you using, spring-cloud-starter-consul-all or spring-cloud-starter-consul-config?

spring-cloud-starter-consul-all

OK, so your app is using consul config even though you don't want it to. If you use spring-cloud-starter-consul-discovery you should be able to use application.properties instead of bootstrap.properties.

Thanks for the tip! 😄

I'll keep this open to clarify in the docs which to use based on which starter you are using.


pls hlp!1

Describe your problem here.
pls help with a custom pause menu layout
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
wavy bg action bulid lol

you can't do that with lua

you can't do that with lua

actually you can but anyways

how

HOW!!

THEN TELL US

you can't do that with lua

actually you can but anyways

TELL US

https://cdn.discordapp.com/attachments/929801502829215745/1013170691882877100/subStateExample.lua

Go search YouTube goddammit

you can't do that with lua

actually you can but anyways

Wait you mean like, using setPropertyFromClass(); ?


FX Options WG meeting - July 2nd 2020

Date
July 2nd 2020 - 12pm ET / 5pm BST
Approve past meeting minutes - https://github.com/finos/alloy/issues/172
Untracked attendees

Michelangelo deMarzio / ISDA
Irina Yermakova / ISDA
Stephen Sui / RBC

Agenda

[ ] Convene & roll call (5mins)
[ ] FxOption Exercise Review - Vijay
[ ] AOB, Q&A & Adjourn (5mins)

Decisions Made

[ ] Decision 1
[ ] Decision 2
[ ] ...

Action Items

[ ] Action 1
[ ] Action 2
[ ] ...

WebEx info

Meeting link: https://finos.webex.com/finos/j.phpMTID=m9989b4e8a8a07ed8677e35cf4bb879cd
Meeting number: 667 055 449
Password: CWfvDt6yA36
Join by video system: Dial<EMAIL_ADDRESS>You can also dial <IP_ADDRESS> and enter your meeting number.
Join by phone: +1-415-655-0003 US Toll | +44-20319-88141 UK Toll | Access code: 667 055 449

I am (was) here.

Hi!

I'm here

Here

I am here

present


NETOBSERV-174 Make loki TimestampLabel configurable

... and default to "TimeFlowEnd"
JIRA: https://issues.redhat.com/browse/NETOBSERV-174
Note: by making it configurable rather than forced to TimeFlowEnd, we allow having a workaround when Loki generates a lot of out-of-order inserts. This can happen in previous versions of Loki.

This picture shows that the timestamp used by Loki is now TimeFlowEnd, not TimeReceived:

/approve


Revert "fix default options"

Reverts baurine/esbuild-plugin-postcss3#1

Revert it because PR #2 includes the changes to resolve the PR conflicts.


REPL error - Stepper evaluation errored.

To reproduce:
Branch: https://github.com/virgil-serbanuta/verified-smart-contracts/tree/multisig.bug4/multisig/protocol-correctness/proof
cd multisig/protocol-correctness/proof
make execution.timestamp
kprove proof-perform-action-endpoint.k --debugger --debug-script kast.kscript

then, in the REPL:
step 2
select 2
step 2

You can probably also use the kore files directly:
kore-files.zip
The error is here:
error.zip
Sorry for not providing a smaller example, but it took me over a day to produce the current version, and almost any rule I delete, regardless of whether it's related to the actual proof, makes the error go away.

@virgil-serbanuta By rule do you mean one of the trusted claims in proof-perform-action-endpoint.k?

What I said also applies to the trusted claims, but I actually meant something that (for me, at least) is more interesting:
I don't remember exactly, but I think that deleting, say, almost any rule in the PSEUDOCODE-TYPE-REFLECTION module (https://github.com/virgil-serbanuta/verified-smart-contracts/blob/multisig.bug4/multisig/protocol-correctness/pseudocode.k#L182 ) will make the error go away, although they are not used in the semantics (I didn't actually try all of them). Also, I think that deleting any rule in the EXECUTION-HELPERS module should have the same effect (here I actually only tried deleting all the rules of a symbol at once, https://github.com/virgil-serbanuta/verified-smart-contracts/blob/multisig.bug4/multisig/protocol-correctness/proof/execution.k#L10 )
So, the following would probably be good examples:
  rule pListLen([.]) => 0
  rule pListLen([_:Expression, Es:ExpressionCSV]) => 1 +Int pListLen([Es])

  rule pListLen(_) >=Int 0 => true  [simplification, smt-lemma]

  rule cast(value(K:KItem) => K, _:ReflectionType)

We need to look at the equations the frontend generates for isKResult. The actual error here is related to a predicate that the SMT solver cannot handle. We noticed an unevaluated isKResult term there, which should be very simple to evaluate. The isKResult function is generated by the frontend according to some complex criteria, and it's possible that adding or removing rules that appear unrelated can change what equations are generated for that function.

There seems to be no difference in the definition.kore files with respect to isKResult when these rules are included or excluded, so that rules out my hypothesis.

@MirceaS

If we remove one of these rules, do we get to the same configuration in the debugger (with or without the error)? Run step 2, select 2, step 1 and verify that the configuration is the same.
Assuming the configurations are the same, run the debugger (with and without the rule) with --solver-transcript and compare the transcripts.

@virgil-serbanuta @ttuegel It looks like increasing the SMT timeout gets rid of the error.
I tried running kprove --haskell-backend-command "kore-repl --smt-timeout 200" proof-perform-action-endpoint.k and this seems to work consistently (in the sense that repl no longer fails).
Interestingly though, even if the rules are unrelated to what's being proven, the configuration just before that step differs on whether we kept some rule in or not. (I only experimented with removing  rule cast(value(K:KItem) => K, _:ReflectionType))


Indicate that a game include friends of your

Is your feature request related to a problem? Please describe.
You are on Discord with your friends and they say they are in a game and it takes you 2 minutes till you understood which game you are supposed to join.
Describe the solution you'd like
Highlight the games a friend is in. Possibly with a smiley, the same that is used to indicate somebody is a friend in the player_card_tooltip.fxml (style class friend-icon). Though getting a better icon would also be appreciated. Needs to be done both in the game tiles and game table.
Wanna have the bug fixed quickly?
Visit Issue hunt...

Fun feature, I've been looking into it.
The friend finding logic is done and in the table view friends are tracked with highlighting when they move from game to game.

I was thinking about adding a friend-icon smiley inside the players column, something like this: "4/12 😃".
Is that a suitable place for the smiley?

The games with friends will be highlighted and show a smiley to be extra obvious that a friend is in there.
 We will one day need to replace it with something proper

... not the best designer

We could post a call for an icon on forum :D Best icon wins

Oh yea that's a great idea @1-alex98 !

or maybe somebody finds one in the internet that looks good

Maybe https://icomoon.io/iconsabf18a1/14/673.svg or https://icomoon.io/iconsabf18a1/14/1065.svg


SnapshotPolicyType Const  value should match kubebuilder enum

The defined SnapshotPolicyType is https://github.com/ceph/ceph-csi-operator/blob/4919ece1961894cca23a1bf13d80aff1bac58304/api/v1alpha1/driver_types.go#L72-L79 but kubebuilder enum has different rules with camelCase
https://github.com/ceph/ceph-csi-operator/blob/4919ece1961894cca23a1bf13d80aff1bac58304/api/v1alpha1/driver_types.go#L297-L298

@subhamkrai do you have a plan to fix this?

@subhamkrai do you have a plan to fix this?

yes I will do


Need an options to use PlayAndRecord on IOS

I have a scenario to do continuous recording, speech recognition, and play response audio. But this plugin always reset audio mode to playback which breaks the recording session, thanks!

I fixed it by forcing audio session category to play and record.

I fixed it by forcing audio session category to play and record.

Can you please tell me how to force audio session category to play and record? I have the same scenario as yours and got the same issue. Also, which plugin do you use for speech recognition and record voice? I'm using speech_recognition and flutter_sound.

@tuanbs The fix is in my fork. Regarding continuous SR, I'm using a cloud service that does not provide SDK so I just send raw PCM to server and handle CSR there

Closing due inactivity, if there is more info that you can add to the issue, comment here and we can re open the issue.


matrix: invertMatrix

mentioned in #2

Why closed?

Hi, originally I closed because it was incorrect. I think it is actually correct now but the discussion in #5 had me somewhat confused.


Windows XP

I installed windows xp on the virtual machine, converted .vdi to .img, using qemu.
(in the virtual machine, it works.)

Did you install it with qemu or what?

I made the virtual machine using the virtual box.
I used the command:
qemu-img convert -f vdi -O raw xp.vdi xp.img

Virtual box causes issues, try installing it with qemu

Using QEMU:

 var emulator = window.emulator = new V86Starter({
        memory_size: 128*1024*1024,
        vga_memory_size: 2 * 1024 * 1024,
        screen_container: document.getElementById("screen_container"),
        bios: {
            url: "/Emu/bios/seabios.bin",
        },
        vga_bios: {
            url: "/Emu/bios/vgabios.bin",
        },
		hda: {
			url: "/Emu/images/Windows_XP.img",
			async: true,
			size:<PHONE_NUMBER>,
		},
        autostart: true,
    });

Did you build v86 with acpi support? You can do that or make the image in qemu and disabling acpi support

Yes, have acpi support.

Yes, I used "make build/libv86.js enableacpi=true"

Well, maybe the newer version thing isn't right as this works.
I'm not really sure what you're issue is

I've encountered the same issue, and I've discovered that it ultimately depends on the ISO image you're using. I've found out that a genuine (direct from Microsoft) ISO works best -- a lot of the images online have additional drivers (and occasionally keyloggers) installed on them, and they usually cause v86 to hang or crash with a "Double Fault" error (see #86).

You can get an ISO directly from Microsoft? Or are you taking about dumping one from a DVD?

Well, you used to be able to. But not anymore, think. But I believe the ISO
is floating around the Internet somewhere. You can download it from various
websites, though I'd worry about legality and viruses.
On Mon, Oct 1, 2018, 11:43 PM Ben<EMAIL_ADDRESS>wrote:

You can get an ISO directly from Microsoft? Or are you taking about
dumping one from a DVD?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/copy/v86/issues/243#issuecomment-426165969, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWOJiFyTohEZyQH4HQSD8UlvruUHP6BAks5ugwsIgaJpZM4W9pNK
.

Oh okay

I think the public ISO downloads started with Windows 7.  but there are ISOs from MSDN and can check against published checksums.

I did try to get Windows XP, earlier, a few weeks ago, I said Windows XP did not work, it is because my laptop did not use a lot of memory for the Internet, so it didn't get far until it stopped.
Anyways, if I had a laptop with 100GB (or so) storage on the C:\ drive and 64GB (or so) memory on the laptop, then I could set it to use 14GBof memory for going online on certain webpages (such as, in this case, copy.ch)
It probably will run without having to give it tweaks for it to run correctly.

I got Windows XP to work, unlike the previous thread I made about it not working.
So, for proof, I have an image of it.
I did get the Luna theme to work, by connecting it to the Internet (it comes with it on the ISO I gave it) and finding it's theme DLL file for slow PCs.
It is out there, somewhere, on an unknown search engine.
Anyways, the Luna theme did slow it down a LOT, but it did still function.

It may also work with the ISO, if you can tweak it.
It failed to upload, though.
I will submit it on Google Drive, and give the link, later on.

Well, even Google Drive didn't accept it.
Welp!
I guess you guys will have to find a x86 ISO file of Windows XP for yourselves!

You can find out if a copy of windows XP has been modified by following this: https://www.bleepingcomputer.com/forums/t/43051/how-to-use-sfcexe-to-repair-system-files/
Fix it too I guess.

It is not a modified version of Windows XP, though.
I actually found a website that compares legit .ISO files to your .ISO, and Windows XP and 7 passed.
The ISO I said "came with the file to connect to the Internet", it really was a separate ISO I made with PowerISO, and it was a .exe I made myself with another tool (I forgot the name of it, and deleted it anyways because I don't have a lot of storage on my C:\ drive) and it allowed me to connect to the Internet with it.

See! Look how much storage is on my C:\ drive!

i have managed to get a build of windows xp to be around 82mb its a modified pe disk but does boot well here is the iso
i compressed the iso to a 30mb zip file here is the link
https://www.mediafire.com/file/j8idqjcm7kx7u3d/WindowsXp.zip/file

@12brendon34 Pretty cool. Would love to put this on my website, but it's neither free nor abandonware: https://forum.winworldpc.com/discussion/9882/rule-do-not-request-windows-xp-or-office-2000

@copy take a look at this
http://academy.delmar.edu/Courses/ITSY2400/Labs/BartPE.htm#:~:text=When using BartPE you should,2003 media to another media.&text=However%2C you can use a,BartPE XP%2F2003 source media.
the iso was made from bartpe

@12brendon34 Interesting, thanks for the link. I'll consider providing such a build in the next release.

ok also it may take a little bit to load so try to use maby a savestate or somthing and if you need me to add applications ect just ask

im trying to make a full version of windows xp to run on this and ive gotten the file size to 150 mb but you probly cant have that one on the website

nvm its gunna be like 300 mb ) :

yo i had a idea i will try to get Windows Embedded POSReady 2009 working its baced on windows xp but it has support to 2019 and sholdent be under https://forum.winworldpc.com/discussion/9882/rule-do-not-request-windows-xp-or-office-2000
so you can upload it

Im trying to make a modifyed version of Windows Embedded POSReady 2009 its baced on windows xp sp3 but its tecnicly not so you shold be able to put it on the website at the moument its 400 mb but im trying to bring it down Windows Embedded POSReady 2009 has had support untell 2019 last year surprisingly.

Windows Embedded POSReady 2009 microsoft link
https://www.microsoft.com/en-us/download/details.aspx?id=11196
Windows Embedded POSReady 2009 key
KFF8R-TMHF4-GKT2P-KGDHH-FXPMB
Windows Embedded POSReady 2009 iso size is 647mb
after install 520 minimum

im going to work on my Windows Embedded POSReady 2009 image and try to get it to run nicely but i also whant to keep the theme but if you just want to run my xp image its a few comments up some problems im running into is mainly modifing the file because its impossible to mount a img and edit it so im converting vhd to img because i can mount vhd in windows and easly edit it

i was thinking of compiling windows server 2003 from the source leak then see if i can get it to work in v86

i was thinking of compiling windows server 2003 from the source leak then see if i can get it to work in v86
I would keep anything illegal away from an open source project you care about.

That's pretty cool you got Windows XP working on copy.sh, but... I recommend using the Windows Classic theme, as Windows Luna makes it slower. I did an attempt on getting Windows XP to work on copy.sh, but you'll likely need an Windows XP Lite IMG file or a Windows XP Live CD. I usually recommend a Windows XP Live CD.

Oh, and also, if you guys want the image, figure it out for yourself, because courtesy of WinWorld's rules, you CANNOT request OS'es Windows XP or higher. That's why Windows XP is not featured on copy.sh.

Is there a way to get sever 2003


Testnet faucet ReCAPTCHA is broken

This issue is now resolved, thanks!

doesn't seem so
maybe something is being deployed, or #386 fixes it?
https://testnets.cardano.org/cardano-testnet/tools/faucet

This preview deploy is intended to test some new functionality for the faucet internally. The recaptchas haven't been set up to work within the preview deploy context and devops are looking at that for us now. In short, this is behaving as expected.

If you're running this locally we don't allow the use of our recaptchas from localhost for obvious reasons.

We're using the old https://testnets.cardano.org/en/testnets/cardano/tools/faucet/ link at https://app.testnet.wingriders.com/welcome and the redirect wasn't working, that's how I found https://testnets.cardano.org/cardano-testnet/tools/faucet as an alternative. But the redirect now correctly gets us to https://docs.cardano.org/cardano-testnet/tools/faucet, so all good, thanks 🙂


Error: HonKit doesn't satisfy the requirements of this plugin: gitbook-plugin-prism require <5.0.0

Note
I understand that this plugin was create for GitBook, so if there is no room for discussion, please close

I'm using this plugin in HonKit forked from GitBook.
HonKit recently released v4.0.0 and this plugin does not work with the latest HonKit
Honkit requires a gitbook or honkit description in the engines description, with the gitbook definition taking precedence
https://github.com/honkit/honkit/blob/32e906fc392accc23940e99e284efea005398544/packages/honkit/src/plugins/validatePlugin.ts#L18-L19
The engines definition of gitbook-plugin-prism is not intended for use with v4.0.0, so you will get an error if you try to use this plugin with Honkit
https://github.com/gaearon/gitbook-plugin-prism/blob/34f434cbec867413ad9ae3c4302049318873d00a/package.json#L10-L12
% node -v
v18.4.0
% honkit -V
4.0.0
% honkit build
...
Error: HonKit doesn't satisfy the requirements of this plugin: gitbook-plugin-prism require <5.0.0
    at validatePlugin (/path-to-honkit/node_modules/honkit/lib/plugins/validatePlugin.js:29:41)
    at /path-to-honkit/node_modules/honkit/lib/plugins/loadPlugin.js:81:56
    at _fulfilled (/path-to-honkit/node_modules/q/q.js:854:54)
    at /path-to-honkit/node_modules/q/q.js:883:30
    at Promise.promise.promiseDispatch (/path-to-honkit/node_modules/q/q.js:816:13)
    at /path-to-honkit/node_modules/q/q.js:570:49
    at runSingle (/path-to-honkit/node_modules/q/q.js:137:13)
    at flush (/path-to-honkit/node_modules/q/q.js:125:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

I'm considering the following options. I would like to hear opinions.

Remove <4.0.0 from the engine definition
Fork this repository and create a new honkit-plugin-prism.

Please let me know if there is a better way other than the above.
I'm prepared to create a pull request to resolve this issue.

similar issue: Error: HonKit doesn't satisfy the requirements of this plugin: gitbook-plugin-prism require >=2.4.1 <4.0.0
my option: prefer second one honkit-plugin-prism

I created honkit-plugin-prism by forking in order to solve this problem quickly. I have also published it on npm.
https://github.com/mziyut/honkit-plugin-prism
https://www.npmjs.com/package/honkit-plugin-prism
I'm not sure if it will be helpful to you.


add cli arguments to allow users to specify the config file location

Coverage remained the same at 100.0% when pulling 37efc6cc3990f4253696fe31300727e9c3c8d4ff on cli into 77b4e6404032c99fc61a306f14803c86c15345af on master.

Coverage remained the same at 100.0% when pulling 4cd2f4cfedbee5c2705938c086affae3f55bb24b on cli into 77b4e6404032c99fc61a306f14803c86c15345af on master.

Coverage remained the same at 100.0% when pulling e2dd3f13e66e3af51459b4a80811d32aca58ac95 on cli into 77b4e6404032c99fc61a306f14803c86c15345af on master.


use pyright for type checking

related to https://github.com/microsoft/pyright/discussions/4809

Closing for sake of tidyness, happy to revisit.


api: Fix search cluster by name

Description
This PR fixes an issue noticed while searching for clusters based on name. When the 'name' parameter is passed, it treats it as a keyword to be searched (https://github.com/apache/cloudstack-cloudmonkey/issues/109).

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[X] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?
Prior Fix:
(localcloud) 🐱 > list clusters name=Pool1 filter=name,id,
{
  "cluster": [
    {
      "id": "0b02dfba-27b8-4371-ad16-23d6df57ffca",
      "name": "Pool1"
    },
    {
      "id": "dc6a03fd-7d33-47cd-9bc0-a15c8fcda139",
      "name": "Pool10"
    }
  ],
  "count": 2
}

Post Fix:
(localcloud) 🐱 > list clusters name=Pool1 filter=name,id,
{
  "cluster": [
    {
      "id": "11d536bb-7719-4c39-8ecc-eca11d2ef3bf",
      "name": "Pool1"
    }
  ],
  "count": 1
}
(localcloud) 🐱 > list clusters name=Pool filter=name,id,
(localcloud) 🐱 > list clusters keyword=Pool1 filter=name,id,
{
  "cluster": [
    {
      "id": "11d536bb-7719-4c39-8ecc-eca11d2ef3bf",
      "name": "Pool1"
    },
    {
      "id": "67fd82e2-ab33-4b7f-af5b-95a6a38b4191",
      "name": "Pool10"
    }
  ],
  "count": 2
}

@blueorangutan package

@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1910

@blueorangutan test

@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@Pearl1594 @sureshanaparti @DaanHoogland
do we need to fix the similar issue in following file ?
engine/schema/src/main/java/org/apache/cloudstack/acl/dao/ProjectRoleDaoImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/network/vpn/Site2SiteVpnManagerImpl.java:            sc.setParameters("name", "%" + keyword + "%");
server/src/main/java/com/cloud/server/ManagementServerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/server/ManagementServerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/server/ManagementServerImpl.java:            sc.setParameters("name", "%" + podName + "%");
server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/org/apache/cloudstack/backup/BackupManagerImpl.java:            sc.setParameters("name", "%" + keyword + "%");

@Pearl1594 @sureshanaparti @DaanHoogland
do we need to fix the similar issue in following file ?
engine/schema/src/main/java/org/apache/cloudstack/acl/dao/ProjectRoleDaoImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/network/vpn/Site2SiteVpnManagerImpl.java:            sc.setParameters("name", "%" + keyword + "%");
server/src/main/java/com/cloud/server/ManagementServerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/server/ManagementServerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/server/ManagementServerImpl.java:            sc.setParameters("name", "%" + podName + "%");
server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/org/apache/cloudstack/backup/BackupManagerImpl.java:            sc.setParameters("name", "%" + keyword + "%");

Agree, if name param in the API has to exactly match with the name in the respective resource. Please note, this may fail any of the scripts written considering the name param as keyword (as it changes the API response behavior).

@Pearl1594 @sureshanaparti @DaanHoogland
do we need to fix the similar issue in following file ?
engine/schema/src/main/java/org/apache/cloudstack/acl/dao/ProjectRoleDaoImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/api/query/QueryManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/network/vpn/Site2SiteVpnManagerImpl.java:            sc.setParameters("name", "%" + keyword + "%");
server/src/main/java/com/cloud/server/ManagementServerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/server/ManagementServerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/com/cloud/server/ManagementServerImpl.java:            sc.setParameters("name", "%" + podName + "%");
server/src/main/java/com/cloud/storage/snapshot/SnapshotManagerImpl.java:            sc.setParameters("name", "%" + name + "%");
server/src/main/java/org/apache/cloudstack/backup/BackupManagerImpl.java:            sc.setParameters("name", "%" + keyword + "%");

Agree, if name param in the API has to exactly match with the name in the respective resource. Please note, this may fail any of the scripts written considering the name param as keyword (as it changes the API response behavior).

@sureshanaparti yes, it will break backwards compatibility.

Trillian test result (tid-2661)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 30756 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5782-t2661-kvm-centos7.zip
Smoke tests completed. 91 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

This is the same for the listHosts. Do we need to fix other searches as well, such as for hosts?
Additionally, this will change the behavior of the UI searches. I particularly have been using a lot the list filtering to give hosts/clusters with name matching with the provided string. I am not sure what would be the best option here, but particularly I like having the possibility to filter hosts by name. If we want a specific host we can already filter by uuid.

I don't think it does @GabrielBrascher, the UI uses the keyword parameter and not the name (unless there's a bug there as well.

However, if the expected behavior of the API is to list by matching exactly with the name, then this PR is OK. But we might need to refactor the UI.

The problem is mainly custom scripts I think, but we could label it a bug that has been featured. I that case we would need to deprecate the existing bahaviour and implement a new API with correct behaviour (to be very formally correct)

I agree with what @DaanHoogland mentioned. Ideally this is an issue with the way the API has worked. If users do have scripts that pass name to list resources with matching names (i.e., like a wildcard) then it would need to be changed, to use 'keyword' parameter to do the same.

Merging this based on the approvals and test results.


Add Search box under the segmented control inside Assets tab [ERC1155]

It should work natively. When you tap on it, the search box appears at the very top.
https://zpl.io/bW3ogpk
https://zpl.io/b6Wzjkm
https://zpl.io/293QEpe

@justindg can you add this (After Samoa goes in). I assume the search bar is within a view holder on the TokensAdapter, so it should drop into the 1155/721 view.
This should go in straight after the work to merge the 721 code into 1155.

Solved in #2271


Need a raw github link to kabanero-index.json collection to add to codewind template

Describe the bug
I can't add the kabanero collection v0.1.2 template to Codewind because it requires a raw github link.   Is there a raw link to https://github.com/kabanero-io/collections/releases/download/v0.1.2/kabanero-index.json ?
The existing Appsody extension for Codewind template uses link https://raw.githubusercontent.com/kabanero-io/codewind-appsody-templates/master/devfiles/index.json so I tried to replace github.com with raw.githubusercontent.com and add https://raw.githubusercontent.com/kabanero-io/collections/releases/download/v0.1.2/kabanero-index.json and I got error
Error adding new template source: "https://raw.githubusercontent.com/kabanero-io/collections/releases/download/v0.1.2/kabanero-index.json does not point to a JSON file of the correct form"

To Reproduce
Steps to reproduce the behavior:

In VS Code + Codewind
Under Codewind, Right click on Projects > Manage Template Sources > Add New
Add a URL to kabanero collection https://github.com/kabanero-io/collections/releases/download/v0.1.2/kabanero-index.json

Expected behavior
Need a raw github link to kabanero collection
Actual behaviour
can't find one
Environment Details (please complete the following information):

VS Code + Codewind plugin

If applicable please specify:

CLI version:
Collection you are using: kabanero

Screenshots
add url  https://github.com/kabanero-io/collections/releases/download/v0.1.2/kabanero-index.json

Try to add url https://raw.githubusercontent.com/kabanero-io/collections/releases/download/v0.1.2/kabanero-index.json

Additional context
Add any other context about the problem here.

This is a codewind issue that you cannot add  non-raw github link.
It was raised and fixed as part of this issue: https://github.com/eclipse/codewind/issues/540
You probably need to update your version of codewind to pickup this change.
In the meantime you can use the workaround that is described within the issue.


Unable to connect SMB share over Private Endpoint

When connecting a share on a storage account through a Private Endpoint this results in error 1359. Tracing the connection attempt using Wireshark reveals that the SMB negotiation reports that Encryption is not supported. Using the same resources but without the private endpoint (non-private IP range is seen when resolving the address) results in a mapped drive without any issues.
Test was conducted using a storage account with the relevant settings below:
"sku": {
"name": "Premium_LRS",
"tier": "Premium"
},
"kind": "FileStorage",
The client was a Windows 10 Azure VM.
This has also been reported as a Microsoft case:<PHONE_NUMBER>00820
Kind regards,
Marcel de Haas

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

ID: bed2e199-b8cc-81d0-a739-b9acb46950bd
Version Independent ID: 7028bfc9-dd53-9a7a-b561-e7292e8aa055
Content: Connect privately to a storage account using Azure Private Endpoint
Content Source: articles/private-link/create-private-endpoint-storage-portal.md
Service: private-link
GitHub Login: @KumudD
Microsoft Alias: kumud

@mdehaas Thanks for bringing this to our notice. We are investigating into the issue and will update you shortly.

@mdehaas ,Thanks for sharing the SR ticket details! We will now close this issue in GitHub, I shall follow-up on this internally and help you find a resolution soon. Since this channel is reserved for ‘Azure docs’ questions, specific to doc feedback and content improvements.


Switch from Streams2 to Streams3

The current latest version of merge-stream uses Streams2 via the through2 module but Streams2 is an older implementation.
This PR replaces through2 v0.6 with readable-stream v2.0.0 to switch to Streams3 which is a more popular stream implementation as it's used in the latest Node and io.js.

@grncdr What do you think?

Looks great! I've also made you a collaborator on this repo and an owner of the package on npm so feel free to update things as you see fit :+1:

@grncdr Thanks!

@grncdr, how about adding @stevemao to this project, too? He've done great works in various projects, including this one.

Thanks @shinnn , I'm happy to contribute :)

@stevemao you've been added as a collaborator on github. I don't know your npm username but @shinnn can also add you as an owner with npm owner add <username> merge-stream

:+1:

Thanks @grncdr


Get correct default branch from GitHub

Recently, a lot of people switched from using main as their default branch instead of master. Right now, master is hardcoded in pr. With the go-github package it should be possible to get the correct default branch from GitHub (https://pkg.go.dev/github.com/google/go-github/v37/github#PushEventRepository.GetDefaultBranch).

I think this is no longer an issue; I switched things to use the GitHub API since you got me excited about this project again :)


Introspect textField leads to undefined beh

Hello!
When I tried to run the app after implementing the Introspect textField modifier, an issue comes up saying that this will cause undefined behavior in the view: Modifying state during view update, this will cause undefined behavior.
I am not sure what is the issue here. Is this a bug in the swiftUI-Introspect module?
This is the code snippet that I used:
.introspect(.textField, on: .iOS(.v16, .v17)) { UITextField in
    UITextField.becomeFirstResponder()
}

I have previously used this code from the original Introspect module to apply the becomeFirstResponder modifier to a textField, and it is working fine:
.introspectTextField(customize: { UITextField in
    UITextField.becomeFirstResponder()
})

But the only issue is that this module will be depreciated soon. Could this be looked into? Thanks in advance.

Here's how to do it:
.introspect(.textField, on: .iOS(.v16, .v17)) { textField in
    DispatchQueue.main.async {
        textField.becomeFirstResponder()
    }
}

Explanation
The old Introspect implementation always performed a thread hop for the introspection callback. The new SwiftUIIntrospect implementation is more refined and performs the callback as soon as possible without needing to thread hop at all, which is beneficial in most cases except when you need to perform state mutations right away — such as this one.

Thanks for providing a solution for the problem above! There is another issue, though:
https://github.com/siteline/SwiftUI-Introspect/assets/120231221/cc2b4a63-5407-497a-bb7e-211b38b26c6c
As shown in the screen recording, the keyboard "lags behind" for a short duration even after the sheet has been closed. I am also not sure what the issue is here.

That doesn’t seem related to introspection, unless removing the .introspect call fixes the issue somehow.

I found the issue; there was apparently something weird about the way that iOS 17 beta 3 was handling textfields, and this bug happened to be one of them. I tested this again on a simulator and this issue did not appear.


--asan not working on iOS targets

flutter/tools/gn --unopt --no-lto --runtime-mode=profile --ios --asan

errors:
ninja: error: '../../buildtools/mac-x64/clang/lib/clang/13.0.0/lib/darwin/libclang_rt.asan_ios_dynamic.dylib', needed by 'libclang_rt.asan_ios_dynamic.dylib', missing and no known rule to make it

changed the path to 15
https://github.com/flutter/engine/blob/3f093ea1e504326b4aa9c7adcf13f97575417bcf/shell/platform/darwin/ios/BUILD.gn#L314
-      "//buildtools/mac-x64/clang/lib/clang/13.0.0/lib/darwin/"
+      "//buildtools/mac-x64/clang/lib/clang/15.0.0/lib/darwin/"

But there is no libclang_rt.asan_ios_dynamic.dylib in clang, only libclang_rt.asan_osx_dynamic.dylib, so same error.
@iskakaushik

It looks like the ios asan dylib is no longer vended with the clang toolchain that the engine consumes, but Xcode has the dylib, so we could try to use that one. It lives at something like Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/lib/darwin/libclang_rt.asan_ios_dynamic.dylib


Add outline:none;  to remove the dotted preview line for Ie.

Adding the outline:none; to the .ekko-lightbox-nav-overlay a will prevent the the dotted line from showing up when using Ie as a browser:
Ie do this

to remove this in IE

see #132 and #121


Small things (grammar)

dpg.py:
How many word do you want... should be How many words do you want....
The word Zero should be zero. You could also write it as zero (0) for emphasis.

Thanks for the suggestions.


Allow Function Controller to use mounted OAuth token instead of serviceaccount

Is this a BUG REPORT or FEATURE REQUEST?:
Feature Request
What happened:
I am deploying kubeless-function-controller to a non-rbac k8s cluster using webhooks for auth/z. My authz policies reject any non-whitelisted serviceaccounts, and I cannot whitelist the controller-acct serviceaccount nor can I use an existing, whitelisted serviceaccount.
Instead, other k8s controllers deployed to my k8s cluster mount files with bearer tokens, and use those to authenticate with k8s. For example, spark driver pods function as k8s controllers to create executors and construct k8s clients using a bearer token provided at launch time to the driver pod.
What you expected to happen:
Supply a secret or additional mounted file containing the bearer token and use the bearer token for k8s actions instead of using a serviceaccount.
See https://github.com/kubeless/kubeless/blob/9bc24c831546b971aa94d941dffcc96fc399eb40/pkg/utils/k8sutil.go#L57-L70
How to reproduce it (as minimally and precisely as possible):
Use a webhook for k8s authz which rejects the kubeless service account.
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.1-palantir1", GitCommit:"f31005ab029ab58f05349b193fa2c22bdbe27ad3", GitTreeState:"clean", BuildDate:"2018-07-24T19:50:58Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.1-palantir1", GitCommit:"f31005ab029ab58f05349b193fa2c22bdbe27ad3", GitTreeState:"clean", BuildDate:"2018-07-24T19:46:29Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
Kubeless version (use kubeless version):
Kubeless version: v1.0.0-alpha.7
Cloud provider or physical cluster:
AWS

One idea is to allow check for an environmental variable called APITOKEN_FILE_PATH on the deployment for the function controller, and if its set, use the contents of the file at that path as an oauth token

Hi @jamding, that sounds like a viable option, create a K8s secret and mount that secret as a volume in the controller to use it. Would you mind sending a PR to support that? We can assist you if you have any doubt about the implementation.

Yes I'm happy to, will be testing something next week and will open a PR

.

Here is a first pass, I've done some preliminary testing in a representative dev environment and will be doing business logic this week. https://github.com/kubeless/kubeless/pull/885


Set the Content-Length header in Request.SetBody

Even though the underlying transport will set this header, some
operations depend on this being available earlier (string-to-sign).

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] Apache v2 license headers are included in each file.

Can one of the admins verify this patch?


Won't grab DL links for certain files

Try the script iwth https://drive.google.com/file/d/0B5qICdpK2azodGlwYngweGF3VzA/view ... It won't work...

Well if you noticed your video is actually missing the download button, while the video in the demo has a download button. My guess is you have restricted permissions or your account settings are messed up. Don't blame the API, it is doing what It can do given the proper account. So try it again once you fix the permissions issue.

Try uploading a 700MB video and try it into the API it won't work, only videos less than 35 MB work...

@milankragujevic as @mbivol10 said, the permission is messed up, fix it since mine was working and this file sizes up to 3gb tho

ok.


Error in demo FluentTabs page in Dynamic section "Could not find 'fluentOverflowResized'"

Hi,
In documentation FluentTabs page in section with dynamic there is an error when you try to delete one of tabs.
Full error message:

Could not find 'fluentOverflowResized' ('fluentOverflowResized' was undefined). Error: Could not find 'fluentOverflowResized' ('fluentOverflowResized' was undefined). at https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:368 at Array.forEach () at l.findFunction (https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:336) at w (https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:5079) at https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:2872 at new Promise () at b.beginInvokeJSFromDotNet (https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:2835) at Object.vn [as invokeJSJson] (https://www.fluentui-blazor.net/_framework/blazor.webassembly.js:1:58849) at https://www.fluentui-blazor.net/_framework/dotnet.runtime.8.0.6.scyrrn9hx4.js:3:178364 at Tl (https://www.fluentui-blazor.net/_framework/dotnet.runtime.8.0.6.scyrrn9hx4.js:3:179198)

Regards

I have the same issue when I upgrade my existing application from  4.8.1 to 4.9.0. So with 4.8.1  there is no issue and after upgrade to 4.9.0 this issue seems to appear.

Yes, confirmed this is a bug because of some internal renaming/refactoring. Will be fixed in 4.9.1

Yes, confirmed this is a bug because of some internal renaming/refactoring. Will be fixed in 4.9.1

I can confirm that 4.9.1. fixed the issue for me.
@vnbaaij Thank you


[Bug Report]: InternalLoadBalancingMode allowed values are incorrect in ASEv3 module

Describe the bug
IntermalLoadBalancingMode allowed values for ASE v3 are 0, 3 whereas those values are set to None, Web and Publishing
To reproduce
This module is not up-to-date for ILB ASEv3 deploying
https://github.com/Azure/ResourceModules/blob/main/modules/Microsoft.Web/hostingEnvironments/deploy.bicep
Please, would it be possible to update the module to the latest version (2022-03-01) of ASEv3? Thanks
Code snippet
No response
Relevant log output
No response

@willchoko, I'm almost done publishing an update for ASE to use the latest API as per documentation. This will include all the new parameters in that document. However, wanted to clarify something quick,
You've mentioned that the parameter internalLoadBalancingMode takes values 0,3. However as per the parameter properties in the documentation, the value is string and takes the values:
'None'
'Publishing'
'Web'
'Web, Publishing'
I've also created two ASEs, one internal and one external, and here are the values as per the API:
Internal

External

Is the bug you're referring to related to the module not currently supporting the parameter internalLoadBalancingMode value Web, Publishing?

Hello Ahmad,
You are right. The issue about InternalLoadBalancingMode was on the
combination "Web,publishing" missing among allowed values.
I Think we should have : ("none", "web", "publishing", "web,publishing").
Glad that you are updating the ASEv3 api version to the latest one. This
will allow me to deploy ASE and its customdomainsuffix within a same module.
Many thanks.
William B. Chokouago
Le lun. 30 janv. 2023, 1 h 10 a.m., Ahmad Abdalla @.***>
a écrit :

@willchoko https://github.com/willchoko, I'm almost done publishing an
update for ASE to use the latest API as per documentation
https://learn.microsoft.com/en-us/azure/templates/microsoft.web/hostingenvironments?pivots=deployment-language-bicep.
This will include all the new parameters in that document. However, wanted
to clarify something quick,
You've mentioned that the parameter internalLoadBalancingMode takes
values 0,3. However as per the parameter properties in the documentation,
the value is string and takes the values:
'None'
'Publishing'
'Web'
'Web, Publishing'
I've also created two ASEs, one internal and one external, and here are
the values as per the API:
Internal
[image: image]
https://user-images.githubusercontent.com/28486158/215400269-c986ca80-2a62-4732-9a2e-5a644f18f0ba.png
External
[image: image]
https://user-images.githubusercontent.com/28486158/215400362-f03c07c6-313c-4466-abef-f24176e52997.png
Is the bug you're referring to related to the module not currently
supporting the parameter internalLoadBalancingMode value Web, Publishing?
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/ResourceModules/issues/2622#issuecomment-1408048637,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5P4SBUPI4UQMCUDLZLPZM3WU5LOTANCNFSM6AAAAAAUIKK7I4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Nice !

@willchoko the branch is ready for PR, but I would like you to test it out as well before we merge the changes in. Please use this branch:
https://github.com/Azure/ResourceModules/tree/users/ahmad/2622_AseV3/modules/Microsoft.Web/hostingEnvironments
It incorporates new properties for ASE, including managed identities, networking configuration and custom dns suffix.

Hello Ahmad,
It seems like the property "identity" is not required in ASEv3 deployment. Please see attached files

Thanks

That's ok. It's a common warning across many modules. He's property is supported.

So everything is Ok
Thanks

@ahmadabdalla, on the identity variable, the value Null is not expected.
A suggestion is to replace it by {} as explained here:  https://github.com/Azure/bicep/issues/7295

Right. Not sure why it wasn't showing like that before. I've updated it


iOS InstanceId and Token return NULL.

I have went through all of the steps and testing I can find to get the token to return but nothing is working. Initialize FirebasePushNotificaitonManager, call RegisterForPushNotifications, and have everything set up for my Apple Developer Account / Firebase Console.
For code, I currently have the below for getting the instance id and fcm token. I have tried a few other assorted bits of code found throughout various coding websites but none of them are working for me.
public override string InstanceId
        {
            get
            {
                //Get only the instanceId from the Token - found on StackOverflow
                string instanceId = Firebase.InstanceID.InstanceId.SharedInstance.Token.Split(':')[0];
                return instanceId;
            }
        }

        public override string MessageToken
        {
            get
            {
                string token = Firebase.InstanceID.InstanceId.SharedInstance.Token;
                return token;
            }
        }

Any help would be greatly appreciated. I have the Android version working but can't get iOS to even get a token.

Please test this beta and let me know if solves your issues: https://www.nuget.org/packages/Plugin.FirebasePushNotification/3.0.1-beta


28 create page for report generation

Report generation for full data as well as light data (can be renamed later)
Full report downloads 4 csv files 1 for each category
Light report downloads the data being displayed on table
Filters option to select staff name gets all staff present in the same dept as the editor / HOD
Filter option to search for specific name in title reduces data shown as more letters are typed
Have installed 2 packages so y'all need to npm i.
Design is temporary, have reused Mohit's table styles
The alignment of filters and the report table has to be adjusted.
The refinements can be made into a new issue

Oops, code a bit broken still, merge with main and try again!

@programmingMohit Fixed the 2 errors.

This error will show up, and disappear when you navigate to localhost:3000/test
Do not incorporate the erroneous code in the actual backend.
Good to go, otherwise.


<IP_ADDRESS>

Fix duplicate srcid issue

Hi Rajesh,
Thanks for the PR. I think we should not rely on credential id either, instead, using a composite key <clusterid, srcid>.

Thanks Jing for the review, Now disk pool is filtered based on clusterid and credentialid

LGTM


DockerBuildInformation - reads Git repo and commit

This PR stores two additional fields in "target/test-classes/image_info.json" when image is built: "commit" and "repo". For example:
$ cat target/test-classes/image_info.json
{"commit":"588dc4e341aba758067362b7795587a1872517eb","image":"registry/my-service:0.0.1-SNAPSHOT-588dc4e.DIRTY","repo":"git@repo:user/my-service.git"}

I was trying to add a test like this https://github.com/spotify/docker-maven-plugin/tree/dxia/add-test-for-git-data. But couldn't figure out how to do it using a test fixture for the .git dir.

:+1:

That was fast. Thanks, Ryan!


Lottie Support

Issue: https://github.com/thorvg/thorvg/issues/692

https://github.com/thorvg/thorvg/assets/3711518/d82cff87-e456-409a-b631-6b560e1d98a6

https://github.com/thorvg/thorvg/assets/3711518/6af951ab-2311-4409-9f11-441f619590ab

https://github.com/thorvg/thorvg/assets/3711518/5287757a-7cbc-44e0-826e-5e08ee65300d

https://github.com/thorvg/thorvg/assets/3711518/ccfcd466-4e21-4c3b-b723-a9d7e326f005


Collectively draw/visualise the content model

To include:
@jamesgorrie
@jennpb
@davidpmccormick
@gestchild
Natalie

@Heesoomoon Do you need/want to know more about the content model? If so add your name to the list above!


[Symfony] Skip remove comment deep statement on ConsoleExecuteReturnIntRector

Based on https://getrector.org/demo/b6b66790-9939-49ba-ba4a-0f6bd3496e49, the comment should not be removed on deep ifs.
Fixes https://github.com/rectorphp/rector/issues/7668

Fixed 🎉 /cc @escopecz

All checks have passed 🎉 @TomasVotruba I think it is ready.

Thanks :+1:

Thank you all! The community around Rector is amazing!


Provide bindinterface in config

When using with 4G / LTE radios the IP addresses change quite a lot, it would be a lot more convenient for consumers to specify the binding in this format:
[wwan0]
bindinterface = "wwan0"
remotehost = "my.vpn.net"
remoteport = 6000
I've had a cursory glance around and there are some options. Mostly described here: https://stackoverflow.com/questions/2283494/get-ip-address-of-an-interface-on-linux the accepted answer looks as though it will be portable across linux / bsd and mac.

yes, that was discussed in the past. There is a problem with this approch, mlvpn would need to react to interface changes, not just handling the startup case. This is much much harder and is different across platforms. What you can do to workaround this is to use a router on the 4G side to avoid having to deal with it

How complex would that need to be? I'm not sure I'd expect a VPN to respond to an interface being yanked and recover from it. I'm probably missing something here but right now, if I renamed an interface out from under MLVPN it would trash the scoket anyway right?

yes, probably, but I think it would be mandatory if you have a changing ip address. I don't see the point to support a changing IP address, but not handling the change during runtime

you are right there, however that is a problem now and a somewhat worse one. If an IP address changes while the tunnel is running, the config is no longer valid and has to be regenerated. If we have bindinterface, the subflow would just need to be restarted. This could probably be handled using dhclient-script and the existing hot config reloading facility in this project. I'd be quite interested to give this a go and see how it functioned. How do you feel about the additional configuration load here? It does mean more disparate features being strung together.

FWIW before I forked away, I had a script that generated my config, not just for the IP address but also for the bandwidth, as that fluctuates a lot in my case, so I was re-loading the config relatively frequently.... It's not so hard to script all this.  I'm guilty of providing a load of patches (https://github.com/zehome/MLVPN/pull/69) that include this issue, but... I kind of agree with @zehome updating the config isn't that hard in the end.

bandwidth? I thought that was only necessary to configure in glorytun not ml vpn?

I have this all scripted for me anyway, just seemed like a useful feature, I'm happy if it's not wanted as part of the project but I suspect it is not as troublesome as suspected and does simplify scripting around it

duplicate of #69


Fix RN 0.48+ warning about requiresMainQueueSetup

Fixes the warning
Module ReactNativePermissions requires main queue setup since it overrides `init` but doesn't implement `requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

@oblador Thanks!


Allow TTL=1 (auto) in Cloudflare provider

This solved the deletion/update of non-relevant records and allows to reset the TTL to 1 (the values that Cloudflare uses for automatic TTL selection).
https://github.com/github/octodns/pull/162

Dropped my thoughts on the 1s == automatic over in https://github.com/github/octodns/pull/205#issuecomment-366812079, but they're probably just as relivant on this PR/thread so I'll crosspost them here:

I looked around at that for this PR and decided against it b/c I don't like the idea of putting a 1 in the config for Cloudflare provider and it meaning something completely different for other providers (an actual TTL of 1s).

Since this sort of "automatic" unknown default is specific to CF I landed on it just not being a concept that octoDNS should support b/c it can't do so elsewhere. The line of thinking comes from octoDNS's focus on getting the same behavior out of multiple providers and not just allowing full-featured managed config for each provider.

Fair enough. Probably some logic would be desirable that for proxied records the TTL forced to 1s or whatever Cloudflare accepts. I will leave it to you as I have no interest in sending updates to Cloudflare anyway.

Probably some logic would be desirable that for proxied records the TTL forced to 1s or whatever Cloudflare accepts.

Yeah. I'm still bouncing around ways to handle it a bit better for Cloudflare itself. What it does now isn't horrible.. leave it alone unless it's otherwise changing the record, then clamp it to 120s, but I don't have a clue what the actual "automatic" behavior is atm so it's hard to figure out what's right :-)

The automatic TTL value means that your DNS changes with Cloudflare will push out in approximately 5 minutes  (300 seconds).

https://support.cloudflare.com/hc/en-us/articles/200168866-What-does-the-Automatic-TTL-value-mean-

The automatic TTL value means that your DNS changes with Cloudflare will push out in approximately 5 minutes (300 seconds).

https://support.cloudflare.com/hc/en-us/articles/200168866-What-does-the-Automatic-TTL-value-mean-

Heh. OK. That makes it seem like the right thing to do may be 1 => 300, but would have to look at the details/scenarios to make sure that it keeps things clean.


Fix broken EGI links and vscode linter compatibility

Summary
Apparently, some links were inherited by previous EGI project templates.
Furthremore, replicating the GH linter settings (.github/linters/.markdownlint.json) into .vscode/ workspace settings improves compatibility with VS Code's markdown linter

thanks! yes indeed i adapted an EGI template and something was left behind..


Close this

Going to close this. I no longer have an interest in getting back on the server after the events of the last week. Closing this appeal would give me no more reason to think about it.
If you'd care for some constructive feedback that I have, feel free to hmu on Discord, Julian#6969
Otherwise, cy@

^

We were actually going to discuss this, Ele and I. I'll contact you directly since I am always willing to face feedback.

Ban appeal sorted, has been unbanned.


Allow override of provisioned components

Previously this would only install the latest version of each component from the log. This PR allows the OS to bbe overridden to install a specific version by providing its index in the log. This allows us to test upgrade paths when there are compatibility concerns between the OS and Applet.
If this approach is acceptable, then we can add another flag and extend the GetApplet method to also permit override.
This requires https://github.com/transparency-dev/armored-witness-common/pull/38 to be merged and that dependency updated before this will build.

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

Please upload report for BASE (main@14b96d7). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

cmd/provision/main.go
0.00%
29 Missing :warning:

Additional details and impacted files
@@          Coverage Diff           @@
##             main    #300   +/-   ##
======================================
  Coverage        ?   2.19%
======================================
  Files           ?      21
  Lines           ?    1597
  Branches        ?       0
======================================
  Hits            ?      35
  Misses          ?    1551
  Partials        ?      11

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


Update Class Name in Sample Code

This is to fix an incorrect class name in some sample code.

Good catch, thanks


UI Enhancing and form reseting after submit

I have enhance the UI of the form and the form now resets after submit and also hide the scroll bar for better view and also i have added custom validations which input tags cant handle

the changes are done

Mention your issue number

Mention your issue number

#85


Update Turing for AHMC #76

To be merged after https://github.com/TuringLang/AdvancedHMC.jl/pull/76.

I'm closing this for now, since it is probably out-of-date now. Please open another PR if needed.


alliance

Description and Motivation
Migaloo v2 really just adds the alliance module.  We've shifted all other updates away from this release to focus on the alliance integration.

Checklist:

[ ] I have read Migaloo's contribution guidelines.
[ ] My pull request has a sound title and description (not something vague like Update index.md)
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation.
[ ] The code is formatted properly golangci-lint run ./... --fix.

@ThanhNhann can you see if this affects alliance itself?  thanks!


Stackdriver-based Trace API implementation

This PR introduces the implementation of the new Spine Trace API based on Stackdriver Trace.
When a command/an event is handled, a new span is created. Spans which represent the propagation of a single signal tree are grouped into a single trace.
For example, if the command StartGroupImport cased one event GroupImportStarted and many events MemberImported, some of which in turn caused several UserCreated, all of those commands and events belong to the same signal tree (with the root in StartGroupImport) and thus are displayed on the same trace.
Spans include such information as the IDs of the signal and the receiver entity, the name of the bounded context to which the entity belongs, and the associated tenant ID.

@armiol, PTAL.

@dmdashenkov also, I am not sure it's a good idea to have the span names that long. In particular, why the project ID is always included? Let's discuss vocally.
This PR description lacks a screenshot of the Google Console. Otherwise, we could see if the long names are OK.

@armiol, PTAL.

@armiol PTAL again.


Round/rewrite path ruins file

I am using
https://jakearchibald.github.io/svgomg/
for this file:
https://commons.wikimedia.org/wiki/File:Earth_energy_budget.svg
Even with the highest precission "Round/rewrite path" (without "Multipass") ruins the file
The minimal working example is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg version="1.1" viewBox="0 0 744 556" xmlns="http://www.w3.org/2000/svg">
 <path transform="matrix(2.28 0 0 -.97 566.9 890.1)" d="m176.9 336.2a274.9 226.5 0 0 1-262.1 155.9 274.9 226.5 0 0 1-260.9-157.3" fill="#decd87"/>
</svg>

Looks like the issue is solved


failed to open output files to write

I'm trying to pipe the output of msisensor with a bash script and get this error with the following command:
for bam in BAMs/*.bam ; do msisensor msi -d GRCh37.msi.list -t $bam -e CDHS-15963Z-17266.GRCh37.roi.bed -o msisensor/${bam%.bam}.msi.txt -b 4 & ; done
The directories for BAMs and msisensor already exist before running the command.

please make sure if this problem was caused by shell script or msisensor program.

Sorry it looked like it was a script error with the directory names in the file name passed.