Update gardener-controlplane to v1.101.0 (main)

This PR contains the following updates:

Package
Update
Change

gardener-controlplane
minor
1.100.0 -> 1.101.0

gardenlet
minor
1.100.0 -> 1.101.0

Release Notes

gardener-community/gardener-charts (gardener-controlplane)
v1.101.0
Compare Source
[gardener/gardener]
⚠ Breaking Changes

[DEVELOPER] The legacy method of providing monitoring configuration via ConfigMaps labeled with extensions.gardener.cloud/configuration=monitoring has been removed. See this instead. by @rfranzke [#10220]
[DEVELOPER] The IPv4 addresses for the local Gardener setup was changed from 127.0.0.x to 172.18.255.x (default kind subnet) to resolve an issue on developer machines which can't use additional IP addressed from the <IP_ADDRESS>/8 space. Please consider updating your /etc/hosts file to adjust to the the newly added addresses. Please see Deploying Gardener Locally#Accessing the Shoot Cluster for more details. by @MartinWeindel [#10019]
[DEVELOPER] github.com/gardener/gardener/plugin/pkg/utils.ProjectForNamespaceFromLister has been deprecated and will be removed in a future release, use github.com/gardener/gardener/pkg/utils/gardener.ProjectForNamespaceFromLister instead. by @vpnachev [#10042]

📰 Noteworthy

[DEVELOPER] Evaluate shoot.Spec.CloudProfile and shoot.Spec.CloudProfileName fields together to determine the applicable cloud profile in order to prepare for namespaced cloud profiles. by @LucaBernstein [#10093]
[DEPENDENCY] A new field class was added to resources of the extensions.gardener.cloud API group. Together with the newly introduced predicate HasClass, it serves as a mean to split responsibilities of extension controllers for extensions belonging to different type of targets, i.e. shoot (default) or garden. Handling is backwards compatible, so that extensions are still responsible for shoot extension resources without any adjustments. If you intend to already support the reconciliation of extensions belonging to the garden class (cluster), please consider adding the ExtensionClass parameter (see here for more information).  by @timuthy [#10254]
[OPERATOR] The VPAAndHPAForAPIServer feature gate has been promoted to beta and is now turned on by default. by @ialidzhikov [#10207]
[OPERATOR] VPA MaxAllowed is no longer hard-coded to fixed values (4/7/8 cores and 25/28G) for kube-apiserver, etcd, and prometheus. Operators must ensure sufficiently large worker pools for control plane components. For details, see this document. by @andrerun [#10208]
[OPERATOR] The graduated CoreDNSQueryRewriting feature gate has been dropped. by @ScheererJ [#10230]
[OPERATOR] The graduated MutableShootSpecNetworkingNodes feature gate has been dropped. by @ScheererJ [#10231]
[USER] Use shoot.Spec.CloudProfile as the primary directive to specify the cloud profile to use. The value will by synced to the field shoot.Spec.CloudProfileName (until it is deprecated and eventually removed in the future). If no cloud profile kind is provided, it will default to CloudProfile. by @LucaBernstein [#10093]

✨ New Features

[OPERATOR] gardener-operator is now capable of deploying gardenlets into unmanaged seed clusters. Read more about it here. by @rfranzke [#10161]
[OPERATOR] gardener-operator is now capable of auto-updating the Helm chart reference (.spec.deployment.helm.ociRepository.ref) in seedmanagement.gardener.cloud/v1alpha1.Gardenlet resources. Read all about it here. by @rfranzke [#10218]
[OPERATOR] gardener-operator is now capable of installing ControllerRegistration and ControllerInstallation objects in the virtual cluster based on operator.gardener.cloud/v1alpha1.Extension resources. by @kon-angelo [#10006]
[OPERATOR] A new field Bastion was introduced to the CloudProfile. by @hebelsan [#10233]

🐛 Bug Fixes

[OPERATOR] Valitail is now pinned to v2.2.15 (depends on glibc 2.32) by @nickytd [#10282]
[OPERATOR] updatecacerts.service systemd unit on nodes with Debian OS does not fail anymore if /usr/local/share/ca-certificates directory is empty. by @ScheererJ [#10242]
[OPERATOR] Fixed a bug in the vpa-eviction-requirements controller causing etcds to be evicted for downscaling outside of their maintenance window. by @voelzmo [#10202]

🏃 Others

[DEPENDENCY] The registry.k8s.io/coredns/coredns image has been updated to v1.11.3. by @gardener-ci-robot [#10224]
[DEPENDENCY] The gardener/alpine-conntrack image has been updated to 3.20.2. Release Notes by @gardener-ci-robot [#10206]
[DEPENDENCY] The gardener/etcd-druid image has been updated to v0.22.4. Release Notes by @gardener-ci-robot [#10260]
[OPERATOR] An issue preventing kubectl rollout restart to work for Deployments, DaemonSets and StatefulSets managed by a ManagedResource is now resolved. by @Kostov6 [#10192]
[OPERATOR] The CPU and memory resource requests of the istio-proxy container for the istio-ingressgateway deployment have been changed to 300m and 600Mi, respectively.
The HPA maxReplicas for the istio-ingressgateway deployment have been increased from 5 to 9. When deployed for multiple zones, the maxReplicas are increased from 4 to 6 per zone. by @plkokanov [#10226]
[OPERATOR] In case multiple network ranges are configured via infrastructure status propagation for pod, service or node network, gardenlet will check whether they comply to the requirements of Kubernetes components like kube-apiserver, kube-controller-manager, and kube-proxy. by @ScheererJ [#10148]
[OPERATOR] Removed the addition of the annotation: cluster-autoscaler.kubernetes.io/safe-to-evict: false for the HA etcd-main to improve node utilization. by @ishan16696 [#10235]
[OPERATOR] The STATUS column of seeds was improved, when they are listed via kubectl. Earlier the field tend to oscillated, especially when extensions and system components are scaled frequently. by @timuthy [#10237]
[OPERATOR] [Secretsmanager] Drop old CA from bundle if not valid anymore. by @MartinWeindel [#10158]
[OPERATOR] Separate kube-state-metrics deployments for seed and garden-runtime cluster by @chrkl [#10062]
[USER] Displaying unhealthy nodes in the shoot Plutono dashboard was improved to show nodes with taints used for taint based eviction. Earlier, nodes with custom NoSchedule taints distorted this view, as actual healthy nodes were shown as problematic. by @timuthy [#10214]
[DEVELOPER] local setup: Registry caches for eu.gcr.io and ghcr.io are now removed as there are no images from these upstream registries. by @ialidzhikov [#10185]
[DEVELOPER] The images of the registry caches used in the extensions local setup are now updated to<EMAIL_ADDRESS>beta.1. by @ialidzhikov [#10180]

Helm Charts

controlplane: europe-docker.pkg.dev/gardener-project/releases/charts/gardener/controlplane:v1.101.0
gardenlet: europe-docker.pkg.dev/gardener-project/releases/charts/gardener/gardenlet:v1.101.0
operator: europe-docker.pkg.dev/gardener-project/releases/charts/gardener/operator:v1.101.0
resource-manager: europe-docker.pkg.dev/gardener-project/releases/charts/gardener/resource-manager:v1.101.0

Docker Images

admission-controller: europe-docker.pkg.dev/gardener-project/releases/gardener/admission-controller:v1.101.0
apiserver: europe-docker.pkg.dev/gardener-project/releases/gardener/apiserver:v1.101.0
controller-manager: europe-docker.pkg.dev/gardener-project/releases/gardener/controller-manager:v1.101.0
gardenlet: europe-docker.pkg.dev/gardener-project/releases/gardener/gardenlet:v1.101.0
node-agent: europe-docker.pkg.dev/gardener-project/releases/gardener/node-agent:v1.101.0
operator: europe-docker.pkg.dev/gardener-project/releases/gardener/operator:v1.101.0
resource-manager: europe-docker.pkg.dev/gardener-project/releases/gardener/resource-manager:v1.101.0
scheduler: europe-docker.pkg.dev/gardener-project/releases/gardener/scheduler:v1.101.0

v1.100.1
Compare Source
[gardener/gardener]
🐛 Bug Fixes

[OPERATOR] Fixed a bug in the vpa-eviction-requirements controller causing etcds to be evicted for downscaling outside of their maintenance window. by @voelzmo [#10216]
[OPERATOR] updatecacerts.service systemd unit on nodes with Debian OS does not fail anymore if /usr/local/share/ca-certificates directory is empty. by @ScheererJ [#10251]
[OPERATOR] Valitail is now pinned to v2.2.15 (depends on glibc 2.32) by @nickytd [#10283]

🏃 Others

[DEVELOPER] local setup: Registry caches for eu.gcr.io and ghcr.io are now removed as there are no images from these upstream registries. by @ialidzhikov [#10203]

Helm Charts

controlplane: europe-docker.pkg.dev/gardener-project/releases/charts/gardener/controlplane:v1.100.1
gardenlet: europe-docker.pkg.dev/gardener-project/releases/charts/gardener/gardenlet:v1.100.1
operator: europe-docker.pkg.dev/gardener-project/releases/charts/gardener/operator:v1.100.1
resource-manager: europe-docker.pkg.dev/gardener-project/releases/charts/gardener/resource-manager:v1.100.1

Docker Images

admission-controller: europe-docker.pkg.dev/gardener-project/releases/gardener/admission-controller:v1.100.1
apiserver: europe-docker.pkg.dev/gardener-project/releases/gardener/apiserver:v1.100.1
controller-manager: europe-docker.pkg.dev/gardener-project/releases/gardener/controller-manager:v1.100.1
gardenlet: europe-docker.pkg.dev/gardener-project/releases/gardener/gardenlet:v1.100.1
node-agent: europe-docker.pkg.dev/gardener-project/releases/gardener/node-agent:v1.100.1
operator: europe-docker.pkg.dev/gardener-project/releases/gardener/operator:v1.100.1
resource-manager: europe-docker.pkg.dev/gardener-project/releases/gardener/resource-manager:v1.100.1
scheduler: europe-docker.pkg.dev/gardener-project/releases/gardener/scheduler:v1.100.1

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!"


iOS does not properly retrieve 2nd characterisitc when IDevice.GetKnownCharacterisitics is called twice.

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[*] iOS
[] Android
[] tvOS
[] macOS
[*] .NET Standard
UWP IS NOT SUPPORTED DURING THE BETA PERIOD - ONLY PRs ARE WELCOME FOR NOW

Version of OS(s) listed above with issue
iOS 10.3.3
Version of Library
6.0.0 beta1
Expected Behaviour
Assert(guid1 != guid2)
IGattCharacteristic var1 = await IDevice.GetKnownCharacteristics(serviceGuid, guid1);
IGattCharacteristic var2 = await IDevice.GetKnownCharacteristics(serviceGuid, guid2);
assert(var1 == CharacteristicWithGuid1)
assert(var2 == CharacterisiticWithGuid2)
Actual Behavior
If applicable, please include entire exception - type, message, stacktrace
In Android:
var1 == CharacteristicwithGuid1
var2 == CharacterisiticwithGuid2
In iOS:
var1 == CharacteristicwithGuid1
var2 == CharacterisiticwithGuid1 <------Bug here.  Should be CharacterisiticwithGuid2
Code of Conduct

No Library Update Requests
No Timeline Requests
Please read through the documentation and FAQs
Please be respectful of my time. I put a lot of effort into my libraries.  I try to support the issue requests within a day.  I'm not psychic, so please take the time to fill out the above form as complete as possible

Please let me know which version have fixed this issue ? Right now i am using 5.3.2 and my application breaks if i upgrade to 6.0.0-beta3

5.3.2 should be fine.  6.0 has had breaking changes that you need to adapt to


Math Library: Conversions to and from display and onchain for price and shares

We have most of the conversions in augur-api but they make more sense in the math library.
One of the directions: converting from display values to on-chain (atto) values:
const attoShares = shares.multipliedBy(tickSize).multipliedBy(QUINTILLION);
const attoPrice = price.minus(minPrice).div(tickSize);

Dupe of https://github.com/AugurProject/augur/issues/1875


Tasks Api for legacy micro displays

eh... i think i'm just not gonna worry about this.... i want to replace the original micro display with a newer version of the project anyways.... it can be the first to use the NullHub with the NullDisplay plugin.... the NullDisplay plugin being the new micro display incarnation....


fix broken links

some links were broken in the table of contents and some didn't exist

@darrachequesne hope this PR makes sense :)

@cmgchess thanks a lot :+1:


python312Packages.types-requests: <IP_ADDRESS>40523 -> <IP_ADDRESS>40602

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 317660 run on x86_64-linux 1

48 packages built:

cwltool
cwltool.dist
gphotos-sync
gphotos-sync.dist
python311Packages.cohere
python311Packages.cohere.dist
python311Packages.cwl-upgrader
python311Packages.cwl-upgrader.dist
python311Packages.cwl-utils
python311Packages.cwl-utils.dist
python311Packages.djangorestframework-stubs
python311Packages.djangorestframework-stubs.dist
python311Packages.jsonargparse
python311Packages.jsonargparse.dist
python311Packages.llmx
python311Packages.llmx.dist
python311Packages.pyarr
python311Packages.pyarr.dist
python311Packages.schema-salad
python311Packages.schema-salad.dist
python311Packages.tabcmd
python311Packages.tabcmd.dist
python311Packages.types-requests
python311Packages.types-requests.dist
python311Packages.unstructured-api-tools
python311Packages.unstructured-api-tools.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.cwl-upgrader
python312Packages.cwl-upgrader.dist
python312Packages.cwl-utils
python312Packages.cwl-utils.dist
python312Packages.djangorestframework-stubs
python312Packages.djangorestframework-stubs.dist
python312Packages.jsonargparse
python312Packages.jsonargparse.dist
python312Packages.llmx
python312Packages.llmx.dist
python312Packages.pyarr
python312Packages.pyarr.dist
python312Packages.schema-salad
python312Packages.schema-salad.dist
python312Packages.tabcmd
python312Packages.tabcmd.dist
python312Packages.types-requests
python312Packages.types-requests.dist
python312Packages.unstructured-api-tools
python312Packages.unstructured-api-tools.dist


Text BackgroundColor bug

The background of the Text does not need to use NSBackgroundColorAttributeName. When the background color contains alpha, it will conflict with the UIView background color, cause a bug.
#19260

Test Plan

Related PRs

Release Notes

[GENERAL] [BUGFIX] [Libraries/Text/RCTTextAttributes.m] - Fix Text background has alpha

Closing because of inactivity.


Andrea

Week 7: Your first repository

[x] Create a repository in your account and add a readme file
[x] Comment on this issue with a link to your repository

Week 9: PPI strategy

[ ] Upload a file with your proposed PPI strategy in your repository
[ ] Comment on this issue with a link to the file
[ ] Have a look through the PPI strategy of one of your fellow students and comment on their issue with feedback

Any time: Exploratory data analysis demo

[ ] Create a repository for your project and add a suitable Readme file
[ ] Link to the data
[ ] Upload your R markdown code
[ ] Comment on this issue with a link to your new repository if you'd like feedback from your tutors or fellow students

Here is a link to my repository:
https://github.com/andi-maria/bug-free-octo-goggles.git

Well done @andi-maria 🎆


DBZ-3546 implement Pravega sinks for Debezium Server

Jira: https://issues.redhat.com/browse/DBZ-3546
Adds two Pravega sinks, one non-transactional and the other transactional.
The two sinks are currently in separate submodules due to needing different META-INF/services/org.eclipse.microprofile.config.spi.ConfigSource files per integration test. Having more control over the CDI JavaArchive should allow me to provide both sinks via one submodule while swapping resource files on a per-test-class basis, but I need to port the tests from @QuarkusTest to QuarkusDevModeTest (cf., https://github.com/quarkusio/quarkus/blob/main/extensions/agroal/deployment/src/test/java/io/quarkus/agroal/test/AgroalDevModeTestCase.java#L18).
With two submodules, PravegaTestResource.java is duplicated across the submodules.
These two sinks are "naïve" in that they don't claim to handle recovery from failure yet.
Questions for Debezium

Can RecordCommitter be enhanced to help me remember my Pravega transaction IDs? (One transaction ID per stream/destination.)
Can RecordCommitter be enhanced to indicate if a batch is being resumed on recovery?
Can RecordCommitter be enhanced such that the sink can ask for the batch to be restarted instead of resumed if the remembered transactions cannot be recovered?
Can Debezium Server be enhanced such that a sink can configure Debezium Server to commit every offset?

With these enhancements to RecordCommitter, on resuming a batch after failure, I should be able to check the status of all my Pravega transactions and either resume them all or else abandon them and restart the batch, in order to achieve exactly once processing. If Debezium can help me recall my transaction IDs, then we shouldn't need any 2PC between Debezium and Pravega in order to achieve exactly-once semantics.
On the Pravega side, if the transactions haven't timed out, and if I record latest offsets to Pravega with each event written to Pravega, then I should be able to recover a batch and optionally skip the "recovering-at" ChangeEvent/offset if it was already written to Pravega before failure (if the failure occurs between the Pravega write and committer.markProcessed()). I should also be able to commit the Pravega transaction(s) &/or Debezium batch if failure occurs after writing the last ChangeEvent and anywhere between committing all transactions and the batch.

@derekm Thanks a lot! Could you log a Jira issue here and rework the commit messages, so they begin with that issue key?

@derekm Hi, thank you very much, I'll take a look at it later. May I just ask you to modify the code and make only one module out of it?
Please check io.debezium.server.DebeziumServerWithApicurioIT and io.debezium.server.DebeziumServerIT.
io.debezium.server.TestConfigSource configurati is dynamic and driven by system properties.
The failsafe plugin in pom.xml is configured for mutlple runs with different system properties. This way you can exceut tests with multiple configurations and still have a single module.

@jpechane -- Yes, using only one submodule is the goal. I'll check out your tips on handling the dynamic config sources! I was a bit distracted with dependency conflicts that were screwing up the runtime and with concurrency issues between the test resources, connector startup and test execution related to scope and stream creation.

The suggestion for using execution profiles in the failsafe plugin worked great for bringing the two Pravega sinks back into the same submodule.
This PR should be ready for review, @jpechane & @gunnarmorling.
Any suggestions on how/where to document these Debezium Server sinks?

@derekm Merged via https://github.com/debezium/debezium/pull/2434 thanks a lot for your contribution!


Does the webhook URL have to be under the domain "*.ngrok.io"?

I tried to deploy my webhook on SCP cloud platform, the webhook URL looked like https://ming-chatapp-demo.cfapps.sap.hana.ondemand.com/respone. But it is strange that there is no request come into my webhook

Hi @MingZhang860612 :) Webhooks don't have to to be under the domain "ngrok.io", the only constraint is that it's https with a valid certificate. The request made is a POST, maybe your server only handles GET for this route ? If you still have issues, could you please invite me as a collaborator to your bot (my nickname is 'dominik') and show me an exemple of a conversation where the problem happens ?

Hi @dbousque , I added you as a collaborator into my bot, you may go to the skill greetings and find the Actions I defined. I try to use a webhook to call API: https://recast-integration-proxy.cfapps.sap.hana.ondemand.com/dialog, this API only supports POST method. But based on our CF logs, the request does not come to the service. In postman, this API is working correctly.
Thanks,
yangyang

@dbousque Yes, I noticed this issue as well. I'm not sure whether it's due to the Canary landscape of SCP. I throw a ticket to them. Thanks.
yangyang

Hi,
@MingZhang860612 Did you find a solution to the above issue?.Even i am facing the same issue,kindly help
regards,
Anil

Try to query your server from inside and outside of SAP's network, you will probably see that your server is not available on the internet.

Thanks a lot for your response!!
Yes you are absolutely right,how do i proceed ?


Workspace symbols: no results found when all editors closed

Steps to Reproduce:

open a TS file
you can use Cmd+T to pick a symbol
close all editors

=> 🐛 Cmd+T no longer works

Root cause: https://github.com/microsoft/TypeScript/issues/2530

That linked issue seems to be fixed and I think this is no longer an issue @mjbvz ?

Yes thanks, this should be fixed now. #92761 is still a  known limitation


Update go.opentelemetry to v1.15/v0.38

The upstream opentelemetry SDK recently releases with some minor breaking changes and deprecation. Bumping the dependencies.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks!


No default translation when unstaking

Steps to reproduce

Stake
Unstake
Confirmed on Ledger
Came back with this screenshot

Haven't been able to repro yet. @kcole16 can you please test to see if you can repro this?

Also can't repro. Is this still an issue @ilblackdragon?


grunt: Add default variable for extra grunt options.

Signed-off-by: Michael Davis<EMAIL_ADDRESS>

Looks good. I'm soon going to move these helper classes to new meta-nodes-contrib repo. Would you be interested in becoming a contributor for some recipes/classes relevant to you?

Sure I would be happy to help.


Omen rank players don't have the permission to use the /breeding and /breakegg commands

I can't use the new commands (/breeding and /breakegg):

Server name (all applicable):
Atlas, probably all servers

Fixed, thanks for the report! Closing


iOS cannot open datePicker when second fire event

I try to set date after first set it work fine
but try to edit/update it not fire event datepicker
this is log from xcode
test on iphone6s ios 9.3.1
2016-04-08 17:07:57.229 testApp[1369:623956] *** Assertion failure in -[_UIDatePickerView _setDate:animated:forced:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3512.60.7/_UIDatePickerView.m:307 2016-04-08 17:07:57.230 testApp[1369:623956] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInternalInconsistencyException> Invalid parameter not satisfying: date

Same issue here on iPhone 5S iOS 9.3

https://github.com/VitaliiBlagodir/cordova-plugin-datepicker/issues/134
The solution here solved the issue for me.

@spacepotato : The above link is not working ....update it ..

@aleximmauell https://github.com/VitaliiBlagodir/cordova-plugin-datepicker/issues/134


Parameter value seems wrong.

[Enter feedback here]
windowsParameters - classificationsToInclude
Critical, Security, UpdateRollUp, FeaturePack, ServicePack, Definition, Tools, Update
-> "Update" does not exists.
linuxParameters - classificationsToInclude
Critical, Security, Others
-> "Others" is wrong, "Other" is correct.

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

ID: 9e8713db-d033-1df4-c171-e2fa960bacc4
Version Independent ID: 2e18ff34-ef5c-18ce-277a-156872186793
Content: Programmatically manage updates for Azure VMs
Content Source: articles/update-center/manage-vms-programmatically.md
Service: update-management-center
GitHub Login: @SnehaSudhirG
Microsoft Alias: sudhirsneha

Sorry, it seems that "Update" is wrong, and "Updates" is correct for windowsParameters/classificationsToInclude.

@nakamacchi Thanks for your comment! We will review and provide an update as appropriate.

@nakamacchi We have verified and updated the document as required. The update will go live in less than 24 hours. Thanks again!


Some typo's in Biomass C)2 slides

I found a few minor typo's and failed translations in the texts:

Thanks for the attentiveness!
Closed by b2bcff8


Current choice of characters for the version range is unfortunate (cmd.exe)

I am using Visual Studio Locator version 2.7.1+180c706d56 [query version 2.3.2200.14893].
Could you please explain how to wield the argument to -version inside of a for with backticks?
I am failing at this with all the knowledge of cmd.exe I have. Consider the following. Obviously the closing parenthesis ) will trip the command processor:
:: _VSWHERE points to vswhere.exe ... for this example we can assume the assignment on next line
set _VSWHERE=vswhere.exe
set VSWHERE_RANGE=15.0,16.0
for /f "usebackq tokens=*" %%i in (`"%_VSWHERE%" -products * -format value -property installationPath -version [%VSWHERE_RANGE%)`) do (
    call :SetVar _VCINSTALLDIR "%%i"
)

(Error: [backtick] was unexpected at this time.)
:SetVar is a "sub" that works around the delayed expansion issue where setlocal delayedexpansion isn't available (the script is meant to cater VS versions starting with 2002).
... however, ^) and ^[ should do the job (trimmed down to -version ...):
-version ^[%VSWHERE_RANGE%^)

... gives me:
_VCINSTALLDIR=Error 0x57: Argument expected

... which is obviously the output of vswhere.exe captured via for.
Conveniently (for you ;-)) seemingly no examples for use of vswhere.exe mention -version and instead resort to -latest, which is not suitable for me, however.
Any advice welcome. Otherwise this looks like an oversight regarding the oddities of the command processor.

NB: the issue is specific to running from inside a script. I am attaching an example script that resembles closely what I am working on.
example.cmd inside a ZIP file

As an idea, would it help to use delayed expansion, and / or putting the ( etc inside variables (with set local on and then accessing those variables as ! VAR! instead of  %VAR%.
Another alternative: try piping.
(not real solutions, but perhaps workarounds)
(just

@abelbraaksma: Hmm, I actually tried putting the ) into the variable, but that didn't help. I'll try again to see if it would work somehow.
However, I just noticed that there appears to be a (largely undocumented) means of expressing exactly what I want: -version 15 and -version 16 respectively. Alas, from the documentation of ISetupHelper::ParseVersionRange it's unclear whether this is even intentional, nor does it document when this quite desirable behavior became available. And since this is a behavior in a COM interface, it's kind of hard to test it. No matter which version of vswhere.exe I check out and build myself, the behavior I would rely on is inside a blackbox (a COM class).
Anyway, that said it would be nice if @heaths or someone else from MS would have a comment on whether that behavior with passing plain integers did work in the first available version of the ISetupHelper interface or was added later on. Thanks in advance.

Yes, -version 15 is supposed to be equivalent to -version [15,0). The range syntax is the same as that supported by VSIX extensions, which was by design. Unfortunately, escaping in batch is painful, but did you try @abelbraaksma's suggestion using setlocal enabledelayedexpansion? The following worked for me:
setlocal enabledelayedexpansion
set range=[15.0,17.0)

for /f "usebackq delims=" %%i in (`vswhere.exe -prerelease -latest -version !range! -property installationPath`) do (
    echo %%i
)

Awesome. Thanks, Heath! Nope, hadn't found the time yet to test it out. But the fact that a simple integer works suits me even better.


Russian translation

I signed it!

Russian translation is now in place.  Please check it and file a bug report if you encounter any issues.


[RFC] Add option to disable setup /etc/profile.d/scope.sh on host

(cli) extending options in scope start with --noprofile allows to skip setup /etc/profile.d/scope.sh on host
(loader) the options --noprofile disables /etc/profile.d/scope.sh in following operations:

ldscope --configure
ldscope --starthost

The task will be continued in #1143


buildDocker  error: Invalid repository name

registry=http://<IP_ADDRESS>:5000
* What went wrong:
Execution failed for task ':eureka-server:buildDocker'.
> Docker execution failed
  Command line [docker build -t http://<IP_ADDRESS>:5000/eureka-server:1.0-SNAPSHOT /Users/Dreampie/Projects/DreampieProjects/cloud-server/eureka-server/build/docker] returned:
  Invalid repository name (ex: "registry.domain.tld/myrepos")

registry=<IP_ADDRESS>:5000
* What went wrong:
Execution failed for task ':eureka-server:buildDocker'.
> Docker execution failed
  Command line [docker push <IP_ADDRESS>:5000/eureka-server:1.0-SNAPSHOT] returned:
  unable to ping registry endpoint https://<IP_ADDRESS>:5000/v0/
  v2 ping attempt failed with error: Get https://<IP_ADDRESS>:5000/v2/: EOF
   v1 ping attempt failed with error: Get https://<IP_ADDRESS>:5000/v1/_ping: EOF

docker-registry in http not https

Please add some more information to ease understanding of your setup, such as your distDocker config in build.gradle.

task buildDocker(type: Docker, dependsOn: build) {
  maintainer = "Dreampie<EMAIL_ADDRESS>  push = true
  applicationName = jar.baseName
  dockerfile = file("src/main/docker/Dockerfile")
  registry = dockerRegistry
  doFirst {
    copy {
      from jar
      into stageDir
    }
  }
}

My registry in http://<IP_ADDRESS>:5000，but docker use  https://<IP_ADDRESS>:5000。
 docker-machine create --driver virtualbox --engine-insecure-registry <IP_ADDRESS>:5000 dev

set insecure-registry must create new virtualbox,could not update?

I have run into the same problem when trying the plugin for the same time. Interestingly enough I am also trying to build an Eureka Server
In my case I have a multi-parent project where the folder structure is the following
ParentFolder
      |
      |___ build.gradle
      |___ eurekaServer
                   |____ build.gradle

My parent build.gradle contains the following plugin configuration
allprojects {

    group = "com.mycompany"
    version = "1.0.0-SNAPSHOT"

    task wrapper(type: Wrapper) {
        gradleVersion = '2.11'
        distributionUrl = 'http://services.gradle.org/distributions/gradle-2.11-all.zip'
    }
}
subprojects {

    apply plugin: 'java'
    apply plugin: 'eclipse'
    apply plugin: 'idea'
    apply plugin: 'spring-boot'
    apply plugin: "io.spring.dependency-management"
    apply plugin: 'docker'

    repositories {
        mavenCentral()
    }

    dependencyManagement {
        imports {
            mavenBom 'org.springframework.cloud:spring-cloud-starter-parent:Angel.SR6'
        }
    }

    dependencies {
        compile('org.springframework.cloud:spring-cloud-starter-config')
        testCompile('org.springframework.boot:spring-boot-starter-test')
    }

    docker {
        baseImage "java:8"
    }

    task buildDocker(type: Docker, dependsOn: build) {
        push = false
        applicationName = jar.baseName
        volume "/tmp"
        addFile {
            from jar
            rename {'app.jar'}
        }
        runCommand "bash -c 'touch /app.jar'"
        entryPoint(['java', '-Djava.security.egd=file:/dev/./urandom', '-jar', '/app.jar'])
    }
}

And the eurekaServer build.gradle is setup this way
jar {
	baseName = 'eurekaserver'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
	compile('org.springframework.cloud:spring-cloud-starter-eureka-server')
	testCompile('org.springframework.boot:spring-boot-starter-test')
}

Now here is the interesting part. I actually have a few more children applications under the parentFolder and they build without any problems but the eureka server does not and spits out the following error
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':eurekaServer:buildDocker'.
> Docker execution failed
  Command line [docker build -t com.mycompany/eurekaServer:1.0.0-SNAPSHOT /some/folder/eurekaServer/build/docker] returned:
  invalid value "com.mycompany/eurekaServer:1.0.0-SNAPSHOT" for flag -t: Error parsing reference: "com.mycompany/eurekaServer:1.0.0-SNAPSHOT" is not a valid repository/tag
  See 'docker build --help'.

Notice that for some reason it is using the folder name which has came case (eurekaServer) instead of the actual configured applicationName in the parent which is set to jar.basename and the jar baseName is not camel case (eurekaserver).
My other children projects which build without any errors do not have camel case so to test I changed one of their folder names to came case and sure enough I got the same error there as well. The plugin seems to be ignoring the applicationname setting in the parent
Could this be the same issue at play here or should I maybe open up a new issue?


How to containerize a MySQL based server and PHPMyAdmin/Adminer with docker and run SQL queries

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines
This fixes #2565

@Wachira48
Good afternoon and thank you for submitting your article for publishing. It has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. 🚀

plagiarism check done

@Wachira48
Thanks for the PR.
Will do the review by tomorrow.

Hi @Wachira48
I made some minor edits for flow. There was also an issue with the article title and URL. It is preferable to use shorter titles (than the one you had) keeping into consideration the keywords. You need to avoid fluff words like "and", "or", "but". This is important for SEO.
Please take note of that and my changes for future articles.
cc: @srishilesh


priceId

priceId is required. even though I entered the env variables.

Hi @ccakmak60, if you update the env variables, don't forget to restart the project in terminal.
Let me know if you still have this problem.


Exception Handling

In my application, I would like for the Wai Logger middleware to write a message to the log when an unhandled exception occurs and 500 response is sent to the client. For this to happen, it looks we need to catch that exception and respond inside our Application. A basic example of how this would be done in servant is
app :: Application
app = serve api $ hoistServer api nt server

nt :: Handler a -> Handler a
nt = handleAny throwEx
    where
      throwEx e = throwError $ err500 {errBody = "The following server exception occured: " <> (cs $ show e)}

How can I do the same thing using magicbaneApp ? Or is this something magicbane could do?

Right now, you can write your own magicbaneApp to compose your nt with runMagicbaneHandler c. I'll look into adding an argument to remove the need for duplicating the function :)

Thanks, I think it would be great if Magicbane had options for this. If it wired up request logging out of the box that would be great too. I ended up writing a small middleware for now:
exceptionResponder :: AppContext -> Middleware
exceptionResponder ctx next request respond =
    next request respond `catch` \(exception :: SomeException) -> do
        runRIO ctx $ logError $ "Unhandled exception: " <> display exception
        respond $
            responseLBS
                status500
                [("Content-Type", "application/json")]
                "{\"message\": \"An error has occurred.\"}"


Fix incorrect results

Currently, the results from the aligner on real datasets do not match the results we're expecting.

Closing, this is handled by #27


GetDeliveryNoteById.deliveryNoteLineItems.packages in version 3.0.0

pacakages: is misspelt. Should be packages.
But as I see in the meeting notes 2024-02-28, there is a decision to name it as *deliveryNotePackages
(goodsReceiptPackages in Goods Receipt).
Extract from meeting notes:
[OPTION 1]
deliveryNoteLineItems[].packages[]
goodsReceiptLineItems[].packages[]
[OPTION 2]
deliveryNoteLineItems[].packages[]
goodsReceiptLineItems[].goodReceiptPackages[]
[OPTION 3]
deliveryNoteLineItems[].deliveryNotePackages[]
goodsReceiptLineItems[].goodReceiptPackages[]
If we have to show both information in 1 message, OPTION 2 & 3, with different prefixes are better.
{
packages: [ ... ]
packages: [ ... ]
}
You cannot easily differentiate the quantities between delivery note(s) and good receipt(s)
vs.
{
deliveryNotePackages: [ ... ]
goodReceiptPackages: [ ... ]
}
You can directly differentiate the quantities between delivery note(s) and good receipt(s)
The package is the same, the package identifiers are the same, BUT the quantities CAN be different between the delivery note(s) and good receipt(s).
(14:51) BACK to Planning
{DECISION}
OPTION 3
{/DECISION}

Done, I just need to refer to the commit.


Fix MinGW SDL DLLs

If SDL2_DIR didn't have a trailing slash some of the find_*s would fail, resulting in MinGW not copying some of the dlls.
The MinGW toolchain defaults SDL2_DIR to something without a trailing slash...

Thank you!


DCOS-40779: [Firefox] Form control icons overflow issue (for other components) backport 1.11

In 1.11 add min-width to the input to fix overflowing icons in Firefox.
Closes https://jira.mesosphere.com/browse/DCOS-40779
Testing

Set up node to use version 4.4.7 and npm to use version 3.9.6
I recommend using a new copy of the dcos-ui repository.
Setting up node is easy: just use a node version manager (I used https://github.com/creationix/nvm) and run (if you are using nvm) nvm install 4.4.7 in the directory. Setting up npm is a bit trickier - navigate to the nvm directory, for example cd ~/.nvm/versions/node/v4.4.7/lib and run npm install<EMAIL_ADDRESS>Then run npm install.

https://stackoverflow.com/a/33575448

Verify that the icons are fixed for all input bars (see screenshots). If possible, verify that the icons look good in other browsers.

Trade-offs
I added {display: block}} to the icons like Mike suggested.
Dependencies
None
Screenshots
These are all the places that I found:
Jobs > (Create a job if needed)

Nodes > Node > Health

Services > Service > Logs

Catalog

Networking > Networks

Components

Settings > Package Repositories

Organization > Users

Is this DCOS-40893 and DCOS-40779 in one?

@GeorgiSTodorov would you mind rebasing and dropping that commit instead of reverting it?

@nLight Okay, I will.

The logs view looks pretty broken, but this is a separate bug I guess. Could you create a new bug ticket for this? Or am I the only one perceiving it as broken?

@DanielMSchmidt You are right, it's broken, I will create a bug ticket. It looks like it's broken here in 1.11 and in 1.10 as well, but it's fine in 1.12 (see screenshots for https://github.com/dcos/dcos-ui/pull/3204)


Adding Tags to Filaments

Feature 1
How about adding a tegs section for filaments?
It would bi nice to tag filaments as example with "glitter", "glossy" or the base colors ("yellow" to show all the melonyellows darkyellows neonyellows ...) and be able to filter the filaments with these tags.

(like the system of the tags in paperless-ngx)
Feature 2
And maybee there is a possibility to show the count of the spools in the filament list and manufacturers list?
Thank you for your great work!

A workaround is to go to Settings -> Filaments -> Add Extra Field -> ... then create something like "filament_tags" with a type of "Choice", and toggle "multi-choice". The comma separated list you add in the available values will be tags you can select from a dropdown.


chore: dropped circleci in favor of GH workflow

@bigopon Can you please take a look at this. I am not sure what happens with the publishing to npm. Is that still a manual process? A naive way to automate this would be to add a pipeline step
- run: npm publish
  env:
    NODE_AUTH_TOKEN: ${{secrets.AUTH_TOKEN_NEEDED_FOR_PUBLISHING_TO_NPM}}

I have not had good experience with the old publish setup, sometimes things broke and it's confusing to fix. Also it's unclear what's being run and what rules to follow. Maybe we can use some tool to manage, or at the very least, do things the manual but clear way. I'll do manual first, like many of our other repos, which is way easier to deal with.

@bigopon I have removed the npm publish step.


Call Task not working

I'd like to use the DQS package in my app. However, it seems like that the task to transfer a file from local to remote is not called. I am using Django 1.8.4.
Is there any way to test this ?
I have also created a question on SO: http://stackoverflow.com/questions/38918751/django-queuedstorage-task-not-being-executed-when-file-is-uploaded

The link to the stackoverflow question is broken.

Closing this for now.


KebabDigi recipe added

Hi,
I just added KababDidi recipe for issue.
fixed #109

@allcontributors please add @Maryamtohidi for bug, content, code


Update Codespaces container build steps

Describe your changes
Updates the Codespaces container so that it builds. Hat tip to @Lyrete for pointing out the required change.
Tested and confirmed working on fresh build.
Related issue number/link

Fixes #408

@all-contributors please add @Lyrete for code

Thanks for the PR :D


Application for sudo

Potential for me to become sudo
Why I believe I'm a good fit for the role of sudo:

I'm online often (Probably too often for my own good!) and believe I have some positive ideas for how to improve the community which I would like to discuss with other staff.
I've been involved in many community projects - for example, I built from source the iOS version of the CD App, organised the creation of the Community CTF and have helped many people along their journey to completing various challenges.
I've been in the community for a long time - since the collm days, and have a good idea of what the community is like.

Proposed Solution:
Discuss the possibility of me becoming sudo

copycat
ngl youd probs be better than me anyway
i approve

Partly my fault for not closing #217 sooner, but this is not the time or way to do this, as stated in #217. Save it for #207 please.


Update/Add Xcode 12 for macOS Universal Apps beta

Tool information

Tool name: Xcode 12 for macOS Universal Apps beta
Tool license: https://www.apple.com/legal/sla/docs/xcode.pdf
Add or update? Add
Desired version: Xcode 12 for macOS Universal Apps beta
Approximate size: ~15GB, (~10GB on disk)
If this is an add request:

Brief description of tool: The latest beta of Apple's Xcode IDE that enables universal macOS app compilation (for supporting Apple Silicon)
URL for tool's homepage: https://developer.apple.com/xcode/

Note: The expectation is that in a future beta release, the standard Xcode 12 beta and this beta will be merged into a single app.
Area for Triage:
Apple
Question, Bug, or Feature?:
Feature
Virtual environments affected

[x] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Ubuntu 20.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Can this tool be installed during the build?
Not sure, but all of the other Xcodes are available by default, including other betas.
Tool installation time in runtime
Not sure, but all of the other Xcodes are available by default, including other betas.
Are you willing to submit a PR?
I think this will be best handled internally like the typical Xcode deployment pattern, but happy to contribute. Opening this as requested in #1133.

@maxim-lobanov opened per your request. Thanks again!

@markavitale , Btw, I have found the following on Apple site:

Does it mean that both Xcode 12 for macOS Universal Apps and Xcode 12 will be merged in next beta?

@markavitale
Does it mean that both Xcode 12 for macOS Universal Apps and Xcode 12 will be merged in next beta?

Probably not for beta 2, but yes, Xcode 12 beta 3 should be one single release with support for all Apple platforms and architctures.

@maxim-lobanov FYI Xcode 12 beta 2 has now been released (for both the standard Xcode 12 Beta and the Xcode 12 Beta for macOS Universal Apps). Ideally when this is deployed, it will be with build 12A8161k.

@markavitale we're going to deploy VM image with Xcode 12 Beta 2 next week.

Just to clarify, we are going to deploy VM image with Xcode Beta 2 (12A6163b) next week.
We didn't start adding Xcode 12 Beta for macOS Universal Apps yet. We still have some concerns about adding it to images considering the fact that next betas will be merged to the single product. Every Xcode version is pretty huge and significantly increases image-generation / image-deployment time. We will let you know as soon as we have updates on it

Hello @markavitale , the good news.
Apple just released Xcode 12 beta 3 and they merged both Xcode versions to the single release:

We are going to deploy new image with Xcode 12 beta 3 next week

The image with Xcode beta 3 has been deployed 🥳

Any Plans to support Beta 4 soon?
It is currently not possible to upload Builds made with beta 3 to Appstore Connect using beta <3.
- name: Select Xcode 12
ERROR ITMS-90744: "Unsupported Xcode or SDK Version. Your app was built with a version of Xcode or SDK that is not yet supported for upload to App Store Connect. For more information about supported versions of Xcode and SDK for Testflight or App Store submissions, view the App Store Connect What's New page (https://developer.apple.com/app-store-connect/whats-new/).

Answered in cross-thread: https://github.com/actions/virtual-environments/issues/1418#issuecomment-674346131
Sorry for delay. Deployment is in progress


Build issue: Integration of SwiftLint into Xcode project not working on Apple Silicon Macs

Problem:
The integration of SwiftLint into the Swinject Xcode project not working on Apple Silicon Macs if you installed SwiftLint via Homebrew.
This is from the README.md of "https://github.com/realm/SwiftLint":
If you installed SwiftLint via Homebrew on Apple Silicon, you might experience this warning:

warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint

That is because Homebrew on Apple Silicon installs the binaries into the /opt/homebrew/bin folder by default. To instruct Xcode where to find SwiftLint, you can either add /opt/homebrew/bin to the PATH environment variable in your build phase
if [[ "$(uname -m)" == arm64 ]]; then
    export PATH="/opt/homebrew/bin:$PATH"
fi

if which swiftlint > /dev/null; then
  swiftlint
else
  echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi

Thanks, it works 👍🏽
Can this be merged?


Support descending index

CREATE TABLE t (
  c1 INT, c2 INT,
  INDEX idx1 (c1 ASC, c2 ASC),
  INDEX idx2 (c1 ASC, c2 DESC),
  INDEX idx3 (c1 DESC, c2 ASC),
  INDEX idx4 (c1 DESC, c2 DESC)
);

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

Summary 💡

func (MyTable) Indexes() []ent.Index {
	return []ent.Index{
		index.Fields("c1 DESC", "c2 ASC"),
	}
}

OR

func (MyTable) Indexes() []ent.Index {
        directionalIndex1 := map[string]string{ "c1": "DESC", "c2", "ASC" }
	return []ent.Index{
		index.DirectionalFields(directionalIndex1),
	}
}

Motivation 🔦

I have a table which ID type is not int, but UUID. I'll use ORDER BY time DESC to retrieve latest N records. It says my sorting is Backward index scan when I try to optimize my query using EXPLAIN statement. After doing a little research I realized that the index which created  by ent is an ascending index, but what I really needed is descending index. It'll be slower than descending index approximately 15%.

Hey @ColetteContreras and thanks for proposing this.
We should add support for descending indexes. I just added an annotation option for indexes (in https://github.com/ent/ent/pull/1632), and this should make it simple to support this option.
cc @rotemtam

Thanks for proposing this issue @ColetteContreras, it was resolved with https://github.com/ent/ent/pull/2304.
You can define descending indexes if you're using the Atlas migration. The API is as follows:
index.Fields("a").
	Annotation(entsql.Desc())
// CREATE INDEX ... ON "table" ("a" DESC)

index.Fields("a", "b", "c").
	Annotation(entsql.DescColumns("a", "b"))
// CREATE INDEX ... ON "table" ("a" DESC, "b" DESC, "c")

Thanks for proposing this feature @ColetteContreras, it was resolved with #2304.
You can define descending indexes if you're using the Atlas migration. The API is as follows:
index.Fields("a").
	Annotation(entsql.Desc())
// CREATE INDEX ... ON "table" ("a" DESC)

index.Fields("a", "b", "c").
	Annotation(entsql.DescColumns("a", "b"))
// CREATE INDEX ... ON "table" ("a" DESC, "b" DESC, "c")

is this also works in postgres? i tried the syntax index.Fields("a").Annotation(entsql.Desc()) but my result is still ascending. im using ent v0.10.1


improve Refgenie documentation

Improving refgenie documentation with examples.
⚠ I'm not sure about adding the link to the nf-core refgenie server (here). This is not finished, and it doesn't contain all required files, which is part of the reasons why we haven't implemented the tools to use refgenie as pipeline developers.

Thanks for the review!


[ESP32] Make error

@lpereira
Building hello_world sample, for example,  I got this error:
xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: unrecognized option '--print-memory-usage'
I've been using this toolchain version 1.22.0-73. And it worked until my last git rebase.

Regression from https://github.com/zephyrproject-rtos/zephyr/commit/dbdd7222392a627e7d5b6b0a741b99e9a8258cc9.

@SebastianBoe  thanks, it works.


Add Amazon's react native projects into the Showcase

Adding React Native projects from Amazon into the Showcase page. Thanks!

Preview of this PR on localhost:3000/showcase:

https://deploy-preview-3917--react-native.netlify.app/showcase


从2.0.5升级到2.1时，滚动升级组件时，检查出错。

TASK [Ensure grafana API Key directory exists] ***************************************************************************************
ok: [<IP_ADDRESS> -> localhost]
TASK [Check grafana API Key list] ****************************************************************************************************
fatal: [<IP_ADDRESS>]: FAILED! => {"cache_control": "no-cache", "changed": false, "connection": "close", "content": "{"message":"Unauthorized"}", "content_length": "26", "content_type": "application/json; charset=UTF-8", "date": "Tue, 04 Dec 2018 08:02:23 GMT", "expires": "-1", "json": {"message": "Unauthorized"}, "msg": "Status code was 401 and not [200]: HTTP Error 401: Unauthorized", "pragma": "no-cache", "redirected": false, "set_cookie": "grafana_sess=b37a1028d3f8bffe; Path=/; HttpOnly", "status": 401, "url": "http://<IP_ADDRESS>:3000/api/auth/keys"}
从2.0.5升级到2.1时，组件升级过程中，原先自带的admin用户提示这个问题。应该如何解决？

Please confirm configuration of inventory.ini ,just like grafana password has been change .

I did not modify the password of configuration。It is same as the 2.0.5！

Please confirm configuration of inventory.ini ,just like grafana password has been change .

I did not modify the password of configuration。It is same as the 2.0.5！

Failed is a permission issue. It is recommended to check if the user and password are correct.

This issue has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still experiencing this issue, please test against a recent version of TiDB Ansible, and open a new issue with a full reproducer showing this issue.


Charge an entry fee for proposals

We want to charge an entry fee, e.g. 100 ATOM, for proposals that are submitted.
These funds would be split among all users with locked tokens, according to their voting power distribution at the time when the payment is made; the exact mechanism to do this should make sure that it is gas efficient even when many voters need to be paid.

We decided to not charge entry fees right now. We will evaluate this again if we ever get rid of the whitelist or have it have way more loose whitelisting conditions.


Unable to upload multiple File types from Elysiajs v.0.8>. In v0.7.21 was working well

What version of Elysia is running?
0.7.21 work ok. v.0.8< not
What platform is your computer?
Linux 5.15.0-117-generic x86_64 x86_64
What steps can reproduce the bug?
I got issue to upload any files using form-data since v.0.8 when it connected 0.32 typebox to repo. I still guessing that it is not problem of typebox since type.File and type.Files not exists on typebox.
PART OF MY FE REQ
req: >> Files are in format FileList
const resp = await apiFiles({
        path: submitPath // path: Partial<typeof serverEden>;
        fileList: files ? files : [new File([''], '')],
        thumbnails: thumbnails ? thumbnails : [new File([''], '')]
});

PART ON BE ELYSIA
body validation schema:
t.Object({
        files: t.Optional(t.Partial(t.Union([t.Files(), t.File()]))),
        thumbnails: t.Optional(t.Partial(t.Union([t.Files(), t.File()]))),
 }),
type: "multipart/form-data",

POST.body v.0.7.21 >> console.log(body)
server-1    |   files: [
server-1    |     Blob (171.73 KB) {
server-1    |       type: "image/png"
server-1    |     }, Blob (0.96 MB) {
server-1    |       type: "image/png"
server-1    |     }, Blob (0.30 MB) {
server-1    |       type: "image/png"
server-1    |     }
server-1    |   ],
server-1    |   thumbnails: [
server-1    |     Blob (21.74 KB) {
server-1    |       type: "image/png"
server-1    |     }, Blob (127.1 KB) {
server-1    |       type: "image/png"
server-1    |     }, Blob (36.53 KB) {
server-1    |       type: "image/png"
server-1    |     }
server-1    |   ],

POST.body v.0.8.x: >> console.log(body)
server-1    |   files: undefined,
server-1    |   thumbnails: undefined

What is the expected behavior?
I got issue to upload any files using form-data since v.0.8 when it connected 0.32 typebox to repo.
What do you see instead?
files: undefined
Additional information
No response
Have you try removing the node_modules and bun.lockb and try again yet?
yes

can someone explain why I am not able to upgrade version since v.0.7?

maybe this also helps. I changed type into t.File() and tried to upload file, console log file: newFile :>>   File { name: "Screenshot from 2024-08-10 00-45-31.png", lastModified:<PHONE_NUMBER>564, webkitRelativePath: "", size: 542044, type: "image/png" }
Maybe there is missing something important inside File object which is checked on BE and then removing my files from req.
I am not receiving error but my files are undefined

oh my god I found finally what causing the problem, t.Intersect this is not working:
bodyUpdateIns: t.Intersect([
      t.Omit(InsertionInput, [
        "user_id",
        "id",
        "locationId",
        "categoryId",
        "location",
        "offeredPrice",
      ]),
      t.Object({
        files: t.File(),
        thumbnails: t.File(),
        id: t.String(),
        categoryId: t.String(),
        location: t.String(),
        locationId: t.String(),
        offeredPrice: t.String(),
      }),
    ]),

this works:
    bodyUpdateIns: t.Object({
      files: t.Files(),
      thumbnails: t.Files(),
    }),

it is not able to convert files to proper Files type and instead of images are removed!
Is it still a bug? How can I solve my case so other body values will be in my body and not using Intersect?


023487

Hello

Thank you for your contribution to OneDrive API Docs. We will be triaging your incoming issue as soon as possible.


Autologger doesn't support delete with criteria operations

Results in this error, when deleting index shards
stroom.event.logging.rs.impl.RestResourceAutoLoggerImpl -  Unable to extract uuid and type from request of type FindIndexShardCriteria

Fixed (on branch)


[promises.html] Fix typos

Noticed a few typos in promises.html function: callPromises while working on object key alignment.  Tested and behaves the same as before.

Thank you!


Fixed bug in parseTiledJSON method.

Fixed bug in parseTiledJSON method. When iterating the json.layers array, if the layer data being processed is base64-encoded, the loop for decoding the base64 data used the same "i" variable declared in the outer loop scope, thereby only allowing one layer to be processed from the json.layers array.

Thanks, fixed via #2287


Release new Python 3.7 image with 3.7.7

It looks like there was an update to get the python 3.7 interpreter to use version 3.7.7  (https://github.com/GoogleCloudPlatform/python-runtime/commit/fbc2908de36bb94bb00dc4a25c80a6113c1bf231)
However, it looks like the python docker image is still using the older 3.7.2 interpreter.
Could the docker images get rebuilt with the 3.7.7 interpreter?
Thanks!
app.yaml
runtime: python
env: flex
entrypoint: gunicorn -b :$PORT -c gunicorn.conf.py main:app_factory

runtime_config:
  python_version: 3.7

Deploy/Build logs
Fri Apr 17 14:37:05 PDT 2020

File upload done.
Updating service [default] (this may take several minutes)...done.
--------------------------------------------------------------------------------------------------- REMOTE BUILD OUTPUT ---------------------------------------------------------------------------------------------------
starting build "ae031a8b-9f7c-4d5e-a0ca-d96dbf069559"

FETCHSOURCE
BUILD
Starting Step #0 - "fetcher"
Step #0 - "fetcher": Already have image (with digest): gcr.io/cloud-builders/gcs-fetcher
Step #0 - "fetcher": Fetching manifest gs://<snip>ae/0e61c61d-85a2-4be6-bb7b-1deb843b66b6/manifest.json.
Step #0 - "fetcher": Processing 73 files.

Step #2: Removing intermediate container 65d6ee39550d
Step #2:  ---> 08e5ef023e7e
... snip ...

After ssh'ing to the GAE flex instance
$ docker exec -it 96bd4a82c606 /bin/bash
root@96bd4a82c606:/home/vmagent/app# /env/bin/python -V
Python 3.7.2
root@96bd4a82c606:/home/vmagent/app#

Expected the output to be Python 3.7.7

It is 3.7.9 now. Close?
➜  ~ podman run -it gcr.io/google-appengine/python bash
root@c5d23d90418b:/home/vmagent/app# ls -la ../..
root@c5d23d90418b:/home/vmagent/app# python3
Python 3.7.9 (default, Aug 26 2020, 23:41:20)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>


Allow ssl verify = False on load_server_metadata (client)

I`m using Flask integration.
I always receive the SSL error when try to fetch metadata from a test OP that uses a self-signed certificate, then I receive the SSL error.
Checking the package, I found:
remote_app.py:20: in load_server_metadata
tracing back to
oauth2_session.py:113: in request
when I call authorize_redirect(https:.....), never works.
I hardcoded the oauth2_session.py that uses request from requests module the argument verify = False, so it works.
If there isn't any other way to do it, I would like to submit this feature requests. Also opened to workarounds.
Thanks

You could try export CURL_CA_BUNDLE="" in your environment.

Thanks @michaelmolino , this workaround worked!
Also found more info about export CURL_CA_BUNDLE="" on this Stackoverflow, in case any user gets in this issue page with the same problem as me, and wants to know more about it.
I would like to keep this issue as an enhancement request, if team does not agree to change the code, would be nice to have export CURL_CA_BUNDLE="" option documented in docs.
Best,
Chris

Thanks @michaelmolino
@christian-hawk I'd like to accept it into documentation. You may create a PR for it.

sure, @lepture .
What doc file do you suggest? maybe 'client/request.rst', 'client/index.rst'?

I think client/request.rst would be good.


Test data/ vignette data accessibility

Hi,
I would like to know if I could access the test data or the data used in the vignette to run the tutorial?

Hi @dimurali93, here's a dropbox with the example datasets used in the vignette. You should be able to run the tutorials with those. Let me know if anything is missing


Css watch webpack

Worked fine locally. Still not working on Heroku.

Yeah, the same error message which from what I looked up, that should have resolved it. One more try and after that  I guess we can roll it back now like you tried to do. The css-loader isn't what it is throwing the error, however, so that is weird.
   ERROR in ./~/css-loader?sourceMap|postcss!./~/angularjs-toaster/toaster.min.css
   Module build failed: BrowserslistError: Unknown version 56 of and_chr

https://devcenter.heroku.com/articles/nodejs-support#cache-behavior <-- this was the issues. Heroku was caching the node modules folder and not installing the latest versions that we were upgrading. It's fixed now.


129 reason email

Resolves #129

@otaiga just thought - need to add SES permissions to the http Lambda


azure function app, working fine in locally , but not working properly in azure portal

hi team, we were created azure funtion app , in locally everything is working properly but when we are try to access or else code+test
in azure portal its getting (HTTP response code 500 Internal Server Error),  when i had to check in monitor getting both pinecone and request modules not found error (ModuleNotFoundError: No module named 'requests'. Please check the requirements.txt file for the missing module. For more info, please refer the troubleshooting guide), could you please help me out on this , quick replay more help to us

locally developers using the python 3.10 , but in azure pipeline build using the 3.9 version , this is for causing the issue?

hi bhagya, could you please help me the issue, past 5 days i stucked up here

@gavin-aguiar  pls comment

@Umamahesh888 how are you deploying your function app? is it deployed via a pipeline?


Peer dependencies causing problem - multiple versions of ui-core

Please provide the environment you discovered this bug in.
Windows 11, npm 10.2.4, node 21.6.0, angular 17 cli
Which area/package is the issue in?
Don't know / other
Description
Hi. After installing spartan components following tutorial I cannot run npm install. I've noticed that some components have different versioning than the others, i.e. 0.0.1-alpha.344 and 0.0.1-alpha.343. It might be causing problems.
I dont think that using angular cli made any changes, cause same thing happened with nx.
What might be the solution to this topic? Not using components with old version so no mismatch is happening? Thanks for help.
 code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@spartan-ng/ui-core
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@spartan-ng/ui-checkbox-brain
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Please provide the exception or error you saw
No response
Other information
No response
I would be willing to submit a PR to fix this issue

[ ] Yes
[ ] No

This happened to me too when installing @spartan-ng/ui-dialog-brain (with other spartan brains already existing), currently relying on running npm install --legacy-peer-deps until a fix occurs.

This issue was addressed as part of releases: cli 0.0.1-alpha.350 & ui 0.0.1-alpha.347.
Let me know if it still occurs


Cannot install any theme at initialisation

Describe the bug
During the init sequence (step 3), I have been unable to install any theme. The theme seems to download just fine but the installation fails after a few seconds, without any log in the JS console nor the docker console.
2 errors appears on the screen (see screenshot below) stating "Cannot install theme" and "Object reference not set to an instance of an object".
The network tab displays a HTTP 400 error on http://localhost:5000/api/v1/rest/theme/portal/install : Object reference not set to an instance of an object.
To Reproduce

docker-compose build
docker-compose up
Go to localhost:5000/
Fill up the form for /step1 with the connection settings for a sql server database (on Azure, I can see the tables in the database)
Fill up the form for /step2 for the admin user
Install any theme from the mixcore store on /step3

Git branch or source version
master (b4f9c3645cde28287dd2d1b25ac1c448ee8819ce)
Also tried the :latest image from Docker hub (even though it is outdated) with the same result
Expected behavior
Installation should succeed and let me proceed to the next step.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Firefox 78.11.0esr (64 bits)
Version: v1.0.7 (commit b4f9c3645cde28287dd2d1b25ac1c448ee8819ce)

Additional context
Also tried the :latest image from Docker hub (even though it is outdated) with the same result

@Forgh apologize for the issue. I haven't maintained the docker file properly for at least 6 months. Look like the latest docker image quite all. Let me review and fix asap.
At the moment, please try to run the release directly by running the mixcore.exe file if you would love to try the CMS.

@Forgh please try the following package and let us know if you have any other issues. Btw, you should delete the existing DB or create a new DB to start init the CMS again
docker pull ghcr.io/mixcore/mix.core:master

Close with #626


[Constant Evaluator] Add support for interpreting SIL code with partial applies (i.e., closure creations).

A new SymbolicValue: SymbolicClosure represents a closure. It
tracks the SILFunction corresponding to the target of the closure
and the SIL and Symbolic Values of the captured arguments. The
representation does not impose that all captured values must have an
associated symbolic value. This allows the evaluator to track
creations of closures whose captured arguments or bodies are not
constant evaluable.
This commit does not add support for closure applications. It only
adds suppport for closure creations, which correspond to partial_apply
instructions in SIL.

@swift-ci Please test


Wrong redirect on "Terraform on Azure" link at the button of the page

The "Terraform on Azure" button takes you to the azure ansible page: https://docs.microsoft.com/en-us/azure/ansible/
Instead it should go to:
https://docs.microsoft.com/en-us/azure/terraform/

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

ID: b36fd5eb-6789-3a64-00ac-90130335bb48
Version Independent ID: 49a91fb1-9705-99ce-e404-dbbef8db0c25
Content: Tutorial - Store Terraform state in Azure Storage
Content Source: articles/terraform/terraform-backend.md
Service: terraform
GitHub Login: @TomArcherMsft
Microsoft Alias: tarcher

@josem0287 Thanks for the feedback. These issues of the Terraform Next Steps buttons pointing to Ansible content were all fixed yesterday. Those updates will be live later this morning - around 10 AM PST.

@TomArcherMsft Thanks for the response. :+1:


Errors may have originated from an input operation.

Errors may have originated from an input operation.
Input Source operations connected to node Train/DCRNN/DCRNN_SEQ/rnn/rnn/multi_rnn_cell/cell_1_9/dcgru_cell/gates/gates/concat_3:
Train/DCRNN/DCRNN_SEQ/rnn/rnn/multi_rnn_cell/cell_1_9/dcgru_cell/gates/gates/ExpandDims_3 (defined at D:\code\DCRNN-master\model\dcrnn_cell.py:114)

Can you provide additional information for debugging purpose?  E.g., python environments,  configs, dataset used etc.
Besides, you may try to have a fresh copy of the data in a new virtual env (e.g., using conda), and see if the error still persist.


Embeded struct takes precidence with Tag

type StructToEmbed struct {
	People []customTypeYouDontControl `json:people`
}

type structWithEmbeding struct {
	StructToEmbed
	People string `"json":people`
}
s := structWithEmbeding{People: []byte("test")}
db.NamedExec(`INSERT into table(people) VALUES(:people)`, &s)

This also occurs on scans
what happens: error that invalid type is present (or cannot scan into said type)
expected behavior: toplevel struct takes precedence (like it does for json/mapstructure/etc)

AFAIK that is the documented behaviour in https://jmoiron.github.io/sqlx/
(regarding Scan) "Because of the way that sqlx builds the mapping of field name to field address, by the time you Scan into a struct, it no longer knows whether or not a name was encountered twice during its traversal of the struct tree. So unlike Go, StructScan will choose the "first" field encountered which has that name. Since Go struct fields are ordered from top to bottom, and sqlx does a breadth-first traversal in order to maintain precedence rules, it would happen in the shallowest, top-most definition. "


Callback on render change to override zoom behaviour if desired

In our use case we change the modelData a fair bit. The default behaviour is to do a zoom into the model every time this happens, so there are repeated zooms in our app but we just want it to be static.
I've added a callback which by default maintains the zooming behaviour you had in place, but can be overridden to remove it.
IMO it probably makes more sense to have no zooming as the default behaviour then this callback for custom zooming behaviour, but I'll leave that decision up to you :)

Yeah, the zooming thing makes sense when you're loading an entirely different molecule in (like in the example), but when you're just making a small change to the structure it should probably keep the camera as it is.  Unfortunately those two situations are kind of hard to distinguish.
@avirshup How would users of MDT expect this to behave in most cases?

@justinmc - for MDT, I think it would definitely be better to not zoom by default - it makes it easier to understand movement during simulation

Ok that sounds like a consensus between the project's two biggest users :)  @danielholmes Would you mind making that change to this PR?  I guess just make the default onRenderNewData an empty function.
Also can you add documentation to the README where I list out all the different props and what they do?  I can write that up if you'd prefer.

@justinmc updated code and documentation and added some tests

Looks great.  Thanks so much for the quick response.  Merging this and releasing a new patch version.

Released as a new minor version actually due to slight api and behavior change. https://github.com/Autodesk/molecule-3d-for-react/pull/27


Parse out Manufacturer Specific Data for API < 21

Manually parse out Manufacturer Specific Data from raw Advertising byte array when API < 21

i < rawScanRecord.Length and rawScanRecord[i + 1] can cause IndexOutOfBoundsException, or?

Per BTLE spec, the advertisement is supposed to be LTV, so the
parsing shouldn't fail.
I suppose that devices could misformat their advertisements, especially
since BTLE is a little bit of a Wild West right now, so extra checks might
not be the worst thing in the world.
I guess the correct behavior in the case of a misbehaving peripheral is to
ignore the advertisement payload. I don't know if there is a current
mechanism for bubbling up errors associated with scan events and results.
On Saturday, November 14, 2015, Sven-Michael Stübe<EMAIL_ADDRESS>wrote:

i < rawScanRecord.Length and rawScanRecord[i + 1] can cause
IndexOutOfBoundsException, or?
—
Reply to this email directly or view it on GitHub
https://github.com/xabre/MvvmCross-BluetoothLE/pull/2#issuecomment-156698081
.

I will merge it like this for now. Won't release a nuget package until we check it :)


Changed "fakeElem" element type.

See only 281 line. On your examples uses input element and textarea, but if you will use manual method of copying you can't copy with line break (\n) because input element does not support line break(\n - this symbol). You should use textarea element instead of input element for support line break.
P.S.: Sorry for WebStorm code reformat.

Good catch! The only thing you need to do is update your PR files from src instead of dist because those are auto generated.

By the way, how are you setting line breaks in your markup?

In HTML you can't insert line break(except  tag), but sometimes need to make preprocessing for string and insert "\n". I tried to copy text from many HTML table cells and paste it to Excel and I got long string but with preprocessing I pasted "\n" - after that you can paste this text to Excel with line breaks to match Excel cells.


Meteor breaks document-register-element?

I'm not sure if I should post here or at Meteor, but v1.0.7 breaks Meteor apps for some reason. When the only line of code I have in my Meteor app is:
import 'document-register-element'

I get the following error in console:

Reproduction (requires meteor command to be installed):
git clone git@github.com:trusktr/meteor --branch issue-7736 --single-branch
cd meteor
./run-dev.sh

I also reported it at Meteor: https://github.com/meteor/meteor/issues/7736

if Meteor imports this repo after it pollutes some global it might be a problem. This repo should be included upfront any other DOM based library.
I might consider copying over public statics though ...

I'm very confused by this: https://github.com/meteor/meteor/issues/7738

I am going to close this ticket as invalid if nothing happens during the weekend.
Best regards

Hi Andrea, the relevant issue is just https://github.com/meteor/meteor/issues/7736, sorry to cause the confusion with the wrong title.

You are using webcomponents.js there, right? why or how is this polyfll involved ?

Yeah, https://github.com/meteor/meteor/issues/7736 has nothing to do with your polyfill, I meant to put WebComponents.js in the title, and you can safely unsubscribe from that one.
The issue here is valid though, and can be reproduced with the steps above.

Opened a new issue at https://github.com/meteor/blaze/issues/95

@WebReflection This line sets the HTML property on the window, which overrides Meteor's global HTML property. The htmlClass.get(/^HTML/) call returns an array that contains the value "HTML" representing the <html> element constructor.
Maybe you should ensure that the polyfill does not add constructors that don't exist onto window. f.e. the native HTMLHtmlElement constructor exists out-of-the-box, but HTML does not.

I also noticed that polyfillV1() gets called twice (in Chrome). Is that needed?

On these lines, the check passes because Meteor has added the HTML property to the window before the polyfill is imported.

Ideally no new globals should be set, only existing ones overridden.

Agreed. We can also agree that Meteor is the obtrusive here adding a global HTML object instead of using it's own namespace.
I will avoid unnecessary pollution, I am not even sure why HTML is returned. Will double check.
For anything else please open a ticket a part. Thank you.

P.S. there is a reason polyfillV1 can be called twice. One is to make it available where not available yet, another is to test that it works as expected in case it was already available.
Some browser was crashing within the try if not available at all.
Performance impact: 0
So it'll stay like that.

can you please test latest and tell me if this problem is gone? I've also improved the try/catch and other few things to avoid duplicated poly

@WebReflection Cool, it works! :}


Consider enhancement for experimental config-template command

Similar to config-template a solution has been created outside of om to generate a complete template of configuration options not just product-properties.  This also generates ops-files for each selector and optional property within product properties.  Also to expand the azs that a given tile deployment targets.  Wanted to gauge interest in having this submitted as a PR to enhance config-template command.
https://github.com/pivotalservices/tile-config-generator
This would also require extending configure-product to also take in ops-file(s) as an argument to complete the interpolation capability recently added.

@mcwumbly Just resurfacing this to see if this kind of feature is something that om would consider as either a different command or to replace config-template command or if this is something that should remain external as have gotten good feedback on approach with https://github.com/pivotalservices/tile-config-generator.  This does require that PR https://github.com/pivotal-cf/om/pull/197 be merged as tile-config-generator does depend on both vars and ops-files for interpolation.

hey @calebwashburn, I think config-template definitely needs some improvement, in particular around how it handles selectors right now - but it's not something we have thought about too deeply.
a few folks on our team have been on vacation and we've got a fair bit of other stuff going on, so I'm sorry we haven't been able to give your PR's the attention they deserve.
I'm also interested to here what other recent contributors like @jtarchie think about this feature, or whether there are aspects of it that we could start with.

@mcwumbly, recently, we talked to client that was using this tool.
The tile config generator provides full functionality for configuring a tile beyond properties. It supports generating configs for resources, properties, and errands.
The generator separates responsibility of required values and optional values.
For example:

if a property is required

and has a default value, that values is put into a default-vars.yml
and has no default value, the interpolation step will error on missing the value

if a property is optional

and has a default value, that values is put into a default-vars.yml
and has no default value, the interpolation step will not error

The above describe single key-value pairs. When it comes to collections and selectors, because they represent groups of values, is separated into ops-files. To "select" a value, you add an ops file, which sets the select_value, and expose other properties (via vars) you can set. Those vars follow the same logic for defaults and required as above.
The client expressed the useful of this pattern.

it fails fast. The interpolation of vars and ops files tells the user what they are missing before it uploads to OpsMan.
it exposes new required properties before having to upload the tile to OpsMan
it was very useful for new tiles, so they didn't have to staged and then stage-config down
it allowed picking and choosing for feature via ops files

Seeing how the client use the tool really showed how useful a full solution like tile-config-generator can be.

@jtarchie thanks for looping back around with the feedback.  I think this feature is more useful to the users that your team is focused on, so I'm happy to defer to you all about the best way forward here. Also, the config-template command is marked **EXPERIMENTAL** intentionally to allow us to navigate this design space with the expectation that it is not yet stable.
If y'all feel like @calebwashburn 's proposal is concrete enough to move forward with at this point, I think you could run with it and/or open separate issues for smaller features you'd like to work on along the way in that direction.
/cc @nbconklin

closing this issue as proposal https://github.com/pivotal-cf/om/issues/324 addresses this in more detail


Knip don't found files used only in tests

Hi guys!
I use<EMAIL_ADDRESS>and React in my project.
Why knip don't ignore tests files? Even if I add tests files in "ignore" section in my config file.
{
  "$schema"<EMAIL_ADDRESS>  "entry": ["src/index.{ts,tsx}"],
  "project": ["src/**/*.{ts,tsx}"],
  "ignore": [
    "src/api/src/**",
    "src/service-worker.ts",
    "src/**/*.test.{ts,tsx}" // <-----THIS DON'T WORK
  ]
}

Also, I tried added their in "project" section, but this don't helped me.
{
  "$schema"<EMAIL_ADDRESS>  "entry": ["src/index.{ts,tsx}"],
  "project": ["src/**/*.{ts,tsx}", "!src/**/*.test.{ts,tsx}"], // <-----THIS DON'T WORK
  "ignore": [
    "src/api/src/**",
    "src/service-worker.ts"
  ]
}

Is there any way to make knip ignore test files for components? After all, this is a very common case when a component is no longer used. But tests are written for it, so knip does not consider the component to be dead code.
MyComponent.tsx // <--- THIS COMPONENT IS NOT USED ANYWHERE ELSE
MyComponent.test.tsx

Please see the following sections in the docs:

https://knip.dev/guides/performance#ignoring-files
https://knip.dev/features/production-mode

Thank @webpro to your answer!
But I not found answer to my question. I think knip doesn't allow exclude tests files in analyze.
And this is very strange ☹
Why does construction "!src/**/*.test.{ts,tsx}" not exclude files from analysis, but simply make them ignored in the report?
{
  "$schema"<EMAIL_ADDRESS>  "entry": ["src/index.{ts,tsx}"],
  "project": [
      "src/**/*.{ts,tsx}",
      "!src/**/*.test.{ts,tsx}" // <--- use `!` the same thing as adding to section `ignore`
   ],
  "ignore": [
    "src/api/src/**",
    "src/service-worker.ts"
  ]
}

Even if I use production mode, it won't help me either. After all, I can’t separate the test files from all the files that knip analyzes.
I don't understand why this question hasn't arisen in the community before. After all, this is a very common case when test files interfere with knip searching for unused files.

A few remarks:

The project file patterns are meant only to find unused files. The set of project files minus the entry files + resolved files result in unused files (https://knip.dev/guides/handling-issues#unused-files). In other words, you can't "remove files" from the resolved set of files based on the entry files by adding negated patterns to the project files.
You want to use --production to exclude entry files added by plugins.
Use --debug to see what files are added and why (e.g. by Knip core or by one of the plugins).

If this doesn't help enough you can create a minimal reproduction and I'm happy to look into it.

I don't understand why this question hasn't arisen in the community before. After all, this is a very common case when test files interfere with knip searching for unused files.

The issue you are seeing is particular to your project and your understanding of how Knip works. This is definitely something I need to improve in the documentation so your feedback is very useful!

Hi @webpro ! Thanks to your answer!

In other words, you can't "remove files" from the resolved set of files based on the entry files by adding negated patterns to the project files.

 This is my problem.
Now in my project there are test files (*.test.tsx) and storybook files (*.stories.tsx), because of which knip cannot understand that the code is no longer used.
It would be great if we could separate the test and storybook files into a group - except:
{
    "entry": ["src/main.tsx"],
    "project": ["src/**/*.{ts,tsx}"],
    "except": ["src/**/*.test.tsx", "src/**/*.stories.tsx"] // <-- DON'T USE FOR CHECK "DEAD CODE"
}

If the file you are looking for is used only in test files (*.test.tsx) or storybook files (*.stories.tsx), then knip should consider it “dead code”.
I have prepared a thread for you in my project where you can experiment:
[https://github.com/pkolt/bitmap_editor/tree/knip-issue-591]
Component src/components/Cat/index.tsx is only used in the test and is dead code, but knip cannot determine this.
Maybe you can do something about this? In fact, after your last answer, I think that only changes knip can solve my problem.

Production mode is designed for this use case. What goes wrong if you use it?

Hi @webpro !

Production mode is designed for this use case. What goes wrong if you use it?

Can you give an example of a setup for production mode? In the example below, I should exclude tests (*.test.tsx) and storybooks (*.stories.tsx).
Default setup:
{
    "entry": ["src/main.tsx"],
    "project": ["src/**/*.{ts,tsx}"]
}

This seems like a good example: https://github.com/invoke-ai/InvokeAI/tree/main/invokeai/frontend/web
Install dependencies with pnpm and run knip with pnpm run lint:knip --debug and --debug --production and see that in production mode, the stories aren't part of the analysis.

Hi @webpro !
My ending knip config:
{
  "entry": ["src/main.tsx!"]
}

I use command knip --production.
It wasn't obvious, but now it works!
Thank you for help! 👍

Glad you found it!
Just adding this for other reading this: src/main.tsx! is part of the default settings. But when it needs to be extended and overridden, the exclamation mark needs to be there as well, and this may not be obvious indeed.

Also based on the feedback here I just added this page: https://knip.dev/guides/configuring-project-files


Add premium

closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10103
According to MC533652
@qianw211 Qian, as the author of the license block, can you kindly review this PR? Thank you

@MikePlumleyMSFT
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@DaniEASmith can you have a look at this one and merge if appropriate.

@MikePlumleyMSFT We already have an open PR to address this question. David and I are on a chat thread with the primary PMs, Biz Planners, and Marketing folks to come to a best way to communicate Teams Premium and Avatars as it's not a primary licensing scenario for accessing Avatars. David and I were told to hold on this until they better understand.

Here's a link to the other PR for reference: https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness-pr/pull/11812.

There's a different PR in the works to address this.


Issue In Image Placement Even After Setting Image To Same Size As Layer

hello
i am doing same thing , i tried both of your codes, but in my case i am using exactly same image as layer holder,
when i manually do this in photoshop it works fine(i dont have to do any placement because it is exactly as same pixel as layer), but when i do it through the code, the photo becomes more wider than i thought
code i used  --
with Session(mockup, action="open",auto_close=True) as ps:
    active_layer = ps.active_document.activeLayer
    bounds = active_layer.bounds
    # in this segment we are getting the frame of mockup, then we use
    # our function to adjust the image within given pixel without distortion
    width = int(bounds[2] - bounds[0])
    height = int(bounds[3] - bounds[1])
    adjust_image()# i replace my image here with same width and height as layer
    replace_contents = ps.app.stringIDToTypeID("placedLayerReplaceContents")
    desc = ps.ActionDescriptor
    idnull = ps.app.charIDToTypeID("null")
    desc.putPath(idnull, 'img.png')
    ps.app.executeAction(replace_contents, desc)
    ps.active_document.saveAs(f'res.jpg', ps.JPEGSaveOptions())

i am attaching results for reference -
using code -

manually -

mockup file i used - link
Originally posted by @chetan-SMRI in https://github.com/loonghao/photoshop-python-api/issues/38#issuecomment-1507944155

@chetan-SMRI You need to create a new layer, fill it with content, and convert it to a smart object for easy code replacement
https://user-images.githubusercontent.com/13111745/232515502-eb8f2149-1a5f-4b5b-a9ac-0197c8b24fe8.mp4


[BEAM-115] Update timer/state fields on ParDoPayload to use a map field for consistent name usage

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @tgroh @kennknowles

Coverage increased (+0.007%) to 70.576% when pulling e3f83cce72eadccb291011f96ab1ee6bedc7d48c on lukecwik:runner_api_proto into 571631a5ef83ef31ea9f652c5698cea3cc95ad43 on apache:master.


As a social media user, I can select a person and see the social media platforms they are using

so that I do not have to go to various platform to check.

Implementing tabs UI.

I'm also assigning this user story to myself considering that I am working on a section of this story, particularly the "see the social media platforms they are using". All the platforms that are added to a person will be shown on his/her person card.


Running

Hi,
I think I have set everything up correctly, where should I run 'director simulator.py' in order to properly produce a result? is their a specific command that should be used?
Thanks!

Hey! If the opportunity is there I would still like to donate to the campaign as thanks for the help provided!

Hey @jman123456
Sorry, the campaign was delayed for a bit, but was finally launched here:
https://mcgill.ca/seedsofchange/project/mcgill-robotics
Thanks!


top N Throughput Endpoint View  in Service UI

Why do you submit this issue?
[ ] Question or discussion

Question

What do you want to know?

Is there  a top N Throughput Endpoint View  in Service UI, or I have to add it myself?

Read oal script and document, you could do by yourself.


Reconfigure curl handles after reset

This'll ensure that all our proxy/speed data/etc will be preserved in the
libcurl configuration
Closes #4779

r? @matklad
(rust_highfive has picked a reviewer for you, use r? to override)

@bors r+

:hourglass: Testing commit 5c6086847b39b691fd1e8b4a0f69df7cb342e784 with merge ca5d26cfdf4c7e3b8350c96e310167171aad4b5c...

:sunny: Test successful - status-appveyor, status-travis
Approved by: matklad
Pushing ca5d26cfdf4c7e3b8350c96e310167171aad4b5c to master...


add --profile option to run command

cc @PABannier
example of usage using OLS benchmark. The diff:

then the usage:

Codecov Report

Merging #186 (2716c74) into master (f53fe37) will decrease coverage by 0.39%.
The diff coverage is 27.77%.

@@            Coverage Diff             @@
##           master     #186      +/-   ##
==========================================
- Coverage   71.38%   70.99%   -0.40%
==========================================
  Files          40       42       +2
  Lines        1978     1996      +18
  Branches      328      330       +2
==========================================
+ Hits         1412     1417       +5
- Misses        472      484      +12
- Partials       94       95       +1

Yes I can simplify if we assume benchopt is only used from CLI. I can then remove the do profile parameter. Shall I do this ?

I would say yes

@tomMoral let me know how you would add a test for this.

@tomMoral it's a mystery... it seems the USE_PROFILE is reset back to False although it's set to True first....

Merge if happy @tomMoral

Merged! thx @agramfort !


Code coverage, testing

We should bring code coverage up to 90% on all repos, and while we're at it make Travis CI make tests in a real-life case. (create mysql db, do migrations, make mock client...)

Reminder to self: https://gocover.io/


Question (not a bug)

hi guys, I just want to congrats you for this project, I was testing a lot of things for my phone, even something that is available on the store right now which is not working for me for some reason (i tried the api itself with a web server that it is working), and yeah, thanks guys.
I wanna ask you something, do you have anything like a resource where I can get the methods and things that the API needs to run?
Basically I was trying to use curl to do things but I get HTTP not allowed, watching your code I suspect that only accepts JSON as a POST.

The api doesn't use http. You need to open a socket and send json in utf-8 format terminated with a null byte.
The documentation can be found in the Spice source code Readme.md.
If the app is not working on your phone, try restarting it.

Regarding to the last one, I will open a new thread for that. thanks @rodepanda for the clarifications btw.


THCGeneral.cpp line=405 error=11 : invalid argument

=> Loading checkpoint from url...
Warning: generator does not support pointcloud generation.
0%|                                                     | 0/9 [00:00<?, ?it/s]THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1544174967633/work/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument

@zyz-1998 I got the same problem, Do you solve this.

@LMescheder Could you give some advice.

@LMescheder您能给些建议吗？

linux no problem

I encounter the same problem on linux, what is this about? and how can I fix it?

Hi guys, any solution in that regard? I also encounter this problem


Added Parallel and High Performance Computing to book list

Hi,
I thought this might be a good contribution to the list.
Thanks for considering it!
Branko

@von-latinski Thanks for your contribution. Look forward for same. 👍


Remove .swift-version, use Podspec swift_versions

Whenever we update the pod and publish to Cocoapods,
pod spec lint
warns us that

Usage of the .swift_version file has been deprecated!...

Let's clean it up and replace it with swift_versions in the podspec
per lint's recommendation.
See issue #169 in the repo.

          5 Warnings

:warning:
ResultTests.swift#L15 - SwiftWisdomTests/CommonTypes/ResultTests.swift#L15: ‘IPResult’ is deprecated: use Swift.Result instead
    private final let successfulResult = IPResult<Int>.success(1)

:warning:
ResultTests.swift#L16 - SwiftWisdomTests/CommonTypes/ResultTests.swift#L16: ‘IPResult’ is deprecated: use Swift.Result instead
    private final let failureResult = IPResult<Any>.failure(ResultError.error)

:warning:
UnsignedInteger+ExtensionsTests.swift#L16 - SwiftWisdomTests/StandardLibrary/Numbers/UnsignedInteger+ExtensionsTests.swift#L16: ‘random(inRange:)’ is deprecated: Use Int.random(in:) instead
        XCTAssert(positives.contains(random(inRange: positives)))

:warning:
UnsignedInteger+ExtensionsTests.swift#L18 - SwiftWisdomTests/StandardLibrary/Numbers/UnsignedInteger+ExtensionsTests.swift#L18: ‘random(inRange:)’ is deprecated: Use Int.random(in:) instead
        XCTAssert(negatives.contains(random(inRange: negatives)))

:warning:
UnsignedInteger+ExtensionsTests.swift#L20 - SwiftWisdomTests/StandardLibrary/Numbers/UnsignedInteger+ExtensionsTests.swift#L20: ‘random(inRange:)’ is deprecated: Use Int.random(in:) instead
        XCTAssert(mixed.contains(random(inRange: mixed)))

          1 Message

:book:
Executed 174 tests, with 0 failures (0 unexpected) in 0.429 (0.488) seconds

  Generated by :no_entry_sign: Danger

I didn't update the version int he "main" Podspec, because PR 170 handles that for me. I'll merge this one, then tag this one, merge, and push to trunk.


update(logging): Strip ansi from logs and general logging improvements

Logging improvements that were made across branches. Also added a new dependency strip-ansi from the same maintainers as chalk. This removes the ansi codes that clutters up the logs but keeps them in console. Also redacting more sensitive information.

Removed the logging for searching from pipeline.ts so only torznab.ts logs.


Adding accessibility docs

https://daves-accessibility-dot-weasel-dot-web-central.appspot.com/web/fundamentals/accessibility/?hl=en
I am so stoked to see this come together:

all the titles are Accessibility Codelab, making navigation on the main page impossible. :)
This is for @petele we don't have the 3rd level nav which I worry will make things impossible to navigate from section to section easily.

cc @robdodson @petele @dgash @Meggin


HTTP Error 500.1002 - Internal Server Error

I am having an issue logging into Azure Mobile Service using google login. I have tried it for chrome and firefox and getting the same error.

Posted for the wrong account