Add config option to connect to Cosmos with DirectHttps mode

Codecov Report

Merging #1243 into master will decrease coverage by 0.06%.
The diff coverage is 25%.

@@             Coverage Diff              @@
##             master    #1243      +/-   ##
============================================
- Coverage     72.22%   72.16%   -0.07%
+ Complexity     6045     6039       -6
============================================
  Files           439      439
  Lines         34910    34914       +4
  Branches       4430     4431       +1
============================================
- Hits          25214    25195      -19
- Misses         8546     8562      +16
- Partials       1150     1157       +7

Impacted Files
Coverage Δ
Complexity Δ

...ithub.ambry.cloud/azure/AzureCloudDestination.java
80.45% <0%> (-0.94%)
42 <0> (ø)

...com.github.ambry.cloud/azure/AzureCloudConfig.java
100% <100%> (ø)
1 <0> (ø)
:arrow_down:

...in/java/com.github.ambry.clustermap/Partition.java
78.16% <0%> (-3.45%)
26% <0%> (-1%)

.../com.github.ambry.network/BlockingChannelInfo.java
82.25% <0%> (-3.23%)
16% <0%> (-1%)

...java/com.github.ambry.store/CompactionManager.java
88.88% <0%> (-2.62%)
22% <0%> (ø)

...java/com.github.ambry.network/SSLTransmission.java
70.87% <0%> (-2.27%)
70% <0%> (-1%)

.../java/com.github.ambry.router/DeleteOperation.java
93.28% <0%> (-1.5%)
44% <0%> (-1%)

...c/main/java/com.github.ambry.network/Selector.java
79.48% <0%> (-0.86%)
73% <0%> (-1%)

...in/java/com.github.ambry.store/BlobStoreStats.java
70.83% <0%> (-0.63%)
103% <0%> (ø)

...rc/main/java/com.github.ambry.store/BlobStore.java
89.58% <0%> (-0.25%)
92% <0%> (-1%)

... and 5 more

Continue to review full report at Codecov.

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


Fixes to PR #12

Fixes to PR #12

@avisconti can you review this PR, please?

Thanks for the fix. They LGTM But I kindly ask you to change the commit header as I requested also previously, with header, a body and a footer. The footer is basically your signature. Thanks again

done

Thanks for the fix. They LGTM But I kindly ask you to change the commit header as I requested also previously, with header, a body and a footer. The footer is basically your signature. Thanks again

done

But the two previous commits should be deleted, right? Now PR has 3 commits instead of only one

squashed


requirements.txt on Mac

Hey, just to let you know that you cannot just ignore the pywin32 errors on Mac, as that error is preventing the other requirements to be installed, so I had to remove that line from the file in order to install anything.
Thanks

Thanks for letting me know. I will create a separate requirements file for Mac users.


Mail::Address.new parsing failed when string has a comma

If the string to be parsed contains a comma in the name it throws the wong email address.
 Commas , are used to separate addresses. If you want to create address fields that may contain commas (or other special characters), it would be safer to surround the name part with double quotes ".
Mail::Address.new('"Arnold, Roa" <arnold@github.com>').address
# =><EMAIL_ADDRESS>
Mail::Address.new('"Arnold, Roa" <arnold@github.com>').name
# => "Arnold, Roa"

Very useful... thanks. However unfortunatelly the address is what I receive from Griddler gem comming from mandrill..
Mail::Address is supposed to parse a single address, I think it should not consider commas as a mail separator here.

Have the same issue. Did anyone found a workaround?

Since my previous workaround did not help in the second case I described, I now changed the parser and created a pull request: #1365

Are there any plans to merge @Svelix 's solution?


feat: noir_wasm compilation of noir programs

Was starting https://github.com/AztecProtocol/aztec-packages/issues/3273 and ran into an issue - the noir_wasm CLI is configured for compiling azec.nr smart contracts only, so needs update to support bin package type.

we may not actually use this for protocol circuits, due to wasm overhead of using noir_wasm vs nargo - TBD

whoa failing due to some dependency cycles on CI now...


Displaying how much VP% a validator is representing after it voted in a proposal

This will be an interesting to show the weights (and hence their influences on the proposals) of the voters.

done with #47


Add a version command

change the default for function version to be 0.0.1 instead of v0001

LGTM; if you want to handle it (with that one change)


Add support for consumption by projects that use C++ modules

Adds a preprocessor define SAFETYHOOK_USE_CXXMODULES to public-facing headers that allows for the standard library to be included by-module instead of by-header to prevent issues in projects using C++ modules.

Can you add an option for this to cmake.toml. Something like the following:
[options]
# ...
SAFETYHOOK_USE_CXXMODULES = false

[conditions]
# ...
use-modules = "SAFETYHOOK_USE_CXXMODULES"

[target.safetyhook]
# ...
compile-definitions.use-modules = ["SAFETYHOOK_USE_CXXMODULES"]

This would let people opt into it via cmake options.

@cursey See if this is fine. I used inline CMake because cmkr doesn't have support for INTERFACE-visibility compile definitions, AFAIK.


Parsing dates in CSV sources

What happened?
What I'm trying to do
I'm trying to read a CSV file that has entries like this:
3249859372,"Morning Run",2020-04-03T12:38:00Z,1847,1938,4832.3,31.8,Run

using the dataview CSV importer.  But, when loaded, the start_date column, which is in this case 2020-04-03T12:38:00Z, is an object with the single attribute fp_incr which is itself null.  For instance, rendering it with dv.table has the entry show up as fp_incr: in the column.
It looks like it is correctly getting that it's a date, but then turning it into an object that isn't fully resolved?
DQL
Here's an example DQL:
table without id id, start_date, name, moving_time, elapsed_time, type, total_elevation_gain
from csv("activities.csv")
sort id desc

JS
No response
Dataview Version
0.55.5
Obsidian Version
1.1.16
OS
Windows

Good investigation. Could you look into the CSV loader/parser and see if you spot anything obvious? It should be inside something called data-index I think.

@AB1908 thanks for the tip!  That helped me track it down and add a conversion.


[test] Update compiler flag for Gperftools check

Will fix UES-606

@jgphpc Test is failing on Dom. Is this expected?

@jenkins-cscs retry dom

Hello @jgphpc, Thank you for updating!

In the file cscs-checks/tools/profiling_and_debugging/gperftools_mpi_omp.py:

Line 92:8: E122 continuation line missing indentation or outdented
Line 105:6: W291 trailing whitespace
Line 112:1: E265 block comment should start with '# '

Do see the ReFrame Coding Style Guide

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1040   +/-   ##
=======================================
  Coverage   91.97%   91.97%
=======================================
  Files          81       81
  Lines       10937    10937
=======================================
  Hits        10059    10059
  Misses        878      878

Continue to review full report at Codecov.

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


Update docs/reference/setup-tools/kubeadm/kubeadm.md

Update docs/reference/setup-tools/kubeadm/kubeadm.md

/lgtm
Preview is perfect


Enable IW export on web

Fixes #10291
also added an export IW -> notebook test that will run in both desktop and web

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for feature-requests.
[x] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Codecov Report

Merging #10492 (f19c126) into main (bac3cb1) will decrease coverage by 12%.
The diff coverage is 57%.

:exclamation: Current head f19c126 differs from pull request most recent head afcfc61. Consider uploading reports for the commit afcfc61 to get more accurate results

@@           Coverage Diff            @@
##            main   #10492     +/-   ##
========================================
- Coverage     70%      57%    -13%
========================================
  Files        467      467
  Lines      28076    28072      -4
  Branches    4737     4736      -1
========================================
- Hits       19891    16239   -3652
- Misses      6314    10248   +3934
+ Partials    1871     1585    -286

Impacted Files
Coverage Δ

...rc/interactive-window/interactiveWindowProvider.ts
74% <ø> (-4%)
:arrow_down:

src/interactive-window/interactiveWindow.ts
38% <25%> (-36%)
:arrow_down:

...ws/extension-side/import-export/jupyterExporter.ts
70% <100%> (ø)

...rc/webviews/extension-side/serviceRegistry.node.ts
100% <100%> (ø)

...ve-window/debugger/jupyter/debugCellControllers.ts
23% <0%> (-74%)
:arrow_down:

src/kernels/debugger/kernelDebugAdapterBase.ts
6% <0%> (-73%)
:arrow_down:

...views/extension-side/variablesView/variableView.ts
18% <0%> (-72%)
:arrow_down:

src/notebooks/outputs/tracebackFormatter.ts
24% <0%> (-69%)
:arrow_down:

src/interactive-window/debugger/helper.ts
33% <0%> (-67%)
:arrow_down:

src/notebooks/export/exportToPythonPlain.ts
21% <0%> (-66%)
:arrow_down:

... and 211 more


current cors/index.html doesn't work with IE 6

There is a bug that affects IE6 in the current cors/index.html on line 87:
if (!XMLHttpRequest || !('withCredentials' in (new XMLHttpRequest))) {
XMLHttpRequest is undefined in IE6.
One fix is to change XMLHttpRequest to window.XMLHttpRequest:
if (!window.XMLHttpRequest || !('withCredentials' in (new window.XMLHttpRequest))) {
Thanks.

Ouch, I guess I accepted that contribution a little to fast..
Send a pull request?

No worries.  Pull request sent.  Thanks for a very useful library!


Support for Angular 17 with version 16 Material package

Describe the desired feature/functionality
Eaton's Bid Manager development team has been using the brightlayer-ui/angular-themes package as part of our styling.  We would like to upgrade to Angular 17 while staying on the legacy version 16 Angular Material components.  The dependencies for this package need to be updated to allow an Angular CLI version of 17 with a Material package version of 16.
Additional Context (where / how would this be used)
Our plan is to eventually phase out the use of this package and create our own components for use with the new Material 3 standard. But for now, we would like to be able to continue with what we have while upgrading to Angular 17.
Is this request related to a current issue?
Yes, we get a dependency error when trying to upgrade to Angular 17.
Suggested implementation details
Since the Material package will remain on the final version 16 release (16.2.12), I don't think we need any actual development work other than an update of the dependencies.

The Angular themes do not have a dependency on @angular/core (they are just a collection of scss style sheets). They do have a peerDependency on @angular/material, but these peerDependency can already be satisfied by @angular/material version 15 or 16, so you should be fine to use the existing version of themes if you plan to combine angular 17 wth angular material 16.


Red meta key

Requirements
When creating your Pull request, please fill out the template below:
PR details
Is this a fix/ update/ new feature?
fix
Include a short description
The default settings for Red include adding the meta key in the db, if the param is not defined or set to 0 as in the main pipeline the meta key is not added.
Include links to JIRA tickets
Testing
Have you tested it?
Assign to the weekly GitHub reviewer
If you are a member of Ensembl, please check the Genebuild weekly Rotas and assign this week's GitHub reviewer to the PR
@thibauthourlier @EreboPSilva

I will merge the code because the travis failure are due to the nightly version which maybe shouldn't be tested or at least should be allowed to fail


request for RFC: keyspace partitioning pattern

When multiple applications store data in TiKV, there should be a clear pattern for avoiding conflicting use of the keyspace.
I have seen a directory concept in FoundationDB: a logical hierarchy with non-hierarchical physical representation.
FoundationDB links

Namespace
Subspace
Directory

FoundationDB does not use RocksDB. Column families from RocksDB may make our solutions easy to implement. However, we may want to support other storage engines that don't have column families: we may also need to consider how we would implement a column family abstraction for them.

I second this RFC, as partitioning the TiKV database (into say tables) buys us the ability to:

Avoid collisions in keys across multiple tables, reducing user error,
Shard table-specific data more evenly, thus improving performance,
Configure different tables independently (as noted in the RocksDB wiki),
Replicate different table independently (corollary to the previous point),
Reduce the complexity of the scan queries, by scoping it to the table.

One could surface this feature on the client as a tableName property in the config object used to create a TiKV client, which if not specified defaults to some default table name.
Here are some pointers to reference implementations that provide this kind of feature:

RocksDB Column Family
HBase Table
Ignite Cache
Riak Bucket
ArangoDB Collection


FLIR - compute plot level means

This follows from issue #151 which processed output from the FLIR camera and put Level 1 FLIR data in /sites/ua-mac/Level_1/flirIrCamera
This issue should include the following steps:

[ ] subset FLIR images to the plot level

if there is any soil in the image, it should be excluded from the temperature calculation

[ ] generate thumbnail with plot boundaries shown
[ ] compute mean temperature for the plot
[ ] insert values into BETYdb

completion criteria

[ ] post a sample of the data that will go into BETYdb
[ ] test deployment to dev environment
[ ] deploy to production

@solmazhajmohammadi - can we use RGB to mask FLIR?

Solmaz: I think 3D fusion with IR data would be a better option, using RGB is also good idea. I still have not had a chance to look at the data and test it.

@solmazhajmohammadi -please test the data

@ZongyangLi - are you still waiting for feedback from @solmazhajmohammadi on this?

@rachelshekar I'm working on deploying it on clowder

@solmazhajmohammadi let me know if you want to discuss anything. I am just about ready to re-deploy the flir extractor that populates Level_1 directory and get that running again.

@solmazhajmohammadi please share the code with Max

@hmb1 this issue is analogous to what we wish to do with the hyperspectral instruement data

I am writing FLIR mosaic extractor. will finalize this by the end of next week
still needed to add the search limitation to the code(Issue https://github.com/terraref/computing-pipeline/issues/224), we will discuss this with @max-zilla tomorrow

@solmazhajmohammadi @ZongyangLi we are actually intending to do this part:

subset FLIR images to the plot level

...for other sensors as well, so to the extent we can do this in a general way we can reuse the code. we have a shapefile of the plots now (and loaded into geostreams) so maybe we can have a call on next steps for this?

@solmazhajmohammadi  said it's a better option to use 3d fusion with FLIR data to exclude soil from flir camera data. So I didn't do much investigate here.
I think it will be quite straightforward to get a plot level temperature if we can exclude soil first.

@max-zilla @ZongyangLi
Subseting the images to the plot level would be a good idea, It helps todo the overlaying RGB and IR as well. Since the IR and RGB data is collected at the same time, this would be another option to exclude the soil from plant, and we can compare the result with 3D +IR

@ZongyangLi @solmazhajmohammadi #265 I am starting to focus on - to get all images chopped into plot tiles.

Changing this to April milestone since dependent on https://github.com/terraref/computing-pipeline/issues/265

moved to June; dependent upon https://github.com/terraref/computing-pipeline/issues/265

Full field image may not be accurate for this extractor because there is no rule when there are multiple observations for each point.
If individual images, will use last image recorded per plot.
@dlebauer  - Should we run this on full field or individual images?  If individual, then close.

We have full field stitching completed and have added code to iterate across the full field for each plot. Just need to finish tests to verify the plot-level means are generated properly, but this will be included in terrautils PR for tomorrow.

Closing this issue to finalize in https://github.com/terraref/computing-pipeline/issues/465


unexpected EOF

This issue is a placeholder requiring a test case from @kalbasit or myself.

For 2015/10/19 17:37:03 error reading "/offlineimap/data/mail/personal/cur/1442986221_0.1.f6acde6ceb6b,U=49611,FMD5=0be5a6c82893ecaa8bb29bd36831e457:2,S": unexpected EOF which is a total junk :(
https://gist.github.com/kalbasit/fb159ad4aef78682f4e7 (too big to paste here :trollface: )

All of the emails that are unexpected EOF (which are unfortunately too private to paste) have attachments so it must be something related to attachments.

Moving this to v2.3


Change field data type

Wouldn't it make more sense to store a probability value like this as a double rather than a string? If it was stored that way, you could probably perform mathematical operations more easily.

I see your point. The goal of this particular project is to have easy-to-read JSON files that anyone can script with, and I should probably state that somewhere. From that perspective, I came up with the following rationale when I made the decision to go with x:y:
1:3 is easier to write, more accurate (if only technically), and cleaner than 0.3333333, so it fits the goal of the project better to go with 1:3.

Okay, makes sense
On Tue, Sep 17, 2019, 01:27 Timothy Metcalfe<EMAIL_ADDRESS>wrote:

I see your point. The goal of this particular project is to have
easy-to-read JSON files that anyone can script with, and I should probably
state that somewhere. From that perspective, I came up with the following
rationale when I made the decision to go with x:y:
1:3 is easier to write, more accurate (if only technically), and cleaner
than 0.3333333, so it fits the goal of the project better to go with 1:3.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tmetcalfe89/interactions/pull/4?email_source=notifications&email_token=ANG2YPGPKNCUSOU3MQGZYCDQKBTDBA5CNFSM4IXKMRGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63KRWY#issuecomment-532064475,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANG2YPDCZYQ6LUTC56645L3QKBTDBANCNFSM4IXKMRGA
.


How to control the output image size?

How to control the output image size in GAN & WGAN?
I change the input image size to 256.
But I run exactly the sample code and save the single image(not 25 pic in 1 image)
Sometime it return 217217 image, sometimes it return 369369 image.
Is there anyway to control the output size ? I want to get the same size as my input image(256*256)
Thank you very much.

In the function:sample_images.

Change the value of r、c.

Could you post your code? It depends on the implementation you're trying to use.


CLI for sysadmins

Provide simple CLI for sysadmins. Basic use (theory here, pseudo-design):
seekrit set keyname "somevalue:foo:bar oh look spaces cuz quotes"
seekrit unset keyname

Oh yeah, this means that there should be a config file for seekrit specifying the IP address or DNS-available hostname of the seekrit server. No auth needed because, well, firewall. This should all be administered over a bastion host.

...aaaaaaand that config file should probably be json and look something like:
{
  "seekrit_endpoint":"https://internal-dns.name:9999"
}

(Note my example implies the creation of some form of handling SSL which...well...maybe?)


Roll Flutter from 1de874e7364a to 2c1dbba9344c (2 revisions)

https://github.com/flutter/flutter/compare/1de874e7364a...2c1dbba9344c
2022-03-19<EMAIL_ADDRESS>Roll Engine from 7bf210222518 to 1d6f58864f5b (1 revision) (flutter/flutter#100411)
2022-03-19<EMAIL_ADDRESS>Roll Engine from f4183102beae to 7bf210222518 (1 revision) (flutter/flutter#100409)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Gateways: added doc in README [ci skip]

Signed-off-by: Ivan Kozlovic<EMAIL_ADDRESS>

Coverage decreased (-1.06%) to 90.282% when pulling 478c3a68cf00efd769bb4de0881005f47b9faf43 on add_gw_doc into 2ea470a963e31d4503eef8fae9aa448051362930 on master.

@derekcollison I did not address all your comments yet but may need some help to restructure. I can provide content but not best at structuring it. @ColinSullivan1 would you mind also having a look? Thanks!

Closing in favor of #940


Handle tarball install after rke2-uninstall

What type of PR is this?

[ ] bug
[X] cleanup
[ ] documentation
[ ] feature

What this PR does / why we need it:
There is a problem re-installing after removing a cluster using rke2-uninstall.sh. Here are the reproduction steps:

git clone https://github.com/aceeric/rke2-ansible.git esace-fork-rke2-ansible && cd esace-fork-rke2-ansible
Provision a single t3.xlarge Centos 7 EC2 instance with SELinux disabled on the OS
Verify in the instance:

sh-4.2$ getenforce
Disabled
sh-4.2$ sestatus
SELinux status:                 disabled

Back on the ansible controller:

mkdir inventory/testme
cat <<EOF > inventory/testme/inventory.yaml
---
all:
  children:
    rke2_cluster:
      children:
        rke2_servers:
          hosts:
            <IP_ADDRESS>:
          vars:
            rke2_config:
              selinux: false
  vars:
    install_rke2_version: v1.25.6+rke2r1
EOF

Get binaries for tarball install:

export RKE2VER=v1.25.6 REL=rke2r1 BASE=https://github.com/rancher/rke2/releases/download &&\
curl -sfL $BASE/$RKE2VER%2B$REL/rke2-images.linux-amd64.tar.zst\
  -o ./tarball_install/rke2-images.linux-amd64.tar.zst &&\
  curl -sfL $BASE/$RKE2VER%2B$REL/rke2.linux-amd64.tar.gz\
  -o ./tarball_install/rke2.linux-amd64.tar.gz &&\
  curl -sfL $BASE/$RKE2VER%2B$REL/sha256sum-amd64.txt\
  -o ./tarball_install/sha256sum-amd64.txt

Perform the tarball install: ansible-playbook -i inventory/testme site.yml
After successful install, uninstall: sudo /usr/local/bin/rke2-uninstall.sh
Observe RKE2 service status:

sh-4.2$ sudo systemctl list-unit-files --all | grep 'UNIT\|rke2'
UNIT FILE                                     STATE
rke2-agent.service                            disabled
rke2-server.service                           disabled

If you now re-install, the "already installed" logic in the playbook that this PR modifies believes that RKE2 has already been installed and it won't copy the .ZST to the server. This causes problems in an air-gapped environment when a registry is not reachable - the result is image pull backoffs.

This PR determines whether RKE2 is installed based on the service state. If "disabled" then RKE2 is considered not to be installed.
Which issue(s) this PR fixes:
I did't submit an issue for this.
Testing
I tested the steps above both in an air-gapped enviroment and a connected environment. I encountered the issue without the change in the air-gapped environment and the change resolved the issue.

Thank you for contributing @aceeric. I tested your reproduction steps and confirmed both the problem and the fix you proposed. It seems to be working. It failed the lint but ill override that and fix the linting error in a separate PR since you did not introduce this issue.


Speed up uint8ArrayToString

Uses the native Uint8Array.toString implementation. Seems silly but it actually is pretty fast. In my artificial benchmarking testing 1000 random arrays of between length 1 and 10, this is 70% faster
I also testing a change which avoids converting to a string using something like:
function uint8ArrayToString(uint8Array): any {
  if (uint8Array.length <= 3) {
    return (uint8Array[0] << 16 | uint8Array[1] << 8 | uint8Array[2] | uint8Array[3] << 24);
  }

  let hash = BigInt(0);
  for (let i = 0; i < uint8Array.length; i++) {
    hash |= BigInt(uint8Array[i]) << BigInt(8 * i);
  }
  return hash;
}

But it wasn't actually any faster

https://github.com/andreamah/Tokenizer/pull/2 is a faster approach


STORM-1614: backpressure init and cleanup changes for 1.x branch

+1 LGTM

Just minor nit, mostly looks good to me.

LGTM

+1

Looks good. +1

Merged to 1.x-branch.


ci: Bake Hermes binary into integration test

From https://github.com/informalsystems/basecoin-rs/pull/35#discussion_r774429476, we should, by default, bake in a specific version of Hermes in the CI Docker image by using the layering approach employed in #35.
We should still offer the option, however, to override this baked-in Hermes binary with one built from ibc-rs sources.

Superseded by #47.


Bug: Install issue does not complete with Windows7

Hello,
Using Windows 7, I can not find if this version is compatible with HASS.Agent.
So far, I run the install but it terminzte after the HASS agent files  are getting Installed without any further notification and does not access the following configuration steps.
I can find HASS agent is at the correct directory Users\XXXX\AppData\Roaming\LAB02 Research\HASS.Agent but the agent does not execute when selected.
I hav run few times the repair/modify or delete and re-install but I am always going into the same trouble.
Any idea what is going wrong with the install?
Thanks
Zilla

You can try using the latest beta: https://github.com/LAB02-Research/HASS.Agent/releases/tag/2022.13.0-beta3

Thanks. I could get through the configuration process and execute the HASS agent. This Beta did not solve my issue!

Unfortunately Windows 7 isn't really supported. If it doesn't launch on your system then there's not much I can do.
You could try the last .NET 4.8 version:
https://github.com/LAB02-Research/HASS.Agent/releases/tag/v2022.3.8

Sorry, I made a fatal typo at the end of my response. This Beta did ACTUALLY solve my issue!
So far, it seems to work OK with Windows7 for integrating the commands, hot key, quick actions and sensors. I think only the Notification fails with Windows7 as Windows 7 are limited to those little pop-up notification.
I can still enjoy a lot of the functionalities of the HASS_agent

Oh, really glad to hear that! I'm planning on implementing my own notification system (because Windows' version gives too many limitations/complexities) so by then you should be able to use those as well :)
Thanks for letting me know

Really impressive tool.
My first project will be to use it as my own parental control tool with auto and manual routine :) My kids are not going to like ithis app as I do... I maycome back with more questions!
Have a good day !


placement: rule_manager refactor

Signed-off-by: disksing<EMAIL_ADDRESS>What problem does this PR solve?
Methods call Batch to reduce duplicated code.
Check List
Tests

Unit test

Release note

No release note

/rebuild


fix: #176 use double quote instead of the original single quote in valuaFmt function

Description
Single quote are not within the scope of StringEscapeUtils.escapeJava escape,
and double quote are enabled as delimiters for string parameters to avoid the above issues.
If you still want to use the original single quote due to special processing in the project,
you can use ValueFmtFn.setParameterQuote ("'"); to preserve the original usage.

单引号不在 StringEscapeUtils.escapeJava 转义的范围内，
启用双引号来作为字符串参数的界定符，从而规避上述问题。
如果项目中因为特殊的处理依然想用原来的单引号，
可用 ValueFmtFn.setParameterQuote("'"); 来保留原用法。
PR type

[x] bug fix.

Codecov Report
Patch and project coverage have no change.

Comparison is base (d8283ec) 0.00% compared to head (94f8f89) 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@          Coverage Diff           @@
##           master    #177   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files          73      73
  Lines        2430    2435    +5
  Branches      264     264
======================================
- Misses       2430    2435    +5

Impacted Files
Coverage Δ

.../ngbatis/binding/beetl/functions/IfStringLike.java
0.00% <0.00%> (ø)

...ib/ngbatis/binding/beetl/functions/ValueFmtFn.java
0.00% <0.00%> (ø)

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


Problem in access

Hi team,
i try to activate this integration, but afther the log in i received this error:
"No supported device was found in this Xiaomi Miio Cloud account in the selected location."
come can I solve the problem?
I tried with all the servers in the list but nothing

I have this problem too

i have a Dreame L10S

I get the same error message with my dreame l10s ultra. Are there any fixes?

@Tasshack i and @llerch have a dreame l10s ultra but this noi working can you help?


feat: Update the Chipay to Payout in products section on the website

👋 Welcome!
Welcome to Chimoney's open-source community! This issue is specifically designed for first-time contributors, so if you're new to open source or haven't contributed to our codebase before, you're in the right place. We're here to help you take your first steps and guide you through the process of making your first contribution.
What You'll Need to Know
You don't need any prior knowledge or experience to work on this issue. We're here to support you every step of the way, so don't hesitate to ask questions if you're unsure about anything.
Problem
Currently, under the products section, we have Chipay, we'd like to update it to Payout.
For easy navigation, take a look at the screenshot below.

📋 Step by Step

Claim this issue: Comment below to claim this issue. If someone else has already claimed it, feel free to ask if they've started working on it or if they need any help.

Make the changes

Commit your changes: Once you've made the necessary updates, commit your changes and then submit a pull request so we can review your changes and merge them into the main codebase.

💬 Keep Us Updated
We encourage you to keep us updated on your progress. If you encounter any challenges or need assistance, don't hesitate to ask for help. We're here to support you throughout the process.
👥 Collaboration
If you see someone else working on this issue or if you'd like to collaborate with others, feel free to reach out and offer your assistance. Collaboration is key to our success as a community!
❓ Questions?
If you have any questions or need clarification on anything, please leave a comment below. We're here to help!

I would like to claim this issue.

Hi @moosecodes , it has been assigned to you.


Build timeout to 4hr

Up the build timeout from 3hr to 4hr while we have to run things sequentially.

Sorry @dimas-b didn't catch your comment on the last one in time.


Improve IPv6 address hash function in ID manager

Is your feature request related to a problem? Please describe.
The mptcpd ID manager currently maps IP addresses to MPTCP address IDs using a hash map, where the hash function simply returns the last four bytes of the IPv6 address.  Depending on the local address configuration on the host, such a trivial hash function may incur collisions when inserting entries to the hash map.
Describe the solution you'd like
Implement hash function with better collision characteristics.
Describe alternatives you've considered

Consider using something like the 32 bit version of MurmurHash3.  Only the 32 bit version is needed since the underlying hash map, ELL's l_hash_map, expects hash functions to return an unsigned int, which is 32 bits wide on Linux platforms.
Consider replacing the underlying hash map with a simple linked list (e.g. ELL l_queue) or array.  The hash map lookup speed  (O(log n)) won't be very different from a linear (O(n)) lookup speed when the number of entries is small.  That is likely the case for the mptcpd ID manager case since it is unlikely that hosts will have many local addresses.

Closed by #243.


Is there machine readable spec for 5.5.1?

I have been using the YAML files for GEDCOM 7 at https://gedcom.io/terms/v7/ and I was wondering if there is an analogous resource for version 5.5.1.
The only thing I can find for 5.5.1 is the official spec for it at https://gedcom.io/specifications/ged551.pdf. Is there anything else with this specification in a more machine readable form?

We do not currently provide such a spec as part of this project. We have discussed creating one at various times, but there are some minor technical challenges (for example, 5.5.1 had some structures with multiple payload types, which our current YAML format does not have a way of expressing) and more significant time challenges (all contributors to this project are volunteers and creating those files would take significant time and effort).
There have been some other projects to make 5.5.1 more machine-readable; #418 mentions one such project with links to the resulting files. It's not the same format as 7.0, but it has been used to generate 5.5.1 parsers.

Thanks for your reply with a link to the discussion on this which I will take a closer look at soon.
In relation to your being volunteers I think I was confused because I thought familysearch.org looked to me like a company but I now see its is largely or completely voluntary and offering free services. It is a pity there is not some more money available to help you manage the specification itself.
Is the idea behind familysearch.org that users do not need to build their own gedcom file because they can submit their genealogical data to and view the results from familysearch.org?

In relation to your being volunteers I think I was confused because I thought familysearch.org looked to me like a company

FamilySearch is a company, funded by the Church of Jesus Christ of Latter-Day Saints rather than by subscription fees or ads. They (under a previous name) developed the first version of GEDCOM and own the trademark on FamilySearch GEDCOM. They provide the domain names, legal counsel, and related administrative support for this project and also support having a few of their employees work on it for a few hours a week as part of their work responsibilities. @clarkegj is a member of the steering committee who works for FamilySearch and might be able to say more about their involvement.
Other organizations likewise provide some of their employee's time to support the project; for example, I have had some of my time on this project paid for by the University of Virginia and the University of Illinois Urbana-Champaign.
To the best of my knowledge, all of us who have employer support in working on this project (FamilySearch or otherwise) are still volunteers: we asked our employers to spend time on this project and they agreed that it was a cause worth investing some of our time to support. I have been part of the GEDCOM 7.0 project since before it had that name, and the only time I've observed a steering committee member acting as a formal representative of their company (rather than as an individual volunteer) is in the discussions about licensing, branding, and trademarks that occurred shortly before the 7.0.0 release.
The GEDCOM standard is overseen by a steering committee, currently consisting of 6 people (it has had as many as 8 and as few as 5), who meet weekly to discuss issues and pull requests on this repository. Most of the work of developing the standard is done between those meetings: we (meaning anyone interested, not just the steering committee) identify issues, propose alternatives, and write those up as pull requests on our own time. The weekly steering committee meetings primarily discuss the issues and pull requests resulting from that individual work. When the steering committee notices someone making consistent helpful contributions spanning several areas of the specification over an extended time, we invite those contributors to join the steering committee; some accept that invitation and other decline.

Thanks for putting me in the picture!

Discussion during GEDCOM Steering Committee:

We discussed the fact that the GEDCOM Steering Committee is not described at https://gedcom.io/community/ and should be.
We will take a derivative of Luther's answers above about the committee, and create a pull request to add it there to make it easier for others to find the same information.

Also discussed that a PDF-to-text converter could create a text version of the 5.5.1 PDF, from which scripts could potentially be written to generate YAML files for 5.5.1.


Can't remove persistent storage

I have a NFS persistent storage that was once assigned to a work flow. I have remove it from the workflow and re deploy it without the volume. Now when I try to remove the persistent storage I can't and this message in the logs:
I0506 18:33:51.232021       1 graph_builder.go:570] add [v1/PersistentVolume, namespace: , name: embyvol01, uid: 1cba9170-5076-11e8-a46b-bac507c4c848] to the attemptToDelete, because it's waiting for its dependents to be deleted

Useful
Info

Versions
Rancher v2.0.0 UI: v2.0.41

Access
local admin

Route
authenticated.cluster.storage.persistent-volumes.index

Now UI doesn't allow to remove PV with Bound state. You need to remove the PVC first. You can find the PVC in workloads ==> volumes tab.


[niconico] 403 Forbidden

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2<IP_ADDRESS>. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2<IP_ADDRESS>

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-v', '--user-agen
t', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/59.0.3071.112 Safari/537.36 Vivaldi/1.91.867.48', 'http://www.nicovideo.j
p/watch/sm1151009']
[debug] Encodings: locale cp932, fs mbcs, out cp932, pref cp932
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-86537-gae6f6d4, ffprobe N-86537-gae6f6d4
[debug] Proxy map: {}
[niconico] Logging in
[niconico] sm1151009: Downloading webpage
[niconico] sm1151009: Downloading video info page
[niconico] sm1151009: Downloading flv info
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'http://smile-cca61.nicovideo.jp/smile?v=1151009.
96367'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpfdfxmx88\bu
ild\youtube_dl\YoutubeDL.py", line 1863, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpfdfxmx88\bu
ild\youtube_dl\YoutubeDL.py", line 1805, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpfdfxmx88\bu
ild\youtube_dl\downloader\common.py", line 361, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpfdfxmx88\bu
ild\youtube_dl\downloader\http.py", line 61, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpfdfxmx88\bu
ild\youtube_dl\YoutubeDL.py", line 2166, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_defau
lt
urllib.error.HTTPError: HTTP Error 403: Forbidden
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://www.nicovideo.jp/watch/sm1151009

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

Thanks for the report. This video is HTML5-only, which will be supported in the next version.

I think niconico will switch to html5 completely. for "new" uploaded one.
We surely need some workaround
2017/08/07 午前0:09 "Yen Chi Hsuan"<EMAIL_ADDRESS>
Closed #13806 https://github.com/rg3/youtube-dl/issues/13806 via 463e721
https://github.com/rg3/youtube-dl/commit/463e7216c87814edf1453aa3a5bfad89474ba6b1
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rg3/youtube-dl/issues/13806#event-1194502415, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALa_E1MWr996W9uKcPsKkONVA9oQzK2Mks5sVdcagaJpZM4OqkRM
.

As I've said, support for HTML5 videos will be included in the next youtube-dl version. You may want to check out developer instructions for how to run an unstable version.

yay for that then :P
2017/08/07 午前1:29 "Yen Chi Hsuan"<EMAIL_ADDRESS>
As I've said, support for HTML5 videos will be included in the next
youtube-dl version. You may want to check out developer instructions
https://github.com/rg3/youtube-dl#developer-instructions for how to run
an unstable version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rg3/youtube-dl/issues/13806#issuecomment-320517198,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALa_E6_dIpEJlqwWmn3fvaj8TeRgUKBYks5sVenrgaJpZM4OqkRM
.


In Windows, it will cause bug sometimes.

https://github.com/huggingface/llm-ls/blob/f58085b8127dc09ae09645e04019a668a85e4976/crates/llm-ls/src/main.rs#L795
Instant::now() maybe return a value smaller than MAX_WARNING_REPEAT (3600s) in my Win11, and it will cause the checked_sub return None, that make program show error message "instant to be in bounds" and exit exceptionally.
I think it could be the reason:  https://doc.rust-lang.org/std/time/struct.Instant.html#underlying-system-calls
Windows use QueryPerformanceCounter as underlying system call.
My OS is Win11 Home Edition, 23H2 version.

Maybe std::time::SystemTime::now is the right option, not std::time::Instant::now

Does the author rarely reboot the computer?

I also encountered the same problem on the Windows system. Later I checked GPT and he replied that it was possible that the MAX_WARNING_REPEAT setting was too large, so I changed const MAX_WARNING_REPEAT: Duration = Duration::from_secs(3_600); to const MAX_WARNING_REPEAT: Duration = Duration::from_secs(3_60);This problem is solved. I don’t know if there are any other problems with this solution.

Instant::now() on Windows system does indeed return timestamp smaller than MAX_WARNING_REPEAT and throws an error, in some cases. As highlighted by @mikeshi80.
The approach proposed by @mikeshi80 seem to work fine in my setup. It passes unit tests and its in working condition on my windows and mac.  Next step would be to run the test and release workflows.
@McPatate Any ways to contribute to fixing this issue?


Exception during atomic exit can result in broken cache and memory leak

The __enter__ and __exit__ method of Django's transaction.Atomic class are currently patched to ensure Cachalot plays nicely with database transactions.
However, if an exception occurs within Django's original __exit__ method, then Cachalot doesn't clean up the stack of atomic_caches.
Because the stack of atomic_caches is thread local, the non-empty stack will be reused, possibly by subsequent requests. This can lead to different users receiving different cached data.
Steps to reproduce
Start with two empty PostgreSQL tables as follows:
CREATE TABLE foo (
  id int,
  CONSTRAINT foo_id UNIQUE (id)
);
CREATE TABLE bar (
  foo_id int,
  CONSTRAINT bar_foo_id FOREIGN KEY (foo_id)
      REFERENCES foo (id) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED
)

Because the foreign key checks are set as deferred, the error database occurs when connection.commit() is run, rather than immediately upon cursor.execute().
>>> from cachalot.cache import cachalot_caches
>>> from django.db import connection, transaction
>>>
>>> len(cachalot_caches.atomic_caches)  # Stack is empty, as expected
0
>>> @transaction.atomic
... def test():
...   c = connection.cursor()
...   c.execute('INSERT INTO bar VALUES (1)')
...
>>> test()
Traceback (most recent call last):
  ...
IntegrityError: insert or update on table "bar" violates foreign key constraint "bar_foo_id"
DETAIL:  Key (foo_id)=(1) is not present in table "foo".

At this point, we can see that the stack was not cleaned up:
>>> len(cachalot_caches.atomic_caches)
1

Repeated exceptions cause the stack to keep growing (i.e. a memory leak):
>>> test()
Traceback (most recent call last):
  ...
IntegrityError: insert or update on table "bar" violates foreign key constraint "bar_foo_id"
DETAIL:  Key (foo_id)=(1) is not present in table "foo".

>>> len(cachalot_caches.atomic_caches)
2

Proposed fix
I think the fix for this is fairly simple and just involves wrapping the original exit function in a try...finally block. That is, changing this...
def patch_exit(original):
    @wraps(original)
    def inner(self, exc_type, exc_value, traceback):
        needs_rollback = get_connection(self.using).needs_rollback
        original(self, exc_type, exc_value, traceback)
        cachalot_caches.exit_atomic(
            self.using, exc_type is None and not needs_rollback)

    return inner

...to this...
def patch_exit(original):
    @wraps(original)
    def inner(self, exc_type, exc_value, traceback):
        needs_rollback = get_connection(self.using).needs_rollback
        try:
            original(self, exc_type, exc_value, traceback)
        finally:
            cachalot_caches.exit_atomic(
                self.using, exc_type is None and not needs_rollback)

    return inner

This ensures exit_atomic always gets called, regardless of whether the original exit method succeeds or raises an exception.

Thank you so much for this very detailed report!
This is probably related to #81. I will fix that shortly then release a new version.

After digging, your report is not 100% accurate.
Measuring len(cachalot_caches.atomic_caches) does not mean that a stack is piling up. atomic_caches is a dictionary where keys are database aliases, and values are caches.
So it can contain for example {'default': []} or {'default': [], 'secondary': []}.
When you measure the length, it’s only the number of databases used that varies, not the number of caches.
Then what you execute in your function should fail during cursor.execute, not while ending the transaction. It’s an important limit to this issue: it can only happen if you’ve created a constraint without the ORM while modifying it from INITIALLY IMMEDIATE to INITIALLY DEFERRED. This is a perfectly acceptable use case, but it’s far from common.
So here is exactly how to reproduce this case:
from cachalot.cache import cachalot_caches
from django.db import transaction, connection

@transaction.atomic
def test():
    c = connection.cursor()
    c.execute('CREATE TABLE example (id int UNIQUE INITIALLY DEFERRED)')
    c.execute('INSERT INTO example VALUES (1), (1)')

# This will print 1, then 2 and finally 3.
for i in range(3):
    try:
        test()
    except:
        print(len(cachalot_caches.atomic_caches['default']))

@frasern Your solution is indeed perfectly correct. Could you make a pull request including the above test as well?


Add Netdata & Testbirds

I added
Netdata (https://www.netdata.cloud/)
Testbirds (https://testbirds.com)

You need to keep the JSON file sorted by the name. Testbirds should be moved down the file towards the end, so it sits along other entries starting with T in its own alphabetical order.

The Merge Conflict kinda broke my initial Formatting, and moved it up. It should now be fixed.

Thanks for your contribution!


Note availability of newer requirement sets (#2608)

Note availability of newer requirement sets

List WXPO as supported apps on OpenBrowserWindowApi reqt. set page

Clarifications

Docs Build status updates of commit 007c31a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded
View

docs/reference/requirement-sets/open-browser-window-api-requirement-sets.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Visual Studio 2022 crashes when i try to open "manage python packages"

This issue has been moved from a ticket on Developer Community.

[severity:I'm unable to use this version]
Hi!
When i right-click on the python environment and press "Manage Python Packages" visual studio crashes and reboots.
I have tried upgrading, i´m now on 17.1.1 (2022 Community 64-bit).
I´m on windows 10, just over 2 GHz, 32 GB ram, Gforce 1050.
The nuget package manager is 6.1.0
i have tried with python 3.9 and 3.7.9
I don´t really know what more to say, i have attached a logfile screenshot (at least i think so).

Original Comments
Feedback Bot on 3/22/2022, 06:25 AM:
(private comment, text removed)
Martin Lith on 3/22/2022, 08:46 AM:
(private comment, text removed)
Martin Lith on 3/22/2022, 10:47 AM:
(private comment, text removed)

Original Solutions
(no solutions)

I am experiencing the same issue. Additionally, the conda environment I was using with VS 2019 was deleted including all of my variables. This version of the software is trash! Please try again!

Same problem. Also it seems there are some invalid environments it tries to detect before the crash.

@heathermrauch, Sorry for the issues you are seeing.  Unfortunately, we have been unable to reproduce this. Could you please try installing the latest Python from python.org. There have been some issues with pip and want to eliminate that possibility.
@asm128, what are the invalid environments errors that you are seeing?

@judej, I uninstalled VS 2022 and reverted to 2019. Because of this issue, I had to completely rebuild my environment from scratch and was unable to do so using the latest version of python as some of the libraries on which my applications depend are not compatible with the latest release. Because of all the rework my first attempt at this took, I have no intention of reinstalling the latest version of Visual Studio or attempting to reproduce the issue. I will more likely switch which IDE I use in the future since I have already been experiencing issues with Visual Studio crashing for no apparent reason. I can guarantee I am not the only developer who is doing so because of the increasingly unstable releases of this product.

@heathermrauch, Sorry for the issues you are seeing. Unfortunately, we have been unable to reproduce this. Could you please try installing the latest Python from python.org. There have been some issues with pip and want to eliminate that possibility.
@asm128, what are the invalid environments errors that you are seeing?

I have this problem in another windows 10 just installed with miniconda 3 also present and probably Python 10 too. Nothing else.

The conda env i created only has opencv-python installed

You should do like me and write code that doesn't get old by relying less on experimental and or third-party stuff

The conda env i created only has opencv-python installed
@heathermrauch You should do like me and write code that doesn't get old by relying less on experimental and or third-party stuff

@asm128, thanks for the advice. Unfortunately that is not an option since the purpose of my code is to integrate with the API for the "third party stuff".

The conda env i created only has opencv-python installed
@heathermrauch You should do like me and write code that doesn't get old by relying less on experimental and or third-party stuff

@asm128, thanks for the advice. Unfortunately that is not an option since the purpose of my code is to integrate with the API for the "third party stuff".

You can always upgrade what's outdated to the latest version of everyhing and implement what's missing if there's something that got too old or is too difficult to maintain. Why keeping supporting code that doesn't work on the latest release of the language or whatever? I brought to date large C++ projects that were written for Visual C++ 6 without any real difficulties (just they didn't even had to declare the type of the varirable and it assumed int for unknown vars.

The conda env i created only has opencv-python installed
@heathermrauch You should do like me and write code that doesn't get old by relying less on experimental and or third-party stuff

@asm128, thanks for the advice. Unfortunately that is not an option since the purpose of my code is to integrate with the API for the "third party stuff".

You can always upgrade what's outdated to the latest version of everyhing and implement what's missing if there's something that got too old or is too difficult to maintain. Why keeping supporting code that doesn't work on the latest release of the language or whatever? I brought to date large C++ projects that were written for Visual C++ 6 without any real difficulties (just they didn't even had to declare the type of the varirable and it assumed int for unknown vars.

@asm128 Sorry, but I think you misunderstand me. I am using an a Python SDK to access a third party API which is incredibly large and maintained by a separate organization. It is far out of scope of my project, and my currently employed role to be honest, to rewrite an entire API SDK just because it relies on libraries that are not yet updated for the latest Python release.
Additionally, this thread is now very off topic. The point was, installing the latest Visual Studio release should not have prevented me from using one version lower than the latest Python release. Nor should it have removed my conda environment or crashed when attempting to select an environment. I appreciate your willingness to provide feedback, but I don't feel it applies to my current situation or this thread.

Hi EveryOne i have the same issue with the Community and Professional versions of VS2022, the Select environment dropdown does not showing the environments, only show the latests Python version installed, and when you try to select after create a new one, the window crashes.  I think that happened when i use a python 3.10 version that is not supported yet. but i uninstall it and install python 3.9 and still crashing.   I tested the same project on vs2019 and works fine.  Do you know how we can solve it? i need to add this project to a .NET 6 main app (i use a python API,  due the numpy library functions that i can't port)  and i can´t do it because VS2019 doesn't support Net 6.
Thanks in advance.
Greetings

I find this insulting. Fix the product if you want me to open my project in VS2022.

I solve my problem uninstalling all visual studio versions and all python versions.
After that,  install python from windows store. It crashes if you install the python.org installer.
After i install the VS 2022 pro version and it worked correctly.

I too tried to switch conda envs and had VS 17.1.5 crash repeatedly.  Roberto-Yanes says he uninstalled all VS versions and all python versions, then reinstalled python from windows store.  I am reluctant to do that since I already have envs set up that support existing systems.  I don't want to lose them.  Is there another solution?  Are the developers of VS looking at this?  Has a ticket been created?

I also have this issue. With only the Microsoft version Python 3.9 it worked, but when I added Annaconda the issues started. As soon as I try to open the packaging manager Visual Studio crashes. I also recognized that it does not support Python 3.10 which I tried to install at some point.
Currently I use: Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.1.6

@heathermrauch, Sorry for the issues you are seeing. Unfortunately, we have been unable to reproduce this. Could you please try installing the latest Python from python.org. There have been some issues with pip and want to eliminate that possibility.

@judej I had to set up a new pc from scratch, so I figured I'd give this another go. I was finally able to get this to run with python 3.9, but only after using a brand new computer without anything but anaconda installed. Something from previously installed apps or settings appears to be conflicting with the build.
Now that I have this installed and "working", I have another question, how do I change the keyboard shortcut for "Send to python interactive" back to 'ctrl + Enter'? Having to hit 'Ctrl + E, Ctrl + E' is really dumb (yes you do have to do it twice like an idiot). I tried changing the keyboard shortcut bindings in the Options menu, which did absolutely nothing.

Please provide explicit instructions on how to change this.
I also wanted to note, as I was clicking through the various items listed in the options, the page does not change until you click an item, click something else, then click the item you want a second time.

Hi @Roberto-Yanes @alphamonda @SteveM49, sorry for the issues you are experiencing. We have been trying to reproduce this but were not able to. Could you please share your repro steps from a clean install? That would be really helpful. :blush: Thanks!

Hi, I do not recall the precise steps, but the issue occurred when:

I first had some normal Python version installed
I then installed the newest which was 3.10
Then I installed Python via Anaconda, from there the crashes started.

I think it has to do with the newest version of Python which was not “known” to Visual Studio.
�
Now I deinstalled all Python versions. I only use Anacona with Python 3.9. Since then it does not crash any more.
Hope that helps a bit.
Best regards,
Oliver
�
From: Stella @.>
Sent: Tuesday, June 7, 2022 12:06 AM
To: microsoft/PTVS @.>
Cc: Oliver Haller @.>; Mention @.>
Subject: Re: [microsoft/PTVS] Visual Studio 2022 crashes when i try to open "manage python packages" (Issue #6944)
�
Hi @Roberto-Yanes https://github.com/Roberto-Yanes  @alphamonda https://github.com/alphamonda  @SteveM49 https://github.com/SteveM49 , sorry for the issues you are experiencing. We have been trying to reproduce this but were not able to. Could you please share your repro steps from a clean install? That would be really helpful. 😊 Thanks!
—
Reply to this email directly, view it on GitHub https://github.com/microsoft/PTVS/issues/6944#issuecomment-1147980331 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMIX2QHNLZ3BBFE5DWYGFPTVNZY5ZANCNFSM5SCN55KA .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AMIX2QFZOZ6AXBBM72DP6KLVNZY5ZA5CNFSM5SCN55KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIRWMUKY.gif Message ID: @.*** @.***> >

the first two versions of python did they come from the Visual Studio installer? or windows store? or direct download from the python site?

Closing old issue. If this is still a problem, please reopen with the information requested. thanks

The first ones were directly installed from the python site.
�
From: Bill Schnurr @.>
Sent: Tuesday, June 7, 2022 7:23 PM
To: microsoft/PTVS @.>
Cc: Oliver Haller @.>; Mention @.>
Subject: Re: [microsoft/PTVS] Visual Studio 2022 crashes when i try to open "manage python packages" (Issue #6944)
�
the first two versions of python did they come from the Visual Studio installer? or windows store? or direct download from the python site?
—
Reply to this email directly, view it on GitHub https://github.com/microsoft/PTVS/issues/6944#issuecomment-1148958957 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMIX2QDOLI6J5UXFVO4Z5VLVN6APZANCNFSM5SCN55KA .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AMIX2QDT2DXAJCG4RAPEBGTVN6APZA5CNFSM5SCN55KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIR53R3I.gif Message ID: @.*** @.***> >


WFSSL-112 Use PooledByteBuffer to fix performance issue caused by ByteBuffer allocation

During using Facebook Airlift sample application to do benchmarking, the CPU user utilization is very low (about 9%) but CPU sys utilization is very high (about 66%) if we use wildfly-openssl as openssl provider and set the custom engine to QAT.  From the Java Thread Dump File, we can found the performance bottleneck is the ByteBuffer allocation. So use pooled byte buffer to replace the direct byte buffer allocation to fix the performance bottleneck.

Benchmark application is Facebook Airlift sample application and benchmark client is wrk.
Below is the performance results for this code change. From the results, pooled byte buffer can boost performance about 4.7X.

ByteBuffer
CPU Utilization
Performance Result (Requests/sec)

Direct Allocation
10%
92285.92

Pooled ByteBuffer
55%
434580.33

Below is the benchmark result for direct byte buffer allocation:
[root@icx02 AirliftPerformance]# ./run_wrk.sh
run long connection testing
Running 2m test @ https://localhost:9300/v1/service
  256 threads and 5000 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     6.23ms   58.23ms   1.99s    99.22%
    Req/Sec   806.20    464.31     4.35k    80.07%
  11083566 requests in 2.00m, 1.62GB read
  Socket errors: connect 0, read 0, write 0, timeout 5561
Requests/sec:  92285.92
Transfer/sec:     13.82MB

Below is the benchmark result for pooled byte buffer:
[root@icx02 AirliftPerformance]# ./run_wrk.sh
run long connection testing
Running 2m test @ https://localhost:9300/v1/service
  256 threads and 5000 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   310.20ms  470.99ms   2.00s    81.26%
    Req/Sec     2.13k     1.83k   20.28k    69.18%
  52199470 requests in 2.00m, 7.63GB read
  Socket errors: connect 0, read 0, write 0, timeout 51815
Requests/sec: 434580.33
Transfer/sec:     65.07MB

@stuartwdouglas Just wanted to get your thoughts on this one. I see something similar was previously discussed in https://github.com/wildfly-security/wildfly-openssl/pull/120 but the changes that were discussed there are no longer available.

@stuartwdouglas Thanks for taking a look at this! To make this pluggable, one option might be to introduce a system property that could be used to specify that the pooled byte buffer should be used instead. The new system property could default to false so the behaviour is unchanged by default. What do you think?
Just to provide some more context, @heyuanliu-intel has been working on adding the ability to support a custom engine to WildFly OpenSSL. With his changes, it will be possible to specify a system property that indicates the engine that should be used. @heyuanliu-intel has been making use of the Intel QAT engine and has been testing performance with this engine outside of WildFly.

@stuartwdouglas @fjuma
I think this is a performance issue that should be fixed. I have used a simple application that do a pressure test with wildfly-openssl without custom engine.  It has the same performance issue.  So if make it pluggable, when should it be turned on and off ? If the user turns it off, it will have performance issue under the pressure of the application, I think this is unacceptable for the user.

I think on by default is ok, but it should provide a simple way to both disable it, and to allow a custom pool implementation.
I think initially just a system property option to disable it is probably ok.

The issues are:

Wildfly has its own pool, we want to use this one and not create a new one.
The ThreadLocal cache in the pool can cause memory leaks, if the engine is used by transient threads.

In the previous version, I have used an ByteBuffer pool created by myself.
Now, I have used the wildfly's own pool (org.wildfly.openssl.DefaultByteBufferPool) to avoid the issues listed here.

and to allow a custom pool implementation.

I think if wildfly-openssl can be managed by lightweight dependency injection framework such as Google Guice, then it is easy to allow a custom pool implementation. But it will be huge change for wildfly-openssl.  Actually I think out of box is better than
make it pluggable now because I don't know which situation should make it turn off.

@stuartwdouglas Thanks for the feedback!
@heyuanliu-intel For now, I think we could introduce a system property that could be used to disable the use of the pooled byte buffer in OpenSSLEngine so that if someone wants to go back to the original behaviour they could do so.
In the future, we could add the ability to specify a custom ByteBuffer implementation to use.

I will reserve my personal opinion. I have modified the code according to comments.

I will reserve my personal opinion. I have modified the code according to comments.

@heyuanliu-intel Please feel free to share any thoughts, concerns, etc.

In my opinion:  this is a bug that should be fixed instead of letting user to turn it off.
If the user turns it off, it will huge performance issue. This isn't a program that let user choose.

If it is turned on it can cause an unfixable memory leak for some situations. Basically any situation where you have threads that use the cache that don't last for the full life of the application the 'ThreadLocal' in the cache will continue to hold onto the direct buffers even after the thread is gone.
If you are using a thread pool this is less of an issue, as long as the thread pool does not dynamically resize. Even then you can still get problems (e.g. if a thread pool is recreated on redeployment you end up with memory leaks on redeploy).
This is not just a theoretical problem, we have seen it before in WildFly.

I think the main reason that cause the memory leak is caused by "ThreadLocal",  it is discussed on stackoverflow and the link is [ThreadLocal & Memory Leak](https://stackoverflow.com/questions/17968803/threadlocal-memory-leak)
My question is : How about not using ThreadLocal, using a global synchronized Map to keep the instances? Although it will loss of the performance compared with non-synchronized ThreadLocal but it is safe.


TypeError: Cannot read property 'apply' of undefined.

Migrated from original project (https://github.com/cesarrew/ng2-currency-mask/issues/125)
Orignal request by @Innomalist, @apappasadap
Hi,
I have been using your component with angular 7.2 and it works fine except this error which seems to be a simple np error. If you could please include a fix on next release.
ERROR TypeError: Cannot read property 'apply' of undefined
    at CurrencyMaskDirective.push../node_modules/ng2-currency-mask/src/currency-mask.directive.js.CurrencyMaskDirective.handleBlur (currency-mask.directive.js:45)
    at Object.eval [as handleEvent] (xxxx.html:124)
    at handleEvent (core.js:21673)
    at callWithDebugContext (core.js:22767)
    at Object.debugHandleEvent [as handleEvent] (core.js:22470)
    at dispatchEvent (core.js:19122)
    at core.js:19569
    at HTMLInputElement.<anonymous> (platform-browser.js:993)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
    at Object.onInvokeTask (core.js:16147)

Also by default even if no validation parameter is set it adds an ng-valid class to the input box which turns the placeholder to green color which isn't looking good to. If you could address this too please :)

Hello, @guillep2k!
You can try this as fallows
import o ngModel -> FormsModel in app.module.ts
<input pInputText type="text" placeholder="0,00" name="valor" currencyMask [options]="{ prefix: 'R$ ', thousands: '.', decimal: ',', allowNegative: false }" ngModel>

Thank you, this should go to @Innomalist, @apappasadap (the original-original posters 😉)


fix: Fix notifications of type "submitted" not being read

Currently the notifications are not marked as read for type: submitted. When the grading is published, be it manually or automatically, the notification will be marked as read. The grading notification should also be marked as read when the submission is unsubmitted.
I feel that notifications should signify that there are things to be done on the grading page. This solution resolves this bug of there being "things to do" even though there aren't any.

coverage: 94.361% (+0.005%) from 94.356%
when pulling ea4e72a09e765f0d57206d790b90bddbe33a62f7 on GabrielCWT:fix/publish-notifications
into 2d43f01ae55a656b1fd9523db7a2f8d0cc05f286 on source-academy:master.

One thing I have noticed today: Paths also create a notification. Would it be a good idea to add a check where if is_manually_graded is true then create a notification, else do not. This is to follow the idea that the todo count is meant to be for things the staff needs to do in the grading tab.

One thing I have noticed today: Paths also create a notification. Would it be a good idea to add a check where if is_manually_graded is true then create a notification, else do not. This is to follow the idea that the todo count is meant to be for things the staff needs to do in the grading tab.
Furthermore, there is no way to resolve the todo for a path since it is autograded and autopublished

This can be a separate issue + PR, thanks!


Return a more useful error if the user tries to update a dependent acorn (#1710)

for #1710
Two things I'm not sure of:

I used the client to check to see whether the name given by the user references a real dependency. To save execution time, would we rather just assume that any name with a . in it references a dependency, and send this specific error message every time?
Is my error message clear and concise enough?

Would like feedback on the above.
Checklist

[x] The title of this PR would make a good line in Acorn's Release Note's Changelog
[x] The title of this PR ends with a link to the main issue being address in parentheses, like: This is a title (#1216). Here's an example
[x] All relevant issues are referenced in the PR description. NOTE: don't use GitHub keywords that auto-close issues
[x] Commits follow contributing guidance
[ ] Automated tests added to cover the changes. If tests couldn't be added, an explanation is provided in the Verification and Testing section
[x] Changes to user-facing functionality, API, CLI, and upgrade impacts are clearly called out in PR description
[ ] PR has at least two approvals before merging (or a reasonable exception, like it's just a docs change)

I envisioned this being a server side validation. Is that possible or is there some technical limitation?

@cjellick the current error is being generated by the CLI when it tries to parse the name. So unless we want to modify that behavior, this also has to be done client-side.

I envisioned this being a server side validation. Is that possible or is there some technical limitation?

@cjellick the current error is being generated by the CLI when it tries to parse the name. So unless we want to modify that behavior, this also has to be done client-side.

Actually...looking at the code again, I'm no longer as sure about this. I'm gonna go try some stuff and I'll report back.

Moved the logic to ValidateUpdate.


Fixed icon for fontawesome

I just changed this.doneIcon + '
  <div class="dz-error-mark' + this.errorIcon to be this.doneIcon + '

' + this.errorIcon

@rowanwins This fixes the "X" so that it appears when FontAwesome is being used.  It also seems like the "X" is not quite centered in the middle of its image.  Thanks for sharing your Vue 2 component - nice work!

Thanks for this @bryanjamesmiller , glad someone picked up th error, not sure how it had escaped my attention!


Battery Percentage in system tray does not report correctly.

Latest version <IP_ADDRESS>
The battery is fully charged yet the display shows 67%. When I open details, it correctly shows 100% as does Win11's battery status, but the system tray icon remains at 67.

When it was updated from <IP_ADDRESS> to <IP_ADDRESS> it initially seemed like the bug was squished.  It's not. Laptop was unplugged from the charger, run for a little while, then plugged back in.  10-15 minutes later, after charging, the icon was still stuck at 94%, while Details for the app shows 100% fully charged and Windows reports 100% as well.

When it was updated from <IP_ADDRESS> to <IP_ADDRESS> it initially seemed like the bug was squished.  It's not. Laptop was unplugged from the charger, run for a little while, then plugged back in.  10-15 minutes later, after charging, the icon was still stuck at 94%, while Details for the app shows 100% fully charged and Windows reports 100% as well.

@leckert123 Did you lock, hibernate or sleep the device when this happened?

This seems to be the same issue as #55. Closing.

The laptop did NOT hibernate, sleep, or lock when this occurred.  It was unplugged from power, being used on power briefly, which consumed some battery capacity, and then plugged back in. When plugged back in, the displayed value of the icon remained stuck at the discharged value in yellow, which indicated that the tray icon thought it was still on battery power.
Last night, it dropped to 92%, and was plugged back in overnight. and lid closed.  After overnight, it's still at 92%, but displayed green, as it's plugged in, and obviously at 100% fully charged.

The laptop did NOT hibernate, sleep, or lock when this occurred.  It was unplugged from power, being used on power briefly, which consumed some battery capacity, and then plugged back in. When plugged back in, the displayed value of the icon remained stuck at the discharged value in yellow, which indicated that the tray icon thought it was still on battery power.
Last night, it dropped to 92%, and was plugged back in overnight. and lid closed.  After overnight, it's still at 92%, but displayed green, as it's plugged in, and obviously at 100% fully charged.
This is interesting. I've unplugged it and it's still showing green (charging/plugged in) at 92%, but the details show 94%. It seems like something just causes the tray icon to get stuck at some value.

If I exit the app (right click --> exit) and open it again from the MS Store, it shows the current value. Somehow it seems the icon is not being refreshed although the app itself it doing so

If I exit the app (right click --> exit) and open it again from the MS Store, it shows the current value. Somehow it seems the icon is not being refreshed although the app itself it doing so.
I have narrowed one cause down to a specific sequence. When the laptop is unplugged, it works fine.  When the laptop is plugged in to charge, the icon color changes from battery to charging mode, but it stops counting up as the battery % increases.


PIXI.SpriteMaskFilter without color?

Is there a way to deactivate the color masking for the mask filter so it only uses alpha? I read up about it using the r channel but I don't know much about WebGL filters and shaders. Is there an easy setting to just remove the color masking?
Preferably without having to just remove it from the pixi file itself, I wanted to be able to choose some masks to remove color and others to be just alpha masks.
Thanks! Appreciate everything from you guys

https://github.com/pixijs/pixi.js/blob/dev/packages/core/src/mask/MaskSystem.js#L137
Only seeing this now was mostly searching Google posts but I still don't understand how to create my own SpriteMaskFilter with the ability to choose between colour and alpha instead of explicitly removing colour altogether, gonna look into it more tomorrow sorry about this guys

Good question, good search skills. Yeah, its a problem for many people, but I'm sorry I cant give you the code right now, I'm dead on my feet =) If you dont use npm webpack and all that - just patch pixi.js file and, replace masky.r with masky.a and be done with it.

It's for v5, don't worry I have plenty of time it's not that big of a deal I have plenty to work on in the meantime, thanks for the quick reply!


Connection lost with API after HA reboot

Prerequirements
[X] I have connected my mower(s) to the Automower Connect App
[X] I have connected my Husqvanra developers account to the Authentication API
[X] I have connected my Husqvarna developers account to the Automower Connect API
Describe the bug
After a HA reboot this morning, the connection is lost with the Husqarna API
Expected behavior
Active and working connection with actual status of the mower
Screenshots
N/A
Additional context
2023-04-07 06:53:48.185 DEBUG (MainThread) [aioautomower.rest] Response mower data: <ClientResponse(https://api.amc.husqvarna.dev/v1/mowers/) [200 OK]>
<CIMultiDictProxy('Content-Type': 'application/vnd.api+json', 'Content-Length': '3235', 'Connection': 'keep-alive', 'Date': 'Fri, 07 Apr 2023 04:53:48 GMT', 'x-amzn-RequestId': '<REDACTED>', 'x-amzn-Remapped-Content-Length': '3235', 'x-amzn-Remapped-Connection': 'keep-alive', 'x-amz-apigw-id': '<REDACTED>', 'x-amzn-Remapped-Date': 'Fri, 07 Apr 2023 04:53:48 GMT', 'X-Cache': 'Miss from cloudfront', 'Via': '<REDACTED>', 'X-Amz-Cf-Pop': '<REDACTED>', 'X-Amz-Cf-Id': '<REDACTED>')>
2023-04-07 06:53:48.186 DEBUG (MainThread) [aioautomower.rest] Result mower data: {'data': [{'type': 'mower', 'id': '<REDACTED>', 'attributes': {'system': <REDACTED>}]}
2023-04-07 06:53:48.193 ERROR (MainThread) [aioautomower.session] Your API-Key is not compatible to the websocket, please refresh it on https://developer.husqvarnagroup.cloud/
2023-04-07 06:53:48.197 DEBUG (MainThread) [aioautomower.session] LE: True
2023-04-07 06:53:48.198 DEBUG (MainThread) [aioautomower.session] token_monitor_task sleeping for 1074.4548411369324 sec
2023-04-07 06:53:49.038 DEBUG (MainThread) [custom_components.husqvarna_automower.calendar] entry: <homeassistant.config_entries.ConfigEntry object at <REDACTED>>
2023-04-07 07:11:42.653 DEBUG (MainThread) [aioautomower.session] Refresh access token
2023-04-07 07:11:42.841 DEBUG (MainThread) [aioautomower.rest] Resp.status refresh token: {'access_token': '<REDACTED>', 'scope': 'iam:read', 'expires_in': 86399, 'refresh_token': '<REDACTED>', 'provider': 'husqvarna', 'user_id': '<REDACTED>', 'token_type': 'Bearer'}
2023-04-07 07:11:42.843 DEBUG (MainThread) [aioautomower.session] token_monitor_task sleeping for 86338.99813389778 sec

There was a bug in the integration. I solved it in release 2023.4.2.
Can you check, if you still have the problem with that version?
Besides of that: You have an API-Key, which you can see in the logs. You should renew it. Because with your current API-Key, the data is only polled. With a new API-Key, there sould be new events pushed to home assistant

I updated the integration and I added the integration again.
But this log is still occurs:
2023-04-09 10:57:36.979 ERROR (MainThread) [aioautomower.session] Your API-Key is not compatible to the websocket, please refresh it on https://developer.husqvarnagroup.cloud/

Okay.
Is the problem with the lost connection solved?
And for the other thing you have to renew your API key on the Husqvarna developers site

You can download the diagnostics for the integration in ha and check the scope of the API key as an alternative. Should look like that:
  "data": {         "auth_implementation": "husqvarna_automower",         "token": {           "access_token": "**REDACTED**",           "scope": "iam:read amc:api",

t

I re-added the whole integration, maybe I missed binding of the applications before. So right now it looks good, also the diagnostic part with the amx:api

Okay. Is the problem with the lost connection solved?

I will monitor this the coming days

@Thomas55555
My Integration stops working (no updates in HA) after some minutes after restarting HA.
2023-04-13 12:37:37.507 DEBUG (MainThread) [aioautomower.session] Age in sec: 1236
2023-04-13 12:37:37.509 DEBUG (MainThread) [aioautomower.session] Age in sec: 860
2023-04-13 12:37:37.509 DEBUG (MainThread) [aioautomower.session] No ws updates anymore and mower connected, ws probably down or mower shortly before disconnecting
2023-04-13 12:40:10.516 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [23427020043696] Connection closed by client

Thats the diagnostics:
 "data": {     "config_entry": {       "entry_id": "...",       "version": 2,       "domain": "husqvarna_automower",       "title": "husqvarna_automower",       "data": {         "auth_implementation": "husqvarna_automower",         "token": {           "access_token": "**REDACTED**",           "scope": "sg-integration-api:read iam:read sg-integration-api:write amc:api",           "expires_in": 86399,           "refresh_token": "**REDACTED**",           "provider": "husqvarna",           "user_id": "...",           "token_type": "Bearer",           "expires_at":<PHONE_NUMBER>.9692311,           "status": 200         }       },

Hi, same issue here.
2023-04-14 14:53:49.983 INFO (MainThread) [custom_components.husqvarna_automower]
-------------------------------------------------------------------
husqvarna_automower
Version: 2023.4.2
This is a custom integration!
If you have any issues with this you need to open an issue here:
https://github.com/Thomas55555/husqvarna_automower
-------------------------------------------------------------------
2023-04-14 14:53:50.457 DEBUG (MainThread) [aioautomower.rest] Response mower data: <ClientResponse(https://api.amc.husqvarna.dev/v1/mowers/) [200 OK]>
<CIMultiDictProxy('Content-Type': 'application/vnd.api+json', 'Content-Length': '3173', 'Connection': 'keep-alive', 'Date': 'Fri, 14 Apr 2023 12:53:50 GMT', 'x-amzn-RequestId': 'xxx', 'x-amzn-Remapped-Content-Length': '3173', 'x-amzn-Remapped-Connection': 'keep-alive', 'x-amz-apigw-id': 'xxx', 'x-amzn-Remapped-Date': 'Fri, 14 Apr 2023 12:53:50 GMT', 'X-Cache': 'Miss from cloudfront', 'Via': '1.1 28f110beed532776cb7e7d4f319b2230.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'xxx', 'X-Amz-Cf-Id': 'xxx')>
2023-04-14 14:53:50.458 DEBUG (MainThread) [aioautomower.rest] Result mower data: {'data': [{'type': 'mower', 'id': 'xxx', 'attributes': {'system': {'name': 'Huggy', 'model': 'HUSQVARNA AUTOMOWER® 450X', 'serialNumber': xxx}, 'battery': {'batteryPercent': 69}, 'mower': {'mode': 'MAIN_AREA', 'activity': 'MOWING', 'state': 'IN_OPERATION', 'errorCode': 0, 'errorCodeTimestamp': 0}, 'calendar': {'tasks': [{'start': 0, 'duration': 1440, 'monday': True, 'tuesday': True, 'wednesday': True, 'thursday': True, 'friday': True, 'saturday': True, 'sunday': True}]}, 'planner': {'nextStartTimestamp': 0, 'override': {'action': 'NOT_ACTIVE'}, 'restrictedReason': 'NOT_APPLICABLE'}, 'metadata': {'connected': True, 'statusTimestamp':<PHONE_NUMBER>511}, 'positions': [], 'statistics': {'numberOfChargingCycles': 1025, 'numberOfCollisions': 41855, 'totalChargingTime': 4107600, 'totalCuttingTime': 17791200, 'totalRunningTime': 19292400, 'totalSearchingTime': 1501200}, 'cuttingHeight': 6, 'headlight': {'mode': 'ALWAYS_OFF'}}}]}
2023-04-14 14:53:50.463 DEBUG (MainThread) [aioautomower.session] LE: True
2023-04-14 14:53:50.463 DEBUG (MainThread) [aioautomower.session] token_monitor_task sleeping for 33829.01857113838 sec
2023-04-14 14:53:50.518 DEBUG (MainThread) [aioautomower.session] Age in sec: 22
2023-04-14 14:53:50.518 DEBUG (MainThread) [aioautomower.session] websocket_monitor_task sleeping for<PHONE_NUMBER>098206s
2023-04-14 14:53:50.742 DEBUG (MainThread) [custom_components.husqvarna_automower.calendar] entry: <homeassistant.config_entries.ConfigEntry object at 0x7f9e485d79f0>
2023-04-14 14:53:51.551 DEBUG (MainThread) [aioautomower.session] Websocket (re)connected
2023-04-14 14:53:51.588 DEBUG (MainThread) [aioautomower.session] Websocket ready=True (id='xxx')

2023-04-14 16:57:48.538 DEBUG (MainThread) [aioautomower.session] Age in sec: 7460
2023-04-14 16:57:48.538 DEBUG (MainThread) [aioautomower.session] No ws updates anymore and mower connected, ws probably down or mower shortly before disconnecting
2023-04-14 17:02:48.538 DEBUG (MainThread) [aioautomower.session] Age in sec: 7760
2023-04-14 17:02:48.539 DEBUG (MainThread) [aioautomower.session] No ws updates anymore and mower connected, ws probably down or mower shortly before disconnecting
2023-04-14 17:07:48.540 DEBUG (MainThread) [aioautomower.session] Age in sec: 8060
2023-04-14 17:07:48.540 DEBUG (MainThread) [aioautomower.session] No ws updates anymore and mower connected, ws probably down or mower shortly before disconnecting
2023-04-14 17:12:48.541 DEBUG (MainThread) [aioautomower.session] Age in sec: 8360
2023-04-14 17:12:48.541 DEBUG (MainThread) [aioautomower.session] No ws updates anymore and mower connected, ws probably down or mower shortly before disconnecting
2023-04-14 17:17:48.545 DEBUG (MainThread) [aioautomower.session] Age in sec: 8660
2023-04-14 17:17:48.546 DEBUG (MainThread) [aioautomower.session] No ws updates anymore and mower connected, ws probably down or mower shortly before disconnecting

I can't see any problem in the logs (from the integration side). Especially not with a lost connection after HA reboot. So I'm closing this.
If you have other issues, please open a new issue
@DanoneKiD: You have enabled Low-energy mode. With this enabled, there is only one poll within 24h for new data.
As the others can see in the logs, the websocket connection was probably down. It started for me to work again on 2023-04-15 00:50:17.778.
Can you confirm this?
@DanoneKiD: if the websocket is down and you don't get automatic updates as push event. If you disable de LE mode, then the will be at least a poll every 300s.


@id is missing from Invitation Message example with Keys and DID Service Endpoints

I believe this was fixed in the PR you raised, #197 . That PR is now merged, so I am closing this issue. If I misunderstood, please reopen the ticket.


watch: git checkouts are not atomic, so we must debounce to ensure co…

…mpletion
Fixes #1614

May have to increase the timeout, not sure yet.

Pushed fixes although still not sure this fixes my problem. Will report back.

I think a denounce is a bad idea. It's optimises for the poor experience of
switch branches at the good experience of day to day watching. For this to
be acceptable the denounce would need to happen for both the leading and
trailing edge.
On 29 Jun 2016 7:38 PM, "Oliver Joseph Ash"<EMAIL_ADDRESS>wrote:

Pushed fixes although still not sure this fixes my problem. Will report
back.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/pull/1615#issuecomment-229307592, or mute
the thread
https://github.com/notifications/unsubscribe/AAjZWIv6Q4oUO4LMMreAGd8df38xoRuqks5qQj0GgaJpZM4JA7az
.

both the leading and
trailing edge.

Sorry but could you elaborate on this? Not sure I follow.

It's important to understand what debouncing is. Debounce groups all instances of an event until a period of time passes without that event being fired, in this case 300ms, then it fires a single event. The firing of the event can be done at two place.
Trailing edge
This is the default and happens at the end of the timeout period i.e. 300ms after the last event. This means that event watch event will wait at least 300ms before it fires, which is terrible user experience.

Leading edge
This triggers the first time an event is fired, but wont fire again until there has been at least 300ms without an event.

Unfortunately lodash doesn't allow you to fire on both the leading and trailing event. As a result I'm unconvinced this approach adds value, but it certainly does make the existing day-to-day experience worse.

The gulp watch implementation looks like it could be better suited to the task.

Want me to give that a go? If I get time

If you have time that'd be great
On 30 Jun 2016 3:15 AM, "Oliver Joseph Ash"<EMAIL_ADDRESS>wrote:

Want me to give that a go? If I get time
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/pull/1615#issuecomment-229424650, or mute
the thread
https://github.com/notifications/unsubscribe/AAjZWFUlLRxourBy_uIWTn3OvpZWcgykks5qQqgagaJpZM4JA7az
.

Closing per https://github.com/sass/node-sass/pull/1615#issuecomment-229325086


 throws error from UseViewStrategy

With<EMAIL_ADDRESS>using <compose> with only a view specified:
<compose view="example.html"></compose>

causes the following error:
Unhandled promise rejection TypeError: Cannot set property 'associatedModuleId' of undefined
    at t.loadViewFactory (https://github.jspm.io/aurelia/templating@0.14.2/aurelia-templating.js:2:13341)
    at e.compose (https://github.jspm.io/aurelia/templating@0.14.2/aurelia-templating.js:3:16275)
    at s (https://github.jspm.io/aurelia/templating-resources@0.14.0/compose.js:2:633)
    at e.bind (https://github.jspm.io/aurelia/templating-resources@0.14.0/compose.js:2:1782)
    at e.bind (https://github.jspm.io/aurelia/templating@0.14.2/aurelia-templating.js:3:835)
    at e.bind (https://github.jspm.io/aurelia/templating@0.14.2/aurelia-templating.js:2:17673)
    at https://github.jspm.io/aurelia/templating@0.14.2/aurelia-templating.js:3:14777
    at r (https://npm.jspm.io/core-js@0.9.18/modules/es6.promise.js:2:469)
    at https://npm.jspm.io/core-js@0.9.18/modules/es6.promise.js:2:630
    at module.exports (https://npm.jspm.io/core-js@0.9.18/modules/$.invoke.js:2:95)

Here's a simple plunker which illustrates the issue.
Looking in the source, it appears that the UseViewStrategy.loadViewFactory expects two arguments, the second of which is the compileInstruction.
In this case, when called by the Composition Engine there's only a single argument passed, which causes compileInstruction to be null and the resulting error.
When I update the code in CompositionEngine to pass instruction, the error no longer appears:
return instruction.view.loadViewFactory(this.viewEngine, instruction).then(viewFactory => (

I'm not sure if this is the correct way to resolve the problem but if so, I'm happy to send a pull request with this update.
Note, I also tried prefixing the html with ./ and received the same result:
<compose view="./example.html"></compose>

Ok, I pushed a fix. Sorry, in my haste I forgot to tag this issue. You can look at the recent commits to see what I did if you are interested. I have also pushed out a new release with the fix so you should be able to jspm update and move forward. Apologies for that inconvenience.

Thank you!  Verified fixed via jspm update.


Add Xtreme Download Manager to Download Manager section

It's a free alternative to IDM. Plus, it's open-source.

Added


Need help in setting the oAuth Flow for installing the app using the URL from manage distributions

I have followed the approach given in the github docs https://github.com/slackapi/bolt-python/blob/4e0709f0578080833f9aeab984a778be81a30178/examples/django/oauth_app/slack_listeners.py
My redirect URL hitting the end point but after passing the request to the oauth handler, I am getting Not Found message "{"message": "Not Found: /slack/oauth", "status_code": 404, "request": "<WSGIRequest: GET. ,,."}
Reproducible in:
slack-bolt==1.9.1
slack-bot==0.0.7
slack-sdk==3.11.1
slackclient==1.3.1
Python runtime version
python3.9.1
(Paste the output of python --version)
OS info
macOs
(Paste the output of sw_vers && uname -v on macOS/Linux or ver on Windows OS)
Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., setup.py))

Expected result:
Adding app to the workspace
(Tell what you expected to happen)

Hi @mohan-raheja - The default redirect_uri_path is /slack/oauth_redirect. I noticed the error you included says /slack/oauth. Have you set a custom redirect uri path for your installation flow?

I have set a redirect URL under oAuth & Permissions in the dashboard as https://cbd3......./.ngrok.io/slack/oauth
and in the url path I maintained it as path("slack/oauth, slack_oauth_handler, name="oauth")

@mohan-raheja Can you make sure if you've configured the Django URL routing correctly? Here is the example using the default path: https://github.com/slackapi/bolt-python/blob/4e0709f0578080833f9aeab984a778be81a30178/examples/django/oauth_app/urls.py#L24

Hi @seratch, thank you for your response.
I have changed the URL as you have mentioned above. Now I am getting the browser not supported error
Oops, Something Went Wrong!
Please try again from here or contact the app owner (reason: invalid_browser)
I have set the https url in app configuration

@mohan-raheja Please read the document section about the OAuth flow implementation: https://slack.dev/bolt-python/concepts#authenticating-oauth
The reason of the error here is that your OAuth flow is missing a valid state parameter. As mentioned in the document, initiate your app's OAuth flow from /slack/install URL to have a valid state parameter in your app's OAuth flow. It's also possible to disable the validation (oauth_settings.state_validation_enabled = False). However, having the state parameter is crucial for security (see the RFC section for details). We highly recommend going with the default settings.
With this, your app should work. If you encounter more errors, I would recommend checking the difference between your app and the example Django app and check the document again. Good luck!


Amendment - Two Development Secretaries

Two Development Secretaries

Description
Having two development secretaries would be useful :)

Could this be formalised in Lean/Agda?

I personally believe it would be of great benefit to the Society if we formalised the whole constitution in Agda.

Could this be formalised in Lean/Agda?

This should be done by the devsecs themselves of course.

By induction. Each n-dev-sec must formalise all n+1-dev-secs.


M3-5807: Don't Reset the Firewall Rule Drawer if the same preset is reselected

Description 📝

If the user reselectes the same preset in the firewalls rule drawer, do not reset the form to the preset defaults

This was causing users to accidentally loose their progress when they reselected the same preset

Preview 📷
Before
Note how form resets when the same preset is selected resulting in the users progress being lost
https://user-images.githubusercontent.com/115251059/218135926-12711216-1df3-44aa-900b-70f2005341f9.mov
After
Note how the form does not change state at all
https://user-images.githubusercontent.com/115251059/218135792-dc2c847c-4fd5-4618-a57a-af2940e1fdda.mov
How to test 🧪

Test the behavior and functionality of the Firewall Rules drawer

@mjac0bs Do you think I should change that behavior as part of this PR?


Add strides_check and no_char_code options

Add strides_check option. Separated from #2081.

Could you separate these two features, as they're independent?

Jenkins, test this please.

Jenkins CI test (for commit 65314f2449c0b2c2c630e6263c37c62d615de58f, target branch master) failed with status FAILURE.

LGTM


Update README to use correct build and version info

Reporter: Dongjoon Hyun / @dongjoon-hyun
Assignee: Dongjoon Hyun / @dongjoon-hyun
PRs and other links:

GitHub Pull Request #610

Note: This issue was originally created as PARQUET-1520. Please see the migration documentation for further details.

Ryan Blue / @rdblue:
Thanks for contributing!

Dongjoon Hyun / @dongjoon-hyun:
Hi, @rdblue.
Could you resolve this issue (maybe for 1.10.2) since it's merged to branch-1.10.x now?

Dongjoon Hyun / @dongjoon-hyun:
Thanks!


doc: posix: mark sched_getscheduler and getparam  as supported

sched_getscheduler() and sched_getparam() are missing in the documentation.
Has been discuss here https://github.com/zephyrproject-rtos/zephyr/pull/67711
and here https://github.com/zephyrproject-rtos/zephyr/pull/68200

Rebase.